|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+QRC":function(M,B,o){"use strict";var w=o("E9nw"),f={"text/plain":"Text","text/html":"Url",default:"Text"},A="Copy to clipboard: #{key}, Enter";function m(p){var c=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return p.replace(/#{\s*key\s*}/g,c)}function g(p,c){var h,l,e,n,i,r,a=!1;c||(c={}),h=c.debug||!1;try{e=w(),n=document.createRange(),i=document.getSelection(),r=document.createElement("span"),r.textContent=p,r.style.all="unset",r.style.position="fixed",r.style.top=0,r.style.clip="rect(0, 0, 0, 0)",r.style.whiteSpace="pre",r.style.webkitUserSelect="text",r.style.MozUserSelect="text",r.style.msUserSelect="text",r.style.userSelect="text",r.addEventListener("copy",function(s){if(s.stopPropagation(),c.format)if(s.preventDefault(),typeof s.clipboardData=="undefined"){h&&console.warn("unable to use e.clipboardData"),h&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var u=f[c.format]||f.default;window.clipboardData.setData(u,p)}else s.clipboardData.clearData(),s.clipboardData.setData(c.format,p);c.onCopy&&(s.preventDefault(),c.onCopy(s.clipboardData))}),document.body.appendChild(r),n.selectNodeContents(r),i.addRange(n);var t=document.execCommand("copy");if(!t)throw new Error("copy command was unsuccessful");a=!0}catch(s){h&&console.error("unable to copy using execCommand: ",s),h&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(c.format||"text",p),c.onCopy&&c.onCopy(window.clipboardData),a=!0}catch(u){h&&console.error("unable to copy using clipboardData: ",u),h&&console.error("falling back to prompt"),l=m("message"in c?c.message:A),window.prompt(l,p)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(n):i.removeAllRanges()),r&&document.body.removeChild(r),e()}return a}M.exports=g},"+TT/":function(M,B,o){var w=o("bYtY"),f=o("mFDi"),A=o("OELB"),m=A.parsePercent,g=o("7aKB"),p=w.each,c=["left","right","top","bottom","width","height"],h=[["width","left","right"],["height","top","bottom"]];function l(y,S,b,E,C){var T=0,x=0;E==null&&(E=Infinity),C==null&&(C=Infinity);var _=0;S.eachChild(function(I,L){var R=I.position,k=I.getBoundingRect(),F=S.childAt(L+1),P=F&&F.getBoundingRect(),W,D;if(y==="horizontal"){var U=k.width+(P?-P.x+k.x:0);W=T+U,W>E||I.newline?(T=0,W=U,x+=_+b,_=k.height):_=Math.max(_,k.height)}else{var H=k.height+(P?-P.y+k.y:0);D=x+H,D>C||I.newline?(T+=_+b,x=0,D=H,_=k.width):_=Math.max(_,k.width)}if(I.newline)return;R[0]=T,R[1]=x,y==="horizontal"?T=W+b:x=D+b})}var e=l,n=w.curry(l,"vertical"),i=w.curry(l,"horizontal");function r(y,S,b){var E=S.width,C=S.height,T=m(y.x,E),x=m(y.y,C),_=m(y.x2,E),I=m(y.y2,C);return(isNaN(T)||isNaN(parseFloat(y.x)))&&(T=0),(isNaN(_)||isNaN(parseFloat(y.x2)))&&(_=E),(isNaN(x)||isNaN(parseFloat(y.y)))&&(x=0),(isNaN(I)||isNaN(parseFloat(y.y2)))&&(I=C),b=g.normalizeCssArray(b||0),{width:Math.max(_-T-b[1]-b[3],0),height:Math.max(I-x-b[0]-b[2],0)}}function a(y,S,b){b=g.normalizeCssArray(b||0);var E=S.width,C=S.height,T=m(y.left,E),x=m(y.top,C),_=m(y.right,E),I=m(y.bottom,C),L=m(y.width,E),R=m(y.height,C),k=b[2]+b[0],F=b[1]+b[3],P=y.aspect;isNaN(L)&&(L=E-_-F-T),isNaN(R)&&(R=C-I-k-x),P!=null&&(isNaN(L)&&isNaN(R)&&(P>E/C?L=E*.8:R=C*.8),isNaN(L)&&(L=P*R),isNaN(R)&&(R=L/P)),isNaN(T)&&(T=E-_-L-F),isNaN(x)&&(x=C-I-R-k);switch(y.left||y.right){case"center":T=E/2-L/2-b[3];break;case"right":T=E-L-F;break}switch(y.top||y.bottom){case"middle":case"center":x=C/2-R/2-b[0];break;case"bottom":x=C-R-k;break}T=T||0,x=x||0,isNaN(L)&&(L=E-F-T-(_||0)),isNaN(R)&&(R=C-k-x-(I||0));var W=new f(T+b[3],x+b[0],L,R);return W.margin=b,W}function t(y,S,b,E,C){var T=!C||!C.hv||C.hv[0],x=!C||!C.hv||C.hv[1],_=C&&C.boundingMode||"all";if(!T&&!x)return;var I;if(_==="raw")I=y.type==="group"?new f(0,0,+S.width||0,+S.height||0):y.getBoundingRect();else if(I=y.getBoundingRect(),y.needLocalTransform()){var L=y.getLocalTransform();I=I.clone(),I.applyTransform(L)}S=a(w.defaults({width:I.width,height:I.height},S),b,E);var R=y.position,k=T?S.x-I.x:0,F=x?S.y-I.y:0;y.attr("position",_==="raw"?[k,F]:[R[0]+k,R[1]+F])}function s(y,S){return y[h[S][0]]!=null||y[h[S][1]]!=null&&y[h[S][2]]!=null}function u(y,S,b){!w.isObject(b)&&(b={});var E=b.ignoreSize;!w.isArray(E)&&(E=[E,E]);var C=x(h[0],0),T=x(h[1],1);L(h[0],y,C),L(h[1],y,T);function x(R,k){var F={},P=0,W={},D=0,U=2;if(p(R,function(K){W[K]=y[K]}),p(R,function(K){_(S,K)&&(F[K]=W[K]=S[K]),I(F,K)&&P++,I(W,K)&&D++}),E[k])return I(S,R[1])?W[R[2]]=null:I(S,R[2])&&(W[R[1]]=null),W;if(D===U||!P)return W;if(P>=U)return F;for(var H=0;H<R.length;H++){var j=R[H];if(!_(F,j)&&_(y,j)){F[j]=y[j];break}}return F}function _(R,k){return R.hasOwnProperty(k)}function I(R,k){return R[k]!=null&&R[k]!=="auto"}function L(R,k,F){p(R,function(P){k[P]=F[P]})}}function d(y){return v({},y)}function v(y,S){return S&&y&&p(c,function(b){S.hasOwnProperty(b)&&(y[b]=S[b])}),y}B.LOCATION_PARAMS=c,B.HV_NAMES=h,B.box=e,B.vbox=n,B.hbox=i,B.getAvailableSize=r,B.getLayoutRect=a,B.positionElement=t,B.sizeCalculable=s,B.mergeLayoutParam=u,B.getLayoutParams=d,B.copyLayoutParams=v},"+WA2":function(M,B,o){},"+kr+":function(M,B,o){},"+lIL":function(M,B,o){var w=o("ProS");o("/ry/"),o("3OrL");var f=o("L5E0"),A=o("7Phj");w.registerVisual(f),w.registerLayout(A)},"+nKL":function(M,B,o){"use strict";var w=o("q1tI"),f=o("TSYQ"),A=o.n(f),m=o("t23M");function g(q,V){var Ae=Object.keys(q);if(Object.getOwnPropertySymbols){var xe=Object.getOwnPropertySymbols(q);V&&(xe=xe.filter(function(re){return Object.getOwnPropertyDescriptor(q,re).enumerable})),Ae.push.apply(Ae,xe)}return Ae}function p(q){for(var V=1;V<arguments.length;V++){var Ae=arguments[V]!=null?arguments[V]:{};V%2?g(Object(Ae),!0).forEach(function(xe){c(q,xe,Ae[xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(Ae)):g(Object(Ae)).forEach(function(xe){Object.defineProperty(q,xe,Object.getOwnPropertyDescriptor(Ae,xe))})}return q}function c(q,V,Ae){return V in q?Object.defineProperty(q,V,{value:Ae,enumerable:!0,configurable:!0,writable:!0}):q[V]=Ae,q}var h=w.forwardRef(function(q,V){var Ae=q.height,xe=q.offset,re=q.children,ot=q.prefixCls,bt=q.onInnerResize,tt={},Tt={display:"flex",flexDirection:"column"};return xe!==void 0&&(tt={height:Ae,position:"relative",overflow:"hidden"},Tt=p(p({},Tt),{},{transform:"translateY(".concat(xe,"px)"),position:"absolute",left:0,right:0,top:0})),w.createElement("div",{style:tt},w.createElement(m.a,{onResize:function(lr){var pr=lr.offsetHeight;pr&&bt&&bt()}},w.createElement("div",{style:Tt,className:A()(c({},"".concat(ot,"-holder-inner"),ot)),ref:V},re)))});h.displayName="Filler";var l=h,e=o("wgJM");function n(q){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(Ae){return typeof Ae}:n=function(Ae){return Ae&&typeof Symbol=="function"&&Ae.constructor===Symbol&&Ae!==Symbol.prototype?"symbol":typeof Ae},n(q)}function i(q,V,Ae){return V in q?Object.defineProperty(q,V,{value:Ae,enumerable:!0,configurable:!0,writable:!0}):q[V]=Ae,q}function r(q,V){if(!(q instanceof V))throw new TypeError("Cannot call a class as a function")}function a(q,V){for(var Ae=0;Ae<V.length;Ae++){var xe=V[Ae];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(q,xe.key,xe)}}function t(q,V,Ae){return V&&a(q.prototype,V),Ae&&a(q,Ae),q}function s(q,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");q.prototype=Object.create(V&&V.prototype,{constructor:{value:q,writable:!0,configurable:!0}}),V&&u(q,V)}function u(q,V){return u=Object.setPrototypeOf||function(xe,re){return xe.__proto__=re,xe},u(q,V)}function d(q){var V=S();return function(){var xe=b(q),re;if(V){var ot=b(this).constructor;re=Reflect.construct(xe,arguments,ot)}else re=xe.apply(this,arguments);return v(this,re)}}function v(q,V){return V&&(n(V)==="object"||typeof V=="function")?V:y(q)}function y(q){if(q===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return q}function S(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(q){return!1}}function b(q){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(Ae){return Ae.__proto__||Object.getPrototypeOf(Ae)},b(q)}var E=20;function C(q){return"touches"in q?q.touches[0].pageY:q.pageY}var T=function(q){s(Ae,q);var V=d(Ae);function Ae(){var xe;r(this,Ae);for(var re=arguments.length,ot=new Array(re),bt=0;bt<re;bt++)ot[bt]=arguments[bt];return xe=V.call.apply(V,[this].concat(ot)),xe.moveRaf=null,xe.scrollbarRef=w.createRef(),xe.thumbRef=w.createRef(),xe.visibleTimeout=null,xe.state={dragging:!1,pageY:null,startTop:null,visible:!1},xe.delayHidden=function(){clearTimeout(xe.visibleTimeout),xe.setState({visible:!0}),xe.visibleTimeout=setTimeout(function(){xe.setState({visible:!1})},2e3)},xe.onScrollbarTouchStart=function(tt){tt.preventDefault()},xe.onContainerMouseDown=function(tt){tt.stopPropagation(),tt.preventDefault()},xe.patchEvents=function(){window.addEventListener("mousemove",xe.onMouseMove),window.addEventListener("mouseup",xe.onMouseUp),xe.thumbRef.current.addEventListener("touchmove",xe.onMouseMove),xe.thumbRef.current.addEventListener("touchend",xe.onMouseUp)},xe.removeEvents=function(){window.removeEventListener("mousemove",xe.onMouseMove),window.removeEventListener("mouseup",xe.onMouseUp),xe.scrollbarRef.current.removeEventListener("touchstart",xe.onScrollbarTouchStart),xe.thumbRef.current.removeEventListener("touchstart",xe.onMouseDown),xe.thumbRef.current.removeEventListener("touchmove",xe.onMouseMove),xe.thumbRef.current.removeEventListener("touchend",xe.onMouseUp),e.a.cancel(xe.moveRaf)},xe.onMouseDown=function(tt){var Tt=xe.props.onStartMove;xe.setState({dragging:!0,pageY:C(tt),startTop:xe.getTop()}),Tt(),xe.patchEvents(),tt.stopPropagation(),tt.preventDefault()},xe.onMouseMove=function(tt){var Tt=xe.state,Gt=Tt.dragging,lr=Tt.pageY,pr=Tt.startTop,Rr=xe.props.onScroll;if(e.a.cancel(xe.moveRaf),Gt){var xt=C(tt)-lr,It=pr+xt,At=xe.getEnableScrollRange(),Zt=xe.getEnableHeightRange(),br=Zt?It/Zt:0,Lr=Math.ceil(br*At);xe.moveRaf=Object(e.a)(function(){Rr(Lr)})}},xe.onMouseUp=function(){var tt=xe.props.onStopMove;xe.setState({dragging:!1}),tt(),xe.removeEvents()},xe.getSpinHeight=function(){var tt=xe.props,Tt=tt.height,Gt=tt.count,lr=Tt/Gt*10;return lr=Math.max(lr,E),lr=Math.min(lr,Tt/2),Math.floor(lr)},xe.getEnableScrollRange=function(){var tt=xe.props,Tt=tt.scrollHeight,Gt=tt.height;return Tt-Gt||0},xe.getEnableHeightRange=function(){var tt=xe.props.height,Tt=xe.getSpinHeight();return tt-Tt||0},xe.getTop=function(){var tt=xe.props.scrollTop,Tt=xe.getEnableScrollRange(),Gt=xe.getEnableHeightRange();if(tt===0||Tt===0)return 0;var lr=tt/Tt;return lr*Gt},xe.showScroll=function(){var tt=xe.props,Tt=tt.height,Gt=tt.scrollHeight;return Gt>Tt},xe}return t(Ae,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(re){re.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var re=this.state,ot=re.dragging,bt=re.visible,tt=this.props.prefixCls,Tt=this.getSpinHeight(),Gt=this.getTop(),lr=this.showScroll(),pr=lr&&bt;return w.createElement("div",{ref:this.scrollbarRef,className:A()("".concat(tt,"-scrollbar"),i({},"".concat(tt,"-scrollbar-show"),lr)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:pr?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},w.createElement("div",{ref:this.thumbRef,className:A()("".concat(tt,"-scrollbar-thumb"),i({},"".concat(tt,"-scrollbar-thumb-moving"),ot)),style:{width:"100%",height:Tt,top:Gt,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),Ae}(w.Component);function x(q){var V=q.children,Ae=q.setRef,xe=w.useCallback(function(re){Ae(re)},[]);return w.cloneElement(V,{ref:xe})}function _(q,V,Ae,xe,re,ot){var bt=ot.getKey;return q.slice(V,Ae+1).map(function(tt,Tt){var Gt=V+Tt,lr=re(tt,Gt,{}),pr=bt(tt);return w.createElement(x,{key:pr,setRef:function(xt){return xe(tt,xt)}},lr)})}var I=o("m+aA");function L(q,V){if(!(q instanceof V))throw new TypeError("Cannot call a class as a function")}function R(q,V){for(var Ae=0;Ae<V.length;Ae++){var xe=V[Ae];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(q,xe.key,xe)}}function k(q,V,Ae){return V&&R(q.prototype,V),Ae&&R(q,Ae),q}var F=function(){function q(){L(this,q),this.maps=void 0,this.maps={},this.maps.prototype=null}return k(q,[{key:"set",value:function(Ae,xe){this.maps[Ae]=xe}},{key:"get",value:function(Ae){return this.maps[Ae]}}]),q}(),P=F;function W(q,V){return K(q)||j(q,V)||U(q,V)||D()}function D(){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 U(q,V){if(!q)return;if(typeof q=="string")return H(q,V);var Ae=Object.prototype.toString.call(q).slice(8,-1);if(Ae==="Object"&&q.constructor&&(Ae=q.constructor.name),Ae==="Map"||Ae==="Set")return Array.from(q);if(Ae==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ae))return H(q,V)}function H(q,V){(V==null||V>q.length)&&(V=q.length);for(var Ae=0,xe=new Array(V);Ae<V;Ae++)xe[Ae]=q[Ae];return xe}function j(q,V){var Ae=q==null?null:typeof Symbol!="undefined"&&q[Symbol.iterator]||q["@@iterator"];if(Ae==null)return;var xe=[],re=!0,ot=!1,bt,tt;try{for(Ae=Ae.call(q);!(re=(bt=Ae.next()).done)&&!(xe.push(bt.value),V&&xe.length===V);re=!0);}catch(Tt){ot=!0,tt=Tt}finally{try{!re&&Ae.return!=null&&Ae.return()}finally{if(ot)throw tt}}return xe}function K(q){if(Array.isArray(q))return q}function X(q,V,Ae){var xe=w.useState(0),re=W(xe,2),ot=re[0],bt=re[1],tt=Object(w.useRef)(new Map),Tt=Object(w.useRef)(new P),Gt=Object(w.useRef)(0);function lr(){Gt.current+=1;var Rr=Gt.current;Promise.resolve().then(function(){if(Rr!==Gt.current)return;tt.current.forEach(function(xt,It){if(xt&&xt.offsetParent){var At=Object(I.a)(xt),Zt=At.offsetHeight;Tt.current.get(It)!==Zt&&Tt.current.set(It,At.offsetHeight)}}),bt(function(xt){return xt+1})})}function pr(Rr,xt){var It=q(Rr),At=tt.current.get(It);xt?(tt.current.set(It,xt),lr()):tt.current.delete(It),!At!==!xt&&(xt?V==null||V(Rr):Ae==null||Ae(Rr))}return[pr,lr,Tt.current,ot]}function z(q){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(Ae){return typeof Ae}:z=function(Ae){return Ae&&typeof Symbol=="function"&&Ae.constructor===Symbol&&Ae!==Symbol.prototype?"symbol":typeof Ae},z(q)}function Y(q,V,Ae,xe,re,ot,bt,tt){var Tt=w.useRef();return function(Gt){if(Gt==null){tt();return}if(e.a.cancel(Tt.current),typeof Gt=="number")bt(Gt);else if(Gt&&z(Gt)==="object"){var lr,pr=Gt.align;"index"in Gt?lr=Gt.index:lr=V.findIndex(function(At){return re(At)===Gt.key});var Rr=Gt.offset,xt=Rr===void 0?0:Rr,It=function At(Zt,br){if(Zt<0||!q.current)return;var Lr=q.current.clientHeight,Jr=!1,In=br;if(Lr){for(var Gr=br||pr,Tr=0,fr=0,vt=0,ft=Math.min(V.length,lr),Te=0;Te<=ft;Te+=1){var Pe=re(V[Te]);fr=Tr;var Ge=Ae.get(Pe);vt=fr+(Ge===void 0?xe:Ge),Tr=vt,Te===lr&&Ge===void 0&&(Jr=!0)}var st=null;switch(Gr){case"top":st=fr-xt;break;case"bottom":st=vt-Lr+xt;break;default:{var Bt=q.current.scrollTop,$t=Bt+Lr;fr<Bt?In="top":vt>$t&&(In="bottom")}}st!==null&&st!==q.current.scrollTop&&bt(st)}Tt.current=Object(e.a)(function(){Jr&&ot(),At(Zt-1,In)})};It(3)}}}function $(q,V,Ae,xe){var re=Ae-q,ot=V-Ae,bt=Math.min(re,ot)*2;if(xe<=bt){var tt=Math.floor(xe/2);return xe%2?Ae+tt+1:Ae-tt}return re>ot?Ae-(xe-ot):Ae+(xe-re)}function ne(q,V,Ae){var xe=q.length,re=V.length,ot,bt;if(xe===0&&re===0)return null;xe<re?(ot=q,bt=V):(ot=V,bt=q);var tt={__EMPTY_ITEM__:!0};function Tt(It){return It!==void 0?Ae(It):tt}for(var Gt=null,lr=Math.abs(xe-re)!==1,pr=0;pr<bt.length;pr+=1){var Rr=Tt(ot[pr]),xt=Tt(bt[pr]);if(Rr!==xt){Gt=pr,lr=lr||Rr!==Tt(bt[pr+1]);break}}return Gt===null?null:{index:Gt,multiple:lr}}function J(q,V){return Ce(q)||be(q,V)||de(q,V)||ge()}function ge(){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 de(q,V){if(!q)return;if(typeof q=="string")return Ie(q,V);var Ae=Object.prototype.toString.call(q).slice(8,-1);if(Ae==="Object"&&q.constructor&&(Ae=q.constructor.name),Ae==="Map"||Ae==="Set")return Array.from(q);if(Ae==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ae))return Ie(q,V)}function Ie(q,V){(V==null||V>q.length)&&(V=q.length);for(var Ae=0,xe=new Array(V);Ae<V;Ae++)xe[Ae]=q[Ae];return xe}function be(q,V){var Ae=q==null?null:typeof Symbol!="undefined"&&q[Symbol.iterator]||q["@@iterator"];if(Ae==null)return;var xe=[],re=!0,ot=!1,bt,tt;try{for(Ae=Ae.call(q);!(re=(bt=Ae.next()).done)&&!(xe.push(bt.value),V&&xe.length===V);re=!0);}catch(Tt){ot=!0,tt=Tt}finally{try{!re&&Ae.return!=null&&Ae.return()}finally{if(ot)throw tt}}return xe}function Ce(q){if(Array.isArray(q))return q}function je(q,V,Ae){var xe=w.useState(q),re=J(xe,2),ot=re[0],bt=re[1],tt=w.useState(null),Tt=J(tt,2),Gt=Tt[0],lr=Tt[1];return w.useEffect(function(){var pr=ne(ot||[],q||[],V);(pr==null?void 0:pr.index)!==void 0&&(Ae==null||Ae(pr.index),lr(q[pr.index])),bt(q)},[q]),[Gt]}function te(q){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?te=function(Ae){return typeof Ae}:te=function(Ae){return Ae&&typeof Symbol=="function"&&Ae.constructor===Symbol&&Ae!==Symbol.prototype?"symbol":typeof Ae},te(q)}var ve=(typeof navigator=="undefined"?"undefined":te(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),$e=ve,Le=function(q,V){var Ae=Object(w.useRef)(!1),xe=Object(w.useRef)(null);function re(){clearTimeout(xe.current),Ae.current=!0,xe.current=setTimeout(function(){Ae.current=!1},50)}var ot=Object(w.useRef)({top:q,bottom:V});return ot.current.top=q,ot.current.bottom=V,function(bt){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Tt=bt<0&&ot.current.top||bt>0&&ot.current.bottom;return tt&&Tt?(clearTimeout(xe.current),Ae.current=!1):(!Tt||Ae.current)&&re(),!Ae.current&&Tt}};function he(q,V,Ae,xe){var re=Object(w.useRef)(0),ot=Object(w.useRef)(null),bt=Object(w.useRef)(null),tt=Object(w.useRef)(!1),Tt=Le(V,Ae);function Gt(pr){if(!q)return;e.a.cancel(ot.current);var Rr=pr.deltaY;if(re.current+=Rr,bt.current=Rr,Tt(Rr))return;$e||pr.preventDefault(),ot.current=Object(e.a)(function(){var xt=tt.current?10:1;xe(re.current*xt),re.current=0})}function lr(pr){if(!q)return;tt.current=pr.detail===bt.current}return[Gt,lr]}var ee=14/15;function se(q,V,Ae){var xe=Object(w.useRef)(!1),re=Object(w.useRef)(0),ot=Object(w.useRef)(null),bt=Object(w.useRef)(null),tt,Tt=function(Rr){if(xe.current){var xt=Math.ceil(Rr.touches[0].pageY),It=re.current-xt;re.current=xt,Ae(It)&&Rr.preventDefault(),clearInterval(bt.current),bt.current=setInterval(function(){It*=ee,(!Ae(It,!0)||Math.abs(It)<=.1)&&clearInterval(bt.current)},16)}},Gt=function(){xe.current=!1,tt()},lr=function(Rr){tt(),Rr.touches.length===1&&!xe.current&&(xe.current=!0,re.current=Math.ceil(Rr.touches[0].pageY),ot.current=Rr.target,ot.current.addEventListener("touchmove",Tt),ot.current.addEventListener("touchend",Gt))};tt=function(){ot.current&&(ot.current.removeEventListener("touchmove",Tt),ot.current.removeEventListener("touchend",Gt))},w.useLayoutEffect(function(){return q&&V.current.addEventListener("touchstart",lr),function(){V.current.removeEventListener("touchstart",lr),tt(),clearInterval(bt.current)}},[q])}var Ue=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function ue(){return ue=Object.assign||function(q){for(var V=1;V<arguments.length;V++){var Ae=arguments[V];for(var xe in Ae)Object.prototype.hasOwnProperty.call(Ae,xe)&&(q[xe]=Ae[xe])}return q},ue.apply(this,arguments)}function Ne(q,V){var Ae=Object.keys(q);if(Object.getOwnPropertySymbols){var xe=Object.getOwnPropertySymbols(q);V&&(xe=xe.filter(function(re){return Object.getOwnPropertyDescriptor(q,re).enumerable})),Ae.push.apply(Ae,xe)}return Ae}function Fe(q){for(var V=1;V<arguments.length;V++){var Ae=arguments[V]!=null?arguments[V]:{};V%2?Ne(Object(Ae),!0).forEach(function(xe){ae(q,xe,Ae[xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(Ae)):Ne(Object(Ae)).forEach(function(xe){Object.defineProperty(q,xe,Object.getOwnPropertyDescriptor(Ae,xe))})}return q}function ae(q,V,Ae){return V in q?Object.defineProperty(q,V,{value:Ae,enumerable:!0,configurable:!0,writable:!0}):q[V]=Ae,q}function ce(q,V){return Ee(q)||Ze(q,V)||ze(q,V)||_e()}function _e(){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(q,V){if(!q)return;if(typeof q=="string")return it(q,V);var Ae=Object.prototype.toString.call(q).slice(8,-1);if(Ae==="Object"&&q.constructor&&(Ae=q.constructor.name),Ae==="Map"||Ae==="Set")return Array.from(q);if(Ae==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ae))return it(q,V)}function it(q,V){(V==null||V>q.length)&&(V=q.length);for(var Ae=0,xe=new Array(V);Ae<V;Ae++)xe[Ae]=q[Ae];return xe}function Ze(q,V){var Ae=q==null?null:typeof Symbol!="undefined"&&q[Symbol.iterator]||q["@@iterator"];if(Ae==null)return;var xe=[],re=!0,ot=!1,bt,tt;try{for(Ae=Ae.call(q);!(re=(bt=Ae.next()).done)&&!(xe.push(bt.value),V&&xe.length===V);re=!0);}catch(Tt){ot=!0,tt=Tt}finally{try{!re&&Ae.return!=null&&Ae.return()}finally{if(ot)throw tt}}return xe}function Ee(q){if(Array.isArray(q))return q}function mt(q,V){if(q==null)return{};var Ae=Je(q,V),xe,re;if(Object.getOwnPropertySymbols){var ot=Object.getOwnPropertySymbols(q);for(re=0;re<ot.length;re++){if(xe=ot[re],V.indexOf(xe)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(q,xe))continue;Ae[xe]=q[xe]}}return Ae}function Je(q,V){if(q==null)return{};var Ae={},xe=Object.keys(q),re,ot;for(ot=0;ot<xe.length;ot++){if(re=xe[ot],V.indexOf(re)>=0)continue;Ae[re]=q[re]}return Ae}var rt=[],wt={overflowY:"auto",overflowAnchor:"none"};function Ot(q,V){var Ae=q.prefixCls,xe=Ae===void 0?"rc-virtual-list":Ae,re=q.className,ot=q.height,bt=q.itemHeight,tt=q.fullHeight,Tt=tt===void 0?!0:tt,Gt=q.style,lr=q.data,pr=q.children,Rr=q.itemKey,xt=q.virtual,It=q.component,At=It===void 0?"div":It,Zt=q.onScroll,br=q.onVisibleChange,Lr=mt(q,Ue),Jr=!!(xt!==!1&&ot&&bt),In=Jr&&lr&&bt*lr.length>ot,Gr=Object(w.useState)(0),Tr=ce(Gr,2),fr=Tr[0],vt=Tr[1],ft=Object(w.useState)(!1),Te=ce(ft,2),Pe=Te[0],Ge=Te[1],st=A()(xe,re),Bt=lr||rt,$t=Object(w.useRef)(),Nr=Object(w.useRef)(),yn=Object(w.useRef)(),un=w.useCallback(function(_t){return typeof Rr=="function"?Rr(_t):_t==null?void 0:_t[Rr]},[Rr]),Kt={getKey:un};function St(_t){vt(function(gr){var jt;typeof _t=="function"?jt=_t(gr):jt=_t;var Sr=qe(jt);return $t.current.scrollTop=Sr,Sr})}var kt=Object(w.useRef)({start:0,end:Bt.length}),Jt=Object(w.useRef)(),Br=je(Bt,un),Hr=ce(Br,1),$r=Hr[0];Jt.current=$r;var Ft=X(un,null,null),cr=ce(Ft,4),Cr=cr[0],Fr=cr[1],Wr=cr[2],An=cr[3],bn=w.useMemo(function(){if(!Jr)return{scrollHeight:void 0,start:0,end:Bt.length-1,offset:void 0};if(!In){var _t;return{scrollHeight:((_t=Nr.current)===null||_t===void 0?void 0:_t.offsetHeight)||0,start:0,end:Bt.length-1,offset:void 0}}for(var gr=0,jt,Sr,Ar,sr=Bt.length,ln=0;ln<sr;ln+=1){var _n=Bt[ln],Wn=un(_n),Nn=Wr.get(Wn),Mn=gr+(Nn===void 0?bt:Nn);Mn>=fr&&jt===void 0&&(jt=ln,Sr=gr),Mn>fr+ot&&Ar===void 0&&(Ar=ln),gr=Mn}return jt===void 0&&(jt=0,Sr=0),Ar===void 0&&(Ar=Bt.length-1),Ar=Math.min(Ar+1,Bt.length),{scrollHeight:gr,start:jt,end:Ar,offset:Sr}},[In,Jr,fr,Bt,An,ot]),Sn=bn.scrollHeight,kn=bn.start,ei=bn.end,Jn=bn.offset;kt.current.start=kn,kt.current.end=ei;var ai=Sn-ot,ii=Object(w.useRef)(ai);ii.current=ai;function qe(_t){var gr=_t;return Number.isNaN(ii.current)||(gr=Math.min(gr,ii.current)),gr=Math.max(gr,0),gr}var Se=fr<=0,Me=fr>=ai,Be=Le(Se,Me);function Qe(_t){var gr=_t;St(gr)}function Ve(_t){var gr=_t.currentTarget.scrollTop;gr!==fr&&St(gr),Zt==null||Zt(_t)}var Ye=he(Jr,Se,Me,function(_t){St(function(gr){var jt=gr+_t;return jt})}),pt=ce(Ye,2),ht=pt[0],Vt=pt[1];se(Jr,$t,function(_t,gr){return Be(_t,gr)?!1:(ht({preventDefault:function(){},deltaY:_t}),!0)}),Object(w.useLayoutEffect)(function(){function _t(gr){Jr&&gr.preventDefault()}return $t.current.addEventListener("wheel",ht),$t.current.addEventListener("DOMMouseScroll",Vt),$t.current.addEventListener("MozMousePixelScroll",_t),function(){$t.current.removeEventListener("wheel",ht),$t.current.removeEventListener("DOMMouseScroll",Vt),$t.current.removeEventListener("MozMousePixelScroll",_t)}},[Jr]);var dr=Y($t,Bt,Wr,bt,un,Fr,St,function(){var _t;(_t=yn.current)===null||_t===void 0||_t.delayHidden()});w.useImperativeHandle(V,function(){return{scrollTo:dr}}),Object(w.useLayoutEffect)(function(){if(br){var _t=Bt.slice(kn,ei+1);br(_t,Bt)}},[kn,ei,Bt]);var tr=_(Bt,kn,ei,Cr,pr,Kt),ir=null;return ot&&(ir=Fe(ae({},Tt?"height":"maxHeight",ot),wt),Jr&&(ir.overflowY="hidden",Pe&&(ir.pointerEvents="none"))),w.createElement("div",ue({style:Fe(Fe({},Gt),{},{position:"relative"}),className:st},Lr),w.createElement(At,{className:"".concat(xe,"-holder"),style:ir,ref:$t,onScroll:Ve},w.createElement(l,{prefixCls:xe,height:Sn,offset:Jn,onInnerResize:Fr,ref:Nr},tr)),Jr&&w.createElement(T,{ref:yn,prefixCls:xe,scrollTop:fr,height:ot,scrollHeight:Sn,count:Bt.length,onScroll:Qe,onStartMove:function(){Ge(!0)},onStopMove:function(){Ge(!1)}}))}var Ct=w.forwardRef(Ot);Ct.displayName="List";var Dt=Ct,Xe=B.a=Dt},"+rIm":function(M,B,o){var w=o("bYtY"),f=w.retrieve,A=w.defaults,m=w.extend,g=w.each,p=o("7aKB"),c=o("IwbS"),h=o("Qxkt"),l=o("OELB"),e=l.isRadianAroundZero,n=l.remRadian,i=o("oVpE"),r=i.createSymbol,a=o("Fofx"),t=o("QBsz"),s=t.applyTransform,u=o("aX7z"),d=u.shouldShowAllLabels,v=Math.PI,y=function(D,U){this.opt=U,this.axisModel=D,A(U,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group;var H=new c.Group({position:U.position.slice(),rotation:U.rotation});H.updateTransform(),this._transform=H.transform,this._dumbGroup=H};y.prototype={constructor:y,hasBuilder:function(D){return!!S[D]},add:function(D){S[D].call(this)},getGroup:function(){return this.group}};var S={axisLine:function(){var D=this.opt,U=this.axisModel;if(!U.get("axisLine.show"))return;var H=this.axisModel.axis.getExtent(),j=this._transform,K=[H[0],0],X=[H[1],0];j&&(s(K,K,j),s(X,X,j));var z=m({lineCap:"round"},U.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new c.Line({anid:"line",subPixelOptimize:!0,shape:{x1:K[0],y1:K[1],x2:X[0],y2:X[1]},style:z,strokeContainThreshold:D.strokeContainThreshold||5,silent:!0,z2:1}));var Y=U.get("axisLine.symbol"),$=U.get("axisLine.symbolSize"),ne=U.get("axisLine.symbolOffset")||0;if(typeof ne=="number"&&(ne=[ne,ne]),Y!=null){typeof Y=="string"&&(Y=[Y,Y]),(typeof $=="string"||typeof $=="number")&&($=[$,$]);var J=$[0],ge=$[1];g([{rotate:D.rotation+Math.PI/2,offset:ne[0],r:0},{rotate:D.rotation-Math.PI/2,offset:ne[1],r:Math.sqrt((K[0]-X[0])*(K[0]-X[0])+(K[1]-X[1])*(K[1]-X[1]))}],function(de,Ie){if(Y[Ie]!=="none"&&Y[Ie]!=null){var be=r(Y[Ie],-J/2,-ge/2,J,ge,z.stroke,!0),Ce=de.r+de.offset,je=[K[0]+Ce*Math.cos(D.rotation),K[1]-Ce*Math.sin(D.rotation)];be.attr({rotation:de.rotate,position:je,silent:!0,z2:11}),this.group.add(be)}},this)}},axisTickLabel:function(){var D=this.axisModel,U=this.opt,H=k(this,D,U),j=P(this,D,U);x(D,j,H),F(this,D,U)},axisName:function(){var D=this.opt,U=this.axisModel,H=f(D.axisName,U.get("name"));if(!H)return;var j=U.get("nameLocation"),K=D.nameDirection,X=U.getModel("nameTextStyle"),z=U.get("nameGap")||0,Y=this.axisModel.axis.getExtent(),$=Y[0]>Y[1]?-1:1,ne=[j==="start"?Y[0]-$*z:j==="end"?Y[1]+$*z:(Y[0]+Y[1])/2,L(j)?D.labelOffset+K*z:0],J,ge=U.get("nameRotate");ge!=null&&(ge=ge*v/180);var de;L(j)?J=E(D.rotation,ge!=null?ge:D.rotation,K):(J=C(D,j,ge||0,Y),de=D.axisNameAvailableWidth,de!=null&&(de=Math.abs(de/Math.sin(J.rotation)),!isFinite(de)&&(de=null)));var Ie=X.getFont(),be=U.get("nameTruncate",!0)||{},Ce=be.ellipsis,je=f(D.nameTruncateMaxWidth,be.maxWidth,de),te=Ce!=null&&je!=null?p.truncateText(H,je,Ie,Ce,{minChar:2,placeholder:be.placeholder}):H,ve=U.get("tooltip",!0),$e=U.mainType,Le={componentType:$e,name:H,$vars:["name"]};Le[$e+"Index"]=U.componentIndex;var he=new c.Text({anid:"name",__fullText:H,__truncatedText:te,position:ne,rotation:J.rotation,silent:T(U),z2:1,tooltip:ve&&ve.show?m({content:H,formatter:function(){return H},formatterParams:Le},ve):null});c.setTextStyle(he.style,X,{text:te,textFont:Ie,textFill:X.getTextColor()||U.get("axisLine.lineStyle.color"),textAlign:X.get("align")||J.textAlign,textVerticalAlign:X.get("verticalAlign")||J.textVerticalAlign}),U.get("triggerEvent")&&(he.eventData=b(U),he.eventData.targetType="axisName",he.eventData.name=H),this._dumbGroup.add(he),he.updateTransform(),this.group.add(he),he.decomposeTransform()}},b=y.makeAxisEventDataBase=function(D){var U={componentType:D.mainType,componentIndex:D.componentIndex};return U[D.mainType+"Index"]=D.componentIndex,U},E=y.innerTextLayout=function(D,U,H){var j=n(U-D),K,X;return e(j)?(X=H>0?"top":"bottom",K="center"):e(j-v)?(X=H>0?"bottom":"top",K="center"):(X="middle",j>0&&j<v?K=H>0?"right":"left":K=H>0?"left":"right"),{rotation:j,textAlign:K,textVerticalAlign:X}};function C(D,U,H,j){var K=n(H-D.rotation),X,z,Y=j[0]>j[1],$=U==="start"&&!Y||U!=="start"&&Y;return e(K-v/2)?(z=$?"bottom":"top",X="center"):e(K-v*1.5)?(z=$?"top":"bottom",X="center"):(z="middle",K<v*1.5&&K>v/2?X=$?"left":"right":X=$?"right":"left"),{rotation:K,textAlign:X,textVerticalAlign:z}}var T=y.isLabelSilent=function(D){var U=D.get("tooltip");return D.get("silent")||!(D.get("triggerEvent")||U&&U.show)};function x(D,U,H){if(d(D.axis))return;var j=D.get("axisLabel.showMinLabel"),K=D.get("axisLabel.showMaxLabel");U=U||[],H=H||[];var X=U[0],z=U[1],Y=U[U.length-1],$=U[U.length-2],ne=H[0],J=H[1],ge=H[H.length-1],de=H[H.length-2];j===!1?(_(X),_(ne)):I(X,z)&&(j?(_(z),_(J)):(_(X),_(ne))),K===!1?(_(Y),_(ge)):I($,Y)&&(K?(_($),_(de)):(_(Y),_(ge)))}function _(D){D&&(D.ignore=!0)}function I(D,U,H){var j=D&&D.getBoundingRect().clone(),K=U&&U.getBoundingRect().clone();if(!j||!K)return;var X=a.identity([]);return a.rotate(X,X,-D.rotation),j.applyTransform(a.mul([],X,D.getLocalTransform())),K.applyTransform(a.mul([],X,U.getLocalTransform())),j.intersect(K)}function L(D){return D==="middle"||D==="center"}function R(D,U,H,j,K){for(var X=[],z=[],Y=[],$=0;$<D.length;$++){var ne=D[$].coord;z[0]=ne,z[1]=0,Y[0]=ne,Y[1]=H,U&&(s(z,z,U),s(Y,Y,U));var J=new c.Line({anid:K+"_"+D[$].tickValue,subPixelOptimize:!0,shape:{x1:z[0],y1:z[1],x2:Y[0],y2:Y[1]},style:j,z2:2,silent:!0});X.push(J)}return X}function k(D,U,H){var j=U.axis,K=U.getModel("axisTick");if(!K.get("show")||j.scale.isBlank())return;for(var X=K.getModel("lineStyle"),z=H.tickDirection*K.get("length"),Y=j.getTicksCoords(),$=R(Y,D._transform,z,A(X.getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")}),"ticks"),ne=0;ne<$.length;ne++)D.group.add($[ne]);return $}function F(D,U,H){var j=U.axis,K=U.getModel("minorTick");if(!K.get("show")||j.scale.isBlank())return;var X=j.getMinorTicksCoords();if(!X.length)return;for(var z=K.getModel("lineStyle"),Y=H.tickDirection*K.get("length"),$=A(z.getLineStyle(),A(U.getModel("axisTick").getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")})),ne=0;ne<X.length;ne++)for(var J=R(X[ne],D._transform,Y,$,"minorticks_"+ne),ge=0;ge<J.length;ge++)D.group.add(J[ge])}function P(D,U,H){var j=U.axis,K=f(H.axisLabelShow,U.get("axisLabel.show"));if(!K||j.scale.isBlank())return;var X=U.getModel("axisLabel"),z=X.get("margin"),Y=j.getViewLabels(),$=(f(H.labelRotate,X.get("rotate"))||0)*v/180,ne=E(H.rotation,$,H.labelDirection),J=U.getCategories&&U.getCategories(!0),ge=[],de=T(U),Ie=U.get("triggerEvent");return g(Y,function(be,Ce){var je=be.tickValue,te=be.formattedLabel,ve=be.rawLabel,$e=X;J&&J[je]&&J[je].textStyle&&($e=new h(J[je].textStyle,X,U.ecModel));var Le=$e.getTextColor()||U.get("axisLine.lineStyle.color"),he=j.dataToCoord(je),ee=[he,H.labelOffset+H.labelDirection*z],se=new c.Text({anid:"label_"+je,position:ee,rotation:ne.rotation,silent:de,z2:10});c.setTextStyle(se.style,$e,{text:te,textAlign:$e.getShallow("align",!0)||ne.textAlign,textVerticalAlign:$e.getShallow("verticalAlign",!0)||$e.getShallow("baseline",!0)||ne.textVerticalAlign,textFill:typeof Le=="function"?Le(j.type==="category"?ve:j.type==="value"?je+"":je,Ce):Le}),Ie&&(se.eventData=b(U),se.eventData.targetType="axisLabel",se.eventData.value=ve),D._dumbGroup.add(se),se.updateTransform(),ge.push(se),D.group.add(se),se.decomposeTransform()}),ge}var W=y;M.exports=W},"+wW9":function(M,B,o){var w=o("bYtY"),f=w.each,A=w.isArray,m=w.isObject,g=o("JuEJ"),p=o("4NO4"),c=p.normalizeToArray;function h(a,t){t=t.split(",");for(var s=a,u=0;u<t.length&&!(s=s&&s[t[u]],s==null);u++);return s}function l(a,t,s,u){t=t.split(",");for(var d=a,v,y=0;y<t.length-1;y++)v=t[y],d[v]==null&&(d[v]={}),d=d[v];(u||d[t[y]]==null)&&(d[t[y]]=s)}function e(a){f(n,function(t){t[0]in a&&!(t[1]in a)&&(a[t[1]]=a[t[0]])})}var n=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],i=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function r(a,t){g(a,t),a.series=c(a.series),f(a.series,function(s){if(!m(s))return;var u=s.type;if(u==="line")s.clipOverflow!=null&&(s.clip=s.clipOverflow);else if(u==="pie"||u==="gauge")s.clockWise!=null&&(s.clockwise=s.clockWise);else if(u==="gauge"){var d=h(s,"pointer.color");d!=null&&l(s,"itemStyle.color",d)}e(s)}),a.dataRange&&(a.visualMap=a.dataRange),f(i,function(s){var u=a[s];u&&(A(u)||(u=[u]),f(u,function(d){e(d)}))})}M.exports=r},"/IIm":function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=o("H6uX"),g=o("IwbS"),p=o("pP6R"),c=o("gPAo"),h=A.curry,l=A.each,e=A.map,n=Math.min,i=Math.max,r=Math.pow,a=1e4,t=6,s=6,u="globalPan",d={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},v={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},y={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},S=0;function b(ae){m.call(this),this._zr=ae,this.group=new g.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+S++,this._handlers={},l(ee,function(ce,_e){this._handlers[_e]=A.bind(ce,this)},this)}b.prototype={constructor:b,enableBrush:function(ae){return this._brushType&&C(this),ae.brushType&&E(this,ae),this},setPanels:function(ae){if(ae&&ae.length){var ce=this._panels={};A.each(ae,function(_e){ce[_e.panelId]=A.clone(_e)})}else this._panels=null;return this},mount:function(ae){ae=ae||{},this._enableGlobalPan=ae.enableGlobalPan;var ce=this.group;return this._zr.add(ce),ce.attr({position:ae.position||[0,0],rotation:ae.rotation||0,scale:ae.scale||[1,1]}),this._transform=ce.getLocalTransform(),this},eachCover:function(ae,ce){l(this._covers,ae,ce)},updateCovers:function(ae){ae=A.map(ae,function(wt){return A.merge(A.clone(y),wt,!0)});var ce="\0-brush-index-",_e=this._covers,ze=this._covers=[],it=this,Ze=this._creatingCover;return new c(_e,ae,mt,Ee).add(Je).update(Je).remove(rt).execute(),this;function Ee(wt,Ot){return(wt.id!=null?wt.id:ce+Ot)+"-"+wt.brushType}function mt(wt,Ot){return Ee(wt.__brushOption,Ot)}function Je(wt,Ot){var Ct=ae[wt];if(Ot!=null&&_e[Ot]===Ze)ze[wt]=_e[Ot];else{var Dt=ze[wt]=Ot!=null?(_e[Ot].__brushOption=Ct,_e[Ot]):I(it,_(it,Ct));k(it,Dt)}}function rt(wt){_e[wt]!==Ze&&it.group.remove(_e[wt])}},unmount:function(){return this.enableBrush(!1),D(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},A.mixin(b,m);function E(ae,ce){var _e=ae._zr;ae._enableGlobalPan||p.take(_e,u,ae._uid),T(_e,ae._handlers),ae._brushType=ce.brushType,ae._brushOption=A.merge(A.clone(y),ce,!0)}function C(ae){var ce=ae._zr;p.release(ce,u,ae._uid),x(ce,ae._handlers),ae._brushType=ae._brushOption=null}function T(ae,ce){l(ce,function(_e,ze){ae.on(ze,_e)})}function x(ae,ce){l(ce,function(_e,ze){ae.off(ze,_e)})}function _(ae,ce){var _e=ue[ce.brushType].createCover(ae,ce);return _e.__brushOption=ce,R(_e,ce),ae.group.add(_e),_e}function I(ae,ce){var _e=F(ce);return _e.endCreating&&(_e.endCreating(ae,ce),R(ce,ce.__brushOption)),ce}function L(ae,ce){var _e=ce.__brushOption;F(ce).updateCoverShape(ae,ce,_e.range,_e)}function R(ae,ce){var _e=ce.z;_e==null&&(_e=a),ae.traverse(function(ze){ze.z=_e,ze.z2=_e})}function k(ae,ce){F(ce).updateCommon(ae,ce),L(ae,ce)}function F(ae){return ue[ae.__brushOption.brushType]}function P(ae,ce,_e){var ze=ae._panels;if(!ze)return!0;var it,Ze=ae._transform;return l(ze,function(Ee){Ee.isTargetByCursor(ce,_e,Ze)&&(it=Ee)}),it}function W(ae,ce){var _e=ae._panels;if(!_e)return!0;var ze=ce.__brushOption.panelId;return ze!=null?_e[ze]:!0}function D(ae){var ce=ae._covers,_e=ce.length;return l(ce,function(ze){ae.group.remove(ze)},ae),ce.length=0,!!_e}function U(ae,ce){var _e=e(ae._covers,function(ze){var it=ze.__brushOption,Ze=A.clone(it.range);return{brushType:it.brushType,panelId:it.panelId,range:Ze}});ae.trigger("brush",_e,{isEnd:!!ce.isEnd,removeOnClick:!!ce.removeOnClick})}function H(ae){var ce=ae._track;if(!ce.length)return!1;var _e=ce[ce.length-1],ze=ce[0],it=_e[0]-ze[0],Ze=_e[1]-ze[1],Ee=r(it*it+Ze*Ze,.5);return Ee>t}function j(ae){var ce=ae.length-1;return ce<0&&(ce=0),[ae[0],ae[ce]]}function K(ae,ce,_e,ze){var it=new g.Group;return it.add(new g.Rect({name:"main",style:$(_e),silent:!0,draggable:!0,cursor:"move",drift:h(ae,ce,it,"nswe"),ondragend:h(U,ce,{isEnd:!0})})),l(ze,function(Ze){it.add(new g.Rect({name:Ze,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:h(ae,ce,it,Ze),ondragend:h(U,ce,{isEnd:!0})}))}),it}function X(ae,ce,_e,ze){var it=ze.brushStyle.lineWidth||0,Ze=i(it,s),Ee=_e[0][0],mt=_e[1][0],Je=Ee-it/2,rt=mt-it/2,wt=_e[0][1],Ot=_e[1][1],Ct=wt-Ze+it/2,Dt=Ot-Ze+it/2,Xe=wt-Ee,q=Ot-mt,V=Xe+it,Ae=q+it;Y(ae,ce,"main",Ee,mt,Xe,q),ze.transformable&&(Y(ae,ce,"w",Je,rt,Ze,Ae),Y(ae,ce,"e",Ct,rt,Ze,Ae),Y(ae,ce,"n",Je,rt,V,Ze),Y(ae,ce,"s",Je,Dt,V,Ze),Y(ae,ce,"nw",Je,rt,Ze,Ze),Y(ae,ce,"ne",Ct,rt,Ze,Ze),Y(ae,ce,"sw",Je,Dt,Ze,Ze),Y(ae,ce,"se",Ct,Dt,Ze,Ze))}function z(ae,ce){var _e=ce.__brushOption,ze=_e.transformable,it=ce.childAt(0);it.useStyle($(_e)),it.attr({silent:!ze,cursor:ze?"move":"default"}),l(["w","e","n","s","se","sw","ne","nw"],function(Ze){var Ee=ce.childOfName(Ze),mt=ge(ae,Ze);Ee&&Ee.attr({silent:!ze,invisible:!ze,cursor:ze?v[mt]+"-resize":null})})}function Y(ae,ce,_e,ze,it,Ze,Ee){var mt=ce.childOfName(_e);mt&&mt.setShape(je(Ce(ae,ce,[[ze,it],[ze+Ze,it+Ee]])))}function $(ae){return A.defaults({strokeNoScale:!0},ae.brushStyle)}function ne(ae,ce,_e,ze){var it=[n(ae,_e),n(ce,ze)],Ze=[i(ae,_e),i(ce,ze)];return[[it[0],Ze[0]],[it[1],Ze[1]]]}function J(ae){return g.getTransform(ae.group)}function ge(ae,ce){if(ce.length>1){ce=ce.split("");var _e=[ge(ae,ce[0]),ge(ae,ce[1])];return(_e[0]==="e"||_e[0]==="w")&&_e.reverse(),_e.join("")}else{var ze={w:"left",e:"right",n:"top",s:"bottom"},it={left:"w",right:"e",top:"n",bottom:"s"},_e=g.transformDirection(ze[ce],J(ae));return it[_e]}}function de(ae,ce,_e,ze,it,Ze,Ee,mt){var Je=ze.__brushOption,rt=ae(Je.range),wt=be(_e,Ze,Ee);l(it.split(""),function(Ot){var Ct=d[Ot];rt[Ct[0]][Ct[1]]+=wt[Ct[0]]}),Je.range=ce(ne(rt[0][0],rt[1][0],rt[0][1],rt[1][1])),k(_e,ze),U(_e,{isEnd:!1})}function Ie(ae,ce,_e,ze,it){var Ze=ce.__brushOption.range,Ee=be(ae,_e,ze);l(Ze,function(mt){mt[0]+=Ee[0],mt[1]+=Ee[1]}),k(ae,ce),U(ae,{isEnd:!1})}function be(ae,ce,_e){var ze=ae.group,it=ze.transformCoordToLocal(ce,_e),Ze=ze.transformCoordToLocal(0,0);return[it[0]-Ze[0],it[1]-Ze[1]]}function Ce(ae,ce,_e){var ze=W(ae,ce);return ze&&ze!==!0?ze.clipPath(_e,ae._transform):A.clone(_e)}function je(ae){var ce=n(ae[0][0],ae[1][0]),_e=n(ae[0][1],ae[1][1]),ze=i(ae[0][0],ae[1][0]),it=i(ae[0][1],ae[1][1]);return{x:ce,y:_e,width:ze-ce,height:it-_e}}function te(ae,ce,_e){if(!ae._brushType||Ue(ae,ce))return;var ze=ae._zr,it=ae._covers,Ze=P(ae,ce,_e);if(!ae._dragging)for(var Ee=0;Ee<it.length;Ee++){var mt=it[Ee].__brushOption;if(Ze&&(Ze===!0||mt.panelId===Ze.panelId)&&ue[mt.brushType].contain(it[Ee],_e[0],_e[1]))return}Ze&&ze.setCursorStyle("crosshair")}function ve(ae){var ce=ae.event;ce.preventDefault&&ce.preventDefault()}function $e(ae,ce,_e){return ae.childOfName("main").contain(ce,_e)}function Le(ae,ce,_e,ze){var it=ae._creatingCover,Ze=ae._creatingPanel,Ee=ae._brushOption,mt;if(ae._track.push(_e.slice()),H(ae)||it){if(Ze&&!it){Ee.brushMode==="single"&&D(ae);var Je=A.clone(Ee);Je.brushType=he(Je.brushType,Ze),Je.panelId=Ze===!0?null:Ze.panelId,it=ae._creatingCover=_(ae,Je),ae._covers.push(it)}if(it){var rt=ue[he(ae._brushType,Ze)],wt=it.__brushOption;wt.range=rt.getCreatingRange(Ce(ae,it,ae._track)),ze&&(I(ae,it),rt.updateCommon(ae,it)),L(ae,it),mt={isEnd:ze}}}else ze&&Ee.brushMode==="single"&&Ee.removeOnClick&&(P(ae,ce,_e)&&D(ae)&&(mt={isEnd:ze,removeOnClick:!0}));return mt}function he(ae,ce){return ae==="auto"?ce.defaultBrushType:ae}var ee={mousedown:function(ae){if(this._dragging)se(this,ae);else if(!ae.target||!ae.target.draggable){ve(ae);var ce=this.group.transformCoordToLocal(ae.offsetX,ae.offsetY);this._creatingCover=null;var _e=this._creatingPanel=P(this,ae,ce);_e&&(this._dragging=!0,this._track=[ce.slice()])}},mousemove:function(ae){var ce=ae.offsetX,_e=ae.offsetY,ze=this.group.transformCoordToLocal(ce,_e);if(te(this,ae,ze),this._dragging){ve(ae);var it=Le(this,ae,ze,!1);it&&U(this,it)}},mouseup:function(ae){se(this,ae)}};function se(ae,ce){if(ae._dragging){ve(ce);var _e=ce.offsetX,ze=ce.offsetY,it=ae.group.transformCoordToLocal(_e,ze),Ze=Le(ae,ce,it,!0);ae._dragging=!1,ae._track=[],ae._creatingCover=null,Ze&&U(ae,Ze)}}function Ue(ae,ce,_e){var ze=ae._zr;return ce<0||ce>ze.getWidth()||_e<0||_e>ze.getHeight()}var ue={lineX:Ne(0),lineY:Ne(1),rect:{createCover:function(ae,ce){return K(h(de,function(_e){return _e},function(_e){return _e}),ae,ce,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(ae){var ce=j(ae);return ne(ce[1][0],ce[1][1],ce[0][0],ce[0][1])},updateCoverShape:function(ae,ce,_e,ze){X(ae,ce,_e,ze)},updateCommon:z,contain:$e},polygon:{createCover:function(ae,ce){var _e=new g.Group;return _e.add(new g.Polyline({name:"main",style:$(ce),silent:!0})),_e},getCreatingRange:function(ae){return ae},endCreating:function(ae,ce){ce.remove(ce.childAt(0)),ce.add(new g.Polygon({name:"main",draggable:!0,drift:h(Ie,ae,ce),ondragend:h(U,ae,{isEnd:!0})}))},updateCoverShape:function(ae,ce,_e,ze){ce.childAt(0).setShape({points:Ce(ae,ce,_e)})},updateCommon:z,contain:$e}};function Ne(ae){return{createCover:function(ce,_e){return K(h(de,function(ze){var it=[ze,[0,100]];return ae&&it.reverse(),it},function(ze){return ze[ae]}),ce,_e,[["w","e"],["n","s"]][ae])},getCreatingRange:function(ce){var _e=j(ce),ze=n(_e[0][ae],_e[1][ae]),it=i(_e[0][ae],_e[1][ae]);return[ze,it]},updateCoverShape:function(ce,_e,ze,it){var Ze,Ee=W(ce,_e);if(Ee!==!0&&Ee.getLinearBrushOtherExtent)Ze=Ee.getLinearBrushOtherExtent(ae,ce._transform);else{var mt=ce._zr;Ze=[0,[mt.getWidth(),mt.getHeight()][1-ae]]}var Je=[ze,Ze];ae&&Je.reverse(),X(ce,_e,Je,it)},updateCommon:z,contain:$e}}var Fe=b;M.exports=Fe},"/MfK":function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="DeleteOutlined";var c=B.a=f.forwardRef(p)},"/POA":function(M,B,o){!function(w,f){if(!0)M.exports=f();else var A,m}(window,function(){return function(w){var f={};function A(m){if(f[m])return f[m].exports;var g=f[m]={i:m,l:!1,exports:{}};return w[m].call(g.exports,g,g.exports,A),g.l=!0,g.exports}return A.m=w,A.c=f,A.d=function(m,g,p){A.o(m,g)||Object.defineProperty(m,g,{enumerable:!0,get:p})},A.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},A.t=function(m,g){if(1&g&&(m=A(m)),8&g)return m;if(4&g&&typeof m=="object"&&m&&m.__esModule)return m;var p=Object.create(null);if(A.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:m}),2&g&&typeof m!="string")for(var c in m)A.d(p,c,function(h){return m[h]}.bind(null,c));return p},A.n=function(m){var g=m&&m.__esModule?function(){return m.default}:function(){return m};return A.d(g,"a",g),g},A.o=function(m,g){return Object.prototype.hasOwnProperty.call(m,g)},A.p="",A(A.s=34)}([function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.forwardEvent=f.EventEmitter=void 0;var m=function(){function g(){this._listeners=[],this._disposed=!1}return Object.defineProperty(g.prototype,"event",{get:function(){var c=this;return this._event||(this._event=function(h){return c._listeners.push(h),{dispose:function(){if(!c._disposed){for(var e=0;e<c._listeners.length;e++)if(c._listeners[e]===h)return void c._listeners.splice(e,1)}}}}),this._event},enumerable:!1,configurable:!0}),g.prototype.fire=function(p,c){for(var h=[],l=0;l<this._listeners.length;l++)h.push(this._listeners[l]);for(l=0;l<h.length;l++)h[l].call(void 0,p,c)},g.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},g}();f.EventEmitter=m,f.forwardEvent=function(g,p){return g(function(c){return p.fire(c)})}},function(w,f,A){"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 m=A(14);f.IBufferService=m.createDecorator("BufferService"),f.ICoreMouseService=m.createDecorator("CoreMouseService"),f.ICoreService=m.createDecorator("CoreService"),f.ICharsetService=m.createDecorator("CharsetService"),f.IDirtyRowService=m.createDecorator("DirtyRowService"),f.IInstantiationService=m.createDecorator("InstantiationService"),f.ILogService=m.createDecorator("LogService"),f.IOptionsService=m.createDecorator("OptionsService"),f.IUnicodeService=m.createDecorator("UnicodeService")},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.getDisposeArrayDisposable=f.disposeArray=f.Disposable=void 0;var m=function(){function p(){this._disposables=[],this._isDisposed=!1}return p.prototype.dispose=function(){this._isDisposed=!0;for(var c=0,h=this._disposables;c<h.length;c++)h[c].dispose();this._disposables.length=0},p.prototype.register=function(c){return this._disposables.push(c),c},p.prototype.unregister=function(c){var h=this._disposables.indexOf(c);h!==-1&&this._disposables.splice(h,1)},p}();function g(p){for(var c=0,h=p;c<h.length;c++)h[c].dispose();p.length=0}f.Disposable=m,f.disposeArray=g,f.getDisposeArrayDisposable=function(p){return{dispose:function(){return g(p)}}}},function(w,f,A){"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(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(n,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var t in a)a.hasOwnProperty(t)&&(r[t]=a[t])})(n,i)},function(e,n){function i(){this.constructor=e}m(e,n),e.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(f,"__esModule",{value:!0}),f.CellData=void 0;var p=A(8),c=A(3),h=A(6),l=function(e){function n(){var i=e!==null&&e.apply(this,arguments)||this;return i.content=0,i.fg=0,i.bg=0,i.extended=new h.ExtendedAttrs,i.combinedData="",i}return g(n,e),n.fromCharData=function(i){var r=new n;return r.setFromCharData(i),r},n.prototype.isCombined=function(){return 2097152&this.content},n.prototype.getWidth=function(){return this.content>>22},n.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?p.stringFromCodePoint(2097151&this.content):""},n.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},n.prototype.setFromCharData=function(i){this.fg=i[c.CHAR_DATA_ATTR_INDEX],this.bg=0;var r=!1;if(i[c.CHAR_DATA_CHAR_INDEX].length>2)r=!0;else if(i[c.CHAR_DATA_CHAR_INDEX].length===2){var a=i[c.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=a&&a<=56319){var t=i[c.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=t&&t<=57343?this.content=1024*(a-55296)+t-56320+65536|i[c.CHAR_DATA_WIDTH_INDEX]<<22:r=!0}else r=!0}else this.content=i[c.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|i[c.CHAR_DATA_WIDTH_INDEX]<<22;r&&(this.combinedData=i[c.CHAR_DATA_CHAR_INDEX],this.content=2097152|i[c.CHAR_DATA_WIDTH_INDEX]<<22)},n.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},n}(h.AttributeData);f.CellData=l},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ISoundService=f.ISelectionService=f.IRenderService=f.IMouseService=f.ICoreBrowserService=f.ICharSizeService=void 0;var m=A(14);f.ICharSizeService=m.createDecorator("CharSizeService"),f.ICoreBrowserService=m.createDecorator("CoreBrowserService"),f.IMouseService=m.createDecorator("MouseService"),f.IRenderService=m.createDecorator("RenderService"),f.ISelectionService=m.createDecorator("SelectionService"),f.ISoundService=m.createDecorator("SoundService")},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ExtendedAttrs=f.AttributeData=void 0;var m=function(){function p(){this.fg=0,this.bg=0,this.extended=new g}return p.toColorRGB=function(c){return[c>>>16&255,c>>>8&255,255&c]},p.fromColorRGB=function(c){return(255&c[0])<<16|(255&c[1])<<8|255&c[2]},p.prototype.clone=function(){var c=new p;return c.fg=this.fg,c.bg=this.bg,c.extended=this.extended.clone(),c},p.prototype.isInverse=function(){return 67108864&this.fg},p.prototype.isBold=function(){return 134217728&this.fg},p.prototype.isUnderline=function(){return 268435456&this.fg},p.prototype.isBlink=function(){return 536870912&this.fg},p.prototype.isInvisible=function(){return 1073741824&this.fg},p.prototype.isItalic=function(){return 67108864&this.bg},p.prototype.isDim=function(){return 134217728&this.bg},p.prototype.getFgColorMode=function(){return 50331648&this.fg},p.prototype.getBgColorMode=function(){return 50331648&this.bg},p.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},p.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},p.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},p.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},p.prototype.isFgDefault=function(){return(50331648&this.fg)==0},p.prototype.isBgDefault=function(){return(50331648&this.bg)==0},p.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},p.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},p.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},p.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},p.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},p.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()},p.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},p.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},p.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},p.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},p.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},p}();f.AttributeData=m;var g=function(){function p(c,h){c===void 0&&(c=0),h===void 0&&(h=-1),this.underlineStyle=c,this.underlineColor=h}return p.prototype.clone=function(){return new p(this.underlineStyle,this.underlineColor)},p.prototype.isEmpty=function(){return this.underlineStyle===0},p}();f.ExtendedAttrs=g},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.addDisposableDomListener=void 0,f.addDisposableDomListener=function(m,g,p,c){m.addEventListener(g,p,c);var h=!1;return{dispose:function(){h||(h=!0,m.removeEventListener(g,p,c))}}}},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Utf8ToUtf32=f.StringToUtf32=f.utf32ToString=f.stringFromCodePoint=void 0,f.stringFromCodePoint=function(p){return p>65535?(p-=65536,String.fromCharCode(55296+(p>>10))+String.fromCharCode(p%1024+56320)):String.fromCharCode(p)},f.utf32ToString=function(p,c,h){c===void 0&&(c=0),h===void 0&&(h=p.length);for(var l="",e=c;e<h;++e){var n=p[e];n>65535?(n-=65536,l+=String.fromCharCode(55296+(n>>10))+String.fromCharCode(n%1024+56320)):l+=String.fromCharCode(n)}return l};var m=function(){function p(){this._interim=0}return p.prototype.clear=function(){this._interim=0},p.prototype.decode=function(c,h){var l=c.length;if(!l)return 0;var e=0,n=0;this._interim&&(56320<=(a=c.charCodeAt(n++))&&a<=57343?h[e++]=1024*(this._interim-55296)+a-56320+65536:(h[e++]=this._interim,h[e++]=a),this._interim=0);for(var i=n;i<l;++i){var r=c.charCodeAt(i);if(55296<=r&&r<=56319){if(++i>=l)return this._interim=r,e;var a;56320<=(a=c.charCodeAt(i))&&a<=57343?h[e++]=1024*(r-55296)+a-56320+65536:(h[e++]=r,h[e++]=a)}else h[e++]=r}return e},p}();f.StringToUtf32=m;var g=function(){function p(){this.interim=new Uint8Array(3)}return p.prototype.clear=function(){this.interim.fill(0)},p.prototype.decode=function(c,h){var l=c.length;if(!l)return 0;var e,n,i,r,a=0,t=0,s=0;if(this.interim[0]){var u=!1,d=this.interim[0];d&=(224&d)==192?31:(240&d)==224?15:7;for(var v=0,y=void 0;(y=63&this.interim[++v])&&v<4;)d<<=6,d|=y;for(var S=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,b=S-v;s<b;){if(s>=l)return 0;if((192&(y=c[s++]))!=128){s--,u=!0;break}this.interim[v++]=y,d<<=6,d|=63&y}u||(S===2?d<128?s--:h[a++]=d:S===3?d<2048||d>=55296&&d<=57343||(h[a++]=d):d<65536||d>1114111||(h[a++]=d)),this.interim.fill(0)}for(var E=l-4,C=s;C<l;){for(;!(!(C<E)||128&(e=c[C])||128&(n=c[C+1])||128&(i=c[C+2])||128&(r=c[C+3]));)h[a++]=e,h[a++]=n,h[a++]=i,h[a++]=r,C+=4;if((e=c[C++])<128)h[a++]=e;else if((224&e)==192){if(C>=l)return this.interim[0]=e,a;if((192&(n=c[C++]))!=128){C--;continue}if((t=(31&e)<<6|63&n)<128){C--;continue}h[a++]=t}else if((240&e)==224){if(C>=l)return this.interim[0]=e,a;if((192&(n=c[C++]))!=128){C--;continue}if(C>=l)return this.interim[0]=e,this.interim[1]=n,a;if((192&(i=c[C++]))!=128){C--;continue}if((t=(15&e)<<12|(63&n)<<6|63&i)<2048||t>=55296&&t<=57343)continue;h[a++]=t}else if((248&e)==240){if(C>=l)return this.interim[0]=e,a;if((192&(n=c[C++]))!=128){C--;continue}if(C>=l)return this.interim[0]=e,this.interim[1]=n,a;if((192&(i=c[C++]))!=128){C--;continue}if(C>=l)return this.interim[0]=e,this.interim[1]=n,this.interim[2]=i,a;if((192&(r=c[C++]))!=128){C--;continue}if((t=(7&e)<<18|(63&n)<<12|(63&i)<<6|63&r)<65536||t>1114111)continue;h[a++]=t}}return a},p}();f.Utf8ToUtf32=g},function(w,f,A){"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(w,f,A){"use strict";var m,g,p,c;function h(e){var n=e.toString(16);return n.length<2?"0"+n:n}function l(e,n){return e<n?(n+.05)/(e+.05):(e+.05)/(n+.05)}Object.defineProperty(f,"__esModule",{value:!0}),f.contrastRatio=f.toPaddedHex=f.rgba=f.rgb=f.css=f.color=f.channels=void 0,function(e){e.toCss=function(n,i,r,a){return a!==void 0?"#"+h(n)+h(i)+h(r)+h(a):"#"+h(n)+h(i)+h(r)},e.toRgba=function(n,i,r,a){return a===void 0&&(a=255),(n<<24|i<<16|r<<8|a)>>>0}}(m=f.channels||(f.channels={})),(g=f.color||(f.color={})).blend=function(e,n){var i=(255&n.rgba)/255;if(i===1)return{css:n.css,rgba:n.rgba};var r=n.rgba>>24&255,a=n.rgba>>16&255,t=n.rgba>>8&255,s=e.rgba>>24&255,u=e.rgba>>16&255,d=e.rgba>>8&255,v=s+Math.round((r-s)*i),y=u+Math.round((a-u)*i),S=d+Math.round((t-d)*i);return{css:m.toCss(v,y,S),rgba:m.toRgba(v,y,S)}},g.isOpaque=function(e){return(255&e.rgba)==255},g.ensureContrastRatio=function(e,n,i){var r=c.ensureContrastRatio(e.rgba,n.rgba,i);if(r)return c.toColor(r>>24&255,r>>16&255,r>>8&255)},g.opaque=function(e){var n=(255|e.rgba)>>>0,i=c.toChannels(n),r=i[0],a=i[1],t=i[2];return{css:m.toCss(r,a,t),rgba:n}},g.opacity=function(e,n){var i=Math.round(255*n),r=c.toChannels(e.rgba),a=r[0],t=r[1],s=r[2];return{css:m.toCss(a,t,s,i),rgba:m.toRgba(a,t,s,i)}},(f.css||(f.css={})).toColor=function(e){switch(e.length){case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(e){function n(i,r,a){var t=i/255,s=r/255,u=a/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*(u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4))}e.relativeLuminance=function(i){return n(i>>16&255,i>>8&255,255&i)},e.relativeLuminance2=n}(p=f.rgb||(f.rgb={})),function(e){function n(r,a,t){for(var s=r>>24&255,u=r>>16&255,d=r>>8&255,v=a>>24&255,y=a>>16&255,S=a>>8&255,b=l(p.relativeLuminance2(v,S,y),p.relativeLuminance2(s,u,d));b<t&&(v>0||y>0||S>0);)v-=Math.max(0,Math.ceil(.1*v)),y-=Math.max(0,Math.ceil(.1*y)),S-=Math.max(0,Math.ceil(.1*S)),b=l(p.relativeLuminance2(v,S,y),p.relativeLuminance2(s,u,d));return(v<<24|y<<16|S<<8|255)>>>0}function i(r,a,t){for(var s=r>>24&255,u=r>>16&255,d=r>>8&255,v=a>>24&255,y=a>>16&255,S=a>>8&255,b=l(p.relativeLuminance2(v,S,y),p.relativeLuminance2(s,u,d));b<t&&(v<255||y<255||S<255);)v=Math.min(255,v+Math.ceil(.1*(255-v))),y=Math.min(255,y+Math.ceil(.1*(255-y))),S=Math.min(255,S+Math.ceil(.1*(255-S))),b=l(p.relativeLuminance2(v,S,y),p.relativeLuminance2(s,u,d));return(v<<24|y<<16|S<<8|255)>>>0}e.ensureContrastRatio=function(r,a,t){var s=p.relativeLuminance(r>>8),u=p.relativeLuminance(a>>8);if(l(s,u)<t)return u<s?n(r,a,t):i(r,a,t)},e.reduceLuminance=n,e.increaseLuminance=i,e.toChannels=function(r){return[r>>24&255,r>>16&255,r>>8&255,255&r]},e.toColor=function(r,a,t){return{css:m.toCss(r,a,t),rgba:m.toRgba(r,a,t)}}}(c=f.rgba||(f.rgba={})),f.toPaddedHex=h,f.contrastRatio=l},function(w,f,A){"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 m=typeof navigator=="undefined",g=m?"node":navigator.userAgent,p=m?"node":navigator.platform;function c(h,l){return h.indexOf(l)>=0}f.isFirefox=!!~g.indexOf("Firefox"),f.isSafari=/^((?!chrome|android).)*safari/i.test(g),f.isMac=c(["Macintosh","MacIntel","MacPPC","Mac68K"],p),f.isIpad=p==="iPad",f.isIphone=p==="iPhone",f.isWindows=c(["Windows","Win16","Win32","WinCE"],p),f.isLinux=p.indexOf("Linux")>=0},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.C1=f.C0=void 0,function(m){m.NUL="\0",m.SOH="",m.STX="",m.ETX="",m.EOT="",m.ENQ="",m.ACK="",m.BEL="\x07",m.BS="\b",m.HT=" ",m.LF=`
|
|
|
`,m.VT="\v",m.FF="\f",m.CR="\r",m.SO="",m.SI="",m.DLE="",m.DC1="",m.DC2="",m.DC3="",m.DC4="",m.NAK="",m.SYN="",m.ETB="",m.CAN="",m.EM="",m.SUB="",m.ESC="",m.FS="",m.GS="",m.RS="",m.US="",m.SP=" ",m.DEL="\x7F"}(f.C0||(f.C0={})),function(m){m.PAD="\x80",m.HOP="\x81",m.BPH="\x82",m.NBH="\x83",m.IND="\x84",m.NEL="\x85",m.SSA="\x86",m.ESA="\x87",m.HTS="\x88",m.HTJ="\x89",m.VTS="\x8A",m.PLD="\x8B",m.PLU="\x8C",m.RI="\x8D",m.SS2="\x8E",m.SS3="\x8F",m.DCS="\x90",m.PU1="\x91",m.PU2="\x92",m.STS="\x93",m.CCH="\x94",m.MW="\x95",m.SPA="\x96",m.EPA="\x97",m.SOS="\x98",m.SGCI="\x99",m.SCI="\x9A",m.CSI="\x9B",m.ST="\x9C",m.OSC="\x9D",m.PM="\x9E",m.APC="\x9F"}(f.C1||(f.C1={}))},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseRenderLayer=void 0;var m=A(3),g=A(9),p=A(25),c=A(6),h=A(28),l=A(10),e=A(17),n=function(){function i(r,a,t,s,u,d,v,y){this._container=r,this._alpha=s,this._colors=u,this._rendererId=d,this._bufferService=v,this._optionsService=y,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-"+a+"-layer"),this._canvas.style.zIndex=t.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return i.prototype.dispose=function(){var r;e.removeElementFromParent(this._canvas),(r=this._charAtlas)===null||r===void 0||r.dispose()},i.prototype._initCanvas=function(){this._ctx=h.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},i.prototype.onOptionsChanged=function(){},i.prototype.onBlur=function(){},i.prototype.onFocus=function(){},i.prototype.onCursorMove=function(){},i.prototype.onGridChanged=function(r,a){},i.prototype.onSelectionChanged=function(r,a,t){t===void 0&&(t=!1)},i.prototype.setColors=function(r){this._refreshCharAtlas(r)},i.prototype._setTransparency=function(r){if(r!==this._alpha){var a=this._canvas;this._alpha=r,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,a),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},i.prototype._refreshCharAtlas=function(r){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=p.acquireCharAtlas(this._optionsService.options,this._rendererId,r,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},i.prototype.resize=function(r){this._scaledCellWidth=r.scaledCellWidth,this._scaledCellHeight=r.scaledCellHeight,this._scaledCharWidth=r.scaledCharWidth,this._scaledCharHeight=r.scaledCharHeight,this._scaledCharLeft=r.scaledCharLeft,this._scaledCharTop=r.scaledCharTop,this._canvas.width=r.scaledCanvasWidth,this._canvas.height=r.scaledCanvasHeight,this._canvas.style.width=r.canvasWidth+"px",this._canvas.style.height=r.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},i.prototype._fillCells=function(r,a,t,s){this._ctx.fillRect(r*this._scaledCellWidth,a*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight)},i.prototype._fillBottomLineAtCells=function(r,a,t){t===void 0&&(t=1),this._ctx.fillRect(r*this._scaledCellWidth,(a+1)*this._scaledCellHeight-window.devicePixelRatio-1,t*this._scaledCellWidth,window.devicePixelRatio)},i.prototype._fillLeftLineAtCell=function(r,a,t){this._ctx.fillRect(r*this._scaledCellWidth,a*this._scaledCellHeight,window.devicePixelRatio*t,this._scaledCellHeight)},i.prototype._strokeRectAtCell=function(r,a,t,s){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(r*this._scaledCellWidth+window.devicePixelRatio/2,a*this._scaledCellHeight+window.devicePixelRatio/2,t*this._scaledCellWidth-window.devicePixelRatio,s*this._scaledCellHeight-window.devicePixelRatio)},i.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))},i.prototype._clearCells=function(r,a,t,s){this._alpha?this._ctx.clearRect(r*this._scaledCellWidth,a*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(r*this._scaledCellWidth,a*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight))},i.prototype._fillCharTrueColor=function(r,a,t){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(t),this._ctx.fillText(r.getChars(),a*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},i.prototype._drawChars=function(r,a,t){var s,u,d=this._getContrastColor(r);d||r.isFgRGB()||r.isBgRGB()?this._drawUncachedChars(r,a,t,d):(r.isInverse()?(s=r.isBgDefault()?g.INVERTED_DEFAULT_COLOR:r.getBgColor(),u=r.isFgDefault()?g.INVERTED_DEFAULT_COLOR:r.getFgColor()):(u=r.isBgDefault()?m.DEFAULT_COLOR:r.getBgColor(),s=r.isFgDefault()?m.DEFAULT_COLOR:r.getFgColor()),s+=this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&s<8?8:0,this._currentGlyphIdentifier.chars=r.getChars()||m.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=r.getCode()||m.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=u,this._currentGlyphIdentifier.fg=s,this._currentGlyphIdentifier.bold=!!r.isBold(),this._currentGlyphIdentifier.dim=!!r.isDim(),this._currentGlyphIdentifier.italic=!!r.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,a*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(r,a,t))},i.prototype._drawUncachedChars=function(r,a,t,s){if(this._ctx.save(),this._ctx.font=this._getFont(!!r.isBold(),!!r.isItalic()),this._ctx.textBaseline="middle",r.isInverse())if(s)this._ctx.fillStyle=s.css;else if(r.isBgDefault())this._ctx.fillStyle=l.color.opaque(this._colors.background).css;else if(r.isBgRGB())this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(r.getBgColor()).join(",")+")";else{var u=r.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&u<8&&(u+=8),this._ctx.fillStyle=this._colors.ansi[u].css}else if(s)this._ctx.fillStyle=s.css;else if(r.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(r.isFgRGB())this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(r.getFgColor()).join(",")+")";else{var d=r.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&d<8&&(d+=8),this._ctx.fillStyle=this._colors.ansi[d].css}this._clipRow(t),r.isDim()&&(this._ctx.globalAlpha=g.DIM_OPACITY),this._ctx.fillText(r.getChars(),a*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},i.prototype._clipRow=function(r){this._ctx.beginPath(),this._ctx.rect(0,r*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},i.prototype._getFont=function(r,a){return(a?"italic":"")+" "+(r?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},i.prototype._getContrastColor=function(r){if(this._optionsService.options.minimumContrastRatio!==1){var a=this._colors.contrastCache.getColor(r.bg,r.fg);if(a!==void 0)return a||void 0;var t=r.getFgColor(),s=r.getFgColorMode(),u=r.getBgColor(),d=r.getBgColorMode(),v=!!r.isInverse(),y=!!r.isInverse();if(v){var S=t;t=u,u=S;var b=s;s=d,d=b}var E=this._resolveBackgroundRgba(d,u,v),C=this._resolveForegroundRgba(s,t,v,y),T=l.rgba.ensureContrastRatio(E,C,this._optionsService.options.minimumContrastRatio);if(T){var x={css:l.channels.toCss(T>>24&255,T>>16&255,T>>8&255),rgba:T};return this._colors.contrastCache.setColor(r.bg,r.fg,x),x}this._colors.contrastCache.setColor(r.bg,r.fg,null)}},i.prototype._resolveBackgroundRgba=function(r,a,t){switch(r){case 16777216:case 33554432:return this._colors.ansi[a].rgba;case 50331648:return a<<8;case 0:default:return t?this._colors.foreground.rgba:this._colors.background.rgba}},i.prototype._resolveForegroundRgba=function(r,a,t,s){switch(r){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&s&&a<8&&(a+=8),this._colors.ansi[a].rgba;case 50331648:return a<<8;case 0:default:return t?this._colors.background.rgba:this._colors.foreground.rgba}},i}();f.BaseRenderLayer=n},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createDecorator=f.getServiceDependencies=f.serviceRegistry=void 0;function m(g,p,c){p.di$target===p?p.di$dependencies.push({id:g,index:c}):(p.di$dependencies=[{id:g,index:c}],p.di$target=p)}f.serviceRegistry=new Map,f.getServiceDependencies=function(g){return g.di$dependencies||[]},f.createDecorator=function(g){if(f.serviceRegistry.has(g))return f.serviceRegistry.get(g);var p=function c(h,l,e){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");m(c,h,e)};return p.toString=function(){return g},f.serviceRegistry.set(g,p),p}},function(w,f,A){"use strict";function m(g,p,c,h){if(c===void 0&&(c=0),h===void 0&&(h=g.length),c>=g.length)return g;c=(g.length+c)%g.length,h=h>=g.length?g.length:(g.length+h)%g.length;for(var l=c;l<h;++l)g[l]=p;return g}Object.defineProperty(f,"__esModule",{value:!0}),f.concat=f.fillFallback=f.fill=void 0,f.fill=function(g,p,c,h){return g.fill?g.fill(p,c,h):m(g,p,c,h)},f.fillFallback=m,f.concat=function(g,p){var c=new g.constructor(g.length+p.length);return c.set(g),c.set(p,g.length),c}},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferLine=f.DEFAULT_ATTR_DATA=void 0;var m=A(8),g=A(3),p=A(4),c=A(6);f.DEFAULT_ATTR_DATA=Object.freeze(new c.AttributeData);var h=function(){function l(e,n,i){i===void 0&&(i=!1),this.isWrapped=i,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*e);for(var r=n||p.CellData.fromCharData([0,g.NULL_CELL_CHAR,g.NULL_CELL_WIDTH,g.NULL_CELL_CODE]),a=0;a<e;++a)this.setCell(a,r);this.length=e}return l.prototype.get=function(e){var n=this._data[3*e+0],i=2097151&n;return[this._data[3*e+1],2097152&n?this._combined[e]:i?m.stringFromCodePoint(i):"",n>>22,2097152&n?this._combined[e].charCodeAt(this._combined[e].length-1):i]},l.prototype.set=function(e,n){this._data[3*e+1]=n[g.CHAR_DATA_ATTR_INDEX],n[g.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=n[1],this._data[3*e+0]=2097152|e|n[g.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=n[g.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|n[g.CHAR_DATA_WIDTH_INDEX]<<22},l.prototype.getWidth=function(e){return this._data[3*e+0]>>22},l.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},l.prototype.getFg=function(e){return this._data[3*e+1]},l.prototype.getBg=function(e){return this._data[3*e+2]},l.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},l.prototype.getCodePoint=function(e){var n=this._data[3*e+0];return 2097152&n?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&n},l.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},l.prototype.getString=function(e){var n=this._data[3*e+0];return 2097152&n?this._combined[e]:2097151&n?m.stringFromCodePoint(2097151&n):""},l.prototype.loadCell=function(e,n){var i=3*e;return n.content=this._data[i+0],n.fg=this._data[i+1],n.bg=this._data[i+2],2097152&n.content&&(n.combinedData=this._combined[e]),268435456&n.bg&&(n.extended=this._extendedAttrs[e]),n},l.prototype.setCell=function(e,n){2097152&n.content&&(this._combined[e]=n.combinedData),268435456&n.bg&&(this._extendedAttrs[e]=n.extended),this._data[3*e+0]=n.content,this._data[3*e+1]=n.fg,this._data[3*e+2]=n.bg},l.prototype.setCellFromCodePoint=function(e,n,i,r,a,t){268435456&a&&(this._extendedAttrs[e]=t),this._data[3*e+0]=n|i<<22,this._data[3*e+1]=r,this._data[3*e+2]=a},l.prototype.addCodepointToCell=function(e,n){var i=this._data[3*e+0];2097152&i?this._combined[e]+=m.stringFromCodePoint(n):(2097151&i?(this._combined[e]=m.stringFromCodePoint(2097151&i)+m.stringFromCodePoint(n),i&=-2097152,i|=2097152):i=n|1<<22,this._data[3*e+0]=i)},l.prototype.insertCells=function(e,n,i,r){if((e%=this.length)&&this.getWidth(e-1)===2&&this.setCellFromCodePoint(e-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new c.ExtendedAttrs),n<this.length-e){for(var a=new p.CellData,t=this.length-e-n-1;t>=0;--t)this.setCell(e+n+t,this.loadCell(e+t,a));for(t=0;t<n;++t)this.setCell(e+t,i)}else for(t=e;t<this.length;++t)this.setCell(t,i);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new c.ExtendedAttrs)},l.prototype.deleteCells=function(e,n,i,r){if(e%=this.length,n<this.length-e){for(var a=new p.CellData,t=0;t<this.length-e-n;++t)this.setCell(e+t,this.loadCell(e+n+t,a));for(t=this.length-n;t<this.length;++t)this.setCell(t,i)}else for(t=e;t<this.length;++t)this.setCell(t,i);e&&this.getWidth(e-1)===2&&this.setCellFromCodePoint(e-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new c.ExtendedAttrs),this.getWidth(e)!==0||this.hasContent(e)||this.setCellFromCodePoint(e,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new c.ExtendedAttrs)},l.prototype.replaceCells=function(e,n,i,r){for(e&&this.getWidth(e-1)===2&&this.setCellFromCodePoint(e-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new c.ExtendedAttrs),n<this.length&&this.getWidth(n-1)===2&&this.setCellFromCodePoint(n,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new c.ExtendedAttrs);e<n&&e<this.length;)this.setCell(e++,i)},l.prototype.resize=function(e,n){if(e!==this.length){if(e>this.length){var i=new Uint32Array(3*e);this.length&&(3*e<this._data.length?i.set(this._data.subarray(0,3*e)):i.set(this._data)),this._data=i;for(var r=this.length;r<e;++r)this.setCell(r,n)}else if(e){(i=new Uint32Array(3*e)).set(this._data.subarray(0,3*e)),this._data=i;var a=Object.keys(this._combined);for(r=0;r<a.length;r++){var t=parseInt(a[r],10);t>=e&&delete this._combined[t]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},l.prototype.fill=function(e){this._combined={},this._extendedAttrs={};for(var n=0;n<this.length;++n)this.setCell(n,e)},l.prototype.copyFrom=function(e){for(var n in this.length!==e.length?this._data=new Uint32Array(e._data):this._data.set(e._data),this.length=e.length,this._combined={},e._combined)this._combined[n]=e._combined[n];for(var n in this._extendedAttrs={},e._extendedAttrs)this._extendedAttrs[n]=e._extendedAttrs[n];this.isWrapped=e.isWrapped},l.prototype.clone=function(){var e=new l(0);for(var n in e._data=new Uint32Array(this._data),e.length=this.length,this._combined)e._combined[n]=this._combined[n];for(var n in this._extendedAttrs)e._extendedAttrs[n]=this._extendedAttrs[n];return e.isWrapped=this.isWrapped,e},l.prototype.getTrimmedLength=function(){for(var e=this.length-1;e>=0;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0},l.prototype.copyCellsFrom=function(e,n,i,r,a){var t=e._data;if(a)for(var s=r-1;s>=0;s--)for(var u=0;u<3;u++)this._data[3*(i+s)+u]=t[3*(n+s)+u];else for(s=0;s<r;s++)for(u=0;u<3;u++)this._data[3*(i+s)+u]=t[3*(n+s)+u];var d=Object.keys(e._combined);for(u=0;u<d.length;u++){var v=parseInt(d[u],10);v>=n&&(this._combined[v-n+i]=e._combined[v])}},l.prototype.translateToString=function(e,n,i){e===void 0&&(e=!1),n===void 0&&(n=0),i===void 0&&(i=this.length),e&&(i=Math.min(i,this.getTrimmedLength()));for(var r="";n<i;){var a=this._data[3*n+0],t=2097151&a;r+=2097152&a?this._combined[n]:t?m.stringFromCodePoint(t):g.WHITESPACE_CELL_CHAR,n+=a>>22||1}return r},l}();f.BufferLine=h},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeElementFromParent=void 0,f.removeElementFromParent=function(){for(var m,g=[],p=0;p<arguments.length;p++)g[p]=arguments[p];for(var c=0,h=g;c<h.length;c++){var l=h[c];(m=l==null?void 0:l.parentElement)===null||m===void 0||m.removeChild(l)}}},function(w,f,A){"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(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(T,x){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,I){_.__proto__=I}||function(_,I){for(var L in I)I.hasOwnProperty(L)&&(_[L]=I[L])})(T,x)},function(C,T){function x(){this.constructor=C}m(C,T),C.prototype=T===null?Object.create(T):(x.prototype=T.prototype,new x)});Object.defineProperty(f,"__esModule",{value:!0}),f.InputHandler=f.WindowsOptionsReportType=void 0;var p,c=A(12),h=A(20),l=A(39),e=A(2),n=A(15),i=A(8),r=A(16),a=A(0),t=A(3),s=A(4),u=A(6),d=A(22),v=A(24),y={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function S(C,T){if(C>24)return T.setWinLines||!1;switch(C){case 1:return!!T.restoreWin;case 2:return!!T.minimizeWin;case 3:return!!T.setWinPosition;case 4:return!!T.setWinSizePixels;case 5:return!!T.raiseWin;case 6:return!!T.lowerWin;case 7:return!!T.refreshWin;case 8:return!!T.setWinSizeChars;case 9:return!!T.maximizeWin;case 10:return!!T.fullscreenWin;case 11:return!!T.getWinState;case 13:return!!T.getWinPosition;case 14:return!!T.getWinSizePixels;case 15:return!!T.getScreenSizePixels;case 16:return!!T.getCellSizePixels;case 18:return!!T.getWinSizeChars;case 19:return!!T.getScreenSizeChars;case 20:return!!T.getIconTitle;case 21:return!!T.getWinTitle;case 22:return!!T.pushTitle;case 23:return!!T.popTitle;case 24:return!!T.setWinLines}return!1}!function(C){C[C.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",C[C.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(p=f.WindowsOptionsReportType||(f.WindowsOptionsReportType={}));var b=function(){function C(T,x,_,I){this._bufferService=T,this._coreService=x,this._logService=_,this._optionsService=I,this._data=new Uint32Array(0)}return C.prototype.hook=function(T){this._data=new Uint32Array(0)},C.prototype.put=function(T,x,_){this._data=n.concat(this._data,T.subarray(x,_))},C.prototype.unhook=function(T){if(T){var x=i.utf32ToString(this._data);switch(this._data=new Uint32Array(0),x){case'"q':return this._coreService.triggerDataEvent(c.C0.ESC+'P1$r0"q'+c.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(c.C0.ESC+'P1$r61;1"p'+c.C0.ESC+"\\");case"r":var _=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(c.C0.ESC+"P1$r"+_+c.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(c.C0.ESC+"P1$r0m"+c.C0.ESC+"\\");case" q":var I={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return I-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(c.C0.ESC+"P1$r"+I+" q"+c.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",x),this._coreService.triggerDataEvent(c.C0.ESC+"P0$r"+c.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},C}(),E=function(C){function T(x,_,I,L,R,k,F,P,W){W===void 0&&(W=new l.EscapeSequenceParser);var D=C.call(this)||this;D._bufferService=x,D._charsetService=_,D._coreService=I,D._dirtyRowService=L,D._logService=R,D._optionsService=k,D._coreMouseService=F,D._unicodeService=P,D._parser=W,D._parseBuffer=new Uint32Array(4096),D._stringDecoder=new i.StringToUtf32,D._utf8Decoder=new i.Utf8ToUtf32,D._workCell=new s.CellData,D._windowTitle="",D._iconName="",D._windowTitleStack=[],D._iconNameStack=[],D._curAttrData=r.DEFAULT_ATTR_DATA.clone(),D._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone(),D._onRequestBell=new a.EventEmitter,D._onRequestRefreshRows=new a.EventEmitter,D._onRequestReset=new a.EventEmitter,D._onRequestScroll=new a.EventEmitter,D._onRequestSyncScrollBar=new a.EventEmitter,D._onRequestWindowsOptionsReport=new a.EventEmitter,D._onA11yChar=new a.EventEmitter,D._onA11yTab=new a.EventEmitter,D._onCursorMove=new a.EventEmitter,D._onLineFeed=new a.EventEmitter,D._onScroll=new a.EventEmitter,D._onTitleChange=new a.EventEmitter,D.register(D._parser),D._parser.setCsiHandlerFallback(function(K,X){D._logService.debug("Unknown CSI code: ",{identifier:D._parser.identToString(K),params:X.toArray()})}),D._parser.setEscHandlerFallback(function(K){D._logService.debug("Unknown ESC code: ",{identifier:D._parser.identToString(K)})}),D._parser.setExecuteHandlerFallback(function(K){D._logService.debug("Unknown EXECUTE code: ",{code:K})}),D._parser.setOscHandlerFallback(function(K,X,z){D._logService.debug("Unknown OSC code: ",{identifier:K,action:X,data:z})}),D._parser.setDcsHandlerFallback(function(K,X,z){X==="HOOK"&&(z=z.toArray()),D._logService.debug("Unknown DCS code: ",{identifier:D._parser.identToString(K),action:X,payload:z})}),D._parser.setPrintHandler(function(K,X,z){return D.print(K,X,z)}),D._parser.setCsiHandler({final:"@"},function(K){return D.insertChars(K)}),D._parser.setCsiHandler({intermediates:" ",final:"@"},function(K){return D.scrollLeft(K)}),D._parser.setCsiHandler({final:"A"},function(K){return D.cursorUp(K)}),D._parser.setCsiHandler({intermediates:" ",final:"A"},function(K){return D.scrollRight(K)}),D._parser.setCsiHandler({final:"B"},function(K){return D.cursorDown(K)}),D._parser.setCsiHandler({final:"C"},function(K){return D.cursorForward(K)}),D._parser.setCsiHandler({final:"D"},function(K){return D.cursorBackward(K)}),D._parser.setCsiHandler({final:"E"},function(K){return D.cursorNextLine(K)}),D._parser.setCsiHandler({final:"F"},function(K){return D.cursorPrecedingLine(K)}),D._parser.setCsiHandler({final:"G"},function(K){return D.cursorCharAbsolute(K)}),D._parser.setCsiHandler({final:"H"},function(K){return D.cursorPosition(K)}),D._parser.setCsiHandler({final:"I"},function(K){return D.cursorForwardTab(K)}),D._parser.setCsiHandler({final:"J"},function(K){return D.eraseInDisplay(K)}),D._parser.setCsiHandler({prefix:"?",final:"J"},function(K){return D.eraseInDisplay(K)}),D._parser.setCsiHandler({final:"K"},function(K){return D.eraseInLine(K)}),D._parser.setCsiHandler({prefix:"?",final:"K"},function(K){return D.eraseInLine(K)}),D._parser.setCsiHandler({final:"L"},function(K){return D.insertLines(K)}),D._parser.setCsiHandler({final:"M"},function(K){return D.deleteLines(K)}),D._parser.setCsiHandler({final:"P"},function(K){return D.deleteChars(K)}),D._parser.setCsiHandler({final:"S"},function(K){return D.scrollUp(K)}),D._parser.setCsiHandler({final:"T"},function(K){return D.scrollDown(K)}),D._parser.setCsiHandler({final:"X"},function(K){return D.eraseChars(K)}),D._parser.setCsiHandler({final:"Z"},function(K){return D.cursorBackwardTab(K)}),D._parser.setCsiHandler({final:"`"},function(K){return D.charPosAbsolute(K)}),D._parser.setCsiHandler({final:"a"},function(K){return D.hPositionRelative(K)}),D._parser.setCsiHandler({final:"b"},function(K){return D.repeatPrecedingCharacter(K)}),D._parser.setCsiHandler({final:"c"},function(K){return D.sendDeviceAttributesPrimary(K)}),D._parser.setCsiHandler({prefix:">",final:"c"},function(K){return D.sendDeviceAttributesSecondary(K)}),D._parser.setCsiHandler({final:"d"},function(K){return D.linePosAbsolute(K)}),D._parser.setCsiHandler({final:"e"},function(K){return D.vPositionRelative(K)}),D._parser.setCsiHandler({final:"f"},function(K){return D.hVPosition(K)}),D._parser.setCsiHandler({final:"g"},function(K){return D.tabClear(K)}),D._parser.setCsiHandler({final:"h"},function(K){return D.setMode(K)}),D._parser.setCsiHandler({prefix:"?",final:"h"},function(K){return D.setModePrivate(K)}),D._parser.setCsiHandler({final:"l"},function(K){return D.resetMode(K)}),D._parser.setCsiHandler({prefix:"?",final:"l"},function(K){return D.resetModePrivate(K)}),D._parser.setCsiHandler({final:"m"},function(K){return D.charAttributes(K)}),D._parser.setCsiHandler({final:"n"},function(K){return D.deviceStatus(K)}),D._parser.setCsiHandler({prefix:"?",final:"n"},function(K){return D.deviceStatusPrivate(K)}),D._parser.setCsiHandler({intermediates:"!",final:"p"},function(K){return D.softReset(K)}),D._parser.setCsiHandler({intermediates:" ",final:"q"},function(K){return D.setCursorStyle(K)}),D._parser.setCsiHandler({final:"r"},function(K){return D.setScrollRegion(K)}),D._parser.setCsiHandler({final:"s"},function(K){return D.saveCursor(K)}),D._parser.setCsiHandler({final:"t"},function(K){return D.windowOptions(K)}),D._parser.setCsiHandler({final:"u"},function(K){return D.restoreCursor(K)}),D._parser.setCsiHandler({intermediates:"'",final:"}"},function(K){return D.insertColumns(K)}),D._parser.setCsiHandler({intermediates:"'",final:"~"},function(K){return D.deleteColumns(K)}),D._parser.setExecuteHandler(c.C0.BEL,function(){return D.bell()}),D._parser.setExecuteHandler(c.C0.LF,function(){return D.lineFeed()}),D._parser.setExecuteHandler(c.C0.VT,function(){return D.lineFeed()}),D._parser.setExecuteHandler(c.C0.FF,function(){return D.lineFeed()}),D._parser.setExecuteHandler(c.C0.CR,function(){return D.carriageReturn()}),D._parser.setExecuteHandler(c.C0.BS,function(){return D.backspace()}),D._parser.setExecuteHandler(c.C0.HT,function(){return D.tab()}),D._parser.setExecuteHandler(c.C0.SO,function(){return D.shiftOut()}),D._parser.setExecuteHandler(c.C0.SI,function(){return D.shiftIn()}),D._parser.setExecuteHandler(c.C1.IND,function(){return D.index()}),D._parser.setExecuteHandler(c.C1.NEL,function(){return D.nextLine()}),D._parser.setExecuteHandler(c.C1.HTS,function(){return D.tabSet()}),D._parser.setOscHandler(0,new d.OscHandler(function(K){D.setTitle(K),D.setIconName(K)})),D._parser.setOscHandler(1,new d.OscHandler(function(K){return D.setIconName(K)})),D._parser.setOscHandler(2,new d.OscHandler(function(K){return D.setTitle(K)})),D._parser.setEscHandler({final:"7"},function(){return D.saveCursor()}),D._parser.setEscHandler({final:"8"},function(){return D.restoreCursor()}),D._parser.setEscHandler({final:"D"},function(){return D.index()}),D._parser.setEscHandler({final:"E"},function(){return D.nextLine()}),D._parser.setEscHandler({final:"H"},function(){return D.tabSet()}),D._parser.setEscHandler({final:"M"},function(){return D.reverseIndex()}),D._parser.setEscHandler({final:"="},function(){return D.keypadApplicationMode()}),D._parser.setEscHandler({final:">"},function(){return D.keypadNumericMode()}),D._parser.setEscHandler({final:"c"},function(){return D.fullReset()}),D._parser.setEscHandler({final:"n"},function(){return D.setgLevel(2)}),D._parser.setEscHandler({final:"o"},function(){return D.setgLevel(3)}),D._parser.setEscHandler({final:"|"},function(){return D.setgLevel(3)}),D._parser.setEscHandler({final:"}"},function(){return D.setgLevel(2)}),D._parser.setEscHandler({final:"~"},function(){return D.setgLevel(1)}),D._parser.setEscHandler({intermediates:"%",final:"@"},function(){return D.selectDefaultCharset()}),D._parser.setEscHandler({intermediates:"%",final:"G"},function(){return D.selectDefaultCharset()});var U=function(X){H._parser.setEscHandler({intermediates:"(",final:X},function(){return D.selectCharset("("+X)}),H._parser.setEscHandler({intermediates:")",final:X},function(){return D.selectCharset(")"+X)}),H._parser.setEscHandler({intermediates:"*",final:X},function(){return D.selectCharset("*"+X)}),H._parser.setEscHandler({intermediates:"+",final:X},function(){return D.selectCharset("+"+X)}),H._parser.setEscHandler({intermediates:"-",final:X},function(){return D.selectCharset("-"+X)}),H._parser.setEscHandler({intermediates:".",final:X},function(){return D.selectCharset("."+X)}),H._parser.setEscHandler({intermediates:"/",final:X},function(){return D.selectCharset("/"+X)})},H=this;for(var j in h.CHARSETS)U(j);return D._parser.setEscHandler({intermediates:"#",final:"8"},function(){return D.screenAlignmentPattern()}),D._parser.setErrorHandler(function(K){return D._logService.error("Parsing error: ",K),K}),D._parser.setDcsHandler({intermediates:"$",final:"q"},new b(D._bufferService,D._coreService,D._logService,D._optionsService)),D}return g(T,C),Object.defineProperty(T.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),T.prototype.dispose=function(){C.prototype.dispose.call(this)},T.prototype.parse=function(x){var _=this._bufferService.buffer,I=_.x,L=_.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 R=0;R<x.length;R+=131072){var k=R+131072<x.length?R+131072:x.length,F=typeof x=="string"?this._stringDecoder.decode(x.substring(R,k),this._parseBuffer):this._utf8Decoder.decode(x.subarray(R,k),this._parseBuffer);this._parser.parse(this._parseBuffer,F)}else F=typeof x=="string"?this._stringDecoder.decode(x,this._parseBuffer):this._utf8Decoder.decode(x,this._parseBuffer),this._parser.parse(this._parseBuffer,F);(_=this._bufferService.buffer).x===I&&_.y===L||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},T.prototype.print=function(x,_,I){var L,R,k=this._bufferService.buffer,F=this._charsetService.charset,P=this._optionsService.options.screenReaderMode,W=this._bufferService.cols,D=this._coreService.decPrivateModes.wraparound,U=this._coreService.modes.insertMode,H=this._curAttrData,j=k.lines.get(k.ybase+k.y);this._dirtyRowService.markDirty(k.y),k.x&&I-_>0&&j.getWidth(k.x-1)===2&&j.setCellFromCodePoint(k.x-1,0,1,H.fg,H.bg,H.extended);for(var K=_;K<I;++K){if(L=x[K],R=this._unicodeService.wcwidth(L),L<127&&F){var X=F[String.fromCharCode(L)];X&&(L=X.charCodeAt(0))}if(P&&this._onA11yChar.fire(i.stringFromCodePoint(L)),R||!k.x){if(k.x+R-1>=W){if(D){for(;k.x<W;)j.setCellFromCodePoint(k.x++,0,1,H.fg,H.bg,H.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),j=k.lines.get(k.ybase+k.y)}else if(k.x=W-1,R===2)continue}if(U&&(j.insertCells(k.x,R,k.getNullCell(H),H),j.getWidth(W-1)===2&&j.setCellFromCodePoint(W-1,t.NULL_CELL_CODE,t.NULL_CELL_WIDTH,H.fg,H.bg,H.extended)),j.setCellFromCodePoint(k.x++,L,R,H.fg,H.bg,H.extended),R>0)for(;--R;)j.setCellFromCodePoint(k.x++,0,0,H.fg,H.bg,H.extended)}else j.getWidth(k.x-1)?j.addCodepointToCell(k.x-1,L):j.addCodepointToCell(k.x-2,L)}I-_>0&&(j.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<W&&I-_>0&&j.getWidth(k.x)===0&&!j.hasContent(k.x)&&j.setCellFromCodePoint(k.x,0,1,H.fg,H.bg,H.extended),this._dirtyRowService.markDirty(k.y)},T.prototype.addCsiHandler=function(x,_){var I=this;return x.final!=="t"||x.prefix||x.intermediates?this._parser.addCsiHandler(x,_):this._parser.addCsiHandler(x,function(L){return!S(L.params[0],I._optionsService.options.windowOptions)||_(L)})},T.prototype.addDcsHandler=function(x,_){return this._parser.addDcsHandler(x,new v.DcsHandler(_))},T.prototype.addEscHandler=function(x,_){return this._parser.addEscHandler(x,_)},T.prototype.addOscHandler=function(x,_){return this._parser.addOscHandler(x,new d.OscHandler(_))},T.prototype.bell=function(){this._onRequestBell.fire()},T.prototype.lineFeed=function(){var x=this._bufferService.buffer;this._dirtyRowService.markDirty(x.y),this._optionsService.options.convertEol&&(x.x=0),x.y++,x.y===x.scrollBottom+1?(x.y--,this._onRequestScroll.fire(this._eraseAttrData())):x.y>=this._bufferService.rows&&(x.y=this._bufferService.rows-1),x.x>=this._bufferService.cols&&x.x--,this._dirtyRowService.markDirty(x.y),this._onLineFeed.fire()},T.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},T.prototype.backspace=function(){var x,_=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(_.x>0&&_.x--);if(this._restrictCursor(this._bufferService.cols),_.x>0)_.x--;else if(_.x===0&&_.y>_.scrollTop&&_.y<=_.scrollBottom&&((x=_.lines.get(_.ybase+_.y))===null||x===void 0?void 0:x.isWrapped)){_.lines.get(_.ybase+_.y).isWrapped=!1,_.y--,_.x=this._bufferService.cols-1;var I=_.lines.get(_.ybase+_.y);I.hasWidth(_.x)&&!I.hasContent(_.x)&&_.x--}this._restrictCursor()},T.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var x=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-x)}},T.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},T.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},T.prototype._restrictCursor=function(x){x===void 0&&(x=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(x,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype._setCursor=function(x,_){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=x,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+_):(this._bufferService.buffer.x=x,this._bufferService.buffer.y=_),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype._moveCursor=function(x,_){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+x,this._bufferService.buffer.y+_)},T.prototype.cursorUp=function(x){var _=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;_>=0?this._moveCursor(0,-Math.min(_,x.params[0]||1)):this._moveCursor(0,-(x.params[0]||1))},T.prototype.cursorDown=function(x){var _=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;_>=0?this._moveCursor(0,Math.min(_,x.params[0]||1)):this._moveCursor(0,x.params[0]||1)},T.prototype.cursorForward=function(x){this._moveCursor(x.params[0]||1,0)},T.prototype.cursorBackward=function(x){this._moveCursor(-(x.params[0]||1),0)},T.prototype.cursorNextLine=function(x){this.cursorDown(x),this._bufferService.buffer.x=0},T.prototype.cursorPrecedingLine=function(x){this.cursorUp(x),this._bufferService.buffer.x=0},T.prototype.cursorCharAbsolute=function(x){this._setCursor((x.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.cursorPosition=function(x){this._setCursor(x.length>=2?(x.params[1]||1)-1:0,(x.params[0]||1)-1)},T.prototype.charPosAbsolute=function(x){this._setCursor((x.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.hPositionRelative=function(x){this._moveCursor(x.params[0]||1,0)},T.prototype.linePosAbsolute=function(x){this._setCursor(this._bufferService.buffer.x,(x.params[0]||1)-1)},T.prototype.vPositionRelative=function(x){this._moveCursor(0,x.params[0]||1)},T.prototype.hVPosition=function(x){this.cursorPosition(x)},T.prototype.tabClear=function(x){var _=x.params[0];_===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:_===3&&(this._bufferService.buffer.tabs={})},T.prototype.cursorForwardTab=function(x){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var _=x.params[0]||1;_--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},T.prototype.cursorBackwardTab=function(x){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var _=x.params[0]||1,I=this._bufferService.buffer;_--;)I.x=I.prevStop()},T.prototype._eraseInBufferLine=function(x,_,I,L){L===void 0&&(L=!1);var R=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+x);R.replaceCells(_,I,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),L&&(R.isWrapped=!1)},T.prototype._resetBufferLine=function(x){var _=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+x);_.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),_.isWrapped=!1},T.prototype.eraseInDisplay=function(x){var _;switch(this._restrictCursor(),x.params[0]){case 0:for(_=this._bufferService.buffer.y,this._dirtyRowService.markDirty(_),this._eraseInBufferLine(_++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);_<this._bufferService.rows;_++)this._resetBufferLine(_);this._dirtyRowService.markDirty(_);break;case 1:for(_=this._bufferService.buffer.y,this._dirtyRowService.markDirty(_),this._eraseInBufferLine(_,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(_+1).isWrapped=!1);_--;)this._resetBufferLine(_);this._dirtyRowService.markDirty(0);break;case 2:for(_=this._bufferService.rows,this._dirtyRowService.markDirty(_-1);_--;)this._resetBufferLine(_);this._dirtyRowService.markDirty(0);break;case 3:var I=this._bufferService.buffer.lines.length-this._bufferService.rows;I>0&&(this._bufferService.buffer.lines.trimStart(I),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-I,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-I,0),this._onScroll.fire(0))}},T.prototype.eraseInLine=function(x){switch(this._restrictCursor(),x.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype.insertLines=function(x){this._restrictCursor();var _=x.params[0]||1,I=this._bufferService.buffer;if(!(I.y>I.scrollBottom||I.y<I.scrollTop)){for(var L=I.ybase+I.y,R=this._bufferService.rows-1-I.scrollBottom,k=this._bufferService.rows-1+I.ybase-R+1;_--;)I.lines.splice(k-1,1),I.lines.splice(L,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},T.prototype.deleteLines=function(x){this._restrictCursor();var _=x.params[0]||1,I=this._bufferService.buffer;if(!(I.y>I.scrollBottom||I.y<I.scrollTop)){var L,R=I.ybase+I.y;for(L=this._bufferService.rows-1-I.scrollBottom,L=this._bufferService.rows-1+I.ybase-L;_--;)I.lines.splice(R,1),I.lines.splice(L,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},T.prototype.insertChars=function(x){this._restrictCursor();var _=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);_&&(_.insertCells(this._bufferService.buffer.x,x.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.deleteChars=function(x){this._restrictCursor();var _=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);_&&(_.deleteCells(this._bufferService.buffer.x,x.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.scrollUp=function(x){for(var _=x.params[0]||1,I=this._bufferService.buffer;_--;)I.lines.splice(I.ybase+I.scrollTop,1),I.lines.splice(I.ybase+I.scrollBottom,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.scrollTop,I.scrollBottom)},T.prototype.scrollDown=function(x){for(var _=x.params[0]||1,I=this._bufferService.buffer;_--;)I.lines.splice(I.ybase+I.scrollBottom,1),I.lines.splice(I.ybase+I.scrollTop,0,I.getBlankLine(r.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(I.scrollTop,I.scrollBottom)},T.prototype.scrollLeft=function(x){var _=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var I=x.params[0]||1,L=_.scrollTop;L<=_.scrollBottom;++L){var R=_.lines.get(_.ybase+L);R.deleteCells(0,I,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),R.isWrapped=!1}this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)}},T.prototype.scrollRight=function(x){var _=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var I=x.params[0]||1,L=_.scrollTop;L<=_.scrollBottom;++L){var R=_.lines.get(_.ybase+L);R.insertCells(0,I,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),R.isWrapped=!1}this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)}},T.prototype.insertColumns=function(x){var _=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var I=x.params[0]||1,L=_.scrollTop;L<=_.scrollBottom;++L){var R=this._bufferService.buffer.lines.get(_.ybase+L);R.insertCells(_.x,I,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),R.isWrapped=!1}this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)}},T.prototype.deleteColumns=function(x){var _=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var I=x.params[0]||1,L=_.scrollTop;L<=_.scrollBottom;++L){var R=_.lines.get(_.ybase+L);R.deleteCells(_.x,I,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),R.isWrapped=!1}this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)}},T.prototype.eraseChars=function(x){this._restrictCursor();var _=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);_&&(_.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(x.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.repeatPrecedingCharacter=function(x){if(this._parser.precedingCodepoint){for(var _=x.params[0]||1,I=new Uint32Array(_),L=0;L<_;++L)I[L]=this._parser.precedingCodepoint;this.print(I,0,I.length)}},T.prototype.sendDeviceAttributesPrimary=function(x){x.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(c.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(c.C0.ESC+"[?6c"))},T.prototype.sendDeviceAttributesSecondary=function(x){x.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(c.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(c.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(x.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(c.C0.ESC+"[>83;40003;0c"))},T.prototype._is=function(x){return(this._optionsService.options.termName+"").indexOf(x)===0},T.prototype.setMode=function(x){for(var _=0;_<x.length;_++)switch(x.params[_]){case 4:this._coreService.modes.insertMode=!0}},T.prototype.setModePrivate=function(x){for(var _=0;_<x.length;_++)switch(x.params[_]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,h.DEFAULT_CHARSET),this._charsetService.setgCharset(1,h.DEFAULT_CHARSET),this._charsetService.setgCharset(2,h.DEFAULT_CHARSET),this._charsetService.setgCharset(3,h.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},T.prototype.resetMode=function(x){for(var _=0;_<x.length;_++)switch(x.params[_]){case 4:this._coreService.modes.insertMode=!1}},T.prototype.resetModePrivate=function(x){for(var _=0;_<x.length;_++)switch(x.params[_]){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[_]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},T.prototype._updateAttrColor=function(x,_,I,L,R){return _===2?(x|=50331648,x&=-16777216,x|=u.AttributeData.fromColorRGB([I,L,R])):_===5&&(x&=-50331904,x|=33554432|255&I),x},T.prototype._extractColor=function(x,_,I){var L=[0,0,-1,0,0,0],R=0,k=0;do{if(L[k+R]=x.params[_+k],x.hasSubParams(_+k)){var F=x.getSubParams(_+k),P=0;do L[1]===5&&(R=1),L[k+P+1+R]=F[P];while(++P<F.length&&P+k+1+R<L.length);break}if(L[1]===5&&k+R>=2||L[1]===2&&k+R>=5)break;L[1]&&(R=1)}while(++k+_<x.length&&k+R<L.length);for(P=2;P<L.length;++P)L[P]===-1&&(L[P]=0);switch(L[0]){case 38:I.fg=this._updateAttrColor(I.fg,L[1],L[3],L[4],L[5]);break;case 48:I.bg=this._updateAttrColor(I.bg,L[1],L[3],L[4],L[5]);break;case 58:I.extended=I.extended.clone(),I.extended.underlineColor=this._updateAttrColor(I.extended.underlineColor,L[1],L[3],L[4],L[5])}return k},T.prototype._processUnderline=function(x,_){_.extended=_.extended.clone(),(!~x||x>5)&&(x=1),_.extended.underlineStyle=x,_.fg|=268435456,x===0&&(_.fg&=-268435457),_.updateExtended()},T.prototype.charAttributes=function(x){if(x.length===1&&x.params[0]===0)return this._curAttrData.fg=r.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=r.DEFAULT_ATTR_DATA.bg);for(var _,I=x.length,L=this._curAttrData,R=0;R<I;R++)(_=x.params[R])>=30&&_<=37?(L.fg&=-50331904,L.fg|=16777216|_-30):_>=40&&_<=47?(L.bg&=-50331904,L.bg|=16777216|_-40):_>=90&&_<=97?(L.fg&=-50331904,L.fg|=16777224|_-90):_>=100&&_<=107?(L.bg&=-50331904,L.bg|=16777224|_-100):_===0?(L.fg=r.DEFAULT_ATTR_DATA.fg,L.bg=r.DEFAULT_ATTR_DATA.bg):_===1?L.fg|=134217728:_===3?L.bg|=67108864:_===4?(L.fg|=268435456,this._processUnderline(x.hasSubParams(R)?x.getSubParams(R)[0]:1,L)):_===5?L.fg|=536870912:_===7?L.fg|=67108864:_===8?L.fg|=1073741824:_===2?L.bg|=134217728:_===21?this._processUnderline(2,L):_===22?(L.fg&=-134217729,L.bg&=-134217729):_===23?L.bg&=-67108865:_===24?L.fg&=-268435457:_===25?L.fg&=-536870913:_===27?L.fg&=-67108865:_===28?L.fg&=-1073741825:_===39?(L.fg&=-67108864,L.fg|=16777215&r.DEFAULT_ATTR_DATA.fg):_===49?(L.bg&=-67108864,L.bg|=16777215&r.DEFAULT_ATTR_DATA.bg):_===38||_===48||_===58?R+=this._extractColor(x,R,L):_===59?(L.extended=L.extended.clone(),L.extended.underlineColor=-1,L.updateExtended()):_===100?(L.fg&=-67108864,L.fg|=16777215&r.DEFAULT_ATTR_DATA.fg,L.bg&=-67108864,L.bg|=16777215&r.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",_)},T.prototype.deviceStatus=function(x){switch(x.params[0]){case 5:this._coreService.triggerDataEvent(c.C0.ESC+"[0n");break;case 6:var _=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"["+_+";"+I+"R")}},T.prototype.deviceStatusPrivate=function(x){switch(x.params[0]){case 6:var _=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"[?"+_+";"+I+"R")}},T.prototype.softReset=function(x){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=r.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},T.prototype.setCursorStyle=function(x){var _=x.params[0]||1;switch(_){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var I=_%2==1;this._optionsService.options.cursorBlink=I},T.prototype.setScrollRegion=function(x){var _,I=x.params[0]||1;(x.length<2||(_=x.params[1])>this._bufferService.rows||_===0)&&(_=this._bufferService.rows),_>I&&(this._bufferService.buffer.scrollTop=I-1,this._bufferService.buffer.scrollBottom=_-1,this._setCursor(0,0))},T.prototype.windowOptions=function(x){if(S(x.params[0],this._optionsService.options.windowOptions)){var _=x.length>1?x.params[1]:0;switch(x.params[0]){case 14:_!==2&&this._onRequestWindowsOptionsReport.fire(p.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(p.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(c.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:_!==0&&_!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),_!==0&&_!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:_!==0&&_!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),_!==0&&_!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},T.prototype.saveCursor=function(x){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},T.prototype.restoreCursor=function(x){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},T.prototype.setTitle=function(x){this._windowTitle=x,this._onTitleChange.fire(x)},T.prototype.setIconName=function(x){this._iconName=x},T.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},T.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},T.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},T.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,h.DEFAULT_CHARSET)},T.prototype.selectCharset=function(x){x.length===2?x[0]!=="/"&&this._charsetService.setgCharset(y[x[0]],h.CHARSETS[x[1]]||h.DEFAULT_CHARSET):this.selectDefaultCharset()},T.prototype.index=function(){this._restrictCursor();var x=this._bufferService.buffer;this._bufferService.buffer.y++,x.y===x.scrollBottom+1?(x.y--,this._onRequestScroll.fire(this._eraseAttrData())):x.y>=this._bufferService.rows&&(x.y=this._bufferService.rows-1),this._restrictCursor()},T.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},T.prototype.reverseIndex=function(){this._restrictCursor();var x=this._bufferService.buffer;if(x.y===x.scrollTop){var _=x.scrollBottom-x.scrollTop;x.lines.shiftElements(x.ybase+x.y,_,1),x.lines.set(x.ybase+x.y,x.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(x.scrollTop,x.scrollBottom)}else x.y--,this._restrictCursor()},T.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},T.prototype.reset=function(){this._curAttrData=r.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone()},T.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},T.prototype.setgLevel=function(x){this._charsetService.setgLevel(x)},T.prototype.screenAlignmentPattern=function(){var x=new s.CellData;x.content=1<<22|"E".charCodeAt(0),x.fg=this._curAttrData.fg,x.bg=this._curAttrData.bg;var _=this._bufferService.buffer;this._setCursor(0,0);for(var I=0;I<this._bufferService.rows;++I){var L=_.ybase+_.y+I,R=_.lines.get(L);R&&(R.fill(x),R.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},T}(e.Disposable);f.InputHandler=E},function(w,f,A){"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(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Params=void 0;var m=function(){function g(p,c){if(p===void 0&&(p=32),c===void 0&&(c=32),this.maxLength=p,this.maxSubParamsLength=c,c>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(p),this.length=0,this._subParams=new Int32Array(c),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(p),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return g.fromArray=function(p){var c=new g;if(!p.length)return c;for(var h=p[0]instanceof Array?1:0;h<p.length;++h){var l=p[h];if(l instanceof Array)for(var e=0;e<l.length;++e)c.addSubParam(l[e]);else c.addParam(l)}return c},g.prototype.clone=function(){var p=new g(this.maxLength,this.maxSubParamsLength);return p.params.set(this.params),p.length=this.length,p._subParams.set(this._subParams),p._subParamsLength=this._subParamsLength,p._subParamsIdx.set(this._subParamsIdx),p._rejectDigits=this._rejectDigits,p._rejectSubDigits=this._rejectSubDigits,p._digitIsSub=this._digitIsSub,p},g.prototype.toArray=function(){for(var p=[],c=0;c<this.length;++c){p.push(this.params[c]);var h=this._subParamsIdx[c]>>8,l=255&this._subParamsIdx[c];l-h>0&&p.push(Array.prototype.slice.call(this._subParams,h,l))}return p},g.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},g.prototype.addParam=function(p){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(p<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=p>2147483647?2147483647:p}},g.prototype.addSubParam=function(p){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(p<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=p>2147483647?2147483647:p,this._subParamsIdx[this.length-1]++}},g.prototype.hasSubParams=function(p){return(255&this._subParamsIdx[p])-(this._subParamsIdx[p]>>8)>0},g.prototype.getSubParams=function(p){var c=this._subParamsIdx[p]>>8,h=255&this._subParamsIdx[p];return h-c>0?this._subParams.subarray(c,h):null},g.prototype.getSubParamsAll=function(){for(var p={},c=0;c<this.length;++c){var h=this._subParamsIdx[c]>>8,l=255&this._subParamsIdx[c];l-h>0&&(p[c]=this._subParams.slice(h,l))}return p},g.prototype.addDigit=function(p){var c;if(!(this._rejectDigits||!(c=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var h=this._digitIsSub?this._subParams:this.params,l=h[c-1];h[c-1]=~l?Math.min(10*l+p,2147483647):p}},g}();f.Params=m},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OscHandler=f.OscParser=void 0;var m=A(23),g=A(8),p=function(){function h(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return h.prototype.addHandler=function(l,e){this._handlers[l]===void 0&&(this._handlers[l]=[]);var n=this._handlers[l];return n.push(e),{dispose:function(){var r=n.indexOf(e);r!==-1&&n.splice(r,1)}}},h.prototype.setHandler=function(l,e){this._handlers[l]=[e]},h.prototype.clearHandler=function(l){this._handlers[l]&&delete this._handlers[l]},h.prototype.setHandlerFallback=function(l){this._handlerFb=l},h.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},h.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},h.prototype._start=function(){var l=this._handlers[this._id];if(l)for(var e=l.length-1;e>=0;e--)l[e].start();else this._handlerFb(this._id,"START")},h.prototype._put=function(l,e,n){var i=this._handlers[this._id];if(i)for(var r=i.length-1;r>=0;r--)i[r].put(l,e,n);else this._handlerFb(this._id,"PUT",g.utf32ToString(l,e,n))},h.prototype._end=function(l){var e=this._handlers[this._id];if(e){for(var n=e.length-1;n>=0&&e[n].end(l)===!1;n--);for(n--;n>=0;n--)e[n].end(!1)}else this._handlerFb(this._id,"END",l)},h.prototype.start=function(){this.reset(),this._id=-1,this._state=1},h.prototype.put=function(l,e,n){if(this._state!==3){if(this._state===1)for(;e<n;){var i=l[e++];if(i===59){this._state=2,this._start();break}if(i<48||57<i)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+i-48}this._state===2&&n-e>0&&this._put(l,e,n)}},h.prototype.end=function(l){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(l)),this._id=-1,this._state=0)},h}();f.OscParser=p;var c=function(){function h(l){this._handler=l,this._data="",this._hitLimit=!1}return h.prototype.start=function(){this._data="",this._hitLimit=!1},h.prototype.put=function(l,e,n){this._hitLimit||(this._data+=g.utf32ToString(l,e,n),this._data.length>m.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},h.prototype.end=function(l){var e;return this._hitLimit?e=!1:l&&(e=this._handler(this._data)),this._data="",this._hitLimit=!1,e},h}();f.OscHandler=c},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PAYLOAD_LIMIT=void 0,f.PAYLOAD_LIMIT=1e7},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DcsHandler=f.DcsParser=void 0;var m=A(8),g=A(21),p=A(23),c=[],h=function(){function e(){this._handlers=Object.create(null),this._active=c,this._ident=0,this._handlerFb=function(){}}return e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.addHandler=function(n,i){this._handlers[n]===void 0&&(this._handlers[n]=[]);var r=this._handlers[n];return r.push(i),{dispose:function(){var t=r.indexOf(i);t!==-1&&r.splice(t,1)}}},e.prototype.setHandler=function(n,i){this._handlers[n]=[i]},e.prototype.clearHandler=function(n){this._handlers[n]&&delete this._handlers[n]},e.prototype.setHandlerFallback=function(n){this._handlerFb=n},e.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=c,this._ident=0},e.prototype.hook=function(n,i){if(this.reset(),this._ident=n,this._active=this._handlers[n]||c,this._active.length)for(var r=this._active.length-1;r>=0;r--)this._active[r].hook(i);else this._handlerFb(this._ident,"HOOK",i)},e.prototype.put=function(n,i,r){if(this._active.length)for(var a=this._active.length-1;a>=0;a--)this._active[a].put(n,i,r);else this._handlerFb(this._ident,"PUT",m.utf32ToString(n,i,r))},e.prototype.unhook=function(n){if(this._active.length){for(var i=this._active.length-1;i>=0&&this._active[i].unhook(n)===!1;i--);for(i--;i>=0;i--)this._active[i].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",n);this._active=c,this._ident=0},e}();f.DcsParser=h;var l=function(){function e(n){this._handler=n,this._data="",this._hitLimit=!1}return e.prototype.hook=function(n){this._params=n.clone(),this._data="",this._hitLimit=!1},e.prototype.put=function(n,i,r){this._hitLimit||(this._data+=m.utf32ToString(n,i,r),this._data.length>p.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.unhook=function(n){var i;return this._hitLimit?i=!1:n&&(i=this._handler(this._data,this._params||new g.Params)),this._params=void 0,this._data="",this._hitLimit=!1,i},e}();f.DcsHandler=l},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeTerminalFromCache=f.acquireCharAtlas=void 0;var m=A(26),g=A(43),p=[];f.acquireCharAtlas=function(c,h,l,e,n){for(var i=m.generateConfig(e,n,c,l),r=0;r<p.length;r++){var a=(t=p[r]).ownedBy.indexOf(h);if(a>=0){if(m.configEquals(t.config,i))return t.atlas;t.ownedBy.length===1?(t.atlas.dispose(),p.splice(r,1)):t.ownedBy.splice(a,1);break}}for(r=0;r<p.length;r++){var t=p[r];if(m.configEquals(t.config,i))return t.ownedBy.push(h),t.atlas}var s={atlas:new g.DynamicCharAtlas(document,i),config:i,ownedBy:[h]};return p.push(s),s.atlas},f.removeTerminalFromCache=function(c){for(var h=0;h<p.length;h++){var l=p[h].ownedBy.indexOf(c);if(l!==-1){p[h].ownedBy.length===1?(p[h].atlas.dispose(),p.splice(h,1)):p[h].ownedBy.splice(l,1);break}}}},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.is256Color=f.configEquals=f.generateConfig=void 0;var m=A(3);f.generateConfig=function(g,p,c,h){var l={foreground:h.foreground,background:h.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:h.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:g,scaledCharHeight:p,fontFamily:c.fontFamily,fontSize:c.fontSize,fontWeight:c.fontWeight,fontWeightBold:c.fontWeightBold,allowTransparency:c.allowTransparency,colors:l}},f.configEquals=function(g,p){for(var c=0;c<g.colors.ansi.length;c++)if(g.colors.ansi[c].rgba!==p.colors.ansi[c].rgba)return!1;return g.devicePixelRatio===p.devicePixelRatio&&g.fontFamily===p.fontFamily&&g.fontSize===p.fontSize&&g.fontWeight===p.fontWeight&&g.fontWeightBold===p.fontWeightBold&&g.allowTransparency===p.allowTransparency&&g.scaledCharWidth===p.scaledCharWidth&&g.scaledCharHeight===p.scaledCharHeight&&g.colors.foreground===p.colors.foreground&&g.colors.background===p.colors.background},f.is256Color=function(g){return g<m.DEFAULT_COLOR}},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorManager=f.DEFAULT_ANSI_COLORS=void 0;var m=A(10),g=A(45),p=m.css.toColor("#ffffff"),c=m.css.toColor("#000000"),h=m.css.toColor("#ffffff"),l=m.css.toColor("#000000"),e={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};f.DEFAULT_ANSI_COLORS=function(){for(var i=[m.css.toColor("#2e3436"),m.css.toColor("#cc0000"),m.css.toColor("#4e9a06"),m.css.toColor("#c4a000"),m.css.toColor("#3465a4"),m.css.toColor("#75507b"),m.css.toColor("#06989a"),m.css.toColor("#d3d7cf"),m.css.toColor("#555753"),m.css.toColor("#ef2929"),m.css.toColor("#8ae234"),m.css.toColor("#fce94f"),m.css.toColor("#729fcf"),m.css.toColor("#ad7fa8"),m.css.toColor("#34e2e2"),m.css.toColor("#eeeeec")],r=[0,95,135,175,215,255],a=0;a<216;a++){var t=r[a/36%6|0],s=r[a/6%6|0],u=r[a%6];i.push({css:m.channels.toCss(t,s,u),rgba:m.channels.toRgba(t,s,u)})}for(a=0;a<24;a++){var d=8+10*a;i.push({css:m.channels.toCss(d,d,d),rgba:m.channels.toRgba(d,d,d)})}return i}();var n=function(){function i(r,a){this.allowTransparency=a;var t=r.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 g.ColorContrastCache,this.colors={foreground:p,background:c,cursor:h,cursorAccent:l,selectionTransparent:e,selectionOpaque:m.color.blend(c,e),ansi:f.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return i.prototype.onOptionsChange=function(r){r==="minimumContrastRatio"&&this._contrastCache.clear()},i.prototype.setTheme=function(r){(r===void 0&&(r={}),this.colors.foreground=this._parseColor(r.foreground,p),this.colors.background=this._parseColor(r.background,c),this.colors.cursor=this._parseColor(r.cursor,h,!0),this.colors.cursorAccent=this._parseColor(r.cursorAccent,l,!0),this.colors.selectionTransparent=this._parseColor(r.selection,e,!0),this.colors.selectionOpaque=m.color.blend(this.colors.background,this.colors.selectionTransparent),m.color.isOpaque(this.colors.selectionTransparent))&&(this.colors.selectionTransparent=m.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(r.black,f.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(r.red,f.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(r.green,f.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(r.yellow,f.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(r.blue,f.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(r.magenta,f.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(r.cyan,f.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(r.white,f.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(r.brightBlack,f.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(r.brightRed,f.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(r.brightGreen,f.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(r.brightYellow,f.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(r.brightBlue,f.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(r.brightMagenta,f.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(r.brightCyan,f.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(r.brightWhite,f.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},i.prototype._parseColor=function(r,a,t){if(t===void 0&&(t=this.allowTransparency),r===void 0)return a;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=r,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+r+" is invalid using fallback "+a.css),a;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: "+r+" is using transparency, but allowTransparency is false. Using fallback "+a.css+"."),a;var u=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(E){return Number(E)}),d=u[0],v=u[1],y=u[2],S=u[3],b=Math.round(255*S);return{rgba:m.channels.toRgba(d,v,y,b),css:r}}return{css:this._ctx.fillStyle,rgba:m.channels.toRgba(s[0],s[1],s[2],s[3])}},i}();f.ColorManager=n},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.throwIfFalsy=void 0,f.throwIfFalsy=function(m){if(!m)throw new Error("value must not be falsy");return m}},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(i,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,t){a.__proto__=t}||function(a,t){for(var s in t)t.hasOwnProperty(s)&&(a[s]=t[s])})(i,r)},function(n,i){function r(){this.constructor=n}m(n,i),n.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)});Object.defineProperty(f,"__esModule",{value:!0}),f.CharacterJoinerRegistry=f.JoinedCellData=void 0;var p=A(6),c=A(3),h=A(4),l=function(n){function i(r,a,t){var s=n.call(this)||this;return s.content=0,s.combinedData="",s.fg=r.fg,s.bg=r.bg,s.combinedData=a,s._width=t,s}return g(i,n),i.prototype.isCombined=function(){return 2097152},i.prototype.getWidth=function(){return this._width},i.prototype.getChars=function(){return this.combinedData},i.prototype.getCode=function(){return 2097151},i.prototype.setFromCharData=function(r){throw new Error("not implemented")},i.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},i}(p.AttributeData);f.JoinedCellData=l;var e=function(){function n(i){this._bufferService=i,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new h.CellData}return n.prototype.registerCharacterJoiner=function(i){var r={id:this._nextCharacterJoinerId++,handler:i};return this._characterJoiners.push(r),r.id},n.prototype.deregisterCharacterJoiner=function(i){for(var r=0;r<this._characterJoiners.length;r++)if(this._characterJoiners[r].id===i)return this._characterJoiners.splice(r,1),!0;return!1},n.prototype.getJoinedCharacters=function(i){if(this._characterJoiners.length===0)return[];var r=this._bufferService.buffer.lines.get(i);if(!r||r.length===0)return[];for(var a=[],t=r.translateToString(!0),s=0,u=0,d=0,v=r.getFg(0),y=r.getBg(0),S=0;S<r.getTrimmedLength();S++)if(r.loadCell(S,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==v||this._workCell.bg!==y){if(S-s>1)for(var b=this._getJoinedRanges(t,d,u,r,s),E=0;E<b.length;E++)a.push(b[E]);s=S,d=u,v=this._workCell.fg,y=this._workCell.bg}u+=this._workCell.getChars().length||c.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-s>1)for(b=this._getJoinedRanges(t,d,u,r,s),E=0;E<b.length;E++)a.push(b[E]);return a},n.prototype._getJoinedRanges=function(i,r,a,t,s){for(var u=i.substring(r,a),d=this._characterJoiners[0].handler(u),v=1;v<this._characterJoiners.length;v++)for(var y=this._characterJoiners[v].handler(u),S=0;S<y.length;S++)n._mergeRanges(d,y[S]);return this._stringRangesToCellRanges(d,t,s),d},n.prototype._stringRangesToCellRanges=function(i,r,a){var t=0,s=!1,u=0,d=i[t];if(d){for(var v=a;v<this._bufferService.cols;v++){var y=r.getWidth(v),S=r.getString(v).length||c.WHITESPACE_CELL_CHAR.length;if(y!==0){if(!s&&d[0]<=u&&(d[0]=v,s=!0),d[1]<=u){if(d[1]=v,!(d=i[++t]))break;d[0]<=u?(d[0]=v,s=!0):s=!1}u+=S}}d&&(d[1]=this._bufferService.cols)}},n._mergeRanges=function(i,r){for(var a=!1,t=0;t<i.length;t++){var s=i[t];if(a){if(r[1]<=s[0])return i[t-1][1]=r[1],i;if(r[1]<=s[1])return i[t-1][1]=Math.max(r[1],s[1]),i.splice(t,1),i;i.splice(t,1),t--}else{if(r[1]<=s[0])return i.splice(t,0,r),i;if(r[1]<=s[1])return s[0]=Math.min(r[0],s[0]),i;r[0]<s[1]&&(s[0]=Math.min(r[0],s[0]),a=!0)}}return a?i[i.length-1][1]=r[1]:i.push(r),i},n}();f.CharacterJoinerRegistry=e},function(w,f,A){"use strict";function m(g,p){var c=p.getBoundingClientRect();return[g.clientX-c.left,g.clientY-c.top]}Object.defineProperty(f,"__esModule",{value:!0}),f.getRawByteCoords=f.getCoords=f.getCoordsRelativeToElement=void 0,f.getCoordsRelativeToElement=m,f.getCoords=function(g,p,c,h,l,e,n,i){if(l){var r=m(g,p);if(r)return r[0]=Math.ceil((r[0]+(i?e/2:0))/e),r[1]=Math.ceil(r[1]/n),r[0]=Math.min(Math.max(r[0],1),c+(i?1:0)),r[1]=Math.min(Math.max(r[1],1),h),r}},f.getRawByteCoords=function(g){if(g)return{x:g[0]+32,y:g[1]+32}}},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.RenderDebouncer=void 0;var m=function(){function g(p){this._renderCallback=p}return g.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},g.prototype.refresh=function(p,c,h){var l=this;this._rowCount=h,p=p!==void 0?p:0,c=c!==void 0?c:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,p):p,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,c):c,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return l._innerRefresh()}))},g.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var p=Math.max(this._rowStart,0),c=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(p,c)}},g}();f.RenderDebouncer=m},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(h,l){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])})(h,l)},function(c,h){function l(){this.constructor=c}m(c,h),c.prototype=h===null?Object.create(h):(l.prototype=h.prototype,new l)});Object.defineProperty(f,"__esModule",{value:!0}),f.ScreenDprMonitor=void 0;var p=function(c){function h(){var l=c!==null&&c.apply(this,arguments)||this;return l._currentDevicePixelRatio=window.devicePixelRatio,l}return g(h,c),h.prototype.setListener=function(l){var e=this;this._listener&&this.clearListener(),this._listener=l,this._outerListener=function(){e._listener&&(e._listener(window.devicePixelRatio,e._currentDevicePixelRatio),e._updateDpr())},this._updateDpr()},h.prototype.dispose=function(){c.prototype.dispose.call(this),this.clearListener()},h.prototype._updateDpr=function(){var l;this._outerListener&&((l=this._resolutionMediaMatchList)===null||l===void 0||l.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},h.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)},h}(A(2).Disposable);f.ScreenDprMonitor=p},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.clone=void 0,f.clone=function m(g,p){if(p===void 0&&(p=5),typeof g!="object")return g;var c=Array.isArray(g)?[]:{};for(var h in g)c[h]=p<=1?g[h]:g[h]?m(g[h],p-1):g[h];return c}},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var m=A(4),g=A(35),p=A(18),c=A(0),h=A(83),l=function(){function t(s){this._core=new g.Terminal(s),this._addonManager=new h.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 r(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unicode",{get:function(){return this._checkProposedApi(),new a(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 n(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,u){this._verifyIntegers(s,u),this._core.resize(s,u)},t.prototype.open=function(s){this._core.open(s)},t.prototype.attachCustomKeyEventHandler=function(s){this._core.attachCustomKeyEventHandler(s)},t.prototype.registerLinkMatcher=function(s,u,d){return this._checkProposedApi(),this._core.registerLinkMatcher(s,u,d)},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,u,d){this._verifyIntegers(s,u,d),this._core.select(s,u,d)},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,u){this._verifyIntegers(s,u),this._core.selectLines(s,u)},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,u){this._core.write(s,u)},t.prototype.writeUtf8=function(s,u){this._core.write(s,u)},t.prototype.writeln=function(s,u){this._core.write(s),this._core.write(`\r
|
|
|
`,u)},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,u){this._core.optionsService.setOption(s,u)},t.prototype.refresh=function(s,u){this._verifyIntegers(s,u),this._core.refresh(s,u)},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 p},enumerable:!1,configurable:!0}),t.prototype._verifyIntegers=function(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];for(var d=0,v=s;d<v.length;d++){var y=v[d];if(y===1/0||isNaN(y)||y%1!=0)throw new Error("This API only accepts integers")}},t}();f.Terminal=l;var e=function(){function t(s,u){this._buffer=s,this.type=u}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 u=this._buffer.lines.get(s);if(u)return new i(u)},t.prototype.getNullCell=function(){return new m.CellData},t}(),n=function(){function t(s){var u=this;this._buffers=s,this._onBufferChange=new c.EventEmitter,this._normal=new e(this._buffers.normal,"normal"),this._alternate=new e(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return u._onBufferChange.fire(u.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}(),i=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,u){if(!(s<0||s>=this._line.length))return u?(this._line.loadCell(s,u),u):this._line.loadCell(s,new m.CellData)},t.prototype.translateToString=function(s,u,d){return this._line.translateToString(s,u,d)},t}(),r=function(){function t(s){this._core=s}return t.prototype.registerCsiHandler=function(s,u){return this._core.addCsiHandler(s,function(d){return u(d.toArray())})},t.prototype.addCsiHandler=function(s,u){return this.registerCsiHandler(s,u)},t.prototype.registerDcsHandler=function(s,u){return this._core.addDcsHandler(s,function(d,v){return u(d,v.toArray())})},t.prototype.addDcsHandler=function(s,u){return this.registerDcsHandler(s,u)},t.prototype.registerEscHandler=function(s,u){return this._core.addEscHandler(s,u)},t.prototype.addEscHandler=function(s,u){return this.registerEscHandler(s,u)},t.prototype.registerOscHandler=function(s,u){return this._core.addOscHandler(s,u)},t.prototype.addOscHandler=function(s,u){return this.registerOscHandler(s,u)},t}(),a=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(u){this._core.unicodeService.activeVersion=u},enumerable:!1,configurable:!0}),t}()},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(D,U){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,j){H.__proto__=j}||function(H,j){for(var K in j)j.hasOwnProperty(K)&&(H[K]=j[K])})(D,U)},function(W,D){function U(){this.constructor=W}m(W,D),W.prototype=D===null?Object.create(D):(U.prototype=D.prototype,new U)});Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var p=A(36),c=A(37),h=A(38),l=A(12),e=A(19),n=A(40),i=A(50),r=A(51),a=A(11),t=A(7),s=A(18),u=A(54),d=A(55),v=A(56),y=A(57),S=A(59),b=A(0),E=A(16),C=A(27),T=A(60),x=A(5),_=A(61),I=A(62),L=A(63),R=A(64),k=A(65),F=typeof window!="undefined"?window.document:null,P=function(W){function D(U){U===void 0&&(U={});var H=W.call(this,U)||this;return H.browser=a,H._keyDownHandled=!1,H._onCursorMove=new b.EventEmitter,H._onKey=new b.EventEmitter,H._onRender=new b.EventEmitter,H._onSelectionChange=new b.EventEmitter,H._onTitleChange=new b.EventEmitter,H._onFocus=new b.EventEmitter,H._onBlur=new b.EventEmitter,H._onA11yCharEmitter=new b.EventEmitter,H._onA11yTabEmitter=new b.EventEmitter,H._setup(),H.linkifier=H._instantiationService.createInstance(i.Linkifier),H.linkifier2=H.register(H._instantiationService.createInstance(L.Linkifier2)),H.register(H._inputHandler.onRequestBell(function(){return H.bell()})),H.register(H._inputHandler.onRequestRefreshRows(function(j,K){return H.refresh(j,K)})),H.register(H._inputHandler.onRequestReset(function(){return H.reset()})),H.register(H._inputHandler.onRequestScroll(function(j,K){return H.scroll(j,K||void 0)})),H.register(H._inputHandler.onRequestWindowsOptionsReport(function(j){return H._reportWindowsOptions(j)})),H.register(b.forwardEvent(H._inputHandler.onCursorMove,H._onCursorMove)),H.register(b.forwardEvent(H._inputHandler.onTitleChange,H._onTitleChange)),H.register(b.forwardEvent(H._inputHandler.onA11yChar,H._onA11yCharEmitter)),H.register(b.forwardEvent(H._inputHandler.onA11yTab,H._onA11yTabEmitter)),H.register(H._bufferService.onResize(function(j){return H._afterResize(j.cols,j.rows)})),H}return g(D,W),Object.defineProperty(D.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),D.prototype.dispose=function(){var U,H,j;this._isDisposed||(W.prototype.dispose.call(this),(U=this._renderService)===null||U===void 0||U.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(j=(H=this.element)===null||H===void 0?void 0:H.parentNode)===null||j===void 0||j.removeChild(this.element))},D.prototype._setup=function(){W.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(D.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),D.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},D.prototype._updateOptions=function(U){var H,j,K,X;switch(W.prototype._updateOptions.call(this,U),U){case"fontFamily":case"fontSize":(H=this._renderService)===null||H===void 0||H.clear(),(j=this._charSizeService)===null||j===void 0||j.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":(K=this.viewport)===null||K===void 0||K.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new v.AccessibilityManager(this,this._renderService)):((X=this._accessibilityManager)===null||X===void 0||X.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},D.prototype._onTextAreaFocus=function(U){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(l.C0.ESC+"[I"),this.updateCursorStyle(U),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},D.prototype.blur=function(){var U;return(U=this.textarea)===null||U===void 0?void 0:U.blur()},D.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(l.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},D.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var U=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),H=this._bufferService.buffer.y*U,j=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=j+"px",this.textarea.style.top=H+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=U+"px",this.textarea.style.lineHeight=U+"px",this.textarea.style.zIndex="-5"}},D.prototype._initGlobal=function(){var U=this;this._bindKeys(),this.register(t.addDisposableDomListener(this.element,"copy",function(j){U.hasSelection()&&h.copyHandler(j,U._selectionService)}));var H=function(K){return h.handlePasteEvent(K,U.textarea,U._coreService)};this.register(t.addDisposableDomListener(this.textarea,"paste",H)),this.register(t.addDisposableDomListener(this.element,"paste",H)),a.isFirefox?this.register(t.addDisposableDomListener(this.element,"mousedown",function(j){j.button===2&&h.rightClickHandler(j,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})):this.register(t.addDisposableDomListener(this.element,"contextmenu",function(j){h.rightClickHandler(j,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})),a.isLinux&&this.register(t.addDisposableDomListener(this.element,"auxclick",function(j){j.button===1&&h.moveTextAreaUnderMouseCursor(j,U.textarea,U.screenElement)}))},D.prototype._bindKeys=function(){var U=this;this.register(t.addDisposableDomListener(this.textarea,"keyup",function(H){return U._keyUp(H)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keydown",function(H){return U._keyDown(H)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keypress",function(H){return U._keyPress(H)},!0)),this.register(t.addDisposableDomListener(this.textarea,"compositionstart",function(){return U._compositionHelper.compositionstart()})),this.register(t.addDisposableDomListener(this.textarea,"compositionupdate",function(H){return U._compositionHelper.compositionupdate(H)})),this.register(t.addDisposableDomListener(this.textarea,"compositionend",function(){return U._compositionHelper.compositionend()})),this.register(this.onRender(function(){return U._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(H){return U._queueLinkification(H.start,H.end)}))},D.prototype.open=function(U){var H=this;if(!U)throw new Error("Terminal requires a parent element.");F.body.contains(U)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=U.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),U.appendChild(this.element);var j=F.createDocumentFragment();this._viewportElement=F.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),j.appendChild(this._viewportElement),this._viewportScrollArea=F.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=F.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=F.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),j.appendChild(this.screenElement),this.textarea=F.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 H._onTextAreaFocus(z)})),this.register(t.addDisposableDomListener(this.textarea,"blur",function(){return H._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var K=this._instantiationService.createInstance(R.CoreBrowserService,this.textarea);this._instantiationService.setService(x.ICoreBrowserService,K),this._charSizeService=this._instantiationService.createInstance(_.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(x.ICharSizeService,this._charSizeService),this._compositionView=F.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(p.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(j),this._theme=this.options.theme||this._theme,this._colorManager=new C.ColorManager(F,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(z){return H._colorManager.onOptionsChange(z)})),this._colorManager.setTheme(this._theme);var X=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(T.RenderService,X,this.rows,this.screenElement)),this._instantiationService.setService(x.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(z){return H._onRender.fire(z)})),this.onResize(function(z){return H._renderService.resize(z.cols,z.rows)}),this._soundService=this._instantiationService.createInstance(u.SoundService),this._instantiationService.setService(x.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(I.MouseService),this._instantiationService.setService(x.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(c.Viewport,function(z,Y){return H.scrollLines(z,Y)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return H.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){H._renderService.onCursorMove(),H._syncTextArea()})),this.register(this.onResize(function(){return H._renderService.onResize(H.cols,H.rows)})),this.register(this.onBlur(function(){return H._renderService.onBlur()})),this.register(this.onFocus(function(){return H._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return H.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(r.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(x.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(z){return H.scrollLines(z.amount,z.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return H._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(z){return H._renderService.onSelectionChanged(z.start,z.end,z.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(z){H.textarea.value=z,H.textarea.focus(),H.textarea.select()})),this.register(this.onScroll(function(){H.viewport.syncScrollArea(),H._selectionService.refresh()})),this.register(t.addDisposableDomListener(this._viewportElement,"scroll",function(){return H._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(d.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return H._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 H._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 v.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},D.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(n.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(y.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},D.prototype._setTheme=function(U){var H,j,K;this._theme=U,(H=this._colorManager)===null||H===void 0||H.setTheme(U),(j=this._renderService)===null||j===void 0||j.setColors(this._colorManager.colors),(K=this.viewport)===null||K===void 0||K.onThemeChange(this._colorManager.colors)},D.prototype.bindMouse=function(){var U=this,H=this,j=this.element;function K(J){var ge,de,Ie=H._mouseService.getRawByteCoords(J,H.screenElement,H.cols,H.rows);if(!Ie)return!1;switch(J.overrideType||J.type){case"mousemove":de=32,J.buttons===void 0?(ge=3,J.button!==void 0&&(ge=J.button<3?J.button:3)):ge=1&J.buttons?0:4&J.buttons?1:2&J.buttons?2:3;break;case"mouseup":de=0,ge=J.button<3?J.button:3;break;case"mousedown":de=1,ge=J.button<3?J.button:3;break;case"wheel":J.deltaY!==0&&(de=J.deltaY<0?0:1),ge=4;break;default:return!1}return!(de===void 0||ge===void 0||ge>4)&&H._coreMouseService.triggerMouseEvent({col:Ie.x-33,row:Ie.y-33,button:ge,action:de,ctrl:J.ctrlKey,alt:J.altKey,shift:J.shiftKey})}var X={mouseup:null,wheel:null,mousedrag:null,mousemove:null},z=function(ge){return K(ge),ge.buttons||(U._document.removeEventListener("mouseup",X.mouseup),X.mousedrag&&U._document.removeEventListener("mousemove",X.mousedrag)),U.cancel(ge)},Y=function(ge){return K(ge),ge.preventDefault(),U.cancel(ge)},$=function(ge){ge.buttons&&K(ge)},ne=function(ge){ge.buttons||K(ge)};this.register(this._coreMouseService.onProtocolChange(function(J){J?(U.optionsService.options.logLevel==="debug"&&U._logService.debug("Binding to mouse events:",U._coreMouseService.explainEvents(J)),U.element.classList.add("enable-mouse-events"),U._selectionService.disable()):(U._logService.debug("Unbinding from mouse events."),U.element.classList.remove("enable-mouse-events"),U._selectionService.enable()),8&J?X.mousemove||(j.addEventListener("mousemove",ne),X.mousemove=ne):(j.removeEventListener("mousemove",X.mousemove),X.mousemove=null),16&J?X.wheel||(j.addEventListener("wheel",Y,{passive:!1}),X.wheel=Y):(j.removeEventListener("wheel",X.wheel),X.wheel=null),2&J?X.mouseup||(X.mouseup=z):(U._document.removeEventListener("mouseup",X.mouseup),X.mouseup=null),4&J?X.mousedrag||(X.mousedrag=$):(U._document.removeEventListener("mousemove",X.mousedrag),X.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(t.addDisposableDomListener(j,"mousedown",function(J){if(J.preventDefault(),U.focus(),U._coreMouseService.areMouseEventsActive&&!U._selectionService.shouldForceSelection(J))return K(J),X.mouseup&&U._document.addEventListener("mouseup",X.mouseup),X.mousedrag&&U._document.addEventListener("mousemove",X.mousedrag),U.cancel(J)})),this.register(t.addDisposableDomListener(j,"wheel",function(J){if(!X.wheel){if(!U.buffer.hasScrollback){var ge=U.viewport.getLinesScrolled(J);if(ge===0)return;for(var de=l.C0.ESC+(U._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(J.deltaY<0?"A":"B"),Ie="",be=0;be<Math.abs(ge);be++)Ie+=de;U._coreService.triggerDataEvent(Ie,!0)}}},{passive:!0})),this.register(t.addDisposableDomListener(j,"wheel",function(J){if(!X.wheel)return U.viewport.onWheel(J)?void 0:U.cancel(J)},{passive:!1})),this.register(t.addDisposableDomListener(j,"touchstart",function(J){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchStart(J),U.cancel(J)},{passive:!0})),this.register(t.addDisposableDomListener(j,"touchmove",function(J){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchMove(J)?void 0:U.cancel(J)},{passive:!1}))},D.prototype.refresh=function(U,H){var j;(j=this._renderService)===null||j===void 0||j.refreshRows(U,H)},D.prototype._queueLinkification=function(U,H){var j;(j=this.linkifier)===null||j===void 0||j.linkifyRows(U,H)},D.prototype.updateCursorStyle=function(U){this._selectionService&&this._selectionService.shouldColumnSelect(U)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},D.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},D.prototype.scrollLines=function(U,H){W.prototype.scrollLines.call(this,U,H),this.refresh(0,this.rows-1)},D.prototype.paste=function(U){h.paste(U,this.textarea,this._coreService)},D.prototype.attachCustomKeyEventHandler=function(U){this._customKeyEventHandler=U},D.prototype.registerLinkMatcher=function(U,H,j){var K=this.linkifier.registerLinkMatcher(U,H,j);return this.refresh(0,this.rows-1),K},D.prototype.deregisterLinkMatcher=function(U){this.linkifier.deregisterLinkMatcher(U)&&this.refresh(0,this.rows-1)},D.prototype.registerLinkProvider=function(U){return this.linkifier2.registerLinkProvider(U)},D.prototype.registerCharacterJoiner=function(U){var H=this._renderService.registerCharacterJoiner(U);return this.refresh(0,this.rows-1),H},D.prototype.deregisterCharacterJoiner=function(U){this._renderService.deregisterCharacterJoiner(U)&&this.refresh(0,this.rows-1)},Object.defineProperty(D.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),D.prototype.addMarker=function(U){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+U)},D.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},D.prototype.select=function(U,H,j){this._selectionService.setSelection(U,H,j)},D.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},D.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},D.prototype.clearSelection=function(){var U;(U=this._selectionService)===null||U===void 0||U.clearSelection()},D.prototype.selectAll=function(){var U;(U=this._selectionService)===null||U===void 0||U.selectAll()},D.prototype.selectLines=function(U,H){var j;(j=this._selectionService)===null||j===void 0||j.selectLines(U,H)},D.prototype._keyDown=function(U){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(!this._compositionHelper.keydown(U))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var H=S.evaluateKeyboardEvent(U,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(U),H.type===3||H.type===2){var j=this.rows-1;return this.scrollLines(H.type===2?-j:j),this.cancel(U,!0)}return H.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,U)||(H.cancel&&this.cancel(U,!0),!H.key||(H.key!==l.C0.ETX&&H.key!==l.C0.CR||(this.textarea.value=""),this._onKey.fire({key:H.key,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(H.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(U,!0)))},D.prototype._isThirdLevelShift=function(U,H){var j=U.isMac&&!this.options.macOptionIsMeta&&H.altKey&&!H.ctrlKey&&!H.metaKey||U.isWindows&&H.altKey&&H.ctrlKey&&!H.metaKey;return H.type==="keypress"?j:j&&(!H.keyCode||H.keyCode>47)},D.prototype._keyUp=function(U){this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1||(function(H){return H.keyCode===16||H.keyCode===17||H.keyCode===18}(U)||this.focus(),this.updateCursorStyle(U))},D.prototype._keyPress=function(U){var H;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(this.cancel(U),U.charCode)H=U.charCode;else if(U.which===null||U.which===void 0)H=U.keyCode;else{if(U.which===0||U.charCode===0)return!1;H=U.which}return!(!H||(U.altKey||U.ctrlKey||U.metaKey)&&!this._isThirdLevelShift(this.browser,U))&&(H=String.fromCharCode(H),this._onKey.fire({key:H,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(H,!0),!0)},D.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},D.prototype.resize=function(U,H){U!==this.cols||H!==this.rows?W.prototype.resize.call(this,U,H):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},D.prototype._afterResize=function(U,H){var j,K;(j=this._charSizeService)===null||j===void 0||j.measure(),(K=this.viewport)===null||K===void 0||K.syncScrollArea(!0)},D.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var U=1;U<this.rows;U++)this.buffer.lines.push(this.buffer.getBlankLine(E.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},D.prototype.reset=function(){var U,H;this.options.rows=this.rows,this.options.cols=this.cols;var j=this._customKeyEventHandler;this._setup(),W.prototype.reset.call(this),(U=this._selectionService)===null||U===void 0||U.reset(),this._customKeyEventHandler=j,this.refresh(0,this.rows-1),(H=this.viewport)===null||H===void 0||H.syncScrollArea()},D.prototype._reportWindowsOptions=function(U){if(this._renderService)switch(U){case e.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var H=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),j=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(l.C0.ESC+"[4;"+j+";"+H+"t");break;case e.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var K=this._renderService.dimensions.scaledCellWidth.toFixed(0),X=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(l.C0.ESC+"[6;"+X+";"+K+"t")}},D.prototype.cancel=function(U,H){if(this.options.cancelEvents||H)return U.preventDefault(),U.stopPropagation(),!1},D.prototype._visualBell=function(){return!1},D.prototype._soundBell=function(){return this.options.bellStyle==="sound"},D}(k.CoreTerminal);f.Terminal=P},function(w,f,A){"use strict";var m=this&&this.__decorate||function(l,e,n,i){var r,a=arguments.length,t=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(l,e,n,i);else for(var s=l.length-1;s>=0;s--)(r=l[s])&&(t=(a<3?r(t):a>3?r(e,n,t):r(e,n))||t);return a>3&&t&&Object.defineProperty(e,n,t),t},g=this&&this.__param||function(l,e){return function(n,i){e(n,i,l)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CompositionHelper=void 0;var p=A(5),c=A(1),h=function(){function l(e,n,i,r,a,t){this._textarea=e,this._compositionView=n,this._bufferService=i,this._optionsService=r,this._charSizeService=a,this._coreService=t,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(l.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),l.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},l.prototype.compositionupdate=function(e){var n=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout(function(){n._compositionPosition.end=n._textarea.value.length},0)},l.prototype.compositionend=function(){this._finalizeComposition(!0)},l.prototype.keydown=function(e){if(this._isComposing||this._isSendingComposition){if(e.keyCode===229)return!1;if(e.keyCode===16||e.keyCode===17||e.keyCode===18)return!1;this._finalizeComposition(!1)}return e.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},l.prototype._finalizeComposition=function(e){var n=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,e){var i={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(n._isSendingComposition){n._isSendingComposition=!1;var a=void 0;a=n._isComposing?n._textarea.value.substring(i.start,i.end):n._textarea.value.substring(i.start),n._coreService.triggerDataEvent(a,!0)}},0)}else{this._isSendingComposition=!1;var r=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(r,!0)}},l.prototype._handleAnyTextareaChanges=function(){var e=this,n=this._textarea.value;setTimeout(function(){if(!e._isComposing){var i=e._textarea.value.replace(n,"");i.length>0&&e._coreService.triggerDataEvent(i,!0)}},0)},l.prototype.updateCompositionElements=function(e){var n=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var i=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),r=this._bufferService.buffer.y*i,a=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=a+"px",this._compositionView.style.top=r+"px",this._compositionView.style.height=i+"px",this._compositionView.style.lineHeight=i+"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=a+"px",this._textarea.style.top=r+"px",this._textarea.style.width=t.width+"px",this._textarea.style.height=t.height+"px",this._textarea.style.lineHeight=t.height+"px"}e||setTimeout(function(){return n.updateCompositionElements(!0)},0)}},l=m([g(2,c.IBufferService),g(3,c.IOptionsService),g(4,p.ICharSizeService),g(5,c.ICoreService)],l)}();f.CompositionHelper=h},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(a,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var d in u)u.hasOwnProperty(d)&&(s[d]=u[d])})(a,t)},function(r,a){function t(){this.constructor=r}m(r,a),r.prototype=a===null?Object.create(a):(t.prototype=a.prototype,new t)}),p=this&&this.__decorate||function(r,a,t,s){var u,d=arguments.length,v=d<3?a:s===null?s=Object.getOwnPropertyDescriptor(a,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(r,a,t,s);else for(var y=r.length-1;y>=0;y--)(u=r[y])&&(v=(d<3?u(v):d>3?u(a,t,v):u(a,t))||v);return d>3&&v&&Object.defineProperty(a,t,v),v},c=this&&this.__param||function(r,a){return function(t,s){a(t,s,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Viewport=void 0;var h=A(2),l=A(7),e=A(5),n=A(1),i=function(r){function a(t,s,u,d,v,y,S){var b=r.call(this)||this;return b._scrollLines=t,b._viewportElement=s,b._scrollArea=u,b._bufferService=d,b._optionsService=v,b._charSizeService=y,b._renderService=S,b.scrollBarWidth=0,b._currentRowHeight=0,b._lastRecordedBufferLength=0,b._lastRecordedViewportHeight=0,b._lastRecordedBufferHeight=0,b._lastTouchY=0,b._lastScrollTop=0,b._wheelPartialScroll=0,b._refreshAnimationFrame=null,b._ignoreNextScrollEvent=!1,b.scrollBarWidth=b._viewportElement.offsetWidth-b._scrollArea.offsetWidth||15,b.register(l.addDisposableDomListener(b._viewportElement,"scroll",b._onScroll.bind(b))),setTimeout(function(){return b.syncScrollArea()},0),b}return g(a,r),a.prototype.onThemeChange=function(t){this._viewportElement.style.backgroundColor=t.background.css},a.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()}))},a.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},a.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)},a.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)}},a.prototype._bubbleScroll=function(t,s){var u=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(s<0&&this._viewportElement.scrollTop!==0||s>0&&u<this._lastRecordedBufferHeight)||(t.cancelable&&t.preventDefault(),!1)},a.prototype.onWheel=function(t){var s=this._getPixelsScrolled(t);return s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(t,s))},a.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},a.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},a.prototype._applyScrollModifier=function(t,s){var u=this._optionsService.options.fastScrollModifier;return u==="alt"&&s.altKey||u==="ctrl"&&s.ctrlKey||u==="shift"&&s.shiftKey?t*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:t*this._optionsService.options.scrollSensitivity},a.prototype.onTouchStart=function(t){this._lastTouchY=t.touches[0].pageY},a.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))},a=p([c(3,n.IBufferService),c(4,n.IOptionsService),c(5,e.ICharSizeService),c(6,e.IRenderService)],a)}(h.Disposable);f.Viewport=i},function(w,f,A){"use strict";function m(h){return h.replace(/\r?\n/g,"\r")}function g(h,l){return l?"[200~"+h+"[201~":h}function p(h,l,e){h=g(h=m(h),e.decPrivateModes.bracketedPasteMode),e.triggerDataEvent(h,!0),l.value=""}function c(h,l,e){var n=e.getBoundingClientRect(),i=h.clientX-n.left-10,r=h.clientY-n.top-10;l.style.width="20px",l.style.height="20px",l.style.left=i+"px",l.style.top=r+"px",l.style.zIndex="1000",l.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=m,f.bracketTextForPaste=g,f.copyHandler=function(h,l){h.clipboardData&&h.clipboardData.setData("text/plain",l.selectionText),h.preventDefault()},f.handlePasteEvent=function(h,l,e){h.stopPropagation(),h.clipboardData&&p(h.clipboardData.getData("text/plain"),l,e)},f.paste=p,f.moveTextAreaUnderMouseCursor=c,f.rightClickHandler=function(h,l,e,n,i){c(h,l,e),i&&!n.isClickInSelection(h)&&n.selectWordAtCursor(h),l.value=n.selectionText,l.select()}},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(a,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var d in u)u.hasOwnProperty(d)&&(s[d]=u[d])})(a,t)},function(r,a){function t(){this.constructor=r}m(r,a),r.prototype=a===null?Object.create(a):(t.prototype=a.prototype,new t)});Object.defineProperty(f,"__esModule",{value:!0}),f.EscapeSequenceParser=f.VT500_TRANSITION_TABLE=f.TransitionTable=void 0;var p=A(2),c=A(15),h=A(21),l=A(22),e=A(24),n=function(){function r(a){this.table=new Uint8Array(a)}return r.prototype.setDefault=function(a,t){c.fill(this.table,a<<4|t)},r.prototype.add=function(a,t,s,u){this.table[t<<8|a]=s<<4|u},r.prototype.addMany=function(a,t,s,u){for(var d=0;d<a.length;d++)this.table[t<<8|a[d]]=s<<4|u},r}();f.TransitionTable=n,f.VT500_TRANSITION_TABLE=function(){var r=new n(4095),a=Array.apply(null,Array(256)).map(function(y,S){return S}),t=function(S,b){return a.slice(S,b)},s=t(32,127),u=t(0,24);u.push(25),u.push.apply(u,t(28,32));var d,v=t(0,14);for(d in r.setDefault(1,0),r.addMany(s,0,2,0),v)r.addMany([24,26,153,154],d,3,0),r.addMany(t(128,144),d,3,0),r.addMany(t(144,152),d,3,0),r.add(156,d,0,0),r.add(27,d,11,1),r.add(157,d,4,8),r.addMany([152,158,159],d,0,7),r.add(155,d,11,3),r.add(144,d,11,9);return r.addMany(u,0,3,0),r.addMany(u,1,3,1),r.add(127,1,0,1),r.addMany(u,8,0,8),r.addMany(u,3,3,3),r.add(127,3,0,3),r.addMany(u,4,3,4),r.add(127,4,0,4),r.addMany(u,6,3,6),r.addMany(u,5,3,5),r.add(127,5,0,5),r.addMany(u,2,3,2),r.add(127,2,0,2),r.add(93,1,4,8),r.addMany(s,8,5,8),r.add(127,8,5,8),r.addMany([156,27,24,26,7],8,6,0),r.addMany(t(28,32),8,0,8),r.addMany([88,94,95],1,0,7),r.addMany(s,7,0,7),r.addMany(u,7,0,7),r.add(156,7,0,0),r.add(127,7,0,7),r.add(91,1,11,3),r.addMany(t(64,127),3,7,0),r.addMany(t(48,60),3,8,4),r.addMany([60,61,62,63],3,9,4),r.addMany(t(48,60),4,8,4),r.addMany(t(64,127),4,7,0),r.addMany([60,61,62,63],4,0,6),r.addMany(t(32,64),6,0,6),r.add(127,6,0,6),r.addMany(t(64,127),6,0,0),r.addMany(t(32,48),3,9,5),r.addMany(t(32,48),5,9,5),r.addMany(t(48,64),5,0,6),r.addMany(t(64,127),5,7,0),r.addMany(t(32,48),4,9,5),r.addMany(t(32,48),1,9,2),r.addMany(t(32,48),2,9,2),r.addMany(t(48,127),2,10,0),r.addMany(t(48,80),1,10,0),r.addMany(t(81,88),1,10,0),r.addMany([89,90,92],1,10,0),r.addMany(t(96,127),1,10,0),r.add(80,1,11,9),r.addMany(u,9,0,9),r.add(127,9,0,9),r.addMany(t(28,32),9,0,9),r.addMany(t(32,48),9,9,12),r.addMany(t(48,60),9,8,10),r.addMany([60,61,62,63],9,9,10),r.addMany(u,11,0,11),r.addMany(t(32,128),11,0,11),r.addMany(t(28,32),11,0,11),r.addMany(u,10,0,10),r.add(127,10,0,10),r.addMany(t(28,32),10,0,10),r.addMany(t(48,60),10,8,10),r.addMany([60,61,62,63],10,0,11),r.addMany(t(32,48),10,9,12),r.addMany(u,12,0,12),r.add(127,12,0,12),r.addMany(t(28,32),12,0,12),r.addMany(t(32,48),12,9,12),r.addMany(t(48,64),12,0,11),r.addMany(t(64,127),12,12,13),r.addMany(t(64,127),10,12,13),r.addMany(t(64,127),9,12,13),r.addMany(u,13,13,13),r.addMany(s,13,13,13),r.add(127,13,0,13),r.addMany([27,156,24,26],13,14,0),r.add(160,0,2,0),r.add(160,8,5,8),r.add(160,6,0,6),r.add(160,11,0,11),r.add(160,13,13,13),r}();var i=function(r){function a(t){t===void 0&&(t=f.VT500_TRANSITION_TABLE);var s=r.call(this)||this;return s._transitions=t,s.initialState=0,s.currentState=s.initialState,s._params=new h.Params,s._params.addParam(0),s._collect=0,s.precedingCodepoint=0,s._printHandlerFb=function(u,d,v){},s._executeHandlerFb=function(u){},s._csiHandlerFb=function(u,d){},s._escHandlerFb=function(u){},s._errorHandlerFb=function(u){return u},s._printHandler=s._printHandlerFb,s._executeHandlers=Object.create(null),s._csiHandlers=Object.create(null),s._escHandlers=Object.create(null),s._oscParser=new l.OscParser,s._dcsParser=new e.DcsParser,s._errorHandler=s._errorHandlerFb,s.setEscHandler({final:"\\"},function(){}),s}return g(a,r),a.prototype._identifier=function(t,s){s===void 0&&(s=[64,126]);var u=0;if(t.prefix){if(t.prefix.length>1)throw new Error("only one byte as prefix supported");if((u=t.prefix.charCodeAt(0))&&60>u||u>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 d=0;d<t.intermediates.length;++d){var v=t.intermediates.charCodeAt(d);if(32>v||v>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");u<<=8,u|=v}}if(t.final.length!==1)throw new Error("final must be a single byte");var y=t.final.charCodeAt(0);if(s[0]>y||y>s[1])throw new Error("final must be in range "+s[0]+" .. "+s[1]);return u<<=8,u|=y},a.prototype.identToString=function(t){for(var s=[];t;)s.push(String.fromCharCode(255&t)),t>>=8;return s.reverse().join("")},a.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},a.prototype.setPrintHandler=function(t){this._printHandler=t},a.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},a.prototype.addEscHandler=function(t,s){var u=this._identifier(t,[48,126]);this._escHandlers[u]===void 0&&(this._escHandlers[u]=[]);var d=this._escHandlers[u];return d.push(s),{dispose:function(){var y=d.indexOf(s);y!==-1&&d.splice(y,1)}}},a.prototype.setEscHandler=function(t,s){this._escHandlers[this._identifier(t,[48,126])]=[s]},a.prototype.clearEscHandler=function(t){this._escHandlers[this._identifier(t,[48,126])]&&delete this._escHandlers[this._identifier(t,[48,126])]},a.prototype.setEscHandlerFallback=function(t){this._escHandlerFb=t},a.prototype.setExecuteHandler=function(t,s){this._executeHandlers[t.charCodeAt(0)]=s},a.prototype.clearExecuteHandler=function(t){this._executeHandlers[t.charCodeAt(0)]&&delete this._executeHandlers[t.charCodeAt(0)]},a.prototype.setExecuteHandlerFallback=function(t){this._executeHandlerFb=t},a.prototype.addCsiHandler=function(t,s){var u=this._identifier(t);this._csiHandlers[u]===void 0&&(this._csiHandlers[u]=[]);var d=this._csiHandlers[u];return d.push(s),{dispose:function(){var y=d.indexOf(s);y!==-1&&d.splice(y,1)}}},a.prototype.setCsiHandler=function(t,s){this._csiHandlers[this._identifier(t)]=[s]},a.prototype.clearCsiHandler=function(t){this._csiHandlers[this._identifier(t)]&&delete this._csiHandlers[this._identifier(t)]},a.prototype.setCsiHandlerFallback=function(t){this._csiHandlerFb=t},a.prototype.addDcsHandler=function(t,s){return this._dcsParser.addHandler(this._identifier(t),s)},a.prototype.setDcsHandler=function(t,s){this._dcsParser.setHandler(this._identifier(t),s)},a.prototype.clearDcsHandler=function(t){this._dcsParser.clearHandler(this._identifier(t))},a.prototype.setDcsHandlerFallback=function(t){this._dcsParser.setHandlerFallback(t)},a.prototype.addOscHandler=function(t,s){return this._oscParser.addHandler(t,s)},a.prototype.setOscHandler=function(t,s){this._oscParser.setHandler(t,s)},a.prototype.clearOscHandler=function(t){this._oscParser.clearHandler(t)},a.prototype.setOscHandlerFallback=function(t){this._oscParser.setHandlerFallback(t)},a.prototype.setErrorHandler=function(t){this._errorHandler=t},a.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},a.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},a.prototype.parse=function(t,s){for(var u=0,d=0,v=this.currentState,y=this._oscParser,S=this._dcsParser,b=this._collect,E=this._params,C=this._transitions.table,T=0;T<s;++T){switch((d=C[v<<8|((u=t[T])<160?u:160)])>>4){case 2:for(var x=T+1;;++x){if(x>=s||(u=t[x])<32||u>126&&u<160){this._printHandler(t,T,x),T=x-1;break}if(++x>=s||(u=t[x])<32||u>126&&u<160){this._printHandler(t,T,x),T=x-1;break}if(++x>=s||(u=t[x])<32||u>126&&u<160){this._printHandler(t,T,x),T=x-1;break}if(++x>=s||(u=t[x])<32||u>126&&u<160){this._printHandler(t,T,x),T=x-1;break}}break;case 3:this._executeHandlers[u]?this._executeHandlers[u]():this._executeHandlerFb(u),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:T,code:u,currentState:v,collect:b,params:E,abort:!1}).abort)return;break;case 7:for(var _=this._csiHandlers[b<<8|u],I=_?_.length-1:-1;I>=0&&_[I](E)===!1;I--);I<0&&this._csiHandlerFb(b<<8|u,E),this.precedingCodepoint=0;break;case 8:do switch(u){case 59:E.addParam(0);break;case 58:E.addSubParam(-1);break;default:E.addDigit(u-48)}while(++T<s&&(u=t[T])>47&&u<60);T--;break;case 9:b<<=8,b|=u;break;case 10:for(var L=this._escHandlers[b<<8|u],R=L?L.length-1:-1;R>=0&&L[R]()===!1;R--);R<0&&this._escHandlerFb(b<<8|u),this.precedingCodepoint=0;break;case 11:E.reset(),E.addParam(0),b=0;break;case 12:S.hook(b<<8|u,E);break;case 13:for(var k=T+1;;++k)if(k>=s||(u=t[k])===24||u===26||u===27||u>127&&u<160){S.put(t,T,k),T=k-1;break}break;case 14:S.unhook(u!==24&&u!==26),u===27&&(d|=1),E.reset(),E.addParam(0),b=0,this.precedingCodepoint=0;break;case 4:y.start();break;case 5:for(var F=T+1;;F++)if(F>=s||(u=t[F])<32||u>127&&u<=159){y.put(t,T,F),T=F-1;break}break;case 6:y.end(u!==24&&u!==26),u===27&&(d|=1),E.reset(),E.addParam(0),b=0,this.precedingCodepoint=0}v=15&d}this._collect=b,this.currentState=v},a}(p.Disposable);f.EscapeSequenceParser=i},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(S,b){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,C){E.__proto__=C}||function(E,C){for(var T in C)C.hasOwnProperty(T)&&(E[T]=C[T])})(S,b)},function(y,S){function b(){this.constructor=y}m(y,S),y.prototype=S===null?Object.create(S):(b.prototype=S.prototype,new b)}),p=this&&this.__decorate||function(y,S,b,E){var C,T=arguments.length,x=T<3?S:E===null?E=Object.getOwnPropertyDescriptor(S,b):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(y,S,b,E);else for(var _=y.length-1;_>=0;_--)(C=y[_])&&(x=(T<3?C(x):T>3?C(S,b,x):C(S,b))||x);return T>3&&x&&Object.defineProperty(S,b,x),x},c=this&&this.__param||function(y,S){return function(b,E){S(b,E,y)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Renderer=void 0;var h=A(41),l=A(47),e=A(48),n=A(49),i=A(29),r=A(2),a=A(5),t=A(1),s=A(25),u=A(0),d=1,v=function(y){function S(b,E,C,T,x,_,I,L,R){var k=y.call(this)||this;k._colors=b,k._screenElement=E,k._bufferService=x,k._charSizeService=_,k._optionsService=I,k._id=d++,k._onRequestRedraw=new u.EventEmitter;var F=k._optionsService.options.allowTransparency;return k._characterJoinerRegistry=new i.CharacterJoinerRegistry(k._bufferService),k._renderLayers=[new h.TextRenderLayer(k._screenElement,0,k._colors,k._characterJoinerRegistry,F,k._id,k._bufferService,I),new l.SelectionRenderLayer(k._screenElement,1,k._colors,k._id,k._bufferService,I),new n.LinkRenderLayer(k._screenElement,2,k._colors,k._id,C,T,k._bufferService,I),new e.CursorRenderLayer(k._screenElement,3,k._colors,k._id,k._onRequestRedraw,k._bufferService,I,L,R)],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 g(S,y),Object.defineProperty(S.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){for(var b=0,E=this._renderLayers;b<E.length;b++)E[b].dispose();y.prototype.dispose.call(this),s.removeTerminalFromCache(this._id)},S.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},S.prototype.setColors=function(b){this._colors=b;for(var E=0,C=this._renderLayers;E<C.length;E++){var T=C[E];T.setColors(this._colors),T.reset()}},S.prototype.onResize=function(b,E){this._updateDimensions();for(var C=0,T=this._renderLayers;C<T.length;C++)T[C].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},S.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},S.prototype.onBlur=function(){this._runOperation(function(b){return b.onBlur()})},S.prototype.onFocus=function(){this._runOperation(function(b){return b.onFocus()})},S.prototype.onSelectionChanged=function(b,E,C){C===void 0&&(C=!1),this._runOperation(function(T){return T.onSelectionChanged(b,E,C)})},S.prototype.onCursorMove=function(){this._runOperation(function(b){return b.onCursorMove()})},S.prototype.onOptionsChanged=function(){this._runOperation(function(b){return b.onOptionsChanged()})},S.prototype.clear=function(){this._runOperation(function(b){return b.reset()})},S.prototype._runOperation=function(b){for(var E=0,C=this._renderLayers;E<C.length;E++)b(C[E])},S.prototype.renderRows=function(b,E){for(var C=0,T=this._renderLayers;C<T.length;C++)T[C].onGridChanged(b,E)},S.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)},S.prototype.registerCharacterJoiner=function(b){return this._characterJoinerRegistry.registerCharacterJoiner(b)},S.prototype.deregisterCharacterJoiner=function(b){return this._characterJoinerRegistry.deregisterCharacterJoiner(b)},S=p([c(4,t.IBufferService),c(5,a.ICharSizeService),c(6,t.IOptionsService),c(7,t.ICoreService),c(8,a.ICoreBrowserService)],S)}(r.Disposable);f.Renderer=v},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(a,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var d in u)u.hasOwnProperty(d)&&(s[d]=u[d])})(a,t)},function(r,a){function t(){this.constructor=r}m(r,a),r.prototype=a===null?Object.create(a):(t.prototype=a.prototype,new t)});Object.defineProperty(f,"__esModule",{value:!0}),f.TextRenderLayer=void 0;var p=A(42),c=A(13),h=A(6),l=A(3),e=A(29),n=A(4),i=function(r){function a(t,s,u,d,v,y,S,b){var E=r.call(this,t,"text",s,v,u,y,S,b)||this;return E._characterWidth=0,E._characterFont="",E._characterOverlapCache={},E._workCell=new n.CellData,E._state=new p.GridCache,E._characterJoinerRegistry=d,E}return g(a,r),a.prototype.resize=function(t){r.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)},a.prototype.reset=function(){this._state.clear(),this._clearAll()},a.prototype._forEachCell=function(t,s,u,d){for(var v=t;v<=s;v++)for(var y=v+this._bufferService.buffer.ydisp,S=this._bufferService.buffer.lines.get(y),b=u?u.getJoinedCharacters(y):[],E=0;E<this._bufferService.cols;E++){S.loadCell(E,this._workCell);var C=this._workCell,T=!1,x=E;if(C.getWidth()!==0){if(b.length>0&&E===b[0][0]){T=!0;var _=b.shift();C=new e.JoinedCellData(this._workCell,S.translateToString(!0,_[0],_[1]),_[1]-_[0]),x=_[1]-1}!T&&this._isOverlapping(C)&&x<S.length-1&&S.getCodePoint(x+1)===l.NULL_CELL_CODE&&(C.content&=-12582913,C.content|=2<<22),d(C,E,v),E=x}}},a.prototype._drawBackground=function(t,s){var u=this,d=this._ctx,v=this._bufferService.cols,y=0,S=0,b=null;d.save(),this._forEachCell(t,s,null,function(E,C,T){var x=null;E.isInverse()?x=E.isFgDefault()?u._colors.foreground.css:E.isFgRGB()?"rgb("+h.AttributeData.toColorRGB(E.getFgColor()).join(",")+")":u._colors.ansi[E.getFgColor()].css:E.isBgRGB()?x="rgb("+h.AttributeData.toColorRGB(E.getBgColor()).join(",")+")":E.isBgPalette()&&(x=u._colors.ansi[E.getBgColor()].css),b===null&&(y=C,S=T),T!==S?(d.fillStyle=b||"",u._fillCells(y,S,v-y,1),y=C,S=T):b!==x&&(d.fillStyle=b||"",u._fillCells(y,S,C-y,1),y=C,S=T),b=x}),b!==null&&(d.fillStyle=b,this._fillCells(y,S,v-y,1)),d.restore()},a.prototype._drawForeground=function(t,s){var u=this;this._forEachCell(t,s,this._characterJoinerRegistry,function(d,v,y){if(!d.isInvisible()&&(u._drawChars(d,v,y),d.isUnderline())){if(u._ctx.save(),d.isInverse())if(d.isBgDefault())u._ctx.fillStyle=u._colors.background.css;else if(d.isBgRGB())u._ctx.fillStyle="rgb("+h.AttributeData.toColorRGB(d.getBgColor()).join(",")+")";else{var S=d.getBgColor();u._optionsService.options.drawBoldTextInBrightColors&&d.isBold()&&S<8&&(S+=8),u._ctx.fillStyle=u._colors.ansi[S].css}else if(d.isFgDefault())u._ctx.fillStyle=u._colors.foreground.css;else if(d.isFgRGB())u._ctx.fillStyle="rgb("+h.AttributeData.toColorRGB(d.getFgColor()).join(",")+")";else{var b=d.getFgColor();u._optionsService.options.drawBoldTextInBrightColors&&d.isBold()&&b<8&&(b+=8),u._ctx.fillStyle=u._colors.ansi[b].css}u._fillBottomLineAtCells(v,y,d.getWidth()),u._ctx.restore()}})},a.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))},a.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},a.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 u=Math.floor(this._ctx.measureText(s).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[s]=u,u},a}(c.BaseRenderLayer);f.TextRenderLayer=i},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.GridCache=void 0;var m=function(){function g(){this.cache=[]}return g.prototype.resize=function(p,c){for(var h=0;h<p;h++){this.cache.length<=h&&this.cache.push([]);for(var l=this.cache[h].length;l<c;l++)this.cache[h].push(void 0);this.cache[h].length=c}this.cache.length=p},g.prototype.clear=function(){for(var p=0;p<this.cache.length;p++)for(var c=0;c<this.cache[p].length;c++)this.cache[p][c]=void 0},g}();f.GridCache=m},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(d,v){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,S){y.__proto__=S}||function(y,S){for(var b in S)S.hasOwnProperty(b)&&(y[b]=S[b])})(d,v)},function(u,d){function v(){this.constructor=u}m(u,d),u.prototype=d===null?Object.create(d):(v.prototype=d.prototype,new v)});Object.defineProperty(f,"__esModule",{value:!0}),f.NoneCharAtlas=f.DynamicCharAtlas=f.getGlyphCacheKey=void 0;var p=A(9),c=A(44),h=A(27),l=A(46),e=A(11),n=A(28),i=A(10),r={css:"rgba(0, 0, 0, 0)",rgba:0};function a(u){return u.code<<21|u.bg<<12|u.fg<<3|(u.bold?0:4)+(u.dim?0:2)+(u.italic?0:1)}f.getGlyphCacheKey=a;var t=function(u){function d(v,y){var S=u.call(this)||this;S._config=y,S._drawToCacheCount=0,S._glyphsWaitingOnBitmap=[],S._bitmapCommitTimeout=null,S._bitmap=null,S._cacheCanvas=v.createElement("canvas"),S._cacheCanvas.width=1024,S._cacheCanvas.height=1024,S._cacheCtx=n.throwIfFalsy(S._cacheCanvas.getContext("2d",{alpha:!0}));var b=v.createElement("canvas");b.width=S._config.scaledCharWidth,b.height=S._config.scaledCharHeight,S._tmpCtx=n.throwIfFalsy(b.getContext("2d",{alpha:S._config.allowTransparency})),S._width=Math.floor(1024/S._config.scaledCharWidth),S._height=Math.floor(1024/S._config.scaledCharHeight);var E=S._width*S._height;return S._cacheMap=new l.LRUMap(E),S._cacheMap.prealloc(E),S}return g(d,u),d.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},d.prototype.beginFrame=function(){this._drawToCacheCount=0},d.prototype.draw=function(v,y,S,b){if(y.code===32)return!0;if(!this._canCache(y))return!1;var E=a(y),C=this._cacheMap.get(E);if(C!=null)return this._drawFromCache(v,C,S,b),!0;if(this._drawToCacheCount<100){var T=void 0;T=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var x=this._drawToCache(y,T);return this._cacheMap.set(E,x),this._drawFromCache(v,x,S,b),!0}return!1},d.prototype._canCache=function(v){return v.code<256},d.prototype._toCoordinateX=function(v){return v%this._width*this._config.scaledCharWidth},d.prototype._toCoordinateY=function(v){return Math.floor(v/this._width)*this._config.scaledCharHeight},d.prototype._drawFromCache=function(v,y,S,b){if(!y.isEmpty){var E=this._toCoordinateX(y.index),C=this._toCoordinateY(y.index);v.drawImage(y.inBitmap?this._bitmap:this._cacheCanvas,E,C,this._config.scaledCharWidth,this._config.scaledCharHeight,S,b,this._config.scaledCharWidth,this._config.scaledCharHeight)}},d.prototype._getColorFromAnsiIndex=function(v){return v<this._config.colors.ansi.length?this._config.colors.ansi[v]:h.DEFAULT_ANSI_COLORS[v]},d.prototype._getBackgroundColor=function(v){return this._config.allowTransparency?r:v.bg===p.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:v.bg<256?this._getColorFromAnsiIndex(v.bg):this._config.colors.background},d.prototype._getForegroundColor=function(v){return v.fg===p.INVERTED_DEFAULT_COLOR?i.color.opaque(this._config.colors.background):v.fg<256?this._getColorFromAnsiIndex(v.fg):this._config.colors.foreground},d.prototype._drawToCache=function(v,y){this._drawToCacheCount++,this._tmpCtx.save();var S=this._getBackgroundColor(v);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=S.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var b=v.bold?this._config.fontWeightBold:this._config.fontWeight,E=v.italic?"italic":"";this._tmpCtx.font=E+" "+b+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(v).css,v.dim&&(this._tmpCtx.globalAlpha=p.DIM_OPACITY),this._tmpCtx.fillText(v.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var C=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),T=!1;this._config.allowTransparency||(T=function(L,R){for(var k=!0,F=R.rgba>>>24,P=R.rgba>>>16&255,W=R.rgba>>>8&255,D=0;D<L.data.length;D+=4)L.data[D]===F&&L.data[D+1]===P&&L.data[D+2]===W?L.data[D+3]=0:k=!1;return k}(C,S));var x=this._toCoordinateX(y),_=this._toCoordinateY(y);this._cacheCtx.putImageData(C,x,_);var I={index:y,isEmpty:T,inBitmap:!1};return this._addGlyphToBitmap(I),I},d.prototype._addGlyphToBitmap=function(v){var y=this;!("createImageBitmap"in window)||e.isFirefox||e.isSafari||(this._glyphsWaitingOnBitmap.push(v),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return y._generateBitmap()},100)))},d.prototype._generateBitmap=function(){var v=this,y=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(S){v._bitmap=S;for(var b=0;b<y.length;b++)y[b].inBitmap=!0}),this._bitmapCommitTimeout=null},d}(c.BaseCharAtlas);f.DynamicCharAtlas=t;var s=function(u){function d(v,y){return u.call(this)||this}return g(d,u),d.prototype.draw=function(v,y,S,b){return!1},d}(c.BaseCharAtlas);f.NoneCharAtlas=s},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseCharAtlas=void 0;var m=function(){function g(){this._didWarmUp=!1}return g.prototype.dispose=function(){},g.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},g.prototype._doWarmUp=function(){},g.prototype.beginFrame=function(){},g}();f.BaseCharAtlas=m},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorContrastCache=void 0;var m=function(){function g(){this._color={},this._rgba={}}return g.prototype.clear=function(){this._color={},this._rgba={}},g.prototype.setCss=function(p,c,h){this._rgba[p]||(this._rgba[p]={}),this._rgba[p][c]=h},g.prototype.getCss=function(p,c){return this._rgba[p]?this._rgba[p][c]:void 0},g.prototype.setColor=function(p,c,h){this._color[p]||(this._color[p]={}),this._color[p][c]=h},g.prototype.getColor=function(p,c){return this._color[p]?this._color[p][c]:void 0},g}();f.ColorContrastCache=m},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.LRUMap=void 0;var m=function(){function g(p){this.capacity=p,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return g.prototype._unlinkNode=function(p){var c=p.prev,h=p.next;p===this._head&&(this._head=h),p===this._tail&&(this._tail=c),c!==null&&(c.next=h),h!==null&&(h.prev=c)},g.prototype._appendNode=function(p){var c=this._tail;c!==null&&(c.next=p),p.prev=c,p.next=null,this._tail=p,this._head===null&&(this._head=p)},g.prototype.prealloc=function(p){for(var c=this._nodePool,h=0;h<p;h++)c.push({prev:null,next:null,key:null,value:null})},g.prototype.get=function(p){var c=this._map[p];return c!==void 0?(this._unlinkNode(c),this._appendNode(c),c.value):null},g.prototype.peekValue=function(p){var c=this._map[p];return c!==void 0?c.value:null},g.prototype.peek=function(){var p=this._head;return p===null?null:p.value},g.prototype.set=function(p,c){var h=this._map[p];if(h!==void 0)h=this._map[p],this._unlinkNode(h),h.value=c;else if(this.size>=this.capacity)h=this._head,this._unlinkNode(h),delete this._map[h.key],h.key=p,h.value=c,this._map[p]=h;else{var l=this._nodePool;l.length>0?((h=l.pop()).key=p,h.value=c):h={prev:null,next:null,key:p,value:c},this._map[p]=h,this.size++}this._appendNode(h)},g}();f.LRUMap=m},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(h,l){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])})(h,l)},function(c,h){function l(){this.constructor=c}m(c,h),c.prototype=h===null?Object.create(h):(l.prototype=h.prototype,new l)});Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionRenderLayer=void 0;var p=function(c){function h(l,e,n,i,r,a){var t=c.call(this,l,"selection",e,!0,n,i,r,a)||this;return t._clearState(),t}return g(h,c),h.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},h.prototype.resize=function(l){c.prototype.resize.call(this,l),this._clearState()},h.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},h.prototype.onSelectionChanged=function(l,e,n){if(this._didStateChange(l,e,n,this._bufferService.buffer.ydisp))if(this._clearAll(),l&&e){var i=l[1]-this._bufferService.buffer.ydisp,r=e[1]-this._bufferService.buffer.ydisp,a=Math.max(i,0),t=Math.min(r,this._bufferService.rows-1);if(!(a>=this._bufferService.rows||t<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,n){var s=l[0],u=e[0]-s,d=t-a+1;this._fillCells(s,a,u,d)}else{s=i===a?l[0]:0;var v=a===t?e[0]:this._bufferService.cols;this._fillCells(s,a,v-s,1);var y=Math.max(t-a-1,0);if(this._fillCells(0,a+1,this._bufferService.cols,y),a!==t){var S=r===t?e[0]:this._bufferService.cols;this._fillCells(0,t,S,1)}}this._state.start=[l[0],l[1]],this._state.end=[e[0],e[1]],this._state.columnSelectMode=n,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},h.prototype._didStateChange=function(l,e,n,i){return!this._areCoordinatesEqual(l,this._state.start)||!this._areCoordinatesEqual(e,this._state.end)||n!==this._state.columnSelectMode||i!==this._state.ydisp},h.prototype._areCoordinatesEqual=function(l,e){return!(!l||!e)&&l[0]===e[0]&&l[1]===e[1]},h}(A(13).BaseRenderLayer);f.SelectionRenderLayer=p},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(n,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var t in a)a.hasOwnProperty(t)&&(r[t]=a[t])})(n,i)},function(e,n){function i(){this.constructor=e}m(e,n),e.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(f,"__esModule",{value:!0}),f.CursorRenderLayer=void 0;var p=A(13),c=A(4),h=function(e){function n(i,r,a,t,s,u,d,v,y){var S=e.call(this,i,"cursor",r,!0,a,t,u,d)||this;return S._onRequestRedraw=s,S._coreService=v,S._coreBrowserService=y,S._cell=new c.CellData,S._state={x:0,y:0,isFocused:!1,style:"",width:0},S._cursorRenderers={bar:S._renderBarCursor.bind(S),block:S._renderBlockCursor.bind(S),underline:S._renderUnderlineCursor.bind(S)},S}return g(n,e),n.prototype.resize=function(i){e.prototype.resize.call(this,i),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},n.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},n.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},n.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},n.prototype.onOptionsChanged=function(){var i,r=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new l(this._coreBrowserService.isFocused,function(){r._render(!0)})):((i=this._cursorBlinkStateManager)===null||i===void 0||i.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},n.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},n.prototype.onGridChanged=function(i,r){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},n.prototype._render=function(i){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var r=this._bufferService.buffer.ybase+this._bufferService.buffer.y,a=r-this._bufferService.buffer.ydisp;if(a<0||a>=this._bufferService.rows)this._clearCursor();else{var t=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(r).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,a,this._cell):this._renderBlurCursor(t,a,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=a,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===a&&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,a,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=a,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},n.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})},n.prototype._renderBarCursor=function(i,r,a){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(i,r,this._optionsService.options.cursorWidth),this._ctx.restore()},n.prototype._renderBlockCursor=function(i,r,a){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(i,r,a.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(a,i,r),this._ctx.restore()},n.prototype._renderUnderlineCursor=function(i,r,a){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(i,r),this._ctx.restore()},n.prototype._renderBlurCursor=function(i,r,a){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(i,r,a.getWidth(),1),this._ctx.restore()},n}(p.BaseRenderLayer);f.CursorRenderLayer=h;var l=function(){function e(n,i){this._renderCallback=i,this.isCursorVisible=!0,n&&this._restartInterval()}return Object.defineProperty(e.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),e.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)},e.prototype.restartBlinkAnimation=function(){var n=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){n._renderCallback(),n._animationFrame=void 0})))},e.prototype._restartInterval=function(n){var i=this;n===void 0&&(n=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(i._animationTimeRestarted){var r=600-(Date.now()-i._animationTimeRestarted);if(i._animationTimeRestarted=void 0,r>0)return void i._restartInterval(r)}i.isCursorVisible=!1,i._animationFrame=window.requestAnimationFrame(function(){i._renderCallback(),i._animationFrame=void 0}),i._blinkInterval=window.setInterval(function(){if(i._animationTimeRestarted){var a=600-(Date.now()-i._animationTimeRestarted);return i._animationTimeRestarted=void 0,void i._restartInterval(a)}i.isCursorVisible=!i.isCursorVisible,i._animationFrame=window.requestAnimationFrame(function(){i._renderCallback(),i._animationFrame=void 0})},600)},n)},e.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)},e.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},e}()},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(n,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var t in a)a.hasOwnProperty(t)&&(r[t]=a[t])})(n,i)},function(e,n){function i(){this.constructor=e}m(e,n),e.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(f,"__esModule",{value:!0}),f.LinkRenderLayer=void 0;var p=A(13),c=A(9),h=A(26),l=function(e){function n(i,r,a,t,s,u,d,v){var y=e.call(this,i,"link",r,!0,a,t,d,v)||this;return s.onShowLinkUnderline(function(S){return y._onShowLinkUnderline(S)}),s.onHideLinkUnderline(function(S){return y._onHideLinkUnderline(S)}),u.onShowLinkUnderline(function(S){return y._onShowLinkUnderline(S)}),u.onHideLinkUnderline(function(S){return y._onHideLinkUnderline(S)}),y}return g(n,e),n.prototype.resize=function(i){e.prototype.resize.call(this,i),this._state=void 0},n.prototype.reset=function(){this._clearCurrentLink()},n.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var i=this._state.y2-this._state.y1-1;i>0&&this._clearCells(0,this._state.y1+1,this._state.cols,i),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},n.prototype._onShowLinkUnderline=function(i){if(i.fg===c.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:i.fg&&h.is256Color(i.fg)?this._ctx.fillStyle=this._colors.ansi[i.fg].css:this._ctx.fillStyle=this._colors.foreground.css,i.y1===i.y2)this._fillBottomLineAtCells(i.x1,i.y1,i.x2-i.x1);else{this._fillBottomLineAtCells(i.x1,i.y1,i.cols-i.x1);for(var r=i.y1+1;r<i.y2;r++)this._fillBottomLineAtCells(0,r,i.cols);this._fillBottomLineAtCells(0,i.y2,i.x2)}this._state=i},n.prototype._onHideLinkUnderline=function(i){this._clearCurrentLink()},n}(p.BaseRenderLayer);f.LinkRenderLayer=l},function(w,f,A){"use strict";var m=this&&this.__decorate||function(e,n,i,r){var a,t=arguments.length,s=t<3?n:r===null?r=Object.getOwnPropertyDescriptor(n,i):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,n,i,r);else for(var u=e.length-1;u>=0;u--)(a=e[u])&&(s=(t<3?a(s):t>3?a(n,i,s):a(n,i))||s);return t>3&&s&&Object.defineProperty(n,i,s),s},g=this&&this.__param||function(e,n){return function(i,r){n(i,r,e)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseZone=f.Linkifier=void 0;var p=A(0),c=A(1),h=function(){function e(n,i,r){this._bufferService=n,this._logService=i,this._unicodeService=r,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new p.EventEmitter,this._onHideLinkUnderline=new p.EventEmitter,this._onLinkTooltip=new p.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(e.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),e.prototype.attachToDom=function(n,i){this._element=n,this._mouseZoneManager=i},e.prototype.linkifyRows=function(n,i){var r=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=n,this._rowsToLinkify.end=i):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,n),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,i)),this._mouseZoneManager.clearAll(n,i),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return r._linkifyRows()},e._timeBeforeLatency))},e.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var n=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var i=n.ydisp+this._rowsToLinkify.start;if(!(i>=n.lines.length)){for(var r=n.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,a=Math.ceil(2e3/this._bufferService.cols),t=this._bufferService.buffer.iterator(!1,i,r,a,a);t.hasNext();)for(var s=t.next(),u=0;u<this._linkMatchers.length;u++)this._doLinkifyRow(s.range.first,s.content,this._linkMatchers[u]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},e.prototype.registerLinkMatcher=function(n,i,r){if(r===void 0&&(r={}),!i)throw new Error("handler must be defined");var a={id:this._nextLinkMatcherId++,regex:n,handler:i,matchIndex:r.matchIndex,validationCallback:r.validationCallback,hoverTooltipCallback:r.tooltipCallback,hoverLeaveCallback:r.leaveCallback,willLinkActivate:r.willLinkActivate,priority:r.priority||0};return this._addLinkMatcherToList(a),a.id},e.prototype._addLinkMatcherToList=function(n){if(this._linkMatchers.length!==0){for(var i=this._linkMatchers.length-1;i>=0;i--)if(n.priority<=this._linkMatchers[i].priority)return void this._linkMatchers.splice(i+1,0,n);this._linkMatchers.splice(0,0,n)}else this._linkMatchers.push(n)},e.prototype.deregisterLinkMatcher=function(n){for(var i=0;i<this._linkMatchers.length;i++)if(this._linkMatchers[i].id===n)return this._linkMatchers.splice(i,1),!0;return!1},e.prototype._doLinkifyRow=function(n,i,r){for(var a,t=this,s=new RegExp(r.regex.source,(r.regex.flags||"")+"g"),u=-1,d=function(){var S=a[typeof r.matchIndex!="number"?0:r.matchIndex];if(!S)return v._logService.debug("match found without corresponding matchIndex",a,r),"break";if(u=i.indexOf(S,u+1),s.lastIndex=u+S.length,u<0)return"break";var b=v._bufferService.buffer.stringIndexToBufferIndex(n,u);if(b[0]<0)return"break";var E=v._bufferService.buffer.lines.get(b[0]);if(!E)return"break";var C=E.getFg(b[1]),T=C?C>>9&511:void 0;r.validationCallback?r.validationCallback(S,function(x){t._rowsTimeoutId||x&&t._addLink(b[1],b[0]-t._bufferService.buffer.ydisp,S,r,T)}):v._addLink(b[1],b[0]-v._bufferService.buffer.ydisp,S,r,T)},v=this;(a=s.exec(i))!==null&&!(d()==="break"););},e.prototype._addLink=function(n,i,r,a,t){var s=this;if(this._mouseZoneManager&&this._element){var u=this._unicodeService.getStringCellWidth(r),d=n%this._bufferService.cols,v=i+Math.floor(n/this._bufferService.cols),y=(d+u)%this._bufferService.cols,S=v+Math.floor((d+u)/this._bufferService.cols);y===0&&(y=this._bufferService.cols,S--),this._mouseZoneManager.add(new l(d+1,v+1,y+1,S+1,function(b){if(a.handler)return a.handler(b,r);var E=window.open();E?(E.opener=null,E.location.href=r):console.warn("Opening link blocked as opener could not be cleared")},function(){s._onShowLinkUnderline.fire(s._createLinkHoverEvent(d,v,y,S,t)),s._element.classList.add("xterm-cursor-pointer")},function(b){s._onLinkTooltip.fire(s._createLinkHoverEvent(d,v,y,S,t)),a.hoverTooltipCallback&&a.hoverTooltipCallback(b,r,{start:{x:d,y:v},end:{x:y,y:S}})},function(){s._onHideLinkUnderline.fire(s._createLinkHoverEvent(d,v,y,S,t)),s._element.classList.remove("xterm-cursor-pointer"),a.hoverLeaveCallback&&a.hoverLeaveCallback()},function(b){return!a.willLinkActivate||a.willLinkActivate(b,r)}))}},e.prototype._createLinkHoverEvent=function(n,i,r,a,t){return{x1:n,y1:i,x2:r,y2:a,cols:this._bufferService.cols,fg:t}},e._timeBeforeLatency=200,e=m([g(0,c.IBufferService),g(1,c.ILogService),g(2,c.IUnicodeService)],e)}();f.Linkifier=h;var l=function(n,i,r,a,t,s,u,d,v){this.x1=n,this.y1=i,this.x2=r,this.y2=a,this.clickCallback=t,this.hoverCallback=s,this.tooltipCallback=u,this.leaveCallback=d,this.willLinkActivate=v};f.MouseZone=l},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(S,b){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,C){E.__proto__=C}||function(E,C){for(var T in C)C.hasOwnProperty(T)&&(E[T]=C[T])})(S,b)},function(y,S){function b(){this.constructor=y}m(y,S),y.prototype=S===null?Object.create(S):(b.prototype=S.prototype,new b)}),p=this&&this.__decorate||function(y,S,b,E){var C,T=arguments.length,x=T<3?S:E===null?E=Object.getOwnPropertyDescriptor(S,b):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(y,S,b,E);else for(var _=y.length-1;_>=0;_--)(C=y[_])&&(x=(T<3?C(x):T>3?C(S,b,x):C(S,b))||x);return T>3&&x&&Object.defineProperty(S,b,x),x},c=this&&this.__param||function(y,S){return function(b,E){S(b,E,y)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionService=void 0;var h=A(11),l=A(52),e=A(4),n=A(0),i=A(5),r=A(1),a=A(30),t=A(53),s=A(2),u=String.fromCharCode(160),d=new RegExp(u,"g"),v=function(y){function S(b,E,C,T,x,_,I){var L=y.call(this)||this;return L._element=b,L._screenElement=E,L._bufferService=C,L._coreService=T,L._mouseService=x,L._optionsService=_,L._renderService=I,L._dragScrollAmount=0,L._enabled=!0,L._workCell=new e.CellData,L._mouseDownTimeStamp=0,L._onLinuxMouseSelection=L.register(new n.EventEmitter),L._onRedrawRequest=L.register(new n.EventEmitter),L._onSelectionChange=L.register(new n.EventEmitter),L._onRequestScrollLines=L.register(new n.EventEmitter),L._mouseMoveListener=function(R){return L._onMouseMove(R)},L._mouseUpListener=function(R){return L._onMouseUp(R)},L._coreService.onUserInput(function(){L.hasSelection&&L.clearSelection()}),L._trimListener=L._bufferService.buffer.lines.onTrim(function(R){return L._onTrim(R)}),L.register(L._bufferService.buffers.onBufferActivate(function(R){return L._onBufferActivate(R)})),L.enable(),L._model=new l.SelectionModel(L._bufferService),L._activeSelectionMode=0,L}return g(S,y),Object.defineProperty(S.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){this._removeMouseDownListeners()},S.prototype.reset=function(){this.clearSelection()},S.prototype.disable=function(){this.clearSelection(),this._enabled=!1},S.prototype.enable=function(){this._enabled=!0},Object.defineProperty(S.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"hasSelection",{get:function(){var E=this._model.finalSelectionStart,C=this._model.finalSelectionEnd;return!(!E||!C)&&(E[0]!==C[0]||E[1]!==C[1])},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"selectionText",{get:function(){var E=this._model.finalSelectionStart,C=this._model.finalSelectionEnd;if(!E||!C)return"";var T=this._bufferService.buffer,x=[];if(this._activeSelectionMode===3){if(E[0]===C[0])return"";for(var _=E[1];_<=C[1];_++){var I=T.translateBufferLineToString(_,!0,E[0],C[0]);x.push(I)}}else{var L=E[1]===C[1]?C[0]:void 0;for(x.push(T.translateBufferLineToString(E[1],!0,E[0],L)),_=E[1]+1;_<=C[1]-1;_++){var R=T.lines.get(_);I=T.translateBufferLineToString(_,!0),R&&R.isWrapped?x[x.length-1]+=I:x.push(I)}E[1]!==C[1]&&(R=T.lines.get(C[1]),I=T.translateBufferLineToString(C[1],!0,0,C[0]),R&&R.isWrapped?x[x.length-1]+=I:x.push(I))}return x.map(function(k){return k.replace(d," ")}).join(h.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),S.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},S.prototype.refresh=function(b){var E=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return E._refresh()})),h.isLinux&&b)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},S.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},S.prototype.isClickInSelection=function(b){var E=this._getMouseBufferCoords(b),C=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!!(C&&T&&E)&&this._areCoordsInSelection(E,C,T)},S.prototype._areCoordsInSelection=function(b,E,C){return b[1]>E[1]&&b[1]<C[1]||E[1]===C[1]&&b[1]===E[1]&&b[0]>=E[0]&&b[0]<C[0]||E[1]<C[1]&&b[1]===C[1]&&b[0]<C[0]||E[1]<C[1]&&b[1]===E[1]&&b[0]>=E[0]},S.prototype.selectWordAtCursor=function(b){var E=this._getMouseBufferCoords(b);E&&(this._selectWordAt(E,!1),this._model.selectionEnd=void 0,this.refresh(!0))},S.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},S.prototype.selectLines=function(b,E){this._model.clearSelection(),b=Math.max(b,0),E=Math.min(E,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,b],this._model.selectionEnd=[this._bufferService.cols,E],this.refresh(),this._onSelectionChange.fire()},S.prototype._onTrim=function(b){this._model.onTrim(b)&&this.refresh()},S.prototype._getMouseBufferCoords=function(b){var E=this._mouseService.getCoords(b,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(E)return E[0]--,E[1]--,E[1]+=this._bufferService.buffer.ydisp,E},S.prototype._getMouseEventScrollAmount=function(b){var E=a.getCoordsRelativeToElement(b,this._screenElement)[1],C=this._renderService.dimensions.canvasHeight;return E>=0&&E<=C?0:(E>C&&(E-=C),E=Math.min(Math.max(E,-50),50),(E/=50)/Math.abs(E)+Math.round(14*E))},S.prototype.shouldForceSelection=function(b){return h.isMac?b.altKey&&this._optionsService.options.macOptionClickForcesSelection:b.shiftKey},S.prototype.onMouseDown=function(b){if(this._mouseDownTimeStamp=b.timeStamp,(b.button!==2||!this.hasSelection)&&b.button===0){if(!this._enabled){if(!this.shouldForceSelection(b))return;b.stopPropagation()}b.preventDefault(),this._dragScrollAmount=0,this._enabled&&b.shiftKey?this._onIncrementalClick(b):b.detail===1?this._onSingleClick(b):b.detail===2?this._onDoubleClick(b):b.detail===3&&this._onTripleClick(b),this._addMouseDownListeners(),this.refresh(!0)}},S.prototype._addMouseDownListeners=function(){var b=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return b._dragScroll()},50)},S.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},S.prototype._onIncrementalClick=function(b){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(b))},S.prototype._onSingleClick=function(b){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(b)?3:0,this._model.selectionStart=this._getMouseBufferCoords(b),this._model.selectionStart){this._model.selectionEnd=void 0;var E=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);E&&E.length!==this._model.selectionStart[0]&&E.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},S.prototype._onDoubleClick=function(b){var E=this._getMouseBufferCoords(b);E&&(this._activeSelectionMode=1,this._selectWordAt(E,!0))},S.prototype._onTripleClick=function(b){var E=this._getMouseBufferCoords(b);E&&(this._activeSelectionMode=2,this._selectLineAt(E[1]))},S.prototype.shouldColumnSelect=function(b){return b.altKey&&!(h.isMac&&this._optionsService.options.macOptionClickForcesSelection)},S.prototype._onMouseMove=function(b){if(b.stopImmediatePropagation(),this._model.selectionStart){var E=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(b),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(b),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var C=this._bufferService.buffer;if(this._model.selectionEnd[1]<C.lines.length){var T=C.lines.get(this._model.selectionEnd[1]);T&&T.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}E&&E[0]===this._model.selectionEnd[0]&&E[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},S.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var b=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(b.ydisp+this._bufferService.rows,b.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=b.ydisp),this.refresh()}},S.prototype._onMouseUp=function(b){var E=b.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&E<500&&b.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var C=this._mouseService.getCoords(b,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(C&&C[0]!==void 0&&C[1]!==void 0){var T=t.moveToCellSequence(C[0]-1,C[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(T,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},S.prototype._onBufferActivate=function(b){var E=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=b.activeBuffer.lines.onTrim(function(C){return E._onTrim(C)})},S.prototype._convertViewportColToCharacterIndex=function(b,E){for(var C=E[0],T=0;E[0]>=T;T++){var x=b.loadCell(T,this._workCell).getChars().length;this._workCell.getWidth()===0?C--:x>1&&E[0]!==T&&(C+=x-1)}return C},S.prototype.setSelection=function(b,E,C){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[b,E],this._model.selectionStartLength=C,this.refresh()},S.prototype._getWordAt=function(b,E,C,T){if(C===void 0&&(C=!0),T===void 0&&(T=!0),!(b[0]>=this._bufferService.cols)){var x=this._bufferService.buffer,_=x.lines.get(b[1]);if(_){var I=x.translateBufferLineToString(b[1],!1),L=this._convertViewportColToCharacterIndex(_,b),R=L,k=b[0]-L,F=0,P=0,W=0,D=0;if(I.charAt(L)===" "){for(;L>0&&I.charAt(L-1)===" ";)L--;for(;R<I.length&&I.charAt(R+1)===" ";)R++}else{var U=b[0],H=b[0];_.getWidth(U)===0&&(F++,U--),_.getWidth(H)===2&&(P++,H++);var j=_.getString(H).length;for(j>1&&(D+=j-1,R+=j-1);U>0&&L>0&&!this._isCharWordSeparator(_.loadCell(U-1,this._workCell));){_.loadCell(U-1,this._workCell);var K=this._workCell.getChars().length;this._workCell.getWidth()===0?(F++,U--):K>1&&(W+=K-1,L-=K-1),L--,U--}for(;H<_.length&&R+1<I.length&&!this._isCharWordSeparator(_.loadCell(H+1,this._workCell));){_.loadCell(H+1,this._workCell);var X=this._workCell.getChars().length;this._workCell.getWidth()===2?(P++,H++):X>1&&(D+=X-1,R+=X-1),R++,H++}}R++;var z=L+k-F+W,Y=Math.min(this._bufferService.cols,R-L+F+P-W-D);if(E||I.slice(L,R).trim()!==""){if(C&&z===0&&_.getCodePoint(0)!==32){var $=x.lines.get(b[1]-1);if($&&_.isWrapped&&$.getCodePoint(this._bufferService.cols-1)!==32){var ne=this._getWordAt([this._bufferService.cols-1,b[1]-1],!1,!0,!1);if(ne){var J=this._bufferService.cols-ne.start;z-=J,Y+=J}}}if(T&&z+Y===this._bufferService.cols&&_.getCodePoint(this._bufferService.cols-1)!==32){var ge=x.lines.get(b[1]+1);if(ge&&ge.isWrapped&&ge.getCodePoint(0)!==32){var de=this._getWordAt([0,b[1]+1],!1,!1,!0);de&&(Y+=de.length)}}return{start:z,length:Y}}}}},S.prototype._selectWordAt=function(b,E){var C=this._getWordAt(b,E);if(C){for(;C.start<0;)C.start+=this._bufferService.cols,b[1]--;this._model.selectionStart=[C.start,b[1]],this._model.selectionStartLength=C.length}},S.prototype._selectToWordAt=function(b){var E=this._getWordAt(b,!0);if(E){for(var C=b[1];E.start<0;)E.start+=this._bufferService.cols,C--;if(!this._model.areSelectionValuesReversed())for(;E.start+E.length>this._bufferService.cols;)E.length-=this._bufferService.cols,C++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?E.start:E.start+E.length,C]}},S.prototype._isCharWordSeparator=function(b){return b.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(b.getChars())>=0},S.prototype._selectLineAt=function(b){var E=this._bufferService.buffer.getWrappedRangeForLine(b);this._model.selectionStart=[0,E.first],this._model.selectionEnd=[this._bufferService.cols,E.last],this._model.selectionStartLength=0},S=p([c(2,r.IBufferService),c(3,r.ICoreService),c(4,i.IMouseService),c(5,r.IOptionsService),c(6,i.IRenderService)],S)}(s.Disposable);f.SelectionService=v},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionModel=void 0;var m=function(){function g(p){this._bufferService=p,this.isSelectAllActive=!1,this.selectionStartLength=0}return g.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(g.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var c=this.selectionStart[0]+this.selectionStartLength;return c>this._bufferService.cols?[c%this._bufferService.cols,this.selectionStart[1]+Math.floor(c/this._bufferService.cols)]:[c,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),g.prototype.areSelectionValuesReversed=function(){var p=this.selectionStart,c=this.selectionEnd;return!(!p||!c)&&(p[1]>c[1]||p[1]===c[1]&&p[0]>c[0])},g.prototype.onTrim=function(p){return this.selectionStart&&(this.selectionStart[1]-=p),this.selectionEnd&&(this.selectionEnd[1]-=p),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},g}();f.SelectionModel=m},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.moveToCellSequence=void 0;var m=A(12);function g(n,i,r,a){var t=n-p(r,n),s=i-p(r,i);return e(Math.abs(t-s)-function(u,d,v){for(var y=0,S=u-p(v,u),b=d-p(v,d),E=0;E<Math.abs(S-b);E++){var C=c(u,d)==="A"?-1:1,T=v.buffer.lines.get(S+C*E);T&&T.isWrapped&&y++}return y}(n,i,r),l(c(n,i),a))}function p(n,i){for(var r=0,a=n.buffer.lines.get(i),t=a&&a.isWrapped;t&&i>=0&&i<n.rows;)r++,t=(a=n.buffer.lines.get(--i))&&a.isWrapped;return r}function c(n,i){return n>i?"A":"B"}function h(n,i,r,a,t,s){for(var u=n,d=i,v="";u!==r||d!==a;)u+=t?1:-1,t&&u>s.cols-1?(v+=s.buffer.translateBufferLineToString(d,!1,n,u),u=0,n=0,d++):!t&&u<0&&(v+=s.buffer.translateBufferLineToString(d,!1,0,n+1),n=u=s.cols-1,d--);return v+s.buffer.translateBufferLineToString(d,!1,n,u)}function l(n,i){var r=i?"O":"[";return m.C0.ESC+r+n}function e(n,i){n=Math.floor(n);for(var r="",a=0;a<n;a++)r+=i;return r}f.moveToCellSequence=function(n,i,r,a){var t,s=r.buffer.x,u=r.buffer.y;if(!r.buffer.hasScrollback)return function(v,y,S,b,E,C){return g(y,b,E,C).length===0?"":e(h(v,y,v,y-p(E,y),!1,E).length,l("D",C))}(s,u,0,i,r,a)+g(u,i,r,a)+function(v,y,S,b,E,C){var T;T=g(y,b,E,C).length>0?b-p(E,b):y;var x=b,_=function(I,L,R,k,F,P){var W;return W=g(R,k,F,P).length>0?k-p(F,k):L,I<R&&W<=k||I>=R&&W<k?"C":"D"}(v,y,S,b,E,C);return e(h(v,T,S,x,_==="C",E).length,l(_,C))}(s,u,n,i,r,a);if(u===i)return t=s>n?"D":"C",e(Math.abs(s-n),l(t,a));t=u>i?"D":"C";var d=Math.abs(u-i);return e(function(v,y){return y.cols-v}(u>i?n:s,r)+(d-1)*r.cols+1+((u>i?s:n)-1),l(t,a))}},function(w,f,A){"use strict";var m=this&&this.__decorate||function(h,l,e,n){var i,r=arguments.length,a=r<3?l:n===null?n=Object.getOwnPropertyDescriptor(l,e):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(h,l,e,n);else for(var t=h.length-1;t>=0;t--)(i=h[t])&&(a=(r<3?i(a):r>3?i(l,e,a):i(l,e))||a);return r>3&&a&&Object.defineProperty(l,e,a),a},g=this&&this.__param||function(h,l){return function(e,n){l(e,n,h)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SoundService=void 0;var p=A(1),c=function(){function h(l){this._optionsService=l}return Object.defineProperty(h,"audioContext",{get:function(){if(!h._audioContext){var e=window.AudioContext||window.webkitAudioContext;if(!e)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;h._audioContext=new e}return h._audioContext},enumerable:!1,configurable:!0}),h.prototype.playBellSound=function(){var l=h.audioContext;if(l){var e=l.createBufferSource();l.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(n){e.buffer=n,e.connect(l.destination),e.start(0)})}},h.prototype._base64ToArrayBuffer=function(l){for(var e=window.atob(l),n=e.length,i=new Uint8Array(n),r=0;r<n;r++)i[r]=e.charCodeAt(r);return i.buffer},h.prototype._removeMimeType=function(l){return l.split(",")[1]},h=m([g(0,p.IOptionsService)],h)}();f.SoundService=c},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(a,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var d in u)u.hasOwnProperty(d)&&(s[d]=u[d])})(a,t)},function(r,a){function t(){this.constructor=r}m(r,a),r.prototype=a===null?Object.create(a):(t.prototype=a.prototype,new t)}),p=this&&this.__decorate||function(r,a,t,s){var u,d=arguments.length,v=d<3?a:s===null?s=Object.getOwnPropertyDescriptor(a,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(r,a,t,s);else for(var y=r.length-1;y>=0;y--)(u=r[y])&&(v=(d<3?u(v):d>3?u(a,t,v):u(a,t))||v);return d>3&&v&&Object.defineProperty(a,t,v),v},c=this&&this.__param||function(r,a){return function(t,s){a(t,s,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseZoneManager=void 0;var h=A(2),l=A(7),e=A(5),n=A(1),i=function(r){function a(t,s,u,d,v,y){var S=r.call(this)||this;return S._element=t,S._screenElement=s,S._bufferService=u,S._mouseService=d,S._selectionService=v,S._optionsService=y,S._zones=[],S._areZonesActive=!1,S._lastHoverCoords=[void 0,void 0],S._initialSelectionLength=0,S.register(l.addDisposableDomListener(S._element,"mousedown",function(b){return S._onMouseDown(b)})),S._mouseMoveListener=function(b){return S._onMouseMove(b)},S._mouseLeaveListener=function(b){return S._onMouseLeave(b)},S._clickListener=function(b){return S._onClick(b)},S}return g(a,r),a.prototype.dispose=function(){r.prototype.dispose.call(this),this._deactivate()},a.prototype.add=function(t){this._zones.push(t),this._zones.length===1&&this._activate()},a.prototype.clearAll=function(t,s){if(this._zones.length!==0){t&&s||(t=0,s=this._bufferService.rows-1);for(var u=0;u<this._zones.length;u++){var d=this._zones[u];(d.y1>t&&d.y1<=s+1||d.y2>t&&d.y2<=s+1||d.y1<t&&d.y2>s+1)&&(this._currentZone&&this._currentZone===d&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(u--,1))}this._zones.length===0&&this._deactivate()}},a.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))},a.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))},a.prototype._onMouseMove=function(t){this._lastHoverCoords[0]===t.pageX&&this._lastHoverCoords[1]===t.pageY||(this._onHover(t),this._lastHoverCoords=[t.pageX,t.pageY])},a.prototype._onHover=function(t){var s=this,u=this._findZoneEventAt(t);u!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),u&&(this._currentZone=u,u.hoverCallback&&u.hoverCallback(t),this._tooltipTimeout=window.setTimeout(function(){return s._onTooltip(t)},this._optionsService.options.linkTooltipHoverDuration)))},a.prototype._onTooltip=function(t){this._tooltipTimeout=void 0;var s=this._findZoneEventAt(t);s&&s.tooltipCallback&&s.tooltipCallback(t)},a.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())}},a.prototype._onMouseLeave=function(t){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},a.prototype._onClick=function(t){var s=this._findZoneEventAt(t),u=this._getSelectionLength();s&&u===this._initialSelectionLength&&(s.clickCallback(t),t.preventDefault(),t.stopImmediatePropagation())},a.prototype._getSelectionLength=function(){var t=this._selectionService.selectionText;return t?t.length:0},a.prototype._findZoneEventAt=function(t){var s=this._mouseService.getCoords(t,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(s)for(var u=s[0],d=s[1],v=0;v<this._zones.length;v++){var y=this._zones[v];if(y.y1===y.y2){if(d===y.y1&&u>=y.x1&&u<y.x2)return y}else if(d===y.y1&&u>=y.x1||d===y.y2&&u<y.x2||d>y.y1&&d<y.y2)return y}},a=p([c(2,n.IBufferService),c(3,e.IMouseService),c(4,e.ISelectionService),c(5,n.IOptionsService)],a)}(h.Disposable);f.MouseZoneManager=i},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(t,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var v in d)d.hasOwnProperty(v)&&(u[v]=d[v])})(t,s)},function(a,t){function s(){this.constructor=a}m(a,t),a.prototype=t===null?Object.create(t):(s.prototype=t.prototype,new s)});Object.defineProperty(f,"__esModule",{value:!0}),f.AccessibilityManager=void 0;var p=A(18),c=A(11),h=A(31),l=A(7),e=A(2),n=A(32),i=A(17),r=function(a){function t(s,u){var d=a.call(this)||this;d._terminal=s,d._renderService=u,d._liveRegionLineCount=0,d._charsToConsume=[],d._charsToAnnounce="",d._accessibilityTreeRoot=document.createElement("div"),d._accessibilityTreeRoot.classList.add("xterm-accessibility"),d._rowContainer=document.createElement("div"),d._rowContainer.classList.add("xterm-accessibility-tree"),d._rowContainer.setAttribute("role","list"),d._rowElements=[];for(var v=0;v<d._terminal.rows;v++)d._rowElements[v]=d._createAccessibilityTreeNode(),d._rowContainer.appendChild(d._rowElements[v]);if(d._topBoundaryFocusListener=function(y){return d._onBoundaryFocus(y,0)},d._bottomBoundaryFocusListener=function(y){return d._onBoundaryFocus(y,1)},d._rowElements[0].addEventListener("focus",d._topBoundaryFocusListener),d._rowElements[d._rowElements.length-1].addEventListener("focus",d._bottomBoundaryFocusListener),d._refreshRowsDimensions(),d._accessibilityTreeRoot.appendChild(d._rowContainer),d._renderRowsDebouncer=new h.RenderDebouncer(d._renderRows.bind(d)),d._refreshRows(),d._liveRegion=document.createElement("div"),d._liveRegion.classList.add("live-region"),d._liveRegion.setAttribute("aria-live","assertive"),d._accessibilityTreeRoot.appendChild(d._liveRegion),!d._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return d._terminal.element.insertAdjacentElement("afterbegin",d._accessibilityTreeRoot),d.register(d._renderRowsDebouncer),d.register(d._terminal.onResize(function(y){return d._onResize(y.rows)})),d.register(d._terminal.onRender(function(y){return d._refreshRows(y.start,y.end)})),d.register(d._terminal.onScroll(function(){return d._refreshRows()})),d.register(d._terminal.onA11yChar(function(y){return d._onChar(y)})),d.register(d._terminal.onLineFeed(function(){return d._onChar(`
|
|
|
`)})),d.register(d._terminal.onA11yTab(function(y){return d._onTab(y)})),d.register(d._terminal.onKey(function(y){return d._onKey(y.key)})),d.register(d._terminal.onBlur(function(){return d._clearLiveRegion()})),d.register(d._renderService.onDimensionsChange(function(){return d._refreshRowsDimensions()})),d._screenDprMonitor=new n.ScreenDprMonitor,d.register(d._screenDprMonitor),d._screenDprMonitor.setListener(function(){return d._refreshRowsDimensions()}),d.register(l.addDisposableDomListener(window,"resize",function(){return d._refreshRowsDimensions()})),d}return g(t,a),t.prototype.dispose=function(){a.prototype.dispose.call(this),i.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},t.prototype._onBoundaryFocus=function(s,u){var d=s.target,v=this._rowElements[u===0?1:this._rowElements.length-2];if(d.getAttribute("aria-posinset")!==(u===0?"1":""+this._terminal.buffer.lines.length)&&s.relatedTarget===v){var y,S;if(u===0?(y=d,S=this._rowElements.pop(),this._rowContainer.removeChild(S)):(y=this._rowElements.shift(),S=d,this._rowContainer.removeChild(y)),y.removeEventListener("focus",this._topBoundaryFocusListener),S.removeEventListener("focus",this._bottomBoundaryFocusListener),u===0){var b=this._createAccessibilityTreeNode();this._rowElements.unshift(b),this._rowContainer.insertAdjacentElement("afterbegin",b)}else b=this._createAccessibilityTreeNode(),this._rowElements.push(b),this._rowContainer.appendChild(b);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(u===0?-1:1),this._rowElements[u===0?1:this._rowElements.length-2].focus(),s.preventDefault(),s.stopImmediatePropagation()}},t.prototype._onResize=function(s){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var u=this._rowContainer.children.length;u<this._terminal.rows;u++)this._rowElements[u]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[u]);for(;this._rowElements.length>s;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},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 u=0;u<s;u++)this._onChar(" ")},t.prototype._onChar=function(s){var u=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==s&&(this._charsToAnnounce+=s):this._charsToAnnounce+=s,s===`
|
|
|
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=p.tooMuchOutput)),c.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){u._accessibilityTreeRoot.appendChild(u._liveRegion)},0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,c.isMac&&i.removeElementFromParent(this._liveRegion)},t.prototype._onKey=function(s){this._clearLiveRegion(),this._charsToConsume.push(s)},t.prototype._refreshRows=function(s,u){this._renderRowsDebouncer.refresh(s,u,this._terminal.rows)},t.prototype._renderRows=function(s,u){for(var d=this._terminal.buffer,v=d.lines.length.toString(),y=s;y<=u;y++){var S=d.translateBufferLineToString(d.ydisp+y,!0),b=(d.ydisp+y+1).toString(),E=this._rowElements[y];E&&(S.length===0?E.innerHTML=" ":E.textContent=S,E.setAttribute("aria-posinset",b),E.setAttribute("aria-setsize",v))}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}(e.Disposable);f.AccessibilityManager=r},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(v,y){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,b){S.__proto__=b}||function(S,b){for(var E in b)b.hasOwnProperty(E)&&(S[E]=b[E])})(v,y)},function(d,v){function y(){this.constructor=d}m(d,v),d.prototype=v===null?Object.create(v):(y.prototype=v.prototype,new y)}),p=this&&this.__decorate||function(d,v,y,S){var b,E=arguments.length,C=E<3?v:S===null?S=Object.getOwnPropertyDescriptor(v,y):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")C=Reflect.decorate(d,v,y,S);else for(var T=d.length-1;T>=0;T--)(b=d[T])&&(C=(E<3?b(C):E>3?b(v,y,C):b(v,y))||C);return E>3&&C&&Object.defineProperty(v,y,C),C},c=this&&this.__param||function(d,v){return function(y,S){v(y,S,d)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DomRenderer=void 0;var h=A(58),l=A(9),e=A(2),n=A(5),i=A(1),r=A(0),a=A(10),t=A(17),s=1,u=function(d){function v(y,S,b,E,C,T,x,_,I){var L=d.call(this)||this;return L._colors=y,L._element=S,L._screenElement=b,L._viewportElement=E,L._linkifier=C,L._linkifier2=T,L._charSizeService=x,L._optionsService=_,L._bufferService=I,L._terminalClass=s++,L._rowElements=[],L._rowContainer=document.createElement("div"),L._rowContainer.classList.add("xterm-rows"),L._rowContainer.style.lineHeight="normal",L._rowContainer.setAttribute("aria-hidden","true"),L._refreshRowElements(L._bufferService.cols,L._bufferService.rows),L._selectionContainer=document.createElement("div"),L._selectionContainer.classList.add("xterm-selection"),L._selectionContainer.setAttribute("aria-hidden","true"),L.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},L._updateDimensions(),L._injectCss(),L._rowFactory=new h.DomRendererRowFactory(document,L._optionsService,L._colors),L._element.classList.add("xterm-dom-renderer-owner-"+L._terminalClass),L._screenElement.appendChild(L._rowContainer),L._screenElement.appendChild(L._selectionContainer),L._linkifier.onShowLinkUnderline(function(R){return L._onLinkHover(R)}),L._linkifier.onHideLinkUnderline(function(R){return L._onLinkLeave(R)}),L._linkifier2.onShowLinkUnderline(function(R){return L._onLinkHover(R)}),L._linkifier2.onHideLinkUnderline(function(R){return L._onLinkLeave(R)}),L}return g(v,d),Object.defineProperty(v.prototype,"onRequestRedraw",{get:function(){return new r.EventEmitter().event},enumerable:!1,configurable:!0}),v.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),t.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),d.prototype.dispose.call(this)},v.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 y=0,S=this._rowElements;y<S.length;y++){var b=S[y];b.style.width=this.dimensions.canvasWidth+"px",b.style.height=this.dimensions.actualCellHeight+"px",b.style.lineHeight=this.dimensions.actualCellHeight+"px",b.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var E=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=E,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},v.prototype.setColors=function(y){this._colors=y,this._injectCss()},v.prototype._injectCss=function(){var y=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var S=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";S+=this._terminalSelector+" span:not(."+h.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+h.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+h.ITALIC_CLASS+" { font-style: italic;}",S+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",S+="@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+"; }}",S+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+h.CURSOR_CLASS+"."+h.CURSOR_BLINK_CLASS+":not(."+h.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+h.CURSOR_CLASS+"."+h.CURSOR_BLINK_CLASS+"."+h.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",S+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(b,E){S+=y._terminalSelector+" .xterm-fg-"+E+" { color: "+b.css+"; }"+y._terminalSelector+" .xterm-bg-"+E+" { background-color: "+b.css+"; }"}),S+=this._terminalSelector+" .xterm-fg-"+l.INVERTED_DEFAULT_COLOR+" { color: "+a.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+l.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=S},v.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},v.prototype._refreshRowElements=function(y,S){for(var b=this._rowElements.length;b<=S;b++){var E=document.createElement("div");this._rowContainer.appendChild(E),this._rowElements.push(E)}for(;this._rowElements.length>S;)this._rowContainer.removeChild(this._rowElements.pop())},v.prototype.onResize=function(y,S){this._refreshRowElements(y,S),this._updateDimensions()},v.prototype.onCharSizeChanged=function(){this._updateDimensions()},v.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},v.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},v.prototype.onSelectionChanged=function(y,S,b){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(y&&S){var E=y[1]-this._bufferService.buffer.ydisp,C=S[1]-this._bufferService.buffer.ydisp,T=Math.max(E,0),x=Math.min(C,this._bufferService.rows-1);if(!(T>=this._bufferService.rows||x<0)){var _=document.createDocumentFragment();if(b)_.appendChild(this._createSelectionElement(T,y[0],S[0],x-T+1));else{var I=E===T?y[0]:0,L=T===x?S[0]:this._bufferService.cols;_.appendChild(this._createSelectionElement(T,I,L));var R=x-T-1;if(_.appendChild(this._createSelectionElement(T+1,0,this._bufferService.cols,R)),T!==x){var k=C===x?S[0]:this._bufferService.cols;_.appendChild(this._createSelectionElement(x,0,k))}}this._selectionContainer.appendChild(_)}}},v.prototype._createSelectionElement=function(y,S,b,E){E===void 0&&(E=1);var C=document.createElement("div");return C.style.height=E*this.dimensions.actualCellHeight+"px",C.style.top=y*this.dimensions.actualCellHeight+"px",C.style.left=S*this.dimensions.actualCellWidth+"px",C.style.width=this.dimensions.actualCellWidth*(b-S)+"px",C},v.prototype.onCursorMove=function(){},v.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},v.prototype.clear=function(){for(var y=0,S=this._rowElements;y<S.length;y++)S[y].innerHTML=""},v.prototype.renderRows=function(y,S){for(var b=this._bufferService.buffer.ybase+this._bufferService.buffer.y,E=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),C=this._optionsService.options.cursorBlink,T=y;T<=S;T++){var x=this._rowElements[T];x.innerHTML="";var _=T+this._bufferService.buffer.ydisp,I=this._bufferService.buffer.lines.get(_),L=this._optionsService.options.cursorStyle;x.appendChild(this._rowFactory.createRow(I,_===b,L,E,C,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(v.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),v.prototype.registerCharacterJoiner=function(y){return-1},v.prototype.deregisterCharacterJoiner=function(y){return!1},v.prototype._onLinkHover=function(y){this._setCellUnderline(y.x1,y.x2,y.y1,y.y2,y.cols,!0)},v.prototype._onLinkLeave=function(y){this._setCellUnderline(y.x1,y.x2,y.y1,y.y2,y.cols,!1)},v.prototype._setCellUnderline=function(y,S,b,E,C,T){for(;y!==S||b!==E;){var x=this._rowElements[b];if(!x)return;var _=x.children[y];_&&(_.style.textDecoration=T?"underline":"none"),++y>=C&&(y=0,b++)}},v=p([c(6,n.ICharSizeService),c(7,i.IOptionsService),c(8,i.IBufferService)],v)}(e.Disposable);f.DomRenderer=u},function(w,f,A){"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 m=A(9),g=A(3),p=A(4),c=A(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 h=function(){function e(n,i,r){this._document=n,this._optionsService=i,this._colors=r,this._workCell=new p.CellData}return e.prototype.setColors=function(n){this._colors=n},e.prototype.createRow=function(n,i,r,a,t,s,u){for(var d=this._document.createDocumentFragment(),v=0,y=Math.min(n.length,u)-1;y>=0;y--)if(n.loadCell(y,this._workCell).getCode()!==g.NULL_CELL_CODE||i&&y===a){v=y+1;break}for(y=0;y<v;y++){n.loadCell(y,this._workCell);var S=this._workCell.getWidth();if(S!==0){var b=this._document.createElement("span");if(S>1&&(b.style.width=s*S+"px"),i&&y===a)switch(b.classList.add(f.CURSOR_CLASS),t&&b.classList.add(f.CURSOR_BLINK_CLASS),r){case"bar":b.classList.add(f.CURSOR_STYLE_BAR_CLASS);break;case"underline":b.classList.add(f.CURSOR_STYLE_UNDERLINE_CLASS);break;default:b.classList.add(f.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&b.classList.add(f.BOLD_CLASS),this._workCell.isItalic()&&b.classList.add(f.ITALIC_CLASS),this._workCell.isDim()&&b.classList.add(f.DIM_CLASS),this._workCell.isUnderline()&&b.classList.add(f.UNDERLINE_CLASS),this._workCell.isInvisible()?b.textContent=g.WHITESPACE_CELL_CHAR:b.textContent=this._workCell.getChars()||g.WHITESPACE_CELL_CHAR;var E=this._workCell.getFgColor(),C=this._workCell.getFgColorMode(),T=this._workCell.getBgColor(),x=this._workCell.getBgColorMode(),_=!!this._workCell.isInverse();if(_){var I=E;E=T,T=I;var L=C;C=x,x=L}switch(C){case 16777216:case 33554432:this._workCell.isBold()&&E<8&&this._optionsService.options.drawBoldTextInBrightColors&&(E+=8),this._applyMinimumContrast(b,this._colors.background,this._colors.ansi[E])||b.classList.add("xterm-fg-"+E);break;case 50331648:var R=c.rgba.toColor(E>>16&255,E>>8&255,255&E);this._applyMinimumContrast(b,this._colors.background,R)||this._addStyle(b,"color:#"+l(E.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(b,this._colors.background,this._colors.foreground)||_&&b.classList.add("xterm-fg-"+m.INVERTED_DEFAULT_COLOR)}switch(x){case 16777216:case 33554432:b.classList.add("xterm-bg-"+T);break;case 50331648:this._addStyle(b,"background-color:#"+l(T.toString(16),"0",6));break;case 0:default:_&&b.classList.add("xterm-bg-"+m.INVERTED_DEFAULT_COLOR)}d.appendChild(b)}}return d},e.prototype._applyMinimumContrast=function(n,i,r){if(this._optionsService.options.minimumContrastRatio===1)return!1;var a=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return a===void 0&&(a=c.color.ensureContrastRatio(i,r,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,a!=null?a:null)),!!a&&(this._addStyle(n,"color:"+a.css),!0)},e.prototype._addStyle=function(n,i){n.setAttribute("style",""+(n.getAttribute("style")||"")+i+";")},e}();function l(e,n,i){for(;e.length<i;)e=n+e;return e}f.DomRendererRowFactory=h},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.evaluateKeyboardEvent=void 0;var m=A(12),g={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};f.evaluateKeyboardEvent=function(p,c,h,l){var e={type:0,cancel:!1,key:void 0},n=(p.shiftKey?1:0)|(p.altKey?2:0)|(p.ctrlKey?4:0)|(p.metaKey?8:0);switch(p.keyCode){case 0:p.key==="UIKeyInputUpArrow"?e.key=c?m.C0.ESC+"OA":m.C0.ESC+"[A":p.key==="UIKeyInputLeftArrow"?e.key=c?m.C0.ESC+"OD":m.C0.ESC+"[D":p.key==="UIKeyInputRightArrow"?e.key=c?m.C0.ESC+"OC":m.C0.ESC+"[C":p.key==="UIKeyInputDownArrow"&&(e.key=c?m.C0.ESC+"OB":m.C0.ESC+"[B");break;case 8:if(p.shiftKey){e.key=m.C0.BS;break}if(p.altKey){e.key=m.C0.ESC+m.C0.DEL;break}e.key=m.C0.DEL;break;case 9:if(p.shiftKey){e.key=m.C0.ESC+"[Z";break}e.key=m.C0.HT,e.cancel=!0;break;case 13:e.key=p.altKey?m.C0.ESC+m.C0.CR:m.C0.CR,e.cancel=!0;break;case 27:e.key=m.C0.ESC,p.altKey&&(e.key=m.C0.ESC+m.C0.ESC),e.cancel=!0;break;case 37:if(p.metaKey)break;n?(e.key=m.C0.ESC+"[1;"+(n+1)+"D",e.key===m.C0.ESC+"[1;3D"&&(e.key=m.C0.ESC+(h?"b":"[1;5D"))):e.key=c?m.C0.ESC+"OD":m.C0.ESC+"[D";break;case 39:if(p.metaKey)break;n?(e.key=m.C0.ESC+"[1;"+(n+1)+"C",e.key===m.C0.ESC+"[1;3C"&&(e.key=m.C0.ESC+(h?"f":"[1;5C"))):e.key=c?m.C0.ESC+"OC":m.C0.ESC+"[C";break;case 38:if(p.metaKey)break;n?(e.key=m.C0.ESC+"[1;"+(n+1)+"A",h||e.key!==m.C0.ESC+"[1;3A"||(e.key=m.C0.ESC+"[1;5A")):e.key=c?m.C0.ESC+"OA":m.C0.ESC+"[A";break;case 40:if(p.metaKey)break;n?(e.key=m.C0.ESC+"[1;"+(n+1)+"B",h||e.key!==m.C0.ESC+"[1;3B"||(e.key=m.C0.ESC+"[1;5B")):e.key=c?m.C0.ESC+"OB":m.C0.ESC+"[B";break;case 45:p.shiftKey||p.ctrlKey||(e.key=m.C0.ESC+"[2~");break;case 46:e.key=n?m.C0.ESC+"[3;"+(n+1)+"~":m.C0.ESC+"[3~";break;case 36:e.key=n?m.C0.ESC+"[1;"+(n+1)+"H":c?m.C0.ESC+"OH":m.C0.ESC+"[H";break;case 35:e.key=n?m.C0.ESC+"[1;"+(n+1)+"F":c?m.C0.ESC+"OF":m.C0.ESC+"[F";break;case 33:p.shiftKey?e.type=2:e.key=m.C0.ESC+"[5~";break;case 34:p.shiftKey?e.type=3:e.key=m.C0.ESC+"[6~";break;case 112:e.key=n?m.C0.ESC+"[1;"+(n+1)+"P":m.C0.ESC+"OP";break;case 113:e.key=n?m.C0.ESC+"[1;"+(n+1)+"Q":m.C0.ESC+"OQ";break;case 114:e.key=n?m.C0.ESC+"[1;"+(n+1)+"R":m.C0.ESC+"OR";break;case 115:e.key=n?m.C0.ESC+"[1;"+(n+1)+"S":m.C0.ESC+"OS";break;case 116:e.key=n?m.C0.ESC+"[15;"+(n+1)+"~":m.C0.ESC+"[15~";break;case 117:e.key=n?m.C0.ESC+"[17;"+(n+1)+"~":m.C0.ESC+"[17~";break;case 118:e.key=n?m.C0.ESC+"[18;"+(n+1)+"~":m.C0.ESC+"[18~";break;case 119:e.key=n?m.C0.ESC+"[19;"+(n+1)+"~":m.C0.ESC+"[19~";break;case 120:e.key=n?m.C0.ESC+"[20;"+(n+1)+"~":m.C0.ESC+"[20~";break;case 121:e.key=n?m.C0.ESC+"[21;"+(n+1)+"~":m.C0.ESC+"[21~";break;case 122:e.key=n?m.C0.ESC+"[23;"+(n+1)+"~":m.C0.ESC+"[23~";break;case 123:e.key=n?m.C0.ESC+"[24;"+(n+1)+"~":m.C0.ESC+"[24~";break;default:if(!p.ctrlKey||p.shiftKey||p.altKey||p.metaKey)if(h&&!l||!p.altKey||p.metaKey)h&&!p.altKey&&!p.ctrlKey&&p.metaKey?p.keyCode===65&&(e.type=1):p.key&&!p.ctrlKey&&!p.altKey&&!p.metaKey&&p.keyCode>=48&&p.key.length===1?e.key=p.key:p.key&&p.ctrlKey&&p.key==="_"&&(e.key=m.C0.US);else{var i=g[p.keyCode],r=i&&i[p.shiftKey?1:0];if(r)e.key=m.C0.ESC+r;else if(p.keyCode>=65&&p.keyCode<=90){var a=p.ctrlKey?p.keyCode-64:p.keyCode+32;e.key=m.C0.ESC+String.fromCharCode(a)}}else p.keyCode>=65&&p.keyCode<=90?e.key=String.fromCharCode(p.keyCode-64):p.keyCode===32?e.key=m.C0.NUL:p.keyCode>=51&&p.keyCode<=55?e.key=String.fromCharCode(p.keyCode-51+27):p.keyCode===56?e.key=m.C0.DEL:p.keyCode===219?e.key=m.C0.ESC:p.keyCode===220?e.key=m.C0.FS:p.keyCode===221&&(e.key=m.C0.GS)}return e}},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(u,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,y){v.__proto__=y}||function(v,y){for(var S in y)y.hasOwnProperty(S)&&(v[S]=y[S])})(u,d)},function(s,u){function d(){this.constructor=s}m(s,u),s.prototype=u===null?Object.create(u):(d.prototype=u.prototype,new d)}),p=this&&this.__decorate||function(s,u,d,v){var y,S=arguments.length,b=S<3?u:v===null?v=Object.getOwnPropertyDescriptor(u,d):v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(s,u,d,v);else for(var E=s.length-1;E>=0;E--)(y=s[E])&&(b=(S<3?y(b):S>3?y(u,d,b):y(u,d))||b);return S>3&&b&&Object.defineProperty(u,d,b),b},c=this&&this.__param||function(s,u){return function(d,v){u(d,v,s)}};Object.defineProperty(f,"__esModule",{value:!0}),f.RenderService=void 0;var h=A(31),l=A(0),e=A(2),n=A(32),i=A(7),r=A(1),a=A(5),t=function(s){function u(d,v,y,S,b,E){var C=s.call(this)||this;if(C._renderer=d,C._rowCount=v,C._isPaused=!1,C._needsFullRefresh=!1,C._isNextRenderRedrawOnly=!0,C._needsSelectionRefresh=!1,C._canvasWidth=0,C._canvasHeight=0,C._selectionState={start:void 0,end:void 0,columnSelectMode:!1},C._onDimensionsChange=new l.EventEmitter,C._onRender=new l.EventEmitter,C._onRefreshRequest=new l.EventEmitter,C.register({dispose:function(){return C._renderer.dispose()}}),C._renderDebouncer=new h.RenderDebouncer(function(x,_){return C._renderRows(x,_)}),C.register(C._renderDebouncer),C._screenDprMonitor=new n.ScreenDprMonitor,C._screenDprMonitor.setListener(function(){return C.onDevicePixelRatioChange()}),C.register(C._screenDprMonitor),C.register(E.onResize(function(x){return C._fullRefresh()})),C.register(S.onOptionChange(function(){return C._renderer.onOptionsChanged()})),C.register(b.onCharSizeChange(function(){return C.onCharSizeChanged()})),C._renderer.onRequestRedraw(function(x){return C.refreshRows(x.start,x.end,!0)}),C.register(i.addDisposableDomListener(window,"resize",function(){return C.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var T=new IntersectionObserver(function(x){return C._onIntersectionChange(x[x.length-1])},{threshold:0});T.observe(y),C.register({dispose:function(){return T.disconnect()}})}return C}return g(u,s),Object.defineProperty(u.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),u.prototype._onIntersectionChange=function(d){this._isPaused=d.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},u.prototype.refreshRows=function(d,v,y){y===void 0&&(y=!1),this._isPaused?this._needsFullRefresh=!0:(y||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(d,v,this._rowCount))},u.prototype._renderRows=function(d,v){this._renderer.renderRows(d,v),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:d,end:v}),this._isNextRenderRedrawOnly=!0},u.prototype.resize=function(d,v){this._rowCount=v,this._fireOnCanvasResize()},u.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},u.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},u.prototype.dispose=function(){s.prototype.dispose.call(this)},u.prototype.setRenderer=function(d){var v=this;this._renderer.dispose(),this._renderer=d,this._renderer.onRequestRedraw(function(y){return v.refreshRows(y.start,y.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},u.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},u.prototype.setColors=function(d){this._renderer.setColors(d),this._fullRefresh()},u.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},u.prototype.onResize=function(d,v){this._renderer.onResize(d,v),this._fullRefresh()},u.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},u.prototype.onBlur=function(){this._renderer.onBlur()},u.prototype.onFocus=function(){this._renderer.onFocus()},u.prototype.onSelectionChanged=function(d,v,y){this._selectionState.start=d,this._selectionState.end=v,this._selectionState.columnSelectMode=y,this._renderer.onSelectionChanged(d,v,y)},u.prototype.onCursorMove=function(){this._renderer.onCursorMove()},u.prototype.clear=function(){this._renderer.clear()},u.prototype.registerCharacterJoiner=function(d){return this._renderer.registerCharacterJoiner(d)},u.prototype.deregisterCharacterJoiner=function(d){return this._renderer.deregisterCharacterJoiner(d)},u=p([c(3,r.IOptionsService),c(4,a.ICharSizeService),c(5,r.IBufferService)],u)}(e.Disposable);f.RenderService=t},function(w,f,A){"use strict";var m=this&&this.__decorate||function(e,n,i,r){var a,t=arguments.length,s=t<3?n:r===null?r=Object.getOwnPropertyDescriptor(n,i):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,n,i,r);else for(var u=e.length-1;u>=0;u--)(a=e[u])&&(s=(t<3?a(s):t>3?a(n,i,s):a(n,i))||s);return t>3&&s&&Object.defineProperty(n,i,s),s},g=this&&this.__param||function(e,n){return function(i,r){n(i,r,e)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CharSizeService=void 0;var p=A(1),c=A(0),h=function(){function e(n,i,r){this._optionsService=r,this.width=0,this.height=0,this._onCharSizeChange=new c.EventEmitter,this._measureStrategy=new l(n,i,this._optionsService)}return Object.defineProperty(e.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),e.prototype.measure=function(){var n=this._measureStrategy.measure();n.width===this.width&&n.height===this.height||(this.width=n.width,this.height=n.height,this._onCharSizeChange.fire())},e=m([g(2,p.IOptionsService)],e)}();f.CharSizeService=h;var l=function(){function e(n,i,r){this._document=n,this._parentElement=i,this._optionsService=r,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return e.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var n=this._measureElement.getBoundingClientRect();return n.width!==0&&n.height!==0&&(this._result.width=n.width,this._result.height=Math.ceil(n.height)),this._result},e}()},function(w,f,A){"use strict";var m=this&&this.__decorate||function(l,e,n,i){var r,a=arguments.length,t=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,n):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(l,e,n,i);else for(var s=l.length-1;s>=0;s--)(r=l[s])&&(t=(a<3?r(t):a>3?r(e,n,t):r(e,n))||t);return a>3&&t&&Object.defineProperty(e,n,t),t},g=this&&this.__param||function(l,e){return function(n,i){e(n,i,l)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseService=void 0;var p=A(5),c=A(30),h=function(){function l(e,n){this._renderService=e,this._charSizeService=n}return l.prototype.getCoords=function(e,n,i,r,a){return c.getCoords(e,n,i,r,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,a)},l.prototype.getRawByteCoords=function(e,n,i,r){var a=this.getCoords(e,n,i,r);return c.getRawByteCoords(a)},l=m([g(0,p.IRenderService),g(1,p.ICharSizeService)],l)}();f.MouseService=h},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(a,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var d in u)u.hasOwnProperty(d)&&(s[d]=u[d])})(a,t)},function(r,a){function t(){this.constructor=r}m(r,a),r.prototype=a===null?Object.create(a):(t.prototype=a.prototype,new t)}),p=this&&this.__decorate||function(r,a,t,s){var u,d=arguments.length,v=d<3?a:s===null?s=Object.getOwnPropertyDescriptor(a,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(r,a,t,s);else for(var y=r.length-1;y>=0;y--)(u=r[y])&&(v=(d<3?u(v):d>3?u(a,t,v):u(a,t))||v);return d>3&&v&&Object.defineProperty(a,t,v),v},c=this&&this.__param||function(r,a){return function(t,s){a(t,s,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Linkifier2=void 0;var h=A(1),l=A(0),e=A(2),n=A(7),i=function(r){function a(t){var s=r.call(this)||this;return s._bufferService=t,s._linkProviders=[],s._linkCacheDisposables=[],s._isMouseOut=!0,s._activeLine=-1,s._onShowLinkUnderline=s.register(new l.EventEmitter),s._onHideLinkUnderline=s.register(new l.EventEmitter),s.register(e.getDisposeArrayDisposable(s._linkCacheDisposables)),s}return g(a,r),Object.defineProperty(a.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),a.prototype.registerLinkProvider=function(t){var s=this;return this._linkProviders.push(t),{dispose:function(){var d=s._linkProviders.indexOf(t);d!==-1&&s._linkProviders.splice(d,1)}}},a.prototype.attachToDom=function(t,s,u){var d=this;this._element=t,this._mouseService=s,this._renderService=u,this.register(n.addDisposableDomListener(this._element,"mouseleave",function(){d._isMouseOut=!0,d._clearCurrentLink()})),this.register(n.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(n.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},a.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 u=t.composedPath(),d=0;d<u.length;d++){var v=u[d];if(v.classList.contains("xterm"))break;if(v.classList.contains("xterm-hover"))return}this._lastBufferCell&&s.x===this._lastBufferCell.x&&s.y===this._lastBufferCell.y||(this._onHover(s),this._lastBufferCell=s)}}},a.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))},a.prototype._askForLink=function(t,s){var u=this;this._activeProviderReplies&&s||(this._activeProviderReplies=new Map,this._activeLine=t.y);var d=!1;this._linkProviders.forEach(function(v,y){var S;s?((S=u._activeProviderReplies)===null||S===void 0?void 0:S.get(y))&&(d=u._checkLinkProviderResult(y,t,d)):v.provideLinks(t.y,function(b){var E,C;if(!u._isMouseOut){var T=b==null?void 0:b.map(function(x){return{link:x}});(E=u._activeProviderReplies)===null||E===void 0||E.set(y,T),d=u._checkLinkProviderResult(y,t,d),((C=u._activeProviderReplies)===null||C===void 0?void 0:C.size)===u._linkProviders.length&&u._removeIntersectingLinks(t.y,u._activeProviderReplies)}})})},a.prototype._removeIntersectingLinks=function(t,s){for(var u=new Set,d=0;d<s.size;d++){var v=s.get(d);if(v)for(var y=0;y<v.length;y++)for(var S=v[y],b=S.link.range.start.y<t?0:S.link.range.start.x,E=S.link.range.end.y>t?this._bufferService.cols:S.link.range.end.x,C=b;C<=E;C++){if(u.has(C)){v.splice(y--,1);break}u.add(C)}}},a.prototype._checkLinkProviderResult=function(t,s,u){var d,v=this;if(!this._activeProviderReplies)return u;for(var y=this._activeProviderReplies.get(t),S=!1,b=0;b<t;b++)this._activeProviderReplies.has(b)&&!this._activeProviderReplies.get(b)||(S=!0);if(!S&&y){var E=y.find(function(T){return v._linkAtPosition(T.link,s)});E&&(u=!0,this._handleNewLink(E))}if(this._activeProviderReplies.size===this._linkProviders.length&&!u)for(b=0;b<this._activeProviderReplies.size;b++){var C=(d=this._activeProviderReplies.get(b))===null||d===void 0?void 0:d.find(function(T){return v._linkAtPosition(T.link,s)});if(C){u=!0,this._handleNewLink(C);break}}return u},a.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)}},a.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,e.disposeArray(this._linkCacheDisposables))},a.prototype._handleNewLink=function(t){var s=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var u=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);u&&this._linkAtPosition(t.link,u)&&(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 v,y;return(y=(v=s._currentLink)===null||v===void 0?void 0:v.state)===null||y===void 0?void 0:y.decorations.pointerCursor},set:function(v){var y,S;((y=s._currentLink)===null||y===void 0?void 0:y.state)&&s._currentLink.state.decorations.pointerCursor!==v&&(s._currentLink.state.decorations.pointerCursor=v,s._currentLink.state.isHovered&&((S=s._element)===null||S===void 0||S.classList.toggle("xterm-cursor-pointer",v)))}},underline:{get:function(){var v,y;return(y=(v=s._currentLink)===null||v===void 0?void 0:v.state)===null||y===void 0?void 0:y.decorations.underline},set:function(v){var y,S,b;((y=s._currentLink)===null||y===void 0?void 0:y.state)&&((b=(S=s._currentLink)===null||S===void 0?void 0:S.state)===null||b===void 0?void 0:b.decorations.underline)!==v&&(s._currentLink.state.decorations.underline=v,s._currentLink.state.isHovered&&s._fireUnderlineEvent(t.link,v))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(d){var v=d.start===0?0:d.start+1+s._bufferService.buffer.ydisp;s._clearCurrentLink(v,d.end+1+s._bufferService.buffer.ydisp)})))}},a.prototype._linkHover=function(t,s,u){var d;((d=this._currentLink)===null||d===void 0?void 0:d.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(u,s.text)},a.prototype._fireUnderlineEvent=function(t,s){var u=t.range,d=this._bufferService.buffer.ydisp,v=this._createLinkUnderlineEvent(u.start.x-1,u.start.y-d-1,u.end.x,u.end.y-d-1,void 0);(s?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(v)},a.prototype._linkLeave=function(t,s,u){var d;((d=this._currentLink)===null||d===void 0?void 0:d.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(u,s.text)},a.prototype._linkAtPosition=function(t,s){var u=t.range.start.y===t.range.end.y,d=t.range.start.y<s.y,v=t.range.end.y>s.y;return(u&&t.range.start.x<=s.x&&t.range.end.x>=s.x||d&&t.range.end.x>=s.x||v&&t.range.start.x<=s.x||d&&v)&&t.range.start.y<=s.y&&t.range.end.y>=s.y},a.prototype._positionFromMouseEvent=function(t,s,u){var d=u.getCoords(t,s,this._bufferService.cols,this._bufferService.rows);if(d)return{x:d[0],y:d[1]+this._bufferService.buffer.ydisp}},a.prototype._createLinkUnderlineEvent=function(t,s,u,d,v){return{x1:t,y1:s,x2:u,y2:d,cols:this._bufferService.cols,fg:v}},a=p([c(0,h.IBufferService)],a)}(e.Disposable);f.Linkifier2=i},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CoreBrowserService=void 0;var m=function(){function g(p){this._textarea=p}return Object.defineProperty(g.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),g}();f.CoreBrowserService=m},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(E,C){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,x){T.__proto__=x}||function(T,x){for(var _ in x)x.hasOwnProperty(_)&&(T[_]=x[_])})(E,C)},function(b,E){function C(){this.constructor=b}m(b,E),b.prototype=E===null?Object.create(E):(C.prototype=E.prototype,new C)});Object.defineProperty(f,"__esModule",{value:!0}),f.CoreTerminal=void 0;var p=A(2),c=A(1),h=A(66),l=A(67),e=A(68),n=A(74),i=A(75),r=A(0),a=A(76),t=A(77),s=A(78),u=A(80),d=A(81),v=A(19),y=A(82),S=function(b){function E(C){var T=b.call(this)||this;return T._onBinary=new r.EventEmitter,T._onData=new r.EventEmitter,T._onLineFeed=new r.EventEmitter,T._onResize=new r.EventEmitter,T._onScroll=new r.EventEmitter,T._instantiationService=new h.InstantiationService,T.optionsService=new n.OptionsService(C),T._instantiationService.setService(c.IOptionsService,T.optionsService),T._bufferService=T.register(T._instantiationService.createInstance(e.BufferService)),T._instantiationService.setService(c.IBufferService,T._bufferService),T._logService=T._instantiationService.createInstance(l.LogService),T._instantiationService.setService(c.ILogService,T._logService),T._coreService=T.register(T._instantiationService.createInstance(i.CoreService,function(){return T.scrollToBottom()})),T._instantiationService.setService(c.ICoreService,T._coreService),T._coreMouseService=T._instantiationService.createInstance(a.CoreMouseService),T._instantiationService.setService(c.ICoreMouseService,T._coreMouseService),T._dirtyRowService=T._instantiationService.createInstance(t.DirtyRowService),T._instantiationService.setService(c.IDirtyRowService,T._dirtyRowService),T.unicodeService=T._instantiationService.createInstance(s.UnicodeService),T._instantiationService.setService(c.IUnicodeService,T.unicodeService),T._charsetService=T._instantiationService.createInstance(u.CharsetService),T._instantiationService.setService(c.ICharsetService,T._charsetService),T._inputHandler=new v.InputHandler(T._bufferService,T._charsetService,T._coreService,T._dirtyRowService,T._logService,T.optionsService,T._coreMouseService,T.unicodeService),T.register(r.forwardEvent(T._inputHandler.onLineFeed,T._onLineFeed)),T.register(T._inputHandler),T.register(r.forwardEvent(T._bufferService.onResize,T._onResize)),T.register(r.forwardEvent(T._coreService.onData,T._onData)),T.register(r.forwardEvent(T._coreService.onBinary,T._onBinary)),T.register(T.optionsService.onOptionChange(function(x){return T._updateOptions(x)})),T._writeBuffer=new y.WriteBuffer(function(x){return T._inputHandler.parse(x)}),T}return g(E,b),Object.defineProperty(E.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){var C;this._isDisposed||(b.prototype.dispose.call(this),(C=this._windowsMode)===null||C===void 0||C.dispose(),this._windowsMode=void 0)},E.prototype.write=function(C,T){this._writeBuffer.write(C,T)},E.prototype.writeSync=function(C){this._writeBuffer.writeSync(C)},E.prototype.resize=function(C,T){isNaN(C)||isNaN(T)||(C=Math.max(C,e.MINIMUM_COLS),T=Math.max(T,e.MINIMUM_ROWS),this._bufferService.resize(C,T))},E.prototype.scroll=function(C,T){T===void 0&&(T=!1);var x,_=this._bufferService.buffer;(x=this._cachedBlankLine)&&x.length===this.cols&&x.getFg(0)===C.fg&&x.getBg(0)===C.bg||(x=_.getBlankLine(C,T),this._cachedBlankLine=x),x.isWrapped=T;var I=_.ybase+_.scrollTop,L=_.ybase+_.scrollBottom;if(_.scrollTop===0){var R=_.lines.isFull;L===_.lines.length-1?R?_.lines.recycle().copyFrom(x):_.lines.push(x.clone()):_.lines.splice(L+1,0,x.clone()),R?this._bufferService.isUserScrolling&&(_.ydisp=Math.max(_.ydisp-1,0)):(_.ybase++,this._bufferService.isUserScrolling||_.ydisp++)}else{var k=L-I+1;_.lines.shiftElements(I+1,k-1,-1),_.lines.set(L,x.clone())}this._bufferService.isUserScrolling||(_.ydisp=_.ybase),this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom),this._onScroll.fire(_.ydisp)},E.prototype.scrollLines=function(C,T){var x=this._bufferService.buffer;if(C<0){if(x.ydisp===0)return;this._bufferService.isUserScrolling=!0}else C+x.ydisp>=x.ybase&&(this._bufferService.isUserScrolling=!1);var _=x.ydisp;x.ydisp=Math.max(Math.min(x.ydisp+C,x.ybase),0),_!==x.ydisp&&(T||this._onScroll.fire(x.ydisp))},E.prototype.scrollPages=function(C){this.scrollLines(C*(this.rows-1))},E.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},E.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},E.prototype.scrollToLine=function(C){var T=C-this._bufferService.buffer.ydisp;T!==0&&this.scrollLines(T)},E.prototype.addEscHandler=function(C,T){return this._inputHandler.addEscHandler(C,T)},E.prototype.addDcsHandler=function(C,T){return this._inputHandler.addDcsHandler(C,T)},E.prototype.addCsiHandler=function(C,T){return this._inputHandler.addCsiHandler(C,T)},E.prototype.addOscHandler=function(C,T){return this._inputHandler.addOscHandler(C,T)},E.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},E.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},E.prototype._updateOptions=function(C){var T;switch(C){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)}},E.prototype._enableWindowsMode=function(){var C=this;if(!this._windowsMode){var T=[];T.push(this.onLineFeed(d.updateWindowsModeWrappedState.bind(null,this._bufferService))),T.push(this.addCsiHandler({final:"H"},function(){return d.updateWindowsModeWrappedState(C._bufferService),!1})),this._windowsMode={dispose:function(){for(var _=0,I=T;_<I.length;_++)I[_].dispose()}}}},E}(p.Disposable);f.CoreTerminal=S},function(w,f,A){"use strict";var m=this&&this.__spreadArrays||function(){for(var l=0,e=0,n=arguments.length;e<n;e++)l+=arguments[e].length;var i=Array(l),r=0;for(e=0;e<n;e++)for(var a=arguments[e],t=0,s=a.length;t<s;t++,r++)i[r]=a[t];return i};Object.defineProperty(f,"__esModule",{value:!0}),f.InstantiationService=f.ServiceCollection=void 0;var g=A(1),p=A(14),c=function(){function l(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._entries=new Map;for(var i=0,r=e;i<r.length;i++){var a=r[i],t=a[0],s=a[1];this.set(t,s)}}return l.prototype.set=function(e,n){var i=this._entries.get(e);return this._entries.set(e,n),i},l.prototype.forEach=function(e){this._entries.forEach(function(n,i){return e(i,n)})},l.prototype.has=function(e){return this._entries.has(e)},l.prototype.get=function(e){return this._entries.get(e)},l}();f.ServiceCollection=c;var h=function(){function l(){this._services=new c,this._services.set(g.IInstantiationService,this)}return l.prototype.setService=function(e,n){this._services.set(e,n)},l.prototype.getService=function(e){return this._services.get(e)},l.prototype.createInstance=function(e){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];for(var r=p.getServiceDependencies(e).sort(function(y,S){return y.index-S.index}),a=[],t=0,s=r;t<s.length;t++){var u=s[t],d=this._services.get(u.id);if(!d)throw new Error("[createInstance] "+e.name+" depends on UNKNOWN service "+u.id+".");a.push(d)}var v=r.length>0?r[0].index:n.length;if(n.length!==v)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(v+1)+" conflicts with "+n.length+" static arguments");return new(e.bind.apply(e,m([void 0],m(n,a))))},l}();f.InstantiationService=h},function(w,f,A){"use strict";var m=this&&this.__decorate||function(n,i,r,a){var t,s=arguments.length,u=s<3?i:a===null?a=Object.getOwnPropertyDescriptor(i,r):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(n,i,r,a);else for(var d=n.length-1;d>=0;d--)(t=n[d])&&(u=(s<3?t(u):s>3?t(i,r,u):t(i,r))||u);return s>3&&u&&Object.defineProperty(i,r,u),u},g=this&&this.__param||function(n,i){return function(r,a){i(r,a,n)}},p=this&&this.__spreadArrays||function(){for(var n=0,i=0,r=arguments.length;i<r;i++)n+=arguments[i].length;var a=Array(n),t=0;for(i=0;i<r;i++)for(var s=arguments[i],u=0,d=s.length;u<d;u++,t++)a[t]=s[u];return a};Object.defineProperty(f,"__esModule",{value:!0}),f.LogService=f.LogLevel=void 0;var c,h=A(1);!function(n){n[n.DEBUG=0]="DEBUG",n[n.INFO=1]="INFO",n[n.WARN=2]="WARN",n[n.ERROR=3]="ERROR",n[n.OFF=4]="OFF"}(c=f.LogLevel||(f.LogLevel={}));var l={debug:c.DEBUG,info:c.INFO,warn:c.WARN,error:c.ERROR,off:c.OFF},e=function(){function n(i){var r=this;this._optionsService=i,this._updateLogLevel(),this._optionsService.onOptionChange(function(a){a==="logLevel"&&r._updateLogLevel()})}return n.prototype._updateLogLevel=function(){this._logLevel=l[this._optionsService.options.logLevel]},n.prototype._evalLazyOptionalParams=function(i){for(var r=0;r<i.length;r++)typeof i[r]=="function"&&(i[r]=i[r]())},n.prototype._log=function(i,r,a){this._evalLazyOptionalParams(a),i.call.apply(i,p([console,"xterm.js: "+r],a))},n.prototype.debug=function(i){for(var r=[],a=1;a<arguments.length;a++)r[a-1]=arguments[a];this._logLevel<=c.DEBUG&&this._log(console.log,i,r)},n.prototype.info=function(i){for(var r=[],a=1;a<arguments.length;a++)r[a-1]=arguments[a];this._logLevel<=c.INFO&&this._log(console.info,i,r)},n.prototype.warn=function(i){for(var r=[],a=1;a<arguments.length;a++)r[a-1]=arguments[a];this._logLevel<=c.WARN&&this._log(console.warn,i,r)},n.prototype.error=function(i){for(var r=[],a=1;a<arguments.length;a++)r[a-1]=arguments[a];this._logLevel<=c.ERROR&&this._log(console.error,i,r)},n=m([g(0,h.IOptionsService)],n)}();f.LogService=e},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(a,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var d in u)u.hasOwnProperty(d)&&(s[d]=u[d])})(a,t)},function(r,a){function t(){this.constructor=r}m(r,a),r.prototype=a===null?Object.create(a):(t.prototype=a.prototype,new t)}),p=this&&this.__decorate||function(r,a,t,s){var u,d=arguments.length,v=d<3?a:s===null?s=Object.getOwnPropertyDescriptor(a,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(r,a,t,s);else for(var y=r.length-1;y>=0;y--)(u=r[y])&&(v=(d<3?u(v):d>3?u(a,t,v):u(a,t))||v);return d>3&&v&&Object.defineProperty(a,t,v),v},c=this&&this.__param||function(r,a){return function(t,s){a(t,s,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.BufferService=f.MINIMUM_ROWS=f.MINIMUM_COLS=void 0;var h=A(1),l=A(69),e=A(0),n=A(2);f.MINIMUM_COLS=2,f.MINIMUM_ROWS=1;var i=function(r){function a(t){var s=r.call(this)||this;return s._optionsService=t,s.isUserScrolling=!1,s._onResize=new e.EventEmitter,s.cols=Math.max(t.options.cols,f.MINIMUM_COLS),s.rows=Math.max(t.options.rows,f.MINIMUM_ROWS),s.buffers=new l.BufferSet(t,s),s}return g(a,r),Object.defineProperty(a.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),a.prototype.dispose=function(){r.prototype.dispose.call(this),this.buffers.dispose()},a.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})},a.prototype.reset=function(){this.buffers.dispose(),this.buffers=new l.BufferSet(this._optionsService,this),this.isUserScrolling=!1},a=p([c(0,h.IOptionsService)],a)}(n.Disposable);f.BufferService=i},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(e,n){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var a in r)r.hasOwnProperty(a)&&(i[a]=r[a])})(e,n)},function(l,e){function n(){this.constructor=l}m(l,e),l.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(f,"__esModule",{value:!0}),f.BufferSet=void 0;var p=A(70),c=A(0),h=function(l){function e(n,i){var r=l.call(this)||this;return r._onBufferActivate=r.register(new c.EventEmitter),r._normal=new p.Buffer(!0,n,i),r._normal.fillViewportRows(),r._alt=new p.Buffer(!1,n,i),r._activeBuffer=r._normal,r.setupTabStops(),r}return g(e,l),Object.defineProperty(e.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),e.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}))},e.prototype.activateAltBuffer=function(n){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(n),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}))},e.prototype.resize=function(n,i){this._normal.resize(n,i),this._alt.resize(n,i)},e.prototype.setupTabStops=function(n){this._normal.setupTabStops(n),this._alt.setupTabStops(n)},e}(A(2).Disposable);f.BufferSet=h},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferStringIterator=f.Buffer=f.MAX_BUFFER_SIZE=void 0;var m=A(71),g=A(16),p=A(4),c=A(3),h=A(72),l=A(73),e=A(20),n=A(6);f.MAX_BUFFER_SIZE=4294967295;var i=function(){function a(t,s,u){this._hasScrollback=t,this._optionsService=s,this._bufferService=u,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=g.DEFAULT_ATTR_DATA.clone(),this.savedCharset=e.DEFAULT_CHARSET,this.markers=[],this._nullCell=p.CellData.fromCharData([0,c.NULL_CELL_CHAR,c.NULL_CELL_WIDTH,c.NULL_CELL_CODE]),this._whitespaceCell=p.CellData.fromCharData([0,c.WHITESPACE_CELL_CHAR,c.WHITESPACE_CELL_WIDTH,c.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return a.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 n.ExtendedAttrs),this._nullCell},a.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 n.ExtendedAttrs),this._whitespaceCell},a.prototype.getBlankLine=function(t,s){return new g.BufferLine(this._bufferService.cols,this.getNullCell(t),s)},Object.defineProperty(a.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isCursorInViewport",{get:function(){var s=this.ybase+this.y-this.ydisp;return s>=0&&s<this._rows},enumerable:!1,configurable:!0}),a.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},a.prototype.fillViewportRows=function(t){if(this.lines.length===0){t===void 0&&(t=g.DEFAULT_ATTR_DATA);for(var s=this._rows;s--;)this.lines.push(this.getBlankLine(t))}},a.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},a.prototype.resize=function(t,s){var u=this.getNullCell(g.DEFAULT_ATTR_DATA),d=this._getCorrectBufferLength(s);if(d>this.lines.maxLength&&(this.lines.maxLength=d),this.lines.length>0){if(this._cols<t)for(var v=0;v<this.lines.length;v++)this.lines.get(v).resize(t,u);var y=0;if(this._rows<s)for(var S=this._rows;S<s;S++)this.lines.length<s+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new g.BufferLine(t,u)):this.ybase>0&&this.lines.length<=this.ybase+this.y+y+1?(this.ybase--,y++,this.ydisp>0&&this.ydisp--):this.lines.push(new g.BufferLine(t,u)));else for(S=this._rows;S>s;S--)this.lines.length>s+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(d<this.lines.maxLength){var b=this.lines.length-d;b>0&&(this.lines.trimStart(b),this.ybase=Math.max(this.ybase-b,0),this.ydisp=Math.max(this.ydisp-b,0),this.savedY=Math.max(this.savedY-b,0)),this.lines.maxLength=d}this.x=Math.min(this.x,t-1),this.y=Math.min(this.y,s-1),y&&(this.y+=y),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(v=0;v<this.lines.length;v++)this.lines.get(v).resize(t,u);this._cols=t,this._rows=s},Object.defineProperty(a.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),a.prototype._reflow=function(t,s){this._cols!==t&&(t>this._cols?this._reflowLarger(t,s):this._reflowSmaller(t,s))},a.prototype._reflowLarger=function(t,s){var u=h.reflowLargerGetLinesToRemove(this.lines,this._cols,t,this.ybase+this.y,this.getNullCell(g.DEFAULT_ATTR_DATA));if(u.length>0){var d=h.reflowLargerCreateNewLayout(this.lines,u);h.reflowLargerApplyNewLayout(this.lines,d.layout),this._reflowLargerAdjustViewport(t,s,d.countRemoved)}},a.prototype._reflowLargerAdjustViewport=function(t,s,u){for(var d=this.getNullCell(g.DEFAULT_ATTR_DATA),v=u;v-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<s&&this.lines.push(new g.BufferLine(t,d))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-u,0)},a.prototype._reflowSmaller=function(t,s){for(var u=this.getNullCell(g.DEFAULT_ATTR_DATA),d=[],v=0,y=this.lines.length-1;y>=0;y--){var S=this.lines.get(y);if(!(!S||!S.isWrapped&&S.getTrimmedLength()<=t)){for(var b=[S];S.isWrapped&&y>0;)S=this.lines.get(--y),b.unshift(S);var E=this.ybase+this.y;if(!(E>=y&&E<y+b.length)){var C=b[b.length-1].getTrimmedLength(),T=h.reflowSmallerGetNewLineLengths(b,this._cols,t),x=T.length-b.length,_=void 0;_=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+x):Math.max(0,this.lines.length-this.lines.maxLength+x);for(var I=[],L=0;L<x;L++){var R=this.getBlankLine(g.DEFAULT_ATTR_DATA,!0);I.push(R)}I.length>0&&(d.push({start:y+b.length+v,newLines:I}),v+=I.length),b.push.apply(b,I);var k=T.length-1,F=T[k];F===0&&(F=T[--k]);for(var P=b.length-x-1,W=C;P>=0;){var D=Math.min(W,F);if(b[k].copyCellsFrom(b[P],W-D,F-D,D,!0),(F-=D)===0&&(F=T[--k]),(W-=D)===0){P--;var U=Math.max(P,0);W=h.getWrappedLineTrimmedLength(b,U,this._cols)}}for(L=0;L<b.length;L++)T[L]<t&&b[L].setCell(T[L],u);for(var H=x-_;H-- >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+v)-s&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+x,this.ybase+s-1)}}}if(d.length>0){var j=[],K=[];for(L=0;L<this.lines.length;L++)K.push(this.lines.get(L));var X=this.lines.length,z=X-1,Y=0,$=d[Y];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+v);var ne=0;for(L=Math.min(this.lines.maxLength-1,X+v-1);L>=0;L--)if($&&$.start>z+ne){for(var J=$.newLines.length-1;J>=0;J--)this.lines.set(L--,$.newLines[J]);L++,j.push({index:z+1,amount:$.newLines.length}),ne+=$.newLines.length,$=d[++Y]}else this.lines.set(L,K[z--]);var ge=0;for(L=j.length-1;L>=0;L--)j[L].index+=ge,this.lines.onInsertEmitter.fire(j[L]),ge+=j[L].amount;var de=Math.max(0,X+v-this.lines.maxLength);de>0&&this.lines.onTrimEmitter.fire(de)}},a.prototype.stringIndexToBufferIndex=function(t,s,u){for(u===void 0&&(u=!1);s;){var d=this.lines.get(t);if(!d)return[-1,-1];for(var v=u?d.getTrimmedLength():d.length,y=0;y<v;++y)if(d.get(y)[c.CHAR_DATA_WIDTH_INDEX]&&(s-=d.get(y)[c.CHAR_DATA_CHAR_INDEX].length||1),s<0)return[t,y];t++}return[t,0]},a.prototype.translateBufferLineToString=function(t,s,u,d){u===void 0&&(u=0);var v=this.lines.get(t);return v?v.translateToString(s,u,d):""},a.prototype.getWrappedRangeForLine=function(t){for(var s=t,u=t;s>0&&this.lines.get(s).isWrapped;)s--;for(;u+1<this.lines.length&&this.lines.get(u+1).isWrapped;)u++;return{first:s,last:u}},a.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},a.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},a.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},a.prototype.addMarker=function(t){var s=this,u=new l.Marker(t);return this.markers.push(u),u.register(this.lines.onTrim(function(d){u.line-=d,u.line<0&&u.dispose()})),u.register(this.lines.onInsert(function(d){u.line>=d.index&&(u.line+=d.amount)})),u.register(this.lines.onDelete(function(d){u.line>=d.index&&u.line<d.index+d.amount&&u.dispose(),u.line>d.index&&(u.line-=d.amount)})),u.register(u.onDispose(function(){return s._removeMarker(u)})),u},a.prototype._removeMarker=function(t){this.markers.splice(this.markers.indexOf(t),1)},a.prototype.iterator=function(t,s,u,d,v){return new r(this,t,s,u,d,v)},a}();f.Buffer=i;var r=function(){function a(t,s,u,d,v,y){u===void 0&&(u=0),d===void 0&&(d=t.lines.length),v===void 0&&(v=0),y===void 0&&(y=0),this._buffer=t,this._trimRight=s,this._startIndex=u,this._endIndex=d,this._startOverscan=v,this._endOverscan=y,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return a.prototype.hasNext=function(){return this._current<this._endIndex},a.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="",u=t.first;u<=t.last;++u)s+=this._buffer.translateBufferLineToString(u,this._trimRight);return this._current=t.last+1,{range:t,content:s}},a}();f.BufferStringIterator=r},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CircularList=void 0;var m=A(0),g=function(){function p(c){this._maxLength=c,this.onDeleteEmitter=new m.EventEmitter,this.onInsertEmitter=new m.EventEmitter,this.onTrimEmitter=new m.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(p.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"maxLength",{get:function(){return this._maxLength},set:function(h){if(this._maxLength!==h){for(var l=new Array(h),e=0;e<Math.min(h,this.length);e++)l[e]=this._array[this._getCyclicIndex(e)];this._array=l,this._maxLength=h,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"length",{get:function(){return this._length},set:function(h){if(h>this._length)for(var l=this._length;l<h;l++)this._array[l]=void 0;this._length=h},enumerable:!1,configurable:!0}),p.prototype.get=function(c){return this._array[this._getCyclicIndex(c)]},p.prototype.set=function(c,h){this._array[this._getCyclicIndex(c)]=h},p.prototype.push=function(c){this._array[this._getCyclicIndex(this._length)]=c,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},p.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(p.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),p.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},p.prototype.splice=function(c,h){for(var l=[],e=2;e<arguments.length;e++)l[e-2]=arguments[e];if(h){for(var n=c;n<this._length-h;n++)this._array[this._getCyclicIndex(n)]=this._array[this._getCyclicIndex(n+h)];this._length-=h}for(n=this._length-1;n>=c;n--)this._array[this._getCyclicIndex(n+l.length)]=this._array[this._getCyclicIndex(n)];for(n=0;n<l.length;n++)this._array[this._getCyclicIndex(c+n)]=l[n];if(this._length+l.length>this._maxLength){var i=this._length+l.length-this._maxLength;this._startIndex+=i,this._length=this._maxLength,this.onTrimEmitter.fire(i)}else this._length+=l.length},p.prototype.trimStart=function(c){c>this._length&&(c=this._length),this._startIndex+=c,this._length-=c,this.onTrimEmitter.fire(c)},p.prototype.shiftElements=function(c,h,l){if(!(h<=0)){if(c<0||c>=this._length)throw new Error("start argument out of range");if(c+l<0)throw new Error("Cannot shift elements in list beyond index 0");if(l>0){for(var e=h-1;e>=0;e--)this.set(c+e+l,this.get(c+e));var n=c+h+l-this._length;if(n>0)for(this._length+=n;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(e=0;e<h;e++)this.set(c+e+l,this.get(c+e))}},p.prototype._getCyclicIndex=function(c){return(this._startIndex+c)%this._maxLength},p}();f.CircularList=g},function(w,f,A){"use strict";function m(g,p,c){if(p===g.length-1)return g[p].getTrimmedLength();var h=!g[p].hasContent(c-1)&&g[p].getWidth(c-1)===1,l=g[p+1].getWidth(0)===2;return h&&l?c-1:c}Object.defineProperty(f,"__esModule",{value:!0}),f.getWrappedLineTrimmedLength=f.reflowSmallerGetNewLineLengths=f.reflowLargerApplyNewLayout=f.reflowLargerCreateNewLayout=f.reflowLargerGetLinesToRemove=void 0,f.reflowLargerGetLinesToRemove=function(g,p,c,h,l){for(var e=[],n=0;n<g.length-1;n++){var i=n,r=g.get(++i);if(r.isWrapped){for(var a=[g.get(n)];i<g.length&&r.isWrapped;)a.push(r),r=g.get(++i);if(h>=n&&h<i)n+=a.length-1;else{for(var t=0,s=m(a,t,p),u=1,d=0;u<a.length;){var v=m(a,u,p),y=v-d,S=c-s,b=Math.min(y,S);a[t].copyCellsFrom(a[u],d,s,b,!1),(s+=b)===c&&(t++,s=0),(d+=b)===v&&(u++,d=0),s===0&&t!==0&&a[t-1].getWidth(c-1)===2&&(a[t].copyCellsFrom(a[t-1],c-1,s++,1,!1),a[t-1].setCell(c-1,l))}a[t].replaceCells(s,c,l);for(var E=0,C=a.length-1;C>0&&(C>t||a[C].getTrimmedLength()===0);C--)E++;E>0&&(e.push(n+a.length-E),e.push(E)),n+=a.length-1}}}return e},f.reflowLargerCreateNewLayout=function(g,p){for(var c=[],h=0,l=p[h],e=0,n=0;n<g.length;n++)if(l===n){var i=p[++h];g.onDeleteEmitter.fire({index:n-e,amount:i}),n+=i-1,e+=i,l=p[++h]}else c.push(n);return{layout:c,countRemoved:e}},f.reflowLargerApplyNewLayout=function(g,p){for(var c=[],h=0;h<p.length;h++)c.push(g.get(p[h]));for(h=0;h<c.length;h++)g.set(h,c[h]);g.length=p.length},f.reflowSmallerGetNewLineLengths=function(g,p,c){for(var h=[],l=g.map(function(s,u){return m(g,u,p)}).reduce(function(s,u){return s+u}),e=0,n=0,i=0;i<l;){if(l-i<c){h.push(l-i);break}e+=c;var r=m(g,n,p);e>r&&(e-=r,n++);var a=g[n].getWidth(e-1)===2;a&&e--;var t=a?c-1:c;h.push(t),i+=t}return h},f.getWrappedLineTrimmedLength=m},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(l,e){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)i.hasOwnProperty(r)&&(n[r]=i[r])})(l,e)},function(h,l){function e(){this.constructor=h}m(h,l),h.prototype=l===null?Object.create(l):(e.prototype=l.prototype,new e)});Object.defineProperty(f,"__esModule",{value:!0}),f.Marker=void 0;var p=A(0),c=function(h){function l(e){var n=h.call(this)||this;return n.line=e,n._id=l._nextId++,n.isDisposed=!1,n._onDispose=new p.EventEmitter,n}return g(l,h),Object.defineProperty(l.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),l.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},l._nextId=1,l}(A(2).Disposable);f.Marker=c},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OptionsService=f.DEFAULT_OPTIONS=f.DEFAULT_BELL_SOUND=void 0;var m=A(0),g=A(11),p=A(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:g.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var c=["cols","rows"],h=function(){function l(e){this._onOptionChange=new m.EventEmitter,this.options=p.clone(f.DEFAULT_OPTIONS);for(var n=0,i=Object.keys(e);n<i.length;n++){var r=i[n];if(r in this.options){var a=e[r];this.options[r]=a}}}return Object.defineProperty(l.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),l.prototype.setOption=function(e,n){if(!(e in f.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');if(c.indexOf(e)!==-1)throw new Error('Option "'+e+'" can only be set in the constructor');this.options[e]!==n&&(n=this._sanitizeAndValidateOption(e,n),this.options[e]!==n&&(this.options[e]=n,this._onOptionChange.fire(e)))},l.prototype._sanitizeAndValidateOption=function(e,n){switch(e){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":n||(n=f.DEFAULT_OPTIONS[e]);break;case"cursorWidth":n=Math.floor(n);case"lineHeight":case"tabStopWidth":if(n<1)throw new Error(e+" cannot be less than 1, value: "+n);break;case"minimumContrastRatio":n=Math.max(1,Math.min(21,Math.round(10*n)/10));break;case"scrollback":if((n=Math.min(n,4294967295))<0)throw new Error(e+" cannot be less than 0, value: "+n);break;case"fastScrollSensitivity":case"scrollSensitivity":if(n<=0)throw new Error(e+" cannot be less than or equal to 0, value: "+n)}return n},l.prototype.getOption=function(e){if(!(e in f.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');return this.options[e]},l}();f.OptionsService=h},function(w,f,A){"use strict";var m,g=this&&this.__extends||(m=function(s,u){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,v){d.__proto__=v}||function(d,v){for(var y in v)v.hasOwnProperty(y)&&(d[y]=v[y])})(s,u)},function(t,s){function u(){this.constructor=t}m(t,s),t.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}),p=this&&this.__decorate||function(t,s,u,d){var v,y=arguments.length,S=y<3?s:d===null?d=Object.getOwnPropertyDescriptor(s,u):d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(t,s,u,d);else for(var b=t.length-1;b>=0;b--)(v=t[b])&&(S=(y<3?v(S):y>3?v(s,u,S):v(s,u))||S);return y>3&&S&&Object.defineProperty(s,u,S),S},c=this&&this.__param||function(t,s){return function(u,d){s(u,d,t)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CoreService=void 0;var h=A(1),l=A(0),e=A(33),n=A(2),i=Object.freeze({insertMode:!1}),r=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),a=function(t){function s(u,d,v,y){var S=t.call(this)||this;return S._bufferService=d,S._logService=v,S._optionsService=y,S.isCursorInitialized=!1,S.isCursorHidden=!1,S._onData=S.register(new l.EventEmitter),S._onUserInput=S.register(new l.EventEmitter),S._onBinary=S.register(new l.EventEmitter),S._scrollToBottom=u,S.register({dispose:function(){return S._scrollToBottom=void 0}}),S.modes=e.clone(i),S.decPrivateModes=e.clone(r),S}return g(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=e.clone(i),this.decPrivateModes=e.clone(r)},s.prototype.triggerDataEvent=function(u,d){if(d===void 0&&(d=!1),!this._optionsService.options.disableStdin){var v=this._bufferService.buffer;v.ybase!==v.ydisp&&this._scrollToBottom(),d&&this._onUserInput.fire(),this._logService.debug('sending data "'+u+'"',function(){return u.split("").map(function(y){return y.charCodeAt(0)})}),this._onData.fire(u)}},s.prototype.triggerBinaryEvent=function(u){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+u+'"',function(){return u.split("").map(function(d){return d.charCodeAt(0)})}),this._onBinary.fire(u))},s=p([c(1,h.IBufferService),c(2,h.ILogService),c(3,h.IOptionsService)],s)}(n.Disposable);f.CoreService=a},function(w,f,A){"use strict";var m=this&&this.__decorate||function(r,a,t,s){var u,d=arguments.length,v=d<3?a:s===null?s=Object.getOwnPropertyDescriptor(a,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(r,a,t,s);else for(var y=r.length-1;y>=0;y--)(u=r[y])&&(v=(d<3?u(v):d>3?u(a,t,v):u(a,t))||v);return d>3&&v&&Object.defineProperty(a,t,v),v},g=this&&this.__param||function(r,a){return function(t,s){a(t,s,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CoreMouseService=void 0;var p=A(1),c=A(0),h={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(a){return a.button!==4&&a.action===1&&(a.ctrl=!1,a.alt=!1,a.shift=!1,!0)}},VT200:{events:19,restrict:function(a){return a.action!==32}},DRAG:{events:23,restrict:function(a){return a.action!==32||a.button!==3}},ANY:{events:31,restrict:function(a){return!0}}};function l(r,a){var t=(r.ctrl?16:0)|(r.shift?4:0)|(r.alt?8:0);return r.button===4?(t|=64,t|=r.action):(t|=3&r.button,4&r.button&&(t|=64),8&r.button&&(t|=128),r.action===32?t|=32:r.action!==0||a||(t|=3)),t}var e=String.fromCharCode,n={DEFAULT:function(a){var t=[l(a,!1)+32,a.col+32,a.row+32];return t[0]>255||t[1]>255||t[2]>255?"":"[M"+e(t[0])+e(t[1])+e(t[2])},SGR:function(a){var t=a.action===0&&a.button!==4?"m":"M";return"[<"+l(a,!0)+";"+a.col+";"+a.row+t}},i=function(){function r(a,t){this._bufferService=a,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new c.EventEmitter,this._lastEvent=null;for(var s=0,u=Object.keys(h);s<u.length;s++){var d=u[s];this.addProtocol(d,h[d])}for(var v=0,y=Object.keys(n);v<y.length;v++){var S=y[v];this.addEncoding(S,n[S])}this.reset()}return r.prototype.addProtocol=function(a,t){this._protocols[a]=t},r.prototype.addEncoding=function(a,t){this._encodings[a]=t},Object.defineProperty(r.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(r.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(t){if(!this._encodings[t])throw new Error('unknown encoding "'+t+'"');this._activeEncoding=t},enumerable:!1,configurable:!0}),r.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(r.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),r.prototype.triggerMouseEvent=function(a){if(a.col<0||a.col>=this._bufferService.cols||a.row<0||a.row>=this._bufferService.rows)return!1;if(a.button===4&&a.action===32)return!1;if(a.button===3&&a.action!==32)return!1;if(a.button!==4&&(a.action===2||a.action===3))return!1;if(a.col++,a.row++,a.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,a))return!1;if(!this._protocols[this._activeProtocol].restrict(a))return!1;var t=this._encodings[this._activeEncoding](a);return t&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=a,!0},r.prototype.explainEvents=function(a){return{down:!!(1&a),up:!!(2&a),drag:!!(4&a),move:!!(8&a),wheel:!!(16&a)}},r.prototype._compareEvents=function(a,t){return a.col===t.col&&a.row===t.row&&a.button===t.button&&a.action===t.action&&a.ctrl===t.ctrl&&a.alt===t.alt&&a.shift===t.shift},r=m([g(0,p.IBufferService),g(1,p.ICoreService)],r)}();f.CoreMouseService=i},function(w,f,A){"use strict";var m=this&&this.__decorate||function(h,l,e,n){var i,r=arguments.length,a=r<3?l:n===null?n=Object.getOwnPropertyDescriptor(l,e):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(h,l,e,n);else for(var t=h.length-1;t>=0;t--)(i=h[t])&&(a=(r<3?i(a):r>3?i(l,e,a):i(l,e))||a);return r>3&&a&&Object.defineProperty(l,e,a),a},g=this&&this.__param||function(h,l){return function(e,n){l(e,n,h)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DirtyRowService=void 0;var p=A(1),c=function(){function h(l){this._bufferService=l,this.clearRange()}return Object.defineProperty(h.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),h.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},h.prototype.markDirty=function(l){l<this._start?this._start=l:l>this._end&&(this._end=l)},h.prototype.markRangeDirty=function(l,e){if(l>e){var n=l;l=e,e=n}l<this._start&&(this._start=l),e>this._end&&(this._end=e)},h.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},h=m([g(0,p.IBufferService)],h)}();f.DirtyRowService=c},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeService=void 0;var m=A(0),g=A(79),p=function(){function c(){this._providers=Object.create(null),this._active="",this._onChange=new m.EventEmitter;var h=new g.UnicodeV6;this.register(h),this._active=h.version,this._activeProvider=h}return Object.defineProperty(c.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"activeVersion",{get:function(){return this._active},set:function(l){if(!this._providers[l])throw new Error('unknown Unicode version "'+l+'"');this._active=l,this._activeProvider=this._providers[l],this._onChange.fire(l)},enumerable:!1,configurable:!0}),c.prototype.register=function(h){this._providers[h.version]=h},c.prototype.wcwidth=function(h){return this._activeProvider.wcwidth(h)},c.prototype.getStringCellWidth=function(h){for(var l=0,e=h.length,n=0;n<e;++n){var i=h.charCodeAt(n);if(55296<=i&&i<=56319){if(++n>=e)return l+this.wcwidth(i);var r=h.charCodeAt(n);56320<=r&&r<=57343?i=1024*(i-55296)+r-56320+65536:l+=this.wcwidth(r)}l+=this.wcwidth(i)}return l},c}();f.UnicodeService=p},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeV6=void 0;var m,g=A(15),p=[[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]],c=[[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]],h=function(){function l(){if(this.version="6",!m){m=new Uint8Array(65536),g.fill(m,1),m[0]=0,g.fill(m,0,1,32),g.fill(m,0,127,160),g.fill(m,2,4352,4448),m[9001]=2,m[9002]=2,g.fill(m,2,11904,42192),m[12351]=1,g.fill(m,2,44032,55204),g.fill(m,2,63744,64256),g.fill(m,2,65040,65050),g.fill(m,2,65072,65136),g.fill(m,2,65280,65377),g.fill(m,2,65504,65511);for(var e=0;e<p.length;++e)g.fill(m,0,p[e][0],p[e][1]+1)}}return l.prototype.wcwidth=function(e){return e<32?0:e<127?1:e<65536?m[e]:function(n,i){var r,a=0,t=i.length-1;if(n<i[0][0]||n>i[t][1])return!1;for(;t>=a;)if(n>i[r=a+t>>1][1])a=r+1;else{if(!(n<i[r][0]))return!0;t=r-1}return!1}(e,c)?0:e>=131072&&e<=196605||e>=196608&&e<=262141?2:1},l}();f.UnicodeV6=h},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CharsetService=void 0;var m=function(){function g(){this.glevel=0,this._charsets=[]}return g.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},g.prototype.setgLevel=function(p){this.glevel=p,this.charset=this._charsets[p]},g.prototype.setgCharset=function(p,c){this._charsets[p]=c,this.glevel===p&&(this.charset=c)},g}();f.CharsetService=m},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.updateWindowsModeWrappedState=void 0;var m=A(3);f.updateWindowsModeWrappedState=function(g){var p=g.buffer.lines.get(g.buffer.ybase+g.buffer.y-1),c=p==null?void 0:p.get(g.cols-1),h=g.buffer.lines.get(g.buffer.ybase+g.buffer.y);h&&c&&(h.isWrapped=c[m.CHAR_DATA_CODE_INDEX]!==m.NULL_CELL_CODE&&c[m.CHAR_DATA_CODE_INDEX]!==m.WHITESPACE_CELL_CODE)}},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.WriteBuffer=void 0;var m=function(){function g(p){this._action=p,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return g.prototype.writeSync=function(p){if(this._writeBuffer.length){for(var c=this._bufferOffset;c<this._writeBuffer.length;++c){var h=this._writeBuffer[c],l=this._callbacks[c];this._action(h),l&&l()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(p)},g.prototype.write=function(p,c){var h=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 h._innerWrite()})),this._pendingData+=p.length,this._writeBuffer.push(p),this._callbacks.push(c)},g.prototype._innerWrite=function(){for(var p=this,c=Date.now();this._writeBuffer.length>this._bufferOffset;){var h=this._writeBuffer[this._bufferOffset],l=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(h),this._pendingData-=h.length,l&&l(),Date.now()-c>=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 p._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},g}();f.WriteBuffer=m},function(w,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AddonManager=void 0;var m=function(){function g(){this._addons=[]}return g.prototype.dispose=function(){for(var p=this._addons.length-1;p>=0;p--)this._addons[p].instance.dispose()},g.prototype.loadAddon=function(p,c){var h=this,l={instance:c,dispose:c.dispose,isDisposed:!1};this._addons.push(l),c.dispose=function(){return h._wrappedAddonDispose(l)},c.activate(p)},g.prototype._wrappedAddonDispose=function(p){if(!p.isDisposed){for(var c=-1,h=0;h<this._addons.length;h++)if(this._addons[h]===p){c=h;break}if(c===-1)throw new Error("Could not dispose an addon that has not been loaded");p.isDisposed=!0,p.dispose.apply(p.instance),this._addons.splice(c,1)}},g}();f.AddonManager=m}])})},"/SeX":function(M,B,o){var w=o("knOB"),f=o("qZFw"),A=function(g){this.name=g||"",this.cx=0,this.cy=0,this._radiusAxis=new w,this._angleAxis=new f,this._radiusAxis.polar=this._angleAxis.polar=this};A.prototype={type:"polar",axisPointerEnabled:!0,constructor:A,dimensions:["radius","angle"],model:null,containPoint:function(g){var p=this.pointToCoord(g);return this._radiusAxis.contain(p[0])&&this._angleAxis.contain(p[1])},containData:function(g){return this._radiusAxis.containData(g[0])&&this._angleAxis.containData(g[1])},getAxis:function(g){return this["_"+g+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(g){var p=[],c=this._angleAxis,h=this._radiusAxis;return c.scale.type===g&&p.push(c),h.scale.type===g&&p.push(h),p},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(g){var p=this._angleAxis;return g===p?this._radiusAxis:p},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(g){var p=g!=null&&g!=="auto"?this.getAxis(g):this.getBaseAxis();return{baseAxes:[p],otherAxes:[this.getOtherAxis(p)]}},dataToPoint:function(g,p){return this.coordToPoint([this._radiusAxis.dataToRadius(g[0],p),this._angleAxis.dataToAngle(g[1],p)])},pointToData:function(g,p){var c=this.pointToCoord(g);return[this._radiusAxis.radiusToData(c[0],p),this._angleAxis.angleToData(c[1],p)]},pointToCoord:function(g){var p=g[0]-this.cx,c=g[1]-this.cy,h=this.getAngleAxis(),l=h.getExtent(),e=Math.min(l[0],l[1]),n=Math.max(l[0],l[1]);h.inverse?e=n-360:n=e+360;var i=Math.sqrt(p*p+c*c);p/=i,c/=i;for(var r=Math.atan2(-c,p)/Math.PI*180,a=r<e?1:-1;r<e||r>n;)r+=a*360;return[i,r]},coordToPoint:function(g){var p=g[0],c=g[1]/180*Math.PI,h=Math.cos(c)*p+this.cx,l=-Math.sin(c)*p+this.cy;return[h,l]},getArea:function(){var g=this.getAngleAxis(),p=this.getRadiusAxis(),c=p.getExtent().slice();c[0]>c[1]&&c.reverse();var h=g.getExtent(),l=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:c[0],r:c[1],startAngle:-h[0]*l,endAngle:-h[1]*l,clockwise:g.inverse,contain:function(e,n){var i=e-this.cx,r=n-this.cy,a=i*i+r*r,t=this.r,s=this.r0;return a<=t*t&&a>=s*s}}}};var m=A;M.exports=m},"/WM3":function(M,B,o){var w=o("QuXc"),f=o("bYtY"),A=f.isFunction,m={createOnAllSeries:!0,performRawSeries:!0,reset:function(g,p){var c=g.getData(),h=(g.visualColorAccessPath||"itemStyle.color").split("."),l=g.get(h),e=A(l)&&!(l instanceof w)?l:null;(!l||e)&&(l=g.getColorFromPalette(g.name,null,p.getSeriesCount())),c.setVisual("color",l);var n=(g.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),i=g.get(n);if(c.setVisual("borderColor",i),!p.isSeriesFiltered(g)){e&&c.each(function(a){c.setItemVisual(a,"color",e(g.getDataParams(a)))});var r=function(a,t){var s=a.getItemModel(t),u=s.get(h,!0),d=s.get(n,!0);u!=null&&a.setItemVisual(t,"color",u),d!=null&&a.setItemVisual(t,"borderColor",d)};return{dataEach:c.hasItemOption?r:null}}}};M.exports=m},"/d5a":function(M,B){var o={average:function(A){for(var m=0,g=0,p=0;p<A.length;p++)isNaN(A[p])||(m+=A[p],g++);return g===0?NaN:m/g},sum:function(A){for(var m=0,g=0;g<A.length;g++)m+=A[g]||0;return m},max:function(A){for(var m=-Infinity,g=0;g<A.length;g++)A[g]>m&&(m=A[g]);return isFinite(m)?m:NaN},min:function(A){for(var m=Infinity,g=0;g<A.length;g++)A[g]<m&&(m=A[g]);return isFinite(m)?m:NaN},nearest:function(A){return A[0]}},w=function(A,m){return Math.round(A.length/2)};function f(A){return{seriesType:A,modifyOutputEnd:!0,reset:function(m,g,p){var c=m.getData(),h=m.get("sampling"),l=m.coordinateSystem;if(l.type==="cartesian2d"&&h){var e=l.getBaseAxis(),n=l.getOtherAxis(e),i=e.getExtent(),r=i[1]-i[0],a=Math.round(c.count()/r);if(a>1){var t;typeof h=="string"?t=o[h]:typeof h=="function"&&(t=h),t&&m.setData(c.downSample(c.mapDimension(n.dim),1/a,t,w))}}}}}M.exports=f},"/iHx":function(M,B,o){var w=o("6GrX"),f=o("IwbS"),A=["textStyle","color"],m={getTextColor:function(g){var p=this.ecModel;return this.getShallow("color")||(!g&&p?p.get(A):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(g){return w.getBoundingRect(g,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};M.exports=m},"/ry/":function(M,B,o){var w=o("bYtY"),f=o("T4UG"),A=o("5GhG"),m=A.seriesModelMixin,g=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}});w.mixin(g,m,!0);var p=g;M.exports=p},"/stD":function(M,B,o){var w=o("bYtY"),f=o("IUWy"),A=o("Kagy"),m=A.toolbox.brush;function g(h,l,e){this.model=h,this.ecModel=l,this.api=e,this._brushType,this._brushMode}g.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:w.clone(m.title)};var p=g.prototype;p.render=p.updateView=function(h,l,e){var n,i,r;l.eachComponent({mainType:"brush"},function(a){n=a.brushType,i=a.brushOption.brushMode||"single",r|=a.areas.length}),this._brushType=n,this._brushMode=i,w.each(h.get("type",!0),function(a){h.setIconStatus(a,(a==="keep"?i==="multiple":a==="clear"?r:a===n)?"emphasis":"normal")})},p.getIcons=function(){var h=this.model,l=h.get("icon",!0),e={};return w.each(h.get("type",!0),function(n){l[n]&&(e[n]=l[n])}),e},p.onclick=function(h,l,e){var n=this._brushType,i=this._brushMode;e==="clear"?(l.dispatchAction({type:"axisAreaSelect",intervals:[]}),l.dispatchAction({type:"brush",command:"clear",areas:[]})):l.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:e==="keep"?n:n===e?!1:e,brushMode:e==="keep"?i==="multiple"?"single":"multiple":i}})},f.register("brush",g);var c=g;M.exports=c},"/y7N":function(M,B,o){var w=o("bYtY"),f=o("IwbS"),A=o("6GrX"),m=o("7aKB"),g=o("Fofx"),p=o("aX7z"),c=o("+rIm");function h(u){var d=u.get("type"),v=u.getModel(d+"Style"),y;return d==="line"?(y=v.getLineStyle(),y.fill=null):d==="shadow"&&(y=v.getAreaStyle(),y.stroke=null),y}function l(u,d,v,y,S){var b=v.get("value"),E=n(b,d.axis,d.ecModel,v.get("seriesDataIndices"),{precision:v.get("label.precision"),formatter:v.get("label.formatter")}),C=v.getModel("label"),T=m.normalizeCssArray(C.get("padding")||0),x=C.getFont(),_=A.getBoundingRect(E,x),I=S.position,L=_.width+T[1]+T[3],R=_.height+T[0]+T[2],k=S.align;k==="right"&&(I[0]-=L),k==="center"&&(I[0]-=L/2);var F=S.verticalAlign;F==="bottom"&&(I[1]-=R),F==="middle"&&(I[1]-=R/2),e(I,L,R,y);var P=C.get("backgroundColor");(!P||P==="auto")&&(P=d.get("axisLine.lineStyle.color")),u.label={shape:{x:0,y:0,width:L,height:R,r:C.get("borderRadius")},position:I.slice(),style:{text:E,textFont:x,textFill:C.getTextColor(),textPosition:"inside",textPadding:T,fill:P,stroke:C.get("borderColor")||"transparent",lineWidth:C.get("borderWidth")||0,shadowBlur:C.get("shadowBlur"),shadowColor:C.get("shadowColor"),shadowOffsetX:C.get("shadowOffsetX"),shadowOffsetY:C.get("shadowOffsetY")},z2:10}}function e(u,d,v,y){var S=y.getWidth(),b=y.getHeight();u[0]=Math.min(u[0]+d,S)-d,u[1]=Math.min(u[1]+v,b)-v,u[0]=Math.max(u[0],0),u[1]=Math.max(u[1],0)}function n(u,d,v,y,S){u=d.scale.parse(u);var b=d.scale.getLabel(u,{precision:S.precision}),E=S.formatter;if(E){var C={value:p.getAxisRawValue(d,u),axisDimension:d.dim,axisIndex:d.index,seriesData:[]};w.each(y,function(T){var x=v.getSeriesByIndex(T.seriesIndex),_=T.dataIndexInside,I=x&&x.getDataParams(_);I&&C.seriesData.push(I)}),w.isString(E)?b=E.replace("{value}",b):w.isFunction(E)&&(b=E(C))}return b}function i(u,d,v){var y=g.create();return g.rotate(y,y,v.rotation),g.translate(y,y,v.position),f.applyTransform([u.dataToCoord(d),(v.labelOffset||0)+(v.labelDirection||1)*(v.labelMargin||0)],y)}function r(u,d,v,y,S,b){var E=c.innerTextLayout(v.rotation,0,v.labelDirection);v.labelMargin=S.get("label.margin"),l(d,y,S,b,{position:i(y.axis,u,v),align:E.textAlign,verticalAlign:E.textVerticalAlign})}function a(u,d,v){return v=v||0,{x1:u[v],y1:u[1-v],x2:d[v],y2:d[1-v]}}function t(u,d,v){return v=v||0,{x:u[v],y:u[1-v],width:d[v],height:d[1-v]}}function s(u,d,v,y,S,b){return{cx:u,cy:d,r0:v,r:y,startAngle:S,endAngle:b,clockwise:!0}}B.buildElStyle=h,B.buildLabelElOption=l,B.getValueLabel=n,B.getTransformedPosition=i,B.buildCartesianSingleLabelElOption=r,B.makeLineShape=a,B.makeRectShape=t,B.makeSectorShape=s},"0/Rx":function(M,B){function o(w){return{seriesType:w,reset:function(f,A){var m=A.findComponents({mainType:"legend"});if(!m||!m.length)return;var g=f.getData();g.filterSelf(function(p){for(var c=g.getName(p),h=0;h<m.length;h++)if(!m[h].isSelected(c))return!1;return!0})}}}M.exports=o},"01d+":function(M,B,o){var w=o("bYtY"),f=w.each,A=o("HF/U"),m=A.simpleLayout,g=A.simpleLayoutEdge;function p(c,h){c.eachSeriesByType("graph",function(l){var e=l.get("layout"),n=l.coordinateSystem;if(n&&n.type!=="view"){var i=l.getData(),r=[];f(n.dimensions,function(v){r=r.concat(i.mapDimension(v,!0))});for(var a=0;a<i.count();a++){for(var t=[],s=!1,u=0;u<r.length;u++){var d=i.get(r[u],a);isNaN(d)||(s=!0),t.push(d)}s?i.setItemLayout(a,n.dataToPoint(t)):i.setItemLayout(a,[NaN,NaN])}g(i.graph)}else(!e||e==="none")&&m(l)})}M.exports=p},"06DH":function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("Kagy"),m=o("IUWy"),g=A.toolbox.magicType,p="__ec_magicType_stack__";function c(i){this.model=i}c.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(g.title),option:{},seriesIndex:{}};var h=c.prototype;h.getIcons=function(){var i=this.model,r=i.get("icon"),a={};return f.each(i.get("type"),function(t){r[t]&&(a[t]=r[t])}),a};var l={line:function(i,r,a,t){if(i==="bar")return f.merge({id:r,type:"line",data:a.get("data"),stack:a.get("stack"),markPoint:a.get("markPoint"),markLine:a.get("markLine")},t.get("option.line")||{},!0)},bar:function(i,r,a,t){if(i==="line")return f.merge({id:r,type:"bar",data:a.get("data"),stack:a.get("stack"),markPoint:a.get("markPoint"),markLine:a.get("markLine")},t.get("option.bar")||{},!0)},stack:function(i,r,a,t){var s=a.get("stack")===p;if(i==="line"||i==="bar")return t.setIconStatus("stack",s?"normal":"emphasis"),f.merge({id:r,stack:s?"":p},t.get("option.stack")||{},!0)}},e=[["line","bar"],["stack"]];h.onclick=function(i,r,a){var t=this.model,s=t.get("seriesIndex."+a);if(!l[a])return;var u={series:[]},d=function(S){var b=S.subType,E=S.id,C=l[a](b,E,S,t);C&&(f.defaults(C,S.option),u.series.push(C));var T=S.coordinateSystem;if(T&&T.type==="cartesian2d"&&(a==="line"||a==="bar")){var x=T.getAxesByScale("ordinal")[0];if(x){var _=x.dim,I=_+"Axis",L=i.queryComponents({mainType:I,index:S.get(name+"Index"),id:S.get(name+"Id")})[0],R=L.componentIndex;u[I]=u[I]||[];for(var k=0;k<=R;k++)u[I][R]=u[I][R]||{};u[I][R].boundaryGap=a==="bar"}}};f.each(e,function(S){f.indexOf(S,a)>=0&&f.each(S,function(b){t.setIconStatus(b,"normal")})}),t.setIconStatus(a,"emphasis"),i.eachComponent({mainType:"series",query:s==null?null:{seriesIndex:s}},d);var v;if(a==="stack"){var y=u.series&&u.series[0]&&u.series[0].stack===p;v=y?f.merge({stack:g.title.tiled},g.title):f.clone(g.title)}r.dispatchAction({type:"changeMagicType",currentType:a,newOption:u,newTitle:v,featureName:"magicType"})},w.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(i,r){r.mergeOption(i.newOption)}),m.register("magicType",c);var n=c;M.exports=n},"06Qe":function(M,B,o){var w=o("ItGF"),f="urn:schemas-microsoft-com:vml",A=typeof window=="undefined"?null:window,m=!1,g=A&&A.document;function p(l){return c(l)}var c;if(g&&!w.canvasSupported)try{!g.namespaces.zrvml&&g.namespaces.add("zrvml",f),c=function(e){return g.createElement("<zrvml:"+e+' class="zrvml">')}}catch(l){c=function(n){return g.createElement("<"+n+' xmlns="'+f+'" class="zrvml">')}}function h(){if(m||!g)return;m=!0;var l=g.styleSheets;l.length<31?g.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):l[0].addRule(".zrvml","behavior:url(#default#VML)")}B.doc=g,B.createNode=p,B.initVML=h},"0Bwj":function(M,B,o){var w=o("T4UG"),f=o("I3/A"),A=o("7aKB"),m=A.encodeHTML,g=o("Qxkt"),p=o("Tghj"),c=p.__DEV__,h=w.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(e,n){for(var i=e.edges||e.links,r=e.data||e.nodes,a=e.levels,t=this.levelModels={},s=0;s<a.length;s++)a[s].depth!=null&&a[s].depth>=0&&(t[a[s].depth]=new g(a[s],this,n));if(r&&i){var u=f(r,i,this,!0,d);return u.data}function d(v,y){v.wrapMethod("getItemModel",function(S,b){return S.customizeGetParent(function(E){var C=this.parentModel,T=C.getData().getItemLayout(b).depth,x=C.levelModels[T];return x||this.parentModel}),S}),y.wrapMethod("getItemModel",function(S,b){return S.customizeGetParent(function(E){var C=this.parentModel,T=C.getGraph().getEdgeByIndex(b),x=T.node1.getLayout().depth,_=C.levelModels[x];return _||this.parentModel}),S})}},setNodePosition:function(e,n){var i=this.option.data[e];i.localX=n[0],i.localY=n[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,n,i){if(i==="edge"){var r=this.getDataParams(e,i),a=r.data,t=a.source+" -- "+a.target;return r.value&&(t+=" : "+r.value),m(t)}else if(i==="node"){var s=this.getGraph().getNodeByIndex(e),u=s.getLayout().value,d=this.getDataParams(e,i).data.name;if(u)var t=d+" : "+u;return m(t)}return h.superCall(this,"formatTooltip",e,n)},optionUpdated:function(){var e=this.option;e.focusNodeAdjacency===!0&&(e.focusNodeAdjacency="allEdges")},getDataParams:function(e,n){var i=h.superCall(this,"getDataParams",e,n);if(i.value==null&&n==="node"){var r=this.getGraph().getNodeByIndex(e),a=r.getLayout().value;i.value=a}return i},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}}),l=h;M.exports=l},"0HBW":function(M,B,o){var w=o("ProS"),f=o("bYtY");o("Hxpc"),o("7uqq"),o("dmGj"),o("SehX");function A(m,g){g.update="updateView",w.registerAction(g,function(p,c){var h={};return c.eachComponent({mainType:"geo",query:p},function(l){l[m](p.name);var e=l.coordinateSystem;f.each(e.regions,function(n){h[n.name]=l.isSelected(n.name)||!1})}),{selected:h,name:p.name}})}A("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),A("select",{type:"geoSelect",event:"geoselected"}),A("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(M,B,o){var w=o("bYtY"),f=o("+TT/"),A=o("OELB"),m=o("IDmD"),g=864e5;function p(l,e,n){this._model=l}p.prototype={constructor:p,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(l){l=A.parseDate(l);var e=l.getFullYear(),n=l.getMonth()+1;n=n<10?"0"+n:n;var i=l.getDate();i=i<10?"0"+i:i;var r=l.getDay();return r=Math.abs((r+7-this.getFirstDayOfWeek())%7),{y:e,m:n,d:i,day:r,time:l.getTime(),formatedDate:e+"-"+n+"-"+i,date:l}},getNextNDay:function(l,e){return e=e||0,e===0?this.getDateInfo(l):(l=new Date(this.getDateInfo(l).time),l.setDate(l.getDate()+e),this.getDateInfo(l))},update:function(l,e){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 n=this._rangeInfo.weeks||1,i=["width","height"],r=this._model.get("cellSize").slice(),a=this._model.getBoxLayoutParams(),t=this._orient==="horizontal"?[n,7]:[7,n];w.each([0,1],function(v){d(r,v)&&(a[i[v]]=r[v]*t[v])});var s={width:e.getWidth(),height:e.getHeight()},u=this._rect=f.getLayoutRect(a,s);w.each([0,1],function(v){d(r,v)||(r[v]=u[i[v]]/t[v])});function d(v,y){return v[y]!=null&&v[y]!=="auto"}this._sw=r[0],this._sh=r[1]},dataToPoint:function(l,e){w.isArray(l)&&(l=l[0]),e==null&&(e=!0);var n=this.getDateInfo(l),i=this._rangeInfo,r=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+g))return[NaN,NaN];var a=n.day,t=this._getRangeInfo([i.start.time,r]).nthWeek;return this._orient==="vertical"?[this._rect.x+a*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+a*this._sh+this._sh/2]},pointToData:function(l){var e=this.pointToDate(l);return e&&e.time},dataToRect:function(l,e){var n=this.dataToPoint(l,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},pointToDate:function(l){var e=Math.floor((l[0]-this._rect.x)/this._sw)+1,n=Math.floor((l[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},convertToPixel:w.curry(c,"dataToPoint"),convertFromPixel:w.curry(c,"pointToData"),_initRangeOption:function(){var l=this._model.get("range"),e=l;if(w.isArray(e)&&e.length===1&&(e=e[0]),/^\d{4}$/.test(e)&&(l=[e+"-01-01",e+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(e)){var n=this.getDateInfo(e),i=n.date;i.setMonth(i.getMonth()+1);var r=this.getNextNDay(i,-1);l=[n.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(l=[e,e]);var a=this._getRangeInfo(l);return a.start.time>a.end.time&&l.reverse(),l},_getRangeInfo:function(l){l=[this.getDateInfo(l[0]),this.getDateInfo(l[1])];var e;l[0].time>l[1].time&&(e=!0,l.reverse());var n=Math.floor(l[1].time/g)-Math.floor(l[0].time/g)+1,i=new Date(l[0].time),r=i.getDate(),a=l[1].date.getDate();i.setDate(r+n-1);var t=i.getDate();if(t!==a)for(var s=i.getTime()-l[1].time>0?1:-1;(t=i.getDate())!==a&&(i.getTime()-l[1].time)*s>0;)n-=s,i.setDate(t-s);var u=Math.floor((n+l[0].day+6)/7),d=e?-u+1:u-1;return e&&l.reverse(),{range:[l[0].formatedDate,l[1].formatedDate],start:l[0],end:l[1],allDay:n,weeks:u,nthWeek:d,fweek:l[0].day,lweek:l[1].day}},_getDateByWeeksAndDay:function(l,e,n){var i=this._getRangeInfo(n);if(l>i.weeks||l===0&&e<i.fweek||l===i.weeks&&e>i.lweek)return!1;var r=(l-1)*7-i.fweek+e,a=new Date(i.start.time);return a.setDate(i.start.d+r),this.getDateInfo(a)}},p.dimensions=p.prototype.dimensions,p.getDimensionsInfo=p.prototype.getDimensionsInfo,p.create=function(l,e){var n=[];return l.eachComponent("calendar",function(i){var r=new p(i,l,e);n.push(r),i.coordinateSystem=r}),l.eachSeries(function(i){i.get("coordinateSystem")==="calendar"&&(i.coordinateSystem=n[i.get("calendarIndex")||0])}),n};function c(l,e,n,i){var r=n.calendarModel,a=n.seriesModel,t=r?r.coordinateSystem:a?a.coordinateSystem:null;return t===this?t[l](i):null}m.register("calendar",p);var h=p;M.exports=h},"0JQy":function(M,B){var o="\\ud800-\\udfff",w="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",m=w+f+A,g="\\ufe0e\\ufe0f",p="["+o+"]",c="["+m+"]",h="\\ud83c[\\udffb-\\udfff]",l="(?:"+c+"|"+h+")",e="[^"+o+"]",n="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",a=l+"?",t="["+g+"]?",s="(?:"+r+"(?:"+[e,n,i].join("|")+")"+t+a+")*",u=t+a+s,d="(?:"+[e+c+"?",c,n,i,p].join("|")+")",v=RegExp(h+"(?="+h+")|"+d+u,"g");function y(S){return S.match(v)||[]}M.exports=y},"0NbB":function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="CaretDownOutlined";var c=B.a=f.forwardRef(p)},"0V0F":function(M,B,o){var w=o("bYtY"),f=w.createHashMap,A=w.each;function m(p){var c=f();p.eachSeries(function(h){var l=h.get("stack");if(l){var e=c.get(l)||c.set(l,[]),n=h.getData(),i={stackResultDimension:n.getCalculationInfo("stackResultDimension"),stackedOverDimension:n.getCalculationInfo("stackedOverDimension"),stackedDimension:n.getCalculationInfo("stackedDimension"),stackedByDimension:n.getCalculationInfo("stackedByDimension"),isStackedByIndex:n.getCalculationInfo("isStackedByIndex"),data:n,seriesModel:h};if(!i.stackedDimension||!(i.isStackedByIndex||i.stackedByDimension))return;e.length&&n.setCalculationInfo("stackedOnSeries",e[e.length-1].seriesModel),e.push(i)}}),c.each(g)}function g(p){A(p,function(c,h){var l=[],e=[NaN,NaN],n=[c.stackResultDimension,c.stackedOverDimension],i=c.data,r=c.isStackedByIndex,a=i.map(n,function(t,s,u){var d=i.get(c.stackedDimension,u);if(isNaN(d))return e;var v,y;r?y=i.getRawIndex(u):v=i.get(c.stackedByDimension,u);for(var S=NaN,b=h-1;b>=0;b--){var E=p[b];if(r||(y=E.data.rawIndexOf(E.stackedByDimension,v)),y>=0){var C=E.data.getByRawIndex(E.stackResultDimension,y);if(d>=0&&C>0||d<=0&&C<0){d+=C,S=C;break}}}return l[0]=d,l[1]=S,l});i.hostModel.setData(a),c.data=a})}M.exports=m},"0o9m":function(M,B,o){var w=o("ProS");o("hNWo"),o("RlCK"),o("XpcN");var f=o("kDyi"),A=o("bLfw");w.registerProcessor(w.PRIORITY.PROCESSOR.SERIES_FILTER,f),A.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(M,B,o){var w=o("ProS");w.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),w.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(M,B){var o=arguments[3],w=arguments[4],f=arguments[5],A=JSON.stringify;M.exports=function(m,g){for(var p,c=Object.keys(f),h=0,l=c.length;h<l;h++){var e=c[h],n=f[e].exports;if(n===m||n&&n.default===m){p=e;break}}if(!p){p=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var i={},h=0,l=c.length;h<l;h++){var e=c[h];i[e]=e}w[p]=["function(require,module,exports){"+m+"(self); }",i]}var r=Math.floor(Math.pow(16,8)*Math.random()).toString(16),a={};a[p]=p,w[r]=["function(require,module,exports){var f = require("+A(p)+");(f.default ? f.default : f)(self);}",a];var t={};s(r);function s(b){t[b]=!0;for(var E in w[b][1]){var C=w[b][1][E];t[C]||s(C)}}var u="("+o+")({"+Object.keys(t).map(function(b){return A(b)+":["+w[b][0]+","+A(w[b][1])+"]"}).join(",")+"},{},["+A(r)+"])",d=window.URL||window.webkitURL||window.mozURL||window.msURL,v=new Blob([u],{type:"text/javascript"});if(g&&g.bare)return v;var y=d.createObjectURL(v),S=new Worker(y);return S.objectURL=y,S}},"0s+r":function(M,B,o){var w=o("bYtY"),f=o("QBsz"),A=o("y23F"),m=o("H6uX"),g=o("YH21"),p=o("C0SR"),c="silent";function h(s,u,d){return{type:s,event:d,target:u.target,topTarget:u.topTarget,cancelBubble:!1,offsetX:d.zrX,offsetY:d.zrY,gestureEvent:d.gestureEvent,pinchX:d.pinchX,pinchY:d.pinchY,pinchScale:d.pinchScale,wheelDelta:d.zrDelta,zrByTouch:d.zrByTouch,which:d.which,stop:l}}function l(){g.stop(this.event)}function e(){}e.prototype.dispose=function(){};var n=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],i=function(u,d,v,y){m.call(this),this.storage=u,this.painter=d,this.painterRoot=y,v=v||new e,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,A.call(this),this.setHandlerProxy(v)};i.prototype={constructor:i,setHandlerProxy:function(u){this.proxy&&this.proxy.dispose(),u&&(w.each(n,function(d){u.on&&u.on(d,this[d],this)},this),u.handler=this),this.proxy=u},mousemove:function(u){var d=u.zrX,v=u.zrY,y=a(this,d,v),S=this._hovered,b=S.target;b&&!b.__zr&&(S=this.findHover(S.x,S.y),b=S.target);var E=this._hovered=y?{x:d,y:v}:this.findHover(d,v),C=E.target,T=this.proxy;T.setCursor&&T.setCursor(C?C.cursor:"default"),b&&C!==b&&this.dispatchToElement(S,"mouseout",u),this.dispatchToElement(E,"mousemove",u),C&&C!==b&&this.dispatchToElement(E,"mouseover",u)},mouseout:function(u){var d=u.zrEventControl,v=u.zrIsToLocalDOM;d!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",u),d!=="no_globalout"&&(!v&&this.trigger("globalout",{type:"globalout",event:u}))},resize:function(u){this._hovered={}},dispatch:function(u,d){var v=this[u];v&&v.call(this,d)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(u){var d=this.proxy;d.setCursor&&d.setCursor(u)},dispatchToElement:function(u,d,v){u=u||{};var y=u.target;if(y&&y.silent)return;for(var S="on"+d,b=h(d,u,v);y&&!(y[S]&&(b.cancelBubble=y[S].call(y,b)),y.trigger(d,b),y=y.parent,b.cancelBubble););b.cancelBubble||(this.trigger(d,b),this.painter&&this.painter.eachOtherLayer(function(E){typeof E[S]=="function"&&E[S].call(E,b),E.trigger&&E.trigger(d,b)}))},findHover:function(u,d,v){for(var y=this.storage.getDisplayList(),S={x:u,y:d},b=y.length-1;b>=0;b--){var E;if(y[b]!==v&&!y[b].ignore&&(E=r(y[b],u,d))&&(!S.topTarget&&(S.topTarget=y[b]),E!==c)){S.target=y[b];break}}return S},processGesture:function(u,d){this._gestureMgr||(this._gestureMgr=new p);var v=this._gestureMgr;d==="start"&&v.clear();var y=v.recognize(u,this.findHover(u.zrX,u.zrY,null).target,this.proxy.dom);if(d==="end"&&v.clear(),y){var S=y.type;u.gestureEvent=S,this.dispatchToElement({target:y.target},S,y.event)}}},w.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(s){i.prototype[s]=function(u){var d=u.zrX,v=u.zrY,y=a(this,d,v),S,b;if((s!=="mouseup"||!y)&&(S=this.findHover(d,v),b=S.target),s==="mousedown")this._downEl=b,this._downPoint=[u.zrX,u.zrY],this._upEl=b;else if(s==="mouseup")this._upEl=b;else if(s==="click"){if(this._downEl!==this._upEl||!this._downPoint||f.dist(this._downPoint,[u.zrX,u.zrY])>4)return;this._downPoint=null}this.dispatchToElement(S,s,u)}});function r(s,u,d){if(s[s.rectHover?"rectContain":"contain"](u,d)){for(var v=s,y;v;){if(v.clipPath&&!v.clipPath.contain(u,d))return!1;v.silent&&(y=!0),v=v.parent}return y?c:!0}return!1}function a(s,u,d){var v=s.painter;return u<0||u>v.getWidth()||d<0||d>v.getHeight()}w.mixin(i,m),w.mixin(i,A);var t=i;M.exports=t},"1+JA":function(M,B,o){"use strict";o.d(B,"a",function(){return l});var w=o("q1tI"),f=o.n(w),A=o("8Skl"),m=o("ye1Q"),g=o("bRQS"),p=o("4i/N"),c=o("jN4g"),h=o("l+S1");function l(e){var n=e.suffixIcon,i=e.clearIcon,r=e.menuItemSelectedIcon,a=e.removeIcon,t=e.loading,s=e.multiple,u=e.prefixCls,d=i;i||(d=w.createElement(c.a,null));var v=null;if(n!==void 0)v=n;else if(t)v=w.createElement(m.a,{spin:!0});else{var y="".concat(u,"-suffix");v=function(C){var T=C.open,x=C.showSearch;return T&&x?w.createElement(h.a,{className:y}):w.createElement(A.a,{className:y})}}var S=null;r!==void 0?S=r:s?S=w.createElement(g.a,null):S=null;var b=null;return a!==void 0?b=a:b=w.createElement(p.a,null),{clearIcon:d,suffixIcon:v,itemIcon:S,removeIcon:b}}},"10cm":function(M,B,o){var w=o("ProS"),f=o("2B6p"),A=f.updateCenterAndZoom;o("0qV/");var m={type:"graphRoam",event:"graphRoam",update:"none"};w.registerAction(m,function(g,p){p.eachComponent({mainType:"series",query:g},function(c){var h=c.coordinateSystem,l=A(h,g);c.setCenter&&c.setCenter(l.center),c.setZoom&&c.setZoom(l.zoom)})})},"19Vz":function(M,B,o){(function(w){w(o("VrN/"))})(function(w){w.defineOption("placeholder","",function(h,l,e){var n=e&&e!=w.Init;if(l&&!n)h.on("blur",g),h.on("change",p),h.on("swapDoc",p),w.on(h.getInputField(),"compositionupdate",h.state.placeholderCompose=function(){m(h)}),p(h);else if(!l&&n){h.off("blur",g),h.off("change",p),h.off("swapDoc",p),w.off(h.getInputField(),"compositionupdate",h.state.placeholderCompose),f(h);var i=h.getWrapperElement();i.className=i.className.replace(" CodeMirror-empty","")}l&&!h.hasFocus()&&g(h)});function f(h){h.state.placeholder&&(h.state.placeholder.parentNode.removeChild(h.state.placeholder),h.state.placeholder=null)}function A(h){f(h);var l=h.state.placeholder=document.createElement("pre");l.style.cssText="height: 0; overflow: visible",l.style.direction=h.getOption("direction"),l.className="CodeMirror-placeholder CodeMirror-line-like";var e=h.getOption("placeholder");typeof e=="string"&&(e=document.createTextNode(e)),l.appendChild(e),h.display.lineSpace.insertBefore(l,h.display.lineSpace.firstChild)}function m(h){setTimeout(function(){var l=!1,e=h.getInputField();e.nodeName=="TEXTAREA"?l=!e.value:h.lineCount()==1&&(l=!/[^\u200b]/.test(e.querySelector(".CodeMirror-line").textContent)),l?A(h):f(h)},20)}function g(h){c(h)&&A(h)}function p(h){var l=h.getWrapperElement(),e=c(h);l.className=l.className.replace(" CodeMirror-empty","")+(e?" CodeMirror-empty":""),e?A(h):f(h)}function c(h){return h.lineCount()===1&&h.getLine(0)===""}})},"1Jh7":function(M,B,o){var w=o("y+Vt"),f=o("T6xi"),A=w.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(g,p){f.buildPath(g,p,!1)}});M.exports=A},"1LEl":function(M,B,o){var w=o("ProS"),f=o("F9bG"),A=w.extendComponentView({type:"axisPointer",render:function(g,p,c){var h=p.getComponent("tooltip"),l=g.get("triggerOn")||h&&h.get("triggerOn")||"mousemove|click";f.register("axisPointer",c,function(e,n,i){l!=="none"&&(e==="leave"||l.indexOf(e)>=0)&&i({type:"updateAxisPointer",currTrigger:e,x:n&&n.offsetX,y:n&&n.offsetY})})},remove:function(g,p){f.unregister(p.getZr(),"axisPointer"),A.superApply(this._model,"remove",arguments)},dispose:function(g,p){f.unregister("axisPointer",p),A.superApply(this._model,"dispose",arguments)}}),m=A;M.exports=m},"1MYJ":function(M,B,o){var w=o("y+Vt"),f=w.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var m=this.__dirtyPath,g=this.shape.paths,p=0;p<g.length;p++)m=m||g[p].__dirtyPath;this.__dirtyPath=m,this.__dirty=this.__dirty||m},beforeBrush:function(){this._updatePathDirty();for(var m=this.shape.paths||[],g=this.getGlobalScale(),p=0;p<m.length;p++)m[p].path||m[p].createPathProxy(),m[p].path.setScale(g[0],g[1],m[p].segmentIgnoreThreshold)},buildPath:function(m,g){for(var p=g.paths||[],c=0;c<p.length;c++)p[c].buildPath(m,p[c].shape,!0)},afterBrush:function(){for(var m=this.shape.paths||[],g=0;g<m.length;g++)m[g].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),w.prototype.getBoundingRect.call(this)}});M.exports=f},"1NG9":function(M,B,o){var w=o("y+Vt"),f=o("QBsz"),A=o("iXp4"),m=f.min,g=f.max,p=f.scaleAndAdd,c=f.copy,h=[],l=[],e=[];function n(d){return isNaN(d[0])||isNaN(d[1])}function i(d,v,y,S,b,E,C,T,x,_,I){return _==="none"||!_?a.apply(this,arguments):r.apply(this,arguments)}function r(d,v,y,S,b,E,C,T,x,_,I){for(var L=0,R=y,k=0;k<S;k++){var F=v[R];if(R>=b||R<0)break;if(n(F)){if(I){R+=E;continue}break}if(R===y)d[E>0?"moveTo":"lineTo"](F[0],F[1]);else if(x>0){var P=v[L],W=_==="y"?1:0,D=(F[W]-P[W])*x;c(l,P),l[W]=P[W]+D,c(e,F),e[W]=F[W]-D,d.bezierCurveTo(l[0],l[1],e[0],e[1],F[0],F[1])}else d.lineTo(F[0],F[1]);L=R,R+=E}return k}function a(d,v,y,S,b,E,C,T,x,_,I){for(var L=0,R=y,k=0;k<S;k++){var F=v[R];if(R>=b||R<0)break;if(n(F)){if(I){R+=E;continue}break}if(R===y)d[E>0?"moveTo":"lineTo"](F[0],F[1]),c(l,F);else if(x>0){var P=R+E,W=v[P];if(I)for(;W&&n(v[P]);)P+=E,W=v[P];var D=.5,U=v[L],W=v[P];if(!W||n(W))c(e,F);else{n(W)&&!I&&(W=F),f.sub(h,W,U);var H,j;if(_==="x"||_==="y"){var K=_==="x"?0:1;H=Math.abs(F[K]-U[K]),j=Math.abs(F[K]-W[K])}else H=f.dist(F,U),j=f.dist(F,W);D=j/(j+H),p(e,F,h,-x*(1-D))}m(l,l,T),g(l,l,C),m(e,e,T),g(e,e,C),d.bezierCurveTo(l[0],l[1],e[0],e[1],F[0],F[1]),p(l,F,h,x*D)}else d.lineTo(F[0],F[1]);L=R,R+=E}return k}function t(d,v){var y=[Infinity,Infinity],S=[-Infinity,-Infinity];if(v)for(var b=0;b<d.length;b++){var E=d[b];E[0]<y[0]&&(y[0]=E[0]),E[1]<y[1]&&(y[1]=E[1]),E[0]>S[0]&&(S[0]=E[0]),E[1]>S[1]&&(S[1]=E[1])}return{min:v?y:S,max:v?S:y}}var s=w.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:A(w.prototype.brush),buildPath:function(d,v){var y=v.points,S=0,b=y.length,E=t(y,v.smoothConstraint);if(v.connectNulls){for(;b>0&&n(y[b-1]);b--);for(;S<b&&n(y[S]);S++);}for(;S<b;)S+=i(d,y,S,b,b,1,E.min,E.max,v.smooth,v.smoothMonotone,v.connectNulls)+1}}),u=w.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:A(w.prototype.brush),buildPath:function(d,v){var y=v.points,S=v.stackedOnPoints,b=0,E=y.length,C=v.smoothMonotone,T=t(y,v.smoothConstraint),x=t(S,v.smoothConstraint);if(v.connectNulls){for(;E>0&&n(y[E-1]);E--);for(;b<E&&n(y[b]);b++);}for(;b<E;){var _=i(d,y,b,E,E,1,T.min,T.max,v.smooth,C,v.connectNulls);i(d,S,b+_-1,_,E,-1,x.min,x.max,v.stackedOnSmooth,C,v.connectNulls),b+=_+1,d.closePath()}}});B.Polyline=s,B.Polygon=u},"1RvN":function(M,B){var o=function(){this.head=null,this.tail=null,this._len=0},w=o.prototype;w.insert=function(p){var c=new f(p);return this.insertEntry(c),c},w.insertEntry=function(p){this.head?(this.tail.next=p,p.prev=this.tail,p.next=null,this.tail=p):this.head=this.tail=p,this._len++},w.remove=function(p){var c=p.prev,h=p.next;c?c.next=h:this.head=h,h?h.prev=c:this.tail=c,p.next=p.prev=null,this._len--},w.len=function(){return this._len},w.clear=function(){this.head=this.tail=null,this._len=0};var f=function(c){this.value=c,this.next,this.prev},A=function(c){this._list=new o,this._map={},this._maxSize=c||10,this._lastRemovedEntry=null},m=A.prototype;m.put=function(p,c){var h=this._list,l=this._map,e=null;if(l[p]==null){var n=h.len(),i=this._lastRemovedEntry;if(n>=this._maxSize&&n>0){var r=h.head;h.remove(r),delete l[r.key],e=r.value,this._lastRemovedEntry=r}i?i.value=c:i=new f(c),i.key=p,h.insertEntry(i),l[p]=i}return e},m.get=function(p){var c=this._map[p],h=this._list;if(c!=null)return c!==h.tail&&(h.remove(c),h.insertEntry(c)),c.value},m.clear=function(){this._list.clear(),this._map={}};var g=A;M.exports=g},"1bdT":function(M,B,o){var w=o("3gBT"),f=o("H6uX"),A=o("DN4a"),m=o("vWvF"),g=o("bYtY"),p=function(l){A.call(this,l),f.call(this,l),m.call(this,l),this.id=l.id||w()};p.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(l,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":l=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=l,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(l,e){},attrKV:function(l,e){if(l==="position"||l==="scale"||l==="origin"){if(e){var n=this[l];n||(n=this[l]=[]),n[0]=e[0],n[1]=e[1]}}else this[l]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(l,e){if(typeof l=="string")this.attrKV(l,e);else if(g.isObject(l))for(var n in l)l.hasOwnProperty(n)&&this.attrKV(n,l[n]);return this.dirty(!1),this},setClipPath:function(l){var e=this.__zr;e&&l.addSelfToZr(e),this.clipPath&&this.clipPath!==l&&this.removeClipPath(),this.clipPath=l,l.__zr=e,l.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var l=this.clipPath;l&&(l.__zr&&l.removeSelfFromZr(l.__zr),l.__zr=null,l.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(l){this.__zr=l;var e=this.animators;if(e)for(var n=0;n<e.length;n++)l.animation.addAnimator(e[n]);this.clipPath&&this.clipPath.addSelfToZr(l)},removeSelfFromZr:function(l){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)l.animation.removeAnimator(e[n]);this.clipPath&&this.clipPath.removeSelfFromZr(l)}},g.mixin(p,m),g.mixin(p,A),g.mixin(p,f);var c=p;M.exports=c},"1dTM":function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=o("GQ8N"),f=_(o("Lo0S")),A=o("VSMT"),m=o("GdRQ"),g=o("SZEN"),p=o("vewr"),c=T(o("YJ9k")),h=T(o("MZdM")),l=T(o("ItS6")),e=T(o("whVF")),n=T(o("Fv0C")),i=T(o("LCi9")),r=T(o("rwxt")),a=T(o("Mmt2")),t=T(o("iUHT")),s=T(o("mHUz")),u=T(o("P2ho")),d=o("NBmB");o("mdZa");var v=T(o("34/K")),y=T(o("hXwI")),S=T(o("SgaC")),b=T(o("3690")),E=T(o("8K/p")),C=T(o("xO64"));function T(Ue){return Ue&&Ue.__esModule?Ue:{default:Ue}}function x(){if(typeof WeakMap!="function")return null;var Ue=new WeakMap;return x=function(){return Ue},Ue}function _(Ue){if(Ue&&Ue.__esModule)return Ue;if(Ue===null||I(Ue)!=="object"&&typeof Ue!="function")return{default:Ue};var ue=x();if(ue&&ue.has(Ue))return ue.get(Ue);var Ne={},Fe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ae in Ue)if(Object.prototype.hasOwnProperty.call(Ue,ae)){var ce=Fe?Object.getOwnPropertyDescriptor(Ue,ae):null;ce&&(ce.get||ce.set)?Object.defineProperty(Ne,ae,ce):Ne[ae]=Ue[ae]}return Ne.default=Ue,ue&&ue.set(Ue,Ne),Ne}function I(Ue){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I=function(Ne){return typeof Ne}:I=function(Ne){return Ne&&typeof Symbol=="function"&&Ne.constructor===Symbol&&Ne!==Symbol.prototype?"symbol":typeof Ne},I(Ue)}function L(Ue,ue){if(!(Ue instanceof ue))throw new TypeError("Cannot call a class as a function")}function R(Ue,ue){for(var Ne=0;Ne<ue.length;Ne++){var Fe=ue[Ne];Fe.enumerable=Fe.enumerable||!1,Fe.configurable=!0,"value"in Fe&&(Fe.writable=!0),Object.defineProperty(Ue,Fe.key,Fe)}}function k(Ue,ue,Ne){return ue&&R(Ue.prototype,ue),Ne&&R(Ue,Ne),Ue}function F(Ue,ue){if(typeof ue!="function"&&ue!==null)throw new TypeError("Super expression must either be null or a function");Ue.prototype=Object.create(ue&&ue.prototype,{constructor:{value:Ue,writable:!0,configurable:!0}}),ue&&P(Ue,ue)}function P(Ue,ue){return P=Object.setPrototypeOf||function(Fe,ae){return Fe.__proto__=ae,Fe},P(Ue,ue)}function W(Ue){var ue=H();return function(){var Fe=j(Ue),ae;if(ue){var ce=j(this).constructor;ae=Reflect.construct(Fe,arguments,ce)}else ae=Fe.apply(this,arguments);return D(this,ae)}}function D(Ue,ue){return ue&&(I(ue)==="object"||typeof ue=="function")?ue:U(Ue)}function U(Ue){if(Ue===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ue}function H(){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(Ue){return!1}}function j(Ue){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(Ne){return Ne.__proto__||Object.getPrototypeOf(Ne)},j(Ue)}var K=3,X="rgb(40, 40, 40)",z=17,Y=50,$=19,ne=75,J=50,ge=1e3,de=50,Ie=1,be=1<<1,Ce=1<<2,je=1<<3,te=1<<4,ve=1<<24,$e=1<<25,Le=1<<26,he=1<<27,ee=1<<28,se=function(Ue){F(Ne,Ue);var ue=W(Ne);function Ne(Fe,ae,ce){var _e;if(L(this,Ne),!Fe)throw new Error("Must specify target");if(!ae)throw new Error("Must specify URL");_e=ue.call(this),_e._target=Fe,_e._url=ae,ce=ce||{},_e._rfbCredentials=ce.credentials||{},_e._shared="shared"in ce?!!ce.shared:!0,_e._repeaterID=ce.repeaterID||"",_e._wsProtocols=ce.wsProtocols||[],_e._rfbConnectionState="",_e._rfbInitState="",_e._rfbAuthScheme=-1,_e._rfbCleanDisconnect=!0,_e._rfbVersion=0,_e._rfbMaxVersion=3.8,_e._rfbTightVNC=!1,_e._rfbVeNCryptState=0,_e._rfbXvpVer=0,_e._fbWidth=0,_e._fbHeight=0,_e._fbName="",_e._capabilities={power:!1},_e._supportsFence=!1,_e._supportsContinuousUpdates=!1,_e._enabledContinuousUpdates=!1,_e._supportsSetDesktopSize=!1,_e._screenID=0,_e._screenFlags=0,_e._qemuExtKeyEventSupported=!1,_e._clipboardText=null,_e._clipboardServerCapabilitiesActions={},_e._clipboardServerCapabilitiesFormats={},_e._sock=null,_e._display=null,_e._flushing=!1,_e._keyboard=null,_e._gestures=null,_e._disconnTimer=null,_e._resizeTimeout=null,_e._mouseMoveTimer=null,_e._decoders={},_e._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},_e._mousePos={},_e._mouseButtonMask=0,_e._mouseLastMoveTime=0,_e._viewportDragging=!1,_e._viewportDragPos={},_e._viewportHasMoved=!1,_e._accumulatedWheelDeltaX=0,_e._accumulatedWheelDeltaY=0,_e._gestureLastTapTime=null,_e._gestureFirstDoubleTapEv=null,_e._gestureLastMagnitudeX=0,_e._gestureLastMagnitudeY=0,_e._eventHandlers={focusCanvas:_e._focusCanvas.bind(U(_e)),windowResize:_e._windowResize.bind(U(_e)),handleMouse:_e._handleMouse.bind(U(_e)),handleWheel:_e._handleWheel.bind(U(_e)),handleGesture:_e._handleGesture.bind(U(_e))},f.Debug(">> RFB.constructor"),_e._screen=document.createElement("div"),_e._screen.style.display="flex",_e._screen.style.width="100%",_e._screen.style.height="100%",_e._screen.style.overflow="auto",_e._screen.style.background=X,_e._canvas=document.createElement("canvas"),_e._canvas.style.margin="auto",_e._canvas.style.outline="none",_e._canvas.style.flexShrink="0",_e._canvas.width=0,_e._canvas.height=0,_e._canvas.tabIndex=-1,_e._screen.appendChild(_e._canvas),_e._cursor=new r.default,_e._cursorImage=Ne.cursors.none,_e._decoders[d.encodings.encodingRaw]=new v.default,_e._decoders[d.encodings.encodingCopyRect]=new y.default,_e._decoders[d.encodings.encodingRRE]=new S.default,_e._decoders[d.encodings.encodingHextile]=new b.default,_e._decoders[d.encodings.encodingTight]=new E.default,_e._decoders[d.encodings.encodingTightPNG]=new C.default;try{_e._display=new h.default(_e._canvas)}catch(ze){throw f.Error("Display exception: "+ze),ze}return _e._display.onflush=_e._onFlush.bind(U(_e)),_e._keyboard=new n.default(_e._canvas),_e._keyboard.onkeyevent=_e._handleKeyEvent.bind(U(_e)),_e._gestures=new i.default,_e._sock=new a.default,_e._sock.on("message",function(){_e._handleMessage()}),_e._sock.on("open",function(){_e._rfbConnectionState==="connecting"&&_e._rfbInitState===""?(_e._rfbInitState="ProtocolVersion",f.Debug("Starting VNC handshake")):_e._fail("Unexpected server connection while "+_e._rfbConnectionState)}),_e._sock.on("close",function(ze){f.Debug("WebSocket on-close event");var it="";ze.code&&(it="(code: "+ze.code,ze.reason&&(it+=", reason: "+ze.reason),it+=")");switch(_e._rfbConnectionState){case"connecting":_e._fail("Connection closed "+it);break;case"connected":_e._updateConnectionState("disconnecting"),_e._updateConnectionState("disconnected");break;case"disconnecting":_e._updateConnectionState("disconnected");break;case"disconnected":_e._fail("Unexpected server disconnect when already disconnected "+it);break;default:_e._fail("Unexpected server disconnect before connecting "+it);break}_e._sock.off("close")}),_e._sock.on("error",function(ze){return f.Warn("WebSocket on-error event")}),setTimeout(_e._updateConnectionState.bind(U(_e),"connecting")),f.Debug("<< RFB.constructor"),_e.dragViewport=!1,_e.focusOnClick=!0,_e._viewOnly=!1,_e._clipViewport=!1,_e._scaleViewport=!1,_e._resizeSession=!1,_e._showDotCursor=!1,ce.showDotCursor!==void 0&&(f.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),_e._showDotCursor=ce.showDotCursor),_e._qualityLevel=6,_e._compressionLevel=2,_e}return k(Ne,[{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,ce,_e){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(_e===void 0){this.sendKey(ae,ce,!0),this.sendKey(ae,ce,!1);return}var ze=u.default[ce];if(this._qemuExtKeyEventSupported&&ze)ae=ae||0,f.Info("Sending key ("+(_e?"down":"up")+"): keysym "+ae+", scancode "+ze),Ne.messages.QEMUExtendedKeyEvent(this._sock,ae,_e,ze);else{if(!ae)return;f.Info("Sending keysym ("+(_e?"down":"up")+"): "+ae),Ne.messages.keyEvent(this._sock,ae,_e?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[Ie]&&this._clipboardServerCapabilitiesActions[he])this._clipboardText=ae,Ne.messages.extendedClipboardNotify(this._sock,[Ie]);else{for(var ce=new Uint8Array(ae.length),_e=0;_e<ae.length;_e++)ce[_e]=ae.charCodeAt(_e);Ne.messages.clientCutText(this._sock,ce)}}},{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 ce=this;window.requestAnimationFrame(function(){ce._updateClip(),ce._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var ae=this._display.clipViewport,ce=this._clipViewport;if(this._scaleViewport&&(ce=!1),ae!==ce&&(this._display.clipViewport=ce),ce){var _e=this._screenSize();this._display.viewportChangeSize(_e.w,_e.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var 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();Ne.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 ce=this,_e=this._rfbConnectionState;if(ae===_e){f.Debug("Already in state '"+ae+"', ignoring");return}if(_e==="disconnected"){f.Error("Tried changing state of a disconnected RFB object");return}switch(ae){case"connected":if(_e!=="connecting"){f.Error("Bad transition to connected state, previous connection state: "+_e);return}break;case"disconnected":if(_e!=="disconnecting"){f.Error("Bad transition to disconnected state, previous connection state: "+_e);return}break;case"connecting":if(_e!==""){f.Error("Bad transition to connecting state, previous connection state: "+_e);return}break;case"disconnecting":if(_e!=="connected"&&_e!=="connecting"){f.Error("Bad transition to disconnecting state, previous connection state: "+_e);return}break;default:f.Error("Unknown connection state: "+ae);return}this._rfbConnectionState=ae,f.Debug("New state '"+ae+"', was '"+_e+"'."),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."),ce._updateConnectionState("disconnected")},K*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,ce){this._capabilities[ae]=ce,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,ce,_e){this.sendKey(ae,ce,_e)}},{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 ce=(0,g.clientToElement)(ae.clientX,ae.clientY,this._canvas);switch(ae.type){case"mousedown":(0,p.setCapture)(this._canvas),this._handleMouseButton(ce.x,ce.y,!0,1<<ae.button);break;case"mouseup":this._handleMouseButton(ce.x,ce.y,!1,1<<ae.button);break;case"mousemove":this._handleMouseMove(ce.x,ce.y);break}}},{key:"_handleMouseButton",value:function(ae,ce,_e,ze){if(this.dragViewport)if(_e&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:ae,y:ce},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(ae,ce,ze)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(ae,ce,this._mouseButtonMask)),_e?this._mouseButtonMask|=ze:this._mouseButtonMask&=~ze,this._sendMouse(ae,ce,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(ae,ce){var _e=this;if(this._viewportDragging){var ze=this._viewportDragPos.x-ae,it=this._viewportDragPos.y-ce;(this._viewportHasMoved||Math.abs(ze)>m.dragThreshold||Math.abs(it)>m.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:ae,y:ce},this._display.viewportChangePos(ze,it));return}if(this._mousePos={x:ae,y:ce},this._mouseMoveTimer==null){var Ze=Date.now()-this._mouseLastMoveTime;Ze>z?(this._sendMouse(ae,ce,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){_e._handleDelayedMouseMove()},z-Ze)}}},{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,ce,_e){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Ne.messages.pointerEvent(this._sock,this._display.absX(ae),this._display.absY(ce),_e)}},{key:"_handleWheel",value:function(ae){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;ae.stopPropagation(),ae.preventDefault();var ce=(0,g.clientToElement)(ae.clientX,ae.clientY,this._canvas),_e=ae.deltaX,ze=ae.deltaY;ae.deltaMode!==0&&(_e*=$,ze*=$),this._accumulatedWheelDeltaX+=_e,this._accumulatedWheelDeltaY+=ze,Math.abs(this._accumulatedWheelDeltaX)>=Y&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(ce.x,ce.y,!0,1<<5),this._handleMouseButton(ce.x,ce.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(ce.x,ce.y,!0,1<<6),this._handleMouseButton(ce.x,ce.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=Y&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(ce.x,ce.y,!0,1<<3),this._handleMouseButton(ce.x,ce.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(ce.x,ce.y,!0,1<<4),this._handleMouseButton(ce.x,ce.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(ae,ce,_e){this._handleMouseMove(ce,_e),this._cursor.move(ae.detail.clientX,ae.detail.clientY)}},{key:"_handleTapEvent",value:function(ae,ce){var _e=(0,g.clientToElement)(ae.detail.clientX,ae.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<ge&&this._gestureFirstDoubleTapEv.detail.type===ae.detail.type){var ze=this._gestureFirstDoubleTapEv.detail.clientX-ae.detail.clientX,it=this._gestureFirstDoubleTapEv.detail.clientY-ae.detail.clientY,Ze=Math.hypot(ze,it);Ze<de?_e=(0,g.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,_e.x,_e.y),this._handleMouseButton(_e.x,_e.y,!0,ce),this._handleMouseButton(_e.x,_e.y,!1,ce)}},{key:"_handleGesture",value:function(ae){var ce,_e=(0,g.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,_e.x,_e.y),this._handleMouseButton(_e.x,_e.y,!0,1);break;case"longpress":this._fakeMouseMove(ae,_e.x,_e.y),this._handleMouseButton(_e.x,_e.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=ae.detail.magnitudeX,this._gestureLastMagnitudeY=ae.detail.magnitudeY,this._fakeMouseMove(ae,_e.x,_e.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(ae.detail.magnitudeX,ae.detail.magnitudeY),this._fakeMouseMove(ae,_e.x,_e.y);break}break;case"gesturemove":switch(ae.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(ae,_e.x,_e.y);break;case"twodrag":for(this._fakeMouseMove(ae,_e.x,_e.y);ae.detail.magnitudeY-this._gestureLastMagnitudeY>J;)this._handleMouseButton(_e.x,_e.y,!0,8),this._handleMouseButton(_e.x,_e.y,!1,8),this._gestureLastMagnitudeY+=J;for(;ae.detail.magnitudeY-this._gestureLastMagnitudeY<-J;)this._handleMouseButton(_e.x,_e.y,!0,16),this._handleMouseButton(_e.x,_e.y,!1,16),this._gestureLastMagnitudeY-=J;for(;ae.detail.magnitudeX-this._gestureLastMagnitudeX>J;)this._handleMouseButton(_e.x,_e.y,!0,32),this._handleMouseButton(_e.x,_e.y,!1,32),this._gestureLastMagnitudeX+=J;for(;ae.detail.magnitudeX-this._gestureLastMagnitudeX<-J;)this._handleMouseButton(_e.x,_e.y,!0,64),this._handleMouseButton(_e.x,_e.y,!1,64),this._gestureLastMagnitudeX-=J;break;case"pinch":if(this._fakeMouseMove(ae,_e.x,_e.y),ce=Math.hypot(ae.detail.magnitudeX,ae.detail.magnitudeY),Math.abs(ce-this._gestureLastMagnitudeX)>ne){for(this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!0);ce-this._gestureLastMagnitudeX>ne;)this._handleMouseButton(_e.x,_e.y,!0,8),this._handleMouseButton(_e.x,_e.y,!1,8),this._gestureLastMagnitudeX+=ne;for(;ce-this._gestureLastMagnitudeX<-ne;)this._handleMouseButton(_e.x,_e.y,!0,16),this._handleMouseButton(_e.x,_e.y,!1,16),this._gestureLastMagnitudeX-=ne}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,_e.x,_e.y),this._handleMouseButton(_e.x,_e.y,!1,1);break;case"longpress":this._fakeMouseMove(ae,_e.x,_e.y),this._handleMouseButton(_e.x,_e.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var ae=this._sock.rQshiftStr(12).substr(4,7);f.Info("Server ProtocolVersion: "+ae);var ce=0;switch(ae){case"000.000":ce=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(ce){for(var _e="ID:"+this._repeaterID;_e.length<250;)_e+="\0";return this._sock.sendString(_e),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var 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,it){for(var Ze=0;Ze<it.length;Ze++)if(it[Ze]===ze)return!0;return!1}if(this._rfbVersion>=3.7){var ce=this._sock.rQshift8();if(this._sock.rQwait("security type",ce,1))return!1;if(ce===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var _e=this._sock.rQshiftBytes(ce);if(f.Debug("Server security types: "+_e),ae(1,_e))this._rfbAuthScheme=1;else if(ae(22,_e))this._rfbAuthScheme=22;else if(ae(16,_e))this._rfbAuthScheme=16;else if(ae(2,_e))this._rfbAuthScheme=2;else if(ae(19,_e))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+_e+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",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(),ce="";if(ae>0){if(this._sock.rQwait("reason",ae,4))return!1;ce=this._sock.rQshiftStr(ae)}return ce!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:ce}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+ce+")")):(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(),ce=this._sock.rQshift8();if(!(ae==0&&ce==2))return this._fail("Unsupported VeNCrypt version "+ae+"."+ce);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var _e=this._sock.rQshift8();if(_e!=0)return this._fail("VeNCrypt failure "+_e);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var 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 it=[],Ze=0;Ze<this._rfbVeNCryptSubtypesLength;Ze++)it.push(this._sock.rQshift32());if(it.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 Ee=(0,A.encodeUTF8)(this._rfbCredentials.username),mt=(0,A.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Ee.length]),this._sock.send([0,0,0,mt.length]),this._sock.sendString(Ee),this._sock.sendString(mt),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)),ce=Ne.genDES(this._rfbCredentials.password,ae);return this._sock.send(ce),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 ce={0:{vendor:"TGHT",signature:"NOTUNNEL"}},_e={},ze=0;ze<ae;ze++){var it=this._sock.rQshift32(),Ze=this._sock.rQshiftStr(4),Ee=this._sock.rQshiftStr(8);_e[it]={vendor:Ze,signature:Ee}}return f.Debug("Server Tight tunnel types: "+_e),_e[1]&&_e[1].vendor==="SICR"&&_e[1].signature==="SCHANNEL"&&(f.Debug("Detected Siemens server. Assuming NOTUNNEL support."),_e[0]={vendor:"TGHT",signature:"NOTUNNEL"}),_e[0]?_e[0].vendor!=ce[0].vendor||_e[0].signature!=ce[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(f.Debug("Selected tunnel type: "+ce[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 ce=this._sock.rQshift32();if(ce===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*ce,4))return!1;for(var _e={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},ze=[],it=0;it<ce;it++){this._sock.rQshift32();var Ze=this._sock.rQshiftStr(12);ze.push(Ze)}f.Debug("Server Tight authentication types: "+ze);for(var Ee in _e)if(ze.indexOf(Ee)!=-1){this._sock.send([0,0,0,_e[Ee]]),f.Debug("Selected authentication type: "+Ee);switch(Ee){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: "+Ee+")")}}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(),ce=this._sock.rQshift16(),_e=this._sock.rQshift8(),ze=this._sock.rQshift8(),it=this._sock.rQshift8(),Ze=this._sock.rQshift8(),Ee=this._sock.rQshift16(),mt=this._sock.rQshift16(),Je=this._sock.rQshift16(),rt=this._sock.rQshift8(),wt=this._sock.rQshift8(),Ot=this._sock.rQshift8();this._sock.rQskipBytes(3);var Ct=this._sock.rQshift32();if(this._sock.rQwait("server init name",Ct,24))return!1;var Dt=this._sock.rQshiftStr(Ct);if(Dt=(0,A.decodeUTF8)(Dt,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+Ct))return!1;var Xe=this._sock.rQshift16(),q=this._sock.rQshift16(),V=this._sock.rQshift16();this._sock.rQskipBytes(2);var Ae=(Xe+q+V)*16;if(this._sock.rQwait("TightVNC extended server init header",Ae,32+Ct))return!1;this._sock.rQskipBytes(16*Xe),this._sock.rQskipBytes(16*q),this._sock.rQskipBytes(16*V)}return f.Info("Screen: "+ae+"x"+ce+", bpp: "+_e+", depth: "+ze+", bigEndian: "+it+", trueColor: "+Ze+", redMax: "+Ee+", greenMax: "+mt+", blueMax: "+Je+", redShift: "+rt+", greenShift: "+wt+", blueShift: "+Ot),this._setDesktopName(Dt),this._resize(ae,ce),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),Ne.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Ne.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var ae=[];ae.push(d.encodings.encodingCopyRect),this._fbDepth==24&&(ae.push(d.encodings.encodingTight),ae.push(d.encodings.encodingTightPNG),ae.push(d.encodings.encodingHextile),ae.push(d.encodings.encodingRRE)),ae.push(d.encodings.encodingRaw),ae.push(d.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),ae.push(d.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),ae.push(d.encodings.pseudoEncodingDesktopSize),ae.push(d.encodings.pseudoEncodingLastRect),ae.push(d.encodings.pseudoEncodingQEMUExtendedKeyEvent),ae.push(d.encodings.pseudoEncodingExtendedDesktopSize),ae.push(d.encodings.pseudoEncodingXvp),ae.push(d.encodings.pseudoEncodingFence),ae.push(d.encodings.pseudoEncodingContinuousUpdates),ae.push(d.encodings.pseudoEncodingDesktopName),ae.push(d.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(ae.push(d.encodings.pseudoEncodingVMwareCursor),ae.push(d.encodings.pseudoEncodingCursor)),Ne.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,w.toSigned32bit)(ae),this._sock.rQwait("ServerCutText content",Math.abs(ae),8))return!1;if(ae>=0){var ce=this._sock.rQshiftStr(ae);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:ce}}))}else{ae=Math.abs(ae);var _e=this._sock.rQshift32(),ze=_e&65535,it=_e&4278190080,Ze=!!(it&ve);if(Ze){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Ee=0;Ee<=15;Ee++){var mt=1<<Ee;ze&mt&&(this._clipboardServerCapabilitiesFormats[mt]=!0,this._sock.rQshift32())}for(var Je=24;Je<=31;Je++){var rt=1<<Je;this._clipboardServerCapabilitiesActions[rt]=!!(it&rt)}var wt=[ve,$e,Le,he,ee];Ne.messages.extendedClipboardCaps(this._sock,wt,{extendedClipboardFormatText:0})}else if(it===$e){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[ee]&&(ze&Ie&&Ne.messages.extendedClipboardProvide(this._sock,[Ie],[this._clipboardText]))}else if(it===Le){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[he]&&(this._clipboardText!=null?Ne.messages.extendedClipboardNotify(this._sock,[Ie]):Ne.messages.extendedClipboardNotify(this._sock,[]))}else if(it===he){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[$e]&&(ze&Ie&&Ne.messages.extendedClipboardRequest(this._sock,[Ie]))}else if(it===ee){if(this._viewOnly)return!0;if(!(ze&Ie))return!0;this._clipboardText=null;var Ot=this._sock.rQshiftBytes(ae-4),Ct=new l.default,Dt=null;Ct.setInput(Ot);for(var Xe=0;Xe<=15;Xe++){var q=1<<Xe;if(ze&q){var V=0,Ae=Ct.inflate(4);V|=Ae[0]<<24,V|=Ae[1]<<16,V|=Ae[2]<<8,V|=Ae[3];var xe=Ct.inflate(V);q===Ie&&(Dt=xe)}}if(Ct.setInput(null),Dt!==null){for(var re="",ot=0;ot<Dt.length;ot++)re+=String.fromCharCode(Dt[ot]);Dt=re,Dt=(0,A.decodeUTF8)(Dt),Dt.length>0&&Dt.charAt(Dt.length-1)==="\0"&&(Dt=Dt.slice(0,-1)),Dt=Dt.replace(`\r
|
|
|
`,`
|
|
|
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Dt}}))}}else return this._fail("Unexpected action in extended clipboard message: "+it)}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(),ce=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",ce,9))return!1;ce>64&&(f.Warn("Bad payload length ("+ce+") in fence response"),ce=64);var _e=this._sock.rQshiftStr(ce);return this._supportsFence=!0,ae&1<<31?(ae&=1<<0|1<<1,Ne.messages.clientFence(this._sock,ae,_e),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var ae=this._sock.rQshift8(),ce=this._sock.rQshift8();switch(ce){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: "+ce+")");break}return!0}},{key:"_normalMsg",value:function(){var ae;this._FBU.rects>0?ae=0:ae=this._sock.rQshift8();var ce,_e;switch(ae){case 0:return _e=this._framebufferUpdate(),_e&&!this._enabledContinuousUpdates&&Ne.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),_e;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 ce=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,ce&&(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 d.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case d.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case d.encodings.pseudoEncodingCursor:return this._handleCursor();case d.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var ae=document.createEvent("keyboardEvent");ae.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(ce){}return!0;case d.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case d.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case d.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var ae=this._FBU.x,ce=this._FBU.y,_e=this._FBU.width,ze=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var it=this._sock.rQshift8();this._sock.rQshift8();var Ze,Ee=4;if(it==0){var mt=4294967040|0;if(Ze=new Array(_e*ze*Ee),this._sock.rQwait("VMware cursor classic encoding",_e*ze*Ee*2,2))return!1;for(var Je=new Array(_e*ze),rt=0;rt<_e*ze;rt++)Je[rt]=this._sock.rQshift32();for(var wt=new Array(_e*ze),Ot=0;Ot<_e*ze;Ot++)wt[Ot]=this._sock.rQshift32();for(var Ct=0;Ct<_e*ze;Ct++)if(Je[Ct]==0){var Dt=wt[Ct],Xe=Dt>>8&255,q=Dt>>16&255,V=Dt>>24&255;Ze[Ct*Ee]=Xe,Ze[Ct*Ee+1]=q,Ze[Ct*Ee+2]=V,Ze[Ct*Ee+3]=255}else(Je[Ct]&mt)==mt?wt[Ct]==0?(Ze[Ct*Ee]=0,Ze[Ct*Ee+1]=0,Ze[Ct*Ee+2]=0,Ze[Ct*Ee+3]=0):((wt[Ct]&mt)==mt,Ze[Ct*Ee]=0,Ze[Ct*Ee+1]=0,Ze[Ct*Ee+2]=0,Ze[Ct*Ee+3]=255):(Ze[Ct*Ee]=0,Ze[Ct*Ee+1]=0,Ze[Ct*Ee+2]=0,Ze[Ct*Ee+3]=255)}else if(it==1){if(this._sock.rQwait("VMware cursor alpha encoding",_e*ze*4,2))return!1;Ze=new Array(_e*ze*Ee);for(var Ae=0;Ae<_e*ze;Ae++){var xe=this._sock.rQshift32();Ze[Ae*4]=xe>>24&255,Ze[Ae*4+1]=xe>>16&255,Ze[Ae*4+2]=xe>>8&255,Ze[Ae*4+3]=xe&255}}else return f.Warn("The given cursor type is not supported: "+it+" given."),!1;return this._updateCursor(Ze,ae,ce,_e,ze),!0}},{key:"_handleCursor",value:function(){var ae=this._FBU.x,ce=this._FBU.y,_e=this._FBU.width,ze=this._FBU.height,it=_e*ze*4,Ze=Math.ceil(_e/8)*ze,Ee=it+Ze;if(this._sock.rQwait("cursor encoding",Ee))return!1;for(var mt=this._sock.rQshiftBytes(it),Je=this._sock.rQshiftBytes(Ze),rt=new Uint8Array(_e*ze*4),wt=0,Ot=0;Ot<ze;Ot++)for(var Ct=0;Ct<_e;Ct++){var Dt=Ot*Math.ceil(_e/8)+Math.floor(Ct/8),Xe=Je[Dt]<<Ct%8&128?255:0;rt[wt]=mt[wt+2],rt[wt+1]=mt[wt+1],rt[wt+2]=mt[wt],rt[wt+3]=Xe,wt+=4}return this._updateCursor(rt,ae,ce,_e,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 ce=this._sock.rQshiftStr(ae);return ce=(0,A.decodeUTF8)(ce,!0),this._setDesktopName(ce),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var ae=this._sock.rQpeek8(),ce=4+ae*16;if(this._sock.rQwait("ExtendedDesktopSize",ce))return!1;var _e=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,_e&&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 it="";switch(this._FBU.y){case 1:it="Resize is administratively prohibited";break;case 2:it="Out of resources";break;case 3:it="Invalid screen layout";break;default:it="Unknown reason";break}f.Warn("Server did not accept the resize request: "+it)}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(ce){return this._fail("Error decoding rect: "+ce),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;Ne.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(ae,ce){this._fbWidth=ae,this._fbHeight=ce,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(ae,ce){if(this._rfbXvpVer<ae)return;f.Info("Sending XVP operation "+ce+" (version "+ae+")"),Ne.messages.xvpOp(this._sock,ae,ce)}},{key:"_updateCursor",value:function(ae,ce,_e,ze,it){this._cursorImage={rgbaPixels:ae,hotx:ce,hoty:_e,w:ze,h:it},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()?Ne.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,ce){var _e=ae.split("").map(function(ze){return ze.charCodeAt(0)});return new t.default(_e).encrypt(ce)}}]),Ne}(c.default);B.default=se,se.messages={keyEvent:function(ue,Ne,Fe){var ae=ue._sQ,ce=ue._sQlen;ae[ce]=4,ae[ce+1]=Fe,ae[ce+2]=0,ae[ce+3]=0,ae[ce+4]=Ne>>24,ae[ce+5]=Ne>>16,ae[ce+6]=Ne>>8,ae[ce+7]=Ne,ue._sQlen+=8,ue.flush()},QEMUExtendedKeyEvent:function(ue,Ne,Fe,ae){function ce(Ze){var Ee=ae>>8,mt=ae&255;return Ee===224&&mt<127?mt|128:Ze}var _e=ue._sQ,ze=ue._sQlen;_e[ze]=255,_e[ze+1]=0,_e[ze+2]=Fe>>8,_e[ze+3]=Fe,_e[ze+4]=Ne>>24,_e[ze+5]=Ne>>16,_e[ze+6]=Ne>>8,_e[ze+7]=Ne;var it=ce(ae);_e[ze+8]=it>>24,_e[ze+9]=it>>16,_e[ze+10]=it>>8,_e[ze+11]=it,ue._sQlen+=12,ue.flush()},pointerEvent:function(ue,Ne,Fe,ae){var ce=ue._sQ,_e=ue._sQlen;ce[_e]=5,ce[_e+1]=ae,ce[_e+2]=Ne>>8,ce[_e+3]=Ne,ce[_e+4]=Fe>>8,ce[_e+5]=Fe,ue._sQlen+=6,ue.flush()},_buildExtendedClipboardFlags:function(ue,Ne){for(var Fe=new Uint8Array(4),ae=0,ce=0,_e=0;_e<ue.length;_e++)ce|=ue[_e];for(var ze=0;ze<Ne.length;ze++)ae|=Ne[ze];return Fe[0]=ce>>24,Fe[1]=0,Fe[2]=0,Fe[3]=ae,Fe},extendedClipboardProvide:function(ue,Ne,Fe){for(var ae=new e.default,ce=[],_e=0;_e<Ne.length;_e++){if(Ne[_e]!=Ie)throw new Error("Unsupported extended clipboard format for Provide message.");Fe[_e]=Fe[_e].replace(/\r\n|\r|\n/gm,`\r
|
|
|
`);var ze=(0,A.encodeUTF8)(Fe[_e]+"\0");ce.push(ze.length>>24&255,ze.length>>16&255,ze.length>>8&255,ze.length&255);for(var it=0;it<ze.length;it++)ce.push(ze.charCodeAt(it))}var Ze=ae.deflate(new Uint8Array(ce)),Ee=new Uint8Array(4+Ze.length);Ee.set(se.messages._buildExtendedClipboardFlags([ee],Ne)),Ee.set(Ze,4),se.messages.clientCutText(ue,Ee,!0)},extendedClipboardNotify:function(ue,Ne){var Fe=se.messages._buildExtendedClipboardFlags([he],Ne);se.messages.clientCutText(ue,Fe,!0)},extendedClipboardRequest:function(ue,Ne){var Fe=se.messages._buildExtendedClipboardFlags([$e],Ne);se.messages.clientCutText(ue,Fe,!0)},extendedClipboardCaps:function(ue,Ne,Fe){var ae=Object.keys(Fe),ce=new Uint8Array(4+4*ae.length);ae.map(function(it){return parseInt(it)}),ae.sort(function(it,Ze){return it-Ze}),ce.set(se.messages._buildExtendedClipboardFlags(Ne,[]));for(var _e=4,ze=0;ze<ae.length;ze++)ce[_e]=Fe[ae[ze]]>>24,ce[_e+1]=Fe[ae[ze]]>>16,ce[_e+2]=Fe[ae[ze]]>>8,ce[_e+3]=Fe[ae[ze]]>>0,_e+=4,ce[3]|=1<<ae[ze];se.messages.clientCutText(ue,ce,!0)},clientCutText:function(ue,Ne){var Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ae=ue._sQ,ce=ue._sQlen;ae[ce]=6,ae[ce+1]=0,ae[ce+2]=0,ae[ce+3]=0;var _e;Fe?_e=(0,w.toUnsigned32bit)(-Ne.length):_e=Ne.length,ae[ce+4]=_e>>24,ae[ce+5]=_e>>16,ae[ce+6]=_e>>8,ae[ce+7]=_e,ue._sQlen+=8;for(var ze=0,it=Ne.length;it>0;){for(var Ze=Math.min(it,ue._sQbufferSize-ue._sQlen),Ee=0;Ee<Ze;Ee++)ae[ue._sQlen+Ee]=Ne[ze+Ee];ue._sQlen+=Ze,ue.flush(),it-=Ze,ze+=Ze}},setDesktopSize:function(ue,Ne,Fe,ae,ce){var _e=ue._sQ,ze=ue._sQlen;_e[ze]=251,_e[ze+1]=0,_e[ze+2]=Ne>>8,_e[ze+3]=Ne,_e[ze+4]=Fe>>8,_e[ze+5]=Fe,_e[ze+6]=1,_e[ze+7]=0,_e[ze+8]=ae>>24,_e[ze+9]=ae>>16,_e[ze+10]=ae>>8,_e[ze+11]=ae,_e[ze+12]=0,_e[ze+13]=0,_e[ze+14]=0,_e[ze+15]=0,_e[ze+16]=Ne>>8,_e[ze+17]=Ne,_e[ze+18]=Fe>>8,_e[ze+19]=Fe,_e[ze+20]=ce>>24,_e[ze+21]=ce>>16,_e[ze+22]=ce>>8,_e[ze+23]=ce,ue._sQlen+=24,ue.flush()},clientFence:function(ue,Ne,Fe){var ae=ue._sQ,ce=ue._sQlen;ae[ce]=248,ae[ce+1]=0,ae[ce+2]=0,ae[ce+3]=0,ae[ce+4]=Ne>>24,ae[ce+5]=Ne>>16,ae[ce+6]=Ne>>8,ae[ce+7]=Ne;var _e=Fe.length;ae[ce+8]=_e;for(var ze=0;ze<_e;ze++)ae[ce+9+ze]=Fe.charCodeAt(ze);ue._sQlen+=9+_e,ue.flush()},enableContinuousUpdates:function(ue,Ne,Fe,ae,ce,_e){var ze=ue._sQ,it=ue._sQlen;ze[it]=150,ze[it+1]=Ne,ze[it+2]=Fe>>8,ze[it+3]=Fe,ze[it+4]=ae>>8,ze[it+5]=ae,ze[it+6]=ce>>8,ze[it+7]=ce,ze[it+8]=_e>>8,ze[it+9]=_e,ue._sQlen+=10,ue.flush()},pixelFormat:function(ue,Ne,Fe){var ae=ue._sQ,ce=ue._sQlen,_e;Ne>16?_e=32:Ne>8?_e=16:_e=8;var ze=Math.floor(Ne/3);ae[ce]=0,ae[ce+1]=0,ae[ce+2]=0,ae[ce+3]=0,ae[ce+4]=_e,ae[ce+5]=Ne,ae[ce+6]=0,ae[ce+7]=Fe?1:0,ae[ce+8]=0,ae[ce+9]=(1<<ze)-1,ae[ce+10]=0,ae[ce+11]=(1<<ze)-1,ae[ce+12]=0,ae[ce+13]=(1<<ze)-1,ae[ce+14]=ze*2,ae[ce+15]=ze*1,ae[ce+16]=ze*0,ae[ce+17]=0,ae[ce+18]=0,ae[ce+19]=0,ue._sQlen+=20,ue.flush()},clientEncodings:function(ue,Ne){var Fe=ue._sQ,ae=ue._sQlen;Fe[ae]=2,Fe[ae+1]=0,Fe[ae+2]=Ne.length>>8,Fe[ae+3]=Ne.length;for(var ce=ae+4,_e=0;_e<Ne.length;_e++){var ze=Ne[_e];Fe[ce]=ze>>24,Fe[ce+1]=ze>>16,Fe[ce+2]=ze>>8,Fe[ce+3]=ze,ce+=4}ue._sQlen+=ce-ae,ue.flush()},fbUpdateRequest:function(ue,Ne,Fe,ae,ce,_e){var ze=ue._sQ,it=ue._sQlen;typeof Fe=="undefined"&&(Fe=0),typeof ae=="undefined"&&(ae=0),ze[it]=3,ze[it+1]=Ne?1:0,ze[it+2]=Fe>>8&255,ze[it+3]=Fe&255,ze[it+4]=ae>>8&255,ze[it+5]=ae&255,ze[it+6]=ce>>8&255,ze[it+7]=ce&255,ze[it+8]=_e>>8&255,ze[it+9]=_e&255,ue._sQlen+=10,ue.flush()},xvpOp:function(ue,Ne,Fe){var ae=ue._sQ,ce=ue._sQlen;ae[ce]=250,ae[ce+1]=0,ae[ce+2]=Ne,ae[ce+3]=Fe,ue._sQlen+=4,ue.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(M,B,o){(function(w){w(o("VrN/"))})(function(w){"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},A={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};w.defineMode("xml",function(m,g){var p=m.indentUnit,c={},h=g.htmlMode?f:A;for(var l in h)c[l]=h[l];for(var l in g)c[l]=g[l];var e,n;function i(L,R){function k(W){return R.tokenize=W,W(L,R)}var F=L.next();if(F=="<")return L.eat("!")?L.eat("[")?L.match("CDATA[")?k(t("atom","]]>")):null:L.match("--")?k(t("comment","-->")):L.match("DOCTYPE",!0,!0)?(L.eatWhile(/[\w\._\-]/),k(s(1))):null:L.eat("?")?(L.eatWhile(/[\w\._\-]/),R.tokenize=t("meta","?>"),"meta"):(e=L.eat("/")?"closeTag":"openTag",R.tokenize=r,"tag bracket");if(F=="&"){var P;return L.eat("#")?L.eat("x")?P=L.eatWhile(/[a-fA-F\d]/)&&L.eat(";"):P=L.eatWhile(/[\d]/)&&L.eat(";"):P=L.eatWhile(/[\w\.\-:]/)&&L.eat(";"),P?"atom":"error"}else return L.eatWhile(/[^&<]/),null}i.isInText=!0;function r(L,R){var k=L.next();if(k==">"||k=="/"&&L.eat(">"))return R.tokenize=i,e=k==">"?"endTag":"selfcloseTag","tag bracket";if(k=="=")return e="equals",null;if(k=="<"){R.tokenize=i,R.state=y,R.tagName=R.tagStart=null;var F=R.tokenize(L,R);return F?F+" tag error":"tag error"}else return/[\'\"]/.test(k)?(R.tokenize=a(k),R.stringStartCol=L.column(),R.tokenize(L,R)):(L.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function a(L){var R=function(F,P){for(;!F.eol();)if(F.next()==L){P.tokenize=r;break}return"string"};return R.isInAttribute=!0,R}function t(L,R){return function(k,F){for(;!k.eol();){if(k.match(R)){F.tokenize=i;break}k.next()}return L}}function s(L){return function(R,k){for(var F;(F=R.next())!=null;){if(F=="<")return k.tokenize=s(L+1),k.tokenize(R,k);if(F==">")if(L==1){k.tokenize=i;break}else return k.tokenize=s(L-1),k.tokenize(R,k)}return"meta"}}function u(L,R,k){this.prev=L.context,this.tagName=R,this.indent=L.indented,this.startOfLine=k,(c.doNotIndent.hasOwnProperty(R)||L.context&&L.context.noIndent)&&(this.noIndent=!0)}function d(L){L.context&&(L.context=L.context.prev)}function v(L,R){for(var k;;){if(!L.context)return;if(k=L.context.tagName,!c.contextGrabbers.hasOwnProperty(k)||!c.contextGrabbers[k].hasOwnProperty(R))return;d(L)}}function y(L,R,k){return L=="openTag"?(k.tagStart=R.column(),S):L=="closeTag"?b:y}function S(L,R,k){return L=="word"?(k.tagName=R.current(),n="tag",T):c.allowMissingTagName&&L=="endTag"?(n="tag bracket",T(L,R,k)):(n="error",S)}function b(L,R,k){if(L=="word"){var F=R.current();return k.context&&k.context.tagName!=F&&c.implicitlyClosed.hasOwnProperty(k.context.tagName)&&d(k),k.context&&k.context.tagName==F||c.matchClosing===!1?(n="tag",E):(n="tag error",C)}else return c.allowMissingTagName&&L=="endTag"?(n="tag bracket",E(L,R,k)):(n="error",C)}function E(L,R,k){return L!="endTag"?(n="error",E):(d(k),y)}function C(L,R,k){return n="error",E(L,R,k)}function T(L,R,k){if(L=="word")return n="attribute",x;if(L=="endTag"||L=="selfcloseTag"){var F=k.tagName,P=k.tagStart;return k.tagName=k.tagStart=null,L=="selfcloseTag"||c.autoSelfClosers.hasOwnProperty(F)?v(k,F):(v(k,F),k.context=new u(k,F,P==k.indented)),y}return n="error",T}function x(L,R,k){return L=="equals"?_:(c.allowMissing||(n="error"),T(L,R,k))}function _(L,R,k){return L=="string"?I:L=="word"&&c.allowUnquoted?(n="string",T):(n="error",T(L,R,k))}function I(L,R,k){return L=="string"?I:T(L,R,k)}return{startState:function(R){var k={tokenize:i,state:y,indented:R||0,tagName:null,tagStart:null,context:null};return R!=null&&(k.baseIndent=R),k},token:function(R,k){if(!k.tagName&&R.sol()&&(k.indented=R.indentation()),R.eatSpace())return null;e=null;var F=k.tokenize(R,k);return(F||e)&&F!="comment"&&(n=null,k.state=k.state(e||F,R,k),n&&(F=n=="error"?F+" error":n)),F},indent:function(R,k,F){var P=R.context;if(R.tokenize.isInAttribute)return R.tagStart==R.indented?R.stringStartCol+1:R.indented+p;if(P&&P.noIndent)return w.Pass;if(R.tokenize!=r&&R.tokenize!=i)return F?F.match(/^(\s*)/)[0].length:0;if(R.tagName)return c.multilineTagIndentPastTag!==!1?R.tagStart+R.tagName.length+2:R.tagStart+p*(c.multilineTagIndentFactor||1);if(c.alignCDATA&&/<!\[CDATA\[/.test(k))return 0;var W=k&&/^<(\/)?([\w_:\.-]*)/.exec(k);if(W&&W[1])for(;P;)if(P.tagName==W[2]){P=P.prev;break}else if(c.implicitlyClosed.hasOwnProperty(P.tagName))P=P.prev;else break;else if(W)for(;P;){var D=c.contextGrabbers[P.tagName];if(D&&D.hasOwnProperty(W[2]))P=P.prev;else break}for(;P&&P.prev&&!P.startOfLine;)P=P.prev;return P?P.indent+p:R.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:c.htmlMode?"html":"xml",helperType:c.htmlMode?"html":"xml",skipAttribute:function(R){R.state==_&&(R.state=T)},xmlCurrentTag:function(R){return R.tagName?{name:R.tagName,close:R.type=="closeTag"}:null},xmlCurrentContext:function(R){for(var k=[],F=R.context;F;F=F.prev)F.tagName&&k.push(F.tagName);return k.reverse()}}}),w.defineMIME("text/xml","xml"),w.defineMIME("application/xml","xml"),w.mimeModes.hasOwnProperty("text/html")||w.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1j5w":function(M,B,o){"use strict";o.d(B,"e",function(){return ue}),o.d(B,"b",function(){return z}),o.d(B,"d",function(){return z}),o.d(B,"c",function(){return br}),o.d(B,"a",function(){return Lr}),o.d(B,"g",function(){return Jr});var w=o("wx14"),f=o("rePB"),A=o("VTBJ"),m=o("KQm4"),g=o("ODXe"),p=o("Ff2n"),c=o("q1tI"),h=o("TSYQ"),l=o.n(h),e=o("Gytx"),n=o.n(e),i=o("6cGi"),r=o("Kwbf"),a=o("8z13"),t=o("1OyB"),s=o("vuIU"),u=o("Ji7U"),d=o("LK+K"),v=o("4IlW"),y=o("bT9E"),S=o("YrtM"),b=c.createContext(null);function E(Tr,fr){var vt=Object(A.a)({},Tr);return Object.keys(fr).forEach(function(ft){var Te=fr[ft];Te!==void 0&&(vt[ft]=Te)}),vt}function C(Tr){var fr=Tr.children,vt=Tr.locked,ft=Object(p.a)(Tr,["children","locked"]),Te=c.useContext(b),Pe=Object(S.a)(function(){return E(Te,ft)},[Te,ft],function(Ge,st){return!vt&&(Ge[0]!==st[0]||!n()(Ge[1],st[1]))});return c.createElement(b.Provider,{value:Pe},fr)}function T(Tr,fr,vt,ft){var Te=c.useContext(b),Pe=Te.activeKey,Ge=Te.onActive,st=Te.onInactive,Bt={active:Pe===Tr};return fr||(Bt.onMouseEnter=function($t){vt==null||vt({key:Tr,domEvent:$t}),Ge(Tr)},Bt.onMouseLeave=function($t){ft==null||ft({key:Tr,domEvent:$t}),st(Tr)}),Bt}function x(Tr){var fr=Tr.item,vt=Object(p.a)(Tr,["item"]);return Object.defineProperty(vt,"item",{get:function(){return Object(r.a)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),fr}}),vt}function _(Tr){var fr=Tr.icon,vt=Tr.props,ft=Tr.children,Te;return typeof fr=="function"?Te=c.createElement(fr,Object(A.a)({},vt)):Te=fr,Te||ft||null}function I(Tr){var fr=c.useContext(b),vt=fr.mode,ft=fr.rtl,Te=fr.inlineIndent;if(vt!=="inline")return null;var Pe=Tr;return ft?{paddingRight:Pe*Te}:{paddingLeft:Pe*Te}}var L=[],R=c.createContext(null);function k(){return c.useContext(R)}var F=c.createContext(L);function P(Tr){var fr=c.useContext(F);return c.useMemo(function(){return Tr!==void 0?[].concat(Object(m.a)(fr),[Tr]):fr},[fr,Tr])}var W=c.createContext(null),D=c.createContext(null);function U(Tr,fr){return Tr===void 0?null:"".concat(Tr,"-").concat(fr)}function H(Tr){var fr=c.useContext(D);return U(fr,Tr)}var j=function(Tr){Object(u.a)(vt,Tr);var fr=Object(d.a)(vt);function vt(){return Object(t.a)(this,vt),fr.apply(this,arguments)}return Object(s.a)(vt,[{key:"render",value:function(){var Te=this.props,Pe=Te.title,Ge=Te.attribute,st=Te.elementRef,Bt=Object(p.a)(Te,["title","attribute","elementRef"]),$t=Object(y.a)(Bt,["eventKey"]);return Object(r.a)(!Ge,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),c.createElement(a.a.Item,Object(w.a)({},Ge,{title:typeof Pe=="string"?Pe:void 0},$t,{ref:st}))}}]),vt}(c.Component),K=function(fr){var vt,ft=fr.style,Te=fr.className,Pe=fr.eventKey,Ge=fr.warnKey,st=fr.disabled,Bt=fr.itemIcon,$t=fr.children,Nr=fr.role,yn=fr.onMouseEnter,un=fr.onMouseLeave,Kt=fr.onClick,St=fr.onKeyDown,kt=fr.onFocus,Jt=Object(p.a)(fr,["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"]),Br=H(Pe),Hr=c.useContext(b),$r=Hr.prefixCls,Ft=Hr.onItemClick,cr=Hr.disabled,Cr=Hr.overflowDisabled,Fr=Hr.itemIcon,Wr=Hr.selectedKeys,An=Hr.onActive,bn="".concat($r,"-item"),Sn=c.useRef(),kn=c.useRef(),ei=cr||st,Jn=P(Pe),ai=function(dr){return{key:Pe,keyPath:Object(m.a)(Jn).reverse(),item:Sn.current,domEvent:dr}},ii=Bt||Fr,qe=T(Pe,ei,yn,un),Se=qe.active,Me=Object(p.a)(qe,["active"]),Be=Wr.includes(Pe),Qe=I(Jn.length),Ve=function(dr){if(ei)return;var tr=ai(dr);Kt==null||Kt(x(tr)),Ft(tr)},Ye=function(dr){if(St==null||St(dr),dr.which===v.a.ENTER){var tr=ai(dr);Kt==null||Kt(x(tr)),Ft(tr)}},pt=function(dr){An(Pe),kt==null||kt(dr)},ht={};return fr.role==="option"&&(ht["aria-selected"]=Be),c.createElement(j,Object(w.a)({ref:Sn,elementRef:kn,role:Nr===null?"none":Nr||"menuitem",tabIndex:st?null:-1,"data-menu-id":Cr&&Br?null:Br},Jt,Me,ht,{component:"li","aria-disabled":st,style:Object(A.a)(Object(A.a)({},Qe),ft),className:l()(bn,(vt={},Object(f.a)(vt,"".concat(bn,"-active"),Se),Object(f.a)(vt,"".concat(bn,"-selected"),Be),Object(f.a)(vt,"".concat(bn,"-disabled"),ei),vt),Te),onClick:Ve,onKeyDown:Ye,onFocus:pt}),$t,c.createElement(_,{props:Object(A.a)(Object(A.a)({},fr),{},{isSelected:Be}),icon:ii}))};function X(Tr){var fr=Tr.eventKey,vt=k(),ft=P(fr);return c.useEffect(function(){if(vt)return vt.registerPath(fr,ft),function(){vt.unregisterPath(fr,ft)}},[ft]),vt?null:c.createElement(K,Tr)}var z=X,Y=o("Zm9Q");function $(Tr,fr){return Object(Y.a)(Tr).map(function(vt,ft){if(c.isValidElement(vt)){var Te,Pe,Ge=vt.key,st=(Te=(Pe=vt.props)===null||Pe===void 0?void 0:Pe.eventKey)!==null&&Te!==void 0?Te:Ge,Bt=st==null;Bt&&(st="tmp_key-".concat([].concat(Object(m.a)(fr),[ft]).join("-")));var $t={key:st,eventKey:st};return c.cloneElement(vt,$t)}return vt})}function ne(Tr){var fr=c.useRef(Tr);fr.current=Tr;var vt=c.useCallback(function(){for(var ft,Te=arguments.length,Pe=new Array(Te),Ge=0;Ge<Te;Ge++)Pe[Ge]=arguments[Ge];return(ft=fr.current)===null||ft===void 0?void 0:ft.call.apply(ft,[fr].concat(Pe))},[]);return Tr?vt:void 0}var J=function(fr,vt){var ft=fr.className,Te=fr.children,Pe=Object(p.a)(fr,["className","children"]),Ge=c.useContext(b),st=Ge.prefixCls,Bt=Ge.mode;return c.createElement("ul",Object(w.a)({className:l()(st,"".concat(st,"-sub"),"".concat(st,"-").concat(Bt==="inline"?"inline":"vertical"),ft)},Pe,{"data-menu-list":!0,ref:vt}),Te)},ge=c.forwardRef(J);ge.displayName="SubMenuList";var de=ge,Ie=o("uciX"),be=o("wgJM"),Ce={adjustX:1,adjustY:1},je={topLeft:{points:["bl","tl"],overflow:Ce,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ce,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Ce,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Ce,offset:[4,0]}},te={topLeft:{points:["bl","tl"],overflow:Ce,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ce,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Ce,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Ce,offset:[4,0]}},ve=je;function $e(Tr,fr,vt){return fr||(vt?vt[Tr]||vt.other:void 0)}var Le={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function he(Tr){var fr=Tr.prefixCls,vt=Tr.visible,ft=Tr.children,Te=Tr.popup,Pe=Tr.popupClassName,Ge=Tr.popupOffset,st=Tr.disabled,Bt=Tr.mode,$t=Tr.onVisibleChange,Nr=c.useContext(b),yn=Nr.getPopupContainer,un=Nr.rtl,Kt=Nr.subMenuOpenDelay,St=Nr.subMenuCloseDelay,kt=Nr.builtinPlacements,Jt=Nr.triggerSubMenuAction,Br=Nr.forceSubMenuRender,Hr=Nr.motion,$r=Nr.defaultMotions,Ft=c.useState(!1),cr=Object(g.a)(Ft,2),Cr=cr[0],Fr=cr[1],Wr=un?Object(A.a)(Object(A.a)({},te),kt):Object(A.a)(Object(A.a)({},je),kt),An=Le[Bt],bn=$e(Bt,Hr,$r),Sn=Object(A.a)(Object(A.a)({},bn),{},{leavedClassName:"".concat(fr,"-hidden"),removeOnLeave:!1,motionAppear:!0}),kn=c.useRef();return c.useEffect(function(){return kn.current=Object(be.a)(function(){Fr(vt)}),function(){be.a.cancel(kn.current)}},[vt]),c.createElement(Ie.a,{prefixCls:fr,popupClassName:l()("".concat(fr,"-popup"),Object(f.a)({},"".concat(fr,"-rtl"),un),Pe),stretch:Bt==="horizontal"?"minWidth":null,getPopupContainer:yn,builtinPlacements:Wr,popupPlacement:An,popupVisible:Cr,popup:Te,popupAlign:Ge&&{offset:Ge},action:st?[]:[Jt],mouseEnterDelay:Kt,mouseLeaveDelay:St,onPopupVisibleChange:$t,forceRender:Br,popupMotion:Sn},ft)}var ee=o("8XRh");function se(Tr){var fr=Tr.id,vt=Tr.open,ft=Tr.keyPath,Te=Tr.children,Pe="inline",Ge=c.useContext(b),st=Ge.prefixCls,Bt=Ge.forceSubMenuRender,$t=Ge.motion,Nr=Ge.defaultMotions,yn=Ge.mode,un=c.useRef(!1);un.current=yn===Pe;var Kt=c.useState(!un.current),St=Object(g.a)(Kt,2),kt=St[0],Jt=St[1],Br=un.current?vt:!1;c.useEffect(function(){un.current&&Jt(!1)},[yn]);var Hr=Object(A.a)({},$e(Pe,$t,Nr));ft.length>1&&(Hr.motionAppear=!1);var $r=Hr.onVisibleChanged;return Hr.onVisibleChanged=function(Ft){return!un.current&&!Ft&&Jt(!0),$r==null?void 0:$r(Ft)},kt?null:c.createElement(C,{mode:Pe,locked:!un.current},c.createElement(ee.default,Object(w.a)({visible:Br},Hr,{forceRender:Bt,removeOnLeave:!1,leavedClassName:"".concat(st,"-hidden")}),function(Ft){var cr=Ft.className,Cr=Ft.style;return c.createElement(de,{id:fr,className:cr,style:Cr},Te)}))}var Ue=function(fr){var vt,ft=fr.style,Te=fr.className,Pe=fr.title,Ge=fr.eventKey,st=fr.warnKey,Bt=fr.disabled,$t=fr.internalPopupClose,Nr=fr.children,yn=fr.itemIcon,un=fr.expandIcon,Kt=fr.popupClassName,St=fr.popupOffset,kt=fr.onClick,Jt=fr.onMouseEnter,Br=fr.onMouseLeave,Hr=fr.onTitleClick,$r=fr.onTitleMouseEnter,Ft=fr.onTitleMouseLeave,cr=Object(p.a)(fr,["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"]),Cr=H(Ge),Fr=c.useContext(b),Wr=Fr.prefixCls,An=Fr.mode,bn=Fr.openKeys,Sn=Fr.disabled,kn=Fr.overflowDisabled,ei=Fr.activeKey,Jn=Fr.selectedKeys,ai=Fr.itemIcon,ii=Fr.expandIcon,qe=Fr.onItemClick,Se=Fr.onOpenChange,Me=Fr.onActive,Be=c.useContext(W),Qe=Be.isSubPathKey,Ve=P(),Ye="".concat(Wr,"-submenu"),pt=Sn||Bt,ht=c.useRef(),Vt=c.useRef(),dr=yn||ai,tr=un||ii,ir=bn.includes(Ge),_t=!kn&&ir,gr=Qe(Jn,Ge),jt=T(Ge,pt,$r,Ft),Sr=jt.active,Ar=Object(p.a)(jt,["active"]),sr=c.useState(!1),ln=Object(g.a)(sr,2),_n=ln[0],Wn=ln[1],Nn=function(Bn){pt||Wn(Bn)},Mn=function(Bn){Nn(!0),Jt==null||Jt({key:Ge,domEvent:Bn})},Gn=function(Bn){Nn(!1),Br==null||Br({key:Ge,domEvent:Bn})},xn=c.useMemo(function(){return Sr||(An!=="inline"?_n||Qe([ei],Ge):!1)},[An,Sr,ei,_n,Ge,Qe]),mi=I(Ve.length),rn=function(Bn){if(pt)return;Hr==null||Hr({key:Ge,domEvent:Bn}),An==="inline"&&Se(Ge,!ir)},Ur=ne(function(gi){kt==null||kt(x(gi)),qe(gi)}),cn=function(Bn){An!=="inline"&&Se(Ge,Bn)},Qr=function(){Me(Ge)},Vn=Cr&&"".concat(Cr,"-popup"),Hn=c.createElement("div",Object(w.a)({role:"menuitem",style:mi,className:"".concat(Ye,"-title"),tabIndex:pt?null:-1,ref:ht,title:typeof Pe=="string"?Pe:null,"data-menu-id":kn&&Cr?null:Cr,"aria-expanded":_t,"aria-haspopup":!0,"aria-controls":Vn,"aria-disabled":pt,onClick:rn,onFocus:Qr},Ar),Pe,c.createElement(_,{icon:An!=="horizontal"?tr:null,props:Object(A.a)(Object(A.a)({},fr),{},{isOpen:_t,isSubMenu:!0})},c.createElement("i",{className:"".concat(Ye,"-arrow")}))),li=c.useRef(An);if(An!=="inline"&&(li.current=Ve.length>1?"vertical":An),!kn){var Un=li.current;Hn=c.createElement(he,{mode:Un,prefixCls:Ye,visible:!$t&&_t&&An!=="inline",popupClassName:Kt,popupOffset:St,popup:c.createElement(C,{mode:Un==="horizontal"?"vertical":Un},c.createElement(de,{id:Vn,ref:Vt},Nr)),disabled:pt,onVisibleChange:cn},Hn)}return c.createElement(C,{onItemClick:Ur,mode:An==="horizontal"?"vertical":An,itemIcon:dr,expandIcon:tr},c.createElement(a.a.Item,Object(w.a)({role:"none"},cr,{component:"li",style:ft,className:l()(Ye,"".concat(Ye,"-").concat(An),Te,(vt={},Object(f.a)(vt,"".concat(Ye,"-open"),_t),Object(f.a)(vt,"".concat(Ye,"-active"),xn),Object(f.a)(vt,"".concat(Ye,"-selected"),gr),Object(f.a)(vt,"".concat(Ye,"-disabled"),pt),vt)),onMouseEnter:Mn,onMouseLeave:Gn}),Hn,!kn&&c.createElement(se,{id:Vn,open:_t,keyPath:Ve},Nr)))};function ue(Tr){var fr=Tr.eventKey,vt=Tr.children,ft=P(fr),Te=$(vt,ft),Pe=k();c.useEffect(function(){if(Pe)return Pe.registerPath(fr,ft),function(){Pe.unregisterPath(fr,ft)}},[ft]);var Ge;return Pe?Ge=Te:Ge=c.createElement(Ue,Tr,Te),c.createElement(F.Provider,{value:ft},Ge)}var Ne=o("x/xZ");function Fe(Tr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Object(Ne.a)(Tr)){var vt=Tr.nodeName.toLowerCase(),ft=["input","select","textarea","button"].includes(vt)||Tr.isContentEditable||vt==="a"&&!!Tr.getAttribute("href"),Te=Tr.getAttribute("tabindex"),Pe=Number(Te),Ge=null;return Te&&!Number.isNaN(Pe)?Ge=Pe:ft&&Ge===null&&(Ge=0),ft&&Tr.disabled&&(Ge=null),Ge!==null&&(Ge>=0||fr&&Ge<0)}return!1}function ae(Tr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,vt=Object(m.a)(Tr.querySelectorAll("*")).filter(function(ft){return Fe(ft,fr)});return Fe(Tr,fr)&&vt.unshift(Tr),vt}var ce=null;function _e(){ce=document.activeElement}function ze(){ce=null}function it(){if(ce)try{ce.focus()}catch(Tr){}}function Ze(Tr,fr){if(fr.keyCode===9){var vt=ae(Tr),ft=vt[fr.shiftKey?0:vt.length-1],Te=ft===document.activeElement||Tr===document.activeElement;if(Te){var Pe=vt[fr.shiftKey?vt.length-1:0];Pe.focus(),fr.preventDefault()}}}var Ee=v.a.LEFT,mt=v.a.RIGHT,Je=v.a.UP,rt=v.a.DOWN,wt=v.a.ENTER,Ot=v.a.ESC,Ct=[Je,rt,Ee,mt];function Dt(Tr,fr,vt,ft){var Te,Pe,Ge,st,Bt="prev",$t="next",Nr="children",yn="parent";if(Tr==="inline"&&ft===wt)return{inlineTrigger:!0};var un=(Te={},Object(f.a)(Te,Je,Bt),Object(f.a)(Te,rt,$t),Te),Kt=(Pe={},Object(f.a)(Pe,Ee,vt?$t:Bt),Object(f.a)(Pe,mt,vt?Bt:$t),Object(f.a)(Pe,rt,Nr),Object(f.a)(Pe,wt,Nr),Pe),St=(Ge={},Object(f.a)(Ge,Je,Bt),Object(f.a)(Ge,rt,$t),Object(f.a)(Ge,wt,Nr),Object(f.a)(Ge,Ot,yn),Object(f.a)(Ge,Ee,vt?Nr:yn),Object(f.a)(Ge,mt,vt?yn:Nr),Ge),kt={inline:un,horizontal:Kt,vertical:St,inlineSub:un,horizontalSub:St,verticalSub:St},Jt=(st=kt["".concat(Tr).concat(fr?"":"Sub")])===null||st===void 0?void 0:st[ft];switch(Jt){case Bt:return{offset:-1,sibling:!0};case $t:return{offset:1,sibling:!0};case yn:return{offset:-1,sibling:!1};case Nr:return{offset:1,sibling:!1};default:return null}}function Xe(Tr){for(var fr=Tr;fr;){if(fr.getAttribute("data-menu-list"))return fr;fr=fr.parentElement}return null}function q(Tr,fr){for(var vt=Tr||document.activeElement;vt;){if(fr.has(vt))return vt;vt=vt.parentElement}return null}function V(Tr,fr){var vt=ae(Tr,!0);return vt.filter(function(ft){return fr.has(ft)})}function Ae(Tr,fr,vt){var ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Tr)return null;var Te=V(Tr,fr),Pe=Te.length,Ge=Te.findIndex(function(st){return vt===st});return ft<0?Ge===-1?Ge=Pe-1:Ge-=1:ft>0&&(Ge+=1),Ge=(Ge+Pe)%Pe,Te[Ge]}function xe(Tr,fr,vt,ft,Te,Pe,Ge,st,Bt,$t){var Nr=c.useRef(),yn=c.useRef();yn.current=fr;var un=function(){be.a.cancel(Nr.current)};return c.useEffect(function(){return function(){un()}},[]),function(Kt){var St=Kt.which;if([].concat(Ct,[wt,Ot]).includes(St)){var kt,Jt,Br,Hr=function(){kt=new Set,Jt=new Map,Br=new Map;var Jn=Pe();return Jn.forEach(function(ai){var ii=document.querySelector("[data-menu-id='".concat(U(ft,ai),"']"));ii&&(kt.add(ii),Br.set(ii,ai),Jt.set(ai,ii))}),kt};Hr();var $r=Jt.get(fr),Ft=q($r,kt),cr=Br.get(Ft),Cr=Dt(Tr,Ge(cr,!0).length===1,vt,St);if(!Cr)return;Ct.includes(St)&&Kt.preventDefault();var Fr=function(Jn){if(Jn){var ai=Jn,ii=Jn.querySelector("a");(ii==null?void 0:ii.getAttribute("href"))&&(ai=ii);var qe=Br.get(Jn);st(qe),un(),Nr.current=Object(be.a)(function(){yn.current===qe&&ai.focus()})}};if(Cr.sibling||!Ft){var Wr;!Ft||Tr==="inline"?Wr=Te.current:Wr=Xe(Ft);var An=Ae(Wr,kt,Ft,Cr.offset);Fr(An)}else if(Cr.inlineTrigger)Bt(cr);else if(Cr.offset>0)Bt(cr,!0),un(),Nr.current=Object(be.a)(function(){Hr();var ei=Ft.getAttribute("aria-controls"),Jn=document.getElementById(ei),ai=Ae(Jn,kt);Fr(ai)},5);else if(Cr.offset<0){var bn=Ge(cr,!0),Sn=bn[bn.length-2],kn=Jt.get(Sn);Bt(Sn,!1),Fr(kn)}}$t==null||$t(Kt)}}var re=Math.random().toFixed(5).toString().slice(2),ot=0;function bt(Tr){var fr=Object(i.a)(Tr,{value:Tr}),vt=Object(g.a)(fr,2),ft=vt[0],Te=vt[1];return c.useEffect(function(){ot+=1;var Pe="".concat(re,"-").concat(ot);Te("rc-menu-uuid-".concat(Pe))},[]),ft}function tt(Tr){Promise.resolve().then(Tr)}var Tt="__RC_UTIL_PATH_SPLIT__",Gt=function(fr){return fr.join(Tt)},lr=function(fr){return fr.split(Tt)},pr="rc-menu-more";function Rr(){var Tr=c.useState({}),fr=Object(g.a)(Tr,2),vt=fr[1],ft=Object(c.useRef)(new Map),Te=Object(c.useRef)(new Map),Pe=c.useState([]),Ge=Object(g.a)(Pe,2),st=Ge[0],Bt=Ge[1],$t=Object(c.useRef)(0),Nr=Object(c.useRef)(!1),yn=function(){Nr.current||vt({})},un=Object(c.useCallback)(function($r,Ft){var cr=Gt(Ft);Te.current.set(cr,$r),ft.current.set($r,cr),$t.current+=1;var Cr=$t.current;tt(function(){Cr===$t.current&&yn()})},[]),Kt=Object(c.useCallback)(function($r,Ft){var cr=Gt(Ft);Te.current.delete(cr),ft.current.delete($r)},[]),St=Object(c.useCallback)(function($r){Bt($r)},[]),kt=Object(c.useCallback)(function($r,Ft){var cr=ft.current.get($r)||"",Cr=lr(cr);return Ft&&st.includes(Cr[0])&&Cr.unshift(pr),Cr},[st]),Jt=Object(c.useCallback)(function($r,Ft){return $r.some(function(cr){var Cr=kt(cr,!0);return Cr.includes(Ft)})},[kt]),Br=function(){var Ft=Object(m.a)(ft.current.keys());return st.length&&Ft.push(pr),Ft},Hr=Object(c.useCallback)(function($r){var Ft="".concat(ft.current.get($r)).concat(Tt),cr=new Set;return Object(m.a)(Te.current.keys()).forEach(function(Cr){Cr.startsWith(Ft)&&cr.add(Te.current.get(Cr))}),cr},[]);return c.useEffect(function(){return function(){Nr.current=!0}},[]),{registerPath:un,unregisterPath:Kt,refreshOverflowKeys:St,isSubPathKey:Jt,getKeyPath:kt,getKeys:Br,getSubPathKeys:Hr}}var xt=[],It=function(fr){var vt,ft,Te=fr.prefixCls,Pe=Te===void 0?"rc-menu":Te,Ge=fr.style,st=fr.className,Bt=fr.tabIndex,$t=Bt===void 0?0:Bt,Nr=fr.children,yn=fr.direction,un=fr.id,Kt=fr.mode,St=Kt===void 0?"vertical":Kt,kt=fr.inlineCollapsed,Jt=fr.disabled,Br=fr.disabledOverflow,Hr=fr.subMenuOpenDelay,$r=Hr===void 0?.1:Hr,Ft=fr.subMenuCloseDelay,cr=Ft===void 0?.1:Ft,Cr=fr.forceSubMenuRender,Fr=fr.defaultOpenKeys,Wr=fr.openKeys,An=fr.activeKey,bn=fr.defaultActiveFirst,Sn=fr.selectable,kn=Sn===void 0?!0:Sn,ei=fr.multiple,Jn=ei===void 0?!1:ei,ai=fr.defaultSelectedKeys,ii=fr.selectedKeys,qe=fr.onSelect,Se=fr.onDeselect,Me=fr.inlineIndent,Be=Me===void 0?24:Me,Qe=fr.motion,Ve=fr.defaultMotions,Ye=fr.triggerSubMenuAction,pt=Ye===void 0?"hover":Ye,ht=fr.builtinPlacements,Vt=fr.itemIcon,dr=fr.expandIcon,tr=fr.overflowedIndicator,ir=tr===void 0?"...":tr,_t=fr.overflowedIndicatorPopupClassName,gr=fr.getPopupContainer,jt=fr.onClick,Sr=fr.onOpenChange,Ar=fr.onKeyDown,sr=fr.openAnimation,ln=fr.openTransitionName,_n=Object(p.a)(fr,["prefixCls","style","className","tabIndex","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName"]),Wn=$(Nr,xt),Nn=c.useState(!1),Mn=Object(g.a)(Nn,2),Gn=Mn[0],xn=Mn[1],mi=c.useRef(),rn=bt(un),Ur=yn==="rtl",cn=c.useMemo(function(){return(St==="inline"||St==="vertical")&&kt?["vertical",kt]:[St,!1]},[St,kt]),Qr=Object(g.a)(cn,2),Vn=Qr[0],Hn=Qr[1],li=c.useState(0),Un=Object(g.a)(li,2),gi=Un[0],Bn=Un[1],di=gi>=Wn.length-1||Vn!=="horizontal"||Br,qr=Object(i.a)(Fr,{value:Wr,postState:function(Yr){return Yr||xt}}),xr=Object(g.a)(qr,2),nn=xr[0],gn=xr[1],On=function(Yr){gn(Yr),Sr==null||Sr(Yr)},Fn=c.useState(nn),zn=Object(g.a)(Fn,2),$n=zn[0],Zn=zn[1],vi=Vn==="inline",Pi=c.useRef(!1);c.useEffect(function(){vi&&Zn(nn)},[nn]),c.useEffect(function(){if(!Pi.current){Pi.current=!0;return}vi?gn($n):On(xt)},[vi]);var Fi=Rr(),ja=Fi.registerPath,Qn=Fi.unregisterPath,Xr=Fi.refreshOverflowKeys,hi=Fi.isSubPathKey,Ri=Fi.getKeyPath,bi=Fi.getKeys,Ui=Fi.getSubPathKeys,ni=c.useMemo(function(){return{registerPath:ja,unregisterPath:Qn}},[ja,Qn]),qi=c.useMemo(function(){return{isSubPathKey:hi}},[hi]);c.useEffect(function(){Xr(di?xt:Wn.slice(gi+1).map(function(an){return an.key}))},[gi,di]);var Qi=Object(i.a)(An||bn&&((vt=Wn[0])===null||vt===void 0?void 0:vt.key),{value:An}),ha=Object(g.a)(Qi,2),Yt=ha[0],Ir=ha[1],Zr=ne(function(an){Ir(an)}),He=ne(function(){Ir(void 0)}),gt=Object(i.a)(ai||[],{value:ii,postState:function(Yr){return Array.isArray(Yr)?Yr:Yr==null?xt:[Yr]}}),Xt=Object(g.a)(gt,2),zt=Xt[0],vr=Xt[1],or=function(Yr){if(kn){var fn=Yr.key,vn=zt.includes(fn),Ln;Jn?vn?Ln=zt.filter(function(si){return si!==fn}):Ln=[].concat(Object(m.a)(zt),[fn]):Ln=[fn],vr(Ln);var oi=Object(A.a)(Object(A.a)({},Yr),{},{selectedKeys:Ln});vn?Se==null||Se(oi):qe==null||qe(oi)}!Jn&&nn.length&&Vn!=="inline"&&On(xt)},Vr=ne(function(an){jt==null||jt(x(an)),or(an)}),Kr=ne(function(an,Yr){var fn=nn.filter(function(Ln){return Ln!==an});if(Yr)fn.push(an);else if(Vn!=="inline"){var vn=Ui(an);fn=fn.filter(function(Ln){return!vn.has(Ln)})}n()(nn,fn)||On(fn)}),Dr=ne(gr),dn=function(Yr,fn){var vn=fn!=null?fn:!nn.includes(Yr);Kr(Yr,vn)},on=xe(Vn,Yt,Ur,rn,mi,bi,Ri,Ir,dn,Ar);c.useEffect(function(){xn(!0)},[]);var Cn=Vn!=="horizontal"||Br?Wn:Wn.map(function(an,Yr){return c.createElement(C,{key:an.key,overflowDisabled:Yr>gi},an)}),sn=c.createElement(a.a,Object(w.a)({id:un,ref:mi,prefixCls:"".concat(Pe,"-overflow"),component:"ul",itemComponent:z,className:l()(Pe,"".concat(Pe,"-root"),"".concat(Pe,"-").concat(Vn),st,(ft={},Object(f.a)(ft,"".concat(Pe,"-inline-collapsed"),Hn),Object(f.a)(ft,"".concat(Pe,"-rtl"),Ur),ft)),dir:yn,style:Ge,role:"menu",tabIndex:$t,data:Cn,renderRawItem:function(Yr){return Yr},renderRawRest:function(Yr){var fn=Yr.length,vn=fn?Wn.slice(-fn):null;return c.createElement(ue,{eventKey:pr,title:ir,disabled:di,internalPopupClose:fn===0,popupClassName:_t},vn)},maxCount:Vn!=="horizontal"||Br?a.a.INVALIDATE:a.a.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Yr){Bn(Yr)},onKeyDown:on},_n));return c.createElement(D.Provider,{value:rn},c.createElement(C,{prefixCls:Pe,mode:Vn,openKeys:nn,rtl:Ur,disabled:Jt,motion:Gn?Qe:null,defaultMotions:Gn?Ve:null,activeKey:Yt,onActive:Zr,onInactive:He,selectedKeys:zt,inlineIndent:Be,subMenuOpenDelay:$r,subMenuCloseDelay:cr,forceSubMenuRender:Cr,builtinPlacements:ht,triggerSubMenuAction:pt,getPopupContainer:Dr,itemIcon:Vt,expandIcon:dr,onItemClick:Vr,onOpenChange:Kr},c.createElement(W.Provider,{value:qi},sn),c.createElement("div",{style:{display:"none"},"aria-hidden":!0},c.createElement(R.Provider,{value:ni},Wn))))},At=It,Zt=function(fr){var vt=fr.className,ft=fr.title,Te=fr.eventKey,Pe=fr.children,Ge=Object(p.a)(fr,["className","title","eventKey","children"]),st=c.useContext(b),Bt=st.prefixCls,$t="".concat(Bt,"-item-group");return c.createElement("li",Object(w.a)({},Ge,{onClick:function(yn){return yn.stopPropagation()},className:l()($t,vt)}),c.createElement("div",{className:"".concat($t,"-title"),title:typeof ft=="string"?ft:void 0},ft),c.createElement("ul",{className:"".concat($t,"-list")},Pe))};function br(Tr){var fr=Tr.children,vt=Object(p.a)(Tr,["children"]),ft=P(vt.eventKey),Te=$(fr,ft),Pe=k();return Pe?Te:c.createElement(Zt,Object(y.a)(vt,["warnKey"]),Te)}function Lr(Tr){var fr=Tr.className,vt=Tr.style,ft=c.useContext(b),Te=ft.prefixCls,Pe=k();return Pe?null:c.createElement("li",{className:l()("".concat(Te,"-item-divider"),fr),style:vt})}var Jr=P,In=At;In.Item=z,In.SubMenu=ue,In.ItemGroup=br,In.Divider=Lr;var Gr=B.f=In},"1n7x":function(M,B,o){(function(w,f){/*!
|
|
|
* html2pdf.js v0.10.1
|
|
|
* Copyright (c) 2021 Erik Koopmans
|
|
|
* Released under the MIT License.
|
|
|
*/(function(m,g){M.exports=g(o("dtIV"),o("wOnQ"))})(self,function(A,m){return function(){var g={"./src/plugin/hyperlinks.js":function(e,n,i){"use strict";i.r(n);var r=i("./node_modules/core-js/modules/web.dom-collections.for-each.js"),a=i.n(r),t=i("./node_modules/core-js/modules/es.string.link.js"),s=i.n(t),u=i("./src/worker.js"),d=i("./src/utils.js"),v=[],y={toContainer:u.default.prototype.toContainer,toPdf:u.default.prototype.toPdf};u.default.prototype.toContainer=function(){return y.toContainer.call(this).then(function(){if(this.opt.enableLinks){var E=this.prop.container,C=E.querySelectorAll("a"),T=(0,d.unitConvert)(E.getBoundingClientRect(),this.prop.pageSize.k);v=[],Array.prototype.forEach.call(C,function(x){for(var _=x.getClientRects(),I=0;I<_.length;I++){var L=(0,d.unitConvert)(_[I],this.prop.pageSize.k);L.left-=T.left,L.top-=T.top;var R=Math.floor(L.top/this.prop.pageSize.inner.height)+1,k=this.opt.margin[0]+L.top%this.prop.pageSize.inner.height,F=this.opt.margin[1]+L.left;v.push({page:R,top:k,left:F,clientRect:L,link:x})}},this)}})},u.default.prototype.toPdf=function(){return y.toPdf.call(this).then(function(){if(this.opt.enableLinks){v.forEach(function(C){this.prop.pdf.setPage(C.page),this.prop.pdf.link(C.left,C.top,C.clientRect.width,C.clientRect.height,{url:C.link.href})},this);var E=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(E)}})}},"./src/plugin/jspdf-plugin.js":function(e,n,i){"use strict";i.r(n);var r=i("./node_modules/core-js/modules/es.symbol.js"),a=i.n(r),t=i("./node_modules/core-js/modules/es.symbol.description.js"),s=i.n(t),u=i("./node_modules/core-js/modules/es.object.to-string.js"),d=i.n(u),v=i("./node_modules/core-js/modules/es.symbol.iterator.js"),y=i.n(v),S=i("./node_modules/core-js/modules/es.array.iterator.js"),b=i.n(S),E=i("./node_modules/core-js/modules/es.string.iterator.js"),C=i.n(E),T=i("./node_modules/core-js/modules/web.dom-collections.iterator.js"),x=i.n(T),_=i("jspdf"),I=i.n(_);function L(R){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(F){return typeof F}:L=function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},L(R)}_.jsPDF.getPageSize=function(R,k,F){if(L(R)==="object"){var P=R;R=P.orientation,k=P.unit||k,F=P.format||F}k=k||"mm",F=F||"a4",R=(""+(R||"P")).toLowerCase();var W=(""+F).toLowerCase(),D={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(k){case"pt":var U=1;break;case"mm":var U=72/25.4;break;case"cm":var U=72/2.54;break;case"in":var U=72;break;case"px":var U=72/96;break;case"pc":var U=12;break;case"em":var U=12;break;case"ex":var U=6;break;default:throw"Invalid unit: "+k}if(D.hasOwnProperty(W))var H=D[W][1]/U,j=D[W][0]/U;else try{var H=F[1],j=F[0]}catch(z){throw new Error("Invalid format: "+F)}if(R==="p"||R==="portrait"){if(R="p",j>H){var K=j;j=H,H=K}}else if(R==="l"||R==="landscape"){if(R="l",H>j){var K=j;j=H,H=K}}else throw"Invalid orientation: "+R;var X={width:j,height:H,unit:k,k:U};return X},n.default=_.jsPDF},"./src/plugin/pagebreaks.js":function(e,n,i){"use strict";i.r(n);var r=i("./node_modules/core-js/modules/es.array.concat.js"),a=i.n(r),t=i("./node_modules/core-js/modules/es.array.slice.js"),s=i.n(t),u=i("./node_modules/core-js/modules/es.array.join.js"),d=i.n(u),v=i("./node_modules/core-js/modules/web.dom-collections.for-each.js"),y=i.n(v),S=i("./node_modules/core-js/modules/es.object.keys.js"),b=i.n(S),E=i("./src/worker.js"),C=i("./src/utils.js"),T={toContainer:E.default.prototype.toContainer};E.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},E.default.prototype.toContainer=function(){return T.toContainer.call(this).then(function(){var I=this.prop.container,L=this.prop.pageSize.inner.px.height,R=[].concat(this.opt.pagebreak.mode),k={avoidAll:R.indexOf("avoid-all")!==-1,css:R.indexOf("css")!==-1,legacy:R.indexOf("legacy")!==-1},F={},P=this;["before","after","avoid"].forEach(function(U){var H=k.avoidAll&&U==="avoid";F[U]=H?[]:[].concat(P.opt.pagebreak[U]||[]),F[U].length>0&&(F[U]=Array.prototype.slice.call(I.querySelectorAll(F[U].join(", "))))});var W=I.querySelectorAll(".html2pdf__page-break");W=Array.prototype.slice.call(W);var D=I.querySelectorAll("*");Array.prototype.forEach.call(D,function(H){var j={before:!1,after:k.legacy&&W.indexOf(H)!==-1,avoid:k.avoidAll};if(k.css){var K=window.getComputedStyle(H),X=["always","page","left","right"],z=["avoid","avoid-page"];j={before:j.before||X.indexOf(K.breakBefore||K.pageBreakBefore)!==-1,after:j.after||X.indexOf(K.breakAfter||K.pageBreakAfter)!==-1,avoid:j.avoid||z.indexOf(K.breakInside||K.pageBreakInside)!==-1}}Object.keys(j).forEach(function(de){j[de]=j[de]||F[de].indexOf(H)!==-1});var Y=H.getBoundingClientRect();if(j.avoid&&!j.before){var $=Math.floor(Y.top/L),ne=Math.floor(Y.bottom/L),J=Math.abs(Y.bottom-Y.top)/L;ne!==$&&J<=1&&(j.before=!0)}if(j.before){var ge=(0,C.createElement)("div",{style:{display:"block",height:L-Y.top%L+"px"}});H.parentNode.insertBefore(ge,H)}if(j.after){var ge=(0,C.createElement)("div",{style:{display:"block",height:L-Y.bottom%L+"px"}});H.parentNode.insertBefore(ge,H.nextSibling)}})})}},"./src/utils.js":function(e,n,i){"use strict";i.r(n),i.d(n,{objType:function(){return R},createElement:function(){return k},cloneNode:function(){return F},unitConvert:function(){return P},toPx:function(){return W}});var r=i("./node_modules/core-js/modules/es.number.constructor.js"),a=i.n(r),t=i("./node_modules/core-js/modules/es.symbol.js"),s=i.n(t),u=i("./node_modules/core-js/modules/es.symbol.description.js"),d=i.n(u),v=i("./node_modules/core-js/modules/es.object.to-string.js"),y=i.n(v),S=i("./node_modules/core-js/modules/es.symbol.iterator.js"),b=i.n(S),E=i("./node_modules/core-js/modules/es.array.iterator.js"),C=i.n(E),T=i("./node_modules/core-js/modules/es.string.iterator.js"),x=i.n(T),_=i("./node_modules/core-js/modules/web.dom-collections.iterator.js"),I=i.n(_);function L(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(H){return typeof H}:L=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},L(D)}var R=function(U){var H=L(U);return H==="undefined"?"undefined":H==="string"||U instanceof String?"string":H==="number"||U instanceof Number?"number":H==="function"||U instanceof Function?"function":!!U&&U.constructor===Array?"array":U&&U.nodeType===1?"element":H==="object"?"object":"unknown"},k=function(U,H){var j=document.createElement(U);if(H.className&&(j.className=H.className),H.innerHTML){j.innerHTML=H.innerHTML;for(var K=j.getElementsByTagName("script"),X=K.length;X-- >0;null)K[X].parentNode.removeChild(K[X])}for(var z in H.style)j.style[z]=H.style[z];return j},F=function D(U,H){for(var j=U.nodeType===3?document.createTextNode(U.nodeValue):U.cloneNode(!1),K=U.firstChild;K;K=K.nextSibling)(H===!0||K.nodeType!==1||K.nodeName!=="SCRIPT")&&j.appendChild(D(K,H));return U.nodeType===1&&(U.nodeName==="CANVAS"?(j.width=U.width,j.height=U.height,j.getContext("2d").drawImage(U,0,0)):(U.nodeName==="TEXTAREA"||U.nodeName==="SELECT")&&(j.value=U.value),j.addEventListener("load",function(){j.scrollTop=U.scrollTop,j.scrollLeft=U.scrollLeft},!0)),j},P=function(U,H){if(R(U)==="number")return U*72/96/H;var j={};for(var K in U)j[K]=U[K]*72/96/H;return j},W=function(U,H){return Math.floor(U*H/72*96)}},"./src/worker.js":function(e,n,i){"use strict";i.r(n);var r=i("./node_modules/core-js/modules/es.object.assign.js"),a=i.n(r),t=i("./node_modules/core-js/modules/es.array.map.js"),s=i.n(t),u=i("./node_modules/core-js/modules/es.object.keys.js"),d=i.n(u),v=i("./node_modules/core-js/modules/es.array.concat.js"),y=i.n(v),S=i("./node_modules/core-js/modules/es.object.to-string.js"),b=i.n(S),E=i("./node_modules/core-js/modules/es.regexp.to-string.js"),C=i.n(E),T=i("./node_modules/core-js/modules/es.function.name.js"),x=i.n(T),_=i("./node_modules/core-js/modules/web.dom-collections.for-each.js"),I=i.n(_),L=i("jspdf"),R=i.n(L),k=i("html2canvas"),F=i.n(k),P=i("./src/utils.js"),W=i("./node_modules/es6-promise/dist/es6-promise.js"),D=i.n(W),U=D().Promise,H=function j(K){var X=Object.assign(j.convert(U.resolve()),JSON.parse(JSON.stringify(j.template))),z=j.convert(U.resolve(),X);return z=z.setProgress(1,j,1,[j]),z=z.set(K),z};H.prototype=Object.create(U.prototype),H.prototype.constructor=H,H.convert=function(K,X){return K.__proto__=X||H.prototype,K},H.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:{}}},H.prototype.from=function(K,X){function z(Y){switch((0,P.objType)(Y)){case"string":return"string";case"element":return Y.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){X=X||z(K);switch(X){case"string":return this.set({src:(0,P.createElement)("div",{innerHTML:K})});case"element":return this.set({src:K});case"canvas":return this.set({canvas:K});case"img":return this.set({img:K});default:return this.error("Unknown source type.")}})},H.prototype.to=function(K){switch(K){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.")}},H.prototype.toContainer=function(){var K=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(K).then(function(){var z={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Y={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};z.opacity=0;var $=(0,P.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,P.createElement)("div",{className:"html2pdf__overlay",style:z}),this.prop.container=(0,P.createElement)("div",{className:"html2pdf__container",style:Y}),this.prop.container.appendChild($),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},H.prototype.toCanvas=function(){var K=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(K).then(function(){var z=Object.assign({},this.opt.html2canvas);return delete z.onrendered,k(this.prop.container,z)}).then(function(z){var Y=this.opt.html2canvas.onrendered||function(){};Y(z),this.prop.canvas=z,document.body.removeChild(this.prop.overlay)})},H.prototype.toImg=function(){var K=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(K).then(function(){var z=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=z})},H.prototype.toPdf=function(){var K=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(K).then(function(){var z=this.prop.canvas,Y=this.opt,$=z.height,ne=Math.floor(z.width*this.prop.pageSize.inner.ratio),J=Math.ceil($/ne),ge=this.prop.pageSize.inner.height,de=document.createElement("canvas"),Ie=de.getContext("2d");de.width=z.width,de.height=ne,this.prop.pdf=this.prop.pdf||new L.jsPDF(Y.jsPDF);for(var be=0;be<J;be++){be===J-1&&$%ne!==0&&(de.height=$%ne,ge=de.height*this.prop.pageSize.inner.width/de.width);var Ce=de.width,je=de.height;Ie.fillStyle="white",Ie.fillRect(0,0,Ce,je),Ie.drawImage(z,0,be*ne,Ce,je,0,0,Ce,je),be&&this.prop.pdf.addPage();var te=de.toDataURL("image/"+Y.image.type,Y.image.quality);this.prop.pdf.addImage(te,Y.image.type,Y.margin[1],Y.margin[0],this.prop.pageSize.inner.width,ge)}})},H.prototype.output=function(K,X,z){return z=z||"pdf",z.toLowerCase()==="img"||z.toLowerCase()==="image"?this.outputImg(K,X):this.outputPdf(K,X)},H.prototype.outputPdf=function(K,X){var z=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(z).then(function(){return this.prop.pdf.output(K,X)})},H.prototype.outputImg=function(K,X){var z=[function(){return this.prop.img||this.toImg()}];return this.thenList(z).then(function(){switch(K){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 "'+K+'" is not supported.'}})},H.prototype.save=function(K){var X=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(X).set(K?{filename:K}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},H.prototype.set=function(K){if((0,P.objType)(K)!=="object")return this;var X=Object.keys(K||{}).map(function(z){switch(z){case"margin":return this.setMargin.bind(this,K.margin);case"jsPDF":return function(){return this.opt.jsPDF=K.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,K.pageSize);default:return z in H.template.prop?function(){this.prop[z]=K[z]}:function(){this.opt[z]=K[z]}}},this);return this.then(function(){return this.thenList(X)})},H.prototype.get=function(K,X){return this.then(function(){var Y=K in H.template.prop?this.prop[K]:this.opt[K];return X?X(Y):Y})},H.prototype.setMargin=function(K){return this.then(function(){switch((0,P.objType)(K)){case"number":K=[K,K,K,K];case"array":if(K.length===2&&(K=[K[0],K[1],K[0],K[1]]),K.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=K}).then(this.setPageSize)},H.prototype.setPageSize=function(K){return this.then(function(){K=K||L.jsPDF.getPageSize(this.opt.jsPDF),K.hasOwnProperty("inner")||(K.inner={width:K.width-this.opt.margin[1]-this.opt.margin[3],height:K.height-this.opt.margin[0]-this.opt.margin[2]},K.inner.px={width:(0,P.toPx)(K.inner.width,K.k),height:(0,P.toPx)(K.inner.height,K.k)},K.inner.ratio=K.inner.height/K.inner.width),this.prop.pageSize=K})},H.prototype.setProgress=function(K,X,z,Y){return K!=null&&(this.progress.val=K),X!=null&&(this.progress.state=X),z!=null&&(this.progress.n=z),Y!=null&&(this.progress.stack=Y),this.progress.ratio=this.progress.val/this.progress.state,this},H.prototype.updateProgress=function(K,X,z,Y){return this.setProgress(K?this.progress.val+K:null,X||null,z?this.progress.n+z:null,Y?this.progress.stack.concat(Y):null)},H.prototype.then=function(K,X){var z=this;return this.thenCore(K,X,function($,ne){return z.updateProgress(null,null,1,[$]),U.prototype.then.call(this,function(ge){return z.updateProgress(null,$),ge}).then($,ne).then(function(ge){return z.updateProgress(1),ge})})},H.prototype.thenCore=function(K,X,z){z=z||U.prototype.then;var Y=this;K&&(K=K.bind(Y)),X&&(X=X.bind(Y));var $=U.toString().indexOf("[native code]")!==-1&&U.name==="Promise",ne=$?Y:H.convert(Object.assign({},Y),U.prototype),J=z.call(ne,K,X);return H.convert(J,Y.__proto__)},H.prototype.thenExternal=function(K,X){return U.prototype.then.call(this,K,X)},H.prototype.thenList=function(K){var X=this;return K.forEach(function(Y){X=X.thenCore(Y)}),X},H.prototype.catch=function(j){j&&(j=j.bind(this));var K=U.prototype.catch.call(this,j);return H.convert(K,this)},H.prototype.catchExternal=function(K){return U.prototype.catch.call(this,K)},H.prototype.error=function(K){return this.then(function(){throw new Error(K)})},H.prototype.using=H.prototype.set,H.prototype.saveAs=H.prototype.save,H.prototype.export=H.prototype.output,H.prototype.run=H.prototype.then,n.default=H},"./node_modules/core-js/internals/a-function.js":function(e){e.exports=function(n){if(typeof n!="function")throw TypeError(String(n)+" is not a function");return n}},"./node_modules/core-js/internals/a-possible-prototype.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-object.js");e.exports=function(a){if(!r(a)&&a!==null)throw TypeError("Can't set "+String(a)+" as a prototype");return a}},"./node_modules/core-js/internals/add-to-unscopables.js":function(e,n,i){var r=i("./node_modules/core-js/internals/well-known-symbol.js"),a=i("./node_modules/core-js/internals/object-create.js"),t=i("./node_modules/core-js/internals/object-define-property.js"),s=r("unscopables"),u=Array.prototype;u[s]==null&&t.f(u,s,{configurable:!0,value:a(null)}),e.exports=function(d){u[s][d]=!0}},"./node_modules/core-js/internals/an-object.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-object.js");e.exports=function(a){if(!r(a))throw TypeError(String(a)+" is not an object");return a}},"./node_modules/core-js/internals/array-for-each.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/array-iteration.js").forEach,a=i("./node_modules/core-js/internals/array-method-is-strict.js"),t=a("forEach");e.exports=t?[].forEach:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-indexed-object.js"),a=i("./node_modules/core-js/internals/to-length.js"),t=i("./node_modules/core-js/internals/to-absolute-index.js"),s=function(d){return function(v,y,S){var b=r(v),E=a(b.length),C=t(S,E),T;if(d&&y!=y){for(;E>C;)if(T=b[C++],T!=T)return!0}else for(;E>C;C++)if((d||C in b)&&b[C]===y)return d||C||0;return!d&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(e,n,i){var r=i("./node_modules/core-js/internals/function-bind-context.js"),a=i("./node_modules/core-js/internals/indexed-object.js"),t=i("./node_modules/core-js/internals/to-object.js"),s=i("./node_modules/core-js/internals/to-length.js"),u=i("./node_modules/core-js/internals/array-species-create.js"),d=[].push,v=function(S){var b=S==1,E=S==2,C=S==3,T=S==4,x=S==6,_=S==7,I=S==5||x;return function(L,R,k,F){for(var P=t(L),W=a(P),D=r(R,k,3),U=s(W.length),H=0,j=F||u,K=b?j(L,U):E||_?j(L,0):void 0,X,z;U>H;H++)if((I||H in W)&&(X=W[H],z=D(X,H,P),S))if(b)K[H]=z;else if(z)switch(S){case 3:return!0;case 5:return X;case 6:return H;case 2:d.call(K,X)}else switch(S){case 4:return!1;case 7:d.call(K,X)}return x?-1:C||T?T:K}};e.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(e,n,i){var r=i("./node_modules/core-js/internals/fails.js"),a=i("./node_modules/core-js/internals/well-known-symbol.js"),t=i("./node_modules/core-js/internals/engine-v8-version.js"),s=a("species");e.exports=function(u){return t>=51||!r(function(){var d=[],v=d.constructor={};return v[s]=function(){return{foo:1}},d[u](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/fails.js");e.exports=function(a,t){var s=[][a];return!!s&&r(function(){s.call(null,t||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-object.js"),a=i("./node_modules/core-js/internals/is-array.js"),t=i("./node_modules/core-js/internals/well-known-symbol.js"),s=t("species");e.exports=function(u){var d;return a(u)&&(d=u.constructor,typeof d=="function"&&(d===Array||a(d.prototype))?d=void 0:r(d)&&(d=d[s],d===null&&(d=void 0))),d===void 0?Array:d}},"./node_modules/core-js/internals/array-species-create.js":function(e,n,i){var r=i("./node_modules/core-js/internals/array-species-constructor.js");e.exports=function(a,t){return new(r(a))(t===0?0:t)}},"./node_modules/core-js/internals/classof-raw.js":function(e){var n={}.toString;e.exports=function(i){return n.call(i).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-string-tag-support.js"),a=i("./node_modules/core-js/internals/classof-raw.js"),t=i("./node_modules/core-js/internals/well-known-symbol.js"),s=t("toStringTag"),u=a(function(){return arguments}())=="Arguments",d=function(y,S){try{return y[S]}catch(b){}};e.exports=r?a:function(v){var y,S,b;return v===void 0?"Undefined":v===null?"Null":typeof(S=d(y=Object(v),s))=="string"?S:u?a(y):(b=a(y))=="Object"&&typeof y.callee=="function"?"Arguments":b}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(e,n,i){var r=i("./node_modules/core-js/internals/has.js"),a=i("./node_modules/core-js/internals/own-keys.js"),t=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),s=i("./node_modules/core-js/internals/object-define-property.js");e.exports=function(u,d){for(var v=a(d),y=s.f,S=t.f,b=0;b<v.length;b++){var E=v[b];r(u,E)||y(u,E,S(d,E))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(e,n,i){var r=i("./node_modules/core-js/internals/fails.js");e.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},"./node_modules/core-js/internals/create-html.js":function(e,n,i){var r=i("./node_modules/core-js/internals/require-object-coercible.js"),a=i("./node_modules/core-js/internals/to-string.js"),t=/"/g;e.exports=function(s,u,d,v){var y=a(r(s)),S="<"+u;return d!==""&&(S+=" "+d+'="'+a(v).replace(t,""")+'"'),S+">"+y+"</"+u+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,a=i("./node_modules/core-js/internals/object-create.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js"),s=i("./node_modules/core-js/internals/set-to-string-tag.js"),u=i("./node_modules/core-js/internals/iterators.js"),d=function(){return this};e.exports=function(v,y,S){var b=y+" Iterator";return v.prototype=a(r,{next:t(1,S)}),s(v,b,!1,!0),u[b]=d,v}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(e,n,i){var r=i("./node_modules/core-js/internals/descriptors.js"),a=i("./node_modules/core-js/internals/object-define-property.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=r?function(s,u,d){return a.f(s,u,t(1,d))}:function(s,u,d){return s[u]=d,s}},"./node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(n,i){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:i}}},"./node_modules/core-js/internals/create-property.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/to-property-key.js"),a=i("./node_modules/core-js/internals/object-define-property.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(s,u,d){var v=r(u);v in s?a.f(s,v,t(0,d)):s[v]=d}},"./node_modules/core-js/internals/define-iterator.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),a=i("./node_modules/core-js/internals/create-iterator-constructor.js"),t=i("./node_modules/core-js/internals/object-get-prototype-of.js"),s=i("./node_modules/core-js/internals/object-set-prototype-of.js"),u=i("./node_modules/core-js/internals/set-to-string-tag.js"),d=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),v=i("./node_modules/core-js/internals/redefine.js"),y=i("./node_modules/core-js/internals/well-known-symbol.js"),S=i("./node_modules/core-js/internals/is-pure.js"),b=i("./node_modules/core-js/internals/iterators.js"),E=i("./node_modules/core-js/internals/iterators-core.js"),C=E.IteratorPrototype,T=E.BUGGY_SAFARI_ITERATORS,x=y("iterator"),_="keys",I="values",L="entries",R=function(){return this};e.exports=function(k,F,P,W,D,U,H){a(P,F,W);var j=function(be){if(be===D&&$)return $;if(!T&&be in z)return z[be];switch(be){case _:return function(){return new P(this,be)};case I:return function(){return new P(this,be)};case L:return function(){return new P(this,be)}}return function(){return new P(this)}},K=F+" Iterator",X=!1,z=k.prototype,Y=z[x]||z["@@iterator"]||D&&z[D],$=!T&&Y||j(D),ne=F=="Array"&&z.entries||Y,J,ge,de;if(ne&&(J=t(ne.call(new k)),C!==Object.prototype&&J.next&&(!S&&t(J)!==C&&(s?s(J,C):typeof J[x]!="function"&&d(J,x,R)),u(J,K,!0,!0),S&&(b[K]=R))),D==I&&Y&&Y.name!==I&&(X=!0,$=function(){return Y.call(this)}),(!S||H)&&z[x]!==$&&d(z,x,$),b[F]=$,D)if(ge={values:j(I),keys:U?$:j(_),entries:j(L)},H)for(de in ge)(T||X||!(de in z))&&v(z,de,ge[de]);else r({target:F,proto:!0,forced:T||X},ge);return ge}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(e,n,i){var r=i("./node_modules/core-js/internals/path.js"),a=i("./node_modules/core-js/internals/has.js"),t=i("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),s=i("./node_modules/core-js/internals/object-define-property.js").f;e.exports=function(u){var d=r.Symbol||(r.Symbol={});a(d,u)||s(d,u,{value:t.f(u)})}},"./node_modules/core-js/internals/descriptors.js":function(e,n,i){var r=i("./node_modules/core-js/internals/fails.js");e.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),a=i("./node_modules/core-js/internals/is-object.js"),t=r.document,s=a(t)&&a(t.createElement);e.exports=function(u){return s?t.createElement(u):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(e,n,i){var r=i("./node_modules/core-js/internals/get-built-in.js");e.exports=r("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),a=i("./node_modules/core-js/internals/engine-user-agent.js"),t=r.process,s=r.Deno,u=t&&t.versions||s&&s.version,d=u&&u.v8,v,y;d?(v=d.split("."),y=v[0]<4?1:v[0]+v[1]):a&&(v=a.match(/Edge\/(\d+)/),(!v||v[1]>=74)&&(v=a.match(/Chrome\/(\d+)/),v&&(y=v[1]))),e.exports=y&&+y},"./node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),a=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,t=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),s=i("./node_modules/core-js/internals/redefine.js"),u=i("./node_modules/core-js/internals/set-global.js"),d=i("./node_modules/core-js/internals/copy-constructor-properties.js"),v=i("./node_modules/core-js/internals/is-forced.js");e.exports=function(y,S){var b=y.target,E=y.global,C=y.stat,T,x,_,I,L,R;if(E?x=r:C?x=r[b]||u(b,{}):x=(r[b]||{}).prototype,x)for(_ in S){if(L=S[_],y.noTargetGet?(R=a(x,_),I=R&&R.value):I=x[_],T=v(E?_:b+(C?".":"#")+_,y.forced),!T&&I!==void 0){if(typeof L===typeof I)continue;d(L,I)}(y.sham||I&&I.sham)&&t(L,"sham",!0),s(x,_,L,y)}}},"./node_modules/core-js/internals/fails.js":function(e){e.exports=function(n){try{return!!n()}catch(i){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(e,n,i){var r=i("./node_modules/core-js/internals/a-function.js");e.exports=function(a,t,s){if(r(a),t===void 0)return a;switch(s){case 0:return function(){return a.call(t)};case 1:return function(u){return a.call(t,u)};case 2:return function(u,d){return a.call(t,u,d)};case 3:return function(u,d,v){return a.call(t,u,d,v)}}return function(){return a.apply(t,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),a=function(s){return typeof s=="function"?s:void 0};e.exports=function(t,s){return arguments.length<2?a(r[t]):r[t]&&r[t][s]}},"./node_modules/core-js/internals/global.js":function(e){var n=function(r){return r&&r.Math==Math&&r};e.exports=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof w=="object"&&w)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-object.js"),a={}.hasOwnProperty;e.exports=Object.hasOwn||function(s,u){return a.call(r(s),u)}},"./node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"./node_modules/core-js/internals/html.js":function(e,n,i){var r=i("./node_modules/core-js/internals/get-built-in.js");e.exports=r("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(e,n,i){var r=i("./node_modules/core-js/internals/descriptors.js"),a=i("./node_modules/core-js/internals/fails.js"),t=i("./node_modules/core-js/internals/document-create-element.js");e.exports=!r&&!a(function(){return Object.defineProperty(t("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(e,n,i){var r=i("./node_modules/core-js/internals/fails.js"),a=i("./node_modules/core-js/internals/classof-raw.js"),t="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(s){return a(s)=="String"?t.call(s,""):Object(s)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-object.js"),a=i("./node_modules/core-js/internals/object-set-prototype-of.js");e.exports=function(t,s,u){var d,v;return a&&typeof(d=s.constructor)=="function"&&d!==u&&r(v=d.prototype)&&v!==u.prototype&&a(t,v),t}},"./node_modules/core-js/internals/inspect-source.js":function(e,n,i){var r=i("./node_modules/core-js/internals/shared-store.js"),a=Function.toString;typeof r.inspectSource!="function"&&(r.inspectSource=function(t){return a.call(t)}),e.exports=r.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(e,n,i){var r=i("./node_modules/core-js/internals/native-weak-map.js"),a=i("./node_modules/core-js/internals/global.js"),t=i("./node_modules/core-js/internals/is-object.js"),s=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=i("./node_modules/core-js/internals/has.js"),d=i("./node_modules/core-js/internals/shared-store.js"),v=i("./node_modules/core-js/internals/shared-key.js"),y=i("./node_modules/core-js/internals/hidden-keys.js"),S="Object already initialized",b=a.WeakMap,E,C,T,x=function(W){return T(W)?C(W):E(W,{})},_=function(W){return function(D){var U;if(!t(D)||(U=C(D)).type!==W)throw TypeError("Incompatible receiver, "+W+" required");return U}};if(r||d.state){var I=d.state||(d.state=new b),L=I.get,R=I.has,k=I.set;E=function(W,D){if(R.call(I,W))throw new TypeError(S);return D.facade=W,k.call(I,W,D),D},C=function(W){return L.call(I,W)||{}},T=function(W){return R.call(I,W)}}else{var F=v("state");y[F]=!0,E=function(W,D){if(u(W,F))throw new TypeError(S);return D.facade=W,s(W,F,D),D},C=function(W){return u(W,F)?W[F]:{}},T=function(W){return u(W,F)}}e.exports={set:E,get:C,has:T,enforce:x,getterFor:_}},"./node_modules/core-js/internals/is-array.js":function(e,n,i){var r=i("./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(t){return r(t)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(e,n,i){var r=i("./node_modules/core-js/internals/fails.js"),a=/#|\.prototype\./,t=function(S,b){var E=u[s(S)];return E==v?!0:E==d?!1:typeof b=="function"?r(b):!!b},s=t.normalize=function(y){return String(y).replace(a,".").toLowerCase()},u=t.data={},d=t.NATIVE="N",v=t.POLYFILL="P";e.exports=t},"./node_modules/core-js/internals/is-object.js":function(e){e.exports=function(n){return typeof n=="object"?n!==null:typeof n=="function"}},"./node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(e,n,i){var r=i("./node_modules/core-js/internals/get-built-in.js"),a=i("./node_modules/core-js/internals/use-symbol-as-uid.js");e.exports=a?function(t){return typeof t=="symbol"}:function(t){var s=r("Symbol");return typeof s=="function"&&Object(t)instanceof s}},"./node_modules/core-js/internals/iterators-core.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/fails.js"),a=i("./node_modules/core-js/internals/object-get-prototype-of.js"),t=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),s=i("./node_modules/core-js/internals/has.js"),u=i("./node_modules/core-js/internals/well-known-symbol.js"),d=i("./node_modules/core-js/internals/is-pure.js"),v=u("iterator"),y=!1,S=function(){return this},b,E,C;[].keys&&(C=[].keys(),"next"in C?(E=a(a(C)),E!==Object.prototype&&(b=E)):y=!0);var T=b==null||r(function(){var x={};return b[v].call(x)!==x});T&&(b={}),(!d||T)&&!s(b,v)&&t(b,v,S),e.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:y}},"./node_modules/core-js/internals/iterators.js":function(e){e.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(e,n,i){var r=i("./node_modules/core-js/internals/engine-v8-version.js"),a=i("./node_modules/core-js/internals/fails.js");e.exports=!!Object.getOwnPropertySymbols&&!a(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})},"./node_modules/core-js/internals/native-weak-map.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),a=i("./node_modules/core-js/internals/inspect-source.js"),t=r.WeakMap;e.exports=typeof t=="function"&&/native code/.test(a(t))},"./node_modules/core-js/internals/object-assign.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/descriptors.js"),a=i("./node_modules/core-js/internals/fails.js"),t=i("./node_modules/core-js/internals/object-keys.js"),s=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),u=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),d=i("./node_modules/core-js/internals/to-object.js"),v=i("./node_modules/core-js/internals/indexed-object.js"),y=Object.assign,S=Object.defineProperty;e.exports=!y||a(function(){if(r&&y({b:1},y(S({},"a",{enumerable:!0,get:function(){S(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},E={},C=Symbol(),T="abcdefghijklmnopqrst";return b[C]=7,T.split("").forEach(function(x){E[x]=x}),y({},b)[C]!=7||t(y({},E)).join("")!=T})?function(E,C){for(var T=d(E),x=arguments.length,_=1,I=s.f,L=u.f;x>_;)for(var R=v(arguments[_++]),k=I?t(R).concat(I(R)):t(R),F=k.length,P=0,W;F>P;)W=k[P++],(!r||L.call(R,W))&&(T[W]=R[W]);return T}:y},"./node_modules/core-js/internals/object-create.js":function(e,n,i){var r=i("./node_modules/core-js/internals/an-object.js"),a=i("./node_modules/core-js/internals/object-define-properties.js"),t=i("./node_modules/core-js/internals/enum-bug-keys.js"),s=i("./node_modules/core-js/internals/hidden-keys.js"),u=i("./node_modules/core-js/internals/html.js"),d=i("./node_modules/core-js/internals/document-create-element.js"),v=i("./node_modules/core-js/internals/shared-key.js"),y=">",S="<",b="prototype",E="script",C=v("IE_PROTO"),T=function(){},x=function(F){return S+E+y+F+S+"/"+E+y},_=function(F){F.write(x("")),F.close();var P=F.parentWindow.Object;return F=null,P},I=function(){var F=d("iframe"),P="java"+E+":",W;if(F.style)return F.style.display="none",u.appendChild(F),F.src=String(P),W=F.contentWindow.document,W.open(),W.write(x("document.F=Object")),W.close(),W.F},L,R=function(){try{L=new ActiveXObject("htmlfile")}catch(P){}R=document.domain&&L?_(L):I()||_(L);for(var F=t.length;F--;)delete R[b][t[F]];return R()};s[C]=!0,e.exports=Object.create||function(F,P){var W;return F!==null?(T[b]=r(F),W=new T,T[b]=null,W[C]=F):W=R(),P===void 0?W:a(W,P)}},"./node_modules/core-js/internals/object-define-properties.js":function(e,n,i){var r=i("./node_modules/core-js/internals/descriptors.js"),a=i("./node_modules/core-js/internals/object-define-property.js"),t=i("./node_modules/core-js/internals/an-object.js"),s=i("./node_modules/core-js/internals/object-keys.js");e.exports=r?Object.defineProperties:function(d,v){t(d);for(var y=s(v),S=y.length,b=0,E;S>b;)a.f(d,E=y[b++],v[E]);return d}},"./node_modules/core-js/internals/object-define-property.js":function(e,n,i){var r=i("./node_modules/core-js/internals/descriptors.js"),a=i("./node_modules/core-js/internals/ie8-dom-define.js"),t=i("./node_modules/core-js/internals/an-object.js"),s=i("./node_modules/core-js/internals/to-property-key.js"),u=Object.defineProperty;n.f=r?u:function(v,y,S){if(t(v),y=s(y),t(S),a)try{return u(v,y,S)}catch(b){}if("get"in S||"set"in S)throw TypeError("Accessors not supported");return"value"in S&&(v[y]=S.value),v}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,n,i){var r=i("./node_modules/core-js/internals/descriptors.js"),a=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js"),s=i("./node_modules/core-js/internals/to-indexed-object.js"),u=i("./node_modules/core-js/internals/to-property-key.js"),d=i("./node_modules/core-js/internals/has.js"),v=i("./node_modules/core-js/internals/ie8-dom-define.js"),y=Object.getOwnPropertyDescriptor;n.f=r?y:function(b,E){if(b=s(b),E=u(E),v)try{return y(b,E)}catch(C){}if(d(b,E))return t(!a.f.call(b,E),b[E])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-indexed-object.js"),a=i("./node_modules/core-js/internals/object-get-own-property-names.js").f,t={}.toString,s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(v){try{return a(v)}catch(y){return s.slice()}};e.exports.f=function(v){return s&&t.call(v)=="[object Window]"?u(v):a(r(v))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(e,n,i){var r=i("./node_modules/core-js/internals/object-keys-internal.js"),a=i("./node_modules/core-js/internals/enum-bug-keys.js"),t=a.concat("length","prototype");n.f=Object.getOwnPropertyNames||function(u){return r(u,t)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,n){n.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(e,n,i){var r=i("./node_modules/core-js/internals/has.js"),a=i("./node_modules/core-js/internals/to-object.js"),t=i("./node_modules/core-js/internals/shared-key.js"),s=i("./node_modules/core-js/internals/correct-prototype-getter.js"),u=t("IE_PROTO"),d=Object.prototype;e.exports=s?Object.getPrototypeOf:function(v){return v=a(v),r(v,u)?v[u]:typeof v.constructor=="function"&&v instanceof v.constructor?v.constructor.prototype:v instanceof Object?d:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(e,n,i){var r=i("./node_modules/core-js/internals/has.js"),a=i("./node_modules/core-js/internals/to-indexed-object.js"),t=i("./node_modules/core-js/internals/array-includes.js").indexOf,s=i("./node_modules/core-js/internals/hidden-keys.js");e.exports=function(u,d){var v=a(u),y=0,S=[],b;for(b in v)!r(s,b)&&r(v,b)&&S.push(b);for(;d.length>y;)r(v,b=d[y++])&&(~t(S,b)||S.push(b));return S}},"./node_modules/core-js/internals/object-keys.js":function(e,n,i){var r=i("./node_modules/core-js/internals/object-keys-internal.js"),a=i("./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(s){return r(s,a)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!i.call({1:2},1);n.f=a?function(s){var u=r(this,s);return!!u&&u.enumerable}:i},"./node_modules/core-js/internals/object-set-prototype-of.js":function(e,n,i){var r=i("./node_modules/core-js/internals/an-object.js"),a=i("./node_modules/core-js/internals/a-possible-prototype.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,s={},u;try{u=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,u.call(s,[]),t=s instanceof Array}catch(d){}return function(v,y){return r(v),a(y),t?u.call(v,y):v.__proto__=y,v}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/to-string-tag-support.js"),a=i("./node_modules/core-js/internals/classof.js");e.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-object.js");e.exports=function(a,t){var s,u;if(t==="string"&&typeof(s=a.toString)=="function"&&!r(u=s.call(a)))return u;if(typeof(s=a.valueOf)=="function"&&!r(u=s.call(a)))return u;if(t!=="string"&&typeof(s=a.toString)=="function"&&!r(u=s.call(a)))return u;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(e,n,i){var r=i("./node_modules/core-js/internals/get-built-in.js"),a=i("./node_modules/core-js/internals/object-get-own-property-names.js"),t=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),s=i("./node_modules/core-js/internals/an-object.js");e.exports=r("Reflect","ownKeys")||function(d){var v=a.f(s(d)),y=t.f;return y?v.concat(y(d)):v}},"./node_modules/core-js/internals/path.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js");e.exports=r},"./node_modules/core-js/internals/redefine.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),a=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),t=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/set-global.js"),u=i("./node_modules/core-js/internals/inspect-source.js"),d=i("./node_modules/core-js/internals/internal-state.js"),v=d.get,y=d.enforce,S=String(String).split("String");(e.exports=function(b,E,C,T){var x=T?!!T.unsafe:!1,_=T?!!T.enumerable:!1,I=T?!!T.noTargetGet:!1,L;if(typeof C=="function"&&(typeof E=="string"&&!t(C,"name")&&a(C,"name",E),L=y(C),L.source||(L.source=S.join(typeof E=="string"?E:""))),b===r){_?b[E]=C:s(E,C);return}else x?!I&&b[E]&&(_=!0):delete b[E];_?b[E]=C:a(b,E,C)})(Function.prototype,"toString",function(){return typeof this=="function"&&v(this).source||u(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/an-object.js");e.exports=function(){var a=r(this),t="";return a.global&&(t+="g"),a.ignoreCase&&(t+="i"),a.multiline&&(t+="m"),a.dotAll&&(t+="s"),a.unicode&&(t+="u"),a.sticky&&(t+="y"),t}},"./node_modules/core-js/internals/require-object-coercible.js":function(e){e.exports=function(n){if(n==null)throw TypeError("Can't call method on "+n);return n}},"./node_modules/core-js/internals/set-global.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js");e.exports=function(a,t){try{Object.defineProperty(r,a,{value:t,configurable:!0,writable:!0})}catch(s){r[a]=t}return t}},"./node_modules/core-js/internals/set-to-string-tag.js":function(e,n,i){var r=i("./node_modules/core-js/internals/object-define-property.js").f,a=i("./node_modules/core-js/internals/has.js"),t=i("./node_modules/core-js/internals/well-known-symbol.js"),s=t("toStringTag");e.exports=function(u,d,v){u&&!a(u=v?u:u.prototype,s)&&r(u,s,{configurable:!0,value:d})}},"./node_modules/core-js/internals/shared-key.js":function(e,n,i){var r=i("./node_modules/core-js/internals/shared.js"),a=i("./node_modules/core-js/internals/uid.js"),t=r("keys");e.exports=function(s){return t[s]||(t[s]=a(s))}},"./node_modules/core-js/internals/shared-store.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),a=i("./node_modules/core-js/internals/set-global.js"),t="__core-js_shared__",s=r[t]||a(t,{});e.exports=s},"./node_modules/core-js/internals/shared.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-pure.js"),a=i("./node_modules/core-js/internals/shared-store.js");(e.exports=function(t,s){return a[t]||(a[t]=s!==void 0?s:{})})("versions",[]).push({version:"3.16.0",mode:r?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(e,n,i){var r=i("./node_modules/core-js/internals/fails.js");e.exports=function(a){return r(function(){var t=""[a]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-integer.js"),a=i("./node_modules/core-js/internals/to-string.js"),t=i("./node_modules/core-js/internals/require-object-coercible.js"),s=function(d){return function(v,y){var S=a(t(v)),b=r(y),E=S.length,C,T;return b<0||b>=E?d?"":void 0:(C=S.charCodeAt(b),C<55296||C>56319||b+1===E||(T=S.charCodeAt(b+1))<56320||T>57343?d?S.charAt(b):C:d?S.slice(b,b+2):(C-55296<<10)+(T-56320)+65536)}};e.exports={codeAt:s(!1),charAt:s(!0)}},"./node_modules/core-js/internals/string-trim.js":function(e,n,i){var r=i("./node_modules/core-js/internals/require-object-coercible.js"),a=i("./node_modules/core-js/internals/to-string.js"),t=i("./node_modules/core-js/internals/whitespaces.js"),s="["+t+"]",u=RegExp("^"+s+s+"*"),d=RegExp(s+s+"*$"),v=function(S){return function(b){var E=a(r(b));return S&1&&(E=E.replace(u,"")),S&2&&(E=E.replace(d,"")),E}};e.exports={start:v(1),end:v(2),trim:v(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-integer.js"),a=Math.max,t=Math.min;e.exports=function(s,u){var d=r(s);return d<0?a(d+u,0):t(d,u)}},"./node_modules/core-js/internals/to-indexed-object.js":function(e,n,i){var r=i("./node_modules/core-js/internals/indexed-object.js"),a=i("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(t){return r(a(t))}},"./node_modules/core-js/internals/to-integer.js":function(e){var n=Math.ceil,i=Math.floor;e.exports=function(r){return isNaN(r=+r)?0:(r>0?i:n)(r)}},"./node_modules/core-js/internals/to-length.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-integer.js"),a=Math.min;e.exports=function(t){return t>0?a(r(t),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(e,n,i){var r=i("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(a){return Object(r(a))}},"./node_modules/core-js/internals/to-primitive.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-object.js"),a=i("./node_modules/core-js/internals/is-symbol.js"),t=i("./node_modules/core-js/internals/ordinary-to-primitive.js"),s=i("./node_modules/core-js/internals/well-known-symbol.js"),u=s("toPrimitive");e.exports=function(d,v){if(!r(d)||a(d))return d;var y=d[u],S;if(y!==void 0){if(v===void 0&&(v="default"),S=y.call(d,v),!r(S)||a(S))return S;throw TypeError("Can't convert object to primitive value")}return v===void 0&&(v="number"),t(d,v)}},"./node_modules/core-js/internals/to-property-key.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-primitive.js"),a=i("./node_modules/core-js/internals/is-symbol.js");e.exports=function(t){var s=r(t,"string");return a(s)?s:String(s)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(e,n,i){var r=i("./node_modules/core-js/internals/well-known-symbol.js"),a=r("toStringTag"),t={};t[a]="z",e.exports=String(t)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(e,n,i){var r=i("./node_modules/core-js/internals/is-symbol.js");e.exports=function(a){if(r(a))throw TypeError("Cannot convert a Symbol value to a string");return String(a)}},"./node_modules/core-js/internals/uid.js":function(e){var n=0,i=Math.random();e.exports=function(r){return"Symbol("+String(r===void 0?"":r)+")_"+(++n+i).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(e,n,i){var r=i("./node_modules/core-js/internals/native-symbol.js");e.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(e,n,i){var r=i("./node_modules/core-js/internals/well-known-symbol.js");n.f=r},"./node_modules/core-js/internals/well-known-symbol.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),a=i("./node_modules/core-js/internals/shared.js"),t=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/uid.js"),u=i("./node_modules/core-js/internals/native-symbol.js"),d=i("./node_modules/core-js/internals/use-symbol-as-uid.js"),v=a("wks"),y=r.Symbol,S=d?y:y&&y.withoutSetter||s;e.exports=function(b){return(!t(v,b)||!(u||typeof v[b]=="string"))&&(u&&t(y,b)?v[b]=y[b]:v[b]=S("Symbol."+b)),v[b]}},"./node_modules/core-js/internals/whitespaces.js":function(e){e.exports=`
|
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),a=i("./node_modules/core-js/internals/fails.js"),t=i("./node_modules/core-js/internals/is-array.js"),s=i("./node_modules/core-js/internals/is-object.js"),u=i("./node_modules/core-js/internals/to-object.js"),d=i("./node_modules/core-js/internals/to-length.js"),v=i("./node_modules/core-js/internals/create-property.js"),y=i("./node_modules/core-js/internals/array-species-create.js"),S=i("./node_modules/core-js/internals/array-method-has-species-support.js"),b=i("./node_modules/core-js/internals/well-known-symbol.js"),E=i("./node_modules/core-js/internals/engine-v8-version.js"),C=b("isConcatSpreadable"),T=9007199254740991,x="Maximum allowed index exceeded",_=E>=51||!a(function(){var k=[];return k[C]=!1,k.concat()[0]!==k}),I=S("concat"),L=function(F){if(!s(F))return!1;var P=F[C];return P!==void 0?!!P:t(F)},R=!_||!I;r({target:"Array",proto:!0,forced:R},{concat:function(F){var P=u(this),W=y(P,0),D=0,U,H,j,K,X;for(U=-1,j=arguments.length;U<j;U++)if(X=U===-1?P:arguments[U],L(X)){if(K=d(X.length),D+K>T)throw TypeError(x);for(H=0;H<K;H++,D++)H in X&&v(W,D,X[H])}else{if(D>=T)throw TypeError(x);v(W,D++,X)}return W.length=D,W}})},"./node_modules/core-js/modules/es.array.iterator.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/to-indexed-object.js"),a=i("./node_modules/core-js/internals/add-to-unscopables.js"),t=i("./node_modules/core-js/internals/iterators.js"),s=i("./node_modules/core-js/internals/internal-state.js"),u=i("./node_modules/core-js/internals/define-iterator.js"),d="Array Iterator",v=s.set,y=s.getterFor(d);e.exports=u(Array,"Array",function(S,b){v(this,{type:d,target:r(S),index:0,kind:b})},function(){var S=y(this),b=S.target,E=S.kind,C=S.index++;return!b||C>=b.length?(S.target=void 0,{value:void 0,done:!0}):E=="keys"?{value:C,done:!1}:E=="values"?{value:b[C],done:!1}:{value:[C,b[C]],done:!1}},"values"),t.Arguments=t.Array,a("keys"),a("values"),a("entries")},"./node_modules/core-js/modules/es.array.join.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),a=i("./node_modules/core-js/internals/indexed-object.js"),t=i("./node_modules/core-js/internals/to-indexed-object.js"),s=i("./node_modules/core-js/internals/array-method-is-strict.js"),u=[].join,d=a!=Object,v=s("join",",");r({target:"Array",proto:!0,forced:d||!v},{join:function(S){return u.call(t(this),S===void 0?",":S)}})},"./node_modules/core-js/modules/es.array.map.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),a=i("./node_modules/core-js/internals/array-iteration.js").map,t=i("./node_modules/core-js/internals/array-method-has-species-support.js"),s=t("map");r({target:"Array",proto:!0,forced:!s},{map:function(d){return a(this,d,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),a=i("./node_modules/core-js/internals/is-object.js"),t=i("./node_modules/core-js/internals/is-array.js"),s=i("./node_modules/core-js/internals/to-absolute-index.js"),u=i("./node_modules/core-js/internals/to-length.js"),d=i("./node_modules/core-js/internals/to-indexed-object.js"),v=i("./node_modules/core-js/internals/create-property.js"),y=i("./node_modules/core-js/internals/well-known-symbol.js"),S=i("./node_modules/core-js/internals/array-method-has-species-support.js"),b=S("slice"),E=y("species"),C=[].slice,T=Math.max;r({target:"Array",proto:!0,forced:!b},{slice:function(_,I){var L=d(this),R=u(L.length),k=s(_,R),F=s(I===void 0?R:I,R),P,W,D;if(t(L)&&(P=L.constructor,typeof P=="function"&&(P===Array||t(P.prototype))?P=void 0:a(P)&&(P=P[E],P===null&&(P=void 0)),P===Array||P===void 0))return C.call(L,k,F);for(W=new(P===void 0?Array:P)(T(F-k,0)),D=0;k<F;k++,D++)k in L&&v(W,D,L[k]);return W.length=D,W}})},"./node_modules/core-js/modules/es.function.name.js":function(e,n,i){var r=i("./node_modules/core-js/internals/descriptors.js"),a=i("./node_modules/core-js/internals/object-define-property.js").f,t=Function.prototype,s=t.toString,u=/^\s*function ([^ (]*)/,d="name";r&&!(d in t)&&a(t,d,{configurable:!0,get:function(){try{return s.call(this).match(u)[1]}catch(y){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/descriptors.js"),a=i("./node_modules/core-js/internals/global.js"),t=i("./node_modules/core-js/internals/is-forced.js"),s=i("./node_modules/core-js/internals/redefine.js"),u=i("./node_modules/core-js/internals/has.js"),d=i("./node_modules/core-js/internals/classof-raw.js"),v=i("./node_modules/core-js/internals/inherit-if-required.js"),y=i("./node_modules/core-js/internals/is-symbol.js"),S=i("./node_modules/core-js/internals/to-primitive.js"),b=i("./node_modules/core-js/internals/fails.js"),E=i("./node_modules/core-js/internals/object-create.js"),C=i("./node_modules/core-js/internals/object-get-own-property-names.js").f,T=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,x=i("./node_modules/core-js/internals/object-define-property.js").f,_=i("./node_modules/core-js/internals/string-trim.js").trim,I="Number",L=a[I],R=L.prototype,k=d(E(R))==I,F=function(j){if(y(j))throw TypeError("Cannot convert a Symbol value to a number");var K=S(j,"number"),X,z,Y,$,ne,J,ge,de;if(typeof K=="string"&&K.length>2){if(K=_(K),X=K.charCodeAt(0),X===43||X===45){if(z=K.charCodeAt(2),z===88||z===120)return NaN}else if(X===48){switch(K.charCodeAt(1)){case 66:case 98:Y=2,$=49;break;case 79:case 111:Y=8,$=55;break;default:return+K}for(ne=K.slice(2),J=ne.length,ge=0;ge<J;ge++)if(de=ne.charCodeAt(ge),de<48||de>$)return NaN;return parseInt(ne,Y)}}return+K};if(t(I,!L(" 0o1")||!L("0b1")||L("+0x1"))){for(var P=function(j){var K=arguments.length<1?0:j,X=this;return X instanceof P&&(k?b(function(){R.valueOf.call(X)}):d(X)!=I)?v(new L(F(K)),X,P):F(K)},W=r?C(L):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),D=0,U;W.length>D;D++)u(L,U=W[D])&&!u(P,U)&&x(P,U,T(L,U));P.prototype=R,R.constructor=P,s(a,I,P)}},"./node_modules/core-js/modules/es.object.assign.js":function(e,n,i){var r=i("./node_modules/core-js/internals/export.js"),a=i("./node_modules/core-js/internals/object-assign.js");r({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},"./node_modules/core-js/modules/es.object.keys.js":function(e,n,i){var r=i("./node_modules/core-js/internals/export.js"),a=i("./node_modules/core-js/internals/to-object.js"),t=i("./node_modules/core-js/internals/object-keys.js"),s=i("./node_modules/core-js/internals/fails.js"),u=s(function(){t(1)});r({target:"Object",stat:!0,forced:u},{keys:function(v){return t(a(v))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(e,n,i){var r=i("./node_modules/core-js/internals/to-string-tag-support.js"),a=i("./node_modules/core-js/internals/redefine.js"),t=i("./node_modules/core-js/internals/object-to-string.js");r||a(Object.prototype,"toString",t,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/redefine.js"),a=i("./node_modules/core-js/internals/an-object.js"),t=i("./node_modules/core-js/internals/to-string.js"),s=i("./node_modules/core-js/internals/fails.js"),u=i("./node_modules/core-js/internals/regexp-flags.js"),d="toString",v=RegExp.prototype,y=v[d],S=s(function(){return y.call({source:"a",flags:"b"})!="/a/b"}),b=y.name!=d;(S||b)&&r(RegExp.prototype,d,function(){var C=a(this),T=t(C.source),x=C.flags,_=t(x===void 0&&C instanceof RegExp&&!("flags"in v)?u.call(C):x);return"/"+T+"/"+_},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/string-multibyte.js").charAt,a=i("./node_modules/core-js/internals/to-string.js"),t=i("./node_modules/core-js/internals/internal-state.js"),s=i("./node_modules/core-js/internals/define-iterator.js"),u="String Iterator",d=t.set,v=t.getterFor(u);s(String,"String",function(y){d(this,{type:u,string:a(y),index:0})},function(){var S=v(this),b=S.string,E=S.index,C;return E>=b.length?{value:void 0,done:!0}:(C=r(b,E),S.index+=C.length,{value:C,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),a=i("./node_modules/core-js/internals/create-html.js"),t=i("./node_modules/core-js/internals/string-html-forced.js");r({target:"String",proto:!0,forced:t("link")},{link:function(u){return a(this,"a","href",u)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),a=i("./node_modules/core-js/internals/descriptors.js"),t=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/has.js"),u=i("./node_modules/core-js/internals/is-object.js"),d=i("./node_modules/core-js/internals/object-define-property.js").f,v=i("./node_modules/core-js/internals/copy-constructor-properties.js"),y=t.Symbol;if(a&&typeof y=="function"&&(!("description"in y.prototype)||y().description!==void 0)){var S={},b=function(){var I=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof b?new y(I):I===void 0?y():y(I);return I===""&&(S[L]=!0),L};v(b,y);var E=b.prototype=y.prototype;E.constructor=b;var C=E.toString,T=String(y("test"))=="Symbol(test)",x=/^Symbol\((.*)\)[^)]+$/;d(E,"description",{configurable:!0,get:function(){var I=u(this)?this.valueOf():this,L=C.call(I);if(s(S,I))return"";var R=T?L.slice(7,-1):L.replace(x,"$1");return R===""?void 0:R}}),r({global:!0,forced:!0},{Symbol:b})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(e,n,i){var r=i("./node_modules/core-js/internals/define-well-known-symbol.js");r("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(e,n,i){"use strict";var r=i("./node_modules/core-js/internals/export.js"),a=i("./node_modules/core-js/internals/global.js"),t=i("./node_modules/core-js/internals/get-built-in.js"),s=i("./node_modules/core-js/internals/is-pure.js"),u=i("./node_modules/core-js/internals/descriptors.js"),d=i("./node_modules/core-js/internals/native-symbol.js"),v=i("./node_modules/core-js/internals/fails.js"),y=i("./node_modules/core-js/internals/has.js"),S=i("./node_modules/core-js/internals/is-array.js"),b=i("./node_modules/core-js/internals/is-object.js"),E=i("./node_modules/core-js/internals/is-symbol.js"),C=i("./node_modules/core-js/internals/an-object.js"),T=i("./node_modules/core-js/internals/to-object.js"),x=i("./node_modules/core-js/internals/to-indexed-object.js"),_=i("./node_modules/core-js/internals/to-property-key.js"),I=i("./node_modules/core-js/internals/to-string.js"),L=i("./node_modules/core-js/internals/create-property-descriptor.js"),R=i("./node_modules/core-js/internals/object-create.js"),k=i("./node_modules/core-js/internals/object-keys.js"),F=i("./node_modules/core-js/internals/object-get-own-property-names.js"),P=i("./node_modules/core-js/internals/object-get-own-property-names-external.js"),W=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),D=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),U=i("./node_modules/core-js/internals/object-define-property.js"),H=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),j=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),K=i("./node_modules/core-js/internals/redefine.js"),X=i("./node_modules/core-js/internals/shared.js"),z=i("./node_modules/core-js/internals/shared-key.js"),Y=i("./node_modules/core-js/internals/hidden-keys.js"),$=i("./node_modules/core-js/internals/uid.js"),ne=i("./node_modules/core-js/internals/well-known-symbol.js"),J=i("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ge=i("./node_modules/core-js/internals/define-well-known-symbol.js"),de=i("./node_modules/core-js/internals/set-to-string-tag.js"),Ie=i("./node_modules/core-js/internals/internal-state.js"),be=i("./node_modules/core-js/internals/array-iteration.js").forEach,Ce=z("hidden"),je="Symbol",te="prototype",ve=ne("toPrimitive"),$e=Ie.set,Le=Ie.getterFor(je),he=Object[te],ee=a.Symbol,se=t("JSON","stringify"),Ue=D.f,ue=U.f,Ne=P.f,Fe=H.f,ae=X("symbols"),ce=X("op-symbols"),_e=X("string-to-symbol-registry"),ze=X("symbol-to-string-registry"),it=X("wks"),Ze=a.QObject,Ee=!Ze||!Ze[te]||!Ze[te].findChild,mt=u&&v(function(){return R(ue({},"a",{get:function(){return ue(this,"a",{value:7}).a}})).a!=7})?function(Ae,xe,re){var ot=Ue(he,xe);ot&&delete he[xe],ue(Ae,xe,re),ot&&Ae!==he&&ue(he,xe,ot)}:ue,Je=function(xe,re){var ot=ae[xe]=R(ee[te]);return $e(ot,{type:je,tag:xe,description:re}),u||(ot.description=re),ot},rt=function(xe,re,ot){xe===he&&rt(ce,re,ot),C(xe);var bt=_(re);return C(ot),y(ae,bt)?(ot.enumerable?(y(xe,Ce)&&xe[Ce][bt]&&(xe[Ce][bt]=!1),ot=R(ot,{enumerable:L(0,!1)})):(y(xe,Ce)||ue(xe,Ce,L(1,{})),xe[Ce][bt]=!0),mt(xe,bt,ot)):ue(xe,bt,ot)},wt=function(xe,re){C(xe);var ot=x(re),bt=k(ot).concat(q(ot));return be(bt,function(tt){(!u||Ct.call(ot,tt))&&rt(xe,tt,ot[tt])}),xe},Ot=function(xe,re){return re===void 0?R(xe):wt(R(xe),re)},Ct=function(xe){var re=_(xe),ot=Fe.call(this,re);return this===he&&y(ae,re)&&!y(ce,re)?!1:ot||!y(this,re)||!y(ae,re)||y(this,Ce)&&this[Ce][re]?ot:!0},Dt=function(xe,re){var ot=x(xe),bt=_(re);if(ot===he&&y(ae,bt)&&!y(ce,bt))return;var tt=Ue(ot,bt);return tt&&y(ae,bt)&&!(y(ot,Ce)&&ot[Ce][bt])&&(tt.enumerable=!0),tt},Xe=function(xe){var re=Ne(x(xe)),ot=[];return be(re,function(bt){!y(ae,bt)&&!y(Y,bt)&&ot.push(bt)}),ot},q=function(xe){var re=xe===he,ot=Ne(re?ce:x(xe)),bt=[];return be(ot,function(tt){y(ae,tt)&&(!re||y(he,tt))&&bt.push(ae[tt])}),bt};if(d||(ee=function(){if(this instanceof ee)throw TypeError("Symbol is not a constructor");var xe=!arguments.length||arguments[0]===void 0?void 0:I(arguments[0]),re=$(xe),ot=function bt(tt){this===he&&bt.call(ce,tt),y(this,Ce)&&y(this[Ce],re)&&(this[Ce][re]=!1),mt(this,re,L(1,tt))};return u&&Ee&&mt(he,re,{configurable:!0,set:ot}),Je(re,xe)},K(ee[te],"toString",function(){return Le(this).tag}),K(ee,"withoutSetter",function(Ae){return Je($(Ae),Ae)}),H.f=Ct,U.f=rt,D.f=Dt,F.f=P.f=Xe,W.f=q,J.f=function(Ae){return Je(ne(Ae),Ae)},u&&(ue(ee[te],"description",{configurable:!0,get:function(){return Le(this).description}}),s||K(he,"propertyIsEnumerable",Ct,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!d,sham:!d},{Symbol:ee}),be(k(it),function(Ae){ge(Ae)}),r({target:je,stat:!0,forced:!d},{for:function(xe){var re=I(xe);if(y(_e,re))return _e[re];var ot=ee(re);return _e[re]=ot,ze[ot]=re,ot},keyFor:function(xe){if(!E(xe))throw TypeError(xe+" is not a symbol");if(y(ze,xe))return ze[xe]},useSetter:function(){Ee=!0},useSimple:function(){Ee=!1}}),r({target:"Object",stat:!0,forced:!d,sham:!u},{create:Ot,defineProperty:rt,defineProperties:wt,getOwnPropertyDescriptor:Dt}),r({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:Xe,getOwnPropertySymbols:q}),r({target:"Object",stat:!0,forced:v(function(){W.f(1)})},{getOwnPropertySymbols:function(xe){return W.f(T(xe))}}),se){var V=!d||v(function(){var Ae=ee();return se([Ae])!="[null]"||se({a:Ae})!="{}"||se(Object(Ae))!="{}"});r({target:"JSON",stat:!0,forced:V},{stringify:function(xe,re,ot){for(var bt=[xe],tt=1,Tt;arguments.length>tt;)bt.push(arguments[tt++]);return Tt=re,!b(re)&&xe===void 0||E(xe)?void 0:(S(re)||(re=function(lr,pr){if(typeof Tt=="function"&&(pr=Tt.call(this,lr,pr)),!E(pr))return pr}),bt[1]=re,se.apply(null,bt))}})}ee[te][ve]||j(ee[te],ve,ee[te].valueOf),de(ee,je),Y[Ce]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),a=i("./node_modules/core-js/internals/dom-iterables.js"),t=i("./node_modules/core-js/internals/array-for-each.js"),s=i("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var u in a){var d=r[u],v=d&&d.prototype;if(v&&v.forEach!==t)try{s(v,"forEach",t)}catch(y){v.forEach=t}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(e,n,i){var r=i("./node_modules/core-js/internals/global.js"),a=i("./node_modules/core-js/internals/dom-iterables.js"),t=i("./node_modules/core-js/modules/es.array.iterator.js"),s=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=i("./node_modules/core-js/internals/well-known-symbol.js"),d=u("iterator"),v=u("toStringTag"),y=t.values;for(var S in a){var b=r[S],E=b&&b.prototype;if(E){if(E[d]!==y)try{s(E,d,y)}catch(T){E[d]=y}if(E[v]||s(E,v,S),a[S]){for(var C in t)if(E[C]!==t[C])try{s(E,C,t[C])}catch(T){E[C]=t[C]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(e){/*!
|
|
|
* @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(n,i){e.exports=i()})(this,function(){"use strict";function n(Ze){var Ee=typeof Ze;return Ze!==null&&(Ee==="object"||Ee==="function")}function i(Ze){return typeof Ze=="function"}var r=void 0;Array.isArray?r=Array.isArray:r=function(Ee){return Object.prototype.toString.call(Ee)==="[object Array]"};var a=r,t=0,s=void 0,u=void 0,d=function(Ee,mt){k[t]=Ee,k[t+1]=mt,t+=2,t===2&&(u?u(F):W())};function v(Ze){u=Ze}function y(Ze){d=Ze}var S=typeof window!="undefined"?window:void 0,b=S||{},E=b.MutationObserver||b.WebKitMutationObserver,C=typeof self=="undefined"&&typeof f!="undefined"&&{}.toString.call(f)==="[object process]",T=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function x(){return function(){return f.nextTick(F)}}function _(){return typeof s!="undefined"?function(){s(F)}:R()}function I(){var Ze=0,Ee=new E(F),mt=document.createTextNode("");return Ee.observe(mt,{characterData:!0}),function(){mt.data=Ze=++Ze%2}}function L(){var Ze=new MessageChannel;return Ze.port1.onmessage=F,function(){return Ze.port2.postMessage(0)}}function R(){var Ze=setTimeout;return function(){return Ze(F,1)}}var k=new Array(1e3);function F(){for(var Ze=0;Ze<t;Ze+=2){var Ee=k[Ze],mt=k[Ze+1];Ee(mt),k[Ze]=void 0,k[Ze+1]=void 0}t=0}function P(){try{var Ze=Function("return this")().require("vertx");return s=Ze.runOnLoop||Ze.runOnContext,_()}catch(Ee){return R()}}var W=void 0;C?W=x():E?W=I():T?W=L():S===void 0&&!0?W=P():W=R();function D(Ze,Ee){var mt=this,Je=new this.constructor(j);Je[H]===void 0&&se(Je);var rt=mt._state;if(rt){var wt=arguments[rt-1];d(function(){return $e(rt,Je,wt,mt._result)})}else te(mt,Je,Ze,Ee);return Je}function U(Ze){var Ee=this;if(Ze&&typeof Ze=="object"&&Ze.constructor===Ee)return Ze;var mt=new Ee(j);return Ie(mt,Ze),mt}var H=Math.random().toString(36).substring(2);function j(){}var K=void 0,X=1,z=2;function Y(){return new TypeError("You cannot resolve a promise with itself")}function $(){return new TypeError("A promises callback cannot return that same promise.")}function ne(Ze,Ee,mt,Je){try{Ze.call(Ee,mt,Je)}catch(rt){return rt}}function J(Ze,Ee,mt){d(function(Je){var rt=!1,wt=ne(mt,Ee,function(Ot){if(rt)return;rt=!0,Ee!==Ot?Ie(Je,Ot):Ce(Je,Ot)},function(Ot){if(rt)return;rt=!0,je(Je,Ot)},"Settle: "+(Je._label||" unknown promise"));!rt&&wt&&(rt=!0,je(Je,wt))},Ze)}function ge(Ze,Ee){Ee._state===X?Ce(Ze,Ee._result):Ee._state===z?je(Ze,Ee._result):te(Ee,void 0,function(mt){return Ie(Ze,mt)},function(mt){return je(Ze,mt)})}function de(Ze,Ee,mt){Ee.constructor===Ze.constructor&&mt===D&&Ee.constructor.resolve===U?ge(Ze,Ee):mt===void 0?Ce(Ze,Ee):i(mt)?J(Ze,Ee,mt):Ce(Ze,Ee)}function Ie(Ze,Ee){if(Ze===Ee)je(Ze,Y());else if(n(Ee)){var mt=void 0;try{mt=Ee.then}catch(Je){je(Ze,Je);return}de(Ze,Ee,mt)}else Ce(Ze,Ee)}function be(Ze){Ze._onerror&&Ze._onerror(Ze._result),ve(Ze)}function Ce(Ze,Ee){if(Ze._state!==K)return;Ze._result=Ee,Ze._state=X,Ze._subscribers.length!==0&&d(ve,Ze)}function je(Ze,Ee){if(Ze._state!==K)return;Ze._state=z,Ze._result=Ee,d(be,Ze)}function te(Ze,Ee,mt,Je){var rt=Ze._subscribers,wt=rt.length;Ze._onerror=null,rt[wt]=Ee,rt[wt+X]=mt,rt[wt+z]=Je,wt===0&&Ze._state&&d(ve,Ze)}function ve(Ze){var Ee=Ze._subscribers,mt=Ze._state;if(Ee.length===0)return;for(var Je=void 0,rt=void 0,wt=Ze._result,Ot=0;Ot<Ee.length;Ot+=3)Je=Ee[Ot],rt=Ee[Ot+mt],Je?$e(mt,Je,rt,wt):rt(wt);Ze._subscribers.length=0}function $e(Ze,Ee,mt,Je){var rt=i(mt),wt=void 0,Ot=void 0,Ct=!0;if(rt){try{wt=mt(Je)}catch(Dt){Ct=!1,Ot=Dt}if(Ee===wt){je(Ee,$());return}}else wt=Je;Ee._state!==K||(rt&&Ct?Ie(Ee,wt):Ct===!1?je(Ee,Ot):Ze===X?Ce(Ee,wt):Ze===z&&je(Ee,wt))}function Le(Ze,Ee){try{Ee(function(Je){Ie(Ze,Je)},function(Je){je(Ze,Je)})}catch(mt){je(Ze,mt)}}var he=0;function ee(){return he++}function se(Ze){Ze[H]=he++,Ze._state=void 0,Ze._result=void 0,Ze._subscribers=[]}function Ue(){return new Error("Array Methods must be provided an Array")}var ue=function(){function Ze(Ee,mt){this._instanceConstructor=Ee,this.promise=new Ee(j),this.promise[H]||se(this.promise),a(mt)?(this.length=mt.length,this._remaining=mt.length,this._result=new Array(this.length),this.length===0?Ce(this.promise,this._result):(this.length=this.length||0,this._enumerate(mt),this._remaining===0&&Ce(this.promise,this._result))):je(this.promise,Ue())}return Ze.prototype._enumerate=function(mt){for(var Je=0;this._state===K&&Je<mt.length;Je++)this._eachEntry(mt[Je],Je)},Ze.prototype._eachEntry=function(mt,Je){var rt=this._instanceConstructor,wt=rt.resolve;if(wt===U){var Ot=void 0,Ct=void 0,Dt=!1;try{Ot=mt.then}catch(q){Dt=!0,Ct=q}if(Ot===D&&mt._state!==K)this._settledAt(mt._state,Je,mt._result);else if(typeof Ot!="function")this._remaining--,this._result[Je]=mt;else if(rt===ze){var Xe=new rt(j);Dt?je(Xe,Ct):de(Xe,mt,Ot),this._willSettleAt(Xe,Je)}else this._willSettleAt(new rt(function(q){return q(mt)}),Je)}else this._willSettleAt(wt(mt),Je)},Ze.prototype._settledAt=function(mt,Je,rt){var wt=this.promise;wt._state===K&&(this._remaining--,mt===z?je(wt,rt):this._result[Je]=rt),this._remaining===0&&Ce(wt,this._result)},Ze.prototype._willSettleAt=function(mt,Je){var rt=this;te(mt,void 0,function(wt){return rt._settledAt(X,Je,wt)},function(wt){return rt._settledAt(z,Je,wt)})},Ze}();function Ne(Ze){return new ue(this,Ze).promise}function Fe(Ze){var Ee=this;return a(Ze)?new Ee(function(mt,Je){for(var rt=Ze.length,wt=0;wt<rt;wt++)Ee.resolve(Ze[wt]).then(mt,Je)}):new Ee(function(mt,Je){return Je(new TypeError("You must pass an array to race."))})}function ae(Ze){var Ee=this,mt=new Ee(j);return je(mt,Ze),mt}function ce(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function _e(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ze=function(){function Ze(Ee){this[H]=ee(),this._result=this._state=void 0,this._subscribers=[],j!==Ee&&(typeof Ee!="function"&&ce(),this instanceof Ze?Le(this,Ee):_e())}return Ze.prototype.catch=function(mt){return this.then(null,mt)},Ze.prototype.finally=function(mt){var Je=this,rt=Je.constructor;return i(mt)?Je.then(function(wt){return rt.resolve(mt()).then(function(){return wt})},function(wt){return rt.resolve(mt()).then(function(){throw wt})}):Je.then(mt,mt)},Ze}();ze.prototype.then=D,ze.all=Ne,ze.race=Fe,ze.resolve=U,ze.reject=ae,ze._setScheduler=v,ze._setAsap=y,ze._asap=d;function it(){var Ze=void 0;if(typeof w!="undefined")Ze=w;else if(typeof self!="undefined")Ze=self;else try{Ze=Function("return this")()}catch(Je){throw new Error("polyfill failed because global object is unavailable in this environment")}var Ee=Ze.Promise;if(Ee){var mt=null;try{mt=Object.prototype.toString.call(Ee.resolve())}catch(Je){}if(mt==="[object Promise]"&&!Ee.cast)return}Ze.Promise=ze}return ze.polyfill=it,ze.Promise=ze,ze})},html2canvas:function(e){"use strict";e.exports=m},jspdf:function(e){"use strict";e.exports=A}},p={};function c(l){var e=p[l];if(e!==void 0)return e.exports;var n=p[l]={exports:{}};return g[l].call(n.exports,n,n.exports,c),n.exports}!function(){c.n=function(l){var e=l&&l.__esModule?function(){return l.default}:function(){return l};return c.d(e,{a:e}),e}}(),!function(){c.d=function(l,e){for(var n in e)c.o(e,n)&&!c.o(l,n)&&Object.defineProperty(l,n,{enumerable:!0,get:e[n]})}}(),!function(){c.o=function(l,e){return Object.prototype.hasOwnProperty.call(l,e)}}(),!function(){c.r=function(l){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})}}();var h={};return!function(){"use strict";/*!**********************!*\
|
|
|
!*** ./src/index.js ***!
|
|
|
\**********************/c.r(h);var l=c("./src/worker.js"),e=c("./src/plugin/jspdf-plugin.js"),n=c("./src/plugin/pagebreaks.js"),i=c("./src/plugin/hyperlinks.js"),r=function a(t,s){var u=new a.Worker(s);return t?u.from(t).save():u};r.Worker=l.default,h.default=r}(),h=h.default,h}()})}).call(this,o("yLpj"),o("Q2Ig"))},"1q3G":function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=w;function w(){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(M,B,o){var w=o("MBQ8"),f=w.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(m){return m.stack=null,f.superApply(this,"getInitialData",arguments)}}),A=f;M.exports=A},"1u/T":function(M,B,o){var w=o("ProS"),f={type:"selectDataRange",event:"dataRangeSelected",update:"update"};w.registerAction(f,function(A,m){m.eachComponent({mainType:"visualMap",query:A},function(g){g.setSelected(A.selected)})})},"1xaR":function(M,B,o){var w=o("ProS"),f=o("bYtY");o("qgGe"),o("NA0q"),o("RPvy");var A=o("mOdp"),m=o("y3NT"),g=o("0/Rx");w.registerVisual(f.curry(A,"sunburst")),w.registerLayout(f.curry(m,"sunburst")),w.registerProcessor(f.curry(g,"sunburst"))},"24YM":function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.SensorTabIndex=B.SensorClassName=B.SizeSensorId=void 0;var w="size-sensor-id";B.SizeSensorId=w;var f="size-sensor-object";B.SensorClassName=f;var A="-1";B.SensorTabIndex=A},"2548":function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("6GrX"),m=o("IUWy"),g=o("IwbS"),p=o("Qxkt"),c=o("gPAo"),h=o("eRkO"),l=w.extendComponentView({type:"toolbox",render:function(n,i,r,a){var t=this.group;if(t.removeAll(),!n.get("show"))return;var s=+n.get("itemSize"),u=n.get("feature")||{},d=this._features||(this._features={}),v=[];f.each(u,function(b,E){v.push(E)}),new c(this._featureNames||[],v).add(y).update(y).remove(f.curry(y,null)).execute(),this._featureNames=v;function y(b,E){var C=v[b],T=v[E],x=u[C],_=new p(x,n,n.ecModel),I;if(a&&a.newTitle!=null&&a.featureName===C&&(x.title=a.newTitle),C&&!T){if(e(C))I={model:_,onclick:_.option.onclick,featureName:C};else{var L=m.get(C);if(!L)return;I=new L(_,i,r)}d[C]=I}else{if(I=d[T],!I)return;I.model=_,I.ecModel=i,I.api=r}if(!C&&T){I.dispose&&I.dispose(i,r);return}if(!_.get("show")||I.unusable){I.remove&&I.remove(i,r);return}S(_,I,C),_.setIconStatus=function(R,k){var F=this.option,P=this.iconPaths;F.iconStatus=F.iconStatus||{},F.iconStatus[R]=k,P[R]&&P[R].trigger(k)},I.render&&I.render(_,i,r,a)}function S(b,E,C){var T=b.getModel("iconStyle"),x=b.getModel("emphasis.iconStyle"),_=E.getIcons?E.getIcons():b.get("icon"),I=b.get("title")||{};if(typeof _=="string"){var L=_,R=I;_={},I={},_[C]=L,I[C]=R}var k=b.iconPaths={};f.each(_,function(F,P){var W=g.createIcon(F,{},{x:-s/2,y:-s/2,width:s,height:s});W.setStyle(T.getItemStyle()),W.hoverStyle=x.getItemStyle(),W.setStyle({text:I[P],textAlign:x.get("textAlign"),textBorderRadius:x.get("textBorderRadius"),textPadding:x.get("textPadding"),textFill:null});var D=n.getModel("tooltip");D&&D.get("show")&&W.attr("tooltip",f.extend({content:I[P],formatter:D.get("formatter",!0)||function(){return I[P]},formatterParams:{componentType:"toolbox",name:P,title:I[P],$vars:["name","title"]},position:D.get("position",!0)||"bottom"},D.option)),g.setHoverStyle(W),n.get("showTitle")&&(W.__title=I[P],W.on("mouseover",function(){var U=x.getItemStyle(),H=n.get("orient")==="vertical"?n.get("right")==null?"right":"left":n.get("bottom")==null?"bottom":"top";W.setStyle({textFill:x.get("textFill")||U.fill||U.stroke||"#000",textBackgroundColor:x.get("textBackgroundColor"),textPosition:x.get("textPosition")||H})}).on("mouseout",function(){W.setStyle({textFill:null,textBackgroundColor:null})})),W.trigger(b.get("iconStatus."+P)||"normal"),t.add(W),W.on("click",f.bind(E.onclick,E,i,r,P)),k[P]=W})}h.layout(t,n,r),t.add(h.makeBackground(t.getBoundingRect(),n)),t.eachChild(function(b){var E=b.__title,C=b.hoverStyle;if(C&&E){var T=A.getBoundingRect(E,A.makeFont(C)),x=b.position[0]+t.position[0],_=b.position[1]+t.position[1]+s,I=!1;_+T.height>r.getHeight()&&(C.textPosition="top",I=!0);var L=I?-5-T.height:s+8;x+T.width/2>r.getWidth()?(C.textPosition=["100%",L],C.textAlign="right"):x-T.width/2<0&&(C.textPosition=[0,L],C.textAlign="left")}})},updateView:function(n,i,r,a){f.each(this._features,function(t){t.updateView&&t.updateView(t.model,i,r,a)})},remove:function(n,i){f.each(this._features,function(r){r.remove&&r.remove(n,i)}),this.group.removeAll()},dispose:function(n,i){f.each(this._features,function(r){r.dispose&&r.dispose(n,i)})}});function e(n){return n.indexOf("my")===0}M.exports=l},"26TI":function(M,B,o){},"2B6p":function(M,B){function o(w,f,A){var m=w.getZoom(),g=w.getCenter(),p=f.zoom,c=w.dataToPoint(g);if(f.dx!=null&&f.dy!=null){c[0]-=f.dx,c[1]-=f.dy;var g=w.pointToData(c);w.setCenter(g)}if(p!=null){if(A){var h=A.min||0,l=A.max||Infinity;p=Math.max(Math.min(m*p,l),h)/m}w.scale[0]*=p,w.scale[1]*=p;var e=w.position,n=(f.originX-e[0])*(p-1),i=(f.originY-e[1])*(p-1);e[0]-=n,e[1]-=i,w.updateTransform();var g=w.pointToData(c);w.setCenter(g),w.setZoom(p*m)}return{center:w.getCenter(),zoom:w.getZoom()}}B.updateCenterAndZoom=o},"2DNl":function(M,B,o){var w=o("IMiH"),f=o("loD1"),A=o("59Ip"),m=o("aKvl"),g=o("n1HI"),p=o("hX1E"),c=p.normalizeRadian,h=o("Sj9i"),l=o("hyiK"),e=w.CMD,n=Math.PI*2,i=1e-4;function r(E,C){return Math.abs(E-C)<i}var a=[-1,-1,-1],t=[-1,-1];function s(){var E=t[0];t[0]=t[1],t[1]=E}function u(E,C,T,x,_,I,L,R,k,F){if(F>C&&F>x&&F>I&&F>R||F<C&&F<x&&F<I&&F<R)return 0;var P=h.cubicRootAt(C,x,I,R,F,a);if(P===0)return 0;for(var W=0,D=-1,U,H,j=0;j<P;j++){var K=a[j],X=K===0||K===1?.5:1,z=h.cubicAt(E,T,_,L,K);if(z<k)continue;D<0&&(D=h.cubicExtrema(C,x,I,R,t),t[1]<t[0]&&D>1&&s(),U=h.cubicAt(C,x,I,R,t[0]),D>1&&(H=h.cubicAt(C,x,I,R,t[1]))),D===2?K<t[0]?W+=U<C?X:-X:K<t[1]?W+=H<U?X:-X:W+=R<H?X:-X:K<t[0]?W+=U<C?X:-X:W+=R<U?X:-X}return W}function d(E,C,T,x,_,I,L,R){if(R>C&&R>x&&R>I||R<C&&R<x&&R<I)return 0;var k=h.quadraticRootAt(C,x,I,R,a);if(k===0)return 0;var F=h.quadraticExtremum(C,x,I);if(F>=0&&F<=1){for(var P=0,W=h.quadraticAt(C,x,I,F),D=0;D<k;D++){var U=a[D]===0||a[D]===1?.5:1,H=h.quadraticAt(E,T,_,a[D]);if(H<L)continue;a[D]<F?P+=W<C?U:-U:P+=I<W?U:-U}return P}else{var U=a[0]===0||a[0]===1?.5:1,H=h.quadraticAt(E,T,_,a[0]);return H<L?0:I<C?U:-U}}function v(E,C,T,x,_,I,L,R){if(R-=C,R>T||R<-T)return 0;var k=Math.sqrt(T*T-R*R);a[0]=-k,a[1]=k;var F=Math.abs(x-_);if(F<1e-4)return 0;if(F%n<1e-4){x=0,_=n;var P=I?1:-1;return L>=a[0]+E&&L<=a[1]+E?P:0}if(I){var k=x;x=c(_),_=c(k)}else x=c(x),_=c(_);x>_&&(_+=n);for(var W=0,D=0;D<2;D++){var U=a[D];if(U+E>L){var H=Math.atan2(R,U),P=I?1:-1;H<0&&(H=n+H),(H>=x&&H<=_||H+n>=x&&H+n<=_)&&(H>Math.PI/2&&H<Math.PI*1.5&&(P=-P),W+=P)}}return W}function y(E,C,T,x,_){for(var I=0,L=0,R=0,k=0,F=0,P=0;P<E.length;){var W=E[P++];W===e.M&&P>1&&(T||(I+=l(L,R,k,F,x,_))),P===1&&(L=E[P],R=E[P+1],k=L,F=R);switch(W){case e.M:k=E[P++],F=E[P++],L=k,R=F;break;case e.L:if(T){if(f.containStroke(L,R,E[P],E[P+1],C,x,_))return!0}else I+=l(L,R,E[P],E[P+1],x,_)||0;L=E[P++],R=E[P++];break;case e.C:if(T){if(A.containStroke(L,R,E[P++],E[P++],E[P++],E[P++],E[P],E[P+1],C,x,_))return!0}else I+=u(L,R,E[P++],E[P++],E[P++],E[P++],E[P],E[P+1],x,_)||0;L=E[P++],R=E[P++];break;case e.Q:if(T){if(m.containStroke(L,R,E[P++],E[P++],E[P],E[P+1],C,x,_))return!0}else I+=d(L,R,E[P++],E[P++],E[P],E[P+1],x,_)||0;L=E[P++],R=E[P++];break;case e.A:var D=E[P++],U=E[P++],H=E[P++],j=E[P++],K=E[P++],X=E[P++];P+=1;var z=1-E[P++],Y=Math.cos(K)*H+D,$=Math.sin(K)*j+U;P>1?I+=l(L,R,Y,$,x,_):(k=Y,F=$);var ne=(x-D)*j/H+D;if(T){if(g.containStroke(D,U,j,K,K+X,z,C,ne,_))return!0}else I+=v(D,U,j,K,K+X,z,ne,_);L=Math.cos(K+X)*H+D,R=Math.sin(K+X)*j+U;break;case e.R:k=L=E[P++],F=R=E[P++];var J=E[P++],ge=E[P++],Y=k+J,$=F+ge;if(T){if(f.containStroke(k,F,Y,F,C,x,_)||f.containStroke(Y,F,Y,$,C,x,_)||f.containStroke(Y,$,k,$,C,x,_)||f.containStroke(k,$,k,F,C,x,_))return!0}else I+=l(Y,F,Y,$,x,_),I+=l(k,$,k,F,x,_);break;case e.Z:if(T){if(f.containStroke(L,R,k,F,C,x,_))return!0}else I+=l(L,R,k,F,x,_);L=k,R=F;break}}return!T&&!r(R,F)&&(I+=l(L,R,k,F,x,_)||0),I!==0}function S(E,C,T){return y(E,0,!1,C,T)}function b(E,C,T,x){return y(E,C,!0,T,x)}B.contain=S,B.containStroke=b},"2HRC":function(M,B,o){},"2Qr1":function(M,B,o){"use strict";o.d(B,"d",function(){return l}),o.d(B,"c",function(){return n}),o.d(B,"e",function(){return i}),o.d(B,"b",function(){return t}),o.d(B,"f",function(){return s}),o.d(B,"g",function(){return u}),o.d(B,"a",function(){return d});var w=o("rePB"),f=o("T5bk"),A=o("KQm4"),m=o("U8pU"),g=o("VTBJ"),p=o("Kwbf"),c=o("WKfj");function h(v,y){var S=v.key,b;return"value"in v&&(b=v.value),S!=null?S:b!==void 0?b:"rc-index-key-".concat(y)}function l(v){var y=[];function S(b,E){b.forEach(function(C){E||!("options"in C)?y.push({key:h(C,y.length),groupOption:E,data:C}):(y.push({key:h(C,y.length),group:!0,data:C}),S(C.options,!0))})}return S(v,!1),y}function e(v){var y=Object(g.a)({},v);return"props"in y||Object.defineProperty(y,"props",{get:function(){return Object(p.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),y}}),y}function n(v,y){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=S.prevValueOptions,E=b===void 0?[]:b,C=new Map;return y.forEach(function(T){if(!T.group){var x=T.data;C.set(x.value,x)}}),v.map(function(T){var x=C.get(T);return x||(x=Object(g.a)({},E.find(function(_){return _._INTERNAL_OPTION_VALUE_===T}))),e(x)})}var i=function(y,S){var b=S.options,E=S.prevValueMap,C=S.labelInValue,T=S.optionLabelProp,x=n([y],b)[0],_={value:y},I=C?E.get(y):void 0;return I&&Object(m.a)(I)==="object"&&"label"in I?(_.label=I.label,x&&typeof I.label=="string"&&typeof x[T]=="string"&&I.label.trim()!==x[T].trim()&&Object(p.a)(!1,"`label` of `value` is not same as `label` in Select options.")):x&&T in x?_.label=x[T]:(_.label=y,_.isCacheable=!0),_.key=_.value,_};function r(v){return Object(c.d)(v).join("")}function a(v){return function(y,S){var b=y.toLowerCase();if("options"in S)return r(S.label).toLowerCase().includes(b);var E=S[v],C=r(E).toLowerCase();return C.includes(b)}}function t(v,y,S){var b=S.optionFilterProp,E=S.filterOption,C=[],T;return E===!1?Object(A.a)(y):(typeof E=="function"?T=E:T=a(b),y.forEach(function(x){if("options"in x){var _=T(v,x);if(_)C.push(x);else{var I=x.options.filter(function(L){return T(v,L)});I.length&&C.push(Object(g.a)(Object(g.a)({},x),{},{options:I}))}return}T(v,e(x))&&C.push(x)}),C)}function s(v,y){if(!y||!y.length)return null;var S=!1;function b(C,T){var x=Object(f.a)(T),_=x[0],I=x.slice(1);if(!_)return[C];var L=C.split(_);return S=S||L.length>1,L.reduce(function(R,k){return[].concat(Object(A.a)(R),Object(A.a)(b(k,I)))},[]).filter(function(R){return R})}var E=b(v,y);return S?E:null}function u(v,y){var S=n([v],y)[0];return S.disabled}function d(v,y,S,b){var E=Object(c.d)(y).slice().sort(),C=Object(A.a)(v),T=new Set;return v.forEach(function(x){x.options?x.options.forEach(function(_){T.add(_.value)}):T.add(x.value)}),E.forEach(function(x){var _=b?x.value:x;if(!T.has(_)){var I;C.push(b?(I={},Object(w.a)(I,S,x.label),Object(w.a)(I,"value",_),I):{value:_})}}),C}},"2dDv":function(M,B,o){var w=o("bYtY"),f=o("Fofx"),A=o("+TT/"),m=o("aX7z"),g=o("D1WM"),p=o("IwbS"),c=o("OELB"),h=o("72pK"),l=w.each,e=Math.min,n=Math.max,i=Math.floor,r=Math.ceil,a=c.round,t=Math.PI;function s(S,b,E){this._axesMap=w.createHashMap(),this._axesLayout={},this.dimensions=S.dimensions,this._rect,this._model=S,this._init(S,b,E)}s.prototype={type:"parallel",constructor:s,_init:function(S,b,E){var C=S.dimensions,T=S.parallelAxisIndex;l(C,function(x,_){var I=T[_],L=b.getComponent("parallelAxis",I),R=this._axesMap.set(x,new g(x,m.createScaleByModel(L),[0,0],L.get("type"),I)),k=R.type==="category";R.onBand=k&&L.get("boundaryGap"),R.inverse=L.get("inverse"),L.axis=R,R.model=L,R.coordinateSystem=L.coordinateSystem=this},this)},update:function(S,b){this._updateAxesFromSeries(this._model,S)},containPoint:function(S){var b=this._makeLayoutInfo(),E=b.axisBase,C=b.layoutBase,T=b.pixelDimIndex,x=S[1-T],_=S[T];return x>=E&&x<=E+b.axisLength&&_>=C&&_<=C+b.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(S,b){b.eachSeries(function(E){if(!S.contains(E,b))return;var C=E.getData();l(this.dimensions,function(T){var x=this._axesMap.get(T);x.scale.unionExtentFromData(C,C.mapDimension(T)),m.niceScaleExtent(x.scale,x.model)},this)},this)},resize:function(S,b){this._rect=A.getLayoutRect(S.getBoxLayoutParams(),{width:b.getWidth(),height:b.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var S=this._model,b=this._rect,E=["x","y"],C=["width","height"],T=S.get("layout"),x=T==="horizontal"?0:1,_=b[C[x]],I=[0,_],L=this.dimensions.length,R=u(S.get("axisExpandWidth"),I),k=u(S.get("axisExpandCount")||0,[0,L]),F=S.get("axisExpandable")&&L>3&&L>k&&k>1&&R>0&&_>0,P=S.get("axisExpandWindow"),W;if(P)W=u(P[1]-P[0],I),P[1]=P[0]+W;else{W=u(R*(k-1),I);var D=S.get("axisExpandCenter")||i(L/2);P=[R*D-W/2],P[1]=P[0]+W}var U=(_-W)/(L-k);U<3&&(U=0);var H=[i(a(P[0]/R,1))+1,r(a(P[1]/R,1))-1],j=U/R*P[0];return{layout:T,pixelDimIndex:x,layoutBase:b[E[x]],layoutLength:_,axisBase:b[E[1-x]],axisLength:b[C[1-x]],axisExpandable:F,axisExpandWidth:R,axisCollapseWidth:U,axisExpandWindow:P,axisCount:L,winInnerIndices:H,axisExpandWindow0Pos:j}},_layoutAxes:function(){var S=this._rect,b=this._axesMap,E=this.dimensions,C=this._makeLayoutInfo(),T=C.layout;b.each(function(x){var _=[0,C.axisLength],I=x.inverse?1:0;x.setExtent(_[I],_[1-I])}),l(E,function(x,_){var I=(C.axisExpandable?v:d)(_,C),L={horizontal:{x:I.position,y:C.axisLength},vertical:{x:0,y:I.position}},R={horizontal:t/2,vertical:0},k=[L[T].x+S.x,L[T].y+S.y],F=R[T],P=f.create();f.rotate(P,P,F),f.translate(P,P,k),this._axesLayout[x]={position:k,rotation:F,transform:P,axisNameAvailableWidth:I.axisNameAvailableWidth,axisLabelShow:I.axisLabelShow,nameTruncateMaxWidth:I.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(S){return this._axesMap.get(S)},dataToPoint:function(S,b){return this.axisCoordToPoint(this._axesMap.get(b).dataToCoord(S),b)},eachActiveState:function(S,b,E,C){E==null&&(E=0),C==null&&(C=S.count());var T=this._axesMap,x=this.dimensions,_=[],I=[];w.each(x,function(U){_.push(S.mapDimension(U)),I.push(T.get(U).model)});for(var L=this.hasAxisBrushed(),R=E;R<C;R++){var k;if(!L)k="normal";else{k="active";for(var F=S.getValues(_,R),P=0,W=x.length;P<W;P++){var D=I[P].getActiveState(F[P]);if(D==="inactive"){k="inactive";break}}}b(k,R)}},hasAxisBrushed:function(){for(var S=this.dimensions,b=this._axesMap,E=!1,C=0,T=S.length;C<T;C++)b.get(S[C]).model.getActiveState()!=="normal"&&(E=!0);return E},axisCoordToPoint:function(S,b){var E=this._axesLayout[b];return p.applyTransform([S,0],E.transform)},getAxisLayout:function(S){return w.clone(this._axesLayout[S])},getSlidedAxisExpandWindow:function(S){var b=this._makeLayoutInfo(),E=b.pixelDimIndex,C=b.axisExpandWindow.slice(),T=C[1]-C[0],x=[0,b.axisExpandWidth*(b.axisCount-1)];if(!this.containPoint(S))return{behavior:"none",axisExpandWindow:C};var _=S[E]-b.layoutBase-b.axisExpandWindow0Pos,I,L="slide",R=b.axisCollapseWidth,k=this._model.get("axisExpandSlideTriggerArea"),F=k[0]!=null;if(R)F&&R&&_<T*k[0]?(L="jump",I=_-T*k[2]):F&&R&&_>T*(1-k[0])?(L="jump",I=_-T*(1-k[2])):(I=_-T*k[1])>=0&&(I=_-T*(1-k[1]))<=0&&(I=0),I*=b.axisExpandWidth/R,I?h(I,C,x,"all"):L="none";else{var T=C[1]-C[0],P=x[1]*_/T;C=[n(0,P-T/2)],C[1]=e(x[1],C[0]+T),C[0]=C[1]-T}return{axisExpandWindow:C,behavior:L}}};function u(S,b){return e(n(S,b[0]),b[1])}function d(S,b){var E=b.layoutLength/(b.axisCount-1);return{position:E*S,axisNameAvailableWidth:E,axisLabelShow:!0}}function v(S,b){var E=b.layoutLength,C=b.axisExpandWidth,T=b.axisCount,x=b.axisCollapseWidth,_=b.winInnerIndices,I,L=x,R=!1,k;return S<_[0]?(I=S*x,k=x):S<=_[1]?(I=b.axisExpandWindow0Pos+S*C-b.axisExpandWindow[0],L=C,R=!0):(I=E-(T-1-S)*x,k=x),{position:I,axisNameAvailableWidth:L,axisLabelShow:R,nameTruncateMaxWidth:k}}var y=s;M.exports=y},"2fGM":function(M,B,o){var w=o("bYtY"),f=o("bLfw"),A=o("nkfE"),m=o("ICMv"),g=f.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});w.merge(g.prototype,m);var p={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function c(h,l){return l.type||(l.data?"category":"value")}A("angle",g,c,p.angle),A("radius",g,c,p.radius)},"2fw6":function(M,B,o){var w=o("y+Vt"),f=w.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(m,g,p){p&&m.moveTo(g.cx+g.r,g.cy),m.arc(g.cx,g.cy,g.r,0,Math.PI*2,!0)}});M.exports=f},"2uGb":function(M,B,o){var w=o("ProS");o("ko1b"),o("s2lz"),o("RBEP");var f=o("kMLO"),A=o("nKiI");w.registerVisual(f),w.registerLayout(A)},"2w7y":function(M,B,o){var w=o("ProS");o("qMZE"),o("g0SD"),w.registerPreprocessor(function(f){f.markPoint=f.markPoint||{}})},"33Ds":function(M,B,o){var w=o("ProS"),f=o("b9oc"),A=o("Kagy"),m=o("IUWy"),g=A.toolbox.restore;function p(l){this.model=l}p.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:g.title};var c=p.prototype;c.onclick=function(l,e,n){f.clear(l),e.dispatchAction({type:"restore",from:this.uid})},m.register("restore",p),w.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(l,e){e.resetOption("recreate")});var h=p;M.exports=h},"34/K":function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;function w(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}function f(g,p){for(var c=0;c<p.length;c++){var h=p[c];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(g,h.key,h)}}function A(g,p,c){return p&&f(g.prototype,p),c&&f(g,c),g}var m=function(){function g(){w(this,g),this._lines=0}return A(g,[{key:"decodeRect",value:function(c,h,l,e,n,i,r){this._lines===0&&(this._lines=e);var a=r==8?1:4,t=l*a;if(n.rQwait("RAW",t))return!1;var s=h+(e-this._lines),u=Math.min(this._lines,Math.floor(n.rQlen/t)),d=n.rQ,v=n.rQi;if(r==8){for(var y=l*u,S=new Uint8Array(y*4),b=0;b<y;b++)S[b*4+0]=(d[v+b]>>0&3)*255/3,S[b*4+1]=(d[v+b]>>2&3)*255/3,S[b*4+2]=(d[v+b]>>4&3)*255/3,S[b*4+4]=0;d=S,v=0}return i.blitImage(c,s,l,u,d,v),n.rQskipBytes(u*t),this._lines-=u,!(this._lines>0)}}]),g}();B.default=m},"3690":function(M,B,o){"use strict";function w(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(n){return typeof n}:w=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},w(l)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var f=m(o("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return A=function(){return l},l}function m(l){if(l&&l.__esModule)return l;if(l===null||w(l)!=="object"&&typeof l!="function")return{default:l};var e=A();if(e&&e.has(l))return e.get(l);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in l)if(Object.prototype.hasOwnProperty.call(l,r)){var a=i?Object.getOwnPropertyDescriptor(l,r):null;a&&(a.get||a.set)?Object.defineProperty(n,r,a):n[r]=l[r]}return n.default=l,e&&e.set(l,n),n}function g(l,e){if(!(l instanceof e))throw new TypeError("Cannot call a class as a function")}function p(l,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(l,i.key,i)}}function c(l,e,n){return e&&p(l.prototype,e),n&&p(l,n),l}var h=function(){function l(){g(this,l),this._tiles=0,this._lastsubencoding=0}return c(l,[{key:"decodeRect",value:function(n,i,r,a,t,s,u){for(this._tiles===0&&(this._tilesX=Math.ceil(r/16),this._tilesY=Math.ceil(a/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){var d=1;if(t.rQwait("HEXTILE",d))return!1;var v=t.rQ,y=t.rQi,S=v[y];if(S>30)throw new Error("Illegal hextile subencoding (subencoding: "+S+")");var b=this._totalTiles-this._tiles,E=b%this._tilesX,C=Math.floor(b/this._tilesX),T=n+E*16,x=i+C*16,_=Math.min(16,n+r-T),I=Math.min(16,i+a-x);if(S&1)d+=_*I*4;else if(S&2&&(d+=4),S&4&&(d+=4),S&8){if(d++,t.rQwait("HEXTILE",d))return!1;var L=v[y+d-1];S&16?d+=L*(4+2):d+=L*2}if(t.rQwait("HEXTILE",d))return!1;if(y++,S===0)this._lastsubencoding&1?f.Debug(" Ignoring blank after RAW"):s.fillRect(T,x,_,I,this._background);else if(S&1)s.blitImage(T,x,_,I,v,y),y+=d-1;else{if(S&2&&(this._background=[v[y],v[y+1],v[y+2],v[y+3]],y+=4),S&4&&(this._foreground=[v[y],v[y+1],v[y+2],v[y+3]],y+=4),s.startTile(T,x,_,I,this._background),S&8){var R=v[y];y++;for(var k=0;k<R;k++){var F=void 0;S&16?(F=[v[y],v[y+1],v[y+2],v[y+3]],y+=4):F=this._foreground;var P=v[y];y++;var W=P>>4,D=P&15,U=v[y];y++;var H=(U>>4)+1,j=(U&15)+1;s.subTile(W,D,H,j,F)}}s.finishTile()}t.rQi=y,this._lastsubencoding=S,this._tiles--}return!0}}]),l}();B.default=h},"3C/r":function(M,B){var o=function(A,m){this.image=A,this.repeat=m,this.type="pattern"};o.prototype.getCanvasPattern=function(f){return f.createPattern(this.image,this.repeat||"repeat")};var w=o;M.exports=w},"3CBa":function(M,B,o){var w=o("hydK"),f=w.createElement,A=o("bYtY"),m=o("SUKs"),g=o("y+Vt"),p=o("Dagg"),c=o("dqUG"),h=o("DBLp"),l=o("sW+o"),e=o("n6Mw"),n=o("vKoX"),i=o("P47w"),r=i.path,a=i.image,t=i.text;function s(_){return parseInt(_,10)}function u(_){return _ instanceof g?r:_ instanceof p?a:_ instanceof c?t:r}function d(_,I){return I&&_&&I.parentNode!==_}function v(_,I,L){if(d(_,I)&&L){var R=L.nextSibling;R?_.insertBefore(I,R):_.appendChild(I)}}function y(_,I){if(d(_,I)){var L=_.firstChild;L?_.insertBefore(I,L):_.appendChild(I)}}function S(_,I){I&&_&&I.parentNode===_&&_.removeChild(I)}function b(_){return _.__textSvgEl}function E(_){return _.__svgEl}var C=function(I,L,R,k){this.root=I,this.storage=L,this._opts=R=A.extend({},R||{});var F=f("svg");F.setAttribute("xmlns","http://www.w3.org/2000/svg"),F.setAttribute("version","1.1"),F.setAttribute("baseProfile","full"),F.style.cssText="user-select:none;position:absolute;left:0;top:0;";var P=f("g");F.appendChild(P);var W=f("g");F.appendChild(W),this.gradientManager=new l(k,W),this.clipPathManager=new e(k,W),this.shadowManager=new n(k,W);var D=document.createElement("div");D.style.cssText="overflow:hidden;position:relative",this._svgDom=F,this._svgRoot=W,this._backgroundRoot=P,this._viewport=D,I.appendChild(D),D.appendChild(F),this.resize(R.width,R.height),this._visibleList=[]};C.prototype={constructor:C,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var I=this.getViewportRoot();if(I)return{offsetLeft:I.offsetLeft||0,offsetTop:I.offsetTop||0}},refresh:function(){var I=this.storage.getDisplayList(!0);this._paintList(I)},setBackgroundColor:function(I){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var L=f("rect");L.setAttribute("width",this.getWidth()),L.setAttribute("height",this.getHeight()),L.setAttribute("x",0),L.setAttribute("y",0),L.setAttribute("id",0),L.style.fill=I,this._backgroundRoot.appendChild(L),this._backgroundNode=L},_paintList:function(I){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var L=this._svgRoot,R=this._visibleList,k=I.length,F=[],P;for(P=0;P<k;P++){var W=I[P],D=u(W),U=E(W)||b(W);W.invisible||(W.__dirty&&(D&&D.brush(W),this.clipPathManager.update(W),W.style&&(this.gradientManager.update(W.style.fill),this.gradientManager.update(W.style.stroke),this.shadowManager.update(U,W)),W.__dirty=!1),F.push(W))}var H=h(R,F),j;for(P=0;P<H.length;P++){var K=H[P];if(K.removed)for(var X=0;X<K.count;X++){var W=R[K.indices[X]],U=E(W),z=b(W);S(L,U),S(L,z)}}for(P=0;P<H.length;P++){var K=H[P];if(K.added)for(var X=0;X<K.count;X++){var W=F[K.indices[X]],U=E(W),z=b(W);j?v(L,U,j):y(L,U),U?v(L,z,U):j?v(L,z,j):y(L,z),v(L,z,U),j=z||U||j,this.gradientManager.addWithoutUpdate(U||z,W),this.shadowManager.addWithoutUpdate(U||z,W),this.clipPathManager.markUsed(W)}else if(!K.removed)for(var X=0;X<K.count;X++){var W=F[K.indices[X]],U=E(W),z=b(W),U=E(W),z=b(W);this.gradientManager.markUsed(W),this.gradientManager.addWithoutUpdate(U||z,W),this.shadowManager.markUsed(W),this.shadowManager.addWithoutUpdate(U||z,W),this.clipPathManager.markUsed(W),z&&v(L,z,U),j=U||z||j}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=F},_getDefs:function(I){var L=this._svgDom,R=L.getElementsByTagName("defs");if(R.length===0)if(I){var R=L.insertBefore(f("defs"),L.firstChild);return R.contains||(R.contains=function(F){var P=R.children;if(!P)return!1;for(var W=P.length-1;W>=0;--W)if(P[W]===F)return!0;return!1}),R}else return null;else return R[0]},resize:function(I,L){var R=this._viewport;R.style.display="none";var k=this._opts;if(I!=null&&(k.width=I),L!=null&&(k.height=L),I=this._getSize(0),L=this._getSize(1),R.style.display="",this._width!==I||this._height!==L){this._width=I,this._height=L;var F=R.style;F.width=I+"px",F.height=L+"px";var P=this._svgDom;P.setAttribute("width",I),P.setAttribute("height",L)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",I),this._backgroundNode.setAttribute("height",L))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(I){var L=this._opts,R=["width","height"][I],k=["clientWidth","clientHeight"][I],F=["paddingLeft","paddingTop"][I],P=["paddingRight","paddingBottom"][I];if(L[R]!=null&&L[R]!=="auto")return parseFloat(L[R]);var W=this.root,D=document.defaultView.getComputedStyle(W);return(W[k]||s(D[R])||s(W.style[R]))-(s(D[F])||0)-(s(D[P])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var I=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
|
|
|
\r<`));return"data:image/svg+xml;charset=UTF-8,"+I}};function T(_){return function(){m('In SVG mode painter not support method "'+_+'"')}}A.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(_){C.prototype[_]=T(_)});var x=C;M.exports=x},"3LNs":function(M,B,o){var w=o("bYtY"),f=o("Yl7c"),A=o("IwbS"),m=o("zTMp"),g=o("YH21"),p=o("iLNv"),c=o("4NO4"),h=c.makeInner,l=h(),e=w.clone,n=w.bind;function i(){}i.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(v,y,S,b){var E=y.get("value"),C=y.get("status");if(this._axisModel=v,this._axisPointerModel=y,this._api=S,!b&&this._lastValue===E&&this._lastStatus===C)return;this._lastValue=E,this._lastStatus=C;var T=this._group,x=this._handle;if(!C||C==="hide"){T&&T.hide(),x&&x.hide();return}T&&T.show(),x&&x.show();var _={};this.makeElOption(_,E,v,y,S);var I=_.graphicKey;I!==this._lastGraphicKey&&this.clear(S),this._lastGraphicKey=I;var L=this._moveAnimation=this.determineAnimation(v,y);if(!T)T=this._group=new A.Group,this.createPointerEl(T,_,v,y),this.createLabelEl(T,_,v,y),S.getZr().add(T);else{var R=w.curry(r,y,L);this.updatePointerEl(T,_,R,y),this.updateLabelEl(T,_,R,y)}u(T,y,!0),this._renderHandle(E)},remove:function(v){this.clear(v)},dispose:function(v){this.clear(v)},determineAnimation:function(v,y){var S=y.get("animation"),b=v.axis,E=b.type==="category",C=y.get("snap");if(!C&&!E)return!1;if(S==="auto"||S==null){var T=this.animationThreshold;if(E&&b.getBandWidth()>T)return!0;if(C){var x=m.getAxisInfo(v).seriesDataCount,_=b.getExtent();return Math.abs(_[0]-_[1])/x>T}return!1}return S===!0},makeElOption:function(v,y,S,b,E){},createPointerEl:function(v,y,S,b){var E=y.pointer;if(E){var C=l(v).pointerEl=new A[E.type](e(y.pointer));v.add(C)}},createLabelEl:function(v,y,S,b){if(y.label){var E=l(v).labelEl=new A.Rect(e(y.label));v.add(E),t(E,b)}},updatePointerEl:function(v,y,S){var b=l(v).pointerEl;b&&y.pointer&&(b.setStyle(y.pointer.style),S(b,{shape:y.pointer.shape}))},updateLabelEl:function(v,y,S,b){var E=l(v).labelEl;E&&(E.setStyle(y.label.style),S(E,{shape:y.label.shape,position:y.label.position}),t(E,b))},_renderHandle:function(v){if(this._dragging||!this.updateHandleTransform)return;var y=this._axisPointerModel,S=this._api.getZr(),b=this._handle,E=y.getModel("handle"),C=y.get("status");if(!E.get("show")||!C||C==="hide"){b&&S.remove(b),this._handle=null;return}var T;this._handle||(T=!0,b=this._handle=A.createIcon(E.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(I){g.stop(I.event)},onmousedown:n(this._onHandleDragMove,this,0,0),drift:n(this._onHandleDragMove,this),ondragend:n(this._onHandleDragEnd,this)}),S.add(b)),u(b,y,!1);var x=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];b.setStyle(E.getItemStyle(null,x));var _=E.get("size");w.isArray(_)||(_=[_,_]),b.attr("scale",[_[0]/2,_[1]/2]),p.createOrUpdate(this,"_doDispatchAxisPointer",E.get("throttle")||0,"fixRate"),this._moveHandleToValue(v,T)},_moveHandleToValue:function(v,y){r(this._axisPointerModel,!y&&this._moveAnimation,this._handle,s(this.getHandleTransform(v,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(v,y){var S=this._handle;if(!S)return;this._dragging=!0;var b=this.updateHandleTransform(s(S),[v,y],this._axisModel,this._axisPointerModel);this._payloadInfo=b,S.stopAnimation(),S.attr(s(b)),l(S).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var v=this._handle;if(!v)return;var y=this._payloadInfo,S=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:y.cursorPoint[0],y:y.cursorPoint[1],tooltipOption:y.tooltipOption,axesInfo:[{axisDim:S.axis.dim,axisIndex:S.componentIndex}]})},_onHandleDragEnd:function(v){this._dragging=!1;var y=this._handle;if(!y)return;var S=this._axisPointerModel.get("value");this._moveHandleToValue(S),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(v){this._lastValue=null,this._lastStatus=null;var y=v.getZr(),S=this._group,b=this._handle;y&&S&&(this._lastGraphicKey=null,S&&y.remove(S),b&&y.remove(b),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(v,y,S){return S=S||0,{x:v[S],y:v[1-S],width:y[S],height:y[1-S]}}},i.prototype.constructor=i;function r(v,y,S,b){a(l(S).lastProp,b)||(l(S).lastProp=b,y?A.updateProps(S,b,v):(S.stopAnimation(),S.attr(b)))}function a(v,y){if(w.isObject(v)&&w.isObject(y)){var S=!0;return w.each(y,function(b,E){S=S&&a(v[E],b)}),!!S}else return v===y}function t(v,y){v[y.get("label.show")?"show":"hide"]()}function s(v){return{position:v.position.slice(),rotation:v.rotation||0}}function u(v,y,S){var b=y.get("z"),E=y.get("zlevel");v&&v.traverse(function(C){C.type!=="group"&&(b!=null&&(C.z=b),E!=null&&(C.zlevel=E),C.silent=S)})}f.enableClassExtend(i);var d=i;M.exports=d},"3OrL":function(M,B,o){var w=o("bYtY"),f=o("6Ic6"),A=o("IwbS"),m=o("y+Vt"),g=["itemStyle"],p=["emphasis","itemStyle"],c=f.extend({type:"boxplot",render:function(r,a,t){var s=r.getData(),u=this.group,d=this._data;this._data||u.removeAll();var v=r.get("layout")==="horizontal"?1:0;s.diff(d).add(function(y){if(s.hasValue(y)){var S=s.getItemLayout(y),b=l(S,s,y,v,!0);s.setItemGraphicEl(y,b),u.add(b)}}).update(function(y,S){var b=d.getItemGraphicEl(S);if(!s.hasValue(y)){u.remove(b);return}var E=s.getItemLayout(y);b?e(E,b,s,y):b=l(E,s,y,v),u.add(b),s.setItemGraphicEl(y,b)}).remove(function(y){var S=d.getItemGraphicEl(y);S&&u.remove(S)}).execute(),this._data=s},remove:function(r){var a=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(s){s&&a.remove(s)})},dispose:w.noop}),h=m.extend({type:"boxplotBoxPath",shape:{},buildPath:function(r,a){var t=a.points,s=0;for(r.moveTo(t[s][0],t[s][1]),s++;s<4;s++)r.lineTo(t[s][0],t[s][1]);for(r.closePath();s<t.length;s++)r.moveTo(t[s][0],t[s][1]),s++,r.lineTo(t[s][0],t[s][1])}});function l(r,a,t,s,u){var d=r.ends,v=new h({shape:{points:u?n(d,s,r):d}});return e(r,v,a,t,u),v}function e(r,a,t,s,u){var d=t.hostModel,v=A[u?"initProps":"updateProps"];v(a,{shape:{points:r.ends}},d,s);var y=t.getItemModel(s),S=y.getModel(g),b=t.getItemVisual(s,"color"),E=S.getItemStyle(["borderColor"]);E.stroke=b,E.strokeNoScale=!0,a.useStyle(E),a.z2=100;var C=y.getModel(p).getItemStyle();A.setHoverStyle(a,C)}function n(r,a,t){return w.map(r,function(s){return s=s.slice(),s[a]=t.initBaseline,s})}var i=c;M.exports=i},"3TkU":function(M,B,o){o("aTJb"),o("OlYY"),o("fc+c"),o("QUw5"),o("Swgg"),o("LBfv"),o("noeP")},"3X6L":function(M,B,o){var w=o("bYtY"),f=o("7a+S"),A=o("OKJ2"),m=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:[]}});w.mixin(m,A);var g=m;M.exports=g},"3e3G":function(M,B,o){var w=o("bYtY"),f=o("QuXc"),A=function(p,c,h,l,e){this.x=p==null?.5:p,this.y=c==null?.5:c,this.r=h==null?.5:h,this.type="radial",this.global=e||!1,f.call(this,l)};A.prototype={constructor:A},w.inherits(A,f);var m=A;M.exports=m},"3gBT":function(M,B){var o=2311;function w(){return o++}M.exports=w},"3hzK":function(M,B){var o={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")}}};M.exports=o},"3m61":function(M,B){function o(f){return f instanceof Array||(f=[f,f]),f}function w(f){f.eachSeriesByType("graph",function(A){var m=A.getGraph(),g=A.getEdgeData(),p=o(A.get("edgeSymbol")),c=o(A.get("edgeSymbolSize")),h="lineStyle.color".split("."),l="lineStyle.opacity".split(".");g.setVisual("fromSymbol",p&&p[0]),g.setVisual("toSymbol",p&&p[1]),g.setVisual("fromSymbolSize",c&&c[0]),g.setVisual("toSymbolSize",c&&c[1]),g.setVisual("color",A.get(h)),g.setVisual("opacity",A.get(l)),g.each(function(e){var n=g.getItemModel(e),i=m.getEdgeByIndex(e),r=o(n.getShallow("symbol",!0)),a=o(n.getShallow("symbolSize",!0)),t=n.get(h),s=n.get(l);switch(t){case"source":t=i.node1.getVisual("color");break;case"target":t=i.node2.getVisual("color");break}r[0]&&i.setVisual("fromSymbol",r[0]),r[1]&&i.setVisual("toSymbol",r[1]),a[0]&&i.setVisual("fromSymbolSize",a[0]),a[1]&&i.setVisual("toSymbolSize",a[1]),i.setVisual("color",t),i.setVisual("opacity",s)})})}M.exports=w},"3ouR":function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"close-square",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="CloseSquareOutlined";var c=B.a=f.forwardRef(p)},"3zoK":function(M,B,o){var w=o("bYtY"),f=o("bLfw"),A=o("KCsZ"),m=o("nkfE"),g=o("OELB"),p=o("ICMv"),c=f.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return A([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(n){var i=this.activeIntervals=w.clone(n);if(i)for(var r=i.length-1;r>=0;r--)g.asc(i[r])},getActiveState:function(n){var i=this.activeIntervals;if(!i.length)return"normal";if(n==null||isNaN(n))return"inactive";if(i.length===1){var r=i[0];if(r[0]<=n&&n<=r[1])return"active"}else for(var a=0,t=i.length;a<t;a++)if(i[a][0]<=n&&n<=i[a][1])return"active";return"inactive"}}),h={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};w.merge(c.prototype,p);function l(n,i){return i.type||(i.data?"category":"value")}m("parallel",c,l,h);var e=c;M.exports=e},"4Feb":function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=o("IwbS"),g=o("x3X8"),p=g.getDefaultLabel,c=o("MwEJ"),h=o("nVfU"),l=h.getLayoutOnAxis,e=o("gPAo"),n=o("T4UG"),i=o("Qxkt"),r=o("6Ic6"),a=o("sK/D"),t=a.createClipPath,s=o("qj72"),u=o("ANjR"),d=o("MHtr"),v=o("6usn"),y=o("Rx6q"),S=m.CACHED_LABEL_STYLE_PROPERTIES,b=["itemStyle"],E=["emphasis","itemStyle"],C=["label"],T=["emphasis","label"],x="e\0\0",_={cartesian2d:s,geo:u,singleAxis:d,polar:v,calendar:y};n.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(J,ge){return c(this.getSource(),this)},getDataParams:function(J,ge,de){var Ie=n.prototype.getDataParams.apply(this,arguments);return de&&(Ie.info=de.info),Ie}}),r.extend({type:"custom",_data:null,render:function(J,ge,de,Ie){var be=this._data,Ce=J.getData(),je=this.group,te=k(J,Ce,ge,de);Ce.diff(be).add(function($e){P(null,$e,te($e,Ie),J,je,Ce)}).update(function($e,Le){var he=be.getItemGraphicEl(Le);P(he,$e,te($e,Ie),J,je,Ce)}).remove(function($e){var Le=be.getItemGraphicEl($e);Le&&je.remove(Le)}).execute();var ve=J.get("clip",!0)?t(J.coordinateSystem,!1,J):null;ve?je.setClipPath(ve):je.removeClipPath(),this._data=Ce},incrementalPrepareRender:function(J,ge,de){this.group.removeAll(),this._data=null},incrementalRender:function(J,ge,de,Ie,be){var Ce=ge.getData(),je=k(ge,Ce,de,Ie);function te(Le){Le.isGroup||(Le.incremental=!0,Le.useHoverLayer=!0)}for(var ve=J.start;ve<J.end;ve++){var $e=P(null,ve,je(ve,be),ge,this.group,Ce);$e.traverse(te)}},dispose:A.noop,filterForExposedEvent:function(J,ge,de,Ie){var be=ge.element;if(be==null||de.name===be)return!0;for(;(de=de.parent)&&de!==this.group;)if(de.name===be)return!0;return!1}});function I(J){var ge=J.type,de;if(ge==="path"){var Ie=J.shape,be=Ie.width!=null&&Ie.height!=null?{x:Ie.x||0,y:Ie.y||0,width:Ie.width,height:Ie.height}:null,Ce=Y(Ie);de=m.makePath(Ce,null,be,Ie.layout||"center"),de.__customPathData=Ce}else if(ge==="image")de=new m.Image({}),de.__customImagePath=J.style.image;else if(ge==="text")de=new m.Text({}),de.__customText=J.style.text;else if(ge==="group")de=new m.Group;else{if(ge==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var je=m.getShapeClass(ge);de=new je}return de.__customGraphicType=ge,de.name=J.name,de}function L(J,ge,de,Ie,be,Ce,je){var te={},ve=de.style||{};if(de.shape&&(te.shape=A.clone(de.shape)),de.position&&(te.position=de.position.slice()),de.scale&&(te.scale=de.scale.slice()),de.origin&&(te.origin=de.origin.slice()),de.rotation&&(te.rotation=de.rotation),J.type==="image"&&de.style){var $e=te.style={};A.each(["x","y","width","height"],function(ee){R(ee,$e,ve,J.style,Ce)})}if(J.type==="text"&&de.style){var $e=te.style={};A.each(["x","y"],function(se){R(se,$e,ve,J.style,Ce)}),!ve.hasOwnProperty("textFill")&&ve.fill&&(ve.textFill=ve.fill),!ve.hasOwnProperty("textStroke")&&ve.stroke&&(ve.textStroke=ve.stroke)}if(J.type!=="group"&&(J.useStyle(ve),Ce)){J.style.opacity=0;var Le=ve.opacity;Le==null&&(Le=1),m.initProps(J,{style:{opacity:Le}},Ie,ge)}Ce?J.attr(te):m.updateProps(J,te,Ie,ge),de.hasOwnProperty("z2")&&J.attr("z2",de.z2||0),de.hasOwnProperty("silent")&&J.attr("silent",de.silent),de.hasOwnProperty("invisible")&&J.attr("invisible",de.invisible),de.hasOwnProperty("ignore")&&J.attr("ignore",de.ignore),de.hasOwnProperty("info")&&J.attr("info",de.info);var he=de.styleEmphasis;m.setElementHoverStyle(J,he),je&&m.setAsHighDownDispatcher(J,he!==!1)}function R(J,ge,de,Ie,be){de[J]!=null&&!be&&(ge[J]=de[J],de[J]=Ie[J])}function k(J,ge,de,Ie){var be=J.get("renderItem"),Ce=J.coordinateSystem,je={};Ce&&(je=Ce.prepareCustoms?Ce.prepareCustoms():_[Ce.type](Ce));var te=A.defaults({getWidth:Ie.getWidth,getHeight:Ie.getHeight,getZr:Ie.getZr,getDevicePixelRatio:Ie.getDevicePixelRatio,value:Ne,style:Fe,styleEmphasis:ae,visual:ce,barLayout:_e,currentSeriesIndices:ze,font:it},je.api||{}),ve={context:{},seriesId:J.id,seriesName:J.name,seriesIndex:J.seriesIndex,coordSys:je.coordSys,dataInsideLength:ge.count(),encode:F(J.getData())},$e,Le=!0,he,ee,se,Ue;return function(Ze,Ee){return $e=Ze,Le=!0,be&&be(A.defaults({dataIndexInside:Ze,dataIndex:ge.getRawIndex(Ze),actionType:Ee?Ee.type:null},ve),te)};function ue(Ze){Ze==null&&(Ze=$e),Le&&(he=ge.getItemModel(Ze),ee=he.getModel(C),se=he.getModel(T),Ue=ge.getItemVisual(Ze,"color"),Le=!1)}function Ne(Ze,Ee){return Ee==null&&(Ee=$e),ge.get(ge.getDimension(Ze||0),Ee)}function Fe(Ze,Ee){Ee==null&&(Ee=$e),ue(Ee);var mt=he.getModel(b).getItemStyle();Ue!=null&&(mt.fill=Ue);var Je=ge.getItemVisual(Ee,"opacity");Je!=null&&(mt.opacity=Je);var rt=Ze?K(Ze,ee):ee;return m.setTextStyle(mt,rt,null,{autoColor:Ue,isRectText:!0}),mt.text=rt.getShallow("show")?A.retrieve2(J.getFormattedLabel(Ee,"normal"),p(ge,Ee)):null,Ze&&X(mt,Ze),mt}function ae(Ze,Ee){Ee==null&&(Ee=$e),ue(Ee);var mt=he.getModel(E).getItemStyle(),Je=Ze?K(Ze,se):se;return m.setTextStyle(mt,Je,null,{isRectText:!0},!0),mt.text=Je.getShallow("show")?A.retrieve3(J.getFormattedLabel(Ee,"emphasis"),J.getFormattedLabel(Ee,"normal"),p(ge,Ee)):null,Ze&&X(mt,Ze),mt}function ce(Ze,Ee){return Ee==null&&(Ee=$e),ge.getItemVisual(Ee,Ze)}function _e(Ze){if(Ce.getBaseAxis){var Ee=Ce.getBaseAxis();return l(A.defaults({axis:Ee},Ze),Ie)}}function ze(){return de.getCurrentSeriesIndices()}function it(Ze){return m.getFont(Ze,de)}}function F(J){var ge={};return A.each(J.dimensions,function(de,Ie){var be=J.getDimensionInfo(de);if(!be.isExtraCoord){var Ce=be.coordDim,je=ge[Ce]=ge[Ce]||[];je[be.coordDimIndex]=Ie}}),ge}function P(J,ge,de,Ie,be,Ce){return J=W(J,ge,de,Ie,be,Ce,!0),J&&Ce.setItemGraphicEl(ge,J),J}function W(J,ge,de,Ie,be,Ce,je){var te=!de;de=de||{};var ve=de.type,$e=de.shape,Le=de.style;if(J&&(te||ve!=null&&ve!==J.__customGraphicType||ve==="path"&&$($e)&&Y($e)!==J.__customPathData||ve==="image"&&ne(Le,"image")&&Le.image!==J.__customImagePath||ve==="text"&&ne($e,"text")&&Le.text!==J.__customText)&&(be.remove(J),J=null),te)return;var he=!J;return!J&&(J=I(de)),L(J,ge,de,Ie,Ce,he,je),ve==="group"&&D(J,ge,de,Ie,Ce),be.add(J),J}function D(J,ge,de,Ie,be){var Ce=de.children,je=Ce?Ce.length:0,te=de.$mergeChildren,ve=te==="byName"||de.diffChildrenByName,$e=te===!1;if(!je&&!ve&&!$e)return;if(ve){U({oldChildren:J.children()||[],newChildren:Ce||[],dataIndex:ge,animatableModel:Ie,group:J,data:be});return}$e&&J.removeAll();for(var Le=0;Le<je;Le++)Ce[Le]&&W(J.childAt(Le),ge,Ce[Le],Ie,J,be)}function U(J){new e(J.oldChildren,J.newChildren,H,H,J).add(j).update(j).remove(z).execute()}function H(J,ge){var de=J&&J.name;return de!=null?de:x+ge}function j(J,ge){var de=this.context,Ie=J!=null?de.newChildren[J]:null,be=ge!=null?de.oldChildren[ge]:null;W(be,de.dataIndex,Ie,de.animatableModel,de.group,de.data)}function K(J,ge){var de=new i({},ge);return A.each(S,function(Ie,be){J.hasOwnProperty(Ie)&&(de.option[be]=J[Ie])}),de}function X(J,ge){for(var de in ge)(ge.hasOwnProperty(de)||!S.hasOwnProperty(de))&&(J[de]=ge[de])}function z(J){var ge=this.context,de=ge.oldChildren[J];de&&ge.group.remove(de)}function Y(J){return J&&(J.pathData||J.d)}function $(J){return J&&(J.hasOwnProperty("pathData")||J.hasOwnProperty("d"))}function ne(J,ge){return J&&J.hasOwnProperty(ge)}},"4HMb":function(M,B,o){var w=o("bYtY"),f=o("6GrX"),A=o("4NO4"),m=A.makeInner,g=o("aX7z"),p=g.makeLabelFormatter,c=g.getOptionCategoryInterval,h=g.shouldShowAllLabels,l=m();function e(C){return C.type==="category"?i(C):t(C)}function n(C,T){return C.type==="category"?a(C,T):{ticks:C.scale.getTicks()}}function i(C){var T=C.getLabelModel(),x=r(C,T);return!T.get("show")||C.scale.isBlank()?{labels:[],labelCategoryInterval:x.labelCategoryInterval}:x}function r(C,T){var x=s(C,"labels"),_=c(T),I=u(x,_);if(I)return I;var L,R;return w.isFunction(_)?L=E(C,_):(R=_==="auto"?v(C):_,L=b(C,R)),d(x,_,{labels:L,labelCategoryInterval:R})}function a(C,T){var x=s(C,"ticks"),_=c(T),I=u(x,_);if(I)return I;var L,R;if((!T.get("show")||C.scale.isBlank())&&(L=[]),w.isFunction(_))L=E(C,_,!0);else if(_==="auto"){var k=r(C,C.getLabelModel());R=k.labelCategoryInterval,L=w.map(k.labels,function(F){return F.tickValue})}else R=_,L=b(C,R,!0);return d(x,_,{ticks:L,tickCategoryInterval:R})}function t(C){var T=C.scale.getTicks(),x=p(C);return{labels:w.map(T,function(_,I){return{formattedLabel:x(_,I),rawLabel:C.scale.getLabel(_),tickValue:_}})}}function s(C,T){return l(C)[T]||(l(C)[T]=[])}function u(C,T){for(var x=0;x<C.length;x++)if(C[x].key===T)return C[x].value}function d(C,T,x){return C.push({key:T,value:x}),x}function v(C){var T=l(C).autoInterval;return T!=null?T:l(C).autoInterval=C.calculateCategoryInterval()}function y(C){var T=S(C),x=p(C),_=(T.axisRotate-T.labelRotate)/180*Math.PI,I=C.scale,L=I.getExtent(),R=I.count();if(L[1]-L[0]<1)return 0;var k=1;R>40&&(k=Math.max(1,Math.floor(R/40)));for(var F=L[0],P=C.dataToCoord(F+1)-C.dataToCoord(F),W=Math.abs(P*Math.cos(_)),D=Math.abs(P*Math.sin(_)),U=0,H=0;F<=L[1];F+=k){var j=0,K=0,X=f.getBoundingRect(x(F),T.font,"center","top");j=X.width*1.3,K=X.height*1.3,U=Math.max(U,j,7),H=Math.max(H,K,7)}var z=U/W,Y=H/D;isNaN(z)&&(z=Infinity),isNaN(Y)&&(Y=Infinity);var $=Math.max(0,Math.floor(Math.min(z,Y))),ne=l(C.model),J=C.getExtent(),ge=ne.lastAutoInterval,de=ne.lastTickCount;return ge!=null&&de!=null&&Math.abs(ge-$)<=1&&Math.abs(de-R)<=1&&ge>$&&ne.axisExtend0===J[0]&&ne.axisExtend1===J[1]?$=ge:(ne.lastTickCount=R,ne.lastAutoInterval=$,ne.axisExtend0=J[0],ne.axisExtend1=J[1]),$}function S(C){var T=C.getLabelModel();return{axisRotate:C.getRotate?C.getRotate():C.isHorizontal&&!C.isHorizontal()?90:0,labelRotate:T.get("rotate")||0,font:T.getFont()}}function b(C,T,x){var _=p(C),I=C.scale,L=I.getExtent(),R=C.getLabelModel(),k=[],F=Math.max((T||0)+1,1),P=L[0],W=I.count();P!==0&&F>1&&W/F>2&&(P=Math.round(Math.ceil(P/F)*F));var D=h(C),U=R.get("showMinLabel")||D,H=R.get("showMaxLabel")||D;U&&P!==L[0]&&K(L[0]);for(var j=P;j<=L[1];j+=F)K(j);H&&j-F!==L[1]&&K(L[1]);function K(X){k.push(x?X:{formattedLabel:_(X),rawLabel:I.getLabel(X),tickValue:X})}return k}function E(C,T,x){var _=C.scale,I=p(C),L=[];return w.each(_.getTicks(),function(R){var k=_.getLabel(R);T(R,k)&&L.push(x?R:{formattedLabel:I(R),rawLabel:k,tickValue:R})}),L}B.createAxisLabels=e,B.createAxisTicks=n,B.calculateCategoryInterval=y},"4NO4":function(M,B,o){var w=o("bYtY"),f=o("ItGF"),A=w.each,m=w.isObject,g=w.isArray,p="series\0";function c(x){return x instanceof Array?x:x==null?[]:[x]}function h(x,_,I){if(x){x[_]=x[_]||{},x.emphasis=x.emphasis||{},x.emphasis[_]=x.emphasis[_]||{};for(var L=0,R=I.length;L<R;L++){var k=I[L];!x.emphasis[_].hasOwnProperty(k)&&x[_].hasOwnProperty(k)&&(x.emphasis[_][k]=x[_][k])}}}var l=["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 e(x){return m(x)&&!g(x)&&!(x instanceof Date)?x.value:x}function n(x){return m(x)&&!(x instanceof Array)}function i(x,_){_=(_||[]).slice();var I=w.map(x||[],function(L,R){return{exist:L}});return A(_,function(L,R){if(!m(L))return;for(var k=0;k<I.length;k++)if(!I[k].option&&L.id!=null&&I[k].exist.id===L.id+""){I[k].option=L,_[R]=null;return}for(var k=0;k<I.length;k++){var F=I[k].exist;if(!I[k].option&&(F.id==null||L.id==null)&&L.name!=null&&!t(L)&&!t(F)&&F.name===L.name+""){I[k].option=L,_[R]=null;return}}}),A(_,function(L,R){if(!m(L))return;for(var k=0;k<I.length;k++){var F=I[k].exist;if(!I[k].option&&!t(F)&&L.id==null){I[k].option=L;break}}k>=I.length&&I.push({option:L})}),I}function r(x){var _=w.createHashMap();A(x,function(I,L){var R=I.exist;R&&_.set(R.id,I)}),A(x,function(I,L){var R=I.option;w.assert(!R||R.id==null||!_.get(R.id)||_.get(R.id)===I,"id duplicates: "+(R&&R.id)),R&&R.id!=null&&_.set(R.id,I),!I.keyInfo&&(I.keyInfo={})}),A(x,function(I,L){var R=I.exist,k=I.option,F=I.keyInfo;if(!m(k))return;if(F.name=k.name!=null?k.name+"":R?R.name:p+L,R)F.id=R.id;else if(k.id!=null)F.id=k.id+"";else{var P=0;do F.id="\0"+F.name+"\0"+P++;while(_.get(F.id))}_.set(F.id,I)})}function a(x){var _=x.name;return!!(_&&_.indexOf(p))}function t(x){return m(x)&&x.id&&(x.id+"").indexOf("\0_ec_\0")===0}function s(x,_){var I={},L={};return R(x||[],I),R(_||[],L,I),[k(I),k(L)];function R(F,P,W){for(var D=0,U=F.length;D<U;D++)for(var H=F[D].seriesId,j=c(F[D].dataIndex),K=W&&W[H],X=0,z=j.length;X<z;X++){var Y=j[X];K&&K[Y]?K[Y]=null:(P[H]||(P[H]={}))[Y]=1}}function k(F,P){var W=[];for(var D in F)if(F.hasOwnProperty(D)&&F[D]!=null)if(P)W.push(+D);else{var U=k(F[D],!0);U.length&&W.push({seriesId:D,dataIndex:U})}return W}}function u(x,_){if(_.dataIndexInside!=null)return _.dataIndexInside;if(_.dataIndex!=null)return w.isArray(_.dataIndex)?w.map(_.dataIndex,function(I){return x.indexOfRawIndex(I)}):x.indexOfRawIndex(_.dataIndex);if(_.name!=null)return w.isArray(_.name)?w.map(_.name,function(I){return x.indexOfName(I)}):x.indexOfName(_.name)}function d(){var x="__\0ec_inner_"+v+++"_"+Math.random().toFixed(5);return function(_){return _[x]||(_[x]={})}}var v=0;function y(x,_,I){if(w.isString(_)){var L={};L[_+"Index"]=0,_=L}var R=I&&I.defaultMainType;R&&!S(_,R+"Index")&&!S(_,R+"Id")&&!S(_,R+"Name")&&(_[R+"Index"]=0);var k={};return A(_,function(F,P){var F=_[P];if(P==="dataIndex"||P==="dataIndexInside"){k[P]=F;return}var W=P.match(/^(\w+)(Index|Id|Name)$/)||[],D=W[1],U=(W[2]||"").toLowerCase();if(!D||!U||F==null||U==="index"&&F==="none"||I&&I.includeMainTypes&&w.indexOf(I.includeMainTypes,D)<0)return;var H={mainType:D};(U!=="index"||F!=="all")&&(H[U]=F);var j=x.queryComponents(H);k[D+"Models"]=j,k[D+"Model"]=j[0]}),k}function S(x,_){return x&&x.hasOwnProperty(_)}function b(x,_,I){x.setAttribute?x.setAttribute(_,I):x[_]=I}function E(x,_){return x.getAttribute?x.getAttribute(_):x[_]}function C(x){return x==="auto"?f.domSupported?"html":"richText":x||"html"}function T(x,_){var I=w.createHashMap(),L=[];return w.each(x,function(R){var k=_(R);(I.get(k)||(L.push(k),I.set(k,[]))).push(R)}),{keys:L,buckets:I}}B.normalizeToArray=c,B.defaultEmphasis=h,B.TEXT_STYLE_OPTIONS=l,B.getDataItemValue=e,B.isDataItemOption=n,B.mappingToExists=i,B.makeIdAndName=r,B.isNameSpecified=a,B.isIdInner=t,B.compressBatches=s,B.queryDataIndex=u,B.makeInner=d,B.parseFinder=y,B.setAttribute=b,B.getAttribute=E,B.getTooltipRenderMode=C,B.groupData=T},"4NgU":function(M,B,o){var w=o("Yl7c");function f(m){this._setting=m||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}f.prototype.parse=function(m){return m},f.prototype.getSetting=function(m){return this._setting[m]},f.prototype.contain=function(m){var g=this._extent;return m>=g[0]&&m<=g[1]},f.prototype.normalize=function(m){var g=this._extent;return g[1]===g[0]?.5:(m-g[0])/(g[1]-g[0])},f.prototype.scale=function(m){var g=this._extent;return m*(g[1]-g[0])+g[0]},f.prototype.unionExtent=function(m){var g=this._extent;m[0]<g[0]&&(g[0]=m[0]),m[1]>g[1]&&(g[1]=m[1])},f.prototype.unionExtentFromData=function(m,g){this.unionExtent(m.getApproximateExtent(g))},f.prototype.getExtent=function(){return this._extent.slice()},f.prototype.setExtent=function(m,g){var p=this._extent;isNaN(m)||(p[0]=m),isNaN(g)||(p[1]=g)},f.prototype.isBlank=function(){return this._isBlank},f.prototype.setBlank=function(m){this._isBlank=m},f.prototype.getLabel=null,w.enableClassExtend(f),w.enableClassManagement(f,{registerWhenExtend:!0});var A=f;M.exports=A},"4ZVq":function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("oL4h"),m=o.n(A),g=o("W9l/")},"4fr0":function(M,B,o){},"4fz+":function(M,B,o){var w=o("bYtY"),f=o("1bdT"),A=o("mFDi"),m=function(c){c=c||{},f.call(this,c);for(var h in c)c.hasOwnProperty(h)&&(this[h]=c[h]);this._children=[],this.__storage=null,this.__dirty=!0};m.prototype={constructor:m,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(c){return this._children[c]},childOfName:function(c){for(var h=this._children,l=0;l<h.length;l++)if(h[l].name===c)return h[l]},childCount:function(){return this._children.length},add:function(c){return c&&c!==this&&c.parent!==this&&(this._children.push(c),this._doAdd(c)),this},addBefore:function(c,h){if(c&&c!==this&&c.parent!==this&&h&&h.parent===this){var l=this._children,e=l.indexOf(h);e>=0&&(l.splice(e,0,c),this._doAdd(c))}return this},_doAdd:function(c){c.parent&&c.parent.remove(c),c.parent=this;var h=this.__storage,l=this.__zr;h&&h!==c.__storage&&(h.addToStorage(c),c instanceof m&&c.addChildrenToStorage(h)),l&&l.refresh()},remove:function(c){var h=this.__zr,l=this.__storage,e=this._children,n=w.indexOf(e,c);return n<0?this:(e.splice(n,1),c.parent=null,l&&(l.delFromStorage(c),c instanceof m&&c.delChildrenFromStorage(l)),h&&h.refresh(),this)},removeAll:function(){var c=this._children,h=this.__storage,l,e;for(e=0;e<c.length;e++)l=c[e],h&&(h.delFromStorage(l),l instanceof m&&l.delChildrenFromStorage(h)),l.parent=null;return c.length=0,this},eachChild:function(c,h){for(var l=this._children,e=0;e<l.length;e++){var n=l[e];c.call(h,n,e)}return this},traverse:function(c,h){for(var l=0;l<this._children.length;l++){var e=this._children[l];c.call(h,e),e.type==="group"&&e.traverse(c,h)}return this},addChildrenToStorage:function(c){for(var h=0;h<this._children.length;h++){var l=this._children[h];c.addToStorage(l),l instanceof m&&l.addChildrenToStorage(c)}},delChildrenFromStorage:function(c){for(var h=0;h<this._children.length;h++){var l=this._children[h];c.delFromStorage(l),l instanceof m&&l.delChildrenFromStorage(c)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(c){for(var h=null,l=new A(0,0,0,0),e=c||this._children,n=[],i=0;i<e.length;i++){var r=e[i];if(r.ignore||r.invisible)continue;var a=r.getBoundingRect(),t=r.getLocalTransform(n);t?(l.copy(a),l.applyTransform(t),h=h||l.clone(),h.union(l)):(h=h||a.clone(),h.union(a))}return h||l}},w.inherits(m,f);var g=m;M.exports=g},"4mN7":function(M,B,o){var w=o("QBsz"),f=o("Sj9i"),A=Math.min,m=Math.max,g=Math.sin,p=Math.cos,c=Math.PI*2,h=w.create(),l=w.create(),e=w.create();function n(d,v,y){if(d.length===0)return;var S=d[0],b=S[0],E=S[0],C=S[1],T=S[1],x;for(x=1;x<d.length;x++)S=d[x],b=A(b,S[0]),E=m(E,S[0]),C=A(C,S[1]),T=m(T,S[1]);v[0]=b,v[1]=C,y[0]=E,y[1]=T}function i(d,v,y,S,b,E){b[0]=A(d,y),b[1]=A(v,S),E[0]=m(d,y),E[1]=m(v,S)}var r=[],a=[];function t(d,v,y,S,b,E,C,T,x,_){var I=f.cubicExtrema,L=f.cubicAt,R,k=I(d,y,b,C,r);for(x[0]=Infinity,x[1]=Infinity,_[0]=-Infinity,_[1]=-Infinity,R=0;R<k;R++){var F=L(d,y,b,C,r[R]);x[0]=A(F,x[0]),_[0]=m(F,_[0])}for(k=I(v,S,E,T,a),R=0;R<k;R++){var P=L(v,S,E,T,a[R]);x[1]=A(P,x[1]),_[1]=m(P,_[1])}x[0]=A(d,x[0]),_[0]=m(d,_[0]),x[0]=A(C,x[0]),_[0]=m(C,_[0]),x[1]=A(v,x[1]),_[1]=m(v,_[1]),x[1]=A(T,x[1]),_[1]=m(T,_[1])}function s(d,v,y,S,b,E,C,T){var x=f.quadraticExtremum,_=f.quadraticAt,I=m(A(x(d,y,b),1),0),L=m(A(x(v,S,E),1),0),R=_(d,y,b,I),k=_(v,S,E,L);C[0]=A(d,b,R),C[1]=A(v,E,k),T[0]=m(d,b,R),T[1]=m(v,E,k)}function u(d,v,y,S,b,E,C,T,x){var _=w.min,I=w.max,L=Math.abs(b-E);if(L%c<1e-4&&L>1e-4){T[0]=d-y,T[1]=v-S,x[0]=d+y,x[1]=v+S;return}if(h[0]=p(b)*y+d,h[1]=g(b)*S+v,l[0]=p(E)*y+d,l[1]=g(E)*S+v,_(T,h,l),I(x,h,l),b=b%c,b<0&&(b=b+c),E=E%c,E<0&&(E=E+c),b>E&&!C?E+=c:b<E&&C&&(b+=c),C){var R=E;E=b,b=R}for(var k=0;k<E;k+=Math.PI/2)k>b&&(e[0]=p(k)*y+d,e[1]=g(k)*S+v,_(T,e,T),I(x,e,x))}B.fromPoints=n,B.fromLine=i,B.fromCubic=t,B.fromQuadratic=s,B.fromArc=u},"4qIk":function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("+kr+"),m=o.n(A)},"4vYq":function(M,B,o){"use strict";var w=o("wx14"),f=o("q1tI"),A=o.n(f),m=o("d+VM"),g=o("9R2V"),p=o("jeoS"),c=o("MZCN"),h=function(e,n){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)n.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(i[r[a]]=e[r[a]]);return i},l=f.forwardRef(function(e,n){var i=e.prefixCls,r=e.title,a=e.content,t=h(e,["prefixCls","title","content"]),s=f.useContext(g.b),u=s.getPrefixCls,d=function(b){return f.createElement(f.Fragment,null,r&&f.createElement("div",{className:"".concat(b,"-title")},Object(p.a)(r)),f.createElement("div",{className:"".concat(b,"-inner-content")},Object(p.a)(a)))},v=u("popover",i),y=u();return f.createElement(m.a,Object(w.a)({},t,{prefixCls:v,ref:n,overlay:d(v),transitionName:Object(c.b)(y,"zoom-big",t.transitionName)}))});l.displayName="Popover",l.defaultProps={placement:"top",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},B.a=l},"56rv":function(M,B,o){var w=o("IwbS"),f=o("x3X8"),A=f.getDefaultLabel;function m(p,c,h,l,e,n,i){var r=h.getModel("label"),a=h.getModel("emphasis.label");w.setLabelStyle(p,c,r,a,{labelFetcher:e,labelDataIndex:n,defaultText:A(e.getData(),n),isRectText:!0,autoColor:l}),g(p),g(c)}function g(p,c){p.textPosition==="outside"&&(p.textPosition=c)}B.setLabel=m},"59Ip":function(M,B,o){var w=o("Sj9i");function f(A,m,g,p,c,h,l,e,n,i,r){if(n===0)return!1;var a=n;if(r>m+a&&r>p+a&&r>h+a&&r>e+a||r<m-a&&r<p-a&&r<h-a&&r<e-a||i>A+a&&i>g+a&&i>c+a&&i>l+a||i<A-a&&i<g-a&&i<c-a&&i<l-a)return!1;var t=w.cubicProjectPoint(A,m,g,p,c,h,l,e,i,r,null);return t<=a/2}B.containStroke=f},"5GhG":function(M,B,o){var w=o("5GtS"),f=o("bYtY"),A=o("L0Ub"),m=A.getDimensionTypeByAxis,g=o("D5nY"),p=g.makeSeriesEncodeForAxisCoordSys,c={_baseAxisDim:null,getInitialData:function(h,l){var e,n=l.getComponent("xAxis",this.get("xAxisIndex")),i=l.getComponent("yAxis",this.get("yAxisIndex")),r=n.get("type"),a=i.get("type"),t;r==="category"?(h.layout="horizontal",e=n.getOrdinalMeta(),t=!0):a==="category"?(h.layout="vertical",e=i.getOrdinalMeta(),t=!0):h.layout=h.layout||"horizontal";var s=["x","y"],u=h.layout==="horizontal"?0:1,d=this._baseAxisDim=s[u],v=s[1-u],y=[n,i],S=y[u].get("type"),b=y[1-u].get("type"),E=h.data;if(E&&t){var C=[];f.each(E,function(_,I){var L;_.value&&f.isArray(_.value)?(L=_.value.slice(),_.value.unshift(I)):f.isArray(_)?(L=_.slice(),_.unshift(I)):L=_,C.push(L)}),h.data=C}var T=this.defaultValueDimensions,x=[{name:d,type:m(S),ordinalMeta:e,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:v,type:m(b),dimsDef:T.slice()}];return w(this,{coordDimensions:x,dimensionsCount:T.length+1,encodeDefaulter:f.curry(p,x,this)})},getBaseAxis:function(){var h=this._baseAxisDim;return this.ecModel.getComponent(h+"Axis",this.get(h+"AxisIndex")).axis}};B.seriesModelMixin=c},"5GtS":function(M,B,o){var w=o("sdST"),f=o("YXkt"),A=o("bYtY"),m=A.extend,g=A.isArray;function p(c,h,l){h=g(h)&&{coordDimensions:h}||m({},h);var e=c.getSource(),n=w(e,h),i=new f(n,c);return i.initData(e,l),i}M.exports=p},"5Hur":function(M,B,o){var w=o("4NO4"),f=w.makeInner,A=w.normalizeToArray,m=f();function g(c,h){for(var l=c.length,e=0;e<l;e++)if(c[e].length>h)return c[e];return c[l-1]}var p={clearColorPalette:function(){m(this).colorIdx=0,m(this).colorNameMap={}},getColorFromPalette:function(c,h,l){h=h||this;var e=m(h),n=e.colorIdx||0,i=e.colorNameMap=e.colorNameMap||{};if(i.hasOwnProperty(c))return i[c];var r=A(this.get("color",!0)),a=this.get("colorLayer",!0),t=l==null||!a?r:g(a,l);if(t=t||r,!t||!t.length)return;var s=t[n];return c&&(i[c]=s),e.colorIdx=(n+1)%t.length,s}};M.exports=p},"5NHt":function(M,B,o){o("aTJb"),o("OlYY"),o("fc+c"),o("N5BQ"),o("IyUQ"),o("LBfv"),o("noeP")},"5T1g":function(M,B,o){"use strict";o.d(B,"a",function(){return s});var w=o("U8pU"),f=o("q1tI"),A=o("TSYQ"),m=o.n(A),g=o("ye1Q"),p=o("9jjd"),c=o("gUdW"),h=o("xGfz"),l=o("VTBJ"),e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},n=e,i=o("6VBw"),r=function(d,v){return f.createElement(i.a,Object(l.a)(Object(l.a)({},d),{},{ref:v,icon:n}))};r.displayName="CaretDownFilled";var a=f.forwardRef(r),t=o("kLeg");function s(u,d,v,y){var S=y.isLeaf,b=y.expanded,E=y.loading;if(E)return f.createElement(g.a,{className:"".concat(u,"-switcher-loading-icon")});var C;if(v&&Object(w.a)(v)==="object"&&(C=v.showLeafIcon),S)return v?Object(w.a)(v)==="object"&&!C?f.createElement("span",{className:"".concat(u,"-switcher-leaf-line")}):f.createElement(p.a,{className:"".concat(u,"-switcher-line-icon")}):null;var T="".concat(u,"-switcher-icon");return Object(t.b)(d)?Object(t.a)(d,{className:m()(d.props.className||"",T)}):d||(v?b?f.createElement(c.a,{className:"".concat(u,"-switcher-line-icon")}):f.createElement(h.a,{className:"".concat(u,"-switcher-line-icon")}):f.createElement(a,{className:T}))}},"5U23":function(M,B,o){"use strict";var w=o("rePB"),f=o("wx14"),A=o("q1tI"),m=o.n(A),g=o("fAei"),p=o("TSYQ"),c=o.n(p),h=o("KQm4"),l=o("ODXe"),e=o("sEfC"),n=o.n(e),i=o("OZM5"),r=o("815F"),a=o("9jjd"),t=o("VTBJ"),s={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"},u=s,d=o("6VBw"),v=function(ne,J){return A.createElement(d.a,Object(t.a)(Object(t.a)({},ne),{},{ref:J,icon:u}))};v.displayName="FolderOpenOutlined";var y=A.forwardRef(v),S={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"},b=S,E=function(ne,J){return A.createElement(d.a,Object(t.a)(Object(t.a)({},ne),{},{ref:J,icon:b}))};E.displayName="FolderOutlined";var C=A.forwardRef(E),T=o("9R2V"),x;(function($){$[$.None=0]="None",$[$.Start=1]="Start",$[$.End=2]="End"})(x||(x={}));function _($,ne){function J(ge){var de=ge.key,Ie=ge.children;ne(de,ge)!==!1&&_(Ie||[],ne)}$.forEach(J)}function I($){var ne=$.treeData,J=$.expandedKeys,ge=$.startKey,de=$.endKey,Ie=[],be=x.None;if(ge&&ge===de)return[ge];if(!ge||!de)return[];function Ce(je){return je===ge||je===de}return _(ne,function(je){if(be===x.End)return!1;if(Ce(je)){if(Ie.push(je),be===x.None)be=x.Start;else if(be===x.Start)return be=x.End,!1}else be===x.Start&&Ie.push(je);return!(J.indexOf(je)===-1)}),Ie}function L($,ne){var J=Object(h.a)(ne),ge=[];return _($,function(de,Ie){var be=J.indexOf(de);return be!==-1&&(ge.push(Ie),J.splice(be,1)),!!J.length}),ge}var R=function($,ne){var J={};for(var ge in $)Object.prototype.hasOwnProperty.call($,ge)&&ne.indexOf(ge)<0&&(J[ge]=$[ge]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ge=Object.getOwnPropertySymbols($);de<ge.length;de++)ne.indexOf(ge[de])<0&&Object.prototype.propertyIsEnumerable.call($,ge[de])&&(J[ge[de]]=$[ge[de]]);return J};function k($){var ne=$.isLeaf,J=$.expanded;return ne?A.createElement(a.a,null):J?A.createElement(y,null):A.createElement(C,null)}function F($){var ne=$.treeData,J=$.children;return ne||Object(r.c)(J)}var P=function(ne,J){var ge=ne.defaultExpandAll,de=ne.defaultExpandParent,Ie=ne.defaultExpandedKeys,be=R(ne,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),Ce=A.useRef(),je=A.useRef(),te=A.createRef();A.useImperativeHandle(J,function(){return te.current});var ve=function(){var Xe=Object(r.a)(F(be)),q=Xe.keyEntities,V;return ge?V=Object.keys(q):de?V=Object(i.e)(be.expandedKeys||Ie||[],q):V=be.expandedKeys||Ie,V},$e=A.useState(be.selectedKeys||be.defaultSelectedKeys||[]),Le=Object(l.a)($e,2),he=Le[0],ee=Le[1],se=A.useState(ve()),Ue=Object(l.a)(se,2),ue=Ue[0],Ne=Ue[1];A.useEffect(function(){"selectedKeys"in be&&ee(be.selectedKeys)},[be.selectedKeys]),A.useEffect(function(){"expandedKeys"in be&&Ne(be.expandedKeys)},[be.expandedKeys]);var Fe=function(Xe,q){var V=q.isLeaf;if(V||Xe.shiftKey||Xe.metaKey||Xe.ctrlKey)return;te.current.onNodeExpand(Xe,q)},ae=n()(Fe,200,{leading:!0}),ce=function(Xe,q){var V;return"expandedKeys"in be||Ne(Xe),(V=be.onExpand)===null||V===void 0?void 0:V.call(be,Xe,q)},_e=function(Xe,q){var V,Ae=be.expandAction;Ae==="click"&&ae(Xe,q),(V=be.onClick)===null||V===void 0||V.call(be,Xe,q)},ze=function(Xe,q){var V,Ae=be.expandAction;Ae==="doubleClick"&&ae(Xe,q),(V=be.onDoubleClick)===null||V===void 0||V.call(be,Xe,q)},it=function(Xe,q){var V,Ae=be.multiple,xe=q.node,re=q.nativeEvent,ot=xe.key,bt=ot===void 0?"":ot,tt=F(be),Tt=Object(f.a)(Object(f.a)({},q),{selected:!0}),Gt=re.ctrlKey||re.metaKey,lr=re.shiftKey,pr;Ae&&Gt?(pr=Xe,Ce.current=bt,je.current=pr,Tt.selectedNodes=L(tt,pr)):Ae&&lr?(pr=Array.from(new Set([].concat(Object(h.a)(je.current||[]),Object(h.a)(I({treeData:tt,expandedKeys:ue,startKey:bt,endKey:Ce.current}))))),Tt.selectedNodes=L(tt,pr)):(pr=[bt],Ce.current=bt,je.current=pr,Tt.selectedNodes=L(tt,pr)),(V=be.onSelect)===null||V===void 0||V.call(be,pr,Tt),"selectedKeys"in be||ee(pr)},Ze=A.useContext(T.b),Ee=Ze.getPrefixCls,mt=Ze.direction,Je=be.prefixCls,rt=be.className,wt=R(be,["prefixCls","className"]),Ot=Ee("tree",Je),Ct=c()("".concat(Ot,"-directory"),Object(w.a)({},"".concat(Ot,"-directory-rtl"),mt==="rtl"),rt);return A.createElement(z,Object(f.a)({icon:k,ref:te,blockNode:!0},wt,{prefixCls:Ot,className:Ct,expandedKeys:ue,selectedKeys:he,onSelect:it,onClick:_e,onDoubleClick:ze,onExpand:ce}))},W=A.forwardRef(P);W.displayName="DirectoryTree",W.defaultProps={showIcon:!0,expandAction:"click"};var D=W,U=o("MZCN"),H=o("5T1g"),j=4;function K($){var ne,J=$.dropPosition,ge=$.dropLevelOffset,de=$.prefixCls,Ie=$.indent,be=$.direction,Ce=be===void 0?"ltr":be,je=Ce==="ltr"?"left":"right",te=Ce==="ltr"?"right":"left",ve=(ne={},Object(w.a)(ne,je,-ge*Ie+j),Object(w.a)(ne,te,0),ne);switch(J){case-1:ve.top=-3;break;case 1:ve.bottom=-3;break;default:ve.bottom=-3,ve[je]=Ie+j;break}return m.a.createElement("div",{style:ve,className:"".concat(de,"-drop-indicator")})}var X=A.forwardRef(function($,ne){var J,ge=A.useContext(T.b),de=ge.getPrefixCls,Ie=ge.direction,be=ge.virtual,Ce=$.prefixCls,je=$.className,te=$.showIcon,ve=$.showLine,$e=$.switcherIcon,Le=$.blockNode,he=$.children,ee=$.checkable,se=$.selectable,Ue=de("tree",Ce),ue=Object(f.a)(Object(f.a)({},$),{showLine:Boolean(ve),dropIndicatorRender:K});return A.createElement(g.b,Object(f.a)({itemHeight:20,ref:ne,virtual:be},ue,{prefixCls:Ue,className:c()((J={},Object(w.a)(J,"".concat(Ue,"-icon-hide"),!te),Object(w.a)(J,"".concat(Ue,"-block-node"),Le),Object(w.a)(J,"".concat(Ue,"-unselectable"),!se),Object(w.a)(J,"".concat(Ue,"-rtl"),Ie==="rtl"),J),je),direction:Ie,checkable:ee&&A.createElement("span",{className:"".concat(Ue,"-checkbox-inner")}),selectable:se,switcherIcon:function(Fe){return Object(H.a)(Ue,$e,ve,Fe)}}),he)});X.TreeNode=g.a,X.DirectoryTree=D,X.defaultProps={checkable:!1,selectable:!0,showIcon:!1,motion:Object(f.a)(Object(f.a)({},U.a),{motionAppear:!1}),blockNode:!1};var z=X,Y=B.a=z},"5bA4":function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="LeftOutlined";var c=B.a=f.forwardRef(p)},"5hKd":function(M,B,o){"use strict";var w=o("wx14"),f=o("ODXe"),A=o("q1tI"),m=o.n(A),g=o("TSYQ"),p=o.n(g),c=o("6cGi"),h=o("IMoZ"),l=o("4IlW"),e=o("d+VM"),n=o("Fc8i"),i=o("3g9L"),r=o("VM9+"),a=o("n3rz"),t=o("9R2V"),s=o("jeoS"),u=o("kLeg"),d=o("MZCN"),v=void 0,y=function(b,E){var C={};for(var T in b)Object.prototype.hasOwnProperty.call(b,T)&&E.indexOf(T)<0&&(C[T]=b[T]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,T=Object.getOwnPropertySymbols(b);x<T.length;x++)E.indexOf(T[x])<0&&Object.prototype.propertyIsEnumerable.call(b,T[x])&&(C[T[x]]=b[T[x]]);return C},S=A.forwardRef(function(b,E){var C=Object(c.a)(!1,{value:b.visible,defaultValue:b.defaultVisible}),T=Object(f.a)(C,2),x=T[0],_=T[1],I=function(de,Ie){var be;_(de),(be=b.onVisibleChange)===null||be===void 0||be.call(b,de,Ie)},L=function(de){var Ie;I(!1,de),(Ie=b.onConfirm)===null||Ie===void 0||Ie.call(v,de)},R=function(de){var Ie;I(!1,de),(Ie=b.onCancel)===null||Ie===void 0||Ie.call(v,de)},k=function(de){de.keyCode===l.a.ESC&&x&&I(!1,de)},F=function(de){var Ie=b.disabled;if(Ie)return;I(de)},P=function(de,Ie){var be=b.okButtonProps,Ce=b.cancelButtonProps,je=b.title,te=b.cancelText,ve=b.okText,$e=b.okType,Le=b.icon;return A.createElement("div",{className:"".concat(de,"-inner-content")},A.createElement("div",{className:"".concat(de,"-message")},Le,A.createElement("div",{className:"".concat(de,"-message-title")},Object(s.a)(je))),A.createElement("div",{className:"".concat(de,"-buttons")},A.createElement(n.a,Object(w.a)({onClick:R,size:"small"},Ce),te||Ie.cancelText),A.createElement(n.a,Object(w.a)({onClick:L},Object(i.a)($e),{size:"small"},be),ve||Ie.okText)))},W=A.useContext(t.b),D=W.getPrefixCls,U=b.prefixCls,H=b.placement,j=b.children,K=b.overlayClassName,X=y(b,["prefixCls","placement","children","overlayClassName"]),z=D("popover",U),Y=D("popconfirm",U),$=p()(Y,K),ne=A.createElement(r.a,{componentName:"Popconfirm",defaultLocale:a.a.Popconfirm},function(ge){return P(z,ge)}),J=D();return A.createElement(e.a,Object(w.a)({},X,{prefixCls:z,placement:H,onVisibleChange:F,visible:x,overlay:ne,overlayClassName:$,ref:E,transitionName:Object(d.b)(J,"zoom-big",b.transitionName)}),Object(u.a)(j,{onKeyDown:function(de){var Ie,be;A.isValidElement(j)&&((be=j==null?void 0:(Ie=j.props).onKeyDown)===null||be===void 0||be.call(Ie,de)),k(de)}}))});S.defaultProps={placement:"top",trigger:"click",okType:"primary",icon:A.createElement(h.a,null),disabled:!1},B.a=S},"5nXd":function(M,B,o){var w=o("MFOe"),f=w.slice,A=w.pluck,m=w.each,g=w.bind,p=w.create,c=w.isList,h=w.isFunction,l=w.isObject;M.exports={createStore:i};var e={version:"2.0.12",enabled:!1,get:function(a,t){var s=this.storage.read(this._namespacePrefix+a);return this._deserialize(s,t)},set:function(a,t){return t===void 0?this.remove(a):(this.storage.write(this._namespacePrefix+a,this._serialize(t)),t)},remove:function(a){this.storage.remove(this._namespacePrefix+a)},each:function(a){var t=this;this.storage.each(function(s,u){a.call(t,t._deserialize(s),(u||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(a){return this._namespacePrefix=="__storejs_"+a+"_"},createStore:function(){return i.apply(this,arguments)},addPlugin:function(a){this._addPlugin(a)},namespace:function(a){return i(this.storage,this.plugins,a)}};function n(){var r=typeof console=="undefined"?null:console;if(!r)return;var a=r.warn?r.warn:r.log;a.apply(r,arguments)}function i(r,a,t){t||(t=""),r&&!c(r)&&(r=[r]),a&&!c(a)&&(a=[a]);var s=t?"__storejs_"+t+"_":"",u=t?new RegExp("^"+s):null,d=/^[a-zA-Z0-9_\-]*$/;if(!d.test(t))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var v={_namespacePrefix:s,_namespaceRegexp:u,_testStorage:function(b){try{var E="__storejs__test__";b.write(E,E);var C=b.read(E)===E;return b.remove(E),C}catch(T){return!1}},_assignPluginFnProp:function(b,E){var C=this[E];this[E]=function(){var x=f(arguments,0),_=this;function I(){return C?(m(arguments,function(R,k){x[k]=R}),C.apply(_,x)):void 0}var L=[I].concat(x);return b.apply(_,L)}},_serialize:function(b){return JSON.stringify(b)},_deserialize:function(b,E){if(!b)return E;var C="";try{C=JSON.parse(b)}catch(T){C=b}return C!==void 0?C:E},_addStorage:function(b){if(this.enabled)return;this._testStorage(b)&&(this.storage=b,this.enabled=!0)},_addPlugin:function(b){var E=this;if(c(b)){m(b,function(x){E._addPlugin(x)});return}var C=A(this.plugins,function(x){return b===x});if(C)return;if(this.plugins.push(b),!h(b))throw new Error("Plugins must be function values that return objects");var T=b.call(this);if(!l(T))throw new Error("Plugins must return an object of function properties");m(T,function(x,_){if(!h(x))throw new Error("Bad plugin property: "+_+" from plugin "+b.name+". Plugins should only return functions.");E._assignPluginFnProp(x,_)})},addStorage:function(b){n("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(b)}},y=p(v,e,{plugins:[]});return y.raw={},m(y,function(S,b){h(S)&&(y.raw[b]=g(y,S))}),m(r,function(S){y._addStorage(S)}),m(a,function(S){y._addPlugin(S)}),y}},"5s0K":function(M,B,o){var w=o("bYtY");function f(){var A=[],m={},g;return{add:function(p,c,h,l,e){return w.isString(l)&&(e=l,l=0),m[p.id]?!1:(m[p.id]=1,A.push({el:p,target:c,time:h,delay:l,easing:e}),!0)},done:function(p){return g=p,this},start:function(){for(var p=A.length,c=0,h=A.length;c<h;c++){var l=A[c];l.el.animateTo(l.target,l.time,l.delay,l.easing,e)}return this;function e(){p--,p||(A.length=0,m={},g&&g())}}}}B.createWrap=f},"6/nd":function(M,B,o){var w=o("ProS");w.registerAction("legendScroll","legendscroll",function(f,A){var m=f.scrollDataIndex;m!=null&&A.eachComponent({mainType:"legend",subType:"scroll",query:f},function(g){g.setScrollDataIndex(m)})})},"62sa":function(M,B,o){var w=o("bYtY"),f=o("4NO4"),A=f.makeInner,m=o("zTMp"),g=o("Ez2D"),p=w.each,c=w.curry,h=A();function l(y,S,b){var E=y.currTrigger,C=[y.x,y.y],T=y,x=y.dispatchAction||w.bind(b.dispatchAction,b),_=S.getComponent("axisPointer").coordSysAxesInfo;if(!_)return;v(C)&&(C=g({seriesIndex:T.seriesIndex,dataIndex:T.dataIndex},S).point);var I=v(C),L=T.axesInfo,R=_.axesInfo,k=E==="leave"||v(C),F={},P={},W={list:[],map:{}},D={showPointer:c(i,P),showTooltip:c(r,W)};p(_.coordSysMap,function(H,j){var K=I||H.containPoint(C);p(_.coordSysAxesInfo[j],function(X,z){var Y=X.axis,$=u(L,X);if(!k&&K&&(!L||$)){var ne=$&&$.value;ne==null&&!I&&(ne=Y.pointToData(C)),ne!=null&&e(X,ne,D,!1,F)}})});var U={};return p(R,function(H,j){var K=H.linkGroup;K&&!P[j]&&p(K.axesInfo,function(X,z){var Y=P[z];if(X!==H&&Y){var $=Y.value;K.mapper&&($=H.axis.scale.parse(K.mapper($,d(X),d(H)))),U[H.key]=$}})}),p(U,function(H,j){e(R[j],H,D,!0,F)}),a(P,R,F),t(W,C,y,x),s(R,x,b),F}function e(y,S,b,E,C){var T=y.axis;if(T.scale.isBlank()||!T.containData(S))return;if(!y.involveSeries){b.showPointer(y,S);return}var x=n(S,y),_=x.payloadBatch,I=x.snapToValue;_[0]&&C.seriesIndex==null&&w.extend(C,_[0]),!E&&y.snap&&(T.containData(I)&&I!=null&&(S=I)),b.showPointer(y,S,_,C),b.showTooltip(y,x,I)}function n(y,S){var b=S.axis,E=b.dim,C=y,T=[],x=Number.MAX_VALUE,_=-1;return p(S.seriesModels,function(I,L){var R=I.getData().mapDimension(E,!0),k,F;if(I.getAxisTooltipData){var P=I.getAxisTooltipData(R,y,b);F=P.dataIndices,k=P.nestestValue}else{if(F=I.getData().indicesOfNearest(R[0],y,b.type==="category"?.5:null),!F.length)return;k=I.getData().get(R[0],F[0])}if(k==null||!isFinite(k))return;var W=y-k,D=Math.abs(W);D<=x&&((D<x||W>=0&&_<0)&&(x=D,_=W,C=k,T.length=0),p(F,function(U){T.push({seriesIndex:I.seriesIndex,dataIndexInside:U,dataIndex:I.getData().getRawIndex(U)})}))}),{payloadBatch:T,snapToValue:C}}function i(y,S,b,E){y[S.key]={value:b,payloadBatch:E}}function r(y,S,b,E){var C=b.payloadBatch,T=S.axis,x=T.model,_=S.axisPointerModel;if(!S.triggerTooltip||!C.length)return;var I=S.coordSys.model,L=m.makeKey(I),R=y.map[L];R||(R=y.map[L]={coordSysId:I.id,coordSysIndex:I.componentIndex,coordSysType:I.type,coordSysMainType:I.mainType,dataByAxis:[]},y.list.push(R)),R.dataByAxis.push({axisDim:T.dim,axisIndex:x.componentIndex,axisType:x.type,axisId:x.id,value:E,valueLabelOpt:{precision:_.get("label.precision"),formatter:_.get("label.formatter")},seriesDataIndices:C.slice()})}function a(y,S,b){var E=b.axesInfo=[];p(S,function(C,T){var x=C.axisPointerModel.option,_=y[T];_?(!C.useHandle&&(x.status="show"),x.value=_.value,x.seriesDataIndices=(_.payloadBatch||[]).slice()):!C.useHandle&&(x.status="hide"),x.status==="show"&&E.push({axisDim:C.axis.dim,axisIndex:C.axis.model.componentIndex,value:x.value})})}function t(y,S,b,E){if(v(S)||!y.list.length){E({type:"hideTip"});return}var C=((y.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};E({type:"showTip",escapeConnect:!0,x:S[0],y:S[1],tooltipOption:b.tooltipOption,position:b.position,dataIndexInside:C.dataIndexInside,dataIndex:C.dataIndex,seriesIndex:C.seriesIndex,dataByCoordSys:y.list})}function s(y,S,b){var E=b.getZr(),C="axisPointerLastHighlights",T=h(E)[C]||{},x=h(E)[C]={};p(y,function(L,R){var k=L.axisPointerModel.option;k.status==="show"&&p(k.seriesDataIndices,function(F){var P=F.seriesIndex+" | "+F.dataIndex;x[P]=F})});var _=[],I=[];w.each(T,function(L,R){!x[R]&&I.push(L)}),w.each(x,function(L,R){!T[R]&&_.push(L)}),I.length&&b.dispatchAction({type:"downplay",escapeConnect:!0,batch:I}),_.length&&b.dispatchAction({type:"highlight",escapeConnect:!0,batch:_})}function u(y,S){for(var b=0;b<(y||[]).length;b++){var E=y[b];if(S.axis.dim===E.axisDim&&S.axis.model.componentIndex===E.axisIndex)return E}}function d(y){var S=y.axis.model,b={},E=b.axisDim=y.axis.dim;return b.axisIndex=b[E+"AxisIndex"]=S.componentIndex,b.axisName=b[E+"AxisName"]=S.name,b.axisId=b[E+"AxisId"]=S.id,b}function v(y){return!y||y[0]==null||isNaN(y[0])||y[1]==null||isNaN(y[1])}M.exports=l},"6BzB":function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.shrinkBuf=w,B.arraySet=f,B.flattenChunks=A,B.Buf32=B.Buf16=B.Buf8=void 0;function w(c,h){return c.length===h?c:c.subarray?c.subarray(0,h):(c.length=h,c)}function f(c,h,l,e,n){if(h.subarray&&c.subarray){c.set(h.subarray(l,l+e),n);return}for(var i=0;i<e;i++)c[n+i]=h[l+i]}function A(c){var h,l,e,n,i,r;for(e=0,h=0,l=c.length;h<l;h++)e+=c[h].length;for(r=new Uint8Array(e),n=0,h=0,l=c.length;h<l;h++)i=c[h],r.set(i,n),n+=i.length;return r}var m=Uint8Array;B.Buf8=m;var g=Uint16Array;B.Buf16=g;var p=Int32Array;B.Buf32=p},"6GrX":function(M,B,o){var w=o("mFDi"),f=o("Xnb7"),A=o("bYtY"),m=A.getContext,g=A.extend,p=A.retrieve2,c=A.retrieve3,h=A.trim,l={},e=0,n=5e3,i=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,r="12px sans-serif",a={};function t(W,D){a[W]=D}function s(W,D){D=D||r;var U=W+":"+D;if(l[U])return l[U];for(var H=(W+"").split(`
|
|
|
`),j=0,K=0,X=H.length;K<X;K++)j=Math.max(L(H[K],D).width,j);return e>n&&(e=0,l={}),e++,l[U]=j,j}function u(W,D,U,H,j,K,X,z){return X?v(W,D,U,H,j,K,X,z):d(W,D,U,H,j,K,z)}function d(W,D,U,H,j,K,X){var z=R(W,D,j,K,X),Y=s(W,D);j&&(Y+=j[1]+j[3]);var $=z.outerHeight,ne=y(0,Y,U),J=S(0,$,H),ge=new w(ne,J,Y,$);return ge.lineHeight=z.lineHeight,ge}function v(W,D,U,H,j,K,X,z){var Y=k(W,{rich:X,truncate:z,font:D,textAlign:U,textPadding:j,textLineHeight:K}),$=Y.outerWidth,ne=Y.outerHeight,J=y(0,$,U),ge=S(0,ne,H);return new w(J,ge,$,ne)}function y(W,D,U){return U==="right"?W-=D:U==="center"&&(W-=D/2),W}function S(W,D,U){return U==="middle"?W-=D/2:U==="bottom"&&(W-=D),W}function b(W,D,U){var H=D.textPosition,j=D.textDistance,K=U.x,X=U.y;j=j||0;var z=U.height,Y=U.width,$=z/2,ne="left",J="top";switch(H){case"left":K-=j,X+=$,ne="right",J="middle";break;case"right":K+=j+Y,X+=$,J="middle";break;case"top":K+=Y/2,X-=j,ne="center",J="bottom";break;case"bottom":K+=Y/2,X+=z+j,ne="center";break;case"inside":K+=Y/2,X+=$,ne="center",J="middle";break;case"insideLeft":K+=j,X+=$,J="middle";break;case"insideRight":K+=Y-j,X+=$,ne="right",J="middle";break;case"insideTop":K+=Y/2,X+=j,ne="center";break;case"insideBottom":K+=Y/2,X+=z-j,ne="center",J="bottom";break;case"insideTopLeft":K+=j,X+=j;break;case"insideTopRight":K+=Y-j,X+=j,ne="right";break;case"insideBottomLeft":K+=j,X+=z-j,J="bottom";break;case"insideBottomRight":K+=Y-j,X+=z-j,ne="right",J="bottom";break}return W=W||{},W.x=K,W.y=X,W.textAlign=ne,W.textVerticalAlign=J,W}function E(W,D,U){var H={textPosition:W,textDistance:U};return b({},H,D)}function C(W,D,U,H,j){if(!D)return"";var K=(W+"").split(`
|
|
|
`);j=T(D,U,H,j);for(var X=0,z=K.length;X<z;X++)K[X]=x(K[X],j);return K.join(`
|
|
|
`)}function T(W,D,U,H){H=g({},H),H.font=D;var U=p(U,"...");H.maxIterations=p(H.maxIterations,2);var j=H.minChar=p(H.minChar,0);H.cnCharWidth=s("\u56FD",D);var K=H.ascCharWidth=s("a",D);H.placeholder=p(H.placeholder,"");for(var X=W=Math.max(0,W-1),z=0;z<j&&X>=K;z++)X-=K;var Y=s(U,D);return Y>X&&(U="",Y=0),X=W-Y,H.ellipsis=U,H.ellipsisWidth=Y,H.contentWidth=X,H.containerWidth=W,H}function x(W,D){var U=D.containerWidth,H=D.font,j=D.contentWidth;if(!U)return"";var K=s(W,H);if(K<=U)return W;for(var X=0;;X++){if(K<=j||X>=D.maxIterations){W+=D.ellipsis;break}var z=X===0?_(W,j,D.ascCharWidth,D.cnCharWidth):K>0?Math.floor(W.length*j/K):0;W=W.substr(0,z),K=s(W,H)}return W===""&&(W=D.placeholder),W}function _(W,D,U,H){for(var j=0,K=0,X=W.length;K<X&&j<D;K++){var z=W.charCodeAt(K);j+=0<=z&&z<=127?U:H}return K}function I(W){return s("\u56FD",W)}function L(W,D){return a.measureText(W,D)}a.measureText=function(W,D){var U=m();return U.font=D||r,U.measureText(W)};function R(W,D,U,H,j){W!=null&&(W+="");var K=p(H,I(D)),X=W?W.split(`
|
|
|
`):[],z=X.length*K,Y=z,$=!0;if(U&&(Y+=U[0]+U[2]),W&&j){$=!1;var ne=j.outerHeight,J=j.outerWidth;if(ne!=null&&Y>ne)W="",X=[];else if(J!=null)for(var ge=T(J-(U?U[1]+U[3]:0),D,j.ellipsis,{minChar:j.minChar,placeholder:j.placeholder}),de=0,Ie=X.length;de<Ie;de++)X[de]=x(X[de],ge)}return{lines:X,height:z,outerHeight:Y,lineHeight:K,canCacheByTextString:$}}function k(W,D){var U={lines:[],width:0,height:0};if(W!=null&&(W+=""),!W)return U;for(var H=i.lastIndex=0,j;(j=i.exec(W))!=null;){var K=j.index;K>H&&F(U,W.substring(H,K)),F(U,j[2],j[1]),H=i.lastIndex}H<W.length&&F(U,W.substring(H,W.length));var X=U.lines,z=0,Y=0,$=[],ne=D.textPadding,J=D.truncate,ge=J&&J.outerWidth,de=J&&J.outerHeight;ne&&(ge!=null&&(ge-=ne[1]+ne[3]),de!=null&&(de-=ne[0]+ne[2]));for(var Ie=0;Ie<X.length;Ie++){for(var be=X[Ie],Ce=0,je=0,te=0;te<be.tokens.length;te++){var ve=be.tokens[te],$e=ve.styleName&&D.rich[ve.styleName]||{},Le=ve.textPadding=$e.textPadding,he=ve.font=$e.font||D.font,ee=ve.textHeight=p($e.textHeight,I(he));if(Le&&(ee+=Le[0]+Le[2]),ve.height=ee,ve.lineHeight=c($e.textLineHeight,D.textLineHeight,ee),ve.textAlign=$e&&$e.textAlign||D.textAlign,ve.textVerticalAlign=$e&&$e.textVerticalAlign||"middle",de!=null&&z+ve.lineHeight>de)return{lines:[],width:0,height:0};ve.textWidth=s(ve.text,he);var se=$e.textWidth,Ue=se==null||se==="auto";if(typeof se=="string"&&se.charAt(se.length-1)==="%")ve.percentWidth=se,$.push(ve),se=0;else{if(Ue){se=ve.textWidth;var ue=$e.textBackgroundColor,Ne=ue&&ue.image;Ne&&(Ne=f.findExistImage(Ne),f.isImageReady(Ne)&&(se=Math.max(se,Ne.width*ee/Ne.height)))}var Fe=Le?Le[1]+Le[3]:0;se+=Fe;var ae=ge!=null?ge-je:null;ae!=null&&ae<se&&(!Ue||ae<Fe?(ve.text="",ve.textWidth=se=0):(ve.text=C(ve.text,ae-Fe,he,J.ellipsis,{minChar:J.minChar}),ve.textWidth=s(ve.text,he),se=ve.textWidth+Fe))}je+=ve.width=se,$e&&(Ce=Math.max(Ce,ve.lineHeight))}be.width=je,be.lineHeight=Ce,z+=Ce,Y=Math.max(Y,je)}U.outerWidth=U.width=p(D.textWidth,Y),U.outerHeight=U.height=p(D.textHeight,z),ne&&(U.outerWidth+=ne[1]+ne[3],U.outerHeight+=ne[0]+ne[2]);for(var Ie=0;Ie<$.length;Ie++){var ve=$[Ie],ce=ve.percentWidth;ve.width=parseInt(ce,10)/100*Y}return U}function F(W,D,U){for(var H=D==="",j=D.split(`
|
|
|
`),K=W.lines,X=0;X<j.length;X++){var z=j[X],Y={styleName:U,text:z,isLineHolder:!z&&!H};if(X)K.push({tokens:[Y]});else{var $=(K[K.length-1]||(K[0]={tokens:[]})).tokens,ne=$.length;ne===1&&$[0].isLineHolder?$[0]=Y:(z||!ne||H)&&$.push(Y)}}}function P(W){var D=(W.fontSize||W.fontFamily)&&[W.fontStyle,W.fontWeight,(W.fontSize||12)+"px",W.fontFamily||"sans-serif"].join(" ");return D&&h(D)||W.textFont||W.font}B.DEFAULT_FONT=r,B.$override=t,B.getWidth=s,B.getBoundingRect=u,B.adjustTextX=y,B.adjustTextY=S,B.calculateTextPosition=b,B.adjustTextPositionOnRect=E,B.truncateText=C,B.getLineHeight=I,B.measureText=L,B.parsePlainText=R,B.parseRichText=k,B.makeFont=P},"6Ic6":function(M,B,o){var w=o("bYtY"),f=w.each,A=o("4fz+"),m=o("iRjW"),g=o("Yl7c"),p=o("4NO4"),c=o("IwbS"),h=o("9H2F"),l=h.createTask,e=o("zM3Q"),n=p.makeInner(),i=e();function r(){this.group=new A,this.uid=m.getUID("viewChart"),this.renderTask=l({plan:u,reset:d}),this.renderTask.context={view:this}}r.prototype={type:"chart",init:function(S,b){},render:function(S,b,E,C){},highlight:function(S,b,E,C){s(S.getData(),C,"emphasis")},downplay:function(S,b,E,C){s(S.getData(),C,"normal")},remove:function(S,b){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var a=r.prototype;a.updateView=a.updateLayout=a.updateVisual=function(S,b,E,C){this.render(S,b,E,C)};function t(S,b,E){if(S&&(S.trigger(b,E),S.isGroup&&!c.isHighDownDispatcher(S)))for(var C=0,T=S.childCount();C<T;C++)t(S.childAt(C),b,E)}function s(S,b,E){var C=p.queryDataIndex(S,b),T=b&&b.highlightKey!=null?c.getHighlightDigit(b.highlightKey):null;C!=null?f(p.normalizeToArray(C),function(x){t(S.getItemGraphicEl(x),E,T)}):S.eachItemGraphicEl(function(x){t(x,E,T)})}g.enableClassExtend(r,["dispose"]),g.enableClassManagement(r,{registerWhenExtend:!0}),r.markUpdateMethod=function(S,b){n(S).updateMethod=b};function u(S){return i(S.model)}function d(S){var b=S.model,E=S.ecModel,C=S.api,T=S.payload,x=b.pipelineContext.progressiveRender,_=S.view,I=T&&n(T).updateMethod,L=x?"incrementalPrepareRender":I&&_[I]?I:"render";return L!=="render"&&_[L](b,E,C,T),v[L]}var v={incrementalPrepareRender:{progress:function(S,b){b.view.incrementalRender(S,b.model,b.ecModel,b.api,b.payload)}},render:{forceFirstProgress:!0,progress:function(S,b){b.view.render(b.model,b.ecModel,b.api,b.payload)}}},y=r;M.exports=y},"6Qwc":function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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"};B.default=w},"6cGi":function(M,B,o){"use strict";o.d(B,"a",function(){return m});var w=o("ODXe"),f=o("q1tI"),A=o.n(f);function m(g,p){var c=p||{},h=c.defaultValue,l=c.value,e=c.onChange,n=c.postState,i=f.useState(function(){return l!==void 0?l:h!==void 0?typeof h=="function"?h():h:typeof g=="function"?g():g}),r=Object(w.a)(i,2),a=r[0],t=r[1],s=l!==void 0?l:a;n&&(s=n(s));function u(v){t(v),s!==v&&e&&e(v,s)}var d=f.useRef(!0);return f.useEffect(function(){if(d.current){d.current=!1;return}l===void 0&&t(l)},[l]),[s,u]}},"6fms":function(M,B,o){var w=o("SUKs"),f=o("06Qe"),A=o("bYtY"),m=A.each;function g(l){return parseInt(l,10)}function p(l,e){f.initVML(),this.root=l,this.storage=e;var n=document.createElement("div"),i=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",i.style.cssText="position:absolute;left:0;top:0;",l.appendChild(n),this._vmlRoot=i,this._vmlViewport=n,this.resize();var r=e.delFromStorage,a=e.addToStorage;e.delFromStorage=function(t){r.call(e,t),t&&(t.onRemove&&t.onRemove(i))},e.addToStorage=function(t){t.onAdd&&t.onAdd(i),a.call(e,t)},this._firstPaint=!0}p.prototype={constructor:p,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0,!0);this._paintList(e)},_paintList:function(e){for(var n=this._vmlRoot,i=0;i<e.length;i++){var r=e[i];r.invisible||r.ignore?(r.__alreadyNotVisible||r.onRemove(n),r.__alreadyNotVisible=!0):(r.__alreadyNotVisible&&r.onAdd(n),r.__alreadyNotVisible=!1,r.__dirty&&(r.beforeBrush&&r.beforeBrush(),(r.brushVML||r.brush).call(r,n),r.afterBrush&&r.afterBrush())),r.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(n),this._firstPaint=!1)},resize:function(e,n){var e=e==null?this._getWidth():e,n=n==null?this._getHeight():n;if(this._width!==e||this._height!==n){this._width=e,this._height=n;var i=this._vmlViewport.style;i.width=e+"px",i.height=n+"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 e=this.root,n=e.currentStyle;return(e.clientWidth||g(n.width))-g(n.paddingLeft)-g(n.paddingRight)|0},_getHeight:function(){var e=this.root,n=e.currentStyle;return(e.clientHeight||g(n.height))-g(n.paddingTop)-g(n.paddingBottom)|0}};function c(l){return function(){w('In IE8.0 VML mode painter not support method "'+l+'"')}}m(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(l){p.prototype[l]=c(l)});var h=p;M.exports=h},"6r85":function(M,B,o){var w=o("bYtY");function f(A){if(!A||!w.isArray(A.series))return;w.each(A.series,function(m){w.isObject(m)&&m.type==="k"&&(m.type="candlestick")})}M.exports=f},"6uqw":function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("ItGF"),m=o("YOMW"),g=o("XxSj"),p=o("K4ya"),c=o("4NO4"),h=o("OELB"),l=g.mapVisual,e=g.eachVisual,n=f.isArray,i=f.each,r=h.asc,a=h.linearMap,t=f.noop,s=w.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(d,v,y){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(d,y)},optionUpdated:function(d,v){var y=this.option;A.canvasSupported||(y.realtime=!1),!v&&p.replaceVisualOption(y,d,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(d){var v=this.stateList;d=f.bind(d,this),this.controllerVisuals=p.createVisualMappings(this.option.controller,v,d),this.targetVisuals=p.createVisualMappings(this.option.target,v,d)},getTargetSeriesIndices:function(){var d=this.option.seriesIndex,v=[];return d==null||d==="all"?this.ecModel.eachSeries(function(y,S){v.push(S)}):v=c.normalizeToArray(d),v},eachTargetSeries:function(d,v){f.each(this.getTargetSeriesIndices(),function(y){d.call(v,this.ecModel.getSeriesByIndex(y))},this)},isTargetSeries:function(d){var v=!1;return this.eachTargetSeries(function(y){y===d&&(v=!0)}),v},formatValueText:function(d,v,y){var S=this.option,b=S.precision,E=this.dataBound,C=S.formatter,T,x;if(y=y||["<",">"],f.isArray(d)&&(d=d.slice(),T=!0),x=v?d:T?[_(d[0]),_(d[1])]:_(d),f.isString(C))return C.replace("{value}",T?x[0]:x).replace("{value2}",T?x[1]:x);if(f.isFunction(C))return T?C(d[0],d[1]):C(d);if(T)return d[0]===E[0]?y[0]+" "+x[1]:d[1]===E[1]?y[1]+" "+x[0]:x[0]+" - "+x[1];return x;function _(I){return I===E[0]?"min":I===E[1]?"max":(+I).toFixed(Math.min(b,20))}},resetExtent:function(){var d=this.option,v=r([d.min,d.max]);this._dataExtent=v},getDataDimension:function(d){var v=this.option.dimension,y=d.dimensions;if(v==null&&!y.length)return;if(v!=null)return d.getDimension(v);for(var S=d.dimensions,b=S.length-1;b>=0;b--){var E=S[b],C=d.getDimensionInfo(E);if(!C.isCalculationCoord)return E}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var d=this.ecModel,v=this.option,y={inRange:v.inRange,outOfRange:v.outOfRange},S=v.target||(v.target={}),b=v.controller||(v.controller={});f.merge(S,y),f.merge(b,y);var E=this.isCategory();C.call(this,S),C.call(this,b),T.call(this,S,"inRange","outOfRange"),x.call(this,b);function C(_){n(v.color)&&!_.inRange&&(_.inRange={color:v.color.slice().reverse()}),_.inRange=_.inRange||{color:d.get("gradientColor")},i(this.stateList,function(I){var L=_[I];if(f.isString(L)){var R=m.get(L,"active",E);R?(_[I]={},_[I][L]=R):delete _[I]}},this)}function T(_,I,L){var R=_[I],k=_[L];R&&!k&&(k=_[L]={},i(R,function(F,P){if(!g.isValidType(P))return;var W=m.get(P,"inactive",E);W!=null&&(k[P]=W,P==="color"&&!k.hasOwnProperty("opacity")&&!k.hasOwnProperty("colorAlpha")&&(k.opacity=[0,0]))}))}function x(_){var I=(_.inRange||{}).symbol||(_.outOfRange||{}).symbol,L=(_.inRange||{}).symbolSize||(_.outOfRange||{}).symbolSize,R=this.get("inactiveColor");i(this.stateList,function(k){var F=this.itemSize,P=_[k];P||(P=_[k]={color:E?R:[R]}),P.symbol==null&&(P.symbol=I&&f.clone(I)||(E?"roundRect":["roundRect"])),P.symbolSize==null&&(P.symbolSize=L&&f.clone(L)||(E?F[0]:[F[0],F[0]])),P.symbol=l(P.symbol,function(U){return U==="none"||U==="square"?"roundRect":U});var W=P.symbolSize;if(W!=null){var D=-Infinity;e(W,function(U){U>D&&(D=U)}),P.symbolSize=l(W,function(U){return a(U,[0,D],[0,F[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}),u=s;M.exports=u},"6usn":function(M,B,o){var w=o("bYtY");function f(m,g){return w.map(["Radius","Angle"],function(p,c){var h=this["get"+p+"Axis"](),l=g[c],e=m[c]/2,n="dataTo"+p,i=h.type==="category"?h.getBandWidth():Math.abs(h[n](l-e)-h[n](l+e));return p==="Angle"&&(i=i*Math.PI/180),i},this)}function A(m){var g=m.getRadiusAxis(),p=m.getAngleAxis(),c=g.getExtent();return c[0]>c[1]&&c.reverse(),{coordSys:{type:"polar",cx:m.cx,cy:m.cy,r:c[1],r0:c[0]},api:{coord:w.bind(function(h){var l=g.dataToRadius(h[0]),e=p.dataToAngle(h[1]),n=m.coordToPoint([l,e]);return n.push(l,e*Math.PI/180),n}),size:w.bind(f,m)}}}M.exports=A},"711d":function(M,B){function o(w){return function(f){return f==null?void 0:f[w]}}M.exports=o},"72pK":function(M,B){function o(A,m,g,p,c,h){A=A||0;var l=g[1]-g[0];if(c!=null&&(c=f(c,[0,l])),h!=null&&(h=Math.max(h,c!=null?c:0)),p==="all"){var e=Math.abs(m[1]-m[0]);e=f(e,[0,l]),c=h=f(e,[c,h]),p=0}m[0]=f(m[0],g),m[1]=f(m[1],g);var n=w(m,p);m[p]+=A;var i=c||0,r=g.slice();n.sign<0?r[0]+=i:r[1]-=i,m[p]=f(m[p],r);var a=w(m,p);c!=null&&(a.sign!==n.sign||a.span<c)&&(m[1-p]=m[p]+n.sign*c);var a=w(m,p);return h!=null&&a.span>h&&(m[1-p]=m[p]+a.sign*h),m}function w(A,m){var g=A[m]-A[1-m];return{span:Math.abs(g),sign:g>0?-1:g<0?1:m?-1:1}}function f(A,m){return Math.min(m[1]!=null?m[1]:Infinity,Math.max(m[0]!=null?m[0]:-Infinity,A))}M.exports=o},"75ce":function(M,B,o){var w=o("ProS");o("IXuL"),o("8X+K");var f=o("f5Yq"),A=o("h8O9"),m=o("/d5a");o("Ae16"),w.registerVisual(f("line","circle","line")),w.registerLayout(A("line")),w.registerProcessor(w.PRIORITY.PROCESSOR.STATISTIC,m("line"))},"75ev":function(M,B,o){var w=o("ProS");o("IWNH"),o("bNin"),o("v5uJ");var f=o("f5Yq"),A=o("yik8");w.registerVisual(f("tree","circle")),w.registerLayout(A)},"7AJT":function(M,B,o){var w=o("bYtY"),f=o("hM6l"),A=function(g,p,c,h,l){f.call(this,g,p,c),this.type=h||"value",this.position=l||"bottom"};A.prototype={constructor:A,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var g=this.position;return g==="top"||g==="bottom"},getGlobalExtent:function(g){var p=this.getExtent();return p[0]=this.toGlobalCoord(p[0]),p[1]=this.toGlobalCoord(p[1]),g&&p[0]>p[1]&&p.reverse(),p},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(g,p){return this.coordToData(this.toLocalCoord(g[this.dim==="x"?0:1]),p)},toLocalCoord:null,toGlobalCoord:null},w.inherits(A,f);var m=A;M.exports=m},"7DRL":function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=A.createHashMap,g=A.isString,p=A.isArray,c=A.each,h=A.assert,l=o("MEGo"),e=l.parseXML,n=m(),i={registerMap:function(a,t,s){var u;return p(t)?u=t:t.svg?u=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(s=t.specialAreas,t=t.geoJson),u=[{type:"geoJSON",source:t,specialAreas:s}]),c(u,function(d){var v=d.type;v==="geoJson"&&(v=d.type="geoJSON");var y=r[v];y(d)}),n.set(a,u)},retrieveMap:function(a){return n.get(a)}},r={geoJSON:function(a){var t=a.source;a.geoJSON=g(t)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(a){a.svgXML=e(a.source)}};M.exports=i},"7G+c":function(M,B,o){var w=o("bYtY"),f=w.createHashMap,A=w.isTypedArray,m=o("Yl7c"),g=m.enableClassCheck,p=o("k9D9"),c=p.SOURCE_FORMAT_ORIGINAL,h=p.SERIES_LAYOUT_BY_COLUMN,l=p.SOURCE_FORMAT_UNKNOWN,e=p.SOURCE_FORMAT_TYPED_ARRAY,n=p.SOURCE_FORMAT_KEYED_COLUMNS;function i(a){this.fromDataset=a.fromDataset,this.data=a.data||(a.sourceFormat===n?{}:[]),this.sourceFormat=a.sourceFormat||l,this.seriesLayoutBy=a.seriesLayoutBy||h,this.dimensionsDefine=a.dimensionsDefine,this.encodeDefine=a.encodeDefine&&f(a.encodeDefine),this.startIndex=a.startIndex||0,this.dimensionsDetectCount=a.dimensionsDetectCount}i.seriesDataToSource=function(a){return new i({data:a,sourceFormat:A(a)?e:c,fromDataset:!1})},g(i);var r=i;M.exports=r},"7Phj":function(M,B,o){var w=o("bYtY"),f=o("OELB"),A=f.parsePercent,m=w.each;function g(l){var e=p(l);m(e,function(n){var i=n.seriesModels;if(!i.length)return;c(n),m(i,function(r,a){h(r,n.boxOffsetList[a],n.boxWidthList[a])})})}function p(l){var e=[],n=[];return l.eachSeriesByType("boxplot",function(i){var r=i.getBaseAxis(),a=w.indexOf(n,r);a<0&&(a=n.length,n[a]=r,e[a]={axis:r,seriesModels:[]}),e[a].seriesModels.push(i)}),e}function c(l){var e,n=l.axis,i=l.seriesModels,r=i.length,a=l.boxWidthList=[],t=l.boxOffsetList=[],s=[],u;if(n.type==="category")u=n.getBandWidth();else{var d=0;m(i,function(E){d=Math.max(d,E.getData().count())}),e=n.getExtent(),Math.abs(e[1]-e[0])/d}m(i,function(E){var C=E.get("boxWidth");w.isArray(C)||(C=[C,C]),s.push([A(C[0],u)||0,A(C[1],u)||0])});var v=u*.8-2,y=v/r*.3,S=(v-y*(r-1))/r,b=S/2-v/2;m(i,function(E,C){t.push(b),b+=y+S,a.push(Math.min(Math.max(S,s[C][0]),s[C][1]))})}function h(l,e,n){var i=l.coordinateSystem,r=l.getData(),a=n/2,t=l.get("layout")==="horizontal"?0:1,s=1-t,u=["x","y"],d=r.mapDimension(u[t]),v=r.mapDimension(u[s],!0);if(d==null||v.length<5)return;for(var y=0;y<r.count();y++){var S=r.get(d,y),b=I(S,v[2],y),E=I(S,v[0],y),C=I(S,v[1],y),T=I(S,v[3],y),x=I(S,v[4],y),_=[];L(_,C,0),L(_,T,1),_.push(E,C,x,T),R(_,E),R(_,x),R(_,b),r.setItemLayout(y,{initBaseline:b[s],ends:_})}function I(k,F,P){var W=r.get(F,P),D=[];D[t]=k,D[s]=W;var U;return isNaN(k)||isNaN(W)?U=[NaN,NaN]:(U=i.dataToPoint(D),U[t]+=e),U}function L(k,F,P){var W=F.slice(),D=F.slice();W[t]+=a,D[t]-=a,P?k.push(W,D):k.push(D,W)}function R(k,F){var P=F.slice(),W=F.slice();P[t]-=a,W[t]+=a,k.push(P,W)}}M.exports=g},"7SHv":function(M,B,o){var w=o("LPTA"),f=w.devicePixelRatio,A=o("bYtY"),m=o("SUKs"),g=o("mFDi"),p=o("BPZU"),c=o("Xmg4"),h=o("mLcG"),l=o("Dagg"),e=o("ItGF"),n=1e5,i=314159,r=.01,a=.001;function t(T){return parseInt(T,10)}function s(T){return T?T.__builtin__?!0:!(typeof T.resize!="function"||typeof T.refresh!="function"):!1}var u=new g(0,0,0,0),d=new g(0,0,0,0);function v(T,x,_){return u.copy(T.getBoundingRect()),T.transform&&u.applyTransform(T.transform),d.width=x,d.height=_,!u.intersect(d)}function y(T,x){if(T===x)return!1;if(!T||!x||T.length!==x.length)return!0;for(var _=0;_<T.length;_++)if(T[_]!==x[_])return!0;return!1}function S(T,x){for(var _=0;_<T.length;_++){var I=T[_];I.setTransform(x),x.beginPath(),I.buildPath(x,I.shape),x.clip(),I.restoreTransform(x)}}function b(T,x){var _=document.createElement("div");return _.style.cssText=["position:relative","width:"+T+"px","height:"+x+"px","padding:0","margin:0","border-width:0"].join(";")+";",_}var E=function(x,_,I){this.type="canvas";var L=!x.nodeName||x.nodeName.toUpperCase()==="CANVAS";this._opts=I=A.extend({},I||{}),this.dpr=I.devicePixelRatio||f,this._singleCanvas=L,this.root=x;var R=x.style;R&&(R["-webkit-tap-highlight-color"]="transparent",R["-webkit-user-select"]=R["user-select"]=R["-webkit-touch-callout"]="none",x.innerHTML=""),this.storage=_;var k=this._zlevelList=[],F=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,L){var W=x.width,D=x.height;I.width!=null&&(W=I.width),I.height!=null&&(D=I.height),this.dpr=I.devicePixelRatio||1,x.width=W*this.dpr,x.height=D*this.dpr,this._width=W,this._height=D;var U=new c(x,this,this.dpr);U.__builtin__=!0,U.initContext(),F[i]=U,U.zlevel=i,k.push(i),this._domRoot=x}else{this._width=this._getSize(0),this._height=this._getSize(1);var P=this._domRoot=b(this._width,this._height);x.appendChild(P)}this._hoverlayer=null,this._hoverElements=[]};E.prototype={constructor:E,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var x=this.getViewportRoot();if(x)return{offsetLeft:x.offsetLeft||0,offsetTop:x.offsetTop||0}},refresh:function(x){var _=this.storage.getDisplayList(!0),I=this._zlevelList;this._redrawId=Math.random(),this._paintList(_,x,this._redrawId);for(var L=0;L<I.length;L++){var R=I[L],k=this._layers[R];if(!k.__builtin__&&k.refresh){var F=L===0?this._backgroundColor:null;k.refresh(F)}}return this.refreshHover(),this},addHover:function(x,_){if(x.__hoverMir)return;var I=new x.constructor({style:x.style,shape:x.shape,z:x.z,z2:x.z2,silent:x.silent});return I.__from=x,x.__hoverMir=I,_&&I.setStyle(_),this._hoverElements.push(I),I},removeHover:function(x){var _=x.__hoverMir,I=this._hoverElements,L=A.indexOf(I,_);L>=0&&I.splice(L,1),x.__hoverMir=null},clearHover:function(x){for(var _=this._hoverElements,I=0;I<_.length;I++){var L=_[I].__from;L&&(L.__hoverMir=null)}_.length=0},refreshHover:function(){var x=this._hoverElements,_=x.length,I=this._hoverlayer;if(I&&I.clear(),!_)return;p(x,this.storage.displayableSortFunc),I||(I=this._hoverlayer=this.getLayer(n));var L={};I.ctx.save();for(var R=0;R<_;){var k=x[R],F=k.__from;if(!(F&&F.__zr)){x.splice(R,1),F.__hoverMir=null,_--;continue}R++,F.invisible||(k.transform=F.transform,k.invTransform=F.invTransform,k.__clipPaths=F.__clipPaths,this._doPaintEl(k,I,!0,L))}I.ctx.restore()},getHoverLayer:function(){return this.getLayer(n)},_paintList:function(x,_,I){if(this._redrawId!==I)return;_=_||!1,this._updateLayerStatus(x);var L=this._doPaintList(x,_);if(this._needsManuallyCompositing&&this._compositeManually(),!L){var R=this;h(function(){R._paintList(x,_,I)})}},_compositeManually:function(){var x=this.getLayer(i).ctx,_=this._domRoot.width,I=this._domRoot.height;x.clearRect(0,0,_,I),this.eachBuiltinLayer(function(L){L.virtual&&x.drawImage(L.dom,0,0,_,I)})},_doPaintList:function(x,_){for(var I=[],L=0;L<this._zlevelList.length;L++){var R=this._zlevelList[L],k=this._layers[R];k.__builtin__&&k!==this._hoverlayer&&(k.__dirty||_)&&I.push(k)}for(var F=!0,P=0;P<I.length;P++){var k=I[P],W=k.ctx,D={};W.save();var U=_?k.__startIndex:k.__drawIndex,H=!_&&k.incremental&&Date.now,j=H&&Date.now(),K=k.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(k.__startIndex===k.__endIndex)k.clear(!1,K);else if(U===k.__startIndex){var X=x[U];(!X.incremental||!X.notClear||_)&&k.clear(!1,K)}U===-1&&(console.error("For some unknown reason. drawIndex is -1"),U=k.__startIndex);for(var z=U;z<k.__endIndex;z++){var Y=x[z];if(this._doPaintEl(Y,k,_,D),Y.__dirty=Y.__dirtyText=!1,H){var $=Date.now()-j;if($>15)break}}k.__drawIndex=z,k.__drawIndex<k.__endIndex&&(F=!1),D.prevElClipPaths&&W.restore(),W.restore()}return e.wxa&&A.each(this._layers,function(ne){ne&&ne.ctx&&ne.ctx.draw&&ne.ctx.draw()}),F},_doPaintEl:function(x,_,I,L){var R=_.ctx,k=x.transform;if((_.__dirty||I)&&!x.invisible&&x.style.opacity!==0&&!(k&&!k[0]&&!k[3])&&!(x.culling&&v(x,this._width,this._height))){var F=x.__clipPaths,P=L.prevElClipPaths;(!P||y(F,P))&&(P&&(R.restore(),L.prevElClipPaths=null,L.prevEl=null),F&&(R.save(),S(F,R),L.prevElClipPaths=F)),x.beforeBrush&&x.beforeBrush(R),x.brush(R,L.prevEl||null),L.prevEl=x,x.afterBrush&&x.afterBrush(R)}},getLayer:function(x,_){this._singleCanvas&&!this._needsManuallyCompositing&&(x=i);var I=this._layers[x];return I||(I=new c("zr_"+x,this,this.dpr),I.zlevel=x,I.__builtin__=!0,this._layerConfig[x]?A.merge(I,this._layerConfig[x],!0):this._layerConfig[x-r]&&A.merge(I,this._layerConfig[x-r],!0),_&&(I.virtual=_),this.insertLayer(x,I),I.initContext()),I},insertLayer:function(x,_){var I=this._layers,L=this._zlevelList,R=L.length,k=null,F=-1,P=this._domRoot;if(I[x]){m("ZLevel "+x+" has been used already");return}if(!s(_)){m("Layer of zlevel "+x+" is not valid");return}if(R>0&&x>L[0]){for(F=0;F<R-1&&!(L[F]<x&&L[F+1]>x);F++);k=I[L[F]]}if(L.splice(F+1,0,x),I[x]=_,!_.virtual)if(k){var W=k.dom;W.nextSibling?P.insertBefore(_.dom,W.nextSibling):P.appendChild(_.dom)}else P.firstChild?P.insertBefore(_.dom,P.firstChild):P.appendChild(_.dom)},eachLayer:function(x,_){var I=this._zlevelList,L,R;for(R=0;R<I.length;R++)L=I[R],x.call(_,this._layers[L],L)},eachBuiltinLayer:function(x,_){var I=this._zlevelList,L,R,k;for(k=0;k<I.length;k++)R=I[k],L=this._layers[R],L.__builtin__&&x.call(_,L,R)},eachOtherLayer:function(x,_){var I=this._zlevelList,L,R,k;for(k=0;k<I.length;k++)R=I[k],L=this._layers[R],L.__builtin__||x.call(_,L,R)},getLayers:function(){return this._layers},_updateLayerStatus:function(x){this.eachBuiltinLayer(function(D,U){D.__dirty=D.__used=!1});function _(D){R&&(R.__endIndex!==D&&(R.__dirty=!0),R.__endIndex=D)}if(this._singleCanvas)for(var I=1;I<x.length;I++){var L=x[I];if(L.zlevel!==x[I-1].zlevel||L.incremental){this._needsManuallyCompositing=!0;break}}for(var R=null,k=0,F,I=0;I<x.length;I++){var L=x[I],P=L.zlevel,W;F!==P&&(F=P,k=0),L.incremental?(W=this.getLayer(P+a,this._needsManuallyCompositing),W.incremental=!0,k=1):W=this.getLayer(P+(k>0?r:0),this._needsManuallyCompositing),W.__builtin__||m("ZLevel "+P+" has been used by unkown layer "+W.id),W!==R&&(W.__used=!0,W.__startIndex!==I&&(W.__dirty=!0),W.__startIndex=I,W.incremental?W.__drawIndex=-1:W.__drawIndex=I,_(I),R=W),L.__dirty&&(W.__dirty=!0,W.incremental&&W.__drawIndex<0&&(W.__drawIndex=I))}_(I),this.eachBuiltinLayer(function(D,U){!D.__used&&D.getElementCount()>0&&(D.__dirty=!0,D.__startIndex=D.__endIndex=D.__drawIndex=0),D.__dirty&&D.__drawIndex<0&&(D.__drawIndex=D.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(x){x.clear()},setBackgroundColor:function(x){this._backgroundColor=x},configLayer:function(x,_){if(_){var I=this._layerConfig;I[x]?A.merge(I[x],_,!0):I[x]=_;for(var L=0;L<this._zlevelList.length;L++){var R=this._zlevelList[L];if(R===x||R===x+r){var k=this._layers[R];A.merge(k,I[x],!0)}}}},delLayer:function(x){var _=this._layers,I=this._zlevelList,L=_[x];if(!L)return;L.dom.parentNode.removeChild(L.dom),delete _[x],I.splice(A.indexOf(I,x),1)},resize:function(x,_){if(this._domRoot.style){var I=this._domRoot;I.style.display="none";var L=this._opts;if(x!=null&&(L.width=x),_!=null&&(L.height=_),x=this._getSize(0),_=this._getSize(1),I.style.display="",this._width!==x||_!==this._height){I.style.width=x+"px",I.style.height=_+"px";for(var R in this._layers)this._layers.hasOwnProperty(R)&&this._layers[R].resize(x,_);A.each(this._progressiveLayers,function(k){k.resize(x,_)}),this.refresh(!0)}this._width=x,this._height=_}else{if(x==null||_==null)return;this._width=x,this._height=_,this.getLayer(i).resize(x,_)}return this},clearLayer:function(x){var _=this._layers[x];_&&_.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[i].dom;var _=new c("image",this,x.pixelRatio||this.dpr);if(_.initContext(),_.clear(!1,x.backgroundColor||this._backgroundColor),x.pixelRatio<=this.dpr){this.refresh();var I=_.dom.width,L=_.dom.height,R=_.ctx;this.eachLayer(function(D){D.__builtin__?R.drawImage(D.dom,0,0,I,L):D.renderToCanvas&&(_.ctx.save(),D.renderToCanvas(_.ctx),_.ctx.restore())})}else for(var k={},F=this.storage.getDisplayList(!0),P=0;P<F.length;P++){var W=F[P];this._doPaintEl(W,_,!0,k)}return _.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(x){var _=this._opts,I=["width","height"][x],L=["clientWidth","clientHeight"][x],R=["paddingLeft","paddingTop"][x],k=["paddingRight","paddingBottom"][x];if(_[I]!=null&&_[I]!=="auto")return parseFloat(_[I]);var F=this.root,P=document.defaultView.getComputedStyle(F);return(F[L]||t(P[I])||t(F.style[I]))-(t(P[R])||0)-(t(P[k])||0)|0},pathToImage:function(x,_){_=_||this.dpr;var I=document.createElement("canvas"),L=I.getContext("2d"),R=x.getBoundingRect(),k=x.style,F=k.shadowBlur*_,P=k.shadowOffsetX*_,W=k.shadowOffsetY*_,D=k.hasStroke()?k.lineWidth:0,U=Math.max(D/2,-P+F),H=Math.max(D/2,P+F),j=Math.max(D/2,-W+F),K=Math.max(D/2,W+F),X=R.width+U+H,z=R.height+j+K;I.width=X*_,I.height=z*_,L.scale(_,_),L.clearRect(0,0,X,z),L.dpr=_;var Y={position:x.position,rotation:x.rotation,scale:x.scale};x.position=[U-R.x,j-R.y],x.rotation=0,x.scale=[1,1],x.updateTransform(),x&&x.brush(L);var $=l,ne=new $({style:{x:0,y:0,image:I}});return Y.position!=null&&(ne.position=x.position=Y.position),Y.rotation!=null&&(ne.rotation=x.rotation=Y.rotation),Y.scale!=null&&(ne.scale=x.scale=Y.scale),ne}};var C=E;M.exports=C},"7a+S":function(M,B,o){var w=o("bYtY"),f=o("bLfw"),A=o("YXkt"),m=o("4NO4"),g=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(c,h,l){this._data,this._names,this.mergeDefaultAndTheme(c,l),this._initData()},mergeOption:function(c){g.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(c){c==null&&(c=this.option.currentIndex);var h=this._data.count();this.option.loop?c=(c%h+h)%h:(c>=h&&(c=h-1),c<0&&(c=0)),this.option.currentIndex=c},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(c){this.option.autoPlay=!!c},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var c=this.option,h=c.data||[],l=c.axisType,e=this._names=[];if(l==="category"){var n=[];w.each(h,function(a,t){var s=m.getDataItemValue(a),u;w.isObject(a)?(u=w.clone(a),u.value=t):u=t,n.push(u),!w.isString(s)&&(s==null||isNaN(s))&&(s=""),e.push(s+"")}),h=n}var i={category:"ordinal",time:"time"}[l]||"number",r=this._data=new A([{name:"value",type:i}],this);r.initData(h,e)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),p=g;M.exports=p},"7aKB":function(M,B,o){var w=o("bYtY"),f=o("6GrX"),A=o("OELB");function m(b){return isNaN(b)?"-":(b=(b+"").split("."),b[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(b.length>1?"."+b[1]:""))}function g(b,E){return b=(b||"").toLowerCase().replace(/-(.)/g,function(C,T){return T.toUpperCase()}),E&&b&&(b=b.charAt(0).toUpperCase()+b.slice(1)),b}var p=w.normalizeCssArray,c=/([&<>"'])/g,h={"&":"&","<":"<",">":">",'"':""","'":"'"};function l(b){return b==null?"":(b+"").replace(c,function(E,C){return h[C]})}var e=["a","b","c","d","e","f","g"],n=function(b,E){return"{"+b+(E==null?"":E)+"}"};function i(b,E,C){w.isArray(E)||(E=[E]);var T=E.length;if(!T)return"";for(var x=E[0].$vars||[],_=0;_<x.length;_++){var I=e[_];b=b.replace(n(I),n(I,0))}for(var L=0;L<T;L++)for(var R=0;R<x.length;R++){var k=E[L][x[R]];b=b.replace(n(e[R],L),C?l(k):k)}return b}function r(b,E,C){return w.each(E,function(T,x){b=b.replace("{"+x+"}",C?l(T):T)}),b}function a(b,E){b=w.isString(b)?{color:b,extraCssText:E}:b||{};var C=b.color,T=b.type,E=b.extraCssText,x=b.renderMode||"html",_=b.markerId||"X";return C?x==="html"?T==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+l(C)+";"+(E||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+l(C)+";"+(E||"")+'"></span>':{renderMode:x,content:"{marker"+_+"|} ",style:{color:C}}:""}function t(b,E){return b+="","0000".substr(0,E-b.length)+b}function s(b,E,C){(b==="week"||b==="month"||b==="quarter"||b==="half-year"||b==="year")&&(b=`MM-dd
|
|
|
yyyy`);var T=A.parseDate(E),x=C?"UTC":"",_=T["get"+x+"FullYear"](),I=T["get"+x+"Month"]()+1,L=T["get"+x+"Date"](),R=T["get"+x+"Hours"](),k=T["get"+x+"Minutes"](),F=T["get"+x+"Seconds"](),P=T["get"+x+"Milliseconds"]();return b=b.replace("MM",t(I,2)).replace("M",I).replace("yyyy",_).replace("yy",_%100).replace("dd",t(L,2)).replace("d",L).replace("hh",t(R,2)).replace("h",R).replace("mm",t(k,2)).replace("m",k).replace("ss",t(F,2)).replace("s",F).replace("SSS",t(P,3)),b}function u(b){return b&&b.charAt(0).toUpperCase()+b.substr(1)}var d=f.truncateText;function v(b){return f.getBoundingRect(b.text,b.font,b.textAlign,b.textVerticalAlign,b.textPadding,b.textLineHeight,b.rich,b.truncate)}function y(b,E,C,T,x,_,I,L){return f.getBoundingRect(b,E,C,T,x,L,_,I)}function S(b,E){if(E==="_blank"||E==="blank"){var C=window.open();C.opener=null,C.location=b}else window.open(b,E)}B.addCommas=m,B.toCamelCase=g,B.normalizeCssArray=p,B.encodeHTML=l,B.formatTpl=i,B.formatTplSimple=r,B.getTooltipMarker=a,B.formatTime=s,B.capitalFirst=u,B.truncateText=d,B.getTextBoundingRect=v,B.getTextRect=y,B.windowOpen=S},"7bkD":function(M,B,o){var w=o("bYtY");function f(A,m){m=m||{};var g=A.coordinateSystem,p=A.axis,c={},h=p.position,l=p.orient,e=g.getRect(),n=[e.x,e.x+e.width,e.y,e.y+e.height],i={horizontal:{top:n[2],bottom:n[3]},vertical:{left:n[0],right:n[1]}};c.position=[l==="vertical"?i.vertical[h]:n[0],l==="horizontal"?i.horizontal[h]:n[3]];var r={horizontal:0,vertical:1};c.rotation=Math.PI/2*r[l];var a={top:-1,bottom:1,right:1,left:-1};c.labelDirection=c.tickDirection=c.nameDirection=a[h],A.get("axisTick.inside")&&(c.tickDirection=-c.tickDirection),w.retrieve(m.labelInside,A.get("axisLabel.inside"))&&(c.labelDirection=-c.labelDirection);var t=m.rotate;return t==null&&(t=A.get("axisLabel.rotate")),c.labelRotation=h==="top"?-t:t,c.z2=1,c}B.layout=f},"7hqr":function(M,B,o){var w=o("bYtY"),f=w.each,A=w.isString;function m(c,h,l){l=l||{};var e=l.byIndex,n=l.stackedCoordDimension,i=!!(c&&c.get("stack")),r,a,t,s;if(f(h,function(y,S){A(y)&&(h[S]=y={name:y}),i&&!y.isExtraCoord&&(!e&&!r&&y.ordinalMeta&&(r=y),!a&&y.type!=="ordinal"&&y.type!=="time"&&(!n||n===y.coordDim)&&(a=y))}),a&&!e&&!r&&(e=!0),a){t="__\0ecstackresult",s="__\0ecstackedover",r&&(r.createInvertedIndices=!0);var u=a.coordDim,d=a.type,v=0;f(h,function(y){y.coordDim===u&&v++}),h.push({name:t,coordDim:u,coordDimIndex:v,type:d,isExtraCoord:!0,isCalculationCoord:!0}),v++,h.push({name:s,coordDim:s,coordDimIndex:v,type:d,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:a&&a.name,stackedByDimension:r&&r.name,isStackedByIndex:e,stackedOverDimension:s,stackResultDimension:t}}function g(c,h){return!!h&&h===c.getCalculationInfo("stackedDimension")}function p(c,h){return g(c,h)?c.getCalculationInfo("stackResultDimension"):h}B.enableDataStack=m,B.isDimensionStacked=g,B.getStackedDimension=p},"7mYs":function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("IwbS"),m=o("7aKB"),g=o("OELB"),p={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"]},c={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},h=w.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(l,e,n){var i=this.group;i.removeAll();var r=l.coordinateSystem,a=r.getRangeInfo(),t=r.getOrient();this._renderDayRect(l,a,i),this._renderLines(l,a,t,i),this._renderYearText(l,a,t,i),this._renderMonthText(l,t,i),this._renderWeekText(l,a,t,i)},_renderDayRect:function(l,e,n){for(var i=l.coordinateSystem,r=l.getModel("itemStyle").getItemStyle(),a=i.getCellWidth(),t=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var u=i.dataToRect([s],!1).tl,d=new A.Rect({shape:{x:u[0],y:u[1],width:a,height:t},cursor:"default",style:r});n.add(d)}},_renderLines:function(l,e,n,i){var r=this,a=l.coordinateSystem,t=l.getModel("splitLine.lineStyle").getLineStyle(),s=l.get("splitLine.show"),u=t.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var d=e.start,v=0;d.time<=e.end.time;v++){S(d.formatedDate),v===0&&(d=a.getDateInfo(e.start.y+"-"+e.start.m));var y=d.date;y.setMonth(y.getMonth()+1),d=a.getDateInfo(y)}S(a.getNextNDay(e.end.time,1).formatedDate);function S(b){r._firstDayOfMonth.push(a.getDateInfo(b)),r._firstDayPoints.push(a.dataToRect([b],!1).tl);var E=r._getLinePointsOfOneWeek(l,b,n);r._tlpoints.push(E[0]),r._blpoints.push(E[E.length-1]),s&&r._drawSplitline(E,t,i)}s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,u,n),t,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,u,n),t,i)},_getEdgesPoints:function(l,e,n){var i=[l[0].slice(),l[l.length-1].slice()],r=n==="horizontal"?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},_drawSplitline:function(l,e,n){var i=new A.Polyline({z2:20,shape:{points:l},style:e});n.add(i)},_getLinePointsOfOneWeek:function(l,e,n){var i=l.coordinateSystem;e=i.getDateInfo(e);for(var r=[],a=0;a<7;a++){var t=i.getNextNDay(e.time,a),s=i.dataToRect([t.time],!1);r[2*t.day]=s.tl,r[2*t.day+1]=s[n==="horizontal"?"bl":"tr"]}return r},_formatterLabel:function(l,e){return typeof l=="string"&&l?m.formatTplSimple(l,e):typeof l=="function"?l(e):e.nameMap},_yearTextPositionControl:function(l,e,n,i,r){e=e.slice();var a=["center","bottom"];i==="bottom"?(e[1]+=r,a=["center","top"]):i==="left"?e[0]-=r:i==="right"?(e[0]+=r,a=["center","top"]):e[1]-=r;var t=0;return(i==="left"||i==="right")&&(t=Math.PI/2),{rotation:t,position:e,style:{textAlign:a[0],textVerticalAlign:a[1]}}},_renderYearText:function(l,e,n,i){var r=l.getModel("yearLabel");if(!r.get("show"))return;var a=r.get("margin"),t=r.get("position");t||(t=n!=="horizontal"?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(s[0][0]+s[1][0])/2,d=(s[0][1]+s[1][1])/2,v=n==="horizontal"?0:1,y={top:[u,s[v][1]],bottom:[u,s[1-v][1]],left:[s[1-v][0],d],right:[s[v][0],d]},S=e.start.y;+e.end.y>+e.start.y&&(S=S+"-"+e.end.y);var b=r.get("formatter"),E={start:e.start.y,end:e.end.y,nameMap:S},C=this._formatterLabel(b,E),T=new A.Text({z2:30});A.setTextStyle(T.style,r,{text:C}),T.attr(this._yearTextPositionControl(T,y[t],n,t,a)),i.add(T)},_monthTextPositionControl:function(l,e,n,i,r){var a="left",t="top",s=l[0],u=l[1];return n==="horizontal"?(u=u+r,e&&(a="center"),i==="start"&&(t="bottom")):(s=s+r,e&&(t="middle"),i==="start"&&(a="right")),{x:s,y:u,textAlign:a,textVerticalAlign:t}},_renderMonthText:function(l,e,n){var i=l.getModel("monthLabel");if(!i.get("show"))return;var r=i.get("nameMap"),a=i.get("margin"),t=i.get("position"),s=i.get("align"),u=[this._tlpoints,this._blpoints];f.isString(r)&&(r=p[r.toUpperCase()]||[]);var d=t==="start"?0:1,v=e==="horizontal"?0:1;a=t==="start"?-a:a;for(var y=s==="center",S=0;S<u[d].length-1;S++){var b=u[d][S].slice(),E=this._firstDayOfMonth[S];if(y){var C=this._firstDayPoints[S];b[v]=(C[v]+u[0][S+1][v])/2}var T=i.get("formatter"),x=r[+E.m-1],_={yyyy:E.y,yy:(E.y+"").slice(2),MM:E.m,M:+E.m,nameMap:x},I=this._formatterLabel(T,_),L=new A.Text({z2:30});f.extend(A.setTextStyle(L.style,i,{text:I}),this._monthTextPositionControl(b,y,e,t,a)),n.add(L)}},_weekTextPositionControl:function(l,e,n,i,r){var a="center",t="middle",s=l[0],u=l[1],d=n==="start";return e==="horizontal"?(s=s+i+(d?1:-1)*r[0]/2,a=d?"right":"left"):(u=u+i+(d?1:-1)*r[1]/2,t=d?"bottom":"top"),{x:s,y:u,textAlign:a,textVerticalAlign:t}},_renderWeekText:function(l,e,n,i){var r=l.getModel("dayLabel");if(!r.get("show"))return;var a=l.coordinateSystem,t=r.get("position"),s=r.get("nameMap"),u=r.get("margin"),d=a.getFirstDayOfWeek();f.isString(s)&&(s=c[s.toUpperCase()]||[]);var v=a.getNextNDay(e.end.time,7-e.lweek).time,y=[a.getCellWidth(),a.getCellHeight()];u=g.parsePercent(u,y[n==="horizontal"?0:1]),t==="start"&&(v=a.getNextNDay(e.start.time,-(7+e.fweek)).time,u=-u);for(var S=0;S<7;S++){var b=a.getNextNDay(v,S),E=a.dataToRect([b.time],!1).center,C=S;C=Math.abs((S+d)%7);var T=new A.Text({z2:30});f.extend(A.setTextStyle(T.style,r,{text:s[C]}),this._weekTextPositionControl(E,n,t,u,y)),i.add(T)}}});M.exports=h},"7oTu":function(M,B,o){var w=o("IMiH"),f=o("QBsz"),A=f.applyTransform,m=w.CMD,g=[[],[],[]],p=Math.sqrt,c=Math.atan2;function h(l,e){var n=l.data,i,r,a,t,s,u,d=m.M,v=m.C,y=m.L,S=m.R,b=m.A,E=m.Q;for(a=0,t=0;a<n.length;){i=n[a++],t=a,r=0;switch(i){case d:r=1;break;case y:r=1;break;case v:r=3;break;case E:r=2;break;case b:var C=e[4],T=e[5],x=p(e[0]*e[0]+e[1]*e[1]),_=p(e[2]*e[2]+e[3]*e[3]),I=c(-e[1]/_,e[0]/x);n[a]*=x,n[a++]+=C,n[a]*=_,n[a++]+=T,n[a++]*=x,n[a++]*=_,n[a++]+=I,n[a++]+=I,a+=2,t=a;break;case S:u[0]=n[a++],u[1]=n[a++],A(u,u,e),n[t++]=u[0],n[t++]=u[1],u[0]+=n[a++],u[1]+=n[a++],A(u,u,e),n[t++]=u[0],n[t++]=u[1]}for(s=0;s<r;s++){var u=g[s];u[0]=n[a++],u[1]=n[a++],A(u,u,e),n[t++]=u[0],n[t++]=u[1]}}}M.exports=h},"7pVf":function(M,B,o){var w=o("ProS"),f=o("ZqQs");o("oE7X"),o("OUJF"),o("3X6L"),o("NH9N"),w.registerPreprocessor(f)},"7ph2":function(M,B){function o(A){return A instanceof Array||(A=[A,A]),A}var w="lineStyle.opacity".split("."),f={seriesType:"lines",reset:function(A,m,g){var p=o(A.get("symbol")),c=o(A.get("symbolSize")),h=A.getData();h.setVisual("fromSymbol",p&&p[0]),h.setVisual("toSymbol",p&&p[1]),h.setVisual("fromSymbolSize",c&&c[0]),h.setVisual("toSymbolSize",c&&c[1]),h.setVisual("opacity",A.get(w));function l(e,n){var i=e.getItemModel(n),r=o(i.getShallow("symbol",!0)),a=o(i.getShallow("symbolSize",!0)),t=i.get(w);r[0]&&e.setItemVisual(n,"fromSymbol",r[0]),r[1]&&e.setItemVisual(n,"toSymbol",r[1]),a[0]&&e.setItemVisual(n,"fromSymbolSize",a[0]),a[1]&&e.setItemVisual(n,"toSymbolSize",a[1]),e.setItemVisual(n,"opacity",t)}return{dataEach:h.hasItemOption?l:null}}};M.exports=f},"7uqq":function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("ProS"),m=o("bYtY"),g=o("AUH6"),p=o("+TT/"),c=o("OELB"),h=o("W4dC"),l=o("7DRL");function e(a,t){var s=a.get("boundingCoords");if(s!=null){var u=s[0],d=s[1];isNaN(u[0])||isNaN(u[1])||isNaN(d[0])||isNaN(d[1])||this.setBoundingRect(u[0],u[1],d[0]-u[0],d[1]-u[1])}var v=this.getBoundingRect(),y,S=a.get("layoutCenter"),b=a.get("layoutSize"),E=t.getWidth(),C=t.getHeight(),T=v.width/v.height*this.aspectScale,x=!1;S&&b&&(S=[c.parsePercent(S[0],E),c.parsePercent(S[1],C)],b=c.parsePercent(b,Math.min(E,C)),!isNaN(S[0])&&!isNaN(S[1])&&!isNaN(b)&&(x=!0));var _;if(x){var _={};T>1?(_.width=b,_.height=b/T):(_.height=b,_.width=b*T),_.y=S[1]-_.height/2,_.x=S[0]-_.width/2}else y=a.getBoxLayoutParams(),y.aspect=T,_=p.getLayoutRect(y,{width:E,height:C});this.setViewRect(_.x,_.y,_.width,_.height),this.setCenter(a.get("center")),this.setZoom(a.get("zoom"))}function n(a,t){m.each(t.get("geoCoord"),function(s,u){a.addGeoCoord(u,s)})}var i={dimensions:g.prototype.dimensions,create:function(a,t){var s=[];a.eachComponent("geo",function(d,v){var y=d.get("map"),S=d.get("aspectScale"),b=!0,E=l.retrieveMap(y);E&&E[0]&&E[0].type==="svg"?(S==null&&(S=1),b=!1):S==null&&(S=.75);var C=new g(y+v,y,d.get("nameMap"),b);C.aspectScale=S,C.zoomLimit=d.get("scaleLimit"),s.push(C),n(C,d),d.coordinateSystem=C,C.model=d,C.resize=e,C.resize(d,t)}),a.eachSeries(function(d){var v=d.get("coordinateSystem");if(v==="geo"){var y=d.get("geoIndex")||0;d.coordinateSystem=s[y]}});var u={};return a.eachSeriesByType("map",function(d){if(!d.getHostGeoModel()){var v=d.getMapType();u[v]=u[v]||[],u[v].push(d)}}),m.each(u,function(d,v){var y=m.map(d,function(b){return b.get("nameMap")}),S=new g(v,v,m.mergeAll(y));S.zoomLimit=m.retrieve.apply(null,m.map(d,function(b){return b.get("scaleLimit")})),s.push(S),S.resize=e,S.aspectScale=d[0].get("aspectScale"),S.resize(d[0],t),m.each(d,function(b){b.coordinateSystem=S,n(S,b)})}),s},getFilledRegions:function(a,t,s){for(var u=(a||[]).slice(),d=m.createHashMap(),v=0;v<u.length;v++)d.set(u[v].name,u[v]);var y=h.load(t,s);return m.each(y.regions,function(S){var b=S.name;!d.get(b)&&u.push({name:b})}),u}};A.registerCoordinateSystem("geo",i);var r=i;M.exports=r},"7yuC":function(M,B,o){var w=o("QBsz"),f=w.scaleAndAdd;function A(m,g,p){for(var c=p.rect,h=c.width,l=c.height,e=[c.x+h/2,c.y+l/2],n=p.gravity==null?.1:p.gravity,i=0;i<m.length;i++){var r=m[i];r.p||(r.p=w.create(h*(Math.random()-.5)+e[0],l*(Math.random()-.5)+e[1])),r.pp=w.clone(r.p),r.edges=null}var a=p.friction==null?.6:p.friction,t=a;return{warmUp:function(){t=a*.8},setFixed:function(s){m[s].fixed=!0},setUnfixed:function(s){m[s].fixed=!1},step:function(s){for(var u=[],d=m.length,v=0;v<g.length;v++){var y=g[v];if(y.ignoreForceLayout)continue;var S=y.n1,b=y.n2;w.sub(u,b.p,S.p);var E=w.len(u)-y.d,C=b.w/(S.w+b.w);isNaN(C)&&(C=0),w.normalize(u,u),!S.fixed&&f(S.p,S.p,u,C*E*t),!b.fixed&&f(b.p,b.p,u,-(1-C)*E*t)}for(var v=0;v<d;v++){var T=m[v];T.fixed||(w.sub(u,e,T.p),f(T.p,T.p,u,n*t))}for(var v=0;v<d;v++)for(var S=m[v],x=v+1;x<d;x++){var b=m[x];w.sub(u,b.p,S.p);var E=w.len(u);E===0&&(w.set(u,Math.random()-.5,Math.random()-.5),E=1);var _=(S.rep+b.rep)/E/E;!S.fixed&&f(S.pp,S.pp,u,_),!b.fixed&&f(b.pp,b.pp,u,-_)}for(var I=[],v=0;v<d;v++){var T=m[v];T.fixed||(w.sub(I,T.p,T.pp),f(T.p,T.p,I,t),w.copy(T.pp,T.p))}t=t*.992,s&&s(m,g,t<.01)}}}B.forceLayout=A},"8+yF":function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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(m){if(m>=32&&m<=255)return m;var g=w[m];return g!==void 0?g:16777216|m}};B.default=f},"815F":function(M,B,o){"use strict";o.d(B,"e",function(){return l}),o.d(B,"c",function(){return n}),o.d(B,"d",function(){return i}),o.d(B,"a",function(){return a}),o.d(B,"f",function(){return t}),o.d(B,"b",function(){return s});var w=o("U8pU"),f=o("KQm4"),A=o("VTBJ"),m=o("Ff2n"),g=o("Zm9Q"),p=o("Kwbf"),c=o("OZM5"),h=["children"];function l(u,d){return u!=null?u:d}function e(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=new Map;function v(y){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(y||[]).forEach(function(b){var E=b.key,C=b.children;Object(p.a)(E!=null,"Tree node must have a certain key: [".concat(S).concat(E,"]"));var T=String(E);Object(p.a)(!d.has(T)||E===null||E===void 0,"Same 'key' exist in the Tree: ".concat(T)),d.set(T,!0),v(C,"".concat(S).concat(T," > "))})}v(u)}function n(u){function d(v){var y=Object(g.a)(v);return y.map(function(S){if(!Object(c.i)(S))return Object(p.a)(!S,"Tree/TreeNode can only accept TreeNode as children."),null;var b=S.key,E=S.props,C=E.children,T=Object(m.a)(E,h),x=Object(A.a)({key:b},T),_=d(C);return _.length&&(x.children=_),x}).filter(function(S){return S})}return d(u)}function i(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],v=new Set(d===!0?[]:d),y=[];function S(b){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return b.map(function(C,T){var x=Object(c.h)(E?E.pos:"0",T),_=l(C.key,x),I=Object(A.a)(Object(A.a)({},C),{},{parent:E,pos:x,children:null,data:C,isStart:[].concat(Object(f.a)(E?E.isStart:[]),[T===0]),isEnd:[].concat(Object(f.a)(E?E.isEnd:[]),[T===b.length-1])});return y.push(I),d===!0||v.has(_)?I.children=S(C.children||[],I):I.children=[],I})}return S(u),y}function r(u,d,v){var y=null,S,b=Object(w.a)(v);b==="function"||b==="string"?y=v:v&&b==="object"&&(S=v.childrenPropName,y=v.externalGetKey),S=S||"children";var E;y?typeof y=="string"?E=function(x){return x[y]}:typeof y=="function"&&(E=function(x){return y(x)}):E=function(x,_){return l(x.key,_)};function C(T,x,_){var I=T?T[S]:u,L=T?Object(c.h)(_.pos,x):"0";if(T){var R=E(T,L),k={node:T,index:x,pos:L,key:R,parentPos:_.node?_.pos:null,level:_.level+1};d(k)}I&&I.forEach(function(F,P){C(F,P,{node:T,pos:L,level:_?_.level+1:-1})})}C(null)}function a(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=d.initWrapper,y=d.processEntity,S=d.onProcessFinished,b=d.externalGetKey,E=d.childrenPropName,C=arguments.length>2?arguments[2]:void 0,T=b||C,x={},_={},I={posEntities:x,keyEntities:_};return v&&(I=v(I)||I),r(u,function(L){var R=L.node,k=L.index,F=L.pos,P=L.key,W=L.parentPos,D=L.level,U={node:R,index:k,key:P,pos:F,level:D},H=l(P,F);x[F]=U,_[H]=U,U.parent=x[W],U.parent&&(U.parent.children=U.parent.children||[],U.parent.children.push(U)),y&&y(U,I)},{externalGetKey:T,childrenPropName:E}),S&&S(I),I}function t(u,d){var v=d.expandedKeys,y=d.selectedKeys,S=d.loadedKeys,b=d.loadingKeys,E=d.checkedKeys,C=d.halfCheckedKeys,T=d.dragOverNodeKey,x=d.dropPosition,_=d.keyEntities,I=_[u],L={eventKey:u,expanded:v.indexOf(u)!==-1,selected:y.indexOf(u)!==-1,loaded:S.indexOf(u)!==-1,loading:b.indexOf(u)!==-1,checked:E.indexOf(u)!==-1,halfChecked:C.indexOf(u)!==-1,pos:String(I?I.pos:""),dragOver:T===u&&x===0,dragOverGapTop:T===u&&x===-1,dragOverGapBottom:T===u&&x===1};return L}function s(u){var d=u.data,v=u.expanded,y=u.selected,S=u.checked,b=u.loaded,E=u.loading,C=u.halfChecked,T=u.dragOver,x=u.dragOverGapTop,_=u.dragOverGapBottom,I=u.pos,L=u.active,R=Object(A.a)(Object(A.a)({},d),{},{expanded:v,selected:y,checked:S,loaded:b,loading:E,halfChecked:C,dragOver:T,dragOverGapTop:x,dragOverGapBottom:_,pos:I,active:L});return"props"in R||Object.defineProperty(R,"props",{get:function(){return Object(p.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),u}}),R}},"8CQX":function(M,B,o){"use strict";function w(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(s){return typeof s}:w=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},w(a)}Object.defineProperty(B,"__esModule",{value:!0}),B.getKeycode=n,B.getKey=i,B.getKeysym=r;var f=e(o("mHUz")),A=e(o("8+yF")),m=e(o("6Qwc")),g=e(o("gIYZ")),p=e(o("mTgk")),c=l(o("GdRQ"));function h(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return h=function(){return a},a}function l(a){if(a&&a.__esModule)return a;if(a===null||w(a)!=="object"&&typeof a!="function")return{default:a};var t=h();if(t&&t.has(a))return t.get(a);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var v=u?Object.getOwnPropertyDescriptor(a,d):null;v&&(v.get||v.set)?Object.defineProperty(s,d,v):s[d]=a[d]}return s.default=a,t&&t.set(a,s),s}function e(a){return a&&a.__esModule?a:{default:a}}function n(a){if(a.code){switch(a.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return a.code}if(a.type!=="keypress"&&a.keyCode in m.default){var t=m.default[a.keyCode];if(c.isMac()&&t==="ContextMenu"&&(t="MetaRight"),a.location===2)switch(t){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(a.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 i(a){if(a.key!==void 0){switch(a.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 a.char}switch(a.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(a.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(a.key==="\0"&&a.code==="NumpadDecimal")return"Delete";if(!c.isIE()&&!c.isEdge())return a.key;if(a.key.length!==1&&a.key!=="Unidentified")return a.key}var t=n(a);return t in g.default?g.default[t]:a.charCode?String.fromCharCode(a.charCode):"Unidentified"}function r(a){var t=i(a);if(t==="Unidentified")return null;if(t in p.default){var s=a.location;if(t==="Meta"&&s===0&&(s=2),t==="Clear"&&s===3){var u=n(a);u==="NumLock"&&(s=0)}if((s===void 0||s>3)&&(s=0),t==="Meta"){var d=n(a);if(d==="AltLeft")return f.default.XK_Meta_L;if(d==="AltRight")return f.default.XK_Meta_R}if(t==="Clear"){var v=n(a);if(v==="NumLock")return f.default.XK_Num_Lock}return p.default[t][s]}if(t.length!==1)return null;var y=t.charCodeAt();return y?A.default.lookup(y):null}},"8EBN":function(M,B,o){(function(w){w(o("VrN/"))})(function(w){"use strict";w.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<w.modeInfo.length;f++){var A=w.modeInfo[f];A.mimes&&(A.mime=A.mimes[0])}w.findModeByMIME=function(m){m=m.toLowerCase();for(var g=0;g<w.modeInfo.length;g++){var p=w.modeInfo[g];if(p.mime==m)return p;if(p.mimes){for(var c=0;c<p.mimes.length;c++)if(p.mimes[c]==m)return p}}if(/\+xml$/.test(m))return w.findModeByMIME("application/xml");if(/\+json$/.test(m))return w.findModeByMIME("application/json")},w.findModeByExtension=function(m){m=m.toLowerCase();for(var g=0;g<w.modeInfo.length;g++){var p=w.modeInfo[g];if(p.ext){for(var c=0;c<p.ext.length;c++)if(p.ext[c]==m)return p}}},w.findModeByFileName=function(m){for(var g=0;g<w.modeInfo.length;g++){var p=w.modeInfo[g];if(p.file&&p.file.test(m))return p}var c=m.lastIndexOf("."),h=c>-1&&m.substring(c+1,m.length);if(h)return w.findModeByExtension(h)},w.findModeByName=function(m){m=m.toLowerCase();for(var g=0;g<w.modeInfo.length;g++){var p=w.modeInfo[g];if(p.name.toLowerCase()==m)return p;if(p.alias){for(var c=0;c<p.alias.length;c++)if(p.alias[c].toLowerCase()==m)return p}}}})},"8K/p":function(M,B,o){"use strict";function w(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(r){return typeof r}:w=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},w(n)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var f=p(o("Lo0S")),A=m(o("ItS6"));function m(n){return n&&n.__esModule?n:{default:n}}function g(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return g=function(){return n},n}function p(n){if(n&&n.__esModule)return n;if(n===null||w(n)!=="object"&&typeof n!="function")return{default:n};var i=g();if(i&&i.has(n))return i.get(n);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t)){var s=a?Object.getOwnPropertyDescriptor(n,t):null;s&&(s.get||s.set)?Object.defineProperty(r,t,s):r[t]=n[t]}return r.default=n,i&&i.set(n,r),r}function c(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}function h(n,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(n,a.key,a)}}function l(n,i,r){return i&&h(n.prototype,i),r&&h(n,r),n}var e=function(){function n(){c(this,n),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var i=0;i<4;i++)this._zlibs[i]=new A.default}return l(n,[{key:"decodeRect",value:function(r,a,t,s,u,d,v){if(this._ctl===null){if(u.rQwait("TIGHT compression-control",1))return!1;this._ctl=u.rQshift8();for(var y=0;y<4;y++)this._ctl>>y&1&&(this._zlibs[y].reset(),f.Info("Reset zlib stream "+y));this._ctl=this._ctl>>4}var S;if(this._ctl===8)S=this._fillRect(r,a,t,s,u,d,v);else if(this._ctl===9)S=this._jpegRect(r,a,t,s,u,d,v);else if(this._ctl===10)S=this._pngRect(r,a,t,s,u,d,v);else if((this._ctl&128)==0)S=this._basicRect(this._ctl,r,a,t,s,u,d,v);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return S&&(this._ctl=null),S}},{key:"_fillRect",value:function(r,a,t,s,u,d,v){if(u.rQwait("TIGHT",3))return!1;var y=u.rQi,S=u.rQ;return d.fillRect(r,a,t,s,[S[y+2],S[y+1],S[y]],!1),u.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(r,a,t,s,u,d,v){var y=this._readData(u);return y===null?!1:(d.imageRect(r,a,t,s,"image/jpeg",y),!0)}},{key:"_pngRect",value:function(r,a,t,s,u,d,v){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(r,a,t,s,u,d,v,y){if(this._filter===null)if(r&4){if(d.rQwait("TIGHT",1))return!1;this._filter=d.rQshift8()}else this._filter=0;var S=r&3,b;switch(this._filter){case 0:b=this._copyFilter(S,a,t,s,u,d,v,y);break;case 1:b=this._paletteFilter(S,a,t,s,u,d,v,y);break;case 2:b=this._gradientFilter(S,a,t,s,u,d,v,y);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return b&&(this._filter=null),b}},{key:"_copyFilter",value:function(r,a,t,s,u,d,v,y){var S=s*u*3,b;if(S<12){if(d.rQwait("TIGHT",S))return!1;b=d.rQshiftBytes(S)}else{if(b=this._readData(d),b===null)return!1;this._zlibs[r].setInput(b),b=this._zlibs[r].inflate(S),this._zlibs[r].setInput(null)}return v.blitRgbImage(a,t,s,u,b,0,!1),!0}},{key:"_paletteFilter",value:function(r,a,t,s,u,d,v,y){if(this._numColors===0){if(d.rQwait("TIGHT palette",1))return!1;var S=d.rQpeek8()+1,b=S*3;if(d.rQwait("TIGHT palette",1+b))return!1;this._numColors=S,d.rQskipBytes(1),d.rQshiftTo(this._palette,b)}var E=this._numColors<=2?1:8,C=Math.floor((s*E+7)/8),T=C*u,x;if(T<12){if(d.rQwait("TIGHT",T))return!1;x=d.rQshiftBytes(T)}else{if(x=this._readData(d),x===null)return!1;this._zlibs[r].setInput(x),x=this._zlibs[r].inflate(T),this._zlibs[r].setInput(null)}return this._numColors==2?this._monoRect(a,t,s,u,x,this._palette,v):this._paletteRect(a,t,s,u,x,this._palette,v),this._numColors=0,!0}},{key:"_monoRect",value:function(r,a,t,s,u,d,v){for(var y=this._getScratchBuffer(t*s*4),S=Math.floor((t+7)/8),b=Math.floor(t/8),E=0;E<s;E++){var C=void 0,T=void 0,x=void 0;for(x=0;x<b;x++)for(var _=7;_>=0;_--)C=(E*t+x*8+7-_)*4,T=(u[E*S+x]>>_&1)*3,y[C]=d[T],y[C+1]=d[T+1],y[C+2]=d[T+2],y[C+3]=255;for(var I=7;I>=8-t%8;I--)C=(E*t+x*8+7-I)*4,T=(u[E*S+x]>>I&1)*3,y[C]=d[T],y[C+1]=d[T+1],y[C+2]=d[T+2],y[C+3]=255}v.blitRgbxImage(r,a,t,s,y,0,!1)}},{key:"_paletteRect",value:function(r,a,t,s,u,d,v){for(var y=this._getScratchBuffer(t*s*4),S=t*s*4,b=0,E=0;b<S;b+=4,E++){var C=u[E]*3;y[b]=d[C],y[b+1]=d[C+1],y[b+2]=d[C+2],y[b+3]=255}v.blitRgbxImage(r,a,t,s,y,0,!1)}},{key:"_gradientFilter",value:function(r,a,t,s,u,d,v,y){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(r){if(this._len===0){if(r.rQwait("TIGHT",3))return null;var a;a=r.rQshift8(),this._len=a&127,a&128&&(a=r.rQshift8(),this._len|=(a&127)<<7,a&128&&(a=r.rQshift8(),this._len|=a<<14))}if(r.rQwait("TIGHT",this._len))return null;var t=r.rQshiftBytes(this._len);return this._len=0,t}},{key:"_getScratchBuffer",value:function(r){return(!this._scratchBuffer||this._scratchBuffer.length<r)&&(this._scratchBuffer=new Uint8Array(r)),this._scratchBuffer}}]),n}();B.default=e},"8OUc":function(M,B,o){"use strict";var w=o("q1tI"),f=o.n(w),A=o("TSYQ"),m=o.n(A),g=function(c){var h=c.className,l=c.customizeIcon,e=c.customizeIconProps,n=c.onMouseDown,i=c.onClick,r=c.children,a;return typeof l=="function"?a=l(e):a=l,w.createElement("span",{className:h,onMouseDown:function(s){s.preventDefault(),n&&n(s)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},a!==void 0?a:w.createElement("span",{className:m()(h.split(/\s+/).map(function(t){return"".concat(t,"-icon")}))},r))};B.a=g},"8SMY":function(M,B,o){var w=o("n4Lv"),f=w.prepareDataCoordInfo,A=w.getStackedOnPoint;function m(p,c){var h=[];return c.diff(p).add(function(l){h.push({cmd:"+",idx:l})}).update(function(l,e){h.push({cmd:"=",idx:e,idx1:l})}).remove(function(l){h.push({cmd:"-",idx:l})}).execute(),h}function g(p,c,h,l,e,n,i,r){for(var a=m(p,c),t=[],s=[],u=[],d=[],v=[],y=[],S=[],b=f(e,c,i),E=f(n,p,r),C=0;C<a.length;C++){var T=a[C],x=!0;switch(T.cmd){case"=":var _=p.getItemLayout(T.idx),I=c.getItemLayout(T.idx1);(isNaN(_[0])||isNaN(_[1]))&&(_=I.slice()),t.push(_),s.push(I),u.push(h[T.idx]),d.push(l[T.idx1]),S.push(c.getRawIndex(T.idx1));break;case"+":var L=T.idx;t.push(e.dataToPoint([c.get(b.dataDimsForPoint[0],L),c.get(b.dataDimsForPoint[1],L)])),s.push(c.getItemLayout(L).slice()),u.push(A(b,e,c,L)),d.push(l[L]),S.push(c.getRawIndex(L));break;case"-":var L=T.idx,R=p.getRawIndex(L);R!==L?(t.push(p.getItemLayout(L)),s.push(n.dataToPoint([p.get(E.dataDimsForPoint[0],L),p.get(E.dataDimsForPoint[1],L)])),u.push(h[L]),d.push(A(E,n,p,L)),S.push(R)):x=!1}x&&(v.push(T),y.push(y.length))}y.sort(function(U,H){return S[U]-S[H]});for(var k=[],F=[],P=[],W=[],D=[],C=0;C<y.length;C++){var L=y[C];k[C]=t[L],F[C]=s[L],P[C]=u[L],W[C]=d[L],D[C]=v[L]}return{current:k,next:F,stackedOnCurrent:P,stackedOnNext:W,status:D}}M.exports=g},"8Skl":function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="DownOutlined";var c=B.a=f.forwardRef(p)},"8Th4":function(M,B,o){var w=o("3LNs"),f=o("/y7N"),A=o("7bkD"),m=o("Znkb"),g=["x","y"],p=["width","height"],c=w.extend({makeElOption:function(i,r,a,t,s){var u=a.axis,d=u.coordinateSystem,v=e(d,1-l(u)),y=d.dataToPoint(r)[0],S=t.get("type");if(S&&S!=="none"){var b=f.buildElStyle(t),E=h[S](u,y,v);E.style=b,i.graphicKey=E.type,i.pointer=E}var C=A.layout(a);f.buildCartesianSingleLabelElOption(r,i,C,a,t,s)},getHandleTransform:function(i,r,a){var t=A.layout(r,{labelInside:!1});return t.labelMargin=a.get("handle.margin"),{position:f.getTransformedPosition(r.axis,i,t),rotation:t.rotation+(t.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(i,r,a,t){var s=a.axis,u=s.coordinateSystem,d=l(s),v=e(u,d),y=i.position;y[d]+=r[d],y[d]=Math.min(v[1],y[d]),y[d]=Math.max(v[0],y[d]);var S=e(u,1-d),b=(S[1]+S[0])/2,E=[b,b];return E[d]=y[d],{position:y,rotation:i.rotation,cursorPoint:E,tooltipOption:{verticalAlign:"middle"}}}}),h={line:function(i,r,a){var t=f.makeLineShape([r,a[0]],[r,a[1]],l(i));return{type:"Line",subPixelOptimize:!0,shape:t}},shadow:function(i,r,a){var t=i.getBandWidth(),s=a[1]-a[0];return{type:"Rect",shape:f.makeRectShape([r-t/2,a[0]],[t,s],l(i))}}};function l(i){return i.isHorizontal()?0:1}function e(i,r){var a=i.getRect();return[a[g[r]],a[g[r]]+a[p[r]]]}m.registerAxisPointerClass("SingleAxisPointer",c);var n=c;M.exports=n},"8Uz6":function(M,B,o){var w=o("hNWo"),f=o("+TT/"),A=f.mergeLayoutParam,m=f.getLayoutParams,g=w.extend({type:"legend.scroll",setScrollDataIndex:function(h){this.option.scrollDataIndex=h},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(h,l,e,n){var i=m(h);g.superCall(this,"init",h,l,e,n),p(this,h,i)},mergeOption:function(h,l){g.superCall(this,"mergeOption",h,l),p(this,this.option,h)}});function p(h,l,e){var n=h.getOrient(),i=[1,1];i[n.index]=0,A(l,e,{type:"box",ignoreSize:i})}var c=g;M.exports=c},"8X+K":function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=o("4mN7"),g=m.fromPoints,p=o("9wZj"),c=o("FBjb"),h=o("8SMY"),l=o("IwbS"),e=o("4NO4"),n=o("1NG9"),i=n.Polyline,r=n.Polygon,a=o("6Ic6"),t=o("n4Lv"),s=t.prepareDataCoordInfo,u=t.getStackedOnPoint,d=o("sK/D"),v=d.createGridClipPath,y=d.createPolarClipPath;function S(k,F){if(k.length!==F.length)return;for(var P=0;P<k.length;P++){var W=k[P],D=F[P];if(W[0]!==D[0]||W[1]!==D[1])return}return!0}function b(k,F){var P=[],W=[],D=[],U=[];return g(k,P,W),g(F,D,U),Math.max(Math.abs(P[0]-D[0]),Math.abs(P[1]-D[1]),Math.abs(W[0]-U[0]),Math.abs(W[1]-U[1]))}function E(k){return typeof k=="number"?k:k?.5:0}function C(k,F,P){if(!P.valueDim)return[];for(var W=[],D=0,U=F.count();D<U;D++)W.push(u(P,k,F,D));return W}function T(k,F,P){for(var W=F.getBaseAxis(),D=W.dim==="x"||W.dim==="radius"?0:1,U=[],H=0;H<k.length-1;H++){var j=k[H+1],K=k[H];U.push(K);var X=[];switch(P){case"end":X[D]=j[D],X[1-D]=K[1-D],U.push(X);break;case"middle":var z=(K[D]+j[D])/2,Y=[];X[D]=Y[D]=z,X[1-D]=K[1-D],Y[1-D]=j[1-D],U.push(X),U.push(Y);break;default:X[D]=K[D],X[1-D]=j[1-D],U.push(X)}}return k[H]&&U.push(k[H]),U}function x(k,F){var P=k.getVisual("visualMeta");if(!P||!P.length||!k.count())return;if(F.type!=="cartesian2d")return;for(var W,D,U=P.length-1;U>=0;U--){var H=P[U].dimension,j=k.dimensions[H],K=k.getDimensionInfo(j);if(W=K&&K.coordDim,W==="x"||W==="y"){D=P[U];break}}if(!D)return;var X=F.getAxis(W),z=A.map(D.stops,function(be){return{coord:X.toGlobalCoord(X.dataToCoord(be.value)),color:be.color}}),Y=z.length,$=D.outerColors.slice();Y&&z[0].coord>z[Y-1].coord&&(z.reverse(),$.reverse());var ne=10,J=z[0].coord-ne,ge=z[Y-1].coord+ne,de=ge-J;if(de<.001)return"transparent";A.each(z,function(be){be.offset=(be.coord-J)/de}),z.push({offset:Y?z[Y-1].offset:.5,color:$[1]||"transparent"}),z.unshift({offset:Y?z[0].offset:.5,color:$[0]||"transparent"});var Ie=new l.LinearGradient(0,0,0,0,z,!0);return Ie[W]=J,Ie[W+"2"]=ge,Ie}function _(k,F,P){var W=k.get("showAllSymbol"),D=W==="auto";if(W&&!D)return;var U=P.getAxesByScale("ordinal")[0];if(!U)return;if(D&&I(U,F))return;var H=F.mapDimension(U.dim),j={};return A.each(U.getViewLabels(),function(K){j[K.tickValue]=1}),function(K){return!j.hasOwnProperty(F.get(H,K))}}function I(k,F){var P=k.getExtent(),W=Math.abs(P[1]-P[0])/k.scale.count();isNaN(W)&&(W=0);for(var D=F.count(),U=Math.max(1,Math.round(D/5)),H=0;H<D;H+=U)if(c.getSymbolSize(F,H)[k.isHorizontal()?1:0]*1.5>W)return!1;return!0}function L(k,F,P){if(k.type==="cartesian2d"){var W=k.getBaseAxis().isHorizontal(),D=v(k,F,P);if(!P.get("clip",!0)){var U=D.shape,H=Math.max(U.width,U.height);W?(U.y-=H,U.height+=H*2):(U.x-=H,U.width+=H*2)}return D}else return y(k,F,P)}var R=a.extend({type:"line",init:function(){var k=new l.Group,F=new p;this.group.add(F.group),this._symbolDraw=F,this._lineGroup=k},render:function(k,F,P){var W=k.coordinateSystem,D=this.group,U=k.getData(),H=k.getModel("lineStyle"),j=k.getModel("areaStyle"),K=U.mapArray(U.getItemLayout),X=W.type==="polar",z=this._coordSys,Y=this._symbolDraw,$=this._polyline,ne=this._polygon,J=this._lineGroup,ge=k.get("animation"),de=!j.isEmpty(),Ie=j.get("origin"),be=s(W,U,Ie),Ce=C(W,U,be),je=k.get("showSymbol"),te=je&&!X&&_(k,U,W),ve=this._data;ve&&ve.eachItemGraphicEl(function(ue,Ne){ue.__temp&&(D.remove(ue),ve.setItemGraphicEl(Ne,null))}),je||Y.remove(),D.add(J);var $e=!X&&k.get("step"),Le;W&&W.getArea&&k.get("clip",!0)&&(Le=W.getArea(),Le.width!=null?(Le.x-=.1,Le.y-=.1,Le.width+=.2,Le.height+=.2):Le.r0&&(Le.r0-=.5,Le.r1+=.5)),this._clipShapeForSymbol=Le,$&&z.type===W.type&&$e===this._step?(de&&!ne?ne=this._newPolygon(K,Ce,W,ge):ne&&!de&&(J.remove(ne),ne=this._polygon=null),J.setClipPath(L(W,!1,k)),je&&Y.updateData(U,{isIgnore:te,clipShape:Le}),U.eachItemGraphicEl(function(ue){ue.stopAnimation(!0)}),(!S(this._stackedOnPoints,Ce)||!S(this._points,K))&&(ge?this._updateAnimation(U,Ce,W,P,$e,Ie):($e&&(K=T(K,W,$e),Ce=T(Ce,W,$e)),$.setShape({points:K}),ne&&ne.setShape({points:K,stackedOnPoints:Ce})))):(je&&Y.updateData(U,{isIgnore:te,clipShape:Le}),$e&&(K=T(K,W,$e),Ce=T(Ce,W,$e)),$=this._newPolyline(K,W,ge),de&&(ne=this._newPolygon(K,Ce,W,ge)),J.setClipPath(L(W,!0,k)));var he=x(U,W)||U.getVisual("color");$.useStyle(A.defaults(H.getLineStyle(),{fill:"none",stroke:he,lineJoin:"bevel"}));var ee=k.get("smooth");if(ee=E(k.get("smooth")),$.setShape({smooth:ee,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")}),ne){var se=U.getCalculationInfo("stackedOnSeries"),Ue=0;ne.useStyle(A.defaults(j.getAreaStyle(),{fill:he,opacity:.7,lineJoin:"bevel"})),se&&(Ue=E(se.get("smooth"))),ne.setShape({smooth:ee,stackedOnSmooth:Ue,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")})}this._data=U,this._coordSys=W,this._stackedOnPoints=Ce,this._points=K,this._step=$e,this._valueOrigin=Ie},dispose:function(){},highlight:function(k,F,P,W){var D=k.getData(),U=e.queryDataIndex(D,W);if(!(U instanceof Array)&&U!=null&&U>=0){var H=D.getItemGraphicEl(U);if(!H){var j=D.getItemLayout(U);if(!j)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(j[0],j[1]))return;H=new c(D,U),H.position=j,H.setZ(k.get("zlevel"),k.get("z")),H.ignore=isNaN(j[0])||isNaN(j[1]),H.__temp=!0,D.setItemGraphicEl(U,H),H.stopSymbolAnimation(!0),this.group.add(H)}H.highlight()}else a.prototype.highlight.call(this,k,F,P,W)},downplay:function(k,F,P,W){var D=k.getData(),U=e.queryDataIndex(D,W);if(U!=null&&U>=0){var H=D.getItemGraphicEl(U);H&&(H.__temp?(D.setItemGraphicEl(U,null),this.group.remove(H)):H.downplay())}else a.prototype.downplay.call(this,k,F,P,W)},_newPolyline:function(k){var F=this._polyline;return F&&this._lineGroup.remove(F),F=new i({shape:{points:k},silent:!0,z2:10}),this._lineGroup.add(F),this._polyline=F,F},_newPolygon:function(k,F){var P=this._polygon;return P&&this._lineGroup.remove(P),P=new r({shape:{points:k,stackedOnPoints:F},silent:!0}),this._lineGroup.add(P),this._polygon=P,P},_updateAnimation:function(k,F,P,W,D,U){var H=this._polyline,j=this._polygon,K=k.hostModel,X=h(this._data,k,this._stackedOnPoints,F,this._coordSys,P,this._valueOrigin,U),z=X.current,Y=X.stackedOnCurrent,$=X.next,ne=X.stackedOnNext;if(D&&(z=T(X.current,P,D),Y=T(X.stackedOnCurrent,P,D),$=T(X.next,P,D),ne=T(X.stackedOnNext,P,D)),b(z,$)>3e3||j&&b(Y,ne)>3e3){H.setShape({points:$}),j&&j.setShape({points:$,stackedOnPoints:ne});return}H.shape.__points=X.current,H.shape.points=z,l.updateProps(H,{shape:{points:$}},K),j&&(j.setShape({points:z,stackedOnPoints:Y}),l.updateProps(j,{shape:{points:$,stackedOnPoints:ne}},K));for(var J=[],ge=X.status,de=0;de<ge.length;de++){var Ie=ge[de].cmd;if(Ie==="="){var be=k.getItemGraphicEl(ge[de].idx1);be&&J.push({el:be,ptIdx:de})}}H.animators&&H.animators.length&&H.animators[0].during(function(){for(var Ce=0;Ce<J.length;Ce++){var je=J[Ce].el;je.attr("position",H.shape.__points[J[Ce].ptIdx])}})},remove:function(k){var F=this.group,P=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),P&&P.eachItemGraphicEl(function(W,D){W.__temp&&(F.remove(W),P.setItemGraphicEl(D,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});M.exports=R},"8XDt":function(M,B,o){o("qH13");var w=o("aX58"),f=w.registerPainter,A=o("6fms");f("vml",A)},"8hn6":function(M,B){var o="#eee",w=function(){return{axisLine:{lineStyle:{color:o}},axisTick:{lineStyle:{color:o}},axisLabel:{textStyle:{color:o}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:o}}}},f=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],A={color:f,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:o},crossStyle:{color:o},label:{color:"#000"}}},legend:{textStyle:{color:o}},textStyle:{color:o},title:{textStyle:{color:o}},toolbox:{iconStyle:{normal:{borderColor:o}}},dataZoom:{textStyle:{color:o}},visualMap:{textStyle:{color:o}},timeline:{lineStyle:{color:o},itemStyle:{normal:{color:f[1]}},label:{normal:{textStyle:{color:o}}},controlStyle:{normal:{color:o,borderColor:o}}},timeAxis:w(),logAxis:w(),valueAxis:w(),categoryAxis:w(),line:{symbol:"circle"},graph:{color:f},gauge:{title:{textStyle:{color:o}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};A.categoryAxis.splitLine.show=!1;var m=A;M.exports=m},"8nMs":function(M,B,o){var w=o("bYtY"),f=o("IwbS"),A=o("+rIm"),m=o("Znkb"),g=o("AVZG"),p=o("WN+l"),c=p.rectCoordAxisBuildSplitArea,h=p.rectCoordAxisHandleRemove,l=["axisLine","axisTickLabel","axisName"],e=["splitArea","splitLine","minorSplitLine"],n=m.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(i,r,a,t){this.group.removeAll();var s=this._axisGroup;if(this._axisGroup=new f.Group,this.group.add(this._axisGroup),!i.get("show"))return;var u=i.getCoordSysModel(),d=g.layout(u,i),v=new A(i,d);w.each(l,v.add,v),this._axisGroup.add(v.getGroup()),w.each(e,function(y){i.get(y+".show")&&this["_"+y](i,u)},this),f.groupTransition(s,this._axisGroup,i),n.superCall(this,"render",i,r,a,t)},remove:function(){h(this)},_splitLine:function(i,r){var a=i.axis;if(a.scale.isBlank())return;var t=i.getModel("splitLine"),s=t.getModel("lineStyle"),u=s.get("color");u=w.isArray(u)?u:[u];for(var d=r.coordinateSystem.getRect(),v=a.isHorizontal(),y=0,S=a.getTicksCoords({tickModel:t}),b=[],E=[],C=s.getLineStyle(),T=0;T<S.length;T++){var x=a.toGlobalCoord(S[T].coord);v?(b[0]=x,b[1]=d.y,E[0]=x,E[1]=d.y+d.height):(b[0]=d.x,b[1]=x,E[0]=d.x+d.width,E[1]=x);var _=y++%u.length,I=S[T].tickValue;this._axisGroup.add(new f.Line({anid:I!=null?"line_"+S[T].tickValue:null,subPixelOptimize:!0,shape:{x1:b[0],y1:b[1],x2:E[0],y2:E[1]},style:w.defaults({stroke:u[_]},C),silent:!0}))}},_minorSplitLine:function(i,r){var a=i.axis,t=i.getModel("minorSplitLine"),s=t.getModel("lineStyle"),u=r.coordinateSystem.getRect(),d=a.isHorizontal(),v=a.getMinorTicksCoords();if(!v.length)return;for(var y=[],S=[],b=s.getLineStyle(),E=0;E<v.length;E++)for(var C=0;C<v[E].length;C++){var T=a.toGlobalCoord(v[E][C].coord);d?(y[0]=T,y[1]=u.y,S[0]=T,S[1]=u.y+u.height):(y[0]=u.x,y[1]=T,S[0]=u.x+u.width,S[1]=T),this._axisGroup.add(new f.Line({anid:"minor_line_"+v[E][C].tickValue,subPixelOptimize:!0,shape:{x1:y[0],y1:y[1],x2:S[0],y2:S[1]},style:b,silent:!0}))}},_splitArea:function(i,r){c(this,this._axisGroup,i,r)}});n.extend({type:"xAxis"}),n.extend({type:"yAxis"})},"8nly":function(M,B,o){var w=o("mFDi"),f=o("4mN7"),A=o("QBsz"),m=o("BlVb");function g(c,h,l){if(this.name=c,this.geometries=h,l)l=[l[0],l[1]];else{var e=this.getBoundingRect();l=[e.x+e.width/2,e.y+e.height/2]}this.center=l}g.prototype={constructor:g,properties:null,getBoundingRect:function(){var c=this._rect;if(c)return c;for(var h=Number.MAX_VALUE,l=[h,h],e=[-h,-h],n=[],i=[],r=this.geometries,a=0;a<r.length;a++){if(r[a].type!=="polygon")continue;var t=r[a].exterior;f.fromPoints(t,n,i),A.min(l,l,n),A.max(e,e,i)}return a===0&&(l[0]=l[1]=e[0]=e[1]=0),this._rect=new w(l[0],l[1],e[0]-l[0],e[1]-l[1])},contain:function(c){var h=this.getBoundingRect(),l=this.geometries;if(!h.contain(c[0],c[1]))return!1;e:for(var e=0,n=l.length;e<n;e++){if(l[e].type!=="polygon")continue;var i=l[e].exterior,r=l[e].interiors;if(m.contain(i,c[0],c[1])){for(var a=0;a<(r?r.length:0);a++)if(m.contain(r[a]))continue e;return!0}}return!1},transformTo:function(c,h,l,e){var n=this.getBoundingRect(),i=n.width/n.height;l?e||(e=l/i):l=i*e;for(var r=new w(c,h,l,e),a=n.calculateTransform(r),t=this.geometries,s=0;s<t.length;s++){if(t[s].type!=="polygon")continue;for(var u=t[s].exterior,d=t[s].interiors,v=0;v<u.length;v++)A.applyTransform(u[v],u[v],a);for(var y=0;y<(d?d.length:0);y++)for(var v=0;v<d[y].length;v++)A.applyTransform(d[y][v],d[y][v],a)}n=this._rect,n.copy(r),this.center=[n.x+n.width/2,n.y+n.height/2]},cloneShallow:function(c){c==null&&(c=this.name);var h=new g(c,this.geometries,this.center);return h._rect=this._rect,h.transformTo=null,h}};var p=g;M.exports=p},"8waO":function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("iLNv"),m=o("ZWlE");o("hJvP"),o("IXyC"),o("xRUu");var g=5;w.extendComponentView({type:"parallel",render:function(h,l,e){this._model=h,this._api=e,this._handlers||(this._handlers={},f.each(p,function(n,i){e.getZr().on(i,this._handlers[i]=f.bind(n,this))},this)),A.createOrUpdate(this,"_throttledDispatchExpand",h.get("axisExpandRate"),"fixRate")},dispose:function(h,l){f.each(this._handlers,function(e,n){l.getZr().off(n,e)}),this._handlers=null},_throttledDispatchExpand:function(h){this._dispatchExpand(h)},_dispatchExpand:function(h){h&&this._api.dispatchAction(f.extend({type:"parallelAxisExpand"},h))}});var p={mousedown:function(h){c(this,"click")&&(this._mouseDownPoint=[h.offsetX,h.offsetY])},mouseup:function(h){var l=this._mouseDownPoint;if(c(this,"click")&&l){var e=[h.offsetX,h.offsetY],n=Math.pow(l[0]-e[0],2)+Math.pow(l[1]-e[1],2);if(n>g)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([h.offsetX,h.offsetY]);i.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(h){if(this._mouseDownPoint||!c(this,"mousemove"))return;var l=this._model,e=l.coordinateSystem.getSlidedAxisExpandWindow([h.offsetX,h.offsetY]),n=e.behavior;n==="jump"&&this._throttledDispatchExpand.debounceNextCall(l.get("axisExpandDebounce")),this._throttledDispatchExpand(n==="none"?null:{axisExpandWindow:e.axisExpandWindow,animation:n==="jump"?null:!1})}};function c(h,l){var e=h._model;return e.get("axisExpandable")&&e.get("axisExpandTriggerOn")===l}w.registerPreprocessor(m)},"8x+h":function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("ProS"),m=o("bYtY"),g=o("K4ya"),p=o("Qxkt"),c=["#ddd"],h=A.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(n,i){var r=this.option;!i&&g.replaceVisualOption(r,n,["inBrush","outOfBrush"]);var a=r.inBrush=r.inBrush||{};r.outOfBrush=r.outOfBrush||{color:c},a.hasOwnProperty("liftZ")||(a.liftZ=5)},setAreas:function(n){if(!n)return;this.areas=m.map(n,function(i){return l(this.option,i)},this)},setBrushOption:function(n){this.brushOption=l(this.option,n),this.brushType=this.brushOption.brushType}});function l(n,i){return m.merge({brushType:n.brushType,brushMode:n.brushMode,transformable:n.transformable,brushStyle:new p(n.brushStyle).getItemStyle(),removeOnClick:n.removeOnClick,z:n.z},i,!0)}var e=h;M.exports=e},"8z13":function(M,B,o){"use strict";var w=o("wx14"),f=o("VTBJ"),A=o("ODXe"),m=o("Ff2n"),g=o("q1tI"),p=o("TSYQ"),c=o.n(p),h=o("t23M"),l=void 0;function e(x,_){var I=x.prefixCls,L=x.invalidate,R=x.item,k=x.renderItem,F=x.responsive,P=x.registerSize,W=x.itemKey,D=x.className,U=x.style,H=x.children,j=x.display,K=x.order,X=x.component,z=X===void 0?"div":X,Y=Object(m.a)(x,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","className","style","children","display","order","component"]),$=F&&!j;function ne(be){P(W,be)}g.useEffect(function(){return function(){ne(null)}},[]);var J=k&&R!==l?k(R):H,ge;L||(ge={opacity:$?0:1,height:$?0:l,overflowY:$?"hidden":l,order:F?K:l,pointerEvents:$?"none":l,position:$?"absolute":l});var de={};$&&(de["aria-hidden"]=!0);var Ie=g.createElement(z,Object(w.a)({className:c()(!L&&I,D),style:Object(f.a)(Object(f.a)({},ge),U)},de,Y,{ref:_}),J);return F&&(Ie=g.createElement(h.a,{onResize:function(Ce){var je=Ce.offsetWidth;ne(je)}},Ie)),Ie}var n=g.forwardRef(e);n.displayName="Item";var i=n,r=o("wgJM");function a(){var x=Object(g.useState)({}),_=Object(A.a)(x,2),I=_[1],L=Object(g.useRef)([]),R=Object(g.useRef)(!1),k=0,F=0;Object(g.useEffect)(function(){return function(){R.current=!0}},[]);function P(W){var D=k;k+=1,L.current.length<D+1&&(L.current[D]=W);var U=L.current[D];function H(j){L.current[D]=typeof j=="function"?j(L.current[D]):j,r.a.cancel(F),F=Object(r.a)(function(){R.current||I({})})}return[U,H]}return P}var t=function(_,I){var L=g.useContext(d);if(!L){var R=_.component,k=R===void 0?"div":R,F=Object(m.a)(_,["component"]);return g.createElement(k,Object(w.a)({},F,{ref:I}))}var P=L.className,W=Object(m.a)(L,["className"]),D=_.className,U=Object(m.a)(_,["className"]);return g.createElement(d.Provider,{value:null},g.createElement(i,Object(w.a)({ref:I,className:c()(P,D)},W,U)))},s=g.forwardRef(t);s.displayName="RawItem";var u=s,d=g.createContext(null),v="responsive",y="invalidate";function S(x){return"+ ".concat(x.length," ...")}function b(x,_){var I=x.prefixCls,L=I===void 0?"rc-overflow":I,R=x.data,k=R===void 0?[]:R,F=x.renderItem,P=x.renderRawItem,W=x.itemKey,D=x.itemWidth,U=D===void 0?10:D,H=x.ssr,j=x.style,K=x.className,X=x.maxCount,z=x.renderRest,Y=x.renderRawRest,$=x.suffix,ne=x.component,J=ne===void 0?"div":ne,ge=x.itemComponent,de=x.onVisibleChange,Ie=Object(m.a)(x,["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"]),be=a(),Ce=H==="full",je=be(null),te=Object(A.a)(je,2),ve=te[0],$e=te[1],Le=ve||0,he=be(new Map),ee=Object(A.a)(he,2),se=ee[0],Ue=ee[1],ue=be(0),Ne=Object(A.a)(ue,2),Fe=Ne[0],ae=Ne[1],ce=be(0),_e=Object(A.a)(ce,2),ze=_e[0],it=_e[1],Ze=be(0),Ee=Object(A.a)(Ze,2),mt=Ee[0],Je=Ee[1],rt=Object(g.useState)(null),wt=Object(A.a)(rt,2),Ot=wt[0],Ct=wt[1],Dt=Object(g.useState)(null),Xe=Object(A.a)(Dt,2),q=Xe[0],V=Xe[1],Ae=g.useMemo(function(){return q===null&&Ce?Number.MAX_SAFE_INTEGER:q||0},[q,ve]),xe=Object(g.useState)(!1),re=Object(A.a)(xe,2),ot=re[0],bt=re[1],tt="".concat(L,"-item"),Tt=Math.max(Fe,ze),Gt=k.length&&X===v,lr=X===y,pr=Gt||typeof X=="number"&&k.length>X,Rr=Object(g.useMemo)(function(){var Bt=k;return Gt?ve===null&&Ce?Bt=k:Bt=k.slice(0,Math.min(k.length,Le/U)):typeof X=="number"&&(Bt=k.slice(0,X)),Bt},[k,U,ve,X,Gt]),xt=Object(g.useMemo)(function(){return Gt?k.slice(Ae+1):k.slice(Rr.length)},[k,Rr,Gt,Ae]),It=Object(g.useCallback)(function(Bt,$t){var Nr;return typeof W=="function"?W(Bt):(Nr=W&&(Bt==null?void 0:Bt[W]))!==null&&Nr!==void 0?Nr:$t},[W]),At=Object(g.useCallback)(F||function(Bt){return Bt},[F]);function Zt(Bt,$t){V(Bt),$t||(bt(Bt<k.length-1),de==null||de(Bt))}function br(Bt,$t){$e($t.clientWidth)}function Lr(Bt,$t){Ue(function(Nr){var yn=new Map(Nr);return $t===null?yn.delete(Bt):yn.set(Bt,$t),yn})}function Jr(Bt,$t){it($t),ae(ze)}function In(Bt,$t){Je($t)}function Gr(Bt){return se.get(It(Rr[Bt],Bt))}g.useLayoutEffect(function(){if(Le&&Tt&&Rr){var Bt=mt,$t=Rr.length,Nr=$t-1;if(!$t){Zt(0),Ct(null);return}for(var yn=0;yn<$t;yn+=1){var un=Gr(yn);if(un===void 0){Zt(yn-1,!0);break}if(Bt+=un,Nr===0&&Bt<=Le||yn===Nr-1&&Bt+Gr(Nr)<=Le){Zt(Nr),Ct(null);break}else if(Bt+Tt>Le){Zt(yn-1),Ct(Bt-un-mt+ze);break}}$&&Gr(0)+mt>Le&&Ct(null)}},[Le,se,ze,mt,It,Rr]);var Tr=ot&&!!xt.length,fr={};Ot!==null&&Gt&&(fr={position:"absolute",left:Ot,top:0});var vt={prefixCls:tt,responsive:Gt,component:ge,invalidate:lr},ft=P?function(Bt,$t){var Nr=It(Bt,$t);return g.createElement(d.Provider,{key:Nr,value:Object(f.a)(Object(f.a)({},vt),{},{order:$t,item:Bt,itemKey:Nr,registerSize:Lr,display:$t<=Ae})},P(Bt,$t))}:function(Bt,$t){var Nr=It(Bt,$t);return g.createElement(i,Object(w.a)({},vt,{order:$t,key:Nr,item:Bt,renderItem:At,itemKey:Nr,registerSize:Lr,display:$t<=Ae}))},Te,Pe={order:Tr?Ae:Number.MAX_SAFE_INTEGER,className:"".concat(tt,"-rest"),registerSize:Jr,display:Tr};if(Y)Y&&(Te=g.createElement(d.Provider,{value:Object(f.a)(Object(f.a)({},vt),Pe)},Y(xt)));else{var Ge=z||S;Te=g.createElement(i,Object(w.a)({},vt,Pe),typeof Ge=="function"?Ge(xt):Ge)}var st=g.createElement(J,Object(w.a)({className:c()(!lr&&L,K),style:j,ref:_},Ie),Rr.map(ft),pr?Te:null,$&&g.createElement(i,Object(w.a)({},vt,{order:Ae,className:"".concat(tt,"-suffix"),registerSize:In,display:!0,style:fr}),$));return Gt&&(st=g.createElement(h.a,{onResize:br},st)),st}var E=g.forwardRef(b);E.displayName="Overflow",E.Item=u,E.RESPONSIVE=v,E.INVALIDATE=y;var C=E,T=B.a=C},"98bh":function(M,B,o){var w=o("ProS"),f=o("5GtS"),A=o("bYtY"),m=o("4NO4"),g=o("OELB"),p=g.getPercentWithPrecision,c=o("cCMj"),h=o("KxfA"),l=h.retrieveRawAttr,e=o("D5nY"),n=e.makeSeriesEncodeForNameBased,i=o("xKMd"),r=w.extendSeriesModel({type:"series.pie",init:function(t){r.superApply(this,"init",arguments),this.legendVisualProvider=new i(A.bind(this.getData,this),A.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){r.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,s){return f(this,{coordDimensions:["value"],encodeDefaulter:A.curry(n,this)})},_createSelectableList:function(){for(var t=this.getRawData(),s=t.mapDimension("value"),u=[],d=0,v=t.count();d<v;d++)u.push({name:t.getName(d),value:t.get(s,d),selected:l(t,d,"selected")});return u},getDataParams:function(t){var s=this.getData(),u=r.superCall(this,"getDataParams",t),d=[];return s.each(s.mapDimension("value"),function(v){d.push(v)}),u.percent=p(d,t,s.hostModel.get("percentPrecision")),u.$vars.push("percent"),u},_defaultLabelLine:function(t){m.defaultEmphasis(t,"labelLine",["show"]);var s=t.labelLine,u=t.emphasis.labelLine;s.show=s.show&&t.label.show,u.show=u.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"}});A.mixin(r,c);var a=r;M.exports=a},"9BLJ":function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={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"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="EyeOutlined";var c=B.a=f.forwardRef(p)},"9D67":function(M,B,o){"use strict";var w=o("wx14"),f=o("rePB"),A=o("q1tI"),m=o.n(A),g=o("TSYQ"),p=o.n(g),c=o("9R2V"),h=function(e,n){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)n.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(i[r[a]]=e[r[a]]);return i},l=function(n){return A.createElement(c.a,null,function(i){var r,a=i.getPrefixCls,t=i.direction,s=n.prefixCls,u=n.type,d=u===void 0?"horizontal":u,v=n.orientation,y=v===void 0?"center":v,S=n.className,b=n.children,E=n.dashed,C=n.plain,T=h(n,["prefixCls","type","orientation","className","children","dashed","plain"]),x=a("divider",s),_=y.length>0?"-".concat(y):y,I=!!b,L=p()(x,"".concat(x,"-").concat(d),(r={},Object(f.a)(r,"".concat(x,"-with-text"),I),Object(f.a)(r,"".concat(x,"-with-text").concat(_),I),Object(f.a)(r,"".concat(x,"-dashed"),!!E),Object(f.a)(r,"".concat(x,"-plain"),!!C),Object(f.a)(r,"".concat(x,"-rtl"),t==="rtl"),r),S);return A.createElement("div",Object(w.a)({className:L},T,{role:"separator"}),b&&A.createElement("span",{className:"".concat(x,"-inner-text")},b))})};B.a=l},"9H2F":function(M,B,o){var w=o("bYtY"),f=w.assert,A=w.isArray,m=o("Tghj"),g=m.__DEV__;function p(i){return new c(i)}function c(i){i=i||{},this._reset=i.reset,this._plan=i.plan,this._count=i.count,this._onDirty=i.onDirty,this._dirty=!0,this.context}var h=c.prototype;h.perform=function(i){var r=this._upstream,a=i&&i.skip;if(this._dirty&&r){var t=this.context;t.data=t.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var s;this._plan&&!a&&(s=this._plan(this.context));var u=S(this._modBy),d=this._modDataCount||0,v=S(i&&i.modBy),y=i&&i.modDataCount||0;(u!==v||d!==y)&&(s="reset");function S(L){return!(L>=1)&&(L=1),L}var b;(this._dirty||s==="reset")&&(this._dirty=!1,b=n(this,a)),this._modBy=v,this._modDataCount=y;var E=i&&i.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var C=this._dueIndex,T=Math.min(E!=null?this._dueIndex+E:Infinity,this._dueEnd);if(!a&&(b||C<T)){var x=this._progress;if(A(x))for(var _=0;_<x.length;_++)e(this,x[_],C,T,v,y);else e(this,x,C,T,v,y)}this._dueIndex=T;var I=this._settedOutputEnd!=null?this._settedOutputEnd:T;this._outputDueEnd=I}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var l=function(){var i,r,a,t,s,u={reset:function(y,S,b,E){r=y,i=S,a=b,t=E,s=Math.ceil(t/a),u.next=a>1&&t>0?v:d}};return u;function d(){return r<i?r++:null}function v(){var y=r%s*a+Math.ceil(r/s),S=r>=i?null:y<t?y:r;return r++,S}}();h.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function e(i,r,a,t,s,u){l.reset(a,t,s,u),i._callingProgress=r,i._callingProgress({start:a,end:t,count:t-a,next:l.next},i.context)}function n(i,r){i._dueIndex=i._outputDueEnd=i._dueEnd=0,i._settedOutputEnd=null;var a,t;!r&&i._reset&&(a=i._reset(i.context),a&&a.progress&&(t=a.forceFirstProgress,a=a.progress),A(a)&&!a.length&&(a=null)),i._progress=a,i._modBy=i._modDataCount=null;var s=i._downstream;return s&&s.dirty(),t}h.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},h.pipe=function(i){(this._downstream!==i||this._dirty)&&(this._downstream=i,i._upstream=this,i.dirty())},h.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},h.getUpstream=function(){return this._upstream},h.getDownstream=function(){return this._downstream},h.setOutputEnd=function(i){this._outputDueEnd=this._settedOutputEnd=i},B.createTask=p},"9HCz":function(M,B,o){"use strict";var w=o("rePB"),f=o("wx14"),A=o("1OyB"),m=o("vuIU"),g=o("JX7q"),p=o("Ji7U"),c=o("LK+K"),h=o("q1tI"),l=o("TSYQ"),e=o.n(l),n=o("bT9E"),i=o("4i/N"),r=o("bRQS"),a=o("jO45"),t=o("jN4g"),s=o("9R2V"),u=o("6LNJ"),d=o("bq+4"),v=o("AJpP");function y(je){return!je||je<0?0:je>100?100:je}function S(je){var te=je.success,ve=je.successPercent,$e=ve;return te&&"progress"in te&&(Object(d.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),$e=te.progress),te&&"percent"in te&&($e=te.percent),$e}var b=function(je,te){var ve={};for(var $e in je)Object.prototype.hasOwnProperty.call(je,$e)&&te.indexOf($e)<0&&(ve[$e]=je[$e]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,$e=Object.getOwnPropertySymbols(je);Le<$e.length;Le++)te.indexOf($e[Le])<0&&Object.prototype.propertyIsEnumerable.call(je,$e[Le])&&(ve[$e[Le]]=je[$e[Le]]);return ve},E=function(te){var ve=[];return Object.keys(te).forEach(function($e){var Le=parseFloat($e.replace(/%/g,""));isNaN(Le)||ve.push({key:Le,value:te[$e]})}),ve=ve.sort(function($e,Le){return $e.key-Le.key}),ve.map(function($e){var Le=$e.key,he=$e.value;return"".concat(he," ").concat(Le,"%")}).join(", ")},C=function(te,ve){var $e=te.from,Le=$e===void 0?v.presetPrimaryColors.blue:$e,he=te.to,ee=he===void 0?v.presetPrimaryColors.blue:he,se=te.direction,Ue=se===void 0?ve==="rtl"?"to left":"to right":se,ue=b(te,["from","to","direction"]);if(Object.keys(ue).length!==0){var Ne=E(ue);return{backgroundImage:"linear-gradient(".concat(Ue,", ").concat(Ne,")")}}return{backgroundImage:"linear-gradient(".concat(Ue,", ").concat(Le,", ").concat(ee,")")}},T=function(te){var ve=te.prefixCls,$e=te.direction,Le=te.percent,he=te.strokeWidth,ee=te.size,se=te.strokeColor,Ue=te.strokeLinecap,ue=te.children,Ne=te.trailColor,Fe=te.success,ae=se&&typeof se!="string"?C(se,$e):{background:se},ce=Ne?{backgroundColor:Ne}:void 0,_e=Object(f.a)({width:"".concat(y(Le),"%"),height:he||(ee==="small"?6:8),borderRadius:Ue==="square"?0:""},ae),ze=S(te),it={width:"".concat(y(ze),"%"),height:he||(ee==="small"?6:8),borderRadius:Ue==="square"?0:"",backgroundColor:Fe==null?void 0:Fe.strokeColor},Ze=ze!==void 0?h.createElement("div",{className:"".concat(ve,"-success-bg"),style:it}):null;return h.createElement(h.Fragment,null,h.createElement("div",{className:"".concat(ve,"-outer")},h.createElement("div",{className:"".concat(ve,"-inner"),style:ce},h.createElement("div",{className:"".concat(ve,"-bg"),style:_e}),Ze)),ue)},x=T,_=o("ODXe"),I=o("Ff2n"),L={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},R=function(te){var ve=te.map(function(){return Object(h.useRef)()}),$e=Object(h.useRef)(null);return Object(h.useEffect)(function(){var Le=Date.now(),he=!1;Object.keys(ve).forEach(function(ee){var se=ve[ee].current;if(!se)return;he=!0;var Ue=se.style;Ue.transitionDuration=".3s, .3s, .3s, .06s",$e.current&&Le-$e.current<100&&(Ue.transitionDuration="0s, 0s")}),he&&($e.current=Date.now())}),[ve]},k=function(te){var ve=te.className,$e=te.percent,Le=te.prefixCls,he=te.strokeColor,ee=te.strokeLinecap,se=te.strokeWidth,Ue=te.style,ue=te.trailColor,Ne=te.trailWidth,Fe=te.transition,ae=Object(I.a)(te,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete ae.gapPosition;var ce=Array.isArray($e)?$e:[$e],_e=Array.isArray(he)?he:[he],ze=R(ce),it=Object(_.a)(ze,1),Ze=it[0],Ee=se/2,mt=100-se/2,Je="M ".concat(ee==="round"?Ee:0,",").concat(Ee,`
|
|
|
L `).concat(ee==="round"?mt:100,",").concat(Ee),rt="0 0 100 ".concat(se),wt=0;return h.createElement("svg",Object(f.a)({className:e()("".concat(Le,"-line"),ve),viewBox:rt,preserveAspectRatio:"none",style:Ue},ae),h.createElement("path",{className:"".concat(Le,"-line-trail"),d:Je,strokeLinecap:ee,stroke:ue,strokeWidth:Ne||se,fillOpacity:"0"}),ce.map(function(Ot,Ct){var Dt=1;switch(ee){case"round":Dt=1-se/100;break;case"square":Dt=1-se/2/100;break;default:Dt=1;break}var Xe={strokeDasharray:"".concat(Ot*Dt,"px, 100px"),strokeDashoffset:"-".concat(wt,"px"),transition:Fe||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},q=_e[Ct]||_e[_e.length-1];return wt+=Ot,h.createElement("path",{key:Ct,className:"".concat(Le,"-line-path"),d:Je,strokeLinecap:ee,stroke:q,strokeWidth:se,fillOpacity:"0",ref:Ze[Ct],style:Xe})}))};k.defaultProps=L,k.displayName="Line";var F=k,P=0;function W(je){return+je.replace("%","")}function D(je){return Array.isArray(je)?je:[je]}function U(je,te,ve,$e){var Le=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,he=arguments.length>5?arguments[5]:void 0,ee=50-$e/2,se=0,Ue=-ee,ue=0,Ne=-2*ee;switch(he){case"left":se=-ee,Ue=0,ue=2*ee,Ne=0;break;case"right":se=ee,Ue=0,ue=-2*ee,Ne=0;break;case"bottom":Ue=ee,Ne=2*ee;break;default:}var Fe="M 50,50 m ".concat(se,",").concat(Ue,`
|
|
|
a `).concat(ee,",").concat(ee," 0 1 1 ").concat(ue,",").concat(-Ne,`
|
|
|
a `).concat(ee,",").concat(ee," 0 1 1 ").concat(-ue,",").concat(Ne),ae=Math.PI*2*ee,ce={stroke:typeof ve=="string"?ve:void 0,strokeDasharray:"".concat(te/100*(ae-Le),"px ").concat(ae,"px"),strokeDashoffset:"-".concat(Le/2+je/100*(ae-Le),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s"};return{pathString:Fe,pathStyle:ce}}var H=function(te){var ve=te.prefixCls,$e=te.strokeWidth,Le=te.trailWidth,he=te.gapDegree,ee=te.gapPosition,se=te.trailColor,Ue=te.strokeLinecap,ue=te.style,Ne=te.className,Fe=te.strokeColor,ae=te.percent,ce=Object(I.a)(te,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),_e=h.useMemo(function(){return P+=1,P},[]),ze=U(0,100,se,$e,he,ee),it=ze.pathString,Ze=ze.pathStyle,Ee=D(ae),mt=D(Fe),Je=mt.find(function(Dt){return Object.prototype.toString.call(Dt)==="[object Object]"}),rt=R(Ee),wt=Object(_.a)(rt,1),Ot=wt[0],Ct=function(){var Xe=0;return Ee.map(function(q,V){var Ae=mt[V]||mt[mt.length-1],xe=Object.prototype.toString.call(Ae)==="[object Object]"?"url(#".concat(ve,"-gradient-").concat(_e,")"):"",re=U(Xe,q,Ae,$e,he,ee);return Xe+=q,h.createElement("path",{key:V,className:"".concat(ve,"-circle-path"),d:re.pathString,stroke:xe,strokeLinecap:Ue,strokeWidth:$e,opacity:q===0?0:1,fillOpacity:"0",style:re.pathStyle,ref:Ot[V]})})};return h.createElement("svg",Object(f.a)({className:e()("".concat(ve,"-circle"),Ne),viewBox:"0 0 100 100",style:ue},ce),Je&&h.createElement("defs",null,h.createElement("linearGradient",{id:"".concat(ve,"-gradient-").concat(_e),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Je).sort(function(Dt,Xe){return W(Dt)-W(Xe)}).map(function(Dt,Xe){return h.createElement("stop",{key:Xe,offset:Dt,stopColor:Je[Dt]})}))),h.createElement("path",{className:"".concat(ve,"-circle-trail"),d:it,stroke:se,strokeLinecap:Ue,strokeWidth:Le||$e,fillOpacity:"0",style:Ze}),Ct().reverse())};H.defaultProps=L,H.displayName="Circle";var j=H,K={Line:F,Circle:j};function X(je){var te=je.percent,ve=je.success,$e=je.successPercent,Le=y(S({success:ve,successPercent:$e}));return[Le,y(y(te)-Le)]}function z(je){var te=je.success,ve=te===void 0?{}:te,$e=je.strokeColor,Le=ve.strokeColor;return[Le||v.presetPrimaryColors.green,$e||null]}var Y=function(te){var ve=te.prefixCls,$e=te.width,Le=te.strokeWidth,he=te.trailColor,ee=te.strokeLinecap,se=te.gapPosition,Ue=te.gapDegree,ue=te.type,Ne=te.children,Fe=te.success,ae=$e||120,ce={width:ae,height:ae,fontSize:ae*.15+6},_e=Le||6,ze=se||ue==="dashboard"&&"bottom"||"top",it=function(){return Ue||Ue===0?Ue:ue==="dashboard"?75:void 0},Ze=Object.prototype.toString.call(te.strokeColor)==="[object Object]",Ee=z({success:Fe,strokeColor:te.strokeColor}),mt=e()("".concat(ve,"-inner"),Object(w.a)({},"".concat(ve,"-circle-gradient"),Ze));return h.createElement("div",{className:mt,style:ce},h.createElement(j,{percent:X(te),strokeWidth:_e,trailWidth:_e,strokeColor:Ee,strokeLinecap:ee,trailColor:he,prefixCls:ve,gapDegree:it(),gapPosition:ze}),Ne)},$=Y,ne=function(te){for(var ve=te.size,$e=te.steps,Le=te.percent,he=Le===void 0?0:Le,ee=te.strokeWidth,se=ee===void 0?8:ee,Ue=te.strokeColor,ue=te.trailColor,Ne=te.prefixCls,Fe=te.children,ae=Math.round($e*(he/100)),ce=ve==="small"?2:14,_e=[],ze=0;ze<$e;ze+=1)_e.push(h.createElement("div",{key:ze,className:e()("".concat(Ne,"-steps-item"),Object(w.a)({},"".concat(Ne,"-steps-item-active"),ze<=ae-1)),style:{backgroundColor:ze<=ae-1?Ue:ue,width:ce,height:se}}));return h.createElement("div",{className:"".concat(Ne,"-steps-outer")},_e,Fe)},J=ne,ge=function(je,te){var ve={};for(var $e in je)Object.prototype.hasOwnProperty.call(je,$e)&&te.indexOf($e)<0&&(ve[$e]=je[$e]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,$e=Object.getOwnPropertySymbols(je);Le<$e.length;Le++)te.indexOf($e[Le])<0&&Object.prototype.propertyIsEnumerable.call(je,$e[Le])&&(ve[$e[Le]]=je[$e[Le]]);return ve},de=Object(u.a)("line","circle","dashboard"),Ie=Object(u.a)("normal","exception","active","success"),be=function(je){Object(p.a)(ve,je);var te=Object(c.a)(ve);function ve(){var $e;return Object(A.a)(this,ve),$e=te.apply(this,arguments),$e.renderProgress=function(Le){var he,ee=Le.getPrefixCls,se=Le.direction,Ue=Object(g.a)($e),ue=Ue.props,Ne=ue.prefixCls,Fe=ue.className,ae=ue.size,ce=ue.type,_e=ue.steps,ze=ue.showInfo,it=ue.strokeColor,Ze=ge(ue,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),Ee=ee("progress",Ne),mt=$e.getProgressStatus(),Je=$e.renderProcessInfo(Ee,mt);Object(d.a)(!("successPercent"in ue),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var rt;ce==="line"?rt=_e?h.createElement(J,Object(f.a)({},$e.props,{strokeColor:typeof it=="string"?it:void 0,prefixCls:Ee,steps:_e}),Je):h.createElement(x,Object(f.a)({},$e.props,{prefixCls:Ee,direction:se}),Je):(ce==="circle"||ce==="dashboard")&&(rt=h.createElement($,Object(f.a)({},$e.props,{prefixCls:Ee,progressStatus:mt}),Je));var wt=e()(Ee,(he={},Object(w.a)(he,"".concat(Ee,"-").concat(ce==="dashboard"&&"circle"||_e&&"steps"||ce),!0),Object(w.a)(he,"".concat(Ee,"-status-").concat(mt),!0),Object(w.a)(he,"".concat(Ee,"-show-info"),ze),Object(w.a)(he,"".concat(Ee,"-").concat(ae),ae),Object(w.a)(he,"".concat(Ee,"-rtl"),se==="rtl"),he),Fe);return h.createElement("div",Object(f.a)({},Object(n.a)(Ze,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","percent","success","successPercent"]),{className:wt}),rt)},$e}return Object(m.a)(ve,[{key:"getPercentNumber",value:function(){var Le=this.props.percent,he=Le===void 0?0:Le,ee=S(this.props);return parseInt(ee!==void 0?ee.toString():he.toString(),10)}},{key:"getProgressStatus",value:function(){var Le=this.props.status;return Ie.indexOf(Le)<0&&this.getPercentNumber()>=100?"success":Le||"normal"}},{key:"renderProcessInfo",value:function(Le,he){var ee=this.props,se=ee.showInfo,Ue=ee.format,ue=ee.type,Ne=ee.percent,Fe=S(this.props);if(!se)return null;var ae,ce=Ue||function(ze){return"".concat(ze,"%")},_e=ue==="line";return Ue||he!=="exception"&&he!=="success"?ae=ce(y(Ne),y(Fe)):he==="exception"?ae=_e?h.createElement(t.a,null):h.createElement(i.a,null):he==="success"&&(ae=_e?h.createElement(a.a,null):h.createElement(r.a,null)),h.createElement("span",{className:"".concat(Le,"-text"),title:typeof ae=="string"?ae:void 0},ae)}},{key:"render",value:function(){return h.createElement(s.a,null,this.renderProgress)}}]),ve}(h.Component);be.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var Ce=B.a=be},"9KIM":function(M,B,o){var w=o("mFDi"),f=o("xSat"),A=f.onIrrelevantElement,m=o("IwbS");function g(l){return l=h(l),function(e,n){return m.clipPointsByRect(e,l)}}function p(l,e){return l=h(l),function(n){var i=e!=null?e:n,r=i?l.width:l.height,a=i?l.x:l.y;return[a,a+(r||0)]}}function c(l,e,n){return l=h(l),function(i,r,a){return l.contain(r[0],r[1])&&!A(i,e,n)}}function h(l){return w.create(l)}B.makeRectPanelClipPath=g,B.makeLinearBrushOtherExtent=p,B.makeRectIsTargetByCursor=c},"9eas":function(M,B,o){o("HM/N"),o("tBnm")},"9hCq":function(M,B,o){var w=o("IwbS"),f=o("+TT/"),A=o("bYtY"),m=o("VaxA"),g=m.wrapTreePathInfo,p=8,c=8,h=5;function l(r){this.group=new w.Group,r.add(this.group)}l.prototype={constructor:l,render:function(r,a,t,s){var u=r.getModel("breadcrumb"),d=this.group;if(d.removeAll(),!u.get("show")||!t)return;var v=u.getModel("itemStyle"),y=v.getModel("textStyle"),S={pos:{left:u.get("left"),right:u.get("right"),top:u.get("top"),bottom:u.get("bottom")},box:{width:a.getWidth(),height:a.getHeight()},emptyItemWidth:u.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(t,S,y),this._renderContent(r,S,v,y,s),f.positionElement(d,S.pos,S.box)},_prepare:function(r,a,t){for(var s=r;s;s=s.parentNode){var u=s.getModel().get("name"),d=t.getTextRect(u),v=Math.max(d.width+p*2,a.emptyItemWidth);a.totalWidth+=v+c,a.renderList.push({node:s,text:u,width:v})}},_renderContent:function(r,a,t,s,u){for(var d=0,v=a.emptyItemWidth,y=r.get("breadcrumb.height"),S=f.getAvailableSize(a.pos,a.box),b=a.totalWidth,E=a.renderList,C=E.length-1;C>=0;C--){var T=E[C],x=T.node,_=T.width,I=T.text;b>S.width&&(b-=_-v,_=v,I=null);var L=new w.Polygon({shape:{points:e(d,0,_,y,C===E.length-1,C===0)},style:A.defaults(t.getItemStyle(),{lineJoin:"bevel",text:I,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:A.curry(u,x)});this.group.add(L),n(L,r,x),d+=_+c}},remove:function(){this.group.removeAll()}};function e(r,a,t,s,u,d){var v=[[u?r:r-h,a],[r+t,a],[r+t,a+s],[u?r:r-h,a+s]];return!d&&v.splice(2,0,[r+t+h,a+s/2]),!u&&v.push([r,a+s/2]),v}function n(r,a,t){r.eventData={componentType:"series",componentSubType:"treemap",componentIndex:a.componentIndex,seriesIndex:a.componentIndex,seriesName:a.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&g(t,a)}}var i=l;M.exports=i},"9jjd":function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={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"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="FileOutlined";var c=B.a=f.forwardRef(p)},"9mle":function(M,B,o){"use strict";var w=o("wx14"),f=o("rePB"),A=o("1OyB"),m=o("vuIU"),g=o("JX7q"),p=o("Ji7U"),c=o("LK+K"),h=o("q1tI"),l=o("TSYQ"),e=o.n(l),n=o("zT1h"),i=o("U8pU"),r=o("bT9E"),a=o("t23M"),t=o("9R2V"),s=o("fKGV");function u(z){return z!==window?z.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function d(z,Y,$){return $!==void 0&&Y.top>z.top-$?$+Y.top:void 0}function v(z,Y,$){if($!==void 0&&Y.bottom<z.bottom+$){var ne=window.innerHeight-Y.bottom;return $+ne}return}var y=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],S=[];function b(){return S}function E(z,Y){if(!z)return;var $=S.find(function(ne){return ne.target===z});$?$.affixList.push(Y):($={target:z,affixList:[Y],eventHandlers:{}},S.push($),y.forEach(function(ne){$.eventHandlers[ne]=Object(n.a)(z,ne,function(){$.affixList.forEach(function(J){J.lazyUpdatePosition()})})}))}function C(z){var Y=S.find(function($){var ne=$.affixList.some(function(J){return J===z});return ne&&($.affixList=$.affixList.filter(function(J){return J!==z})),ne});Y&&Y.affixList.length===0&&(S=S.filter(function($){return $!==Y}),y.forEach(function($){var ne=Y.eventHandlers[$];ne&&ne.remove&&ne.remove()}))}var T=function(z,Y,$,ne){var J=arguments.length,ge=J<3?Y:ne===null?ne=Object.getOwnPropertyDescriptor(Y,$):ne,de;if((typeof Reflect=="undefined"?"undefined":Object(i.a)(Reflect))==="object"&&typeof Reflect.decorate=="function")ge=Reflect.decorate(z,Y,$,ne);else for(var Ie=z.length-1;Ie>=0;Ie--)(de=z[Ie])&&(ge=(J<3?de(ge):J>3?de(Y,$,ge):de(Y,$))||ge);return J>3&&ge&&Object.defineProperty(Y,$,ge),ge};function x(){return typeof window!="undefined"?window:null}var _;(function(z){z[z.None=0]="None",z[z.Prepare=1]="Prepare"})(_||(_={}));var I=function(z){Object(p.a)($,z);var Y=Object(c.a)($);function $(){var ne;return Object(A.a)(this,$),ne=Y.apply(this,arguments),ne.state={status:_.None,lastAffix:!1,prevTarget:null},ne.getOffsetTop=function(){var J=ne.props.offsetBottom,ge=ne.props.offsetTop;return J===void 0&&ge===void 0&&(ge=0),ge},ne.getOffsetBottom=function(){return ne.props.offsetBottom},ne.savePlaceholderNode=function(J){ne.placeholderNode=J},ne.saveFixedNode=function(J){ne.fixedNode=J},ne.measure=function(){var J=ne.state,ge=J.status,de=J.lastAffix,Ie=ne.props.onChange,be=ne.getTargetFunc();if(ge!==_.Prepare||!ne.fixedNode||!ne.placeholderNode||!be)return;var Ce=ne.getOffsetTop(),je=ne.getOffsetBottom(),te=be();if(!te)return;var ve={status:_.None},$e=u(te),Le=u(ne.placeholderNode),he=d(Le,$e,Ce),ee=v(Le,$e,je);he!==void 0?(ve.affixStyle={position:"fixed",top:he,width:Le.width,height:Le.height},ve.placeholderStyle={width:Le.width,height:Le.height}):ee!==void 0&&(ve.affixStyle={position:"fixed",bottom:ee,width:Le.width,height:Le.height},ve.placeholderStyle={width:Le.width,height:Le.height}),ve.lastAffix=!!ve.affixStyle,Ie&&de!==ve.lastAffix&&Ie(ve.lastAffix),ne.setState(ve)},ne.prepareMeasure=function(){if(ne.setState({status:_.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var J},ne.render=function(){var J=ne.context.getPrefixCls,ge=ne.state,de=ge.affixStyle,Ie=ge.placeholderStyle,be=ne.props,Ce=be.prefixCls,je=be.children,te=e()(Object(f.a)({},J("affix",Ce),!!de)),ve=Object(r.a)(ne.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return h.createElement(a.a,{onResize:function(){ne.updatePosition()}},h.createElement("div",Object(w.a)({},ve,{ref:ne.savePlaceholderNode}),de&&h.createElement("div",{style:Ie,"aria-hidden":"true"}),h.createElement("div",{className:te,ref:ne.saveFixedNode,style:de},h.createElement(a.a,{onResize:function(){ne.updatePosition()}},je))))},ne}return Object(m.a)($,[{key:"getTargetFunc",value:function(){var J=this.context.getTargetContainer,ge=this.props.target;return ge!==void 0?ge:J||x}},{key:"componentDidMount",value:function(){var J=this,ge=this.getTargetFunc();ge&&(this.timeout=setTimeout(function(){E(ge(),J),J.updatePosition()}))}},{key:"componentDidUpdate",value:function(J){var ge=this.state.prevTarget,de=this.getTargetFunc(),Ie=null;de&&(Ie=de()||null),ge!==Ie&&(C(this),Ie&&(E(Ie,this),this.updatePosition()),this.setState({prevTarget:Ie})),(J.offsetTop!==this.props.offsetTop||J.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),C(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var J=this.getTargetFunc(),ge=this.state.affixStyle;if(J&&ge){var de=this.getOffsetTop(),Ie=this.getOffsetBottom(),be=J();if(be&&this.placeholderNode){var Ce=u(be),je=u(this.placeholderNode),te=d(je,Ce,de),ve=v(je,Ce,Ie);if(te!==void 0&&ge.top===te||ve!==void 0&&ge.bottom===ve)return}}this.prepareMeasure()}}]),$}(h.Component);I.contextType=t.b,T([Object(s.b)()],I.prototype,"updatePosition",null),T([Object(s.b)()],I.prototype,"lazyUpdatePosition",null);var L=I,R=o("egiQ"),k=o("ec8c"),F=h.createContext(null),P=F;function W(){return window}function D(z,Y){if(!z.getClientRects().length)return 0;var $=z.getBoundingClientRect();return $.width||$.height?Y===window?(Y=z.ownerDocument.documentElement,$.top-Y.clientTop):$.top-Y.getBoundingClientRect().top:$.top}var U=/#(\S+)$/,H=function(z){Object(p.a)($,z);var Y=Object(c.a)($);function $(){var ne;return Object(A.a)(this,$),ne=Y.apply(this,arguments),ne.state={activeLink:null},ne.wrapperRef=h.createRef(),ne.links=[],ne.registerLink=function(J){ne.links.includes(J)||ne.links.push(J)},ne.unregisterLink=function(J){var ge=ne.links.indexOf(J);ge!==-1&&ne.links.splice(ge,1)},ne.getContainer=function(){var J=ne.context.getTargetContainer,ge=ne.props.getContainer,de=ge||J||W;return de()},ne.handleScrollTo=function(J){var ge=ne.props,de=ge.offsetTop,Ie=ge.targetOffset;ne.setCurrentActiveLink(J);var be=ne.getContainer(),Ce=Object(k.a)(be,!0),je=U.exec(J);if(!je)return;var te=document.getElementById(je[1]);if(!te)return;var ve=D(te,be),$e=Ce+ve;$e-=Ie!==void 0?Ie:de||0,ne.animating=!0,Object(R.a)($e,{callback:function(){ne.animating=!1},getContainer:ne.getContainer})},ne.saveInkNode=function(J){ne.inkNode=J},ne.setCurrentActiveLink=function(J){var ge=ne.state.activeLink,de=ne.props,Ie=de.onChange,be=de.getCurrentAnchor;if(ge===J)return;ne.setState({activeLink:typeof be=="function"?be():J}),Ie==null||Ie(J)},ne.handleScroll=function(){if(ne.animating)return;var J=ne.props,ge=J.offsetTop,de=J.bounds,Ie=J.targetOffset,be=ne.getCurrentAnchor(Ie!==void 0?Ie:ge||0,de);ne.setCurrentActiveLink(be)},ne.updateInk=function(){var J=Object(g.a)(ne),ge=J.prefixCls,de=J.wrapperRef,Ie=de.current,be=Ie==null?void 0:Ie.getElementsByClassName("".concat(ge,"-link-title-active"))[0];be&&(ne.inkNode.style.top="".concat(be.offsetTop+be.clientHeight/2-4.5,"px"))},ne.render=function(){var J=ne.context,ge=J.getPrefixCls,de=J.direction,Ie=ne.props,be=Ie.prefixCls,Ce=Ie.className,je=Ce===void 0?"":Ce,te=Ie.style,ve=Ie.offsetTop,$e=Ie.affix,Le=Ie.showInkInFixed,he=Ie.children,ee=ne.state.activeLink,se=ge("anchor",be);ne.prefixCls=se;var Ue=e()("".concat(se,"-ink-ball"),{visible:ee}),ue=e()("".concat(se,"-wrapper"),Object(f.a)({},"".concat(se,"-rtl"),de==="rtl"),je),Ne=e()(se,{fixed:!$e&&!Le}),Fe=Object(w.a)({maxHeight:ve?"calc(100vh - ".concat(ve,"px)"):"100vh"},te),ae=h.createElement("div",{ref:ne.wrapperRef,className:ue,style:Fe},h.createElement("div",{className:Ne},h.createElement("div",{className:"".concat(se,"-ink")},h.createElement("span",{className:Ue,ref:ne.saveInkNode})),he));return h.createElement(P.Provider,{value:{registerLink:ne.registerLink,unregisterLink:ne.unregisterLink,activeLink:ne.state.activeLink,scrollTo:ne.handleScrollTo,onClick:ne.props.onClick}},$e?h.createElement(L,{offsetTop:ve,target:ne.getContainer},ae):ae)},ne}return Object(m.a)($,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(n.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var J=this.getContainer();this.scrollContainer!==J&&(this.scrollContainer=J,this.scrollEvent.remove(),this.scrollEvent=Object(n.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,de=[],Ie=this.getContainer();if(this.links.forEach(function(Ce){var je=U.exec(Ce.toString());if(!je)return;var te=document.getElementById(je[1]);if(te){var ve=D(te,Ie);ve<J+ge&&de.push({link:Ce,top:ve})}}),de.length){var be=de.reduce(function(Ce,je){return je.top>Ce.top?je:Ce});return be.link}return""}}]),$}(h.Component);H.defaultProps={affix:!0,showInkInFixed:!1},H.contextType=t.b;var j=function(z){Object(p.a)($,z);var Y=Object(c.a)($);function $(){var ne;return Object(A.a)(this,$),ne=Y.apply(this,arguments),ne.handleClick=function(J){var ge=ne.context,de=ge.scrollTo,Ie=ge.onClick,be=ne.props,Ce=be.href,je=be.title;Ie==null||Ie(J,{title:je,href:Ce}),de(Ce)},ne.renderAnchorLink=function(J){var ge=J.getPrefixCls,de=ne.props,Ie=de.prefixCls,be=de.href,Ce=de.title,je=de.children,te=de.className,ve=de.target,$e=ge("anchor",Ie),Le=ne.context.activeLink===be,he=e()("".concat($e,"-link"),Object(f.a)({},"".concat($e,"-link-active"),Le),te),ee=e()("".concat($e,"-link-title"),Object(f.a)({},"".concat($e,"-link-title-active"),Le));return h.createElement("div",{className:he},h.createElement("a",{className:ee,href:be,title:typeof Ce=="string"?Ce:"",target:ve,onClick:ne.handleClick},Ce),je)},ne}return Object(m.a)($,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(J){var ge=J.href,de=this.props.href;ge!==de&&(this.context.unregisterLink(ge),this.context.registerLink(de))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return h.createElement(t.a,null,this.renderAnchorLink)}}]),$}(h.Component);j.defaultProps={href:"#"},j.contextType=P;var K=j;H.Link=K;var X=B.a=H},"9u0u":function(M,B,o){var w=o("bYtY");function f(m,g){var p={};return w.each(m,function(c){c.each(c.mapDimension("value"),function(h,l){var e="ec-"+c.getName(l);p[e]=p[e]||[],isNaN(h)||p[e].push(h)})}),m[0].map(m[0].mapDimension("value"),function(c,h){for(var l="ec-"+m[0].getName(h),e=0,n=Infinity,i=-Infinity,r=p[l].length,a=0;a<r;a++)n=Math.min(n,p[l][a]),i=Math.max(i,p[l][a]),e+=p[l][a];var t;return g==="min"?t=n:g==="max"?t=i:g==="average"?t=e/r:t=e,r===0?NaN:t})}function A(m){var g={};m.eachSeriesByType("map",function(p){var c=p.getHostGeoModel(),h=c?"o"+c.id:"i"+p.getMapType();(g[h]=g[h]||[]).push(p)}),w.each(g,function(p,c){for(var h=f(w.map(p,function(e){return e.getData()}),p[0].get("mapValueCalculation")),l=0;l<p.length;l++)p[l].originalData=p[l].getData();for(var l=0;l<p.length;l++)p[l].seriesGroup=p,p[l].needsDrawMap=l===0&&!p[l].getHostGeoModel(),p[l].setData(h.cloneShallow()),p[l].mainSeries=p[0]})}M.exports=A},"9wZj":function(M,B,o){var w=o("IwbS"),f=o("FBjb"),A=o("bYtY"),m=A.isObject;function g(n){this.group=new w.Group,this._symbolCtor=n||f}var p=g.prototype;function c(n,i,r,a){return i&&!isNaN(i[0])&&!isNaN(i[1])&&!(a.isIgnore&&a.isIgnore(r))&&!(a.clipShape&&!a.clipShape.contain(i[0],i[1]))&&n.getItemVisual(r,"symbol")!=="none"}p.updateData=function(n,i){i=h(i);var r=this.group,a=n.hostModel,t=this._data,s=this._symbolCtor,u=l(n);t||r.removeAll(),n.diff(t).add(function(d){var v=n.getItemLayout(d);if(c(n,v,d,i)){var y=new s(n,d,u);y.attr("position",v),n.setItemGraphicEl(d,y),r.add(y)}}).update(function(d,v){var y=t.getItemGraphicEl(v),S=n.getItemLayout(d);if(!c(n,S,d,i)){r.remove(y);return}y?(y.updateData(n,d,u),w.updateProps(y,{position:S},a)):(y=new s(n,d),y.attr("position",S)),r.add(y),n.setItemGraphicEl(d,y)}).remove(function(d){var v=t.getItemGraphicEl(d);v&&v.fadeOut(function(){r.remove(v)})}).execute(),this._data=n},p.isPersistent=function(){return!0},p.updateLayout=function(){var n=this._data;n&&n.eachItemGraphicEl(function(i,r){var a=n.getItemLayout(r);i.attr("position",a)})},p.incrementalPrepareUpdate=function(n){this._seriesScope=l(n),this._data=null,this.group.removeAll()},p.incrementalUpdate=function(n,i,r){r=h(r);function a(d){d.isGroup||(d.incremental=d.useHoverLayer=!0)}for(var t=n.start;t<n.end;t++){var s=i.getItemLayout(t);if(c(i,s,t,r)){var u=new this._symbolCtor(i,t,this._seriesScope);u.traverse(a),u.attr("position",s),this.group.add(u),i.setItemGraphicEl(t,u)}}};function h(n){return n!=null&&!m(n)&&(n={isIgnore:n}),n||{}}p.remove=function(n){var i=this.group,r=this._data;r&&n?r.eachItemGraphicEl(function(a){a.fadeOut(function(){i.remove(a)})}):i.removeAll()};function l(n){var i=n.hostModel;return{itemStyle:i.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:i.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:i.get("symbolRotate"),symbolOffset:i.get("symbolOffset"),hoverAnimation:i.get("hoverAnimation"),labelModel:i.getModel("label"),hoverLabelModel:i.getModel("emphasis.label"),cursorStyle:i.get("cursor")}}var e=g;M.exports=e},A1Ka:function(M,B,o){var w=o("bLfw"),f=o("sS/r"),A=o("D5nY"),m=A.detectSourceFormat,g=o("k9D9"),p=g.SERIES_LAYOUT_BY_COLUMN;w.extend({type:"dataset",defaultOption:{seriesLayoutBy:p,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){m(this)}}),f.extend({type:"dataset"})},"AE+S":function(M,B,o){"use strict";var w=o("wx14"),f=o("1OyB"),A=o("vuIU"),m=o("Ji7U"),g=o("LK+K"),p=o("q1tI"),c=o("1j5w"),h=o("TSYQ"),l=o.n(h),e=o("bT9E"),n=o("GZ0F"),i=Object(p.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),r=i,a=o("kLeg");function t(R){var k,F=R.popupClassName,P=R.icon,W=R.title,D=p.useContext(r),U=D.prefixCls,H=D.inlineCollapsed,j=D.antdMenuTheme,K=Object(c.g)(),X;if(!P)X=H&&!K.length&&W&&typeof W=="string"?p.createElement("div",{className:"".concat(U,"-inline-collapsed-noicon")},W.charAt(0)):p.createElement("span",{className:"".concat(U,"-title-content")},W);else{var z=Object(a.b)(W)&&W.type==="span";X=p.createElement(p.Fragment,null,Object(a.a)(P,{className:l()(Object(a.b)(P)?(k=P.props)===null||k===void 0?void 0:k.className:"","".concat(U,"-item-icon"))}),z?W:p.createElement("span",{className:"".concat(U,"-title-content")},W))}return p.createElement(r.Provider,{value:Object(w.a)(Object(w.a)({},D),{firstLevel:!1})},p.createElement(c.e,Object(w.a)({},Object(e.a)(R,["icon"]),{title:X,popupClassName:l()(U,"".concat(U,"-").concat(j),F)})))}var s=t,u=o("rePB"),d=o("Zm9Q"),v=o("d+VM"),y=o("ac54"),S=function(R,k){var F={};for(var P in R)Object.prototype.hasOwnProperty.call(R,P)&&k.indexOf(P)<0&&(F[P]=R[P]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,P=Object.getOwnPropertySymbols(R);W<P.length;W++)k.indexOf(P[W])<0&&Object.prototype.propertyIsEnumerable.call(R,P[W])&&(F[P[W]]=R[P[W]]);return F},b=function(R){Object(m.a)(F,R);var k=Object(g.a)(F);function F(){var P;return Object(f.a)(this,F),P=k.apply(this,arguments),P.renderItem=function(W){var D,U=W.siderCollapsed,H,j=P.context,K=j.prefixCls,X=j.firstLevel,z=j.inlineCollapsed,Y=j.direction,$=P.props,ne=$.className,J=$.children,ge=P.props,de=ge.title,Ie=ge.icon,be=ge.danger,Ce=S(ge,["title","icon","danger"]),je=de;typeof de=="undefined"?je=X?J:"":de===!1&&(je="");var te={title:je};!U&&!z&&(te.title=null,te.visible=!1);var ve=Object(d.a)(J).length;return p.createElement(v.a,Object(w.a)({},te,{placement:Y==="rtl"?"left":"right",overlayClassName:"".concat(K,"-inline-collapsed-tooltip")}),p.createElement(c.b,Object(w.a)({},Ce,{className:l()((D={},Object(u.a)(D,"".concat(K,"-item-danger"),be),Object(u.a)(D,"".concat(K,"-item-only-child"),(Ie?ve+1:ve)===1),D),ne),title:typeof de=="string"?de:void 0}),Object(a.a)(Ie,{className:l()(Object(a.b)(Ie)?(H=Ie.props)===null||H===void 0?void 0:H.className:"","".concat(K,"-item-icon"))}),P.renderItemChildren(z)))},P}return Object(A.a)(F,[{key:"renderItemChildren",value:function(W){var D=this.context,U=D.prefixCls,H=D.firstLevel,j=this.props,K=j.icon,X=j.children,z=p.createElement("span",{className:"".concat(U,"-title-content")},X);return(!K||Object(a.b)(X)&&X.type==="span")&&(X&&W&&H&&typeof X=="string")?p.createElement("div",{className:"".concat(U,"-inline-collapsed-noicon")},X.charAt(0)):z}},{key:"render",value:function(){return p.createElement(y.a.Consumer,null,this.renderItem)}}]),F}(p.Component);b.contextType=r;var E=o("9R2V"),C=o("bq+4"),T=o("MZCN"),x=function(R,k){var F={};for(var P in R)Object.prototype.hasOwnProperty.call(R,P)&&k.indexOf(P)<0&&(F[P]=R[P]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,P=Object.getOwnPropertySymbols(R);W<P.length;W++)k.indexOf(P[W])<0&&Object.prototype.propertyIsEnumerable.call(R,P[W])&&(F[P[W]]=R[P[W]]);return F},_=function(R){Object(m.a)(F,R);var k=Object(g.a)(F);function F(P){var W;return Object(f.a)(this,F),W=k.call(this,P),W.renderMenu=function(D){var U=D.getPopupContainer,H=D.getPrefixCls,j=D.direction,K=H(),X=W.props,z=X.prefixCls,Y=X.className,$=X.theme,ne=X.expandIcon,J=x(X,["prefixCls","className","theme","expandIcon"]),ge=Object(e.a)(J,["siderCollapsed","collapsedWidth"]),de=W.getInlineCollapsed(),Ie={horizontal:{motionName:"".concat(K,"-slide-up")},inline:T.a,other:{motionName:"".concat(K,"-zoom-big")}},be=H("menu",z),Ce=l()("".concat(be,"-").concat($),Y);return p.createElement(r.Provider,{value:{prefixCls:be,inlineCollapsed:de||!1,antdMenuTheme:$,direction:j,firstLevel:!0}},p.createElement(c.f,Object(w.a)({getPopupContainer:U,overflowedIndicator:p.createElement(n.a,null),overflowedIndicatorPopupClassName:"".concat(be,"-").concat($)},ge,{inlineCollapsed:de,className:Ce,prefixCls:be,direction:j,defaultMotions:Ie,expandIcon:Object(a.a)(ne,{className:"".concat(be,"-submenu-expand-icon")})})))},Object(C.a)(!("inlineCollapsed"in P&&P.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(C.a)(!(P.siderCollapsed!==void 0&&"inlineCollapsed"in P),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),W}return Object(A.a)(F,[{key:"getInlineCollapsed",value:function(){var W=this.props,D=W.inlineCollapsed,U=W.siderCollapsed;return U!==void 0?U:D}},{key:"render",value:function(){return p.createElement(E.a,null,this.renderMenu)}}]),F}(p.Component);_.defaultProps={theme:"light"};var I=function(R){Object(m.a)(F,R);var k=Object(g.a)(F);function F(){return Object(f.a)(this,F),k.apply(this,arguments)}return Object(A.a)(F,[{key:"render",value:function(){var W=this;return p.createElement(y.a.Consumer,null,function(D){return p.createElement(_,Object(w.a)({},W.props,D))})}}]),F}(p.Component);I.Divider=c.a,I.Item=b,I.SubMenu=s,I.ItemGroup=c.c;var L=B.a=I},AE9C:function(M,B,o){var w=o("bYtY"),f=o("crZl"),A=o("IwbS"),m=o("oVpE"),g=m.createSymbol,p=o("+TT/"),c=o("y7Aq"),h=f.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var n=this.visualMapModel,i=n.get("textGap"),r=n.textStyleModel,a=r.getFont(),t=r.getTextColor(),s=this._getItemAlign(),u=n.itemSize,d=this._getViewData(),v=d.endsText,y=w.retrieve(n.get("showLabel",!0),!v);v&&this._renderEndsText(e,v[0],u,y,s),w.each(d.viewPieceList,S,this),v&&this._renderEndsText(e,v[1],u,y,s),p.box(n.get("orient"),e,n.get("itemGap")),this.renderBackground(e),this.positionGroup(e);function S(b){var E=b.piece,C=new A.Group;C.onclick=w.bind(this._onItemClick,this,E),this._enableHoverLink(C,b.indexInModelPieceList);var T=n.getRepresentValue(E);if(this._createItemSymbol(C,T,[0,0,u[0],u[1]]),y){var x=this.visualMapModel.getValueState(T);C.add(new A.Text({style:{x:s==="right"?-i:u[0]+i,y:u[1]/2,text:E.text,textVerticalAlign:"middle",textAlign:s,textFont:a,textFill:t,opacity:x==="outOfRange"?.5:1}}))}e.add(C)}},_enableHoverLink:function(e,n){e.on("mouseover",w.bind(i,this,"highlight")).on("mouseout",w.bind(i,this,"downplay"));function i(r){var a=this.visualMapModel;a.option.hoverLink&&this.api.dispatchAction({type:r,batch:c.makeHighDownBatch(a.findTargetDataIndices(n),a)})}},_getItemAlign:function(){var e=this.visualMapModel,n=e.option;if(n.orient==="vertical")return c.getItemAlign(e,this.api,e.itemSize);var i=n.align;return(!i||i==="auto")&&(i="left"),i},_renderEndsText:function(e,n,i,r,a){if(!n)return;var t=new A.Group,s=this.visualMapModel.textStyleModel;t.add(new A.Text({style:{x:r?a==="right"?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:r?a:"center",text:n,textFont:s.getFont(),textFill:s.getTextColor()}})),e.add(t)},_getViewData:function(){var e=this.visualMapModel,n=w.map(e.getPieceList(),function(t,s){return{piece:t,indexInModelPieceList:s}}),i=e.get("text"),r=e.get("orient"),a=e.get("inverse");return(r==="horizontal"?a:!a)?n.reverse():i&&(i=i.slice().reverse()),{viewPieceList:n,endsText:i}},_createItemSymbol:function(e,n,i){e.add(g(this.getControllerVisual(n,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(n,"color")))},_onItemClick:function(e){var n=this.visualMapModel,i=n.option,r=w.clone(i.selected),a=n.getSelectedMapKey(e);i.selectedMode==="single"?(r[a]=!0,w.each(r,function(t,s){r[s]=s===a})):r[a]=!r[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}}),l=h;M.exports=l},AEZ6:function(M,B,o){var w=o("bYtY"),f=w.each,A=w.createHashMap,m=o("T4UG"),g=o("MwEJ"),p=m.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(l,e){var n=this.getSource();return c(n,this),g(n,this)},getRawIndicesByActiveState:function(l){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,function(r,a){l===r&&i.push(n.getRawIndex(a))}),i},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 c(l,e){if(l.encodeDefine)return;var n=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(!n)return;var i=l.encodeDefine=A();f(n.dimensions,function(r){var a=h(r);i.set(r,a)})}function h(l){return+l.replace("dim","")}M.exports=p},AH3D:function(M,B,o){var w=o("ProS");o("y4/Y"),o("qWt2"),o("Qvb6"),w.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),w.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("5GtS"),m=o("4NO4"),g=m.defaultEmphasis,p=o("D5nY"),c=p.makeSeriesEncodeForNameBased,h=o("xKMd"),l=w.extendSeriesModel({type:"series.funnel",init:function(n){l.superApply(this,"init",arguments),this.legendVisualProvider=new h(f.bind(this.getData,this),f.bind(this.getRawData,this)),this._defaultLabelLine(n)},getInitialData:function(n,i){return A(this,{coordDimensions:["value"],encodeDefaulter:f.curry(c,this)})},_defaultLabelLine:function(n){g(n,"labelLine",["show"]);var i=n.labelLine,r=n.emphasis.labelLine;i.show=i.show&&n.label.show,r.show=r.show&&n.emphasis.label.show},getDataParams:function(n){var i=this.getData(),r=l.superCall(this,"getDataParams",n),a=i.mapDimension("value"),t=i.getSum(a);return r.percent=t?+(i.get(a,n)/t*100).toFixed(2):0,r.$vars.push("percent"),r},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),e=l;M.exports=e},ANhw:function(M,B){(function(){var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",w={rotl:function(A,m){return A<<m|A>>>32-m},rotr:function(A,m){return A<<32-m|A>>>m},endian:function(A){if(A.constructor==Number)return w.rotl(A,8)&16711935|w.rotl(A,24)&4278255360;for(var m=0;m<A.length;m++)A[m]=w.endian(A[m]);return A},randomBytes:function(A){for(var m=[];A>0;A--)m.push(Math.floor(Math.random()*256));return m},bytesToWords:function(A){for(var m=[],g=0,p=0;g<A.length;g++,p+=8)m[p>>>5]|=A[g]<<24-p%32;return m},wordsToBytes:function(A){for(var m=[],g=0;g<A.length*32;g+=8)m.push(A[g>>>5]>>>24-g%32&255);return m},bytesToHex:function(A){for(var m=[],g=0;g<A.length;g++)m.push((A[g]>>>4).toString(16)),m.push((A[g]&15).toString(16));return m.join("")},hexToBytes:function(A){for(var m=[],g=0;g<A.length;g+=2)m.push(parseInt(A.substr(g,2),16));return m},bytesToBase64:function(A){for(var m=[],g=0;g<A.length;g+=3)for(var p=A[g]<<16|A[g+1]<<8|A[g+2],c=0;c<4;c++)g*8+c*6<=A.length*8?m.push(o.charAt(p>>>6*(3-c)&63)):m.push("=");return m.join("")},base64ToBytes:function(A){A=A.replace(/[^A-Z0-9+\/]/ig,"");for(var m=[],g=0,p=0;g<A.length;p=++g%4){if(p==0)continue;m.push((o.indexOf(A.charAt(g-1))&Math.pow(2,-2*p+8)-1)<<p*2|o.indexOf(A.charAt(g))>>>6-p*2)}return m}};M.exports=w})()},ANjR:function(M,B,o){var w=o("bYtY");function f(m,g){return g=g||[0,0],w.map([0,1],function(p){var c=g[p],h=m[p]/2,l=[],e=[];return l[p]=c-h,e[p]=c+h,l[1-p]=e[1-p]=g[1-p],Math.abs(this.dataToPoint(l)[p]-this.dataToPoint(e)[p])},this)}function A(m){var g=m.getBoundingRect();return{coordSys:{type:"geo",x:g.x,y:g.y,width:g.width,height:g.height,zoom:m.getZoom()},api:{coord:function(p){return m.dataToPoint(p)},size:w.bind(f,m)}}}M.exports=A},AUH6:function(M,B,o){var w=o("bYtY"),f=o("mFDi"),A=o("bMXI"),m=o("W4dC");function g(h,l,e,n){A.call(this,h),this.map=l;var i=m.load(l,e);this._nameCoordMap=i.nameCoordMap,this._regionsMap=i.regionsMap,this._invertLongitute=n==null?!0:n,this.regions=i.regions,this._rect=i.boundingRect}g.prototype={constructor:g,type:"geo",dimensions:["lng","lat"],containCoord:function(h){for(var l=this.regions,e=0;e<l.length;e++)if(l[e].contain(h))return!0;return!1},transformTo:function(h,l,e,n){var i=this.getBoundingRect(),r=this._invertLongitute;i=i.clone(),r&&(i.y=-i.y-i.height);var a=this._rawTransformable;if(a.transform=i.calculateTransform(new f(h,l,e,n)),a.decomposeTransform(),r){var t=a.scale;t[1]=-t[1]}a.updateTransform(),this._updateTransform()},getRegion:function(h){return this._regionsMap.get(h)},getRegionByCoord:function(h){for(var l=this.regions,e=0;e<l.length;e++)if(l[e].contain(h))return l[e]},addGeoCoord:function(h,l){this._nameCoordMap.set(h,l)},getGeoCoord:function(h){return this._nameCoordMap.get(h)},getBoundingRect:function(){return this._rect},dataToPoint:function(h,l,e){if(typeof h=="string"&&(h=this.getGeoCoord(h)),h)return A.prototype.dataToPoint.call(this,h,l,e)},convertToPixel:w.curry(p,"dataToPoint"),convertFromPixel:w.curry(p,"pointToData")},w.mixin(g,A);function p(h,l,e,n){var i=e.geoModel,r=e.seriesModel,a=i?i.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return a===this?a[h](n):null}var c=g;M.exports=c},AVZG:function(M,B,o){var w=o("bYtY");function f(A,m,g){g=g||{};var p=A.coordinateSystem,c=m.axis,h={},l=c.getAxesOnZeroOf()[0],e=c.position,n=l?"onZero":e,i=c.dim,r=p.getRect(),a=[r.x,r.x+r.width,r.y,r.y+r.height],t={left:0,right:1,top:0,bottom:1,onZero:2},s=m.get("offset")||0,u=i==="x"?[a[2]-s,a[3]+s]:[a[0]-s,a[1]+s];if(l){var d=l.toGlobalCoord(l.dataToCoord(0));u[t.onZero]=Math.max(Math.min(d,u[1]),u[0])}h.position=[i==="y"?u[t[n]]:a[0],i==="x"?u[t[n]]:a[3]],h.rotation=Math.PI/2*(i==="x"?0:1);var v={top:-1,bottom:1,left:-1,right:1};h.labelDirection=h.tickDirection=h.nameDirection=v[e],h.labelOffset=l?u[t[e]]-u[t.onZero]:0,m.get("axisTick.inside")&&(h.tickDirection=-h.tickDirection),w.retrieve(g.labelInside,m.get("axisLabel.inside"))&&(h.labelDirection=-h.labelDirection);var y=m.get("axisLabel.rotate");return h.labelRotate=n==="top"?-y:y,h.z2=1,h}B.layout=f},"Ae+d":function(M,B){function o(f,A,m){var g=f.target,p=g.position;p[0]+=A,p[1]+=m,g.dirty()}function w(f,A,m,g){var p=f.target,c=f.zoomLimit,h=p.position,l=p.scale,e=f.zoom=f.zoom||1;if(e*=A,c){var n=c.min||0,i=c.max||Infinity;e=Math.max(Math.min(i,e),n)}var r=e/f.zoom;f.zoom=e,h[0]-=(m-h[0])*(r-1),h[1]-=(g-h[1])*(r-1),l[0]*=r,l[1]*=r,p.dirty()}B.updateViewOnPan=o,B.updateViewOnZoom=w},Ae16:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("IwbS");o("Wqna"),o("rySg"),w.extendComponentView({type:"grid",render:function(m,g){this.group.removeAll(),m.get("show")&&this.group.add(new A.Rect({shape:m.coordinateSystem.getRect(),style:f.defaults({fill:m.get("backgroundColor")},m.getItemStyle()),silent:!0,z2:-1}))}}),w.registerPreprocessor(function(m){m.xAxis&&m.yAxis&&!m.grid&&(m.grid={})})},AeMq:function(M,B,o){"use strict";var w=o("gScr");B.a=w.a},AjEO:function(M,B,o){},At67:function(M,B,o){"use strict";o.d(B,"b",function(){return f}),o.d(B,"a",function(){return A});var w=o("6LNJ"),f=Object(w.a)("success","processing","error","default","warning"),A=Object(w.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"B+YJ":function(M,B,o){o("TYVI"),o("p1MT")},"B6l+":function(M,B,o){var w=o("Sq3C"),f=o("Z1HP"),A=o("Sxd8"),m=o("dt0z");function g(p,c,h){p=m(p),c=A(c);var l=c?f(p):0;return c&&l<c?p+w(c-l,h):p}M.exports=g},B8SR:function(M,B,o){"use strict";var w=o("rePB"),f=o("wx14"),A=o("q1tI"),m=o.n(A),g=o("VTBJ"),p=o("1OyB"),c=o("vuIU"),h=o("Ji7U"),l=o("LK+K"),e=o("TSYQ"),n=o.n(e),i=function(ne){var J,ge="".concat(ne.rootPrefixCls,"-item"),de=n()(ge,"".concat(ge,"-").concat(ne.page),(J={},Object(w.a)(J,"".concat(ge,"-active"),ne.active),Object(w.a)(J,"".concat(ge,"-disabled"),!ne.page),Object(w.a)(J,ne.className,!!ne.className),J)),Ie=function(){ne.onClick(ne.page)},be=function(je){ne.onKeyPress(je,ne.onClick,ne.page)};return m.a.createElement("li",{title:ne.showTitle?ne.page:null,className:de,onClick:Ie,onKeyPress:be,tabIndex:"0"},ne.itemRender(ne.page,"page",m.a.createElement("a",{rel:"nofollow"},ne.page)))},r=i,a={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},t=function($){Object(h.a)(J,$);var ne=Object(l.a)(J);function J(){var ge;Object(p.a)(this,J);for(var de=arguments.length,Ie=new Array(de),be=0;be<de;be++)Ie[be]=arguments[be];return ge=ne.call.apply(ne,[this].concat(Ie)),ge.state={goInputText:""},ge.buildOptionText=function(Ce){return"".concat(Ce," ").concat(ge.props.locale.items_per_page)},ge.changeSize=function(Ce){ge.props.changeSize(Number(Ce))},ge.handleChange=function(Ce){ge.setState({goInputText:Ce.target.value})},ge.handleBlur=function(Ce){var je=ge.props,te=je.goButton,ve=je.quickGo,$e=je.rootPrefixCls,Le=ge.state.goInputText;if(te||Le==="")return;if(ge.setState({goInputText:""}),Ce.relatedTarget&&(Ce.relatedTarget.className.indexOf("".concat($e,"-item-link"))>=0||Ce.relatedTarget.className.indexOf("".concat($e,"-item"))>=0))return;ve(ge.getValidValue())},ge.go=function(Ce){var je=ge.state.goInputText;if(je==="")return;(Ce.keyCode===a.ENTER||Ce.type==="click")&&(ge.setState({goInputText:""}),ge.props.quickGo(ge.getValidValue()))},ge}return Object(c.a)(J,[{key:"getValidValue",value:function(){var de=this.state.goInputText;return!de||isNaN(de)?void 0:Number(de)}},{key:"getPageSizeOptions",value:function(){var de=this.props,Ie=de.pageSize,be=de.pageSizeOptions;return be.some(function(Ce){return Ce.toString()===Ie.toString()})?be:be.concat([Ie.toString()]).sort(function(Ce,je){var te=isNaN(Number(Ce))?0:Number(Ce),ve=isNaN(Number(je))?0:Number(je);return te-ve})}},{key:"render",value:function(){var de=this,Ie=this.props,be=Ie.pageSize,Ce=Ie.locale,je=Ie.rootPrefixCls,te=Ie.changeSize,ve=Ie.quickGo,$e=Ie.goButton,Le=Ie.selectComponentClass,he=Ie.buildOptionText,ee=Ie.selectPrefixCls,se=Ie.disabled,Ue=this.state.goInputText,ue="".concat(je,"-options"),Ne=Le,Fe=null,ae=null,ce=null;if(!te&&!ve)return null;var _e=this.getPageSizeOptions();if(te&&Ne){var ze=_e.map(function(it,Ze){return m.a.createElement(Ne.Option,{key:Ze,value:it.toString()},(he||de.buildOptionText)(it))});Fe=m.a.createElement(Ne,{disabled:se,prefixCls:ee,showSearch:!1,className:"".concat(ue,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(be||_e[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Ze){return Ze.parentNode}},ze)}return ve&&($e&&(ce=typeof $e=="boolean"?m.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:se,className:"".concat(ue,"-quick-jumper-button")},Ce.jump_to_confirm):m.a.createElement("span",{onClick:this.go,onKeyUp:this.go},$e)),ae=m.a.createElement("div",{className:"".concat(ue,"-quick-jumper")},Ce.jump_to,m.a.createElement("input",{disabled:se,type:"text",value:Ue,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Ce.page,ce)),m.a.createElement("li",{className:"".concat(ue)},Fe,ae)}}]),J}(m.a.Component);t.defaultProps={pageSizeOptions:["10","20","50","100"]};var s=t,u=o("gIha");function d(){}function v($){return typeof $=="number"&&isFinite($)&&Math.floor($)===$}function y($,ne,J){return J}function S($,ne,J){var ge=typeof $=="undefined"?ne.pageSize:$;return Math.floor((J.total-1)/ge)+1}var b=function($){Object(h.a)(J,$);var ne=Object(l.a)(J);function J(ge){var de;Object(p.a)(this,J),de=ne.call(this,ge),de.getJumpPrevPage=function(){return Math.max(1,de.state.current-(de.props.showLessItems?3:5))},de.getJumpNextPage=function(){return Math.min(S(void 0,de.state,de.props),de.state.current+(de.props.showLessItems?3:5))},de.getItemIcon=function(te,ve){var $e=de.props.prefixCls,Le=te||m.a.createElement("button",{type:"button","aria-label":ve,className:"".concat($e,"-item-link")});return typeof te=="function"&&(Le=m.a.createElement(te,Object(g.a)({},de.props))),Le},de.savePaginationNode=function(te){de.paginationNode=te},de.isValid=function(te){return v(te)&&te!==de.state.current},de.shouldDisplayQuickJumper=function(){var te=de.props,ve=te.showQuickJumper,$e=te.pageSize,Le=te.total;return Le<=$e?!1:ve},de.handleKeyDown=function(te){(te.keyCode===a.ARROW_UP||te.keyCode===a.ARROW_DOWN)&&te.preventDefault()},de.handleKeyUp=function(te){var ve=de.getValidValue(te),$e=de.state.currentInputValue;ve!==$e&&de.setState({currentInputValue:ve}),te.keyCode===a.ENTER?de.handleChange(ve):te.keyCode===a.ARROW_UP?de.handleChange(ve-1):te.keyCode===a.ARROW_DOWN&&de.handleChange(ve+1)},de.changePageSize=function(te){var ve=de.state.current,$e=S(te,de.state,de.props);ve=ve>$e?$e:ve,$e===0&&(ve=de.state.current),typeof te=="number"&&("pageSize"in de.props||de.setState({pageSize:te}),"current"in de.props||de.setState({current:ve,currentInputValue:ve})),de.props.onShowSizeChange(ve,te),"onChange"in de.props&&de.props.onChange&&de.props.onChange(ve,te)},de.handleChange=function(te){var ve=de.props.disabled,$e=te;if(de.isValid($e)&&!ve){var Le=S(void 0,de.state,de.props);$e>Le?$e=Le:$e<1&&($e=1),"current"in de.props||de.setState({current:$e,currentInputValue:$e});var he=de.state.pageSize;return de.props.onChange($e,he),$e}return de.state.current},de.prev=function(){de.hasPrev()&&de.handleChange(de.state.current-1)},de.next=function(){de.hasNext()&&de.handleChange(de.state.current+1)},de.jumpPrev=function(){de.handleChange(de.getJumpPrevPage())},de.jumpNext=function(){de.handleChange(de.getJumpNextPage())},de.hasPrev=function(){return de.state.current>1},de.hasNext=function(){return de.state.current<S(void 0,de.state,de.props)},de.runIfEnter=function(te,ve){if(te.key==="Enter"||te.charCode===13){for(var $e=arguments.length,Le=new Array($e>2?$e-2:0),he=2;he<$e;he++)Le[he-2]=arguments[he];ve.apply(void 0,Le)}},de.runIfEnterPrev=function(te){de.runIfEnter(te,de.prev)},de.runIfEnterNext=function(te){de.runIfEnter(te,de.next)},de.runIfEnterJumpPrev=function(te){de.runIfEnter(te,de.jumpPrev)},de.runIfEnterJumpNext=function(te){de.runIfEnter(te,de.jumpNext)},de.handleGoTO=function(te){(te.keyCode===a.ENTER||te.type==="click")&&de.handleChange(de.state.currentInputValue)};var Ie=ge.onChange!==d,be="current"in ge;be&&!Ie&&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=ge.defaultCurrent;"current"in ge&&(Ce=ge.current);var je=ge.defaultPageSize;return"pageSize"in ge&&(je=ge.pageSize),Ce=Math.min(Ce,S(je,void 0,ge)),de.state={current:Ce,currentInputValue:Ce,pageSize:je},de}return Object(c.a)(J,[{key:"componentDidUpdate",value:function(de,Ie){var be=this.props.prefixCls;if(Ie.current!==this.state.current&&this.paginationNode){var Ce=this.paginationNode.querySelector(".".concat(be,"-item-").concat(Ie.current));Ce&&document.activeElement===Ce&&Ce.blur()}}},{key:"getValidValue",value:function(de){var Ie=de.target.value,be=S(void 0,this.state,this.props),Ce=this.state.currentInputValue,je;return Ie===""?je=Ie:isNaN(Number(Ie))?je=Ce:Ie>=be?je=be:je=Number(Ie),je}},{key:"getShowSizeChanger",value:function(){var de=this.props,Ie=de.showSizeChanger,be=de.total,Ce=de.totalBoundaryShowSizeChanger;return typeof Ie!="undefined"?Ie:be>Ce}},{key:"renderPrev",value:function(de){var Ie=this.props,be=Ie.prevIcon,Ce=Ie.itemRender,je=Ce(de,"prev",this.getItemIcon(be,"prev page")),te=!this.hasPrev();return Object(A.isValidElement)(je)?Object(A.cloneElement)(je,{disabled:te}):je}},{key:"renderNext",value:function(de){var Ie=this.props,be=Ie.nextIcon,Ce=Ie.itemRender,je=Ce(de,"next",this.getItemIcon(be,"next page")),te=!this.hasNext();return Object(A.isValidElement)(je)?Object(A.cloneElement)(je,{disabled:te}):je}},{key:"render",value:function(){var de=this,Ie=this.props,be=Ie.prefixCls,Ce=Ie.className,je=Ie.style,te=Ie.disabled,ve=Ie.hideOnSinglePage,$e=Ie.total,Le=Ie.locale,he=Ie.showQuickJumper,ee=Ie.showLessItems,se=Ie.showTitle,Ue=Ie.showTotal,ue=Ie.simple,Ne=Ie.itemRender,Fe=Ie.showPrevNextJumpers,ae=Ie.jumpPrevIcon,ce=Ie.jumpNextIcon,_e=Ie.selectComponentClass,ze=Ie.selectPrefixCls,it=Ie.pageSizeOptions,Ze=this.state,Ee=Ze.current,mt=Ze.pageSize,Je=Ze.currentInputValue;if(ve===!0&&$e<=mt)return null;var rt=S(void 0,this.state,this.props),wt=[],Ot=null,Ct=null,Dt=null,Xe=null,q=null,V=he&&he.goButton,Ae=ee?1:2,xe=Ee-1>0?Ee-1:0,re=Ee+1<rt?Ee+1:rt,ot=Object.keys(this.props).reduce(function(Lr,Jr){return(Jr.substr(0,5)==="data-"||Jr.substr(0,5)==="aria-"||Jr==="role")&&(Lr[Jr]=de.props[Jr]),Lr},{});if(ue)return V&&(typeof V=="boolean"?q=m.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Le.jump_to_confirm):q=m.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},V),q=m.a.createElement("li",{title:se?"".concat(Le.jump_to).concat(Ee,"/").concat(rt):null,className:"".concat(be,"-simple-pager")},q)),m.a.createElement("ul",Object(f.a)({className:n()(be,"".concat(be,"-simple"),Object(w.a)({},"".concat(be,"-disabled"),te),Ce),style:je,ref:this.savePaginationNode},ot),m.a.createElement("li",{title:se?Le.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:n()("".concat(be,"-prev"),Object(w.a)({},"".concat(be,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(xe)),m.a.createElement("li",{title:se?"".concat(Ee,"/").concat(rt):null,className:"".concat(be,"-simple-pager")},m.a.createElement("input",{type:"text",value:Je,disabled:te,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),m.a.createElement("span",{className:"".concat(be,"-slash")},"/"),rt),m.a.createElement("li",{title:se?Le.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:n()("".concat(be,"-next"),Object(w.a)({},"".concat(be,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(re)),q);if(rt<=3+Ae*2){var bt={locale:Le,rootPrefixCls:be,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:se,itemRender:Ne};rt||wt.push(m.a.createElement(r,Object(f.a)({},bt,{key:"noPager",page:1,className:"".concat(be,"-item-disabled")})));for(var tt=1;tt<=rt;tt+=1){var Tt=Ee===tt;wt.push(m.a.createElement(r,Object(f.a)({},bt,{key:tt,page:tt,active:Tt})))}}else{var Gt=ee?Le.prev_3:Le.prev_5,lr=ee?Le.next_3:Le.next_5;Fe&&(Ot=m.a.createElement("li",{title:se?Gt:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:n()("".concat(be,"-jump-prev"),Object(w.a)({},"".concat(be,"-jump-prev-custom-icon"),!!ae))},Ne(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ae,"prev page"))),Ct=m.a.createElement("li",{title:se?lr:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:n()("".concat(be,"-jump-next"),Object(w.a)({},"".concat(be,"-jump-next-custom-icon"),!!ce))},Ne(this.getJumpNextPage(),"jump-next",this.getItemIcon(ce,"next page")))),Xe=m.a.createElement(r,{locale:Le,last:!0,rootPrefixCls:be,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:rt,page:rt,active:!1,showTitle:se,itemRender:Ne}),Dt=m.a.createElement(r,{locale:Le,rootPrefixCls:be,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:se,itemRender:Ne});var pr=Math.max(1,Ee-Ae),Rr=Math.min(Ee+Ae,rt);Ee-1<=Ae&&(Rr=1+Ae*2),rt-Ee<=Ae&&(pr=rt-Ae*2);for(var xt=pr;xt<=Rr;xt+=1){var It=Ee===xt;wt.push(m.a.createElement(r,{locale:Le,rootPrefixCls:be,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:xt,page:xt,active:It,showTitle:se,itemRender:Ne}))}Ee-1>=Ae*2&&Ee!==1+2&&(wt[0]=Object(A.cloneElement)(wt[0],{className:"".concat(be,"-item-after-jump-prev")}),wt.unshift(Ot)),rt-Ee>=Ae*2&&Ee!==rt-2&&(wt[wt.length-1]=Object(A.cloneElement)(wt[wt.length-1],{className:"".concat(be,"-item-before-jump-next")}),wt.push(Ct)),pr!==1&&wt.unshift(Dt),Rr!==rt&&wt.push(Xe)}var At=null;Ue&&(At=m.a.createElement("li",{className:"".concat(be,"-total-text")},Ue($e,[$e===0?0:(Ee-1)*mt+1,Ee*mt>$e?$e:Ee*mt])));var Zt=!this.hasPrev()||!rt,br=!this.hasNext()||!rt;return m.a.createElement("ul",Object(f.a)({className:n()(be,Ce,Object(w.a)({},"".concat(be,"-disabled"),te)),style:je,unselectable:"unselectable",ref:this.savePaginationNode},ot),At,m.a.createElement("li",{title:se?Le.prev_page:null,onClick:this.prev,tabIndex:Zt?null:0,onKeyPress:this.runIfEnterPrev,className:n()("".concat(be,"-prev"),Object(w.a)({},"".concat(be,"-disabled"),Zt)),"aria-disabled":Zt},this.renderPrev(xe)),wt,m.a.createElement("li",{title:se?Le.next_page:null,onClick:this.next,tabIndex:br?null:0,onKeyPress:this.runIfEnterNext,className:n()("".concat(be,"-next"),Object(w.a)({},"".concat(be,"-disabled"),br)),"aria-disabled":br},this.renderNext(re)),m.a.createElement(s,{disabled:te,locale:Le,rootPrefixCls:be,selectComponentClass:_e,selectPrefixCls:ze,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Ee,pageSize:mt,pageSizeOptions:it,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:V}))}}],[{key:"getDerivedStateFromProps",value:function(de,Ie){var be={};if("current"in de&&(be.current=de.current,de.current!==Ie.current&&(be.currentInputValue=be.current)),"pageSize"in de&&de.pageSize!==Ie.pageSize){var Ce=Ie.current,je=S(de.pageSize,Ie,de);Ce=Ce>je?je:Ce,"current"in de||(be.current=Ce,be.currentInputValue=Ce),be.pageSize=de.pageSize}return be}}]),J}(m.a.Component);b.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:d,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:d,locale:u.a,style:{},itemRender:y,totalBoundaryShowSizeChanger:50};var E=b,C=o("9LJR"),T=o("5bA4"),x=o("UESt"),_={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=_,L=o("6VBw"),R=function(ne,J){return A.createElement(L.a,Object(g.a)(Object(g.a)({},ne),{},{ref:J,icon:I}))};R.displayName="DoubleLeftOutlined";var k=A.forwardRef(R),F=o("zs7G"),P=o("j5T7"),W=function(ne){return A.createElement(P.a,Object(f.a)({size:"small"},ne))};W.Option=P.a.Option;var D=W,U=o("VM9+"),H=o("9R2V"),j=o("h3u3"),K=function($,ne){var J={};for(var ge in $)Object.prototype.hasOwnProperty.call($,ge)&&ne.indexOf(ge)<0&&(J[ge]=$[ge]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ge=Object.getOwnPropertySymbols($);de<ge.length;de++)ne.indexOf(ge[de])<0&&Object.prototype.propertyIsEnumerable.call($,ge[de])&&(J[ge[de]]=$[ge[de]]);return J},X=function(ne){var J=ne.prefixCls,ge=ne.selectPrefixCls,de=ne.className,Ie=ne.size,be=ne.locale,Ce=K(ne,["prefixCls","selectPrefixCls","className","size","locale"]),je=Object(j.a)(),te=je.xs,ve=A.useContext(H.b),$e=ve.getPrefixCls,Le=ve.direction,he=$e("pagination",J),ee=function(){var ue=A.createElement("span",{className:"".concat(he,"-item-ellipsis")},"\u2022\u2022\u2022"),Ne=A.createElement("button",{className:"".concat(he,"-item-link"),type:"button",tabIndex:-1},A.createElement(T.a,null)),Fe=A.createElement("button",{className:"".concat(he,"-item-link"),type:"button",tabIndex:-1},A.createElement(x.a,null)),ae=A.createElement("a",{className:"".concat(he,"-item-link")},A.createElement("div",{className:"".concat(he,"-item-container")},A.createElement(k,{className:"".concat(he,"-item-link-icon")}),ue)),ce=A.createElement("a",{className:"".concat(he,"-item-link")},A.createElement("div",{className:"".concat(he,"-item-container")},A.createElement(F.a,{className:"".concat(he,"-item-link-icon")}),ue));if(Le==="rtl"){var _e=[Fe,Ne];Ne=_e[0],Fe=_e[1];var ze=[ce,ae];ae=ze[0],ce=ze[1]}return{prevIcon:Ne,nextIcon:Fe,jumpPrevIcon:ae,jumpNextIcon:ce}},se=function(ue){var Ne=Object(f.a)(Object(f.a)({},ue),be),Fe=Ie==="small"||!!(te&&!Ie&&Ce.responsive),ae=$e("select",ge),ce=n()(Object(w.a)({mini:Fe},"".concat(he,"-rtl"),Le==="rtl"),de);return A.createElement(E,Object(f.a)({},Ce,{prefixCls:he,selectPrefixCls:ae},ee(),{className:ce,selectComponentClass:Fe?D:P.a,locale:Ne}))};return A.createElement(U.a,{componentName:"Pagination",defaultLocale:C.a},se)},z=X,Y=B.a=z},B9fm:function(M,B,o){var w=o("bYtY"),f=o("Qe9p"),A=o("YH21"),m=o("Ze12"),g=o("ItGF"),p=o("7aKB"),c=w.each,h=p.toCamelCase,l=["","-webkit-","-moz-","-o-"],e="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function n(u){var d="cubic-bezier(0.23, 1, 0.32, 1)",v="left "+u+"s "+d+",top "+u+"s "+d;return w.map(l,function(y){return y+"transition:"+v}).join(";")}function i(u){var d=[],v=u.get("fontSize"),y=u.getTextColor();return y&&d.push("color:"+y),d.push("font:"+u.getFont()),v&&d.push("line-height:"+Math.round(v*3/2)+"px"),c(["decoration","align"],function(S){var b=u.get(S);b&&d.push("text-"+S+":"+b)}),d.join(";")}function r(u){var d=[],v=u.get("transitionDuration"),y=u.get("backgroundColor"),S=u.getModel("textStyle"),b=u.get("padding");return v&&d.push(n(v)),y&&(g.canvasSupported?d.push("background-Color:"+y):(d.push("background-Color:#"+f.toHex(y)),d.push("filter:alpha(opacity=70)"))),c(["width","color","radius"],function(E){var C="border-"+E,T=h(C),x=u.get(T);x!=null&&d.push(C+":"+x+(E==="color"?"":"px"))}),d.push(i(S)),b!=null&&d.push("padding:"+p.normalizeCssArray(b).join("px ")+"px"),d.join(";")+";"}function a(u,d,v,y,S){var b=d&&d.painter;if(v){var E=b&&b.getViewportRoot();E&&m.transformLocalCoord(u,E,document.body,y,S)}else{u[0]=y,u[1]=S;var C=b&&b.getViewportRootOffset();C&&(u[0]+=C.offsetLeft,u[1]+=C.offsetTop)}}function t(u,d,v){if(g.wxa)return null;var y=document.createElement("div");y.domBelongToZr=!0,this.el=y;var S=this._zr=d.getZr(),b=this._appendToBody=v&&v.appendToBody;this._styleCoord=[0,0],a(this._styleCoord,S,b,d.getWidth()/2,d.getHeight()/2),b?document.body.appendChild(y):u.appendChild(y),this._container=u,this._show=!1,this._hideTimeout;var E=this;y.onmouseenter=function(){E._enterable&&(clearTimeout(E._hideTimeout),E._show=!0),E._inContent=!0},y.onmousemove=function(C){if(C=C||window.event,!E._enterable){var T=S.handler,x=S.painter.getViewportRoot();A.normalizeEvent(x,C,!0),T.dispatch("mousemove",C)}},y.onmouseleave=function(){E._enterable&&(E._show&&E.hideLater(E._hideDelay)),E._inContent=!1}}t.prototype={constructor:t,_enterable:!0,update:function(){var u=this._container,d=u.currentStyle||document.defaultView.getComputedStyle(u),v=u.style;v.position!=="absolute"&&d.position!=="absolute"&&(v.position="relative")},show:function(u){clearTimeout(this._hideTimeout);var d=this.el,v=this._styleCoord;d.style.cssText=e+r(u)+";left:"+v[0]+"px;top:"+v[1]+"px;"+(u.get("extraCssText")||""),d.style.display=d.innerHTML?"block":"none",d.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(u){this.el.innerHTML=u==null?"":u},setEnterable:function(u){this._enterable=u},getSize:function(){var u=this.el;return[u.clientWidth,u.clientHeight]},moveTo:function(u,d){var v=this._styleCoord;a(v,this._zr,this._appendToBody,u,d);var y=this.el.style;y.left=v[0]+"px",y.top=v[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(u){this._show&&!(this._inContent&&this._enterable)&&(u?(this._hideDelay=u,this._show=!1,this._hideTimeout=setTimeout(w.bind(this.hide,this),u)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var u=this.el.clientWidth,d=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var v=document.defaultView.getComputedStyle(this.el);v&&(u+=parseInt(v.borderLeftWidth,10)+parseInt(v.borderRightWidth,10),d+=parseInt(v.borderTopWidth,10)+parseInt(v.borderBottomWidth,10))}return{width:u,height:d}}};var s=t;M.exports=s},BEtg:function(M,B){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/M.exports=function(f){return f!=null&&(o(f)||w(f)||!!f._isBuffer)};function o(f){return!!f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f)}function w(f){return typeof f.readFloatLE=="function"&&typeof f.slice=="function"&&o(f.slice(0,0))}},BIfp:function(M,B,o){"use strict";var w=o("wd/R"),f=o.n(w),A=o("Kwbf"),m={getNow:function(){return f()()},getFixedDate:function(gt){return f()(gt,"YYYY-MM-DD")},getEndDate:function(gt){var Xt=gt.clone();return Xt.endOf("month")},getWeekDay:function(gt){var Xt=gt.clone().locale("en_US");return Xt.weekday()+Xt.localeData().firstDayOfWeek()},getYear:function(gt){return gt.year()},getMonth:function(gt){return gt.month()},getDate:function(gt){return gt.date()},getHour:function(gt){return gt.hour()},getMinute:function(gt){return gt.minute()},getSecond:function(gt){return gt.second()},addYear:function(gt,Xt){var zt=gt.clone();return zt.add(Xt,"year")},addMonth:function(gt,Xt){var zt=gt.clone();return zt.add(Xt,"month")},addDate:function(gt,Xt){var zt=gt.clone();return zt.add(Xt,"day")},setYear:function(gt,Xt){var zt=gt.clone();return zt.year(Xt)},setMonth:function(gt,Xt){var zt=gt.clone();return zt.month(Xt)},setDate:function(gt,Xt){var zt=gt.clone();return zt.date(Xt)},setHour:function(gt,Xt){var zt=gt.clone();return zt.hour(Xt)},setMinute:function(gt,Xt){var zt=gt.clone();return zt.minute(Xt)},setSecond:function(gt,Xt){var zt=gt.clone();return zt.second(Xt)},isAfter:function(gt,Xt){return gt.isAfter(Xt)},isValidate:function(gt){return gt.isValid()},locale:{getWeekFirstDay:function(gt){var Xt=f()().locale(gt);return Xt.localeData().firstDayOfWeek()},getWeekFirstDate:function(gt,Xt){var zt=Xt.clone(),vr=zt.locale(gt);return vr.weekday(0)},getWeek:function(gt,Xt){var zt=Xt.clone(),vr=zt.locale(gt);return vr.week()},getShortWeekDays:function(gt){var Xt=f()().locale(gt);return Xt.localeData().weekdaysMin()},getShortMonths:function(gt){var Xt=f()().locale(gt);return Xt.localeData().monthsShort()},format:function(gt,Xt,zt){var vr=Xt.clone(),or=vr.locale(gt);return or.format(zt)},parse:function(gt,Xt,zt){for(var vr=[],or=0;or<zt.length;or+=1){var Vr=zt[or],Kr=Xt;if(Vr.includes("wo")||Vr.includes("Wo")){Vr=Vr.replace(/wo/g,"w").replace(/Wo/g,"W");var Dr=Vr.match(/[-YyMmDdHhSsWwGg]+/g),dn=Kr.match(/[-\d]+/g);Dr&&dn?(Vr=Dr.join(""),Kr=dn.join("")):vr.push(Vr.replace(/o/g,""))}var on=f()(Kr,Vr,gt,!0);if(on.isValid())return on}for(var Cn=0;Cn<vr.length;Cn+=1){var sn=f()(Xt,vr[Cn],gt,!1);if(sn.isValid())return Object(A.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),sn}return null}}},g=m,p=o("wx14"),c=o("q1tI"),h=o("Fc8i");function l(He){return c.createElement(h.a,Object(p.a)({size:"small",type:"primary"},He))}var e=o("XmSR");function n(He){return c.createElement(e.a,Object(p.a)({color:"blue"},He))}var i=o("rePB"),r=o("1OyB"),a=o("vuIU"),t=o("Ji7U"),s=o("LK+K"),u=o("TSYQ"),d=o.n(u),v=o("VTBJ"),y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},S=y,b=o("6VBw"),E=function(gt,Xt){return c.createElement(b.a,Object(v.a)(Object(v.a)({},gt),{},{ref:Xt,icon:S}))};E.displayName="CalendarOutlined";var C=c.forwardRef(E),T={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"},x=T,_=function(gt,Xt){return c.createElement(b.a,Object(v.a)(Object(v.a)({},gt),{},{ref:Xt,icon:x}))};_.displayName="ClockCircleOutlined";var I=c.forwardRef(_),L=o("jN4g"),R=o("ODXe"),k=o("6cGi"),F=o("U8pU"),P=o("4IlW"),W=c.createContext({}),D=W,U={visibility:"hidden"};function H(He){var gt=He.prefixCls,Xt=He.prevIcon,zt=Xt===void 0?"\u2039":Xt,vr=He.nextIcon,or=vr===void 0?"\u203A":vr,Vr=He.superPrevIcon,Kr=Vr===void 0?"\xAB":Vr,Dr=He.superNextIcon,dn=Dr===void 0?"\xBB":Dr,on=He.onSuperPrev,Cn=He.onSuperNext,sn=He.onPrev,an=He.onNext,Yr=He.children,fn=c.useContext(D),vn=fn.hideNextBtn,Ln=fn.hidePrevBtn;return c.createElement("div",{className:gt},on&&c.createElement("button",{type:"button",onClick:on,tabIndex:-1,className:"".concat(gt,"-super-prev-btn"),style:Ln?U:{}},Kr),sn&&c.createElement("button",{type:"button",onClick:sn,tabIndex:-1,className:"".concat(gt,"-prev-btn"),style:Ln?U:{}},zt),c.createElement("div",{className:"".concat(gt,"-view")},Yr),an&&c.createElement("button",{type:"button",onClick:an,tabIndex:-1,className:"".concat(gt,"-next-btn"),style:vn?U:{}},or),Cn&&c.createElement("button",{type:"button",onClick:Cn,tabIndex:-1,className:"".concat(gt,"-super-next-btn"),style:vn?U:{}},dn))}var j=H;function K(He){var gt=He.prefixCls,Xt=He.generateConfig,zt=He.viewDate,vr=He.onPrevDecades,or=He.onNextDecades,Vr=c.useContext(D),Kr=Vr.hideHeader;if(Kr)return null;var Dr="".concat(gt,"-header"),dn=Xt.getYear(zt),on=Math.floor(dn/mt)*mt,Cn=on+mt-1;return c.createElement(j,Object(p.a)({},He,{prefixCls:Dr,onSuperPrev:vr,onSuperNext:or}),on,"-",Cn)}var X=K;function z(He,gt,Xt,zt,vr){var or=He.setHour(gt,Xt);return or=He.setMinute(or,zt),or=He.setSecond(or,vr),or}function Y(He,gt,Xt){if(!Xt)return gt;var zt=gt;return zt=He.setHour(zt,He.getHour(Xt)),zt=He.setMinute(zt,He.getMinute(Xt)),zt=He.setSecond(zt,He.getSecond(Xt)),zt}function $(He,gt,Xt,zt,vr,or){var Vr=Math.floor(He/zt)*zt;if(Vr<He)return[Vr,60-vr,60-or];var Kr=Math.floor(gt/vr)*vr;if(Kr<gt)return[Vr,Kr,60-or];var Dr=Math.floor(Xt/or)*or;return[Vr,Kr,Dr]}function ne(He,gt){var Xt=He.getYear(gt),zt=He.getMonth(gt)+1,vr=He.getEndDate(He.getFixedDate("".concat(Xt,"-").concat(zt,"-01"))),or=He.getDate(vr),Vr=zt<10?"0".concat(zt):"".concat(zt);return"".concat(Xt,"-").concat(Vr,"-").concat(or)}function J(He){for(var gt=He.prefixCls,Xt=He.disabledDate,zt=He.onSelect,vr=He.picker,or=He.rowNum,Vr=He.colNum,Kr=He.prefixColumn,Dr=He.rowClassName,dn=He.baseDate,on=He.getCellClassName,Cn=He.getCellText,sn=He.getCellNode,an=He.getCellDate,Yr=He.generateConfig,fn=He.titleCell,vn=He.headerCells,Ln=c.useContext(D),oi=Ln.onDateMouseEnter,si=Ln.onDateMouseLeave,Ni=Ln.mode,qn="".concat(gt,"-cell"),Pn=[],Bi=0;Bi<or;Bi+=1){for(var ci=[],wi=void 0,fi=function(zi){var ma,aa=Bi*Vr+zi,ya=an(dn,aa),Ea=pr({cellDate:ya,mode:Ni,disabledDate:Xt,generateConfig:Yr});zi===0&&(wi=ya,Kr&&ci.push(Kr(wi)));var ca=fn&&fn(ya);ci.push(c.createElement("td",{key:zi,title:ca,className:d()(qn,Object(v.a)((ma={},Object(i.a)(ma,"".concat(qn,"-disabled"),Ea),Object(i.a)(ma,"".concat(qn,"-start"),Cn(ya)===1||vr==="year"&&Number(ca)%10===0),Object(i.a)(ma,"".concat(qn,"-end"),ca===ne(Yr,ya)||vr==="year"&&Number(ca)%10===9),ma),on(ya))),onClick:function(){Ea||zt(ya)},onMouseEnter:function(){!Ea&&oi&&oi(ya)},onMouseLeave:function(){!Ea&&si&&si(ya)}},sn?sn(ya):c.createElement("div",{className:"".concat(qn,"-inner")},Cn(ya))))},ki=0;ki<Vr;ki+=1)fi(ki);Pn.push(c.createElement("tr",{key:Bi,className:Dr&&Dr(wi)},ci))}return c.createElement("div",{className:"".concat(gt,"-body")},c.createElement("table",{className:"".concat(gt,"-content")},vn&&c.createElement("thead",null,c.createElement("tr",null,vn)),c.createElement("tbody",null,Pn)))}var ge=3,de=4;function Ie(He){var gt=Ee-1,Xt=He.prefixCls,zt=He.viewDate,vr=He.generateConfig,or="".concat(Xt,"-cell"),Vr=vr.getYear(zt),Kr=Math.floor(Vr/Ee)*Ee,Dr=Math.floor(Vr/mt)*mt,dn=Dr+mt-1,on=vr.setYear(zt,Dr-Math.ceil((ge*de*Ee-mt)/2)),Cn=function(an){var Yr,fn=vr.getYear(an),vn=fn+gt;return Yr={},Object(i.a)(Yr,"".concat(or,"-in-view"),Dr<=fn&&vn<=dn),Object(i.a)(Yr,"".concat(or,"-selected"),fn===Kr),Yr};return c.createElement(J,Object(p.a)({},He,{rowNum:de,colNum:ge,baseDate:on,getCellText:function(an){var Yr=vr.getYear(an);return"".concat(Yr,"-").concat(Yr+gt)},getCellClassName:Cn,getCellDate:function(an,Yr){return vr.addYear(an,Yr*Ee)}}))}var be=Ie,Ce=o("KQm4"),je=o("wgJM"),te=o("x/xZ"),ve=new Map;function $e(He,gt){var Xt;function zt(){Object(te.a)(He)?gt():Xt=Object(je.a)(function(){zt()})}return zt(),function(){je.a.cancel(Xt)}}function Le(He,gt,Xt){if(ve.get(He)&&cancelAnimationFrame(ve.get(He)),Xt<=0){ve.set(He,requestAnimationFrame(function(){He.scrollTop=gt}));return}var zt=gt-He.scrollTop,vr=zt/Xt*10;ve.set(He,requestAnimationFrame(function(){He.scrollTop+=vr,He.scrollTop!==gt&&Le(He,gt,Xt-10)}))}function he(He,gt){var Xt=gt.onLeftRight,zt=gt.onCtrlLeftRight,vr=gt.onUpDown,or=gt.onPageUpDown,Vr=gt.onEnter,Kr=He.which,Dr=He.ctrlKey,dn=He.metaKey;switch(Kr){case P.a.LEFT:if(Dr||dn){if(zt)return zt(-1),!0}else if(Xt)return Xt(-1),!0;break;case P.a.RIGHT:if(Dr||dn){if(zt)return zt(1),!0}else if(Xt)return Xt(1),!0;break;case P.a.UP:if(vr)return vr(-1),!0;break;case P.a.DOWN:if(vr)return vr(1),!0;break;case P.a.PAGE_UP:if(or)return or(-1),!0;break;case P.a.PAGE_DOWN:if(or)return or(1),!0;break;case P.a.ENTER:if(Vr)return Vr(),!0;break}return!1}function ee(He,gt,Xt,zt){var vr=He;if(!vr)switch(gt){case"time":vr=zt?"hh:mm:ss a":"HH:mm:ss";break;case"week":vr="gggg-wo";break;case"month":vr="YYYY-MM";break;case"quarter":vr="YYYY-[Q]Q";break;case"year":vr="YYYY";break;default:vr=Xt?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return vr}function se(He,gt,Xt){var zt=He==="time"?8:10,vr=typeof gt=="function"?gt(Xt.getNow()).length:gt.length;return Math.max(zt,vr)+2}var Ue=null,ue=new Set;function Ne(He){return!Ue&&typeof window!="undefined"&&window.addEventListener&&(Ue=function(Xt){Object(Ce.a)(ue).forEach(function(zt){zt(Xt)})},window.addEventListener("mousedown",Ue)),ue.add(He),function(){ue.delete(He),ue.size===0&&(window.removeEventListener("mousedown",Ue),Ue=null)}}function Fe(He){var gt=He.target;if(He.composed&>.shadowRoot){var Xt;return((Xt=He.composedPath)===null||Xt===void 0?void 0:Xt.call(He)[0])||gt}return gt}var ae=function(gt){return gt==="month"||gt==="date"?"year":gt},ce=function(gt){return gt==="date"?"month":gt},_e=function(gt){return gt==="month"||gt==="date"?"quarter":gt},ze=function(gt){return gt==="date"?"week":gt},it={year:ae,month:ce,quarter:_e,week:ze,time:null,date:null};function Ze(He,gt){return He.some(function(Xt){return Xt&&Xt.contains(gt)})}var Ee=10,mt=Ee*10;function Je(He){var gt=He.prefixCls,Xt=He.onViewDateChange,zt=He.generateConfig,vr=He.viewDate,or=He.operationRef,Vr=He.onSelect,Kr=He.onPanelChange,Dr="".concat(gt,"-decade-panel");or.current={onKeyDown:function(sn){return he(sn,{onLeftRight:function(Yr){Vr(zt.addYear(vr,Yr*Ee),"key")},onCtrlLeftRight:function(Yr){Vr(zt.addYear(vr,Yr*mt),"key")},onUpDown:function(Yr){Vr(zt.addYear(vr,Yr*Ee*ge),"key")},onEnter:function(){Kr("year",vr)}})}};var dn=function(sn){var an=zt.addYear(vr,sn*mt);Xt(an),Kr(null,an)},on=function(sn){Vr(sn,"mouse"),Kr("year",sn)};return c.createElement("div",{className:Dr},c.createElement(X,Object(p.a)({},He,{prefixCls:gt,onPrevDecades:function(){dn(-1)},onNextDecades:function(){dn(1)}})),c.createElement(be,Object(p.a)({},He,{prefixCls:gt,onSelect:on})))}var rt=Je,wt=7;function Ot(He,gt){return!He&&!gt?!0:!He||!gt?!1:void 0}function Ct(He,gt,Xt){var zt=Ot(gt,Xt);if(typeof zt=="boolean")return zt;var vr=Math.floor(He.getYear(gt)/10),or=Math.floor(He.getYear(Xt)/10);return vr===or}function Dt(He,gt,Xt){var zt=Ot(gt,Xt);return typeof zt=="boolean"?zt:He.getYear(gt)===He.getYear(Xt)}function Xe(He,gt){var Xt=Math.floor(He.getMonth(gt)/3);return Xt+1}function q(He,gt,Xt){var zt=Ot(gt,Xt);return typeof zt=="boolean"?zt:Dt(He,gt,Xt)&&Xe(He,gt)===Xe(He,Xt)}function V(He,gt,Xt){var zt=Ot(gt,Xt);return typeof zt=="boolean"?zt:Dt(He,gt,Xt)&&He.getMonth(gt)===He.getMonth(Xt)}function Ae(He,gt,Xt){var zt=Ot(gt,Xt);return typeof zt=="boolean"?zt:He.getYear(gt)===He.getYear(Xt)&&He.getMonth(gt)===He.getMonth(Xt)&&He.getDate(gt)===He.getDate(Xt)}function xe(He,gt,Xt){var zt=Ot(gt,Xt);return typeof zt=="boolean"?zt:He.getHour(gt)===He.getHour(Xt)&&He.getMinute(gt)===He.getMinute(Xt)&&He.getSecond(gt)===He.getSecond(Xt)}function re(He,gt,Xt,zt){var vr=Ot(Xt,zt);return typeof vr=="boolean"?vr:He.locale.getWeek(gt,Xt)===He.locale.getWeek(gt,zt)}function ot(He,gt,Xt){return Ae(He,gt,Xt)&&xe(He,gt,Xt)}function bt(He,gt,Xt,zt){return!gt||!Xt||!zt?!1:!Ae(He,gt,zt)&&!Ae(He,Xt,zt)&&He.isAfter(zt,gt)&&He.isAfter(Xt,zt)}function tt(He,gt,Xt){var zt=gt.locale.getWeekFirstDay(He),vr=gt.setDate(Xt,1),or=gt.getWeekDay(vr),Vr=gt.addDate(vr,zt-or);return gt.getMonth(Vr)===gt.getMonth(Xt)&>.getDate(Vr)>1&&(Vr=gt.addDate(Vr,-7)),Vr}function Tt(He,gt,Xt){var zt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(gt){case"year":return Xt.addYear(He,zt*10);case"quarter":case"month":return Xt.addYear(He,zt);default:return Xt.addMonth(He,zt)}}function Gt(He,gt){var Xt=gt.generateConfig,zt=gt.locale,vr=gt.format;return typeof vr=="function"?vr(He):Xt.locale.format(zt.locale,He,vr)}function lr(He,gt){var Xt=gt.generateConfig,zt=gt.locale,vr=gt.formatList;return!He||typeof vr[0]=="function"?null:Xt.locale.parse(zt.locale,He,vr)}function pr(He){var gt=He.cellDate,Xt=He.mode,zt=He.disabledDate,vr=He.generateConfig;if(!zt)return!1;var or=function(Yr,fn,vn){for(var Ln=fn;Ln<=vn;){var oi=void 0;switch(Yr){case"date":{if(oi=vr.setDate(gt,Ln),!zt(oi))return!1;break}case"month":{if(oi=vr.setMonth(gt,Ln),!pr({cellDate:oi,mode:"month",generateConfig:vr,disabledDate:zt}))return!1;break}case"year":{if(oi=vr.setYear(gt,Ln),!pr({cellDate:oi,mode:"year",generateConfig:vr,disabledDate:zt}))return!1;break}}Ln+=1}return!0};switch(Xt){case"date":case"week":return zt(gt);case"month":{var Vr=1,Kr=vr.getDate(vr.getEndDate(gt));return or("date",Vr,Kr)}case"quarter":{var Dr=Math.floor(vr.getMonth(gt)/3)*3,dn=Dr+2;return or("month",Dr,dn)}case"year":return or("month",0,11);case"decade":{var on=vr.getYear(gt),Cn=Math.floor(on/Ee)*Ee,sn=Cn+Ee-1;return or("year",Cn,sn)}}}function Rr(He){var gt=c.useContext(D),Xt=gt.hideHeader;if(Xt)return null;var zt=He.prefixCls,vr=He.generateConfig,or=He.locale,Vr=He.value,Kr=He.format,Dr="".concat(zt,"-header");return c.createElement(j,{prefixCls:Dr},Vr?Gt(Vr,{locale:or,format:Kr,generateConfig:vr}):"\xA0")}var xt=Rr,It=o("YrtM");function At(He){var gt=He.prefixCls,Xt=He.units,zt=He.onSelect,vr=He.value,or=He.active,Vr=He.hideDisabledOptions,Kr="".concat(gt,"-cell"),Dr=c.useContext(D),dn=Dr.open,on=Object(c.useRef)(null),Cn=Object(c.useRef)(new Map),sn=Object(c.useRef)();return Object(c.useLayoutEffect)(function(){var an=Cn.current.get(vr);an&&dn!==!1&&Le(on.current,an.offsetTop,120)},[vr]),Object(c.useLayoutEffect)(function(){if(dn){var an=Cn.current.get(vr);an&&(sn.current=$e(an,function(){Le(on.current,an.offsetTop,0)}))}return function(){var Yr;(Yr=sn.current)===null||Yr===void 0||Yr.call(sn)}},[dn]),c.createElement("ul",{className:d()("".concat(gt,"-column"),Object(i.a)({},"".concat(gt,"-column-active"),or)),ref:on,style:{position:"relative"}},Xt.map(function(an){var Yr;return Vr&&an.disabled?null:c.createElement("li",{key:an.value,ref:function(vn){Cn.current.set(an.value,vn)},className:d()(Kr,(Yr={},Object(i.a)(Yr,"".concat(Kr,"-disabled"),an.disabled),Object(i.a)(Yr,"".concat(Kr,"-selected"),vr===an.value),Yr)),onClick:function(){if(an.disabled)return;zt(an.value)}},c.createElement("div",{className:"".concat(Kr,"-inner")},an.label))}))}var Zt=At;function br(He,gt){for(var Xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",zt=String(He);zt.length<gt;)zt="".concat(Xt).concat(He);return zt}var Lr=function(){for(var gt=arguments.length,Xt=new Array(gt),zt=0;zt<gt;zt++)Xt[zt]=arguments[zt];return Xt};function Jr(He){return He==null?[]:Array.isArray(He)?He:[He]}function In(He){var gt={};return Object.keys(He).forEach(function(Xt){(Xt.substr(0,5)==="data-"||Xt.substr(0,5)==="aria-"||Xt==="role"||Xt==="name")&&Xt.substr(0,7)!=="data-__"&&(gt[Xt]=He[Xt])}),gt}function Gr(He,gt){return He?He[gt]:null}function Tr(He,gt,Xt){var zt=[Gr(He,0),Gr(He,1)];return zt[Xt]=typeof gt=="function"?gt(zt[Xt]):gt,!zt[0]&&!zt[1]?null:zt}function fr(He,gt){if(He.length!==gt.length)return!0;for(var Xt=0;Xt<He.length;Xt+=1)if(He[Xt].disabled!==gt[Xt].disabled)return!0;return!1}function vt(He,gt,Xt,zt){for(var vr=[],or=He;or<=gt;or+=Xt)vr.push({label:br(or,2),value:or,disabled:(zt||[]).includes(or)});return vr}function ft(He){var gt=He.generateConfig,Xt=He.prefixCls,zt=He.operationRef,vr=He.activeColumnIndex,or=He.value,Vr=He.showHour,Kr=He.showMinute,Dr=He.showSecond,dn=He.use12Hours,on=He.hourStep,Cn=on===void 0?1:on,sn=He.minuteStep,an=sn===void 0?1:sn,Yr=He.secondStep,fn=Yr===void 0?1:Yr,vn=He.disabledHours,Ln=He.disabledMinutes,oi=He.disabledSeconds,si=He.hideDisabledOptions,Ni=He.onSelect,qn=[],Pn="".concat(Xt,"-content"),Bi="".concat(Xt,"-time-panel"),ci,wi=or?gt.getHour(or):-1,fi=wi,ki=or?gt.getMinute(or):-1,fa=or?gt.getSecond(or):-1,zi=function(Hi,Oa,_a,la){var va=or||gt.getNow(),Ma=Math.max(0,Oa),Xa=Math.max(0,_a),co=Math.max(0,la);return va=z(gt,va,!dn||!Hi?Ma:Ma+12,Xa,co),va},ma=vt(0,23,Cn,vn&&vn()),aa=Object(It.a)(function(){return ma},ma,fr);dn&&(ci=fi>=12,fi%=12);var ya=c.useMemo(function(){if(!dn)return[!1,!1];var Si=[!0,!0];return aa.forEach(function(Hi){var Oa=Hi.disabled,_a=Hi.value;if(Oa)return;_a>=12?Si[1]=!1:Si[0]=!1}),Si},[dn,aa]),Ea=Object(R.a)(ya,2),ca=Ea[0],ka=Ea[1],wa=c.useMemo(function(){return dn?aa.filter(ci?function(Si){return Si.value>=12}:function(Si){return Si.value<12}).map(function(Si){var Hi=Si.value%12,Oa=Hi===0?"12":br(Hi,2);return Object(v.a)(Object(v.a)({},Si),{},{label:Oa,value:Hi})}):aa},[dn,ci,aa]),_i=vt(0,59,an,Ln&&Ln(wi)),xi=vt(0,59,fn,oi&&oi(wi,ki));zt.current={onUpDown:function(Hi){var Oa=qn[vr];if(Oa)for(var _a=Oa.units.findIndex(function(Xa){return Xa.value===Oa.value}),la=Oa.units.length,va=1;va<la;va+=1){var Ma=Oa.units[(_a+Hi*va+la)%la];if(Ma.disabled!==!0){Oa.onSelect(Ma.value);break}}}};function ji(Si,Hi,Oa,_a,la){Si!==!1&&qn.push({node:c.cloneElement(Hi,{prefixCls:Bi,value:Oa,active:vr===qn.length,onSelect:la,units:_a,hideDisabledOptions:si}),onSelect:la,value:Oa,units:_a})}ji(Vr,c.createElement(Zt,{key:"hour"}),fi,wa,function(Si){Ni(zi(ci,Si,ki,fa),"mouse")}),ji(Kr,c.createElement(Zt,{key:"minute"}),ki,_i,function(Si){Ni(zi(ci,fi,Si,fa),"mouse")}),ji(Dr,c.createElement(Zt,{key:"second"}),fa,xi,function(Si){Ni(zi(ci,fi,ki,Si),"mouse")});var Zi=-1;return typeof ci=="boolean"&&(Zi=ci?1:0),ji(dn===!0,c.createElement(Zt,{key:"12hours"}),Zi,[{label:"AM",value:0,disabled:ca},{label:"PM",value:1,disabled:ka}],function(Si){Ni(zi(!!Si,fi,ki,fa),"mouse")}),c.createElement("div",{className:Pn},qn.map(function(Si){var Hi=Si.node;return Hi}))}var Te=ft,Pe=function(gt){return gt.filter(function(Xt){return Xt!==!1}).length};function Ge(He){var gt=He.generateConfig,Xt=He.format,zt=Xt===void 0?"HH:mm:ss":Xt,vr=He.prefixCls,or=He.active,Vr=He.operationRef,Kr=He.showHour,Dr=He.showMinute,dn=He.showSecond,on=He.use12Hours,Cn=on===void 0?!1:on,sn=He.onSelect,an=He.value,Yr="".concat(vr,"-time-panel"),fn=c.useRef(),vn=c.useState(-1),Ln=Object(R.a)(vn,2),oi=Ln[0],si=Ln[1],Ni=Pe([Kr,Dr,dn,Cn]);return Vr.current={onKeyDown:function(Pn){return he(Pn,{onLeftRight:function(ci){si((oi+ci+Ni)%Ni)},onUpDown:function(ci){oi===-1?si(0):fn.current&&fn.current.onUpDown(ci)},onEnter:function(){sn(an||gt.getNow(),"key"),si(-1)}})},onBlur:function(){si(-1)}},c.createElement("div",{className:d()(Yr,Object(i.a)({},"".concat(Yr,"-active"),or))},c.createElement(xt,Object(p.a)({},He,{format:zt,prefixCls:vr})),c.createElement(Te,Object(p.a)({},He,{prefixCls:vr,activeColumnIndex:oi,operationRef:fn})))}var st=Ge,Bt=c.createContext({}),$t=Bt;function Nr(He){var gt=He.cellPrefixCls,Xt=He.generateConfig,zt=He.rangedValue,vr=He.hoverRangedValue,or=He.isInView,Vr=He.isSameCell,Kr=He.offsetCell,Dr=He.today,dn=He.value;function on(Cn){var sn,an=Kr(Cn,-1),Yr=Kr(Cn,1),fn=Gr(zt,0),vn=Gr(zt,1),Ln=Gr(vr,0),oi=Gr(vr,1),si=bt(Xt,Ln,oi,Cn);function Ni(fi){return Vr(fn,fi)}function qn(fi){return Vr(vn,fi)}var Pn=Vr(Ln,Cn),Bi=Vr(oi,Cn),ci=(si||Bi)&&(!or(an)||qn(an)),wi=(si||Pn)&&(!or(Yr)||Ni(Yr));return sn={},Object(i.a)(sn,"".concat(gt,"-in-view"),or(Cn)),Object(i.a)(sn,"".concat(gt,"-in-range"),bt(Xt,fn,vn,Cn)),Object(i.a)(sn,"".concat(gt,"-range-start"),Ni(Cn)),Object(i.a)(sn,"".concat(gt,"-range-end"),qn(Cn)),Object(i.a)(sn,"".concat(gt,"-range-start-single"),Ni(Cn)&&!vn),Object(i.a)(sn,"".concat(gt,"-range-end-single"),qn(Cn)&&!fn),Object(i.a)(sn,"".concat(gt,"-range-start-near-hover"),Ni(Cn)&&(Vr(an,Ln)||bt(Xt,Ln,oi,an))),Object(i.a)(sn,"".concat(gt,"-range-end-near-hover"),qn(Cn)&&(Vr(Yr,oi)||bt(Xt,Ln,oi,Yr))),Object(i.a)(sn,"".concat(gt,"-range-hover"),si),Object(i.a)(sn,"".concat(gt,"-range-hover-start"),Pn),Object(i.a)(sn,"".concat(gt,"-range-hover-end"),Bi),Object(i.a)(sn,"".concat(gt,"-range-hover-edge-start"),ci),Object(i.a)(sn,"".concat(gt,"-range-hover-edge-end"),wi),Object(i.a)(sn,"".concat(gt,"-range-hover-edge-start-near-range"),ci&&Vr(an,vn)),Object(i.a)(sn,"".concat(gt,"-range-hover-edge-end-near-range"),wi&&Vr(Yr,fn)),Object(i.a)(sn,"".concat(gt,"-today"),Vr(Dr,Cn)),Object(i.a)(sn,"".concat(gt,"-selected"),Vr(dn,Cn)),sn}return on}function yn(He){var gt=He.prefixCls,Xt=He.generateConfig,zt=He.prefixColumn,vr=He.locale,or=He.rowCount,Vr=He.viewDate,Kr=He.value,Dr=He.dateRender,dn=c.useContext($t),on=dn.rangedValue,Cn=dn.hoverRangedValue,sn=tt(vr.locale,Xt,Vr),an="".concat(gt,"-cell"),Yr=Xt.locale.getWeekFirstDay(vr.locale),fn=Xt.getNow(),vn=[],Ln=vr.shortWeekDays||(Xt.locale.getShortWeekDays?Xt.locale.getShortWeekDays(vr.locale):[]);zt&&vn.push(c.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var oi=0;oi<wt;oi+=1)vn.push(c.createElement("th",{key:oi},Ln[(oi+Yr)%wt]));var si=Nr({cellPrefixCls:an,today:fn,value:Kr,generateConfig:Xt,rangedValue:zt?null:on,hoverRangedValue:zt?null:Cn,isSameCell:function(Pn,Bi){return Ae(Xt,Pn,Bi)},isInView:function(Pn){return V(Xt,Pn,Vr)},offsetCell:function(Pn,Bi){return Xt.addDate(Pn,Bi)}}),Ni=Dr?function(qn){return Dr(qn,fn)}:void 0;return c.createElement(J,Object(p.a)({},He,{rowNum:or,colNum:wt,baseDate:sn,getCellNode:Ni,getCellText:Xt.getDate,getCellClassName:si,getCellDate:Xt.addDate,titleCell:function(Pn){return Gt(Pn,{locale:vr,format:"YYYY-MM-DD",generateConfig:Xt})},headerCells:vn}))}var un=yn;function Kt(He){var gt=He.prefixCls,Xt=He.generateConfig,zt=He.locale,vr=He.viewDate,or=He.onNextMonth,Vr=He.onPrevMonth,Kr=He.onNextYear,Dr=He.onPrevYear,dn=He.onYearClick,on=He.onMonthClick,Cn=c.useContext(D),sn=Cn.hideHeader;if(sn)return null;var an="".concat(gt,"-header"),Yr=zt.shortMonths||(Xt.locale.getShortMonths?Xt.locale.getShortMonths(zt.locale):[]),fn=Xt.getMonth(vr),vn=c.createElement("button",{type:"button",key:"year",onClick:dn,tabIndex:-1,className:"".concat(gt,"-year-btn")},Gt(vr,{locale:zt,format:zt.yearFormat,generateConfig:Xt})),Ln=c.createElement("button",{type:"button",key:"month",onClick:on,tabIndex:-1,className:"".concat(gt,"-month-btn")},zt.monthFormat?Gt(vr,{locale:zt,format:zt.monthFormat,generateConfig:Xt}):Yr[fn]),oi=zt.monthBeforeYear?[Ln,vn]:[vn,Ln];return c.createElement(j,Object(p.a)({},He,{prefixCls:an,onSuperPrev:Dr,onPrev:Vr,onNext:or,onSuperNext:Kr}),oi)}var St=Kt,kt=6;function Jt(He){var gt=He.prefixCls,Xt=He.panelName,zt=Xt===void 0?"date":Xt,vr=He.keyboardConfig,or=He.active,Vr=He.operationRef,Kr=He.generateConfig,Dr=He.value,dn=He.viewDate,on=He.onViewDateChange,Cn=He.onPanelChange,sn=He.onSelect,an="".concat(gt,"-").concat(zt,"-panel");Vr.current={onKeyDown:function(Ln){return he(Ln,Object(v.a)({onLeftRight:function(si){sn(Kr.addDate(Dr||dn,si),"key")},onCtrlLeftRight:function(si){sn(Kr.addYear(Dr||dn,si),"key")},onUpDown:function(si){sn(Kr.addDate(Dr||dn,si*wt),"key")},onPageUpDown:function(si){sn(Kr.addMonth(Dr||dn,si),"key")}},vr))}};var Yr=function(Ln){var oi=Kr.addYear(dn,Ln);on(oi),Cn(null,oi)},fn=function(Ln){var oi=Kr.addMonth(dn,Ln);on(oi),Cn(null,oi)};return c.createElement("div",{className:d()(an,Object(i.a)({},"".concat(an,"-active"),or))},c.createElement(St,Object(p.a)({},He,{prefixCls:gt,value:Dr,viewDate:dn,onPrevYear:function(){Yr(-1)},onNextYear:function(){Yr(1)},onPrevMonth:function(){fn(-1)},onNextMonth:function(){fn(1)},onMonthClick:function(){Cn("month",dn)},onYearClick:function(){Cn("year",dn)}})),c.createElement(un,Object(p.a)({},He,{onSelect:function(Ln){return sn(Ln,"mouse")},prefixCls:gt,value:Dr,viewDate:dn,rowCount:kt})))}var Br=Jt,Hr=Lr("date","time");function $r(He){var gt=He.prefixCls,Xt=He.operationRef,zt=He.generateConfig,vr=He.value,or=He.defaultValue,Vr=He.disabledTime,Kr=He.showTime,Dr=He.onSelect,dn="".concat(gt,"-datetime-panel"),on=c.useState(null),Cn=Object(R.a)(on,2),sn=Cn[0],an=Cn[1],Yr=c.useRef({}),fn=c.useRef({}),vn=Object(F.a)(Kr)==="object"?Object(v.a)({},Kr):{};function Ln(qn){var Pn=Hr.indexOf(sn)+qn,Bi=Hr[Pn]||null;return Bi}var oi=function(Pn){fn.current.onBlur&&fn.current.onBlur(Pn),an(null)};Xt.current={onKeyDown:function(Pn){if(Pn.which===P.a.TAB){var Bi=Ln(Pn.shiftKey?-1:1);return an(Bi),Bi&&Pn.preventDefault(),!0}if(sn){var ci=sn==="date"?Yr:fn;return ci.current&&ci.current.onKeyDown&&ci.current.onKeyDown(Pn),!0}return[P.a.LEFT,P.a.RIGHT,P.a.UP,P.a.DOWN].includes(Pn.which)?(an("date"),!0):!1},onBlur:oi,onClose:oi};var si=function(Pn,Bi){var ci=Pn;Bi==="date"&&!vr&&vn.defaultValue?(ci=zt.setHour(ci,zt.getHour(vn.defaultValue)),ci=zt.setMinute(ci,zt.getMinute(vn.defaultValue)),ci=zt.setSecond(ci,zt.getSecond(vn.defaultValue))):Bi==="time"&&!vr&&or&&(ci=zt.setYear(ci,zt.getYear(or)),ci=zt.setMonth(ci,zt.getMonth(or)),ci=zt.setDate(ci,zt.getDate(or))),Dr&&Dr(ci,"mouse")},Ni=Vr?Vr(vr||null):{};return c.createElement("div",{className:d()(dn,Object(i.a)({},"".concat(dn,"-active"),sn))},c.createElement(Br,Object(p.a)({},He,{operationRef:Yr,active:sn==="date",onSelect:function(Pn){si(Y(zt,Pn,Kr&&Object(F.a)(Kr)==="object"?Kr.defaultValue:null),"date")}})),c.createElement(st,Object(p.a)({},He,{format:void 0},vn,Ni,{defaultValue:void 0,operationRef:fn,active:sn==="time",onSelect:function(Pn){si(Pn,"time")}})))}var Ft=$r;function cr(He){var gt=He.prefixCls,Xt=He.generateConfig,zt=He.locale,vr=He.value,or="".concat(gt,"-cell"),Vr=function(on){return c.createElement("td",{key:"week",className:d()(or,"".concat(or,"-week"))},Xt.locale.getWeek(zt.locale,on))},Kr="".concat(gt,"-week-panel-row"),Dr=function(on){return d()(Kr,Object(i.a)({},"".concat(Kr,"-selected"),re(Xt,zt.locale,vr,on)))};return c.createElement(Br,Object(p.a)({},He,{panelName:"week",prefixColumn:Vr,rowClassName:Dr,keyboardConfig:{onLeftRight:null}}))}var Cr=cr;function Fr(He){var gt=He.prefixCls,Xt=He.generateConfig,zt=He.locale,vr=He.viewDate,or=He.onNextYear,Vr=He.onPrevYear,Kr=He.onYearClick,Dr=c.useContext(D),dn=Dr.hideHeader;if(dn)return null;var on="".concat(gt,"-header");return c.createElement(j,Object(p.a)({},He,{prefixCls:on,onSuperPrev:Vr,onSuperNext:or}),c.createElement("button",{type:"button",onClick:Kr,className:"".concat(gt,"-year-btn")},Gt(vr,{locale:zt,format:zt.yearFormat,generateConfig:Xt})))}var Wr=Fr,An=3,bn=4;function Sn(He){var gt=He.prefixCls,Xt=He.locale,zt=He.value,vr=He.viewDate,or=He.generateConfig,Vr=He.monthCellRender,Kr=c.useContext($t),Dr=Kr.rangedValue,dn=Kr.hoverRangedValue,on="".concat(gt,"-cell"),Cn=Nr({cellPrefixCls:on,value:zt,generateConfig:or,rangedValue:Dr,hoverRangedValue:dn,isSameCell:function(vn,Ln){return V(or,vn,Ln)},isInView:function(){return!0},offsetCell:function(vn,Ln){return or.addMonth(vn,Ln)}}),sn=Xt.shortMonths||(or.locale.getShortMonths?or.locale.getShortMonths(Xt.locale):[]),an=or.setMonth(vr,0),Yr=Vr?function(fn){return Vr(fn,Xt)}:void 0;return c.createElement(J,Object(p.a)({},He,{rowNum:bn,colNum:An,baseDate:an,getCellNode:Yr,getCellText:function(vn){return Xt.monthFormat?Gt(vn,{locale:Xt,format:Xt.monthFormat,generateConfig:or}):sn[or.getMonth(vn)]},getCellClassName:Cn,getCellDate:or.addMonth,titleCell:function(vn){return Gt(vn,{locale:Xt,format:"YYYY-MM",generateConfig:or})}}))}var kn=Sn;function ei(He){var gt=He.prefixCls,Xt=He.operationRef,zt=He.onViewDateChange,vr=He.generateConfig,or=He.value,Vr=He.viewDate,Kr=He.onPanelChange,Dr=He.onSelect,dn="".concat(gt,"-month-panel");Xt.current={onKeyDown:function(sn){return he(sn,{onLeftRight:function(Yr){Dr(vr.addMonth(or||Vr,Yr),"key")},onCtrlLeftRight:function(Yr){Dr(vr.addYear(or||Vr,Yr),"key")},onUpDown:function(Yr){Dr(vr.addMonth(or||Vr,Yr*An),"key")},onEnter:function(){Kr("date",or||Vr)}})}};var on=function(sn){var an=vr.addYear(Vr,sn);zt(an),Kr(null,an)};return c.createElement("div",{className:dn},c.createElement(Wr,Object(p.a)({},He,{prefixCls:gt,onPrevYear:function(){on(-1)},onNextYear:function(){on(1)},onYearClick:function(){Kr("year",Vr)}})),c.createElement(kn,Object(p.a)({},He,{prefixCls:gt,onSelect:function(sn){Dr(sn,"mouse"),Kr("date",sn)}})))}var Jn=ei;function ai(He){var gt=He.prefixCls,Xt=He.generateConfig,zt=He.locale,vr=He.viewDate,or=He.onNextYear,Vr=He.onPrevYear,Kr=He.onYearClick,Dr=c.useContext(D),dn=Dr.hideHeader;if(dn)return null;var on="".concat(gt,"-header");return c.createElement(j,Object(p.a)({},He,{prefixCls:on,onSuperPrev:Vr,onSuperNext:or}),c.createElement("button",{type:"button",onClick:Kr,className:"".concat(gt,"-year-btn")},Gt(vr,{locale:zt,format:zt.yearFormat,generateConfig:Xt})))}var ii=ai,qe=4,Se=1;function Me(He){var gt=He.prefixCls,Xt=He.locale,zt=He.value,vr=He.viewDate,or=He.generateConfig,Vr=c.useContext($t),Kr=Vr.rangedValue,Dr=Vr.hoverRangedValue,dn="".concat(gt,"-cell"),on=Nr({cellPrefixCls:dn,value:zt,generateConfig:or,rangedValue:Kr,hoverRangedValue:Dr,isSameCell:function(an,Yr){return q(or,an,Yr)},isInView:function(){return!0},offsetCell:function(an,Yr){return or.addMonth(an,Yr*3)}}),Cn=or.setDate(or.setMonth(vr,0),1);return c.createElement(J,Object(p.a)({},He,{rowNum:Se,colNum:qe,baseDate:Cn,getCellText:function(an){return Gt(an,{locale:Xt,format:Xt.quarterFormat||"[Q]Q",generateConfig:or})},getCellClassName:on,getCellDate:function(an,Yr){return or.addMonth(an,Yr*3)},titleCell:function(an){return Gt(an,{locale:Xt,format:"YYYY-[Q]Q",generateConfig:or})}}))}var Be=Me;function Qe(He){var gt=He.prefixCls,Xt=He.operationRef,zt=He.onViewDateChange,vr=He.generateConfig,or=He.value,Vr=He.viewDate,Kr=He.onPanelChange,Dr=He.onSelect,dn="".concat(gt,"-quarter-panel");Xt.current={onKeyDown:function(sn){return he(sn,{onLeftRight:function(Yr){Dr(vr.addMonth(or||Vr,Yr*3),"key")},onCtrlLeftRight:function(Yr){Dr(vr.addYear(or||Vr,Yr),"key")},onUpDown:function(Yr){Dr(vr.addYear(or||Vr,Yr),"key")}})}};var on=function(sn){var an=vr.addYear(Vr,sn);zt(an),Kr(null,an)};return c.createElement("div",{className:dn},c.createElement(ii,Object(p.a)({},He,{prefixCls:gt,onPrevYear:function(){on(-1)},onNextYear:function(){on(1)},onYearClick:function(){Kr("year",Vr)}})),c.createElement(Be,Object(p.a)({},He,{prefixCls:gt,onSelect:function(sn){Dr(sn,"mouse")}})))}var Ve=Qe;function Ye(He){var gt=He.prefixCls,Xt=He.generateConfig,zt=He.viewDate,vr=He.onPrevDecade,or=He.onNextDecade,Vr=He.onDecadeClick,Kr=c.useContext(D),Dr=Kr.hideHeader;if(Dr)return null;var dn="".concat(gt,"-header"),on=Xt.getYear(zt),Cn=Math.floor(on/ir)*ir,sn=Cn+ir-1;return c.createElement(j,Object(p.a)({},He,{prefixCls:dn,onSuperPrev:vr,onSuperNext:or}),c.createElement("button",{type:"button",onClick:Vr,className:"".concat(gt,"-decade-btn")},Cn,"-",sn))}var pt=Ye,ht=3,Vt=4;function dr(He){var gt=He.prefixCls,Xt=He.value,zt=He.viewDate,vr=He.locale,or=He.generateConfig,Vr=c.useContext($t),Kr=Vr.rangedValue,Dr=Vr.hoverRangedValue,dn="".concat(gt,"-cell"),on=or.getYear(zt),Cn=Math.floor(on/ir)*ir,sn=Cn+ir-1,an=or.setYear(zt,Cn-Math.ceil((ht*Vt-ir)/2)),Yr=function(Ln){var oi=or.getYear(Ln);return Cn<=oi&&oi<=sn},fn=Nr({cellPrefixCls:dn,value:Xt,generateConfig:or,rangedValue:Kr,hoverRangedValue:Dr,isSameCell:function(Ln,oi){return Dt(or,Ln,oi)},isInView:Yr,offsetCell:function(Ln,oi){return or.addYear(Ln,oi)}});return c.createElement(J,Object(p.a)({},He,{rowNum:Vt,colNum:ht,baseDate:an,getCellText:or.getYear,getCellClassName:fn,getCellDate:or.addYear,titleCell:function(Ln){return Gt(Ln,{locale:vr,format:"YYYY",generateConfig:or})}}))}var tr=dr,ir=10;function _t(He){var gt=He.prefixCls,Xt=He.operationRef,zt=He.onViewDateChange,vr=He.generateConfig,or=He.value,Vr=He.viewDate,Kr=He.sourceMode,Dr=He.onSelect,dn=He.onPanelChange,on="".concat(gt,"-year-panel");Xt.current={onKeyDown:function(an){return he(an,{onLeftRight:function(fn){Dr(vr.addYear(or||Vr,fn),"key")},onCtrlLeftRight:function(fn){Dr(vr.addYear(or||Vr,fn*ir),"key")},onUpDown:function(fn){Dr(vr.addYear(or||Vr,fn*ht),"key")},onEnter:function(){dn(Kr==="date"?"date":"month",or||Vr)}})}};var Cn=function(an){var Yr=vr.addYear(Vr,an*10);zt(Yr),dn(null,Yr)};return c.createElement("div",{className:on},c.createElement(pt,Object(p.a)({},He,{prefixCls:gt,onPrevDecade:function(){Cn(-1)},onNextDecade:function(){Cn(1)},onDecadeClick:function(){dn("decade",Vr)}})),c.createElement(tr,Object(p.a)({},He,{prefixCls:gt,onSelect:function(an){dn(Kr==="date"?"date":"month",an),Dr(an,"mouse")}})))}var gr=_t;function jt(He,gt,Xt){return Xt?c.createElement("div",{className:"".concat(He,"-footer-extra")},Xt(gt)):null}function Sr(He){var gt=He.prefixCls,Xt=He.rangeList,zt=Xt===void 0?[]:Xt,vr=He.components,or=vr===void 0?{}:vr,Vr=He.needConfirmButton,Kr=He.onNow,Dr=He.onOk,dn=He.okDisabled,on=He.showNow,Cn=He.locale,sn,an;if(zt.length){var Yr=or.rangeItem||"span";sn=c.createElement(c.Fragment,null,zt.map(function(vn){var Ln=vn.label,oi=vn.onClick,si=vn.onMouseEnter,Ni=vn.onMouseLeave;return c.createElement("li",{key:Ln,className:"".concat(gt,"-preset")},c.createElement(Yr,{onClick:oi,onMouseEnter:si,onMouseLeave:Ni},Ln))}))}if(Vr){var fn=or.button||"button";Kr&&!sn&&on!==!1&&(sn=c.createElement("li",{className:"".concat(gt,"-now")},c.createElement("a",{className:"".concat(gt,"-now-btn"),onClick:Kr},Cn.now))),an=Vr&&c.createElement("li",{className:"".concat(gt,"-ok")},c.createElement(fn,{disabled:dn,onClick:Dr},Cn.ok))}return!sn&&!an?null:c.createElement("ul",{className:"".concat(gt,"-ranges")},sn,an)}function Ar(He){var gt,Xt=He.prefixCls,zt=Xt===void 0?"rc-picker":Xt,vr=He.className,or=He.style,Vr=He.locale,Kr=He.generateConfig,Dr=He.value,dn=He.defaultValue,on=He.pickerValue,Cn=He.defaultPickerValue,sn=He.disabledDate,an=He.mode,Yr=He.picker,fn=Yr===void 0?"date":Yr,vn=He.tabIndex,Ln=vn===void 0?0:vn,oi=He.showNow,si=He.showTime,Ni=He.showToday,qn=He.renderExtraFooter,Pn=He.hideHeader,Bi=He.onSelect,ci=He.onChange,wi=He.onPanelChange,fi=He.onMouseDown,ki=He.onPickerValueChange,fa=He.onOk,zi=He.components,ma=He.direction,aa=He.hourStep,ya=aa===void 0?1:aa,Ea=He.minuteStep,ca=Ea===void 0?1:Ea,ka=He.secondStep,wa=ka===void 0?1:ka,_i=fn==="date"&&!!si||fn==="time",xi=24%ya===0,ji=60%ca===0,Zi=60%wa===0,Si=c.useContext(D),Hi=Si.operationRef,Oa=Si.panelRef,_a=Si.onSelect,la=Si.hideRanges,va=Si.defaultOpenValue,Ma=c.useContext($t),Xa=Ma.inRange,co=Ma.panelPosition,so=Ma.rangedValue,Ao=Ma.hoverRangedValue,io=c.useRef({}),pa=c.useRef(!0),ga=Object(k.a)(null,{value:Dr,defaultValue:dn,postState:function(Ci){return!Ci&&va&&fn==="time"?va:Ci}}),ba=Object(R.a)(ga,2),Oi=ba[0],Fa=ba[1],vo=Object(k.a)(null,{value:on,defaultValue:Cn||Oi,postState:function(Ci){var Sa=Kr.getNow();return Ci?!Oi&&si?Object(F.a)(si)==="object"?Y(Kr,Array.isArray(Ci)?Ci[0]:Ci,si.defaultValue||Sa):dn?Y(Kr,Array.isArray(Ci)?Ci[0]:Ci,dn):Y(Kr,Array.isArray(Ci)?Ci[0]:Ci,Sa):Ci:Sa}}),os=Object(R.a)(vo,2),Va=os[0],ao=os[1],Ga=function(Ci){ao(Ci),ki&&ki(Ci)},yo=function(Ci){var Sa=it[fn];return Sa?Sa(Ci):Ci},fo=Object(k.a)(function(){return fn==="time"?"time":yo("date")},{value:an}),es=Object(R.a)(fo,2),To=es[0],po=es[1];c.useEffect(function(){po(fn)},[fn]);var Io=c.useState(function(){return To}),zo=Object(R.a)(Io,2),ns=zo[0],Po=zo[1],Aa=function(Ci,Sa){var bo=yo(Ci||To);Po(To),po(bo),wi&&(To!==bo||ot(Kr,Va,Va))&&wi(Sa,bo)},Ja=function(Ci,Sa){var bo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(To===fn||bo)&&(Fa(Ci),Bi&&Bi(Ci),_a&&_a(Ci,Sa),ci&&!ot(Kr,Ci,Oi)&&!(sn==null?void 0:sn(Ci))&&ci(Ci))},Ba=function(Ci){return io.current&&io.current.onKeyDown?([P.a.LEFT,P.a.RIGHT,P.a.UP,P.a.DOWN,P.a.PAGE_UP,P.a.PAGE_DOWN,P.a.ENTER].includes(Ci.which)&&Ci.preventDefault(),io.current.onKeyDown(Ci)):(Object(A.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},$i=function(Ci){io.current&&io.current.onBlur&&io.current.onBlur(Ci)};Hi&&co!=="right"&&(Hi.current={onKeyDown:Ba,onClose:function(){io.current&&io.current.onClose&&io.current.onClose()}}),c.useEffect(function(){Dr&&!pa.current&&ao(Dr)},[Dr]),c.useEffect(function(){pa.current=!1},[]);var uo,Ha=Object(v.a)(Object(v.a)({},He),{},{operationRef:io,prefixCls:zt,viewDate:Va,value:Oi,onViewDateChange:Ga,sourceMode:ns,onPanelChange:Aa,disabledDate:sn});delete Ha.onChange,delete Ha.onSelect;switch(To){case"decade":uo=c.createElement(rt,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Ja(Ci,Sa)}}));break;case"year":uo=c.createElement(gr,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Ja(Ci,Sa)}}));break;case"month":uo=c.createElement(Jn,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Ja(Ci,Sa)}}));break;case"quarter":uo=c.createElement(Ve,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Ja(Ci,Sa)}}));break;case"week":uo=c.createElement(Cr,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Ja(Ci,Sa)}}));break;case"time":delete Ha.showTime,uo=c.createElement(st,Object(p.a)({},Ha,Object(F.a)(si)==="object"?si:null,{onSelect:function(Ci,Sa){Ga(Ci),Ja(Ci,Sa)}}));break;default:si?uo=c.createElement(Ft,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Ja(Ci,Sa)}})):uo=c.createElement(Br,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Ja(Ci,Sa)}}))}var Yi,Qa,Mo=function(){var Ci=Kr.getNow(),Sa=$(Kr.getHour(Ci),Kr.getMinute(Ci),Kr.getSecond(Ci),xi?ya:1,ji?ca:1,Zi?wa:1),bo=z(Kr,Ci,Sa[0],Sa[1],Sa[2]);Ja(bo,"submit")};la||(Yi=jt(zt,To,qn),Qa=Sr({prefixCls:zt,components:zi,needConfirmButton:_i,okDisabled:!Oi||sn&&sn(Oi),locale:Vr,showNow:oi,onNow:_i&&Mo,onOk:function(){Oi&&(Ja(Oi,"submit",!0),fa&&fa(Oi))}}));var Qo;if(Ni&&To==="date"&&fn==="date"&&!si){var Jo=Kr.getNow(),ua="".concat(zt,"-today-btn"),Ya=sn&&sn(Jo);Qo=c.createElement("a",{className:d()(ua,Ya&&"".concat(ua,"-disabled")),"aria-disabled":Ya,onClick:function(){Ya||Ja(Jo,"mouse",!0)}},Vr.today)}return c.createElement(D.Provider,{value:Object(v.a)(Object(v.a)({},Si),{},{mode:To,hideHeader:"hideHeader"in He?Pn:Si.hideHeader,hidePrevBtn:Xa&&co==="right",hideNextBtn:Xa&&co==="left"})},c.createElement("div",{tabIndex:Ln,className:d()("".concat(zt,"-panel"),vr,(gt={},Object(i.a)(gt,"".concat(zt,"-panel-has-range"),so&&so[0]&&so[1]),Object(i.a)(gt,"".concat(zt,"-panel-has-range-hover"),Ao&&Ao[0]&&Ao[1]),Object(i.a)(gt,"".concat(zt,"-panel-rtl"),ma==="rtl"),gt)),style:or,onKeyDown:Ba,onBlur:$i,onMouseDown:fi,ref:Oa},uo,Yi||Qa||Qo?c.createElement("div",{className:"".concat(zt,"-footer")},Yi,Qa,Qo):null))}var sr=Ar,ln=o("uciX"),_n={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 Wn(He){var gt,Xt=He.prefixCls,zt=He.popupElement,vr=He.popupStyle,or=He.visible,Vr=He.dropdownClassName,Kr=He.dropdownAlign,Dr=He.transitionName,dn=He.getPopupContainer,on=He.children,Cn=He.range,sn=He.popupPlacement,an=He.direction,Yr="".concat(Xt,"-dropdown"),fn=function(){return sn!==void 0?sn:an==="rtl"?"bottomRight":"bottomLeft"};return c.createElement(ln.a,{showAction:[],hideAction:[],popupPlacement:fn(),builtinPlacements:_n,prefixCls:Yr,popupTransitionName:Dr,popup:zt,popupAlign:Kr,popupVisible:or,popupClassName:d()(Vr,(gt={},Object(i.a)(gt,"".concat(Yr,"-range"),Cn),Object(i.a)(gt,"".concat(Yr,"-rtl"),an==="rtl"),gt)),popupStyle:vr,getPopupContainer:dn},on)}var Nn=Wn;function Mn(He){var gt=He.open,Xt=He.value,zt=He.isClickOutside,vr=He.triggerOpen,or=He.forwardKeyDown,Vr=He.onKeyDown,Kr=He.blurToCancel,Dr=He.onSubmit,dn=He.onCancel,on=He.onFocus,Cn=He.onBlur,sn=Object(c.useState)(!1),an=Object(R.a)(sn,2),Yr=an[0],fn=an[1],vn=Object(c.useState)(!1),Ln=Object(R.a)(vn,2),oi=Ln[0],si=Ln[1],Ni=Object(c.useRef)(!1),qn=Object(c.useRef)(!1),Pn=Object(c.useRef)(!1),Bi={onMouseDown:function(){fn(!0),vr(!0)},onKeyDown:function(wi){var fi=function(){Pn.current=!0};if(Vr(wi,fi),Pn.current)return;switch(wi.which){case P.a.ENTER:{gt?Dr()!==!1&&fn(!0):vr(!0),wi.preventDefault();return}case P.a.TAB:{Yr&>&&!wi.shiftKey?(fn(!1),wi.preventDefault()):!Yr&>&&(!or(wi)&&wi.shiftKey&&(fn(!0),wi.preventDefault()));return}case P.a.ESC:{fn(!0),dn();return}}!gt&&![P.a.SHIFT].includes(wi.which)?vr(!0):Yr||or(wi)},onFocus:function(wi){fn(!0),si(!0),on&&on(wi)},onBlur:function(wi){if(Ni.current||!zt(document.activeElement)){Ni.current=!1;return}Kr?setTimeout(function(){for(var fi=document,ki=fi.activeElement;ki&&ki.shadowRoot;)ki=ki.shadowRoot.activeElement;zt(ki)&&dn()},0):gt&&(vr(!1),qn.current&&Dr()),si(!1),Cn&&Cn(wi)}};return Object(c.useEffect)(function(){qn.current=!1},[gt]),Object(c.useEffect)(function(){qn.current=!0},[Xt]),Object(c.useEffect)(function(){return Ne(function(ci){var wi=Fe(ci);if(gt){var fi=zt(wi);fi?(!oi||fi)&&vr(!1):(Ni.current=!0,requestAnimationFrame(function(){Ni.current=!1}))}})}),[Bi,{focused:oi,typing:Yr}]}function Gn(He){var gt=He.valueTexts,Xt=He.onTextChange,zt=c.useState(""),vr=Object(R.a)(zt,2),or=vr[0],Vr=vr[1],Kr=c.useRef([]);Kr.current=gt;function Dr(on){Vr(on),Xt(on)}function dn(){Vr(Kr.current[0])}return c.useEffect(function(){gt.every(function(on){return on!==or})&&dn()},[gt.join("||")]),[or,Dr,dn]}var xn=o("Gytx"),mi=o.n(xn);function rn(He,gt){var Xt=gt.formatList,zt=gt.generateConfig,vr=gt.locale;return Object(It.a)(function(){if(!He)return[[""],""];for(var or="",Vr=[],Kr=0;Kr<Xt.length;Kr+=1){var Dr=Xt[Kr],dn=Gt(He,{generateConfig:zt,locale:vr,format:Dr});Vr.push(dn),Kr===0&&(or=dn)}return[Vr,or]},[He,Xt],function(or,Vr){return or[0]!==Vr[0]||!mi()(or[1],Vr[1])})}function Ur(He,gt){var Xt=gt.formatList,zt=gt.generateConfig,vr=gt.locale,or=Object(c.useState)(null),Vr=Object(R.a)(or,2),Kr=Vr[0],Dr=Vr[1],dn=Object(c.useRef)(null);function on(vn){var Ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(dn.current),Ln){Dr(vn);return}dn.current=requestAnimationFrame(function(){Dr(vn)})}var Cn=rn(Kr,{formatList:Xt,generateConfig:zt,locale:vr}),sn=Object(R.a)(Cn,2),an=sn[1];function Yr(vn){on(vn)}function fn(){var vn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;on(null,vn)}return Object(c.useEffect)(function(){fn(!0)},[He]),Object(c.useEffect)(function(){return function(){return cancelAnimationFrame(dn.current)}},[]),[an,Yr,fn]}function cn(He){var gt,Xt=He.prefixCls,zt=Xt===void 0?"rc-picker":Xt,vr=He.id,or=He.tabIndex,Vr=He.style,Kr=He.className,Dr=He.dropdownClassName,dn=He.dropdownAlign,on=He.popupStyle,Cn=He.transitionName,sn=He.generateConfig,an=He.locale,Yr=He.inputReadOnly,fn=He.allowClear,vn=He.autoFocus,Ln=He.showTime,oi=He.picker,si=oi===void 0?"date":oi,Ni=He.format,qn=He.use12Hours,Pn=He.value,Bi=He.defaultValue,ci=He.open,wi=He.defaultOpen,fi=He.defaultOpenValue,ki=He.suffixIcon,fa=He.clearIcon,zi=He.disabled,ma=He.disabledDate,aa=He.placeholder,ya=He.getPopupContainer,Ea=He.pickerRef,ca=He.panelRender,ka=He.onChange,wa=He.onOpenChange,_i=He.onFocus,xi=He.onBlur,ji=He.onMouseDown,Zi=He.onMouseUp,Si=He.onMouseEnter,Hi=He.onMouseLeave,Oa=He.onContextMenu,_a=He.onClick,la=He.onKeyDown,va=He.onSelect,Ma=He.direction,Xa=He.autoComplete,co=Xa===void 0?"off":Xa,so=c.useRef(null),Ao=si==="date"&&!!Ln||si==="time",io=Jr(ee(Ni,si,Ln,qn)),pa=c.useRef(null),ga=c.useRef(null),ba=c.useRef(null),Oi=Object(k.a)(null,{value:Pn,defaultValue:Bi}),Fa=Object(R.a)(Oi,2),vo=Fa[0],os=Fa[1],Va=c.useState(vo),ao=Object(R.a)(Va,2),Ga=ao[0],yo=ao[1],fo=c.useRef(null),es=Object(k.a)(!1,{value:ci,defaultValue:wi,postState:function(Pa){return zi?!1:Pa},onChange:function(Pa){wa&&wa(Pa),!Pa&&fo.current&&fo.current.onClose&&fo.current.onClose()}}),To=Object(R.a)(es,2),po=To[0],Io=To[1],zo=rn(Ga,{formatList:io,generateConfig:sn,locale:an}),ns=Object(R.a)(zo,2),Po=ns[0],Aa=ns[1],Ja=Gn({valueTexts:Po,onTextChange:function(Pa){var Xo=lr(Pa,{locale:an,formatList:io,generateConfig:sn});Xo&&(!ma||!ma(Xo))&&yo(Xo)}}),Ba=Object(R.a)(Ja,3),$i=Ba[0],uo=Ba[1],Ha=Ba[2],Yi=function(Pa){yo(Pa),os(Pa),ka&&!ot(sn,vo,Pa)&&ka(Pa,Pa?Gt(Pa,{generateConfig:sn,locale:an,format:io[0]}):"")},Qa=function(Pa){if(zi&&Pa)return;Io(Pa)},Mo=function(Pa){return po&&fo.current&&fo.current.onKeyDown?fo.current.onKeyDown(Pa):(Object(A.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Qo=function(){Zi&&Zi.apply(void 0,arguments),so.current&&(so.current.focus(),Qa(!0))},Jo=Mn({blurToCancel:Ao,open:po,value:$i,triggerOpen:Qa,forwardKeyDown:Mo,isClickOutside:function(Pa){return!Ze([pa.current,ga.current,ba.current],Pa)},onSubmit:function(){return ma&&ma(Ga)?!1:(Yi(Ga),Qa(!1),Ha(),!0)},onCancel:function(){Qa(!1),yo(vo),Ha()},onKeyDown:function(Pa,Xo){la==null||la(Pa,Xo)},onFocus:_i,onBlur:xi}),ua=Object(R.a)(Jo,2),Ya=ua[0],lo=ua[1],Ci=lo.focused,Sa=lo.typing;c.useEffect(function(){po||(yo(vo),!Po.length||Po[0]===""?uo(""):Aa!==$i&&Ha())},[po,Po]),c.useEffect(function(){po||Ha()},[si]),c.useEffect(function(){yo(vo)},[vo]),Ea&&(Ea.current={focus:function(){so.current&&so.current.focus()},blur:function(){so.current&&so.current.blur()}});var bo=Ur($i,{formatList:io,generateConfig:sn,locale:an}),Fo=Object(R.a)(bo,3),Oo=Fo[0],gs=Fo[1],ds=Fo[2],hs=Object(v.a)(Object(v.a)({},He),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),ss=c.createElement(sr,Object(p.a)({},hs,{generateConfig:sn,className:d()(Object(i.a)({},"".concat(zt,"-panel-focused"),!Sa)),value:Ga,locale:an,tabIndex:-1,onSelect:function(Pa){va==null||va(Pa),yo(Pa)},direction:Ma,onPanelChange:function(Pa,Xo){var Uo=He.onPanelChange;ds(!0),Uo==null||Uo(Pa,Xo)}}));ca&&(ss=ca(ss));var $a=c.createElement("div",{className:"".concat(zt,"-panel-container"),onMouseDown:function(Pa){Pa.preventDefault()}},ss),Na;ki&&(Na=c.createElement("span",{className:"".concat(zt,"-suffix")},ki));var Vo;fn&&vo&&!zi&&(Vo=c.createElement("span",{onMouseDown:function(Pa){Pa.preventDefault(),Pa.stopPropagation()},onMouseUp:function(Pa){Pa.preventDefault(),Pa.stopPropagation(),Yi(null),Qa(!1)},className:"".concat(zt,"-clear"),role:"button"},fa||c.createElement("span",{className:"".concat(zt,"-clear-btn")})));var Zo=function(Pa,Xo){(Xo==="submit"||Xo!=="key"&&!Ao)&&(Yi(Pa),Qa(!1))},Da=Ma==="rtl"?"bottomRight":"bottomLeft";return c.createElement(D.Provider,{value:{operationRef:fo,hideHeader:si==="time",panelRef:pa,onSelect:Zo,open:po,defaultOpenValue:fi,onDateMouseEnter:gs,onDateMouseLeave:ds}},c.createElement(Nn,{visible:po,popupElement:$a,popupStyle:on,prefixCls:zt,dropdownClassName:Dr,dropdownAlign:dn,getPopupContainer:ya,transitionName:Cn,popupPlacement:Da,direction:Ma},c.createElement("div",{ref:ba,className:d()(zt,Kr,(gt={},Object(i.a)(gt,"".concat(zt,"-disabled"),zi),Object(i.a)(gt,"".concat(zt,"-focused"),Ci),Object(i.a)(gt,"".concat(zt,"-rtl"),Ma==="rtl"),gt)),style:Vr,onMouseDown:ji,onMouseUp:Qo,onMouseEnter:Si,onMouseLeave:Hi,onContextMenu:Oa,onClick:_a},c.createElement("div",{className:d()("".concat(zt,"-input"),Object(i.a)({},"".concat(zt,"-input-placeholder"),!!Oo)),ref:ga},c.createElement("input",Object(p.a)({id:vr,tabIndex:or,disabled:zi,readOnly:Yr||typeof io[0]=="function"||!Sa,value:Oo||$i,onChange:function(Pa){uo(Pa.target.value)},autoFocus:vn,placeholder:aa,ref:so,title:$i},Ya,{size:se(si,io[0],sn)},In(He),{autoComplete:co})),Na,Vo))))}var Qr=function(He){Object(t.a)(Xt,He);var gt=Object(s.a)(Xt);function Xt(){var zt;return Object(r.a)(this,Xt),zt=gt.apply(this,arguments),zt.pickerRef=c.createRef(),zt.focus=function(){zt.pickerRef.current&&zt.pickerRef.current.focus()},zt.blur=function(){zt.pickerRef.current&&zt.pickerRef.current.blur()},zt}return Object(a.a)(Xt,[{key:"render",value:function(){return c.createElement(cn,Object(p.a)({},this.props,{pickerRef:this.pickerRef}))}}]),Xt}(c.Component),Vn=Qr;function Hn(He,gt,Xt){var zt=He.picker,vr=He.locale,or=He.selectedValue,Vr=He.disabledDate,Kr=He.disabled,Dr=He.generateConfig,dn=Gr(or,0),on=Gr(or,1);function Cn(vn){return Dr.locale.getWeekFirstDate(vr.locale,vn)}function sn(vn){var Ln=Dr.getYear(vn),oi=Dr.getMonth(vn);return Ln*100+oi}function an(vn){var Ln=Dr.getYear(vn),oi=Xe(Dr,vn);return Ln*10+oi}var Yr=c.useCallback(function(vn){if(Vr&&Vr(vn))return!0;if(Kr[1]&&on)return!Ae(Dr,vn,on)&&Dr.isAfter(vn,on);if(gt&&on)switch(zt){case"quarter":return an(vn)>an(on);case"month":return sn(vn)>sn(on);case"week":return Cn(vn)>Cn(on);default:return!Ae(Dr,vn,on)&&Dr.isAfter(vn,on)}return!1},[Vr,Kr[1],on,gt]),fn=c.useCallback(function(vn){if(Vr&&Vr(vn))return!0;if(Kr[0]&&dn)return!Ae(Dr,vn,on)&&Dr.isAfter(dn,vn);if(Xt&&dn)switch(zt){case"quarter":return an(vn)<an(dn);case"month":return sn(vn)<sn(dn);case"week":return Cn(vn)<Cn(dn);default:return!Ae(Dr,vn,dn)&&Dr.isAfter(dn,vn)}return!1},[Vr,Kr[0],dn,Xt]);return[Yr,fn]}function li(He,gt,Xt,zt){var vr=Tt(He,Xt,zt,1);function or(Vr){return Vr(He,gt)?"same":Vr(vr,gt)?"closing":"far"}switch(Xt){case"year":return or(function(Vr,Kr){return Ct(zt,Vr,Kr)});case"quarter":case"month":return or(function(Vr,Kr){return Dt(zt,Vr,Kr)});default:return or(function(Vr,Kr){return V(zt,Vr,Kr)})}}function Un(He,gt,Xt,zt){var vr=Gr(He,0),or=Gr(He,1);if(gt===0)return vr;if(vr&&or){var Vr=li(vr,or,Xt,zt);switch(Vr){case"same":return vr;case"closing":return vr;default:return Tt(or,Xt,zt,-1)}}return vr}function gi(He){var gt=He.values,Xt=He.picker,zt=He.defaultDates,vr=He.generateConfig,or=c.useState(function(){return[Gr(zt,0),Gr(zt,1)]}),Vr=Object(R.a)(or,2),Kr=Vr[0],Dr=Vr[1],dn=c.useState(null),on=Object(R.a)(dn,2),Cn=on[0],sn=on[1],an=Gr(gt,0),Yr=Gr(gt,1);function fn(Ln){return Kr[Ln]?Kr[Ln]:Gr(Cn,Ln)||Un(gt,Ln,Xt,vr)||an||Yr||vr.getNow()}function vn(Ln,oi){if(Ln){var si=Tr(Cn,Ln,oi);Dr(Tr(Kr,null,oi)||[null,null]);var Ni=(oi+1)%2;Gr(gt,Ni)||(si=Tr(si,Ln,Ni)),sn(si)}else(an||Yr)&&sn(null)}return[fn,vn]}function Bn(He,gt){return He&&He[0]&&He[1]&>.isAfter(He[0],He[1])?[He[1],He[0]]:He}function di(He,gt,Xt,zt){return He||zt&&zt[gt]?!0:!!Xt[(gt+1)%2]}function qr(He){var gt,Xt,zt,vr=He.prefixCls,or=vr===void 0?"rc-picker":vr,Vr=He.id,Kr=He.style,Dr=He.className,dn=He.popupStyle,on=He.dropdownClassName,Cn=He.transitionName,sn=He.dropdownAlign,an=He.getPopupContainer,Yr=He.generateConfig,fn=He.locale,vn=He.placeholder,Ln=He.autoFocus,oi=He.disabled,si=He.format,Ni=He.picker,qn=Ni===void 0?"date":Ni,Pn=He.showTime,Bi=He.use12Hours,ci=He.separator,wi=ci===void 0?"~":ci,fi=He.value,ki=He.defaultValue,fa=He.defaultPickerValue,zi=He.open,ma=He.defaultOpen,aa=He.disabledDate,ya=He.disabledTime,Ea=He.dateRender,ca=He.panelRender,ka=He.ranges,wa=He.allowEmpty,_i=He.allowClear,xi=He.suffixIcon,ji=He.clearIcon,Zi=He.pickerRef,Si=He.inputReadOnly,Hi=He.mode,Oa=He.renderExtraFooter,_a=He.onChange,la=He.onOpenChange,va=He.onPanelChange,Ma=He.onCalendarChange,Xa=He.onFocus,co=He.onBlur,so=He.onMouseEnter,Ao=He.onMouseLeave,io=He.onOk,pa=He.onKeyDown,ga=He.components,ba=He.order,Oi=He.direction,Fa=He.activePickerIndex,vo=He.autoComplete,os=vo===void 0?"off":vo,Va=qn==="date"&&!!Pn||qn==="time",ao=Object(c.useRef)({}),Ga=Object(c.useRef)(null),yo=Object(c.useRef)(null),fo=Object(c.useRef)(null),es=Object(c.useRef)(null),To=Object(c.useRef)(null),po=Object(c.useRef)(null),Io=Object(c.useRef)(null),zo=Jr(ee(si,qn,Pn,Bi)),ns=Object(k.a)(0,{value:Fa}),Po=Object(R.a)(ns,2),Aa=Po[0],Ja=Po[1],Ba=Object(c.useRef)(null),$i=c.useMemo(function(){return Array.isArray(oi)?oi:[oi||!1,oi||!1]},[oi]),uo=Object(k.a)(null,{value:fi,defaultValue:ki,postState:function(Li){return qn==="time"&&!ba?Li:Bn(Li,Yr)}}),Ha=Object(R.a)(uo,2),Yi=Ha[0],Qa=Ha[1],Mo=gi({values:Yi,picker:qn,defaultDates:fa,generateConfig:Yr}),Qo=Object(R.a)(Mo,2),Jo=Qo[0],ua=Qo[1],Ya=Object(k.a)(Yi,{postState:function(Li){var ea=Li;if($i[0]&&$i[1])return ea;for(var Ca=0;Ca<2;Ca+=1)$i[Ca]&&!Gr(ea,Ca)&&!Gr(wa,Ca)&&(ea=Tr(ea,Yr.getNow(),Ca));return ea}}),lo=Object(R.a)(Ya,2),Ci=lo[0],Sa=lo[1],bo=Object(k.a)([qn,qn],{value:Hi}),Fo=Object(R.a)(bo,2),Oo=Fo[0],gs=Fo[1];Object(c.useEffect)(function(){gs([qn,qn])},[qn]);var ds=function(Li,ea){gs(Li),va&&va(ea,Li)},hs=Hn({picker:qn,selectedValue:Ci,locale:fn,disabled:$i,disabledDate:aa,generateConfig:Yr},ao.current[1],ao.current[0]),ss=Object(R.a)(hs,2),$a=ss[0],Na=ss[1],Vo=Object(k.a)(!1,{value:zi,defaultValue:ma,postState:function(Li){return $i[Aa]?!1:Li},onChange:function(Li){la&&la(Li),!Li&&Ba.current&&Ba.current.onClose&&Ba.current.onClose()}}),Zo=Object(R.a)(Vo,2),Da=Zo[0],Ka=Zo[1],Pa=Da&&Aa===0,Xo=Da&&Aa===1,Uo=Object(c.useState)(0),Lo=Object(R.a)(Uo,2),Yo=Lo[0],Ko=Lo[1];Object(c.useEffect)(function(){!Da&&Ga.current&&Ko(Ga.current.offsetWidth)},[Da]);var jo=c.useRef();function Or(xa,Li){if(xa)clearTimeout(jo.current),ao.current[Li]=!0,Ja(Li),Ka(xa),Da||ua(null,Li);else if(Aa===Li){Ka(xa);var ea=ao.current;jo.current=setTimeout(function(){ea===ao.current&&(ao.current={})})}}function ui(xa){Or(!0,xa),setTimeout(function(){var Li=[po,Io][xa];Li.current&&Li.current.focus()},0)}function vs(xa,Li){var ea=xa,Ca=Gr(ea,0),go=Gr(ea,1);Ca&&go&&Yr.isAfter(Ca,go)&&(qn==="week"&&!re(Yr,fn.locale,Ca,go)||qn==="quarter"&&!q(Yr,Ca,go)||qn!=="week"&&qn!=="quarter"&&qn!=="time"&&!Ae(Yr,Ca,go)?(Li===0?(ea=[Ca,null],go=null):(Ca=null,ea=[null,go]),ao.current=Object(i.a)({},Li,!0)):(qn!=="time"||ba!==!1)&&(ea=Bn(ea,Yr))),Sa(ea);var js=ea&&ea[0]?Gt(ea[0],{generateConfig:Yr,locale:fn,format:zo[0]}):"",Is=ea&&ea[1]?Gt(ea[1],{generateConfig:Yr,locale:fn,format:zo[0]}):"";if(Ma){var Vs={range:Li===0?"start":"end"};Ma(ea,[js,Is],Vs)}var Zs=di(Ca,0,$i,wa),gl=di(go,1,$i,wa),Fs=ea===null||Zs&≷Fs&&(Qa(ea),_a&&(!ot(Yr,Gr(Yi,0),Ca)||!ot(Yr,Gr(Yi,1),go))&&_a(ea,[js,Is]));var ys=null;Li===0&&!$i[1]?ys=1:Li===1&&!$i[0]&&(ys=0),ys!==null&&ys!==Aa&&(!ao.current[ys]||!Gr(ea,ys))&&Gr(ea,Li)?ui(ys):Or(!1,Li)}var rl=function(Li){return Da&&Ba.current&&Ba.current.onKeyDown?Ba.current.onKeyDown(Li):(Object(A.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Ps={formatList:zo,generateConfig:Yr,locale:fn},Ks=rn(Gr(Ci,0),Ps),sl=Object(R.a)(Ks,2),xs=sl[0],Ls=sl[1],Xs=rn(Gr(Ci,1),Ps),Es=Object(R.a)(Xs,2),_s=Es[0],pl=Es[1],Gs=function(Li,ea){var Ca=lr(Li,{locale:fn,formatList:zo,generateConfig:Yr}),go=ea===0?$a:Na;Ca&&!go(Ca)&&(Sa(Tr(Ci,Ca,ea)),ua(Ca,ea))},ro=Gn({valueTexts:xs,onTextChange:function(Li){return Gs(Li,0)}}),eo=Object(R.a)(ro,3),ho=eo[0],yt=eo[1],Lt=eo[2],Pr=Gn({valueTexts:_s,onTextChange:function(Li){return Gs(Li,1)}}),pn=Object(R.a)(Pr,3),Rn=pn[0],dt=pn[1],ie=pn[2],pe=Object(c.useState)(null),we=Object(R.a)(pe,2),Ke=we[0],ut=we[1],Pt=Object(c.useState)(null),ar=Object(R.a)(Pt,2),wr=ar[0],jr=ar[1],hn=Ur(ho,{formatList:zo,generateConfig:Yr,locale:fn}),Tn=Object(R.a)(hn,3),ti=Tn[0],Ai=Tn[1],Ti=Tn[2],Wi=Ur(Rn,{formatList:zo,generateConfig:Yr,locale:fn}),na=Object(R.a)(Wi,3),Ua=na[0],Za=na[1],to=na[2],No=function(Li){jr(Tr(Ci,Li,Aa)),Aa===0?Ai(Li):Za(Li)},oo=function(){jr(Tr(Ci,null,Aa)),Aa===0?Ti():to()},Do=function(Li,ea){return{blurToCancel:Va,forwardKeyDown:rl,onBlur:co,isClickOutside:function(go){return!Ze([yo.current,fo.current,es.current,Ga.current],go)},onFocus:function(go){Ja(Li),Xa&&Xa(go)},triggerOpen:function(go){Or(go,Li)},onSubmit:function(){vs(Ci,Li),ea()},onCancel:function(){Or(!1,Li),Sa(Yi),ea()}}},Wa=Mn(Object(v.a)(Object(v.a)({},Do(0,Lt)),{},{open:Pa,value:ho,onKeyDown:function(Li,ea){pa==null||pa(Li,ea)}})),Ro=Object(R.a)(Wa,2),ls=Ro[0],wo=Ro[1],So=wo.focused,fs=wo.typing,Cs=Mn(Object(v.a)(Object(v.a)({},Do(1,ie)),{},{open:Xo,value:Rn,onKeyDown:function(Li,ea){pa==null||pa(Li,ea)}})),qo=Object(R.a)(Cs,2),xo=qo[0],Ws=qo[1],ps=Ws.focused,ll=Ws.typing,cl=function(Li){!Da&&!po.current.contains(Li.target)&&!Io.current.contains(Li.target)&&($i[0]?$i[1]||ui(1):ui(0))},Ts=function(Li){Da&&(So||ps)&&!po.current.contains(Li.target)&&!Io.current.contains(Li.target)&&Li.preventDefault()},ko=Yi&&Yi[0]?Gt(Yi[0],{locale:fn,format:"YYYYMMDDHHmmss",generateConfig:Yr}):"",Ki=Yi&&Yi[1]?Gt(Yi[1],{locale:fn,format:"YYYYMMDDHHmmss",generateConfig:Yr}):"";Object(c.useEffect)(function(){Da||(Sa(Yi),!xs.length||xs[0]===""?yt(""):Ls!==ho&&Lt(),!_s.length||_s[0]===""?dt(""):pl!==Rn&&ie())},[Da,xs,_s]),Object(c.useEffect)(function(){Sa(Yi)},[ko,Ki]),Zi&&(Zi.current={focus:function(){po.current&&po.current.focus()},blur:function(){po.current&&po.current.blur(),Io.current&&Io.current.blur()}});var zs=Object.keys(ka||{}),nl=zs.map(function(xa){var Li=ka[xa],ea=typeof Li=="function"?Li():Li;return{label:xa,onClick:function(){vs(ea,null),Or(!1,Aa)},onMouseEnter:function(){ut(ea)},onMouseLeave:function(){ut(null)}}});function Ss(){var xa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Li=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ea=null;Da&&wr&&wr[0]&&wr[1]&&Yr.isAfter(wr[1],wr[0])&&(ea=wr);var Ca=Pn;if(Pn&&Object(F.a)(Pn)==="object"&&Pn.defaultValue){var go=Pn.defaultValue;Ca=Object(v.a)(Object(v.a)({},Pn),{},{defaultValue:Gr(go,Aa)||void 0})}var js=null;return Ea&&(js=function(Vs,Zs){return Ea(Vs,Zs,{range:Aa?"end":"start"})}),c.createElement($t.Provider,{value:{inRange:!0,panelPosition:xa,rangedValue:Ke||Ci,hoverRangedValue:ea}},c.createElement(sr,Object(p.a)({},He,Li,{dateRender:js,showTime:Ca,mode:Oo[Aa],generateConfig:Yr,style:void 0,direction:Oi,disabledDate:Aa===0?$a:Na,disabledTime:function(Vs){return ya?ya(Vs,Aa===0?"start":"end"):!1},className:d()(Object(i.a)({},"".concat(or,"-panel-focused"),Aa===0?!fs:!ll)),value:Gr(Ci,Aa),locale:fn,tabIndex:-1,onPanelChange:function(Vs,Zs){Aa===0&&Ti(!0),Aa===1&&to(!0),ds(Tr(Oo,Zs,Aa),Tr(Ci,Vs,Aa));var gl=Vs;xa==="right"&&Oo[Aa]===Zs&&(gl=Tt(gl,Zs,Yr,-1)),ua(gl,Aa)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Aa===0?Gr(Ci,1):Gr(Ci,0)})))}var ts=0,ml=0;Aa&&fo.current&&To.current&&yo.current&&(ts=fo.current.offsetWidth+To.current.offsetWidth,yo.current.offsetWidth&&ts>yo.current.offsetWidth&&(ml=ts));var il=Oi==="rtl"?{right:ts}:{left:ts};function Ns(){var xa,Li=jt(or,Oo[Aa],Oa),ea=Sr({prefixCls:or,components:ga,needConfirmButton:Va,okDisabled:!Gr(Ci,Aa)||aa&&aa(Ci[Aa]),locale:fn,rangeList:nl,onOk:function(){Gr(Ci,Aa)&&(vs(Ci,Aa),io&&io(Ci))}});if(qn!=="time"&&!Pn){var Ca=Jo(Aa),go=Tt(Ca,qn,Yr),js=Oo[Aa],Is=js===qn,Vs=Ss(Is?"left":!1,{pickerValue:Ca,onPickerValueChange:function(ys){ua(ys,Aa)}}),Zs=Ss("right",{pickerValue:go,onPickerValueChange:function(ys){ua(Tt(ys,qn,Yr,-1),Aa)}});Oi==="rtl"?xa=c.createElement(c.Fragment,null,Zs,Is&&Vs):xa=c.createElement(c.Fragment,null,Vs,Is&&Zs)}else xa=Ss();var gl=c.createElement(c.Fragment,null,c.createElement("div",{className:"".concat(or,"-panels")},xa),(Li||ea)&&c.createElement("div",{className:"".concat(or,"-footer")},Li,ea));return ca&&(gl=ca(gl)),c.createElement("div",{className:"".concat(or,"-panel-container"),style:{marginLeft:ml},ref:yo,onMouseDown:function(ys){ys.preventDefault()}},gl)}var Us=c.createElement("div",{className:d()("".concat(or,"-range-wrapper"),"".concat(or,"-").concat(qn,"-range-wrapper")),style:{minWidth:Yo}},c.createElement("div",{className:"".concat(or,"-range-arrow"),style:il}),Ns()),Ds;xi&&(Ds=c.createElement("span",{className:"".concat(or,"-suffix")},xi));var Rs;_i&&(Gr(Yi,0)&&!$i[0]||Gr(Yi,1)&&!$i[1])&&(Rs=c.createElement("span",{onMouseDown:function(Li){Li.preventDefault(),Li.stopPropagation()},onMouseUp:function(Li){Li.preventDefault(),Li.stopPropagation();var ea=Yi;$i[0]||(ea=Tr(ea,null,0)),$i[1]||(ea=Tr(ea,null,1)),vs(ea,null),Or(!1,Aa)},className:"".concat(or,"-clear")},ji||c.createElement("span",{className:"".concat(or,"-clear-btn")})));var ul={size:se(qn,zo[0],Yr)},Ms=0,Qs=0;fo.current&&es.current&&To.current&&(Aa===0?Qs=fo.current.offsetWidth:(Ms=ts,Qs=es.current.offsetWidth));var Ys=Oi==="rtl"?{right:Ms}:{left:Ms},Js=function(Li,ea){var Ca=Tr(Ci,Li,Aa);ea==="submit"||ea!=="key"&&!Va?(vs(Ca,Aa),Aa===0?Ti():to()):Sa(Ca)};return c.createElement(D.Provider,{value:{operationRef:Ba,hideHeader:qn==="time",onDateMouseEnter:No,onDateMouseLeave:oo,hideRanges:!0,onSelect:Js,open:Da}},c.createElement(Nn,{visible:Da,popupElement:Us,popupStyle:dn,prefixCls:or,dropdownClassName:on,dropdownAlign:sn,getPopupContainer:an,transitionName:Cn,range:!0,direction:Oi},c.createElement("div",Object(p.a)({ref:Ga,className:d()(or,"".concat(or,"-range"),Dr,(gt={},Object(i.a)(gt,"".concat(or,"-disabled"),$i[0]&&$i[1]),Object(i.a)(gt,"".concat(or,"-focused"),Aa===0?So:ps),Object(i.a)(gt,"".concat(or,"-rtl"),Oi==="rtl"),gt)),style:Kr,onClick:cl,onMouseEnter:so,onMouseLeave:Ao,onMouseDown:Ts},In(He)),c.createElement("div",{className:d()("".concat(or,"-input"),(Xt={},Object(i.a)(Xt,"".concat(or,"-input-active"),Aa===0),Object(i.a)(Xt,"".concat(or,"-input-placeholder"),!!ti),Xt)),ref:fo},c.createElement("input",Object(p.a)({id:Vr,disabled:$i[0],readOnly:Si||typeof zo[0]=="function"||!fs,value:ti||ho,onChange:function(Li){yt(Li.target.value)},autoFocus:Ln,placeholder:Gr(vn,0)||"",ref:po},ls,ul,{autoComplete:os}))),c.createElement("div",{className:"".concat(or,"-range-separator"),ref:To},wi),c.createElement("div",{className:d()("".concat(or,"-input"),(zt={},Object(i.a)(zt,"".concat(or,"-input-active"),Aa===1),Object(i.a)(zt,"".concat(or,"-input-placeholder"),!!Ua),zt)),ref:es},c.createElement("input",Object(p.a)({disabled:$i[1],readOnly:Si||typeof zo[0]=="function"||!ll,value:Ua||Rn,onChange:function(Li){dt(Li.target.value)},placeholder:Gr(vn,1)||"",ref:Io},xo,ul,{autoComplete:os}))),c.createElement("div",{className:"".concat(or,"-active-bar"),style:Object(v.a)(Object(v.a)({},Ys),{},{width:Qs,position:"absolute"})}),Ds,Rs)))}var xr=function(He){Object(t.a)(Xt,He);var gt=Object(s.a)(Xt);function Xt(){var zt;return Object(r.a)(this,Xt),zt=gt.apply(this,arguments),zt.pickerRef=c.createRef(),zt.focus=function(){zt.pickerRef.current&&zt.pickerRef.current.focus()},zt.blur=function(){zt.pickerRef.current&&zt.pickerRef.current.blur()},zt}return Object(a.a)(Xt,[{key:"render",value:function(){return c.createElement(qr,Object(p.a)({},this.props,{pickerRef:this.pickerRef}))}}]),Xt}(c.Component),nn=xr,gn=Vn,On=o("BTa+");function Fn(He,gt,Xt){return Xt!==void 0?Xt:He==="year"&>.lang.yearPlaceholder?gt.lang.yearPlaceholder:He==="quarter"&>.lang.quarterPlaceholder?gt.lang.quarterPlaceholder:He==="month"&>.lang.monthPlaceholder?gt.lang.monthPlaceholder:He==="week"&>.lang.weekPlaceholder?gt.lang.weekPlaceholder:He==="time"&>.timePickerLocale.placeholder?gt.timePickerLocale.placeholder:gt.lang.placeholder}function zn(He,gt,Xt){return Xt!==void 0?Xt:He==="year"&>.lang.yearPlaceholder?gt.lang.rangeYearPlaceholder:He==="month"&>.lang.monthPlaceholder?gt.lang.rangeMonthPlaceholder:He==="week"&>.lang.weekPlaceholder?gt.lang.rangeWeekPlaceholder:He==="time"&>.timePickerLocale.placeholder?gt.timePickerLocale.rangePlaceholder:gt.lang.rangePlaceholder}var $n=o("bq+4"),Zn=o("9R2V"),vi=o("VM9+"),Pi=o("kc2O"),Fi=function(He,gt){var Xt={};for(var zt in He)Object.prototype.hasOwnProperty.call(He,zt)&>.indexOf(zt)<0&&(Xt[zt]=He[zt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vr=0,zt=Object.getOwnPropertySymbols(He);vr<zt.length;vr++)gt.indexOf(zt[vr])<0&&Object.prototype.propertyIsEnumerable.call(He,zt[vr])&&(Xt[zt[vr]]=He[zt[vr]]);return Xt};function ja(He){function gt(Dr,dn){var on=function(Cn){Object(t.a)(an,Cn);var sn=Object(s.a)(an);function an(Yr){var fn;return Object(r.a)(this,an),fn=sn.call(this,Yr),fn.pickerRef=c.createRef(),fn.focus=function(){fn.pickerRef.current&&fn.pickerRef.current.focus()},fn.blur=function(){fn.pickerRef.current&&fn.pickerRef.current.blur()},fn.renderPicker=function(vn){var Ln=Object(p.a)(Object(p.a)({},vn),fn.props.locale),oi=fn.context,si=oi.getPrefixCls,Ni=oi.direction,qn=oi.getPopupContainer,Pn=fn.props,Bi=Pn.prefixCls,ci=Pn.getPopupContainer,wi=Pn.className,fi=Pn.size,ki=Pn.bordered,fa=ki===void 0?!0:ki,zi=Pn.placeholder,ma=Fi(Pn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),aa=fn.props,ya=aa.format,Ea=aa.showTime,ca=si("picker",Bi),ka={showToday:!0},wa={};Dr&&(wa.picker=Dr);var _i=Dr||fn.props.picker;wa=Object(p.a)(Object(p.a)(Object(p.a)({},wa),Ea?Qi(Object(p.a)({format:ya,picker:_i},Ea)):{}),_i==="time"?Qi(Object(p.a)(Object(p.a)({format:ya},fn.props),{picker:_i})):{});var xi=si();return c.createElement(Pi.b.Consumer,null,function(ji){var Zi,Si=fi||ji;return c.createElement(gn,Object(p.a)({ref:fn.pickerRef,placeholder:Fn(_i,Ln,zi),suffixIcon:_i==="time"?c.createElement(I,null):c.createElement(C,null),clearIcon:c.createElement(L.a,null),allowClear:!0,transitionName:"".concat(xi,"-slide-up")},ka,ma,wa,{locale:Ln.lang,className:d()((Zi={},Object(i.a)(Zi,"".concat(ca,"-").concat(Si),Si),Object(i.a)(Zi,"".concat(ca,"-borderless"),!fa),Zi),wi),prefixCls:ca,getPopupContainer:ci||qn,generateConfig:He,prevIcon:c.createElement("span",{className:"".concat(ca,"-prev-icon")}),nextIcon:c.createElement("span",{className:"".concat(ca,"-next-icon")}),superPrevIcon:c.createElement("span",{className:"".concat(ca,"-super-prev-icon")}),superNextIcon:c.createElement("span",{className:"".concat(ca,"-super-next-icon")}),components:ni,direction:Ni}))})},Object($n.a)(Dr!=="quarter",dn,"DatePicker.".concat(dn," is legacy usage. Please use DatePicker[picker='").concat(Dr,"'] directly.")),fn}return Object(a.a)(an,[{key:"render",value:function(){return c.createElement(vi.a,{componentName:"DatePicker",defaultLocale:On.a},this.renderPicker)}}]),an}(c.Component);return on.contextType=Zn.b,dn&&(on.displayName=dn),on}var Xt=gt(),zt=gt("week","WeekPicker"),vr=gt("month","MonthPicker"),or=gt("year","YearPicker"),Vr=gt("time","TimePicker"),Kr=gt("quarter","QuarterPicker");return{DatePicker:Xt,WeekPicker:zt,MonthPicker:vr,YearPicker:or,TimePicker:Vr,QuarterPicker:Kr}}var Qn={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"},Xr=Qn,hi=function(gt,Xt){return c.createElement(b.a,Object(v.a)(Object(v.a)({},gt),{},{ref:Xt,icon:Xr}))};hi.displayName="SwapRightOutlined";var Ri=c.forwardRef(hi),bi=function(He,gt){var Xt={};for(var zt in He)Object.prototype.hasOwnProperty.call(He,zt)&>.indexOf(zt)<0&&(Xt[zt]=He[zt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vr=0,zt=Object.getOwnPropertySymbols(He);vr<zt.length;vr++)gt.indexOf(zt[vr])<0&&Object.prototype.propertyIsEnumerable.call(He,zt[vr])&&(Xt[zt[vr]]=He[zt[vr]]);return Xt};function Ui(He){var gt=function(Xt){Object(t.a)(vr,Xt);var zt=Object(s.a)(vr);function vr(){var or;return Object(r.a)(this,vr),or=zt.apply(this,arguments),or.pickerRef=c.createRef(),or.focus=function(){or.pickerRef.current&&or.pickerRef.current.focus()},or.blur=function(){or.pickerRef.current&&or.pickerRef.current.blur()},or.renderPicker=function(Vr){var Kr=Object(p.a)(Object(p.a)({},Vr),or.props.locale),Dr=or.context,dn=Dr.getPrefixCls,on=Dr.direction,Cn=Dr.getPopupContainer,sn=or.props,an=sn.prefixCls,Yr=sn.getPopupContainer,fn=sn.className,vn=sn.size,Ln=sn.bordered,oi=Ln===void 0?!0:Ln,si=sn.placeholder,Ni=bi(sn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),qn=or.props,Pn=qn.format,Bi=qn.showTime,ci=qn.picker,wi=dn("picker",an),fi={};fi=Object(p.a)(Object(p.a)(Object(p.a)({},fi),Bi?Qi(Object(p.a)({format:Pn,picker:ci},Bi)):{}),ci==="time"?Qi(Object(p.a)(Object(p.a)({format:Pn},or.props),{picker:ci})):{});var ki=dn();return c.createElement(Pi.b.Consumer,null,function(fa){var zi,ma=vn||fa;return c.createElement(nn,Object(p.a)({separator:c.createElement("span",{"aria-label":"to",className:"".concat(wi,"-separator")},c.createElement(Ri,null)),ref:or.pickerRef,placeholder:zn(ci,Kr,si),suffixIcon:ci==="time"?c.createElement(I,null):c.createElement(C,null),clearIcon:c.createElement(L.a,null),allowClear:!0,transitionName:"".concat(ki,"-slide-up")},Ni,fi,{className:d()((zi={},Object(i.a)(zi,"".concat(wi,"-").concat(ma),ma),Object(i.a)(zi,"".concat(wi,"-borderless"),!oi),zi),fn),locale:Kr.lang,prefixCls:wi,getPopupContainer:Yr||Cn,generateConfig:He,prevIcon:c.createElement("span",{className:"".concat(wi,"-prev-icon")}),nextIcon:c.createElement("span",{className:"".concat(wi,"-next-icon")}),superPrevIcon:c.createElement("span",{className:"".concat(wi,"-super-prev-icon")}),superNextIcon:c.createElement("span",{className:"".concat(wi,"-super-next-icon")}),components:ni,direction:on}))})},or}return Object(a.a)(vr,[{key:"render",value:function(){return c.createElement(vi.a,{componentName:"DatePicker",defaultLocale:On.a},this.renderPicker)}}]),vr}(c.Component);return gt.contextType=Zn.b,gt}var ni={button:l,rangeItem:n};function qi(He){return He?Array.isArray(He)?He:[He]:[]}function Qi(He){var gt=He.format,Xt=He.picker,zt=He.showHour,vr=He.showMinute,or=He.showSecond,Vr=He.use12Hours,Kr=qi(gt)[0],Dr=Object(p.a)({},He);return Kr&&typeof Kr=="string"&&(!Kr.includes("s")&&or===void 0&&(Dr.showSecond=!1),!Kr.includes("m")&&vr===void 0&&(Dr.showMinute=!1),!Kr.includes("H")&&!Kr.includes("h")&&zt===void 0&&(Dr.showHour=!1),(Kr.includes("a")||Kr.includes("A"))&&Vr===void 0&&(Dr.use12Hours=!0)),Xt==="time"?Dr:(typeof Kr=="function"&&delete Dr.format,{showTime:Dr})}function ha(He){var gt=ja(He),Xt=gt.DatePicker,zt=gt.WeekPicker,vr=gt.MonthPicker,or=gt.YearPicker,Vr=gt.TimePicker,Kr=gt.QuarterPicker,Dr=Ui(He),dn=Xt;return dn.WeekPicker=zt,dn.MonthPicker=vr,dn.YearPicker=or,dn.RangePicker=Dr,dn.TimePicker=Vr,dn.QuarterPicker=Kr,dn}var Yt=ha,Ir=Yt(g),Zr=B.a=Ir},BPZU:function(M,B){var o=32,w=7,f=256;function A(n){for(var i=0;n>=o;)i|=n&1,n>>=1;return n+i}function m(n,i,r,a){var t=i+1;if(t===r)return 1;if(a(n[t++],n[i])<0){for(;t<r&&a(n[t],n[t-1])<0;)t++;g(n,i,t)}else for(;t<r&&a(n[t],n[t-1])>=0;)t++;return t-i}function g(n,i,r){for(r--;i<r;){var a=n[i];n[i++]=n[r],n[r--]=a}}function p(n,i,r,a,t){for(a===i&&a++;a<r;a++){for(var s=n[a],u=i,d=a,v;u<d;)v=u+d>>>1,t(s,n[v])<0?d=v:u=v+1;var y=a-u;switch(y){case 3:n[u+3]=n[u+2];case 2:n[u+2]=n[u+1];case 1:n[u+1]=n[u];break;default:for(;y>0;)n[u+y]=n[u+y-1],y--}n[u]=s}}function c(n,i,r,a,t,s){var u=0,d=0,v=1;if(s(n,i[r+t])>0){for(d=a-t;v<d&&s(n,i[r+t+v])>0;)u=v,v=(v<<1)+1,v<=0&&(v=d);v>d&&(v=d),u+=t,v+=t}else{for(d=t+1;v<d&&s(n,i[r+t-v])<=0;)u=v,v=(v<<1)+1,v<=0&&(v=d);v>d&&(v=d);var y=u;u=t-v,v=t-y}for(u++;u<v;){var S=u+(v-u>>>1);s(n,i[r+S])>0?u=S+1:v=S}return v}function h(n,i,r,a,t,s){var u=0,d=0,v=1;if(s(n,i[r+t])<0){for(d=t+1;v<d&&s(n,i[r+t-v])<0;)u=v,v=(v<<1)+1,v<=0&&(v=d);v>d&&(v=d);var y=u;u=t-v,v=t-y}else{for(d=a-t;v<d&&s(n,i[r+t+v])>=0;)u=v,v=(v<<1)+1,v<=0&&(v=d);v>d&&(v=d),u+=t,v+=t}for(u++;u<v;){var S=u+(v-u>>>1);s(n,i[r+S])<0?v=S:u=S+1}return v}function l(n,i){var r=w,a=0,t=f,s=0,u,d,v=0;a=n.length,a<2*f&&(t=a>>>1);var y=[];s=a<120?5:a<1542?10:a<119151?19:40,u=[],d=[];function S(_,I){u[v]=_,d[v]=I,v+=1}function b(){for(;v>1;){var _=v-2;if(_>=1&&d[_-1]<=d[_]+d[_+1]||_>=2&&d[_-2]<=d[_]+d[_-1])d[_-1]<d[_+1]&&_--;else if(d[_]>d[_+1])break;C(_)}}function E(){for(;v>1;){var _=v-2;_>0&&d[_-1]<d[_+1]&&_--,C(_)}}function C(_){var I=u[_],L=d[_],R=u[_+1],k=d[_+1];d[_]=L+k,_===v-3&&(u[_+1]=u[_+2],d[_+1]=d[_+2]),v--;var F=h(n[R],n,I,L,0,i);if(I+=F,L-=F,L===0)return;if(k=c(n[I+L-1],n,R,k,k-1,i),k===0)return;L<=k?T(I,L,R,k):x(I,L,R,k)}function T(_,I,L,R){var k=0;for(k=0;k<I;k++)y[k]=n[_+k];var F=0,P=L,W=_;if(n[W++]=n[P++],--R===0){for(k=0;k<I;k++)n[W+k]=y[F+k];return}if(I===1){for(k=0;k<R;k++)n[W+k]=n[P+k];n[W+R]=y[F];return}for(var D=r,U,H,j;;){U=0,H=0,j=!1;do if(i(n[P],y[F])<0){if(n[W++]=n[P++],H++,U=0,--R===0){j=!0;break}}else if(n[W++]=y[F++],U++,H=0,--I===1){j=!0;break}while((U|H)<D);if(j)break;do{if(U=h(n[P],y,F,I,0,i),U!==0){for(k=0;k<U;k++)n[W+k]=y[F+k];if(W+=U,F+=U,I-=U,I<=1){j=!0;break}}if(n[W++]=n[P++],--R===0){j=!0;break}if(H=c(y[F],n,P,R,0,i),H!==0){for(k=0;k<H;k++)n[W+k]=n[P+k];if(W+=H,P+=H,R-=H,R===0){j=!0;break}}if(n[W++]=y[F++],--I===1){j=!0;break}D--}while(U>=w||H>=w);if(j)break;D<0&&(D=0),D+=2}if(r=D,r<1&&(r=1),I===1){for(k=0;k<R;k++)n[W+k]=n[P+k];n[W+R]=y[F]}else{if(I===0)throw new Error;for(k=0;k<I;k++)n[W+k]=y[F+k]}}function x(_,I,L,R){var k=0;for(k=0;k<R;k++)y[k]=n[L+k];var F=_+I-1,P=R-1,W=L+R-1,D=0,U=0;if(n[W--]=n[F--],--I===0){for(D=W-(R-1),k=0;k<R;k++)n[D+k]=y[k];return}if(R===1){for(W-=I,F-=I,U=W+1,D=F+1,k=I-1;k>=0;k--)n[U+k]=n[D+k];n[W]=y[P];return}for(var H=r;;){var j=0,K=0,X=!1;do if(i(y[P],n[F])<0){if(n[W--]=n[F--],j++,K=0,--I===0){X=!0;break}}else if(n[W--]=y[P--],K++,j=0,--R===1){X=!0;break}while((j|K)<H);if(X)break;do{if(j=I-h(y[P],n,_,I,I-1,i),j!==0){for(W-=j,F-=j,I-=j,U=W+1,D=F+1,k=j-1;k>=0;k--)n[U+k]=n[D+k];if(I===0){X=!0;break}}if(n[W--]=y[P--],--R===1){X=!0;break}if(K=R-c(n[F],y,0,R,R-1,i),K!==0){for(W-=K,P-=K,R-=K,U=W+1,D=P+1,k=0;k<K;k++)n[U+k]=y[D+k];if(R<=1){X=!0;break}}if(n[W--]=n[F--],--I===0){X=!0;break}H--}while(j>=w||K>=w);if(X)break;H<0&&(H=0),H+=2}if(r=H,r<1&&(r=1),R===1){for(W-=I,F-=I,U=W+1,D=F+1,k=I-1;k>=0;k--)n[U+k]=n[D+k];n[W]=y[P]}else{if(R===0)throw new Error;for(D=W-(R-1),k=0;k<R;k++)n[D+k]=y[k]}}this.mergeRuns=b,this.forceMergeRuns=E,this.pushRun=S}function e(n,i,r,a){r||(r=0),a||(a=n.length);var t=a-r;if(t<2)return;var s=0;if(t<o){s=m(n,r,a,i),p(n,r,a,r+s,i);return}var u=new l(n,i),d=A(t);do{if(s=m(n,r,a,i),s<d){var v=t;v>d&&(v=d),p(n,r,r+v,r+s,i),s=v}u.pushRun(r,s),u.mergeRuns(),t-=s,r+=s}while(t!==0);u.forceMergeRuns()}M.exports=e},Bd2K:function(M,B,o){(function(w){w(o("VrN/"),o("osHv"))})(function(w){w.defineOption("autoCloseTags",!1,function(l,e,n){if(n!=w.Init&&n&&l.removeKeyMap("autoCloseTags"),!e)return;var i={name:"autoCloseTags"};(typeof e!="object"||e.whenClosing!==!1)&&(i["'/'"]=function(r){return p(r)}),(typeof e!="object"||e.whenOpening!==!1)&&(i["'>'"]=function(r){return m(r)}),l.addKeyMap(i)});var f=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],A=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function m(l){if(l.getOption("disableInput"))return w.Pass;for(var e=l.listSelections(),n=[],i=l.getOption("autoCloseTags"),r=0;r<e.length;r++){if(!e[r].empty())return w.Pass;var a=e[r].head,t=l.getTokenAt(a),s=w.innerMode(l.getMode(),t.state),u=s.state,d=s.mode.xmlCurrentTag&&s.mode.xmlCurrentTag(u),v=d&&d.name;if(!v)return w.Pass;var y=s.mode.configuration=="html",S=typeof i=="object"&&i.dontCloseTags||y&&f,b=typeof i=="object"&&i.indentTags||y&&A;t.end>a.ch&&(v=v.slice(0,v.length-t.end+a.ch));var E=v.toLowerCase();if(!v||t.type=="string"&&(t.end!=a.ch||!/[\"\']/.test(t.string.charAt(t.string.length-1))||t.string.length==1)||t.type=="tag"&&d.close||t.string.indexOf("/")==a.ch-t.start-1||S&&c(S,E)>-1||h(l,s.mode.xmlCurrentContext&&s.mode.xmlCurrentContext(u)||[],v,a,!0))return w.Pass;var C=typeof i=="object"&&i.emptyTags;if(C&&c(C,v)>-1){n[r]={text:"/>",newPos:w.Pos(a.line,a.ch+2)};continue}var T=b&&c(b,E)>-1;n[r]={indent:T,text:">"+(T?`
|
|
|
|
|
|
`:"")+"</"+v+">",newPos:T?w.Pos(a.line+1,0):w.Pos(a.line,a.ch+1)}}for(var x=typeof i=="object"&&i.dontIndentOnAutoClose,r=e.length-1;r>=0;r--){var _=n[r];l.replaceRange(_.text,e[r].head,e[r].anchor,"+insert");var I=l.listSelections().slice(0);I[r]={head:_.newPos,anchor:_.newPos},l.setSelections(I),!x&&_.indent&&(l.indentLine(_.newPos.line,null,!0),l.indentLine(_.newPos.line+1,null,!0))}}function g(l,e){for(var n=l.listSelections(),i=[],r=e?"/":"</",a=l.getOption("autoCloseTags"),t=typeof a=="object"&&a.dontIndentOnSlash,s=0;s<n.length;s++){if(!n[s].empty())return w.Pass;var u=n[s].head,d=l.getTokenAt(u),v=w.innerMode(l.getMode(),d.state),y=v.state;if(e&&(d.type=="string"||d.string.charAt(0)!="<"||d.start!=u.ch-1))return w.Pass;var S,b=v.mode.name!="xml"&&l.getMode().name=="htmlmixed";if(b&&v.mode.name=="javascript")S=r+"script";else if(b&&v.mode.name=="css")S=r+"style";else{var E=v.mode.xmlCurrentContext&&v.mode.xmlCurrentContext(y);if(!E||E.length&&h(l,E,E[E.length-1],u))return w.Pass;S=r+E[E.length-1]}l.getLine(u.line).charAt(d.end)!=">"&&(S+=">"),i[s]=S}if(l.replaceSelections(i),n=l.listSelections(),!t)for(var s=0;s<n.length;s++)(s==n.length-1||n[s].head.line<n[s+1].head.line)&&l.indentLine(n[s].head.line)}function p(l){return l.getOption("disableInput")?w.Pass:g(l,!0)}w.commands.closeTag=function(l){return g(l)};function c(l,e){if(l.indexOf)return l.indexOf(e);for(var n=0,i=l.length;n<i;++n)if(l[n]==e)return n;return-1}function h(l,e,n,i,r){if(!w.scanForClosingTag)return!1;var a=Math.min(l.lastLine()+1,i.line+500),t=w.scanForClosingTag(l,i,null,a);if(!t||t.tag!=n)return!1;for(var s=r?1:0,u=e.length-1;u>=0&&e[u]==n;u--)++s;i=t.to;for(var u=1;u<s;u++){var d=w.scanForClosingTag(l,i,null,a);if(!d||d.tag!=n)return!1;i=d.to}return!0}})},Bgvn:function(M,B,o){},BlVb:function(M,B,o){var w=o("hyiK"),f=1e-8;function A(g,p){return Math.abs(g-p)<f}function m(g,p,c){var h=0,l=g[0];if(!l)return!1;for(var e=1;e<g.length;e++){var n=g[e];h+=w(l[0],l[1],n[0],n[1],p,c),l=n}var i=g[0];return(!A(l[0],i[0])||!A(l[1],i[1]))&&(h+=w(l[0],l[1],i[0],i[1],p,c)),h!==0}B.contain=m},Bq2U:function(M,B,o){var w=o("RDYZ"),f=o("Qe9p"),A=o("bYtY"),m=A.isArrayLike,g=Array.prototype.slice;function p(S,b){return S[b]}function c(S,b,E){S[b]=E}function h(S,b,E){return(b-S)*E+S}function l(S,b,E){return E>.5?b:S}function e(S,b,E,C,T){var x=S.length;if(T===1)for(var _=0;_<x;_++)C[_]=h(S[_],b[_],E);else for(var I=x&&S[0].length,_=0;_<x;_++)for(var L=0;L<I;L++)C[_][L]=h(S[_][L],b[_][L],E)}function n(S,b,E){var C=S.length,T=b.length;if(C!==T){var x=C>T;if(x)S.length=T;else for(var _=C;_<T;_++)S.push(E===1?b[_]:g.call(b[_]))}for(var I=S[0]&&S[0].length,_=0;_<S.length;_++)if(E===1)isNaN(S[_])&&(S[_]=b[_]);else for(var L=0;L<I;L++)isNaN(S[_][L])&&(S[_][L]=b[_][L])}function i(S,b,E){if(S===b)return!0;var C=S.length;if(C!==b.length)return!1;if(E===1){for(var T=0;T<C;T++)if(S[T]!==b[T])return!1}else for(var x=S[0].length,T=0;T<C;T++)for(var _=0;_<x;_++)if(S[T][_]!==b[T][_])return!1;return!0}function r(S,b,E,C,T,x,_,I,L){var R=S.length;if(L===1)for(var k=0;k<R;k++)I[k]=a(S[k],b[k],E[k],C[k],T,x,_);else for(var F=S[0].length,k=0;k<R;k++)for(var P=0;P<F;P++)I[k][P]=a(S[k][P],b[k][P],E[k][P],C[k][P],T,x,_)}function a(S,b,E,C,T,x,_){var I=(E-S)*.5,L=(C-b)*.5;return(2*(b-E)+I+L)*_+(-3*(b-E)-2*I-L)*x+I*T+b}function t(S){if(m(S)){var b=S.length;if(m(S[0])){for(var E=[],C=0;C<b;C++)E.push(g.call(S[C]));return E}return g.call(S)}return S}function s(S){return S[0]=Math.floor(S[0]),S[1]=Math.floor(S[1]),S[2]=Math.floor(S[2]),"rgba("+S.join(",")+")"}function u(S){var b=S[S.length-1].value;return m(b&&b[0])?2:1}function d(S,b,E,C,T,x){var _=S._getter,I=S._setter,L=b==="spline",R=C.length;if(!R)return;var k=C[0].value,F=m(k),P=!1,W=!1,D=F?u(C):0,U;C.sort(function(he,ee){return he.time-ee.time}),U=C[R-1].time;for(var H=[],j=[],K=C[0].value,X=!0,z=0;z<R;z++){H.push(C[z].time/U);var Y=C[z].value;if(F&&i(Y,K,D)||!F&&Y===K||(X=!1),K=Y,typeof Y=="string"){var $=f.parse(Y);$?(Y=$,P=!0):W=!0}j.push(Y)}if(!x&&X)return;for(var ne=j[R-1],z=0;z<R-1;z++)F?n(j[z],ne,D):isNaN(j[z])&&!isNaN(ne)&&!W&&!P&&(j[z]=ne);F&&n(_(S._target,T),ne,D);var J=0,ge=0,de,Ie,be,Ce,je,te;if(P)var ve=[0,0,0,0];var $e=function(ee,se){var Ue;if(se<0)Ue=0;else if(se<ge){for(de=Math.min(J+1,R-1),Ue=de;Ue>=0&&!(H[Ue]<=se);Ue--);Ue=Math.min(Ue,R-2)}else{for(Ue=J;Ue<R&&!(H[Ue]>se);Ue++);Ue=Math.min(Ue-1,R-2)}J=Ue,ge=se;var ue=H[Ue+1]-H[Ue];if(ue===0)return;if(Ie=(se-H[Ue])/ue,L)if(Ce=j[Ue],be=j[Ue===0?Ue:Ue-1],je=j[Ue>R-2?R-1:Ue+1],te=j[Ue>R-3?R-1:Ue+2],F)r(be,Ce,je,te,Ie,Ie*Ie,Ie*Ie*Ie,_(ee,T),D);else{var Ne;if(P)Ne=r(be,Ce,je,te,Ie,Ie*Ie,Ie*Ie*Ie,ve,1),Ne=s(ve);else{if(W)return l(Ce,je,Ie);Ne=a(be,Ce,je,te,Ie,Ie*Ie,Ie*Ie*Ie)}I(ee,T,Ne)}else if(F)e(j[Ue],j[Ue+1],Ie,_(ee,T),D);else{var Ne;if(P)e(j[Ue],j[Ue+1],Ie,ve,1),Ne=s(ve);else{if(W)return l(j[Ue],j[Ue+1],Ie);Ne=h(j[Ue],j[Ue+1],Ie)}I(ee,T,Ne)}},Le=new w({target:S._target,life:U,loop:S._loop,delay:S._delay,onframe:$e,ondestroy:E});return b&&b!=="spline"&&(Le.easing=b),Le}var v=function(b,E,C,T){this._tracks={},this._target=b,this._loop=E||!1,this._getter=C||p,this._setter=T||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};v.prototype={when:function(b,E){var C=this._tracks;for(var T in E){if(!E.hasOwnProperty(T))continue;if(!C[T]){C[T]=[];var x=this._getter(this._target,T);if(x==null)continue;b!==0&&C[T].push({time:0,value:t(x)})}C[T].push({time:b,value:E[T]})}return this},during:function(b){return this._onframeList.push(b),this},pause:function(){for(var b=0;b<this._clipList.length;b++)this._clipList[b].pause();this._paused=!0},resume:function(){for(var b=0;b<this._clipList.length;b++)this._clipList[b].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var b=this._doneList,E=b.length,C=0;C<E;C++)b[C].call(this)},start:function(b,E){var C=this,T=0,x=function(){T--,T||C._doneCallback()},_;for(var I in this._tracks){if(!this._tracks.hasOwnProperty(I))continue;var L=d(this,b,x,this._tracks[I],I,E);L&&(this._clipList.push(L),T++,this.animation&&this.animation.addClip(L),_=L)}if(_){var R=_.onframe;_.onframe=function(k,F){R(k,F);for(var P=0;P<C._onframeList.length;P++)C._onframeList[P](k,F)}}return T||this._doneCallback(),this},stop:function(b){for(var E=this._clipList,C=this.animation,T=0;T<E.length;T++){var x=E[T];b&&x.onframe(this._target,1),C&&C.removeClip(x)}E.length=0},delay:function(b){return this._delay=b,this},done:function(b){return b&&this._doneList.push(b),this},getClips:function(){return this._clipList}};var y=v;M.exports=y},Bsck:function(M,B,o){var w=o("bYtY"),f=o("Qxkt"),A=o("Mdki"),m=o("YXkt"),g=o("sdST"),p=function(e,n){this.name=e||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=n};p.prototype={constructor:p,isRemoved:function(){return this.dataIndex<0},eachNode:function(e,n,i){typeof e=="function"&&(i=n,n=e,e=null),e=e||{},w.isString(e)&&(e={order:e});var r=e.order||"preorder",a=this[e.attr||"children"],t;r==="preorder"&&(t=n.call(i,this));for(var s=0;!t&&s<a.length;s++)a[s].eachNode(e,n,i);r==="postorder"&&n.call(i,this)},updateDepthAndHeight:function(e){var n=0;this.depth=e;for(var i=0;i<this.children.length;i++){var r=this.children[i];r.updateDepthAndHeight(e+1),r.height>n&&(n=r.height)}this.height=n+1},getNodeById:function(e){if(this.getId()===e)return this;for(var n=0,i=this.children,r=i.length;n<r;n++){var a=i[n].getNodeById(e);if(a)return a}},contains:function(e){if(e===this)return!0;for(var n=0,i=this.children,r=i.length;n<r;n++){var a=i[n].contains(e);if(a)return a}},getAncestors:function(e){for(var n=[],i=e?this:this.parentNode;i;)n.push(i),i=i.parentNode;return n.reverse(),n},getValue:function(e){var n=this.hostTree.data;return n.get(n.getDimension(e||"value"),this.dataIndex)},setLayout:function(e,n){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,n)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(this.dataIndex<0)return;var n=this.hostTree,i=n.data.getItemModel(this.dataIndex),r=this.getLevelModel();return r?i.getModel(e,r.getModel(e)):i.getModel(e)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(e,n){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,n)},getVisual:function(e,n){return this.hostTree.data.getItemVisual(this.dataIndex,e,n)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){for(var n=e.parentNode;n;){if(n===this)return!0;n=n.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}};function c(e,n){this.root,this.data,this._nodes=[],this.hostModel=e,this.levelModels=w.map(n||[],function(i){return new f(i,e,e.ecModel)})}c.prototype={constructor:c,type:"tree",eachNode:function(e,n,i){this.root.eachNode(e,n,i)},getNodeByDataIndex:function(e){var n=this.data.getRawIndex(e);return this._nodes[n]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,n=this._nodes,i=0,r=n.length;i<r;i++)n[i].dataIndex=-1;for(var i=0,r=e.count();i<r;i++)n[e.getRawIndex(i)].dataIndex=i},clearLayouts:function(){this.data.clearItemLayouts()}},c.createTree=function(e,n,i,r){var a=new c(n,i&&i.levels),t=[],s=1;u(e);function u(y,S){var b=y.value;s=Math.max(s,w.isArray(b)?b.length:1),t.push(y);var E=new p(y.name,a);S?h(E,S):a.root=E,a._nodes.push(E);var C=y.children;if(C)for(var T=0;T<C.length;T++)u(C[T],E)}a.root.updateDepthAndHeight(0);var d=g(t,{coordDimensions:["value"],dimensionsCount:s}),v=new m(d,n);return v.initData(t),r&&r(v),A({mainData:v,struct:a,structAttr:"tree"}),a.update(),a};function h(e,n){var i=n.children;if(e.parentNode===n)return;i.push(e),e.parentNode=n}var l=c;M.exports=l},BtR2:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="LikeOutlined";var c=B.a=f.forwardRef(p)},BuqR:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=o("6uqw"),g=o("XxSj"),p=o("YOMW"),c=o("OELB"),h=c.reformIntervals,l=m.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(r,a){l.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var t=this._mode=this._determineMode();e[this._mode].call(this),this._resetSelected(r,a);var s=this.option.categories;this.resetVisual(function(u,d){t==="categories"?(u.mappingMethod="category",u.categories=A.clone(s)):(u.dataExtent=this.getExtent(),u.mappingMethod="piecewise",u.pieceList=A.map(this._pieceList,function(v){var v=A.clone(v);return d!=="inRange"&&(v.visual=null),v}))})},completeVisualOption:function(){var r=this.option,a={},t=g.listVisualTypes(),s=this.isCategory();A.each(r.pieces,function(d){A.each(t,function(v){d.hasOwnProperty(v)&&(a[v]=1)})}),A.each(a,function(d,v){var y=0;A.each(this.stateList,function(S){y|=u(r,S,v)||u(r.target,S,v)},this),!y&&A.each(this.stateList,function(S){(r[S]||(r[S]={}))[v]=p.get(v,S==="inRange"?"active":"inactive",s)})},this);function u(d,v,y){return d&&d[v]&&(A.isObject(d[v])?d[v].hasOwnProperty(y):d[v]===y)}m.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(r,a){var t=this.option,s=this._pieceList,u=(a?t:r).selected||{};if(t.selected=u,A.each(s,function(v,y){var S=this.getSelectedMapKey(v);u.hasOwnProperty(S)||(u[S]=!0)},this),t.selectedMode==="single"){var d=!1;A.each(s,function(v,y){var S=this.getSelectedMapKey(v);u[S]&&(d?u[S]=!1:d=!0)},this)}},getSelectedMapKey:function(r){return this._mode==="categories"?r.value+"":r.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var r=this.option;return r.pieces&&r.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(r){this.option.selected=A.clone(r)},getValueState:function(r){var a=g.findPieceIndex(r,this._pieceList);return a!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[a])]?"inRange":"outOfRange"},findTargetDataIndices:function(r){var a=[];return this.eachTargetSeries(function(t){var s=[],u=t.getData();u.each(this.getDataDimension(u),function(d,v){var y=g.findPieceIndex(d,this._pieceList);y===r&&s.push(v)},this),a.push({seriesId:t.id,dataIndex:s})},this),a},getRepresentValue:function(r){var a;if(this.isCategory())a=r.value;else if(r.value!=null)a=r.value;else{var t=r.interval||[];a=t[0]===-Infinity&&t[1]===Infinity?0:(t[0]+t[1])/2}return a},getVisualMeta:function(r){if(this.isCategory())return;var a=[],t=[],s=this;function u(S,b){var E=s.getRepresentValue({interval:S});b||(b=s.getValueState(E));var C=r(E,b);S[0]===-Infinity?t[0]=C:S[1]===Infinity?t[1]=C:a.push({value:S[0],color:C},{value:S[1],color:C})}var d=this._pieceList.slice();if(!d.length)d.push({interval:[-Infinity,Infinity]});else{var v=d[0].interval[0];v!==-Infinity&&d.unshift({interval:[-Infinity,v]}),v=d[d.length-1].interval[1],v!==Infinity&&d.push({interval:[v,Infinity]})}var y=-Infinity;return A.each(d,function(S){var b=S.interval;b&&(b[0]>y&&u([y,b[0]],"outOfRange"),u(b.slice()),y=b[1])},this),{stops:a,outerColors:t}}}),e={splitNumber:function(){var r=this.option,a=this._pieceList,t=Math.min(r.precision,20),s=this.getExtent(),u=r.splitNumber;u=Math.max(parseInt(u,10),1),r.splitNumber=u;for(var d=(s[1]-s[0])/u;+d.toFixed(t)!==d&&t<5;)t++;r.precision=t,d=+d.toFixed(t),r.minOpen&&a.push({interval:[-Infinity,s[0]],close:[0,0]});for(var v=0,y=s[0];v<u;y+=d,v++){var S=v===u-1?s[1]:y+d;a.push({interval:[y,S],close:[1,1]})}r.maxOpen&&a.push({interval:[s[1],Infinity],close:[0,0]}),h(a),A.each(a,function(b,E){b.index=E,b.text=this.formatValueText(b.interval)},this)},categories:function(){var r=this.option;A.each(r.categories,function(a){this._pieceList.push({text:this.formatValueText(a,!0),value:a})},this),n(r,this._pieceList)},pieces:function(){var r=this.option,a=this._pieceList;A.each(r.pieces,function(t,s){A.isObject(t)||(t={value:t});var u={text:"",index:s};if(t.label!=null&&(u.text=t.label),t.hasOwnProperty("value")){var d=u.value=t.value;u.interval=[d,d],u.close=[1,1]}else{for(var v=u.interval=[],y=u.close=[0,0],S=[1,0,1],b=[-Infinity,Infinity],E=[],C=0;C<2;C++){for(var T=[["gte","gt","min"],["lte","lt","max"]][C],x=0;x<3&&v[C]==null;x++)v[C]=t[T[x]],y[C]=S[x],E[C]=x===2;v[C]==null&&(v[C]=b[C])}E[0]&&v[1]===Infinity&&(y[0]=0),E[1]&&v[0]===-Infinity&&(y[1]=0),v[0]===v[1]&&y[0]&&y[1]&&(u.value=v[0])}u.visual=g.retrieveVisuals(t),a.push(u)},this),n(r,a),h(a),A.each(a,function(t){var s=t.close,u=[["<","\u2264"][s[1]],[">","\u2265"][s[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,u)},this)}};function n(r,a){var t=r.inverse;(r.orient==="vertical"?!t:t)&&a.reverse()}var i=l;M.exports=i},C0SR:function(M,B,o){var w=o("YH21"),f=function(){this._track=[]};f.prototype={constructor:f,recognize:function(h,l,e){return this._doTrack(h,l,e),this._recognize(h)},clear:function(){return this._track.length=0,this},_doTrack:function(h,l,e){var n=h.touches;if(!n)return;for(var i={points:[],touches:[],target:l,event:h},r=0,a=n.length;r<a;r++){var t=n[r],s=w.clientToLocal(e,t,{});i.points.push([s.zrX,s.zrY]),i.touches.push(t)}this._track.push(i)},_recognize:function(h){for(var l in g)if(g.hasOwnProperty(l)){var e=g[l](this._track,h);if(e)return e}}};function A(c){var h=c[1][0]-c[0][0],l=c[1][1]-c[0][1];return Math.sqrt(h*h+l*l)}function m(c){return[(c[0][0]+c[1][0])/2,(c[0][1]+c[1][1])/2]}var g={pinch:function(h,l){var e=h.length;if(!e)return;var n=(h[e-1]||{}).points,i=(h[e-2]||{}).points||n;if(i&&i.length>1&&n&&n.length>1){var r=A(n)/A(i);!isFinite(r)&&(r=1),l.pinchScale=r;var a=m(n);return l.pinchX=a[0],l.pinchY=a[1],{type:"pinch",target:h[0].target,event:l}}}},p=f;M.exports=p},C0tN:function(M,B,o){o("0o9m"),o("8Uz6"),o("Ducp"),o("6/nd")},CBdT:function(M,B,o){var w=o("ProS");o("8waO"),o("AEZ6"),o("YNf1");var f=o("q3GZ");w.registerVisual(f)},CF2D:function(M,B,o){var w=o("ProS");o("vZI5"),o("GeKi");var f=o("6r85"),A=o("TJmX"),m=o("CbHG");w.registerPreprocessor(f),w.registerVisual(A),w.registerLayout(m)},"CMP+":function(M,B,o){var w=o("bYtY"),f=o("hM6l"),A=function(g,p,c,h){f.call(this,g,p,c),this.type=h||"value",this.model=null};A.prototype={constructor:A,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},w.inherits(A,f);var m=A;M.exports=m},Ca5l:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("cxXD"),m=o.n(A),g=o("D3Kp")},CbHG:function(M,B,o){var w=o("IwbS"),f=w.subPixelOptimize,A=o("zM3Q"),m=o("OELB"),g=m.parsePercent,p=o("bYtY"),c=p.retrieve2,h=typeof Float32Array!="undefined"?Float32Array:Array,l={seriesType:"candlestick",plan:A(),reset:function(i){var r=i.coordinateSystem,a=i.getData(),t=n(i,a),s=0,u=1,d=["x","y"],v=a.mapDimension(d[s]),y=a.mapDimension(d[u],!0),S=y[0],b=y[1],E=y[2],C=y[3];if(a.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),v==null||y.length<4)return;return{progress:i.pipelineContext.large?x:T};function T(_,I){for(var L;(L=_.next())!=null;){var R=I.get(v,L),k=I.get(S,L),F=I.get(b,L),P=I.get(E,L),W=I.get(C,L),D=Math.min(k,F),U=Math.max(k,F),H=Y(D,R),j=Y(U,R),K=Y(P,R),X=Y(W,R),z=[];$(z,j,0),$(z,H,1),z.push(J(X),J(j),J(K),J(H)),I.setItemLayout(L,{sign:e(I,L,k,F,b),initBaseline:k>F?j[u]:H[u],ends:z,brushRect:ne(P,W,R)})}function Y(ge,de){var Ie=[];return Ie[s]=de,Ie[u]=ge,isNaN(de)||isNaN(ge)?[NaN,NaN]:r.dataToPoint(Ie)}function $(ge,de,Ie){var be=de.slice(),Ce=de.slice();be[s]=f(be[s]+t/2,1,!1),Ce[s]=f(Ce[s]-t/2,1,!0),Ie?ge.push(be,Ce):ge.push(Ce,be)}function ne(ge,de,Ie){var be=Y(ge,Ie),Ce=Y(de,Ie);return be[s]-=t/2,Ce[s]-=t/2,{x:be[0],y:be[1],width:u?t:Ce[0]-be[0],height:u?Ce[1]-be[1]:t}}function J(ge){return ge[s]=f(ge[s],1),ge}}function x(_,I){for(var L=new h(_.count*4),R=0,k,F=[],P=[],W;(W=_.next())!=null;){var D=I.get(v,W),U=I.get(S,W),H=I.get(b,W),j=I.get(E,W),K=I.get(C,W);if(isNaN(D)||isNaN(j)||isNaN(K)){L[R++]=NaN,R+=3;continue}L[R++]=e(I,W,U,H,b),F[s]=D,F[u]=j,k=r.dataToPoint(F,null,P),L[R++]=k?k[0]:NaN,L[R++]=k?k[1]:NaN,F[u]=K,k=r.dataToPoint(F,null,P),L[R++]=k?k[1]:NaN}I.setLayout("largePoints",L)}}};function e(i,r,a,t,s){var u;return a>t?u=-1:a<t?u=1:u=r>0?i.get(s,r-1)<=t?1:-1:1,u}function n(i,r){var a=i.getBaseAxis(),t,s=a.type==="category"?a.getBandWidth():(t=a.getExtent(),Math.abs(t[1]-t[0])/r.count()),u=g(c(i.get("barMaxWidth"),s),s),d=g(c(i.get("barMinWidth"),1),s),v=i.get("barWidth");return v!=null?g(v,s):Math.max(Math.min(s/2,u),d)}M.exports=l},CiB2:function(M,B,o){"use strict";o.d(B,"a",function(){return w});function w(f){if(f==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(M,B,o){o("5NHt"),o("f3JH")},CrYA:function(M,B,o){var w=o("MFOe"),f=w.Global;M.exports={name:"sessionStorage",read:m,write:g,each:p,remove:c,clearAll:h};function A(){return f.sessionStorage}function m(l){return A().getItem(l)}function g(l,e){return A().setItem(l,e)}function p(l){for(var e=A().length-1;e>=0;e--){var n=A().key(e);l(m(n),n)}}function c(l){return A().removeItem(l)}function h(){return A().clear()}},"D+Ab":function(M,B,o){},D1WM:function(M,B,o){var w=o("bYtY"),f=o("hM6l"),A=function(g,p,c,h,l){f.call(this,g,p,c),this.type=h||"value",this.axisIndex=l};A.prototype={constructor:A,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},w.inherits(A,f);var m=A;M.exports=m},D3Kp:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("D+Ab"),m=o.n(A),g=o("HaWY")},D5nY:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("4NO4"),m=A.makeInner,g=A.getDataItemValue,p=o("bYtY"),c=p.createHashMap,h=p.each,l=p.map,e=p.isArray,n=p.isString,i=p.isObject,r=p.isTypedArray,a=p.isArrayLike,t=p.extend,s=p.assert,u=o("7G+c"),d=o("k9D9"),v=d.SOURCE_FORMAT_ORIGINAL,y=d.SOURCE_FORMAT_ARRAY_ROWS,S=d.SOURCE_FORMAT_OBJECT_ROWS,b=d.SOURCE_FORMAT_KEYED_COLUMNS,E=d.SOURCE_FORMAT_UNKNOWN,C=d.SOURCE_FORMAT_TYPED_ARRAY,T=d.SERIES_LAYOUT_BY_ROW,x={Must:1,Might:2,Not:3},_=m();function I(z){var Y=z.option.source,$=E;if(r(Y))$=C;else if(e(Y)){Y.length===0&&($=y);for(var ne=0,J=Y.length;ne<J;ne++){var ge=Y[ne];if(ge==null)continue;if(e(ge)){$=y;break}else if(i(ge)){$=S;break}}}else if(i(Y)){for(var de in Y)if(Y.hasOwnProperty(de)&&a(Y[de])){$=b;break}}else if(Y!=null)throw new Error("Invalid data");_(z).sourceFormat=$}function L(z){return _(z).source}function R(z){_(z).datasetMap=c()}function k(z){var Y=z.option,$=Y.data,ne=r($)?C:v,J=!1,ge=Y.seriesLayoutBy,de=Y.sourceHeader,Ie=Y.dimensions,be=j(z);if(be){var Ce=be.option;$=Ce.source,ne=_(be).sourceFormat,J=!0,ge=ge||Ce.seriesLayoutBy,de==null&&(de=Ce.sourceHeader),Ie=Ie||Ce.dimensions}var je=F($,ne,ge,de,Ie);_(z).source=new u({data:$,fromDataset:J,seriesLayoutBy:ge,sourceFormat:ne,dimensionsDefine:je.dimensionsDefine,startIndex:je.startIndex,dimensionsDetectCount:je.dimensionsDetectCount,encodeDefine:Y.encode})}function F(z,Y,$,ne,J){if(!z)return{dimensionsDefine:P(J)};var ge,de;if(Y===y)ne==="auto"||ne==null?W(function(be){be!=null&&be!=="-"&&(n(be)?de==null&&(de=1):de=0)},$,z,10):de=ne?1:0,!J&&de===1&&(J=[],W(function(be,Ce){J[Ce]=be!=null?be:""},$,z)),ge=J?J.length:$===T?z.length:z[0]?z[0].length:null;else if(Y===S)J||(J=D(z));else if(Y===b)J||(J=[],h(z,function(be,Ce){J.push(Ce)}));else if(Y===v){var Ie=g(z[0]);ge=e(Ie)&&Ie.length||1}else Y===C;return{startIndex:de,dimensionsDefine:P(J),dimensionsDetectCount:ge}}function P(z){if(!z)return;var Y=c();return l(z,function($,ne){if($=t({},i($)?$:{name:$}),$.name==null)return $;$.name+="",$.displayName==null&&($.displayName=$.name);var J=Y.get($.name);return J?$.name+="-"+J.count++:Y.set($.name,{count:1}),$})}function W(z,Y,$,ne){if(ne==null&&(ne=Infinity),Y===T)for(var J=0;J<$.length&&J<ne;J++)z($[J]?$[J][0]:null,J);else for(var ge=$[0]||[],J=0;J<ge.length&&J<ne;J++)z(ge[J],J)}function D(z){for(var Y=0,$;Y<z.length&&!($=z[Y++]););if($){var ne=[];return h($,function(J,ge){ne.push(ge)}),ne}}function U(z,Y,$){var ne={},J=j(Y);if(!J||!z)return ne;var ge=[],de=[],Ie=Y.ecModel,be=_(Ie).datasetMap,Ce=J.uid+"_"+$.seriesLayoutBy,je,te;z=z.slice(),h(z,function(he,ee){!i(he)&&(z[ee]={name:he}),he.type==="ordinal"&&je==null&&(je=ee,te=Le(z[ee])),ne[he.name]=[]});var ve=be.get(Ce)||be.set(Ce,{categoryWayDim:te,valueWayDim:0});h(z,function(he,ee){var se=he.name,Ue=Le(he);if(je==null){var ue=ve.valueWayDim;$e(ne[se],ue,Ue),$e(de,ue,Ue),ve.valueWayDim+=Ue}else if(je===ee)$e(ne[se],0,Ue),$e(ge,0,Ue);else{var ue=ve.categoryWayDim;$e(ne[se],ue,Ue),$e(de,ue,Ue),ve.categoryWayDim+=Ue}});function $e(he,ee,se){for(var Ue=0;Ue<se;Ue++)he.push(ee+Ue)}function Le(he){var ee=he.dimsDef;return ee?ee.length:1}return ge.length&&(ne.itemName=ge),de.length&&(ne.seriesName=de),ne}function H(z,Y,$){var ne={},J=j(z);if(!J)return ne;var ge=Y.sourceFormat,de=Y.dimensionsDefine,Ie;(ge===S||ge===b)&&h(de,function(je,te){(i(je)?je.name:je)==="name"&&(Ie=te)});var be=function(){for(var je={},te={},ve=[],$e=0,Le=Math.min(5,$);$e<Le;$e++){var he=X(Y.data,ge,Y.seriesLayoutBy,de,Y.startIndex,$e);ve.push(he);var ee=he===x.Not;if(ee&&je.v==null&&$e!==Ie&&(je.v=$e),(je.n==null||je.n===je.v||!ee&&ve[je.n]===x.Not)&&(je.n=$e),se(je)&&ve[je.n]!==x.Not)return je;ee||(he===x.Might&&te.v==null&&$e!==Ie&&(te.v=$e),(te.n==null||te.n===te.v)&&(te.n=$e))}function se(Ue){return Ue.v!=null&&Ue.n!=null}return se(je)?je:se(te)?te:null}();if(be){ne.value=be.v;var Ce=Ie!=null?Ie:be.n;ne.itemName=[Ce],ne.seriesName=[Ce]}return ne}function j(z){var Y=z.option,$=Y.data;if(!$)return z.ecModel.getComponent("dataset",Y.datasetIndex||0)}function K(z,Y){return X(z.data,z.sourceFormat,z.seriesLayoutBy,z.dimensionsDefine,z.startIndex,Y)}function X(z,Y,$,ne,J,ge){var de,Ie=5;if(r(z))return x.Not;var be,Ce;if(ne){var je=ne[ge];i(je)?(be=je.name,Ce=je.type):n(je)&&(be=je)}if(Ce!=null)return Ce==="ordinal"?x.Must:x.Not;if(Y===y)if($===T){for(var te=z[ge],ve=0;ve<(te||[]).length&&ve<Ie;ve++)if((de=ee(te[J+ve]))!=null)return de}else for(var ve=0;ve<z.length&&ve<Ie;ve++){var $e=z[J+ve];if($e&&(de=ee($e[ge]))!=null)return de}else if(Y===S){if(!be)return x.Not;for(var ve=0;ve<z.length&&ve<Ie;ve++){var Le=z[ve];if(Le&&(de=ee(Le[be]))!=null)return de}}else if(Y===b){if(!be)return x.Not;var te=z[be];if(!te||r(te))return x.Not;for(var ve=0;ve<te.length&&ve<Ie;ve++)if((de=ee(te[ve]))!=null)return de}else if(Y===v)for(var ve=0;ve<z.length&&ve<Ie;ve++){var Le=z[ve],he=g(Le);if(!e(he))return x.Not;if((de=ee(he[ge]))!=null)return de}function ee(se){var Ue=n(se);if(se!=null&&isFinite(se)&&se!=="")return Ue?x.Might:x.Not;if(Ue&&se!=="-")return x.Must}return x.Not}B.BE_ORDINAL=x,B.detectSourceFormat=I,B.getSource=L,B.resetSourceDefaulter=R,B.prepareSource=k,B.makeSeriesEncodeForAxisCoordSys=U,B.makeSeriesEncodeForNameBased=H,B.guessOrdinal=K},D6x8:function(M,B,o){},D9ME:function(M,B,o){var w=o("IwbS"),f=o("fls0"),A=o("bYtY"),m=o("oVpE"),g=m.createSymbol,p=o("QBsz"),c=o("Sj9i");function h(n,i,r){w.Group.call(this),this.add(this.createLine(n,i,r)),this._updateEffectSymbol(n,i)}var l=h.prototype;l.createLine=function(n,i,r){return new f(n,i,r)},l._updateEffectSymbol=function(n,i){var r=n.getItemModel(i),a=r.getModel("effect"),t=a.get("symbolSize"),s=a.get("symbol");A.isArray(t)||(t=[t,t]);var u=a.get("color")||n.getItemVisual(i,"color"),d=this.childAt(1);if(this._symbolType!==s&&(this.remove(d),d=g(s,-.5,-.5,1,1,u),d.z2=100,d.culling=!0,this.add(d)),!d)return;d.setStyle("shadowColor",u),d.setStyle(a.getItemStyle(["color"])),d.attr("scale",t),d.setColor(u),d.attr("scale",t),this._symbolType=s,this._symbolScale=t,this._updateEffectAnimation(n,a,i)},l._updateEffectAnimation=function(n,i,r){var a=this.childAt(1);if(!a)return;var t=this,s=n.getItemLayout(r),u=i.get("period")*1e3,d=i.get("loop"),v=i.get("constantSpeed"),y=A.retrieve(i.get("delay"),function(C){return C/n.count()*u/3}),S=typeof y=="function";if(a.ignore=!0,this.updateAnimationPoints(a,s),v>0&&(u=this.getLineLength(a)/v*1e3),u!==this._period||d!==this._loop){a.stopAnimation();var b=y;S&&(b=y(r)),a.__t>0&&(b=-u*a.__t),a.__t=0;var E=a.animate("",d).when(u,{__t:1}).delay(b).during(function(){t.updateSymbolPosition(a)});d||E.done(function(){t.remove(a)}),E.start()}this._period=u,this._loop=d},l.getLineLength=function(n){return p.dist(n.__p1,n.__cp1)+p.dist(n.__cp1,n.__p2)},l.updateAnimationPoints=function(n,i){n.__p1=i[0],n.__p2=i[1],n.__cp1=i[2]||[(i[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2]},l.updateData=function(n,i,r){this.childAt(0).updateData(n,i,r),this._updateEffectSymbol(n,i)},l.updateSymbolPosition=function(n){var i=n.__p1,r=n.__p2,a=n.__cp1,t=n.__t,s=n.position,u=[s[0],s[1]],d=c.quadraticAt,v=c.quadraticDerivativeAt;s[0]=d(i[0],a[0],r[0],t),s[1]=d(i[1],a[1],r[1],t);var y=v(i[0],a[0],r[0],t),S=v(i[1],a[1],r[1],t);if(n.rotation=-Math.atan2(S,y)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(n.__lastT!==void 0&&n.__lastT<n.__t){var b=p.dist(u,s)*1.05;n.attr("scale",[n.scale[0],b]),t===1&&(s[0]=u[0]+(s[0]-u[0])/2,s[1]=u[1]+(s[1]-u[1])/2)}else if(n.__lastT===1){var b=2*p.dist(i,s);n.attr("scale",[n.scale[0],b])}else n.attr("scale",this._symbolScale);n.__lastT=n.__t,n.ignore=!1},l.updateLayout=function(n,i){this.childAt(0).updateLayout(n,i);var r=n.getItemModel(i).getModel("effect");this._updateEffectAnimation(n,r,i)},A.inherits(h,w.Group);var e=h;M.exports=e},DBLp:function(M,B){function o(){}o.prototype={diff:function(p,c,h){h||(h=function(S,b){return S===b}),this.equals=h;var l=this;p=p.slice(),c=c.slice();var e=c.length,n=p.length,i=1,r=e+n,a=[{newPos:-1,components:[]}],t=this.extractCommon(a[0],c,p,0);if(a[0].newPos+1>=e&&t+1>=n){for(var s=[],u=0;u<c.length;u++)s.push(u);return[{indices:s,count:c.length}]}function d(){for(var y=-1*i;y<=i;y+=2){var S,b=a[y-1],E=a[y+1],C=(E?E.newPos:0)-y;b&&(a[y-1]=void 0);var T=b&&b.newPos+1<e,x=E&&0<=C&&C<n;if(!T&&!x){a[y]=void 0;continue}if(!T||x&&b.newPos<E.newPos?(S=f(E),l.pushComponent(S.components,void 0,!0)):(S=b,S.newPos++,l.pushComponent(S.components,!0,void 0)),C=l.extractCommon(S,c,p,y),S.newPos+1>=e&&C+1>=n)return w(l,S.components,c,p);a[y]=S}i++}for(;i<=r;){var v=d();if(v)return v}},pushComponent:function(p,c,h){var l=p[p.length-1];l&&l.added===c&&l.removed===h?p[p.length-1]={count:l.count+1,added:c,removed:h}:p.push({count:1,added:c,removed:h})},extractCommon:function(p,c,h,l){for(var e=c.length,n=h.length,i=p.newPos,r=i-l,a=0;i+1<e&&r+1<n&&this.equals(c[i+1],h[r+1]);)i++,r++,a++;return a&&p.components.push({count:a}),p.newPos=i,r},tokenize:function(p){return p.slice()},join:function(p){return p.slice()}};function w(g,p,c,h){for(var l=0,e=p.length,n=0,i=0;l<e;l++){var r=p[l];if(r.removed){for(var a=[],t=i;t<i+r.count;t++)a.push(t);r.indices=a,i+=r.count}else{for(var a=[],t=n;t<n+r.count;t++)a.push(t);r.indices=a,n+=r.count,r.added||(i+=r.count)}}return p}function f(g){return{newPos:g.newPos,components:g.components.slice(0)}}var A=new o;function m(g,p,c){return A.diff(g,p,c)}M.exports=m},DCkM:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("D6x8"),m=o.n(A)},DEFe:function(M,B,o){var w=o("bYtY"),f=o("SgGq"),A=o("Ae+d"),m=o("xSat"),g=m.onIrrelevantElement,p=o("IwbS"),c=o("W4dC"),h=o("iRjW"),l=h.getUID,e=o("DN4a");function n(s){var u=s.getItemStyle(),d=s.get("areaColor");return d!=null&&(u.fill=d),u}function i(s,u,d,v,y){d.off("click"),d.off("mousedown"),u.get("selectedMode")&&(d.on("mousedown",function(){s._mouseDownFlag=!0}),d.on("click",function(S){if(!s._mouseDownFlag)return;s._mouseDownFlag=!1;for(var b=S.target;!b.__regions;)b=b.parent;if(!b)return;var E={type:(u.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:w.map(b.__regions,function(C){return{name:C.name,from:y.uid}})};E[u.mainType+"Id"]=u.id,v.dispatchAction(E),r(u,d)}))}function r(s,u){u.eachChild(function(d){w.each(d.__regions,function(v){d.trigger(s.isSelected(v.name)?"emphasis":"normal")})})}function a(s,u){var d=new p.Group;this.uid=l("ec_map_draw"),this._controller=new f(s.getZr()),this._controllerHost={target:u?d:null},this.group=d,this._updateGroup=u,this._mouseDownFlag,this._mapName,this._initialized,d.add(this._regionsGroup=new p.Group),d.add(this._backgroundGroup=new p.Group)}a.prototype={constructor:a,draw:function(s,u,d,v,y){var S=s.mainType==="geo",b=s.getData&&s.getData();S&&u.eachComponent({mainType:"series",subType:"map"},function(j){!b&&j.getHostGeoModel()===s&&(b=j.getData())});var E=s.coordinateSystem;this._updateBackground(E);var C=this._regionsGroup,T=this.group,x=E.getTransformInfo(),_=!C.childAt(0)||y,I;if(_)T.transform=x.roamTransform,T.decomposeTransform(),T.dirty();else{var L=new e;L.transform=x.roamTransform,L.decomposeTransform();var R={scale:L.scale,position:L.position};I=L.scale,p.updateProps(T,R,s)}var k=x.rawScale,F=x.rawPosition;C.removeAll();var P=["itemStyle"],W=["emphasis","itemStyle"],D=["label"],U=["emphasis","label"],H=w.createHashMap();w.each(E.regions,function(j){var K=H.get(j.name)||H.set(j.name,new p.Group),X=new p.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});K.add(X);var z=s.getRegionModel(j.name)||s,Y=z.getModel(P),$=z.getModel(W),ne=n(Y),J=n($),ge=z.getModel(D),de=z.getModel(U),Ie;if(b){Ie=b.indexOfName(j.name);var be=b.getItemVisual(Ie,"color",!0);be&&(ne.fill=be)}var Ce=function(ue){return[ue[0]*k[0]+F[0],ue[1]*k[1]+F[1]]};w.each(j.geometries,function(ue){if(ue.type!=="polygon")return;for(var Ne=[],Fe=0;Fe<ue.exterior.length;++Fe)Ne.push(Ce(ue.exterior[Fe]));X.shape.paths.push(new p.Polygon({segmentIgnoreThreshold:1,shape:{points:Ne}}));for(var Fe=0;Fe<(ue.interiors?ue.interiors.length:0);++Fe){for(var ae=ue.interiors[Fe],Ne=[],ce=0;ce<ae.length;++ce)Ne.push(Ce(ae[ce]));X.shape.paths.push(new p.Polygon({segmentIgnoreThreshold:1,shape:{points:Ne}}))}}),X.setStyle(ne),X.style.strokeNoScale=!0,X.culling=!0;var je=ge.get("show"),te=de.get("show"),ve=b&&isNaN(b.get(b.mapDimension("value"),Ie)),$e=b&&b.getItemLayout(Ie);if(S||ve&&(je||te)||$e&&$e.showLabel){var Le=S?j.name:Ie,he;(!b||Ie>=0)&&(he=s);var ee=new p.Text({position:Ce(j.center.slice()),scale:[1/T.scale[0],1/T.scale[1]],z2:10,silent:!0});if(p.setLabelStyle(ee.style,ee.hoverStyle={},ge,de,{labelFetcher:he,labelDataIndex:Le,defaultText:j.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!_){var se=[1/I[0],1/I[1]];p.updateProps(ee,{scale:se},s)}K.add(ee)}if(b)b.setItemGraphicEl(Ie,K);else{var z=s.getRegionModel(j.name);X.eventData={componentType:"geo",componentIndex:s.componentIndex,geoIndex:s.componentIndex,name:j.name,region:z&&z.option||{}}}var Ue=K.__regions||(K.__regions=[]);Ue.push(j),K.highDownSilentOnTouch=!!s.get("selectedMode"),p.setHoverStyle(K,J),C.add(K)}),this._updateController(s,u,d),i(this,s,C,d,v),r(s,C)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&c.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(s){var u=s.map;this._mapName!==u&&w.each(c.makeGraphic(u,this.uid),function(d){this._backgroundGroup.add(d)},this),this._mapName=u},_updateController:function(s,u,d){var v=s.coordinateSystem,y=this._controller,S=this._controllerHost;S.zoomLimit=s.get("scaleLimit"),S.zoom=v.getZoom(),y.enable(s.get("roam")||!1);var b=s.mainType;function E(){var C={type:"geoRoam",componentType:b};return C[b+"Id"]=s.id,C}y.off("pan").on("pan",function(C){this._mouseDownFlag=!1,A.updateViewOnPan(S,C.dx,C.dy),d.dispatchAction(w.extend(E(),{dx:C.dx,dy:C.dy}))},this),y.off("zoom").on("zoom",function(C){if(this._mouseDownFlag=!1,A.updateViewOnZoom(S,C.scale,C.originX,C.originY),d.dispatchAction(w.extend(E(),{zoom:C.scale,originX:C.originX,originY:C.originY})),this._updateGroup){var T=this.group.scale;this._regionsGroup.traverse(function(x){x.type==="text"&&x.attr("scale",[1/T[0],1/T[1]])})}},this),y.setPointerChecker(function(C,T,x){return v.getViewRectAfterRoam().contain(T,x)&&!g(C,d,s)})}};var t=a;M.exports=t},DN4a:function(M,B,o){var w=o("Fofx"),f=o("QBsz"),A=w.identity,m=5e-5;function g(i){return i>m||i<-m}var p=function(r){r=r||{},r.position||(this.position=[0,0]),r.rotation==null&&(this.rotation=0),r.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=p.prototype;c.transform=null,c.needLocalTransform=function(){return g(this.rotation)||g(this.position[0])||g(this.position[1])||g(this.scale[0]-1)||g(this.scale[1]-1)};var h=[];c.updateTransform=function(){var i=this.parent,r=i&&i.transform,a=this.needLocalTransform(),t=this.transform;if(!(a||r)){t&&A(t);return}t=t||w.create(),a?this.getLocalTransform(t):A(t),r&&(a?w.mul(t,i.transform,t):w.copy(t,i.transform)),this.transform=t;var s=this.globalScaleRatio;if(s!=null&&s!==1){this.getGlobalScale(h);var u=h[0]<0?-1:1,d=h[1]<0?-1:1,v=((h[0]-u)*s+u)/h[0]||0,y=((h[1]-d)*s+d)/h[1]||0;t[0]*=v,t[1]*=v,t[2]*=y,t[3]*=y}this.invTransform=this.invTransform||w.create(),w.invert(this.invTransform,t)},c.getLocalTransform=function(i){return p.getLocalTransform(this,i)},c.setTransform=function(i){var r=this.transform,a=i.dpr||1;r?i.setTransform(a*r[0],a*r[1],a*r[2],a*r[3],a*r[4],a*r[5]):i.setTransform(a,0,0,a,0,0)},c.restoreTransform=function(i){var r=i.dpr||1;i.setTransform(r,0,0,r,0,0)};var l=[],e=w.create();c.setLocalTransform=function(i){if(!i)return;var r=i[0]*i[0]+i[1]*i[1],a=i[2]*i[2]+i[3]*i[3],t=this.position,s=this.scale;g(r-1)&&(r=Math.sqrt(r)),g(a-1)&&(a=Math.sqrt(a)),i[0]<0&&(r=-r),i[3]<0&&(a=-a),t[0]=i[4],t[1]=i[5],s[0]=r,s[1]=a,this.rotation=Math.atan2(-i[1]/a,i[0]/r)},c.decomposeTransform=function(){if(!this.transform)return;var i=this.parent,r=this.transform;i&&i.transform&&(w.mul(l,i.invTransform,r),r=l);var a=this.origin;a&&(a[0]||a[1])&&(e[4]=a[0],e[5]=a[1],w.mul(l,r,e),l[4]-=a[0],l[5]-=a[1],r=l),this.setLocalTransform(r)},c.getGlobalScale=function(i){var r=this.transform;return i=i||[],r?(i[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),i[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(i[0]=-i[0]),r[3]<0&&(i[1]=-i[1]),i):(i[0]=1,i[1]=1,i)},c.transformCoordToLocal=function(i,r){var a=[i,r],t=this.invTransform;return t&&f.applyTransform(a,a,t),a},c.transformCoordToGlobal=function(i,r){var a=[i,r],t=this.transform;return t&&f.applyTransform(a,a,t),a},p.getLocalTransform=function(i,r){r=r||[],A(r);var a=i.origin,t=i.scale||[1,1],s=i.rotation||0,u=i.position||[0,0];return a&&(r[4]-=a[0],r[5]-=a[1]),w.scale(r,r,t),s&&w.rotate(r,r,s),a&&(r[4]+=a[0],r[5]+=a[1]),r[4]+=u[0],r[5]+=u[1],r};var n=p;M.exports=n},Dagg:function(M,B,o){var w=o("Gev7"),f=o("mFDi"),A=o("bYtY"),m=o("Xnb7");function g(c){w.call(this,c)}g.prototype={constructor:g,type:"image",brush:function(h,l){var e=this.style,n=e.image;e.bind(h,this,l);var i=this._image=m.createOrUpdateImage(n,this._image,this,this.onload);if(!i||!m.isImageReady(i))return;var r=e.x||0,a=e.y||0,t=e.width,s=e.height,u=i.width/i.height;if(t==null&&s!=null?t=s*u:s==null&&t!=null?s=t/u:t==null&&s==null&&(t=i.width,s=i.height),this.setTransform(h),e.sWidth&&e.sHeight){var d=e.sx||0,v=e.sy||0;h.drawImage(i,d,v,e.sWidth,e.sHeight,r,a,t,s)}else if(e.sx&&e.sy){var d=e.sx,v=e.sy,y=t-d,S=s-v;h.drawImage(i,d,v,y,S,r,a,t,s)}else h.drawImage(i,r,a,t,s);e.text!=null&&(this.restoreTransform(h),this.drawRectText(h,this.getBoundingRect()))},getBoundingRect:function(){var h=this.style;return this._rect||(this._rect=new f(h.x||0,h.y||0,h.width||0,h.height||0)),this._rect}},A.inherits(g,w);var p=g;M.exports=p},Dg8C:function(M,B,o){var w=o("XxSj"),f=o("bYtY");function A(m,g){m.eachSeriesByType("sankey",function(p){var c=p.getGraph(),h=c.nodes;if(h.length){var l=Infinity,e=-Infinity;f.each(h,function(n){var i=n.getLayout().value;i<l&&(l=i),i>e&&(e=i)}),f.each(h,function(n){var i=new w({type:"color",mappingMethod:"linear",dataExtent:[l,e],visual:p.get("color")}),r=i.mapValueToVisual(n.getLayout().value),a=n.getModel().get("itemStyle.color");a!=null?n.setVisual("color",a):n.setVisual("color",r)})}})}M.exports=A},Dk0F:function(M,B,o){},DlQD:function(M,B,o){(function(w,f){M.exports=f()})(this,function(){"use strict";function w(Ot,Ct){for(var Dt=0;Dt<Ct.length;Dt++){var Xe=Ct[Dt];Xe.enumerable=Xe.enumerable||!1,Xe.configurable=!0,"value"in Xe&&(Xe.writable=!0),Object.defineProperty(Ot,Xe.key,Xe)}}function f(Ot,Ct,Dt){return Ct&&w(Ot.prototype,Ct),Dt&&w(Ot,Dt),Ot}function A(Ot,Ct){if(!Ot)return;if(typeof Ot=="string")return m(Ot,Ct);var Dt=Object.prototype.toString.call(Ot).slice(8,-1);if(Dt==="Object"&&Ot.constructor&&(Dt=Ot.constructor.name),Dt==="Map"||Dt==="Set")return Array.from(Ot);if(Dt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Dt))return m(Ot,Ct)}function m(Ot,Ct){(Ct==null||Ct>Ot.length)&&(Ct=Ot.length);for(var Dt=0,Xe=new Array(Ct);Dt<Ct;Dt++)Xe[Dt]=Ot[Dt];return Xe}function g(Ot,Ct){var Dt;if(typeof Symbol=="undefined"||Ot[Symbol.iterator]==null){if(Array.isArray(Ot)||(Dt=A(Ot))||Ct&&Ot&&typeof Ot.length=="number"){Dt&&(Ot=Dt);var Xe=0;return function(){return Xe>=Ot.length?{done:!0}:{done:!1,value:Ot[Xe++]}}}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 Dt=Ot[Symbol.iterator](),Dt.next.bind(Dt)}function p(Ot,Ct){return Ct={exports:{}},Ot(Ct,Ct.exports),Ct.exports}var c=p(function(Ot){function Ct(){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 Dt(Xe){Ot.exports.defaults=Xe}Ot.exports={defaults:Ct(),getDefaults:Ct,changeDefaults:Dt}}),h=c.defaults,l=c.getDefaults,e=c.changeDefaults,n=/[&<>"']/,i=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,a=/[<>"']|&(?!#?\w+;)/g,t={"&":"&","<":"<",">":">",'"':""","'":"'"},s=function(Ct){return t[Ct]};function u(Ot,Ct){if(Ct){if(n.test(Ot))return Ot.replace(i,s)}else if(r.test(Ot))return Ot.replace(a,s);return Ot}var d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function v(Ot){return Ot.replace(d,function(Ct,Dt){return Dt=Dt.toLowerCase(),Dt==="colon"?":":Dt.charAt(0)==="#"?Dt.charAt(1)==="x"?String.fromCharCode(parseInt(Dt.substring(2),16)):String.fromCharCode(+Dt.substring(1)):""})}var y=/(^|[^\[])\^/g;function S(Ot,Ct){Ot=Ot.source||Ot,Ct=Ct||"";var Dt={replace:function(q,V){return V=V.source||V,V=V.replace(y,"$1"),Ot=Ot.replace(q,V),Dt},getRegex:function(){return new RegExp(Ot,Ct)}};return Dt}var b=/[^\w:]/g,E=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function C(Ot,Ct,Dt){if(Ot){var Xe;try{Xe=decodeURIComponent(v(Dt)).replace(b,"").toLowerCase()}catch(q){return null}if(Xe.indexOf("javascript:")===0||Xe.indexOf("vbscript:")===0||Xe.indexOf("data:")===0)return null}Ct&&!E.test(Dt)&&(Dt=L(Ct,Dt));try{Dt=encodeURI(Dt).replace(/%25/g,"%")}catch(q){return null}return Dt}var T={},x=/^[^:]+:\/*[^/]*$/,_=/^([^:]+:)[\s\S]*$/,I=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(Ot,Ct){T[" "+Ot]||(x.test(Ot)?T[" "+Ot]=Ot+"/":T[" "+Ot]=P(Ot,"/",!0)),Ot=T[" "+Ot];var Dt=Ot.indexOf(":")===-1;return Ct.substring(0,2)==="//"?Dt?Ct:Ot.replace(_,"$1")+Ct:Ct.charAt(0)==="/"?Dt?Ct:Ot.replace(I,"$1")+Ct:Ot+Ct}var R={exec:function(){}};function k(Ot){for(var Ct=1,Dt,Xe;Ct<arguments.length;Ct++){Dt=arguments[Ct];for(Xe in Dt)Object.prototype.hasOwnProperty.call(Dt,Xe)&&(Ot[Xe]=Dt[Xe])}return Ot}function F(Ot,Ct){var Dt=Ot.replace(/\|/g,function(V,Ae,xe){for(var re=!1,ot=Ae;--ot>=0&&xe[ot]==="\\";)re=!re;return re?"|":" |"}),Xe=Dt.split(/ \|/),q=0;if(Xe.length>Ct)Xe.splice(Ct);else for(;Xe.length<Ct;)Xe.push("");for(;q<Xe.length;q++)Xe[q]=Xe[q].trim().replace(/\\\|/g,"|");return Xe}function P(Ot,Ct,Dt){var Xe=Ot.length;if(Xe===0)return"";for(var q=0;q<Xe;){var V=Ot.charAt(Xe-q-1);if(V===Ct&&!Dt)q++;else if(V!==Ct&&Dt)q++;else break}return Ot.substr(0,Xe-q)}function W(Ot,Ct){if(Ot.indexOf(Ct[1])===-1)return-1;for(var Dt=Ot.length,Xe=0,q=0;q<Dt;q++)if(Ot[q]==="\\")q++;else if(Ot[q]===Ct[0])Xe++;else if(Ot[q]===Ct[1]&&(Xe--,Xe<0))return q;return-1}function D(Ot){Ot&&Ot.sanitize&&!Ot.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var U={escape:u,unescape:v,edit:S,cleanUrl:C,resolveUrl:L,noopTest:R,merge:k,splitCells:F,rtrim:P,findClosingBracket:W,checkSanitizeDeprecation:D},H=c.defaults,j=U.rtrim,K=U.splitCells,X=U.escape,z=U.findClosingBracket;function Y(Ot,Ct,Dt){var Xe=Ct.href,q=Ct.title?X(Ct.title):null,V=Ot[1].replace(/\\([\[\]])/g,"$1");return Ot[0].charAt(0)!=="!"?{type:"link",raw:Dt,href:Xe,title:q,text:V}:{type:"image",raw:Dt,href:Xe,title:q,text:X(V)}}function $(Ot,Ct){var Dt=Ot.match(/^(\s+)(?:```)/);if(Dt===null)return Ct;var Xe=Dt[1];return Ct.split(`
|
|
|
`).map(function(q){var V=q.match(/^\s+/);if(V===null)return q;var Ae=V[0];return Ae.length>=Xe.length?q.slice(Xe.length):q}).join(`
|
|
|
`)}var ne=function(){function Ot(Dt){this.options=Dt||H}var Ct=Ot.prototype;return Ct.space=function(Xe){var q=this.rules.block.newline.exec(Xe);if(q)return q[0].length>1?{type:"space",raw:q[0]}:{raw:`
|
|
|
`}},Ct.code=function(Xe,q){var V=this.rules.block.code.exec(Xe);if(V){var Ae=q[q.length-1];if(Ae&&Ae.type==="paragraph")return{raw:V[0],text:V[0].trimRight()};var xe=V[0].replace(/^ {4}/gm,"");return{type:"code",raw:V[0],codeBlockStyle:"indented",text:this.options.pedantic?xe:j(xe,`
|
|
|
`)}}},Ct.fences=function(Xe){var q=this.rules.block.fences.exec(Xe);if(q){var V=q[0],Ae=$(V,q[3]||"");return{type:"code",raw:V,lang:q[2]?q[2].trim():q[2],text:Ae}}},Ct.heading=function(Xe){var q=this.rules.block.heading.exec(Xe);if(q)return{type:"heading",raw:q[0],depth:q[1].length,text:q[2]}},Ct.nptable=function(Xe){var q=this.rules.block.nptable.exec(Xe);if(q){var V={type:"table",header:K(q[1].replace(/^ *| *\| *$/g,"")),align:q[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:q[3]?q[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:q[0]};if(V.header.length===V.align.length){var Ae=V.align.length,xe;for(xe=0;xe<Ae;xe++)/^ *-+: *$/.test(V.align[xe])?V.align[xe]="right":/^ *:-+: *$/.test(V.align[xe])?V.align[xe]="center":/^ *:-+ *$/.test(V.align[xe])?V.align[xe]="left":V.align[xe]=null;for(Ae=V.cells.length,xe=0;xe<Ae;xe++)V.cells[xe]=K(V.cells[xe],V.header.length);return V}}},Ct.hr=function(Xe){var q=this.rules.block.hr.exec(Xe);if(q)return{type:"hr",raw:q[0]}},Ct.blockquote=function(Xe){var q=this.rules.block.blockquote.exec(Xe);if(q){var V=q[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:q[0],text:V}}},Ct.list=function(Xe){var q=this.rules.block.list.exec(Xe);if(q){for(var V=q[0],Ae=q[2],xe=Ae.length>1,re=Ae[Ae.length-1]===")",ot={type:"list",raw:V,ordered:xe,start:xe?+Ae.slice(0,-1):"",loose:!1,items:[]},bt=q[0].match(this.rules.block.item),tt=!1,Tt,Gt,lr,pr,Rr,xt,It,At=bt.length,Zt=0;Zt<At;Zt++)Tt=bt[Zt],V=Tt,Gt=Tt.length,Tt=Tt.replace(/^ *([*+-]|\d+[.)]) */,""),~Tt.indexOf(`
|
|
|
`)&&(Gt-=Tt.length,Tt=this.options.pedantic?Tt.replace(/^ {1,4}/gm,""):Tt.replace(new RegExp("^ {1,"+Gt+"}","gm"),"")),Zt!==At-1&&(lr=this.rules.block.bullet.exec(bt[Zt+1])[0],(xe?lr.length===1||!re&&lr[lr.length-1]===")":lr.length>1||this.options.smartLists&&lr!==Ae)&&(pr=bt.slice(Zt+1).join(`
|
|
|
`),ot.raw=ot.raw.substring(0,ot.raw.length-pr.length),Zt=At-1)),Rr=tt||/\n\n(?!\s*$)/.test(Tt),Zt!==At-1&&(tt=Tt.charAt(Tt.length-1)===`
|
|
|
`,Rr||(Rr=tt)),Rr&&(ot.loose=!0),xt=/^\[[ xX]\] /.test(Tt),It=void 0,xt&&(It=Tt[1]!==" ",Tt=Tt.replace(/^\[[ xX]\] +/,"")),ot.items.push({type:"list_item",raw:V,task:xt,checked:It,loose:Rr,text:Tt});return ot}},Ct.html=function(Xe){var q=this.rules.block.html.exec(Xe);if(q)return{type:this.options.sanitize?"paragraph":"html",raw:q[0],pre:!this.options.sanitizer&&(q[1]==="pre"||q[1]==="script"||q[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(q[0]):X(q[0]):q[0]}},Ct.def=function(Xe){var q=this.rules.block.def.exec(Xe);if(q){q[3]&&(q[3]=q[3].substring(1,q[3].length-1));var V=q[1].toLowerCase().replace(/\s+/g," ");return{tag:V,raw:q[0],href:q[2],title:q[3]}}},Ct.table=function(Xe){var q=this.rules.block.table.exec(Xe);if(q){var V={type:"table",header:K(q[1].replace(/^ *| *\| *$/g,"")),align:q[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:q[3]?q[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(V.header.length===V.align.length){V.raw=q[0];var Ae=V.align.length,xe;for(xe=0;xe<Ae;xe++)/^ *-+: *$/.test(V.align[xe])?V.align[xe]="right":/^ *:-+: *$/.test(V.align[xe])?V.align[xe]="center":/^ *:-+ *$/.test(V.align[xe])?V.align[xe]="left":V.align[xe]=null;for(Ae=V.cells.length,xe=0;xe<Ae;xe++)V.cells[xe]=K(V.cells[xe].replace(/^ *\| *| *\| *$/g,""),V.header.length);return V}}},Ct.lheading=function(Xe){var q=this.rules.block.lheading.exec(Xe);if(q)return{type:"heading",raw:q[0],depth:q[2].charAt(0)==="="?1:2,text:q[1]}},Ct.paragraph=function(Xe){var q=this.rules.block.paragraph.exec(Xe);if(q)return{type:"paragraph",raw:q[0],text:q[1].charAt(q[1].length-1)===`
|
|
|
`?q[1].slice(0,-1):q[1]}},Ct.text=function(Xe,q){var V=this.rules.block.text.exec(Xe);if(V){var Ae=q[q.length-1];return Ae&&Ae.type==="text"?{raw:V[0],text:V[0]}:{type:"text",raw:V[0],text:V[0]}}},Ct.escape=function(Xe){var q=this.rules.inline.escape.exec(Xe);if(q)return{type:"escape",raw:q[0],text:X(q[1])}},Ct.tag=function(Xe,q,V){var Ae=this.rules.inline.tag.exec(Xe);if(Ae)return!q&&/^<a /i.test(Ae[0])?q=!0:q&&/^<\/a>/i.test(Ae[0])&&(q=!1),!V&&/^<(pre|code|kbd|script)(\s|>)/i.test(Ae[0])?V=!0:V&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Ae[0])&&(V=!1),{type:this.options.sanitize?"text":"html",raw:Ae[0],inLink:q,inRawBlock:V,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ae[0]):X(Ae[0]):Ae[0]}},Ct.link=function(Xe){var q=this.rules.inline.link.exec(Xe);if(q){var V=z(q[2],"()");if(V>-1){var Ae=q[0].indexOf("!")===0?5:4,xe=Ae+q[1].length+V;q[2]=q[2].substring(0,V),q[0]=q[0].substring(0,xe).trim(),q[3]=""}var re=q[2],ot="";if(this.options.pedantic){var bt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(re);bt?(re=bt[1],ot=bt[3]):ot=""}else ot=q[3]?q[3].slice(1,-1):"";re=re.trim().replace(/^<([\s\S]*)>$/,"$1");var tt=Y(q,{href:re&&re.replace(this.rules.inline._escapes,"$1"),title:ot&&ot.replace(this.rules.inline._escapes,"$1")},q[0]);return tt}},Ct.reflink=function(Xe,q){var V;if((V=this.rules.inline.reflink.exec(Xe))||(V=this.rules.inline.nolink.exec(Xe))){var Ae=(V[2]||V[1]).replace(/\s+/g," ");if(Ae=q[Ae.toLowerCase()],!Ae||!Ae.href){var xe=V[0].charAt(0);return{type:"text",raw:xe,text:xe}}var re=Y(V,Ae,V[0]);return re}},Ct.strong=function(Xe,q,V){V===void 0&&(V="");var Ae=this.rules.inline.strong.start.exec(Xe);if(Ae&&(!Ae[1]||Ae[1]&&(V===""||this.rules.inline.punctuation.exec(V)))){q=q.slice(-1*Xe.length);var xe=Ae[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;xe.lastIndex=0;for(var re;(Ae=xe.exec(q))!=null;)if(re=this.rules.inline.strong.middle.exec(q.slice(0,Ae.index+3)),re)return{type:"strong",raw:Xe.slice(0,re[0].length),text:Xe.slice(2,re[0].length-2)}}},Ct.em=function(Xe,q,V){V===void 0&&(V="");var Ae=this.rules.inline.em.start.exec(Xe);if(Ae&&(!Ae[1]||Ae[1]&&(V===""||this.rules.inline.punctuation.exec(V)))){q=q.slice(-1*Xe.length);var xe=Ae[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;xe.lastIndex=0;for(var re;(Ae=xe.exec(q))!=null;)if(re=this.rules.inline.em.middle.exec(q.slice(0,Ae.index+2)),re)return{type:"em",raw:Xe.slice(0,re[0].length),text:Xe.slice(1,re[0].length-1)}}},Ct.codespan=function(Xe){var q=this.rules.inline.code.exec(Xe);if(q){var V=q[2].replace(/\n/g," "),Ae=/[^ ]/.test(V),xe=V.startsWith(" ")&&V.endsWith(" ");return Ae&&xe&&(V=V.substring(1,V.length-1)),V=X(V,!0),{type:"codespan",raw:q[0],text:V}}},Ct.br=function(Xe){var q=this.rules.inline.br.exec(Xe);if(q)return{type:"br",raw:q[0]}},Ct.del=function(Xe){var q=this.rules.inline.del.exec(Xe);if(q)return{type:"del",raw:q[0],text:q[1]}},Ct.autolink=function(Xe,q){var V=this.rules.inline.autolink.exec(Xe);if(V){var Ae,xe;return V[2]==="@"?(Ae=X(this.options.mangle?q(V[1]):V[1]),xe="mailto:"+Ae):(Ae=X(V[1]),xe=Ae),{type:"link",raw:V[0],text:Ae,href:xe,tokens:[{type:"text",raw:Ae,text:Ae}]}}},Ct.url=function(Xe,q){var V;if(V=this.rules.inline.url.exec(Xe)){var Ae,xe;if(V[2]==="@")Ae=X(this.options.mangle?q(V[0]):V[0]),xe="mailto:"+Ae;else{var re;do re=V[0],V[0]=this.rules.inline._backpedal.exec(V[0])[0];while(re!==V[0]);Ae=X(V[0]),V[1]==="www."?xe="http://"+Ae:xe=Ae}return{type:"link",raw:V[0],text:Ae,href:xe,tokens:[{type:"text",raw:Ae,text:Ae}]}}},Ct.inlineText=function(Xe,q,V){var Ae=this.rules.inline.text.exec(Xe);if(Ae){var xe;return q?xe=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ae[0]):X(Ae[0]):Ae[0]:xe=X(this.options.smartypants?V(Ae[0]):Ae[0]),{type:"text",raw:Ae[0],text:xe}}},Ot}(),J=U.noopTest,ge=U.edit,de=U.merge,Ie={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:J,table:J,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};Ie._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,Ie._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,Ie.def=ge(Ie.def).replace("label",Ie._label).replace("title",Ie._title).getRegex(),Ie.bullet=/(?:[*+-]|\d{1,9}[.)])/,Ie.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,Ie.item=ge(Ie.item,"gm").replace(/bull/g,Ie.bullet).getRegex(),Ie.list=ge(Ie.list).replace(/bull/g,Ie.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ie.def.source+")").getRegex(),Ie._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",Ie._comment=/<!--(?!-?>)[\s\S]*?-->/,Ie.html=ge(Ie.html,"i").replace("comment",Ie._comment).replace("tag",Ie._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ie.paragraph=ge(Ie._paragraph).replace("hr",Ie.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",Ie._tag).getRegex(),Ie.blockquote=ge(Ie.blockquote).replace("paragraph",Ie.paragraph).getRegex(),Ie.normal=de({},Ie),Ie.gfm=de({},Ie.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*|$)"}),Ie.gfm.nptable=ge(Ie.gfm.nptable).replace("hr",Ie.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",Ie._tag).getRegex(),Ie.gfm.table=ge(Ie.gfm.table).replace("hr",Ie.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",Ie._tag).getRegex(),Ie.pedantic=de({},Ie.normal,{html:ge(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ie._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:J,paragraph:ge(Ie.normal._paragraph).replace("hr",Ie.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",Ie.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var be={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:J,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:J,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};be._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",be.punctuation=ge(be.punctuation).replace(/punctuation/g,be._punctuation).getRegex(),be._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",be._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",be.em.start=ge(be.em.start).replace(/punctuation/g,be._punctuation).getRegex(),be.em.middle=ge(be.em.middle).replace(/punctuation/g,be._punctuation).replace(/overlapSkip/g,be._overlapSkip).getRegex(),be.em.endAst=ge(be.em.endAst,"g").replace(/punctuation/g,be._punctuation).getRegex(),be.em.endUnd=ge(be.em.endUnd,"g").replace(/punctuation/g,be._punctuation).getRegex(),be.strong.start=ge(be.strong.start).replace(/punctuation/g,be._punctuation).getRegex(),be.strong.middle=ge(be.strong.middle).replace(/punctuation/g,be._punctuation).replace(/blockSkip/g,be._blockSkip).getRegex(),be.strong.endAst=ge(be.strong.endAst,"g").replace(/punctuation/g,be._punctuation).getRegex(),be.strong.endUnd=ge(be.strong.endUnd,"g").replace(/punctuation/g,be._punctuation).getRegex(),be.blockSkip=ge(be._blockSkip,"g").getRegex(),be.overlapSkip=ge(be._overlapSkip,"g").getRegex(),be._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,be._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,be._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])?)+(?![-_])/,be.autolink=ge(be.autolink).replace("scheme",be._scheme).replace("email",be._email).getRegex(),be._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,be.tag=ge(be.tag).replace("comment",Ie._comment).replace("attribute",be._attribute).getRegex(),be._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,be._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,be._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,be.link=ge(be.link).replace("label",be._label).replace("href",be._href).replace("title",be._title).getRegex(),be.reflink=ge(be.reflink).replace("label",be._label).getRegex(),be.reflinkSearch=ge(be.reflinkSearch,"g").replace("reflink",be.reflink).replace("nolink",be.nolink).getRegex(),be.normal=de({},be),be.pedantic=de({},be.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:ge(/^!?\[(label)\]\((.*?)\)/).replace("label",be._label).getRegex(),reflink:ge(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",be._label).getRegex()}),be.gfm=de({},be.normal,{escape:ge(be.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),be.gfm.url=ge(be.gfm.url,"i").replace("email",be.gfm._extended_email).getRegex(),be.breaks=de({},be.gfm,{br:ge(be.br).replace("{2,}","*").getRegex(),text:ge(be.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Ce={block:Ie,inline:be},je=c.defaults,te=Ce.block,ve=Ce.inline;function $e(Ot){return Ot.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function Le(Ot){var Ct="",Dt,Xe,q=Ot.length;for(Dt=0;Dt<q;Dt++)Xe=Ot.charCodeAt(Dt),Math.random()>.5&&(Xe="x"+Xe.toString(16)),Ct+="&#"+Xe+";";return Ct}var he=function(){function Ot(Dt){this.tokens=[],this.tokens.links=Object.create(null),this.options=Dt||je,this.options.tokenizer=this.options.tokenizer||new ne,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Xe={block:te.normal,inline:ve.normal};this.options.pedantic?(Xe.block=te.pedantic,Xe.inline=ve.pedantic):this.options.gfm&&(Xe.block=te.gfm,this.options.breaks?Xe.inline=ve.breaks:Xe.inline=ve.gfm),this.tokenizer.rules=Xe}Ot.lex=function(Xe,q){var V=new Ot(q);return V.lex(Xe)};var Ct=Ot.prototype;return Ct.lex=function(Xe){return Xe=Xe.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(Xe,this.tokens,!0),this.inline(this.tokens),this.tokens},Ct.blockTokens=function(Xe,q,V){q===void 0&&(q=[]),V===void 0&&(V=!0),Xe=Xe.replace(/^ +$/gm,"");for(var Ae,xe,re,ot;Xe;){if(Ae=this.tokenizer.space(Xe)){Xe=Xe.substring(Ae.raw.length),Ae.type&&q.push(Ae);continue}if(Ae=this.tokenizer.code(Xe,q)){Xe=Xe.substring(Ae.raw.length),Ae.type?q.push(Ae):(ot=q[q.length-1],ot.raw+=`
|
|
|
`+Ae.raw,ot.text+=`
|
|
|
`+Ae.text);continue}if(Ae=this.tokenizer.fences(Xe)){Xe=Xe.substring(Ae.raw.length),q.push(Ae);continue}if(Ae=this.tokenizer.heading(Xe)){Xe=Xe.substring(Ae.raw.length),q.push(Ae);continue}if(Ae=this.tokenizer.nptable(Xe)){Xe=Xe.substring(Ae.raw.length),q.push(Ae);continue}if(Ae=this.tokenizer.hr(Xe)){Xe=Xe.substring(Ae.raw.length),q.push(Ae);continue}if(Ae=this.tokenizer.blockquote(Xe)){Xe=Xe.substring(Ae.raw.length),Ae.tokens=this.blockTokens(Ae.text,[],V),q.push(Ae);continue}if(Ae=this.tokenizer.list(Xe)){for(Xe=Xe.substring(Ae.raw.length),re=Ae.items.length,xe=0;xe<re;xe++)Ae.items[xe].tokens=this.blockTokens(Ae.items[xe].text,[],!1);q.push(Ae);continue}if(Ae=this.tokenizer.html(Xe)){Xe=Xe.substring(Ae.raw.length),q.push(Ae);continue}if(V&&(Ae=this.tokenizer.def(Xe))){Xe=Xe.substring(Ae.raw.length),this.tokens.links[Ae.tag]||(this.tokens.links[Ae.tag]={href:Ae.href,title:Ae.title});continue}if(Ae=this.tokenizer.table(Xe)){Xe=Xe.substring(Ae.raw.length),q.push(Ae);continue}if(Ae=this.tokenizer.lheading(Xe)){Xe=Xe.substring(Ae.raw.length),q.push(Ae);continue}if(V&&(Ae=this.tokenizer.paragraph(Xe))){Xe=Xe.substring(Ae.raw.length),q.push(Ae);continue}if(Ae=this.tokenizer.text(Xe,q)){Xe=Xe.substring(Ae.raw.length),Ae.type?q.push(Ae):(ot=q[q.length-1],ot.raw+=`
|
|
|
`+Ae.raw,ot.text+=`
|
|
|
`+Ae.text);continue}if(Xe){var bt="Infinite loop on byte: "+Xe.charCodeAt(0);if(this.options.silent){console.error(bt);break}else throw new Error(bt)}}return q},Ct.inline=function(Xe){var q,V,Ae,xe,re,ot,bt=Xe.length;for(q=0;q<bt;q++){ot=Xe[q];switch(ot.type){case"paragraph":case"text":case"heading":{ot.tokens=[],this.inlineTokens(ot.text,ot.tokens);break}case"table":{for(ot.tokens={header:[],cells:[]},xe=ot.header.length,V=0;V<xe;V++)ot.tokens.header[V]=[],this.inlineTokens(ot.header[V],ot.tokens.header[V]);for(xe=ot.cells.length,V=0;V<xe;V++)for(re=ot.cells[V],ot.tokens.cells[V]=[],Ae=0;Ae<re.length;Ae++)ot.tokens.cells[V][Ae]=[],this.inlineTokens(re[Ae],ot.tokens.cells[V][Ae]);break}case"blockquote":{this.inline(ot.tokens);break}case"list":{for(xe=ot.items.length,V=0;V<xe;V++)this.inline(ot.items[V].tokens);break}}}return Xe},Ct.inlineTokens=function(Xe,q,V,Ae,xe){q===void 0&&(q=[]),V===void 0&&(V=!1),Ae===void 0&&(Ae=!1),xe===void 0&&(xe="");var re,ot=Xe,bt;if(this.tokens.links){var tt=Object.keys(this.tokens.links);if(tt.length>0)for(;(bt=this.tokenizer.rules.inline.reflinkSearch.exec(ot))!=null;)tt.includes(bt[0].slice(bt[0].lastIndexOf("[")+1,-1))&&(ot=ot.slice(0,bt.index)+"["+"a".repeat(bt[0].length-2)+"]"+ot.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(bt=this.tokenizer.rules.inline.blockSkip.exec(ot))!=null;)ot=ot.slice(0,bt.index)+"["+"a".repeat(bt[0].length-2)+"]"+ot.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Xe;){if(re=this.tokenizer.escape(Xe)){Xe=Xe.substring(re.raw.length),q.push(re);continue}if(re=this.tokenizer.tag(Xe,V,Ae)){Xe=Xe.substring(re.raw.length),V=re.inLink,Ae=re.inRawBlock,q.push(re);continue}if(re=this.tokenizer.link(Xe)){Xe=Xe.substring(re.raw.length),re.type==="link"&&(re.tokens=this.inlineTokens(re.text,[],!0,Ae)),q.push(re);continue}if(re=this.tokenizer.reflink(Xe,this.tokens.links)){Xe=Xe.substring(re.raw.length),re.type==="link"&&(re.tokens=this.inlineTokens(re.text,[],!0,Ae)),q.push(re);continue}if(re=this.tokenizer.strong(Xe,ot,xe)){Xe=Xe.substring(re.raw.length),re.tokens=this.inlineTokens(re.text,[],V,Ae),q.push(re);continue}if(re=this.tokenizer.em(Xe,ot,xe)){Xe=Xe.substring(re.raw.length),re.tokens=this.inlineTokens(re.text,[],V,Ae),q.push(re);continue}if(re=this.tokenizer.codespan(Xe)){Xe=Xe.substring(re.raw.length),q.push(re);continue}if(re=this.tokenizer.br(Xe)){Xe=Xe.substring(re.raw.length),q.push(re);continue}if(re=this.tokenizer.del(Xe)){Xe=Xe.substring(re.raw.length),re.tokens=this.inlineTokens(re.text,[],V,Ae),q.push(re);continue}if(re=this.tokenizer.autolink(Xe,Le)){Xe=Xe.substring(re.raw.length),q.push(re);continue}if(!V&&(re=this.tokenizer.url(Xe,Le))){Xe=Xe.substring(re.raw.length),q.push(re);continue}if(re=this.tokenizer.inlineText(Xe,Ae,$e)){Xe=Xe.substring(re.raw.length),xe=re.raw.slice(-1),q.push(re);continue}if(Xe){var Tt="Infinite loop on byte: "+Xe.charCodeAt(0);if(this.options.silent){console.error(Tt);break}else throw new Error(Tt)}}return q},f(Ot,null,[{key:"rules",get:function(){return{block:te,inline:ve}}}]),Ot}(),ee=c.defaults,se=U.cleanUrl,Ue=U.escape,ue=function(){function Ot(Dt){this.options=Dt||ee}var Ct=Ot.prototype;return Ct.code=function(Xe,q,V){var Ae=(q||"").match(/\S*/)[0];if(this.options.highlight){var xe=this.options.highlight(Xe,Ae);xe!=null&&xe!==Xe&&(V=!0,Xe=xe)}return Ae?'<pre><code class="'+this.options.langPrefix+Ue(Ae,!0)+'">'+(V?Xe:Ue(Xe,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(V?Xe:Ue(Xe,!0))+`</code></pre>
|
|
|
`},Ct.blockquote=function(Xe){return`<blockquote>
|
|
|
`+Xe+`</blockquote>
|
|
|
`},Ct.html=function(Xe){return Xe},Ct.heading=function(Xe,q,V,Ae){return this.options.headerIds?"<h"+q+' id="'+this.options.headerPrefix+Ae.slug(V)+'">'+Xe+"</h"+q+`>
|
|
|
`:"<h"+q+">"+Xe+"</h"+q+`>
|
|
|
`},Ct.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},Ct.list=function(Xe,q,V){var Ae=q?"ol":"ul",xe=q&&V!==1?' start="'+V+'"':"";return"<"+Ae+xe+`>
|
|
|
`+Xe+"</"+Ae+`>
|
|
|
`},Ct.listitem=function(Xe){return"<li>"+Xe+`</li>
|
|
|
`},Ct.checkbox=function(Xe){return"<input "+(Xe?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Ct.paragraph=function(Xe){return"<p>"+Xe+`</p>
|
|
|
`},Ct.table=function(Xe,q){return q&&(q="<tbody>"+q+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+Xe+`</thead>
|
|
|
`+q+`</table>
|
|
|
`},Ct.tablerow=function(Xe){return`<tr>
|
|
|
`+Xe+`</tr>
|
|
|
`},Ct.tablecell=function(Xe,q){var V=q.header?"th":"td",Ae=q.align?"<"+V+' align="'+q.align+'">':"<"+V+">";return Ae+Xe+"</"+V+`>
|
|
|
`},Ct.strong=function(Xe){return"<strong>"+Xe+"</strong>"},Ct.em=function(Xe){return"<em>"+Xe+"</em>"},Ct.codespan=function(Xe){return"<code>"+Xe+"</code>"},Ct.br=function(){return this.options.xhtml?"<br/>":"<br>"},Ct.del=function(Xe){return"<del>"+Xe+"</del>"},Ct.link=function(Xe,q,V){if(Xe=se(this.options.sanitize,this.options.baseUrl,Xe),Xe===null)return V;var Ae='<a href="'+Ue(Xe)+'"';return q&&(Ae+=' title="'+q+'"'),Ae+=">"+V+"</a>",Ae},Ct.image=function(Xe,q,V){if(Xe=se(this.options.sanitize,this.options.baseUrl,Xe),Xe===null)return V;var Ae='<img src="'+Xe+'" alt="'+V+'"';return q&&(Ae+=' title="'+q+'"'),Ae+=this.options.xhtml?"/>":">",Ae},Ct.text=function(Xe){return Xe},Ot}(),Ne=function(){function Ot(){}var Ct=Ot.prototype;return Ct.strong=function(Xe){return Xe},Ct.em=function(Xe){return Xe},Ct.codespan=function(Xe){return Xe},Ct.del=function(Xe){return Xe},Ct.html=function(Xe){return Xe},Ct.text=function(Xe){return Xe},Ct.link=function(Xe,q,V){return""+V},Ct.image=function(Xe,q,V){return""+V},Ct.br=function(){return""},Ot}(),Fe=function(){function Ot(){this.seen={}}var Ct=Ot.prototype;return Ct.slug=function(Xe){var q=Xe.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(q)){var V=q;do this.seen[V]++,q=V+"-"+this.seen[V];while(this.seen.hasOwnProperty(q))}return this.seen[q]=0,q},Ot}(),ae=c.defaults,ce=U.unescape,_e=function(){function Ot(Dt){this.options=Dt||ae,this.options.renderer=this.options.renderer||new ue,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ne,this.slugger=new Fe}Ot.parse=function(Xe,q){var V=new Ot(q);return V.parse(Xe)};var Ct=Ot.prototype;return Ct.parse=function(Xe,q){q===void 0&&(q=!0);var V="",Ae,xe,re,ot,bt,tt,Tt,Gt,lr,pr,Rr,xt,It,At,Zt,br,Lr,Jr,In=Xe.length;for(Ae=0;Ae<In;Ae++){pr=Xe[Ae];switch(pr.type){case"space":continue;case"hr":{V+=this.renderer.hr();continue}case"heading":{V+=this.renderer.heading(this.parseInline(pr.tokens),pr.depth,ce(this.parseInline(pr.tokens,this.textRenderer)),this.slugger);continue}case"code":{V+=this.renderer.code(pr.text,pr.lang,pr.escaped);continue}case"table":{for(Gt="",Tt="",ot=pr.header.length,xe=0;xe<ot;xe++)Tt+=this.renderer.tablecell(this.parseInline(pr.tokens.header[xe]),{header:!0,align:pr.align[xe]});for(Gt+=this.renderer.tablerow(Tt),lr="",ot=pr.cells.length,xe=0;xe<ot;xe++){for(tt=pr.tokens.cells[xe],Tt="",bt=tt.length,re=0;re<bt;re++)Tt+=this.renderer.tablecell(this.parseInline(tt[re]),{header:!1,align:pr.align[re]});lr+=this.renderer.tablerow(Tt)}V+=this.renderer.table(Gt,lr);continue}case"blockquote":{lr=this.parse(pr.tokens),V+=this.renderer.blockquote(lr);continue}case"list":{for(Rr=pr.ordered,xt=pr.start,It=pr.loose,ot=pr.items.length,lr="",xe=0;xe<ot;xe++)Zt=pr.items[xe],br=Zt.checked,Lr=Zt.task,At="",Zt.task&&(Jr=this.renderer.checkbox(br),It?Zt.tokens.length>0&&Zt.tokens[0].type==="text"?(Zt.tokens[0].text=Jr+" "+Zt.tokens[0].text,Zt.tokens[0].tokens&&Zt.tokens[0].tokens.length>0&&Zt.tokens[0].tokens[0].type==="text"&&(Zt.tokens[0].tokens[0].text=Jr+" "+Zt.tokens[0].tokens[0].text)):Zt.tokens.unshift({type:"text",text:Jr}):At+=Jr),At+=this.parse(Zt.tokens,It),lr+=this.renderer.listitem(At,Lr,br);V+=this.renderer.list(lr,Rr,xt);continue}case"html":{V+=this.renderer.html(pr.text);continue}case"paragraph":{V+=this.renderer.paragraph(this.parseInline(pr.tokens));continue}case"text":{for(lr=pr.tokens?this.parseInline(pr.tokens):pr.text;Ae+1<In&&Xe[Ae+1].type==="text";)pr=Xe[++Ae],lr+=`
|
|
|
`+(pr.tokens?this.parseInline(pr.tokens):pr.text);V+=q?this.renderer.paragraph(lr):lr;continue}default:{var Gr='Token with "'+pr.type+'" type was not found.';if(this.options.silent){console.error(Gr);return}else throw new Error(Gr)}}}return V},Ct.parseInline=function(Xe,q){q=q||this.renderer;var V="",Ae,xe,re=Xe.length;for(Ae=0;Ae<re;Ae++){xe=Xe[Ae];switch(xe.type){case"escape":{V+=q.text(xe.text);break}case"html":{V+=q.html(xe.text);break}case"link":{V+=q.link(xe.href,xe.title,this.parseInline(xe.tokens,q));break}case"image":{V+=q.image(xe.href,xe.title,xe.text);break}case"strong":{V+=q.strong(this.parseInline(xe.tokens,q));break}case"em":{V+=q.em(this.parseInline(xe.tokens,q));break}case"codespan":{V+=q.codespan(xe.text);break}case"br":{V+=q.br();break}case"del":{V+=q.del(this.parseInline(xe.tokens,q));break}case"text":{V+=q.text(xe.text);break}default:{var ot='Token with "'+xe.type+'" type was not found.';if(this.options.silent){console.error(ot);return}else throw new Error(ot)}}}return V},Ot}(),ze=U.merge,it=U.checkSanitizeDeprecation,Ze=U.escape,Ee=c.getDefaults,mt=c.changeDefaults,Je=c.defaults;function rt(Ot,Ct,Dt){if(typeof Ot=="undefined"||Ot===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Ot!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Ot)+", string expected");if(typeof Ct=="function"&&(Dt=Ct,Ct=null),Ct=ze({},rt.defaults,Ct||{}),it(Ct),Dt){var Xe=Ct.highlight,q;try{q=he.lex(Ot,Ct)}catch(re){return Dt(re)}var V=function(ot){var bt;if(!ot)try{bt=_e.parse(q,Ct)}catch(tt){ot=tt}return Ct.highlight=Xe,ot?Dt(ot):Dt(null,bt)};if(!Xe||Xe.length<3)return V();if(delete Ct.highlight,!q.length)return V();var Ae=0;rt.walkTokens(q,function(re){re.type==="code"&&(Ae++,setTimeout(function(){Xe(re.text,re.lang,function(ot,bt){if(ot)return V(ot);bt!=null&&bt!==re.text&&(re.text=bt,re.escaped=!0),Ae--,Ae===0&&V()})},0))}),Ae===0&&V();return}try{var xe=he.lex(Ot,Ct);return Ct.walkTokens&&rt.walkTokens(xe,Ct.walkTokens),_e.parse(xe,Ct)}catch(re){if(re.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Ct.silent)return"<p>An error occurred:</p><pre>"+Ze(re.message+"",!0)+"</pre>";throw re}}rt.options=rt.setOptions=function(Ot){return ze(rt.defaults,Ot),mt(rt.defaults),rt},rt.getDefaults=Ee,rt.defaults=Je,rt.use=function(Ot){var Ct=ze({},Ot);if(Ot.renderer&&function(){var Xe=rt.defaults.renderer||new ue,q=function(xe){var re=Xe[xe];Xe[xe]=function(){for(var ot=arguments.length,bt=new Array(ot),tt=0;tt<ot;tt++)bt[tt]=arguments[tt];var Tt=Ot.renderer[xe].apply(Xe,bt);return Tt===!1&&(Tt=re.apply(Xe,bt)),Tt}};for(var V in Ot.renderer)q(V);Ct.renderer=Xe}(),Ot.tokenizer&&function(){var Xe=rt.defaults.tokenizer||new ne,q=function(xe){var re=Xe[xe];Xe[xe]=function(){for(var ot=arguments.length,bt=new Array(ot),tt=0;tt<ot;tt++)bt[tt]=arguments[tt];var Tt=Ot.tokenizer[xe].apply(Xe,bt);return Tt===!1&&(Tt=re.apply(Xe,bt)),Tt}};for(var V in Ot.tokenizer)q(V);Ct.tokenizer=Xe}(),Ot.walkTokens){var Dt=rt.defaults.walkTokens;Ct.walkTokens=function(Xe){Ot.walkTokens(Xe),Dt&&Dt(Xe)}}rt.setOptions(Ct)},rt.walkTokens=function(Ot,Ct){for(var Dt=g(Ot),Xe;!(Xe=Dt()).done;){var q=Xe.value;Ct(q);switch(q.type){case"table":{for(var V=g(q.tokens.header),Ae;!(Ae=V()).done;){var xe=Ae.value;rt.walkTokens(xe,Ct)}for(var re=g(q.tokens.cells),ot;!(ot=re()).done;)for(var bt=ot.value,tt=g(bt),Tt;!(Tt=tt()).done;){var Gt=Tt.value;rt.walkTokens(Gt,Ct)}break}case"list":{rt.walkTokens(q.items,Ct);break}default:q.tokens&&rt.walkTokens(q.tokens,Ct)}}},rt.Parser=_e,rt.parser=_e.parse,rt.Renderer=ue,rt.TextRenderer=Ne,rt.Lexer=he,rt.lexer=he.lex,rt.Tokenizer=ne,rt.Slugger=Fe,rt.parse=rt;var wt=rt;return wt})},"DlR+":function(M,B,o){var w=o("MFOe"),f=w.Global,A=w.trim;M.exports={name:"cookieStorage",read:g,write:c,each:p,remove:h,clearAll:l};var m=f.document;function g(n){if(!n||!e(n))return null;var i="(?:^|.*;\\s*)"+escape(n).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(m.cookie.replace(new RegExp(i),"$1"))}function p(n){for(var i=m.cookie.split(/; ?/g),r=i.length-1;r>=0;r--){if(!A(i[r]))continue;var a=i[r].split("="),t=unescape(a[0]),s=unescape(a[1]);n(s,t)}}function c(n,i){if(!n)return;m.cookie=escape(n)+"="+escape(i)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function h(n){if(!n||!e(n))return;m.cookie=escape(n)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function l(){p(function(n,i){h(i)})}function e(n){return new RegExp("(?:^|;\\s*)"+escape(n).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(m.cookie)}},Ducp:function(M,B,o){var w=o("bYtY"),f=o("IwbS"),A=o("+TT/"),m=o("XpcN"),g=f.Group,p=["width","height"],c=["x","y"],h=m.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){h.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new g),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new g),this._showController},resetInner:function(){h.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,n,i,r,a,t,s){var u=this;h.superCall(this,"renderInner",e,n,i,r,a,t,s);var d=this._controllerGroup,v=n.get("pageIconSize",!0);w.isArray(v)||(v=[v,v]),S("pagePrev",0);var y=n.getModel("pageTextStyle");d.add(new f.Text({name:"pageText",style:{textFill:y.getTextColor(),font:y.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),S("pageNext",1);function S(b,E){var C=b+"DataIndex",T=f.createIcon(n.get("pageIcons",!0)[n.getOrient().name][E],{onclick:w.bind(u._pageGo,u,C,n,r)},{x:-v[0]/2,y:-v[1]/2,width:v[0],height:v[1]});T.name=b,d.add(T)}},layoutInner:function(e,n,i,r,a,t){var s=this.getSelectorGroup(),u=e.getOrient().index,d=p[u],v=c[u],y=p[1-u],S=c[1-u];a&&A.box("horizontal",s,e.get("selectorItemGap",!0));var b=e.get("selectorButtonGap",!0),E=s.getBoundingRect(),C=[-E.x,-E.y],T=w.clone(i);a&&(T[d]=i[d]-E[d]-b);var x=this._layoutContentAndController(e,r,T,u,d,y,S);if(a){if(t==="end")C[u]+=x[d]+b;else{var _=E[d]+b;C[u]-=_,x[v]-=_}x[d]+=E[d]+b,C[1-u]+=x[S]+x[y]/2-E[y]/2,x[y]=Math.max(x[y],E[y]),x[S]=Math.min(x[S],E[S]+C[1-u]),s.attr("position",C)}return x},_layoutContentAndController:function(e,n,i,r,a,t,s){var u=this.getContentGroup(),d=this._containerGroup,v=this._controllerGroup;A.box(e.get("orient"),u,e.get("itemGap"),r?i.width:null,r?null:i.height),A.box("horizontal",v,e.get("pageButtonItemGap",!0));var y=u.getBoundingRect(),S=v.getBoundingRect(),b=this._showController=y[a]>i[a],E=[-y.x,-y.y];n||(E[r]=u.position[r]);var C=[0,0],T=[-S.x,-S.y],x=w.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(b){var _=e.get("pageButtonPosition",!0);_==="end"?T[r]+=i[a]-S[a]:C[r]+=S[a]+x}T[1-r]+=y[t]/2-S[t]/2,u.attr("position",E),d.attr("position",C),v.attr("position",T);var I={x:0,y:0};if(I[a]=b?i[a]:y[a],I[t]=Math.max(y[t],S[t]),I[s]=Math.min(0,S[s]+T[1-r]),d.__rectSize=i[a],b){var L={x:0,y:0};L[a]=Math.max(i[a]-S[a]-x,0),L[t]=I[t],d.setClipPath(new f.Rect({shape:L})),d.__rectSize=L[a]}else v.eachChild(function(k){k.attr({invisible:!0,silent:!0})});var R=this._getPageInfo(e);return R.pageIndex!=null&&f.updateProps(u,{position:R.contentPosition},b?e:!1),this._updatePageInfoView(e,R),I},_pageGo:function(e,n,i){var r=this._getPageInfo(n)[e];r!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:n.id})},_updatePageInfoView:function(e,n){var i=this._controllerGroup;w.each(["pagePrev","pageNext"],function(d){var v=n[d+"DataIndex"]!=null,y=i.childOfName(d);y&&(y.setStyle("fill",v?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),y.cursor=v?"pointer":"default")});var r=i.childOfName("pageText"),a=e.get("pageFormatter"),t=n.pageIndex,s=t!=null?t+1:0,u=n.pageCount;r&&a&&r.setStyle("text",w.isString(a)?a.replace("{current}",s).replace("{total}",u):a({current:s,total:u}))},_getPageInfo:function(e){var n=e.get("scrollDataIndex",!0),i=this.getContentGroup(),r=this._containerGroup.__rectSize,a=e.getOrient().index,t=p[a],s=c[a],u=this._findTargetItemIndex(n),d=i.children(),v=d[u],y=d.length,S=y?1:0,b={contentPosition:i.position.slice(),pageCount:S,pageIndex:S-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!v)return b;var E=I(v);b.contentPosition[a]=-E.s;for(var C=u+1,T=E,x=E,_=null;C<=y;++C)_=I(d[C]),(!_&&x.e>T.s+r||_&&!L(_,T.s))&&(x.i>T.i?T=x:T=_,T&&(b.pageNextDataIndex==null&&(b.pageNextDataIndex=T.i),++b.pageCount)),x=_;for(var C=u-1,T=E,x=E,_=null;C>=-1;--C)_=I(d[C]),(!_||!L(x,_.s))&&T.i<x.i&&(x=T,b.pagePrevDataIndex==null&&(b.pagePrevDataIndex=T.i),++b.pageCount,++b.pageIndex),T=_;return b;function I(R){if(R){var k=R.getBoundingRect(),F=k[s]+R.position[a];return{s:F,e:F+k[t],i:R.__legendDataIndex}}}function L(R,k){return R.e>=k&&R.s<=k+r}},_findTargetItemIndex:function(e){if(!this._showController)return 0;var n,i=this.getContentGroup(),r;return i.eachChild(function(a,t){var s=a.__legendDataIndex;r==null&&s!=null&&(r=t),s===e&&(n=t)}),n!=null?n:r}}),l=h;M.exports=l},E2g8:function(M,B,o){(function(w,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(A,m){M.exports=m()})(this,function(){"use strict";function A(ue){var Ne=typeof ue;return ue!==null&&(Ne==="object"||Ne==="function")}function m(ue){return typeof ue=="function"}var g=void 0;Array.isArray?g=Array.isArray:g=function(Ne){return Object.prototype.toString.call(Ne)==="[object Array]"};var p=g,c=0,h=void 0,l=void 0,e=function(Ne,Fe){E[c]=Ne,E[c+1]=Fe,c+=2,c===2&&(l?l(C):x())};function n(ue){l=ue}function i(ue){e=ue}var r=typeof window!="undefined"?window:void 0,a=r||{},t=a.MutationObserver||a.WebKitMutationObserver,s=typeof self=="undefined"&&typeof w!="undefined"&&{}.toString.call(w)==="[object process]",u=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function d(){return function(){return w.nextTick(C)}}function v(){return typeof h!="undefined"?function(){h(C)}:b()}function y(){var ue=0,Ne=new t(C),Fe=document.createTextNode("");return Ne.observe(Fe,{characterData:!0}),function(){Fe.data=ue=++ue%2}}function S(){var ue=new MessageChannel;return ue.port1.onmessage=C,function(){return ue.port2.postMessage(0)}}function b(){var ue=setTimeout;return function(){return ue(C,1)}}var E=new Array(1e3);function C(){for(var ue=0;ue<c;ue+=2){var Ne=E[ue],Fe=E[ue+1];Ne(Fe),E[ue]=void 0,E[ue+1]=void 0}c=0}function T(){try{var ue=Function("return this")().require("vertx");return h=ue.runOnLoop||ue.runOnContext,v()}catch(Ne){return b()}}var x=void 0;s?x=d():t?x=y():u?x=S():r===void 0&&!0?x=T():x=b();function _(ue,Ne){var Fe=this,ae=new this.constructor(R);ae[L]===void 0&&Ce(ae);var ce=Fe._state;if(ce){var _e=arguments[ce-1];e(function(){return ge(ce,ae,_e,Fe._result)})}else ne(Fe,ae,ue,Ne);return ae}function I(ue){var Ne=this;if(ue&&typeof ue=="object"&&ue.constructor===Ne)return ue;var Fe=new Ne(R);return X(Fe,ue),Fe}var L=Math.random().toString(36).substring(2);function R(){}var k=void 0,F=1,P=2;function W(){return new TypeError("You cannot resolve a promise with itself")}function D(){return new TypeError("A promises callback cannot return that same promise.")}function U(ue,Ne,Fe,ae){try{ue.call(Ne,Fe,ae)}catch(ce){return ce}}function H(ue,Ne,Fe){e(function(ae){var ce=!1,_e=U(Fe,Ne,function(ze){if(ce)return;ce=!0,Ne!==ze?X(ae,ze):Y(ae,ze)},function(ze){if(ce)return;ce=!0,$(ae,ze)},"Settle: "+(ae._label||" unknown promise"));!ce&&_e&&(ce=!0,$(ae,_e))},ue)}function j(ue,Ne){Ne._state===F?Y(ue,Ne._result):Ne._state===P?$(ue,Ne._result):ne(Ne,void 0,function(Fe){return X(ue,Fe)},function(Fe){return $(ue,Fe)})}function K(ue,Ne,Fe){Ne.constructor===ue.constructor&&Fe===_&&Ne.constructor.resolve===I?j(ue,Ne):Fe===void 0?Y(ue,Ne):m(Fe)?H(ue,Ne,Fe):Y(ue,Ne)}function X(ue,Ne){if(ue===Ne)$(ue,W());else if(A(Ne)){var Fe=void 0;try{Fe=Ne.then}catch(ae){$(ue,ae);return}K(ue,Ne,Fe)}else Y(ue,Ne)}function z(ue){ue._onerror&&ue._onerror(ue._result),J(ue)}function Y(ue,Ne){if(ue._state!==k)return;ue._result=Ne,ue._state=F,ue._subscribers.length!==0&&e(J,ue)}function $(ue,Ne){if(ue._state!==k)return;ue._state=P,ue._result=Ne,e(z,ue)}function ne(ue,Ne,Fe,ae){var ce=ue._subscribers,_e=ce.length;ue._onerror=null,ce[_e]=Ne,ce[_e+F]=Fe,ce[_e+P]=ae,_e===0&&ue._state&&e(J,ue)}function J(ue){var Ne=ue._subscribers,Fe=ue._state;if(Ne.length===0)return;for(var ae=void 0,ce=void 0,_e=ue._result,ze=0;ze<Ne.length;ze+=3)ae=Ne[ze],ce=Ne[ze+Fe],ae?ge(Fe,ae,ce,_e):ce(_e);ue._subscribers.length=0}function ge(ue,Ne,Fe,ae){var ce=m(Fe),_e=void 0,ze=void 0,it=!0;if(ce){try{_e=Fe(ae)}catch(Ze){it=!1,ze=Ze}if(Ne===_e){$(Ne,D());return}}else _e=ae;Ne._state!==k||(ce&&it?X(Ne,_e):it===!1?$(Ne,ze):ue===F?Y(Ne,_e):ue===P&&$(Ne,_e))}function de(ue,Ne){try{Ne(function(ae){X(ue,ae)},function(ae){$(ue,ae)})}catch(Fe){$(ue,Fe)}}var Ie=0;function be(){return Ie++}function Ce(ue){ue[L]=Ie++,ue._state=void 0,ue._result=void 0,ue._subscribers=[]}function je(){return new Error("Array Methods must be provided an Array")}var te=function(){function ue(Ne,Fe){this._instanceConstructor=Ne,this.promise=new Ne(R),this.promise[L]||Ce(this.promise),p(Fe)?(this.length=Fe.length,this._remaining=Fe.length,this._result=new Array(this.length),this.length===0?Y(this.promise,this._result):(this.length=this.length||0,this._enumerate(Fe),this._remaining===0&&Y(this.promise,this._result))):$(this.promise,je())}return ue.prototype._enumerate=function(Fe){for(var ae=0;this._state===k&&ae<Fe.length;ae++)this._eachEntry(Fe[ae],ae)},ue.prototype._eachEntry=function(Fe,ae){var ce=this._instanceConstructor,_e=ce.resolve;if(_e===I){var ze=void 0,it=void 0,Ze=!1;try{ze=Fe.then}catch(mt){Ze=!0,it=mt}if(ze===_&&Fe._state!==k)this._settledAt(Fe._state,ae,Fe._result);else if(typeof ze!="function")this._remaining--,this._result[ae]=Fe;else if(ce===se){var Ee=new ce(R);Ze?$(Ee,it):K(Ee,Fe,ze),this._willSettleAt(Ee,ae)}else this._willSettleAt(new ce(function(mt){return mt(Fe)}),ae)}else this._willSettleAt(_e(Fe),ae)},ue.prototype._settledAt=function(Fe,ae,ce){var _e=this.promise;_e._state===k&&(this._remaining--,Fe===P?$(_e,ce):this._result[ae]=ce),this._remaining===0&&Y(_e,this._result)},ue.prototype._willSettleAt=function(Fe,ae){var ce=this;ne(Fe,void 0,function(_e){return ce._settledAt(F,ae,_e)},function(_e){return ce._settledAt(P,ae,_e)})},ue}();function ve(ue){return new te(this,ue).promise}function $e(ue){var Ne=this;return p(ue)?new Ne(function(Fe,ae){for(var ce=ue.length,_e=0;_e<ce;_e++)Ne.resolve(ue[_e]).then(Fe,ae)}):new Ne(function(Fe,ae){return ae(new TypeError("You must pass an array to race."))})}function Le(ue){var Ne=this,Fe=new Ne(R);return $(Fe,ue),Fe}function he(){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 ue(Ne){this[L]=be(),this._result=this._state=void 0,this._subscribers=[],R!==Ne&&(typeof Ne!="function"&&he(),this instanceof ue?de(this,Ne):ee())}return ue.prototype.catch=function(Fe){return this.then(null,Fe)},ue.prototype.finally=function(Fe){var ae=this,ce=ae.constructor;return m(Fe)?ae.then(function(_e){return ce.resolve(Fe()).then(function(){return _e})},function(_e){return ce.resolve(Fe()).then(function(){throw _e})}):ae.then(Fe,Fe)},ue}();se.prototype.then=_,se.all=ve,se.race=$e,se.resolve=I,se.reject=Le,se._setScheduler=n,se._setAsap=i,se._asap=e;function Ue(){var ue=void 0;if(typeof f!="undefined")ue=f;else if(typeof self!="undefined")ue=self;else try{ue=Function("return this")()}catch(ae){throw new Error("polyfill failed because global object is unavailable in this environment")}var Ne=ue.Promise;if(Ne){var Fe=null;try{Fe=Object.prototype.toString.call(Ne.resolve())}catch(ae){}if(Fe==="[object Promise]"&&!Ne.cast)return}ue.Promise=se}return se.polyfill=Ue,se.Promise=se,se})}).call(this,o("Q2Ig"),o("yLpj"))},E9nw:function(M,B){M.exports=function(){var o=document.getSelection();if(!o.rangeCount)return function(){};for(var w=document.activeElement,f=[],A=0;A<o.rangeCount;A++)f.push(o.getRangeAt(A));switch(w.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":w.blur();break;default:w=null;break}return o.removeAllRanges(),function(){o.type==="Caret"&&o.removeAllRanges(),o.rangeCount||f.forEach(function(m){o.addRange(m)}),w&&w.focus()}}},ELLl:function(M,B,o){(function(w){w(o("VrN/"))})(function(w){var f={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},A=w.Pos;w.defineOption("autoCloseBrackets",!1,function(t,s,u){u&&u!=w.Init&&(t.removeKeyMap(g),t.state.closeBrackets=null),s&&(p(m(s,"pairs")),t.state.closeBrackets=s,t.addKeyMap(g))});function m(t,s){return s=="pairs"&&typeof t=="string"?t:typeof t=="object"&&t[s]!=null?t[s]:f[s]}var g={Backspace:l,Enter:e};function p(t){for(var s=0;s<t.length;s++){var u=t.charAt(s),d="'"+u+"'";g[d]||(g[d]=c(u))}}p(f.pairs+"`");function c(t){return function(s){return i(s,t)}}function h(t){var s=t.state.closeBrackets;if(!s||s.override)return s;var u=t.getModeAt(t.getCursor());return u.closeBrackets||s}function l(t){var s=h(t);if(!s||t.getOption("disableInput"))return w.Pass;for(var u=m(s,"pairs"),d=t.listSelections(),v=0;v<d.length;v++){if(!d[v].empty())return w.Pass;var y=r(t,d[v].head);if(!y||u.indexOf(y)%2!=0)return w.Pass}for(var v=d.length-1;v>=0;v--){var S=d[v].head;t.replaceRange("",A(S.line,S.ch-1),A(S.line,S.ch+1),"+delete")}}function e(t){var s=h(t),u=s&&m(s,"explode");if(!u||t.getOption("disableInput"))return w.Pass;for(var d=t.listSelections(),v=0;v<d.length;v++){if(!d[v].empty())return w.Pass;var y=r(t,d[v].head);if(!y||u.indexOf(y)%2!=0)return w.Pass}t.operation(function(){var S=t.lineSeparator()||`
|
|
|
`;t.replaceSelection(S+S,null),t.execCommand("goCharLeft"),d=t.listSelections();for(var b=0;b<d.length;b++){var E=d[b].head.line;t.indentLine(E,null,!0),t.indentLine(E+1,null,!0)}})}function n(t){var s=w.cmpPos(t.anchor,t.head)>0;return{anchor:new A(t.anchor.line,t.anchor.ch+(s?-1:1)),head:new A(t.head.line,t.head.ch+(s?1:-1))}}function i(t,s){var u=h(t);if(!u||t.getOption("disableInput"))return w.Pass;var d=m(u,"pairs"),v=d.indexOf(s);if(v==-1)return w.Pass;for(var y=m(u,"closeBefore"),S=m(u,"triples"),b=d.charAt(v+1)==s,E=t.listSelections(),C=v%2==0,T,x=0;x<E.length;x++){var _=E[x],I=_.head,L,R=t.getRange(I,A(I.line,I.ch+1));if(C&&!_.empty())L="surround";else if((b||!C)&&R==s)b&&a(t,I)?L="both":S.indexOf(s)>=0&&t.getRange(I,A(I.line,I.ch+3))==s+s+s?L="skipThree":L="skip";else if(b&&I.ch>1&&S.indexOf(s)>=0&&t.getRange(A(I.line,I.ch-2),I)==s+s){if(I.ch>2&&/\bstring/.test(t.getTokenTypeAt(A(I.line,I.ch-2))))return w.Pass;L="addFour"}else if(b){var k=I.ch==0?" ":t.getRange(A(I.line,I.ch-1),I);if(!w.isWordChar(R)&&k!=s&&!w.isWordChar(k))L="both";else return w.Pass}else if(C&&(R.length===0||/\s/.test(R)||y.indexOf(R)>-1))L="both";else return w.Pass;if(!T)T=L;else if(T!=L)return w.Pass}var F=v%2?d.charAt(v-1):s,P=v%2?s:d.charAt(v+1);t.operation(function(){if(T=="skip")t.execCommand("goCharRight");else if(T=="skipThree")for(var W=0;W<3;W++)t.execCommand("goCharRight");else if(T=="surround"){for(var D=t.getSelections(),W=0;W<D.length;W++)D[W]=F+D[W]+P;t.replaceSelections(D,"around"),D=t.listSelections().slice();for(var W=0;W<D.length;W++)D[W]=n(D[W]);t.setSelections(D)}else T=="both"?(t.replaceSelection(F+P,null),t.triggerElectric(F+P),t.execCommand("goCharLeft")):T=="addFour"&&(t.replaceSelection(F+F+F+F,"before"),t.execCommand("goCharRight"))})}function r(t,s){var u=t.getRange(A(s.line,s.ch-1),A(s.line,s.ch+1));return u.length==2?u:null}function a(t,s){var u=t.getTokenAt(A(s.line,s.ch+1));return/\bstring/.test(u.type)&&u.start==s.ch&&(s.ch==0||!/\bstring/.test(t.getTokenTypeAt(s)))}})},EMyp:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("mFDi"),m=o("K4ya"),g=o("qJCg"),p=o("iLNv"),c=o("vZ6x"),h=["inBrush","outOfBrush"],l="__ecBrushSelect",e="__ecInBrushSelectEvent",n=w.PRIORITY.VISUAL.BRUSH;w.registerLayout(n,function(S,b,E){S.eachComponent({mainType:"brush"},function(C){E&&E.type==="takeGlobalCursor"&&C.setBrushOption(E.key==="brush"?E.brushOption:{brushType:!1})}),i(S)});function i(S){S.eachComponent({mainType:"brush"},function(b){var E=b.brushTargetManager=new c(b.option,S);E.setInputRanges(b.areas,S)})}w.registerVisual(n,function(S,b,E){var C=[],T,x;S.eachComponent({mainType:"brush"},function(_,I){var L={brushId:_.id,brushIndex:I,brushName:_.name,areas:f.clone(_.areas),selected:[]};C.push(L);var R=_.option,k=R.brushLink,F=[],P=[],W=[],D=0;I||(T=R.throttleType,x=R.throttleDelay);var U=f.map(_.areas,function(Y){return d(f.defaults({boundingRect:v[Y.brushType](Y)},Y))}),H=m.createVisualMappings(_.option,h,function(Y){Y.mappingMethod="fixed"});f.isArray(k)&&f.each(k,function(Y){F[Y]=1});function j(Y){return k==="all"||F[Y]}function K(Y){return!!Y.length}S.eachSeries(function(Y,$){var ne=W[$]=[];Y.subType==="parallel"?X(Y,$,ne):z(Y,$,ne)});function X(Y,$){var ne=Y.coordinateSystem;D|=ne.hasAxisBrushed(),j($)&&ne.eachActiveState(Y.getData(),function(J,ge){J==="active"&&(P[ge]=1)})}function z(Y,$,ne){var J=s(Y);if(!J||u(_,$))return;if(f.each(U,function(de){J[de.brushType]&&_.brushTargetManager.controlSeries(de,Y,S)&&ne.push(de),D|=K(ne)}),j($)&&K(ne)){var ge=Y.getData();ge.each(function(de){t(J,ne,ge,de)&&(P[de]=1)})}}S.eachSeries(function(Y,$){var ne={seriesId:Y.id,seriesIndex:$,seriesName:Y.name,dataIndex:[]};L.selected.push(ne);var J=s(Y),ge=W[$],de=Y.getData(),Ie=j($)?function(be){return P[be]?(ne.dataIndex.push(de.getRawIndex(be)),"inBrush"):"outOfBrush"}:function(be){return t(J,ge,de,be)?(ne.dataIndex.push(de.getRawIndex(be)),"inBrush"):"outOfBrush"};(j($)?D:K(ge))&&m.applyVisual(h,H,de,Ie)})}),r(b,T,x,C,E)});function r(S,b,E,C,T){if(!T)return;var x=S.getZr();if(x[e])return;x[l]||(x[l]=a);var _=p.createOrUpdate(x,l,E,b);_(S,C)}function a(S,b){if(!S.isDisposed()){var E=S.getZr();E[e]=!0,S.dispatchAction({type:"brushSelect",batch:b}),E[e]=!1}}function t(S,b,E,C){for(var T=0,x=b.length;T<x;T++){var _=b[T];if(S[_.brushType](C,E,_.selectors,_))return!0}}function s(S){var b=S.brushSelector;if(f.isString(b)){var E=[];return f.each(g,function(T,x){E[x]=function(_,I,L,R){var k=I.getItemLayout(_);return T[b](k,L,R)}}),E}else if(f.isFunction(b)){var C={};return f.each(g,function(T,x){C[x]=b}),C}return b}function u(S,b){var E=S.option.seriesIndex;return E!=null&&E!=="all"&&(f.isArray(E)?f.indexOf(E,b)<0:b!==E)}function d(S){var b=S.selectors={};return f.each(g[S.brushType],function(E,C){b[C]=function(T){return E(T,b,S)}}),S}var v={lineX:f.noop,lineY:f.noop,rect:function(S){return y(S.range)},polygon:function(S){for(var b,E=S.range,C=0,T=E.length;C<T;C++){b=b||[[Infinity,-Infinity],[Infinity,-Infinity]];var x=E[C];x[0]<b[0][0]&&(b[0][0]=x[0]),x[0]>b[0][1]&&(b[0][1]=x[0]),x[1]<b[1][0]&&(b[1][0]=x[1]),x[1]>b[1][1]&&(b[1][1]=x[1])}return b&&y(b)}};function y(S){return new A(S[0][0],S[1][0],S[0][1]-S[0][0],S[1][1]-S[1][0])}B.layoutCovers=i},ERHi:function(M,B,o){var w=o("ProS");o("Z6js"),o("R4Th");var f=o("f5Yq"),A=o("h8O9");w.registerVisual(f("effectScatter","circle")),w.registerLayout(A("effectScatter"))},Efcc:function(M,B,o){"use strict";var w=o("Rbc4"),f=o.n(w),A=o("hw6N"),m=o("W9l/")},EiFl:function(M,B,o){"use strict";var w=o("wx14"),f=o("U8pU"),A=o("ODXe"),m=o("rePB"),g=o("q1tI"),p=o("TSYQ"),c=o.n(p),h=o("1zXZ"),l=o("9R2V"),e=o("bT9E"),n=g.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),i=g.createContext({updateItemErrors:function(){}}),r=function(xe){var re=Object(e.a)(xe,["prefixCls"]);return g.createElement(h.FormProvider,re)},a=g.createContext({prefixCls:""});function t(Ae){return typeof Ae=="object"&&Ae!=null&&Ae.nodeType===1}function s(Ae,xe){return(!xe||Ae!=="hidden")&&Ae!=="visible"&&Ae!=="clip"}function u(Ae,xe){if(Ae.clientHeight<Ae.scrollHeight||Ae.clientWidth<Ae.scrollWidth){var re=getComputedStyle(Ae,null);return s(re.overflowY,xe)||s(re.overflowX,xe)||function(ot){var bt=function(tt){if(!tt.ownerDocument||!tt.ownerDocument.defaultView)return null;try{return tt.ownerDocument.defaultView.frameElement}catch(Tt){return null}}(ot);return!!bt&&(bt.clientHeight<ot.scrollHeight||bt.clientWidth<ot.scrollWidth)}(Ae)}return!1}function d(Ae,xe,re,ot,bt,tt,Tt,Gt){return tt<Ae&&Tt>xe||tt>Ae&&Tt<xe?0:tt<=Ae&&Gt<=re||Tt>=xe&&Gt>=re?tt-Ae-ot:Tt>xe&&Gt<re||tt<Ae&&Gt>re?Tt-xe+bt:0}var v=function(Ae,xe){var re=window,ot=xe.scrollMode,bt=xe.block,tt=xe.inline,Tt=xe.boundary,Gt=xe.skipOverflowHiddenElements,lr=typeof Tt=="function"?Tt:function(bn){return bn!==Tt};if(!t(Ae))throw new TypeError("Invalid target");for(var pr=document.scrollingElement||document.documentElement,Rr=[],xt=Ae;t(xt)&&lr(xt);){if((xt=xt.parentElement)===pr){Rr.push(xt);break}xt!=null&&xt===document.body&&u(xt)&&!u(document.documentElement)||xt!=null&&u(xt,Gt)&&Rr.push(xt)}for(var It=re.visualViewport?re.visualViewport.width:innerWidth,At=re.visualViewport?re.visualViewport.height:innerHeight,Zt=window.scrollX||pageXOffset,br=window.scrollY||pageYOffset,Lr=Ae.getBoundingClientRect(),Jr=Lr.height,In=Lr.width,Gr=Lr.top,Tr=Lr.right,fr=Lr.bottom,vt=Lr.left,ft=bt==="start"||bt==="nearest"?Gr:bt==="end"?fr:Gr+Jr/2,Te=tt==="center"?vt+In/2:tt==="end"?Tr:vt,Pe=[],Ge=0;Ge<Rr.length;Ge++){var st=Rr[Ge],Bt=st.getBoundingClientRect(),$t=Bt.height,Nr=Bt.width,yn=Bt.top,un=Bt.right,Kt=Bt.bottom,St=Bt.left;if(ot==="if-needed"&&Gr>=0&&vt>=0&&fr<=At&&Tr<=It&&Gr>=yn&&fr<=Kt&&vt>=St&&Tr<=un)return Pe;var kt=getComputedStyle(st),Jt=parseInt(kt.borderLeftWidth,10),Br=parseInt(kt.borderTopWidth,10),Hr=parseInt(kt.borderRightWidth,10),$r=parseInt(kt.borderBottomWidth,10),Ft=0,cr=0,Cr="offsetWidth"in st?st.offsetWidth-st.clientWidth-Jt-Hr:0,Fr="offsetHeight"in st?st.offsetHeight-st.clientHeight-Br-$r:0;if(pr===st)Ft=bt==="start"?ft:bt==="end"?ft-At:bt==="nearest"?d(br,br+At,At,Br,$r,br+ft,br+ft+Jr,Jr):ft-At/2,cr=tt==="start"?Te:tt==="center"?Te-It/2:tt==="end"?Te-It:d(Zt,Zt+It,It,Jt,Hr,Zt+Te,Zt+Te+In,In),Ft=Math.max(0,Ft+br),cr=Math.max(0,cr+Zt);else{Ft=bt==="start"?ft-yn-Br:bt==="end"?ft-Kt+$r+Fr:bt==="nearest"?d(yn,Kt,$t,Br,$r+Fr,ft,ft+Jr,Jr):ft-(yn+$t/2)+Fr/2,cr=tt==="start"?Te-St-Jt:tt==="center"?Te-(St+Nr/2)+Cr/2:tt==="end"?Te-un+Hr+Cr:d(St,un,Nr,Jt,Hr+Cr,Te,Te+In,In);var Wr=st.scrollLeft,An=st.scrollTop;ft+=An-(Ft=Math.max(0,Math.min(An+Ft,st.scrollHeight-$t+Fr))),Te+=Wr-(cr=Math.max(0,Math.min(Wr+cr,st.scrollWidth-Nr+Cr)))}Pe.push({el:st,top:Ft,left:cr})}return Pe};function y(Ae){return Ae===Object(Ae)&&Object.keys(Ae).length!==0}function S(Ae,xe){xe===void 0&&(xe="auto");var re="scrollBehavior"in document.body.style;Ae.forEach(function(ot){var bt=ot.el,tt=ot.top,Tt=ot.left;bt.scroll&&re?bt.scroll({top:tt,left:Tt,behavior:xe}):(bt.scrollTop=tt,bt.scrollLeft=Tt)})}function b(Ae){return Ae===!1?{block:"end",inline:"nearest"}:y(Ae)?Ae:{block:"start",inline:"nearest"}}function E(Ae,xe){var re=!Ae.ownerDocument.documentElement.contains(Ae);if(y(xe)&&typeof xe.behavior=="function")return xe.behavior(re?[]:v(Ae,xe));if(re)return;var ot=b(xe);return S(v(Ae,ot),ot.behavior)}var C=E;function T(Ae){return Ae===void 0||Ae===!1?[]:Array.isArray(Ae)?Ae:[Ae]}function x(Ae,xe){if(!Ae.length)return;var re=Ae.join("_");return xe?"".concat(xe,"_").concat(re):re}function _(Ae){var xe=T(Ae);return xe.join("_")}function I(Ae){var xe=Object(h.useForm)(),re=Object(A.a)(xe,1),ot=re[0],bt=g.useRef({}),tt=g.useMemo(function(){return Ae!=null?Ae:Object(w.a)(Object(w.a)({},ot),{__INTERNAL__:{itemRef:function(Gt){return function(lr){var pr=_(Gt);lr?bt.current[pr]=lr:delete bt.current[pr]}}},scrollToField:function(Gt){var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pr=T(Gt),Rr=x(pr,tt.__INTERNAL__.name),xt=Rr?document.getElementById(Rr):null;xt&&C(xt,Object(w.a)({scrollMode:"if-needed",block:"nearest"},lr))},getFieldInstance:function(Gt){var lr=_(Gt);return bt.current[lr]}})},[Ae,ot]);return[tt]}var L=o("kc2O"),R=function(Ae,xe){var re={};for(var ot in Ae)Object.prototype.hasOwnProperty.call(Ae,ot)&&xe.indexOf(ot)<0&&(re[ot]=Ae[ot]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,ot=Object.getOwnPropertySymbols(Ae);bt<ot.length;bt++)xe.indexOf(ot[bt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,ot[bt])&&(re[ot[bt]]=Ae[ot[bt]]);return re},k=function(xe,re){var ot,bt=g.useContext(L.b),tt=g.useContext(l.b),Tt=tt.getPrefixCls,Gt=tt.direction,lr=tt.form,pr=xe.prefixCls,Rr=xe.className,xt=Rr===void 0?"":Rr,It=xe.size,At=It===void 0?bt:It,Zt=xe.form,br=xe.colon,Lr=xe.labelAlign,Jr=xe.labelCol,In=xe.wrapperCol,Gr=xe.hideRequiredMark,Tr=xe.layout,fr=Tr===void 0?"horizontal":Tr,vt=xe.scrollToFirstError,ft=xe.requiredMark,Te=xe.onFinishFailed,Pe=xe.name,Ge=R(xe,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),st=Object(g.useMemo)(function(){return ft!==void 0?ft:lr&&lr.requiredMark!==void 0?lr.requiredMark:!Gr},[Gr,ft,lr]),Bt=Tt("form",pr),$t=c()(Bt,(ot={},Object(m.a)(ot,"".concat(Bt,"-").concat(fr),!0),Object(m.a)(ot,"".concat(Bt,"-hide-required-mark"),st===!1),Object(m.a)(ot,"".concat(Bt,"-rtl"),Gt==="rtl"),Object(m.a)(ot,"".concat(Bt,"-").concat(At),At),ot),xt),Nr=I(Zt),yn=Object(A.a)(Nr,1),un=yn[0],Kt=un.__INTERNAL__;Kt.name=Pe;var St=Object(g.useMemo)(function(){return{name:Pe,labelAlign:Lr,labelCol:Jr,wrapperCol:In,vertical:fr==="vertical",colon:br,requiredMark:st,itemRef:Kt.itemRef}},[Pe,Lr,Jr,In,fr,br,st]);g.useImperativeHandle(re,function(){return un});var kt=function(Br){Te==null||Te(Br);var Hr={block:"nearest"};vt&&Br.errorFields.length&&(Object(f.a)(vt)==="object"&&(Hr=vt),un.scrollToField(Br.errorFields[0].name,Hr))};return g.createElement(L.a,{size:At},g.createElement(n.Provider,{value:St},g.createElement(h.default,Object(w.a)({id:Pe},Ge,{name:Pe,onFinishFailed:kt,form:un,className:$t}))))},F=g.forwardRef(k),P=F,W=o("KQm4"),D=o("Y+p1"),U=o.n(D),H=o("oK6+"),j=o("c+Xe"),K=o("gScr"),X=o("6LNJ"),z=o("bq+4"),Y=o("Lyp1"),$=o("pSJ1"),ne=o("VM9+"),J=o("n3rz"),ge=o("d+VM"),de=function(Ae,xe){var re={};for(var ot in Ae)Object.prototype.hasOwnProperty.call(Ae,ot)&&xe.indexOf(ot)<0&&(re[ot]=Ae[ot]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,ot=Object.getOwnPropertySymbols(Ae);bt<ot.length;bt++)xe.indexOf(ot[bt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,ot[bt])&&(re[ot[bt]]=Ae[ot[bt]]);return re};function Ie(Ae){return Ae?Object(f.a)(Ae)==="object"&&!g.isValidElement(Ae)?Ae:{title:Ae}:null}var be=function(xe){var re=xe.prefixCls,ot=xe.label,bt=xe.htmlFor,tt=xe.labelCol,Tt=xe.labelAlign,Gt=xe.colon,lr=xe.required,pr=xe.requiredMark,Rr=xe.tooltip,xt=Object(ne.b)("Form"),It=Object(A.a)(xt,1),At=It[0];return ot?g.createElement(n.Consumer,{key:"label"},function(Zt){var br,Lr=Zt.vertical,Jr=Zt.labelAlign,In=Zt.labelCol,Gr=Zt.colon,Tr,fr=tt||In||{},vt=Tt||Jr,ft="".concat(re,"-item-label"),Te=c()(ft,vt==="left"&&"".concat(ft,"-left"),fr.className),Pe=ot,Ge=Gt===!0||Gr!==!1&&Gt!==!1,st=Ge&&!Lr;st&&typeof ot=="string"&&ot.trim()!==""&&(Pe=ot.replace(/[:|:]\s*$/,""));var Bt=Ie(Rr);if(Bt){var $t=Bt.icon,Nr=$t===void 0?g.createElement(Y.a,null):$t,yn=de(Bt,["icon"]),un=g.createElement(ge.a,yn,g.cloneElement(Nr,{className:"".concat(re,"-item-tooltip"),title:""}));Pe=g.createElement(g.Fragment,null,Pe,un)}pr==="optional"&&!lr&&(Pe=g.createElement(g.Fragment,null,Pe,g.createElement("span",{className:"".concat(re,"-item-optional"),title:""},(At==null?void 0:At.optional)||((Tr=J.a.Form)===null||Tr===void 0?void 0:Tr.optional))));var Kt=c()((br={},Object(m.a)(br,"".concat(re,"-item-required"),lr),Object(m.a)(br,"".concat(re,"-item-required-mark-optional"),pr==="optional"),Object(m.a)(br,"".concat(re,"-item-no-colon"),!Ge),br));return g.createElement($.a,Object(w.a)({},fr,{className:Te}),g.createElement("label",{htmlFor:bt,className:Kt,title:typeof ot=="string"?ot:""},Pe))}):null},Ce=be,je=o("ye1Q"),te=o("jN4g"),ve=o("jO45"),$e=o("IMoZ"),Le=o("8XRh"),he=o("YrtM"),ee=o("oMPz");function se(Ae,xe,re){var ot=g.useRef({errors:Ae,visible:!!Ae.length}),bt=Object(ee.a)(),tt=function(){var Gt=ot.current.visible,lr=!!Ae.length,pr=ot.current.errors;ot.current.errors=Ae,ot.current.visible=lr,Gt!==lr?xe(lr):(pr.length!==Ae.length||pr.some(function(Rr,xt){return Rr!==Ae[xt]}))&&bt()};return g.useEffect(function(){if(!re){var Tt=setTimeout(tt,10);return function(){return clearTimeout(Tt)}}},[Ae]),re&&tt(),[ot.current.visible,ot.current.errors]}var Ue=[];function ue(Ae){var xe=Ae.errors,re=xe===void 0?Ue:xe,ot=Ae.help,bt=Ae.onDomErrorVisibleChange,tt=Object(ee.a)(),Tt=g.useContext(a),Gt=Tt.prefixCls,lr=Tt.status,pr=g.useContext(l.b),Rr=pr.getPrefixCls,xt=se(re,function(vt){vt&&Promise.resolve().then(function(){bt==null||bt(!0)}),tt()},!!ot),It=Object(A.a)(xt,2),At=It[0],Zt=It[1],br=Object(he.a)(function(){return Zt},At,function(vt,ft){return ft}),Lr=g.useState(lr),Jr=Object(A.a)(Lr,2),In=Jr[0],Gr=Jr[1];g.useEffect(function(){At&&lr&&Gr(lr)},[At,lr]);var Tr="".concat(Gt,"-item-explain"),fr=Rr();return g.createElement(Le.default,{motionDeadline:500,visible:At,motionName:"".concat(fr,"-show-help"),onLeaveEnd:function(){bt==null||bt(!1)}},function(vt){var ft=vt.className;return g.createElement("div",{className:c()(Tr,Object(m.a)({},"".concat(Tr,"-").concat(In),In),ft),key:"help"},br.map(function(Te,Pe){return g.createElement("div",{key:Pe,role:"alert"},Te)}))})}var Ne={success:ve.a,warning:$e.a,error:te.a,validating:je.a},Fe=function(xe){var re=xe.prefixCls,ot=xe.status,bt=xe.wrapperCol,tt=xe.children,Tt=xe.help,Gt=xe.errors,lr=xe.onDomErrorVisibleChange,pr=xe.hasFeedback,Rr=xe._internalItemRender,xt=xe.validateStatus,It=xe.extra,At="".concat(re,"-item"),Zt=g.useContext(n),br=bt||Zt.wrapperCol||{},Lr=c()("".concat(At,"-control"),br.className);g.useEffect(function(){return function(){lr(!1)}},[]);var Jr=xt&&Ne[xt],In=pr&&Jr?g.createElement("span",{className:"".concat(At,"-children-icon")},g.createElement(Jr,null)):null,Gr=Object(w.a)({},Zt);delete Gr.labelCol,delete Gr.wrapperCol;var Tr=g.createElement("div",{className:"".concat(At,"-control-input")},g.createElement("div",{className:"".concat(At,"-control-input-content")},tt),In),fr=g.createElement(a.Provider,{value:{prefixCls:re,status:ot}},g.createElement(ue,{errors:Gt,help:Tt,onDomErrorVisibleChange:lr})),vt=It?g.createElement("div",{className:"".concat(At,"-extra")},It):null,ft=Rr&&Rr.mark==="pro_table_render"&&Rr.render?Rr.render(xe,{input:Tr,errorList:fr,extra:vt}):g.createElement(g.Fragment,null,Tr,fr,vt);return g.createElement(n.Provider,{value:Gr},g.createElement($.a,Object(w.a)({},br,{className:Lr}),ft))},ae=Fe,ce=o("kLeg"),_e=o("wgJM");function ze(Ae){var xe=g.useState(Ae),re=Object(A.a)(xe,2),ot=re[0],bt=re[1],tt=Object(g.useRef)(null),Tt=Object(g.useRef)([]),Gt=Object(g.useRef)(!1);g.useEffect(function(){return function(){Gt.current=!0,_e.a.cancel(tt.current)}},[]);function lr(pr){if(Gt.current)return;tt.current===null&&(Tt.current=[],tt.current=Object(_e.a)(function(){tt.current=null,bt(function(Rr){var xt=Rr;return Tt.current.forEach(function(It){xt=It(xt)}),xt})})),Tt.current.push(pr)}return[ot,lr]}function it(){var Ae=g.useContext(n),xe=Ae.itemRef,re=g.useRef({});function ot(bt,tt){var Tt=tt&&Object(f.a)(tt)==="object"&&tt.ref,Gt=bt.join("_");return(re.current.name!==Gt||re.current.originRef!==Tt)&&(re.current.name=Gt,re.current.originRef=Tt,re.current.ref=Object(j.a)(xe(bt),Tt)),re.current.ref}return ot}var Ze=function(Ae,xe){var re={};for(var ot in Ae)Object.prototype.hasOwnProperty.call(Ae,ot)&&xe.indexOf(ot)<0&&(re[ot]=Ae[ot]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,ot=Object.getOwnPropertySymbols(Ae);bt<ot.length;bt++)xe.indexOf(ot[bt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,ot[bt])&&(re[ot[bt]]=Ae[ot[bt]]);return re},Ee="__SPLIT__",mt=Object(X.a)("success","warning","error","validating",""),Je=g.memo(function(Ae){var xe=Ae.children;return xe},function(Ae,xe){return Ae.value===xe.value&&Ae.update===xe.update});function rt(Ae){return Ae===null&&Object(z.a)(!1,"Form.Item","`null` is passed as `name` property"),!(Ae==null)}function wt(Ae){var xe=Ae.name,re=Ae.fieldKey,ot=Ae.noStyle,bt=Ae.dependencies,tt=Ae.prefixCls,Tt=Ae.style,Gt=Ae.className,lr=Ae.shouldUpdate,pr=Ae.hasFeedback,Rr=Ae.help,xt=Ae.rules,It=Ae.validateStatus,At=Ae.children,Zt=Ae.required,br=Ae.label,Lr=Ae.messageVariables,Jr=Ae.trigger,In=Jr===void 0?"onChange":Jr,Gr=Ae.validateTrigger,Tr=Ae.hidden,fr=Ze(Ae,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","messageVariables","trigger","validateTrigger","hidden"]),vt=Object(g.useRef)(!1),ft=Object(g.useContext)(l.b),Te=ft.getPrefixCls,Pe=Object(g.useContext)(n),Ge=Pe.name,st=Pe.requiredMark,Bt=Object(g.useContext)(i),$t=Bt.updateItemErrors,Nr=g.useState(!!Rr),yn=Object(A.a)(Nr,2),un=yn[0],Kt=yn[1],St=ze({}),kt=Object(A.a)(St,2),Jt=kt[0],Br=kt[1],Hr=Object(g.useContext)(H.b),$r=Hr.validateTrigger,Ft=Gr!==void 0?Gr:$r;function cr(ai){vt.current||Kt(ai)}var Cr=rt(xe),Fr=Object(g.useRef)([]);g.useEffect(function(){return function(){vt.current=!0,$t(Fr.current.join(Ee),[])}},[]);var Wr=Te("form",tt),An=ot?$t:function(ai,ii,qe){Br(function(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return qe&&qe!==ai&&delete Se[qe],U()(Se[ai],ii)?Se:Object(w.a)(Object(w.a)({},Se),Object(m.a)({},ai,ii))})},bn=it();function Sn(ai,ii,qe,Se){var Me,Be;if(ot&&!Tr)return ai;var Qe=[];Object.keys(Jt).forEach(function(ht){Qe=[].concat(Object(W.a)(Qe),Object(W.a)(Jt[ht]||[]))});var Ve;Rr!=null?Ve=T(Rr):(Ve=qe?qe.errors:[],Ve=[].concat(Object(W.a)(Ve),Object(W.a)(Qe)));var Ye="";It!==void 0?Ye=It:(qe==null?void 0:qe.validating)?Ye="validating":((Be=qe==null?void 0:qe.errors)===null||Be===void 0?void 0:Be.length)||Qe.length?Ye="error":(qe==null?void 0:qe.touched)&&(Ye="success");var pt=(Me={},Object(m.a)(Me,"".concat(Wr,"-item"),!0),Object(m.a)(Me,"".concat(Wr,"-item-with-help"),un||!!Rr),Object(m.a)(Me,"".concat(Gt),!!Gt),Object(m.a)(Me,"".concat(Wr,"-item-has-feedback"),Ye&&pr),Object(m.a)(Me,"".concat(Wr,"-item-has-success"),Ye==="success"),Object(m.a)(Me,"".concat(Wr,"-item-has-warning"),Ye==="warning"),Object(m.a)(Me,"".concat(Wr,"-item-has-error"),Ye==="error"),Object(m.a)(Me,"".concat(Wr,"-item-is-validating"),Ye==="validating"),Object(m.a)(Me,"".concat(Wr,"-item-hidden"),Tr),Me);return g.createElement(K.a,Object(w.a)({className:c()(pt),style:Tt,key:"row"},Object(e.a)(fr,["colon","extra","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","labelAlign","labelCol","normalize","preserve","tooltip","validateFirst","valuePropName","wrapperCol","_internalItemRender"])),g.createElement(Ce,Object(w.a)({htmlFor:ii,required:Se,requiredMark:st},Ae,{prefixCls:Wr})),g.createElement(ae,Object(w.a)({},Ae,qe,{errors:Ve,prefixCls:Wr,status:Ye,onDomErrorVisibleChange:cr,validateStatus:Ye}),g.createElement(i.Provider,{value:{updateItemErrors:An}},ai)))}var kn=typeof At=="function",ei=Object(g.useRef)(0);if(ei.current+=1,!Cr&&!kn&&!bt)return Sn(At);var Jn={};return typeof br=="string"?Jn.label=br:xe&&(Jn.label=String(xe)),Lr&&(Jn=Object(w.a)(Object(w.a)({},Jn),Lr)),g.createElement(h.Field,Object(w.a)({},Ae,{messageVariables:Jn,trigger:In,validateTrigger:Ft,onReset:function(){cr(!1)}}),function(ai,ii,qe){var Se=ii.errors,Me=T(xe).length&&ii?ii.name:[],Be=x(Me,Ge);if(ot){var Qe=Fr.current.join(Ee);if(Fr.current=Object(W.a)(Me),re){var Ve=Array.isArray(re)?re:[re];Fr.current=[].concat(Object(W.a)(Me.slice(0,-1)),Object(W.a)(Ve))}$t(Fr.current.join(Ee),Se,Qe)}var Ye=Zt!==void 0?Zt:!!(xt&&xt.some(function(tr){if(tr&&Object(f.a)(tr)==="object"&&tr.required)return!0;if(typeof tr=="function"){var ir=tr(qe);return ir&&ir.required}return!1})),pt=Object(w.a)({},ai),ht=null;if(Object(z.a)(!(lr&&bt),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(At)&&Cr)Object(z.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),ht=At;else if(kn&&(!(lr||bt)||Cr))Object(z.a)(!!(lr||bt),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(z.a)(!Cr,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(bt&&!kn&&!Cr)Object(z.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(ce.b)(At)){Object(z.a)(At.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Vt=Object(w.a)(Object(w.a)({},At.props),pt);Vt.id||(Vt.id=Be),Object(j.c)(At)&&(Vt.ref=bn(Me,At));var dr=new Set([].concat(Object(W.a)(T(In)),Object(W.a)(T(Ft))));dr.forEach(function(tr){Vt[tr]=function(){for(var ir,_t,gr,jt,Sr,Ar=arguments.length,sr=new Array(Ar),ln=0;ln<Ar;ln++)sr[ln]=arguments[ln];(gr=pt[tr])===null||gr===void 0||(ir=gr).call.apply(ir,[pt].concat(sr)),(Sr=(jt=At.props)[tr])===null||Sr===void 0||(_t=Sr).call.apply(_t,[jt].concat(sr))}}),ht=g.createElement(Je,{value:pt[Ae.valuePropName||"value"],update:ei.current},Object(ce.a)(At,Vt))}else kn&&(lr||bt)&&!Cr?ht=At(qe):(Object(z.a)(!Me.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),ht=At);return Sn(ht,Be,ii,Ye)})}var Ot=wt,Ct=function(Ae,xe){var re={};for(var ot in Ae)Object.prototype.hasOwnProperty.call(Ae,ot)&&xe.indexOf(ot)<0&&(re[ot]=Ae[ot]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,ot=Object.getOwnPropertySymbols(Ae);bt<ot.length;bt++)xe.indexOf(ot[bt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,ot[bt])&&(re[ot[bt]]=Ae[ot[bt]]);return re},Dt=function(xe){var re=xe.prefixCls,ot=xe.children,bt=Ct(xe,["prefixCls","children"]);Object(z.a)(!!bt.name,"Form.List","Miss `name` prop.");var tt=g.useContext(l.b),Tt=tt.getPrefixCls,Gt=Tt("form",re);return g.createElement(h.List,bt,function(lr,pr,Rr){return g.createElement(a.Provider,{value:{prefixCls:Gt,status:"error"}},ot(lr.map(function(xt){return Object(w.a)(Object(w.a)({},xt),{fieldKey:xt.key})}),pr,{errors:Rr.errors}))})},Xe=Dt,q=P;q.Item=Ot,q.List=Xe,q.ErrorList=ue,q.useForm=I,q.Provider=r,q.create=function(){Object(z.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var V=B.a=q},Em2t:function(M,B,o){var w=o("bahg"),f=o("quyA"),A=o("0JQy");function m(g){return f(g)?A(g):w(g)}M.exports=m},Ez2D:function(M,B,o){var w=o("bYtY"),f=o("4NO4");function A(m,g){var p=[],c=m.seriesIndex,h;if(c==null||!(h=g.getSeriesByIndex(c)))return{point:[]};var l=h.getData(),e=f.queryDataIndex(l,m);if(e==null||e<0||w.isArray(e))return{point:[]};var n=l.getItemGraphicEl(e),i=h.coordinateSystem;if(h.getTooltipPosition)p=h.getTooltipPosition(e)||[];else if(i&&i.dataToPoint)p=i.dataToPoint(l.getValues(w.map(i.dimensions,function(a){return l.mapDimension(a)}),e,!0))||[];else if(n){var r=n.getBoundingRect().clone();r.applyTransform(n.transform),p=[r.x+r.width/2,r.y+r.height/2]}return{point:p,el:n}}M.exports=A},F0hE:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("ca2m"),m=o("Qxkt"),g=o("ICMv"),p=A.valueAxis;function c(e,n){return f.defaults({show:n},e)}var h=w.extendComponentModel({type:"radar",optionUpdated:function(){var e=this.get("boundaryGap"),n=this.get("splitNumber"),i=this.get("scale"),r=this.get("axisLine"),a=this.get("axisTick"),t=this.get("axisType"),s=this.get("axisLabel"),u=this.get("name"),d=this.get("name.show"),v=this.get("name.formatter"),y=this.get("nameGap"),S=this.get("triggerEvent"),b=f.map(this.get("indicator")||[],function(E){E.max!=null&&E.max>0&&!E.min?E.min=0:E.min!=null&&E.min<0&&!E.max&&(E.max=0);var C=u;if(E.color!=null&&(C=f.defaults({color:E.color},u)),E=f.merge(f.clone(E),{boundaryGap:e,splitNumber:n,scale:i,axisLine:r,axisTick:a,axisType:t,axisLabel:s,name:E.text,nameLocation:"end",nameGap:y,nameTextStyle:C,triggerEvent:S},!1),d||(E.name=""),typeof v=="string"){var T=E.name;E.name=v.replace("{value}",T!=null?T:"")}else typeof v=="function"&&(E.name=v(E.name,E));var x=f.extend(new m(E,null,this.ecModel),g);return x.mainType="radar",x.componentIndex=this.componentIndex,x},this);this.getIndicatorModels=function(){return b}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:f.merge({lineStyle:{color:"#bbb"}},p.axisLine),axisLabel:c(p.axisLabel,!1),axisTick:c(p.axisTick,!1),axisType:"interval",splitLine:c(p.splitLine,!0),splitArea:c(p.splitArea,!0),indicator:[]}}),l=h;M.exports=l},F5Ls:function(M,B){var o={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function w(f,A){if(f==="china"){var m=o[A.name];if(m){var g=A.center;g[0]+=m[0]/10.5,g[1]+=-m[1]/(10.5/.75)}}}M.exports=w},F7hV:function(M,B,o){var w=o("MBQ8"),f=w.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var A=this.get("progressiveThreshold"),m=this.get("largeThreshold");return m>A&&(A=m),A},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}}});M.exports=f},F9bG:function(M,B,o){var w=o("bYtY"),f=o("ItGF"),A=o("4NO4"),m=A.makeInner,g=m(),p=w.each;function c(a,t,s){if(f.node)return;var u=t.getZr();g(u).records||(g(u).records={}),h(u,t);var d=g(u).records[a]||(g(u).records[a]={});d.handler=s}function h(a,t){if(g(a).initialized)return;g(a).initialized=!0,s("click",w.curry(n,"click")),s("mousemove",w.curry(n,"mousemove")),s("globalout",e);function s(u,d){a.on(u,function(v){var y=i(t);p(g(a).records,function(S){S&&d(S,v,y.dispatchAction)}),l(y.pendings,t)})}}function l(a,t){var s=a.showTip.length,u=a.hideTip.length,d;s?d=a.showTip[s-1]:u&&(d=a.hideTip[u-1]),d&&(d.dispatchAction=null,t.dispatchAction(d))}function e(a,t,s){a.handler("leave",null,s)}function n(a,t,s,u){t.handler(a,s,u)}function i(a){var t={showTip:[],hideTip:[]},s=function(u){var d=t[u.type];d?d.push(u):(u.dispatchAction=s,a.dispatchAction(u))};return{dispatchAction:s,pendings:t}}function r(a,t){if(f.node)return;var s=t.getZr(),u=(g(s).records||{})[a];u&&(g(s).records[a]=null)}B.register=c,B.unregister=r},FBjb:function(M,B,o){var w=o("bYtY"),f=o("oVpE"),A=f.createSymbol,m=o("IwbS"),g=o("OELB"),p=g.parsePercent,c=o("x3X8"),h=c.getDefaultLabel;function l(y,S,b){m.Group.call(this),this.updateData(y,S,b)}var e=l.prototype,n=l.getSymbolSize=function(y,S){var b=y.getItemVisual(S,"symbolSize");return b instanceof Array?b.slice():[+b,+b]};function i(y){return[y[0]/2,y[1]/2]}function r(y,S){this.parent.drift(y,S)}e._createSymbol=function(y,S,b,E,C){this.removeAll();var T=S.getItemVisual(b,"color"),x=A(y,-1,-1,2,2,T,C);x.attr({z2:100,culling:!0,scale:i(E)}),x.drift=r,this._symbolType=y,this.add(x)},e.stopSymbolAnimation=function(y){this.childAt(0).stopAnimation(y)},e.getSymbolPath=function(){return this.childAt(0)},e.getScale=function(){return this.childAt(0).scale},e.highlight=function(){this.childAt(0).trigger("emphasis")},e.downplay=function(){this.childAt(0).trigger("normal")},e.setZ=function(y,S){var b=this.childAt(0);b.zlevel=y,b.z=S},e.setDraggable=function(y){var S=this.childAt(0);S.draggable=y,S.cursor=y?"move":S.cursor},e.updateData=function(y,S,b){this.silent=!1;var E=y.getItemVisual(S,"symbol")||"circle",C=y.hostModel,T=n(y,S),x=E!==this._symbolType;if(x){var _=y.getItemVisual(S,"symbolKeepAspect");this._createSymbol(E,y,S,T,_)}else{var I=this.childAt(0);I.silent=!1,m.updateProps(I,{scale:i(T)},C,S)}if(this._updateCommon(y,S,T,b),x){var I=this.childAt(0),L=b&&b.fadeIn,R={scale:I.scale.slice()};L&&(R.style={opacity:I.style.opacity}),I.scale=[0,0],L&&(I.style.opacity=0),m.initProps(I,R,C,S)}this._seriesModel=C};var a=["itemStyle"],t=["emphasis","itemStyle"],s=["label"],u=["emphasis","label"];e._updateCommon=function(y,S,b,E){var C=this.childAt(0),T=y.hostModel,x=y.getItemVisual(S,"color");C.type!=="image"?C.useStyle({strokeNoScale:!0}):C.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var _=E&&E.itemStyle,I=E&&E.hoverItemStyle,L=E&&E.symbolOffset,R=E&&E.labelModel,k=E&&E.hoverLabelModel,F=E&&E.hoverAnimation,P=E&&E.cursorStyle;if(!E||y.hasItemOption){var W=E&&E.itemModel?E.itemModel:y.getItemModel(S);_=W.getModel(a).getItemStyle(["color"]),I=W.getModel(t).getItemStyle(),L=W.getShallow("symbolOffset"),R=W.getModel(s),k=W.getModel(u),F=W.getShallow("hoverAnimation"),P=W.getShallow("cursor")}else I=w.extend({},I);var D=C.style,U=y.getItemVisual(S,"symbolRotate");C.attr("rotation",(U||0)*Math.PI/180||0),L&&C.attr("position",[p(L[0],b[0]),p(L[1],b[1])]),P&&C.attr("cursor",P),C.setColor(x,E&&E.symbolInnerColor),C.setStyle(_);var H=y.getItemVisual(S,"opacity");H!=null&&(D.opacity=H);var j=y.getItemVisual(S,"liftZ"),K=C.__z2Origin;j!=null?K==null&&(C.__z2Origin=C.z2,C.z2+=j):K!=null&&(C.z2=K,C.__z2Origin=null);var X=E&&E.useNameLabel;m.setLabelStyle(D,I,R,k,{labelFetcher:T,labelDataIndex:S,defaultText:z,isRectText:!0,autoColor:x});function z(Y,$){return X?y.getName(Y):h(y,Y)}C.__symbolOriginalScale=i(b),C.hoverStyle=I,C.highDownOnUpdate=F&&T.isAnimationEnabled()?d:null,m.setHoverStyle(C)};function d(y,S){if(this.incremental||this.useHoverLayer)return;if(S==="emphasis"){var b=this.__symbolOriginalScale,E=b[1]/b[0],C={scale:[Math.max(b[0]*1.1,b[0]+3),Math.max(b[1]*1.1,b[1]+3*E)]};this.animateTo(C,400,"elasticOut")}else S==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}e.fadeOut=function(y,S){var b=this.childAt(0);this.silent=b.silent=!0,!(S&&S.keepLabel)&&(b.style.text=null),m.updateProps(b,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,y)},w.inherits(l,m.Group);var v=l;M.exports=v},FGaS:function(M,B,o){var w=o("ProS"),f=o("IwbS"),A=o("bYtY"),m=o("oVpE");function g(c){return A.isArray(c)||(c=[+c,+c]),c}var p=w.extendChartView({type:"radar",render:function(c,h,l){var e=c.coordinateSystem,n=this.group,i=c.getData(),r=this._data;function a(u,d){var v=u.getItemVisual(d,"symbol")||"circle",y=u.getItemVisual(d,"color");if(v==="none")return;var S=g(u.getItemVisual(d,"symbolSize")),b=m.createSymbol(v,-1,-1,2,2,y);return b.attr({style:{strokeNoScale:!0},z2:100,scale:[S[0]/2,S[1]/2]}),b}function t(u,d,v,y,S,b){v.removeAll();for(var E=0;E<d.length-1;E++){var C=a(y,S);C&&(C.__dimIdx=E,u[E]?(C.attr("position",u[E]),f[b?"initProps":"updateProps"](C,{position:d[E]},c,S)):C.attr("position",d[E]),v.add(C))}}function s(u){return A.map(u,function(d){return[e.cx,e.cy]})}i.diff(r).add(function(u){var d=i.getItemLayout(u);if(!d)return;var v=new f.Polygon,y=new f.Polyline,S={shape:{points:d}};v.shape.points=s(d),y.shape.points=s(d),f.initProps(v,S,c,u),f.initProps(y,S,c,u);var b=new f.Group,E=new f.Group;b.add(y),b.add(v),b.add(E),t(y.shape.points,d,E,i,u,!0),i.setItemGraphicEl(u,b)}).update(function(u,d){var v=r.getItemGraphicEl(d),y=v.childAt(0),S=v.childAt(1),b=v.childAt(2),E={shape:{points:i.getItemLayout(u)}};if(!E.shape.points)return;t(y.shape.points,E.shape.points,b,i,u,!1),f.updateProps(y,E,c),f.updateProps(S,E,c),i.setItemGraphicEl(u,v)}).remove(function(u){n.remove(r.getItemGraphicEl(u))}).execute(),i.eachItemGraphicEl(function(u,d){var v=i.getItemModel(d),y=u.childAt(0),S=u.childAt(1),b=u.childAt(2),E=i.getItemVisual(d,"color");n.add(u),y.useStyle(A.defaults(v.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:E})),y.hoverStyle=v.getModel("emphasis.lineStyle").getLineStyle();var C=v.getModel("areaStyle"),T=v.getModel("emphasis.areaStyle"),x=C.isEmpty()&&C.parentModel.isEmpty(),_=T.isEmpty()&&T.parentModel.isEmpty();_=_&&x,S.ignore=x,S.useStyle(A.defaults(C.getAreaStyle(),{fill:E,opacity:.7})),S.hoverStyle=T.getAreaStyle();var I=v.getModel("itemStyle").getItemStyle(["color"]),L=v.getModel("emphasis.itemStyle").getItemStyle(),R=v.getModel("label"),k=v.getModel("emphasis.label");b.eachChild(function(F){F.setStyle(I),F.hoverStyle=A.clone(L);var P=i.get(i.dimensions[F.__dimIdx],d);(P==null||isNaN(P))&&(P=""),f.setLabelStyle(F.style,F.hoverStyle,R,k,{labelFetcher:i.hostModel,labelDataIndex:d,labelDimIndex:F.__dimIdx,defaultText:P,autoColor:E,isRectText:!0})}),u.highDownOnUpdate=function(F,P){S.attr("ignore",P==="emphasis"?_:x)},f.setHoverStyle(u)}),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});M.exports=p},FIeM:function(M,B,o){"use strict";var w=o("wx14"),f=o("rePB"),A=o("1OyB"),m=o("vuIU"),g=o("Ji7U"),p=o("LK+K"),c=o("q1tI"),h=o("TSYQ"),l=o.n(h),e=o("bT9E"),n=o("jN4g"),i=o("6LNJ"),r=o("kLeg");function a(ee,se,Ue,ue,Ne){var Fe;return l()(ee,(Fe={},Object(f.a)(Fe,"".concat(ee,"-sm"),Ue==="small"),Object(f.a)(Fe,"".concat(ee,"-lg"),Ue==="large"),Object(f.a)(Fe,"".concat(ee,"-disabled"),ue),Object(f.a)(Fe,"".concat(ee,"-rtl"),Ne==="rtl"),Object(f.a)(Fe,"".concat(ee,"-borderless"),!se),Fe))}function t(ee){return!!(ee.prefix||ee.suffix||ee.allowClear)}var s=Object(i.a)("text","input");function u(ee){return!!(ee.addonBefore||ee.addonAfter)}var d=function(ee){Object(g.a)(Ue,ee);var se=Object(p.a)(Ue);function Ue(){var ue;return Object(A.a)(this,Ue),ue=se.apply(this,arguments),ue.containerRef=c.createRef(),ue.onInputMouseUp=function(Ne){var Fe;if((Fe=ue.containerRef.current)===null||Fe===void 0?void 0:Fe.contains(Ne.target)){var ae=ue.props.triggerFocus;ae==null||ae()}},ue}return Object(m.a)(Ue,[{key:"renderClearIcon",value:function(Ne){var Fe,ae=this.props,ce=ae.allowClear,_e=ae.value,ze=ae.disabled,it=ae.readOnly,Ze=ae.handleReset,Ee=ae.suffix;if(!ce)return null;var mt=!ze&&!it&&_e,Je="".concat(Ne,"-clear-icon");return c.createElement(n.a,{onClick:Ze,onMouseDown:function(wt){return wt.preventDefault()},className:l()((Fe={},Object(f.a)(Fe,"".concat(Je,"-hidden"),!mt),Object(f.a)(Fe,"".concat(Je,"-has-suffix"),!!Ee),Fe),Je),role:"button"})}},{key:"renderSuffix",value:function(Ne){var Fe=this.props,ae=Fe.suffix,ce=Fe.allowClear;return ae||ce?c.createElement("span",{className:"".concat(Ne,"-suffix")},this.renderClearIcon(Ne),ae):null}},{key:"renderLabeledIcon",value:function(Ne,Fe){var ae,ce=this.props,_e=ce.focused,ze=ce.value,it=ce.prefix,Ze=ce.className,Ee=ce.size,mt=ce.suffix,Je=ce.disabled,rt=ce.allowClear,wt=ce.direction,Ot=ce.style,Ct=ce.readOnly,Dt=ce.bordered,Xe=this.renderSuffix(Ne);if(!t(this.props))return Object(r.a)(Fe,{value:ze});var q=it?c.createElement("span",{className:"".concat(Ne,"-prefix")},it):null,V=l()("".concat(Ne,"-affix-wrapper"),(ae={},Object(f.a)(ae,"".concat(Ne,"-affix-wrapper-focused"),_e),Object(f.a)(ae,"".concat(Ne,"-affix-wrapper-disabled"),Je),Object(f.a)(ae,"".concat(Ne,"-affix-wrapper-sm"),Ee==="small"),Object(f.a)(ae,"".concat(Ne,"-affix-wrapper-lg"),Ee==="large"),Object(f.a)(ae,"".concat(Ne,"-affix-wrapper-input-with-clear-btn"),mt&&rt&&ze),Object(f.a)(ae,"".concat(Ne,"-affix-wrapper-rtl"),wt==="rtl"),Object(f.a)(ae,"".concat(Ne,"-affix-wrapper-readonly"),Ct),Object(f.a)(ae,"".concat(Ne,"-affix-wrapper-borderless"),!Dt),Object(f.a)(ae,"".concat(Ze),!u(this.props)&&Ze),ae));return c.createElement("span",{ref:this.containerRef,className:V,style:Ot,onMouseUp:this.onInputMouseUp},q,Object(r.a)(Fe,{style:null,value:ze,className:a(Ne,Dt,Ee,Je)}),Xe)}},{key:"renderInputWithLabel",value:function(Ne,Fe){var ae,ce=this.props,_e=ce.addonBefore,ze=ce.addonAfter,it=ce.style,Ze=ce.size,Ee=ce.className,mt=ce.direction;if(!u(this.props))return Fe;var Je="".concat(Ne,"-group"),rt="".concat(Je,"-addon"),wt=_e?c.createElement("span",{className:rt},_e):null,Ot=ze?c.createElement("span",{className:rt},ze):null,Ct=l()("".concat(Ne,"-wrapper"),Je,Object(f.a)({},"".concat(Je,"-rtl"),mt==="rtl")),Dt=l()("".concat(Ne,"-group-wrapper"),(ae={},Object(f.a)(ae,"".concat(Ne,"-group-wrapper-sm"),Ze==="small"),Object(f.a)(ae,"".concat(Ne,"-group-wrapper-lg"),Ze==="large"),Object(f.a)(ae,"".concat(Ne,"-group-wrapper-rtl"),mt==="rtl"),ae),Ee);return c.createElement("span",{className:Dt,style:it},c.createElement("span",{className:Ct},wt,Object(r.a)(Fe,{style:null}),Ot))}},{key:"renderTextAreaWithClearIcon",value:function(Ne,Fe){var ae,ce=this.props,_e=ce.value,ze=ce.allowClear,it=ce.className,Ze=ce.style,Ee=ce.direction,mt=ce.bordered;if(!ze)return Object(r.a)(Fe,{value:_e});var Je=l()("".concat(Ne,"-affix-wrapper"),"".concat(Ne,"-affix-wrapper-textarea-with-clear-btn"),(ae={},Object(f.a)(ae,"".concat(Ne,"-affix-wrapper-rtl"),Ee==="rtl"),Object(f.a)(ae,"".concat(Ne,"-affix-wrapper-borderless"),!mt),Object(f.a)(ae,"".concat(it),!u(this.props)&&it),ae));return c.createElement("span",{className:Je,style:Ze},Object(r.a)(Fe,{style:null,value:_e}),this.renderClearIcon(Ne))}},{key:"render",value:function(){var Ne=this.props,Fe=Ne.prefixCls,ae=Ne.inputType,ce=Ne.element;return ae===s[0]?this.renderTextAreaWithClearIcon(Fe,ce):this.renderInputWithLabel(Fe,this.renderLabeledIcon(Fe,ce))}}]),Ue}(c.Component),v=d,y=o("9R2V"),S=o("kc2O"),b=o("bq+4");function E(ee){return typeof ee=="undefined"||ee===null?"":ee}function C(ee,se,Ue,ue){if(!Ue)return;var Ne=se,Fe=ee.value;if(se.type==="click"){Ne=Object.create(se),Ne.target=ee,Ne.currentTarget=ee,ee.value="",Ue(Ne),ee.value=Fe;return}if(ue!==void 0){Ne=Object.create(se),Ne.target=ee,Ne.currentTarget=ee,ee.value=ue,Ue(Ne);return}Ue(Ne)}function T(ee,se){if(!ee)return;ee.focus(se);var Ue=se||{},ue=Ue.cursor;if(ue){var Ne=ee.value.length;switch(ue){case"start":ee.setSelectionRange(0,0);break;case"end":ee.setSelectionRange(Ne,Ne);break;default:ee.setSelectionRange(0,Ne)}}}var x=function(ee){Object(g.a)(Ue,ee);var se=Object(p.a)(Ue);function Ue(ue){var Ne;Object(A.a)(this,Ue),Ne=se.call(this,ue),Ne.direction="ltr",Ne.focus=function(ae){T(Ne.input,ae)},Ne.saveClearableInput=function(ae){Ne.clearableInput=ae},Ne.saveInput=function(ae){Ne.input=ae},Ne.onFocus=function(ae){var ce=Ne.props.onFocus;Ne.setState({focused:!0},Ne.clearPasswordValueAttribute),ce==null||ce(ae)},Ne.onBlur=function(ae){var ce=Ne.props.onBlur;Ne.setState({focused:!1},Ne.clearPasswordValueAttribute),ce==null||ce(ae)},Ne.handleReset=function(ae){Ne.setValue("",function(){Ne.focus()}),C(Ne.input,ae,Ne.props.onChange)},Ne.renderInput=function(ae,ce,_e){var ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},it=Ne.props,Ze=it.className,Ee=it.addonBefore,mt=it.addonAfter,Je=it.size,rt=it.disabled,wt=Object(e.a)(Ne.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return c.createElement("input",Object(w.a)({autoComplete:ze.autoComplete},wt,{onChange:Ne.handleChange,onFocus:Ne.onFocus,onBlur:Ne.onBlur,onKeyDown:Ne.handleKeyDown,className:l()(a(ae,_e,Je||ce,rt,Ne.direction),Object(f.a)({},Ze,Ze&&!Ee&&!mt)),ref:Ne.saveInput}))},Ne.clearPasswordValueAttribute=function(){Ne.removePasswordTimeout=setTimeout(function(){Ne.input&&Ne.input.getAttribute("type")==="password"&&Ne.input.hasAttribute("value")&&Ne.input.removeAttribute("value")})},Ne.handleChange=function(ae){Ne.setValue(ae.target.value,Ne.clearPasswordValueAttribute),C(Ne.input,ae,Ne.props.onChange)},Ne.handleKeyDown=function(ae){var ce=Ne.props,_e=ce.onPressEnter,ze=ce.onKeyDown;_e&&ae.keyCode===13&&_e(ae),ze==null||ze(ae)},Ne.renderComponent=function(ae){var ce=ae.getPrefixCls,_e=ae.direction,ze=ae.input,it=Ne.state,Ze=it.value,Ee=it.focused,mt=Ne.props,Je=mt.prefixCls,rt=mt.bordered,wt=rt===void 0?!0:rt,Ot=ce("input",Je);return Ne.direction=_e,c.createElement(S.b.Consumer,null,function(Ct){return c.createElement(v,Object(w.a)({size:Ct},Ne.props,{prefixCls:Ot,inputType:"input",value:E(Ze),element:Ne.renderInput(Ot,Ct,wt,ze),handleReset:Ne.handleReset,ref:Ne.saveClearableInput,direction:_e,focused:Ee,triggerFocus:Ne.focus,bordered:wt}))})};var Fe=typeof ue.value=="undefined"?ue.defaultValue:ue.value;return Ne.state={value:Fe,focused:!1,prevValue:ue.value},Ne}return Object(m.a)(Ue,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Ne){return t(Ne)!==t(this.props)&&Object(b.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:"setSelectionRange",value:function(Ne,Fe,ae){this.input.setSelectionRange(Ne,Fe,ae)}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(Ne,Fe){this.props.value===void 0?this.setState({value:Ne},Fe):Fe==null||Fe()}},{key:"render",value:function(){return c.createElement(y.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Ne,Fe){var ae=Fe.prevValue,ce={prevValue:Ne.value};return(Ne.value!==void 0||ae!==Ne.value)&&(ce.value=Ne.value),ce}}]),Ue}(c.Component);x.defaultProps={type:"text"};var _=x,I=function(se){return c.createElement(y.a,null,function(Ue){var ue,Ne=Ue.getPrefixCls,Fe=Ue.direction,ae=se.prefixCls,ce=se.className,_e=ce===void 0?"":ce,ze=Ne("input-group",ae),it=l()(ze,(ue={},Object(f.a)(ue,"".concat(ze,"-lg"),se.size==="large"),Object(f.a)(ue,"".concat(ze,"-sm"),se.size==="small"),Object(f.a)(ue,"".concat(ze,"-compact"),se.compact),Object(f.a)(ue,"".concat(ze,"-rtl"),Fe==="rtl"),ue),_e);return c.createElement("span",{className:it,style:se.style,onMouseEnter:se.onMouseEnter,onMouseLeave:se.onMouseLeave,onFocus:se.onFocus,onBlur:se.onBlur},se.children)})},L=I,R=o("c+Xe"),k=o("l+S1"),F=o("Fc8i"),P=function(ee,se){var Ue={};for(var ue in ee)Object.prototype.hasOwnProperty.call(ee,ue)&&se.indexOf(ue)<0&&(Ue[ue]=ee[ue]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ue=Object.getOwnPropertySymbols(ee);Ne<ue.length;Ne++)se.indexOf(ue[Ne])<0&&Object.prototype.propertyIsEnumerable.call(ee,ue[Ne])&&(Ue[ue[Ne]]=ee[ue[Ne]]);return Ue},W=c.forwardRef(function(ee,se){var Ue,ue=ee.prefixCls,Ne=ee.inputPrefixCls,Fe=ee.className,ae=ee.size,ce=ee.suffix,_e=ee.enterButton,ze=_e===void 0?!1:_e,it=ee.addonAfter,Ze=ee.loading,Ee=ee.disabled,mt=ee.onSearch,Je=ee.onChange,rt=P(ee,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange"]),wt=c.useContext(y.b),Ot=wt.getPrefixCls,Ct=wt.direction,Dt=c.useContext(S.b),Xe=ae||Dt,q=c.useRef(null),V=function(xt){xt&&xt.target&&xt.type==="click"&&mt&&mt(xt.target.value,xt),Je&&Je(xt)},Ae=function(xt){var It;document.activeElement===((It=q.current)===null||It===void 0?void 0:It.input)&&xt.preventDefault()},xe=function(xt){var It;mt&&mt((It=q.current)===null||It===void 0?void 0:It.input.value,xt)},re=Ot("input-search",ue),ot=Ot("input",Ne),bt=typeof ze=="boolean"?c.createElement(k.a,null):null,tt="".concat(re,"-button"),Tt,Gt=ze||{},lr=Gt.type&&Gt.type.__ANT_BUTTON===!0;lr||Gt.type==="button"?Tt=Object(r.a)(Gt,Object(w.a)({onMouseDown:Ae,onClick:xe,key:"enterButton"},lr?{className:tt,size:Xe}:{})):Tt=c.createElement(F.a,{className:tt,type:ze?"primary":void 0,size:Xe,disabled:Ee,key:"enterButton",onMouseDown:Ae,onClick:xe,loading:Ze,icon:bt},ze),it&&(Tt=[Tt,Object(r.a)(it,{key:"addonAfter"})]);var pr=l()(re,(Ue={},Object(f.a)(Ue,"".concat(re,"-rtl"),Ct==="rtl"),Object(f.a)(Ue,"".concat(re,"-").concat(Xe),!!Xe),Object(f.a)(Ue,"".concat(re,"-with-button"),!!ze),Ue),Fe);return c.createElement(_,Object(w.a)({ref:Object(R.a)(q,se),onPressEnter:xe},rt,{size:Xe,prefixCls:ot,addonAfter:Tt,suffix:ce,onChange:V,className:pr,disabled:Ee}))});W.displayName="Search";var D=W,U=o("U8pU"),H=o("ODXe"),j=o("KQm4"),K=o("Y1PL"),X=o("6cGi"),z=function(ee,se){var Ue={};for(var ue in ee)Object.prototype.hasOwnProperty.call(ee,ue)&&se.indexOf(ue)<0&&(Ue[ue]=ee[ue]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ue=Object.getOwnPropertySymbols(ee);Ne<ue.length;Ne++)se.indexOf(ue[Ne])<0&&Object.prototype.propertyIsEnumerable.call(ee,ue[Ne])&&(Ue[ue[Ne]]=ee[ue[Ne]]);return Ue};function Y(ee,se){return Object(j.a)(ee||"").slice(0,se).join("")}var $=c.forwardRef(function(ee,se){var Ue,ue=ee.prefixCls,Ne=ee.bordered,Fe=Ne===void 0?!0:Ne,ae=ee.showCount,ce=ae===void 0?!1:ae,_e=ee.maxLength,ze=ee.className,it=ee.style,Ze=ee.size,Ee=ee.onCompositionStart,mt=ee.onCompositionEnd,Je=ee.onChange,rt=z(ee,["prefixCls","bordered","showCount","maxLength","className","style","size","onCompositionStart","onCompositionEnd","onChange"]),wt=c.useContext(y.b),Ot=wt.getPrefixCls,Ct=wt.direction,Dt=c.useContext(S.b),Xe=c.useRef(null),q=c.useRef(null),V=c.useState(!1),Ae=Object(H.a)(V,2),xe=Ae[0],re=Ae[1],ot=Object(X.a)(rt.defaultValue,{value:rt.value}),bt=Object(H.a)(ot,2),tt=bt[0],Tt=bt[1],Gt=function(Tr,fr){rt.value===void 0&&(Tt(Tr),fr==null||fr())},lr=Number(_e)>0,pr=function(Tr){re(!0),Ee==null||Ee(Tr)},Rr=function(Tr){re(!1);var fr=Tr.currentTarget.value;lr&&(fr=Y(fr,_e)),fr!==tt&&(Gt(fr),C(Tr.currentTarget,Tr,Je,fr)),mt==null||mt(Tr)},xt=function(Tr){var fr=Tr.target.value;!xe&&lr&&(fr=Y(fr,_e)),Gt(fr),C(Tr.currentTarget,Tr,Je,fr)},It=function(Tr){var fr,vt;Gt("",function(){var ft;(ft=Xe.current)===null||ft===void 0||ft.focus()}),C((vt=(fr=Xe.current)===null||fr===void 0?void 0:fr.resizableTextArea)===null||vt===void 0?void 0:vt.textArea,Tr,Je)},At=Ot("input",ue);c.useImperativeHandle(se,function(){var Gr;return{resizableTextArea:(Gr=Xe.current)===null||Gr===void 0?void 0:Gr.resizableTextArea,focus:function(fr){var vt,ft;T((ft=(vt=Xe.current)===null||vt===void 0?void 0:vt.resizableTextArea)===null||ft===void 0?void 0:ft.textArea,fr)},blur:function(){var fr;return(fr=Xe.current)===null||fr===void 0?void 0:fr.blur()}}});var Zt=c.createElement(K.default,Object(w.a)({},Object(e.a)(rt,["allowClear"]),{className:l()((Ue={},Object(f.a)(Ue,"".concat(At,"-borderless"),!Fe),Object(f.a)(Ue,ze,ze&&!ce),Object(f.a)(Ue,"".concat(At,"-sm"),Dt==="small"||Ze==="small"),Object(f.a)(Ue,"".concat(At,"-lg"),Dt==="large"||Ze==="large"),Ue)),style:ce?void 0:it,prefixCls:At,onCompositionStart:pr,onChange:xt,onCompositionEnd:Rr,ref:Xe})),br=E(tt);!xe&&lr&&(rt.value===null||rt.value===void 0)&&(br=Y(br,_e));var Lr=c.createElement(v,Object(w.a)({},rt,{prefixCls:At,direction:Ct,inputType:"text",value:br,element:Zt,handleReset:It,ref:q,bordered:Fe,style:ce?void 0:it}));if(ce){var Jr=Object(j.a)(br).length,In="";return Object(U.a)(ce)==="object"?In=ce.formatter({count:Jr,maxLength:_e}):In="".concat(Jr).concat(lr?" / ".concat(_e):""),c.createElement("div",{className:l()("".concat(At,"-textarea"),Object(f.a)({},"".concat(At,"-textarea-rtl"),Ct==="rtl"),"".concat(At,"-textarea-show-count"),ze),style:it,"data-count":In},Lr)}return Lr}),ne=$,J=o("9BLJ"),ge=o("VTBJ"),de={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"},Ie=de,be=o("6VBw"),Ce=function(se,Ue){return c.createElement(be.a,Object(ge.a)(Object(ge.a)({},se),{},{ref:Ue,icon:Ie}))};Ce.displayName="EyeInvisibleOutlined";var je=c.forwardRef(Ce),te=function(ee,se){var Ue={};for(var ue in ee)Object.prototype.hasOwnProperty.call(ee,ue)&&se.indexOf(ue)<0&&(Ue[ue]=ee[ue]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ue=Object.getOwnPropertySymbols(ee);Ne<ue.length;Ne++)se.indexOf(ue[Ne])<0&&Object.prototype.propertyIsEnumerable.call(ee,ue[Ne])&&(Ue[ue[Ne]]=ee[ue[Ne]]);return Ue},ve={click:"onClick",hover:"onMouseOver"},$e=c.forwardRef(function(ee,se){var Ue=Object(c.useState)(!1),ue=Object(H.a)(Ue,2),Ne=ue[0],Fe=ue[1],ae=function(){var it=ee.disabled;if(it)return;Fe(!Ne)},ce=function(it){var Ze,Ee=ee.action,mt=ee.iconRender,Je=mt===void 0?function(){return null}:mt,rt=ve[Ee]||"",wt=Je(Ne),Ot=(Ze={},Object(f.a)(Ze,rt,ae),Object(f.a)(Ze,"className","".concat(it,"-icon")),Object(f.a)(Ze,"key","passwordIcon"),Object(f.a)(Ze,"onMouseDown",function(Dt){Dt.preventDefault()}),Object(f.a)(Ze,"onMouseUp",function(Dt){Dt.preventDefault()}),Ze);return c.cloneElement(c.isValidElement(wt)?wt:c.createElement("span",null,wt),Ot)},_e=function(it){var Ze=it.getPrefixCls,Ee=ee.className,mt=ee.prefixCls,Je=ee.inputPrefixCls,rt=ee.size,wt=ee.visibilityToggle,Ot=te(ee,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),Ct=Ze("input",Je),Dt=Ze("input-password",mt),Xe=wt&&ce(Dt),q=l()(Dt,Ee,Object(f.a)({},"".concat(Dt,"-").concat(rt),!!rt)),V=Object(w.a)(Object(w.a)({},Object(e.a)(Ot,["suffix","iconRender"])),{type:Ne?"text":"password",className:q,prefixCls:Ct,suffix:Xe});return rt&&(V.size=rt),c.createElement(_,Object(w.a)({ref:se},V))};return c.createElement(y.a,null,_e)});$e.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(se){return se?c.createElement(J.a,null):c.createElement(je,null)}},$e.displayName="Password";var Le=$e;_.Group=L,_.Search=D,_.TextArea=ne,_.Password=Le;var he=B.a=_},FNN5:function(M,B,o){var w=o("bYtY"),f=o("IwbS"),A=o("+rIm"),m=o("Znkb"),g=["axisLine","axisTickLabel","axisName"],p=["splitLine","splitArea","minorSplitLine"],c=m.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(l,e){if(this.group.removeAll(),!l.get("show"))return;var n=l.axis,i=n.polar,r=i.getAngleAxis(),a=n.getTicksCoords(),t=n.getMinorTicksCoords(),s=r.getExtent()[0],u=n.getExtent(),d=h(i,l,s),v=new A(l,d);w.each(g,v.add,v),this.group.add(v.getGroup()),w.each(p,function(y){l.get(y+".show")&&!n.scale.isBlank()&&this["_"+y](l,i,s,u,a,t)},this)},_splitLine:function(l,e,n,i,r){var a=l.getModel("splitLine"),t=a.getModel("lineStyle"),s=t.get("color"),u=0;s=s instanceof Array?s:[s];for(var d=[],v=0;v<r.length;v++){var y=u++%s.length;d[y]=d[y]||[],d[y].push(new f.Circle({shape:{cx:e.cx,cy:e.cy,r:r[v].coord}}))}for(var v=0;v<d.length;v++)this.group.add(f.mergePath(d[v],{style:w.defaults({stroke:s[v%s.length],fill:null},t.getLineStyle()),silent:!0}))},_minorSplitLine:function(l,e,n,i,r,a){if(!a.length)return;for(var t=l.getModel("minorSplitLine"),s=t.getModel("lineStyle"),u=[],d=0;d<a.length;d++)for(var v=0;v<a[d].length;v++)u.push(new f.Circle({shape:{cx:e.cx,cy:e.cy,r:a[d][v].coord}}));this.group.add(f.mergePath(u,{style:w.defaults({fill:null},s.getLineStyle()),silent:!0}))},_splitArea:function(l,e,n,i,r){if(!r.length)return;var a=l.getModel("splitArea"),t=a.getModel("areaStyle"),s=t.get("color"),u=0;s=s instanceof Array?s:[s];for(var d=[],v=r[0].coord,y=1;y<r.length;y++){var S=u++%s.length;d[S]=d[S]||[],d[S].push(new f.Sector({shape:{cx:e.cx,cy:e.cy,r0:v,r:r[y].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),v=r[y].coord}for(var y=0;y<d.length;y++)this.group.add(f.mergePath(d[y],{style:w.defaults({fill:s[y%s.length]},t.getAreaStyle()),silent:!0}))}});function h(l,e,n){return{position:[l.cx,l.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}M.exports=c},FUi9:function(M,B,o){var w=o("bYtY"),f=o("MwEJ"),A=o("aX7z"),m=o("ICMv"),g=o("Qxkt"),p=o("+TT/"),c=p.getLayoutRect;B.getLayoutRect=p.getLayoutRect;var h=o("7hqr"),l=h.enableDataStack,e=h.isDimensionStacked,n=h.getStackedDimension,i=o("hi0g");B.completeDimensions=i;var r=o("sdST");B.createDimensions=r;var a=o("oVpE");B.createSymbol=a.createSymbol;function t(v){return f(v.getSource(),v)}var s={isDimensionStacked:e,enableDataStack:l,getStackedDimension:n};function u(v,y){var S=y;g.isInstance(y)||(S=new g(y),w.mixin(S,m));var b=A.createScaleByModel(S);return b.setExtent(v[0],v[1]),A.niceScaleExtent(b,S),b}function d(v){w.mixin(v,m)}B.createList=t,B.dataStack=s,B.createScale=u,B.mixinAxisModelCommonMethods=d},FVSQ:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("bllP"),m=o.n(A)},"Fa/5":function(M,B,o){var w=o("ProS");o("y2l5"),o("q/+u");var f=o("f5Yq"),A=o("h8O9");o("Ae16"),w.registerVisual(f("scatter","circle")),w.registerLayout(A("scatter"))},Fofx:function(M,B){var o=typeof Float32Array=="undefined"?Array:Float32Array;function w(){var e=new o(6);return f(e),e}function f(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function A(e,n){return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e}function m(e,n,i){var r=n[0]*i[0]+n[2]*i[1],a=n[1]*i[0]+n[3]*i[1],t=n[0]*i[2]+n[2]*i[3],s=n[1]*i[2]+n[3]*i[3],u=n[0]*i[4]+n[2]*i[5]+n[4],d=n[1]*i[4]+n[3]*i[5]+n[5];return e[0]=r,e[1]=a,e[2]=t,e[3]=s,e[4]=u,e[5]=d,e}function g(e,n,i){return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4]+i[0],e[5]=n[5]+i[1],e}function p(e,n,i){var r=n[0],a=n[2],t=n[4],s=n[1],u=n[3],d=n[5],v=Math.sin(i),y=Math.cos(i);return e[0]=r*y+s*v,e[1]=-r*v+s*y,e[2]=a*y+u*v,e[3]=-a*v+y*u,e[4]=y*t+v*d,e[5]=y*d-v*t,e}function c(e,n,i){var r=i[0],a=i[1];return e[0]=n[0]*r,e[1]=n[1]*a,e[2]=n[2]*r,e[3]=n[3]*a,e[4]=n[4]*r,e[5]=n[5]*a,e}function h(e,n){var i=n[0],r=n[2],a=n[4],t=n[1],s=n[3],u=n[5],d=i*s-t*r;return d?(d=1/d,e[0]=s*d,e[1]=-t*d,e[2]=-r*d,e[3]=i*d,e[4]=(r*u-s*a)*d,e[5]=(t*a-i*u)*d,e):null}function l(e){var n=w();return A(n,e),n}B.create=w,B.identity=f,B.copy=A,B.mul=m,B.translate=g,B.rotate=p,B.scale=c,B.invert=h,B.clone=l},Fv0C:function(M,B,o){"use strict";function w(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(s){return typeof s}:w=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},w(a)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var f=l(o("Lo0S")),A=o("vewr"),m=l(o("8CQX")),g=c(o("mHUz")),p=l(o("GdRQ"));function c(a){return a&&a.__esModule?a:{default:a}}function h(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return h=function(){return a},a}function l(a){if(a&&a.__esModule)return a;if(a===null||w(a)!=="object"&&typeof a!="function")return{default:a};var t=h();if(t&&t.has(a))return t.get(a);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var v=u?Object.getOwnPropertyDescriptor(a,d):null;v&&(v.get||v.set)?Object.defineProperty(s,d,v):s[d]=a[d]}return s.default=a,t&&t.set(a,s),s}function e(a,t){if(!(a instanceof t))throw new TypeError("Cannot call a class as a function")}function n(a,t){for(var s=0;s<t.length;s++){var u=t[s];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(a,u.key,u)}}function i(a,t,s){return t&&n(a.prototype,t),s&&n(a,s),a}var r=function(){function a(t){e(this,a),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 i(a,[{key:"_sendKeyEvent",value:function(s,u,d){if(d)this._keyDownList[u]=s;else{if(!(u in this._keyDownList))return;delete this._keyDownList[u]}f.Debug("onkeyevent "+(d?"down":"up")+", keysym: "+s,", code: "+u),this.onkeyevent(s,u,d)}},{key:"_getKeyCode",value:function(s){var u=m.getKeycode(s);if(u!=="Unidentified")return u;if(s.keyCode&&s.type!=="keypress"&&s.keyCode!==229)return"Platform"+s.keyCode;if(s.keyIdentifier){if(s.keyIdentifier.substr(0,2)!=="U+")return s.keyIdentifier;var d=parseInt(s.keyIdentifier.substr(2),16),v=String.fromCharCode(d).toUpperCase();return"Platform"+v.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(s){var u=this._getKeyCode(s),d=m.getKeysym(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),u==="AltRight"&&s.timeStamp-this._altGrCtrlTime<50?d=g.default.XK_ISO_Level3_Shift:this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)),u==="Unidentified"){d&&(this._sendKeyEvent(d,u,!0),this._sendKeyEvent(d,u,!1)),(0,A.stopEvent)(s);return}if(p.isMac()||p.isIOS())switch(d){case g.default.XK_Super_L:d=g.default.XK_Alt_L;break;case g.default.XK_Super_R:d=g.default.XK_Super_L;break;case g.default.XK_Alt_L:d=g.default.XK_Mode_switch;break;case g.default.XK_Alt_R:d=g.default.XK_ISO_Level3_Shift;break}if(u in this._keyDownList&&(d=this._keyDownList[u]),(p.isMac()||p.isIOS())&&u==="CapsLock"){this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!1),(0,A.stopEvent)(s);return}if(!d&&(!s.key||p.isIE()||p.isEdge())){this._pendingKey=u,setTimeout(this._handleKeyPressTimeout.bind(this),10,s);return}if(this._pendingKey=null,(0,A.stopEvent)(s),u==="ControlLeft"&&p.isWindows()&&!("ControlLeft"in this._keyDownList)){this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),this._altGrCtrlTime=s.timeStamp;return}this._sendKeyEvent(d,u,!0)}},{key:"_handleKeyPress",value:function(s){if((0,A.stopEvent)(s),this._pendingKey===null)return;var u=this._getKeyCode(s),d=m.getKeysym(s);if(u!=="Unidentified"&&u!=this._pendingKey)return;if(u=this._pendingKey,this._pendingKey=null,!d){f.Info("keypress with no keysym:",s);return}this._sendKeyEvent(d,u,!0)}},{key:"_handleKeyPressTimeout",value:function(s){if(this._pendingKey===null)return;var u,d=this._pendingKey;if(this._pendingKey=null,s.keyCode>=48&&s.keyCode<=57)u=s.keyCode;else if(s.keyCode>=65&&s.keyCode<=90){var v=String.fromCharCode(s.keyCode);s.shiftKey?v=v.toUpperCase():v=v.toLowerCase(),u=v.charCodeAt()}else u=0;this._sendKeyEvent(u,d,!0)}},{key:"_handleKeyUp",value:function(s){(0,A.stopEvent)(s);var u=this._getKeyCode(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)),(p.isMac()||p.isIOS())&&u==="CapsLock"){this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[u],u,!1),p.isWindows()&&(u==="ShiftLeft"||u==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){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 u=this._target,d=this._keyDownList;["AltLeft","AltRight"].forEach(function(v){if(!(v in d))return;var y=new KeyboardEvent("keyup",{key:d[v],code:v});y.skipCheckAlt=!0,u.dispatchEvent(y)})}},{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),p.isWindows()&&p.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(u){return document.addEventListener(u,s,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(p.isWindows()&&p.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(u){return document.removeEventListener(u,s)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),a}();B.default=r},FxDU:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.createSensor=void 0;var w=o("QO+J"),f=o("j5sG"),A=typeof ResizeObserver!="undefined"?f.createSensor:w.createSensor;B.createSensor=A},G3RQ:function(M,B,o){"use strict";var w=o("wx14"),f=o("rePB"),A=o("q1tI"),m=o("ODXe"),g=o("Ff2n"),p=o("TSYQ"),c=o.n(p),h=o("6cGi"),l=o("4IlW"),e=A.forwardRef(function(y,S){var b,E=y.prefixCls,C=E===void 0?"rc-switch":E,T=y.className,x=y.checked,_=y.defaultChecked,I=y.disabled,L=y.loadingIcon,R=y.checkedChildren,k=y.unCheckedChildren,F=y.onClick,P=y.onChange,W=y.onKeyDown,D=Object(g.a)(y,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),U=Object(h.a)(!1,{value:x,defaultValue:_}),H=Object(m.a)(U,2),j=H[0],K=H[1];function X(ne,J){var ge=j;return I||(ge=ne,K(ge),P==null||P(ge,J)),ge}function z(ne){ne.which===l.a.LEFT?X(!1,ne):ne.which===l.a.RIGHT&&X(!0,ne),W==null||W(ne)}function Y(ne){var J=X(!j,ne);F==null||F(J,ne)}var $=c()(C,T,(b={},Object(f.a)(b,"".concat(C,"-checked"),j),Object(f.a)(b,"".concat(C,"-disabled"),I),b));return A.createElement("button",Object.assign({},D,{type:"button",role:"switch","aria-checked":j,disabled:I,className:$,ref:S,onKeyDown:z,onClick:Y}),L,A.createElement("span",{className:"".concat(C,"-inner")},j?R:k))});e.displayName="Switch";var n=e,i=o("ye1Q"),r=o("9NSp"),a=o("9R2V"),t=o("kc2O"),s=o("bq+4"),u=function(y,S){var b={};for(var E in y)Object.prototype.hasOwnProperty.call(y,E)&&S.indexOf(E)<0&&(b[E]=y[E]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,E=Object.getOwnPropertySymbols(y);C<E.length;C++)S.indexOf(E[C])<0&&Object.prototype.propertyIsEnumerable.call(y,E[C])&&(b[E[C]]=y[E[C]]);return b},d=A.forwardRef(function(y,S){var b,E=y.prefixCls,C=y.size,T=y.loading,x=y.className,_=x===void 0?"":x,I=y.disabled,L=u(y,["prefixCls","size","loading","className","disabled"]);Object(s.a)("checked"in L||!("value"in L),"Switch","`value` is not a valid prop, do you mean `checked`?");var R=A.useContext(a.b),k=R.getPrefixCls,F=R.direction,P=A.useContext(t.b),W=k("switch",E),D=A.createElement("div",{className:"".concat(W,"-handle")},T&&A.createElement(i.a,{className:"".concat(W,"-loading-icon")})),U=c()((b={},Object(f.a)(b,"".concat(W,"-small"),(C||P)==="small"),Object(f.a)(b,"".concat(W,"-loading"),T),Object(f.a)(b,"".concat(W,"-rtl"),F==="rtl"),b),_);return A.createElement(r.a,{insertExtraNode:!0},A.createElement(n,Object(w.a)({},L,{prefixCls:W,className:U,disabled:I||T,ref:S,loadingIcon:D})))});d.__ANT_SWITCH=!0,d.displayName="Switch";var v=B.a=d},GIiI:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="PoweroffOutlined";var c=B.a=f.forwardRef(p)},GJq7:function(M,B,o){"use strict";var w=o("wx14"),f=o("rePB"),A=o("q1tI"),m=o("ODXe"),g=o("U8pU"),p=o("Ff2n"),c=o("VTBJ"),h=o("TSYQ"),l=o.n(h),e=o("Zm9Q"),n=o("5Z9U"),i=o("6cGi"),r=o("KQm4"),a=o("wgJM"),t=o("t23M");function s(ue){var Ne=Object(A.useRef)(),Fe=Object(A.useRef)(!1);function ae(){for(var ce=arguments.length,_e=new Array(ce),ze=0;ze<ce;ze++)_e[ze]=arguments[ze];Fe.current||(a.a.cancel(Ne.current),Ne.current=Object(a.a)(function(){ue.apply(void 0,_e)}))}return Object(A.useEffect)(function(){return function(){Fe.current=!0,a.a.cancel(Ne.current)}},[]),ae}function u(ue){var Ne=Object(A.useRef)([]),Fe=Object(A.useState)({}),ae=Object(m.a)(Fe,2),ce=ae[1],_e=Object(A.useRef)(typeof ue=="function"?ue():ue),ze=s(function(){var Ze=_e.current;Ne.current.forEach(function(Ee){Ze=Ee(Ze)}),Ne.current=[],_e.current=Ze,ce({})});function it(Ze){Ne.current.push(Ze),ze()}return[_e.current,it]}var d=o("4IlW");function v(ue,Ne){var Fe,ae=ue.prefixCls,ce=ue.id,_e=ue.active,ze=ue.tab,it=ze.key,Ze=ze.tab,Ee=ze.disabled,mt=ze.closeIcon,Je=ue.closable,rt=ue.renderWrapper,wt=ue.removeAriaLabel,Ot=ue.editable,Ct=ue.onClick,Dt=ue.onRemove,Xe=ue.onFocus,q=ue.style,V="".concat(ae,"-tab");A.useEffect(function(){return Dt},[]);var Ae=Ot&&Je!==!1&&!Ee;function xe(bt){if(Ee)return;Ct(bt)}function re(bt){bt.preventDefault(),bt.stopPropagation(),Ot.onEdit("remove",{key:it,event:bt})}var ot=A.createElement("div",{key:it,ref:Ne,className:l()(V,(Fe={},Object(f.a)(Fe,"".concat(V,"-with-remove"),Ae),Object(f.a)(Fe,"".concat(V,"-active"),_e),Object(f.a)(Fe,"".concat(V,"-disabled"),Ee),Fe)),style:q,onClick:xe},A.createElement("div",{role:"tab","aria-selected":_e,id:ce&&"".concat(ce,"-tab-").concat(it),className:"".concat(V,"-btn"),"aria-controls":ce&&"".concat(ce,"-panel-").concat(it),"aria-disabled":Ee,tabIndex:Ee?null:0,onClick:function(tt){tt.stopPropagation(),xe(tt)},onKeyDown:function(tt){[d.a.SPACE,d.a.ENTER].includes(tt.which)&&(tt.preventDefault(),xe(tt))},onFocus:Xe},Ze),Ae&&A.createElement("button",{type:"button","aria-label":wt||"remove",tabIndex:0,className:"".concat(V,"-remove"),onClick:function(tt){tt.stopPropagation(),re(tt)}},mt||Ot.removeIcon||"\xD7"));return rt?rt(ot):ot}var y=A.forwardRef(v),S={width:0,height:0,left:0,top:0};function b(ue,Ne,Fe){return Object(A.useMemo)(function(){for(var ae,ce=new Map,_e=Ne.get((ae=ue[0])===null||ae===void 0?void 0:ae.key)||S,ze=_e.left+_e.width,it=0;it<ue.length;it+=1){var Ze=ue[it].key,Ee=Ne.get(Ze);if(!Ee){var mt;Ee=Ne.get((mt=ue[it-1])===null||mt===void 0?void 0:mt.key)||S}var Je=ce.get(Ze)||Object(c.a)({},Ee);Je.right=ze-Je.left-Je.width,ce.set(Ze,Je)}return ce},[ue.map(function(ae){return ae.key}).join("_"),Ne,Fe])}var E={width:0,height:0,left:0,top:0,right:0};function C(ue,Ne,Fe,ae,ce){var _e=ce.tabs,ze=ce.tabPosition,it=ce.rtl,Ze,Ee,mt;["top","bottom"].includes(ze)?(Ze="width",Ee=it?"right":"left",mt=Math.abs(Ne.left)):(Ze="height",Ee="top",mt=-Ne.top);var Je=Ne[Ze],rt=Fe[Ze],wt=ae[Ze],Ot=Je;return rt+wt>Je&&(Ot=Je-wt),Object(A.useMemo)(function(){if(!_e.length)return[0,0];for(var Ct=_e.length,Dt=Ct,Xe=0;Xe<Ct;Xe+=1){var q=ue.get(_e[Xe].key)||E;if(q[Ee]+q[Ze]>mt+Ot){Dt=Xe-1;break}}for(var V=0,Ae=Ct-1;Ae>=0;Ae-=1){var xe=ue.get(_e[Ae].key)||E;if(xe[Ee]<mt){V=Ae+1;break}}return[V,Dt]},[ue,mt,Ot,ze,_e.map(function(Ct){return Ct.key}).join("_"),it])}var T=o("1j5w"),x=o("eDIo");function _(ue,Ne){var Fe=ue.prefixCls,ae=ue.editable,ce=ue.locale,_e=ue.style;return!ae||ae.showAdd===!1?null:A.createElement("button",{ref:Ne,type:"button",className:"".concat(Fe,"-nav-add"),style:_e,"aria-label":(ce==null?void 0:ce.addAriaLabel)||"Add tab",onClick:function(it){ae.onEdit("add",{event:it})}},ae.addIcon||"+")}var I=A.forwardRef(_);function L(ue,Ne){var Fe=ue.prefixCls,ae=ue.id,ce=ue.tabs,_e=ue.locale,ze=ue.mobile,it=ue.moreIcon,Ze=it===void 0?"More":it,Ee=ue.moreTransitionName,mt=ue.style,Je=ue.className,rt=ue.editable,wt=ue.tabBarGutter,Ot=ue.rtl,Ct=ue.onTabClick,Dt=Object(A.useState)(!1),Xe=Object(m.a)(Dt,2),q=Xe[0],V=Xe[1],Ae=Object(A.useState)(null),xe=Object(m.a)(Ae,2),re=xe[0],ot=xe[1],bt="".concat(ae,"-more-popup"),tt="".concat(Fe,"-dropdown"),Tt=re!==null?"".concat(bt,"-").concat(re):null,Gt=_e==null?void 0:_e.dropdownAriaLabel,lr=A.createElement(T.f,{onClick:function(br){var Lr=br.key,Jr=br.domEvent;Ct(Lr,Jr),V(!1)},id:bt,tabIndex:-1,role:"listbox","aria-activedescendant":Tt,selectedKeys:[re],"aria-label":Gt!==void 0?Gt:"expanded dropdown"},ce.map(function(Zt){return A.createElement(T.d,{key:Zt.key,id:"".concat(bt,"-").concat(Zt.key),role:"option","aria-controls":ae&&"".concat(ae,"-panel-").concat(Zt.key),disabled:Zt.disabled},Zt.tab)}));function pr(Zt){for(var br=ce.filter(function(Tr){return!Tr.disabled}),Lr=br.findIndex(function(Tr){return Tr.key===re})||0,Jr=br.length,In=0;In<Jr;In+=1){Lr=(Lr+Zt+Jr)%Jr;var Gr=br[Lr];if(!Gr.disabled){ot(Gr.key);return}}}function Rr(Zt){var br=Zt.which;if(!q){[d.a.DOWN,d.a.SPACE,d.a.ENTER].includes(br)&&(V(!0),Zt.preventDefault());return}switch(br){case d.a.UP:pr(-1),Zt.preventDefault();break;case d.a.DOWN:pr(1),Zt.preventDefault();break;case d.a.ESC:V(!1);break;case d.a.SPACE:case d.a.ENTER:re!==null&&Ct(re,Zt);break}}Object(A.useEffect)(function(){var Zt=document.getElementById(Tt);Zt&&Zt.scrollIntoView&&Zt.scrollIntoView(!1)},[re]),Object(A.useEffect)(function(){q||ot(null)},[q]);var xt=Object(f.a)({},Ot?"marginRight":"marginLeft",wt);ce.length||(xt.visibility="hidden",xt.order=1);var It=l()(Object(f.a)({},"".concat(tt,"-rtl"),Ot)),At=ze?null:A.createElement(x.a,{prefixCls:tt,overlay:lr,trigger:["hover"],visible:q,transitionName:Ee,onVisibleChange:V,overlayClassName:It,mouseEnterDelay:.1,mouseLeaveDelay:.1},A.createElement("button",{type:"button",className:"".concat(Fe,"-nav-more"),style:xt,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":bt,id:"".concat(ae,"-more"),"aria-expanded":q,onKeyDown:Rr},Ze));return A.createElement("div",{className:l()("".concat(Fe,"-nav-operations"),Je),style:mt,ref:Ne},At,A.createElement(I,{prefixCls:Fe,locale:_e,editable:rt}))}var R=A.forwardRef(L),k=Object(A.createContext)(null),F=.1,P=.01,W=20,D=Math.pow(.995,W);function U(ue,Ne){var Fe=Object(A.useState)(),ae=Object(m.a)(Fe,2),ce=ae[0],_e=ae[1],ze=Object(A.useState)(0),it=Object(m.a)(ze,2),Ze=it[0],Ee=it[1],mt=Object(A.useState)(0),Je=Object(m.a)(mt,2),rt=Je[0],wt=Je[1],Ot=Object(A.useState)(),Ct=Object(m.a)(Ot,2),Dt=Ct[0],Xe=Ct[1],q=Object(A.useRef)();function V(tt){var Tt=tt.touches[0],Gt=Tt.screenX,lr=Tt.screenY;_e({x:Gt,y:lr}),window.clearInterval(q.current)}function Ae(tt){if(!ce)return;tt.preventDefault();var Tt=tt.touches[0],Gt=Tt.screenX,lr=Tt.screenY;_e({x:Gt,y:lr});var pr=Gt-ce.x,Rr=lr-ce.y;Ne(pr,Rr);var xt=Date.now();Ee(xt),wt(xt-Ze),Xe({x:pr,y:Rr})}function xe(){if(!ce)return;if(_e(null),Xe(null),Dt){var tt=Dt.x/rt,Tt=Dt.y/rt,Gt=Math.abs(tt),lr=Math.abs(Tt);if(Math.max(Gt,lr)<F)return;var pr=tt,Rr=Tt;q.current=window.setInterval(function(){if(Math.abs(pr)<P&&Math.abs(Rr)<P){window.clearInterval(q.current);return}pr*=D,Rr*=D,Ne(pr*W,Rr*W)},W)}}var re=Object(A.useRef)();function ot(tt){var Tt=tt.deltaX,Gt=tt.deltaY,lr=0,pr=Math.abs(Tt),Rr=Math.abs(Gt);pr===Rr?lr=re.current==="x"?Tt:Gt:pr>Rr?(lr=Tt,re.current="x"):(lr=Gt,re.current="y"),Ne(-lr,-lr)&&tt.preventDefault()}var bt=Object(A.useRef)(null);bt.current={onTouchStart:V,onTouchMove:Ae,onTouchEnd:xe,onWheel:ot},A.useEffect(function(){function tt(pr){bt.current.onTouchStart(pr)}function Tt(pr){bt.current.onTouchMove(pr)}function Gt(pr){bt.current.onTouchEnd(pr)}function lr(pr){bt.current.onWheel(pr)}return document.addEventListener("touchmove",Tt,{passive:!1}),document.addEventListener("touchend",Gt,{passive:!1}),ue.current.addEventListener("touchstart",tt,{passive:!1}),ue.current.addEventListener("wheel",lr),function(){document.removeEventListener("touchmove",Tt),document.removeEventListener("touchend",Gt)}},[])}function H(){var ue=Object(A.useRef)(new Map);function Ne(ae){return ue.current.has(ae)||ue.current.set(ae,A.createRef()),ue.current.get(ae)}function Fe(ae){ue.current.delete(ae)}return[Ne,Fe]}function j(ue,Ne){var Fe=A.useRef(ue),ae=A.useState({}),ce=Object(m.a)(ae,2),_e=ce[1];function ze(it){var Ze=typeof it=="function"?it(Fe.current):it;Ze!==Fe.current&&Ne(Ze,Fe.current),Fe.current=Ze,_e({})}return[Fe.current,ze]}var K=function(Ne){var Fe=Ne.position,ae=Ne.prefixCls,ce=Ne.extra;if(!ce)return null;var _e,ze={};return ce&&Object(g.a)(ce)==="object"&&!A.isValidElement(ce)?ze=ce:ze.right=ce,Fe==="right"&&(_e=ze.right),Fe==="left"&&(_e=ze.left),_e?A.createElement("div",{className:"".concat(ae,"-extra-content")},_e):null};function X(ue,Ne){var Fe,ae=A.useContext(k),ce=ae.prefixCls,_e=ae.tabs,ze=ue.className,it=ue.style,Ze=ue.id,Ee=ue.animated,mt=ue.activeKey,Je=ue.rtl,rt=ue.extra,wt=ue.editable,Ot=ue.locale,Ct=ue.tabPosition,Dt=ue.tabBarGutter,Xe=ue.children,q=ue.onTabClick,V=ue.onTabScroll,Ae=Object(A.useRef)(),xe=Object(A.useRef)(),re=Object(A.useRef)(),ot=Object(A.useRef)(),bt=H(),tt=Object(m.a)(bt,2),Tt=tt[0],Gt=tt[1],lr=Ct==="top"||Ct==="bottom",pr=j(0,function(Bn,di){lr&&V&&V({direction:Bn>di?"left":"right"})}),Rr=Object(m.a)(pr,2),xt=Rr[0],It=Rr[1],At=j(0,function(Bn,di){!lr&&V&&V({direction:Bn>di?"top":"bottom"})}),Zt=Object(m.a)(At,2),br=Zt[0],Lr=Zt[1],Jr=Object(A.useState)(0),In=Object(m.a)(Jr,2),Gr=In[0],Tr=In[1],fr=Object(A.useState)(0),vt=Object(m.a)(fr,2),ft=vt[0],Te=vt[1],Pe=Object(A.useState)(0),Ge=Object(m.a)(Pe,2),st=Ge[0],Bt=Ge[1],$t=Object(A.useState)(0),Nr=Object(m.a)($t,2),yn=Nr[0],un=Nr[1],Kt=Object(A.useState)(null),St=Object(m.a)(Kt,2),kt=St[0],Jt=St[1],Br=Object(A.useState)(null),Hr=Object(m.a)(Br,2),$r=Hr[0],Ft=Hr[1],cr=Object(A.useState)(0),Cr=Object(m.a)(cr,2),Fr=Cr[0],Wr=Cr[1],An=Object(A.useState)(0),bn=Object(m.a)(An,2),Sn=bn[0],kn=bn[1],ei=u(new Map),Jn=Object(m.a)(ei,2),ai=Jn[0],ii=Jn[1],qe=b(_e,ai,Gr),Se="".concat(ce,"-nav-operations-hidden"),Me=0,Be=0;lr?Je?(Me=0,Be=Math.max(0,Gr-kt)):(Me=Math.min(0,kt-Gr),Be=0):(Me=Math.min(0,$r-ft),Be=0);function Qe(Bn){return Bn<Me?Me:Bn>Be?Be:Bn}var Ve=Object(A.useRef)(),Ye=Object(A.useState)(),pt=Object(m.a)(Ye,2),ht=pt[0],Vt=pt[1];function dr(){Vt(Date.now())}function tr(){window.clearTimeout(Ve.current)}U(Ae,function(Bn,di){function qr(xr,nn){xr(function(gn){var On=Qe(gn+nn);return On})}if(lr){if(kt>=Gr)return!1;qr(It,Bn)}else{if($r>=ft)return!1;qr(Lr,di)}return tr(),dr(),!0}),Object(A.useEffect)(function(){return tr(),ht&&(Ve.current=window.setTimeout(function(){Vt(0)},100)),tr},[ht]);function ir(){var Bn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:mt,di=qe.get(Bn)||{width:0,height:0,left:0,right:0,top:0};if(lr){var qr=xt;Je?di.right<xt?qr=di.right:di.right+di.width>xt+kt&&(qr=di.right+di.width-kt):di.left<-xt?qr=-di.left:di.left+di.width>-xt+kt&&(qr=-(di.left+di.width-kt)),Lr(0),It(Qe(qr))}else{var xr=br;di.top<-br?xr=-di.top:di.top+di.height>-br+$r&&(xr=-(di.top+di.height-$r)),It(0),Lr(Qe(xr))}}var _t=C(qe,{width:kt,height:$r,left:xt,top:br},{width:st,height:yn},{width:Fr,height:Sn},Object(c.a)(Object(c.a)({},ue),{},{tabs:_e})),gr=Object(m.a)(_t,2),jt=gr[0],Sr=gr[1],Ar={};Ct==="top"||Ct==="bottom"?Ar[Je?"marginRight":"marginLeft"]=Dt:Ar.marginTop=Dt;var sr=_e.map(function(Bn,di){var qr=Bn.key;return A.createElement(y,{id:Ze,prefixCls:ce,key:qr,tab:Bn,style:di===0?void 0:Ar,closable:Bn.closable,editable:wt,active:qr===mt,renderWrapper:Xe,removeAriaLabel:Ot==null?void 0:Ot.removeAriaLabel,ref:Tt(qr),onClick:function(nn){q(qr,nn)},onRemove:function(){Gt(qr)},onFocus:function(){if(ir(qr),dr(),!Ae.current)return;Je||(Ae.current.scrollLeft=0),Ae.current.scrollTop=0}})}),ln=s(function(){var Bn,di,qr,xr,nn,gn,On,Fn,zn,$n=((Bn=Ae.current)===null||Bn===void 0?void 0:Bn.offsetWidth)||0,Zn=((di=Ae.current)===null||di===void 0?void 0:di.offsetHeight)||0,vi=((qr=ot.current)===null||qr===void 0?void 0:qr.offsetWidth)||0,Pi=((xr=ot.current)===null||xr===void 0?void 0:xr.offsetHeight)||0,Fi=((nn=re.current)===null||nn===void 0?void 0:nn.offsetWidth)||0,ja=((gn=re.current)===null||gn===void 0?void 0:gn.offsetHeight)||0;Jt($n),Ft(Zn),Wr(vi),kn(Pi);var Qn=(((On=xe.current)===null||On===void 0?void 0:On.offsetWidth)||0)-vi,Xr=(((Fn=xe.current)===null||Fn===void 0?void 0:Fn.offsetHeight)||0)-Pi;Tr(Qn),Te(Xr);var hi=(zn=re.current)===null||zn===void 0?void 0:zn.className.includes(Se);Bt(Qn-(hi?0:Fi)),un(Xr-(hi?0:ja)),ii(function(){var Ri=new Map;return _e.forEach(function(bi){var Ui=bi.key,ni=Tt(Ui).current;ni&&Ri.set(Ui,{width:ni.offsetWidth,height:ni.offsetHeight,left:ni.offsetLeft,top:ni.offsetTop})}),Ri})}),_n=_e.slice(0,jt),Wn=_e.slice(Sr+1),Nn=[].concat(Object(r.a)(_n),Object(r.a)(Wn)),Mn=Object(A.useState)(),Gn=Object(m.a)(Mn,2),xn=Gn[0],mi=Gn[1],rn=qe.get(mt),Ur=Object(A.useRef)();function cn(){a.a.cancel(Ur.current)}Object(A.useEffect)(function(){var Bn={};return rn&&(lr?(Je?Bn.right=rn.right:Bn.left=rn.left,Bn.width=rn.width):(Bn.top=rn.top,Bn.height=rn.height)),cn(),Ur.current=Object(a.a)(function(){mi(Bn)}),cn},[rn,lr,Je]),Object(A.useEffect)(function(){ir()},[mt,rn,qe,lr]),Object(A.useEffect)(function(){ln()},[Je,Dt,mt,_e.map(function(Bn){return Bn.key}).join("_")]);var Qr=!!Nn.length,Vn="".concat(ce,"-nav-wrap"),Hn,li,Un,gi;return lr?Je?(li=xt>0,Hn=xt+kt<Gr):(Hn=xt<0,li=-xt+kt<Gr):(Un=br<0,gi=-br+$r<ft),A.createElement("div",{ref:Ne,role:"tablist",className:l()("".concat(ce,"-nav"),ze),style:it,onKeyDown:function(){dr()}},A.createElement(K,{position:"left",extra:rt,prefixCls:ce}),A.createElement(t.a,{onResize:ln},A.createElement("div",{className:l()(Vn,(Fe={},Object(f.a)(Fe,"".concat(Vn,"-ping-left"),Hn),Object(f.a)(Fe,"".concat(Vn,"-ping-right"),li),Object(f.a)(Fe,"".concat(Vn,"-ping-top"),Un),Object(f.a)(Fe,"".concat(Vn,"-ping-bottom"),gi),Fe)),ref:Ae},A.createElement(t.a,{onResize:ln},A.createElement("div",{ref:xe,className:"".concat(ce,"-nav-list"),style:{transform:"translate(".concat(xt,"px, ").concat(br,"px)"),transition:ht?"none":void 0}},sr,A.createElement(I,{ref:ot,prefixCls:ce,locale:Ot,editable:wt,style:Object(c.a)(Object(c.a)({},sr.length===0?void 0:Ar),{},{visibility:Qr?"hidden":null})}),A.createElement("div",{className:l()("".concat(ce,"-ink-bar"),Object(f.a)({},"".concat(ce,"-ink-bar-animated"),Ee.inkBar)),style:xn}))))),A.createElement(R,Object(w.a)({},ue,{ref:re,prefixCls:ce,tabs:Nn,className:!Qr&&Se})),A.createElement(K,{position:"right",extra:rt,prefixCls:ce}))}var z=A.forwardRef(X);function Y(ue){var Ne=ue.id,Fe=ue.activeKey,ae=ue.animated,ce=ue.tabPosition,_e=ue.rtl,ze=ue.destroyInactiveTabPane,it=A.useContext(k),Ze=it.prefixCls,Ee=it.tabs,mt=ae.tabPane,Je=Ee.findIndex(function(rt){return rt.key===Fe});return A.createElement("div",{className:l()("".concat(Ze,"-content-holder"))},A.createElement("div",{className:l()("".concat(Ze,"-content"),"".concat(Ze,"-content-").concat(ce),Object(f.a)({},"".concat(Ze,"-content-animated"),mt)),style:Je&&mt?Object(f.a)({},_e?"marginRight":"marginLeft","-".concat(Je,"00%")):null},Ee.map(function(rt){return A.cloneElement(rt.node,{key:rt.key,prefixCls:Ze,tabKey:rt.key,id:Ne,animated:mt,active:rt.key===Fe,destroyInactiveTabPane:ze})})))}function $(ue){var Ne=ue.prefixCls,Fe=ue.forceRender,ae=ue.className,ce=ue.style,_e=ue.id,ze=ue.active,it=ue.animated,Ze=ue.destroyInactiveTabPane,Ee=ue.tabKey,mt=ue.children,Je=A.useState(Fe),rt=Object(m.a)(Je,2),wt=rt[0],Ot=rt[1];A.useEffect(function(){ze?Ot(!0):Ze&&Ot(!1)},[ze,Ze]);var Ct={};return ze||(it?(Ct.visibility="hidden",Ct.height=0,Ct.overflowY="hidden"):Ct.display="none"),A.createElement("div",{id:_e&&"".concat(_e,"-panel-").concat(Ee),role:"tabpanel",tabIndex:ze?0:-1,"aria-labelledby":_e&&"".concat(_e,"-tab-").concat(Ee),"aria-hidden":!ze,style:Object(c.a)(Object(c.a)({},Ct),ce),className:l()("".concat(Ne,"-tabpane"),ze&&"".concat(Ne,"-tabpane-active"),ae)},(ze||wt||Fe)&&mt)}var ne=["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"],J=0;function ge(ue){return Object(e.a)(ue).map(function(Ne){if(A.isValidElement(Ne)){var Fe=Ne.key!==void 0?String(Ne.key):void 0;return Object(c.a)(Object(c.a)({key:Fe},Ne.props),{},{node:Ne})}return null}).filter(function(Ne){return Ne})}function de(ue,Ne){var Fe,ae=ue.id,ce=ue.prefixCls,_e=ce===void 0?"rc-tabs":ce,ze=ue.className,it=ue.children,Ze=ue.direction,Ee=ue.activeKey,mt=ue.defaultActiveKey,Je=ue.editable,rt=ue.animated,wt=rt===void 0?{inkBar:!0,tabPane:!1}:rt,Ot=ue.tabPosition,Ct=Ot===void 0?"top":Ot,Dt=ue.tabBarGutter,Xe=ue.tabBarStyle,q=ue.tabBarExtraContent,V=ue.locale,Ae=ue.moreIcon,xe=ue.moreTransitionName,re=ue.destroyInactiveTabPane,ot=ue.renderTabBar,bt=ue.onChange,tt=ue.onTabClick,Tt=ue.onTabScroll,Gt=Object(p.a)(ue,ne),lr=ge(it),pr=Ze==="rtl",Rr;wt===!1?Rr={inkBar:!1,tabPane:!1}:wt===!0?Rr={inkBar:!0,tabPane:!0}:Rr=Object(c.a)({inkBar:!0,tabPane:!1},Object(g.a)(wt)==="object"?wt:{});var xt=Object(A.useState)(!1),It=Object(m.a)(xt,2),At=It[0],Zt=It[1];Object(A.useEffect)(function(){Zt(Object(n.a)())},[]);var br=Object(i.a)(function(){var un;return(un=lr[0])===null||un===void 0?void 0:un.key},{value:Ee,defaultValue:mt}),Lr=Object(m.a)(br,2),Jr=Lr[0],In=Lr[1],Gr=Object(A.useState)(function(){return lr.findIndex(function(un){return un.key===Jr})}),Tr=Object(m.a)(Gr,2),fr=Tr[0],vt=Tr[1];Object(A.useEffect)(function(){var un=lr.findIndex(function(St){return St.key===Jr});if(un===-1){var Kt;un=Math.max(0,Math.min(fr,lr.length-1)),In((Kt=lr[un])===null||Kt===void 0?void 0:Kt.key)}vt(un)},[lr.map(function(un){return un.key}).join("_"),Jr,fr]);var ft=Object(i.a)(null,{value:ae}),Te=Object(m.a)(ft,2),Pe=Te[0],Ge=Te[1],st=Ct;At&&!["left","right"].includes(Ct)&&(st="top"),Object(A.useEffect)(function(){ae||(Ge("rc-tabs-".concat(J)),J+=1)},[]);function Bt(un,Kt){tt==null||tt(un,Kt),In(un),bt==null||bt(un)}var $t={id:Pe,activeKey:Jr,animated:Rr,tabPosition:st,rtl:pr,mobile:At},Nr,yn=Object(c.a)(Object(c.a)({},$t),{},{editable:Je,locale:V,moreIcon:Ae,moreTransitionName:xe,tabBarGutter:Dt,onTabClick:Bt,onTabScroll:Tt,extra:q,style:Xe,panes:it});return ot?Nr=ot(yn,z):Nr=A.createElement(z,yn),A.createElement(k.Provider,{value:{tabs:lr,prefixCls:_e}},A.createElement("div",Object(w.a)({ref:Ne,id:ae,className:l()(_e,"".concat(_e,"-").concat(st),(Fe={},Object(f.a)(Fe,"".concat(_e,"-mobile"),At),Object(f.a)(Fe,"".concat(_e,"-editable"),Je),Object(f.a)(Fe,"".concat(_e,"-rtl"),pr),Fe),ze)},Gt),Nr,A.createElement(Y,Object(w.a)({destroyInactiveTabPane:re},$t,{animated:Rr}))))}var Ie=A.forwardRef(de);Ie.TabPane=$;var be=Ie,Ce=be,je=o("GZ0F"),te=o("xvlK"),ve=o("4i/N"),$e=o("bq+4"),Le=o("9R2V"),he=o("kc2O"),ee=function(ue,Ne){var Fe={};for(var ae in ue)Object.prototype.hasOwnProperty.call(ue,ae)&&Ne.indexOf(ae)<0&&(Fe[ae]=ue[ae]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,ae=Object.getOwnPropertySymbols(ue);ce<ae.length;ce++)Ne.indexOf(ae[ce])<0&&Object.prototype.propertyIsEnumerable.call(ue,ae[ce])&&(Fe[ae[ce]]=ue[ae[ce]]);return Fe};function se(ue){var Ne=ue.type,Fe=ue.className,ae=ue.size,ce=ue.onEdit,_e=ue.hideAdd,ze=ue.centered,it=ue.addIcon,Ze=ee(ue,["type","className","size","onEdit","hideAdd","centered","addIcon"]),Ee=Ze.prefixCls,mt=Ze.moreIcon,Je=mt===void 0?A.createElement(je.a,null):mt,rt=A.useContext(Le.b),wt=rt.getPrefixCls,Ot=rt.direction,Ct=wt("tabs",Ee),Dt;Ne==="editable-card"&&(Dt={onEdit:function(V,Ae){var xe=Ae.key,re=Ae.event;ce==null||ce(V==="add"?re:xe,V)},removeIcon:A.createElement(ve.a,null),addIcon:it||A.createElement(te.a,null),showAdd:_e!==!0});var Xe=wt();return Object($e.a)(!("onPrevClick"in Ze)&&!("onNextClick"in Ze),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),A.createElement(he.b.Consumer,null,function(q){var V,Ae=ae!==void 0?ae:q;return A.createElement(Ce,Object(w.a)({direction:Ot,moreTransitionName:"".concat(Xe,"-slide-up")},Ze,{className:l()((V={},Object(f.a)(V,"".concat(Ct,"-").concat(Ae),Ae),Object(f.a)(V,"".concat(Ct,"-card"),["card","editable-card"].includes(Ne)),Object(f.a)(V,"".concat(Ct,"-editable-card"),Ne==="editable-card"),Object(f.a)(V,"".concat(Ct,"-centered"),ze),V),Fe),editable:Dt,moreIcon:Je,prefixCls:Ct}))})}se.TabPane=$;var Ue=B.a=se},GMDS:function(M,B,o){var w=o("bYtY"),f=o("4NgU"),A=o("jkPA"),m=f.prototype,g=f.extend({type:"ordinal",init:function(c,h){(!c||w.isArray(c))&&(c=new A({categories:c})),this._ordinalMeta=c,this._extent=h||[0,c.categories.length-1]},parse:function(c){return typeof c=="string"?this._ordinalMeta.getOrdinal(c):Math.round(c)},contain:function(c){return c=this.parse(c),m.contain.call(this,c)&&this._ordinalMeta.categories[c]!=null},normalize:function(c){return m.normalize.call(this,this.parse(c))},scale:function(c){return Math.round(m.scale.call(this,c))},getTicks:function(){for(var c=[],h=this._extent,l=h[0];l<=h[1];)c.push(l),l++;return c},getLabel:function(c){if(!this.isBlank())return this._ordinalMeta.categories[c]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(c,h){this.unionExtent(c.getApproximateExtent(h))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:w.noop,niceExtent:w.noop});g.create=function(){return new g};var p=g;M.exports=p},GQ8N:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.toUnsigned32bit=w,B.toSigned32bit=f;function w(A){return A>>>0}function f(A){return A|0}},GUcZ:function(M,B,o){"use strict";var w=o("fWQN"),f=o("mtLc"),A=function(){function vt(){Object(w.a)(this,vt)}return Object(f.a)(vt,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(Te,Pe){return Te.__proto__=Pe,Te},Object.assign=Object.assign||function(Te){if(Te==null)throw new TypeError("Cannot convert undefined or null to object");for(var Pe=Object(Te),Ge=1;Ge<arguments.length;Ge++){var st=arguments[Ge];if(st!=null)for(var Bt in st)st.hasOwnProperty(Bt)&&(Pe[Bt]=st[Bt])}return Pe},typeof self.Promise!="function"&&o("E2g8").polyfill()}}]),vt}();A.install();var m=A,g=o("+qE3"),p=o.n(g),c=function(){function vt(){Object(w.a)(this,vt)}return Object(f.a)(vt,null,[{key:"e",value:function(Te,Pe){(!Te||vt.FORCE_GLOBAL_TAG)&&(Te=vt.GLOBAL_TAG);var Ge="[".concat(Te,"] > ").concat(Pe);if(vt.ENABLE_CALLBACK&&vt.emitter.emit("log","error",Ge),!vt.ENABLE_ERROR)return;console.error?console.error(Ge):console.warn?console.warn(Ge):console.log(Ge)}},{key:"i",value:function(Te,Pe){(!Te||vt.FORCE_GLOBAL_TAG)&&(Te=vt.GLOBAL_TAG);var Ge="[".concat(Te,"] > ").concat(Pe);if(vt.ENABLE_CALLBACK&&vt.emitter.emit("log","info",Ge),!vt.ENABLE_INFO)return;console.info?console.info(Ge):console.log(Ge)}},{key:"w",value:function(Te,Pe){(!Te||vt.FORCE_GLOBAL_TAG)&&(Te=vt.GLOBAL_TAG);var Ge="[".concat(Te,"] > ").concat(Pe);if(vt.ENABLE_CALLBACK&&vt.emitter.emit("log","warn",Ge),!vt.ENABLE_WARN)return;console.warn?console.warn(Ge):console.log(Ge)}},{key:"d",value:function(Te,Pe){(!Te||vt.FORCE_GLOBAL_TAG)&&(Te=vt.GLOBAL_TAG);var Ge="[".concat(Te,"] > ").concat(Pe);if(vt.ENABLE_CALLBACK&&vt.emitter.emit("log","debug",Ge),!vt.ENABLE_DEBUG)return;console.debug?console.debug(Ge):console.log(Ge)}},{key:"v",value:function(Te,Pe){(!Te||vt.FORCE_GLOBAL_TAG)&&(Te=vt.GLOBAL_TAG);var Ge="[".concat(Te,"] > ").concat(Pe);if(vt.ENABLE_CALLBACK&&vt.emitter.emit("log","verbose",Ge),!vt.ENABLE_VERBOSE)return;console.log(Ge)}}]),vt}();c.GLOBAL_TAG="flv.js",c.FORCE_GLOBAL_TAG=!1,c.ENABLE_ERROR=!0,c.ENABLE_INFO=!0,c.ENABLE_WARN=!0,c.ENABLE_DEBUG=!0,c.ENABLE_VERBOSE=!0,c.ENABLE_CALLBACK=!1,c.emitter=new p.a;var h=c,l=function(){function vt(){Object(w.a)(this,vt),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)(vt,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(Te){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=Te,this._totalBytes+=Te):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=Te,this._totalBytes+=Te):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=Te,this._totalBytes+=Te,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var Te=(this._now()-this._lastCheckpoint)/1e3;return Te==0&&(Te=1),this._intervalBytes/Te/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 Te=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/Te/1024}}]),vt}(),e=l,n=o("yKVA"),i=o("879j"),r=function(){function vt(ft){Object(w.a)(this,vt),this._message=ft}return Object(f.a)(vt,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),vt}(),a=function(vt){Object(n.a)(Te,vt);var ft=Object(i.a)(Te);function Te(Pe){return Object(w.a)(this,Te),ft.call(this,Pe)}return Object(f.a)(Te,[{key:"name",get:function(){return"IllegalStateException"}}]),Te}(r),t=function(vt){Object(n.a)(Te,vt);var ft=Object(i.a)(Te);function Te(Pe){return Object(w.a)(this,Te),ft.call(this,Pe)}return Object(f.a)(Te,[{key:"name",get:function(){return"InvalidArgumentException"}}]),Te}(r),s=function(vt){Object(n.a)(Te,vt);var ft=Object(i.a)(Te);function Te(Pe){return Object(w.a)(this,Te),ft.call(this,Pe)}return Object(f.a)(Te,[{key:"name",get:function(){return"NotImplementedException"}}]),Te}(r),u={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},d={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},v=function(){function vt(ft){Object(w.a)(this,vt),this._type=ft||"undefined",this._status=u.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(f.a)(vt,[{key:"destroy",value:function(){this._status=u.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===u.kConnecting||this._status===u.kBuffering}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function(Te){this._onContentLengthKnown=Te}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(Te){this._onURLRedirect=Te}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Te){this._onDataArrival=Te}},{key:"onError",get:function(){return this._onError},set:function(Te){this._onError=Te}},{key:"onComplete",get:function(){return this._onComplete},set:function(Te){this._onComplete=Te}},{key:"open",value:function(Te,Pe){throw new s("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new s("Unimplemented abstract function!")}}]),vt}(),y=o("oZsa");function S(vt,ft){for(;!Object.prototype.hasOwnProperty.call(vt,ft)&&!(vt=Object(y.a)(vt),vt===null););return vt}function b(vt,ft,Te){return typeof Reflect!="undefined"&&Reflect.get?b=Reflect.get:b=function(Ge,st,Bt){var $t=S(Ge,st);if(!$t)return;var Nr=Object.getOwnPropertyDescriptor($t,st);return Nr.get?Nr.get.call(Bt):Nr.value},b(vt,ft,Te||vt)}var E={};function C(){var vt=self.navigator.userAgent.toLowerCase(),ft=/(edge)\/([\w.]+)/.exec(vt)||/(opr)[\/]([\w.]+)/.exec(vt)||/(chrome)[ \/]([\w.]+)/.exec(vt)||/(iemobile)[\/]([\w.]+)/.exec(vt)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(vt)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(vt)||/(webkit)[ \/]([\w.]+)/.exec(vt)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(vt)||/(msie) ([\w.]+)/.exec(vt)||vt.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(vt)||vt.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(vt)||[],Te=/(ipad)/.exec(vt)||/(ipod)/.exec(vt)||/(windows phone)/.exec(vt)||/(iphone)/.exec(vt)||/(kindle)/.exec(vt)||/(android)/.exec(vt)||/(windows)/.exec(vt)||/(mac)/.exec(vt)||/(linux)/.exec(vt)||/(cros)/.exec(vt)||[],Pe={browser:ft[5]||ft[3]||ft[1]||"",version:ft[2]||ft[4]||"0",majorVersion:ft[4]||ft[2]||"0",platform:Te[0]||""},Ge={};if(Pe.browser){Ge[Pe.browser]=!0;var st=Pe.majorVersion.split(".");Ge.version={major:parseInt(Pe.majorVersion,10),string:Pe.version},st.length>1&&(Ge.version.minor=parseInt(st[1],10)),st.length>2&&(Ge.version.build=parseInt(st[2],10))}if(Pe.platform&&(Ge[Pe.platform]=!0),(Ge.chrome||Ge.opr||Ge.safari)&&(Ge.webkit=!0),Ge.rv||Ge.iemobile){Ge.rv&&delete Ge.rv;var Bt="msie";Pe.browser=Bt,Ge[Bt]=!0}if(Ge.edge){delete Ge.edge;var $t="msedge";Pe.browser=$t,Ge[$t]=!0}if(Ge.opr){var Nr="opera";Pe.browser=Nr,Ge[Nr]=!0}if(Ge.safari&&Ge.android){var yn="android";Pe.browser=yn,Ge[yn]=!0}Ge.name=Pe.browser,Ge.platform=Pe.platform;for(var un in E)E.hasOwnProperty(un)&&delete E[un];Object.assign(E,Ge)}C();var T=E,x=function(vt){Object(n.a)(Te,vt);var ft=Object(i.a)(Te);function Te(Pe,Ge){var st;return Object(w.a)(this,Te),st=ft.call(this,"fetch-stream-loader"),st.TAG="FetchStreamLoader",st._seekHandler=Pe,st._config=Ge,st._needStash=!0,st._requestAbort=!1,st._contentLength=null,st._receivedLength=0,st}return Object(f.a)(Te,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),b(Object(y.a)(Te.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ge,st){var Bt=this;this._dataSource=Ge,this._range=st;var $t=Ge.url;this._config.reuseRedirectedURL&&Ge.redirectedURL!=null&&($t=Ge.redirectedURL);var Nr=this._seekHandler.getConfig($t,st),yn=new self.Headers;if(typeof Nr.headers=="object"){var un=Nr.headers;for(var Kt in un)un.hasOwnProperty(Kt)&&yn.append(Kt,un[Kt])}var St={method:"GET",headers:yn,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var kt in this._config.headers)yn.append(kt,this._config.headers[kt]);Ge.cors===!1&&(St.mode="same-origin"),Ge.withCredentials&&(St.credentials="include"),Ge.referrerPolicy&&(St.referrerPolicy=Ge.referrerPolicy),this._status=u.kConnecting,self.fetch(Nr.url,St).then(function(Jt){if(Bt._requestAbort){Bt._requestAbort=!1,Bt._status=u.kIdle;return}if(Jt.ok&&Jt.status>=200&&Jt.status<=299){if(Jt.url!==Nr.url&&Bt._onURLRedirect){var Br=Bt._seekHandler.removeURLParameters(Jt.url);Bt._onURLRedirect(Br)}var Hr=Jt.headers.get("Content-Length");return Hr!=null&&(Bt._contentLength=parseInt(Hr),Bt._contentLength!==0&&(Bt._onContentLengthKnown&&Bt._onContentLengthKnown(Bt._contentLength))),Bt._pump.call(Bt,Jt.body.getReader())}else if(Bt._status=u.kError,Bt._onError)Bt._onError(d.HTTP_STATUS_CODE_INVALID,{code:Jt.status,msg:Jt.statusText});else throw new r("FetchStreamLoader: Http code invalid, "+Jt.status+" "+Jt.statusText)}).catch(function(Jt){if(Bt._status=u.kError,Bt._onError)Bt._onError(d.EXCEPTION,{code:-1,msg:Jt.message});else throw Jt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Ge){var st=this;return Ge.read().then(function(Bt){if(Bt.done)if(st._contentLength!==null&&st._receivedLength<st._contentLength){st._status=u.kError;var $t=d.EARLY_EOF,Nr={code:-1,msg:"Fetch stream meet Early-EOF"};if(st._onError)st._onError($t,Nr);else throw new r(Nr.msg)}else st._status=u.kComplete,st._onComplete&&st._onComplete(st._range.from,st._range.from+st._receivedLength-1);else{if(st._requestAbort===!0)return st._requestAbort=!1,st._status=u.kComplete,Ge.cancel();st._status=u.kBuffering;var yn=Bt.value.buffer,un=st._range.from+st._receivedLength;st._receivedLength+=yn.byteLength,st._onDataArrival&&st._onDataArrival(yn,un,st._receivedLength),st._pump(Ge)}}).catch(function(Bt){if(Bt.code===11&&T.msedge)return;st._status=u.kError;var $t=0,Nr=null;if((Bt.code===19||Bt.message==="network error")&&(st._contentLength===null||st._contentLength!==null&&st._receivedLength<st._contentLength)?($t=d.EARLY_EOF,Nr={code:Bt.code,msg:"Fetch stream meet Early-EOF"}):($t=d.EXCEPTION,Nr={code:Bt.code,msg:Bt.message}),st._onError)st._onError($t,Nr);else throw new r(Nr.msg)})}}],[{key:"isSupported",value:function(){try{var Ge=T.msedge&&T.version.minor>=15048,st=T.msedge?Ge:!0;return self.fetch&&self.ReadableStream&&st}catch(Bt){return!1}}}]),Te}(v),_=x,I=function(vt){Object(n.a)(Te,vt);var ft=Object(i.a)(Te);function Te(Pe,Ge){var st;return Object(w.a)(this,Te),st=ft.call(this,"xhr-moz-chunked-loader"),st.TAG="MozChunkedLoader",st._seekHandler=Pe,st._config=Ge,st._needStash=!0,st._xhr=null,st._requestAbort=!1,st._contentLength=null,st._receivedLength=0,st}return Object(f.a)(Te,[{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),b(Object(y.a)(Te.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ge,st){this._dataSource=Ge,this._range=st;var Bt=Ge.url;this._config.reuseRedirectedURL&&Ge.redirectedURL!=null&&(Bt=Ge.redirectedURL);var $t=this._seekHandler.getConfig(Bt,st);this._requestURL=$t.url;var Nr=this._xhr=new XMLHttpRequest;if(Nr.open("GET",$t.url,!0),Nr.responseType="moz-chunked-arraybuffer",Nr.onreadystatechange=this._onReadyStateChange.bind(this),Nr.onprogress=this._onProgress.bind(this),Nr.onloadend=this._onLoadEnd.bind(this),Nr.onerror=this._onXhrError.bind(this),Ge.withCredentials&&(Nr.withCredentials=!0),typeof $t.headers=="object"){var yn=$t.headers;for(var un in yn)yn.hasOwnProperty(un)&&Nr.setRequestHeader(un,yn[un])}if(typeof this._config.headers=="object"){var Kt=this._config.headers;for(var St in Kt)Kt.hasOwnProperty(St)&&Nr.setRequestHeader(St,Kt[St])}this._status=u.kConnecting,Nr.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=u.kComplete}},{key:"_onReadyStateChange",value:function(Ge){var st=Ge.target;if(st.readyState===2){if(st.responseURL!=null&&st.responseURL!==this._requestURL&&this._onURLRedirect){var Bt=this._seekHandler.removeURLParameters(st.responseURL);this._onURLRedirect(Bt)}if(st.status!==0&&(st.status<200||st.status>299))if(this._status=u.kError,this._onError)this._onError(d.HTTP_STATUS_CODE_INVALID,{code:st.status,msg:st.statusText});else throw new r("MozChunkedLoader: Http code invalid, "+st.status+" "+st.statusText);else this._status=u.kBuffering}}},{key:"_onProgress",value:function(Ge){if(this._status===u.kError)return;this._contentLength===null&&(Ge.total!==null&&Ge.total!==0&&(this._contentLength=Ge.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var st=Ge.target.response,Bt=this._range.from+this._receivedLength;this._receivedLength+=st.byteLength,this._onDataArrival&&this._onDataArrival(st,Bt,this._receivedLength)}},{key:"_onLoadEnd",value:function(Ge){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===u.kError)return;this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(Ge){this._status=u.kError;var st=0,Bt=null;if(this._contentLength&&Ge.loaded<this._contentLength?(st=d.EARLY_EOF,Bt={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(st=d.EXCEPTION,Bt={code:-1,msg:Ge.constructor.name+" "+Ge.type}),this._onError)this._onError(st,Bt);else throw new r(Bt.msg)}}],[{key:"isSupported",value:function(){try{var Ge=new XMLHttpRequest;return Ge.open("GET","https://example.com",!0),Ge.responseType="moz-chunked-arraybuffer",Ge.responseType==="moz-chunked-arraybuffer"}catch(st){return h.w("MozChunkedLoader",st.message),!1}}}]),Te}(v),L=I,R=function(vt){Object(n.a)(Te,vt);var ft=Object(i.a)(Te);function Te(Pe,Ge){var st;return Object(w.a)(this,Te),st=ft.call(this,"xhr-msstream-loader"),st.TAG="MSStreamLoader",st._seekHandler=Pe,st._config=Ge,st._needStash=!0,st._xhr=null,st._reader=null,st._totalRange=null,st._currentRange=null,st._currentRequestURL=null,st._currentRedirectedURL=null,st._contentLength=null,st._receivedLength=0,st._bufferLimit=16*1024*1024,st._lastTimeBufferSize=0,st._isReconnecting=!1,st}return Object(f.a)(Te,[{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),b(Object(y.a)(Te.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ge,st){this._internalOpen(Ge,st,!1)}},{key:"_internalOpen",value:function(Ge,st,Bt){this._dataSource=Ge,Bt?this._currentRange=st:this._totalRange=st;var $t=Ge.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?$t=this._currentRedirectedURL:Ge.redirectedURL!=null&&($t=Ge.redirectedURL));var Nr=this._seekHandler.getConfig($t,st);this._currentRequestURL=Nr.url;var yn=this._reader=new self.MSStreamReader;yn.onprogress=this._msrOnProgress.bind(this),yn.onload=this._msrOnLoad.bind(this),yn.onerror=this._msrOnError.bind(this);var un=this._xhr=new XMLHttpRequest;if(un.open("GET",Nr.url,!0),un.responseType="ms-stream",un.onreadystatechange=this._xhrOnReadyStateChange.bind(this),un.onerror=this._xhrOnError.bind(this),Ge.withCredentials&&(un.withCredentials=!0),typeof Nr.headers=="object"){var Kt=Nr.headers;for(var St in Kt)Kt.hasOwnProperty(St)&&un.setRequestHeader(St,Kt[St])}if(typeof this._config.headers=="object"){var kt=this._config.headers;for(var Jt in kt)kt.hasOwnProperty(Jt)&&un.setRequestHeader(Jt,kt[Jt])}this._isReconnecting?this._isReconnecting=!1:this._status=u.kConnecting,un.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=u.kComplete}},{key:"_internalAbort",value:function(){this._reader&&(this._reader.readyState===1&&this._reader.abort(),this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.abort(),this._xhr.onreadystatechange=null,this._xhr=null)}},{key:"_xhrOnReadyStateChange",value:function(Ge){var st=Ge.target;if(st.readyState===2)if(st.status>=200&&st.status<=299){if(this._status=u.kBuffering,st.responseURL!=null){var Bt=this._seekHandler.removeURLParameters(st.responseURL);st.responseURL!==this._currentRequestURL&&Bt!==this._currentRedirectedURL&&(this._currentRedirectedURL=Bt,this._onURLRedirect&&this._onURLRedirect(Bt))}var $t=st.getResponseHeader("Content-Length");if($t!=null&&this._contentLength==null){var Nr=parseInt($t);Nr>0&&(this._contentLength=Nr,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=u.kError,this._onError)this._onError(d.HTTP_STATUS_CODE_INVALID,{code:st.status,msg:st.statusText});else throw new r("MSStreamLoader: Http code invalid, "+st.status+" "+st.statusText);else if(st.readyState===3&&(st.status>=200&&st.status<=299)){this._status=u.kBuffering;var yn=st.response;this._reader.readAsArrayBuffer(yn)}}},{key:"_xhrOnError",value:function(Ge){this._status=u.kError;var st=d.EXCEPTION,Bt={code:-1,msg:Ge.constructor.name+" "+Ge.type};if(this._onError)this._onError(st,Bt);else throw new r(Bt.msg)}},{key:"_msrOnProgress",value:function(Ge){var st=Ge.target,Bt=st.result;if(Bt==null){this._doReconnectIfNeeded();return}var $t=Bt.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Bt.byteLength;var Nr=this._totalRange.from+this._receivedLength;this._receivedLength+=$t.byteLength,this._onDataArrival&&this._onDataArrival($t,Nr,this._receivedLength),Bt.byteLength>=this._bufferLimit&&(h.v(this.TAG,"MSStream buffer exceeded max size near ".concat(Nr+$t.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 Ge={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,Ge,!0)}}},{key:"_msrOnLoad",value:function(Ge){this._status=u.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(Ge){this._status=u.kError;var st=0,Bt=null;if(this._contentLength&&this._receivedLength<this._contentLength?(st=d.EARLY_EOF,Bt={code:-1,msg:"MSStream meet Early-Eof"}):(st=d.EARLY_EOF,Bt={code:-1,msg:Ge.constructor.name+" "+Ge.type}),this._onError)this._onError(st,Bt);else throw new r(Bt.msg)}}],[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var Ge=new XMLHttpRequest;return Ge.open("GET","https://example.com",!0),Ge.responseType="ms-stream",Ge.responseType==="ms-stream"}catch(st){return h.w("MSStreamLoader",st.message),!1}}}]),Te}(v),k=R,F=function(vt){Object(n.a)(Te,vt);var ft=Object(i.a)(Te);function Te(Pe,Ge){var st;return Object(w.a)(this,Te),st=ft.call(this,"xhr-range-loader"),st.TAG="RangeLoader",st._seekHandler=Pe,st._config=Ge,st._needStash=!1,st._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],st._currentChunkSizeKB=384,st._currentSpeedNormalized=0,st._zeroSpeedChunkCount=0,st._xhr=null,st._speedSampler=new e,st._requestAbort=!1,st._waitForTotalLength=!1,st._totalLengthReceived=!1,st._currentRequestURL=null,st._currentRedirectedURL=null,st._currentRequestRange=null,st._totalLength=null,st._contentLength=null,st._receivedLength=0,st._lastTimeLoaded=0,st}return Object(f.a)(Te,[{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),b(Object(y.a)(Te.prototype),"destroy",this).call(this)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}},{key:"open",value:function(Ge,st){this._dataSource=Ge,this._range=st,this._status=u.kConnecting;var Bt=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Bt=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Bt?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var Ge=this._currentChunkSizeKB*1024,st=this._range.from+this._receivedLength,Bt=st+Ge;this._contentLength!=null&&(Bt-this._range.from>=this._contentLength&&(Bt=this._range.from+this._contentLength-1)),this._currentRequestRange={from:st,to:Bt},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Ge,st){this._lastTimeLoaded=0;var Bt=Ge.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Bt=this._currentRedirectedURL:Ge.redirectedURL!=null&&(Bt=Ge.redirectedURL));var $t=this._seekHandler.getConfig(Bt,st);this._currentRequestURL=$t.url;var Nr=this._xhr=new XMLHttpRequest;if(Nr.open("GET",$t.url,!0),Nr.responseType="arraybuffer",Nr.onreadystatechange=this._onReadyStateChange.bind(this),Nr.onprogress=this._onProgress.bind(this),Nr.onload=this._onLoad.bind(this),Nr.onerror=this._onXhrError.bind(this),Ge.withCredentials&&(Nr.withCredentials=!0),typeof $t.headers=="object"){var yn=$t.headers;for(var un in yn)yn.hasOwnProperty(un)&&Nr.setRequestHeader(un,yn[un])}if(typeof this._config.headers=="object"){var Kt=this._config.headers;for(var St in Kt)Kt.hasOwnProperty(St)&&Nr.setRequestHeader(St,Kt[St])}Nr.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=u.kComplete}},{key:"_internalAbort",value:function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}},{key:"_onReadyStateChange",value:function(Ge){var st=Ge.target;if(st.readyState===2){if(st.responseURL!=null){var Bt=this._seekHandler.removeURLParameters(st.responseURL);st.responseURL!==this._currentRequestURL&&Bt!==this._currentRedirectedURL&&(this._currentRedirectedURL=Bt,this._onURLRedirect&&this._onURLRedirect(Bt))}if(st.status>=200&&st.status<=299){if(this._waitForTotalLength)return;this._status=u.kBuffering}else if(this._status=u.kError,this._onError)this._onError(d.HTTP_STATUS_CODE_INVALID,{code:st.status,msg:st.statusText});else throw new r("RangeLoader: Http code invalid, "+st.status+" "+st.statusText)}}},{key:"_onProgress",value:function(Ge){if(this._status===u.kError)return;if(this._contentLength===null){var st=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,st=!0;var Bt=Ge.total;this._internalAbort(),Bt!=null&Bt!==0&&(this._totalLength=Bt)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,st){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var $t=Ge.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Ge.loaded,this._speedSampler.addBytes($t)}},{key:"_normalizeSpeed",value:function(Ge){var st=this._chunkSizeKBList,Bt=st.length-1,$t=0,Nr=0,yn=Bt;if(Ge<st[0])return st[0];for(;Nr<=yn;){if($t=Nr+Math.floor((yn-Nr)/2),$t===Bt||Ge>=st[$t]&&Ge<st[$t+1])return st[$t];st[$t]<Ge?Nr=$t+1:yn=$t-1}}},{key:"_onLoad",value:function(Ge){if(this._status===u.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var st=this._speedSampler.lastSecondKBps;if(st===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(st=this._speedSampler.currentKBps)),st!==0){var Bt=this._normalizeSpeed(st);this._currentSpeedNormalized!==Bt&&(this._currentSpeedNormalized=Bt,this._currentChunkSizeKB=Bt)}var $t=Ge.target.response,Nr=this._range.from+this._receivedLength;this._receivedLength+=$t.byteLength;var yn=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():yn=!0,this._onDataArrival&&this._onDataArrival($t,Nr,this._receivedLength),yn&&(this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(Ge){this._status=u.kError;var st=0,Bt=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(st=d.EARLY_EOF,Bt={code:-1,msg:"RangeLoader meet Early-Eof"}):(st=d.EXCEPTION,Bt={code:-1,msg:Ge.constructor.name+" "+Ge.type}),this._onError)this._onError(st,Bt);else throw new r(Bt.msg)}}],[{key:"isSupported",value:function(){try{var Ge=new XMLHttpRequest;return Ge.open("GET","https://example.com",!0),Ge.responseType="arraybuffer",Ge.responseType==="arraybuffer"}catch(st){return h.w("RangeLoader",st.message),!1}}}]),Te}(v),P=F,W=function(vt){Object(n.a)(Te,vt);var ft=Object(i.a)(Te);function Te(){var Pe;return Object(w.a)(this,Te),Pe=ft.call(this,"websocket-loader"),Pe.TAG="WebSocketLoader",Pe._needStash=!0,Pe._ws=null,Pe._requestAbort=!1,Pe._receivedLength=0,Pe}return Object(f.a)(Te,[{key:"destroy",value:function(){this._ws&&this.abort(),b(Object(y.a)(Te.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ge){try{var st=this._ws=new self.WebSocket(Ge.url);st.binaryType="arraybuffer",st.onopen=this._onWebSocketOpen.bind(this),st.onclose=this._onWebSocketClose.bind(this),st.onmessage=this._onWebSocketMessage.bind(this),st.onerror=this._onWebSocketError.bind(this),this._status=u.kConnecting}catch($t){this._status=u.kError;var Bt={code:$t.code,msg:$t.message};if(this._onError)this._onError(d.EXCEPTION,Bt);else throw new r(Bt.msg)}}},{key:"abort",value:function(){var Ge=this._ws;Ge&&(Ge.readyState===0||Ge.readyState===1)&&(this._requestAbort=!0,Ge.close()),this._ws=null,this._status=u.kComplete}},{key:"_onWebSocketOpen",value:function(Ge){this._status=u.kBuffering}},{key:"_onWebSocketClose",value:function(Ge){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=u.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(Ge){var st=this;if(Ge.data instanceof ArrayBuffer)this._dispatchArrayBuffer(Ge.data);else if(Ge.data instanceof Blob){var Bt=new FileReader;Bt.onload=function(){st._dispatchArrayBuffer(Bt.result)},Bt.readAsArrayBuffer(Ge.data)}else{this._status=u.kError;var $t={code:-1,msg:"Unsupported WebSocket message type: "+Ge.data.constructor.name};if(this._onError)this._onError(d.EXCEPTION,$t);else throw new r($t.msg)}}},{key:"_dispatchArrayBuffer",value:function(Ge){var st=Ge,Bt=this._receivedLength;this._receivedLength+=st.byteLength,this._onDataArrival&&this._onDataArrival(st,Bt,this._receivedLength)}},{key:"_onWebSocketError",value:function(Ge){this._status=u.kError;var st={code:Ge.code,msg:Ge.message};if(this._onError)this._onError(d.EXCEPTION,st);else throw new r(st.msg)}}],[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(Ge){return!1}}}]),Te}(v),D=W,U=function(){function vt(ft){Object(w.a)(this,vt),this._zeroStart=ft||!1}return Object(f.a)(vt,[{key:"getConfig",value:function(Te,Pe){var Ge={};if(Pe.from!==0||Pe.to!==-1){var st;Pe.to!==-1?st="bytes=".concat(Pe.from.toString(),"-").concat(Pe.to.toString()):st="bytes=".concat(Pe.from.toString(),"-"),Ge.Range=st}else this._zeroStart&&(Ge.Range="bytes=0-");return{url:Te,headers:Ge}}},{key:"removeURLParameters",value:function(Te){return Te}}]),vt}(),H=U,j=function(){function vt(ft,Te){Object(w.a)(this,vt),this._startName=ft,this._endName=Te}return Object(f.a)(vt,[{key:"getConfig",value:function(Te,Pe){var Ge=Te;if(Pe.from!==0||Pe.to!==-1){var st=!0;Ge.indexOf("?")===-1&&(Ge+="?",st=!1),st&&(Ge+="&"),Ge+="".concat(this._startName,"=").concat(Pe.from.toString()),Pe.to!==-1&&(Ge+="&".concat(this._endName,"=").concat(Pe.to.toString()))}return{url:Ge,headers:{}}}},{key:"removeURLParameters",value:function(Te){var Pe=Te.split("?")[0],Ge=void 0,st=Te.indexOf("?");st!==-1&&(Ge=Te.substring(st+1));var Bt="";if(Ge!=null&&Ge.length>0)for(var $t=Ge.split("&"),Nr=0;Nr<$t.length;Nr++){var yn=$t[Nr].split("="),un=Nr>0;yn[0]!==this._startName&&yn[0]!==this._endName&&(un&&(Bt+="&"),Bt+=$t[Nr])}return Bt.length===0?Pe:Pe+"?"+Bt}}]),vt}(),K=j,X=function(){function vt(ft,Te,Pe){Object(w.a)(this,vt),this.TAG="IOController",this._config=Te,this._extraData=Pe,this._stashInitialSize=1024*384,Te.stashInitialSize!=null&&Te.stashInitialSize>0&&(this._stashInitialSize=Te.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,Te.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=ft,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(ft.url),this._refTotalLength=ft.filesize?ft.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new e,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)(vt,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(Te){this._extraData=Te}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Te){this._onDataArrival=Te}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(Te){this._onSeeked=Te}},{key:"onError",get:function(){return this._onError},set:function(Te){this._onError=Te}},{key:"onComplete",get:function(){return this._onComplete},set:function(Te){this._onComplete=Te}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(Te){this._onRedirect=Te}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(Te){this._onRecoveredEarlyEof=Te}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===P?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var Te=this._config;if(Te.seekType==="range")this._seekHandler=new H(this._config.rangeLoadZeroStart);else if(Te.seekType==="param"){var Pe=Te.seekParamStart||"bstart",Ge=Te.seekParamEnd||"bend";this._seekHandler=new K(Pe,Ge)}else if(Te.seekType==="custom"){if(typeof Te.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new Te.customSeekHandler}else throw new t("Invalid seekType in config: ".concat(Te.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=D;else if(_.isSupported())this._loaderClass=_;else if(L.isSupported())this._loaderClass=L;else if(P.isSupported())this._loaderClass=P;else throw new r("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(Te){this._currentRange={from:0,to:-1},Te&&(this._currentRange.from=Te),this._speedSampler.reset(),Te||(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 Te=this._resumeFrom;this._resumeFrom=0,this._internalSeek(Te,!0)}}},{key:"seek",value:function(Te){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(Te,!0)}},{key:"_internalSeek",value:function(Te,Pe){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(Pe),this._loader.destroy(),this._loader=null;var Ge={from:Te,to:-1};this._currentRange={from:Ge.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Ge),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(Te){if(!Te||typeof Te!="string"||Te.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=Te}},{key:"_expandBuffer",value:function(Te){for(var Pe=this._stashSize;Pe+1024*1024*1<Te;)Pe*=2;if(Pe+=1024*1024*1,Pe===this._bufferSize)return;var Ge=new ArrayBuffer(Pe);if(this._stashUsed>0){var st=new Uint8Array(this._stashBuffer,0,this._stashUsed),Bt=new Uint8Array(Ge,0,Pe);Bt.set(st,0)}this._stashBuffer=Ge,this._bufferSize=Pe}},{key:"_normalizeSpeed",value:function(Te){var Pe=this._speedNormalizeList,Ge=Pe.length-1,st=0,Bt=0,$t=Ge;if(Te<Pe[0])return Pe[0];for(;Bt<=$t;){if(st=Bt+Math.floor(($t-Bt)/2),st===Ge||Te>=Pe[st]&&Te<Pe[st+1])return Pe[st];Pe[st]<Te?Bt=st+1:$t=st-1}}},{key:"_adjustStashSize",value:function(Te){var Pe=0;this._config.isLive||Te<512?Pe=Te:Te>=512&&Te<=1024?Pe=Math.floor(Te*1.5):Pe=Te*2,Pe>8192&&(Pe=8192);var Ge=Pe*1024+1024*1024*1;this._bufferSize<Ge&&this._expandBuffer(Ge),this._stashSize=Pe*1024}},{key:"_dispatchChunks",value:function(Te,Pe){return this._currentRange.to=Pe+Te.byteLength-1,this._onDataArrival(Te,Pe)}},{key:"_onURLRedirect",value:function(Te){this._redirectedURL=Te,this._onRedirect&&this._onRedirect(Te)}},{key:"_onContentLengthKnown",value:function(Te){Te&&this._fullRequestFlag&&(this._totalLength=Te,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(Te,Pe,Ge){if(!this._onDataArrival)throw new a("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(Te.byteLength);var st=this._speedSampler.lastSecondKBps;if(st!==0){var Bt=this._normalizeSpeed(st);this._speedNormalized!==Bt&&(this._speedNormalized=Bt,this._adjustStashSize(Bt))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=Pe),this._stashUsed+Te.byteLength<=this._stashSize){var kt=new Uint8Array(this._stashBuffer,0,this._stashSize);kt.set(new Uint8Array(Te),this._stashUsed),this._stashUsed+=Te.byteLength}else{var Jt=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var Br=this._stashBuffer.slice(0,this._stashUsed),Hr=this._dispatchChunks(Br,this._stashByteStart);if(Hr<Br.byteLength){if(Hr>0){var $r=new Uint8Array(Br,Hr);Jt.set($r,0),this._stashUsed=$r.byteLength,this._stashByteStart+=Hr}}else this._stashUsed=0,this._stashByteStart+=Hr;this._stashUsed+Te.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+Te.byteLength),Jt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Jt.set(new Uint8Array(Te),this._stashUsed),this._stashUsed+=Te.byteLength}else{var Ft=this._dispatchChunks(Te,Pe);if(Ft<Te.byteLength){var cr=Te.byteLength-Ft;cr>this._bufferSize&&(this._expandBuffer(cr),Jt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Jt.set(new Uint8Array(Te,Ft),0),this._stashUsed+=cr,this._stashByteStart=Pe+Ft}}}else if(this._stashUsed===0){var $t=this._dispatchChunks(Te,Pe);if($t<Te.byteLength){var Nr=Te.byteLength-$t;Nr>this._bufferSize&&this._expandBuffer(Nr);var yn=new Uint8Array(this._stashBuffer,0,this._bufferSize);yn.set(new Uint8Array(Te,$t),0),this._stashUsed+=Nr,this._stashByteStart=Pe+$t}}else{this._stashUsed+Te.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+Te.byteLength);var un=new Uint8Array(this._stashBuffer,0,this._bufferSize);un.set(new Uint8Array(Te),this._stashUsed),this._stashUsed+=Te.byteLength;var Kt=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Kt<this._stashUsed&&Kt>0){var St=new Uint8Array(this._stashBuffer,Kt);un.set(St,0)}this._stashUsed-=Kt,this._stashByteStart+=Kt}}},{key:"_flushStashBuffer",value:function(Te){if(this._stashUsed>0){var Pe=this._stashBuffer.slice(0,this._stashUsed),Ge=this._dispatchChunks(Pe,this._stashByteStart),st=Pe.byteLength-Ge;if(Ge<Pe.byteLength)if(Te)h.w(this.TAG,"".concat(st," bytes unconsumed data remain when flush buffer, dropped"));else{if(Ge>0){var Bt=new Uint8Array(this._stashBuffer,0,this._bufferSize),$t=new Uint8Array(Pe,Ge);Bt.set($t,0),this._stashUsed=$t.byteLength,this._stashByteStart+=Ge}return 0}return this._stashUsed=0,this._stashByteStart=0,st}return 0}},{key:"_onLoaderComplete",value:function(Te,Pe){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(Te,Pe){h.e(this.TAG,"Loader error, code = ".concat(Pe.code,", msg = ").concat(Pe.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,Te=d.UNRECOVERABLE_EARLY_EOF);switch(Te){case d.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Ge=this._currentRange.to+1;Ge<this._totalLength&&(h.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Ge,!1));return}Te=d.UNRECOVERABLE_EARLY_EOF;break}case d.UNRECOVERABLE_EARLY_EOF:case d.CONNECTING_TIMEOUT:case d.HTTP_STATUS_CODE_INVALID:case d.EXCEPTION:break}if(this._onError)this._onError(Te,Pe);else throw new r("IOException: "+Pe.msg)}}]),vt}(),z=X,Y={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 $(){return Object.assign({},Y)}var ne=function(){function vt(){Object(w.a)(this,vt)}return Object(f.a)(vt,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var Te=new z({},$()),Pe=Te.loaderType;return Te.destroy(),Pe=="fetch-stream-loader"||Pe=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var Te=new z({},$()),Pe=Te.loaderType;return Te.destroy(),Pe}},{key:"supportNativeMediaPlayback",value:function(Te){vt.videoElement==null&&(vt.videoElement=window.document.createElement("video"));var Pe=vt.videoElement.canPlayType(Te);return Pe==="probably"||Pe=="maybe"}},{key:"getFeatureList",value:function(){var Te={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return Te.mseFlvPlayback=vt.supportMSEH264Playback(),Te.networkStreamIO=vt.supportNetworkStreamIO(),Te.networkLoaderName=vt.getNetworkLoaderTypeName(),Te.mseLiveFlvPlayback=Te.mseFlvPlayback&&Te.networkStreamIO,Te.nativeMP4H264Playback=vt.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),Te.nativeWebmVP8Playback=vt.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),Te.nativeWebmVP9Playback=vt.supportNativeMediaPlayback('video/webm; codecs="vp9"'),Te}}]),vt}(),J=ne,ge={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"},de=ge,Ie=function(){function vt(){Object(w.a)(this,vt)}return Object(f.a)(vt,null,[{key:"forceGlobalTag",get:function(){return h.FORCE_GLOBAL_TAG},set:function(Te){h.FORCE_GLOBAL_TAG=Te,vt._notifyChange()}},{key:"globalTag",get:function(){return h.GLOBAL_TAG},set:function(Te){h.GLOBAL_TAG=Te,vt._notifyChange()}},{key:"enableAll",get:function(){return h.ENABLE_VERBOSE&&h.ENABLE_DEBUG&&h.ENABLE_INFO&&h.ENABLE_WARN&&h.ENABLE_ERROR},set:function(Te){h.ENABLE_VERBOSE=Te,h.ENABLE_DEBUG=Te,h.ENABLE_INFO=Te,h.ENABLE_WARN=Te,h.ENABLE_ERROR=Te,vt._notifyChange()}},{key:"enableDebug",get:function(){return h.ENABLE_DEBUG},set:function(Te){h.ENABLE_DEBUG=Te,vt._notifyChange()}},{key:"enableVerbose",get:function(){return h.ENABLE_VERBOSE},set:function(Te){h.ENABLE_VERBOSE=Te,vt._notifyChange()}},{key:"enableInfo",get:function(){return h.ENABLE_INFO},set:function(Te){h.ENABLE_INFO=Te,vt._notifyChange()}},{key:"enableWarn",get:function(){return h.ENABLE_WARN},set:function(Te){h.ENABLE_WARN=Te,vt._notifyChange()}},{key:"enableError",get:function(){return h.ENABLE_ERROR},set:function(Te){h.ENABLE_ERROR=Te,vt._notifyChange()}},{key:"getConfig",value:function(){return{globalTag:h.GLOBAL_TAG,forceGlobalTag:h.FORCE_GLOBAL_TAG,enableVerbose:h.ENABLE_VERBOSE,enableDebug:h.ENABLE_DEBUG,enableInfo:h.ENABLE_INFO,enableWarn:h.ENABLE_WARN,enableError:h.ENABLE_ERROR,enableCallback:h.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(Te){h.GLOBAL_TAG=Te.globalTag,h.FORCE_GLOBAL_TAG=Te.forceGlobalTag,h.ENABLE_VERBOSE=Te.enableVerbose,h.ENABLE_DEBUG=Te.enableDebug,h.ENABLE_INFO=Te.enableInfo,h.ENABLE_WARN=Te.enableWarn,h.ENABLE_ERROR=Te.enableError,h.ENABLE_CALLBACK=Te.enableCallback}},{key:"_notifyChange",value:function(){var Te=vt.emitter;if(Te.listenerCount("change")>0){var Pe=vt.getConfig();Te.emit("change",Pe)}}},{key:"registerListener",value:function(Te){vt.emitter.addListener("change",Te)}},{key:"removeListener",value:function(Te){vt.emitter.removeListener("change",Te)}},{key:"addLogListener",value:function(Te){h.emitter.addListener("log",Te),h.emitter.listenerCount("log")>0&&(h.ENABLE_CALLBACK=!0,vt._notifyChange())}},{key:"removeLogListener",value:function(Te){h.emitter.removeListener("log",Te),h.emitter.listenerCount("log")===0&&(h.ENABLE_CALLBACK=!1,vt._notifyChange())}}]),vt}();Ie.emitter=new p.a;var be=Ie,Ce=function(){function vt(){Object(w.a)(this,vt),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)(vt,[{key:"isComplete",value:function(){var Te=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,Pe=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&&Te&&Pe}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(Te){if(this.keyframesIndex==null)return null;var Pe=this.keyframesIndex,Ge=this._search(Pe.times,Te);return{index:Ge,milliseconds:Pe.times[Ge],fileposition:Pe.filepositions[Ge]}}},{key:"_search",value:function(Te,Pe){var Ge=0,st=Te.length-1,Bt=0,$t=0,Nr=st;for(Pe<Te[0]&&(Ge=0,$t=Nr+1);$t<=Nr;)if(Bt=$t+Math.floor((Nr-$t)/2),Bt===st||Pe>=Te[Bt]&&Pe<Te[Bt+1]){Ge=Bt;break}else Te[Bt]<Pe?$t=Bt+1:Nr=Bt-1;return Ge}}]),vt}(),je=Ce;function te(vt,ft,Te){var Pe=vt;if(ft+Te<Pe.length){for(;Te--;)if((Pe[++ft]&192)!==128)return!1;return!0}else return!1}function ve(vt){for(var ft=[],Te=vt,Pe=0,Ge=vt.length;Pe<Ge;){if(Te[Pe]<128){ft.push(String.fromCharCode(Te[Pe])),++Pe;continue}else if(!(Te[Pe]<192)){if(Te[Pe]<224){if(te(Te,Pe,1)){var st=(Te[Pe]&31)<<6|Te[Pe+1]&63;if(st>=128){ft.push(String.fromCharCode(st&65535)),Pe+=2;continue}}}else if(Te[Pe]<240){if(te(Te,Pe,2)){var Bt=(Te[Pe]&15)<<12|(Te[Pe+1]&63)<<6|Te[Pe+2]&63;if(Bt>=2048&&(Bt&63488)!==55296){ft.push(String.fromCharCode(Bt&65535)),Pe+=3;continue}}}else if(Te[Pe]<248&&te(Te,Pe,3)){var $t=(Te[Pe]&7)<<18|(Te[Pe+1]&63)<<12|(Te[Pe+2]&63)<<6|Te[Pe+3]&63;if($t>65536&&$t<1114112){$t-=65536,ft.push(String.fromCharCode($t>>>10|55296)),ft.push(String.fromCharCode($t&1023|56320)),Pe+=4;continue}}}ft.push(String.fromCharCode(65533)),++Pe}return ft.join("")}var $e=ve,Le=function(){var vt=new ArrayBuffer(2);return new DataView(vt).setInt16(0,256,!0),new Int16Array(vt)[0]===256}(),he=function(){function vt(){Object(w.a)(this,vt)}return Object(f.a)(vt,null,[{key:"parseScriptData",value:function(Te,Pe,Ge){var st={};try{var Bt=vt.parseValue(Te,Pe,Ge),$t=vt.parseValue(Te,Pe+Bt.size,Ge-Bt.size);st[Bt.data]=$t.data}catch(Nr){h.e("AMF",Nr.toString())}return st}},{key:"parseObject",value:function(Te,Pe,Ge){if(Ge<3)throw new a("Data not enough when parse ScriptDataObject");var st=vt.parseString(Te,Pe,Ge),Bt=vt.parseValue(Te,Pe+st.size,Ge-st.size),$t=Bt.objectEnd;return{data:{name:st.data,value:Bt.data},size:st.size+Bt.size,objectEnd:$t}}},{key:"parseVariable",value:function(Te,Pe,Ge){return vt.parseObject(Te,Pe,Ge)}},{key:"parseString",value:function(Te,Pe,Ge){if(Ge<2)throw new a("Data not enough when parse String");var st=new DataView(Te,Pe,Ge),Bt=st.getUint16(0,!Le),$t;return Bt>0?$t=$e(new Uint8Array(Te,Pe+2,Bt)):$t="",{data:$t,size:2+Bt}}},{key:"parseLongString",value:function(Te,Pe,Ge){if(Ge<4)throw new a("Data not enough when parse LongString");var st=new DataView(Te,Pe,Ge),Bt=st.getUint32(0,!Le),$t;return Bt>0?$t=$e(new Uint8Array(Te,Pe+4,Bt)):$t="",{data:$t,size:4+Bt}}},{key:"parseDate",value:function(Te,Pe,Ge){if(Ge<10)throw new a("Data size invalid when parse Date");var st=new DataView(Te,Pe,Ge),Bt=st.getFloat64(0,!Le),$t=st.getInt16(8,!Le);return Bt+=$t*60*1e3,{data:new Date(Bt),size:8+2}}},{key:"parseValue",value:function(Te,Pe,Ge){if(Ge<1)throw new a("Data not enough when parse Value");var st=new DataView(Te,Pe,Ge),Bt=1,$t=st.getUint8(0),Nr,yn=!1;try{switch($t){case 0:Nr=st.getFloat64(1,!Le),Bt+=8;break;case 1:{var un=st.getUint8(1);Nr=!!un,Bt+=1;break}case 2:{var Kt=vt.parseString(Te,Pe+1,Ge-1);Nr=Kt.data,Bt+=Kt.size;break}case 3:{Nr={};var St=0;for((st.getUint32(Ge-4,!Le)&16777215)===9&&(St=3);Bt<Ge-4;){var kt=vt.parseObject(Te,Pe+Bt,Ge-Bt-St);if(kt.objectEnd)break;Nr[kt.data.name]=kt.data.value,Bt+=kt.size}if(Bt<=Ge-3){var Jt=st.getUint32(Bt-1,!Le)&16777215;Jt===9&&(Bt+=3)}break}case 8:{Nr={},Bt+=4;var Br=0;for((st.getUint32(Ge-4,!Le)&16777215)===9&&(Br=3);Bt<Ge-8;){var Hr=vt.parseVariable(Te,Pe+Bt,Ge-Bt-Br);if(Hr.objectEnd)break;Nr[Hr.data.name]=Hr.data.value,Bt+=Hr.size}if(Bt<=Ge-3){var $r=st.getUint32(Bt-1,!Le)&16777215;$r===9&&(Bt+=3)}break}case 9:Nr=void 0,Bt=1,yn=!0;break;case 10:{Nr=[];var Ft=st.getUint32(1,!Le);Bt+=4;for(var cr=0;cr<Ft;cr++){var Cr=vt.parseValue(Te,Pe+Bt,Ge-Bt);Nr.push(Cr.data),Bt+=Cr.size}break}case 11:{var Fr=vt.parseDate(Te,Pe+1,Ge-1);Nr=Fr.data,Bt+=Fr.size;break}case 12:{var Wr=vt.parseString(Te,Pe+1,Ge-1);Nr=Wr.data,Bt+=Wr.size;break}default:Bt=Ge,h.w("AMF","Unsupported AMF value type "+$t)}}catch(An){h.e("AMF",An.toString())}return{data:Nr,size:Bt,objectEnd:yn}}}]),vt}(),ee=he,se=function(){function vt(ft){Object(w.a)(this,vt),this.TAG="ExpGolomb",this._buffer=ft,this._buffer_index=0,this._total_bytes=ft.byteLength,this._total_bits=ft.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(f.a)(vt,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var Te=this._total_bytes-this._buffer_index;if(Te<=0)throw new a("ExpGolomb: _fillCurrentWord() but no bytes available");var Pe=Math.min(4,Te),Ge=new Uint8Array(4);Ge.set(this._buffer.subarray(this._buffer_index,this._buffer_index+Pe)),this._current_word=new DataView(Ge.buffer).getUint32(0,!1),this._buffer_index+=Pe,this._current_word_bits_left=Pe*8}},{key:"readBits",value:function(Te){if(Te>32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if(Te<=this._current_word_bits_left){var Pe=this._current_word>>>32-Te;return this._current_word<<=Te,this._current_word_bits_left-=Te,Pe}var Ge=this._current_word_bits_left?this._current_word:0;Ge=Ge>>>32-this._current_word_bits_left;var st=Te-this._current_word_bits_left;this._fillCurrentWord();var Bt=Math.min(st,this._current_word_bits_left),$t=this._current_word>>>32-Bt;return this._current_word<<=Bt,this._current_word_bits_left-=Bt,Ge=Ge<<Bt|$t,Ge}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var Te;for(Te=0;Te<this._current_word_bits_left;Te++)if((this._current_word&2147483648>>>Te)!==0)return this._current_word<<=Te,this._current_word_bits_left-=Te,Te;return this._fillCurrentWord(),Te+this._skipLeadingZero()}},{key:"readUEG",value:function(){var Te=this._skipLeadingZero();return this.readBits(Te+1)-1}},{key:"readSEG",value:function(){var Te=this.readUEG();return Te&1?Te+1>>>1:-1*(Te>>>1)}}]),vt}(),Ue=se,ue=function(){function vt(){Object(w.a)(this,vt)}return Object(f.a)(vt,null,[{key:"_ebsp2rbsp",value:function(Te){for(var Pe=Te,Ge=Pe.byteLength,st=new Uint8Array(Ge),Bt=0,$t=0;$t<Ge;$t++){if($t>=2&&(Pe[$t]===3&&Pe[$t-1]===0&&Pe[$t-2]===0))continue;st[Bt]=Pe[$t],Bt++}return new Uint8Array(st.buffer,0,Bt)}},{key:"parseSPS",value:function(Te){var Pe=vt._ebsp2rbsp(Te),Ge=new Ue(Pe);Ge.readByte();var st=Ge.readByte();Ge.readByte();var Bt=Ge.readByte();Ge.readUEG();var $t=vt.getProfileString(st),Nr=vt.getLevelString(Bt),yn=1,un=420,Kt=[0,420,422,444],St=8;if((st===100||st===110||st===122||st===244||st===44||st===83||st===86||st===118||st===128||st===138||st===144)&&(yn=Ge.readUEG(),yn===3&&Ge.readBits(1),yn<=3&&(un=Kt[yn]),St=Ge.readUEG()+8,Ge.readUEG(),Ge.readBits(1),Ge.readBool()))for(var kt=yn!==3?8:12,Jt=0;Jt<kt;Jt++)Ge.readBool()&&(Jt<6?vt._skipScalingList(Ge,16):vt._skipScalingList(Ge,64));Ge.readUEG();var Br=Ge.readUEG();if(Br===0)Ge.readUEG();else if(Br===1){Ge.readBits(1),Ge.readSEG(),Ge.readSEG();for(var Hr=Ge.readUEG(),$r=0;$r<Hr;$r++)Ge.readSEG()}var Ft=Ge.readUEG();Ge.readBits(1);var cr=Ge.readUEG(),Cr=Ge.readUEG(),Fr=Ge.readBits(1);Fr===0&&Ge.readBits(1),Ge.readBits(1);var Wr=0,An=0,bn=0,Sn=0,kn=Ge.readBool();kn&&(Wr=Ge.readUEG(),An=Ge.readUEG(),bn=Ge.readUEG(),Sn=Ge.readUEG());var ei=1,Jn=1,ai=0,ii=!0,qe=0,Se=0,Me=Ge.readBool();if(Me){if(Ge.readBool()){var Be=Ge.readByte(),Qe=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Ve=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Be>0&&Be<16?(ei=Qe[Be-1],Jn=Ve[Be-1]):Be===255&&(ei=Ge.readByte()<<8|Ge.readByte(),Jn=Ge.readByte()<<8|Ge.readByte())}if(Ge.readBool()&&Ge.readBool(),Ge.readBool()&&(Ge.readBits(4),Ge.readBool()&&Ge.readBits(24)),Ge.readBool()&&(Ge.readUEG(),Ge.readUEG()),Ge.readBool()){var Ye=Ge.readBits(32),pt=Ge.readBits(32);ii=Ge.readBool(),qe=pt,Se=Ye*2,ai=qe/Se}}var ht=1;(ei!==1||Jn!==1)&&(ht=ei/Jn);var Vt=0,dr=0;if(yn===0)Vt=1,dr=2-Fr;else{var tr=yn===3?1:2,ir=yn===1?2:1;Vt=tr,dr=ir*(2-Fr)}var _t=(cr+1)*16,gr=(2-Fr)*((Cr+1)*16);_t-=(Wr+An)*Vt,gr-=(bn+Sn)*dr;var jt=Math.ceil(_t*ht);return Ge.destroy(),Ge=null,{profile_string:$t,level_string:Nr,bit_depth:St,ref_frames:Ft,chroma_format:un,chroma_format_string:vt.getChromaFormatString(un),frame_rate:{fixed:ii,fps:ai,fps_den:Se,fps_num:qe},sar_ratio:{width:ei,height:Jn},codec_size:{width:_t,height:gr},present_size:{width:jt,height:gr}}}},{key:"_skipScalingList",value:function(Te,Pe){for(var Ge=8,st=8,Bt=0,$t=0;$t<Pe;$t++)st!==0&&(Bt=Te.readSEG(),st=(Ge+Bt+256)%256),Ge=st===0?Ge:st}},{key:"getProfileString",value:function(Te){switch(Te){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(Te){return(Te/10).toFixed(1)}},{key:"getChromaFormatString",value:function(Te){switch(Te){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),vt}(),Ne=ue,Fe={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},ae=Fe;function ce(vt){return vt>>>8&255|(vt&255)<<8}function _e(vt){return(vt&4278190080)>>>24|(vt&16711680)>>>8|(vt&65280)<<8|(vt&255)<<24}function ze(vt,ft){return vt[ft]<<24|vt[ft+1]<<16|vt[ft+2]<<8|vt[ft+3]}var it=function(){function vt(ft,Te){Object(w.a)(this,vt),this.TAG="FLVDemuxer",this._config=Te,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=ft.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=ft.hasAudioTrack,this._hasVideo=ft.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new je,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 Pe=new ArrayBuffer(2);return new DataView(Pe).setInt16(0,256,!0),new Int16Array(Pe)[0]===256}()}return Object(f.a)(vt,[{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(Te){return Te.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(Te){this._onTrackMetadata=Te}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(Te){this._onMediaInfo=Te}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(Te){this._onMetaDataArrived=Te}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(Te){this._onScriptDataArrived=Te}},{key:"onError",get:function(){return this._onError},set:function(Te){this._onError=Te}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(Te){this._onDataAvailable=Te}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(Te){this._timestampBase=Te}},{key:"overridedDuration",get:function(){return this._duration},set:function(Te){this._durationOverrided=!0,this._duration=Te,this._mediaInfo.duration=Te}},{key:"overridedHasAudio",set:function(Te){this._hasAudioFlagOverrided=!0,this._hasAudio=Te,this._mediaInfo.hasAudio=Te}},{key:"overridedHasVideo",set:function(Te){this._hasVideoFlagOverrided=!0,this._hasVideo=Te,this._mediaInfo.hasVideo=Te}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new je}},{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(Te,Pe){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new a("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Ge=0,st=this._littleEndian;if(Pe===0)if(Te.byteLength>13){var Bt=vt.probe(Te);Ge=Bt.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,Pe+Ge!==this._dataOffset&&h.w(this.TAG,"First time parsing but chunk byteStart invalid!");var $t=new DataView(Te,Ge),Nr=$t.getUint32(0,!st);Nr!==0&&h.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Ge+=4}for(;Ge<Te.byteLength;){this._dispatch=!0;var yn=new DataView(Te,Ge);if(Ge+11+4>Te.byteLength)break;var un=yn.getUint8(0),Kt=yn.getUint32(0,!st)&16777215;if(Ge+11+Kt+4>Te.byteLength)break;if(un!==8&&un!==9&&un!==18){h.w(this.TAG,"Unsupported tag type ".concat(un,", skipped")),Ge+=11+Kt+4;continue}var St=yn.getUint8(4),kt=yn.getUint8(5),Jt=yn.getUint8(6),Br=yn.getUint8(7),Hr=Jt|kt<<8|St<<16|Br<<24,$r=yn.getUint32(7,!st)&16777215;$r!==0&&h.w(this.TAG,"Meet tag which has StreamID != 0!");var Ft=Ge+11;switch(un){case 8:this._parseAudioData(Te,Ft,Kt,Hr);break;case 9:this._parseVideoData(Te,Ft,Kt,Hr,Pe+Ge);break;case 18:this._parseScriptData(Te,Ft,Kt);break}var cr=yn.getUint32(11+Kt,!st);cr!==11+Kt&&h.w(this.TAG,"Invalid PrevTagSize ".concat(cr)),Ge+=11+Kt+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Ge}},{key:"_parseScriptData",value:function(Te,Pe,Ge){var st=ee.parseScriptData(Te,Pe,Ge);if(st.hasOwnProperty("onMetaData")){if(st.onMetaData==null||typeof st.onMetaData!="object"){h.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&h.w(this.TAG,"Found another onMetaData tag!"),this._metadata=st;var Bt=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Bt)),typeof Bt.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Bt.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Bt.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Bt.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Bt.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Bt.audiodatarate),typeof Bt.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Bt.videodatarate),typeof Bt.width=="number"&&(this._mediaInfo.width=Bt.width),typeof Bt.height=="number"&&(this._mediaInfo.height=Bt.height),typeof Bt.duration=="number"){if(!this._durationOverrided){var $t=Math.floor(Bt.duration*this._timescale);this._duration=$t,this._mediaInfo.duration=$t}}else this._mediaInfo.duration=0;if(typeof Bt.framerate=="number"){var Nr=Math.floor(Bt.framerate*1e3);if(Nr>0){var yn=Nr/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=yn,this._referenceFrameRate.fps_num=Nr,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=yn}}if(typeof Bt.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var un=Bt.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(un),Bt.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Bt,h.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(st).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},st)))}},{key:"_parseKeyframesIndex",value:function(Te){for(var Pe=[],Ge=[],st=1;st<Te.times.length;st++){var Bt=this._timestampBase+Math.floor(Te.times[st]*1e3);Pe.push(Bt),Ge.push(Te.filepositions[st])}return{times:Pe,filepositions:Ge}}},{key:"_parseAudioData",value:function(Te,Pe,Ge,st){if(Ge<=1){h.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Bt=this._littleEndian,$t=new DataView(Te,Pe,Ge),Nr=$t.getUint8(0),yn=Nr>>>4;if(yn!==2&&yn!==10){this._onError(ae.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+yn);return}var un=0,Kt=(Nr&12)>>>2;if(Kt>=0&&Kt<=4)un=this._flvSoundRateTable[Kt];else{this._onError(ae.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Kt);return}var St=(Nr&2)>>>1,kt=Nr&1,Jt=this._audioMetadata,Br=this._audioTrack;if(Jt||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Jt=this._audioMetadata={},Jt.type="audio",Jt.id=Br.id,Jt.timescale=this._timescale,Jt.duration=this._duration,Jt.audioSampleRate=un,Jt.channelCount=kt===0?1:2),yn===10){var Hr=this._parseAACAudioData(Te,Pe+1,Ge-1);if(Hr==null)return;if(Hr.packetType===0){Jt.config&&h.w(this.TAG,"Found another AudioSpecificConfig!");var $r=Hr.data;Jt.audioSampleRate=$r.samplingRate,Jt.channelCount=$r.channelCount,Jt.codec=$r.codec,Jt.originalCodec=$r.originalCodec,Jt.config=$r.config,Jt.refSampleDuration=1024/Jt.audioSampleRate*Jt.timescale,h.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",Jt);var Ft=this._mediaInfo;Ft.audioCodec=Jt.originalCodec,Ft.audioSampleRate=Jt.audioSampleRate,Ft.audioChannelCount=Jt.channelCount,Ft.hasVideo?Ft.videoCodec!=null&&(Ft.mimeType='video/x-flv; codecs="'+Ft.videoCodec+","+Ft.audioCodec+'"'):Ft.mimeType='video/x-flv; codecs="'+Ft.audioCodec+'"',Ft.isComplete()&&this._onMediaInfo(Ft)}else if(Hr.packetType===1){var cr=this._timestampBase+st,Cr={unit:Hr.data,length:Hr.data.byteLength,dts:cr,pts:cr};Br.samples.push(Cr),Br.length+=Hr.data.length}else h.e(this.TAG,"Flv: Unsupported AAC data type ".concat(Hr.packetType))}else if(yn===2){if(!Jt.codec){var Fr=this._parseMP3AudioData(Te,Pe+1,Ge-1,!0);if(Fr==null)return;Jt.audioSampleRate=Fr.samplingRate,Jt.channelCount=Fr.channelCount,Jt.codec=Fr.codec,Jt.originalCodec=Fr.originalCodec,Jt.refSampleDuration=1152/Jt.audioSampleRate*Jt.timescale,h.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Jt);var Wr=this._mediaInfo;Wr.audioCodec=Jt.codec,Wr.audioSampleRate=Jt.audioSampleRate,Wr.audioChannelCount=Jt.channelCount,Wr.audioDataRate=Fr.bitRate,Wr.hasVideo?Wr.videoCodec!=null&&(Wr.mimeType='video/x-flv; codecs="'+Wr.videoCodec+","+Wr.audioCodec+'"'):Wr.mimeType='video/x-flv; codecs="'+Wr.audioCodec+'"',Wr.isComplete()&&this._onMediaInfo(Wr)}var An=this._parseMP3AudioData(Te,Pe+1,Ge-1,!1);if(An==null)return;var bn=this._timestampBase+st,Sn={unit:An,length:An.byteLength,dts:bn,pts:bn};Br.samples.push(Sn),Br.length+=An.length}}},{key:"_parseAACAudioData",value:function(Te,Pe,Ge){if(Ge<=1){h.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var st={},Bt=new Uint8Array(Te,Pe,Ge);return st.packetType=Bt[0],Bt[0]===0?st.data=this._parseAACAudioSpecificConfig(Te,Pe+1,Ge-1):st.data=Bt.subarray(1),st}},{key:"_parseAACAudioSpecificConfig",value:function(Te,Pe,Ge){var st=new Uint8Array(Te,Pe,Ge),Bt=null,$t=0,Nr=0,yn=null,un=0,Kt=null;if($t=Nr=st[0]>>>3,un=(st[0]&7)<<1|st[1]>>>7,un<0||un>=this._mpegSamplingRates.length){this._onError(ae.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var St=this._mpegSamplingRates[un],kt=(st[1]&120)>>>3;if(kt<0||kt>=8){this._onError(ae.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}$t===5&&(Kt=(st[1]&7)<<1|st[2]>>>7,yn=(st[2]&124)>>>2);var Jt=self.navigator.userAgent.toLowerCase();return Jt.indexOf("firefox")!==-1?un>=6?($t=5,Bt=new Array(4),Kt=un-3):($t=2,Bt=new Array(2),Kt=un):Jt.indexOf("android")!==-1?($t=2,Bt=new Array(2),Kt=un):($t=5,Kt=un,Bt=new Array(4),un>=6?Kt=un-3:kt===1&&($t=2,Bt=new Array(2),Kt=un)),Bt[0]=$t<<3,Bt[0]|=(un&15)>>>1,Bt[1]=(un&15)<<7,Bt[1]|=(kt&15)<<3,$t===5&&(Bt[1]|=(Kt&15)>>>1,Bt[2]=(Kt&1)<<7,Bt[2]|=2<<2,Bt[3]=0),{config:Bt,samplingRate:St,channelCount:kt,codec:"mp4a.40."+$t,originalCodec:"mp4a.40."+Nr}}},{key:"_parseMP3AudioData",value:function(Te,Pe,Ge,st){if(Ge<4){h.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Bt=this._littleEndian,$t=new Uint8Array(Te,Pe,Ge),Nr=null;if(st){if($t[0]!==255)return;var yn=$t[1]>>>3&3,un=($t[1]&6)>>1,Kt=($t[2]&240)>>>4,St=($t[2]&12)>>>2,kt=$t[3]>>>6&3,Jt=kt!==3?2:1,Br=0,Hr=0,$r=34,Ft="mp3";switch(yn){case 0:Br=this._mpegAudioV25SampleRateTable[St];break;case 2:Br=this._mpegAudioV20SampleRateTable[St];break;case 3:Br=this._mpegAudioV10SampleRateTable[St];break}switch(un){case 1:$r=34,Kt<this._mpegAudioL3BitRateTable.length&&(Hr=this._mpegAudioL3BitRateTable[Kt]);break;case 2:$r=33,Kt<this._mpegAudioL2BitRateTable.length&&(Hr=this._mpegAudioL2BitRateTable[Kt]);break;case 3:$r=32,Kt<this._mpegAudioL1BitRateTable.length&&(Hr=this._mpegAudioL1BitRateTable[Kt]);break}Nr={bitRate:Hr,samplingRate:Br,channelCount:Jt,codec:Ft,originalCodec:Ft}}else Nr=$t;return Nr}},{key:"_parseVideoData",value:function(Te,Pe,Ge,st,Bt){if(Ge<=1){h.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var $t=new Uint8Array(Te,Pe,Ge)[0],Nr=($t&240)>>>4,yn=$t&15;if(yn!==7){this._onError(ae.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(yn));return}this._parseAVCVideoPacket(Te,Pe+1,Ge-1,st,Bt,Nr)}},{key:"_parseAVCVideoPacket",value:function(Te,Pe,Ge,st,Bt,$t){if(Ge<4){h.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var Nr=this._littleEndian,yn=new DataView(Te,Pe,Ge),un=yn.getUint8(0),Kt=yn.getUint32(0,!Nr)&16777215,St=Kt<<8>>8;if(un===0)this._parseAVCDecoderConfigurationRecord(Te,Pe+4,Ge-4);else if(un===1)this._parseAVCVideoData(Te,Pe+4,Ge-4,st,Bt,$t,St);else if(!(un===2)){this._onError(ae.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(un));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(Te,Pe,Ge){if(Ge<7){h.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var st=this._videoMetadata,Bt=this._videoTrack,$t=this._littleEndian,Nr=new DataView(Te,Pe,Ge);st?typeof st.avcc!="undefined"&&h.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),st=this._videoMetadata={},st.type="video",st.id=Bt.id,st.timescale=this._timescale,st.duration=this._duration);var yn=Nr.getUint8(0),un=Nr.getUint8(1),Kt=Nr.getUint8(2),St=Nr.getUint8(3);if(yn!==1||un===0){this._onError(ae.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(Nr.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(ae.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var kt=Nr.getUint8(5)&31;if(kt===0){this._onError(ae.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else kt>1&&h.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(kt));for(var Jt=6,Br=0;Br<kt;Br++){var Hr=Nr.getUint16(Jt,!$t);if(Jt+=2,Hr===0)continue;var $r=new Uint8Array(Te,Pe+Jt,Hr);Jt+=Hr;var Ft=Ne.parseSPS($r);if(Br!==0)continue;st.codecWidth=Ft.codec_size.width,st.codecHeight=Ft.codec_size.height,st.presentWidth=Ft.present_size.width,st.presentHeight=Ft.present_size.height,st.profile=Ft.profile_string,st.level=Ft.level_string,st.bitDepth=Ft.bit_depth,st.chromaFormat=Ft.chroma_format,st.sarRatio=Ft.sar_ratio,st.frameRate=Ft.frame_rate,(Ft.frame_rate.fixed===!1||Ft.frame_rate.fps_num===0||Ft.frame_rate.fps_den===0)&&(st.frameRate=this._referenceFrameRate);var cr=st.frameRate.fps_den,Cr=st.frameRate.fps_num;st.refSampleDuration=st.timescale*(cr/Cr);for(var Fr=$r.subarray(1,4),Wr="avc1.",An=0;An<3;An++){var bn=Fr[An].toString(16);bn.length<2&&(bn="0"+bn),Wr+=bn}st.codec=Wr;var Sn=this._mediaInfo;Sn.width=st.codecWidth,Sn.height=st.codecHeight,Sn.fps=st.frameRate.fps,Sn.profile=st.profile,Sn.level=st.level,Sn.refFrames=Ft.ref_frames,Sn.chromaFormat=Ft.chroma_format_string,Sn.sarNum=st.sarRatio.width,Sn.sarDen=st.sarRatio.height,Sn.videoCodec=Wr,Sn.hasAudio?Sn.audioCodec!=null&&(Sn.mimeType='video/x-flv; codecs="'+Sn.videoCodec+","+Sn.audioCodec+'"'):Sn.mimeType='video/x-flv; codecs="'+Sn.videoCodec+'"',Sn.isComplete()&&this._onMediaInfo(Sn)}var kn=Nr.getUint8(Jt);if(kn===0){this._onError(ae.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else kn>1&&h.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(kn));Jt++;for(var ei=0;ei<kn;ei++){var Jn=Nr.getUint16(Jt,!$t);if(Jt+=2,Jn===0)continue;Jt+=Jn}st.avcc=new Uint8Array(Ge),st.avcc.set(new Uint8Array(Te,Pe,Ge),0),h.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",st)}},{key:"_parseAVCVideoData",value:function(Te,Pe,Ge,st,Bt,$t,Nr){for(var yn=this._littleEndian,un=new DataView(Te,Pe,Ge),Kt=[],St=0,kt=0,Jt=this._naluLengthSize,Br=this._timestampBase+st,Hr=$t===1;kt<Ge;){if(kt+4>=Ge){h.w(this.TAG,"Malformed Nalu near timestamp ".concat(Br,", offset = ").concat(kt,", dataSize = ").concat(Ge));break}var $r=un.getUint32(kt,!yn);if(Jt===3&&($r>>>=8),$r>Ge-Jt){h.w(this.TAG,"Malformed Nalus near timestamp ".concat(Br,", NaluSize > DataSize!"));return}var Ft=un.getUint8(kt+Jt)&31;Ft===5&&(Hr=!0);var cr=new Uint8Array(Te,Pe+kt,Jt+$r),Cr={type:Ft,data:cr};Kt.push(Cr),St+=cr.byteLength,kt+=Jt+$r}if(Kt.length){var Fr=this._videoTrack,Wr={units:Kt,length:St,isKeyframe:Hr,dts:Br,cts:Nr,pts:Br+Nr};Hr&&(Wr.fileposition=Bt),Fr.samples.push(Wr),Fr.length+=St}}}],[{key:"probe",value:function(Te){var Pe=new Uint8Array(Te),Ge={match:!1};if(Pe[0]!==70||Pe[1]!==76||Pe[2]!==86||Pe[3]!==1)return Ge;var st=(Pe[4]&4)>>>2!==0,Bt=(Pe[4]&1)!==0,$t=ze(Pe,5);return $t<9?Ge:{match:!0,consumed:$t,dataOffset:$t,hasAudioTrack:st,hasVideoTrack:Bt}}}]),vt}(),Ze=it,Ee=function(){function vt(){Object(w.a)(this,vt)}return Object(f.a)(vt,null,[{key:"init",value:function(){vt.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 Te in vt.types)vt.types.hasOwnProperty(Te)&&(vt.types[Te]=[Te.charCodeAt(0),Te.charCodeAt(1),Te.charCodeAt(2),Te.charCodeAt(3)]);var Pe=vt.constants={};Pe.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),Pe.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),Pe.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),Pe.STSC=Pe.STCO=Pe.STTS,Pe.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Pe.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]),Pe.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]),Pe.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),Pe.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Pe.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(Te){for(var Pe=8,Ge=null,st=Array.prototype.slice.call(arguments,1),Bt=st.length,$t=0;$t<Bt;$t++)Pe+=st[$t].byteLength;Ge=new Uint8Array(Pe),Ge[0]=Pe>>>24&255,Ge[1]=Pe>>>16&255,Ge[2]=Pe>>>8&255,Ge[3]=Pe&255,Ge.set(Te,4);for(var Nr=8,yn=0;yn<Bt;yn++)Ge.set(st[yn],Nr),Nr+=st[yn].byteLength;return Ge}},{key:"generateInitSegment",value:function(Te){var Pe=vt.box(vt.types.ftyp,vt.constants.FTYP),Ge=vt.moov(Te),st=new Uint8Array(Pe.byteLength+Ge.byteLength);return st.set(Pe,0),st.set(Ge,Pe.byteLength),st}},{key:"moov",value:function(Te){var Pe=vt.mvhd(Te.timescale,Te.duration),Ge=vt.trak(Te),st=vt.mvex(Te);return vt.box(vt.types.moov,Pe,Ge,st)}},{key:"mvhd",value:function(Te,Pe){return vt.box(vt.types.mvhd,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,Pe>>>24&255,Pe>>>16&255,Pe>>>8&255,Pe&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(Te){return vt.box(vt.types.trak,vt.tkhd(Te),vt.mdia(Te))}},{key:"tkhd",value:function(Te){var Pe=Te.id,Ge=Te.duration,st=Te.presentWidth,Bt=Te.presentHeight;return vt.box(vt.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,Pe>>>24&255,Pe>>>16&255,Pe>>>8&255,Pe&255,0,0,0,0,Ge>>>24&255,Ge>>>16&255,Ge>>>8&255,Ge&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,st>>>8&255,st&255,0,0,Bt>>>8&255,Bt&255,0,0]))}},{key:"mdia",value:function(Te){return vt.box(vt.types.mdia,vt.mdhd(Te),vt.hdlr(Te),vt.minf(Te))}},{key:"mdhd",value:function(Te){var Pe=Te.timescale,Ge=Te.duration;return vt.box(vt.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,Pe>>>24&255,Pe>>>16&255,Pe>>>8&255,Pe&255,Ge>>>24&255,Ge>>>16&255,Ge>>>8&255,Ge&255,85,196,0,0]))}},{key:"hdlr",value:function(Te){var Pe=null;return Te.type==="audio"?Pe=vt.constants.HDLR_AUDIO:Pe=vt.constants.HDLR_VIDEO,vt.box(vt.types.hdlr,Pe)}},{key:"minf",value:function(Te){var Pe=null;return Te.type==="audio"?Pe=vt.box(vt.types.smhd,vt.constants.SMHD):Pe=vt.box(vt.types.vmhd,vt.constants.VMHD),vt.box(vt.types.minf,Pe,vt.dinf(),vt.stbl(Te))}},{key:"dinf",value:function(){var Te=vt.box(vt.types.dinf,vt.box(vt.types.dref,vt.constants.DREF));return Te}},{key:"stbl",value:function(Te){var Pe=vt.box(vt.types.stbl,vt.stsd(Te),vt.box(vt.types.stts,vt.constants.STTS),vt.box(vt.types.stsc,vt.constants.STSC),vt.box(vt.types.stsz,vt.constants.STSZ),vt.box(vt.types.stco,vt.constants.STCO));return Pe}},{key:"stsd",value:function(Te){return Te.type==="audio"?Te.codec==="mp3"?vt.box(vt.types.stsd,vt.constants.STSD_PREFIX,vt.mp3(Te)):vt.box(vt.types.stsd,vt.constants.STSD_PREFIX,vt.mp4a(Te)):vt.box(vt.types.stsd,vt.constants.STSD_PREFIX,vt.avc1(Te))}},{key:"mp3",value:function(Te){var Pe=Te.channelCount,Ge=Te.audioSampleRate,st=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Pe,0,16,0,0,0,0,Ge>>>8&255,Ge&255,0,0]);return vt.box(vt.types[".mp3"],st)}},{key:"mp4a",value:function(Te){var Pe=Te.channelCount,Ge=Te.audioSampleRate,st=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Pe,0,16,0,0,0,0,Ge>>>8&255,Ge&255,0,0]);return vt.box(vt.types.mp4a,st,vt.esds(Te))}},{key:"esds",value:function(Te){var Pe=Te.config||[],Ge=Pe.length,st=new Uint8Array([0,0,0,0,3,23+Ge,0,1,0,4,15+Ge,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Ge]).concat(Pe).concat([6,1,2]));return vt.box(vt.types.esds,st)}},{key:"avc1",value:function(Te){var Pe=Te.avcc,Ge=Te.codecWidth,st=Te.codecHeight,Bt=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,Ge>>>8&255,Ge&255,st>>>8&255,st&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 vt.box(vt.types.avc1,Bt,vt.box(vt.types.avcC,Pe))}},{key:"mvex",value:function(Te){return vt.box(vt.types.mvex,vt.trex(Te))}},{key:"trex",value:function(Te){var Pe=Te.id,Ge=new Uint8Array([0,0,0,0,Pe>>>24&255,Pe>>>16&255,Pe>>>8&255,Pe&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return vt.box(vt.types.trex,Ge)}},{key:"moof",value:function(Te,Pe){return vt.box(vt.types.moof,vt.mfhd(Te.sequenceNumber),vt.traf(Te,Pe))}},{key:"mfhd",value:function(Te){var Pe=new Uint8Array([0,0,0,0,Te>>>24&255,Te>>>16&255,Te>>>8&255,Te&255]);return vt.box(vt.types.mfhd,Pe)}},{key:"traf",value:function(Te,Pe){var Ge=Te.id,st=vt.box(vt.types.tfhd,new Uint8Array([0,0,0,0,Ge>>>24&255,Ge>>>16&255,Ge>>>8&255,Ge&255])),Bt=vt.box(vt.types.tfdt,new Uint8Array([0,0,0,0,Pe>>>24&255,Pe>>>16&255,Pe>>>8&255,Pe&255])),$t=vt.sdtp(Te),Nr=vt.trun(Te,$t.byteLength+16+16+8+16+8+8);return vt.box(vt.types.traf,st,Bt,Nr,$t)}},{key:"sdtp",value:function(Te){for(var Pe=Te.samples||[],Ge=Pe.length,st=new Uint8Array(4+Ge),Bt=0;Bt<Ge;Bt++){var $t=Pe[Bt].flags;st[Bt+4]=$t.isLeading<<6|$t.dependsOn<<4|$t.isDependedOn<<2|$t.hasRedundancy}return vt.box(vt.types.sdtp,st)}},{key:"trun",value:function(Te,Pe){var Ge=Te.samples||[],st=Ge.length,Bt=12+16*st,$t=new Uint8Array(Bt);Pe+=8+Bt,$t.set([0,0,15,1,st>>>24&255,st>>>16&255,st>>>8&255,st&255,Pe>>>24&255,Pe>>>16&255,Pe>>>8&255,Pe&255],0);for(var Nr=0;Nr<st;Nr++){var yn=Ge[Nr].duration,un=Ge[Nr].size,Kt=Ge[Nr].flags,St=Ge[Nr].cts;$t.set([yn>>>24&255,yn>>>16&255,yn>>>8&255,yn&255,un>>>24&255,un>>>16&255,un>>>8&255,un&255,Kt.isLeading<<2|Kt.dependsOn,Kt.isDependedOn<<6|Kt.hasRedundancy<<4|Kt.isNonSync,0,0,St>>>24&255,St>>>16&255,St>>>8&255,St&255],12+16*Nr)}return vt.box(vt.types.trun,$t)}},{key:"mdat",value:function(Te){return vt.box(vt.types.mdat,Te)}}]),vt}();Ee.init();var mt=Ee,Je=function(){function vt(){Object(w.a)(this,vt)}return Object(f.a)(vt,null,[{key:"getSilentFrame",value:function(Te,Pe){if(Te==="mp4a.40.2"){if(Pe===1)return new Uint8Array([0,200,0,128,35,128]);if(Pe===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(Pe===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(Pe===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(Pe===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(Pe===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(Pe===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(Pe===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(Pe===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}}]),vt}(),rt=Je,wt=function vt(ft,Te,Pe,Ge,st){Object(w.a)(this,vt),this.dts=ft,this.pts=Te,this.duration=Pe,this.originalDts=Ge,this.isSyncPoint=st,this.fileposition=null},Ot=function(){function vt(){Object(w.a)(this,vt),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)(vt,[{key:"appendSyncPoint",value:function(Te){Te.isSyncPoint=!0,this.syncPoints.push(Te)}}]),vt}(),Ct=function(){function vt(){Object(w.a)(this,vt),this._list=[]}return Object(f.a)(vt,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(Te){var Pe=this._list;if(Te.length===0)return;Pe.length>0&&Te[0].originalDts<Pe[Pe.length-1].originalDts&&this.clear(),Array.prototype.push.apply(Pe,Te)}},{key:"getLastSyncPointBeforeDts",value:function(Te){if(this._list.length==0)return null;var Pe=this._list,Ge=0,st=Pe.length-1,Bt=0,$t=0,Nr=st;for(Te<Pe[0].dts&&(Ge=0,$t=Nr+1);$t<=Nr;)if(Bt=$t+Math.floor((Nr-$t)/2),Bt===st||Te>=Pe[Bt].dts&&Te<Pe[Bt+1].dts){Ge=Bt;break}else Pe[Bt].dts<Te?$t=Bt+1:Nr=Bt-1;return this._list[Ge]}}]),vt}(),Dt=function(){function vt(ft){Object(w.a)(this,vt),this._type=ft,this._list=[],this._lastAppendLocation=-1}return Object(f.a)(vt,[{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}},{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(Te){var Pe=this._list;if(Pe.length===0)return-2;var Ge=Pe.length-1,st=0,Bt=0,$t=Ge,Nr=0;if(Te<Pe[0].originalBeginDts)return Nr=-1,Nr;for(;Bt<=$t;)if(st=Bt+Math.floor(($t-Bt)/2),st===Ge||Te>Pe[st].lastSample.originalDts&&Te<Pe[st+1].originalBeginDts){Nr=st;break}else Pe[st].originalBeginDts<Te?Bt=st+1:$t=st-1;return Nr}},{key:"_searchNearestSegmentAfter",value:function(Te){return this._searchNearestSegmentBefore(Te)+1}},{key:"append",value:function(Te){var Pe=this._list,Ge=Te,st=this._lastAppendLocation,Bt=0;st!==-1&&st<Pe.length&&Ge.originalBeginDts>=Pe[st].lastSample.originalDts&&(st===Pe.length-1||st<Pe.length-1&&Ge.originalBeginDts<Pe[st+1].originalBeginDts)?Bt=st+1:Pe.length>0&&(Bt=this._searchNearestSegmentBefore(Ge.originalBeginDts)+1),this._lastAppendLocation=Bt,this._list.splice(Bt,0,Ge)}},{key:"getLastSegmentBefore",value:function(Te){var Pe=this._searchNearestSegmentBefore(Te);return Pe>=0?this._list[Pe]:null}},{key:"getLastSampleBefore",value:function(Te){var Pe=this.getLastSegmentBefore(Te);return Pe!=null?Pe.lastSample:null}},{key:"getLastSyncPointBefore",value:function(Te){for(var Pe=this._searchNearestSegmentBefore(Te),Ge=this._list[Pe].syncPoints;Ge.length===0&&Pe>0;)Pe--,Ge=this._list[Pe].syncPoints;return Ge.length>0?Ge[Ge.length-1]:null}}]),vt}(),Xe=function(){function vt(ft){Object(w.a)(this,vt),this.TAG="MP4Remuxer",this._config=ft,this._isLive=ft.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 Dt("audio"),this._videoSegmentInfoList=new Dt("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661)),this._fillSilentAfterSeek=T.msedge||T.msie,this._mp3UseMpegAudio=!T.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(f.a)(vt,[{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(Te){return Te.onDataAvailable=this.remux.bind(this),Te.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(Te){this._onInitSegment=Te}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(Te){this._onMediaSegment=Te}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(Te){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(Te,Pe){if(!this._onMediaSegment)throw new a("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(Te,Pe),this._remuxVideo(Pe),this._remuxAudio(Te)}},{key:"_onTrackMetadataReceived",value:function(Te,Pe){var Ge=null,st="mp4",Bt=Pe.codec;if(Te==="audio")this._audioMeta=Pe,Pe.codec==="mp3"&&this._mp3UseMpegAudio?(st="mpeg",Bt="",Ge=new Uint8Array):Ge=mt.generateInitSegment(Pe);else if(Te==="video")this._videoMeta=Pe,Ge=mt.generateInitSegment(Pe);else return;if(!this._onInitSegment)throw new a("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(Te,{type:Te,data:Ge.buffer,codec:Bt,container:"".concat(Te,"/").concat(st),mediaDuration:Pe.duration})}},{key:"_calculateDtsBase",value:function(Te,Pe){if(this._dtsBaseInited)return;Te.samples&&Te.samples.length&&(this._audioDtsBase=Te.samples[0].dts),Pe.samples&&Pe.samples.length&&(this._videoDtsBase=Pe.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var Te=this._videoStashedLastSample,Pe=this._audioStashedLastSample,Ge={type:"video",id:1,sequenceNumber:0,samples:[],length:0};Te!=null&&(Ge.samples.push(Te),Ge.length=Te.length);var st={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};Pe!=null&&(st.samples.push(Pe),st.length=Pe.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Ge,!0),this._remuxAudio(st,!0)}},{key:"_remuxAudio",value:function(Te,Pe){if(this._audioMeta==null)return;var Ge=Te,st=Ge.samples,Bt=void 0,$t=-1,Nr=-1,yn=-1,un=this._audioMeta.refSampleDuration,Kt=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,St=this._dtsBaseInited&&this._audioNextDts===void 0,kt=!1;if(!st||st.length===0)return;if(st.length===1&&!Pe)return;var Jt=0,Br=null,Hr=0;Kt?(Jt=0,Hr=Ge.length):(Jt=8,Hr=8+Ge.length);var $r=null;if(st.length>1&&($r=st.pop(),Hr-=$r.length),this._audioStashedLastSample!=null){var Ft=this._audioStashedLastSample;this._audioStashedLastSample=null,st.unshift(Ft),Hr+=Ft.length}$r!=null&&(this._audioStashedLastSample=$r);var cr=st[0].dts-this._dtsBase;if(this._audioNextDts)Bt=cr-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Bt=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(kt=!0));else{var Cr=this._audioSegmentInfoList.getLastSampleBefore(cr);if(Cr!=null){var Fr=cr-(Cr.originalDts+Cr.duration);Fr<=3&&(Fr=0);var Wr=Cr.dts+Cr.duration+Fr;Bt=cr-Wr}else Bt=0}if(kt){var An=cr-Bt,bn=this._videoSegmentInfoList.getLastSegmentBefore(cr);if(bn!=null&&bn.beginDts<An){var Sn=rt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Sn){var kn=bn.beginDts,ei=An-bn.beginDts;h.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(kn,", duration: ").concat(ei)),st.unshift({unit:Sn,dts:kn,pts:kn}),Hr+=Sn.byteLength}}else kt=!1}for(var Jn=[],ai=0;ai<st.length;ai++){var ii=st[ai],qe=ii.unit,Se=ii.dts-this._dtsBase,Me=Se-Bt;$t===-1&&($t=Me);var Be=0;if(ai!==st.length-1){var Qe=st[ai+1].dts-this._dtsBase-Bt;Be=Qe-Me}else if($r!=null){var Ve=$r.dts-this._dtsBase-Bt;Be=Ve-Me}else Jn.length>=1?Be=Jn[Jn.length-1].duration:Be=Math.floor(un);var Ye=!1,pt=null;if(Be>un*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!T.safari){Ye=!0;var ht=Math.abs(Be-un),Vt=Math.ceil(ht/un),dr=Me+un;h.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
|
|
|
`+"dts: ".concat(Me+Be," ms, expected: ").concat(Me+Math.round(un)," ms, ")+"delta: ".concat(Math.round(ht)," ms, generate: ").concat(Vt," frames"));var tr=rt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);tr==null&&(h.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),tr=qe),pt=[];for(var ir=0;ir<Vt;ir++){var _t=Math.round(dr);if(pt.length>0){var gr=pt[pt.length-1];gr.duration=_t-gr.dts}var jt={dts:_t,pts:_t,cts:0,unit:tr,size:tr.byteLength,duration:0,originalDts:Se,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};pt.push(jt),Hr+=jt.size,dr+=un}var Sr=pt[pt.length-1];Sr.duration=Me+Be-Sr.dts,Be=Math.round(un)}Jn.push({dts:Me,pts:Me,cts:0,unit:ii.unit,size:ii.unit.byteLength,duration:Be,originalDts:Se,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Ye&&Jn.push.apply(Jn,pt)}Kt?Br=new Uint8Array(Hr):(Br=new Uint8Array(Hr),Br[0]=Hr>>>24&255,Br[1]=Hr>>>16&255,Br[2]=Hr>>>8&255,Br[3]=Hr&255,Br.set(mt.types.mdat,4));for(var Ar=0;Ar<Jn.length;Ar++){var sr=Jn[Ar].unit;Br.set(sr,Jt),Jt+=sr.byteLength}var ln=Jn[Jn.length-1];Nr=ln.dts+ln.duration,this._audioNextDts=Nr;var _n=new Ot;_n.beginDts=$t,_n.endDts=Nr,_n.beginPts=$t,_n.endPts=Nr,_n.originalBeginDts=Jn[0].originalDts,_n.originalEndDts=ln.originalDts+ln.duration,_n.firstSample=new wt(Jn[0].dts,Jn[0].pts,Jn[0].duration,Jn[0].originalDts,!1),_n.lastSample=new wt(ln.dts,ln.pts,ln.duration,ln.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(_n),Ge.samples=Jn,Ge.sequenceNumber++;var Wn=null;Kt?Wn=new Uint8Array:Wn=mt.moof(Ge,$t),Ge.samples=[],Ge.length=0;var Nn={type:"audio",data:this._mergeBoxes(Wn,Br).buffer,sampleCount:Jn.length,info:_n};Kt&&St&&(Nn.timestampOffset=$t),this._onMediaSegment("audio",Nn)}},{key:"_remuxVideo",value:function(Te,Pe){if(this._videoMeta==null)return;var Ge=Te,st=Ge.samples,Bt=void 0,$t=-1,Nr=-1,yn=-1,un=-1;if(!st||st.length===0)return;if(st.length===1&&!Pe)return;var Kt=8,St=null,kt=8+Te.length,Jt=null;if(st.length>1&&(Jt=st.pop(),kt-=Jt.length),this._videoStashedLastSample!=null){var Br=this._videoStashedLastSample;this._videoStashedLastSample=null,st.unshift(Br),kt+=Br.length}Jt!=null&&(this._videoStashedLastSample=Jt);var Hr=st[0].dts-this._dtsBase;if(this._videoNextDts)Bt=Hr-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Bt=0;else{var $r=this._videoSegmentInfoList.getLastSampleBefore(Hr);if($r!=null){var Ft=Hr-($r.originalDts+$r.duration);Ft<=3&&(Ft=0);var cr=$r.dts+$r.duration+Ft;Bt=Hr-cr}else Bt=0}for(var Cr=new Ot,Fr=[],Wr=0;Wr<st.length;Wr++){var An=st[Wr],bn=An.dts-this._dtsBase,Sn=An.isKeyframe,kn=bn-Bt,ei=An.cts,Jn=kn+ei;$t===-1&&($t=kn,yn=Jn);var ai=0;if(Wr!==st.length-1){var ii=st[Wr+1].dts-this._dtsBase-Bt;ai=ii-kn}else if(Jt!=null){var qe=Jt.dts-this._dtsBase-Bt;ai=qe-kn}else Fr.length>=1?ai=Fr[Fr.length-1].duration:ai=Math.floor(this._videoMeta.refSampleDuration);if(Sn){var Se=new wt(kn,Jn,ai,An.dts,!0);Se.fileposition=An.fileposition,Cr.appendSyncPoint(Se)}Fr.push({dts:kn,pts:Jn,cts:ei,units:An.units,size:An.length,isKeyframe:Sn,duration:ai,originalDts:bn,flags:{isLeading:0,dependsOn:Sn?2:1,isDependedOn:Sn?1:0,hasRedundancy:0,isNonSync:Sn?0:1}})}St=new Uint8Array(kt),St[0]=kt>>>24&255,St[1]=kt>>>16&255,St[2]=kt>>>8&255,St[3]=kt&255,St.set(mt.types.mdat,4);for(var Me=0;Me<Fr.length;Me++)for(var Be=Fr[Me].units;Be.length;){var Qe=Be.shift(),Ve=Qe.data;St.set(Ve,Kt),Kt+=Ve.byteLength}var Ye=Fr[Fr.length-1];if(Nr=Ye.dts+Ye.duration,un=Ye.pts+Ye.duration,this._videoNextDts=Nr,Cr.beginDts=$t,Cr.endDts=Nr,Cr.beginPts=yn,Cr.endPts=un,Cr.originalBeginDts=Fr[0].originalDts,Cr.originalEndDts=Ye.originalDts+Ye.duration,Cr.firstSample=new wt(Fr[0].dts,Fr[0].pts,Fr[0].duration,Fr[0].originalDts,Fr[0].isKeyframe),Cr.lastSample=new wt(Ye.dts,Ye.pts,Ye.duration,Ye.originalDts,Ye.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Cr),Ge.samples=Fr,Ge.sequenceNumber++,this._forceFirstIDR){var pt=Fr[0].flags;pt.dependsOn=2,pt.isNonSync=0}var ht=mt.moof(Ge,$t);Ge.samples=[],Ge.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(ht,St).buffer,sampleCount:Fr.length,info:Cr})}},{key:"_mergeBoxes",value:function(Te,Pe){var Ge=new Uint8Array(Te.byteLength+Pe.byteLength);return Ge.set(Te,0),Ge.set(Pe,Te.byteLength),Ge}}]),vt}(),q=Xe,V={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"},Ae=V,xe=function(){function vt(ft,Te){Object(w.a)(this,vt),this.TAG="TransmuxingController",this._emitter=new p.a,this._config=Te,ft.segments||(ft.segments=[{duration:ft.duration,filesize:ft.filesize,url:ft.url}]),typeof ft.cors!="boolean"&&(ft.cors=!0),typeof ft.withCredentials!="boolean"&&(ft.withCredentials=!1),this._mediaDataSource=ft,this._currentSegmentIndex=0;var Pe=0;this._mediaDataSource.segments.forEach(function(Ge){Ge.timestampBase=Pe,Pe+=Ge.duration,Ge.cors=ft.cors,Ge.withCredentials=ft.withCredentials,Te.referrerPolicy&&(Ge.referrerPolicy=Te.referrerPolicy)}),!isNaN(Pe)&&this._mediaDataSource.duration!==Pe&&(this._mediaDataSource.duration=Pe),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)(vt,[{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(Te,Pe){this._emitter.addListener(Te,Pe)}},{key:"off",value:function(Te,Pe){this._emitter.removeListener(Te,Pe)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(Te,Pe){this._currentSegmentIndex=Te;var Ge=this._mediaDataSource.segments[Te],st=this._ioctl=new z(Ge,this._config,Te);st.onError=this._onIOException.bind(this),st.onSeeked=this._onIOSeeked.bind(this),st.onComplete=this._onIOComplete.bind(this),st.onRedirect=this._onIORedirect.bind(this),st.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),Pe?this._demuxer.bindDataSource(this._ioctl):st.onDataArrival=this._onInitChunkArrival.bind(this),st.open(Pe)}},{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(Te){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var Pe=this._searchSegmentIndexContains(Te);if(Pe===this._currentSegmentIndex){var Ge=this._mediaInfo.segments[Pe];if(Ge==null)this._pendingSeekTime=Te;else{var st=Ge.getNearestKeyframe(Te);this._remuxer.seek(st.milliseconds),this._ioctl.seek(st.fileposition),this._pendingResolveSeekPoint=st.milliseconds}}else{var Bt=this._mediaInfo.segments[Pe];if(Bt==null)this._pendingSeekTime=Te,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(Pe);else{var $t=Bt.getNearestKeyframe(Te);this._internalAbort(),this._remuxer.seek(Te),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[Pe].timestampBase,this._loadSegment(Pe,$t.fileposition),this._pendingResolveSeekPoint=$t.milliseconds,this._reportSegmentMediaInfo(Pe)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(Te){for(var Pe=this._mediaDataSource.segments,Ge=Pe.length-1,st=0;st<Pe.length;st++)if(Te<Pe[st].timestampBase){Ge=st-1;break}return Ge}},{key:"_onInitChunkArrival",value:function(Te,Pe){var Ge=this,st=null,Bt=0;if(Pe>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Bt=this._demuxer.parseChunks(Te,Pe);else if((st=Ze.probe(Te)).match){this._demuxer=new Ze(st,this._config),this._remuxer||(this._remuxer=new q(this._config));var $t=this._mediaDataSource;$t.duration!=null&&!isNaN($t.duration)&&(this._demuxer.overridedDuration=$t.duration),typeof $t.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=$t.hasAudio),typeof $t.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=$t.hasVideo),this._demuxer.timestampBase=$t.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),Bt=this._demuxer.parseChunks(Te,Pe)}else st=null,h.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Ge._internalAbort()}),this._emitter.emit(Ae.DEMUX_ERROR,ae.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Bt=0;return Bt}},{key:"_onMediaInfo",value:function(Te){var Pe=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},Te),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,je.prototype));var Ge=Object.assign({},Te);Object.setPrototypeOf(Ge,je.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Ge,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var st=Pe._pendingSeekTime;Pe._pendingSeekTime=null,Pe.seek(st)})}},{key:"_onMetaDataArrived",value:function(Te){this._emitter.emit(Ae.METADATA_ARRIVED,Te)}},{key:"_onScriptDataArrived",value:function(Te){this._emitter.emit(Ae.SCRIPTDATA_ARRIVED,Te)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(Te){var Pe=Te,Ge=Pe+1;Ge<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Ge)):(this._remuxer.flushStashedSamples(),this._emitter.emit(Ae.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(Te){var Pe=this._ioctl.extraData;this._mediaDataSource.segments[Pe].redirectedURL=Te}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(Ae.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(Te,Pe){h.e(this.TAG,"IOException: type = ".concat(Te,", code = ").concat(Pe.code,", msg = ").concat(Pe.msg)),this._emitter.emit(Ae.IO_ERROR,Te,Pe),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(Te,Pe){h.e(this.TAG,"DemuxException: type = ".concat(Te,", info = ").concat(Pe)),this._emitter.emit(Ae.DEMUX_ERROR,Te,Pe)}},{key:"_onRemuxerInitSegmentArrival",value:function(Te,Pe){this._emitter.emit(Ae.INIT_SEGMENT,Te,Pe)}},{key:"_onRemuxerMediaSegmentArrival",value:function(Te,Pe){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(Ae.MEDIA_SEGMENT,Te,Pe),this._pendingResolveSeekPoint!=null&&Te==="video"){var Ge=Pe.info.syncPoints,st=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,T.safari&&Ge.length>0&&Ge[0].originalDts===st&&(st=Ge[0].pts),this._emitter.emit(Ae.RECOMMEND_SEEKPOINT,st)}}},{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(Te){var Pe=this._mediaInfo.segments[Te],Ge=Object.assign({},Pe);Ge.duration=this._mediaInfo.duration,Ge.segmentCount=this._mediaInfo.segmentCount,delete Ge.segments,delete Ge.keyframesIndex,this._emitter.emit(Ae.MEDIA_INFO,Ge)}},{key:"_reportStatisticsInfo",value:function(){var Te={};Te.url=this._ioctl.currentURL,Te.hasRedirect=this._ioctl.hasRedirect,Te.hasRedirect&&(Te.redirectedURL=this._ioctl.currentRedirectedURL),Te.speed=this._ioctl.currentSpeed,Te.loaderType=this._ioctl.loaderType,Te.currentSegmentIndex=this._currentSegmentIndex,Te.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(Ae.STATISTICS_INFO,Te)}}]),vt}(),re=xe,ot=function(ft){var Te="TransmuxingWorker",Pe=null,Ge=Hr.bind(this);m.install(),ft.addEventListener("message",function($r){switch($r.data.cmd){case"init":Pe=new re($r.data.param[0],$r.data.param[1]),Pe.on(Ae.IO_ERROR,kt.bind(this)),Pe.on(Ae.DEMUX_ERROR,Jt.bind(this)),Pe.on(Ae.INIT_SEGMENT,st.bind(this)),Pe.on(Ae.MEDIA_SEGMENT,Bt.bind(this)),Pe.on(Ae.LOADING_COMPLETE,$t.bind(this)),Pe.on(Ae.RECOVERED_EARLY_EOF,Nr.bind(this)),Pe.on(Ae.MEDIA_INFO,yn.bind(this)),Pe.on(Ae.METADATA_ARRIVED,un.bind(this)),Pe.on(Ae.SCRIPTDATA_ARRIVED,Kt.bind(this)),Pe.on(Ae.STATISTICS_INFO,St.bind(this)),Pe.on(Ae.RECOMMEND_SEEKPOINT,Br.bind(this));break;case"destroy":Pe&&(Pe.destroy(),Pe=null),ft.postMessage({msg:"destroyed"});break;case"start":Pe.start();break;case"stop":Pe.stop();break;case"seek":Pe.seek($r.data.param);break;case"pause":Pe.pause();break;case"resume":Pe.resume();break;case"logging_config":{var Ft=$r.data.param;be.applyConfig(Ft),Ft.enableCallback===!0?be.addLogListener(Ge):be.removeLogListener(Ge);break}}});function st($r,Ft){var cr={msg:Ae.INIT_SEGMENT,data:{type:$r,data:Ft}};ft.postMessage(cr,[Ft.data])}function Bt($r,Ft){var cr={msg:Ae.MEDIA_SEGMENT,data:{type:$r,data:Ft}};ft.postMessage(cr,[Ft.data])}function $t(){var $r={msg:Ae.LOADING_COMPLETE};ft.postMessage($r)}function Nr(){var $r={msg:Ae.RECOVERED_EARLY_EOF};ft.postMessage($r)}function yn($r){var Ft={msg:Ae.MEDIA_INFO,data:$r};ft.postMessage(Ft)}function un($r){var Ft={msg:Ae.METADATA_ARRIVED,data:$r};ft.postMessage(Ft)}function Kt($r){var Ft={msg:Ae.SCRIPTDATA_ARRIVED,data:$r};ft.postMessage(Ft)}function St($r){var Ft={msg:Ae.STATISTICS_INFO,data:$r};ft.postMessage(Ft)}function kt($r,Ft){ft.postMessage({msg:Ae.IO_ERROR,data:{type:$r,info:Ft}})}function Jt($r,Ft){ft.postMessage({msg:Ae.DEMUX_ERROR,data:{type:$r,info:Ft}})}function Br($r){ft.postMessage({msg:Ae.RECOMMEND_SEEKPOINT,data:$r})}function Hr($r,Ft){ft.postMessage({msg:"logcat_callback",data:{type:$r,logcat:Ft}})}},bt=ot,tt=function(){function vt(ft,Te){if(Object(w.a)(this,vt),this.TAG="Transmuxer",this._emitter=new p.a,Te.enableWorker&&typeof Worker!="undefined")try{var Pe=o("0r65");this._worker=Pe(bt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[ft,Te]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},be.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:be.getConfig()})}catch(st){h.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new re(ft,Te)}else this._controller=new re(ft,Te);if(this._controller){var Ge=this._controller;Ge.on(Ae.IO_ERROR,this._onIOError.bind(this)),Ge.on(Ae.DEMUX_ERROR,this._onDemuxError.bind(this)),Ge.on(Ae.INIT_SEGMENT,this._onInitSegment.bind(this)),Ge.on(Ae.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Ge.on(Ae.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Ge.on(Ae.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Ge.on(Ae.MEDIA_INFO,this._onMediaInfo.bind(this)),Ge.on(Ae.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Ge.on(Ae.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Ge.on(Ae.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Ge.on(Ae.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(f.a)(vt,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),be.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Te,Pe){this._emitter.addListener(Te,Pe)}},{key:"off",value:function(Te,Pe){this._emitter.removeListener(Te,Pe)}},{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(Te){this._worker?this._worker.postMessage({cmd:"seek",param:Te}):this._controller.seek(Te)}},{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(Te,Pe){var Ge=this;Promise.resolve().then(function(){Ge._emitter.emit(Ae.INIT_SEGMENT,Te,Pe)})}},{key:"_onMediaSegment",value:function(Te,Pe){var Ge=this;Promise.resolve().then(function(){Ge._emitter.emit(Ae.MEDIA_SEGMENT,Te,Pe)})}},{key:"_onLoadingComplete",value:function(){var Te=this;Promise.resolve().then(function(){Te._emitter.emit(Ae.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var Te=this;Promise.resolve().then(function(){Te._emitter.emit(Ae.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(Te){var Pe=this;Promise.resolve().then(function(){Pe._emitter.emit(Ae.MEDIA_INFO,Te)})}},{key:"_onMetaDataArrived",value:function(Te){var Pe=this;Promise.resolve().then(function(){Pe._emitter.emit(Ae.METADATA_ARRIVED,Te)})}},{key:"_onScriptDataArrived",value:function(Te){var Pe=this;Promise.resolve().then(function(){Pe._emitter.emit(Ae.SCRIPTDATA_ARRIVED,Te)})}},{key:"_onStatisticsInfo",value:function(Te){var Pe=this;Promise.resolve().then(function(){Pe._emitter.emit(Ae.STATISTICS_INFO,Te)})}},{key:"_onIOError",value:function(Te,Pe){var Ge=this;Promise.resolve().then(function(){Ge._emitter.emit(Ae.IO_ERROR,Te,Pe)})}},{key:"_onDemuxError",value:function(Te,Pe){var Ge=this;Promise.resolve().then(function(){Ge._emitter.emit(Ae.DEMUX_ERROR,Te,Pe)})}},{key:"_onRecommendSeekpoint",value:function(Te){var Pe=this;Promise.resolve().then(function(){Pe._emitter.emit(Ae.RECOMMEND_SEEKPOINT,Te)})}},{key:"_onLoggingConfigChanged",value:function(Te){this._worker&&this._worker.postMessage({cmd:"logging_config",param:Te})}},{key:"_onWorkerMessage",value:function(Te){var Pe=Te.data,Ge=Pe.data;if(Pe.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(Pe.msg){case Ae.INIT_SEGMENT:case Ae.MEDIA_SEGMENT:this._emitter.emit(Pe.msg,Ge.type,Ge.data);break;case Ae.LOADING_COMPLETE:case Ae.RECOVERED_EARLY_EOF:this._emitter.emit(Pe.msg);break;case Ae.MEDIA_INFO:Object.setPrototypeOf(Ge,je.prototype),this._emitter.emit(Pe.msg,Ge);break;case Ae.METADATA_ARRIVED:case Ae.SCRIPTDATA_ARRIVED:case Ae.STATISTICS_INFO:this._emitter.emit(Pe.msg,Ge);break;case Ae.IO_ERROR:case Ae.DEMUX_ERROR:this._emitter.emit(Pe.msg,Ge.type,Ge.info);break;case Ae.RECOMMEND_SEEKPOINT:this._emitter.emit(Pe.msg,Ge);break;case"logcat_callback":h.emitter.emit("log",Ge.type,Ge.logcat);break;default:break}}}]),vt}(),Tt=tt,Gt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},lr=Gt,pr=function(){function vt(ft){Object(w.a)(this,vt),this.TAG="MSEController",this._config=ft,this._emitter=new p.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 Ct}return Object(f.a)(vt,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Te,Pe){this._emitter.addListener(Te,Pe)}},{key:"off",value:function(Te,Pe){this._emitter.removeListener(Te,Pe)}},{key:"attachMediaElement",value:function(Te){if(this._mediaSource)throw new a("MediaSource has been attached to an HTMLMediaElement!");var Pe=this._mediaSource=new window.MediaSource;Pe.addEventListener("sourceopen",this.e.onSourceOpen),Pe.addEventListener("sourceended",this.e.onSourceEnded),Pe.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=Te,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),Te.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var Te=this._mediaSource;for(var Pe in this._sourceBuffers){var Ge=this._pendingSegments[Pe];Ge.splice(0,Ge.length),this._pendingSegments[Pe]=null,this._pendingRemoveRanges[Pe]=null,this._lastInitSegments[Pe]=null;var st=this._sourceBuffers[Pe];if(st){if(Te.readyState!=="closed"){try{Te.removeSourceBuffer(st)}catch(Bt){h.e(this.TAG,Bt.message)}st.removeEventListener("error",this.e.onSourceBufferError),st.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[Pe]=null,this._sourceBuffers[Pe]=null}}if(Te.readyState==="open")try{Te.endOfStream()}catch(Bt){h.e(this.TAG,Bt.message)}Te.removeEventListener("sourceopen",this.e.onSourceOpen),Te.removeEventListener("sourceended",this.e.onSourceEnded),Te.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(Te,Pe){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(Te),this._pendingSegments[Te.type].push(Te);return}var Ge=Te,st="".concat(Ge.container);Ge.codec&&Ge.codec.length>0&&(st+=";codecs=".concat(Ge.codec));var Bt=!1;if(h.v(this.TAG,"Received Initialization Segment, mimeType: "+st),this._lastInitSegments[Ge.type]=Ge,st!==this._mimeTypes[Ge.type]){if(this._mimeTypes[Ge.type])h.v(this.TAG,"Notice: ".concat(Ge.type," mimeType changed, origin: ").concat(this._mimeTypes[Ge.type],", target: ").concat(st));else{Bt=!0;try{var $t=this._sourceBuffers[Ge.type]=this._mediaSource.addSourceBuffer(st);$t.addEventListener("error",this.e.onSourceBufferError),$t.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(Nr){h.e(this.TAG,Nr.message),this._emitter.emit(lr.ERROR,{code:Nr.code,msg:Nr.message});return}}this._mimeTypes[Ge.type]=st}Pe||this._pendingSegments[Ge.type].push(Ge),Bt||this._sourceBuffers[Ge.type]&&!this._sourceBuffers[Ge.type].updating&&this._doAppendSegments(),T.safari&&Ge.container==="audio/mpeg"&&Ge.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Ge.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(Te){var Pe=Te;this._pendingSegments[Pe.type].push(Pe),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Ge=this._sourceBuffers[Pe.type];Ge&&!Ge.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(Te){for(var Pe in this._sourceBuffers){if(!this._sourceBuffers[Pe])continue;var Ge=this._sourceBuffers[Pe];if(this._mediaSource.readyState==="open")try{Ge.abort()}catch(un){h.e(this.TAG,un.message)}this._idrList.clear();var st=this._pendingSegments[Pe];if(st.splice(0,st.length),this._mediaSource.readyState==="closed")continue;for(var Bt=0;Bt<Ge.buffered.length;Bt++){var $t=Ge.buffered.start(Bt),Nr=Ge.buffered.end(Bt);this._pendingRemoveRanges[Pe].push({start:$t,end:Nr})}if(Ge.updating||this._doRemoveRanges(),T.safari){var yn=this._lastInitSegments[Pe];yn&&(this._pendingSegments[Pe].push(yn),Ge.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var Te=this._mediaSource,Pe=this._sourceBuffers;if(!Te||Te.readyState!=="open"){Te&&Te.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}Pe.video&&Pe.video.updating||Pe.audio&&Pe.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,Te.endOfStream())}},{key:"getNearestKeyframe",value:function(Te){return this._idrList.getLastSyncPointBeforeDts(Te)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var Te=this._mediaElement.currentTime;for(var Pe in this._sourceBuffers){var Ge=this._sourceBuffers[Pe];if(Ge){var st=Ge.buffered;if(st.length>=1&&Te-st.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var Te=this._mediaElement.currentTime;for(var Pe in this._sourceBuffers){var Ge=this._sourceBuffers[Pe];if(Ge){for(var st=Ge.buffered,Bt=!1,$t=0;$t<st.length;$t++){var Nr=st.start($t),yn=st.end($t);if(Nr<=Te&&Te<yn+3){if(Te-Nr>=this._config.autoCleanupMaxBackwardDuration){Bt=!0;var un=Te-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[Pe].push({start:Nr,end:un})}}else yn<Te&&(Bt=!0,this._pendingRemoveRanges[Pe].push({start:Nr,end:yn}))}Bt&&!Ge.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var Te=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(Te.video&&Te.video.updating||Te.audio&&Te.audio.updating)return;var Pe=this._mediaSource.duration,Ge=this._pendingMediaDuration;Ge>0&&(isNaN(Pe)||Ge>Pe)&&(h.v(this.TAG,"Update MediaSource duration from ".concat(Pe," to ").concat(Ge)),this._mediaSource.duration=Ge),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var Te in this._pendingRemoveRanges){if(!this._sourceBuffers[Te]||this._sourceBuffers[Te].updating)continue;for(var Pe=this._sourceBuffers[Te],Ge=this._pendingRemoveRanges[Te];Ge.length&&!Pe.updating;){var st=Ge.shift();Pe.remove(st.start,st.end)}}}},{key:"_doAppendSegments",value:function(){var Te=this._pendingSegments;for(var Pe in Te){if(!this._sourceBuffers[Pe]||this._sourceBuffers[Pe].updating)continue;if(Te[Pe].length>0){var Ge=Te[Pe].shift();if(Ge.timestampOffset){var st=this._sourceBuffers[Pe].timestampOffset,Bt=Ge.timestampOffset/1e3,$t=Math.abs(st-Bt);$t>.1&&(h.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(st," to ").concat(Bt)),this._sourceBuffers[Pe].timestampOffset=Bt),delete Ge.timestampOffset}if(!Ge.data||Ge.data.byteLength===0)continue;try{this._sourceBuffers[Pe].appendBuffer(Ge.data),this._isBufferFull=!1,Pe==="video"&&Ge.hasOwnProperty("info")&&this._idrList.appendArray(Ge.info.syncPoints)}catch(Nr){this._pendingSegments[Pe].unshift(Ge),Nr.code===22?(this._isBufferFull||this._emitter.emit(lr.BUFFER_FULL),this._isBufferFull=!0):(h.e(this.TAG,Nr.message),this._emitter.emit(lr.ERROR,{code:Nr.code,msg:Nr.message}))}}}}},{key:"_onSourceOpen",value:function(){if(h.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var Te=this._pendingSourceBufferInit;Te.length;){var Pe=Te.shift();this.appendInitSegment(Pe,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(lr.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){h.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){h.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 Te=this._pendingSegments;return Te.video.length>0||Te.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var Te=this._pendingRemoveRanges;return Te.video.length>0||Te.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(lr.UPDATE_END)}},{key:"_onSourceBufferError",value:function(Te){h.e(this.TAG,"SourceBuffer Error: ".concat(Te))}}]),vt}(),Rr=pr,xt={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},It={NETWORK_EXCEPTION:d.EXCEPTION,NETWORK_STATUS_CODE_INVALID:d.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:d.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:d.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},At=function(){function vt(ft,Te){if(Object(w.a)(this,vt),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new p.a,this._config=$(),typeof Te=="object"&&Object.assign(this._config,Te),ft.type.toLowerCase()!=="flv")throw new t("FlvPlayer requires an flv MediaDataSource input!");ft.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=ft,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 Pe=T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661);this._alwaysSeekKeyframe=!!(Pe||T.msedge||T.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(f.a)(vt,[{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(Te,Pe){var Ge=this;Te===de.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Ge._emitter.emit(de.MEDIA_INFO,Ge.mediaInfo)}):Te===de.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Ge._emitter.emit(de.STATISTICS_INFO,Ge.statisticsInfo)})),this._emitter.addListener(Te,Pe)}},{key:"off",value:function(Te,Pe){this._emitter.removeListener(Te,Pe)}},{key:"attachMediaElement",value:function(Te){var Pe=this;if(this._mediaElement=Te,Te.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),Te.addEventListener("seeking",this.e.onvSeeking),Te.addEventListener("canplay",this.e.onvCanPlay),Te.addEventListener("stalled",this.e.onvStalled),Te.addEventListener("progress",this.e.onvProgress),this._msectl=new Rr(this._config),this._msectl.on(lr.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(lr.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(lr.SOURCE_OPEN,function(){Pe._mseSourceOpened=!0,Pe._hasPendingLoad&&(Pe._hasPendingLoad=!1,Pe.load())}),this._msectl.on(lr.ERROR,function(Ge){Pe._emitter.emit(de.ERROR,xt.MEDIA_ERROR,It.MEDIA_MSE_ERROR,Ge)}),this._msectl.attachMediaElement(Te),this._pendingSeekTime!=null)try{Te.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Ge){}}},{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 Te=this;if(!this._mediaElement)throw new a("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new a("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 Tt(this._mediaDataSource,this._config),this._transmuxer.on(Ae.INIT_SEGMENT,function(Pe,Ge){Te._msectl.appendInitSegment(Ge)}),this._transmuxer.on(Ae.MEDIA_SEGMENT,function(Pe,Ge){if(Te._msectl.appendMediaSegment(Ge),Te._config.lazyLoad&&!Te._config.isLive){var st=Te._mediaElement.currentTime;Ge.info.endDts>=(st+Te._config.lazyLoadMaxDuration)*1e3&&(Te._progressChecker==null&&(h.v(Te.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),Te._suspendTransmuxer()))}}),this._transmuxer.on(Ae.LOADING_COMPLETE,function(){Te._msectl.endOfStream(),Te._emitter.emit(de.LOADING_COMPLETE)}),this._transmuxer.on(Ae.RECOVERED_EARLY_EOF,function(){Te._emitter.emit(de.RECOVERED_EARLY_EOF)}),this._transmuxer.on(Ae.IO_ERROR,function(Pe,Ge){Te._emitter.emit(de.ERROR,xt.NETWORK_ERROR,Pe,Ge)}),this._transmuxer.on(Ae.DEMUX_ERROR,function(Pe,Ge){Te._emitter.emit(de.ERROR,xt.MEDIA_ERROR,Pe,{code:-1,msg:Ge})}),this._transmuxer.on(Ae.MEDIA_INFO,function(Pe){Te._mediaInfo=Pe,Te._emitter.emit(de.MEDIA_INFO,Object.assign({},Pe))}),this._transmuxer.on(Ae.METADATA_ARRIVED,function(Pe){Te._emitter.emit(de.METADATA_ARRIVED,Pe)}),this._transmuxer.on(Ae.SCRIPTDATA_ARRIVED,function(Pe){Te._emitter.emit(de.SCRIPTDATA_ARRIVED,Pe)}),this._transmuxer.on(Ae.STATISTICS_INFO,function(Pe){Te._statisticsInfo=Te._fillStatisticsInfo(Pe),Te._emitter.emit(de.STATISTICS_INFO,Object.assign({},Te._statisticsInfo))}),this._transmuxer.on(Ae.RECOMMEND_SEEKPOINT,function(Pe){Te._mediaElement&&!Te._config.accurateSeek&&(Te._requestSetTime=!0,Te._mediaElement.currentTime=Pe/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(Te){this._mediaElement.volume=Te}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Te){this._mediaElement.muted=Te}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Te){this._mediaElement?this._internalSeek(Te):this._pendingSeekTime=Te}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}},{key:"_fillStatisticsInfo",value:function(Te){if(Te.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return Te;var Pe=!0,Ge=0,st=0;if(this._mediaElement.getVideoPlaybackQuality){var Bt=this._mediaElement.getVideoPlaybackQuality();Ge=Bt.totalVideoFrames,st=Bt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Ge=this._mediaElement.webkitDecodedFrameCount,st=this._mediaElement.webkitDroppedFrameCount):Pe=!1;return Pe&&(Te.decodedFrames=Ge,Te.droppedFrames=st),Te}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var Te=this._mediaElement.buffered,Pe=this._mediaElement.currentTime,Ge=0,st=0,Bt=0;Bt<Te.length;Bt++){var $t=Te.start(Bt),Nr=Te.end(Bt);if($t<=Pe&&Pe<Nr){Ge=$t,st=Nr;break}}st>=Pe+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(h.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){h.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 Te=this._mediaElement.currentTime,Pe=this._mediaElement.buffered,Ge=!1,st=0;st<Pe.length;st++){var Bt=Pe.start(st),$t=Pe.end(st);if(Te>=Bt&&Te<$t){Te>=$t-this._config.lazyLoadRecoverDuration&&(Ge=!0);break}}Ge&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Ge&&(h.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(Te){for(var Pe=this._mediaElement.buffered,Ge=0;Ge<Pe.length;Ge++){var st=Pe.start(Ge),Bt=Pe.end(Ge);if(Te>=st&&Te<Bt)return!0}return!1}},{key:"_internalSeek",value:function(Te){var Pe=this._isTimepointBuffered(Te),Ge=!1,st=0;if(Te<1&&this._mediaElement.buffered.length>0){var Bt=this._mediaElement.buffered.start(0);(Bt<1&&Te<Bt||T.safari)&&(Ge=!0,st=T.safari?.1:Bt)}if(Ge)this._requestSetTime=!0,this._mediaElement.currentTime=st;else if(Pe){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=Te;else{var $t=this._msectl.getNearestKeyframe(Math.floor(Te*1e3));this._requestSetTime=!0,$t!=null?this._mediaElement.currentTime=$t.dts/1e3:this._mediaElement.currentTime=Te}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(Te),this._transmuxer.seek(Math.floor(Te*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=Te)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var Te=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(Te)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(Te),this._transmuxer.seek(Math.floor(Te*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=Te))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(Te){var Pe=this._mediaElement;if(Te||!this._receivedCanPlay||Pe.readyState<2){var Ge=Pe.buffered;Ge.length>0&&Pe.currentTime<Ge.start(0)&&(h.w(this.TAG,"Playback seems stuck at ".concat(Pe.currentTime,", seek to ").concat(Ge.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=Ge.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(Te){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(Te){var Pe=this._mediaElement.currentTime,Ge=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(Pe<1&&Ge.length>0){var st=Ge.start(0);if(st<1&&Pe<st||T.safari){this._requestSetTime=!0,this._mediaElement.currentTime=T.safari?.1:st;return}}if(this._isTimepointBuffered(Pe)){if(this._alwaysSeekKeyframe){var Bt=this._msectl.getNearestKeyframe(Math.floor(Pe*1e3));Bt!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Bt.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:Pe,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(Te){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(Te){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(Te){this._checkAndResumeStuckPlayback()}}]),vt}(),Zt=At,br=function(){function vt(ft,Te){if(Object(w.a)(this,vt),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new p.a,this._config=$(),typeof Te=="object"&&Object.assign(this._config,Te),ft.type.toLowerCase()==="flv")throw new t("NativePlayer does't support flv MediaDataSource input!");if(ft.hasOwnProperty("segments"))throw new t("NativePlayer(".concat(ft.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=ft,this._mediaElement=null}return Object(f.a)(vt,[{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(Te,Pe){var Ge=this;Te===de.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Ge._emitter.emit(de.MEDIA_INFO,Ge.mediaInfo)}):Te===de.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Ge._emitter.emit(de.STATISTICS_INFO,Ge.statisticsInfo)})),this._emitter.addListener(Te,Pe)}},{key:"off",value:function(Te,Pe){this._emitter.removeListener(Te,Pe)}},{key:"attachMediaElement",value:function(Te){if(this._mediaElement=Te,Te.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{Te.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Pe){}}},{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 a("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(Te){this._mediaElement.volume=Te}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Te){this._mediaElement.muted=Te}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Te){this._mediaElement?this._mediaElement.currentTime=Te:this._pendingSeekTime=Te}},{key:"mediaInfo",get:function(){var Te=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",Pe={mimeType:Te+this._mediaDataSource.type};return this._mediaElement&&(Pe.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(Pe.width=this._mediaElement.videoWidth,Pe.height=this._mediaElement.videoHeight)),Pe}},{key:"statisticsInfo",get:function(){var Te={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return Te;var Pe=!0,Ge=0,st=0;if(this._mediaElement.getVideoPlaybackQuality){var Bt=this._mediaElement.getVideoPlaybackQuality();Ge=Bt.totalVideoFrames,st=Bt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Ge=this._mediaElement.webkitDecodedFrameCount,st=this._mediaElement.webkitDroppedFrameCount):Pe=!1;return Pe&&(Te.decodedFrames=Ge,Te.droppedFrames=st),Te}},{key:"_onvLoadedMetadata",value:function(Te){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(de.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(de.STATISTICS_INFO,this.statisticsInfo)}}]),vt}(),Lr=br;m.install();function Jr(vt,ft){var Te=vt;if(Te==null||typeof Te!="object")throw new t("MediaDataSource must be an javascript object!");if(!Te.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch(Te.type){case"flv":return new Zt(Te,ft);default:return new Lr(Te,ft)}}function In(){return J.supportMSEH264Playback()}function Gr(){return J.getFeatureList()}var Tr={};Tr.createPlayer=Jr,Tr.isSupported=In,Tr.getFeatureList=Gr,Tr.BaseLoader=v,Tr.LoaderStatus=u,Tr.LoaderErrors=d,Tr.Events=de,Tr.ErrorTypes=xt,Tr.ErrorDetails=It,Tr.FlvPlayer=Zt,Tr.NativePlayer=Lr,Tr.LoggingControl=be,Object.defineProperty(Tr,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var fr=B.a=Tr},GVMX:function(M,B,o){var w=o("JEkh"),f=w.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"}});M.exports=f},GdRQ:function(M,B,o){"use strict";function w(C){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(x){return typeof x}:w=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},w(C)}Object.defineProperty(B,"__esModule",{value:!0}),B.isMac=u,B.isWindows=d,B.isIOS=v,B.isSafari=y,B.isIE=S,B.isEdge=b,B.isFirefox=E,B.hasScrollbarGutter=B.supportsImageMetadata=B.supportsCursorURIs=B.dragThreshold=B.isTouchDevice=void 0;var f=m(o("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var C=new WeakMap;return A=function(){return C},C}function m(C){if(C&&C.__esModule)return C;if(C===null||w(C)!=="object"&&typeof C!="function")return{default:C};var T=A();if(T&&T.has(C))return T.get(C);var x={},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in C)if(Object.prototype.hasOwnProperty.call(C,I)){var L=_?Object.getOwnPropertyDescriptor(C,I):null;L&&(L.get||L.set)?Object.defineProperty(x,I,L):x[I]=C[I]}return x.default=C,T&&T.set(C,x),x}var g="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;B.isTouchDevice=g,window.addEventListener("touchstart",function C(){B.isTouchDevice=g=!0,window.removeEventListener("touchstart",C,!1)},!1);var p=10*(window.devicePixelRatio||1);B.dragThreshold=p;var c=!1;try{var h=document.createElement("canvas");h.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',h.style.cursor.indexOf("url")===0?(f.Info("Data URI scheme cursor supported"),c=!0):f.Warn("Data URI scheme cursor not supported")}catch(C){f.Error("Data URI scheme cursor test exception: "+C)}var l=c;B.supportsCursorURIs=l;var e=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),e=!0}catch(C){}var n=e;B.supportsImageMetadata=n;var i=!0;try{var r=document.createElement("div");r.style.visibility="hidden",r.style.overflow="scroll",document.body.appendChild(r);var a=document.createElement("div");r.appendChild(a);var t=r.offsetWidth-a.offsetWidth;r.parentNode.removeChild(r),i=t!=0}catch(C){f.Error("Scrollbar test exception: "+C)}var s=i;B.hasScrollbarGutter=s;function u(){return navigator&&!!/mac/i.exec(navigator.platform)}function d(){return navigator&&!!/win/i.exec(navigator.platform)}function v(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function y(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function S(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function b(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function E(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(M,B,o){var w=o("bYtY"),f=o("6Ic6"),A=o("IwbS"),m=o("y+Vt"),g=o("sK/D"),p=g.createClipPath,c=["itemStyle"],h=["emphasis","itemStyle"],l=["color","color0","borderColor","borderColor0"],e=f.extend({type:"candlestick",render:function(y,S,b){this.group.removeClipPath(),this._updateDrawMode(y),this._isLargeDraw?this._renderLarge(y):this._renderNormal(y)},incrementalPrepareRender:function(y,S,b){this._clear(),this._updateDrawMode(y)},incrementalRender:function(y,S,b,E){this._isLargeDraw?this._incrementalRenderLarge(y,S):this._incrementalRenderNormal(y,S)},_updateDrawMode:function(y){var S=y.pipelineContext.large;(this._isLargeDraw==null||S^this._isLargeDraw)&&(this._isLargeDraw=S,this._clear())},_renderNormal:function(y){var S=y.getData(),b=this._data,E=this.group,C=S.getLayout("isSimpleBox"),T=y.get("clip",!0),x=y.coordinateSystem,_=x.getArea&&x.getArea();this._data||E.removeAll(),S.diff(b).add(function(I){if(S.hasValue(I)){var L,R=S.getItemLayout(I);if(T&&r(_,R))return;L=i(R,I,!0),A.initProps(L,{shape:{points:R.ends}},y,I),a(L,S,I,C),E.add(L),S.setItemGraphicEl(I,L)}}).update(function(I,L){var R=b.getItemGraphicEl(L);if(!S.hasValue(I)){E.remove(R);return}var k=S.getItemLayout(I);if(T&&r(_,k)){E.remove(R);return}R?A.updateProps(R,{shape:{points:k.ends}},y,I):R=i(k,I),a(R,S,I,C),E.add(R),S.setItemGraphicEl(I,R)}).remove(function(I){var L=b.getItemGraphicEl(I);L&&E.remove(L)}).execute(),this._data=S},_renderLarge:function(y){this._clear(),u(y,this.group);var S=y.get("clip",!0)?p(y.coordinateSystem,!1,y):null;S?this.group.setClipPath(S):this.group.removeClipPath()},_incrementalRenderNormal:function(y,S){for(var b=S.getData(),E=b.getLayout("isSimpleBox"),C;(C=y.next())!=null;){var T,x=b.getItemLayout(C);T=i(x,C),a(T,b,C,E),T.incremental=!0,this.group.add(T)}},_incrementalRenderLarge:function(y,S){u(S,this.group,!0)},remove:function(y){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:w.noop}),n=m.extend({type:"normalCandlestickBox",shape:{},buildPath:function(y,S){var b=S.points;this.__simpleBox?(y.moveTo(b[4][0],b[4][1]),y.lineTo(b[6][0],b[6][1])):(y.moveTo(b[0][0],b[0][1]),y.lineTo(b[1][0],b[1][1]),y.lineTo(b[2][0],b[2][1]),y.lineTo(b[3][0],b[3][1]),y.closePath(),y.moveTo(b[4][0],b[4][1]),y.lineTo(b[5][0],b[5][1]),y.moveTo(b[6][0],b[6][1]),y.lineTo(b[7][0],b[7][1]))}});function i(y,S,b){var E=y.ends;return new n({shape:{points:b?t(E,y):E},z2:100})}function r(y,S){for(var b=!0,E=0;E<S.ends.length;E++)if(y.contain(S.ends[E][0],S.ends[E][1])){b=!1;break}return b}function a(y,S,b,E){var C=S.getItemModel(b),T=C.getModel(c),x=S.getItemVisual(b,"color"),_=S.getItemVisual(b,"borderColor")||x,I=T.getItemStyle(l);y.useStyle(I),y.style.strokeNoScale=!0,y.style.fill=x,y.style.stroke=_,y.__simpleBox=E;var L=C.getModel(h).getItemStyle();A.setHoverStyle(y,L)}function t(y,S){return w.map(y,function(b){return b=b.slice(),b[1]=S.initBaseline,b})}var s=m.extend({type:"largeCandlestickBox",shape:{},buildPath:function(y,S){for(var b=S.points,E=0;E<b.length;)if(this.__sign===b[E++]){var C=b[E++];y.moveTo(C,b[E++]),y.lineTo(C,b[E++])}else E+=3}});function u(y,S,b){var E=y.getData(),C=E.getLayout("largePoints"),T=new s({shape:{points:C},__sign:1});S.add(T);var x=new s({shape:{points:C},__sign:-1});S.add(x),d(1,T,y,E),d(-1,x,y,E),b&&(T.incremental=!0,x.incremental=!0)}function d(y,S,b,E){var C=y>0?"P":"N",T=E.getVisual("borderColor"+C)||E.getVisual("color"+C),x=b.getModel(c).getItemStyle(l);S.useStyle(x),S.style.fill=null,S.style.stroke=T}var v=e;M.exports=v},Gev7:function(M,B,o){var w=o("bYtY"),f=o("K2GJ"),A=o("1bdT"),m=o("ni6a");function g(c){c=c||{},A.call(this,c);for(var h in c)c.hasOwnProperty(h)&&h!=="style"&&(this[h]=c[h]);this.style=new f(c.style,this),this._rect=null,this.__clipPaths=null}g.prototype={constructor:g,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(h){},afterBrush:function(h){},brush:function(h,l){},getBoundingRect:function(){},contain:function(h,l){return this.rectContain(h,l)},traverse:function(h,l){h.call(l,this)},rectContain:function(h,l){var e=this.transformCoordToLocal(h,l),n=this.getBoundingRect();return n.contain(e[0],e[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(h){return this.animate("style",h)},attrKV:function(h,l){h!=="style"?A.prototype.attrKV.call(this,h,l):this.style.set(l)},setStyle:function(h,l){return this.style.set(h,l),this.dirty(!1),this},useStyle:function(h){return this.style=new f(h,this),this.dirty(!1),this},calculateTextPosition:null},w.inherits(g,A),w.mixin(g,m);var p=g;M.exports=p},GrNh:function(M,B,o){var w=o("bYtY"),f=o("IwbS"),A=o("6Ic6");function m(e,n,i,r){var a=n.getData(),t=this.dataIndex,s=a.getName(t),u=n.get("selectedOffset");r.dispatchAction({type:"pieToggleSelect",from:e,name:s,seriesId:n.id}),a.each(function(d){g(a.getItemGraphicEl(d),a.getItemLayout(d),n.isSelected(a.getName(d)),u,i)})}function g(e,n,i,r,a){var t=(n.startAngle+n.endAngle)/2,s=Math.cos(t),u=Math.sin(t),d=i?r:0,v=[s*d,u*d];a?e.animate().when(200,{position:v}).start("bounceOut"):e.attr("position",v)}function p(e,n){f.Group.call(this);var i=new f.Sector({z2:2}),r=new f.Polyline,a=new f.Text;this.add(i),this.add(r),this.add(a),this.updateData(e,n,!0)}var c=p.prototype;c.updateData=function(e,n,i){var r=this.childAt(0),a=this.childAt(1),t=this.childAt(2),s=e.hostModel,u=e.getItemModel(n),d=e.getItemLayout(n),v=w.extend({},d);v.label=null;var y=s.getShallow("animationTypeUpdate");if(i){r.setShape(v);var S=s.getShallow("animationType");S==="scale"?(r.shape.r=d.r0,f.initProps(r,{shape:{r:d.r}},s,n)):(r.shape.endAngle=d.startAngle,f.updateProps(r,{shape:{endAngle:d.endAngle}},s,n))}else y==="expansion"?r.setShape(v):f.updateProps(r,{shape:v},s,n);var b=e.getItemVisual(n,"color");r.useStyle(w.defaults({lineJoin:"bevel",fill:b},u.getModel("itemStyle").getItemStyle())),r.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var E=u.getShallow("cursor");E&&r.attr("cursor",E),g(this,e.getItemLayout(n),s.isSelected(e.getName(n)),s.get("selectedOffset"),s.get("animation"));var C=!i&&y==="transition";this._updateLabel(e,n,C),this.highDownOnUpdate=s.get("silent")?null:function(T,x){var _=s.isAnimationEnabled()&&u.get("hoverAnimation");x==="emphasis"?(a.ignore=a.hoverIgnore,t.ignore=t.hoverIgnore,_&&(r.stopAnimation(!0),r.animateTo({shape:{r:d.r+s.get("hoverOffset")}},300,"elasticOut"))):(a.ignore=a.normalIgnore,t.ignore=t.normalIgnore,_&&(r.stopAnimation(!0),r.animateTo({shape:{r:d.r}},300,"elasticOut")))},f.setHoverStyle(this)},c._updateLabel=function(e,n,i){var r=this.childAt(1),a=this.childAt(2),t=e.hostModel,s=e.getItemModel(n),u=e.getItemLayout(n),d=u.label,v=e.getItemVisual(n,"color");if(!d||isNaN(d.x)||isNaN(d.y)){a.ignore=a.normalIgnore=a.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0;return}var y={points:d.linePoints||[[d.x,d.y],[d.x,d.y],[d.x,d.y]]},S={x:d.x,y:d.y};i?(f.updateProps(r,{shape:y},t,n),f.updateProps(a,{style:S},t,n)):(r.attr({shape:y}),a.attr({style:S})),a.attr({rotation:d.rotation,origin:[d.x,d.y],z2:10});var b=s.getModel("label"),E=s.getModel("emphasis.label"),C=s.getModel("labelLine"),T=s.getModel("emphasis.labelLine"),v=e.getItemVisual(n,"color");f.setLabelStyle(a.style,a.hoverStyle={},b,E,{labelFetcher:e.hostModel,labelDataIndex:n,defaultText:d.text,autoColor:v,useInsideStyle:!!d.inside},{textAlign:d.textAlign,textVerticalAlign:d.verticalAlign,opacity:e.getItemVisual(n,"opacity")}),a.ignore=a.normalIgnore=!b.get("show"),a.hoverIgnore=!E.get("show"),r.ignore=r.normalIgnore=!C.get("show"),r.hoverIgnore=!T.get("show"),r.setStyle({stroke:v,opacity:e.getItemVisual(n,"opacity")}),r.setStyle(C.getModel("lineStyle").getLineStyle()),r.hoverStyle=T.getModel("lineStyle").getLineStyle();var x=C.get("smooth");x&&x===!0&&(x=.4),r.setShape({smooth:x})},w.inherits(p,f.Group);var h=A.extend({type:"pie",init:function(){var e=new f.Group;this._sectorGroup=e},render:function(e,n,i,r){if(r&&r.from===this.uid)return;var a=e.getData(),t=this._data,s=this.group,u=n.get("animation"),d=!t,v=e.get("animationType"),y=e.get("animationTypeUpdate"),S=w.curry(m,this.uid,e,u,i),b=e.get("selectedMode");if(a.diff(t).add(function(_){var I=new p(a,_);d&&v!=="scale"&&I.eachChild(function(L){L.stopAnimation(!0)}),b&&I.on("click",S),a.setItemGraphicEl(_,I),s.add(I)}).update(function(_,I){var L=t.getItemGraphicEl(I);!d&&y!=="transition"&&L.eachChild(function(R){R.stopAnimation(!0)}),L.updateData(a,_),L.off("click"),b&&L.on("click",S),s.add(L),a.setItemGraphicEl(_,L)}).remove(function(_){var I=t.getItemGraphicEl(_);s.remove(I)}).execute(),u&&a.count()>0&&(d?v!=="scale":y!=="transition")){for(var E=a.getItemLayout(0),C=1;isNaN(E.startAngle)&&C<a.count();++C)E=a.getItemLayout(C);var T=Math.max(i.getWidth(),i.getHeight())/2,x=w.bind(s.removeClipPath,s);s.setClipPath(this._createClipPath(E.cx,E.cy,T,E.startAngle,E.clockwise,x,e,d))}else s.removeClipPath();this._data=a},dispose:function(){},_createClipPath:function(e,n,i,r,a,t,s,u){var d=new f.Sector({shape:{cx:e,cy:n,r0:0,r:i,startAngle:r,endAngle:r,clockwise:a}}),v=u?f.initProps:f.updateProps;return v(d,{shape:{endAngle:r+(a?1:-1)*Math.PI*2}},s,t),d},containPoint:function(e,n){var i=n.getData(),r=i.getItemLayout(0);if(r){var a=e[0]-r.cx,t=e[1]-r.cy,s=Math.sqrt(a*a+t*t);return s<=r.r&&s>=r.r0}}}),l=h;M.exports=l},Gytx:function(M,B){M.exports=function(w,f,A,m){var g=A?A.call(m,w,f):void 0;if(g!==void 0)return!!g;if(w===f)return!0;if(typeof w!="object"||!w||typeof f!="object"||!f)return!1;var p=Object.keys(w),c=Object.keys(f);if(p.length!==c.length)return!1;for(var h=Object.prototype.hasOwnProperty.bind(f),l=0;l<p.length;l++){var e=p[l];if(!h(e))return!1;var n=w[e],i=f[e];if(g=A?A.call(m,n,i,e):void 0,g===!1||g===void 0&&n!==i)return!1}return!0}},H6uX:function(M,B){var o=Array.prototype.slice,w=function(p){this._$handlers={},this._$eventProcessor=p};w.prototype={constructor:w,one:function(p,c,h,l){return A(this,p,c,h,l,!0)},on:function(p,c,h,l){return A(this,p,c,h,l,!1)},isSilent:function(p){var c=this._$handlers;return!c[p]||!c[p].length},off:function(p,c){var h=this._$handlers;if(!p)return this._$handlers={},this;if(c){if(h[p]){for(var l=[],e=0,n=h[p].length;e<n;e++)h[p][e].h!==c&&l.push(h[p][e]);h[p]=l}h[p]&&h[p].length===0&&delete h[p]}else delete h[p];return this},trigger:function(p){var c=this._$handlers[p],h=this._$eventProcessor;if(c){var l=arguments,e=l.length;e>3&&(l=o.call(l,1));for(var n=c.length,i=0;i<n;){var r=c[i];if(h&&h.filter&&r.query!=null&&!h.filter(p,r.query)){i++;continue}switch(e){case 1:r.h.call(r.ctx);break;case 2:r.h.call(r.ctx,l[1]);break;case 3:r.h.call(r.ctx,l[1],l[2]);break;default:r.h.apply(r.ctx,l);break}r.one?(c.splice(i,1),n--):i++}}return h&&h.afterTrigger&&h.afterTrigger(p),this},triggerWithContext:function(p){var c=this._$handlers[p],h=this._$eventProcessor;if(c){var l=arguments,e=l.length;e>4&&(l=o.call(l,1,l.length-1));for(var n=l[l.length-1],i=c.length,r=0;r<i;){var a=c[r];if(h&&h.filter&&a.query!=null&&!h.filter(p,a.query)){r++;continue}switch(e){case 1:a.h.call(n);break;case 2:a.h.call(n,l[1]);break;case 3:a.h.call(n,l[1],l[2]);break;default:a.h.apply(n,l);break}a.one?(c.splice(r,1),i--):r++}}return h&&h.afterTrigger&&h.afterTrigger(p),this}};function f(g,p){var c=g._$eventProcessor;return p!=null&&c&&c.normalizeQuery&&(p=c.normalizeQuery(p)),p}function A(g,p,c,h,l,e){var n=g._$handlers;if(typeof c=="function"&&(l=h,h=c,c=null),!h||!p)return g;c=f(g,c),n[p]||(n[p]=[]);for(var i=0;i<n[p].length;i++)if(n[p][i].h===h)return g;var r={h,one:e,query:c,ctx:l||g,callAtLast:h.zrEventfulCallAtLast},a=n[p].length-1,t=n[p][a];return t&&t.callAtLast?n[p].splice(a,0,r):n[p].push(r),g}var m=w;M.exports=m},"HF/U":function(M,B,o){var w=o("QBsz");function f(m){var g=m.coordinateSystem;if(g&&g.type!=="view")return;var p=m.getGraph();p.eachNode(function(c){var h=c.getModel();c.setLayout([+h.get("x"),+h.get("y")])}),A(p)}function A(m){m.eachEdge(function(g){var p=g.getModel().get("lineStyle.curveness")||0,c=w.clone(g.node1.getLayout()),h=w.clone(g.node2.getLayout()),l=[c,h];+p&&l.push([(c[0]+h[0])/2-(c[1]-h[1])*p,(c[1]+h[1])/2-(h[0]-c[0])*p]),g.setLayout(l)})}B.simpleLayout=f,B.simpleLayoutEdge=A},"HM/N":function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=o("/SeX"),g=o("OELB"),p=g.parsePercent,c=o("aX7z"),h=c.createScaleByModel,l=c.niceScaleExtent,e=o("IDmD"),n=o("7hqr"),i=n.getStackedDimension;o("ePAk");function r(u,d,v){var y=d.get("center"),S=v.getWidth(),b=v.getHeight();u.cx=p(y[0],S),u.cy=p(y[1],b);var E=u.getRadiusAxis(),C=Math.min(S,b)/2,T=d.get("radius");T==null?T=[0,"100%"]:A.isArray(T)||(T=[0,T]),T=[p(T[0],C),p(T[1],C)],E.inverse?E.setExtent(T[1],T[0]):E.setExtent(T[0],T[1])}function a(u,d){var v=this,y=v.getAngleAxis(),S=v.getRadiusAxis();if(y.scale.setExtent(Infinity,-Infinity),S.scale.setExtent(Infinity,-Infinity),u.eachSeries(function(C){if(C.coordinateSystem===v){var T=C.getData();A.each(T.mapDimension("radius",!0),function(x){S.scale.unionExtentFromData(T,i(T,x))}),A.each(T.mapDimension("angle",!0),function(x){y.scale.unionExtentFromData(T,i(T,x))})}}),l(y.scale,y.model),l(S.scale,S.model),y.type==="category"&&!y.onBand){var b=y.getExtent(),E=360/y.scale.count();y.inverse?b[1]+=E:b[1]-=E,y.setExtent(b[0],b[1])}}function t(u,d){if(u.type=d.get("type"),u.scale=h(d),u.onBand=d.get("boundaryGap")&&u.type==="category",u.inverse=d.get("inverse"),d.mainType==="angleAxis"){u.inverse^=d.get("clockwise");var v=d.get("startAngle");u.setExtent(v,v+(u.inverse?-360:360))}d.axis=u,u.model=d}var s={dimensions:m.prototype.dimensions,create:function(u,d){var v=[];return u.eachComponent("polar",function(y,S){var b=new m(S);b.update=a;var E=b.getRadiusAxis(),C=b.getAngleAxis(),T=y.findAxisModel("radiusAxis"),x=y.findAxisModel("angleAxis");t(E,T),t(C,x),r(b,y,d),v.push(b),y.coordinateSystem=b,b.model=y}),u.eachSeries(function(y){if(y.get("coordinateSystem")==="polar"){var S=u.queryComponents({mainType:"polar",index:y.get("polarIndex"),id:y.get("polarId")})[0];y.coordinateSystem=S.coordinateSystem}}),v}};e.register("polar",s)},HPLo:function(M,B,o){},HVO7:function(M,B,o){},HaWY:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("uBn0"),m=o.n(A)},HcM9:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("kRSg"),m=o.n(A)},Hejl:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("OVOf"),m=o.n(A)},HjIi:function(M,B,o){var w=o("bYtY"),f=o("OELB"),A=f.parsePercent,m=o("7hqr"),g=m.isDimensionStacked;function p(n){return n.get("stack")||"__ec_stack_"+n.seriesIndex}function c(n,i){return i.dim+n.model.componentIndex}function h(n,i,r){var a={},t=l(w.filter(i.getSeriesByType(n),function(s){return!i.isSeriesFiltered(s)&&s.coordinateSystem&&s.coordinateSystem.type==="polar"}));i.eachSeriesByType(n,function(s){if(s.coordinateSystem.type!=="polar")return;var u=s.getData(),d=s.coordinateSystem,v=d.getBaseAxis(),y=c(d,v),S=p(s),b=t[y][S],E=b.offset,C=b.width,T=d.getOtherAxis(v),x=s.coordinateSystem.cx,_=s.coordinateSystem.cy,I=s.get("barMinHeight")||0,L=s.get("barMinAngle")||0;a[S]=a[S]||[];for(var R=u.mapDimension(T.dim),k=u.mapDimension(v.dim),F=g(u,R),P=v.dim!=="radius"||!s.get("roundCap",!0),W=T.getExtent()[0],D=0,U=u.count();D<U;D++){var H=u.get(R,D),j=u.get(k,D),K=H>=0?"p":"n",X=W;F&&(a[S][j]||(a[S][j]={p:W,n:W}),X=a[S][j][K]);var z,Y,$,ne;if(T.dim==="radius"){var J=T.dataToRadius(H)-W,ge=v.dataToAngle(j);Math.abs(J)<I&&(J=(J<0?-1:1)*I),z=X,Y=X+J,$=ge-E,ne=$-C,F&&(a[S][j][K]=Y)}else{var de=T.dataToAngle(H,P)-W,Ie=v.dataToRadius(j);Math.abs(de)<L&&(de=(de<0?-1:1)*L),z=Ie+E,Y=z+C,$=X,ne=X+de,F&&(a[S][j][K]=ne)}u.setItemLayout(D,{cx:x,cy:_,r0:z,r:Y,startAngle:-$*Math.PI/180,endAngle:-ne*Math.PI/180})}},this)}function l(n,i){var r={};w.each(n,function(t,s){var u=t.getData(),d=t.coordinateSystem,v=d.getBaseAxis(),y=c(d,v),S=v.getExtent(),b=v.type==="category"?v.getBandWidth():Math.abs(S[1]-S[0])/u.count(),E=r[y]||{bandWidth:b,remainedWidth:b,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},C=E.stacks;r[y]=E;var T=p(t);C[T]||E.autoWidthCount++,C[T]=C[T]||{width:0,maxWidth:0};var x=A(t.get("barWidth"),b),_=A(t.get("barMaxWidth"),b),I=t.get("barGap"),L=t.get("barCategoryGap");x&&!C[T].width&&(x=Math.min(E.remainedWidth,x),C[T].width=x,E.remainedWidth-=x),_&&(C[T].maxWidth=_),I!=null&&(E.gap=I),L!=null&&(E.categoryGap=L)});var a={};return w.each(r,function(t,s){a[s]={};var u=t.stacks,d=t.bandWidth,v=A(t.categoryGap,d),y=A(t.gap,1),S=t.remainedWidth,b=t.autoWidthCount,E=(S-v)/(b+(b-1)*y);E=Math.max(E,0),w.each(u,function(_,I){var L=_.maxWidth;L&&L<E&&(L=Math.min(L,S),_.width&&(L=Math.min(L,_.width)),S-=L,_.width=L,b--)}),E=(S-v)/(b+(b-1)*y),E=Math.max(E,0);var C=0,T;w.each(u,function(_,I){_.width||(_.width=E),T=_,C+=_.width*(1+y)}),T&&(C-=T.width*y);var x=-C/2;w.each(u,function(_,I){a[s][I]=a[s][I]||{offset:x,width:_.width},x+=_.width*(1+y)})}),a}var e=h;M.exports=e},Hw7h:function(M,B,o){var w=o("y+Vt"),f=w.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(A,m){var g=Math.cos,p=Math.sin,c=m.r,h=m.width,l=m.angle,e=m.x-g(l)*h*(h>=c/3?1:2),n=m.y-p(l)*h*(h>=c/3?1:2);l=m.angle-Math.PI/2,A.moveTo(e,n),A.lineTo(m.x+g(l)*h,m.y+p(l)*h),A.lineTo(m.x+g(m.angle)*c,m.y+p(m.angle)*c),A.lineTo(m.x-g(l)*h,m.y-p(l)*h),A.lineTo(e,n);return}});M.exports=f},Hxpc:function(M,B,o){var w=o("bYtY"),f=o("4NO4"),A=o("bLfw"),m=o("Qxkt"),g=o("cCMj"),p=o("7uqq"),c=A.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(l){A.prototype.init.apply(this,arguments),f.defaultEmphasis(l,"label",["show"])},optionUpdated:function(){var l=this.option,e=this;l.regions=p.getFilledRegions(l.regions,l.map,l.nameMap),this._optionModelMap=w.reduce(l.regions||[],function(n,i){return i.name&&n.set(i.name,new m(i,e)),n},w.createHashMap()),this.updateSelectedMap(l.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(l){return this._optionModelMap.get(l)||new m(null,this,this.ecModel)},getFormattedLabel:function(l,e){var n=this.getRegionModel(l),i=n.get("label"+(e==="normal"?".":e+".")+"formatter"),r={name:l};if(typeof i=="function")return r.status=e,i(r);if(typeof i=="string")return i.replace("{a}",l!=null?l:"")},setZoom:function(l){this.option.zoom=l},setCenter:function(l){this.option.center=l}});w.mixin(c,g);var h=c;M.exports=h},"I+77":function(M,B,o){var w=o("ProS");o("h54F"),o("lwQL"),o("10cm");var f=o("Z1r0"),A=o("f5Yq"),m=o("KUOm"),g=o("3m61"),p=o("01d+"),c=o("rdor"),h=o("WGYa"),l=o("ewwo");w.registerProcessor(f),w.registerVisual(A("graph","circle",null)),w.registerVisual(m),w.registerVisual(g),w.registerLayout(p),w.registerLayout(w.PRIORITY.VISUAL.POST_CHART_LAYOUT,c),w.registerLayout(h),w.registerCoordinateSystem("graphView",{create:l})},"I+Bx":function(M,B,o){var w=o("bYtY"),f=o("eIcI"),A=o("ieMj"),m=o("OELB"),g=o("aX7z"),p=g.getScaleExtent,c=g.niceScaleExtent,h=o("IDmD"),l=o("jCoz");function e(i,r,a){this._model=i,this.dimensions=[],this._indicatorAxes=w.map(i.getIndicatorModels(),function(t,s){var u="indicator_"+s,d=new f(u,t.get("axisType")==="log"?new l:new A);return d.name=t.get("name"),d.model=t,t.axis=d,this.dimensions.push(u),d},this),this.resize(i,a),this.cx,this.cy,this.r,this.r0,this.startAngle}e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(i,r){var a=this._indicatorAxes[r];return this.coordToPoint(a.dataToCoord(i),r)},e.prototype.coordToPoint=function(i,r){var a=this._indicatorAxes[r],t=a.angle,s=this.cx+i*Math.cos(t),u=this.cy-i*Math.sin(t);return[s,u]},e.prototype.pointToData=function(i){var r=i[0]-this.cx,a=i[1]-this.cy,t=Math.sqrt(r*r+a*a);r/=t,a/=t;for(var s=Math.atan2(-a,r),u=Infinity,d,v=-1,y=0;y<this._indicatorAxes.length;y++){var S=this._indicatorAxes[y],b=Math.abs(s-S.angle);b<u&&(d=S,v=y,u=b)}return[v,+(d&&d.coordToData(t))]},e.prototype.resize=function(i,r){var a=i.get("center"),t=r.getWidth(),s=r.getHeight(),u=Math.min(t,s)/2;this.cx=m.parsePercent(a[0],t),this.cy=m.parsePercent(a[1],s),this.startAngle=i.get("startAngle")*Math.PI/180;var d=i.get("radius");(typeof d=="string"||typeof d=="number")&&(d=[0,d]),this.r0=m.parsePercent(d[0],u),this.r=m.parsePercent(d[1],u),w.each(this._indicatorAxes,function(v,y){v.setExtent(this.r0,this.r);var S=this.startAngle+y*Math.PI*2/this._indicatorAxes.length;S=Math.atan2(Math.sin(S),Math.cos(S)),v.angle=S},this)},e.prototype.update=function(i,r){var a=this._indicatorAxes,t=this._model;w.each(a,function(d){d.scale.setExtent(Infinity,-Infinity)}),i.eachSeriesByType("radar",function(d,v){if(d.get("coordinateSystem")!=="radar"||i.getComponent("radar",d.get("radarIndex"))!==t)return;var y=d.getData();w.each(a,function(S){S.scale.unionExtentFromData(y,y.mapDimension(S.dim))})},this);var s=t.get("splitNumber");function u(d){var v=Math.pow(10,Math.floor(Math.log(d)/Math.LN10)),y=d/v;return y===2?y=5:y*=2,y*v}w.each(a,function(d,v){var y=p(d.scale,d.model).extent;c(d.scale,d.model);var S=d.model,b=d.scale,E=S.getMin(),C=S.getMax(),T=b.getInterval();if(E!=null&&C!=null)b.setExtent(+E,+C),b.setInterval((C-E)/s);else if(E!=null){var x;do x=E+T*s,b.setExtent(+E,x),b.setInterval(T),T=u(T);while(x<y[1]&&isFinite(x)&&isFinite(y[1]))}else if(C!=null){var _;do _=C-T*s,b.setExtent(_,+C),b.setInterval(T),T=u(T);while(_>y[0]&&isFinite(_)&&isFinite(y[0]))}else{var I=b.getTicks().length-1;I>s&&(T=u(T));var x=Math.ceil(y[1]/T)*T,_=m.round(x-T*s);b.setExtent(_,x),b.setInterval(T)}})},e.dimensions=[],e.create=function(i,r){var a=[];return i.eachComponent("radar",function(t){var s=new e(t,i,r);a.push(s),t.coordinateSystem=s}),i.eachSeriesByType("radar",function(t){t.get("coordinateSystem")==="radar"&&(t.coordinateSystem=a[t.get("radarIndex")||0])}),a},h.register("radar",e);var n=e;M.exports=n},"I3/A":function(M,B,o){var w=o("bYtY"),f=o("YXkt"),A=o("c2i1"),m=o("Mdki"),g=o("sdST"),p=o("IDmD"),c=o("MwEJ");function h(l,e,n,i,r){for(var a=new A(i),t=0;t<l.length;t++)a.addNode(w.retrieve(l[t].id,l[t].name,t),t);for(var s=[],u=[],d=0,t=0;t<e.length;t++){var v=e[t],y=v.source,S=v.target;a.addEdge(y,S,d)&&(u.push(v),s.push(w.retrieve(v.id,y+" > "+S)),d++)}var b=n.get("coordinateSystem"),E;if(b==="cartesian2d"||b==="polar")E=c(l,n);else{var C=p.get(b),T=C&&C.type!=="view"?C.dimensions||[]:[];w.indexOf(T,"value")<0&&T.concat(["value"]);var x=g(l,{coordDimensions:T});E=new f(x,n),E.initData(l)}var _=new f(["value"],n);return _.initData(u,s),r&&r(E,_),m({mainData:E,struct:a,structAttr:"graph",datas:{node:E,edge:_},datasAttr:{node:"data",edge:"edgeData"}}),a.update(),a}M.exports=h},I8QU:function(M,B,o){"use strict";var w=o("wx14"),f=o("rePB"),A=o("q1tI"),m=o("1OyB"),g=o("vuIU"),p=o("Ji7U"),c=o("LK+K"),h=o("KQm4"),l=o("U8pU"),e=o("ODXe"),n=o("VTBJ"),i=o("qNPg"),r=o("2Qr1"),a=o("815F"),t=o("NvD2"),s=o("wPlo"),u=o("6cGi"),d=o("Kwbf"),v=o("4IlW"),y=o("YrtM"),S=o("fAei"),b=A.createContext(null);function E(V,Ae){if(!V)return!0;var xe=V.data,re=xe.disabled,ot=xe.disableCheckbox;switch(Ae){case"select":return re;case"checkbox":return re||ot}return!1}function C(V,Ae){var xe=A.useCallback(function(ot){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",tt=arguments.length>2?arguments[2]:void 0,Tt=V.get(ot);return!tt&&E(Tt,bt)?null:Tt},[V]),re=A.useCallback(function(ot){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",tt=arguments.length>2?arguments[2]:void 0,Tt=Ae.get(ot);return!tt&&E(Tt,bt)?null:Tt},[Ae]);return[xe,re]}function T(V){return A.useMemo(function(){var Ae=new Map,xe=new Map;return V.forEach(function(re){Ae.set(re.key,re),xe.set(re.data.value,re)}),[Ae,xe]},[V])}var x={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},_=function(Ae,xe){var re=Ae.prefixCls,ot=Ae.height,bt=Ae.itemHeight,tt=Ae.virtual,Tt=Ae.options,Gt=Ae.flattenOptions,lr=Ae.multiple,pr=Ae.searchValue,Rr=Ae.onSelect,xt=Ae.onToggleOpen,It=Ae.open,At=Ae.notFoundContent,Zt=Ae.onMouseEnter,br=A.useContext(b),Lr=br.checkable,Jr=br.checkedKeys,In=br.halfCheckedKeys,Gr=br.treeExpandedKeys,Tr=br.treeDefaultExpandAll,fr=br.treeDefaultExpandedKeys,vt=br.onTreeExpand,ft=br.treeIcon,Te=br.showTreeIcon,Pe=br.switcherIcon,Ge=br.treeLine,st=br.treeNodeFilterProp,Bt=br.loadData,$t=br.treeLoadedKeys,Nr=br.treeMotion,yn=br.onTreeLoad,un=A.useRef(),Kt=Object(y.a)(function(){return Tt},[It,Tt],function(tr,ir){return ir[0]&&tr[1]!==ir[1]}),St=T(Gt),kt=Object(e.a)(St,2),Jt=kt[0],Br=kt[1],Hr=C(Jt,Br),$r=Object(e.a)(Hr,2),Ft=$r[0],cr=$r[1],Cr=A.useMemo(function(){return Jr.map(function(tr){var ir=cr(tr);return ir?ir.key:null})},[Jr,cr]),Fr=A.useMemo(function(){return Lr?{checked:Cr,halfChecked:In}:null},[Cr,In,Lr]);A.useEffect(function(){if(It&&!lr&&Cr.length){var tr;(tr=un.current)===null||tr===void 0||tr.scrollTo({key:Cr[0]})}},[It]);var Wr=String(pr).toLowerCase(),An=function(ir){return Wr?String(ir[st]).toLowerCase().includes(Wr):!1},bn=A.useState(fr),Sn=Object(e.a)(bn,2),kn=Sn[0],ei=Sn[1],Jn=A.useState(null),ai=Object(e.a)(Jn,2),ii=ai[0],qe=ai[1],Se=A.useMemo(function(){return Gr?Object(h.a)(Gr):pr?ii:kn},[kn,ii,Wr,Gr]);A.useEffect(function(){pr&&qe(Gt.map(function(tr){return tr.key}))},[pr]);var Me=function(ir){ei(ir),qe(ir),vt&&vt(ir)},Be=function(ir){ir.preventDefault()},Qe=function(ir,_t){var gr=_t.node.key,jt=Ft(gr,Lr?"checkbox":"select");jt!==null&&Rr(jt.data.value,{selected:!Jr.includes(jt.data.value)}),lr||xt(!1)},Ve=A.useState(null),Ye=Object(e.a)(Ve,2),pt=Ye[0],ht=Ye[1],Vt=Ft(pt);if(A.useImperativeHandle(xe,function(){var tr;return{scrollTo:(tr=un.current)===null||tr===void 0?void 0:tr.scrollTo,onKeyDown:function(_t){var gr,jt=_t.which;switch(jt){case v.a.UP:case v.a.DOWN:case v.a.LEFT:case v.a.RIGHT:(gr=un.current)===null||gr===void 0||gr.onKeyDown(_t);break;case v.a.ENTER:{var Sr=(Vt==null?void 0:Vt.data)||{},Ar=Sr.selectable,sr=Sr.value;Ar!==!1&&Qe(null,{node:{key:pt},selected:!Jr.includes(sr)});break}case v.a.ESC:xt(!1)}},onKeyUp:function(){}}}),Kt.length===0)return A.createElement("div",{role:"listbox",className:"".concat(re,"-empty"),onMouseDown:Be},At);var dr={};return $t&&(dr.loadedKeys=$t),Se&&(dr.expandedKeys=Se),A.createElement("div",{onMouseDown:Be,onMouseEnter:Zt},Vt&&It&&A.createElement("span",{style:x,"aria-live":"assertive"},Vt.data.value),A.createElement(S.b,Object(w.a)({ref:un,focusable:!1,prefixCls:"".concat(re,"-tree"),treeData:Kt,height:ot,itemHeight:bt,virtual:tt,multiple:lr,icon:ft,showIcon:Te,switcherIcon:Pe,showLine:Ge,loadData:pr?null:Bt,motion:Nr,checkable:Lr,checkStrictly:!0,checkedKeys:Fr,selectedKeys:Lr?[]:Cr,defaultExpandAll:Tr},dr,{onActiveChange:ht,onSelect:Qe,onCheck:Qe,onExpand:Me,onLoad:yn,filterTreeNode:An})))},I=A.forwardRef(_);I.displayName="OptionList";var L=I,R=function(){return null},k=R,F=o("Ff2n"),P=o("Zm9Q");function W(V){return Object(P.a)(V).map(function(Ae){if(!A.isValidElement(Ae)||!Ae.type)return null;var xe=Ae.key,re=Ae.props,ot=re.children,bt=re.value,tt=Object(F.a)(re,["children","value"]),Tt=Object(n.a)({key:xe,value:bt},tt),Gt=W(ot);return Gt.length&&(Tt.children=Gt),Tt}).filter(function(Ae){return Ae})}function D(V){if(!V)return V;var Ae=Object(n.a)({},V);return"props"in Ae||Object.defineProperty(Ae,"props",{get:function(){return Object(d.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Ae}}),Ae}function U(V,Ae,xe,re,ot){var bt=null,tt=null;function Tt(){function Gt(lr){var pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Rr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return lr.map(function(xt,It){var At="".concat(pr,"-").concat(It),Zt=xe.includes(xt.value),br=Gt(xt.children||[],At,Zt),Lr=A.createElement(k,xt,br.map(function(In){return In.node}));if(Ae===xt.value&&(bt=Lr),Zt){var Jr={pos:At,node:Lr,children:br};return Rr||tt.push(Jr),Jr}return null}).filter(function(xt){return xt})}tt||(tt=[],Gt(re),tt.sort(function(lr,pr){var Rr=lr.node.props.value,xt=pr.node.props.value,It=xe.indexOf(Rr),At=xe.indexOf(xt);return It-At}))}Object.defineProperty(V,"triggerNode",{get:function(){return Object(d.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Tt(),bt}}),Object.defineProperty(V,"allCheckedNodes",{get:function(){return Object(d.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Tt(),ot?tt:tt.map(function(lr){var pr=lr.node;return pr})}})}function H(V){return Array.isArray(V)?V:V!==void 0?[V]:[]}function j(V,Ae){var xe=new Map;return Ae.forEach(function(re){var ot=re.data;xe.set(ot.value,ot)}),V.map(function(re){return D(xe.get(re))})}function K(V,Ae){var xe=j([V],Ae)[0];return xe?xe.disabled:!1}function X(V){return V.disabled||V.disableCheckbox||V.checkable===!1}function z(V){for(var Ae=V.parent,xe=0,re=Ae;re;)re=re.parent,xe+=1;return xe}function Y(V){function Ae(re){return(re||[]).map(function(ot){var bt=ot.value,tt=ot.key,Tt=ot.children,Gt=Object(n.a)(Object(n.a)({},ot),{},{key:"key"in ot?tt:bt});return Tt&&(Gt.children=Ae(Tt)),Gt})}var xe=Object(a.d)(Ae(V),!0);return xe.map(function(re){return{key:re.data.key,data:re.data,level:z(re)}})}function $(V){return function(Ae,xe){var re=xe[V];return String(re).toLowerCase().includes(String(Ae).toLowerCase())}}function ne(V,Ae,xe){var re=xe.optionFilterProp,ot=xe.filterOption;if(ot===!1)return Ae;var bt;typeof ot=="function"?bt=ot:bt=$(re);function tt(Tt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Tt.map(function(lr){var pr=lr.children,Rr=Gt||bt(V,D(lr)),xt=tt(pr||[],Rr);return Rr||xt.length?Object(n.a)(Object(n.a)({},lr),{},{children:xt}):null}).filter(function(lr){return lr})}return tt(Ae)}function J(V,Ae,xe,re){var ot=new Map;return H(Ae).forEach(function(bt){bt&&Object(l.a)(bt)==="object"&&"value"in bt&&ot.set(bt.value,bt)}),V.map(function(bt){var tt={value:bt},Tt=xe(bt,"select",!0),Gt=Tt?re(Tt.data):bt;if(ot.has(bt)){var lr=ot.get(bt);tt.label="label"in lr?lr.label:Gt,"halfChecked"in lr&&(tt.halfChecked=lr.halfChecked)}else tt.label=Gt;return tt})}function ge(V,Ae){var xe=new Set(V);return xe.add(Ae),Array.from(xe)}function de(V,Ae){var xe=new Set(V);return xe.delete(Ae),Array.from(xe)}function Ie(V){var Ae=V.searchPlaceholder,xe=V.treeCheckStrictly,re=V.treeCheckable,ot=V.labelInValue,bt=V.value,tt=V.multiple;Object(d.a)(!Ae,"`searchPlaceholder` has been removed."),xe&&ot===!1&&Object(d.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(ot||xe)&&Object(d.a)(H(bt).every(function(Tt){return Tt&&Object(l.a)(Tt)==="object"&&"value"in Tt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),xe||tt||re?Object(d.a)(!bt||Array.isArray(bt),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(d.a)(!Array.isArray(bt),"`value` should not be array when `TreeSelect` is single mode.")}var be=Ie,Ce=10;function je(V,Ae){var xe=Ae.id,re=Ae.pId,ot=Ae.rootPId,bt={},tt=[],Tt=V.map(function(Gt){var lr=Object(n.a)({},Gt),pr=lr[xe];return bt[pr]=lr,lr.key=lr.key||pr,lr});return Tt.forEach(function(Gt){var lr=Gt[re],pr=bt[lr];pr&&(pr.children=pr.children||[],pr.children.push(Gt)),(lr===ot||!pr&&ot===null)&&tt.push(Gt)}),tt}function te(V,Ae){var xe=0,re=new Set;function ot(bt){return(bt||[]).map(function(tt){var Tt=tt.key,Gt=tt.value,lr=tt.children,pr=Object(F.a)(tt,["key","value","children"]),Rr="value"in tt?Gt:Tt,xt=Object(n.a)(Object(n.a)({},pr),{},{key:Tt!=null?Tt:Rr,value:Rr,title:Ae(tt)});return"children"in tt&&(xt.children=ot(lr)),xt})}return ot(V)}function ve(V,Ae,xe){var re=xe.getLabelProp,ot=xe.simpleMode,bt=A.useRef({});return V?(bt.current.formatTreeData=bt.current.treeData===V?bt.current.formatTreeData:te(ot?je(V,Object(n.a)({id:"id",pId:"pId",rootPId:null},ot!==!0?ot:{})):V,re),bt.current.treeData=V):bt.current.formatTreeData=bt.current.children===Ae?bt.current.formatTreeData:te(W(Ae),re),bt.current.formatTreeData}var $e="SHOW_ALL",Le="SHOW_PARENT",he="SHOW_CHILD";function ee(V,Ae,xe){var re=new Set(V);return Ae===he?V.filter(function(ot){var bt=xe[ot];return!(bt&&bt.children&&bt.children.every(function(tt){var Tt=tt.node;return X(Tt)||re.has(Tt.key)}))}):Ae===Le?V.filter(function(ot){var bt=xe[ot],tt=bt?bt.parent:null;return!(tt&&!X(tt.node)&&re.has(tt.node.key))}):V}function se(V,Ae){var xe=Ae.value,re=Ae.getEntityByValue,ot=Ae.getEntityByKey,bt=Ae.treeConduction,tt=Ae.showCheckedStrategy,Tt=Ae.conductKeyEntities,Gt=Ae.getLabelProp;return A.useMemo(function(){var lr=V;if(bt){var pr=ee(V.map(function(Rr){var xt=re(Rr);return xt?xt.key:Rr}),tt,Tt);lr=pr.map(function(Rr){var xt=ot(Rr);return xt?xt.data.value:Rr})}return J(lr,xe,re,Gt)},[V,xe,bt,tt,re])}var Ue=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],ue=Object(i.a)({prefixCls:"rc-tree-select",components:{optionList:L},convertChildrenToData:function(){return null},flattenOptions:Y,getLabeledValue:r.e,filterOptions:ne,isValueDisabled:K,findValueOption:j,omitDOMProps:function(Ae){var xe=Object(n.a)({},Ae);return Ue.forEach(function(re){delete xe[re]}),xe}});ue.displayName="Select";var Ne=A.forwardRef(function(V,Ae){var xe=V.multiple,re=V.treeCheckable,ot=V.treeCheckStrictly,bt=V.showCheckedStrategy,tt=bt===void 0?"SHOW_CHILD":bt,Tt=V.labelInValue,Gt=V.loadData,lr=V.treeLoadedKeys,pr=V.treeNodeFilterProp,Rr=pr===void 0?"value":pr,xt=V.treeNodeLabelProp,It=V.treeDataSimpleMode,At=V.treeData,Zt=V.treeExpandedKeys,br=V.treeDefaultExpandedKeys,Lr=V.treeDefaultExpandAll,Jr=V.children,In=V.treeIcon,Gr=V.showTreeIcon,Tr=V.switcherIcon,fr=V.treeLine,vt=V.treeMotion,ft=V.filterTreeNode,Te=V.dropdownPopupAlign,Pe=V.onChange,Ge=V.onTreeExpand,st=V.onTreeLoad,Bt=V.onDropdownVisibleChange,$t=V.onSelect,Nr=V.onDeselect,yn=re||ot,un=xe||yn,Kt=re&&!ot,St=ot||Tt,kt=A.useRef(null);A.useImperativeHandle(Ae,function(){return{scrollTo:kt.current.scrollTo,focus:kt.current.focus,blur:kt.current.blur}});var Jt=function(gr){return At&&gr.label||gr.title},Br=function(gr){return xt?gr[xt]:Jt(gr)},Hr=ve(At,Jr,{getLabelProp:Jt,simpleMode:It}),$r=Object(A.useMemo)(function(){return Y(Hr)},[Hr]),Ft=T($r),cr=Object(e.a)(Ft,2),Cr=cr[0],Fr=cr[1],Wr=C(Cr,Fr),An=Object(e.a)(Wr,2),bn=An[0],Sn=An[1],kn=Object(A.useMemo)(function(){return Kt?Object(a.a)(Hr):{keyEntities:null}},[Hr,re,ot]),ei=kn.keyEntities,Jn=Object(u.a)(V.defaultValue,{value:V.value}),ai=Object(e.a)(Jn,2),ii=ai[0],qe=ai[1],Se=function(gr){var jt=[],Sr=[];return gr.forEach(function(Ar){Sn(Ar)?Sr.push(Ar):jt.push(Ar)}),{missingRawValues:jt,existRawValues:Sr}},Me=Object(A.useMemo)(function(){var _t=[],gr=[];if(H(ii).forEach(function(Nn){if(Nn&&Object(l.a)(Nn)==="object"&&"value"in Nn)if(Nn.halfChecked&&ot){var Mn=Sn(Nn.value);_t.push(Mn?Mn.key:Nn.value)}else gr.push(Nn.value);else gr.push(Nn)}),Kt){var jt=Se(gr),Sr=jt.missingRawValues,Ar=jt.existRawValues,sr=Ar.map(function(Nn){return Sn(Nn).key}),ln=Object(t.a)(sr,!0,ei),_n=ln.checkedKeys,Wn=ln.halfCheckedKeys;return[[].concat(Object(h.a)(Sr),Object(h.a)(_n.map(function(Nn){return bn(Nn).data.value}))),Wn]}return[gr,_t]},[ii,un,St,re,ot]),Be=Object(e.a)(Me,2),Qe=Be[0],Ve=Be[1],Ye=se(Qe,{treeConduction:Kt,value:ii,showCheckedStrategy:tt,conductKeyEntities:ei,getEntityByValue:Sn,getEntityByKey:bn,getLabelProp:Br}),pt=function(gr,jt,Sr){if(qe(un?gr:gr[0]),Pe){var Ar=gr;if(Kt&&tt!=="SHOW_ALL"){var sr=gr.map(function(rn){var Ur=Sn(rn);return Ur?Ur.key:rn}),ln=ee(sr,tt,ei);Ar=ln.map(function(rn){var Ur=bn(rn);return Ur?Ur.data.value:rn})}var _n=jt||{triggerValue:void 0,selected:void 0},Wn=_n.triggerValue,Nn=_n.selected,Mn=St?J(Ar,ii,Sn,Br):Ar;if(ot){var Gn=Ve.map(function(rn){var Ur=bn(rn);return Ur?Ur.data.value:rn}).filter(function(rn){return!Ar.includes(rn)});Mn=[].concat(Object(h.a)(Mn),Object(h.a)(J(Gn,ii,Sn,Br)))}var xn={preValue:Ye,triggerValue:Wn},mi=!0;(ot||Sr==="selection"&&!Nn)&&(mi=!1),U(xn,Wn,gr,Hr,mi),yn?xn.checked=Nn:xn.selected=Nn,Pe(un?Mn:Mn[0],St?null:Ar.map(function(rn){var Ur=Sn(rn);return Ur?Br(Ur.data):null}),xn)}},ht=function(gr,jt,Sr){var Ar=gr;if(!un)pt([gr],{selected:!0,triggerValue:gr},Sr);else{var sr=ge(Qe,gr);if(Kt){var ln=Se(sr),_n=ln.missingRawValues,Wn=ln.existRawValues,Nn=Wn.map(function(xn){return Sn(xn).key}),Mn=Object(t.a)(Nn,!0,ei),Gn=Mn.checkedKeys;sr=[].concat(Object(h.a)(_n),Object(h.a)(Gn.map(function(xn){return bn(xn).data.value})))}pt(sr,{selected:!0,triggerValue:gr},Sr)}$t&&$t(Ar,jt)},Vt=function(gr,jt,Sr){var Ar=gr,sr=de(Qe,gr);if(Kt){var ln=Se(sr),_n=ln.missingRawValues,Wn=ln.existRawValues,Nn=Wn.map(function(xn){return Sn(xn).key}),Mn=Object(t.a)(Nn,{checked:!1,halfCheckedKeys:Ve},ei),Gn=Mn.checkedKeys;sr=[].concat(Object(h.a)(_n),Object(h.a)(Gn.map(function(xn){return bn(xn).data.value})))}pt(sr,{selected:!1,triggerValue:gr},Sr),Nr&&Nr(Ar,jt)},dr=function(){pt([],null,"clear")},tr=A.useCallback(function(_t){if(Bt){var gr={};Object.defineProperty(gr,"documentClickClose",{get:function(){return Object(d.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Bt(_t,gr)}},[Bt]),ir={optionLabelProp:null,optionFilterProp:Rr,dropdownAlign:Te,internalProps:{mark:s.a,onClear:dr,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:ht,onRawDeselect:Vt}};return"filterTreeNode"in V&&(ir.filterOption=ft),A.createElement(b.Provider,{value:{checkable:yn,loadData:Gt,treeLoadedKeys:lr,onTreeLoad:st,checkedKeys:Qe,halfCheckedKeys:Ve,treeDefaultExpandAll:Lr,treeExpandedKeys:Zt,treeDefaultExpandedKeys:br,onTreeExpand:Ge,treeIcon:In,treeMotion:vt,showTreeIcon:Gr,switcherIcon:Tr,treeLine:fr,treeNodeFilterProp:Rr}},A.createElement(ue,Object(w.a)({ref:kt,mode:un?"multiple":null},V,ir,{value:Ye,labelInValue:!0,options:Hr,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:tr})))}),Fe=function(V){Object(p.a)(xe,V);var Ae=Object(c.a)(xe);function xe(){var re;return Object(m.a)(this,xe),re=Ae.apply(this,arguments),re.selectRef=A.createRef(),re.focus=function(){re.selectRef.current.focus()},re.blur=function(){re.selectRef.current.blur()},re}return Object(g.a)(xe,[{key:"render",value:function(){return A.createElement(Ne,Object(w.a)({ref:this.selectRef},this.props))}}]),xe}(A.Component);Fe.TreeNode=k,Fe.SHOW_ALL=$e,Fe.SHOW_PARENT=Le,Fe.SHOW_CHILD=he;var ae=Fe,ce=ae,_e=o("TSYQ"),ze=o.n(_e),it=o("bT9E"),Ze=o("9R2V"),Ee=o("bq+4"),mt=o("1+JA"),Je=o("5T1g"),rt=o("kc2O"),wt=o("MZCN"),Ot=function(V,Ae){var xe={};for(var re in V)Object.prototype.hasOwnProperty.call(V,re)&&Ae.indexOf(re)<0&&(xe[re]=V[re]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,re=Object.getOwnPropertySymbols(V);ot<re.length;ot++)Ae.indexOf(re[ot])<0&&Object.prototype.propertyIsEnumerable.call(V,re[ot])&&(xe[re[ot]]=V[re[ot]]);return xe},Ct=function(Ae,xe){var re,ot=Ae.prefixCls,bt=Ae.size,tt=Ae.bordered,Tt=tt===void 0?!0:tt,Gt=Ae.className,lr=Ae.treeCheckable,pr=Ae.multiple,Rr=Ae.listHeight,xt=Rr===void 0?256:Rr,It=Ae.listItemHeight,At=It===void 0?26:It,Zt=Ae.notFoundContent,br=Ae.switcherIcon,Lr=Ae.treeLine,Jr=Ae.getPopupContainer,In=Ae.dropdownClassName,Gr=Ae.treeIcon,Tr=Gr===void 0?!1:Gr,fr=Ae.transitionName,vt=Ae.choiceTransitionName,ft=vt===void 0?"":vt,Te=Ot(Ae,["prefixCls","size","bordered","className","treeCheckable","multiple","listHeight","listItemHeight","notFoundContent","switcherIcon","treeLine","getPopupContainer","dropdownClassName","treeIcon","transitionName","choiceTransitionName"]),Pe=A.useContext(Ze.b),Ge=Pe.getPopupContainer,st=Pe.getPrefixCls,Bt=Pe.renderEmpty,$t=Pe.direction,Nr=Pe.virtual,yn=Pe.dropdownMatchSelectWidth,un=A.useContext(rt.b);Object(Ee.a)(pr!==!1||!lr,"TreeSelect","`multiple` will always be `true` when `treeCheckable` is true");var Kt=st("select",ot),St=st("select-tree",ot),kt=st("tree-select",ot),Jt=ze()(In,"".concat(kt,"-dropdown"),Object(f.a)({},"".concat(kt,"-dropdown-rtl"),$t==="rtl")),Br=!!(lr||pr),Hr=Object(mt.a)(Object(w.a)(Object(w.a)({},Te),{multiple:Br,prefixCls:Kt})),$r=Hr.suffixIcon,Ft=Hr.removeIcon,cr=Hr.clearIcon,Cr;Zt!==void 0?Cr=Zt:Cr=Bt("Select");var Fr=Object(it.a)(Te,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Wr=bt||un,An=ze()(!ot&&kt,(re={},Object(f.a)(re,"".concat(Kt,"-lg"),Wr==="large"),Object(f.a)(re,"".concat(Kt,"-sm"),Wr==="small"),Object(f.a)(re,"".concat(Kt,"-rtl"),$t==="rtl"),Object(f.a)(re,"".concat(Kt,"-borderless"),!Tt),re),Gt),bn=st();return A.createElement(ce,Object(w.a)({virtual:Nr,dropdownMatchSelectWidth:yn},Fr,{ref:xe,prefixCls:Kt,className:An,listHeight:xt,listItemHeight:At,treeCheckable:lr&&A.createElement("span",{className:"".concat(Kt,"-tree-checkbox-inner")}),inputIcon:$r,multiple:pr,removeIcon:Ft,clearIcon:cr,switcherIcon:function(kn){return Object(Je.a)(St,br,Lr,kn)},showTreeIcon:Tr,notFoundContent:Cr,getPopupContainer:Jr||Ge,treeMotion:null,dropdownClassName:Jt,choiceTransitionName:Object(wt.b)(bn,"",ft),transitionName:Object(wt.b)(bn,"slide-up",fr)}))},Dt=A.forwardRef(Ct),Xe=Dt;Xe.TreeNode=k,Xe.SHOW_ALL=$e,Xe.SHOW_PARENT=Le,Xe.SHOW_CHILD=he;var q=B.a=Xe},ICMv:function(M,B,o){var w=o("bYtY"),f={getMin:function(A){var m=this.option,g=!A&&m.rangeStart!=null?m.rangeStart:m.min;return this.axis&&g!=null&&g!=="dataMin"&&typeof g!="function"&&!w.eqNaN(g)&&(g=this.axis.scale.parse(g)),g},getMax:function(A){var m=this.option,g=!A&&m.rangeEnd!=null?m.rangeEnd:m.max;return this.axis&&g!=null&&g!=="dataMax"&&typeof g!="function"&&!w.eqNaN(g)&&(g=this.axis.scale.parse(g)),g},getNeedCrossZero:function(){var A=this.option;return A.rangeStart!=null||A.rangeEnd!=null?!1:!A.scale},getCoordSysModel:w.noop,setRange:function(A,m){this.option.rangeStart=A,this.option.rangeEnd=m},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};M.exports=f},IDmD:function(M,B,o){var w=o("bYtY"),f={};function A(){this._coordinateSystems=[]}A.prototype={constructor:A,create:function(g,p){var c=[];w.each(f,function(h,l){var e=h.create(g,p);c=c.concat(e||[])}),this._coordinateSystems=c},update:function(g,p){w.each(this._coordinateSystems,function(c){c.update&&c.update(g,p)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},A.register=function(g,p){f[g]=p},A.get=function(g){return f[g]};var m=A;M.exports=m},IM3S:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("cDrd"),m=o("W9l/"),g=o("4fr0"),p=o.n(g)},IMiH:function(M,B,o){var w=o("Sj9i"),f=o("QBsz"),A=o("4mN7"),m=o("mFDi"),g=o("LPTA"),p=g.devicePixelRatio,c={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},h=[],l=[],e=[],n=[],i=Math.min,r=Math.max,a=Math.cos,t=Math.sin,s=Math.sqrt,u=Math.abs,d=typeof Float32Array!="undefined",v=function(b){this._saveData=!(b||!1),this._saveData&&(this.data=[]),this._ctx=null};v.prototype={constructor:v,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(b,E,C){C=C||0,this._ux=u(C/p/b)||0,this._uy=u(C/p/E)||0},getContext:function(){return this._ctx},beginPath:function(b){return this._ctx=b,b&&b.beginPath(),b&&(this.dpr=b.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(b,E){return this.addData(c.M,b,E),this._ctx&&this._ctx.moveTo(b,E),this._x0=b,this._y0=E,this._xi=b,this._yi=E,this},lineTo:function(b,E){var C=u(b-this._xi)>this._ux||u(E-this._yi)>this._uy||this._len<5;return this.addData(c.L,b,E),this._ctx&&C&&(this._needsDash()?this._dashedLineTo(b,E):this._ctx.lineTo(b,E)),C&&(this._xi=b,this._yi=E),this},bezierCurveTo:function(b,E,C,T,x,_){return this.addData(c.C,b,E,C,T,x,_),this._ctx&&(this._needsDash()?this._dashedBezierTo(b,E,C,T,x,_):this._ctx.bezierCurveTo(b,E,C,T,x,_)),this._xi=x,this._yi=_,this},quadraticCurveTo:function(b,E,C,T){return this.addData(c.Q,b,E,C,T),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(b,E,C,T):this._ctx.quadraticCurveTo(b,E,C,T)),this._xi=C,this._yi=T,this},arc:function(b,E,C,T,x,_){return this.addData(c.A,b,E,C,C,T,x-T,0,_?0:1),this._ctx&&this._ctx.arc(b,E,C,T,x,_),this._xi=a(x)*C+b,this._yi=t(x)*C+E,this},arcTo:function(b,E,C,T,x){return this._ctx&&this._ctx.arcTo(b,E,C,T,x),this},rect:function(b,E,C,T){return this._ctx&&this._ctx.rect(b,E,C,T),this.addData(c.R,b,E,C,T),this},closePath:function(){this.addData(c.Z);var b=this._ctx,E=this._x0,C=this._y0;return b&&(this._needsDash()&&this._dashedLineTo(E,C),b.closePath()),this._xi=E,this._yi=C,this},fill:function(b){b&&b.fill(),this.toStatic()},stroke:function(b){b&&b.stroke(),this.toStatic()},setLineDash:function(b){if(b instanceof Array){this._lineDash=b,this._dashIdx=0;for(var E=0,C=0;C<b.length;C++)E+=b[C];this._dashSum=E}return this},setLineDashOffset:function(b){return this._dashOffset=b,this},len:function(){return this._len},setData:function(b){var E=b.length;!(this.data&&this.data.length===E)&&d&&(this.data=new Float32Array(E));for(var C=0;C<E;C++)this.data[C]=b[C];this._len=E},appendPath:function(b){b instanceof Array||(b=[b]);for(var E=b.length,C=0,T=this._len,x=0;x<E;x++)C+=b[x].len();d&&this.data instanceof Float32Array&&(this.data=new Float32Array(T+C));for(var x=0;x<E;x++)for(var _=b[x].data,I=0;I<_.length;I++)this.data[T++]=_[I];this._len=T},addData:function(b){if(!this._saveData)return;var E=this.data;this._len+arguments.length>E.length&&(this._expandData(),E=this.data);for(var C=0;C<arguments.length;C++)E[this._len++]=arguments[C];this._prevCmd=b},_expandData:function(){if(!(this.data instanceof Array)){for(var b=[],E=0;E<this._len;E++)b[E]=this.data[E];this.data=b}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(b,E){var C=this._dashSum,T=this._dashOffset,x=this._lineDash,_=this._ctx,I=this._xi,L=this._yi,R=b-I,k=E-L,F=s(R*R+k*k),P=I,W=L,D,U=x.length,H;for(R/=F,k/=F,T<0&&(T=C+T),T%=C,P-=T*R,W-=T*k;R>0&&P<=b||R<0&&P>=b||R===0&&(k>0&&W<=E||k<0&&W>=E);){if(H=this._dashIdx,D=x[H],P+=R*D,W+=k*D,this._dashIdx=(H+1)%U,R>0&&P<I||R<0&&P>I||k>0&&W<L||k<0&&W>L)continue;_[H%2?"moveTo":"lineTo"](R>=0?i(P,b):r(P,b),k>=0?i(W,E):r(W,E))}R=P-b,k=W-E,this._dashOffset=-s(R*R+k*k)},_dashedBezierTo:function(b,E,C,T,x,_){var I=this._dashSum,L=this._dashOffset,R=this._lineDash,k=this._ctx,F=this._xi,P=this._yi,W,D,U,H=w.cubicAt,j=0,K=this._dashIdx,X=R.length,z,Y,$=0;for(L<0&&(L=I+L),L%=I,W=0;W<1;W+=.1)D=H(F,b,C,x,W+.1)-H(F,b,C,x,W),U=H(P,E,T,_,W+.1)-H(P,E,T,_,W),j+=s(D*D+U*U);for(;K<X&&!($+=R[K],$>L);K++);for(W=($-L)/j;W<=1;)z=H(F,b,C,x,W),Y=H(P,E,T,_,W),K%2?k.moveTo(z,Y):k.lineTo(z,Y),W+=R[K]/j,K=(K+1)%X;K%2!==0&&k.lineTo(x,_),D=x-z,U=_-Y,this._dashOffset=-s(D*D+U*U)},_dashedQuadraticTo:function(b,E,C,T){var x=C,_=T;C=(C+2*b)/3,T=(T+2*E)/3,b=(this._xi+2*b)/3,E=(this._yi+2*E)/3,this._dashedBezierTo(b,E,C,T,x,_)},toStatic:function(){var b=this.data;b instanceof Array&&(b.length=this._len,d&&(this.data=new Float32Array(b)))},getBoundingRect:function(){h[0]=h[1]=e[0]=e[1]=Number.MAX_VALUE,l[0]=l[1]=n[0]=n[1]=-Number.MAX_VALUE;for(var b=this.data,E=0,C=0,T=0,x=0,_=0;_<b.length;){var I=b[_++];_===1&&(E=b[_],C=b[_+1],T=E,x=C);switch(I){case c.M:T=b[_++],x=b[_++],E=T,C=x,e[0]=T,e[1]=x,n[0]=T,n[1]=x;break;case c.L:A.fromLine(E,C,b[_],b[_+1],e,n),E=b[_++],C=b[_++];break;case c.C:A.fromCubic(E,C,b[_++],b[_++],b[_++],b[_++],b[_],b[_+1],e,n),E=b[_++],C=b[_++];break;case c.Q:A.fromQuadratic(E,C,b[_++],b[_++],b[_],b[_+1],e,n),E=b[_++],C=b[_++];break;case c.A:var L=b[_++],R=b[_++],k=b[_++],F=b[_++],P=b[_++],W=b[_++]+P;_+=1;var D=1-b[_++];_===1&&(T=a(P)*k+L,x=t(P)*F+R),A.fromArc(L,R,k,F,P,W,D,e,n),E=a(W)*k+L,C=t(W)*F+R;break;case c.R:T=E=b[_++],x=C=b[_++];var U=b[_++],H=b[_++];A.fromLine(T,x,T+U,x+H,e,n);break;case c.Z:E=T,C=x;break}f.min(h,h,e),f.max(l,l,n)}return _===0&&(h[0]=h[1]=l[0]=l[1]=0),new m(h[0],h[1],l[0]-h[0],l[1]-h[1])},rebuildPath:function(b){for(var E=this.data,C,T,x,_,I,L,R=this._ux,k=this._uy,F=this._len,P=0;P<F;){var W=E[P++];P===1&&(x=E[P],_=E[P+1],C=x,T=_);switch(W){case c.M:C=x=E[P++],T=_=E[P++],b.moveTo(x,_);break;case c.L:I=E[P++],L=E[P++],(u(I-x)>R||u(L-_)>k||P===F-1)&&(b.lineTo(I,L),x=I,_=L);break;case c.C:b.bezierCurveTo(E[P++],E[P++],E[P++],E[P++],E[P++],E[P++]),x=E[P-2],_=E[P-1];break;case c.Q:b.quadraticCurveTo(E[P++],E[P++],E[P++],E[P++]),x=E[P-2],_=E[P-1];break;case c.A:var D=E[P++],U=E[P++],H=E[P++],j=E[P++],K=E[P++],X=E[P++],z=E[P++],Y=E[P++],$=H>j?H:j,ne=H>j?1:H/j,J=H>j?j/H:1,ge=Math.abs(H-j)>.001,de=K+X;ge?(b.translate(D,U),b.rotate(z),b.scale(ne,J),b.arc(0,0,$,K,de,1-Y),b.scale(1/ne,1/J),b.rotate(-z),b.translate(-D,-U)):b.arc(D,U,$,K,de,1-Y),P===1&&(C=a(K)*H+D,T=t(K)*j+U),x=a(de)*H+D,_=t(de)*j+U;break;case c.R:C=x=E[P],T=_=E[P+1],b.rect(E[P++],E[P++],E[P++],E[P++]);break;case c.Z:b.closePath(),x=C,_=T}}}},v.CMD=c;var y=v;M.exports=y},IPMP:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("o4st"),m=o.n(A),g=o("HaWY"),p=o("4ZVq")},IUWy:function(M,B){var o={};function w(A,m){o[A]=m}function f(A){return o[A]}B.register=w,B.get=f},IWNH:function(M,B,o){var w=o("T4UG"),f=o("Bsck"),A=o("7aKB"),m=A.encodeHTML,g=o("Qxkt"),p=w.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(c){var h={name:c.name,children:c.data},l=c.leaves||{},e=new g(l,this,this.ecModel),n=f.createTree(h,this,{},i);function i(s){s.wrapMethod("getItemModel",function(u,d){var v=n.getNodeByDataIndex(d);return(!v.children.length||!v.isExpand)&&(u.parentModel=e),u})}var r=0;n.eachNode("preorder",function(s){s.depth>r&&(r=s.depth)});var a=c.expandAndCollapse,t=a&&c.initialTreeDepth>=0?c.initialTreeDepth:r;return n.root.eachNode("preorder",function(s){var u=s.hostTree.data.getRawDataItem(s.dataIndex);s.isExpand=u&&u.collapsed!=null?!u.collapsed:s.depth<=t}),n.data},getOrient:function(){var c=this.get("orient");return c==="horizontal"?c="LR":c==="vertical"&&(c="TB"),c},setZoom:function(c){this.option.zoom=c},setCenter:function(c){this.option.center=c},formatTooltip:function(c){for(var h=this.getData().tree,l=h.root.children[0],e=h.getNodeByDataIndex(c),n=e.getValue(),i=e.name;e&&e!==l;)i=e.parentNode.name+"."+i,e=e.parentNode;return m(i+(isNaN(n)||n==null?"":" : "+n))},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}});M.exports=p},IWp7:function(M,B,o){var w=o("bYtY"),f=o("OELB"),A=o("7aKB"),m=o("lE7J"),g=o("ieMj"),p=g.prototype,c=Math.ceil,h=Math.floor,l=1e3,e=l*60,n=e*60,i=n*24,r=function(u,d,v,y){for(;v<y;){var S=v+y>>>1;u[S][1]<d?v=S+1:y=S}return v},a=g.extend({type:"time",getLabel:function(u){var d=this._stepLvl,v=new Date(u);return A.formatTime(d[0],v,this.getSetting("useUTC"))},niceExtent:function(u){var d=this._extent;if(d[0]===d[1]&&(d[0]-=i,d[1]+=i),d[1]===-Infinity&&d[0]===Infinity){var v=new Date;d[1]=+new Date(v.getFullYear(),v.getMonth(),v.getDate()),d[0]=d[1]-i}this.niceTicks(u.splitNumber,u.minInterval,u.maxInterval);var y=this._interval;u.fixMin||(d[0]=f.round(h(d[0]/y)*y)),u.fixMax||(d[1]=f.round(c(d[1]/y)*y))},niceTicks:function(u,d,v){u=u||10;var y=this._extent,S=y[1]-y[0],b=S/u;d!=null&&b<d&&(b=d),v!=null&&b>v&&(b=v);var E=t.length,C=r(t,b,0,E),T=t[Math.min(C,E-1)],x=T[1];if(T[0]==="year"){var _=S/x,I=f.nice(_/u,!0);x*=I}var L=this.getSetting("useUTC")?0:new Date(+y[0]||+y[1]).getTimezoneOffset()*60*1e3,R=[Math.round(c((y[0]-L)/x)*x+L),Math.round(h((y[1]-L)/x)*x+L)];m.fixExtent(R,y),this._stepLvl=T,this._interval=x,this._niceExtent=R},parse:function(u){return+f.parseDate(u)}});w.each(["contain","normalize"],function(u){a.prototype[u]=function(d){return p[u].call(this,this.parse(d))}});var t=[["hh:mm:ss",l],["hh:mm:ss",l*5],["hh:mm:ss",l*10],["hh:mm:ss",l*15],["hh:mm:ss",l*30],[`hh:mm
|
|
|
MM-dd`,e],[`hh:mm
|
|
|
MM-dd`,e*5],[`hh:mm
|
|
|
MM-dd`,e*10],[`hh:mm
|
|
|
MM-dd`,e*15],[`hh:mm
|
|
|
MM-dd`,e*30],[`hh:mm
|
|
|
MM-dd`,n],[`hh:mm
|
|
|
MM-dd`,n*2],[`hh:mm
|
|
|
MM-dd`,n*6],[`hh:mm
|
|
|
MM-dd`,n*12],[`MM-dd
|
|
|
yyyy`,i],[`MM-dd
|
|
|
yyyy`,i*2],[`MM-dd
|
|
|
yyyy`,i*3],[`MM-dd
|
|
|
yyyy`,i*4],[`MM-dd
|
|
|
yyyy`,i*5],[`MM-dd
|
|
|
yyyy`,i*6],["week",i*7],[`MM-dd
|
|
|
yyyy`,i*10],["week",i*14],["week",i*21],["month",i*31],["week",i*42],["month",i*62],["week",i*70],["quarter",i*95],["month",i*31*4],["month",i*31*5],["half-year",i*380/2],["month",i*31*8],["month",i*31*10],["year",i*380]];a.create=function(u){return new a({useUTC:u.ecModel.get("useUTC")})};var s=a;M.exports=s},IXuL:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("MwEJ"),m=o("T4UG"),g=m.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(p,c){return A(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}});M.exports=g},IXyC:function(M,B,o){var w=o("bYtY"),f=o("bLfw");o("3zoK");var A=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(m){var g=this.option;m&&w.merge(g,m,!0),this._initDimensions()},contains:function(m,g){var p=m.get("parallelIndex");return p!=null&&g.getComponent("parallel",p)===this},setAxisExpand:function(m){w.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(g){m.hasOwnProperty(g)&&(this.option[g]=m[g])},this)},_initDimensions:function(){var m=this.dimensions=[],g=this.parallelAxisIndex=[],p=w.filter(this.dependentModels.parallelAxis,function(c){return(c.get("parallelIndex")||0)===this.componentIndex},this);w.each(p,function(c){m.push("dim"+c.get("dim")),g.push(c.componentIndex)})}});M.exports=A},IepU:function(M,B,o){"use strict";var w=o("rePB"),f=o("wx14"),A=o("U8pU"),m=o("q1tI"),g=o("TSYQ"),p=o.n(g),c=function(P){var W=P.prefixCls,D=P.className,U=P.width,H=P.style;return m.createElement("h3",{className:p()(W,D),style:Object(f.a)({width:U},H)})},h=c,l=o("KQm4"),e=function(P){var W=function(z){var Y=P.width,$=P.rows,ne=$===void 0?2:$;return Array.isArray(Y)?Y[z]:ne-1===z?Y:void 0},D=P.prefixCls,U=P.className,H=P.style,j=P.rows,K=Object(l.a)(Array(j)).map(function(X,z){return m.createElement("li",{key:z,style:{width:W(z)}})});return m.createElement("ul",{className:p()(D,U),style:H},K)},n=e,i=o("9R2V"),r=function(P){var W,D,U=P.prefixCls,H=P.className,j=P.style,K=P.size,X=P.shape,z=p()((W={},Object(w.a)(W,"".concat(U,"-lg"),K==="large"),Object(w.a)(W,"".concat(U,"-sm"),K==="small"),W)),Y=p()((D={},Object(w.a)(D,"".concat(U,"-circle"),X==="circle"),Object(w.a)(D,"".concat(U,"-square"),X==="square"),Object(w.a)(D,"".concat(U,"-round"),X==="round"),D)),$=typeof K=="number"?{width:K,height:K,lineHeight:"".concat(K,"px")}:{};return m.createElement("span",{className:p()(U,z,Y,H),style:Object(f.a)(Object(f.a)({},$),j)})},a=r,t=o("bT9E"),s=function(P){var W=function(U){var H=U.getPrefixCls,j=P.prefixCls,K=P.className,X=P.active,z=H("skeleton",j),Y=Object(t.a)(P,["prefixCls","className"]),$=p()(z,"".concat(z,"-element"),Object(w.a)({},"".concat(z,"-active"),X),K);return m.createElement("div",{className:$},m.createElement(a,Object(f.a)({prefixCls:"".concat(z,"-avatar")},Y)))};return m.createElement(i.a,null,W)};s.defaultProps={size:"default",shape:"circle"};var u=s,d=function(P){var W=function(U){var H=U.getPrefixCls,j=P.prefixCls,K=P.className,X=P.active,z=H("skeleton",j),Y=Object(t.a)(P,["prefixCls"]),$=p()(z,"".concat(z,"-element"),Object(w.a)({},"".concat(z,"-active"),X),K);return m.createElement("div",{className:$},m.createElement(a,Object(f.a)({prefixCls:"".concat(z,"-button")},Y)))};return m.createElement(i.a,null,W)};d.defaultProps={size:"default"};var v=d,y=function(P){var W=function(U){var H=U.getPrefixCls,j=P.prefixCls,K=P.className,X=P.active,z=H("skeleton",j),Y=Object(t.a)(P,["prefixCls"]),$=p()(z,"".concat(z,"-element"),Object(w.a)({},"".concat(z,"-active"),X),K);return m.createElement("div",{className:$},m.createElement(a,Object(f.a)({prefixCls:"".concat(z,"-input")},Y)))};return m.createElement(i.a,null,W)};y.defaultProps={size:"default"};var S=y,b="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",E=function(P){var W=function(U){var H=U.getPrefixCls,j=P.prefixCls,K=P.className,X=P.style,z=H("skeleton",j),Y=p()(z,"".concat(z,"-element"),K);return m.createElement("div",{className:Y},m.createElement("div",{className:p()("".concat(z,"-image"),K),style:X},m.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(z,"-image-svg")},m.createElement("path",{d:b,className:"".concat(z,"-image-path")}))))};return m.createElement(i.a,null,W)},C=E;function T(F){return F&&Object(A.a)(F)==="object"?F:{}}function x(F,P){return F&&!P?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function _(F,P){return!F&&P?{width:"38%"}:F&&P?{width:"50%"}:{}}function I(F,P){var W={};return(!F||!P)&&(W.width="61%"),!F&&P?W.rows=3:W.rows=2,W}var L=function(P){var W=function(U){var H=U.getPrefixCls,j=U.direction,K=P.prefixCls,X=P.loading,z=P.className,Y=P.children,$=P.avatar,ne=P.title,J=P.paragraph,ge=P.active,de=P.round,Ie=H("skeleton",K);if(X||!("loading"in P)){var be,Ce=!!$,je=!!ne,te=!!J,ve;if(Ce){var $e=Object(f.a)(Object(f.a)({prefixCls:"".concat(Ie,"-avatar")},x(je,te)),T($));ve=m.createElement("div",{className:"".concat(Ie,"-header")},m.createElement(a,$e))}var Le;if(je||te){var he;if(je){var ee=Object(f.a)(Object(f.a)({prefixCls:"".concat(Ie,"-title")},_(Ce,te)),T(ne));he=m.createElement(h,ee)}var se;if(te){var Ue=Object(f.a)(Object(f.a)({prefixCls:"".concat(Ie,"-paragraph")},I(Ce,je)),T(J));se=m.createElement(n,Ue)}Le=m.createElement("div",{className:"".concat(Ie,"-content")},he,se)}var ue=p()(Ie,(be={},Object(w.a)(be,"".concat(Ie,"-with-avatar"),Ce),Object(w.a)(be,"".concat(Ie,"-active"),ge),Object(w.a)(be,"".concat(Ie,"-rtl"),j==="rtl"),Object(w.a)(be,"".concat(Ie,"-round"),de),be),z);return m.createElement("div",{className:ue},ve,Le)}return Y};return m.createElement(i.a,null,W)};L.defaultProps={avatar:!1,title:!0,paragraph:!0},L.Button=v,L.Avatar=u,L.Input=S,L.Image=C;var R=L,k=B.a=R},ItGF:function(M,B){var o={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?o={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?o={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?o={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:o=f(navigator.userAgent);var w=o;function f(A){var m={},g={},p=A.match(/Firefox\/([\d.]+)/),c=A.match(/MSIE\s([\d.]+)/)||A.match(/Trident\/.+?rv:(([\d.]+))/),h=A.match(/Edge\/([\d.]+)/),l=/micromessenger/i.test(A);return p&&(g.firefox=!0,g.version=p[1]),c&&(g.ie=!0,g.version=c[1]),h&&(g.edge=!0,g.version=h[1]),l&&(g.weChat=!0),{browser:g,os:m,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!g.ie&&!g.edge,pointerEventsSupported:"onpointerdown"in window&&(g.edge||g.ie&&g.version>=11),domSupported:typeof document!="undefined"}}M.exports=w},ItS6:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=o("eP3c"),f=A(o("1q3G"));function A(h){return h&&h.__esModule?h:{default:h}}function m(h,l){if(!(h instanceof l))throw new TypeError("Cannot call a class as a function")}function g(h,l){for(var e=0;e<l.length;e++){var n=l[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(h,n.key,n)}}function p(h,l,e){return l&&g(h.prototype,l),e&&g(h,e),h}var c=function(){function h(){m(this,h),this.strm=new f.default,this.chunkSize=1024*10*10,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,w.inflateInit)(this.strm,this.windowBits)}return p(h,[{key:"setInput",value:function(e){e?(this.strm.input=e,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(e){e>this.chunkSize&&(this.chunkSize=e,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=e;var n=(0,w.inflate)(this.strm,0);if(n<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=e)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,w.inflateReset)(this.strm)}}]),h}();B.default=c},Itpr:function(M,B,o){var w=o("+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],u,d;u=s.pop();)if(d=u.children,u.isExpand&&d.length)for(var v=d.length,y=v-1;y>=0;y--){var S=d[y];S.hierNode={defaultAncestor:null,ancestor:S,prelim:0,modifier:0,change:0,shift:0,i:y,thread:null},s.push(S)}}function A(t,s){var u=t.isExpand?t.children:[],d=t.parentNode.children,v=t.hierNode.i?d[t.hierNode.i-1]:null;if(u.length){h(t);var y=(u[0].hierNode.prelim+u[u.length-1].hierNode.prelim)/2;v?(t.hierNode.prelim=v.hierNode.prelim+s(t,v),t.hierNode.modifier=t.hierNode.prelim-y):t.hierNode.prelim=y}else v&&(t.hierNode.prelim=v.hierNode.prelim+s(t,v));t.parentNode.hierNode.defaultAncestor=l(t,v,t.parentNode.hierNode.defaultAncestor||d[0],s)}function m(t){var s=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:s},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function g(t){return arguments.length?t:a}function p(t,s){var u={};return t-=Math.PI/2,u.x=s*Math.cos(t),u.y=s*Math.sin(t),u}function c(t,s){return w.getLayoutRect(t.getBoxLayoutParams(),{width:s.getWidth(),height:s.getHeight()})}function h(t){for(var s=t.children,u=s.length,d=0,v=0;--u>=0;){var y=s[u];y.hierNode.prelim+=d,y.hierNode.modifier+=d,v+=y.hierNode.change,d+=y.hierNode.shift+v}}function l(t,s,u,d){if(s){for(var v=t,y=t,S=y.parentNode.children[0],b=s,E=v.hierNode.modifier,C=y.hierNode.modifier,T=S.hierNode.modifier,x=b.hierNode.modifier;b=e(b),y=n(y),b&&y;){v=e(v),S=n(S),v.hierNode.ancestor=t;var _=b.hierNode.prelim+x-y.hierNode.prelim-C+d(b,y);_>0&&(r(i(b,t,u),t,_),C+=_,E+=_),x+=b.hierNode.modifier,C+=y.hierNode.modifier,E+=v.hierNode.modifier,T+=S.hierNode.modifier}b&&!e(v)&&(v.hierNode.thread=b,v.hierNode.modifier+=x-E),y&&!n(S)&&(S.hierNode.thread=y,S.hierNode.modifier+=C-T,u=t)}return u}function e(t){var s=t.children;return s.length&&t.isExpand?s[s.length-1]:t.hierNode.thread}function n(t){var s=t.children;return s.length&&t.isExpand?s[0]:t.hierNode.thread}function i(t,s,u){return t.hierNode.ancestor.parentNode===s.parentNode?t.hierNode.ancestor:u}function r(t,s,u){var d=u/(s.hierNode.i-t.hierNode.i);s.hierNode.change-=d,s.hierNode.shift+=u,s.hierNode.modifier+=u,s.hierNode.prelim+=u,t.hierNode.change+=d}function a(t,s){return t.parentNode===s.parentNode?1:2}B.init=f,B.firstWalk=A,B.secondWalk=m,B.separation=g,B.radialCoordinate=p,B.getViewRect=c},IwbS:function(M,B,o){var w=o("bYtY"),f=o("NC18"),A=o("Qe9p"),m=o("Fofx"),g=o("QBsz"),p=o("y+Vt"),c=o("DN4a"),h=o("Dagg");B.Image=h;var l=o("4fz+");B.Group=l;var e=o("dqUG");B.Text=e;var n=o("2fw6");B.Circle=n;var i=o("SqI9");B.Sector=i;var r=o("RXMa");B.Ring=r;var a=o("h7HQ");B.Polygon=a;var t=o("1Jh7");B.Polyline=t;var s=o("x6Kt");B.Rect=s;var u=o("yxFR");B.Line=u;var d=o("rA99");B.BezierCurve=d;var v=o("jTL6");B.Arc=v;var y=o("1MYJ");B.CompoundPath=y;var S=o("SKnc");B.LinearGradient=S;var b=o("3e3G");B.RadialGradient=b;var E=o("mFDi");B.BoundingRect=E;var C=o("OS9S");B.IncrementalDisplayable=C;var T=o("nPnh"),x=Math.max,_=Math.min,I={},L=1,R={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},k="emphasis",F="normal",P=1,W={},D={};function U(It){return p.extend(It)}function H(It,At){return f.extendFromString(It,At)}function j(It,At){D[It]=At}function K(It){if(D.hasOwnProperty(It))return D[It]}function X(It,At,Zt,br){var Lr=f.createFromString(It,At);return Zt&&(br==="center"&&(Zt=Y(Zt,Lr.getBoundingRect())),ne(Lr,Zt)),Lr}function z(It,At,Zt){var br=new h({style:{image:It,x:At.x,y:At.y,width:At.width,height:At.height},onload:function(Lr){if(Zt==="center"){var Jr={width:Lr.width,height:Lr.height};br.setStyle(Y(At,Jr))}}});return br}function Y(It,At){var Zt=At.width/At.height,br=It.height*Zt,Lr;br<=It.width?Lr=It.height:(br=It.width,Lr=br/Zt);var Jr=It.x+It.width/2,In=It.y+It.height/2;return{x:Jr-br/2,y:In-Lr/2,width:br,height:Lr}}var $=f.mergePath;function ne(It,At){if(!It.applyTransform)return;var Zt=It.getBoundingRect(),br=Zt.calculateTransform(At);It.applyTransform(br)}function J(It){return T.subPixelOptimizeLine(It.shape,It.shape,It.style),It}function ge(It){return T.subPixelOptimizeRect(It.shape,It.shape,It.style),It}var de=T.subPixelOptimize;function Ie(It){return It!=null&&It!=="none"}var be=w.createHashMap(),Ce=0;function je(It){if(typeof It!="string")return It;var At=be.get(It);return At||(At=A.lift(It,-.1),Ce<1e4&&(be.set(It,At),Ce++)),At}function te(It){if(!It.__hoverStlDirty)return;It.__hoverStlDirty=!1;var At=It.__hoverStl;if(!At){It.__cachedNormalStl=It.__cachedNormalZ2=null;return}var Zt=It.__cachedNormalStl={};It.__cachedNormalZ2=It.z2;var br=It.style;for(var Lr in At)At[Lr]!=null&&(Zt[Lr]=br[Lr]);Zt.fill=br.fill,Zt.stroke=br.stroke}function ve(It){var At=It.__hoverStl;if(!At||It.__highlighted)return;var Zt=It.__zr,br=It.useHoverLayer&&Zt&&Zt.painter.type==="canvas";if(It.__highlighted=br?"layer":"plain",It.isGroup||!Zt&&It.useHoverLayer)return;var Lr=It,Jr=It.style;br&&(Lr=Zt.addHover(It),Jr=Lr.style),Dt(Jr),br||te(Lr),Jr.extendFrom(At),$e(Jr,At,"fill"),$e(Jr,At,"stroke"),Ct(Jr),br||(It.dirty(!1),It.z2+=L)}function $e(It,At,Zt){!Ie(At[Zt])&&Ie(It[Zt])&&(It[Zt]=je(It[Zt]))}function Le(It){var At=It.__highlighted;if(!At)return;if(It.__highlighted=!1,It.isGroup)return;if(At==="layer")It.__zr&&It.__zr.removeHover(It);else{var Zt=It.style,br=It.__cachedNormalStl;br&&(Dt(Zt),It.setStyle(br),Ct(Zt));var Lr=It.__cachedNormalZ2;Lr!=null&&It.z2-Lr===L&&(It.z2=Lr)}}function he(It,At,Zt){var br=F,Lr=F,Jr;It.__highlighted&&(br=k,Jr=!0),At(It,Zt),It.__highlighted&&(Lr=k,Jr=!0),It.isGroup&&It.traverse(function(In){!In.isGroup&&At(In,Zt)}),Jr&&It.__highDownOnUpdate&&It.__highDownOnUpdate(br,Lr)}function ee(It,At){At=It.__hoverStl=At!==!1&&(It.hoverStyle||At||{}),It.__hoverStlDirty=!0,It.__highlighted&&(It.__cachedNormalStl=null,Le(It),ve(It))}function se(It){!Fe(this,It)&&!this.__highByOuter&&he(this,ve)}function Ue(It){!Fe(this,It)&&!this.__highByOuter&&he(this,Le)}function ue(It){this.__highByOuter|=1<<(It||0),he(this,ve)}function Ne(It){!(this.__highByOuter&=~(1<<(It||0)))&&he(this,Le)}function Fe(It,At){return It.__highDownSilentOnTouch&&At.zrByTouch}function ae(It,At){ce(It,!0),he(It,ee,At)}function ce(It,At){var Zt=At===!1;if(It.__highDownSilentOnTouch=It.highDownSilentOnTouch,It.__highDownOnUpdate=It.highDownOnUpdate,!Zt||It.__highDownDispatcher){var br=Zt?"off":"on";It[br]("mouseover",se)[br]("mouseout",Ue),It[br]("emphasis",ue)[br]("normal",Ne),It.__highByOuter=It.__highByOuter||0,It.__highDownDispatcher=!Zt}}function _e(It){return!!(It&&It.__highDownDispatcher)}function ze(It){var At=W[It];return At==null&&P<=32&&(At=W[It]=P++),At}function it(It,At,Zt,br,Lr,Jr,In){Lr=Lr||I;var Gr=Lr.labelFetcher,Tr=Lr.labelDataIndex,fr=Lr.labelDimIndex,vt=Lr.labelProp,ft=Zt.getShallow("show"),Te=br.getShallow("show"),Pe;(ft||Te)&&(Gr&&(Pe=Gr.getFormattedLabel(Tr,"normal",null,fr,vt)),Pe==null&&(Pe=w.isFunction(Lr.defaultText)?Lr.defaultText(Tr,Lr):Lr.defaultText));var Ge=ft?Pe:null,st=Te?w.retrieve2(Gr?Gr.getFormattedLabel(Tr,"emphasis",null,fr,vt):null,Pe):null;(Ge!=null||st!=null)&&(Ee(It,Zt,Jr,Lr),Ee(At,br,In,Lr,!0)),It.text=Ge,At.text=st}function Ze(It,At,Zt){var br=It.style;At&&(Dt(br),It.setStyle(At),Ct(br)),br=It.__hoverStl,Zt&&br&&(Dt(br),w.extend(br,Zt),Ct(br))}function Ee(It,At,Zt,br,Lr){return Je(It,At,br,Lr),Zt&&w.extend(It,Zt),It}function mt(It,At,Zt){var br={isRectText:!0},Lr;Zt===!1?Lr=!0:br.autoColor=Zt,Je(It,At,br,Lr)}function Je(It,At,Zt,br){if(Zt=Zt||I,Zt.isRectText){var Lr;Zt.getTextPosition?Lr=Zt.getTextPosition(At,br):(Lr=At.getShallow("position")||(br?null:"inside"),Lr==="outside"&&(Lr="top")),It.textPosition=Lr,It.textOffset=At.getShallow("offset");var Jr=At.getShallow("rotate");Jr!=null&&(Jr*=Math.PI/180),It.textRotation=Jr,It.textDistance=w.retrieve2(At.getShallow("distance"),br?null:5)}var In=At.ecModel,Gr=In&&In.option.textStyle,Tr=rt(At),fr;if(Tr){fr={};for(var vt in Tr)if(Tr.hasOwnProperty(vt)){var ft=At.getModel(["rich",vt]);wt(fr[vt]={},ft,Gr,Zt,br)}}return It.rich=fr,wt(It,At,Gr,Zt,br,!0),Zt.forceRich&&!Zt.textStyle&&(Zt.textStyle={}),It}function rt(It){for(var At;It&&It!==It.ecModel;){var Zt=(It.option||I).rich;if(Zt){At=At||{};for(var br in Zt)Zt.hasOwnProperty(br)&&(At[br]=1)}It=It.parentModel}return At}function wt(It,At,Zt,br,Lr,Jr){Zt=!Lr&&Zt||I,It.textFill=Ot(At.getShallow("color"),br)||Zt.color,It.textStroke=Ot(At.getShallow("textBorderColor"),br)||Zt.textBorderColor,It.textStrokeWidth=w.retrieve2(At.getShallow("textBorderWidth"),Zt.textBorderWidth),Lr||(Jr&&(It.insideRollbackOpt=br,Ct(It)),It.textFill==null&&(It.textFill=br.autoColor)),It.fontStyle=At.getShallow("fontStyle")||Zt.fontStyle,It.fontWeight=At.getShallow("fontWeight")||Zt.fontWeight,It.fontSize=At.getShallow("fontSize")||Zt.fontSize,It.fontFamily=At.getShallow("fontFamily")||Zt.fontFamily,It.textAlign=At.getShallow("align"),It.textVerticalAlign=At.getShallow("verticalAlign")||At.getShallow("baseline"),It.textLineHeight=At.getShallow("lineHeight"),It.textWidth=At.getShallow("width"),It.textHeight=At.getShallow("height"),It.textTag=At.getShallow("tag"),(!Jr||!br.disableBox)&&(It.textBackgroundColor=Ot(At.getShallow("backgroundColor"),br),It.textPadding=At.getShallow("padding"),It.textBorderColor=Ot(At.getShallow("borderColor"),br),It.textBorderWidth=At.getShallow("borderWidth"),It.textBorderRadius=At.getShallow("borderRadius"),It.textBoxShadowColor=At.getShallow("shadowColor"),It.textBoxShadowBlur=At.getShallow("shadowBlur"),It.textBoxShadowOffsetX=At.getShallow("shadowOffsetX"),It.textBoxShadowOffsetY=At.getShallow("shadowOffsetY")),It.textShadowColor=At.getShallow("textShadowColor")||Zt.textShadowColor,It.textShadowBlur=At.getShallow("textShadowBlur")||Zt.textShadowBlur,It.textShadowOffsetX=At.getShallow("textShadowOffsetX")||Zt.textShadowOffsetX,It.textShadowOffsetY=At.getShallow("textShadowOffsetY")||Zt.textShadowOffsetY}function Ot(It,At){return It!=="auto"?It:At&&At.autoColor?At.autoColor:null}function Ct(It){var At=It.textPosition,Zt=It.insideRollbackOpt,br;if(Zt&&It.textFill==null){var Lr=Zt.autoColor,Jr=Zt.isRectText,In=Zt.useInsideStyle,Gr=In!==!1&&(In===!0||Jr&&At&&typeof At=="string"&&At.indexOf("inside")>=0),Tr=!Gr&&Lr!=null;(Gr||Tr)&&(br={textFill:It.textFill,textStroke:It.textStroke,textStrokeWidth:It.textStrokeWidth}),Gr&&(It.textFill="#fff",It.textStroke==null&&(It.textStroke=Lr,It.textStrokeWidth==null&&(It.textStrokeWidth=2))),Tr&&(It.textFill=Lr)}It.insideRollback=br}function Dt(It){var At=It.insideRollback;At&&(It.textFill=At.textFill,It.textStroke=At.textStroke,It.textStrokeWidth=At.textStrokeWidth,It.insideRollback=null)}function Xe(It,At){var Zt=At&&At.getModel("textStyle");return w.trim([It.fontStyle||Zt&&Zt.getShallow("fontStyle")||"",It.fontWeight||Zt&&Zt.getShallow("fontWeight")||"",(It.fontSize||Zt&&Zt.getShallow("fontSize")||12)+"px",It.fontFamily||Zt&&Zt.getShallow("fontFamily")||"sans-serif"].join(" "))}function q(It,At,Zt,br,Lr,Jr){typeof Lr=="function"&&(Jr=Lr,Lr=null);var In=br&&br.isAnimationEnabled();if(In){var Gr=It?"Update":"",Tr=br.getShallow("animationDuration"+Gr),fr=br.getShallow("animationEasing"+Gr),vt=br.getShallow("animationDelay"+Gr);typeof vt=="function"&&(vt=vt(Lr,br.getAnimationDelayParams?br.getAnimationDelayParams(At,Lr):null)),typeof Tr=="function"&&(Tr=Tr(Lr)),Tr>0?At.animateTo(Zt,Tr,vt||0,fr,Jr,!!Jr):(At.stopAnimation(),At.attr(Zt),Jr&&Jr())}else At.stopAnimation(),At.attr(Zt),Jr&&Jr()}function V(It,At,Zt,br,Lr){q(!0,It,At,Zt,br,Lr)}function Ae(It,At,Zt,br,Lr){q(!1,It,At,Zt,br,Lr)}function xe(It,At){for(var Zt=m.identity([]);It&&It!==At;)m.mul(Zt,It.getLocalTransform(),Zt),It=It.parent;return Zt}function re(It,At,Zt){return At&&!w.isArrayLike(At)&&(At=c.getLocalTransform(At)),Zt&&(At=m.invert([],At)),g.applyTransform([],It,At)}function ot(It,At,Zt){var br=At[4]===0||At[5]===0||At[0]===0?1:Math.abs(2*At[4]/At[0]),Lr=At[4]===0||At[5]===0||At[2]===0?1:Math.abs(2*At[4]/At[2]),Jr=[It==="left"?-br:It==="right"?br:0,It==="top"?-Lr:It==="bottom"?Lr:0];return Jr=re(Jr,At,Zt),Math.abs(Jr[0])>Math.abs(Jr[1])?Jr[0]>0?"right":"left":Jr[1]>0?"bottom":"top"}function bt(It,At,Zt,br){if(!It||!At)return;function Lr(Gr){var Tr={};return Gr.traverse(function(fr){!fr.isGroup&&fr.anid&&(Tr[fr.anid]=fr)}),Tr}function Jr(Gr){var Tr={position:g.clone(Gr.position),rotation:Gr.rotation};return Gr.shape&&(Tr.shape=w.extend({},Gr.shape)),Tr}var In=Lr(It);At.traverse(function(Gr){if(!Gr.isGroup&&Gr.anid){var Tr=In[Gr.anid];if(Tr){var fr=Jr(Gr);Gr.attr(Jr(Tr)),V(Gr,fr,Zt,Gr.dataIndex)}}})}function tt(It,At){return w.map(It,function(Zt){var br=Zt[0];br=x(br,At.x),br=_(br,At.x+At.width);var Lr=Zt[1];return Lr=x(Lr,At.y),Lr=_(Lr,At.y+At.height),[br,Lr]})}function Tt(It,At){var Zt=x(It.x,At.x),br=_(It.x+It.width,At.x+At.width),Lr=x(It.y,At.y),Jr=_(It.y+It.height,At.y+At.height);if(br>=Zt&&Jr>=Lr)return{x:Zt,y:Lr,width:br-Zt,height:Jr-Lr}}function Gt(It,At,Zt){At=w.extend({rectHover:!0},At);var br=At.style={strokeNoScale:!0};if(Zt=Zt||{x:-1,y:-1,width:2,height:2},It)return It.indexOf("image://")===0?(br.image=It.slice(8),w.defaults(br,Zt),new h(At)):X(It.replace("path://",""),At,Zt,"center")}function lr(It,At,Zt,br,Lr){for(var Jr=0,In=Lr[Lr.length-1];Jr<Lr.length;Jr++){var Gr=Lr[Jr];if(pr(It,At,Zt,br,Gr[0],Gr[1],In[0],In[1]))return!0;In=Gr}}function pr(It,At,Zt,br,Lr,Jr,In,Gr){var Tr=Zt-It,fr=br-At,vt=In-Lr,ft=Gr-Jr,Te=Rr(vt,ft,Tr,fr);if(xt(Te))return!1;var Pe=It-Lr,Ge=At-Jr,st=Rr(Pe,Ge,Tr,fr)/Te;if(st<0||st>1)return!1;var Bt=Rr(Pe,Ge,vt,ft)/Te;return!(Bt<0||Bt>1)}function Rr(It,At,Zt,br){return It*br-Zt*At}function xt(It){return It<=1e-6&&It>=-1e-6}j("circle",n),j("sector",i),j("ring",r),j("polygon",a),j("polyline",t),j("rect",s),j("line",u),j("bezierCurve",d),j("arc",v),B.Z2_EMPHASIS_LIFT=L,B.CACHED_LABEL_STYLE_PROPERTIES=R,B.extendShape=U,B.extendPath=H,B.registerShape=j,B.getShapeClass=K,B.makePath=X,B.makeImage=z,B.mergePath=$,B.resizePath=ne,B.subPixelOptimizeLine=J,B.subPixelOptimizeRect=ge,B.subPixelOptimize=de,B.setElementHoverStyle=ee,B.setHoverStyle=ae,B.setAsHighDownDispatcher=ce,B.isHighDownDispatcher=_e,B.getHighlightDigit=ze,B.setLabelStyle=it,B.modifyLabelStyle=Ze,B.setTextStyle=Ee,B.setText=mt,B.getFont=Xe,B.updateProps=V,B.initProps=Ae,B.getTransform=xe,B.applyTransform=re,B.transformDirection=ot,B.groupTransition=bt,B.clipPointsByRect=tt,B.clipRectByRect=Tt,B.createIcon=Gt,B.linePolygonIntersect=lr,B.lineLineIntersect=pr},IyTE:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("ecKF"),m=o.n(A),g=o("yNbn")},IyUQ:function(M,B,o){var w=o("bYtY"),f=o("YH21"),A=o("IwbS"),m=o("iLNv"),g=o("fc+c"),p=o("OELB"),c=o("+TT/"),h=o("72pK"),l=A.Rect,e=p.linearMap,n=p.asc,i=w.bind,r=w.each,a=7,t=1,s=30,u="horizontal",d="vertical",v=5,y=["line","bar","candlestick","scatter"],S=g.extend({type:"dataZoom.slider",init:function(T,x){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=x},render:function(T,x,_,I){if(S.superApply(this,"render",arguments),m.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=T.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!I||I.type!=="dataZoom"||I.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){S.superApply(this,"remove",arguments),m.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),m.clear(this,"_dispatchZoomAction")},_buildView:function(){var T=this.group;T.removeAll(),this._resetLocation(),this._resetInterval();var x=this._displayables.barGroup=new A.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),T.add(x),this._positionGroup()},_resetLocation:function(){var T=this.dataZoomModel,x=this.api,_=this._findCoordRect(),I={width:x.getWidth(),height:x.getHeight()},L=this._orient===u?{right:I.width-_.x-_.width,top:I.height-s-a,width:_.width,height:s}:{right:a,top:_.y,width:s,height:_.height},R=c.getLayoutParams(T.option);w.each(["right","top","width","height"],function(F){R[F]==="ph"&&(R[F]=L[F])});var k=c.getLayoutRect(R,I,T.padding);this._location={x:k.x,y:k.y},this._size=[k.width,k.height],this._orient===d&&this._size.reverse()},_positionGroup:function(){var T=this.group,x=this._location,_=this._orient,I=this.dataZoomModel.getFirstTargetAxisModel(),L=I&&I.get("inverse"),R=this._displayables.barGroup,k=(this._dataShadowInfo||{}).otherAxisInverse;R.attr(_===u&&!L?{scale:k?[1,1]:[1,-1]}:_===u&&L?{scale:k?[-1,1]:[-1,-1]}:_===d&&!L?{scale:k?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:k?[-1,-1]:[-1,1],rotation:Math.PI/2});var F=T.getBoundingRect([R]);T.attr("position",[x.x-F.x,x.y-F.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var T=this.dataZoomModel,x=this._size,_=this._displayables.barGroup;_.add(new l({silent:!0,shape:{x:0,y:0,width:x[0],height:x[1]},style:{fill:T.get("backgroundColor")},z2:-40})),_.add(new l({shape:{x:0,y:0,width:x[0],height:x[1]},style:{fill:"transparent"},z2:0,onclick:w.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var T=this._dataShadowInfo=this._prepareDataShadowInfo();if(!T)return;var x=this._size,_=T.series,I=_.getRawData(),L=_.getShadowDim?_.getShadowDim():T.otherDim;if(L==null)return;var R=I.getDataExtent(L),k=(R[1]-R[0])*.3;R=[R[0]-k,R[1]+k];var F=[0,x[1]],P=[0,x[0]],W=[[x[0],0],[0,0]],D=[],U=P[1]/(I.count()-1),H=0,j=Math.round(I.count()/x[0]),K;I.each([L],function(z,Y){if(j>0&&Y%j){H+=U;return}var $=z==null||isNaN(z)||z==="",ne=$?0:e(z,R,F,!0);$&&!K&&Y?(W.push([W[W.length-1][0],0]),D.push([D[D.length-1][0],0])):!$&&K&&(W.push([H,0]),D.push([H,0])),W.push([H,ne]),D.push([H,ne]),H+=U,K=$});var X=this.dataZoomModel;this._displayables.barGroup.add(new A.Polygon({shape:{points:W},style:w.defaults({fill:X.get("dataBackgroundColor")},X.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new A.Polyline({shape:{points:D},style:X.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var T=this.dataZoomModel,x=T.get("showDataShadow");if(x===!1)return;var _,I=this.ecModel;return T.eachTargetAxis(function(L,R){var k=T.getAxisProxy(L.name,R).getTargetSeriesModels();w.each(k,function(F){if(_)return;if(x!==!0&&w.indexOf(y,F.get("type"))<0)return;var P=I.getComponent(L.axis,R).axis,W=b(L.name),D,U=F.coordinateSystem;W!=null&&U.getOtherAxis&&(D=U.getOtherAxis(P).inverse),W=F.getData().mapDimension(W),_={thisAxis:P,series:F,thisDim:L.name,otherDim:W,otherAxisInverse:D}},this)},this),_},_renderHandle:function(){var T=this._displayables,x=T.handles=[],_=T.handleLabels=[],I=this._displayables.barGroup,L=this._size,R=this.dataZoomModel;I.add(T.filler=new l({draggable:!0,cursor:E(this._orient),drift:i(this._onDragMove,this,"all"),ondragstart:i(this._showDataInfo,this,!0),ondragend:i(this._onDragEnd,this),onmouseover:i(this._showDataInfo,this,!0),onmouseout:i(this._showDataInfo,this,!1),style:{fill:R.get("fillerColor"),textPosition:"inside"}})),I.add(new l({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:L[0],height:L[1]},style:{stroke:R.get("dataBackgroundColor")||R.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),r([0,1],function(k){var F=A.createIcon(R.get("handleIcon"),{cursor:E(this._orient),draggable:!0,drift:i(this._onDragMove,this,k),ondragend:i(this._onDragEnd,this),onmouseover:i(this._showDataInfo,this,!0),onmouseout:i(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),P=F.getBoundingRect();this._handleHeight=p.parsePercent(R.get("handleSize"),this._size[1]),this._handleWidth=P.width/P.height*this._handleHeight,F.setStyle(R.getModel("handleStyle").getItemStyle());var W=R.get("handleColor");W!=null&&(F.style.fill=W),I.add(x[k]=F);var D=R.textStyleModel;this.group.add(_[k]=new A.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:D.getTextColor(),textFont:D.getFont()},z2:10}))},this)},_resetInterval:function(){var T=this._range=this.dataZoomModel.getPercentRange(),x=this._getViewExtent();this._handleEnds=[e(T[0],[0,100],x,!0),e(T[1],[0,100],x,!0)]},_updateInterval:function(T,x){var _=this.dataZoomModel,I=this._handleEnds,L=this._getViewExtent(),R=_.findRepresentativeAxisProxy().getMinMaxSpan(),k=[0,100];h(x,I,L,_.get("zoomLock")?"all":T,R.minSpan!=null?e(R.minSpan,k,L,!0):null,R.maxSpan!=null?e(R.maxSpan,k,L,!0):null);var F=this._range,P=this._range=n([e(I[0],L,k,!0),e(I[1],L,k,!0)]);return!F||F[0]!==P[0]||F[1]!==P[1]},_updateView:function(T){var x=this._displayables,_=this._handleEnds,I=n(_.slice()),L=this._size;r([0,1],function(R){var k=x.handles[R],F=this._handleHeight;k.attr({scale:[F/2,F/2],position:[_[R],L[1]/2-F/2]})},this),x.filler.setShape({x:I[0],y:0,width:I[1]-I[0],height:L[1]}),this._updateDataInfo(T)},_updateDataInfo:function(T){var x=this.dataZoomModel,_=this._displayables,I=_.handleLabels,L=this._orient,R=["",""];if(x.get("showDetail")){var k=x.findRepresentativeAxisProxy();if(k){var F=k.getAxisModel().axis,P=this._range,W=T?k.calculateDataWindow({start:P[0],end:P[1]}).valueWindow:k.getDataValueWindow();R=[this._formatLabel(W[0],F),this._formatLabel(W[1],F)]}}var D=n(this._handleEnds.slice());U.call(this,0),U.call(this,1);function U(H){var j=A.getTransform(_.handles[H].parent,this.group),K=A.transformDirection(H===0?"right":"left",j),X=this._handleWidth/2+v,z=A.applyTransform([D[H]+(H===0?-X:X),this._size[1]/2],j);I[H].setStyle({x:z[0],y:z[1],textVerticalAlign:L===u?"middle":K,textAlign:L===u?K:"center",text:R[H]})}},_formatLabel:function(T,x){var _=this.dataZoomModel,I=_.get("labelFormatter"),L=_.get("labelPrecision");(L==null||L==="auto")&&(L=x.getPixelPrecision());var R=T==null||isNaN(T)?"":x.type==="category"||x.type==="time"?x.scale.getLabel(Math.round(T)):T.toFixed(Math.min(L,20));return w.isFunction(I)?I(T,R):w.isString(I)?I.replace("{value}",R):R},_showDataInfo:function(T){T=this._dragging||T;var x=this._displayables.handleLabels;x[0].attr("invisible",!T),x[1].attr("invisible",!T)},_onDragMove:function(T,x,_,I){this._dragging=!0,f.stop(I.event);var L=this._displayables.barGroup.getLocalTransform(),R=A.applyTransform([x,_],L,!0),k=this._updateInterval(T,R[0]),F=this.dataZoomModel.get("realtime");this._updateView(!F),k&&F&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var T=this.dataZoomModel.get("realtime");!T&&this._dispatchZoomAction()},_onClickPanelClick:function(T){var x=this._size,_=this._displayables.barGroup.transformCoordToLocal(T.offsetX,T.offsetY);if(_[0]<0||_[0]>x[0]||_[1]<0||_[1]>x[1])return;var I=this._handleEnds,L=(I[0]+I[1])/2,R=this._updateInterval("all",_[0]-L);this._updateView(),R&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var T=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:T[0],end:T[1]})},_findCoordRect:function(){var T;if(r(this.getTargetCoordInfo(),function(I){if(!T&&I.length){var L=I[0].model.coordinateSystem;T=L.getRect&&L.getRect()}}),!T){var x=this.api.getWidth(),_=this.api.getHeight();T={x:x*.2,y:_*.2,width:x*.6,height:_*.6}}return T}});function b(T){var x={x:"y",y:"x",radius:"angle",angle:"radius"};return x[T]}function E(T){return T==="vertical"?"ns-resize":"ew-resize"}var C=S;M.exports=C},J66h:function(M,B,o){(function(w){var f,A;(function(m,g){M.exports=g(m)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof w!="undefined"?w:this,function(m){"use strict";m=m||{};var g=m.Base64,p="2.6.4",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=function(F){for(var P={},W=0,D=F.length;W<D;W++)P[F.charAt(W)]=W;return P}(c),l=String.fromCharCode,e=function(P){if(P.length<2){var W=P.charCodeAt(0);return W<128?P:W<2048?l(192|W>>>6)+l(128|W&63):l(224|W>>>12&15)+l(128|W>>>6&63)+l(128|W&63)}else{var W=65536+(P.charCodeAt(0)-55296)*1024+(P.charCodeAt(1)-56320);return l(240|W>>>18&7)+l(128|W>>>12&63)+l(128|W>>>6&63)+l(128|W&63)}},n=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,i=function(P){return P.replace(n,e)},r=function(P){var W=[0,2,1][P.length%3],D=P.charCodeAt(0)<<16|(P.length>1?P.charCodeAt(1):0)<<8|(P.length>2?P.charCodeAt(2):0),U=[c.charAt(D>>>18),c.charAt(D>>>12&63),W>=2?"=":c.charAt(D>>>6&63),W>=1?"=":c.charAt(D&63)];return U.join("")},a=m.btoa&&typeof m.btoa=="function"?function(F){return m.btoa(F)}:function(F){if(F.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return F.replace(/[\s\S]{1,3}/g,r)},t=function(P){return a(i(String(P)))},s=function(P){return P.replace(/[+\/]/g,function(W){return W=="+"?"-":"_"}).replace(/=/g,"")},u=function(P,W){return W?s(t(P)):t(P)},d=function(P){return u(P,!0)},v;m.Uint8Array&&(v=function(P,W){for(var D="",U=0,H=P.length;U<H;U+=3){var j=P[U],K=P[U+1],X=P[U+2],z=j<<16|K<<8|X;D+=c.charAt(z>>>18)+c.charAt(z>>>12&63)+(typeof K!="undefined"?c.charAt(z>>>6&63):"=")+(typeof X!="undefined"?c.charAt(z&63):"=")}return W?s(D):D});var y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,S=function(P){switch(P.length){case 4:var W=(7&P.charCodeAt(0))<<18|(63&P.charCodeAt(1))<<12|(63&P.charCodeAt(2))<<6|63&P.charCodeAt(3),D=W-65536;return l((D>>>10)+55296)+l((D&1023)+56320);case 3:return l((15&P.charCodeAt(0))<<12|(63&P.charCodeAt(1))<<6|63&P.charCodeAt(2));default:return l((31&P.charCodeAt(0))<<6|63&P.charCodeAt(1))}},b=function(P){return P.replace(y,S)},E=function(P){var W=P.length,D=W%4,U=(W>0?h[P.charAt(0)]<<18:0)|(W>1?h[P.charAt(1)]<<12:0)|(W>2?h[P.charAt(2)]<<6:0)|(W>3?h[P.charAt(3)]:0),H=[l(U>>>16),l(U>>>8&255),l(U&255)];return H.length-=[0,0,2,1][D],H.join("")},C=m.atob&&typeof m.atob=="function"?function(F){return m.atob(F)}:function(F){return F.replace(/\S{1,4}/g,E)},T=function(P){return C(String(P).replace(/[^A-Za-z0-9\+\/]/g,""))},x=function(P){return b(C(P))},_=function(P){return String(P).replace(/[-_]/g,function(W){return W=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},I=function(P){return x(_(P))},L;m.Uint8Array&&(L=function(P){return Uint8Array.from(T(_(P)),function(W){return W.charCodeAt(0)})});var R=function(){var P=m.Base64;return m.Base64=g,P};if(m.Base64={VERSION:p,atob:T,btoa:a,fromBase64:I,toBase64:u,utob:i,encode:u,encodeURI:d,btou:b,decode:I,noConflict:R,fromUint8Array:v,toUint8Array:L},typeof Object.defineProperty=="function"){var k=function(P){return{value:P,enumerable:!1,writable:!0,configurable:!0}};m.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",k(function(){return I(this)})),Object.defineProperty(String.prototype,"toBase64",k(function(F){return u(this,F)})),Object.defineProperty(String.prototype,"toBase64URI",k(function(){return u(this,!0)}))}}return m.Meteor&&(Base64=m.Base64),M.exports?M.exports.Base64=m.Base64:!(f=[],A=function(){return m.Base64}.apply(B,f),A!==void 0&&(M.exports=A)),{Base64:m.Base64}})}).call(this,o("yLpj"))},JEkh:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("ProS"),m=o("bYtY"),g=o("ItGF"),p=o("4NO4"),c=o("7aKB"),h=o("OKJ2"),l=c.addCommas,e=c.encodeHTML;function n(a){p.defaultEmphasis(a,"label",["show"])}var i=A.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(a,t,s){this.mergeDefaultAndTheme(a,s),this._mergeOption(a,s,!1,!0)},isAnimationEnabled:function(){if(g.node)return!1;var a=this.__hostSeries;return this.getShallow("animation")&&a&&a.isAnimationEnabled()},mergeOption:function(a,t){this._mergeOption(a,t,!1,!1)},_mergeOption:function(a,t,s,u){var d=this.constructor,v=this.mainType+"Model";s||t.eachSeries(function(y){var S=y.get(this.mainType,!0),b=y[v];if(!S||!S.data){y[v]=null;return}b?b._mergeOption(S,t,!0):(u&&n(S),m.each(S.data,function(E){E instanceof Array?(n(E[0]),n(E[1])):n(E)}),b=new d(S,this,t),m.extend(b,{mainType:this.mainType,seriesIndex:y.seriesIndex,name:y.name,createdBySelf:!0}),b.__hostSeries=y),y[v]=b},this)},formatTooltip:function(a){var t=this.getData(),s=this.getRawValue(a),u=m.isArray(s)?m.map(s,l).join(", "):l(s),d=t.getName(a),v=e(this.name);return(s!=null||d)&&(v+="<br />"),d&&(v+=e(d),s!=null&&(v+=" : ")),s!=null&&(v+=e(u)),v},getData:function(){return this._data},setData:function(a){this._data=a}});m.mixin(i,h);var r=i;M.exports=r},JLnu:function(M,B,o){var w=o("+TT/"),f=o("OELB"),A=f.parsePercent,m=f.linearMap;function g(l,e){return w.getLayoutRect(l.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function p(l,e){for(var n=l.mapDimension("value"),i=l.mapArray(n,function(u){return u}),r=[],a=e==="ascending",t=0,s=l.count();t<s;t++)r[t]=t;return typeof e=="function"?r.sort(e):e!=="none"&&r.sort(function(u,d){return a?i[u]-i[d]:i[d]-i[u]}),r}function c(l){l.each(function(e){var n=l.getItemModel(e),i=n.getModel("label"),r=i.get("position"),a=n.getModel("labelLine"),t=l.getItemLayout(e),s=t.points,u=r==="inner"||r==="inside"||r==="center"||r==="insideLeft"||r==="insideRight",d,v,y,S;if(u)r==="insideLeft"?(v=(s[0][0]+s[3][0])/2+5,y=(s[0][1]+s[3][1])/2,d="left"):r==="insideRight"?(v=(s[1][0]+s[2][0])/2-5,y=(s[1][1]+s[2][1])/2,d="right"):(v=(s[0][0]+s[1][0]+s[2][0]+s[3][0])/4,y=(s[0][1]+s[1][1]+s[2][1]+s[3][1])/4,d="center"),S=[[v,y],[v,y]];else{var b,E,C,T=a.get("length");r==="left"?(b=(s[3][0]+s[0][0])/2,E=(s[3][1]+s[0][1])/2,C=b-T,v=C-5,d="right"):r==="right"?(b=(s[1][0]+s[2][0])/2,E=(s[1][1]+s[2][1])/2,C=b+T,v=C+5,d="left"):r==="rightTop"?(b=s[1][0],E=s[1][1],C=b+T,v=C+5,d="top"):r==="rightBottom"?(b=s[2][0],E=s[2][1],C=b+T,v=C+5,d="bottom"):r==="leftTop"?(b=s[0][0],E=s[1][1],C=b-T,v=C-5,d="right"):r==="leftBottom"?(b=s[3][0],E=s[2][1],C=b-T,v=C-5,d="right"):(b=(s[1][0]+s[2][0])/2,E=(s[1][1]+s[2][1])/2,C=b+T,v=C+5,d="left");var x=E;S=[[b,E],[C,x]],y=x}t.label={linePoints:S,x:v,y,verticalAlign:"middle",textAlign:d,inside:u}})}function h(l,e,n){l.eachSeriesByType("funnel",function(i){var r=i.getData(),a=r.mapDimension("value"),t=i.get("sort"),s=g(i,e),u=p(r,t),d=[A(i.get("minSize"),s.width),A(i.get("maxSize"),s.width)],v=r.getDataExtent(a),y=i.get("min"),S=i.get("max");y==null&&(y=Math.min(v[0],0)),S==null&&(S=v[1]);var b=i.get("funnelAlign"),E=i.get("gap"),C=(s.height-E*(r.count()-1))/r.count(),T=s.y,x=function(W,D){var U=r.get(a,W)||0,H=m(U,[y,S],d,!0),j;switch(b){case"left":j=s.x;break;case"center":j=s.x+(s.width-H)/2;break;case"right":j=s.x+s.width-H;break}return[[j,D],[j+H,D]]};t==="ascending"&&(C=-C,E=-E,T+=s.height,u=u.reverse());for(var _=0;_<u.length;_++){var I=u[_],L=u[_+1],R=r.getItemModel(I),k=R.get("itemStyle.height");k==null?k=C:(k=A(k,s.height),t==="ascending"&&(k=-k));var F=x(I,T),P=x(L,T+k);T+=k+E,r.setItemLayout(I,{points:F.concat(P.slice().reverse())})}c(r)})}M.exports=h},JNlW:function(M,B,o){},JSwD:function(M,B,o){"use strict";function w(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(d){return typeof d}:w=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},w(s)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=t;var f=m(o("6BzB"));function A(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return A=function(){return s},s}function m(s){if(s&&s.__esModule)return s;if(s===null||w(s)!=="object"&&typeof s!="function")return{default:s};var u=A();if(u&&u.has(s))return u.get(s);var d={},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in s)if(Object.prototype.hasOwnProperty.call(s,y)){var S=v?Object.getOwnPropertyDescriptor(s,y):null;S&&(S.get||S.set)?Object.defineProperty(d,y,S):d[y]=s[y]}return d.default=s,u&&u.set(s,d),d}var g=15,p=852,c=592,h=0,l=1,e=2,n=[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],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],r=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],a=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function t(s,u,d,v,y,S,b,E){var C=E.bits,T=0,x=0,_=0,I=0,L=0,R=0,k=0,F=0,P=0,W=0,D,U,H,j,K,X=null,z=0,Y,$=new f.Buf16(g+1),ne=new f.Buf16(g+1),J=null,ge=0,de,Ie,be;for(T=0;T<=g;T++)$[T]=0;for(x=0;x<v;x++)$[u[d+x]]++;for(L=C,I=g;I>=1&&!($[I]!==0);I--);if(L>I&&(L=I),I===0)return y[S++]=1<<24|64<<16|0,y[S++]=1<<24|64<<16|0,E.bits=1,0;for(_=1;_<I&&!($[_]!==0);_++);for(L<_&&(L=_),F=1,T=1;T<=g;T++)if(F<<=1,F-=$[T],F<0)return-1;if(F>0&&(s===h||I!==1))return-1;for(ne[1]=0,T=1;T<g;T++)ne[T+1]=ne[T]+$[T];for(x=0;x<v;x++)u[d+x]!==0&&(b[ne[u[d+x]]++]=x);if(s===h?(X=J=b,Y=19):s===l?(X=n,z-=257,J=i,ge-=257,Y=256):(X=r,J=a,Y=-1),W=0,x=0,T=_,K=S,R=L,k=0,H=-1,P=1<<L,j=P-1,s===l&&P>p||s===e&&P>c)return 1;for(;;){de=T-k,b[x]<Y?(Ie=0,be=b[x]):b[x]>Y?(Ie=J[ge+b[x]],be=X[z+b[x]]):(Ie=32+64,be=0),D=1<<T-k,U=1<<R,_=U;do U-=D,y[K+(W>>k)+U]=de<<24|Ie<<16|be|0;while(U!==0);for(D=1<<T-1;W&D;)D>>=1;if(D!==0?(W&=D-1,W+=D):W=0,x++,--$[T]===0){if(T===I)break;T=u[d+b[x]]}if(T>L&&(W&j)!==H){for(k===0&&(k=L),K+=_,R=T-k,F=1<<R;R+k<I&&!(F-=$[R+k],F<=0);)R++,F<<=1;if(P+=1<<R,s===l&&P>p||s===e&&P>c)return 1;H=W&j,y[H]=L<<24|R<<16|K-S|0}}return W!==0&&(y[K+W]=T-k<<24|64<<16|0),E.bits=L,0}},JVwQ:function(M,B,o){var w=o("ProS"),f=o("1NG9"),A=f.Polygon,m=o("IwbS"),g=o("bYtY"),p=g.bind,c=g.extend,h=o("gPAo"),l=w.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(n,i,r){var a=n.getData(),t=this.group,s=n.getLayerSeries(),u=a.getLayout("layoutInfo"),d=u.rect,v=u.boundaryGap;t.attr("position",[0,d.y+v[0]]);function y(C){return C.name}var S=new h(this._layersSeries||[],s,y,y),b={};S.add(p(E,this,"add")).update(p(E,this,"update")).remove(p(E,this,"remove")).execute();function E(C,T,x){var _=this._layers;if(C==="remove"){t.remove(_[T]);return}for(var I=[],L=[],R,k=s[T].indices,F=0;F<k.length;F++){var P=a.getItemLayout(k[F]),W=P.x,D=P.y0,U=P.y;I.push([W,D]),L.push([W,D+U]),R=a.getItemVisual(k[F],"color")}var H,j,K=a.getItemLayout(k[0]),X=a.getItemModel(k[F-1]),z=X.getModel("label"),Y=z.get("margin");if(C==="add"){var $=b[T]=new m.Group;H=new A({shape:{points:I,stackedOnPoints:L,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),j=new m.Text({style:{x:K.x-Y,y:K.y0+K.y/2}}),$.add(H),$.add(j),t.add($),H.setClipPath(e(H.getBoundingRect(),n,function(){H.removeClipPath()}))}else{var $=_[x];H=$.childAt(0),j=$.childAt(1),t.add($),b[T]=$,m.updateProps(H,{shape:{points:I,stackedOnPoints:L}},n),m.updateProps(j,{style:{x:K.x-Y,y:K.y0+K.y/2}},n)}var ne=X.getModel("emphasis.itemStyle"),J=X.getModel("itemStyle");m.setTextStyle(j.style,z,{text:z.get("show")?n.getFormattedLabel(k[F-1],"normal")||a.getName(k[F-1]):null,textVerticalAlign:"middle"}),H.setStyle(c({fill:R},J.getItemStyle(["color"]))),m.setHoverStyle(H,ne.getItemStyle())}this._layersSeries=s,this._layers=b},dispose:function(){}});function e(n,i,r){var a=new m.Rect({shape:{x:n.x-10,y:n.y-10,width:0,height:n.height+20}});return m.initProps(a,{shape:{width:n.width+20,height:n.height+20}},i,r),a}M.exports=l},JZiQ:function(M,B,o){},JuEJ:function(M,B,o){var w=o("bYtY"),f=o("4NO4"),A=w.each,m=w.isObject,g=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function p(t){var s=t&&t.itemStyle;if(!s)return;for(var u=0,d=g.length;u<d;u++){var v=g[u],y=s.normal,S=s.emphasis;y&&y[v]&&(t[v]=t[v]||{},t[v].normal?w.merge(t[v].normal,y[v]):t[v].normal=y[v],y[v]=null),S&&S[v]&&(t[v]=t[v]||{},t[v].emphasis?w.merge(t[v].emphasis,S[v]):t[v].emphasis=S[v],S[v]=null)}}function c(t,s,u){if(t&&t[s]&&(t[s].normal||t[s].emphasis)){var d=t[s].normal,v=t[s].emphasis;d&&(u?(t[s].normal=t[s].emphasis=null,w.defaults(t[s],d)):t[s]=d),v&&(t.emphasis=t.emphasis||{},t.emphasis[s]=v)}}function h(t){c(t,"itemStyle"),c(t,"lineStyle"),c(t,"areaStyle"),c(t,"label"),c(t,"labelLine"),c(t,"upperLabel"),c(t,"edgeLabel")}function l(t,s){var u=m(t)&&t[s],d=m(u)&&u.textStyle;if(d)for(var v=0,y=f.TEXT_STYLE_OPTIONS.length;v<y;v++){var s=f.TEXT_STYLE_OPTIONS[v];d.hasOwnProperty(s)&&(u[s]=d[s])}}function e(t){t&&(h(t),l(t,"label"),t.emphasis&&l(t.emphasis,"label"))}function n(t){if(!m(t))return;p(t),h(t),l(t,"label"),l(t,"upperLabel"),l(t,"edgeLabel"),t.emphasis&&(l(t.emphasis,"label"),l(t.emphasis,"upperLabel"),l(t.emphasis,"edgeLabel"));var s=t.markPoint;s&&(p(s),e(s));var u=t.markLine;u&&(p(u),e(u));var d=t.markArea;d&&e(d);var v=t.data;if(t.type==="graph"){v=v||t.nodes;var y=t.links||t.edges;if(y&&!w.isTypedArray(y))for(var S=0;S<y.length;S++)e(y[S]);w.each(t.categories,function(C){h(C)})}if(v&&!w.isTypedArray(v))for(var S=0;S<v.length;S++)e(v[S]);var s=t.markPoint;if(s&&s.data)for(var b=s.data,S=0;S<b.length;S++)e(b[S]);var u=t.markLine;if(u&&u.data)for(var E=u.data,S=0;S<E.length;S++)w.isArray(E[S])?(e(E[S][0]),e(E[S][1])):e(E[S]);t.type==="gauge"?(l(t,"axisLabel"),l(t,"title"),l(t,"detail")):t.type==="treemap"?(c(t.breadcrumb,"itemStyle"),w.each(t.levels,function(C){h(C)})):t.type==="tree"&&h(t.leaves)}function i(t){return w.isArray(t)?t:t?[t]:[]}function r(t){return(w.isArray(t)?t[0]:t)||{}}function a(t,s){A(i(t.series),function(d){m(d)&&n(d)});var u=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];s&&u.push("valueAxis","categoryAxis","logAxis","timeAxis"),A(u,function(d){A(i(t[d]),function(v){v&&(l(v,"axisLabel"),l(v.axisPointer,"label"))})}),A(i(t.parallel),function(d){var v=d&&d.parallelAxisDefault;l(v,"axisLabel"),l(v&&v.axisPointer,"label")}),A(i(t.calendar),function(d){c(d,"itemStyle"),l(d,"dayLabel"),l(d,"monthLabel"),l(d,"yearLabel")}),A(i(t.radar),function(d){l(d,"name")}),A(i(t.geo),function(d){m(d)&&(e(d),A(i(d.regions),function(v){e(v)}))}),A(i(t.timeline),function(d){e(d),c(d,"label"),c(d,"itemStyle"),c(d,"controlStyle",!0);var v=d.data;w.isArray(v)&&w.each(v,function(y){w.isObject(y)&&(c(y,"label"),c(y,"itemStyle"))})}),A(i(t.toolbox),function(d){c(d,"iconStyle"),A(d.feature,function(v){c(v,"iconStyle")})}),l(r(t.axisPointer),"label"),l(r(t.tooltip).axisPointer,"label")}M.exports=a},"Jw/g":function(M,B,o){"use strict";var w=o("U8pU"),f=o("rePB"),A=o("ODXe"),m=o("wx14"),g=o("q1tI"),p=o("TSYQ"),c=o.n(p),h=o("bT9E"),l=o("VTBJ"),e=o("KQm4"),n=o("x/xZ"),i=o("Gytx"),r=o.n(i),a=o("Kwbf"),t=o("t23M"),s=o("qx4F");function u(Yt){return null}var d=u;function v(Yt){return null}var y=v,S=o("Ff2n"),b=o("c+Xe"),E="RC_TABLE_KEY";function C(Yt){return Yt==null?[]:Array.isArray(Yt)?Yt:[Yt]}function T(Yt,Ir){if(!Ir&&typeof Ir!="number")return Yt;for(var Zr=C(Ir),He=Yt,gt=0;gt<Zr.length;gt+=1){if(!He)return null;var Xt=Zr[gt];He=He[Xt]}return He}function x(Yt){var Ir=[],Zr={};return Yt.forEach(function(He){for(var gt=He||{},Xt=gt.key,zt=gt.dataIndex,vr=Xt||C(zt).join("-")||E;Zr[vr];)vr="".concat(vr,"_next");Zr[vr]=!0,Ir.push(vr)}),Ir}function _(){var Yt={};function Ir(Xt,zt){zt&&Object.keys(zt).forEach(function(vr){var or=zt[vr];or&&Object(w.a)(or)==="object"?(Xt[vr]=Xt[vr]||{},Ir(Xt[vr],or)):Xt[vr]=or})}for(var Zr=arguments.length,He=new Array(Zr),gt=0;gt<Zr;gt++)He[gt]=arguments[gt];return He.forEach(function(Xt){Ir(Yt,Xt)}),Yt}function I(Yt){return Yt!=null}var L=["colSpan","rowSpan","style","className"];function R(Yt){return Yt&&Object(w.a)(Yt)==="object"&&!Array.isArray(Yt)&&!g.isValidElement(Yt)}function k(Yt){return typeof Yt=="string"?!0:Object(b.c)(Yt)}function F(Yt,Ir){var Zr,He=Yt.prefixCls,gt=Yt.className,Xt=Yt.record,zt=Yt.index,vr=Yt.dataIndex,or=Yt.render,Vr=Yt.children,Kr=Yt.component,Dr=Kr===void 0?"td":Kr,dn=Yt.colSpan,on=Yt.rowSpan,Cn=Yt.fixLeft,sn=Yt.fixRight,an=Yt.firstFixLeft,Yr=Yt.lastFixLeft,fn=Yt.firstFixRight,vn=Yt.lastFixRight,Ln=Yt.appendNode,oi=Yt.additionalProps,si=oi===void 0?{}:oi,Ni=Yt.ellipsis,qn=Yt.align,Pn=Yt.rowType,Bi=Yt.isSticky,ci="".concat(He,"-cell"),wi,fi;if(Vr)fi=Vr;else{var ki=T(Xt,vr);if(fi=ki,or){var fa=or(ki,Xt,zt);R(fa)?(fi=fa.children,wi=fa.props):fi=fa}}Object(w.a)(fi)==="object"&&!Array.isArray(fi)&&!g.isValidElement(fi)&&(fi=null),Ni&&(Yr||fn)&&(fi=g.createElement("span",{className:"".concat(ci,"-content")},fi));var zi=wi||{},ma=zi.colSpan,aa=zi.rowSpan,ya=zi.style,Ea=zi.className,ca=Object(S.a)(zi,L),ka=ma!==void 0?ma:dn,wa=aa!==void 0?aa:on;if(ka===0||wa===0)return null;var _i={},xi=typeof Cn=="number",ji=typeof sn=="number";xi&&(_i.position="sticky",_i.left=Cn),ji&&(_i.position="sticky",_i.right=sn);var Zi={};qn&&(Zi.textAlign=qn);var Si,Hi=Ni===!0?{showTitle:!0}:Ni;Hi&&(Hi.showTitle||Pn==="header")&&(typeof fi=="string"||typeof fi=="number"?Si=fi.toString():g.isValidElement(fi)&&typeof fi.props.children=="string"&&(Si=fi.props.children));var Oa=Object(l.a)(Object(l.a)(Object(l.a)({title:Si},ca),si),{},{colSpan:ka&&ka!==1?ka:null,rowSpan:wa&&wa!==1?wa:null,className:c()(ci,gt,(Zr={},Object(f.a)(Zr,"".concat(ci,"-fix-left"),xi),Object(f.a)(Zr,"".concat(ci,"-fix-left-first"),an),Object(f.a)(Zr,"".concat(ci,"-fix-left-last"),Yr),Object(f.a)(Zr,"".concat(ci,"-fix-right"),ji),Object(f.a)(Zr,"".concat(ci,"-fix-right-first"),fn),Object(f.a)(Zr,"".concat(ci,"-fix-right-last"),vn),Object(f.a)(Zr,"".concat(ci,"-ellipsis"),Ni),Object(f.a)(Zr,"".concat(ci,"-with-append"),Ln),Object(f.a)(Zr,"".concat(ci,"-fix-sticky"),(xi||ji)&&Bi),Zr),si.className,Ea),style:Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},si.style),Zi),_i),ya),ref:k(Dr)?Ir:null});return g.createElement(Dr,Oa,Ln,fi)}var P=g.forwardRef(F);P.displayName="Cell";var W=g.memo(P,function(Yt,Ir){return Ir.shouldCellUpdate?!Ir.shouldCellUpdate(Ir.record,Yt.record):!1}),D=W,U=g.createContext(null),H=U;function j(Yt,Ir,Zr,He,gt){var Xt=Zr[Yt]||{},zt=Zr[Ir]||{},vr,or;Xt.fixed==="left"?vr=He.left[Yt]:zt.fixed==="right"&&(or=He.right[Ir]);var Vr=!1,Kr=!1,Dr=!1,dn=!1,on=Zr[Ir+1],Cn=Zr[Yt-1];if(gt==="rtl"){if(vr!==void 0){var sn=Cn&&Cn.fixed==="left";dn=!sn}else if(or!==void 0){var an=on&&on.fixed==="right";Dr=!an}}else if(vr!==void 0){var Yr=on&&on.fixed==="left";Vr=!Yr}else if(or!==void 0){var fn=Cn&&Cn.fixed==="right";Kr=!fn}return{fixLeft:vr,fixRight:or,lastFixLeft:Vr,firstFixRight:Kr,lastFixRight:Dr,firstFixLeft:dn,isSticky:He.isSticky}}function K(Yt){var Ir=Yt.cells,Zr=Yt.stickyOffsets,He=Yt.flattenColumns,gt=Yt.rowComponent,Xt=Yt.cellComponent,zt=Yt.onHeaderRow,vr=Yt.index,or=g.useContext(H),Vr=or.prefixCls,Kr=or.direction,Dr;zt&&(Dr=zt(Ir.map(function(on){return on.column}),vr));var dn=x(Ir.map(function(on){return on.column}));return g.createElement(gt,Dr,Ir.map(function(on,Cn){var sn=on.column,an=j(on.colStart,on.colEnd,He,Zr,Kr),Yr;return sn&&sn.onHeaderCell&&(Yr=on.column.onHeaderCell(sn)),g.createElement(D,Object(m.a)({},on,{ellipsis:sn.ellipsis,align:sn.align,component:Xt,prefixCls:Vr,key:dn[Cn]},an,{additionalProps:Yr,rowType:"header"}))}))}K.displayName="HeaderRow";var X=K;function z(Yt){var Ir=[];function Zr(zt,vr){var or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ir[or]=Ir[or]||[];var Vr=vr,Kr=zt.filter(Boolean).map(function(Dr){var dn={key:Dr.key,className:Dr.className||"",children:Dr.title,column:Dr,colStart:Vr},on=1,Cn=Dr.children;return Cn&&Cn.length>0&&(on=Zr(Cn,Vr,or+1).reduce(function(sn,an){return sn+an},0),dn.hasSubColumns=!0),"colSpan"in Dr&&(on=Dr.colSpan),"rowSpan"in Dr&&(dn.rowSpan=Dr.rowSpan),dn.colSpan=on,dn.colEnd=dn.colStart+on-1,Ir[or].push(dn),Vr+=on,on});return Kr}Zr(Yt,0);for(var He=Ir.length,gt=function(vr){Ir[vr].forEach(function(or){!("rowSpan"in or)&&!or.hasSubColumns&&(or.rowSpan=He-vr)})},Xt=0;Xt<He;Xt+=1)gt(Xt);return Ir}function Y(Yt){var Ir=Yt.stickyOffsets,Zr=Yt.columns,He=Yt.flattenColumns,gt=Yt.onHeaderRow,Xt=g.useContext(H),zt=Xt.prefixCls,vr=Xt.getComponent,or=g.useMemo(function(){return z(Zr)},[Zr]),Vr=vr(["header","wrapper"],"thead"),Kr=vr(["header","row"],"tr"),Dr=vr(["header","cell"],"th");return g.createElement(Vr,{className:"".concat(zt,"-thead")},or.map(function(dn,on){var Cn=g.createElement(X,{key:on,flattenColumns:He,cells:dn,stickyOffsets:Ir,rowComponent:Kr,cellComponent:Dr,onHeaderRow:gt,index:on});return Cn}))}var $=Y,ne=g.createContext(null),J=ne;function ge(Yt){var Ir=Yt.prefixCls,Zr=Yt.children,He=Yt.component,gt=Yt.cellComponent,Xt=Yt.fixHeader,zt=Yt.fixColumn,vr=Yt.horizonScroll,or=Yt.className,Vr=Yt.expanded,Kr=Yt.componentWidth,Dr=Yt.colSpan,dn=g.useContext(H),on=dn.scrollbarSize;return g.useMemo(function(){var Cn=Zr;return zt&&(Cn=g.createElement("div",{style:{width:Kr-(Xt?on:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Ir,"-expanded-row-fixed")},Cn)),g.createElement(He,{className:or,style:{display:Vr?null:"none"}},g.createElement(D,{component:gt,prefixCls:Ir,colSpan:Dr},Cn))},[Zr,He,Xt,vr,or,Vr,Kr,Dr,on])}var de=ge;function Ie(Yt){var Ir=Yt.className,Zr=Yt.style,He=Yt.record,gt=Yt.index,Xt=Yt.rowKey,zt=Yt.getRowKey,vr=Yt.rowExpandable,or=Yt.expandedKeys,Vr=Yt.onRow,Kr=Yt.indent,Dr=Kr===void 0?0:Kr,dn=Yt.rowComponent,on=Yt.cellComponent,Cn=Yt.childrenColumnName,sn=g.useContext(H),an=sn.prefixCls,Yr=sn.fixedInfoList,fn=g.useContext(J),vn=fn.fixHeader,Ln=fn.fixColumn,oi=fn.horizonScroll,si=fn.componentWidth,Ni=fn.flattenColumns,qn=fn.expandableType,Pn=fn.expandRowByClick,Bi=fn.onTriggerExpand,ci=fn.rowClassName,wi=fn.expandedRowClassName,fi=fn.indentSize,ki=fn.expandIcon,fa=fn.expandedRowRender,zi=fn.expandIconColumnIndex,ma=g.useState(!1),aa=Object(A.a)(ma,2),ya=aa[0],Ea=aa[1],ca=or&&or.has(Yt.recordKey);g.useEffect(function(){ca&&Ea(!0)},[ca]);var ka=qn==="row"&&(!vr||vr(He)),wa=qn==="nest",_i=Cn&&He&&He[Cn],xi=ka||wa,ji;Vr&&(ji=Vr(He,gt));var Zi=function(co){if(Pn&&xi&&Bi(He,co),ji&&ji.onClick){for(var so,Ao=arguments.length,io=new Array(Ao>1?Ao-1:0),pa=1;pa<Ao;pa++)io[pa-1]=arguments[pa];(so=ji).onClick.apply(so,[co].concat(io))}},Si;typeof ci=="string"?Si=ci:typeof ci=="function"&&(Si=ci(He,gt,Dr));var Hi=x(Ni),Oa=g.createElement(dn,Object(m.a)({},ji,{"data-row-key":Xt,className:c()(Ir,"".concat(an,"-row"),"".concat(an,"-row-level-").concat(Dr),Si,ji&&ji.className),style:Object(l.a)(Object(l.a)({},Zr),ji?ji.style:null),onClick:Zi}),Ni.map(function(Xa,co){var so=Xa.render,Ao=Xa.dataIndex,io=Xa.className,pa=Hi[co],ga=Yr[co],ba;co===(zi||0)&&wa&&(ba=g.createElement(g.Fragment,null,g.createElement("span",{style:{paddingLeft:"".concat(fi*Dr,"px")},className:"".concat(an,"-row-indent indent-level-").concat(Dr)}),ki({prefixCls:an,expanded:ca,expandable:_i,record:He,onExpand:Bi})));var Oi;return Xa.onCell&&(Oi=Xa.onCell(He,gt)),g.createElement(D,Object(m.a)({className:io,ellipsis:Xa.ellipsis,align:Xa.align,component:on,prefixCls:an,key:pa,record:He,index:gt,dataIndex:Ao,render:so,shouldCellUpdate:Xa.shouldCellUpdate},ga,{appendNode:ba,additionalProps:Oi}))})),_a;if(ka&&(ya||ca)){var la=fa(He,gt,Dr+1,ca),va=wi&&wi(He,gt,Dr);_a=g.createElement(de,{expanded:ca,className:c()("".concat(an,"-expanded-row"),"".concat(an,"-expanded-row-level-").concat(Dr+1),va),prefixCls:an,fixHeader:vn,fixColumn:Ln,horizonScroll:oi,component:dn,componentWidth:si,cellComponent:on,colSpan:Ni.length},la)}var Ma;return _i&&ca&&(Ma=(He[Cn]||[]).map(function(Xa,co){var so=zt(Xa,co);return g.createElement(Ie,Object(m.a)({},Yt,{key:so,rowKey:so,record:Xa,recordKey:so,index:co,indent:Dr+1}))})),g.createElement(g.Fragment,null,Oa,_a,Ma)}Ie.displayName="BodyRow";var be=Ie,Ce=g.createContext(null),je=Ce;function te(Yt){var Ir=Yt.columnKey,Zr=Yt.onColumnResize,He=g.useRef();return g.useEffect(function(){He.current&&Zr(Ir,He.current.offsetWidth)},[]),g.createElement(t.a,{onResize:function(Xt){var zt=Xt.offsetWidth;Zr(Ir,zt)}},g.createElement("td",{ref:He,style:{padding:0,border:0,height:0}},g.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function ve(Yt){var Ir=Yt.data,Zr=Yt.getRowKey,He=Yt.measureColumnWidth,gt=Yt.expandedKeys,Xt=Yt.onRow,zt=Yt.rowExpandable,vr=Yt.emptyNode,or=Yt.childrenColumnName,Vr=g.useContext(je),Kr=Vr.onColumnResize,Dr=g.useContext(H),dn=Dr.prefixCls,on=Dr.getComponent,Cn=g.useContext(J),sn=Cn.fixHeader,an=Cn.horizonScroll,Yr=Cn.flattenColumns,fn=Cn.componentWidth;return g.useMemo(function(){var vn=on(["body","wrapper"],"tbody"),Ln=on(["body","row"],"tr"),oi=on(["body","cell"],"td"),si;Ir.length?si=Ir.map(function(qn,Pn){var Bi=Zr(qn,Pn);return g.createElement(be,{key:Bi,rowKey:Bi,record:qn,recordKey:Bi,index:Pn,rowComponent:Ln,cellComponent:oi,expandedKeys:gt,onRow:Xt,getRowKey:Zr,rowExpandable:zt,childrenColumnName:or})}):si=g.createElement(de,{expanded:!0,className:"".concat(dn,"-placeholder"),prefixCls:dn,fixHeader:sn,fixColumn:an,horizonScroll:an,component:Ln,componentWidth:fn,cellComponent:oi,colSpan:Yr.length},vr);var Ni=x(Yr);return g.createElement(vn,{className:"".concat(dn,"-tbody")},He&&g.createElement("tr",{"aria-hidden":"true",className:"".concat(dn,"-measure-row"),style:{height:0,fontSize:0}},Ni.map(function(qn){return g.createElement(te,{key:qn,columnKey:qn,onColumnResize:Kr})})),si)},[Ir,dn,Xt,He,gt,Zr,on,fn,vr,Yr])}var $e=g.memo(ve);$e.displayName="Body";var Le=$e,he=o("Zm9Q"),ee=["expandable"],se="RC_TABLE_INTERNAL_COL_DEFINE";function Ue(Yt){var Ir=Yt.expandable,Zr=Object(S.a)(Yt,ee);return"expandable"in Yt?Object(l.a)(Object(l.a)({},Zr),Ir):Zr}function ue(Yt){return Object.keys(Yt).reduce(function(Ir,Zr){return(Zr.substr(0,5)==="data-"||Zr.substr(0,5)==="aria-")&&(Ir[Zr]=Yt[Zr]),Ir},{})}var Ne=["children"],Fe=["fixed"];function ae(Yt){return Object(he.a)(Yt).filter(function(Ir){return g.isValidElement(Ir)}).map(function(Ir){var Zr=Ir.key,He=Ir.props,gt=He.children,Xt=Object(S.a)(He,Ne),zt=Object(l.a)({key:Zr},Xt);return gt&&(zt.children=ae(gt)),zt})}function ce(Yt){return Yt.reduce(function(Ir,Zr){var He=Zr.fixed,gt=He===!0?"left":He,Xt=Zr.children;return Xt&&Xt.length>0?[].concat(Object(e.a)(Ir),Object(e.a)(ce(Xt).map(function(zt){return Object(l.a)({fixed:gt},zt)}))):[].concat(Object(e.a)(Ir),[Object(l.a)(Object(l.a)({},Zr),{},{fixed:gt})])},[])}function _e(Yt){for(var Ir=!0,Zr=0;Zr<Yt.length;Zr+=1){var He=Yt[Zr];if(Ir&&He.fixed!=="left")Ir=!1;else if(!Ir&&He.fixed==="left"){Object(a.a)(!1,"Index ".concat(Zr-1," of `columns` missing `fixed='left'` prop."));break}}for(var gt=!0,Xt=Yt.length-1;Xt>=0;Xt-=1){var zt=Yt[Xt];if(gt&&zt.fixed!=="right")gt=!1;else if(!gt&&zt.fixed==="right"){Object(a.a)(!1,"Index ".concat(Xt+1," of `columns` missing `fixed='right'` prop."));break}}}function ze(Yt){return Yt.map(function(Ir){var Zr=Ir.fixed,He=Object(S.a)(Ir,Fe),gt=Zr;return Zr==="left"?gt="right":Zr==="right"&&(gt="left"),Object(l.a)({fixed:gt},He)})}function it(Yt,Ir){var Zr=Yt.prefixCls,He=Yt.columns,gt=Yt.children,Xt=Yt.expandable,zt=Yt.expandedKeys,vr=Yt.getRowKey,or=Yt.onTriggerExpand,Vr=Yt.expandIcon,Kr=Yt.rowExpandable,Dr=Yt.expandIconColumnIndex,dn=Yt.direction,on=Yt.expandRowByClick,Cn=Yt.columnWidth,sn=Yt.fixed,an=g.useMemo(function(){return He||ae(gt)},[He,gt]),Yr=g.useMemo(function(){if(Xt){var Ln,oi=Dr||0,si=an[oi],Ni;(sn==="left"||sn)&&!Dr?Ni="left":(sn==="right"||sn)&&Dr===an.length?Ni="right":Ni=si?si.fixed:null;var qn=(Ln={},Object(f.a)(Ln,se,{className:"".concat(Zr,"-expand-icon-col")}),Object(f.a)(Ln,"title",""),Object(f.a)(Ln,"fixed",Ni),Object(f.a)(Ln,"className","".concat(Zr,"-row-expand-icon-cell")),Object(f.a)(Ln,"width",Cn),Object(f.a)(Ln,"render",function(ci,wi,fi){var ki=vr(wi,fi),fa=zt.has(ki),zi=Kr?Kr(wi):!0,ma=Vr({prefixCls:Zr,expanded:fa,expandable:zi,record:wi,onExpand:or});return on?g.createElement("span",{onClick:function(ya){return ya.stopPropagation()}},ma):ma}),Ln),Pn=an.slice();return oi>=0&&Pn.splice(oi,0,qn),Pn}return an},[Xt,an,vr,zt,Vr,dn]),fn=g.useMemo(function(){var Ln=Yr;return Ir&&(Ln=Ir(Ln)),Ln.length||(Ln=[{render:function(){return null}}]),Ln},[Ir,Yr,dn]),vn=g.useMemo(function(){return dn==="rtl"?ze(ce(fn)):ce(fn)},[fn,dn]);return[fn,vn]}var Ze=it;function Ee(Yt){var Ir=Object(g.useRef)(Yt),Zr=Object(g.useState)({}),He=Object(A.a)(Zr,2),gt=He[1],Xt=Object(g.useRef)(null),zt=Object(g.useRef)([]);function vr(or){zt.current.push(or);var Vr=Promise.resolve();Xt.current=Vr,Vr.then(function(){if(Xt.current===Vr){var Kr=zt.current,Dr=Ir.current;zt.current=[],Kr.forEach(function(dn){Ir.current=dn(Ir.current)}),Xt.current=null,Dr!==Ir.current&>({})}})}return Object(g.useEffect)(function(){return function(){Xt.current=null}},[]),[Ir.current,vr]}function mt(Yt){var Ir=Object(g.useRef)(Yt||null),Zr=Object(g.useRef)();function He(){window.clearTimeout(Zr.current)}function gt(zt){Ir.current=zt,He(),Zr.current=window.setTimeout(function(){Ir.current=null,Zr.current=void 0},100)}function Xt(){return Ir.current}return Object(g.useEffect)(function(){return He},[]),[gt,Xt]}function Je(Yt,Ir,Zr){var He=Object(g.useMemo)(function(){for(var gt=[],Xt=[],zt=0,vr=0,or=0;or<Ir;or+=1)if(Zr==="rtl"){Xt[or]=vr,vr+=Yt[or]||0;var Vr=Ir-or-1;gt[Vr]=zt,zt+=Yt[Vr]||0}else{gt[or]=zt,zt+=Yt[or]||0;var Kr=Ir-or-1;Xt[Kr]=vr,vr+=Yt[Kr]||0}return{left:gt,right:Xt}},[Yt,Ir,Zr]);return He}var rt=Je;function wt(Yt){for(var Ir=Yt.colWidths,Zr=Yt.columns,He=Yt.columCount,gt=[],Xt=He||Zr.length,zt=!1,vr=Xt-1;vr>=0;vr-=1){var or=Ir[vr],Vr=Zr&&Zr[vr],Kr=Vr&&Vr[se];(or||Kr||zt)&&(gt.unshift(g.createElement("col",Object(m.a)({key:vr,style:{width:or}},Kr))),zt=!0)}return g.createElement("colgroup",null,gt)}var Ot=wt;function Ct(Yt){var Ir=Yt.className,Zr=Yt.children;return g.createElement("div",{className:Ir},Zr)}var Dt=Ct;function Xe(Yt){var Ir=Yt.className,Zr=Yt.index,He=Yt.children,gt=Yt.colSpan,Xt=gt===void 0?1:gt,zt=Yt.rowSpan,vr=Yt.align,or=g.useContext(H),Vr=or.prefixCls,Kr=or.direction,Dr=g.useContext(re),dn=Dr.scrollColumnIndex,on=Dr.stickyOffsets,Cn=Dr.flattenColumns,sn=Zr+Xt-1,an=sn+1===dn?Xt+1:Xt,Yr=j(Zr,Zr+an-1,Cn,on,Kr);return g.createElement(D,Object(m.a)({className:Ir,index:Zr,component:"td",prefixCls:Vr,record:null,dataIndex:null,align:vr,render:function(){return{children:He,props:{colSpan:an,rowSpan:zt}}}},Yr))}var q=["children"];function V(Yt){var Ir=Yt.children,Zr=Object(S.a)(Yt,q);return g.createElement("tr",Zr,Ir)}function Ae(Yt){var Ir=Yt.children;return Ir}Ae.Row=V,Ae.Cell=Xe;var xe=Ae,re=g.createContext({});function ot(Yt){var Ir=Yt.children,Zr=Yt.stickyOffsets,He=Yt.flattenColumns,gt=g.useContext(H),Xt=gt.prefixCls,zt=He.length-1,vr=He[zt],or=g.useMemo(function(){return{stickyOffsets:Zr,flattenColumns:He,scrollColumnIndex:(vr==null?void 0:vr.scrollbar)?zt:null}},[vr,He,zt,Zr]);return g.createElement(re.Provider,{value:or},g.createElement("tfoot",{className:"".concat(Xt,"-summary")},Ir))}var bt=ot,tt=xe;function Tt(Yt){var Ir,Zr=Yt.prefixCls,He=Yt.record,gt=Yt.onExpand,Xt=Yt.expanded,zt=Yt.expandable,vr="".concat(Zr,"-row-expand-icon");if(!zt)return g.createElement("span",{className:c()(vr,"".concat(Zr,"-row-spaced"))});var or=function(Kr){gt(He,Kr),Kr.stopPropagation()};return g.createElement("span",{className:c()(vr,(Ir={},Object(f.a)(Ir,"".concat(Zr,"-row-expanded"),Xt),Object(f.a)(Ir,"".concat(Zr,"-row-collapsed"),!Xt),Ir)),onClick:or})}function Gt(Yt,Ir,Zr){var He=[];function gt(Xt){(Xt||[]).forEach(function(zt,vr){He.push(Ir(zt,vr)),gt(zt[Zr])})}return gt(Yt),He}var lr=o("zT1h"),pr=o("y0+3"),Rr=function(Ir,Zr){var He,gt,Xt=Ir.scrollBodyRef,zt=Ir.onScroll,vr=Ir.offsetScroll,or=Ir.container,Vr=g.useContext(H),Kr=Vr.prefixCls,Dr=((He=Xt.current)===null||He===void 0?void 0:He.scrollWidth)||0,dn=((gt=Xt.current)===null||gt===void 0?void 0:gt.clientWidth)||0,on=Dr&&dn*(dn/Dr),Cn=g.useRef(),sn=Ee({scrollLeft:0,isHiddenScrollBar:!1}),an=Object(A.a)(sn,2),Yr=an[0],fn=an[1],vn=g.useRef({delta:0,x:0}),Ln=g.useState(!1),oi=Object(A.a)(Ln,2),si=oi[0],Ni=oi[1],qn=function(){Ni(!1)},Pn=function(ki){ki.persist(),vn.current.delta=ki.pageX-Yr.scrollLeft,vn.current.x=0,Ni(!0),ki.preventDefault()},Bi=function(ki){var fa,zi=ki||((fa=window)===null||fa===void 0?void 0:fa.event),ma=zi.buttons;if(!si||ma===0){si&&Ni(!1);return}var aa=vn.current.x+ki.pageX-vn.current.x-vn.current.delta;aa<=0&&(aa=0),aa+on>=dn&&(aa=dn-on),zt({scrollLeft:aa/dn*(Dr+2)}),vn.current.x=ki.pageX},ci=function(){var ki=Object(pr.b)(Xt.current).top,fa=ki+Xt.current.offsetHeight,zi=or===window?document.documentElement.scrollTop+window.innerHeight:Object(pr.b)(or).top+or.clientHeight;fa-Object(s.a)()<=zi||ki>=zi-vr?fn(function(ma){return Object(l.a)(Object(l.a)({},ma),{},{isHiddenScrollBar:!0})}):fn(function(ma){return Object(l.a)(Object(l.a)({},ma),{},{isHiddenScrollBar:!1})})},wi=function(ki){fn(function(fa){return Object(l.a)(Object(l.a)({},fa),{},{scrollLeft:ki/Dr*dn||0})})};return g.useImperativeHandle(Zr,function(){return{setScrollLeft:wi}}),g.useEffect(function(){var fi=Object(lr.a)(document.body,"mouseup",qn,!1),ki=Object(lr.a)(document.body,"mousemove",Bi,!1);return ci(),function(){fi.remove(),ki.remove()}},[on,si]),g.useEffect(function(){var fi=Object(lr.a)(or,"scroll",ci,!1),ki=Object(lr.a)(window,"resize",ci,!1);return function(){fi.remove(),ki.remove()}},[or]),g.useEffect(function(){Yr.isHiddenScrollBar||fn(function(fi){var ki=Xt.current;return ki?Object(l.a)(Object(l.a)({},fi),{},{scrollLeft:ki.scrollLeft/ki.scrollWidth*ki.clientWidth}):fi})},[Yr.isHiddenScrollBar]),Dr<=dn||!on||Yr.isHiddenScrollBar?null:g.createElement("div",{style:{height:Object(s.a)(),width:dn,bottom:vr},className:"".concat(Kr,"-sticky-scroll")},g.createElement("div",{onMouseDown:Pn,ref:Cn,className:c()("".concat(Kr,"-sticky-scroll-bar"),Object(f.a)({},"".concat(Kr,"-sticky-scroll-bar-active"),si)),style:{width:"".concat(on,"px"),transform:"translate3d(".concat(Yr.scrollLeft,"px, 0, 0)")}}))},xt=g.forwardRef(Rr),It=o("MNnm"),At=Object(It.a)()?window:null;function Zt(Yt,Ir){var Zr=Object(w.a)(Yt)==="object"?Yt:{},He=Zr.offsetHeader,gt=He===void 0?0:He,Xt=Zr.offsetSummary,zt=Xt===void 0?0:Xt,vr=Zr.offsetScroll,or=vr===void 0?0:vr,Vr=Zr.getContainer,Kr=Vr===void 0?function(){return At}:Vr,Dr=Kr()||At;return g.useMemo(function(){var dn=!!Yt;return{isSticky:dn,stickyClassName:dn?"".concat(Ir,"-sticky-holder"):"",offsetHeader:gt,offsetSummary:zt,offsetScroll:or,container:Dr}},[or,gt,zt,Ir,Dr])}var br=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Lr(Yt,Ir){return Object(g.useMemo)(function(){for(var Zr=[],He=0;He<Ir;He+=1){var gt=Yt[He];if(gt!==void 0)Zr[He]=gt;else return null}return Zr},[Yt.join("_"),Ir])}var Jr=g.forwardRef(function(Yt,Ir){var Zr=Yt.className,He=Yt.noData,gt=Yt.columns,Xt=Yt.flattenColumns,zt=Yt.colWidths,vr=Yt.columCount,or=Yt.stickyOffsets,Vr=Yt.direction,Kr=Yt.fixHeader,Dr=Yt.stickyTopOffset,dn=Yt.stickyBottomOffset,on=Yt.stickyClassName,Cn=Yt.onScroll,sn=Yt.maxContentScroll,an=Yt.children,Yr=Object(S.a)(Yt,br),fn=g.useContext(H),vn=fn.prefixCls,Ln=fn.scrollbarSize,oi=fn.isSticky,si=oi&&!Kr?0:Ln,Ni=g.useRef(null),qn=g.useCallback(function(zi){Object(b.b)(Ir,zi),Object(b.b)(Ni,zi)},[]);g.useEffect(function(){var zi;function ma(aa){var ya=aa.currentTarget,Ea=aa.deltaX;Ea&&(Cn({currentTarget:ya,scrollLeft:ya.scrollLeft+Ea}),aa.preventDefault())}return(zi=Ni.current)===null||zi===void 0||zi.addEventListener("wheel",ma),function(){var aa;(aa=Ni.current)===null||aa===void 0||aa.removeEventListener("wheel",ma)}},[]);var Pn=g.useMemo(function(){return Xt.every(function(zi){return zi.width>=0})},[Xt]),Bi=Xt[Xt.length-1],ci={fixed:Bi?Bi.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(vn,"-cell-scrollbar")}}},wi=Object(g.useMemo)(function(){return si?[].concat(Object(e.a)(gt),[ci]):gt},[si,gt]),fi=Object(g.useMemo)(function(){return si?[].concat(Object(e.a)(Xt),[ci]):Xt},[si,Xt]),ki=Object(g.useMemo)(function(){var zi=or.right,ma=or.left;return Object(l.a)(Object(l.a)({},or),{},{left:Vr==="rtl"?[].concat(Object(e.a)(ma.map(function(aa){return aa+si})),[0]):ma,right:Vr==="rtl"?zi:[].concat(Object(e.a)(zi.map(function(aa){return aa+si})),[0]),isSticky:oi})},[si,or,oi]),fa=Lr(zt,vr);return g.createElement("div",{style:Object(l.a)({overflow:"hidden"},oi?{top:Dr,bottom:dn}:{}),ref:qn,className:c()(Zr,Object(f.a)({},on,!!on))},g.createElement("table",{style:{tableLayout:"fixed",visibility:He||fa?null:"hidden"}},(!He||!sn||Pn)&&g.createElement(Ot,{colWidths:fa?[].concat(Object(e.a)(fa),[si]):[],columCount:vr+1,columns:fi}),an(Object(l.a)(Object(l.a)({},Yr),{},{stickyOffsets:ki,columns:wi,flattenColumns:fi}))))});Jr.displayName="FixedHolder";var In=Jr,Gr=[],Tr={},fr="rc-table-internal-hook",vt=g.memo(function(Yt){var Ir=Yt.children;return Ir},function(Yt,Ir){return r()(Yt.props,Ir.props)?Yt.pingLeft!==Ir.pingLeft||Yt.pingRight!==Ir.pingRight:!1});function ft(Yt){var Ir,Zr=Yt.prefixCls,He=Yt.className,gt=Yt.rowClassName,Xt=Yt.style,zt=Yt.data,vr=Yt.rowKey,or=Yt.scroll,Vr=Yt.tableLayout,Kr=Yt.direction,Dr=Yt.title,dn=Yt.footer,on=Yt.summary,Cn=Yt.id,sn=Yt.showHeader,an=Yt.components,Yr=Yt.emptyText,fn=Yt.onRow,vn=Yt.onHeaderRow,Ln=Yt.internalHooks,oi=Yt.transformColumns,si=Yt.internalRefs,Ni=Yt.sticky,qn=zt||Gr,Pn=!!qn.length,Bi=g.useMemo(function(){return _(an,{})},[an]),ci=g.useCallback(function(ro,eo){return T(Bi,ro)||eo},[Bi]),wi=g.useMemo(function(){return typeof vr=="function"?vr:function(ro){var eo=ro&&ro[vr];return eo}},[vr]),fi=Ue(Yt),ki=fi.expandIcon,fa=fi.expandedRowKeys,zi=fi.defaultExpandedRowKeys,ma=fi.defaultExpandAllRows,aa=fi.expandedRowRender,ya=fi.onExpand,Ea=fi.onExpandedRowsChange,ca=fi.expandRowByClick,ka=fi.rowExpandable,wa=fi.expandIconColumnIndex,_i=fi.expandedRowClassName,xi=fi.childrenColumnName,ji=fi.indentSize,Zi=ki||Tt,Si=xi||"children",Hi=g.useMemo(function(){return aa?"row":Yt.expandable&&Ln===fr&&Yt.expandable.__PARENT_RENDER_ICON__||qn.some(function(ro){return ro&&Object(w.a)(ro)==="object"&&ro[Si]})?"nest":!1},[!!aa,qn]),Oa=g.useState(function(){return zi||(ma?Gt(qn,wi,Si):[])}),_a=Object(A.a)(Oa,2),la=_a[0],va=_a[1],Ma=g.useMemo(function(){return new Set(fa||la||[])},[fa,la]),Xa=g.useCallback(function(ro){var eo=wi(ro,qn.indexOf(ro)),ho,yt=Ma.has(eo);yt?(Ma.delete(eo),ho=Object(e.a)(Ma)):ho=[].concat(Object(e.a)(Ma),[eo]),va(ho),ya&&ya(!yt,ro),Ea&&Ea(ho)},[wi,Ma,qn,ya,Ea]),co=g.useState(0),so=Object(A.a)(co,2),Ao=so[0],io=so[1],pa=Ze(Object(l.a)(Object(l.a)(Object(l.a)({},Yt),fi),{},{expandable:!!aa,expandedKeys:Ma,getRowKey:wi,onTriggerExpand:Xa,expandIcon:Zi,expandIconColumnIndex:wa,direction:Kr}),Ln===fr?oi:null),ga=Object(A.a)(pa,2),ba=ga[0],Oi=ga[1],Fa=g.useMemo(function(){return{columns:ba,flattenColumns:Oi}},[ba,Oi]),vo=g.useRef(),os=g.useRef(),Va=g.useRef(),ao=g.useRef(),Ga=g.useState(!1),yo=Object(A.a)(Ga,2),fo=yo[0],es=yo[1],To=g.useState(!1),po=Object(A.a)(To,2),Io=po[0],zo=po[1],ns=Ee(new Map),Po=Object(A.a)(ns,2),Aa=Po[0],Ja=Po[1],Ba=x(Oi),$i=Ba.map(function(ro){return Aa.get(ro)}),uo=g.useMemo(function(){return $i},[$i.join("_")]),Ha=rt(uo,Oi.length,Kr),Yi=or&&I(or.y),Qa=or&&I(or.x)||Boolean(fi.fixed),Mo=Qa&&Oi.some(function(ro){var eo=ro.fixed;return eo}),Qo=g.useRef(),Jo=Zt(Ni,Zr),ua=Jo.isSticky,Ya=Jo.offsetHeader,lo=Jo.offsetSummary,Ci=Jo.offsetScroll,Sa=Jo.stickyClassName,bo=Jo.container,Fo=on==null?void 0:on(qn),Oo=(Yi||ua)&&g.isValidElement(Fo)&&Fo.type===xe&&Fo.props.fixed,gs,ds,hs;Yi&&(ds={overflowY:"scroll",maxHeight:or.y}),Qa&&(gs={overflowX:"auto"},Yi||(ds={overflowY:"hidden"}),hs={width:or.x===!0?"auto":or.x,minWidth:"100%"});var ss=g.useCallback(function(ro,eo){Object(n.a)(vo.current)&&Ja(function(ho){if(ho.get(ro)!==eo){var yt=new Map(ho);return yt.set(ro,eo),yt}return ho})},[]),$a=mt(null),Na=Object(A.a)($a,2),Vo=Na[0],Zo=Na[1];function Da(ro,eo){if(!eo)return;typeof eo=="function"?eo(ro):eo.scrollLeft!==ro&&(eo.scrollLeft=ro)}var Ka=function(eo){var ho=eo.currentTarget,yt=eo.scrollLeft,Lt=Kr==="rtl",Pr=typeof yt=="number"?yt:ho.scrollLeft,pn=ho||Tr;if(!Zo()||Zo()===pn){var Rn;Vo(pn),Da(Pr,os.current),Da(Pr,Va.current),Da(Pr,ao.current),Da(Pr,(Rn=Qo.current)===null||Rn===void 0?void 0:Rn.setScrollLeft)}if(ho){var dt=ho.scrollWidth,ie=ho.clientWidth;Lt?(es(-Pr<dt-ie),zo(-Pr>0)):(es(Pr>0),zo(Pr<dt-ie))}},Pa=function(){Va.current&&Ka({currentTarget:Va.current})},Xo=function(eo){var ho=eo.width;ho!==Ao&&(Pa(),io(vo.current?vo.current.offsetWidth:ho))};g.useEffect(function(){return Pa},[]),g.useEffect(function(){Qa&&Pa()},[Qa]);var Uo=g.useState(0),Lo=Object(A.a)(Uo,2),Yo=Lo[0],Ko=Lo[1];g.useEffect(function(){Ko(Object(s.b)(Va.current).width)},[]),g.useEffect(function(){Ln===fr&&si&&(si.body.current=Va.current)});var jo=ci(["table"],"table"),Or=g.useMemo(function(){return Vr||(Mo?or.x==="max-content"?"auto":"fixed":Yi||ua||Oi.some(function(ro){var eo=ro.ellipsis;return eo})?"fixed":"auto")},[Yi,Mo,Oi,Vr,ua]),ui,vs={colWidths:uo,columCount:Oi.length,stickyOffsets:Ha,onHeaderRow:vn,fixHeader:Yi,scroll:or},rl=g.useMemo(function(){return Pn?null:typeof Yr=="function"?Yr():Yr},[Pn,Yr]),Ps=g.createElement(Le,{data:qn,measureColumnWidth:Yi||Qa||ua,expandedKeys:Ma,rowExpandable:ka,getRowKey:wi,onRow:fn,emptyNode:rl,childrenColumnName:Si}),Ks=g.createElement(Ot,{colWidths:Oi.map(function(ro){var eo=ro.width;return eo}),columns:Oi}),sl=ci(["body"]);if(Yi||ua){var xs;typeof sl=="function"?(xs=sl(qn,{scrollbarSize:Yo,ref:Va,onScroll:Ka}),vs.colWidths=Oi.map(function(ro,eo){var ho=ro.width,yt=eo===ba.length-1?ho-Yo:ho;return typeof yt=="number"&&!Number.isNaN(yt)?yt:(Object(a.a)(!1,"When use `components.body` with render props. Each column should have a fixed `width` value."),0)})):xs=g.createElement("div",{style:Object(l.a)(Object(l.a)({},gs),ds),onScroll:Ka,ref:Va,className:c()("".concat(Zr,"-body"))},g.createElement(jo,{style:Object(l.a)(Object(l.a)({},hs),{},{tableLayout:Or})},Ks,Ps,!Oo&&Fo&&g.createElement(bt,{stickyOffsets:Ha,flattenColumns:Oi},Fo)));var Ls=Object(l.a)(Object(l.a)(Object(l.a)({noData:!qn.length,maxContentScroll:Qa&&or.x==="max-content"},vs),Fa),{},{direction:Kr,stickyClassName:Sa,onScroll:Ka});ui=g.createElement(g.Fragment,null,sn!==!1&&g.createElement(In,Object(m.a)({},Ls,{stickyTopOffset:Ya,className:"".concat(Zr,"-header"),ref:os}),function(ro){return g.createElement($,ro)}),xs,Oo&&g.createElement(In,Object(m.a)({},Ls,{stickyBottomOffset:lo,className:"".concat(Zr,"-summary"),ref:ao}),function(ro){return g.createElement(bt,ro,Fo)}),ua&&g.createElement(xt,{ref:Qo,offsetScroll:Ci,scrollBodyRef:Va,onScroll:Ka,container:bo}))}else ui=g.createElement("div",{style:Object(l.a)(Object(l.a)({},gs),ds),className:c()("".concat(Zr,"-content")),onScroll:Ka,ref:Va},g.createElement(jo,{style:Object(l.a)(Object(l.a)({},hs),{},{tableLayout:Or})},Ks,sn!==!1&&g.createElement($,Object(m.a)({},vs,Fa)),Ps,Fo&&g.createElement(bt,{stickyOffsets:Ha,flattenColumns:Oi},Fo)));var Xs=ue(Yt),Es=g.createElement("div",Object(m.a)({className:c()(Zr,He,(Ir={},Object(f.a)(Ir,"".concat(Zr,"-rtl"),Kr==="rtl"),Object(f.a)(Ir,"".concat(Zr,"-ping-left"),fo),Object(f.a)(Ir,"".concat(Zr,"-ping-right"),Io),Object(f.a)(Ir,"".concat(Zr,"-layout-fixed"),Vr==="fixed"),Object(f.a)(Ir,"".concat(Zr,"-fixed-header"),Yi),Object(f.a)(Ir,"".concat(Zr,"-fixed-column"),Mo),Object(f.a)(Ir,"".concat(Zr,"-scroll-horizontal"),Qa),Object(f.a)(Ir,"".concat(Zr,"-has-fix-left"),Oi[0]&&Oi[0].fixed),Object(f.a)(Ir,"".concat(Zr,"-has-fix-right"),Oi[Oi.length-1]&&Oi[Oi.length-1].fixed==="right"),Ir)),style:Xt,id:Cn,ref:vo},Xs),g.createElement(vt,{pingLeft:fo,pingRight:Io,props:Object(l.a)(Object(l.a)({},Yt),{},{stickyOffsets:Ha,mergedExpandedKeys:Ma})},Dr&&g.createElement(Dt,{className:"".concat(Zr,"-title")},Dr(qn)),g.createElement("div",{className:"".concat(Zr,"-container")},ui),dn&&g.createElement(Dt,{className:"".concat(Zr,"-footer")},dn(qn))));Qa&&(Es=g.createElement(t.a,{onResize:Xo},Es));var _s=g.useMemo(function(){return{prefixCls:Zr,getComponent:ci,scrollbarSize:Yo,direction:Kr,fixedInfoList:Oi.map(function(ro,eo){return j(eo,eo,Oi,Ha,Kr)}),isSticky:ua}},[Zr,ci,Yo,Kr,Oi,Ha,Kr,ua]),pl=g.useMemo(function(){return Object(l.a)(Object(l.a)({},Fa),{},{tableLayout:Or,rowClassName:gt,expandedRowClassName:_i,componentWidth:Ao,fixHeader:Yi,fixColumn:Mo,horizonScroll:Qa,expandIcon:Zi,expandableType:Hi,expandRowByClick:ca,expandedRowRender:aa,onTriggerExpand:Xa,expandIconColumnIndex:wa,indentSize:ji})},[Fa,Or,gt,_i,Ao,Yi,Mo,Qa,Zi,Hi,ca,aa,Xa,wa,ji]),Gs=g.useMemo(function(){return{onColumnResize:ss}},[ss]);return g.createElement(H.Provider,{value:_s},g.createElement(J.Provider,{value:pl},g.createElement(je.Provider,{value:Gs},Es)))}ft.Column=y,ft.ColumnGroup=d,ft.Summary=tt,ft.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var Te=ft,Pe=Te,Ge=o("0qJU"),st=o("B8SR"),Bt=o("9R2V"),$t=function(Yt,Ir){var Zr={};for(var He in Yt)Object.prototype.hasOwnProperty.call(Yt,He)&&Ir.indexOf(He)<0&&(Zr[He]=Yt[He]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,He=Object.getOwnPropertySymbols(Yt);gt<He.length;gt++)Ir.indexOf(He[gt])<0&&Object.prototype.propertyIsEnumerable.call(Yt,He[gt])&&(Zr[He[gt]]=Yt[He[gt]]);return Zr},Nr=10;function yn(Yt,Ir){var Zr={current:Ir.current,pageSize:Ir.pageSize},He=Yt&&Object(w.a)(Yt)==="object"?Yt:{};return Object.keys(He).forEach(function(gt){var Xt=Ir[gt];typeof Xt!="function"&&(Zr[gt]=Xt)}),Zr}function un(){for(var Yt={},Ir=arguments.length,Zr=new Array(Ir),He=0;He<Ir;He++)Zr[He]=arguments[He];return Zr.forEach(function(gt){gt&&Object.keys(gt).forEach(function(Xt){var zt=gt[Xt];zt!==void 0&&(Yt[Xt]=zt)})}),Yt}function Kt(Yt,Ir,Zr){var He=Ir&&Object(w.a)(Ir)==="object"?Ir:{},gt=He.total,Xt=gt===void 0?0:gt,zt=$t(He,["total"]),vr=Object(g.useState)(function(){return{current:"defaultCurrent"in zt?zt.defaultCurrent:1,pageSize:"defaultPageSize"in zt?zt.defaultPageSize:Nr}}),or=Object(A.a)(vr,2),Vr=or[0],Kr=or[1],Dr=un(Vr,zt,{total:Xt>0?Xt:Yt}),dn=Math.ceil((Xt||Yt)/Dr.pageSize);Dr.current>dn&&(Dr.current=dn||1);var on=function(){var an=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Yr=arguments.length>1?arguments[1]:void 0;Kr({current:an,pageSize:Yr||Dr.pageSize})},Cn=function(an,Yr){var fn;Ir&&((fn=Ir.onChange)===null||fn===void 0||fn.call(Ir,an,Yr)),on(an,Yr),Zr(an,Yr||(Dr==null?void 0:Dr.pageSize))};return Ir===!1?[{},function(){}]:[Object(m.a)(Object(m.a)({},Dr),{onChange:Cn}),on]}function St(Yt,Ir,Zr){var He=g.useRef({});function gt(Xt){if(!He.current||He.current.data!==Yt||He.current.childrenColumnName!==Ir||He.current.getRowKey!==Zr){var zt=function or(Vr){Vr.forEach(function(Kr,Dr){var dn=Zr(Kr,Dr);vr.set(dn,Kr),Kr&&Object(w.a)(Kr)==="object"&&Ir in Kr&&or(Kr[Ir]||[])})},vr=new Map;zt(Yt),He.current={data:Yt,childrenColumnName:Ir,kvMap:vr,getRowKey:Zr}}return He.current.kvMap.get(Xt)}return[gt]}var kt=o("T5bk"),Jt=o("8Skl"),Br=o("815F"),Hr=o("NvD2"),$r=o("OZM5"),Ft=o("6cGi"),cr=o("Lgtz"),Cr=o("eKKp"),Fr=o("AE+S"),Wr=o("TZBT"),An=o("bq+4"),bn="SELECT_ALL",Sn="SELECT_INVERT",kn="SELECT_NONE";function ei(Yt){return Yt&&Yt.fixed}function Jn(Yt,Ir){var Zr=[];return(Yt||[]).forEach(function(He){Zr.push(He),He&&Object(w.a)(He)==="object"&&Ir in He&&(Zr=[].concat(Object(e.a)(Zr),Object(e.a)(Jn(He[Ir],Ir))))}),Zr}function ai(Yt,Ir){var Zr=Yt||{},He=Zr.preserveSelectedRowKeys,gt=Zr.selectedRowKeys,Xt=Zr.defaultSelectedRowKeys,zt=Zr.getCheckboxProps,vr=Zr.onChange,or=Zr.onSelect,Vr=Zr.onSelectAll,Kr=Zr.onSelectInvert,Dr=Zr.onSelectNone,dn=Zr.onSelectMultiple,on=Zr.columnWidth,Cn=Zr.type,sn=Zr.selections,an=Zr.fixed,Yr=Zr.renderCell,fn=Zr.hideSelectAll,vn=Zr.checkStrictly,Ln=vn===void 0?!0:vn,oi=Ir.prefixCls,si=Ir.data,Ni=Ir.pageData,qn=Ir.getRecordByKey,Pn=Ir.getRowKey,Bi=Ir.expandType,ci=Ir.childrenColumnName,wi=Ir.locale,fi=Ir.expandIconColumnIndex,ki=Ir.getPopupContainer,fa=Object(Ft.a)(gt||Xt||[],{value:gt}),zi=Object(A.a)(fa,2),ma=zi[0],aa=zi[1],ya=g.useRef(new Map),Ea=Object(g.useCallback)(function(pa){if(He){var ga=new Map;pa.forEach(function(ba){var Oi=qn(ba);!Oi&&ya.current.has(ba)&&(Oi=ya.current.get(ba)),ga.set(ba,Oi)}),ya.current=ga}},[qn,He]);g.useEffect(function(){Ea(ma)},[ma]);var ca=Object(g.useMemo)(function(){return Ln?{keyEntities:null}:Object(Br.a)(si,{externalGetKey:Pn,childrenPropName:ci})},[si,Pn,Ln,ci]),ka=ca.keyEntities,wa=Object(g.useMemo)(function(){return Jn(Ni,ci)},[Ni,ci]),_i=Object(g.useMemo)(function(){var pa=new Map;return wa.forEach(function(ga,ba){var Oi=Pn(ga,ba),Fa=(zt?zt(ga):null)||{};pa.set(Oi,Fa)}),pa},[wa,Pn,zt]),xi=Object(g.useCallback)(function(pa){var ga;return!!((ga=_i.get(Pn(pa)))===null||ga===void 0?void 0:ga.disabled)},[_i,Pn]),ji=Object(g.useMemo)(function(){if(Ln)return[ma||[],[]];var pa=Object(Hr.a)(ma,!0,ka,xi),ga=pa.checkedKeys,ba=pa.halfCheckedKeys;return[ga||[],ba]},[ma,Ln,ka,xi]),Zi=Object(A.a)(ji,2),Si=Zi[0],Hi=Zi[1],Oa=Object(g.useMemo)(function(){var pa=Cn==="radio"?Si.slice(0,1):Si;return new Set(pa)},[Si,Cn]),_a=Object(g.useMemo)(function(){return Cn==="radio"?new Set:new Set(Hi)},[Hi,Cn]),la=Object(g.useState)(null),va=Object(A.a)(la,2),Ma=va[0],Xa=va[1];g.useEffect(function(){Yt||aa([])},[!!Yt]);var co=Object(g.useCallback)(function(pa){var ga,ba;Ea(pa),He?(ga=pa,ba=pa.map(function(Oi){return ya.current.get(Oi)})):(ga=[],ba=[],pa.forEach(function(Oi){var Fa=qn(Oi);Fa!==void 0&&(ga.push(Oi),ba.push(Fa))})),aa(ga),vr==null||vr(ga,ba)},[aa,qn,vr,He]),so=Object(g.useCallback)(function(pa,ga,ba,Oi){if(or){var Fa=ba.map(function(vo){return qn(vo)});or(qn(pa),ga,Fa,Oi)}co(ba)},[or,qn,co]),Ao=Object(g.useMemo)(function(){if(!sn||fn)return null;var pa=sn===!0?[bn,Sn,kn]:sn;return pa.map(function(ga){return ga===bn?{key:"all",text:wi.selectionAll,onSelect:function(){co(si.map(function(Oi,Fa){return Pn(Oi,Fa)}))}}:ga===Sn?{key:"invert",text:wi.selectInvert,onSelect:function(){var Oi=new Set(Oa);Ni.forEach(function(vo,os){var Va=Pn(vo,os);Oi.has(Va)?Oi.delete(Va):Oi.add(Va)});var Fa=Array.from(Oi);Kr&&(Object(An.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Kr(Fa)),co(Fa)}}:ga===kn?{key:"none",text:wi.selectNone,onSelect:function(){Dr==null||Dr(),co([])}}:ga})},[sn,Oa,Ni,Pn,Kr,co]),io=Object(g.useCallback)(function(pa){if(!Yt)return pa;var ga=new Set(Oa),ba=wa.map(Pn).filter(function(Ja){return!_i.get(Ja).disabled}),Oi=ba.every(function(Ja){return ga.has(Ja)}),Fa=ba.some(function(Ja){return ga.has(Ja)}),vo=function(){var Ba=[];Oi?ba.forEach(function(uo){ga.delete(uo),Ba.push(uo)}):ba.forEach(function(uo){ga.has(uo)||(ga.add(uo),Ba.push(uo))});var $i=Array.from(ga);Vr==null||Vr(!Oi,$i.map(function(uo){return qn(uo)}),Ba.map(function(uo){return qn(uo)})),co($i)},os;if(Cn!=="radio"){var Va;if(Ao){var ao=g.createElement(Fr.a,{getPopupContainer:ki},Ao.map(function(Ja,Ba){var $i=Ja.key,uo=Ja.text,Ha=Ja.onSelect;return g.createElement(Fr.a.Item,{key:$i||Ba,onClick:function(){Ha==null||Ha(ba)}},uo)}));Va=g.createElement("div",{className:"".concat(oi,"-selection-extra")},g.createElement(Cr.a,{overlay:ao,getPopupContainer:ki},g.createElement("span",null,g.createElement(Jt.a,null))))}var Ga=wa.map(function(Ja,Ba){var $i=Pn(Ja,Ba),uo=_i.get($i)||{};return Object(m.a)({checked:ga.has($i)},uo)}).filter(function(Ja){var Ba=Ja.disabled;return Ba}),yo=!!Ga.length&&Ga.length===wa.length,fo=yo&&Ga.every(function(Ja){var Ba=Ja.checked;return Ba}),es=yo&&Ga.some(function(Ja){var Ba=Ja.checked;return Ba});os=!fn&&g.createElement("div",{className:"".concat(oi,"-selection")},g.createElement(cr.a,{checked:yo?fo:!!wa.length&&Oi,indeterminate:yo?!fo&&es:!Oi&&Fa,onChange:vo,disabled:wa.length===0||yo,skipGroup:!0}),Va)}var To;Cn==="radio"?To=function(Ba,$i,uo){var Ha=Pn($i,uo),Yi=ga.has(Ha);return{node:g.createElement(Wr.a,Object(m.a)({},_i.get(Ha),{checked:Yi,onClick:function(Mo){return Mo.stopPropagation()},onChange:function(Mo){ga.has(Ha)||so(Ha,!0,[Ha],Mo.nativeEvent)}})),checked:Yi}}:To=function(Ba,$i,uo){var Ha,Yi=Pn($i,uo),Qa=ga.has(Yi),Mo=_a.has(Yi),Qo=_i.get(Yi),Jo;return Bi==="nest"?(Jo=Mo,Object(An.a)(typeof(Qo==null?void 0:Qo.indeterminate)!="boolean","Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):Jo=(Ha=Qo==null?void 0:Qo.indeterminate)!==null&&Ha!==void 0?Ha:Mo,{node:g.createElement(cr.a,Object(m.a)({},Qo,{indeterminate:Jo,checked:Qa,skipGroup:!0,onClick:function(Ya){return Ya.stopPropagation()},onChange:function(Ya){var lo=Ya.nativeEvent,Ci=lo.shiftKey,Sa=-1,bo=-1;if(Ci&&Ln){var Fo=new Set([Ma,Yi]);ba.some(function(Ka,Pa){if(Fo.has(Ka))if(Sa===-1)Sa=Pa;else return bo=Pa,!0;return!1})}if(bo!==-1&&Sa!==bo&&Ln){var Oo=ba.slice(Sa,bo+1),gs=[];Qa?Oo.forEach(function(Ka){ga.has(Ka)&&(gs.push(Ka),ga.delete(Ka))}):Oo.forEach(function(Ka){ga.has(Ka)||(gs.push(Ka),ga.add(Ka))});var ds=Array.from(ga);dn==null||dn(!Qa,ds.map(function(Ka){return qn(Ka)}),gs.map(function(Ka){return qn(Ka)})),co(ds)}else{var hs=Si;if(Ln){var ss=Qa?Object($r.b)(hs,Yi):Object($r.a)(hs,Yi);so(Yi,!Qa,ss,lo)}else{var $a=Object(Hr.a)([].concat(Object(e.a)(hs),[Yi]),!0,ka,xi),Na=$a.checkedKeys,Vo=$a.halfCheckedKeys,Zo=Na;if(Qa){var Da=new Set(Na);Da.delete(Yi),Zo=Object(Hr.a)(Array.from(Da),{checked:!1,halfCheckedKeys:Vo},ka,xi).checkedKeys}so(Yi,!Qa,Zo,lo)}}Xa(Yi)}})),checked:Qa}};var po=function(Ba,$i,uo){var Ha=To(Ba,$i,uo),Yi=Ha.node,Qa=Ha.checked;return Yr?Yr(Qa,$i,uo,Yi):Yi},Io=Object(f.a)({width:on,className:"".concat(oi,"-selection-column"),title:Yt.columnTitle||os,render:po},se,{className:"".concat(oi,"-selection-col")});if(Bi==="row"&&pa.length&&!fi){var zo=Object(kt.a)(pa),ns=zo[0],Po=zo.slice(1),Aa=an||ei(Po[0]);return Aa&&(ns.fixed=Aa),[ns,Object(m.a)(Object(m.a)({},Io),{fixed:Aa})].concat(Object(e.a)(Po))}return[Object(m.a)(Object(m.a)({},Io),{fixed:an||ei(pa[0])})].concat(Object(e.a)(pa))},[Pn,wa,Yt,Si,Oa,_a,on,Ao,Bi,Ma,_i,dn,so,xi]);return[io,Oa]}var ii=o("0NbB"),qe={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"},Se=qe,Me=o("6VBw"),Be=function(Ir,Zr){return g.createElement(Me.a,Object(l.a)(Object(l.a)({},Ir),{},{ref:Zr,icon:Se}))};Be.displayName="CaretUpOutlined";var Qe=g.forwardRef(Be),Ve=o("d+VM");function Ye(Yt,Ir){return"key"in Yt&&Yt.key!==void 0&&Yt.key!==null?Yt.key:Yt.dataIndex?Array.isArray(Yt.dataIndex)?Yt.dataIndex.join("."):Yt.dataIndex:Ir}function pt(Yt,Ir){return Ir?"".concat(Ir,"-").concat(Yt):"".concat(Yt)}function ht(Yt,Ir){return typeof Yt=="function"?Yt(Ir):Yt}var Vt="ascend",dr="descend";function tr(Yt){return Object(w.a)(Yt.sorter)==="object"&&typeof Yt.sorter.multiple=="number"?Yt.sorter.multiple:!1}function ir(Yt){return typeof Yt=="function"?Yt:Yt&&Object(w.a)(Yt)==="object"&&Yt.compare?Yt.compare:!1}function _t(Yt,Ir){return Ir?Yt[Yt.indexOf(Ir)+1]:Yt[0]}function gr(Yt,Ir,Zr){var He=[];function gt(Xt,zt){He.push({column:Xt,key:Ye(Xt,zt),multiplePriority:tr(Xt),sortOrder:Xt.sortOrder})}return(Yt||[]).forEach(function(Xt,zt){var vr=pt(zt,Zr);Xt.children?("sortOrder"in Xt&>(Xt,vr),He=[].concat(Object(e.a)(He),Object(e.a)(gr(Xt.children,Ir,vr)))):Xt.sorter&&("sortOrder"in Xt?gt(Xt,vr):Ir&&Xt.defaultSortOrder&&He.push({column:Xt,key:Ye(Xt,vr),multiplePriority:tr(Xt),sortOrder:Xt.defaultSortOrder}))}),He}function jt(Yt,Ir,Zr,He,gt,Xt,zt,vr){return(Ir||[]).map(function(or,Vr){var Kr=pt(Vr,vr),Dr=or;if(Dr.sorter){var dn=Dr.sortDirections||gt,on=Dr.showSorterTooltip===void 0?zt:Dr.showSorterTooltip,Cn=Ye(Dr,Kr),sn=Zr.find(function(Bi){var ci=Bi.key;return ci===Cn}),an=sn?sn.sortOrder:null,Yr=_t(dn,an),fn=dn.includes(Vt)&&g.createElement(Qe,{className:c()("".concat(Yt,"-column-sorter-up"),{active:an===Vt})}),vn=dn.includes(dr)&&g.createElement(ii.a,{className:c()("".concat(Yt,"-column-sorter-down"),{active:an===dr})}),Ln=Xt||{},oi=Ln.cancelSort,si=Ln.triggerAsc,Ni=Ln.triggerDesc,qn=oi;Yr===dr?qn=Ni:Yr===Vt&&(qn=si);var Pn=Object(w.a)(on)==="object"?on:{title:qn};Dr=Object(m.a)(Object(m.a)({},Dr),{className:c()(Dr.className,Object(f.a)({},"".concat(Yt,"-column-sort"),an)),title:function(ci){var wi=g.createElement("div",{className:"".concat(Yt,"-column-sorters")},g.createElement("span",{className:"".concat(Yt,"-column-title")},ht(or.title,ci)),g.createElement("span",{className:c()("".concat(Yt,"-column-sorter"),Object(f.a)({},"".concat(Yt,"-column-sorter-full"),!!(fn&&vn)))},g.createElement("span",{className:"".concat(Yt,"-column-sorter-inner")},fn,vn)));return on?g.createElement(Ve.a,Pn,wi):wi},onHeaderCell:function(ci){var wi=or.onHeaderCell&&or.onHeaderCell(ci)||{},fi=wi.onClick;return wi.onClick=function(ki){He({column:or,key:Cn,sortOrder:Yr,multiplePriority:tr(or)}),fi&&fi(ki)},wi.className=c()(wi.className,"".concat(Yt,"-column-has-sorters")),wi}})}return"children"in Dr&&(Dr=Object(m.a)(Object(m.a)({},Dr),{children:jt(Yt,Dr.children,Zr,He,gt,Xt,zt,Kr)})),Dr})}function Sr(Yt){var Ir=Yt.column,Zr=Yt.sortOrder;return{column:Ir,order:Zr,field:Ir.dataIndex,columnKey:Ir.key}}function Ar(Yt){var Ir=Yt.filter(function(Zr){var He=Zr.sortOrder;return He}).map(Sr);return Ir.length===0&&Yt.length?Object(m.a)(Object(m.a)({},Sr(Yt[Yt.length-1])),{column:void 0}):Ir.length<=1?Ir[0]||{}:Ir}function sr(Yt,Ir,Zr){var He=Ir.slice().sort(function(zt,vr){return vr.multiplePriority-zt.multiplePriority}),gt=Yt.slice(),Xt=He.filter(function(zt){var vr=zt.column.sorter,or=zt.sortOrder;return ir(vr)&&or});return Xt.length?gt.sort(function(zt,vr){for(var or=0;or<Xt.length;or+=1){var Vr=Xt[or],Kr=Vr.column.sorter,Dr=Vr.sortOrder,dn=ir(Kr);if(dn&&Dr){var on=dn(zt,vr,Dr);if(on!==0)return Dr===Vt?on:-on}}return 0}).map(function(zt){var vr=zt[Zr];return vr?Object(m.a)(Object(m.a)({},zt),Object(f.a)({},Zr,sr(vr,Ir,Zr))):zt}):gt}function ln(Yt){var Ir=Yt.prefixCls,Zr=Yt.mergedColumns,He=Yt.onSorterChange,gt=Yt.sortDirections,Xt=Yt.tableLocale,zt=Yt.showSorterTooltip,vr=g.useState(gr(Zr,!0)),or=Object(A.a)(vr,2),Vr=or[0],Kr=or[1],Dr=g.useMemo(function(){var an=!0,Yr=gr(Zr,!1);if(!Yr.length)return Vr;var fn=[];function vn(oi){an?fn.push(oi):fn.push(Object(m.a)(Object(m.a)({},oi),{sortOrder:null}))}var Ln=null;return Yr.forEach(function(oi){Ln===null?(vn(oi),oi.sortOrder&&(oi.multiplePriority===!1?an=!1:Ln=!0)):(Ln&&oi.multiplePriority!==!1||(an=!1),vn(oi))}),fn},[Zr,Vr]),dn=g.useMemo(function(){var an=Dr.map(function(Yr){var fn=Yr.column,vn=Yr.sortOrder;return{column:fn,order:vn}});return{sortColumns:an,sortColumn:an[0]&&an[0].column,sortOrder:an[0]&&an[0].order}},[Dr]);function on(an){var Yr;an.multiplePriority===!1||!Dr.length||Dr[0].multiplePriority===!1?Yr=[an]:Yr=[].concat(Object(e.a)(Dr.filter(function(fn){var vn=fn.key;return vn!==an.key})),[an]),Kr(Yr),He(Ar(Yr),Yr)}var Cn=function(Yr){return jt(Ir,Yr,Dr,on,gt,Xt,zt)},sn=function(){return Ar(Dr)};return[Cn,Dr,dn,sn]}var _n=o("Y+p1"),Wn=o.n(_n),Nn={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"},Mn=Nn,Gn=function(Ir,Zr){return g.createElement(Me.a,Object(l.a)(Object(l.a)({},Ir),{},{ref:Zr,icon:Mn}))};Gn.displayName="FilterFilled";var xn=g.forwardRef(Gn),mi=o("Fc8i"),rn=o("hpHF"),Ur=function(Ir){return g.createElement("div",{className:Ir.className,onClick:function(He){return He.stopPropagation()}},Ir.children)},cn=Ur,Qr=o("oMPz");function Vn(Yt){var Ir=g.useRef(Yt),Zr=Object(Qr.a)();return[function(){return Ir.current},function(He){Ir.current=He,Zr()}]}var Hn=Fr.a.SubMenu,li=Fr.a.Item;function Un(Yt){return Yt.some(function(Ir){var Zr=Ir.children;return Zr})}function gi(Yt){var Ir=Yt.filters,Zr=Yt.prefixCls,He=Yt.filteredKeys,gt=Yt.filterMultiple,Xt=Yt.locale;return Ir.length===0?g.createElement(li,{key:"empty"},g.createElement("div",{style:{margin:"16px 0"}},g.createElement(rn.a,{image:rn.a.PRESENTED_IMAGE_SIMPLE,description:Xt.filterEmptyText,imageStyle:{height:24}}))):Ir.map(function(zt,vr){var or=String(zt.value);if(zt.children)return g.createElement(Hn,{key:or||vr,title:zt.text,popupClassName:"".concat(Zr,"-dropdown-submenu")},gi({filters:zt.children,prefixCls:Zr,filteredKeys:He,filterMultiple:gt,locale:Xt}));var Vr=gt?cr.a:Wr.a;return g.createElement(li,{key:zt.value!==void 0?or:vr},g.createElement(Vr,{checked:He.includes(or)}),g.createElement("span",null,zt.text))})}function Bn(Yt){var Ir,Zr=Yt.tablePrefixCls,He=Yt.prefixCls,gt=Yt.column,Xt=Yt.dropdownPrefixCls,zt=Yt.columnKey,vr=Yt.filterMultiple,or=Yt.filterState,Vr=Yt.triggerFilter,Kr=Yt.locale,Dr=Yt.children,dn=Yt.getPopupContainer,on=gt.filterDropdownVisible,Cn=gt.onFilterDropdownVisibleChange,sn=g.useState(!1),an=Object(A.a)(sn,2),Yr=an[0],fn=an[1],vn=!!(or&&(((Ir=or.filteredKeys)===null||Ir===void 0?void 0:Ir.length)||or.forceFiltered)),Ln=function(la){fn(la),Cn==null||Cn(la)},oi=typeof on=="boolean"?on:Yr,si=or==null?void 0:or.filteredKeys,Ni=Vn(si||[]),qn=Object(A.a)(Ni,2),Pn=qn[0],Bi=qn[1],ci=function(la){var va=la.selectedKeys;Bi(va)};g.useEffect(function(){ci({selectedKeys:si||[]})},[si]);var wi=g.useState([]),fi=Object(A.a)(wi,2),ki=fi[0],fa=fi[1],zi=g.useRef(),ma=function(la){zi.current=window.setTimeout(function(){fa(la)})},aa=function(){window.clearTimeout(zi.current)};g.useEffect(function(){return function(){window.clearTimeout(zi.current)}},[]);var ya=function(la){var va=la&&la.length?la:null;if(va===null&&(!or||!or.filteredKeys))return null;if(Wn()(va,or==null?void 0:or.filteredKeys))return null;Vr({column:gt,key:zt,filteredKeys:va})},Ea=function(){Ln(!1),ya(Pn())},ca=function(){Bi([]),Ln(!1),ya([])},ka=function(){var la=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0},va=la.closeDropdown;va&&Ln(!1),ya(Pn())},wa=function(la){la&&si!==void 0&&Bi(si||[]),Ln(la),!la&&!gt.filterDropdown&&Ea()},_i=c()(Object(f.a)({},"".concat(Xt,"-menu-without-submenu"),!Un(gt.filters||[]))),xi;if(typeof gt.filterDropdown=="function")xi=gt.filterDropdown({prefixCls:"".concat(Xt,"-custom"),setSelectedKeys:function(la){return ci({selectedKeys:la})},selectedKeys:Pn(),confirm:ka,clearFilters:ca,filters:gt.filters,visible:oi});else if(gt.filterDropdown)xi=gt.filterDropdown;else{var ji=Pn()||[];xi=g.createElement(g.Fragment,null,g.createElement(Fr.a,{multiple:vr,prefixCls:"".concat(Xt,"-menu"),className:_i,onClick:aa,onSelect:ci,onDeselect:ci,selectedKeys:ji,getPopupContainer:dn,openKeys:ki,onOpenChange:ma},gi({filters:gt.filters||[],prefixCls:He,filteredKeys:Pn(),filterMultiple:vr,locale:Kr})),g.createElement("div",{className:"".concat(He,"-dropdown-btns")},g.createElement(mi.a,{type:"link",size:"small",disabled:ji.length===0,onClick:ca},Kr.filterReset),g.createElement(mi.a,{type:"primary",size:"small",onClick:Ea},Kr.filterConfirm)))}var Zi=g.createElement(cn,{className:"".concat(He,"-dropdown")},xi),Si;typeof gt.filterIcon=="function"?Si=gt.filterIcon(vn):gt.filterIcon?Si=gt.filterIcon:Si=g.createElement(xn,null);var Hi=g.useContext(Bt.b),Oa=Hi.direction;return g.createElement("div",{className:"".concat(He,"-column")},g.createElement("span",{className:"".concat(Zr,"-column-title")},Dr),g.createElement(Cr.a,{overlay:Zi,trigger:["click"],visible:oi,onVisibleChange:wa,getPopupContainer:dn,placement:Oa==="rtl"?"bottomLeft":"bottomRight"},g.createElement("span",{role:"button",tabIndex:-1,className:c()("".concat(He,"-trigger"),{active:vn}),onClick:function(la){la.stopPropagation()}},Si)))}var di=Bn;function qr(Yt,Ir,Zr){var He=[];return(Yt||[]).forEach(function(gt,Xt){var zt,vr=pt(Xt,Zr);if(gt.filters||"filterDropdown"in gt||"onFilter"in gt)if("filteredValue"in gt){var or=gt.filteredValue;"filterDropdown"in gt||(or=(zt=or==null?void 0:or.map(String))!==null&&zt!==void 0?zt:or),He.push({column:gt,key:Ye(gt,vr),filteredKeys:or,forceFiltered:gt.filtered})}else He.push({column:gt,key:Ye(gt,vr),filteredKeys:Ir&>.defaultFilteredValue?gt.defaultFilteredValue:void 0,forceFiltered:gt.filtered});"children"in gt&&(He=[].concat(Object(e.a)(He),Object(e.a)(qr(gt.children,Ir,vr))))}),He}function xr(Yt,Ir,Zr,He,gt,Xt,zt,vr){return Zr.map(function(or,Vr){var Kr=pt(Vr,vr),Dr=or.filterMultiple,dn=Dr===void 0?!0:Dr,on=or;if(on.filters||on.filterDropdown){var Cn=Ye(on,Kr),sn=He.find(function(an){var Yr=an.key;return Cn===Yr});on=Object(m.a)(Object(m.a)({},on),{title:function(Yr){return g.createElement(di,{tablePrefixCls:Yt,prefixCls:"".concat(Yt,"-filter"),dropdownPrefixCls:Ir,column:on,columnKey:Cn,filterState:sn,filterMultiple:dn,triggerFilter:gt,locale:zt,getPopupContainer:Xt},ht(or.title,Yr))}})}return"children"in on&&(on=Object(m.a)(Object(m.a)({},on),{children:xr(Yt,Ir,on.children,He,gt,Xt,zt,Kr)})),on})}function nn(Yt){var Ir=[];return(Yt||[]).forEach(function(Zr){var He=Zr.value,gt=Zr.children;Ir.push(He),gt&&(Ir=[].concat(Object(e.a)(Ir),Object(e.a)(nn(gt))))}),Ir}function gn(Yt){var Ir={};return Yt.forEach(function(Zr){var He=Zr.key,gt=Zr.filteredKeys,Xt=Zr.column,zt=Xt.filters,vr=Xt.filterDropdown;if(vr)Ir[He]=gt||null;else if(Array.isArray(gt)){var or=nn(zt);Ir[He]=or.filter(function(Vr){return gt.includes(String(Vr))})}else Ir[He]=null}),Ir}function On(Yt,Ir){return Ir.reduce(function(Zr,He){var gt=He.column,Xt=gt.onFilter,zt=gt.filters,vr=He.filteredKeys;return Xt&&vr&&vr.length?Zr.filter(function(or){return vr.some(function(Vr){var Kr=nn(zt),Dr=Kr.findIndex(function(on){return String(on)===String(Vr)}),dn=Dr!==-1?Kr[Dr]:Vr;return Xt(dn,or)})}):Zr},Yt)}function Fn(Yt){var Ir=Yt.prefixCls,Zr=Yt.dropdownPrefixCls,He=Yt.mergedColumns,gt=Yt.onFilterChange,Xt=Yt.getPopupContainer,zt=Yt.locale,vr=g.useState(qr(He,!0)),or=Object(A.a)(vr,2),Vr=or[0],Kr=or[1],Dr=g.useMemo(function(){var sn=qr(He,!1),an=sn.every(function(fn){var vn=fn.filteredKeys;return vn===void 0});if(an)return Vr;var Yr=sn.every(function(fn){var vn=fn.filteredKeys;return vn!==void 0});return Object(An.a)(an||Yr,"Table","`FilteredKeys` should all be controlled or not controlled."),sn},[He,Vr]),dn=g.useCallback(function(){return gn(Dr)},[Dr]),on=function(an){var Yr=Dr.filter(function(fn){var vn=fn.key;return vn!==an.key});Yr.push(an),Kr(Yr),gt(gn(Yr),Yr)},Cn=function(an){return xr(Ir,Zr,an,Dr,on,Xt,zt)};return[Cn,Dr,dn]}var zn=Fn;function $n(Yt,Ir){return Yt.map(function(Zr){var He=Object(m.a)({},Zr);return He.title=ht(Zr.title,Ir),"children"in He&&(He.children=$n(He.children,Ir)),He})}function Zn(Yt){var Ir=g.useCallback(function(Zr){return $n(Zr,Yt)},[Yt]);return[Ir]}function vi(Yt){return function(Zr){var He,gt=Zr.prefixCls,Xt=Zr.onExpand,zt=Zr.record,vr=Zr.expanded,or=Zr.expandable,Vr="".concat(gt,"-row-expand-icon");return g.createElement("button",{type:"button",onClick:function(Dr){Xt(zt,Dr),Dr.stopPropagation()},className:c()(Vr,(He={},Object(f.a)(He,"".concat(Vr,"-spaced"),!or),Object(f.a)(He,"".concat(Vr,"-expanded"),or&&vr),Object(f.a)(He,"".concat(Vr,"-collapsed"),or&&!vr),He)),"aria-label":vr?Yt.collapse:Yt.expand})}}var Pi=vi,Fi=o("egiQ"),ja=o("TYmi"),Qn=o("kc2O");function Xr(Yt){return null}var hi=Xr;function Ri(Yt){return null}var bi=Ri,Ui=o("h3u3"),ni=[];function qi(Yt){var Ir,Zr=Yt.prefixCls,He=Yt.className,gt=Yt.style,Xt=Yt.size,zt=Yt.bordered,vr=Yt.dropdownPrefixCls,or=Yt.dataSource,Vr=Yt.pagination,Kr=Yt.rowSelection,Dr=Yt.rowKey,dn=Yt.rowClassName,on=Yt.columns,Cn=Yt.children,sn=Yt.childrenColumnName,an=Yt.onChange,Yr=Yt.getPopupContainer,fn=Yt.loading,vn=Yt.expandIcon,Ln=Yt.expandable,oi=Yt.expandedRowRender,si=Yt.expandIconColumnIndex,Ni=Yt.indentSize,qn=Yt.scroll,Pn=Yt.sortDirections,Bi=Yt.locale,ci=Yt.showSorterTooltip,wi=ci===void 0?!0:ci;Object(An.a)(!(typeof Dr=="function"&&Dr.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var fi=Object(Ui.a)(),ki=g.useMemo(function(){var $a=new Set(Object.keys(fi).filter(function(Na){return fi[Na]}));return(on||ae(Cn)).filter(function(Na){return!Na.responsive||Na.responsive.some(function(Vo){return $a.has(Vo)})})},[Cn,on,fi]),fa=Object(h.a)(Yt,["className","style","columns"]),zi=g.useContext(Qn.b),ma=g.useContext(Bt.b),aa=ma.locale,ya=aa===void 0?ja.a:aa,Ea=ma.renderEmpty,ca=ma.direction,ka=Xt||zi,wa=Object(m.a)(Object(m.a)({},ya.Table),Bi),_i=or||ni,xi=g.useContext(Bt.b),ji=xi.getPrefixCls,Zi=ji("table",Zr),Si=ji("dropdown",vr),Hi=Object(m.a)({childrenColumnName:sn,expandIconColumnIndex:si},Ln),Oa=Hi.childrenColumnName,_a=Oa===void 0?"children":Oa,la=g.useMemo(function(){return _i.some(function($a){var Na;return(Na=$a)===null||Na===void 0?void 0:Na[_a]})?"nest":oi||Ln&&Ln.expandedRowRender?"row":null},[_i]),va={body:g.useRef()},Ma=g.useMemo(function(){return typeof Dr=="function"?Dr:function($a){var Na;return(Na=$a)===null||Na===void 0?void 0:Na[Dr]}},[Dr]),Xa=St(_i,_a,Ma),co=Object(A.a)(Xa,1),so=co[0],Ao={},io=function(Na,Vo){var Zo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Da=Object(m.a)(Object(m.a)({},Ao),Na);Zo&&(Ao.resetPagination(),Da.pagination.current&&(Da.pagination.current=1),Vr&&Vr.onChange&&Vr.onChange(1,Da.pagination.pageSize)),qn&&qn.scrollToFirstRowOnChange!==!1&&va.body.current&&Object(Fi.a)(0,{getContainer:function(){return va.body.current}}),an==null||an(Da.pagination,Da.filters,Da.sorter,{currentDataSource:On(sr(_i,Da.sorterStates,_a),Da.filterStates),action:Vo})},pa=function(Na,Vo){io({sorter:Na,sorterStates:Vo},"sort",!1)},ga=ln({prefixCls:Zi,mergedColumns:ki,onSorterChange:pa,sortDirections:Pn||["ascend","descend"],tableLocale:wa,showSorterTooltip:wi}),ba=Object(A.a)(ga,4),Oi=ba[0],Fa=ba[1],vo=ba[2],os=ba[3],Va=g.useMemo(function(){return sr(_i,Fa,_a)},[_i,Fa]);Ao.sorter=os(),Ao.sorterStates=Fa;var ao=function(Na,Vo){io({filters:Na,filterStates:Vo},"filter",!0)},Ga=zn({prefixCls:Zi,locale:wa,dropdownPrefixCls:Si,mergedColumns:ki,onFilterChange:ao,getPopupContainer:Yr}),yo=Object(A.a)(Ga,3),fo=yo[0],es=yo[1],To=yo[2],po=On(Va,es);Ao.filters=To(),Ao.filterStates=es;var Io=g.useMemo(function(){return Object(m.a)({},vo)},[vo]),zo=Zn(Io),ns=Object(A.a)(zo,1),Po=ns[0],Aa=function(Na,Vo){io({pagination:Object(m.a)(Object(m.a)({},Ao.pagination),{current:Na,pageSize:Vo})},"paginate")},Ja=Kt(po.length,Vr,Aa),Ba=Object(A.a)(Ja,2),$i=Ba[0],uo=Ba[1];Ao.pagination=Vr===!1?{}:yn(Vr,$i),Ao.resetPagination=uo;var Ha=g.useMemo(function(){if(Vr===!1||!$i.pageSize)return po;var $a=$i.current,Na=$a===void 0?1:$a,Vo=$i.total,Zo=$i.pageSize,Da=Zo===void 0?Nr:Zo;return Object(An.a)(Na>0,"Table","`current` should be positive number."),po.length<Vo?po.length>Da?(Object(An.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."),po.slice((Na-1)*Da,Na*Da)):po:po.slice((Na-1)*Da,Na*Da)},[!!Vr,po,$i&&$i.current,$i&&$i.pageSize,$i&&$i.total]),Yi=ai(Kr,{prefixCls:Zi,data:po,pageData:Ha,getRowKey:Ma,getRecordByKey:so,expandType:la,childrenColumnName:_a,locale:wa,expandIconColumnIndex:Hi.expandIconColumnIndex,getPopupContainer:Yr}),Qa=Object(A.a)(Yi,2),Mo=Qa[0],Qo=Qa[1],Jo=function(Na,Vo,Zo){var Da;return typeof dn=="function"?Da=c()(dn(Na,Vo,Zo)):Da=c()(dn),c()(Object(f.a)({},"".concat(Zi,"-row-selected"),Qo.has(Ma(Na,Vo))),Da)};Hi.__PARENT_RENDER_ICON__=Hi.expandIcon,Hi.expandIcon=Hi.expandIcon||vn||Pi(wa),la==="nest"&&Hi.expandIconColumnIndex===void 0?Hi.expandIconColumnIndex=Kr?1:0:Hi.expandIconColumnIndex>0&&Kr&&(Hi.expandIconColumnIndex-=1),typeof Hi.indentSize!="number"&&(Hi.indentSize=typeof Ni=="number"?Ni:15);var ua=g.useCallback(function($a){return Po(Mo(fo(Oi($a))))},[Oi,fo,Mo]),Ya,lo;if(Vr!==!1&&($i==null?void 0:$i.total)){var Ci;$i.size?Ci=$i.size:Ci=ka==="small"||ka==="middle"?"small":void 0;var Sa=function(Na){return g.createElement(st.a,Object(m.a)({className:"".concat(Zi,"-pagination ").concat(Zi,"-pagination-").concat(Na)},$i,{size:Ci}))},bo=ca==="rtl"?"left":"right",Fo=$i.position;if(Fo!==null&&Array.isArray(Fo)){var Oo=Fo.find(function($a){return $a.indexOf("top")!==-1}),gs=Fo.find(function($a){return $a.indexOf("bottom")!==-1}),ds=Fo.every(function($a){return"".concat($a)==="none"});!Oo&&!gs&&!ds&&(lo=Sa(bo)),Oo&&(Ya=Sa(Oo.toLowerCase().replace("top",""))),gs&&(lo=Sa(gs.toLowerCase().replace("bottom","")))}else lo=Sa(bo)}var hs;typeof fn=="boolean"?hs={spinning:fn}:Object(w.a)(fn)==="object"&&(hs=Object(m.a)({spinning:!0},fn));var ss=c()("".concat(Zi,"-wrapper"),Object(f.a)({},"".concat(Zi,"-wrapper-rtl"),ca==="rtl"),He);return g.createElement("div",{className:ss,style:gt},g.createElement(Ge.a,Object(m.a)({spinning:!1},hs),Ya,g.createElement(Pe,Object(m.a)({},fa,{columns:ki,direction:ca,expandable:Hi,prefixCls:Zi,className:c()((Ir={},Object(f.a)(Ir,"".concat(Zi,"-middle"),ka==="middle"),Object(f.a)(Ir,"".concat(Zi,"-small"),ka==="small"),Object(f.a)(Ir,"".concat(Zi,"-bordered"),zt),Object(f.a)(Ir,"".concat(Zi,"-empty"),_i.length===0),Ir)),data:Ha,rowKey:Ma,rowClassName:Jo,emptyText:Bi&&Bi.emptyText||Ea("Table"),internalHooks:fr,internalRefs:va,transformColumns:ua})),lo))}qi.defaultProps={rowKey:"key"},qi.SELECTION_ALL=bn,qi.SELECTION_INVERT=Sn,qi.SELECTION_NONE=kn,qi.Column=hi,qi.ColumnGroup=bi,qi.Summary=tt;var Qi=qi,ha=B.a=Qi},K2GJ:function(M,B,o){var w=o("fW2E"),f=o("gut8"),A=f.ContextCachedBy,m=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],g=function(r){this.extendFrom(r,!1)};function p(i,r,a){var t=r.x==null?0:r.x,s=r.x2==null?1:r.x2,u=r.y==null?0:r.y,d=r.y2==null?0:r.y2;r.global||(t=t*a.width+a.x,s=s*a.width+a.x,u=u*a.height+a.y,d=d*a.height+a.y),t=isNaN(t)?0:t,s=isNaN(s)?1:s,u=isNaN(u)?0:u,d=isNaN(d)?0:d;var v=i.createLinearGradient(t,u,s,d);return v}function c(i,r,a){var t=a.width,s=a.height,u=Math.min(t,s),d=r.x==null?.5:r.x,v=r.y==null?.5:r.y,y=r.r==null?.5:r.r;r.global||(d=d*t+a.x,v=v*s+a.y,y=y*u);var S=i.createRadialGradient(d,v,0,d,v,y);return S}g.prototype={constructor:g,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(r,a,t){var s=this,u=t&&t.style,d=!u||r.__attrCachedBy!==A.STYLE_BIND;r.__attrCachedBy=A.STYLE_BIND;for(var v=0;v<m.length;v++){var y=m[v],S=y[0];(d||s[S]!==u[S])&&(r[S]=w(r,S,s[S]||y[1]))}if((d||s.fill!==u.fill)&&(r.fillStyle=s.fill),(d||s.stroke!==u.stroke)&&(r.strokeStyle=s.stroke),(d||s.opacity!==u.opacity)&&(r.globalAlpha=s.opacity==null?1:s.opacity),(d||s.blend!==u.blend)&&(r.globalCompositeOperation=s.blend||"source-over"),this.hasStroke()){var b=s.lineWidth;r.lineWidth=b/(this.strokeNoScale&&a&&a.getLineScale?a.getLineScale():1)}},hasFill:function(){var r=this.fill;return r!=null&&r!=="none"},hasStroke:function(){var r=this.stroke;return r!=null&&r!=="none"&&this.lineWidth>0},extendFrom:function(r,a){if(r)for(var t in r)r.hasOwnProperty(t)&&(a===!0||(a===!1?!this.hasOwnProperty(t):r[t]!=null))&&(this[t]=r[t])},set:function(r,a){typeof r=="string"?this[r]=a:this.extendFrom(r,!0)},clone:function(){var r=new this.constructor;return r.extendFrom(this,!0),r},getGradient:function(r,a,t){for(var s=a.type==="radial"?c:p,u=s(r,a,t),d=a.colorStops,v=0;v<d.length;v++)u.addColorStop(d[v].offset,d[v].color);return u}};for(var h=g.prototype,l=0;l<m.length;l++){var e=m[l];e[0]in h||(h[e[0]]=e[1])}g.getGradient=h.getGradient;var n=g;M.exports=n},K4ya:function(M,B,o){var w=o("bYtY"),f=o("XxSj"),A=w.each;function m(l){if(l){for(var e in l)if(l.hasOwnProperty(e))return!0}}function g(l,e,n){var i={};return A(e,function(a){var t=i[a]=r();A(l[a],function(s,u){if(!f.isValidType(u))return;var d={type:u,visual:s};n&&n(d,a),t[u]=new f(d),u==="opacity"&&(d=w.clone(d),d.type="colorAlpha",t.__hidden.__alphaForOpacity=new f(d))})}),i;function r(){var a=function(){};a.prototype.__hidden=a.prototype;var t=new a;return t}}function p(l,e,n){var i;w.each(n,function(r){e.hasOwnProperty(r)&&m(e[r])&&(i=!0)}),i&&w.each(n,function(r){e.hasOwnProperty(r)&&m(e[r])?l[r]=w.clone(e[r]):delete l[r]})}function c(l,e,n,i,r,a){var t={};w.each(l,function(y){var S=f.prepareVisualTypes(e[y]);t[y]=S});var s;function u(y){return n.getItemVisual(s,y)}function d(y,S){n.setItemVisual(s,y,S)}a==null?n.each(v):n.each([a],v);function v(y,S){s=a==null?y:S;var b=n.getRawDataItem(s);if(b&&b.visualMap===!1)return;for(var E=i.call(r,y),C=e[E],T=t[E],x=0,_=T.length;x<_;x++){var I=T[x];C[I]&&C[I].applyVisual(y,u,d)}}}function h(l,e,n,i){var r={};w.each(l,function(t){var s=f.prepareVisualTypes(e[t]);r[t]=s});function a(t,s){i!=null&&(i=s.getDimension(i));function u(I){return s.getItemVisual(v,I)}function d(I,L){s.setItemVisual(v,I,L)}for(var v;(v=t.next())!=null;){var y=s.getRawDataItem(v);if(y&&y.visualMap===!1)continue;for(var S=i!=null?s.get(i,v,!0):v,b=n(S),E=e[b],C=r[b],T=0,x=C.length;T<x;T++){var _=C[T];E[_]&&E[_].applyVisual(S,u,d)}}}return{progress:a}}B.createVisualMappings=g,B.replaceVisualOption=p,B.applyVisual=c,B.incrementalApplyVisual=h},KCsZ:function(M,B,o){var w=o("bYtY");function f(A){for(var m=0;m<A.length;m++)A[m][1]||(A[m][1]=A[m][0]);return function(g,p,c){for(var h={},l=0;l<A.length;l++){var e=A[l][1];if(p&&w.indexOf(p,e)>=0||c&&w.indexOf(c,e)<0)continue;var n=g.getShallow(e);n!=null&&(h[A[l][0]]=n)}return h}}M.exports=f},KS52:function(M,B,o){var w=o("OELB"),f=w.parsePercent,A=w.linearMap,m=o("+TT/"),g=o("u3DP"),p=o("bYtY"),c=Math.PI*2,h=Math.PI/180;function l(n,i){return m.getLayoutRect(n.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})}function e(n,i,r,a){i.eachSeriesByType(n,function(t){var s=t.getData(),u=s.mapDimension("value"),d=l(t,r),v=t.get("center"),y=t.get("radius");p.isArray(y)||(y=[0,y]),p.isArray(v)||(v=[v,v]);var S=f(d.width,r.getWidth()),b=f(d.height,r.getHeight()),E=Math.min(S,b),C=f(v[0],S)+d.x,T=f(v[1],b)+d.y,x=f(y[0],E/2),_=f(y[1],E/2),I=-t.get("startAngle")*h,L=t.get("minAngle")*h,R=0;s.each(u,function(Y){!isNaN(Y)&&R++});var k=s.getSum(u),F=Math.PI/(k||R)*2,P=t.get("clockwise"),W=t.get("roseType"),D=t.get("stillShowZeroSum"),U=s.getDataExtent(u);U[0]=0;var H=c,j=0,K=I,X=P?1:-1;if(s.each(u,function(Y,$){var ne;if(isNaN(Y)){s.setItemLayout($,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:P,cx:C,cy:T,r0:x,r:W?NaN:_,viewRect:d});return}W!=="area"?ne=k===0&&D?F:Y*F:ne=c/R,ne<L?(ne=L,H-=L):j+=Y;var J=K+X*ne;s.setItemLayout($,{angle:ne,startAngle:K,endAngle:J,clockwise:P,cx:C,cy:T,r0:x,r:W?A(Y,U,[x,_]):_,viewRect:d}),K=J}),H<c&&R)if(H<=.001){var z=c/R;s.each(u,function(Y,$){if(!isNaN(Y)){var ne=s.getItemLayout($);ne.angle=z,ne.startAngle=I+X*$*z,ne.endAngle=I+X*($+1)*z}})}else F=H/j,K=I,s.each(u,function(Y,$){if(!isNaN(Y)){var ne=s.getItemLayout($),J=ne.angle===L?L:Y*F;ne.startAngle=K,ne.endAngle=K+X*J,K+=X*J}});g(t,_,d.width,d.height,d.x,d.y)})}M.exports=e},KUOm:function(M,B){function o(w){var f={};w.eachSeriesByType("graph",function(A){var m=A.getCategoriesData(),g=A.getData(),p={};m.each(function(c){var h=m.getName(c);p["ec-"+h]=c;var l=m.getItemModel(c),e=l.get("itemStyle.color")||A.getColorFromPalette(h,f);m.setItemVisual(c,"color",e);for(var n=["opacity","symbol","symbolSize","symbolKeepAspect"],i=0;i<n.length;i++){var r=l.getShallow(n[i],!0);r!=null&&m.setItemVisual(c,n[i],r)}}),m.count()&&g.each(function(c){var h=g.getItemModel(c),l=h.getShallow("category");if(l!=null){typeof l=="string"&&(l=p["ec-"+l]);for(var e=["color","opacity","symbol","symbolSize","symbolKeepAspect"],n=0;n<e.length;n++)g.getItemVisual(c,e[n],!0)==null&&g.setItemVisual(c,e[n],m.getItemVisual(l,e[n]))}})})}M.exports=o},Kagy:function(M,B){var o={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:""}}}};M.exports=o},KamJ:function(M,B,o){var w=o("ProS"),f=o("szbU");o("vF/C"),o("qwVE"),o("BuqR"),o("AE9C"),o("1u/T"),w.registerPreprocessor(f)},KxBF:function(M,B){function o(w,f,A){var m=-1,g=w.length;f<0&&(f=-f>g?0:g+f),A=A>g?g:A,A<0&&(A+=g),g=f>A?0:A-f>>>0,f>>>=0;for(var p=Array(g);++m<g;)p[m]=w[m+f];return p}M.exports=o},KxfA:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=A.isTypedArray,g=A.extend,p=A.assert,c=A.each,h=A.isObject,l=o("4NO4"),e=l.getDataItemValue,n=l.isDataItemOption,i=o("OELB"),r=i.parseDate,a=o("7G+c"),t=o("k9D9"),s=t.SOURCE_FORMAT_TYPED_ARRAY,u=t.SOURCE_FORMAT_ARRAY_ROWS,d=t.SOURCE_FORMAT_ORIGINAL,v=t.SOURCE_FORMAT_OBJECT_ROWS;function y(P,W){a.isInstance(P)||(P=a.seriesDataToSource(P)),this._source=P;var D=this._data=P.data,U=P.sourceFormat;U===s&&(this._offset=0,this._dimSize=W,this._data=D);var H=b[U===u?U+"_"+P.seriesLayoutBy:U];g(this,H)}var S=y.prototype;S.pure=!1,S.persistent=!0,S.getSource=function(){return this._source};var b={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(P){return this._data[P+this._source.startIndex]},appendData:T},arrayRows_row:{pure:!0,count:function(){var P=this._data[0];return P?Math.max(0,P.length-this._source.startIndex):0},getItem:function(P){P+=this._source.startIndex;for(var W=[],D=this._data,U=0;U<D.length;U++){var H=D[U];W.push(H?H[P]:null)}return W},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:E,getItem:C,appendData:T},keyedColumns:{pure:!0,count:function(){var P=this._source.dimensionsDefine[0].name,W=this._data[P];return W?W.length:0},getItem:function(P){for(var W=[],D=this._source.dimensionsDefine,U=0;U<D.length;U++){var H=this._data[D[U].name];W.push(H?H[P]:null)}return W},appendData:function(P){var W=this._data;c(P,function(D,U){for(var H=W[U]||(W[U]=[]),j=0;j<(D||[]).length;j++)H.push(D[j])})}},original:{count:E,getItem:C,appendData:T},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(P,W){P=P-this._offset,W=W||[];for(var D=this._dimSize*P,U=0;U<this._dimSize;U++)W[U]=this._data[D+U];return W},appendData:function(P){this._data=P},clean:function(){this._offset+=this.count(),this._data=null}}};function E(){return this._data.length}function C(P){return this._data[P]}function T(P){for(var W=0;W<P.length;W++)this._data.push(P[W])}var x={arrayRows:_,objectRows:function(P,W,D,U){return D!=null?P[U]:P},keyedColumns:_,original:function(P,W,D,U){var H=e(P);return D==null||!(H instanceof Array)?H:H[D]},typedArray:_};function _(P,W,D,U){return D!=null?P[D]:P}var I={arrayRows:L,objectRows:function(P,W,D,U){return R(P[W],this._dimensionInfos[W])},keyedColumns:L,original:function(P,W,D,U){var H=P&&(P.value==null?P:P.value);return!this._rawData.pure&&n(P)&&(this.hasItemOption=!0),R(H instanceof Array?H[U]:H,this._dimensionInfos[W])},typedArray:function(P,W,D,U){return P[U]}};function L(P,W,D,U){return R(P[U],this._dimensionInfos[W])}function R(P,W){var D=W&&W.type;if(D==="ordinal"){var U=W&&W.ordinalMeta;return U?U.parseAndCollect(P):P}return D==="time"&&typeof P!="number"&&P!=null&&P!=="-"&&(P=+r(P)),P==null||P===""?NaN:+P}function k(P,W,D){if(!P)return;var U=P.getRawDataItem(W);if(U==null)return;var H=P.getProvider().getSource().sourceFormat,j,K,X=P.getDimensionInfo(D);return X&&(j=X.name,K=X.index),x[H](U,W,K,j)}function F(P,W,D){if(!P)return;var U=P.getProvider().getSource().sourceFormat;if(U!==d&&U!==v)return;var H=P.getRawDataItem(W);if(U===d&&!h(H)&&(H=null),H)return H[D]}B.DefaultDataProvider=y,B.defaultDimValueGetters=I,B.retrieveRawValue=k,B.retrieveRawAttr=F},L0Ub:function(M,B,o){var w=o("bYtY"),f=w.each,A=w.createHashMap,m=w.assert,g=o("Tghj"),p=g.__DEV__,c=A(["tooltip","label","itemName","itemId","seriesName"]);function h(i){var r={},a=r.encode={},t=A(),s=[],u=[],d=r.userOutput={dimensionNames:i.dimensions.slice(),encode:{}};f(i.dimensions,function(E){var C=i.getDimensionInfo(E),T=C.coordDim;if(T){var x=C.coordDimIndex;l(a,T)[x]=E,C.isExtraCoord||(t.set(T,1),n(C.type)&&(s[0]=E),l(d.encode,T)[x]=C.index),C.defaultTooltip&&u.push(E)}c.each(function(_,I){var L=l(a,I),R=C.otherDims[I];R!=null&&R!==!1&&(L[R]=C.name)})});var v=[],y={};t.each(function(E,C){var T=a[C];y[C]=T[0],v=v.concat(T)}),r.dataDimsOnCoord=v,r.encodeFirstDimNotExtra=y;var S=a.label;S&&S.length&&(s=S.slice());var b=a.tooltip;return b&&b.length?u=b.slice():u.length||(u=s.slice()),a.defaultedLabel=s,a.defaultedTooltip=u,r}function l(i,r){return i.hasOwnProperty(r)||(i[r]=[]),i[r]}function e(i){return i==="category"?"ordinal":i==="time"?"time":"float"}function n(i){return!(i==="ordinal"||i==="time")}B.OTHER_DIMENSIONS=c,B.summarizeDimensions=h,B.getDimensionTypeByAxis=e},L1ta:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("pjaq"),m=o.n(A),g=o("mXxy"),p=o("jOhD")},L3Oj:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("HjIi");o("HM/N"),o("9eas"),o("eS4l"),o("y4/Y"),o("as94"),w.registerLayout(f.curry(A,"bar")),w.extendComponentView({type:"polar"})},L5E0:function(M,B){var o=["itemStyle","borderColor"];function w(f,A){var m=f.get("color");f.eachRawSeriesByType("boxplot",function(g){var p=m[g.seriesIndex%m.length],c=g.getData();c.setVisual({legendSymbol:"roundRect",color:g.get(o)||p}),f.isSeriesFiltered(g)||c.each(function(h){var l=c.getItemModel(h);c.setItemVisual(h,{color:l.get(o,!0)})})})}M.exports=w},LBfv:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=f.createHashMap,m=f.each;w.registerProcessor({getTargetSeries:function(g){var p=A();return g.eachComponent("dataZoom",function(c){c.eachTargetAxis(function(h,l,e){var n=e.getAxisProxy(h.name,l);m(n.getTargetSeriesModels(),function(i){p.set(i.uid,i)})})}),p},modifyOutputEnd:!0,overallReset:function(g,p){g.eachComponent("dataZoom",function(c){c.eachTargetAxis(function(h,l,e){e.getAxisProxy(h.name,l).reset(e,p)}),c.eachTargetAxis(function(h,l,e){e.getAxisProxy(h.name,l).filterData(e,p)})}),g.eachComponent("dataZoom",function(c){var h=c.findRepresentativeAxisProxy(),l=h.getDataPercentWindow(),e=h.getDataValueWindow();c.setCalculatedRange({start:l[0],end:l[1],startValue:e[0],endValue:e[1]})})}})},LCi9:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;function w(y,S){if(!(y instanceof S))throw new TypeError("Cannot call a class as a function")}function f(y,S){for(var b=0;b<S.length;b++){var E=S[b];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(y,E.key,E)}}function A(y,S,b){return S&&f(y.prototype,S),b&&f(y,b),y}var m=0,g=1,p=2,c=4,h=8,l=16,e=32,n=64,i=127,r=50,a=90,t=250,s=1e3,u=1e3,d=50,v=function(){function y(){w(this,y),this._target=null,this._state=i,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return A(y,[{key:"attach",value:function(b){this.detach(),this._target=b,this._target.addEventListener("touchstart",this._boundEventHandler),this._target.addEventListener("touchmove",this._boundEventHandler),this._target.addEventListener("touchend",this._boundEventHandler),this._target.addEventListener("touchcancel",this._boundEventHandler)}},{key:"detach",value:function(){if(!this._target)return;this._stopLongpressTimeout(),this._stopTwoTouchTimeout(),this._target.removeEventListener("touchstart",this._boundEventHandler),this._target.removeEventListener("touchmove",this._boundEventHandler),this._target.removeEventListener("touchend",this._boundEventHandler),this._target.removeEventListener("touchcancel",this._boundEventHandler),this._target=null}},{key:"_eventHandler",value:function(b){var E;b.stopPropagation(),b.preventDefault();switch(b.type){case"touchstart":E=this._touchStart;break;case"touchmove":E=this._touchMove;break;case"touchend":case"touchcancel":E=this._touchEnd;break}for(var C=0;C<b.changedTouches.length;C++){var T=b.changedTouches[C];E.call(this,T.identifier,T.clientX,T.clientY)}}},{key:"_touchStart",value:function(b,E,C){if(this._hasDetectedGesture()||this._state===m){this._ignored.push(b);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>t){this._state=m,this._ignored.push(b);return}if(this._waitingRelease){this._state=m,this._ignored.push(b);return}this._tracked.push({id:b,started:Date.now(),active:!0,firstX:E,firstY:C,lastX:E,lastY:C,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(g|h|l),this._stopLongpressTimeout();break;case 3:this._state&=~(p|e|n);break;default:this._state=m}}},{key:"_touchMove",value:function(b,E,C){var T=this._tracked.find(function(k){return k.id===b});if(T===void 0)return;T.lastX=E,T.lastY=C;var x=E-T.firstX,_=C-T.firstY;if((T.firstX!==T.lastX||T.firstY!==T.lastY)&&(T.angle=Math.atan2(_,x)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(x,_)<r)return;if(this._state&=~(g|p|c|l),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~h),this._tracked.length!==2&&(this._state&=~(e|n)),this._tracked.length===2){var I=this._tracked.find(function(k){return k.id!==b}),L=Math.hypot(I.firstX-I.lastX,I.firstY-I.lastY);if(L>r){var R=Math.abs(T.angle-I.angle);R=Math.abs((R+180)%360-180),R>a?this._state&=~e:this._state&=~n,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(b,E,C){if(this._ignored.indexOf(b)!==-1){this._ignored.splice(this._ignored.indexOf(b),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=i,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=m),!this._hasDetectedGesture()&&(this._state&=~(h|e|n),this._state&=~l,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(p|c);break;case 2:this._state&=~(g|c);break}}if(this._waitingRelease){Date.now()-this._releaseStart>t&&(this._state=m),this._tracked.some(function(_){return Date.now()-_.started>s})&&(this._state=m);var T=this._tracked.find(function(_){return _.id===b});if(T.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==m)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var x=0;x<this._tracked.length;x++)this._tracked[x].active&&this._ignored.push(this._tracked[x].id);this._tracked=[],this._state=m,this._ignored.indexOf(b)!==-1&&this._ignored.splice(this._ignored.indexOf(b),1),this._ignored.length===0&&(this._state=i,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state===m||this._state&this._state-1?!1:!(this._state&(g|p|c)&&this._tracked.some(function(b){return b.active}))}},{key:"_startLongpressTimeout",value:function(){var b=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return b._longpressTimeout()},u)}},{key:"_stopLongpressTimeout",value:function(){clearTimeout(this._longpressTimeoutId),this._longpressTimeoutId=null}},{key:"_longpressTimeout",value:function(){if(this._hasDetectedGesture())throw new Error("A longpress gesture failed, conflict with a different gesture");this._state=l,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var b=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return b._twoTouchTimeout()},d)}},{key:"_stopTwoTouchTimeout",value:function(){clearTimeout(this._twoTouchTimeoutId),this._twoTouchTimeoutId=null}},{key:"_isTwoTouchTimeoutRunning",value:function(){return this._twoTouchTimeoutId!==null}},{key:"_twoTouchTimeout",value:function(){if(this._tracked.length===0)throw new Error("A pinch or two drag gesture failed, no tracked touches");var b=this._getAverageMovement(),E=Math.abs(b.x),C=Math.abs(b.y),T=this._getAverageDistance(),x=Math.abs(Math.hypot(T.first.x,T.first.y)-Math.hypot(T.last.x,T.last.y));C<x&&E<x?this._state=n:this._state=e,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(b){var E={type:this._stateToGesture(this._state)},C=this._getPosition(),T=C.last;b==="gesturestart"&&(T=C.first);switch(this._state){case e:case n:T=C.first;break}if(E.clientX=T.x,E.clientY=T.y,this._state===n){var x=this._getAverageDistance();b==="gesturestart"?(E.magnitudeX=x.first.x,E.magnitudeY=x.first.y):(E.magnitudeX=x.last.x,E.magnitudeY=x.last.y)}else if(this._state===e)if(b==="gesturestart")E.magnitudeX=0,E.magnitudeY=0;else{var _=this._getAverageMovement();E.magnitudeX=_.x,E.magnitudeY=_.y}var I=new CustomEvent(b,{detail:E});this._target.dispatchEvent(I)}},{key:"_stateToGesture",value:function(b){switch(b){case g:return"onetap";case p:return"twotap";case c:return"threetap";case h:return"drag";case l:return"longpress";case e:return"twodrag";case n:return"pinch"}throw new Error("Unknown gesture state: "+b)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var b=this._tracked.length,E=0,C=0,T=0,x=0,_=0;_<this._tracked.length;_++)E+=this._tracked[_].firstX,C+=this._tracked[_].firstY,T+=this._tracked[_].lastX,x+=this._tracked[_].lastY;return{first:{x:E/b,y:C/b},last:{x:T/b,y:x/b}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var b,E;b=E=0;for(var C=this._tracked.length,T=0;T<this._tracked.length;T++)b+=this._tracked[T].lastX-this._tracked[T].firstX,E+=this._tracked[T].lastY-this._tracked[T].firstY;return{x:b/C,y:E/C}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var b=this._tracked[0],E=this._tracked[this._tracked.length-1],C=Math.abs(E.firstX-b.firstX),T=Math.abs(E.firstY-b.firstY),x=Math.abs(E.lastX-b.lastX),_=Math.abs(E.lastY-b.lastY);return{first:{x:C,y:T},last:{x,y:_}}}}]),y}();B.default=v},LPTA:function(M,B){var o=1;typeof window!="undefined"&&(o=Math.max(window.devicePixelRatio||1,1));var w=0,f=o;B.debugMode=w,B.devicePixelRatio=f},LPzL:function(M,B,o){var w=o("ProS");o("QzjZ"),o("vL6D"),o("xiyX"),o("y4/Y"),o("8Th4"),w.extendComponentView({type:"single"})},LSTS:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var w=function(){function i(r,a){for(var t=0;t<a.length;t++){var s=a[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(r,s.key,s)}}return function(r,a,t){return a&&i(r.prototype,a),t&&i(r,t),r}}(),f=o("q1tI"),A=p(f),m=o("17x9"),g=p(m);function p(i){return i&&i.__esModule?i:{default:i}}function c(i,r){var a={};for(var t in i){if(r.indexOf(t)>=0)continue;if(!Object.prototype.hasOwnProperty.call(i,t))continue;a[t]=i[t]}return a}function h(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function l(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function e(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var n=function(i){e(r,i);function r(a){h(this,r);var t=l(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,a));return t.scrollListener=t.scrollListener.bind(t),t.eventListenerOptions=t.eventListenerOptions.bind(t),t.mousewheelListener=t.mousewheelListener.bind(t),t}return w(r,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var 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(u){}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,u=this.getParentElement(t),d=void 0;if(this.props.useWindow){var v=document.documentElement||document.body.parentNode||document.body,y=s.pageYOffset!==void 0?s.pageYOffset:v.scrollTop;this.props.isReverse?d=y:d=this.calculateOffset(t,y)}else this.props.isReverse?d=u.scrollTop:d=t.scrollHeight-u.scrollTop-u.clientHeight;d<Number(this.props.threshold)&&t&&t.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=u.scrollHeight,this.beforeScrollTop=u.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(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),u=s.children,d=s.element,v=s.hasMore,y=s.initialLoad,S=s.isReverse,b=s.loader,E=s.loadMore,C=s.pageStart,T=s.ref,x=s.threshold,_=s.useCapture,I=s.useWindow,L=s.getScrollParent,R=c(s,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);R.ref=function(F){t.scrollComponent=F,T&&T(F)};var k=[u];return v&&(b?S?k.unshift(b):k.push(b):this.defaultLoader&&(S?k.unshift(this.defaultLoader):k.push(this.defaultLoader))),A.default.createElement(d,R,k)}}]),r}(f.Component);n.propTypes={children:g.default.node.isRequired,element:g.default.node,hasMore:g.default.bool,initialLoad:g.default.bool,isReverse:g.default.bool,loader:g.default.node,loadMore:g.default.func.isRequired,pageStart:g.default.number,ref:g.default.func,getScrollParent:g.default.func,threshold:g.default.number,useCapture:g.default.bool,useWindow:g.default.bool},n.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},B.default=n,M.exports=B.default},LVeG:function(M,B,o){"use strict";var w=o("+QfB"),f=o("l5UB"),A=o("OO/H")},LZL9:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},f=w;B.default=f},Ldeo:function(M,B,o){"use strict";var w=o("wx14"),f=o("1OyB"),A=o("vuIU"),m=o("JX7q"),g=o("Ji7U"),p=o("LK+K"),c=o("rePB"),h=o("q1tI"),l=o("Ff2n"),e=o("KQm4"),n=o("uciX"),i=o("2W6z"),r=o.n(i),a=o("4IlW"),t=o("uK0f"),s=o.n(t);function u(ue,Ne){if(ue===Ne)return!0;if(!ue||!Ne)return!1;var Fe=ue.length;if(Ne.length!==Fe)return!1;for(var ae=0;ae<Fe;ae++)if(ue[ae]!==Ne[ae])return!1;return!0}var d=function(ue){Object(g.a)(Fe,ue);var Ne=Object(p.a)(Fe);function Fe(){var ae;return Object(f.a)(this,Fe),ae=Ne.apply(this,arguments),ae.menuItems={},ae.saveMenuItem=function(ce){return function(_e){ae.menuItems[ce]=_e}},ae}return Object(A.a)(Fe,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(ce){!ce.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(ce){var _e=this.props,ze=_e.fieldNames,it=_e.defaultFieldNames;return ze[ce]||it[ce]}},{key:"getOption",value:function(ce,_e){var ze=this.props,it=ze.prefixCls,Ze=ze.expandTrigger,Ee=ze.expandIcon,mt=ze.loadingIcon,Je=this.props.onSelect.bind(this,ce,_e),rt=this.props.onItemDoubleClick.bind(this,ce,_e),wt={onClick:Je,onDoubleClick:rt},Ot="".concat(it,"-menu-item"),Ct=null,Dt=ce[this.getFieldName("children")]&&ce[this.getFieldName("children")].length>0;(Dt||ce.isLeaf===!1)&&(Ot+=" ".concat(it,"-menu-item-expand"),ce.loading||(Ct=h.createElement("span",{className:"".concat(it,"-menu-item-expand-icon")},Ee))),Ze==="hover"&&(Dt||ce.isLeaf===!1)&&(wt={onMouseEnter:this.delayOnSelect.bind(this,Je),onMouseLeave:this.delayOnSelect.bind(this),onClick:Je}),this.isActiveOption(ce,_e)&&(Ot+=" ".concat(it,"-menu-item-active"),wt.ref=this.saveMenuItem(_e)),ce.disabled&&(Ot+=" ".concat(it,"-menu-item-disabled"));var Xe=null;ce.loading&&(Ot+=" ".concat(it,"-menu-item-loading"),Xe=mt||null);var q="";return"title"in ce?q=ce.title:typeof ce[this.getFieldName("label")]=="string"&&(q=ce[this.getFieldName("label")]),h.createElement("li",Object(w.a)({key:ce[this.getFieldName("value")],className:Ot,title:q},wt,{role:"menuitem",onMouseDown:function(Ae){return Ae.preventDefault()}}),ce[this.getFieldName("label")],Ct,Xe)}},{key:"getActiveOptions",value:function(ce){var _e=this,ze=this.props.options,it=ce||this.props.activeValue;return s()(ze,function(Ze,Ee){return Ze[_e.getFieldName("value")]===it[Ee]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var ce=this,_e=this.props.options,ze=this.getActiveOptions().map(function(it){return it[ce.getFieldName("children")]}).filter(function(it){return!!it&&it.length>0});return ze.unshift(_e),ze}},{key:"delayOnSelect",value:function(ce){for(var _e=this,ze=arguments.length,it=new Array(ze>1?ze-1:0),Ze=1;Ze<ze;Ze++)it[Ze-1]=arguments[Ze];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof ce=="function"&&(this.delayTimer=window.setTimeout(function(){ce(it),_e.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var ce=this.getShowOptions().length,_e=0;_e<ce;_e++){var ze=this.menuItems[_e];ze&&ze.parentElement&&(ze.parentElement.scrollTop=ze.offsetTop)}}},{key:"isActiveOption",value:function(ce,_e){var ze=this.props.activeValue,it=ze===void 0?[]:ze;return it[_e]===ce[this.getFieldName("value")]}},{key:"render",value:function(){var ce=this,_e=this.props,ze=_e.prefixCls,it=_e.dropdownMenuColumnStyle;return h.createElement("div",null,this.getShowOptions().map(function(Ze,Ee){return h.createElement("ul",{className:"".concat(ze,"-menu"),key:Ee,style:it},Ze.map(function(mt){return ce.getOption(mt,Ee)}))}))}}]),Fe}(h.Component);d.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"};var v=d,y={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}}},S=y,b=function(ue){Object(g.a)(Fe,ue);var Ne=Object(p.a)(Fe);function Fe(ae){var ce;Object(f.a)(this,Fe),ce=Ne.call(this,ae),ce.setPopupVisible=function(ze){var it=ce.state.value;"popupVisible"in ce.props||ce.setState({popupVisible:ze}),ze&&!ce.state.popupVisible&&ce.setState({activeValue:it}),ce.props.onPopupVisibleChange(ze)},ce.handleChange=function(ze,it,Ze){var Ee=it.visible;(Ze.type!=="keydown"||Ze.keyCode===a.a.ENTER)&&(ce.props.onChange(ze.map(function(mt){return mt[ce.getFieldName("value")]}),ze),ce.setPopupVisible(Ee))},ce.handlePopupVisibleChange=function(ze){ce.setPopupVisible(ze)},ce.handleMenuSelect=function(ze,it,Ze){var Ee=ce.trigger.getRootDomNode();Ee&&Ee.focus&&Ee.focus();var mt=ce.props,Je=mt.changeOnSelect,rt=mt.loadData,wt=mt.expandTrigger;if(!ze||ze.disabled)return;var Ot=ce.state.activeValue;Ot=Ot.slice(0,it+1),Ot[it]=ze[ce.getFieldName("value")];var Ct=ce.getActiveOptions(Ot);if(ze.isLeaf===!1&&!ze[ce.getFieldName("children")]&&rt){Je&&ce.handleChange(Ct,{visible:!0},Ze),ce.setState({activeValue:Ot}),rt(Ct);return}var Dt={};!ze[ce.getFieldName("children")]||!ze[ce.getFieldName("children")].length?(ce.handleChange(Ct,{visible:!1},Ze),Dt.value=Ot):Je&&(Ze.type==="click"||Ze.type==="keydown")&&(wt==="hover"?ce.handleChange(Ct,{visible:!1},Ze):ce.handleChange(Ct,{visible:!0},Ze),Dt.value=Ot),Dt.activeValue=Ot,("value"in ce.props||Ze.type==="keydown"&&Ze.keyCode!==a.a.ENTER)&&delete Dt.value,ce.setState(Dt)},ce.handleItemDoubleClick=function(){var ze=ce.props.changeOnSelect;ze&&ce.setPopupVisible(!1)},ce.handleKeyDown=function(ze){var it=ce.props.children;if(it&&it.props.onKeyDown){it.props.onKeyDown(ze);return}var Ze=Object(e.a)(ce.state.activeValue),Ee=Ze.length-1<0?0:Ze.length-1,mt=ce.getCurrentLevelOptions(),Je=mt.map(function(Ct){return Ct[ce.getFieldName("value")]}).indexOf(Ze[Ee]);if(ze.keyCode!==a.a.DOWN&&ze.keyCode!==a.a.UP&&ze.keyCode!==a.a.LEFT&&ze.keyCode!==a.a.RIGHT&&ze.keyCode!==a.a.ENTER&&ze.keyCode!==a.a.SPACE&&ze.keyCode!==a.a.BACKSPACE&&ze.keyCode!==a.a.ESC&&ze.keyCode!==a.a.TAB)return;if(!ce.state.popupVisible&&ze.keyCode!==a.a.BACKSPACE&&ze.keyCode!==a.a.LEFT&&ze.keyCode!==a.a.RIGHT&&ze.keyCode!==a.a.ESC&&ze.keyCode!==a.a.TAB){ce.setPopupVisible(!0),ce.props.onKeyDown&&ce.props.onKeyDown(ze);return}if(ze.keyCode===a.a.DOWN||ze.keyCode===a.a.UP){ze.preventDefault();var rt=Je;rt!==-1?ze.keyCode===a.a.DOWN?(rt+=1,rt=rt>=mt.length?0:rt):(rt-=1,rt=rt<0?mt.length-1:rt):rt=0,Ze[Ee]=mt[rt][ce.getFieldName("value")]}else if(ze.keyCode===a.a.LEFT||ze.keyCode===a.a.BACKSPACE)ze.preventDefault(),Ze.splice(Ze.length-1,1);else if(ze.keyCode===a.a.RIGHT)ze.preventDefault(),mt[Je]&&mt[Je][ce.getFieldName("children")]&&Ze.push(mt[Je][ce.getFieldName("children")][0][ce.getFieldName("value")]);else if(ze.keyCode===a.a.ESC||ze.keyCode===a.a.TAB){ce.setPopupVisible(!1),ce.props.onKeyDown&&ce.props.onKeyDown(ze);return}(!Ze||Ze.length===0)&&ce.setPopupVisible(!1);var wt=ce.getActiveOptions(Ze),Ot=wt[wt.length-1];ce.handleMenuSelect(Ot,wt.length-1,ze),ce.props.onKeyDown&&ce.props.onKeyDown(ze)},ce.saveTrigger=function(ze){ce.trigger=ze};var _e=[];return"value"in ae?_e=ae.value||[]:"defaultValue"in ae&&(_e=ae.defaultValue||[]),r()(!("filedNames"in ae),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),ce.state={popupVisible:ae.popupVisible,activeValue:_e,value:_e,prevProps:ae},ce.defaultFieldNames={label:"label",value:"value",children:"children"},ce}return Object(A.a)(Fe,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(ce){var _e=this.defaultFieldNames,ze=this.props,it=ze.fieldNames,Ze=ze.filedNames;return"filedNames"in this.props?Ze[ce]||_e[ce]:it[ce]||_e[ce]}},{key:"getFieldNames",value:function(){var ce=this.props,_e=ce.fieldNames,ze=ce.filedNames;return"filedNames"in this.props?ze:_e}},{key:"getCurrentLevelOptions",value:function(){var ce=this,_e=this.props.options,ze=_e===void 0?[]:_e,it=this.state.activeValue,Ze=it===void 0?[]:it,Ee=s()(ze,function(mt,Je){return mt[ce.getFieldName("value")]===Ze[Je]},{childrenKeyName:this.getFieldName("children")});return Ee[Ee.length-2]?Ee[Ee.length-2][this.getFieldName("children")]:Object(e.a)(ze).filter(function(mt){return!mt.disabled})}},{key:"getActiveOptions",value:function(ce){var _e=this;return s()(this.props.options||[],function(ze,it){return ze[_e.getFieldName("value")]===ce[it]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var ce=this.props,_e=ce.prefixCls,ze=ce.transitionName,it=ce.popupClassName,Ze=ce.options,Ee=Ze===void 0?[]:Ze,mt=ce.disabled,Je=ce.builtinPlacements,rt=ce.popupPlacement,wt=ce.children,Ot=ce.dropdownRender,Ct=Object(l.a)(ce,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),Dt=h.createElement("div",null),Xe="";Ee&&Ee.length>0?Dt=h.createElement(v,Object(w.a)({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Xe=" ".concat(_e,"-menus-empty");var q=Dt;return Ot&&(q=Ot(Dt)),h.createElement(n.a,Object(w.a)({ref:this.saveTrigger},Ct,{popupPlacement:rt,builtinPlacements:Je,popupTransitionName:ze,action:mt?[]:["click"],popupVisible:mt?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(_e,"-menus"),popupClassName:it+Xe,popup:q}),h.cloneElement(wt,{onKeyDown:this.handleKeyDown,tabIndex:mt?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(ce,_e){var ze=_e.prevProps,it=ze===void 0?{}:ze,Ze={prevProps:ce};return"value"in ce&&!u(it.value,ce.value)&&(Ze.value=ce.value||[],"loadData"in ce||(Ze.activeValue=ce.value||[])),"popupVisible"in ce&&(Ze.popupVisible=ce.popupVisible),Ze}}]),Fe}(h.Component);b.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:S,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"};var E=b,C=E,T=o("TSYQ"),x=o.n(T),_=o("bT9E"),I=o("jN4g"),L=o("8Skl"),R=o("UESt"),k=o("VTBJ"),F={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"},P=F,W=o("6VBw"),D=function(Ne,Fe){return h.createElement(W.a,Object(k.a)(Object(k.a)({},Ne),{},{ref:Fe,icon:P}))};D.displayName="RedoOutlined";var U=h.forwardRef(D),H=o("5bA4"),j=o("FIeM"),K=o("9R2V"),X=o("VM9+"),z=o("bq+4"),Y=o("kc2O"),$=o("kLeg"),ne=o("MZCN"),J=function(ue,Ne){var Fe={};for(var ae in ue)Object.prototype.hasOwnProperty.call(ue,ae)&&Ne.indexOf(ae)<0&&(Fe[ae]=ue[ae]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,ae=Object.getOwnPropertySymbols(ue);ce<ae.length;ce++)Ne.indexOf(ae[ce])<0&&Object.prototype.propertyIsEnumerable.call(ue,ae[ce])&&(Fe[ae[ce]]=ue[ae[ce]]);return Fe},ge=50,de="__KEEP_FILTERED_OPTION_VALUE";function Ie(ue,Ne,Fe){return ue.split(Ne).map(function(ae,ce){return ce===0?ae:[h.createElement("span",{className:"".concat(Fe,"-menu-item-keyword"),key:"seperator"},Ne),ae]})}function be(ue,Ne,Fe){return Ne.some(function(ae){return ae[Fe.label].indexOf(ue)>-1})}function Ce(ue,Ne,Fe,ae){return Ne.map(function(ce,_e){var ze=ce[ae.label],it=ze.indexOf(ue)>-1?Ie(ze,ue,Fe):ze;return _e===0?it:[" / ",it]})}function je(ue,Ne,Fe,ae){function ce(_e){return _e[ae.label].indexOf(Fe)>-1}return ue.findIndex(ce)-Ne.findIndex(ce)}function te(ue){var Ne=ue.fieldNames;return Ne}function ve(ue){var Ne=te(ue)||{},Fe={children:Ne.children||"children",label:Ne.label||"label",value:Ne.value||"value"};return Fe}function $e(ue,Ne){var Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],ae=ve(Ne),ce=[],_e=ae.children;return ue.forEach(function(ze){var it=Fe.concat(ze);(Ne.changeOnSelect||!ze[_e]||!ze[_e].length)&&ce.push(it),ze[_e]&&(ce=ce.concat($e(ze[_e],Ne,it)))}),ce}var Le=function(Ne){return Ne.join(" / ")};function he(ue){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(ue||[]).forEach(function(Fe){var ae=Ne.value||"value";Object(z.a)(ae in Fe,"Cascader","Not found `value` in `options`."),he(Fe[Ne.children||"children"],Ne)})}function ee(ue,Ne,Fe){var ae;return ae={},Object(c.a)(ae,Ne.value,"ANT_CASCADER_NOT_FOUND"),Object(c.a)(ae,Ne.label,Fe||ue("Cascader")),Object(c.a)(ae,"disabled",!0),Object(c.a)(ae,"isEmptyNode",!0),ae}var se=function(ue){Object(g.a)(Fe,ue);var Ne=Object(p.a)(Fe);function Fe(ae){var ce;return Object(f.a)(this,Fe),ce=Ne.call(this,ae),ce.cachedOptions=[],ce.setValue=function(_e){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in ce.props||ce.setState({value:_e});var it=ce.props.onChange;it==null||it(_e,ze)},ce.saveInput=function(_e){ce.input=_e},ce.handleChange=function(_e,ze){if(ce.setState({inputValue:""}),ze[0].__IS_FILTERED_OPTION){var it=ze[0][de]===void 0?_e[0]:ze[0][de],Ze=ze[0].path;ce.setValue(it,Ze);return}ce.setValue(_e,ze)},ce.handlePopupVisibleChange=function(_e){"popupVisible"in ce.props||ce.setState(function(it){return{popupVisible:_e,inputFocused:_e,inputValue:_e?it.inputValue:""}});var ze=ce.props.onPopupVisibleChange;ze==null||ze(_e)},ce.handleInputBlur=function(){ce.setState({inputFocused:!1})},ce.handleInputClick=function(_e){var ze=ce.state,it=ze.inputFocused,Ze=ze.popupVisible;(it||Ze)&&_e.stopPropagation()},ce.handleKeyDown=function(_e){(_e.keyCode===a.a.BACKSPACE||_e.keyCode===a.a.SPACE)&&_e.stopPropagation()},ce.handleInputChange=function(_e){var ze=ce.state.popupVisible,it=_e.target.value;ze||ce.handlePopupVisibleChange(!0),ce.setState({inputValue:it})},ce.clearSelection=function(_e){var ze=ce.state.inputValue;_e.preventDefault(),_e.stopPropagation(),ze?ce.setState({inputValue:""}):(ce.handlePopupVisibleChange(!1),ce.clearSelectionTimeout=setTimeout(function(){ce.setValue([])},200))},ce.renderCascader=function(_e,ze){var it=_e.getPopupContainer,Ze=_e.getPrefixCls,Ee=_e.renderEmpty,mt=_e.direction;return h.createElement(Y.b.Consumer,null,function(Je){var rt,wt,Ot,Ct,Dt=Object(m.a)(ce),Xe=Dt.props,q=Dt.state,V=Xe.prefixCls,Ae=Xe.inputPrefixCls,xe=Xe.children,re=Xe.placeholder,ot=re===void 0?ze.placeholder||"Please select":re,bt=Xe.size,tt=Xe.disabled,Tt=Xe.className,Gt=Xe.style,lr=Xe.allowClear,pr=Xe.showSearch,Rr=pr===void 0?!1:pr,xt=Xe.suffixIcon,It=Xe.expandIcon,At=Xe.notFoundContent,Zt=Xe.popupClassName,br=Xe.bordered,Lr=Xe.dropdownRender,Jr=J(Xe,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),In=bt||Je,Gr=q.value,Tr=q.inputFocused,fr=mt==="rtl",vt=Ze("cascader",V),ft=Ze("input",Ae),Te=x()((rt={},Object(c.a)(rt,"".concat(ft,"-lg"),In==="large"),Object(c.a)(rt,"".concat(ft,"-sm"),In==="small"),rt)),Pe=lr&&!tt&&Gr.length>0||q.inputValue?h.createElement(I.a,{className:"".concat(vt,"-picker-clear"),onClick:ce.clearSelection}):null,Ge=x()((wt={},Object(c.a)(wt,"".concat(vt,"-picker-arrow"),!0),Object(c.a)(wt,"".concat(vt,"-picker-arrow-expand"),q.popupVisible),wt)),st=x()("".concat(vt,"-picker"),(Ot={},Object(c.a)(Ot,"".concat(vt,"-picker-rtl"),fr),Object(c.a)(Ot,"".concat(vt,"-picker-with-value"),q.inputValue),Object(c.a)(Ot,"".concat(vt,"-picker-disabled"),tt),Object(c.a)(Ot,"".concat(vt,"-picker-").concat(In),!!In),Object(c.a)(Ot,"".concat(vt,"-picker-show-search"),!!Rr),Object(c.a)(Ot,"".concat(vt,"-picker-focused"),Tr),Object(c.a)(Ot,"".concat(vt,"-picker-borderless"),!br),Ot),Tt),Bt=Object(_.a)(Jr,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","filterOption","renderFilteredOption","sortFilteredOption","fieldNames"]),$t=Xe.options,Nr=ve(ce.props);$t&&$t.length>0?q.inputValue&&($t=ce.generateFilteredOptions(vt,Ee)):$t=[ee(Ee,Nr,At)],q.popupVisible?ce.cachedOptions=$t:$t=ce.cachedOptions;var yn={},un=($t||[]).length===1&&$t[0].isEmptyNode;un&&(yn.height="auto");var Kt=Rr.matchInputWidth!==!1;Kt&&(q.inputValue||un)&&ce.input&&(yn.width=ce.input.input.offsetWidth);var St;xt?St=Object($.c)(xt,h.createElement("span",{className:"".concat(vt,"-picker-arrow")},xt),function(){var Cr;return{className:x()((Cr={},Object(c.a)(Cr,xt.props.className,xt.props.className),Object(c.a)(Cr,"".concat(vt,"-picker-arrow"),!0),Cr))}}):St=h.createElement(L.a,{className:Ge});var kt=xe||h.createElement("span",{style:Gt,className:st},h.createElement("span",{className:"".concat(vt,"-picker-label")},ce.getLabel()),h.createElement(j.a,Object(w.a)({},Bt,{tabIndex:-1,ref:ce.saveInput,prefixCls:ft,placeholder:Gr&&Gr.length>0?void 0:ot,className:"".concat(vt,"-input ").concat(Te),value:q.inputValue,disabled:tt,readOnly:!Rr,autoComplete:Bt.autoComplete||"off",onClick:Rr?ce.handleInputClick:void 0,onBlur:Rr?ce.handleInputBlur:void 0,onKeyDown:ce.handleKeyDown,onChange:Rr?ce.handleInputChange:void 0})),Pe,St),Jt;It?Jt=It:Jt=fr?h.createElement(H.a,null):h.createElement(R.a,null);var Br=h.createElement("span",{className:"".concat(vt,"-menu-item-loading-icon")},h.createElement(U,{spin:!0})),Hr=Xe.getPopupContainer||it,$r=Object(_.a)(Xe,["inputIcon","expandIcon","loadingIcon","bordered","className"]),Ft=x()(Zt,(Ct={},Object(c.a)(Ct,"".concat(vt,"-menu-").concat(mt),mt==="rtl"),Object(c.a)(Ct,"".concat(vt,"-menu-empty"),$t.length===1&&$t[0].value==="ANT_CASCADER_NOT_FOUND"),Ct)),cr=Ze();return h.createElement(C,Object(w.a)({},$r,{prefixCls:vt,getPopupContainer:Hr,options:$t,value:Gr,popupVisible:q.popupVisible,onPopupVisibleChange:ce.handlePopupVisibleChange,onChange:ce.handleChange,dropdownMenuColumnStyle:yn,expandIcon:Jt,loadingIcon:Br,popupClassName:Ft,popupPlacement:ce.getPopupPlacement(mt),dropdownRender:Lr,transitionName:Object(ne.b)(cr,"slide-up",Xe.transitionName)}),kt)})},ce.state={value:ae.value||ae.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:ae.popupVisible,flattenOptions:ae.showSearch?$e(ae.options,ae):void 0,prevProps:ae},ce}return Object(A.a)(Fe,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var ce=this.props,_e=ce.options,ze=ce.displayRender,it=ze===void 0?Le:ze,Ze=ve(this.props),Ee=this.state.value,mt=Array.isArray(Ee[0])?Ee[0]:Ee,Je=s()(_e,function(wt,Ot){return wt[Ze.value]===mt[Ot]},{childrenKeyName:Ze.children}),rt=Je.length?Je.map(function(wt){return wt[Ze.label]}):Ee;return it(rt,Je)}},{key:"generateFilteredOptions",value:function(ce,_e){var ze=this,it=this.props,Ze=it.showSearch,Ee=it.notFoundContent,mt=ve(this.props),Je=Ze.filter,rt=Je===void 0?be:Je,wt=Ze.render,Ot=wt===void 0?Ce:wt,Ct=Ze.sort,Dt=Ct===void 0?je:Ct,Xe=Ze.limit,q=Xe===void 0?ge:Xe,V=this.state,Ae=V.flattenOptions,xe=Ae===void 0?[]:Ae,re=V.inputValue,ot;if(q>0){ot=[];var bt=0;xe.some(function(Tt){var Gt=rt(ze.state.inputValue,Tt,mt);return Gt&&(ot.push(Tt),bt+=1),bt>=q})}else Object(z.a)(typeof q!="number","Cascader","'limit' of showSearch should be positive number or false."),ot=xe.filter(function(Tt){return rt(ze.state.inputValue,Tt,mt)});if(ot=ot.sort(function(Tt,Gt){return Dt(Tt,Gt,re,mt)}),ot.length>0){var tt=mt.value===mt.label?de:mt.value;return ot.map(function(Tt){var Gt;return Gt={__IS_FILTERED_OPTION:!0,path:Tt},Object(c.a)(Gt,tt,Tt.map(function(lr){return lr[mt.value]})),Object(c.a)(Gt,mt.label,Ot(re,Tt,ce,mt)),Object(c.a)(Gt,"disabled",Tt.some(function(lr){return!!lr.disabled})),Object(c.a)(Gt,"isEmptyNode",!0),Gt})}return[ee(_e,mt,Ee)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",_e=this.props.popupPlacement;return _e!==void 0?_e:ce==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var ce=this;return h.createElement(K.a,null,function(_e){return h.createElement(X.a,null,function(ze){return ce.renderCascader(_e,ze)})})}}],[{key:"getDerivedStateFromProps",value:function(ce,_e){var ze=_e.prevProps,it={prevProps:ce};return"value"in ce&&(it.value=ce.value||[]),"popupVisible"in ce&&(it.popupVisible=ce.popupVisible),ce.showSearch&&ze.options!==ce.options&&(it.flattenOptions=$e(ce.options,ce)),it}}]),Fe}(h.Component);se.defaultProps={options:[],disabled:!1,allowClear:!0,bordered:!0};var Ue=B.a=se},Lgtz:function(M,B,o){"use strict";var w=o("rePB"),f=o("wx14"),A=o("q1tI"),m=o("TSYQ"),g=o.n(m),p=o("x1Ya"),c=o("KQm4"),h=o("ODXe"),l=o("bT9E"),e=o("9R2V"),n=function(E,C){var T={};for(var x in E)Object.prototype.hasOwnProperty.call(E,x)&&C.indexOf(x)<0&&(T[x]=E[x]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,x=Object.getOwnPropertySymbols(E);_<x.length;_++)C.indexOf(x[_])<0&&Object.prototype.propertyIsEnumerable.call(E,x[_])&&(T[x[_]]=E[x[_]]);return T},i=A.createContext(null),r=function(C,T){var x=C.defaultValue,_=C.children,I=C.options,L=I===void 0?[]:I,R=C.prefixCls,k=C.className,F=C.style,P=C.onChange,W=n(C,["defaultValue","children","options","prefixCls","className","style","onChange"]),D=A.useContext(e.b),U=D.getPrefixCls,H=D.direction,j=A.useState(W.value||x||[]),K=Object(h.a)(j,2),X=K[0],z=K[1],Y=A.useState([]),$=Object(h.a)(Y,2),ne=$[0],J=$[1];A.useEffect(function(){"value"in W&&z(W.value||[])},[W.value]);var ge=function(){return L.map(function(he){return typeof he=="string"?{label:he,value:he}:he})},de=function(he){J(function(ee){return ee.filter(function(se){return se!==he})})},Ie=function(he){J(function(ee){return[].concat(Object(c.a)(ee),[he])})},be=function(he){var ee=X.indexOf(he.value),se=Object(c.a)(X);ee===-1?se.push(he.value):se.splice(ee,1),"value"in W||z(se);var Ue=ge();P==null||P(se.filter(function(ue){return ne.indexOf(ue)!==-1}).sort(function(ue,Ne){var Fe=Ue.findIndex(function(ce){return ce.value===ue}),ae=Ue.findIndex(function(ce){return ce.value===Ne});return Fe-ae}))},Ce=U("checkbox",R),je="".concat(Ce,"-group"),te=Object(l.a)(W,["value","disabled"]);L&&L.length>0&&(_=ge().map(function(Le){return A.createElement(y,{prefixCls:Ce,key:Le.value.toString(),disabled:"disabled"in Le?Le.disabled:W.disabled,value:Le.value,checked:X.indexOf(Le.value)!==-1,onChange:Le.onChange,className:"".concat(je,"-item"),style:Le.style},Le.label)}));var ve={toggleOption:be,value:X,disabled:W.disabled,name:W.name,registerValue:Ie,cancelValue:de},$e=g()(je,Object(w.a)({},"".concat(je,"-rtl"),H==="rtl"),k);return A.createElement("div",Object(f.a)({className:$e,style:F},te,{ref:T}),A.createElement(i.Provider,{value:ve},_))},a=A.forwardRef(r),t=A.memo(a),s=o("bq+4"),u=function(E,C){var T={};for(var x in E)Object.prototype.hasOwnProperty.call(E,x)&&C.indexOf(x)<0&&(T[x]=E[x]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,x=Object.getOwnPropertySymbols(E);_<x.length;_++)C.indexOf(x[_])<0&&Object.prototype.propertyIsEnumerable.call(E,x[_])&&(T[x[_]]=E[x[_]]);return T},d=function(C,T){var x,_=C.prefixCls,I=C.className,L=C.children,R=C.indeterminate,k=R===void 0?!1:R,F=C.style,P=C.onMouseEnter,W=C.onMouseLeave,D=C.skipGroup,U=D===void 0?!1:D,H=u(C,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup"]),j=A.useContext(e.b),K=j.getPrefixCls,X=j.direction,z=A.useContext(i),Y=A.useRef(H.value);A.useEffect(function(){z==null||z.registerValue(H.value),Object(s.a)("checked"in H||!!z||!("value"in H),"Checkbox","`value` is not a valid prop, do you mean `checked`?")},[]),A.useEffect(function(){return U?void 0:(H.value!==Y.current&&(z==null||z.cancelValue(Y.current),z==null||z.registerValue(H.value)),function(){return z==null?void 0:z.cancelValue(H.value)})},[H.value]);var $=K("checkbox",_),ne=Object(f.a)({},H);z&&!U&&(ne.onChange=function(){H.onChange&&H.onChange.apply(H,arguments),z.toggleOption&&z.toggleOption({label:L,value:H.value})},ne.name=z.name,ne.checked=z.value.indexOf(H.value)!==-1,ne.disabled=H.disabled||z.disabled);var J=g()((x={},Object(w.a)(x,"".concat($,"-wrapper"),!0),Object(w.a)(x,"".concat($,"-rtl"),X==="rtl"),Object(w.a)(x,"".concat($,"-wrapper-checked"),ne.checked),Object(w.a)(x,"".concat($,"-wrapper-disabled"),ne.disabled),x),I),ge=g()(Object(w.a)({},"".concat($,"-indeterminate"),k));return A.createElement("label",{className:J,style:F,onMouseEnter:P,onMouseLeave:W},A.createElement(p.a,Object(f.a)({},ne,{prefixCls:$,className:ge,ref:T})),L!==void 0&&A.createElement("span",null,L))},v=A.forwardRef(d);v.displayName="Checkbox";var y=v,S=y;S.Group=t,S.__ANT_CHECKBOX=!0;var b=B.a=S},Llu2:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="DeliveredProcedureOutlined";var c=B.a=f.forwardRef(p)},Lo0S:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.initLogging=p,B.getLogging=c,B.Error=B.Warn=B.Info=B.Debug=void 0;var w="warn",f=function(){};B.Debug=f;var A=function(){};B.Info=A;var m=function(){};B.Warn=m;var g=function(){};B.Error=g;function p(h){if(typeof h=="undefined"?h=w:w=h,B.Debug=f=B.Info=A=B.Warn=m=B.Error=g=function(){},typeof window.console!="undefined")switch(h){case"debug":B.Debug=f=console.debug.bind(window.console);case"info":B.Info=A=console.info.bind(window.console);case"warn":B.Warn=m=console.warn.bind(window.console);case"error":B.Error=g=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+h+"'")}}function c(){return w}p()},LtfV:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="InboxOutlined";var c=B.a=f.forwardRef(p)},Lyp1:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="QuestionCircleOutlined";var c=B.a=f.forwardRef(p)},LzGr:function(M,B,o){var w=o("ProS"),f=o("rnVJ");o("EMyp"),o("8x+h"),o("wt3j"),o("uOyE"),o("/stD"),w.registerPreprocessor(f)},MBQ8:function(M,B,o){var w=o("T4UG"),f=o("MwEJ"),A=w.extend({type:"series.__base_bar__",getInitialData:function(m,g){return f(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(m){var g=this.coordinateSystem;if(g){var p=g.dataToPoint(g.clampData(m)),c=this.getData(),h=c.getLayout("offset"),l=c.getLayout("size"),e=g.getBaseAxis().isHorizontal()?0:1;return p[e]+=h+l/2,p}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:{}}});M.exports=A},MEGo:function(M,B,o){var w=o("4fz+"),f=o("Dagg"),A=o("dqUG"),m=o("2fw6"),g=o("x6Kt"),p=o("rmlV"),c=o("yxFR"),h=o("y+Vt"),l=o("h7HQ"),e=o("1Jh7"),n=o("SKnc"),i=o("K2GJ"),r=o("Fofx"),a=o("NC18"),t=a.createFromString,s=o("bYtY"),u=s.isString,d=s.extend,v=s.defaults,y=s.trim,S=s.each,b=/[\s,]+/;function E(X){if(u(X)){var z=new DOMParser;X=z.parseFromString(X,"text/xml")}for(X.nodeType===9&&(X=X.firstChild);X.nodeName.toLowerCase()!=="svg"||X.nodeType!==1;)X=X.nextSibling;return X}function C(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}C.prototype.parse=function(X,z){z=z||{};var Y=E(X);if(!Y)throw new Error("Illegal svg");var $=new w;this._root=$;var ne=Y.getAttribute("viewBox")||"",J=parseFloat(Y.getAttribute("width")||z.width),ge=parseFloat(Y.getAttribute("height")||z.height);isNaN(J)&&(J=null),isNaN(ge)&&(ge=null),k(Y,$,null,!0);for(var de=Y.firstChild;de;)this._parseNode(de,$),de=de.nextSibling;var Ie,be;if(ne){var Ce=y(ne).split(b);Ce.length>=4&&(Ie={x:parseFloat(Ce[0]||0),y:parseFloat(Ce[1]||0),width:parseFloat(Ce[2]),height:parseFloat(Ce[3])})}if(Ie&&J!=null&&ge!=null&&(be=j(Ie,J,ge),!z.ignoreViewBox)){var je=$;$=new w,$.add(je),je.scale=be.scale.slice(),je.position=be.position.slice()}return!z.ignoreRootClip&&J!=null&&ge!=null&&$.setClipPath(new g({shape:{x:0,y:0,width:J,height:ge}})),{root:$,width:J,height:ge,viewBoxRect:Ie,viewBoxTransform:be}},C.prototype._parseNode=function(X,z){var Y=X.nodeName.toLowerCase();Y==="defs"?this._isDefine=!0:Y==="text"&&(this._isText=!0);var $;if(this._isDefine){var ne=x[Y];if(ne){var J=ne.call(this,X),ge=X.getAttribute("id");ge&&(this._defs[ge]=J)}}else{var ne=T[Y];ne&&($=ne.call(this,X,z),z.add($))}for(var de=X.firstChild;de;)de.nodeType===1&&this._parseNode(de,$),de.nodeType===3&&this._isText&&this._parseText(de,$),de=de.nextSibling;Y==="defs"?this._isDefine=!1:Y==="text"&&(this._isText=!1)},C.prototype._parseText=function(X,z){if(X.nodeType===1){var Y=X.getAttribute("dx")||0,$=X.getAttribute("dy")||0;this._textX+=parseFloat(Y),this._textY+=parseFloat($)}var ne=new A({style:{text:X.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(z,ne),k(X,ne,this._defs);var J=ne.style.fontSize;J&&J<9&&(ne.style.fontSize=9,ne.scale=ne.scale||[1,1],ne.scale[0]*=J/9,ne.scale[1]*=J/9);var ge=ne.getBoundingRect();return this._textX+=ge.width,z.add(ne),ne};var T={g:function(z,Y){var $=new w;return I(Y,$),k(z,$,this._defs),$},rect:function(z,Y){var $=new g;return I(Y,$),k(z,$,this._defs),$.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)}),$},circle:function(z,Y){var $=new m;return I(Y,$),k(z,$,this._defs),$.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),r:parseFloat(z.getAttribute("r")||0)}),$},line:function(z,Y){var $=new c;return I(Y,$),k(z,$,this._defs),$.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)}),$},ellipse:function(z,Y){var $=new p;return I(Y,$),k(z,$,this._defs),$.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)}),$},polygon:function(z,Y){var $=z.getAttribute("points");$&&($=L($));var ne=new l({shape:{points:$||[]}});return I(Y,ne),k(z,ne,this._defs),ne},polyline:function(z,Y){var $=new h;I(Y,$),k(z,$,this._defs);var ne=z.getAttribute("points");ne&&(ne=L(ne));var J=new e({shape:{points:ne||[]}});return J},image:function(z,Y){var $=new f;return I(Y,$),k(z,$,this._defs),$.setStyle({image:z.getAttribute("xlink:href"),x:z.getAttribute("x"),y:z.getAttribute("y"),width:z.getAttribute("width"),height:z.getAttribute("height")}),$},text:function(z,Y){var $=z.getAttribute("x")||0,ne=z.getAttribute("y")||0,J=z.getAttribute("dx")||0,ge=z.getAttribute("dy")||0;this._textX=parseFloat($)+parseFloat(J),this._textY=parseFloat(ne)+parseFloat(ge);var de=new w;return I(Y,de),k(z,de,this._defs),de},tspan:function(z,Y){var $=z.getAttribute("x"),ne=z.getAttribute("y");$!=null&&(this._textX=parseFloat($)),ne!=null&&(this._textY=parseFloat(ne));var J=z.getAttribute("dx")||0,ge=z.getAttribute("dy")||0,de=new w;return I(Y,de),k(z,de,this._defs),this._textX+=J,this._textY+=ge,de},path:function(z,Y){var $=z.getAttribute("d")||"",ne=t($);return I(Y,ne),k(z,ne,this._defs),ne}},x={lineargradient:function(z){var Y=parseInt(z.getAttribute("x1")||0,10),$=parseInt(z.getAttribute("y1")||0,10),ne=parseInt(z.getAttribute("x2")||10,10),J=parseInt(z.getAttribute("y2")||0,10),ge=new n(Y,$,ne,J);return _(z,ge),ge},radialgradient:function(z){}};function _(X,z){for(var Y=X.firstChild;Y;){if(Y.nodeType===1){var $=Y.getAttribute("offset");$.indexOf("%")>0?$=parseInt($,10)/100:$?$=parseFloat($):$=0;var ne=Y.getAttribute("stop-color")||"#000000";z.addColorStop($,ne)}Y=Y.nextSibling}}function I(X,z){X&&X.__inheritedStyle&&(z.__inheritedStyle||(z.__inheritedStyle={}),v(z.__inheritedStyle,X.__inheritedStyle))}function L(X){for(var z=y(X).split(b),Y=[],$=0;$<z.length;$+=2){var ne=parseFloat(z[$]),J=parseFloat(z[$+1]);Y.push([ne,J])}return Y}var R={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(X,z,Y,$){var ne=z.__inheritedStyle||{},J=z.type==="text";if(X.nodeType===1&&(D(X,z),d(ne,H(X)),!$)){for(var ge in R)if(R.hasOwnProperty(ge)){var de=X.getAttribute(ge);de!=null&&(ne[R[ge]]=de)}}var Ie=J?"textFill":"fill",be=J?"textStroke":"stroke";z.style=z.style||new i;var Ce=z.style;ne.fill!=null&&Ce.set(Ie,P(ne.fill,Y)),ne.stroke!=null&&Ce.set(be,P(ne.stroke,Y)),S(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(je){var te=je==="lineWidth"&&J?"textStrokeWidth":je;ne[je]!=null&&Ce.set(te,parseFloat(ne[je]))}),(!ne.textBaseline||ne.textBaseline==="auto")&&(ne.textBaseline="alphabetic"),ne.textBaseline==="alphabetic"&&(ne.textBaseline="bottom"),ne.textAlign==="start"&&(ne.textAlign="left"),ne.textAlign==="end"&&(ne.textAlign="right"),S(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(je){ne[je]!=null&&Ce.set(je,ne[je])}),ne.lineDash&&(z.style.lineDash=y(ne.lineDash).split(b)),Ce[be]&&Ce[be]!=="none"&&(z[be]=!0),z.__inheritedStyle=ne}var F=/url\(\s*#(.*?)\)/;function P(X,z){var Y=z&&X&&X.match(F);if(Y){var $=y(Y[1]),ne=z[$];return ne}return X}var W=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function D(X,z){var Y=X.getAttribute("transform");if(Y){Y=Y.replace(/,/g," ");var $=null,ne=[];Y.replace(W,function(Ie,be,Ce){ne.push(be,Ce)});for(var J=ne.length-1;J>0;J-=2){var ge=ne[J],de=ne[J-1];$=$||r.create();switch(de){case"translate":ge=y(ge).split(b),r.translate($,$,[parseFloat(ge[0]),parseFloat(ge[1]||0)]);break;case"scale":ge=y(ge).split(b),r.scale($,$,[parseFloat(ge[0]),parseFloat(ge[1]||ge[0])]);break;case"rotate":ge=y(ge).split(b),r.rotate($,$,parseFloat(ge[0]));break;case"skew":ge=y(ge).split(b),console.warn("Skew transform is not supported yet");break;case"matrix":var ge=y(ge).split(b);$[0]=parseFloat(ge[0]),$[1]=parseFloat(ge[1]),$[2]=parseFloat(ge[2]),$[3]=parseFloat(ge[3]),$[4]=parseFloat(ge[4]),$[5]=parseFloat(ge[5]);break}}z.setLocalTransform($)}}var U=/([^\s:;]+)\s*:\s*([^:;]+)/g;function H(X){var z=X.getAttribute("style"),Y={};if(!z)return Y;var $={};U.lastIndex=0;for(var ne;(ne=U.exec(z))!=null;)$[ne[1]]=ne[2];for(var J in R)R.hasOwnProperty(J)&&$[J]!=null&&(Y[R[J]]=$[J]);return Y}function j(X,z,Y){var $=z/X.width,ne=Y/X.height,J=Math.min($,ne),ge=[J,J],de=[-(X.x+X.width/2)*J+z/2,-(X.y+X.height/2)*J+Y/2];return{scale:ge,position:de}}function K(X,z){var Y=new C;return Y.parse(X,z)}B.parseXML=E,B.makeViewBoxTransform=j,B.parseSVG=K},MFOe:function(M,B,o){(function(w){var f=p(),A=c(),m=h(),g=typeof window!="undefined"?window:w;M.exports={assign:f,create:A,trim:m,bind:l,slice:e,each:n,map:i,pluck:r,isList:a,isFunction:t,isObject:s,Global:g};function p(){return Object.assign?Object.assign:function(d,v,y,S){for(var b=1;b<arguments.length;b++)n(Object(arguments[b]),function(E,C){d[C]=E});return d}}function c(){if(Object.create)return function(v,y,S,b){var E=e(arguments,1);return f.apply(this,[Object.create(v)].concat(E))};var u=function(){};return function(v,y,S,b){var E=e(arguments,1);return u.prototype=v,f.apply(this,[new u].concat(E))}}function h(){return String.prototype.trim?function(d){return String.prototype.trim.call(d)}:function(d){return d.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function l(u,d){return function(){return d.apply(u,Array.prototype.slice.call(arguments,0))}}function e(u,d){return Array.prototype.slice.call(u,d||0)}function n(u,d){r(u,function(v,y){return d(v,y),!1})}function i(u,d){var v=a(u)?[]:{};return r(u,function(y,S){return v[S]=d(y,S),!1}),v}function r(u,d){if(a(u)){for(var v=0;v<u.length;v++)if(d(u[v],v))return u[v]}else for(var y in u)if(u.hasOwnProperty(y)&&d(u[y],y))return u[y]}function a(u){return u!=null&&typeof u!="function"&&typeof u.length=="number"}function t(u){return u&&{}.toString.call(u)==="[object Function]"}function s(u){return u&&{}.toString.call(u)==="[object Object]"}}).call(this,o("yLpj"))},MH26:function(M,B,o){var w=o("bYtY"),f=o("YXkt"),A=o("OELB"),m=o("kj2x"),g=o("c8qY"),p=o("iPDy"),c=o("7hqr"),h=c.getStackedDimension,l=function(s,u,d,v){var y=s.getData(),S=v.type;if(!w.isArray(v)&&(S==="min"||S==="max"||S==="average"||S==="median"||v.xAxis!=null||v.yAxis!=null)){var b,E;if(v.yAxis!=null||v.xAxis!=null)b=u.getAxis(v.yAxis!=null?"y":"x"),E=w.retrieve(v.yAxis,v.xAxis);else{var C=m.getAxisInfo(v,y,u,s);b=C.valueAxis;var T=h(y,C.valueDataDim);E=m.numCalculate(y,T,S)}var x=b.dim==="x"?0:1,_=1-x,I=w.clone(v),L={};I.type=null,I.coord=[],L.coord=[],I.coord[_]=-Infinity,L.coord[_]=Infinity;var R=d.get("precision");R>=0&&typeof E=="number"&&(E=+E.toFixed(Math.min(R,20))),I.coord[x]=L.coord[x]=E,v=[I,L,{type:S,valueIndex:v.valueIndex,value:E}]}return v=[m.dataTransform(s,v[0]),m.dataTransform(s,v[1]),w.extend({},v[2])],v[2].type=v[2].type||"",w.merge(v[2],v[0]),w.merge(v[2],v[1]),v};function e(s){return!isNaN(s)&&!isFinite(s)}function n(s,u,d,v){var y=1-s,S=v.dimensions[s];return e(u[y])&&e(d[y])&&u[s]===d[s]&&v.getAxis(S).containData(u[s])}function i(s,u){if(s.type==="cartesian2d"){var d=u[0].coord,v=u[1].coord;if(d&&v&&(n(1,d,v,s)||n(0,d,v,s)))return!0}return m.dataFilter(s,u[0])&&m.dataFilter(s,u[1])}function r(s,u,d,v,y){var S=v.coordinateSystem,b=s.getItemModel(u),E,C=A.parsePercent(b.get("x"),y.getWidth()),T=A.parsePercent(b.get("y"),y.getHeight());if(!isNaN(C)&&!isNaN(T))E=[C,T];else{if(v.getMarkerPosition)E=v.getMarkerPosition(s.getValues(s.dimensions,u));else{var x=S.dimensions,_=s.get(x[0],u),I=s.get(x[1],u);E=S.dataToPoint([_,I])}if(S.type==="cartesian2d"){var L=S.getAxis("x"),R=S.getAxis("y"),x=S.dimensions;e(s.get(x[0],u))?E[0]=L.toGlobalCoord(L.getExtent()[d?0:1]):e(s.get(x[1],u))&&(E[1]=R.toGlobalCoord(R.getExtent()[d?0:1]))}isNaN(C)||(E[0]=C),isNaN(T)||(E[1]=T)}s.setItemLayout(u,E)}var a=p.extend({type:"markLine",updateTransform:function(s,u,d){u.eachSeries(function(v){var y=v.markLineModel;if(y){var S=y.getData(),b=y.__from,E=y.__to;b.each(function(C){r(b,C,!0,v,d),r(E,C,!1,v,d)}),S.each(function(C){S.setItemLayout(C,[b.getItemLayout(C),E.getItemLayout(C)])}),this.markerGroupMap.get(v.id).updateLayout()}},this)},renderSeries:function(s,u,d,v){var y=s.coordinateSystem,S=s.id,b=s.getData(),E=this.markerGroupMap,C=E.get(S)||E.set(S,new g);this.group.add(C.group);var T=t(y,s,u),x=T.from,_=T.to,I=T.line;u.__from=x,u.__to=_,u.setData(I);var L=u.get("symbol"),R=u.get("symbolSize");w.isArray(L)||(L=[L,L]),typeof R=="number"&&(R=[R,R]),T.from.each(function(F){k(x,F,!0),k(_,F,!1)}),I.each(function(F){var P=I.getItemModel(F).get("lineStyle.color");I.setItemVisual(F,{color:P||x.getItemVisual(F,"color")}),I.setItemLayout(F,[x.getItemLayout(F),_.getItemLayout(F)]),I.setItemVisual(F,{fromSymbolSize:x.getItemVisual(F,"symbolSize"),fromSymbol:x.getItemVisual(F,"symbol"),toSymbolSize:_.getItemVisual(F,"symbolSize"),toSymbol:_.getItemVisual(F,"symbol")})}),C.updateData(I),T.line.eachItemGraphicEl(function(F,P){F.traverse(function(W){W.dataModel=u})});function k(F,P,W){var D=F.getItemModel(P);r(F,P,W,s,v),F.setItemVisual(P,{symbolSize:D.get("symbolSize")||R[W?0:1],symbol:D.get("symbol",!0)||L[W?0:1],color:D.get("itemStyle.color")||b.getVisual("color")})}C.__keep=!0,C.group.silent=u.get("silent")||s.get("silent")}});function t(s,u,d){var v;s?v=w.map(s&&s.dimensions,function(T){var x=u.getData().getDimensionInfo(u.getData().mapDimension(T))||{};return w.defaults({name:T},x)}):v=[{name:"value",type:"float"}];var y=new f(v,d),S=new f(v,d),b=new f([],d),E=w.map(d.get("data"),w.curry(l,u,s,d));s&&(E=w.filter(E,w.curry(i,s)));var C=s?m.dimValueGetter:function(T){return T.value};return y.initData(w.map(E,function(T){return T[0]}),null,C),S.initData(w.map(E,function(T){return T[1]}),null,C),b.initData(w.map(E,function(T){return T[2]})),b.hasItemOption=!0,{from:y,to:S,line:b}}M.exports=a},MHoB:function(M,B,o){var w=o("bYtY"),f=o("6uqw"),A=o("OELB"),m=[20,140],g=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(h,l){g.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){g.superApply(this,"resetItemSize",arguments);var h=this.itemSize;this._orient==="horizontal"&&h.reverse(),(h[0]==null||isNaN(h[0]))&&(h[0]=m[0]),(h[1]==null||isNaN(h[1]))&&(h[1]=m[1])},_resetRange:function(){var h=this.getExtent(),l=this.option.range;!l||l.auto?(h.auto=1,this.option.range=h):w.isArray(l)&&(l[0]>l[1]&&l.reverse(),l[0]=Math.max(l[0],h[0]),l[1]=Math.min(l[1],h[1]))},completeVisualOption:function(){f.prototype.completeVisualOption.apply(this,arguments),w.each(this.stateList,function(h){var l=this.option.controller[h].symbolSize;l&&l[0]!==l[1]&&(l[0]=0)},this)},setSelected:function(h){this.option.range=h.slice(),this._resetRange()},getSelected:function(){var h=this.getExtent(),l=A.asc((this.get("range")||[]).slice());return l[0]>h[1]&&(l[0]=h[1]),l[1]>h[1]&&(l[1]=h[1]),l[0]<h[0]&&(l[0]=h[0]),l[1]<h[0]&&(l[1]=h[0]),l},getValueState:function(h){var l=this.option.range,e=this.getExtent();return(l[0]<=e[0]||l[0]<=h)&&(l[1]>=e[1]||h<=l[1])?"inRange":"outOfRange"},findTargetDataIndices:function(h){var l=[];return this.eachTargetSeries(function(e){var n=[],i=e.getData();i.each(this.getDataDimension(i),function(r,a){h[0]<=r&&r<=h[1]&&n.push(a)},this),l.push({seriesId:e.id,dataIndex:n})},this),l},getVisualMeta:function(h){var l=p(this,"outOfRange",this.getExtent()),e=p(this,"inRange",this.option.range.slice()),n=[];function i(v,y){n.push({value:v,color:h(v,y)})}for(var r=0,a=0,t=e.length,s=l.length;a<s&&(!e.length||l[a]<=e[0]);a++)l[a]<e[r]&&i(l[a],"outOfRange");for(var u=1;r<t;r++,u=0)u&&n.length&&i(e[r],"outOfRange"),i(e[r],"inRange");for(var u=1;a<s;a++)(!e.length||e[e.length-1]<l[a])&&(u&&(n.length&&i(n[n.length-1].value,"outOfRange"),u=0),i(l[a],"outOfRange"));var d=n.length;return{stops:n,outerColors:[d?n[0].color:"transparent",d?n[d-1].color:"transparent"]}}});function p(h,l,e){if(e[0]===e[1])return e.slice();for(var n=200,i=(e[1]-e[0])/n,r=e[0],a=[],t=0;t<=n&&r<e[1];t++)a.push(r),r+=i;return a.push(e[1]),a}var c=g;M.exports=c},MHtr:function(M,B,o){var w=o("bYtY");function f(m,g){var p=this.getAxis(),c=g instanceof Array?g[0]:g,h=(m instanceof Array?m[0]:m)/2;return p.type==="category"?p.getBandWidth():Math.abs(p.dataToCoord(c-h)-p.dataToCoord(c+h))}function A(m){var g=m.getRect();return{coordSys:{type:"singleAxis",x:g.x,y:g.y,width:g.width,height:g.height},api:{coord:function(p){return m.dataToPoint(p)},size:w.bind(f,m)}}}M.exports=A},MKOG:function(M,B,o){var w=o("bYtY"),f=o("YH21"),A=f.Dispatcher,m=o("mLcG"),g=o("Bq2U"),p=function(l){l=l||{},this.stage=l.stage||{},this.onframe=l.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,A.call(this)};p.prototype={constructor:p,addClip:function(l){this._clips.push(l)},addAnimator:function(l){l.animation=this;for(var e=l.getClips(),n=0;n<e.length;n++)this.addClip(e[n])},removeClip:function(l){var e=w.indexOf(this._clips,l);e>=0&&this._clips.splice(e,1)},removeAnimator:function(l){for(var e=l.getClips(),n=0;n<e.length;n++)this.removeClip(e[n]);l.animation=null},_update:function(){for(var l=new Date().getTime()-this._pausedTime,e=l-this._time,n=this._clips,i=n.length,r=[],a=[],t=0;t<i;t++){var s=n[t],u=s.step(l,e);u&&(r.push(u),a.push(s))}for(var t=0;t<i;)n[t]._needsRemove?(n[t]=n[i-1],n.pop(),i--):t++;i=r.length;for(var t=0;t<i;t++)a[t].fire(r[t]);this._time=l,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var l=this;this._running=!0;function e(){l._running&&(m(e),!l._paused&&l._update())}m(e)},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(l,e){e=e||{};var n=new g(l,e.loop,e.getter,e.setter);return this.addAnimator(n),n}},w.mixin(p,A);var c=p;M.exports=c},MRoa:function(M,B,o){var w=o("ProS");o("0Bwj"),o("W2nI"),o("vcCh");var f=o("gawk"),A=o("Dg8C");w.registerLayout(f),w.registerVisual(A)},MT78:function(M,B,o){var w=o("ProS");(function(){for(var A in w){if(w==null||!w.hasOwnProperty(A)||A==="default"||A==="__esModule")return;B[A]=w[A]}})();var f=o("txkQ");(function(){for(var A in f){if(f==null||!f.hasOwnProperty(A)||A==="default"||A==="__esModule")return;B[A]=f[A]}})(),o("A1Ka"),o("75ce"),o("lLGD"),o("wDdD"),o("Fa/5"),o("jett"),o("Z1wy"),o("75ev"),o("2uGb"),o("I+77"),o("B+YJ"),o("pLH3"),o("CBdT"),o("MRoa"),o("+lIL"),o("CF2D"),o("ERHi"),o("p+If"),o("XOKv"),o("qt/9"),o("bBL8"),o("1xaR"),o("4Feb"),o("zRKj"),o("L3Oj"),o("0HBW"),o("LPzL"),o("8waO"),o("k5C7"),o("f1nB"),o("sRwP"),o("AH3D"),o("y4/Y"),o("LzGr"),o("Ynxi"),o("7pVf"),o("2w7y"),o("laiN"),o("fjKi"),o("C0tN"),o("0o9m"),o("Cm0C"),o("f3JH"),o("5NHt"),o("VFCP"),o("dBmv"),o("KamJ"),o("8XDt"),o("juDX")},MZdM:function(M,B,o){"use strict";function w(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(t){return typeof t}:w=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(r)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var f=h(o("Lo0S")),A=p(o("N/zr")),m=o("GdRQ"),g=o("GQ8N");function p(r){return r&&r.__esModule?r:{default:r}}function c(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return c=function(){return r},r}function h(r){if(r&&r.__esModule)return r;if(r===null||w(r)!=="object"&&typeof r!="function")return{default:r};var a=c();if(a&&a.has(r))return a.get(r);var t={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var d=s?Object.getOwnPropertyDescriptor(r,u):null;d&&(d.get||d.set)?Object.defineProperty(t,u,d):t[u]=r[u]}return t.default=r,a&&a.set(r,t),t}function l(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function e(r,a){for(var t=0;t<a.length;t++){var s=a[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(r,s.key,s)}}function n(r,a,t){return a&&e(r.prototype,a),t&&e(r,t),r}var i=function(){function r(a){if(l(this,r),this._drawCtx=null,this._renderQ=[],this._flushing=!1,this._fbWidth=0,this._fbHeight=0,this._prevDrawStyle="",this._tile=null,this._tile16x16=null,this._tileX=0,this._tileY=0,f.Debug(">> Display.constructor"),this._target=a,!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 n(r,[{key:"viewportChangePos",value:function(t,s){var u=this._viewportLoc;t=Math.floor(t),s=Math.floor(s),this._clipViewport||(t=-u.w,s=-u.h);var d=u.x+u.w-1,v=u.y+u.h-1;if(t<0&&u.x+t<0&&(t=-u.x),d+t>=this._fbWidth&&(t-=d+t-this._fbWidth+1),u.y+s<0&&(s=-u.y),v+s>=this._fbHeight&&(s-=v+s-this._fbHeight+1),t===0&&s===0)return;f.Debug("viewportChange deltaX: "+t+", deltaY: "+s),u.x+=t,u.y+=s,this._damage(u.x,u.y,u.w,u.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 u=this._viewportLoc;if(u.w!==t||u.h!==s){u.w=t,u.h=s;var d=this._target;d.width=t,d.height=s,this.viewportChangePos(0,0),this._damage(u.x,u.y,u.w,u.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(t){return this._scale===0?0:(0,g.toSigned32bit)(t/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(t){return this._scale===0?0:(0,g.toSigned32bit)(t/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(t,s){this._prevDrawStyle="",this._fbWidth=t,this._fbHeight=s;var u=this._backbuffer;if(u.width!==t||u.height!==s){var d=null;u.width>0&&u.height>0&&(d=this._drawCtx.getImageData(0,0,u.width,u.height)),u.width!==t&&(u.width=t),u.height!==s&&(u.height=s),d&&this._drawCtx.putImageData(d,0,0)}var v=this._viewportLoc;this.viewportChangeSize(v.w,v.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(t,s,u,d){t<this._damageBounds.left&&(this._damageBounds.left=t),s<this._damageBounds.top&&(this._damageBounds.top=s),t+u>this._damageBounds.right&&(this._damageBounds.right=t+u),s+d>this._damageBounds.bottom&&(this._damageBounds.bottom=s+d)}},{key:"flip",value:function(t){if(this._renderQ.length!==0&&!t)this._renderQPush({type:"flip"});else{var s=this._damageBounds.left,u=this._damageBounds.top,d=this._damageBounds.right-s,v=this._damageBounds.bottom-u,y=s-this._viewportLoc.x,S=u-this._viewportLoc.y;y<0&&(d+=y,s-=y,y=0),S<0&&(v+=S,u-=S,S=0),y+d>this._viewportLoc.w&&(d=this._viewportLoc.w-y),S+v>this._viewportLoc.h&&(v=this._viewportLoc.h-S),d>0&&v>0&&this._targetCtx.drawImage(this._backbuffer,s,u,d,v,y,S,d,v),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,u,d,v,y){this._renderQ.length!==0&&!y?this._renderQPush({type:"fill",x:t,y:s,width:u,height:d,color:v}):(this._setFillColor(v),this._drawCtx.fillRect(t,s,u,d),this._damage(t,s,u,d))}},{key:"copyImage",value:function(t,s,u,d,v,y,S){this._renderQ.length!==0&&!S?this._renderQPush({type:"copy",oldX:t,oldY:s,x:u,y:d,width:v,height:y}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,t,s,v,y,u,d,v,y),this._damage(u,d,v,y))}},{key:"imageRect",value:function(t,s,u,d,v,y){if(u===0||d===0)return;var S=new Image;S.src="data: "+v+";base64,"+A.default.encode(y),this._renderQPush({type:"img",img:S,x:t,y:s,width:u,height:d})}},{key:"startTile",value:function(t,s,u,d,v){this._tileX=t,this._tileY=s,u===16&&d===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(u,d);for(var y=v[2],S=v[1],b=v[0],E=this._tile.data,C=0;C<u*d*4;C+=4)E[C]=y,E[C+1]=S,E[C+2]=b,E[C+3]=255}},{key:"subTile",value:function(t,s,u,d,v){for(var y=v[2],S=v[1],b=v[0],E=t+u,C=s+d,T=this._tile.data,x=this._tile.width,_=s;_<C;_++)for(var I=t;I<E;I++){var L=(I+_*x)*4;T[L]=y,T[L+1]=S,T[L+2]=b,T[L+3]=255}}},{key:"finishTile",value:function(){this._drawCtx.putImageData(this._tile,this._tileX,this._tileY),this._damage(this._tileX,this._tileY,this._tile.width,this._tile.height)}},{key:"blitImage",value:function(t,s,u,d,v,y,S){if(this._renderQ.length!==0&&!S){var b=new Uint8Array(u*d*4);b.set(new Uint8Array(v.buffer,0,b.length)),this._renderQPush({type:"blit",data:b,x:t,y:s,width:u,height:d})}else this._bgrxImageData(t,s,u,d,v,y)}},{key:"blitRgbImage",value:function(t,s,u,d,v,y,S){if(this._renderQ.length!==0&&!S){var b=new Uint8Array(u*d*3);b.set(new Uint8Array(v.buffer,0,b.length)),this._renderQPush({type:"blitRgb",data:b,x:t,y:s,width:u,height:d})}else this._rgbImageData(t,s,u,d,v,y)}},{key:"blitRgbxImage",value:function(t,s,u,d,v,y,S){if(this._renderQ.length!==0&&!S){var b=new Uint8Array(u*d*4);b.set(new Uint8Array(v.buffer,0,b.length)),this._renderQPush({type:"blitRgbx",data:b,x:t,y:s,width:u,height:d})}else this._rgbxImageData(t,s,u,d,v,y)}},{key:"drawImage",value:function(t,s,u){this._drawCtx.drawImage(t,s,u),this._damage(s,u,t.width,t.height)}},{key:"autoscale",value:function(t,s){var u;if(t===0||s===0)u=0;else{var d=this._viewportLoc,v=t/s,y=d.w/d.h;y>=v?u=t/d.w:u=s/d.h}this._rescale(u)}},{key:"_rescale",value:function(t){this._scale=t;var s=this._viewportLoc,u=t*s.w+"px",d=t*s.h+"px";(this._target.style.width!==u||this._target.style.height!==d)&&(this._target.style.width=u,this._target.style.height=d)}},{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,u,d,v,y){for(var S=this._drawCtx.createImageData(u,d),b=S.data,E=0,C=y;E<u*d*4;E+=4,C+=3)b[E]=v[C],b[E+1]=v[C+1],b[E+2]=v[C+2],b[E+3]=255;this._drawCtx.putImageData(S,t,s),this._damage(t,s,S.width,S.height)}},{key:"_bgrxImageData",value:function(t,s,u,d,v,y){for(var S=this._drawCtx.createImageData(u,d),b=S.data,E=0,C=y;E<u*d*4;E+=4,C+=4)b[E]=v[C+2],b[E+1]=v[C+1],b[E+2]=v[C],b[E+3]=255;this._drawCtx.putImageData(S,t,s),this._damage(t,s,S.width,S.height)}},{key:"_rgbxImageData",value:function(t,s,u,d,v,y){var S;m.supportsImageMetadata?S=new ImageData(new Uint8ClampedArray(v.buffer,v.byteOffset,u*d*4),u,d):(S=this._drawCtx.createImageData(u,d),S.data.set(new Uint8ClampedArray(v.buffer,v.byteOffset,u*d*4))),this._drawCtx.putImageData(S,t,s),this._damage(t,s,S.width,S.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}}]),r}();B.default=i},Mdki:function(M,B,o){var w=o("bYtY"),f=w.each,A="\0__link_datas",m="\0__link_mainData";function g(a){var t=a.mainData,s=a.datas;s||(s={main:t},a.datasAttr={main:"data"}),a.datas=a.mainData=null,n(t,s,a),f(s,function(u){f(t.TRANSFERABLE_METHODS,function(d){u.wrapMethod(d,w.curry(p,a))})}),t.wrapMethod("cloneShallow",w.curry(h,a)),f(t.CHANGABLE_METHODS,function(u){t.wrapMethod(u,w.curry(c,a))}),w.assert(s[t.dataType]===t)}function p(a,t){if(e(this)){var s=w.extend({},this[A]);s[this.dataType]=t,n(t,s,a)}else i(t,this.dataType,this[m],a);return t}function c(a,t){return a.struct&&a.struct.update(this),t}function h(a,t){return f(t[A],function(s,u){s!==t&&i(s.cloneShallow(),u,t,a)}),t}function l(a){var t=this[m];return a==null||t==null?t:t[A][a]}function e(a){return a[m]===a}function n(a,t,s){a[A]={},f(t,function(u,d){i(u,d,a,s)})}function i(a,t,s,u){s[A][t]=a,a[m]=s,a.dataType=t,u.struct&&(a[u.structAttr]=u.struct,u.struct[u.datasAttr[t]]=a),a.getLinkedData=l}var r=g;M.exports=r},Mgri:function(M,B,o){for(var w=o("bYtY"),f=o("8nly"),A=[126,25],m=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],g=0;g<m.length;g++)for(var p=0;p<m[g].length;p++)m[g][p][0]/=10.5,m[g][p][1]/=-10.5/.75,m[g][p][0]+=A[0],m[g][p][1]+=A[1];function c(h,l){h==="china"&&l.push(new f("\u5357\u6D77\u8BF8\u5C9B",w.map(m,function(e){return{type:"polygon",exterior:e}}),A))}M.exports=c},Mmt2:function(M,B,o){"use strict";function w(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(r){return typeof r}:w=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},w(n)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var f=m(o("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return A=function(){return n},n}function m(n){if(n&&n.__esModule)return n;if(n===null||w(n)!=="object"&&typeof n!="function")return{default:n};var i=A();if(i&&i.has(n))return i.get(n);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t)){var s=a?Object.getOwnPropertyDescriptor(n,t):null;s&&(s.get||s.set)?Object.defineProperty(r,t,s):r[t]=n[t]}return r.default=n,i&&i.set(n,r),r}function g(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}function p(n,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(n,a.key,a)}}function c(n,i,r){return i&&p(n.prototype,i),r&&p(n,r),n}var h=!1,l=40*1024*1024,e=function(){function n(){g(this,n),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 c(n,[{key:"rQpeek8",value:function(){return this._rQ[this._rQi]}},{key:"rQskipBytes",value:function(r){this._rQi+=r}},{key:"rQshift8",value:function(){return this._rQshift(1)}},{key:"rQshift16",value:function(){return this._rQshift(2)}},{key:"rQshift32",value:function(){return this._rQshift(4)}},{key:"_rQshift",value:function(r){for(var a=0,t=r-1;t>=0;t--)a+=this._rQ[this._rQi++]<<t*8;return a}},{key:"rQshiftStr",value:function(r){typeof r=="undefined"&&(r=this.rQlen);for(var a="",t=0;t<r;t+=4096){var s=this.rQshiftBytes(Math.min(4096,r-t));a+=String.fromCharCode.apply(null,s)}return a}},{key:"rQshiftBytes",value:function(r){return typeof r=="undefined"&&(r=this.rQlen),this._rQi+=r,new Uint8Array(this._rQ.buffer,this._rQi-r,r)}},{key:"rQshiftTo",value:function(r,a){a===void 0&&(a=this.rQlen),r.set(new Uint8Array(this._rQ.buffer,this._rQi,a)),this._rQi+=a}},{key:"rQslice",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+r,a-r)}},{key:"rQwait",value:function(r,a,t){if(this.rQlen<a){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(r){this._sQ.set(r,this._sQlen),this._sQlen+=r.length,this.flush()}},{key:"sendString",value:function(r){this.send(r.split("").map(function(a){return a.charCodeAt(0)}))}},{key:"off",value:function(r){this._eventHandlers[r]=function(){}}},{key:"on",value:function(r,a){this._eventHandlers[r]=a}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(r,a){var t=this;this.init(),this._websocket=new WebSocket(r,a),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(r){var a=(this._rQlen-this._rQi+r)*8,t=this._rQbufferSize<a;if(t&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,a)),this._rQbufferSize>l&&(this._rQbufferSize=l,this._rQbufferSize-this.rQlen<r))throw new Error("Receive Queue buffer exceeded "+l+" 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 h?this._rQ.copyWithin(0,this._rQi,this._rQlen):this._rQ.set(new Uint8Array(this._rQ.buffer,this._rQi,this._rQlen-this._rQi));this._rQlen=this._rQlen-this._rQi,this._rQi=0}},{key:"_DecodeMessage",value:function(r){var a=new Uint8Array(r);a.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(a.length),this._rQ.set(a,this._rQlen),this._rQlen+=a.length}},{key:"_recvMessage",value:function(r){this._DecodeMessage(r.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):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(r){this._rQi=r}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),n}();B.default=e},MqEG:function(M,B,o){var w=o("bYtY"),f=o("fc+c"),A=o("72pK"),m=o("VXYp"),g=w.bind,p=f.extend({type:"dataZoom.inside",init:function(n,i){this._range},render:function(n,i,r,a){p.superApply(this,"render",arguments),this._range=n.getPercentRange(),w.each(this.getTargetCoordInfo(),function(t,s){var u=w.map(t,function(d){return m.generateCoordId(d.model)});w.each(t,function(d){var v=d.model,y={};w.each(["pan","zoom","scrollMove"],function(S){y[S]=g(c[S],this,d,s)},this),m.register(r,{coordId:m.generateCoordId(v),allCoordIds:u,containsPoint:function(S,b,E){return v.coordinateSystem.containPoint([b,E])},dataZoomId:n.id,dataZoomModel:n,getRange:y})},this)},this)},dispose:function(){m.unregister(this.api,this.dataZoomModel.id),p.superApply(this,"dispose",arguments),this._range=null}}),c={zoom:function(n,i,r,a){var t=this._range,s=t.slice(),u=n.axisModels[0];if(!u)return;var d=l[i](null,[a.originX,a.originY],u,r,n),v=(d.signal>0?d.pixelStart+d.pixelLength-d.pixel:d.pixel-d.pixelStart)/d.pixelLength*(s[1]-s[0])+s[0],y=Math.max(1/a.scale,0);s[0]=(s[0]-v)*y+v,s[1]=(s[1]-v)*y+v;var S=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(A(0,s,[0,100],0,S.minSpan,S.maxSpan),this._range=s,t[0]!==s[0]||t[1]!==s[1])return s},pan:h(function(n,i,r,a,t,s){var u=l[a]([s.oldX,s.oldY],[s.newX,s.newY],i,t,r);return u.signal*(n[1]-n[0])*u.pixel/u.pixelLength}),scrollMove:h(function(n,i,r,a,t,s){var u=l[a]([0,0],[s.scrollDelta,s.scrollDelta],i,t,r);return u.signal*(n[1]-n[0])*s.scrollDelta})};function h(n){return function(i,r,a,t){var s=this._range,u=s.slice(),d=i.axisModels[0];if(!d)return;var v=n(u,d,i,r,a,t);if(A(v,u,[0,100],"all"),this._range=u,s[0]!==u[0]||s[1]!==u[1])return u}}var l={grid:function(n,i,r,a,t){var s=r.axis,u={},d=t.model.coordinateSystem.getRect();return n=n||[0,0],s.dim==="x"?(u.pixel=i[0]-n[0],u.pixelLength=d.width,u.pixelStart=d.x,u.signal=s.inverse?1:-1):(u.pixel=i[1]-n[1],u.pixelLength=d.height,u.pixelStart=d.y,u.signal=s.inverse?-1:1),u},polar:function(n,i,r,a,t){var s=r.axis,u={},d=t.model.coordinateSystem,v=d.getRadiusAxis().getExtent(),y=d.getAngleAxis().getExtent();return n=n?d.pointToCoord(n):[0,0],i=d.pointToCoord(i),r.mainType==="radiusAxis"?(u.pixel=i[0]-n[0],u.pixelLength=v[1]-v[0],u.pixelStart=v[0],u.signal=s.inverse?1:-1):(u.pixel=i[1]-n[1],u.pixelLength=y[1]-y[0],u.pixelStart=y[0],u.signal=s.inverse?-1:1),u},singleAxis:function(n,i,r,a,t){var s=r.axis,u=t.model.coordinateSystem.getRect(),d={};return n=n||[0,0],s.orient==="horizontal"?(d.pixel=i[0]-n[0],d.pixelLength=u.width,d.pixelStart=u.x,d.signal=s.inverse?1:-1):(d.pixel=i[1]-n[1],d.pixelLength=u.height,d.pixelStart=u.y,d.signal=s.inverse?-1:1),d}},e=p;M.exports=e},MsSA:function(M,B,o){"use strict";var w=o("wx14"),f=o("q1tI"),A=o.n(f),m=o("VTBJ"),g=o("rePB"),p=o("1OyB"),c=o("vuIU"),h=o("Ji7U"),l=o("LK+K"),e=o("m+aA"),n=o("TSYQ"),i=o.n(n),r=o("4IlW");function a(F){var P=F.pageXOffset,W="scrollLeft";if(typeof P!="number"){var D=F.document;P=D.documentElement[W],typeof P!="number"&&(P=D.body[W])}return P}function t(F){var P,W,D=F.ownerDocument,U=D.body,H=D&&D.documentElement,j=F.getBoundingClientRect();return P=j.left,W=j.top,P-=H.clientLeft||U.clientLeft||0,W-=H.clientTop||U.clientTop||0,{left:P,top:W}}function s(F){var P=t(F),W=F.ownerDocument,D=W.defaultView||W.parentWindow;return P.left+=a(D),P.left}var u=function(F){Object(h.a)(W,F);var P=Object(l.a)(W);function W(){var D;return Object(p.a)(this,W),D=P.apply(this,arguments),D.onHover=function(U){var H=D.props,j=H.onHover,K=H.index;j(U,K)},D.onClick=function(U){var H=D.props,j=H.onClick,K=H.index;j(U,K)},D.onKeyDown=function(U){var H=D.props,j=H.onClick,K=H.index;U.keyCode===13&&j(U,K)},D}return Object(c.a)(W,[{key:"getClassName",value:function(){var U=this.props,H=U.prefixCls,j=U.index,K=U.value,X=U.allowHalf,z=U.focused,Y=j+1,$=H;return K===0&&j===0&&z?$+=" ".concat(H,"-focused"):X&&K+.5>=Y&&K<Y?($+=" ".concat(H,"-half ").concat(H,"-active"),z&&($+=" ".concat(H,"-focused"))):($+=Y<=K?" ".concat(H,"-full"):" ".concat(H,"-zero"),Y===K&&z&&($+=" ".concat(H,"-focused"))),$}},{key:"render",value:function(){var U=this.onHover,H=this.onClick,j=this.onKeyDown,K=this.props,X=K.disabled,z=K.prefixCls,Y=K.character,$=K.characterRender,ne=K.index,J=K.count,ge=K.value,de=typeof Y=="function"?Y(this.props):Y,Ie=A.a.createElement("li",{className:this.getClassName()},A.a.createElement("div",{onClick:X?null:H,onKeyDown:X?null:j,onMouseMove:X?null:U,role:"radio","aria-checked":ge>ne?"true":"false","aria-posinset":ne+1,"aria-setsize":J,tabIndex:X?-1:0},A.a.createElement("div",{className:"".concat(z,"-first")},de),A.a.createElement("div",{className:"".concat(z,"-second")},de)));return $&&(Ie=$(Ie,this.props)),Ie}}]),W}(A.a.Component);function d(){}var v=function(F){Object(h.a)(W,F);var P=Object(l.a)(W);function W(D){var U;Object(p.a)(this,W),U=P.call(this,D),U.onHover=function(j,K){var X=U.props.onHoverChange,z=U.getStarValue(K,j.pageX),Y=U.state.cleanedValue;z!==Y&&U.setState({hoverValue:z,cleanedValue:null}),X(z)},U.onMouseLeave=function(){var j=U.props.onHoverChange;U.setState({hoverValue:void 0,cleanedValue:null}),j(void 0)},U.onClick=function(j,K){var X=U.props.allowClear,z=U.state.value,Y=U.getStarValue(K,j.pageX),$=!1;X&&($=Y===z),U.onMouseLeave(),U.changeValue($?0:Y),U.setState({cleanedValue:$?Y:null})},U.onFocus=function(){var j=U.props.onFocus;U.setState({focused:!0}),j&&j()},U.onBlur=function(){var j=U.props.onBlur;U.setState({focused:!1}),j&&j()},U.onKeyDown=function(j){var K=j.keyCode,X=U.props,z=X.count,Y=X.allowHalf,$=X.onKeyDown,ne=X.direction,J=ne==="rtl",ge=U.state.value;K===r.a.RIGHT&&ge<z&&!J?(Y?ge+=.5:ge+=1,U.changeValue(ge),j.preventDefault()):K===r.a.LEFT&&ge>0&&!J||K===r.a.RIGHT&&ge>0&&J?(Y?ge-=.5:ge-=1,U.changeValue(ge),j.preventDefault()):K===r.a.LEFT&&ge<z&&J&&(Y?ge+=.5:ge+=1,U.changeValue(ge),j.preventDefault()),$&&$(j)},U.saveRef=function(j){return function(K){U.stars[j]=K}},U.saveRate=function(j){U.rate=j};var H=D.value;return H===void 0&&(H=D.defaultValue),U.stars={},U.state={value:H,focused:!1,cleanedValue:null},U}return Object(c.a)(W,[{key:"componentDidMount",value:function(){var U=this.props,H=U.autoFocus,j=U.disabled;H&&!j&&this.focus()}},{key:"getStarDOM",value:function(U){return Object(e.a)(this.stars[U])}},{key:"getStarValue",value:function(U,H){var j=this.props,K=j.allowHalf,X=j.direction,z=X==="rtl",Y=U+1;if(K){var $=this.getStarDOM(U),ne=s($),J=$.clientWidth;(z&&H-ne>J/2||!z&&H-ne<J/2)&&(Y-=.5)}return Y}},{key:"focus",value:function(){var U=this.props.disabled;U||this.rate.focus()}},{key:"blur",value:function(){var U=this.props.disabled;U||this.rate.blur()}},{key:"changeValue",value:function(U){var H=this.props.onChange;"value"in this.props||this.setState({value:U}),H(U)}},{key:"render",value:function(){for(var U=this.props,H=U.count,j=U.allowHalf,K=U.style,X=U.prefixCls,z=U.disabled,Y=U.className,$=U.character,ne=U.characterRender,J=U.tabIndex,ge=U.direction,de=this.state,Ie=de.value,be=de.hoverValue,Ce=de.focused,je=[],te=z?"".concat(X,"-disabled"):"",ve=0;ve<H;ve+=1)je.push(A.a.createElement(u,{ref:this.saveRef(ve),index:ve,count:H,disabled:z,prefixCls:"".concat(X,"-star"),allowHalf:j,value:be===void 0?Ie:be,onClick:this.onClick,onHover:this.onHover,key:ve,character:$,characterRender:ne,focused:Ce}));var $e=i()(X,te,Y,Object(g.a)({},"".concat(X,"-rtl"),ge==="rtl"));return A.a.createElement("ul",{className:$e,style:K,onMouseLeave:z?null:this.onMouseLeave,tabIndex:z?-1:J,onFocus:z?null:this.onFocus,onBlur:z?null:this.onBlur,onKeyDown:z?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},je)}}],[{key:"getDerivedStateFromProps",value:function(U,H){return"value"in U&&U.value!==void 0?Object(m.a)(Object(m.a)({},H),{},{value:U.value}):H}}]),W}(A.a.Component);v.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:d,character:"\u2605",onHoverChange:d,tabIndex:0,direction:"ltr"};var y=v,S=y,b={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"},E=b,C=o("6VBw"),T=function(P,W){return f.createElement(C.a,Object(m.a)(Object(m.a)({},P),{},{ref:W,icon:E}))};T.displayName="StarFilled";var x=f.forwardRef(T),_=o("d+VM"),I=o("9R2V"),L=function(F,P){var W={};for(var D in F)Object.prototype.hasOwnProperty.call(F,D)&&P.indexOf(D)<0&&(W[D]=F[D]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,D=Object.getOwnPropertySymbols(F);U<D.length;U++)P.indexOf(D[U])<0&&Object.prototype.propertyIsEnumerable.call(F,D[U])&&(W[D[U]]=F[D[U]]);return W},R=f.forwardRef(function(F,P){var W=F.prefixCls,D=F.tooltips,U=L(F,["prefixCls","tooltips"]),H=function($,ne){var J=ne.index;return D?f.createElement(_.a,{title:D[J]},$):$},j=f.useContext(I.b),K=j.getPrefixCls,X=j.direction,z=K("rate",W);return f.createElement(S,Object(w.a)({ref:P,characterRender:H},U,{prefixCls:z,direction:X}))});R.displayName="Rate",R.defaultProps={character:f.createElement(x,null)};var k=B.a=R},MwEJ:function(M,B,o){var w=o("bYtY"),f=o("YXkt"),A=o("sdST"),m=o("k9D9"),g=m.SOURCE_FORMAT_ORIGINAL,p=o("L0Ub"),c=p.getDimensionTypeByAxis,h=o("4NO4"),l=h.getDataItemValue,e=o("IDmD"),n=o("i38C"),i=n.getCoordSysInfoBySeries,r=o("7G+c"),a=o("7hqr"),t=a.enableDataStack,s=o("D5nY"),u=s.makeSeriesEncodeForAxisCoordSys;function d(b,E,C){C=C||{},r.isInstance(b)||(b=r.seriesDataToSource(b));var T=E.get("coordinateSystem"),x=e.get(T),_=i(E),I;_&&(I=w.map(_.coordSysDims,function(D){var U={name:D},H=_.axisMap.get(D);if(H){var j=H.get("type");U.type=c(j)}return U})),I||(I=x&&(x.getDimensionsInfo?x.getDimensionsInfo():x.dimensions.slice())||["x","y"]);var L=A(b,{coordDimensions:I,generateCoord:C.generateCoord,encodeDefaulter:C.useEncodeDefaulter?w.curry(u,I,E):null}),R,k;_&&w.each(L,function(D,U){var H=D.coordDim,j=_.categoryAxisMap.get(H);j&&(R==null&&(R=U),D.ordinalMeta=j.getOrdinalMeta()),D.otherDims.itemName!=null&&(k=!0)}),!k&&R!=null&&(L[R].otherDims.itemName=0);var F=t(E,L),P=new f(L,E);P.setCalculationInfo(F);var W=R!=null&&v(b)?function(D,U,H,j){return j===R?H:this.defaultDimValueGetter(D,U,H,j)}:null;return P.hasItemOption=!1,P.initData(b,null,W),P}function v(b){if(b.sourceFormat===g){var E=y(b.data||[]);return E!=null&&!w.isArray(l(E))}}function y(b){for(var E=0;E<b.length&&b[E]==null;)E++;return b[E]}var S=d;M.exports=S},Mylv:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("IwbS"),m=o("oVpE"),g=m.createSymbol,p=o("OELB"),c=p.parsePercent,h=p.isNumeric,l=o("56rv"),e=l.setLabel,n=["itemStyle","borderWidth"],i=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],r=new A.Circle,a=w.extendChartView({type:"pictorialBar",render:function(K,X,z){var Y=this.group,$=K.getData(),ne=this._data,J=K.coordinateSystem,ge=J.getBaseAxis(),de=!!ge.isHorizontal(),Ie=J.grid.getRect(),be={ecSize:{width:z.getWidth(),height:z.getHeight()},seriesModel:K,coordSys:J,coordSysExtent:[[Ie.x,Ie.x+Ie.width],[Ie.y,Ie.y+Ie.height]],isHorizontal:de,valueDim:i[+de],categoryDim:i[1-de]};return $.diff(ne).add(function(Ce){if(!$.hasValue(Ce))return;var je=x($,Ce),te=t($,Ce,je,be),ve=R($,be,te);$.setItemGraphicEl(Ce,ve),Y.add(ve),U(ve,be,te)}).update(function(Ce,je){var te=ne.getItemGraphicEl(je);if(!$.hasValue(Ce)){Y.remove(te);return}var ve=x($,Ce),$e=t($,Ce,ve,be),Le=P($,$e);te&&Le!==te.__pictorialShapeStr&&(Y.remove(te),$.setItemGraphicEl(Ce,null),te=null),te?k(te,be,$e):te=R($,be,$e,!0),$.setItemGraphicEl(Ce,te),te.__pictorialSymbolMeta=$e,Y.add(te),U(te,be,$e)}).remove(function(Ce){var je=ne.getItemGraphicEl(Ce);je&&F(ne,Ce,je.__pictorialSymbolMeta.animationModel,je)}).execute(),this._data=$,this.group},dispose:f.noop,remove:function(K,X){var z=this.group,Y=this._data;K.get("animation")?Y&&Y.eachItemGraphicEl(function($){F(Y,$.dataIndex,K,$)}):z.removeAll()}});function t(K,X,z,Y){var $=K.getItemLayout(X),ne=z.get("symbolRepeat"),J=z.get("symbolClip"),ge=z.get("symbolPosition")||"start",de=z.get("symbolRotate"),Ie=(de||0)*Math.PI/180||0,be=z.get("symbolPatternSize")||2,Ce=z.isAnimationEnabled(),je={dataIndex:X,layout:$,itemModel:z,symbolType:K.getItemVisual(X,"symbol")||"circle",color:K.getItemVisual(X,"color"),symbolClip:J,symbolRepeat:ne,symbolRepeatDirection:z.get("symbolRepeatDirection"),symbolPatternSize:be,rotation:Ie,animationModel:Ce?z:null,hoverAnimation:Ce&&z.get("hoverAnimation"),z2:z.getShallow("z",!0)||0};s(z,ne,$,Y,je),d(K,X,$,ne,J,je.boundingLength,je.pxSign,be,Y,je),v(z,je.symbolScale,Ie,Y,je);var te=je.symbolSize,ve=z.get("symbolOffset");return f.isArray(ve)&&(ve=[c(ve[0],te[0]),c(ve[1],te[1])]),y(z,te,$,ne,J,ve,ge,je.valueLineWidth,je.boundingLength,je.repeatCutLength,Y,je),je}function s(K,X,z,Y,$){var ne=Y.valueDim,J=K.get("symbolBoundingData"),ge=Y.coordSys.getOtherAxis(Y.coordSys.getBaseAxis()),de=ge.toGlobalCoord(ge.dataToCoord(0)),Ie=1-+(z[ne.wh]<=0),be;if(f.isArray(J)){var Ce=[u(ge,J[0])-de,u(ge,J[1])-de];Ce[1]<Ce[0]&&Ce.reverse(),be=Ce[Ie]}else J!=null?be=u(ge,J)-de:X?be=Y.coordSysExtent[ne.index][Ie]-de:be=z[ne.wh];$.boundingLength=be,X&&($.repeatCutLength=z[ne.wh]),$.pxSign=be>0?1:be<0?-1:0}function u(K,X){return K.toGlobalCoord(K.dataToCoord(K.scale.parse(X)))}function d(K,X,z,Y,$,ne,J,ge,de,Ie){var be=de.valueDim,Ce=de.categoryDim,je=Math.abs(z[Ce.wh]),te=K.getItemVisual(X,"symbolSize");f.isArray(te)?te=te.slice():(te==null&&(te="100%"),te=[te,te]),te[Ce.index]=c(te[Ce.index],je),te[be.index]=c(te[be.index],Y?je:Math.abs(ne)),Ie.symbolSize=te;var ve=Ie.symbolScale=[te[0]/ge,te[1]/ge];ve[be.index]*=(de.isHorizontal?-1:1)*J}function v(K,X,z,Y,$){var ne=K.get(n)||0;ne&&(r.attr({scale:X.slice(),rotation:z}),r.updateTransform(),ne/=r.getLineScale(),ne*=X[Y.valueDim.index]),$.valueLineWidth=ne}function y(K,X,z,Y,$,ne,J,ge,de,Ie,be,Ce){var je=be.categoryDim,te=be.valueDim,ve=Ce.pxSign,$e=Math.max(X[te.index]+ge,0),Le=$e;if(Y){var he=Math.abs(de),ee=f.retrieve(K.get("symbolMargin"),"15%")+"",se=!1;ee.lastIndexOf("!")===ee.length-1&&(se=!0,ee=ee.slice(0,ee.length-1)),ee=c(ee,X[te.index]);var Ue=Math.max($e+ee*2,0),ue=se?0:ee*2,Ne=h(Y),Fe=Ne?Y:H((he+ue)/Ue),ae=he-Fe*$e;ee=ae/2/(se?Fe:Fe-1),Ue=$e+ee*2,ue=se?0:ee*2,!Ne&&Y!=="fixed"&&(Fe=Ie?H((Math.abs(Ie)+ue)/Ue):0),Le=Fe*Ue-ue,Ce.repeatTimes=Fe,Ce.symbolMargin=ee}var ce=ve*(Le/2),_e=Ce.pathPosition=[];_e[je.index]=z[je.wh]/2,_e[te.index]=J==="start"?ce:J==="end"?de-ce:de/2,ne&&(_e[0]+=ne[0],_e[1]+=ne[1]);var ze=Ce.bundlePosition=[];ze[je.index]=z[je.xy],ze[te.index]=z[te.xy];var it=Ce.barRectShape=f.extend({},z);it[te.wh]=ve*Math.max(Math.abs(z[te.wh]),Math.abs(_e[te.index]+ce)),it[je.wh]=z[je.wh];var Ze=Ce.clipShape={};Ze[je.xy]=-z[je.xy],Ze[je.wh]=be.ecSize[je.wh],Ze[te.xy]=0,Ze[te.wh]=z[te.wh]}function S(K){var X=K.symbolPatternSize,z=g(K.symbolType,-X/2,-X/2,X,X,K.color);return z.attr({culling:!0}),z.type!=="image"&&z.setStyle({strokeNoScale:!0}),z}function b(K,X,z,Y){var $=K.__pictorialBundle,ne=z.symbolSize,J=z.valueLineWidth,ge=z.pathPosition,de=X.valueDim,Ie=z.repeatTimes||0,be=0,Ce=ne[X.valueDim.index]+J+z.symbolMargin*2;for(W(K,function(he){he.__pictorialAnimationIndex=be,he.__pictorialRepeatTimes=Ie,be<Ie?D(he,null,ve(be),z,Y):D(he,null,{scale:[0,0]},z,Y,function(){$.remove(he)}),L(he,z),be++});be<Ie;be++){var je=S(z);je.__pictorialAnimationIndex=be,je.__pictorialRepeatTimes=Ie,$.add(je);var te=ve(be);D(je,{position:te.position,scale:[0,0]},{scale:te.scale,rotation:te.rotation},z,Y),je.on("mouseover",$e).on("mouseout",Le),L(je,z)}function ve(he){var ee=ge.slice(),se=z.pxSign,Ue=he;return(z.symbolRepeatDirection==="start"?se>0:se<0)&&(Ue=Ie-1-he),ee[de.index]=Ce*(Ue-Ie/2+.5)+ge[de.index],{position:ee,scale:z.symbolScale.slice(),rotation:z.rotation}}function $e(){W(K,function(he){he.trigger("emphasis")})}function Le(){W(K,function(he){he.trigger("normal")})}}function E(K,X,z,Y){var $=K.__pictorialBundle,ne=K.__pictorialMainPath;ne?D(ne,null,{position:z.pathPosition.slice(),scale:z.symbolScale.slice(),rotation:z.rotation},z,Y):(ne=K.__pictorialMainPath=S(z),$.add(ne),D(ne,{position:z.pathPosition.slice(),scale:[0,0],rotation:z.rotation},{scale:z.symbolScale.slice()},z,Y),ne.on("mouseover",J).on("mouseout",ge)),L(ne,z);function J(){this.trigger("emphasis")}function ge(){this.trigger("normal")}}function C(K,X,z){var Y=f.extend({},X.barRectShape),$=K.__pictorialBarRect;$?D($,null,{shape:Y},X,z):($=K.__pictorialBarRect=new A.Rect({z2:2,shape:Y,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),K.add($))}function T(K,X,z,Y){if(z.symbolClip){var $=K.__pictorialClipPath,ne=f.extend({},z.clipShape),J=X.valueDim,ge=z.animationModel,de=z.dataIndex;if($)A.updateProps($,{shape:ne},ge,de);else{ne[J.wh]=0,$=new A.Rect({shape:ne}),K.__pictorialBundle.setClipPath($),K.__pictorialClipPath=$;var Ie={};Ie[J.wh]=z.clipShape[J.wh],A[Y?"updateProps":"initProps"]($,{shape:Ie},ge,de)}}}function x(K,X){var z=K.getItemModel(X);return z.getAnimationDelayParams=_,z.isAnimationEnabled=I,z}function _(K){return{index:K.__pictorialAnimationIndex,count:K.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function L(K,X){K.off("emphasis").off("normal");var z=X.symbolScale.slice();X.hoverAnimation&&K.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 R(K,X,z,Y){var $=new A.Group,ne=new A.Group;return $.add(ne),$.__pictorialBundle=ne,ne.attr("position",z.bundlePosition.slice()),z.symbolRepeat?b($,X,z):E($,X,z),C($,z,Y),T($,X,z,Y),$.__pictorialShapeStr=P(K,z),$.__pictorialSymbolMeta=z,$}function k(K,X,z){var Y=z.animationModel,$=z.dataIndex,ne=K.__pictorialBundle;A.updateProps(ne,{position:z.bundlePosition.slice()},Y,$),z.symbolRepeat?b(K,X,z,!0):E(K,X,z,!0),C(K,z,!0),T(K,X,z,!0)}function F(K,X,z,Y){var $=Y.__pictorialBarRect;$&&($.style.text=null);var ne=[];W(Y,function(J){ne.push(J)}),Y.__pictorialMainPath&&ne.push(Y.__pictorialMainPath),Y.__pictorialClipPath&&(z=null),f.each(ne,function(J){A.updateProps(J,{scale:[0,0]},z,X,function(){Y.parent&&Y.parent.remove(Y)})}),K.setItemGraphicEl(X,null)}function P(K,X){return[K.getItemVisual(X.dataIndex,"symbol")||"none",!!X.symbolRepeat,!!X.symbolClip].join(":")}function W(K,X,z){f.each(K.__pictorialBundle.children(),function(Y){Y!==K.__pictorialBarRect&&X.call(z,Y)})}function D(K,X,z,Y,$,ne){X&&K.attr(X),Y.symbolClip&&!$?z&&K.attr(z):z&&A[$?"updateProps":"initProps"](K,z,Y.animationModel,Y.dataIndex,ne)}function U(K,X,z){var Y=z.color,$=z.dataIndex,ne=z.itemModel,J=ne.getModel("itemStyle").getItemStyle(["color"]),ge=ne.getModel("emphasis.itemStyle").getItemStyle(),de=ne.getShallow("cursor");W(K,function(je){je.setColor(Y),je.setStyle(f.defaults({fill:Y,opacity:z.opacity},J)),A.setHoverStyle(je,ge),de&&(je.cursor=de),je.z2=z.z2});var Ie={},be=X.valueDim.posDesc[+(z.boundingLength>0)],Ce=K.__pictorialBarRect;e(Ce.style,Ie,ne,Y,X.seriesModel,$,be),A.setHoverStyle(Ce,Ie)}function H(K){var X=Math.round(K);return Math.abs(K-X)<1e-4?X:Math.ceil(K)}var j=a;M.exports=j},"N/zr":function(M,B,o){"use strict";function w(p){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(h){return typeof h}:w=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},w(p)}Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var f=m(o("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var p=new WeakMap;return A=function(){return p},p}function m(p){if(p&&p.__esModule)return p;if(p===null||w(p)!=="object"&&typeof p!="function")return{default:p};var c=A();if(c&&c.has(p))return c.get(p);var h={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in p)if(Object.prototype.hasOwnProperty.call(p,e)){var n=l?Object.getOwnPropertyDescriptor(p,e):null;n&&(n.get||n.set)?Object.defineProperty(h,e,n):h[e]=p[e]}return h.default=p,c&&c.set(p,h),h}var g={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(c){"use strict";for(var h="",l=c.length,e=l%3,n=0;n<l-2;n+=3)h+=this.toBase64Table[c[n]>>2],h+=this.toBase64Table[((c[n]&3)<<4)+(c[n+1]>>4)],h+=this.toBase64Table[((c[n+1]&15)<<2)+(c[n+2]>>6)],h+=this.toBase64Table[c[n+2]&63];var i=l-e;return e===2?(h+=this.toBase64Table[c[i]>>2],h+=this.toBase64Table[((c[i]&3)<<4)+(c[i+1]>>4)],h+=this.toBase64Table[(c[i+1]&15)<<2],h+=this.toBase64Table[64]):e===1&&(h+=this.toBase64Table[c[i]>>2],h+=this.toBase64Table[(c[i]&3)<<4],h+=this.toBase64Table[64],h+=this.toBase64Table[64]),h},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(c){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,l=c.indexOf("=")-h;l<0&&(l=c.length-h);for(var e=(l>>2)*3+Math.floor(l%4/1.5),n=new Array(e),i=0,r=0,a=0,t=h;t<c.length;t++){var s=this.toBinaryTable[c.charCodeAt(t)&127],u=c.charAt(t)===this.base64Pad;if(s===-1){f.Error("Illegal character code "+c.charCodeAt(t)+" at position "+t);continue}r=r<<6|s,i+=6,i>=8&&(i-=8,u||(n[a++]=r>>i&255),r&=(1<<i)-1)}if(i){var d=new Error("Corrupted base64 string");throw d.name="Base64-Error",d}return n}};B.default=g},N5BQ:function(M,B,o){var w=o("OlYY"),f=w.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"}}}),A=f;M.exports=A},NA0q:function(M,B,o){var w=o("bYtY"),f=o("6Ic6"),A=o("TkdX"),m=o("gPAo"),g=o("7aKB"),p=g.windowOpen,c="sunburstRootToNode",h=f.extend({type:"sunburst",init:function(){},render:function(e,n,i,r){var a=this;this.seriesModel=e,this.api=i,this.ecModel=n;var t=e.getData(),s=t.tree.root,u=e.getViewRoot(),d=this.group,v=e.get("renderLabelForZeroData"),y=[];u.eachNode(function(I){y.push(I)});var S=this._oldChildren||[];if(C(y,S),_(s,u),r&&r.highlight&&r.highlight.piece){var b=e.getShallow("highlightPolicy");r.highlight.piece.onEmphasis(b)}else if(r&&r.unhighlight){var E=this.virtualPiece;!E&&s.children.length&&(E=s.children[0].piece),E&&E.onNormal()}this._initEvents(),this._oldChildren=y;function C(I,L){if(I.length===0&&L.length===0)return;new m(L,I,R,R).add(k).update(k).remove(w.curry(k,null)).execute();function R(F){return F.getId()}function k(F,P){var W=F==null?null:I[F],D=P==null?null:L[P];T(W,D)}}function T(I,L){if(!v&&I&&!I.getValue()&&(I=null),I!==s&&L!==s){if(L&&L.piece)I?(L.piece.updateData(!1,I,"normal",e,n),t.setItemGraphicEl(I.dataIndex,L.piece)):x(L);else if(I){var R=new A(I,e,n);d.add(R),t.setItemGraphicEl(I.dataIndex,R)}}}function x(I){if(!I)return;I.piece&&(d.remove(I.piece),I.piece=null)}function _(I,L){if(L.depth>0){a.virtualPiece?a.virtualPiece.updateData(!1,I,"normal",e,n):(a.virtualPiece=new A(I,e,n),d.add(a.virtualPiece)),L.piece._onclickEvent&&L.piece.off("click",L.piece._onclickEvent);var R=function(k){a._rootToNode(L.parentNode)};L.piece._onclickEvent=R,a.virtualPiece.on("click",R)}else a.virtualPiece&&(d.remove(a.virtualPiece),a.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var e=this,n=function(i){var r=!1,a=e.seriesModel.getViewRoot();a.eachNode(function(t){if(!r&&t.piece&&t.piece.childAt(0)===i.target){var s=t.getModel().get("nodeClick");if(s==="rootToNode")e._rootToNode(t);else if(s==="link"){var u=t.getModel(),d=u.get("link");if(d){var v=u.get("target",!0)||"_blank";p(d,v)}}r=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",n),this.group._onclickEvent=n},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:c,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,n){var i=n.getData(),r=i.getItemLayout(0);if(r){var a=e[0]-r.cx,t=e[1]-r.cy,s=Math.sqrt(a*a+t*t);return s<=r.r&&s>=r.r0}}}),l=h;M.exports=l},NBmB:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.encodingName=f,B.encodings=void 0;var w={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};B.encodings=w;function f(A){switch(A){case w.encodingRaw:return"Raw";case w.encodingCopyRect:return"CopyRect";case w.encodingRRE:return"RRE";case w.encodingHextile:return"Hextile";case w.encodingTight:return"Tight";case w.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+A+"]"}}},NC18:function(M,B,o){var w=o("y+Vt"),f=o("IMiH"),A=o("7oTu"),m=Math.sqrt,g=Math.sin,p=Math.cos,c=Math.PI,h=function(y){return Math.sqrt(y[0]*y[0]+y[1]*y[1])},l=function(y,S){return(y[0]*S[0]+y[1]*S[1])/(h(y)*h(S))},e=function(y,S){return(y[0]*S[1]<y[1]*S[0]?-1:1)*Math.acos(l(y,S))};function n(v,y,S,b,E,C,T,x,_,I,L){var R=_*(c/180),k=p(R)*(v-S)/2+g(R)*(y-b)/2,F=-1*g(R)*(v-S)/2+p(R)*(y-b)/2,P=k*k/(T*T)+F*F/(x*x);P>1&&(T*=m(P),x*=m(P));var W=(E===C?-1:1)*m((T*T*(x*x)-T*T*(F*F)-x*x*(k*k))/(T*T*(F*F)+x*x*(k*k)))||0,D=W*T*F/x,U=W*-x*k/T,H=(v+S)/2+p(R)*D-g(R)*U,j=(y+b)/2+g(R)*D+p(R)*U,K=e([1,0],[(k-D)/T,(F-U)/x]),X=[(k-D)/T,(F-U)/x],z=[(-1*k-D)/T,(-1*F-U)/x],Y=e(X,z);l(X,z)<=-1&&(Y=c),l(X,z)>=1&&(Y=0),C===0&&Y>0&&(Y=Y-2*c),C===1&&Y<0&&(Y=Y+2*c),L.addData(I,H,j,T,x,K,Y,R,C)}var i=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,r=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function a(v){if(!v)return new f;for(var y=0,S=0,b=y,E=S,C,T=new f,x=f.CMD,_=v.match(i),I=0;I<_.length;I++){for(var L=_[I],R=L.charAt(0),k,F=L.match(r)||[],P=F.length,W=0;W<P;W++)F[W]=parseFloat(F[W]);for(var D=0;D<P;){var U,H,j,K,X,z,Y,$=y,ne=S;switch(R){case"l":y+=F[D++],S+=F[D++],k=x.L,T.addData(k,y,S);break;case"L":y=F[D++],S=F[D++],k=x.L,T.addData(k,y,S);break;case"m":y+=F[D++],S+=F[D++],k=x.M,T.addData(k,y,S),b=y,E=S,R="l";break;case"M":y=F[D++],S=F[D++],k=x.M,T.addData(k,y,S),b=y,E=S,R="L";break;case"h":y+=F[D++],k=x.L,T.addData(k,y,S);break;case"H":y=F[D++],k=x.L,T.addData(k,y,S);break;case"v":S+=F[D++],k=x.L,T.addData(k,y,S);break;case"V":S=F[D++],k=x.L,T.addData(k,y,S);break;case"C":k=x.C,T.addData(k,F[D++],F[D++],F[D++],F[D++],F[D++],F[D++]),y=F[D-2],S=F[D-1];break;case"c":k=x.C,T.addData(k,F[D++]+y,F[D++]+S,F[D++]+y,F[D++]+S,F[D++]+y,F[D++]+S),y+=F[D-2],S+=F[D-1];break;case"S":U=y,H=S;var J=T.len(),ge=T.data;C===x.C&&(U+=y-ge[J-4],H+=S-ge[J-3]),k=x.C,$=F[D++],ne=F[D++],y=F[D++],S=F[D++],T.addData(k,U,H,$,ne,y,S);break;case"s":U=y,H=S;var J=T.len(),ge=T.data;C===x.C&&(U+=y-ge[J-4],H+=S-ge[J-3]),k=x.C,$=y+F[D++],ne=S+F[D++],y+=F[D++],S+=F[D++],T.addData(k,U,H,$,ne,y,S);break;case"Q":$=F[D++],ne=F[D++],y=F[D++],S=F[D++],k=x.Q,T.addData(k,$,ne,y,S);break;case"q":$=F[D++]+y,ne=F[D++]+S,y+=F[D++],S+=F[D++],k=x.Q,T.addData(k,$,ne,y,S);break;case"T":U=y,H=S;var J=T.len(),ge=T.data;C===x.Q&&(U+=y-ge[J-4],H+=S-ge[J-3]),y=F[D++],S=F[D++],k=x.Q,T.addData(k,U,H,y,S);break;case"t":U=y,H=S;var J=T.len(),ge=T.data;C===x.Q&&(U+=y-ge[J-4],H+=S-ge[J-3]),y+=F[D++],S+=F[D++],k=x.Q,T.addData(k,U,H,y,S);break;case"A":j=F[D++],K=F[D++],X=F[D++],z=F[D++],Y=F[D++],$=y,ne=S,y=F[D++],S=F[D++],k=x.A,n($,ne,y,S,z,Y,j,K,X,k,T);break;case"a":j=F[D++],K=F[D++],X=F[D++],z=F[D++],Y=F[D++],$=y,ne=S,y+=F[D++],S+=F[D++],k=x.A,n($,ne,y,S,z,Y,j,K,X,k,T);break}}(R==="z"||R==="Z")&&(k=x.Z,T.addData(k),y=b,S=E),C=k}return T.toStatic(),T}function t(v,y){var S=a(v);return y=y||{},y.buildPath=function(b){if(b.setData){b.setData(S.data);var E=b.getContext();E&&b.rebuildPath(E)}else{var E=b;S.rebuildPath(E)}},y.applyTransform=function(b){A(S,b),this.dirty(!0)},y}function s(v,y){return new w(t(v,y))}function u(v,y){return w.extend(t(v,y))}function d(v,y){for(var S=[],b=v.length,E=0;E<b;E++){var C=v[E];C.path||C.createPathProxy(),C.__dirtyPath&&C.buildPath(C.path,C.shape,!0),S.push(C.path)}var T=new w(y);return T.createPathProxy(),T.buildPath=function(x){x.appendPath(S);var _=x.getContext();_&&x.rebuildPath(_)},T}B.createFromString=s,B.extendFromString=u,B.mergePath=d},NDDJ:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("mXxy")},NH9N:function(M,B,o){var w=o("bYtY"),f=o("mFDi"),A=o("Fofx"),m=o("IwbS"),g=o("+TT/"),p=o("kzvK"),c=o("CMP+"),h=o("oVpE"),l=h.createSymbol,e=o("aX7z"),n=o("OELB"),i=o("7aKB"),r=i.encodeHTML,a=w.bind,t=w.each,s=Math.PI,u=p.extend({type:"timeline.slider",init:function(b,E){this.api=E,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(b,E,C,T){if(this.model=b,this.api=C,this.ecModel=E,this.group.removeAll(),b.get("show",!0)){var x=this._layout(b,C),_=this._createGroup("mainGroup"),I=this._createGroup("labelGroup"),L=this._axis=this._createAxis(x,b);b.formatTooltip=function(R){return r(L.scale.getLabel(R))},t(["AxisLine","AxisTick","Control","CurrentPointer"],function(R){this["_render"+R](x,_,L,b)},this),this._renderAxisLabel(x,I,L,b),this._position(x,b)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(b,E){var C=b.get("label.position"),T=b.get("orient"),x=d(b,E);C==null||C==="auto"?C=T==="horizontal"?x.y+x.height/2<E.getHeight()/2?"-":"+":x.x+x.width/2<E.getWidth()/2?"+":"-":isNaN(C)&&(C={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[T][C]);var _={horizontal:"center",vertical:C>=0||C==="+"?"left":"right"},I={horizontal:C>=0||C==="+"?"top":"bottom",vertical:"middle"},L={horizontal:0,vertical:s/2},R=T==="vertical"?x.height:x.width,k=b.getModel("controlStyle"),F=k.get("show",!0),P=F?k.get("itemSize"):0,W=F?k.get("itemGap"):0,D=P+W,U=b.get("label.rotate")||0;U=U*s/180;var H,j,K,X,z=k.get("position",!0),Y=F&&k.get("showPlayBtn",!0),$=F&&k.get("showPrevBtn",!0),ne=F&&k.get("showNextBtn",!0),J=0,ge=R;return z==="left"||z==="bottom"?(Y&&(H=[0,0],J+=D),$&&(j=[J,0],J+=D),ne&&(K=[ge-P,0],ge-=D)):(Y&&(H=[ge-P,0],ge-=D),$&&(j=[0,0],J+=D),ne&&(K=[ge-P,0],ge-=D)),X=[J,ge],b.get("inverse")&&X.reverse(),{viewRect:x,mainLength:R,orient:T,rotation:L[T],labelRotation:U,labelPosOpt:C,labelAlign:b.get("label.align")||_[T],labelBaseline:b.get("label.verticalAlign")||b.get("label.baseline")||I[T],playPosition:H,prevBtnPosition:j,nextBtnPosition:K,axisExtent:X,controlSize:P,controlGap:W}},_position:function(b,E){var C=this._mainGroup,T=this._labelGroup,x=b.viewRect;if(b.orient==="vertical"){var _=A.create(),I=x.x,L=x.y+x.height;A.translate(_,_,[-I,-L]),A.rotate(_,_,-s/2),A.translate(_,_,[I,L]),x=x.clone(),x.applyTransform(_)}var R=j(x),k=j(C.getBoundingRect()),F=j(T.getBoundingRect()),P=C.position,W=T.position;W[0]=P[0]=R[0][0];var D=b.labelPosOpt;if(isNaN(D)){var U=D==="+"?0:1;K(P,k,R,1,U),K(W,F,R,1,1-U)}else{var U=D>=0?0:1;K(P,k,R,1,U),W[1]=P[1]+D}C.attr("position",P),T.attr("position",W),C.rotation=T.rotation=b.rotation,H(C),H(T);function H(X){var z=X.position;X.origin=[R[0][0]-z[0],R[1][0]-z[1]]}function j(X){return[[X.x,X.x+X.width],[X.y,X.y+X.height]]}function K(X,z,Y,$,ne){X[$]+=Y[$][ne]-z[$][ne]}},_createAxis:function(b,E){var C=E.getData(),T=E.get("axisType"),x=e.createScaleByModel(E,T);x.getTicks=function(){return C.mapArray(["value"],function(L){return L})};var _=C.getDataExtent("value");x.setExtent(_[0],_[1]),x.niceTicks();var I=new c("value",x,b.axisExtent,T);return I.model=E,I},_createGroup:function(b){var E=this["_"+b]=new m.Group;return this.group.add(E),E},_renderAxisLine:function(b,E,C,T){var x=C.getExtent();if(!T.get("lineStyle.show"))return;E.add(new m.Line({shape:{x1:x[0],y1:0,x2:x[1],y2:0},style:w.extend({lineCap:"round"},T.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(b,E,C,T){var x=T.getData(),_=C.scale.getTicks();t(_,function(I){var L=C.dataToCoord(I),R=x.getItemModel(I),k=R.getModel("itemStyle"),F=R.getModel("emphasis.itemStyle"),P={position:[L,0],onclick:a(this._changeTimeline,this,I)},W=y(R,k,E,P);m.setHoverStyle(W,F.getItemStyle()),R.get("tooltip")?(W.dataIndex=I,W.dataModel=T):W.dataIndex=W.dataModel=null},this)},_renderAxisLabel:function(b,E,C,T){var x=C.getLabelModel();if(!x.get("show"))return;var _=T.getData(),I=C.getViewLabels();t(I,function(L){var R=L.tickValue,k=_.getItemModel(R),F=k.getModel("label"),P=k.getModel("emphasis.label"),W=C.dataToCoord(L.tickValue),D=new m.Text({position:[W,0],rotation:b.labelRotation-b.rotation,onclick:a(this._changeTimeline,this,R),silent:!1});m.setTextStyle(D.style,F,{text:L.formattedLabel,textAlign:b.labelAlign,textVerticalAlign:b.labelBaseline}),E.add(D),m.setHoverStyle(D,m.setTextStyle({},P))},this)},_renderControl:function(b,E,C,T){var x=b.controlSize,_=b.rotation,I=T.getModel("controlStyle").getItemStyle(),L=T.getModel("emphasis.controlStyle").getItemStyle(),R=[0,-x/2,x,x],k=T.getPlayState(),F=T.get("inverse",!0);P(b.nextBtnPosition,"controlStyle.nextIcon",a(this._changeTimeline,this,F?"-":"+")),P(b.prevBtnPosition,"controlStyle.prevIcon",a(this._changeTimeline,this,F?"+":"-")),P(b.playPosition,"controlStyle."+(k?"stopIcon":"playIcon"),a(this._handlePlayClick,this,!k),!0);function P(W,D,U,H){if(!W)return;var j={position:W,origin:[x/2,0],rotation:H?-_:0,rectHover:!0,style:I,onclick:U},K=v(T,D,R,j);E.add(K),m.setHoverStyle(K,L)}},_renderCurrentPointer:function(b,E,C,T){var x=T.getData(),_=T.getCurrentIndex(),I=x.getItemModel(_).getModel("checkpointStyle"),L=this,R={onCreate:function(k){k.draggable=!0,k.drift=a(L._handlePointerDrag,L),k.ondragend=a(L._handlePointerDragend,L),S(k,_,C,T,!0)},onUpdate:function(k){S(k,_,C,T)}};this._currentPointer=y(I,I,this._mainGroup,{},this._currentPointer,R)},_handlePlayClick:function(b){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:b,from:this.uid})},_handlePointerDrag:function(b,E,C){this._clearTimer(),this._pointerChangeTimeline([C.offsetX,C.offsetY])},_handlePointerDragend:function(b){this._pointerChangeTimeline([b.offsetX,b.offsetY],!0)},_pointerChangeTimeline:function(b,E){var C=this._toAxisCoord(b)[0],T=this._axis,x=n.asc(T.getExtent().slice());C>x[1]&&(C=x[1]),C<x[0]&&(C=x[0]),this._currentPointer.position[0]=C,this._currentPointer.dirty();var _=this._findNearestTick(C),I=this.model;(E||_!==I.getCurrentIndex()&&I.get("realtime"))&&this._changeTimeline(_)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(a(b,this),this.model.get("playInterval")));function b(){var E=this.model;this._changeTimeline(E.getCurrentIndex()+(E.get("rewind",!0)?-1:1))}},_toAxisCoord:function(b){var E=this._mainGroup.getLocalTransform();return m.applyTransform(b,E,!0)},_findNearestTick:function(b){var E=this.model.getData(),C=Infinity,T,x=this._axis;return E.each(["value"],function(_,I){var L=x.dataToCoord(_),R=Math.abs(L-b);R<C&&(C=R,T=I)}),T},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(b){var E=this.model.getCurrentIndex();b==="+"?b=E+1:b==="-"&&(b=E-1),this.api.dispatchAction({type:"timelineChange",currentIndex:b,from:this.uid})}});function d(b,E){return g.getLayoutRect(b.getBoxLayoutParams(),{width:E.getWidth(),height:E.getHeight()},b.get("padding"))}function v(b,E,C,T){var x=m.makePath(b.get(E).replace(/^path:\/\//,""),w.clone(T||{}),new f(C[0],C[1],C[2],C[3]),"center");return x}function y(b,E,C,T,x,_){var I=E.get("color");if(x)x.setColor(I),C.add(x),_&&_.onUpdate(x);else{var L=b.get("symbol");x=l(L,-1,-1,2,2,I),x.setStyle("strokeNoScale",!0),C.add(x),_&&_.onCreate(x)}var R=E.getItemStyle(["color","symbol","symbolSize"]);x.setStyle(R),T=w.merge({rectHover:!0,z2:100},T,!0);var k=b.get("symbolSize");k=k instanceof Array?k.slice():[+k,+k],k[0]/=2,k[1]/=2,T.scale=k;var F=b.get("symbolOffset");if(F){var P=T.position=T.position||[0,0];P[0]+=n.parsePercent(F[0],k[0]),P[1]+=n.parsePercent(F[1],k[1])}var W=b.get("symbolRotate");return T.rotation=(W||0)*Math.PI/180||0,x.attr(T),x.updateTransform(),x}function S(b,E,C,T,x){if(b.dragging)return;var _=T.getModel("checkpointStyle"),I=C.dataToCoord(T.getData().get(["value"],E));x||!_.get("animation",!0)?b.attr({position:[I,0]}):(b.stopAnimation(!0),b.animateTo({position:[I,0]},_.get("animationDuration",!0),_.get("animationEasing",!0)))}M.exports=u},NohK:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=function(A){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,g=null;return function(){for(var p=this,c=arguments.length,h=new Array(c),l=0;l<c;l++)h[l]=arguments[l];clearTimeout(g),g=setTimeout(function(){A.apply(p,h)},m)}};B.default=w},NvD2:function(M,B,o){"use strict";o.d(B,"a",function(){return p});var w=o("Kwbf");function f(c,h){var l=new Set;return c.forEach(function(e){h.has(e)||l.add(e)}),l}function A(c){var h=c||{},l=h.disabled,e=h.disableCheckbox,n=h.checkable;return!!(l||e)||n===!1}function m(c,h,l,e){for(var n=new Set(c),i=new Set,r=0;r<=l;r+=1){var a=h.get(r)||new Set;a.forEach(function(d){var v=d.key,y=d.node,S=d.children,b=S===void 0?[]:S;n.has(v)&&!e(y)&&b.filter(function(E){return!e(E.node)}).forEach(function(E){n.add(E.key)})})}for(var t=new Set,s=l;s>=0;s-=1){var u=h.get(s)||new Set;u.forEach(function(d){var v=d.parent,y=d.node;if(e(y)||!d.parent||t.has(d.parent.key))return;if(e(d.parent.node)){t.add(v.key);return}var S=!0,b=!1;(v.children||[]).filter(function(E){return!e(E.node)}).forEach(function(E){var C=E.key,T=n.has(C);S&&!T&&(S=!1),!b&&(T||i.has(C))&&(b=!0)}),S&&n.add(v.key),b&&i.add(v.key),t.add(v.key)})}return{checkedKeys:Array.from(n),halfCheckedKeys:Array.from(f(i,n))}}function g(c,h,l,e,n){for(var i=new Set(c),r=new Set(h),a=0;a<=e;a+=1){var t=l.get(a)||new Set;t.forEach(function(v){var y=v.key,S=v.node,b=v.children,E=b===void 0?[]:b;!i.has(y)&&!r.has(y)&&!n(S)&&E.filter(function(C){return!n(C.node)}).forEach(function(C){i.delete(C.key)})})}r=new Set;for(var s=new Set,u=e;u>=0;u-=1){var d=l.get(u)||new Set;d.forEach(function(v){var y=v.parent,S=v.node;if(n(S)||!v.parent||s.has(v.parent.key))return;if(n(v.parent.node)){s.add(y.key);return}var b=!0,E=!1;(y.children||[]).filter(function(C){return!n(C.node)}).forEach(function(C){var T=C.key,x=i.has(T);b&&!x&&(b=!1),!E&&(x||r.has(T))&&(E=!0)}),b||i.delete(y.key),E&&r.add(y.key),s.add(y.key)})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(f(r,i))}}function p(c,h,l,e){var n=[],i;e?i=e:i=A;var r=new Set(c.filter(function(u){var d=!!l[u];return d||n.push(u),d})),a=new Map,t=0;Object.keys(l).forEach(function(u){var d=l[u],v=d.level,y=a.get(v);y||(y=new Set,a.set(v,y)),y.add(d),t=Math.max(t,v)}),Object(w.a)(!n.length,"Tree missing follow keys: ".concat(n.slice(0,100).map(function(u){return"'".concat(u,"'")}).join(", ")));var s;return h===!0?s=m(r,a,t,i):s=g(r,h.halfCheckedKeys,a,t,i),s}},O6sM:function(M,B,o){},OELB:function(M,B,o){var w=o("bYtY"),f=1e-4;function A(E){return E.replace(/^\s+|\s+$/g,"")}function m(E,C,T,x){var _=C[1]-C[0],I=T[1]-T[0];if(_===0)return I===0?T[0]:(T[0]+T[1])/2;if(x)if(_>0){if(E<=C[0])return T[0];if(E>=C[1])return T[1]}else{if(E>=C[0])return T[0];if(E<=C[1])return T[1]}else{if(E===C[0])return T[0];if(E===C[1])return T[1]}return(E-C[0])/_*I+T[0]}function g(E,C){switch(E){case"center":case"middle":E="50%";break;case"left":case"top":E="0%";break;case"right":case"bottom":E="100%";break}return typeof E=="string"?A(E).match(/%$/)?parseFloat(E)/100*C:parseFloat(E):E==null?NaN:+E}function p(E,C,T){return C==null&&(C=10),C=Math.min(Math.max(0,C),20),E=(+E).toFixed(C),T?E:+E}function c(E){return E.sort(function(C,T){return C-T}),E}function h(E){if(E=+E,isNaN(E))return 0;for(var C=1,T=0;Math.round(E*C)/C!==E;)C*=10,T++;return T}function l(E){var C=E.toString(),T=C.indexOf("e");if(T>0){var x=+C.slice(T+1);return x<0?-x:0}else{var _=C.indexOf(".");return _<0?0:C.length-1-_}}function e(E,C){var T=Math.log,x=Math.LN10,_=Math.floor(T(E[1]-E[0])/x),I=Math.round(T(Math.abs(C[1]-C[0]))/x),L=Math.min(Math.max(-_+I,0),20);return isFinite(L)?L:20}function n(E,C,T){if(!E[C])return 0;var x=w.reduce(E,function(H,j){return H+(isNaN(j)?0:j)},0);if(x===0)return 0;for(var _=Math.pow(10,T),I=w.map(E,function(H){return(isNaN(H)?0:H)/x*_*100}),L=_*100,R=w.map(I,function(H){return Math.floor(H)}),k=w.reduce(R,function(H,j){return H+j},0),F=w.map(I,function(H,j){return H-R[j]});k<L;){for(var P=Number.NEGATIVE_INFINITY,W=null,D=0,U=F.length;D<U;++D)F[D]>P&&(P=F[D],W=D);++R[W],F[W]=0,++k}return R[C]/_}var i=9007199254740991;function r(E){var C=Math.PI*2;return(E%C+C)%C}function a(E){return E>-f&&E<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(E){if(E instanceof Date)return E;if(typeof E=="string"){var C=t.exec(E);if(!C)return new Date(NaN);if(C[8]){var T=+C[4]||0;return C[8].toUpperCase()!=="Z"&&(T-=C[8].slice(0,3)),new Date(Date.UTC(+C[1],+(C[2]||1)-1,+C[3]||1,T,+(C[5]||0),+C[6]||0,+C[7]||0))}else return new Date(+C[1],+(C[2]||1)-1,+C[3]||1,+C[4]||0,+(C[5]||0),+C[6]||0,+C[7]||0)}else if(E==null)return new Date(NaN);return new Date(Math.round(E))}function u(E){return Math.pow(10,d(E))}function d(E){if(E===0)return 0;var C=Math.floor(Math.log(E)/Math.LN10);return E/Math.pow(10,C)>=10&&C++,C}function v(E,C){var T=d(E),x=Math.pow(10,T),_=E/x,I;return C?_<1.5?I=1:_<2.5?I=2:_<4?I=3:_<7?I=5:I=10:_<1?I=1:_<2?I=2:_<3?I=3:_<5?I=5:I=10,E=I*x,T>=-20?+E.toFixed(T<0?-T:0):E}function y(E,C){var T=(E.length-1)*C+1,x=Math.floor(T),_=+E[x-1],I=T-x;return I?_+I*(E[x]-_):_}function S(E){E.sort(function(k,F){return R(k,F,0)?-1:1});for(var C=-Infinity,T=1,x=0;x<E.length;){for(var _=E[x].interval,I=E[x].close,L=0;L<2;L++)_[L]<=C&&(_[L]=C,I[L]=L?1:1-T),C=_[L],T=I[L];_[0]===_[1]&&I[0]*I[1]!==1?E.splice(x,1):x++}return E;function R(k,F,P){return k.interval[P]<F.interval[P]||k.interval[P]===F.interval[P]&&(k.close[P]-F.close[P]===(P?-1:1)||!P&&R(k,F,1))}}function b(E){return E-parseFloat(E)>=0}B.linearMap=m,B.parsePercent=g,B.round=p,B.asc=c,B.getPrecision=h,B.getPrecisionSafe=l,B.getPixelPrecision=e,B.getPercentWithPrecision=n,B.MAX_SAFE_INTEGER=i,B.remRadian=r,B.isRadianAroundZero=a,B.parseDate=s,B.quantity=u,B.quantityExponent=d,B.nice=v,B.quantile=y,B.reformIntervals=S,B.isNumeric=b},OKJ2:function(M,B,o){var w=o("KxfA"),f=w.retrieveRawValue,A=o("7aKB"),m=A.getTooltipMarker,g=A.formatTpl,p=o("4NO4"),c=p.getTooltipRenderMode,h=/\{@(.+?)\}/g,l={getDataParams:function(e,n){var i=this.getData(n),r=this.getRawValue(e,n),a=i.getRawIndex(e),t=i.getName(e),s=i.getRawDataItem(e),u=i.getItemVisual(e,"color"),d=i.getItemVisual(e,"borderColor"),v=this.ecModel.getComponent("tooltip"),y=v&&v.get("renderMode"),S=c(y),b=this.mainType,E=b==="series",C=i.userOutput;return{componentType:b,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:E?this.subType:null,seriesIndex:this.seriesIndex,seriesId:E?this.id:null,seriesName:E?this.name:null,name:t,dataIndex:a,data:s,dataType:n,value:r,color:u,borderColor:d,dimensionNames:C?C.dimensionNames:null,encode:C?C.encode:null,marker:m({color:u,renderMode:S}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(e,n,i,r,a){n=n||"normal";var t=this.getData(i),s=t.getItemModel(e),u=this.getDataParams(e,i);r!=null&&u.value instanceof Array&&(u.value=u.value[r]);var d=s.get(n==="normal"?[a||"label","formatter"]:[n,a||"label","formatter"]);if(typeof d=="function")return u.status=n,u.dimensionIndex=r,d(u);if(typeof d=="string"){var v=g(d,u);return v.replace(h,function(y,S){var b=S.length;return S.charAt(0)==="["&&S.charAt(b-1)==="]"&&(S=+S.slice(1,b-1)),f(t,e,S)})}},getRawValue:function(e,n){return f(this.getData(n),e)},formatTooltip:function(){}};M.exports=l},"OO/H":function(M,B,o){},OQFs:function(M,B,o){var w=o("KCsZ"),f=w([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),A={getLineStyle:function(m){var g=f(this,m);return g.lineDash=this.getLineDash(g.lineWidth),g},getLineDash:function(m){m==null&&(m=1);var g=this.get("type"),p=Math.max(m,2),c=m*4;return g==="solid"||g==null?!1:g==="dashed"?[c,c]:[p,p]}};M.exports=A},OS9S:function(M,B,o){var w=o("bYtY"),f=w.inherits,A=o("Gev7"),m=o("mFDi");function g(h){A.call(this,h),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}g.prototype.incremental=!0,g.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},g.prototype.addDisplayable=function(h,l){l?this._temporaryDisplayables.push(h):this._displayables.push(h),this.dirty()},g.prototype.addDisplayables=function(h,l){l=l||!1;for(var e=0;e<h.length;e++)this.addDisplayable(h[e],l)},g.prototype.eachPendingDisplayable=function(h){for(var l=this._cursor;l<this._displayables.length;l++)h&&h(this._displayables[l]);for(var l=0;l<this._temporaryDisplayables.length;l++)h&&h(this._temporaryDisplayables[l])},g.prototype.update=function(){this.updateTransform();for(var h=this._cursor;h<this._displayables.length;h++){var l=this._displayables[h];l.parent=this,l.update(),l.parent=null}for(var h=0;h<this._temporaryDisplayables.length;h++){var l=this._temporaryDisplayables[h];l.parent=this,l.update(),l.parent=null}},g.prototype.brush=function(h,l){for(var e=this._cursor;e<this._displayables.length;e++){var n=this._displayables[e];n.beforeBrush&&n.beforeBrush(h),n.brush(h,e===this._cursor?null:this._displayables[e-1]),n.afterBrush&&n.afterBrush(h)}this._cursor=e;for(var e=0;e<this._temporaryDisplayables.length;e++){var n=this._temporaryDisplayables[e];n.beforeBrush&&n.beforeBrush(h),n.brush(h,e===0?null:this._temporaryDisplayables[e-1]),n.afterBrush&&n.afterBrush(h)}this._temporaryDisplayables=[],this.notClear=!0};var p=[];g.prototype.getBoundingRect=function(){if(!this._rect){for(var h=new m(Infinity,Infinity,-Infinity,-Infinity),l=0;l<this._displayables.length;l++){var e=this._displayables[l],n=e.getBoundingRect().clone();e.needLocalTransform()&&n.applyTransform(e.getLocalTransform(p)),h.union(n)}this._rect=h}return this._rect},g.prototype.contain=function(h,l){var e=this.transformCoordToLocal(h,l),n=this.getBoundingRect();if(n.contain(e[0],e[1]))for(var i=0;i<this._displayables.length;i++){var r=this._displayables[i];if(r.contain(h,l))return!0}return!1},f(g,A);var c=g;M.exports=c},OUIX:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("x6LZ"),m=o.n(A),g=o("W9l/"),p=o("keYo"),c=o("jOhD")},OUJF:function(M,B,o){var w=o("ProS"),f=o("bYtY");w.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(A,m){var g=m.getComponent("timeline");return g&&A.currentIndex!=null&&(g.setCurrentIndex(A.currentIndex),!g.get("loop",!0)&&g.isIndexMax()&&g.setPlayState(!1)),m.resetOption("timeline"),f.defaults({currentIndex:g.option.currentIndex},A)}),w.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(A,m){var g=m.getComponent("timeline");g&&A.playState!=null&&g.setPlayState(A.playState)})},OVOf:function(M,B,o){},OXB0:function(M,B,o){var w=o("T4UG"),f=o("MwEJ"),A=o("IDmD"),m=w.extend({type:"series.heatmap",getInitialData:function(g,p){return f(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var g=A.get(this.get("coordinateSystem"));if(g&&g.dimensions)return g.dimensions[0]==="lng"&&g.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});M.exports=m},OXtT:function(M,B,o){"use strict";var w=o("lHn7"),f=o("ac54"),A=w.e;A.Header=w.c,A.Footer=w.b,A.Content=w.a,A.Sider=f.b,B.a=A},OZM5:function(M,B,o){"use strict";o.d(B,"b",function(){return l}),o.d(B,"a",function(){return e}),o.d(B,"k",function(){return n}),o.d(B,"h",function(){return i}),o.d(B,"i",function(){return r}),o.d(B,"g",function(){return a}),o.d(B,"c",function(){return u}),o.d(B,"d",function(){return d}),o.d(B,"j",function(){return S}),o.d(B,"e",function(){return b}),o.d(B,"f",function(){return E});var w=o("KQm4"),f=o("U8pU"),A=o("Ff2n"),m=o("q1tI"),g=o.n(m),p=o("Kwbf"),c=o("WaYH"),h=["children"];function l(C,T){var x=C.slice(),_=x.indexOf(T);return _>=0&&x.splice(_,1),x}function e(C,T){var x=C.slice();return x.indexOf(T)===-1&&x.push(T),x}function n(C){return C.split("-")}function i(C,T){return"".concat(C,"-").concat(T)}function r(C){return C&&C.type&&C.type.isTreeNode}function a(C,T){var x=[],_=T[C];function I(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];L.forEach(function(R){var k=R.key,F=R.children;x.push(k),I(F)})}return I(_.children),x}function t(C){if(C.parent){var T=n(C.pos);return Number(T[T.length-1])===C.parent.children.length-1}return!1}function s(C){var T=n(C.pos);return Number(T[T.length-1])===0}function u(C,T,x,_,I,L,R,k,F,P){var W,D=C.clientX,U=C.clientY,H=C.target.getBoundingClientRect(),j=H.top,K=H.height,X=(P==="rtl"?-1:1)*(((I==null?void 0:I.x)||0)-D),z=(X-12)/_,Y=k[x.props.eventKey];if(U<j+K/2){var $=R.findIndex(function($e){return $e.data.key===Y.key}),ne=$<=0?0:$-1,J=R[ne].data.key;Y=k[J]}var ge=Y.key,de=Y,Ie=Y.key,be=0,Ce=0;if(!F.includes(ge))for(var je=0;je<z&&t(Y);je+=1)Y=Y.parent,Ce+=1;var te=Y.node,ve=!0;return s(Y)&&Y.level===0&&U<j+K/2&&L({dropNode:te,dropPosition:-1})&&Y.key===x.props.eventKey?be=-1:(de.children||[]).length&&F.includes(Ie)?L({dropNode:te,dropPosition:0})?be=0:ve=!1:Ce===0?z>-1.5?L({dropNode:te,dropPosition:1})?be=1:ve=!1:L({dropNode:te,dropPosition:0})?be=0:L({dropNode:te,dropPosition:1})?be=1:ve=!1:L({dropNode:te,dropPosition:1})?be=1:ve=!1,{dropPosition:be,dropLevelOffset:Ce,dropTargetKey:Y.key,dropTargetPos:Y.pos,dragOverNodeKey:Ie,dropContainerKey:be===0?null:((W=Y.parent)===null||W===void 0?void 0:W.key)||null,dropAllowed:ve}}function d(C,T){if(!C)return;var x=T.multiple;return x?C.slice():C.length?[C[0]]:C}var v=function(T){return T};function y(C,T){if(!C)return[];var x=T||{},_=x.processProps,I=_===void 0?v:_,L=Array.isArray(C)?C:[C];return L.map(function(R){var k=R.children,F=Object(A.a)(R,h),P=y(k,T);return g.a.createElement(c.a,I(F),P)})}function S(C){if(!C)return null;var T;if(Array.isArray(C))T={checkedKeys:C,halfCheckedKeys:void 0};else if(Object(f.a)(C)==="object")T={checkedKeys:C.checked||void 0,halfCheckedKeys:C.halfChecked||void 0};else return Object(p.a)(!1,"`checkedKeys` is not an array or an object"),null;return T}function b(C,T){var x=new Set;function _(I){if(x.has(I))return;var L=T[I];if(!L)return;x.add(I);var R=L.parent,k=L.node;if(k.disabled)return;R&&_(R.key)}return(C||[]).forEach(function(I){_(I)}),Object(w.a)(x)}function E(C){var T={};return Object.keys(C).forEach(function(x){(x.startsWith("data-")||x.startsWith("aria-"))&&(T[x]=C[x])}),T}},OlYY:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("ProS"),m=o("bYtY"),g=o("ItGF"),p=o("4NO4"),c=o("UOVi"),h=o("zDms"),l=m.each,e=c.eachAxisDim,n=A.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,u){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var d=i(t);this.settledOption=d,this.mergeDefaultAndTheme(t,u),this.doInit(d)},mergeOption:function(t){var s=i(t);m.merge(this.option,t,!0),m.merge(this.settledOption,s,!0),this.doInit(s)},doInit:function(t){var s=this.option;g.canvasSupported||(s.realtime=!1),this._setDefaultThrottle(t),r(this,t);var u=this.settledOption;l([["start","startValue"],["end","endValue"]],function(d,v){this._rangePropMode[v]==="value"&&(s[d[0]]=u[d[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(s,u,d,v){var y=this.dependentModels[s.axis][u],S=y.__dzAxisProxy||(y.__dzAxisProxy=new h(s.name,u,this,v));t[s.name+"_"+u]=S},this)},_resetTarget:function(){var t=this.option,s=this._judgeAutoMode();e(function(u){var d=u.axisIndex;t[d]=p.normalizeToArray(t[d])},this),s==="axisIndex"?this._autoSetAxisIndex():s==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,s=!1;e(function(d){t[d.axisIndex]!=null&&(s=!0)},this);var u=t.orient;if(u==null&&s)return"orient";if(!s)return u==null&&(t.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var t=!0,s=this.get("orient",!0),u=this.option,d=this.dependentModels;if(t){var v=s==="vertical"?"y":"x";d[v+"Axis"].length?(u[v+"AxisIndex"]=[0],t=!1):l(d.singleAxis,function(y){t&&y.get("orient",!0)===s&&(u.singleAxisIndex=[y.componentIndex],t=!1)})}t&&e(function(y){if(!t)return;var S=[],b=this.dependentModels[y.axis];if(b.length&&!S.length)for(var E=0,C=b.length;E<C;E++)b[E].get("type")==="category"&&S.push(E);u[y.axisIndex]=S,S.length&&(t=!1)},this),t&&this.ecModel.eachSeries(function(y){this._isSeriesHasAllAxesTypeOf(y,"value")&&e(function(S){var b=u[S.axisIndex],E=y.get(S.axisIndex),C=y.get(S.axisId),T=y.ecModel.queryComponents({mainType:S.axis,index:E,id:C})[0];E=T.componentIndex,m.indexOf(b,E)<0&&b.push(E)})},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 u=!0;return e(function(d){var v=t.get(d.axisIndex),y=this.dependentModels[d.axis][v];(!y||y.get("type")!==s)&&(u=!1)},this),u},_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 e(function(s){if(t==null){var u=this.get(s.axisIndex);u.length&&(t=this.dependentModels[s.axis][u[0]])}},this),t},eachTargetAxis:function(t,s){var u=this.ecModel;e(function(d){l(this.get(d.axisIndex),function(v){t.call(s,d,v,this,u)},this)},this)},getAxisProxy:function(t,s){return this._axisProxies[t+"_"+s]},getAxisModel:function(t,s){var u=this.getAxisProxy(t,s);return u&&u.getAxisModel()},setRawRange:function(t){var s=this.option,u=this.settledOption;l([["start","startValue"],["end","endValue"]],function(d){(t[d[0]]!=null||t[d[1]]!=null)&&(s[d[0]]=u[d[0]]=t[d[0]],s[d[1]]=u[d[1]]=t[d[1]])},this),r(this,t)},setCalculatedRange:function(t){var s=this.option;l(["start","startValue","end","endValue"],function(u){s[u]=t[u]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,s){if(t==null&&s==null){var u=this.findRepresentativeAxisProxy();if(u)return u.getDataValueWindow()}else return this.getAxisProxy(t,s).getDataValueWindow()},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var s=this._axisProxies;for(var u in s)if(s.hasOwnProperty(u)&&s[u].hostedBy(this))return s[u];for(var u in s)if(s.hasOwnProperty(u)&&!s[u].hostedBy(this))return s[u]},getRangePropMode:function(){return this._rangePropMode.slice()}});function i(t){var s={};return l(["start","end","startValue","endValue","throttle"],function(u){t.hasOwnProperty(u)&&(s[u]=t[u])}),s}function r(t,s){var u=t._rangePropMode,d=t.get("rangeMode");l([["start","startValue"],["end","endValue"]],function(v,y){var S=s[v[0]]!=null,b=s[v[1]]!=null;S&&!b?u[y]="percent":!S&&b?u[y]="value":d?u[y]=d[y]:S&&(u[y]="percent")})}var a=n;M.exports=a},"Oy/b":function(M,B,o){(function(f,A){M.exports=A()})(typeof self!="undefined"?self:this,function(){return function(w){var f={};function A(m){if(f[m])return f[m].exports;var g=f[m]={i:m,l:!1,exports:{}};return w[m].call(g.exports,g,g.exports,A),g.l=!0,g.exports}return A.m=w,A.c=f,A.d=function(m,g,p){A.o(m,g)||Object.defineProperty(m,g,{enumerable:!0,get:p})},A.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},A.t=function(m,g){if(g&1&&(m=A(m)),g&8)return m;if(g&4&&typeof m=="object"&&m&&m.__esModule)return m;var p=Object.create(null);if(A.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:m}),g&2&&typeof m!="string")for(var c in m)A.d(p,c,function(h){return m[h]}.bind(null,c));return p},A.n=function(m){var g=m&&m.__esModule?function(){return m.default}:function(){return m};return A.d(g,"a",g),g},A.o=function(m,g){return Object.prototype.hasOwnProperty.call(m,g)},A.p="",A(A.s=1)}([function(w,f,A){},function(w,f,A){"use strict";A.r(f);var m=A(0),g=function(){function dt(ie,pe,we){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=ie,this.start=pe,this.end=we}return dt.range=function(pe,we){return we?!pe||!pe.loc||!we.loc||pe.loc.lexer!==we.loc.lexer?null:new dt(pe.loc.lexer,pe.loc.start,we.loc.end):pe&&pe.loc},dt}(),p=function(){function dt(pe,we){this.text=void 0,this.loc=void 0,this.text=pe,this.loc=we}var ie=dt.prototype;return ie.range=function(we,Ke){return new dt(Ke,g.range(this,we))},dt}(),c=function dt(ie,pe){this.position=void 0;var we="KaTeX parse error: "+ie,Ke,ut=pe&&pe.loc;if(ut&&ut.start<=ut.end){var Pt=ut.lexer.input;Ke=ut.start;var ar=ut.end;Ke===Pt.length?we+=" at end of input: ":we+=" at position "+(Ke+1)+": ";var wr=Pt.slice(Ke,ar).replace(/[^]/g,"$&\u0332"),jr;Ke>15?jr="\u2026"+Pt.slice(Ke-15,Ke):jr=Pt.slice(0,Ke);var hn;ar+15<Pt.length?hn=Pt.slice(ar,ar+15)+"\u2026":hn=Pt.slice(ar),we+=jr+wr+hn}var Tn=new Error(we);return Tn.name="ParseError",Tn.__proto__=dt.prototype,Tn.position=Ke,Tn};c.prototype.__proto__=Error.prototype;var h=c,l=function(ie,pe){return ie.indexOf(pe)!==-1},e=function(ie,pe){return ie===void 0?pe:ie},n=/([A-Z])/g,i=function(ie){return ie.replace(n,"-$1").toLowerCase()},r={"&":"&",">":">","<":"<",'"':""","'":"'"},a=/[&><"']/g;function t(dt){return String(dt).replace(a,function(ie){return r[ie]})}var s=function dt(ie){return ie.type==="ordgroup"||ie.type==="color"?ie.body.length===1?dt(ie.body[0]):ie:ie.type==="font"?dt(ie.body):ie},u=function(ie){var pe=s(ie);return pe.type==="mathord"||pe.type==="textord"||pe.type==="atom"},d=function(ie){if(!ie)throw new Error("Expected non-null, but got "+String(ie));return ie},v=function(ie){var pe=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(ie);return pe!=null?pe[1]:"_relative"},y={contains:l,deflt:e,escape:t,hyphenate:i,getBaseElem:s,isCharacterBox:u,protocolFromUrl:v},S=function(){function dt(pe){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,pe=pe||{},this.displayMode=y.deflt(pe.displayMode,!1),this.output=y.deflt(pe.output,"htmlAndMathml"),this.leqno=y.deflt(pe.leqno,!1),this.fleqn=y.deflt(pe.fleqn,!1),this.throwOnError=y.deflt(pe.throwOnError,!0),this.errorColor=y.deflt(pe.errorColor,"#cc0000"),this.macros=pe.macros||{},this.minRuleThickness=Math.max(0,y.deflt(pe.minRuleThickness,0)),this.colorIsTextColor=y.deflt(pe.colorIsTextColor,!1),this.strict=y.deflt(pe.strict,"warn"),this.trust=y.deflt(pe.trust,!1),this.maxSize=Math.max(0,y.deflt(pe.maxSize,Infinity)),this.maxExpand=Math.max(0,y.deflt(pe.maxExpand,1e3))}var ie=dt.prototype;return ie.reportNonstrict=function(we,Ke,ut){var Pt=this.strict;if(typeof Pt=="function"&&(Pt=Pt(we,Ke,ut)),!Pt||Pt==="ignore")return;if(Pt===!0||Pt==="error")throw new h("LaTeX-incompatible input and strict mode is set to 'error': "+(Ke+" ["+we+"]"),ut);Pt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Ke+" ["+we+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Pt+"': "+Ke+" ["+we+"]"))},ie.useStrictBehavior=function(we,Ke,ut){var Pt=this.strict;if(typeof Pt=="function")try{Pt=Pt(we,Ke,ut)}catch(ar){Pt="error"}return!Pt||Pt==="ignore"?!1:Pt===!0||Pt==="error"?!0:Pt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Ke+" ["+we+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Pt+"': "+Ke+" ["+we+"]")),!1)},ie.isTrusted=function(we){we.url&&!we.protocol&&(we.protocol=y.protocolFromUrl(we.url));var Ke=typeof this.trust=="function"?this.trust(we):this.trust;return Boolean(Ke)},dt}(),b=function(){function dt(pe,we,Ke){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=pe,this.size=we,this.cramped=Ke}var ie=dt.prototype;return ie.sup=function(){return k[F[this.id]]},ie.sub=function(){return k[P[this.id]]},ie.fracNum=function(){return k[W[this.id]]},ie.fracDen=function(){return k[D[this.id]]},ie.cramp=function(){return k[U[this.id]]},ie.text=function(){return k[H[this.id]]},ie.isTight=function(){return this.size>=2},dt}(),E=0,C=1,T=2,x=3,_=4,I=5,L=6,R=7,k=[new b(E,0,!1),new b(C,0,!0),new b(T,1,!1),new b(x,1,!0),new b(_,2,!1),new b(I,2,!0),new b(L,3,!1),new b(R,3,!0)],F=[_,I,_,I,L,R,L,R],P=[I,I,I,I,R,R,R,R],W=[T,x,_,I,L,R,L,R],D=[x,x,I,I,R,R,R,R],U=[C,C,x,x,I,I,R,R],H=[E,C,T,x,T,x,T,x],j={DISPLAY:k[E],TEXT:k[T],SCRIPT:k[_],SCRIPTSCRIPT:k[L]},K=[{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 X(dt){for(var ie=0;ie<K.length;ie++)for(var pe=K[ie],we=0;we<pe.blocks.length;we++){var Ke=pe.blocks[we];if(dt>=Ke[0]&&dt<=Ke[1])return pe.name}return null}var z=[];K.forEach(function(dt){return dt.blocks.forEach(function(ie){return z.push.apply(z,ie)})});function Y(dt){for(var ie=0;ie<z.length;ie+=2)if(dt>=z[ie]&&dt<=z[ie+1])return!0;return!1}var $=80,ne=function(ie,pe){return"M95,"+(622+ie+pe)+`
|
|
|
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`+ie/2.075+" -"+ie+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+ie)+`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+ie)+" "+pe+"h400000v"+(40+ie)+"h-400000z"},J=function(ie,pe){return"M263,"+(601+ie+pe)+`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`+ie/2.084+" -"+ie+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+ie)+`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+ie)+" "+pe+"h400000v"+(40+ie)+"h-400000z"},ge=function(ie,pe){return"M983 "+(10+ie+pe)+`
|
|
|
l`+ie/3.13+" -"+ie+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+ie)+`
|
|
|
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+ie)+" "+pe+"h400000v"+(40+ie)+"h-400000z"},de=function(ie,pe){return"M424,"+(2398+ie+pe)+`
|
|
|
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`+ie/4.223+" -"+ie+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+ie)+`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+ie)+" "+pe+`
|
|
|
h400000v`+(40+ie)+"h-400000z"},Ie=function(ie,pe){return"M473,"+(2713+ie+pe)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+ie/5.298+" -"+ie+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+ie)+`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+ie)+" "+pe+"h400000v"+(40+ie)+"H1017.7z"},be=function(ie,pe,we){var Ke=we-54-pe-ie;return"M702 "+(ie+pe)+"H400000"+(40+ie)+`
|
|
|
H742v`+Ke+`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 `+pe+"H400000v"+(40+ie)+"H742z"},Ce=function(ie,pe,we){pe=1e3*pe;var Ke="";switch(ie){case"sqrtMain":Ke=ne(pe,$);break;case"sqrtSize1":Ke=J(pe,$);break;case"sqrtSize2":Ke=ge(pe,$);break;case"sqrtSize3":Ke=de(pe,$);break;case"sqrtSize4":Ke=Ie(pe,$);break;case"sqrtTall":Ke=be(pe,$,we)}return Ke},je={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 dt(pe){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=pe,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var ie=dt.prototype;return ie.hasClass=function(we){return y.contains(this.classes,we)},ie.toNode=function(){for(var we=document.createDocumentFragment(),Ke=0;Ke<this.children.length;Ke++)we.appendChild(this.children[Ke].toNode());return we},ie.toMarkup=function(){for(var we="",Ke=0;Ke<this.children.length;Ke++)we+=this.children[Ke].toMarkup();return we},ie.toText=function(){var we=function(ut){return ut.toText()};return this.children.map(we).join("")},dt}(),ve=function(ie){return ie.filter(function(pe){return pe}).join(" ")},$e=function(ie,pe,we){if(this.classes=ie||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=we||{},pe){pe.style.isTight()&&this.classes.push("mtight");var Ke=pe.getColor();Ke&&(this.style.color=Ke)}},Le=function(ie){var pe=document.createElement(ie);pe.className=ve(this.classes);for(var we in this.style)this.style.hasOwnProperty(we)&&(pe.style[we]=this.style[we]);for(var Ke in this.attributes)this.attributes.hasOwnProperty(Ke)&&pe.setAttribute(Ke,this.attributes[Ke]);for(var ut=0;ut<this.children.length;ut++)pe.appendChild(this.children[ut].toNode());return pe},he=function(ie){var pe="<"+ie;this.classes.length&&(pe+=' class="'+y.escape(ve(this.classes))+'"');var we="";for(var Ke in this.style)this.style.hasOwnProperty(Ke)&&(we+=y.hyphenate(Ke)+":"+this.style[Ke]+";");we&&(pe+=' style="'+y.escape(we)+'"');for(var ut in this.attributes)this.attributes.hasOwnProperty(ut)&&(pe+=" "+ut+'="'+y.escape(this.attributes[ut])+'"');pe+=">";for(var Pt=0;Pt<this.children.length;Pt++)pe+=this.children[Pt].toMarkup();return pe+="</"+ie+">",pe},ee=function(){function dt(pe,we,Ke,ut){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,$e.call(this,pe,Ke,ut),this.children=we||[]}var ie=dt.prototype;return ie.setAttribute=function(we,Ke){this.attributes[we]=Ke},ie.hasClass=function(we){return y.contains(this.classes,we)},ie.toNode=function(){return Le.call(this,"span")},ie.toMarkup=function(){return he.call(this,"span")},dt}(),se=function(){function dt(pe,we,Ke,ut){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,$e.call(this,we,ut),this.children=Ke||[],this.setAttribute("href",pe)}var ie=dt.prototype;return ie.setAttribute=function(we,Ke){this.attributes[we]=Ke},ie.hasClass=function(we){return y.contains(this.classes,we)},ie.toNode=function(){return Le.call(this,"a")},ie.toMarkup=function(){return he.call(this,"a")},dt}(),Ue=function(){function dt(pe,we,Ke){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=we,this.src=pe,this.classes=["mord"],this.style=Ke}var ie=dt.prototype;return ie.hasClass=function(we){return y.contains(this.classes,we)},ie.toNode=function(){var we=document.createElement("img");we.src=this.src,we.alt=this.alt,we.className="mord";for(var Ke in this.style)this.style.hasOwnProperty(Ke)&&(we.style[Ke]=this.style[Ke]);return we},ie.toMarkup=function(){var we="<img src='"+this.src+" 'alt='"+this.alt+"' ",Ke="";for(var ut in this.style)this.style.hasOwnProperty(ut)&&(Ke+=y.hyphenate(ut)+":"+this.style[ut]+";");return Ke&&(we+=' style="'+y.escape(Ke)+'"'),we+="'/>",we},dt}(),ue={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ne=function(){function dt(pe,we,Ke,ut,Pt,ar,wr,jr){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=pe,this.height=we||0,this.depth=Ke||0,this.italic=ut||0,this.skew=Pt||0,this.width=ar||0,this.classes=wr||[],this.style=jr||{},this.maxFontSize=0;var hn=X(this.text.charCodeAt(0));hn&&this.classes.push(hn+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ue[this.text])}var ie=dt.prototype;return ie.hasClass=function(we){return y.contains(this.classes,we)},ie.toNode=function(){var we=document.createTextNode(this.text),Ke=null;this.italic>0&&(Ke=document.createElement("span"),Ke.style.marginRight=this.italic+"em"),this.classes.length>0&&(Ke=Ke||document.createElement("span"),Ke.className=ve(this.classes));for(var ut in this.style)this.style.hasOwnProperty(ut)&&(Ke=Ke||document.createElement("span"),Ke.style[ut]=this.style[ut]);return Ke?(Ke.appendChild(we),Ke):we},ie.toMarkup=function(){var we=!1,Ke="<span";this.classes.length&&(we=!0,Ke+=' class="',Ke+=y.escape(ve(this.classes)),Ke+='"');var ut="";this.italic>0&&(ut+="margin-right:"+this.italic+"em;");for(var Pt in this.style)this.style.hasOwnProperty(Pt)&&(ut+=y.hyphenate(Pt)+":"+this.style[Pt]+";");ut&&(we=!0,Ke+=' style="'+y.escape(ut)+'"');var ar=y.escape(this.text);return we?(Ke+=">",Ke+=ar,Ke+="</span>",Ke):ar},dt}(),Fe=function(){function dt(pe,we){this.children=void 0,this.attributes=void 0,this.children=pe||[],this.attributes=we||{}}var ie=dt.prototype;return ie.toNode=function(){var we="http://www.w3.org/2000/svg",Ke=document.createElementNS(we,"svg");for(var ut in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ut)&&Ke.setAttribute(ut,this.attributes[ut]);for(var Pt=0;Pt<this.children.length;Pt++)Ke.appendChild(this.children[Pt].toNode());return Ke},ie.toMarkup=function(){var we="<svg";for(var Ke in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ke)&&(we+=" "+Ke+"='"+this.attributes[Ke]+"'");we+=">";for(var ut=0;ut<this.children.length;ut++)we+=this.children[ut].toMarkup();return we+="</svg>",we},dt}(),ae=function(){function dt(pe,we){this.pathName=void 0,this.alternate=void 0,this.pathName=pe,this.alternate=we}var ie=dt.prototype;return ie.toNode=function(){var we="http://www.w3.org/2000/svg",Ke=document.createElementNS(we,"path");return this.alternate?Ke.setAttribute("d",this.alternate):Ke.setAttribute("d",je[this.pathName]),Ke},ie.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+je[this.pathName]+"'/>"},dt}(),ce=function(){function dt(pe){this.attributes=void 0,this.attributes=pe||{}}var ie=dt.prototype;return ie.toNode=function(){var we="http://www.w3.org/2000/svg",Ke=document.createElementNS(we,"line");for(var ut in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ut)&&Ke.setAttribute(ut,this.attributes[ut]);return Ke},ie.toMarkup=function(){var we="<line";for(var Ke in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ke)&&(we+=" "+Ke+"='"+this.attributes[Ke]+"'");return we+="/>",we},dt}();function _e(dt){if(dt instanceof Ne)return dt;throw new Error("Expected symbolNode but got "+String(dt)+".")}function ze(dt){if(dt instanceof ee)return dt;throw new Error("Expected span<HtmlDomNode> but got "+String(dt)+".")}var it={"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]}},Ze={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]},Ee={\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 mt(dt,ie){it[dt]=ie}function Je(dt,ie,pe){if(!it[ie])throw new Error("Font metrics not found for font: "+ie+".");var we=dt.charCodeAt(0),Ke=it[ie][we];if(!Ke&&dt[0]in Ee&&(we=Ee[dt[0]].charCodeAt(0),Ke=it[ie][we]),!Ke&&pe==="text"&&(Y(we)&&(Ke=it[ie][77])),Ke)return{depth:Ke[0],height:Ke[1],italic:Ke[2],skew:Ke[3],width:Ke[4]}}var rt={};function wt(dt){var ie;if(dt>=5?ie=0:dt>=3?ie=1:ie=2,!rt[ie]){var pe=rt[ie]={cssEmPerMu:Ze.quad[ie]/18};for(var we in Ze)Ze.hasOwnProperty(we)&&(pe[we]=Ze[we][ie])}return rt[ie]}var Ot={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ct={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Dt={math:{},text:{}},Xe=Dt;function q(dt,ie,pe,we,Ke,ut){Dt[dt][Ke]={font:ie,group:pe,replace:we},ut&&we&&(Dt[dt][we]=Dt[dt][Ke])}var V="math",Ae="text",xe="main",re="ams",ot="accent-token",bt="bin",tt="close",Tt="inner",Gt="mathord",lr="op-token",pr="open",Rr="punct",xt="rel",It="spacing",At="textord";q(V,xe,xt,"\u2261","\\equiv",!0),q(V,xe,xt,"\u227A","\\prec",!0),q(V,xe,xt,"\u227B","\\succ",!0),q(V,xe,xt,"\u223C","\\sim",!0),q(V,xe,xt,"\u22A5","\\perp"),q(V,xe,xt,"\u2AAF","\\preceq",!0),q(V,xe,xt,"\u2AB0","\\succeq",!0),q(V,xe,xt,"\u2243","\\simeq",!0),q(V,xe,xt,"\u2223","\\mid",!0),q(V,xe,xt,"\u226A","\\ll",!0),q(V,xe,xt,"\u226B","\\gg",!0),q(V,xe,xt,"\u224D","\\asymp",!0),q(V,xe,xt,"\u2225","\\parallel"),q(V,xe,xt,"\u22C8","\\bowtie",!0),q(V,xe,xt,"\u2323","\\smile",!0),q(V,xe,xt,"\u2291","\\sqsubseteq",!0),q(V,xe,xt,"\u2292","\\sqsupseteq",!0),q(V,xe,xt,"\u2250","\\doteq",!0),q(V,xe,xt,"\u2322","\\frown",!0),q(V,xe,xt,"\u220B","\\ni",!0),q(V,xe,xt,"\u221D","\\propto",!0),q(V,xe,xt,"\u22A2","\\vdash",!0),q(V,xe,xt,"\u22A3","\\dashv",!0),q(V,xe,xt,"\u220B","\\owns"),q(V,xe,Rr,".","\\ldotp"),q(V,xe,Rr,"\u22C5","\\cdotp"),q(V,xe,At,"#","\\#"),q(Ae,xe,At,"#","\\#"),q(V,xe,At,"&","\\&"),q(Ae,xe,At,"&","\\&"),q(V,xe,At,"\u2135","\\aleph",!0),q(V,xe,At,"\u2200","\\forall",!0),q(V,xe,At,"\u210F","\\hbar",!0),q(V,xe,At,"\u2203","\\exists",!0),q(V,xe,At,"\u2207","\\nabla",!0),q(V,xe,At,"\u266D","\\flat",!0),q(V,xe,At,"\u2113","\\ell",!0),q(V,xe,At,"\u266E","\\natural",!0),q(V,xe,At,"\u2663","\\clubsuit",!0),q(V,xe,At,"\u2118","\\wp",!0),q(V,xe,At,"\u266F","\\sharp",!0),q(V,xe,At,"\u2662","\\diamondsuit",!0),q(V,xe,At,"\u211C","\\Re",!0),q(V,xe,At,"\u2661","\\heartsuit",!0),q(V,xe,At,"\u2111","\\Im",!0),q(V,xe,At,"\u2660","\\spadesuit",!0),q(Ae,xe,At,"\xA7","\\S",!0),q(Ae,xe,At,"\xB6","\\P",!0),q(V,xe,At,"\u2020","\\dag"),q(Ae,xe,At,"\u2020","\\dag"),q(Ae,xe,At,"\u2020","\\textdagger"),q(V,xe,At,"\u2021","\\ddag"),q(Ae,xe,At,"\u2021","\\ddag"),q(Ae,xe,At,"\u2021","\\textdaggerdbl"),q(V,xe,tt,"\u23B1","\\rmoustache",!0),q(V,xe,pr,"\u23B0","\\lmoustache",!0),q(V,xe,tt,"\u27EF","\\rgroup",!0),q(V,xe,pr,"\u27EE","\\lgroup",!0),q(V,xe,bt,"\u2213","\\mp",!0),q(V,xe,bt,"\u2296","\\ominus",!0),q(V,xe,bt,"\u228E","\\uplus",!0),q(V,xe,bt,"\u2293","\\sqcap",!0),q(V,xe,bt,"\u2217","\\ast"),q(V,xe,bt,"\u2294","\\sqcup",!0),q(V,xe,bt,"\u25EF","\\bigcirc"),q(V,xe,bt,"\u2219","\\bullet"),q(V,xe,bt,"\u2021","\\ddagger"),q(V,xe,bt,"\u2240","\\wr",!0),q(V,xe,bt,"\u2A3F","\\amalg"),q(V,xe,bt,"&","\\And"),q(V,xe,xt,"\u27F5","\\longleftarrow",!0),q(V,xe,xt,"\u21D0","\\Leftarrow",!0),q(V,xe,xt,"\u27F8","\\Longleftarrow",!0),q(V,xe,xt,"\u27F6","\\longrightarrow",!0),q(V,xe,xt,"\u21D2","\\Rightarrow",!0),q(V,xe,xt,"\u27F9","\\Longrightarrow",!0),q(V,xe,xt,"\u2194","\\leftrightarrow",!0),q(V,xe,xt,"\u27F7","\\longleftrightarrow",!0),q(V,xe,xt,"\u21D4","\\Leftrightarrow",!0),q(V,xe,xt,"\u27FA","\\Longleftrightarrow",!0),q(V,xe,xt,"\u21A6","\\mapsto",!0),q(V,xe,xt,"\u27FC","\\longmapsto",!0),q(V,xe,xt,"\u2197","\\nearrow",!0),q(V,xe,xt,"\u21A9","\\hookleftarrow",!0),q(V,xe,xt,"\u21AA","\\hookrightarrow",!0),q(V,xe,xt,"\u2198","\\searrow",!0),q(V,xe,xt,"\u21BC","\\leftharpoonup",!0),q(V,xe,xt,"\u21C0","\\rightharpoonup",!0),q(V,xe,xt,"\u2199","\\swarrow",!0),q(V,xe,xt,"\u21BD","\\leftharpoondown",!0),q(V,xe,xt,"\u21C1","\\rightharpoondown",!0),q(V,xe,xt,"\u2196","\\nwarrow",!0),q(V,xe,xt,"\u21CC","\\rightleftharpoons",!0),q(V,re,xt,"\u226E","\\nless",!0),q(V,re,xt,"\uE010","\\@nleqslant"),q(V,re,xt,"\uE011","\\@nleqq"),q(V,re,xt,"\u2A87","\\lneq",!0),q(V,re,xt,"\u2268","\\lneqq",!0),q(V,re,xt,"\uE00C","\\@lvertneqq"),q(V,re,xt,"\u22E6","\\lnsim",!0),q(V,re,xt,"\u2A89","\\lnapprox",!0),q(V,re,xt,"\u2280","\\nprec",!0),q(V,re,xt,"\u22E0","\\npreceq",!0),q(V,re,xt,"\u22E8","\\precnsim",!0),q(V,re,xt,"\u2AB9","\\precnapprox",!0),q(V,re,xt,"\u2241","\\nsim",!0),q(V,re,xt,"\uE006","\\@nshortmid"),q(V,re,xt,"\u2224","\\nmid",!0),q(V,re,xt,"\u22AC","\\nvdash",!0),q(V,re,xt,"\u22AD","\\nvDash",!0),q(V,re,xt,"\u22EA","\\ntriangleleft"),q(V,re,xt,"\u22EC","\\ntrianglelefteq",!0),q(V,re,xt,"\u228A","\\subsetneq",!0),q(V,re,xt,"\uE01A","\\@varsubsetneq"),q(V,re,xt,"\u2ACB","\\subsetneqq",!0),q(V,re,xt,"\uE017","\\@varsubsetneqq"),q(V,re,xt,"\u226F","\\ngtr",!0),q(V,re,xt,"\uE00F","\\@ngeqslant"),q(V,re,xt,"\uE00E","\\@ngeqq"),q(V,re,xt,"\u2A88","\\gneq",!0),q(V,re,xt,"\u2269","\\gneqq",!0),q(V,re,xt,"\uE00D","\\@gvertneqq"),q(V,re,xt,"\u22E7","\\gnsim",!0),q(V,re,xt,"\u2A8A","\\gnapprox",!0),q(V,re,xt,"\u2281","\\nsucc",!0),q(V,re,xt,"\u22E1","\\nsucceq",!0),q(V,re,xt,"\u22E9","\\succnsim",!0),q(V,re,xt,"\u2ABA","\\succnapprox",!0),q(V,re,xt,"\u2246","\\ncong",!0),q(V,re,xt,"\uE007","\\@nshortparallel"),q(V,re,xt,"\u2226","\\nparallel",!0),q(V,re,xt,"\u22AF","\\nVDash",!0),q(V,re,xt,"\u22EB","\\ntriangleright"),q(V,re,xt,"\u22ED","\\ntrianglerighteq",!0),q(V,re,xt,"\uE018","\\@nsupseteqq"),q(V,re,xt,"\u228B","\\supsetneq",!0),q(V,re,xt,"\uE01B","\\@varsupsetneq"),q(V,re,xt,"\u2ACC","\\supsetneqq",!0),q(V,re,xt,"\uE019","\\@varsupsetneqq"),q(V,re,xt,"\u22AE","\\nVdash",!0),q(V,re,xt,"\u2AB5","\\precneqq",!0),q(V,re,xt,"\u2AB6","\\succneqq",!0),q(V,re,xt,"\uE016","\\@nsubseteqq"),q(V,re,bt,"\u22B4","\\unlhd"),q(V,re,bt,"\u22B5","\\unrhd"),q(V,re,xt,"\u219A","\\nleftarrow",!0),q(V,re,xt,"\u219B","\\nrightarrow",!0),q(V,re,xt,"\u21CD","\\nLeftarrow",!0),q(V,re,xt,"\u21CF","\\nRightarrow",!0),q(V,re,xt,"\u21AE","\\nleftrightarrow",!0),q(V,re,xt,"\u21CE","\\nLeftrightarrow",!0),q(V,re,xt,"\u25B3","\\vartriangle"),q(V,re,At,"\u210F","\\hslash"),q(V,re,At,"\u25BD","\\triangledown"),q(V,re,At,"\u25CA","\\lozenge"),q(V,re,At,"\u24C8","\\circledS"),q(V,re,At,"\xAE","\\circledR"),q(Ae,re,At,"\xAE","\\circledR"),q(V,re,At,"\u2221","\\measuredangle",!0),q(V,re,At,"\u2204","\\nexists"),q(V,re,At,"\u2127","\\mho"),q(V,re,At,"\u2132","\\Finv",!0),q(V,re,At,"\u2141","\\Game",!0),q(V,re,At,"\u2035","\\backprime"),q(V,re,At,"\u25B2","\\blacktriangle"),q(V,re,At,"\u25BC","\\blacktriangledown"),q(V,re,At,"\u25A0","\\blacksquare"),q(V,re,At,"\u29EB","\\blacklozenge"),q(V,re,At,"\u2605","\\bigstar"),q(V,re,At,"\u2222","\\sphericalangle",!0),q(V,re,At,"\u2201","\\complement",!0),q(V,re,At,"\xF0","\\eth",!0),q(V,re,At,"\u2571","\\diagup"),q(V,re,At,"\u2572","\\diagdown"),q(V,re,At,"\u25A1","\\square"),q(V,re,At,"\u25A1","\\Box"),q(V,re,At,"\u25CA","\\Diamond"),q(V,re,At,"\xA5","\\yen",!0),q(Ae,re,At,"\xA5","\\yen",!0),q(V,re,At,"\u2713","\\checkmark",!0),q(Ae,re,At,"\u2713","\\checkmark"),q(V,re,At,"\u2136","\\beth",!0),q(V,re,At,"\u2138","\\daleth",!0),q(V,re,At,"\u2137","\\gimel",!0),q(V,re,At,"\u03DD","\\digamma",!0),q(V,re,At,"\u03F0","\\varkappa"),q(V,re,pr,"\u250C","\\ulcorner",!0),q(V,re,tt,"\u2510","\\urcorner",!0),q(V,re,pr,"\u2514","\\llcorner",!0),q(V,re,tt,"\u2518","\\lrcorner",!0),q(V,re,xt,"\u2266","\\leqq",!0),q(V,re,xt,"\u2A7D","\\leqslant",!0),q(V,re,xt,"\u2A95","\\eqslantless",!0),q(V,re,xt,"\u2272","\\lesssim",!0),q(V,re,xt,"\u2A85","\\lessapprox",!0),q(V,re,xt,"\u224A","\\approxeq",!0),q(V,re,bt,"\u22D6","\\lessdot"),q(V,re,xt,"\u22D8","\\lll",!0),q(V,re,xt,"\u2276","\\lessgtr",!0),q(V,re,xt,"\u22DA","\\lesseqgtr",!0),q(V,re,xt,"\u2A8B","\\lesseqqgtr",!0),q(V,re,xt,"\u2251","\\doteqdot"),q(V,re,xt,"\u2253","\\risingdotseq",!0),q(V,re,xt,"\u2252","\\fallingdotseq",!0),q(V,re,xt,"\u223D","\\backsim",!0),q(V,re,xt,"\u22CD","\\backsimeq",!0),q(V,re,xt,"\u2AC5","\\subseteqq",!0),q(V,re,xt,"\u22D0","\\Subset",!0),q(V,re,xt,"\u228F","\\sqsubset",!0),q(V,re,xt,"\u227C","\\preccurlyeq",!0),q(V,re,xt,"\u22DE","\\curlyeqprec",!0),q(V,re,xt,"\u227E","\\precsim",!0),q(V,re,xt,"\u2AB7","\\precapprox",!0),q(V,re,xt,"\u22B2","\\vartriangleleft"),q(V,re,xt,"\u22B4","\\trianglelefteq"),q(V,re,xt,"\u22A8","\\vDash",!0),q(V,re,xt,"\u22AA","\\Vvdash",!0),q(V,re,xt,"\u2323","\\smallsmile"),q(V,re,xt,"\u2322","\\smallfrown"),q(V,re,xt,"\u224F","\\bumpeq",!0),q(V,re,xt,"\u224E","\\Bumpeq",!0),q(V,re,xt,"\u2267","\\geqq",!0),q(V,re,xt,"\u2A7E","\\geqslant",!0),q(V,re,xt,"\u2A96","\\eqslantgtr",!0),q(V,re,xt,"\u2273","\\gtrsim",!0),q(V,re,xt,"\u2A86","\\gtrapprox",!0),q(V,re,bt,"\u22D7","\\gtrdot"),q(V,re,xt,"\u22D9","\\ggg",!0),q(V,re,xt,"\u2277","\\gtrless",!0),q(V,re,xt,"\u22DB","\\gtreqless",!0),q(V,re,xt,"\u2A8C","\\gtreqqless",!0),q(V,re,xt,"\u2256","\\eqcirc",!0),q(V,re,xt,"\u2257","\\circeq",!0),q(V,re,xt,"\u225C","\\triangleq",!0),q(V,re,xt,"\u223C","\\thicksim"),q(V,re,xt,"\u2248","\\thickapprox"),q(V,re,xt,"\u2AC6","\\supseteqq",!0),q(V,re,xt,"\u22D1","\\Supset",!0),q(V,re,xt,"\u2290","\\sqsupset",!0),q(V,re,xt,"\u227D","\\succcurlyeq",!0),q(V,re,xt,"\u22DF","\\curlyeqsucc",!0),q(V,re,xt,"\u227F","\\succsim",!0),q(V,re,xt,"\u2AB8","\\succapprox",!0),q(V,re,xt,"\u22B3","\\vartriangleright"),q(V,re,xt,"\u22B5","\\trianglerighteq"),q(V,re,xt,"\u22A9","\\Vdash",!0),q(V,re,xt,"\u2223","\\shortmid"),q(V,re,xt,"\u2225","\\shortparallel"),q(V,re,xt,"\u226C","\\between",!0),q(V,re,xt,"\u22D4","\\pitchfork",!0),q(V,re,xt,"\u221D","\\varpropto"),q(V,re,xt,"\u25C0","\\blacktriangleleft"),q(V,re,xt,"\u2234","\\therefore",!0),q(V,re,xt,"\u220D","\\backepsilon"),q(V,re,xt,"\u25B6","\\blacktriangleright"),q(V,re,xt,"\u2235","\\because",!0),q(V,re,xt,"\u22D8","\\llless"),q(V,re,xt,"\u22D9","\\gggtr"),q(V,re,bt,"\u22B2","\\lhd"),q(V,re,bt,"\u22B3","\\rhd"),q(V,re,xt,"\u2242","\\eqsim",!0),q(V,xe,xt,"\u22C8","\\Join"),q(V,re,xt,"\u2251","\\Doteq",!0),q(V,re,bt,"\u2214","\\dotplus",!0),q(V,re,bt,"\u2216","\\smallsetminus"),q(V,re,bt,"\u22D2","\\Cap",!0),q(V,re,bt,"\u22D3","\\Cup",!0),q(V,re,bt,"\u2A5E","\\doublebarwedge",!0),q(V,re,bt,"\u229F","\\boxminus",!0),q(V,re,bt,"\u229E","\\boxplus",!0),q(V,re,bt,"\u22C7","\\divideontimes",!0),q(V,re,bt,"\u22C9","\\ltimes",!0),q(V,re,bt,"\u22CA","\\rtimes",!0),q(V,re,bt,"\u22CB","\\leftthreetimes",!0),q(V,re,bt,"\u22CC","\\rightthreetimes",!0),q(V,re,bt,"\u22CF","\\curlywedge",!0),q(V,re,bt,"\u22CE","\\curlyvee",!0),q(V,re,bt,"\u229D","\\circleddash",!0),q(V,re,bt,"\u229B","\\circledast",!0),q(V,re,bt,"\u22C5","\\centerdot"),q(V,re,bt,"\u22BA","\\intercal",!0),q(V,re,bt,"\u22D2","\\doublecap"),q(V,re,bt,"\u22D3","\\doublecup"),q(V,re,bt,"\u22A0","\\boxtimes",!0),q(V,re,xt,"\u21E2","\\dashrightarrow",!0),q(V,re,xt,"\u21E0","\\dashleftarrow",!0),q(V,re,xt,"\u21C7","\\leftleftarrows",!0),q(V,re,xt,"\u21C6","\\leftrightarrows",!0),q(V,re,xt,"\u21DA","\\Lleftarrow",!0),q(V,re,xt,"\u219E","\\twoheadleftarrow",!0),q(V,re,xt,"\u21A2","\\leftarrowtail",!0),q(V,re,xt,"\u21AB","\\looparrowleft",!0),q(V,re,xt,"\u21CB","\\leftrightharpoons",!0),q(V,re,xt,"\u21B6","\\curvearrowleft",!0),q(V,re,xt,"\u21BA","\\circlearrowleft",!0),q(V,re,xt,"\u21B0","\\Lsh",!0),q(V,re,xt,"\u21C8","\\upuparrows",!0),q(V,re,xt,"\u21BF","\\upharpoonleft",!0),q(V,re,xt,"\u21C3","\\downharpoonleft",!0),q(V,re,xt,"\u22B8","\\multimap",!0),q(V,re,xt,"\u21AD","\\leftrightsquigarrow",!0),q(V,re,xt,"\u21C9","\\rightrightarrows",!0),q(V,re,xt,"\u21C4","\\rightleftarrows",!0),q(V,re,xt,"\u21A0","\\twoheadrightarrow",!0),q(V,re,xt,"\u21A3","\\rightarrowtail",!0),q(V,re,xt,"\u21AC","\\looparrowright",!0),q(V,re,xt,"\u21B7","\\curvearrowright",!0),q(V,re,xt,"\u21BB","\\circlearrowright",!0),q(V,re,xt,"\u21B1","\\Rsh",!0),q(V,re,xt,"\u21CA","\\downdownarrows",!0),q(V,re,xt,"\u21BE","\\upharpoonright",!0),q(V,re,xt,"\u21C2","\\downharpoonright",!0),q(V,re,xt,"\u21DD","\\rightsquigarrow",!0),q(V,re,xt,"\u21DD","\\leadsto"),q(V,re,xt,"\u21DB","\\Rrightarrow",!0),q(V,re,xt,"\u21BE","\\restriction"),q(V,xe,At,"\u2018","`"),q(V,xe,At,"$","\\$"),q(Ae,xe,At,"$","\\$"),q(Ae,xe,At,"$","\\textdollar"),q(V,xe,At,"%","\\%"),q(Ae,xe,At,"%","\\%"),q(V,xe,At,"_","\\_"),q(Ae,xe,At,"_","\\_"),q(Ae,xe,At,"_","\\textunderscore"),q(V,xe,At,"\u2220","\\angle",!0),q(V,xe,At,"\u221E","\\infty",!0),q(V,xe,At,"\u2032","\\prime"),q(V,xe,At,"\u25B3","\\triangle"),q(V,xe,At,"\u0393","\\Gamma",!0),q(V,xe,At,"\u0394","\\Delta",!0),q(V,xe,At,"\u0398","\\Theta",!0),q(V,xe,At,"\u039B","\\Lambda",!0),q(V,xe,At,"\u039E","\\Xi",!0),q(V,xe,At,"\u03A0","\\Pi",!0),q(V,xe,At,"\u03A3","\\Sigma",!0),q(V,xe,At,"\u03A5","\\Upsilon",!0),q(V,xe,At,"\u03A6","\\Phi",!0),q(V,xe,At,"\u03A8","\\Psi",!0),q(V,xe,At,"\u03A9","\\Omega",!0),q(V,xe,At,"A","\u0391"),q(V,xe,At,"B","\u0392"),q(V,xe,At,"E","\u0395"),q(V,xe,At,"Z","\u0396"),q(V,xe,At,"H","\u0397"),q(V,xe,At,"I","\u0399"),q(V,xe,At,"K","\u039A"),q(V,xe,At,"M","\u039C"),q(V,xe,At,"N","\u039D"),q(V,xe,At,"O","\u039F"),q(V,xe,At,"P","\u03A1"),q(V,xe,At,"T","\u03A4"),q(V,xe,At,"X","\u03A7"),q(V,xe,At,"\xAC","\\neg",!0),q(V,xe,At,"\xAC","\\lnot"),q(V,xe,At,"\u22A4","\\top"),q(V,xe,At,"\u22A5","\\bot"),q(V,xe,At,"\u2205","\\emptyset"),q(V,re,At,"\u2205","\\varnothing"),q(V,xe,Gt,"\u03B1","\\alpha",!0),q(V,xe,Gt,"\u03B2","\\beta",!0),q(V,xe,Gt,"\u03B3","\\gamma",!0),q(V,xe,Gt,"\u03B4","\\delta",!0),q(V,xe,Gt,"\u03F5","\\epsilon",!0),q(V,xe,Gt,"\u03B6","\\zeta",!0),q(V,xe,Gt,"\u03B7","\\eta",!0),q(V,xe,Gt,"\u03B8","\\theta",!0),q(V,xe,Gt,"\u03B9","\\iota",!0),q(V,xe,Gt,"\u03BA","\\kappa",!0),q(V,xe,Gt,"\u03BB","\\lambda",!0),q(V,xe,Gt,"\u03BC","\\mu",!0),q(V,xe,Gt,"\u03BD","\\nu",!0),q(V,xe,Gt,"\u03BE","\\xi",!0),q(V,xe,Gt,"\u03BF","\\omicron",!0),q(V,xe,Gt,"\u03C0","\\pi",!0),q(V,xe,Gt,"\u03C1","\\rho",!0),q(V,xe,Gt,"\u03C3","\\sigma",!0),q(V,xe,Gt,"\u03C4","\\tau",!0),q(V,xe,Gt,"\u03C5","\\upsilon",!0),q(V,xe,Gt,"\u03D5","\\phi",!0),q(V,xe,Gt,"\u03C7","\\chi",!0),q(V,xe,Gt,"\u03C8","\\psi",!0),q(V,xe,Gt,"\u03C9","\\omega",!0),q(V,xe,Gt,"\u03B5","\\varepsilon",!0),q(V,xe,Gt,"\u03D1","\\vartheta",!0),q(V,xe,Gt,"\u03D6","\\varpi",!0),q(V,xe,Gt,"\u03F1","\\varrho",!0),q(V,xe,Gt,"\u03C2","\\varsigma",!0),q(V,xe,Gt,"\u03C6","\\varphi",!0),q(V,xe,bt,"\u2217","*"),q(V,xe,bt,"+","+"),q(V,xe,bt,"\u2212","-"),q(V,xe,bt,"\u22C5","\\cdot",!0),q(V,xe,bt,"\u2218","\\circ"),q(V,xe,bt,"\xF7","\\div",!0),q(V,xe,bt,"\xB1","\\pm",!0),q(V,xe,bt,"\xD7","\\times",!0),q(V,xe,bt,"\u2229","\\cap",!0),q(V,xe,bt,"\u222A","\\cup",!0),q(V,xe,bt,"\u2216","\\setminus"),q(V,xe,bt,"\u2227","\\land"),q(V,xe,bt,"\u2228","\\lor"),q(V,xe,bt,"\u2227","\\wedge",!0),q(V,xe,bt,"\u2228","\\vee",!0),q(V,xe,At,"\u221A","\\surd"),q(V,xe,pr,"(","("),q(V,xe,pr,"[","["),q(V,xe,pr,"\u27E8","\\langle",!0),q(V,xe,pr,"\u2223","\\lvert"),q(V,xe,pr,"\u2225","\\lVert"),q(V,xe,tt,")",")"),q(V,xe,tt,"]","]"),q(V,xe,tt,"?","?"),q(V,xe,tt,"!","!"),q(V,xe,tt,"\u27E9","\\rangle",!0),q(V,xe,tt,"\u2223","\\rvert"),q(V,xe,tt,"\u2225","\\rVert"),q(V,xe,xt,"=","="),q(V,xe,xt,"<","<"),q(V,xe,xt,">",">"),q(V,xe,xt,":",":"),q(V,xe,xt,"\u2248","\\approx",!0),q(V,xe,xt,"\u2245","\\cong",!0),q(V,xe,xt,"\u2265","\\ge"),q(V,xe,xt,"\u2265","\\geq",!0),q(V,xe,xt,"\u2190","\\gets"),q(V,xe,xt,">","\\gt"),q(V,xe,xt,"\u2208","\\in",!0),q(V,xe,xt,"\uE020","\\@not"),q(V,xe,xt,"\u2282","\\subset",!0),q(V,xe,xt,"\u2283","\\supset",!0),q(V,xe,xt,"\u2286","\\subseteq",!0),q(V,xe,xt,"\u2287","\\supseteq",!0),q(V,re,xt,"\u2288","\\nsubseteq",!0),q(V,re,xt,"\u2289","\\nsupseteq",!0),q(V,xe,xt,"\u22A8","\\models"),q(V,xe,xt,"\u2190","\\leftarrow",!0),q(V,xe,xt,"\u2264","\\le"),q(V,xe,xt,"\u2264","\\leq",!0),q(V,xe,xt,"<","\\lt"),q(V,xe,xt,"\u2192","\\rightarrow",!0),q(V,xe,xt,"\u2192","\\to"),q(V,re,xt,"\u2271","\\ngeq",!0),q(V,re,xt,"\u2270","\\nleq",!0),q(V,xe,It,"\xA0","\\ "),q(V,xe,It,"\xA0","~"),q(V,xe,It,"\xA0","\\space"),q(V,xe,It,"\xA0","\\nobreakspace"),q(Ae,xe,It,"\xA0","\\ "),q(Ae,xe,It,"\xA0","~"),q(Ae,xe,It,"\xA0","\\space"),q(Ae,xe,It,"\xA0","\\nobreakspace"),q(V,xe,It,null,"\\nobreak"),q(V,xe,It,null,"\\allowbreak"),q(V,xe,Rr,",",","),q(V,xe,Rr,";",";"),q(V,re,bt,"\u22BC","\\barwedge",!0),q(V,re,bt,"\u22BB","\\veebar",!0),q(V,xe,bt,"\u2299","\\odot",!0),q(V,xe,bt,"\u2295","\\oplus",!0),q(V,xe,bt,"\u2297","\\otimes",!0),q(V,xe,At,"\u2202","\\partial",!0),q(V,xe,bt,"\u2298","\\oslash",!0),q(V,re,bt,"\u229A","\\circledcirc",!0),q(V,re,bt,"\u22A1","\\boxdot",!0),q(V,xe,bt,"\u25B3","\\bigtriangleup"),q(V,xe,bt,"\u25BD","\\bigtriangledown"),q(V,xe,bt,"\u2020","\\dagger"),q(V,xe,bt,"\u22C4","\\diamond"),q(V,xe,bt,"\u22C6","\\star"),q(V,xe,bt,"\u25C3","\\triangleleft"),q(V,xe,bt,"\u25B9","\\triangleright"),q(V,xe,pr,"{","\\{"),q(Ae,xe,At,"{","\\{"),q(Ae,xe,At,"{","\\textbraceleft"),q(V,xe,tt,"}","\\}"),q(Ae,xe,At,"}","\\}"),q(Ae,xe,At,"}","\\textbraceright"),q(V,xe,pr,"{","\\lbrace"),q(V,xe,tt,"}","\\rbrace"),q(V,xe,pr,"[","\\lbrack"),q(Ae,xe,At,"[","\\lbrack"),q(V,xe,tt,"]","\\rbrack"),q(Ae,xe,At,"]","\\rbrack"),q(V,xe,pr,"(","\\lparen"),q(V,xe,tt,")","\\rparen"),q(Ae,xe,At,"<","\\textless"),q(Ae,xe,At,">","\\textgreater"),q(V,xe,pr,"\u230A","\\lfloor",!0),q(V,xe,tt,"\u230B","\\rfloor",!0),q(V,xe,pr,"\u2308","\\lceil",!0),q(V,xe,tt,"\u2309","\\rceil",!0),q(V,xe,At,"\\","\\backslash"),q(V,xe,At,"\u2223","|"),q(V,xe,At,"\u2223","\\vert"),q(Ae,xe,At,"|","\\textbar"),q(V,xe,At,"\u2225","\\|"),q(V,xe,At,"\u2225","\\Vert"),q(Ae,xe,At,"\u2225","\\textbardbl"),q(Ae,xe,At,"~","\\textasciitilde"),q(Ae,xe,At,"\\","\\textbackslash"),q(Ae,xe,At,"^","\\textasciicircum"),q(V,xe,xt,"\u2191","\\uparrow",!0),q(V,xe,xt,"\u21D1","\\Uparrow",!0),q(V,xe,xt,"\u2193","\\downarrow",!0),q(V,xe,xt,"\u21D3","\\Downarrow",!0),q(V,xe,xt,"\u2195","\\updownarrow",!0),q(V,xe,xt,"\u21D5","\\Updownarrow",!0),q(V,xe,lr,"\u2210","\\coprod"),q(V,xe,lr,"\u22C1","\\bigvee"),q(V,xe,lr,"\u22C0","\\bigwedge"),q(V,xe,lr,"\u2A04","\\biguplus"),q(V,xe,lr,"\u22C2","\\bigcap"),q(V,xe,lr,"\u22C3","\\bigcup"),q(V,xe,lr,"\u222B","\\int"),q(V,xe,lr,"\u222B","\\intop"),q(V,xe,lr,"\u222C","\\iint"),q(V,xe,lr,"\u222D","\\iiint"),q(V,xe,lr,"\u220F","\\prod"),q(V,xe,lr,"\u2211","\\sum"),q(V,xe,lr,"\u2A02","\\bigotimes"),q(V,xe,lr,"\u2A01","\\bigoplus"),q(V,xe,lr,"\u2A00","\\bigodot"),q(V,xe,lr,"\u222E","\\oint"),q(V,xe,lr,"\u222F","\\oiint"),q(V,xe,lr,"\u2230","\\oiiint"),q(V,xe,lr,"\u2A06","\\bigsqcup"),q(V,xe,lr,"\u222B","\\smallint"),q(Ae,xe,Tt,"\u2026","\\textellipsis"),q(V,xe,Tt,"\u2026","\\mathellipsis"),q(Ae,xe,Tt,"\u2026","\\ldots",!0),q(V,xe,Tt,"\u2026","\\ldots",!0),q(V,xe,Tt,"\u22EF","\\@cdots",!0),q(V,xe,Tt,"\u22F1","\\ddots",!0),q(V,xe,At,"\u22EE","\\varvdots"),q(V,xe,ot,"\u02CA","\\acute"),q(V,xe,ot,"\u02CB","\\grave"),q(V,xe,ot,"\xA8","\\ddot"),q(V,xe,ot,"~","\\tilde"),q(V,xe,ot,"\u02C9","\\bar"),q(V,xe,ot,"\u02D8","\\breve"),q(V,xe,ot,"\u02C7","\\check"),q(V,xe,ot,"^","\\hat"),q(V,xe,ot,"\u20D7","\\vec"),q(V,xe,ot,"\u02D9","\\dot"),q(V,xe,ot,"\u02DA","\\mathring"),q(V,xe,Gt,"\u0131","\\imath",!0),q(V,xe,Gt,"\u0237","\\jmath",!0),q(Ae,xe,At,"\u0131","\\i",!0),q(Ae,xe,At,"\u0237","\\j",!0),q(Ae,xe,At,"\xDF","\\ss",!0),q(Ae,xe,At,"\xE6","\\ae",!0),q(Ae,xe,At,"\xE6","\\ae",!0),q(Ae,xe,At,"\u0153","\\oe",!0),q(Ae,xe,At,"\xF8","\\o",!0),q(Ae,xe,At,"\xC6","\\AE",!0),q(Ae,xe,At,"\u0152","\\OE",!0),q(Ae,xe,At,"\xD8","\\O",!0),q(Ae,xe,ot,"\u02CA","\\'"),q(Ae,xe,ot,"\u02CB","\\`"),q(Ae,xe,ot,"\u02C6","\\^"),q(Ae,xe,ot,"\u02DC","\\~"),q(Ae,xe,ot,"\u02C9","\\="),q(Ae,xe,ot,"\u02D8","\\u"),q(Ae,xe,ot,"\u02D9","\\."),q(Ae,xe,ot,"\u02DA","\\r"),q(Ae,xe,ot,"\u02C7","\\v"),q(Ae,xe,ot,"\xA8",'\\"'),q(Ae,xe,ot,"\u02DD","\\H"),q(Ae,xe,ot,"\u25EF","\\textcircled");var Zt={"--":!0,"---":!0,"``":!0,"''":!0};q(Ae,xe,At,"\u2013","--"),q(Ae,xe,At,"\u2013","\\textendash"),q(Ae,xe,At,"\u2014","---"),q(Ae,xe,At,"\u2014","\\textemdash"),q(Ae,xe,At,"\u2018","`"),q(Ae,xe,At,"\u2018","\\textquoteleft"),q(Ae,xe,At,"\u2019","'"),q(Ae,xe,At,"\u2019","\\textquoteright"),q(Ae,xe,At,"\u201C","``"),q(Ae,xe,At,"\u201C","\\textquotedblleft"),q(Ae,xe,At,"\u201D","''"),q(Ae,xe,At,"\u201D","\\textquotedblright"),q(V,xe,At,"\xB0","\\degree",!0),q(Ae,xe,At,"\xB0","\\degree"),q(Ae,xe,At,"\xB0","\\textdegree",!0),q(V,xe,Gt,"\xA3","\\pounds"),q(V,xe,Gt,"\xA3","\\mathsterling",!0),q(Ae,xe,Gt,"\xA3","\\pounds"),q(Ae,xe,Gt,"\xA3","\\textsterling",!0),q(V,re,At,"\u2720","\\maltese"),q(Ae,re,At,"\u2720","\\maltese"),q(Ae,xe,It,"\xA0","\\ "),q(Ae,xe,It,"\xA0"," "),q(Ae,xe,It,"\xA0","~");for(var br='0123456789/@."',Lr=0;Lr<br.length;Lr++){var Jr=br.charAt(Lr);q(V,xe,At,Jr,Jr)}for(var In='0123456789!@*()-=+[]<>|";:?/.,',Gr=0;Gr<In.length;Gr++){var Tr=In.charAt(Gr);q(Ae,xe,At,Tr,Tr)}for(var fr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",vt=0;vt<fr.length;vt++){var ft=fr.charAt(vt);q(V,xe,Gt,ft,ft),q(Ae,xe,At,ft,ft)}q(V,re,At,"C","\u2102"),q(Ae,re,At,"C","\u2102"),q(V,re,At,"H","\u210D"),q(Ae,re,At,"H","\u210D"),q(V,re,At,"N","\u2115"),q(Ae,re,At,"N","\u2115"),q(V,re,At,"P","\u2119"),q(Ae,re,At,"P","\u2119"),q(V,re,At,"Q","\u211A"),q(Ae,re,At,"Q","\u211A"),q(V,re,At,"R","\u211D"),q(Ae,re,At,"R","\u211D"),q(V,re,At,"Z","\u2124"),q(Ae,re,At,"Z","\u2124"),q(V,xe,Gt,"h","\u210E"),q(Ae,xe,Gt,"h","\u210E");for(var Te="",Pe=0;Pe<fr.length;Pe++){var Ge=fr.charAt(Pe);Te=String.fromCharCode(55349,56320+Pe),q(V,xe,Gt,Ge,Te),q(Ae,xe,At,Ge,Te),Te=String.fromCharCode(55349,56372+Pe),q(V,xe,Gt,Ge,Te),q(Ae,xe,At,Ge,Te),Te=String.fromCharCode(55349,56424+Pe),q(V,xe,Gt,Ge,Te),q(Ae,xe,At,Ge,Te),Te=String.fromCharCode(55349,56580+Pe),q(V,xe,Gt,Ge,Te),q(Ae,xe,At,Ge,Te),Te=String.fromCharCode(55349,56736+Pe),q(V,xe,Gt,Ge,Te),q(Ae,xe,At,Ge,Te),Te=String.fromCharCode(55349,56788+Pe),q(V,xe,Gt,Ge,Te),q(Ae,xe,At,Ge,Te),Te=String.fromCharCode(55349,56840+Pe),q(V,xe,Gt,Ge,Te),q(Ae,xe,At,Ge,Te),Te=String.fromCharCode(55349,56944+Pe),q(V,xe,Gt,Ge,Te),q(Ae,xe,At,Ge,Te),Pe<26&&(Te=String.fromCharCode(55349,56632+Pe),q(V,xe,Gt,Ge,Te),q(Ae,xe,At,Ge,Te),Te=String.fromCharCode(55349,56476+Pe),q(V,xe,Gt,Ge,Te),q(Ae,xe,At,Ge,Te))}Te=String.fromCharCode(55349,56668),q(V,xe,Gt,"k",Te),q(Ae,xe,At,"k",Te);for(var st=0;st<10;st++){var Bt=st.toString();Te=String.fromCharCode(55349,57294+st),q(V,xe,Gt,Bt,Te),q(Ae,xe,At,Bt,Te),Te=String.fromCharCode(55349,57314+st),q(V,xe,Gt,Bt,Te),q(Ae,xe,At,Bt,Te),Te=String.fromCharCode(55349,57324+st),q(V,xe,Gt,Bt,Te),q(Ae,xe,At,Bt,Te),Te=String.fromCharCode(55349,57334+st),q(V,xe,Gt,Bt,Te),q(Ae,xe,At,Bt,Te)}for(var $t="\xC7\xD0\xDE\xE7\xFE",Nr=0;Nr<$t.length;Nr++){var yn=$t.charAt(Nr);q(V,xe,Gt,yn,yn),q(Ae,xe,At,yn,yn)}q(Ae,xe,At,"\xF0","\xF0"),q(Ae,xe,At,"\u2013","\u2013"),q(Ae,xe,At,"\u2014","\u2014"),q(Ae,xe,At,"\u2018","\u2018"),q(Ae,xe,At,"\u2019","\u2019"),q(Ae,xe,At,"\u201C","\u201C"),q(Ae,xe,At,"\u201D","\u201D");var un=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Kt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],St=function(ie,pe){var we=ie.charCodeAt(0),Ke=ie.charCodeAt(1),ut=(we-55296)*1024+(Ke-56320)+65536,Pt=pe==="math"?0:1;if(119808<=ut&&ut<120484){var ar=Math.floor((ut-119808)/26);return[un[ar][2],un[ar][Pt]]}else if(120782<=ut&&ut<=120831){var wr=Math.floor((ut-120782)/10);return[Kt[wr][2],Kt[wr][Pt]]}else{if(ut===120485||ut===120486)return[un[0][2],un[0][Pt]];if(120486<ut&&ut<120782)return["",""];throw new h("Unsupported character: "+ie)}},kt=[[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]],Jt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Br=function(ie,pe){return pe.size<2?ie:kt[ie-1][pe.size-1]},Hr=function(){function dt(pe){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=pe.style,this.color=pe.color,this.size=pe.size||dt.BASESIZE,this.textSize=pe.textSize||this.size,this.phantom=!!pe.phantom,this.font=pe.font||"",this.fontFamily=pe.fontFamily||"",this.fontWeight=pe.fontWeight||"",this.fontShape=pe.fontShape||"",this.sizeMultiplier=Jt[this.size-1],this.maxSize=pe.maxSize,this.minRuleThickness=pe.minRuleThickness,this._fontMetrics=void 0}var ie=dt.prototype;return ie.extend=function(we){var Ke={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 ut in we)we.hasOwnProperty(ut)&&(Ke[ut]=we[ut]);return new dt(Ke)},ie.havingStyle=function(we){return this.style===we?this:this.extend({style:we,size:Br(this.textSize,we)})},ie.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},ie.havingSize=function(we){return this.size===we&&this.textSize===we?this:this.extend({style:this.style.text(),size:we,textSize:we,sizeMultiplier:Jt[we-1]})},ie.havingBaseStyle=function(we){we=we||this.style.text();var Ke=Br(dt.BASESIZE,we);return this.size===Ke&&this.textSize===dt.BASESIZE&&this.style===we?this:this.extend({style:we,size:Ke})},ie.havingBaseSizing=function(){var we;switch(this.style.id){case 4:case 5:we=3;break;case 6:case 7:we=1;break;default:we=6}return this.extend({style:this.style.text(),size:we})},ie.withColor=function(we){return this.extend({color:we})},ie.withPhantom=function(){return this.extend({phantom:!0})},ie.withFont=function(we){return this.extend({font:we})},ie.withTextFontFamily=function(we){return this.extend({fontFamily:we,font:""})},ie.withTextFontWeight=function(we){return this.extend({fontWeight:we,font:""})},ie.withTextFontShape=function(we){return this.extend({fontShape:we,font:""})},ie.sizingClasses=function(we){return we.size!==this.size?["sizing","reset-size"+we.size,"size"+this.size]:[]},ie.baseSizingClasses=function(){return this.size!==dt.BASESIZE?["sizing","reset-size"+this.size,"size"+dt.BASESIZE]:[]},ie.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=wt(this.size)),this._fontMetrics},ie.getColor=function(){return this.phantom?"transparent":this.color},dt}();Hr.BASESIZE=6;var $r=Hr,Ft={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},cr={ex:!0,em:!0,mu:!0},Cr=function(ie){return typeof ie!="string"&&(ie=ie.unit),ie in Ft||ie in cr||ie==="ex"},Fr=function(ie,pe){var we;if(ie.unit in Ft)we=Ft[ie.unit]/pe.fontMetrics().ptPerEm/pe.sizeMultiplier;else if(ie.unit==="mu")we=pe.fontMetrics().cssEmPerMu;else{var Ke;if(pe.style.isTight()?Ke=pe.havingStyle(pe.style.text()):Ke=pe,ie.unit==="ex")we=Ke.fontMetrics().xHeight;else if(ie.unit==="em")we=Ke.fontMetrics().quad;else throw new h("Invalid unit: '"+ie.unit+"'");Ke!==pe&&(we*=Ke.sizeMultiplier/pe.sizeMultiplier)}return Math.min(ie.number*we,pe.maxSize)},Wr=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],An=function(ie,pe,we){return Xe[we][ie]&&Xe[we][ie].replace&&(ie=Xe[we][ie].replace),{value:ie,metrics:Je(ie,pe,we)}},bn=function(ie,pe,we,Ke,ut){var Pt=An(ie,pe,we),ar=Pt.metrics;ie=Pt.value;var wr;if(ar){var jr=ar.italic;(we==="text"||Ke&&Ke.font==="mathit")&&(jr=0),wr=new Ne(ie,ar.height,ar.depth,jr,ar.skew,ar.width,ut)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+ie+"' in style '"+pe+"' and mode '"+we+"'")),wr=new Ne(ie,0,0,0,0,0,ut);if(Ke){wr.maxFontSize=Ke.sizeMultiplier,Ke.style.isTight()&&wr.classes.push("mtight");var hn=Ke.getColor();hn&&(wr.style.color=hn)}return wr},Sn=function(ie,pe,we,Ke){return Ke===void 0&&(Ke=[]),we.font==="boldsymbol"&&An(ie,"Main-Bold",pe).metrics?bn(ie,"Main-Bold",pe,we,Ke.concat(["mathbf"])):ie==="\\"||Xe[pe][ie].font==="main"?bn(ie,"Main-Regular",pe,we,Ke):bn(ie,"AMS-Regular",pe,we,Ke.concat(["amsrm"]))},kn=function(ie,pe,we,Ke){return/[0-9]/.test(ie.charAt(0))||y.contains(Wr,ie)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ei=function(ie,pe,we,Ke){return y.contains(Wr,ie)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(ie.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Jn=function(ie,pe,we,Ke){return An(ie,"Math-BoldItalic",pe).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ai=function(ie,pe,we){var Ke=ie.mode,ut=ie.text,Pt=["mord"],ar=Ke==="math"||Ke==="text"&&pe.font,wr=ar?pe.font:pe.fontFamily;if(ut.charCodeAt(0)===55349){var jr=St(ut,Ke),hn=jr[0],Tn=jr[1];return bn(ut,hn,Ke,pe,Pt.concat(Tn))}else if(wr){var ti,Ai;if(wr==="boldsymbol"||wr==="mathnormal"){var Ti=wr==="boldsymbol"?Jn(ut,Ke,pe,Pt):ei(ut,Ke,pe,Pt);ti=Ti.fontName,Ai=[Ti.fontClass]}else y.contains(Wr,ut)?(ti="Main-Italic",Ai=["mathit"]):ar?(ti=ir[wr].fontName,Ai=[wr]):(ti=tr(wr,pe.fontWeight,pe.fontShape),Ai=[wr,pe.fontWeight,pe.fontShape]);if(An(ut,ti,Ke).metrics)return bn(ut,ti,Ke,pe,Pt.concat(Ai));if(Zt.hasOwnProperty(ut)&&ti.substr(0,10)==="Typewriter"){for(var Wi=[],na=0;na<ut.length;na++)Wi.push(bn(ut[na],ti,Ke,pe,Pt.concat(Ai)));return Ye(Wi)}}if(we==="mathord"){var Ua=kn(ut,Ke,pe,Pt);return bn(ut,Ua.fontName,Ke,pe,Pt.concat([Ua.fontClass]))}else if(we==="textord"){var Za=Xe[Ke][ut]&&Xe[Ke][ut].font;if(Za==="ams"){var to=tr("amsrm",pe.fontWeight,pe.fontShape);return bn(ut,to,Ke,pe,Pt.concat("amsrm",pe.fontWeight,pe.fontShape))}else if(Za==="main"||!Za){var No=tr("textrm",pe.fontWeight,pe.fontShape);return bn(ut,No,Ke,pe,Pt.concat(pe.fontWeight,pe.fontShape))}else{var oo=tr(Za,pe.fontWeight,pe.fontShape);return bn(ut,oo,Ke,pe,Pt.concat(oo,pe.fontWeight,pe.fontShape))}}else throw new Error("unexpected type: "+we+" in makeOrd")},ii=function(ie,pe){if(ve(ie.classes)!==ve(pe.classes)||ie.skew!==pe.skew||ie.maxFontSize!==pe.maxFontSize)return!1;for(var we in ie.style)if(ie.style.hasOwnProperty(we)&&ie.style[we]!==pe.style[we])return!1;for(var Ke in pe.style)if(pe.style.hasOwnProperty(Ke)&&ie.style[Ke]!==pe.style[Ke])return!1;return!0},qe=function(ie){for(var pe=0;pe<ie.length-1;pe++){var we=ie[pe],Ke=ie[pe+1];we instanceof Ne&&Ke instanceof Ne&&ii(we,Ke)&&(we.text+=Ke.text,we.height=Math.max(we.height,Ke.height),we.depth=Math.max(we.depth,Ke.depth),we.italic=Ke.italic,ie.splice(pe+1,1),pe--)}return ie},Se=function(ie){for(var pe=0,we=0,Ke=0,ut=0;ut<ie.children.length;ut++){var Pt=ie.children[ut];Pt.height>pe&&(pe=Pt.height),Pt.depth>we&&(we=Pt.depth),Pt.maxFontSize>Ke&&(Ke=Pt.maxFontSize)}ie.height=pe,ie.depth=we,ie.maxFontSize=Ke},Me=function(ie,pe,we,Ke){var ut=new ee(ie,pe,we,Ke);return Se(ut),ut},Be=function(ie,pe,we,Ke){return new ee(ie,pe,we,Ke)},Qe=function(ie,pe,we){var Ke=Me([ie],[],pe);return Ke.height=Math.max(we||pe.fontMetrics().defaultRuleThickness,pe.minRuleThickness),Ke.style.borderBottomWidth=Ke.height+"em",Ke.maxFontSize=1,Ke},Ve=function(ie,pe,we,Ke){var ut=new se(ie,pe,we,Ke);return Se(ut),ut},Ye=function(ie){var pe=new te(ie);return Se(pe),pe},pt=function(ie,pe){return ie instanceof te?Me([],[ie],pe):ie},ht=function(ie){if(ie.positionType==="individualShift"){for(var pe=ie.children,we=[pe[0]],Ke=-pe[0].shift-pe[0].elem.depth,ut=Ke,Pt=1;Pt<pe.length;Pt++){var ar=-pe[Pt].shift-ut-pe[Pt].elem.depth,wr=ar-(pe[Pt-1].elem.height+pe[Pt-1].elem.depth);ut=ut+ar,we.push({type:"kern",size:wr}),we.push(pe[Pt])}return{children:we,depth:Ke}}var jr;if(ie.positionType==="top"){for(var hn=ie.positionData,Tn=0;Tn<ie.children.length;Tn++){var ti=ie.children[Tn];hn-=ti.type==="kern"?ti.size:ti.elem.height+ti.elem.depth}jr=hn}else if(ie.positionType==="bottom")jr=-ie.positionData;else{var Ai=ie.children[0];if(Ai.type!=="elem")throw new Error('First child must have type "elem".');if(ie.positionType==="shift")jr=-Ai.elem.depth-ie.positionData;else if(ie.positionType==="firstBaseline")jr=-Ai.elem.depth;else throw new Error("Invalid positionType "+ie.positionType+".")}return{children:ie.children,depth:jr}},Vt=function(ie,pe){for(var we=ht(ie),Ke=we.children,ut=we.depth,Pt=0,ar=0;ar<Ke.length;ar++){var wr=Ke[ar];if(wr.type==="elem"){var jr=wr.elem;Pt=Math.max(Pt,jr.maxFontSize,jr.height)}}Pt+=2;var hn=Me(["pstrut"],[]);hn.style.height=Pt+"em";for(var Tn=[],ti=ut,Ai=ut,Ti=ut,Wi=0;Wi<Ke.length;Wi++){var na=Ke[Wi];if(na.type==="kern")Ti+=na.size;else{var Ua=na.elem,Za=na.wrapperClasses||[],to=na.wrapperStyle||{},No=Me(Za,[hn,Ua],void 0,to);No.style.top=-Pt-Ti-Ua.depth+"em",na.marginLeft&&(No.style.marginLeft=na.marginLeft),na.marginRight&&(No.style.marginRight=na.marginRight),Tn.push(No),Ti+=Ua.height+Ua.depth}ti=Math.min(ti,Ti),Ai=Math.max(Ai,Ti)}var oo=Me(["vlist"],Tn);oo.style.height=Ai+"em";var Do;if(ti<0){var Wa=Me([],[]),Ro=Me(["vlist"],[Wa]);Ro.style.height=-ti+"em";var ls=Me(["vlist-s"],[new Ne("\u200B")]);Do=[Me(["vlist-r"],[oo,ls]),Me(["vlist-r"],[Ro])]}else Do=[Me(["vlist-r"],[oo])];var wo=Me(["vlist-t"],Do);return Do.length===2&&wo.classes.push("vlist-t2"),wo.height=Ai,wo.depth=-ti,wo},dr=function(ie,pe){var we=Me(["mspace"],[],pe),Ke=Fr(ie,pe);return we.style.marginRight=Ke+"em",we},tr=function(ie,pe,we){var Ke="";switch(ie){case"amsrm":Ke="AMS";break;case"textrm":Ke="Main";break;case"textsf":Ke="SansSerif";break;case"texttt":Ke="Typewriter";break;default:Ke=ie}var ut;return pe==="textbf"&&we==="textit"?ut="BoldItalic":pe==="textbf"?ut="Bold":pe==="textit"?ut="Italic":ut="Regular",Ke+"-"+ut},ir={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"}},_t={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},gr=function(ie,pe){var we=_t[ie],Ke=we[0],ut=we[1],Pt=we[2],ar=new ae(Ke),wr=new Fe([ar],{width:ut+"em",height:Pt+"em",style:"width:"+ut+"em",viewBox:"0 0 "+1e3*ut+" "+1e3*Pt,preserveAspectRatio:"xMinYMin"}),jr=Be(["overlay"],[wr],pe);return jr.height=Pt,jr.style.height=Pt+"em",jr.style.width=ut+"em",jr},jt={fontMap:ir,makeSymbol:bn,mathsym:Sn,makeSpan:Me,makeSvgSpan:Be,makeLineSpan:Qe,makeAnchor:Ve,makeFragment:Ye,wrapFragment:pt,makeVList:Vt,makeOrd:ai,makeGlue:dr,staticSvg:gr,svgData:_t,tryCombineChars:qe};function Sr(dt,ie){var pe=Ar(dt,ie);if(!pe)throw new Error("Expected node of type "+ie+", but got "+(dt?"node of type "+dt.type:String(dt)));return pe}function Ar(dt,ie){return dt&&dt.type===ie?dt:null}function sr(dt,ie){var pe=ln(dt,ie);if(!pe)throw new Error('Expected node of type "atom" and family "'+ie+'", but got '+(dt?dt.type==="atom"?"atom of family "+dt.family:"node of type "+dt.type:String(dt)));return pe}function ln(dt,ie){return dt&&dt.type==="atom"&&dt.family===ie?dt:null}function _n(dt){var ie=Wn(dt);if(!ie)throw new Error("Expected node of symbol group type, but got "+(dt?"node of type "+dt.type:String(dt)));return ie}function Wn(dt){return dt&&(dt.type==="atom"||Ct.hasOwnProperty(dt.type))?dt:null}var Nn={number:3,unit:"mu"},Mn={number:4,unit:"mu"},Gn={number:5,unit:"mu"},xn={mord:{mop:Nn,mbin:Mn,mrel:Gn,minner:Nn},mop:{mord:Nn,mop:Nn,mrel:Gn,minner:Nn},mbin:{mord:Mn,mop:Mn,mopen:Mn,minner:Mn},mrel:{mord:Gn,mop:Gn,mopen:Gn,minner:Gn},mopen:{},mclose:{mop:Nn,mbin:Mn,mrel:Gn,minner:Nn},mpunct:{mord:Nn,mop:Nn,mrel:Gn,mopen:Nn,mclose:Nn,mpunct:Nn,minner:Nn},minner:{mord:Nn,mop:Nn,mbin:Mn,mrel:Gn,mopen:Nn,mpunct:Nn,minner:Nn}},mi={mord:{mop:Nn},mop:{mord:Nn,mop:Nn},mbin:{},mrel:{},mopen:{},mclose:{mop:Nn},mpunct:{},minner:{mop:Nn}},rn={},Ur={},cn={};function Qr(dt){for(var ie=dt.type,pe=dt.names,we=dt.props,Ke=dt.handler,ut=dt.htmlBuilder,Pt=dt.mathmlBuilder,ar={type:ie,numArgs:we.numArgs,argTypes:we.argTypes,greediness:we.greediness===void 0?1:we.greediness,allowedInText:!!we.allowedInText,allowedInMath:we.allowedInMath===void 0?!0:we.allowedInMath,numOptionalArgs:we.numOptionalArgs||0,infix:!!we.infix,handler:Ke},wr=0;wr<pe.length;++wr)rn[pe[wr]]=ar;ie&&(ut&&(Ur[ie]=ut),Pt&&(cn[ie]=Pt))}function Vn(dt){var ie=dt.type,pe=dt.htmlBuilder,we=dt.mathmlBuilder;Qr({type:ie,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:pe,mathmlBuilder:we})}var Hn=function(ie){var pe=Ar(ie,"ordgroup");return pe?pe.body:[ie]},li=jt.makeSpan,Un=["leftmost","mbin","mopen","mrel","mop","mpunct"],gi=["rightmost","mrel","mclose","mpunct"],Bn={display:j.DISPLAY,text:j.TEXT,script:j.SCRIPT,scriptscript:j.SCRIPTSCRIPT},di={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},qr=function(ie,pe,we,Ke){Ke===void 0&&(Ke=[null,null]);for(var ut=[],Pt=0;Pt<ie.length;Pt++){var ar=zn(ie[Pt],pe);if(ar instanceof te){var wr=ar.children;ut.push.apply(ut,wr)}else ut.push(ar)}if(!we)return ut;var jr=pe;if(ie.length===1){var hn=Ar(ie[0],"sizing")||Ar(ie[0],"styling");hn&&(hn.type==="sizing"?jr=pe.havingSize(hn.size):hn.type==="styling"&&(jr=pe.havingStyle(Bn[hn.style])))}var Tn=li([Ke[0]||"leftmost"],[],pe),ti=li([Ke[1]||"rightmost"],[],pe);return xr(ut,function(Ai,Ti){var Wi=Ti.classes[0],na=Ai.classes[0];Wi==="mbin"&&y.contains(gi,na)?Ti.classes[0]="mord":na==="mbin"&&y.contains(Un,Wi)&&(Ai.classes[0]="mord")},{node:Tn},ti),xr(ut,function(Ai,Ti){var Wi=On(Ti),na=On(Ai),Ua=Wi&&na?Ai.hasClass("mtight")?mi[Wi][na]:xn[Wi][na]:null;if(Ua)return jt.makeGlue(Ua,jr)},{node:Tn},ti),ut},xr=function dt(ie,pe,we,Ke){Ke&&ie.push(Ke);for(var ut=0;ut<ie.length;ut++){var Pt=ie[ut],ar=nn(Pt);if(ar){dt(ar.children,pe,we);continue}if(Pt.classes[0]==="mspace")continue;var wr=pe(Pt,we.node);wr&&(we.insertAfter?we.insertAfter(wr):(ie.unshift(wr),ut++)),we.node=Pt,we.insertAfter=function(jr){return function(hn){ie.splice(jr+1,0,hn),ut++}}(ut)}Ke&&ie.pop()},nn=function(ie){return ie instanceof te||ie instanceof se?ie:null},gn=function dt(ie,pe){var we=nn(ie);if(we){var Ke=we.children;if(Ke.length){if(pe==="right")return dt(Ke[Ke.length-1],"right");if(pe==="left")return dt(Ke[0],"left")}}return ie},On=function(ie,pe){return ie?(pe&&(ie=gn(ie,pe)),di[ie.classes[0]]||null):null},Fn=function(ie,pe){var we=["nulldelimiter"].concat(ie.baseSizingClasses());return li(pe.concat(we))},zn=function(ie,pe,we){if(!ie)return li();if(Ur[ie.type]){var Ke=Ur[ie.type](ie,pe);if(we&&pe.size!==we.size){Ke=li(pe.sizingClasses(we),[Ke],pe);var ut=pe.sizeMultiplier/we.sizeMultiplier;Ke.height*=ut,Ke.depth*=ut}return Ke}else throw new h("Got group of unknown type: '"+ie.type+"'")};function $n(dt,ie){var pe=li(["base"],dt,ie),we=li(["strut"]);return we.style.height=pe.height+pe.depth+"em",we.style.verticalAlign=-pe.depth+"em",pe.children.unshift(we),pe}function Zn(dt,ie){var pe=null;dt.length===1&&dt[0].type==="tag"&&(pe=dt[0].tag,dt=dt[0].body);for(var we=qr(dt,ie,!0),Ke=[],ut=[],Pt=0;Pt<we.length;Pt++)if(ut.push(we[Pt]),we[Pt].hasClass("mbin")||we[Pt].hasClass("mrel")||we[Pt].hasClass("allowbreak")){for(var ar=!1;Pt<we.length-1&&we[Pt+1].hasClass("mspace")&&!we[Pt+1].hasClass("newline");)Pt++,ut.push(we[Pt]),we[Pt].hasClass("nobreak")&&(ar=!0);ar||(Ke.push($n(ut,ie)),ut=[])}else we[Pt].hasClass("newline")&&(ut.pop(),ut.length>0&&(Ke.push($n(ut,ie)),ut=[]),Ke.push(we[Pt]));ut.length>0&&Ke.push($n(ut,ie));var wr;pe&&(wr=$n(qr(pe,ie,!0)),wr.classes=["tag"],Ke.push(wr));var jr=li(["katex-html"],Ke);if(jr.setAttribute("aria-hidden","true"),wr){var hn=wr.children[0];hn.style.height=jr.height+jr.depth+"em",hn.style.verticalAlign=-jr.depth+"em"}return jr}function vi(dt){return new te(dt)}var Pi=function(){function dt(pe,we){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=pe,this.attributes={},this.children=we||[]}var ie=dt.prototype;return ie.setAttribute=function(we,Ke){this.attributes[we]=Ke},ie.getAttribute=function(we){return this.attributes[we]},ie.toNode=function(){var we=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Ke in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ke)&&we.setAttribute(Ke,this.attributes[Ke]);for(var ut=0;ut<this.children.length;ut++)we.appendChild(this.children[ut].toNode());return we},ie.toMarkup=function(){var we="<"+this.type;for(var Ke in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ke)&&(we+=" "+Ke+'="',we+=y.escape(this.attributes[Ke]),we+='"');we+=">";for(var ut=0;ut<this.children.length;ut++)we+=this.children[ut].toMarkup();return we+="</"+this.type+">",we},ie.toText=function(){return this.children.map(function(we){return we.toText()}).join("")},dt}(),Fi=function(){function dt(pe){this.text=void 0,this.text=pe}var ie=dt.prototype;return ie.toNode=function(){return document.createTextNode(this.text)},ie.toMarkup=function(){return y.escape(this.toText())},ie.toText=function(){return this.text},dt}(),ja=function(){function dt(pe){this.width=void 0,this.character=void 0,this.width=pe,pe>=.05555&&pe<=.05556?this.character="\u200A":pe>=.1666&&pe<=.1667?this.character="\u2009":pe>=.2222&&pe<=.2223?this.character="\u2005":pe>=.2777&&pe<=.2778?this.character="\u2005\u200A":pe>=-.05556&&pe<=-.05555?this.character="\u200A\u2063":pe>=-.1667&&pe<=-.1666?this.character="\u2009\u2063":pe>=-.2223&&pe<=-.2222?this.character="\u205F\u2063":pe>=-.2778&&pe<=-.2777?this.character="\u2005\u2063":this.character=null}var ie=dt.prototype;return ie.toNode=function(){if(this.character)return document.createTextNode(this.character);var we=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return we.setAttribute("width",this.width+"em"),we},ie.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},ie.toText=function(){return this.character?this.character:" "},dt}(),Qn={MathNode:Pi,TextNode:Fi,SpaceNode:ja,newDocumentFragment:vi},Xr=function(ie,pe,we){return Xe[pe][ie]&&Xe[pe][ie].replace&&ie.charCodeAt(0)!==55349&&!(Zt.hasOwnProperty(ie)&&we&&(we.fontFamily&&we.fontFamily.substr(4,2)==="tt"||we.font&&we.font.substr(4,2)==="tt"))&&(ie=Xe[pe][ie].replace),new Qn.TextNode(ie)},hi=function(ie){return ie.length===1?ie[0]:new Qn.MathNode("mrow",ie)},Ri=function(ie,pe){if(pe.fontFamily==="texttt")return"monospace";if(pe.fontFamily==="textsf")return pe.fontShape==="textit"&&pe.fontWeight==="textbf"?"sans-serif-bold-italic":pe.fontShape==="textit"?"sans-serif-italic":pe.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(pe.fontShape==="textit"&&pe.fontWeight==="textbf")return"bold-italic";if(pe.fontShape==="textit")return"italic";if(pe.fontWeight==="textbf")return"bold";var we=pe.font;if(!we||we==="mathnormal")return null;var Ke=ie.mode;if(we==="mathit")return"italic";if(we==="boldsymbol")return"bold-italic";if(we==="mathbf")return"bold";if(we==="mathbb")return"double-struck";if(we==="mathfrak")return"fraktur";if(we==="mathscr"||we==="mathcal")return"script";if(we==="mathsf")return"sans-serif";if(we==="mathtt")return"monospace";var ut=ie.text;if(y.contains(["\\imath","\\jmath"],ut))return null;Xe[Ke][ut]&&Xe[Ke][ut].replace&&(ut=Xe[Ke][ut].replace);var Pt=jt.fontMap[we].fontName;return Je(ut,Pt,Ke)?jt.fontMap[we].variant:null},bi=function(ie,pe,we){if(ie.length===1){var Ke=ni(ie[0],pe);return we&&Ke instanceof Pi&&Ke.type==="mo"&&(Ke.setAttribute("lspace","0em"),Ke.setAttribute("rspace","0em")),[Ke]}for(var ut=[],Pt,ar=0;ar<ie.length;ar++){var wr=ni(ie[ar],pe);if(wr instanceof Pi&&Pt instanceof Pi){if(wr.type==="mtext"&&Pt.type==="mtext"&&wr.getAttribute("mathvariant")===Pt.getAttribute("mathvariant")){var jr;(jr=Pt.children).push.apply(jr,wr.children);continue}else if(wr.type==="mn"&&Pt.type==="mn"){var hn;(hn=Pt.children).push.apply(hn,wr.children);continue}else if(wr.type==="mi"&&wr.children.length===1&&Pt.type==="mn"){var Tn=wr.children[0];if(Tn instanceof Fi&&Tn.text==="."){var ti;(ti=Pt.children).push.apply(ti,wr.children);continue}}else if(Pt.type==="mi"&&Pt.children.length===1){var Ai=Pt.children[0];if(Ai instanceof Fi&&Ai.text==="\u0338"&&(wr.type==="mo"||wr.type==="mi"||wr.type==="mn")){var Ti=wr.children[0];Ti instanceof Fi&&Ti.text.length>0&&(Ti.text=Ti.text.slice(0,1)+"\u0338"+Ti.text.slice(1),ut.pop())}}}ut.push(wr),Pt=wr}return ut},Ui=function(ie,pe,we){return hi(bi(ie,pe,we))},ni=function(ie,pe){if(!ie)return new Qn.MathNode("mrow");if(cn[ie.type]){var we=cn[ie.type](ie,pe);return we}else throw new h("Got group of unknown type: '"+ie.type+"'")};function qi(dt,ie,pe,we){var Ke=bi(dt,pe),ut;Ke.length===1&&Ke[0]instanceof Pi&&y.contains(["mrow","mtable"],Ke[0].type)?ut=Ke[0]:ut=new Qn.MathNode("mrow",Ke);var Pt=new Qn.MathNode("annotation",[new Qn.TextNode(ie)]);Pt.setAttribute("encoding","application/x-tex");var ar=new Qn.MathNode("semantics",[ut,Pt]),wr=new Qn.MathNode("math",[ar]);wr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var jr=we?"katex":"katex-mathml";return jt.makeSpan([jr],[wr])}var Qi=function(ie){return new $r({style:ie.displayMode?j.DISPLAY:j.TEXT,maxSize:ie.maxSize,minRuleThickness:ie.minRuleThickness})},ha=function(ie,pe){if(pe.displayMode){var we=["katex-display"];pe.leqno&&we.push("leqno"),pe.fleqn&&we.push("fleqn"),ie=jt.makeSpan(we,[ie])}return ie},Yt=function(ie,pe,we){var Ke=Qi(we),ut;if(we.output==="mathml")return qi(ie,pe,Ke,!0);if(we.output==="html"){var Pt=Zn(ie,Ke);ut=jt.makeSpan(["katex"],[Pt])}else{var ar=qi(ie,pe,Ke,!1),wr=Zn(ie,Ke);ut=jt.makeSpan(["katex"],[ar,wr])}return ha(ut,we)},Ir=function(ie,pe,we){var Ke=Qi(we),ut=Zn(ie,Ke),Pt=jt.makeSpan(["katex"],[ut]);return ha(Pt,we)},Zr=Yt,He={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"},gt=function(ie){var pe=new Qn.MathNode("mo",[new Qn.TextNode(He[ie.substr(1)])]);return pe.setAttribute("stretchy","true"),pe},Xt={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]},zt=function(ie){return ie.type==="ordgroup"?ie.body.length:1},vr=function(ie,pe){function we(){var wr=4e5,jr=ie.label.substr(1);if(y.contains(["widehat","widecheck","widetilde","utilde"],jr)){var hn=ie,Tn=zt(hn.base),ti,Ai,Ti;if(Tn>5)jr==="widehat"||jr==="widecheck"?(ti=420,wr=2364,Ti=.42,Ai=jr+"4"):(ti=312,wr=2340,Ti=.34,Ai="tilde4");else{var Wi=[1,1,2,2,3,3][Tn];jr==="widehat"||jr==="widecheck"?(wr=[0,1062,2364,2364,2364][Wi],ti=[0,239,300,360,420][Wi],Ti=[0,.24,.3,.3,.36,.42][Wi],Ai=jr+Wi):(wr=[0,600,1033,2339,2340][Wi],ti=[0,260,286,306,312][Wi],Ti=[0,.26,.286,.3,.306,.34][Wi],Ai="tilde"+Wi)}var na=new ae(Ai),Ua=new Fe([na],{width:"100%",height:Ti+"em",viewBox:"0 0 "+wr+" "+ti,preserveAspectRatio:"none"});return{span:jt.makeSvgSpan([],[Ua],pe),minWidth:0,height:Ti}}else{var Za=[],to=Xt[jr],No=to[0],oo=to[1],Do=to[2],Wa=Do/1e3,Ro=No.length,ls,wo;if(Ro===1){var So=to[3];ls=["hide-tail"],wo=[So]}else if(Ro===2)ls=["halfarrow-left","halfarrow-right"],wo=["xMinYMin","xMaxYMin"];else if(Ro===3)ls=["brace-left","brace-center","brace-right"],wo=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+Ro+" children.");for(var fs=0;fs<Ro;fs++){var Cs=new ae(No[fs]),qo=new Fe([Cs],{width:"400em",height:Wa+"em",viewBox:"0 0 "+wr+" "+Do,preserveAspectRatio:wo[fs]+" slice"}),xo=jt.makeSvgSpan([ls[fs]],[qo],pe);if(Ro===1)return{span:xo,minWidth:oo,height:Wa};xo.style.height=Wa+"em",Za.push(xo)}return{span:jt.makeSpan(["stretchy"],Za,pe),minWidth:oo,height:Wa}}}var Ke=we(),ut=Ke.span,Pt=Ke.minWidth,ar=Ke.height;return ut.height=ar,ut.style.height=ar+"em",Pt>0&&(ut.style.minWidth=Pt+"em"),ut},or=function(ie,pe,we,Ke){var ut,Pt=ie.height+ie.depth+2*we;if(/fbox|color/.test(pe)){if(ut=jt.makeSpan(["stretchy",pe],[],Ke),pe==="fbox"){var ar=Ke.color&&Ke.getColor();ar&&(ut.style.borderColor=ar)}}else{var wr=[];/^[bx]cancel$/.test(pe)&&wr.push(new ce({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(pe)&&wr.push(new ce({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var jr=new Fe(wr,{width:"100%",height:Pt+"em"});ut=jt.makeSvgSpan([],[jr],Ke)}return ut.height=Pt,ut.style.height=Pt+"em",ut},Vr={encloseSpan:or,mathMLnode:gt,svgSpan:vr},Kr=function(ie,pe){var we,Ke,ut=Ar(ie,"supsub"),Pt;ut?(Ke=Sr(ut.base,"accent"),we=Ke.base,ut.base=we,Pt=ze(zn(ut,pe)),ut.base=Ke):(Ke=Sr(ie,"accent"),we=Ke.base);var ar=zn(we,pe.havingCrampedStyle()),wr=Ke.isShifty&&y.isCharacterBox(we),jr=0;if(wr){var hn=y.getBaseElem(we),Tn=zn(hn,pe.havingCrampedStyle());jr=_e(Tn).skew}var ti=Math.min(ar.height,pe.fontMetrics().xHeight),Ai;if(Ke.isStretchy)Ai=Vr.svgSpan(Ke,pe),Ai=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ar},{type:"elem",elem:Ai,wrapperClasses:["svg-align"],wrapperStyle:jr>0?{width:"calc(100% - "+2*jr+"em)",marginLeft:2*jr+"em"}:void 0}]},pe);else{var Ti,Wi;Ke.label==="\\vec"?(Ti=jt.staticSvg("vec",pe),Wi=jt.svgData.vec[1]):(Ti=jt.makeOrd({mode:Ke.mode,text:Ke.label},pe,"textord"),Ti=_e(Ti),Ti.italic=0,Wi=Ti.width),Ai=jt.makeSpan(["accent-body"],[Ti]);var na=Ke.label==="\\textcircled";na&&(Ai.classes.push("accent-full"),ti=ar.height);var Ua=jr;na||(Ua-=Wi/2),Ai.style.left=Ua+"em",Ke.label==="\\textcircled"&&(Ai.style.top=".2em"),Ai=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ar},{type:"kern",size:-ti},{type:"elem",elem:Ai}]},pe)}var Za=jt.makeSpan(["mord","accent"],[Ai],pe);return Pt?(Pt.children[0]=Za,Pt.height=Math.max(Za.height,Pt.height),Pt.classes[0]="mord",Pt):Za},Dr=function(ie,pe){var we=ie.isStretchy?Vr.mathMLnode(ie.label):new Qn.MathNode("mo",[Xr(ie.label,ie.mode)]),Ke=new Qn.MathNode("mover",[ni(ie.base,pe),we]);return Ke.setAttribute("accent","true"),Ke},dn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(dt){return"\\"+dt}).join("|"));Qr({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(ie,pe){var we=pe[0],Ke=!dn.test(ie.funcName),ut=!Ke||ie.funcName==="\\widehat"||ie.funcName==="\\widetilde"||ie.funcName==="\\widecheck";return{type:"accent",mode:ie.parser.mode,label:ie.funcName,isStretchy:Ke,isShifty:ut,base:we}},htmlBuilder:Kr,mathmlBuilder:Dr}),Qr({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(ie,pe){var we=pe[0];return{type:"accent",mode:ie.parser.mode,label:ie.funcName,isStretchy:!1,isShifty:!0,base:we}},htmlBuilder:Kr,mathmlBuilder:Dr}),Qr({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=pe[0];return{type:"accentUnder",mode:we.mode,label:Ke,base:ut}},htmlBuilder:function(ie,pe){var we=zn(ie.base,pe),Ke=Vr.svgSpan(ie,pe),ut=ie.label==="\\utilde"?.12:0,Pt=jt.makeVList({positionType:"bottom",positionData:Ke.height+ut,children:[{type:"elem",elem:Ke,wrapperClasses:["svg-align"]},{type:"kern",size:ut},{type:"elem",elem:we}]},pe);return jt.makeSpan(["mord","accentunder"],[Pt],pe)},mathmlBuilder:function(ie,pe){var we=Vr.mathMLnode(ie.label),Ke=new Qn.MathNode("munder",[ni(ie.base,pe),we]);return Ke.setAttribute("accentunder","true"),Ke}});var on=function(ie){var pe=new Qn.MathNode("mpadded",ie?[ie]:[]);return pe.setAttribute("width","+0.6em"),pe.setAttribute("lspace","0.3em"),pe};Qr({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(ie,pe,we){var Ke=ie.parser,ut=ie.funcName;return{type:"xArrow",mode:Ke.mode,label:ut,body:pe[0],below:we[0]}},htmlBuilder:function(ie,pe){var we=pe.style,Ke=pe.havingStyle(we.sup()),ut=jt.wrapFragment(zn(ie.body,Ke,pe),pe);ut.classes.push("x-arrow-pad");var Pt;ie.below&&(Ke=pe.havingStyle(we.sub()),Pt=jt.wrapFragment(zn(ie.below,Ke,pe),pe),Pt.classes.push("x-arrow-pad"));var ar=Vr.svgSpan(ie,pe),wr=-pe.fontMetrics().axisHeight+.5*ar.height,jr=-pe.fontMetrics().axisHeight-.5*ar.height-.111;(ut.depth>.25||ie.label==="\\xleftequilibrium")&&(jr-=ut.depth);var hn;if(Pt){var Tn=-pe.fontMetrics().axisHeight+Pt.height+.5*ar.height+.111;hn=jt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ut,shift:jr},{type:"elem",elem:ar,shift:wr},{type:"elem",elem:Pt,shift:Tn}]},pe)}else hn=jt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ut,shift:jr},{type:"elem",elem:ar,shift:wr}]},pe);return hn.children[0].children[0].children[1].classes.push("svg-align"),jt.makeSpan(["mrel","x-arrow"],[hn],pe)},mathmlBuilder:function(ie,pe){var we=Vr.mathMLnode(ie.label),Ke;if(ie.body){var ut=on(ni(ie.body,pe));if(ie.below){var Pt=on(ni(ie.below,pe));Ke=new Qn.MathNode("munderover",[we,Pt,ut])}else Ke=new Qn.MathNode("mover",[we,ut])}else if(ie.below){var ar=on(ni(ie.below,pe));Ke=new Qn.MathNode("munder",[we,ar])}else Ke=on(),Ke=new Qn.MathNode("mover",[we,Ke]);return Ke}}),Qr({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(ie,pe){for(var we=ie.parser,Ke=Sr(pe[0],"ordgroup"),ut=Ke.body,Pt="",ar=0;ar<ut.length;ar++){var wr=Sr(ut[ar],"textord");Pt+=wr.text}var jr=parseInt(Pt);if(isNaN(jr))throw new h("\\@char has non-numeric argument "+Pt);return{type:"textord",mode:we.mode,text:String.fromCharCode(jr)}}});var Cn=function(ie,pe){var we=qr(ie.body,pe.withColor(ie.color),!1);return jt.makeFragment(we)},sn=function(ie,pe){var we=bi(ie.body,pe.withColor(ie.color)),Ke=new Qn.MathNode("mstyle",we);return Ke.setAttribute("mathcolor",ie.color),Ke};Qr({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(ie,pe){var we=ie.parser,Ke=Sr(pe[0],"color-token").color,ut=pe[1];return{type:"color",mode:we.mode,color:Ke,body:Hn(ut)}},htmlBuilder:Cn,mathmlBuilder:sn}),Qr({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(ie,pe){var we=ie.parser,Ke=ie.breakOnTokenText,ut=Sr(pe[0],"color-token").color;we.gullet.macros.set("\\current@color",ut);var Pt=we.parseExpression(!0,Ke);return{type:"color",mode:we.mode,color:ut,body:Pt}},htmlBuilder:Cn,mathmlBuilder:sn}),Qr({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ie,pe,we){var Ke=ie.parser,ut=ie.funcName,Pt=we[0],ar=ut==="\\cr",wr=!1;return ar||(Ke.settings.displayMode&&Ke.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?wr=!1:wr=!0),{type:"cr",mode:Ke.mode,newLine:wr,newRow:ar,size:Pt&&Sr(Pt,"size").value}},htmlBuilder:function(ie,pe){if(ie.newRow)throw new h("\\cr valid only within a tabular/array environment");var we=jt.makeSpan(["mspace"],[],pe);return ie.newLine&&(we.classes.push("newline"),ie.size&&(we.style.marginTop=Fr(ie.size,pe)+"em")),we},mathmlBuilder:function(ie,pe){var we=new Qn.MathNode("mspace");return ie.newLine&&(we.setAttribute("linebreak","newline"),ie.size&&we.setAttribute("height",Fr(ie.size,pe)+"em")),we}});var an=function(ie,pe,we){var Ke=Xe.math[ie]&&Xe.math[ie].replace,ut=Je(Ke||ie,pe,we);if(!ut)throw new Error("Unsupported symbol "+ie+" and font size "+pe+".");return ut},Yr=function(ie,pe,we,Ke){var ut=we.havingBaseStyle(pe),Pt=jt.makeSpan(Ke.concat(ut.sizingClasses(we)),[ie],we),ar=ut.sizeMultiplier/we.sizeMultiplier;return Pt.height*=ar,Pt.depth*=ar,Pt.maxFontSize=ut.sizeMultiplier,Pt},fn=function(ie,pe,we){var Ke=pe.havingBaseStyle(we),ut=(1-pe.sizeMultiplier/Ke.sizeMultiplier)*pe.fontMetrics().axisHeight;ie.classes.push("delimcenter"),ie.style.top=ut+"em",ie.height-=ut,ie.depth+=ut},vn=function(ie,pe,we,Ke,ut,Pt){var ar=jt.makeSymbol(ie,"Main-Regular",ut,Ke),wr=Yr(ar,pe,Ke,Pt);return we&&fn(wr,Ke,pe),wr},Ln=function(ie,pe,we,Ke){return jt.makeSymbol(ie,"Size"+pe+"-Regular",we,Ke)},oi=function(ie,pe,we,Ke,ut,Pt){var ar=Ln(ie,pe,ut,Ke),wr=Yr(jt.makeSpan(["delimsizing","size"+pe],[ar],Ke),j.TEXT,Ke,Pt);return we&&fn(wr,Ke,j.TEXT),wr},si=function(ie,pe,we){var Ke;pe==="Size1-Regular"?Ke="delim-size1":Ke="delim-size4";var ut=jt.makeSpan(["delimsizinginner",Ke],[jt.makeSpan([],[jt.makeSymbol(ie,pe,we)])]);return{type:"elem",elem:ut}},Ni={type:"kern",size:-.005},qn=function(ie,pe,we,Ke,ut,Pt){var ar,wr,jr,hn;ar=jr=hn=ie,wr=null;var Tn="Size1-Regular";ie==="\\uparrow"?jr=hn="\u23D0":ie==="\\Uparrow"?jr=hn="\u2016":ie==="\\downarrow"?ar=jr="\u23D0":ie==="\\Downarrow"?ar=jr="\u2016":ie==="\\updownarrow"?(ar="\\uparrow",jr="\u23D0",hn="\\downarrow"):ie==="\\Updownarrow"?(ar="\\Uparrow",jr="\u2016",hn="\\Downarrow"):ie==="["||ie==="\\lbrack"?(ar="\u23A1",jr="\u23A2",hn="\u23A3",Tn="Size4-Regular"):ie==="]"||ie==="\\rbrack"?(ar="\u23A4",jr="\u23A5",hn="\u23A6",Tn="Size4-Regular"):ie==="\\lfloor"||ie==="\u230A"?(jr=ar="\u23A2",hn="\u23A3",Tn="Size4-Regular"):ie==="\\lceil"||ie==="\u2308"?(ar="\u23A1",jr=hn="\u23A2",Tn="Size4-Regular"):ie==="\\rfloor"||ie==="\u230B"?(jr=ar="\u23A5",hn="\u23A6",Tn="Size4-Regular"):ie==="\\rceil"||ie==="\u2309"?(ar="\u23A4",jr=hn="\u23A5",Tn="Size4-Regular"):ie==="("||ie==="\\lparen"?(ar="\u239B",jr="\u239C",hn="\u239D",Tn="Size4-Regular"):ie===")"||ie==="\\rparen"?(ar="\u239E",jr="\u239F",hn="\u23A0",Tn="Size4-Regular"):ie==="\\{"||ie==="\\lbrace"?(ar="\u23A7",wr="\u23A8",hn="\u23A9",jr="\u23AA",Tn="Size4-Regular"):ie==="\\}"||ie==="\\rbrace"?(ar="\u23AB",wr="\u23AC",hn="\u23AD",jr="\u23AA",Tn="Size4-Regular"):ie==="\\lgroup"||ie==="\u27EE"?(ar="\u23A7",hn="\u23A9",jr="\u23AA",Tn="Size4-Regular"):ie==="\\rgroup"||ie==="\u27EF"?(ar="\u23AB",hn="\u23AD",jr="\u23AA",Tn="Size4-Regular"):ie==="\\lmoustache"||ie==="\u23B0"?(ar="\u23A7",hn="\u23AD",jr="\u23AA",Tn="Size4-Regular"):(ie==="\\rmoustache"||ie==="\u23B1")&&(ar="\u23AB",hn="\u23A9",jr="\u23AA",Tn="Size4-Regular");var ti=an(ar,Tn,ut),Ai=ti.height+ti.depth,Ti=an(jr,Tn,ut),Wi=Ti.height+Ti.depth,na=an(hn,Tn,ut),Ua=na.height+na.depth,Za=0,to=1;if(wr!==null){var No=an(wr,Tn,ut);Za=No.height+No.depth,to=2}var oo=Ai+Ua+Za,Do=Math.max(0,Math.ceil((pe-oo)/(to*Wi))),Wa=oo+Do*to*Wi,Ro=Ke.fontMetrics().axisHeight;we&&(Ro*=Ke.sizeMultiplier);var ls=Wa/2-Ro,wo=(Do+1)*.005-Wi,So=[];if(So.push(si(hn,Tn,ut)),wr===null)for(var fs=0;fs<Do;fs++)So.push(Ni),So.push(si(jr,Tn,ut));else{for(var Cs=0;Cs<Do;Cs++)So.push(Ni),So.push(si(jr,Tn,ut));So.push({type:"kern",size:wo}),So.push(si(jr,Tn,ut)),So.push(Ni),So.push(si(wr,Tn,ut));for(var qo=0;qo<Do;qo++)So.push(Ni),So.push(si(jr,Tn,ut))}So.push({type:"kern",size:wo}),So.push(si(jr,Tn,ut)),So.push(Ni),So.push(si(ar,Tn,ut));var xo=Ke.havingBaseStyle(j.TEXT),Ws=jt.makeVList({positionType:"bottom",positionData:ls,children:So},xo);return Yr(jt.makeSpan(["delimsizing","mult"],[Ws],xo),j.TEXT,Ke,Pt)},Pn=80,Bi=.08,ci=function(ie,pe,we,Ke,ut){var Pt=Ce(ie,Ke,we),ar=new ae(ie,Pt),wr=new Fe([ar],{width:"400em",height:pe+"em",viewBox:"0 0 400000 "+we,preserveAspectRatio:"xMinYMin slice"});return jt.makeSvgSpan(["hide-tail"],[wr],ut)},wi=function(ie,pe){var we=pe.havingBaseSizing(),Ke=ka("\\surd",ie*we.sizeMultiplier,Ea,we),ut=we.sizeMultiplier,Pt=Math.max(0,pe.minRuleThickness-pe.fontMetrics().sqrtRuleThickness),ar,wr=0,jr=0,hn=0,Tn;return Ke.type==="small"?(hn=1e3+1e3*Pt+Pn,ie<1?ut=1:ie<1.4&&(ut=.7),wr=(1+Pt+Bi)/ut,jr=(1+Pt)/ut,ar=ci("sqrtMain",wr,hn,Pt,pe),ar.style.minWidth="0.853em",Tn=.833/ut):Ke.type==="large"?(hn=(1e3+Pn)*zi[Ke.size],jr=(zi[Ke.size]+Pt)/ut,wr=(zi[Ke.size]+Pt+Bi)/ut,ar=ci("sqrtSize"+Ke.size,wr,hn,Pt,pe),ar.style.minWidth="1.02em",Tn=1/ut):(wr=ie+Pt+Bi,jr=ie+Pt,hn=Math.floor(1e3*ie+Pt)+Pn,ar=ci("sqrtTall",wr,hn,Pt,pe),ar.style.minWidth="0.742em",Tn=1.056),ar.height=jr,ar.style.height=wr+"em",{span:ar,advanceWidth:Tn,ruleWidth:(pe.fontMetrics().sqrtRuleThickness+Pt)*ut}},fi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ki=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],fa=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],zi=[0,1.2,1.8,2.4,3],ma=function(ie,pe,we,Ke,ut){if(ie==="<"||ie==="\\lt"||ie==="\u27E8"?ie="\\langle":(ie===">"||ie==="\\gt"||ie==="\u27E9")&&(ie="\\rangle"),y.contains(fi,ie)||y.contains(fa,ie))return oi(ie,pe,!1,we,Ke,ut);if(y.contains(ki,ie))return qn(ie,zi[pe],!1,we,Ke,ut);throw new h("Illegal delimiter: '"+ie+"'")},aa=[{type:"small",style:j.SCRIPTSCRIPT},{type:"small",style:j.SCRIPT},{type:"small",style:j.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],ya=[{type:"small",style:j.SCRIPTSCRIPT},{type:"small",style:j.SCRIPT},{type:"small",style:j.TEXT},{type:"stack"}],Ea=[{type:"small",style:j.SCRIPTSCRIPT},{type:"small",style:j.SCRIPT},{type:"small",style:j.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ca=function(ie){if(ie.type==="small")return"Main-Regular";if(ie.type==="large")return"Size"+ie.size+"-Regular";if(ie.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+ie.type+"' here.")},ka=function(ie,pe,we,Ke){for(var ut=Math.min(2,3-Ke.style.size),Pt=ut;Pt<we.length&&!(we[Pt].type==="stack");Pt++){var ar=an(ie,ca(we[Pt]),"math"),wr=ar.height+ar.depth;if(we[Pt].type==="small"){var jr=Ke.havingBaseStyle(we[Pt].style);wr*=jr.sizeMultiplier}if(wr>pe)return we[Pt]}return we[we.length-1]},wa=function(ie,pe,we,Ke,ut,Pt){ie==="<"||ie==="\\lt"||ie==="\u27E8"?ie="\\langle":(ie===">"||ie==="\\gt"||ie==="\u27E9")&&(ie="\\rangle");var ar;y.contains(fa,ie)?ar=aa:y.contains(fi,ie)?ar=Ea:ar=ya;var wr=ka(ie,pe,ar,Ke);return wr.type==="small"?vn(ie,wr.style,we,Ke,ut,Pt):wr.type==="large"?oi(ie,wr.size,we,Ke,ut,Pt):qn(ie,pe,we,Ke,ut,Pt)},_i=function(ie,pe,we,Ke,ut,Pt){var ar=Ke.fontMetrics().axisHeight*Ke.sizeMultiplier,wr=901,jr=5/Ke.fontMetrics().ptPerEm,hn=Math.max(pe-ar,we+ar),Tn=Math.max(hn/500*wr,2*hn-jr);return wa(ie,Tn,!0,Ke,ut,Pt)},xi={sqrtImage:wi,sizedDelim:ma,customSizedDelim:wa,leftRightDelim:_i},ji={"\\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}},Zi=["(","\\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 Si(dt,ie){var pe=Wn(dt);if(pe&&y.contains(Zi,pe.text))return pe;throw new h("Invalid delimiter: '"+(pe?pe.text:JSON.stringify(dt))+"' after '"+ie.funcName+"'",dt)}Qr({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(ie,pe){var we=Si(pe[0],ie);return{type:"delimsizing",mode:ie.parser.mode,size:ji[ie.funcName].size,mclass:ji[ie.funcName].mclass,delim:we.text}},htmlBuilder:function(ie,pe){return ie.delim==="."?jt.makeSpan([ie.mclass]):xi.sizedDelim(ie.delim,ie.size,pe,ie.mode,[ie.mclass])},mathmlBuilder:function(ie){var pe=[];ie.delim!=="."&&pe.push(Xr(ie.delim,ie.mode));var we=new Qn.MathNode("mo",pe);return ie.mclass==="mopen"||ie.mclass==="mclose"?we.setAttribute("fence","true"):we.setAttribute("fence","false"),we}});function Hi(dt){if(!dt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Qr({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(ie,pe){var we=ie.parser.gullet.macros.get("\\current@color");if(we&&typeof we!="string")throw new h("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:ie.parser.mode,delim:Si(pe[0],ie).text,color:we}}}),Qr({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(ie,pe){var we=Si(pe[0],ie),Ke=ie.parser;++Ke.leftrightDepth;var ut=Ke.parseExpression(!1);--Ke.leftrightDepth,Ke.expect("\\right",!1);var Pt=Sr(Ke.parseFunction(),"leftright-right");return{type:"leftright",mode:Ke.mode,body:ut,left:we.text,right:Pt.delim,rightColor:Pt.color}},htmlBuilder:function(ie,pe){Hi(ie);for(var we=qr(ie.body,pe,!0,["mopen","mclose"]),Ke=0,ut=0,Pt=!1,ar=0;ar<we.length;ar++)we[ar].isMiddle?Pt=!0:(Ke=Math.max(we[ar].height,Ke),ut=Math.max(we[ar].depth,ut));Ke*=pe.sizeMultiplier,ut*=pe.sizeMultiplier;var wr;if(ie.left==="."?wr=Fn(pe,["mopen"]):wr=xi.leftRightDelim(ie.left,Ke,ut,pe,ie.mode,["mopen"]),we.unshift(wr),Pt)for(var jr=1;jr<we.length;jr++){var hn=we[jr],Tn=hn.isMiddle;Tn&&(we[jr]=xi.leftRightDelim(Tn.delim,Ke,ut,Tn.options,ie.mode,[]))}var ti;if(ie.right===".")ti=Fn(pe,["mclose"]);else{var Ai=ie.rightColor?pe.withColor(ie.rightColor):pe;ti=xi.leftRightDelim(ie.right,Ke,ut,Ai,ie.mode,["mclose"])}return we.push(ti),jt.makeSpan(["minner"],we,pe)},mathmlBuilder:function(ie,pe){Hi(ie);var we=bi(ie.body,pe);if(ie.left!=="."){var Ke=new Qn.MathNode("mo",[Xr(ie.left,ie.mode)]);Ke.setAttribute("fence","true"),we.unshift(Ke)}if(ie.right!=="."){var ut=new Qn.MathNode("mo",[Xr(ie.right,ie.mode)]);ut.setAttribute("fence","true"),ie.rightColor&&ut.setAttribute("mathcolor",ie.rightColor),we.push(ut)}return hi(we)}}),Qr({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(ie,pe){var we=Si(pe[0],ie);if(!ie.parser.leftrightDepth)throw new h("\\middle without preceding \\left",we);return{type:"middle",mode:ie.parser.mode,delim:we.text}},htmlBuilder:function(ie,pe){var we;if(ie.delim===".")we=Fn(pe,[]);else{we=xi.sizedDelim(ie.delim,1,pe,ie.mode,[]);var Ke={delim:ie.delim,options:pe};we.isMiddle=Ke}return we},mathmlBuilder:function(ie,pe){var we=ie.delim==="\\vert"||ie.delim==="|"?Xr("|","text"):Xr(ie.delim,ie.mode),Ke=new Qn.MathNode("mo",[we]);return Ke.setAttribute("fence","true"),Ke.setAttribute("lspace","0.05em"),Ke.setAttribute("rspace","0.05em"),Ke}});var Oa=function(ie,pe){var we=jt.wrapFragment(zn(ie.body,pe),pe),Ke=ie.label.substr(1),ut=pe.sizeMultiplier,Pt,ar=0,wr=y.isCharacterBox(ie.body);if(Ke==="sout")Pt=jt.makeSpan(["stretchy","sout"]),Pt.height=pe.fontMetrics().defaultRuleThickness/ut,ar=-.5*pe.fontMetrics().xHeight;else{/cancel/.test(Ke)?wr||we.classes.push("cancel-pad"):we.classes.push("boxpad");var jr=0,hn=0;/box/.test(Ke)?(hn=Math.max(pe.fontMetrics().fboxrule,pe.minRuleThickness),jr=pe.fontMetrics().fboxsep+(Ke==="colorbox"?0:hn)):jr=wr?.2:0,Pt=Vr.encloseSpan(we,Ke,jr,pe),/fbox|boxed|fcolorbox/.test(Ke)&&(Pt.style.borderStyle="solid",Pt.style.borderWidth=hn+"em"),ar=we.depth+jr,ie.backgroundColor&&(Pt.style.backgroundColor=ie.backgroundColor,ie.borderColor&&(Pt.style.borderColor=ie.borderColor))}var Tn;return ie.backgroundColor?Tn=jt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Pt,shift:ar},{type:"elem",elem:we,shift:0}]},pe):Tn=jt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:we,shift:0},{type:"elem",elem:Pt,shift:ar,wrapperClasses:/cancel/.test(Ke)?["svg-align"]:[]}]},pe),/cancel/.test(Ke)&&(Tn.height=we.height,Tn.depth=we.depth),/cancel/.test(Ke)&&!wr?jt.makeSpan(["mord","cancel-lap"],[Tn],pe):jt.makeSpan(["mord"],[Tn],pe)},_a=function(ie,pe){var we=0,Ke=new Qn.MathNode(ie.label.indexOf("colorbox")>-1?"mpadded":"menclose",[ni(ie.body,pe)]);switch(ie.label){case"\\cancel":Ke.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Ke.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Ke.setAttribute("notation","horizontalstrike");break;case"\\fbox":Ke.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(we=pe.fontMetrics().fboxsep*pe.fontMetrics().ptPerEm,Ke.setAttribute("width","+"+2*we+"pt"),Ke.setAttribute("height","+"+2*we+"pt"),Ke.setAttribute("lspace",we+"pt"),Ke.setAttribute("voffset",we+"pt"),ie.label==="\\fcolorbox"){var ut=Math.max(pe.fontMetrics().fboxrule,pe.minRuleThickness);Ke.setAttribute("style","border: "+ut+"em solid "+String(ie.borderColor))}break;case"\\xcancel":Ke.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return ie.backgroundColor&&Ke.setAttribute("mathbackground",ie.backgroundColor),Ke};Qr({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(ie,pe,we){var Ke=ie.parser,ut=ie.funcName,Pt=Sr(pe[0],"color-token").color,ar=pe[1];return{type:"enclose",mode:Ke.mode,label:ut,backgroundColor:Pt,body:ar}},htmlBuilder:Oa,mathmlBuilder:_a}),Qr({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(ie,pe,we){var Ke=ie.parser,ut=ie.funcName,Pt=Sr(pe[0],"color-token").color,ar=Sr(pe[1],"color-token").color,wr=pe[2];return{type:"enclose",mode:Ke.mode,label:ut,backgroundColor:ar,borderColor:Pt,body:wr}},htmlBuilder:Oa,mathmlBuilder:_a}),Qr({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(ie,pe){var we=ie.parser;return{type:"enclose",mode:we.mode,label:"\\fbox",body:pe[0]}}}),Qr({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(ie,pe,we){var Ke=ie.parser,ut=ie.funcName,Pt=pe[0];return{type:"enclose",mode:Ke.mode,label:ut,body:Pt}},htmlBuilder:Oa,mathmlBuilder:_a});var la={};function va(dt){for(var ie=dt.type,pe=dt.names,we=dt.props,Ke=dt.handler,ut=dt.htmlBuilder,Pt=dt.mathmlBuilder,ar={type:ie,numArgs:we.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Ke},wr=0;wr<pe.length;++wr)la[pe[wr]]=ar;ut&&(Ur[ie]=ut),Pt&&(cn[ie]=Pt)}function Ma(dt){var ie=[];dt.consumeSpaces();for(var pe=dt.fetch().text;pe==="\\hline"||pe==="\\hdashline";)dt.consume(),ie.push(pe==="\\hdashline"),dt.consumeSpaces(),pe=dt.fetch().text;return ie}function Xa(dt,ie,pe){var we=ie.hskipBeforeAndAfter,Ke=ie.addJot,ut=ie.cols,Pt=ie.arraystretch,ar=ie.colSeparationType;if(dt.gullet.beginGroup(),dt.gullet.macros.set("\\\\","\\cr"),!Pt){var wr=dt.gullet.expandMacroAsText("\\arraystretch");if(wr==null)Pt=1;else if(Pt=parseFloat(wr),!Pt||Pt<0)throw new h("Invalid \\arraystretch: "+wr)}dt.gullet.beginGroup();var jr=[],hn=[jr],Tn=[],ti=[];for(ti.push(Ma(dt));;){var Ai=dt.parseExpression(!1,"\\cr");dt.gullet.endGroup(),dt.gullet.beginGroup(),Ai={type:"ordgroup",mode:dt.mode,body:Ai},pe&&(Ai={type:"styling",mode:dt.mode,style:pe,body:[Ai]}),jr.push(Ai);var Ti=dt.fetch().text;if(Ti==="&")dt.consume();else if(Ti==="\\end"){jr.length===1&&Ai.type==="styling"&&Ai.body[0].body.length===0&&hn.pop(),ti.length<hn.length+1&&ti.push([]);break}else if(Ti==="\\cr"){var Wi=Sr(dt.parseFunction(),"cr");Tn.push(Wi.size),ti.push(Ma(dt)),jr=[],hn.push(jr)}else throw new h("Expected & or \\\\ or \\cr or \\end",dt.nextToken)}return dt.gullet.endGroup(),dt.gullet.endGroup(),{type:"array",mode:dt.mode,addJot:Ke,arraystretch:Pt,body:hn,cols:ut,rowGaps:Tn,hskipBeforeAndAfter:we,hLinesBeforeRow:ti,colSeparationType:ar}}function co(dt){return dt.substr(0,1)==="d"?"display":"text"}var so=function(ie,pe){var we,Ke,ut=ie.body.length,Pt=ie.hLinesBeforeRow,ar=0,wr=new Array(ut),jr=[],hn=Math.max(pe.fontMetrics().arrayRuleWidth,pe.minRuleThickness),Tn=1/pe.fontMetrics().ptPerEm,ti=5*Tn;if(ie.colSeparationType&&ie.colSeparationType==="small"){var Ai=pe.havingStyle(j.SCRIPT).sizeMultiplier;ti=.2778*(Ai/pe.sizeMultiplier)}var Ti=12*Tn,Wi=3*Tn,na=ie.arraystretch*Ti,Ua=.7*na,Za=.3*na,to=0;function No(Ds){for(var Rs=0;Rs<Ds.length;++Rs)Rs>0&&(to+=.25),jr.push({pos:to,isDashed:Ds[Rs]})}for(No(Pt[0]),we=0;we<ie.body.length;++we){var oo=ie.body[we],Do=Ua,Wa=Za;ar<oo.length&&(ar=oo.length);var Ro=new Array(oo.length);for(Ke=0;Ke<oo.length;++Ke){var ls=zn(oo[Ke],pe);Wa<ls.depth&&(Wa=ls.depth),Do<ls.height&&(Do=ls.height),Ro[Ke]=ls}var wo=ie.rowGaps[we],So=0;wo&&(So=Fr(wo,pe),So>0&&(So+=Za,Wa<So&&(Wa=So),So=0)),ie.addJot&&(Wa+=Wi),Ro.height=Do,Ro.depth=Wa,to+=Do,Ro.pos=to,to+=Wa+So,wr[we]=Ro,No(Pt[we+1])}var fs=to/2+pe.fontMetrics().axisHeight,Cs=ie.cols||[],qo=[],xo,Ws;for(Ke=0,Ws=0;Ke<ar||Ws<Cs.length;++Ke,++Ws){for(var ps=Cs[Ws]||{},ll=!0;ps.type==="separator";){if(ll||(xo=jt.makeSpan(["arraycolsep"],[]),xo.style.width=pe.fontMetrics().doubleRuleSep+"em",qo.push(xo)),ps.separator==="|"||ps.separator===":"){var cl=ps.separator==="|"?"solid":"dashed",Ts=jt.makeSpan(["vertical-separator"],[],pe);Ts.style.height=to+"em",Ts.style.borderRightWidth=hn+"em",Ts.style.borderRightStyle=cl,Ts.style.margin="0 -"+hn/2+"em",Ts.style.verticalAlign=-(to-fs)+"em",qo.push(Ts)}else throw new h("Invalid separator type: "+ps.separator);Ws++,ps=Cs[Ws]||{},ll=!1}if(Ke>=ar)continue;var ko=void 0;(Ke>0||ie.hskipBeforeAndAfter)&&(ko=y.deflt(ps.pregap,ti),ko!==0&&(xo=jt.makeSpan(["arraycolsep"],[]),xo.style.width=ko+"em",qo.push(xo)));var Ki=[];for(we=0;we<ut;++we){var zs=wr[we],nl=zs[Ke];if(!nl)continue;var Ss=zs.pos-fs;nl.depth=zs.depth,nl.height=zs.height,Ki.push({type:"elem",elem:nl,shift:Ss})}Ki=jt.makeVList({positionType:"individualShift",children:Ki},pe),Ki=jt.makeSpan(["col-align-"+(ps.align||"c")],[Ki]),qo.push(Ki),(Ke<ar-1||ie.hskipBeforeAndAfter)&&(ko=y.deflt(ps.postgap,ti),ko!==0&&(xo=jt.makeSpan(["arraycolsep"],[]),xo.style.width=ko+"em",qo.push(xo)))}if(wr=jt.makeSpan(["mtable"],qo),jr.length>0){for(var ts=jt.makeLineSpan("hline",pe,hn),ml=jt.makeLineSpan("hdashline",pe,hn),il=[{type:"elem",elem:wr,shift:0}];jr.length>0;){var Ns=jr.pop(),Us=Ns.pos-fs;Ns.isDashed?il.push({type:"elem",elem:ml,shift:Us}):il.push({type:"elem",elem:ts,shift:Us})}wr=jt.makeVList({positionType:"individualShift",children:il},pe)}return jt.makeSpan(["mord"],[wr],pe)},Ao={c:"center ",l:"left ",r:"right "},io=function(ie,pe){var we=new Qn.MathNode("mtable",ie.body.map(function(to){return new Qn.MathNode("mtr",to.map(function(No){return new Qn.MathNode("mtd",[ni(No,pe)])}))})),Ke=ie.arraystretch===.5?.1:.16+ie.arraystretch-1+(ie.addJot?.09:0);we.setAttribute("rowspacing",Ke+"em");var ut="",Pt="";if(ie.cols){var ar=ie.cols,wr="",jr=!1,hn=0,Tn=ar.length;ar[0].type==="separator"&&(ut+="top ",hn=1),ar[ar.length-1].type==="separator"&&(ut+="bottom ",Tn-=1);for(var ti=hn;ti<Tn;ti++)ar[ti].type==="align"?(Pt+=Ao[ar[ti].align],jr&&(wr+="none "),jr=!0):ar[ti].type==="separator"&&(jr&&(wr+=ar[ti].separator==="|"?"solid ":"dashed ",jr=!1));we.setAttribute("columnalign",Pt.trim()),/[sd]/.test(wr)&&we.setAttribute("columnlines",wr.trim())}if(ie.colSeparationType==="align"){for(var Ai=ie.cols||[],Ti="",Wi=1;Wi<Ai.length;Wi++)Ti+=Wi%2?"0em ":"1em ";we.setAttribute("columnspacing",Ti.trim())}else ie.colSeparationType==="alignat"?we.setAttribute("columnspacing","0em"):ie.colSeparationType==="small"?we.setAttribute("columnspacing","0.2778em"):we.setAttribute("columnspacing","1em");var na="",Ua=ie.hLinesBeforeRow;ut+=Ua[0].length>0?"left ":"",ut+=Ua[Ua.length-1].length>0?"right ":"";for(var Za=1;Za<Ua.length-1;Za++)na+=Ua[Za].length===0?"none ":Ua[Za][0]?"dashed ":"solid ";return/[sd]/.test(na)&&we.setAttribute("rowlines",na.trim()),ut!==""&&(we=new Qn.MathNode("menclose",[we]),we.setAttribute("notation",ut.trim())),ie.arraystretch&&ie.arraystretch<1&&(we=new Qn.MathNode("mstyle",[we]),we.setAttribute("scriptlevel","1")),we},pa=function(ie,pe){var we=[],Ke=Xa(ie.parser,{cols:we,addJot:!0},"display"),ut,Pt=0,ar={type:"ordgroup",mode:ie.mode,body:[]},wr=Ar(pe[0],"ordgroup");if(wr){for(var jr="",hn=0;hn<wr.body.length;hn++){var Tn=Sr(wr.body[hn],"textord");jr+=Tn.text}ut=Number(jr),Pt=ut*2}var ti=!Pt;Ke.body.forEach(function(na){for(var Ua=1;Ua<na.length;Ua+=2){var Za=Sr(na[Ua],"styling"),to=Sr(Za.body[0],"ordgroup");to.body.unshift(ar)}if(ti)Pt<na.length&&(Pt=na.length);else{var No=na.length/2;if(ut<No)throw new h("Too many math in a row: "+("expected "+ut+", but got "+No),na[0])}});for(var Ai=0;Ai<Pt;++Ai){var Ti="r",Wi=0;Ai%2===1?Ti="l":Ai>0&&ti&&(Wi=1),we[Ai]={type:"align",align:Ti,pregap:Wi,postgap:0}}return Ke.colSeparationType=ti?"align":"alignat",Ke};va({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(ie,pe){var we=Wn(pe[0]),Ke=we?[pe[0]]:Sr(pe[0],"ordgroup").body,ut=Ke.map(function(ar){var wr=_n(ar),jr=wr.text;if("lcr".indexOf(jr)!==-1)return{type:"align",align:jr};if(jr==="|")return{type:"separator",separator:"|"};if(jr===":")return{type:"separator",separator:":"};throw new h("Unknown column alignment: "+jr,ar)}),Pt={cols:ut,hskipBeforeAndAfter:!0};return Xa(ie.parser,Pt,co(ie.envName))},htmlBuilder:so,mathmlBuilder:io}),va({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(ie){var pe={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[ie.envName],we={hskipBeforeAndAfter:!1},Ke=Xa(ie.parser,we,co(ie.envName));return pe?{type:"leftright",mode:ie.mode,body:[Ke],left:pe[0],right:pe[1],rightColor:void 0}:Ke},htmlBuilder:so,mathmlBuilder:io}),va({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(ie){var pe={arraystretch:.5},we=Xa(ie.parser,pe,"script");return we.colSeparationType="small",we},htmlBuilder:so,mathmlBuilder:io}),va({type:"array",names:["subarray"],props:{numArgs:1},handler:function(ie,pe){var we=Wn(pe[0]),Ke=we?[pe[0]]:Sr(pe[0],"ordgroup").body,ut=Ke.map(function(ar){var wr=_n(ar),jr=wr.text;if("lc".indexOf(jr)!==-1)return{type:"align",align:jr};throw new h("Unknown column alignment: "+jr,ar)});if(ut.length>1)throw new h("{subarray} can contain only one column");var Pt={cols:ut,hskipBeforeAndAfter:!1,arraystretch:.5};if(Pt=Xa(ie.parser,Pt,"script"),Pt.body[0].length>1)throw new h("{subarray} can contain only one column");return Pt},htmlBuilder:so,mathmlBuilder:io}),va({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(ie){var pe={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},we=Xa(ie.parser,pe,co(ie.envName));return{type:"leftright",mode:ie.mode,body:[we],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:so,mathmlBuilder:io}),va({type:"array",names:["aligned"],props:{numArgs:0},handler:pa,htmlBuilder:so,mathmlBuilder:io}),va({type:"array",names:["gathered"],props:{numArgs:0},handler:function(ie){var pe={cols:[{type:"align",align:"c"}],addJot:!0};return Xa(ie.parser,pe,"display")},htmlBuilder:so,mathmlBuilder:io}),va({type:"array",names:["alignedat"],props:{numArgs:1},handler:pa,htmlBuilder:so,mathmlBuilder:io}),Qr({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(ie,pe){throw new h(ie.funcName+" valid only within array environment")}});var ga=la,ba=ga;Qr({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=pe[0];if(ut.type!=="ordgroup")throw new h("Invalid environment name",ut);for(var Pt="",ar=0;ar<ut.body.length;++ar)Pt+=Sr(ut.body[ar],"textord").text;if(Ke==="\\begin"){if(!ba.hasOwnProperty(Pt))throw new h("No such environment: "+Pt,ut);var wr=ba[Pt],jr=we.parseArguments("\\begin{"+Pt+"}",wr),hn=jr.args,Tn=jr.optArgs,ti={mode:we.mode,envName:Pt,parser:we},Ai=wr.handler(ti,hn,Tn);we.expect("\\end",!1);var Ti=we.nextToken,Wi=Sr(we.parseFunction(),"environment");if(Wi.name!==Pt)throw new h("Mismatch: \\begin{"+Pt+"} matched by \\end{"+Wi.name+"}",Ti);return Ai}return{type:"environment",mode:we.mode,name:Pt,nameGroup:ut}}});var Oi=jt.makeSpan;function Fa(dt,ie){var pe=qr(dt.body,ie,!0);return Oi([dt.mclass],pe,ie)}function vo(dt,ie){var pe,we=bi(dt.body,ie);return dt.mclass==="minner"?Qn.newDocumentFragment(we):(dt.mclass==="mord"?dt.isCharacterBox?(pe=we[0],pe.type="mi"):pe=new Qn.MathNode("mi",we):(dt.isCharacterBox?(pe=we[0],pe.type="mo"):pe=new Qn.MathNode("mo",we),dt.mclass==="mbin"?(pe.attributes.lspace="0.22em",pe.attributes.rspace="0.22em"):dt.mclass==="mpunct"?(pe.attributes.lspace="0em",pe.attributes.rspace="0.17em"):(dt.mclass==="mopen"||dt.mclass==="mclose")&&(pe.attributes.lspace="0em",pe.attributes.rspace="0em")),pe)}Qr({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=pe[0];return{type:"mclass",mode:we.mode,mclass:"m"+Ke.substr(5),body:Hn(ut),isCharacterBox:y.isCharacterBox(ut)}},htmlBuilder:Fa,mathmlBuilder:vo});var os=function(ie){var pe=ie.type==="ordgroup"&&ie.body.length?ie.body[0]:ie;return pe.type==="atom"&&(pe.family==="bin"||pe.family==="rel")?"m"+pe.family:"mord"};Qr({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(ie,pe){var we=ie.parser;return{type:"mclass",mode:we.mode,mclass:os(pe[0]),body:[pe[1]],isCharacterBox:y.isCharacterBox(pe[1])}}}),Qr({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=pe[1],Pt=pe[0],ar;Ke!=="\\stackrel"?ar=os(ut):ar="mrel";var wr={type:"op",mode:ut.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Ke!=="\\stackrel",body:Hn(ut)},jr={type:"supsub",mode:Pt.mode,base:wr,sup:Ke==="\\underset"?null:Pt,sub:Ke==="\\underset"?Pt:null};return{type:"mclass",mode:we.mode,mclass:ar,body:[jr],isCharacterBox:y.isCharacterBox(jr)}},htmlBuilder:Fa,mathmlBuilder:vo});var Va=function(ie,pe){var we=ie.font,Ke=pe.withFont(we);return zn(ie.body,Ke)},ao=function(ie,pe){var we=ie.font,Ke=pe.withFont(we);return ni(ie.body,Ke)},Ga={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Qr({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=pe[0],Pt=Ke;return Pt in Ga&&(Pt=Ga[Pt]),{type:"font",mode:we.mode,font:Pt.slice(1),body:ut}},htmlBuilder:Va,mathmlBuilder:ao}),Qr({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(ie,pe){var we=ie.parser,Ke=pe[0],ut=y.isCharacterBox(Ke);return{type:"mclass",mode:we.mode,mclass:os(Ke),body:[{type:"font",mode:we.mode,font:"boldsymbol",body:Ke}],isCharacterBox:ut}}}),Qr({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=ie.breakOnTokenText,Pt=we.mode,ar=we.parseExpression(!0,ut),wr="math"+Ke.slice(1);return{type:"font",mode:Pt,font:wr,body:{type:"ordgroup",mode:we.mode,body:ar}}},htmlBuilder:Va,mathmlBuilder:ao});var yo=function(ie,pe){var we=pe;return ie==="display"?we=we.id>=j.SCRIPT.id?we.text():j.DISPLAY:ie==="text"&&we.size===j.DISPLAY.size?we=j.TEXT:ie==="script"?we=j.SCRIPT:ie==="scriptscript"&&(we=j.SCRIPTSCRIPT),we},fo=function(ie,pe){var we=yo(ie.size,pe.style),Ke=we.fracNum(),ut=we.fracDen(),Pt;Pt=pe.havingStyle(Ke);var ar=zn(ie.numer,Pt,pe);if(ie.continued){var wr=8.5/pe.fontMetrics().ptPerEm,jr=3.5/pe.fontMetrics().ptPerEm;ar.height=ar.height<wr?wr:ar.height,ar.depth=ar.depth<jr?jr:ar.depth}Pt=pe.havingStyle(ut);var hn=zn(ie.denom,Pt,pe),Tn,ti,Ai;ie.hasBarLine?(ie.barSize?(ti=Fr(ie.barSize,pe),Tn=jt.makeLineSpan("frac-line",pe,ti)):Tn=jt.makeLineSpan("frac-line",pe),ti=Tn.height,Ai=Tn.height):(Tn=null,ti=0,Ai=pe.fontMetrics().defaultRuleThickness);var Ti,Wi,na;we.size===j.DISPLAY.size||ie.size==="display"?(Ti=pe.fontMetrics().num1,ti>0?Wi=3*Ai:Wi=7*Ai,na=pe.fontMetrics().denom1):(ti>0?(Ti=pe.fontMetrics().num2,Wi=Ai):(Ti=pe.fontMetrics().num3,Wi=3*Ai),na=pe.fontMetrics().denom2);var Ua;if(Tn){var to=pe.fontMetrics().axisHeight;Ti-ar.depth-(to+.5*ti)<Wi&&(Ti+=Wi-(Ti-ar.depth-(to+.5*ti))),to-.5*ti-(hn.height-na)<Wi&&(na+=Wi-(to-.5*ti-(hn.height-na)));var No=-(to-.5*ti);Ua=jt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:hn,shift:na},{type:"elem",elem:Tn,shift:No},{type:"elem",elem:ar,shift:-Ti}]},pe)}else{var Za=Ti-ar.depth-(hn.height-na);Za<Wi&&(Ti+=.5*(Wi-Za),na+=.5*(Wi-Za)),Ua=jt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:hn,shift:na},{type:"elem",elem:ar,shift:-Ti}]},pe)}Pt=pe.havingStyle(we),Ua.height*=Pt.sizeMultiplier/pe.sizeMultiplier,Ua.depth*=Pt.sizeMultiplier/pe.sizeMultiplier;var oo;we.size===j.DISPLAY.size?oo=pe.fontMetrics().delim1:oo=pe.fontMetrics().delim2;var Do,Wa;return ie.leftDelim==null?Do=Fn(pe,["mopen"]):Do=xi.customSizedDelim(ie.leftDelim,oo,!0,pe.havingStyle(we),ie.mode,["mopen"]),ie.continued?Wa=jt.makeSpan([]):ie.rightDelim==null?Wa=Fn(pe,["mclose"]):Wa=xi.customSizedDelim(ie.rightDelim,oo,!0,pe.havingStyle(we),ie.mode,["mclose"]),jt.makeSpan(["mord"].concat(Pt.sizingClasses(pe)),[Do,jt.makeSpan(["mfrac"],[Ua]),Wa],pe)},es=function(ie,pe){var we=new Qn.MathNode("mfrac",[ni(ie.numer,pe),ni(ie.denom,pe)]);if(!ie.hasBarLine)we.setAttribute("linethickness","0px");else if(ie.barSize){var Ke=Fr(ie.barSize,pe);we.setAttribute("linethickness",Ke+"em")}var ut=yo(ie.size,pe.style);if(ut.size!==pe.style.size){we=new Qn.MathNode("mstyle",[we]);var Pt=ut.size===j.DISPLAY.size?"true":"false";we.setAttribute("displaystyle",Pt),we.setAttribute("scriptlevel","0")}if(ie.leftDelim!=null||ie.rightDelim!=null){var ar=[];if(ie.leftDelim!=null){var wr=new Qn.MathNode("mo",[new Qn.TextNode(ie.leftDelim.replace("\\",""))]);wr.setAttribute("fence","true"),ar.push(wr)}if(ar.push(we),ie.rightDelim!=null){var jr=new Qn.MathNode("mo",[new Qn.TextNode(ie.rightDelim.replace("\\",""))]);jr.setAttribute("fence","true"),ar.push(jr)}return hi(ar)}return we};Qr({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=pe[0],Pt=pe[1],ar,wr=null,jr=null,hn="auto";switch(Ke){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":ar=!0;break;case"\\\\atopfrac":ar=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":ar=!1,wr="(",jr=")";break;case"\\\\bracefrac":ar=!1,wr="\\{",jr="\\}";break;case"\\\\brackfrac":ar=!1,wr="[",jr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Ke){case"\\cfrac":case"\\dfrac":case"\\dbinom":hn="display";break;case"\\tfrac":case"\\tbinom":hn="text";break}return{type:"genfrac",mode:we.mode,continued:Ke==="\\cfrac",numer:ut,denom:Pt,hasBarLine:ar,leftDelim:wr,rightDelim:jr,size:hn,barSize:null}},htmlBuilder:fo,mathmlBuilder:es}),Qr({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(ie){var pe=ie.parser,we=ie.funcName,Ke=ie.token,ut;switch(we){case"\\over":ut="\\frac";break;case"\\choose":ut="\\binom";break;case"\\atop":ut="\\\\atopfrac";break;case"\\brace":ut="\\\\bracefrac";break;case"\\brack":ut="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:pe.mode,replaceWith:ut,token:Ke}}});var To=["display","text","script","scriptscript"],po=function(ie){var pe=null;return ie.length>0&&(pe=ie,pe=pe==="."?null:pe),pe};Qr({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(ie,pe){var we=ie.parser,Ke=pe[4],ut=pe[5],Pt=Ar(pe[0],"atom");Pt&&(Pt=sr(pe[0],"open"));var ar=Pt?po(Pt.text):null,wr=Ar(pe[1],"atom");wr&&(wr=sr(pe[1],"close"));var jr=wr?po(wr.text):null,hn=Sr(pe[2],"size"),Tn,ti=null;hn.isBlank?Tn=!0:(ti=hn.value,Tn=ti.number>0);var Ai="auto",Ti=Ar(pe[3],"ordgroup");if(Ti){if(Ti.body.length>0){var Wi=Sr(Ti.body[0],"textord");Ai=To[Number(Wi.text)]}}else Ti=Sr(pe[3],"textord"),Ai=To[Number(Ti.text)];return{type:"genfrac",mode:we.mode,numer:Ke,denom:ut,continued:!1,hasBarLine:Tn,barSize:ti,leftDelim:ar,rightDelim:jr,size:Ai}},htmlBuilder:fo,mathmlBuilder:es}),Qr({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=ie.token;return{type:"infix",mode:we.mode,replaceWith:"\\\\abovefrac",size:Sr(pe[0],"size").value,token:ut}}}),Qr({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=pe[0],Pt=d(Sr(pe[1],"infix").size),ar=pe[2],wr=Pt.number>0;return{type:"genfrac",mode:we.mode,numer:ut,denom:ar,continued:!1,hasBarLine:wr,barSize:Pt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:fo,mathmlBuilder:es});var Io=function(ie,pe){var we=pe.style,Ke,ut,Pt=Ar(ie,"supsub");Pt?(Ke=Pt.sup?zn(Pt.sup,pe.havingStyle(we.sup()),pe):zn(Pt.sub,pe.havingStyle(we.sub()),pe),ut=Sr(Pt.base,"horizBrace")):ut=Sr(ie,"horizBrace");var ar=zn(ut.base,pe.havingBaseStyle(j.DISPLAY)),wr=Vr.svgSpan(ut,pe),jr;if(ut.isOver?(jr=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ar},{type:"kern",size:.1},{type:"elem",elem:wr}]},pe),jr.children[0].children[0].children[1].classes.push("svg-align")):(jr=jt.makeVList({positionType:"bottom",positionData:ar.depth+.1+wr.height,children:[{type:"elem",elem:wr},{type:"kern",size:.1},{type:"elem",elem:ar}]},pe),jr.children[0].children[0].children[0].classes.push("svg-align")),Ke){var hn=jt.makeSpan(["mord",ut.isOver?"mover":"munder"],[jr],pe);ut.isOver?jr=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hn},{type:"kern",size:.2},{type:"elem",elem:Ke}]},pe):jr=jt.makeVList({positionType:"bottom",positionData:hn.depth+.2+Ke.height+Ke.depth,children:[{type:"elem",elem:Ke},{type:"kern",size:.2},{type:"elem",elem:hn}]},pe)}return jt.makeSpan(["mord",ut.isOver?"mover":"munder"],[jr],pe)},zo=function(ie,pe){var we=Vr.mathMLnode(ie.label);return new Qn.MathNode(ie.isOver?"mover":"munder",[ni(ie.base,pe),we])};Qr({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName;return{type:"horizBrace",mode:we.mode,label:Ke,isOver:/^\\over/.test(Ke),base:pe[0]}},htmlBuilder:Io,mathmlBuilder:zo}),Qr({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(ie,pe){var we=ie.parser,Ke=pe[1],ut=Sr(pe[0],"url").url;return we.settings.isTrusted({command:"\\href",url:ut})?{type:"href",mode:we.mode,href:ut,body:Hn(Ke)}:we.formatUnsupportedCmd("\\href")},htmlBuilder:function(ie,pe){var we=qr(ie.body,pe,!1);return jt.makeAnchor(ie.href,[],we,pe)},mathmlBuilder:function(ie,pe){var we=Ui(ie.body,pe);return we instanceof Pi||(we=new Pi("mrow",[we])),we.setAttribute("href",ie.href),we}}),Qr({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(ie,pe){var we=ie.parser,Ke=Sr(pe[0],"url").url;if(!we.settings.isTrusted({command:"\\url",url:Ke}))return we.formatUnsupportedCmd("\\url");for(var ut=[],Pt=0;Pt<Ke.length;Pt++){var ar=Ke[Pt];ar==="~"&&(ar="\\textasciitilde"),ut.push({type:"textord",mode:"text",text:ar})}var wr={type:"text",mode:we.mode,font:"\\texttt",body:ut};return{type:"href",mode:we.mode,href:Ke,body:Hn(wr)}}}),Qr({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(ie,pe){var we=ie.parser;return{type:"htmlmathml",mode:we.mode,html:Hn(pe[0]),mathml:Hn(pe[1])}},htmlBuilder:function(ie,pe){var we=qr(ie.html,pe,!1);return jt.makeFragment(we)},mathmlBuilder:function(ie,pe){return Ui(ie.mathml,pe)}});var ns=function(ie){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(ie))return{number:+ie,unit:"bp"};var pe=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(ie);if(!pe)throw new h("Invalid size: '"+ie+"' in \\includegraphics");var we={number:+(pe[1]+pe[2]),unit:pe[3]};if(!Cr(we))throw new h("Invalid unit: '"+we.unit+"' in \\includegraphics.");return we};Qr({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(ie,pe,we){var Ke=ie.parser,ut={number:0,unit:"em"},Pt={number:.9,unit:"em"},ar={number:0,unit:"em"},wr="";if(we[0])for(var jr=Sr(we[0],"raw").string,hn=jr.split(","),Tn=0;Tn<hn.length;Tn++){var ti=hn[Tn].split("=");if(ti.length===2){var Ai=ti[1].trim();switch(ti[0].trim()){case"alt":wr=Ai;break;case"width":ut=ns(Ai);break;case"height":Pt=ns(Ai);break;case"totalheight":ar=ns(Ai);break;default:throw new h("Invalid key: '"+ti[0]+"' in \\includegraphics.")}}}var Ti=Sr(pe[0],"url").url;return wr===""&&(wr=Ti,wr=wr.replace(/^.*[\\/]/,""),wr=wr.substring(0,wr.lastIndexOf("."))),Ke.settings.isTrusted({command:"\\includegraphics",url:Ti})?{type:"includegraphics",mode:Ke.mode,alt:wr,width:ut,height:Pt,totalheight:ar,src:Ti}:Ke.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(ie,pe){var we=Fr(ie.height,pe),Ke=0;ie.totalheight.number>0&&(Ke=Fr(ie.totalheight,pe)-we,Ke=Number(Ke.toFixed(2)));var ut=0;ie.width.number>0&&(ut=Fr(ie.width,pe));var Pt={height:we+Ke+"em"};ut>0&&(Pt.width=ut+"em"),Ke>0&&(Pt.verticalAlign=-Ke+"em");var ar=new Ue(ie.src,ie.alt,Pt);return ar.height=we,ar.depth=Ke,ar},mathmlBuilder:function(ie,pe){var we=new Qn.MathNode("mglyph",[]);we.setAttribute("alt",ie.alt);var Ke=Fr(ie.height,pe),ut=0;if(ie.totalheight.number>0&&(ut=Fr(ie.totalheight,pe)-Ke,ut=ut.toFixed(2),we.setAttribute("valign","-"+ut+"em")),we.setAttribute("height",Ke+ut+"em"),ie.width.number>0){var Pt=Fr(ie.width,pe);we.setAttribute("width",Pt+"em")}return we.setAttribute("src",ie.src),we}}),Qr({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=Sr(pe[0],"size");if(we.settings.strict){var Pt=Ke[1]==="m",ar=ut.value.unit==="mu";Pt?(ar||we.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ke+" supports only mu units, "+("not "+ut.value.unit+" units")),we.mode!=="math"&&we.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ke+" works only in math mode")):ar&&we.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Ke+" doesn't support mu units")}return{type:"kern",mode:we.mode,dimension:ut.value}},htmlBuilder:function(ie,pe){return jt.makeGlue(ie.dimension,pe)},mathmlBuilder:function(ie,pe){var we=Fr(ie.dimension,pe);return new Qn.SpaceNode(we)}}),Qr({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=pe[0];return{type:"lap",mode:we.mode,alignment:Ke.slice(5),body:ut}},htmlBuilder:function(ie,pe){var we;ie.alignment==="clap"?(we=jt.makeSpan([],[zn(ie.body,pe)]),we=jt.makeSpan(["inner"],[we],pe)):we=jt.makeSpan(["inner"],[zn(ie.body,pe)]);var Ke=jt.makeSpan(["fix"],[]),ut=jt.makeSpan([ie.alignment],[we,Ke],pe),Pt=jt.makeSpan(["strut"]);return Pt.style.height=ut.height+ut.depth+"em",Pt.style.verticalAlign=-ut.depth+"em",ut.children.unshift(Pt),ut=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ut}]},pe),jt.makeSpan(["mord"],[ut],pe)},mathmlBuilder:function(ie,pe){var we=new Qn.MathNode("mpadded",[ni(ie.body,pe)]);if(ie.alignment!=="rlap"){var Ke=ie.alignment==="llap"?"-1":"-0.5";we.setAttribute("lspace",Ke+"width")}return we.setAttribute("width","0px"),we}}),Qr({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ie,pe){var we=ie.funcName,Ke=ie.parser,ut=Ke.mode;Ke.switchMode("math");var Pt=we==="\\("?"\\)":"$",ar=Ke.parseExpression(!1,Pt);return Ke.expect(Pt),Ke.switchMode(ut),{type:"styling",mode:Ke.mode,style:"text",body:ar}}}),Qr({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ie,pe){throw new h("Mismatched "+ie.funcName)}});var Po=function(ie,pe){switch(pe.style.size){case j.DISPLAY.size:return ie.display;case j.TEXT.size:return ie.text;case j.SCRIPT.size:return ie.script;case j.SCRIPTSCRIPT.size:return ie.scriptscript;default:return ie.text}};Qr({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(ie,pe){var we=ie.parser;return{type:"mathchoice",mode:we.mode,display:Hn(pe[0]),text:Hn(pe[1]),script:Hn(pe[2]),scriptscript:Hn(pe[3])}},htmlBuilder:function(ie,pe){var we=Po(ie,pe),Ke=qr(we,pe,!1);return jt.makeFragment(Ke)},mathmlBuilder:function(ie,pe){var we=Po(ie,pe);return Ui(we,pe)}});var Aa=function(ie,pe,we,Ke,ut,Pt,ar){ie=jt.makeSpan([],[ie]);var wr,jr;if(pe){var hn=zn(pe,Ke.havingStyle(ut.sup()),Ke);jr={elem:hn,kern:Math.max(Ke.fontMetrics().bigOpSpacing1,Ke.fontMetrics().bigOpSpacing3-hn.depth)}}if(we){var Tn=zn(we,Ke.havingStyle(ut.sub()),Ke);wr={elem:Tn,kern:Math.max(Ke.fontMetrics().bigOpSpacing2,Ke.fontMetrics().bigOpSpacing4-Tn.height)}}var ti;if(jr&&wr){var Ai=Ke.fontMetrics().bigOpSpacing5+wr.elem.height+wr.elem.depth+wr.kern+ie.depth+ar;ti=jt.makeVList({positionType:"bottom",positionData:Ai,children:[{type:"kern",size:Ke.fontMetrics().bigOpSpacing5},{type:"elem",elem:wr.elem,marginLeft:-Pt+"em"},{type:"kern",size:wr.kern},{type:"elem",elem:ie},{type:"kern",size:jr.kern},{type:"elem",elem:jr.elem,marginLeft:Pt+"em"},{type:"kern",size:Ke.fontMetrics().bigOpSpacing5}]},Ke)}else if(wr){var Ti=ie.height-ar;ti=jt.makeVList({positionType:"top",positionData:Ti,children:[{type:"kern",size:Ke.fontMetrics().bigOpSpacing5},{type:"elem",elem:wr.elem,marginLeft:-Pt+"em"},{type:"kern",size:wr.kern},{type:"elem",elem:ie}]},Ke)}else if(jr){var Wi=ie.depth+ar;ti=jt.makeVList({positionType:"bottom",positionData:Wi,children:[{type:"elem",elem:ie},{type:"kern",size:jr.kern},{type:"elem",elem:jr.elem,marginLeft:Pt+"em"},{type:"kern",size:Ke.fontMetrics().bigOpSpacing5}]},Ke)}else return ie;return jt.makeSpan(["mop","op-limits"],[ti],Ke)},Ja=["\\smallint"],Ba=function(ie,pe){var we,Ke,ut=!1,Pt,ar=Ar(ie,"supsub");ar?(we=ar.sup,Ke=ar.sub,Pt=Sr(ar.base,"op"),ut=!0):Pt=Sr(ie,"op");var wr=pe.style,jr=!1;wr.size===j.DISPLAY.size&&Pt.symbol&&!y.contains(Ja,Pt.name)&&(jr=!0);var hn;if(Pt.symbol){var Tn=jr?"Size2-Regular":"Size1-Regular",ti="";if((Pt.name==="\\oiint"||Pt.name==="\\oiiint")&&(ti=Pt.name.substr(1),Pt.name=ti==="oiint"?"\\iint":"\\iiint"),hn=jt.makeSymbol(Pt.name,Tn,"math",pe,["mop","op-symbol",jr?"large-op":"small-op"]),ti.length>0){var Ai=hn.italic,Ti=jt.staticSvg(ti+"Size"+(jr?"2":"1"),pe);hn=jt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:hn,shift:0},{type:"elem",elem:Ti,shift:jr?.08:0}]},pe),Pt.name="\\"+ti,hn.classes.unshift("mop"),hn.italic=Ai}}else if(Pt.body){var Wi=qr(Pt.body,pe,!0);Wi.length===1&&Wi[0]instanceof Ne?(hn=Wi[0],hn.classes[0]="mop"):hn=jt.makeSpan(["mop"],jt.tryCombineChars(Wi),pe)}else{for(var na=[],Ua=1;Ua<Pt.name.length;Ua++)na.push(jt.mathsym(Pt.name[Ua],Pt.mode,pe));hn=jt.makeSpan(["mop"],na,pe)}var Za=0,to=0;return(hn instanceof Ne||Pt.name==="\\oiint"||Pt.name==="\\oiiint")&&!Pt.suppressBaseShift&&(Za=(hn.height-hn.depth)/2-pe.fontMetrics().axisHeight,to=hn.italic),ut?Aa(hn,we,Ke,pe,wr,to,Za):(Za&&(hn.style.position="relative",hn.style.top=Za+"em"),hn)},$i=function(ie,pe){var we;if(ie.symbol)we=new Pi("mo",[Xr(ie.name,ie.mode)]),y.contains(Ja,ie.name)&&we.setAttribute("largeop","false");else if(ie.body)we=new Pi("mo",bi(ie.body,pe));else{we=new Pi("mi",[new Fi(ie.name.slice(1))]);var Ke=new Pi("mo",[Xr("\u2061","text")]);ie.parentIsSupSub?we=new Pi("mo",[we,Ke]):we=vi([we,Ke])}return we},uo={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Qr({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(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=Ke;return ut.length===1&&(ut=uo[ut]),{type:"op",mode:we.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:ut}},htmlBuilder:Ba,mathmlBuilder:$i}),Qr({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(ie,pe){var we=ie.parser,Ke=pe[0];return{type:"op",mode:we.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Hn(Ke)}},htmlBuilder:Ba,mathmlBuilder:$i});var Ha={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Qr({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(ie){var pe=ie.parser,we=ie.funcName;return{type:"op",mode:pe.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:we}},htmlBuilder:Ba,mathmlBuilder:$i}),Qr({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(ie){var pe=ie.parser,we=ie.funcName;return{type:"op",mode:pe.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:we}},htmlBuilder:Ba,mathmlBuilder:$i}),Qr({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(ie){var pe=ie.parser,we=ie.funcName,Ke=we;return Ke.length===1&&(Ke=Ha[Ke]),{type:"op",mode:pe.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Ke}},htmlBuilder:Ba,mathmlBuilder:$i});var Yi=function(ie,pe){var we,Ke,ut=!1,Pt,ar=Ar(ie,"supsub");ar?(we=ar.sup,Ke=ar.sub,Pt=Sr(ar.base,"operatorname"),ut=!0):Pt=Sr(ie,"operatorname");var wr;if(Pt.body.length>0){for(var jr=Pt.body.map(function(Ai){var Ti=Ai.text;return typeof Ti=="string"?{type:"textord",mode:Ai.mode,text:Ti}:Ai}),hn=qr(jr,pe.withFont("mathrm"),!0),Tn=0;Tn<hn.length;Tn++){var ti=hn[Tn];ti instanceof Ne&&(ti.text=ti.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}wr=jt.makeSpan(["mop"],hn,pe)}else wr=jt.makeSpan(["mop"],[],pe);return ut?Aa(wr,we,Ke,pe,pe.style,0,0):wr},Qa=function(ie,pe){for(var we=bi(ie.body,pe.withFont("mathrm")),Ke=!0,ut=0;ut<we.length;ut++){var Pt=we[ut];if(!(Pt instanceof Qn.SpaceNode))if(Pt instanceof Qn.MathNode)switch(Pt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var ar=Pt.children[0];Pt.children.length===1&&ar instanceof Qn.TextNode?ar.text=ar.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):Ke=!1;break}default:Ke=!1}else Ke=!1}if(Ke){var wr=we.map(function(Tn){return Tn.toText()}).join("");we=[new Qn.TextNode(wr)]}var jr=new Qn.MathNode("mi",we);jr.setAttribute("mathvariant","normal");var hn=new Qn.MathNode("mo",[Xr("\u2061","text")]);return ie.parentIsSupSub?new Qn.MathNode("mo",[jr,hn]):Qn.newDocumentFragment([jr,hn])};Qr({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=pe[0];return{type:"operatorname",mode:we.mode,body:Hn(ut),alwaysHandleSupSub:Ke==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Yi,mathmlBuilder:Qa}),Vn({type:"ordgroup",htmlBuilder:function(ie,pe){return ie.semisimple?jt.makeFragment(qr(ie.body,pe,!1)):jt.makeSpan(["mord"],qr(ie.body,pe,!0),pe)},mathmlBuilder:function(ie,pe){return Ui(ie.body,pe,!0)}}),Qr({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(ie,pe){var we=ie.parser,Ke=pe[0];return{type:"overline",mode:we.mode,body:Ke}},htmlBuilder:function(ie,pe){var we=zn(ie.body,pe.havingCrampedStyle()),Ke=jt.makeLineSpan("overline-line",pe),ut=pe.fontMetrics().defaultRuleThickness,Pt=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:we},{type:"kern",size:3*ut},{type:"elem",elem:Ke},{type:"kern",size:ut}]},pe);return jt.makeSpan(["mord","overline"],[Pt],pe)},mathmlBuilder:function(ie,pe){var we=new Qn.MathNode("mo",[new Qn.TextNode("\u203E")]);we.setAttribute("stretchy","true");var Ke=new Qn.MathNode("mover",[ni(ie.body,pe),we]);return Ke.setAttribute("accent","true"),Ke}}),Qr({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(ie,pe){var we=ie.parser,Ke=pe[0];return{type:"phantom",mode:we.mode,body:Hn(Ke)}},htmlBuilder:function(ie,pe){var we=qr(ie.body,pe.withPhantom(),!1);return jt.makeFragment(we)},mathmlBuilder:function(ie,pe){var we=bi(ie.body,pe);return new Qn.MathNode("mphantom",we)}}),Qr({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ie,pe){var we=ie.parser,Ke=pe[0];return{type:"hphantom",mode:we.mode,body:Ke}},htmlBuilder:function(ie,pe){var we=jt.makeSpan([],[zn(ie.body,pe.withPhantom())]);if(we.height=0,we.depth=0,we.children)for(var Ke=0;Ke<we.children.length;Ke++)we.children[Ke].height=0,we.children[Ke].depth=0;return we=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:we}]},pe),jt.makeSpan(["mord"],[we],pe)},mathmlBuilder:function(ie,pe){var we=bi(Hn(ie.body),pe),Ke=new Qn.MathNode("mphantom",we),ut=new Qn.MathNode("mpadded",[Ke]);return ut.setAttribute("height","0px"),ut.setAttribute("depth","0px"),ut}}),Qr({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ie,pe){var we=ie.parser,Ke=pe[0];return{type:"vphantom",mode:we.mode,body:Ke}},htmlBuilder:function(ie,pe){var we=jt.makeSpan(["inner"],[zn(ie.body,pe.withPhantom())]),Ke=jt.makeSpan(["fix"],[]);return jt.makeSpan(["mord","rlap"],[we,Ke],pe)},mathmlBuilder:function(ie,pe){var we=bi(Hn(ie.body),pe),Ke=new Qn.MathNode("mphantom",we),ut=new Qn.MathNode("mpadded",[Ke]);return ut.setAttribute("width","0px"),ut}}),Qr({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(ie,pe){var we=ie.parser,Ke=Sr(pe[0],"size").value,ut=pe[1];return{type:"raisebox",mode:we.mode,dy:Ke,body:ut}},htmlBuilder:function(ie,pe){var we=zn(ie.body,pe),Ke=Fr(ie.dy,pe);return jt.makeVList({positionType:"shift",positionData:-Ke,children:[{type:"elem",elem:we}]},pe)},mathmlBuilder:function(ie,pe){var we=new Qn.MathNode("mpadded",[ni(ie.body,pe)]),Ke=ie.dy.number+ie.dy.unit;return we.setAttribute("voffset",Ke),we}}),Qr({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(ie,pe,we){var Ke=ie.parser,ut=we[0],Pt=Sr(pe[0],"size"),ar=Sr(pe[1],"size");return{type:"rule",mode:Ke.mode,shift:ut&&Sr(ut,"size").value,width:Pt.value,height:ar.value}},htmlBuilder:function(ie,pe){var we=jt.makeSpan(["mord","rule"],[],pe),Ke=Fr(ie.width,pe),ut=Fr(ie.height,pe),Pt=ie.shift?Fr(ie.shift,pe):0;return we.style.borderRightWidth=Ke+"em",we.style.borderTopWidth=ut+"em",we.style.bottom=Pt+"em",we.width=Ke,we.height=ut+Pt,we.depth=-Pt,we.maxFontSize=ut*1.125*pe.sizeMultiplier,we},mathmlBuilder:function(ie,pe){var we=Fr(ie.width,pe),Ke=Fr(ie.height,pe),ut=ie.shift?Fr(ie.shift,pe):0,Pt=pe.color&&pe.getColor()||"black",ar=new Qn.MathNode("mspace");ar.setAttribute("mathbackground",Pt),ar.setAttribute("width",we+"em"),ar.setAttribute("height",Ke+"em");var wr=new Qn.MathNode("mpadded",[ar]);return ut>=0?wr.setAttribute("height","+"+ut+"em"):(wr.setAttribute("height",ut+"em"),wr.setAttribute("depth","+"+-ut+"em")),wr.setAttribute("voffset",ut+"em"),wr}});function Mo(dt,ie,pe){for(var we=qr(dt,ie,!1),Ke=ie.sizeMultiplier/pe.sizeMultiplier,ut=0;ut<we.length;ut++){var Pt=we[ut].classes.indexOf("sizing");Pt<0?Array.prototype.push.apply(we[ut].classes,ie.sizingClasses(pe)):we[ut].classes[Pt+1]==="reset-size"+ie.size&&(we[ut].classes[Pt+1]="reset-size"+pe.size),we[ut].height*=Ke,we[ut].depth*=Ke}return jt.makeFragment(we)}var Qo=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Jo=function(ie,pe){var we=pe.havingSize(ie.size);return Mo(ie.body,we,pe)};Qr({type:"sizing",names:Qo,props:{numArgs:0,allowedInText:!0},handler:function(ie,pe){var we=ie.breakOnTokenText,Ke=ie.funcName,ut=ie.parser,Pt=ut.parseExpression(!1,we);return{type:"sizing",mode:ut.mode,size:Qo.indexOf(Ke)+1,body:Pt}},htmlBuilder:Jo,mathmlBuilder:function(ie,pe){var we=pe.havingSize(ie.size),Ke=bi(ie.body,we),ut=new Qn.MathNode("mstyle",Ke);return ut.setAttribute("mathsize",we.sizeMultiplier+"em"),ut}}),Qr({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(ie,pe,we){var Ke=ie.parser,ut=!1,Pt=!1,ar=we[0]&&Sr(we[0],"ordgroup");if(ar)for(var wr="",jr=0;jr<ar.body.length;++jr){var hn=ar.body[jr];if(wr=hn.text,wr==="t")ut=!0;else if(wr==="b")Pt=!0;else{ut=!1,Pt=!1;break}}else ut=!0,Pt=!0;var Tn=pe[0];return{type:"smash",mode:Ke.mode,body:Tn,smashHeight:ut,smashDepth:Pt}},htmlBuilder:function(ie,pe){var we=jt.makeSpan([],[zn(ie.body,pe)]);if(!ie.smashHeight&&!ie.smashDepth)return we;if(ie.smashHeight&&(we.height=0,we.children))for(var Ke=0;Ke<we.children.length;Ke++)we.children[Ke].height=0;if(ie.smashDepth&&(we.depth=0,we.children))for(var ut=0;ut<we.children.length;ut++)we.children[ut].depth=0;var Pt=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:we}]},pe);return jt.makeSpan(["mord"],[Pt],pe)},mathmlBuilder:function(ie,pe){var we=new Qn.MathNode("mpadded",[ni(ie.body,pe)]);return ie.smashHeight&&we.setAttribute("height","0px"),ie.smashDepth&&we.setAttribute("depth","0px"),we}}),Qr({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(ie,pe,we){var Ke=ie.parser,ut=we[0],Pt=pe[0];return{type:"sqrt",mode:Ke.mode,body:Pt,index:ut}},htmlBuilder:function(ie,pe){var we=zn(ie.body,pe.havingCrampedStyle());we.height===0&&(we.height=pe.fontMetrics().xHeight),we=jt.wrapFragment(we,pe);var Ke=pe.fontMetrics(),ut=Ke.defaultRuleThickness,Pt=ut;pe.style.id<j.TEXT.id&&(Pt=pe.fontMetrics().xHeight);var ar=ut+Pt/4,wr=we.height+we.depth+ar+ut,jr=xi.sqrtImage(wr,pe),hn=jr.span,Tn=jr.ruleWidth,ti=jr.advanceWidth,Ai=hn.height-Tn;Ai>we.height+we.depth+ar&&(ar=(ar+Ai-we.height-we.depth)/2);var Ti=hn.height-we.height-ar-Tn;we.style.paddingLeft=ti+"em";var Wi=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:we,wrapperClasses:["svg-align"]},{type:"kern",size:-(we.height+Ti)},{type:"elem",elem:hn},{type:"kern",size:Tn}]},pe);if(ie.index){var na=pe.havingStyle(j.SCRIPTSCRIPT),Ua=zn(ie.index,na,pe),Za=.6*(Wi.height-Wi.depth),to=jt.makeVList({positionType:"shift",positionData:-Za,children:[{type:"elem",elem:Ua}]},pe),No=jt.makeSpan(["root"],[to]);return jt.makeSpan(["mord","sqrt"],[No,Wi],pe)}else return jt.makeSpan(["mord","sqrt"],[Wi],pe)},mathmlBuilder:function(ie,pe){var we=ie.body,Ke=ie.index;return Ke?new Qn.MathNode("mroot",[ni(we,pe),ni(Ke,pe)]):new Qn.MathNode("msqrt",[ni(we,pe)])}});var ua={display:j.DISPLAY,text:j.TEXT,script:j.SCRIPT,scriptscript:j.SCRIPTSCRIPT};Qr({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(ie,pe){var we=ie.breakOnTokenText,Ke=ie.funcName,ut=ie.parser,Pt=ut.parseExpression(!0,we),ar=Ke.slice(1,Ke.length-5);return{type:"styling",mode:ut.mode,style:ar,body:Pt}},htmlBuilder:function(ie,pe){var we=ua[ie.style],Ke=pe.havingStyle(we).withFont("");return Mo(ie.body,Ke,pe)},mathmlBuilder:function(ie,pe){var we=ua[ie.style],Ke=pe.havingStyle(we),ut=bi(ie.body,Ke),Pt=new Qn.MathNode("mstyle",ut),ar={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},wr=ar[ie.style];return Pt.setAttribute("scriptlevel",wr[0]),Pt.setAttribute("displaystyle",wr[1]),Pt}});var Ya=function(ie,pe){var we=ie.base;if(we)if(we.type==="op"){var Ke=we.limits&&(pe.style.size===j.DISPLAY.size||we.alwaysHandleSupSub);return Ke?Ba:null}else if(we.type==="operatorname"){var ut=we.alwaysHandleSupSub&&(pe.style.size===j.DISPLAY.size||we.limits);return ut?Yi:null}else{if(we.type==="accent")return y.isCharacterBox(we.base)?Kr:null;if(we.type==="horizBrace"){var Pt=!ie.sub;return Pt===we.isOver?Io:null}else return null}else return null};Vn({type:"supsub",htmlBuilder:function(ie,pe){var we=Ya(ie,pe);if(we)return we(ie,pe);var Ke=ie.base,ut=ie.sup,Pt=ie.sub,ar=zn(Ke,pe),wr,jr,hn=pe.fontMetrics(),Tn=0,ti=0,Ai=Ke&&y.isCharacterBox(Ke);if(ut){var Ti=pe.havingStyle(pe.style.sup());wr=zn(ut,Ti,pe),Ai||(Tn=ar.height-Ti.fontMetrics().supDrop*Ti.sizeMultiplier/pe.sizeMultiplier)}if(Pt){var Wi=pe.havingStyle(pe.style.sub());jr=zn(Pt,Wi,pe),Ai||(ti=ar.depth+Wi.fontMetrics().subDrop*Wi.sizeMultiplier/pe.sizeMultiplier)}var na;pe.style===j.DISPLAY?na=hn.sup1:pe.style.cramped?na=hn.sup3:na=hn.sup2;var Ua=pe.sizeMultiplier,Za=.5/hn.ptPerEm/Ua+"em",to=null;if(jr){var No=ie.base&&ie.base.type==="op"&&ie.base.name&&(ie.base.name==="\\oiint"||ie.base.name==="\\oiiint");(ar instanceof Ne||No)&&(to=-ar.italic+"em")}var oo;if(wr&&jr){Tn=Math.max(Tn,na,wr.depth+.25*hn.xHeight),ti=Math.max(ti,hn.sub2);var Do=hn.defaultRuleThickness,Wa=4*Do;if(Tn-wr.depth-(jr.height-ti)<Wa){ti=Wa-(Tn-wr.depth)+jr.height;var Ro=.8*hn.xHeight-(Tn-wr.depth);Ro>0&&(Tn+=Ro,ti-=Ro)}var ls=[{type:"elem",elem:jr,shift:ti,marginRight:Za,marginLeft:to},{type:"elem",elem:wr,shift:-Tn,marginRight:Za}];oo=jt.makeVList({positionType:"individualShift",children:ls},pe)}else if(jr){ti=Math.max(ti,hn.sub1,jr.height-.8*hn.xHeight);var wo=[{type:"elem",elem:jr,marginLeft:to,marginRight:Za}];oo=jt.makeVList({positionType:"shift",positionData:ti,children:wo},pe)}else if(wr)Tn=Math.max(Tn,na,wr.depth+.25*hn.xHeight),oo=jt.makeVList({positionType:"shift",positionData:-Tn,children:[{type:"elem",elem:wr,marginRight:Za}]},pe);else throw new Error("supsub must have either sup or sub.");var So=On(ar,"right")||"mord";return jt.makeSpan([So],[ar,jt.makeSpan(["msupsub"],[oo])],pe)},mathmlBuilder:function(ie,pe){var we=!1,Ke,ut,Pt=Ar(ie.base,"horizBrace");Pt&&(ut=!!ie.sup,ut===Pt.isOver&&(we=!0,Ke=Pt.isOver)),ie.base&&(ie.base.type==="op"||ie.base.type==="operatorname")&&(ie.base.parentIsSupSub=!0);var ar=[ni(ie.base,pe)];ie.sub&&ar.push(ni(ie.sub,pe)),ie.sup&&ar.push(ni(ie.sup,pe));var wr;if(we)wr=Ke?"mover":"munder";else if(ie.sub)if(ie.sup){var Tn=ie.base;Tn&&Tn.type==="op"&&Tn.limits&&pe.style===j.DISPLAY||Tn&&Tn.type==="operatorname"&&Tn.alwaysHandleSupSub&&(pe.style===j.DISPLAY||Tn.limits)?wr="munderover":wr="msubsup"}else{var hn=ie.base;hn&&hn.type==="op"&&hn.limits&&(pe.style===j.DISPLAY||hn.alwaysHandleSupSub)||hn&&hn.type==="operatorname"&&hn.alwaysHandleSupSub&&(hn.limits||pe.style===j.DISPLAY)?wr="munder":wr="msub"}else{var jr=ie.base;jr&&jr.type==="op"&&jr.limits&&(pe.style===j.DISPLAY||jr.alwaysHandleSupSub)||jr&&jr.type==="operatorname"&&jr.alwaysHandleSupSub&&(jr.limits||pe.style===j.DISPLAY)?wr="mover":wr="msup"}var ti=new Qn.MathNode(wr,ar);return ti}}),Vn({type:"atom",htmlBuilder:function(ie,pe){return jt.mathsym(ie.text,ie.mode,pe,["m"+ie.family])},mathmlBuilder:function(ie,pe){var we=new Qn.MathNode("mo",[Xr(ie.text,ie.mode)]);if(ie.family==="bin"){var Ke=Ri(ie,pe);Ke==="bold-italic"&&we.setAttribute("mathvariant",Ke)}else ie.family==="punct"?we.setAttribute("separator","true"):(ie.family==="open"||ie.family==="close")&&we.setAttribute("stretchy","false");return we}});var lo={mi:"italic",mn:"normal",mtext:"normal"};Vn({type:"mathord",htmlBuilder:function(ie,pe){return jt.makeOrd(ie,pe,"mathord")},mathmlBuilder:function(ie,pe){var we=new Qn.MathNode("mi",[Xr(ie.text,ie.mode,pe)]),Ke=Ri(ie,pe)||"italic";return Ke!==lo[we.type]&&we.setAttribute("mathvariant",Ke),we}}),Vn({type:"textord",htmlBuilder:function(ie,pe){return jt.makeOrd(ie,pe,"textord")},mathmlBuilder:function(ie,pe){var we=Xr(ie.text,ie.mode,pe),Ke=Ri(ie,pe)||"normal",ut;return ie.mode==="text"?ut=new Qn.MathNode("mtext",[we]):/[0-9]/.test(ie.text)?ut=new Qn.MathNode("mn",[we]):ie.text==="\\prime"?ut=new Qn.MathNode("mo",[we]):ut=new Qn.MathNode("mi",[we]),Ke!==lo[ut.type]&&ut.setAttribute("mathvariant",Ke),ut}});var Ci={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Sa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Vn({type:"spacing",htmlBuilder:function(ie,pe){if(Sa.hasOwnProperty(ie.text)){var we=Sa[ie.text].className||"";if(ie.mode==="text"){var Ke=jt.makeOrd(ie,pe,"textord");return Ke.classes.push(we),Ke}else return jt.makeSpan(["mspace",we],[jt.mathsym(ie.text,ie.mode,pe)],pe)}else{if(Ci.hasOwnProperty(ie.text))return jt.makeSpan(["mspace",Ci[ie.text]],[],pe);throw new h('Unknown type of space "'+ie.text+'"')}},mathmlBuilder:function(ie,pe){var we;if(Sa.hasOwnProperty(ie.text))we=new Qn.MathNode("mtext",[new Qn.TextNode("\xA0")]);else{if(Ci.hasOwnProperty(ie.text))return new Qn.MathNode("mspace");throw new h('Unknown type of space "'+ie.text+'"')}return we}});var bo=function(){var ie=new Qn.MathNode("mtd",[]);return ie.setAttribute("width","50%"),ie};Vn({type:"tag",mathmlBuilder:function(ie,pe){var we=new Qn.MathNode("mtable",[new Qn.MathNode("mtr",[bo(),new Qn.MathNode("mtd",[Ui(ie.body,pe)]),bo(),new Qn.MathNode("mtd",[Ui(ie.tag,pe)])])]);return we.setAttribute("width","100%"),we}});var Fo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Oo={"\\textbf":"textbf","\\textmd":"textmd"},gs={"\\textit":"textit","\\textup":"textup"},ds=function(ie,pe){var we=ie.font;return we?Fo[we]?pe.withTextFontFamily(Fo[we]):Oo[we]?pe.withTextFontWeight(Oo[we]):pe.withTextFontShape(gs[we]):pe};Qr({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(ie,pe){var we=ie.parser,Ke=ie.funcName,ut=pe[0];return{type:"text",mode:we.mode,body:Hn(ut),font:Ke}},htmlBuilder:function(ie,pe){var we=ds(ie,pe),Ke=qr(ie.body,we,!0);return jt.makeSpan(["mord","text"],jt.tryCombineChars(Ke),we)},mathmlBuilder:function(ie,pe){var we=ds(ie,pe);return Ui(ie.body,we)}}),Qr({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(ie,pe){var we=ie.parser;return{type:"underline",mode:we.mode,body:pe[0]}},htmlBuilder:function(ie,pe){var we=zn(ie.body,pe),Ke=jt.makeLineSpan("underline-line",pe),ut=pe.fontMetrics().defaultRuleThickness,Pt=jt.makeVList({positionType:"top",positionData:we.height,children:[{type:"kern",size:ut},{type:"elem",elem:Ke},{type:"kern",size:3*ut},{type:"elem",elem:we}]},pe);return jt.makeSpan(["mord","underline"],[Pt],pe)},mathmlBuilder:function(ie,pe){var we=new Qn.MathNode("mo",[new Qn.TextNode("\u203E")]);we.setAttribute("stretchy","true");var Ke=new Qn.MathNode("munder",[ni(ie.body,pe),we]);return Ke.setAttribute("accentunder","true"),Ke}}),Qr({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(ie,pe,we){throw new h("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(ie,pe){for(var we=hs(ie),Ke=[],ut=pe.havingStyle(pe.style.text()),Pt=0;Pt<we.length;Pt++){var ar=we[Pt];ar==="~"&&(ar="\\textasciitilde"),Ke.push(jt.makeSymbol(ar,"Typewriter-Regular",ie.mode,ut,["mord","texttt"]))}return jt.makeSpan(["mord","text"].concat(ut.sizingClasses(pe)),jt.tryCombineChars(Ke),ut)},mathmlBuilder:function(ie,pe){var we=new Qn.TextNode(hs(ie)),Ke=new Qn.MathNode("mtext",[we]);return Ke.setAttribute("mathvariant","monospace"),Ke}});var hs=function(ie){return ie.body.replace(/ /g,ie.star?"\u2423":"\xA0")},ss=rn,$a=ss,Na=`[ \r
|
|
|
]`,Vo="\\\\[a-zA-Z@]+",Zo="\\\\[^\uD800-\uDFFF]",Da=""+Vo+Na+"*",Ka=new RegExp("^("+Vo+")"+Na+"*$"),Pa="[\u0300-\u036F]",Xo=new RegExp(Pa+"+$"),Uo="("+Na+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Pa+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Pa+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Da)+("|"+Zo+")"),Lo=function(){function dt(pe,we){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=pe,this.settings=we,this.tokenRegex=new RegExp(Uo,"g"),this.catcodes={"%":14}}var ie=dt.prototype;return ie.setCatcode=function(we,Ke){this.catcodes[we]=Ke},ie.lex=function(){var we=this.input,Ke=this.tokenRegex.lastIndex;if(Ke===we.length)return new p("EOF",new g(this,Ke,Ke));var ut=this.tokenRegex.exec(we);if(ut===null||ut.index!==Ke)throw new h("Unexpected character: '"+we[Ke]+"'",new p(we[Ke],new g(this,Ke,Ke+1)));var Pt=ut[2]||" ";if(this.catcodes[Pt]===14){var ar=we.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return ar===-1?(this.tokenRegex.lastIndex=we.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=ar+1,this.lex()}var wr=Pt.match(Ka);return wr&&(Pt=wr[1]),new p(Pt,new g(this,Ke,this.tokenRegex.lastIndex))},dt}(),Yo=function(){function dt(pe,we){pe===void 0&&(pe={}),we===void 0&&(we={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=we,this.builtins=pe,this.undefStack=[]}var ie=dt.prototype;return ie.beginGroup=function(){this.undefStack.push({})},ie.endGroup=function(){if(this.undefStack.length===0)throw new h("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var we=this.undefStack.pop();for(var Ke in we)we.hasOwnProperty(Ke)&&(we[Ke]===void 0?delete this.current[Ke]:this.current[Ke]=we[Ke])},ie.has=function(we){return this.current.hasOwnProperty(we)||this.builtins.hasOwnProperty(we)},ie.get=function(we){return this.current.hasOwnProperty(we)?this.current[we]:this.builtins[we]},ie.set=function(we,Ke,ut){if(ut===void 0&&(ut=!1),ut){for(var Pt=0;Pt<this.undefStack.length;Pt++)delete this.undefStack[Pt][we];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][we]=Ke)}else{var ar=this.undefStack[this.undefStack.length-1];ar&&!ar.hasOwnProperty(we)&&(ar[we]=this.current[we])}this.current[we]=Ke},dt}(),Ko={},jo=Ko;function Or(dt,ie){Ko[dt]=ie}Or("\\@firstoftwo",function(dt){var ie=dt.consumeArgs(2);return{tokens:ie[0],numArgs:0}}),Or("\\@secondoftwo",function(dt){var ie=dt.consumeArgs(2);return{tokens:ie[1],numArgs:0}}),Or("\\@ifnextchar",function(dt){var ie=dt.consumeArgs(3),pe=dt.future();return ie[0].length===1&&ie[0][0].text===pe.text?{tokens:ie[1],numArgs:0}:{tokens:ie[2],numArgs:0}}),Or("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Or("\\TextOrMath",function(dt){var ie=dt.consumeArgs(2);return dt.mode==="text"?{tokens:ie[0],numArgs:0}:{tokens:ie[1],numArgs:0}});var ui={"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};Or("\\char",function(dt){var ie=dt.popToken(),pe,we="";if(ie.text==="'")pe=8,ie=dt.popToken();else if(ie.text==='"')pe=16,ie=dt.popToken();else if(ie.text==="`")if(ie=dt.popToken(),ie.text[0]==="\\")we=ie.text.charCodeAt(1);else{if(ie.text==="EOF")throw new h("\\char` missing argument");we=ie.text.charCodeAt(0)}else pe=10;if(pe){if(we=ui[ie.text],we==null||we>=pe)throw new h("Invalid base-"+pe+" digit "+ie.text);for(var Ke;(Ke=ui[dt.future().text])!=null&&Ke<pe;)we*=pe,we+=Ke,dt.popToken()}return"\\@char{"+we+"}"});var vs=function(ie,pe){var we=ie.consumeArgs(1)[0];if(we.length!==1)throw new h("\\gdef's first argument must be a macro name");var Ke=we[0].text,ut=0;for(we=ie.consumeArgs(1)[0];we.length===1&&we[0].text==="#";){if(we=ie.consumeArgs(1)[0],we.length!==1)throw new h('Invalid argument number length "'+we.length+'"');if(!/^[1-9]$/.test(we[0].text))throw new h('Invalid argument number "'+we[0].text+'"');if(ut++,parseInt(we[0].text)!==ut)throw new h('Argument number "'+we[0].text+'" out of order');we=ie.consumeArgs(1)[0]}return ie.macros.set(Ke,{tokens:we,numArgs:ut},pe),""};Or("\\gdef",function(dt){return vs(dt,!0)}),Or("\\def",function(dt){return vs(dt,!1)}),Or("\\global",function(dt){var ie=dt.consumeArgs(1)[0];if(ie.length!==1)throw new h("Invalid command after \\global");var pe=ie[0].text;if(pe==="\\def")return vs(dt,!0);throw new h("Invalid command '"+pe+"' after \\global")});var rl=function(ie,pe,we){var Ke=ie.consumeArgs(1)[0];if(Ke.length!==1)throw new h("\\newcommand's first argument must be a macro name");var ut=Ke[0].text,Pt=ie.isDefined(ut);if(Pt&&!pe)throw new h("\\newcommand{"+ut+"} attempting to redefine "+(ut+"; use \\renewcommand"));if(!Pt&&!we)throw new h("\\renewcommand{"+ut+"} when command "+ut+" does not yet exist; use \\newcommand");var ar=0;if(Ke=ie.consumeArgs(1)[0],Ke.length===1&&Ke[0].text==="["){for(var wr="",jr=ie.expandNextToken();jr.text!=="]"&&jr.text!=="EOF";)wr+=jr.text,jr=ie.expandNextToken();if(!wr.match(/^\s*[0-9]+\s*$/))throw new h("Invalid number of arguments: "+wr);ar=parseInt(wr),Ke=ie.consumeArgs(1)[0]}return ie.macros.set(ut,{tokens:Ke,numArgs:ar}),""};Or("\\newcommand",function(dt){return rl(dt,!1,!0)}),Or("\\renewcommand",function(dt){return rl(dt,!0,!1)}),Or("\\providecommand",function(dt){return rl(dt,!0,!0)}),Or("\\bgroup","{"),Or("\\egroup","}"),Or("\\lq","`"),Or("\\rq","'"),Or("\\aa","\\r a"),Or("\\AA","\\r A"),Or("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Or("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Or("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Or("\u212C","\\mathscr{B}"),Or("\u2130","\\mathscr{E}"),Or("\u2131","\\mathscr{F}"),Or("\u210B","\\mathscr{H}"),Or("\u2110","\\mathscr{I}"),Or("\u2112","\\mathscr{L}"),Or("\u2133","\\mathscr{M}"),Or("\u211B","\\mathscr{R}"),Or("\u212D","\\mathfrak{C}"),Or("\u210C","\\mathfrak{H}"),Or("\u2128","\\mathfrak{Z}"),Or("\\Bbbk","\\Bbb{k}"),Or("\xB7","\\cdotp"),Or("\\llap","\\mathllap{\\textrm{#1}}"),Or("\\rlap","\\mathrlap{\\textrm{#1}}"),Or("\\clap","\\mathclap{\\textrm{#1}}"),Or("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Or("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Or("\\ne","\\neq"),Or("\u2260","\\neq"),Or("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Or("\u2209","\\notin"),Or("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Or("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Or("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Or("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Or("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Or("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Or("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Or("\u27C2","\\perp"),Or("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Or("\u220C","\\notni"),Or("\u231C","\\ulcorner"),Or("\u231D","\\urcorner"),Or("\u231E","\\llcorner"),Or("\u231F","\\lrcorner"),Or("\xA9","\\copyright"),Or("\xAE","\\textregistered"),Or("\uFE0F","\\textregistered"),Or("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Or("\u22EE","\\vdots"),Or("\\varGamma","\\mathit{\\Gamma}"),Or("\\varDelta","\\mathit{\\Delta}"),Or("\\varTheta","\\mathit{\\Theta}"),Or("\\varLambda","\\mathit{\\Lambda}"),Or("\\varXi","\\mathit{\\Xi}"),Or("\\varPi","\\mathit{\\Pi}"),Or("\\varSigma","\\mathit{\\Sigma}"),Or("\\varUpsilon","\\mathit{\\Upsilon}"),Or("\\varPhi","\\mathit{\\Phi}"),Or("\\varPsi","\\mathit{\\Psi}"),Or("\\varOmega","\\mathit{\\Omega}"),Or("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Or("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Or("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Or("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Or("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Or("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Ps={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Or("\\dots",function(dt){var ie="\\dotso",pe=dt.expandAfterFuture().text;return pe in Ps?ie=Ps[pe]:pe.substr(0,4)==="\\not"?ie="\\dotsb":pe in Xe.math&&(y.contains(["bin","rel"],Xe.math[pe].group)&&(ie="\\dotsb")),ie});var Ks={")":!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};Or("\\dotso",function(dt){var ie=dt.future().text;return ie in Ks?"\\ldots\\,":"\\ldots"}),Or("\\dotsc",function(dt){var ie=dt.future().text;return ie in Ks&&ie!==","?"\\ldots\\,":"\\ldots"}),Or("\\cdots",function(dt){var ie=dt.future().text;return ie in Ks?"\\@cdots\\,":"\\@cdots"}),Or("\\dotsb","\\cdots"),Or("\\dotsm","\\cdots"),Or("\\dotsi","\\!\\cdots"),Or("\\dotsx","\\ldots\\,"),Or("\\DOTSI","\\relax"),Or("\\DOTSB","\\relax"),Or("\\DOTSX","\\relax"),Or("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Or("\\,","\\tmspace+{3mu}{.1667em}"),Or("\\thinspace","\\,"),Or("\\>","\\mskip{4mu}"),Or("\\:","\\tmspace+{4mu}{.2222em}"),Or("\\medspace","\\:"),Or("\\;","\\tmspace+{5mu}{.2777em}"),Or("\\thickspace","\\;"),Or("\\!","\\tmspace-{3mu}{.1667em}"),Or("\\negthinspace","\\!"),Or("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Or("\\negthickspace","\\tmspace-{5mu}{.277em}"),Or("\\enspace","\\kern.5em "),Or("\\enskip","\\hskip.5em\\relax"),Or("\\quad","\\hskip1em\\relax"),Or("\\qquad","\\hskip2em\\relax"),Or("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Or("\\tag@paren","\\tag@literal{({#1})}"),Or("\\tag@literal",function(dt){if(dt.macros.get("\\df@tag"))throw new h("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Or("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Or("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Or("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Or("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Or("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Or("\\\\","\\newline"),Or("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var sl=it["Main-Regular"]["T".charCodeAt(0)][1]-.7*it["Main-Regular"]["A".charCodeAt(0)][1]+"em";Or("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+sl+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Or("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+sl+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Or("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Or("\\@hspace","\\hskip #1\\relax"),Or("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Or("\\ordinarycolon",":"),Or("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Or("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Or("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Or("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Or("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Or("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Or("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Or("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Or("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Or("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Or("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Or("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Or("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Or("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Or("\u2237","\\dblcolon"),Or("\u2239","\\eqcolon"),Or("\u2254","\\coloneqq"),Or("\u2255","\\eqqcolon"),Or("\u2A74","\\Coloneqq"),Or("\\ratio","\\vcentcolon"),Or("\\coloncolon","\\dblcolon"),Or("\\colonequals","\\coloneqq"),Or("\\coloncolonequals","\\Coloneqq"),Or("\\equalscolon","\\eqqcolon"),Or("\\equalscoloncolon","\\Eqqcolon"),Or("\\colonminus","\\coloneq"),Or("\\coloncolonminus","\\Coloneq"),Or("\\minuscolon","\\eqcolon"),Or("\\minuscoloncolon","\\Eqcolon"),Or("\\coloncolonapprox","\\Colonapprox"),Or("\\coloncolonsim","\\Colonsim"),Or("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Or("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Or("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Or("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Or("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Or("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Or("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Or("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Or("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Or("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Or("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Or("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Or("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Or("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Or("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Or("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Or("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Or("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Or("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Or("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Or("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Or("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Or("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Or("\u27E6","\\llbracket"),Or("\u27E7","\\rrbracket"),Or("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Or("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Or("\u2983","\\lBrace"),Or("\u2984","\\rBrace"),Or("\\darr","\\downarrow"),Or("\\dArr","\\Downarrow"),Or("\\Darr","\\Downarrow"),Or("\\lang","\\langle"),Or("\\rang","\\rangle"),Or("\\uarr","\\uparrow"),Or("\\uArr","\\Uparrow"),Or("\\Uarr","\\Uparrow"),Or("\\N","\\mathbb{N}"),Or("\\R","\\mathbb{R}"),Or("\\Z","\\mathbb{Z}"),Or("\\alef","\\aleph"),Or("\\alefsym","\\aleph"),Or("\\Alpha","\\mathrm{A}"),Or("\\Beta","\\mathrm{B}"),Or("\\bull","\\bullet"),Or("\\Chi","\\mathrm{X}"),Or("\\clubs","\\clubsuit"),Or("\\cnums","\\mathbb{C}"),Or("\\Complex","\\mathbb{C}"),Or("\\Dagger","\\ddagger"),Or("\\diamonds","\\diamondsuit"),Or("\\empty","\\emptyset"),Or("\\Epsilon","\\mathrm{E}"),Or("\\Eta","\\mathrm{H}"),Or("\\exist","\\exists"),Or("\\harr","\\leftrightarrow"),Or("\\hArr","\\Leftrightarrow"),Or("\\Harr","\\Leftrightarrow"),Or("\\hearts","\\heartsuit"),Or("\\image","\\Im"),Or("\\infin","\\infty"),Or("\\Iota","\\mathrm{I}"),Or("\\isin","\\in"),Or("\\Kappa","\\mathrm{K}"),Or("\\larr","\\leftarrow"),Or("\\lArr","\\Leftarrow"),Or("\\Larr","\\Leftarrow"),Or("\\lrarr","\\leftrightarrow"),Or("\\lrArr","\\Leftrightarrow"),Or("\\Lrarr","\\Leftrightarrow"),Or("\\Mu","\\mathrm{M}"),Or("\\natnums","\\mathbb{N}"),Or("\\Nu","\\mathrm{N}"),Or("\\Omicron","\\mathrm{O}"),Or("\\plusmn","\\pm"),Or("\\rarr","\\rightarrow"),Or("\\rArr","\\Rightarrow"),Or("\\Rarr","\\Rightarrow"),Or("\\real","\\Re"),Or("\\reals","\\mathbb{R}"),Or("\\Reals","\\mathbb{R}"),Or("\\Rho","\\mathrm{P}"),Or("\\sdot","\\cdot"),Or("\\sect","\\S"),Or("\\spades","\\spadesuit"),Or("\\sub","\\subset"),Or("\\sube","\\subseteq"),Or("\\supe","\\supseteq"),Or("\\Tau","\\mathrm{T}"),Or("\\thetasym","\\vartheta"),Or("\\weierp","\\wp"),Or("\\Zeta","\\mathrm{Z}"),Or("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Or("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Or("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Or("\\blue","\\textcolor{##6495ed}{#1}"),Or("\\orange","\\textcolor{##ffa500}{#1}"),Or("\\pink","\\textcolor{##ff00af}{#1}"),Or("\\red","\\textcolor{##df0030}{#1}"),Or("\\green","\\textcolor{##28ae7b}{#1}"),Or("\\gray","\\textcolor{gray}{#1}"),Or("\\purple","\\textcolor{##9d38bd}{#1}"),Or("\\blueA","\\textcolor{##ccfaff}{#1}"),Or("\\blueB","\\textcolor{##80f6ff}{#1}"),Or("\\blueC","\\textcolor{##63d9ea}{#1}"),Or("\\blueD","\\textcolor{##11accd}{#1}"),Or("\\blueE","\\textcolor{##0c7f99}{#1}"),Or("\\tealA","\\textcolor{##94fff5}{#1}"),Or("\\tealB","\\textcolor{##26edd5}{#1}"),Or("\\tealC","\\textcolor{##01d1c1}{#1}"),Or("\\tealD","\\textcolor{##01a995}{#1}"),Or("\\tealE","\\textcolor{##208170}{#1}"),Or("\\greenA","\\textcolor{##b6ffb0}{#1}"),Or("\\greenB","\\textcolor{##8af281}{#1}"),Or("\\greenC","\\textcolor{##74cf70}{#1}"),Or("\\greenD","\\textcolor{##1fab54}{#1}"),Or("\\greenE","\\textcolor{##0d923f}{#1}"),Or("\\goldA","\\textcolor{##ffd0a9}{#1}"),Or("\\goldB","\\textcolor{##ffbb71}{#1}"),Or("\\goldC","\\textcolor{##ff9c39}{#1}"),Or("\\goldD","\\textcolor{##e07d10}{#1}"),Or("\\goldE","\\textcolor{##a75a05}{#1}"),Or("\\redA","\\textcolor{##fca9a9}{#1}"),Or("\\redB","\\textcolor{##ff8482}{#1}"),Or("\\redC","\\textcolor{##f9685d}{#1}"),Or("\\redD","\\textcolor{##e84d39}{#1}"),Or("\\redE","\\textcolor{##bc2612}{#1}"),Or("\\maroonA","\\textcolor{##ffbde0}{#1}"),Or("\\maroonB","\\textcolor{##ff92c6}{#1}"),Or("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Or("\\maroonD","\\textcolor{##ca337c}{#1}"),Or("\\maroonE","\\textcolor{##9e034e}{#1}"),Or("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Or("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Or("\\purpleC","\\textcolor{##aa87ff}{#1}"),Or("\\purpleD","\\textcolor{##7854ab}{#1}"),Or("\\purpleE","\\textcolor{##543b78}{#1}"),Or("\\mintA","\\textcolor{##f5f9e8}{#1}"),Or("\\mintB","\\textcolor{##edf2df}{#1}"),Or("\\mintC","\\textcolor{##e0e5cc}{#1}"),Or("\\grayA","\\textcolor{##f6f7f7}{#1}"),Or("\\grayB","\\textcolor{##f0f1f2}{#1}"),Or("\\grayC","\\textcolor{##e3e5e6}{#1}"),Or("\\grayD","\\textcolor{##d6d8da}{#1}"),Or("\\grayE","\\textcolor{##babec2}{#1}"),Or("\\grayF","\\textcolor{##888d93}{#1}"),Or("\\grayG","\\textcolor{##626569}{#1}"),Or("\\grayH","\\textcolor{##3b3e40}{#1}"),Or("\\grayI","\\textcolor{##21242c}{#1}"),Or("\\kaBlue","\\textcolor{##314453}{#1}"),Or("\\kaGreen","\\textcolor{##71B307}{#1}");var xs={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Ls=function(){function dt(pe,we,Ke){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=we,this.expansionCount=0,this.feed(pe),this.macros=new Yo(jo,we.macros),this.mode=Ke,this.stack=[]}var ie=dt.prototype;return ie.feed=function(we){this.lexer=new Lo(we,this.settings)},ie.switchMode=function(we){this.mode=we},ie.beginGroup=function(){this.macros.beginGroup()},ie.endGroup=function(){this.macros.endGroup()},ie.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},ie.popToken=function(){return this.future(),this.stack.pop()},ie.pushToken=function(we){this.stack.push(we)},ie.pushTokens=function(we){var Ke;(Ke=this.stack).push.apply(Ke,we)},ie.consumeSpaces=function(){for(;;){var we=this.future();if(we.text===" ")this.stack.pop();else break}},ie.consumeArgs=function(we){for(var Ke=[],ut=0;ut<we;++ut){this.consumeSpaces();var Pt=this.popToken();if(Pt.text==="{"){for(var ar=[],wr=1;wr!==0;){var jr=this.popToken();if(ar.push(jr),jr.text==="{")++wr;else if(jr.text==="}")--wr;else if(jr.text==="EOF")throw new h("End of input in macro argument",Pt)}ar.pop(),ar.reverse(),Ke[ut]=ar}else{if(Pt.text==="EOF")throw new h("End of input expecting macro argument");Ke[ut]=[Pt]}}return Ke},ie.expandOnce=function(){var we=this.popToken(),Ke=we.text,ut=this._getExpansion(Ke);if(ut==null)return this.pushToken(we),we;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new h("Too many expansions: infinite loop or need to increase maxExpand setting");var Pt=ut.tokens;if(ut.numArgs){var ar=this.consumeArgs(ut.numArgs);Pt=Pt.slice();for(var wr=Pt.length-1;wr>=0;--wr){var jr=Pt[wr];if(jr.text==="#"){if(wr===0)throw new h("Incomplete placeholder at end of macro body",jr);if(jr=Pt[--wr],jr.text==="#")Pt.splice(wr+1,1);else if(/^[1-9]$/.test(jr.text)){var hn;(hn=Pt).splice.apply(hn,[wr,2].concat(ar[+jr.text-1]))}else throw new h("Not a valid argument number",jr)}}}return this.pushTokens(Pt),Pt},ie.expandAfterFuture=function(){return this.expandOnce(),this.future()},ie.expandNextToken=function(){for(;;){var we=this.expandOnce();if(we instanceof p)if(we.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},ie.expandMacro=function(we){if(!this.macros.get(we))return;var Ke=[],ut=this.stack.length;for(this.pushToken(new p(we));this.stack.length>ut;){var Pt=this.expandOnce();Pt instanceof p&&Ke.push(this.stack.pop())}return Ke},ie.expandMacroAsText=function(we){var Ke=this.expandMacro(we);return Ke&&Ke.map(function(ut){return ut.text}).join("")},ie._getExpansion=function(we){var Ke=this.macros.get(we);if(Ke==null)return Ke;var ut=typeof Ke=="function"?Ke(this):Ke;if(typeof ut=="string"){var Pt=0;if(ut.indexOf("#")!==-1)for(var ar=ut.replace(/##/g,"");ar.indexOf("#"+(Pt+1))!==-1;)++Pt;for(var wr=new Lo(ut,this.settings),jr=[],hn=wr.lex();hn.text!=="EOF";)jr.push(hn),hn=wr.lex();jr.reverse();var Tn={tokens:jr,numArgs:Pt};return Tn}return ut},ie.isDefined=function(we){return this.macros.has(we)||$a.hasOwnProperty(we)||Xe.math.hasOwnProperty(we)||Xe.text.hasOwnProperty(we)||xs.hasOwnProperty(we)},dt}(),Xs={"\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"}},Es={\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"},_s=function(){function dt(pe,we){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Ls(pe,we,this.mode),this.settings=we,this.leftrightDepth=0}var ie=dt.prototype;return ie.expect=function(we,Ke){if(Ke===void 0&&(Ke=!0),this.fetch().text!==we)throw new h("Expected '"+we+"', got '"+this.fetch().text+"'",this.fetch());Ke&&this.consume()},ie.consume=function(){this.nextToken=null},ie.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},ie.switchMode=function(we){this.mode=we,this.gullet.switchMode(we)},ie.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var we=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),we},ie.parseExpression=function(we,Ke){for(var ut=[];;){this.mode==="math"&&this.consumeSpaces();var Pt=this.fetch();if(dt.endOfExpression.indexOf(Pt.text)!==-1)break;if(Ke&&Pt.text===Ke)break;if(we&&$a[Pt.text]&&$a[Pt.text].infix)break;var ar=this.parseAtom(Ke);if(!ar)break;ut.push(ar)}return this.mode==="text"&&this.formLigatures(ut),this.handleInfixNodes(ut)},ie.handleInfixNodes=function(we){for(var Ke=-1,ut,Pt=0;Pt<we.length;Pt++){var ar=Ar(we[Pt],"infix");if(ar){if(Ke!==-1)throw new h("only one infix operator per group",ar.token);Ke=Pt,ut=ar.replaceWith}}if(Ke!==-1&&ut){var wr,jr,hn=we.slice(0,Ke),Tn=we.slice(Ke+1);hn.length===1&&hn[0].type==="ordgroup"?wr=hn[0]:wr={type:"ordgroup",mode:this.mode,body:hn},Tn.length===1&&Tn[0].type==="ordgroup"?jr=Tn[0]:jr={type:"ordgroup",mode:this.mode,body:Tn};var ti;return ut==="\\\\abovefrac"?ti=this.callFunction(ut,[wr,we[Ke],jr],[]):ti=this.callFunction(ut,[wr,jr],[]),[ti]}else return we},ie.handleSupSubscript=function(we){var Ke=this.fetch(),ut=Ke.text;this.consume();var Pt=this.parseGroup(we,!1,dt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Pt)throw new h("Expected group after '"+ut+"'",Ke);return Pt},ie.formatUnsupportedCmd=function(we){for(var Ke=[],ut=0;ut<we.length;ut++)Ke.push({type:"textord",mode:"text",text:we[ut]});var Pt={type:"text",mode:this.mode,body:Ke},ar={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Pt]};return ar},ie.parseAtom=function(we){var Ke=this.parseGroup("atom",!1,null,we);if(this.mode==="text")return Ke;for(var ut,Pt;;){this.consumeSpaces();var ar=this.fetch();if(ar.text==="\\limits"||ar.text==="\\nolimits"){var wr=Ar(Ke,"op");if(wr){var jr=ar.text==="\\limits";wr.limits=jr,wr.alwaysHandleSupSub=!0}else if(wr=Ar(Ke,"operatorname"),wr&&wr.alwaysHandleSupSub){var hn=ar.text==="\\limits";wr.limits=hn}else throw new h("Limit controls must follow a math operator",ar);this.consume()}else if(ar.text==="^"){if(ut)throw new h("Double superscript",ar);ut=this.handleSupSubscript("superscript")}else if(ar.text==="_"){if(Pt)throw new h("Double subscript",ar);Pt=this.handleSupSubscript("subscript")}else if(ar.text==="'"){if(ut)throw new h("Double superscript",ar);var Tn={type:"textord",mode:this.mode,text:"\\prime"},ti=[Tn];for(this.consume();this.fetch().text==="'";)ti.push(Tn),this.consume();this.fetch().text==="^"&&ti.push(this.handleSupSubscript("superscript")),ut={type:"ordgroup",mode:this.mode,body:ti}}else break}return ut||Pt?{type:"supsub",mode:this.mode,base:Ke,sup:ut,sub:Pt}:Ke},ie.parseFunction=function(we,Ke,ut){var Pt=this.fetch(),ar=Pt.text,wr=$a[ar];if(!wr)return null;if(this.consume(),ut!=null&&wr.greediness<=ut)throw new h("Got function '"+ar+"' with no arguments"+(Ke?" as "+Ke:""),Pt);if(this.mode==="text"&&!wr.allowedInText)throw new h("Can't use function '"+ar+"' in text mode",Pt);if(this.mode==="math"&&wr.allowedInMath===!1)throw new h("Can't use function '"+ar+"' in math mode",Pt);var jr=this.parseArguments(ar,wr),hn=jr.args,Tn=jr.optArgs;return this.callFunction(ar,hn,Tn,Pt,we)},ie.callFunction=function(we,Ke,ut,Pt,ar){var wr={funcName:we,parser:this,token:Pt,breakOnTokenText:ar},jr=$a[we];if(jr&&jr.handler)return jr.handler(wr,Ke,ut);throw new h("No function handler for "+we)},ie.parseArguments=function(we,Ke){var ut=Ke.numArgs+Ke.numOptionalArgs;if(ut===0)return{args:[],optArgs:[]};for(var Pt=Ke.greediness,ar=[],wr=[],jr=0;jr<ut;jr++){var hn=Ke.argTypes&&Ke.argTypes[jr],Tn=jr<Ke.numOptionalArgs,ti=jr>0&&!Tn||jr===0&&!Tn&&this.mode==="math",Ai=this.parseGroupOfType("argument to '"+we+"'",hn,Tn,Pt,ti);if(!Ai){if(Tn){wr.push(null);continue}throw new h("Expected group after '"+we+"'",this.fetch())}(Tn?wr:ar).push(Ai)}return{args:ar,optArgs:wr}},ie.parseGroupOfType=function(we,Ke,ut,Pt,ar){switch(Ke){case"color":return ar&&this.consumeSpaces(),this.parseColorGroup(ut);case"size":return ar&&this.consumeSpaces(),this.parseSizeGroup(ut);case"url":return this.parseUrlGroup(ut,ar);case"math":case"text":return this.parseGroup(we,ut,Pt,void 0,Ke,ar);case"hbox":{var wr=this.parseGroup(we,ut,Pt,void 0,"text",ar);if(!wr)return wr;var jr={type:"styling",mode:wr.mode,body:[wr],style:"text"};return jr}case"raw":{if(ar&&this.consumeSpaces(),ut&&this.fetch().text==="{")return null;var hn=this.parseStringGroup("raw",ut,!0);if(hn)return{type:"raw",mode:"text",string:hn.text};throw new h("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(we,ut,Pt,void 0,void 0,ar);default:throw new h("Unknown group type as "+we,this.fetch())}},ie.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},ie.parseStringGroup=function(we,Ke,ut){var Pt=Ke?"[":"{",ar=Ke?"]":"}",wr=this.fetch();if(wr.text!==Pt){if(Ke)return null;if(ut&&wr.text!=="EOF"&&/[^{}[\]]/.test(wr.text))return this.consume(),wr}var jr=this.mode;this.mode="text",this.expect(Pt);for(var hn="",Tn=this.fetch(),ti=0,Ai=Tn,Ti;(Ti=this.fetch()).text!==ar||ut&&ti>0;){switch(Ti.text){case"EOF":throw new h("Unexpected end of input in "+we,Tn.range(Ai,hn));case Pt:ti++;break;case ar:ti--;break}Ai=Ti,hn+=Ai.text,this.consume()}return this.expect(ar),this.mode=jr,Tn.range(Ai,hn)},ie.parseRegexGroup=function(we,Ke){var ut=this.mode;this.mode="text";for(var Pt=this.fetch(),ar=Pt,wr="",jr;(jr=this.fetch()).text!=="EOF"&&we.test(wr+jr.text);)ar=jr,wr+=ar.text,this.consume();if(wr==="")throw new h("Invalid "+Ke+": '"+Pt.text+"'",Pt);return this.mode=ut,Pt.range(ar,wr)},ie.parseColorGroup=function(we){var Ke=this.parseStringGroup("color",we);if(!Ke)return null;var ut=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Ke.text);if(!ut)throw new h("Invalid color: '"+Ke.text+"'",Ke);var Pt=ut[0];return/^[0-9a-f]{6}$/i.test(Pt)&&(Pt="#"+Pt),{type:"color-token",mode:this.mode,color:Pt}},ie.parseSizeGroup=function(we){var Ke,ut=!1;if(!we&&this.fetch().text!=="{"?Ke=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Ke=this.parseStringGroup("size",we),!Ke)return null;!we&&Ke.text.length===0&&(Ke.text="0pt",ut=!0);var Pt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Ke.text);if(!Pt)throw new h("Invalid size: '"+Ke.text+"'",Ke);var ar={number:+(Pt[1]+Pt[2]),unit:Pt[3]};if(!Cr(ar))throw new h("Invalid unit: '"+ar.unit+"'",Ke);return{type:"size",mode:this.mode,value:ar,isBlank:ut}},ie.parseUrlGroup=function(we,Ke){this.gullet.lexer.setCatcode("%",13);var ut=this.parseStringGroup("url",we,!0);if(this.gullet.lexer.setCatcode("%",14),!ut)return null;var Pt=ut.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Pt}},ie.parseGroup=function(we,Ke,ut,Pt,ar,wr){var jr=this.mode;ar&&this.switchMode(ar),wr&&this.consumeSpaces();var hn=this.fetch(),Tn=hn.text,ti;if(Ke?Tn==="[":Tn==="{"||Tn==="\\begingroup"){this.consume();var Ai=dt.endOfGroup[Tn];this.gullet.beginGroup();var Ti=this.parseExpression(!1,Ai),Wi=this.fetch();this.expect(Ai),this.gullet.endGroup(),ti={type:"ordgroup",mode:this.mode,loc:g.range(hn,Wi),body:Ti,semisimple:Tn==="\\begingroup"||void 0}}else if(Ke)ti=null;else if(ti=this.parseFunction(Pt,we,ut)||this.parseSymbol(),ti==null&&Tn[0]==="\\"&&!xs.hasOwnProperty(Tn)){if(this.settings.throwOnError)throw new h("Undefined control sequence: "+Tn,hn);ti=this.formatUnsupportedCmd(Tn),this.consume()}return ar&&this.switchMode(jr),ti},ie.formLigatures=function(we){for(var Ke=we.length-1,ut=0;ut<Ke;++ut){var Pt=we[ut],ar=Pt.text;ar==="-"&&we[ut+1].text==="-"&&(ut+1<Ke&&we[ut+2].text==="-"?(we.splice(ut,3,{type:"textord",mode:"text",loc:g.range(Pt,we[ut+2]),text:"---"}),Ke-=2):(we.splice(ut,2,{type:"textord",mode:"text",loc:g.range(Pt,we[ut+1]),text:"--"}),Ke-=1)),(ar==="'"||ar==="`")&&we[ut+1].text===ar&&(we.splice(ut,2,{type:"textord",mode:"text",loc:g.range(Pt,we[ut+1]),text:ar+ar}),Ke-=1)}},ie.parseSymbol=function(){var we=this.fetch(),Ke=we.text;if(/^\\verb[^a-zA-Z]/.test(Ke)){this.consume();var ut=Ke.slice(5),Pt=ut.charAt(0)==="*";if(Pt&&(ut=ut.slice(1)),ut.length<2||ut.charAt(0)!==ut.slice(-1))throw new h(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return ut=ut.slice(1,-1),{type:"verb",mode:"text",body:ut,star:Pt}}Es.hasOwnProperty(Ke[0])&&!Xe[this.mode][Ke[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+Ke[0]+'" used in math mode',we),Ke=Es[Ke[0]]+Ke.substr(1));var ar=Xo.exec(Ke);ar&&(Ke=Ke.substring(0,ar.index),Ke==="i"?Ke="\u0131":Ke==="j"&&(Ke="\u0237"));var wr;if(Xe[this.mode][Ke]){this.settings.strict&&this.mode==="math"&&$t.indexOf(Ke)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Ke[0]+'" used in math mode',we);var jr=Xe[this.mode][Ke].group,hn=g.range(we),Tn;if(Ot.hasOwnProperty(jr)){var ti=jr;Tn={type:"atom",mode:this.mode,family:ti,loc:hn,text:Ke}}else Tn={type:jr,mode:this.mode,loc:hn,text:Ke};wr=Tn}else if(Ke.charCodeAt(0)>=128)this.settings.strict&&(Y(Ke.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Ke[0]+'" used in math mode',we):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Ke[0]+'"'+(" ("+Ke.charCodeAt(0)+")"),we)),wr={type:"textord",mode:"text",loc:g.range(we),text:Ke};else return null;if(this.consume(),ar)for(var Ai=0;Ai<ar[0].length;Ai++){var Ti=ar[0][Ai];if(!Xs[Ti])throw new h("Unknown accent ' "+Ti+"'",we);var Wi=Xs[Ti][this.mode];if(!Wi)throw new h("Accent "+Ti+" unsupported in "+this.mode+" mode",we);wr={type:"accent",mode:this.mode,loc:g.range(we),label:Wi,isStretchy:!1,isShifty:!0,base:wr}}return wr},dt}();_s.endOfExpression=["}","\\endgroup","\\end","\\right","&"],_s.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},_s.SUPSUB_GREEDINESS=1;var pl=function(ie,pe){if(!(typeof ie=="string"||ie instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var we=new _s(ie,pe);delete we.gullet.macros.current["\\df@tag"];var Ke=we.parse();if(we.gullet.macros.get("\\df@tag")){if(!pe.displayMode)throw new h("\\tag works only in display equations");we.gullet.feed("\\df@tag"),Ke=[{type:"tag",mode:"text",body:Ke,tag:we.parse()}]}return Ke},Gs=pl,ro=function(ie,pe,we){pe.textContent="";var Ke=Lt(ie,we).toNode();pe.appendChild(Ke)};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."),ro=function(){throw new h("KaTeX doesn't work in quirks mode.")}));var eo=function(ie,pe){var we=Lt(ie,pe).toMarkup();return we},ho=function(ie,pe){var we=new S(pe);return Gs(ie,we)},yt=function(ie,pe,we){if(we.throwOnError||!(ie instanceof h))throw ie;var Ke=jt.makeSpan(["katex-error"],[new Ne(pe)]);return Ke.setAttribute("title",ie.toString()),Ke.setAttribute("style","color:"+we.errorColor),Ke},Lt=function(ie,pe){var we=new S(pe);try{var Ke=Gs(ie,we);return Yt(Ke,ie,we)}catch(ut){return yt(ut,ie,we)}},Pr=function(ie,pe){var we=new S(pe);try{var Ke=Gs(ie,we);return Ir(Ke,ie,we)}catch(ut){return yt(ut,ie,we)}},pn={version:"0.11.1",render:ro,renderToString:eo,ParseError:h,__parse:ho,__renderToDomTree:Lt,__renderToHTMLTree:Pr,__setFontMetrics:mt,__defineSymbol:q,__defineMacro:Or,__domTree:{Span:ee,Anchor:se,SymbolNode:Ne,SvgNode:Fe,PathNode:ae,LineNode:ce}},Rn=f.default=pn}]).default})},P2ho:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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};B.default=w},P47w:function(M,B,o){var w=o("hydK"),f=w.createElement,A=o("IMiH"),m=o("mFDi"),g=o("Fofx"),p=o("6GrX"),c=o("pzxd"),h=o("dqUG"),l=A.CMD,e=Array.prototype.join,n="none",i=Math.round,r=Math.sin,a=Math.cos,t=Math.PI,s=Math.PI*2,u=180/t,d=1e-4;function v(X){return i(X*1e4)/1e4}function y(X){return X<d&&X>-d}function S(X,z){var Y=z?X.textFill:X.fill;return Y!=null&&Y!==n}function b(X,z){var Y=z?X.textStroke:X.stroke;return Y!=null&&Y!==n}function E(X,z){z&&C(X,"transform","matrix("+e.call(z,",")+")")}function C(X,z,Y){(!Y||Y.type!=="linear"&&Y.type!=="radial")&&X.setAttribute(z,Y)}function T(X,z,Y){X.setAttributeNS("http://www.w3.org/1999/xlink",z,Y)}function x(X,z,Y,$){if(S(z,Y)){var ne=Y?z.textFill:z.fill;ne=ne==="transparent"?n:ne,C(X,"fill",ne),C(X,"fill-opacity",z.fillOpacity!=null?z.fillOpacity*z.opacity:z.opacity)}else C(X,"fill",n);if(b(z,Y)){var J=Y?z.textStroke:z.stroke;J=J==="transparent"?n:J,C(X,"stroke",J);var ge=Y?z.textStrokeWidth:z.lineWidth,de=!Y&&z.strokeNoScale?$.getLineScale():1;C(X,"stroke-width",ge/de),C(X,"paint-order",Y?"stroke":"fill"),C(X,"stroke-opacity",z.strokeOpacity!=null?z.strokeOpacity:z.opacity);var Ie=z.lineDash;Ie?(C(X,"stroke-dasharray",z.lineDash.join(",")),C(X,"stroke-dashoffset",i(z.lineDashOffset||0))):C(X,"stroke-dasharray",""),z.lineCap&&C(X,"stroke-linecap",z.lineCap),z.lineJoin&&C(X,"stroke-linejoin",z.lineJoin),z.miterLimit&&C(X,"stroke-miterlimit",z.miterLimit)}else C(X,"stroke",n)}function _(X){for(var z=[],Y=X.data,$=X.len(),ne=0;ne<$;){var J=Y[ne++],ge="",de=0;switch(J){case l.M:ge="M",de=2;break;case l.L:ge="L",de=2;break;case l.Q:ge="Q",de=4;break;case l.C:ge="C",de=6;break;case l.A:var Ie=Y[ne++],be=Y[ne++],Ce=Y[ne++],je=Y[ne++],te=Y[ne++],ve=Y[ne++],$e=Y[ne++],Le=Y[ne++],he=Math.abs(ve),ee=y(he-s)||(Le?ve>=s:-ve>=s),se=ve>0?ve%s:ve%s+s,Ue=!1;ee?Ue=!0:y(he)?Ue=!1:Ue=se>=t===!!Le;var ue=v(Ie+Ce*a(te)),Ne=v(be+je*r(te));ee&&(Le?ve=s-1e-4:ve=-s+1e-4,Ue=!0,ne===9&&z.push("M",ue,Ne));var Fe=v(Ie+Ce*a(te+ve)),ae=v(be+je*r(te+ve));z.push("A",v(Ce),v(je),i($e*u),+Ue,+Le,Fe,ae);break;case l.Z:ge="Z";break;case l.R:var Fe=v(Y[ne++]),ae=v(Y[ne++]),ce=v(Y[ne++]),_e=v(Y[ne++]);z.push("M",Fe,ae,"L",Fe+ce,ae,"L",Fe+ce,ae+_e,"L",Fe,ae+_e,"L",Fe,ae);break}ge&&z.push(ge);for(var ze=0;ze<de;ze++)z.push(v(Y[ne++]))}return z.join(" ")}var I={};I.brush=function(X){var z=X.style,Y=X.__svgEl;Y||(Y=f("path"),X.__svgEl=Y),X.path||X.createPathProxy();var $=X.path;if(X.__dirtyPath){$.beginPath(),$.subPixelOptimize=!1,X.buildPath($,X.shape),X.__dirtyPath=!1;var ne=_($);ne.indexOf("NaN")<0&&C(Y,"d",ne)}x(Y,z,!1,X),E(Y,X.transform),z.text!=null?D(X,X.getBoundingRect()):K(X)};var L={};L.brush=function(X){var z=X.style,Y=z.image;if(Y instanceof HTMLImageElement){var $=Y.src;Y=$}if(!Y)return;var ne=z.x||0,J=z.y||0,ge=z.width,de=z.height,Ie=X.__svgEl;Ie||(Ie=f("image"),X.__svgEl=Ie),Y!==X.__imageSrc&&(T(Ie,"href",Y),X.__imageSrc=Y),C(Ie,"width",ge),C(Ie,"height",de),C(Ie,"x",ne),C(Ie,"y",J),E(Ie,X.transform),z.text!=null?D(X,X.getBoundingRect()):K(X)};var R={},k=new m,F={},P=[],W={left:"start",right:"end",center:"middle",middle:"middle"},D=function(z,Y){var $=z.style,ne=z.transform,J=z instanceof h||$.transformText;z.__dirty&&c.normalizeTextStyle($,!0);var ge=$.text;if(ge!=null&&(ge+=""),!c.needDrawText(ge,$))return;ge==null&&(ge=""),!J&&ne&&(k.copy(Y),k.applyTransform(ne),Y=k);var de=z.__textSvgEl;de||(de=f("text"),z.__textSvgEl=de);var Ie=de.style,be=$.font||p.DEFAULT_FONT,Ce=de.__computedFont;be!==de.__styleFont&&(Ie.font=de.__styleFont=be,Ce=de.__computedFont=Ie.font);var je=$.textPadding,te=$.textLineHeight,ve=z.__textCotentBlock;(!ve||z.__dirtyText)&&(ve=z.__textCotentBlock=p.parsePlainText(ge,Ce,je,te,$.truncate));var $e=ve.outerHeight,Le=ve.lineHeight;c.getBoxPosition(F,z,$,Y);var he=F.baseX,ee=F.baseY,se=F.textAlign||"left",Ue=F.textVerticalAlign;U(de,J,ne,$,Y,he,ee);var ue=p.adjustTextY(ee,$e,Ue),Ne=he,Fe=ue;je&&(Ne=H(he,se,je),Fe+=je[0]),Fe+=Le/2,x(de,$,!0,z);var ae=ve.canCacheByTextString,ce=z.__tspanList||(z.__tspanList=[]),_e=ce.length;if(ae&&z.__canCacheByTextString&&z.__text===ge){if(z.__dirtyText&&_e)for(var ze=0;ze<_e;++ze)j(ce[ze],se,Ne,Fe+ze*Le)}else{z.__text=ge,z.__canCacheByTextString=ae;for(var it=ve.lines,Ze=it.length,ze=0;ze<Ze;ze++){var Ee=ce[ze],mt=it[ze];Ee?Ee.__zrText!==mt&&(Ee.innerHTML="",Ee.appendChild(document.createTextNode(mt))):(Ee=ce[ze]=f("tspan"),de.appendChild(Ee),Ee.appendChild(document.createTextNode(mt))),j(Ee,se,Ne,Fe+ze*Le)}if(_e>Ze){for(;ze<_e;ze++)de.removeChild(ce[ze]);ce.length=Ze}}};function U(X,z,Y,$,ne,J,ge){g.identity(P),z&&Y&&g.copy(P,Y);var de=$.textRotation;if(ne&&de){var Ie=$.textOrigin;Ie==="center"?(J=ne.width/2+ne.x,ge=ne.height/2+ne.y):Ie&&(J=Ie[0]+ne.x,ge=Ie[1]+ne.y),P[4]-=J,P[5]-=ge,g.rotate(P,P,de),P[4]+=J,P[5]+=ge}E(X,P)}function H(X,z,Y){return z==="right"?X-Y[1]:z==="center"?X+Y[3]/2-Y[1]/2:X+Y[3]}function j(X,z,Y,$){C(X,"dominant-baseline","middle"),C(X,"text-anchor",W[z]),C(X,"x",Y),C(X,"y",$)}function K(X){X&&X.__textSvgEl&&(X.__textSvgEl.parentNode&&X.__textSvgEl.parentNode.removeChild(X.__textSvgEl),X.__textSvgEl=null,X.__tspanList=[],X.__text=null)}R.drawRectText=D,R.brush=function(X){var z=X.style;z.text!=null?D(X,!1):K(X)},B.path=I,B.image=L,B.text=R},P4Qj:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.removeSensor=B.getSensor=void 0;var w=m(o("chpo")),f=o("FxDU"),A=o("24YM");function m(h){return h&&h.__esModule?h:{default:h}}var g={},p=function(l){var e=l.getAttribute(A.SizeSensorId);if(e&&g[e])return g[e];var n=(0,w.default)();l.setAttribute(A.SizeSensorId,n);var i=(0,f.createSensor)(l);return g[n]=i,i};B.getSensor=p;var c=function(l){var e=l.element.getAttribute(A.SizeSensorId);l.element.removeAttribute(A.SizeSensorId),l.destroy(),e&&g[e]&&delete g[e]};B.removeSensor=c},P5Jw:function(M,B,o){"use strict";var w=o("rHrb"),f=w.CopyToClipboard;f.CopyToClipboard=f,M.exports=f},P88I:function(M,B,o){"use strict";var w=o("wx14"),f=o("U8pU"),A=o("ODXe"),m=o("q1tI"),g=o.n(m),p=o("Zm9Q"),c=o("TSYQ"),h=o.n(c),l=o("bT9E"),e=o("j5T7"),n=o("9R2V"),i=o("bq+4"),r=o("kLeg"),a=e.a.Option;function t(d){return d&&d.type&&(d.type.isSelectOption||d.type.isSelectOptGroup)}var s=function(v,y){var S=v.prefixCls,b=v.className,E=v.children,C=v.dataSource,T=Object(p.a)(E),x;if(T.length===1&&Object(r.b)(T[0])&&!t(T[0])){var _=Object(A.a)(T,1);x=_[0]}var I=x?function(){return x}:void 0,L;return T.length&&t(T[0])?L=E:L=C?C.map(function(R){if(Object(r.b)(R))return R;switch(Object(f.a)(R)){case"string":return m.createElement(a,{key:R,value:R},R);case"object":{var k=R.value;return m.createElement(a,{key:k,value:k},R.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],m.useEffect(function(){Object(i.a)(!("dataSource"in v),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(i.a)(!x||!("size"in v),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),m.createElement(n.a,null,function(R){var k=R.getPrefixCls,F=k("select",S);return m.createElement(e.a,Object(w.a)({ref:y},Object(l.a)(v,["dataSource"]),{prefixCls:F,className:h()("".concat(F,"-auto-complete"),b),mode:e.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:I}),L)})},u=m.forwardRef(s);u.Option=a,B.a=u},PD8m:function(M,B){M.exports={name:"memoryStorage",read:w,write:f,each:A,remove:m,clearAll:g};var o={};function w(p){return o[p]}function f(p,c){o[p]=c}function A(p){for(var c in o)o.hasOwnProperty(c)&&p(o[c],c)}function m(p){delete o[p]}function g(p){o={}}},PNag:function(M,B,o){var w=o("bYtY"),f=o("SKnc"),A=o("YH21"),m=o("crZl"),g=o("IwbS"),p=o("OELB"),c=o("72pK"),h=o("y7Aq"),l=o("4NO4"),e=p.linearMap,n=w.each,i=Math.min,r=Math.max,a=12,t=6,s=m.extend({type:"visualMap.continuous",init:function(){s.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(C,T,x,_){(!_||_.type!=="selectDataRange"||_.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var C=this.visualMapModel,T=this.group;this._orient=C.get("orient"),this._useHandle=C.get("calculable"),this._resetInterval(),this._renderBar(T);var x=C.get("text");this._renderEndsText(T,x,0),this._renderEndsText(T,x,1),this._updateView(!0),this.renderBackground(T),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(T)},_renderEndsText:function(C,T,x){if(!T)return;var _=T[1-x];_=_!=null?_+"":"";var I=this.visualMapModel,L=I.get("textGap"),R=I.itemSize,k=this._shapes.barGroup,F=this._applyTransform([R[0]/2,x===0?-L:R[1]+L],k),P=this._applyTransform(x===0?"bottom":"top",k),W=this._orient,D=this.visualMapModel.textStyleModel;this.group.add(new g.Text({style:{x:F[0],y:F[1],textVerticalAlign:W==="horizontal"?"middle":P,textAlign:W==="horizontal"?P:"center",text:_,textFont:D.getFont(),textFill:D.getTextColor()}}))},_renderBar:function(C){var T=this.visualMapModel,x=this._shapes,_=T.itemSize,I=this._orient,L=this._useHandle,R=h.getItemAlign(T,this.api,_),k=x.barGroup=this._createBarGroup(R);k.add(x.outOfRange=u()),k.add(x.inRange=u(null,L?b(this._orient):null,w.bind(this._dragHandle,this,"all",!1),w.bind(this._dragHandle,this,"all",!0)));var F=T.textStyleModel.getTextRect("\u56FD"),P=r(F.width,F.height);L&&(x.handleThumbs=[],x.handleLabels=[],x.handleLabelPoints=[],this._createHandle(k,0,_,P,I,R),this._createHandle(k,1,_,P,I,R)),this._createIndicator(k,_,P,I),C.add(k)},_createHandle:function(C,T,x,_,I){var L=w.bind(this._dragHandle,this,T,!1),R=w.bind(this._dragHandle,this,T,!0),k=u(d(T,_),b(this._orient),L,R);k.position[0]=x[0],C.add(k);var F=this.visualMapModel.textStyleModel,P=new g.Text({draggable:!0,drift:L,onmousemove:function(U){A.stop(U.event)},ondragend:R,style:{x:0,y:0,text:"",textFont:F.getFont(),textFill:F.getTextColor()}});this.group.add(P);var W=[I==="horizontal"?_/2:_*1.5,I==="horizontal"?T===0?-(_*1.5):_*1.5:T===0?-_/2:_/2],D=this._shapes;D.handleThumbs[T]=k,D.handleLabelPoints[T]=W,D.handleLabels[T]=P},_createIndicator:function(C,T,x,_){var I=u([[0,0]],"move");I.position[0]=T[0],I.attr({invisible:!0,silent:!0}),C.add(I);var L=this.visualMapModel.textStyleModel,R=new g.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:L.getFont(),textFill:L.getTextColor()}});this.group.add(R);var k=[_==="horizontal"?x/2:t+3,0],F=this._shapes;F.indicator=I,F.indicatorLabel=R,F.indicatorLabelPoint=k},_dragHandle:function(C,T,x,_){if(!this._useHandle)return;if(this._dragging=!T,!T){var I=this._applyTransform([x,_],this._shapes.barGroup,!0);this._updateInterval(C,I[1]),this._updateView()}T===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),T?!this._hovering&&this._clearHoverLinkToSeries():S(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[C],!1)},_resetInterval:function(){var C=this.visualMapModel,T=this._dataInterval=C.getSelected(),x=C.getExtent(),_=[0,C.itemSize[1]];this._handleEnds=[e(T[0],x,_,!0),e(T[1],x,_,!0)]},_updateInterval:function(C,T){T=T||0;var x=this.visualMapModel,_=this._handleEnds,I=[0,x.itemSize[1]];c(T,_,I,C,0);var L=x.getExtent();this._dataInterval=[e(_[0],I,L,!0),e(_[1],I,L,!0)]},_updateView:function(C){var T=this.visualMapModel,x=T.getExtent(),_=this._shapes,I=[0,T.itemSize[1]],L=C?I:this._handleEnds,R=this._createBarVisual(this._dataInterval,x,L,"inRange"),k=this._createBarVisual(x,x,I,"outOfRange");_.inRange.setStyle({fill:R.barColor,opacity:R.opacity}).setShape("points",R.barPoints),_.outOfRange.setStyle({fill:k.barColor,opacity:k.opacity}).setShape("points",k.barPoints),this._updateHandle(L,R)},_createBarVisual:function(C,T,x,_){var I={forceState:_,convertOpacityToAlpha:!0},L=this._makeColorGradient(C,I),R=[this.getControllerVisual(C[0],"symbolSize",I),this.getControllerVisual(C[1],"symbolSize",I)],k=this._createBarPoints(x,R);return{barColor:new f(0,0,0,1,L),barPoints:k,handlesColor:[L[0].color,L[L.length-1].color]}},_makeColorGradient:function(C,T){var x=100,_=[],I=(C[1]-C[0])/x;_.push({color:this.getControllerVisual(C[0],"color",T),offset:0});for(var L=1;L<x;L++){var R=C[0]+I*L;if(R>C[1])break;_.push({color:this.getControllerVisual(R,"color",T),offset:L/x})}return _.push({color:this.getControllerVisual(C[1],"color",T),offset:1}),_},_createBarPoints:function(C,T){var x=this.visualMapModel.itemSize;return[[x[0]-T[0],C[0]],[x[0],C[0]],[x[0],C[1]],[x[0]-T[1],C[1]]]},_createBarGroup:function(C){var T=this._orient,x=this.visualMapModel.get("inverse");return new g.Group(T==="horizontal"&&!x?{scale:C==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:T==="horizontal"&&x?{scale:C==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:T==="vertical"&&!x?{scale:C==="left"?[1,-1]:[-1,-1]}:{scale:C==="left"?[1,1]:[-1,1]})},_updateHandle:function(C,T){if(!this._useHandle)return;var x=this._shapes,_=this.visualMapModel,I=x.handleThumbs,L=x.handleLabels;n([0,1],function(R){var k=I[R];k.setStyle("fill",T.handlesColor[R]),k.position[1]=C[R];var F=g.applyTransform(x.handleLabelPoints[R],g.getTransform(k,this.group));L[R].setStyle({x:F[0],y:F[1],text:_.formatValueText(this._dataInterval[R]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?R===0?"bottom":"top":"left",x.barGroup)})},this)},_showIndicator:function(C,T,x,_){var I=this.visualMapModel,L=I.getExtent(),R=I.itemSize,k=[0,R[1]],F=e(C,L,k,!0),P=this._shapes,W=P.indicator;if(!W)return;W.position[1]=F,W.attr("invisible",!1),W.setShape("points",v(!!x,_,F,R[1]));var D={convertOpacityToAlpha:!0},U=this.getControllerVisual(C,"color",D);W.setStyle("fill",U);var H=g.applyTransform(P.indicatorLabelPoint,g.getTransform(W,this.group)),j=P.indicatorLabel;j.attr("invisible",!1);var K=this._applyTransform("left",P.barGroup),X=this._orient;j.setStyle({text:(x||"")+I.formatValueText(T),textVerticalAlign:X==="horizontal"?K:"middle",textAlign:X==="horizontal"?"center":K,x:H[0],y:H[1]})},_enableHoverLinkToSeries:function(){var C=this;this._shapes.barGroup.on("mousemove",function(T){if(C._hovering=!0,!C._dragging){var x=C.visualMapModel.itemSize,_=C._applyTransform([T.offsetX,T.offsetY],C._shapes.barGroup,!0,!0);_[1]=i(r(0,_[1]),x[1]),C._doHoverLinkToSeries(_[1],0<=_[0]&&_[0]<=x[0])}}).on("mouseout",function(){C._hovering=!1,!C._dragging&&C._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var C=this.api.getZr();this.visualMapModel.option.hoverLink?(C.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),C.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(C,T){var x=this.visualMapModel,_=x.itemSize;if(!x.option.hoverLink)return;var I=[0,_[1]],L=x.getExtent();C=i(r(I[0],C),I[1]);var R=y(x,L,I),k=[C-R,C+R],F=e(C,I,L,!0),P=[e(k[0],I,L,!0),e(k[1],I,L,!0)];k[0]<I[0]&&(P[0]=-Infinity),k[1]>I[1]&&(P[1]=Infinity),T&&(P[0]===-Infinity?this._showIndicator(F,P[1],"< ",R):P[1]===Infinity?this._showIndicator(F,P[0],"> ",R):this._showIndicator(F,F,"\u2248 ",R));var W=this._hoverLinkDataIndices,D=[];(T||S(x))&&(D=this._hoverLinkDataIndices=x.findTargetDataIndices(P));var U=l.compressBatches(W,D);this._dispatchHighDown("downplay",h.makeHighDownBatch(U[0],x)),this._dispatchHighDown("highlight",h.makeHighDownBatch(U[1],x))},_hoverLinkFromSeriesMouseOver:function(C){var T=C.target,x=this.visualMapModel;if(!T||T.dataIndex==null)return;var _=this.ecModel.getSeriesByIndex(T.seriesIndex);if(!x.isTargetSeries(_))return;var I=_.getData(T.dataType),L=I.get(x.getDataDimension(I),T.dataIndex,!0);isNaN(L)||this._showIndicator(L,L)},_hideIndicator:function(){var C=this._shapes;C.indicator&&C.indicator.attr("invisible",!0),C.indicatorLabel&&C.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var C=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",h.makeHighDownBatch(C,this.visualMapModel)),C.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var C=this.api.getZr();C.off("mouseover",this._hoverLinkFromSeriesMouseOver),C.off("mouseout",this._hideIndicator)},_applyTransform:function(C,T,x,_){var I=g.getTransform(T,_?null:this.group);return g[w.isArray(C)?"applyTransform":"transformDirection"](C,I,x)},_dispatchHighDown:function(C,T){T&&T.length&&this.api.dispatchAction({type:C,batch:T})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function u(C,T,x,_){return new g.Polygon({shape:{points:C},draggable:!!x,cursor:T,drift:x,onmousemove:function(I){A.stop(I.event)},ondragend:_})}function d(C,T){return C===0?[[0,0],[T,0],[T,-T]]:[[0,0],[T,0],[T,T]]}function v(C,T,x,_){return C?[[0,-i(T,r(x,0))],[t,0],[0,i(T,r(_-x,0))]]:[[0,0],[5,-5],[5,5]]}function y(C,T,x){var _=a/2,I=C.get("hoverLinkDataSize");return I&&(_=e(I,T,x,!0)/2),_}function S(C){var T=C.get("hoverLinkOnHandle");return!!(T==null?C.get("realtime"):T)}function b(C){return C==="vertical"?"ns-resize":"ew-resize"}var E=s;M.exports=E},"Ppy+":function(M,B,o){"use strict";o.d(B,"a",function(){return i});var w=o("wx14"),f=o("rePB"),A=o("ODXe"),m=o("q1tI"),g=o("TSYQ"),p=o.n(g),c=o("Zm9Q"),h=o("9R2V");function l(u){var d=u.className,v=u.direction,y=u.index,S=u.marginDirection,b=u.children,E=u.split,C=u.wrap,T=m.useContext(i),x=T.horizontalSize,_=T.verticalSize,I=T.latestIndex,L=T.supportFlexGap,R={};return L||(v==="vertical"?y<I&&(R={marginBottom:x/(E?2:1)}):R=Object(w.a)(Object(w.a)({},y<I&&Object(f.a)({},S,x/(E?2:1))),C&&{paddingBottom:_})),b==null?null:m.createElement(m.Fragment,null,m.createElement("div",{className:d,style:R},b),y<I&&E&&m.createElement("span",{className:"".concat(d,"-split"),style:R},E))}var e=o("xq47"),n=function(u,d){var v={};for(var y in u)Object.prototype.hasOwnProperty.call(u,y)&&d.indexOf(y)<0&&(v[y]=u[y]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,y=Object.getOwnPropertySymbols(u);S<y.length;S++)d.indexOf(y[S])<0&&Object.prototype.propertyIsEnumerable.call(u,y[S])&&(v[y[S]]=u[y[S]]);return v},i=m.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),r={small:8,middle:16,large:24};function a(u){return typeof u=="string"?r[u]:u||0}var t=function(d){var v,y=m.useContext(h.b),S=y.getPrefixCls,b=y.space,E=y.direction,C=d.size,T=C===void 0?(b==null?void 0:b.size)||"small":C,x=d.align,_=d.className,I=d.children,L=d.direction,R=L===void 0?"horizontal":L,k=d.prefixCls,F=d.split,P=d.style,W=d.wrap,D=W===void 0?!1:W,U=n(d,["size","align","className","children","direction","prefixCls","split","style","wrap"]),H=Object(e.a)(),j=m.useMemo(function(){return(Array.isArray(T)?T:[T,T]).map(function(te){return a(te)})},[T]),K=Object(A.a)(j,2),X=K[0],z=K[1],Y=Object(c.a)(I,{keepEmpty:!0}),$=x===void 0&&R==="horizontal"?"center":x,ne=S("space",k),J=p()(ne,"".concat(ne,"-").concat(R),(v={},Object(f.a)(v,"".concat(ne,"-rtl"),E==="rtl"),Object(f.a)(v,"".concat(ne,"-align-").concat($),$),v),_),ge="".concat(ne,"-item"),de=E==="rtl"?"marginLeft":"marginRight",Ie=0,be=Y.map(function(te,ve){return te!=null&&(Ie=ve),m.createElement(l,{className:ge,key:"".concat(ge,"-").concat(ve),direction:R,index:ve,marginDirection:de,split:F,wrap:D},te)}),Ce=m.useMemo(function(){return{horizontalSize:X,verticalSize:z,latestIndex:Ie,supportFlexGap:H}},[X,z,Ie,H]);if(Y.length===0)return null;var je={};return D&&(je.flexWrap="wrap",H||(je.marginBottom=-z)),H&&(je.columnGap=X,je.rowGap=z),m.createElement("div",Object(w.a)({className:J,style:Object(w.a)(Object(w.a)({},je),P)},U),m.createElement(i.Provider,{value:Ce},be))},s=B.b=t},ProS:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("aX58"),m=o("bYtY"),g=o("Qe9p"),p=o("ItGF"),c=o("BPZU"),h=o("H6uX"),l=o("fmMI"),e=o("hD7B"),n=o("IDmD"),i=o("ypgQ"),r=o("+wW9"),a=o("0V0F"),t=o("bLfw"),s=o("T4UG"),u=o("sS/r"),d=o("6Ic6"),v=o("IwbS"),y=o("4NO4"),S=o("iLNv"),b=S.throttle,E=o("/WM3"),C=o("uAnK"),T=o("mYwL"),x=o("af/B"),_=o("xTNl"),I=o("8hn6");o("A1Ka");var L=o("7DRL"),R=m.assert,k=m.each,F=m.isFunction,P=m.isObject,W=t.parseClassType,D="4.8.0",U={zrender:"4.3.1"},H=1,j=1e3,K=800,X=900,z=5e3,Y=1e3,$=1100,ne=2e3,J=3e3,ge=3500,de=4e3,Ie=5e3,be={PROCESSOR:{FILTER:j,SERIES_FILTER:K,STATISTIC:z},VISUAL:{LAYOUT:Y,PROGRESSIVE_LAYOUT:$,GLOBAL:ne,CHART:J,POST_CHART_LAYOUT:ge,COMPONENT:de,BRUSH:Ie}},Ce="__flagInMainProcess",je="__optionUpdated",te=/^[a-zA-Z0-9_]+$/;function ve(Ft,cr){return function(Cr,Fr,Wr){if(!cr&&this._disposed){wt(this.id);return}Cr=Cr&&Cr.toLowerCase(),h.prototype[Ft].call(this,Cr,Fr,Wr)}}function $e(){h.call(this)}$e.prototype.on=ve("on",!0),$e.prototype.off=ve("off",!0),$e.prototype.one=ve("one",!0),m.mixin($e,h);function Le(Ft,cr,Cr){Cr=Cr||{},typeof cr=="string"&&(cr=tt[cr]),this.id,this.group,this._dom=Ft;var Fr="canvas",Wr=this._zr=A.init(Ft,{renderer:Cr.renderer||Fr,devicePixelRatio:Cr.devicePixelRatio,width:Cr.width,height:Cr.height});this._throttledZrFlush=b(m.bind(Wr.flush,Wr),17);var cr=m.clone(cr);cr&&r(cr,!0),this._theme=cr,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new n;var An=this._api=Xe(this);function bn(Sn,kn){return Sn.__prio-kn.__prio}c(bt,bn),c(xe,bn),this._scheduler=new x(this,An,xe,bt),h.call(this,this._ecEventProcessor=new q),this._messageCenter=new $e,this._initEvents(),this.resize=m.bind(this.resize,this),this._pendingActions=[],Wr.animation.on("frame",this._onframe,this),_e(Wr,this),m.setAsPrimitive(this)}var he=Le.prototype;he._onframe=function(){if(this._disposed)return;var Ft=this._scheduler;if(this[je]){var cr=this[je].silent;this[Ce]=!0,Ue(this),se.update.call(this),this[Ce]=!1,this[je]=!1,ae.call(this,cr),ce.call(this,cr)}else if(Ft.unfinished){var Cr=H,Fr=this._model,Wr=this._api;Ft.unfinished=!1;do{var An=+new Date;Ft.performSeriesTasks(Fr),Ft.performDataProcessorTasks(Fr),Ne(this,Fr),Ft.performVisualTasks(Fr),mt(this,this._model,Wr,"remain"),Cr-=+new Date-An}while(Cr>0&&Ft.unfinished);Ft.unfinished||this._zr.flush()}},he.getDom=function(){return this._dom},he.getZr=function(){return this._zr},he.setOption=function(Ft,cr,Cr){if(this._disposed){wt(this.id);return}var Fr;if(P(cr)&&(Cr=cr.lazyUpdate,Fr=cr.silent,cr=cr.notMerge),this[Ce]=!0,!this._model||cr){var Wr=new i(this._api),An=this._theme,bn=this._model=new l;bn.scheduler=this._scheduler,bn.init(null,null,An,Wr)}this._model.setOption(Ft,re),Cr?(this[je]={silent:Fr},this[Ce]=!1):(Ue(this),se.update.call(this),this._zr.flush(),this[je]=!1,this[Ce]=!1,ae.call(this,Fr),ce.call(this,Fr))},he.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},he.getModel=function(){return this._model},he.getOption=function(){return this._model&&this._model.getOption()},he.getWidth=function(){return this._zr.getWidth()},he.getHeight=function(){return this._zr.getHeight()},he.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},he.getRenderedCanvas=function(Ft){if(!p.canvasSupported)return;Ft=Ft||{},Ft.pixelRatio=Ft.pixelRatio||1,Ft.backgroundColor=Ft.backgroundColor||this._model.get("backgroundColor");var cr=this._zr;return cr.painter.getRenderedCanvas(Ft)},he.getSvgDataURL=function(){if(!p.svgSupported)return;var Ft=this._zr,cr=Ft.storage.getDisplayList();return m.each(cr,function(Cr){Cr.stopAnimation(!0)}),Ft.painter.toDataURL()},he.getDataURL=function(Ft){if(this._disposed){wt(this.id);return}Ft=Ft||{};var cr=Ft.excludeComponents,Cr=this._model,Fr=[],Wr=this;k(cr,function(bn){Cr.eachComponent({mainType:bn},function(Sn){var kn=Wr._componentsMap[Sn.__viewId];kn.group.ignore||(Fr.push(kn),kn.group.ignore=!0)})});var An=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(Ft).toDataURL("image/"+(Ft&&Ft.type||"png"));return k(Fr,function(bn){bn.group.ignore=!1}),An},he.getConnectedDataURL=function(Ft){if(this._disposed){wt(this.id);return}if(!p.canvasSupported)return;var cr=Ft.type==="svg",Cr=this.group,Fr=Math.min,Wr=Math.max,An=Infinity;if(lr[Cr]){var bn=An,Sn=An,kn=-An,ei=-An,Jn=[],ai=Ft&&Ft.pixelRatio||1;m.each(Gt,function(Qe,Ve){if(Qe.group===Cr){var Ye=cr?Qe.getZr().painter.getSvgDom().innerHTML:Qe.getRenderedCanvas(m.clone(Ft)),pt=Qe.getDom().getBoundingClientRect();bn=Fr(pt.left,bn),Sn=Fr(pt.top,Sn),kn=Wr(pt.right,kn),ei=Wr(pt.bottom,ei),Jn.push({dom:Ye,left:pt.left,top:pt.top})}}),bn*=ai,Sn*=ai,kn*=ai,ei*=ai;var ii=kn-bn,qe=ei-Sn,Se=m.createCanvas(),Me=A.init(Se,{renderer:cr?"svg":"canvas"});if(Me.resize({width:ii,height:qe}),cr){var Be="";return k(Jn,function(Qe){var Ve=Qe.left-bn,Ye=Qe.top-Sn;Be+='<g transform="translate('+Ve+","+Ye+')">'+Qe.dom+"</g>"}),Me.painter.getSvgRoot().innerHTML=Be,Ft.connectedBackgroundColor&&Me.painter.setBackgroundColor(Ft.connectedBackgroundColor),Me.refreshImmediately(),Me.painter.toDataURL()}else return Ft.connectedBackgroundColor&&Me.add(new v.Rect({shape:{x:0,y:0,width:ii,height:qe},style:{fill:Ft.connectedBackgroundColor}})),k(Jn,function(Qe){var Ve=new v.Image({style:{x:Qe.left*ai-bn,y:Qe.top*ai-Sn,image:Qe.dom}});Me.add(Ve)}),Me.refreshImmediately(),Se.toDataURL("image/"+(Ft&&Ft.type||"png"))}else return this.getDataURL(Ft)},he.convertToPixel=m.curry(ee,"convertToPixel"),he.convertFromPixel=m.curry(ee,"convertFromPixel");function ee(Ft,cr,Cr){if(this._disposed){wt(this.id);return}var Fr=this._model,Wr=this._coordSysMgr.getCoordinateSystems(),An;cr=y.parseFinder(Fr,cr);for(var bn=0;bn<Wr.length;bn++){var Sn=Wr[bn];if(Sn[Ft]&&(An=Sn[Ft](Fr,cr,Cr))!=null)return An}}he.containPixel=function(Ft,cr){if(this._disposed){wt(this.id);return}var Cr=this._model,Fr;return Ft=y.parseFinder(Cr,Ft),m.each(Ft,function(Wr,An){An.indexOf("Models")>=0&&m.each(Wr,function(bn){var Sn=bn.coordinateSystem;if(Sn&&Sn.containPoint)Fr|=!!Sn.containPoint(cr);else if(An==="seriesModels"){var kn=this._chartsMap[bn.__viewId];kn&&kn.containPoint&&(Fr|=kn.containPoint(cr,bn))}},this)},this),!!Fr},he.getVisual=function(Ft,cr){var Cr=this._model;Ft=y.parseFinder(Cr,Ft,{defaultMainType:"series"});var Fr=Ft.seriesModel,Wr=Fr.getData(),An=Ft.hasOwnProperty("dataIndexInside")?Ft.dataIndexInside:Ft.hasOwnProperty("dataIndex")?Wr.indexOfRawIndex(Ft.dataIndex):null;return An!=null?Wr.getItemVisual(An,cr):Wr.getVisual(cr)},he.getViewOfComponentModel=function(Ft){return this._componentsMap[Ft.__viewId]},he.getViewOfSeriesModel=function(Ft){return this._chartsMap[Ft.__viewId]};var se={prepareAndUpdate:function(Ft){Ue(this),se.update.call(this,Ft)},update:function(Ft){var cr=this._model,Cr=this._api,Fr=this._zr,Wr=this._coordSysMgr,An=this._scheduler;if(!cr)return;An.restoreData(cr,Ft),An.performSeriesTasks(cr),Wr.create(cr,Cr),An.performDataProcessorTasks(cr,Ft),Ne(this,cr),Wr.update(cr,Cr),it(cr),An.performVisualTasks(cr,Ft),Ze(this,cr,Cr,Ft);var bn=cr.get("backgroundColor")||"transparent";if(p.canvasSupported)Fr.setBackgroundColor(bn);else{var Sn=g.parse(bn);bn=g.stringify(Sn,"rgb"),Sn[3]===0&&(bn="transparent")}Je(cr,Cr)},updateTransform:function(Ft){var cr=this._model,Cr=this,Fr=this._api;if(!cr)return;var Wr=[];cr.eachComponent(function(bn,Sn){var kn=Cr.getViewOfComponentModel(Sn);if(kn&&kn.__alive)if(kn.updateTransform){var ei=kn.updateTransform(Sn,cr,Fr,Ft);ei&&ei.update&&Wr.push(kn)}else Wr.push(kn)});var An=m.createHashMap();cr.eachSeries(function(bn){var Sn=Cr._chartsMap[bn.__viewId];if(Sn.updateTransform){var kn=Sn.updateTransform(bn,cr,Fr,Ft);kn&&kn.update&&An.set(bn.uid,1)}else An.set(bn.uid,1)}),it(cr),this._scheduler.performVisualTasks(cr,Ft,{setDirty:!0,dirtyMap:An}),mt(Cr,cr,Fr,Ft,An),Je(cr,this._api)},updateView:function(Ft){var cr=this._model;if(!cr)return;d.markUpdateMethod(Ft,"updateView"),it(cr),this._scheduler.performVisualTasks(cr,Ft,{setDirty:!0}),Ze(this,this._model,this._api,Ft),Je(cr,this._api)},updateVisual:function(Ft){se.update.call(this,Ft)},updateLayout:function(Ft){se.update.call(this,Ft)}};function Ue(Ft){var cr=Ft._model,Cr=Ft._scheduler;Cr.restorePipelines(cr),Cr.prepareStageTasks(),ze(Ft,"component",cr,Cr),ze(Ft,"chart",cr,Cr),Cr.plan()}function ue(Ft,cr,Cr,Fr,Wr){var An=Ft._model;if(!Fr){k(Ft._componentsViews.concat(Ft._chartsViews),ei);return}var bn={};bn[Fr+"Id"]=Cr[Fr+"Id"],bn[Fr+"Index"]=Cr[Fr+"Index"],bn[Fr+"Name"]=Cr[Fr+"Name"];var Sn={mainType:Fr,query:bn};Wr&&(Sn.subType=Wr);var kn=Cr.excludeSeriesId;kn!=null&&(kn=m.createHashMap(y.normalizeToArray(kn))),An&&An.eachComponent(Sn,function(Jn){(!kn||kn.get(Jn.id)==null)&&ei(Ft[Fr==="series"?"_chartsMap":"_componentsMap"][Jn.__viewId])},Ft);function ei(Jn){Jn&&Jn.__alive&&Jn[cr]&&Jn[cr](Jn.__model,An,Ft._api,Cr)}}he.resize=function(Ft){if(this._disposed){wt(this.id);return}this._zr.resize(Ft);var cr=this._model;if(this._loadingFX&&this._loadingFX.resize(),!cr)return;var Cr=cr.resetOption("media"),Fr=Ft&&Ft.silent;this[Ce]=!0,Cr&&Ue(this),se.update.call(this),this[Ce]=!1,ae.call(this,Fr),ce.call(this,Fr)};function Ne(Ft,cr){var Cr=Ft._chartsMap,Fr=Ft._scheduler;cr.eachSeries(function(Wr){Fr.updateStreamModes(Wr,Cr[Wr.__viewId])})}he.showLoading=function(Ft,cr){if(this._disposed){wt(this.id);return}if(P(Ft)&&(cr=Ft,Ft=""),Ft=Ft||"default",this.hideLoading(),!Tt[Ft])return;var Cr=Tt[Ft](this._api,cr),Fr=this._zr;this._loadingFX=Cr,Fr.add(Cr)},he.hideLoading=function(){if(this._disposed){wt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},he.makeActionFromEvent=function(Ft){var cr=m.extend({},Ft);return cr.type=Ae[Ft.type],cr},he.dispatchAction=function(Ft,cr){if(this._disposed){wt(this.id);return}if(P(cr)||(cr={silent:!!cr}),!V[Ft.type])return;if(!this._model)return;if(this[Ce]){this._pendingActions.push(Ft);return}Fe.call(this,Ft,cr.silent),cr.flush?this._zr.flush(!0):cr.flush!==!1&&p.browser.weChat&&this._throttledZrFlush(),ae.call(this,cr.silent),ce.call(this,cr.silent)};function Fe(Ft,cr){var Cr=Ft.type,Fr=Ft.escapeConnect,Wr=V[Cr],An=Wr.actionInfo,bn=(An.update||"update").split(":"),Sn=bn.pop();bn=bn[0]!=null&&W(bn[0]),this[Ce]=!0;var kn=[Ft],ei=!1;Ft.batch&&(ei=!0,kn=m.map(Ft.batch,function(qe){return qe=m.defaults(m.extend({},qe),Ft),qe.batch=null,qe}));var Jn=[],ai,ii=Cr==="highlight"||Cr==="downplay";k(kn,function(qe){ai=Wr.action(qe,this._model,this._api),ai=ai||m.extend({},qe),ai.type=An.event||ai.type,Jn.push(ai),ii?ue(this,Sn,qe,"series"):bn&&ue(this,Sn,qe,bn.main,bn.sub)},this),Sn!=="none"&&!ii&&!bn&&(this[je]?(Ue(this),se.update.call(this,Ft),this[je]=!1):se[Sn].call(this,Ft)),ei?ai={type:An.event||Cr,escapeConnect:Fr,batch:Jn}:ai=Jn[0],this[Ce]=!1,!cr&&this._messageCenter.trigger(ai.type,ai)}function ae(Ft){for(var cr=this._pendingActions;cr.length;){var Cr=cr.shift();Fe.call(this,Cr,Ft)}}function ce(Ft){!Ft&&this.trigger("updated")}function _e(Ft,cr){Ft.on("rendered",function(){cr.trigger("rendered"),Ft.animation.isFinished()&&!cr[je]&&!cr._scheduler.unfinished&&!cr._pendingActions.length&&cr.trigger("finished")})}he.appendData=function(Ft){if(this._disposed){wt(this.id);return}var cr=Ft.seriesIndex,Cr=this.getModel(),Fr=Cr.getSeriesByIndex(cr);Fr.appendData(Ft),this._scheduler.unfinished=!0},he.on=ve("on",!1),he.off=ve("off",!1),he.one=ve("one",!1);function ze(Ft,cr,Cr,Fr){for(var Wr=cr==="component",An=Wr?Ft._componentsViews:Ft._chartsViews,bn=Wr?Ft._componentsMap:Ft._chartsMap,Sn=Ft._zr,kn=Ft._api,ei=0;ei<An.length;ei++)An[ei].__alive=!1;Wr?Cr.eachComponent(function(ii,qe){ii!=="series"&&Jn(qe)}):Cr.eachSeries(Jn);function Jn(ii){var qe="_ec_"+ii.id+"_"+ii.type,Se=bn[qe];if(!Se){var Me=W(ii.type),Be=Wr?u.getClass(Me.main,Me.sub):d.getClass(Me.sub);Se=new Be,Se.init(Cr,kn),bn[qe]=Se,An.push(Se),Sn.add(Se.group)}ii.__viewId=Se.__id=qe,Se.__alive=!0,Se.__model=ii,Se.group.__ecComponentInfo={mainType:ii.mainType,index:ii.componentIndex},!Wr&&Fr.prepareView(Se,ii,Cr,kn)}for(var ei=0;ei<An.length;){var ai=An[ei];ai.__alive?ei++:(!Wr&&ai.renderTask.dispose(),Sn.remove(ai.group),ai.dispose(Cr,kn),An.splice(ei,1),delete bn[ai.__id],ai.__id=ai.group.__ecComponentInfo=null)}}function it(Ft){Ft.clearColorPalette(),Ft.eachSeries(function(cr){cr.clearColorPalette()})}function Ze(Ft,cr,Cr,Fr){Ee(Ft,cr,Cr,Fr),k(Ft._chartsViews,function(Wr){Wr.__alive=!1}),mt(Ft,cr,Cr,Fr),k(Ft._chartsViews,function(Wr){Wr.__alive||Wr.remove(cr,Cr)})}function Ee(Ft,cr,Cr,Fr,Wr){k(Wr||Ft._componentsViews,function(An){var bn=An.__model;An.render(bn,cr,Cr,Fr),Dt(bn,An)})}function mt(Ft,cr,Cr,Fr,Wr){var An=Ft._scheduler,bn;cr.eachSeries(function(Sn){var kn=Ft._chartsMap[Sn.__viewId];kn.__alive=!0;var ei=kn.renderTask;An.updatePayload(ei,Fr),Wr&&Wr.get(Sn.uid)&&ei.dirty(),bn|=ei.perform(An.getPerformArgs(ei)),kn.group.silent=!!Sn.get("silent"),Dt(Sn,kn),Ct(Sn,kn)}),An.unfinished|=bn,Ot(Ft,cr),C(Ft._zr.dom,cr)}function Je(Ft,cr){k(ot,function(Cr){Cr(Ft,cr)})}var rt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];he._initEvents=function(){k(rt,function(Ft){var cr=function(Cr){var Fr=this.getModel(),Wr=Cr.target,An,bn=Ft==="globalout";if(bn)An={};else if(Wr&&Wr.dataIndex!=null){var Sn=Wr.dataModel||Fr.getSeriesByIndex(Wr.seriesIndex);An=Sn&&Sn.getDataParams(Wr.dataIndex,Wr.dataType,Wr)||{}}else Wr&&Wr.eventData&&(An=m.extend({},Wr.eventData));if(An){var kn=An.componentType,ei=An.componentIndex;(kn==="markLine"||kn==="markPoint"||kn==="markArea")&&(kn="series",ei=An.seriesIndex);var Jn=kn&&ei!=null&&Fr.getComponent(kn,ei),ai=Jn&&this[Jn.mainType==="series"?"_chartsMap":"_componentsMap"][Jn.__viewId];An.event=Cr,An.type=Ft,this._ecEventProcessor.eventInfo={targetEl:Wr,packedEvent:An,model:Jn,view:ai},this.trigger(Ft,An)}};cr.zrEventfulCallAtLast=!0,this._zr.on(Ft,cr,this)},this),k(Ae,function(Ft,cr){this._messageCenter.on(cr,function(Cr){this.trigger(cr,Cr)},this)},this)},he.isDisposed=function(){return this._disposed},he.clear=function(){if(this._disposed){wt(this.id);return}this.setOption({series:[]},!0)},he.dispose=function(){if(this._disposed){wt(this.id);return}this._disposed=!0,y.setAttribute(this.getDom(),xt,"");var Ft=this._api,cr=this._model;k(this._componentsViews,function(Cr){Cr.dispose(cr,Ft)}),k(this._chartsViews,function(Cr){Cr.dispose(cr,Ft)}),this._zr.dispose(),delete Gt[this.id]},m.mixin(Le,h);function wt(Ft){}function Ot(Ft,cr){var Cr=Ft._zr,Fr=Cr.storage,Wr=0;Fr.traverse(function(An){Wr++}),Wr>cr.get("hoverLayerThreshold")&&!p.node&&cr.eachSeries(function(An){if(An.preventUsingHoverLayer)return;var bn=Ft._chartsMap[An.__viewId];bn.__alive&&bn.group.traverse(function(Sn){Sn.useHoverLayer=!0})})}function Ct(Ft,cr){var Cr=Ft.get("blendMode")||null;cr.group.traverse(function(Fr){Fr.isGroup||Fr.style.blend!==Cr&&Fr.setStyle("blend",Cr),Fr.eachPendingDisplayable&&Fr.eachPendingDisplayable(function(Wr){Wr.setStyle("blend",Cr)})})}function Dt(Ft,cr){var Cr=Ft.get("z"),Fr=Ft.get("zlevel");cr.group.traverse(function(Wr){Wr.type!=="group"&&(Cr!=null&&(Wr.z=Cr),Fr!=null&&(Wr.zlevel=Fr))})}function Xe(Ft){var cr=Ft._coordSysMgr;return m.extend(new e(Ft),{getCoordinateSystems:m.bind(cr.getCoordinateSystems,cr),getComponentByElement:function(Cr){for(;Cr;){var Fr=Cr.__ecComponentInfo;if(Fr!=null)return Ft._model.getComponent(Fr.mainType,Fr.index);Cr=Cr.parent}}})}function q(){this.eventInfo}q.prototype={constructor:q,normalizeQuery:function(Ft){var cr={},Cr={},Fr={};if(m.isString(Ft)){var Wr=W(Ft);cr.mainType=Wr.main||null,cr.subType=Wr.sub||null}else{var An=["Index","Name","Id"],bn={name:1,dataIndex:1,dataType:1};m.each(Ft,function(Sn,kn){for(var ei=!1,Jn=0;Jn<An.length;Jn++){var ai=An[Jn],ii=kn.lastIndexOf(ai);if(ii>0&&ii===kn.length-ai.length){var qe=kn.slice(0,ii);qe!=="data"&&(cr.mainType=qe,cr[ai.toLowerCase()]=Sn,ei=!0)}}bn.hasOwnProperty(kn)&&(Cr[kn]=Sn,ei=!0),ei||(Fr[kn]=Sn)})}return{cptQuery:cr,dataQuery:Cr,otherQuery:Fr}},filter:function(Ft,cr,Cr){var Fr=this.eventInfo;if(!Fr)return!0;var Wr=Fr.targetEl,An=Fr.packedEvent,bn=Fr.model,Sn=Fr.view;if(!bn||!Sn)return!0;var kn=cr.cptQuery,ei=cr.dataQuery;return Jn(kn,bn,"mainType")&&Jn(kn,bn,"subType")&&Jn(kn,bn,"index","componentIndex")&&Jn(kn,bn,"name")&&Jn(kn,bn,"id")&&Jn(ei,An,"name")&&Jn(ei,An,"dataIndex")&&Jn(ei,An,"dataType")&&(!Sn.filterForExposedEvent||Sn.filterForExposedEvent(Ft,cr.otherQuery,Wr,An));function Jn(ai,ii,qe,Se){return ai[qe]==null||ii[Se||qe]===ai[qe]}},afterTrigger:function(){this.eventInfo=null}};var V={},Ae={},xe=[],re=[],ot=[],bt=[],tt={},Tt={},Gt={},lr={},pr=new Date-0,Rr=new Date-0,xt="_echarts_instance_";function It(Ft){var cr=0,Cr=1,Fr=2,Wr="__connectUpdateStatus";function An(bn,Sn){for(var kn=0;kn<bn.length;kn++){var ei=bn[kn];ei[Wr]=Sn}}k(Ae,function(bn,Sn){Ft._messageCenter.on(Sn,function(kn){if(lr[Ft.group]&&Ft[Wr]!==cr){if(kn&&kn.escapeConnect)return;var ei=Ft.makeActionFromEvent(kn),Jn=[];k(Gt,function(ai){ai!==Ft&&ai.group===Ft.group&&Jn.push(ai)}),An(Jn,cr),k(Jn,function(ai){ai[Wr]!==Cr&&ai.dispatchAction(ei)}),An(Jn,Fr)}})})}function At(Ft,cr,Cr){var Fr=In(Ft);if(Fr)return Fr;var Wr=new Le(Ft,cr,Cr);return Wr.id="ec_"+pr++,Gt[Wr.id]=Wr,y.setAttribute(Ft,xt,Wr.id),It(Wr),Wr}function Zt(Ft){if(m.isArray(Ft)){var cr=Ft;Ft=null,k(cr,function(Cr){Cr.group!=null&&(Ft=Cr.group)}),Ft=Ft||"g_"+Rr++,k(cr,function(Cr){Cr.group=Ft})}return lr[Ft]=!0,Ft}function br(Ft){lr[Ft]=!1}var Lr=br;function Jr(Ft){typeof Ft=="string"?Ft=Gt[Ft]:Ft instanceof Le||(Ft=In(Ft)),Ft instanceof Le&&!Ft.isDisposed()&&Ft.dispose()}function In(Ft){return Gt[y.getAttribute(Ft,xt)]}function Gr(Ft){return Gt[Ft]}function Tr(Ft,cr){tt[Ft]=cr}function fr(Ft){re.push(Ft)}function vt(Ft,cr){$t(xe,Ft,cr,j)}function ft(Ft){ot.push(Ft)}function Te(Ft,cr,Cr){typeof cr=="function"&&(Cr=cr,cr="");var Fr=P(Ft)?Ft.type:[Ft,Ft={event:cr}][0];Ft.event=(Ft.event||Fr).toLowerCase(),cr=Ft.event,R(te.test(Fr)&&te.test(cr)),V[Fr]||(V[Fr]={action:Cr,actionInfo:Ft}),Ae[cr]=Fr}function Pe(Ft,cr){n.register(Ft,cr)}function Ge(Ft){var cr=n.get(Ft);if(cr)return cr.getDimensionsInfo?cr.getDimensionsInfo():cr.dimensions.slice()}function st(Ft,cr){$t(bt,Ft,cr,Y,"layout")}function Bt(Ft,cr){$t(bt,Ft,cr,J,"visual")}function $t(Ft,cr,Cr,Fr,Wr){(F(cr)||P(cr))&&(Cr=cr,cr=Fr);var An=x.wrapStageHandler(Cr,Wr);return An.__prio=cr,An.__raw=Cr,Ft.push(An),An}function Nr(Ft,cr){Tt[Ft]=cr}function yn(Ft){return t.extend(Ft)}function un(Ft){return u.extend(Ft)}function Kt(Ft){return s.extend(Ft)}function St(Ft){return d.extend(Ft)}function kt(Ft){m.$override("createCanvas",Ft)}function Jt(Ft,cr,Cr){L.registerMap(Ft,cr,Cr)}function Br(Ft){var cr=L.retrieveMap(Ft);return cr&&cr[0]&&{geoJson:cr[0].geoJSON,specialAreas:cr[0].specialAreas}}Bt(ne,E),fr(r),vt(X,a),Nr("default",T),Te({type:"highlight",event:"highlight",update:"highlight"},m.noop),Te({type:"downplay",event:"downplay",update:"downplay"},m.noop),Tr("light",_),Tr("dark",I);var Hr={};B.version=D,B.dependencies=U,B.PRIORITY=be,B.init=At,B.connect=Zt,B.disConnect=br,B.disconnect=Lr,B.dispose=Jr,B.getInstanceByDom=In,B.getInstanceById=Gr,B.registerTheme=Tr,B.registerPreprocessor=fr,B.registerProcessor=vt,B.registerPostUpdate=ft,B.registerAction=Te,B.registerCoordinateSystem=Pe,B.getCoordinateSystemDimensions=Ge,B.registerLayout=st,B.registerVisual=Bt,B.registerLoading=Nr,B.extendComponentModel=yn,B.extendComponentView=un,B.extendSeriesModel=Kt,B.extendChartView=St,B.setCanvasCreator=kt,B.registerMap=Jt,B.getMap=Br,B.dataTool=Hr;var $r=o("txkQ");(function(){for(var Ft in $r)$r.hasOwnProperty(Ft)&&(B[Ft]=$r[Ft])})()},"Pv/L":function(M,B,o){"use strict";o.d(B,"a",function(){return g});var w=o("+kx5"),f=o("Y9hK"),A=o("Qw5x"),m=o("u6e6");function g(p){return Object(w.a)(p)||Object(f.a)(p)||Object(A.a)(p)||Object(m.a)()}},Q7if:function(M,B,o){var w=o("JEkh"),f=w.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"}}}});M.exports=f},QBsz:function(M,B){var o=typeof Float32Array=="undefined"?Array:Float32Array;function w(x,_){var I=new o(2);return x==null&&(x=0),_==null&&(_=0),I[0]=x,I[1]=_,I}function f(x,_){return x[0]=_[0],x[1]=_[1],x}function A(x){var _=new o(2);return _[0]=x[0],_[1]=x[1],_}function m(x,_,I){return x[0]=_,x[1]=I,x}function g(x,_,I){return x[0]=_[0]+I[0],x[1]=_[1]+I[1],x}function p(x,_,I,L){return x[0]=_[0]+I[0]*L,x[1]=_[1]+I[1]*L,x}function c(x,_,I){return x[0]=_[0]-I[0],x[1]=_[1]-I[1],x}function h(x){return Math.sqrt(e(x))}var l=h;function e(x){return x[0]*x[0]+x[1]*x[1]}var n=e;function i(x,_,I){return x[0]=_[0]*I[0],x[1]=_[1]*I[1],x}function r(x,_,I){return x[0]=_[0]/I[0],x[1]=_[1]/I[1],x}function a(x,_){return x[0]*_[0]+x[1]*_[1]}function t(x,_,I){return x[0]=_[0]*I,x[1]=_[1]*I,x}function s(x,_){var I=h(_);return I===0?(x[0]=0,x[1]=0):(x[0]=_[0]/I,x[1]=_[1]/I),x}function u(x,_){return Math.sqrt((x[0]-_[0])*(x[0]-_[0])+(x[1]-_[1])*(x[1]-_[1]))}var d=u;function v(x,_){return(x[0]-_[0])*(x[0]-_[0])+(x[1]-_[1])*(x[1]-_[1])}var y=v;function S(x,_){return x[0]=-_[0],x[1]=-_[1],x}function b(x,_,I,L){return x[0]=_[0]+L*(I[0]-_[0]),x[1]=_[1]+L*(I[1]-_[1]),x}function E(x,_,I){var L=_[0],R=_[1];return x[0]=I[0]*L+I[2]*R+I[4],x[1]=I[1]*L+I[3]*R+I[5],x}function C(x,_,I){return x[0]=Math.min(_[0],I[0]),x[1]=Math.min(_[1],I[1]),x}function T(x,_,I){return x[0]=Math.max(_[0],I[0]),x[1]=Math.max(_[1],I[1]),x}B.create=w,B.copy=f,B.clone=A,B.set=m,B.add=g,B.scaleAndAdd=p,B.sub=c,B.len=h,B.length=l,B.lenSquare=e,B.lengthSquare=n,B.mul=i,B.div=r,B.dot=a,B.scale=t,B.normalize=s,B.distance=u,B.dist=d,B.distanceSquare=v,B.distSquare=y,B.negate=S,B.lerp=b,B.applyTransform=E,B.min=C,B.max=T},"QO+J":function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.createSensor=void 0;var w=A(o("NohK")),f=o("24YM");function A(g){return g&&g.__esModule?g:{default:g}}var m=function(p){var c=void 0,h=[],l=function(){getComputedStyle(p).position==="static"&&(p.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",e),e()},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",p.appendChild(t),t.data="about:blank",t},e=(0,w.default)(function(){h.forEach(function(a){a(p)})}),n=function(t){c||(c=l()),h.indexOf(t)===-1&&h.push(t)},i=function(){c&&c.parentNode&&(c.contentDocument&&c.contentDocument.defaultView.removeEventListener("resize",e),c.parentNode.removeChild(c),c=void 0,h=[])},r=function(t){var s=h.indexOf(t);s!==-1&&h.splice(s,1),h.length===0&&c&&i()};return{element:p,bind:n,destroy:i,unbind:r}};B.createSensor=m},"QQZ/":function(M,B,o){var w=o("Sq3C"),f=o("Z1HP"),A=o("Sxd8"),m=o("dt0z");function g(p,c,h){p=m(p),c=A(c);var l=c?f(p):0;return c&&l<c?w(c-l,h)+p:p}M.exports=g},QUw5:function(M,B,o){var w=o("OlYY"),f=w.extend({type:"dataZoom.select"});M.exports=f},QV2g:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=w;function w(){for(var m,g=[],p=0;p<256;p++){m=p;for(var c=0;c<8;c++)m=m&1?3988292384^m>>>1:m>>>1;g[p]=m}return g}var f=w();function A(m,g,p,c){var h=f,l=c+p;m^=-1;for(var e=c;e<l;e++)m=m>>>8^h[(m^g[e])&255];return m^-1}},Qe9p:function(M,B,o){var w=o("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 A(_){return _=Math.round(_),_<0?0:_>255?255:_}function m(_){return _=Math.round(_),_<0?0:_>360?360:_}function g(_){return _<0?0:_>1?1:_}function p(_){return _.length&&_.charAt(_.length-1)==="%"?A(parseFloat(_)/100*255):A(parseInt(_,10))}function c(_){return _.length&&_.charAt(_.length-1)==="%"?g(parseFloat(_)/100):g(parseFloat(_))}function h(_,I,L){return L<0?L+=1:L>1&&(L-=1),L*6<1?_+(I-_)*L*6:L*2<1?I:L*3<2?_+(I-_)*(2/3-L)*6:_}function l(_,I,L){return _+(I-_)*L}function e(_,I,L,R,k){return _[0]=I,_[1]=L,_[2]=R,_[3]=k,_}function n(_,I){return _[0]=I[0],_[1]=I[1],_[2]=I[2],_[3]=I[3],_}var i=new w(20),r=null;function a(_,I){r&&n(r,I),r=i.put(_,r||I.slice())}function t(_,I){if(!_)return;I=I||[];var L=i.get(_);if(L)return n(I,L);_=_+"";var R=_.replace(/ /g,"").toLowerCase();if(R in f)return n(I,f[R]),a(_,I),I;if(R.charAt(0)==="#"){if(R.length===4){var k=parseInt(R.substr(1),16);if(!(k>=0&&k<=4095)){e(I,0,0,0,1);return}return e(I,(k&3840)>>4|(k&3840)>>8,k&240|(k&240)>>4,k&15|(k&15)<<4,1),a(_,I),I}else if(R.length===7){var k=parseInt(R.substr(1),16);if(!(k>=0&&k<=16777215)){e(I,0,0,0,1);return}return e(I,(k&16711680)>>16,(k&65280)>>8,k&255,1),a(_,I),I}return}var F=R.indexOf("("),P=R.indexOf(")");if(F!==-1&&P+1===R.length){var W=R.substr(0,F),D=R.substr(F+1,P-(F+1)).split(","),U=1;switch(W){case"rgba":if(D.length!==4){e(I,0,0,0,1);return}U=c(D.pop());case"rgb":if(D.length!==3){e(I,0,0,0,1);return}return e(I,p(D[0]),p(D[1]),p(D[2]),U),a(_,I),I;case"hsla":if(D.length!==4){e(I,0,0,0,1);return}return D[3]=c(D[3]),s(D,I),a(_,I),I;case"hsl":if(D.length!==3){e(I,0,0,0,1);return}return s(D,I),a(_,I),I;default:return}}e(I,0,0,0,1);return}function s(_,I){var L=(parseFloat(_[0])%360+360)%360/360,R=c(_[1]),k=c(_[2]),F=k<=.5?k*(R+1):k+R-k*R,P=k*2-F;return I=I||[],e(I,A(h(P,F,L+1/3)*255),A(h(P,F,L)*255),A(h(P,F,L-1/3)*255),1),_.length===4&&(I[3]=_[3]),I}function u(_){if(!_)return;var I=_[0]/255,L=_[1]/255,R=_[2]/255,k=Math.min(I,L,R),F=Math.max(I,L,R),P=F-k,W=(F+k)/2,D,U;if(P===0)D=0,U=0;else{W<.5?U=P/(F+k):U=P/(2-F-k);var H=((F-I)/6+P/2)/P,j=((F-L)/6+P/2)/P,K=((F-R)/6+P/2)/P;I===F?D=K-j:L===F?D=1/3+H-K:R===F&&(D=2/3+j-H),D<0&&(D+=1),D>1&&(D-=1)}var X=[D*360,U,W];return _[3]!=null&&X.push(_[3]),X}function d(_,I){var L=t(_);if(L){for(var R=0;R<3;R++)I<0?L[R]=L[R]*(1-I)|0:L[R]=(255-L[R])*I+L[R]|0,L[R]>255?L[R]=255:_[R]<0&&(L[R]=0);return x(L,L.length===4?"rgba":"rgb")}}function v(_){var I=t(_);if(I)return((1<<24)+(I[0]<<16)+(I[1]<<8)+ +I[2]).toString(16).slice(1)}function y(_,I,L){if(!(I&&I.length)||!(_>=0&&_<=1))return;L=L||[];var R=_*(I.length-1),k=Math.floor(R),F=Math.ceil(R),P=I[k],W=I[F],D=R-k;return L[0]=A(l(P[0],W[0],D)),L[1]=A(l(P[1],W[1],D)),L[2]=A(l(P[2],W[2],D)),L[3]=g(l(P[3],W[3],D)),L}var S=y;function b(_,I,L){if(!(I&&I.length)||!(_>=0&&_<=1))return;var R=_*(I.length-1),k=Math.floor(R),F=Math.ceil(R),P=t(I[k]),W=t(I[F]),D=R-k,U=x([A(l(P[0],W[0],D)),A(l(P[1],W[1],D)),A(l(P[2],W[2],D)),g(l(P[3],W[3],D))],"rgba");return L?{color:U,leftIndex:k,rightIndex:F,value:R}:U}var E=b;function C(_,I,L,R){if(_=t(_),_)return _=u(_),I!=null&&(_[0]=m(I)),L!=null&&(_[1]=c(L)),R!=null&&(_[2]=c(R)),x(s(_),"rgba")}function T(_,I){if(_=t(_),_&&I!=null)return _[3]=g(I),x(_,"rgba")}function x(_,I){if(!_||!_.length)return;var L=_[0]+","+_[1]+","+_[2];return(I==="rgba"||I==="hsva"||I==="hsla")&&(L+=","+_[3]),I+"("+L+")"}B.parse=t,B.lift=d,B.toHex=v,B.fastLerp=y,B.fastMapToColor=S,B.lerp=b,B.mapToColor=E,B.modifyHSL=C,B.modifyAlpha=T,B.stringify=x},Qo87:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("mXxy")},QuXc:function(M,B){var o=function(A){this.colorStops=A||[]};o.prototype={constructor:o,addColorStop:function(A,m){this.colorStops.push({offset:A,color:m})}};var w=o;M.exports=w},Qvb6:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("ItGF"),m=o("B9fm"),g=o("gvm7"),p=o("7aKB"),c=o("OELB"),h=o("IwbS"),l=o("Ez2D"),e=o("+TT/"),n=o("Qxkt"),i=o("F9bG"),r=o("aX7z"),a=o("/y7N"),t=o("4NO4"),s=t.getTooltipRenderMode,u=f.bind,d=f.each,v=c.parsePercent,y=new h.Rect({shape:{x:-1,y:-1,width:2,height:2}}),S=w.extendComponentView({type:"tooltip",init:function(I,L){if(A.node)return;var R=I.getComponent("tooltip"),k=R.get("renderMode");this._renderMode=s(k);var F;this._renderMode==="html"?(F=new m(L.getDom(),L,{appendToBody:R.get("appendToBody",!0)}),this._newLine="<br/>"):(F=new g(L),this._newLine=`
|
|
|
`),this._tooltipContent=F},render:function(I,L,R){if(A.node)return;this.group.removeAll(),this._tooltipModel=I,this._ecModel=L,this._api=R,this._lastDataByCoordSys=null,this._alwaysShowContent=I.get("alwaysShowContent");var k=this._tooltipContent;k.update(),k.setEnterable(I.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var I=this._tooltipModel,L=I.get("triggerOn");i.register("itemTooltip",this._api,u(function(R,k,F){L!=="none"&&(L.indexOf(R)>=0?this._tryShow(k,F):R==="leave"&&this._hide(F))},this))},_keepShow:function(){var I=this._tooltipModel,L=this._ecModel,R=this._api;if(this._lastX!=null&&this._lastY!=null&&I.get("triggerOn")!=="none"){var k=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!R.isDisposed()&&k.manuallyShowTip(I,L,R,{x:k._lastX,y:k._lastY})})}},manuallyShowTip:function(I,L,R,k){if(k.from===this.uid||A.node)return;var F=E(k,R);this._ticket="";var P=k.dataByCoordSys;if(k.tooltip&&k.x!=null&&k.y!=null){var W=y;W.position=[k.x,k.y],W.update(),W.tooltip=k.tooltip,this._tryShow({offsetX:k.x,offsetY:k.y,target:W},F)}else if(P)this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,dataByCoordSys:k.dataByCoordSys,tooltipOption:k.tooltipOption},F);else if(k.seriesIndex!=null){if(this._manuallyAxisShowTip(I,L,R,k))return;var D=l(k,L),U=D.point[0],H=D.point[1];U!=null&&H!=null&&this._tryShow({offsetX:U,offsetY:H,position:k.position,target:D.el},F)}else k.x!=null&&k.y!=null&&(R.dispatchAction({type:"updateAxisPointer",x:k.x,y:k.y}),this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,target:R.getZr().findHover(k.x,k.y).target},F))},manuallyHideTip:function(I,L,R,k){var F=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&F.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,k.from!==this.uid&&this._hide(E(k,R))},_manuallyAxisShowTip:function(I,L,R,k){var F=k.seriesIndex,P=k.dataIndex,W=L.getComponent("axisPointer").coordSysAxesInfo;if(F==null||P==null||W==null)return;var D=L.getSeriesByIndex(F);if(!D)return;var U=D.getData(),I=b([U.getItemModel(P),D,(D.coordinateSystem||{}).model,I]);return I.get("trigger")!=="axis"?void 0:(R.dispatchAction({type:"updateAxisPointer",seriesIndex:F,dataIndex:P,position:k.position}),!0)},_tryShow:function(I,L){var R=I.target,k=this._tooltipModel;if(!k)return;this._lastX=I.offsetX,this._lastY=I.offsetY;var F=I.dataByCoordSys;F&&F.length?this._showAxisTooltip(F,I):R&&R.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(I,R,L)):R&&R.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(I,R,L)):(this._lastDataByCoordSys=null,this._hide(L))},_showOrMove:function(I,L){var R=I.get("showDelay");L=f.bind(L,this),clearTimeout(this._showTimout),R>0?this._showTimout=setTimeout(L,R):L()},_showAxisTooltip:function(I,L){var R=this._ecModel,k=this._tooltipModel,F=[L.offsetX,L.offsetY],P=[],W=[],D=b([L.tooltipOption,k]),U=this._renderMode,H=this._newLine,j={};d(I,function(X){d(X.dataByAxis,function(z){var Y=R.getComponent(z.axisDim+"Axis",z.axisIndex),$=z.value,ne=[];if(!Y||$==null)return;var J=a.getValueLabel($,Y.axis,R,z.seriesDataIndices,z.valueLabelOpt);f.each(z.seriesDataIndices,function(de){var Ie=R.getSeriesByIndex(de.seriesIndex),be=de.dataIndexInside,Ce=Ie&&Ie.getDataParams(be);if(Ce.axisDim=z.axisDim,Ce.axisIndex=z.axisIndex,Ce.axisType=z.axisType,Ce.axisId=z.axisId,Ce.axisValue=r.getAxisRawValue(Y.axis,$),Ce.axisValueLabel=J,Ce){W.push(Ce);var je=Ie.formatTooltip(be,!0,null,U),te;if(f.isObject(je)){te=je.html;var ve=je.markers;f.merge(j,ve)}else te=je;ne.push(te)}});var ge=J;U!=="html"?P.push(ne.join(H)):P.push((ge?p.encodeHTML(ge)+H:"")+ne.join(H))})},this),P.reverse(),P=P.join(this._newLine+this._newLine);var K=L.position;this._showOrMove(D,function(){this._updateContentNotChangedOnAxis(I)?this._updatePosition(D,K,F[0],F[1],this._tooltipContent,W):this._showTooltipContent(D,P,W,Math.random(),F[0],F[1],K,void 0,j)})},_showSeriesItemTooltip:function(I,L,R){var k=this._ecModel,F=L.seriesIndex,P=k.getSeriesByIndex(F),W=L.dataModel||P,D=L.dataIndex,U=L.dataType,H=W.getData(U),j=b([H.getItemModel(D),W,P&&(P.coordinateSystem||{}).model,this._tooltipModel]),K=j.get("trigger");if(K!=null&&K!=="item")return;var X=W.getDataParams(D,U),z=W.formatTooltip(D,!1,U,this._renderMode),Y,$;f.isObject(z)?(Y=z.html,$=z.markers):(Y=z,$=null);var ne="item_"+W.name+"_"+D;this._showOrMove(j,function(){this._showTooltipContent(j,Y,X,ne,I.offsetX,I.offsetY,I.position,I.target,$)}),R({type:"showTip",dataIndexInside:D,dataIndex:H.getRawIndex(D),seriesIndex:F,from:this.uid})},_showComponentItemTooltip:function(I,L,R){var k=L.tooltip;if(typeof k=="string"){var F=k;k={content:F,formatter:F}}var P=new n(k,this._tooltipModel,this._ecModel),W=P.get("content"),D=Math.random();this._showOrMove(P,function(){this._showTooltipContent(P,W,P.get("formatterParams")||{},D,I.offsetX,I.offsetY,I.position,L)}),R({type:"showTip",from:this.uid})},_showTooltipContent:function(I,L,R,k,F,P,W,D,U){if(this._ticket="",!I.get("showContent")||!I.get("show"))return;var H=this._tooltipContent,j=I.get("formatter");W=W||I.get("position");var K=L;if(j&&typeof j=="string")K=p.formatTpl(j,R,!0);else if(typeof j=="function"){var X=u(function(z,Y){z===this._ticket&&(H.setContent(Y,U,I),this._updatePosition(I,W,F,P,H,R,D))},this);this._ticket=k,K=j(R,k,X)}H.setContent(K,U,I),H.show(I),this._updatePosition(I,W,F,P,H,R,D)},_updatePosition:function(I,L,R,k,F,P,W){var D=this._api.getWidth(),U=this._api.getHeight();L=L||I.get("position");var H=F.getSize(),j=I.get("align"),K=I.get("verticalAlign"),X=W&&W.getBoundingRect().clone();if(W&&X.applyTransform(W.transform),typeof L=="function"&&(L=L([R,k],P,F.el,X,{viewSize:[D,U],contentSize:H.slice()})),f.isArray(L))R=v(L[0],D),k=v(L[1],U);else if(f.isObject(L)){L.width=H[0],L.height=H[1];var z=e.getLayoutRect(L,{width:D,height:U});R=z.x,k=z.y,j=null,K=null}else if(typeof L=="string"&&W){var Y=x(L,X,H);R=Y[0],k=Y[1]}else{var Y=C(R,k,F,D,U,j?null:20,K?null:20);R=Y[0],k=Y[1]}if(j&&(R-=_(j)?H[0]/2:j==="right"?H[0]:0),K&&(k-=_(K)?H[1]/2:K==="bottom"?H[1]:0),I.get("confine")){var Y=T(R,k,F,D,U);R=Y[0],k=Y[1]}F.moveTo(R,k)},_updateContentNotChangedOnAxis:function(I){var L=this._lastDataByCoordSys,R=!!L&&L.length===I.length;return R&&d(L,function(k,F){var P=k.dataByAxis||{},W=I[F]||{},D=W.dataByAxis||[];R&=P.length===D.length,R&&d(P,function(U,H){var j=D[H]||{},K=U.seriesDataIndices||[],X=j.seriesDataIndices||[];R&=U.value===j.value&&U.axisType===j.axisType&&U.axisId===j.axisId&&K.length===X.length,R&&d(K,function(z,Y){var $=X[Y];R&=z.seriesIndex===$.seriesIndex&&z.dataIndex===$.dataIndex})})}),this._lastDataByCoordSys=I,!!R},_hide:function(I){this._lastDataByCoordSys=null,I({type:"hideTip",from:this.uid})},dispose:function(I,L){if(A.node)return;this._tooltipContent.dispose(),i.unregister("itemTooltip",L)}});function b(I){for(var L=I.pop();I.length;){var R=I.pop();R&&(n.isInstance(R)&&(R=R.get("tooltip",!0)),typeof R=="string"&&(R={formatter:R}),L=new n(R,L,L.ecModel))}return L}function E(I,L){return I.dispatchAction||f.bind(L.dispatchAction,L)}function C(I,L,R,k,F,P,W){var D=R.getOuterSize(),U=D.width,H=D.height;return P!=null&&(I+U+P>k?I-=U+P:I+=P),W!=null&&(L+H+W>F?L-=H+W:L+=W),[I,L]}function T(I,L,R,k,F){var P=R.getOuterSize(),W=P.width,D=P.height;return I=Math.min(I+W,k)-W,L=Math.min(L+D,F)-D,I=Math.max(I,0),L=Math.max(L,0),[I,L]}function x(I,L,R){var k=R[0],F=R[1],P=5,W=0,D=0,U=L.width,H=L.height;switch(I){case"inside":W=L.x+U/2-k/2,D=L.y+H/2-F/2;break;case"top":W=L.x+U/2-k/2,D=L.y-F-P;break;case"bottom":W=L.x+U/2-k/2,D=L.y+H+P;break;case"left":W=L.x-k-P,D=L.y+H/2-F/2;break;case"right":W=L.x+U+P,D=L.y+H/2-F/2}return[W,D]}function _(I){return I==="center"||I==="middle"}M.exports=S},Qxkt:function(M,B,o){var w=o("bYtY"),f=o("ItGF"),A=o("4NO4"),m=A.makeInner,g=o("Yl7c"),p=g.enableClassExtend,c=g.enableClassCheck,h=o("OQFs"),l=o("m9t5"),e=o("/iHx"),n=o("VR9l"),i=w.mixin,r=m();function a(d,v,y){this.parentModel=v,this.ecModel=y,this.option=d}a.prototype={constructor:a,init:null,mergeOption:function(d){w.merge(this.option,d,!0)},get:function(d,v){return d==null?this.option:t(this.option,this.parsePath(d),!v&&s(this,d))},getShallow:function(d,v){var y=this.option,S=y==null?y:y[d],b=!v&&s(this,d);return S==null&&b&&(S=b.getShallow(d)),S},getModel:function(d,v){var y=d==null?this.option:t(this.option,d=this.parsePath(d)),S;return v=v||(S=s(this,d))&&S.getModel(d),new a(y,v,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var d=this.constructor;return new d(w.clone(this.option))},setReadOnly:function(d){},parsePath:function(d){return typeof d=="string"&&(d=d.split(".")),d},customizeGetParent:function(d){r(this).getParent=d},isAnimationEnabled:function(){if(!f.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function t(d,v,y){for(var S=0;S<v.length;S++){if(!v[S])continue;if(d=d&&typeof d=="object"?d[v[S]]:null,d==null)break}return d==null&&y&&(d=y.get(v)),d}function s(d,v){var y=r(d).getParent;return y?y.call(d,v):d.parentModel}p(a),c(a),i(a,h),i(a,l),i(a,e),i(a,n);var u=a;M.exports=u},QzjZ:function(M,B,o){var w=o("S/Yl"),f=o("IDmD");function A(m,g){var p=[];return m.eachComponent("singleAxis",function(c,h){var l=new w(c,m,g);l.name="single_"+h,l.resize(c,g),c.coordinateSystem=l,p.push(l)}),m.eachSeries(function(c){if(c.get("coordinateSystem")==="singleAxis"){var h=m.queryComponents({mainType:"singleAxis",index:c.get("singleAxisIndex"),id:c.get("singleAxisId")})[0];c.coordinateSystem=h&&h.coordinateSystem}}),p}f.register("single",{create:A,dimensions:w.prototype.dimensions})},R4Th:function(M,B,o){var w=o("ProS"),f=o("9wZj"),A=o("yO87"),m=o("Fofx"),g=o("h8O9"),p=w.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new f(A)},render:function(c,h,l){var e=c.getData(),n=this._symbolDraw;n.updateData(e),this.group.add(n.group)},updateTransform:function(c,h,l){var e=c.getData();this.group.dirty();var n=g().reset(c);n.progress&&n.progress({start:0,end:e.count()},e),this._symbolDraw.updateLayout(e)},_updateGroupTransform:function(c){var h=c.coordinateSystem;h&&h.getRoamTransform&&(this.group.transform=m.clone(h.getRoamTransform()),this.group.decomposeTransform())},remove:function(c,h){this._symbolDraw&&this._symbolDraw.remove(h)},dispose:function(){}});M.exports=p},RBEP:function(M,B,o){for(var w=o("ProS"),f=o("VaxA"),A=function(){},m=["treemapZoomToNode","treemapRender","treemapMove"],g=0;g<m.length;g++)w.registerAction({type:m[g],update:"updateView"},A);w.registerAction({type:"treemapRootToNode",update:"updateView"},function(p,c){c.eachComponent({mainType:"series",subType:"treemap",query:p},h);function h(l,e){var n=["treemapZoomToNode","treemapRootToNode"],i=f.retrieveTargetInfo(p,n,l);if(i){var r=l.getViewRoot();r&&(p.direction=f.aboveViewRoot(r,i.node)?"rollUp":"drillDown"),l.resetViewRoot(i.node)}}})},RDYZ:function(M,B,o){var w=o("dMvE");function f(m){this._target=m.target,this._life=m.life||1e3,this._delay=m.delay||0,this._initialized=!1,this.loop=m.loop==null?!1:m.loop,this.gap=m.gap||0,this.easing=m.easing||"Linear",this.onframe=m.onframe,this.ondestroy=m.ondestroy,this.onrestart=m.onrestart,this._pausedTime=0,this._paused=!1}f.prototype={constructor:f,step:function(g,p){if(this._initialized||(this._startTime=g+this._delay,this._initialized=!0),this._paused){this._pausedTime+=p;return}var c=(g-this._startTime-this._pausedTime)/this._life;if(c<0)return;c=Math.min(c,1);var h=this.easing,l=typeof h=="string"?w[h]:h,e=typeof l=="function"?l(c):c;return this.fire("frame",e),c===1?this.loop?(this.restart(g),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(g){var p=(g-this._startTime-this._pausedTime)%this._life;this._startTime=g-p+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(g,p){g="on"+g,this[g]&&this[g](this._target,p)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var A=f;M.exports=A},RELg:function(M,B,o){var w=o("MFOe"),f=w.Global;M.exports={name:"oldIE-userDataStorage",write:c,read:h,each:l,remove:e,clearAll:n};var A="storejs",m=f.document,g=a(),p=(f.navigator?f.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function c(t,s){if(p)return;var u=r(t);g(function(d){d.setAttribute(u,s),d.save(A)})}function h(t){if(p)return;var s=r(t),u=null;return g(function(d){u=d.getAttribute(s)}),u}function l(t){g(function(s){for(var u=s.XMLDocument.documentElement.attributes,d=u.length-1;d>=0;d--){var v=u[d];t(s.getAttribute(v.name),v.name)}})}function e(t){var s=r(t);g(function(u){u.removeAttribute(s),u.save(A)})}function n(){g(function(t){var s=t.XMLDocument.documentElement.attributes;t.load(A);for(var u=s.length-1;u>=0;u--)t.removeAttribute(s[u].name);t.save(A)})}var i=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function r(t){return t.replace(/^\d/,"___$&").replace(i,"___")}function a(){if(!m||!m.documentElement||!m.documentElement.addBehavior)return null;var t="script",s,u,d;try{u=new ActiveXObject("htmlfile"),u.open(),u.write("<"+t+">document.w=window</"+t+'><iframe src="/favicon.ico"></iframe>'),u.close(),s=u.w.frames[0].document,d=s.createElement("div")}catch(v){d=m.createElement("div"),s=m.body}return function(v){var y=[].slice.call(arguments,0);y.unshift(d),s.appendChild(d),d.addBehavior("#default#userData"),d.load(A),v.apply(this,y),s.removeChild(d);return}}},RPvy:function(M,B,o){var w=o("ProS"),f=o("VaxA"),A="sunburstRootToNode";w.registerAction({type:A,update:"updateView"},function(p,c){c.eachComponent({mainType:"series",subType:"sunburst",query:p},h);function h(l,e){var n=f.retrieveTargetInfo(p,[A],l);if(n){var i=l.getViewRoot();i&&(p.direction=f.aboveViewRoot(i,n.node)?"rollUp":"drillDown"),l.resetViewRoot(n.node)}}});var m="sunburstHighlight";w.registerAction({type:m,update:"updateView"},function(p,c){c.eachComponent({mainType:"series",subType:"sunburst",query:p},h);function h(l,e){var n=f.retrieveTargetInfo(p,[m],l);n&&(p.highlight=n.node)}});var g="sunburstUnhighlight";w.registerAction({type:g,update:"updateView"},function(p,c){c.eachComponent({mainType:"series",subType:"sunburst",query:p},h);function h(l,e){p.unhighlight=!0}})},RSch:function(M,B,o){var w=o("IwbS"),f=o("bYtY");function A(p,c,h){w.Group.call(this),this._createPolyline(p,c,h)}var m=A.prototype;m._createPolyline=function(p,c,h){var l=p.getItemLayout(c),e=new w.Polyline({shape:{points:l}});this.add(e),this._updateCommonStl(p,c,h)},m.updateData=function(p,c,h){var l=p.hostModel,e=this.childAt(0),n={shape:{points:p.getItemLayout(c)}};w.updateProps(e,n,l,c),this._updateCommonStl(p,c,h)},m._updateCommonStl=function(p,c,h){var l=this.childAt(0),e=p.getItemModel(c),n=p.getItemVisual(c,"color"),i=h&&h.lineStyle,r=h&&h.hoverLineStyle;(!h||p.hasItemOption)&&(i=e.getModel("lineStyle").getLineStyle(),r=e.getModel("emphasis.lineStyle").getLineStyle()),l.useStyle(f.defaults({strokeNoScale:!0,fill:"none",stroke:n},i)),l.hoverStyle=r,w.setHoverStyle(this)},m.updateLayout=function(p,c){var h=this.childAt(0);h.setShape("points",p.getItemLayout(c))},f.inherits(A,w.Group);var g=A;M.exports=g},RXMa:function(M,B,o){var w=o("y+Vt"),f=w.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(m,g){var p=g.cx,c=g.cy,h=Math.PI*2;m.moveTo(p+g.r,c),m.arc(p,c,g.r,0,h,!1),m.moveTo(p+g.r0,c),m.arc(p,c,g.r0,0,h,!0)}});M.exports=f},Rbc4:function(M,B,o){},RlCK:function(M,B,o){var w=o("ProS"),f=o("bYtY");function A(m,g,p){var c={},h=m==="toggleSelected",l;return p.eachComponent("legend",function(e){h&&l!=null?e[l?"select":"unSelect"](g.name):m==="allSelect"||m==="inverseSelect"?e[m]():(e[m](g.name),l=e.isSelected(g.name));var n=e.getData();f.each(n,function(i){var r=i.get("name");if(r===`
|
|
|
`||r==="")return;var a=e.isSelected(r);c.hasOwnProperty(r)?c[r]=c[r]&&a:c[r]=a})}),m==="allSelect"||m==="inverseSelect"?{selected:c}:{name:g.name,selected:c}}w.registerAction("legendToggleSelect","legendselectchanged",f.curry(A,"toggleSelected")),w.registerAction("legendAllSelect","legendselectall",f.curry(A,"allSelect")),w.registerAction("legendInverseSelect","legendinverseselect",f.curry(A,"inverseSelect")),w.registerAction("legendSelect","legendselected",f.curry(A,"select")),w.registerAction("legendUnSelect","legendunselected",f.curry(A,"unSelect"))},RotF:function(M,B,o){M.exports=o("LSTS")},Rqfs:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("JZiQ"),m=o.n(A),g=o("D3Kp")},Rx6q:function(M,B){function o(w){var f=w.getRect(),A=w.getRangeInfo();return{coordSys:{type:"calendar",x:f.x,y:f.y,width:f.width,height:f.height,cellWidth:w.getCellWidth(),cellHeight:w.getCellHeight(),rangeInfo:{start:A.start,end:A.end,weeks:A.weeks,dayCount:A.allDay}},api:{coord:function(m,g){return w.dataToPoint(m,g)}}}}M.exports=o},"S/Yl":function(M,B,o){var w=o("Zvw2"),f=o("aX7z"),A=o("+TT/"),m=A.getLayoutRect,g=o("bYtY"),p=g.each;function c(l,e,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(l,e,n),this.model=l}c.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:c,_init:function(l,e,n){var i=this.dimension,r=new w(i,f.createScaleByModel(l),[0,0],l.get("type"),l.get("position")),a=r.type==="category";r.onBand=a&&l.get("boundaryGap"),r.inverse=l.get("inverse"),r.orient=l.get("orient"),l.axis=r,r.model=l,r.coordinateSystem=this,this._axis=r},update:function(l,e){l.eachSeries(function(n){if(n.coordinateSystem===this){var i=n.getData();p(i.mapDimension(this.dimension,!0),function(r){this._axis.scale.unionExtentFromData(i,r)},this),f.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(l,e){this._rect=m({left:l.get("left"),top:l.get("top"),right:l.get("right"),bottom:l.get("bottom"),width:l.get("width"),height:l.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var l=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,l.width]:[0,l.height],r=e.reverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?l.x:l.y)},_updateAxisTransform:function(l,e){var n=l.getExtent(),i=n[0]+n[1],r=l.isHorizontal();l.toGlobalCoord=r?function(a){return a+e}:function(a){return i-a+e},l.toLocalCoord=r?function(a){return a-e}:function(a){return i-a+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(l){var e=this.getRect(),n=this.getAxis(),i=n.orient;return i==="horizontal"?n.contain(n.toLocalCoord(l[0]))&&l[1]>=e.y&&l[1]<=e.y+e.height:n.contain(n.toLocalCoord(l[1]))&&l[0]>=e.y&&l[0]<=e.y+e.height},pointToData:function(l){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(l[e.orient==="horizontal"?0:1]))]},dataToPoint:function(l){var e=this.getAxis(),n=this.getRect(),i=[],r=e.orient==="horizontal"?0:1;return l instanceof Array&&(l=l[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+l)),i[1-r]=r===0?n.y+n.height/2:n.x+n.width/2,i}};var h=c;M.exports=h},"SA4+":function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("ProS"),m=o("IwbS"),g=o("zYTA"),p=o("bYtY");function c(n,i,r){var a=n[1]-n[0];i=p.map(i,function(u){return{interval:[(u.interval[0]-n[0])/a,(u.interval[1]-n[0])/a]}});var t=i.length,s=0;return function(u){for(var d=s;d<t;d++){var v=i[d].interval;if(v[0]<=u&&u<=v[1]){s=d;break}}if(d===t)for(var d=s-1;d>=0;d--){var v=i[d].interval;if(v[0]<=u&&u<=v[1]){s=d;break}}return d>=0&&d<t&&r[d]}}function h(n,i){var r=n[1]-n[0];return i=[(i[0]-n[0])/r,(i[1]-n[0])/r],function(a){return a>=i[0]&&a<=i[1]}}function l(n){var i=n.dimensions;return i[0]==="lng"&&i[1]==="lat"}var e=A.extendChartView({type:"heatmap",render:function(n,i,r){var a;i.eachComponent("visualMap",function(s){s.eachTargetSeries(function(u){u===n&&(a=s)})}),this.group.removeAll(),this._incrementalDisplayable=null;var t=n.coordinateSystem;t.type==="cartesian2d"||t.type==="calendar"?this._renderOnCartesianAndCalendar(n,r,0,n.getData().count()):l(t)&&this._renderOnGeo(t,n,a,r)},incrementalPrepareRender:function(n,i,r){this.group.removeAll()},incrementalRender:function(n,i,r,a){var t=i.coordinateSystem;t&&this._renderOnCartesianAndCalendar(i,a,n.start,n.end,!0)},_renderOnCartesianAndCalendar:function(n,i,r,a,t){var s=n.coordinateSystem,u,d;if(s.type==="cartesian2d"){var v=s.getAxis("x"),y=s.getAxis("y");u=v.getBandWidth(),d=y.getBandWidth()}for(var S=this.group,b=n.getData(),E="itemStyle",C="emphasis.itemStyle",T="label",x="emphasis.label",_=n.getModel(E).getItemStyle(["color"]),I=n.getModel(C).getItemStyle(),L=n.getModel(T),R=n.getModel(x),k=s.type,F=k==="cartesian2d"?[b.mapDimension("x"),b.mapDimension("y"),b.mapDimension("value")]:[b.mapDimension("time"),b.mapDimension("value")],P=r;P<a;P++){var W;if(k==="cartesian2d"){if(isNaN(b.get(F[2],P)))continue;var D=s.dataToPoint([b.get(F[0],P),b.get(F[1],P)]);W=new m.Rect({shape:{x:Math.floor(Math.round(D[0])-u/2),y:Math.floor(Math.round(D[1])-d/2),width:Math.ceil(u),height:Math.ceil(d)},style:{fill:b.getItemVisual(P,"color"),opacity:b.getItemVisual(P,"opacity")}})}else{if(isNaN(b.get(F[1],P)))continue;W=new m.Rect({z2:1,shape:s.dataToRect([b.get(F[0],P)]).contentShape,style:{fill:b.getItemVisual(P,"color"),opacity:b.getItemVisual(P,"opacity")}})}var U=b.getItemModel(P);b.hasItemOption&&(_=U.getModel(E).getItemStyle(["color"]),I=U.getModel(C).getItemStyle(),L=U.getModel(T),R=U.getModel(x));var H=n.getRawValue(P),j="-";H&&H[2]!=null&&(j=H[2]),m.setLabelStyle(_,I,L,R,{labelFetcher:n,labelDataIndex:P,defaultText:j,isRectText:!0}),W.setStyle(_),m.setHoverStyle(W,b.hasItemOption?I:p.extend({},I)),W.incremental=t,t&&(W.useHoverLayer=!0),S.add(W),b.setItemGraphicEl(P,W)}},_renderOnGeo:function(n,i,r,a){var t=r.targetVisuals.inRange,s=r.targetVisuals.outOfRange,u=i.getData(),d=this._hmLayer||this._hmLayer||new g;d.blurSize=i.get("blurSize"),d.pointSize=i.get("pointSize"),d.minOpacity=i.get("minOpacity"),d.maxOpacity=i.get("maxOpacity");var v=n.getViewRect().clone(),y=n.getRoamTransform();v.applyTransform(y);var S=Math.max(v.x,0),b=Math.max(v.y,0),E=Math.min(v.width+v.x,a.getWidth()),C=Math.min(v.height+v.y,a.getHeight()),T=E-S,x=C-b,_=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],I=u.mapArray(_,function(F,P,W){var D=n.dataToPoint([F,P]);return D[0]-=S,D[1]-=b,D.push(W),D}),L=r.getExtent(),R=r.type==="visualMap.continuous"?h(L,r.option.range):c(L,r.getPieceList(),r.option.selected);d.update(I,T,x,t.color.getNormalizer(),{inRange:t.color.getColorMapper(),outOfRange:s.color.getColorMapper()},R);var k=new m.Image({style:{width:T,height:x,x:S,y:b,image:d.canvas},silent:!0});this.group.add(k)},dispose:function(){}});M.exports=e},SA8n:function(M,B,o){var w=o("Sj9i"),f=o("QBsz"),A=o("U/Mo"),m=A.getSymbolSize,g=[],p=[],c=[],h=w.quadraticAt,l=f.distSquare,e=Math.abs;function n(r,a,t){for(var s=r[0],u=r[1],d=r[2],v=Infinity,y,S=t*t,b=.1,E=.1;E<=.9;E+=.1){g[0]=h(s[0],u[0],d[0],E),g[1]=h(s[1],u[1],d[1],E);var C=e(l(g,a)-S);C<v&&(v=C,y=E)}for(var T=0;T<32;T++){var x=y+b;p[0]=h(s[0],u[0],d[0],y),p[1]=h(s[1],u[1],d[1],y),c[0]=h(s[0],u[0],d[0],x),c[1]=h(s[1],u[1],d[1],x);var C=l(p,a)-S;if(e(C)<.01)break;var _=l(c,a)-S;b/=2,C<0?_>=0?y=y+b:y=y-b:_>=0?y=y-b:y=y+b}return y}function i(r,a){var t=[],s=w.quadraticSubdivide,u=[[],[],[]],d=[[],[]],v=[];a/=2,r.eachEdge(function(y,S){var b=y.getLayout(),E=y.getVisual("fromSymbol"),C=y.getVisual("toSymbol");b.__original||(b.__original=[f.clone(b[0]),f.clone(b[1])],b[2]&&b.__original.push(f.clone(b[2])));var T=b.__original;if(b[2]!=null){if(f.copy(u[0],T[0]),f.copy(u[1],T[2]),f.copy(u[2],T[1]),E&&E!=="none"){var x=m(y.node1),_=n(u,T[0],x*a);s(u[0][0],u[1][0],u[2][0],_,t),u[0][0]=t[3],u[1][0]=t[4],s(u[0][1],u[1][1],u[2][1],_,t),u[0][1]=t[3],u[1][1]=t[4]}if(C&&C!=="none"){var x=m(y.node2),_=n(u,T[1],x*a);s(u[0][0],u[1][0],u[2][0],_,t),u[1][0]=t[1],u[2][0]=t[2],s(u[0][1],u[1][1],u[2][1],_,t),u[1][1]=t[1],u[2][1]=t[2]}f.copy(b[0],u[0]),f.copy(b[1],u[2]),f.copy(b[2],u[1])}else{if(f.copy(d[0],T[0]),f.copy(d[1],T[1]),f.sub(v,d[1],d[0]),f.normalize(v,v),E&&E!=="none"){var x=m(y.node1);f.scaleAndAdd(d[0],d[0],v,x*a)}if(C&&C!=="none"){var x=m(y.node2);f.scaleAndAdd(d[1],d[1],v,-x*a)}f.copy(b[0],d[0]),f.copy(b[1],d[1])}})}M.exports=i},SJMd:function(M,B){/**
|
|
|
* @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 o,w,f,A=!1,m,g;window.PR_SHOULD_USE_CONTINUATION=!0;var p,c;(function(){var h=window,l=["break,continue,do,else,for,if,return,while"],e=[l,"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"],n=[e,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],i=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],r=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],a=[n,"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=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],u="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",d=[l,"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"],v=[l,"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"],y=[l,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],S=[i,a,r,s,u,d,v,y],b=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,E="str",C="kwd",T="com",x="typ",_="lit",I="pun",L="pln",R="tag",k="dec",F="src",P="atn",W="atv",D="nocode",U="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function H(Le){for(var he=0,ee=!1,se=!1,Ue=0,ue=Le.length;Ue<ue;++Ue){var Ne=Le[Ue];if(Ne.ignoreCase)se=!0;else if(/[a-z]/i.test(Ne.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){ee=!0,se=!1;break}}var Fe={b:8,t:9,n:10,v:11,f:12,r:13};function ae(Ze){var Ee=Ze.charCodeAt(0);if(Ee!==92)return Ee;var mt=Ze.charAt(1);return Ee=Fe[mt],Ee||("0"<=mt&&mt<="7"?parseInt(Ze.substring(1),8):mt==="u"||mt==="x"?parseInt(Ze.substring(2),16):Ze.charCodeAt(1))}function ce(Ze){if(Ze<32)return(Ze<16?"\\x0":"\\x")+Ze.toString(16);var Ee=String.fromCharCode(Ze);return Ee==="\\"||Ee==="-"||Ee==="]"||Ee==="^"?"\\"+Ee:Ee}function _e(Ze){var Ee=Ze.substring(1,Ze.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")),mt=[],Je=Ee[0]==="^",rt=["["];Je&&rt.push("^");for(var wt=Je?1:0,Ot=Ee.length;wt<Ot;++wt){var Ct=Ee[wt];if(/\\[bdsw]/i.test(Ct))rt.push(Ct);else{var Dt=ae(Ct),Xe;wt+2<Ot&&Ee[wt+1]==="-"?(Xe=ae(Ee[wt+2]),wt+=2):Xe=Dt,mt.push([Dt,Xe]),Xe<65||Dt>122||(Xe<65||Dt>90||mt.push([Math.max(65,Dt)|32,Math.min(Xe,90)|32]),Xe<97||Dt>122||mt.push([Math.max(97,Dt)&~32,Math.min(Xe,122)&~32]))}}mt.sort(function(xe,re){return xe[0]-re[0]||re[1]-xe[1]});for(var q=[],V=[],wt=0;wt<mt.length;++wt){var Ae=mt[wt];Ae[0]<=V[1]+1?V[1]=Math.max(V[1],Ae[1]):q.push(V=Ae)}for(var wt=0;wt<q.length;++wt){var Ae=q[wt];rt.push(ce(Ae[0])),Ae[1]>Ae[0]&&(Ae[1]+1>Ae[0]&&rt.push("-"),rt.push(ce(Ae[1])))}return rt.push("]"),rt.join("")}function ze(Ze){for(var Ee=Ze.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")),mt=Ee.length,Je=[],rt=0,wt=0;rt<mt;++rt){var Ot=Ee[rt];if(Ot==="(")++wt;else if(Ot.charAt(0)==="\\"){var Ct=+Ot.substring(1);Ct&&(Ct<=wt?Je[Ct]=-1:Ee[rt]=ce(Ct))}}for(var rt=1;rt<Je.length;++rt)Je[rt]===-1&&(Je[rt]=++he);for(var rt=0,wt=0;rt<mt;++rt){var Ot=Ee[rt];if(Ot==="(")++wt,Je[wt]||(Ee[rt]="(?:");else if(Ot.charAt(0)==="\\"){var Ct=+Ot.substring(1);Ct&&Ct<=wt&&(Ee[rt]="\\"+Je[Ct])}}for(var rt=0;rt<mt;++rt)Ee[rt]==="^"&&Ee[rt+1]!=="^"&&(Ee[rt]="");if(Ze.ignoreCase&&ee)for(var rt=0;rt<mt;++rt){var Ot=Ee[rt],Dt=Ot.charAt(0);Ot.length>=2&&Dt==="["?Ee[rt]=_e(Ot):Dt!=="\\"&&(Ee[rt]=Ot.replace(/[a-zA-Z]/g,function(V){var Ae=V.charCodeAt(0);return"["+String.fromCharCode(Ae&~32,Ae|32)+"]"}))}return Ee.join("")}for(var it=[],Ue=0,ue=Le.length;Ue<ue;++Ue){var Ne=Le[Ue];if(Ne.global||Ne.multiline)throw new Error(""+Ne);it.push("(?:"+ze(Ne)+")")}return new RegExp(it.join("|"),se?"gi":"g")}function j(Le,he){var ee=/(?:^|\s)nocode(?:\s|$)/,se=[],Ue=0,ue=[],Ne=0;function Fe(ae){var ce=ae.nodeType;if(ce==1){if(ee.test(ae.className))return;for(var _e=ae.firstChild;_e;_e=_e.nextSibling)Fe(_e);var ze=ae.nodeName.toLowerCase();(ze==="br"||ze==="li")&&(se[Ne]=`
|
|
|
`,ue[Ne<<1]=Ue++,ue[Ne++<<1|1]=ae)}else if(ce==3||ce==4){var it=ae.nodeValue;it.length&&(he?it=it.replace(/\r\n?/g,`
|
|
|
`):it=it.replace(/[ \t\r\n]+/g," "),se[Ne]=it,ue[Ne<<1]=Ue,Ue+=it.length,ue[Ne++<<1|1]=ae)}}return Fe(Le),{sourceCode:se.join("").replace(/\n$/,""),spans:ue}}function K(Le,he,ee,se,Ue){if(!ee)return;var ue={sourceNode:Le,pre:1,langExtension:null,numberLines:null,sourceCode:ee,spans:null,basePos:he,decorations:null};se(ue),Ue.push.apply(Ue,ue.decorations)}var X=/\S/;function z(Le){for(var he=void 0,ee=Le.firstChild;ee;ee=ee.nextSibling){var se=ee.nodeType;he=se===1?he?Le:ee:se===3&&X.test(ee.nodeValue)?Le:he}return he===Le?void 0:he}function Y(Le,he){var ee={},se;(function(){for(var Ne=Le.concat(he),Fe=[],ae={},ce=0,_e=Ne.length;ce<_e;++ce){var ze=Ne[ce],it=ze[3];if(it)for(var Ze=it.length;--Ze>=0;)ee[it.charAt(Ze)]=ze;var Ee=ze[1],mt=""+Ee;ae.hasOwnProperty(mt)||(Fe.push(Ee),ae[mt]=null)}Fe.push(/[\0-\uffff]/),se=H(Fe)})();var Ue=he.length,ue=function Ne(Fe){for(var ae=Fe.sourceCode,ce=Fe.basePos,_e=Fe.sourceNode,ze=[ce,L],it=0,Ze=ae.match(se)||[],Ee={},mt=0,Je=Ze.length;mt<Je;++mt){var rt=Ze[mt],wt=Ee[rt],Ot=void 0,Ct;if(typeof wt=="string")Ct=!1;else{var Dt=ee[rt.charAt(0)];if(Dt)Ot=rt.match(Dt[1]),wt=Dt[0];else{for(var Xe=0;Xe<Ue;++Xe)if(Dt=he[Xe],Ot=rt.match(Dt[1]),Ot){wt=Dt[0];break}Ot||(wt=L)}Ct=wt.length>=5&&wt.substring(0,5)==="lang-",Ct&&!(Ot&&typeof Ot[1]=="string")&&(Ct=!1,wt=F),Ct||(Ee[rt]=wt)}var q=it;if(it+=rt.length,!Ct)ze.push(ce+q,wt);else{var V=Ot[1],Ae=rt.indexOf(V),xe=Ae+V.length;Ot[2]&&(xe=rt.length-Ot[2].length,Ae=xe-V.length);var re=wt.substring(5);K(_e,ce+q,rt.substring(0,Ae),Ne,ze),K(_e,ce+q+Ae,V,be(re,V),ze),K(_e,ce+q+xe,rt.substring(xe),Ne,ze)}}Fe.decorations=ze};return ue}function $(Le){var he=[],ee=[];Le.tripleQuotedStrings?he.push([E,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):Le.multiLineStrings?he.push([E,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):he.push([E,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),Le.verbatimStrings&&ee.push([E,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var se=Le.hashComments;se&&(Le.cStyleComments?(se>1?he.push([T,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):he.push([T,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),ee.push([E,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):he.push([T,/^#[^\r\n]*/,null,"#"])),Le.cStyleComments&&(ee.push([T,/^\/\/[^\r\n]*/,null]),ee.push([T,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Ue=Le.regexLiterals;if(Ue){var ue=Ue>1?"":`
|
|
|
\r`,Ne=ue?".":"[\\S\\s]",Fe="/(?=[^/*"+ue+"])(?:[^/\\x5B\\x5C"+ue+"]|\\x5C"+Ne+"|\\x5B(?:[^\\x5C\\x5D"+ue+"]|\\x5C"+Ne+")*(?:\\x5D|$))+/";ee.push(["lang-regex",RegExp("^"+U+"("+Fe+")")])}var ae=Le.types;ae&&ee.push([x,ae]);var ce=(""+Le.keywords).replace(/^ | $/g,"");ce.length&&ee.push([C,new RegExp("^(?:"+ce.replace(/[\s,]+/g,"|")+")\\b"),null]),he.push([L,/^\s+/,null,` \r
|
|
|
\xA0`]);var _e="^.[^\\s\\w.$@'\"`/\\\\]*";return Le.regexLiterals&&(_e+="(?!s*/)"),ee.push([_,/^@[a-z_$][a-z_$@0-9]*/i,null],[x,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[L,/^[a-z_$][a-z_$@0-9]*/i,null],[_,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[L,/^\\[\s\S]?/,null],[I,new RegExp(_e),null]),Y(he,ee)}var ne=$({keywords:S,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function J(Le,he,ee){for(var se=/(?:^|\s)nocode(?:\s|$)/,Ue=/\r\n?|\n/,ue=Le.ownerDocument,Ne=ue.createElement("li");Le.firstChild;)Ne.appendChild(Le.firstChild);var Fe=[Ne];function ae(Ee){var mt=Ee.nodeType;if(mt==1&&!se.test(Ee.className))if(Ee.nodeName==="br")ce(Ee),Ee.parentNode&&Ee.parentNode.removeChild(Ee);else for(var Je=Ee.firstChild;Je;Je=Je.nextSibling)ae(Je);else if((mt==3||mt==4)&&ee){var rt=Ee.nodeValue,wt=rt.match(Ue);if(wt){var Ot=rt.substring(0,wt.index);Ee.nodeValue=Ot;var Ct=rt.substring(wt.index+wt[0].length);if(Ct){var Dt=Ee.parentNode;Dt.insertBefore(ue.createTextNode(Ct),Ee.nextSibling)}ce(Ee),Ot||Ee.parentNode.removeChild(Ee)}}}function ce(Ee){for(;!Ee.nextSibling;)if(Ee=Ee.parentNode,!Ee)return;function mt(wt,Ot){var Ct=Ot?wt.cloneNode(!1):wt,Dt=wt.parentNode;if(Dt){var Xe=mt(Dt,1),q=wt.nextSibling;Xe.appendChild(Ct);for(var V=q;V;V=q)q=V.nextSibling,Xe.appendChild(V)}return Ct}for(var Je=mt(Ee.nextSibling,0),rt;(rt=Je.parentNode)&&rt.nodeType===1;)Je=rt;Fe.push(Je)}for(var _e=0;_e<Fe.length;++_e)ae(Fe[_e]);he===(he|0)&&Fe[0].setAttribute("value",he);var ze=ue.createElement("ol");ze.className="linenums";for(var it=Math.max(0,he-1|0)||0,_e=0,Ze=Fe.length;_e<Ze;++_e)Ne=Fe[_e],Ne.className="L"+(_e+it)%10,Ne.firstChild||Ne.appendChild(ue.createTextNode("\xA0")),ze.appendChild(Ne);Le.appendChild(ze)}function ge(Le){var he=/\bMSIE\s(\d+)/.exec(navigator.userAgent);he=he&&+he[1]<=8;var ee=/\n/g,se=Le.sourceCode,Ue=se.length,ue=0,Ne=Le.spans,Fe=Ne.length,ae=0,ce=Le.decorations,_e=ce.length,ze=0;ce[_e]=Ue;var it,Ze;for(Ze=it=0;Ze<_e;)ce[Ze]!==ce[Ze+2]?(ce[it++]=ce[Ze++],ce[it++]=ce[Ze++]):Ze+=2;for(_e=it,Ze=it=0;Ze<_e;){for(var Ee=ce[Ze],mt=ce[Ze+1],Je=Ze+2;Je+2<=_e&&ce[Je+1]===mt;)Je+=2;ce[it++]=Ee,ce[it++]=mt,Ze=Je}_e=ce.length=it;var rt=Le.sourceNode,wt="";rt&&(wt=rt.style.display,rt.style.display="none");try{for(var Ot=null;ae<Fe;){var Ct=Ne[ae],Dt=Ne[ae+2]||Ue,Xe=ce[ze+2]||Ue,Je=Math.min(Dt,Xe),q=Ne[ae+1],V;if(q.nodeType!==1&&(V=se.substring(ue,Je))){he&&(V=V.replace(ee,"\r")),q.nodeValue=V;var Ae=q.ownerDocument,xe=Ae.createElement("span");xe.className=ce[ze+1];var re=q.parentNode;re.replaceChild(xe,q),xe.appendChild(q),ue<Dt&&(Ne[ae+1]=q=Ae.createTextNode(se.substring(Je,Dt)),re.insertBefore(q,xe.nextSibling))}ue=Je,ue>=Dt&&(ae+=2),ue>=Xe&&(ze+=2)}}finally{rt&&(rt.style.display=wt)}}var de={};function Ie(Le,he){for(var ee=he.length;--ee>=0;){var se=he[ee];de.hasOwnProperty(se)?h.console&&console.warn("cannot override language handler %s",se):de[se]=Le}}function be(Le,he){return Le&&de.hasOwnProperty(Le)||(Le=/^\s*</.test(he)?"default-markup":"default-code"),de[Le]}Ie(ne,["default-code"]),Ie(Y([],[[L,/^[^<?]+/],[k,/^<!\w[^>]*(?:>|$)/],[T,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[I,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),Ie(Y([[L,/^[\s]+/,null,` \r
|
|
|
`],[W,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[R,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[P,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[I,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),Ie(Y([],[[W,/^[\s\S]+/]]),["uq.val"]),Ie($({keywords:i,hashComments:!0,cStyleComments:!0,types:b}),["c","cc","cpp","cxx","cyc","m"]),Ie($({keywords:"null,true,false"}),["json"]),Ie($({keywords:a,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:b}),["cs"]),Ie($({keywords:r,cStyleComments:!0}),["java"]),Ie($({keywords:y,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Ie($({keywords:d,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Ie($({keywords:u,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Ie($({keywords:v,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Ie($({keywords:s,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Ie($({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Ie(Y([],[[E,/^[\s\S]+/]]),["regex"]);function Ce(Le){var he=Le.langExtension;try{var ee=j(Le.sourceNode,Le.pre),se=ee.sourceCode;Le.sourceCode=se,Le.spans=ee.spans,Le.basePos=0,be(he,se)(Le),ge(Le)}catch(Ue){h.console&&console.log(Ue&&Ue.stack||Ue)}}function je(Le,he,ee){var se=ee||!1,Ue=he||null,ue=document.createElement("div");ue.innerHTML="<pre>"+Le+"</pre>",ue=ue.firstChild,se&&J(ue,se,!0);var Ne={langExtension:Ue,numberLines:se,sourceNode:ue,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Ce(Ne),ue.innerHTML}function te(Le,he){var ee=he||document.body,se=ee.ownerDocument||document;function Ue(Ct){return ee.getElementsByTagName(Ct)}for(var ue=[Ue("pre"),Ue("code"),Ue("xmp")],Ne=[],Fe=0;Fe<ue.length;++Fe)for(var ae=0,ce=ue[Fe].length;ae<ce;++ae)Ne.push(ue[Fe][ae]);ue=null;var _e=Date;_e.now||(_e={now:function(){return+new Date}});var ze=0,it=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ze=/\bprettyprint\b/,Ee=/\bprettyprinted\b/,mt=/pre|xmp/i,Je=/^code$/i,rt=/^(?:pre|code|xmp)$/i,wt={};function Ot(){for(var Ct=h.PR_SHOULD_USE_CONTINUATION?_e.now()+250:Infinity;ze<Ne.length&&_e.now()<Ct;ze++){for(var Dt=Ne[ze],Xe=wt,q=Dt;q=q.previousSibling;){var V=q.nodeType,Ae=(V===7||V===8)&&q.nodeValue;if(Ae?!/^\??prettify\b/.test(Ae):V!==3||/\S/.test(q.nodeValue))break;if(Ae){Xe={},Ae.replace(/\b(\w+)=([\w:.%+-]+)/g,function(At,Zt,br){Xe[Zt]=br});break}}var xe=Dt.className;if((Xe!==wt||Ze.test(xe))&&!Ee.test(xe)){for(var re=!1,ot=Dt.parentNode;ot;ot=ot.parentNode){var bt=ot.tagName;if(rt.test(bt)&&ot.className&&Ze.test(ot.className)){re=!0;break}}if(!re){Dt.className+=" prettyprinted";var tt=Xe.lang;if(!tt){tt=xe.match(it);var Tt;!tt&&(Tt=z(Dt))&&Je.test(Tt.tagName)&&(tt=Tt.className.match(it)),tt&&(tt=tt[1])}var Gt;if(mt.test(Dt.tagName))Gt=1;else{var lr=Dt.currentStyle,pr=se.defaultView,Rr=lr?lr.whiteSpace:pr&&pr.getComputedStyle?pr.getComputedStyle(Dt,null).getPropertyValue("white-space"):0;Gt=Rr&&Rr.substring(0,3)==="pre"}var xt=Xe.linenums;(xt=xt==="true"||+xt)||(xt=xe.match(/\blinenums\b(?::(\d+))?/),xt=xt?xt[1]&&xt[1].length?+xt[1]:!0:!1),xt&&J(Dt,xt,Gt);var It={langExtension:tt,sourceNode:Dt,numberLines:xt,pre:Gt,sourceCode:null,basePos:null,spans:null,decorations:null};Ce(It)}}}ze<Ne.length?h.setTimeout(Ot,250):typeof Le=="function"&&Le()}Ot()}var ve=h.PR={createSimpleLexer:Y,registerLangHandler:Ie,sourceDecorator:$,PR_ATTRIB_NAME:P,PR_ATTRIB_VALUE:W,PR_COMMENT:T,PR_DECLARATION:k,PR_KEYWORD:C,PR_LITERAL:_,PR_NOCODE:D,PR_PLAIN:L,PR_PUNCTUATION:I,PR_SOURCE:F,PR_STRING:E,PR_TAG:R,PR_TYPE:x,prettyPrintOne:A?h.prettyPrintOne=je:p=je,prettyPrint:c=A?h.prettyPrint=te:c=te},$e=h.define;typeof $e=="function"&&$e.amd&&$e("google-code-prettify",[],function(){return ve})})()},SKnc:function(M,B,o){var w=o("bYtY"),f=o("QuXc"),A=function(p,c,h,l,e,n){this.x=p==null?0:p,this.y=c==null?0:c,this.x2=h==null?1:h,this.y2=l==null?0:l,this.type="linear",this.global=n||!1,f.call(this,e)};A.prototype={constructor:A},w.inherits(A,f);var m=A;M.exports=m},"SKx+":function(M,B,o){var w=o("ProS"),f=w.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}}}),A=f;M.exports=A},SMc4:function(M,B,o){var w=o("bYtY"),f=o("bLfw"),A=o("nkfE"),m=o("ICMv"),g=f.extend({type:"cartesian2dAxis",axis:null,init:function(){g.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){g.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){g.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function p(l,e){return e.type||(e.data?"category":"value")}w.merge(g.prototype,m);var c={offset:0};A("x",g,p,c),A("y",g,p,c);var h=g;M.exports=h},SUKs:function(M,B,o){var w=o("LPTA"),f=w.debugMode,A=function(){};f===1&&(A=console.error);var m=A;M.exports=m},SZEN:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.clientToElement=w;function w(f,A,m){var g=m.getBoundingClientRect(),p={x:0,y:0};return f<g.left?p.x=0:f>=g.right?p.x=g.width-1:p.x=f-g.left,A<g.top?p.y=0:A>=g.bottom?p.y=g.height-1:p.y=A-g.top,p}},SehX:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("2B6p"),m=A.updateCenterAndZoom;w.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(g,p){var c=g.componentType||"series";p.eachComponent({mainType:c,query:g},function(h){var l=h.coordinateSystem;if(l.type!=="geo")return;var e=m(l,g,h.get("scaleLimit"));h.setCenter&&h.setCenter(e.center),h.setZoom&&h.setZoom(e.zoom),c==="series"&&f.each(h.seriesGroup,function(n){n.setCenter(e.center),n.setZoom(e.zoom)})})})},SgGq:function(M,B,o){var w=o("bYtY"),f=o("H6uX"),A=o("YH21"),m=o("pP6R");function g(t){this.pointerChecker,this._zr=t,this._opt={};var s=w.bind,u=s(p,this),d=s(c,this),v=s(h,this),y=s(l,this),S=s(e,this);f.call(this),this.setPointerChecker=function(b){this.pointerChecker=b},this.enable=function(b,E){this.disable(),this._opt=w.defaults(w.clone(E)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),b==null&&(b=!0),(b===!0||b==="move"||b==="pan")&&(t.on("mousedown",u),t.on("mousemove",d),t.on("mouseup",v)),(b===!0||b==="scale"||b==="zoom")&&(t.on("mousewheel",y),t.on("pinch",S))},this.disable=function(){t.off("mousedown",u),t.off("mousemove",d),t.off("mouseup",v),t.off("mousewheel",y),t.off("pinch",S)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}w.mixin(g,f);function p(t){if(A.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)return;var s=t.offsetX,u=t.offsetY;this.pointerChecker&&this.pointerChecker(t,s,u)&&(this._x=s,this._y=u,this._dragging=!0)}function c(t){if(!this._dragging||!r("moveOnMouseMove",t,this._opt)||t.gestureEvent==="pinch"||m.isTaken(this._zr,"globalPan"))return;var s=t.offsetX,u=t.offsetY,d=this._x,v=this._y,y=s-d,S=u-v;this._x=s,this._y=u,this._opt.preventDefaultMouseMove&&A.stop(t.event),i(this,"pan","moveOnMouseMove",t,{dx:y,dy:S,oldX:d,oldY:v,newX:s,newY:u})}function h(t){A.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function l(t){var s=r("zoomOnMouseWheel",t,this._opt),u=r("moveOnMouseWheel",t,this._opt),d=t.wheelDelta,v=Math.abs(d),y=t.offsetX,S=t.offsetY;if(d===0||!s&&!u)return;if(s){var b=v>3?1.4:v>1?1.2:1.1,E=d>0?b:1/b;n(this,"zoom","zoomOnMouseWheel",t,{scale:E,originX:y,originY:S})}if(u){var C=Math.abs(d),T=(d>0?1:-1)*(C>3?.4:C>1?.15:.05);n(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:T,originX:y,originY:S})}}function e(t){if(m.isTaken(this._zr,"globalPan"))return;var s=t.pinchScale>1?1.1:1/1.1;n(this,"zoom",null,t,{scale:s,originX:t.pinchX,originY:t.pinchY})}function n(t,s,u,d,v){t.pointerChecker&&t.pointerChecker(d,v.originX,v.originY)&&(A.stop(d.event),i(t,s,u,d,v))}function i(t,s,u,d,v){v.isAvailableBehavior=w.bind(r,null,u,d),t.trigger(s,v)}function r(t,s,u){var d=u[t];return!t||d&&(!w.isString(d)||s.event[d+"Key"])}var a=g;M.exports=a},SgaC:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;function w(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}function f(g,p){for(var c=0;c<p.length;c++){var h=p[c];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(g,h.key,h)}}function A(g,p,c){return p&&f(g.prototype,p),c&&f(g,c),g}var m=function(){function g(){w(this,g),this._subrects=0}return A(g,[{key:"decodeRect",value:function(c,h,l,e,n,i,r){if(this._subrects===0){if(n.rQwait("RRE",4+4))return!1;this._subrects=n.rQshift32();var a=n.rQshiftBytes(4);i.fillRect(c,h,l,e,a)}for(;this._subrects>0;){if(n.rQwait("RRE",4+8))return!1;var t=n.rQshiftBytes(4),s=n.rQshift16(),u=n.rQshift16(),d=n.rQshift16(),v=n.rQshift16();i.fillRect(c+s,h+u,d,v,t),this._subrects--}return!0}}]),g}();B.default=m},Sj9i:function(M,B,o){var w=o("QBsz"),f=w.create,A=w.distSquare,m=Math.pow,g=Math.sqrt,p=1e-8,c=1e-4,h=g(3),l=1/3,e=f(),n=f(),i=f();function r(_){return _>-p&&_<p}function a(_){return _>p||_<-p}function t(_,I,L,R,k){var F=1-k;return F*F*(F*_+3*k*I)+k*k*(k*R+3*F*L)}function s(_,I,L,R,k){var F=1-k;return 3*(((I-_)*F+2*(L-I)*k)*F+(R-L)*k*k)}function u(_,I,L,R,k,F){var P=R+3*(I-L)-_,W=3*(L-I*2+_),D=3*(I-_),U=_-k,H=W*W-3*P*D,j=W*D-9*P*U,K=D*D-3*W*U,X=0;if(r(H)&&r(j))if(r(W))F[0]=0;else{var z=-D/W;z>=0&&z<=1&&(F[X++]=z)}else{var Y=j*j-4*H*K;if(r(Y)){var $=j/H,z=-W/P+$,ne=-$/2;z>=0&&z<=1&&(F[X++]=z),ne>=0&&ne<=1&&(F[X++]=ne)}else if(Y>0){var J=g(Y),ge=H*W+1.5*P*(-j+J),de=H*W+1.5*P*(-j-J);ge<0?ge=-m(-ge,l):ge=m(ge,l),de<0?de=-m(-de,l):de=m(de,l);var z=(-W-(ge+de))/(3*P);z>=0&&z<=1&&(F[X++]=z)}else{var Ie=(2*H*W-3*P*j)/(2*g(H*H*H)),be=Math.acos(Ie)/3,Ce=g(H),je=Math.cos(be),z=(-W-2*Ce*je)/(3*P),ne=(-W+Ce*(je+h*Math.sin(be)))/(3*P),te=(-W+Ce*(je-h*Math.sin(be)))/(3*P);z>=0&&z<=1&&(F[X++]=z),ne>=0&&ne<=1&&(F[X++]=ne),te>=0&&te<=1&&(F[X++]=te)}}return X}function d(_,I,L,R,k){var F=6*L-12*I+6*_,P=9*I+3*R-3*_-9*L,W=3*I-3*_,D=0;if(r(P)){if(a(F)){var U=-W/F;U>=0&&U<=1&&(k[D++]=U)}}else{var H=F*F-4*P*W;if(r(H))k[0]=-F/(2*P);else if(H>0){var j=g(H),U=(-F+j)/(2*P),K=(-F-j)/(2*P);U>=0&&U<=1&&(k[D++]=U),K>=0&&K<=1&&(k[D++]=K)}}return D}function v(_,I,L,R,k,F){var P=(I-_)*k+_,W=(L-I)*k+I,D=(R-L)*k+L,U=(W-P)*k+P,H=(D-W)*k+W,j=(H-U)*k+U;F[0]=_,F[1]=P,F[2]=U,F[3]=j,F[4]=j,F[5]=H,F[6]=D,F[7]=R}function y(_,I,L,R,k,F,P,W,D,U,H){var j,K=.005,X=Infinity,z,Y,$,ne;e[0]=D,e[1]=U;for(var J=0;J<1;J+=.05)n[0]=t(_,L,k,P,J),n[1]=t(I,R,F,W,J),$=A(e,n),$<X&&(j=J,X=$);X=Infinity;for(var ge=0;ge<32&&!(K<c);ge++)z=j-K,Y=j+K,n[0]=t(_,L,k,P,z),n[1]=t(I,R,F,W,z),$=A(n,e),z>=0&&$<X?(j=z,X=$):(i[0]=t(_,L,k,P,Y),i[1]=t(I,R,F,W,Y),ne=A(i,e),Y<=1&&ne<X?(j=Y,X=ne):K*=.5);return H&&(H[0]=t(_,L,k,P,j),H[1]=t(I,R,F,W,j)),g(X)}function S(_,I,L,R){var k=1-R;return k*(k*_+2*R*I)+R*R*L}function b(_,I,L,R){return 2*((1-R)*(I-_)+R*(L-I))}function E(_,I,L,R,k){var F=_-2*I+L,P=2*(I-_),W=_-R,D=0;if(r(F)){if(a(P)){var U=-W/P;U>=0&&U<=1&&(k[D++]=U)}}else{var H=P*P-4*F*W;if(r(H)){var U=-P/(2*F);U>=0&&U<=1&&(k[D++]=U)}else if(H>0){var j=g(H),U=(-P+j)/(2*F),K=(-P-j)/(2*F);U>=0&&U<=1&&(k[D++]=U),K>=0&&K<=1&&(k[D++]=K)}}return D}function C(_,I,L){var R=_+L-2*I;return R===0?.5:(_-I)/R}function T(_,I,L,R,k){var F=(I-_)*R+_,P=(L-I)*R+I,W=(P-F)*R+F;k[0]=_,k[1]=F,k[2]=W,k[3]=W,k[4]=P,k[5]=L}function x(_,I,L,R,k,F,P,W,D){var U,H=.005,j=Infinity;e[0]=P,e[1]=W;for(var K=0;K<1;K+=.05){n[0]=S(_,L,k,K),n[1]=S(I,R,F,K);var X=A(e,n);X<j&&(U=K,j=X)}j=Infinity;for(var z=0;z<32&&!(H<c);z++){var Y=U-H,$=U+H;n[0]=S(_,L,k,Y),n[1]=S(I,R,F,Y);var X=A(n,e);if(Y>=0&&X<j)U=Y,j=X;else{i[0]=S(_,L,k,$),i[1]=S(I,R,F,$);var ne=A(i,e);$<=1&&ne<j?(U=$,j=ne):H*=.5}}return D&&(D[0]=S(_,L,k,U),D[1]=S(I,R,F,U)),g(j)}B.cubicAt=t,B.cubicDerivativeAt=s,B.cubicRootAt=u,B.cubicExtrema=d,B.cubicSubdivide=v,B.cubicProjectPoint=y,B.quadraticAt=S,B.quadraticDerivativeAt=b,B.quadraticRootAt=E,B.quadraticExtremum=C,B.quadraticSubdivide=T,B.quadraticProjectPoint=x},Sp2Z:function(M,B,o){var w=o("3LNs"),f=o("/y7N"),A=o("AVZG"),m=o("Znkb"),g=w.extend({makeElOption:function(e,n,i,r,a){var t=i.axis,s=t.grid,u=r.get("type"),d=p(s,t).getOtherAxis(t).getGlobalExtent(),v=t.toGlobalCoord(t.dataToCoord(n,!0));if(u&&u!=="none"){var y=f.buildElStyle(r),S=c[u](t,v,d);S.style=y,e.graphicKey=S.type,e.pointer=S}var b=A.layout(s.model,i);f.buildCartesianSingleLabelElOption(n,e,b,i,r,a)},getHandleTransform:function(e,n,i){var r=A.layout(n.axis.grid.model,n,{labelInside:!1});return r.labelMargin=i.get("handle.margin"),{position:f.getTransformedPosition(n.axis,e,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,n,i,r){var a=i.axis,t=a.grid,s=a.getGlobalExtent(!0),u=p(t,a).getOtherAxis(a).getGlobalExtent(),d=a.dim==="x"?0:1,v=e.position;v[d]+=n[d],v[d]=Math.min(s[1],v[d]),v[d]=Math.max(s[0],v[d]);var y=(u[1]+u[0])/2,S=[y,y];S[d]=v[d];var b=[{verticalAlign:"middle"},{align:"center"}];return{position:v,rotation:e.rotation,cursorPoint:S,tooltipOption:b[d]}}});function p(e,n){var i={};return i[n.dim+"AxisIndex"]=n.index,e.getCartesian(i)}var c={line:function(e,n,i){var r=f.makeLineShape([n,i[0]],[n,i[1]],h(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,n,i){var r=Math.max(1,e.getBandWidth()),a=i[1]-i[0];return{type:"Rect",shape:f.makeRectShape([n-r/2,i[0]],[r,a],h(e))}}};function h(e){return e.dim==="x"?0:1}m.registerAxisPointerClass("CartesianAxisPointer",g);var l=g;M.exports=l},Sq3C:function(M,B,o){var w=o("sKgW"),f=o("zoYe"),A=o("wy8a"),m=o("quyA"),g=o("Z1HP"),p=o("Em2t"),c=Math.ceil;function h(l,e){e=e===void 0?" ":f(e);var n=e.length;if(n<2)return n?w(e,l):e;var i=w(e,c(l/g(e)));return m(e)?A(p(i),0,l).join(""):i.slice(0,l)}M.exports=h},SqI9:function(M,B,o){var w=o("y+Vt"),f=o("iXp4"),A=w.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:f(w.prototype.brush),buildPath:function(g,p){var c=p.cx,h=p.cy,l=Math.max(p.r0||0,0),e=Math.max(p.r,0),n=p.startAngle,i=p.endAngle,r=p.clockwise,a=Math.cos(n),t=Math.sin(n);g.moveTo(a*l+c,t*l+h),g.lineTo(a*e+c,t*e+h),g.arc(c,h,e,n,i,!r),g.lineTo(Math.cos(i)*l+c,Math.sin(i)*l+h),l!==0&&g.arc(c,h,l,i,n,r),g.closePath()}});M.exports=A},SrGk:function(M,B,o){var w=o("hydK"),f=w.createElement,A=o("bYtY"),m=o("y+Vt"),g=o("Dagg"),p=o("dqUG"),c=o("P47w"),h=c.path,l=c.image,e=c.text,n="0",i="1";function r(t,s,u,d,v){this._zrId=t,this._svgRoot=s,this._tagNames=typeof u=="string"?[u]:u,this._markLabel=d,this._domName=v||"_dom",this.nextId=0}r.prototype.createElement=f,r.prototype.getDefs=function(t){var s=this._svgRoot,u=this._svgRoot.getElementsByTagName("defs");return u.length===0?t?(u=s.insertBefore(this.createElement("defs"),s.firstChild),u.contains||(u.contains=function(d){var v=u.children;if(!v)return!1;for(var y=v.length-1;y>=0;--y)if(v[y]===d)return!0;return!1}),u):null:u[0]},r.prototype.update=function(t,s){if(!t)return;var u=this.getDefs(!1);if(t[this._domName]&&u.contains(t[this._domName]))typeof s=="function"&&s(t);else{var d=this.add(t);d&&(t[this._domName]=d)}},r.prototype.addDom=function(t){var s=this.getDefs(!0);s.appendChild(t)},r.prototype.removeDom=function(t){var s=this.getDefs(!1);s&&t[this._domName]&&(s.removeChild(t[this._domName]),t[this._domName]=null)},r.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var s=[];return A.each(this._tagNames,function(u){var d=t.getElementsByTagName(u);s=s.concat([].slice.call(d))}),s},r.prototype.markAllUnused=function(){var t=this.getDoms(),s=this;A.each(t,function(u){u[s._markLabel]=n})},r.prototype.markUsed=function(t){t&&(t[this._markLabel]=i)},r.prototype.removeUnused=function(){var t=this.getDefs(!1);if(!t)return;var s=this.getDoms(),u=this;A.each(s,function(d){d[u._markLabel]!==i&&t.removeChild(d)})},r.prototype.getSvgProxy=function(t){return t instanceof m?h:t instanceof g?l:t instanceof p?e:h},r.prototype.getTextSvgElement=function(t){return t.__textSvgEl},r.prototype.getSvgElement=function(t){return t.__svgEl};var a=r;M.exports=a},Swgg:function(M,B,o){var w=o("fc+c"),f=w.extend({type:"dataZoom.select"});M.exports=f},Sxd8:function(M,B,o){var w=o("ZCgT");function f(A){var m=w(A),g=m%1;return m===m?g?m-g:m:0}M.exports=f},T4UG:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=o("ItGF"),g=o("7aKB"),p=g.formatTime,c=g.encodeHTML,h=g.addCommas,l=g.getTooltipMarker,e=o("4NO4"),n=o("bLfw"),i=o("5Hur"),r=o("OKJ2"),a=o("+TT/"),t=a.getLayoutParams,s=a.mergeLayoutParam,u=o("9H2F"),d=u.createTask,v=o("D5nY"),y=v.prepareSource,S=v.getSource,b=o("KxfA"),E=b.retrieveRawValue,C=e.makeInner(),T=n.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(D,U,H,j){this.seriesIndex=this.componentIndex,this.dataTask=d({count:I,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(D,H),y(this);var K=this.getInitialData(D,H);k(K,this),this.dataTask.context.data=K,C(this).dataBeforeProcessed=K,x(this)},mergeDefaultAndTheme:function(D,U){var H=this.layoutMode,j=H?t(D):{},K=this.subType;n.hasClass(K)&&(K+="Series"),A.merge(D,U.getTheme().get(this.subType)),A.merge(D,this.getDefaultOption()),e.defaultEmphasis(D,"label",["show"]),this.fillDataTextStyle(D.data),H&&s(D,j,H)},mergeOption:function(D,U){D=A.merge(this.option,D,!0),this.fillDataTextStyle(D.data);var H=this.layoutMode;H&&s(this.option,D,H),y(this);var j=this.getInitialData(D,U);k(j,this),this.dataTask.dirty(),this.dataTask.context.data=j,C(this).dataBeforeProcessed=j,x(this)},fillDataTextStyle:function(D){if(D&&!A.isTypedArray(D))for(var U=["show"],H=0;H<D.length;H++)D[H]&&D[H].label&&e.defaultEmphasis(D[H],"label",U)},getInitialData:function(){},appendData:function(D){var U=this.getRawData();U.appendData(D.data)},getData:function(D){var U=P(this);if(U){var H=U.context.data;return D==null?H:H.getLinkedData(D)}else return C(this).data},setData:function(D){var U=P(this);if(U){var H=U.context;H.data!==D&&U.modifyOutputEnd&&U.setOutputEnd(D.count()),H.outputData=D,U!==this.dataTask&&(H.data=D)}C(this).data=D},getSource:function(){return S(this)},getRawData:function(){return C(this).dataBeforeProcessed},getBaseAxis:function(){var D=this.coordinateSystem;return D&&D.getBaseAxis&&D.getBaseAxis()},formatTooltip:function(D,U,H,j){var K=this;j=j||"html";var X=j==="html"?"<br/>":`
|
|
|
`,z=j==="richText",Y={},$=0;function ne(ue){var Ne=A.reduce(ue,function(ze,it,Ze){var Ee=ge.getDimensionInfo(Ze);return ze|=Ee&&Ee.tooltip!==!1&&Ee.displayName!=null},0),Fe=[];de.length?A.each(de,function(ze){ae(E(ge,D,ze),ze)}):A.each(ue,ae);function ae(ze,it){var Ze=ge.getDimensionInfo(it);if(!Ze||Ze.otherDims.tooltip===!1)return;var Ee=Ze.type,mt="sub"+K.seriesIndex+"at"+$,Je=l({color:je,type:"subItem",renderMode:j,markerId:mt}),rt=typeof Je=="string"?Je:Je.content,wt=(Ne?rt+c(Ze.displayName||"-")+": ":"")+c(Ee==="ordinal"?ze+"":Ee==="time"?U?"":p("yyyy/MM/dd hh:mm:ss",ze):h(ze));wt&&Fe.push(wt),z&&(Y[mt]=je,++$)}var ce=Ne?z?`
|
|
|
`:"<br/>":"",_e=ce+Fe.join(ce||", ");return{renderMode:j,content:_e,style:Y}}function J(ue){return{renderMode:j,content:c(h(ue)),style:Y}}var ge=this.getData(),de=ge.mapDimension("defaultedTooltip",!0),Ie=de.length,be=this.getRawValue(D),Ce=A.isArray(be),je=ge.getItemVisual(D,"color");A.isObject(je)&&je.colorStops&&(je=(je.colorStops[0]||{}).color),je=je||"transparent";var te=Ie>1||Ce&&!Ie?ne(be):J(Ie?E(ge,D,de[0]):Ce?be[0]:be),ve=te.content,$e=K.seriesIndex+"at"+$,Le=l({color:je,type:"item",renderMode:j,markerId:$e});Y[$e]=je,++$;var he=ge.getName(D),ee=this.name;e.isNameSpecified(this)||(ee=""),ee=ee?c(ee)+(U?": ":X):"";var se=typeof Le=="string"?Le:Le.content,Ue=U?se+ee+ve:ee+se+(he?c(he)+": "+ve:ve);return{html:Ue,markers:Y}},isAnimationEnabled:function(){if(m.node)return!1;var D=this.getShallow("animation");return D&&(this.getData().count()>this.getShallow("animationThreshold")&&(D=!1)),D},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(D,U,H){var j=this.ecModel,K=i.getColorFromPalette.call(this,D,U,H);return K||(K=j.getColorFromPalette(D,U,H)),K},coordDimToDataDim:function(D){return this.getRawData().mapDimension(D,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});A.mixin(T,r),A.mixin(T,i);function x(D){var U=D.name;e.isNameSpecified(D)||(D.name=_(D)||U)}function _(D){var U=D.getRawData(),H=U.mapDimension("seriesName",!0),j=[];return A.each(H,function(K){var X=U.getDimensionInfo(K);X.displayName&&j.push(X.displayName)}),j.join(" ")}function I(D){return D.model.getRawData().count()}function L(D){var U=D.model;return U.setData(U.getRawData().cloneShallow()),R}function R(D,U){U.outputData&&D.end>U.outputData.count()&&U.model.getRawData().cloneShallow(U.outputData)}function k(D,U){A.each(D.CHANGABLE_METHODS,function(H){D.wrapMethod(H,A.curry(F,U))})}function F(D){var U=P(D);U&&U.setOutputEnd(this.count())}function P(D){var U=(D.ecModel||{}).scheduler,H=U&&U.getPipeline(D.uid);if(H){var j=H.currentTask;if(j){var K=j.agentStubMap;K&&(j=K.get(D.uid))}return j}}var W=T;M.exports=W},T6xi:function(M,B,o){var w=o("YgsL"),f=o("nCxF");function A(m,g,p){var c=g.points,h=g.smooth;if(c&&c.length>=2){if(h&&h!=="spline"){var l=f(c,h,p,g.smoothConstraint);m.moveTo(c[0][0],c[0][1]);for(var e=c.length,n=0;n<(p?e:e-1);n++){var i=l[n*2],r=l[n*2+1],a=c[(n+1)%e];m.bezierCurveTo(i[0],i[1],r[0],r[1],a[0],a[1])}}else{h==="spline"&&(c=w(c,p)),m.moveTo(c[0][0],c[0][1]);for(var n=1,t=c.length;n<t;n++)m.lineTo(c[n][0],c[n][1])}p&&m.closePath()}}B.buildPath=A},TIY9:function(M,B,o){var w=o("bYtY"),f=w.each,A=o("vafp"),m=o("4NO4"),g=m.makeInner,p=o("Mgri"),c=o("F5Ls"),h=o("a9QJ"),l=o("p/La"),e=g(),n={load:function(r,a,t){var s=e(a).parsed;if(s)return s;var u=a.specialAreas||{},d=a.geoJSON,v;try{v=d?A(d,t):[]}catch(y){throw new Error(`Invalid geoJson format
|
|
|
`+y.message)}return p(r,v),f(v,function(y){var S=y.name;c(r,y),h(r,y),l(r,y);var b=u[S];b&&y.transformTo(b.left,b.top,b.width,b.height)}),e(a).parsed={regions:v,boundingRect:i(v)}}};function i(r){for(var a,t=0;t<r.length;t++){var s=r[t].getBoundingRect();a=a||s.clone(),a.union(s)}return a}M.exports=n},TJmX:function(M,B,o){var w=o("zM3Q"),f=["itemStyle","borderColor"],A=["itemStyle","borderColor0"],m=["itemStyle","color"],g=["itemStyle","color0"],p={seriesType:"candlestick",plan:w(),performRawSeries:!0,reset:function(c,h){var l=c.getData();if(l.setVisual({legendSymbol:"roundRect",colorP:i(1,c),colorN:i(-1,c),borderColorP:r(1,c),borderColorN:r(-1,c)}),h.isSeriesFiltered(c))return;var e=c.pipelineContext.large;return!e&&{progress:n};function n(a,t){for(var s;(s=a.next())!=null;){var u=t.getItemModel(s),d=t.getItemLayout(s).sign;t.setItemVisual(s,{color:i(d,u),borderColor:r(d,u)})}}function i(a,t){return t.get(a>0?m:g)}function r(a,t){return t.get(a>0?f:A)}}};M.exports=p},TWL2:function(M,B,o){var w=o("IwbS"),f=o("bYtY"),A=o("6Ic6");function m(l,e){w.Group.call(this);var n=new w.Polygon,i=new w.Polyline,r=new w.Text;this.add(n),this.add(i),this.add(r),this.highDownOnUpdate=function(a,t){t==="emphasis"?(i.ignore=i.hoverIgnore,r.ignore=r.hoverIgnore):(i.ignore=i.normalIgnore,r.ignore=r.normalIgnore)},this.updateData(l,e,!0)}var g=m.prototype,p=["itemStyle","opacity"];g.updateData=function(l,e,n){var i=this.childAt(0),r=l.hostModel,a=l.getItemModel(e),t=l.getItemLayout(e),s=l.getItemModel(e).get(p);s=s==null?1:s,i.useStyle({}),n?(i.setShape({points:t.points}),i.setStyle({opacity:0}),w.initProps(i,{style:{opacity:s}},r,e)):w.updateProps(i,{style:{opacity:s},shape:{points:t.points}},r,e);var u=a.getModel("itemStyle"),d=l.getItemVisual(e,"color");i.setStyle(f.defaults({lineJoin:"round",fill:d},u.getItemStyle(["opacity"]))),i.hoverStyle=u.getModel("emphasis").getItemStyle(),this._updateLabel(l,e),w.setHoverStyle(this)},g._updateLabel=function(l,e){var n=this.childAt(1),i=this.childAt(2),r=l.hostModel,a=l.getItemModel(e),t=l.getItemLayout(e),s=t.label,u=l.getItemVisual(e,"color");w.updateProps(n,{shape:{points:s.linePoints||s.linePoints}},r,e),w.updateProps(i,{style:{x:s.x,y:s.y}},r,e),i.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var d=a.getModel("label"),v=a.getModel("emphasis.label"),y=a.getModel("labelLine"),S=a.getModel("emphasis.labelLine"),u=l.getItemVisual(e,"color");w.setLabelStyle(i.style,i.hoverStyle={},d,v,{labelFetcher:l.hostModel,labelDataIndex:e,defaultText:l.getName(e),autoColor:u,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),i.ignore=i.normalIgnore=!d.get("show"),i.hoverIgnore=!v.get("show"),n.ignore=n.normalIgnore=!y.get("show"),n.hoverIgnore=!S.get("show"),n.setStyle({stroke:u}),n.setStyle(y.getModel("lineStyle").getLineStyle()),n.hoverStyle=S.getModel("lineStyle").getLineStyle()},f.inherits(m,w.Group);var c=A.extend({type:"funnel",render:function(l,e,n){var i=l.getData(),r=this._data,a=this.group;i.diff(r).add(function(t){var s=new m(i,t);i.setItemGraphicEl(t,s),a.add(s)}).update(function(t,s){var u=r.getItemGraphicEl(s);u.updateData(i,t),a.add(u),i.setItemGraphicEl(t,u)}).remove(function(t){var s=r.getItemGraphicEl(t);a.remove(s)}).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),h=c;M.exports=h},TYVI:function(M,B,o){var w=o("5GtS"),f=o("T4UG"),A=f.extend({type:"series.gauge",getInitialData:function(g,p){return w(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),m=A;M.exports=m},TYmi:function(M,B,o){"use strict";var w=o("n3rz");B.a=w.a},TZBT:function(M,B,o){"use strict";var w=o("rePB"),f=o("wx14"),A=o("q1tI"),m=o("x1Ya"),g=o("TSYQ"),p=o.n(g),c=o("c+Xe"),h=o("9R2V"),l=A.createContext(null),e=l.Provider,n=l,i=o("bq+4"),r=function(I,L){var R={};for(var k in I)Object.prototype.hasOwnProperty.call(I,k)&&L.indexOf(k)<0&&(R[k]=I[k]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,k=Object.getOwnPropertySymbols(I);F<k.length;F++)L.indexOf(k[F])<0&&Object.prototype.propertyIsEnumerable.call(I,k[F])&&(R[k[F]]=I[k[F]]);return R},a=function(L,R){var k,F=A.useContext(n),P=A.useContext(h.b),W=P.getPrefixCls,D=P.direction,U=A.useRef(),H=Object(c.a)(R,U);A.useEffect(function(){Object(i.a)(!("optionType"in L),"Radio","`optionType` is only support in Radio.Group.")},[]);var j=function(Ie){var be,Ce;(be=L.onChange)===null||be===void 0||be.call(L,Ie),(Ce=F==null?void 0:F.onChange)===null||Ce===void 0||Ce.call(F,Ie)},K=L.prefixCls,X=L.className,z=L.children,Y=L.style,$=r(L,["prefixCls","className","children","style"]),ne=W("radio",K),J=Object(f.a)({},$);F&&(J.name=F.name,J.onChange=j,J.checked=L.value===F.value,J.disabled=L.disabled||F.disabled);var ge=p()("".concat(ne,"-wrapper"),(k={},Object(w.a)(k,"".concat(ne,"-wrapper-checked"),J.checked),Object(w.a)(k,"".concat(ne,"-wrapper-disabled"),J.disabled),Object(w.a)(k,"".concat(ne,"-wrapper-rtl"),D==="rtl"),k),X);return A.createElement("label",{className:ge,style:Y,onMouseEnter:L.onMouseEnter,onMouseLeave:L.onMouseLeave},A.createElement(m.a,Object(f.a)({},J,{prefixCls:ne,ref:H})),z!==void 0?A.createElement("span",null,z):null)},t=A.forwardRef(a);t.displayName="Radio",t.defaultProps={type:"radio"};var s=t,u=o("ODXe"),d=o("6cGi"),v=o("kc2O"),y=o("t8gd"),S=A.forwardRef(function(I,L){var R=A.useContext(h.b),k=R.getPrefixCls,F=R.direction,P=A.useContext(v.b),W=Object(d.a)(I.defaultValue,{value:I.value}),D=Object(u.a)(W,2),U=D[0],H=D[1],j=function(z){var Y=U,$=z.target.value;"value"in I||H($);var ne=I.onChange;ne&&$!==Y&&ne(z)},K=function(){var z,Y=I.prefixCls,$=I.className,ne=$===void 0?"":$,J=I.options,ge=I.optionType,de=I.buttonStyle,Ie=de===void 0?"outline":de,be=I.disabled,Ce=I.children,je=I.size,te=I.style,ve=I.id,$e=I.onMouseEnter,Le=I.onMouseLeave,he=k("radio",Y),ee="".concat(he,"-group"),se=Ce;if(J&&J.length>0){var Ue=ge==="button"?"".concat(he,"-button"):he;se=J.map(function(Fe){return typeof Fe=="string"?A.createElement(s,{key:Fe,prefixCls:Ue,disabled:be,value:Fe,checked:U===Fe},Fe):A.createElement(s,{key:"radio-group-value-options-".concat(Fe.value),prefixCls:Ue,disabled:Fe.disabled||be,value:Fe.value,checked:U===Fe.value,style:Fe.style},Fe.label)})}var ue=je||P,Ne=p()(ee,"".concat(ee,"-").concat(Ie),(z={},Object(w.a)(z,"".concat(ee,"-").concat(ue),ue),Object(w.a)(z,"".concat(ee,"-rtl"),F==="rtl"),z),ne);return A.createElement("div",Object(f.a)({},Object(y.a)(I),{className:Ne,style:te,onMouseEnter:$e,onMouseLeave:Le,id:ve,ref:L}),se)};return A.createElement(e,{value:{onChange:j,value:U,disabled:I.disabled,name:I.name}},K())}),b=A.memo(S),E=function(I,L){var R={};for(var k in I)Object.prototype.hasOwnProperty.call(I,k)&&L.indexOf(k)<0&&(R[k]=I[k]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,k=Object.getOwnPropertySymbols(I);F<k.length;F++)L.indexOf(k[F])<0&&Object.prototype.propertyIsEnumerable.call(I,k[F])&&(R[k[F]]=I[k[F]]);return R},C=function(L,R){var k=A.useContext(n),F=A.useContext(h.b),P=F.getPrefixCls,W=L.prefixCls,D=E(L,["prefixCls"]),U=P("radio-button",W);return k&&(D.checked=L.value===k.value,D.disabled=L.disabled||k.disabled),A.createElement(s,Object(f.a)({prefixCls:U},D,{type:"radio",ref:R}))},T=A.forwardRef(C),x=s;x.Button=T,x.Group=b;var _=B.a=x},Tghj:function(M,B,o){(function(w){var f;typeof window!="undefined"?f=window.__DEV__:typeof w!="undefined"&&(f=w.__DEV__),typeof f=="undefined"&&(f=!0);var A=f;B.__DEV__=A}).call(this,o("yLpj"))},ThAp:function(M,B,o){var w=o("bYtY"),f=o("5GtS"),A=o("T4UG"),m=o("7aKB"),g=m.encodeHTML,p=m.addCommas,c=o("cCMj"),h=o("KxfA"),l=h.retrieveRawAttr,e=o("W4dC"),n=o("D5nY"),i=n.makeSeriesEncodeForNameBased,r=A.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var s=f(this,{coordDimensions:["value"],encodeDefaulter:w.curry(i,this)}),u=s.mapDimension("value"),d=w.createHashMap(),v=[],y=[],S=0,b=s.count();S<b;S++){var E=s.getName(S);d.set(E,!0),v.push({name:E,value:s.get(u,S),selected:l(s,S,"selected")})}var C=e.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return w.each(C.regions,function(T){var x=T.name;d.get(x)||(v.push({name:x}),y.push(x))}),this.updateSelectedMap(v),s.appendValues([],y),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(),u=p(this.getRawValue(t)),d=s.getName(t),v=this.seriesGroup,y=[],S=0;S<v.length;S++){var b=v[S].originalData.indexOfName(d),E=s.mapDimension("value");isNaN(v[S].originalData.get(E,b))||y.push(g(v[S].name))}return y.join(", ")+"<br />"+g(d+" : "+u)},getTooltipPosition:function(t){if(t!=null){var s=this.getData().getName(t),u=this.coordinateSystem,d=u.getRegion(s);return d&&u.dataToPoint(d.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"}});w.mixin(r,c);var a=r;M.exports=a},TkdX:function(M,B,o){var w=o("bYtY"),f=o("IwbS"),A={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},m=2,g=4;function p(r,a,t){f.Group.call(this);var s=new f.Sector({z2:m});s.seriesIndex=a.seriesIndex;var u=new f.Text({z2:g,silent:r.getModel("label").get("silent")});this.add(s),this.add(u),this.updateData(!0,r,"normal",a,t);function d(){u.ignore=u.hoverIgnore}function v(){u.ignore=u.normalIgnore}this.on("emphasis",d).on("normal",v).on("mouseover",d).on("mouseout",v)}var c=p.prototype;c.updateData=function(r,a,t,s,u){this.node=a,a.piece=this,s=s||this._seriesModel,u=u||this._ecModel;var d=this.childAt(0);d.dataIndex=a.dataIndex;var v=a.getModel(),y=a.getLayout(),S=w.extend({},y);S.label=null;var b=l(a,s,u);i(a,s,b);var E=v.getModel("itemStyle").getItemStyle(),C;if(t==="normal")C=E;else{var T=v.getModel(t+".itemStyle").getItemStyle();C=w.merge(T,E)}C=w.defaults({lineJoin:"bevel",fill:C.fill||b},C),r?(d.setShape(S),d.shape.r=y.r0,f.updateProps(d,{shape:{r:y.r}},s,a.dataIndex),d.useStyle(C)):typeof C.fill=="object"&&C.fill.type||typeof d.style.fill=="object"&&d.style.fill.type?(f.updateProps(d,{shape:S},s),d.useStyle(C)):f.updateProps(d,{shape:S,style:C},s),this._updateLabel(s,b,t);var x=v.getShallow("cursor");if(x&&d.attr("cursor",x),r){var _=s.getShallow("highlightPolicy");this._initEvents(d,a,s,_)}this._seriesModel=s||this._seriesModel,this._ecModel=u||this._ecModel,f.setHoverStyle(this)},c.onEmphasis=function(r){var a=this;this.node.hostTree.root.eachNode(function(t){t.piece&&(a.node===t?t.piece.updateData(!1,t,"emphasis"):n(t,a.node,r)?t.piece.childAt(0).trigger("highlight"):r!==A.NONE&&t.piece.childAt(0).trigger("downplay"))})},c.onNormal=function(){this.node.hostTree.root.eachNode(function(r){r.piece&&r.piece.updateData(!1,r,"normal")})},c.onHighlight=function(){this.updateData(!1,this.node,"highlight")},c.onDownplay=function(){this.updateData(!1,this.node,"downplay")},c._updateLabel=function(r,a,t){var s=this.node.getModel(),u=s.getModel("label"),d=t==="normal"||t==="emphasis"?u:s.getModel(t+".label"),v=s.getModel("emphasis.label"),y=w.retrieve(r.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);U("show")===!1&&(y="");var S=this.node.getLayout(),b=d.get("minAngle");b==null&&(b=u.get("minAngle")),b=b/180*Math.PI;var E=S.endAngle-S.startAngle;b!=null&&Math.abs(E)<b&&(y="");var C=this.childAt(1);f.setLabelStyle(C.style,C.hoverStyle||{},u,v,{defaultText:d.getShallow("show")?y:null,autoColor:a,useInsideStyle:!0});var T=(S.startAngle+S.endAngle)/2,x=Math.cos(T),_=Math.sin(T),I,L=U("position"),R=U("distance")||0,k=U("align");L==="outside"?(I=S.r+R,k=T>Math.PI/2?"right":"left"):!k||k==="center"?(I=(S.r+S.r0)/2,k="center"):k==="left"?(I=S.r0+R,T>Math.PI/2&&(k="right")):k==="right"&&(I=S.r-R,T>Math.PI/2&&(k="left")),C.attr("style",{text:y,textAlign:k,textVerticalAlign:U("verticalAlign")||"middle",opacity:U("opacity")});var F=I*x+S.cx,P=I*_+S.cy;C.attr("position",[F,P]);var W=U("rotate"),D=0;W==="radial"?(D=-T,D<-Math.PI/2&&(D+=Math.PI)):W==="tangential"?(D=Math.PI/2-T,D>Math.PI/2?D-=Math.PI:D<-Math.PI/2&&(D+=Math.PI)):typeof W=="number"&&(D=W*Math.PI/180),C.attr("rotation",D);function U(H){var j=d.get(H);return j==null?u.get(H):j}},c._initEvents=function(r,a,t,s){r.off("mouseover").off("mouseout").off("emphasis").off("normal");var u=this,d=function(){u.onEmphasis(s)},v=function(){u.onNormal()},y=function(){u.onDownplay()},S=function(){u.onHighlight()};t.isAnimationEnabled()&&r.on("mouseover",d).on("mouseout",v).on("emphasis",d).on("normal",v).on("downplay",y).on("highlight",S)},w.inherits(p,f.Group);var h=p;function l(r,a,t){var s=r.getVisual("color"),u=r.getVisual("visualMeta");(!u||u.length===0)&&(s=null);var d=r.getModel("itemStyle").get("color");if(d)return d;if(s)return s;if(r.depth===0)return t.option.color[0];var v=t.option.color.length;return d=t.option.color[e(r)%v],d}function e(r){for(var a=r;a.depth>1;)a=a.parentNode;var t=r.getAncestors()[0];return w.indexOf(t.children,a)}function n(r,a,t){return t===A.NONE?!1:t===A.SELF?r===a:t===A.ANCESTOR?r===a||r.isAncestorOf(a):r===a||r.isDescendantOf(a)}function i(r,a,t){var s=a.getData();s.setItemVisual(r.dataIndex,"color",t)}M.exports=h},Tp9H:function(M,B,o){var w=o("ItGF"),f=o("Kagy"),A=o("IUWy"),m=f.toolbox.saveAsImage;function g(h){this.model=h}g.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:m.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:m.lang.slice()},g.prototype.unusable=!w.canvasSupported;var p=g.prototype;p.onclick=function(h,l){var e=this.model,n=e.get("name")||h.get("title.0.text")||"echarts",i=l.getZr().painter.getType()==="svg",r=i?"svg":e.get("type",!0)||"png",a=l.getConnectedDataURL({type:r,backgroundColor:e.get("backgroundColor",!0)||h.get("backgroundColor")||"#fff",connectedBackgroundColor:e.get("connectedBackgroundColor"),excludeComponents:e.get("excludeComponents"),pixelRatio:e.get("pixelRatio")});if(typeof MouseEvent=="function"&&!w.browser.ie&&!w.browser.edge){var t=document.createElement("a");t.download=n+"."+r,t.target="_blank",t.href=a;var s=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});t.dispatchEvent(s)}else if(window.navigator.msSaveOrOpenBlob){for(var u=atob(a.split(",")[1]),d=u.length,v=new Uint8Array(d);d--;)v[d]=u.charCodeAt(d);var y=new Blob([v]);window.navigator.msSaveOrOpenBlob(y,n+"."+r)}else{var S=e.get("lang"),b='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(S&&S[0]||"")+'" /></body>',E=window.open();E.document.write(b)}},A.register("saveAsImage",g);var c=g;M.exports=c},TqRt:function(M,B){function o(w){return w&&w.__esModule?w:{default:w}}M.exports=o,M.exports.default=M.exports,M.exports.__esModule=!0},"U/Mo":function(M,B){function o(f){var A=f.coordinateSystem;if(A.type!=="view")return 1;var m=f.option.nodeScaleRatio,g=A.scale,p=g&&g[0]||1,c=A.getZoom(),h=(c-1)*m+1;return h/p}function w(f){var A=f.getVisual("symbolSize");return A instanceof Array&&(A=(A[0]+A[1])/2),+A}B.getNodeGlobalScale=o,B.getSymbolSize=w},UFpP:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("HVO7"),m=o.n(A),g=o("jOhD")},UOVi:function(M,B,o){var w=o("bYtY"),f=o("7aKB"),A=["x","y","z","radius","angle","single"],m=["cartesian2d","polar","singleAxis"];function g(l){return w.indexOf(m,l)>=0}function p(l,e){l=l.slice();var n=w.map(l,f.capitalFirst);e=(e||[]).slice();var i=w.map(e,f.capitalFirst);return function(r,a){w.each(l,function(t,s){for(var u={name:t,capital:n[s]},d=0;d<e.length;d++)u[e[d]]=t+i[d];r.call(a,u)})}}var c=p(A,["axisIndex","axis","index","id"]);function h(l,e,n){return function(t){var s={nodes:[],records:{}};if(e(function(v){s.records[v.name]={}}),!t)return s;a(t,s);var u;do u=!1,l(d);while(u);function d(v){!i(v,s)&&r(v,s)&&(a(v,s),u=!0)}return s};function i(t,s){return w.indexOf(s.nodes,t)>=0}function r(t,s){var u=!1;return e(function(d){w.each(n(t,d)||[],function(v){s.records[d.name][v]&&(u=!0)})}),u}function a(t,s){s.nodes.push(t),e(function(u){w.each(n(t,u)||[],function(d){s.records[u.name][d]=!0})})}}B.isCoordSupported=g,B.createNameEach=p,B.eachAxisDim=c,B.createLinkedNodesFinder=h},URN1:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("2HRC"),m=o.n(A)},UnoB:function(M,B,o){var w=o("bYtY"),f=o("OELB");function A(p,c){p.eachSeriesByType("themeRiver",function(h){var l=h.getData(),e=h.coordinateSystem,n={},i=e.getRect();n.rect=i;var r=h.get("boundaryGap"),a=e.getAxis();if(n.boundaryGap=r,a.orient==="horizontal"){r[0]=f.parsePercent(r[0],i.height),r[1]=f.parsePercent(r[1],i.height);var t=i.height-r[0]-r[1];m(l,h,t)}else{r[0]=f.parsePercent(r[0],i.width),r[1]=f.parsePercent(r[1],i.width);var s=i.width-r[0]-r[1];m(l,h,s)}l.setLayout("layoutInfo",n)})}function m(p,c,h){if(!p.count())return;for(var l=c.coordinateSystem,e=c.getLayerSeries(),n=p.mapDimension("single"),i=p.mapDimension("value"),r=w.map(e,function(b){return w.map(b.indices,function(E){var C=l.dataToPoint(p.get(n,E));return C[1]=p.get(i,E),C})}),a=g(r),t=a.y0,s=h/a.max,u=e.length,d=e[0].indices.length,v,y=0;y<d;++y){v=t[y]*s,p.setItemLayout(e[0].indices[y],{layerIndex:0,x:r[0][y][0],y0:v,y:r[0][y][1]*s});for(var S=1;S<u;++S)v+=r[S-1][y][1]*s,p.setItemLayout(e[S].indices[y],{layerIndex:S,x:r[S][y][0],y0:v,y:r[S][y][1]*s})}}function g(p){for(var c=p.length,h=p[0].length,l=[],e=[],n=0,i,r={},a=0;a<h;++a){for(var t=0,i=0;t<c;++t)i+=p[t][a][1];i>n&&(n=i),l.push(i)}for(var s=0;s<h;++s)e[s]=(n-l[s])/2;n=0;for(var u=0;u<h;++u){var d=l[u]+e[u];d>n&&(n=d)}return r.y0=e,r.max=n,r}M.exports=A},VFCP:function(M,B,o){o("dBmv"),o("KamJ")},VPsl:function(M,B){function o(w){w.eachSeriesByType("map",function(f){var A=f.get("color"),m=f.getModel("itemStyle"),g=m.get("areaColor"),p=m.get("color")||A[f.seriesIndex%A.length];f.getData().setVisual({areaColor:g,color:p})})}M.exports=o},VR9l:function(M,B,o){var w=o("KCsZ"),f=w([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),A={getItemStyle:function(m,g){var p=f(this,m,g),c=this.getBorderLineDash();return c&&(p.lineDash=c),p},getBorderLineDash:function(){var m=this.get("borderType");return m==="solid"||m==null?null:m==="dashed"?[5,5]:[1,1]}};M.exports=A},VSLf:function(M,B,o){o("I+Bx"),o("F0hE"),o("bBKM")},VSMT:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.decodeUTF8=w,B.encodeUTF8=f;function w(A){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(A))}catch(g){if(g instanceof URIError&&m)return A;throw g}}function f(A){return unescape(encodeURIComponent(A))}},VXYp:function(M,B,o){var w=o("bYtY"),f=o("SgGq"),A=o("iLNv"),m="\0_ec_dataZoom_roams";function g(r,a){var t=h(r),s=a.dataZoomId,u=a.coordId;w.each(t,function(y,S){var b=y.dataZoomInfos;b[s]&&w.indexOf(a.allCoordIds,u)<0&&(delete b[s],y.count--)}),e(t);var d=t[u];d||(d=t[u]={coordId:u,dataZoomInfos:{},count:0},d.controller=l(r,d),d.dispatchAction=w.curry(n,r)),!d.dataZoomInfos[s]&&d.count++,d.dataZoomInfos[s]=a;var v=i(d.dataZoomInfos);d.controller.enable(v.controlType,v.opt),d.controller.setPointerChecker(a.containsPoint),A.createOrUpdate(d,"dispatchAction",a.dataZoomModel.get("throttle",!0),"fixRate")}function p(r,a){var t=h(r);w.each(t,function(s){s.controller.dispose();var u=s.dataZoomInfos;u[a]&&(delete u[a],s.count--)}),e(t)}function c(r){return r.type+"\0_"+r.id}function h(r){var a=r.getZr();return a[m]||(a[m]={})}function l(r,a){var t=new f(r.getZr());return w.each(["pan","zoom","scrollMove"],function(s){t.on(s,function(u){var d=[];w.each(a.dataZoomInfos,function(v){if(!u.isAvailableBehavior(v.dataZoomModel.option))return;var y=(v.getRange||{})[s],S=y&&y(a.controller,u);!v.dataZoomModel.get("disabled",!0)&&S&&d.push({dataZoomId:v.dataZoomId,start:S[0],end:S[1]})}),d.length&&a.dispatchAction(d)})}),t}function e(r){w.each(r,function(a,t){a.count||(a.controller.dispose(),delete r[t])})}function n(r,a){r.dispatchAction({type:"dataZoom",batch:a})}function i(r){var a,t="type_",s={type_true:2,type_move:1,type_false:0,type_undefined:-1},u=!0;return w.each(r,function(d){var v=d.dataZoomModel,y=v.get("disabled",!0)?!1:v.get("zoomLock",!0)?"move":!0;s[t+y]>s[t+a]&&(a=y),u&=v.get("preventDefaultMouseMove",!0)}),{controlType:a,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u}}}B.register=g,B.unregister=p,B.generateCoordId=c},VaxA:function(M,B,o){var w=o("bYtY");function f(p,c,h){if(p&&w.indexOf(c,p.type)>=0){var l=h.getData().tree.root,e=p.targetNode;if(typeof e=="string"&&(e=l.getNodeById(e)),e&&l.contains(e))return{node:e};var n=p.targetNodeId;if(n!=null&&(e=l.getNodeById(n)))return{node:e}}}function A(p){for(var c=[];p;)p=p.parentNode,p&&c.push(p);return c.reverse()}function m(p,c){var h=A(p);return w.indexOf(h,c)>=0}function g(p,c){for(var h=[];p;){var l=p.dataIndex;h.push({name:p.name,dataIndex:l,value:c.getRawValue(l)}),p=p.parentNode}return h.reverse(),h}B.retrieveTargetInfo=f,B.getPathToRoot=A,B.aboveViewRoot=m,B.wrapTreePathInfo=g},Vi4m:function(M,B,o){var w=o("bYtY");function f(m){m!=null&&w.extend(this,m),this.otherDims={}}var A=f;M.exports=A},VpOo:function(M,B){function o(w,f){var A=f.x,m=f.y,g=f.width,p=f.height,c=f.r,h,l,e,n;g<0&&(A=A+g,g=-g),p<0&&(m=m+p,p=-p),typeof c=="number"?h=l=e=n=c:c instanceof Array?c.length===1?h=l=e=n=c[0]:c.length===2?(h=e=c[0],l=n=c[1]):c.length===3?(h=c[0],l=n=c[1],e=c[2]):(h=c[0],l=c[1],e=c[2],n=c[3]):h=l=e=n=0;var i;h+l>g&&(i=h+l,h*=g/i,l*=g/i),e+n>g&&(i=e+n,e*=g/i,n*=g/i),l+e>p&&(i=l+e,l*=p/i,e*=p/i),h+n>p&&(i=h+n,h*=p/i,n*=p/i),w.moveTo(A+h,m),w.lineTo(A+g-l,m),l!==0&&w.arc(A+g-l,m+l,l,-Math.PI/2,0),w.lineTo(A+g,m+p-e),e!==0&&w.arc(A+g-e,m+p-e,e,0,Math.PI/2),w.lineTo(A+n,m+p),n!==0&&w.arc(A+n,m+p-n,n,Math.PI/2,Math.PI),w.lineTo(A,m+h),h!==0&&w.arc(A+h,m+h,h,Math.PI,Math.PI*1.5)}B.buildPath=o},"VrN/":function(M,B,o){(function(w,f){M.exports=f()})(this,function(){"use strict";var w=navigator.userAgent,f=navigator.platform,A=/gecko\/\d/i.test(w),m=/MSIE \d/.test(w),g=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(w),p=/Edge\/(\d+)/.exec(w),c=m||g||p,h=c&&(m?document.documentMode||6:+(p||g)[1]),l=!p&&/WebKit\//.test(w),e=l&&/Qt\/\d+\.\d+/.test(w),n=!p&&/Chrome\//.test(w),i=/Opera\//.test(w),r=/Apple Computer/.test(navigator.vendor),a=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(w),t=/PhantomJS/.test(w),s=!p&&/AppleWebKit/.test(w)&&/Mobile\/\w+/.test(w),u=/Android/.test(w),d=s||u||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(w),v=s||/Mac/.test(f),y=/\bCrOS\b/.test(w),S=/win/i.test(f),b=i&&w.match(/Version\/(\d*\.\d*)/);b&&(b=Number(b[1])),b&&b>=15&&(i=!1,l=!0);var E=v&&(e||i&&(b==null||b<12.11)),C=A||c&&h>=9;function T(O){return new RegExp("(^|\\s)"+O+"(?:$|\\s)\\s*")}var x=function(N,G){var Z=N.className,oe=T(G).exec(Z);if(oe){var Re=Z.slice(oe.index+oe[0].length);N.className=Z.slice(0,oe.index)+(Re?oe[1]+Re:"")}};function _(O){for(var N=O.childNodes.length;N>0;--N)O.removeChild(O.firstChild);return O}function I(O,N){return _(O).appendChild(N)}function L(O,N,G,Z){var oe=document.createElement(O);if(G&&(oe.className=G),Z&&(oe.style.cssText=Z),typeof N=="string")oe.appendChild(document.createTextNode(N));else if(N)for(var Re=0;Re<N.length;++Re)oe.appendChild(N[Re]);return oe}function R(O,N,G,Z){var oe=L(O,N,G,Z);return oe.setAttribute("role","presentation"),oe}var k;document.createRange?k=function(N,G,Z,oe){var Re=document.createRange();return Re.setEnd(oe||N,Z),Re.setStart(N,G),Re}:k=function(N,G,Z){var oe=document.body.createTextRange();try{oe.moveToElementText(N.parentNode)}catch(Re){return oe}return oe.collapse(!0),oe.moveEnd("character",Z),oe.moveStart("character",G),oe};function F(O,N){if(N.nodeType==3&&(N=N.parentNode),O.contains)return O.contains(N);do if(N.nodeType==11&&(N=N.host),N==O)return!0;while(N=N.parentNode)}function P(){var O;try{O=document.activeElement}catch(N){O=document.body||null}for(;O&&O.shadowRoot&&O.shadowRoot.activeElement;)O=O.shadowRoot.activeElement;return O}function W(O,N){var G=O.className;T(N).test(G)||(O.className+=(G?" ":"")+N)}function D(O,N){for(var G=O.split(" "),Z=0;Z<G.length;Z++)G[Z]&&!T(G[Z]).test(N)&&(N+=" "+G[Z]);return N}var U=function(N){N.select()};s?U=function(N){N.selectionStart=0,N.selectionEnd=N.value.length}:c&&(U=function(N){try{N.select()}catch(G){}});function H(O){var N=Array.prototype.slice.call(arguments,1);return function(){return O.apply(null,N)}}function j(O,N,G){N||(N={});for(var Z in O)O.hasOwnProperty(Z)&&(G!==!1||!N.hasOwnProperty(Z))&&(N[Z]=O[Z]);return N}function K(O,N,G,Z,oe){N==null&&(N=O.search(/[^\s\u00a0]/),N==-1&&(N=O.length));for(var Re=Z||0,ct=oe||0;;){var Nt=O.indexOf(" ",Re);if(Nt<0||Nt>=N)return ct+(N-Re);ct+=Nt-Re,ct+=G-ct%G,Re=Nt+1}}var X=function(){this.id=null,this.f=null,this.time=0,this.handler=H(this.onTimeout,this)};X.prototype.onTimeout=function(O){O.id=0,O.time<=+new Date?O.f():setTimeout(O.handler,O.time-+new Date)},X.prototype.set=function(O,N){this.f=N;var G=+new Date+O;(!this.id||G<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,O),this.time=G)};function z(O,N){for(var G=0;G<O.length;++G)if(O[G]==N)return G;return-1}var Y=50,$={toString:function(){return"CodeMirror.Pass"}},ne={scroll:!1},J={origin:"*mouse"},ge={origin:"+move"};function de(O,N,G){for(var Z=0,oe=0;;){var Re=O.indexOf(" ",Z);Re==-1&&(Re=O.length);var ct=Re-Z;if(Re==O.length||oe+ct>=N)return Z+Math.min(ct,N-oe);if(oe+=Re-Z,oe+=G-oe%G,Z=Re+1,oe>=N)return Z}}var Ie=[""];function be(O){for(;Ie.length<=O;)Ie.push(Ce(Ie)+" ");return Ie[O]}function Ce(O){return O[O.length-1]}function je(O,N){for(var G=[],Z=0;Z<O.length;Z++)G[Z]=N(O[Z],Z);return G}function te(O,N,G){for(var Z=0,oe=G(N);Z<O.length&&G(O[Z])<=oe;)Z++;O.splice(Z,0,N)}function ve(){}function $e(O,N){var G;return Object.create?G=Object.create(O):(ve.prototype=O,G=new ve),N&&j(N,G),G}var Le=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function he(O){return/\w/.test(O)||O>"\x80"&&(O.toUpperCase()!=O.toLowerCase()||Le.test(O))}function ee(O,N){return N?N.source.indexOf("\\w")>-1&&he(O)?!0:N.test(O):he(O)}function se(O){for(var N in O)if(O.hasOwnProperty(N)&&O[N])return!1;return!0}var Ue=/[\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 ue(O){return O.charCodeAt(0)>=768&&Ue.test(O)}function Ne(O,N,G){for(;(G<0?N>0:N<O.length)&&ue(O.charAt(N));)N+=G;return N}function Fe(O,N,G){for(var Z=N>G?-1:1;;){if(N==G)return N;var oe=(N+G)/2,Re=Z<0?Math.ceil(oe):Math.floor(oe);if(Re==N)return O(Re)?N:G;O(Re)?G=Re:N=Re+Z}}function ae(O,N,G,Z){if(!O)return Z(N,G,"ltr",0);for(var oe=!1,Re=0;Re<O.length;++Re){var ct=O[Re];(ct.from<G&&ct.to>N||N==G&&ct.to==N)&&(Z(Math.max(ct.from,N),Math.min(ct.to,G),ct.level==1?"rtl":"ltr",Re),oe=!0)}oe||Z(N,G,"ltr")}var ce=null;function _e(O,N,G){var Z;ce=null;for(var oe=0;oe<O.length;++oe){var Re=O[oe];if(Re.from<N&&Re.to>N)return oe;Re.to==N&&(Re.from!=Re.to&&G=="before"?Z=oe:ce=oe),Re.from==N&&(Re.from!=Re.to&&G!="before"?Z=oe:ce=oe)}return Z!=null?Z:ce}var ze=function(){var O="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",N="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function G(Qt){return Qt<=247?O.charAt(Qt):1424<=Qt&&Qt<=1524?"R":1536<=Qt&&Qt<=1785?N.charAt(Qt-1536):1774<=Qt&&Qt<=2220?"r":8192<=Qt&&Qt<=8203?"w":Qt==8204?"b":"L"}var Z=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,oe=/[stwN]/,Re=/[LRr]/,ct=/[Lb1n]/,Nt=/[1n]/;function Wt(Qt,kr,tn){this.level=Qt,this.from=kr,this.to=tn}return function(Qt,kr){var tn=kr=="ltr"?"L":"R";if(Qt.length==0||kr=="ltr"&&!Z.test(Qt))return!1;for(var mn=Qt.length,wn=[],ri=0;ri<mn;++ri)wn.push(G(Qt.charCodeAt(ri)));for(var yi=0,Mi=tn;yi<mn;++yi){var Di=wn[yi];Di=="m"?wn[yi]=Mi:Mi=Di}for(var Ii=0,Gi=tn;Ii<mn;++Ii){var ia=wn[Ii];ia=="1"&&Gi=="r"?wn[Ii]="n":Re.test(ia)&&(Gi=ia,ia=="r"&&(wn[Ii]="R"))}for(var za=1,La=wn[0];za<mn-1;++za){var mo=wn[za];mo=="+"&&La=="1"&&wn[za+1]=="1"?wn[za]="1":mo==","&&La==wn[za+1]&&(La=="1"||La=="n")&&(wn[za]=La),La=mo}for(var Eo=0;Eo<mn;++Eo){var $o=wn[Eo];if($o==",")wn[Eo]="N";else if($o=="%"){var Wo=void 0;for(Wo=Eo+1;Wo<mn&&wn[Wo]=="%";++Wo);for(var Bs=Eo&&wn[Eo-1]=="!"||Wo<mn&&wn[Wo]=="1"?"1":"N",hl=Eo;hl<Wo;++hl)wn[hl]=Bs;Eo=Wo-1}}for(var As=0,fl=tn;As<mn;++As){var ks=wn[As];fl=="L"&&ks=="1"?wn[As]="L":Re.test(ks)&&(fl=ks)}for(var Os=0;Os<mn;++Os)if(oe.test(wn[Os])){var bs=void 0;for(bs=Os+1;bs<mn&&oe.test(wn[bs]);++bs);for(var us=(Os?wn[Os-1]:tn)=="L",ol=(bs<mn?wn[bs]:tn)=="L",Ac=us==ol?us?"L":"R":tn,El=Os;El<bs;++El)wn[El]=Ac;Os=bs-1}for(var ws=[],wl,Hs=0;Hs<mn;)if(ct.test(wn[Hs])){var tu=Hs;for(++Hs;Hs<mn&&ct.test(wn[Hs]);++Hs);ws.push(new Wt(0,tu,Hs))}else{var ra=Hs,vl=ws.length,Nl=kr=="rtl"?1:0;for(++Hs;Hs<mn&&wn[Hs]!="L";++Hs);for(var is=ra;is<Hs;)if(Nt.test(wn[is])){ra<is&&(ws.splice(vl,0,new Wt(1,ra,is)),vl+=Nl);var Wl=is;for(++is;is<Hs&&Nt.test(wn[is]);++is);ws.splice(vl,0,new Wt(2,Wl,is)),vl+=Nl,ra=is}else++is;ra<Hs&&ws.splice(vl,0,new Wt(1,ra,Hs))}return kr=="ltr"&&(ws[0].level==1&&(wl=Qt.match(/^\s+/))&&(ws[0].from=wl[0].length,ws.unshift(new Wt(0,0,wl[0].length))),Ce(ws).level==1&&(wl=Qt.match(/\s+$/))&&(Ce(ws).to-=wl[0].length,ws.push(new Wt(0,mn-wl[0].length,mn)))),kr=="rtl"?ws.reverse():ws}}();function it(O,N){var G=O.order;return G==null&&(G=O.order=ze(O.text,N)),G}var Ze=[],Ee=function(N,G,Z){if(N.addEventListener)N.addEventListener(G,Z,!1);else if(N.attachEvent)N.attachEvent("on"+G,Z);else{var oe=N._handlers||(N._handlers={});oe[G]=(oe[G]||Ze).concat(Z)}};function mt(O,N){return O._handlers&&O._handlers[N]||Ze}function Je(O,N,G){if(O.removeEventListener)O.removeEventListener(N,G,!1);else if(O.detachEvent)O.detachEvent("on"+N,G);else{var Z=O._handlers,oe=Z&&Z[N];if(oe){var Re=z(oe,G);Re>-1&&(Z[N]=oe.slice(0,Re).concat(oe.slice(Re+1)))}}}function rt(O,N){var G=mt(O,N);if(!G.length)return;for(var Z=Array.prototype.slice.call(arguments,2),oe=0;oe<G.length;++oe)G[oe].apply(null,Z)}function wt(O,N,G){return typeof N=="string"&&(N={type:N,preventDefault:function(){this.defaultPrevented=!0}}),rt(O,G||N.type,O,N),V(N)||N.codemirrorIgnore}function Ot(O){var N=O._handlers&&O._handlers.cursorActivity;if(!N)return;for(var G=O.curOp.cursorActivityHandlers||(O.curOp.cursorActivityHandlers=[]),Z=0;Z<N.length;++Z)z(G,N[Z])==-1&&G.push(N[Z])}function Ct(O,N){return mt(O,N).length>0}function Dt(O){O.prototype.on=function(N,G){Ee(this,N,G)},O.prototype.off=function(N,G){Je(this,N,G)}}function Xe(O){O.preventDefault?O.preventDefault():O.returnValue=!1}function q(O){O.stopPropagation?O.stopPropagation():O.cancelBubble=!0}function V(O){return O.defaultPrevented!=null?O.defaultPrevented:O.returnValue==!1}function Ae(O){Xe(O),q(O)}function xe(O){return O.target||O.srcElement}function re(O){var N=O.which;return N==null&&(O.button&1?N=1:O.button&2?N=3:O.button&4&&(N=2)),v&&O.ctrlKey&&N==1&&(N=3),N}var ot=function(){if(c&&h<9)return!1;var O=L("div");return"draggable"in O||"dragDrop"in O}(),bt;function tt(O){if(bt==null){var N=L("span","\u200B");I(O,L("span",[N,document.createTextNode("x")])),O.firstChild.offsetHeight!=0&&(bt=N.offsetWidth<=1&&N.offsetHeight>2&&!(c&&h<8))}var G=bt?L("span","\u200B"):L("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return G.setAttribute("cm-text",""),G}var Tt;function Gt(O){if(Tt!=null)return Tt;var N=I(O,document.createTextNode("A\u062EA")),G=k(N,0,1).getBoundingClientRect(),Z=k(N,1,2).getBoundingClientRect();return _(O),!G||G.left==G.right?!1:Tt=Z.right-G.right<3}var lr=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(O){for(var N=0,G=[],Z=O.length;N<=Z;){var oe=O.indexOf(`
|
|
|
`,N);oe==-1&&(oe=O.length);var Re=O.slice(N,O.charAt(oe-1)=="\r"?oe-1:oe),ct=Re.indexOf("\r");ct!=-1?(G.push(Re.slice(0,ct)),N+=ct+1):(G.push(Re),N=oe+1)}return G}:function(O){return O.split(/\r\n?|\n/)},pr=window.getSelection?function(O){try{return O.selectionStart!=O.selectionEnd}catch(N){return!1}}:function(O){var N;try{N=O.ownerDocument.selection.createRange()}catch(G){}return!N||N.parentElement()!=O?!1:N.compareEndPoints("StartToEnd",N)!=0},Rr=function(){var O=L("div");return"oncopy"in O?!0:(O.setAttribute("oncopy","return;"),typeof O.oncopy=="function")}(),xt=null;function It(O){if(xt!=null)return xt;var N=I(O,L("span","x")),G=N.getBoundingClientRect(),Z=k(N,0,1).getBoundingClientRect();return xt=Math.abs(G.left-Z.left)>1}var At={},Zt={};function br(O,N){arguments.length>2&&(N.dependencies=Array.prototype.slice.call(arguments,2)),At[O]=N}function Lr(O,N){Zt[O]=N}function Jr(O){if(typeof O=="string"&&Zt.hasOwnProperty(O))O=Zt[O];else if(O&&typeof O.name=="string"&&Zt.hasOwnProperty(O.name)){var N=Zt[O.name];typeof N=="string"&&(N={name:N}),O=$e(N,O),O.name=N.name}else{if(typeof O=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(O))return Jr("application/xml");if(typeof O=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(O))return Jr("application/json")}return typeof O=="string"?{name:O}:O||{name:"null"}}function In(O,N){N=Jr(N);var G=At[N.name];if(!G)return In(O,"text/plain");var Z=G(O,N);if(Gr.hasOwnProperty(N.name)){var oe=Gr[N.name];for(var Re in oe){if(!oe.hasOwnProperty(Re))continue;Z.hasOwnProperty(Re)&&(Z["_"+Re]=Z[Re]),Z[Re]=oe[Re]}}if(Z.name=N.name,N.helperType&&(Z.helperType=N.helperType),N.modeProps)for(var ct in N.modeProps)Z[ct]=N.modeProps[ct];return Z}var Gr={};function Tr(O,N){var G=Gr.hasOwnProperty(O)?Gr[O]:Gr[O]={};j(N,G)}function fr(O,N){if(N===!0)return N;if(O.copyState)return O.copyState(N);var G={};for(var Z in N){var oe=N[Z];oe instanceof Array&&(oe=oe.concat([])),G[Z]=oe}return G}function vt(O,N){for(var G;O.innerMode&&!(G=O.innerMode(N),!G||G.mode==O);)N=G.state,O=G.mode;return G||{mode:O,state:N}}function ft(O,N,G){return O.startState?O.startState(N,G):!0}var Te=function(N,G,Z){this.pos=this.start=0,this.string=N,this.tabSize=G||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=Z};Te.prototype.eol=function(){return this.pos>=this.string.length},Te.prototype.sol=function(){return this.pos==this.lineStart},Te.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Te.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Te.prototype.eat=function(O){var N=this.string.charAt(this.pos),G;if(typeof O=="string"?G=N==O:G=N&&(O.test?O.test(N):O(N)),G)return++this.pos,N},Te.prototype.eatWhile=function(O){for(var N=this.pos;this.eat(O););return this.pos>N},Te.prototype.eatSpace=function(){for(var O=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>O},Te.prototype.skipToEnd=function(){this.pos=this.string.length},Te.prototype.skipTo=function(O){var N=this.string.indexOf(O,this.pos);if(N>-1)return this.pos=N,!0},Te.prototype.backUp=function(O){this.pos-=O},Te.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=K(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?K(this.string,this.lineStart,this.tabSize):0)},Te.prototype.indentation=function(){return K(this.string,null,this.tabSize)-(this.lineStart?K(this.string,this.lineStart,this.tabSize):0)},Te.prototype.match=function(O,N,G){if(typeof O=="string"){var Z=function(Nt){return G?Nt.toLowerCase():Nt},oe=this.string.substr(this.pos,O.length);if(Z(oe)==Z(O))return N!==!1&&(this.pos+=O.length),!0}else{var Re=this.string.slice(this.pos).match(O);return Re&&Re.index>0?null:(Re&&N!==!1&&(this.pos+=Re[0].length),Re)}},Te.prototype.current=function(){return this.string.slice(this.start,this.pos)},Te.prototype.hideFirstChars=function(O,N){this.lineStart+=O;try{return N()}finally{this.lineStart-=O}},Te.prototype.lookAhead=function(O){var N=this.lineOracle;return N&&N.lookAhead(O)},Te.prototype.baseToken=function(){var O=this.lineOracle;return O&&O.baseToken(this.pos)};function Pe(O,N){if(N-=O.first,N<0||N>=O.size)throw new Error("There is no line "+(N+O.first)+" in the document.");for(var G=O;!G.lines;)for(var Z=0;;++Z){var oe=G.children[Z],Re=oe.chunkSize();if(N<Re){G=oe;break}N-=Re}return G.lines[N]}function Ge(O,N,G){var Z=[],oe=N.line;return O.iter(N.line,G.line+1,function(Re){var ct=Re.text;oe==G.line&&(ct=ct.slice(0,G.ch)),oe==N.line&&(ct=ct.slice(N.ch)),Z.push(ct),++oe}),Z}function st(O,N,G){var Z=[];return O.iter(N,G,function(oe){Z.push(oe.text)}),Z}function Bt(O,N){var G=N-O.height;if(G)for(var Z=O;Z;Z=Z.parent)Z.height+=G}function $t(O){if(O.parent==null)return null;for(var N=O.parent,G=z(N.lines,O),Z=N.parent;Z;N=Z,Z=Z.parent)for(var oe=0;!(Z.children[oe]==N);++oe)G+=Z.children[oe].chunkSize();return G+N.first}function Nr(O,N){var G=O.first;e:do{for(var Z=0;Z<O.children.length;++Z){var oe=O.children[Z],Re=oe.height;if(N<Re){O=oe;continue e}N-=Re,G+=oe.chunkSize()}return G}while(!O.lines);for(var ct=0;ct<O.lines.length;++ct){var Nt=O.lines[ct],Wt=Nt.height;if(N<Wt)break;N-=Wt}return G+ct}function yn(O,N){return N>=O.first&&N<O.first+O.size}function un(O,N){return String(O.lineNumberFormatter(N+O.firstLineNumber))}function Kt(O,N,G){if(G===void 0&&(G=null),!(this instanceof Kt))return new Kt(O,N,G);this.line=O,this.ch=N,this.sticky=G}function St(O,N){return O.line-N.line||O.ch-N.ch}function kt(O,N){return O.sticky==N.sticky&&St(O,N)==0}function Jt(O){return Kt(O.line,O.ch)}function Br(O,N){return St(O,N)<0?N:O}function Hr(O,N){return St(O,N)<0?O:N}function $r(O,N){return Math.max(O.first,Math.min(N,O.first+O.size-1))}function Ft(O,N){if(N.line<O.first)return Kt(O.first,0);var G=O.first+O.size-1;return N.line>G?Kt(G,Pe(O,G).text.length):cr(N,Pe(O,N.line).text.length)}function cr(O,N){var G=O.ch;return G==null||G>N?Kt(O.line,N):G<0?Kt(O.line,0):O}function Cr(O,N){for(var G=[],Z=0;Z<N.length;Z++)G[Z]=Ft(O,N[Z]);return G}var Fr=function(N,G){this.state=N,this.lookAhead=G},Wr=function(N,G,Z,oe){this.state=G,this.doc=N,this.line=Z,this.maxLookAhead=oe||0,this.baseTokens=null,this.baseTokenPos=1};Wr.prototype.lookAhead=function(O){var N=this.doc.getLine(this.line+O);return N!=null&&O>this.maxLookAhead&&(this.maxLookAhead=O),N},Wr.prototype.baseToken=function(O){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=O;)this.baseTokenPos+=2;var N=this.baseTokens[this.baseTokenPos+1];return{type:N&&N.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-O}},Wr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Wr.fromSaved=function(O,N,G){return N instanceof Fr?new Wr(O,fr(O.mode,N.state),G,N.lookAhead):new Wr(O,fr(O.mode,N),G)},Wr.prototype.save=function(O){var N=O!==!1?fr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Fr(N,this.maxLookAhead):N};function An(O,N,G,Z){var oe=[O.state.modeGen],Re={};Se(O,N.text,O.doc.mode,G,function(Qt,kr){return oe.push(Qt,kr)},Re,Z);for(var ct=G.state,Nt=function(kr){G.baseTokens=oe;var tn=O.state.overlays[kr],mn=1,wn=0;G.state=!0,Se(O,N.text,tn.mode,G,function(ri,yi){for(var Mi=mn;wn<ri;){var Di=oe[mn];Di>ri&&oe.splice(mn,1,ri,oe[mn+1],Di),mn+=2,wn=Math.min(ri,Di)}if(!yi)return;if(tn.opaque)oe.splice(Mi,mn-Mi,ri,"overlay "+yi),mn=Mi+2;else for(;Mi<mn;Mi+=2){var Ii=oe[Mi+1];oe[Mi+1]=(Ii?Ii+" ":"")+"overlay "+yi}},Re),G.state=ct,G.baseTokens=null,G.baseTokenPos=1},Wt=0;Wt<O.state.overlays.length;++Wt)Nt(Wt);return{styles:oe,classes:Re.bgClass||Re.textClass?Re:null}}function bn(O,N,G){if(!N.styles||N.styles[0]!=O.state.modeGen){var Z=Sn(O,$t(N)),oe=N.text.length>O.options.maxHighlightLength&&fr(O.doc.mode,Z.state),Re=An(O,N,Z);oe&&(Z.state=oe),N.stateAfter=Z.save(!oe),N.styles=Re.styles,Re.classes?N.styleClasses=Re.classes:N.styleClasses&&(N.styleClasses=null),G===O.doc.highlightFrontier&&(O.doc.modeFrontier=Math.max(O.doc.modeFrontier,++O.doc.highlightFrontier))}return N.styles}function Sn(O,N,G){var Z=O.doc,oe=O.display;if(!Z.mode.startState)return new Wr(Z,!0,N);var Re=Me(O,N,G),ct=Re>Z.first&&Pe(Z,Re-1).stateAfter,Nt=ct?Wr.fromSaved(Z,ct,Re):new Wr(Z,ft(Z.mode),Re);return Z.iter(Re,N,function(Wt){kn(O,Wt.text,Nt);var Qt=Nt.line;Wt.stateAfter=Qt==N-1||Qt%5==0||Qt>=oe.viewFrom&&Qt<oe.viewTo?Nt.save():null,Nt.nextLine()}),G&&(Z.modeFrontier=Nt.line),Nt}function kn(O,N,G,Z){var oe=O.doc.mode,Re=new Te(N,O.options.tabSize,G);for(Re.start=Re.pos=Z||0,N==""&&ei(oe,G.state);!Re.eol();)Jn(oe,Re,G.state),Re.start=Re.pos}function ei(O,N){if(O.blankLine)return O.blankLine(N);if(!O.innerMode)return;var G=vt(O,N);if(G.mode.blankLine)return G.mode.blankLine(G.state)}function Jn(O,N,G,Z){for(var oe=0;oe<10;oe++){Z&&(Z[0]=vt(O,G).mode);var Re=O.token(N,G);if(N.pos>N.start)return Re}throw new Error("Mode "+O.name+" failed to advance stream.")}var ai=function(N,G,Z){this.start=N.start,this.end=N.pos,this.string=N.current(),this.type=G||null,this.state=Z};function ii(O,N,G,Z){var oe=O.doc,Re=oe.mode,ct;N=Ft(oe,N);var Nt=Pe(oe,N.line),Wt=Sn(O,N.line,G),Qt=new Te(Nt.text,O.options.tabSize,Wt),kr;for(Z&&(kr=[]);(Z||Qt.pos<N.ch)&&!Qt.eol();)Qt.start=Qt.pos,ct=Jn(Re,Qt,Wt.state),Z&&kr.push(new ai(Qt,ct,fr(oe.mode,Wt.state)));return Z?kr:new ai(Qt,ct,Wt.state)}function qe(O,N){if(O)for(;;){var G=O.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!G)break;O=O.slice(0,G.index)+O.slice(G.index+G[0].length);var Z=G[1]?"bgClass":"textClass";N[Z]==null?N[Z]=G[2]:new RegExp("(?:^|\\s)"+G[2]+"(?:$|\\s)").test(N[Z])||(N[Z]+=" "+G[2])}return O}function Se(O,N,G,Z,oe,Re,ct){var Nt=G.flattenSpans;Nt==null&&(Nt=O.options.flattenSpans);var Wt=0,Qt=null,kr=new Te(N,O.options.tabSize,Z),tn,mn=O.options.addModeClass&&[null];for(N==""&&qe(ei(G,Z.state),Re);!kr.eol();){if(kr.pos>O.options.maxHighlightLength?(Nt=!1,ct&&kn(O,N,Z,kr.pos),kr.pos=N.length,tn=null):tn=qe(Jn(G,kr,Z.state,mn),Re),mn){var wn=mn[0].name;wn&&(tn="m-"+(tn?wn+" "+tn:wn))}if(!Nt||Qt!=tn){for(;Wt<kr.start;)Wt=Math.min(kr.start,Wt+5e3),oe(Wt,Qt);Qt=tn}kr.start=kr.pos}for(;Wt<kr.pos;){var ri=Math.min(kr.pos,Wt+5e3);oe(ri,Qt),Wt=ri}}function Me(O,N,G){for(var Z,oe,Re=O.doc,ct=G?-1:N-(O.doc.mode.innerMode?1e3:100),Nt=N;Nt>ct;--Nt){if(Nt<=Re.first)return Re.first;var Wt=Pe(Re,Nt-1),Qt=Wt.stateAfter;if(Qt&&(!G||Nt+(Qt instanceof Fr?Qt.lookAhead:0)<=Re.modeFrontier))return Nt;var kr=K(Wt.text,null,O.options.tabSize);(oe==null||Z>kr)&&(oe=Nt-1,Z=kr)}return oe}function Be(O,N){if(O.modeFrontier=Math.min(O.modeFrontier,N),O.highlightFrontier<N-10)return;for(var G=O.first,Z=N-1;Z>G;Z--){var oe=Pe(O,Z).stateAfter;if(oe&&(!(oe instanceof Fr)||Z+oe.lookAhead<N)){G=Z+1;break}}O.highlightFrontier=Math.min(O.highlightFrontier,G)}var Qe=!1,Ve=!1;function Ye(){Qe=!0}function pt(){Ve=!0}function ht(O,N,G){this.marker=O,this.from=N,this.to=G}function Vt(O,N){if(O)for(var G=0;G<O.length;++G){var Z=O[G];if(Z.marker==N)return Z}}function dr(O,N){for(var G,Z=0;Z<O.length;++Z)O[Z]!=N&&(G||(G=[])).push(O[Z]);return G}function tr(O,N){O.markedSpans=O.markedSpans?O.markedSpans.concat([N]):[N],N.marker.attachLine(O)}function ir(O,N,G){var Z;if(O)for(var oe=0;oe<O.length;++oe){var Re=O[oe],ct=Re.marker,Nt=Re.from==null||(ct.inclusiveLeft?Re.from<=N:Re.from<N);if(Nt||Re.from==N&&ct.type=="bookmark"&&(!G||!Re.marker.insertLeft)){var Wt=Re.to==null||(ct.inclusiveRight?Re.to>=N:Re.to>N);(Z||(Z=[])).push(new ht(ct,Re.from,Wt?null:Re.to))}}return Z}function _t(O,N,G){var Z;if(O)for(var oe=0;oe<O.length;++oe){var Re=O[oe],ct=Re.marker,Nt=Re.to==null||(ct.inclusiveRight?Re.to>=N:Re.to>N);if(Nt||Re.from==N&&ct.type=="bookmark"&&(!G||Re.marker.insertLeft)){var Wt=Re.from==null||(ct.inclusiveLeft?Re.from<=N:Re.from<N);(Z||(Z=[])).push(new ht(ct,Wt?null:Re.from-N,Re.to==null?null:Re.to-N))}}return Z}function gr(O,N){if(N.full)return null;var G=yn(O,N.from.line)&&Pe(O,N.from.line).markedSpans,Z=yn(O,N.to.line)&&Pe(O,N.to.line).markedSpans;if(!G&&!Z)return null;var oe=N.from.ch,Re=N.to.ch,ct=St(N.from,N.to)==0,Nt=ir(G,oe,ct),Wt=_t(Z,Re,ct),Qt=N.text.length==1,kr=Ce(N.text).length+(Qt?oe:0);if(Nt)for(var tn=0;tn<Nt.length;++tn){var mn=Nt[tn];if(mn.to==null){var wn=Vt(Wt,mn.marker);wn?Qt&&(mn.to=wn.to==null?null:wn.to+kr):mn.to=oe}}if(Wt)for(var ri=0;ri<Wt.length;++ri){var yi=Wt[ri];if(yi.to!=null&&(yi.to+=kr),yi.from==null){var Mi=Vt(Nt,yi.marker);Mi||(yi.from=kr,Qt&&(Nt||(Nt=[])).push(yi))}else yi.from+=kr,Qt&&(Nt||(Nt=[])).push(yi)}Nt&&(Nt=jt(Nt)),Wt&&Wt!=Nt&&(Wt=jt(Wt));var Di=[Nt];if(!Qt){var Ii=N.text.length-2,Gi;if(Ii>0&&Nt)for(var ia=0;ia<Nt.length;++ia)Nt[ia].to==null&&(Gi||(Gi=[])).push(new ht(Nt[ia].marker,null,null));for(var za=0;za<Ii;++za)Di.push(Gi);Di.push(Wt)}return Di}function jt(O){for(var N=0;N<O.length;++N){var G=O[N];G.from!=null&&G.from==G.to&&G.marker.clearWhenEmpty!==!1&&O.splice(N--,1)}return O.length?O:null}function Sr(O,N,G){var Z=null;if(O.iter(N.line,G.line+1,function(wn){if(wn.markedSpans)for(var ri=0;ri<wn.markedSpans.length;++ri){var yi=wn.markedSpans[ri].marker;yi.readOnly&&(!Z||z(Z,yi)==-1)&&(Z||(Z=[])).push(yi)}}),!Z)return null;for(var oe=[{from:N,to:G}],Re=0;Re<Z.length;++Re)for(var ct=Z[Re],Nt=ct.find(0),Wt=0;Wt<oe.length;++Wt){var Qt=oe[Wt];if(St(Qt.to,Nt.from)<0||St(Qt.from,Nt.to)>0)continue;var kr=[Wt,1],tn=St(Qt.from,Nt.from),mn=St(Qt.to,Nt.to);(tn<0||!ct.inclusiveLeft&&!tn)&&kr.push({from:Qt.from,to:Nt.from}),(mn>0||!ct.inclusiveRight&&!mn)&&kr.push({from:Nt.to,to:Qt.to}),oe.splice.apply(oe,kr),Wt+=kr.length-3}return oe}function Ar(O){var N=O.markedSpans;if(!N)return;for(var G=0;G<N.length;++G)N[G].marker.detachLine(O);O.markedSpans=null}function sr(O,N){if(!N)return;for(var G=0;G<N.length;++G)N[G].marker.attachLine(O);O.markedSpans=N}function ln(O){return O.inclusiveLeft?-1:0}function _n(O){return O.inclusiveRight?1:0}function Wn(O,N){var G=O.lines.length-N.lines.length;if(G!=0)return G;var Z=O.find(),oe=N.find(),Re=St(Z.from,oe.from)||ln(O)-ln(N);if(Re)return-Re;var ct=St(Z.to,oe.to)||_n(O)-_n(N);return ct||N.id-O.id}function Nn(O,N){var G=Ve&&O.markedSpans,Z;if(G)for(var oe=void 0,Re=0;Re<G.length;++Re)oe=G[Re],oe.marker.collapsed&&(N?oe.from:oe.to)==null&&(!Z||Wn(Z,oe.marker)<0)&&(Z=oe.marker);return Z}function Mn(O){return Nn(O,!0)}function Gn(O){return Nn(O,!1)}function xn(O,N){var G=Ve&&O.markedSpans,Z;if(G)for(var oe=0;oe<G.length;++oe){var Re=G[oe];Re.marker.collapsed&&(Re.from==null||Re.from<N)&&(Re.to==null||Re.to>N)&&(!Z||Wn(Z,Re.marker)<0)&&(Z=Re.marker)}return Z}function mi(O,N,G,Z,oe){var Re=Pe(O,N),ct=Ve&&Re.markedSpans;if(ct)for(var Nt=0;Nt<ct.length;++Nt){var Wt=ct[Nt];if(!Wt.marker.collapsed)continue;var Qt=Wt.marker.find(0),kr=St(Qt.from,G)||ln(Wt.marker)-ln(oe),tn=St(Qt.to,Z)||_n(Wt.marker)-_n(oe);if(kr>=0&&tn<=0||kr<=0&&tn>=0)continue;if(kr<=0&&(Wt.marker.inclusiveRight&&oe.inclusiveLeft?St(Qt.to,G)>=0:St(Qt.to,G)>0)||kr>=0&&(Wt.marker.inclusiveRight&&oe.inclusiveLeft?St(Qt.from,Z)<=0:St(Qt.from,Z)<0))return!0}}function rn(O){for(var N;N=Mn(O);)O=N.find(-1,!0).line;return O}function Ur(O){for(var N;N=Gn(O);)O=N.find(1,!0).line;return O}function cn(O){for(var N,G;N=Gn(O);)O=N.find(1,!0).line,(G||(G=[])).push(O);return G}function Qr(O,N){var G=Pe(O,N),Z=rn(G);return G==Z?N:$t(Z)}function Vn(O,N){if(N>O.lastLine())return N;var G=Pe(O,N),Z;if(!Hn(O,G))return N;for(;Z=Gn(G);)G=Z.find(1,!0).line;return $t(G)+1}function Hn(O,N){var G=Ve&&N.markedSpans;if(G)for(var Z=void 0,oe=0;oe<G.length;++oe){if(Z=G[oe],!Z.marker.collapsed)continue;if(Z.from==null)return!0;if(Z.marker.widgetNode)continue;if(Z.from==0&&Z.marker.inclusiveLeft&&li(O,N,Z))return!0}}function li(O,N,G){if(G.to==null){var Z=G.marker.find(1,!0);return li(O,Z.line,Vt(Z.line.markedSpans,G.marker))}if(G.marker.inclusiveRight&&G.to==N.text.length)return!0;for(var oe=void 0,Re=0;Re<N.markedSpans.length;++Re)if(oe=N.markedSpans[Re],oe.marker.collapsed&&!oe.marker.widgetNode&&oe.from==G.to&&(oe.to==null||oe.to!=G.from)&&(oe.marker.inclusiveLeft||G.marker.inclusiveRight)&&li(O,N,oe))return!0}function Un(O){O=rn(O);for(var N=0,G=O.parent,Z=0;Z<G.lines.length;++Z){var oe=G.lines[Z];if(oe==O)break;N+=oe.height}for(var Re=G.parent;Re;G=Re,Re=G.parent)for(var ct=0;ct<Re.children.length;++ct){var Nt=Re.children[ct];if(Nt==G)break;N+=Nt.height}return N}function gi(O){if(O.height==0)return 0;for(var N=O.text.length,G,Z=O;G=Mn(Z);){var oe=G.find(0,!0);Z=oe.from.line,N+=oe.from.ch-oe.to.ch}for(Z=O;G=Gn(Z);){var Re=G.find(0,!0);N-=Z.text.length-Re.from.ch,Z=Re.to.line,N+=Z.text.length-Re.to.ch}return N}function Bn(O){var N=O.display,G=O.doc;N.maxLine=Pe(G,G.first),N.maxLineLength=gi(N.maxLine),N.maxLineChanged=!0,G.iter(function(Z){var oe=gi(Z);oe>N.maxLineLength&&(N.maxLineLength=oe,N.maxLine=Z)})}var di=function(N,G,Z){this.text=N,sr(this,G),this.height=Z?Z(this):1};di.prototype.lineNo=function(){return $t(this)},Dt(di);function qr(O,N,G,Z){O.text=N,O.stateAfter&&(O.stateAfter=null),O.styles&&(O.styles=null),O.order!=null&&(O.order=null),Ar(O),sr(O,G);var oe=Z?Z(O):1;oe!=O.height&&Bt(O,oe)}function xr(O){O.parent=null,Ar(O)}var nn={},gn={};function On(O,N){if(!O||/^\s*$/.test(O))return null;var G=N.addModeClass?gn:nn;return G[O]||(G[O]=O.replace(/\S+/g,"cm-$&"))}function Fn(O,N){var G=R("span",null,null,l?"padding-right: .1px":null),Z={pre:R("pre",[G],"CodeMirror-line"),content:G,col:0,pos:0,cm:O,trailingSpace:!1,splitSpaces:O.getOption("lineWrapping")};N.measure={};for(var oe=0;oe<=(N.rest?N.rest.length:0);oe++){var Re=oe?N.rest[oe-1]:N.line,ct=void 0;Z.pos=0,Z.addToken=$n,Gt(O.display.measure)&&(ct=it(Re,O.doc.direction))&&(Z.addToken=vi(Z.addToken,ct)),Z.map=[];var Nt=N!=O.display.externalMeasured&&$t(Re);Fi(Re,Z,bn(O,Re,Nt)),Re.styleClasses&&(Re.styleClasses.bgClass&&(Z.bgClass=D(Re.styleClasses.bgClass,Z.bgClass||"")),Re.styleClasses.textClass&&(Z.textClass=D(Re.styleClasses.textClass,Z.textClass||""))),Z.map.length==0&&Z.map.push(0,0,Z.content.appendChild(tt(O.display.measure))),oe==0?(N.measure.map=Z.map,N.measure.cache={}):((N.measure.maps||(N.measure.maps=[])).push(Z.map),(N.measure.caches||(N.measure.caches=[])).push({}))}if(l){var Wt=Z.content.lastChild;(/\bcm-tab\b/.test(Wt.className)||Wt.querySelector&&Wt.querySelector(".cm-tab"))&&(Z.content.className="cm-tab-wrap-hack")}return rt(O,"renderLine",O,N.line,Z.pre),Z.pre.className&&(Z.textClass=D(Z.pre.className,Z.textClass||"")),Z}function zn(O){var N=L("span","\u2022","cm-invalidchar");return N.title="\\u"+O.charCodeAt(0).toString(16),N.setAttribute("aria-label",N.title),N}function $n(O,N,G,Z,oe,Re,ct){if(!N)return;var Nt=O.splitSpaces?Zn(N,O.trailingSpace):N,Wt=O.cm.state.specialChars,Qt=!1,kr;if(!Wt.test(N))O.col+=N.length,kr=document.createTextNode(Nt),O.map.push(O.pos,O.pos+N.length,kr),c&&h<9&&(Qt=!0),O.pos+=N.length;else{kr=document.createDocumentFragment();for(var tn=0;;){Wt.lastIndex=tn;var mn=Wt.exec(N),wn=mn?mn.index-tn:N.length-tn;if(wn){var ri=document.createTextNode(Nt.slice(tn,tn+wn));c&&h<9?kr.appendChild(L("span",[ri])):kr.appendChild(ri),O.map.push(O.pos,O.pos+wn,ri),O.col+=wn,O.pos+=wn}if(!mn)break;tn+=wn+1;var yi=void 0;if(mn[0]==" "){var Mi=O.cm.options.tabSize,Di=Mi-O.col%Mi;yi=kr.appendChild(L("span",be(Di),"cm-tab")),yi.setAttribute("role","presentation"),yi.setAttribute("cm-text"," "),O.col+=Di}else mn[0]=="\r"||mn[0]==`
|
|
|
`?(yi=kr.appendChild(L("span",mn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),yi.setAttribute("cm-text",mn[0]),O.col+=1):(yi=O.cm.options.specialCharPlaceholder(mn[0]),yi.setAttribute("cm-text",mn[0]),c&&h<9?kr.appendChild(L("span",[yi])):kr.appendChild(yi),O.col+=1);O.map.push(O.pos,O.pos+1,yi),O.pos++}}if(O.trailingSpace=Nt.charCodeAt(N.length-1)==32,G||Z||oe||Qt||Re||ct){var Ii=G||"";Z&&(Ii+=Z),oe&&(Ii+=oe);var Gi=L("span",[kr],Ii,Re);if(ct)for(var ia in ct)ct.hasOwnProperty(ia)&&ia!="style"&&ia!="class"&&Gi.setAttribute(ia,ct[ia]);return O.content.appendChild(Gi)}O.content.appendChild(kr)}function Zn(O,N){if(O.length>1&&!/ /.test(O))return O;for(var G=N,Z="",oe=0;oe<O.length;oe++){var Re=O.charAt(oe);Re==" "&&G&&(oe==O.length-1||O.charCodeAt(oe+1)==32)&&(Re="\xA0"),Z+=Re,G=Re==" "}return Z}function vi(O,N){return function(G,Z,oe,Re,ct,Nt,Wt){oe=oe?oe+" cm-force-border":"cm-force-border";for(var Qt=G.pos,kr=Qt+Z.length;;){for(var tn=void 0,mn=0;mn<N.length&&!(tn=N[mn],tn.to>Qt&&tn.from<=Qt);mn++);if(tn.to>=kr)return O(G,Z,oe,Re,ct,Nt,Wt);O(G,Z.slice(0,tn.to-Qt),oe,Re,null,Nt,Wt),Re=null,Z=Z.slice(tn.to-Qt),Qt=tn.to}}}function Pi(O,N,G,Z){var oe=!Z&&G.widgetNode;oe&&O.map.push(O.pos,O.pos+N,oe),!Z&&O.cm.display.input.needsContentAttribute&&(oe||(oe=O.content.appendChild(document.createElement("span"))),oe.setAttribute("cm-marker",G.id)),oe&&(O.cm.display.input.setUneditable(oe),O.content.appendChild(oe)),O.pos+=N,O.trailingSpace=!1}function Fi(O,N,G){var Z=O.markedSpans,oe=O.text,Re=0;if(!Z){for(var ct=1;ct<G.length;ct+=2)N.addToken(N,oe.slice(Re,Re=G[ct]),On(G[ct+1],N.cm.options));return}for(var Nt=oe.length,Wt=0,Qt=1,kr="",tn,mn,wn=0,ri,yi,Mi,Di,Ii;;){if(wn==Wt){ri=yi=Mi=mn="",Ii=null,Di=null,wn=Infinity;for(var Gi=[],ia=void 0,za=0;za<Z.length;++za){var La=Z[za],mo=La.marker;if(mo.type=="bookmark"&&La.from==Wt&&mo.widgetNode)Gi.push(mo);else if(La.from<=Wt&&(La.to==null||La.to>Wt||mo.collapsed&&La.to==Wt&&La.from==Wt)){if(La.to!=null&&La.to!=Wt&&wn>La.to&&(wn=La.to,yi=""),mo.className&&(ri+=" "+mo.className),mo.css&&(mn=(mn?mn+";":"")+mo.css),mo.startStyle&&La.from==Wt&&(Mi+=" "+mo.startStyle),mo.endStyle&&La.to==wn&&(ia||(ia=[])).push(mo.endStyle,La.to),mo.title&&((Ii||(Ii={})).title=mo.title),mo.attributes)for(var Eo in mo.attributes)(Ii||(Ii={}))[Eo]=mo.attributes[Eo];mo.collapsed&&(!Di||Wn(Di.marker,mo)<0)&&(Di=La)}else La.from>Wt&&wn>La.from&&(wn=La.from)}if(ia)for(var $o=0;$o<ia.length;$o+=2)ia[$o+1]==wn&&(yi+=" "+ia[$o]);if(!Di||Di.from==Wt)for(var Wo=0;Wo<Gi.length;++Wo)Pi(N,0,Gi[Wo]);if(Di&&(Di.from||0)==Wt){if(Pi(N,(Di.to==null?Nt+1:Di.to)-Wt,Di.marker,Di.from==null),Di.to==null)return;Di.to==Wt&&(Di=!1)}}if(Wt>=Nt)break;for(var Bs=Math.min(Nt,wn);;){if(kr){var hl=Wt+kr.length;if(!Di){var As=hl>Bs?kr.slice(0,Bs-Wt):kr;N.addToken(N,As,tn?tn+ri:ri,Mi,Wt+As.length==wn?yi:"",mn,Ii)}if(hl>=Bs){kr=kr.slice(Bs-Wt),Wt=Bs;break}Wt=hl,Mi=""}kr=oe.slice(Re,Re=G[Qt++]),tn=On(G[Qt++],N.cm.options)}}}function ja(O,N,G){this.line=N,this.rest=cn(N),this.size=this.rest?$t(Ce(this.rest))-G+1:1,this.node=this.text=null,this.hidden=Hn(O,N)}function Qn(O,N,G){for(var Z=[],oe,Re=N;Re<G;Re=oe){var ct=new ja(O.doc,Pe(O.doc,Re),Re);oe=Re+ct.size,Z.push(ct)}return Z}var Xr=null;function hi(O){Xr?Xr.ops.push(O):O.ownsGroup=Xr={ops:[O],delayedCallbacks:[]}}function Ri(O){var N=O.delayedCallbacks,G=0;do{for(;G<N.length;G++)N[G].call(null);for(var Z=0;Z<O.ops.length;Z++){var oe=O.ops[Z];if(oe.cursorActivityHandlers)for(;oe.cursorActivityCalled<oe.cursorActivityHandlers.length;)oe.cursorActivityHandlers[oe.cursorActivityCalled++].call(null,oe.cm)}}while(G<N.length)}function bi(O,N){var G=O.ownsGroup;if(!G)return;try{Ri(G)}finally{Xr=null,N(G)}}var Ui=null;function ni(O,N){var G=mt(O,N);if(!G.length)return;var Z=Array.prototype.slice.call(arguments,2),oe;Xr?oe=Xr.delayedCallbacks:Ui?oe=Ui:(oe=Ui=[],setTimeout(qi,0));for(var Re=function(Wt){oe.push(function(){return G[Wt].apply(null,Z)})},ct=0;ct<G.length;++ct)Re(ct)}function qi(){var O=Ui;Ui=null;for(var N=0;N<O.length;++N)O[N]()}function Qi(O,N,G,Z){for(var oe=0;oe<N.changes.length;oe++){var Re=N.changes[oe];Re=="text"?Zr(O,N):Re=="gutter"?gt(O,N,G,Z):Re=="class"?He(O,N):Re=="widget"&&Xt(O,N,Z)}N.changes=null}function ha(O){return O.node==O.text&&(O.node=L("div",null,null,"position: relative"),O.text.parentNode&&O.text.parentNode.replaceChild(O.node,O.text),O.node.appendChild(O.text),c&&h<8&&(O.node.style.zIndex=2)),O.node}function Yt(O,N){var G=N.bgClass?N.bgClass+" "+(N.line.bgClass||""):N.line.bgClass;if(G&&(G+=" CodeMirror-linebackground"),N.background)G?N.background.className=G:(N.background.parentNode.removeChild(N.background),N.background=null);else if(G){var Z=ha(N);N.background=Z.insertBefore(L("div",null,G),Z.firstChild),O.display.input.setUneditable(N.background)}}function Ir(O,N){var G=O.display.externalMeasured;return G&&G.line==N.line?(O.display.externalMeasured=null,N.measure=G.measure,G.built):Fn(O,N)}function Zr(O,N){var G=N.text.className,Z=Ir(O,N);N.text==N.node&&(N.node=Z.pre),N.text.parentNode.replaceChild(Z.pre,N.text),N.text=Z.pre,Z.bgClass!=N.bgClass||Z.textClass!=N.textClass?(N.bgClass=Z.bgClass,N.textClass=Z.textClass,He(O,N)):G&&(N.text.className=G)}function He(O,N){Yt(O,N),N.line.wrapClass?ha(N).className=N.line.wrapClass:N.node!=N.text&&(N.node.className="");var G=N.textClass?N.textClass+" "+(N.line.textClass||""):N.line.textClass;N.text.className=G||""}function gt(O,N,G,Z){if(N.gutter&&(N.node.removeChild(N.gutter),N.gutter=null),N.gutterBackground&&(N.node.removeChild(N.gutterBackground),N.gutterBackground=null),N.line.gutterClass){var oe=ha(N);N.gutterBackground=L("div",null,"CodeMirror-gutter-background "+N.line.gutterClass,"left: "+(O.options.fixedGutter?Z.fixedPos:-Z.gutterTotalWidth)+"px; width: "+Z.gutterTotalWidth+"px"),O.display.input.setUneditable(N.gutterBackground),oe.insertBefore(N.gutterBackground,N.text)}var Re=N.line.gutterMarkers;if(O.options.lineNumbers||Re){var ct=ha(N),Nt=N.gutter=L("div",null,"CodeMirror-gutter-wrapper","left: "+(O.options.fixedGutter?Z.fixedPos:-Z.gutterTotalWidth)+"px");if(O.display.input.setUneditable(Nt),ct.insertBefore(Nt,N.text),N.line.gutterClass&&(Nt.className+=" "+N.line.gutterClass),O.options.lineNumbers&&(!Re||!Re["CodeMirror-linenumbers"])&&(N.lineNumber=Nt.appendChild(L("div",un(O.options,G),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+Z.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+O.display.lineNumInnerWidth+"px"))),Re)for(var Wt=0;Wt<O.display.gutterSpecs.length;++Wt){var Qt=O.display.gutterSpecs[Wt].className,kr=Re.hasOwnProperty(Qt)&&Re[Qt];kr&&Nt.appendChild(L("div",[kr],"CodeMirror-gutter-elt","left: "+Z.gutterLeft[Qt]+"px; width: "+Z.gutterWidth[Qt]+"px"))}}}function Xt(O,N,G){N.alignable&&(N.alignable=null);for(var Z=T("CodeMirror-linewidget"),oe=N.node.firstChild,Re=void 0;oe;oe=Re)Re=oe.nextSibling,Z.test(oe.className)&&N.node.removeChild(oe);vr(O,N,G)}function zt(O,N,G,Z){var oe=Ir(O,N);return N.text=N.node=oe.pre,oe.bgClass&&(N.bgClass=oe.bgClass),oe.textClass&&(N.textClass=oe.textClass),He(O,N),gt(O,N,G,Z),vr(O,N,Z),N.node}function vr(O,N,G){if(or(O,N.line,N,G,!0),N.rest)for(var Z=0;Z<N.rest.length;Z++)or(O,N.rest[Z],N,G,!1)}function or(O,N,G,Z,oe){if(!N.widgets)return;for(var Re=ha(G),ct=0,Nt=N.widgets;ct<Nt.length;++ct){var Wt=Nt[ct],Qt=L("div",[Wt.node],"CodeMirror-linewidget"+(Wt.className?" "+Wt.className:""));Wt.handleMouseEvents||Qt.setAttribute("cm-ignore-events","true"),Vr(Wt,Qt,G,Z),O.display.input.setUneditable(Qt),oe&&Wt.above?Re.insertBefore(Qt,G.gutter||G.text):Re.appendChild(Qt),ni(Wt,"redraw")}}function Vr(O,N,G,Z){if(O.noHScroll){(G.alignable||(G.alignable=[])).push(N);var oe=Z.wrapperWidth;N.style.left=Z.fixedPos+"px",O.coverGutter||(oe-=Z.gutterTotalWidth,N.style.paddingLeft=Z.gutterTotalWidth+"px"),N.style.width=oe+"px"}O.coverGutter&&(N.style.zIndex=5,N.style.position="relative",O.noHScroll||(N.style.marginLeft=-Z.gutterTotalWidth+"px"))}function Kr(O){if(O.height!=null)return O.height;var N=O.doc.cm;if(!N)return 0;if(!F(document.body,O.node)){var G="position: relative;";O.coverGutter&&(G+="margin-left: -"+N.display.gutters.offsetWidth+"px;"),O.noHScroll&&(G+="width: "+N.display.wrapper.clientWidth+"px;"),I(N.display.measure,L("div",[O.node],null,G))}return O.height=O.node.parentNode.offsetHeight}function Dr(O,N){for(var G=xe(N);G!=O.wrapper;G=G.parentNode)if(!G||G.nodeType==1&&G.getAttribute("cm-ignore-events")=="true"||G.parentNode==O.sizer&&G!=O.mover)return!0}function dn(O){return O.lineSpace.offsetTop}function on(O){return O.mover.offsetHeight-O.lineSpace.offsetHeight}function Cn(O){if(O.cachedPaddingH)return O.cachedPaddingH;var N=I(O.measure,L("pre","x","CodeMirror-line-like")),G=window.getComputedStyle?window.getComputedStyle(N):N.currentStyle,Z={left:parseInt(G.paddingLeft),right:parseInt(G.paddingRight)};return!isNaN(Z.left)&&!isNaN(Z.right)&&(O.cachedPaddingH=Z),Z}function sn(O){return Y-O.display.nativeBarWidth}function an(O){return O.display.scroller.clientWidth-sn(O)-O.display.barWidth}function Yr(O){return O.display.scroller.clientHeight-sn(O)-O.display.barHeight}function fn(O,N,G){var Z=O.options.lineWrapping,oe=Z&&an(O);if(!N.measure.heights||Z&&N.measure.width!=oe){var Re=N.measure.heights=[];if(Z){N.measure.width=oe;for(var ct=N.text.firstChild.getClientRects(),Nt=0;Nt<ct.length-1;Nt++){var Wt=ct[Nt],Qt=ct[Nt+1];Math.abs(Wt.bottom-Qt.bottom)>2&&Re.push((Wt.bottom+Qt.top)/2-G.top)}}Re.push(G.bottom-G.top)}}function vn(O,N,G){if(O.line==N)return{map:O.measure.map,cache:O.measure.cache};for(var Z=0;Z<O.rest.length;Z++)if(O.rest[Z]==N)return{map:O.measure.maps[Z],cache:O.measure.caches[Z]};for(var oe=0;oe<O.rest.length;oe++)if($t(O.rest[oe])>G)return{map:O.measure.maps[oe],cache:O.measure.caches[oe],before:!0}}function Ln(O,N){N=rn(N);var G=$t(N),Z=O.display.externalMeasured=new ja(O.doc,N,G);Z.lineN=G;var oe=Z.built=Fn(O,Z);return Z.text=oe.pre,I(O.display.lineMeasure,oe.pre),Z}function oi(O,N,G,Z){return qn(O,Ni(O,N),G,Z)}function si(O,N){if(N>=O.display.viewFrom&&N<O.display.viewTo)return O.display.view[ga(O,N)];var G=O.display.externalMeasured;if(G&&N>=G.lineN&&N<G.lineN+G.size)return G}function Ni(O,N){var G=$t(N),Z=si(O,G);Z&&!Z.text?Z=null:Z&&Z.changes&&(Qi(O,Z,G,co(O)),O.curOp.forceUpdate=!0),Z||(Z=Ln(O,N));var oe=vn(Z,N,G);return{line:N,view:Z,rect:null,map:oe.map,cache:oe.cache,before:oe.before,hasHeights:!1}}function qn(O,N,G,Z,oe){N.before&&(G=-1);var Re=G+(Z||""),ct;return N.cache.hasOwnProperty(Re)?ct=N.cache[Re]:(N.rect||(N.rect=N.view.text.getBoundingClientRect()),N.hasHeights||(fn(O,N.view,N.rect),N.hasHeights=!0),ct=wi(O,N,G,Z),ct.bogus||(N.cache[Re]=ct)),{left:ct.left,right:ct.right,top:oe?ct.rtop:ct.top,bottom:oe?ct.rbottom:ct.bottom}}var Pn={left:0,right:0,top:0,bottom:0};function Bi(O,N,G){for(var Z,oe,Re,ct,Nt,Wt,Qt=0;Qt<O.length;Qt+=3)if(Nt=O[Qt],Wt=O[Qt+1],N<Nt?(oe=0,Re=1,ct="left"):N<Wt?(oe=N-Nt,Re=oe+1):(Qt==O.length-3||N==Wt&&O[Qt+3]>N)&&(Re=Wt-Nt,oe=Re-1,N>=Wt&&(ct="right")),oe!=null){if(Z=O[Qt+2],Nt==Wt&&G==(Z.insertLeft?"left":"right")&&(ct=G),G=="left"&&oe==0)for(;Qt&&O[Qt-2]==O[Qt-3]&&O[Qt-1].insertLeft;)Z=O[(Qt-=3)+2],ct="left";if(G=="right"&&oe==Wt-Nt)for(;Qt<O.length-3&&O[Qt+3]==O[Qt+4]&&!O[Qt+5].insertLeft;)Z=O[(Qt+=3)+2],ct="right";break}return{node:Z,start:oe,end:Re,collapse:ct,coverStart:Nt,coverEnd:Wt}}function ci(O,N){var G=Pn;if(N=="left")for(var Z=0;Z<O.length&&!((G=O[Z]).left!=G.right);Z++);else for(var oe=O.length-1;oe>=0&&!((G=O[oe]).left!=G.right);oe--);return G}function wi(O,N,G,Z){var oe=Bi(N.map,G,Z),Re=oe.node,ct=oe.start,Nt=oe.end,Wt=oe.collapse,Qt;if(Re.nodeType==3){for(var kr=0;kr<4;kr++){for(;ct&&ue(N.line.text.charAt(oe.coverStart+ct));)--ct;for(;oe.coverStart+Nt<oe.coverEnd&&ue(N.line.text.charAt(oe.coverStart+Nt));)++Nt;if(c&&h<9&&ct==0&&Nt==oe.coverEnd-oe.coverStart?Qt=Re.parentNode.getBoundingClientRect():Qt=ci(k(Re,ct,Nt).getClientRects(),Z),Qt.left||Qt.right||ct==0)break;Nt=ct,ct=ct-1,Wt="right"}c&&h<11&&(Qt=fi(O.display.measure,Qt))}else{ct>0&&(Wt=Z="right");var tn;O.options.lineWrapping&&(tn=Re.getClientRects()).length>1?Qt=tn[Z=="right"?tn.length-1:0]:Qt=Re.getBoundingClientRect()}if(c&&h<9&&!ct&&(!Qt||!Qt.left&&!Qt.right)){var mn=Re.parentNode.getClientRects()[0];mn?Qt={left:mn.left,right:mn.left+Xa(O.display),top:mn.top,bottom:mn.bottom}:Qt=Pn}for(var wn=Qt.top-N.rect.top,ri=Qt.bottom-N.rect.top,yi=(wn+ri)/2,Mi=N.view.measure.heights,Di=0;Di<Mi.length-1&&!(yi<Mi[Di]);Di++);var Ii=Di?Mi[Di-1]:0,Gi=Mi[Di],ia={left:(Wt=="right"?Qt.right:Qt.left)-N.rect.left,right:(Wt=="left"?Qt.left:Qt.right)-N.rect.left,top:Ii,bottom:Gi};return!Qt.left&&!Qt.right&&(ia.bogus=!0),O.options.singleCursorHeightPerLine||(ia.rtop=wn,ia.rbottom=ri),ia}function fi(O,N){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!It(O))return N;var G=screen.logicalXDPI/screen.deviceXDPI,Z=screen.logicalYDPI/screen.deviceYDPI;return{left:N.left*G,right:N.right*G,top:N.top*Z,bottom:N.bottom*Z}}function ki(O){if(O.measure&&(O.measure.cache={},O.measure.heights=null,O.rest))for(var N=0;N<O.rest.length;N++)O.measure.caches[N]={}}function fa(O){O.display.externalMeasure=null,_(O.display.lineMeasure);for(var N=0;N<O.display.view.length;N++)ki(O.display.view[N])}function zi(O){fa(O),O.display.cachedCharWidth=O.display.cachedTextHeight=O.display.cachedPaddingH=null,O.options.lineWrapping||(O.display.maxLineChanged=!0),O.display.lineNumChars=null}function ma(){return n&&u?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function aa(){return n&&u?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function ya(O){var N=0;if(O.widgets)for(var G=0;G<O.widgets.length;++G)O.widgets[G].above&&(N+=Kr(O.widgets[G]));return N}function Ea(O,N,G,Z,oe){if(!oe){var Re=ya(N);G.top+=Re,G.bottom+=Re}if(Z=="line")return G;Z||(Z="local");var ct=Un(N);if(Z=="local"?ct+=dn(O.display):ct-=O.display.viewOffset,Z=="page"||Z=="window"){var Nt=O.display.lineSpace.getBoundingClientRect();ct+=Nt.top+(Z=="window"?0:aa());var Wt=Nt.left+(Z=="window"?0:ma());G.left+=Wt,G.right+=Wt}return G.top+=ct,G.bottom+=ct,G}function ca(O,N,G){if(G=="div")return N;var Z=N.left,oe=N.top;if(G=="page")Z-=ma(),oe-=aa();else if(G=="local"||!G){var Re=O.display.sizer.getBoundingClientRect();Z+=Re.left,oe+=Re.top}var ct=O.display.lineSpace.getBoundingClientRect();return{left:Z-ct.left,top:oe-ct.top}}function ka(O,N,G,Z,oe){return Z||(Z=Pe(O.doc,N.line)),Ea(O,Z,oi(O,Z,N.ch,oe),G)}function wa(O,N,G,Z,oe,Re){Z=Z||Pe(O.doc,N.line),oe||(oe=Ni(O,Z));function ct(ri,yi){var Mi=qn(O,oe,ri,yi?"right":"left",Re);return yi?Mi.left=Mi.right:Mi.right=Mi.left,Ea(O,Z,Mi,G)}var Nt=it(Z,O.doc.direction),Wt=N.ch,Qt=N.sticky;if(Wt>=Z.text.length?(Wt=Z.text.length,Qt="before"):Wt<=0&&(Wt=0,Qt="after"),!Nt)return ct(Qt=="before"?Wt-1:Wt,Qt=="before");function kr(ri,yi,Mi){var Di=Nt[yi],Ii=Di.level==1;return ct(Mi?ri-1:ri,Ii!=Mi)}var tn=_e(Nt,Wt,Qt),mn=ce,wn=kr(Wt,tn,Qt=="before");return mn!=null&&(wn.other=kr(Wt,mn,Qt!="before")),wn}function _i(O,N){var G=0;N=Ft(O.doc,N),O.options.lineWrapping||(G=Xa(O.display)*N.ch);var Z=Pe(O.doc,N.line),oe=Un(Z)+dn(O.display);return{left:G,right:G,top:oe,bottom:oe+Z.height}}function xi(O,N,G,Z,oe){var Re=Kt(O,N,G);return Re.xRel=oe,Z&&(Re.outside=Z),Re}function ji(O,N,G){var Z=O.doc;if(G+=O.display.viewOffset,G<0)return xi(Z.first,0,null,-1,-1);var oe=Nr(Z,G),Re=Z.first+Z.size-1;if(oe>Re)return xi(Z.first+Z.size-1,Pe(Z,Re).text.length,null,1,1);N<0&&(N=0);for(var ct=Pe(Z,oe);;){var Nt=Oa(O,ct,oe,N,G),Wt=xn(ct,Nt.ch+(Nt.xRel>0||Nt.outside>0?1:0));if(!Wt)return Nt;var Qt=Wt.find(1);if(Qt.line==oe)return Qt;ct=Pe(Z,oe=Qt.line)}}function Zi(O,N,G,Z){Z-=ya(N);var oe=N.text.length,Re=Fe(function(ct){return qn(O,G,ct-1).bottom<=Z},oe,0);return oe=Fe(function(ct){return qn(O,G,ct).top>Z},Re,oe),{begin:Re,end:oe}}function Si(O,N,G,Z){G||(G=Ni(O,N));var oe=Ea(O,N,qn(O,G,Z),"line").top;return Zi(O,N,G,oe)}function Hi(O,N,G,Z){return O.bottom<=G?!1:O.top>G?!0:(Z?O.left:O.right)>N}function Oa(O,N,G,Z,oe){oe-=Un(N);var Re=Ni(O,N),ct=ya(N),Nt=0,Wt=N.text.length,Qt=!0,kr=it(N,O.doc.direction);if(kr){var tn=(O.options.lineWrapping?la:_a)(O,N,G,Re,kr,Z,oe);Qt=tn.level!=1,Nt=Qt?tn.from:tn.to-1,Wt=Qt?tn.to:tn.from-1}var mn=null,wn=null,ri=Fe(function(za){var La=qn(O,Re,za);return La.top+=ct,La.bottom+=ct,Hi(La,Z,oe,!1)?(La.top<=oe&&La.left<=Z&&(mn=za,wn=La),!0):!1},Nt,Wt),yi,Mi,Di=!1;if(wn){var Ii=Z-wn.left<wn.right-Z,Gi=Ii==Qt;ri=mn+(Gi?0:1),Mi=Gi?"after":"before",yi=Ii?wn.left:wn.right}else{!Qt&&(ri==Wt||ri==Nt)&&ri++,Mi=ri==0?"after":ri==N.text.length?"before":qn(O,Re,ri-(Qt?1:0)).bottom+ct<=oe==Qt?"after":"before";var ia=wa(O,Kt(G,ri,Mi),"line",N,Re);yi=ia.left,Di=oe<ia.top?-1:oe>=ia.bottom?1:0}return ri=Ne(N.text,ri,1),xi(G,ri,Mi,Di,Z-yi)}function _a(O,N,G,Z,oe,Re,ct){var Nt=Fe(function(tn){var mn=oe[tn],wn=mn.level!=1;return Hi(wa(O,Kt(G,wn?mn.to:mn.from,wn?"before":"after"),"line",N,Z),Re,ct,!0)},0,oe.length-1),Wt=oe[Nt];if(Nt>0){var Qt=Wt.level!=1,kr=wa(O,Kt(G,Qt?Wt.from:Wt.to,Qt?"after":"before"),"line",N,Z);Hi(kr,Re,ct,!0)&&kr.top>ct&&(Wt=oe[Nt-1])}return Wt}function la(O,N,G,Z,oe,Re,ct){var Nt=Zi(O,N,Z,ct),Wt=Nt.begin,Qt=Nt.end;/\s/.test(N.text.charAt(Qt-1))&&Qt--;for(var kr=null,tn=null,mn=0;mn<oe.length;mn++){var wn=oe[mn];if(wn.from>=Qt||wn.to<=Wt)continue;var ri=wn.level!=1,yi=qn(O,Z,ri?Math.min(Qt,wn.to)-1:Math.max(Wt,wn.from)).right,Mi=yi<Re?Re-yi+1e9:yi-Re;(!kr||tn>Mi)&&(kr=wn,tn=Mi)}return kr||(kr=oe[oe.length-1]),kr.from<Wt&&(kr={from:Wt,to:kr.to,level:kr.level}),kr.to>Qt&&(kr={from:kr.from,to:Qt,level:kr.level}),kr}var va;function Ma(O){if(O.cachedTextHeight!=null)return O.cachedTextHeight;if(va==null){va=L("pre",null,"CodeMirror-line-like");for(var N=0;N<49;++N)va.appendChild(document.createTextNode("x")),va.appendChild(L("br"));va.appendChild(document.createTextNode("x"))}I(O.measure,va);var G=va.offsetHeight/50;return G>3&&(O.cachedTextHeight=G),_(O.measure),G||1}function Xa(O){if(O.cachedCharWidth!=null)return O.cachedCharWidth;var N=L("span","xxxxxxxxxx"),G=L("pre",[N],"CodeMirror-line-like");I(O.measure,G);var Z=N.getBoundingClientRect(),oe=(Z.right-Z.left)/10;return oe>2&&(O.cachedCharWidth=oe),oe||10}function co(O){for(var N=O.display,G={},Z={},oe=N.gutters.clientLeft,Re=N.gutters.firstChild,ct=0;Re;Re=Re.nextSibling,++ct){var Nt=O.display.gutterSpecs[ct].className;G[Nt]=Re.offsetLeft+Re.clientLeft+oe,Z[Nt]=Re.clientWidth}return{fixedPos:so(N),gutterTotalWidth:N.gutters.offsetWidth,gutterLeft:G,gutterWidth:Z,wrapperWidth:N.wrapper.clientWidth}}function so(O){return O.scroller.getBoundingClientRect().left-O.sizer.getBoundingClientRect().left}function Ao(O){var N=Ma(O.display),G=O.options.lineWrapping,Z=G&&Math.max(5,O.display.scroller.clientWidth/Xa(O.display)-3);return function(oe){if(Hn(O.doc,oe))return 0;var Re=0;if(oe.widgets)for(var ct=0;ct<oe.widgets.length;ct++)oe.widgets[ct].height&&(Re+=oe.widgets[ct].height);return G?Re+(Math.ceil(oe.text.length/Z)||1)*N:Re+N}}function io(O){var N=O.doc,G=Ao(O);N.iter(function(Z){var oe=G(Z);oe!=Z.height&&Bt(Z,oe)})}function pa(O,N,G,Z){var oe=O.display;if(!G&&xe(N).getAttribute("cm-not-content")=="true")return null;var Re,ct,Nt=oe.lineSpace.getBoundingClientRect();try{Re=N.clientX-Nt.left,ct=N.clientY-Nt.top}catch(tn){return null}var Wt=ji(O,Re,ct),Qt;if(Z&&Wt.xRel>0&&(Qt=Pe(O.doc,Wt.line).text).length==Wt.ch){var kr=K(Qt,Qt.length,O.options.tabSize)-Qt.length;Wt=Kt(Wt.line,Math.max(0,Math.round((Re-Cn(O.display).left)/Xa(O.display))-kr))}return Wt}function ga(O,N){if(N>=O.display.viewTo)return null;if(N-=O.display.viewFrom,N<0)return null;for(var G=O.display.view,Z=0;Z<G.length;Z++)if(N-=G[Z].size,N<0)return Z}function ba(O,N,G,Z){N==null&&(N=O.doc.first),G==null&&(G=O.doc.first+O.doc.size),Z||(Z=0);var oe=O.display;if(Z&&G<oe.viewTo&&(oe.updateLineNumbers==null||oe.updateLineNumbers>N)&&(oe.updateLineNumbers=N),O.curOp.viewChanged=!0,N>=oe.viewTo)Ve&&Qr(O.doc,N)<oe.viewTo&&Fa(O);else if(G<=oe.viewFrom)Ve&&Vn(O.doc,G+Z)>oe.viewFrom?Fa(O):(oe.viewFrom+=Z,oe.viewTo+=Z);else if(N<=oe.viewFrom&&G>=oe.viewTo)Fa(O);else if(N<=oe.viewFrom){var Re=vo(O,G,G+Z,1);Re?(oe.view=oe.view.slice(Re.index),oe.viewFrom=Re.lineN,oe.viewTo+=Z):Fa(O)}else if(G>=oe.viewTo){var ct=vo(O,N,N,-1);ct?(oe.view=oe.view.slice(0,ct.index),oe.viewTo=ct.lineN):Fa(O)}else{var Nt=vo(O,N,N,-1),Wt=vo(O,G,G+Z,1);Nt&&Wt?(oe.view=oe.view.slice(0,Nt.index).concat(Qn(O,Nt.lineN,Wt.lineN)).concat(oe.view.slice(Wt.index)),oe.viewTo+=Z):Fa(O)}var Qt=oe.externalMeasured;Qt&&(G<Qt.lineN?Qt.lineN+=Z:N<Qt.lineN+Qt.size&&(oe.externalMeasured=null))}function Oi(O,N,G){O.curOp.viewChanged=!0;var Z=O.display,oe=O.display.externalMeasured;if(oe&&N>=oe.lineN&&N<oe.lineN+oe.size&&(Z.externalMeasured=null),N<Z.viewFrom||N>=Z.viewTo)return;var Re=Z.view[ga(O,N)];if(Re.node==null)return;var ct=Re.changes||(Re.changes=[]);z(ct,G)==-1&&ct.push(G)}function Fa(O){O.display.viewFrom=O.display.viewTo=O.doc.first,O.display.view=[],O.display.viewOffset=0}function vo(O,N,G,Z){var oe=ga(O,N),Re,ct=O.display.view;if(!Ve||G==O.doc.first+O.doc.size)return{index:oe,lineN:G};for(var Nt=O.display.viewFrom,Wt=0;Wt<oe;Wt++)Nt+=ct[Wt].size;if(Nt!=N){if(Z>0){if(oe==ct.length-1)return null;Re=Nt+ct[oe].size-N,oe++}else Re=Nt-N;N+=Re,G+=Re}for(;Qr(O.doc,G)!=G;){if(oe==(Z<0?0:ct.length-1))return null;G+=Z*ct[oe-(Z<0?1:0)].size,oe+=Z}return{index:oe,lineN:G}}function os(O,N,G){var Z=O.display,oe=Z.view;oe.length==0||N>=Z.viewTo||G<=Z.viewFrom?(Z.view=Qn(O,N,G),Z.viewFrom=N):(Z.viewFrom>N?Z.view=Qn(O,N,Z.viewFrom).concat(Z.view):Z.viewFrom<N&&(Z.view=Z.view.slice(ga(O,N))),Z.viewFrom=N,Z.viewTo<G?Z.view=Z.view.concat(Qn(O,Z.viewTo,G)):Z.viewTo>G&&(Z.view=Z.view.slice(0,ga(O,G)))),Z.viewTo=G}function Va(O){for(var N=O.display.view,G=0,Z=0;Z<N.length;Z++){var oe=N[Z];!oe.hidden&&(!oe.node||oe.changes)&&++G}return G}function ao(O){O.display.input.showSelection(O.display.input.prepareSelection())}function Ga(O,N){N===void 0&&(N=!0);for(var G=O.doc,Z={},oe=Z.cursors=document.createDocumentFragment(),Re=Z.selection=document.createDocumentFragment(),ct=0;ct<G.sel.ranges.length;ct++){if(!N&&ct==G.sel.primIndex)continue;var Nt=G.sel.ranges[ct];if(Nt.from().line>=O.display.viewTo||Nt.to().line<O.display.viewFrom)continue;var Wt=Nt.empty();(Wt||O.options.showCursorWhenSelecting)&&yo(O,Nt.head,oe),Wt||es(O,Nt,Re)}return Z}function yo(O,N,G){var Z=wa(O,N,"div",null,null,!O.options.singleCursorHeightPerLine),oe=G.appendChild(L("div","\xA0","CodeMirror-cursor"));if(oe.style.left=Z.left+"px",oe.style.top=Z.top+"px",oe.style.height=Math.max(0,Z.bottom-Z.top)*O.options.cursorHeight+"px",Z.other){var Re=G.appendChild(L("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Re.style.display="",Re.style.left=Z.other.left+"px",Re.style.top=Z.other.top+"px",Re.style.height=(Z.other.bottom-Z.other.top)*.85+"px"}}function fo(O,N){return O.top-N.top||O.left-N.left}function es(O,N,G){var Z=O.display,oe=O.doc,Re=document.createDocumentFragment(),ct=Cn(O.display),Nt=ct.left,Wt=Math.max(Z.sizerWidth,an(O)-Z.sizer.offsetLeft)-ct.right,Qt=oe.direction=="ltr";function kr(Gi,ia,za,La){ia<0&&(ia=0),ia=Math.round(ia),La=Math.round(La),Re.appendChild(L("div",null,"CodeMirror-selected","position: absolute; left: "+Gi+`px;
|
|
|
top: `+ia+"px; width: "+(za==null?Wt-Gi:za)+`px;
|
|
|
height: `+(La-ia)+"px"))}function tn(Gi,ia,za){var La=Pe(oe,Gi),mo=La.text.length,Eo,$o;function Wo(As,fl){return ka(O,Kt(Gi,As),"div",La,fl)}function Bs(As,fl,ks){var Os=Si(O,La,null,As),bs=fl=="ltr"==(ks=="after")?"left":"right",us=ks=="after"?Os.begin:Os.end-(/\s/.test(La.text.charAt(Os.end-1))?2:1);return Wo(us,bs)[bs]}var hl=it(La,oe.direction);return ae(hl,ia||0,za==null?mo:za,function(As,fl,ks,Os){var bs=ks=="ltr",us=Wo(As,bs?"left":"right"),ol=Wo(fl-1,bs?"right":"left"),Ac=ia==null&&As==0,El=za==null&&fl==mo,ws=Os==0,wl=!hl||Os==hl.length-1;if(ol.top-us.top<=3){var Hs=(Qt?Ac:El)&&ws,tu=(Qt?El:Ac)&&wl,ra=Hs?Nt:(bs?us:ol).left,vl=tu?Wt:(bs?ol:us).right;kr(ra,us.top,vl-ra,us.bottom)}else{var Nl,is,Wl,Ho;bs?(Nl=Qt&&Ac&&ws?Nt:us.left,is=Qt?Wt:Bs(As,ks,"before"),Wl=Qt?Nt:Bs(fl,ks,"after"),Ho=Qt&&El&&wl?Wt:ol.right):(Nl=Qt?Bs(As,ks,"before"):Nt,is=!Qt&&Ac&&ws?Wt:us.right,Wl=!Qt&&El&&wl?Nt:ol.left,Ho=Qt?Bs(fl,ks,"after"):Wt),kr(Nl,us.top,is-Nl,us.bottom),us.bottom<ol.top&&kr(Nt,us.bottom,null,ol.top),kr(Wl,ol.top,Ho-Wl,ol.bottom)}(!Eo||fo(us,Eo)<0)&&(Eo=us),fo(ol,Eo)<0&&(Eo=ol),(!$o||fo(us,$o)<0)&&($o=us),fo(ol,$o)<0&&($o=ol)}),{start:Eo,end:$o}}var mn=N.from(),wn=N.to();if(mn.line==wn.line)tn(mn.line,mn.ch,wn.ch);else{var ri=Pe(oe,mn.line),yi=Pe(oe,wn.line),Mi=rn(ri)==rn(yi),Di=tn(mn.line,mn.ch,Mi?ri.text.length+1:null).end,Ii=tn(wn.line,Mi?0:null,wn.ch).start;Mi&&(Di.top<Ii.top-2?(kr(Di.right,Di.top,null,Di.bottom),kr(Nt,Ii.top,Ii.left,Ii.bottom)):kr(Di.right,Di.top,Ii.left-Di.right,Di.bottom)),Di.bottom<Ii.top&&kr(Nt,Di.bottom,null,Ii.top)}G.appendChild(Re)}function To(O){if(!O.state.focused)return;var N=O.display;clearInterval(N.blinker);var G=!0;N.cursorDiv.style.visibility="",O.options.cursorBlinkRate>0?N.blinker=setInterval(function(){O.hasFocus()||ns(O),N.cursorDiv.style.visibility=(G=!G)?"":"hidden"},O.options.cursorBlinkRate):O.options.cursorBlinkRate<0&&(N.cursorDiv.style.visibility="hidden")}function po(O){O.state.focused||(O.display.input.focus(),zo(O))}function Io(O){O.state.delayingBlurEvent=!0,setTimeout(function(){O.state.delayingBlurEvent&&(O.state.delayingBlurEvent=!1,ns(O))},100)}function zo(O,N){if(O.state.delayingBlurEvent&&(O.state.delayingBlurEvent=!1),O.options.readOnly=="nocursor")return;O.state.focused||(rt(O,"focus",O,N),O.state.focused=!0,W(O.display.wrapper,"CodeMirror-focused"),!O.curOp&&O.display.selForContextMenu!=O.doc.sel&&(O.display.input.reset(),l&&setTimeout(function(){return O.display.input.reset(!0)},20)),O.display.input.receivedFocus()),To(O)}function ns(O,N){if(O.state.delayingBlurEvent)return;O.state.focused&&(rt(O,"blur",O,N),O.state.focused=!1,x(O.display.wrapper,"CodeMirror-focused")),clearInterval(O.display.blinker),setTimeout(function(){O.state.focused||(O.display.shift=!1)},150)}function Po(O){for(var N=O.display,G=N.lineDiv.offsetTop,Z=0;Z<N.view.length;Z++){var oe=N.view[Z],Re=O.options.lineWrapping,ct=void 0,Nt=0;if(oe.hidden)continue;if(c&&h<8){var Wt=oe.node.offsetTop+oe.node.offsetHeight;ct=Wt-G,G=Wt}else{var Qt=oe.node.getBoundingClientRect();ct=Qt.bottom-Qt.top,!Re&&oe.text.firstChild&&(Nt=oe.text.firstChild.getBoundingClientRect().right-Qt.left-1)}var kr=oe.line.height-ct;if((kr>.005||kr<-.005)&&(Bt(oe.line,ct),Aa(oe.line),oe.rest))for(var tn=0;tn<oe.rest.length;tn++)Aa(oe.rest[tn]);if(Nt>O.display.sizerWidth){var mn=Math.ceil(Nt/Xa(O.display));mn>O.display.maxLineLength&&(O.display.maxLineLength=mn,O.display.maxLine=oe.line,O.display.maxLineChanged=!0)}}}function Aa(O){if(O.widgets)for(var N=0;N<O.widgets.length;++N){var G=O.widgets[N],Z=G.node.parentNode;Z&&(G.height=Z.offsetHeight)}}function Ja(O,N,G){var Z=G&&G.top!=null?Math.max(0,G.top):O.scroller.scrollTop;Z=Math.floor(Z-dn(O));var oe=G&&G.bottom!=null?G.bottom:Z+O.wrapper.clientHeight,Re=Nr(N,Z),ct=Nr(N,oe);if(G&&G.ensure){var Nt=G.ensure.from.line,Wt=G.ensure.to.line;Nt<Re?(Re=Nt,ct=Nr(N,Un(Pe(N,Nt))+O.wrapper.clientHeight)):Math.min(Wt,N.lastLine())>=ct&&(Re=Nr(N,Un(Pe(N,Wt))-O.wrapper.clientHeight),ct=Wt)}return{from:Re,to:Math.max(ct,Re+1)}}function Ba(O,N){if(wt(O,"scrollCursorIntoView"))return;var G=O.display,Z=G.sizer.getBoundingClientRect(),oe=null;if(N.top+Z.top<0?oe=!0:N.bottom+Z.top>(window.innerHeight||document.documentElement.clientHeight)&&(oe=!1),oe!=null&&!t){var Re=L("div","\u200B",null,`position: absolute;
|
|
|
top: `+(N.top-G.viewOffset-dn(O.display))+`px;
|
|
|
height: `+(N.bottom-N.top+sn(O)+G.barHeight)+`px;
|
|
|
left: `+N.left+"px; width: "+Math.max(2,N.right-N.left)+"px;");O.display.lineSpace.appendChild(Re),Re.scrollIntoView(oe),O.display.lineSpace.removeChild(Re)}}function $i(O,N,G,Z){Z==null&&(Z=0);var oe;!O.options.lineWrapping&&N==G&&(N=N.ch?Kt(N.line,N.sticky=="before"?N.ch-1:N.ch,"after"):N,G=N.sticky=="before"?Kt(N.line,N.ch+1,"before"):N);for(var Re=0;Re<5;Re++){var ct=!1,Nt=wa(O,N),Wt=!G||G==N?Nt:wa(O,G);oe={left:Math.min(Nt.left,Wt.left),top:Math.min(Nt.top,Wt.top)-Z,right:Math.max(Nt.left,Wt.left),bottom:Math.max(Nt.bottom,Wt.bottom)+Z};var Qt=Ha(O,oe),kr=O.doc.scrollTop,tn=O.doc.scrollLeft;if(Qt.scrollTop!=null&&(Ya(O,Qt.scrollTop),Math.abs(O.doc.scrollTop-kr)>1&&(ct=!0)),Qt.scrollLeft!=null&&(Ci(O,Qt.scrollLeft),Math.abs(O.doc.scrollLeft-tn)>1&&(ct=!0)),!ct)break}return oe}function uo(O,N){var G=Ha(O,N);G.scrollTop!=null&&Ya(O,G.scrollTop),G.scrollLeft!=null&&Ci(O,G.scrollLeft)}function Ha(O,N){var G=O.display,Z=Ma(O.display);N.top<0&&(N.top=0);var oe=O.curOp&&O.curOp.scrollTop!=null?O.curOp.scrollTop:G.scroller.scrollTop,Re=Yr(O),ct={};N.bottom-N.top>Re&&(N.bottom=N.top+Re);var Nt=O.doc.height+on(G),Wt=N.top<Z,Qt=N.bottom>Nt-Z;if(N.top<oe)ct.scrollTop=Wt?0:N.top;else if(N.bottom>oe+Re){var kr=Math.min(N.top,(Qt?Nt:N.bottom)-Re);kr!=oe&&(ct.scrollTop=kr)}var tn=O.options.fixedGutter?0:G.gutters.offsetWidth,mn=O.curOp&&O.curOp.scrollLeft!=null?O.curOp.scrollLeft:G.scroller.scrollLeft-tn,wn=an(O)-G.gutters.offsetWidth,ri=N.right-N.left>wn;return ri&&(N.right=N.left+wn),N.left<10?ct.scrollLeft=0:N.left<mn?ct.scrollLeft=Math.max(0,N.left+tn-(ri?0:10)):N.right>wn+mn-3&&(ct.scrollLeft=N.right+(ri?0:10)-wn),ct}function Yi(O,N){if(N==null)return;Jo(O),O.curOp.scrollTop=(O.curOp.scrollTop==null?O.doc.scrollTop:O.curOp.scrollTop)+N}function Qa(O){Jo(O);var N=O.getCursor();O.curOp.scrollToPos={from:N,to:N,margin:O.options.cursorScrollMargin}}function Mo(O,N,G){(N!=null||G!=null)&&Jo(O),N!=null&&(O.curOp.scrollLeft=N),G!=null&&(O.curOp.scrollTop=G)}function Qo(O,N){Jo(O),O.curOp.scrollToPos=N}function Jo(O){var N=O.curOp.scrollToPos;if(N){O.curOp.scrollToPos=null;var G=_i(O,N.from),Z=_i(O,N.to);ua(O,G,Z,N.margin)}}function ua(O,N,G,Z){var oe=Ha(O,{left:Math.min(N.left,G.left),top:Math.min(N.top,G.top)-Z,right:Math.max(N.right,G.right),bottom:Math.max(N.bottom,G.bottom)+Z});Mo(O,oe.scrollLeft,oe.scrollTop)}function Ya(O,N){if(Math.abs(O.doc.scrollTop-N)<2)return;A||xs(O,{top:N}),lo(O,N,!0),A&&xs(O),jo(O,100)}function lo(O,N,G){if(N=Math.max(0,Math.min(O.display.scroller.scrollHeight-O.display.scroller.clientHeight,N)),O.display.scroller.scrollTop==N&&!G)return;O.doc.scrollTop=N,O.display.scrollbars.setScrollTop(N),O.display.scroller.scrollTop!=N&&(O.display.scroller.scrollTop=N)}function Ci(O,N,G,Z){if(N=Math.max(0,Math.min(N,O.display.scroller.scrollWidth-O.display.scroller.clientWidth)),(G?N==O.doc.scrollLeft:Math.abs(O.doc.scrollLeft-N)<2)&&!Z)return;O.doc.scrollLeft=N,_s(O),O.display.scroller.scrollLeft!=N&&(O.display.scroller.scrollLeft=N),O.display.scrollbars.setScrollLeft(N)}function Sa(O){var N=O.display,G=N.gutters.offsetWidth,Z=Math.round(O.doc.height+on(O.display));return{clientHeight:N.scroller.clientHeight,viewHeight:N.wrapper.clientHeight,scrollWidth:N.scroller.scrollWidth,clientWidth:N.scroller.clientWidth,viewWidth:N.wrapper.clientWidth,barLeft:O.options.fixedGutter?G:0,docHeight:Z,scrollHeight:Z+sn(O)+N.barHeight,nativeBarWidth:N.nativeBarWidth,gutterWidth:G}}var bo=function(N,G,Z){this.cm=Z;var oe=this.vert=L("div",[L("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Re=this.horiz=L("div",[L("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");oe.tabIndex=Re.tabIndex=-1,N(oe),N(Re),Ee(oe,"scroll",function(){oe.clientHeight&&G(oe.scrollTop,"vertical")}),Ee(Re,"scroll",function(){Re.clientWidth&&G(Re.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,c&&h<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};bo.prototype.update=function(O){var N=O.scrollWidth>O.clientWidth+1,G=O.scrollHeight>O.clientHeight+1,Z=O.nativeBarWidth;if(G){this.vert.style.display="block",this.vert.style.bottom=N?Z+"px":"0";var oe=O.viewHeight-(N?Z:0);this.vert.firstChild.style.height=Math.max(0,O.scrollHeight-O.clientHeight+oe)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(N){this.horiz.style.display="block",this.horiz.style.right=G?Z+"px":"0",this.horiz.style.left=O.barLeft+"px";var Re=O.viewWidth-O.barLeft-(G?Z:0);this.horiz.firstChild.style.width=Math.max(0,O.scrollWidth-O.clientWidth+Re)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&O.clientHeight>0&&(Z==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:G?Z:0,bottom:N?Z:0}},bo.prototype.setScrollLeft=function(O){this.horiz.scrollLeft!=O&&(this.horiz.scrollLeft=O),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},bo.prototype.setScrollTop=function(O){this.vert.scrollTop!=O&&(this.vert.scrollTop=O),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},bo.prototype.zeroWidthHack=function(){var O=v&&!a?"12px":"18px";this.horiz.style.height=this.vert.style.width=O,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new X,this.disableVert=new X},bo.prototype.enableZeroWidthBar=function(O,N,G){O.style.pointerEvents="auto";function Z(){var oe=O.getBoundingClientRect(),Re=G=="vert"?document.elementFromPoint(oe.right-1,(oe.top+oe.bottom)/2):document.elementFromPoint((oe.right+oe.left)/2,oe.bottom-1);Re!=O?O.style.pointerEvents="none":N.set(1e3,Z)}N.set(1e3,Z)},bo.prototype.clear=function(){var O=this.horiz.parentNode;O.removeChild(this.horiz),O.removeChild(this.vert)};var Fo=function(){};Fo.prototype.update=function(){return{bottom:0,right:0}},Fo.prototype.setScrollLeft=function(){},Fo.prototype.setScrollTop=function(){},Fo.prototype.clear=function(){};function Oo(O,N){N||(N=Sa(O));var G=O.display.barWidth,Z=O.display.barHeight;gs(O,N);for(var oe=0;oe<4&&G!=O.display.barWidth||Z!=O.display.barHeight;oe++)G!=O.display.barWidth&&O.options.lineWrapping&&Po(O),gs(O,Sa(O)),G=O.display.barWidth,Z=O.display.barHeight}function gs(O,N){var G=O.display,Z=G.scrollbars.update(N);G.sizer.style.paddingRight=(G.barWidth=Z.right)+"px",G.sizer.style.paddingBottom=(G.barHeight=Z.bottom)+"px",G.heightForcer.style.borderBottom=Z.bottom+"px solid transparent",Z.right&&Z.bottom?(G.scrollbarFiller.style.display="block",G.scrollbarFiller.style.height=Z.bottom+"px",G.scrollbarFiller.style.width=Z.right+"px"):G.scrollbarFiller.style.display="",Z.bottom&&O.options.coverGutterNextToScrollbar&&O.options.fixedGutter?(G.gutterFiller.style.display="block",G.gutterFiller.style.height=Z.bottom+"px",G.gutterFiller.style.width=N.gutterWidth+"px"):G.gutterFiller.style.display=""}var ds={native:bo,null:Fo};function hs(O){O.display.scrollbars&&(O.display.scrollbars.clear(),O.display.scrollbars.addClass&&x(O.display.wrapper,O.display.scrollbars.addClass)),O.display.scrollbars=new ds[O.options.scrollbarStyle](function(N){O.display.wrapper.insertBefore(N,O.display.scrollbarFiller),Ee(N,"mousedown",function(){O.state.focused&&setTimeout(function(){return O.display.input.focus()},0)}),N.setAttribute("cm-not-content","true")},function(N,G){G=="horizontal"?Ci(O,N):Ya(O,N)},O),O.display.scrollbars.addClass&&W(O.display.wrapper,O.display.scrollbars.addClass)}var ss=0;function $a(O){O.curOp={cm:O,viewChanged:!1,startHeight:O.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++ss},hi(O.curOp)}function Na(O){var N=O.curOp;N&&bi(N,function(G){for(var Z=0;Z<G.ops.length;Z++)G.ops[Z].cm.curOp=null;Vo(G)})}function Vo(O){for(var N=O.ops,G=0;G<N.length;G++)Zo(N[G]);for(var Z=0;Z<N.length;Z++)Da(N[Z]);for(var oe=0;oe<N.length;oe++)Ka(N[oe]);for(var Re=0;Re<N.length;Re++)Pa(N[Re]);for(var ct=0;ct<N.length;ct++)Xo(N[ct])}function Zo(O){var N=O.cm,G=N.display;vs(N),O.updateMaxLine&&Bn(N),O.mustUpdate=O.viewChanged||O.forceUpdate||O.scrollTop!=null||O.scrollToPos&&(O.scrollToPos.from.line<G.viewFrom||O.scrollToPos.to.line>=G.viewTo)||G.maxLineChanged&&N.options.lineWrapping,O.update=O.mustUpdate&&new ui(N,O.mustUpdate&&{top:O.scrollTop,ensure:O.scrollToPos},O.forceUpdate)}function Da(O){O.updatedDisplay=O.mustUpdate&&Ks(O.cm,O.update)}function Ka(O){var N=O.cm,G=N.display;O.updatedDisplay&&Po(N),O.barMeasure=Sa(N),G.maxLineChanged&&!N.options.lineWrapping&&(O.adjustWidthTo=oi(N,G.maxLine,G.maxLine.text.length).left+3,N.display.sizerWidth=O.adjustWidthTo,O.barMeasure.scrollWidth=Math.max(G.scroller.clientWidth,G.sizer.offsetLeft+O.adjustWidthTo+sn(N)+N.display.barWidth),O.maxScrollLeft=Math.max(0,G.sizer.offsetLeft+O.adjustWidthTo-an(N))),(O.updatedDisplay||O.selectionChanged)&&(O.preparedSelection=G.input.prepareSelection())}function Pa(O){var N=O.cm;O.adjustWidthTo!=null&&(N.display.sizer.style.minWidth=O.adjustWidthTo+"px",O.maxScrollLeft<N.doc.scrollLeft&&Ci(N,Math.min(N.display.scroller.scrollLeft,O.maxScrollLeft),!0),N.display.maxLineChanged=!1);var G=O.focus&&O.focus==P();O.preparedSelection&&N.display.input.showSelection(O.preparedSelection,G),(O.updatedDisplay||O.startHeight!=N.doc.height)&&Oo(N,O.barMeasure),O.updatedDisplay&&Es(N,O.barMeasure),O.selectionChanged&&To(N),N.state.focused&&O.updateInput&&N.display.input.reset(O.typing),G&&po(O.cm)}function Xo(O){var N=O.cm,G=N.display,Z=N.doc;if(O.updatedDisplay&&sl(N,O.update),G.wheelStartX!=null&&(O.scrollTop!=null||O.scrollLeft!=null||O.scrollToPos)&&(G.wheelStartX=G.wheelStartY=null),O.scrollTop!=null&&lo(N,O.scrollTop,O.forceScroll),O.scrollLeft!=null&&Ci(N,O.scrollLeft,!0,!0),O.scrollToPos){var oe=$i(N,Ft(Z,O.scrollToPos.from),Ft(Z,O.scrollToPos.to),O.scrollToPos.margin);Ba(N,oe)}var Re=O.maybeHiddenMarkers,ct=O.maybeUnhiddenMarkers;if(Re)for(var Nt=0;Nt<Re.length;++Nt)Re[Nt].lines.length||rt(Re[Nt],"hide");if(ct)for(var Wt=0;Wt<ct.length;++Wt)ct[Wt].lines.length&&rt(ct[Wt],"unhide");G.wrapper.offsetHeight&&(Z.scrollTop=N.display.scroller.scrollTop),O.changeObjs&&rt(N,"changes",N,O.changeObjs),O.update&&O.update.finish()}function Uo(O,N){if(O.curOp)return N();$a(O);try{return N()}finally{Na(O)}}function Lo(O,N){return function(){if(O.curOp)return N.apply(O,arguments);$a(O);try{return N.apply(O,arguments)}finally{Na(O)}}}function Yo(O){return function(){if(this.curOp)return O.apply(this,arguments);$a(this);try{return O.apply(this,arguments)}finally{Na(this)}}}function Ko(O){return function(){var N=this.cm;if(!N||N.curOp)return O.apply(this,arguments);$a(N);try{return O.apply(this,arguments)}finally{Na(N)}}}function jo(O,N){O.doc.highlightFrontier<O.display.viewTo&&O.state.highlight.set(N,H(Or,O))}function Or(O){var N=O.doc;if(N.highlightFrontier>=O.display.viewTo)return;var G=+new Date+O.options.workTime,Z=Sn(O,N.highlightFrontier),oe=[];N.iter(Z.line,Math.min(N.first+N.size,O.display.viewTo+500),function(Re){if(Z.line>=O.display.viewFrom){var ct=Re.styles,Nt=Re.text.length>O.options.maxHighlightLength?fr(N.mode,Z.state):null,Wt=An(O,Re,Z,!0);Nt&&(Z.state=Nt),Re.styles=Wt.styles;var Qt=Re.styleClasses,kr=Wt.classes;kr?Re.styleClasses=kr:Qt&&(Re.styleClasses=null);for(var tn=!ct||ct.length!=Re.styles.length||Qt!=kr&&(!Qt||!kr||Qt.bgClass!=kr.bgClass||Qt.textClass!=kr.textClass),mn=0;!tn&&mn<ct.length;++mn)tn=ct[mn]!=Re.styles[mn];tn&&oe.push(Z.line),Re.stateAfter=Z.save(),Z.nextLine()}else Re.text.length<=O.options.maxHighlightLength&&kn(O,Re.text,Z),Re.stateAfter=Z.line%5==0?Z.save():null,Z.nextLine();if(+new Date>G)return jo(O,O.options.workDelay),!0}),N.highlightFrontier=Z.line,N.modeFrontier=Math.max(N.modeFrontier,Z.line),oe.length&&Uo(O,function(){for(var Re=0;Re<oe.length;Re++)Oi(O,oe[Re],"text")})}var ui=function(N,G,Z){var oe=N.display;this.viewport=G,this.visible=Ja(oe,N.doc,G),this.editorIsHidden=!oe.wrapper.offsetWidth,this.wrapperHeight=oe.wrapper.clientHeight,this.wrapperWidth=oe.wrapper.clientWidth,this.oldDisplayWidth=an(N),this.force=Z,this.dims=co(N),this.events=[]};ui.prototype.signal=function(O,N){Ct(O,N)&&this.events.push(arguments)},ui.prototype.finish=function(){for(var O=0;O<this.events.length;O++)rt.apply(null,this.events[O])};function vs(O){var N=O.display;!N.scrollbarsClipped&&N.scroller.offsetWidth&&(N.nativeBarWidth=N.scroller.offsetWidth-N.scroller.clientWidth,N.heightForcer.style.height=sn(O)+"px",N.sizer.style.marginBottom=-N.nativeBarWidth+"px",N.sizer.style.borderRightWidth=sn(O)+"px",N.scrollbarsClipped=!0)}function rl(O){if(O.hasFocus())return null;var N=P();if(!N||!F(O.display.lineDiv,N))return null;var G={activeElt:N};if(window.getSelection){var Z=window.getSelection();Z.anchorNode&&Z.extend&&F(O.display.lineDiv,Z.anchorNode)&&(G.anchorNode=Z.anchorNode,G.anchorOffset=Z.anchorOffset,G.focusNode=Z.focusNode,G.focusOffset=Z.focusOffset)}return G}function Ps(O){if(!O||!O.activeElt||O.activeElt==P())return;if(O.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(O.activeElt.nodeName)&&O.anchorNode&&F(document.body,O.anchorNode)&&F(document.body,O.focusNode)){var N=window.getSelection(),G=document.createRange();G.setEnd(O.anchorNode,O.anchorOffset),G.collapse(!1),N.removeAllRanges(),N.addRange(G),N.extend(O.focusNode,O.focusOffset)}}function Ks(O,N){var G=O.display,Z=O.doc;if(N.editorIsHidden)return Fa(O),!1;if(!N.force&&N.visible.from>=G.viewFrom&&N.visible.to<=G.viewTo&&(G.updateLineNumbers==null||G.updateLineNumbers>=G.viewTo)&&G.renderedView==G.view&&Va(O)==0)return!1;pl(O)&&(Fa(O),N.dims=co(O));var oe=Z.first+Z.size,Re=Math.max(N.visible.from-O.options.viewportMargin,Z.first),ct=Math.min(oe,N.visible.to+O.options.viewportMargin);G.viewFrom<Re&&Re-G.viewFrom<20&&(Re=Math.max(Z.first,G.viewFrom)),G.viewTo>ct&&G.viewTo-ct<20&&(ct=Math.min(oe,G.viewTo)),Ve&&(Re=Qr(O.doc,Re),ct=Vn(O.doc,ct));var Nt=Re!=G.viewFrom||ct!=G.viewTo||G.lastWrapHeight!=N.wrapperHeight||G.lastWrapWidth!=N.wrapperWidth;os(O,Re,ct),G.viewOffset=Un(Pe(O.doc,G.viewFrom)),O.display.mover.style.top=G.viewOffset+"px";var Wt=Va(O);if(!Nt&&Wt==0&&!N.force&&G.renderedView==G.view&&(G.updateLineNumbers==null||G.updateLineNumbers>=G.viewTo))return!1;var Qt=rl(O);return Wt>4&&(G.lineDiv.style.display="none"),Ls(O,G.updateLineNumbers,N.dims),Wt>4&&(G.lineDiv.style.display=""),G.renderedView=G.view,Ps(Qt),_(G.cursorDiv),_(G.selectionDiv),G.gutters.style.height=G.sizer.style.minHeight=0,Nt&&(G.lastWrapHeight=N.wrapperHeight,G.lastWrapWidth=N.wrapperWidth,jo(O,400)),G.updateLineNumbers=null,!0}function sl(O,N){for(var G=N.viewport,Z=!0;;Z=!1){if(!Z||!O.options.lineWrapping||N.oldDisplayWidth==an(O)){if(G&&G.top!=null&&(G={top:Math.min(O.doc.height+on(O.display)-Yr(O),G.top)}),N.visible=Ja(O.display,O.doc,G),N.visible.from>=O.display.viewFrom&&N.visible.to<=O.display.viewTo)break}else Z&&(N.visible=Ja(O.display,O.doc,G));if(!Ks(O,N))break;Po(O);var oe=Sa(O);ao(O),Oo(O,oe),Es(O,oe),N.force=!1}N.signal(O,"update",O),(O.display.viewFrom!=O.display.reportedViewFrom||O.display.viewTo!=O.display.reportedViewTo)&&(N.signal(O,"viewportChange",O,O.display.viewFrom,O.display.viewTo),O.display.reportedViewFrom=O.display.viewFrom,O.display.reportedViewTo=O.display.viewTo)}function xs(O,N){var G=new ui(O,N);if(Ks(O,G)){Po(O),sl(O,G);var Z=Sa(O);ao(O),Oo(O,Z),Es(O,Z),G.finish()}}function Ls(O,N,G){var Z=O.display,oe=O.options.lineNumbers,Re=Z.lineDiv,ct=Re.firstChild;function Nt(ri){var yi=ri.nextSibling;return l&&v&&O.display.currentWheelTarget==ri?ri.style.display="none":ri.parentNode.removeChild(ri),yi}for(var Wt=Z.view,Qt=Z.viewFrom,kr=0;kr<Wt.length;kr++){var tn=Wt[kr];if(!tn.hidden)if(!tn.node||tn.node.parentNode!=Re){var mn=zt(O,tn,Qt,G);Re.insertBefore(mn,ct)}else{for(;ct!=tn.node;)ct=Nt(ct);var wn=oe&&N!=null&&N<=Qt&&tn.lineNumber;tn.changes&&(z(tn.changes,"gutter")>-1&&(wn=!1),Qi(O,tn,Qt,G)),wn&&(_(tn.lineNumber),tn.lineNumber.appendChild(document.createTextNode(un(O.options,Qt)))),ct=tn.node.nextSibling}Qt+=tn.size}for(;ct;)ct=Nt(ct)}function Xs(O){var N=O.gutters.offsetWidth;O.sizer.style.marginLeft=N+"px"}function Es(O,N){O.display.sizer.style.minHeight=N.docHeight+"px",O.display.heightForcer.style.top=N.docHeight+"px",O.display.gutters.style.height=N.docHeight+O.display.barHeight+sn(O)+"px"}function _s(O){var N=O.display,G=N.view;if(!N.alignWidgets&&(!N.gutters.firstChild||!O.options.fixedGutter))return;for(var Z=so(N)-N.scroller.scrollLeft+O.doc.scrollLeft,oe=N.gutters.offsetWidth,Re=Z+"px",ct=0;ct<G.length;ct++)if(!G[ct].hidden){O.options.fixedGutter&&(G[ct].gutter&&(G[ct].gutter.style.left=Re),G[ct].gutterBackground&&(G[ct].gutterBackground.style.left=Re));var Nt=G[ct].alignable;if(Nt)for(var Wt=0;Wt<Nt.length;Wt++)Nt[Wt].style.left=Re}O.options.fixedGutter&&(N.gutters.style.left=Z+oe+"px")}function pl(O){if(!O.options.lineNumbers)return!1;var N=O.doc,G=un(O.options,N.first+N.size-1),Z=O.display;if(G.length!=Z.lineNumChars){var oe=Z.measure.appendChild(L("div",[L("div",G)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Re=oe.firstChild.offsetWidth,ct=oe.offsetWidth-Re;return Z.lineGutter.style.width="",Z.lineNumInnerWidth=Math.max(Re,Z.lineGutter.offsetWidth-ct)+1,Z.lineNumWidth=Z.lineNumInnerWidth+ct,Z.lineNumChars=Z.lineNumInnerWidth?G.length:-1,Z.lineGutter.style.width=Z.lineNumWidth+"px",Xs(O.display),!0}return!1}function Gs(O,N){for(var G=[],Z=!1,oe=0;oe<O.length;oe++){var Re=O[oe],ct=null;if(typeof Re!="string"&&(ct=Re.style,Re=Re.className),Re=="CodeMirror-linenumbers")if(N)Z=!0;else continue;G.push({className:Re,style:ct})}return N&&!Z&&G.push({className:"CodeMirror-linenumbers",style:null}),G}function ro(O){var N=O.gutters,G=O.gutterSpecs;_(N),O.lineGutter=null;for(var Z=0;Z<G.length;++Z){var oe=G[Z],Re=oe.className,ct=oe.style,Nt=N.appendChild(L("div",null,"CodeMirror-gutter "+Re));ct&&(Nt.style.cssText=ct),Re=="CodeMirror-linenumbers"&&(O.lineGutter=Nt,Nt.style.width=(O.lineNumWidth||1)+"px")}N.style.display=G.length?"":"none",Xs(O)}function eo(O){ro(O.display),ba(O),_s(O)}function ho(O,N,G,Z){var oe=this;this.input=G,oe.scrollbarFiller=L("div",null,"CodeMirror-scrollbar-filler"),oe.scrollbarFiller.setAttribute("cm-not-content","true"),oe.gutterFiller=L("div",null,"CodeMirror-gutter-filler"),oe.gutterFiller.setAttribute("cm-not-content","true"),oe.lineDiv=R("div",null,"CodeMirror-code"),oe.selectionDiv=L("div",null,null,"position: relative; z-index: 1"),oe.cursorDiv=L("div",null,"CodeMirror-cursors"),oe.measure=L("div",null,"CodeMirror-measure"),oe.lineMeasure=L("div",null,"CodeMirror-measure"),oe.lineSpace=R("div",[oe.measure,oe.lineMeasure,oe.selectionDiv,oe.cursorDiv,oe.lineDiv],null,"position: relative; outline: none");var Re=R("div",[oe.lineSpace],"CodeMirror-lines");oe.mover=L("div",[Re],null,"position: relative"),oe.sizer=L("div",[oe.mover],"CodeMirror-sizer"),oe.sizerWidth=null,oe.heightForcer=L("div",null,null,"position: absolute; height: "+Y+"px; width: 1px;"),oe.gutters=L("div",null,"CodeMirror-gutters"),oe.lineGutter=null,oe.scroller=L("div",[oe.sizer,oe.heightForcer,oe.gutters],"CodeMirror-scroll"),oe.scroller.setAttribute("tabIndex","-1"),oe.wrapper=L("div",[oe.scrollbarFiller,oe.gutterFiller,oe.scroller],"CodeMirror"),c&&h<8&&(oe.gutters.style.zIndex=-1,oe.scroller.style.paddingRight=0),!l&&!(A&&d)&&(oe.scroller.draggable=!0),O&&(O.appendChild?O.appendChild(oe.wrapper):O(oe.wrapper)),oe.viewFrom=oe.viewTo=N.first,oe.reportedViewFrom=oe.reportedViewTo=N.first,oe.view=[],oe.renderedView=null,oe.externalMeasured=null,oe.viewOffset=0,oe.lastWrapHeight=oe.lastWrapWidth=0,oe.updateLineNumbers=null,oe.nativeBarWidth=oe.barHeight=oe.barWidth=0,oe.scrollbarsClipped=!1,oe.lineNumWidth=oe.lineNumInnerWidth=oe.lineNumChars=null,oe.alignWidgets=!1,oe.cachedCharWidth=oe.cachedTextHeight=oe.cachedPaddingH=null,oe.maxLine=null,oe.maxLineLength=0,oe.maxLineChanged=!1,oe.wheelDX=oe.wheelDY=oe.wheelStartX=oe.wheelStartY=null,oe.shift=!1,oe.selForContextMenu=null,oe.activeTouch=null,oe.gutterSpecs=Gs(Z.gutters,Z.lineNumbers),ro(oe),G.init(oe)}var yt=0,Lt=null;c?Lt=-.53:A?Lt=15:n?Lt=-.7:r&&(Lt=-1/3);function Pr(O){var N=O.wheelDeltaX,G=O.wheelDeltaY;return N==null&&O.detail&&O.axis==O.HORIZONTAL_AXIS&&(N=O.detail),G==null&&O.detail&&O.axis==O.VERTICAL_AXIS?G=O.detail:G==null&&(G=O.wheelDelta),{x:N,y:G}}function pn(O){var N=Pr(O);return N.x*=Lt,N.y*=Lt,N}function Rn(O,N){var G=Pr(N),Z=G.x,oe=G.y,Re=O.display,ct=Re.scroller,Nt=ct.scrollWidth>ct.clientWidth,Wt=ct.scrollHeight>ct.clientHeight;if(!(Z&&Nt||oe&&Wt))return;if(oe&&v&&l){e:for(var Qt=N.target,kr=Re.view;Qt!=ct;Qt=Qt.parentNode)for(var tn=0;tn<kr.length;tn++)if(kr[tn].node==Qt){O.display.currentWheelTarget=Qt;break e}}if(Z&&!A&&!i&&Lt!=null){oe&&Wt&&Ya(O,Math.max(0,ct.scrollTop+oe*Lt)),Ci(O,Math.max(0,ct.scrollLeft+Z*Lt)),(!oe||oe&&Wt)&&Xe(N),Re.wheelStartX=null;return}if(oe&&Lt!=null){var mn=oe*Lt,wn=O.doc.scrollTop,ri=wn+Re.wrapper.clientHeight;mn<0?wn=Math.max(0,wn+mn-50):ri=Math.min(O.doc.height,ri+mn+50),xs(O,{top:wn,bottom:ri})}yt<20&&(Re.wheelStartX==null?(Re.wheelStartX=ct.scrollLeft,Re.wheelStartY=ct.scrollTop,Re.wheelDX=Z,Re.wheelDY=oe,setTimeout(function(){if(Re.wheelStartX==null)return;var yi=ct.scrollLeft-Re.wheelStartX,Mi=ct.scrollTop-Re.wheelStartY,Di=Mi&&Re.wheelDY&&Mi/Re.wheelDY||yi&&Re.wheelDX&&yi/Re.wheelDX;if(Re.wheelStartX=Re.wheelStartY=null,!Di)return;Lt=(Lt*yt+Di)/(yt+1),++yt},200)):(Re.wheelDX+=Z,Re.wheelDY+=oe))}var dt=function(N,G){this.ranges=N,this.primIndex=G};dt.prototype.primary=function(){return this.ranges[this.primIndex]},dt.prototype.equals=function(O){if(O==this)return!0;if(O.primIndex!=this.primIndex||O.ranges.length!=this.ranges.length)return!1;for(var N=0;N<this.ranges.length;N++){var G=this.ranges[N],Z=O.ranges[N];if(!kt(G.anchor,Z.anchor)||!kt(G.head,Z.head))return!1}return!0},dt.prototype.deepCopy=function(){for(var O=[],N=0;N<this.ranges.length;N++)O[N]=new ie(Jt(this.ranges[N].anchor),Jt(this.ranges[N].head));return new dt(O,this.primIndex)},dt.prototype.somethingSelected=function(){for(var O=0;O<this.ranges.length;O++)if(!this.ranges[O].empty())return!0;return!1},dt.prototype.contains=function(O,N){N||(N=O);for(var G=0;G<this.ranges.length;G++){var Z=this.ranges[G];if(St(N,Z.from())>=0&&St(O,Z.to())<=0)return G}return-1};var ie=function(N,G){this.anchor=N,this.head=G};ie.prototype.from=function(){return Hr(this.anchor,this.head)},ie.prototype.to=function(){return Br(this.anchor,this.head)},ie.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function pe(O,N,G){var Z=O&&O.options.selectionsMayTouch,oe=N[G];N.sort(function(mn,wn){return St(mn.from(),wn.from())}),G=z(N,oe);for(var Re=1;Re<N.length;Re++){var ct=N[Re],Nt=N[Re-1],Wt=St(Nt.to(),ct.from());if(Z&&!ct.empty()?Wt>0:Wt>=0){var Qt=Hr(Nt.from(),ct.from()),kr=Br(Nt.to(),ct.to()),tn=Nt.empty()?ct.from()==ct.head:Nt.from()==Nt.head;Re<=G&&--G,N.splice(--Re,2,new ie(tn?kr:Qt,tn?Qt:kr))}}return new dt(N,G)}function we(O,N){return new dt([new ie(O,N||O)],0)}function Ke(O){return O.text?Kt(O.from.line+O.text.length-1,Ce(O.text).length+(O.text.length==1?O.from.ch:0)):O.to}function ut(O,N){if(St(O,N.from)<0)return O;if(St(O,N.to)<=0)return Ke(N);var G=O.line+N.text.length-(N.to.line-N.from.line)-1,Z=O.ch;return O.line==N.to.line&&(Z+=Ke(N).ch-N.to.ch),Kt(G,Z)}function Pt(O,N){for(var G=[],Z=0;Z<O.sel.ranges.length;Z++){var oe=O.sel.ranges[Z];G.push(new ie(ut(oe.anchor,N),ut(oe.head,N)))}return pe(O.cm,G,O.sel.primIndex)}function ar(O,N,G){return O.line==N.line?Kt(G.line,O.ch-N.ch+G.ch):Kt(G.line+(O.line-N.line),O.ch)}function wr(O,N,G){for(var Z=[],oe=Kt(O.first,0),Re=oe,ct=0;ct<N.length;ct++){var Nt=N[ct],Wt=ar(Nt.from,oe,Re),Qt=ar(Ke(Nt),oe,Re);if(oe=Nt.to,Re=Qt,G=="around"){var kr=O.sel.ranges[ct],tn=St(kr.head,kr.anchor)<0;Z[ct]=new ie(tn?Qt:Wt,tn?Wt:Qt)}else Z[ct]=new ie(Wt,Wt)}return new dt(Z,O.sel.primIndex)}function jr(O){O.doc.mode=In(O.options,O.doc.modeOption),hn(O)}function hn(O){O.doc.iter(function(N){N.stateAfter&&(N.stateAfter=null),N.styles&&(N.styles=null)}),O.doc.modeFrontier=O.doc.highlightFrontier=O.doc.first,jo(O,100),O.state.modeGen++,O.curOp&&ba(O)}function Tn(O,N){return N.from.ch==0&&N.to.ch==0&&Ce(N.text)==""&&(!O.cm||O.cm.options.wholeLineUpdateBefore)}function ti(O,N,G,Z){function oe(Ii){return G?G[Ii]:null}function Re(Ii,Gi,ia){qr(Ii,Gi,ia,Z),ni(Ii,"change",Ii,N)}function ct(Ii,Gi){for(var ia=[],za=Ii;za<Gi;++za)ia.push(new di(Qt[za],oe(za),Z));return ia}var Nt=N.from,Wt=N.to,Qt=N.text,kr=Pe(O,Nt.line),tn=Pe(O,Wt.line),mn=Ce(Qt),wn=oe(Qt.length-1),ri=Wt.line-Nt.line;if(N.full)O.insert(0,ct(0,Qt.length)),O.remove(Qt.length,O.size-Qt.length);else if(Tn(O,N)){var yi=ct(0,Qt.length-1);Re(tn,tn.text,wn),ri&&O.remove(Nt.line,ri),yi.length&&O.insert(Nt.line,yi)}else if(kr==tn)if(Qt.length==1)Re(kr,kr.text.slice(0,Nt.ch)+mn+kr.text.slice(Wt.ch),wn);else{var Mi=ct(1,Qt.length-1);Mi.push(new di(mn+kr.text.slice(Wt.ch),wn,Z)),Re(kr,kr.text.slice(0,Nt.ch)+Qt[0],oe(0)),O.insert(Nt.line+1,Mi)}else if(Qt.length==1)Re(kr,kr.text.slice(0,Nt.ch)+Qt[0]+tn.text.slice(Wt.ch),oe(0)),O.remove(Nt.line+1,ri);else{Re(kr,kr.text.slice(0,Nt.ch)+Qt[0],oe(0)),Re(tn,mn+tn.text.slice(Wt.ch),wn);var Di=ct(1,Qt.length-1);ri>1&&O.remove(Nt.line+1,ri-1),O.insert(Nt.line+1,Di)}ni(O,"change",O,N)}function Ai(O,N,G){function Z(oe,Re,ct){if(oe.linked)for(var Nt=0;Nt<oe.linked.length;++Nt){var Wt=oe.linked[Nt];if(Wt.doc==Re)continue;var Qt=ct&&Wt.sharedHist;if(G&&!Qt)continue;N(Wt.doc,Qt),Z(Wt.doc,oe,Qt)}}Z(O,null,!0)}function Ti(O,N){if(N.cm)throw new Error("This document is already in use.");O.doc=N,N.cm=O,io(O),jr(O),Wi(O),O.options.lineWrapping||Bn(O),O.options.mode=N.modeOption,ba(O)}function Wi(O){(O.doc.direction=="rtl"?W:x)(O.display.lineDiv,"CodeMirror-rtl")}function na(O){Uo(O,function(){Wi(O),ba(O)})}function Ua(O){this.done=[],this.undone=[],this.undoDepth=Infinity,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=O||1}function Za(O,N){var G={from:Jt(N.from),to:Ke(N),text:Ge(O,N.from,N.to)};return ls(O,G,N.from.line,N.to.line+1),Ai(O,function(Z){return ls(Z,G,N.from.line,N.to.line+1)},!0),G}function to(O){for(;O.length;){var N=Ce(O);if(N.ranges)O.pop();else break}}function No(O,N){if(N)return to(O.done),Ce(O.done);if(O.done.length&&!Ce(O.done).ranges)return Ce(O.done);if(O.done.length>1&&!O.done[O.done.length-2].ranges)return O.done.pop(),Ce(O.done)}function oo(O,N,G,Z){var oe=O.history;oe.undone.length=0;var Re=+new Date,ct,Nt;if((oe.lastOp==Z||oe.lastOrigin==N.origin&&N.origin&&(N.origin.charAt(0)=="+"&&oe.lastModTime>Re-(O.cm?O.cm.options.historyEventDelay:500)||N.origin.charAt(0)=="*"))&&(ct=No(oe,oe.lastOp==Z)))Nt=Ce(ct.changes),St(N.from,N.to)==0&&St(N.from,Nt.to)==0?Nt.to=Ke(N):ct.changes.push(Za(O,N));else{var Wt=Ce(oe.done);for((!Wt||!Wt.ranges)&&Ro(O.sel,oe.done),ct={changes:[Za(O,N)],generation:oe.generation},oe.done.push(ct);oe.done.length>oe.undoDepth;)oe.done.shift(),oe.done[0].ranges||oe.done.shift()}oe.done.push(G),oe.generation=++oe.maxGeneration,oe.lastModTime=oe.lastSelTime=Re,oe.lastOp=oe.lastSelOp=Z,oe.lastOrigin=oe.lastSelOrigin=N.origin,Nt||rt(O,"historyAdded")}function Do(O,N,G,Z){var oe=N.charAt(0);return oe=="*"||oe=="+"&&G.ranges.length==Z.ranges.length&&G.somethingSelected()==Z.somethingSelected()&&new Date-O.history.lastSelTime<=(O.cm?O.cm.options.historyEventDelay:500)}function Wa(O,N,G,Z){var oe=O.history,Re=Z&&Z.origin;G==oe.lastSelOp||Re&&oe.lastSelOrigin==Re&&(oe.lastModTime==oe.lastSelTime&&oe.lastOrigin==Re||Do(O,Re,Ce(oe.done),N))?oe.done[oe.done.length-1]=N:Ro(N,oe.done),oe.lastSelTime=+new Date,oe.lastSelOrigin=Re,oe.lastSelOp=G,Z&&Z.clearRedo!==!1&&to(oe.undone)}function Ro(O,N){var G=Ce(N);G&&G.ranges&&G.equals(O)||N.push(O)}function ls(O,N,G,Z){var oe=N["spans_"+O.id],Re=0;O.iter(Math.max(O.first,G),Math.min(O.first+O.size,Z),function(ct){ct.markedSpans&&((oe||(oe=N["spans_"+O.id]={}))[Re]=ct.markedSpans),++Re})}function wo(O){if(!O)return null;for(var N,G=0;G<O.length;++G)O[G].marker.explicitlyCleared?N||(N=O.slice(0,G)):N&&N.push(O[G]);return N?N.length?N:null:O}function So(O,N){var G=N["spans_"+O.id];if(!G)return null;for(var Z=[],oe=0;oe<N.text.length;++oe)Z.push(wo(G[oe]));return Z}function fs(O,N){var G=So(O,N),Z=gr(O,N);if(!G)return Z;if(!Z)return G;for(var oe=0;oe<G.length;++oe){var Re=G[oe],ct=Z[oe];if(Re&&ct){e:for(var Nt=0;Nt<ct.length;++Nt){for(var Wt=ct[Nt],Qt=0;Qt<Re.length;++Qt)if(Re[Qt].marker==Wt.marker)continue e;Re.push(Wt)}}else ct&&(G[oe]=ct)}return G}function Cs(O,N,G){for(var Z=[],oe=0;oe<O.length;++oe){var Re=O[oe];if(Re.ranges){Z.push(G?dt.prototype.deepCopy.call(Re):Re);continue}var ct=Re.changes,Nt=[];Z.push({changes:Nt});for(var Wt=0;Wt<ct.length;++Wt){var Qt=ct[Wt],kr=void 0;if(Nt.push({from:Qt.from,to:Qt.to,text:Qt.text}),N)for(var tn in Qt)(kr=tn.match(/^spans_(\d+)$/))&&(z(N,Number(kr[1]))>-1&&(Ce(Nt)[tn]=Qt[tn],delete Qt[tn]))}}return Z}function qo(O,N,G,Z){if(Z){var oe=O.anchor;if(G){var Re=St(N,oe)<0;Re!=St(G,oe)<0?(oe=N,N=G):Re!=St(N,G)<0&&(N=G)}return new ie(oe,N)}else return new ie(G||N,N)}function xo(O,N,G,Z,oe){oe==null&&(oe=O.cm&&(O.cm.display.shift||O.extend)),ko(O,new dt([qo(O.sel.primary(),N,G,oe)],0),Z)}function Ws(O,N,G){for(var Z=[],oe=O.cm&&(O.cm.display.shift||O.extend),Re=0;Re<O.sel.ranges.length;Re++)Z[Re]=qo(O.sel.ranges[Re],N[Re],null,oe);var ct=pe(O.cm,Z,O.sel.primIndex);ko(O,ct,G)}function ps(O,N,G,Z){var oe=O.sel.ranges.slice(0);oe[N]=G,ko(O,pe(O.cm,oe,O.sel.primIndex),Z)}function ll(O,N,G,Z){ko(O,we(N,G),Z)}function cl(O,N,G){var Z={ranges:N.ranges,update:function(Re){this.ranges=[];for(var ct=0;ct<Re.length;ct++)this.ranges[ct]=new ie(Ft(O,Re[ct].anchor),Ft(O,Re[ct].head))},origin:G&&G.origin};return rt(O,"beforeSelectionChange",O,Z),O.cm&&rt(O.cm,"beforeSelectionChange",O.cm,Z),Z.ranges!=N.ranges?pe(O.cm,Z.ranges,Z.ranges.length-1):N}function Ts(O,N,G){var Z=O.history.done,oe=Ce(Z);oe&&oe.ranges?(Z[Z.length-1]=N,Ki(O,N,G)):ko(O,N,G)}function ko(O,N,G){Ki(O,N,G),Wa(O,O.sel,O.cm?O.cm.curOp.id:NaN,G)}function Ki(O,N,G){(Ct(O,"beforeSelectionChange")||O.cm&&Ct(O.cm,"beforeSelectionChange"))&&(N=cl(O,N,G));var Z=G&&G.bias||(St(N.primary().head,O.sel.primary().head)<0?-1:1);zs(O,Ss(O,N,Z,!0)),!(G&&G.scroll===!1)&&O.cm&&Qa(O.cm)}function zs(O,N){if(N.equals(O.sel))return;O.sel=N,O.cm&&(O.cm.curOp.updateInput=1,O.cm.curOp.selectionChanged=!0,Ot(O.cm)),ni(O,"cursorActivity",O)}function nl(O){zs(O,Ss(O,O.sel,null,!1))}function Ss(O,N,G,Z){for(var oe,Re=0;Re<N.ranges.length;Re++){var ct=N.ranges[Re],Nt=N.ranges.length==O.sel.ranges.length&&O.sel.ranges[Re],Wt=ml(O,ct.anchor,Nt&&Nt.anchor,G,Z),Qt=ml(O,ct.head,Nt&&Nt.head,G,Z);(oe||Wt!=ct.anchor||Qt!=ct.head)&&(oe||(oe=N.ranges.slice(0,Re)),oe[Re]=new ie(Wt,Qt))}return oe?pe(O.cm,oe,N.primIndex):N}function ts(O,N,G,Z,oe){var Re=Pe(O,N.line);if(Re.markedSpans)for(var ct=0;ct<Re.markedSpans.length;++ct){var Nt=Re.markedSpans[ct],Wt=Nt.marker,Qt="selectLeft"in Wt?!Wt.selectLeft:Wt.inclusiveLeft,kr="selectRight"in Wt?!Wt.selectRight:Wt.inclusiveRight;if((Nt.from==null||(Qt?Nt.from<=N.ch:Nt.from<N.ch))&&(Nt.to==null||(kr?Nt.to>=N.ch:Nt.to>N.ch))){if(oe&&(rt(Wt,"beforeCursorEnter"),Wt.explicitlyCleared))if(Re.markedSpans){--ct;continue}else break;if(!Wt.atomic)continue;if(G){var tn=Wt.find(Z<0?1:-1),mn=void 0;if((Z<0?kr:Qt)&&(tn=il(O,tn,-Z,tn&&tn.line==N.line?Re:null)),tn&&tn.line==N.line&&(mn=St(tn,G))&&(Z<0?mn<0:mn>0))return ts(O,tn,N,Z,oe)}var wn=Wt.find(Z<0?-1:1);return(Z<0?Qt:kr)&&(wn=il(O,wn,Z,wn.line==N.line?Re:null)),wn?ts(O,wn,N,Z,oe):null}}return N}function ml(O,N,G,Z,oe){var Re=Z||1,ct=ts(O,N,G,Re,oe)||!oe&&ts(O,N,G,Re,!0)||ts(O,N,G,-Re,oe)||!oe&&ts(O,N,G,-Re,!0);return ct||(O.cantEdit=!0,Kt(O.first,0))}function il(O,N,G,Z){return G<0&&N.ch==0?N.line>O.first?Ft(O,Kt(N.line-1)):null:G>0&&N.ch==(Z||Pe(O,N.line)).text.length?N.line<O.first+O.size-1?Kt(N.line+1,0):null:new Kt(N.line,N.ch+G)}function Ns(O){O.setSelection(Kt(O.firstLine(),0),Kt(O.lastLine()),ne)}function Us(O,N,G){var Z={canceled:!1,from:N.from,to:N.to,text:N.text,origin:N.origin,cancel:function(){return Z.canceled=!0}};return G&&(Z.update=function(oe,Re,ct,Nt){oe&&(Z.from=Ft(O,oe)),Re&&(Z.to=Ft(O,Re)),ct&&(Z.text=ct),Nt!==void 0&&(Z.origin=Nt)}),rt(O,"beforeChange",O,Z),O.cm&&rt(O.cm,"beforeChange",O.cm,Z),Z.canceled?(O.cm&&(O.cm.curOp.updateInput=2),null):{from:Z.from,to:Z.to,text:Z.text,origin:Z.origin}}function Ds(O,N,G){if(O.cm){if(!O.cm.curOp)return Lo(O.cm,Ds)(O,N,G);if(O.cm.state.suppressEdits)return}if((Ct(O,"beforeChange")||O.cm&&Ct(O.cm,"beforeChange"))&&(N=Us(O,N,!0),!N))return;var Z=Qe&&!G&&Sr(O,N.from,N.to);if(Z)for(var oe=Z.length-1;oe>=0;--oe)Rs(O,{from:Z[oe].from,to:Z[oe].to,text:oe?[""]:N.text,origin:N.origin});else Rs(O,N)}function Rs(O,N){if(N.text.length==1&&N.text[0]==""&&St(N.from,N.to)==0)return;var G=Pt(O,N);oo(O,N,G,O.cm?O.cm.curOp.id:NaN),Qs(O,N,G,gr(O,N));var Z=[];Ai(O,function(oe,Re){!Re&&z(Z,oe.history)==-1&&(ea(oe.history,N),Z.push(oe.history)),Qs(oe,N,null,gr(oe,N))})}function ul(O,N,G){var Z=O.cm&&O.cm.state.suppressEdits;if(Z&&!G)return;for(var oe=O.history,Re,ct=O.sel,Nt=N=="undo"?oe.done:oe.undone,Wt=N=="undo"?oe.undone:oe.done,Qt=0;Qt<Nt.length&&!(Re=Nt[Qt],G?Re.ranges&&!Re.equals(O.sel):!Re.ranges);Qt++);if(Qt==Nt.length)return;for(oe.lastOrigin=oe.lastSelOrigin=null;;)if(Re=Nt.pop(),Re.ranges){if(Ro(Re,Wt),G&&!Re.equals(O.sel)){ko(O,Re,{clearRedo:!1});return}ct=Re}else if(Z){Nt.push(Re);return}else break;var kr=[];Ro(ct,Wt),Wt.push({changes:kr,generation:oe.generation}),oe.generation=Re.generation||++oe.maxGeneration;for(var tn=Ct(O,"beforeChange")||O.cm&&Ct(O.cm,"beforeChange"),mn=function(Mi){var Di=Re.changes[Mi];if(Di.origin=N,tn&&!Us(O,Di,!1))return Nt.length=0,{};kr.push(Za(O,Di));var Ii=Mi?Pt(O,Di):Ce(Nt);Qs(O,Di,Ii,fs(O,Di)),!Mi&&O.cm&&O.cm.scrollIntoView({from:Di.from,to:Ke(Di)});var Gi=[];Ai(O,function(ia,za){!za&&z(Gi,ia.history)==-1&&(ea(ia.history,Di),Gi.push(ia.history)),Qs(ia,Di,null,fs(ia,Di))})},wn=Re.changes.length-1;wn>=0;--wn){var ri=mn(wn);if(ri)return ri.v}}function Ms(O,N){if(N==0)return;if(O.first+=N,O.sel=new dt(je(O.sel.ranges,function(oe){return new ie(Kt(oe.anchor.line+N,oe.anchor.ch),Kt(oe.head.line+N,oe.head.ch))}),O.sel.primIndex),O.cm){ba(O.cm,O.first,O.first-N,N);for(var G=O.cm.display,Z=G.viewFrom;Z<G.viewTo;Z++)Oi(O.cm,Z,"gutter")}}function Qs(O,N,G,Z){if(O.cm&&!O.cm.curOp)return Lo(O.cm,Qs)(O,N,G,Z);if(N.to.line<O.first){Ms(O,N.text.length-1-(N.to.line-N.from.line));return}if(N.from.line>O.lastLine())return;if(N.from.line<O.first){var oe=N.text.length-1-(O.first-N.from.line);Ms(O,oe),N={from:Kt(O.first,0),to:Kt(N.to.line+oe,N.to.ch),text:[Ce(N.text)],origin:N.origin}}var Re=O.lastLine();N.to.line>Re&&(N={from:N.from,to:Kt(Re,Pe(O,Re).text.length),text:[N.text[0]],origin:N.origin}),N.removed=Ge(O,N.from,N.to),G||(G=Pt(O,N)),O.cm?Ys(O.cm,N,Z):ti(O,N,Z),Ki(O,G,ne),O.cantEdit&&ml(O,Kt(O.firstLine(),0))&&(O.cantEdit=!1)}function Ys(O,N,G){var Z=O.doc,oe=O.display,Re=N.from,ct=N.to,Nt=!1,Wt=Re.line;O.options.lineWrapping||(Wt=$t(rn(Pe(Z,Re.line))),Z.iter(Wt,ct.line+1,function(wn){if(wn==oe.maxLine)return Nt=!0,!0})),Z.sel.contains(N.from,N.to)>-1&&Ot(O),ti(Z,N,G,Ao(O)),O.options.lineWrapping||(Z.iter(Wt,Re.line+N.text.length,function(wn){var ri=gi(wn);ri>oe.maxLineLength&&(oe.maxLine=wn,oe.maxLineLength=ri,oe.maxLineChanged=!0,Nt=!1)}),Nt&&(O.curOp.updateMaxLine=!0)),Be(Z,Re.line),jo(O,400);var Qt=N.text.length-(ct.line-Re.line)-1;N.full?ba(O):Re.line==ct.line&&N.text.length==1&&!Tn(O.doc,N)?Oi(O,Re.line,"text"):ba(O,Re.line,ct.line+1,Qt);var kr=Ct(O,"changes"),tn=Ct(O,"change");if(tn||kr){var mn={from:Re,to:ct,text:N.text,removed:N.removed,origin:N.origin};tn&&ni(O,"change",O,mn),kr&&(O.curOp.changeObjs||(O.curOp.changeObjs=[])).push(mn)}O.display.selForContextMenu=null}function Js(O,N,G,Z,oe){var Re;Z||(Z=G),St(Z,G)<0&&(Re=[Z,G],G=Re[0],Z=Re[1]),typeof N=="string"&&(N=O.splitLines(N)),Ds(O,{from:G,to:Z,text:N,origin:oe})}function xa(O,N,G,Z){G<O.line?O.line+=Z:N<O.line&&(O.line=N,O.ch=0)}function Li(O,N,G,Z){for(var oe=0;oe<O.length;++oe){var Re=O[oe],ct=!0;if(Re.ranges){Re.copied||(Re=O[oe]=Re.deepCopy(),Re.copied=!0);for(var Nt=0;Nt<Re.ranges.length;Nt++)xa(Re.ranges[Nt].anchor,N,G,Z),xa(Re.ranges[Nt].head,N,G,Z);continue}for(var Wt=0;Wt<Re.changes.length;++Wt){var Qt=Re.changes[Wt];if(G<Qt.from.line)Qt.from=Kt(Qt.from.line+Z,Qt.from.ch),Qt.to=Kt(Qt.to.line+Z,Qt.to.ch);else if(N<=Qt.to.line){ct=!1;break}}ct||(O.splice(0,oe+1),oe=0)}}function ea(O,N){var G=N.from.line,Z=N.to.line,oe=N.text.length-(Z-G)-1;Li(O.done,G,Z,oe),Li(O.undone,G,Z,oe)}function Ca(O,N,G,Z){var oe=N,Re=N;return typeof N=="number"?Re=Pe(O,$r(O,N)):oe=$t(N),oe==null?null:(Z(Re,oe)&&O.cm&&Oi(O.cm,oe,G),Re)}function go(O){this.lines=O,this.parent=null;for(var N=0,G=0;G<O.length;++G)O[G].parent=this,N+=O[G].height;this.height=N}go.prototype={chunkSize:function(){return this.lines.length},removeInner:function(N,G){for(var Z=N,oe=N+G;Z<oe;++Z){var Re=this.lines[Z];this.height-=Re.height,xr(Re),ni(Re,"delete")}this.lines.splice(N,G)},collapse:function(N){N.push.apply(N,this.lines)},insertInner:function(N,G,Z){this.height+=Z,this.lines=this.lines.slice(0,N).concat(G).concat(this.lines.slice(N));for(var oe=0;oe<G.length;++oe)G[oe].parent=this},iterN:function(N,G,Z){for(var oe=N+G;N<oe;++N)if(Z(this.lines[N]))return!0}};function js(O){this.children=O;for(var N=0,G=0,Z=0;Z<O.length;++Z){var oe=O[Z];N+=oe.chunkSize(),G+=oe.height,oe.parent=this}this.size=N,this.height=G,this.parent=null}js.prototype={chunkSize:function(){return this.size},removeInner:function(N,G){this.size-=G;for(var Z=0;Z<this.children.length;++Z){var oe=this.children[Z],Re=oe.chunkSize();if(N<Re){var ct=Math.min(G,Re-N),Nt=oe.height;if(oe.removeInner(N,ct),this.height-=Nt-oe.height,Re==ct&&(this.children.splice(Z--,1),oe.parent=null),(G-=ct)==0)break;N=0}else N-=Re}if(this.size-G<25&&(this.children.length>1||!(this.children[0]instanceof go))){var Wt=[];this.collapse(Wt),this.children=[new go(Wt)],this.children[0].parent=this}},collapse:function(N){for(var G=0;G<this.children.length;++G)this.children[G].collapse(N)},insertInner:function(N,G,Z){this.size+=G.length,this.height+=Z;for(var oe=0;oe<this.children.length;++oe){var Re=this.children[oe],ct=Re.chunkSize();if(N<=ct){if(Re.insertInner(N,G,Z),Re.lines&&Re.lines.length>50){for(var Nt=Re.lines.length%25+25,Wt=Nt;Wt<Re.lines.length;){var Qt=new go(Re.lines.slice(Wt,Wt+=25));Re.height-=Qt.height,this.children.splice(++oe,0,Qt),Qt.parent=this}Re.lines=Re.lines.slice(0,Nt),this.maybeSpill()}break}N-=ct}},maybeSpill:function(){if(this.children.length<=10)return;var N=this;do{var G=N.children.splice(N.children.length-5,5),Z=new js(G);if(N.parent){N.size-=Z.size,N.height-=Z.height;var Re=z(N.parent.children,N);N.parent.children.splice(Re+1,0,Z)}else{var oe=new js(N.children);oe.parent=N,N.children=[oe,Z],N=oe}Z.parent=N.parent}while(N.children.length>10);N.parent.maybeSpill()},iterN:function(N,G,Z){for(var oe=0;oe<this.children.length;++oe){var Re=this.children[oe],ct=Re.chunkSize();if(N<ct){var Nt=Math.min(G,ct-N);if(Re.iterN(N,Nt,Z))return!0;if((G-=Nt)==0)break;N=0}else N-=ct}}};var Is=function(N,G,Z){if(Z)for(var oe in Z)Z.hasOwnProperty(oe)&&(this[oe]=Z[oe]);this.doc=N,this.node=G};Is.prototype.clear=function(){var O=this.doc.cm,N=this.line.widgets,G=this.line,Z=$t(G);if(Z==null||!N)return;for(var oe=0;oe<N.length;++oe)N[oe]==this&&N.splice(oe--,1);N.length||(G.widgets=null);var Re=Kr(this);Bt(G,Math.max(0,G.height-Re)),O&&(Uo(O,function(){Vs(O,G,-Re),Oi(O,Z,"widget")}),ni(O,"lineWidgetCleared",O,this,Z))},Is.prototype.changed=function(){var O=this,N=this.height,G=this.doc.cm,Z=this.line;this.height=null;var oe=Kr(this)-N;if(!oe)return;Hn(this.doc,Z)||Bt(Z,Z.height+oe),G&&Uo(G,function(){G.curOp.forceUpdate=!0,Vs(G,Z,oe),ni(G,"lineWidgetChanged",G,O,$t(Z))})},Dt(Is);function Vs(O,N,G){Un(N)<(O.curOp&&O.curOp.scrollTop||O.doc.scrollTop)&&Yi(O,G)}function Zs(O,N,G,Z){var oe=new Is(O,G,Z),Re=O.cm;return Re&&oe.noHScroll&&(Re.display.alignWidgets=!0),Ca(O,N,"widget",function(ct){var Nt=ct.widgets||(ct.widgets=[]);if(oe.insertAt==null?Nt.push(oe):Nt.splice(Math.min(Nt.length-1,Math.max(0,oe.insertAt)),0,oe),oe.line=ct,Re&&!Hn(O,ct)){var Wt=Un(ct)<O.scrollTop;Bt(ct,ct.height+Kr(oe)),Wt&&Yi(Re,oe.height),Re.curOp.forceUpdate=!0}return!0}),Re&&ni(Re,"lineWidgetAdded",Re,oe,typeof N=="number"?N:$t(N)),oe}var gl=0,Fs=function(N,G){this.lines=[],this.type=G,this.doc=N,this.id=++gl};Fs.prototype.clear=function(){if(this.explicitlyCleared)return;var O=this.doc.cm,N=O&&!O.curOp;if(N&&$a(O),Ct(this,"clear")){var G=this.find();G&&ni(this,"clear",G.from,G.to)}for(var Z=null,oe=null,Re=0;Re<this.lines.length;++Re){var ct=this.lines[Re],Nt=Vt(ct.markedSpans,this);O&&!this.collapsed?Oi(O,$t(ct),"text"):O&&(Nt.to!=null&&(oe=$t(ct)),Nt.from!=null&&(Z=$t(ct))),ct.markedSpans=dr(ct.markedSpans,Nt),Nt.from==null&&this.collapsed&&!Hn(this.doc,ct)&&O&&Bt(ct,Ma(O.display))}if(O&&this.collapsed&&!O.options.lineWrapping)for(var Wt=0;Wt<this.lines.length;++Wt){var Qt=rn(this.lines[Wt]),kr=gi(Qt);kr>O.display.maxLineLength&&(O.display.maxLine=Qt,O.display.maxLineLength=kr,O.display.maxLineChanged=!0)}Z!=null&&O&&this.collapsed&&ba(O,Z,oe+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,O&&nl(O.doc)),O&&ni(O,"markerCleared",O,this,Z,oe),N&&Na(O),this.parent&&this.parent.clear()},Fs.prototype.find=function(O,N){O==null&&this.type=="bookmark"&&(O=1);for(var G,Z,oe=0;oe<this.lines.length;++oe){var Re=this.lines[oe],ct=Vt(Re.markedSpans,this);if(ct.from!=null&&(G=Kt(N?Re:$t(Re),ct.from),O==-1))return G;if(ct.to!=null&&(Z=Kt(N?Re:$t(Re),ct.to),O==1))return Z}return G&&{from:G,to:Z}},Fs.prototype.changed=function(){var O=this,N=this.find(-1,!0),G=this,Z=this.doc.cm;if(!N||!Z)return;Uo(Z,function(){var oe=N.line,Re=$t(N.line),ct=si(Z,Re);if(ct&&(ki(ct),Z.curOp.selectionChanged=Z.curOp.forceUpdate=!0),Z.curOp.updateMaxLine=!0,!Hn(G.doc,oe)&&G.height!=null){var Nt=G.height;G.height=null;var Wt=Kr(G)-Nt;Wt&&Bt(oe,oe.height+Wt)}ni(Z,"markerChanged",Z,O)})},Fs.prototype.attachLine=function(O){if(!this.lines.length&&this.doc.cm){var N=this.doc.cm.curOp;(!N.maybeHiddenMarkers||z(N.maybeHiddenMarkers,this)==-1)&&(N.maybeUnhiddenMarkers||(N.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(O)},Fs.prototype.detachLine=function(O){if(this.lines.splice(z(this.lines,O),1),!this.lines.length&&this.doc.cm){var N=this.doc.cm.curOp;(N.maybeHiddenMarkers||(N.maybeHiddenMarkers=[])).push(this)}},Dt(Fs);function ys(O,N,G,Z,oe){if(Z&&Z.shared)return Bc(O,N,G,Z,oe);if(O.cm&&!O.cm.curOp)return Lo(O.cm,ys)(O,N,G,Z,oe);var Re=new Fs(O,oe),ct=St(N,G);if(Z&&j(Z,Re,!1),ct>0||ct==0&&Re.clearWhenEmpty!==!1)return Re;if(Re.replacedWith&&(Re.collapsed=!0,Re.widgetNode=R("span",[Re.replacedWith],"CodeMirror-widget"),Z.handleMouseEvents||Re.widgetNode.setAttribute("cm-ignore-events","true"),Z.insertLeft&&(Re.widgetNode.insertLeft=!0)),Re.collapsed){if(mi(O,N.line,N,G,Re)||N.line!=G.line&&mi(O,G.line,N,G,Re))throw new Error("Inserting collapsed marker partially overlapping an existing one");pt()}Re.addToHistory&&oo(O,{from:N,to:G,origin:"markText"},O.sel,NaN);var Nt=N.line,Wt=O.cm,Qt;if(O.iter(Nt,G.line+1,function(tn){Wt&&Re.collapsed&&!Wt.options.lineWrapping&&rn(tn)==Wt.display.maxLine&&(Qt=!0),Re.collapsed&&Nt!=N.line&&Bt(tn,0),tr(tn,new ht(Re,Nt==N.line?N.ch:null,Nt==G.line?G.ch:null)),++Nt}),Re.collapsed&&O.iter(N.line,G.line+1,function(tn){Hn(O,tn)&&Bt(tn,0)}),Re.clearOnEnter&&Ee(Re,"beforeCursorEnter",function(){return Re.clear()}),Re.readOnly&&(Ye(),(O.history.done.length||O.history.undone.length)&&O.clearHistory()),Re.collapsed&&(Re.id=++gl,Re.atomic=!0),Wt){if(Qt&&(Wt.curOp.updateMaxLine=!0),Re.collapsed)ba(Wt,N.line,G.line+1);else if(Re.className||Re.startStyle||Re.endStyle||Re.css||Re.attributes||Re.title)for(var kr=N.line;kr<=G.line;kr++)Oi(Wt,kr,"text");Re.atomic&&nl(Wt.doc),ni(Wt,"markerAdded",Wt,Re)}return Re}var Ul=function(N,G){this.markers=N,this.primary=G;for(var Z=0;Z<N.length;++Z)N[Z].parent=this};Ul.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var O=0;O<this.markers.length;++O)this.markers[O].clear();ni(this,"clear")},Ul.prototype.find=function(O,N){return this.primary.find(O,N)},Dt(Ul);function Bc(O,N,G,Z,oe){Z=j(Z),Z.shared=!1;var Re=[ys(O,N,G,Z,oe)],ct=Re[0],Nt=Z.widgetNode;return Ai(O,function(Wt){Nt&&(Z.widgetNode=Nt.cloneNode(!0)),Re.push(ys(Wt,Ft(Wt,N),Ft(Wt,G),Z,oe));for(var Qt=0;Qt<Wt.linked.length;++Qt)if(Wt.linked[Qt].isParent)return;ct=Ce(Re)}),new Ul(Re,ct)}function wc(O){return O.findMarks(Kt(O.first,0),O.clipPos(Kt(O.lastLine())),function(N){return N.parent})}function kc(O,N){for(var G=0;G<N.length;G++){var Z=N[G],oe=Z.find(),Re=O.clipPos(oe.from),ct=O.clipPos(oe.to);if(St(Re,ct)){var Nt=ys(O,Re,ct,Z.primary,Z.primary.type);Z.markers.push(Nt),Nt.parent=Z}}}function Pc(O){for(var N=function(oe){var Re=O[oe],ct=[Re.primary.doc];Ai(Re.primary.doc,function(Qt){return ct.push(Qt)});for(var Nt=0;Nt<Re.markers.length;Nt++){var Wt=Re.markers[Nt];z(ct,Wt.doc)==-1&&(Wt.parent=null,Re.markers.splice(Nt--,1))}},G=0;G<O.length;G++)N(G)}var Dl=0,$s=function O(N,G,Z,oe,Re){if(!(this instanceof O))return new O(N,G,Z,oe,Re);Z==null&&(Z=0),js.call(this,[new go([new di("",null)])]),this.first=Z,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=Z;var ct=Kt(Z,0);this.sel=we(ct),this.history=new Ua(null),this.id=++Dl,this.modeOption=G,this.lineSep=oe,this.direction=Re=="rtl"?"rtl":"ltr",this.extend=!1,typeof N=="string"&&(N=this.splitLines(N)),ti(this,{from:ct,to:ct,text:N}),ko(this,we(ct),ne)};$s.prototype=$e(js.prototype,{constructor:$s,iter:function(N,G,Z){Z?this.iterN(N-this.first,G-N,Z):this.iterN(this.first,this.first+this.size,N)},insert:function(N,G){for(var Z=0,oe=0;oe<G.length;++oe)Z+=G[oe].height;this.insertInner(N-this.first,G,Z)},remove:function(N,G){this.removeInner(N-this.first,G)},getValue:function(N){var G=st(this,this.first,this.first+this.size);return N===!1?G:G.join(N||this.lineSeparator())},setValue:Ko(function(O){var N=Kt(this.first,0),G=this.first+this.size-1;Ds(this,{from:N,to:Kt(G,Pe(this,G).text.length),text:this.splitLines(O),origin:"setValue",full:!0},!0),this.cm&&Mo(this.cm,0,0),ko(this,we(N),ne)}),replaceRange:function(N,G,Z,oe){G=Ft(this,G),Z=Z?Ft(this,Z):G,Js(this,N,G,Z,oe)},getRange:function(N,G,Z){var oe=Ge(this,Ft(this,N),Ft(this,G));return Z===!1?oe:oe.join(Z||this.lineSeparator())},getLine:function(N){var G=this.getLineHandle(N);return G&&G.text},getLineHandle:function(N){if(yn(this,N))return Pe(this,N)},getLineNumber:function(N){return $t(N)},getLineHandleVisualStart:function(N){return typeof N=="number"&&(N=Pe(this,N)),rn(N)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(N){return Ft(this,N)},getCursor:function(N){var G=this.sel.primary(),Z;return N==null||N=="head"?Z=G.head:N=="anchor"?Z=G.anchor:N=="end"||N=="to"||N===!1?Z=G.to():Z=G.from(),Z},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ko(function(O,N,G){ll(this,Ft(this,typeof O=="number"?Kt(O,N||0):O),null,G)}),setSelection:Ko(function(O,N,G){ll(this,Ft(this,O),Ft(this,N||O),G)}),extendSelection:Ko(function(O,N,G){xo(this,Ft(this,O),N&&Ft(this,N),G)}),extendSelections:Ko(function(O,N){Ws(this,Cr(this,O),N)}),extendSelectionsBy:Ko(function(O,N){var G=je(this.sel.ranges,O);Ws(this,Cr(this,G),N)}),setSelections:Ko(function(O,N,G){if(!O.length)return;for(var Z=[],oe=0;oe<O.length;oe++)Z[oe]=new ie(Ft(this,O[oe].anchor),Ft(this,O[oe].head));N==null&&(N=Math.min(O.length-1,this.sel.primIndex)),ko(this,pe(this.cm,Z,N),G)}),addSelection:Ko(function(O,N,G){var Z=this.sel.ranges.slice(0);Z.push(new ie(Ft(this,O),Ft(this,N||O))),ko(this,pe(this.cm,Z,Z.length-1),G)}),getSelection:function(N){for(var G=this.sel.ranges,Z,oe=0;oe<G.length;oe++){var Re=Ge(this,G[oe].from(),G[oe].to());Z=Z?Z.concat(Re):Re}return N===!1?Z:Z.join(N||this.lineSeparator())},getSelections:function(N){for(var G=[],Z=this.sel.ranges,oe=0;oe<Z.length;oe++){var Re=Ge(this,Z[oe].from(),Z[oe].to());N!==!1&&(Re=Re.join(N||this.lineSeparator())),G[oe]=Re}return G},replaceSelection:function(N,G,Z){for(var oe=[],Re=0;Re<this.sel.ranges.length;Re++)oe[Re]=N;this.replaceSelections(oe,G,Z||"+input")},replaceSelections:Ko(function(O,N,G){for(var Z=[],oe=this.sel,Re=0;Re<oe.ranges.length;Re++){var ct=oe.ranges[Re];Z[Re]={from:ct.from(),to:ct.to(),text:this.splitLines(O[Re]),origin:G}}for(var Nt=N&&N!="end"&&wr(this,Z,N),Wt=Z.length-1;Wt>=0;Wt--)Ds(this,Z[Wt]);Nt?Ts(this,Nt):this.cm&&Qa(this.cm)}),undo:Ko(function(){ul(this,"undo")}),redo:Ko(function(){ul(this,"redo")}),undoSelection:Ko(function(){ul(this,"undo",!0)}),redoSelection:Ko(function(){ul(this,"redo",!0)}),setExtending:function(N){this.extend=N},getExtending:function(){return this.extend},historySize:function(){for(var N=this.history,G=0,Z=0,oe=0;oe<N.done.length;oe++)N.done[oe].ranges||++G;for(var Re=0;Re<N.undone.length;Re++)N.undone[Re].ranges||++Z;return{undo:G,redo:Z}},clearHistory:function(){var N=this;this.history=new Ua(this.history.maxGeneration),Ai(this,function(G){return G.history=N.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(N){return N&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(N){return this.history.generation==(N||this.cleanGeneration)},getHistory:function(){return{done:Cs(this.history.done),undone:Cs(this.history.undone)}},setHistory:function(N){var G=this.history=new Ua(this.history.maxGeneration);G.done=Cs(N.done.slice(0),null,!0),G.undone=Cs(N.undone.slice(0),null,!0)},setGutterMarker:Ko(function(O,N,G){return Ca(this,O,"gutter",function(Z){var oe=Z.gutterMarkers||(Z.gutterMarkers={});return oe[N]=G,!G&&se(oe)&&(Z.gutterMarkers=null),!0})}),clearGutter:Ko(function(O){var N=this;this.iter(function(G){G.gutterMarkers&&G.gutterMarkers[O]&&Ca(N,G,"gutter",function(){return G.gutterMarkers[O]=null,se(G.gutterMarkers)&&(G.gutterMarkers=null),!0})})}),lineInfo:function(N){var G;if(typeof N=="number"){if(!yn(this,N))return null;if(G=N,N=Pe(this,N),!N)return null}else if(G=$t(N),G==null)return null;return{line:G,handle:N,text:N.text,gutterMarkers:N.gutterMarkers,textClass:N.textClass,bgClass:N.bgClass,wrapClass:N.wrapClass,widgets:N.widgets}},addLineClass:Ko(function(O,N,G){return Ca(this,O,N=="gutter"?"gutter":"class",function(Z){var oe=N=="text"?"textClass":N=="background"?"bgClass":N=="gutter"?"gutterClass":"wrapClass";if(!Z[oe])Z[oe]=G;else{if(T(G).test(Z[oe]))return!1;Z[oe]+=" "+G}return!0})}),removeLineClass:Ko(function(O,N,G){return Ca(this,O,N=="gutter"?"gutter":"class",function(Z){var oe=N=="text"?"textClass":N=="background"?"bgClass":N=="gutter"?"gutterClass":"wrapClass",Re=Z[oe];if(Re)if(G==null)Z[oe]=null;else{var ct=Re.match(T(G));if(!ct)return!1;var Nt=ct.index+ct[0].length;Z[oe]=Re.slice(0,ct.index)+(!ct.index||Nt==Re.length?"":" ")+Re.slice(Nt)||null}else return!1;return!0})}),addLineWidget:Ko(function(O,N,G){return Zs(this,O,N,G)}),removeLineWidget:function(N){N.clear()},markText:function(N,G,Z){return ys(this,Ft(this,N),Ft(this,G),Z,Z&&Z.type||"range")},setBookmark:function(N,G){var Z={replacedWith:G&&(G.nodeType==null?G.widget:G),insertLeft:G&&G.insertLeft,clearWhenEmpty:!1,shared:G&&G.shared,handleMouseEvents:G&&G.handleMouseEvents};return N=Ft(this,N),ys(this,N,N,Z,"bookmark")},findMarksAt:function(N){N=Ft(this,N);var G=[],Z=Pe(this,N.line).markedSpans;if(Z)for(var oe=0;oe<Z.length;++oe){var Re=Z[oe];(Re.from==null||Re.from<=N.ch)&&(Re.to==null||Re.to>=N.ch)&&G.push(Re.marker.parent||Re.marker)}return G},findMarks:function(N,G,Z){N=Ft(this,N),G=Ft(this,G);var oe=[],Re=N.line;return this.iter(N.line,G.line+1,function(ct){var Nt=ct.markedSpans;if(Nt)for(var Wt=0;Wt<Nt.length;Wt++){var Qt=Nt[Wt];!(Qt.to!=null&&Re==N.line&&N.ch>=Qt.to||Qt.from==null&&Re!=N.line||Qt.from!=null&&Re==G.line&&Qt.from>=G.ch)&&(!Z||Z(Qt.marker))&&oe.push(Qt.marker.parent||Qt.marker)}++Re}),oe},getAllMarks:function(){var N=[];return this.iter(function(G){var Z=G.markedSpans;if(Z)for(var oe=0;oe<Z.length;++oe)Z[oe].from!=null&&N.push(Z[oe].marker)}),N},posFromIndex:function(N){var G,Z=this.first,oe=this.lineSeparator().length;return this.iter(function(Re){var ct=Re.text.length+oe;if(ct>N)return G=N,!0;N-=ct,++Z}),Ft(this,Kt(Z,G))},indexFromPos:function(N){N=Ft(this,N);var G=N.ch;if(N.line<this.first||N.ch<0)return 0;var Z=this.lineSeparator().length;return this.iter(this.first,N.line,function(oe){G+=oe.text.length+Z}),G},copy:function(N){var G=new $s(st(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return G.scrollTop=this.scrollTop,G.scrollLeft=this.scrollLeft,G.sel=this.sel,G.extend=!1,N&&(G.history.undoDepth=this.history.undoDepth,G.setHistory(this.getHistory())),G},linkedDoc:function(N){N||(N={});var G=this.first,Z=this.first+this.size;N.from!=null&&N.from>G&&(G=N.from),N.to!=null&&N.to<Z&&(Z=N.to);var oe=new $s(st(this,G,Z),N.mode||this.modeOption,G,this.lineSep,this.direction);return N.sharedHist&&(oe.history=this.history),(this.linked||(this.linked=[])).push({doc:oe,sharedHist:N.sharedHist}),oe.linked=[{doc:this,isParent:!0,sharedHist:N.sharedHist}],kc(oe,wc(this)),oe},unlinkDoc:function(N){if(N instanceof er&&(N=N.doc),this.linked)for(var G=0;G<this.linked.length;++G){var Z=this.linked[G];if(Z.doc!=N)continue;this.linked.splice(G,1),N.unlinkDoc(this),Pc(wc(this));break}if(N.history==this.history){var oe=[N.id];Ai(N,function(Re){return oe.push(Re.id)},!0),N.history=new Ua(null),N.history.done=Cs(this.history.done,oe),N.history.undone=Cs(this.history.undone,oe)}},iterLinkedDocs:function(N){Ai(this,N)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(N){return this.lineSep?N.split(this.lineSep):lr(N)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:Ko(function(O){if(O!="rtl"&&(O="ltr"),O==this.direction)return;this.direction=O,this.iter(function(N){return N.order=null}),this.cm&&na(this.cm)})}),$s.prototype.eachLine=$s.prototype.iter;var el=0;function dl(O){var N=this;if(lc(N),wt(N,O)||Dr(N.display,O))return;Xe(O),c&&(el=+new Date);var G=pa(N,O,!0),Z=O.dataTransfer.files;if(!G||N.isReadOnly())return;if(Z&&Z.length&&window.FileReader&&window.File)for(var oe=Z.length,Re=Array(oe),ct=0,Nt=function(){++ct==oe&&Lo(N,function(){G=Ft(N.doc,G);var ri={from:G,to:G,text:N.doc.splitLines(Re.filter(function(yi){return yi!=null}).join(N.doc.lineSeparator())),origin:"paste"};Ds(N.doc,ri),Ts(N.doc,we(Ft(N.doc,G),Ft(N.doc,Ke(ri))))})()},Wt=function(ri,yi){if(N.options.allowDropFileTypes&&z(N.options.allowDropFileTypes,ri.type)==-1){Nt();return}var Mi=new FileReader;Mi.onerror=function(){return Nt()},Mi.onload=function(){var Di=Mi.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Di)){Nt();return}Re[yi]=Di,Nt()},Mi.readAsText(ri)},Qt=0;Qt<Z.length;Qt++)Wt(Z[Qt],Qt);else{if(N.state.draggingText&&N.doc.sel.contains(G)>-1){N.state.draggingText(O),setTimeout(function(){return N.display.input.focus()},20);return}try{var kr=O.dataTransfer.getData("Text");if(kr){var tn;if(N.state.draggingText&&!N.state.draggingText.copy&&(tn=N.listSelections()),Ki(N.doc,we(G,G)),tn)for(var mn=0;mn<tn.length;++mn)Js(N.doc,"",tn[mn].anchor,tn[mn].head,"drag");N.replaceSelection(kr,"around","paste"),N.display.input.focus()}}catch(wn){}}}function Vl(O,N){if(c&&(!O.state.draggingText||+new Date-el<100)){Ae(N);return}if(wt(O,N)||Dr(O.display,N))return;if(N.dataTransfer.setData("Text",O.getSelection()),N.dataTransfer.effectAllowed="copyMove",N.dataTransfer.setDragImage&&!r){var G=L("img",null,null,"position: fixed; left: 0; top: 0;");G.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",i&&(G.width=G.height=1,O.display.wrapper.appendChild(G),G._top=G.offsetTop),N.dataTransfer.setDragImage(G,0,0),i&&G.parentNode.removeChild(G)}}function ql(O,N){var G=pa(O,N);if(!G)return;var Z=document.createDocumentFragment();yo(O,G,Z),O.display.dragCursor||(O.display.dragCursor=L("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),O.display.lineSpace.insertBefore(O.display.dragCursor,O.display.cursorDiv)),I(O.display.dragCursor,Z)}function lc(O){O.display.dragCursor&&(O.display.lineSpace.removeChild(O.display.dragCursor),O.display.dragCursor=null)}function Xl(O){if(!document.getElementsByClassName)return;for(var N=document.getElementsByClassName("CodeMirror"),G=[],Z=0;Z<N.length;Z++){var oe=N[Z].CodeMirror;oe&&G.push(oe)}G.length&&G[0].operation(function(){for(var Re=0;Re<G.length;Re++)O(G[Re])})}var Rl=!1;function cc(){if(Rl)return;$l(),Rl=!0}function $l(){var O;Ee(window,"resize",function(){O==null&&(O=setTimeout(function(){O=null,Xl(uc)},100))}),Ee(window,"blur",function(){return Xl(ns)})}function uc(O){var N=O.display;N.cachedCharWidth=N.cachedTextHeight=N.cachedPaddingH=null,N.scrollbarsClipped=!1,O.setSize()}for(var Sl={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"},_l=0;_l<10;_l++)Sl[_l+48]=Sl[_l+96]=String(_l);for(var Ml=65;Ml<=90;Ml++)Sl[Ml]=String.fromCharCode(Ml);for(var ec=1;ec<=12;ec++)Sl[ec+111]=Sl[ec+63235]="F"+ec;var Cl={};Cl.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"},Cl.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"},Cl.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"},Cl.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"]},Cl.default=v?Cl.macDefault:Cl.pcDefault;function Uc(O){var N=O.split(/-(?!$)/);O=N[N.length-1];for(var G,Z,oe,Re,ct=0;ct<N.length-1;ct++){var Nt=N[ct];if(/^(cmd|meta|m)$/i.test(Nt))Re=!0;else if(/^a(lt)?$/i.test(Nt))G=!0;else if(/^(c|ctrl|control)$/i.test(Nt))Z=!0;else if(/^s(hift)?$/i.test(Nt))oe=!0;else throw new Error("Unrecognized modifier name: "+Nt)}return G&&(O="Alt-"+O),Z&&(O="Ctrl-"+O),Re&&(O="Cmd-"+O),oe&&(O="Shift-"+O),O}function Al(O){var N={};for(var G in O)if(O.hasOwnProperty(G)){var Z=O[G];if(/^(name|fallthrough|(de|at)tach)$/.test(G))continue;if(Z=="..."){delete O[G];continue}for(var oe=je(G.split(" "),Uc),Re=0;Re<oe.length;Re++){var ct=void 0,Nt=void 0;Re==oe.length-1?(Nt=oe.join(" "),ct=Z):(Nt=oe.slice(0,Re+1).join(" "),ct="...");var Wt=N[Nt];if(!Wt)N[Nt]=ct;else if(Wt!=ct)throw new Error("Inconsistent bindings for "+Nt)}delete O[G]}for(var Qt in N)O[Qt]=N[Qt];return O}function xl(O,N,G,Z){N=Fl(N);var oe=N.call?N.call(O,Z):N[O];if(oe===!1)return"nothing";if(oe==="...")return"multi";if(oe!=null&&G(oe))return"handled";if(N.fallthrough){if(Object.prototype.toString.call(N.fallthrough)!="[object Array]")return xl(O,N.fallthrough,G,Z);for(var Re=0;Re<N.fallthrough.length;Re++){var ct=xl(O,N.fallthrough[Re],G,Z);if(ct)return ct}}}function tc(O){var N=typeof O=="string"?O:Sl[O.keyCode];return N=="Ctrl"||N=="Alt"||N=="Shift"||N=="Mod"}function jc(O,N,G){var Z=O;return N.altKey&&Z!="Alt"&&(O="Alt-"+O),(E?N.metaKey:N.ctrlKey)&&Z!="Ctrl"&&(O="Ctrl-"+O),(E?N.ctrlKey:N.metaKey)&&Z!="Mod"&&(O="Cmd-"+O),!G&&N.shiftKey&&Z!="Shift"&&(O="Shift-"+O),O}function dc(O,N){if(i&&O.keyCode==34&&O.char)return!1;var G=Sl[O.keyCode];return G==null||O.altGraphKey?!1:(O.keyCode==3&&O.code&&(G=O.code),jc(G,O,N))}function Fl(O){return typeof O=="string"?Cl[O]:O}function Bl(O,N){for(var G=O.doc.sel.ranges,Z=[],oe=0;oe<G.length;oe++){for(var Re=N(G[oe]);Z.length&&St(Re.from,Ce(Z).to)<=0;){var ct=Z.pop();if(St(ct.from,Re.from)<0){Re.from=ct.from;break}}Z.push(Re)}Uo(O,function(){for(var Nt=Z.length-1;Nt>=0;Nt--)Js(O.doc,"",Z[Nt].from,Z[Nt].to,"+delete");Qa(O)})}function jl(O,N,G){var Z=Ne(O.text,N+G,G);return Z<0||Z>O.text.length?null:Z}function Sc(O,N,G){var Z=jl(O,N.ch,G);return Z==null?null:new Kt(N.line,Z,G<0?"after":"before")}function xc(O,N,G,Z,oe){if(O){N.doc.direction=="rtl"&&(oe=-oe);var Re=it(G,N.doc.direction);if(Re){var ct=oe<0?Ce(Re):Re[0],Nt=oe<0==(ct.level==1),Wt=Nt?"after":"before",Qt;if(ct.level>0||N.doc.direction=="rtl"){var kr=Ni(N,G);Qt=oe<0?G.text.length-1:0;var tn=qn(N,kr,Qt).top;Qt=Fe(function(mn){return qn(N,kr,mn).top==tn},oe<0==(ct.level==1)?ct.from:ct.to-1,Qt),Wt=="before"&&(Qt=jl(G,Qt,1))}else Qt=oe<0?ct.to:ct.from;return new Kt(Z,Qt,Wt)}}return new Kt(Z,oe<0?G.text.length:0,oe<0?"before":"after")}function hc(O,N,G,Z){var oe=it(N,O.doc.direction);if(!oe)return Sc(N,G,Z);G.ch>=N.text.length?(G.ch=N.text.length,G.sticky="before"):G.ch<=0&&(G.ch=0,G.sticky="after");var Re=_e(oe,G.ch,G.sticky),ct=oe[Re];if(O.doc.direction=="ltr"&&ct.level%2==0&&(Z>0?ct.to>G.ch:ct.from<G.ch))return Sc(N,G,Z);var Nt=function(Ii,Gi){return jl(N,Ii instanceof Kt?Ii.ch:Ii,Gi)},Wt,Qt=function(Ii){return O.options.lineWrapping?(Wt=Wt||Ni(O,N),Si(O,N,Wt,Ii)):{begin:0,end:N.text.length}},kr=Qt(G.sticky=="before"?Nt(G,-1):G.ch);if(O.doc.direction=="rtl"||ct.level==1){var tn=ct.level==1==Z<0,mn=Nt(G,tn?1:-1);if(mn!=null&&(tn?mn<=ct.to&&mn<=kr.end:mn>=ct.from&&mn>=kr.begin)){var wn=tn?"before":"after";return new Kt(G.line,mn,wn)}}var ri=function(Ii,Gi,ia){for(var za=function(Wo,Bs){return Bs?new Kt(G.line,Nt(Wo,1),"before"):new Kt(G.line,Wo,"after")};Ii>=0&&Ii<oe.length;Ii+=Gi){var La=oe[Ii],mo=Gi>0==(La.level!=1),Eo=mo?ia.begin:Nt(ia.end,-1);if(La.from<=Eo&&Eo<La.to)return za(Eo,mo);if(Eo=mo?La.from:Nt(La.to,-1),ia.begin<=Eo&&Eo<ia.end)return za(Eo,mo)}},yi=ri(Re+Z,Z,kr);if(yi)return yi;var Mi=Z>0?kr.end:Nt(kr.begin,-1);return Mi!=null&&!(Z>0&&Mi==N.text.length)&&(yi=ri(Z>0?0:oe.length-1,Z,Qt(Mi)),yi)?yi:null}var Hl={selectAll:Ns,singleSelection:function(N){return N.setSelection(N.getCursor("anchor"),N.getCursor("head"),ne)},killLine:function(N){return Bl(N,function(G){if(G.empty()){var Z=Pe(N.doc,G.head.line).text.length;return G.head.ch==Z&&G.head.line<N.lastLine()?{from:G.head,to:Kt(G.head.line+1,0)}:{from:G.head,to:Kt(G.head.line,Z)}}else return{from:G.from(),to:G.to()}})},deleteLine:function(N){return Bl(N,function(G){return{from:Kt(G.from().line,0),to:Ft(N.doc,Kt(G.to().line+1,0))}})},delLineLeft:function(N){return Bl(N,function(G){return{from:Kt(G.from().line,0),to:G.from()}})},delWrappedLineLeft:function(N){return Bl(N,function(G){var Z=N.charCoords(G.head,"div").top+5,oe=N.coordsChar({left:0,top:Z},"div");return{from:oe,to:G.from()}})},delWrappedLineRight:function(N){return Bl(N,function(G){var Z=N.charCoords(G.head,"div").top+5,oe=N.coordsChar({left:N.display.lineDiv.offsetWidth+100,top:Z},"div");return{from:G.from(),to:oe}})},undo:function(N){return N.undo()},redo:function(N){return N.redo()},undoSelection:function(N){return N.undoSelection()},redoSelection:function(N){return N.redoSelection()},goDocStart:function(N){return N.extendSelection(Kt(N.firstLine(),0))},goDocEnd:function(N){return N.extendSelection(Kt(N.lastLine()))},goLineStart:function(N){return N.extendSelectionsBy(function(G){return fc(N,G.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(N){return N.extendSelectionsBy(function(G){return Ec(N,G.head)},{origin:"+move",bias:1})},goLineEnd:function(N){return N.extendSelectionsBy(function(G){return rc(N,G.head.line)},{origin:"+move",bias:-1})},goLineRight:function(N){return N.extendSelectionsBy(function(G){var Z=N.cursorCoords(G.head,"div").top+5;return N.coordsChar({left:N.display.lineDiv.offsetWidth+100,top:Z},"div")},ge)},goLineLeft:function(N){return N.extendSelectionsBy(function(G){var Z=N.cursorCoords(G.head,"div").top+5;return N.coordsChar({left:0,top:Z},"div")},ge)},goLineLeftSmart:function(N){return N.extendSelectionsBy(function(G){var Z=N.cursorCoords(G.head,"div").top+5,oe=N.coordsChar({left:0,top:Z},"div");return oe.ch<N.getLine(oe.line).search(/\S/)?Ec(N,G.head):oe},ge)},goLineUp:function(N){return N.moveV(-1,"line")},goLineDown:function(N){return N.moveV(1,"line")},goPageUp:function(N){return N.moveV(-1,"page")},goPageDown:function(N){return N.moveV(1,"page")},goCharLeft:function(N){return N.moveH(-1,"char")},goCharRight:function(N){return N.moveH(1,"char")},goColumnLeft:function(N){return N.moveH(-1,"column")},goColumnRight:function(N){return N.moveH(1,"column")},goWordLeft:function(N){return N.moveH(-1,"word")},goGroupRight:function(N){return N.moveH(1,"group")},goGroupLeft:function(N){return N.moveH(-1,"group")},goWordRight:function(N){return N.moveH(1,"word")},delCharBefore:function(N){return N.deleteH(-1,"codepoint")},delCharAfter:function(N){return N.deleteH(1,"char")},delWordBefore:function(N){return N.deleteH(-1,"word")},delWordAfter:function(N){return N.deleteH(1,"word")},delGroupBefore:function(N){return N.deleteH(-1,"group")},delGroupAfter:function(N){return N.deleteH(1,"group")},indentAuto:function(N){return N.indentSelection("smart")},indentMore:function(N){return N.indentSelection("add")},indentLess:function(N){return N.indentSelection("subtract")},insertTab:function(N){return N.replaceSelection(" ")},insertSoftTab:function(N){for(var G=[],Z=N.listSelections(),oe=N.options.tabSize,Re=0;Re<Z.length;Re++){var ct=Z[Re].from(),Nt=K(N.getLine(ct.line),ct.ch,oe);G.push(be(oe-Nt%oe))}N.replaceSelections(G)},defaultTab:function(N){N.somethingSelected()?N.indentSelection("add"):N.execCommand("insertTab")},transposeChars:function(N){return Uo(N,function(){for(var G=N.listSelections(),Z=[],oe=0;oe<G.length;oe++){if(!G[oe].empty())continue;var Re=G[oe].head,ct=Pe(N.doc,Re.line).text;if(ct){if(Re.ch==ct.length&&(Re=new Kt(Re.line,Re.ch-1)),Re.ch>0)Re=new Kt(Re.line,Re.ch+1),N.replaceRange(ct.charAt(Re.ch-1)+ct.charAt(Re.ch-2),Kt(Re.line,Re.ch-2),Re,"+transpose");else if(Re.line>N.doc.first){var Nt=Pe(N.doc,Re.line-1).text;Nt&&(Re=new Kt(Re.line,1),N.replaceRange(ct.charAt(0)+N.doc.lineSeparator()+Nt.charAt(Nt.length-1),Kt(Re.line-1,Nt.length-1),Re,"+transpose"))}}Z.push(new ie(Re,Re))}N.setSelections(Z)})},newlineAndIndent:function(N){return Uo(N,function(){for(var G=N.listSelections(),Z=G.length-1;Z>=0;Z--)N.replaceRange(N.doc.lineSeparator(),G[Z].anchor,G[Z].head,"+input");G=N.listSelections();for(var oe=0;oe<G.length;oe++)N.indentLine(G[oe].from().line,null,!0);Qa(N)})},openLine:function(N){return N.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(N){return N.toggleOverwrite()}};function fc(O,N){var G=Pe(O.doc,N),Z=rn(G);return Z!=G&&(N=$t(Z)),xc(!0,O,Z,N,1)}function rc(O,N){var G=Pe(O.doc,N),Z=Ur(G);return Z!=G&&(N=$t(Z)),xc(!0,O,G,N,-1)}function Ec(O,N){var G=fc(O,N.line),Z=Pe(O.doc,G.line),oe=it(Z,O.doc.direction);if(!oe||oe[0].level==0){var Re=Math.max(G.ch,Z.text.search(/\S/)),ct=N.line==G.line&&N.ch<=Re&&N.ch;return Kt(G.line,ct?0:Re,G.sticky)}return G}function cs(O,N,G){if(typeof N=="string"&&(N=Hl[N],!N))return!1;O.display.input.ensurePolled();var Z=O.display.shift,oe=!1;try{O.isReadOnly()&&(O.state.suppressEdits=!0),G&&(O.display.shift=!1),oe=N(O)!=$}finally{O.display.shift=Z,O.state.suppressEdits=!1}return oe}function al(O,N,G){for(var Z=0;Z<O.state.keyMaps.length;Z++){var oe=xl(N,O.state.keyMaps[Z],G,O);if(oe)return oe}return O.options.extraKeys&&xl(N,O.options.extraKeys,G,O)||xl(N,O.options.keyMap,G,O)}var Tl=new X;function nc(O,N,G,Z){var oe=O.state.keySeq;if(oe){if(tc(N))return"handled";if(/\'$/.test(N)?O.state.keySeq=null:Tl.set(50,function(){O.state.keySeq==oe&&(O.state.keySeq=null,O.display.input.reset())}),ic(O,oe+" "+N,G,Z))return!0}return ic(O,N,G,Z)}function ic(O,N,G,Z){var oe=al(O,N,Z);return oe=="multi"&&(O.state.keySeq=N),oe=="handled"&&ni(O,"keyHandled",O,N,G),(oe=="handled"||oe=="multi")&&(Xe(G),To(O)),!!oe}function Il(O,N){var G=dc(N,!0);return G?N.shiftKey&&!O.state.keySeq?nc(O,"Shift-"+G,N,function(Z){return cs(O,Z,!0)})||nc(O,G,N,function(Z){if(typeof Z=="string"?/^go[A-Z]/.test(Z):Z.motion)return cs(O,Z)}):nc(O,G,N,function(Z){return cs(O,Z)}):!1}function bl(O,N,G){return nc(O,"'"+G+"'",N,function(Z){return cs(O,Z,!0)})}var _c=null;function Hc(O){var N=this;if(O.target&&O.target!=N.display.input.getField())return;if(N.curOp.focus=P(),wt(N,O))return;c&&h<11&&O.keyCode==27&&(O.returnValue=!1);var G=O.keyCode;N.display.shift=G==16||O.shiftKey;var Z=Il(N,O);i&&(_c=Z?G:null,!Z&&G==88&&!Rr&&(v?O.metaKey:O.ctrlKey)&&N.replaceSelection("",null,"cut")),A&&!v&&!Z&&G==46&&O.shiftKey&&!O.ctrlKey&&document.execCommand&&document.execCommand("cut"),G==18&&!/\bCodeMirror-crosshair\b/.test(N.display.lineDiv.className)&&Kc(N)}function Kc(O){var N=O.display.lineDiv;W(N,"CodeMirror-crosshair");function G(Z){(Z.keyCode==18||!Z.altKey)&&(x(N,"CodeMirror-crosshair"),Je(document,"keyup",G),Je(document,"mouseover",G))}Ee(document,"keyup",G),Ee(document,"mouseover",G)}function Cc(O){O.keyCode==16&&(this.doc.sel.shift=!1),wt(this,O)}function Tc(O){var N=this;if(O.target&&O.target!=N.display.input.getField())return;if(Dr(N.display,O)||wt(N,O)||O.ctrlKey&&!O.altKey||v&&O.metaKey)return;var G=O.keyCode,Z=O.charCode;if(i&&G==_c){_c=null,Xe(O);return}if(i&&(!O.which||O.which<10)&&Il(N,O))return;var oe=String.fromCharCode(Z==null?G:Z);if(oe=="\b")return;if(bl(N,O,oe))return;N.display.input.onKeyPress(O)}var Wc=400,pc=function(N,G,Z){this.time=N,this.pos=G,this.button=Z};pc.prototype.compare=function(O,N,G){return this.time+Wc>O&&St(N,this.pos)==0&&G==this.button};var Ol,Ll;function Gl(O,N){var G=+new Date;return Ll&&Ll.compare(G,O,N)?(Ol=Ll=null,"triple"):Ol&&Ol.compare(G,O,N)?(Ll=new pc(G,O,N),Ol=null,"double"):(Ol=new pc(G,O,N),Ll=null,"single")}function Kl(O){var N=this,G=N.display;if(wt(N,O)||G.activeTouch&&G.input.supportsTouch())return;if(G.input.ensurePolled(),G.shift=O.shiftKey,Dr(G,O)){l||(G.scroller.draggable=!1,setTimeout(function(){return G.scroller.draggable=!0},100));return}if(ac(N,O))return;var Z=pa(N,O),oe=re(O),Re=Z?Gl(Z,oe):"single";if(window.focus(),oe==1&&N.state.selectingText&&N.state.selectingText(O),Z&&Ic(N,oe,Z,Re,O))return;oe==1?Z?zc(N,Z,Re,O):xe(O)==G.scroller&&Xe(O):oe==2?(Z&&xo(N.doc,Z),setTimeout(function(){return G.input.focus()},20)):oe==3&&(C?N.display.input.onContextMenu(O):Io(N))}function Ic(O,N,G,Z,oe){var Re="Click";return Z=="double"?Re="Double"+Re:Z=="triple"&&(Re="Triple"+Re),Re=(N==1?"Left":N==2?"Middle":"Right")+Re,nc(O,jc(Re,oe),oe,function(ct){if(typeof ct=="string"&&(ct=Hl[ct]),!ct)return!1;var Nt=!1;try{O.isReadOnly()&&(O.state.suppressEdits=!0),Nt=ct(O,G)!=$}finally{O.state.suppressEdits=!1}return Nt})}function qc(O,N,G){var Z=O.getOption("configureMouse"),oe=Z?Z(O,N,G):{};if(oe.unit==null){var Re=y?G.shiftKey&&G.metaKey:G.altKey;oe.unit=Re?"rectangle":N=="single"?"char":N=="double"?"word":"line"}return(oe.extend==null||O.doc.extend)&&(oe.extend=O.doc.extend||G.shiftKey),oe.addNew==null&&(oe.addNew=v?G.metaKey:G.ctrlKey),oe.moveOnDrag==null&&(oe.moveOnDrag=!(v?G.altKey:G.ctrlKey)),oe}function zc(O,N,G,Z){c?setTimeout(H(po,O),0):O.curOp.focus=P();var oe=qc(O,G,Z),Re=O.doc.sel,ct;O.options.dragDrop&&ot&&!O.isReadOnly()&&G=="single"&&(ct=Re.contains(N))>-1&&(St((ct=Re.ranges[ct]).from(),N)<0||N.xRel>0)&&(St(ct.to(),N)>0||N.xRel<0)?$c(O,Z,N,oe):mc(O,Z,N,oe)}function $c(O,N,G,Z){var oe=O.display,Re=!1,ct=Lo(O,function(Qt){l&&(oe.scroller.draggable=!1),O.state.draggingText=!1,Je(oe.wrapper.ownerDocument,"mouseup",ct),Je(oe.wrapper.ownerDocument,"mousemove",Nt),Je(oe.scroller,"dragstart",Wt),Je(oe.scroller,"drop",ct),Re||(Xe(Qt),Z.addNew||xo(O.doc,G,null,null,Z.extend),l&&!r||c&&h==9?setTimeout(function(){oe.wrapper.ownerDocument.body.focus({preventScroll:!0}),oe.input.focus()},20):oe.input.focus())}),Nt=function(kr){Re=Re||Math.abs(N.clientX-kr.clientX)+Math.abs(N.clientY-kr.clientY)>=10},Wt=function(){return Re=!0};l&&(oe.scroller.draggable=!0),O.state.draggingText=ct,ct.copy=!Z.moveOnDrag,oe.scroller.dragDrop&&oe.scroller.dragDrop(),Ee(oe.wrapper.ownerDocument,"mouseup",ct),Ee(oe.wrapper.ownerDocument,"mousemove",Nt),Ee(oe.scroller,"dragstart",Wt),Ee(oe.scroller,"drop",ct),Io(O),setTimeout(function(){return oe.input.focus()},20)}function Ql(O,N,G){if(G=="char")return new ie(N,N);if(G=="word")return O.findWordAt(N);if(G=="line")return new ie(Kt(N.line,0),Ft(O.doc,Kt(N.line+1,0)));var Z=G(O,N);return new ie(Z.from,Z.to)}function mc(O,N,G,Z){var oe=O.display,Re=O.doc;Xe(N);var ct,Nt,Wt=Re.sel,Qt=Wt.ranges;if(Z.addNew&&!Z.extend?(Nt=Re.sel.contains(G),Nt>-1?ct=Qt[Nt]:ct=new ie(G,G)):(ct=Re.sel.primary(),Nt=Re.sel.primIndex),Z.unit=="rectangle")Z.addNew||(ct=new ie(G,G)),G=pa(O,N,!0,!0),Nt=-1;else{var kr=Ql(O,G,Z.unit);Z.extend?ct=qo(ct,kr.anchor,kr.head,Z.extend):ct=kr}Z.addNew?Nt==-1?(Nt=Qt.length,ko(Re,pe(O,Qt.concat([ct]),Nt),{scroll:!1,origin:"*mouse"})):Qt.length>1&&Qt[Nt].empty()&&Z.unit=="char"&&!Z.extend?(ko(Re,pe(O,Qt.slice(0,Nt).concat(Qt.slice(Nt+1)),0),{scroll:!1,origin:"*mouse"}),Wt=Re.sel):ps(Re,Nt,ct,J):(Nt=0,ko(Re,new dt([ct],0),J),Wt=Re.sel);var tn=G;function mn(Gi){if(St(tn,Gi)==0)return;if(tn=Gi,Z.unit=="rectangle"){for(var ia=[],za=O.options.tabSize,La=K(Pe(Re,G.line).text,G.ch,za),mo=K(Pe(Re,Gi.line).text,Gi.ch,za),Eo=Math.min(La,mo),$o=Math.max(La,mo),Wo=Math.min(G.line,Gi.line),Bs=Math.min(O.lastLine(),Math.max(G.line,Gi.line));Wo<=Bs;Wo++){var hl=Pe(Re,Wo).text,As=de(hl,Eo,za);Eo==$o?ia.push(new ie(Kt(Wo,As),Kt(Wo,As))):hl.length>As&&ia.push(new ie(Kt(Wo,As),Kt(Wo,de(hl,$o,za))))}ia.length||ia.push(new ie(G,G)),ko(Re,pe(O,Wt.ranges.slice(0,Nt).concat(ia),Nt),{origin:"*mouse",scroll:!1}),O.scrollIntoView(Gi)}else{var fl=ct,ks=Ql(O,Gi,Z.unit),Os=fl.anchor,bs;St(ks.anchor,Os)>0?(bs=ks.head,Os=Hr(fl.from(),ks.anchor)):(bs=ks.anchor,Os=Br(fl.to(),ks.head));var us=Wt.ranges.slice(0);us[Nt]=eu(O,new ie(Ft(Re,Os),bs)),ko(Re,pe(O,us,Nt),J)}}var wn=oe.wrapper.getBoundingClientRect(),ri=0;function yi(Gi){var ia=++ri,za=pa(O,Gi,!0,Z.unit=="rectangle");if(!za)return;if(St(za,tn)!=0){O.curOp.focus=P(),mn(za);var La=Ja(oe,Re);(za.line>=La.to||za.line<La.from)&&setTimeout(Lo(O,function(){ri==ia&&yi(Gi)}),150)}else{var mo=Gi.clientY<wn.top?-20:Gi.clientY>wn.bottom?20:0;mo&&setTimeout(Lo(O,function(){if(ri!=ia)return;oe.scroller.scrollTop+=mo,yi(Gi)}),50)}}function Mi(Gi){O.state.selectingText=!1,ri=Infinity,Gi&&(Xe(Gi),oe.input.focus()),Je(oe.wrapper.ownerDocument,"mousemove",Di),Je(oe.wrapper.ownerDocument,"mouseup",Ii),Re.history.lastSelOrigin=null}var Di=Lo(O,function(Gi){Gi.buttons===0||!re(Gi)?Mi(Gi):yi(Gi)}),Ii=Lo(O,Mi);O.state.selectingText=Ii,Ee(oe.wrapper.ownerDocument,"mousemove",Di),Ee(oe.wrapper.ownerDocument,"mouseup",Ii)}function eu(O,N){var G=N.anchor,Z=N.head,oe=Pe(O.doc,G.line);if(St(G,Z)==0&&G.sticky==Z.sticky)return N;var Re=it(oe);if(!Re)return N;var ct=_e(Re,G.ch,G.sticky),Nt=Re[ct];if(Nt.from!=G.ch&&Nt.to!=G.ch)return N;var Wt=ct+(Nt.from==G.ch==(Nt.level!=1)?0:1);if(Wt==0||Wt==Re.length)return N;var Qt;if(Z.line!=G.line)Qt=(Z.line-G.line)*(O.doc.direction=="ltr"?1:-1)>0;else{var kr=_e(Re,Z.ch,Z.sticky),tn=kr-ct||(Z.ch-G.ch)*(Nt.level==1?-1:1);kr==Wt-1||kr==Wt?Qt=tn<0:Qt=tn>0}var mn=Re[Wt+(Qt?-1:0)],wn=Qt==(mn.level==1),ri=wn?mn.from:mn.to,yi=wn?"after":"before";return G.ch==ri&&G.sticky==yi?N:new ie(new Kt(G.line,ri,yi),Z)}function Oc(O,N,G,Z){var oe,Re;if(N.touches)oe=N.touches[0].clientX,Re=N.touches[0].clientY;else try{oe=N.clientX,Re=N.clientY}catch(mn){return!1}if(oe>=Math.floor(O.display.gutters.getBoundingClientRect().right))return!1;Z&&Xe(N);var ct=O.display,Nt=ct.lineDiv.getBoundingClientRect();if(Re>Nt.bottom||!Ct(O,G))return V(N);Re-=Nt.top-ct.viewOffset;for(var Wt=0;Wt<O.display.gutterSpecs.length;++Wt){var Qt=ct.gutters.childNodes[Wt];if(Qt&&Qt.getBoundingClientRect().right>=oe){var kr=Nr(O.doc,Re),tn=O.display.gutterSpecs[Wt];return rt(O,G,O,kr,tn.className,N),V(N)}}}function ac(O,N){return Oc(O,N,"gutterClick",!0)}function gc(O,N){if(Dr(O.display,N)||Yl(O,N))return;if(wt(O,N,"contextmenu"))return;C||O.display.input.onContextMenu(N)}function Yl(O,N){return Ct(O,"gutterContextMenu")?Oc(O,N,"gutterContextMenu",!1):!1}function Lc(O){O.display.wrapper.className=O.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+O.options.theme.replace(/(^|\s)\s*/g," cm-s-"),zi(O)}var Jl={toString:function(){return"CodeMirror.Init"}},oc={},fe={};function ke(O){var N=O.optionHandlers;function G(Z,oe,Re,ct){O.defaults[Z]=oe,Re&&(N[Z]=ct?function(Nt,Wt,Qt){Qt!=Jl&&Re(Nt,Wt,Qt)}:Re)}O.defineOption=G,O.Init=Jl,G("value","",function(Z,oe){return Z.setValue(oe)},!0),G("mode",null,function(Z,oe){Z.doc.modeOption=oe,jr(Z)},!0),G("indentUnit",2,jr,!0),G("indentWithTabs",!1),G("smartIndent",!0),G("tabSize",4,function(Z){hn(Z),zi(Z),ba(Z)},!0),G("lineSeparator",null,function(Z,oe){if(Z.doc.lineSep=oe,!oe)return;var Re=[],ct=Z.doc.first;Z.doc.iter(function(Wt){for(var Qt=0;;){var kr=Wt.text.indexOf(oe,Qt);if(kr==-1)break;Qt=kr+oe.length,Re.push(Kt(ct,kr))}ct++});for(var Nt=Re.length-1;Nt>=0;Nt--)Js(Z.doc,oe,Re[Nt],Kt(Re[Nt].line,Re[Nt].ch+oe.length))}),G("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(Z,oe,Re){Z.state.specialChars=new RegExp(oe.source+(oe.test(" ")?"":"| "),"g"),Re!=Jl&&Z.refresh()}),G("specialCharPlaceholder",zn,function(Z){return Z.refresh()},!0),G("electricChars",!0),G("inputStyle",d?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),G("spellcheck",!1,function(Z,oe){return Z.getInputField().spellcheck=oe},!0),G("autocorrect",!1,function(Z,oe){return Z.getInputField().autocorrect=oe},!0),G("autocapitalize",!1,function(Z,oe){return Z.getInputField().autocapitalize=oe},!0),G("rtlMoveVisually",!S),G("wholeLineUpdateBefore",!0),G("theme","default",function(Z){Lc(Z),eo(Z)},!0),G("keyMap","default",function(Z,oe,Re){var ct=Fl(oe),Nt=Re!=Jl&&Fl(Re);Nt&&Nt.detach&&Nt.detach(Z,ct),ct.attach&&ct.attach(Z,Nt||null)}),G("extraKeys",null),G("configureMouse",null),G("lineWrapping",!1,Ht,!0),G("gutters",[],function(Z,oe){Z.display.gutterSpecs=Gs(oe,Z.options.lineNumbers),eo(Z)},!0),G("fixedGutter",!0,function(Z,oe){Z.display.gutters.style.left=oe?so(Z.display)+"px":"0",Z.refresh()},!0),G("coverGutterNextToScrollbar",!1,function(Z){return Oo(Z)},!0),G("scrollbarStyle","native",function(Z){hs(Z),Oo(Z),Z.display.scrollbars.setScrollTop(Z.doc.scrollTop),Z.display.scrollbars.setScrollLeft(Z.doc.scrollLeft)},!0),G("lineNumbers",!1,function(Z,oe){Z.display.gutterSpecs=Gs(Z.options.gutters,oe),eo(Z)},!0),G("firstLineNumber",1,eo,!0),G("lineNumberFormatter",function(Z){return Z},eo,!0),G("showCursorWhenSelecting",!1,ao,!0),G("resetSelectionOnContextMenu",!0),G("lineWiseCopyCut",!0),G("pasteLinesPerSelection",!0),G("selectionsMayTouch",!1),G("readOnly",!1,function(Z,oe){oe=="nocursor"&&(ns(Z),Z.display.input.blur()),Z.display.input.readOnlyChanged(oe)}),G("screenReaderLabel",null,function(Z,oe){oe=oe===""?null:oe,Z.display.input.screenReaderLabelChanged(oe)}),G("disableInput",!1,function(Z,oe){oe||Z.display.input.reset()},!0),G("dragDrop",!0,lt),G("allowDropFileTypes",null),G("cursorBlinkRate",530),G("cursorScrollMargin",0),G("cursorHeight",1,ao,!0),G("singleCursorHeightPerLine",!0,ao,!0),G("workTime",100),G("workDelay",100),G("flattenSpans",!0,hn,!0),G("addModeClass",!1,hn,!0),G("pollInterval",100),G("undoDepth",200,function(Z,oe){return Z.doc.history.undoDepth=oe}),G("historyEventDelay",1250),G("viewportMargin",10,function(Z){return Z.refresh()},!0),G("maxHighlightLength",1e4,hn,!0),G("moveInputWithCursor",!0,function(Z,oe){oe||Z.display.input.resetPosition()}),G("tabindex",null,function(Z,oe){return Z.display.input.getField().tabIndex=oe||""}),G("autofocus",null),G("direction","ltr",function(Z,oe){return Z.doc.setDirection(oe)},!0),G("phrases",null)}function lt(O,N,G){var Z=G&&G!=Jl;if(!N!=!Z){var oe=O.display.dragFunctions,Re=N?Ee:Je;Re(O.display.scroller,"dragstart",oe.start),Re(O.display.scroller,"dragenter",oe.enter),Re(O.display.scroller,"dragover",oe.over),Re(O.display.scroller,"dragleave",oe.leave),Re(O.display.scroller,"drop",oe.drop)}}function Ht(O){O.options.lineWrapping?(W(O.display.wrapper,"CodeMirror-wrap"),O.display.sizer.style.minWidth="",O.display.sizerWidth=null):(x(O.display.wrapper,"CodeMirror-wrap"),Bn(O)),io(O),ba(O),zi(O),setTimeout(function(){return Oo(O)},100)}function er(O,N){var G=this;if(!(this instanceof er))return new er(O,N);this.options=N=N?j(N):{},j(oc,N,!1);var Z=N.value;typeof Z=="string"?Z=new $s(Z,N.mode,null,N.lineSeparator,N.direction):N.mode&&(Z.modeOption=N.mode),this.doc=Z;var oe=new er.inputStyles[N.inputStyle](this),Re=this.display=new ho(O,Z,oe,N);Re.wrapper.CodeMirror=this,Lc(this),N.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),hs(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 X,keySeq:null,specialChars:null},N.autofocus&&!d&&Re.input.focus(),c&&h<11&&setTimeout(function(){return G.display.input.reset(!0)},20),mr(this),cc(),$a(this),this.curOp.forceUpdate=!0,Ti(this,Z),N.autofocus&&!d||this.hasFocus()?setTimeout(function(){G.hasFocus()&&!G.state.focused&&zo(G)},20):ns(this);for(var ct in fe)fe.hasOwnProperty(ct)&&fe[ct](this,N[ct],Jl);pl(this),N.finishInit&&N.finishInit(this);for(var Nt=0;Nt<Oe.length;++Nt)Oe[Nt](this);Na(this),l&&N.lineWrapping&&getComputedStyle(Re.lineDiv).textRendering=="optimizelegibility"&&(Re.lineDiv.style.textRendering="auto")}er.defaults=oc,er.optionHandlers=fe;function mr(O){var N=O.display;Ee(N.scroller,"mousedown",Lo(O,Kl)),c&&h<11?Ee(N.scroller,"dblclick",Lo(O,function(Wt){if(wt(O,Wt))return;var Qt=pa(O,Wt);if(!Qt||ac(O,Wt)||Dr(O.display,Wt))return;Xe(Wt);var kr=O.findWordAt(Qt);xo(O.doc,kr.anchor,kr.head)})):Ee(N.scroller,"dblclick",function(Wt){return wt(O,Wt)||Xe(Wt)}),Ee(N.scroller,"contextmenu",function(Wt){return gc(O,Wt)}),Ee(N.input.getField(),"contextmenu",function(Wt){N.scroller.contains(Wt.target)||gc(O,Wt)});var G,Z={end:0};function oe(){N.activeTouch&&(G=setTimeout(function(){return N.activeTouch=null},1e3),Z=N.activeTouch,Z.end=+new Date)}function Re(Wt){if(Wt.touches.length!=1)return!1;var Qt=Wt.touches[0];return Qt.radiusX<=1&&Qt.radiusY<=1}function ct(Wt,Qt){if(Qt.left==null)return!0;var kr=Qt.left-Wt.left,tn=Qt.top-Wt.top;return kr*kr+tn*tn>20*20}Ee(N.scroller,"touchstart",function(Wt){if(!wt(O,Wt)&&!Re(Wt)&&!ac(O,Wt)){N.input.ensurePolled(),clearTimeout(G);var Qt=+new Date;N.activeTouch={start:Qt,moved:!1,prev:Qt-Z.end<=300?Z:null},Wt.touches.length==1&&(N.activeTouch.left=Wt.touches[0].pageX,N.activeTouch.top=Wt.touches[0].pageY)}}),Ee(N.scroller,"touchmove",function(){N.activeTouch&&(N.activeTouch.moved=!0)}),Ee(N.scroller,"touchend",function(Wt){var Qt=N.activeTouch;if(Qt&&!Dr(N,Wt)&&Qt.left!=null&&!Qt.moved&&new Date-Qt.start<300){var kr=O.coordsChar(N.activeTouch,"page"),tn;!Qt.prev||ct(Qt,Qt.prev)?tn=new ie(kr,kr):!Qt.prev.prev||ct(Qt,Qt.prev.prev)?tn=O.findWordAt(kr):tn=new ie(Kt(kr.line,0),Ft(O.doc,Kt(kr.line+1,0))),O.setSelection(tn.anchor,tn.head),O.focus(),Xe(Wt)}oe()}),Ee(N.scroller,"touchcancel",oe),Ee(N.scroller,"scroll",function(){N.scroller.clientHeight&&(Ya(O,N.scroller.scrollTop),Ci(O,N.scroller.scrollLeft,!0),rt(O,"scroll",O))}),Ee(N.scroller,"mousewheel",function(Wt){return Rn(O,Wt)}),Ee(N.scroller,"DOMMouseScroll",function(Wt){return Rn(O,Wt)}),Ee(N.wrapper,"scroll",function(){return N.wrapper.scrollTop=N.wrapper.scrollLeft=0}),N.dragFunctions={enter:function(Qt){wt(O,Qt)||Ae(Qt)},over:function(Qt){wt(O,Qt)||(ql(O,Qt),Ae(Qt))},start:function(Qt){return Vl(O,Qt)},drop:Lo(O,dl),leave:function(Qt){wt(O,Qt)||lc(O)}};var Nt=N.input.getField();Ee(Nt,"keyup",function(Wt){return Cc.call(O,Wt)}),Ee(Nt,"keydown",Lo(O,Hc)),Ee(Nt,"keypress",Lo(O,Tc)),Ee(Nt,"focus",function(Wt){return zo(O,Wt)}),Ee(Nt,"blur",function(Wt){return ns(O,Wt)})}var Oe=[];er.defineInitHook=function(O){return Oe.push(O)};function Q(O,N,G,Z){var oe=O.doc,Re;G==null&&(G="add"),G=="smart"&&(oe.mode.indent?Re=Sn(O,N).state:G="prev");var ct=O.options.tabSize,Nt=Pe(oe,N),Wt=K(Nt.text,null,ct);Nt.stateAfter&&(Nt.stateAfter=null);var Qt=Nt.text.match(/^\s*/)[0],kr;if(!Z&&!/\S/.test(Nt.text))kr=0,G="not";else if(G=="smart"&&(kr=oe.mode.indent(Re,Nt.text.slice(Qt.length),Nt.text),kr==$||kr>150)){if(!Z)return;G="prev"}G=="prev"?N>oe.first?kr=K(Pe(oe,N-1).text,null,ct):kr=0:G=="add"?kr=Wt+O.options.indentUnit:G=="subtract"?kr=Wt-O.options.indentUnit:typeof G=="number"&&(kr=Wt+G),kr=Math.max(0,kr);var tn="",mn=0;if(O.options.indentWithTabs)for(var wn=Math.floor(kr/ct);wn;--wn)mn+=ct,tn+=" ";if(mn<kr&&(tn+=be(kr-mn)),tn!=Qt)return Js(oe,tn,Kt(N,0),Kt(N,Qt.length),"+input"),Nt.stateAfter=null,!0;for(var ri=0;ri<oe.sel.ranges.length;ri++){var yi=oe.sel.ranges[ri];if(yi.head.line==N&&yi.head.ch<Qt.length){var Mi=Kt(N,Qt.length);ps(oe,ri,new ie(Mi,Mi));break}}}var me=null;function We(O){me=O}function nt(O,N,G,Z,oe){var Re=O.doc;O.display.shift=!1,Z||(Z=Re.sel);var ct=+new Date-200,Nt=oe=="paste"||O.state.pasteIncoming>ct,Wt=lr(N),Qt=null;if(Nt&&Z.ranges.length>1)if(me&&me.text.join(`
|
|
|
`)==N){if(Z.ranges.length%me.text.length==0){Qt=[];for(var kr=0;kr<me.text.length;kr++)Qt.push(Re.splitLines(me.text[kr]))}}else Wt.length==Z.ranges.length&&O.options.pasteLinesPerSelection&&(Qt=je(Wt,function(Di){return[Di]}));for(var tn=O.curOp.updateInput,mn=Z.ranges.length-1;mn>=0;mn--){var wn=Z.ranges[mn],ri=wn.from(),yi=wn.to();wn.empty()&&(G&&G>0?ri=Kt(ri.line,ri.ch-G):O.state.overwrite&&!Nt?yi=Kt(yi.line,Math.min(Pe(Re,yi.line).text.length,yi.ch+Ce(Wt).length)):Nt&&me&&me.lineWise&&me.text.join(`
|
|
|
`)==Wt.join(`
|
|
|
`)&&(ri=yi=Kt(ri.line,0)));var Mi={from:ri,to:yi,text:Qt?Qt[mn%Qt.length]:Wt,origin:oe||(Nt?"paste":O.state.cutIncoming>ct?"cut":"+input")};Ds(O.doc,Mi),ni(O,"inputRead",O,Mi)}N&&!Nt&&Rt(O,N),Qa(O),O.curOp.updateInput<2&&(O.curOp.updateInput=tn),O.curOp.typing=!0,O.state.pasteIncoming=O.state.cutIncoming=-1}function Et(O,N){var G=O.clipboardData&&O.clipboardData.getData("Text");if(G)return O.preventDefault(),!N.isReadOnly()&&!N.options.disableInput&&Uo(N,function(){return nt(N,G,0,null,"paste")}),!0}function Rt(O,N){if(!O.options.electricChars||!O.options.smartIndent)return;for(var G=O.doc.sel,Z=G.ranges.length-1;Z>=0;Z--){var oe=G.ranges[Z];if(oe.head.ch>100||Z&&G.ranges[Z-1].head.line==oe.head.line)continue;var Re=O.getModeAt(oe.head),ct=!1;if(Re.electricChars){for(var Nt=0;Nt<Re.electricChars.length;Nt++)if(N.indexOf(Re.electricChars.charAt(Nt))>-1){ct=Q(O,oe.head.line,"smart");break}}else Re.electricInput&&(Re.electricInput.test(Pe(O.doc,oe.head.line).text.slice(0,oe.head.ch))&&(ct=Q(O,oe.head.line,"smart")));ct&&ni(O,"electricInput",O,oe.head.line)}}function Mt(O){for(var N=[],G=[],Z=0;Z<O.doc.sel.ranges.length;Z++){var oe=O.doc.sel.ranges[Z].head.line,Re={anchor:Kt(oe,0),head:Kt(oe+1,0)};G.push(Re),N.push(O.getRange(Re.anchor,Re.head))}return{text:N,ranges:G}}function nr(O,N,G,Z){O.setAttribute("autocorrect",G?"":"off"),O.setAttribute("autocapitalize",Z?"":"off"),O.setAttribute("spellcheck",!!N)}function yr(){var O=L("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),N=L("div",[O],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?O.style.width="1000px":O.setAttribute("wrap","off"),s&&(O.style.border="1px solid black"),nr(O),N}function rr(O){var N=O.optionHandlers,G=O.helpers={};O.prototype={constructor:O,focus:function(){window.focus(),this.display.input.focus()},setOption:function(oe,Re){var ct=this.options,Nt=ct[oe];if(ct[oe]==Re&&oe!="mode")return;ct[oe]=Re,N.hasOwnProperty(oe)&&Lo(this,N[oe])(this,Re,Nt),rt(this,"optionChange",this,oe)},getOption:function(oe){return this.options[oe]},getDoc:function(){return this.doc},addKeyMap:function(oe,Re){this.state.keyMaps[Re?"push":"unshift"](Fl(oe))},removeKeyMap:function(oe){for(var Re=this.state.keyMaps,ct=0;ct<Re.length;++ct)if(Re[ct]==oe||Re[ct].name==oe)return Re.splice(ct,1),!0},addOverlay:Yo(function(Z,oe){var Re=Z.token?Z:O.getMode(this.options,Z);if(Re.startState)throw new Error("Overlays may not be stateful.");te(this.state.overlays,{mode:Re,modeSpec:Z,opaque:oe&&oe.opaque,priority:oe&&oe.priority||0},function(ct){return ct.priority}),this.state.modeGen++,ba(this)}),removeOverlay:Yo(function(Z){for(var oe=this.state.overlays,Re=0;Re<oe.length;++Re){var ct=oe[Re].modeSpec;if(ct==Z||typeof Z=="string"&&ct.name==Z){oe.splice(Re,1),this.state.modeGen++,ba(this);return}}}),indentLine:Yo(function(Z,oe,Re){typeof oe!="string"&&typeof oe!="number"&&(oe==null?oe=this.options.smartIndent?"smart":"prev":oe=oe?"add":"subtract"),yn(this.doc,Z)&&Q(this,Z,oe,Re)}),indentSelection:Yo(function(Z){for(var oe=this.doc.sel.ranges,Re=-1,ct=0;ct<oe.length;ct++){var Nt=oe[ct];if(Nt.empty())Nt.head.line>Re&&(Q(this,Nt.head.line,Z,!0),Re=Nt.head.line,ct==this.doc.sel.primIndex&&Qa(this));else{var Wt=Nt.from(),Qt=Nt.to(),kr=Math.max(Re,Wt.line);Re=Math.min(this.lastLine(),Qt.line-(Qt.ch?0:1))+1;for(var tn=kr;tn<Re;++tn)Q(this,tn,Z);var mn=this.doc.sel.ranges;Wt.ch==0&&oe.length==mn.length&&mn[ct].from().ch>0&&ps(this.doc,ct,new ie(Wt,mn[ct].to()),ne)}}}),getTokenAt:function(oe,Re){return ii(this,oe,Re)},getLineTokens:function(oe,Re){return ii(this,Kt(oe),Re,!0)},getTokenTypeAt:function(oe){oe=Ft(this.doc,oe);var Re=bn(this,Pe(this.doc,oe.line)),ct=0,Nt=(Re.length-1)/2,Wt=oe.ch,Qt;if(Wt==0)Qt=Re[2];else for(;;){var kr=ct+Nt>>1;if((kr?Re[kr*2-1]:0)>=Wt)Nt=kr;else if(Re[kr*2+1]<Wt)ct=kr+1;else{Qt=Re[kr*2+2];break}}var tn=Qt?Qt.indexOf("overlay "):-1;return tn<0?Qt:tn==0?null:Qt.slice(0,tn-1)},getModeAt:function(oe){var Re=this.doc.mode;return Re.innerMode?O.innerMode(Re,this.getTokenAt(oe).state).mode:Re},getHelper:function(oe,Re){return this.getHelpers(oe,Re)[0]},getHelpers:function(oe,Re){var ct=[];if(!G.hasOwnProperty(Re))return ct;var Nt=G[Re],Wt=this.getModeAt(oe);if(typeof Wt[Re]=="string")Nt[Wt[Re]]&&ct.push(Nt[Wt[Re]]);else if(Wt[Re])for(var Qt=0;Qt<Wt[Re].length;Qt++){var kr=Nt[Wt[Re][Qt]];kr&&ct.push(kr)}else Wt.helperType&&Nt[Wt.helperType]?ct.push(Nt[Wt.helperType]):Nt[Wt.name]&&ct.push(Nt[Wt.name]);for(var tn=0;tn<Nt._global.length;tn++){var mn=Nt._global[tn];mn.pred(Wt,this)&&z(ct,mn.val)==-1&&ct.push(mn.val)}return ct},getStateAfter:function(oe,Re){var ct=this.doc;return oe=$r(ct,oe==null?ct.first+ct.size-1:oe),Sn(this,oe+1,Re).state},cursorCoords:function(oe,Re){var ct,Nt=this.doc.sel.primary();return oe==null?ct=Nt.head:typeof oe=="object"?ct=Ft(this.doc,oe):ct=oe?Nt.from():Nt.to(),wa(this,ct,Re||"page")},charCoords:function(oe,Re){return ka(this,Ft(this.doc,oe),Re||"page")},coordsChar:function(oe,Re){return oe=ca(this,oe,Re||"page"),ji(this,oe.left,oe.top)},lineAtHeight:function(oe,Re){return oe=ca(this,{top:oe,left:0},Re||"page").top,Nr(this.doc,oe+this.display.viewOffset)},heightAtLine:function(oe,Re,ct){var Nt=!1,Wt;if(typeof oe=="number"){var Qt=this.doc.first+this.doc.size-1;oe<this.doc.first?oe=this.doc.first:oe>Qt&&(oe=Qt,Nt=!0),Wt=Pe(this.doc,oe)}else Wt=oe;return Ea(this,Wt,{top:0,left:0},Re||"page",ct||Nt).top+(Nt?this.doc.height-Un(Wt):0)},defaultTextHeight:function(){return Ma(this.display)},defaultCharWidth:function(){return Xa(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(oe,Re,ct,Nt,Wt){var Qt=this.display;oe=wa(this,Ft(this.doc,oe));var kr=oe.bottom,tn=oe.left;if(Re.style.position="absolute",Re.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Re),Qt.sizer.appendChild(Re),Nt=="over")kr=oe.top;else if(Nt=="above"||Nt=="near"){var mn=Math.max(Qt.wrapper.clientHeight,this.doc.height),wn=Math.max(Qt.sizer.clientWidth,Qt.lineSpace.clientWidth);(Nt=="above"||oe.bottom+Re.offsetHeight>mn)&&oe.top>Re.offsetHeight?kr=oe.top-Re.offsetHeight:oe.bottom+Re.offsetHeight<=mn&&(kr=oe.bottom),tn+Re.offsetWidth>wn&&(tn=wn-Re.offsetWidth)}Re.style.top=kr+"px",Re.style.left=Re.style.right="",Wt=="right"?(tn=Qt.sizer.clientWidth-Re.offsetWidth,Re.style.right="0px"):(Wt=="left"?tn=0:Wt=="middle"&&(tn=(Qt.sizer.clientWidth-Re.offsetWidth)/2),Re.style.left=tn+"px"),ct&&uo(this,{left:tn,top:kr,right:tn+Re.offsetWidth,bottom:kr+Re.offsetHeight})},triggerOnKeyDown:Yo(Hc),triggerOnKeyPress:Yo(Tc),triggerOnKeyUp:Cc,triggerOnMouseDown:Yo(Kl),execCommand:function(oe){if(Hl.hasOwnProperty(oe))return Hl[oe].call(null,this)},triggerElectric:Yo(function(Z){Rt(this,Z)}),findPosH:function(oe,Re,ct,Nt){var Wt=1;Re<0&&(Wt=-1,Re=-Re);for(var Qt=Ft(this.doc,oe),kr=0;kr<Re&&!(Qt=qt(this.doc,Qt,Wt,ct,Nt),Qt.hitSide);++kr);return Qt},moveH:Yo(function(Z,oe){var Re=this;this.extendSelectionsBy(function(ct){return Re.display.shift||Re.doc.extend||ct.empty()?qt(Re.doc,ct.head,Z,oe,Re.options.rtlMoveVisually):Z<0?ct.from():ct.to()},ge)}),deleteH:Yo(function(Z,oe){var Re=this.doc.sel,ct=this.doc;Re.somethingSelected()?ct.replaceSelection("",null,"+delete"):Bl(this,function(Nt){var Wt=qt(ct,Nt.head,Z,oe,!1);return Z<0?{from:Wt,to:Nt.head}:{from:Nt.head,to:Wt}})}),findPosV:function(oe,Re,ct,Nt){var Wt=1,Qt=Nt;Re<0&&(Wt=-1,Re=-Re);for(var kr=Ft(this.doc,oe),tn=0;tn<Re;++tn){var mn=wa(this,kr,"div");if(Qt==null?Qt=mn.left:mn.left=Qt,kr=hr(this,mn,Wt,ct),kr.hitSide)break}return kr},moveV:Yo(function(Z,oe){var Re=this,ct=this.doc,Nt=[],Wt=!this.display.shift&&!ct.extend&&ct.sel.somethingSelected();if(ct.extendSelectionsBy(function(kr){if(Wt)return Z<0?kr.from():kr.to();var tn=wa(Re,kr.head,"div");kr.goalColumn!=null&&(tn.left=kr.goalColumn),Nt.push(tn.left);var mn=hr(Re,tn,Z,oe);return oe=="page"&&kr==ct.sel.primary()&&Yi(Re,ka(Re,mn,"div").top-tn.top),mn},ge),Nt.length)for(var Qt=0;Qt<ct.sel.ranges.length;Qt++)ct.sel.ranges[Qt].goalColumn=Nt[Qt]}),findWordAt:function(oe){var Re=this.doc,ct=Pe(Re,oe.line).text,Nt=oe.ch,Wt=oe.ch;if(ct){var Qt=this.getHelper(oe,"wordChars");(oe.sticky=="before"||Wt==ct.length)&&Nt?--Nt:++Wt;for(var kr=ct.charAt(Nt),tn=ee(kr,Qt)?function(mn){return ee(mn,Qt)}:/\s/.test(kr)?function(mn){return/\s/.test(mn)}:function(mn){return!/\s/.test(mn)&&!ee(mn)};Nt>0&&tn(ct.charAt(Nt-1));)--Nt;for(;Wt<ct.length&&tn(ct.charAt(Wt));)++Wt}return new ie(Kt(oe.line,Nt),Kt(oe.line,Wt))},toggleOverwrite:function(oe){if(oe!=null&&oe==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?W(this.display.cursorDiv,"CodeMirror-overwrite"):x(this.display.cursorDiv,"CodeMirror-overwrite"),rt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==P()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Yo(function(Z,oe){Mo(this,Z,oe)}),getScrollInfo:function(){var oe=this.display.scroller;return{left:oe.scrollLeft,top:oe.scrollTop,height:oe.scrollHeight-sn(this)-this.display.barHeight,width:oe.scrollWidth-sn(this)-this.display.barWidth,clientHeight:Yr(this),clientWidth:an(this)}},scrollIntoView:Yo(function(Z,oe){Z==null?(Z={from:this.doc.sel.primary().head,to:null},oe==null&&(oe=this.options.cursorScrollMargin)):typeof Z=="number"?Z={from:Kt(Z,0),to:null}:Z.from==null&&(Z={from:Z,to:null}),Z.to||(Z.to=Z.from),Z.margin=oe||0,Z.from.line!=null?Qo(this,Z):ua(this,Z.from,Z.to,Z.margin)}),setSize:Yo(function(Z,oe){var Re=this,ct=function(Qt){return typeof Qt=="number"||/^\d+$/.test(String(Qt))?Qt+"px":Qt};Z!=null&&(this.display.wrapper.style.width=ct(Z)),oe!=null&&(this.display.wrapper.style.height=ct(oe)),this.options.lineWrapping&&fa(this);var Nt=this.display.viewFrom;this.doc.iter(Nt,this.display.viewTo,function(Wt){if(Wt.widgets){for(var Qt=0;Qt<Wt.widgets.length;Qt++)if(Wt.widgets[Qt].noHScroll){Oi(Re,Nt,"widget");break}}++Nt}),this.curOp.forceUpdate=!0,rt(this,"refresh",this)}),operation:function(oe){return Uo(this,oe)},startOperation:function(){return $a(this)},endOperation:function(){return Na(this)},refresh:Yo(function(){var Z=this.display.cachedTextHeight;ba(this),this.curOp.forceUpdate=!0,zi(this),Mo(this,this.doc.scrollLeft,this.doc.scrollTop),Xs(this.display),(Z==null||Math.abs(Z-Ma(this.display))>.5||this.options.lineWrapping)&&io(this),rt(this,"refresh",this)}),swapDoc:Yo(function(Z){var oe=this.doc;return oe.cm=null,this.state.selectingText&&this.state.selectingText(),Ti(this,Z),zi(this),this.display.input.reset(),Mo(this,Z.scrollLeft,Z.scrollTop),this.curOp.forceScroll=!0,ni(this,"swapDoc",this,oe),oe}),phrase:function(oe){var Re=this.options.phrases;return Re&&Object.prototype.hasOwnProperty.call(Re,oe)?Re[oe]:oe},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}},Dt(O),O.registerHelper=function(Z,oe,Re){G.hasOwnProperty(Z)||(G[Z]=O[Z]={_global:[]}),G[Z][oe]=Re},O.registerGlobalHelper=function(Z,oe,Re,ct){O.registerHelper(Z,oe,ct),G[Z]._global.push({pred:Re,val:ct})}}function qt(O,N,G,Z,oe){var Re=N,ct=G,Nt=Pe(O,N.line),Wt=oe&&O.direction=="rtl"?-G:G;function Qt(){var Ii=N.line+Wt;return Ii<O.first||Ii>=O.first+O.size?!1:(N=new Kt(Ii,N.ch,N.sticky),Nt=Pe(O,Ii))}function kr(Ii){var Gi;if(Z=="codepoint"){var ia=Nt.text.charCodeAt(N.ch+(Z>0?0:-1));isNaN(ia)?Gi=null:Gi=new Kt(N.line,Math.max(0,Math.min(Nt.text.length,N.ch+G*(ia>=55296&&ia<56320?2:1))),-G)}else oe?Gi=hc(O.cm,Nt,N,G):Gi=Sc(Nt,N,G);if(Gi==null)if(!Ii&&Qt())N=xc(oe,O.cm,Nt,N.line,Wt);else return!1;else N=Gi;return!0}if(Z=="char"||Z=="codepoint")kr();else if(Z=="column")kr(!0);else if(Z=="word"||Z=="group")for(var tn=null,mn=Z=="group",wn=O.cm&&O.cm.getHelper(N,"wordChars"),ri=!0;!(G<0&&!kr(!ri));ri=!1){var yi=Nt.text.charAt(N.ch)||`
|
|
|
`,Mi=ee(yi,wn)?"w":mn&&yi==`
|
|
|
`?"n":!mn||/\s/.test(yi)?null:"p";if(mn&&!ri&&!Mi&&(Mi="s"),tn&&tn!=Mi){G<0&&(G=1,kr(),N.sticky="after");break}if(Mi&&(tn=Mi),G>0&&!kr(!ri))break}var Di=ml(O,N,Re,ct,!0);return kt(Re,Di)&&(Di.hitSide=!0),Di}function hr(O,N,G,Z){var oe=O.doc,Re=N.left,ct;if(Z=="page"){var Nt=Math.min(O.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Wt=Math.max(Nt-.5*Ma(O.display),3);ct=(G>0?N.bottom:N.top)+G*Wt}else Z=="line"&&(ct=G>0?N.bottom+3:N.top-3);for(var Qt;!(Qt=ji(O,Re,ct),!Qt.outside);){if(G<0?ct<=0:ct>=oe.height){Qt.hitSide=!0;break}ct+=G*5}return Qt}var Er=function(N){this.cm=N,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new X,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Er.prototype.init=function(O){var N=this,G=this,Z=G.cm,oe=G.div=O.lineDiv;nr(oe,Z.options.spellcheck,Z.options.autocorrect,Z.options.autocapitalize);function Re(Nt){for(var Wt=Nt.target;Wt;Wt=Wt.parentNode){if(Wt==oe)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Wt.className))break}return!1}Ee(oe,"paste",function(Nt){if(!Re(Nt)||wt(Z,Nt)||Et(Nt,Z))return;h<=11&&setTimeout(Lo(Z,function(){return N.updateFromDOM()}),20)}),Ee(oe,"compositionstart",function(Nt){N.composing={data:Nt.data,done:!1}}),Ee(oe,"compositionupdate",function(Nt){N.composing||(N.composing={data:Nt.data,done:!1})}),Ee(oe,"compositionend",function(Nt){N.composing&&(Nt.data!=N.composing.data&&N.readFromDOMSoon(),N.composing.done=!0)}),Ee(oe,"touchstart",function(){return G.forceCompositionEnd()}),Ee(oe,"input",function(){N.composing||N.readFromDOMSoon()});function ct(Nt){if(!Re(Nt)||wt(Z,Nt))return;if(Z.somethingSelected())We({lineWise:!1,text:Z.getSelections()}),Nt.type=="cut"&&Z.replaceSelection("",null,"cut");else if(Z.options.lineWiseCopyCut){var Wt=Mt(Z);We({lineWise:!0,text:Wt.text}),Nt.type=="cut"&&Z.operation(function(){Z.setSelections(Wt.ranges,0,ne),Z.replaceSelection("",null,"cut")})}else return;if(Nt.clipboardData){Nt.clipboardData.clearData();var Qt=me.text.join(`
|
|
|
`);if(Nt.clipboardData.setData("Text",Qt),Nt.clipboardData.getData("Text")==Qt){Nt.preventDefault();return}}var kr=yr(),tn=kr.firstChild;Z.display.lineSpace.insertBefore(kr,Z.display.lineSpace.firstChild),tn.value=me.text.join(`
|
|
|
`);var mn=document.activeElement;U(tn),setTimeout(function(){Z.display.lineSpace.removeChild(kr),mn.focus(),mn==oe&&G.showPrimarySelection()},50)}Ee(oe,"copy",ct),Ee(oe,"cut",ct)},Er.prototype.screenReaderLabelChanged=function(O){O?this.div.setAttribute("aria-label",O):this.div.removeAttribute("aria-label")},Er.prototype.prepareSelection=function(){var O=Ga(this.cm,!1);return O.focus=document.activeElement==this.div,O},Er.prototype.showSelection=function(O,N){if(!O||!this.cm.display.view.length)return;(O.focus||N)&&this.showPrimarySelection(),this.showMultipleSelections(O)},Er.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Er.prototype.showPrimarySelection=function(){var O=this.getSelection(),N=this.cm,G=N.doc.sel.primary(),Z=G.from(),oe=G.to();if(N.display.viewTo==N.display.viewFrom||Z.line>=N.display.viewTo||oe.line<N.display.viewFrom){O.removeAllRanges();return}var Re=Yn(N,O.anchorNode,O.anchorOffset),ct=Yn(N,O.focusNode,O.focusOffset);if(Re&&!Re.bad&&ct&&!ct.bad&&St(Hr(Re,ct),Z)==0&&St(Br(Re,ct),oe)==0)return;var Nt=N.display.view,Wt=Z.line>=N.display.viewFrom&&zr(N,Z)||{node:Nt[0].measure.map[2],offset:0},Qt=oe.line<N.display.viewTo&&zr(N,oe);if(!Qt){var kr=Nt[Nt.length-1].measure,tn=kr.maps?kr.maps[kr.maps.length-1]:kr.map;Qt={node:tn[tn.length-1],offset:tn[tn.length-2]-tn[tn.length-3]}}if(!Wt||!Qt){O.removeAllRanges();return}var mn=O.rangeCount&&O.getRangeAt(0),wn;try{wn=k(Wt.node,Wt.offset,Qt.offset,Qt.node)}catch(ri){}wn&&(!A&&N.state.focused?(O.collapse(Wt.node,Wt.offset),wn.collapsed||(O.removeAllRanges(),O.addRange(wn))):(O.removeAllRanges(),O.addRange(wn)),mn&&O.anchorNode==null?O.addRange(mn):A&&this.startGracePeriod()),this.rememberSelection()},Er.prototype.startGracePeriod=function(){var O=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){O.gracePeriod=!1,O.selectionChanged()&&O.cm.operation(function(){return O.cm.curOp.selectionChanged=!0})},20)},Er.prototype.showMultipleSelections=function(O){I(this.cm.display.cursorDiv,O.cursors),I(this.cm.display.selectionDiv,O.selection)},Er.prototype.rememberSelection=function(){var O=this.getSelection();this.lastAnchorNode=O.anchorNode,this.lastAnchorOffset=O.anchorOffset,this.lastFocusNode=O.focusNode,this.lastFocusOffset=O.focusOffset},Er.prototype.selectionInEditor=function(){var O=this.getSelection();if(!O.rangeCount)return!1;var N=O.getRangeAt(0).commonAncestorContainer;return F(this.div,N)},Er.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Er.prototype.blur=function(){this.div.blur()},Er.prototype.getField=function(){return this.div},Er.prototype.supportsTouch=function(){return!0},Er.prototype.receivedFocus=function(){var O=this;this.selectionInEditor()?this.pollSelection():Uo(this.cm,function(){return O.cm.curOp.selectionChanged=!0});function N(){O.cm.state.focused&&(O.pollSelection(),O.polling.set(O.cm.options.pollInterval,N))}this.polling.set(this.cm.options.pollInterval,N)},Er.prototype.selectionChanged=function(){var O=this.getSelection();return O.anchorNode!=this.lastAnchorNode||O.anchorOffset!=this.lastAnchorOffset||O.focusNode!=this.lastFocusNode||O.focusOffset!=this.lastFocusOffset},Er.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var O=this.getSelection(),N=this.cm;if(u&&n&&this.cm.display.gutterSpecs.length&&En(O.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var G=Yn(N,O.anchorNode,O.anchorOffset),Z=Yn(N,O.focusNode,O.focusOffset);G&&Z&&Uo(N,function(){ko(N.doc,we(G,Z),ne),(G.bad||Z.bad)&&(N.curOp.selectionChanged=!0)})},Er.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var O=this.cm,N=O.display,G=O.doc.sel.primary(),Z=G.from(),oe=G.to();if(Z.ch==0&&Z.line>O.firstLine()&&(Z=Kt(Z.line-1,Pe(O.doc,Z.line-1).length)),oe.ch==Pe(O.doc,oe.line).text.length&&oe.line<O.lastLine()&&(oe=Kt(oe.line+1,0)),Z.line<N.viewFrom||oe.line>N.viewTo-1)return!1;var Re,ct,Nt;Z.line==N.viewFrom||(Re=ga(O,Z.line))==0?(ct=$t(N.view[0].line),Nt=N.view[0].node):(ct=$t(N.view[Re].line),Nt=N.view[Re-1].node.nextSibling);var Wt=ga(O,oe.line),Qt,kr;if(Wt==N.view.length-1?(Qt=N.viewTo-1,kr=N.lineDiv.lastChild):(Qt=$t(N.view[Wt+1].line)-1,kr=N.view[Wt+1].node.previousSibling),!Nt)return!1;for(var tn=O.doc.splitLines(pi(O,Nt,kr,ct,Qt)),mn=Ge(O.doc,Kt(ct,0),Kt(Qt,Pe(O.doc,Qt).text.length));tn.length>1&&mn.length>1;)if(Ce(tn)==Ce(mn))tn.pop(),mn.pop(),Qt--;else if(tn[0]==mn[0])tn.shift(),mn.shift(),ct++;else break;for(var wn=0,ri=0,yi=tn[0],Mi=mn[0],Di=Math.min(yi.length,Mi.length);wn<Di&&yi.charCodeAt(wn)==Mi.charCodeAt(wn);)++wn;for(var Ii=Ce(tn),Gi=Ce(mn),ia=Math.min(Ii.length-(tn.length==1?wn:0),Gi.length-(mn.length==1?wn:0));ri<ia&&Ii.charCodeAt(Ii.length-ri-1)==Gi.charCodeAt(Gi.length-ri-1);)++ri;if(tn.length==1&&mn.length==1&&ct==Z.line)for(;wn&&wn>Z.ch&&Ii.charCodeAt(Ii.length-ri-1)==Gi.charCodeAt(Gi.length-ri-1);)wn--,ri++;tn[tn.length-1]=Ii.slice(0,Ii.length-ri).replace(/^\u200b+/,""),tn[0]=tn[0].slice(wn).replace(/\u200b+$/,"");var za=Kt(ct,wn),La=Kt(Qt,mn.length?Ce(mn).length-ri:0);if(tn.length>1||tn[0]||St(za,La))return Js(O.doc,tn,za,La,"+input"),!0},Er.prototype.ensurePolled=function(){this.forceCompositionEnd()},Er.prototype.reset=function(){this.forceCompositionEnd()},Er.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},Er.prototype.readFromDOMSoon=function(){var O=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(O.readDOMTimeout=null,O.composing)if(O.composing.done)O.composing=null;else return;O.updateFromDOM()},80)},Er.prototype.updateFromDOM=function(){var O=this;(this.cm.isReadOnly()||!this.pollContent())&&Uo(this.cm,function(){return ba(O.cm)})},Er.prototype.setUneditable=function(O){O.contentEditable="false"},Er.prototype.onKeyPress=function(O){if(O.charCode==0||this.composing)return;O.preventDefault(),this.cm.isReadOnly()||Lo(this.cm,nt)(this.cm,String.fromCharCode(O.charCode==null?O.keyCode:O.charCode),0)},Er.prototype.readOnlyChanged=function(O){this.div.contentEditable=String(O!="nocursor")},Er.prototype.onContextMenu=function(){},Er.prototype.resetPosition=function(){},Er.prototype.needsContentAttribute=!0;function zr(O,N){var G=si(O,N.line);if(!G||G.hidden)return null;var Z=Pe(O.doc,N.line),oe=vn(G,Z,N.line),Re=it(Z,O.doc.direction),ct="left";if(Re){var Nt=_e(Re,N.ch);ct=Nt%2?"right":"left"}var Wt=Bi(oe.map,N.ch,ct);return Wt.offset=Wt.collapse=="right"?Wt.end:Wt.start,Wt}function En(O){for(var N=O;N;N=N.parentNode)if(/CodeMirror-gutter-wrapper/.test(N.className))return!0;return!1}function jn(O,N){return N&&(O.bad=!0),O}function pi(O,N,G,Z,oe){var Re="",ct=!1,Nt=O.doc.lineSeparator(),Wt=!1;function Qt(wn){return function(ri){return ri.id==wn}}function kr(){ct&&(Re+=Nt,Wt&&(Re+=Nt),ct=Wt=!1)}function tn(wn){wn&&(kr(),Re+=wn)}function mn(wn){if(wn.nodeType==1){var ri=wn.getAttribute("cm-text");if(ri){tn(ri);return}var yi=wn.getAttribute("cm-marker"),Mi;if(yi){var Di=O.findMarks(Kt(Z,0),Kt(oe+1,0),Qt(+yi));Di.length&&(Mi=Di[0].find(0))&&tn(Ge(O.doc,Mi.from,Mi.to).join(Nt));return}if(wn.getAttribute("contenteditable")=="false")return;var Ii=/^(pre|div|p|li|table|br)$/i.test(wn.nodeName);if(!/^br$/i.test(wn.nodeName)&&wn.textContent.length==0)return;Ii&&kr();for(var Gi=0;Gi<wn.childNodes.length;Gi++)mn(wn.childNodes[Gi]);/^(pre|p)$/i.test(wn.nodeName)&&(Wt=!0),Ii&&(ct=!0)}else wn.nodeType==3&&tn(wn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(mn(N),N==G);)N=N.nextSibling,Wt=!1;return Re}function Yn(O,N,G){var Z;if(N==O.display.lineDiv){if(Z=O.display.lineDiv.childNodes[G],!Z)return jn(O.clipPos(Kt(O.display.viewTo-1)),!0);N=null,G=0}else for(Z=N;;Z=Z.parentNode){if(!Z||Z==O.display.lineDiv)return null;if(Z.parentNode&&Z.parentNode==O.display.lineDiv)break}for(var oe=0;oe<O.display.view.length;oe++){var Re=O.display.view[oe];if(Re.node==Z)return Ji(Re,N,G)}}function Ji(O,N,G){var Z=O.text.firstChild,oe=!1;if(!N||!F(Z,N))return jn(Kt($t(O.line),0),!0);if(N==Z&&(oe=!0,N=Z.childNodes[G],G=0,!N)){var Re=O.rest?Ce(O.rest):O.line;return jn(Kt($t(Re),Re.text.length),oe)}var ct=N.nodeType==3?N:null,Nt=N;for(!ct&&N.childNodes.length==1&&N.firstChild.nodeType==3&&(ct=N.firstChild,G&&(G=ct.nodeValue.length));Nt.parentNode!=Z;)Nt=Nt.parentNode;var Wt=O.measure,Qt=Wt.maps;function kr(Mi,Di,Ii){for(var Gi=-1;Gi<(Qt?Qt.length:0);Gi++)for(var ia=Gi<0?Wt.map:Qt[Gi],za=0;za<ia.length;za+=3){var La=ia[za+2];if(La==Mi||La==Di){var mo=$t(Gi<0?O.line:O.rest[Gi]),Eo=ia[za]+Ii;return(Ii<0||La!=Mi)&&(Eo=ia[za+(Ii?1:0)]),Kt(mo,Eo)}}}var tn=kr(ct,Nt,G);if(tn)return jn(tn,oe);for(var mn=Nt.nextSibling,wn=ct?ct.nodeValue.length-G:0;mn;mn=mn.nextSibling){if(tn=kr(mn,mn.firstChild,0),tn)return jn(Kt(tn.line,tn.ch-wn),oe);wn+=mn.textContent.length}for(var ri=Nt.previousSibling,yi=G;ri;ri=ri.previousSibling){if(tn=kr(ri,ri.firstChild,-1),tn)return jn(Kt(tn.line,tn.ch+yi),oe);yi+=ri.textContent.length}}var Ei=function(N){this.cm=N,this.prevInput="",this.pollingFast=!1,this.polling=new X,this.hasSelection=!1,this.composing=null};Ei.prototype.init=function(O){var N=this,G=this,Z=this.cm;this.createField(O);var oe=this.textarea;O.wrapper.insertBefore(this.wrapper,O.wrapper.firstChild),s&&(oe.style.width="0px"),Ee(oe,"input",function(){c&&h>=9&&N.hasSelection&&(N.hasSelection=null),G.poll()}),Ee(oe,"paste",function(ct){if(wt(Z,ct)||Et(ct,Z))return;Z.state.pasteIncoming=+new Date,G.fastPoll()});function Re(ct){if(wt(Z,ct))return;if(Z.somethingSelected())We({lineWise:!1,text:Z.getSelections()});else if(Z.options.lineWiseCopyCut){var Nt=Mt(Z);We({lineWise:!0,text:Nt.text}),ct.type=="cut"?Z.setSelections(Nt.ranges,null,ne):(G.prevInput="",oe.value=Nt.text.join(`
|
|
|
`),U(oe))}else return;ct.type=="cut"&&(Z.state.cutIncoming=+new Date)}Ee(oe,"cut",Re),Ee(oe,"copy",Re),Ee(O.scroller,"paste",function(ct){if(Dr(O,ct)||wt(Z,ct))return;if(!oe.dispatchEvent){Z.state.pasteIncoming=+new Date,G.focus();return}var Nt=new Event("paste");Nt.clipboardData=ct.clipboardData,oe.dispatchEvent(Nt)}),Ee(O.lineSpace,"selectstart",function(ct){Dr(O,ct)||Xe(ct)}),Ee(oe,"compositionstart",function(){var ct=Z.getCursor("from");G.composing&&G.composing.range.clear(),G.composing={start:ct,range:Z.markText(ct,Z.getCursor("to"),{className:"CodeMirror-composing"})}}),Ee(oe,"compositionend",function(){G.composing&&(G.poll(),G.composing.range.clear(),G.composing=null)})},Ei.prototype.createField=function(O){this.wrapper=yr(),this.textarea=this.wrapper.firstChild},Ei.prototype.screenReaderLabelChanged=function(O){O?this.textarea.setAttribute("aria-label",O):this.textarea.removeAttribute("aria-label")},Ei.prototype.prepareSelection=function(){var O=this.cm,N=O.display,G=O.doc,Z=Ga(O);if(O.options.moveInputWithCursor){var oe=wa(O,G.sel.primary().head,"div"),Re=N.wrapper.getBoundingClientRect(),ct=N.lineDiv.getBoundingClientRect();Z.teTop=Math.max(0,Math.min(N.wrapper.clientHeight-10,oe.top+ct.top-Re.top)),Z.teLeft=Math.max(0,Math.min(N.wrapper.clientWidth-10,oe.left+ct.left-Re.left))}return Z},Ei.prototype.showSelection=function(O){var N=this.cm,G=N.display;I(G.cursorDiv,O.cursors),I(G.selectionDiv,O.selection),O.teTop!=null&&(this.wrapper.style.top=O.teTop+"px",this.wrapper.style.left=O.teLeft+"px")},Ei.prototype.reset=function(O){if(this.contextMenuPending||this.composing)return;var N=this.cm;if(N.somethingSelected()){this.prevInput="";var G=N.getSelection();this.textarea.value=G,N.state.focused&&U(this.textarea),c&&h>=9&&(this.hasSelection=G)}else O||(this.prevInput=this.textarea.value="",c&&h>=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"&&(!d||P()!=this.textarea))try{this.textarea.focus()}catch(O){}},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 O=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){O.poll(),O.cm.state.focused&&O.slowPoll()})},Ei.prototype.fastPoll=function(){var O=!1,N=this;N.pollingFast=!0;function G(){var Z=N.poll();!Z&&!O?(O=!0,N.polling.set(60,G)):(N.pollingFast=!1,N.slowPoll())}N.polling.set(20,G)},Ei.prototype.poll=function(){var O=this,N=this.cm,G=this.textarea,Z=this.prevInput;if(this.contextMenuPending||!N.state.focused||pr(G)&&!Z&&!this.composing||N.isReadOnly()||N.options.disableInput||N.state.keySeq)return!1;var oe=G.value;if(oe==Z&&!N.somethingSelected())return!1;if(c&&h>=9&&this.hasSelection===oe||v&&/[\uf700-\uf7ff]/.test(oe))return N.display.input.reset(),!1;if(N.doc.sel==N.display.selForContextMenu){var Re=oe.charCodeAt(0);if(Re==8203&&!Z&&(Z="\u200B"),Re==8666)return this.reset(),this.cm.execCommand("undo")}for(var ct=0,Nt=Math.min(Z.length,oe.length);ct<Nt&&Z.charCodeAt(ct)==oe.charCodeAt(ct);)++ct;return Uo(N,function(){nt(N,oe.slice(ct),Z.length-ct,null,O.composing?"*compose":null),oe.length>1e3||oe.indexOf(`
|
|
|
`)>-1?G.value=O.prevInput="":O.prevInput=oe,O.composing&&(O.composing.range.clear(),O.composing.range=N.markText(O.composing.start,N.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ei.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ei.prototype.onKeyPress=function(){c&&h>=9&&(this.hasSelection=null),this.fastPoll()},Ei.prototype.onContextMenu=function(O){var N=this,G=N.cm,Z=G.display,oe=N.textarea;N.contextMenuPending&&N.contextMenuPending();var Re=pa(G,O),ct=Z.scroller.scrollTop;if(!Re||i)return;var Nt=G.options.resetSelectionOnContextMenu;Nt&&G.doc.sel.contains(Re)==-1&&Lo(G,ko)(G.doc,we(Re),ne);var Wt=oe.style.cssText,Qt=N.wrapper.style.cssText,kr=N.wrapper.offsetParent.getBoundingClientRect();N.wrapper.style.cssText="position: static",oe.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(O.clientY-kr.top-5)+"px; left: "+(O.clientX-kr.left-5)+`px;
|
|
|
z-index: 1000; background: `+(c?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var tn;l&&(tn=window.scrollY),Z.input.focus(),l&&window.scrollTo(null,tn),Z.input.reset(),G.somethingSelected()||(oe.value=N.prevInput=" "),N.contextMenuPending=wn,Z.selForContextMenu=G.doc.sel,clearTimeout(Z.detectingSelectAll);function mn(){if(oe.selectionStart!=null){var yi=G.somethingSelected(),Mi="\u200B"+(yi?oe.value:"");oe.value="\u21DA",oe.value=Mi,N.prevInput=yi?"":"\u200B",oe.selectionStart=1,oe.selectionEnd=Mi.length,Z.selForContextMenu=G.doc.sel}}function wn(){if(N.contextMenuPending!=wn)return;if(N.contextMenuPending=!1,N.wrapper.style.cssText=Qt,oe.style.cssText=Wt,c&&h<9&&Z.scrollbars.setScrollTop(Z.scroller.scrollTop=ct),oe.selectionStart!=null){(!c||c&&h<9)&&mn();var yi=0,Mi=function Di(){Z.selForContextMenu==G.doc.sel&&oe.selectionStart==0&&oe.selectionEnd>0&&N.prevInput=="\u200B"?Lo(G,Ns)(G):yi++<10?Z.detectingSelectAll=setTimeout(Di,500):(Z.selForContextMenu=null,Z.input.reset())};Z.detectingSelectAll=setTimeout(Mi,200)}}if(c&&h>=9&&mn(),C){Ae(O);var ri=function yi(){Je(window,"mouseup",yi),setTimeout(wn,20)};Ee(window,"mouseup",ri)}else setTimeout(wn,50)},Ei.prototype.readOnlyChanged=function(O){O||this.reset(),this.textarea.disabled=O=="nocursor",this.textarea.readOnly=!!O},Ei.prototype.setUneditable=function(){},Ei.prototype.needsContentAttribute=!1;function da(O,N){if(N=N?j(N):{},N.value=O.value,!N.tabindex&&O.tabIndex&&(N.tabindex=O.tabIndex),!N.placeholder&&O.placeholder&&(N.placeholder=O.placeholder),N.autofocus==null){var G=P();N.autofocus=G==O||O.getAttribute("autofocus")!=null&&G==document.body}function Z(){O.value=Nt.getValue()}var oe;if(O.form&&(Ee(O.form,"submit",Z),!N.leaveSubmitMethodAlone)){var Re=O.form;oe=Re.submit;try{var ct=Re.submit=function(){Z(),Re.submit=oe,Re.submit(),Re.submit=ct}}catch(Wt){}}N.finishInit=function(Wt){Wt.save=Z,Wt.getTextArea=function(){return O},Wt.toTextArea=function(){Wt.toTextArea=isNaN,Z(),O.parentNode.removeChild(Wt.getWrapperElement()),O.style.display="",O.form&&(Je(O.form,"submit",Z),!N.leaveSubmitMethodAlone&&typeof O.form.submit=="function"&&(O.form.submit=oe))}},O.style.display="none";var Nt=er(function(Wt){return O.parentNode.insertBefore(Wt,O.nextSibling)},N);return Nt}function ta(O){O.off=Je,O.on=Ee,O.wheelEventPixels=pn,O.Doc=$s,O.splitLines=lr,O.countColumn=K,O.findColumn=de,O.isWordChar=he,O.Pass=$,O.signal=rt,O.Line=di,O.changeEnd=Ke,O.scrollbarModel=ds,O.Pos=Kt,O.cmpPos=St,O.modes=At,O.mimeModes=Zt,O.resolveMode=Jr,O.getMode=In,O.modeExtensions=Gr,O.extendMode=Tr,O.copyState=fr,O.startState=ft,O.innerMode=vt,O.commands=Hl,O.keyMap=Cl,O.keyName=dc,O.isModifierKey=tc,O.lookupKey=xl,O.normalizeKeyMap=Al,O.StringStream=Te,O.SharedTextMarker=Ul,O.TextMarker=Fs,O.LineWidget=Is,O.e_preventDefault=Xe,O.e_stopPropagation=q,O.e_stop=Ae,O.addClass=W,O.contains=F,O.rmClass=x,O.keyNames=Sl}ke(er),rr(er);var oa="iter insert remove copy getEditor constructor".split(" ");for(var qa in $s.prototype)$s.prototype.hasOwnProperty(qa)&&z(oa,qa)<0&&(er.prototype[qa]=function(O){return function(){return O.apply(this.doc,arguments)}}($s.prototype[qa]));return Dt($s),er.inputStyles={textarea:Ei,contenteditable:Er},er.defineMode=function(O){!er.defaults.mode&&O!="null"&&(er.defaults.mode=O),br.apply(this,arguments)},er.defineMIME=Lr,er.defineMode("null",function(){return{token:function(N){return N.skipToEnd()}}}),er.defineMIME("text/plain","null"),er.defineExtension=function(O,N){er.prototype[O]=N},er.defineDocExtension=function(O,N){$s.prototype[O]=N},er.fromTextArea=da,ta(er),er.version="5.58.2",er})},W2nI:function(M,B,o){var w=o("IwbS"),f=o("ProS"),A=o("bYtY"),m=["itemStyle","opacity"],g=["emphasis","itemStyle","opacity"],p=["lineStyle","opacity"],c=["emphasis","lineStyle","opacity"];function h(a,t){return a.getVisual("opacity")||a.getModel().get(t)}function l(a,t,s){var u=a.getGraphicEl(),d=h(a,t);s!=null&&(d==null&&(d=1),d*=s),u.downplay&&u.downplay(),u.traverse(function(v){v.type!=="group"&&v.setStyle("opacity",d)})}function e(a,t){var s=h(a,t),u=a.getGraphicEl();u.traverse(function(d){d.type!=="group"&&d.setStyle("opacity",s)}),u.highlight&&u.highlight()}var n=w.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(a,t){var s=t.extent;a.moveTo(t.x1,t.y1),a.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient==="vertical"?(a.lineTo(t.x2+s,t.y2),a.bezierCurveTo(t.cpx2+s,t.cpy2,t.cpx1+s,t.cpy1,t.x1+s,t.y1)):(a.lineTo(t.x2,t.y2+s),a.bezierCurveTo(t.cpx2,t.cpy2+s,t.cpx1,t.cpy1+s,t.x1,t.y1+s)),a.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),i=f.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(a,t,s){var u=this,d=a.getGraph(),v=this.group,y=a.layoutInfo,S=y.width,b=y.height,E=a.getData(),C=a.getData("edge"),T=a.get("orient");this._model=a,v.removeAll(),v.attr("position",[y.x,y.y]),d.eachEdge(function(x){var _=new n;_.dataIndex=x.dataIndex,_.seriesIndex=a.seriesIndex,_.dataType="edge";var I=x.getModel("lineStyle"),L=I.get("curveness"),R=x.node1.getLayout(),k=x.node1.getModel(),F=k.get("localX"),P=k.get("localY"),W=x.node2.getLayout(),D=x.node2.getModel(),U=D.get("localX"),H=D.get("localY"),j=x.getLayout(),K,X,z,Y,$,ne,J,ge;_.shape.extent=Math.max(1,j.dy),_.shape.orient=T,T==="vertical"?(K=(F!=null?F*S:R.x)+j.sy,X=(P!=null?P*b:R.y)+R.dy,z=(U!=null?U*S:W.x)+j.ty,Y=H!=null?H*b:W.y,$=K,ne=X*(1-L)+Y*L,J=z,ge=X*L+Y*(1-L)):(K=(F!=null?F*S:R.x)+R.dx,X=(P!=null?P*b:R.y)+j.sy,z=U!=null?U*S:W.x,Y=(H!=null?H*b:W.y)+j.ty,$=K*(1-L)+z*L,ne=X,J=K*L+z*(1-L),ge=Y),_.setShape({x1:K,y1:X,x2:z,y2:Y,cpx1:$,cpy1:ne,cpx2:J,cpy2:ge}),_.setStyle(I.getItemStyle());switch(_.style.fill){case"source":_.style.fill=x.node1.getVisual("color");break;case"target":_.style.fill=x.node2.getVisual("color");break}w.setHoverStyle(_,x.getModel("emphasis.lineStyle").getItemStyle()),v.add(_),C.setItemGraphicEl(x.dataIndex,_)}),d.eachNode(function(x){var _=x.getLayout(),I=x.getModel(),L=I.get("localX"),R=I.get("localY"),k=I.getModel("label"),F=I.getModel("emphasis.label"),P=new w.Rect({shape:{x:L!=null?L*S:_.x,y:R!=null?R*b:_.y,width:_.dx,height:_.dy},style:I.getModel("itemStyle").getItemStyle()}),W=x.getModel("emphasis.itemStyle").getItemStyle();w.setLabelStyle(P.style,W,k,F,{labelFetcher:a,labelDataIndex:x.dataIndex,defaultText:x.id,isRectText:!0}),P.setStyle("fill",x.getVisual("color")),w.setHoverStyle(P,W),v.add(P),E.setItemGraphicEl(x.dataIndex,P),P.dataType="node"}),E.eachItemGraphicEl(function(x,_){var I=E.getItemModel(_);I.get("draggable")&&(x.drift=function(L,R){u._focusAdjacencyDisabled=!0,this.shape.x+=L,this.shape.y+=R,this.dirty(),s.dispatchAction({type:"dragNode",seriesId:a.id,dataIndex:E.getRawIndex(_),localX:this.shape.x/S,localY:this.shape.y/b})},x.ondragend=function(){u._focusAdjacencyDisabled=!1},x.draggable=!0,x.cursor="move"),x.highlight=function(){this.trigger("emphasis")},x.downplay=function(){this.trigger("normal")},x.focusNodeAdjHandler&&x.off("mouseover",x.focusNodeAdjHandler),x.unfocusNodeAdjHandler&&x.off("mouseout",x.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(x.on("mouseover",x.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:a.id,dataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),C.eachItemGraphicEl(function(x,_){var I=C.getItemModel(_);x.focusNodeAdjHandler&&x.off("mouseover",x.focusNodeAdjHandler),x.unfocusNodeAdjHandler&&x.off("mouseout",x.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(x.on("mouseover",x.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:a.id,edgeDataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),!this._data&&a.get("animation")&&v.setClipPath(r(v.getBoundingRect(),a,function(){v.removeClipPath()})),this._data=a.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(a){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){t._unfocusDelayTimer=null,a.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(a,t,s,u){var d=a.getData(),v=d.graph,y=u.dataIndex,S=d.getItemModel(y),b=u.edgeDataIndex;if(y==null&&b==null)return;var E=v.getNodeByIndex(y),C=v.getEdgeByIndex(b);if(v.eachNode(function(x){l(x,m,.1)}),v.eachEdge(function(x){l(x,p,.1)}),E){e(E,g);var T=S.get("focusNodeAdjacency");T==="outEdges"?A.each(E.outEdges,function(x){if(x.dataIndex<0)return;e(x,c),e(x.node2,g)}):T==="inEdges"?A.each(E.inEdges,function(x){if(x.dataIndex<0)return;e(x,c),e(x.node1,g)}):T==="allEdges"&&A.each(E.edges,function(x){if(x.dataIndex<0)return;e(x,c),x.node1!==E&&e(x.node1,g),x.node2!==E&&e(x.node2,g)})}C&&(e(C,c),e(C.node1,g),e(C.node2,g))},unfocusNodeAdjacency:function(a,t,s,u){var d=a.getGraph();d.eachNode(function(v){l(v,m)}),d.eachEdge(function(v){l(v,p)})}});function r(a,t,s){var u=new w.Rect({shape:{x:a.x-10,y:a.y-10,width:0,height:a.height+20}});return w.initProps(u,{shape:{width:a.width+20}},t,s),u}M.exports=i},W4dC:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=A.each,g=A.createHashMap,p=o("7DRL"),c=o("TIY9"),h=o("yS9w"),l=o("mFDi"),e={geoJSON:c,svg:h},n={load:function(t,s,u){var d=[],v=g(),y=g(),S,b=a(t);return m(b,function(E){var C=e[E.type].load(t,E,u);m(C.regions,function(x){var _=x.name;s&&s.hasOwnProperty(_)&&(x=x.cloneShallow(_=s[_])),d.push(x),v.set(_,x),y.set(_,x.center)});var T=C.boundingRect;T&&(S?S.union(T):S=T.clone())}),{regions:d,regionsMap:v,nameCoordMap:y,boundingRect:S||new l(0,0,0,0)}},makeGraphic:i("makeGraphic"),removeGraphic:i("removeGraphic")};function i(t){return function(s,u){var d=a(s),v=[];return m(d,function(y){var S=e[y.type][t];S&&v.push(S(s,y,u))}),v}}function r(t){}function a(t){var s=p.retrieveMap(t)||[];return s}M.exports=n},"W4y/":function(M,B,o){},WCfL:function(M,B,o){"use strict";var w=o("rePB"),f=o("U8pU"),A=o("wx14"),m=o("q1tI"),g=o("8XRh"),p=o("TSYQ"),c=o.n(p),h=o("9R2V"),l=o("kLeg"),e=o("ODXe");function n(C){var T=C.prefixCls,x=C.value,_=C.current,I=C.offset,L=I===void 0?0:I,R;return L&&(R={position:"absolute",top:"".concat(L,"00%"),left:0}),m.createElement("span",{style:R,className:c()("".concat(T,"-only-unit"),{current:_})},x)}function i(C,T,x){for(var _=C,I=0;(_+10)%10!==T;)_+=x,I+=x;return I}function r(C){var T=C.prefixCls,x=C.count,_=C.value,I=Number(_),L=Math.abs(x),R=m.useState(I),k=Object(e.a)(R,2),F=k[0],P=k[1],W=m.useState(L),D=Object(e.a)(W,2),U=D[0],H=D[1],j=function(){P(I),H(L)};m.useEffect(function(){var ge=setTimeout(function(){j()},1e3);return function(){clearTimeout(ge)}},[I]);var K,X;if(F===I||Number.isNaN(I)||Number.isNaN(F))K=[m.createElement(n,Object(A.a)({},C,{key:I,current:!0}))],X={transition:"none"};else{K=[];for(var z=I+10,Y=[],$=I;$<=z;$+=1)Y.push($);var ne=Y.findIndex(function(ge){return ge%10===F});K=Y.map(function(ge,de){var Ie=ge%10;return m.createElement(n,Object(A.a)({},C,{key:ge,value:Ie,offset:de-ne,current:de===ne}))});var J=U<L?1:-1;X={transform:"translateY(".concat(-i(F,I,J),"00%)")}}return m.createElement("span",{className:"".concat(T,"-only"),style:X,onTransitionEnd:j},K)}var a=function(C,T){var x={};for(var _ in C)Object.prototype.hasOwnProperty.call(C,_)&&T.indexOf(_)<0&&(x[_]=C[_]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,_=Object.getOwnPropertySymbols(C);I<_.length;I++)T.indexOf(_[I])<0&&Object.prototype.propertyIsEnumerable.call(C,_[I])&&(x[_[I]]=C[_[I]]);return x},t=function(T){var x=T.prefixCls,_=T.count,I=T.className,L=T.motionClassName,R=T.style,k=T.title,F=T.show,P=T.component,W=P===void 0?"sup":P,D=T.children,U=a(T,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),H=m.useContext(h.b),j=H.getPrefixCls,K=j("scroll-number",x),X=Object(A.a)(Object(A.a)({},U),{"data-show":F,style:R,className:c()(K,I,L),title:k}),z=_;if(_&&Number(_)%1===0){var Y=String(_).split("");z=Y.map(function($,ne){return m.createElement(r,{prefixCls:K,count:Number(_),value:$,key:Y.length-ne})})}return R&&R.borderColor&&(X.style=Object(A.a)(Object(A.a)({},R),{boxShadow:"0 0 0 1px ".concat(R.borderColor," inset")})),D?Object(l.a)(D,function($){return{className:c()("".concat(K,"-custom-component"),$==null?void 0:$.className,L)}}):m.createElement(W,X,z)},s=t,u=o("At67");function d(C){return u.a.indexOf(C)!==-1}var v=function(T){var x,_=T.className,I=T.prefixCls,L=T.style,R=T.color,k=T.children,F=T.text,P=T.placement,W=P===void 0?"end":P,D=m.useContext(h.b),U=D.getPrefixCls,H=D.direction,j=U("ribbon",I),K=d(R),X=c()(j,"".concat(j,"-placement-").concat(W),(x={},Object(w.a)(x,"".concat(j,"-rtl"),H==="rtl"),Object(w.a)(x,"".concat(j,"-color-").concat(R),K),x),_),z={},Y={};return R&&!K&&(z.background=R,Y.color=R),m.createElement("div",{className:"".concat(j,"-wrapper")},k,m.createElement("div",{className:X,style:Object(A.a)(Object(A.a)({},z),L)},m.createElement("span",{className:"".concat(j,"-text")},F),m.createElement("div",{className:"".concat(j,"-corner"),style:Y})))},y=v,S=function(C,T){var x={};for(var _ in C)Object.prototype.hasOwnProperty.call(C,_)&&T.indexOf(_)<0&&(x[_]=C[_]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,_=Object.getOwnPropertySymbols(C);I<_.length;I++)T.indexOf(_[I])<0&&Object.prototype.propertyIsEnumerable.call(C,_[I])&&(x[_[I]]=C[_[I]]);return x},b=function(T){var x,_,I=T.prefixCls,L=T.scrollNumberPrefixCls,R=T.children,k=T.status,F=T.text,P=T.color,W=T.count,D=W===void 0?null:W,U=T.overflowCount,H=U===void 0?99:U,j=T.dot,K=j===void 0?!1:j,X=T.size,z=X===void 0?"default":X,Y=T.title,$=T.offset,ne=T.style,J=T.className,ge=T.showZero,de=ge===void 0?!1:ge,Ie=S(T,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),be=m.useContext(h.b),Ce=be.getPrefixCls,je=be.direction,te=Ce("badge",I),ve=D>H?"".concat(H,"+"):D,$e=k!=null||P!=null,Le=ve==="0"||ve===0,he=K&&!Le,ee=he?"":ve,se=Object(m.useMemo)(function(){var rt=ee==null||ee==="";return(rt||Le&&!de)&&!he},[ee,Le,de,he]),Ue=Object(m.useRef)(D);se||(Ue.current=D);var ue=Ue.current,Ne=Object(m.useRef)(ee);se||(Ne.current=ee);var Fe=Ne.current,ae=Object(m.useRef)(he);se||(ae.current=he);var ce=Object(m.useMemo)(function(){if(!$)return Object(A.a)({},ne);var rt={marginTop:$[1]};return je==="rtl"?rt.left=parseInt($[0],10):rt.right=-parseInt($[0],10),Object(A.a)(Object(A.a)({},rt),ne)},[je,$,ne]),_e=Y!=null?Y:typeof ue=="string"||typeof ue=="number"?ue:void 0,ze=se||!F?null:m.createElement("span",{className:"".concat(te,"-status-text")},F),it=!ue||Object(f.a)(ue)!=="object"?void 0:Object(l.a)(ue,function(rt){return{style:Object(A.a)(Object(A.a)({},ce),rt.style)}}),Ze=c()((x={},Object(w.a)(x,"".concat(te,"-status-dot"),$e),Object(w.a)(x,"".concat(te,"-status-").concat(k),!!k),Object(w.a)(x,"".concat(te,"-status-").concat(P),d(P)),x)),Ee={};P&&!d(P)&&(Ee.background=P);var mt=c()(te,(_={},Object(w.a)(_,"".concat(te,"-status"),$e),Object(w.a)(_,"".concat(te,"-not-a-wrapper"),!R),Object(w.a)(_,"".concat(te,"-rtl"),je==="rtl"),_),J);if(!R&&$e){var Je=ce.color;return m.createElement("span",Object(A.a)({},Ie,{className:mt,style:ce}),m.createElement("span",{className:Ze,style:Ee}),m.createElement("span",{style:{color:Je},className:"".concat(te,"-status-text")},F))}return m.createElement("span",Object(A.a)({},Ie,{className:mt}),R,m.createElement(g.default,{visible:!se,motionName:"".concat(te,"-zoom"),motionAppear:!1},function(rt){var wt,Ot=rt.className,Ct=Ce("scroll-number",L),Dt=ae.current,Xe=c()((wt={},Object(w.a)(wt,"".concat(te,"-dot"),Dt),Object(w.a)(wt,"".concat(te,"-count"),!Dt),Object(w.a)(wt,"".concat(te,"-count-sm"),z==="small"),Object(w.a)(wt,"".concat(te,"-multiple-words"),!Dt&&Fe&&Fe.toString().length>1),Object(w.a)(wt,"".concat(te,"-status-").concat(k),!!k),Object(w.a)(wt,"".concat(te,"-status-").concat(P),d(P)),wt)),q=Object(A.a)({},ce);return P&&!d(P)&&(q=q||{},q.background=P),m.createElement(s,{prefixCls:Ct,show:!se,motionClassName:Ot,className:Xe,count:Fe,title:_e,style:q,key:"scrollNumber"},it)}),ze)};b.Ribbon=y;var E=B.a=b},WGYa:function(M,B,o){var w=o("7yuC"),f=w.forceLayout,A=o("HF/U"),m=A.simpleLayout,g=o("lOQZ"),p=g.circularLayout,c=o("OELB"),h=c.linearMap,l=o("QBsz"),e=o("bYtY");function n(i){i.eachSeriesByType("graph",function(r){var a=r.coordinateSystem;if(a&&a.type!=="view")return;if(r.get("layout")==="force"){var t=r.preservedPoints||{},s=r.getGraph(),u=s.data,d=s.edgeData,v=r.getModel("force"),y=v.get("initLayout");r.preservedPoints?u.each(function(k){var F=u.getId(k);u.setItemLayout(k,t[F]||[NaN,NaN])}):!y||y==="none"?m(r):y==="circular"&&p(r,"value");var S=u.getDataExtent("value"),b=d.getDataExtent("value"),E=v.get("repulsion"),C=v.get("edgeLength");e.isArray(E)||(E=[E,E]),e.isArray(C)||(C=[C,C]),C=[C[1],C[0]];var T=u.mapArray("value",function(k,F){var P=u.getItemLayout(F),W=h(k,S,E);return isNaN(W)&&(W=(E[0]+E[1])/2),{w:W,rep:W,fixed:u.getItemModel(F).get("fixed"),p:!P||isNaN(P[0])||isNaN(P[1])?null:P}}),x=d.mapArray("value",function(k,F){var P=s.getEdgeByIndex(F),W=h(k,b,C);isNaN(W)&&(W=(C[0]+C[1])/2);var D=P.getModel();return{n1:T[P.node1.dataIndex],n2:T[P.node2.dataIndex],d:W,curveness:D.get("lineStyle.curveness")||0,ignoreForceLayout:D.get("ignoreForceLayout")}}),a=r.coordinateSystem,_=a.getBoundingRect(),I=f(T,x,{rect:_,gravity:v.get("gravity"),friction:v.get("friction")}),L=I.step;I.step=function(k){for(var F=0,P=T.length;F<P;F++)T[F].fixed&&l.copy(T[F].p,s.getNodeByIndex(F).getLayout());L(function(W,D,U){for(var H=0,j=W.length;H<j;H++)W[H].fixed||s.getNodeByIndex(H).setLayout(W[H].p),t[u.getId(H)]=W[H].p;for(var H=0,j=D.length;H<j;H++){var K=D[H],X=s.getEdgeByIndex(H),z=K.n1.p,Y=K.n2.p,$=X.getLayout();$=$?$.slice():[],$[0]=$[0]||[],$[1]=$[1]||[],l.copy($[0],z),l.copy($[1],Y),+K.curveness&&($[2]=[(z[0]+Y[0])/2-(z[1]-Y[1])*K.curveness,(z[1]+Y[1])/2-(Y[0]-z[0])*K.curveness]),X.setLayout($)}k&&k(U)})},r.forceLayout=I,r.preservedPoints=t,I.step()}else r.forceLayout=null})}M.exports=n},WI4W:function(M,B,o){"use strict";var w=o("rePB"),f=o("wx14"),A=o("ODXe"),m=o("q1tI"),g=o("Ff2n"),p=o("1OyB"),c=o("vuIU"),h=o("Ji7U"),l=o("LK+K"),e=o("1W/9"),n=o("VTBJ"),i=o("JX7q"),r=o("TSYQ"),a=o.n(r),t=o("qx4F"),s=o("4IlW"),u=o("bT9E");function d(J){return Array.isArray(J)?J:[J]}var v={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},y=Object.keys(v).filter(function(J){if(typeof document=="undefined")return!1;var ge=document.getElementsByTagName("html")[0];return J in(ge?ge.style:{})})[0],S=v[y];function b(J,ge,de,Ie){J.addEventListener?J.addEventListener(ge,de,Ie):J.attachEvent&&J.attachEvent("on".concat(ge),de)}function E(J,ge,de,Ie){J.removeEventListener?J.removeEventListener(ge,de,Ie):J.attachEvent&&J.detachEvent("on".concat(ge),de)}function C(J,ge){var de=typeof J=="function"?J(ge):J;return Array.isArray(de)?de.length===2?de:[de[0],de[1]]:[de]}var T=function(ge){return!isNaN(parseFloat(ge))&&isFinite(ge)},x=!(typeof window!="undefined"&&window.document&&window.document.createElement),_=function J(ge,de,Ie,be){if(!de||de===document||de instanceof Document)return!1;if(de===ge.parentNode)return!0;var Ce=Math.max(Math.abs(Ie),Math.abs(be))===Math.abs(be),je=Math.max(Math.abs(Ie),Math.abs(be))===Math.abs(Ie),te=de.scrollHeight-de.clientHeight,ve=de.scrollWidth-de.clientWidth,$e=document.defaultView.getComputedStyle(de),Le=$e.overflowY==="auto"||$e.overflowY==="scroll",he=$e.overflowX==="auto"||$e.overflowX==="scroll",ee=te&&Le,se=ve&&he;return Ce&&(!ee||ee&&(de.scrollTop>=te&&be<0||de.scrollTop<=0&&be>0))||je&&(!se||se&&(de.scrollLeft>=ve&&Ie<0||de.scrollLeft<=0&&Ie>0))?J(ge,de.parentNode,Ie,be):!1},I={},L=function(J){Object(h.a)(de,J);var ge=Object(l.a)(de);function de(Ie){var be;return Object(p.a)(this,de),be=ge.call(this,Ie),be.domFocus=function(){be.dom&&be.dom.focus()},be.removeStartHandler=function(Ce){if(Ce.touches.length>1)return;be.startPos={x:Ce.touches[0].clientX,y:Ce.touches[0].clientY}},be.removeMoveHandler=function(Ce){if(Ce.changedTouches.length>1)return;var je=Ce.currentTarget,te=Ce.changedTouches[0].clientX-be.startPos.x,ve=Ce.changedTouches[0].clientY-be.startPos.y;(je===be.maskDom||je===be.handlerDom||je===be.contentDom&&_(je,Ce.target,te,ve))&&Ce.cancelable&&Ce.preventDefault()},be.transitionEnd=function(Ce){var je=Ce.target;E(je,S,be.transitionEnd),je.style.transition=""},be.onKeyDown=function(Ce){if(Ce.keyCode===s.a.ESC){var je=be.props.onClose;Ce.stopPropagation(),je&&je(Ce)}},be.onWrapperTransitionEnd=function(Ce){var je=be.props,te=je.open,ve=je.afterVisibleChange;Ce.target===be.contentWrapper&&Ce.propertyName.match(/transform$/)&&(be.dom.style.transition="",!te&&be.getCurrentDrawerSome()&&(document.body.style.overflowX="",be.maskDom&&(be.maskDom.style.left="",be.maskDom.style.width="")),ve&&ve(!!te))},be.openLevelTransition=function(){var Ce=be.props,je=Ce.open,te=Ce.width,ve=Ce.height,$e=be.getHorizontalBoolAndPlacementName(),Le=$e.isHorizontal,he=$e.placementName,ee=be.contentDom?be.contentDom.getBoundingClientRect()[Le?"width":"height"]:0,se=(Le?te:ve)||ee;be.setLevelAndScrolling(je,he,se)},be.setLevelTransform=function(Ce,je,te,ve){var $e=be.props,Le=$e.placement,he=$e.levelMove,ee=$e.duration,se=$e.ease,Ue=$e.showMask;be.levelDom.forEach(function(ue){ue.style.transition="transform ".concat(ee," ").concat(se),b(ue,S,be.transitionEnd);var Ne=Ce?te:0;if(he){var Fe=C(he,{target:ue,open:Ce});Ne=Ce?Fe[0]:Fe[1]||0}var ae=typeof Ne=="number"?"".concat(Ne,"px"):Ne,ce=Le==="left"||Le==="top"?ae:"-".concat(ae);ce=Ue&&Le==="right"&&ve?"calc(".concat(ce," + ").concat(ve,"px)"):ce,ue.style.transform=Ne?"".concat(je,"(").concat(ce,")"):""})},be.setLevelAndScrolling=function(Ce,je,te){var ve=be.props.onChange;if(!x){var $e=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(t.a)(!0):0;be.setLevelTransform(Ce,je,te,$e),be.toggleScrollingToDrawerAndBody($e)}ve&&ve(Ce)},be.toggleScrollingToDrawerAndBody=function(Ce){var je=be.props,te=je.getContainer,ve=je.showMask,$e=je.open,Le=te&&te();if(Le&&Le.parentNode===document.body&&ve){var he=["touchstart"],ee=[document.body,be.maskDom,be.handlerDom,be.contentDom];$e&&document.body.style.overflow!=="hidden"?(Ce&&be.addScrollingEffect(Ce),document.body.style.touchAction="none",ee.forEach(function(se,Ue){if(!se)return;b(se,he[Ue]||"touchmove",Ue?be.removeMoveHandler:be.removeStartHandler,be.passive)})):be.getCurrentDrawerSome()&&(document.body.style.touchAction="",Ce&&be.remScrollingEffect(Ce),ee.forEach(function(se,Ue){if(!se)return;E(se,he[Ue]||"touchmove",Ue?be.removeMoveHandler:be.removeStartHandler,be.passive)}))}},be.addScrollingEffect=function(Ce){var je=be.props,te=je.placement,ve=je.duration,$e=je.ease,Le="width ".concat(ve," ").concat($e),he="transform ".concat(ve," ").concat($e);be.dom.style.transition="none";switch(te){case"right":be.dom.style.transform="translateX(-".concat(Ce,"px)");break;case"top":case"bottom":be.dom.style.width="calc(100% - ".concat(Ce,"px)"),be.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(be.timeout),be.timeout=setTimeout(function(){be.dom&&(be.dom.style.transition="".concat(he,",").concat(Le),be.dom.style.width="",be.dom.style.transform="")})},be.remScrollingEffect=function(Ce){var je=be.props,te=je.placement,ve=je.duration,$e=je.ease;y&&(document.body.style.overflowX="hidden"),be.dom.style.transition="none";var Le,he="width ".concat(ve," ").concat($e),ee="transform ".concat(ve," ").concat($e);switch(te){case"left":{be.dom.style.width="100%",he="width 0s ".concat($e," ").concat(ve);break}case"right":{be.dom.style.transform="translateX(".concat(Ce,"px)"),be.dom.style.width="100%",he="width 0s ".concat($e," ").concat(ve),be.maskDom&&(be.maskDom.style.left="-".concat(Ce,"px"),be.maskDom.style.width="calc(100% + ".concat(Ce,"px)"));break}case"top":case"bottom":{be.dom.style.width="calc(100% + ".concat(Ce,"px)"),be.dom.style.height="100%",be.dom.style.transform="translateZ(0)",Le="height 0s ".concat($e," ").concat(ve);break}default:break}clearTimeout(be.timeout),be.timeout=setTimeout(function(){be.dom&&(be.dom.style.transition="".concat(ee,",").concat(Le?"".concat(Le,","):"").concat(he),be.dom.style.transform="",be.dom.style.width="",be.dom.style.height="")})},be.getCurrentDrawerSome=function(){return!Object.keys(I).some(function(Ce){return I[Ce]})},be.getLevelDom=function(Ce){var je=Ce.level,te=Ce.getContainer;if(x)return;var ve=te&&te(),$e=ve?ve.parentNode:null;if(be.levelDom=[],je==="all"){var Le=$e?Array.prototype.slice.call($e.children):[];Le.forEach(function(he){he.nodeName!=="SCRIPT"&&he.nodeName!=="STYLE"&&he.nodeName!=="LINK"&&he!==ve&&be.levelDom.push(he)})}else je&&d(je).forEach(function(he){document.querySelectorAll(he).forEach(function(ee){be.levelDom.push(ee)})})},be.getHorizontalBoolAndPlacementName=function(){var Ce=be.props.placement,je=Ce==="left"||Ce==="right",te="translate".concat(je?"X":"Y");return{isHorizontal:je,placementName:te}},be.state={_self:Object(i.a)(be)},be}return Object(c.a)(de,[{key:"componentDidMount",value:function(){var be=this;if(!x){var Ce=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Ce=!0,null}}))}catch(ee){}this.passive=Ce?{passive:!1}:!1}var je=this.props,te=je.open,ve=je.getContainer,$e=je.showMask,Le=ve&&ve();if(this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),te&&(Le&&Le.parentNode===document.body&&(I[this.drawerId]=te),this.openLevelTransition(),this.forceUpdate(function(){be.domFocus()}),$e)){var he;(he=this.props.scrollLocker)===null||he===void 0||he.lock()}}},{key:"componentDidUpdate",value:function(be){var Ce=this.props,je=Ce.open,te=Ce.getContainer,ve=Ce.scrollLocker,$e=Ce.showMask,Le=te&&te();je!==be.open&&(Le&&Le.parentNode===document.body&&(I[this.drawerId]=!!je),this.openLevelTransition(),je?(this.domFocus(),$e&&(ve==null||ve.lock())):ve==null||ve.unLock())}},{key:"componentWillUnmount",value:function(){var be=this.props,Ce=be.open,je=be.scrollLocker;delete I[this.drawerId],Ce&&(this.setLevelTransform(!1),document.body.style.touchAction=""),je==null||je.unLock()}},{key:"render",value:function(){var be,Ce=this,je=this.props,te=je.className,ve=je.children,$e=je.style,Le=je.width,he=je.height,ee=je.defaultOpen,se=je.open,Ue=je.prefixCls,ue=je.placement,Ne=je.level,Fe=je.levelMove,ae=je.ease,ce=je.duration,_e=je.getContainer,ze=je.handler,it=je.onChange,Ze=je.afterVisibleChange,Ee=je.showMask,mt=je.maskClosable,Je=je.maskStyle,rt=je.onClose,wt=je.onHandleClick,Ot=je.keyboard,Ct=je.getOpenCount,Dt=je.scrollLocker,Xe=je.contentWrapperStyle,q=Object(g.a)(je,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","scrollLocker","contentWrapperStyle"]),V=this.dom?se:!1,Ae=a()(Ue,(be={},Object(w.a)(be,"".concat(Ue,"-").concat(ue),!0),Object(w.a)(be,"".concat(Ue,"-open"),V),Object(w.a)(be,te||"",!!te),Object(w.a)(be,"no-mask",!Ee),be)),xe=this.getHorizontalBoolAndPlacementName(),re=xe.placementName,ot=ue==="left"||ue==="top"?"-100%":"100%",bt=V?"":"".concat(re,"(").concat(ot,")"),tt=ze&&m.cloneElement(ze,{onClick:function(Gt){ze.props.onClick&&ze.props.onClick(),wt&&wt(Gt)},ref:function(Gt){Ce.handlerDom=Gt}});return m.createElement("div",Object(f.a)({},Object(u.a)(q,["switchScrollingEffect"]),{tabIndex:-1,className:Ae,style:$e,ref:function(Gt){Ce.dom=Gt},onKeyDown:V&&Ot?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),Ee&&m.createElement("div",{className:"".concat(Ue,"-mask"),onClick:mt?rt:void 0,style:Je,ref:function(Gt){Ce.maskDom=Gt}}),m.createElement("div",{className:"".concat(Ue,"-content-wrapper"),style:Object(n.a)({transform:bt,msTransform:bt,width:T(Le)?"".concat(Le,"px"):Le,height:T(he)?"".concat(he,"px"):he},Xe),ref:function(Gt){Ce.contentWrapper=Gt}},m.createElement("div",{className:"".concat(Ue,"-content"),ref:function(Gt){Ce.contentDom=Gt},onTouchStart:V&&Ee?this.removeStartHandler:void 0,onTouchMove:V&&Ee?this.removeMoveHandler:void 0},ve),tt))}}],[{key:"getDerivedStateFromProps",value:function(be,Ce){var je=Ce.prevProps,te=Ce._self,ve={prevProps:be};if(je!==void 0){var $e=be.placement,Le=be.level;$e!==je.placement&&(te.contentDom=null),Le!==je.level&&te.getLevelDom(be)}return ve}}]),de}(m.Component),R=L,k=function(J){Object(h.a)(de,J);var ge=Object(l.a)(de);function de(Ie){var be;Object(p.a)(this,de),be=ge.call(this,Ie),be.onHandleClick=function(je){var te=be.props,ve=te.onHandleClick,$e=te.open;if(ve&&ve(je),typeof $e=="undefined"){var Le=be.state.open;be.setState({open:!Le})}},be.onClose=function(je){var te=be.props,ve=te.onClose,$e=te.open;ve&&ve(je),typeof $e=="undefined"&&be.setState({open:!1})};var Ce=typeof Ie.open!="undefined"?Ie.open:!!Ie.defaultOpen;return be.state={open:Ce},"onMaskClick"in Ie&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),be}return Object(c.a)(de,[{key:"render",value:function(){var be=this,Ce=this.props,je=Ce.defaultOpen,te=Ce.getContainer,ve=Ce.wrapperClassName,$e=Ce.forceRender,Le=Ce.handler,he=Object(g.a)(Ce,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),ee=this.state.open;if(!te)return m.createElement("div",{className:ve,ref:function(ue){be.dom=ue}},m.createElement(R,Object(f.a)({},he,{open:ee,handler:Le,getContainer:function(){return be.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var se=!!Le||$e;return m.createElement(e.a,{visible:ee,forceRender:se,getContainer:te,wrapperClassName:ve},function(Ue){var ue=Ue.visible,Ne=Ue.afterClose,Fe=Object(g.a)(Ue,["visible","afterClose"]);return m.createElement(R,Object(f.a)({},he,Fe,{open:ue!==void 0?ue:ee,afterVisibleChange:Ne!==void 0?Ne:he.afterVisibleChange,handler:Le,onClose:be.onClose,onHandleClick:be.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(be,Ce){var je=Ce.prevProps,te={prevProps:be};return typeof je!="undefined"&&be.open!==je.open&&(te.open=be.open),te}}]),de}(m.Component);k.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:m.createElement("div",{className:"drawer-handle"},m.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var F=k,P=F,W=o("4i/N"),D=o("9R2V"),U=o("6LNJ"),H=o("oMPz"),j=function(J,ge){var de={};for(var Ie in J)Object.prototype.hasOwnProperty.call(J,Ie)&&ge.indexOf(Ie)<0&&(de[Ie]=J[Ie]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ie=Object.getOwnPropertySymbols(J);be<Ie.length;be++)ge.indexOf(Ie[be])<0&&Object.prototype.propertyIsEnumerable.call(J,Ie[be])&&(de[Ie[be]]=J[Ie[be]]);return de},K=m.createContext(null),X=Object(U.a)("top","right","bottom","left"),z={distance:180},Y=m.forwardRef(function(J,ge){var de=J.width,Ie=de===void 0?256:de,be=J.height,Ce=be===void 0?256:be,je=J.closable,te=je===void 0?!0:je,ve=J.placement,$e=ve===void 0?"right":ve,Le=J.maskClosable,he=Le===void 0?!0:Le,ee=J.mask,se=ee===void 0?!0:ee,Ue=J.level,ue=Ue===void 0?null:Ue,Ne=J.keyboard,Fe=Ne===void 0?!0:Ne,ae=J.push,ce=ae===void 0?z:ae,_e=J.closeIcon,ze=_e===void 0?m.createElement(W.a,null):_e,it=J.bodyStyle,Ze=J.drawerStyle,Ee=J.prefixCls,mt=J.className,Je=J.direction,rt=J.visible,wt=J.children,Ot=J.zIndex,Ct=J.destroyOnClose,Dt=J.style,Xe=J.title,q=J.headerStyle,V=J.onClose,Ae=J.footer,xe=J.footerStyle,re=j(J,["width","height","closable","placement","maskClosable","mask","level","keyboard","push","closeIcon","bodyStyle","drawerStyle","prefixCls","className","direction","visible","children","zIndex","destroyOnClose","style","title","headerStyle","onClose","footer","footerStyle"]),ot=Object(H.a)(),bt=m.useState(!1),tt=Object(A.a)(bt,2),Tt=tt[0],Gt=tt[1],lr=m.useContext(K),pr=m.useRef(!1);m.useEffect(function(){return rt&&lr&&lr.push(),function(){lr&&lr.pull()}},[]),m.useEffect(function(){lr&&(rt?lr.push():lr.pull())},[rt]);var Rr=m.useMemo(function(){return{push:function(){ce&&Gt(!0)},pull:function(){ce&&Gt(!1)}}},[ce]);m.useImperativeHandle(ge,function(){return Rr},[Rr]);var xt=Ct&&!rt,It=function(){if(!xt)return;rt||(pr.current=!0,ot())},At=function(){if(!rt&&!se)return{};var vt={};return $e==="left"||$e==="right"?vt.width=Ie:vt.height=Ce,vt},Zt=function(){var vt=function(Pe){var Ge;if(typeof ce=="boolean"?Ge=ce?z.distance:0:Ge=ce.distance,Ge=parseFloat(String(Ge||0)),Pe==="left"||Pe==="right")return"translateX(".concat(Pe==="left"?Ge:-Ge,"px)");if(Pe==="top"||Pe==="bottom")return"translateY(".concat(Pe==="top"?Ge:-Ge,"px)")},ft=se?{}:At();return Object(f.a)(Object(f.a)({zIndex:Ot,transform:Tt?vt($e):void 0},ft),Dt)};function br(){return te&&m.createElement("button",{type:"button",onClick:V,"aria-label":"Close",className:"".concat(Ee,"-close"),style:{"--scroll-bar":"".concat(Object(t.a)(),"px")}},ze)}function Lr(){if(!Xe&&!te)return null;var fr=Xe?"".concat(Ee,"-header"):"".concat(Ee,"-header-no-title");return m.createElement("div",{className:fr,style:q},Xe&&m.createElement("div",{className:"".concat(Ee,"-title")},Xe),te&&br())}function Jr(){if(!Ae)return null;var fr="".concat(Ee,"-footer");return m.createElement("div",{className:fr,style:xe},Ae)}var In=function(){if(pr.current&&!rt)return null;pr.current=!1;var vt={};return xt&&(vt.opacity=0,vt.transition="opacity .3s"),m.createElement("div",{className:"".concat(Ee,"-wrapper-body"),style:Object(f.a)(Object(f.a)({},vt),Ze),onTransitionEnd:It},Lr(),m.createElement("div",{className:"".concat(Ee,"-body"),style:it},wt),Jr())},Gr=a()(Object(w.a)({"no-mask":!se},"".concat(Ee,"-rtl"),Je==="rtl"),mt),Tr=se?At():{};return m.createElement(K.Provider,{value:Rr},m.createElement(P,Object(f.a)({handler:!1},Object(f.a)({placement:$e,prefixCls:Ee,maskClosable:he,level:ue,keyboard:Fe,children:wt,onClose:V},re),Tr,{open:rt,showMask:se,style:Zt(),className:Gr}),In()))});Y.displayName="Drawer";var $=m.forwardRef(function(J,ge){var de=J.prefixCls,Ie=J.getContainer,be=m.useContext(D.b),Ce=be.getPopupContainer,je=be.getPrefixCls,te=be.direction,ve=je("drawer",de),$e=Ie===void 0&&Ce?function(){return Ce(document.body)}:Ie;return m.createElement(Y,Object(f.a)({},J,{ref:ge,prefixCls:ve,getContainer:$e,direction:te}))});$.displayName="DrawerWrapper";var ne=B.a=$},WKfj:function(M,B,o){"use strict";o.d(B,"d",function(){return f}),o.d(B,"e",function(){return A}),o.d(B,"f",function(){return m}),o.d(B,"c",function(){return g}),o.d(B,"b",function(){return c}),o.d(B,"a",function(){return l});var w=o("KQm4");function f(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function A(e,n){var i=n.labelInValue,r=n.combobox,a=new Map;if(e===void 0||e===""&&r)return[[],a];var t=Array.isArray(e)?e:[e],s=t;return i&&(s=t.filter(function(u){return u!==null}).map(function(u){var d=u.key,v=u.value,y=v!==void 0?v:d;return a.set(y,u),y})),[s,a]}function m(e,n){var i=n.optionLabelProp,r=n.labelInValue,a=n.prevValueMap,t=n.options,s=n.getLabeledValue,u=e;return r&&(u=u.map(function(d){return s(d,{options:t,prevValueMap:a,labelInValue:r,optionLabelProp:i})})),u}function g(e,n){var i=Object(w.a)(n),r;for(r=e.length-1;r>=0&&e[r].disabled;r-=1);var a=null;return r!==-1&&(a=i[r],i.splice(r,1)),{values:i,removedValue:a}}var p=typeof window!="undefined"&&window.document&&window.document.documentElement,c=p,h=0;function l(){var e;return c?(e=h,h+=1):e="TEST_OR_SSR",e}},"WN+l":function(M,B,o){var w=o("bYtY"),f=o("IwbS");function A(g,p,c,h){var l=c.axis;if(l.scale.isBlank())return;var e=c.getModel("splitArea"),n=e.getModel("areaStyle"),i=n.get("color"),r=h.coordinateSystem.getRect(),a=l.getTicksCoords({tickModel:e,clamp:!0});if(!a.length)return;var t=i.length,s=g.__splitAreaColors,u=w.createHashMap(),d=0;if(s)for(var v=0;v<a.length;v++){var y=s.get(a[v].tickValue);if(y!=null){d=(y+(t-1)*v)%t;break}}var S=l.toGlobalCoord(a[0].coord),b=n.getAreaStyle();i=w.isArray(i)?i:[i];for(var v=1;v<a.length;v++){var E=l.toGlobalCoord(a[v].coord),C,T,x,_;l.isHorizontal()?(C=S,T=r.y,x=E-C,_=r.height,S=C+x):(C=r.x,T=S,x=r.width,_=E-T,S=T+_);var I=a[v-1].tickValue;I!=null&&u.set(I,d),p.add(new f.Rect({anid:I!=null?"area_"+I:null,shape:{x:C,y:T,width:x,height:_},style:w.defaults({fill:i[d]},b),silent:!0})),d=(d+1)%t}g.__splitAreaColors=u}function m(g){g.__splitAreaColors=null}B.rectCoordAxisBuildSplitArea=A,B.rectCoordAxisHandleRemove=m},WSfB:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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=w;B.default=f},WaYH:function(M,B,o){"use strict";var w=o("wx14"),f=o("rePB"),A=o("Ff2n"),m=o("VTBJ"),g=o("1OyB"),p=o("vuIU"),c=o("JX7q"),h=o("Ji7U"),l=o("LK+K"),e=o("q1tI"),n=o("TSYQ"),i=o.n(n),r=o("sboe"),a=o("OZM5"),t=function(x){for(var _=x.prefixCls,I=x.level,L=x.isStart,R=x.isEnd,k="".concat(_,"-indent-unit"),F=[],P=0;P<I;P+=1){var W;F.push(e.createElement("span",{key:P,className:i()(k,(W={},Object(f.a)(W,"".concat(k,"-start"),L[P]),Object(f.a)(W,"".concat(k,"-end"),R[P]),W))}))}return e.createElement("span",{"aria-hidden":"true",className:"".concat(_,"-indent")},F)},s=t,u=o("815F"),d=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove"],v="open",y="close",S="---",b=function(T){Object(h.a)(_,T);var x=Object(l.a)(_);function _(){var I;Object(g.a)(this,_);for(var L=arguments.length,R=new Array(L),k=0;k<L;k++)R[k]=arguments[k];return I=x.call.apply(x,[this].concat(R)),I.state={dragNodeHighlight:!1},I.selectHandle=void 0,I.onSelectorClick=function(F){var P=I.props.context.onNodeClick;P(F,Object(u.b)(I.props)),I.isSelectable()?I.onSelect(F):I.onCheck(F)},I.onSelectorDoubleClick=function(F){var P=I.props.context.onNodeDoubleClick;P(F,Object(u.b)(I.props))},I.onSelect=function(F){if(I.isDisabled())return;var P=I.props.context.onNodeSelect;F.preventDefault(),P(F,Object(u.b)(I.props))},I.onCheck=function(F){if(I.isDisabled())return;var P=I.props,W=P.disableCheckbox,D=P.checked,U=I.props.context.onNodeCheck;if(!I.isCheckable()||W)return;F.preventDefault();var H=!D;U(F,Object(u.b)(I.props),H)},I.onMouseEnter=function(F){var P=I.props.context.onNodeMouseEnter;P(F,Object(u.b)(I.props))},I.onMouseLeave=function(F){var P=I.props.context.onNodeMouseLeave;P(F,Object(u.b)(I.props))},I.onContextMenu=function(F){var P=I.props.context.onNodeContextMenu;P(F,Object(u.b)(I.props))},I.onDragStart=function(F){var P=I.props.context.onNodeDragStart;F.stopPropagation(),I.setState({dragNodeHighlight:!0}),P(F,Object(c.a)(I));try{F.dataTransfer.setData("text/plain","")}catch(W){}},I.onDragEnter=function(F){var P=I.props.context.onNodeDragEnter;F.preventDefault(),F.stopPropagation(),P(F,Object(c.a)(I))},I.onDragOver=function(F){var P=I.props.context.onNodeDragOver;F.preventDefault(),F.stopPropagation(),P(F,Object(c.a)(I))},I.onDragLeave=function(F){var P=I.props.context.onNodeDragLeave;F.stopPropagation(),P(F,Object(c.a)(I))},I.onDragEnd=function(F){var P=I.props.context.onNodeDragEnd;F.stopPropagation(),I.setState({dragNodeHighlight:!1}),P(F,Object(c.a)(I))},I.onDrop=function(F){var P=I.props.context.onNodeDrop;F.preventDefault(),F.stopPropagation(),I.setState({dragNodeHighlight:!1}),P(F,Object(c.a)(I))},I.onExpand=function(F){var P=I.props,W=P.loading,D=P.context.onNodeExpand;if(W)return;D(F,Object(u.b)(I.props))},I.setSelectHandle=function(F){I.selectHandle=F},I.getNodeState=function(){var F=I.props.expanded;return I.isLeaf()?null:F?v:y},I.hasChildren=function(){var F=I.props.eventKey,P=I.props.context.keyEntities,W=P[F]||{},D=W.children;return!!(D||[]).length},I.isLeaf=function(){var F=I.props,P=F.isLeaf,W=F.loaded,D=I.props.context.loadData,U=I.hasChildren();return P===!1?!1:P||!D&&!U||D&&W&&!U},I.isDisabled=function(){var F=I.props.disabled,P=I.props.context.disabled;return!!(P||F)},I.isCheckable=function(){var F=I.props.checkable,P=I.props.context.checkable;return!P||F===!1?!1:P},I.syncLoadData=function(F){var P=F.expanded,W=F.loading,D=F.loaded,U=I.props.context,H=U.loadData,j=U.onNodeLoad;if(W)return;H&&P&&!I.isLeaf()&&(!I.hasChildren()&&!D&&j(Object(u.b)(I.props)))},I.renderSwitcherIconDom=function(F){var P=I.props.switcherIcon,W=I.props.context.switcherIcon,D=P||W;return typeof D=="function"?D(Object(m.a)(Object(m.a)({},I.props),{},{isLeaf:F})):D},I.renderSwitcher=function(){var F=I.props.expanded,P=I.props.context.prefixCls;if(I.isLeaf()){var W=I.renderSwitcherIconDom(!0);return W!==!1?e.createElement("span",{className:i()("".concat(P,"-switcher"),"".concat(P,"-switcher-noop"))},W):null}var D=i()("".concat(P,"-switcher"),"".concat(P,"-switcher_").concat(F?v:y)),U=I.renderSwitcherIconDom(!1);return U!==!1?e.createElement("span",{onClick:I.onExpand,className:D},U):null},I.renderCheckbox=function(){var F=I.props,P=F.checked,W=F.halfChecked,D=F.disableCheckbox,U=I.props.context.prefixCls,H=I.isDisabled(),j=I.isCheckable();if(!j)return null;var K=typeof j!="boolean"?j:null;return e.createElement("span",{className:i()("".concat(U,"-checkbox"),P&&"".concat(U,"-checkbox-checked"),!P&&W&&"".concat(U,"-checkbox-indeterminate"),(H||D)&&"".concat(U,"-checkbox-disabled")),onClick:I.onCheck},K)},I.renderIcon=function(){var F=I.props.loading,P=I.props.context.prefixCls;return e.createElement("span",{className:i()("".concat(P,"-iconEle"),"".concat(P,"-icon__").concat(I.getNodeState()||"docu"),F&&"".concat(P,"-icon_loading"))})},I.renderSelector=function(){var F=I.state.dragNodeHighlight,P=I.props,W=P.title,D=P.selected,U=P.icon,H=P.loading,j=P.data,K=I.props.context,X=K.prefixCls,z=K.showIcon,Y=K.icon,$=K.draggable,ne=K.loadData,J=K.titleRender,ge=I.isDisabled(),de=typeof $=="function"?$(j):$,Ie="".concat(X,"-node-content-wrapper"),be;if(z){var Ce=U||Y;be=Ce?e.createElement("span",{className:i()("".concat(X,"-iconEle"),"".concat(X,"-icon__customize"))},typeof Ce=="function"?Ce(I.props):Ce):I.renderIcon()}else ne&&H&&(be=I.renderIcon());var je;typeof W=="function"?je=W(j):J?je=J(j):je=W;var te=e.createElement("span",{className:"".concat(X,"-title")},je);return e.createElement("span",{ref:I.setSelectHandle,title:typeof W=="string"?W:"",className:i()("".concat(Ie),"".concat(Ie,"-").concat(I.getNodeState()||"normal"),!ge&&(D||F)&&"".concat(X,"-node-selected"),!ge&&de&&"draggable"),draggable:!ge&&de||void 0,"aria-grabbed":!ge&&de||void 0,onMouseEnter:I.onMouseEnter,onMouseLeave:I.onMouseLeave,onContextMenu:I.onContextMenu,onClick:I.onSelectorClick,onDoubleClick:I.onSelectorDoubleClick,onDragStart:de?I.onDragStart:void 0},be,te,I.renderDropIndicator())},I.renderDropIndicator=function(){var F=I.props,P=F.disabled,W=F.eventKey,D=I.props.context,U=D.draggable,H=D.dropLevelOffset,j=D.dropPosition,K=D.prefixCls,X=D.indent,z=D.dropIndicatorRender,Y=D.dragOverNodeKey,$=D.direction,ne=U!==!1,J=!P&&ne&&Y===W;return J?z({dropPosition:j,dropLevelOffset:H,indent:X,prefixCls:K,direction:$}):null},I}return Object(p.a)(_,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var L=this.props.selectable,R=this.props.context.selectable;return typeof L=="boolean"?L:R}},{key:"render",value:function(){var L,R=this.props,k=R.eventKey,F=R.className,P=R.style,W=R.dragOver,D=R.dragOverGapTop,U=R.dragOverGapBottom,H=R.isLeaf,j=R.isStart,K=R.isEnd,X=R.expanded,z=R.selected,Y=R.checked,$=R.halfChecked,ne=R.loading,J=R.domRef,ge=R.active,de=R.data,Ie=R.onMouseMove,be=Object(A.a)(R,d),Ce=this.props.context,je=Ce.prefixCls,te=Ce.filterTreeNode,ve=Ce.draggable,$e=Ce.keyEntities,Le=Ce.dropContainerKey,he=Ce.dropTargetKey,ee=this.isDisabled(),se=Object(a.f)(be),Ue=$e[k]||{},ue=Ue.level,Ne=K[K.length-1],Fe=typeof ve=="function"?ve(de):ve;return e.createElement("div",Object(w.a)({ref:J,className:i()(F,"".concat(je,"-treenode"),(L={},Object(f.a)(L,"".concat(je,"-treenode-disabled"),ee),Object(f.a)(L,"".concat(je,"-treenode-switcher-").concat(X?"open":"close"),!H),Object(f.a)(L,"".concat(je,"-treenode-checkbox-checked"),Y),Object(f.a)(L,"".concat(je,"-treenode-checkbox-indeterminate"),$),Object(f.a)(L,"".concat(je,"-treenode-selected"),z),Object(f.a)(L,"".concat(je,"-treenode-loading"),ne),Object(f.a)(L,"".concat(je,"-treenode-active"),ge),Object(f.a)(L,"".concat(je,"-treenode-leaf-last"),Ne),Object(f.a)(L,"drop-target",he===k),Object(f.a)(L,"drop-container",Le===k),Object(f.a)(L,"drag-over",!ee&&W),Object(f.a)(L,"drag-over-gap-top",!ee&&D),Object(f.a)(L,"drag-over-gap-bottom",!ee&&U),Object(f.a)(L,"filter-node",te&&te(Object(u.b)(this.props))),L)),style:P,onDragEnter:Fe?this.onDragEnter:void 0,onDragOver:Fe?this.onDragOver:void 0,onDragLeave:Fe?this.onDragLeave:void 0,onDrop:Fe?this.onDrop:void 0,onDragEnd:Fe?this.onDragEnd:void 0,onMouseMove:Ie},se),e.createElement(s,{prefixCls:je,level:ue,isStart:j,isEnd:K}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),_}(e.Component),E=function(x){return e.createElement(r.a.Consumer,null,function(_){return e.createElement(b,Object(w.a)({},x,{context:_}))})};E.displayName="TreeNode",E.defaultProps={title:S},E.isTreeNode=1;var C=B.a=E},Wqna:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=A.isObject,g=A.each,p=A.map,c=A.indexOf,h=A.retrieve,l=o("+TT/"),e=l.getLayoutRect,n=o("aX7z"),i=n.createScaleByModel,r=n.ifAxisCrossZero,a=n.niceScaleExtent,t=n.estimateLabelUnionRect,s=o("y+lR"),u=o("7AJT"),d=o("IDmD"),v=o("7hqr"),y=v.getStackedDimension;o("jtI2");function S(k,F,P){return k.getCoordSysModel()===F}function b(k,F,P){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(k,F,P),this.model=k}var E=b.prototype;E.type="grid",E.axisPointerEnabled=!0,E.getRect=function(){return this._rect},E.update=function(k,F){var P=this._axesMap;this._updateScale(k,this.model),g(P.x,function(D){a(D.scale,D.model)}),g(P.y,function(D){a(D.scale,D.model)});var W={};g(P.x,function(D){C(P,"y",D,W)}),g(P.y,function(D){C(P,"x",D,W)}),this.resize(this.model,F)};function C(k,F,P,W){P.getAxesOnZeroOf=function(){return U?[U]:[]};var D=k[F],U,H=P.model,j=H.get("axisLine.onZero"),K=H.get("axisLine.onZeroAxisIndex");if(!j)return;if(K!=null)T(D[K])&&(U=D[K]);else for(var X in D)if(D.hasOwnProperty(X)&&T(D[X])&&!W[z(D[X])]){U=D[X];break}U&&(W[z(U)]=!0);function z(Y){return Y.dim+"_"+Y.index}}function T(k){return k&&k.type!=="category"&&k.type!=="time"&&r(k)}E.resize=function(k,F,P){var W=e(k.getBoxLayoutParams(),{width:F.getWidth(),height:F.getHeight()});this._rect=W;var D=this._axesList;U(),!P&&k.get("containLabel")&&(g(D,function(H){if(!H.model.get("axisLabel.inside")){var j=t(H);if(j){var K=H.isHorizontal()?"height":"width",X=H.model.get("axisLabel.margin");W[K]-=j[K]+X,H.position==="top"?W.y+=j.height+X:H.position==="left"&&(W.x+=j.width+X)}}}),U());function U(){g(D,function(H){var j=H.isHorizontal(),K=j?[0,W.width]:[0,W.height],X=H.inverse?1:0;H.setExtent(K[X],K[1-X]),x(H,j?W.x:W.y)})}},E.getAxis=function(k,F){var P=this._axesMap[k];if(P!=null){if(F==null){for(var W in P)if(P.hasOwnProperty(W))return P[W]}return P[F]}},E.getAxes=function(){return this._axesList.slice()},E.getCartesian=function(k,F){if(k!=null&&F!=null){var P="x"+k+"y"+F;return this._coordsMap[P]}m(k)&&(F=k.yAxisIndex,k=k.xAxisIndex);for(var W=0,D=this._coordsList;W<D.length;W++)if(D[W].getAxis("x").index===k||D[W].getAxis("y").index===F)return D[W]},E.getCartesians=function(){return this._coordsList.slice()},E.convertToPixel=function(k,F,P){var W=this._findConvertTarget(k,F);return W.cartesian?W.cartesian.dataToPoint(P):W.axis?W.axis.toGlobalCoord(W.axis.dataToCoord(P)):null},E.convertFromPixel=function(k,F,P){var W=this._findConvertTarget(k,F);return W.cartesian?W.cartesian.pointToData(P):W.axis?W.axis.coordToData(W.axis.toLocalCoord(P)):null},E._findConvertTarget=function(k,F){var P=F.seriesModel,W=F.xAxisModel||P&&P.getReferringComponents("xAxis")[0],D=F.yAxisModel||P&&P.getReferringComponents("yAxis")[0],U=F.gridModel,H=this._coordsList,j,K;if(P)j=P.coordinateSystem,c(H,j)<0&&(j=null);else if(W&&D)j=this.getCartesian(W.componentIndex,D.componentIndex);else if(W)K=this.getAxis("x",W.componentIndex);else if(D)K=this.getAxis("y",D.componentIndex);else if(U){var X=U.coordinateSystem;X===this&&(j=this._coordsList[0])}return{cartesian:j,axis:K}},E.containPoint=function(k){var F=this._coordsList[0];if(F)return F.containPoint(k)},E._initCartesian=function(k,F,P){var W={left:!1,right:!1,top:!1,bottom:!1},D={x:{},y:{}},U={x:0,y:0};if(F.eachComponent("xAxis",H("x"),this),F.eachComponent("yAxis",H("y"),this),!U.x||!U.y){this._axesMap={},this._axesList=[];return}this._axesMap=D,g(D.x,function(j,K){g(D.y,function(X,z){var Y="x"+K+"y"+z,$=new s(Y);$.grid=this,$.model=k,this._coordsMap[Y]=$,this._coordsList.push($),$.addAxis(j),$.addAxis(X)},this)},this);function H(j){return function(K,X){if(!S(K,k,F))return;var z=K.get("position");j==="x"?z!=="top"&&z!=="bottom"&&(z=W.bottom?"top":"bottom"):z!=="left"&&z!=="right"&&(z=W.left?"right":"left"),W[z]=!0;var Y=new u(j,i(K),[0,0],K.get("type"),z),$=Y.type==="category";Y.onBand=$&&K.get("boundaryGap"),Y.inverse=K.get("inverse"),K.axis=Y,Y.model=K,Y.grid=this,Y.index=X,this._axesList.push(Y),D[j][X]=Y,U[j]++}}},E._updateScale=function(k,F){g(this._axesList,function(W){W.scale.setExtent(Infinity,-Infinity)}),k.eachSeries(function(W){if(L(W)){var D=I(W,k),U=D[0],H=D[1];if(!S(U,F,k)||!S(H,F,k))return;var j=this.getCartesian(U.componentIndex,H.componentIndex),K=W.getData(),X=j.getAxis("x"),z=j.getAxis("y");K.type==="list"&&(P(K,X,W),P(K,z,W))}},this);function P(W,D,U){g(W.mapDimension(D.dim,!0),function(H){D.scale.unionExtentFromData(W,y(W,H))})}},E.getTooltipAxes=function(k){var F=[],P=[];return g(this.getCartesians(),function(W){var D=k!=null&&k!=="auto"?W.getAxis(k):W.getBaseAxis(),U=W.getOtherAxis(D);c(F,D)<0&&F.push(D),c(P,U)<0&&P.push(U)}),{baseAxes:F,otherAxes:P}};function x(k,F){var P=k.getExtent(),W=P[0]+P[1];k.toGlobalCoord=k.dim==="x"?function(D){return D+F}:function(D){return W-D+F},k.toLocalCoord=k.dim==="x"?function(D){return D-F}:function(D){return W-D+F}}var _=["xAxis","yAxis"];function I(k,F){return p(_,function(P){var W=k.getReferringComponents(P)[0];return W})}function L(k){return k.get("coordinateSystem")==="cartesian2d"}b.create=function(k,F){var P=[];return k.eachComponent("grid",function(W,D){var U=new b(W,k,F);U.name="grid_"+D,U.resize(W,F,!0),W.coordinateSystem=U,P.push(U)}),k.eachSeries(function(W){if(!L(W))return;var D=I(W,k),U=D[0],H=D[1],j=U.getCoordSysModel(),K=j.coordinateSystem;W.coordinateSystem=K.getCartesian(U.componentIndex,H.componentIndex)}),P},b.dimensions=b.prototype.dimensions=s.prototype.dimensions,d.register("cartesian2d",b);var R=b;M.exports=R},XOKv:function(M,B,o){o("OXB0"),o("SA4+")},XmSR:function(M,B,o){"use strict";var w=o("rePB"),f=o("wx14"),A=o("ODXe"),m=o("q1tI"),g=o("TSYQ"),p=o.n(g),c=o("bT9E"),h=o("4i/N"),l=o("9R2V"),e=function(S,b){var E={};for(var C in S)Object.prototype.hasOwnProperty.call(S,C)&&b.indexOf(C)<0&&(E[C]=S[C]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,C=Object.getOwnPropertySymbols(S);T<C.length;T++)b.indexOf(C[T])<0&&Object.prototype.propertyIsEnumerable.call(S,C[T])&&(E[C[T]]=S[C[T]]);return E},n=function(b){var E,C=b.prefixCls,T=b.className,x=b.checked,_=b.onChange,I=b.onClick,L=e(b,["prefixCls","className","checked","onChange","onClick"]),R=m.useContext(l.b),k=R.getPrefixCls,F=function(U){_==null||_(!x),I==null||I(U)},P=k("tag",C),W=p()(P,(E={},Object(w.a)(E,"".concat(P,"-checkable"),!0),Object(w.a)(E,"".concat(P,"-checkable-checked"),x),E),T);return m.createElement("span",Object(f.a)({},L,{className:W,onClick:F}))},i=n,r=o("At67"),a=o("9NSp"),t=function(S,b){var E={};for(var C in S)Object.prototype.hasOwnProperty.call(S,C)&&b.indexOf(C)<0&&(E[C]=S[C]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,C=Object.getOwnPropertySymbols(S);T<C.length;T++)b.indexOf(C[T])<0&&Object.prototype.propertyIsEnumerable.call(S,C[T])&&(E[C[T]]=S[C[T]]);return E},s=new RegExp("^(".concat(r.a.join("|"),")(-inverse)?$")),u=new RegExp("^(".concat(r.b.join("|"),")$")),d=function(b,E){var C,T=b.prefixCls,x=b.className,_=b.style,I=b.children,L=b.icon,R=b.color,k=b.onClose,F=b.closeIcon,P=b.closable,W=P===void 0?!1:P,D=t(b,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),U=m.useContext(l.b),H=U.getPrefixCls,j=U.direction,K=m.useState(!0),X=Object(A.a)(K,2),z=X[0],Y=X[1];m.useEffect(function(){"visible"in D&&Y(D.visible)},[D.visible]);var $=function(){return R?s.test(R)||u.test(R):!1},ne=Object(f.a)({backgroundColor:R&&!$()?R:void 0},_),J=$(),ge=H("tag",T),de=p()(ge,(C={},Object(w.a)(C,"".concat(ge,"-").concat(R),J),Object(w.a)(C,"".concat(ge,"-has-color"),R&&!J),Object(w.a)(C,"".concat(ge,"-hidden"),!z),Object(w.a)(C,"".concat(ge,"-rtl"),j==="rtl"),C),x),Ie=function(he){if(he.stopPropagation(),k==null||k(he),he.defaultPrevented)return;"visible"in D||Y(!1)},be=function(){return W?F?m.createElement("span",{className:"".concat(ge,"-close-icon"),onClick:Ie},F):m.createElement(h.a,{className:"".concat(ge,"-close-icon"),onClick:Ie}):null},Ce="onClick"in D||I&&I.type==="a",je=Object(c.a)(D,["visible"]),te=L||null,ve=te?m.createElement(m.Fragment,null,te,m.createElement("span",null,I)):I,$e=m.createElement("span",Object(f.a)({},je,{ref:E,className:de,style:ne}),ve,be());return Ce?m.createElement(a.a,null,$e):$e},v=m.forwardRef(d);v.displayName="Tag",v.CheckableTag=i;var y=B.a=v},Xmg4:function(M,B,o){var w=o("bYtY"),f=o("LPTA"),A=f.devicePixelRatio,m=o("K2GJ"),g=o("3C/r");function p(){return!1}function c(e,n,i){var r=w.createCanvas(),a=n.getWidth(),t=n.getHeight(),s=r.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=a+"px",s.height=t+"px",r.setAttribute("data-zr-dom-id",e)),r.width=a*i,r.height=t*i,r}var h=function(n,i,r){var a;r=r||A,typeof n=="string"?a=c(n,i,r):w.isObject(n)&&(a=n,n=a.id),this.id=n,this.dom=a;var t=a.style;t&&(a.onselectstart=p,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=i,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=r};h.prototype={constructor:h,__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 n=this.dpr;this.domBack=c("back-"+this.id,this.painter,n),this.ctxBack=this.domBack.getContext("2d"),n!==1&&this.ctxBack.scale(n,n)},resize:function(n,i){var r=this.dpr,a=this.dom,t=a.style,s=this.domBack;t&&(t.width=n+"px",t.height=i+"px"),a.width=n*r,a.height=i*r,s&&(s.width=n*r,s.height=i*r,r!==1&&this.ctxBack.scale(r,r))},clear:function(n,i){var r=this.dom,a=this.ctx,t=r.width,s=r.height,i=i||this.clearColor,u=this.motionBlur&&!n,d=this.lastFrameAlpha,v=this.dpr;if(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,t/v,s/v)),a.clearRect(0,0,t,s),i&&i!=="transparent"){var y;i.colorStops?(y=i.__canvasGradient||m.getGradient(a,i,{x:0,y:0,width:t,height:s}),i.__canvasGradient=y):i.image&&(y=g.prototype.getCanvasPattern.call(i,a)),a.save(),a.fillStyle=y||i,a.fillRect(0,0,t,s),a.restore()}if(u){var S=this.domBack;a.save(),a.globalAlpha=d,a.drawImage(S,0,0,t,s),a.restore()}}};var l=h;M.exports=l},Xnb7:function(M,B,o){var w=o("1RvN"),f=new w(50);function A(c){if(typeof c=="string"){var h=f.get(c);return h&&h.image}else return c}function m(c,h,l,e,n){if(c)if(typeof c=="string"){if(h&&h.__zrImageSrc===c||!l)return h;var i=f.get(c),r={hostEl:l,cb:e,cbPayload:n};return i?(h=i.image,!p(h)&&i.pending.push(r)):(h=new Image,h.onload=h.onerror=g,f.put(c,h.__cachedImgObj={image:h,pending:[r]}),h.src=h.__zrImageSrc=c),h}else return c;else return h}function g(){var c=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var h=0;h<c.pending.length;h++){var l=c.pending[h],e=l.cb;e&&e(this,l.cbPayload),l.hostEl.dirty()}c.pending.length=0}function p(c){return c&&c.width&&c.height}B.findExistImage=A,B.createOrUpdateImage=m,B.isImageReady=p},XpcN:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("ProS"),m=o("bYtY"),g=o("oVpE"),p=g.createSymbol,c=o("IwbS"),h=o("eRkO"),l=h.makeBackground,e=o("+TT/"),n=m.curry,i=m.each,r=c.Group,a=A.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new r),this._backgroundEl,this.group.add(this._selectorGroup=new r),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(v,y,S){var b=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!v.get("show",!0))return;var E=v.get("align"),C=v.get("orient");(!E||E==="auto")&&(E=v.get("left")==="right"&&C==="vertical"?"right":"left");var T=v.get("selector",!0),x=v.get("selectorPosition",!0);T&&(!x||x==="auto")&&(x=C==="horizontal"?"end":"start"),this.renderInner(E,v,y,S,T,C,x);var _=v.getBoxLayoutParams(),I={width:S.getWidth(),height:S.getHeight()},L=v.get("padding"),R=e.getLayoutRect(_,I,L),k=this.layoutInner(v,E,R,b,T,x),F=e.getLayoutRect(m.defaults({width:k.width,height:k.height},_),I,L);this.group.attr("position",[F.x-k.x,F.y-k.y]),this.group.add(this._backgroundEl=l(k,v))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(v,y,S,b,E,C,T){var x=this.getContentGroup(),_=m.createHashMap(),I=y.get("selectedMode"),L=[];S.eachRawSeries(function(R){!R.get("legendHoverLink")&&L.push(R.id)}),i(y.getData(),function(R,k){var F=R.get("name");if(!this.newlineDisabled&&(F===""||F===`
|
|
|
`)){x.add(new r({newline:!0}));return}var P=S.getSeriesByName(F)[0];if(_.get(F))return;if(P){var W=P.getData(),D=W.getVisual("color"),U=W.getVisual("borderColor");typeof D=="function"&&(D=D(P.getDataParams(0))),typeof U=="function"&&(U=U(P.getDataParams(0)));var H=W.getVisual("legendSymbol")||"roundRect",j=W.getVisual("symbol"),K=this._createItem(F,k,R,y,H,j,v,D,U,I);K.on("click",n(s,F,null,b,L)).on("mouseover",n(u,P.name,null,b,L)).on("mouseout",n(d,P.name,null,b,L)),_.set(F,!0)}else S.eachRawSeries(function(X){if(_.get(F))return;if(X.legendVisualProvider){var z=X.legendVisualProvider;if(!z.containName(F))return;var Y=z.indexOfName(F),$=z.getItemVisual(Y,"color"),ne=z.getItemVisual(Y,"borderColor"),J="roundRect",ge=this._createItem(F,k,R,y,J,null,v,$,ne,I);ge.on("click",n(s,null,F,b,L)).on("mouseover",n(u,null,F,b,L)).on("mouseout",n(d,null,F,b,L)),_.set(F,!0)}},this)},this),E&&this._createSelector(E,y,b,C,T)},_createSelector:function(v,y,S,b,E){var C=this.getSelectorGroup();i(v,function(x){T(x)});function T(x){var _=x.type,I=new c.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){S.dispatchAction({type:_==="all"?"legendAllSelect":"legendInverseSelect"})}});C.add(I);var L=y.getModel("selectorLabel"),R=y.getModel("emphasis.selectorLabel");c.setLabelStyle(I.style,I.hoverStyle={},L,R,{defaultText:x.title,isRectText:!1}),c.setHoverStyle(I)}},_createItem:function(v,y,S,b,E,C,T,x,_,I){var L=b.get("itemWidth"),R=b.get("itemHeight"),k=b.get("inactiveColor"),F=b.get("inactiveBorderColor"),P=b.get("symbolKeepAspect"),W=b.getModel("itemStyle"),D=b.isSelected(v),U=new r,H=S.getModel("textStyle"),j=S.get("icon"),K=S.getModel("tooltip"),X=K.parentModel;E=j||E;var z=p(E,0,0,L,R,D?x:k,P==null?!0:P);if(U.add(t(z,E,W,_,F,D)),!j&&C&&(C!==E||C==="none")){var Y=R*.8;C==="none"&&(C="circle");var $=p(C,(L-Y)/2,(R-Y)/2,Y,Y,D?x:k,P==null?!0:P);U.add(t($,C,W,_,F,D))}var ne=T==="left"?L+5:-5,J=T,ge=b.get("formatter"),de=v;typeof ge=="string"&&ge?de=ge.replace("{name}",v!=null?v:""):typeof ge=="function"&&(de=ge(v)),U.add(new c.Text({style:c.setTextStyle({},H,{text:de,x:ne,y:R/2,textFill:D?H.getTextColor():k,textAlign:J,textVerticalAlign:"middle"})}));var Ie=new c.Rect({shape:U.getBoundingRect(),invisible:!0,tooltip:K.get("show")?m.extend({content:v,formatter:X.get("formatter",!0)||function(){return v},formatterParams:{componentType:"legend",legendIndex:b.componentIndex,name:v,$vars:["name"]}},K.option):null});return U.add(Ie),U.eachChild(function(be){be.silent=!0}),Ie.silent=!I,this.getContentGroup().add(U),c.setHoverStyle(U),U.__legendDataIndex=y,U},layoutInner:function(v,y,S,b,E,C){var T=this.getContentGroup(),x=this.getSelectorGroup();e.box(v.get("orient"),T,v.get("itemGap"),S.width,S.height);var _=T.getBoundingRect(),I=[-_.x,-_.y];if(E){e.box("horizontal",x,v.get("selectorItemGap",!0));var L=x.getBoundingRect(),R=[-L.x,-L.y],k=v.get("selectorButtonGap",!0),F=v.getOrient().index,P=F===0?"width":"height",W=F===0?"height":"width",D=F===0?"y":"x";C==="end"?R[F]+=_[P]+k:I[F]+=L[P]+k,R[1-F]+=_[W]/2-L[W]/2,x.attr("position",R),T.attr("position",I);var U={x:0,y:0};return U[P]=_[P]+k+L[P],U[W]=Math.max(_[W],L[W]),U[D]=Math.min(0,L[D]+R[1-F]),U}else return T.attr("position",I),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function t(v,y,S,b,E,C){var T;return y!=="line"&&y.indexOf("empty")<0?(T=S.getItemStyle(),v.style.stroke=b,C||(T.stroke=E)):T=S.getItemStyle(["borderWidth","borderColor"]),v.setStyle(T)}function s(v,y,S,b){d(v,y,S,b),S.dispatchAction({type:"legendToggleSelect",name:v!=null?v:y}),u(v,y,S,b)}function u(v,y,S,b){var E=S.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||S.dispatchAction({type:"highlight",seriesName:v,name:y,excludeSeriesId:b})}function d(v,y,S,b){var E=S.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||S.dispatchAction({type:"downplay",seriesName:v,name:y,excludeSeriesId:b})}M.exports=a},XqtR:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("AjEO"),m=o.n(A),g=o("W9l/"),p=o("HaWY"),c=o("sOUE"),h=o("Hejl"),l=o("s6WR"),e=o("1pX7"),n=o("Ca5l"),i=o("jOhD")},XxSj:function(M,B,o){var w=o("bYtY"),f=o("Qe9p"),A=o("OELB"),m=A.linearMap,g=w.each,p=w.isObject,c=-1,h=function(C){var T=C.mappingMethod,x=C.type,_=this.option=w.clone(C);this.type=x,this.mappingMethod=T,this._normalizeData=S[T];var I=l[x];this.applyVisual=I.applyVisual,this.getColorMapper=I.getColorMapper,this._doMap=I._doMap[T],T==="piecewise"?(i(_),e(_)):T==="category"?_.categories?n(_):i(_,!0):(w.assert(T!=="linear"||_.dataExtent),i(_))};h.prototype={constructor:h,mapValueToVisual:function(C){var T=this._normalizeData(C);return this._doMap(T,C)},getNormalizer:function(){return w.bind(this._normalizeData,this)}};var l=h.visualHandlers={color:{applyVisual:t("color"),getColorMapper:function(){var C=this.option;return w.bind(C.mappingMethod==="category"?function(T,x){return!x&&(T=this._normalizeData(T)),s.call(this,T)}:function(T,x,_){var I=!!_;return!x&&(T=this._normalizeData(T)),_=f.fastLerp(T,C.parsedVisual,_),I?_:f.stringify(_,"rgba")},this)},_doMap:{linear:function(C){return f.stringify(f.fastLerp(C,this.option.parsedVisual),"rgba")},category:s,piecewise:function(C,T){var x=v.call(this,T);return x==null&&(x=f.stringify(f.fastLerp(C,this.option.parsedVisual),"rgba")),x},fixed:u}},colorHue:r(function(C,T){return f.modifyHSL(C,T)}),colorSaturation:r(function(C,T){return f.modifyHSL(C,null,T)}),colorLightness:r(function(C,T){return f.modifyHSL(C,null,null,T)}),colorAlpha:r(function(C,T){return f.modifyAlpha(C,T)}),opacity:{applyVisual:t("opacity"),_doMap:d([0,1])},liftZ:{applyVisual:t("liftZ"),_doMap:{linear:u,category:u,piecewise:u,fixed:u}},symbol:{applyVisual:function(C,T,x){var _=this.mapValueToVisual(C);if(w.isString(_))x("symbol",_);else if(p(_))for(var I in _)_.hasOwnProperty(I)&&x(I,_[I])},_doMap:{linear:a,category:s,piecewise:function(C,T){var x=v.call(this,T);return x==null&&(x=a.call(this,C)),x},fixed:u}},symbolSize:{applyVisual:t("symbolSize"),_doMap:d([0,1])}};function e(C){var T=C.pieceList;C.hasSpecialVisual=!1,w.each(T,function(x,_){x.originIndex=_,x.visual!=null&&(C.hasSpecialVisual=!0)})}function n(C){var T=C.categories,x=C.visual,_=C.categoryMap={};if(g(T,function(R,k){_[R]=k}),!w.isArray(x)){var I=[];w.isObject(x)?g(x,function(R,k){var F=_[k];I[F!=null?F:c]=R}):I[c]=x,x=y(C,I)}for(var L=T.length-1;L>=0;L--)x[L]==null&&(delete _[T[L]],T.pop())}function i(C,T){var x=C.visual,_=[];w.isObject(x)?g(x,function(L){_.push(L)}):x!=null&&_.push(x);var I={color:1,symbol:1};!T&&_.length===1&&!I.hasOwnProperty(C.type)&&(_[1]=_[0]),y(C,_)}function r(C){return{applyVisual:function(T,x,_){T=this.mapValueToVisual(T),_("color",C(x("color"),T))},_doMap:d([0,1])}}function a(C){var T=this.option.visual;return T[Math.round(m(C,[0,1],[0,T.length-1],!0))]||{}}function t(C){return function(T,x,_){_(C,this.mapValueToVisual(T))}}function s(C){var T=this.option.visual;return T[this.option.loop&&C!==c?C%T.length:C]}function u(){return this.option.visual[0]}function d(C){return{linear:function(T){return m(T,C,this.option.visual,!0)},category:s,piecewise:function(T,x){var _=v.call(this,x);return _==null&&(_=m(T,C,this.option.visual,!0)),_},fixed:u}}function v(C){var T=this.option,x=T.pieceList;if(T.hasSpecialVisual){var _=h.findPieceIndex(C,x),I=x[_];if(I&&I.visual)return I.visual[this.type]}}function y(C,T){return C.visual=T,C.type==="color"&&(C.parsedVisual=w.map(T,function(x){return f.parse(x)})),T}var S={linear:function(C){return m(C,this.option.dataExtent,[0,1],!0)},piecewise:function(C){var T=this.option.pieceList,x=h.findPieceIndex(C,T,!0);if(x!=null)return m(x,[0,T.length-1],[0,1],!0)},category:function(C){var T=this.option.categories?this.option.categoryMap[C]:C;return T==null?c:T},fixed:w.noop};h.listVisualTypes=function(){var C=[];return w.each(l,function(T,x){C.push(x)}),C},h.addVisualHandler=function(C,T){l[C]=T},h.isValidType=function(C){return l.hasOwnProperty(C)},h.eachVisual=function(C,T,x){w.isObject(C)?w.each(C,T,x):T.call(x,C)},h.mapVisual=function(C,T,x){var _,I=w.isArray(C)?[]:w.isObject(C)?{}:(_=!0,null);return h.eachVisual(C,function(L,R){var k=T.call(x,L,R);_?I=k:I[R]=k}),I},h.retrieveVisuals=function(C){var T={},x;return C&&g(l,function(_,I){C.hasOwnProperty(I)&&(T[I]=C[I],x=!0)}),x?T:null},h.prepareVisualTypes=function(C){if(p(C)){var T=[];g(C,function(x,_){T.push(_)}),C=T}else if(w.isArray(C))C=C.slice();else return[];return C.sort(function(x,_){return _==="color"&&x!=="color"&&x.indexOf("color")===0?1:-1}),C},h.dependsOn=function(C,T){return T==="color"?!!(C&&C.indexOf(T)===0):C===T},h.findPieceIndex=function(C,T,x){for(var _,I=Infinity,L=0,R=T.length;L<R;L++){var k=T[L].value;if(k!=null){if(k===C||typeof k=="string"&&k===C+"")return L;x&&D(k,L)}}for(var L=0,R=T.length;L<R;L++){var F=T[L],P=F.interval,W=F.close;if(P){if(P[0]===-Infinity){if(b(W[1],C,P[1]))return L}else if(P[1]===Infinity){if(b(W[0],P[0],C))return L}else if(b(W[0],P[0],C)&&b(W[1],C,P[1]))return L;x&&D(P[0],L),x&&D(P[1],L)}}if(x)return C===Infinity?T.length-1:C===-Infinity?0:_;function D(U,H){var j=Math.abs(U-C);j<I&&(I=j,_=H)}};function b(C,T,x){return C?T<=x:T<x}var E=h;M.exports=E},Y1PL:function(M,B,o){"use strict";o.r(B),o.d(B,"ResizableTextArea",function(){return S});var w=o("wx14"),f=o("1OyB"),A=o("vuIU"),m=o("Ji7U"),g=o("LK+K"),p=o("q1tI"),c=o("VTBJ"),h=o("rePB"),l=o("t23M"),e=o("bT9E"),n=o("TSYQ"),i=o.n(n),r=`
|
|
|
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
|
|
|
`,a=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],t={},s;function u(C){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,x=C.getAttribute("id")||C.getAttribute("data-reactid")||C.getAttribute("name");if(T&&t[x])return t[x];var _=window.getComputedStyle(C),I=_.getPropertyValue("box-sizing")||_.getPropertyValue("-moz-box-sizing")||_.getPropertyValue("-webkit-box-sizing"),L=parseFloat(_.getPropertyValue("padding-bottom"))+parseFloat(_.getPropertyValue("padding-top")),R=parseFloat(_.getPropertyValue("border-bottom-width"))+parseFloat(_.getPropertyValue("border-top-width")),k=a.map(function(P){return"".concat(P,":").concat(_.getPropertyValue(P))}).join(";"),F={sizingStyle:k,paddingSize:L,borderSize:R,boxSizing:I};return T&&x&&(t[x]=F),F}function d(C){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,_=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;s||(s=document.createElement("textarea"),s.setAttribute("tab-index","-1"),s.setAttribute("aria-hidden","true"),document.body.appendChild(s)),C.getAttribute("wrap")?s.setAttribute("wrap",C.getAttribute("wrap")):s.removeAttribute("wrap");var I=u(C,T),L=I.paddingSize,R=I.borderSize,k=I.boxSizing,F=I.sizingStyle;s.setAttribute("style","".concat(F,";").concat(r)),s.value=C.value||C.placeholder||"";var P=Number.MIN_SAFE_INTEGER,W=Number.MAX_SAFE_INTEGER,D=s.scrollHeight,U;if(k==="border-box"?D+=R:k==="content-box"&&(D-=L),x!==null||_!==null){s.value=" ";var H=s.scrollHeight-L;x!==null&&(P=H*x,k==="border-box"&&(P=P+L+R),D=Math.max(P,D)),_!==null&&(W=H*_,k==="border-box"&&(W=W+L+R),U=D>W?"":"hidden",D=Math.min(W,D))}return{height:D,minHeight:P,maxHeight:W,overflowY:U,resize:"none"}}var v;(function(C){C[C.NONE=0]="NONE",C[C.RESIZING=1]="RESIZING",C[C.RESIZED=2]="RESIZED"})(v||(v={}));var y=function(C){Object(m.a)(x,C);var T=Object(g.a)(x);function x(_){var I;return Object(f.a)(this,x),I=T.call(this,_),I.nextFrameActionId=void 0,I.resizeFrameId=void 0,I.textArea=void 0,I.saveTextArea=function(L){I.textArea=L},I.handleResize=function(L){var R=I.state.resizeStatus,k=I.props,F=k.autoSize,P=k.onResize;if(R!==v.NONE)return;typeof P=="function"&&P(L),F&&I.resizeOnNextFrame()},I.resizeOnNextFrame=function(){cancelAnimationFrame(I.nextFrameActionId),I.nextFrameActionId=requestAnimationFrame(I.resizeTextarea)},I.resizeTextarea=function(){var L=I.props.autoSize;if(!L||!I.textArea)return;var R=L.minRows,k=L.maxRows,F=d(I.textArea,!1,R,k);I.setState({textareaStyles:F,resizeStatus:v.RESIZING},function(){cancelAnimationFrame(I.resizeFrameId),I.resizeFrameId=requestAnimationFrame(function(){I.setState({resizeStatus:v.RESIZED},function(){I.resizeFrameId=requestAnimationFrame(function(){I.setState({resizeStatus:v.NONE}),I.fixFirefoxAutoScroll()})})})})},I.renderTextArea=function(){var L=I.props,R=L.prefixCls,k=R===void 0?"rc-textarea":R,F=L.autoSize,P=L.onResize,W=L.className,D=L.disabled,U=I.state,H=U.textareaStyles,j=U.resizeStatus,K=Object(e.a)(I.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),X=i()(k,W,Object(h.a)({},"".concat(k,"-disabled"),D));"value"in K&&(K.value=K.value||"");var z=Object(c.a)(Object(c.a)(Object(c.a)({},I.props.style),H),j===v.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return p.createElement(l.a,{onResize:I.handleResize,disabled:!(F||P)},p.createElement("textarea",Object(w.a)({},K,{className:X,style:z,ref:I.saveTextArea})))},I.state={textareaStyles:{},resizeStatus:v.NONE},I}return Object(A.a)(x,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(I){I.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 I=this.textArea.selectionStart,L=this.textArea.selectionEnd;this.textArea.setSelectionRange(I,L)}}catch(R){}}},{key:"render",value:function(){return this.renderTextArea()}}]),x}(p.Component),S=y,b=function(C){Object(m.a)(x,C);var T=Object(g.a)(x);function x(_){var I;Object(f.a)(this,x),I=T.call(this,_),I.resizableTextArea=void 0,I.focus=function(){I.resizableTextArea.textArea.focus()},I.saveTextArea=function(R){I.resizableTextArea=R},I.handleChange=function(R){var k=I.props.onChange;I.setValue(R.target.value,function(){I.resizableTextArea.resizeTextarea()}),k&&k(R)},I.handleKeyDown=function(R){var k=I.props,F=k.onPressEnter,P=k.onKeyDown;R.keyCode===13&&F&&F(R),P&&P(R)};var L=typeof _.value=="undefined"||_.value===null?_.defaultValue:_.value;return I.state={value:L},I}return Object(A.a)(x,[{key:"setValue",value:function(I,L){"value"in this.props||this.setState({value:I},L)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return p.createElement(S,Object(w.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(I){return"value"in I?{value:I.value}:null}}]),x}(p.Component),E=B.default=b},YH21:function(M,B,o){var w=o("H6uX");B.Dispatcher=w;var f=o("ItGF"),A=o("Ze12"),m=A.isCanvasEl,g=A.transformCoordWithViewport,p=typeof window!="undefined"&&!!window.addEventListener,c=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,h=[];function l(d,v,y,S){return y=y||{},S||!f.canvasSupported?e(d,v,y):f.browser.firefox&&v.layerX!=null&&v.layerX!==v.offsetX?(y.zrX=v.layerX,y.zrY=v.layerY):v.offsetX!=null?(y.zrX=v.offsetX,y.zrY=v.offsetY):e(d,v,y),y}function e(d,v,y){if(f.domSupported&&d.getBoundingClientRect){var S=v.clientX,b=v.clientY;if(m(d)){var E=d.getBoundingClientRect();y.zrX=S-E.left,y.zrY=b-E.top;return}else if(g(h,d,S,b)){y.zrX=h[0],y.zrY=h[1];return}}y.zrX=y.zrY=0}function n(d){return d||window.event}function i(d,v,y){if(v=n(v),v.zrX!=null)return v;var S=v.type,b=S&&S.indexOf("touch")>=0;if(!b)l(d,v,v,y),v.zrDelta=v.wheelDelta?v.wheelDelta/120:-(v.detail||0)/3;else{var E=S!=="touchend"?v.targetTouches[0]:v.changedTouches[0];E&&l(d,E,v,y)}var C=v.button;return v.which==null&&C!==void 0&&c.test(v.type)&&(v.which=C&1?1:C&2?3:C&4?2:0),v}function r(d,v,y,S){p?d.addEventListener(v,y,S):d.attachEvent("on"+v,y)}function a(d,v,y,S){p?d.removeEventListener(v,y,S):d.detachEvent("on"+v,y)}var t=p?function(d){d.preventDefault(),d.stopPropagation(),d.cancelBubble=!0}:function(d){d.returnValue=!1,d.cancelBubble=!0};function s(d){return d.which===2||d.which===3}function u(d){return d.which>1}B.clientToLocal=l,B.getNativeEvent=n,B.normalizeEvent=i,B.addEventListener=r,B.removeEventListener=a,B.stop=t,B.isMiddleOrRightButtonOnMouseUpDown=s,B.notLeftMouse=u},YJ9k:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;function w(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}function f(g,p){for(var c=0;c<p.length;c++){var h=p[c];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(g,h.key,h)}}function A(g,p,c){return p&&f(g.prototype,p),c&&f(g,c),g}var m=function(){function g(){w(this,g),this._listeners=new Map}return A(g,[{key:"addEventListener",value:function(c,h){this._listeners.has(c)||this._listeners.set(c,new Set),this._listeners.get(c).add(h)}},{key:"removeEventListener",value:function(c,h){this._listeners.has(c)&&this._listeners.get(c).delete(h)}},{key:"dispatchEvent",value:function(c){var h=this;return this._listeners.has(c.type)?(this._listeners.get(c.type).forEach(function(l){return l.call(h,c)}),!c.defaultPrevented):!0}}]),g}();B.default=m},YJCA:function(M,B,o){"use strict";o.d(B,"a",function(){return se}),o.d(B,"b",function(){return Ne});var w=o("wx14"),f=o("ODXe"),A=o("vpQ4"),m=o("1OyB"),g=o("vuIU"),p=o("md7G"),c=o("foSv"),h=o("Ji7U"),l=o("JX7q"),e=o("rePB"),n=o("q1tI"),i=o.n(n),r=o("17x9"),a=o.n(r),t=o("i8i4"),s=o.n(t),u=o("QLaP"),d=o.n(u),v=o("KQm4"),y=function(){function Fe(){Object(m.a)(this,Fe),Object(e.a)(this,"refs",{})}return Object(g.a)(Fe,[{key:"add",value:function(ce,_e){this.refs[ce]||(this.refs[ce]=[]),this.refs[ce].push(_e)}},{key:"remove",value:function(ce,_e){var ze=this.getIndex(ce,_e);ze!==-1&&this.refs[ce].splice(ze,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var ce=this;return this.refs[this.active.collection].find(function(_e){var ze=_e.node;return ze.sortableInfo.index==ce.active.index})}},{key:"getIndex",value:function(ce,_e){return this.refs[ce].indexOf(_e)}},{key:"getOrderedRefs",value:function(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[ce].sort(S)}}]),Fe}();function S(Fe,ae){var ce=Fe.node.sortableInfo.index,_e=ae.node.sortableInfo.index;return ce-_e}function b(Fe,ae,ce){return Fe=Fe.slice(),Fe.splice(ce<0?Fe.length+ce:ce,0,Fe.splice(ae,1)[0]),Fe}function E(Fe,ae){return Object.keys(Fe).reduce(function(ce,_e){return ae.indexOf(_e)===-1&&(ce[_e]=Fe[_e]),ce},{})}var C={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},T=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Fe=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],ae=(Array.prototype.slice.call(Fe).join("").match(/-(moz|webkit|ms)-/)||Fe.OLink===""&&["","o"])[1];switch(ae){case"ms":return"ms";default:return ae&&ae.length?ae[0].toUpperCase()+ae.substr(1):""}}();function x(Fe,ae){Object.keys(ae).forEach(function(ce){Fe.style[ce]=ae[ce]})}function _(Fe,ae){Fe.style["".concat(T,"Transform")]=ae==null?"":"translate3d(".concat(ae.x,"px,").concat(ae.y,"px,0)")}function I(Fe,ae){Fe.style["".concat(T,"TransitionDuration")]=ae==null?"":"".concat(ae,"ms")}function L(Fe,ae){for(;Fe;){if(ae(Fe))return Fe;Fe=Fe.parentNode}return null}function R(Fe,ae,ce){return Math.max(Fe,Math.min(ce,ae))}function k(Fe){return Fe.substr(-2)==="px"?parseFloat(Fe):0}function F(Fe){var ae=window.getComputedStyle(Fe);return{bottom:k(ae.marginBottom),left:k(ae.marginLeft),right:k(ae.marginRight),top:k(ae.marginTop)}}function P(Fe,ae){var ce=ae.displayName||ae.name;return ce?"".concat(Fe,"(").concat(ce,")"):Fe}function W(Fe,ae){var ce=Fe.getBoundingClientRect();return{top:ce.top+ae.top,left:ce.left+ae.left}}function D(Fe){return Fe.touches&&Fe.touches.length?{x:Fe.touches[0].pageX,y:Fe.touches[0].pageY}:Fe.changedTouches&&Fe.changedTouches.length?{x:Fe.changedTouches[0].pageX,y:Fe.changedTouches[0].pageY}:{x:Fe.pageX,y:Fe.pageY}}function U(Fe){return Fe.touches&&Fe.touches.length||Fe.changedTouches&&Fe.changedTouches.length}function H(Fe,ae){var ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Fe)return;var _e={left:ce.left+Fe.offsetLeft,top:ce.top+Fe.offsetTop};return Fe.parentNode===ae?_e:H(Fe.parentNode,ae,_e)}function j(Fe,ae,ce){return Fe<ce&&Fe>ae?Fe-1:Fe>ce&&Fe<ae?Fe+1:Fe}function K(Fe){var ae=Fe.lockOffset,ce=Fe.width,_e=Fe.height,ze=ae,it=ae,Ze="px";if(typeof ae=="string"){var Ee=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(ae);d()(Ee!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',ae),ze=parseFloat(ae),it=parseFloat(ae),Ze=Ee[1]}return d()(isFinite(ze)&&isFinite(it),"lockOffset value should be a finite. Given %s",ae),Ze==="%"&&(ze=ze*ce/100,it=it*_e/100),{x:ze,y:it}}function X(Fe){var ae=Fe.height,ce=Fe.width,_e=Fe.lockOffset,ze=Array.isArray(_e)?_e:[_e,_e];d()(ze.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",_e);var it=Object(f.a)(ze,2),Ze=it[0],Ee=it[1];return[K({height:ae,lockOffset:Ze,width:ce}),K({height:ae,lockOffset:Ee,width:ce})]}function z(Fe){var ae=window.getComputedStyle(Fe),ce=/(auto|scroll)/,_e=["overflow","overflowX","overflowY"];return _e.find(function(ze){return ce.test(ae[ze])})}function Y(Fe){return Fe instanceof HTMLElement?z(Fe)?Fe:Y(Fe.parentNode):null}function $(Fe){var ae=window.getComputedStyle(Fe);return ae.display==="grid"?{x:k(ae.gridColumnGap),y:k(ae.gridRowGap)}:{x:0,y:0}}var ne={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},J={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function ge(Fe){var ae="input, textarea, select, canvas, [contenteditable]",ce=Fe.querySelectorAll(ae),_e=Fe.cloneNode(!0),ze=Object(v.a)(_e.querySelectorAll(ae));return ze.forEach(function(it,Ze){if(it.type!=="file"&&(it.value=ce[Ze].value),it.type==="radio"&&it.name&&(it.name="__sortableClone__".concat(it.name)),it.tagName===J.Canvas&&ce[Ze].width>0&&ce[Ze].height>0){var Ee=it.getContext("2d");Ee.drawImage(ce[Ze],0,0)}}),_e}function de(Fe){var ae,ce,_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ce=ae=function(ze){Object(h.a)(it,ze);function it(){return Object(m.a)(this,it),Object(p.a)(this,Object(c.a)(it).apply(this,arguments))}return Object(g.a)(it,[{key:"componentDidMount",value:function(){var Ee=Object(t.findDOMNode)(this);Ee.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return d()(_e.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Ee=_e.withRef?"wrappedInstance":null;return Object(n.createElement)(Fe,Object(w.a)({ref:Ee},this.props))}}]),it}(n.Component),Object(e.a)(ae,"displayName",P("sortableHandle",Fe)),ce}function Ie(Fe){return Fe.sortableHandle!=null}var be=function(){function Fe(ae,ce){Object(m.a)(this,Fe),this.container=ae,this.onScrollCallback=ce}return Object(g.a)(Fe,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(ce){var _e=this,ze=ce.translate,it=ce.minTranslate,Ze=ce.maxTranslate,Ee=ce.width,mt=ce.height,Je={x:0,y:0},rt={x:1,y:1},wt={x:10,y:10},Ot=this.container,Ct=Ot.scrollTop,Dt=Ot.scrollLeft,Xe=Ot.scrollHeight,q=Ot.scrollWidth,V=Ot.clientHeight,Ae=Ot.clientWidth,xe=Ct===0,re=Xe-Ct-V===0,ot=Dt===0,bt=q-Dt-Ae===0;ze.y>=Ze.y-mt/2&&!re?(Je.y=1,rt.y=wt.y*Math.abs((Ze.y-mt/2-ze.y)/mt)):ze.x>=Ze.x-Ee/2&&!bt?(Je.x=1,rt.x=wt.x*Math.abs((Ze.x-Ee/2-ze.x)/Ee)):ze.y<=it.y+mt/2&&!xe?(Je.y=-1,rt.y=wt.y*Math.abs((ze.y-mt/2-it.y)/mt)):ze.x<=it.x+Ee/2&&!ot&&(Je.x=-1,rt.x=wt.x*Math.abs((ze.x-Ee/2-it.x)/Ee)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Je.x!==0||Je.y!==0)&&(this.interval=setInterval(function(){_e.isAutoScrolling=!0;var tt={left:rt.x*Je.x,top:rt.y*Je.y};_e.container.scrollTop+=tt.top,_e.container.scrollLeft+=tt.left,_e.onScrollCallback(tt)},5))}}]),Fe}();function Ce(Fe){var ae=Fe.node;return{height:ae.offsetHeight,width:ae.offsetWidth}}function je(Fe){var ae=[J.Input,J.Textarea,J.Select,J.Option,J.Button];return ae.indexOf(Fe.target.tagName)!==-1?!0:!!L(Fe.target,function(ce){return ce.contentEditable==="true"})}var te={axis:a.a.oneOf(["x","y","xy"]),contentWindow:a.a.any,disableAutoscroll:a.a.bool,distance:a.a.number,getContainer:a.a.func,getHelperDimensions:a.a.func,helperClass:a.a.string,helperContainer:a.a.oneOfType([a.a.func,typeof HTMLElement=="undefined"?a.a.any:a.a.instanceOf(HTMLElement)]),hideSortableGhost:a.a.bool,keyboardSortingTransitionDuration:a.a.number,lockAxis:a.a.string,lockOffset:a.a.oneOfType([a.a.number,a.a.string,a.a.arrayOf(a.a.oneOfType([a.a.number,a.a.string]))]),lockToContainerEdges:a.a.bool,onSortEnd:a.a.func,onSortMove:a.a.func,onSortOver:a.a.func,onSortStart:a.a.func,pressDelay:a.a.number,pressThreshold:a.a.number,keyCodes:a.a.shape({lift:a.a.arrayOf(a.a.number),drop:a.a.arrayOf(a.a.number),cancel:a.a.arrayOf(a.a.number),up:a.a.arrayOf(a.a.number),down:a.a.arrayOf(a.a.number)}),shouldCancelStart:a.a.func,transitionDuration:a.a.number,updateBeforeSortStart:a.a.func,useDragHandle:a.a.bool,useWindowAsScrollContainer:a.a.bool},ve={lift:[ne.SPACE],drop:[ne.SPACE],cancel:[ne.ESC],up:[ne.UP,ne.LEFT],down:[ne.DOWN,ne.RIGHT]},$e={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Ce,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ve,shouldCancelStart:je,transitionDuration:300,useWindowAsScrollContainer:!1},Le=Object.keys(te);function he(Fe){d()(!(Fe.distance&&Fe.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(Fe,ae){try{var ce=Fe()}catch(_e){return ae(!0,_e)}return ce&&ce.then?ce.then(ae.bind(null,!1),ae.bind(null,!0)):ae(!1,value)}function se(Fe){var ae,ce,_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ce=ae=function(ze){Object(h.a)(it,ze);function it(Ze){var Ee;return Object(m.a)(this,it),Ee=Object(p.a)(this,Object(c.a)(it).call(this,Ze)),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"state",{}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"handleStart",function(mt){var Je=Ee.props,rt=Je.distance,wt=Je.shouldCancelStart;if(mt.button===2||wt(mt))return;Ee.touched=!0,Ee.position=D(mt);var Ot=L(mt.target,function(Ae){return Ae.sortableInfo!=null});if(Ot&&Ot.sortableInfo&&Ee.nodeIsChild(Ot)&&!Ee.state.sorting){var Ct=Ee.props.useDragHandle,Dt=Ot.sortableInfo,Xe=Dt.index,q=Dt.collection,V=Dt.disabled;if(V)return;if(Ct&&!L(mt.target,Ie))return;Ee.manager.active={collection:q,index:Xe},!U(mt)&&mt.target.tagName===J.Anchor&&mt.preventDefault(),rt||(Ee.props.pressDelay===0?Ee.handlePress(mt):Ee.pressTimer=setTimeout(function(){return Ee.handlePress(mt)},Ee.props.pressDelay))}}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"nodeIsChild",function(mt){return mt.sortableInfo.manager===Ee.manager}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"handleMove",function(mt){var Je=Ee.props,rt=Je.distance,wt=Je.pressThreshold;if(!Ee.state.sorting&&Ee.touched&&!Ee._awaitingUpdateBeforeSortStart){var Ot=D(mt),Ct={x:Ee.position.x-Ot.x,y:Ee.position.y-Ot.y},Dt=Math.abs(Ct.x)+Math.abs(Ct.y);Ee.delta=Ct,!rt&&(!wt||Dt>=wt)?(clearTimeout(Ee.cancelTimer),Ee.cancelTimer=setTimeout(Ee.cancel,0)):rt&&Dt>=rt&&Ee.manager.isActive()&&Ee.handlePress(mt)}}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"handleEnd",function(){Ee.touched=!1,Ee.cancel()}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"cancel",function(){var mt=Ee.props.distance,Je=Ee.state.sorting;Je||(mt||clearTimeout(Ee.pressTimer),Ee.manager.active=null)}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"handlePress",function(mt){try{var Je=Ee.manager.getActive(),rt=function(){if(Je){var wt=function(){var Gt=re.sortableInfo.index,lr=F(re),pr=$(Ee.container),Rr=Ee.scrollContainer.getBoundingClientRect(),xt=Dt({index:Gt,node:re,collection:ot});if(Ee.node=re,Ee.margin=lr,Ee.gridGap=pr,Ee.width=xt.width,Ee.height=xt.height,Ee.marginOffset={x:Ee.margin.left+Ee.margin.right+Ee.gridGap.x,y:Math.max(Ee.margin.top,Ee.margin.bottom,Ee.gridGap.y)},Ee.boundingClientRect=re.getBoundingClientRect(),Ee.containerBoundingRect=Rr,Ee.index=Gt,Ee.newIndex=Gt,Ee.axis={x:Ct.indexOf("x")>=0,y:Ct.indexOf("y")>=0},Ee.offsetEdge=H(re,Ee.container),bt?Ee.initialOffset=D(Object(A.a)({},mt,{pageX:Ee.boundingClientRect.left,pageY:Ee.boundingClientRect.top})):Ee.initialOffset=D(mt),Ee.initialScroll={left:Ee.scrollContainer.scrollLeft,top:Ee.scrollContainer.scrollTop},Ee.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Ee.helper=Ee.helperContainer.appendChild(ge(re)),x(Ee.helper,{boxSizing:"border-box",height:"".concat(Ee.height,"px"),left:"".concat(Ee.boundingClientRect.left-lr.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Ee.boundingClientRect.top-lr.top,"px"),width:"".concat(Ee.width,"px")}),bt&&Ee.helper.focus(),q&&(Ee.sortableGhost=re,x(re,{opacity:0,visibility:"hidden"})),Ee.minTranslate={},Ee.maxTranslate={},bt){var It=xe?{top:0,left:0,width:Ee.contentWindow.innerWidth,height:Ee.contentWindow.innerHeight}:Ee.containerBoundingRect,At=It.top,Zt=It.left,br=It.width,Lr=It.height,Jr=At+Lr,In=Zt+br;Ee.axis.x&&(Ee.minTranslate.x=Zt-Ee.boundingClientRect.left,Ee.maxTranslate.x=In-(Ee.boundingClientRect.left+Ee.width)),Ee.axis.y&&(Ee.minTranslate.y=At-Ee.boundingClientRect.top,Ee.maxTranslate.y=Jr-(Ee.boundingClientRect.top+Ee.height))}else Ee.axis.x&&(Ee.minTranslate.x=(xe?0:Rr.left)-Ee.boundingClientRect.left-Ee.width/2,Ee.maxTranslate.x=(xe?Ee.contentWindow.innerWidth:Rr.left+Rr.width)-Ee.boundingClientRect.left-Ee.width/2),Ee.axis.y&&(Ee.minTranslate.y=(xe?0:Rr.top)-Ee.boundingClientRect.top-Ee.height/2,Ee.maxTranslate.y=(xe?Ee.contentWindow.innerHeight:Rr.top+Rr.height)-Ee.boundingClientRect.top-Ee.height/2);Xe&&Xe.split(" ").forEach(function(Gr){return Ee.helper.classList.add(Gr)}),Ee.listenerNode=mt.touches?re:Ee.contentWindow,bt?(Ee.listenerNode.addEventListener("wheel",Ee.handleKeyEnd,!0),Ee.listenerNode.addEventListener("mousedown",Ee.handleKeyEnd,!0),Ee.listenerNode.addEventListener("keydown",Ee.handleKeyDown)):(C.move.forEach(function(Gr){return Ee.listenerNode.addEventListener(Gr,Ee.handleSortMove,!1)}),C.end.forEach(function(Gr){return Ee.listenerNode.addEventListener(Gr,Ee.handleSortEnd,!1)})),Ee.setState({sorting:!0,sortingIndex:Gt}),Ae&&Ae({node:re,index:Gt,collection:ot,isKeySorting:bt,nodes:Ee.manager.getOrderedRefs(),helper:Ee.helper},mt),bt&&Ee.keyMove(0)},Ot=Ee.props,Ct=Ot.axis,Dt=Ot.getHelperDimensions,Xe=Ot.helperClass,q=Ot.hideSortableGhost,V=Ot.updateBeforeSortStart,Ae=Ot.onSortStart,xe=Ot.useWindowAsScrollContainer,re=Je.node,ot=Je.collection,bt=Ee.manager.isKeySorting,tt=function(){if(typeof V=="function"){Ee._awaitingUpdateBeforeSortStart=!0;var Tt=ee(function(){var Gt=re.sortableInfo.index;return Promise.resolve(V({collection:ot,index:Gt,node:re,isKeySorting:bt},mt)).then(function(){})},function(Gt,lr){if(Ee._awaitingUpdateBeforeSortStart=!1,Gt)throw lr;return lr});if(Tt&&Tt.then)return Tt.then(function(){})}}();return tt&&tt.then?tt.then(wt):wt(tt)}}();return Promise.resolve(rt&&rt.then?rt.then(function(){}):void 0)}catch(wt){return Promise.reject(wt)}}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"handleSortMove",function(mt){var Je=Ee.props.onSortMove;typeof mt.preventDefault=="function"&&mt.preventDefault(),Ee.updateHelperPosition(mt),Ee.animateNodes(),Ee.autoscroll(),Je&&Je(mt)}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"handleSortEnd",function(mt){var Je=Ee.props,rt=Je.hideSortableGhost,wt=Je.onSortEnd,Ot=Ee.manager,Ct=Ot.active.collection,Dt=Ot.isKeySorting,Xe=Ee.manager.getOrderedRefs();Ee.listenerNode&&(Dt?(Ee.listenerNode.removeEventListener("wheel",Ee.handleKeyEnd,!0),Ee.listenerNode.removeEventListener("mousedown",Ee.handleKeyEnd,!0),Ee.listenerNode.removeEventListener("keydown",Ee.handleKeyDown)):(C.move.forEach(function(re){return Ee.listenerNode.removeEventListener(re,Ee.handleSortMove)}),C.end.forEach(function(re){return Ee.listenerNode.removeEventListener(re,Ee.handleSortEnd)}))),Ee.helper.parentNode.removeChild(Ee.helper),rt&&Ee.sortableGhost&&x(Ee.sortableGhost,{opacity:"",visibility:""});for(var q=0,V=Xe.length;q<V;q++){var Ae=Xe[q],xe=Ae.node;Ae.edgeOffset=null,Ae.boundingClientRect=null,_(xe,null),I(xe,null),Ae.translate=null}Ee.autoScroller.clear(),Ee.manager.active=null,Ee.manager.isKeySorting=!1,Ee.setState({sorting:!1,sortingIndex:null}),typeof wt=="function"&&wt({collection:Ct,newIndex:Ee.newIndex,oldIndex:Ee.index,isKeySorting:Dt,nodes:Xe},mt),Ee.touched=!1}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"autoscroll",function(){var mt=Ee.props.disableAutoscroll,Je=Ee.manager.isKeySorting;if(mt){Ee.autoScroller.clear();return}if(Je){var rt=Object(A.a)({},Ee.translate),wt=0,Ot=0;Ee.axis.x&&(rt.x=Math.min(Ee.maxTranslate.x,Math.max(Ee.minTranslate.x,Ee.translate.x)),wt=Ee.translate.x-rt.x),Ee.axis.y&&(rt.y=Math.min(Ee.maxTranslate.y,Math.max(Ee.minTranslate.y,Ee.translate.y)),Ot=Ee.translate.y-rt.y),Ee.translate=rt,_(Ee.helper,Ee.translate),Ee.scrollContainer.scrollLeft+=wt,Ee.scrollContainer.scrollTop+=Ot;return}Ee.autoScroller.update({height:Ee.height,maxTranslate:Ee.maxTranslate,minTranslate:Ee.minTranslate,translate:Ee.translate,width:Ee.width})}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"onAutoScroll",function(mt){Ee.translate.x+=mt.left,Ee.translate.y+=mt.top,Ee.animateNodes()}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"handleKeyDown",function(mt){var Je=mt.keyCode,rt=Ee.props,wt=rt.shouldCancelStart,Ot=rt.keyCodes,Ct=Ot===void 0?{}:Ot,Dt=Object(A.a)({},ve,Ct);if(Ee.manager.active&&!Ee.manager.isKeySorting||!Ee.manager.active&&(!Dt.lift.includes(Je)||wt(mt)||!Ee.isValidSortingTarget(mt)))return;mt.stopPropagation(),mt.preventDefault(),Dt.lift.includes(Je)&&!Ee.manager.active?Ee.keyLift(mt):Dt.drop.includes(Je)&&Ee.manager.active?Ee.keyDrop(mt):Dt.cancel.includes(Je)?(Ee.newIndex=Ee.manager.active.index,Ee.keyDrop(mt)):Dt.up.includes(Je)?Ee.keyMove(-1):Dt.down.includes(Je)&&Ee.keyMove(1)}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"keyLift",function(mt){var Je=mt.target,rt=L(Je,function(Dt){return Dt.sortableInfo!=null}),wt=rt.sortableInfo,Ot=wt.index,Ct=wt.collection;Ee.initialFocusedNode=Je,Ee.manager.isKeySorting=!0,Ee.manager.active={index:Ot,collection:Ct},Ee.handlePress(mt)}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"keyMove",function(mt){var Je=Ee.manager.getOrderedRefs(),rt=Je[Je.length-1].node.sortableInfo.index,wt=Ee.newIndex+mt,Ot=Ee.newIndex;if(wt<0||wt>rt)return;Ee.prevIndex=Ot,Ee.newIndex=wt;var Ct=j(Ee.newIndex,Ee.prevIndex,Ee.index),Dt=Je.find(function(bt){var tt=bt.node;return tt.sortableInfo.index===Ct}),Xe=Dt.node,q=Ee.containerScrollDelta,V=Dt.boundingClientRect||W(Xe,q),Ae=Dt.translate||{x:0,y:0},xe={top:V.top+Ae.y-q.top,left:V.left+Ae.x-q.left},re=Ot<wt,ot={x:re&&Ee.axis.x?Xe.offsetWidth-Ee.width:0,y:re&&Ee.axis.y?Xe.offsetHeight-Ee.height:0};Ee.handleSortMove({pageX:xe.left+ot.x,pageY:xe.top+ot.y,ignoreTransition:mt===0})}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"keyDrop",function(mt){Ee.handleSortEnd(mt),Ee.initialFocusedNode&&Ee.initialFocusedNode.focus()}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"handleKeyEnd",function(mt){Ee.manager.active&&Ee.keyDrop(mt)}),Object(e.a)(Object(l.a)(Object(l.a)(Ee)),"isValidSortingTarget",function(mt){var Je=Ee.props.useDragHandle,rt=mt.target,wt=L(rt,function(Ot){return Ot.sortableInfo!=null});return wt&&wt.sortableInfo&&!wt.sortableInfo.disabled&&(Je?Ie(rt):rt.sortableInfo)}),he(Ze),Ee.manager=new y,Ee.events={end:Ee.handleEnd,move:Ee.handleMove,start:Ee.handleStart},Ee}return Object(g.a)(it,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Ee=this,mt=this.props.useWindowAsScrollContainer,Je=this.getContainer();Promise.resolve(Je).then(function(rt){Ee.container=rt,Ee.document=Ee.container.ownerDocument||document;var wt=Ee.props.contentWindow||Ee.document.defaultView||window;Ee.contentWindow=typeof wt=="function"?wt():wt,Ee.scrollContainer=mt?Ee.document.scrollingElement||Ee.document.documentElement:Y(Ee.container)||Ee.container,Ee.autoScroller=new be(Ee.scrollContainer,Ee.onAutoScroll),Object.keys(Ee.events).forEach(function(Ot){return C[Ot].forEach(function(Ct){return Ee.container.addEventListener(Ct,Ee.events[Ot],!1)})}),Ee.container.addEventListener("keydown",Ee.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Ee=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(mt){return C[mt].forEach(function(Je){return Ee.container.removeEventListener(Je,Ee.events[mt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Ee){var mt=this.props,Je=mt.lockAxis,rt=mt.lockOffset,wt=mt.lockToContainerEdges,Ot=mt.transitionDuration,Ct=mt.keyboardSortingTransitionDuration,Dt=Ct===void 0?Ot:Ct,Xe=this.manager.isKeySorting,q=Ee.ignoreTransition,V=D(Ee),Ae={x:V.x-this.initialOffset.x,y:V.y-this.initialOffset.y};if(Ae.y-=window.pageYOffset-this.initialWindowScroll.top,Ae.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=Ae,wt){var xe=X({height:this.height,lockOffset:rt,width:this.width}),re=Object(f.a)(xe,2),ot=re[0],bt=re[1],tt={x:this.width/2-ot.x,y:this.height/2-ot.y},Tt={x:this.width/2-bt.x,y:this.height/2-bt.y};Ae.x=R(this.minTranslate.x+tt.x,this.maxTranslate.x-Tt.x,Ae.x),Ae.y=R(this.minTranslate.y+tt.y,this.maxTranslate.y-Tt.y,Ae.y)}Je==="x"?Ae.y=0:Je==="y"&&(Ae.x=0),Xe&&Dt&&!q&&I(this.helper,Dt),_(this.helper,Ae)}},{key:"animateNodes",value:function(){var Ee=this.props,mt=Ee.transitionDuration,Je=Ee.hideSortableGhost,rt=Ee.onSortOver,wt=this.containerScrollDelta,Ot=this.windowScrollDelta,Ct=this.manager.getOrderedRefs(),Dt={left:this.offsetEdge.left+this.translate.x+wt.left,top:this.offsetEdge.top+this.translate.y+wt.top},Xe=this.manager.isKeySorting,q=this.newIndex;this.newIndex=null;for(var V=0,Ae=Ct.length;V<Ae;V++){var xe=Ct[V].node,re=xe.sortableInfo.index,ot=xe.offsetWidth,bt=xe.offsetHeight,tt={height:this.height>bt?bt/2:this.height/2,width:this.width>ot?ot/2:this.width/2},Tt=Xe&&re>this.index&&re<=q,Gt=Xe&&re<this.index&&re>=q,lr={x:0,y:0},pr=Ct[V].edgeOffset;pr||(pr=H(xe,this.container),Ct[V].edgeOffset=pr,Xe&&(Ct[V].boundingClientRect=W(xe,wt)));var Rr=V<Ct.length-1&&Ct[V+1],xt=V>0&&Ct[V-1];if(Rr&&!Rr.edgeOffset&&(Rr.edgeOffset=H(Rr.node,this.container),Xe&&(Rr.boundingClientRect=W(Rr.node,wt))),re===this.index){Je&&(this.sortableGhost=xe,x(xe,{opacity:0,visibility:"hidden"}));continue}mt&&I(xe,mt),this.axis.x?this.axis.y?Gt||re<this.index&&(Dt.left+Ot.left-tt.width<=pr.left&&Dt.top+Ot.top<=pr.top+tt.height||Dt.top+Ot.top+tt.height<=pr.top)?(lr.x=this.width+this.marginOffset.x,pr.left+lr.x>this.containerBoundingRect.width-tt.width&&(Rr&&(lr.x=Rr.edgeOffset.left-pr.left,lr.y=Rr.edgeOffset.top-pr.top)),this.newIndex===null&&(this.newIndex=re)):(Tt||re>this.index&&(Dt.left+Ot.left+tt.width>=pr.left&&Dt.top+Ot.top+tt.height>=pr.top||Dt.top+Ot.top+tt.height>=pr.top+bt))&&(lr.x=-(this.width+this.marginOffset.x),pr.left+lr.x<this.containerBoundingRect.left+tt.width&&(xt&&(lr.x=xt.edgeOffset.left-pr.left,lr.y=xt.edgeOffset.top-pr.top)),this.newIndex=re):Tt||re>this.index&&Dt.left+Ot.left+tt.width>=pr.left?(lr.x=-(this.width+this.marginOffset.x),this.newIndex=re):(Gt||re<this.index&&Dt.left+Ot.left<=pr.left+tt.width)&&(lr.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=re)):this.axis.y&&(Tt||re>this.index&&Dt.top+Ot.top+tt.height>=pr.top?(lr.y=-(this.height+this.marginOffset.y),this.newIndex=re):(Gt||re<this.index&&Dt.top+Ot.top<=pr.top+tt.height)&&(lr.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=re))),_(xe,lr),Ct[V].translate=lr}this.newIndex==null&&(this.newIndex=this.index),Xe&&(this.newIndex=q);var It=Xe?this.prevIndex:q;rt&&this.newIndex!==It&&rt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:It,isKeySorting:Xe,nodes:Ct,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return d()(_e.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Ee=this.props.getContainer;return typeof Ee!="function"?Object(t.findDOMNode)(this):Ee(_e.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Ee=_e.withRef?"wrappedInstance":null;return Object(n.createElement)(Fe,Object(w.a)({ref:Ee},E(this.props,Le)))}},{key:"helperContainer",get:function(){var Ee=this.props.helperContainer;return typeof Ee=="function"?Ee():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Ee=this.props.useWindowAsScrollContainer;return Ee?{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}}}]),it}(n.Component),Object(e.a)(ae,"displayName",P("sortableList",Fe)),Object(e.a)(ae,"defaultProps",$e),Object(e.a)(ae,"propTypes",te),Object(e.a)(ae,"childContextTypes",{manager:a.a.object.isRequired}),ce}var Ue={index:a.a.number.isRequired,collection:a.a.oneOfType([a.a.number,a.a.string]),disabled:a.a.bool},ue=Object.keys(Ue);function Ne(Fe){var ae,ce,_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ce=ae=function(ze){Object(h.a)(it,ze);function it(){return Object(m.a)(this,it),Object(p.a)(this,Object(c.a)(it).apply(this,arguments))}return Object(g.a)(it,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Ee){this.node&&(Ee.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Ee.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Ee.collection!==this.props.collection&&(this.unregister(Ee.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Ee=this.props,mt=Ee.collection,Je=Ee.disabled,rt=Ee.index,wt=Object(t.findDOMNode)(this);wt.sortableInfo={collection:mt,disabled:Je,index:rt,manager:this.context.manager},this.node=wt,this.ref={node:wt},this.context.manager.add(mt,this.ref)}},{key:"unregister",value:function(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Ee,this.ref)}},{key:"getWrappedInstance",value:function(){return d()(_e.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Ee=_e.withRef?"wrappedInstance":null;return Object(n.createElement)(Fe,Object(w.a)({ref:Ee},E(this.props,ue)))}}]),it}(n.Component),Object(e.a)(ae,"displayName",P("sortableElement",Fe)),Object(e.a)(ae,"contextTypes",{manager:a.a.object.isRequired}),Object(e.a)(ae,"propTypes",Ue),Object(e.a)(ae,"defaultProps",{collection:0}),ce}},YNf1:function(M,B,o){var w=o("IwbS"),f=o("6Ic6"),A=.3,m=f.extend({type:"parallel",init:function(){this._dataGroup=new w.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(i,r,a,t){var s=this._dataGroup,u=i.getData(),d=this._data,v=i.coordinateSystem,y=v.dimensions,S=h(i);u.diff(d).add(b).update(E).remove(C).execute();function b(x){var _=c(u,s,x,y,v);l(_,u,x,S)}function E(x,_){var I=d.getItemGraphicEl(_),L=p(u,x,y,v);u.setItemGraphicEl(x,I);var R=t&&t.animation===!1?null:i;w.updateProps(I,{shape:{points:L}},R,x),l(I,u,x,S)}function C(x){var _=d.getItemGraphicEl(x);s.remove(_)}if(!this._initialized){this._initialized=!0;var T=g(v,i,function(){setTimeout(function(){s.removeClipPath()})});s.setClipPath(T)}this._data=u},incrementalPrepareRender:function(i,r,a){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(i,r,a){for(var t=r.getData(),s=r.coordinateSystem,u=s.dimensions,d=h(r),v=i.start;v<i.end;v++){var y=c(t,this._dataGroup,v,u,s);y.incremental=!0,l(y,t,v,d)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function g(i,r,a){var t=i.model,s=i.getRect(),u=new w.Rect({shape:{x:s.x,y:s.y,width:s.width,height:s.height}}),d=t.get("layout")==="horizontal"?"width":"height";return u.setShape(d,0),w.initProps(u,{shape:{width:s.width,height:s.height}},r,a),u}function p(i,r,a,t){for(var s=[],u=0;u<a.length;u++){var d=a[u],v=i.get(i.mapDimension(d),r);e(v,t.getAxis(d).type)||s.push(t.dataToPoint(v,d))}return s}function c(i,r,a,t,s){var u=p(i,a,t,s),d=new w.Polyline({shape:{points:u},silent:!0,z2:10});return r.add(d),i.setItemGraphicEl(a,d),d}function h(i){var r=i.get("smooth",!0);return r===!0&&(r=A),{lineStyle:i.getModel("lineStyle").getLineStyle(),smooth:r!=null?r:A}}function l(i,r,a,t){var s=t.lineStyle;if(r.hasItemOption){var u=r.getItemModel(a).getModel("lineStyle");s=u.getLineStyle()}i.useStyle(s);var d=i.style;d.fill=null,d.stroke=r.getItemVisual(a,"color"),d.opacity=r.getItemVisual(a,"opacity"),t.smooth&&(i.shape.smooth=t.smooth)}function e(i,r){return r==="category"?i==null:i==null||isNaN(i)}var n=m;M.exports=n},YOMW:function(M,B,o){var w=o("bYtY"),f={get:function(g,p,c){var h=w.clone((A[g]||{})[p]);return c&&w.isArray(h)?h[h.length-1]:h}},A={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},m=f;M.exports=m},YXkt:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=o("Qxkt"),g=o("gPAo"),p=o("7G+c"),c=o("KxfA"),h=c.defaultDimValueGetters,l=c.DefaultDataProvider,e=o("L0Ub"),n=e.summarizeDimensions,i=o("Vi4m"),r=A.isObject,a="undefined",t=-1,s="e\0\0",u={float:typeof Float64Array===a?Array:Float64Array,int:typeof Int32Array===a?Array:Int32Array,ordinal:Array,number:Array,time:Array},d=typeof Uint32Array===a?Array:Uint32Array,v=typeof Int32Array===a?Array:Int32Array,y=typeof Uint16Array===a?Array:Uint16Array;function S(z){return z._rawCount>65535?d:y}function b(z){var Y=z.constructor;return Y===Array?z.slice():new Y(z)}var E=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],C=["_extent","_approximateExtent","_rawExtent"];function T(z,Y){A.each(E.concat(Y.__wrappedMethods||[]),function($){Y.hasOwnProperty($)&&(z[$]=Y[$])}),z.__wrappedMethods=Y.__wrappedMethods,A.each(C,function($){z[$]=A.clone(Y[$])}),z._calculationInfo=A.extend(Y._calculationInfo)}var x=function(z,Y){z=z||["x","y"];for(var $={},ne=[],J={},ge=0;ge<z.length;ge++){var de=z[ge];A.isString(de)?de=new i({name:de}):de instanceof i||(de=new i(de));var Ie=de.name;de.type=de.type||"float",de.coordDim||(de.coordDim=Ie,de.coordDimIndex=0),de.otherDims=de.otherDims||{},ne.push(Ie),$[Ie]=de,de.index=ge,de.createInvertedIndices&&(J[Ie]=[])}this.dimensions=ne,this._dimensionInfos=$,this.hostModel=Y,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=n(this),this._invertedIndicesMap=J,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},_=x.prototype;_.type="list",_.hasItemOption=!0,_.getDimension=function(z){return(typeof z=="number"||!isNaN(z)&&!this._dimensionInfos.hasOwnProperty(z))&&(z=this.dimensions[z]),z},_.getDimensionInfo=function(z){return this._dimensionInfos[this.getDimension(z)]},_.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},_.mapDimension=function(z,Y){var $=this._dimensionsSummary;if(Y==null)return $.encodeFirstDimNotExtra[z];var ne=$.encode[z];return Y===!0?(ne||[]).slice():ne&&ne[Y]},_.initData=function(z,Y,$){var ne=p.isInstance(z)||A.isArrayLike(z);ne&&(z=new l(z,this.dimensions.length)),this._rawData=z,this._storage={},this._indices=null,this._nameList=Y||[],this._idList=[],this._nameRepeatCount={},$||(this.hasItemOption=!1),this.defaultDimValueGetter=h[this._rawData.getSource().sourceFormat],this._dimValueGetter=$=$||this.defaultDimValueGetter,this._dimValueGetterArrayRows=h.arrayRows,this._rawExtent={},this._initDataFromProvider(0,z.count()),z.pure&&(this.hasItemOption=!1)},_.getProvider=function(){return this._rawData},_.appendData=function(z){var Y=this._rawData,$=this.count();Y.appendData(z);var ne=Y.count();Y.persistent||(ne+=$),this._initDataFromProvider($,ne)},_.appendValues=function(z,Y){for(var $=this._chunkSize,ne=this._storage,J=this.dimensions,ge=J.length,de=this._rawExtent,Ie=this.count(),be=Ie+Math.max(z.length,Y?Y.length:0),Ce=this._chunkCount,je=0;je<ge;je++){var te=J[je];de[te]||(de[te]=j()),ne[te]||(ne[te]=[]),I(ne,this._dimensionInfos[te],$,Ce,be),this._chunkCount=ne[te].length}for(var ve=new Array(ge),$e=Ie;$e<be;$e++){for(var Le=$e-Ie,he=Math.floor($e/$),ee=$e%$,se=0;se<ge;se++){var te=J[se],Ue=this._dimValueGetterArrayRows(z[Le]||ve,te,Le,se);ne[te][he][ee]=Ue;var ue=de[te];Ue<ue[0]&&(ue[0]=Ue),Ue>ue[1]&&(ue[1]=Ue)}Y&&(this._nameList[$e]=Y[Le])}this._rawCount=this._count=be,this._extent={},L(this)},_._initDataFromProvider=function(z,Y){if(z>=Y)return;for(var $=this._chunkSize,ne=this._rawData,J=this._storage,ge=this.dimensions,de=ge.length,Ie=this._dimensionInfos,be=this._nameList,Ce=this._idList,je=this._rawExtent,te=this._nameRepeatCount={},ve,$e=this._chunkCount,Le=0;Le<de;Le++){var he=ge[Le];je[he]||(je[he]=j());var ee=Ie[he];ee.otherDims.itemName===0&&(ve=this._nameDimIdx=Le),ee.otherDims.itemId===0&&(this._idDimIdx=Le),J[he]||(J[he]=[]),I(J,ee,$,$e,Y),this._chunkCount=J[he].length}for(var se=new Array(de),Ue=z;Ue<Y;Ue++){se=ne.getItem(Ue,se);for(var ue=Math.floor(Ue/$),Ne=Ue%$,Fe=0;Fe<de;Fe++){var he=ge[Fe],ae=J[he][ue],ce=this._dimValueGetter(se,he,Ue,Fe);ae[Ne]=ce;var _e=je[he];ce<_e[0]&&(_e[0]=ce),ce>_e[1]&&(_e[1]=ce)}if(!ne.pure){var ze=be[Ue];if(se&&ze==null){if(se.name!=null)be[Ue]=ze=se.name;else if(ve!=null){var it=ge[ve],Ze=J[it][ue];if(Ze){ze=Ze[Ne];var Ee=Ie[it].ordinalMeta;Ee&&Ee.categories.length&&(ze=Ee.categories[ze])}}}var mt=se==null?null:se.id;mt==null&&ze!=null&&(te[ze]=te[ze]||0,mt=ze,te[ze]>0&&(mt+="__ec__"+te[ze]),te[ze]++),mt!=null&&(Ce[Ue]=mt)}}!ne.persistent&&ne.clean&&ne.clean(),this._rawCount=this._count=Y,this._extent={},L(this)};function I(z,Y,$,ne,J){var ge=u[Y.type],de=ne-1,Ie=Y.name,be=z[Ie][de];if(be&&be.length<$){for(var Ce=new ge(Math.min(J-de*$,$)),je=0;je<be.length;je++)Ce[je]=be[je];z[Ie][de]=Ce}for(var te=ne*$;te<J;te+=$)z[Ie].push(new ge(Math.min(J-te,$)))}function L(z){var Y=z._invertedIndicesMap;A.each(Y,function($,ne){var J=z._dimensionInfos[ne],ge=J.ordinalMeta;if(ge){$=Y[ne]=new v(ge.categories.length);for(var de=0;de<$.length;de++)$[de]=t;for(var de=0;de<z._count;de++)$[z.get(ne,de)]=de}})}function R(z,Y,$){var ne;if(Y!=null){var J=z._chunkSize,ge=Math.floor($/J),de=$%J,Ie=z.dimensions[Y],be=z._storage[Ie][ge];if(be){ne=be[de];var Ce=z._dimensionInfos[Ie].ordinalMeta;Ce&&Ce.categories.length&&(ne=Ce.categories[ne])}}return ne}_.count=function(){return this._count},_.getIndices=function(){var z,Y=this._indices;if(Y){var $=Y.constructor,ne=this._count;if($===Array){z=new $(ne);for(var J=0;J<ne;J++)z[J]=Y[J]}else z=new $(Y.buffer,0,ne)}else for(var $=S(this),z=new $(this.count()),J=0;J<z.length;J++)z[J]=J;return z},_.get=function(z,Y){if(!(Y>=0&&Y<this._count))return NaN;var $=this._storage;if(!$[z])return NaN;Y=this.getRawIndex(Y);var ne=Math.floor(Y/this._chunkSize),J=Y%this._chunkSize,ge=$[z][ne],de=ge[J];return de},_.getByRawIndex=function(z,Y){if(!(Y>=0&&Y<this._rawCount))return NaN;var $=this._storage[z];if(!$)return NaN;var ne=Math.floor(Y/this._chunkSize),J=Y%this._chunkSize,ge=$[ne];return ge[J]},_._getFast=function(z,Y){var $=Math.floor(Y/this._chunkSize),ne=Y%this._chunkSize,J=this._storage[z][$];return J[ne]},_.getValues=function(z,Y){var $=[];A.isArray(z)||(Y=z,z=this.dimensions);for(var ne=0,J=z.length;ne<J;ne++)$.push(this.get(z[ne],Y));return $},_.hasValue=function(z){for(var Y=this._dimensionsSummary.dataDimsOnCoord,$=0,ne=Y.length;$<ne;$++)if(isNaN(this.get(Y[$],z)))return!1;return!0},_.getDataExtent=function(z){z=this.getDimension(z);var Y=this._storage[z],$=j();if(!Y)return $;var ne=this.count(),J=!this._indices,ge;if(J)return this._rawExtent[z].slice();if(ge=this._extent[z],ge)return ge.slice();ge=$;for(var de=ge[0],Ie=ge[1],be=0;be<ne;be++){var Ce=this._getFast(z,this.getRawIndex(be));Ce<de&&(de=Ce),Ce>Ie&&(Ie=Ce)}return ge=[de,Ie],this._extent[z]=ge,ge},_.getApproximateExtent=function(z){return z=this.getDimension(z),this._approximateExtent[z]||this.getDataExtent(z)},_.setApproximateExtent=function(z,Y){Y=this.getDimension(Y),this._approximateExtent[Y]=z.slice()},_.getCalculationInfo=function(z){return this._calculationInfo[z]},_.setCalculationInfo=function(z,Y){r(z)?A.extend(this._calculationInfo,z):this._calculationInfo[z]=Y},_.getSum=function(z){var Y=this._storage[z],$=0;if(Y)for(var ne=0,J=this.count();ne<J;ne++){var ge=this.get(z,ne);isNaN(ge)||($+=ge)}return $},_.getMedian=function(z){var Y=[];this.each(z,function(J,ge){isNaN(J)||Y.push(J)});var $=[].concat(Y).sort(function(J,ge){return J-ge}),ne=this.count();return ne===0?0:ne%2===1?$[(ne-1)/2]:($[ne/2]+$[ne/2-1])/2},_.rawIndexOf=function(z,Y){var $=z&&this._invertedIndicesMap[z],ne=$[Y];return ne==null||isNaN(ne)?t:ne},_.indexOfName=function(z){for(var Y=0,$=this.count();Y<$;Y++)if(this.getName(Y)===z)return Y;return-1},_.indexOfRawIndex=function(z){if(z>=this._rawCount||z<0)return-1;if(!this._indices)return z;var Y=this._indices,$=Y[z];if($!=null&&$<this._count&&$===z)return z;for(var ne=0,J=this._count-1;ne<=J;){var ge=(ne+J)/2|0;if(Y[ge]<z)ne=ge+1;else if(Y[ge]>z)J=ge-1;else return ge}return-1},_.indicesOfNearest=function(z,Y,$){var ne=this._storage,J=ne[z],ge=[];if(!J)return ge;$==null&&($=Infinity);for(var de=Infinity,Ie=-1,be=0,Ce=0,je=this.count();Ce<je;Ce++){var te=Y-this.get(z,Ce),ve=Math.abs(te);ve<=$&&((ve<de||ve===de&&te>=0&&Ie<0)&&(de=ve,Ie=te,be=0),te===Ie&&(ge[be++]=Ce))}return ge.length=be,ge},_.getRawIndex=k;function k(z){return z}function F(z){return z<this._count&&z>=0?this._indices[z]:-1}_.getRawDataItem=function(z){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(z));for(var Y=[],$=0;$<this.dimensions.length;$++){var ne=this.dimensions[$];Y.push(this.get(ne,z))}return Y},_.getName=function(z){var Y=this.getRawIndex(z);return this._nameList[Y]||R(this,this._nameDimIdx,Y)||""},_.getId=function(z){return P(this,this.getRawIndex(z))};function P(z,Y){var $=z._idList[Y];return $==null&&($=R(z,z._idDimIdx,Y)),$==null&&($=s+Y),$}function W(z){return A.isArray(z)||(z=[z]),z}function D(z,Y){for(var $=0;$<Y.length;$++)z._dimensionInfos[Y[$]]||console.error("Unkown dimension "+Y[$])}_.each=function(z,Y,$,ne){"use strict";if(!this._count)return;typeof z=="function"&&(ne=$,$=Y,Y=z,z=[]),$=$||ne||this,z=A.map(W(z),this.getDimension,this);for(var J=z.length,ge=0;ge<this.count();ge++)switch(J){case 0:Y.call($,ge);break;case 1:Y.call($,this.get(z[0],ge),ge);break;case 2:Y.call($,this.get(z[0],ge),this.get(z[1],ge),ge);break;default:for(var de=0,Ie=[];de<J;de++)Ie[de]=this.get(z[de],ge);Ie[de]=ge,Y.apply($,Ie)}},_.filterSelf=function(z,Y,$,ne){"use strict";if(!this._count)return;typeof z=="function"&&(ne=$,$=Y,Y=z,z=[]),$=$||ne||this,z=A.map(W(z),this.getDimension,this);for(var J=this.count(),ge=S(this),de=new ge(J),Ie=[],be=z.length,Ce=0,je=z[0],te=0;te<J;te++){var ve,$e=this.getRawIndex(te);if(be===0)ve=Y.call($,te);else if(be===1){var Le=this._getFast(je,$e);ve=Y.call($,Le,te)}else{for(var he=0;he<be;he++)Ie[he]=this._getFast(je,$e);Ie[he]=te,ve=Y.apply($,Ie)}ve&&(de[Ce++]=$e)}return Ce<J&&(this._indices=de),this._count=Ce,this._extent={},this.getRawIndex=this._indices?F:k,this},_.selectRange=function(z){"use strict";if(!this._count)return;var Y=[];for(var $ in z)z.hasOwnProperty($)&&Y.push($);var ne=Y.length;if(!ne)return;var J=this.count(),ge=S(this),de=new ge(J),Ie=0,be=Y[0],Ce=z[be][0],je=z[be][1],te=!1;if(!this._indices){var ve=0;if(ne===1){for(var $e=this._storage[Y[0]],Le=0;Le<this._chunkCount;Le++)for(var he=$e[Le],ee=Math.min(this._count-Le*this._chunkSize,this._chunkSize),se=0;se<ee;se++){var Ue=he[se];(Ue>=Ce&&Ue<=je||isNaN(Ue))&&(de[Ie++]=ve),ve++}te=!0}else if(ne===2){for(var $e=this._storage[be],ue=this._storage[Y[1]],Ne=z[Y[1]][0],Fe=z[Y[1]][1],Le=0;Le<this._chunkCount;Le++)for(var he=$e[Le],ae=ue[Le],ee=Math.min(this._count-Le*this._chunkSize,this._chunkSize),se=0;se<ee;se++){var Ue=he[se],ce=ae[se];(Ue>=Ce&&Ue<=je||isNaN(Ue))&&(ce>=Ne&&ce<=Fe||isNaN(ce))&&(de[Ie++]=ve),ve++}te=!0}}if(!te)if(ne===1)for(var se=0;se<J;se++){var _e=this.getRawIndex(se),Ue=this._getFast(be,_e);(Ue>=Ce&&Ue<=je||isNaN(Ue))&&(de[Ie++]=_e)}else for(var se=0;se<J;se++){for(var ze=!0,_e=this.getRawIndex(se),Le=0;Le<ne;Le++){var it=Y[Le],Ue=this._getFast($,_e);(Ue<z[it][0]||Ue>z[it][1])&&(ze=!1)}ze&&(de[Ie++]=this.getRawIndex(se))}return Ie<J&&(this._indices=de),this._count=Ie,this._extent={},this.getRawIndex=this._indices?F:k,this},_.mapArray=function(z,Y,$,ne){"use strict";typeof z=="function"&&(ne=$,$=Y,Y=z,z=[]),$=$||ne||this;var J=[];return this.each(z,function(){J.push(Y&&Y.apply(this,arguments))},$),J};function U(z,Y){var $=z.dimensions,ne=new x(A.map($,z.getDimensionInfo,z),z.hostModel);T(ne,z);for(var J=ne._storage={},ge=z._storage,de=0;de<$.length;de++){var Ie=$[de];ge[Ie]&&(A.indexOf(Y,Ie)>=0?(J[Ie]=H(ge[Ie]),ne._rawExtent[Ie]=j(),ne._extent[Ie]=null):J[Ie]=ge[Ie])}return ne}function H(z){for(var Y=new Array(z.length),$=0;$<z.length;$++)Y[$]=b(z[$]);return Y}function j(){return[Infinity,-Infinity]}_.map=function(z,Y,$,ne){"use strict";$=$||ne||this,z=A.map(W(z),this.getDimension,this);var J=U(this,z);J._indices=this._indices,J.getRawIndex=J._indices?F:k;for(var ge=J._storage,de=[],Ie=this._chunkSize,be=z.length,Ce=this.count(),je=[],te=J._rawExtent,ve=0;ve<Ce;ve++){for(var $e=0;$e<be;$e++)je[$e]=this.get(z[$e],ve);je[be]=ve;var Le=Y&&Y.apply($,je);if(Le!=null){typeof Le!="object"&&(de[0]=Le,Le=de);for(var he=this.getRawIndex(ve),ee=Math.floor(he/Ie),se=he%Ie,Ue=0;Ue<Le.length;Ue++){var ue=z[Ue],Ne=Le[Ue],Fe=te[ue],ae=ge[ue];ae&&(ae[ee][se]=Ne),Ne<Fe[0]&&(Fe[0]=Ne),Ne>Fe[1]&&(Fe[1]=Ne)}}}return J},_.downSample=function(z,Y,$,ne){for(var J=U(this,[z]),ge=J._storage,de=[],Ie=Math.floor(1/Y),be=ge[z],Ce=this.count(),je=this._chunkSize,te=J._rawExtent[z],ve=new(S(this))(Ce),$e=0,Le=0;Le<Ce;Le+=Ie){Ie>Ce-Le&&(Ie=Ce-Le,de.length=Ie);for(var he=0;he<Ie;he++){var ee=this.getRawIndex(Le+he),se=Math.floor(ee/je),Ue=ee%je;de[he]=be[se][Ue]}var ue=$(de),Ne=this.getRawIndex(Math.min(Le+ne(de,ue)||0,Ce-1)),Fe=Math.floor(Ne/je),ae=Ne%je;be[Fe][ae]=ue,ue<te[0]&&(te[0]=ue),ue>te[1]&&(te[1]=ue),ve[$e++]=Ne}return J._count=$e,J._indices=ve,J.getRawIndex=F,J},_.getItemModel=function(z){var Y=this.hostModel;return new m(this.getRawDataItem(z),Y,Y&&Y.ecModel)},_.diff=function(z){var Y=this;return new g(z?z.getIndices():[],this.getIndices(),function($){return P(z,$)},function($){return P(Y,$)})},_.getVisual=function(z){var Y=this._visual;return Y&&Y[z]},_.setVisual=function(z,Y){if(r(z)){for(var $ in z)z.hasOwnProperty($)&&this.setVisual($,z[$]);return}this._visual=this._visual||{},this._visual[z]=Y},_.setLayout=function(z,Y){if(r(z)){for(var $ in z)z.hasOwnProperty($)&&this.setLayout($,z[$]);return}this._layout[z]=Y},_.getLayout=function(z){return this._layout[z]},_.getItemLayout=function(z){return this._itemLayouts[z]},_.setItemLayout=function(z,Y,$){this._itemLayouts[z]=$?A.extend(this._itemLayouts[z]||{},Y):Y},_.clearItemLayouts=function(){this._itemLayouts.length=0},_.getItemVisual=function(z,Y,$){var ne=this._itemVisuals[z],J=ne&&ne[Y];return J==null&&!$?this.getVisual(Y):J},_.setItemVisual=function(z,Y,$){var ne=this._itemVisuals[z]||{},J=this.hasItemVisual;if(this._itemVisuals[z]=ne,r(Y)){for(var ge in Y)Y.hasOwnProperty(ge)&&(ne[ge]=Y[ge],J[ge]=!0);return}ne[Y]=$,J[Y]=!0},_.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var K=function(z){z.seriesIndex=this.seriesIndex,z.dataIndex=this.dataIndex,z.dataType=this.dataType};_.setItemGraphicEl=function(z,Y){var $=this.hostModel;Y&&(Y.dataIndex=z,Y.dataType=this.dataType,Y.seriesIndex=$&&$.seriesIndex,Y.type==="group"&&Y.traverse(K,Y)),this._graphicEls[z]=Y},_.getItemGraphicEl=function(z){return this._graphicEls[z]},_.eachItemGraphicEl=function(z,Y){A.each(this._graphicEls,function($,ne){$&&(z&&z.call(Y,$,ne))})},_.cloneShallow=function(z){if(!z){var Y=A.map(this.dimensions,this.getDimensionInfo,this);z=new x(Y,this.hostModel)}if(z._storage=this._storage,T(z,this),this._indices){var $=this._indices.constructor;z._indices=new $(this._indices)}else z._indices=null;return z.getRawIndex=z._indices?F:k,z},_.wrapMethod=function(z,Y){var $=this[z];if(typeof $!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(z),this[z]=function(){var ne=$.apply(this,arguments);return Y.apply(this,[ne].concat(A.slice(arguments)))}},_.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],_.CHANGABLE_METHODS=["filterSelf","selectRange"];var X=x;M.exports=X},YgsL:function(M,B,o){var w=o("QBsz"),f=w.distance;function A(g,p,c,h,l,e,n){var i=(c-g)*.5,r=(h-p)*.5;return(2*(p-c)+i+r)*n+(-3*(p-c)-2*i-r)*e+i*l+p}function m(g,p){for(var c=g.length,h=[],l=0,e=1;e<c;e++)l+=f(g[e-1],g[e]);var n=l/2;n=n<c?c:n;for(var e=0;e<n;e++){var i=e/(n-1)*(p?c:c-1),r=Math.floor(i),a=i-r,t,s=g[r%c],u,d;p?(t=g[(r-1+c)%c],u=g[(r+1)%c],d=g[(r+2)%c]):(t=g[r===0?r:r-1],u=g[r>c-2?c-1:r+1],d=g[r>c-3?c-1:r+2]);var v=a*a,y=a*v;h.push([A(t[0],s[0],u[0],d[0],a,v,y),A(t[1],s[1],u[1],d[1],a,v,y)])}return h}M.exports=m},Yl7c:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=".",g="___EC__COMPONENT__CONTAINER___";function p(t){var s={main:"",sub:""};return t&&(t=t.split(m),s.main=t[0]||"",s.sub=t[1]||""),s}function c(t){A.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function h(t,s){t.$constructor=t,t.extend=function(u){var d=this,v=function(){u.$constructor?u.$constructor.apply(this,arguments):d.apply(this,arguments)};return A.extend(v.prototype,u),v.extend=this.extend,v.superCall=n,v.superApply=i,A.inherits(v,this),v.superClass=d,v}}var l=0;function e(t){var s=["__\0is_clz",l++,Math.random().toFixed(3)].join("_");t.prototype[s]=!0,t.isInstance=function(u){return!!(u&&u[s])}}function n(t,s){var u=A.slice(arguments,2);return this.superClass.prototype[s].apply(t,u)}function i(t,s,u){return this.superClass.prototype[s].apply(t,u)}function r(t,s){s=s||{};var u={};t.registerClass=function(y,S){if(S){if(c(S),S=p(S),!S.sub)u[S.main]=y;else if(S.sub!==g){var b=d(S);b[S.sub]=y}}return y},t.getClass=function(y,S,b){var E=u[y];if(E&&E[g]&&(E=S?E[S]:null),b&&!E)throw new Error(S?"Component "+y+"."+(S||"")+" not exists. Load it first.":y+".type should be specified.");return E},t.getClassesByMainType=function(y){y=p(y);var S=[],b=u[y.main];return b&&b[g]?A.each(b,function(E,C){C!==g&&S.push(E)}):S.push(b),S},t.hasClass=function(y){return y=p(y),!!u[y.main]},t.getAllClassMainTypes=function(){var y=[];return A.each(u,function(S,b){y.push(b)}),y},t.hasSubTypes=function(y){y=p(y);var S=u[y.main];return S&&S[g]},t.parseClassType=p;function d(y){var S=u[y.main];return(!S||!S[g])&&(S=u[y.main]={},S[g]=!0),S}if(s.registerWhenExtend){var v=t.extend;v&&(t.extend=function(y){var S=v.call(this,y);return t.registerClass(S,y.type)})}return t}function a(t,s){}B.parseClassType=p,B.enableClassExtend=h,B.enableClassCheck=e,B.enableClassManagement=r,B.setReadOnly=a},Ynxi:function(M,B,o){var w=o("bYtY"),f=o("ProS"),A=o("IwbS"),m=o("+TT/"),g=m.getLayoutRect,p=o("7aKB"),c=p.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(h,l,e){if(this.group.removeAll(),!h.get("show"))return;var n=this.group,i=h.getModel("textStyle"),r=h.getModel("subtextStyle"),a=h.get("textAlign"),t=w.retrieve2(h.get("textBaseline"),h.get("textVerticalAlign")),s=new A.Text({style:A.setTextStyle({},i,{text:h.get("text"),textFill:i.getTextColor()},{disableBox:!0}),z2:10}),u=s.getBoundingRect(),d=h.get("subtext"),v=new A.Text({style:A.setTextStyle({},r,{text:d,textFill:r.getTextColor(),y:u.height+h.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),y=h.get("link"),S=h.get("sublink"),b=h.get("triggerEvent",!0);s.silent=!y&&!b,v.silent=!S&&!b,y&&s.on("click",function(){c(y,"_"+h.get("target"))}),S&&v.on("click",function(){c(y,"_"+h.get("subtarget"))}),s.eventData=v.eventData=b?{componentType:"title",componentIndex:h.componentIndex}:null,n.add(s),d&&n.add(v);var E=n.getBoundingRect(),C=h.getBoxLayoutParams();C.width=E.width,C.height=E.height;var T=g(C,{width:e.getWidth(),height:e.getHeight()},h.get("padding"));a||(a=h.get("left")||h.get("right"),a==="middle"&&(a="center"),a==="right"?T.x+=T.width:a==="center"&&(T.x+=T.width/2)),t||(t=h.get("top")||h.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?T.y+=T.height:t==="middle"&&(T.y+=T.height/2),t=t||"top"),n.attr("position",[T.x,T.y]);var x={textAlign:a,textVerticalAlign:t};s.setStyle(x),v.setStyle(x),E=n.getBoundingRect();var _=T.margin,I=h.getItemStyle(["color","opacity"]);I.fill=h.get("backgroundColor");var L=new A.Rect({shape:{x:E.x-_[3],y:E.y-_[0],width:E.width+_[1]+_[3],height:E.height+_[0]+_[2],r:h.get("borderRadius")},style:I,subPixelOptimize:!0,silent:!0});n.add(L)}})},Z1HP:function(M,B,o){var w=o("ycre"),f=o("quyA"),A=o("q4HE");function m(g){return f(g)?A(g):w(g)}M.exports=m},Z1r0:function(M,B){function o(w){var f=w.findComponents({mainType:"legend"});if(!f||!f.length)return;w.eachSeriesByType("graph",function(A){var m=A.getCategoriesData(),g=A.getGraph(),p=g.data,c=m.mapArray(m.getName);p.filterSelf(function(h){var l=p.getItemModel(h),e=l.getShallow("category");if(e!=null){typeof e=="number"&&(e=c[e]);for(var n=0;n<f.length;n++)if(!f[n].isSelected(e))return!1}return!0})},this)}M.exports=o},Z1wy:function(M,B,o){var w=o("ProS");o("ThAp"),o("pmaE"),o("SehX"),o("7uqq");var f=o("zuHt"),A=o("VPsl"),m=o("9u0u"),g=o("lELe"),p=o("d4KN");w.registerLayout(f),w.registerVisual(A),w.registerProcessor(w.PRIORITY.PROCESSOR.STATISTIC,m),w.registerPreprocessor(g),p("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(M,B,o){var w=o("MwEJ"),f=o("T4UG"),A=f.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(m,g){return w(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}});M.exports=A},Z8zF:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("ProS"),m=o("bYtY"),g=o("IwbS"),p=o("56rv"),c=p.setLabel,h=o("Qxkt"),l=o("tceW"),e=o("y+Vt"),n=o("4fz+"),i=o("iLNv"),r=i.throttle,a=o("sK/D"),t=a.createClipPath,s=o("wr5s"),u=["itemStyle","barBorderWidth"],d=[0,0];m.extend(h.prototype,l);function v(K,X){var z=K.getArea&&K.getArea();if(K.type==="cartesian2d"){var Y=K.getBaseAxis();if(Y.type!=="category"||!Y.onBand){var $=X.getLayout("bandWidth");Y.isHorizontal()?(z.x-=$,z.width+=$*2):(z.y-=$,z.height+=$*2)}}return z}var y=A.extendChartView({type:"bar",render:function(K,X,z){this._updateDrawMode(K);var Y=K.get("coordinateSystem");return(Y==="cartesian2d"||Y==="polar")&&(this._isLargeDraw?this._renderLarge(K,X,z):this._renderNormal(K,X,z)),this.group},incrementalPrepareRender:function(K,X,z){this._clear(),this._updateDrawMode(K)},incrementalRender:function(K,X,z,Y){this._incrementalRenderLarge(K,X)},_updateDrawMode:function(K){var X=K.pipelineContext.large;(this._isLargeDraw==null||X^this._isLargeDraw)&&(this._isLargeDraw=X,this._clear())},_renderNormal:function(K,X,z){var Y=this.group,$=K.getData(),ne=this._data,J=K.coordinateSystem,ge=J.getBaseAxis(),de;J.type==="cartesian2d"?de=ge.isHorizontal():J.type==="polar"&&(de=ge.dim==="angle");var Ie=K.isAnimationEnabled()?K:null,be=K.get("clip",!0),Ce=v(J,$);Y.removeClipPath();var je=K.get("roundCap",!0),te=K.get("showBackground",!0),ve=K.getModel("backgroundStyle"),$e=ve.get("barBorderRadius")||0,Le=[],he=this._backgroundEls||[];$.diff(ne).add(function(Ue){var ue=$.getItemModel(Ue),Ne=_[J.type]($,Ue,ue);if(te){var Fe=_[J.type]($,Ue),ae=j(J,de,Fe);ae.useStyle(ve.getBarItemStyle()),J.type==="cartesian2d"&&ae.setShape("r",$e),Le[Ue]=ae}if(!$.hasValue(Ue))return;if(be){var ce=E[J.type](Ce,Ne);if(ce){Y.remove(_e);return}}var _e=C[J.type](Ue,Ne,de,Ie,!1,je);$.setItemGraphicEl(Ue,_e),Y.add(_e),L(_e,$,Ue,ue,Ne,K,de,J.type==="polar")}).update(function(Ue,ue){var Ne=$.getItemModel(Ue),Fe=_[J.type]($,Ue,Ne);if(te){var ae=he[ue];ae.useStyle(ve.getBarItemStyle()),J.type==="cartesian2d"&&ae.setShape("r",$e),Le[Ue]=ae;var ce=_[J.type]($,Ue),_e=H(de,ce,J);g.updateProps(ae,{shape:_e},Ie,Ue)}var ze=ne.getItemGraphicEl(ue);if(!$.hasValue(Ue)){Y.remove(ze);return}if(be){var it=E[J.type](Ce,Fe);if(it){Y.remove(ze);return}}ze?g.updateProps(ze,{shape:Fe},Ie,Ue):ze=C[J.type](Ue,Fe,de,Ie,!0,je),$.setItemGraphicEl(Ue,ze),Y.add(ze),L(ze,$,Ue,Ne,Fe,K,de,J.type==="polar")}).remove(function(Ue){var ue=ne.getItemGraphicEl(Ue);J.type==="cartesian2d"?ue&&T(Ue,Ie,ue):ue&&x(Ue,Ie,ue)}).execute();var ee=this._backgroundGroup||(this._backgroundGroup=new n);ee.removeAll();for(var se=0;se<Le.length;++se)ee.add(Le[se]);Y.add(ee),this._backgroundEls=Le,this._data=$},_renderLarge:function(K,X,z){this._clear(),F(K,this.group);var Y=K.get("clip",!0)?t(K.coordinateSystem,!1,K):null;Y?this.group.setClipPath(Y):this.group.removeClipPath()},_incrementalRenderLarge:function(K,X){this._removeBackground(),F(X,this.group,!0)},dispose:m.noop,remove:function(K){this._clear(K)},_clear:function(K){var X=this.group,z=this._data;K&&K.get("animation")&&z&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],z.eachItemGraphicEl(function(Y){Y.type==="sector"?x(Y.dataIndex,K,Y):T(Y.dataIndex,K,Y)})):X.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),S=Math.max,b=Math.min,E={cartesian2d:function(K,X){var z=X.width<0?-1:1,Y=X.height<0?-1:1;z<0&&(X.x+=X.width,X.width=-X.width),Y<0&&(X.y+=X.height,X.height=-X.height);var $=S(X.x,K.x),ne=b(X.x+X.width,K.x+K.width),J=S(X.y,K.y),ge=b(X.y+X.height,K.y+K.height);X.x=$,X.y=J,X.width=ne-$,X.height=ge-J;var de=X.width<0||X.height<0;return z<0&&(X.x+=X.width,X.width=-X.width),Y<0&&(X.y+=X.height,X.height=-X.height),de},polar:function(K){return!1}},C={cartesian2d:function(K,X,z,Y,$){var ne=new g.Rect({shape:m.extend({},X),z2:1});if(ne.name="item",Y){var J=ne.shape,ge=z?"height":"width",de={};J[ge]=0,de[ge]=X[ge],g[$?"updateProps":"initProps"](ne,{shape:de},Y,K)}return ne},polar:function(K,X,z,Y,$,ne){var J=X.startAngle<X.endAngle,ge=!z&&ne?s:g.Sector,de=new ge({shape:m.defaults({clockwise:J},X),z2:1});if(de.name="item",Y){var Ie=de.shape,be=z?"r":"endAngle",Ce={};Ie[be]=z?0:X.startAngle,Ce[be]=X[be],g[$?"updateProps":"initProps"](de,{shape:Ce},Y,K)}return de}};function T(K,X,z){z.style.text=null,g.updateProps(z,{shape:{width:0}},X,K,function(){z.parent&&z.parent.remove(z)})}function x(K,X,z){z.style.text=null,g.updateProps(z,{shape:{r:z.shape.r0}},X,K,function(){z.parent&&z.parent.remove(z)})}var _={cartesian2d:function(K,X,z){var Y=K.getItemLayout(X),$=z?R(z,Y):0,ne=Y.width>0?1:-1,J=Y.height>0?1:-1;return{x:Y.x+ne*$/2,y:Y.y+J*$/2,width:Y.width-ne*$,height:Y.height-J*$}},polar:function(K,X,z){var Y=K.getItemLayout(X);return{cx:Y.cx,cy:Y.cy,r0:Y.r0,r:Y.r,startAngle:Y.startAngle,endAngle:Y.endAngle}}};function I(K){return K.startAngle!=null&&K.endAngle!=null&&K.startAngle===K.endAngle}function L(K,X,z,Y,$,ne,J,ge){var de=X.getItemVisual(z,"color"),Ie=X.getItemVisual(z,"opacity"),be=X.getVisual("borderColor"),Ce=Y.getModel("itemStyle"),je=Y.getModel("emphasis.itemStyle").getBarItemStyle();ge||K.setShape("r",Ce.get("barBorderRadius")||0),K.useStyle(m.defaults({stroke:I($)?"none":be,fill:I($)?"none":de,opacity:Ie},Ce.getBarItemStyle()));var te=Y.getShallow("cursor");te&&K.attr("cursor",te);var ve=J?$.height>0?"bottom":"top":$.width>0?"left":"right";ge||c(K.style,je,Y,de,ne,z,ve),I($)&&(je.fill=je.stroke="none"),g.setHoverStyle(K,je)}function R(K,X){var z=K.get(u)||0,Y=isNaN(X.width)?Number.MAX_VALUE:Math.abs(X.width),$=isNaN(X.height)?Number.MAX_VALUE:Math.abs(X.height);return Math.min(z,Y,$)}var k=e.extend({type:"largeBar",shape:{points:[]},buildPath:function(K,X){for(var z=X.points,Y=this.__startPoint,$=this.__baseDimIdx,ne=0;ne<z.length;ne+=2)Y[$]=z[ne+$],K.moveTo(Y[0],Y[1]),K.lineTo(z[ne],z[ne+1])}});function F(K,X,z){var Y=K.getData(),$=[],ne=Y.getLayout("valueAxisHorizontal")?1:0;$[1-ne]=Y.getLayout("valueAxisStart");var J=Y.getLayout("largeDataIndices"),ge=Y.getLayout("barWidth"),de=K.getModel("backgroundStyle"),Ie=K.get("showBackground",!0);if(Ie){var be=Y.getLayout("largeBackgroundPoints"),Ce=[];Ce[1-ne]=Y.getLayout("backgroundStart");var je=new k({shape:{points:be},incremental:!!z,__startPoint:Ce,__baseDimIdx:ne,__largeDataIndices:J,__barWidth:ge,silent:!0,z2:0});U(je,de,Y),X.add(je)}var te=new k({shape:{points:Y.getLayout("largePoints")},incremental:!!z,__startPoint:$,__baseDimIdx:ne,__largeDataIndices:J,__barWidth:ge});X.add(te),D(te,K,Y),te.seriesIndex=K.seriesIndex,K.get("silent")||(te.on("mousedown",P),te.on("mousemove",P))}var P=r(function(K){var X=this,z=W(X,K.offsetX,K.offsetY);X.dataIndex=z>=0?z:null},30,!1);function W(K,X,z){var Y=K.__baseDimIdx,$=1-Y,ne=K.shape.points,J=K.__largeDataIndices,ge=Math.abs(K.__barWidth/2),de=K.__startPoint[$];d[0]=X,d[1]=z;for(var Ie=d[Y],be=d[1-Y],Ce=Ie-ge,je=Ie+ge,te=0,ve=ne.length/2;te<ve;te++){var $e=te*2,Le=ne[$e+Y],he=ne[$e+$];if(Le>=Ce&&Le<=je&&(de<=he?be>=de&&be<=he:be>=he&&be<=de))return J[te]}return-1}function D(K,X,z){var Y=z.getVisual("borderColor")||z.getVisual("color"),$=X.getModel("itemStyle").getItemStyle(["color","borderColor"]);K.useStyle($),K.style.fill=null,K.style.stroke=Y,K.style.lineWidth=z.getLayout("barWidth")}function U(K,X,z){var Y=X.get("borderColor")||X.get("color"),$=X.getItemStyle(["color","borderColor"]);K.useStyle($),K.style.fill=null,K.style.stroke=Y,K.style.lineWidth=z.getLayout("barWidth")}function H(K,X,z){var Y,$=z.type==="polar";return $?Y=z.getArea():Y=z.grid.getRect(),$?{cx:Y.cx,cy:Y.cy,r0:K?Y.r0:X.r0,r:K?Y.r:X.r,startAngle:K?X.startAngle:0,endAngle:K?X.endAngle:Math.PI*2}:{x:K?X.x:Y.x,y:K?Y.y:X.y,width:K?X.width:Y.width,height:K?Y.height:X.height}}function j(K,X,z){var Y=K.type==="polar"?g.Sector:g.Rect;return new Y({shape:H(X,z,K),silent:!0,z2:0})}M.exports=y},ZCgT:function(M,B,o){var w=o("tLB3"),f=1/0,A=17976931348623157e292;function m(g){if(!g)return g===0?g:0;if(g=w(g),g===f||g===-f){var p=g<0?-1:1;return p*A}return g===g?g:0}M.exports=m},ZWlE:function(M,B,o){var w=o("bYtY"),f=o("4NO4");function A(p){m(p),g(p)}function m(p){if(p.parallel)return;var c=!1;w.each(p.series,function(h){h&&h.type==="parallel"&&(c=!0)}),c&&(p.parallel=[{}])}function g(p){var c=f.normalizeToArray(p.parallelAxis);w.each(c,function(h){if(!w.isObject(h))return;var l=h.parallelIndex||0,e=f.normalizeToArray(p.parallel)[l];e&&e.parallelAxisDefault&&w.merge(h,e.parallelAxisDefault,!1)})}M.exports=A},ZYIC:function(M,B,o){var w=o("zM3Q"),f={seriesType:"lines",plan:w(),reset:function(A){var m=A.coordinateSystem,g=A.get("polyline"),p=A.pipelineContext.large;function c(h,l){var e=[];if(p){var n,i=h.end-h.start;if(g){for(var r=0,a=h.start;a<h.end;a++)r+=A.getLineCoordsCount(a);n=new Float32Array(i+r*2)}else n=new Float32Array(i*4);for(var t=0,s=[],a=h.start;a<h.end;a++){var u=A.getLineCoords(a,e);g&&(n[t++]=u);for(var d=0;d<u;d++)s=m.dataToPoint(e[d],!1,s),n[t++]=s[0],n[t++]=s[1]}l.setLayout("linesPoints",n)}else for(var a=h.start;a<h.end;a++){var v=l.getItemModel(a),u=A.getLineCoords(a,e),y=[];if(g)for(var S=0;S<u;S++)y.push(m.dataToPoint(e[S]));else{y[0]=m.dataToPoint(e[0]),y[1]=m.dataToPoint(e[1]);var b=v.get("lineStyle.curveness");+b&&(y[2]=[(y[0][0]+y[1][0])/2-(y[0][1]-y[1][1])*b,(y[0][1]+y[1][1])/2-(y[1][0]-y[0][0])*b])}l.setItemLayout(a,y)}}return{progress:c}}};M.exports=f},Ze12:function(M,B,o){var w=o("ItGF"),f=o("hOwI"),A=f.buildTransformer,m="___zrEVENTSAVED",g=[];function p(n,i,r,a,t){return c(g,i,a,t,!0)&&c(n,r,g[0],g[1])}function c(n,i,r,a,t){if(i.getBoundingClientRect&&w.domSupported&&!e(i)){var s=i[m]||(i[m]={}),u=h(i,s),d=l(u,s,t);if(d)return d(n,r,a),!0}return!1}function h(n,i){var r=i.markers;if(r)return r;r=i.markers=[];for(var a=["left","right"],t=["top","bottom"],s=0;s<4;s++){var u=document.createElement("div"),d=u.style,v=s%2,y=(s>>1)%2;d.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[v]+":0",t[y]+":0",a[1-v]+":auto",t[1-y]+":auto",""].join("!important;"),n.appendChild(u),r.push(u)}return r}function l(n,i,r){for(var a=r?"invTrans":"trans",t=i[a],s=i.srcCoords,u=!0,d=[],v=[],y=0;y<4;y++){var S=n[y].getBoundingClientRect(),b=2*y,E=S.left,C=S.top;d.push(E,C),u=u&&s&&E===s[b]&&C===s[b+1],v.push(n[y].offsetLeft,n[y].offsetTop)}return u&&t?t:(i.srcCoords=d,i[a]=r?A(v,d):A(d,v))}function e(n){return n.nodeName.toUpperCase()==="CANVAS"}B.transformLocalCoord=p,B.transformCoordWithViewport=c,B.isCanvasEl=e},Znkb:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("ProS"),m=o("zTMp"),g=A.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,n,i,r){this.axisPointerClass&&m.fixValue(e),g.superApply(this,"render",arguments),p(this,e,n,i,r,!0)},updateAxisPointer:function(e,n,i,r,a){p(this,e,n,i,r,!1)},remove:function(e,n){var i=this._axisPointer;i&&i.remove(n),g.superApply(this,"remove",arguments)},dispose:function(e,n){c(this,n),g.superApply(this,"dispose",arguments)}});function p(e,n,i,r,a,t){var s=g.getAxisPointerClass(e.axisPointerClass);if(!s)return;var u=m.getAxisPointerModel(n);u?(e._axisPointer||(e._axisPointer=new s)).render(n,u,r,t):c(e,r)}function c(e,n,i){var r=e._axisPointer;r&&r.dispose(n,i),e._axisPointer=null}var h=[];g.registerAxisPointerClass=function(e,n){h[e]=n},g.getAxisPointerClass=function(e){return e&&h[e]};var l=g;M.exports=l},ZqQs:function(M,B,o){var w=o("bYtY");function f(p){var c=p&&p.timeline;w.isArray(c)||(c=c?[c]:[]),w.each(c,function(h){if(!h)return;A(h)})}function A(p){var c=p.type,h={number:"value",time:"time"};if(h[c]&&(p.axisType=h[c],delete p.type),m(p),g(p,"controlPosition")){var l=p.controlStyle||(p.controlStyle={});g(l,"position")||(l.position=p.controlPosition),l.position==="none"&&!g(l,"show")&&(l.show=!1,delete l.position),delete p.controlPosition}w.each(p.data||[],function(e){w.isObject(e)&&!w.isArray(e)&&(!g(e,"value")&&g(e,"name")&&(e.value=e.name),m(e))})}function m(p){var c=p.itemStyle||(p.itemStyle={}),h=c.emphasis||(c.emphasis={}),l=p.label||p.label||{},e=l.normal||(l.normal={}),n={normal:1,emphasis:1};w.each(l,function(i,r){!n[r]&&!g(e,r)&&(e[r]=i)}),h.label&&!g(l,"emphasis")&&(l.emphasis=h.label,delete h.label)}function g(p,c){return p.hasOwnProperty(c)}M.exports=f},Zvw2:function(M,B,o){var w=o("bYtY"),f=o("hM6l"),A=function(g,p,c,h,l){f.call(this,g,p,c),this.type=h||"value",this.position=l||"bottom",this.orient=null};A.prototype={constructor:A,model:null,isHorizontal:function(){var g=this.position;return g==="top"||g==="bottom"},pointToData:function(g,p){return this.coordinateSystem.pointToData(g,p)[0]},toGlobalCoord:null,toLocalCoord:null},w.inherits(A,f);var m=A;M.exports=m},a9QJ:function(M,B){var o={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function w(f,A){if(f==="world"){var m=o[A.name];if(m){var g=A.center;g[0]=m[0],g[1]=m[1]}}}M.exports=w},aCH8:function(M,B,o){(function(){var w=o("ANhw"),f=o("mmNF").utf8,A=o("BEtg"),m=o("mmNF").bin,g=function p(c,h){c.constructor==String?h&&h.encoding==="binary"?c=m.stringToBytes(c):c=f.stringToBytes(c):A(c)?c=Array.prototype.slice.call(c,0):!Array.isArray(c)&&c.constructor!==Uint8Array&&(c=c.toString());for(var l=w.bytesToWords(c),e=c.length*8,n=1732584193,i=-271733879,r=-1732584194,a=271733878,t=0;t<l.length;t++)l[t]=(l[t]<<8|l[t]>>>24)&16711935|(l[t]<<24|l[t]>>>8)&4278255360;l[e>>>5]|=128<<e%32,l[(e+64>>>9<<4)+14]=e;for(var s=p._ff,u=p._gg,d=p._hh,v=p._ii,t=0;t<l.length;t+=16){var y=n,S=i,b=r,E=a;n=s(n,i,r,a,l[t+0],7,-680876936),a=s(a,n,i,r,l[t+1],12,-389564586),r=s(r,a,n,i,l[t+2],17,606105819),i=s(i,r,a,n,l[t+3],22,-1044525330),n=s(n,i,r,a,l[t+4],7,-176418897),a=s(a,n,i,r,l[t+5],12,1200080426),r=s(r,a,n,i,l[t+6],17,-1473231341),i=s(i,r,a,n,l[t+7],22,-45705983),n=s(n,i,r,a,l[t+8],7,1770035416),a=s(a,n,i,r,l[t+9],12,-1958414417),r=s(r,a,n,i,l[t+10],17,-42063),i=s(i,r,a,n,l[t+11],22,-1990404162),n=s(n,i,r,a,l[t+12],7,1804603682),a=s(a,n,i,r,l[t+13],12,-40341101),r=s(r,a,n,i,l[t+14],17,-1502002290),i=s(i,r,a,n,l[t+15],22,1236535329),n=u(n,i,r,a,l[t+1],5,-165796510),a=u(a,n,i,r,l[t+6],9,-1069501632),r=u(r,a,n,i,l[t+11],14,643717713),i=u(i,r,a,n,l[t+0],20,-373897302),n=u(n,i,r,a,l[t+5],5,-701558691),a=u(a,n,i,r,l[t+10],9,38016083),r=u(r,a,n,i,l[t+15],14,-660478335),i=u(i,r,a,n,l[t+4],20,-405537848),n=u(n,i,r,a,l[t+9],5,568446438),a=u(a,n,i,r,l[t+14],9,-1019803690),r=u(r,a,n,i,l[t+3],14,-187363961),i=u(i,r,a,n,l[t+8],20,1163531501),n=u(n,i,r,a,l[t+13],5,-1444681467),a=u(a,n,i,r,l[t+2],9,-51403784),r=u(r,a,n,i,l[t+7],14,1735328473),i=u(i,r,a,n,l[t+12],20,-1926607734),n=d(n,i,r,a,l[t+5],4,-378558),a=d(a,n,i,r,l[t+8],11,-2022574463),r=d(r,a,n,i,l[t+11],16,1839030562),i=d(i,r,a,n,l[t+14],23,-35309556),n=d(n,i,r,a,l[t+1],4,-1530992060),a=d(a,n,i,r,l[t+4],11,1272893353),r=d(r,a,n,i,l[t+7],16,-155497632),i=d(i,r,a,n,l[t+10],23,-1094730640),n=d(n,i,r,a,l[t+13],4,681279174),a=d(a,n,i,r,l[t+0],11,-358537222),r=d(r,a,n,i,l[t+3],16,-722521979),i=d(i,r,a,n,l[t+6],23,76029189),n=d(n,i,r,a,l[t+9],4,-640364487),a=d(a,n,i,r,l[t+12],11,-421815835),r=d(r,a,n,i,l[t+15],16,530742520),i=d(i,r,a,n,l[t+2],23,-995338651),n=v(n,i,r,a,l[t+0],6,-198630844),a=v(a,n,i,r,l[t+7],10,1126891415),r=v(r,a,n,i,l[t+14],15,-1416354905),i=v(i,r,a,n,l[t+5],21,-57434055),n=v(n,i,r,a,l[t+12],6,1700485571),a=v(a,n,i,r,l[t+3],10,-1894986606),r=v(r,a,n,i,l[t+10],15,-1051523),i=v(i,r,a,n,l[t+1],21,-2054922799),n=v(n,i,r,a,l[t+8],6,1873313359),a=v(a,n,i,r,l[t+15],10,-30611744),r=v(r,a,n,i,l[t+6],15,-1560198380),i=v(i,r,a,n,l[t+13],21,1309151649),n=v(n,i,r,a,l[t+4],6,-145523070),a=v(a,n,i,r,l[t+11],10,-1120210379),r=v(r,a,n,i,l[t+2],15,718787259),i=v(i,r,a,n,l[t+9],21,-343485551),n=n+y>>>0,i=i+S>>>0,r=r+b>>>0,a=a+E>>>0}return w.endian([n,i,r,a])};g._ff=function(p,c,h,l,e,n,i){var r=p+(c&h|~c&l)+(e>>>0)+i;return(r<<n|r>>>32-n)+c},g._gg=function(p,c,h,l,e,n,i){var r=p+(c&l|h&~l)+(e>>>0)+i;return(r<<n|r>>>32-n)+c},g._hh=function(p,c,h,l,e,n,i){var r=p+(c^h^l)+(e>>>0)+i;return(r<<n|r>>>32-n)+c},g._ii=function(p,c,h,l,e,n,i){var r=p+(h^(c|~l))+(e>>>0)+i;return(r<<n|r>>>32-n)+c},g._blocksize=16,g._digestsize=16,M.exports=function(p,c){if(p==null)throw new Error("Illegal argument "+p);var h=w.wordsToBytes(g(p,c));return c&&c.asBytes?h:c&&c.asString?m.bytesToString(h):w.bytesToHex(h)}})()},aKvl:function(M,B,o){var w=o("Sj9i"),f=w.quadraticProjectPoint;function A(m,g,p,c,h,l,e,n,i){if(e===0)return!1;var r=e;if(i>g+r&&i>c+r&&i>l+r||i<g-r&&i<c-r&&i<l-r||n>m+r&&n>p+r&&n>h+r||n<m-r&&n<p-r&&n<h-r)return!1;var a=f(m,g,p,c,h,l,n,i,null);return a<=r/2}B.containStroke=A},aTJb:function(M,B,o){var w=o("bLfw");w.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(M,B,o){var w=o("3gBT"),f=o("ItGF"),A=o("bYtY"),m=o("0s+r"),g=o("r6Bn"),p=o("7SHv"),c=o("MKOG"),h=o("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 l=!f.canvasSupported,e={canvas:p},n={},i="4.3.1";function r(v,y){var S=new d(w(),v,y);return n[S.id]=S,S}function a(v){if(v)v.dispose();else{for(var y in n)n.hasOwnProperty(y)&&n[y].dispose();n={}}return this}function t(v){return n[v]}function s(v,y){e[v]=y}function u(v){delete n[v]}var d=function(y,S,b){b=b||{},this.dom=S,this.id=y;var E=this,C=new g,T=b.renderer;if(l){if(!e.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");T="vml"}else(!T||!e[T])&&(T="canvas");var x=new e[T](S,C,b,y);this.storage=C,this.painter=x;var _=!f.node&&!f.worker?new h(x.getViewportRoot(),x.root):null;this.handler=new m(C,x,_,x.root),this.animation=new c({stage:{update:A.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var I=C.delFromStorage,L=C.addToStorage;C.delFromStorage=function(R){I.call(C,R),R&&R.removeSelfFromZr(E)},C.addToStorage=function(R){L.call(C,R),R.addSelfToZr(E)}};d.prototype={constructor:d,getId:function(){return this.id},add:function(y){this.storage.addRoot(y),this._needsRefresh=!0},remove:function(y){this.storage.delRoot(y),this._needsRefresh=!0},configLayer:function(y,S){this.painter.configLayer&&this.painter.configLayer(y,S),this._needsRefresh=!0},setBackgroundColor:function(y){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(y),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 y;this._needsRefresh&&(y=!0,this.refreshImmediately()),this._needsRefreshHover&&(y=!0,this.refreshHoverImmediately()),y&&this.trigger("rendered")},addHover:function(y,S){if(this.painter.addHover){var b=this.painter.addHover(y,S);return this.refreshHover(),b}},removeHover:function(y){this.painter.removeHover&&(this.painter.removeHover(y),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(y){y=y||{},this.painter.resize(y.width,y.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(y,S){return this.painter.pathToImage(y,S)},setCursorStyle:function(y){this.handler.setCursorStyle(y)},findHover:function(y,S){return this.handler.findHover(y,S)},on:function(y,S,b){this.handler.on(y,S,b)},off:function(y,S){this.handler.off(y,S)},trigger:function(y,S){this.handler.trigger(y,S)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,u(this.id)}},B.version=i,B.init=r,B.dispose=a,B.getInstance=t,B.registerPainter=s},aX7z:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=o("GMDS"),g=o("ieMj"),p=o("4NgU"),c=o("OELB"),h=o("nVfU"),l=h.prepareLayoutBarSeries,e=h.makeColumnLayout,n=h.retrieveColumnLayout,i=o("mFDi");o("IWp7"),o("jCoz");function r(C,T){var x=C.type,_=T.getMin(),I=T.getMax(),L=C.getExtent(),R,k,F;x==="ordinal"?R=T.getCategories().length:(k=T.get("boundaryGap"),A.isArray(k)||(k=[k||0,k||0]),typeof k[0]=="boolean"&&(k=[0,0]),k[0]=c.parsePercent(k[0],1),k[1]=c.parsePercent(k[1],1),F=L[1]-L[0]||Math.abs(L[0])),_==="dataMin"?_=L[0]:typeof _=="function"&&(_=_({min:L[0],max:L[1]})),I==="dataMax"?I=L[1]:typeof I=="function"&&(I=I({min:L[0],max:L[1]}));var P=_!=null,W=I!=null;_==null&&(_=x==="ordinal"?R?0:NaN:L[0]-k[0]*F),I==null&&(I=x==="ordinal"?R?R-1:NaN:L[1]+k[1]*F),(_==null||!isFinite(_))&&(_=NaN),(I==null||!isFinite(I))&&(I=NaN),C.setBlank(A.eqNaN(_)||A.eqNaN(I)||x==="ordinal"&&!C.getOrdinalMeta().categories.length),T.getNeedCrossZero()&&(_>0&&I>0&&!P&&(_=0),_<0&&I<0&&!W&&(I=0));var D=T.ecModel;if(D&&x==="time"){var U=l("bar",D),H;if(A.each(U,function(X){H|=X.getBaseAxis()===T.axis}),H){var j=e(U),K=a(_,I,T,j);_=K.min,I=K.max}}return{extent:[_,I],fixMin:P,fixMax:W}}function a(C,T,x,_){var I=x.axis.getExtent(),L=I[1]-I[0],R=n(_,x.axis);if(R===void 0)return{min:C,max:T};var k=Infinity;A.each(R,function(H){k=Math.min(H.offset,k)});var F=-Infinity;A.each(R,function(H){F=Math.max(H.offset+H.width,F)}),k=Math.abs(k),F=Math.abs(F);var P=k+F,W=T-C,D=1-(k+F)/L,U=W/D-W;return T+=U*(F/P),C-=U*(k/P),{min:C,max:T}}function t(C,T){var x=r(C,T),_=x.extent,I=T.get("splitNumber");C.type==="log"&&(C.base=T.get("logBase"));var L=C.type;C.setExtent(_[0],_[1]),C.niceExtent({splitNumber:I,fixMin:x.fixMin,fixMax:x.fixMax,minInterval:L==="interval"||L==="time"?T.get("minInterval"):null,maxInterval:L==="interval"||L==="time"?T.get("maxInterval"):null});var R=T.get("interval");R!=null&&(C.setInterval&&C.setInterval(R))}function s(C,T){if(T=T||C.get("type"),T)switch(T){case"category":return new m(C.getOrdinalMeta?C.getOrdinalMeta():C.getCategories(),[Infinity,-Infinity]);case"value":return new g;default:return(p.getClass(T)||g).create(C)}}function u(C){var T=C.scale.getExtent(),x=T[0],_=T[1];return!(x>0&&_>0||x<0&&_<0)}function d(C){var T=C.getLabelModel().get("formatter"),x=C.type==="category"?C.scale.getExtent()[0]:null;return typeof T=="string"?(T=function(_){return function(I){return I=C.scale.getLabel(I),_.replace("{value}",I!=null?I:"")}}(T),T):typeof T=="function"?function(_,I){return x!=null&&(I=_-x),T(v(C,_),I)}:function(_){return C.scale.getLabel(_)}}function v(C,T){return C.type==="category"?C.scale.getLabel(T):T}function y(C){var T=C.model,x=C.scale;if(!T.get("axisLabel.show")||x.isBlank())return;var _=C.type==="category",I,L,R=x.getExtent();_?L=x.count():(I=x.getTicks(),L=I.length);var k=C.getLabelModel(),F=d(C),P,W=1;L>40&&(W=Math.ceil(L/40));for(var D=0;D<L;D+=W){var U=I?I[D]:R[0]+D,H=F(U),j=k.getTextRect(H),K=S(j,k.get("rotate")||0);P?P.union(K):P=K}return P}function S(C,T){var x=T*Math.PI/180,_=C.plain(),I=_.width,L=_.height,R=I*Math.cos(x)+L*Math.sin(x),k=I*Math.sin(x)+L*Math.cos(x),F=new i(_.x,_.y,R,k);return F}function b(C){var T=C.get("interval");return T==null?"auto":T}function E(C){return C.type==="category"&&b(C.getLabelModel())===0}B.getScaleExtent=r,B.niceScaleExtent=t,B.createScaleByModel=s,B.ifAxisCrossZero=u,B.makeLabelFormatter=d,B.getAxisRawValue=v,B.estimateLabelUnionRect=y,B.getOptionCategoryInterval=b,B.shouldShowAllLabels=E},ac54:function(M,B,o){"use strict";o.d(B,"a",function(){return b});var w=o("rePB"),f=o("wx14"),A=o("ODXe"),m=o("q1tI"),g=o("TSYQ"),p=o.n(g),c=o("bT9E"),h=o("VTBJ"),l={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"},e=l,n=o("6VBw"),i=function(_,I){return m.createElement(n.a,Object(h.a)(Object(h.a)({},_),{},{ref:I,icon:e}))};i.displayName="BarsOutlined";var r=m.forwardRef(i),a=o("UESt"),t=o("5bA4"),s=o("lHn7"),u=o("9R2V"),d=function(_){return!isNaN(parseFloat(_))&&isFinite(_)},v=d,y=function(x,_){var I={};for(var L in x)Object.prototype.hasOwnProperty.call(x,L)&&_.indexOf(L)<0&&(I[L]=x[L]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,L=Object.getOwnPropertySymbols(x);R<L.length;R++)_.indexOf(L[R])<0&&Object.prototype.propertyIsEnumerable.call(x,L[R])&&(I[L[R]]=x[L[R]]);return I},S={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},b=m.createContext({}),E=function(){var x=0;return function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return x+=1,"".concat(_).concat(x)}}(),C=m.forwardRef(function(x,_){var I=x.prefixCls,L=x.className,R=x.trigger,k=x.children,F=x.defaultCollapsed,P=F===void 0?!1:F,W=x.theme,D=W===void 0?"dark":W,U=x.style,H=U===void 0?{}:U,j=x.collapsible,K=j===void 0?!1:j,X=x.reverseArrow,z=X===void 0?!1:X,Y=x.width,$=Y===void 0?200:Y,ne=x.collapsedWidth,J=ne===void 0?80:ne,ge=x.zeroWidthTriggerStyle,de=x.breakpoint,Ie=x.onCollapse,be=x.onBreakpoint,Ce=y(x,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),je=Object(m.useContext)(s.d),te=je.siderHook,ve=Object(m.useState)("collapsed"in Ce?Ce.collapsed:P),$e=Object(A.a)(ve,2),Le=$e[0],he=$e[1],ee=Object(m.useState)(!1),se=Object(A.a)(ee,2),Ue=se[0],ue=se[1];Object(m.useEffect)(function(){"collapsed"in Ce&&he(Ce.collapsed)},[Ce.collapsed]);var Ne=function(Ze,Ee){"collapsed"in Ce||he(Ze),Ie==null||Ie(Ze,Ee)},Fe=Object(m.useRef)();Fe.current=function(it){ue(it.matches),be==null||be(it.matches),Le!==it.matches&&Ne(it.matches,"responsive")},Object(m.useEffect)(function(){function it(Je){return Fe.current(Je)}var Ze;if(typeof window!="undefined"){var Ee=window,mt=Ee.matchMedia;if(mt&&de&&de in S){Ze=mt("(max-width: ".concat(S[de],")"));try{Ze.addEventListener("change",it)}catch(Je){Ze.addListener(it)}it(Ze)}}return function(){try{Ze==null||Ze.removeEventListener("change",it)}catch(Je){Ze==null||Ze.removeListener(it)}}},[]),Object(m.useEffect)(function(){var it=E("ant-sider-");return te.addSider(it),function(){return te.removeSider(it)}},[]);var ae=function(){Ne(!Le,"clickTrigger")},ce=Object(m.useContext)(u.b),_e=ce.getPrefixCls,ze=function(){var Ze,Ee=_e("layout-sider",I),mt=Object(c.a)(Ce,["collapsed"]),Je=Le?J:$,rt=v(Je)?"".concat(Je,"px"):String(Je),wt=parseFloat(String(J||0))===0?m.createElement("span",{onClick:ae,className:p()("".concat(Ee,"-zero-width-trigger"),"".concat(Ee,"-zero-width-trigger-").concat(z?"right":"left")),style:ge},R||m.createElement(r,null)):null,Ot={expanded:z?m.createElement(a.a,null):m.createElement(t.a,null),collapsed:z?m.createElement(t.a,null):m.createElement(a.a,null)},Ct=Le?"collapsed":"expanded",Dt=Ot[Ct],Xe=R!==null?wt||m.createElement("div",{className:"".concat(Ee,"-trigger"),onClick:ae,style:{width:rt}},R||Dt):null,q=Object(f.a)(Object(f.a)({},H),{flex:"0 0 ".concat(rt),maxWidth:rt,minWidth:rt,width:rt}),V=p()(Ee,"".concat(Ee,"-").concat(D),(Ze={},Object(w.a)(Ze,"".concat(Ee,"-collapsed"),!!Le),Object(w.a)(Ze,"".concat(Ee,"-has-trigger"),K&&R!==null&&!wt),Object(w.a)(Ze,"".concat(Ee,"-below"),!!Ue),Object(w.a)(Ze,"".concat(Ee,"-zero-width"),parseFloat(rt)===0),Ze),L);return m.createElement("aside",Object(f.a)({className:V},mt,{style:q,ref:_}),m.createElement("div",{className:"".concat(Ee,"-children")},k),K||Ue&&wt?Xe:null)};return m.createElement(b.Provider,{value:{siderCollapsed:Le}},ze())});C.displayName="Sider";var T=B.b=C},"af/B":function(M,B,o){var w=o("bYtY"),f=w.each,A=w.map,m=w.isFunction,g=w.createHashMap,p=w.noop,c=o("9H2F"),h=c.createTask,l=o("iRjW"),e=l.getUID,n=o("fmMI"),i=o("hD7B"),r=o("4NO4"),a=r.normalizeToArray;function t(H,j,K,X){this.ecInstance=H,this.api=j,this.unfinished;var K=this._dataProcessorHandlers=K.slice(),X=this._visualHandlers=X.slice();this._allHandlers=K.concat(X),this._stageTaskMap=g()}var s=t.prototype;s.restoreData=function(H,j){H.restoreData(j),this._stageTaskMap.each(function(K){var X=K.overallTask;X&&X.dirty()})},s.getPerformArgs=function(H,j){if(!H.__pipeline)return;var K=this._pipelineMap.get(H.__pipeline.id),X=K.context,z=!j&&K.progressiveEnabled&&(!X||X.progressiveRender)&&H.__idxInPipeline>K.blockIndex,Y=z?K.step:null,$=X&&X.modDataCount,ne=$!=null?Math.ceil($/Y):null;return{step:Y,modBy:ne,modDataCount:$}},s.getPipeline=function(H){return this._pipelineMap.get(H)},s.updateStreamModes=function(H,j){var K=this._pipelineMap.get(H.uid),X=H.getData(),z=X.count(),Y=K.progressiveEnabled&&j.incrementalPrepareRender&&z>=K.threshold,$=H.get("large")&&z>=H.get("largeThreshold"),ne=H.get("progressiveChunkMode")==="mod"?z:null;H.pipelineContext=K.context={progressiveRender:Y,modDataCount:ne,large:$}},s.restorePipelines=function(H){var j=this,K=j._pipelineMap=g();H.eachSeries(function(X){var z=X.getProgressive(),Y=X.uid;K.set(Y,{id:Y,head:null,tail:null,threshold:X.getProgressiveThreshold(),progressiveEnabled:z&&!(X.preventIncremental&&X.preventIncremental()),blockIndex:-1,step:Math.round(z||700),count:0}),R(j,X,X.dataTask)})},s.prepareStageTasks=function(){var H=this._stageTaskMap,j=this.ecInstance.getModel(),K=this.api;f(this._allHandlers,function(X){var z=H.get(X.uid)||H.set(X.uid,[]);X.reset&&v(this,X,z,j,K),X.overallReset&&y(this,X,z,j,K)},this)},s.prepareView=function(H,j,K,X){var z=H.renderTask,Y=z.context;Y.model=j,Y.ecModel=K,Y.api=X,z.__block=!H.incrementalPrepareRender,R(this,j,z)},s.performDataProcessorTasks=function(H,j){u(this,this._dataProcessorHandlers,H,j,{block:!0})},s.performVisualTasks=function(H,j,K){u(this,this._visualHandlers,H,j,K)};function u(H,j,K,X,z){z=z||{};var Y;f(j,function(ne,J){if(z.visualType&&z.visualType!==ne.visualType)return;var ge=H._stageTaskMap.get(ne.uid),de=ge.seriesTaskMap,Ie=ge.overallTask;if(Ie){var be,Ce=Ie.agentStubMap;Ce.each(function(te){$(z,te)&&(te.dirty(),be=!0)}),be&&Ie.dirty(),d(Ie,X);var je=H.getPerformArgs(Ie,z.block);Ce.each(function(te){te.perform(je)}),Y|=Ie.perform(je)}else de&&de.each(function(te,ve){$(z,te)&&te.dirty();var $e=H.getPerformArgs(te,z.block);$e.skip=!ne.performRawSeries&&K.isSeriesFiltered(te.context.model),d(te,X),Y|=te.perform($e)})});function $(ne,J){return ne.setDirty&&(!ne.dirtyMap||ne.dirtyMap.get(J.__pipeline.id))}H.unfinished|=Y}s.performSeriesTasks=function(H){var j;H.eachSeries(function(K){j|=K.dataTask.perform()}),this.unfinished|=j},s.plan=function(){this._pipelineMap.each(function(H){var j=H.tail;do{if(j.__block){H.blockIndex=j.__idxInPipeline;break}j=j.getUpstream()}while(j)})};var d=s.updatePayload=function(H,j){j!=="remain"&&(H.context.payload=j)};function v(H,j,K,X,z){var Y=K.seriesTaskMap||(K.seriesTaskMap=g()),$=j.seriesType,ne=j.getTargetSeries;j.createOnAllSeries?X.eachRawSeries(J):$?X.eachRawSeriesByType($,J):ne&&ne(X,z).each(J);function J(de){var Ie=de.uid,be=Y.get(Ie)||Y.set(Ie,h({plan:T,reset:x,count:L}));be.context={model:de,ecModel:X,api:z,useClearVisual:j.isVisual&&!j.isLayout,plan:j.plan,reset:j.reset,scheduler:H},R(H,de,be)}var ge=H._pipelineMap;Y.each(function(de,Ie){ge.get(Ie)||(de.dispose(),Y.removeKey(Ie))})}function y(H,j,K,X,z){var Y=K.overallTask=K.overallTask||h({reset:S});Y.context={ecModel:X,api:z,overallReset:j.overallReset,scheduler:H};var $=Y.agentStubMap=Y.agentStubMap||g(),ne=j.seriesType,J=j.getTargetSeries,ge=!0,de=j.modifyOutputEnd;ne?X.eachRawSeriesByType(ne,Ie):J?J(X,z).each(Ie):(ge=!1,f(X.getSeries(),Ie));function Ie(Ce){var je=Ce.uid,te=$.get(je);te||(te=$.set(je,h({reset:b,onDirty:C})),Y.dirty()),te.context={model:Ce,overallProgress:ge,modifyOutputEnd:de},te.agent=Y,te.__block=ge,R(H,Ce,te)}var be=H._pipelineMap;$.each(function(Ce,je){be.get(je)||(Ce.dispose(),Y.dirty(),$.removeKey(je))})}function S(H){H.overallReset(H.ecModel,H.api,H.payload)}function b(H,j){return H.overallProgress&&E}function E(){this.agent.dirty(),this.getDownstream().dirty()}function C(){this.agent&&this.agent.dirty()}function T(H){return H.plan&&H.plan(H.model,H.ecModel,H.api,H.payload)}function x(H){H.useClearVisual&&H.data.clearAllVisual();var j=H.resetDefines=a(H.reset(H.model,H.ecModel,H.api,H.payload));return j.length>1?A(j,function(K,X){return I(X)}):_}var _=I(0);function I(H){return function(j,K){var X=K.data,z=K.resetDefines[H];if(z&&z.dataEach)for(var Y=j.start;Y<j.end;Y++)z.dataEach(X,Y);else z&&z.progress&&z.progress(j,X)}}function L(H){return H.data.count()}function R(H,j,K){var X=j.uid,z=H._pipelineMap.get(X);!z.head&&(z.head=K),z.tail&&z.tail.pipe(K),z.tail=K,K.__idxInPipeline=z.count++,K.__pipeline=z}t.wrapStageHandler=function(H,j){return m(H)&&(H={overallReset:H,seriesType:k(H)}),H.uid=e("stageHandler"),j&&(H.visualType=j),H};function k(H){W=null;try{H(F,P)}catch(j){}return W}var F={},P={},W;D(F,n),D(P,i),F.eachSeriesByType=F.eachRawSeriesByType=function(H){W=H},F.eachComponent=function(H){H.mainType==="series"&&H.subType&&(W=H.subType)};function D(H,j){for(var K in j.prototype)H[K]=p}var U=t;M.exports=U},akwb:function(M,B,o){var w=o("RSch"),f=o("bYtY"),A=o("D9ME"),m=o("QBsz");function g(h,l,e){A.call(this,h,l,e),this._lastFrame=0,this._lastFramePercent=0}var p=g.prototype;p.createLine=function(h,l,e){return new w(h,l,e)},p.updateAnimationPoints=function(h,l){this._points=l;for(var e=[0],n=0,i=1;i<l.length;i++){var r=l[i-1],a=l[i];n+=m.dist(r,a),e.push(n)}if(n===0)return;for(var i=0;i<e.length;i++)e[i]/=n;this._offsets=e,this._length=n},p.getLineLength=function(h){return this._length},p.updateSymbolPosition=function(h){var l=h.__t,e=this._points,n=this._offsets,i=e.length;if(!n)return;var r=this._lastFrame,a;if(l<this._lastFramePercent){var t=Math.min(r+1,i-1);for(a=t;a>=0&&!(n[a]<=l);a--);a=Math.min(a,i-2)}else{for(var a=r;a<i&&!(n[a]>l);a++);a=Math.min(a-1,i-2)}m.lerp(h.position,e[a],e[a+1],(l-n[a])/(n[a+1]-n[a]));var s=e[a+1][0]-e[a][0],u=e[a+1][1]-e[a][1];h.rotation=-Math.atan2(u,s)-Math.PI/2,this._lastFrame=a,this._lastFramePercent=l,h.ignore=!1},f.inherits(g,A);var c=g;M.exports=c},as94:function(M,B,o){var w=o("7aKB"),f=o("3LNs"),A=o("IwbS"),m=o("/y7N"),g=o("Fofx"),p=o("+rIm"),c=o("Znkb"),h=f.extend({makeElOption:function(i,r,a,t,s){var u=a.axis;u.dim==="angle"&&(this.animationThreshold=Math.PI/18);var d=u.polar,v=d.getOtherAxis(u),y=v.getExtent(),S;S=u["dataTo"+w.capitalFirst(u.dim)](r);var b=t.get("type");if(b&&b!=="none"){var E=m.buildElStyle(t),C=e[b](u,d,S,y,E);C.style=E,i.graphicKey=C.type,i.pointer=C}var T=t.get("label.margin"),x=l(r,a,t,d,T);m.buildLabelElOption(i,a,t,s,x)}});function l(i,r,a,t,s){var u=r.axis,d=u.dataToCoord(i),v=t.getAngleAxis().getExtent()[0];v=v/180*Math.PI;var y=t.getRadiusAxis().getExtent(),S,b,E;if(u.dim==="radius"){var C=g.create();g.rotate(C,C,v),g.translate(C,C,[t.cx,t.cy]),S=A.applyTransform([d,-s],C);var T=r.getModel("axisLabel").get("rotate")||0,x=p.innerTextLayout(v,T*Math.PI/180,-1);b=x.textAlign,E=x.textVerticalAlign}else{var _=y[1];S=t.coordToPoint([_+s,d]);var I=t.cx,L=t.cy;b=Math.abs(S[0]-I)/_<.3?"center":S[0]>I?"left":"right",E=Math.abs(S[1]-L)/_<.3?"middle":S[1]>L?"top":"bottom"}return{position:S,align:b,verticalAlign:E}}var e={line:function(i,r,a,t,s){return i.dim==="angle"?{type:"Line",shape:m.makeLineShape(r.coordToPoint([t[0],a]),r.coordToPoint([t[1],a]))}:{type:"Circle",shape:{cx:r.cx,cy:r.cy,r:a}}},shadow:function(i,r,a,t,s){var u=Math.max(1,i.getBandWidth()),d=Math.PI/180;return i.dim==="angle"?{type:"Sector",shape:m.makeSectorShape(r.cx,r.cy,t[0],t[1],(-a-u/2)*d,(-a+u/2)*d)}:{type:"Sector",shape:m.makeSectorShape(r.cx,r.cy,a-u/2,a+u/2,0,Math.PI*2)}}};c.registerAxisPointerClass("PolarAxisPointer",h);var n=h;M.exports=n},b9oc:function(M,B,o){var w=o("bYtY"),f=w.each,A="\0_ec_hist_store";function m(l,e){var n=h(l);f(e,function(i,r){for(var a=n.length-1;a>=0;a--){var t=n[a];if(t[r])break}if(a<0){var s=l.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(s){var u=s.getPercentRange();n[0][r]={dataZoomId:r,start:u[0],end:u[1]}}}}),n.push(e)}function g(l){var e=h(l),n=e[e.length-1];e.length>1&&e.pop();var i={};return f(n,function(r,a){for(var t=e.length-1;t>=0;t--){var r=e[t][a];if(r){i[a]=r;break}}}),i}function p(l){l[A]=null}function c(l){return h(l).length}function h(l){var e=l[A];return e||(e=l[A]=[{}]),e}B.push=m,B.pop=g,B.clear=p,B.count=c},bBKM:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("ProS"),m=o("bYtY"),g=o("+rIm"),p=o("IwbS"),c=["axisLine","axisTickLabel","axisName"],h=A.extendComponentView({type:"radar",render:function(l,e,n){var i=this.group;i.removeAll(),this._buildAxes(l),this._buildSplitLineAndArea(l)},_buildAxes:function(l){var e=l.coordinateSystem,n=e.getIndicatorAxes(),i=m.map(n,function(r){var a=new g(r.model,{position:[e.cx,e.cy],rotation:r.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return a});m.each(i,function(r){m.each(c,r.add,r),this.group.add(r.getGroup())},this)},_buildSplitLineAndArea:function(l){var e=l.coordinateSystem,n=e.getIndicatorAxes();if(!n.length)return;var i=l.get("shape"),r=l.getModel("splitLine"),a=l.getModel("splitArea"),t=r.getModel("lineStyle"),s=a.getModel("areaStyle"),u=r.get("show"),d=a.get("show"),v=t.get("color"),y=s.get("color");v=m.isArray(v)?v:[v],y=m.isArray(y)?y:[y];var S=[],b=[];function E(U,H,j){var K=j%H.length;return U[K]=U[K]||[],K}if(i==="circle")for(var C=n[0].getTicksCoords(),T=e.cx,x=e.cy,_=0;_<C.length;_++){if(u){var I=E(S,v,_);S[I].push(new p.Circle({shape:{cx:T,cy:x,r:C[_].coord}}))}if(d&&_<C.length-1){var I=E(b,y,_);b[I].push(new p.Ring({shape:{cx:T,cy:x,r0:C[_].coord,r:C[_+1].coord}}))}}else for(var L,R=m.map(n,function(U,H){var j=U.getTicksCoords();return L=L==null?j.length-1:Math.min(j.length-1,L),m.map(j,function(K){return e.coordToPoint(K.coord,H)})}),k=[],_=0;_<=L;_++){for(var F=[],P=0;P<n.length;P++)F.push(R[P][_]);if(F[0]&&F.push(F[0].slice()),u){var I=E(S,v,_);S[I].push(new p.Polyline({shape:{points:F}}))}if(d&&k){var I=E(b,y,_-1);b[I].push(new p.Polygon({shape:{points:F.concat(k)}}))}k=F.slice().reverse()}var W=t.getLineStyle(),D=s.getAreaStyle();m.each(b,function(U,H){this.group.add(p.mergePath(U,{style:m.defaults({stroke:"none",fill:y[H%y.length]},D),silent:!0}))},this),m.each(S,function(U,H){this.group.add(p.mergePath(U,{style:m.defaults({fill:"none",stroke:v[H%v.length]},W),silent:!0}))},this)}});M.exports=h},bBL8:function(M,B,o){var w=o("ProS");o("LPzL"),o("rfSb"),o("JVwQ");var f=o("UnoB"),A=o("cbJ4"),m=o("0/Rx");w.registerLayout(f),w.registerVisual(A),w.registerProcessor(m("themeRiver"))},bKpd:function(M,B,o){},bLfw:function(M,B,o){var w=o("bYtY"),f=o("Qxkt"),A=o("iRjW"),m=o("Yl7c"),g=m.enableClassManagement,p=m.parseClassType,c=o("4NO4"),h=c.makeInner,l=o("+TT/"),e=o("3hzK"),n=h(),i=f.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,s,u,d){f.call(this,t,s,u,d),this.uid=A.getUID("ec_cpt_model")},init:function(t,s,u,d){this.mergeDefaultAndTheme(t,u)},mergeDefaultAndTheme:function(t,s){var u=this.layoutMode,d=u?l.getLayoutParams(t):{},v=s.getTheme();w.merge(t,v.get(this.mainType)),w.merge(t,this.getDefaultOption()),u&&l.mergeLayoutParam(t,d,u)},mergeOption:function(t,s){w.merge(this.option,t,!0);var u=this.layoutMode;u&&l.mergeLayoutParam(this.option,t,u)},optionUpdated:function(t,s){},getDefaultOption:function(){var t=n(this);if(!t.defaultOption){for(var s=[],u=this.constructor;u;){var d=u.prototype.defaultOption;d&&s.push(d),u=u.superClass}for(var v={},y=s.length-1;y>=0;y--)v=w.merge(v,s[y],!0);t.defaultOption=v}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});g(i,{registerWhenExtend:!0}),A.enableSubTypeDefaulter(i),A.enableTopologicalTravel(i,r);function r(t){var s=[];return w.each(i.getClassesByMainType(t),function(u){s=s.concat(u.prototype.dependencies||[])}),s=w.map(s,function(u){return p(u).main}),t!=="dataset"&&w.indexOf(s,"dataset")<=0&&s.unshift("dataset"),s}w.mixin(i,e);var a=i;M.exports=a},bMXI:function(M,B,o){var w=o("bYtY"),f=o("QBsz"),A=o("Fofx"),m=o("mFDi"),g=o("DN4a"),p=f.applyTransform;function c(){g.call(this)}w.mixin(c,g);function h(n){this.name=n,this.zoomLimit,g.call(this),this._roamTransformable=new c,this._rawTransformable=new c,this._center,this._zoom}h.prototype={constructor:h,type:"view",dimensions:["x","y"],setBoundingRect:function(n,i,r,a){return this._rect=new m(n,i,r,a),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(n,i,r,a){this.transformTo(n,i,r,a),this._viewRect=new m(n,i,r,a)},transformTo:function(n,i,r,a){var t=this.getBoundingRect(),s=this._rawTransformable;s.transform=t.calculateTransform(new m(n,i,r,a)),s.decomposeTransform(),this._updateTransform()},setCenter:function(n){if(!n)return;this._center=n,this._updateCenterAndZoom()},setZoom:function(n){n=n||1;var i=this.zoomLimit;i&&(i.max!=null&&(n=Math.min(i.max,n)),i.min!=null&&(n=Math.max(i.min,n))),this._zoom=n,this._updateCenterAndZoom()},getDefaultCenter:function(){var n=this.getBoundingRect(),i=n.x+n.width/2,r=n.y+n.height/2;return[i,r]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var n=this._rawTransformable.getLocalTransform(),i=this._roamTransformable,r=this.getDefaultCenter(),a=this.getCenter(),t=this.getZoom();a=f.applyTransform([],a,n),r=f.applyTransform([],r,n),i.origin=a,i.position=[r[0]-a[0],r[1]-a[1]],i.scale=[t,t],this._updateTransform()},_updateTransform:function(){var n=this._roamTransformable,i=this._rawTransformable;i.parent=n,n.updateTransform(),i.updateTransform(),A.copy(this.transform||(this.transform=[]),i.transform||A.create()),this._rawTransform=i.getLocalTransform(),this.invTransform=this.invTransform||[],A.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var n=this._roamTransformable.transform,i=this._rawTransformable;return{roamTransform:n?w.slice(n):A.create(),rawScale:w.slice(i.scale),rawPosition:w.slice(i.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var n=this.getBoundingRect().clone();return n.applyTransform(this.transform),n},dataToPoint:function(n,i,r){var a=i?this._rawTransform:this.transform;return r=r||[],a?p(r,n,a):f.copy(r,n)},pointToData:function(n){var i=this.invTransform;return i?p([],n,i):[n[0],n[1]]},convertToPixel:w.curry(l,"dataToPoint"),convertFromPixel:w.curry(l,"pointToData"),containPoint:function(n){return this.getViewRectAfterRoam().contain(n[0],n[1])}},w.mixin(h,g);function l(n,i,r,a){var t=r.seriesModel,s=t?t.coordinateSystem:null;return s===this?s[n](a):null}var e=h;M.exports=e},bNin:function(M,B,o){var w=o("bYtY"),f=o("IwbS"),A=o("FBjb"),m=o("Itpr"),g=m.radialCoordinate,p=o("ProS"),c=o("4mN7"),h=o("bMXI"),l=o("Ae+d"),e=o("SgGq"),n=o("xSat"),i=n.onIrrelevantElement,r=o("Tghj"),a=r.__DEV__,t=o("OELB"),s=t.parsePercent,u=f.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(T,x){var _=x.childPoints,I=_.length,L=x.parentPoint,R=_[0],k=_[I-1];if(I===1){T.moveTo(L[0],L[1]),T.lineTo(R[0],R[1]);return}var F=x.orient,P=F==="TB"||F==="BT"?0:1,W=1-P,D=s(x.forkPosition,1),U=[];U[P]=L[P],U[W]=L[W]+(k[W]-L[W])*D,T.moveTo(L[0],L[1]),T.lineTo(U[0],U[1]),T.moveTo(R[0],R[1]),U[P]=R[P],T.lineTo(U[0],U[1]),U[P]=k[P],T.lineTo(U[0],U[1]),T.lineTo(k[0],k[1]);for(var H=1;H<I-1;H++){var j=_[H];T.moveTo(j[0],j[1]),U[P]=j[P],T.lineTo(U[0],U[1])}}}),d=p.extendChartView({type:"tree",init:function(T,x){this._oldTree,this._mainGroup=new f.Group,this._controller=new e(x.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(T,x,_,I){var L=T.getData(),R=T.layoutInfo,k=this._mainGroup,F=T.get("layout");F==="radial"?k.attr("position",[R.x+R.width/2,R.y+R.height/2]):k.attr("position",[R.x,R.y]),this._updateViewCoordSys(T,R,F),this._updateController(T,x,_);var P=this._data,W={expandAndCollapse:T.get("expandAndCollapse"),layout:F,edgeShape:T.get("edgeShape"),edgeForkPosition:T.get("edgeForkPosition"),orient:T.getOrient(),curvature:T.get("lineStyle.curveness"),symbolRotate:T.get("symbolRotate"),symbolOffset:T.get("symbolOffset"),hoverAnimation:T.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};L.diff(P).add(function(D){v(L,D)&&S(L,D,null,k,T,W)}).update(function(D,U){var H=P.getItemGraphicEl(U);if(!v(L,D)){H&&E(P,U,H,k,T,W);return}S(L,D,H,k,T,W)}).remove(function(D){var U=P.getItemGraphicEl(D);U&&E(P,D,U,k,T,W)}).execute(),this._nodeScaleRatio=T.get("nodeScaleRatio"),this._updateNodeAndLinkScale(T),W.expandAndCollapse===!0&&L.eachItemGraphicEl(function(D,U){D.off("click").on("click",function(){_.dispatchAction({type:"treeExpandAndCollapse",seriesId:T.id,dataIndex:U})})}),this._data=L},_updateViewCoordSys:function(T){var x=T.getData(),_=[];x.each(function(P){var W=x.getItemLayout(P);W&&!isNaN(W.x)&&!isNaN(W.y)&&_.push([+W.x,+W.y])});var I=[],L=[];c.fromPoints(_,I,L);var R=this._min,k=this._max;L[0]-I[0]===0&&(I[0]=R?R[0]:I[0]-1,L[0]=k?k[0]:L[0]+1),L[1]-I[1]===0&&(I[1]=R?R[1]:I[1]-1,L[1]=k?k[1]:L[1]+1);var F=T.coordinateSystem=new h;F.zoomLimit=T.get("scaleLimit"),F.setBoundingRect(I[0],I[1],L[0]-I[0],L[1]-I[1]),F.setCenter(T.get("center")),F.setZoom(T.get("zoom")),this.group.attr({position:F.position,scale:F.scale}),this._viewCoordSys=F,this._min=I,this._max=L},_updateController:function(T,x,_){var I=this._controller,L=this._controllerHost,R=this.group;I.setPointerChecker(function(k,F,P){var W=R.getBoundingRect();return W.applyTransform(R.transform),W.contain(F,P)&&!i(k,_,T)}),I.enable(T.get("roam")),L.zoomLimit=T.get("scaleLimit"),L.zoom=T.coordinateSystem.getZoom(),I.off("pan").off("zoom").on("pan",function(k){l.updateViewOnPan(L,k.dx,k.dy),_.dispatchAction({seriesId:T.id,type:"treeRoam",dx:k.dx,dy:k.dy})},this).on("zoom",function(k){l.updateViewOnZoom(L,k.scale,k.originX,k.originY),_.dispatchAction({seriesId:T.id,type:"treeRoam",zoom:k.scale,originX:k.originX,originY:k.originY}),this._updateNodeAndLinkScale(T)},this)},_updateNodeAndLinkScale:function(T){var x=T.getData(),_=this._getNodeGlobalScale(T),I=[_,_];x.eachItemGraphicEl(function(L,R){L.attr("scale",I)})},_getNodeGlobalScale:function(T){var x=T.coordinateSystem;if(x.type!=="view")return 1;var _=this._nodeScaleRatio,I=x.scale,L=I&&I[0]||1,R=x.getZoom(),k=(R-1)*_+1;return k/L},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function v(T,x){var _=T.getItemLayout(x);return _&&!isNaN(_.x)&&!isNaN(_.y)&&T.getItemVisual(x,"symbol")!=="none"}function y(T,x,_){return _.itemModel=x,_.itemStyle=x.getModel("itemStyle").getItemStyle(),_.hoverItemStyle=x.getModel("emphasis.itemStyle").getItemStyle(),_.lineStyle=x.getModel("lineStyle").getLineStyle(),_.labelModel=x.getModel("label"),_.hoverLabelModel=x.getModel("emphasis.label"),T.isExpand===!1&&T.children.length!==0?_.symbolInnerColor=_.itemStyle.fill:_.symbolInnerColor="#fff",_}function S(T,x,_,I,L,R){var k=!_,F=T.tree.getNodeByDataIndex(x),P=F.getModel(),R=y(F,P,R),W=T.tree.root,D=F.parentNode===W?F:F.parentNode||F,U=T.getItemGraphicEl(D.dataIndex),H=D.getLayout(),j=U?{x:U.position[0],y:U.position[1],rawX:U.__radialOldRawX,rawY:U.__radialOldRawY}:H,K=F.getLayout();k?(_=new A(T,x,R),_.attr("position",[j.x,j.y])):_.updateData(T,x,R),_.__radialOldRawX=_.__radialRawX,_.__radialOldRawY=_.__radialRawY,_.__radialRawX=K.rawX,_.__radialRawY=K.rawY,I.add(_),T.setItemGraphicEl(x,_),f.updateProps(_,{position:[K.x,K.y]},L);var X=_.getSymbolPath();if(R.layout==="radial"){var z=W.children[0],Y=z.getLayout(),$=z.children.length,ne,J;if(K.x===Y.x&&F.isExpand===!0){var ge={};ge.x=(z.children[0].getLayout().x+z.children[$-1].getLayout().x)/2,ge.y=(z.children[0].getLayout().y+z.children[$-1].getLayout().y)/2,ne=Math.atan2(ge.y-Y.y,ge.x-Y.x),ne<0&&(ne=Math.PI*2+ne),J=ge.x<Y.x,J&&(ne=ne-Math.PI)}else ne=Math.atan2(K.y-Y.y,K.x-Y.x),ne<0&&(ne=Math.PI*2+ne),F.children.length===0||F.children.length!==0&&F.isExpand===!1?(J=K.x<Y.x,J&&(ne=ne-Math.PI)):(J=K.x>Y.x,J||(ne=ne-Math.PI));var de=J?"left":"right",Ie=R.labelModel.get("rotate"),be=Ie*(Math.PI/180);X.setStyle({textPosition:R.labelModel.get("position")||de,textRotation:Ie==null?-ne:be,textOrigin:"center",verticalAlign:"middle"})}b(L,F,W,_,j,H,K,I,R)}function b(T,x,_,I,L,R,k,F,P){var W=P.edgeShape,D=I.__edge;if(W==="curve")x.parentNode&&x.parentNode!==_&&(D||(D=I.__edge=new f.BezierCurve({shape:C(P,L,L),style:w.defaults({opacity:0,strokeNoScale:!0},P.lineStyle)})),f.updateProps(D,{shape:C(P,R,k),style:{opacity:1}},T));else if(W==="polyline"&&(P.layout==="orthogonal"&&(x!==_&&x.children&&x.children.length!==0&&x.isExpand===!0))){for(var U=x.children,H=[],j=0;j<U.length;j++){var K=U[j].getLayout();H.push([K.x,K.y])}D||(D=I.__edge=new u({shape:{parentPoint:[k.x,k.y],childPoints:[[k.x,k.y]],orient:P.orient,forkPosition:P.edgeForkPosition},style:w.defaults({opacity:0,strokeNoScale:!0},P.lineStyle)})),f.updateProps(D,{shape:{parentPoint:[k.x,k.y],childPoints:H},style:{opacity:1}},T)}F.add(D)}function E(T,x,_,I,L,R){for(var k=T.tree.getNodeByDataIndex(x),F=T.tree.root,P=k.getModel(),R=y(k,P,R),W=k.parentNode===F?k:k.parentNode||k,D=R.edgeShape,U;U=W.getLayout(),U==null;)W=W.parentNode===F?W:W.parentNode||W;f.updateProps(_,{position:[U.x+1,U.y+1]},L,function(){I.remove(_),T.setItemGraphicEl(x,null)}),_.fadeOut(null,{keepLabel:!0});var H=T.getItemGraphicEl(W.dataIndex),j=H.__edge,K=_.__edge||(W.isExpand===!1||W.children.length===1?j:void 0),D=R.edgeShape;K&&(D==="curve"?f.updateProps(K,{shape:C(R,U,U),style:{opacity:0}},L,function(){I.remove(K)}):D==="polyline"&&R.layout==="orthogonal"&&f.updateProps(K,{shape:{parentPoint:[U.x,U.y],childPoints:[[U.x,U.y]]},style:{opacity:0}},L,function(){I.remove(K)}))}function C(T,x,_){var I,L,R,k,F=T.orient,P,W,D,U;if(T.layout==="radial"){P=x.rawX,D=x.rawY,W=_.rawX,U=_.rawY;var H=g(P,D),j=g(P,D+(U-D)*T.curvature),K=g(W,U+(D-U)*T.curvature),X=g(W,U);return{x1:H.x,y1:H.y,x2:X.x,y2:X.y,cpx1:j.x,cpy1:j.y,cpx2:K.x,cpy2:K.y}}else P=x.x,D=x.y,W=_.x,U=_.y,(F==="LR"||F==="RL")&&(I=P+(W-P)*T.curvature,L=D,R=W+(P-W)*T.curvature,k=U),(F==="TB"||F==="BT")&&(I=P,L=D+(U-D)*T.curvature,R=W,k=U+(D-U)*T.curvature);return{x1:P,y1:D,x2:W,y2:U,cpx1:I,cpy1:L,cpx2:R,cpy2:k}}M.exports=d},bRQS:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={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"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="CheckOutlined";var c=B.a=f.forwardRef(p)},bYtY:function(M,B){var o={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},w={"[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,A=Array.prototype,m=A.forEach,g=A.filter,p=A.slice,c=A.map,h=A.reduce,l={};function e(te,ve){te==="createCanvas"&&(u=null),l[te]=ve}function n(te){if(te==null||typeof te!="object")return te;var ve=te,$e=f.call(te);if($e==="[object Array]"){if(!de(te)){ve=[];for(var Le=0,he=te.length;Le<he;Le++)ve[Le]=n(te[Le])}}else if(w[$e]){if(!de(te)){var ee=te.constructor;if(te.constructor.from)ve=ee.from(te);else{ve=new ee(te.length);for(var Le=0,he=te.length;Le<he;Le++)ve[Le]=n(te[Le])}}}else if(!o[$e]&&!de(te)&&!U(te)){ve={};for(var se in te)te.hasOwnProperty(se)&&(ve[se]=n(te[se]))}return ve}function i(te,ve,$e){if(!P(ve)||!P(te))return $e?n(ve):te;for(var Le in ve)if(ve.hasOwnProperty(Le)){var he=te[Le],ee=ve[Le];P(ee)&&P(he)&&!R(ee)&&!R(he)&&!U(ee)&&!U(he)&&!W(ee)&&!W(he)&&!de(ee)&&!de(he)?i(he,ee,$e):($e||!(Le in te))&&(te[Le]=n(ve[Le],!0))}return te}function r(te,ve){for(var $e=te[0],Le=1,he=te.length;Le<he;Le++)$e=i($e,te[Le],ve);return $e}function a(te,ve){for(var $e in ve)ve.hasOwnProperty($e)&&(te[$e]=ve[$e]);return te}function t(te,ve,$e){for(var Le in ve)ve.hasOwnProperty(Le)&&($e?ve[Le]!=null:te[Le]==null)&&(te[Le]=ve[Le]);return te}var s=function(){return l.createCanvas()};l.createCanvas=function(){return document.createElement("canvas")};var u;function d(){return u||(u=s().getContext("2d")),u}function v(te,ve){if(te){if(te.indexOf)return te.indexOf(ve);for(var $e=0,Le=te.length;$e<Le;$e++)if(te[$e]===ve)return $e}return-1}function y(te,ve){var $e=te.prototype;function Le(){}Le.prototype=ve.prototype,te.prototype=new Le;for(var he in $e)$e.hasOwnProperty(he)&&(te.prototype[he]=$e[he]);te.prototype.constructor=te,te.superClass=ve}function S(te,ve,$e){te="prototype"in te?te.prototype:te,ve="prototype"in ve?ve.prototype:ve,t(te,ve,$e)}function b(te){return te?typeof te=="string"?!1:typeof te.length=="number":void 0}function E(te,ve,$e){if(!(te&&ve))return;if(te.forEach&&te.forEach===m)te.forEach(ve,$e);else if(te.length===+te.length)for(var Le=0,he=te.length;Le<he;Le++)ve.call($e,te[Le],Le,te);else for(var ee in te)te.hasOwnProperty(ee)&&ve.call($e,te[ee],ee,te)}function C(te,ve,$e){if(!(te&&ve))return;if(te.map&&te.map===c)return te.map(ve,$e);for(var Le=[],he=0,ee=te.length;he<ee;he++)Le.push(ve.call($e,te[he],he,te));return Le}function T(te,ve,$e,Le){if(!(te&&ve))return;if(te.reduce&&te.reduce===h)return te.reduce(ve,$e,Le);for(var he=0,ee=te.length;he<ee;he++)$e=ve.call(Le,$e,te[he],he,te);return $e}function x(te,ve,$e){if(!(te&&ve))return;if(te.filter&&te.filter===g)return te.filter(ve,$e);for(var Le=[],he=0,ee=te.length;he<ee;he++)ve.call($e,te[he],he,te)&&Le.push(te[he]);return Le}function _(te,ve,$e){if(!(te&&ve))return;for(var Le=0,he=te.length;Le<he;Le++)if(ve.call($e,te[Le],Le,te))return te[Le]}function I(te,ve){var $e=p.call(arguments,2);return function(){return te.apply(ve,$e.concat(p.call(arguments)))}}function L(te){var ve=p.call(arguments,1);return function(){return te.apply(this,ve.concat(p.call(arguments)))}}function R(te){return f.call(te)==="[object Array]"}function k(te){return typeof te=="function"}function F(te){return f.call(te)==="[object String]"}function P(te){var ve=typeof te;return ve==="function"||!!te&&ve==="object"}function W(te){return!!o[f.call(te)]}function D(te){return!!w[f.call(te)]}function U(te){return typeof te=="object"&&typeof te.nodeType=="number"&&typeof te.ownerDocument=="object"}function H(te){return te!==te}function j(te){for(var ve=0,$e=arguments.length;ve<$e;ve++)if(arguments[ve]!=null)return arguments[ve]}function K(te,ve){return te!=null?te:ve}function X(te,ve,$e){return te!=null?te:ve!=null?ve:$e}function z(){return Function.call.apply(p,arguments)}function Y(te){if(typeof te=="number")return[te,te,te,te];var ve=te.length;return ve===2?[te[0],te[1],te[0],te[1]]:ve===3?[te[0],te[1],te[2],te[1]]:te}function $(te,ve){if(!te)throw new Error(ve)}function ne(te){return te==null?null:typeof te.trim=="function"?te.trim():te.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var J="__ec_primitive__";function ge(te){te[J]=!0}function de(te){return te[J]}function Ie(te){var ve=R(te);this.data={};var $e=this;te instanceof Ie?te.each(Le):te&&E(te,Le);function Le(he,ee){ve?$e.set(he,ee):$e.set(ee,he)}}Ie.prototype={constructor:Ie,get:function(ve){return this.data.hasOwnProperty(ve)?this.data[ve]:null},set:function(ve,$e){return this.data[ve]=$e},each:function(ve,$e){$e!==void 0&&(ve=I(ve,$e));for(var Le in this.data)this.data.hasOwnProperty(Le)&&ve(this.data[Le],Le)},removeKey:function(ve){delete this.data[ve]}};function be(te){return new Ie(te)}function Ce(te,ve){for(var $e=new te.constructor(te.length+ve.length),Le=0;Le<te.length;Le++)$e[Le]=te[Le];var he=te.length;for(Le=0;Le<ve.length;Le++)$e[Le+he]=ve[Le];return $e}function je(){}B.$override=e,B.clone=n,B.merge=i,B.mergeAll=r,B.extend=a,B.defaults=t,B.createCanvas=s,B.getContext=d,B.indexOf=v,B.inherits=y,B.mixin=S,B.isArrayLike=b,B.each=E,B.map=C,B.reduce=T,B.filter=x,B.find=_,B.bind=I,B.curry=L,B.isArray=R,B.isFunction=k,B.isString=F,B.isObject=P,B.isBuiltInObject=W,B.isTypedArray=D,B.isDom=U,B.eqNaN=H,B.retrieve=j,B.retrieve2=K,B.retrieve3=X,B.slice=z,B.normalizeCssArray=Y,B.assert=$,B.trim=ne,B.setAsPrimitive=ge,B.isPrimitive=de,B.createHashMap=be,B.concatArray=Ce,B.noop=je},bZqE:function(M,B){function o(f,A,m){for(var g=[f],p=[],c;c=g.pop();)if(p.push(c),c.isExpand){var h=c.children;if(h.length)for(var l=0;l<h.length;l++)g.push(h[l])}for(;c=p.pop();)A(c,m)}function w(f,A){for(var m=[f],g;g=m.pop();)if(A(g),g.isExpand){var p=g.children;if(p.length)for(var c=p.length-1;c>=0;c--)m.push(p[c])}}B.eachAfter=o,B.eachBefore=w},bahg:function(M,B){function o(w){return w.split("")}M.exports=o},bllP:function(M,B,o){},c2i1:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=o("Yl7c"),g=m.enableClassCheck;function p(r){return"_EC_"+r}var c=function(r){this._directed=r||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},h=c.prototype;h.type="graph",h.isDirected=function(){return this._directed},h.addNode=function(r,a){r=r==null?""+a:""+r;var t=this._nodesMap;if(t[p(r)])return;var s=new l(r,a);return s.hostGraph=this,this.nodes.push(s),t[p(r)]=s,s},h.getNodeByIndex=function(r){var a=this.data.getRawIndex(r);return this.nodes[a]},h.getNodeById=function(r){return this._nodesMap[p(r)]},h.addEdge=function(r,a,t){var s=this._nodesMap,u=this._edgesMap;if(typeof r=="number"&&(r=this.nodes[r]),typeof a=="number"&&(a=this.nodes[a]),l.isInstance(r)||(r=s[p(r)]),l.isInstance(a)||(a=s[p(a)]),!r||!a)return;var d=r.id+"-"+a.id;if(u[d])return;var v=new e(r,a,t);return v.hostGraph=this,this._directed&&(r.outEdges.push(v),a.inEdges.push(v)),r.edges.push(v),r!==a&&a.edges.push(v),this.edges.push(v),u[d]=v,v},h.getEdgeByIndex=function(r){var a=this.edgeData.getRawIndex(r);return this.edges[a]},h.getEdge=function(r,a){l.isInstance(r)&&(r=r.id),l.isInstance(a)&&(a=a.id);var t=this._edgesMap;return this._directed?t[r+"-"+a]:t[r+"-"+a]||t[a+"-"+r]},h.eachNode=function(r,a){for(var t=this.nodes,s=t.length,u=0;u<s;u++)t[u].dataIndex>=0&&r.call(a,t[u],u)},h.eachEdge=function(r,a){for(var t=this.edges,s=t.length,u=0;u<s;u++)t[u].dataIndex>=0&&t[u].node1.dataIndex>=0&&t[u].node2.dataIndex>=0&&r.call(a,t[u],u)},h.breadthFirstTraverse=function(r,a,t,s){if(l.isInstance(a)||(a=this._nodesMap[p(a)]),!a)return;for(var u=t==="out"?"outEdges":t==="in"?"inEdges":"edges",d=0;d<this.nodes.length;d++)this.nodes[d].__visited=!1;if(r.call(s,a,null))return;for(var v=[a];v.length;)for(var y=v.shift(),S=y[u],d=0;d<S.length;d++){var b=S[d],E=b.node1===y?b.node2:b.node1;if(!E.__visited){if(r.call(s,E,y))return;v.push(E),E.__visited=!0}}},h.update=function(){for(var r=this.data,a=this.edgeData,t=this.nodes,s=this.edges,u=0,d=t.length;u<d;u++)t[u].dataIndex=-1;for(var u=0,d=r.count();u<d;u++)t[r.getRawIndex(u)].dataIndex=u;a.filterSelf(function(v){var y=s[a.getRawIndex(v)];return y.node1.dataIndex>=0&&y.node2.dataIndex>=0});for(var u=0,d=s.length;u<d;u++)s[u].dataIndex=-1;for(var u=0,d=a.count();u<d;u++)s[a.getRawIndex(u)].dataIndex=u},h.clone=function(){for(var r=new c(this._directed),a=this.nodes,t=this.edges,s=0;s<a.length;s++)r.addNode(a[s].id,a[s].dataIndex);for(var s=0;s<t.length;s++){var u=t[s];r.addEdge(u.node1.id,u.node2.id,u.dataIndex)}return r};function l(r,a){this.id=r==null?"":r,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=a==null?-1:a}l.prototype={constructor:l,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(r){if(this.dataIndex<0)return;var a=this.hostGraph,t=a.data.getItemModel(this.dataIndex);return t.getModel(r)}};function e(r,a,t){this.node1=r,this.node2=a,this.dataIndex=t==null?-1:t}e.prototype.getModel=function(r){if(this.dataIndex<0)return;var a=this.hostGraph,t=a.edgeData.getItemModel(this.dataIndex);return t.getModel(r)};var n=function(r,a){return{getValue:function(t){var s=this[r][a];return s.get(s.getDimension(t||"value"),this.dataIndex)},setVisual:function(t,s){this.dataIndex>=0&&this[r][a].setItemVisual(this.dataIndex,t,s)},getVisual:function(t,s){return this[r][a].getItemVisual(this.dataIndex,t,s)},setLayout:function(t,s){this.dataIndex>=0&&this[r][a].setItemLayout(this.dataIndex,t,s)},getLayout:function(){return this[r][a].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][a].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][a].getRawIndex(this.dataIndex)}}};A.mixin(l,n("hostGraph","data")),A.mixin(e,n("hostGraph","edgeData")),c.Node=l,c.Edge=e,g(l),g(e);var i=c;M.exports=i},c5Ni:function(M,B,o){},c5dv:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("gXHG"),m=o.n(A)},c5fP:function(M,B,o){"use strict";function w(Je){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(wt){return typeof wt}:w=function(wt){return wt&&typeof Symbol=="function"&&wt.constructor===Symbol&&wt!==Symbol.prototype?"symbol":typeof wt},w(Je)}Object.defineProperty(B,"__esModule",{value:!0}),B._tr_init=ze,B._tr_stored_block=it,B._tr_flush_block=Ee,B._tr_tally=mt,B._tr_align=Ze;var f=m(o("6BzB"));function A(){if(typeof WeakMap!="function")return null;var Je=new WeakMap;return A=function(){return Je},Je}function m(Je){if(Je&&Je.__esModule)return Je;if(Je===null||w(Je)!=="object"&&typeof Je!="function")return{default:Je};var rt=A();if(rt&&rt.has(Je))return rt.get(Je);var wt={},Ot=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ct in Je)if(Object.prototype.hasOwnProperty.call(Je,Ct)){var Dt=Ot?Object.getOwnPropertyDescriptor(Je,Ct):null;Dt&&(Dt.get||Dt.set)?Object.defineProperty(wt,Ct,Dt):wt[Ct]=Je[Ct]}return wt.default=Je,rt&&rt.set(Je,wt),wt}var g=4,p=0,c=1,h=2;function l(Je){for(var rt=Je.length;--rt>=0;)Je[rt]=0}var e=0,n=1,i=2,r=3,a=258,t=29,s=256,u=s+1+t,d=30,v=19,y=2*u+1,S=15,b=16,E=7,C=256,T=16,x=17,_=18,I=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],L=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],R=[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],F=512,P=new Array((u+2)*2);l(P);var W=new Array(d*2);l(W);var D=new Array(F);l(D);var U=new Array(a-r+1);l(U);var H=new Array(t);l(H);var j=new Array(d);l(j);function K(Je,rt,wt,Ot,Ct){this.static_tree=Je,this.extra_bits=rt,this.extra_base=wt,this.elems=Ot,this.max_length=Ct,this.has_stree=Je&&Je.length}var X,z,Y;function $(Je,rt){this.dyn_tree=Je,this.max_code=0,this.stat_desc=rt}function ne(Je){return Je<256?D[Je]:D[256+(Je>>>7)]}function J(Je,rt){Je.pending_buf[Je.pending++]=rt&255,Je.pending_buf[Je.pending++]=rt>>>8&255}function ge(Je,rt,wt){Je.bi_valid>b-wt?(Je.bi_buf|=rt<<Je.bi_valid&65535,J(Je,Je.bi_buf),Je.bi_buf=rt>>b-Je.bi_valid,Je.bi_valid+=wt-b):(Je.bi_buf|=rt<<Je.bi_valid&65535,Je.bi_valid+=wt)}function de(Je,rt,wt){ge(Je,wt[rt*2],wt[rt*2+1])}function Ie(Je,rt){var wt=0;do wt|=Je&1,Je>>>=1,wt<<=1;while(--rt>0);return wt>>>1}function be(Je){Je.bi_valid===16?(J(Je,Je.bi_buf),Je.bi_buf=0,Je.bi_valid=0):Je.bi_valid>=8&&(Je.pending_buf[Je.pending++]=Je.bi_buf&255,Je.bi_buf>>=8,Je.bi_valid-=8)}function Ce(Je,rt){var wt=rt.dyn_tree,Ot=rt.max_code,Ct=rt.stat_desc.static_tree,Dt=rt.stat_desc.has_stree,Xe=rt.stat_desc.extra_bits,q=rt.stat_desc.extra_base,V=rt.stat_desc.max_length,Ae,xe,re,ot,bt,tt,Tt=0;for(ot=0;ot<=S;ot++)Je.bl_count[ot]=0;for(wt[Je.heap[Je.heap_max]*2+1]=0,Ae=Je.heap_max+1;Ae<y;Ae++){if(xe=Je.heap[Ae],ot=wt[wt[xe*2+1]*2+1]+1,ot>V&&(ot=V,Tt++),wt[xe*2+1]=ot,xe>Ot)continue;Je.bl_count[ot]++,bt=0,xe>=q&&(bt=Xe[xe-q]),tt=wt[xe*2],Je.opt_len+=tt*(ot+bt),Dt&&(Je.static_len+=tt*(Ct[xe*2+1]+bt))}if(Tt===0)return;do{for(ot=V-1;Je.bl_count[ot]===0;)ot--;Je.bl_count[ot]--,Je.bl_count[ot+1]+=2,Je.bl_count[V]--,Tt-=2}while(Tt>0);for(ot=V;ot!==0;ot--)for(xe=Je.bl_count[ot];xe!==0;){if(re=Je.heap[--Ae],re>Ot)continue;wt[re*2+1]!==ot&&(Je.opt_len+=(ot-wt[re*2+1])*wt[re*2],wt[re*2+1]=ot),xe--}}function je(Je,rt,wt){var Ot=new Array(S+1),Ct=0,Dt,Xe;for(Dt=1;Dt<=S;Dt++)Ot[Dt]=Ct=Ct+wt[Dt-1]<<1;for(Xe=0;Xe<=rt;Xe++){var q=Je[Xe*2+1];if(q===0)continue;Je[Xe*2]=Ie(Ot[q]++,q)}}function te(){var Je,rt,wt,Ot,Ct,Dt=new Array(S+1);for(wt=0,Ot=0;Ot<t-1;Ot++)for(H[Ot]=wt,Je=0;Je<1<<I[Ot];Je++)U[wt++]=Ot;for(U[wt-1]=Ot,Ct=0,Ot=0;Ot<16;Ot++)for(j[Ot]=Ct,Je=0;Je<1<<L[Ot];Je++)D[Ct++]=Ot;for(Ct>>=7;Ot<d;Ot++)for(j[Ot]=Ct<<7,Je=0;Je<1<<L[Ot]-7;Je++)D[256+Ct++]=Ot;for(rt=0;rt<=S;rt++)Dt[rt]=0;for(Je=0;Je<=143;)P[Je*2+1]=8,Je++,Dt[8]++;for(;Je<=255;)P[Je*2+1]=9,Je++,Dt[9]++;for(;Je<=279;)P[Je*2+1]=7,Je++,Dt[7]++;for(;Je<=287;)P[Je*2+1]=8,Je++,Dt[8]++;for(je(P,u+1,Dt),Je=0;Je<d;Je++)W[Je*2+1]=5,W[Je*2]=Ie(Je,5);X=new K(P,I,s+1,u,S),z=new K(W,L,0,d,S),Y=new K(new Array(0),R,0,v,E)}function ve(Je){var rt;for(rt=0;rt<u;rt++)Je.dyn_ltree[rt*2]=0;for(rt=0;rt<d;rt++)Je.dyn_dtree[rt*2]=0;for(rt=0;rt<v;rt++)Je.bl_tree[rt*2]=0;Je.dyn_ltree[C*2]=1,Je.opt_len=Je.static_len=0,Je.last_lit=Je.matches=0}function $e(Je){Je.bi_valid>8?J(Je,Je.bi_buf):Je.bi_valid>0&&(Je.pending_buf[Je.pending++]=Je.bi_buf),Je.bi_buf=0,Je.bi_valid=0}function Le(Je,rt,wt,Ot){$e(Je),Ot&&(J(Je,wt),J(Je,~wt)),f.arraySet(Je.pending_buf,Je.window,rt,wt,Je.pending),Je.pending+=wt}function he(Je,rt,wt,Ot){var Ct=rt*2,Dt=wt*2;return Je[Ct]<Je[Dt]||Je[Ct]===Je[Dt]&&Ot[rt]<=Ot[wt]}function ee(Je,rt,wt){for(var Ot=Je.heap[wt],Ct=wt<<1;Ct<=Je.heap_len&&!(Ct<Je.heap_len&&he(rt,Je.heap[Ct+1],Je.heap[Ct],Je.depth)&&Ct++,he(rt,Ot,Je.heap[Ct],Je.depth));)Je.heap[wt]=Je.heap[Ct],wt=Ct,Ct<<=1;Je.heap[wt]=Ot}function se(Je,rt,wt){var Ot,Ct,Dt=0,Xe,q;if(Je.last_lit!==0)do Ot=Je.pending_buf[Je.d_buf+Dt*2]<<8|Je.pending_buf[Je.d_buf+Dt*2+1],Ct=Je.pending_buf[Je.l_buf+Dt],Dt++,Ot===0?de(Je,Ct,rt):(Xe=U[Ct],de(Je,Xe+s+1,rt),q=I[Xe],q!==0&&(Ct-=H[Xe],ge(Je,Ct,q)),Ot--,Xe=ne(Ot),de(Je,Xe,wt),q=L[Xe],q!==0&&(Ot-=j[Xe],ge(Je,Ot,q)));while(Dt<Je.last_lit);de(Je,C,rt)}function Ue(Je,rt){var wt=rt.dyn_tree,Ot=rt.stat_desc.static_tree,Ct=rt.stat_desc.has_stree,Dt=rt.stat_desc.elems,Xe,q,V=-1,Ae;for(Je.heap_len=0,Je.heap_max=y,Xe=0;Xe<Dt;Xe++)wt[Xe*2]!==0?(Je.heap[++Je.heap_len]=V=Xe,Je.depth[Xe]=0):wt[Xe*2+1]=0;for(;Je.heap_len<2;)Ae=Je.heap[++Je.heap_len]=V<2?++V:0,wt[Ae*2]=1,Je.depth[Ae]=0,Je.opt_len--,Ct&&(Je.static_len-=Ot[Ae*2+1]);for(rt.max_code=V,Xe=Je.heap_len>>1;Xe>=1;Xe--)ee(Je,wt,Xe);Ae=Dt;do Xe=Je.heap[1],Je.heap[1]=Je.heap[Je.heap_len--],ee(Je,wt,1),q=Je.heap[1],Je.heap[--Je.heap_max]=Xe,Je.heap[--Je.heap_max]=q,wt[Ae*2]=wt[Xe*2]+wt[q*2],Je.depth[Ae]=(Je.depth[Xe]>=Je.depth[q]?Je.depth[Xe]:Je.depth[q])+1,wt[Xe*2+1]=wt[q*2+1]=Ae,Je.heap[1]=Ae++,ee(Je,wt,1);while(Je.heap_len>=2);Je.heap[--Je.heap_max]=Je.heap[1],Ce(Je,rt),je(wt,V,Je.bl_count)}function ue(Je,rt,wt){var Ot,Ct=-1,Dt,Xe=rt[0*2+1],q=0,V=7,Ae=4;for(Xe===0&&(V=138,Ae=3),rt[(wt+1)*2+1]=65535,Ot=0;Ot<=wt;Ot++){if(Dt=Xe,Xe=rt[(Ot+1)*2+1],++q<V&&Dt===Xe)continue;q<Ae?Je.bl_tree[Dt*2]+=q:Dt!==0?(Dt!==Ct&&Je.bl_tree[Dt*2]++,Je.bl_tree[T*2]++):q<=10?Je.bl_tree[x*2]++:Je.bl_tree[_*2]++,q=0,Ct=Dt,Xe===0?(V=138,Ae=3):Dt===Xe?(V=6,Ae=3):(V=7,Ae=4)}}function Ne(Je,rt,wt){var Ot,Ct=-1,Dt,Xe=rt[0*2+1],q=0,V=7,Ae=4;for(Xe===0&&(V=138,Ae=3),Ot=0;Ot<=wt;Ot++){if(Dt=Xe,Xe=rt[(Ot+1)*2+1],++q<V&&Dt===Xe)continue;if(q<Ae)do de(Je,Dt,Je.bl_tree);while(--q!==0);else Dt!==0?(Dt!==Ct&&(de(Je,Dt,Je.bl_tree),q--),de(Je,T,Je.bl_tree),ge(Je,q-3,2)):q<=10?(de(Je,x,Je.bl_tree),ge(Je,q-3,3)):(de(Je,_,Je.bl_tree),ge(Je,q-11,7));q=0,Ct=Dt,Xe===0?(V=138,Ae=3):Dt===Xe?(V=6,Ae=3):(V=7,Ae=4)}}function Fe(Je){var rt;for(ue(Je,Je.dyn_ltree,Je.l_desc.max_code),ue(Je,Je.dyn_dtree,Je.d_desc.max_code),Ue(Je,Je.bl_desc),rt=v-1;rt>=3&&!(Je.bl_tree[k[rt]*2+1]!==0);rt--);return Je.opt_len+=3*(rt+1)+5+5+4,rt}function ae(Je,rt,wt,Ot){var Ct;for(ge(Je,rt-257,5),ge(Je,wt-1,5),ge(Je,Ot-4,4),Ct=0;Ct<Ot;Ct++)ge(Je,Je.bl_tree[k[Ct]*2+1],3);Ne(Je,Je.dyn_ltree,rt-1),Ne(Je,Je.dyn_dtree,wt-1)}function ce(Je){var rt=4093624447,wt;for(wt=0;wt<=31;wt++,rt>>>=1)if(rt&1&&Je.dyn_ltree[wt*2]!==0)return p;if(Je.dyn_ltree[9*2]!==0||Je.dyn_ltree[10*2]!==0||Je.dyn_ltree[13*2]!==0)return c;for(wt=32;wt<s;wt++)if(Je.dyn_ltree[wt*2]!==0)return c;return p}var _e=!1;function ze(Je){_e||(te(),_e=!0),Je.l_desc=new $(Je.dyn_ltree,X),Je.d_desc=new $(Je.dyn_dtree,z),Je.bl_desc=new $(Je.bl_tree,Y),Je.bi_buf=0,Je.bi_valid=0,ve(Je)}function it(Je,rt,wt,Ot){ge(Je,(e<<1)+(Ot?1:0),3),Le(Je,rt,wt,!0)}function Ze(Je){ge(Je,n<<1,3),de(Je,C,P),be(Je)}function Ee(Je,rt,wt,Ot){var Ct,Dt,Xe=0;Je.level>0?(Je.strm.data_type===h&&(Je.strm.data_type=ce(Je)),Ue(Je,Je.l_desc),Ue(Je,Je.d_desc),Xe=Fe(Je),Ct=Je.opt_len+3+7>>>3,Dt=Je.static_len+3+7>>>3,Dt<=Ct&&(Ct=Dt)):Ct=Dt=wt+5,wt+4<=Ct&&rt!==-1?it(Je,rt,wt,Ot):Je.strategy===g||Dt===Ct?(ge(Je,(n<<1)+(Ot?1:0),3),se(Je,P,W)):(ge(Je,(i<<1)+(Ot?1:0),3),ae(Je,Je.l_desc.max_code+1,Je.d_desc.max_code+1,Xe+1),se(Je,Je.dyn_ltree,Je.dyn_dtree)),ve(Je),Ot&&$e(Je)}function mt(Je,rt,wt){return Je.pending_buf[Je.d_buf+Je.last_lit*2]=rt>>>8&255,Je.pending_buf[Je.d_buf+Je.last_lit*2+1]=rt&255,Je.pending_buf[Je.l_buf+Je.last_lit]=wt&255,Je.last_lit++,rt===0?Je.dyn_ltree[wt*2]++:(Je.matches++,rt--,Je.dyn_ltree[(U[wt]+s+1)*2]++,Je.dyn_dtree[ne(rt)*2]++),Je.last_lit===Je.lit_bufsize-1}},c8qY:function(M,B,o){var w=o("IwbS"),f=o("fls0");function A(i){this._ctor=i||f,this.group=new w.Group}var m=A.prototype;m.isPersistent=function(){return!0},m.updateData=function(i){var r=this,a=r.group,t=r._lineData;r._lineData=i,t||a.removeAll();var s=h(i);i.diff(t).add(function(u){g(r,i,u,s)}).update(function(u,d){p(r,t,i,d,u,s)}).remove(function(u){a.remove(t.getItemGraphicEl(u))}).execute()};function g(i,r,a,t){var s=r.getItemLayout(a);if(!e(s))return;var u=new i._ctor(r,a,t);r.setItemGraphicEl(a,u),i.group.add(u)}function p(i,r,a,t,s,u){var d=r.getItemGraphicEl(t);if(!e(a.getItemLayout(s))){i.group.remove(d);return}d?d.updateData(a,s,u):d=new i._ctor(a,s,u),a.setItemGraphicEl(s,d),i.group.add(d)}m.updateLayout=function(){var i=this._lineData;if(!i)return;i.eachItemGraphicEl(function(r,a){r.updateLayout(i,a)},this)},m.incrementalPrepareUpdate=function(i){this._seriesScope=h(i),this._lineData=null,this.group.removeAll()};function c(i){return i.animators&&i.animators.length>0}m.incrementalUpdate=function(i,r){function a(d){!d.isGroup&&!c(d)&&(d.incremental=d.useHoverLayer=!0)}for(var t=i.start;t<i.end;t++){var s=r.getItemLayout(t);if(e(s)){var u=new this._ctor(r,t,this._seriesScope);u.traverse(a),this.group.add(u),r.setItemGraphicEl(t,u)}}};function h(i){var r=i.hostModel;return{lineStyle:r.getModel("lineStyle").getLineStyle(),hoverLineStyle:r.getModel("emphasis.lineStyle").getLineStyle(),labelModel:r.getModel("label"),hoverLabelModel:r.getModel("emphasis.label")}}m.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},m._clearIncremental=function(){var i=this._incremental;i&&i.clearDisplaybles()};function l(i){return isNaN(i[0])||isNaN(i[1])}function e(i){return!l(i[0])&&!l(i[1])}var n=A;M.exports=n},cCMj:function(M,B,o){var w=o("bYtY"),f={updateSelectedMap:function(A){this._targetList=w.isArray(A)?A.slice():[],this._selectTargetMap=w.reduce(A||[],function(m,g){return m.set(g.name,g),m},w.createHashMap())},select:function(A,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(A),p=this.get("selectedMode");p==="single"&&this._selectTargetMap.each(function(c){c.selected=!1}),g&&(g.selected=!0)},unSelect:function(A,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(A);g&&(g.selected=!1)},toggleSelected:function(A,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(A);if(g!=null)return this[g.selected?"unSelect":"select"](A,m),g.selected},isSelected:function(A,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(A);return g&&g.selected}};M.exports=f},cDrd:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("Dk0F"),m=o.n(A)},cH4y:function(M,B,o){"use strict";var w=o("TqRt");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var f=w(o("pVnL")),A=w(o("WSfB")),m=w(o("LZL9")),g={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"]},A.default),timePickerLocale:(0,f.default)({},m.default)};g.lang.ok="\u786E \u5B9A";var p=g;B.default=p},cVA7:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=o("MT78"),f=g(w),A=o("t3Fx"),m=g(A);function g(e){return e&&e.__esModule?e:{default:e}}function p(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function c(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:e}function h(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}var l=function(e){h(n,e);function n(i){p(this,n);var r=c(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,i));return r.echartsLib=f.default,r}return n}(m.default);B.default=l},ca2m:function(M,B,o){var w=o("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)"]}}},A={};A.categoryAxis=w.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},f),A.valueAxis=w.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},f),A.timeAxis=w.defaults({scale:!0,min:"dataMin",max:"dataMax"},A.valueAxis),A.logAxis=w.defaults({scale:!0,logBase:10},A.valueAxis);var m=A;M.exports=m},cbJ4:function(M,B,o){var w=o("bYtY"),f=w.createHashMap;function A(m){m.eachSeriesByType("themeRiver",function(g){var p=g.getData(),c=g.getRawData(),h=g.get("color"),l=f();p.each(function(e){l.set(p.getRawIndex(e),e)}),c.each(function(e){var n=c.getName(e),i=h[(g.nameMap.get(n)-1)%h.length];c.setItemVisual(e,"color",i);var r=l.get(e);r!=null&&p.setItemVisual(r,"color",i)})})}M.exports=A},chpo:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=1,f=function(){return"".concat(w++)};B.default=f},cpOr:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("T4UG"),m=o("YXkt"),g=o("bYtY"),p=g.concatArray,c=g.mergeAll,h=g.map,l=o("7aKB"),e=l.encodeHTML,n=o("IDmD"),i=typeof Uint32Array=="undefined"?Array:Uint32Array,r=typeof Float64Array=="undefined"?Array:Float64Array;function a(u){var d=u.data;d&&d[0]&&d[0][0]&&d[0][0].coord&&(u.data=h(d,function(v){var y=[v[0].coord,v[1].coord],S={coords:y};return v[0].name&&(S.fromName=v[0].name),v[1].name&&(S.toName=v[1].name),c([S,v[0],v[1]])}))}var t=A.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(u){u.data=u.data||[],a(u);var d=this._processFlatCoordsArray(u.data);this._flatCoords=d.flatCoords,this._flatCoordsOffset=d.flatCoordsOffset,d.flatCoords&&(u.data=new Float32Array(d.count)),t.superApply(this,"init",arguments)},mergeOption:function(u){if(u.data=u.data||[],a(u),u.data){var d=this._processFlatCoordsArray(u.data);this._flatCoords=d.flatCoords,this._flatCoordsOffset=d.flatCoordsOffset,d.flatCoords&&(u.data=new Float32Array(d.count))}t.superApply(this,"mergeOption",arguments)},appendData:function(u){var d=this._processFlatCoordsArray(u.data);d.flatCoords&&(this._flatCoords?(this._flatCoords=p(this._flatCoords,d.flatCoords),this._flatCoordsOffset=p(this._flatCoordsOffset,d.flatCoordsOffset)):(this._flatCoords=d.flatCoords,this._flatCoordsOffset=d.flatCoordsOffset),u.data=new Float32Array(d.count)),this.getRawData().appendData(u.data)},_getCoordsFromItemModel:function(u){var d=this.getData().getItemModel(u),v=d.option instanceof Array?d.option:d.getShallow("coords");return v},getLineCoordsCount:function(u){return this._flatCoordsOffset?this._flatCoordsOffset[u*2+1]:this._getCoordsFromItemModel(u).length},getLineCoords:function(u,d){if(this._flatCoordsOffset){for(var v=this._flatCoordsOffset[u*2],y=this._flatCoordsOffset[u*2+1],S=0;S<y;S++)d[S]=d[S]||[],d[S][0]=this._flatCoords[v+S*2],d[S][1]=this._flatCoords[v+S*2+1];return y}else{for(var b=this._getCoordsFromItemModel(u),S=0;S<b.length;S++)d[S]=d[S]||[],d[S][0]=b[S][0],d[S][1]=b[S][1];return b.length}},_processFlatCoordsArray:function(u){var d=0;if(this._flatCoords&&(d=this._flatCoords.length),typeof u[0]=="number"){for(var v=u.length,y=new i(v),S=new r(v),b=0,E=0,C=0,T=0;T<v;){C++;var x=u[T++];y[E++]=b+d,y[E++]=x;for(var _=0;_<x;_++){var I=u[T++],L=u[T++];S[b++]=I,S[b++]=L,T>v}}return{flatCoordsOffset:new Uint32Array(y.buffer,0,E),flatCoords:S,count:C}}return{flatCoordsOffset:null,flatCoords:null,count:u.length}},getInitialData:function(u,d){var v=new m(["value"],this);return v.hasItemOption=!1,v.initData(u.data,[],function(y,S,b,E){if(y instanceof Array)return NaN;v.hasItemOption=!0;var C=y.value;if(C!=null)return C instanceof Array?C[E]:C}),v},formatTooltip:function(u){var d=this.getData(),v=d.getItemModel(u),y=v.get("name");if(y)return y;var S=v.get("fromName"),b=v.get("toName"),E=[];return S!=null&&E.push(S),b!=null&&E.push(b),e(E.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var u=this.option.progressive;return u==null?this.option.large?1e4:this.get("progressive"):u},getProgressiveThreshold:function(){var u=this.option.progressiveThreshold;return u==null?this.option.large?2e4:this.get("progressiveThreshold"):u},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),s=t;M.exports=s},crZl:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("IwbS"),m=o("7aKB"),g=o("+TT/"),p=o("XxSj"),c=w.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(h,l){this.ecModel=h,this.api=l,this.visualMapModel},render:function(h,l,e,n){if(this.visualMapModel=h,h.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(h){var l=this.visualMapModel,e=m.normalizeCssArray(l.get("padding")||0),n=h.getBoundingRect();h.add(new A.Rect({z2:-1,silent:!0,shape:{x:n.x-e[3],y:n.y-e[0],width:n.width+e[3]+e[1],height:n.height+e[0]+e[2]},style:{fill:l.get("backgroundColor"),stroke:l.get("borderColor"),lineWidth:l.get("borderWidth")}}))},getControllerVisual:function(h,l,e){e=e||{};var n=e.forceState,i=this.visualMapModel,r={};if(l==="symbol"&&(r.symbol=i.get("itemSymbol")),l==="color"){var a=i.get("contentColor");r.color=a}function t(v){return r[v]}function s(v,y){r[v]=y}var u=i.controllerVisuals[n||i.getValueState(h)],d=p.prepareVisualTypes(u);return f.each(d,function(v){var y=u[v];e.convertOpacityToAlpha&&v==="opacity"&&(v="colorAlpha",y=u.__alphaForOpacity),p.dependsOn(v,l)&&(y&&y.applyVisual(h,t,s))}),r[l]},positionGroup:function(h){var l=this.visualMapModel,e=this.api;g.positionElement(h,l.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})},doRender:f.noop});M.exports=c},crp1:function(M,B,o){"use strict";o.d(B,"b",function(){return It}),o.d(B,"a",function(){return Lr});var w={},f=function(St,kt,Jt,Br,Hr){var $r=w[kt]||(w[kt]=URL.createObjectURL(new Blob([St],{type:"text/javascript"}))),Ft=new Worker($r);return Ft.onerror=function(cr){return Hr(cr.error,null)},Ft.onmessage=function(cr){return Hr(null,cr.data)},Ft.postMessage(Jt,Br),Ft},A=Uint8Array,m=Uint16Array,g=Uint32Array,p=new A([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),c=new A([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),h=new A([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),l=function(St,kt){for(var Jt=new m(31),Br=0;Br<31;++Br)Jt[Br]=kt+=1<<St[Br-1];for(var Hr=new g(Jt[30]),Br=1;Br<30;++Br)for(var $r=Jt[Br];$r<Jt[Br+1];++$r)Hr[$r]=$r-Jt[Br]<<5|Br;return[Jt,Hr]},e=l(p,2),n=e[0],i=e[1];n[28]=258,i[258]=28;for(var r=l(c,0),a=r[0],t=r[1],s=new m(32768),u=0;u<32768;++u){var d=(u&43690)>>>1|(u&21845)<<1;d=(d&52428)>>>2|(d&13107)<<2,d=(d&61680)>>>4|(d&3855)<<4,s[u]=((d&65280)>>>8|(d&255)<<8)>>>1}for(var v=function(St,kt,Jt){for(var Br=St.length,Hr=0,$r=new m(kt);Hr<Br;++Hr)++$r[St[Hr]-1];var Ft=new m(kt);for(Hr=0;Hr<kt;++Hr)Ft[Hr]=Ft[Hr-1]+$r[Hr-1]<<1;var cr;if(Jt){cr=new m(1<<kt);var Cr=15-kt;for(Hr=0;Hr<Br;++Hr)if(St[Hr])for(var Fr=Hr<<4|St[Hr],Wr=kt-St[Hr],An=Ft[St[Hr]-1]++<<Wr,bn=An|(1<<Wr)-1;An<=bn;++An)cr[s[An]>>>Cr]=Fr}else for(cr=new m(Br),Hr=0;Hr<Br;++Hr)cr[Hr]=s[Ft[St[Hr]-1]++]>>>15-St[Hr];return cr},y=new A(288),u=0;u<144;++u)y[u]=8;for(var u=144;u<256;++u)y[u]=9;for(var u=256;u<280;++u)y[u]=7;for(var u=280;u<288;++u)y[u]=8;for(var S=new A(32),u=0;u<32;++u)S[u]=5;var b=v(y,9,0),E=v(y,9,1),C=v(S,5,0),T=v(S,5,1),x=function(St){for(var kt=St[0],Jt=1;Jt<St.length;++Jt)St[Jt]>kt&&(kt=St[Jt]);return kt},_=function(St,kt,Jt){var Br=kt/8>>0;return(St[Br]|St[Br+1]<<8)>>>(kt&7)&Jt},I=function(St,kt){var Jt=kt/8>>0;return(St[Jt]|St[Jt+1]<<8|St[Jt+2]<<16)>>>(kt&7)},L=function(St){return(St/8>>0)+(St&7&&1)},R=function(St,kt,Jt){(kt==null||kt<0)&&(kt=0),(Jt==null||Jt>St.length)&&(Jt=St.length);var Br=new(St instanceof m?m:St instanceof g?g:A)(Jt-kt);return Br.set(St.subarray(kt,Jt)),Br},k=function(St,kt,Jt){var Br=St.length,Hr=!kt||Jt,$r=!Jt||Jt.i;Jt||(Jt={}),kt||(kt=new A(Br*3));var Ft=function(Gn){var xn=kt.length;if(Gn>xn){var mi=new A(Math.max(xn*2,Gn));mi.set(kt),kt=mi}},cr=Jt.f||0,Cr=Jt.p||0,Fr=Jt.b||0,Wr=Jt.l,An=Jt.d,bn=Jt.m,Sn=Jt.n,kn=Br*8;do{if(!Wr){Jt.f=cr=_(St,Cr,1);var ei=_(St,Cr+1,3);if(Cr+=3,ei)if(ei==1)Wr=E,An=T,bn=9,Sn=5;else if(ei==2){var qe=_(St,Cr,31)+257,Se=_(St,Cr+10,15)+4,Me=qe+_(St,Cr+5,31)+1;Cr+=14;for(var Be=new A(Me),Qe=new A(19),Ve=0;Ve<Se;++Ve)Qe[h[Ve]]=_(St,Cr+Ve*3,7);Cr+=Se*3;var Ye=x(Qe),pt=(1<<Ye)-1;if(!$r&&Cr+Me*(Ye+7)>kn)break;for(var ht=v(Qe,Ye,1),Ve=0;Ve<Me;){var Vt=ht[_(St,Cr,pt)];Cr+=Vt&15;var Jn=Vt>>>4;if(Jn<16)Be[Ve++]=Jn;else{var dr=0,tr=0;for(Jn==16?(tr=3+_(St,Cr,3),Cr+=2,dr=Be[Ve-1]):Jn==17?(tr=3+_(St,Cr,7),Cr+=3):Jn==18&&(tr=11+_(St,Cr,127),Cr+=7);tr--;)Be[Ve++]=dr}}var ir=Be.subarray(0,qe),_t=Be.subarray(qe);bn=x(ir),Sn=x(_t),Wr=v(ir,bn,1),An=v(_t,Sn,1)}else throw"invalid block type";else{var Jn=L(Cr)+4,ai=St[Jn-4]|St[Jn-3]<<8,ii=Jn+ai;if(ii>Br){if($r)throw"unexpected EOF";break}Hr&&Ft(Fr+ai),kt.set(St.subarray(Jn,ii),Fr),Jt.b=Fr+=ai,Jt.p=Cr=ii*8;continue}if(Cr>kn)throw"unexpected EOF"}Hr&&Ft(Fr+131072);for(var gr=(1<<bn)-1,jt=(1<<Sn)-1,Sr=bn+Sn+18;$r||Cr+Sr<kn;){var dr=Wr[I(St,Cr)&gr],Ar=dr>>>4;if(Cr+=dr&15,Cr>kn)throw"unexpected EOF";if(!dr)throw"invalid length/literal";if(Ar<256)kt[Fr++]=Ar;else if(Ar==256){Wr=null;break}else{var sr=Ar-254;if(Ar>264){var Ve=Ar-257,ln=p[Ve];sr=_(St,Cr,(1<<ln)-1)+n[Ve],Cr+=ln}var _n=An[I(St,Cr)&jt],Wn=_n>>>4;if(!_n)throw"invalid distance";Cr+=_n&15;var _t=a[Wn];if(Wn>3){var ln=c[Wn];_t+=I(St,Cr)&(1<<ln)-1,Cr+=ln}if(Cr>kn)throw"unexpected EOF";Hr&&Ft(Fr+131072);for(var Nn=Fr+sr;Fr<Nn;Fr+=4)kt[Fr]=kt[Fr-_t],kt[Fr+1]=kt[Fr+1-_t],kt[Fr+2]=kt[Fr+2-_t],kt[Fr+3]=kt[Fr+3-_t];Fr=Nn}}Jt.l=Wr,Jt.p=Cr,Jt.b=Fr,Wr&&(cr=1,Jt.m=bn,Jt.d=An,Jt.n=Sn)}while(!cr);return Fr==kt.length?kt:R(kt,0,Fr)},F=function(St,kt,Jt){Jt<<=kt&7;var Br=kt/8>>0;St[Br]|=Jt,St[Br+1]|=Jt>>>8},P=function(St,kt,Jt){Jt<<=kt&7;var Br=kt/8>>0;St[Br]|=Jt,St[Br+1]|=Jt>>>8,St[Br+2]|=Jt>>>16},W=function(St,kt){for(var Jt=[],Br=0;Br<St.length;++Br)St[Br]&&Jt.push({s:Br,f:St[Br]});var Hr=Jt.length,$r=Jt.slice();if(!Hr)return[new A(0),0];if(Hr==1){var Ft=new A(Jt[0].s+1);return Ft[Jt[0].s]=1,[Ft,1]}Jt.sort(function(Me,Be){return Me.f-Be.f}),Jt.push({s:-1,f:25001});var cr=Jt[0],Cr=Jt[1],Fr=0,Wr=1,An=2;for(Jt[0]={s:-1,f:cr.f+Cr.f,l:cr,r:Cr};Wr!=Hr-1;)cr=Jt[Jt[Fr].f<Jt[An].f?Fr++:An++],Cr=Jt[Fr!=Wr&&Jt[Fr].f<Jt[An].f?Fr++:An++],Jt[Wr++]={s:-1,f:cr.f+Cr.f,l:cr,r:Cr};for(var bn=$r[0].s,Br=1;Br<Hr;++Br)$r[Br].s>bn&&(bn=$r[Br].s);var Sn=new m(bn+1),kn=D(Jt[Wr-1],Sn,0);if(kn>kt){var Br=0,ei=0,Jn=kn-kt,ai=1<<Jn;for($r.sort(function(Be,Qe){return Sn[Qe.s]-Sn[Be.s]||Be.f-Qe.f});Br<Hr;++Br){var ii=$r[Br].s;if(Sn[ii]>kt)ei+=ai-(1<<kn-Sn[ii]),Sn[ii]=kt;else break}for(ei>>>=Jn;ei>0;){var qe=$r[Br].s;Sn[qe]<kt?ei-=1<<kt-Sn[qe]++-1:++Br}for(;Br>=0&&ei;--Br){var Se=$r[Br].s;Sn[Se]==kt&&(--Sn[Se],++ei)}kn=kt}return[new A(Sn),kn]},D=function Kt(St,kt,Jt){return St.s==-1?Math.max(Kt(St.l,kt,Jt+1),Kt(St.r,kt,Jt+1)):kt[St.s]=Jt},U=function(St){for(var kt=St.length;kt&&!St[--kt];);for(var Jt=new m(++kt),Br=0,Hr=St[0],$r=1,Ft=function(Fr){Jt[Br++]=Fr},cr=1;cr<=kt;++cr)if(St[cr]==Hr&&cr!=kt)++$r;else{if(!Hr&&$r>2){for(;$r>138;$r-=138)Ft(32754);$r>2&&(Ft($r>10?$r-11<<5|28690:$r-3<<5|12305),$r=0)}else if($r>3){for(Ft(Hr),--$r;$r>6;$r-=6)Ft(8304);$r>2&&(Ft($r-3<<5|8208),$r=0)}for(;$r--;)Ft(Hr);$r=1,Hr=St[cr]}return[Jt.subarray(0,Br),kt]},H=function(St,kt){for(var Jt=0,Br=0;Br<kt.length;++Br)Jt+=St[Br]*kt[Br];return Jt},j=function(St,kt,Jt){var Br=Jt.length,Hr=L(kt+2);St[Hr]=Br&255,St[Hr+1]=Br>>>8,St[Hr+2]=St[Hr]^255,St[Hr+3]=St[Hr+1]^255;for(var $r=0;$r<Br;++$r)St[Hr+$r+4]=Jt[$r];return(Hr+4+Br)*8},K=function(St,kt,Jt,Br,Hr,$r,Ft,cr,Cr,Fr,Wr){F(kt,Wr++,Jt),++Hr[256];for(var An=W(Hr,15),bn=An[0],Sn=An[1],kn=W($r,15),ei=kn[0],Jn=kn[1],ai=U(bn),ii=ai[0],qe=ai[1],Se=U(ei),Me=Se[0],Be=Se[1],Qe=new m(19),Ve=0;Ve<ii.length;++Ve)Qe[ii[Ve]&31]++;for(var Ve=0;Ve<Me.length;++Ve)Qe[Me[Ve]&31]++;for(var Ye=W(Qe,7),pt=Ye[0],ht=Ye[1],Vt=19;Vt>4&&!pt[h[Vt-1]];--Vt);var dr=Fr+5<<3,tr=H(Hr,y)+H($r,S)+Ft,ir=H(Hr,bn)+H($r,ei)+Ft+14+3*Vt+H(Qe,pt)+(2*Qe[16]+3*Qe[17]+7*Qe[18]);if(dr<=tr&&dr<=ir)return j(kt,Wr,St.subarray(Cr,Cr+Fr));var _t,gr,jt,Sr;if(F(kt,Wr,1+(ir<tr)),Wr+=2,ir<tr){_t=v(bn,Sn,0),gr=bn,jt=v(ei,Jn,0),Sr=ei;var Ar=v(pt,ht,0);F(kt,Wr,qe-257),F(kt,Wr+5,Be-1),F(kt,Wr+10,Vt-4),Wr+=14;for(var Ve=0;Ve<Vt;++Ve)F(kt,Wr+3*Ve,pt[h[Ve]]);Wr+=3*Vt;for(var sr=[ii,Me],ln=0;ln<2;++ln)for(var _n=sr[ln],Ve=0;Ve<_n.length;++Ve){var Wn=_n[Ve]&31;F(kt,Wr,Ar[Wn]),Wr+=pt[Wn],Wn>15&&(F(kt,Wr,_n[Ve]>>>5&127),Wr+=_n[Ve]>>>12)}}else _t=b,gr=y,jt=C,Sr=S;for(var Ve=0;Ve<cr;++Ve)if(Br[Ve]>255){var Wn=Br[Ve]>>>18&31;P(kt,Wr,_t[Wn+257]),Wr+=gr[Wn+257],Wn>7&&(F(kt,Wr,Br[Ve]>>>23&31),Wr+=p[Wn]);var Nn=Br[Ve]&31;P(kt,Wr,jt[Nn]),Wr+=Sr[Nn],Nn>3&&(P(kt,Wr,Br[Ve]>>>5&8191),Wr+=c[Nn])}else P(kt,Wr,_t[Br[Ve]]),Wr+=gr[Br[Ve]];return P(kt,Wr,_t[256]),Wr+gr[256]},X=new g([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),z=new A(0),Y=function(St,kt,Jt,Br,Hr,$r){var Ft=St.length,cr=new A(Br+Ft+5*(1+Math.floor(Ft/7e3))+Hr),Cr=cr.subarray(Br,cr.length-Hr),Fr=0;if(!kt||Ft<8)for(var Wr=0;Wr<=Ft;Wr+=65535){var An=Wr+65535;An<Ft?Fr=j(Cr,Fr,St.subarray(Wr,An)):(Cr[Wr]=$r,Fr=j(Cr,Fr,St.subarray(Wr,Ft)))}else{for(var bn=X[kt-1],Sn=bn>>>13,kn=bn&8191,ei=(1<<Jt)-1,Jn=new m(32768),ai=new m(ei+1),ii=Math.ceil(Jt/3),qe=2*ii,Se=function(Hn){return(St[Hn]^St[Hn+1]<<ii^St[Hn+2]<<qe)&ei},Me=new g(25e3),Be=new m(288),Qe=new m(32),Ve=0,Ye=0,Wr=0,pt=0,ht=0,Vt=0;Wr<Ft;++Wr){var dr=Se(Wr),tr=Wr&32767,ir=ai[dr];if(Jn[tr]=ir,ai[dr]=tr,ht<=Wr){var _t=Ft-Wr;if((Ve>7e3||pt>24576)&&_t>423){Fr=K(St,Cr,0,Me,Be,Qe,Ye,pt,Vt,Wr-Vt,Fr),pt=Ve=Ye=0,Vt=Wr;for(var gr=0;gr<286;++gr)Be[gr]=0;for(var gr=0;gr<30;++gr)Qe[gr]=0}var jt=2,Sr=0,Ar=kn,sr=tr-ir&32767;if(_t>2&&dr==Se(Wr-sr))for(var ln=Math.min(Sn,_t)-1,_n=Math.min(32767,Wr),Wn=Math.min(258,_t);sr<=_n&&--Ar&&tr!=ir;){if(St[Wr+jt]==St[Wr+jt-sr]){for(var Nn=0;Nn<Wn&&St[Wr+Nn]==St[Wr+Nn-sr];++Nn);if(Nn>jt){if(jt=Nn,Sr=sr,Nn>ln)break;for(var Mn=Math.min(sr,Nn-2),Gn=0,gr=0;gr<Mn;++gr){var xn=Wr-sr+gr+32768&32767,mi=Jn[xn],rn=xn-mi+32768&32767;rn>Gn&&(Gn=rn,ir=xn)}}}tr=ir,ir=Jn[tr],sr+=tr-ir+32768&32767}if(Sr){Me[pt++]=268435456|i[jt]<<18|t[Sr];var Ur=i[jt]&31,cn=t[Sr]&31;Ye+=p[Ur]+c[cn],++Be[257+Ur],++Qe[cn],ht=Wr+jt,++Ve}else Me[pt++]=St[Wr],++Be[St[Wr]]}}Fr=K(St,Cr,$r,Me,Be,Qe,Ye,pt,Vt,Wr-Vt,Fr),$r||(Fr=j(Cr,Fr,z))}return R(cr,0,Br+L(Fr)+Hr)},$=function(){for(var Kt=new g(256),St=0;St<256;++St){for(var kt=St,Jt=9;--Jt;)kt=(kt&1&&3988292384)^kt>>>1;Kt[St]=kt}return Kt}(),ne=function(){var St=4294967295;return{p:function(Jt){for(var Br=St,Hr=0;Hr<Jt.length;++Hr)Br=$[Br&255^Jt[Hr]]^Br>>>8;St=Br},d:function(){return St^4294967295}}},J=function(){var St=1,kt=0;return{p:function(Br){for(var Hr=St,$r=kt,Ft=Br.length,cr=0;cr!=Ft;){for(var Cr=Math.min(cr+5552,Ft);cr<Cr;++cr)Hr+=Br[cr],$r+=Hr;Hr%=65521,$r%=65521}St=Hr,kt=$r},d:function(){return(St>>>8<<16|(kt&255)<<8|kt>>>8)+((St&255)<<23)*2}}},ge=function(St,kt,Jt,Br,Hr){return Y(St,kt.level==null?6:kt.level,kt.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(St.length)))*1.5):12+kt.mem,Jt,Br,!Hr)},de=function(St,kt){var Jt={};for(var Br in St)Jt[Br]=St[Br];for(var Br in kt)Jt[Br]=kt[Br];return Jt},Ie=function(St,kt,Jt){for(var Br=St(),Hr=St.toString(),$r=Hr.slice(Hr.indexOf("[")+1,Hr.lastIndexOf("]")).replace(/ /g,"").split(","),Ft=0;Ft<Br.length;++Ft){var cr=Br[Ft],Cr=$r[Ft];if(typeof cr=="function"){kt+=";"+Cr+"=";var Fr=cr.toString();if(cr.prototype)if(Fr.indexOf("[native code]")!=-1){var Wr=Fr.indexOf(" ",8)+1;kt+=Fr.slice(Wr,Fr.indexOf("(",Wr))}else{kt+=Fr;for(var An in cr.prototype)kt+=";"+Cr+".prototype."+An+"="+cr.prototype[An].toString()}else kt+=Fr}else Jt[Cr]=cr}return[kt,Jt]},be=[],Ce=function(St){var kt=[];for(var Jt in St)(St[Jt]instanceof A||St[Jt]instanceof m||St[Jt]instanceof g)&&kt.push((St[Jt]=new St[Jt].constructor(St[Jt])).buffer);return kt},je=function(St,kt,Jt,Br){var Hr;if(!be[Jt]){for(var $r="",Ft={},cr=St.length-1,Cr=0;Cr<cr;++Cr)Hr=Ie(St[Cr],$r,Ft),$r=Hr[0],Ft=Hr[1];be[Jt]=Ie(St[cr],$r,Ft)}var Fr=de({},be[Jt][1]);return f(be[Jt][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+kt.toString()+"}",Jt,Fr,Ce(Fr),Br)},te=function(){return[A,m,g,p,c,h,n,a,E,T,s,v,x,_,I,L,R,k,Ae,se,Ue]},ve=function(){return[A,m,g,p,c,h,i,t,b,y,C,S,s,X,z,v,F,P,W,D,U,H,j,K,L,R,Y,ge,Dt,se]},$e=function(){return[ze,Ee,_e,ne,$]},Le=function(){return[it,Ze]},he=function(){return[mt,_e,J]},ee=function(){return[Je]},se=function(St){return postMessage(St,[St.buffer])},Ue=function(St){return St&&St.size&&new A(St.size)},ue=function(St,kt,Jt,Br,Hr,$r){var Ft=je(Jt,Br,Hr,function(cr,Cr){Ft.terminate(),$r(cr,Cr)});return kt.consume||(St=new A(St)),Ft.postMessage([St,kt],[St.buffer]),function(){Ft.terminate()}},Ne=function(St){return St.ondata=function(kt,Jt){return postMessage([kt,Jt],[kt.buffer])},function(kt){return St.push(kt.data[0],kt.data[1])}},Fe=function(St,kt,Jt,Br,Hr){var $r,Ft=je(St,Br,Hr,function(cr,Cr){cr?(Ft.terminate(),kt.ondata.call(kt,cr)):(Cr[1]&&Ft.terminate(),kt.ondata.call(kt,cr,Cr[0],Cr[1]))});Ft.postMessage(Jt),kt.push=function(cr,Cr){if($r)throw"stream finished";if(!kt.ondata)throw"no stream handler";Ft.postMessage([cr,$r=Cr],[cr.buffer])},kt.terminate=function(){Ft.terminate()}},ae=function(St,kt){return St[kt]|St[kt+1]<<8},ce=function(St,kt){return(St[kt]|St[kt+1]<<8|St[kt+2]<<16)+(St[kt+3]<<23)*2},_e=function(St,kt,Jt){for(;Jt;++kt)St[kt]=Jt,Jt>>>=8},ze=function(St,kt){var Jt=kt.filename;if(St[0]=31,St[1]=139,St[2]=8,St[8]=kt.level<2?4:kt.level==9?2:0,St[9]=3,kt.mtime!=0&&_e(St,4,Math.floor(new Date(kt.mtime||Date.now())/1e3)),Jt){St[3]=8;for(var Br=0;Br<=Jt.length;++Br)St[Br+10]=Jt.charCodeAt(Br)}},it=function(St){if(St[0]!=31||St[1]!=139||St[2]!=8)throw"invalid gzip data";var kt=St[3],Jt=10;kt&4&&(Jt+=St[10]|(St[11]<<8)+2);for(var Br=(kt>>3&1)+(kt>>4&1);Br>0;Br-=!St[Jt++]);return Jt+(kt&2)},Ze=function(St){var kt=St.length;return(St[kt-4]|St[kt-3]<<8|St[kt-2]<<16)+2*(St[kt-1]<<23)},Ee=function(St){return 10+(St.filename&&St.filename.length+1||0)},mt=function(St,kt){var Jt=kt.level,Br=Jt==0?0:Jt<6?1:Jt==9?3:2;St[0]=120,St[1]=Br<<6|(Br?32-2*Br:1)},Je=function(St){if((St[0]&15)!=8||St[0]>>>4>7||(St[0]<<8|St[1])%31)throw"invalid zlib data";if(St[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function rt(Kt,St){return!St&&typeof Kt=="function"&&(St=Kt,Kt={}),this.ondata=St,Kt}var wt=function(){function Kt(St,kt){!kt&&typeof St=="function"&&(kt=St,St={}),this.ondata=kt,this.o=St||{}}return Kt.prototype.p=function(St,kt){this.ondata(ge(St,this.o,0,0,!kt),kt)},Kt.prototype.push=function(St,kt){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=kt,this.p(St,kt||!1)},Kt}(),Ot=function(){function Kt(St,kt){Fe([ve,function(){return[Ne,wt]}],this,rt.call(this,St,kt),function(Jt){var Br=new wt(Jt.data);onmessage=Ne(Br)},6)}return Kt}();function Ct(Kt,St,kt){if(kt||(kt=St,St={}),typeof kt!="function")throw"no callback";return ue(Kt,St,[ve],function(Jt){return se(Dt(Jt.data[0],Jt.data[1]))},0,kt)}function Dt(Kt,St){return St===void 0&&(St={}),ge(Kt,St,0,0)}var Xe=function(){function Kt(St){this.s={},this.p=new A(0),this.ondata=St}return Kt.prototype.e=function(St){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var kt=this.p.length,Jt=new A(kt+St.length);Jt.set(this.p),Jt.set(St,kt),this.p=Jt},Kt.prototype.c=function(St){this.d=this.s.i=St||!1;var kt=this.s.b,Jt=k(this.p,this.o,this.s);this.ondata(R(Jt,kt,this.s.b),this.d),this.o=R(Jt,this.s.b-32768),this.s.b=this.o.length,this.p=R(this.p,this.s.p/8>>0),this.s.p&=7},Kt.prototype.push=function(St,kt){this.e(St),this.c(kt)},Kt}(),q=function(){function Kt(St){this.ondata=St,Fe([te,function(){return[Ne,Xe]}],this,0,function(){var kt=new Xe;onmessage=Ne(kt)},7)}return Kt}();function V(Kt,St,kt){if(kt||(kt=St,St={}),typeof kt!="function")throw"no callback";return ue(Kt,St,[te],function(Jt){return se(Ae(Jt.data[0],Ue(Jt.data[1])))},1,kt)}function Ae(Kt,St){return k(Kt,St)}var xe=function(){function Kt(St,kt){this.c=ne(),this.l=0,this.v=1,wt.call(this,St,kt)}return Kt.prototype.push=function(St,kt){wt.prototype.push.call(this,St,kt)},Kt.prototype.p=function(St,kt){this.c.p(St),this.l+=St.length;var Jt=ge(St,this.o,this.v&&Ee(this.o),kt&&8,!kt);this.v&&(ze(Jt,this.o),this.v=0),kt&&(_e(Jt,Jt.length-8,this.c.d()),_e(Jt,Jt.length-4,this.l)),this.ondata(Jt,kt)},Kt}(),re=function(){function Kt(St,kt){Fe([ve,$e,function(){return[Ne,wt,xe]}],this,rt.call(this,St,kt),function(Jt){var Br=new xe(Jt.data);onmessage=Ne(Br)},8)}return Kt}();function ot(Kt,St,kt){if(kt||(kt=St,St={}),typeof kt!="function")throw"no callback";return ue(Kt,St,[ve,$e,function(){return[bt]}],function(Jt){return se(bt(Jt.data[0],Jt.data[1]))},2,kt)}function bt(Kt,St){St===void 0&&(St={});var kt=ne(),Jt=Kt.length;kt.p(Kt);var Br=ge(Kt,St,Ee(St),8),Hr=Br.length;return ze(Br,St),_e(Br,Hr-8,kt.d()),_e(Br,Hr-4,Jt),Br}var tt=function(){function Kt(St){this.v=1,Xe.call(this,St)}return Kt.prototype.push=function(St,kt){if(Xe.prototype.e.call(this,St),this.v){var Jt=it(this.p);if(Jt>=this.p.length&&!kt)return;this.p=this.p.subarray(Jt),this.v=0}if(kt){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}Xe.prototype.c.call(this,kt)},Kt}(),Tt=function(){function Kt(St){this.ondata=St,Fe([te,Le,function(){return[Ne,Xe,tt]}],this,0,function(){var kt=new tt;onmessage=Ne(kt)},9)}return Kt}();function Gt(Kt,St,kt){if(kt||(kt=St,St={}),typeof kt!="function")throw"no callback";return ue(Kt,St,[te,Le,function(){return[lr]}],function(Jt){return se(lr(Jt.data[0]))},3,kt)}function lr(Kt,St){return k(Kt.subarray(it(Kt),-8),St||new A(Ze(Kt)))}var pr=function(){function Kt(St,kt){this.c=J(),this.v=1,wt.call(this,St,kt)}return Kt.prototype.push=function(St,kt){wt.prototype.push.call(this,St,kt)},Kt.prototype.p=function(St,kt){this.c.p(St);var Jt=ge(St,this.o,this.v&&2,kt&&4,!kt);this.v&&(mt(Jt,this.o),this.v=0),kt&&_e(Jt,Jt.length-4,this.c.d()),this.ondata(Jt,kt)},Kt}(),Rr=function(){function Kt(St,kt){Fe([ve,he,function(){return[Ne,wt,pr]}],this,rt.call(this,St,kt),function(Jt){var Br=new pr(Jt.data);onmessage=Ne(Br)},10)}return Kt}();function xt(Kt,St,kt){if(kt||(kt=St,St={}),typeof kt!="function")throw"no callback";return ue(Kt,St,[ve,he,function(){return[It]}],function(Jt){return se(It(Jt.data[0],Jt.data[1]))},4,kt)}function It(Kt,St){St===void 0&&(St={});var kt=J();kt.p(Kt);var Jt=ge(Kt,St,2,4);return mt(Jt,St),_e(Jt,Jt.length-4,kt.d()),Jt}var At=function(){function Kt(St){this.v=1,Xe.call(this,St)}return Kt.prototype.push=function(St,kt){if(Xe.prototype.e.call(this,St),this.v){if(this.p.length<2&&!kt)return;this.p=this.p.subarray(2),this.v=0}if(kt){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}Xe.prototype.c.call(this,kt)},Kt}(),Zt=function(){function Kt(St){this.ondata=St,Fe([te,ee,function(){return[Ne,Xe,At]}],this,0,function(){var kt=new At;onmessage=Ne(kt)},11)}return Kt}();function br(Kt,St,kt){if(kt||(kt=St,St={}),typeof kt!="function")throw"no callback";return ue(Kt,St,[te,ee,function(){return[Lr]}],function(Jt){return se(Lr(Jt.data[0],Ue(Jt.data[1])))},5,kt)}function Lr(Kt,St){return k((Je(Kt),Kt.subarray(2,-4)),St)}var Jr=function(){function Kt(St){this.G=tt,this.I=Xe,this.Z=At,this.ondata=St}return Kt.prototype.push=function(St,kt){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(St,kt);else{if(this.p&&this.p.length){var Jt=new A(this.p.length+St.length);Jt.set(this.p),Jt.set(St,this.p.length)}else this.p=St;if(this.p.length>2){var Br=this,Hr=function(){Br.ondata.apply(Br,arguments)};this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(Hr):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(Hr):new this.Z(Hr),this.s.push(this.p,kt),this.p=null}}},Kt}(),In=function(){function Kt(St){this.G=Tt,this.I=q,this.Z=Zt,this.ondata=St}return Kt.prototype.push=function(St,kt){Jr.prototype.push.call(this,St,kt)},Kt}();function Gr(Kt,St,kt){if(kt||(kt=St,St={}),typeof kt!="function")throw"no callback";return Kt[0]==31&&Kt[1]==139&&Kt[2]==8?Gt(Kt,St,kt):(Kt[0]&15)!=8||Kt[0]>>4>7||(Kt[0]<<8|Kt[1])%31?V(Kt,St,kt):br(Kt,St,kt)}function Tr(Kt,St){return Kt[0]==31&&Kt[1]==139&&Kt[2]==8?lr(Kt,St):(Kt[0]&15)!=8||Kt[0]>>4>7||(Kt[0]<<8|Kt[1])%31?Ae(Kt,St):Lr(Kt,St)}var fr=function Kt(St,kt,Jt,Br){for(var Hr in St){var $r=St[Hr],Ft=kt+Hr;$r instanceof A?Jt[Ft]=[$r,Br]:Array.isArray($r)?Jt[Ft]=[$r[0],de(Br,$r[1])]:Kt($r,Ft+"/",Jt,Br)}};function vt(Kt,St){var kt=Kt.length;if(!St&&typeof TextEncoder!="undefined")return new TextEncoder().encode(Kt);for(var Jt=new A(Kt.length+(Kt.length>>>1)),Br=0,Hr=function(Fr){Jt[Br++]=Fr},$r=0;$r<kt;++$r){if(Br+5>Jt.length){var Ft=new A(Br+8+(kt-$r<<1));Ft.set(Jt),Jt=Ft}var cr=Kt.charCodeAt($r);cr<128||St?Hr(cr):cr<2048?(Hr(192|cr>>>6),Hr(128|cr&63)):cr>55295&&cr<57344?(cr=65536+(cr&1023<<10)|Kt.charCodeAt(++$r)&1023,Hr(240|cr>>>18),Hr(128|cr>>>12&63),Hr(128|cr>>>6&63),Hr(128|cr&63)):(Hr(224|cr>>>12),Hr(128|cr>>>6&63),Hr(128|cr&63))}return R(Jt,0,Br)}function ft(Kt,St){var kt="";if(!St&&typeof TextDecoder!="undefined")return new TextDecoder().decode(Kt);for(var Jt=0;Jt<Kt.length;){var Br=Kt[Jt++];Br<128||St?kt+=String.fromCharCode(Br):Br<224?kt+=String.fromCharCode((Br&31)<<6|Kt[Jt++]&63):Br<240?kt+=String.fromCharCode((Br&15)<<12|(Kt[Jt++]&63)<<6|Kt[Jt++]&63):(Br=((Br&15)<<18|(Kt[Jt++]&63)<<12|(Kt[Jt++]&63)<<6|Kt[Jt++]&63)-65536,kt+=String.fromCharCode(55296|Br>>10,56320|Br&1023))}return kt}var Te=function(St,kt){return kt+30+ae(St,kt+26)+ae(St,kt+28)},Pe=function(St,kt,Jt){var Br=ae(St,kt+28),Hr=ft(St.subarray(kt+46,kt+46+Br),!(ae(St,kt+8)&2048)),$r=kt+46+Br,Ft=Jt?Ge(St,$r):[ce(St,kt+20),ce(St,kt+24),ce(St,kt+42)],cr=Ft[0],Cr=Ft[1],Fr=Ft[2];return[ae(St,kt+10),cr,Cr,Hr,$r+ae(St,kt+30)+ae(St,kt+32),Fr]},Ge=function(St,kt){for(;ae(St,kt)!=1;kt+=4+ae(St,kt+2));return[ce(St,kt+12),ce(St,kt+4),ce(St,kt+20)]},st=function(St,kt,Jt,Br,Hr,$r,Ft,cr,Cr,Fr){var Wr=$r.length,An=Br.length;_e(St,kt,Cr!=null?33639248:67324752),kt+=4,Cr!=null&&(St[kt]=20,kt+=2),St[kt]=20,kt+=2,St[kt++]=Fr==8&&(cr.level==1?6:cr.level<6?4:cr.level==9?2:0),St[kt++]=Ft&&8,St[kt]=Fr,kt+=2;var bn=new Date(cr.mtime||Date.now()),Sn=bn.getFullYear()-1980;if(Sn<0||Sn>119)throw"date not in range 1980-2099";_e(St,kt,(Sn<<24)*2|bn.getMonth()+1<<21|bn.getDate()<<16|bn.getHours()<<11|bn.getMinutes()<<5|bn.getSeconds()>>>1),kt+=4,_e(St,kt,Jt),_e(St,kt+4,An),_e(St,kt+8,Hr),_e(St,kt+12,Wr),kt+=16,Cr!=null&&(_e(St,kt+=10,Cr),kt+=4),St.set($r,kt),kt+=Wr,Cr==null&&St.set(Br,kt)},Bt=function(St,kt,Jt,Br,Hr){_e(St,kt,101010256),_e(St,kt+8,Jt),_e(St,kt+10,Jt),_e(St,kt+12,Br),_e(St,kt+16,Hr)};function $t(Kt,St,kt){if(kt||(kt=St,St={}),typeof kt!="function")throw"no callback";var Jt={};fr(Kt,"",Jt,St);var Br=Object.keys(Jt),Hr=Br.length,$r=0,Ft=0,cr=Hr,Cr=new Array(Hr),Fr=[],Wr=function(){for(var ei=0;ei<Fr.length;++ei)Fr[ei]()},An=function(){var ei=new A(Ft+22),Jn=$r,ai=Ft-$r;Ft=0;for(var ii=0;ii<cr;++ii){var qe=Cr[ii];try{st(ei,Ft,qe.c,qe.d,qe.m,qe.n,qe.u,qe.p,null,qe.t),st(ei,$r,qe.c,qe.d,qe.m,qe.n,qe.u,qe.p,Ft,qe.t),$r+=46+qe.n.length,Ft+=30+qe.n.length+qe.d.length}catch(Se){return kt(Se,null)}}Bt(ei,$r,Cr.length,ai,Jn),kt(null,ei)};Hr||An();for(var bn=function(ei){var Jn=Br[ei],ai=Jt[Jn],ii=ai[0],qe=ai[1],Se=ne(),Me=ii.length;Se.p(ii);var Be=vt(Jn),Qe=Be.length,Ve=qe.level==0?0:8,Ye=function(ht,Vt){if(ht)Wr(),kt(ht,null);else{var dr=Vt.length;Cr[ei]={t:Ve,d:Vt,m:Me,c:Se.d(),u:Jn.length!=dr,n:Be,p:qe},$r+=30+Qe+dr,Ft+=76+2*Qe+dr,--Hr||An()}};if(Be.length>65535&&Ye("filename too long",null),!Ve)Ye(null,ii);else if(Me<16e4)try{Ye(null,Dt(ii,qe))}catch(pt){Ye(pt,null)}else Fr.push(Ct(ii,qe,Ye))},Sn=0;Sn<cr;++Sn)bn(Sn);return Wr}function Nr(Kt,St){St===void 0&&(St={});var kt={},Jt=[];fr(Kt,"",kt,St);var Br=0,Hr=0;for(var $r in kt){var Ft=kt[$r],cr=Ft[0],Cr=Ft[1],Fr=Cr.level==0?0:8,Wr=vt($r),An=Wr.length;if(Wr.length>65535)throw"filename too long";var bn=Fr?Dt(cr,Cr):cr,Sn=bn.length,kn=ne();kn.p(cr),Jt.push({t:Fr,d:bn,m:cr.length,c:kn.d(),u:$r.length!=An,n:Wr,o:Br,p:Cr}),Br+=30+An+Sn,Hr+=76+2*An+Sn}for(var ei=new A(Hr+22),Jn=Br,ai=Hr-Br,ii=0;ii<Jt.length;++ii){var qe=Jt[ii];st(ei,qe.o,qe.c,qe.d,qe.m,qe.n,qe.u,qe.p,null,qe.t),st(ei,Br,qe.c,qe.d,qe.m,qe.n,qe.u,qe.p,qe.o,qe.t),Br+=46+qe.n.length}return Bt(ei,Br,Jt.length,ai,Jn),ei}function yn(Kt,St){if(typeof St!="function")throw"no callback";for(var kt=[],Jt=function(){for(var bn=0;bn<kt.length;++bn)kt[bn]()},Br={},Hr=Kt.length-22;ce(Kt,Hr)!=101010256;--Hr)if(!Hr||Kt.length-Hr>65558){St("invalid zip file",null);return}var $r=ae(Kt,Hr+8);$r||St(null,{});var Ft=$r,cr=ce(Kt,Hr+16),Cr=cr==4294967295;if(Cr){if(Hr=ce(Kt,Hr-12),ce(Kt,Hr)!=101075792)throw"invalid zip file";Ft=$r=ce(Kt,Hr+32),cr=ce(Kt,Hr+48)}for(var Fr=function(bn){var Sn=Pe(Kt,cr,Cr),kn=Sn[0],ei=Sn[1],Jn=Sn[2],ai=Sn[3],ii=Sn[4],qe=Sn[5],Se=Te(Kt,qe);cr=ii;var Me=function(Ve,Ye){Ve?(Jt(),St(Ve,null)):(Br[ai]=Ye,--$r||St(null,Br))};if(!kn)Me(null,R(Kt,Se,Se+ei));else if(kn==8){var Be=Kt.subarray(Se,Se+ei);if(ei<32e4)try{Me(null,Ae(Be,new A(Jn)))}catch(Qe){Me(Qe,null)}else kt.push(V(Be,{size:Jn},Me))}else Me("unknown compression type "+kn,null)},Wr=0;Wr<Ft;++Wr)Fr(Wr);return Jt}function un(Kt){for(var St={},kt=Kt.length-22;ce(Kt,kt)!=101010256;--kt)if(!kt||Kt.length-kt>65558)throw"invalid zip file";var Jt=ae(Kt,kt+8);if(!Jt)return{};var Br=ce(Kt,kt+16),Hr=Br==4294967295;if(Hr){if(kt=ce(Kt,kt-12),ce(Kt,kt)!=101075792)throw"invalid zip file";Jt=ce(Kt,kt+32),Br=ce(Kt,kt+48)}for(var $r=0;$r<Jt;++$r){var Ft=Pe(Kt,Br,Hr),cr=Ft[0],Cr=Ft[1],Fr=Ft[2],Wr=Ft[3],An=Ft[4],bn=Ft[5],Sn=Te(Kt,bn);if(Br=An,!cr)St[Wr]=R(Kt,Sn,Sn+Cr);else if(cr==8)St[Wr]=Ae(Kt.subarray(Sn,Sn+Cr),new A(Fr));else throw"unknown compression type "+cr}return St}},cxXD:function(M,B,o){},"d+VM":function(M,B,o){"use strict";var w=o("rePB"),f=o("ODXe"),A=o("wx14"),m=o("q1tI"),g=o("U8pU"),p=o("VTBJ"),c=o("Ff2n"),h=o("uciX"),l={adjustX:1,adjustY:1},e=[0,0],n={left:{points:["cr","cl"],overflow:l,offset:[-4,0],targetOffset:e},right:{points:["cl","cr"],overflow:l,offset:[4,0],targetOffset:e},top:{points:["bc","tc"],overflow:l,offset:[0,-4],targetOffset:e},bottom:{points:["tc","bc"],overflow:l,offset:[0,4],targetOffset:e},topLeft:{points:["bl","tl"],overflow:l,offset:[0,-4],targetOffset:e},leftTop:{points:["tr","tl"],overflow:l,offset:[-4,0],targetOffset:e},topRight:{points:["br","tr"],overflow:l,offset:[0,-4],targetOffset:e},rightTop:{points:["tl","tr"],overflow:l,offset:[4,0],targetOffset:e},bottomRight:{points:["tr","br"],overflow:l,offset:[0,4],targetOffset:e},rightBottom:{points:["bl","br"],overflow:l,offset:[4,0],targetOffset:e},bottomLeft:{points:["tl","bl"],overflow:l,offset:[0,4],targetOffset:e},leftBottom:{points:["br","bl"],overflow:l,offset:[-4,0],targetOffset:e}},i=n,r=function(H){var j=H.overlay,K=H.prefixCls,X=H.id,z=H.overlayInnerStyle;return m.createElement("div",{className:"".concat(K,"-inner"),id:X,role:"tooltip",style:z},typeof j=="function"?j():j)},a=r,t=function(H,j){var K=H.overlayClassName,X=H.trigger,z=X===void 0?["hover"]:X,Y=H.mouseEnterDelay,$=Y===void 0?0:Y,ne=H.mouseLeaveDelay,J=ne===void 0?.1:ne,ge=H.overlayStyle,de=H.prefixCls,Ie=de===void 0?"rc-tooltip":de,be=H.children,Ce=H.onVisibleChange,je=H.afterVisibleChange,te=H.transitionName,ve=H.animation,$e=H.motion,Le=H.placement,he=Le===void 0?"right":Le,ee=H.align,se=ee===void 0?{}:ee,Ue=H.destroyTooltipOnHide,ue=Ue===void 0?!1:Ue,Ne=H.defaultVisible,Fe=H.getTooltipContainer,ae=H.overlayInnerStyle,ce=Object(c.a)(H,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),_e=Object(m.useRef)(null);Object(m.useImperativeHandle)(j,function(){return _e.current});var ze=Object(p.a)({},ce);"visible"in H&&(ze.popupVisible=H.visible);var it=function(){var rt=H.arrowContent,wt=rt===void 0?null:rt,Ot=H.overlay,Ct=H.id;return[m.createElement("div",{className:"".concat(Ie,"-arrow"),key:"arrow"},wt),m.createElement(a,{key:"content",prefixCls:Ie,id:Ct,overlay:Ot,overlayInnerStyle:ae})]},Ze=!1,Ee=!1;if(typeof ue=="boolean")Ze=ue;else if(ue&&Object(g.a)(ue)==="object"){var mt=ue.keepParent;Ze=mt===!0,Ee=mt===!1}return m.createElement(h.a,Object(A.a)({popupClassName:K,prefixCls:Ie,popup:it,action:z,builtinPlacements:n,popupPlacement:he,ref:_e,popupAlign:se,getPopupContainer:Fe,onPopupVisibleChange:Ce,afterPopupVisibleChange:je,popupTransitionName:te,popupAnimation:ve,popupMotion:$e,defaultPopupVisible:Ne,destroyPopupOnHide:Ze,autoDestroy:Ee,mouseLeaveDelay:J,popupStyle:ge,mouseEnterDelay:$},ze),be)},s=Object(m.forwardRef)(t),u=s,d=o("6cGi"),v=o("TSYQ"),y=o.n(v),S={adjustX:1,adjustY:1},b={adjustX:0,adjustY:0},E=[0,0];function C(U){return typeof U=="boolean"?U?S:b:Object(A.a)(Object(A.a)({},b),U)}function T(U){var H=U.arrowWidth,j=H===void 0?4:H,K=U.horizontalArrowShift,X=K===void 0?16:K,z=U.verticalArrowShift,Y=z===void 0?8:z,$=U.autoAdjustOverflow,ne={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:[-(X+j),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(Y+j)]},topRight:{points:["br","tc"],offset:[X+j,-4]},rightTop:{points:["tl","cr"],offset:[4,-(Y+j)]},bottomRight:{points:["tr","bc"],offset:[X+j,4]},rightBottom:{points:["bl","cr"],offset:[4,Y+j]},bottomLeft:{points:["tl","bc"],offset:[-(X+j),4]},leftBottom:{points:["br","cl"],offset:[-4,Y+j]}};return Object.keys(ne).forEach(function(J){ne[J]=U.arrowPointAtCenter?Object(A.a)(Object(A.a)({},ne[J]),{overflow:C($),targetOffset:E}):Object(A.a)(Object(A.a)({},n[J]),{overflow:C($)}),ne[J].ignoreShake=!0}),ne}var x=o("kLeg"),_=o("9R2V"),I=o("At67"),L=o("MZCN"),R=function(U,H){var j={};for(var K in U)Object.prototype.hasOwnProperty.call(U,K)&&H.indexOf(K)<0&&(j[K]=U[K]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,K=Object.getOwnPropertySymbols(U);X<K.length;X++)H.indexOf(K[X])<0&&Object.prototype.propertyIsEnumerable.call(U,K[X])&&(j[K[X]]=U[K[X]]);return j},k=function(H,j){var K={},X=Object(A.a)({},H);return j.forEach(function(z){H&&z in H&&(K[z]=H[z],delete X[z])}),{picked:K,omitted:X}},F=new RegExp("^(".concat(I.a.join("|"),")(-inverse)?$"));function P(U,H){var j=U.type;if((j.__ANT_BUTTON===!0||j.__ANT_SWITCH===!0||j.__ANT_CHECKBOX===!0||U.type==="button")&&U.props.disabled){var K=k(U.props.style,["position","left","right","top","bottom","float","display","zIndex"]),X=K.picked,z=K.omitted,Y=Object(A.a)(Object(A.a)({display:"inline-block"},X),{cursor:"not-allowed",width:U.props.block?"100%":null}),$=Object(A.a)(Object(A.a)({},z),{pointerEvents:"none"}),ne=Object(x.a)(U,{style:$,className:null});return m.createElement("span",{style:Y,className:y()(U.props.className,"".concat(H,"-disabled-compatible-wrapper"))},ne)}return U}var W=m.forwardRef(function(U,H){var j,K=m.useContext(_.b),X=K.getPopupContainer,z=K.getPrefixCls,Y=K.direction,$=Object(d.a)(!1,{value:U.visible,defaultValue:U.defaultVisible}),ne=Object(f.a)($,2),J=ne[0],ge=ne[1],de=function(){var Je=U.title,rt=U.overlay;return!Je&&!rt&&Je!==0},Ie=function(Je){var rt;ge(de()?!1:Je),de()||((rt=U.onVisibleChange)===null||rt===void 0||rt.call(U,Je))},be=function(){var Je=U.builtinPlacements,rt=U.arrowPointAtCenter,wt=U.autoAdjustOverflow;return Je||T({arrowPointAtCenter:rt,autoAdjustOverflow:wt})},Ce=function(Je,rt){var wt=be(),Ot=Object.keys(wt).filter(function(Xe){return wt[Xe].points[0]===rt.points[0]&&wt[Xe].points[1]===rt.points[1]})[0];if(!Ot)return;var Ct=Je.getBoundingClientRect(),Dt={top:"50%",left:"50%"};Ot.indexOf("top")>=0||Ot.indexOf("Bottom")>=0?Dt.top="".concat(Ct.height-rt.offset[1],"px"):(Ot.indexOf("Top")>=0||Ot.indexOf("bottom")>=0)&&(Dt.top="".concat(-rt.offset[1],"px")),Ot.indexOf("left")>=0||Ot.indexOf("Right")>=0?Dt.left="".concat(Ct.width-rt.offset[0],"px"):(Ot.indexOf("right")>=0||Ot.indexOf("Left")>=0)&&(Dt.left="".concat(-rt.offset[0],"px")),Je.style.transformOrigin="".concat(Dt.left," ").concat(Dt.top)},je=function(){var Je=U.title,rt=U.overlay;return Je===0?Je:rt||Je||""},te=U.getPopupContainer,ve=R(U,["getPopupContainer"]),$e=U.prefixCls,Le=U.openClassName,he=U.getTooltipContainer,ee=U.overlayClassName,se=U.color,Ue=U.overlayInnerStyle,ue=U.children,Ne=z("tooltip",$e),Fe=z(),ae=J;!("visible"in U)&&de()&&(ae=!1);var ce=P(Object(x.b)(ue)?ue:m.createElement("span",null,ue),Ne),_e=ce.props,ze=y()(_e.className,Object(w.a)({},Le||"".concat(Ne,"-open"),!0)),it=y()(ee,(j={},Object(w.a)(j,"".concat(Ne,"-rtl"),Y==="rtl"),Object(w.a)(j,"".concat(Ne,"-").concat(se),se&&F.test(se)),j)),Ze=Ue,Ee;return se&&!F.test(se)&&(Ze=Object(A.a)(Object(A.a)({},Ue),{background:se}),Ee={background:se}),m.createElement(u,Object(A.a)({},ve,{prefixCls:Ne,overlayClassName:it,getTooltipContainer:te||he||X,ref:H,builtinPlacements:be(),overlay:je(),visible:ae,onVisibleChange:Ie,onPopupAlign:Ce,overlayInnerStyle:Ze,arrowContent:m.createElement("span",{className:"".concat(Ne,"-arrow-content"),style:Ee}),motion:{motionName:Object(L.b)(Fe,"zoom-big-fast",U.transitionName),motionDeadline:1e3}}),ae?Object(x.a)(ce,{className:ze}):ce)});W.displayName="Tooltip",W.defaultProps={placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var D=B.a=W},d4KN:function(M,B,o){var w=o("ProS"),f=o("bYtY");function A(m,g){f.each(g,function(p){p.update="updateView",w.registerAction(p,function(c,h){var l={};return h.eachComponent({mainType:"series",subType:m,query:c},function(e){e[p.method]&&e[p.method](c.name,c.dataIndex);var n=e.getData();n.each(function(i){var r=n.getName(i);l[r]=e.isSelected(r)||!1})}),{name:c.name,selected:l,seriesId:c.seriesId}})})}M.exports=A},dBmv:function(M,B,o){var w=o("ProS"),f=o("szbU");o("vF/C"),o("qwVE"),o("MHoB"),o("PNag"),o("1u/T"),w.registerPreprocessor(f)},"dF/Y":function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="DownloadOutlined";var c=B.a=f.forwardRef(p)},dMvE:function(M,B){var o={linear:function(A){return A},quadraticIn:function(A){return A*A},quadraticOut:function(A){return A*(2-A)},quadraticInOut:function(A){return(A*=2)<1?.5*A*A:-.5*(--A*(A-2)-1)},cubicIn:function(A){return A*A*A},cubicOut:function(A){return--A*A*A+1},cubicInOut:function(A){return(A*=2)<1?.5*A*A*A:.5*((A-=2)*A*A+2)},quarticIn:function(A){return A*A*A*A},quarticOut:function(A){return 1- --A*A*A*A},quarticInOut:function(A){return(A*=2)<1?.5*A*A*A*A:-.5*((A-=2)*A*A*A-2)},quinticIn:function(A){return A*A*A*A*A},quinticOut:function(A){return--A*A*A*A*A+1},quinticInOut:function(A){return(A*=2)<1?.5*A*A*A*A*A:.5*((A-=2)*A*A*A*A+2)},sinusoidalIn:function(A){return 1-Math.cos(A*Math.PI/2)},sinusoidalOut:function(A){return Math.sin(A*Math.PI/2)},sinusoidalInOut:function(A){return .5*(1-Math.cos(Math.PI*A))},exponentialIn:function(A){return A===0?0:Math.pow(1024,A-1)},exponentialOut:function(A){return A===1?1:1-Math.pow(2,-10*A)},exponentialInOut:function(A){return A===0?0:A===1?1:(A*=2)<1?.5*Math.pow(1024,A-1):.5*(-Math.pow(2,-10*(A-1))+2)},circularIn:function(A){return 1-Math.sqrt(1-A*A)},circularOut:function(A){return Math.sqrt(1- --A*A)},circularInOut:function(A){return(A*=2)<1?-.5*(Math.sqrt(1-A*A)-1):.5*(Math.sqrt(1-(A-=2)*A)+1)},elasticIn:function(A){var m,g=.1,p=.4;return A===0?0:A===1?1:(!g||g<1?(g=1,m=p/4):m=p*Math.asin(1/g)/(2*Math.PI),-(g*Math.pow(2,10*(A-=1))*Math.sin((A-m)*(2*Math.PI)/p)))},elasticOut:function(A){var m,g=.1,p=.4;return A===0?0:A===1?1:(!g||g<1?(g=1,m=p/4):m=p*Math.asin(1/g)/(2*Math.PI),g*Math.pow(2,-10*A)*Math.sin((A-m)*(2*Math.PI)/p)+1)},elasticInOut:function(A){var m,g=.1,p=.4;return A===0?0:A===1?1:(!g||g<1?(g=1,m=p/4):m=p*Math.asin(1/g)/(2*Math.PI),(A*=2)<1?-.5*(g*Math.pow(2,10*(A-=1))*Math.sin((A-m)*(2*Math.PI)/p)):g*Math.pow(2,-10*(A-=1))*Math.sin((A-m)*(2*Math.PI)/p)*.5+1)},backIn:function(A){var m=1.70158;return A*A*((m+1)*A-m)},backOut:function(A){var m=1.70158;return--A*A*((m+1)*A+m)+1},backInOut:function(A){var m=1.70158*1.525;return(A*=2)<1?.5*(A*A*((m+1)*A-m)):.5*((A-=2)*A*((m+1)*A+m)+2)},bounceIn:function(A){return 1-o.bounceOut(1-A)},bounceOut:function(A){return A<1/2.75?7.5625*A*A:A<2/2.75?7.5625*(A-=1.5/2.75)*A+.75:A<2.5/2.75?7.5625*(A-=2.25/2.75)*A+.9375:7.5625*(A-=2.625/2.75)*A+.984375},bounceInOut:function(A){return A<.5?o.bounceIn(A*2)*.5:o.bounceOut(A*2-1)*.5+.5}},w=o;M.exports=w},dmGj:function(M,B,o){var w=o("DEFe"),f=o("ProS"),A=f.extendComponentView({type:"geo",init:function(m,g){var p=new w(g,!0);this._mapDraw=p,this.group.add(p.group)},render:function(m,g,p,c){if(c&&c.type==="geoToggleSelect"&&c.from===this.uid)return;var h=this._mapDraw;m.get("show")?h.draw(m,g,p,this,c):this._mapDraw.group.removeAll(),this.group.silent=m.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});M.exports=A},dnwI:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("YH21"),m=o("Kagy"),g=o("IUWy"),p=m.toolbox.dataView,c=new Array(60).join("-"),h=" ";function l(b){var E={},C=[],T=[];return b.eachRawSeries(function(x){var _=x.coordinateSystem;if(_&&(_.type==="cartesian2d"||_.type==="polar")){var I=_.getBaseAxis();if(I.type==="category"){var L=I.dim+"_"+I.index;E[L]||(E[L]={categoryAxis:I,valueAxis:_.getOtherAxis(I),series:[]},T.push({axisDim:I.dim,axisIndex:I.index})),E[L].series.push(x)}else C.push(x)}else C.push(x)}),{seriesGroupByCategoryAxis:E,other:C,meta:T}}function e(b){var E=[];return f.each(b,function(C,T){var x=C.categoryAxis,_=C.valueAxis,I=_.dim,L=[" "].concat(f.map(C.series,function(D){return D.name})),R=[x.model.getCategories()];f.each(C.series,function(D){R.push(D.getRawData().mapArray(I,function(U){return U}))});for(var k=[L.join(h)],F=0;F<R[0].length;F++){for(var P=[],W=0;W<R.length;W++)P.push(R[W][F]);k.push(P.join(h))}E.push(k.join(`
|
|
|
`))}),E.join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`)}function n(b){return f.map(b,function(E){var C=E.getRawData(),T=[E.name],x=[];return C.each(C.dimensions,function(){for(var _=arguments.length,I=arguments[_-1],L=C.getName(I),R=0;R<_-1;R++)x[R]=arguments[R];T.push((L?L+h:"")+x.join(h))}),T.join(`
|
|
|
`)}).join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`)}function i(b){var E=l(b);return{value:f.filter([e(E.seriesGroupByCategoryAxis),n(E.other)],function(C){return C.replace(/[\n\t\s]/g,"")}).join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`),meta:E.meta}}function r(b){return b.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function a(b){var E=b.slice(0,b.indexOf(`
|
|
|
`));if(E.indexOf(h)>=0)return!0}var t=new RegExp("["+h+"]+","g");function s(b){for(var E=b.split(/\n+/g),C=r(E.shift()).split(t),T=[],x=f.map(C,function(R){return{name:R,data:[]}}),_=0;_<E.length;_++){var I=r(E[_]).split(t);T.push(I.shift());for(var L=0;L<I.length;L++)x[L]&&(x[L].data[_]=I[L])}return{series:x,categories:T}}function u(b){for(var E=b.split(/\n+/g),C=r(E.shift()),T=[],x=0;x<E.length;x++){var _=r(E[x]).split(t),I="",L,R=!1;isNaN(_[0])?(R=!0,I=_[0],_=_.slice(1),T[x]={name:I,value:[]},L=T[x].value):L=T[x]=[];for(var k=0;k<_.length;k++)L.push(+_[k]);L.length===1&&(R?T[x].value=L[0]:T[x]=L[0])}return{name:C,data:T}}function d(b,E){var C=b.split(new RegExp(`
|
|
|
*`+c+`
|
|
|
*`,"g")),T={series:[]};return f.each(C,function(x,_){if(a(x)){var I=s(x),L=E[_],R=L.axisDim+"Axis";L&&(T[R]=T[R]||[],T[R][L.axisIndex]={data:I.categories},T.series=T.series.concat(I.series))}else{var I=u(x);T.series.push(I)}}),T}function v(b){this._dom=null,this.model=b}v.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(p.title),lang:f.clone(p.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},v.prototype.onclick=function(b,E){var C=E.getDom(),T=this.model;this._dom&&C.removeChild(this._dom);var x=document.createElement("div");x.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",x.style.backgroundColor=T.get("backgroundColor")||"#fff";var _=document.createElement("h4"),I=T.get("lang")||[];_.innerHTML=I[0]||T.get("title"),_.style.cssText="margin: 10px 20px;",_.style.color=T.get("textColor");var L=document.createElement("div"),R=document.createElement("textarea");L.style.cssText="display:block;width:100%;overflow:auto;";var k=T.get("optionToContent"),F=T.get("contentToOption"),P=i(b);if(typeof k=="function"){var W=k(E.getOption());typeof W=="string"?L.innerHTML=W:f.isDom(W)&&L.appendChild(W)}else L.appendChild(R),R.readOnly=T.get("readOnly"),R.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",R.style.color=T.get("textColor"),R.style.borderColor=T.get("textareaBorderColor"),R.style.backgroundColor=T.get("textareaColor"),R.value=P.value;var D=P.meta,U=document.createElement("div");U.style.cssText="position:absolute;bottom:0;left:0;right:0;";var H="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",j=document.createElement("div"),K=document.createElement("div");H+=";background-color:"+T.get("buttonColor"),H+=";color:"+T.get("buttonTextColor");var X=this;function z(){C.removeChild(x),X._dom=null}A.addEventListener(j,"click",z),A.addEventListener(K,"click",function(){var Y;try{typeof F=="function"?Y=F(L,E.getOption()):Y=d(R.value,D)}catch($){throw z(),new Error("Data view format error "+$)}Y&&E.dispatchAction({type:"changeDataView",newOption:Y}),z()}),j.innerHTML=I[1],K.innerHTML=I[2],K.style.cssText=H,j.style.cssText=H,!T.get("readOnly")&&U.appendChild(K),U.appendChild(j),x.appendChild(_),x.appendChild(L),x.appendChild(U),L.style.height=C.clientHeight-80+"px",C.appendChild(x),this._dom=x},v.prototype.remove=function(b,E){this._dom&&E.getDom().removeChild(this._dom)},v.prototype.dispose=function(b,E){this.remove(b,E)};function y(b,E){return f.map(b,function(C,T){var x=E&&E[T];return f.isObject(x)&&!f.isArray(x)?(f.isObject(C)&&!f.isArray(C)&&(C=C.value),f.defaults({value:C},x)):C})}g.register("dataView",v),w.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(b,E){var C=[];f.each(b.newOption.series,function(T){var x=E.getSeriesByName(T.name)[0];if(!x)C.push(f.extend({type:"scatter"},T));else{var _=x.get("data");C.push({name:T.name,data:y(T.data,_)})}}),E.mergeOption(f.defaults({series:C},b.newOption))});var S=v;M.exports=S},dqUG:function(M,B,o){var w=o("Gev7"),f=o("bYtY"),A=o("6GrX"),m=o("pzxd"),g=o("gut8"),p=g.ContextCachedBy,c=function(e){w.call(this,e)};c.prototype={constructor:c,type:"text",brush:function(e,n){var i=this.style;this.__dirty&&m.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var r=i.text;if(r!=null&&(r+=""),!m.needDrawText(r,i)){e.__attrCachedBy=p.NONE;return}this.setTransform(e),m.renderText(this,e,r,i,null,n),this.restoreTransform(e)},getBoundingRect:function(){var e=this.style;if(this.__dirty&&m.normalizeTextStyle(e,!0),!this._rect){var n=e.text;n!=null?n+="":n="";var i=A.getBoundingRect(e.text+"",e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich);if(i.x+=e.x||0,i.y+=e.y||0,m.getStroke(e.textStroke,e.textStrokeWidth)){var r=e.textStrokeWidth;i.x-=r/2,i.y-=r/2,i.width+=r,i.height+=r}this._rect=i}return this._rect}},f.inherits(c,w);var h=c;M.exports=h},dt0z:function(M,B,o){var w=o("zoYe");function f(A){return A==null?"":w(A)}M.exports=f},dtIV:function(M,B,o){"use strict";o.r(B),function(w){o.d(B,"AcroForm",function(){return xe}),o.d(B,"AcroFormAppearance",function(){return V}),o.d(B,"AcroFormButton",function(){return rt}),o.d(B,"AcroFormCheckBox",function(){return Dt}),o.d(B,"AcroFormChoiceField",function(){return Ze}),o.d(B,"AcroFormComboBox",function(){return mt}),o.d(B,"AcroFormEditBox",function(){return Je}),o.d(B,"AcroFormListBox",function(){return Ee}),o.d(B,"AcroFormPasswordField",function(){return q}),o.d(B,"AcroFormPushButton",function(){return wt}),o.d(B,"AcroFormRadioButton",function(){return Ot}),o.d(B,"AcroFormTextField",function(){return Xe}),o.d(B,"GState",function(){return W}),o.d(B,"ShadingPattern",function(){return U}),o.d(B,"TilingPattern",function(){return H}),o.d(B,"jsPDF",function(){return j});var f=o("g5aB"),A=o.n(f),m=o("crp1");/** @license
|
|
|
*
|
|
|
* jsPDF - PDF Document creation from JavaScript
|
|
|
* Version 2.4.0 Built on 2021-09-14T10:30:30.230Z
|
|
|
* CommitID 00000000
|
|
|
*
|
|
|
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
|
* 2015-2021 yWorks GmbH, http://www.yworks.com
|
|
|
* 2015-2021 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
|
|
|
* 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
|
|
|
* 2010 Aaron Spike, https://github.com/acspike
|
|
|
* 2012 Willow Systems Corporation, https://github.com/willowsystems
|
|
|
* 2012 Pablo Hess, https://github.com/pablohess
|
|
|
* 2012 Florian Jenett, https://github.com/fjenett
|
|
|
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
|
|
* 2013 Youssef Beddad, https://github.com/lifof
|
|
|
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
|
|
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
|
|
* 2013 Jeremy Morel, https://github.com/jmorel
|
|
|
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
|
|
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
|
* 2014 James Makes, https://github.com/dollaruw
|
|
|
* 2014 Diego Casorran, https://github.com/diegocr
|
|
|
* 2014 Steven Spungin, https://github.com/Flamenco
|
|
|
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
|
|
*
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
|
* a copy of this software and associated documentation files (the
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|
|
* the following conditions:
|
|
|
*
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
* included in all copies or substantial portions of the Software.
|
|
|
*
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
*
|
|
|
* Contributor(s):
|
|
|
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
|
* kim3er, mfo, alnorth, Flamenco
|
|
|
*/var g=function(){return typeof window!="undefined"?window:typeof w!="undefined"?w:typeof self!="undefined"?self:this}();function p(){g.console&&typeof g.console.log=="function"&&g.console.log.apply(g.console,arguments)}var c={log:p,warn:function(Se){g.console&&(typeof g.console.warn=="function"?g.console.warn.apply(g.console,arguments):p.call(null,arguments))},error:function(Se){g.console&&(typeof g.console.error=="function"?g.console.error.apply(g.console,arguments):p(Se))}};function h(qe,Se,Me){var Be=new XMLHttpRequest;Be.open("GET",qe),Be.responseType="blob",Be.onload=function(){r(Be.response,Se,Me)},Be.onerror=function(){c.error("could not download file")},Be.send()}function l(qe){var Se=new XMLHttpRequest;Se.open("HEAD",qe,!1);try{Se.send()}catch(Me){}return Se.status>=200&&Se.status<=299}function e(qe){try{qe.dispatchEvent(new MouseEvent("click"))}catch(Me){var Se=document.createEvent("MouseEvents");Se.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),qe.dispatchEvent(Se)}}var n,i,r=g.saveAs||((typeof window=="undefined"?"undefined":A()(window))!=="object"||window!==g?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(qe,Se,Me){var Be=g.URL||g.webkitURL,Qe=document.createElement("a");Se=Se||qe.name||"download",Qe.download=Se,Qe.rel="noopener",typeof qe=="string"?(Qe.href=qe,Qe.origin!==location.origin?l(Qe.href)?h(qe,Se,Me):e(Qe,Qe.target="_blank"):e(Qe)):(Qe.href=Be.createObjectURL(qe),setTimeout(function(){Be.revokeObjectURL(Qe.href)},4e4),setTimeout(function(){e(Qe)},0))}:"msSaveOrOpenBlob"in navigator?function(qe,Se,Me){if(Se=Se||qe.name||"download",typeof qe=="string")if(l(qe))h(qe,Se,Me);else{var Be=document.createElement("a");Be.href=qe,Be.target="_blank",setTimeout(function(){e(Be)})}else navigator.msSaveOrOpenBlob(function(Qe,Ve){return Ve===void 0?Ve={autoBom:!1}:A()(Ve)!=="object"&&(c.warn("Deprecated: Expected third argument to be a object"),Ve={autoBom:!Ve}),Ve.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Qe.type)?new Blob([String.fromCharCode(65279),Qe],{type:Qe.type}):Qe}(qe,Me),Se)}:function(qe,Se,Me,Be){if((Be=Be||open("","_blank"))&&(Be.document.title=Be.document.body.innerText="downloading..."),typeof qe=="string")return h(qe,Se,Me);var Qe=qe.type==="application/octet-stream",Ve=/constructor/i.test(g.HTMLElement)||g.safari,Ye=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ye||Qe&&Ve)&&(typeof FileReader=="undefined"?"undefined":A()(FileReader))==="object"){var pt=new FileReader;pt.onloadend=function(){var dr=pt.result;dr=Ye?dr:dr.replace(/^data:[^;]*;/,"data:attachment/file;"),Be?Be.location.href=dr:location=dr,Be=null},pt.readAsDataURL(qe)}else{var ht=g.URL||g.webkitURL,Vt=ht.createObjectURL(qe);Be?Be.location=Vt:location.href=Vt,Be=null,setTimeout(function(){ht.revokeObjectURL(Vt)},4e4)}});/**
|
|
|
* A class to parse color values
|
|
|
* @author Stoyan Stefanov <sstoo@gmail.com>
|
|
|
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
|
|
|
* @license Use it if you like it
|
|
|
*/function a(qe){var Se;qe=qe||"",this.ok=!1,qe.charAt(0)=="#"&&(qe=qe.substr(1,6)),qe={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"}[qe=(qe=qe.replace(/ /g,"")).toLowerCase()]||qe;for(var Me=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(ht){return[parseInt(ht[1]),parseInt(ht[2]),parseInt(ht[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(ht){return[parseInt(ht[1],16),parseInt(ht[2],16),parseInt(ht[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(ht){return[parseInt(ht[1]+ht[1],16),parseInt(ht[2]+ht[2],16),parseInt(ht[3]+ht[3],16)]}}],Be=0;Be<Me.length;Be++){var Qe=Me[Be].re,Ve=Me[Be].process,Ye=Qe.exec(qe);Ye&&(Se=Ve(Ye),this.r=Se[0],this.g=Se[1],this.b=Se[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var pt=this.r.toString(16),ht=this.g.toString(16),Vt=this.b.toString(16);return pt.length==1&&(pt="0"+pt),ht.length==1&&(ht="0"+ht),Vt.length==1&&(Vt="0"+Vt),"#"+pt+ht+Vt}}/**
|
|
|
* @license
|
|
|
* Joseph Myers does not specify a particular license for his work.
|
|
|
*
|
|
|
* Author: Joseph Myers
|
|
|
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
|
|
|
*
|
|
|
* Modified by: Owen Leong
|
|
|
*/function t(qe,Se){var Me=qe[0],Be=qe[1],Qe=qe[2],Ve=qe[3];Me=u(Me,Be,Qe,Ve,Se[0],7,-680876936),Ve=u(Ve,Me,Be,Qe,Se[1],12,-389564586),Qe=u(Qe,Ve,Me,Be,Se[2],17,606105819),Be=u(Be,Qe,Ve,Me,Se[3],22,-1044525330),Me=u(Me,Be,Qe,Ve,Se[4],7,-176418897),Ve=u(Ve,Me,Be,Qe,Se[5],12,1200080426),Qe=u(Qe,Ve,Me,Be,Se[6],17,-1473231341),Be=u(Be,Qe,Ve,Me,Se[7],22,-45705983),Me=u(Me,Be,Qe,Ve,Se[8],7,1770035416),Ve=u(Ve,Me,Be,Qe,Se[9],12,-1958414417),Qe=u(Qe,Ve,Me,Be,Se[10],17,-42063),Be=u(Be,Qe,Ve,Me,Se[11],22,-1990404162),Me=u(Me,Be,Qe,Ve,Se[12],7,1804603682),Ve=u(Ve,Me,Be,Qe,Se[13],12,-40341101),Qe=u(Qe,Ve,Me,Be,Se[14],17,-1502002290),Me=d(Me,Be=u(Be,Qe,Ve,Me,Se[15],22,1236535329),Qe,Ve,Se[1],5,-165796510),Ve=d(Ve,Me,Be,Qe,Se[6],9,-1069501632),Qe=d(Qe,Ve,Me,Be,Se[11],14,643717713),Be=d(Be,Qe,Ve,Me,Se[0],20,-373897302),Me=d(Me,Be,Qe,Ve,Se[5],5,-701558691),Ve=d(Ve,Me,Be,Qe,Se[10],9,38016083),Qe=d(Qe,Ve,Me,Be,Se[15],14,-660478335),Be=d(Be,Qe,Ve,Me,Se[4],20,-405537848),Me=d(Me,Be,Qe,Ve,Se[9],5,568446438),Ve=d(Ve,Me,Be,Qe,Se[14],9,-1019803690),Qe=d(Qe,Ve,Me,Be,Se[3],14,-187363961),Be=d(Be,Qe,Ve,Me,Se[8],20,1163531501),Me=d(Me,Be,Qe,Ve,Se[13],5,-1444681467),Ve=d(Ve,Me,Be,Qe,Se[2],9,-51403784),Qe=d(Qe,Ve,Me,Be,Se[7],14,1735328473),Me=v(Me,Be=d(Be,Qe,Ve,Me,Se[12],20,-1926607734),Qe,Ve,Se[5],4,-378558),Ve=v(Ve,Me,Be,Qe,Se[8],11,-2022574463),Qe=v(Qe,Ve,Me,Be,Se[11],16,1839030562),Be=v(Be,Qe,Ve,Me,Se[14],23,-35309556),Me=v(Me,Be,Qe,Ve,Se[1],4,-1530992060),Ve=v(Ve,Me,Be,Qe,Se[4],11,1272893353),Qe=v(Qe,Ve,Me,Be,Se[7],16,-155497632),Be=v(Be,Qe,Ve,Me,Se[10],23,-1094730640),Me=v(Me,Be,Qe,Ve,Se[13],4,681279174),Ve=v(Ve,Me,Be,Qe,Se[0],11,-358537222),Qe=v(Qe,Ve,Me,Be,Se[3],16,-722521979),Be=v(Be,Qe,Ve,Me,Se[6],23,76029189),Me=v(Me,Be,Qe,Ve,Se[9],4,-640364487),Ve=v(Ve,Me,Be,Qe,Se[12],11,-421815835),Qe=v(Qe,Ve,Me,Be,Se[15],16,530742520),Me=y(Me,Be=v(Be,Qe,Ve,Me,Se[2],23,-995338651),Qe,Ve,Se[0],6,-198630844),Ve=y(Ve,Me,Be,Qe,Se[7],10,1126891415),Qe=y(Qe,Ve,Me,Be,Se[14],15,-1416354905),Be=y(Be,Qe,Ve,Me,Se[5],21,-57434055),Me=y(Me,Be,Qe,Ve,Se[12],6,1700485571),Ve=y(Ve,Me,Be,Qe,Se[3],10,-1894986606),Qe=y(Qe,Ve,Me,Be,Se[10],15,-1051523),Be=y(Be,Qe,Ve,Me,Se[1],21,-2054922799),Me=y(Me,Be,Qe,Ve,Se[8],6,1873313359),Ve=y(Ve,Me,Be,Qe,Se[15],10,-30611744),Qe=y(Qe,Ve,Me,Be,Se[6],15,-1560198380),Be=y(Be,Qe,Ve,Me,Se[13],21,1309151649),Me=y(Me,Be,Qe,Ve,Se[4],6,-145523070),Ve=y(Ve,Me,Be,Qe,Se[11],10,-1120210379),Qe=y(Qe,Ve,Me,Be,Se[2],15,718787259),Be=y(Be,Qe,Ve,Me,Se[9],21,-343485551),qe[0]=I(Me,qe[0]),qe[1]=I(Be,qe[1]),qe[2]=I(Qe,qe[2]),qe[3]=I(Ve,qe[3])}function s(qe,Se,Me,Be,Qe,Ve){return Se=I(I(Se,qe),I(Be,Ve)),I(Se<<Qe|Se>>>32-Qe,Me)}function u(qe,Se,Me,Be,Qe,Ve,Ye){return s(Se&Me|~Se&Be,qe,Se,Qe,Ve,Ye)}function d(qe,Se,Me,Be,Qe,Ve,Ye){return s(Se&Be|Me&~Be,qe,Se,Qe,Ve,Ye)}function v(qe,Se,Me,Be,Qe,Ve,Ye){return s(Se^Me^Be,qe,Se,Qe,Ve,Ye)}function y(qe,Se,Me,Be,Qe,Ve,Ye){return s(Me^(Se|~Be),qe,Se,Qe,Ve,Ye)}function S(qe){var Se,Me=qe.length,Be=[1732584193,-271733879,-1732584194,271733878];for(Se=64;Se<=qe.length;Se+=64)t(Be,b(qe.substring(Se-64,Se)));qe=qe.substring(Se-64);var Qe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(Se=0;Se<qe.length;Se++)Qe[Se>>2]|=qe.charCodeAt(Se)<<(Se%4<<3);if(Qe[Se>>2]|=128<<(Se%4<<3),Se>55)for(t(Be,Qe),Se=0;Se<16;Se++)Qe[Se]=0;return Qe[14]=8*Me,t(Be,Qe),Be}function b(qe){var Se,Me=[];for(Se=0;Se<64;Se+=4)Me[Se>>2]=qe.charCodeAt(Se)+(qe.charCodeAt(Se+1)<<8)+(qe.charCodeAt(Se+2)<<16)+(qe.charCodeAt(Se+3)<<24);return Me}n=g.atob.bind(g),i=g.btoa.bind(g);var E="0123456789abcdef".split("");function C(qe){for(var Se="",Me=0;Me<4;Me++)Se+=E[qe>>8*Me+4&15]+E[qe>>8*Me&15];return Se}function T(qe){return String.fromCharCode((255&qe)>>0,(65280&qe)>>8,(16711680&qe)>>16,(4278190080&qe)>>24)}function x(qe){return S(qe).map(T).join("")}var _=function(qe){for(var Se=0;Se<qe.length;Se++)qe[Se]=C(qe[Se]);return qe.join("")}(S("hello"))!="5d41402abc4b2a76b9719d911017c592";function I(qe,Se){if(_){var Me=(65535&qe)+(65535&Se);return(qe>>16)+(Se>>16)+(Me>>16)<<16|65535&Me}return qe+Se&4294967295}/**
|
|
|
* @license
|
|
|
* FPDF is released under a permissive license: there is no usage restriction.
|
|
|
* You may embed it freely in your application (commercial or not), with or
|
|
|
* without modifications.
|
|
|
*
|
|
|
* Reference: http://www.fpdf.org/en/script/script37.php
|
|
|
*/function L(qe,Se){var Me,Be,Qe,Ve;if(qe!==Me){for(var Ye=(Qe=qe,Ve=1+(256/qe.length>>0),new Array(Ve+1).join(Qe)),pt=[],ht=0;ht<256;ht++)pt[ht]=ht;var Vt=0;for(ht=0;ht<256;ht++){var dr=pt[ht];Vt=(Vt+dr+Ye.charCodeAt(ht))%256,pt[ht]=pt[Vt],pt[Vt]=dr}Me=qe,Be=pt}else pt=Be;var tr=Se.length,ir=0,_t=0,gr="";for(ht=0;ht<tr;ht++)_t=(_t+(dr=pt[ir=(ir+1)%256]))%256,pt[ir]=pt[_t],pt[_t]=dr,Ye=pt[(pt[ir]+pt[_t])%256],gr+=String.fromCharCode(Se.charCodeAt(ht)^Ye);return gr}/**
|
|
|
* @license
|
|
|
* Licensed under the MIT License.
|
|
|
* http://opensource.org/licenses/mit-license
|
|
|
* Author: Owen Leong (@owenl131)
|
|
|
* Date: 15 Oct 2020
|
|
|
* References:
|
|
|
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
|
|
|
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
|
|
|
* http://www.fpdf.org/en/script/script37.php
|
|
|
*/var R={print:4,modify:8,copy:16,"annot-forms":32};function k(qe,Se,Me,Be){this.v=1,this.r=2;var Qe=192;qe.forEach(function(pt){if(R.perm!==void 0)throw new Error("Invalid permission: "+pt);Qe+=R[pt]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var Ve=(Se+this.padding).substr(0,32),Ye=(Me+this.padding).substr(0,32);this.O=this.processOwnerPassword(Ve,Ye),this.P=-(1+(255^Qe)),this.encryptionKey=x(Ve+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(Be)).substr(0,5),this.U=L(this.encryptionKey,this.padding)}function F(qe){if(/[^\u0000-\u00ff]/.test(qe))throw new Error("Invalid PDF Name Object: "+qe+", Only accept ASCII characters.");for(var Se="",Me=qe.length,Be=0;Be<Me;Be++){var Qe=qe.charCodeAt(Be);Qe<33||Qe===35||Qe===37||Qe===40||Qe===41||Qe===47||Qe===60||Qe===62||Qe===91||Qe===93||Qe===123||Qe===125||Qe>126?Se+="#"+("0"+Qe.toString(16)).slice(-2):Se+=qe[Be]}return Se}function P(qe){if(A()(qe)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Se={};this.subscribe=function(Me,Be,Qe){if(Qe=Qe||!1,typeof Me!="string"||typeof Be!="function"||typeof Qe!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Se.hasOwnProperty(Me)||(Se[Me]={});var Ve=Math.random().toString(35);return Se[Me][Ve]=[Be,!!Qe],Ve},this.unsubscribe=function(Me){for(var Be in Se)if(Se[Be][Me])return delete Se[Be][Me],Object.keys(Se[Be]).length===0&&delete Se[Be],!0;return!1},this.publish=function(Me){if(Se.hasOwnProperty(Me)){var Be=Array.prototype.slice.call(arguments,1),Qe=[];for(var Ve in Se[Me]){var Ye=Se[Me][Ve];try{Ye[0].apply(qe,Be)}catch(pt){g.console&&c.error("jsPDF PubSub Error",pt.message,pt)}Ye[1]&&Qe.push(Ve)}Qe.length&&Qe.forEach(this.unsubscribe)}},this.getTopics=function(){return Se}}function W(qe){if(!(this instanceof W))return new W(qe);var Se="opacity,stroke-opacity".split(",");for(var Me in qe)qe.hasOwnProperty(Me)&&Se.indexOf(Me)>=0&&(this[Me]=qe[Me]);this.id="",this.objectNumber=-1}function D(qe,Se){this.gState=qe,this.matrix=Se,this.id="",this.objectNumber=-1}function U(qe,Se,Me,Be,Qe){if(!(this instanceof U))return new U(qe,Se,Me,Be,Qe);this.type=qe==="axial"?2:3,this.coords=Se,this.colors=Me,D.call(this,Be,Qe)}function H(qe,Se,Me,Be,Qe){if(!(this instanceof H))return new H(qe,Se,Me,Be,Qe);this.boundingBox=qe,this.xStep=Se,this.yStep=Me,this.stream="",this.cloneIndex=0,D.call(this,Be,Qe)}function j(qe){var Se,Me=typeof arguments[0]=="string"?arguments[0]:"p",Be=arguments[1],Qe=arguments[2],Ve=arguments[3],Ye=[],pt=1,ht=16,Vt="S",dr=null;A()(qe=qe||{})==="object"&&(Me=qe.orientation,Be=qe.unit||Be,Qe=qe.format||Qe,Ve=qe.compress||qe.compressPdf||Ve,(dr=qe.encryption||null)!==null&&(dr.userPassword=dr.userPassword||"",dr.ownerPassword=dr.ownerPassword||"",dr.userPermissions=dr.userPermissions||[]),pt=typeof qe.userUnit=="number"?Math.abs(qe.userUnit):1,qe.precision!==void 0&&(Se=qe.precision),qe.floatPrecision!==void 0&&(ht=qe.floatPrecision),Vt=qe.defaultPathOperation||"S"),Ye=qe.filters||(Ve===!0?["FlateEncode"]:Ye),Be=Be||"mm",Me=(""+(Me||"P")).toLowerCase();var tr=qe.putOnlyUsedFonts||!1,ir={},_t={internal:{},__private__:{}};_t.__private__.PubSub=P;var gr="1.3",jt=_t.__private__.getPdfVersion=function(){return gr};_t.__private__.setPdfVersion=function(yt){gr=yt};var Sr={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]};_t.__private__.getPageFormats=function(){return Sr};var Ar=_t.__private__.getPageFormat=function(yt){return Sr[yt]};Qe=Qe||"a4";var sr={COMPAT:"compat",ADVANCED:"advanced"},ln=sr.COMPAT;function _n(){this.saveGraphicsState(),Xr(new Pn(zt,0,0,-zt,0,eo()*zt).toString()+" cm"),this.setFontSize(this.getFontSize()/zt),Vt="n",ln=sr.ADVANCED}function Wn(){this.restoreGraphicsState(),Vt="S",ln=sr.COMPAT}var Nn=_t.__private__.combineFontStyleAndFontWeight=function(yt,Lt){if(yt=="bold"&&Lt=="normal"||yt=="bold"&&Lt==400||yt=="normal"&&Lt=="italic"||yt=="bold"&&Lt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Lt&&(yt=Lt==400||Lt==="normal"?yt==="italic"?"italic":"normal":Lt!=700&&Lt!=="bold"||yt!=="normal"?(Lt==700?"bold":Lt)+""+yt:"bold"),yt};_t.advancedAPI=function(yt){var Lt=ln===sr.COMPAT;return Lt&&_n.call(this),typeof yt!="function"||(yt(this),Lt&&Wn.call(this)),this},_t.compatAPI=function(yt){var Lt=ln===sr.ADVANCED;return Lt&&Wn.call(this),typeof yt!="function"||(yt(this),Lt&&_n.call(this)),this},_t.isAdvancedAPI=function(){return ln===sr.ADVANCED};var Mn,Gn=function(Lt){if(ln!==sr.ADVANCED)throw new Error(Lt+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},xn=_t.roundToPrecision=_t.__private__.roundToPrecision=function(yt,Lt){var Pr=Se||Lt;if(isNaN(yt)||isNaN(Pr))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return yt.toFixed(Pr).replace(/0+$/,"")};Mn=_t.hpf=_t.__private__.hpf=typeof ht=="number"?function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.hpf");return xn(yt,ht)}:ht==="smart"?function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.hpf");return xn(yt,yt>-1&&yt<1?16:5)}:function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.hpf");return xn(yt,16)};var mi=_t.f2=_t.__private__.f2=function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.f2");return xn(yt,2)},rn=_t.__private__.f3=function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.f3");return xn(yt,3)},Ur=_t.scale=_t.__private__.scale=function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.scale");return ln===sr.COMPAT?yt*zt:ln===sr.ADVANCED?yt:void 0},cn=function(Lt){return ln===sr.COMPAT?eo()-Lt:ln===sr.ADVANCED?Lt:void 0},Qr=function(Lt){return Ur(cn(Lt))};_t.__private__.setPrecision=_t.setPrecision=function(yt){typeof parseInt(yt,10)=="number"&&(Se=parseInt(yt,10))};var Vn,Hn="00000000000000000000000000000000",li=_t.__private__.getFileId=function(){return Hn},Un=_t.__private__.setFileId=function(yt){return Hn=yt!==void 0&&/^[a-fA-F0-9]{32}$/.test(yt)?yt.toUpperCase():Hn.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),dr!==null&&(Yi=new k(dr.userPermissions,dr.userPassword,dr.ownerPassword,Hn)),Hn};_t.setFileId=function(yt){return Un(yt),this},_t.getFileId=function(){return li()};var gi=_t.__private__.convertDateToPDFDate=function(yt){var Lt=yt.getTimezoneOffset(),Pr=Lt<0?"+":"-",pn=Math.floor(Math.abs(Lt/60)),Rn=Math.abs(Lt%60),dt=[Pr,nn(pn),"'",nn(Rn),"'"].join("");return["D:",yt.getFullYear(),nn(yt.getMonth()+1),nn(yt.getDate()),nn(yt.getHours()),nn(yt.getMinutes()),nn(yt.getSeconds()),dt].join("")},Bn=_t.__private__.convertPDFDateToDate=function(yt){var Lt=parseInt(yt.substr(2,4),10),Pr=parseInt(yt.substr(6,2),10)-1,pn=parseInt(yt.substr(8,2),10),Rn=parseInt(yt.substr(10,2),10),dt=parseInt(yt.substr(12,2),10),ie=parseInt(yt.substr(14,2),10);return new Date(Lt,Pr,pn,Rn,dt,ie,0)},di=_t.__private__.setCreationDate=function(yt){var Lt;if(yt===void 0&&(yt=new Date),yt instanceof Date)Lt=gi(yt);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(yt))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Lt=yt}return Vn=Lt},qr=_t.__private__.getCreationDate=function(yt){var Lt=Vn;return yt==="jsDate"&&(Lt=Bn(Vn)),Lt};_t.setCreationDate=function(yt){return di(yt),this},_t.getCreationDate=function(yt){return qr(yt)};var xr,nn=_t.__private__.padd2=function(yt){return("0"+parseInt(yt)).slice(-2)},gn=_t.__private__.padd2Hex=function(yt){return("00"+(yt=yt.toString())).substr(yt.length)},On=0,Fn=[],zn=[],$n=0,Zn=[],vi=[],Pi=!1,Fi=zn,ja=function(){On=0,$n=0,zn=[],Fn=[],Zn=[],ma=ki(),aa=ki()};_t.__private__.setCustomOutputDestination=function(yt){Pi=!0,Fi=yt};var Qn=function(Lt){Pi||(Fi=Lt)};_t.__private__.resetCustomOutputDestination=function(){Pi=!1,Fi=zn};var Xr=_t.__private__.out=function(yt){return yt=yt.toString(),$n+=yt.length+1,Fi.push(yt),Fi},hi=_t.__private__.write=function(yt){return Xr(arguments.length===1?yt.toString():Array.prototype.join.call(arguments," "))},Ri=_t.__private__.getArrayBuffer=function(yt){for(var Lt=yt.length,Pr=new ArrayBuffer(Lt),pn=new Uint8Array(Pr);Lt--;)pn[Lt]=yt.charCodeAt(Lt);return Pr},bi=[["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]];_t.__private__.getStandardFonts=function(){return bi};var Ui=qe.fontSize||16;_t.__private__.setFontSize=_t.setFontSize=function(yt){return Ui=ln===sr.ADVANCED?yt/zt:yt,this};var ni,qi=_t.__private__.getFontSize=_t.getFontSize=function(){return ln===sr.COMPAT?Ui:Ui*zt},Qi=qe.R2L||!1;_t.__private__.setR2L=_t.setR2L=function(yt){return Qi=yt,this},_t.__private__.getR2L=_t.getR2L=function(){return Qi};var ha,Yt=_t.__private__.setZoomMode=function(yt){var Lt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*%$/.test(yt))ni=yt;else if(isNaN(yt)){if(Lt.indexOf(yt)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+yt+'" is not recognized.');ni=yt}else ni=parseInt(yt,10)};_t.__private__.getZoomMode=function(){return ni};var Ir,Zr=_t.__private__.setPageMode=function(yt){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(yt)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+yt+'" is not recognized.');ha=yt};_t.__private__.getPageMode=function(){return ha};var He=_t.__private__.setLayoutMode=function(yt){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(yt)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+yt+'" is not recognized.');Ir=yt};_t.__private__.getLayoutMode=function(){return Ir},_t.__private__.setDisplayMode=_t.setDisplayMode=function(yt,Lt,Pr){return Yt(yt),He(Lt),Zr(Pr),this};var gt={title:"",subject:"",author:"",keywords:"",creator:""};_t.__private__.getDocumentProperty=function(yt){if(Object.keys(gt).indexOf(yt)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return gt[yt]},_t.__private__.getDocumentProperties=function(){return gt},_t.__private__.setDocumentProperties=_t.setProperties=_t.setDocumentProperties=function(yt){for(var Lt in gt)gt.hasOwnProperty(Lt)&&yt[Lt]&&(gt[Lt]=yt[Lt]);return this},_t.__private__.setDocumentProperty=function(yt,Lt){if(Object.keys(gt).indexOf(yt)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return gt[yt]=Lt};var Xt,zt,vr,or,Vr,Kr={},Dr={},dn=[],on={},Cn={},sn={},an={},Yr=null,fn=0,vn=[],Ln=new P(_t),oi=qe.hotfixes||[],si={},Ni={},qn=[],Pn=function yt(Lt,Pr,pn,Rn,dt,ie){if(!(this instanceof yt))return new yt(Lt,Pr,pn,Rn,dt,ie);isNaN(Lt)&&(Lt=1),isNaN(Pr)&&(Pr=0),isNaN(pn)&&(pn=0),isNaN(Rn)&&(Rn=1),isNaN(dt)&&(dt=0),isNaN(ie)&&(ie=0),this._matrix=[Lt,Pr,pn,Rn,dt,ie]};Object.defineProperty(Pn.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Lt){this._matrix[0]=Lt}}),Object.defineProperty(Pn.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Lt){this._matrix[1]=Lt}}),Object.defineProperty(Pn.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Lt){this._matrix[2]=Lt}}),Object.defineProperty(Pn.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Lt){this._matrix[3]=Lt}}),Object.defineProperty(Pn.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Lt){this._matrix[4]=Lt}}),Object.defineProperty(Pn.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Lt){this._matrix[5]=Lt}}),Object.defineProperty(Pn.prototype,"a",{get:function(){return this._matrix[0]},set:function(Lt){this._matrix[0]=Lt}}),Object.defineProperty(Pn.prototype,"b",{get:function(){return this._matrix[1]},set:function(Lt){this._matrix[1]=Lt}}),Object.defineProperty(Pn.prototype,"c",{get:function(){return this._matrix[2]},set:function(Lt){this._matrix[2]=Lt}}),Object.defineProperty(Pn.prototype,"d",{get:function(){return this._matrix[3]},set:function(Lt){this._matrix[3]=Lt}}),Object.defineProperty(Pn.prototype,"e",{get:function(){return this._matrix[4]},set:function(Lt){this._matrix[4]=Lt}}),Object.defineProperty(Pn.prototype,"f",{get:function(){return this._matrix[5]},set:function(Lt){this._matrix[5]=Lt}}),Object.defineProperty(Pn.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Pn.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Pn.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Pn.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Pn.prototype.join=function(yt){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Mn).join(yt)},Pn.prototype.multiply=function(yt){var Lt=yt.sx*this.sx+yt.shy*this.shx,Pr=yt.sx*this.shy+yt.shy*this.sy,pn=yt.shx*this.sx+yt.sy*this.shx,Rn=yt.shx*this.shy+yt.sy*this.sy,dt=yt.tx*this.sx+yt.ty*this.shx+this.tx,ie=yt.tx*this.shy+yt.ty*this.sy+this.ty;return new Pn(Lt,Pr,pn,Rn,dt,ie)},Pn.prototype.decompose=function(){var yt=this.sx,Lt=this.shy,Pr=this.shx,pn=this.sy,Rn=this.tx,dt=this.ty,ie=Math.sqrt(yt*yt+Lt*Lt),pe=(yt/=ie)*Pr+(Lt/=ie)*pn;Pr-=yt*pe,pn-=Lt*pe;var we=Math.sqrt(Pr*Pr+pn*pn);return pe/=we,yt*(pn/=we)<Lt*(Pr/=we)&&(yt=-yt,Lt=-Lt,pe=-pe,ie=-ie),{scale:new Pn(ie,0,0,we,0,0),translate:new Pn(1,0,0,1,Rn,dt),rotate:new Pn(yt,Lt,-Lt,yt,0,0),skew:new Pn(1,0,pe,1,0,0)}},Pn.prototype.toString=function(yt){return this.join(" ")},Pn.prototype.inversed=function(){var yt=this.sx,Lt=this.shy,Pr=this.shx,pn=this.sy,Rn=this.tx,dt=this.ty,ie=1/(yt*pn-Lt*Pr),pe=pn*ie,we=-Lt*ie,Ke=-Pr*ie,ut=yt*ie;return new Pn(pe,we,Ke,ut,-pe*Rn-Ke*dt,-we*Rn-ut*dt)},Pn.prototype.applyToPoint=function(yt){var Lt=yt.x*this.sx+yt.y*this.shx+this.tx,Pr=yt.x*this.shy+yt.y*this.sy+this.ty;return new xs(Lt,Pr)},Pn.prototype.applyToRectangle=function(yt){var Lt=this.applyToPoint(yt),Pr=this.applyToPoint(new xs(yt.x+yt.w,yt.y+yt.h));return new Ls(Lt.x,Lt.y,Pr.x-Lt.x,Pr.y-Lt.y)},Pn.prototype.clone=function(){var yt=this.sx,Lt=this.shy,Pr=this.shx,pn=this.sy,Rn=this.tx,dt=this.ty;return new Pn(yt,Lt,Pr,pn,Rn,dt)},_t.Matrix=Pn;var Bi=_t.matrixMult=function(yt,Lt){return Lt.multiply(yt)},ci=new Pn(1,0,0,1,0,0);_t.unitMatrix=_t.identityMatrix=ci;var wi=function(Lt,Pr){if(!Cn[Lt]){var pn=(Pr instanceof U?"Sh":"P")+(Object.keys(on).length+1).toString(10);Pr.id=pn,Cn[Lt]=pn,on[pn]=Pr,Ln.publish("addPattern",Pr)}};_t.ShadingPattern=U,_t.TilingPattern=H,_t.addShadingPattern=function(yt,Lt){return Gn("addShadingPattern()"),wi(yt,Lt),this},_t.beginTilingPattern=function(yt){Gn("beginTilingPattern()"),Es(yt.boundingBox[0],yt.boundingBox[1],yt.boundingBox[2]-yt.boundingBox[0],yt.boundingBox[3]-yt.boundingBox[1],yt.matrix)},_t.endTilingPattern=function(yt,Lt){Gn("endTilingPattern()"),Lt.stream=vi[xr].join(`
|
|
|
`),wi(yt,Lt),Ln.publish("endTilingPattern",Lt),qn.pop().restore()};var fi=_t.__private__.newObject=function(){var yt=ki();return fa(yt,!0),yt},ki=_t.__private__.newObjectDeferred=function(){return On++,Fn[On]=function(){return $n},On},fa=function(Lt,Pr){return Pr=typeof Pr=="boolean"&&Pr,Fn[Lt]=$n,Pr&&Xr(Lt+" 0 obj"),Lt},zi=_t.__private__.newAdditionalObject=function(){var yt={objId:ki(),content:""};return Zn.push(yt),yt},ma=ki(),aa=ki(),ya=_t.__private__.decodeColorString=function(yt){var Lt=yt.split(" ");if(Lt.length!==2||Lt[1]!=="g"&&Lt[1]!=="G")Lt.length===5&&(Lt[4]==="k"||Lt[4]==="K")&&(Lt=[(1-Lt[0])*(1-Lt[3]),(1-Lt[1])*(1-Lt[3]),(1-Lt[2])*(1-Lt[3]),"r"]);else{var Pr=parseFloat(Lt[0]);Lt=[Pr,Pr,Pr,"r"]}for(var pn="#",Rn=0;Rn<3;Rn++)pn+=("0"+Math.floor(255*parseFloat(Lt[Rn])).toString(16)).slice(-2);return pn},Ea=_t.__private__.encodeColorString=function(yt){var Lt;typeof yt=="string"&&(yt={ch1:yt});var Pr=yt.ch1,pn=yt.ch2,Rn=yt.ch3,dt=yt.ch4,ie=yt.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Pr=="string"&&Pr.charAt(0)!=="#"){var pe=new a(Pr);if(pe.ok)Pr=pe.toHex();else if(!/^\d*\.?\d*$/.test(Pr))throw new Error('Invalid color "'+Pr+'" passed to jsPDF.encodeColorString.')}if(typeof Pr=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Pr)&&(Pr="#"+Pr[1]+Pr[1]+Pr[2]+Pr[2]+Pr[3]+Pr[3]),typeof Pr=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Pr)){var we=parseInt(Pr.substr(1),16);Pr=we>>16&255,pn=we>>8&255,Rn=255&we}if(pn===void 0||dt===void 0&&Pr===pn&&pn===Rn)if(typeof Pr=="string")Lt=Pr+" "+ie[0];else switch(yt.precision){case 2:Lt=mi(Pr/255)+" "+ie[0];break;case 3:default:Lt=rn(Pr/255)+" "+ie[0]}else if(dt===void 0||A()(dt)==="object"){if(dt&&!isNaN(dt.a)&&dt.a===0)return Lt=["1.","1.","1.",ie[1]].join(" ");if(typeof Pr=="string")Lt=[Pr,pn,Rn,ie[1]].join(" ");else switch(yt.precision){case 2:Lt=[mi(Pr/255),mi(pn/255),mi(Rn/255),ie[1]].join(" ");break;default:case 3:Lt=[rn(Pr/255),rn(pn/255),rn(Rn/255),ie[1]].join(" ")}}else if(typeof Pr=="string")Lt=[Pr,pn,Rn,dt,ie[2]].join(" ");else switch(yt.precision){case 2:Lt=[mi(Pr),mi(pn),mi(Rn),mi(dt),ie[2]].join(" ");break;case 3:default:Lt=[rn(Pr),rn(pn),rn(Rn),rn(dt),ie[2]].join(" ")}return Lt},ca=_t.__private__.getFilters=function(){return Ye},ka=_t.__private__.putStream=function(yt){var Lt=(yt=yt||{}).data||"",Pr=yt.filters||ca(),pn=yt.alreadyAppliedFilters||[],Rn=yt.addLength1||!1,dt=Lt.length,ie=yt.objectId,pe=function(Tn){return Tn};if(dr!==null&&ie===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");dr!==null&&(pe=Yi.encryptor(ie,0));var we={};Pr===!0&&(Pr=["FlateEncode"]);var Ke=yt.additionalKeyValues||[],ut=(we=j.API.processDataByFilters!==void 0?j.API.processDataByFilters(Lt,Pr):{data:Lt,reverseChain:[]}).reverseChain+(Array.isArray(pn)?pn.join(" "):pn.toString());if(we.data.length!==0&&(Ke.push({key:"Length",value:we.data.length}),Rn===!0&&Ke.push({key:"Length1",value:dt})),ut.length!=0)if(ut.split("/").length-1==1)Ke.push({key:"Filter",value:ut});else{Ke.push({key:"Filter",value:"["+ut+"]"});for(var Pt=0;Pt<Ke.length;Pt+=1)if(Ke[Pt].key==="DecodeParms"){for(var ar=[],wr=0;wr<we.reverseChain.split("/").length-1;wr+=1)ar.push("null");ar.push(Ke[Pt].value),Ke[Pt].value="["+ar.join(" ")+"]"}}Xr("<<");for(var jr=0;jr<Ke.length;jr++)Xr("/"+Ke[jr].key+" "+Ke[jr].value);Xr(">>"),we.data.length!==0&&(Xr("stream"),Xr(pe(we.data)),Xr("endstream"))},wa=_t.__private__.putPage=function(yt){var Lt=yt.number,Pr=yt.data,pn=yt.objId,Rn=yt.contentsObjId;fa(pn,!0),Xr("<</Type /Page"),Xr("/Parent "+yt.rootDictionaryObjId+" 0 R"),Xr("/Resources "+yt.resourceDictionaryObjId+" 0 R"),Xr("/MediaBox ["+parseFloat(Mn(yt.mediaBox.bottomLeftX))+" "+parseFloat(Mn(yt.mediaBox.bottomLeftY))+" "+Mn(yt.mediaBox.topRightX)+" "+Mn(yt.mediaBox.topRightY)+"]"),yt.cropBox!==null&&Xr("/CropBox ["+Mn(yt.cropBox.bottomLeftX)+" "+Mn(yt.cropBox.bottomLeftY)+" "+Mn(yt.cropBox.topRightX)+" "+Mn(yt.cropBox.topRightY)+"]"),yt.bleedBox!==null&&Xr("/BleedBox ["+Mn(yt.bleedBox.bottomLeftX)+" "+Mn(yt.bleedBox.bottomLeftY)+" "+Mn(yt.bleedBox.topRightX)+" "+Mn(yt.bleedBox.topRightY)+"]"),yt.trimBox!==null&&Xr("/TrimBox ["+Mn(yt.trimBox.bottomLeftX)+" "+Mn(yt.trimBox.bottomLeftY)+" "+Mn(yt.trimBox.topRightX)+" "+Mn(yt.trimBox.topRightY)+"]"),yt.artBox!==null&&Xr("/ArtBox ["+Mn(yt.artBox.bottomLeftX)+" "+Mn(yt.artBox.bottomLeftY)+" "+Mn(yt.artBox.topRightX)+" "+Mn(yt.artBox.topRightY)+"]"),typeof yt.userUnit=="number"&&yt.userUnit!==1&&Xr("/UserUnit "+yt.userUnit),Ln.publish("putPage",{objId:pn,pageContext:vn[Lt],pageNumber:Lt,page:Pr}),Xr("/Contents "+Rn+" 0 R"),Xr(">>"),Xr("endobj");var dt=Pr.join(`
|
|
|
`);return ln===sr.ADVANCED&&(dt+=`
|
|
|
Q`),fa(Rn,!0),ka({data:dt,filters:ca(),objectId:Rn}),Xr("endobj"),pn},_i=_t.__private__.putPages=function(){var yt,Lt,Pr=[];for(yt=1;yt<=fn;yt++)vn[yt].objId=ki(),vn[yt].contentsObjId=ki();for(yt=1;yt<=fn;yt++)Pr.push(wa({number:yt,data:vi[yt],objId:vn[yt].objId,contentsObjId:vn[yt].contentsObjId,mediaBox:vn[yt].mediaBox,cropBox:vn[yt].cropBox,bleedBox:vn[yt].bleedBox,trimBox:vn[yt].trimBox,artBox:vn[yt].artBox,userUnit:vn[yt].userUnit,rootDictionaryObjId:ma,resourceDictionaryObjId:aa}));fa(ma,!0),Xr("<</Type /Pages");var pn="/Kids [";for(Lt=0;Lt<fn;Lt++)pn+=Pr[Lt]+" 0 R ";Xr(pn+"]"),Xr("/Count "+fn),Xr(">>"),Xr("endobj"),Ln.publish("postPutPages")},xi=function(Lt){Ln.publish("putFont",{font:Lt,out:Xr,newObject:fi,putStream:ka}),Lt.isAlreadyPutted!==!0&&(Lt.objectNumber=fi(),Xr("<<"),Xr("/Type /Font"),Xr("/BaseFont /"+F(Lt.postScriptName)),Xr("/Subtype /Type1"),typeof Lt.encoding=="string"&&Xr("/Encoding /"+Lt.encoding),Xr("/FirstChar 32"),Xr("/LastChar 255"),Xr(">>"),Xr("endobj"))},ji=function(){for(var Lt in Kr)Kr.hasOwnProperty(Lt)&&(tr===!1||tr===!0&&ir.hasOwnProperty(Lt))&&xi(Kr[Lt])},Zi=function(Lt){Lt.objectNumber=fi();var Pr=[];Pr.push({key:"Type",value:"/XObject"}),Pr.push({key:"Subtype",value:"/Form"}),Pr.push({key:"BBox",value:"["+[Mn(Lt.x),Mn(Lt.y),Mn(Lt.x+Lt.width),Mn(Lt.y+Lt.height)].join(" ")+"]"}),Pr.push({key:"Matrix",value:"["+Lt.matrix.toString()+"]"});var pn=Lt.pages[1].join(`
|
|
|
`);ka({data:pn,additionalKeyValues:Pr,objectId:Lt.objectNumber}),Xr("endobj")},Si=function(){for(var Lt in si)si.hasOwnProperty(Lt)&&Zi(si[Lt])},Hi=function(Lt,Pr){var pn,Rn=[],dt=1/(Pr-1);for(pn=0;pn<1;pn+=dt)Rn.push(pn);if(Rn.push(1),Lt[0].offset!=0){var ie={offset:0,color:Lt[0].color};Lt.unshift(ie)}if(Lt[Lt.length-1].offset!=1){var pe={offset:1,color:Lt[Lt.length-1].color};Lt.push(pe)}for(var we="",Ke=0,ut=0;ut<Rn.length;ut++){for(pn=Rn[ut];pn>Lt[Ke+1].offset;)Ke++;var Pt=Lt[Ke].offset,ar=(pn-Pt)/(Lt[Ke+1].offset-Pt),wr=Lt[Ke].color,jr=Lt[Ke+1].color;we+=gn(Math.round((1-ar)*wr[0]+ar*jr[0]).toString(16))+gn(Math.round((1-ar)*wr[1]+ar*jr[1]).toString(16))+gn(Math.round((1-ar)*wr[2]+ar*jr[2]).toString(16))}return we.trim()},Oa=function(Lt,Pr){Pr||(Pr=21);var pn=fi(),Rn=Hi(Lt.colors,Pr),dt=[];dt.push({key:"FunctionType",value:"0"}),dt.push({key:"Domain",value:"[0.0 1.0]"}),dt.push({key:"Size",value:"["+Pr+"]"}),dt.push({key:"BitsPerSample",value:"8"}),dt.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),dt.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ka({data:Rn,additionalKeyValues:dt,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:pn}),Xr("endobj"),Lt.objectNumber=fi(),Xr("<< /ShadingType "+Lt.type),Xr("/ColorSpace /DeviceRGB");var ie="/Coords ["+Mn(parseFloat(Lt.coords[0]))+" "+Mn(parseFloat(Lt.coords[1]))+" ";Lt.type===2?ie+=Mn(parseFloat(Lt.coords[2]))+" "+Mn(parseFloat(Lt.coords[3])):ie+=Mn(parseFloat(Lt.coords[2]))+" "+Mn(parseFloat(Lt.coords[3]))+" "+Mn(parseFloat(Lt.coords[4]))+" "+Mn(parseFloat(Lt.coords[5])),Xr(ie+="]"),Lt.matrix&&Xr("/Matrix ["+Lt.matrix.toString()+"]"),Xr("/Function "+pn+" 0 R"),Xr("/Extend [true true]"),Xr(">>"),Xr("endobj")},_a=function(Lt,Pr){var pn=ki(),Rn=fi();Pr.push({resourcesOid:pn,objectOid:Rn}),Lt.objectNumber=Rn;var dt=[];dt.push({key:"Type",value:"/Pattern"}),dt.push({key:"PatternType",value:"1"}),dt.push({key:"PaintType",value:"1"}),dt.push({key:"TilingType",value:"1"}),dt.push({key:"BBox",value:"["+Lt.boundingBox.map(Mn).join(" ")+"]"}),dt.push({key:"XStep",value:Mn(Lt.xStep)}),dt.push({key:"YStep",value:Mn(Lt.yStep)}),dt.push({key:"Resources",value:pn+" 0 R"}),Lt.matrix&&dt.push({key:"Matrix",value:"["+Lt.matrix.toString()+"]"}),ka({data:Lt.stream,additionalKeyValues:dt,objectId:Lt.objectNumber}),Xr("endobj")},la=function(Lt){var Pr;for(Pr in on)on.hasOwnProperty(Pr)&&(on[Pr]instanceof U?Oa(on[Pr]):on[Pr]instanceof H&&_a(on[Pr],Lt))},va=function(Lt){for(var Pr in Lt.objectNumber=fi(),Xr("<<"),Lt)switch(Pr){case"opacity":Xr("/ca "+mi(Lt[Pr]));break;case"stroke-opacity":Xr("/CA "+mi(Lt[Pr]))}Xr(">>"),Xr("endobj")},Ma=function(){var Lt;for(Lt in sn)sn.hasOwnProperty(Lt)&&va(sn[Lt])},Xa=function(){for(var Lt in Xr("/XObject <<"),si)si.hasOwnProperty(Lt)&&si[Lt].objectNumber>=0&&Xr("/"+Lt+" "+si[Lt].objectNumber+" 0 R");Ln.publish("putXobjectDict"),Xr(">>")},co=function(){Yi.oid=fi(),Xr("<<"),Xr("/Filter /Standard"),Xr("/V "+Yi.v),Xr("/R "+Yi.r),Xr("/U <"+Yi.toHexString(Yi.U)+">"),Xr("/O <"+Yi.toHexString(Yi.O)+">"),Xr("/P "+Yi.P),Xr(">>"),Xr("endobj")},so=function(){for(var Lt in Xr("/Font <<"),Kr)Kr.hasOwnProperty(Lt)&&(tr===!1||tr===!0&&ir.hasOwnProperty(Lt))&&Xr("/"+Lt+" "+Kr[Lt].objectNumber+" 0 R");Xr(">>")},Ao=function(){if(Object.keys(on).length>0){for(var Lt in Xr("/Shading <<"),on)on.hasOwnProperty(Lt)&&on[Lt]instanceof U&&on[Lt].objectNumber>=0&&Xr("/"+Lt+" "+on[Lt].objectNumber+" 0 R");Ln.publish("putShadingPatternDict"),Xr(">>")}},io=function(Lt){if(Object.keys(on).length>0){for(var Pr in Xr("/Pattern <<"),on)on.hasOwnProperty(Pr)&&on[Pr]instanceof _t.TilingPattern&&on[Pr].objectNumber>=0&&on[Pr].objectNumber<Lt&&Xr("/"+Pr+" "+on[Pr].objectNumber+" 0 R");Ln.publish("putTilingPatternDict"),Xr(">>")}},pa=function(){if(Object.keys(sn).length>0){var Lt;for(Lt in Xr("/ExtGState <<"),sn)sn.hasOwnProperty(Lt)&&sn[Lt].objectNumber>=0&&Xr("/"+Lt+" "+sn[Lt].objectNumber+" 0 R");Ln.publish("putGStateDict"),Xr(">>")}},ga=function(Lt){fa(Lt.resourcesOid,!0),Xr("<<"),Xr("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),so(),Ao(),io(Lt.objectOid),pa(),Xa(),Xr(">>"),Xr("endobj")},ba=function(){var Lt=[];ji(),Ma(),Si(),la(Lt),Ln.publish("putResources"),Lt.forEach(ga),ga({resourcesOid:aa,objectOid:Number.MAX_SAFE_INTEGER}),Ln.publish("postPutResources")},Oi=function(){Ln.publish("putAdditionalObjects");for(var Lt=0;Lt<Zn.length;Lt++){var Pr=Zn[Lt];fa(Pr.objId,!0),Xr(Pr.content),Xr("endobj")}Ln.publish("postPutAdditionalObjects")},Fa=function(Lt){Dr[Lt.fontName]=Dr[Lt.fontName]||{},Dr[Lt.fontName][Lt.fontStyle]=Lt.id},vo=function(Lt,Pr,pn,Rn,dt){var ie={id:"F"+(Object.keys(Kr).length+1).toString(10),postScriptName:Lt,fontName:Pr,fontStyle:pn,encoding:Rn,isStandardFont:dt||!1,metadata:{}};return Ln.publish("addFont",{font:ie,instance:this}),Kr[ie.id]=ie,Fa(ie),ie.id},os=function(Lt){for(var Pr=0,pn=bi.length;Pr<pn;Pr++){var Rn=vo.call(this,Lt[Pr][0],Lt[Pr][1],Lt[Pr][2],bi[Pr][3],!0);tr===!1&&(ir[Rn]=!0);var dt=Lt[Pr][0].split("-");Fa({id:Rn,fontName:dt[0],fontStyle:dt[1]||""})}Ln.publish("addFonts",{fonts:Kr,dictionary:Dr})},Va=function(Lt){return Lt.foo=function(){try{return Lt.apply(this,arguments)}catch(Rn){var Pr=Rn.stack||"";~Pr.indexOf(" at ")&&(Pr=Pr.split(" at ")[1]);var pn="Error in function "+Pr.split(`
|
|
|
`)[0].split("<")[0]+": "+Rn.message;if(!g.console)throw new Error(pn);g.console.error(pn,Rn),g.alert&&alert(pn)}},Lt.foo.bar=Lt,Lt.foo},ao=function(Lt,Pr){var pn,Rn,dt,ie,pe,we,Ke,ut,Pt;if(dt=(Pr=Pr||{}).sourceEncoding||"Unicode",pe=Pr.outputEncoding,(Pr.autoencode||pe)&&Kr[Xt].metadata&&Kr[Xt].metadata[dt]&&Kr[Xt].metadata[dt].encoding&&(ie=Kr[Xt].metadata[dt].encoding,!pe&&Kr[Xt].encoding&&(pe=Kr[Xt].encoding),!pe&&ie.codePages&&(pe=ie.codePages[0]),typeof pe=="string"&&(pe=ie[pe]),pe)){for(Ke=!1,we=[],pn=0,Rn=Lt.length;pn<Rn;pn++)(ut=pe[Lt.charCodeAt(pn)])?we.push(String.fromCharCode(ut)):we.push(Lt[pn]),we[pn].charCodeAt(0)>>8&&(Ke=!0);Lt=we.join("")}for(pn=Lt.length;Ke===void 0&&pn!==0;)Lt.charCodeAt(pn-1)>>8&&(Ke=!0),pn--;if(!Ke)return Lt;for(we=Pr.noBOM?[]:[254,255],pn=0,Rn=Lt.length;pn<Rn;pn++){if((Pt=(ut=Lt.charCodeAt(pn))>>8)>>8)throw new Error("Character at position "+pn+" of string '"+Lt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");we.push(Pt),we.push(ut-(Pt<<8))}return String.fromCharCode.apply(void 0,we)},Ga=_t.__private__.pdfEscape=_t.pdfEscape=function(yt,Lt){return ao(yt,Lt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},yo=_t.__private__.beginPage=function(yt){vi[++fn]=[],vn[fn]={objId:0,contentsObjId:0,userUnit:Number(pt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(yt[0]),topRightY:Number(yt[1])}},To(fn),Qn(vi[xr])},fo=function(Lt,Pr){var pn,Rn,dt;switch(Me=Pr||Me,typeof Lt=="string"&&(pn=Ar(Lt.toLowerCase()),Array.isArray(pn)&&(Rn=pn[0],dt=pn[1])),Array.isArray(Lt)&&(Rn=Lt[0]*zt,dt=Lt[1]*zt),isNaN(Rn)&&(Rn=Qe[0],dt=Qe[1]),(Rn>14400||dt>14400)&&(c.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Rn=Math.min(14400,Rn),dt=Math.min(14400,dt)),Qe=[Rn,dt],Me.substr(0,1)){case"l":dt>Rn&&(Qe=[dt,Rn]);break;case"p":Rn>dt&&(Qe=[dt,Rn])}yo(Qe),Zo(Vo),Xr(Ko),Ps!==0&&Xr(Ps+" J"),Ks!==0&&Xr(Ks+" j"),Ln.publish("addPage",{pageNumber:fn})},es=function(Lt){Lt>0&&Lt<=fn&&(vi.splice(Lt,1),vn.splice(Lt,1),fn--,xr>fn&&(xr=fn),this.setPage(xr))},To=function(Lt){Lt>0&&Lt<=fn&&(xr=Lt)},po=_t.__private__.getNumberOfPages=_t.getNumberOfPages=function(){return vi.length-1},Io=function(Lt,Pr,pn){var Rn,dt=void 0;return pn=pn||{},Lt=Lt!==void 0?Lt:Kr[Xt].fontName,Pr=Pr!==void 0?Pr:Kr[Xt].fontStyle,Rn=Lt.toLowerCase(),Dr[Rn]!==void 0&&Dr[Rn][Pr]!==void 0?dt=Dr[Rn][Pr]:Dr[Lt]!==void 0&&Dr[Lt][Pr]!==void 0?dt=Dr[Lt][Pr]:pn.disableWarning===!1&&c.warn("Unable to look up font label for font '"+Lt+"', '"+Pr+"'. Refer to getFontList() for available fonts."),dt||pn.noFallback||(dt=Dr.times[Pr])==null&&(dt=Dr.times.normal),dt},zo=_t.__private__.putInfo=function(){var yt=fi(),Lt=function(Rn){return Rn};for(var Pr in dr!==null&&(Lt=Yi.encryptor(yt,0)),Xr("<<"),Xr("/Producer ("+Ga(Lt("jsPDF "+j.version))+")"),gt)gt.hasOwnProperty(Pr)&>[Pr]&&Xr("/"+Pr.substr(0,1).toUpperCase()+Pr.substr(1)+" ("+Ga(Lt(gt[Pr]))+")");Xr("/CreationDate ("+Ga(Lt(Vn))+")"),Xr(">>"),Xr("endobj")},ns=_t.__private__.putCatalog=function(yt){var Lt=(yt=yt||{}).rootDictionaryObjId||ma;switch(fi(),Xr("<<"),Xr("/Type /Catalog"),Xr("/Pages "+Lt+" 0 R"),ni||(ni="fullwidth"),ni){case"fullwidth":Xr("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Xr("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Xr("/OpenAction [3 0 R /Fit]");break;case"original":Xr("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Pr=""+ni;Pr.substr(Pr.length-1)==="%"&&(ni=parseInt(ni)/100),typeof ni=="number"&&Xr("/OpenAction [3 0 R /XYZ null null "+mi(ni)+"]")}switch(Ir||(Ir="continuous"),Ir){case"continuous":Xr("/PageLayout /OneColumn");break;case"single":Xr("/PageLayout /SinglePage");break;case"two":case"twoleft":Xr("/PageLayout /TwoColumnLeft");break;case"tworight":Xr("/PageLayout /TwoColumnRight")}ha&&Xr("/PageMode /"+ha),Ln.publish("putCatalog"),Xr(">>"),Xr("endobj")},Po=_t.__private__.putTrailer=function(){Xr("trailer"),Xr("<<"),Xr("/Size "+(On+1)),Xr("/Root "+On+" 0 R"),Xr("/Info "+(On-1)+" 0 R"),dr!==null&&Xr("/Encrypt "+Yi.oid+" 0 R"),Xr("/ID [ <"+Hn+"> <"+Hn+"> ]"),Xr(">>")},Aa=_t.__private__.putHeader=function(){Xr("%PDF-"+gr),Xr("%\xBA\xDF\xAC\xE0")},Ja=_t.__private__.putXRef=function(){var yt="0000000000";Xr("xref"),Xr("0 "+(On+1)),Xr("0000000000 65535 f ");for(var Lt=1;Lt<=On;Lt++)typeof Fn[Lt]=="function"?Xr((yt+Fn[Lt]()).slice(-10)+" 00000 n "):Fn[Lt]!==void 0?Xr((yt+Fn[Lt]).slice(-10)+" 00000 n "):Xr("0000000000 00000 n ")},Ba=_t.__private__.buildDocument=function(){ja(),Qn(zn),Ln.publish("buildDocument"),Aa(),_i(),Oi(),ba(),dr!==null&&co(),zo(),ns();var yt=$n;return Ja(),Po(),Xr("startxref"),Xr(""+yt),Xr("%%EOF"),Qn(vi[xr]),zn.join(`
|
|
|
`)},$i=_t.__private__.getBlob=function(yt){return new Blob([Ri(yt)],{type:"application/pdf"})},uo=_t.output=_t.__private__.output=Va(function(yt,Lt){switch(typeof(Lt=Lt||{})=="string"?Lt={filename:Lt}:Lt.filename=Lt.filename||"generated.pdf",yt){case void 0:return Ba();case"save":_t.save(Lt.filename);break;case"arraybuffer":return Ri(Ba());case"blob":return $i(Ba());case"bloburi":case"bloburl":if(g.URL!==void 0&&typeof g.URL.createObjectURL=="function")return g.URL&&g.URL.createObjectURL($i(Ba()))||void 0;c.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Pr="",pn=Ba();try{Pr=i(pn)}catch(Pt){Pr=i(unescape(encodeURIComponent(pn)))}return"data:application/pdf;filename="+Lt.filename+";base64,"+Pr;case"pdfobjectnewwindow":if(Object.prototype.toString.call(g)==="[object Window]"){var Rn='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+(Lt.pdfObjectUrl||"https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js")+'"></script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Lt)+");</script></body></html>",dt=g.open();return dt!==null&&dt.document.write(Rn),dt}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(g)==="[object Window]"){var ie='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Lt.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Lt.filename+'" width="500px" height="400px" /></body></html>',pe=g.open();if(pe!==null){pe.document.write(ie);var we=this;pe.document.documentElement.querySelector("#pdfViewer").onload=function(){pe.document.title=Lt.filename,pe.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(we.output("bloburl"))}}return pe}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(g)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Ke='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Lt)+'"></iframe></body></html>',ut=g.open();if(ut!==null&&(ut.document.write(Ke),ut.document.title=Lt.filename),ut||typeof safari=="undefined")return ut;break;case"datauri":case"dataurl":return g.document.location.href=this.output("datauristring",Lt);default:return null}}),Ha=function(Lt){return Array.isArray(oi)===!0&&oi.indexOf(Lt)>-1};switch(Be){case"pt":zt=1;break;case"mm":zt=72/25.4;break;case"cm":zt=72/2.54;break;case"in":zt=72;break;case"px":zt=Ha("px_scaling")==1?.75:96/72;break;case"pc":case"em":zt=12;break;case"ex":zt=6;break;default:throw new Error("Invalid unit: "+Be)}var Yi=null;di(),Un();var Qa=function(Lt){return dr!==null?Yi.encryptor(Lt,0):function(Pr){return Pr}},Mo=_t.__private__.getPageInfo=_t.getPageInfo=function(yt){if(isNaN(yt)||yt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:vn[yt].objId,pageNumber:yt,pageContext:vn[yt]}},Qo=_t.__private__.getPageInfoByObjId=function(yt){if(isNaN(yt)||yt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Lt in vn)if(vn[Lt].objId===yt)break;return Mo(Lt)},Jo=_t.__private__.getCurrentPageInfo=_t.getCurrentPageInfo=function(){return{objId:vn[xr].objId,pageNumber:xr,pageContext:vn[xr]}};_t.addPage=function(){return fo.apply(this,arguments),this},_t.setPage=function(){return To.apply(this,arguments),Qn.call(this,vi[xr]),this},_t.insertPage=function(yt){return this.addPage(),this.movePage(xr,yt),this},_t.movePage=function(yt,Lt){var Pr,pn;if(yt>Lt){Pr=vi[yt],pn=vn[yt];for(var Rn=yt;Rn>Lt;Rn--)vi[Rn]=vi[Rn-1],vn[Rn]=vn[Rn-1];vi[Lt]=Pr,vn[Lt]=pn,this.setPage(Lt)}else if(yt<Lt){Pr=vi[yt],pn=vn[yt];for(var dt=yt;dt<Lt;dt++)vi[dt]=vi[dt+1],vn[dt]=vn[dt+1];vi[Lt]=Pr,vn[Lt]=pn,this.setPage(Lt)}return this},_t.deletePage=function(){return es.apply(this,arguments),this},_t.__private__.text=_t.text=function(yt,Lt,Pr,pn,Rn){var dt,ie,pe,we,Ke,ut,Pt,ar,wr=(pn=pn||{}).scope||this;if(typeof yt=="number"&&typeof Lt=="number"&&(typeof Pr=="string"||Array.isArray(Pr))){var jr=Pr;Pr=Lt,Lt=yt,yt=jr}if(arguments[3]instanceof Pn==!1?(pe=arguments[4],we=arguments[5],A()(Pt=arguments[3])==="object"&&Pt!==null||(typeof pe=="string"&&(we=pe,pe=null),typeof Pt=="string"&&(we=Pt,Pt=null),typeof Pt=="number"&&(pe=Pt,Pt=null),pn={flags:Pt,angle:pe,align:we})):(Gn("The transform parameter of text() with a Matrix value"),ar=Rn),isNaN(Lt)||isNaN(Pr)||yt==null)throw new Error("Invalid arguments passed to jsPDF.text");if(yt.length===0)return wr;var hn="",Tn=!1,ti=typeof pn.lineHeightFactor=="number"?pn.lineHeightFactor:Na,Ai=wr.internal.scaleFactor;function Ti(xa){return xa=xa.split(" ").join(Array(pn.TabLen||9).join(" ")),Ga(xa,Pt)}function Wi(xa){for(var Li,ea=xa.concat(),Ca=[],go=ea.length;go--;)typeof(Li=ea.shift())=="string"?Ca.push(Li):Array.isArray(xa)&&(Li.length===1||Li[1]===void 0&&Li[2]===void 0)?Ca.push(Li[0]):Ca.push([Li[0],Li[1],Li[2]]);return Ca}function na(xa,Li){var ea;if(typeof xa=="string")ea=Li(xa)[0];else if(Array.isArray(xa)){for(var Ca,go,js=xa.concat(),Is=[],Vs=js.length;Vs--;)typeof(Ca=js.shift())=="string"?Is.push(Li(Ca)[0]):Array.isArray(Ca)&&typeof Ca[0]=="string"&&(go=Li(Ca[0],Ca[1],Ca[2]),Is.push([go[0],go[1],go[2]]));ea=Is}return ea}var Ua=!1,Za=!0;if(typeof yt=="string")Ua=!0;else if(Array.isArray(yt)){var to=yt.concat();ie=[];for(var No,oo=to.length;oo--;)(typeof(No=to.shift())!="string"||Array.isArray(No)&&typeof No[0]!="string")&&(Za=!1);Ua=Za}if(Ua===!1)throw new Error('Type of text must be string or Array. "'+yt+'" is not recognized.');typeof yt=="string"&&(yt=yt.match(/[\r?\n]/)?yt.split(/\r\n|\r|\n/g):[yt]);var Do=Ui/wr.internal.scaleFactor,Wa=Do*(Na-1);switch(pn.baseline){case"bottom":Pr-=Wa;break;case"top":Pr+=Do-Wa;break;case"hanging":Pr+=Do-2*Wa;break;case"middle":Pr+=Do/2-Wa}if((ut=pn.maxWidth||0)>0&&(typeof yt=="string"?yt=wr.splitTextToSize(yt,ut):Object.prototype.toString.call(yt)==="[object Array]"&&(yt=yt.reduce(function(xa,Li){return xa.concat(wr.splitTextToSize(Li,ut))},[]))),dt={text:yt,x:Lt,y:Pr,options:pn,mutex:{pdfEscape:Ga,activeFontKey:Xt,fonts:Kr,activeFontSize:Ui}},Ln.publish("preProcessText",dt),yt=dt.text,pe=(pn=dt.options).angle,ar instanceof Pn==!1&&pe&&typeof pe=="number"){pe*=Math.PI/180,pn.rotationDirection===0&&(pe=-pe),ln===sr.ADVANCED&&(pe=-pe);var Ro=Math.cos(pe),ls=Math.sin(pe);ar=new Pn(Ro,ls,-ls,Ro,0,0)}else pe&&pe instanceof Pn&&(ar=pe);ln!==sr.ADVANCED||ar||(ar=ci),(Ke=pn.charSpace||vs)!==void 0&&(hn+=Mn(Ur(Ke))+` Tc
|
|
|
`,this.setCharSpace(this.getCharSpace()||0)),pn.lang;var wo=-1,So=pn.renderingMode!==void 0?pn.renderingMode:pn.stroke,fs=wr.internal.getCurrentPageInfo().pageContext;switch(So){case 0:case!1:case"fill":wo=0;break;case 1:case!0:case"stroke":wo=1;break;case 2:case"fillThenStroke":wo=2;break;case 3:case"invisible":wo=3;break;case 4:case"fillAndAddForClipping":wo=4;break;case 5:case"strokeAndAddPathForClipping":wo=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":wo=6;break;case 7:case"addToPathForClipping":wo=7}var Cs=fs.usedRenderingMode!==void 0?fs.usedRenderingMode:-1;wo!==-1?hn+=wo+` Tr
|
|
|
`:Cs!==-1&&(hn+=`0 Tr
|
|
|
`),wo!==-1&&(fs.usedRenderingMode=wo),we=pn.align||"left";var qo,xo=Ui*ti,Ws=wr.internal.pageSize.getWidth(),ps=Kr[Xt];Ke=pn.charSpace||vs,ut=pn.maxWidth||0,Pt=Object.assign({autoencode:!0,noBOM:!0},pn.flags);var ll=[];if(Object.prototype.toString.call(yt)==="[object Array]"){var cl;ie=Wi(yt),we!=="left"&&(qo=ie.map(function(xa){return wr.getStringUnitWidth(xa,{font:ps,charSpace:Ke,fontSize:Ui,doKerning:!1})*Ui/Ai}));var Ts,ko=0;if(we==="right"){Lt-=qo[0],yt=[],oo=ie.length;for(var Ki=0;Ki<oo;Ki++)Ki===0?(Ts=Xo(Lt),cl=Uo(Pr)):(Ts=Ur(ko-qo[Ki]),cl=-xo),yt.push([ie[Ki],Ts,cl]),ko=qo[Ki]}else if(we==="center"){Lt-=qo[0]/2,yt=[],oo=ie.length;for(var zs=0;zs<oo;zs++)zs===0?(Ts=Xo(Lt),cl=Uo(Pr)):(Ts=Ur((ko-qo[zs])/2),cl=-xo),yt.push([ie[zs],Ts,cl]),ko=qo[zs]}else if(we==="left"){yt=[],oo=ie.length;for(var nl=0;nl<oo;nl++)yt.push(ie[nl])}else{if(we!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');yt=[],oo=ie.length,ut=ut!==0?ut:Ws;for(var Ss=0;Ss<oo;Ss++)cl=Ss===0?Uo(Pr):-xo,Ts=Ss===0?Xo(Lt):0,Ss<oo-1?ll.push(Mn(Ur((ut-qo[Ss])/(ie[Ss].split(" ").length-1)))):ll.push(0),yt.push([ie[Ss],Ts,cl])}}var ts=typeof pn.R2L=="boolean"?pn.R2L:Qi;ts===!0&&(yt=na(yt,function(xa,Li,ea){return[xa.split("").reverse().join(""),Li,ea]})),dt={text:yt,x:Lt,y:Pr,options:pn,mutex:{pdfEscape:Ga,activeFontKey:Xt,fonts:Kr,activeFontSize:Ui}},Ln.publish("postProcessText",dt),yt=dt.text,Tn=dt.mutex.isHex||!1;var ml=Kr[Xt].encoding;ml!=="WinAnsiEncoding"&&ml!=="StandardEncoding"||(yt=na(yt,function(xa,Li,ea){return[Ti(xa),Li,ea]})),ie=Wi(yt),yt=[];for(var il,Ns,Us,Ds=0,Rs=1,ul=Array.isArray(ie[0])?Rs:Ds,Ms="",Qs=function(Li,ea,Ca){var go="";return Ca instanceof Pn?(Ca=typeof pn.angle=="number"?Bi(Ca,new Pn(1,0,0,1,Li,ea)):Bi(new Pn(1,0,0,1,Li,ea),Ca),ln===sr.ADVANCED&&(Ca=Bi(new Pn(1,0,0,-1,0,0),Ca)),go=Ca.join(" ")+` Tm
|
|
|
`):go=Mn(Li)+" "+Mn(ea)+` Td
|
|
|
`,go},Ys=0;Ys<ie.length;Ys++){switch(Ms="",ul){case Rs:Us=(Tn?"<":"(")+ie[Ys][0]+(Tn?">":")"),il=parseFloat(ie[Ys][1]),Ns=parseFloat(ie[Ys][2]);break;case Ds:Us=(Tn?"<":"(")+ie[Ys]+(Tn?">":")"),il=Xo(Lt),Ns=Uo(Pr)}ll!==void 0&&ll[Ys]!==void 0&&(Ms=ll[Ys]+` Tw
|
|
|
`),Ys===0?yt.push(Ms+Qs(il,Ns,ar)+Us):ul===Ds?yt.push(Ms+Us):ul===Rs&&yt.push(Ms+Qs(il,Ns,ar)+Us)}yt=ul===Ds?yt.join(` Tj
|
|
|
T* `):yt.join(` Tj
|
|
|
`),yt+=` Tj
|
|
|
`;var Js=`BT
|
|
|
/`;return Js+=Xt+" "+Ui+` Tf
|
|
|
`,Js+=Mn(Ui*ti)+` TL
|
|
|
`,Js+=Or+`
|
|
|
`,Js+=hn,Js+=yt,Xr(Js+="ET"),ir[Xt]=!0,wr};var ua=_t.__private__.clip=_t.clip=function(yt){return Xr(yt==="evenodd"?"W*":"W"),this};_t.clipEvenOdd=function(){return ua("evenodd")},_t.__private__.discardPath=_t.discardPath=function(){return Xr("n"),this};var Ya=_t.__private__.isValidStyle=function(yt){var Lt=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(yt)!==-1&&(Lt=!0),Lt};_t.__private__.setDefaultPathOperation=_t.setDefaultPathOperation=function(yt){return Ya(yt)&&(Vt=yt),this};var lo=_t.__private__.getStyle=_t.getStyle=function(yt){var Lt=Vt;switch(yt){case"D":case"S":Lt="S";break;case"F":Lt="f";break;case"FD":case"DF":Lt="B";break;case"f":case"f*":case"B":case"B*":Lt=yt}return Lt},Ci=_t.close=function(){return Xr("h"),this};_t.stroke=function(){return Xr("S"),this},_t.fill=function(yt){return Sa("f",yt),this},_t.fillEvenOdd=function(yt){return Sa("f*",yt),this},_t.fillStroke=function(yt){return Sa("B",yt),this},_t.fillStrokeEvenOdd=function(yt){return Sa("B*",yt),this};var Sa=function(Lt,Pr){A()(Pr)==="object"?Oo(Pr,Lt):Xr(Lt)},bo=function(Lt){Lt===null||ln===sr.ADVANCED&&Lt===void 0||(Lt=lo(Lt),Xr(Lt))};function Fo(yt,Lt,Pr,pn,Rn){var dt=new H(Lt||this.boundingBox,Pr||this.xStep,pn||this.yStep,this.gState,Rn||this.matrix);dt.stream=this.stream;var ie=yt+"$$"+this.cloneIndex+++"$$";return wi(ie,dt),dt}var Oo=function(Lt,Pr){var pn=Cn[Lt.key],Rn=on[pn];if(Rn instanceof U)Xr("q"),Xr(gs(Pr)),Rn.gState&&_t.setGState(Rn.gState),Xr(Lt.matrix.toString()+" cm"),Xr("/"+pn+" sh"),Xr("Q");else if(Rn instanceof H){var dt=new Pn(1,0,0,-1,0,eo());Lt.matrix&&(dt=dt.multiply(Lt.matrix||ci),pn=Fo.call(Rn,Lt.key,Lt.boundingBox,Lt.xStep,Lt.yStep,dt).id),Xr("q"),Xr("/Pattern cs"),Xr("/"+pn+" scn"),Rn.gState&&_t.setGState(Rn.gState),Xr(Pr),Xr("Q")}},gs=function(Lt){switch(Lt){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},ds=_t.moveTo=function(yt,Lt){return Xr(Mn(Ur(yt))+" "+Mn(Qr(Lt))+" m"),this},hs=_t.lineTo=function(yt,Lt){return Xr(Mn(Ur(yt))+" "+Mn(Qr(Lt))+" l"),this},ss=_t.curveTo=function(yt,Lt,Pr,pn,Rn,dt){return Xr([Mn(Ur(yt)),Mn(Qr(Lt)),Mn(Ur(Pr)),Mn(Qr(pn)),Mn(Ur(Rn)),Mn(Qr(dt)),"c"].join(" ")),this};_t.__private__.line=_t.line=function(yt,Lt,Pr,pn,Rn){if(isNaN(yt)||isNaN(Lt)||isNaN(Pr)||isNaN(pn)||!Ya(Rn))throw new Error("Invalid arguments passed to jsPDF.line");return ln===sr.COMPAT?this.lines([[Pr-yt,pn-Lt]],yt,Lt,[1,1],Rn||"S"):this.lines([[Pr-yt,pn-Lt]],yt,Lt,[1,1]).stroke()},_t.__private__.lines=_t.lines=function(yt,Lt,Pr,pn,Rn,dt){var ie,pe,we,Ke,ut,Pt,ar,wr,jr,hn,Tn,ti;if(typeof yt=="number"&&(ti=Pr,Pr=Lt,Lt=yt,yt=ti),pn=pn||[1,1],dt=dt||!1,isNaN(Lt)||isNaN(Pr)||!Array.isArray(yt)||!Array.isArray(pn)||!Ya(Rn)||typeof dt!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(ds(Lt,Pr),ie=pn[0],pe=pn[1],Ke=yt.length,hn=Lt,Tn=Pr,we=0;we<Ke;we++)(ut=yt[we]).length===2?(hn=ut[0]*ie+hn,Tn=ut[1]*pe+Tn,hs(hn,Tn)):(Pt=ut[0]*ie+hn,ar=ut[1]*pe+Tn,wr=ut[2]*ie+hn,jr=ut[3]*pe+Tn,hn=ut[4]*ie+hn,Tn=ut[5]*pe+Tn,ss(Pt,ar,wr,jr,hn,Tn));return dt&&Ci(),bo(Rn),this},_t.path=function(yt){for(var Lt=0;Lt<yt.length;Lt++){var Pr=yt[Lt],pn=Pr.c;switch(Pr.op){case"m":ds(pn[0],pn[1]);break;case"l":hs(pn[0],pn[1]);break;case"c":ss.apply(this,pn);break;case"h":Ci()}}return this},_t.__private__.rect=_t.rect=function(yt,Lt,Pr,pn,Rn){if(isNaN(yt)||isNaN(Lt)||isNaN(Pr)||isNaN(pn)||!Ya(Rn))throw new Error("Invalid arguments passed to jsPDF.rect");return ln===sr.COMPAT&&(pn=-pn),Xr([Mn(Ur(yt)),Mn(Qr(Lt)),Mn(Ur(Pr)),Mn(Ur(pn)),"re"].join(" ")),bo(Rn),this},_t.__private__.triangle=_t.triangle=function(yt,Lt,Pr,pn,Rn,dt,ie){if(isNaN(yt)||isNaN(Lt)||isNaN(Pr)||isNaN(pn)||isNaN(Rn)||isNaN(dt)||!Ya(ie))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Pr-yt,pn-Lt],[Rn-Pr,dt-pn],[yt-Rn,Lt-dt]],yt,Lt,[1,1],ie,!0),this},_t.__private__.roundedRect=_t.roundedRect=function(yt,Lt,Pr,pn,Rn,dt,ie){if(isNaN(yt)||isNaN(Lt)||isNaN(Pr)||isNaN(pn)||isNaN(Rn)||isNaN(dt)||!Ya(ie))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var pe=4/3*(Math.SQRT2-1);return Rn=Math.min(Rn,.5*Pr),dt=Math.min(dt,.5*pn),this.lines([[Pr-2*Rn,0],[Rn*pe,0,Rn,dt-dt*pe,Rn,dt],[0,pn-2*dt],[0,dt*pe,-Rn*pe,dt,-Rn,dt],[2*Rn-Pr,0],[-Rn*pe,0,-Rn,-dt*pe,-Rn,-dt],[0,2*dt-pn],[0,-dt*pe,Rn*pe,-dt,Rn,-dt]],yt+Rn,Lt,[1,1],ie,!0),this},_t.__private__.ellipse=_t.ellipse=function(yt,Lt,Pr,pn,Rn){if(isNaN(yt)||isNaN(Lt)||isNaN(Pr)||isNaN(pn)||!Ya(Rn))throw new Error("Invalid arguments passed to jsPDF.ellipse");var dt=4/3*(Math.SQRT2-1)*Pr,ie=4/3*(Math.SQRT2-1)*pn;return ds(yt+Pr,Lt),ss(yt+Pr,Lt-ie,yt+dt,Lt-pn,yt,Lt-pn),ss(yt-dt,Lt-pn,yt-Pr,Lt-ie,yt-Pr,Lt),ss(yt-Pr,Lt+ie,yt-dt,Lt+pn,yt,Lt+pn),ss(yt+dt,Lt+pn,yt+Pr,Lt+ie,yt+Pr,Lt),bo(Rn),this},_t.__private__.circle=_t.circle=function(yt,Lt,Pr,pn){if(isNaN(yt)||isNaN(Lt)||isNaN(Pr)||!Ya(pn))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(yt,Lt,Pr,Pr,pn)},_t.setFont=function(yt,Lt,Pr){return Pr&&(Lt=Nn(Lt,Pr)),Xt=Io(yt,Lt,{disableWarning:!1}),this};var $a=_t.__private__.getFont=_t.getFont=function(){return Kr[Io.apply(_t,arguments)]};_t.__private__.getFontList=_t.getFontList=function(){var yt,Lt,Pr={};for(yt in Dr)if(Dr.hasOwnProperty(yt))for(Lt in Pr[yt]=[],Dr[yt])Dr[yt].hasOwnProperty(Lt)&&Pr[yt].push(Lt);return Pr},_t.addFont=function(yt,Lt,Pr,pn,Rn){var dt=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&dt.indexOf(arguments[3])!==-1?Rn=arguments[3]:arguments[3]&&dt.indexOf(arguments[3])==-1&&(Pr=Nn(Pr,pn)),Rn=Rn||"Identity-H",vo.call(this,yt,Lt,Pr,Rn)};var Na,Vo=qe.lineWidth||.200025,Zo=_t.__private__.setLineWidth=_t.setLineWidth=function(yt){return Xr(Mn(Ur(yt))+" w"),this};_t.__private__.setLineDash=j.API.setLineDash=j.API.setLineDashPattern=function(yt,Lt){if(yt=yt||[],Lt=Lt||0,isNaN(Lt)||!Array.isArray(yt))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return yt=yt.map(function(Pr){return Mn(Ur(Pr))}).join(" "),Lt=Mn(Ur(Lt)),Xr("["+yt+"] "+Lt+" d"),this};var Da=_t.__private__.getLineHeight=_t.getLineHeight=function(){return Ui*Na};_t.__private__.getLineHeight=_t.getLineHeight=function(){return Ui*Na};var Ka=_t.__private__.setLineHeightFactor=_t.setLineHeightFactor=function(yt){return typeof(yt=yt||1.15)=="number"&&(Na=yt),this},Pa=_t.__private__.getLineHeightFactor=_t.getLineHeightFactor=function(){return Na};Ka(qe.lineHeight);var Xo=_t.__private__.getHorizontalCoordinate=function(yt){return Ur(yt)},Uo=_t.__private__.getVerticalCoordinate=function(yt){return ln===sr.ADVANCED?yt:vn[xr].mediaBox.topRightY-vn[xr].mediaBox.bottomLeftY-Ur(yt)},Lo=_t.__private__.getHorizontalCoordinateString=_t.getHorizontalCoordinateString=function(yt){return Mn(Xo(yt))},Yo=_t.__private__.getVerticalCoordinateString=_t.getVerticalCoordinateString=function(yt){return Mn(Uo(yt))},Ko=qe.strokeColor||"0 G";_t.__private__.getStrokeColor=_t.getDrawColor=function(){return ya(Ko)},_t.__private__.setStrokeColor=_t.setDrawColor=function(yt,Lt,Pr,pn){return Ko=Ea({ch1:yt,ch2:Lt,ch3:Pr,ch4:pn,pdfColorType:"draw",precision:2}),Xr(Ko),this};var jo=qe.fillColor||"0 g";_t.__private__.getFillColor=_t.getFillColor=function(){return ya(jo)},_t.__private__.setFillColor=_t.setFillColor=function(yt,Lt,Pr,pn){return jo=Ea({ch1:yt,ch2:Lt,ch3:Pr,ch4:pn,pdfColorType:"fill",precision:2}),Xr(jo),this};var Or=qe.textColor||"0 g",ui=_t.__private__.getTextColor=_t.getTextColor=function(){return ya(Or)};_t.__private__.setTextColor=_t.setTextColor=function(yt,Lt,Pr,pn){return Or=Ea({ch1:yt,ch2:Lt,ch3:Pr,ch4:pn,pdfColorType:"text",precision:3}),this};var vs=qe.charSpace,rl=_t.__private__.getCharSpace=_t.getCharSpace=function(){return parseFloat(vs||0)};_t.__private__.setCharSpace=_t.setCharSpace=function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return vs=yt,this};var Ps=0;_t.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},_t.__private__.setLineCap=_t.setLineCap=function(yt){var Lt=_t.CapJoinStyles[yt];if(Lt===void 0)throw new Error("Line cap style of '"+yt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ps=Lt,Xr(Lt+" J"),this};var Ks=0;_t.__private__.setLineJoin=_t.setLineJoin=function(yt){var Lt=_t.CapJoinStyles[yt];if(Lt===void 0)throw new Error("Line join style of '"+yt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ks=Lt,Xr(Lt+" j"),this},_t.__private__.setLineMiterLimit=_t.__private__.setMiterLimit=_t.setLineMiterLimit=_t.setMiterLimit=function(yt){if(yt=yt||0,isNaN(yt))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Xr(Mn(Ur(yt))+" M"),this},_t.GState=W,_t.setGState=function(yt){(yt=typeof yt=="string"?sn[an[yt]]:sl(null,yt)).equals(Yr)||(Xr("/"+yt.id+" gs"),Yr=yt)};var sl=function(Lt,Pr){if(!Lt||!an[Lt]){var pn=!1;for(var Rn in sn)if(sn.hasOwnProperty(Rn)&&sn[Rn].equals(Pr)){pn=!0;break}if(pn)Pr=sn[Rn];else{var dt="GS"+(Object.keys(sn).length+1).toString(10);sn[dt]=Pr,Pr.id=dt}return Lt&&(an[Lt]=Pr.id),Ln.publish("addGState",Pr),Pr}};_t.addGState=function(yt,Lt){return sl(yt,Lt),this},_t.saveGraphicsState=function(){return Xr("q"),dn.push({key:Xt,size:Ui,color:Or}),this},_t.restoreGraphicsState=function(){Xr("Q");var yt=dn.pop();return Xt=yt.key,Ui=yt.size,Or=yt.color,Yr=null,this},_t.setCurrentTransformationMatrix=function(yt){return Xr(yt.toString()+" cm"),this},_t.comment=function(yt){return Xr("#"+yt),this};var xs=function(Lt,Pr){var pn=Lt||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return pn},set:function(pe){isNaN(pe)||(pn=parseFloat(pe))}});var Rn=Pr||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Rn},set:function(pe){isNaN(pe)||(Rn=parseFloat(pe))}});var dt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return dt},set:function(pe){dt=pe.toString()}}),this},Ls=function(Lt,Pr,pn,Rn){xs.call(this,Lt,Pr),this.type="rect";var dt=pn||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return dt},set:function(we){isNaN(we)||(dt=parseFloat(we))}});var ie=Rn||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return ie},set:function(we){isNaN(we)||(ie=parseFloat(we))}}),this},Xs=function(){this.page=fn,this.currentPage=xr,this.pages=vi.slice(0),this.pagesContext=vn.slice(0),this.x=vr,this.y=or,this.matrix=Vr,this.width=Gs(xr),this.height=eo(xr),this.outputDestination=Fi,this.id="",this.objectNumber=-1};Xs.prototype.restore=function(){fn=this.page,xr=this.currentPage,vn=this.pagesContext,vi=this.pages,vr=this.x,or=this.y,Vr=this.matrix,ro(xr,this.width),ho(xr,this.height),Fi=this.outputDestination};var Es=function(Lt,Pr,pn,Rn,dt){qn.push(new Xs),fn=xr=0,vi=[],vr=Lt,or=Pr,Vr=dt,yo([pn,Rn])},_s=function(Lt){if(Ni[Lt])qn.pop().restore();else{var Pr=new Xs,pn="Xo"+(Object.keys(si).length+1).toString(10);Pr.id=pn,Ni[Lt]=pn,si[pn]=Pr,Ln.publish("addFormObject",Pr),qn.pop().restore()}};for(var pl in _t.beginFormObject=function(yt,Lt,Pr,pn,Rn){return Es(yt,Lt,Pr,pn,Rn),this},_t.endFormObject=function(yt){return _s(yt),this},_t.doFormObject=function(yt,Lt){var Pr=si[Ni[yt]];return Xr("q"),Xr(Lt.toString()+" cm"),Xr("/"+Pr.id+" Do"),Xr("Q"),this},_t.getFormObject=function(yt){var Lt=si[Ni[yt]];return{x:Lt.x,y:Lt.y,width:Lt.width,height:Lt.height,matrix:Lt.matrix}},_t.save=function(yt,Lt){return yt=yt||"generated.pdf",(Lt=Lt||{}).returnPromise=Lt.returnPromise||!1,Lt.returnPromise===!1?(r($i(Ba()),yt),typeof r.unload=="function"&&g.setTimeout&&setTimeout(r.unload,911),this):new Promise(function(Pr,pn){try{var Rn=r($i(Ba()),yt);typeof r.unload=="function"&&g.setTimeout&&setTimeout(r.unload,911),Pr(Rn)}catch(dt){pn(dt.message)}})},j.API)j.API.hasOwnProperty(pl)&&(pl==="events"&&j.API.events.length?function(yt,Lt){var Pr,pn,Rn;for(Rn=Lt.length-1;Rn!==-1;Rn--)Pr=Lt[Rn][0],pn=Lt[Rn][1],yt.subscribe.apply(yt,[Pr].concat(typeof pn=="function"?[pn]:pn))}(Ln,j.API.events):_t[pl]=j.API[pl]);var Gs=_t.getPageWidth=function(yt){return(vn[yt=yt||xr].mediaBox.topRightX-vn[yt].mediaBox.bottomLeftX)/zt},ro=_t.setPageWidth=function(yt,Lt){vn[yt].mediaBox.topRightX=Lt*zt+vn[yt].mediaBox.bottomLeftX},eo=_t.getPageHeight=function(yt){return(vn[yt=yt||xr].mediaBox.topRightY-vn[yt].mediaBox.bottomLeftY)/zt},ho=_t.setPageHeight=function(yt,Lt){vn[yt].mediaBox.topRightY=Lt*zt+vn[yt].mediaBox.bottomLeftY};return _t.internal={pdfEscape:Ga,getStyle:lo,getFont:$a,getFontSize:qi,getCharSpace:rl,getTextColor:ui,getLineHeight:Da,getLineHeightFactor:Pa,write:hi,getHorizontalCoordinate:Xo,getVerticalCoordinate:Uo,getCoordinateString:Lo,getVerticalCoordinateString:Yo,collections:{},newObject:fi,newAdditionalObject:zi,newObjectDeferred:ki,newObjectDeferredBegin:fa,getFilters:ca,putStream:ka,events:Ln,scaleFactor:zt,pageSize:{getWidth:function(){return Gs(xr)},setWidth:function(Lt){ro(xr,Lt)},getHeight:function(){return eo(xr)},setHeight:function(Lt){ho(xr,Lt)}},encryptionOptions:dr,encryption:Yi,getEncryptor:Qa,output:uo,getNumberOfPages:po,pages:vi,out:Xr,f2:mi,f3:rn,getPageInfo:Mo,getPageInfoByObjId:Qo,getCurrentPageInfo:Jo,getPDFVersion:jt,Point:xs,Rectangle:Ls,Matrix:Pn,hasHotfix:Ha},Object.defineProperty(_t.internal.pageSize,"width",{get:function(){return Gs(xr)},set:function(Lt){ro(xr,Lt)},enumerable:!0,configurable:!0}),Object.defineProperty(_t.internal.pageSize,"height",{get:function(){return eo(xr)},set:function(Lt){ho(xr,Lt)},enumerable:!0,configurable:!0}),os.call(_t,bi),Xt="F1",fo(Qe,Me),Ln.publish("initialized"),_t}k.prototype.lsbFirstWord=function(qe){return String.fromCharCode(qe>>0&255,qe>>8&255,qe>>16&255,qe>>24&255)},k.prototype.toHexString=function(qe){return qe.split("").map(function(Se){return("0"+(255&Se.charCodeAt(0)).toString(16)).slice(-2)}).join("")},k.prototype.hexToBytes=function(qe){for(var Se=[],Me=0;Me<qe.length;Me+=2)Se.push(String.fromCharCode(parseInt(qe.substr(Me,2),16)));return Se.join("")},k.prototype.processOwnerPassword=function(qe,Se){return L(x(Se).substr(0,5),qe)},k.prototype.encryptor=function(qe,Se){var Me=x(this.encryptionKey+String.fromCharCode(255&qe,qe>>8&255,qe>>16&255,255&Se,Se>>8&255)).substr(0,10);return function(Be){return L(Me,Be)}},W.prototype.equals=function(qe){var Se,Me="id,objectNumber,equals";if(!qe||A()(qe)!==A()(this))return!1;var Be=0;for(Se in this)if(!(Me.indexOf(Se)>=0)){if(this.hasOwnProperty(Se)&&!qe.hasOwnProperty(Se))return!1;if(this[Se]!==qe[Se])return!1;Be++}for(Se in qe)qe.hasOwnProperty(Se)&&Me.indexOf(Se)<0&&Be--;return Be===0},j.API={events:[]},j.version="2.4.0";var K=j.API,X=1,z=function(Se){return Se.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Y=function(Se){return Se.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},$=function(Se){return Se.toFixed(2)},ne=function(Se){return Se.toFixed(5)};K.__acroform__={};var J=function(Se,Me){Se.prototype=Object.create(Me.prototype),Se.prototype.constructor=Se},ge=function(Se){return Se*X},de=function(Se){var Me=new _e,Be=V.internal.getHeight(Se)||0,Qe=V.internal.getWidth(Se)||0;return Me.BBox=[0,0,Number($(Qe)),Number($(Be))],Me},Ie=K.__acroform__.setBit=function(qe,Se){if(qe=qe||0,Se=Se||0,isNaN(qe)||isNaN(Se))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return qe|=1<<Se},be=K.__acroform__.clearBit=function(qe,Se){if(qe=qe||0,Se=Se||0,isNaN(qe)||isNaN(Se))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return qe&=~(1<<Se)},Ce=K.__acroform__.getBit=function(qe,Se){if(isNaN(qe)||isNaN(Se))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(qe&1<<Se)==0?0:1},je=K.__acroform__.getBitForPdf=function(qe,Se){if(isNaN(qe)||isNaN(Se))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Ce(qe,Se-1)},te=K.__acroform__.setBitForPdf=function(qe,Se){if(isNaN(qe)||isNaN(Se))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Ie(qe,Se-1)},ve=K.__acroform__.clearBitForPdf=function(qe,Se){if(isNaN(qe)||isNaN(Se))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return be(qe,Se-1)},$e=K.__acroform__.calculateCoordinates=function(qe,Se){var Me=Se.internal.getHorizontalCoordinate,Be=Se.internal.getVerticalCoordinate,Qe=qe[0],Ve=qe[1],Ye=qe[2],pt=qe[3],ht={};return ht.lowerLeft_X=Me(Qe)||0,ht.lowerLeft_Y=Be(Ve+pt)||0,ht.upperRight_X=Me(Qe+Ye)||0,ht.upperRight_Y=Be(Ve)||0,[Number($(ht.lowerLeft_X)),Number($(ht.lowerLeft_Y)),Number($(ht.upperRight_X)),Number($(ht.upperRight_Y))]},Le=function(Se){if(Se.appearanceStreamContent)return Se.appearanceStreamContent;if(Se.V||Se.DV){var Me=[],Be=Se._V||Se.DV,Qe=he(Se,Be),Ve=Se.scope.internal.getFont(Se.fontName,Se.fontStyle).id;Me.push("/Tx BMC"),Me.push("q"),Me.push("BT"),Me.push(Se.scope.__private__.encodeColorString(Se.color)),Me.push("/"+Ve+" "+$(Qe.fontSize)+" Tf"),Me.push("1 0 0 1 0 0 Tm"),Me.push(Qe.text),Me.push("ET"),Me.push("Q"),Me.push("EMC");var Ye=de(Se);return Ye.scope=Se.scope,Ye.stream=Me.join(`
|
|
|
`),Ye}},he=function(Se,Me){var Be=Se.fontSize===0?Se.maxFontSize:Se.fontSize,Qe={text:"",fontSize:""},Ve=(Me=(Me=Me.substr(0,1)=="("?Me.substr(1):Me).substr(Me.length-1)==")"?Me.substr(0,Me.length-1):Me).split(" "),Ye=Be,pt=V.internal.getHeight(Se)||0;pt=pt<0?-pt:pt;var ht=V.internal.getWidth(Se)||0;ht=ht<0?-ht:ht;var Vt=function(mi,rn,Ur){if(mi+1<Ve.length){var cn=rn+" "+Ve[mi+1];return ee(cn,Se,Ur).width<=ht-4}return!1};Ye++;e:for(;Ye>0;){Me="",Ye--;var dr,tr,ir=ee("3",Se,Ye).height,_t=Se.multiline?pt-Ye:(pt-ir)/2,gr=_t+=2,jt=0,Sr=0;if(Ye<=0){Me=`(...) Tj
|
|
|
`,Me+="% Width of Text: "+ee(Me,Se,Ye=12).width+", FieldWidth:"+ht+`
|
|
|
`;break}var Ar="",sr=0;for(var ln in Ve)if(Ve.hasOwnProperty(ln)){Ar=(Ar+=Ve[ln]+" ").substr(Ar.length-1)==" "?Ar.substr(0,Ar.length-1):Ar;var _n=parseInt(ln),Wn=Vt(_n,Ar,Ye),Nn=ln>=Ve.length-1;if(Wn&&!Nn){Ar+=" ";continue}if(Wn||Nn){if(Nn)Sr=_n;else if(Se.multiline&&(ir+2)*(sr+2)+2>pt)continue e}else{if(!Se.multiline)continue e;if((ir+2)*(sr+2)+2>pt)continue e;Sr=_n}for(var Mn="",Gn=jt;Gn<=Sr;Gn++)Mn+=Ve[Gn]+" ";switch(Mn=Mn.substr(Mn.length-1)==" "?Mn.substr(0,Mn.length-1):Mn,tr=ee(Mn,Se,Ye).width,Se.textAlign){case"right":dr=ht-tr-2;break;case"center":dr=(ht-tr)/2;break;case"left":default:dr=2}Me+=$(dr)+" "+$(gr)+` Td
|
|
|
`,Me+="("+z(Mn)+`) Tj
|
|
|
`,Me+=-$(dr)+` 0 Td
|
|
|
`,gr=-(Ye+2),tr=0,jt=Sr+1,sr++,Ar=""}break}return Qe.text=Me,Qe.fontSize=Ye,Qe},ee=function(Se,Me,Be){var Qe=Me.scope.internal.getFont(Me.fontName,Me.fontStyle),Ve=Me.scope.getStringUnitWidth(Se,{font:Qe,fontSize:parseFloat(Be),charSpace:0})*parseFloat(Be);return{height:Me.scope.getStringUnitWidth("3",{font:Qe,fontSize:parseFloat(Be),charSpace:0})*parseFloat(Be)*1.5,width:Ve}},se={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Ue=function(Se,Me){var Be={type:"reference",object:Se};Me.internal.getPageInfo(Se.page).pageContext.annotations.find(function(Qe){return Qe.type===Be.type&&Qe.object===Be.object})===void 0&&Me.internal.getPageInfo(Se.page).pageContext.annotations.push(Be)},ue=function(Se,Me){for(var Be in Se)if(Se.hasOwnProperty(Be)){var Qe=Be,Ve=Se[Be];Me.internal.newObjectDeferredBegin(Ve.objId,!0),A()(Ve)==="object"&&typeof Ve.putStream=="function"&&Ve.putStream(),delete Se[Qe]}},Ne=function(Se,Me){if(Me.scope=Se,Se.internal!==void 0&&(Se.internal.acroformPlugin===void 0||Se.internal.acroformPlugin.isInitialized===!1)){if(it.FieldNum=0,Se.internal.acroformPlugin=JSON.parse(JSON.stringify(se)),Se.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");X=Se.internal.scaleFactor,Se.internal.acroformPlugin.acroFormDictionaryRoot=new ze,Se.internal.acroformPlugin.acroFormDictionaryRoot.scope=Se,Se.internal.acroformPlugin.acroFormDictionaryRoot._eventID=Se.internal.events.subscribe("postPutResources",function(){!function(Be){Be.internal.events.unsubscribe(Be.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete Be.internal.acroformPlugin.acroFormDictionaryRoot._eventID,Be.internal.acroformPlugin.printedOut=!0}(Se)}),Se.internal.events.subscribe("buildDocument",function(){!function(Be){Be.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var Qe=Be.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var Ve in Qe)if(Qe.hasOwnProperty(Ve)){var Ye=Qe[Ve];Ye.objId=void 0,Ye.hasAnnotation&&Ue(Ye,Be)}}(Se)}),Se.internal.events.subscribe("putCatalog",function(){!function(Be){if(Be.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");Be.internal.write("/AcroForm "+Be.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(Se)}),Se.internal.events.subscribe("postPutPages",function(Be){!function(Qe,Ve){var Ye=!Qe;for(var pt in Qe||(Ve.internal.newObjectDeferredBegin(Ve.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Ve.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),Qe=Qe||Ve.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(Qe.hasOwnProperty(pt)){var ht=Qe[pt],Vt=[],dr=ht.Rect;if(ht.Rect&&(ht.Rect=$e(ht.Rect,Ve)),Ve.internal.newObjectDeferredBegin(ht.objId,!0),ht.DA=V.createDefaultAppearanceStream(ht),A()(ht)==="object"&&typeof ht.getKeyValueListForStream=="function"&&(Vt=ht.getKeyValueListForStream()),ht.Rect=dr,ht.hasAppearanceStream&&!ht.appearanceStreamContent){var tr=Le(ht);Vt.push({key:"AP",value:"<</N "+tr+">>"}),Ve.internal.acroformPlugin.xForms.push(tr)}if(ht.appearanceStreamContent){var ir="";for(var _t in ht.appearanceStreamContent)if(ht.appearanceStreamContent.hasOwnProperty(_t)){var gr=ht.appearanceStreamContent[_t];if(ir+="/"+_t+" ",ir+="<<",Object.keys(gr).length>=1||Array.isArray(gr)){for(var pt in gr)if(gr.hasOwnProperty(pt)){var jt=gr[pt];typeof jt=="function"&&(jt=jt.call(Ve,ht)),ir+="/"+pt+" "+jt+" ",Ve.internal.acroformPlugin.xForms.indexOf(jt)>=0||Ve.internal.acroformPlugin.xForms.push(jt)}}else typeof(jt=gr)=="function"&&(jt=jt.call(Ve,ht)),ir+="/"+pt+" "+jt,Ve.internal.acroformPlugin.xForms.indexOf(jt)>=0||Ve.internal.acroformPlugin.xForms.push(jt);ir+=">>"}Vt.push({key:"AP",value:`<<
|
|
|
`+ir+">>"})}Ve.internal.putStream({additionalKeyValues:Vt,objectId:ht.objId}),Ve.internal.out("endobj")}Ye&&ue(Ve.internal.acroformPlugin.xForms,Ve)}(Be,Se)}),Se.internal.acroformPlugin.isInitialized=!0}},Fe=K.__acroform__.arrayToPdfArray=function(qe,Se,Me){var Be=function(pt){return pt};if(Array.isArray(qe)){for(var Qe="[",Ve=0;Ve<qe.length;Ve++)switch(Ve!==0&&(Qe+=" "),A()(qe[Ve])){case"boolean":case"number":case"object":Qe+=qe[Ve].toString();break;case"string":qe[Ve].substr(0,1)!=="/"?(Se!==void 0&&Me&&(Be=Me.internal.getEncryptor(Se)),Qe+="("+z(Be(qe[Ve].toString()))+")"):Qe+=qe[Ve].toString()}return Qe+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},ae=function(Se,Me,Be){var Qe=function(Ye){return Ye};return Me!==void 0&&Be&&(Qe=Be.internal.getEncryptor(Me)),(Se=Se||"").toString(),Se="("+z(Qe(Se))+")"},ce=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(Me){this._objId=Me}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};ce.prototype.toString=function(){return this.objId+" 0 R"},ce.prototype.putStream=function(){var qe=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:qe,objectId:this.objId}),this.scope.internal.out("endobj")},ce.prototype.getKeyValueListForStream=function(){var qe=[],Se=Object.getOwnPropertyNames(this).filter(function(Ve){return Ve!="content"&&Ve!="appearanceStreamContent"&&Ve!="scope"&&Ve!="objId"&&Ve.substring(0,1)!="_"});for(var Me in Se)if(Object.getOwnPropertyDescriptor(this,Se[Me]).configurable===!1){var Be=Se[Me],Qe=this[Be];Qe&&(Array.isArray(Qe)?qe.push({key:Be,value:Fe(Qe,this.objId,this.scope)}):Qe instanceof ce?(Qe.scope=this.scope,qe.push({key:Be,value:Qe.objId+" 0 R"})):typeof Qe!="function"&&qe.push({key:Be,value:Qe}))}return qe};var _e=function(){ce.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var Se,Me=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return Me},set:function(Qe){Me=Qe}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(Qe){Se=Qe.trim()},get:function(){return Se||null}})};J(_e,ce);var ze=function(){ce.call(this);var Se,Me=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return Me.length>0?Me:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return Me}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(Se){var Qe=function(Ye){return Ye};return this.scope&&(Qe=this.scope.internal.getEncryptor(this.objId)),"("+z(Qe(Se))+")"}},set:function(Qe){Se=Qe}})};J(ze,ce);var it=function qe(){ce.call(this);var Se=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return Se},set:function(sr){if(isNaN(sr))throw new Error('Invalid value "'+sr+'" for attribute F supplied.');Se=sr}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(Se,3))},set:function(sr){Boolean(sr)===!0?this.F=te(Se,3):this.F=ve(Se,3)}});var Me=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return Me},set:function(sr){if(isNaN(sr))throw new Error('Invalid value "'+sr+'" for attribute Ff supplied.');Me=sr}});var Be=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(Be.length!==0)return Be},set:function(sr){Be=sr!==void 0?sr:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!Be||isNaN(Be[0])?0:Be[0]},set:function(sr){Be[0]=sr}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!Be||isNaN(Be[1])?0:Be[1]},set:function(sr){Be[1]=sr}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!Be||isNaN(Be[2])?0:Be[2]},set:function(sr){Be[2]=sr}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!Be||isNaN(Be[3])?0:Be[3]},set:function(sr){Be[3]=sr}});var Qe="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return Qe},set:function(sr){switch(sr){case"/Btn":case"/Tx":case"/Ch":case"/Sig":Qe=sr;break;default:throw new Error('Invalid value "'+sr+'" for attribute FT supplied.')}}});var Ve=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!Ve||Ve.length<1){if(this instanceof Ct)return;Ve="FieldObject"+qe.FieldNum++}var sr=function(_n){return _n};return this.scope&&(sr=this.scope.internal.getEncryptor(this.objId)),"("+z(sr(Ve))+")"},set:function(sr){Ve=sr.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return Ve},set:function(sr){Ve=sr}});var Ye="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Ye},set:function(sr){Ye=sr}});var pt="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return pt},set:function(sr){pt=sr}});var ht=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return ht},set:function(sr){ht=sr}});var Vt=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Vt===void 0?50/X:Vt},set:function(sr){Vt=sr}});var dr="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return dr},set:function(sr){dr=sr}});var tr="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!tr||this instanceof Ct||this instanceof Xe))return ae(tr,this.objId,this.scope)},set:function(sr){sr=sr.toString(),tr=sr}});var ir=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(ir)return this instanceof rt==!1?ae(ir,this.objId,this.scope):ir},set:function(sr){sr=sr.toString(),ir=this instanceof rt==!1?sr.substr(0,1)==="("?Y(sr.substr(1,sr.length-2)):Y(sr):sr}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof rt==!0?Y(ir.substr(1,ir.length-1)):ir},set:function(sr){sr=sr.toString(),ir=this instanceof rt==!0?"/"+sr:sr}});var _t=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(_t)return _t},set:function(sr){this.V=sr}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(_t)return this instanceof rt==!1?ae(_t,this.objId,this.scope):_t},set:function(sr){sr=sr.toString(),_t=this instanceof rt==!1?sr.substr(0,1)==="("?Y(sr.substr(1,sr.length-2)):Y(sr):sr}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof rt==!0?Y(_t.substr(1,_t.length-1)):_t},set:function(sr){sr=sr.toString(),_t=this instanceof rt==!0?"/"+sr:sr}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var gr,jt=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return jt},set:function(sr){sr=Boolean(sr),jt=sr}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(gr)return gr},set:function(sr){gr=sr}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,1))},set:function(sr){Boolean(sr)===!0?this.Ff=te(this.Ff,1):this.Ff=ve(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,2))},set:function(sr){Boolean(sr)===!0?this.Ff=te(this.Ff,2):this.Ff=ve(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,3))},set:function(sr){Boolean(sr)===!0?this.Ff=te(this.Ff,3):this.Ff=ve(this.Ff,3)}});var Sr=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Sr!==null)return Sr},set:function(sr){if([0,1,2].indexOf(sr)===-1)throw new Error('Invalid value "'+sr+'" for attribute Q supplied.');Sr=sr}}),Object.defineProperty(this,"textAlign",{get:function(){var sr;switch(Sr){case 0:default:sr="left";break;case 1:sr="center";break;case 2:sr="right"}return sr},configurable:!0,enumerable:!0,set:function(sr){switch(sr){case"right":case 2:Sr=2;break;case"center":case 1:Sr=1;break;case"left":case 0:default:Sr=0}}})};J(it,ce);var Ze=function(){it.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var Se=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return Se},set:function(Qe){Se=Qe}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return Se},set:function(Qe){Se=Qe}});var Me=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Fe(Me,this.objId,this.scope)},set:function(Qe){var Ve,Ye;Ye=[],typeof(Ve=Qe)=="string"&&(Ye=function(pt,ht,Vt){Vt||(Vt=1);for(var dr,tr=[];dr=ht.exec(pt);)tr.push(dr[Vt]);return tr}(Ve,/\((.*?)\)/g)),Me=Ye}}),this.getOptions=function(){return Me},this.setOptions=function(Be){Me=Be,this.sort&&Me.sort()},this.addOption=function(Be){Be=(Be=Be||"").toString(),Me.push(Be),this.sort&&Me.sort()},this.removeOption=function(Be,Qe){for(Qe=Qe||!1,Be=(Be=Be||"").toString();Me.indexOf(Be)!==-1&&(Me.splice(Me.indexOf(Be),1),Qe!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,18))},set:function(Qe){Boolean(Qe)===!0?this.Ff=te(this.Ff,18):this.Ff=ve(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,19))},set:function(Qe){this.combo===!0&&(Boolean(Qe)===!0?this.Ff=te(this.Ff,19):this.Ff=ve(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,20))},set:function(Qe){Boolean(Qe)===!0?(this.Ff=te(this.Ff,20),Me.sort()):this.Ff=ve(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,22))},set:function(Qe){Boolean(Qe)===!0?this.Ff=te(this.Ff,22):this.Ff=ve(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,23))},set:function(Qe){Boolean(Qe)===!0?this.Ff=te(this.Ff,23):this.Ff=ve(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,27))},set:function(Qe){Boolean(Qe)===!0?this.Ff=te(this.Ff,27):this.Ff=ve(this.Ff,27)}}),this.hasAppearanceStream=!1};J(Ze,it);var Ee=function(){Ze.call(this),this.fontName="helvetica",this.combo=!1};J(Ee,Ze);var mt=function(){Ee.call(this),this.combo=!0};J(mt,Ee);var Je=function(){mt.call(this),this.edit=!0};J(Je,mt);var rt=function(){it.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,15))},set:function(Qe){Boolean(Qe)===!0?this.Ff=te(this.Ff,15):this.Ff=ve(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,16))},set:function(Qe){Boolean(Qe)===!0?this.Ff=te(this.Ff,16):this.Ff=ve(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,17))},set:function(Qe){Boolean(Qe)===!0?this.Ff=te(this.Ff,17):this.Ff=ve(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,26))},set:function(Qe){Boolean(Qe)===!0?this.Ff=te(this.Ff,26):this.Ff=ve(this.Ff,26)}});var Se,Me={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Qe=function(ht){return ht};if(this.scope&&(Qe=this.scope.internal.getEncryptor(this.objId)),Object.keys(Me).length!==0){var Ve,Ye=[];for(Ve in Ye.push("<<"),Me)Ye.push("/"+Ve+" ("+z(Qe(Me[Ve]))+")");return Ye.push(">>"),Ye.join(`
|
|
|
`)}},set:function(Qe){A()(Qe)==="object"&&(Me=Qe)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Me.CA||""},set:function(Qe){typeof Qe=="string"&&(Me.CA=Qe)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Se},set:function(Qe){Se=Qe}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Se.substr(1,Se.length-1)},set:function(Qe){Se="/"+Qe}})};J(rt,it);var wt=function(){rt.call(this),this.pushButton=!0};J(wt,rt);var Ot=function(){rt.call(this),this.radio=!0,this.pushButton=!1;var Se=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return Se},set:function(Be){Se=Be!==void 0?Be:[]}})};J(Ot,rt);var Ct=function(){var Se,Me;it.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return Se},set:function(Ye){Se=Ye}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return Me},set:function(Ye){Me=Ye}});var Be,Qe={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Ye=function(dr){return dr};this.scope&&(Ye=this.scope.internal.getEncryptor(this.objId));var pt,ht=[];for(pt in ht.push("<<"),Qe)ht.push("/"+pt+" ("+z(Ye(Qe[pt]))+")");return ht.push(">>"),ht.join(`
|
|
|
`)},set:function(Ye){A()(Ye)==="object"&&(Qe=Ye)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Qe.CA||""},set:function(Ye){typeof Ye=="string"&&(Qe.CA=Ye)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Be},set:function(Ye){Be=Ye}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Be.substr(1,Be.length-1)},set:function(Ye){Be="/"+Ye}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=V.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};J(Ct,it),Ot.prototype.setAppearance=function(qe){if(!("createAppearanceStream"in qe)||!("getCA"in qe))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var Se in this.Kids)if(this.Kids.hasOwnProperty(Se)){var Me=this.Kids[Se];Me.appearanceStreamContent=qe.createAppearanceStream(Me.optionName),Me.caption=qe.getCA()}},Ot.prototype.createOption=function(qe){var Se=new Ct;return Se.Parent=this,Se.optionName=qe,this.Kids.push(Se),Ae.call(this.scope,Se),Se};var Dt=function(){rt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=V.CheckBox.createAppearanceStream()};J(Dt,rt);var Xe=function(){it.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,13))},set:function(Be){Boolean(Be)===!0?this.Ff=te(this.Ff,13):this.Ff=ve(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,21))},set:function(Be){Boolean(Be)===!0?this.Ff=te(this.Ff,21):this.Ff=ve(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,23))},set:function(Be){Boolean(Be)===!0?this.Ff=te(this.Ff,23):this.Ff=ve(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,24))},set:function(Be){Boolean(Be)===!0?this.Ff=te(this.Ff,24):this.Ff=ve(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,25))},set:function(Be){Boolean(Be)===!0?this.Ff=te(this.Ff,25):this.Ff=ve(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,26))},set:function(Be){Boolean(Be)===!0?this.Ff=te(this.Ff,26):this.Ff=ve(this.Ff,26)}});var Se=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return Se},set:function(Be){Se=Be}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return Se},set:function(Be){Number.isInteger(Be)&&(Se=Be)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};J(Xe,it);var q=function(){Xe.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(je(this.Ff,14))},set:function(Me){Boolean(Me)===!0?this.Ff=te(this.Ff,14):this.Ff=ve(this.Ff,14)}}),this.password=!0};J(q,Xe);var V={CheckBox:{createAppearanceStream:function(){return{N:{On:V.CheckBox.YesNormal},D:{On:V.CheckBox.YesPushDown,Off:V.CheckBox.OffPushDown}}},YesPushDown:function(Se){var Me=de(Se);Me.scope=Se.scope;var Be=[],Qe=Se.scope.internal.getFont(Se.fontName,Se.fontStyle).id,Ve=Se.scope.__private__.encodeColorString(Se.color),Ye=he(Se,Se.caption);return Be.push("0.749023 g"),Be.push("0 0 "+$(V.internal.getWidth(Se))+" "+$(V.internal.getHeight(Se))+" re"),Be.push("f"),Be.push("BMC"),Be.push("q"),Be.push("0 0 1 rg"),Be.push("/"+Qe+" "+$(Ye.fontSize)+" Tf "+Ve),Be.push("BT"),Be.push(Ye.text),Be.push("ET"),Be.push("Q"),Be.push("EMC"),Me.stream=Be.join(`
|
|
|
`),Me},YesNormal:function(Se){var Me=de(Se);Me.scope=Se.scope;var Be=Se.scope.internal.getFont(Se.fontName,Se.fontStyle).id,Qe=Se.scope.__private__.encodeColorString(Se.color),Ve=[],Ye=V.internal.getHeight(Se),pt=V.internal.getWidth(Se),ht=he(Se,Se.caption);return Ve.push("1 g"),Ve.push("0 0 "+$(pt)+" "+$(Ye)+" re"),Ve.push("f"),Ve.push("q"),Ve.push("0 0 1 rg"),Ve.push("0 0 "+$(pt-1)+" "+$(Ye-1)+" re"),Ve.push("W"),Ve.push("n"),Ve.push("0 g"),Ve.push("BT"),Ve.push("/"+Be+" "+$(ht.fontSize)+" Tf "+Qe),Ve.push(ht.text),Ve.push("ET"),Ve.push("Q"),Me.stream=Ve.join(`
|
|
|
`),Me},OffPushDown:function(Se){var Me=de(Se);Me.scope=Se.scope;var Be=[];return Be.push("0.749023 g"),Be.push("0 0 "+$(V.internal.getWidth(Se))+" "+$(V.internal.getHeight(Se))+" re"),Be.push("f"),Me.stream=Be.join(`
|
|
|
`),Me}},RadioButton:{Circle:{createAppearanceStream:function(Se){var Me={D:{Off:V.RadioButton.Circle.OffPushDown},N:{}};return Me.N[Se]=V.RadioButton.Circle.YesNormal,Me.D[Se]=V.RadioButton.Circle.YesPushDown,Me},getCA:function(){return"l"},YesNormal:function(Se){var Me=de(Se);Me.scope=Se.scope;var Be=[],Qe=V.internal.getWidth(Se)<=V.internal.getHeight(Se)?V.internal.getWidth(Se)/4:V.internal.getHeight(Se)/4;Qe=Number((.9*Qe).toFixed(5));var Ve=V.internal.Bezier_C,Ye=Number((Qe*Ve).toFixed(5));return Be.push("q"),Be.push("1 0 0 1 "+ne(V.internal.getWidth(Se)/2)+" "+ne(V.internal.getHeight(Se)/2)+" cm"),Be.push(Qe+" 0 m"),Be.push(Qe+" "+Ye+" "+Ye+" "+Qe+" 0 "+Qe+" c"),Be.push("-"+Ye+" "+Qe+" -"+Qe+" "+Ye+" -"+Qe+" 0 c"),Be.push("-"+Qe+" -"+Ye+" -"+Ye+" -"+Qe+" 0 -"+Qe+" c"),Be.push(Ye+" -"+Qe+" "+Qe+" -"+Ye+" "+Qe+" 0 c"),Be.push("f"),Be.push("Q"),Me.stream=Be.join(`
|
|
|
`),Me},YesPushDown:function(Se){var Me=de(Se);Me.scope=Se.scope;var Be=[],Qe=V.internal.getWidth(Se)<=V.internal.getHeight(Se)?V.internal.getWidth(Se)/4:V.internal.getHeight(Se)/4;Qe=Number((.9*Qe).toFixed(5));var Ve=Number((2*Qe).toFixed(5)),Ye=Number((Ve*V.internal.Bezier_C).toFixed(5)),pt=Number((Qe*V.internal.Bezier_C).toFixed(5));return Be.push("0.749023 g"),Be.push("q"),Be.push("1 0 0 1 "+ne(V.internal.getWidth(Se)/2)+" "+ne(V.internal.getHeight(Se)/2)+" cm"),Be.push(Ve+" 0 m"),Be.push(Ve+" "+Ye+" "+Ye+" "+Ve+" 0 "+Ve+" c"),Be.push("-"+Ye+" "+Ve+" -"+Ve+" "+Ye+" -"+Ve+" 0 c"),Be.push("-"+Ve+" -"+Ye+" -"+Ye+" -"+Ve+" 0 -"+Ve+" c"),Be.push(Ye+" -"+Ve+" "+Ve+" -"+Ye+" "+Ve+" 0 c"),Be.push("f"),Be.push("Q"),Be.push("0 g"),Be.push("q"),Be.push("1 0 0 1 "+ne(V.internal.getWidth(Se)/2)+" "+ne(V.internal.getHeight(Se)/2)+" cm"),Be.push(Qe+" 0 m"),Be.push(Qe+" "+pt+" "+pt+" "+Qe+" 0 "+Qe+" c"),Be.push("-"+pt+" "+Qe+" -"+Qe+" "+pt+" -"+Qe+" 0 c"),Be.push("-"+Qe+" -"+pt+" -"+pt+" -"+Qe+" 0 -"+Qe+" c"),Be.push(pt+" -"+Qe+" "+Qe+" -"+pt+" "+Qe+" 0 c"),Be.push("f"),Be.push("Q"),Me.stream=Be.join(`
|
|
|
`),Me},OffPushDown:function(Se){var Me=de(Se);Me.scope=Se.scope;var Be=[],Qe=V.internal.getWidth(Se)<=V.internal.getHeight(Se)?V.internal.getWidth(Se)/4:V.internal.getHeight(Se)/4;Qe=Number((.9*Qe).toFixed(5));var Ve=Number((2*Qe).toFixed(5)),Ye=Number((Ve*V.internal.Bezier_C).toFixed(5));return Be.push("0.749023 g"),Be.push("q"),Be.push("1 0 0 1 "+ne(V.internal.getWidth(Se)/2)+" "+ne(V.internal.getHeight(Se)/2)+" cm"),Be.push(Ve+" 0 m"),Be.push(Ve+" "+Ye+" "+Ye+" "+Ve+" 0 "+Ve+" c"),Be.push("-"+Ye+" "+Ve+" -"+Ve+" "+Ye+" -"+Ve+" 0 c"),Be.push("-"+Ve+" -"+Ye+" -"+Ye+" -"+Ve+" 0 -"+Ve+" c"),Be.push(Ye+" -"+Ve+" "+Ve+" -"+Ye+" "+Ve+" 0 c"),Be.push("f"),Be.push("Q"),Me.stream=Be.join(`
|
|
|
`),Me}},Cross:{createAppearanceStream:function(Se){var Me={D:{Off:V.RadioButton.Cross.OffPushDown},N:{}};return Me.N[Se]=V.RadioButton.Cross.YesNormal,Me.D[Se]=V.RadioButton.Cross.YesPushDown,Me},getCA:function(){return"8"},YesNormal:function(Se){var Me=de(Se);Me.scope=Se.scope;var Be=[],Qe=V.internal.calculateCross(Se);return Be.push("q"),Be.push("1 1 "+$(V.internal.getWidth(Se)-2)+" "+$(V.internal.getHeight(Se)-2)+" re"),Be.push("W"),Be.push("n"),Be.push($(Qe.x1.x)+" "+$(Qe.x1.y)+" m"),Be.push($(Qe.x2.x)+" "+$(Qe.x2.y)+" l"),Be.push($(Qe.x4.x)+" "+$(Qe.x4.y)+" m"),Be.push($(Qe.x3.x)+" "+$(Qe.x3.y)+" l"),Be.push("s"),Be.push("Q"),Me.stream=Be.join(`
|
|
|
`),Me},YesPushDown:function(Se){var Me=de(Se);Me.scope=Se.scope;var Be=V.internal.calculateCross(Se),Qe=[];return Qe.push("0.749023 g"),Qe.push("0 0 "+$(V.internal.getWidth(Se))+" "+$(V.internal.getHeight(Se))+" re"),Qe.push("f"),Qe.push("q"),Qe.push("1 1 "+$(V.internal.getWidth(Se)-2)+" "+$(V.internal.getHeight(Se)-2)+" re"),Qe.push("W"),Qe.push("n"),Qe.push($(Be.x1.x)+" "+$(Be.x1.y)+" m"),Qe.push($(Be.x2.x)+" "+$(Be.x2.y)+" l"),Qe.push($(Be.x4.x)+" "+$(Be.x4.y)+" m"),Qe.push($(Be.x3.x)+" "+$(Be.x3.y)+" l"),Qe.push("s"),Qe.push("Q"),Me.stream=Qe.join(`
|
|
|
`),Me},OffPushDown:function(Se){var Me=de(Se);Me.scope=Se.scope;var Be=[];return Be.push("0.749023 g"),Be.push("0 0 "+$(V.internal.getWidth(Se))+" "+$(V.internal.getHeight(Se))+" re"),Be.push("f"),Me.stream=Be.join(`
|
|
|
`),Me}}},createDefaultAppearanceStream:function(Se){var Me=Se.scope.internal.getFont(Se.fontName,Se.fontStyle).id,Be=Se.scope.__private__.encodeColorString(Se.color);return"/"+Me+" "+Se.fontSize+" Tf "+Be}};V.internal={Bezier_C:.551915024494,calculateCross:function(Se){var Me=V.internal.getWidth(Se),Be=V.internal.getHeight(Se),Qe=Math.min(Me,Be);return{x1:{x:(Me-Qe)/2,y:(Be-Qe)/2+Qe},x2:{x:(Me-Qe)/2+Qe,y:(Be-Qe)/2},x3:{x:(Me-Qe)/2,y:(Be-Qe)/2},x4:{x:(Me-Qe)/2+Qe,y:(Be-Qe)/2+Qe}}}},V.internal.getWidth=function(qe){var Se=0;return A()(qe)==="object"&&(Se=ge(qe.Rect[2])),Se},V.internal.getHeight=function(qe){var Se=0;return A()(qe)==="object"&&(Se=ge(qe.Rect[3])),Se};var Ae=K.addField=function(qe){if(Ne(this,qe),!(qe instanceof it))throw new Error("Invalid argument passed to jsPDF.addField.");var Se;return(Se=qe).scope.internal.acroformPlugin.printedOut&&(Se.scope.internal.acroformPlugin.printedOut=!1,Se.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),Se.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(Se),qe.page=qe.scope.internal.getCurrentPageInfo().pageNumber,this};K.AcroFormChoiceField=Ze,K.AcroFormListBox=Ee,K.AcroFormComboBox=mt,K.AcroFormEditBox=Je,K.AcroFormButton=rt,K.AcroFormPushButton=wt,K.AcroFormRadioButton=Ot,K.AcroFormCheckBox=Dt,K.AcroFormTextField=Xe,K.AcroFormPasswordField=q,K.AcroFormAppearance=V,K.AcroForm={ChoiceField:Ze,ListBox:Ee,ComboBox:mt,EditBox:Je,Button:rt,PushButton:wt,RadioButton:Ot,CheckBox:Dt,TextField:Xe,PasswordField:q,Appearance:V},j.AcroForm={ChoiceField:Ze,ListBox:Ee,ComboBox:mt,EditBox:Je,Button:rt,PushButton:wt,RadioButton:Ot,CheckBox:Dt,TextField:Xe,PasswordField:q,Appearance:V};var xe=j.AcroForm;function re(qe){return qe.reduce(function(Se,Me,Be){return Se[Me]=Be,Se},{})}!function(qe){qe.__addimage__={};var Se="UNKNOWN",Me={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},Be=qe.__addimage__.getImageFileTypeByImageData=function(rn,Ur){var cn,Qr,Vn,Hn,li,Un=Se;if((Ur=Ur||Se)==="RGBA"||rn.data!==void 0&&rn.data instanceof Uint8ClampedArray&&"height"in rn&&"width"in rn)return"RGBA";if(Nn(rn))for(li in Me)for(Vn=Me[li],cn=0;cn<Vn.length;cn+=1){for(Hn=!0,Qr=0;Qr<Vn[cn].length;Qr+=1)if(Vn[cn][Qr]!==void 0&&Vn[cn][Qr]!==rn[Qr]){Hn=!1;break}if(Hn===!0){Un=li;break}}else for(li in Me)for(Vn=Me[li],cn=0;cn<Vn.length;cn+=1){for(Hn=!0,Qr=0;Qr<Vn[cn].length;Qr+=1)if(Vn[cn][Qr]!==void 0&&Vn[cn][Qr]!==rn.charCodeAt(Qr)){Hn=!1;break}if(Hn===!0){Un=li;break}}return Un===Se&&Ur!==Se&&(Un=Ur),Un},Qe=function rn(Ur){for(var cn=this.internal.write,Qr=this.internal.putStream,Vn=(0,this.internal.getFilters)();Vn.indexOf("FlateEncode")!==-1;)Vn.splice(Vn.indexOf("FlateEncode"),1);Ur.objectId=this.internal.newObject();var Hn=[];if(Hn.push({key:"Type",value:"/XObject"}),Hn.push({key:"Subtype",value:"/Image"}),Hn.push({key:"Width",value:Ur.width}),Hn.push({key:"Height",value:Ur.height}),Ur.colorSpace===Sr.INDEXED?Hn.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Ur.palette.length/3-1)+" "+("sMask"in Ur&&Ur.sMask!==void 0?Ur.objectId+2:Ur.objectId+1)+" 0 R]"}):(Hn.push({key:"ColorSpace",value:"/"+Ur.colorSpace}),Ur.colorSpace===Sr.DEVICE_CMYK&&Hn.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Hn.push({key:"BitsPerComponent",value:Ur.bitsPerComponent}),"decodeParameters"in Ur&&Ur.decodeParameters!==void 0&&Hn.push({key:"DecodeParms",value:"<<"+Ur.decodeParameters+">>"}),"transparency"in Ur&&Array.isArray(Ur.transparency)){for(var li="",Un=0,gi=Ur.transparency.length;Un<gi;Un++)li+=Ur.transparency[Un]+" "+Ur.transparency[Un]+" ";Hn.push({key:"Mask",value:"["+li+"]"})}Ur.sMask!==void 0&&Hn.push({key:"SMask",value:Ur.objectId+1+" 0 R"});var Bn=Ur.filter!==void 0?["/"+Ur.filter]:void 0;if(Qr({data:Ur.data,additionalKeyValues:Hn,alreadyAppliedFilters:Bn,objectId:Ur.objectId}),cn("endobj"),"sMask"in Ur&&Ur.sMask!==void 0){var di="/Predictor "+Ur.predictor+" /Colors 1 /BitsPerComponent "+Ur.bitsPerComponent+" /Columns "+Ur.width,qr={width:Ur.width,height:Ur.height,colorSpace:"DeviceGray",bitsPerComponent:Ur.bitsPerComponent,decodeParameters:di,data:Ur.sMask};"filter"in Ur&&(qr.filter=Ur.filter),rn.call(this,qr)}if(Ur.colorSpace===Sr.INDEXED){var xr=this.internal.newObject();Qr({data:Gn(new Uint8Array(Ur.palette)),objectId:xr}),cn("endobj")}},Ve=function(){var Ur=this.internal.collections.addImage_images;for(var cn in Ur)Qe.call(this,Ur[cn])},Ye=function(){var Ur,cn=this.internal.collections.addImage_images,Qr=this.internal.write;for(var Vn in cn)Qr("/I"+(Ur=cn[Vn]).index,Ur.objectId,"0","R")},pt=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",Ve),this.internal.events.subscribe("putXobjectDict",Ye))},ht=function(){var Ur=this.internal.collections.addImage_images;return pt.call(this),Ur},Vt=function(){return Object.keys(this.internal.collections.addImage_images).length},dr=function(Ur){return typeof qe["process"+Ur.toUpperCase()]=="function"},tr=function(Ur){return A()(Ur)==="object"&&Ur.nodeType===1},ir=function(Ur,cn){if(Ur.nodeName==="IMG"&&Ur.hasAttribute("src")){var Qr=""+Ur.getAttribute("src");if(Qr.indexOf("data:image/")===0)return n(unescape(Qr).split("base64,").pop());var Vn=qe.loadFile(Qr,!0);if(Vn!==void 0)return Vn}if(Ur.nodeName==="CANVAS"){if(Ur.width===0||Ur.height===0)throw new Error("Given canvas must have data. Canvas width: "+Ur.width+", height: "+Ur.height);var Hn;switch(cn){case"PNG":Hn="image/png";break;case"WEBP":Hn="image/webp";break;case"JPEG":case"JPG":default:Hn="image/jpeg"}return n(Ur.toDataURL(Hn,1).split("base64,").pop())}},_t=function(Ur){var cn=this.internal.collections.addImage_images;if(cn){for(var Qr in cn)if(Ur===cn[Qr].alias)return cn[Qr]}},gr=function(Ur,cn,Qr){return Ur||cn||(Ur=-96,cn=-96),Ur<0&&(Ur=-1*Qr.width*72/Ur/this.internal.scaleFactor),cn<0&&(cn=-1*Qr.height*72/cn/this.internal.scaleFactor),Ur===0&&(Ur=cn*Qr.width/Qr.height),cn===0&&(cn=Ur*Qr.height/Qr.width),[Ur,cn]},jt=function(Ur,cn,Qr,Vn,Hn,li){var Un=gr.call(this,Qr,Vn,Hn),gi=this.internal.getCoordinateString,Bn=this.internal.getVerticalCoordinateString,di=ht.call(this);if(Qr=Un[0],Vn=Un[1],di[Hn.index]=Hn,li){li*=Math.PI/180;var qr=Math.cos(li),xr=Math.sin(li),nn=function(Fn){return Fn.toFixed(4)},gn=[nn(qr),nn(xr),nn(-1*xr),nn(qr),0,0,"cm"]}this.internal.write("q"),li?(this.internal.write([1,"0","0",1,gi(Ur),Bn(cn+Vn),"cm"].join(" ")),this.internal.write(gn.join(" ")),this.internal.write([gi(Qr),"0","0",gi(Vn),"0","0","cm"].join(" "))):this.internal.write([gi(Qr),"0","0",gi(Vn),gi(Ur),Bn(cn+Vn),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Hn.index+" Do"),this.internal.write("Q")},Sr=qe.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"};qe.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Ar=qe.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},sr=qe.__addimage__.sHashCode=function(rn){var Ur,cn,Qr=0;if(typeof rn=="string")for(cn=rn.length,Ur=0;Ur<cn;Ur++)Qr=(Qr<<5)-Qr+rn.charCodeAt(Ur),Qr|=0;else if(Nn(rn))for(cn=rn.byteLength/2,Ur=0;Ur<cn;Ur++)Qr=(Qr<<5)-Qr+rn[Ur],Qr|=0;return Qr},ln=qe.__addimage__.validateStringAsBase64=function(rn){(rn=rn||"").toString().trim();var Ur=!0;return rn.length===0&&(Ur=!1),rn.length%4!=0&&(Ur=!1),/^[A-Za-z0-9+/]+$/.test(rn.substr(0,rn.length-2))===!1&&(Ur=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(rn.substr(-2))===!1&&(Ur=!1),Ur},_n=qe.__addimage__.extractImageFromDataUrl=function(rn){var Ur=(rn=rn||"").split("base64,"),cn=null;if(Ur.length===2){var Qr=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(Ur[0]);Array.isArray(Qr)&&(cn={mimeType:Qr[1],charset:Qr[2],data:Ur[1]})}return cn},Wn=qe.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"};qe.__addimage__.isArrayBuffer=function(rn){return Wn()&&rn instanceof ArrayBuffer};var Nn=qe.__addimage__.isArrayBufferView=function(rn){return Wn()&&typeof Uint32Array!="undefined"&&(rn instanceof Int8Array||rn instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&rn instanceof Uint8ClampedArray||rn instanceof Int16Array||rn instanceof Uint16Array||rn instanceof Int32Array||rn instanceof Uint32Array||rn instanceof Float32Array||rn instanceof Float64Array)},Mn=qe.__addimage__.binaryStringToUint8Array=function(rn){for(var Ur=rn.length,cn=new Uint8Array(Ur),Qr=0;Qr<Ur;Qr++)cn[Qr]=rn.charCodeAt(Qr);return cn},Gn=qe.__addimage__.arrayBufferToBinaryString=function(rn){for(var Ur="",cn=Nn(rn)?rn:new Uint8Array(rn),Qr=0;Qr<cn.length;Qr+=8192)Ur+=String.fromCharCode.apply(null,cn.subarray(Qr,Qr+8192));return Ur};qe.addImage=function(){var rn,Ur,cn,Qr,Vn,Hn,li,Un,gi;if(typeof arguments[1]=="number"?(Ur=Se,cn=arguments[1],Qr=arguments[2],Vn=arguments[3],Hn=arguments[4],li=arguments[5],Un=arguments[6],gi=arguments[7]):(Ur=arguments[1],cn=arguments[2],Qr=arguments[3],Vn=arguments[4],Hn=arguments[5],li=arguments[6],Un=arguments[7],gi=arguments[8]),A()(rn=arguments[0])==="object"&&!tr(rn)&&"imageData"in rn){var Bn=rn;rn=Bn.imageData,Ur=Bn.format||Ur||Se,cn=Bn.x||cn||0,Qr=Bn.y||Qr||0,Vn=Bn.w||Bn.width||Vn,Hn=Bn.h||Bn.height||Hn,li=Bn.alias||li,Un=Bn.compression||Un,gi=Bn.rotation||Bn.angle||gi}var di=this.internal.getFilters();if(Un===void 0&&di.indexOf("FlateEncode")!==-1&&(Un="SLOW"),isNaN(cn)||isNaN(Qr))throw new Error("Invalid coordinates passed to jsPDF.addImage");pt.call(this);var qr=xn.call(this,rn,Ur,li,Un);return jt.call(this,cn,Qr,Vn,Hn,qr,gi),this};var xn=function(Ur,cn,Qr,Vn){var Hn,li,Un;if(typeof Ur=="string"&&Be(Ur)===Se){Ur=unescape(Ur);var gi=mi(Ur,!1);(gi!==""||(gi=qe.loadFile(Ur,!0))!==void 0)&&(Ur=gi)}if(tr(Ur)&&(Ur=ir(Ur,cn)),cn=Be(Ur,cn),!dr(cn))throw new Error("addImage does not support files of type '"+cn+"', please ensure that a plugin for '"+cn+"' support is added.");if(((Un=Qr)==null||Un.length===0)&&(Qr=function(Bn){return typeof Bn=="string"||Nn(Bn)?sr(Bn):Nn(Bn.data)?sr(Bn.data):null}(Ur)),(Hn=_t.call(this,Qr))||(Wn()&&(Ur instanceof Uint8Array||cn==="RGBA"||(li=Ur,Ur=Mn(Ur))),Hn=this["process"+cn.toUpperCase()](Ur,Vt.call(this),Qr,function(Bn){return Bn&&typeof Bn=="string"&&(Bn=Bn.toUpperCase()),Bn in qe.image_compression?Bn:Ar.NONE}(Vn),li)),!Hn)throw new Error("An unknown error occurred whilst processing the image.");return Hn},mi=qe.__addimage__.convertBase64ToBinaryString=function(rn,Ur){var cn;Ur=typeof Ur!="boolean"||Ur;var Qr,Vn="";if(typeof rn=="string"){Qr=(cn=_n(rn))!==null?cn.data:rn;try{Vn=n(Qr)}catch(Hn){if(Ur)throw ln(Qr)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+Hn.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return Vn};qe.getImageProperties=function(rn){var Ur,cn,Qr="";if(tr(rn)&&(rn=ir(rn)),typeof rn=="string"&&Be(rn)===Se&&((Qr=mi(rn,!1))===""&&(Qr=qe.loadFile(rn)||""),rn=Qr),cn=Be(rn),!dr(cn))throw new Error("addImage does not support files of type '"+cn+"', please ensure that a plugin for '"+cn+"' support is added.");if(!Wn()||rn instanceof Uint8Array||(rn=Mn(rn)),!(Ur=this["process"+cn.toUpperCase()](rn)))throw new Error("An unknown error occurred whilst processing the image");return Ur.fileType=cn,Ur}}(j.API),function(qe){var Se=function(Be){if(Be!==void 0&&Be!="")return!0};j.API.events.push(["addPage",function(Me){this.internal.getPageInfo(Me.pageNumber).pageContext.annotations=[]}]),qe.events.push(["putPage",function(Me){for(var Be,Qe,Ve,Ye=this.internal.getCoordinateString,pt=this.internal.getVerticalCoordinateString,ht=this.internal.getPageInfoByObjId(Me.objId),Vt=Me.pageContext.annotations,dr=!1,tr=0;tr<Vt.length&&!dr;tr++)switch((Be=Vt[tr]).type){case"link":(Se(Be.options.url)||Se(Be.options.pageNumber))&&(dr=!0);break;case"reference":case"text":case"freetext":dr=!0}if(dr!=0){this.internal.write("/Annots [");for(var ir=0;ir<Vt.length;ir++){Be=Vt[ir];var _t=this.internal.pdfEscape,gr=this.internal.getEncryptor(Me.objId);switch(Be.type){case"reference":this.internal.write(" "+Be.object.objId+" 0 R ");break;case"text":var jt=this.internal.newAdditionalObject(),Sr=this.internal.newAdditionalObject(),Ar=this.internal.getEncryptor(jt.objId),sr=Be.title||"Note";Ve="<</Type /Annot /Subtype /Text "+(Qe="/Rect ["+Ye(Be.bounds.x)+" "+pt(Be.bounds.y+Be.bounds.h)+" "+Ye(Be.bounds.x+Be.bounds.w)+" "+pt(Be.bounds.y)+"] ")+"/Contents ("+_t(Ar(Be.contents))+")",Ve+=" /Popup "+Sr.objId+" 0 R",Ve+=" /P "+ht.objId+" 0 R",Ve+=" /T ("+_t(Ar(sr))+") >>",jt.content=Ve;var ln=jt.objId+" 0 R";Ve="<</Type /Annot /Subtype /Popup "+(Qe="/Rect ["+Ye(Be.bounds.x+30)+" "+pt(Be.bounds.y+Be.bounds.h)+" "+Ye(Be.bounds.x+Be.bounds.w+30)+" "+pt(Be.bounds.y)+"] ")+" /Parent "+ln,Be.open&&(Ve+=" /Open true"),Ve+=" >>",Sr.content=Ve,this.internal.write(jt.objId,"0 R",Sr.objId,"0 R");break;case"freetext":Qe="/Rect ["+Ye(Be.bounds.x)+" "+pt(Be.bounds.y)+" "+Ye(Be.bounds.x+Be.bounds.w)+" "+pt(Be.bounds.y+Be.bounds.h)+"] ";var _n=Be.color||"#000000";Ve="<</Type /Annot /Subtype /FreeText "+Qe+"/Contents ("+_t(gr(Be.contents))+")",Ve+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+_n+")",Ve+=" /Border [0 0 0]",Ve+=" >>",this.internal.write(Ve);break;case"link":if(Be.options.name){var Wn=this.annotations._nameMap[Be.options.name];Be.options.pageNumber=Wn.page,Be.options.top=Wn.y}else Be.options.top||(Be.options.top=0);if(Qe="/Rect ["+Be.finalBounds.x+" "+Be.finalBounds.y+" "+Be.finalBounds.w+" "+Be.finalBounds.h+"] ",Ve="",Be.options.url)Ve="<</Type /Annot /Subtype /Link "+Qe+"/Border [0 0 0] /A <</S /URI /URI ("+_t(gr(Be.options.url))+") >>";else if(Be.options.pageNumber)switch(Ve="<</Type /Annot /Subtype /Link "+Qe+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(Be.options.pageNumber).objId+" 0 R",Be.options.magFactor=Be.options.magFactor||"XYZ",Be.options.magFactor){case"Fit":Ve+=" /Fit]";break;case"FitH":Ve+=" /FitH "+Be.options.top+"]";break;case"FitV":Be.options.left=Be.options.left||0,Ve+=" /FitV "+Be.options.left+"]";break;case"XYZ":default:var Nn=pt(Be.options.top);Be.options.left=Be.options.left||0,Be.options.zoom===void 0&&(Be.options.zoom=0),Ve+=" /XYZ "+Be.options.left+" "+Nn+" "+Be.options.zoom+"]"}Ve!=""&&(Ve+=" >>",this.internal.write(Ve))}}this.internal.write("]")}}]),qe.createAnnotation=function(Me){var Be=this.internal.getCurrentPageInfo();switch(Me.type){case"link":this.link(Me.bounds.x,Me.bounds.y,Me.bounds.w,Me.bounds.h,Me);break;case"text":case"freetext":Be.pageContext.annotations.push(Me)}},qe.link=function(Me,Be,Qe,Ve,Ye){var pt=this.internal.getCurrentPageInfo(),ht=this.internal.getCoordinateString,Vt=this.internal.getVerticalCoordinateString;pt.pageContext.annotations.push({finalBounds:{x:ht(Me),y:Vt(Be),w:ht(Me+Qe),h:Vt(Be+Ve)},options:Ye,type:"link"})},qe.textWithLink=function(Me,Be,Qe,Ve){var Ye=this.getTextWidth(Me),pt=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(Me,Be,Qe,Ve),Qe+=.2*pt,Ve.align==="center"&&(Be-=Ye/2),Ve.align==="right"&&(Be-=Ye),this.link(Be,Qe-pt,Ye,pt,Ve),Ye},qe.getTextWidth=function(Me){var Be=this.internal.getFontSize();return this.getStringUnitWidth(Me)*Be/this.internal.scaleFactor}}(j.API),function(qe){var Se={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},Me={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},Be={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},Qe=[1570,1571,1573,1575];qe.__arabicParser__={};var Ve=qe.__arabicParser__.isInArabicSubstitutionA=function(jt){return Se[jt.charCodeAt(0)]!==void 0},Ye=qe.__arabicParser__.isArabicLetter=function(jt){return typeof jt=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(jt)},pt=qe.__arabicParser__.isArabicEndLetter=function(jt){return Ye(jt)&&Ve(jt)&&Se[jt.charCodeAt(0)].length<=2},ht=qe.__arabicParser__.isArabicAlfLetter=function(jt){return Ye(jt)&&Qe.indexOf(jt.charCodeAt(0))>=0};qe.__arabicParser__.arabicLetterHasIsolatedForm=function(jt){return Ye(jt)&&Ve(jt)&&Se[jt.charCodeAt(0)].length>=1};var Vt=qe.__arabicParser__.arabicLetterHasFinalForm=function(jt){return Ye(jt)&&Ve(jt)&&Se[jt.charCodeAt(0)].length>=2};qe.__arabicParser__.arabicLetterHasInitialForm=function(jt){return Ye(jt)&&Ve(jt)&&Se[jt.charCodeAt(0)].length>=3};var dr=qe.__arabicParser__.arabicLetterHasMedialForm=function(jt){return Ye(jt)&&Ve(jt)&&Se[jt.charCodeAt(0)].length==4},tr=qe.__arabicParser__.resolveLigatures=function(jt){var Sr=0,Ar=Me,sr="",ln=0;for(Sr=0;Sr<jt.length;Sr+=1)Ar[jt.charCodeAt(Sr)]!==void 0?(ln++,typeof(Ar=Ar[jt.charCodeAt(Sr)])=="number"&&(sr+=String.fromCharCode(Ar),Ar=Me,ln=0),Sr===jt.length-1&&(Ar=Me,sr+=jt.charAt(Sr-(ln-1)),Sr-=ln-1,ln=0)):(Ar=Me,sr+=jt.charAt(Sr-ln),Sr-=ln,ln=0);return sr};qe.__arabicParser__.isArabicDiacritic=function(jt){return jt!==void 0&&Be[jt.charCodeAt(0)]!==void 0};var ir=qe.__arabicParser__.getCorrectForm=function(jt,Sr,Ar){return Ye(jt)?Ve(jt)===!1?-1:!Vt(jt)||!Ye(Sr)&&!Ye(Ar)||!Ye(Ar)&&pt(Sr)||pt(jt)&&!Ye(Sr)||pt(jt)&&ht(Sr)||pt(jt)&&pt(Sr)?0:dr(jt)&&Ye(Sr)&&!pt(Sr)&&Ye(Ar)&&Vt(Ar)?3:pt(jt)||!Ye(Ar)?1:2:-1},_t=function(Sr){var Ar=0,sr=0,ln=0,_n="",Wn="",Nn="",Mn=(Sr=Sr||"").split("\\s+"),Gn=[];for(Ar=0;Ar<Mn.length;Ar+=1){for(Gn.push(""),sr=0;sr<Mn[Ar].length;sr+=1)_n=Mn[Ar][sr],Wn=Mn[Ar][sr-1],Nn=Mn[Ar][sr+1],Ye(_n)?(ln=ir(_n,Wn,Nn),Gn[Ar]+=ln!==-1?String.fromCharCode(Se[_n.charCodeAt(0)][ln]):_n):Gn[Ar]+=_n;Gn[Ar]=tr(Gn[Ar])}return Gn.join(" ")},gr=qe.__arabicParser__.processArabic=qe.processArabic=function(){var jt,Sr=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,Ar=[];if(Array.isArray(Sr)){var sr=0;for(Ar=[],sr=0;sr<Sr.length;sr+=1)Array.isArray(Sr[sr])?Ar.push([_t(Sr[sr][0]),Sr[sr][1],Sr[sr][2]]):Ar.push([_t(Sr[sr])]);jt=Ar}else jt=_t(Sr);return typeof arguments[0]=="string"?jt:(arguments[0].text=jt,arguments[0])};qe.events.push(["preProcessText",gr])}(j.API),j.API.autoPrint=function(qe){var Se;switch((qe=qe||{}).variant=qe.variant||"non-conform",qe.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){Se=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+Se+" 0 R")})}return this},function(qe){var Se=function(){var Be=void 0;Object.defineProperty(this,"pdf",{get:function(){return Be},set:function(Vt){Be=Vt}});var Qe=150;Object.defineProperty(this,"width",{get:function(){return Qe},set:function(Vt){Qe=isNaN(Vt)||Number.isInteger(Vt)===!1||Vt<0?150:Vt,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=Qe+1)}});var Ve=300;Object.defineProperty(this,"height",{get:function(){return Ve},set:function(Vt){Ve=isNaN(Vt)||Number.isInteger(Vt)===!1||Vt<0?300:Vt,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=Ve+1)}});var Ye=[];Object.defineProperty(this,"childNodes",{get:function(){return Ye},set:function(Vt){Ye=Vt}});var pt={};Object.defineProperty(this,"style",{get:function(){return pt},set:function(Vt){pt=Vt}}),Object.defineProperty(this,"parentNode",{})};Se.prototype.getContext=function(Me,Be){var Qe;if((Me=Me||"2d")!=="2d")return null;for(Qe in Be)this.pdf.context2d.hasOwnProperty(Qe)&&(this.pdf.context2d[Qe]=Be[Qe]);return this.pdf.context2d._canvas=this,this.pdf.context2d},Se.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},qe.events.push(["initialized",function(){this.canvas=new Se,this.canvas.pdf=this}])}(j.API),function(qe){var Se={left:0,top:0,bottom:0,right:0},Me=!1,Be=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},Se),this.internal.__cell__.margins.width=this.getPageWidth(),Qe.call(this))},Qe=function(){this.internal.__cell__.lastCell=new Ve,this.internal.__cell__.pages=1},Ve=function(){var Vt=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Vt},set:function(Ar){Vt=Ar}});var dr=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return dr},set:function(Ar){dr=Ar}});var tr=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return tr},set:function(Ar){tr=Ar}});var ir=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return ir},set:function(Ar){ir=Ar}});var _t=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return _t},set:function(Ar){_t=Ar}});var gr=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return gr},set:function(Ar){gr=Ar}});var jt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return jt},set:function(Ar){jt=Ar}}),this};Ve.prototype.clone=function(){return new Ve(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},Ve.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},qe.setHeaderFunction=function(ht){return Be.call(this),this.internal.__cell__.headerFunction=typeof ht=="function"?ht:void 0,this},qe.getTextDimensions=function(ht,Vt){Be.call(this);var dr=(Vt=Vt||{}).fontSize||this.getFontSize(),tr=Vt.font||this.getFont(),ir=Vt.scaleFactor||this.internal.scaleFactor,_t=0,gr=0,jt=0,Sr=this;if(!Array.isArray(ht)&&typeof ht!="string"){if(typeof ht!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");ht=String(ht)}var Ar=Vt.maxWidth;Ar>0?typeof ht=="string"?ht=this.splitTextToSize(ht,Ar):Object.prototype.toString.call(ht)==="[object Array]"&&(ht=ht.reduce(function(ln,_n){return ln.concat(Sr.splitTextToSize(_n,Ar))},[])):ht=Array.isArray(ht)?ht:[ht];for(var sr=0;sr<ht.length;sr++)_t<(jt=this.getStringUnitWidth(ht[sr],{font:tr})*dr)&&(_t=jt);return _t!==0&&(gr=ht.length),{w:_t/=ir,h:Math.max((gr*dr*this.getLineHeightFactor()-dr*(this.getLineHeightFactor()-1))/ir,0)}},qe.cellAddPage=function(){Be.call(this),this.addPage();var ht=this.internal.__cell__.margins||Se;return this.internal.__cell__.lastCell=new Ve(ht.left,ht.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var Ye=qe.cell=function(){var ht;ht=arguments[0]instanceof Ve?arguments[0]:new Ve(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),Be.call(this);var Vt=this.internal.__cell__.lastCell,dr=this.internal.__cell__.padding,tr=this.internal.__cell__.margins||Se,ir=this.internal.__cell__.tableHeaderRow,_t=this.internal.__cell__.printHeaders;return Vt.lineNumber!==void 0&&(Vt.lineNumber===ht.lineNumber?(ht.x=(Vt.x||0)+(Vt.width||0),ht.y=Vt.y||0):Vt.y+Vt.height+ht.height+tr.bottom>this.getPageHeight()?(this.cellAddPage(),ht.y=tr.top,_t&&ir&&(this.printHeaderRow(ht.lineNumber,!0),ht.y+=ir[0].height)):ht.y=Vt.y+Vt.height||ht.y),ht.text[0]!==void 0&&(this.rect(ht.x,ht.y,ht.width,ht.height,Me===!0?"FD":void 0),ht.align==="right"?this.text(ht.text,ht.x+ht.width-dr,ht.y+dr,{align:"right",baseline:"top"}):ht.align==="center"?this.text(ht.text,ht.x+ht.width/2,ht.y+dr,{align:"center",baseline:"top",maxWidth:ht.width-dr-dr}):this.text(ht.text,ht.x+dr,ht.y+dr,{align:"left",baseline:"top",maxWidth:ht.width-dr-dr})),this.internal.__cell__.lastCell=ht,this};qe.table=function(ht,Vt,dr,tr,ir){if(Be.call(this),!dr)throw new Error("No data for PDF table.");var _t,gr,jt,Sr,Ar=[],sr=[],ln=[],_n={},Wn={},Nn=[],Mn=[],Gn=(ir=ir||{}).autoSize||!1,xn=ir.printHeaders!==!1,mi=ir.css&&ir.css["font-size"]!==void 0?16*ir.css["font-size"]:ir.fontSize||12,rn=ir.margins||Object.assign({width:this.getPageWidth()},Se),Ur=typeof ir.padding=="number"?ir.padding:3,cn=ir.headerBackgroundColor||"#c8c8c8",Qr=ir.headerTextColor||"#000";if(Qe.call(this),this.internal.__cell__.printHeaders=xn,this.internal.__cell__.margins=rn,this.internal.__cell__.table_font_size=mi,this.internal.__cell__.padding=Ur,this.internal.__cell__.headerBackgroundColor=cn,this.internal.__cell__.headerTextColor=Qr,this.setFontSize(mi),tr==null)sr=Ar=Object.keys(dr[0]),ln=Ar.map(function(){return"left"});else if(Array.isArray(tr)&&A()(tr[0])==="object")for(Ar=tr.map(function(Bn){return Bn.name}),sr=tr.map(function(Bn){return Bn.prompt||Bn.name||""}),ln=tr.map(function(Bn){return Bn.align||"left"}),_t=0;_t<tr.length;_t+=1)Wn[tr[_t].name]=tr[_t].width*(19.049976/25.4);else Array.isArray(tr)&&typeof tr[0]=="string"&&(sr=Ar=tr,ln=Ar.map(function(){return"left"}));if(Gn||Array.isArray(tr)&&typeof tr[0]=="string")for(_t=0;_t<Ar.length;_t+=1){for(_n[Sr=Ar[_t]]=dr.map(function(Bn){return Bn[Sr]}),this.setFont(void 0,"bold"),Nn.push(this.getTextDimensions(sr[_t],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),gr=_n[Sr],this.setFont(void 0,"normal"),jt=0;jt<gr.length;jt+=1)Nn.push(this.getTextDimensions(gr[jt],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);Wn[Sr]=Math.max.apply(null,Nn)+Ur+Ur,Nn=[]}if(xn){var Vn={};for(_t=0;_t<Ar.length;_t+=1)Vn[Ar[_t]]={},Vn[Ar[_t]].text=sr[_t],Vn[Ar[_t]].align=ln[_t];var Hn=pt.call(this,Vn,Wn);Mn=Ar.map(function(Bn){return new Ve(ht,Vt,Wn[Bn],Hn,Vn[Bn].text,void 0,Vn[Bn].align)}),this.setTableHeaderRow(Mn),this.printHeaderRow(1,!1)}var li=tr.reduce(function(Bn,di){return Bn[di.name]=di.align,Bn},{});for(_t=0;_t<dr.length;_t+=1){"rowStart"in ir&&ir.rowStart instanceof Function&&ir.rowStart({row:_t,data:dr[_t]},this);var Un=pt.call(this,dr[_t],Wn);for(jt=0;jt<Ar.length;jt+=1){var gi=dr[_t][Ar[jt]];"cellStart"in ir&&ir.cellStart instanceof Function&&ir.cellStart({row:_t,col:jt,data:gi},this),Ye.call(this,new Ve(ht,Vt,Wn[Ar[jt]],Un,gi,_t+2,li[Ar[jt]]))}}return this.internal.__cell__.table_x=ht,this.internal.__cell__.table_y=Vt,this};var pt=function(Vt,dr){var tr=this.internal.__cell__.padding,ir=this.internal.__cell__.table_font_size,_t=this.internal.scaleFactor;return Object.keys(Vt).map(function(gr){var jt=Vt[gr];return this.splitTextToSize(jt.hasOwnProperty("text")?jt.text:jt,dr[gr]-tr-tr)},this).map(function(gr){return this.getLineHeightFactor()*gr.length*ir/_t+tr+tr},this).reduce(function(gr,jt){return Math.max(gr,jt)},0)};qe.setTableHeaderRow=function(ht){Be.call(this),this.internal.__cell__.tableHeaderRow=ht},qe.printHeaderRow=function(ht,Vt){if(Be.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var dr;if(Me=!0,typeof this.internal.__cell__.headerFunction=="function"){var tr=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new Ve(tr[0],tr[1],tr[2],tr[3],void 0,-1)}this.setFont(void 0,"bold");for(var ir=[],_t=0;_t<this.internal.__cell__.tableHeaderRow.length;_t+=1){dr=this.internal.__cell__.tableHeaderRow[_t].clone(),Vt&&(dr.y=this.internal.__cell__.margins.top||0,ir.push(dr)),dr.lineNumber=ht;var gr=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),Ye.call(this,dr),this.setTextColor(gr)}ir.length>0&&this.setTableHeaderRow(ir),this.setFont(void 0,"normal"),Me=!1}}(j.API);var ot={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},bt=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],tt=re(bt),Tt=[100,200,300,400,500,600,700,800,900],Gt=re(Tt);function lr(qe){var Se=qe.family.replace(/"|'/g,"").toLowerCase(),Me=function(Ve){return ot[Ve=Ve||"normal"]?Ve:"normal"}(qe.style),Be=function(Ve){if(!Ve)return 400;if(typeof Ve=="number")return Ve>=100&&Ve<=900&&Ve%100==0?Ve:400;if(/^\d00$/.test(Ve))return parseInt(Ve);switch(Ve){case"bold":return 700;case"normal":default:return 400}}(qe.weight),Qe=function(Ve){return typeof tt[Ve=Ve||"normal"]=="number"?Ve:"normal"}(qe.stretch);return{family:Se,style:Me,weight:Be,stretch:Qe,src:qe.src||[],ref:qe.ref||{name:Se,style:[Qe,Me,Be].join(" ")}}}function pr(qe,Se,Me,Be){var Qe;for(Qe=Me;Qe>=0&&Qe<Se.length;Qe+=Be)if(qe[Se[Qe]])return qe[Se[Qe]];for(Qe=Me;Qe>=0&&Qe<Se.length;Qe-=Be)if(qe[Se[Qe]])return qe[Se[Qe]]}var Rr={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},xt={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function It(qe){return[qe.stretch,qe.style,qe.weight,qe.family].join(" ")}function At(qe,Se,Me){for(var Be=(Me=Me||{}).defaultFontFamily||"times",Qe=Object.assign({},Rr,Me.genericFontFamilies||{}),Ve=null,Ye=null,pt=0;pt<Se.length;++pt)if(Qe[(Ve=lr(Se[pt])).family]&&(Ve.family=Qe[Ve.family]),qe.hasOwnProperty(Ve.family)){Ye=qe[Ve.family];break}if(!(Ye=Ye||qe[Be]))throw new Error("Could not find a font-family for the rule '"+It(Ve)+"' and default family '"+Be+"'.");if(Ye=function(ht,Vt){if(Vt[ht])return Vt[ht];var dr=tt[ht],tr=dr<=tt.normal?-1:1,ir=pr(Vt,bt,dr,tr);if(!ir)throw new Error("Could not find a matching font-stretch value for "+ht);return ir}(Ve.stretch,Ye),Ye=function(ht,Vt){if(Vt[ht])return Vt[ht];for(var dr=ot[ht],tr=0;tr<dr.length;++tr)if(Vt[dr[tr]])return Vt[dr[tr]];throw new Error("Could not find a matching font-style for "+ht)}(Ve.style,Ye),!(Ye=function(ht,Vt){if(Vt[ht])return Vt[ht];if(ht===400&&Vt[500])return Vt[500];if(ht===500&&Vt[400])return Vt[400];var dr=Gt[ht],tr=pr(Vt,Tt,dr,ht<400?-1:1);if(!tr)throw new Error("Could not find a matching font-weight for value "+ht);return tr}(Ve.weight,Ye)))throw new Error("Failed to resolve a font for the rule '"+It(Ve)+"'.");return Ye}function Zt(qe){return qe.trimLeft()}function br(qe,Se){for(var Me=0;Me<qe.length;){if(qe.charAt(Me)===Se)return[qe.substring(0,Me),qe.substring(Me+1)];Me+=1}return null}function Lr(qe){var Se=qe.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return Se===null?null:[Se[0],qe.substring(Se[0].length)]}var Jr,In,Gr,Tr=["times"];!function(qe){var Se,Me,Be,Qe,Ve,Ye,pt,ht,Vt,dr=function(xr){return xr=xr||{},this.isStrokeTransparent=xr.isStrokeTransparent||!1,this.strokeOpacity=xr.strokeOpacity||1,this.strokeStyle=xr.strokeStyle||"#000000",this.fillStyle=xr.fillStyle||"#000000",this.isFillTransparent=xr.isFillTransparent||!1,this.fillOpacity=xr.fillOpacity||1,this.font=xr.font||"10px sans-serif",this.textBaseline=xr.textBaseline||"alphabetic",this.textAlign=xr.textAlign||"left",this.lineWidth=xr.lineWidth||1,this.lineJoin=xr.lineJoin||"miter",this.lineCap=xr.lineCap||"butt",this.path=xr.path||[],this.transform=xr.transform!==void 0?xr.transform.clone():new ht,this.globalCompositeOperation=xr.globalCompositeOperation||"normal",this.globalAlpha=xr.globalAlpha||1,this.clip_path=xr.clip_path||[],this.currentPoint=xr.currentPoint||new Ye,this.miterLimit=xr.miterLimit||10,this.lastPoint=xr.lastPoint||new Ye,this.lineDashOffset=xr.lineDashOffset||0,this.lineDash=xr.lineDash||[],this.margin=xr.margin||[0,0,0,0],this.prevPageLastElemOffset=xr.prevPageLastElemOffset||0,this.ignoreClearRect=typeof xr.ignoreClearRect!="boolean"||xr.ignoreClearRect,this};qe.events.push(["initialized",function(){this.context2d=new tr(this),Se=this.internal.f2,Me=this.internal.getCoordinateString,Be=this.internal.getVerticalCoordinateString,Qe=this.internal.getHorizontalCoordinate,Ve=this.internal.getVerticalCoordinate,Ye=this.internal.Point,pt=this.internal.Rectangle,ht=this.internal.Matrix,Vt=new dr}]);var tr=function(xr){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var nn=xr;Object.defineProperty(this,"pdf",{get:function(){return nn}});var gn=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return gn},set:function(hi){gn=Boolean(hi)}});var On=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return On},set:function(hi){On=Boolean(hi)}});var Fn=0;Object.defineProperty(this,"posX",{get:function(){return Fn},set:function(hi){isNaN(hi)||(Fn=hi)}});var zn=0;Object.defineProperty(this,"posY",{get:function(){return zn},set:function(hi){isNaN(hi)||(zn=hi)}}),Object.defineProperty(this,"margin",{get:function(){return Vt.margin},set:function(hi){var Ri;typeof hi=="number"?Ri=[hi,hi,hi,hi]:((Ri=new Array(4))[0]=hi[0],Ri[1]=hi.length>=2?hi[1]:Ri[0],Ri[2]=hi.length>=3?hi[2]:Ri[0],Ri[3]=hi.length>=4?hi[3]:Ri[1]),Vt.margin=Ri}});var $n=!1;Object.defineProperty(this,"autoPaging",{get:function(){return $n},set:function(hi){$n=hi}});var Zn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Zn},set:function(hi){Zn=hi}});var vi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return vi},set:function(hi){vi=hi}}),Object.defineProperty(this,"ctx",{get:function(){return Vt},set:function(hi){hi instanceof dr&&(Vt=hi)}}),Object.defineProperty(this,"path",{get:function(){return Vt.path},set:function(hi){Vt.path=hi}});var Pi=[];Object.defineProperty(this,"ctxStack",{get:function(){return Pi},set:function(hi){Pi=hi}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(hi){var Ri;Ri=ir(hi),this.ctx.fillStyle=Ri.style,this.ctx.isFillTransparent=Ri.a===0,this.ctx.fillOpacity=Ri.a,this.pdf.setFillColor(Ri.r,Ri.g,Ri.b,{a:Ri.a}),this.pdf.setTextColor(Ri.r,Ri.g,Ri.b,{a:Ri.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(hi){var Ri=ir(hi);this.ctx.strokeStyle=Ri.style,this.ctx.isStrokeTransparent=Ri.a===0,this.ctx.strokeOpacity=Ri.a,Ri.a===0?this.pdf.setDrawColor(255,255,255):(Ri.a,this.pdf.setDrawColor(Ri.r,Ri.g,Ri.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(hi){["butt","round","square"].indexOf(hi)!==-1&&(this.ctx.lineCap=hi,this.pdf.setLineCap(hi))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(hi){isNaN(hi)||(this.ctx.lineWidth=hi,this.pdf.setLineWidth(hi))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(hi){["bevel","round","miter"].indexOf(hi)!==-1&&(this.ctx.lineJoin=hi,this.pdf.setLineJoin(hi))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(hi){isNaN(hi)||(this.ctx.miterLimit=hi,this.pdf.setMiterLimit(hi))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(hi){this.ctx.textBaseline=hi}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(hi){["right","end","center","left","start"].indexOf(hi)!==-1&&(this.ctx.textAlign=hi)}});var Fi=null;function ja(Xr,hi){if(Fi===null){var Ri=function(bi){var Ui=[];return Object.keys(bi).forEach(function(ni){bi[ni].forEach(function(qi){var Qi=null;switch(qi){case"bold":Qi={family:ni,weight:"bold"};break;case"italic":Qi={family:ni,style:"italic"};break;case"bolditalic":Qi={family:ni,weight:"bold",style:"italic"};break;case"":case"normal":Qi={family:ni}}Qi!==null&&(Qi.ref={name:ni,style:qi},Ui.push(Qi))})}),Ui}(Xr.getFontList());Fi=function(bi){for(var Ui={},ni=0;ni<bi.length;++ni){var qi=lr(bi[ni]),Qi=qi.family,ha=qi.stretch,Yt=qi.style,Ir=qi.weight;Ui[Qi]=Ui[Qi]||{},Ui[Qi][ha]=Ui[Qi][ha]||{},Ui[Qi][ha][Yt]=Ui[Qi][ha][Yt]||{},Ui[Qi][ha][Yt][Ir]=qi}return Ui}(Ri.concat(hi))}return Fi}var Qn=null;Object.defineProperty(this,"fontFaces",{get:function(){return Qn},set:function(hi){Fi=null,Qn=hi}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(hi){var Ri;if(this.ctx.font=hi,(Ri=/^\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(hi))!==null){var bi=Ri[1],Ui=(Ri[2],Ri[3]),ni=Ri[4],qi=(Ri[5],Ri[6]),Qi=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ni)[2];ni=Qi==="px"?Math.floor(parseFloat(ni)*this.pdf.internal.scaleFactor):Qi==="em"?Math.floor(parseFloat(ni)*this.pdf.getFontSize()):Math.floor(parseFloat(ni)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ni);var ha=function(zt){var vr,or,Vr=[],Kr=zt.trim();if(Kr==="")return Tr;if(Kr in xt)return[xt[Kr]];for(;Kr!=="";){switch(or=null,vr=(Kr=Zt(Kr)).charAt(0)){case'"':case"'":or=br(Kr.substring(1),vr);break;default:or=Lr(Kr)}if(or===null)return Tr;if(Vr.push(or[0]),(Kr=Zt(or[1]))!==""&&Kr.charAt(0)!==",")return Tr;Kr=Kr.replace(/^,/,"")}return Vr}(qi);if(this.fontFaces){var Yt=At(ja(this.pdf,this.fontFaces),ha.map(function(zt){return{family:zt,stretch:"normal",weight:Ui,style:bi}}));this.pdf.setFont(Yt.ref.name,Yt.ref.style)}else{var Ir="";(Ui==="bold"||parseInt(Ui,10)>=700||bi==="bold")&&(Ir="bold"),bi==="italic"&&(Ir+="italic"),Ir.length===0&&(Ir="normal");for(var Zr="",He={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},gt=0;gt<ha.length;gt++){if(this.pdf.internal.getFont(ha[gt],Ir,{noFallback:!0,disableWarning:!0})!==void 0){Zr=ha[gt];break}if(Ir==="bolditalic"&&this.pdf.internal.getFont(ha[gt],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Zr=ha[gt],Ir="bold";else if(this.pdf.internal.getFont(ha[gt],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Zr=ha[gt],Ir="normal";break}}if(Zr===""){for(var Xt=0;Xt<ha.length;Xt++)if(He[ha[Xt]]){Zr=He[ha[Xt]];break}}Zr=Zr===""?"Times":Zr,this.pdf.setFont(Zr,Ir)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(hi){this.ctx.globalCompositeOperation=hi}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(hi){this.ctx.globalAlpha=hi}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(hi){this.ctx.lineDashOffset=hi,di.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(hi){this.ctx.lineDash=hi,di.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(hi){this.ctx.ignoreClearRect=Boolean(hi)}})};tr.prototype.setLineDash=function(qr){this.lineDash=qr},tr.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},tr.prototype.fill=function(){_n.call(this,"fill",!1)},tr.prototype.stroke=function(){_n.call(this,"stroke",!1)},tr.prototype.beginPath=function(){this.path=[{type:"begin"}]},tr.prototype.moveTo=function(qr,xr){if(isNaN(qr)||isNaN(xr))throw c.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var nn=this.ctx.transform.applyToPoint(new Ye(qr,xr));this.path.push({type:"mt",x:nn.x,y:nn.y}),this.ctx.lastPoint=new Ye(qr,xr)},tr.prototype.closePath=function(){var qr=new Ye(0,0),xr=0;for(xr=this.path.length-1;xr!==-1;xr--)if(this.path[xr].type==="begin"&&A()(this.path[xr+1])==="object"&&typeof this.path[xr+1].x=="number"){qr=new Ye(this.path[xr+1].x,this.path[xr+1].y),this.path.push({type:"lt",x:qr.x,y:qr.y});break}A()(this.path[xr+2])==="object"&&typeof this.path[xr+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[xr+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new Ye(qr.x,qr.y)},tr.prototype.lineTo=function(qr,xr){if(isNaN(qr)||isNaN(xr))throw c.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var nn=this.ctx.transform.applyToPoint(new Ye(qr,xr));this.path.push({type:"lt",x:nn.x,y:nn.y}),this.ctx.lastPoint=new Ye(nn.x,nn.y)},tr.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),_n.call(this,null,!0)},tr.prototype.quadraticCurveTo=function(qr,xr,nn,gn){if(isNaN(nn)||isNaN(gn)||isNaN(qr)||isNaN(xr))throw c.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var On=this.ctx.transform.applyToPoint(new Ye(nn,gn)),Fn=this.ctx.transform.applyToPoint(new Ye(qr,xr));this.path.push({type:"qct",x1:Fn.x,y1:Fn.y,x:On.x,y:On.y}),this.ctx.lastPoint=new Ye(On.x,On.y)},tr.prototype.bezierCurveTo=function(qr,xr,nn,gn,On,Fn){if(isNaN(On)||isNaN(Fn)||isNaN(qr)||isNaN(xr)||isNaN(nn)||isNaN(gn))throw c.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var zn=this.ctx.transform.applyToPoint(new Ye(On,Fn)),$n=this.ctx.transform.applyToPoint(new Ye(qr,xr)),Zn=this.ctx.transform.applyToPoint(new Ye(nn,gn));this.path.push({type:"bct",x1:$n.x,y1:$n.y,x2:Zn.x,y2:Zn.y,x:zn.x,y:zn.y}),this.ctx.lastPoint=new Ye(zn.x,zn.y)},tr.prototype.arc=function(qr,xr,nn,gn,On,Fn){if(isNaN(qr)||isNaN(xr)||isNaN(nn)||isNaN(gn)||isNaN(On))throw c.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Fn=Boolean(Fn),!this.ctx.transform.isIdentity){var zn=this.ctx.transform.applyToPoint(new Ye(qr,xr));qr=zn.x,xr=zn.y;var $n=this.ctx.transform.applyToPoint(new Ye(0,nn)),Zn=this.ctx.transform.applyToPoint(new Ye(0,0));nn=Math.sqrt(Math.pow($n.x-Zn.x,2)+Math.pow($n.y-Zn.y,2))}Math.abs(On-gn)>=2*Math.PI&&(gn=0,On=2*Math.PI),this.path.push({type:"arc",x:qr,y:xr,radius:nn,startAngle:gn,endAngle:On,counterclockwise:Fn})},tr.prototype.arcTo=function(qr,xr,nn,gn,On){throw new Error("arcTo not implemented.")},tr.prototype.rect=function(qr,xr,nn,gn){if(isNaN(qr)||isNaN(xr)||isNaN(nn)||isNaN(gn))throw c.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(qr,xr),this.lineTo(qr+nn,xr),this.lineTo(qr+nn,xr+gn),this.lineTo(qr,xr+gn),this.lineTo(qr,xr),this.lineTo(qr+nn,xr),this.lineTo(qr,xr)},tr.prototype.fillRect=function(qr,xr,nn,gn){if(isNaN(qr)||isNaN(xr)||isNaN(nn)||isNaN(gn))throw c.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!_t.call(this)){var On={};this.lineCap!=="butt"&&(On.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(On.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(qr,xr,nn,gn),this.fill(),On.hasOwnProperty("lineCap")&&(this.lineCap=On.lineCap),On.hasOwnProperty("lineJoin")&&(this.lineJoin=On.lineJoin)}},tr.prototype.strokeRect=function(qr,xr,nn,gn){if(isNaN(qr)||isNaN(xr)||isNaN(nn)||isNaN(gn))throw c.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");gr.call(this)||(this.beginPath(),this.rect(qr,xr,nn,gn),this.stroke())},tr.prototype.clearRect=function(qr,xr,nn,gn){if(isNaN(qr)||isNaN(xr)||isNaN(nn)||isNaN(gn))throw c.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(qr,xr,nn,gn))},tr.prototype.save=function(qr){qr=typeof qr!="boolean"||qr;for(var xr=this.pdf.internal.getCurrentPageInfo().pageNumber,nn=0;nn<this.pdf.internal.getNumberOfPages();nn++)this.pdf.setPage(nn+1),this.pdf.internal.out("q");if(this.pdf.setPage(xr),qr){this.ctx.fontSize=this.pdf.internal.getFontSize();var gn=new dr(this.ctx);this.ctxStack.push(this.ctx),this.ctx=gn}},tr.prototype.restore=function(qr){qr=typeof qr!="boolean"||qr;for(var xr=this.pdf.internal.getCurrentPageInfo().pageNumber,nn=0;nn<this.pdf.internal.getNumberOfPages();nn++)this.pdf.setPage(nn+1),this.pdf.internal.out("Q");this.pdf.setPage(xr),qr&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},tr.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var ir=function(xr){var nn,gn,On,Fn;if(xr.isCanvasGradient===!0&&(xr=xr.getColor()),!xr)return{r:0,g:0,b:0,a:0,style:xr};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(xr))nn=0,gn=0,On=0,Fn=0;else{var zn=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(xr);if(zn!==null)nn=parseInt(zn[1]),gn=parseInt(zn[2]),On=parseInt(zn[3]),Fn=1;else if((zn=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(xr))!==null)nn=parseInt(zn[1]),gn=parseInt(zn[2]),On=parseInt(zn[3]),Fn=parseFloat(zn[4]);else{if(Fn=1,typeof xr=="string"&&xr.charAt(0)!=="#"){var $n=new a(xr);xr=$n.ok?$n.toHex():"#000000"}xr.length===4?(nn=xr.substring(1,2),nn+=nn,gn=xr.substring(2,3),gn+=gn,On=xr.substring(3,4),On+=On):(nn=xr.substring(1,3),gn=xr.substring(3,5),On=xr.substring(5,7)),nn=parseInt(nn,16),gn=parseInt(gn,16),On=parseInt(On,16)}}return{r:nn,g:gn,b:On,a:Fn,style:xr}},_t=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},gr=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};tr.prototype.fillText=function(qr,xr,nn,gn){if(isNaN(xr)||isNaN(nn)||typeof qr!="string")throw c.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(gn=isNaN(gn)?void 0:gn,!_t.call(this)){var On=Un(this.ctx.transform.rotation),Fn=this.ctx.transform.scaleX;Ur.call(this,{text:qr,x:xr,y:nn,scale:Fn,angle:On,align:this.textAlign,maxWidth:gn})}},tr.prototype.strokeText=function(qr,xr,nn,gn){if(isNaN(xr)||isNaN(nn)||typeof qr!="string")throw c.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!gr.call(this)){gn=isNaN(gn)?void 0:gn;var On=Un(this.ctx.transform.rotation),Fn=this.ctx.transform.scaleX;Ur.call(this,{text:qr,x:xr,y:nn,scale:Fn,renderingMode:"stroke",angle:On,align:this.textAlign,maxWidth:gn})}},tr.prototype.measureText=function(qr){if(typeof qr!="string")throw c.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var xr=this.pdf,nn=this.pdf.internal.scaleFactor,gn=xr.internal.getFontSize(),On=xr.getStringUnitWidth(qr)*gn/xr.internal.scaleFactor,Fn=function($n){var Zn=($n=$n||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Zn}}),this};return new Fn({width:On*=Math.round(96*nn/72*1e4)/1e4})},tr.prototype.scale=function(qr,xr){if(isNaN(qr)||isNaN(xr))throw c.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var nn=new ht(qr,0,0,xr,0,0);this.ctx.transform=this.ctx.transform.multiply(nn)},tr.prototype.rotate=function(qr){if(isNaN(qr))throw c.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var xr=new ht(Math.cos(qr),Math.sin(qr),-Math.sin(qr),Math.cos(qr),0,0);this.ctx.transform=this.ctx.transform.multiply(xr)},tr.prototype.translate=function(qr,xr){if(isNaN(qr)||isNaN(xr))throw c.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var nn=new ht(1,0,0,1,qr,xr);this.ctx.transform=this.ctx.transform.multiply(nn)},tr.prototype.transform=function(qr,xr,nn,gn,On,Fn){if(isNaN(qr)||isNaN(xr)||isNaN(nn)||isNaN(gn)||isNaN(On)||isNaN(Fn))throw c.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var zn=new ht(qr,xr,nn,gn,On,Fn);this.ctx.transform=this.ctx.transform.multiply(zn)},tr.prototype.setTransform=function(qr,xr,nn,gn,On,Fn){qr=isNaN(qr)?1:qr,xr=isNaN(xr)?0:xr,nn=isNaN(nn)?0:nn,gn=isNaN(gn)?1:gn,On=isNaN(On)?0:On,Fn=isNaN(Fn)?0:Fn,this.ctx.transform=new ht(qr,xr,nn,gn,On,Fn)};var jt=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};tr.prototype.drawImage=function(qr,xr,nn,gn,On,Fn,zn,$n,Zn){var vi=this.pdf.getImageProperties(qr),Pi=1,Fi=1,ja=1,Qn=1;gn!==void 0&&$n!==void 0&&(ja=$n/gn,Qn=Zn/On,Pi=vi.width/gn*$n/gn,Fi=vi.height/On*Zn/On),Fn===void 0&&(Fn=xr,zn=nn,xr=0,nn=0),gn!==void 0&&$n===void 0&&($n=gn,Zn=On),gn===void 0&&$n===void 0&&($n=vi.width,Zn=vi.height);for(var Xr,hi=this.ctx.transform.decompose(),Ri=Un(hi.rotate.shx),bi=new ht,Ui=(bi=(bi=(bi=bi.multiply(hi.translate)).multiply(hi.skew)).multiply(hi.scale)).applyToRectangle(new pt(Fn-xr*ja,zn-nn*Qn,gn*Pi,On*Fi)),ni=Sr.call(this,Ui),qi=[],Qi=0;Qi<ni.length;Qi+=1)qi.indexOf(ni[Qi])===-1&&qi.push(ni[Qi]);if(ln(qi),this.autoPaging)for(var ha=qi[0],Yt=qi[qi.length-1],Ir=ha;Ir<Yt+1;Ir++){this.pdf.setPage(Ir);var Zr=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],He=Ir===1?this.posY+this.margin[0]:this.margin[0],gt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Xt=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],zt=Ir===1?0:gt+(Ir-2)*Xt;if(this.ctx.clip_path.length!==0){var vr=this.path;Xr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=sr(Xr,this.posX+this.margin[3],-zt+He+this.ctx.prevPageLastElemOffset),Wn.call(this,"fill",!0),this.path=vr}var or=JSON.parse(JSON.stringify(Ui));or=sr([or],this.posX+this.margin[3],-zt+He+this.ctx.prevPageLastElemOffset)[0];var Vr=(Ir>ha||Ir<Yt)&&jt.call(this);Vr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Zr,Xt,null).clip().discardPath()),this.pdf.addImage(qr,"JPEG",or.x,or.y,or.w,or.h,null,null,Ri),Vr&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(qr,"JPEG",Ui.x,Ui.y,Ui.w,Ui.h,null,null,Ri)};var Sr=function(xr,nn,gn){var On=[];nn=nn||this.pdf.internal.pageSize.width,gn=gn||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Fn=this.posY+this.ctx.prevPageLastElemOffset;switch(xr.type){default:case"mt":case"lt":On.push(Math.floor((xr.y+Fn)/gn)+1);break;case"arc":On.push(Math.floor((xr.y+Fn-xr.radius)/gn)+1),On.push(Math.floor((xr.y+Fn+xr.radius)/gn)+1);break;case"qct":var zn=gi(this.ctx.lastPoint.x,this.ctx.lastPoint.y,xr.x1,xr.y1,xr.x,xr.y);On.push(Math.floor((zn.y+Fn)/gn)+1),On.push(Math.floor((zn.y+zn.h+Fn)/gn)+1);break;case"bct":var $n=Bn(this.ctx.lastPoint.x,this.ctx.lastPoint.y,xr.x1,xr.y1,xr.x2,xr.y2,xr.x,xr.y);On.push(Math.floor(($n.y+Fn)/gn)+1),On.push(Math.floor(($n.y+$n.h+Fn)/gn)+1);break;case"rect":On.push(Math.floor((xr.y+Fn)/gn)+1),On.push(Math.floor((xr.y+xr.h+Fn)/gn)+1)}for(var Zn=0;Zn<On.length;Zn+=1)for(;this.pdf.internal.getNumberOfPages()<On[Zn];)Ar.call(this);return On},Ar=function(){var xr=this.fillStyle,nn=this.strokeStyle,gn=this.font,On=this.lineCap,Fn=this.lineWidth,zn=this.lineJoin;this.pdf.addPage(),this.fillStyle=xr,this.strokeStyle=nn,this.font=gn,this.lineCap=On,this.lineWidth=Fn,this.lineJoin=zn},sr=function(xr,nn,gn){for(var On=0;On<xr.length;On++)switch(xr[On].type){case"bct":xr[On].x2+=nn,xr[On].y2+=gn;case"qct":xr[On].x1+=nn,xr[On].y1+=gn;case"mt":case"lt":case"arc":default:xr[On].x+=nn,xr[On].y+=gn}return xr},ln=function(xr){return xr.sort(function(nn,gn){return nn-gn})},_n=function(xr,nn){for(var gn,On,Fn=this.fillStyle,zn=this.strokeStyle,$n=this.lineCap,Zn=this.lineWidth,vi=Math.abs(Zn*this.ctx.transform.scaleX),Pi=this.lineJoin,Fi=JSON.parse(JSON.stringify(this.path)),ja=JSON.parse(JSON.stringify(this.path)),Qn=[],Xr=0;Xr<ja.length;Xr++)if(ja[Xr].x!==void 0)for(var hi=Sr.call(this,ja[Xr]),Ri=0;Ri<hi.length;Ri+=1)Qn.indexOf(hi[Ri])===-1&&Qn.push(hi[Ri]);for(var bi=0;bi<Qn.length;bi++)for(;this.pdf.internal.getNumberOfPages()<Qn[bi];)Ar.call(this);if(ln(Qn),this.autoPaging)for(var Ui=Qn[0],ni=Qn[Qn.length-1],qi=Ui;qi<ni+1;qi++){this.pdf.setPage(qi),this.fillStyle=Fn,this.strokeStyle=zn,this.lineCap=$n,this.lineWidth=vi,this.lineJoin=Pi;var Qi=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ha=qi===1?this.posY+this.margin[0]:this.margin[0],Yt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ir=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Zr=qi===1?0:Yt+(qi-2)*Ir;if(this.ctx.clip_path.length!==0){var He=this.path;gn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=sr(gn,this.posX+this.margin[3],-Zr+ha+this.ctx.prevPageLastElemOffset),Wn.call(this,xr,!0),this.path=He}if(On=JSON.parse(JSON.stringify(Fi)),this.path=sr(On,this.posX+this.margin[3],-Zr+ha+this.ctx.prevPageLastElemOffset),nn===!1||qi===0){var gt=(qi>Ui||qi<ni)&&jt.call(this);gt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Qi,Ir,null).clip().discardPath()),Wn.call(this,xr,nn),gt&&this.pdf.restoreGraphicsState()}this.lineWidth=Zn}else this.lineWidth=vi,Wn.call(this,xr,nn),this.lineWidth=Zn;this.path=Fi},Wn=function(xr,nn){if((xr!=="stroke"||nn||!gr.call(this))&&(xr==="stroke"||nn||!_t.call(this))){for(var gn,On,Fn=[],zn=this.path,$n=0;$n<zn.length;$n++){var Zn=zn[$n];switch(Zn.type){case"begin":Fn.push({begin:!0});break;case"close":Fn.push({close:!0});break;case"mt":Fn.push({start:Zn,deltas:[],abs:[]});break;case"lt":var vi=Fn.length;if(!isNaN(zn[$n-1].x)&&(gn=[Zn.x-zn[$n-1].x,Zn.y-zn[$n-1].y],vi>0)){for(;vi>=0;vi--)if(Fn[vi-1].close!==!0&&Fn[vi-1].begin!==!0){Fn[vi-1].deltas.push(gn),Fn[vi-1].abs.push(Zn);break}}break;case"bct":gn=[Zn.x1-zn[$n-1].x,Zn.y1-zn[$n-1].y,Zn.x2-zn[$n-1].x,Zn.y2-zn[$n-1].y,Zn.x-zn[$n-1].x,Zn.y-zn[$n-1].y],Fn[Fn.length-1].deltas.push(gn);break;case"qct":var Pi=zn[$n-1].x+2/3*(Zn.x1-zn[$n-1].x),Fi=zn[$n-1].y+2/3*(Zn.y1-zn[$n-1].y),ja=Zn.x+2/3*(Zn.x1-Zn.x),Qn=Zn.y+2/3*(Zn.y1-Zn.y),Xr=Zn.x,hi=Zn.y;gn=[Pi-zn[$n-1].x,Fi-zn[$n-1].y,ja-zn[$n-1].x,Qn-zn[$n-1].y,Xr-zn[$n-1].x,hi-zn[$n-1].y],Fn[Fn.length-1].deltas.push(gn);break;case"arc":Fn.push({deltas:[],abs:[],arc:!0}),Array.isArray(Fn[Fn.length-1].abs)&&Fn[Fn.length-1].abs.push(Zn)}}On=nn?null:xr==="stroke"?"stroke":"fill";for(var Ri=0;Ri<Fn.length;Ri++){if(Fn[Ri].arc){for(var bi=Fn[Ri].abs,Ui=0;Ui<bi.length;Ui++){var ni=bi[Ui];ni.type==="arc"?Gn.call(this,ni.x,ni.y,ni.radius,ni.startAngle,ni.endAngle,ni.counterclockwise,void 0,nn):cn.call(this,ni.x,ni.y)}xn.call(this,On),this.pdf.internal.out("h")}if(!Fn[Ri].arc&&Fn[Ri].close!==!0&&Fn[Ri].begin!==!0){var qi=Fn[Ri].start.x,Qi=Fn[Ri].start.y;Qr.call(this,Fn[Ri].deltas,qi,Qi)}}On&&xn.call(this,On),nn&&mi.call(this)}},Nn=function(xr){var nn=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,gn=nn*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return xr-gn;case"top":return xr+nn-gn;case"hanging":return xr+nn-2*gn;case"middle":return xr+nn/2-gn;case"ideographic":return xr;case"alphabetic":default:return xr}},Mn=function(xr){return xr+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};tr.prototype.createLinearGradient=function(){var qr=function(){};return qr.colorStops=[],qr.addColorStop=function(xr,nn){this.colorStops.push([xr,nn])},qr.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},qr.isCanvasGradient=!0,qr},tr.prototype.createPattern=function(){return this.createLinearGradient()},tr.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Gn=function(xr,nn,gn,On,Fn,zn,$n,Zn){for(var vi=Hn.call(this,gn,On,Fn,zn),Pi=0;Pi<vi.length;Pi++){var Fi=vi[Pi];Pi===0&&rn.call(this,Fi.x1+xr,Fi.y1+nn),Vn.call(this,xr,nn,Fi.x2,Fi.y2,Fi.x3,Fi.y3,Fi.x4,Fi.y4)}Zn?mi.call(this):xn.call(this,$n)},xn=function(xr){switch(xr){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},mi=function(){this.pdf.clip(),this.pdf.discardPath()},rn=function(xr,nn){this.pdf.internal.out(Me(xr)+" "+Be(nn)+" m")},Ur=function(xr){var nn;switch(xr.align){case"right":case"end":nn="right";break;case"center":nn="center";break;case"left":case"start":default:nn="left"}var gn=this.pdf.getTextDimensions(xr.text),On=Nn.call(this,xr.y),Fn=Mn.call(this,On)-gn.h,zn=this.ctx.transform.applyToPoint(new Ye(xr.x,On)),$n=this.ctx.transform.decompose(),Zn=new ht;Zn=(Zn=(Zn=Zn.multiply($n.translate)).multiply($n.skew)).multiply($n.scale);for(var vi,Pi,Fi,ja=this.ctx.transform.applyToRectangle(new pt(xr.x,On,gn.w,gn.h)),Qn=Zn.applyToRectangle(new pt(xr.x,Fn,gn.w,gn.h)),Xr=Sr.call(this,Qn),hi=[],Ri=0;Ri<Xr.length;Ri+=1)hi.indexOf(Xr[Ri])===-1&&hi.push(Xr[Ri]);if(ln(hi),this.autoPaging)for(var bi=hi[0],Ui=hi[hi.length-1],ni=bi;ni<Ui+1;ni++){this.pdf.setPage(ni);var qi=ni===1?this.posY+this.margin[0]:this.margin[0],Qi=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ha=this.pdf.internal.pageSize.height-this.margin[2],Yt=ha-this.margin[0],Ir=this.pdf.internal.pageSize.width-this.margin[1],Zr=Ir-this.margin[3],He=ni===1?0:Qi+(ni-2)*Yt;if(this.ctx.clip_path.length!==0){var gt=this.path;vi=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=sr(vi,this.posX+this.margin[3],-1*He+qi),Wn.call(this,"fill",!0),this.path=gt}var Xt=sr([JSON.parse(JSON.stringify(Qn))],this.posX+this.margin[3],-He+qi+this.ctx.prevPageLastElemOffset)[0];xr.scale>=.01&&(Pi=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Pi*xr.scale),Fi=this.lineWidth,this.lineWidth=Fi*xr.scale);var zt=this.autoPaging!=="text";if(zt||Xt.y+Xt.h<=ha){if(zt||Xt.y>=qi&&Xt.x<=Ir){var vr=zt?xr.text:this.pdf.splitTextToSize(xr.text,xr.maxWidth||Ir-Xt.x)[0],or=sr([JSON.parse(JSON.stringify(ja))],this.posX+this.margin[3],-He+qi+this.ctx.prevPageLastElemOffset)[0],Vr=zt&&(ni>bi||ni<Ui)&&jt.call(this);Vr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Zr,Yt,null).clip().discardPath()),this.pdf.text(vr,or.x,or.y,{angle:xr.angle,align:nn,renderingMode:xr.renderingMode}),Vr&&this.pdf.restoreGraphicsState()}}else Xt.y<ha&&(this.ctx.prevPageLastElemOffset+=ha-Xt.y);xr.scale>=.01&&(this.pdf.setFontSize(Pi),this.lineWidth=Fi)}else xr.scale>=.01&&(Pi=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Pi*xr.scale),Fi=this.lineWidth,this.lineWidth=Fi*xr.scale),this.pdf.text(xr.text,zn.x+this.posX,zn.y+this.posY,{angle:xr.angle,align:nn,renderingMode:xr.renderingMode,maxWidth:xr.maxWidth}),xr.scale>=.01&&(this.pdf.setFontSize(Pi),this.lineWidth=Fi)},cn=function(xr,nn,gn,On){gn=gn||0,On=On||0,this.pdf.internal.out(Me(xr+gn)+" "+Be(nn+On)+" l")},Qr=function(xr,nn,gn){return this.pdf.lines(xr,nn,gn,null,null)},Vn=function(xr,nn,gn,On,Fn,zn,$n,Zn){this.pdf.internal.out([Se(Qe(gn+xr)),Se(Ve(On+nn)),Se(Qe(Fn+xr)),Se(Ve(zn+nn)),Se(Qe($n+xr)),Se(Ve(Zn+nn)),"c"].join(" "))},Hn=function(xr,nn,gn,On){for(var Fn=2*Math.PI,zn=Math.PI/2;nn>gn;)nn-=Fn;var $n=Math.abs(gn-nn);$n<Fn&&On&&($n=Fn-$n);for(var Zn=[],vi=On?-1:1,Pi=nn;$n>1e-5;){var Fi=Pi+vi*Math.min($n,zn);Zn.push(li.call(this,xr,Pi,Fi)),$n-=Math.abs(Fi-Pi),Pi=Fi}return Zn},li=function(xr,nn,gn){var On=(gn-nn)/2,Fn=xr*Math.cos(On),zn=xr*Math.sin(On),$n=Fn,Zn=-zn,vi=$n*$n+Zn*Zn,Pi=vi+$n*Fn+Zn*zn,Fi=4/3*(Math.sqrt(2*vi*Pi)-Pi)/($n*zn-Zn*Fn),ja=$n-Fi*Zn,Qn=Zn+Fi*$n,Xr=ja,hi=-Qn,Ri=On+nn,bi=Math.cos(Ri),Ui=Math.sin(Ri);return{x1:xr*Math.cos(nn),y1:xr*Math.sin(nn),x2:ja*bi-Qn*Ui,y2:ja*Ui+Qn*bi,x3:Xr*bi-hi*Ui,y3:Xr*Ui+hi*bi,x4:xr*Math.cos(gn),y4:xr*Math.sin(gn)}},Un=function(xr){return 180*xr/Math.PI},gi=function(xr,nn,gn,On,Fn,zn){var $n=xr+.5*(gn-xr),Zn=nn+.5*(On-nn),vi=Fn+.5*(gn-Fn),Pi=zn+.5*(On-zn),Fi=Math.min(xr,Fn,$n,vi),ja=Math.max(xr,Fn,$n,vi),Qn=Math.min(nn,zn,Zn,Pi),Xr=Math.max(nn,zn,Zn,Pi);return new pt(Fi,Qn,ja-Fi,Xr-Qn)},Bn=function(xr,nn,gn,On,Fn,zn,$n,Zn){var vi,Pi,Fi,ja,Qn,Xr,hi,Ri,bi,Ui,ni,qi,Qi,ha,Yt=gn-xr,Ir=On-nn,Zr=Fn-gn,He=zn-On,gt=$n-Fn,Xt=Zn-zn;for(Pi=0;Pi<41;Pi++)bi=(hi=(Fi=xr+(vi=Pi/40)*Yt)+vi*((Qn=gn+vi*Zr)-Fi))+vi*(Qn+vi*(Fn+vi*gt-Qn)-hi),Ui=(Ri=(ja=nn+vi*Ir)+vi*((Xr=On+vi*He)-ja))+vi*(Xr+vi*(zn+vi*Xt-Xr)-Ri),Pi==0?(ni=bi,qi=Ui,Qi=bi,ha=Ui):(ni=Math.min(ni,bi),qi=Math.min(qi,Ui),Qi=Math.max(Qi,bi),ha=Math.max(ha,Ui));return new pt(Math.round(ni),Math.round(qi),Math.round(Qi-ni),Math.round(ha-qi))},di=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var xr,nn,gn=(xr=this.ctx.lineDash,nn=this.ctx.lineDashOffset,JSON.stringify({lineDash:xr,lineDashOffset:nn}));this.prevLineDash!==gn&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=gn)}}}(j.API),function(qe){var Se=function(Ye){var pt,ht,Vt,dr,tr,ir,_t,gr,jt,Sr;for(/[^\x00-\xFF]/.test(Ye),ht=[],Vt=0,dr=(Ye+=pt="\0\0\0\0".slice(Ye.length%4||4)).length;dr>Vt;Vt+=4)(tr=(Ye.charCodeAt(Vt)<<24)+(Ye.charCodeAt(Vt+1)<<16)+(Ye.charCodeAt(Vt+2)<<8)+Ye.charCodeAt(Vt+3))!==0?(ir=(tr=((tr=((tr=((tr=(tr-(Sr=tr%85))/85)-(jt=tr%85))/85)-(gr=tr%85))/85)-(_t=tr%85))/85)%85,ht.push(ir+33,_t+33,gr+33,jt+33,Sr+33)):ht.push(122);return function(Ar,sr){for(var ln=sr;ln>0;ln--)Ar.pop()}(ht,pt.length),String.fromCharCode.apply(String,ht)+"~>"},Me=function(Ye){var pt,ht,Vt,dr,tr,ir=String,_t="length",gr=255,jt="charCodeAt",Sr="slice",Ar="replace";for(Ye[Sr](-2),Ye=Ye[Sr](0,-2)[Ar](/\s/g,"")[Ar]("z","!!!!!"),Vt=[],dr=0,tr=(Ye+=pt="uuuuu"[Sr](Ye[_t]%5||5))[_t];tr>dr;dr+=5)ht=52200625*(Ye[jt](dr)-33)+614125*(Ye[jt](dr+1)-33)+7225*(Ye[jt](dr+2)-33)+85*(Ye[jt](dr+3)-33)+(Ye[jt](dr+4)-33),Vt.push(gr&ht>>24,gr&ht>>16,gr&ht>>8,gr&ht);return function(sr,ln){for(var _n=ln;_n>0;_n--)sr.pop()}(Vt,pt[_t]),ir.fromCharCode.apply(ir,Vt)},Be=function(Ye){var pt=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Ye=Ye.replace(/\s/g,"")).indexOf(">")!==-1&&(Ye=Ye.substr(0,Ye.indexOf(">"))),Ye.length%2&&(Ye+="0"),pt.test(Ye)===!1)return"";for(var ht="",Vt=0;Vt<Ye.length;Vt+=2)ht+=String.fromCharCode("0x"+(Ye[Vt]+Ye[Vt+1]));return ht},Qe=function(Ye){for(var pt=new Uint8Array(Ye.length),ht=Ye.length;ht--;)pt[ht]=Ye.charCodeAt(ht);return Ye=(pt=Object(m.b)(pt)).reduce(function(Vt,dr){return Vt+String.fromCharCode(dr)},"")};qe.processDataByFilters=function(Ve,Ye){var pt=0,ht=Ve||"",Vt=[];for(typeof(Ye=Ye||[])=="string"&&(Ye=[Ye]),pt=0;pt<Ye.length;pt+=1)switch(Ye[pt]){case"ASCII85Decode":case"/ASCII85Decode":ht=Me(ht),Vt.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":ht=Se(ht),Vt.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":ht=Be(ht),Vt.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":ht=ht.split("").map(function(dr){return("0"+dr.charCodeAt().toString(16)).slice(-2)}).join("")+">",Vt.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":ht=Qe(ht),Vt.push("/FlateDecode");break;default:throw new Error('The filter: "'+Ye[pt]+'" is not implemented')}return{data:ht,reverseChain:Vt.reverse().join(" ")}}}(j.API),function(qe){qe.loadFile=function(Se,Me,Be){return function(Qe,Ve,Ye){Ve=Ve!==!1,Ye=typeof Ye=="function"?Ye:function(){};var pt=void 0;try{pt=function(ht,Vt,dr){var tr=new XMLHttpRequest,ir=0,_t=function(jt){var Sr=jt.length,Ar=[],sr=String.fromCharCode;for(ir=0;ir<Sr;ir+=1)Ar.push(sr(255&jt.charCodeAt(ir)));return Ar.join("")};if(tr.open("GET",ht,!Vt),tr.overrideMimeType("text/plain; charset=x-user-defined"),Vt===!1&&(tr.onload=function(){tr.status===200?dr(_t(this.responseText)):dr(void 0)}),tr.send(null),Vt&&tr.status===200)return _t(tr.responseText)}(Qe,Ve,Ye)}catch(ht){}return pt}(Se,Me,Be)},qe.loadImageFile=qe.loadFile}(j.API),function(qe){function Se(){return(g.html2canvas?Promise.resolve(g.html2canvas):Promise.resolve().then(o.t.bind(null,"wOnQ",7))).catch(function(Ye){return Promise.reject(new Error("Could not load html2canvas: "+Ye))}).then(function(Ye){return Ye.default?Ye.default:Ye})}function Me(){return(g.DOMPurify?Promise.resolve(g.DOMPurify):o.e(211).then(o.t.bind(null,"qZ2Q",7))).catch(function(Ye){return Promise.reject(new Error("Could not load dompurify: "+Ye))}).then(function(Ye){return Ye.default?Ye.default:Ye})}var Be=function(pt){var ht=A()(pt);return ht==="undefined"?"undefined":ht==="string"||pt instanceof String?"string":ht==="number"||pt instanceof Number?"number":ht==="function"||pt instanceof Function?"function":pt&&pt.constructor===Array?"array":pt&&pt.nodeType===1?"element":ht==="object"?"object":"unknown"},Qe=function(pt,ht){var Vt=document.createElement(pt);for(var dr in ht.className&&(Vt.className=ht.className),ht.innerHTML&&ht.dompurify&&(Vt.innerHTML=ht.dompurify.sanitize(ht.innerHTML)),ht.style)Vt.style[dr]=ht.style[dr];return Vt},Ve=function Ye(pt){var ht=Object.assign(Ye.convert(Promise.resolve()),JSON.parse(JSON.stringify(Ye.template))),Vt=Ye.convert(Promise.resolve(),ht);return Vt=(Vt=Vt.setProgress(1,Ye,1,[Ye])).set(pt)};(Ve.prototype=Object.create(Promise.prototype)).constructor=Ve,Ve.convert=function(Ye,pt){return Ye.__proto__=pt||Ve.prototype,Ye},Ve.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},Ve.prototype.from=function(Ye,pt){return this.then(function(){switch(pt=pt||function(ht){switch(Be(ht)){case"string":return"string";case"element":return ht.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Ye)){case"string":return this.then(Me).then(function(ht){return this.set({src:Qe("div",{innerHTML:Ye,dompurify:ht})})});case"element":return this.set({src:Ye});case"canvas":return this.set({canvas:Ye});case"img":return this.set({img:Ye});default:return this.error("Unknown source type.")}})},Ve.prototype.to=function(Ye){switch(Ye){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.")}},Ve.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 Ye={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},pt=function ht(Vt,dr){for(var tr=Vt.nodeType===3?document.createTextNode(Vt.nodeValue):Vt.cloneNode(!1),ir=Vt.firstChild;ir;ir=ir.nextSibling)dr!==!0&&ir.nodeType===1&&ir.nodeName==="SCRIPT"||tr.appendChild(ht(ir,dr));return Vt.nodeType===1&&(Vt.nodeName==="CANVAS"?(tr.width=Vt.width,tr.height=Vt.height,tr.getContext("2d").drawImage(Vt,0,0)):Vt.nodeName!=="TEXTAREA"&&Vt.nodeName!=="SELECT"||(tr.value=Vt.value),tr.addEventListener("load",function(){tr.scrollTop=Vt.scrollTop,tr.scrollLeft=Vt.scrollLeft},!0)),tr}(this.prop.src,this.opt.html2canvas.javascriptEnabled);pt.tagName==="BODY"&&(Ye.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=Qe("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=Qe("div",{className:"html2pdf__container",style:Ye}),this.prop.container.appendChild(pt),this.prop.container.firstChild.appendChild(Qe("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"})},Ve.prototype.toCanvas=function(){var Ye=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ye).then(Se).then(function(pt){var ht=Object.assign({},this.opt.html2canvas);return delete ht.onrendered,pt(this.prop.container,ht)}).then(function(pt){(this.opt.html2canvas.onrendered||function(){})(pt),this.prop.canvas=pt,document.body.removeChild(this.prop.overlay)})},Ve.prototype.toContext2d=function(){var Ye=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ye).then(Se).then(function(pt){var ht=this.opt.jsPDF,Vt=this.opt.fontFaces,dr=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,tr=Object.assign({async:!0,allowTaint:!0,scale:dr,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete tr.onrendered,ht.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,ht.context2d.posX=this.opt.x,ht.context2d.posY=this.opt.y,ht.context2d.margin=this.opt.margin,ht.context2d.fontFaces=Vt,Vt)for(var ir=0;ir<Vt.length;++ir){var _t=Vt[ir],gr=_t.src.find(function(jt){return jt.format==="truetype"});gr&&ht.addFont(gr.url,_t.ref.name,_t.ref.style)}return tr.windowHeight=tr.windowHeight||0,tr.windowHeight=tr.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):tr.windowHeight,pt(this.prop.container,tr)}).then(function(pt){(this.opt.html2canvas.onrendered||function(){})(pt),this.prop.canvas=pt,document.body.removeChild(this.prop.overlay)})},Ve.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Ye=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Ye})},Ve.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},Ve.prototype.output=function(Ye,pt,ht){return(ht=ht||"pdf").toLowerCase()==="img"||ht.toLowerCase()==="image"?this.outputImg(Ye,pt):this.outputPdf(Ye,pt)},Ve.prototype.outputPdf=function(Ye,pt){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Ye,pt)})},Ve.prototype.outputImg=function(Ye){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Ye){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 "'+Ye+'" is not supported.'}})},Ve.prototype.save=function(Ye){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Ye?{filename:Ye}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},Ve.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},Ve.prototype.set=function(Ye){if(Be(Ye)!=="object")return this;var pt=Object.keys(Ye||{}).map(function(ht){if(ht in Ve.template.prop)return function(){this.prop[ht]=Ye[ht]};switch(ht){case"margin":return this.setMargin.bind(this,Ye.margin);case"jsPDF":return function(){return this.opt.jsPDF=Ye.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Ye.pageSize);default:return function(){this.opt[ht]=Ye[ht]}}},this);return this.then(function(){return this.thenList(pt)})},Ve.prototype.get=function(Ye,pt){return this.then(function(){var ht=Ye in Ve.template.prop?this.prop[Ye]:this.opt[Ye];return pt?pt(ht):ht})},Ve.prototype.setMargin=function(Ye){return this.then(function(){switch(Be(Ye)){case"number":Ye=[Ye,Ye,Ye,Ye];case"array":if(Ye.length===2&&(Ye=[Ye[0],Ye[1],Ye[0],Ye[1]]),Ye.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Ye}).then(this.setPageSize)},Ve.prototype.setPageSize=function(Ye){function pt(ht,Vt){return Math.floor(ht*Vt/72*96)}return this.then(function(){(Ye=Ye||j.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Ye.inner={width:Ye.width-this.opt.margin[1]-this.opt.margin[3],height:Ye.height-this.opt.margin[0]-this.opt.margin[2]},Ye.inner.px={width:pt(Ye.inner.width,Ye.k),height:pt(Ye.inner.height,Ye.k)},Ye.inner.ratio=Ye.inner.height/Ye.inner.width),this.prop.pageSize=Ye})},Ve.prototype.setProgress=function(Ye,pt,ht,Vt){return Ye!=null&&(this.progress.val=Ye),pt!=null&&(this.progress.state=pt),ht!=null&&(this.progress.n=ht),Vt!=null&&(this.progress.stack=Vt),this.progress.ratio=this.progress.val/this.progress.state,this},Ve.prototype.updateProgress=function(Ye,pt,ht,Vt){return this.setProgress(Ye?this.progress.val+Ye:null,pt||null,ht?this.progress.n+ht:null,Vt?this.progress.stack.concat(Vt):null)},Ve.prototype.then=function(Ye,pt){var ht=this;return this.thenCore(Ye,pt,function(Vt,dr){return ht.updateProgress(null,null,1,[Vt]),Promise.prototype.then.call(this,function(tr){return ht.updateProgress(null,Vt),tr}).then(Vt,dr).then(function(tr){return ht.updateProgress(1),tr})})},Ve.prototype.thenCore=function(Ye,pt,ht){ht=ht||Promise.prototype.then,Ye&&(Ye=Ye.bind(this)),pt&&(pt=pt.bind(this));var Vt=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:Ve.convert(Object.assign({},this),Promise.prototype),dr=ht.call(Vt,Ye,pt);return Ve.convert(dr,this.__proto__)},Ve.prototype.thenExternal=function(Ye,pt){return Promise.prototype.then.call(this,Ye,pt)},Ve.prototype.thenList=function(Ye){var pt=this;return Ye.forEach(function(ht){pt=pt.thenCore(ht)}),pt},Ve.prototype.catch=function(Ye){Ye&&(Ye=Ye.bind(this));var pt=Promise.prototype.catch.call(this,Ye);return Ve.convert(pt,this)},Ve.prototype.catchExternal=function(Ye){return Promise.prototype.catch.call(this,Ye)},Ve.prototype.error=function(Ye){return this.then(function(){throw new Error(Ye)})},Ve.prototype.using=Ve.prototype.set,Ve.prototype.saveAs=Ve.prototype.save,Ve.prototype.export=Ve.prototype.output,Ve.prototype.run=Ve.prototype.then,j.getPageSize=function(Ye,pt,ht){if(A()(Ye)==="object"){var Vt=Ye;Ye=Vt.orientation,pt=Vt.unit||pt,ht=Vt.format||ht}pt=pt||"mm",ht=ht||"a4",Ye=(""+(Ye||"P")).toLowerCase();var dr,tr=(""+ht).toLowerCase(),ir={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(pt){case"pt":dr=1;break;case"mm":dr=72/25.4;break;case"cm":dr=72/2.54;break;case"in":dr=72;break;case"px":dr=.75;break;case"pc":case"em":dr=12;break;case"ex":dr=6;break;default:throw"Invalid unit: "+pt}var _t,gr=0,jt=0;if(ir.hasOwnProperty(tr))gr=ir[tr][1]/dr,jt=ir[tr][0]/dr;else try{gr=ht[1],jt=ht[0]}catch(Sr){throw new Error("Invalid format: "+ht)}if(Ye==="p"||Ye==="portrait")Ye="p",jt>gr&&(_t=jt,jt=gr,gr=_t);else{if(Ye!=="l"&&Ye!=="landscape")throw"Invalid orientation: "+Ye;Ye="l",gr>jt&&(_t=jt,jt=gr,gr=_t)}return{width:jt,height:gr,unit:pt,k:dr,orientation:Ye}},qe.html=function(Ye,pt){(pt=pt||{}).callback=pt.callback||function(){},pt.html2canvas=pt.html2canvas||{},pt.html2canvas.canvas=pt.html2canvas.canvas||this.canvas,pt.jsPDF=pt.jsPDF||this,pt.fontFaces=pt.fontFaces?pt.fontFaces.map(lr):null;var ht=new Ve(pt);return pt.worker?ht:ht.from(Ye).doCallback()}}(j.API),j.API.addJS=function(qe){return Gr=qe,this.internal.events.subscribe("postPutResources",function(){Jr=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Jr+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),In=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Gr+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Jr!==void 0&&In!==void 0&&this.internal.out("/Names <</JavaScript "+Jr+" 0 R>>")}),this},function(qe){var Se;qe.events.push(["postPutResources",function(){var Me=this,Be=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var Qe=Me.outline.render().split(/\r\n/),Ve=0;Ve<Qe.length;Ve++){var Ye=Qe[Ve],pt=Be.exec(Ye);if(pt!=null){var ht=pt[1];Me.internal.newObjectDeferredBegin(ht,!1)}Me.internal.write(Ye)}if(this.outline.createNamedDestinations){var Vt=this.internal.pages.length,dr=[];for(Ve=0;Ve<Vt;Ve++){var tr=Me.internal.newObject();dr.push(tr);var ir=Me.internal.getPageInfo(Ve+1);Me.internal.write("<< /D["+ir.objId+" 0 R /XYZ null null null]>> endobj")}var _t=Me.internal.newObject();for(Me.internal.write("<< /Names [ "),Ve=0;Ve<dr.length;Ve++)Me.internal.write("(page_"+(Ve+1)+")"+dr[Ve]+" 0 R");Me.internal.write(" ] >>","endobj"),Se=Me.internal.newObject(),Me.internal.write("<< /Dests "+_t+" 0 R"),Me.internal.write(">>","endobj")}}]),qe.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+Se+" 0 R"))}]),qe.events.push(["initialized",function(){var Me=this;Me.outline={createNamedDestinations:!1,root:{children:[]}},Me.outline.add=function(Be,Qe,Ve){var Ye={title:Qe,options:Ve,children:[]};return Be==null&&(Be=this.root),Be.children.push(Ye),Ye},Me.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=Me,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},Me.outline.genIds_r=function(Be){Be.id=Me.internal.newObjectDeferred();for(var Qe=0;Qe<Be.children.length;Qe++)this.genIds_r(Be.children[Qe])},Me.outline.renderRoot=function(Be){this.objStart(Be),this.line("/Type /Outlines"),Be.children.length>0&&(this.line("/First "+this.makeRef(Be.children[0])),this.line("/Last "+this.makeRef(Be.children[Be.children.length-1]))),this.line("/Count "+this.count_r({count:0},Be)),this.objEnd()},Me.outline.renderItems=function(Be){for(var Qe=this.ctx.pdf.internal.getVerticalCoordinateString,Ve=0;Ve<Be.children.length;Ve++){var Ye=Be.children[Ve];this.objStart(Ye),this.line("/Title "+this.makeString(Ye.title)),this.line("/Parent "+this.makeRef(Be)),Ve>0&&this.line("/Prev "+this.makeRef(Be.children[Ve-1])),Ve<Be.children.length-1&&this.line("/Next "+this.makeRef(Be.children[Ve+1])),Ye.children.length>0&&(this.line("/First "+this.makeRef(Ye.children[0])),this.line("/Last "+this.makeRef(Ye.children[Ye.children.length-1])));var pt=this.count=this.count_r({count:0},Ye);if(pt>0&&this.line("/Count "+pt),Ye.options&&Ye.options.pageNumber){var ht=Me.internal.getPageInfo(Ye.options.pageNumber);this.line("/Dest ["+ht.objId+" 0 R /XYZ 0 "+Qe(0)+" 0]")}this.objEnd()}for(var Vt=0;Vt<Be.children.length;Vt++)this.renderItems(Be.children[Vt])},Me.outline.line=function(Be){this.ctx.val+=Be+`\r
|
|
|
`},Me.outline.makeRef=function(Be){return Be.id+" 0 R"},Me.outline.makeString=function(Be){return"("+Me.internal.pdfEscape(Be)+")"},Me.outline.objStart=function(Be){this.ctx.val+=`\r
|
|
|
`+Be.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},Me.outline.objEnd=function(){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},Me.outline.count_r=function(Be,Qe){for(var Ve=0;Ve<Qe.children.length;Ve++)Be.count++,this.count_r(Be,Qe.children[Ve]);return Be.count}}])}(j.API),function(qe){var Se=[192,193,194,195,196,197,198,199];qe.processJPEG=function(Me,Be,Qe,Ve,Ye,pt){var ht,Vt=this.decode.DCT_DECODE,dr=null;if(typeof Me=="string"||this.__addimage__.isArrayBuffer(Me)||this.__addimage__.isArrayBufferView(Me)){switch(Me=Ye||Me,Me=this.__addimage__.isArrayBuffer(Me)?new Uint8Array(Me):Me,(ht=function(tr){for(var ir,_t=256*tr.charCodeAt(4)+tr.charCodeAt(5),gr=tr.length,jt={width:0,height:0,numcomponents:1},Sr=4;Sr<gr;Sr+=2){if(Sr+=_t,Se.indexOf(tr.charCodeAt(Sr+1))!==-1){ir=256*tr.charCodeAt(Sr+5)+tr.charCodeAt(Sr+6),jt={width:256*tr.charCodeAt(Sr+7)+tr.charCodeAt(Sr+8),height:ir,numcomponents:tr.charCodeAt(Sr+9)};break}_t=256*tr.charCodeAt(Sr+2)+tr.charCodeAt(Sr+3)}return jt}(Me=this.__addimage__.isArrayBufferView(Me)?this.__addimage__.arrayBufferToBinaryString(Me):Me)).numcomponents){case 1:pt=this.color_spaces.DEVICE_GRAY;break;case 4:pt=this.color_spaces.DEVICE_CMYK;break;case 3:pt=this.color_spaces.DEVICE_RGB}dr={data:Me,width:ht.width,height:ht.height,colorSpace:pt,bitsPerComponent:8,filter:Vt,index:Be,alias:Qe}}return dr}}(j.API);var fr,vt,ft,Te,Pe,Ge=function(){var qe,Se,Me;function Be(Ve){var Ye,pt,ht,Vt,dr,tr,ir,_t,gr,jt,Sr,Ar,sr,ln;for(this.data=Ve,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},tr=null;;){switch(Ye=this.readUInt32(),gr=function(){var _n,Wn;for(Wn=[],_n=0;_n<4;++_n)Wn.push(String.fromCharCode(this.data[this.pos++]));return Wn}.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(Ye);break;case"fcTL":tr&&this.animation.frames.push(tr),this.pos+=4,tr={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},dr=this.readUInt16(),Vt=this.readUInt16()||100,tr.delay=1e3*dr/Vt,tr.disposeOp=this.data[this.pos++],tr.blendOp=this.data[this.pos++],tr.data=[];break;case"IDAT":case"fdAT":for(gr==="fdAT"&&(this.pos+=4,Ye-=4),Ve=(tr!=null?tr.data:void 0)||this.imgData,Ar=0;0<=Ye?Ar<Ye:Ar>Ye;0<=Ye?++Ar:--Ar)Ve.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(ht=this.palette.length/3,this.transparency.indexed=this.read(Ye),this.transparency.indexed.length>ht)throw new Error("More transparent colors than palette size");if((jt=ht-this.transparency.indexed.length)>0)for(sr=0;0<=jt?sr<jt:sr>jt;0<=jt?++sr:--sr)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(Ye)[0];break;case 2:this.transparency.rgb=this.read(Ye)}break;case"tEXt":ir=(Sr=this.read(Ye)).indexOf(0),_t=String.fromCharCode.apply(String,Sr.slice(0,ir)),this.text[_t]=String.fromCharCode.apply(String,Sr.slice(ir+1));break;case"IEND":return tr&&this.animation.frames.push(tr),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(ln=this.colorType)===4||ln===6,pt=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*pt,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+=Ye}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}Be.prototype.read=function(Ve){var Ye,pt;for(pt=[],Ye=0;0<=Ve?Ye<Ve:Ye>Ve;0<=Ve?++Ye:--Ye)pt.push(this.data[this.pos++]);return pt},Be.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},Be.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},Be.prototype.decodePixels=function(Ve){var Ye=this.pixelBitlength/8,pt=new Uint8Array(this.width*this.height*Ye),ht=0,Vt=this;if(Ve==null&&(Ve=this.imgData),Ve.length===0)return new Uint8Array(0);function dr(tr,ir,_t,gr){var jt,Sr,Ar,sr,ln,_n,Wn,Nn,Mn,Gn,xn,mi,rn,Ur,cn,Qr,Vn,Hn,li,Un,gi,Bn=Math.ceil((Vt.width-tr)/_t),di=Math.ceil((Vt.height-ir)/gr),qr=Vt.width==Bn&&Vt.height==di;for(Ur=Ye*Bn,mi=qr?pt:new Uint8Array(Ur*di),_n=Ve.length,rn=0,Sr=0;rn<di&&ht<_n;){switch(Ve[ht++]){case 0:for(sr=Vn=0;Vn<Ur;sr=Vn+=1)mi[Sr++]=Ve[ht++];break;case 1:for(sr=Hn=0;Hn<Ur;sr=Hn+=1)jt=Ve[ht++],ln=sr<Ye?0:mi[Sr-Ye],mi[Sr++]=(jt+ln)%256;break;case 2:for(sr=li=0;li<Ur;sr=li+=1)jt=Ve[ht++],Ar=(sr-sr%Ye)/Ye,cn=rn&&mi[(rn-1)*Ur+Ar*Ye+sr%Ye],mi[Sr++]=(cn+jt)%256;break;case 3:for(sr=Un=0;Un<Ur;sr=Un+=1)jt=Ve[ht++],Ar=(sr-sr%Ye)/Ye,ln=sr<Ye?0:mi[Sr-Ye],cn=rn&&mi[(rn-1)*Ur+Ar*Ye+sr%Ye],mi[Sr++]=(jt+Math.floor((ln+cn)/2))%256;break;case 4:for(sr=gi=0;gi<Ur;sr=gi+=1)jt=Ve[ht++],Ar=(sr-sr%Ye)/Ye,ln=sr<Ye?0:mi[Sr-Ye],rn===0?cn=Qr=0:(cn=mi[(rn-1)*Ur+Ar*Ye+sr%Ye],Qr=Ar&&mi[(rn-1)*Ur+(Ar-1)*Ye+sr%Ye]),Wn=ln+cn-Qr,Nn=Math.abs(Wn-ln),Gn=Math.abs(Wn-cn),xn=Math.abs(Wn-Qr),Mn=Nn<=Gn&&Nn<=xn?ln:Gn<=xn?cn:Qr,mi[Sr++]=(jt+Mn)%256;break;default:throw new Error("Invalid filter algorithm: "+Ve[ht-1])}if(!qr){var xr=((ir+rn*gr)*Vt.width+tr)*Ye,nn=rn*Ur;for(sr=0;sr<Bn;sr+=1){for(var gn=0;gn<Ye;gn+=1)pt[xr++]=mi[nn++];xr+=(_t-1)*Ye}}rn++}}return Ve=Object(m.a)(Ve),Vt.interlaceMethod==1?(dr(0,0,8,8),dr(4,0,8,8),dr(0,4,4,8),dr(2,0,4,4),dr(0,2,2,4),dr(1,0,2,2),dr(0,1,1,2)):dr(0,0,1,1),pt},Be.prototype.decodePalette=function(){var Ve,Ye,pt,ht,Vt,dr,tr,ir,_t;for(pt=this.palette,dr=this.transparency.indexed||[],Vt=new Uint8Array((dr.length||0)+pt.length),ht=0,Ve=0,Ye=tr=0,ir=pt.length;tr<ir;Ye=tr+=3)Vt[ht++]=pt[Ye],Vt[ht++]=pt[Ye+1],Vt[ht++]=pt[Ye+2],Vt[ht++]=(_t=dr[Ve++])!=null?_t:255;return Vt},Be.prototype.copyToImageData=function(Ve,Ye){var pt,ht,Vt,dr,tr,ir,_t,gr,jt,Sr,Ar;if(ht=this.colors,jt=null,pt=this.hasAlphaChannel,this.palette.length&&(jt=(Ar=this._decodedPalette)!=null?Ar:this._decodedPalette=this.decodePalette(),ht=4,pt=!0),gr=(Vt=Ve.data||Ve).length,tr=jt||Ye,dr=ir=0,ht===1)for(;dr<gr;)_t=jt?4*Ye[dr/4]:ir,Sr=tr[_t++],Vt[dr++]=Sr,Vt[dr++]=Sr,Vt[dr++]=Sr,Vt[dr++]=pt?tr[_t++]:255,ir=_t;else for(;dr<gr;)_t=jt?4*Ye[dr/4]:ir,Vt[dr++]=tr[_t++],Vt[dr++]=tr[_t++],Vt[dr++]=tr[_t++],Vt[dr++]=pt?tr[_t++]:255,ir=_t},Be.prototype.decode=function(){var Ve;return Ve=new Uint8Array(this.width*this.height*4),this.copyToImageData(Ve,this.decodePixels()),Ve};var Qe=function(){if(Object.prototype.toString.call(g)==="[object Window]"){try{Se=g.document.createElement("canvas"),Me=Se.getContext("2d")}catch(Ye){return!1}return!0}return!1};return Qe(),qe=function(Ye){var pt;if(Qe()===!0)return Me.width=Ye.width,Me.height=Ye.height,Me.clearRect(0,0,Ye.width,Ye.height),Me.putImageData(Ye,0,0),(pt=new Image).src=Se.toDataURL(),pt;throw new Error("This method requires a Browser with Canvas-capability.")},Be.prototype.decodeFrames=function(Ve){var Ye,pt,ht,Vt,dr,tr,ir,_t;if(this.animation){for(_t=[],pt=dr=0,tr=(ir=this.animation.frames).length;dr<tr;pt=++dr)Ye=ir[pt],ht=Ve.createImageData(Ye.width,Ye.height),Vt=this.decodePixels(new Uint8Array(Ye.data)),this.copyToImageData(ht,Vt),Ye.imageData=ht,_t.push(Ye.image=qe(ht));return _t}},Be.prototype.renderFrame=function(Ve,Ye){var pt,ht,Vt;return pt=(ht=this.animation.frames)[Ye],Vt=ht[Ye-1],Ye===0&&Ve.clearRect(0,0,this.width,this.height),(Vt!=null?Vt.disposeOp:void 0)===1?Ve.clearRect(Vt.xOffset,Vt.yOffset,Vt.width,Vt.height):(Vt!=null?Vt.disposeOp:void 0)===2&&Ve.putImageData(Vt.imageData,Vt.xOffset,Vt.yOffset),pt.blendOp===0&&Ve.clearRect(pt.xOffset,pt.yOffset,pt.width,pt.height),Ve.drawImage(pt.image,pt.xOffset,pt.yOffset)},Be.prototype.animate=function(Ve){var Ye,pt,ht,Vt,dr,tr,ir=this;return pt=0,tr=this.animation,Vt=tr.numFrames,ht=tr.frames,dr=tr.numPlays,(Ye=function(){var gr,jt;if(gr=pt++%Vt,jt=ht[gr],ir.renderFrame(Ve,gr),Vt>1&&pt/Vt<dr)return ir.animation._timeout=setTimeout(Ye,jt.delay)})()},Be.prototype.stopAnimation=function(){var Ve;return clearTimeout((Ve=this.animation)!=null?Ve._timeout:void 0)},Be.prototype.render=function(Ve){var Ye,pt;return Ve._png&&Ve._png.stopAnimation(),Ve._png=this,Ve.width=this.width,Ve.height=this.height,Ye=Ve.getContext("2d"),this.animation?(this.decodeFrames(Ye),this.animate(Ye)):(pt=Ye.createImageData(this.width,this.height),this.copyToImageData(pt,this.decodePixels()),Ye.putImageData(pt,0,0))},Be}();/**
|
|
|
* @license
|
|
|
*
|
|
|
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
|
|
|
*
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
|
* a copy of this software and associated documentation files (the
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|
|
* the following conditions:
|
|
|
*
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
* included in all copies or substantial portions of the Software.
|
|
|
*
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
* ====================================================================
|
|
|
*//**
|
|
|
* @license
|
|
|
* (c) Dean McNamee <dean@gmail.com>, 2013.
|
|
|
*
|
|
|
* https://github.com/deanm/omggif
|
|
|
*
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
* of this software and associated documentation files (the "Software"), to
|
|
|
* deal in the Software without restriction, including without limitation the
|
|
|
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
* sell copies of the Software, and to permit persons to whom the Software is
|
|
|
* furnished to do so, subject to the following conditions:
|
|
|
*
|
|
|
* The above copyright notice and this permission notice shall be included in
|
|
|
* all copies or substantial portions of the Software.
|
|
|
*
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
|
* IN THE SOFTWARE.
|
|
|
*
|
|
|
* omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
|
|
|
* including animation and compression. It does not rely on any specific
|
|
|
* underlying system, so should run in the browser, Node, or Plask.
|
|
|
*/function st(qe){var Se=0;if(qe[Se++]!==71||qe[Se++]!==73||qe[Se++]!==70||qe[Se++]!==56||(qe[Se++]+1&253)!=56||qe[Se++]!==97)throw new Error("Invalid GIF 87a/89a header.");var Me=qe[Se++]|qe[Se++]<<8,Be=qe[Se++]|qe[Se++]<<8,Qe=qe[Se++],Ve=Qe>>7,Ye=1<<(7&Qe)+1;qe[Se++],qe[Se++];var pt=null,ht=null;Ve&&(pt=Se,ht=Ye,Se+=3*Ye);var Vt=!0,dr=[],tr=0,ir=null,_t=0,gr=null;for(this.width=Me,this.height=Be;Vt&&Se<qe.length;)switch(qe[Se++]){case 33:switch(qe[Se++]){case 255:if(qe[Se]!==11||qe[Se+1]==78&&qe[Se+2]==69&&qe[Se+3]==84&&qe[Se+4]==83&&qe[Se+5]==67&&qe[Se+6]==65&&qe[Se+7]==80&&qe[Se+8]==69&&qe[Se+9]==50&&qe[Se+10]==46&&qe[Se+11]==48&&qe[Se+12]==3&&qe[Se+13]==1&&qe[Se+16]==0)Se+=14,gr=qe[Se++]|qe[Se++]<<8,Se++;else for(Se+=12;;){if(!((rn=qe[Se++])>=0))throw Error("Invalid block size");if(rn===0)break;Se+=rn}break;case 249:if(qe[Se++]!==4||qe[Se+4]!==0)throw new Error("Invalid graphics extension block.");var jt=qe[Se++];tr=qe[Se++]|qe[Se++]<<8,ir=qe[Se++],(1&jt)==0&&(ir=null),_t=jt>>2&7,Se++;break;case 254:for(;;){if(!((rn=qe[Se++])>=0))throw Error("Invalid block size");if(rn===0)break;Se+=rn}break;default:throw new Error("Unknown graphic control label: 0x"+qe[Se-1].toString(16))}break;case 44:var Sr=qe[Se++]|qe[Se++]<<8,Ar=qe[Se++]|qe[Se++]<<8,sr=qe[Se++]|qe[Se++]<<8,ln=qe[Se++]|qe[Se++]<<8,_n=qe[Se++],Wn=_n>>6&1,Nn=1<<(7&_n)+1,Mn=pt,Gn=ht,xn=!1;_n>>7&&(xn=!0,Mn=Se,Gn=Nn,Se+=3*Nn);var mi=Se;for(Se++;;){var rn;if(!((rn=qe[Se++])>=0))throw Error("Invalid block size");if(rn===0)break;Se+=rn}dr.push({x:Sr,y:Ar,width:sr,height:ln,has_local_palette:xn,palette_offset:Mn,palette_size:Gn,data_offset:mi,data_length:Se-mi,transparent_index:ir,interlaced:!!Wn,delay:tr,disposal:_t});break;case 59:Vt=!1;break;default:throw new Error("Unknown gif block: 0x"+qe[Se-1].toString(16))}this.numFrames=function(){return dr.length},this.loopCount=function(){return gr},this.frameInfo=function(Ur){if(Ur<0||Ur>=dr.length)throw new Error("Frame index out of range.");return dr[Ur]},this.decodeAndBlitFrameBGRA=function(Ur,cn){var Qr=this.frameInfo(Ur),Vn=Qr.width*Qr.height,Hn=new Uint8Array(Vn);Bt(qe,Qr.data_offset,Hn,Vn);var li=Qr.palette_offset,Un=Qr.transparent_index;Un===null&&(Un=256);var gi=Qr.width,Bn=Me-gi,di=gi,qr=4*(Qr.y*Me+Qr.x),xr=4*((Qr.y+Qr.height)*Me+Qr.x),nn=qr,gn=4*Bn;Qr.interlaced===!0&&(gn+=4*Me*7);for(var On=8,Fn=0,zn=Hn.length;Fn<zn;++Fn){var $n=Hn[Fn];if(di===0&&(di=gi,(nn+=gn)>=xr&&(gn=4*Bn+4*Me*(On-1),nn=qr+(gi+Bn)*(On<<1),On>>=1)),$n===Un)nn+=4;else{var Zn=qe[li+3*$n],vi=qe[li+3*$n+1],Pi=qe[li+3*$n+2];cn[nn++]=Pi,cn[nn++]=vi,cn[nn++]=Zn,cn[nn++]=255}--di}},this.decodeAndBlitFrameRGBA=function(Ur,cn){var Qr=this.frameInfo(Ur),Vn=Qr.width*Qr.height,Hn=new Uint8Array(Vn);Bt(qe,Qr.data_offset,Hn,Vn);var li=Qr.palette_offset,Un=Qr.transparent_index;Un===null&&(Un=256);var gi=Qr.width,Bn=Me-gi,di=gi,qr=4*(Qr.y*Me+Qr.x),xr=4*((Qr.y+Qr.height)*Me+Qr.x),nn=qr,gn=4*Bn;Qr.interlaced===!0&&(gn+=4*Me*7);for(var On=8,Fn=0,zn=Hn.length;Fn<zn;++Fn){var $n=Hn[Fn];if(di===0&&(di=gi,(nn+=gn)>=xr&&(gn=4*Bn+4*Me*(On-1),nn=qr+(gi+Bn)*(On<<1),On>>=1)),$n===Un)nn+=4;else{var Zn=qe[li+3*$n],vi=qe[li+3*$n+1],Pi=qe[li+3*$n+2];cn[nn++]=Zn,cn[nn++]=vi,cn[nn++]=Pi,cn[nn++]=255}--di}}}function Bt(qe,Se,Me,Be){for(var Qe=qe[Se++],Ve=1<<Qe,Ye=Ve+1,pt=Ye+1,ht=Qe+1,Vt=(1<<ht)-1,dr=0,tr=0,ir=0,_t=qe[Se++],gr=new Int32Array(4096),jt=null;;){for(;dr<16&&_t!==0;)tr|=qe[Se++]<<dr,dr+=8,_t===1?_t=qe[Se++]:--_t;if(dr<ht)break;var Sr=tr&Vt;if(tr>>=ht,dr-=ht,Sr!==Ve){if(Sr===Ye)break;for(var Ar=Sr<pt?Sr:jt,sr=0,ln=Ar;ln>Ve;)ln=gr[ln]>>8,++sr;var _n=ln;if(ir+sr+(Ar!==Sr?1:0)>Be)return void c.log("Warning, gif stream longer than expected.");Me[ir++]=_n;var Wn=ir+=sr;for(Ar!==Sr&&(Me[ir++]=_n),ln=Ar;sr--;)ln=gr[ln],Me[--Wn]=255&ln,ln>>=8;jt!==null&&pt<4096&&(gr[pt++]=jt<<8|_n,pt>=Vt+1&&ht<12&&(++ht,Vt=Vt<<1|1)),jt=Sr}else pt=Ye+1,Vt=(1<<(ht=Qe+1))-1,jt=null}return ir!==Be&&c.log("Warning, gif stream shorter than expected."),Me}/**
|
|
|
* @license
|
|
|
Copyright (c) 2008, Adobe Systems Incorporated
|
|
|
All rights reserved.
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
modification, are permitted provided that the following conditions are
|
|
|
met:
|
|
|
|
|
|
* Redistributions of source code must retain the above copyright notice,
|
|
|
this list of conditions and the following disclaimer.
|
|
|
|
|
|
* Redistributions in binary form must reproduce the above copyright
|
|
|
notice, this list of conditions and the following disclaimer in the
|
|
|
documentation and/or other materials provided with the distribution.
|
|
|
|
|
|
* Neither the name of Adobe Systems Incorporated nor the names of its
|
|
|
contributors may be used to endorse or promote products derived from
|
|
|
this software without specific prior written permission.
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
|
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
|
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
|
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
|
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
*/function $t(qe){var Se,Me,Be,Qe,Ve,Ye=Math.floor,pt=new Array(64),ht=new Array(64),Vt=new Array(64),dr=new Array(64),tr=new Array(65535),ir=new Array(65535),_t=new Array(64),gr=new Array(64),jt=[],Sr=0,Ar=7,sr=new Array(64),ln=new Array(64),_n=new Array(64),Wn=new Array(256),Nn=new Array(2048),Mn=[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],Gn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],xn=[0,1,2,3,4,5,6,7,8,9,10,11],mi=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],rn=[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],Ur=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],cn=[0,1,2,3,4,5,6,7,8,9,10,11],Qr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Vn=[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 Hn(qr,xr){for(var nn=0,gn=0,On=new Array,Fn=1;Fn<=16;Fn++){for(var zn=1;zn<=qr[Fn];zn++)On[xr[gn]]=[],On[xr[gn]][0]=nn,On[xr[gn]][1]=Fn,gn++,nn++;nn*=2}return On}function li(qr){for(var xr=qr[0],nn=qr[1]-1;nn>=0;)xr&1<<nn&&(Sr|=1<<Ar),nn--,--Ar<0&&(Sr==255?(Un(255),Un(0)):Un(Sr),Ar=7,Sr=0)}function Un(qr){jt.push(qr)}function gi(qr){Un(qr>>8&255),Un(255&qr)}function Bn(qr,xr,nn,gn,On){for(var Fn,zn=On[0],$n=On[240],Zn=function(bi,Ui){var ni,qi,Qi,ha,Yt,Ir,Zr,He,gt,Xt,zt=0;for(gt=0;gt<8;++gt){ni=bi[zt],qi=bi[zt+1],Qi=bi[zt+2],ha=bi[zt+3],Yt=bi[zt+4],Ir=bi[zt+5],Zr=bi[zt+6];var vr=ni+(He=bi[zt+7]),or=ni-He,Vr=qi+Zr,Kr=qi-Zr,Dr=Qi+Ir,dn=Qi-Ir,on=ha+Yt,Cn=ha-Yt,sn=vr+on,an=vr-on,Yr=Vr+Dr,fn=Vr-Dr;bi[zt]=sn+Yr,bi[zt+4]=sn-Yr;var vn=.707106781*(fn+an);bi[zt+2]=an+vn,bi[zt+6]=an-vn;var Ln=.382683433*((sn=Cn+dn)-(fn=Kr+or)),oi=.5411961*sn+Ln,si=1.306562965*fn+Ln,Ni=.707106781*(Yr=dn+Kr),qn=or+Ni,Pn=or-Ni;bi[zt+5]=Pn+oi,bi[zt+3]=Pn-oi,bi[zt+1]=qn+si,bi[zt+7]=qn-si,zt+=8}for(zt=0,gt=0;gt<8;++gt){ni=bi[zt],qi=bi[zt+8],Qi=bi[zt+16],ha=bi[zt+24],Yt=bi[zt+32],Ir=bi[zt+40],Zr=bi[zt+48];var Bi=ni+(He=bi[zt+56]),ci=ni-He,wi=qi+Zr,fi=qi-Zr,ki=Qi+Ir,fa=Qi-Ir,zi=ha+Yt,ma=ha-Yt,aa=Bi+zi,ya=Bi-zi,Ea=wi+ki,ca=wi-ki;bi[zt]=aa+Ea,bi[zt+32]=aa-Ea;var ka=.707106781*(ca+ya);bi[zt+16]=ya+ka,bi[zt+48]=ya-ka;var wa=.382683433*((aa=ma+fa)-(ca=fi+ci)),_i=.5411961*aa+wa,xi=1.306562965*ca+wa,ji=.707106781*(Ea=fa+fi),Zi=ci+ji,Si=ci-ji;bi[zt+40]=Si+_i,bi[zt+24]=Si-_i,bi[zt+8]=Zi+xi,bi[zt+56]=Zi-xi,zt++}for(gt=0;gt<64;++gt)Xt=bi[gt]*Ui[gt],_t[gt]=Xt>0?Xt+.5|0:Xt-.5|0;return _t}(qr,xr),vi=0;vi<64;++vi)gr[Mn[vi]]=Zn[vi];var Pi=gr[0]-nn;nn=gr[0],Pi==0?li(gn[0]):(li(gn[ir[Fn=32767+Pi]]),li(tr[Fn]));for(var Fi=63;Fi>0&&gr[Fi]==0;)Fi--;if(Fi==0)return li(zn),nn;for(var ja,Qn=1;Qn<=Fi;){for(var Xr=Qn;gr[Qn]==0&&Qn<=Fi;)++Qn;var hi=Qn-Xr;if(hi>=16){ja=hi>>4;for(var Ri=1;Ri<=ja;++Ri)li($n);hi&=15}Fn=32767+gr[Qn],li(On[(hi<<4)+ir[Fn]]),li(tr[Fn]),Qn++}return Fi!=63&&li(zn),nn}function di(qr){(qr=Math.min(Math.max(qr,1),100),Ve!=qr)&&(!function(xr){for(var nn=[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],gn=0;gn<64;gn++){var On=Ye((nn[gn]*xr+50)/100);On=Math.min(Math.max(On,1),255),pt[Mn[gn]]=On}for(var Fn=[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],zn=0;zn<64;zn++){var $n=Ye((Fn[zn]*xr+50)/100);$n=Math.min(Math.max($n,1),255),ht[Mn[zn]]=$n}for(var Zn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],vi=0,Pi=0;Pi<8;Pi++)for(var Fi=0;Fi<8;Fi++)Vt[vi]=1/(pt[Mn[vi]]*Zn[Pi]*Zn[Fi]*8),dr[vi]=1/(ht[Mn[vi]]*Zn[Pi]*Zn[Fi]*8),vi++}(qr<50?Math.floor(5e3/qr):Math.floor(200-2*qr)),Ve=qr)}this.encode=function(qr,xr){xr&&di(xr),jt=new Array,Sr=0,Ar=7,gi(65496),gi(65504),gi(16),Un(74),Un(70),Un(73),Un(70),Un(0),Un(1),Un(1),Un(0),gi(1),gi(1),Un(0),Un(0),function(){gi(65499),gi(132),Un(0);for(var qi=0;qi<64;qi++)Un(pt[qi]);Un(1);for(var Qi=0;Qi<64;Qi++)Un(ht[Qi])}(),function(qi,Qi){gi(65472),gi(17),Un(8),gi(Qi),gi(qi),Un(3),Un(1),Un(17),Un(0),Un(2),Un(17),Un(1),Un(3),Un(17),Un(1)}(qr.width,qr.height),function(){gi(65476),gi(418),Un(0);for(var qi=0;qi<16;qi++)Un(Gn[qi+1]);for(var Qi=0;Qi<=11;Qi++)Un(xn[Qi]);Un(16);for(var ha=0;ha<16;ha++)Un(mi[ha+1]);for(var Yt=0;Yt<=161;Yt++)Un(rn[Yt]);Un(1);for(var Ir=0;Ir<16;Ir++)Un(Ur[Ir+1]);for(var Zr=0;Zr<=11;Zr++)Un(cn[Zr]);Un(17);for(var He=0;He<16;He++)Un(Qr[He+1]);for(var gt=0;gt<=161;gt++)Un(Vn[gt])}(),gi(65498),gi(12),Un(3),Un(1),Un(0),Un(2),Un(17),Un(3),Un(17),Un(0),Un(63),Un(0);var nn=0,gn=0,On=0;Sr=0,Ar=7,this.encode.displayName="_encode_";for(var Fn,zn,$n,Zn,vi,Pi,Fi,ja,Qn,Xr=qr.data,hi=qr.width,Ri=qr.height,bi=4*hi,Ui=0;Ui<Ri;){for(Fn=0;Fn<bi;){for(vi=bi*Ui+Fn,Fi=-1,ja=0,Qn=0;Qn<64;Qn++)Pi=vi+(ja=Qn>>3)*bi+(Fi=4*(7&Qn)),Ui+ja>=Ri&&(Pi-=bi*(Ui+1+ja-Ri)),Fn+Fi>=bi&&(Pi-=Fn+Fi-bi+4),zn=Xr[Pi++],$n=Xr[Pi++],Zn=Xr[Pi++],sr[Qn]=(Nn[zn]+Nn[$n+256>>0]+Nn[Zn+512>>0]>>16)-128,ln[Qn]=(Nn[zn+768>>0]+Nn[$n+1024>>0]+Nn[Zn+1280>>0]>>16)-128,_n[Qn]=(Nn[zn+1280>>0]+Nn[$n+1536>>0]+Nn[Zn+1792>>0]>>16)-128;nn=Bn(sr,Vt,nn,Se,Be),gn=Bn(ln,dr,gn,Me,Qe),On=Bn(_n,dr,On,Me,Qe),Fn+=32}Ui+=8}if(Ar>=0){var ni=[];ni[1]=Ar+1,ni[0]=(1<<Ar+1)-1,li(ni)}return gi(65497),new Uint8Array(jt)},qe=qe||50,function(){for(var qr=String.fromCharCode,xr=0;xr<256;xr++)Wn[xr]=qr(xr)}(),Se=Hn(Gn,xn),Me=Hn(Ur,cn),Be=Hn(mi,rn),Qe=Hn(Qr,Vn),function(){for(var qr=1,xr=2,nn=1;nn<=15;nn++){for(var gn=qr;gn<xr;gn++)ir[32767+gn]=nn,tr[32767+gn]=[],tr[32767+gn][1]=nn,tr[32767+gn][0]=gn;for(var On=-(xr-1);On<=-qr;On++)ir[32767+On]=nn,tr[32767+On]=[],tr[32767+On][1]=nn,tr[32767+On][0]=xr-1+On;qr<<=1,xr<<=1}}(),function(){for(var qr=0;qr<256;qr++)Nn[qr]=19595*qr,Nn[qr+256>>0]=38470*qr,Nn[qr+512>>0]=7471*qr+32768,Nn[qr+768>>0]=-11059*qr,Nn[qr+1024>>0]=-21709*qr,Nn[qr+1280>>0]=32768*qr+8421375,Nn[qr+1536>>0]=-27439*qr,Nn[qr+1792>>0]=-5329*qr}(),di(qe)}/**
|
|
|
* @license
|
|
|
* Copyright (c) 2017 Aras Abbasi
|
|
|
*
|
|
|
* Licensed under the MIT License.
|
|
|
* http://opensource.org/licenses/mit-license
|
|
|
*/function Nr(qe,Se){if(this.pos=0,this.buffer=qe,this.datav=new DataView(qe.buffer),this.is_with_alpha=!!Se,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function yn(qe){function Se(Gn){if(!Gn)throw Error("assert :P")}function Me(Gn,xn,mi){for(var rn=0;4>rn;rn++)if(Gn[xn+rn]!=mi.charCodeAt(rn))return!0;return!1}function Be(Gn,xn,mi,rn,Ur){for(var cn=0;cn<Ur;cn++)Gn[xn+cn]=mi[rn+cn]}function Qe(Gn,xn,mi,rn){for(var Ur=0;Ur<rn;Ur++)Gn[xn+Ur]=mi}function Ve(Gn){return new Int32Array(Gn)}function Ye(Gn,xn){for(var mi=[],rn=0;rn<Gn;rn++)mi.push(new xn);return mi}function pt(Gn,xn){var mi=[];return function rn(Ur,cn,Qr){for(var Vn=Qr[cn],Hn=0;Hn<Vn&&(Ur.push(Qr.length>cn+1?[]:new xn),!(Qr.length<cn+1));Hn++)rn(Ur[Hn],cn+1,Qr)}(mi,0,Gn),mi}var ht=function(){var xn=this;function mi(fe,ke){for(var lt=1<<ke-1>>>0;fe<)lt>>>=1;return lt?(fe<-1)+lt:fe}function rn(fe,ke,lt,Ht,er){Se(!(Ht%lt));do fe[ke+(Ht-=lt)]=er;while(0<Ht)}function Ur(fe,ke,lt,Ht,er){if(Se(2328>=er),512>=er)var mr=Ve(512);else if((mr=Ve(er))==null)return 0;return function(Oe,Q,me,We,nt,Et){var Rt,Mt,nr=Q,yr=1<<me,rr=Ve(16),qt=Ve(16);for(Se(nt!=0),Se(We!=null),Se(Oe!=null),Se(0<me),Mt=0;Mt<nt;++Mt){if(15<We[Mt])return 0;++rr[We[Mt]]}if(rr[0]==nt)return 0;for(qt[1]=0,Rt=1;15>Rt;++Rt){if(rr[Rt]>1<<Rt)return 0;qt[Rt+1]=qt[Rt]+rr[Rt]}for(Mt=0;Mt<nt;++Mt)Rt=We[Mt],0<We[Mt]&&(Et[qt[Rt]++]=Mt);if(qt[15]==1)return(We=new cn).g=0,We.value=Et[0],rn(Oe,nr,1,yr,We),yr;var hr,Er=-1,zr=yr-1,En=0,jn=1,pi=1,Yn=1<<me;for(Mt=0,Rt=1,nt=2;Rt<=me;++Rt,nt<<=1){if(jn+=pi<<=1,0>(pi-=rr[Rt]))return 0;for(;0<rr[Rt];--rr[Rt])(We=new cn).g=Rt,We.value=Et[Mt++],rn(Oe,nr+En,nt,Yn,We),En=mi(En,Rt)}for(Rt=me+1,nt=2;15>=Rt;++Rt,nt<<=1){if(jn+=pi<<=1,0>(pi-=rr[Rt]))return 0;for(;0<rr[Rt];--rr[Rt]){if(We=new cn,(En&zr)!=Er){for(nr+=Yn,hr=1<<(Er=Rt)-me;15>Er&&!(0>=(hr-=rr[Er]));)++Er,hr<<=1;yr+=Yn=1<<(hr=Er-me),Oe[Q+(Er=En&zr)].g=hr+me,Oe[Q+Er].value=nr-Q-Er}We.g=Rt-me,We.value=Et[Mt++],rn(Oe,nr+(En>>me),nt,Yn,We),En=mi(En,Rt)}}return jn!=2*qt[15]-1?0:yr}(fe,ke,lt,Ht,er,mr)}function cn(){this.value=this.g=0}function Qr(){this.value=this.g=0}function Vn(){this.G=Ye(5,cn),this.H=Ve(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Ye(Ro,Qr)}function Hn(fe,ke,lt,Ht){Se(fe!=null),Se(ke!=null),Se(2147483648>Ht),fe.Ca=254,fe.I=0,fe.b=-8,fe.Ka=0,fe.oa=ke,fe.pa=lt,fe.Jd=ke,fe.Yc=lt+Ht,fe.Zc=4<=Ht?lt+Ht-4+1:lt,zn(fe)}function li(fe,ke){for(var lt=0;0<ke--;)lt|=Zn(fe,128)<<ke;return lt}function Un(fe,ke){var lt=li(fe,ke);return $n(fe)?-lt:lt}function gi(fe,ke,lt,Ht){var er,mr=0;for(Se(fe!=null),Se(ke!=null),Se(4294967288>Ht),fe.Sb=Ht,fe.Ra=0,fe.u=0,fe.h=0,4<Ht&&(Ht=4),er=0;er<Ht;++er)mr+=ke[lt+er]<<8*er;fe.Ra=mr,fe.bb=Ht,fe.oa=ke,fe.pa=lt}function Bn(fe){for(;8<=fe.u&&fe.bb<fe.Sb;)fe.Ra>>>=8,fe.Ra+=fe.oa[fe.pa+fe.bb]<<So-8>>>0,++fe.bb,fe.u-=8;gn(fe)&&(fe.h=1,fe.u=0)}function di(fe,ke){if(Se(0<=ke),!fe.h&&ke<=wo){var lt=nn(fe)&ls[ke];return fe.u+=ke,Bn(fe),lt}return fe.h=1,fe.u=0}function qr(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function xr(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function nn(fe){return fe.Ra>>>(fe.u&So-1)>>>0}function gn(fe){return Se(fe.bb<=fe.Sb),fe.h||fe.bb==fe.Sb&&fe.u>So}function On(fe,ke){fe.u=ke,fe.h=gn(fe)}function Fn(fe){fe.u>=fs&&(Se(fe.u>=fs),Bn(fe))}function zn(fe){Se(fe!=null&&fe.oa!=null),fe.pa<fe.Zc?(fe.I=(fe.oa[fe.pa++]|fe.I<<8)>>>0,fe.b+=8):(Se(fe!=null&&fe.oa!=null),fe.pa<fe.Yc?(fe.b+=8,fe.I=fe.oa[fe.pa++]|fe.I<<8):fe.Ka?fe.b=0:(fe.I<<=8,fe.b+=8,fe.Ka=1))}function $n(fe){return li(fe,1)}function Zn(fe,ke){var lt=fe.Ca;0>fe.b&&zn(fe);var Ht=fe.b,er=lt*ke>>>8,mr=(fe.I>>>Ht>er)+0;for(mr?(lt-=er,fe.I-=er+1<<Ht>>>0):lt=er+1,Ht=lt,er=0;256<=Ht;)er+=8,Ht>>=8;return Ht=7^er+Cs[Ht],fe.b-=Ht,fe.Ca=(lt<<Ht)-1,mr}function vi(fe,ke,lt){fe[ke+0]=lt>>24&255,fe[ke+1]=lt>>16&255,fe[ke+2]=lt>>8&255,fe[ke+3]=lt>>0&255}function Pi(fe,ke){return fe[ke+0]<<0|fe[ke+1]<<8}function Fi(fe,ke){return Pi(fe,ke)|fe[ke+2]<<16}function ja(fe,ke){return Pi(fe,ke)|Pi(fe,ke+2)<<16}function Qn(fe,ke){var lt=1<<ke;return Se(fe!=null),Se(0<ke),fe.X=Ve(lt),fe.X==null?0:(fe.Mb=32-ke,fe.Xa=ke,1)}function Xr(fe,ke){Se(fe!=null),Se(ke!=null),Se(fe.Xa==ke.Xa),Be(ke.X,0,fe.X,0,1<<ke.Xa)}function hi(){this.X=[],this.Xa=this.Mb=0}function Ri(fe,ke,lt,Ht){Se(lt!=null),Se(Ht!=null);var er=lt[0],mr=Ht[0];return er==0&&(er=(fe*mr+ke/2)/ke),mr==0&&(mr=(ke*er+fe/2)/fe),0>=er||0>=mr?0:(lt[0]=er,Ht[0]=mr,1)}function bi(fe,ke){return fe+(1<<ke)-1>>>ke}function Ui(fe,ke){return((4278255360&fe)+(4278255360&ke)>>>0&4278255360)+((16711935&fe)+(16711935&ke)>>>0&16711935)>>>0}function ni(fe,ke){xn[ke]=function(lt,Ht,er,mr,Oe,Q,me){var We;for(We=0;We<Oe;++We){var nt=xn[fe](Q[me+We-1],er,mr+We);Q[me+We]=Ui(lt[Ht+We],nt)}}}function qi(){this.ud=this.hd=this.jd=0}function Qi(fe,ke){return((4278124286&(fe^ke))>>>1)+(fe&ke)>>>0}function ha(fe){return 0<=fe&&256>fe?fe:0>fe?0:255<fe?255:void 0}function Yt(fe,ke){return ha(fe+(fe-ke+.5>>1))}function Ir(fe,ke,lt){return Math.abs(ke-lt)-Math.abs(fe-lt)}function Zr(fe,ke,lt,Ht,er,mr,Oe){for(Ht=mr[Oe-1],lt=0;lt<er;++lt)mr[Oe+lt]=Ht=Ui(fe[ke+lt],Ht)}function He(fe,ke,lt,Ht,er){var mr;for(mr=0;mr<lt;++mr){var Oe=fe[ke+mr],Q=Oe>>8&255,me=16711935&(me=(me=16711935&Oe)+((Q<<16)+Q));Ht[er+mr]=(4278255360&Oe)+me>>>0}}function gt(fe,ke){ke.jd=fe>>0&255,ke.hd=fe>>8&255,ke.ud=fe>>16&255}function Xt(fe,ke,lt,Ht,er,mr){var Oe;for(Oe=0;Oe<Ht;++Oe){var Q=ke[lt+Oe],me=Q>>>8,We=Q,nt=255&(nt=(nt=Q>>>16)+((fe.jd<<24>>24)*(me<<24>>24)>>>5));We=255&(We=(We=We+((fe.hd<<24>>24)*(me<<24>>24)>>>5))+((fe.ud<<24>>24)*(nt<<24>>24)>>>5)),er[mr+Oe]=(4278255360&Q)+(nt<<16)+We}}function zt(fe,ke,lt,Ht,er){xn[ke]=function(mr,Oe,Q,me,We,nt,Et,Rt,Mt){for(me=Et;me<Rt;++me)for(Et=0;Et<Mt;++Et)We[nt++]=er(Q[Ht(mr[Oe++])])},xn[fe]=function(mr,Oe,Q,me,We,nt,Et){var Rt=8>>mr.b,Mt=mr.Ea,nr=mr.K[0],yr=mr.w;if(8>Rt)for(mr=(1<<mr.b)-1,yr=(1<<Rt)-1;Oe<Q;++Oe){var rr,qt=0;for(rr=0;rr<Mt;++rr)rr&mr||(qt=Ht(me[We++])),nt[Et++]=er(nr[qt&yr]),qt>>=Rt}else xn["VP8LMapColor"+lt](me,We,nr,yr,nt,Et,Oe,Q,Mt)}}function vr(fe,ke,lt,Ht,er){for(lt=ke+lt;ke<lt;){var mr=fe[ke++];Ht[er++]=mr>>16&255,Ht[er++]=mr>>8&255,Ht[er++]=mr>>0&255}}function or(fe,ke,lt,Ht,er){for(lt=ke+lt;ke<lt;){var mr=fe[ke++];Ht[er++]=mr>>16&255,Ht[er++]=mr>>8&255,Ht[er++]=mr>>0&255,Ht[er++]=mr>>24&255}}function Vr(fe,ke,lt,Ht,er){for(lt=ke+lt;ke<lt;){var mr=(Oe=fe[ke++])>>16&240|Oe>>12&15,Oe=Oe>>0&240|Oe>>28&15;Ht[er++]=mr,Ht[er++]=Oe}}function Kr(fe,ke,lt,Ht,er){for(lt=ke+lt;ke<lt;){var mr=(Oe=fe[ke++])>>16&248|Oe>>13&7,Oe=Oe>>5&224|Oe>>3&31;Ht[er++]=mr,Ht[er++]=Oe}}function Dr(fe,ke,lt,Ht,er){for(lt=ke+lt;ke<lt;){var mr=fe[ke++];Ht[er++]=mr>>0&255,Ht[er++]=mr>>8&255,Ht[er++]=mr>>16&255}}function dn(fe,ke,lt,Ht,er,mr){if(mr==0)for(lt=ke+lt;ke<lt;)vi(Ht,((mr=fe[ke++])[0]>>24|mr[1]>>8&65280|mr[2]<<8&16711680|mr[3]<<24)>>>0),er+=32;else Be(Ht,er,fe,ke,lt)}function on(fe,ke){xn[ke][0]=xn[fe+"0"],xn[ke][1]=xn[fe+"1"],xn[ke][2]=xn[fe+"2"],xn[ke][3]=xn[fe+"3"],xn[ke][4]=xn[fe+"4"],xn[ke][5]=xn[fe+"5"],xn[ke][6]=xn[fe+"6"],xn[ke][7]=xn[fe+"7"],xn[ke][8]=xn[fe+"8"],xn[ke][9]=xn[fe+"9"],xn[ke][10]=xn[fe+"10"],xn[ke][11]=xn[fe+"11"],xn[ke][12]=xn[fe+"12"],xn[ke][13]=xn[fe+"13"],xn[ke][14]=xn[fe+"0"],xn[ke][15]=xn[fe+"0"]}function Cn(fe){return fe==uc||fe==Sl||fe==_l||fe==Ml}function sn(){this.eb=[],this.size=this.A=this.fb=0}function an(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Yr(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new sn,this.f.kb=new an,this.sd=null}function fn(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function vn(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Ln(fe){return alert("todo:WebPSamplerProcessPlane"),fe.T}function oi(fe,ke){var lt=fe.T,Ht=ke.ba.f.RGBA,er=Ht.eb,mr=Ht.fb+fe.ka*Ht.A,Oe=bl[ke.ba.S],Q=fe.y,me=fe.O,We=fe.f,nt=fe.N,Et=fe.ea,Rt=fe.W,Mt=ke.cc,nr=ke.dc,yr=ke.Mc,rr=ke.Nc,qt=fe.ka,hr=fe.ka+fe.T,Er=fe.U,zr=Er+1>>1;for(qt==0?Oe(Q,me,null,null,We,nt,Et,Rt,We,nt,Et,Rt,er,mr,null,null,Er):(Oe(ke.ec,ke.fc,Q,me,Mt,nr,yr,rr,We,nt,Et,Rt,er,mr-Ht.A,er,mr,Er),++lt);qt+2<hr;qt+=2)Mt=We,nr=nt,yr=Et,rr=Rt,nt+=fe.Rc,Rt+=fe.Rc,mr+=2*Ht.A,Oe(Q,(me+=2*fe.fa)-fe.fa,Q,me,Mt,nr,yr,rr,We,nt,Et,Rt,er,mr-Ht.A,er,mr,Er);return me+=fe.fa,fe.j+hr<fe.o?(Be(ke.ec,ke.fc,Q,me,Er),Be(ke.cc,ke.dc,We,nt,zr),Be(ke.Mc,ke.Nc,Et,Rt,zr),lt--):1&hr||Oe(Q,me,null,null,We,nt,Et,Rt,We,nt,Et,Rt,er,mr+Ht.A,null,null,Er),lt}function si(fe,ke,lt){var Ht=fe.F,er=[fe.J];if(Ht!=null){var mr=fe.U,Oe=ke.ba.S,Q=Oe==Rl||Oe==_l;ke=ke.ba.f.RGBA;var me=[0],We=fe.ka;me[0]=fe.T,fe.Kb&&(We==0?--me[0]:(--We,er[0]-=fe.width),fe.j+fe.ka+fe.T==fe.o&&(me[0]=fe.o-fe.j-We));var nt=ke.eb;We=ke.fb+We*ke.A,fe=Fs(Ht,er[0],fe.width,mr,me,nt,We+(Q?0:3),ke.A),Se(lt==me),fe&&Cn(Oe)&&Zs(nt,We,Q,mr,me,ke.A)}return 0}function Ni(fe){var ke=fe.ma,lt=ke.ba.S,Ht=11>lt,er=lt==ql||lt==Xl||lt==Rl||lt==cc||lt==12||Cn(lt);if(ke.memory=null,ke.Ib=null,ke.Jb=null,ke.Nd=null,!oo(ke.Oa,fe,er?11:12))return 0;if(er&&Cn(lt)&&Ke(),fe.da)alert("todo:use_scaling");else{if(Ht){if(ke.Ib=Ln,fe.Kb){if(lt=fe.U+1>>1,ke.memory=Ve(fe.U+2*lt),ke.memory==null)return 0;ke.ec=ke.memory,ke.fc=0,ke.cc=ke.ec,ke.dc=ke.fc+fe.U,ke.Mc=ke.cc,ke.Nc=ke.dc+lt,ke.Ib=oi,Ke()}}else alert("todo:EmitYUV");er&&(ke.Jb=si,Ht&&pe())}if(Ht&&!zc){for(fe=0;256>fe;++fe)$c[fe]=89858*(fe-128)+Ll>>Ol,eu[fe]=-22014*(fe-128)+Ll,mc[fe]=-45773*(fe-128),Ql[fe]=113618*(fe-128)+Ll>>Ol;for(fe=Gl;fe<Kl;++fe)ke=76283*(fe-16)+Ll>>Ol,Oc[fe-Gl]=pa(ke,255),ac[fe-Gl]=pa(ke+8>>4,15);zc=1}return 1}function qn(fe){var ke=fe.ma,lt=fe.U,Ht=fe.T;return Se(!(1&fe.ka)),0>=lt||0>=Ht?0:(lt=ke.Ib(fe,ke),ke.Jb!=null&&ke.Jb(fe,ke,lt),ke.Dc+=lt,1)}function Pn(fe){fe.ma.memory=null}function Bi(fe,ke,lt,Ht){return di(fe,8)!=47?0:(ke[0]=di(fe,14)+1,lt[0]=di(fe,14)+1,Ht[0]=di(fe,1),di(fe,3)!=0?0:!fe.h)}function ci(fe,ke){if(4>fe)return fe+1;var lt=fe-2>>1;return(2+(1&fe)<<lt)+di(ke,lt)+1}function wi(fe,ke){return 120<ke?ke-120:1<=(lt=((lt=tc[ke-1])>>4)*fe+(8-(15<)))?lt:1;var lt}function fi(fe,ke,lt){var Ht=nn(lt),er=fe[ke+=255&Ht].g-8;return 0<er&&(On(lt,lt.u+8),Ht=nn(lt),ke+=fe[ke].value,ke+=Ht&(1<<er)-1),On(lt,lt.u+fe[ke].g),fe[ke].value}function ki(fe,ke,lt){return lt.g+=fe.g,lt.value+=fe.value<<ke>>>0,Se(8>=lt.g),fe.g}function fa(fe,ke,lt){var Ht=fe.xc;return Se((ke=Ht==0?0:fe.vc[fe.md*(lt>>Ht)+(ke>>Ht)])<fe.Wb),fe.Ya[ke]}function zi(fe,ke,lt,Ht){var er=fe.ab,mr=fe.c*ke,Oe=fe.C;ke=Oe+ke;var Q=lt,me=Ht;for(Ht=fe.Ta,lt=fe.Ua;0<er--;){var We=fe.gc[er],nt=Oe,Et=ke,Rt=Q,Mt=me,nr=(me=Ht,Q=lt,We.Ea);switch(Se(nt<Et),Se(Et<=We.nc),We.hc){case 2:Ws(Rt,Mt,(Et-nt)*nr,me,Q);break;case 0:var yr=nt,rr=Et,qt=me,hr=Q,Er=(Yn=We).Ea;yr==0&&(qo(Rt,Mt,null,null,1,qt,hr),Zr(Rt,Mt+1,0,0,Er-1,qt,hr+1),Mt+=Er,hr+=Er,++yr);for(var zr=1<<Yn.b,En=zr-1,jn=bi(Er,Yn.b),pi=Yn.K,Yn=Yn.w+(yr>>Yn.b)*jn;yr<rr;){var Ji=pi,Ei=Yn,da=1;for(xo(Rt,Mt,qt,hr-Er,1,qt,hr);da<Er;){var ta=(da&~En)+zr;ta>Er&&(ta=Er),(0,ko[Ji[Ei++]>>8&15])(Rt,Mt+ +da,qt,hr+da-Er,ta-da,qt,hr+da),da=ta}Mt+=Er,hr+=Er,++yr&En||(Yn+=jn)}Et!=We.nc&&Be(me,Q-nr,me,Q+(Et-nt-1)*nr,nr);break;case 1:for(nr=Rt,rr=Mt,Er=(Rt=We.Ea)-(hr=Rt&~(qt=(Mt=1<<We.b)-1)),yr=bi(Rt,We.b),zr=We.K,We=We.w+(nt>>We.b)*yr;nt<Et;){for(En=zr,jn=We,pi=new qi,Yn=rr+hr,Ji=rr+Rt;rr<Yn;)gt(En[jn++],pi),Ki(pi,nr,rr,Mt,me,Q),rr+=Mt,Q+=Mt;rr<Ji&&(gt(En[jn++],pi),Ki(pi,nr,rr,Er,me,Q),rr+=Er,Q+=Er),++nt&qt||(We+=yr)}break;case 3:if(Rt==me&&Mt==Q&&0<We.b){for(rr=me,Rt=nr=Q+(Et-nt)*nr-(hr=(Et-nt)*bi(We.Ea,We.b)),Mt=me,qt=Q,yr=[],hr=(Er=hr)-1;0<=hr;--hr)yr[hr]=Mt[qt+hr];for(hr=Er-1;0<=hr;--hr)rr[Rt+hr]=yr[hr];ps(We,nt,Et,me,nr,me,Q)}else ps(We,nt,Et,Rt,Mt,me,Q)}Q=Ht,me=lt}me!=lt&&Be(Ht,lt,Q,me,mr)}function ma(fe,ke){var lt=fe.V,Ht=fe.Ba+fe.c*fe.C,er=ke-fe.C;if(Se(ke<=fe.l.o),Se(16>=er),0<er){var mr=fe.l,Oe=fe.Ta,Q=fe.Ua,me=mr.width;if(zi(fe,er,lt,Ht),er=Q=[Q],Se((lt=fe.C)<(Ht=ke)),Se(mr.v<mr.va),Ht>mr.o&&(Ht=mr.o),lt<mr.j){var We=mr.j-lt;lt=mr.j,er[0]+=We*me}if(lt>=Ht?lt=0:(er[0]+=4*mr.v,mr.ka=lt-mr.j,mr.U=mr.va-mr.v,mr.T=Ht-lt,lt=1),lt){if(Q=Q[0],11>(lt=fe.ca).S){var nt=lt.f.RGBA,Et=(Ht=lt.S,er=mr.U,mr=mr.T,We=nt.eb,nt.A),Rt=mr;for(nt=nt.fb+fe.Ma*nt.A;0<Rt--;){var Mt=Oe,nr=Q,yr=er,rr=We,qt=nt;switch(Ht){case Vl:zs(Mt,nr,yr,rr,qt);break;case ql:nl(Mt,nr,yr,rr,qt);break;case uc:nl(Mt,nr,yr,rr,qt),Zs(rr,qt,0,yr,1,0);break;case lc:ml(Mt,nr,yr,rr,qt);break;case Xl:dn(Mt,nr,yr,rr,qt,1);break;case Sl:dn(Mt,nr,yr,rr,qt,1),Zs(rr,qt,0,yr,1,0);break;case Rl:dn(Mt,nr,yr,rr,qt,0);break;case _l:dn(Mt,nr,yr,rr,qt,0),Zs(rr,qt,1,yr,1,0);break;case cc:Ss(Mt,nr,yr,rr,qt);break;case Ml:Ss(Mt,nr,yr,rr,qt),gl(rr,qt,yr,1,0);break;case $l:ts(Mt,nr,yr,rr,qt);break;default:Se(0)}Q+=me,nt+=Et}fe.Ma+=mr}else alert("todo:EmitRescaledRowsYUVA");Se(fe.Ma<=lt.height)}}fe.C=ke,Se(fe.C<=fe.i)}function aa(fe){var ke;if(0<fe.ua)return 0;for(ke=0;ke<fe.Wb;++ke){var lt=fe.Ya[ke].G,Ht=fe.Ya[ke].H;if(0<lt[1][Ht[1]+0].g||0<lt[2][Ht[2]+0].g||0<lt[3][Ht[3]+0].g)return 0}return 1}function ya(fe,ke,lt,Ht,er,mr){if(fe.Z!=0){var Oe=fe.qd,Q=fe.rd;for(Se(Il[fe.Z]!=null);ke<lt;++ke)Il[fe.Z](Oe,Q,Ht,er,Ht,er,mr),Oe=Ht,Q=er,er+=mr;fe.qd=Oe,fe.rd=Q}}function Ea(fe,ke){var lt=fe.l.ma,Ht=lt.Z==0||lt.Z==1?fe.l.j:fe.C;if(Ht=fe.C<Ht?Ht:fe.C,Se(ke<=fe.l.o),ke>Ht){var er=fe.l.width,mr=lt.ca,Oe=lt.tb+er*Ht,Q=fe.V,me=fe.Ba+fe.c*Ht,We=fe.gc;Se(fe.ab==1),Se(We[0].hc==3),cl(We[0],Ht,ke,Q,me,mr,Oe),ya(lt,Ht,ke,mr,Oe,er)}fe.C=fe.Ma=ke}function ca(fe,ke,lt,Ht,er,mr,Oe){var Q=fe.$/Ht,me=fe.$%Ht,We=fe.m,nt=fe.s,Et=lt+fe.$,Rt=Et;er=lt+Ht*er;var Mt=lt+Ht*mr,nr=280+nt.ua,yr=fe.Pb?Q:16777216,rr=0<nt.ua?nt.Wa:null,qt=nt.wc,hr=Et<Mt?fa(nt,me,Q):null;Se(fe.C<mr),Se(Mt<=er);var Er=!1;e:for(;;){for(;Er||Et<Mt;){var zr=0;if(Q>=yr){var En=Et-lt;Se((yr=fe).Pb),yr.wd=yr.m,yr.xd=En,0<yr.s.ua&&Xr(yr.s.Wa,yr.s.vb),yr=Q+dc}if(me&qt||(hr=fa(nt,me,Q)),Se(hr!=null),hr.Qb&&(ke[Et]=hr.qb,Er=!0),!Er)if(Fn(We),hr.jc){zr=We,En=ke;var jn=Et,pi=hr.pd[nn(zr)&Ro-1];Se(hr.jc),256>pi.g?(On(zr,zr.u+pi.g),En[jn]=pi.value,zr=0):(On(zr,zr.u+pi.g-256),Se(256<=pi.value),zr=pi.value),zr==0&&(Er=!0)}else zr=fi(hr.G[0],hr.H[0],We);if(We.h)break;if(Er||256>zr){if(!Er)if(hr.nd)ke[Et]=(hr.qb|zr<<8)>>>0;else{if(Fn(We),Er=fi(hr.G[1],hr.H[1],We),Fn(We),En=fi(hr.G[2],hr.H[2],We),jn=fi(hr.G[3],hr.H[3],We),We.h)break;ke[Et]=(jn<<24|Er<<16|zr<<8|En)>>>0}if(Er=!1,++Et,++me>=Ht&&(me=0,++Q,Oe!=null&&Q<=mr&&!(Q%16)&&Oe(fe,Q),rr!=null))for(;Rt<Et;)zr=ke[Rt++],rr.X[(506832829*zr&4294967295)>>>rr.Mb]=zr}else if(280>zr){if(zr=ci(zr-256,We),En=fi(hr.G[4],hr.H[4],We),Fn(We),En=wi(Ht,En=ci(En,We)),We.h)break;if(Et-lt<En||er-Et<zr)break e;for(jn=0;jn<zr;++jn)ke[Et+jn]=ke[Et+jn-En];for(Et+=zr,me+=zr;me>=Ht;)me-=Ht,++Q,Oe!=null&&Q<=mr&&!(Q%16)&&Oe(fe,Q);if(Se(Et<=er),me&qt&&(hr=fa(nt,me,Q)),rr!=null)for(;Rt<Et;)zr=ke[Rt++],rr.X[(506832829*zr&4294967295)>>>rr.Mb]=zr}else{if(!(zr<nr))break e;for(Er=zr-280,Se(rr!=null);Rt<Et;)zr=ke[Rt++],rr.X[(506832829*zr&4294967295)>>>rr.Mb]=zr;zr=Et,Se(!(Er>>>(En=rr).Xa)),ke[zr]=En.X[Er],Er=!0}Er||Se(We.h==gn(We))}if(fe.Pb&&We.h&&Et<er)Se(fe.m.h),fe.a=5,fe.m=fe.wd,fe.$=fe.xd,0<fe.s.ua&&Xr(fe.s.vb,fe.s.Wa);else{if(We.h)break e;Oe!=null&&Oe(fe,Q>mr?mr:Q),fe.a=0,fe.$=Et-lt}return 1}return fe.a=3,0}function ka(fe){Se(fe!=null),fe.vc=null,fe.yc=null,fe.Ya=null;var ke=fe.Wa;ke!=null&&(ke.X=null),fe.vb=null,Se(fe!=null)}function wa(){var fe=new ro;return fe==null?null:(fe.a=0,fe.xb=ic,on("Predictor","VP8LPredictors"),on("Predictor","VP8LPredictors_C"),on("PredictorAdd","VP8LPredictorsAdd"),on("PredictorAdd","VP8LPredictorsAdd_C"),Ws=He,Ki=Xt,zs=vr,nl=or,Ss=Vr,ts=Kr,ml=Dr,xn.VP8LMapColor32b=ll,xn.VP8LMapColor8b=Ts,fe)}function _i(fe,ke,lt,Ht,er){var mr=1,Oe=[fe],Q=[ke],me=Ht.m,We=Ht.s,nt=null,Et=0;e:for(;;){if(lt)for(;mr&&di(me,1);){var Rt=Oe,Mt=Q,nr=Ht,yr=1,rr=nr.m,qt=nr.gc[nr.ab],hr=di(rr,2);if(nr.Oc&1<<hr)mr=0;else{switch(nr.Oc|=1<<hr,qt.hc=hr,qt.Ea=Rt[0],qt.nc=Mt[0],qt.K=[null],++nr.ab,Se(4>=nr.ab),hr){case 0:case 1:qt.b=di(rr,3)+2,yr=_i(bi(qt.Ea,qt.b),bi(qt.nc,qt.b),0,nr,qt.K),qt.K=qt.K[0];break;case 3:var Er,zr=di(rr,8)+1,En=16<zr?0:4<zr?1:2<zr?2:3;if(Rt[0]=bi(qt.Ea,En),qt.b=En,Er=yr=_i(zr,1,0,nr,qt.K)){var jn,pi=zr,Yn=qt,Ji=1<<(8>>Yn.b),Ei=Ve(Ji);if(Ei==null)Er=0;else{var da=Yn.K[0],ta=Yn.w;for(Ei[0]=Yn.K[0][0],jn=1;jn<1*pi;++jn)Ei[jn]=Ui(da[ta+jn],Ei[jn-1]);for(;jn<4*Ji;++jn)Ei[jn]=0;Yn.K[0]=null,Yn.K[0]=Ei,Er=1}}yr=Er;break;case 2:break;default:Se(0)}mr=yr}}if(Oe=Oe[0],Q=Q[0],mr&&di(me,1)&&!(mr=1<=(Et=di(me,4))&&11>=Et)){Ht.a=3;break e}var oa;if(oa=mr)t:{var qa,O,N,G=Ht,Z=Oe,oe=Q,Re=Et,ct=lt,Nt=G.m,Wt=G.s,Qt=[null],kr=1,tn=0,mn=jc[Re];r:for(;;){if(ct&&di(Nt,1)){var wn=di(Nt,3)+2,ri=bi(Z,wn),yi=bi(oe,wn),Mi=ri*yi;if(!_i(ri,yi,0,G,Qt))break r;for(Qt=Qt[0],Wt.xc=wn,qa=0;qa<Mi;++qa){var Di=Qt[qa]>>8&65535;Qt[qa]=Di,Di>=kr&&(kr=Di+1)}}if(Nt.h)break r;for(O=0;5>O;++O){var Ii=Uc[O];!O&&0<Re&&(Ii+=1<<Re),tn<Ii&&(tn=Ii)}var Gi=Ye(kr*mn,cn),ia=kr,za=Ye(ia,Vn);if(za==null)var La=null;else Se(65536>=ia),La=za;var mo=Ve(tn);if(La==null||mo==null||Gi==null){G.a=1;break r}var Eo=Gi;for(qa=N=0;qa<kr;++qa){var $o=La[qa],Wo=$o.G,Bs=$o.H,hl=0,As=1,fl=0;for(O=0;5>O;++O){Ii=Uc[O],Wo[O]=Eo,Bs[O]=N,!O&&0<Re&&(Ii+=1<<Re);i:{var ks,Os=Ii,bs=G,us=mo,ol=Eo,Ac=N,El=0,ws=bs.m,wl=di(ws,1);if(Qe(us,0,0,Os),wl){var Hs=di(ws,1)+1,tu=di(ws,1),ra=di(ws,tu==0?1:8);us[ra]=1,Hs==2&&(us[ra=di(ws,8)]=1);var vl=1}else{var Nl=Ve(19),is=di(ws,4)+4;if(19<is){bs.a=3;var Wl=0;break i}for(ks=0;ks<is;++ks)Nl[xl[ks]]=di(ws,3);var Ho=void 0,ms=void 0,ru=bs,xu=Nl,Nc=Os,wu=us,Vc=0,vc=ru.m,Su=8,fu=Ye(128,cn);n:for(;Ur(fu,0,7,xu,19);){if(di(vc,1)){var Eu=2+2*di(vc,3);if((Ho=2+di(vc,Eu))>Nc)break n}else Ho=Nc;for(ms=0;ms<Nc&&Ho--;){Fn(vc);var pu=fu[0+(127&nn(vc))];On(vc,vc.u+pu.g);var Dc=pu.value;if(16>Dc)wu[ms++]=Dc,Dc!=0&&(Su=Dc);else{var _u=Dc==16,mu=Dc-16,Cu=Cl[mu],gu=di(vc,ec[mu])+Cu;if(ms+gu>Nc)break n;for(var Tu=_u?Su:0;0<gu--;)wu[ms++]=Tu}}Vc=1;break n}Vc||(ru.a=3),vl=Vc}(vl=vl&&!ws.h)&&(El=Ur(ol,Ac,8,us,Os)),vl&&El!=0?Wl=El:(bs.a=3,Wl=0)}if(Wl==0)break r;if(As&&Al[O]==1&&(As=Eo[N].g==0),hl+=Eo[N].g,N+=Wl,3>=O){var nu,Au=mo[0];for(nu=1;nu<Ii;++nu)mo[nu]>Au&&(Au=mo[nu]);fl+=Au}}if($o.nd=As,$o.Qb=0,As&&($o.qb=(Wo[3][Bs[3]+0].value<<24|Wo[1][Bs[1]+0].value<<16|Wo[2][Bs[2]+0].value)>>>0,hl==0&&256>Wo[0][Bs[0]+0].value&&($o.Qb=1,$o.qb+=Wo[0][Bs[0]+0].value<<8)),$o.jc=!$o.Qb&&6>fl,$o.jc){var Rc,tl=$o;for(Rc=0;Rc<Ro;++Rc){var sc=Rc,zl=tl.pd[sc],cu=tl.G[0][tl.H[0]+sc];256<=cu.value?(zl.g=cu.g+256,zl.value=cu.value):(zl.g=0,zl.value=0,sc>>=ki(cu,8,zl),sc>>=ki(tl.G[1][tl.H[1]+sc],16,zl),sc>>=ki(tl.G[2][tl.H[2]+sc],0,zl),ki(tl.G[3][tl.H[3]+sc],24,zl))}}}Wt.vc=Qt,Wt.Wb=kr,Wt.Ya=La,Wt.yc=Gi,oa=1;break t}oa=0}if(!(mr=oa)){Ht.a=3;break e}if(0<Et){if(We.ua=1<<Et,!Qn(We.Wa,Et)){Ht.a=1,mr=0;break e}}else We.ua=0;var vu=Ht,uu=Oe,Xc=Q,Gc=vu.s,yu=Gc.xc;if(vu.c=uu,vu.i=Xc,Gc.md=bi(uu,yu),Gc.wc=yu==0?-1:(1<<yu)-1,lt){Ht.xb=nc;break e}if((nt=Ve(Oe*Q))==null){Ht.a=1,mr=0;break e}mr=(mr=ca(Ht,nt,0,Oe,Q,Q,null))&&!me.h;break e}return mr?(er!=null?er[0]=nt:(Se(nt==null),Se(lt)),Ht.$=0,lt||ka(We)):ka(We),mr}function xi(fe,ke){var lt=fe.c*fe.i,Ht=lt+ke+16*ke;return Se(fe.c<=ke),fe.V=Ve(Ht),fe.V==null?(fe.Ta=null,fe.Ua=0,fe.a=1,0):(fe.Ta=fe.V,fe.Ua=fe.Ba+lt+ke,1)}function ji(fe,ke){var lt=fe.C,Ht=ke-lt,er=fe.V,mr=fe.Ba+fe.c*lt;for(Se(ke<=fe.l.o);0<Ht;){var Oe=16<Ht?16:Ht,Q=fe.l.ma,me=fe.l.width,We=me*Oe,nt=Q.ca,Et=Q.tb+me*lt,Rt=fe.Ta,Mt=fe.Ua;zi(fe,Oe,er,mr),ys(Rt,Mt,nt,Et,We),ya(Q,lt,lt+Oe,nt,Et,me),Ht-=Oe,er+=Oe*fe.c,lt+=Oe}Se(lt==ke),fe.C=fe.Ma=ke}function Zi(){this.ub=this.yd=this.td=this.Rb=0}function Si(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Hi(){this.Fb=this.Bb=this.Cb=0,this.Zb=Ve(4),this.Lb=Ve(4)}function Oa(){this.Yb=function(){var fe=[];return function ke(lt,Ht,er){for(var mr=er[Ht],Oe=0;Oe<mr&&(lt.push(er.length>Ht+1?[]:0),!(er.length<Ht+1));Oe++)ke(lt[Oe],Ht+1,er)}(fe,0,[3,11]),fe}()}function _a(){this.jb=Ve(3),this.Wc=pt([4,8],Oa),this.Xc=pt([4,17],Oa)}function la(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new Ve(4),this.od=new Ve(4)}function va(){this.ld=this.La=this.dd=this.tc=0}function Ma(){this.Na=this.la=0}function Xa(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function co(){this.ad=Ve(384),this.Za=0,this.Ob=Ve(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function so(){this.uc=this.M=this.Nb=0,this.wa=Array(new va),this.Y=0,this.ya=Array(new co),this.aa=0,this.l=new ga}function Ao(){this.y=Ve(16),this.f=Ve(8),this.ea=Ve(8)}function io(){this.cb=this.a=0,this.sc="",this.m=new qr,this.Od=new Zi,this.Kc=new Si,this.ed=new la,this.Qa=new Hi,this.Ic=this.$c=this.Aa=0,this.D=new so,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=Ye(8,qr),this.ia=0,this.pb=Ye(4,Xa),this.Pa=new _a,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ao),this.Hd=0,this.rb=Array(new Ma),this.sb=0,this.wa=Array(new va),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new co),this.L=this.aa=0,this.gd=pt([4,2],va),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function pa(fe,ke){return 0>fe?0:fe>ke?ke:fe}function ga(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function ba(){var fe=new io;return fe!=null&&(fe.a=0,fe.sc="OK",fe.cb=0,fe.Xb=0,jl||(jl=os)),fe}function Oi(fe,ke,lt){return fe.a==0&&(fe.a=ke,fe.sc=lt,fe.cb=0),0}function Fa(fe,ke,lt){return 3<=lt&&fe[ke+0]==157&&fe[ke+1]==1&&fe[ke+2]==42}function vo(fe,ke){if(fe==null)return 0;if(fe.a=0,fe.sc="OK",ke==null)return Oi(fe,2,"null VP8Io passed to VP8GetHeaders()");var lt=ke.data,Ht=ke.w,er=ke.ha;if(4>er)return Oi(fe,7,"Truncated header.");var mr=lt[Ht+0]|lt[Ht+1]<<8|lt[Ht+2]<<16,Oe=fe.Od;if(Oe.Rb=!(1&mr),Oe.td=mr>>1&7,Oe.yd=mr>>4&1,Oe.ub=mr>>5,3<Oe.td)return Oi(fe,3,"Incorrect keyframe parameters.");if(!Oe.yd)return Oi(fe,4,"Frame not displayable.");Ht+=3,er-=3;var Q=fe.Kc;if(Oe.Rb){if(7>er)return Oi(fe,7,"cannot parse picture header");if(!Fa(lt,Ht,er))return Oi(fe,3,"Bad code word");Q.c=16383&(lt[Ht+4]<<8|lt[Ht+3]),Q.Td=lt[Ht+4]>>6,Q.i=16383&(lt[Ht+6]<<8|lt[Ht+5]),Q.Ud=lt[Ht+6]>>6,Ht+=7,er-=7,fe.za=Q.c+15>>4,fe.Ub=Q.i+15>>4,ke.width=Q.c,ke.height=Q.i,ke.Da=0,ke.j=0,ke.v=0,ke.va=ke.width,ke.o=ke.height,ke.da=0,ke.ib=ke.width,ke.hb=ke.height,ke.U=ke.width,ke.T=ke.height,Qe((mr=fe.Pa).jb,0,255,mr.jb.length),Se((mr=fe.Qa)!=null),mr.Cb=0,mr.Bb=0,mr.Fb=1,Qe(mr.Zb,0,0,mr.Zb.length),Qe(mr.Lb,0,0,mr.Lb)}if(Oe.ub>er)return Oi(fe,7,"bad partition length");Hn(mr=fe.m,lt,Ht,Oe.ub),Ht+=Oe.ub,er-=Oe.ub,Oe.Rb&&(Q.Ld=$n(mr),Q.Kd=$n(mr)),Q=fe.Qa;var me,We=fe.Pa;if(Se(mr!=null),Se(Q!=null),Q.Cb=$n(mr),Q.Cb){if(Q.Bb=$n(mr),$n(mr)){for(Q.Fb=$n(mr),me=0;4>me;++me)Q.Zb[me]=$n(mr)?Un(mr,7):0;for(me=0;4>me;++me)Q.Lb[me]=$n(mr)?Un(mr,6):0}if(Q.Bb)for(me=0;3>me;++me)We.jb[me]=$n(mr)?li(mr,8):255}else Q.Bb=0;if(mr.Ka)return Oi(fe,3,"cannot parse segment header");if((Q=fe.ed).zd=$n(mr),Q.Tb=li(mr,6),Q.wb=li(mr,3),Q.Pc=$n(mr),Q.Pc&&$n(mr)){for(We=0;4>We;++We)$n(mr)&&(Q.vd[We]=Un(mr,6));for(We=0;4>We;++We)$n(mr)&&(Q.od[We]=Un(mr,6))}if(fe.L=Q.Tb==0?0:Q.zd?1:2,mr.Ka)return Oi(fe,3,"cannot parse filter header");var nt=er;if(er=me=Ht,Ht=me+nt,Q=nt,fe.Xb=(1<<li(fe.m,2))-1,nt<3*(We=fe.Xb))lt=7;else{for(me+=3*We,Q-=3*We,nt=0;nt<We;++nt){var Et=lt[er+0]|lt[er+1]<<8|lt[er+2]<<16;Et>Q&&(Et=Q),Hn(fe.Jc[+nt],lt,me,Et),me+=Et,Q-=Et,er+=3}Hn(fe.Jc[+We],lt,me,Q),lt=me<Ht?0:5}if(lt!=0)return Oi(fe,lt,"cannot parse partitions");for(lt=li(me=fe.m,7),er=$n(me)?Un(me,4):0,Ht=$n(me)?Un(me,4):0,Q=$n(me)?Un(me,4):0,We=$n(me)?Un(me,4):0,me=$n(me)?Un(me,4):0,nt=fe.Qa,Et=0;4>Et;++Et){if(nt.Cb){var Rt=nt.Zb[Et];nt.Fb||(Rt+=lt)}else{if(0<Et){fe.pb[Et]=fe.pb[0];continue}Rt=lt}var Mt=fe.pb[Et];Mt.Sc[0]=Fl[pa(Rt+er,127)],Mt.Sc[1]=Bl[pa(Rt+0,127)],Mt.Eb[0]=2*Fl[pa(Rt+Ht,127)],Mt.Eb[1]=101581*Bl[pa(Rt+Q,127)]>>16,8>Mt.Eb[1]&&(Mt.Eb[1]=8),Mt.Qc[0]=Fl[pa(Rt+We,117)],Mt.Qc[1]=Bl[pa(Rt+me,127)],Mt.lc=Rt+me}if(!Oe.Rb)return Oi(fe,4,"Not a key frame.");for($n(mr),Oe=fe.Pa,lt=0;4>lt;++lt){for(er=0;8>er;++er)for(Ht=0;3>Ht;++Ht)for(Q=0;11>Q;++Q)We=Zn(mr,rc[lt][er][Ht][Q])?li(mr,8):Hl[lt][er][Ht][Q],Oe.Wc[lt][er].Yb[Ht][Q]=We;for(er=0;17>er;++er)Oe.Xc[lt][er]=Oe.Wc[lt][Ec[er]]}return fe.kc=$n(mr),fe.kc&&(fe.Bd=li(mr,8)),fe.cb=1}function os(fe,ke,lt,Ht,er,mr,Oe){var Q=ke[er].Yb[lt];for(lt=0;16>er;++er){if(!Zn(fe,Q[lt+0]))return er;for(;!Zn(fe,Q[lt+1]);)if(Q=ke[++er].Yb[0],lt=0,er==16)return 16;var me=ke[er+1].Yb;if(Zn(fe,Q[lt+2])){var We=fe,nt=0;if(Zn(We,(Rt=Q)[(Et=lt)+3]))if(Zn(We,Rt[Et+6])){for(Q=0,Et=2*(nt=Zn(We,Rt[Et+8]))+(Rt=Zn(We,Rt[Et+9+nt])),nt=0,Rt=Sc[Et];Rt[Q];++Q)nt+=nt+Zn(We,Rt[Q]);nt+=3+(8<<Et)}else Zn(We,Rt[Et+7])?(nt=7+2*Zn(We,165),nt+=Zn(We,145)):nt=5+Zn(We,159);else nt=Zn(We,Rt[Et+4])?3+Zn(We,Rt[Et+5]):2;Q=me[2]}else nt=1,Q=me[1];me=Oe+xc[er],0>(We=fe).b&&zn(We);var Et,Rt=We.b,Mt=(Et=We.Ca>>1)-(We.I>>Rt)>>31;--We.b,We.Ca+=Mt,We.Ca|=1,We.I-=(Et+1&Mt)<<Rt,mr[me]=((nt^Mt)-Mt)*Ht[(0<er)+0]}return 16}function Va(fe){var ke=fe.rb[fe.sb-1];ke.la=0,ke.Na=0,Qe(fe.zc,0,0,fe.zc.length),fe.ja=0}function ao(fe,ke){if(fe==null)return 0;if(ke==null)return Oi(fe,2,"NULL VP8Io parameter in VP8Decode().");if(!fe.cb&&!vo(fe,ke))return 0;if(Se(fe.cb),ke.ac==null||ke.ac(ke)){ke.ob&&(fe.L=0);var lt=Yl[fe.L];if(fe.L==2?(fe.yb=0,fe.zb=0):(fe.yb=ke.v-lt>>4,fe.zb=ke.j-lt>>4,0>fe.yb&&(fe.yb=0),0>fe.zb&&(fe.zb=0)),fe.Va=ke.o+15+lt>>4,fe.Hb=ke.va+15+lt>>4,fe.Hb>fe.za&&(fe.Hb=fe.za),fe.Va>fe.Ub&&(fe.Va=fe.Ub),0<fe.L){var Ht=fe.ed;for(lt=0;4>lt;++lt){var er;if(fe.Qa.Cb){var mr=fe.Qa.Lb[lt];fe.Qa.Fb||(mr+=Ht.Tb)}else mr=Ht.Tb;for(er=0;1>=er;++er){var Oe=fe.gd[lt][er],Q=mr;if(Ht.Pc&&(Q+=Ht.vd[0],er&&(Q+=Ht.od[0])),0<(Q=0>Q?0:63<Q?63:Q)){var me=Q;0<Ht.wb&&(me=4<Ht.wb?me>>2:me>>1)>9-Ht.wb&&(me=9-Ht.wb),1>me&&(me=1),Oe.dd=me,Oe.tc=2*Q+me,Oe.ld=40<=Q?2:15<=Q?1:0}else Oe.tc=0;Oe.La=er}}}lt=0}else Oi(fe,6,"Frame setup failed"),lt=fe.a;if(lt=lt==0){if(lt){fe.$c=0,0<fe.Aa||(fe.Ic=Jl);e:{lt=fe.Ic,Ht=4*(me=fe.za);var We=32*me,nt=me+1,Et=0<fe.L?me*(0<fe.Aa?2:1):0,Rt=(fe.Aa==2?2:1)*me;if((Oe=Ht+832+(er=3*(16*lt+Yl[fe.L])/2*We)+(mr=fe.Fa!=null&&0<fe.Fa.length?fe.Kc.c*fe.Kc.i:0))!=Oe)lt=0;else{if(Oe>fe.Vb){if(fe.Vb=0,fe.Ec=Ve(Oe),fe.Fc=0,fe.Ec==null){lt=Oi(fe,1,"no memory during frame initialization.");break e}fe.Vb=Oe}Oe=fe.Ec,Q=fe.Fc,fe.Ac=Oe,fe.Bc=Q,Q+=Ht,fe.Gd=Ye(We,Ao),fe.Hd=0,fe.rb=Ye(nt+1,Ma),fe.sb=1,fe.wa=Et?Ye(Et,va):null,fe.Y=0,fe.D.Nb=0,fe.D.wa=fe.wa,fe.D.Y=fe.Y,0<fe.Aa&&(fe.D.Y+=me),Se(!0),fe.oc=Oe,fe.pc=Q,Q+=832,fe.ya=Ye(Rt,co),fe.aa=0,fe.D.ya=fe.ya,fe.D.aa=fe.aa,fe.Aa==2&&(fe.D.aa+=me),fe.R=16*me,fe.B=8*me,me=(We=Yl[fe.L])*fe.R,We=We/2*fe.B,fe.sa=Oe,fe.ta=Q+me,fe.qa=fe.sa,fe.ra=fe.ta+16*lt*fe.R+We,fe.Ha=fe.qa,fe.Ia=fe.ra+8*lt*fe.B+We,fe.$c=0,Q+=er,fe.mb=mr?Oe:null,fe.nb=mr?Q:null,Se(Q+mr<=fe.Fc+fe.Vb),Va(fe),Qe(fe.Ac,fe.Bc,0,Ht),lt=1}}if(lt){if(ke.ka=0,ke.y=fe.sa,ke.O=fe.ta,ke.f=fe.qa,ke.N=fe.ra,ke.ea=fe.Ha,ke.Vd=fe.Ia,ke.fa=fe.R,ke.Rc=fe.B,ke.F=null,ke.J=0,!Pc){for(lt=-255;255>=lt;++lt)Ul[255+lt]=0>lt?-lt:lt;for(lt=-1020;1020>=lt;++lt)Bc[1020+lt]=-128>lt?-128:127<lt?127:lt;for(lt=-112;112>=lt;++lt)wc[112+lt]=-16>lt?-16:15<lt?15:lt;for(lt=-255;510>=lt;++lt)kc[255+lt]=0>lt?0:255<lt?255:lt;Pc=1}il=Po,Ns=po,Ds=Io,Rs=zo,ul=ns,Us=To,Ms=vs,Qs=rl,Ys=sl,Js=xs,xa=Ps,Li=Ks,ea=Ls,Ca=Xs,go=Lo,js=Yo,Is=Ko,Vs=jo,al[0]=Ci,al[1]=Ja,al[2]=Ya,al[3]=lo,al[4]=Sa,al[5]=Fo,al[6]=bo,al[7]=Oo,al[8]=ds,al[9]=gs,cs[0]=Qa,cs[1]=$i,cs[2]=uo,cs[3]=Ha,cs[4]=Mo,cs[5]=Qo,cs[6]=Jo,Tl[0]=Na,Tl[1]=Ba,Tl[2]=hs,Tl[3]=ss,Tl[4]=Zo,Tl[5]=Vo,Tl[6]=Da,lt=1}else lt=0}lt&&(lt=function(Mt,nr){for(Mt.M=0;Mt.M<Mt.Va;++Mt.M){var yr,rr=Mt.Jc[Mt.M&Mt.Xb],qt=Mt.m,hr=Mt;for(yr=0;yr<hr.za;++yr){var Er=qt,zr=hr,En=zr.Ac,jn=zr.Bc+4*yr,pi=zr.zc,Yn=zr.ya[zr.aa+yr];if(zr.Qa.Bb?Yn.$b=Zn(Er,zr.Pa.jb[0])?2+Zn(Er,zr.Pa.jb[2]):Zn(Er,zr.Pa.jb[1]):Yn.$b=0,zr.kc&&(Yn.Ad=Zn(Er,zr.Bd)),Yn.Za=!Zn(Er,145)+0,Yn.Za){var Ji=Yn.Ob,Ei=0;for(zr=0;4>zr;++zr){var da,ta=pi[0+zr];for(da=0;4>da;++da){ta=fc[En[jn+da]][ta];for(var oa=hc[Zn(Er,ta[0])];0<oa;)oa=hc[2*oa+Zn(Er,ta[oa])];ta=-oa,En[jn+da]=ta}Be(Ji,Ei,En,jn,4),Ei+=4,pi[0+zr]=ta}}else ta=Zn(Er,156)?Zn(Er,128)?1:3:Zn(Er,163)?2:0,Yn.Ob[0]=ta,Qe(En,jn,ta,4),Qe(pi,0,ta,4);Yn.Dd=Zn(Er,142)?Zn(Er,114)?Zn(Er,183)?1:3:2:0}if(hr.m.Ka)return Oi(Mt,7,"Premature end-of-partition0 encountered.");for(;Mt.ja<Mt.za;++Mt.ja){if(hr=rr,Er=(qt=Mt).rb[qt.sb-1],En=qt.rb[qt.sb+qt.ja],yr=qt.ya[qt.aa+qt.ja],jn=qt.kc?yr.Ad:0)Er.la=En.la=0,yr.Za||(Er.Na=En.Na=0),yr.Hc=0,yr.Gc=0,yr.ia=0;else{var qa,O;if(Er=En,En=hr,jn=qt.Pa.Xc,pi=qt.ya[qt.aa+qt.ja],Yn=qt.pb[pi.$b],zr=pi.ad,Ji=0,Ei=qt.rb[qt.sb-1],ta=da=0,Qe(zr,Ji,0,384),pi.Za)var N=0,G=jn[3];else{oa=Ve(16);var Z=Er.Na+Ei.Na;if(Z=jl(En,jn[1],Z,Yn.Eb,0,oa,0),Er.Na=Ei.Na=(0<Z)+0,1<Z)il(oa,0,zr,Ji);else{var oe=oa[0]+3>>3;for(oa=0;256>oa;oa+=16)zr[Ji+oa]=oe}N=1,G=jn[0]}var Re=15&Er.la,ct=15&Ei.la;for(oa=0;4>oa;++oa){var Nt=1&ct;for(oe=O=0;4>oe;++oe)Re=Re>>1|(Nt=(Z=jl(En,G,Z=Nt+(1&Re),Yn.Sc,N,zr,Ji))>N)<<7,O=O<<2|(3<Z?3:1<Z?2:zr[Ji+0]!=0),Ji+=16;Re>>=4,ct=ct>>1|Nt<<7,da=(da<<8|O)>>>0}for(G=Re,N=ct>>4,qa=0;4>qa;qa+=2){for(O=0,Re=Er.la>>4+qa,ct=Ei.la>>4+qa,oa=0;2>oa;++oa){for(Nt=1&ct,oe=0;2>oe;++oe)Z=Nt+(1&Re),Re=Re>>1|(Nt=0<(Z=jl(En,jn[2],Z,Yn.Qc,0,zr,Ji)))<<3,O=O<<2|(3<Z?3:1<Z?2:zr[Ji+0]!=0),Ji+=16;Re>>=2,ct=ct>>1|Nt<<5}ta|=O<<4*qa,G|=Re<<4<<qa,N|=(240&ct)<<qa}Er.la=G,Ei.la=N,pi.Hc=da,pi.Gc=ta,pi.ia=43690&ta?0:Yn.ia,jn=!(da|ta)}if(0<qt.L&&(qt.wa[qt.Y+qt.ja]=qt.gd[yr.$b][yr.Za],qt.wa[qt.Y+qt.ja].La|=!jn),hr.Ka)return Oi(Mt,7,"Premature end-of-file encountered.")}if(Va(Mt),qt=nr,hr=1,yr=(rr=Mt).D,Er=0<rr.L&&rr.M>=rr.zb&&rr.M<=rr.Va,rr.Aa==0)e:{if(yr.M=rr.M,yr.uc=Er,to(rr,yr),hr=1,yr=(O=rr.D).Nb,Er=(ta=Yl[rr.L])*rr.R,En=ta/2*rr.B,oa=16*yr*rr.R,oe=8*yr*rr.B,jn=rr.sa,pi=rr.ta-Er+oa,Yn=rr.qa,zr=rr.ra-En+oe,Ji=rr.Ha,Ei=rr.Ia-En+oe,ct=(Re=O.M)==0,da=Re>=rr.Va-1,rr.Aa==2&&to(rr,O),O.uc)for(Nt=(Z=rr).D.M,Se(Z.D.uc),O=Z.yb;O<Z.Hb;++O){N=O,G=Nt;var Wt=(Qt=(Ii=Z).D).Nb;qa=Ii.R;var Qt=Qt.wa[Qt.Y+N],kr=Ii.sa,tn=Ii.ta+16*Wt*qa+16*N,mn=Qt.dd,wn=Qt.tc;if(wn!=0)if(Se(3<=wn),Ii.L==1)0<N&&js(kr,tn,qa,wn+4),Qt.La&&Vs(kr,tn,qa,wn),0<G&&go(kr,tn,qa,wn+4),Qt.La&&Is(kr,tn,qa,wn);else{var ri=Ii.B,yi=Ii.qa,Mi=Ii.ra+8*Wt*ri+8*N,Di=Ii.Ha,Ii=Ii.Ia+8*Wt*ri+8*N;Wt=Qt.ld,0<N&&(Qs(kr,tn,qa,wn+4,mn,Wt),Js(yi,Mi,Di,Ii,ri,wn+4,mn,Wt)),Qt.La&&(Li(kr,tn,qa,wn,mn,Wt),Ca(yi,Mi,Di,Ii,ri,wn,mn,Wt)),0<G&&(Ms(kr,tn,qa,wn+4,mn,Wt),Ys(yi,Mi,Di,Ii,ri,wn+4,mn,Wt)),Qt.La&&(xa(kr,tn,qa,wn,mn,Wt),ea(yi,Mi,Di,Ii,ri,wn,mn,Wt))}}if(rr.ia&&alert("todo:DitherRow"),qt.put!=null){if(O=16*Re,Re=16*(Re+1),ct?(qt.y=rr.sa,qt.O=rr.ta+oa,qt.f=rr.qa,qt.N=rr.ra+oe,qt.ea=rr.Ha,qt.W=rr.Ia+oe):(O-=ta,qt.y=jn,qt.O=pi,qt.f=Yn,qt.N=zr,qt.ea=Ji,qt.W=Ei),da||(Re-=ta),Re>qt.o&&(Re=qt.o),qt.F=null,qt.J=null,rr.Fa!=null&&0<rr.Fa.length&&O<Re&&(qt.J=Pr(rr,qt,O,Re-O),qt.F=rr.mb,qt.F==null&&qt.F.length==0)){hr=Oi(rr,3,"Could not decode alpha data.");break e}O<qt.j&&(ta=qt.j-O,O=qt.j,Se(!(1&ta)),qt.O+=rr.R*ta,qt.N+=rr.B*(ta>>1),qt.W+=rr.B*(ta>>1),qt.F!=null&&(qt.J+=qt.width*ta)),O<Re&&(qt.O+=qt.v,qt.N+=qt.v>>1,qt.W+=qt.v>>1,qt.F!=null&&(qt.J+=qt.v),qt.ka=O-qt.j,qt.U=qt.va-qt.v,qt.T=Re-O,hr=qt.put(qt))}yr+1!=rr.Ic||da||(Be(rr.sa,rr.ta-Er,jn,pi+16*rr.R,Er),Be(rr.qa,rr.ra-En,Yn,zr+8*rr.B,En),Be(rr.Ha,rr.Ia-En,Ji,Ei+8*rr.B,En))}if(!hr)return Oi(Mt,6,"Output aborted.")}return 1}(fe,ke)),ke.bc!=null&&ke.bc(ke),lt&=1}return lt?(fe.cb=0,lt):0}function Ga(fe,ke,lt,Ht,er){er=fe[ke+lt+32*Ht]+(er>>3),fe[ke+lt+32*Ht]=-256&er?0>er?0:255:er}function yo(fe,ke,lt,Ht,er,mr){Ga(fe,ke,0,lt,Ht+er),Ga(fe,ke,1,lt,Ht+mr),Ga(fe,ke,2,lt,Ht-mr),Ga(fe,ke,3,lt,Ht-er)}function fo(fe){return(20091*fe>>16)+fe}function es(fe,ke,lt,Ht){var er,mr=0,Oe=Ve(16);for(er=0;4>er;++er){var Q=fe[ke+0]+fe[ke+8],me=fe[ke+0]-fe[ke+8],We=(35468*fe[ke+4]>>16)-fo(fe[ke+12]),nt=fo(fe[ke+4])+(35468*fe[ke+12]>>16);Oe[mr+0]=Q+nt,Oe[mr+1]=me+We,Oe[mr+2]=me-We,Oe[mr+3]=Q-nt,mr+=4,ke++}for(er=mr=0;4>er;++er)Q=(fe=Oe[mr+0]+4)+Oe[mr+8],me=fe-Oe[mr+8],We=(35468*Oe[mr+4]>>16)-fo(Oe[mr+12]),Ga(lt,Ht,0,0,Q+(nt=fo(Oe[mr+4])+(35468*Oe[mr+12]>>16))),Ga(lt,Ht,1,0,me+We),Ga(lt,Ht,2,0,me-We),Ga(lt,Ht,3,0,Q-nt),mr++,Ht+=32}function To(fe,ke,lt,Ht){var er=fe[ke+0]+4,mr=35468*fe[ke+4]>>16,Oe=fo(fe[ke+4]),Q=35468*fe[ke+1]>>16;yo(lt,Ht,0,er+Oe,fe=fo(fe[ke+1]),Q),yo(lt,Ht,1,er+mr,fe,Q),yo(lt,Ht,2,er-mr,fe,Q),yo(lt,Ht,3,er-Oe,fe,Q)}function po(fe,ke,lt,Ht,er){es(fe,ke,lt,Ht),er&&es(fe,ke+16,lt,Ht+4)}function Io(fe,ke,lt,Ht){Ns(fe,ke+0,lt,Ht,1),Ns(fe,ke+32,lt,Ht+128,1)}function zo(fe,ke,lt,Ht){var er;for(fe=fe[ke+0]+4,er=0;4>er;++er)for(ke=0;4>ke;++ke)Ga(lt,Ht,ke,er,fe)}function ns(fe,ke,lt,Ht){fe[ke+0]&&Rs(fe,ke+0,lt,Ht),fe[ke+16]&&Rs(fe,ke+16,lt,Ht+4),fe[ke+32]&&Rs(fe,ke+32,lt,Ht+128),fe[ke+48]&&Rs(fe,ke+48,lt,Ht+128+4)}function Po(fe,ke,lt,Ht){var er,mr=Ve(16);for(er=0;4>er;++er){var Oe=fe[ke+0+er]+fe[ke+12+er],Q=fe[ke+4+er]+fe[ke+8+er],me=fe[ke+4+er]-fe[ke+8+er],We=fe[ke+0+er]-fe[ke+12+er];mr[0+er]=Oe+Q,mr[8+er]=Oe-Q,mr[4+er]=We+me,mr[12+er]=We-me}for(er=0;4>er;++er)Oe=(fe=mr[0+4*er]+3)+mr[3+4*er],Q=mr[1+4*er]+mr[2+4*er],me=mr[1+4*er]-mr[2+4*er],We=fe-mr[3+4*er],lt[Ht+0]=Oe+Q>>3,lt[Ht+16]=We+me>>3,lt[Ht+32]=Oe-Q>>3,lt[Ht+48]=We-me>>3,Ht+=64}function Aa(fe,ke,lt){var Ht,er=ke-32,mr=el,Oe=255-fe[er-1];for(Ht=0;Ht<lt;++Ht){var Q,me=mr,We=Oe+fe[ke-1];for(Q=0;Q<lt;++Q)fe[ke+Q]=me[We+fe[er+Q]];ke+=32}}function Ja(fe,ke){Aa(fe,ke,4)}function Ba(fe,ke){Aa(fe,ke,8)}function $i(fe,ke){Aa(fe,ke,16)}function uo(fe,ke){var lt;for(lt=0;16>lt;++lt)Be(fe,ke+32*lt,fe,ke-32,16)}function Ha(fe,ke){var lt;for(lt=16;0<lt;--lt)Qe(fe,ke,fe[ke-1],16),ke+=32}function Yi(fe,ke,lt){var Ht;for(Ht=0;16>Ht;++Ht)Qe(ke,lt+32*Ht,fe,16)}function Qa(fe,ke){var lt,Ht=16;for(lt=0;16>lt;++lt)Ht+=fe[ke-1+32*lt]+fe[ke+lt-32];Yi(Ht>>5,fe,ke)}function Mo(fe,ke){var lt,Ht=8;for(lt=0;16>lt;++lt)Ht+=fe[ke-1+32*lt];Yi(Ht>>4,fe,ke)}function Qo(fe,ke){var lt,Ht=8;for(lt=0;16>lt;++lt)Ht+=fe[ke+lt-32];Yi(Ht>>4,fe,ke)}function Jo(fe,ke){Yi(128,fe,ke)}function ua(fe,ke,lt){return fe+2*ke+lt+2>>2}function Ya(fe,ke){var lt,Ht=ke-32;for(Ht=new Uint8Array([ua(fe[Ht-1],fe[Ht+0],fe[Ht+1]),ua(fe[Ht+0],fe[Ht+1],fe[Ht+2]),ua(fe[Ht+1],fe[Ht+2],fe[Ht+3]),ua(fe[Ht+2],fe[Ht+3],fe[Ht+4])]),lt=0;4>lt;++lt)Be(fe,ke+32*lt,Ht,0,Ht.length)}function lo(fe,ke){var lt=fe[ke-1],Ht=fe[ke-1+32],er=fe[ke-1+64],mr=fe[ke-1+96];vi(fe,ke+0,16843009*ua(fe[ke-1-32],lt,Ht)),vi(fe,ke+32,16843009*ua(lt,Ht,er)),vi(fe,ke+64,16843009*ua(Ht,er,mr)),vi(fe,ke+96,16843009*ua(er,mr,mr))}function Ci(fe,ke){var lt,Ht=4;for(lt=0;4>lt;++lt)Ht+=fe[ke+lt-32]+fe[ke-1+32*lt];for(Ht>>=3,lt=0;4>lt;++lt)Qe(fe,ke+32*lt,Ht,4)}function Sa(fe,ke){var lt=fe[ke-1+0],Ht=fe[ke-1+32],er=fe[ke-1+64],mr=fe[ke-1-32],Oe=fe[ke+0-32],Q=fe[ke+1-32],me=fe[ke+2-32],We=fe[ke+3-32];fe[ke+0+96]=ua(Ht,er,fe[ke-1+96]),fe[ke+1+96]=fe[ke+0+64]=ua(lt,Ht,er),fe[ke+2+96]=fe[ke+1+64]=fe[ke+0+32]=ua(mr,lt,Ht),fe[ke+3+96]=fe[ke+2+64]=fe[ke+1+32]=fe[ke+0+0]=ua(Oe,mr,lt),fe[ke+3+64]=fe[ke+2+32]=fe[ke+1+0]=ua(Q,Oe,mr),fe[ke+3+32]=fe[ke+2+0]=ua(me,Q,Oe),fe[ke+3+0]=ua(We,me,Q)}function bo(fe,ke){var lt=fe[ke+1-32],Ht=fe[ke+2-32],er=fe[ke+3-32],mr=fe[ke+4-32],Oe=fe[ke+5-32],Q=fe[ke+6-32],me=fe[ke+7-32];fe[ke+0+0]=ua(fe[ke+0-32],lt,Ht),fe[ke+1+0]=fe[ke+0+32]=ua(lt,Ht,er),fe[ke+2+0]=fe[ke+1+32]=fe[ke+0+64]=ua(Ht,er,mr),fe[ke+3+0]=fe[ke+2+32]=fe[ke+1+64]=fe[ke+0+96]=ua(er,mr,Oe),fe[ke+3+32]=fe[ke+2+64]=fe[ke+1+96]=ua(mr,Oe,Q),fe[ke+3+64]=fe[ke+2+96]=ua(Oe,Q,me),fe[ke+3+96]=ua(Q,me,me)}function Fo(fe,ke){var lt=fe[ke-1+0],Ht=fe[ke-1+32],er=fe[ke-1+64],mr=fe[ke-1-32],Oe=fe[ke+0-32],Q=fe[ke+1-32],me=fe[ke+2-32],We=fe[ke+3-32];fe[ke+0+0]=fe[ke+1+64]=mr+Oe+1>>1,fe[ke+1+0]=fe[ke+2+64]=Oe+Q+1>>1,fe[ke+2+0]=fe[ke+3+64]=Q+me+1>>1,fe[ke+3+0]=me+We+1>>1,fe[ke+0+96]=ua(er,Ht,lt),fe[ke+0+64]=ua(Ht,lt,mr),fe[ke+0+32]=fe[ke+1+96]=ua(lt,mr,Oe),fe[ke+1+32]=fe[ke+2+96]=ua(mr,Oe,Q),fe[ke+2+32]=fe[ke+3+96]=ua(Oe,Q,me),fe[ke+3+32]=ua(Q,me,We)}function Oo(fe,ke){var lt=fe[ke+0-32],Ht=fe[ke+1-32],er=fe[ke+2-32],mr=fe[ke+3-32],Oe=fe[ke+4-32],Q=fe[ke+5-32],me=fe[ke+6-32],We=fe[ke+7-32];fe[ke+0+0]=lt+Ht+1>>1,fe[ke+1+0]=fe[ke+0+64]=Ht+er+1>>1,fe[ke+2+0]=fe[ke+1+64]=er+mr+1>>1,fe[ke+3+0]=fe[ke+2+64]=mr+Oe+1>>1,fe[ke+0+32]=ua(lt,Ht,er),fe[ke+1+32]=fe[ke+0+96]=ua(Ht,er,mr),fe[ke+2+32]=fe[ke+1+96]=ua(er,mr,Oe),fe[ke+3+32]=fe[ke+2+96]=ua(mr,Oe,Q),fe[ke+3+64]=ua(Oe,Q,me),fe[ke+3+96]=ua(Q,me,We)}function gs(fe,ke){var lt=fe[ke-1+0],Ht=fe[ke-1+32],er=fe[ke-1+64],mr=fe[ke-1+96];fe[ke+0+0]=lt+Ht+1>>1,fe[ke+2+0]=fe[ke+0+32]=Ht+er+1>>1,fe[ke+2+32]=fe[ke+0+64]=er+mr+1>>1,fe[ke+1+0]=ua(lt,Ht,er),fe[ke+3+0]=fe[ke+1+32]=ua(Ht,er,mr),fe[ke+3+32]=fe[ke+1+64]=ua(er,mr,mr),fe[ke+3+64]=fe[ke+2+64]=fe[ke+0+96]=fe[ke+1+96]=fe[ke+2+96]=fe[ke+3+96]=mr}function ds(fe,ke){var lt=fe[ke-1+0],Ht=fe[ke-1+32],er=fe[ke-1+64],mr=fe[ke-1+96],Oe=fe[ke-1-32],Q=fe[ke+0-32],me=fe[ke+1-32],We=fe[ke+2-32];fe[ke+0+0]=fe[ke+2+32]=lt+Oe+1>>1,fe[ke+0+32]=fe[ke+2+64]=Ht+lt+1>>1,fe[ke+0+64]=fe[ke+2+96]=er+Ht+1>>1,fe[ke+0+96]=mr+er+1>>1,fe[ke+3+0]=ua(Q,me,We),fe[ke+2+0]=ua(Oe,Q,me),fe[ke+1+0]=fe[ke+3+32]=ua(lt,Oe,Q),fe[ke+1+32]=fe[ke+3+64]=ua(Ht,lt,Oe),fe[ke+1+64]=fe[ke+3+96]=ua(er,Ht,lt),fe[ke+1+96]=ua(mr,er,Ht)}function hs(fe,ke){var lt;for(lt=0;8>lt;++lt)Be(fe,ke+32*lt,fe,ke-32,8)}function ss(fe,ke){var lt;for(lt=0;8>lt;++lt)Qe(fe,ke,fe[ke-1],8),ke+=32}function $a(fe,ke,lt){var Ht;for(Ht=0;8>Ht;++Ht)Qe(ke,lt+32*Ht,fe,8)}function Na(fe,ke){var lt,Ht=8;for(lt=0;8>lt;++lt)Ht+=fe[ke+lt-32]+fe[ke-1+32*lt];$a(Ht>>4,fe,ke)}function Vo(fe,ke){var lt,Ht=4;for(lt=0;8>lt;++lt)Ht+=fe[ke+lt-32];$a(Ht>>3,fe,ke)}function Zo(fe,ke){var lt,Ht=4;for(lt=0;8>lt;++lt)Ht+=fe[ke-1+32*lt];$a(Ht>>3,fe,ke)}function Da(fe,ke){$a(128,fe,ke)}function Ka(fe,ke,lt){var Ht=fe[ke-lt],er=fe[ke+0],mr=3*(er-Ht)+Dl[1020+fe[ke-2*lt]-fe[ke+lt]],Oe=$s[112+(mr+4>>3)];fe[ke-lt]=el[255+Ht+$s[112+(mr+3>>3)]],fe[ke+0]=el[255+er-Oe]}function Pa(fe,ke,lt,Ht){var er=fe[ke+0],mr=fe[ke+lt];return dl[255+fe[ke-2*lt]-fe[ke-lt]]>Ht||dl[255+mr-er]>Ht}function Xo(fe,ke,lt,Ht){return 4*dl[255+fe[ke-lt]-fe[ke+0]]+dl[255+fe[ke-2*lt]-fe[ke+lt]]<=Ht}function Uo(fe,ke,lt,Ht,er){var mr=fe[ke-3*lt],Oe=fe[ke-2*lt],Q=fe[ke-lt],me=fe[ke+0],We=fe[ke+lt],nt=fe[ke+2*lt],Et=fe[ke+3*lt];return 4*dl[255+Q-me]+dl[255+Oe-We]>Ht?0:dl[255+fe[ke-4*lt]-mr]<=er&&dl[255+mr-Oe]<=er&&dl[255+Oe-Q]<=er&&dl[255+Et-nt]<=er&&dl[255+nt-We]<=er&&dl[255+We-me]<=er}function Lo(fe,ke,lt,Ht){var er=2*Ht+1;for(Ht=0;16>Ht;++Ht)Xo(fe,ke+Ht,lt,er)&&Ka(fe,ke+Ht,lt)}function Yo(fe,ke,lt,Ht){var er=2*Ht+1;for(Ht=0;16>Ht;++Ht)Xo(fe,ke+Ht*lt,1,er)&&Ka(fe,ke+Ht*lt,1)}function Ko(fe,ke,lt,Ht){var er;for(er=3;0<er;--er)Lo(fe,ke+=4*lt,lt,Ht)}function jo(fe,ke,lt,Ht){var er;for(er=3;0<er;--er)Yo(fe,ke+=4,lt,Ht)}function Or(fe,ke,lt,Ht,er,mr,Oe,Q){for(mr=2*mr+1;0<er--;){if(Uo(fe,ke,lt,mr,Oe))if(Pa(fe,ke,lt,Q))Ka(fe,ke,lt);else{var me=fe,We=ke,nt=lt,Et=me[We-2*nt],Rt=me[We-nt],Mt=me[We+0],nr=me[We+nt],yr=me[We+2*nt],rr=27*(hr=Dl[1020+3*(Mt-Rt)+Dl[1020+Et-nr]])+63>>7,qt=18*hr+63>>7,hr=9*hr+63>>7;me[We-3*nt]=el[255+me[We-3*nt]+hr],me[We-2*nt]=el[255+Et+qt],me[We-nt]=el[255+Rt+rr],me[We+0]=el[255+Mt-rr],me[We+nt]=el[255+nr-qt],me[We+2*nt]=el[255+yr-hr]}ke+=Ht}}function ui(fe,ke,lt,Ht,er,mr,Oe,Q){for(mr=2*mr+1;0<er--;){if(Uo(fe,ke,lt,mr,Oe))if(Pa(fe,ke,lt,Q))Ka(fe,ke,lt);else{var me=fe,We=ke,nt=lt,Et=me[We-nt],Rt=me[We+0],Mt=me[We+nt],nr=$s[112+((yr=3*(Rt-Et))+4>>3)],yr=$s[112+(yr+3>>3)],rr=nr+1>>1;me[We-2*nt]=el[255+me[We-2*nt]+rr],me[We-nt]=el[255+Et+yr],me[We+0]=el[255+Rt-nr],me[We+nt]=el[255+Mt-rr]}ke+=Ht}}function vs(fe,ke,lt,Ht,er,mr){Or(fe,ke,lt,1,16,Ht,er,mr)}function rl(fe,ke,lt,Ht,er,mr){Or(fe,ke,1,lt,16,Ht,er,mr)}function Ps(fe,ke,lt,Ht,er,mr){var Oe;for(Oe=3;0<Oe;--Oe)ui(fe,ke+=4*lt,lt,1,16,Ht,er,mr)}function Ks(fe,ke,lt,Ht,er,mr){var Oe;for(Oe=3;0<Oe;--Oe)ui(fe,ke+=4,1,lt,16,Ht,er,mr)}function sl(fe,ke,lt,Ht,er,mr,Oe,Q){Or(fe,ke,er,1,8,mr,Oe,Q),Or(lt,Ht,er,1,8,mr,Oe,Q)}function xs(fe,ke,lt,Ht,er,mr,Oe,Q){Or(fe,ke,1,er,8,mr,Oe,Q),Or(lt,Ht,1,er,8,mr,Oe,Q)}function Ls(fe,ke,lt,Ht,er,mr,Oe,Q){ui(fe,ke+4*er,er,1,8,mr,Oe,Q),ui(lt,Ht+4*er,er,1,8,mr,Oe,Q)}function Xs(fe,ke,lt,Ht,er,mr,Oe,Q){ui(fe,ke+4,1,er,8,mr,Oe,Q),ui(lt,Ht+4,1,er,8,mr,Oe,Q)}function Es(){this.ba=new Yr,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new vn,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function _s(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function pl(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Gs(){this.ua=0,this.Wa=new hi,this.vb=new hi,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new Vn,this.yc=new cn}function ro(){this.xb=this.a=0,this.l=new ga,this.ca=new Yr,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new xr,this.Pb=0,this.wd=new xr,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Gs,this.ab=0,this.gc=Ye(4,pl),this.Oc=0}function eo(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new ga,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ho(fe,ke,lt,Ht,er,mr,Oe){for(fe=fe==null?0:fe[ke+0],ke=0;ke<Oe;++ke)er[mr+ke]=fe+lt[Ht+ke]&255,fe=er[mr+ke]}function yt(fe,ke,lt,Ht,er,mr,Oe){var Q;if(fe==null)ho(null,null,lt,Ht,er,mr,Oe);else for(Q=0;Q<Oe;++Q)er[mr+Q]=fe[ke+Q]+lt[Ht+Q]&255}function Lt(fe,ke,lt,Ht,er,mr,Oe){if(fe==null)ho(null,null,lt,Ht,er,mr,Oe);else{var Q,me=fe[ke+0],We=me,nt=me;for(Q=0;Q<Oe;++Q)We=nt+(me=fe[ke+Q])-We,nt=lt[Ht+Q]+(-256&We?0>We?0:255:We)&255,We=me,er[mr+Q]=nt}}function Pr(fe,ke,lt,Ht){var er=ke.width,mr=ke.o;if(Se(fe!=null&&ke!=null),0>lt||0>=Ht||lt+Ht>mr)return null;if(!fe.Cc){if(fe.ga==null){var Oe;if(fe.ga=new eo,(Oe=fe.ga==null)||(Oe=ke.width*ke.o,Se(fe.Gb.length==0),fe.Gb=Ve(Oe),fe.Uc=0,fe.Gb==null?Oe=0:(fe.mb=fe.Gb,fe.nb=fe.Uc,fe.rc=null,Oe=1),Oe=!Oe),!Oe){Oe=fe.ga;var Q=fe.Fa,me=fe.P,We=fe.qc,nt=fe.mb,Et=fe.nb,Rt=me+1,Mt=We-1,nr=Oe.l;if(Se(Q!=null&&nt!=null&&ke!=null),Il[0]=null,Il[1]=ho,Il[2]=yt,Il[3]=Lt,Oe.ca=nt,Oe.tb=Et,Oe.c=ke.width,Oe.i=ke.height,Se(0<Oe.c&&0<Oe.i),1>=We)ke=0;else if(Oe.$a=Q[me+0]>>0&3,Oe.Z=Q[me+0]>>2&3,Oe.Lc=Q[me+0]>>4&3,me=Q[me+0]>>6&3,0>Oe.$a||1<Oe.$a||4<=Oe.Z||1<Oe.Lc||me)ke=0;else if(nr.put=qn,nr.ac=Ni,nr.bc=Pn,nr.ma=Oe,nr.width=ke.width,nr.height=ke.height,nr.Da=ke.Da,nr.v=ke.v,nr.va=ke.va,nr.j=ke.j,nr.o=ke.o,Oe.$a)e:{Se(Oe.$a==1),ke=wa();t:for(;;){if(ke==null){ke=0;break e}if(Se(Oe!=null),Oe.mc=ke,ke.c=Oe.c,ke.i=Oe.i,ke.l=Oe.l,ke.l.ma=Oe,ke.l.width=Oe.c,ke.l.height=Oe.i,ke.a=0,gi(ke.m,Q,Rt,Mt),!_i(Oe.c,Oe.i,1,ke,null))break t;if(ke.ab==1&&ke.gc[0].hc==3&&aa(ke.s)?(Oe.ic=1,Q=ke.c*ke.i,ke.Ta=null,ke.Ua=0,ke.V=Ve(Q),ke.Ba=0,ke.V==null?(ke.a=1,ke=0):ke=1):(Oe.ic=0,ke=xi(ke,Oe.c)),!ke)break t;ke=1;break e}Oe.mc=null,ke=0}else ke=Mt>=Oe.c*Oe.i;Oe=!ke}if(Oe)return null;fe.ga.Lc!=1?fe.Ga=0:Ht=mr-lt}Se(fe.ga!=null),Se(lt+Ht<=mr);e:{if(ke=(Q=fe.ga).c,mr=Q.l.o,Q.$a==0){if(Rt=fe.rc,Mt=fe.Vc,nr=fe.Fa,me=fe.P+1+lt*ke,We=fe.mb,nt=fe.nb+lt*ke,Se(me<=fe.P+fe.qc),Q.Z!=0)for(Se(Il[Q.Z]!=null),Oe=0;Oe<Ht;++Oe)Il[Q.Z](Rt,Mt,nr,me,We,nt,ke),Rt=We,Mt=nt,nt+=ke,me+=ke;else for(Oe=0;Oe<Ht;++Oe)Be(We,nt,nr,me,ke),Rt=We,Mt=nt,nt+=ke,me+=ke;fe.rc=Rt,fe.Vc=Mt}else{if(Se(Q.mc!=null),ke=lt+Ht,Se((Oe=Q.mc)!=null),Se(ke<=Oe.i),Oe.C>=ke)ke=1;else if(Q.ic||pe(),Q.ic){Q=Oe.V,Rt=Oe.Ba,Mt=Oe.c;var yr=Oe.i,rr=(nr=1,me=Oe.$/Mt,We=Oe.$%Mt,nt=Oe.m,Et=Oe.s,Oe.$),qt=Mt*yr,hr=Mt*ke,Er=Et.wc,zr=rr<hr?fa(Et,We,me):null;Se(rr<=qt),Se(ke<=yr),Se(aa(Et));t:for(;;){for(;!nt.h&&rr<hr;){if(We&Er||(zr=fa(Et,We,me)),Se(zr!=null),Fn(nt),256>(yr=fi(zr.G[0],zr.H[0],nt)))Q[Rt+rr]=yr,++rr,++We>=Mt&&(We=0,++me<=ke&&!(me%16)&&Ea(Oe,me));else{if(!(280>yr)){nr=0;break t}yr=ci(yr-256,nt);var En,jn=fi(zr.G[4],zr.H[4],nt);if(Fn(nt),!(rr>=(jn=wi(Mt,jn=ci(jn,nt)))&&qt-rr>=yr)){nr=0;break t}for(En=0;En<yr;++En)Q[Rt+rr+En]=Q[Rt+rr+En-jn];for(rr+=yr,We+=yr;We>=Mt;)We-=Mt,++me<=ke&&!(me%16)&&Ea(Oe,me);rr<hr&&We&Er&&(zr=fa(Et,We,me))}Se(nt.h==gn(nt))}Ea(Oe,me>ke?ke:me);break t}!nr||nt.h&&rr<qt?(nr=0,Oe.a=nt.h?5:3):Oe.$=rr,ke=nr}else ke=ca(Oe,Oe.V,Oe.Ba,Oe.c,Oe.i,ke,ji);if(!ke){Ht=0;break e}}lt+Ht>=mr&&(fe.Cc=1),Ht=1}if(!Ht)return null;if(fe.Cc&&((Ht=fe.ga)!=null&&(Ht.mc=null),fe.ga=null,0<fe.Ga))return alert("todo:WebPDequantizeLevels"),null}return fe.nb+lt*er}function pn(fe,ke,lt,Ht,er,mr){for(;0<er--;){var Oe,Q=fe,me=ke+(lt?1:0),We=fe,nt=ke+(lt?0:3);for(Oe=0;Oe<Ht;++Oe){var Et=We[nt+4*Oe];Et!=255&&(Et*=32897,Q[me+4*Oe+0]=Q[me+4*Oe+0]*Et>>23,Q[me+4*Oe+1]=Q[me+4*Oe+1]*Et>>23,Q[me+4*Oe+2]=Q[me+4*Oe+2]*Et>>23)}ke+=mr}}function Rn(fe,ke,lt,Ht,er){for(;0<Ht--;){var mr;for(mr=0;mr<lt;++mr){var Oe=fe[ke+2*mr+0],Q=15&(We=fe[ke+2*mr+1]),me=4369*Q,We=(240&We|We>>4)*me>>16;fe[ke+2*mr+0]=(240&Oe|Oe>>4)*me>>16&240|(15&Oe|Oe<<4)*me>>16>>4&15,fe[ke+2*mr+1]=240&We|Q}ke+=er}}function dt(fe,ke,lt,Ht,er,mr,Oe,Q){var me,We,nt=255;for(We=0;We<er;++We){for(me=0;me<Ht;++me){var Et=fe[ke+me];mr[Oe+4*me]=Et,nt&=Et}ke+=lt,Oe+=Q}return nt!=255}function ie(fe,ke,lt,Ht,er){var mr;for(mr=0;mr<er;++mr)lt[Ht+mr]=fe[ke+mr]>>8}function pe(){Zs=pn,gl=Rn,Fs=dt,ys=ie}function we(fe,ke,lt){xn[fe]=function(Ht,er,mr,Oe,Q,me,We,nt,Et,Rt,Mt,nr,yr,rr,qt,hr,Er){var zr,En=Er-1>>1,jn=Q[me+0]|We[nt+0]<<16,pi=Et[Rt+0]|Mt[nr+0]<<16;Se(Ht!=null);var Yn=3*jn+pi+131074>>2;for(ke(Ht[er+0],255&Yn,Yn>>16,yr,rr),mr!=null&&(Yn=3*pi+jn+131074>>2,ke(mr[Oe+0],255&Yn,Yn>>16,qt,hr)),zr=1;zr<=En;++zr){var Ji=Q[me+zr]|We[nt+zr]<<16,Ei=Et[Rt+zr]|Mt[nr+zr]<<16,da=jn+Ji+pi+Ei+524296,ta=da+2*(Ji+pi)>>3;Yn=ta+jn>>1,jn=(da=da+2*(jn+Ei)>>3)+Ji>>1,ke(Ht[er+2*zr-1],255&Yn,Yn>>16,yr,rr+(2*zr-1)*lt),ke(Ht[er+2*zr-0],255&jn,jn>>16,yr,rr+(2*zr-0)*lt),mr!=null&&(Yn=da+pi>>1,jn=ta+Ei>>1,ke(mr[Oe+2*zr-1],255&Yn,Yn>>16,qt,hr+(2*zr-1)*lt),ke(mr[Oe+2*zr+0],255&jn,jn>>16,qt,hr+(2*zr+0)*lt)),jn=Ji,pi=Ei}1&Er||(Yn=3*jn+pi+131074>>2,ke(Ht[er+Er-1],255&Yn,Yn>>16,yr,rr+(Er-1)*lt),mr!=null&&(Yn=3*pi+jn+131074>>2,ke(mr[Oe+Er-1],255&Yn,Yn>>16,qt,hr+(Er-1)*lt)))}}function Ke(){bl[Vl]=_c,bl[ql]=Kc,bl[lc]=Hc,bl[Xl]=Cc,bl[Rl]=Tc,bl[cc]=Wc,bl[$l]=pc,bl[uc]=Kc,bl[Sl]=Cc,bl[_l]=Tc,bl[Ml]=Wc}function ut(fe){return fe&~qc?0>fe?0:255:fe>>Ic}function Pt(fe,ke){return ut((19077*fe>>8)+(26149*ke>>8)-14234)}function ar(fe,ke,lt){return ut((19077*fe>>8)-(6419*ke>>8)-(13320*lt>>8)+8708)}function wr(fe,ke){return ut((19077*fe>>8)+(33050*ke>>8)-17685)}function jr(fe,ke,lt,Ht,er){Ht[er+0]=Pt(fe,lt),Ht[er+1]=ar(fe,ke,lt),Ht[er+2]=wr(fe,ke)}function hn(fe,ke,lt,Ht,er){Ht[er+0]=wr(fe,ke),Ht[er+1]=ar(fe,ke,lt),Ht[er+2]=Pt(fe,lt)}function Tn(fe,ke,lt,Ht,er){var mr=ar(fe,ke,lt);ke=mr<<3&224|wr(fe,ke)>>3,Ht[er+0]=248&Pt(fe,lt)|mr>>5,Ht[er+1]=ke}function ti(fe,ke,lt,Ht,er){var mr=240&wr(fe,ke)|15;Ht[er+0]=240&Pt(fe,lt)|ar(fe,ke,lt)>>4,Ht[er+1]=mr}function Ai(fe,ke,lt,Ht,er){Ht[er+0]=255,jr(fe,ke,lt,Ht,er+1)}function Ti(fe,ke,lt,Ht,er){hn(fe,ke,lt,Ht,er),Ht[er+3]=255}function Wi(fe,ke,lt,Ht,er){jr(fe,ke,lt,Ht,er),Ht[er+3]=255}function pa(fe,ke){return 0>fe?0:fe>ke?ke:fe}function na(fe,ke,lt){xn[fe]=function(Ht,er,mr,Oe,Q,me,We,nt,Et){for(var Rt=nt+(-2&Et)*lt;nt!=Rt;)ke(Ht[er+0],mr[Oe+0],Q[me+0],We,nt),ke(Ht[er+1],mr[Oe+0],Q[me+0],We,nt+lt),er+=2,++Oe,++me,nt+=2*lt;1&Et&&ke(Ht[er+0],mr[Oe+0],Q[me+0],We,nt)}}function Ua(fe,ke,lt){return lt==0?fe==0?ke==0?6:5:ke==0?4:0:lt}function Za(fe,ke,lt,Ht,er){switch(fe>>>30){case 3:Ns(ke,lt,Ht,er,0);break;case 2:Us(ke,lt,Ht,er);break;case 1:Rs(ke,lt,Ht,er)}}function to(fe,ke){var lt,Ht,er=ke.M,mr=ke.Nb,Oe=fe.oc,Q=fe.pc+40,me=fe.oc,We=fe.pc+584,nt=fe.oc,Et=fe.pc+600;for(lt=0;16>lt;++lt)Oe[Q+32*lt-1]=129;for(lt=0;8>lt;++lt)me[We+32*lt-1]=129,nt[Et+32*lt-1]=129;for(0<er?Oe[Q-1-32]=me[We-1-32]=nt[Et-1-32]=129:(Qe(Oe,Q-32-1,127,21),Qe(me,We-32-1,127,9),Qe(nt,Et-32-1,127,9)),Ht=0;Ht<fe.za;++Ht){var Rt=ke.ya[ke.aa+Ht];if(0<Ht){for(lt=-1;16>lt;++lt)Be(Oe,Q+32*lt-4,Oe,Q+32*lt+12,4);for(lt=-1;8>lt;++lt)Be(me,We+32*lt-4,me,We+32*lt+4,4),Be(nt,Et+32*lt-4,nt,Et+32*lt+4,4)}var Mt=fe.Gd,nr=fe.Hd+Ht,yr=Rt.ad,rr=Rt.Hc;if(0<er&&(Be(Oe,Q-32,Mt[nr].y,0,16),Be(me,We-32,Mt[nr].f,0,8),Be(nt,Et-32,Mt[nr].ea,0,8)),Rt.Za){var qt=Oe,hr=Q-32+16;for(0<er&&(Ht>=fe.za-1?Qe(qt,hr,Mt[nr].y[15],4):Be(qt,hr,Mt[nr+1].y,0,4)),lt=0;4>lt;lt++)qt[hr+128+lt]=qt[hr+256+lt]=qt[hr+384+lt]=qt[hr+0+lt];for(lt=0;16>lt;++lt,rr<<=2)qt=Oe,hr=Q+gc[lt],al[Rt.Ob[lt]](qt,hr),Za(rr,yr,16*+lt,qt,hr)}else if(qt=Ua(Ht,er,Rt.Ob[0]),cs[qt](Oe,Q),rr!=0)for(lt=0;16>lt;++lt,rr<<=2)Za(rr,yr,16*+lt,Oe,Q+gc[lt]);for(lt=Rt.Gc,qt=Ua(Ht,er,Rt.Dd),Tl[qt](me,We),Tl[qt](nt,Et),rr=yr,qt=me,hr=We,255&(Rt=lt>>0)&&(170&Rt?Ds(rr,256,qt,hr):ul(rr,256,qt,hr)),Rt=nt,rr=Et,255&(lt>>=8)&&(170<?Ds(yr,320,Rt,rr):ul(yr,320,Rt,rr)),er<fe.Ub-1&&(Be(Mt[nr].y,0,Oe,Q+480,16),Be(Mt[nr].f,0,me,We+224,8),Be(Mt[nr].ea,0,nt,Et+224,8)),lt=8*mr*fe.B,Mt=fe.sa,nr=fe.ta+16*Ht+16*mr*fe.R,yr=fe.qa,Rt=fe.ra+8*Ht+lt,rr=fe.Ha,qt=fe.Ia+8*Ht+lt,lt=0;16>lt;++lt)Be(Mt,nr+lt*fe.R,Oe,Q+32*lt,16);for(lt=0;8>lt;++lt)Be(yr,Rt+lt*fe.B,me,We+32*lt,8),Be(rr,qt+lt*fe.B,nt,Et+32*lt,8)}}function No(fe,ke,lt,Ht,er,mr,Oe,Q,me){var We=[0],nt=[0],Et=0,Rt=me!=null?me.kd:0,Mt=me!=null?me:new _s;if(fe==null||12>lt)return 7;Mt.data=fe,Mt.w=ke,Mt.ha=lt,ke=[ke],lt=[lt],Mt.gb=[Mt.gb];e:{var nr=ke,yr=lt,rr=Mt.gb;if(Se(fe!=null),Se(yr!=null),Se(rr!=null),rr[0]=0,12<=yr[0]&&!Me(fe,nr[0],"RIFF")){if(Me(fe,nr[0]+8,"WEBP")){rr=3;break e}var qt=ja(fe,nr[0]+4);if(12>qt||4294967286<qt){rr=3;break e}if(Rt&&qt>yr[0]-8){rr=7;break e}rr[0]=qt,nr[0]+=12,yr[0]-=12}rr=0}if(rr!=0)return rr;for(qt=0<Mt.gb[0],lt=lt[0];;){e:{var hr=fe;yr=ke,rr=lt;var Er=We,zr=nt,En=nr=[0];if((Yn=Et=[Et])[0]=0,8>rr[0])rr=7;else{if(!Me(hr,yr[0],"VP8X")){if(ja(hr,yr[0]+4)!=10){rr=3;break e}if(18>rr[0]){rr=7;break e}var jn=ja(hr,yr[0]+8),pi=1+Fi(hr,yr[0]+12);if(2147483648<=pi*(hr=1+Fi(hr,yr[0]+15))){rr=3;break e}En!=null&&(En[0]=jn),Er!=null&&(Er[0]=pi),zr!=null&&(zr[0]=hr),yr[0]+=18,rr[0]-=18,Yn[0]=1}rr=0}}if(Et=Et[0],nr=nr[0],rr!=0)return rr;if(yr=!!(2&nr),!qt&&Et)return 3;if(mr!=null&&(mr[0]=!!(16&nr)),Oe!=null&&(Oe[0]=yr),Q!=null&&(Q[0]=0),Oe=We[0],nr=nt[0],Et&&yr&&me==null){rr=0;break}if(4>lt){rr=7;break}if(qt&&Et||!qt&&!Et&&!Me(fe,ke[0],"ALPH")){lt=[lt],Mt.na=[Mt.na],Mt.P=[Mt.P],Mt.Sa=[Mt.Sa];e:{jn=fe,rr=ke,qt=lt;var Yn=Mt.gb;Er=Mt.na,zr=Mt.P,En=Mt.Sa,pi=22,Se(jn!=null),Se(qt!=null),hr=rr[0];var Ji=qt[0];for(Se(Er!=null),Se(En!=null),Er[0]=null,zr[0]=null,En[0]=0;;){if(rr[0]=hr,qt[0]=Ji,8>Ji){rr=7;break e}var Ei=ja(jn,hr+4);if(4294967286<Ei){rr=3;break e}var da=8+Ei+1&-2;if(pi+=da,0<Yn&&pi>Yn){rr=3;break e}if(!Me(jn,hr,"VP8 ")||!Me(jn,hr,"VP8L")){rr=0;break e}if(Ji[0]<da){rr=7;break e}Me(jn,hr,"ALPH")||(Er[0]=jn,zr[0]=hr+8,En[0]=Ei),hr+=da,Ji-=da}}if(lt=lt[0],Mt.na=Mt.na[0],Mt.P=Mt.P[0],Mt.Sa=Mt.Sa[0],rr!=0)break}lt=[lt],Mt.Ja=[Mt.Ja],Mt.xa=[Mt.xa];e:if(Yn=fe,rr=ke,qt=lt,Er=Mt.gb[0],zr=Mt.Ja,En=Mt.xa,jn=rr[0],hr=!Me(Yn,jn,"VP8 "),pi=!Me(Yn,jn,"VP8L"),Se(Yn!=null),Se(qt!=null),Se(zr!=null),Se(En!=null),8>qt[0])rr=7;else{if(hr||pi){if(Yn=ja(Yn,jn+4),12<=Er&&Yn>Er-12){rr=3;break e}if(Rt&&Yn>qt[0]-8){rr=7;break e}zr[0]=Yn,rr[0]+=8,qt[0]-=8,En[0]=pi}else En[0]=5<=qt[0]&&Yn[jn+0]==47&&!(Yn[jn+4]>>5),zr[0]=qt[0];rr=0}if(lt=lt[0],Mt.Ja=Mt.Ja[0],Mt.xa=Mt.xa[0],ke=ke[0],rr!=0)break;if(4294967286<Mt.Ja)return 3;if(Q==null||yr||(Q[0]=Mt.xa?2:1),Oe=[Oe],nr=[nr],Mt.xa){if(5>lt){rr=7;break}Q=Oe,Rt=nr,yr=mr,fe==null||5>lt?fe=0:5<=lt&&fe[ke+0]==47&&!(fe[ke+4]>>5)?(qt=[0],Yn=[0],Er=[0],gi(zr=new xr,fe,ke,lt),Bi(zr,qt,Yn,Er)?(Q!=null&&(Q[0]=qt[0]),Rt!=null&&(Rt[0]=Yn[0]),yr!=null&&(yr[0]=Er[0]),fe=1):fe=0):fe=0}else{if(10>lt){rr=7;break}Q=nr,fe==null||10>lt||!Fa(fe,ke+3,lt-3)?fe=0:(Rt=fe[ke+0]|fe[ke+1]<<8|fe[ke+2]<<16,yr=16383&(fe[ke+7]<<8|fe[ke+6]),fe=16383&(fe[ke+9]<<8|fe[ke+8]),1&Rt||3<(Rt>>1&7)||!(Rt>>4&1)||Rt>>5>=Mt.Ja||!yr||!fe?fe=0:(Oe&&(Oe[0]=yr),Q&&(Q[0]=fe),fe=1))}if(!fe)return 3;if(Oe=Oe[0],nr=nr[0],Et&&(We[0]!=Oe||nt[0]!=nr))return 3;me!=null&&(me[0]=Mt,me.offset=ke-me.w,Se(4294967286>ke-me.w),Se(me.offset==me.ha-lt));break}return rr==0||rr==7&&Et&&me==null?(mr!=null&&(mr[0]|=Mt.na!=null&&0<Mt.na.length),Ht!=null&&(Ht[0]=Oe),er!=null&&(er[0]=nr),0):rr}function oo(fe,ke,lt){var Ht=ke.width,er=ke.height,mr=0,Oe=0,Q=Ht,me=er;if(ke.Da=fe!=null&&0<fe.Da,ke.Da&&(Q=fe.cd,me=fe.bd,mr=fe.v,Oe=fe.j,11>lt||(mr&=-2,Oe&=-2),0>mr||0>Oe||0>=Q||0>=me||mr+Q>Ht||Oe+me>er))return 0;if(ke.v=mr,ke.j=Oe,ke.va=mr+Q,ke.o=Oe+me,ke.U=Q,ke.T=me,ke.da=fe!=null&&0<fe.da,ke.da){if(!Ri(Q,me,lt=[fe.ib],mr=[fe.hb]))return 0;ke.ib=lt[0],ke.hb=mr[0]}return ke.ob=fe!=null&&fe.ob,ke.Kb=fe==null||!fe.Sd,ke.da&&(ke.ob=ke.ib<3*Ht/4&&ke.hb<3*er/4,ke.Kb=0),1}function Do(fe){if(fe==null)return 2;if(11>fe.S){var ke=fe.f.RGBA;ke.fb+=(fe.height-1)*ke.A,ke.A=-ke.A}else ke=fe.f.kb,fe=fe.height,ke.O+=(fe-1)*ke.fa,ke.fa=-ke.fa,ke.N+=(fe-1>>1)*ke.Ab,ke.Ab=-ke.Ab,ke.W+=(fe-1>>1)*ke.Db,ke.Db=-ke.Db,ke.F!=null&&(ke.J+=(fe-1)*ke.lb,ke.lb=-ke.lb);return 0}function Wa(fe,ke,lt,Ht){if(Ht==null||0>=fe||0>=ke)return 2;if(lt!=null){if(lt.Da){var er=lt.cd,mr=lt.bd,Oe=-2<.v,Q=-2<.j;if(0>Oe||0>Q||0>=er||0>=mr||Oe+er>fe||Q+mr>ke)return 2;fe=er,ke=mr}if(lt.da){if(!Ri(fe,ke,er=[lt.ib],mr=[lt.hb]))return 2;fe=er[0],ke=mr[0]}}Ht.width=fe,Ht.height=ke;e:{var me=Ht.width,We=Ht.height;if(fe=Ht.S,0>=me||0>=We||!(fe>=Vl&&13>fe))fe=2;else{if(0>=Ht.Rd&&Ht.sd==null){Oe=mr=er=ke=0;var nt=(Q=me*oc[fe])*We;if(11>fe||(mr=(We+1)/2*(ke=(me+1)/2),fe==12&&(Oe=(er=me)*We)),(We=Ve(nt+2*mr+Oe))==null){fe=1;break e}Ht.sd=We,11>fe?((me=Ht.f.RGBA).eb=We,me.fb=0,me.A=Q,me.size=nt):((me=Ht.f.kb).y=We,me.O=0,me.fa=Q,me.Fd=nt,me.f=We,me.N=0+nt,me.Ab=ke,me.Cd=mr,me.ea=We,me.W=0+nt+mr,me.Db=ke,me.Ed=mr,fe==12&&(me.F=We,me.J=0+nt+2*mr),me.Tc=Oe,me.lb=er)}if(ke=1,er=Ht.S,mr=Ht.width,Oe=Ht.height,er>=Vl&&13>er)if(11>er)fe=Ht.f.RGBA,ke&=(Q=Math.abs(fe.A))*(Oe-1)+mr<=fe.size,ke&=Q>=mr*oc[er],ke&=fe.eb!=null;else{fe=Ht.f.kb,Q=(mr+1)/2,nt=(Oe+1)/2,me=Math.abs(fe.fa),We=Math.abs(fe.Ab);var Et=Math.abs(fe.Db),Rt=Math.abs(fe.lb),Mt=Rt*(Oe-1)+mr;ke&=me*(Oe-1)+mr<=fe.Fd,ke&=We*(nt-1)+Q<=fe.Cd,ke=(ke&=Et*(nt-1)+Q<=fe.Ed)&me>=mr&We>=Q&Et>=Q,ke&=fe.y!=null,ke&=fe.f!=null,ke&=fe.ea!=null,er==12&&(ke&=Rt>=mr,ke&=Mt<=fe.Tc,ke&=fe.F!=null)}else ke=0;fe=ke?0:2}}return fe!=0||lt!=null&<.fd&&(fe=Do(Ht)),fe}var Ro=64,ls=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],wo=24,So=32,fs=8,Cs=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];ni("Predictor0","PredictorAdd0"),xn.Predictor0=function(){return 4278190080},xn.Predictor1=function(fe){return fe},xn.Predictor2=function(fe,ke,lt){return ke[lt+0]},xn.Predictor3=function(fe,ke,lt){return ke[lt+1]},xn.Predictor4=function(fe,ke,lt){return ke[lt-1]},xn.Predictor5=function(fe,ke,lt){return Qi(Qi(fe,ke[lt+1]),ke[lt+0])},xn.Predictor6=function(fe,ke,lt){return Qi(fe,ke[lt-1])},xn.Predictor7=function(fe,ke,lt){return Qi(fe,ke[lt+0])},xn.Predictor8=function(fe,ke,lt){return Qi(ke[lt-1],ke[lt+0])},xn.Predictor9=function(fe,ke,lt){return Qi(ke[lt+0],ke[lt+1])},xn.Predictor10=function(fe,ke,lt){return Qi(Qi(fe,ke[lt-1]),Qi(ke[lt+0],ke[lt+1]))},xn.Predictor11=function(fe,ke,lt){var Ht=ke[lt+0];return 0>=Ir(Ht>>24&255,fe>>24&255,(ke=ke[lt-1])>>24&255)+Ir(Ht>>16&255,fe>>16&255,ke>>16&255)+Ir(Ht>>8&255,fe>>8&255,ke>>8&255)+Ir(255&Ht,255&fe,255&ke)?Ht:fe},xn.Predictor12=function(fe,ke,lt){var Ht=ke[lt+0];return(ha((fe>>24&255)+(Ht>>24&255)-((ke=ke[lt-1])>>24&255))<<24|ha((fe>>16&255)+(Ht>>16&255)-(ke>>16&255))<<16|ha((fe>>8&255)+(Ht>>8&255)-(ke>>8&255))<<8|ha((255&fe)+(255&Ht)-(255&ke)))>>>0},xn.Predictor13=function(fe,ke,lt){var Ht=ke[lt-1];return(Yt((fe=Qi(fe,ke[lt+0]))>>24&255,Ht>>24&255)<<24|Yt(fe>>16&255,Ht>>16&255)<<16|Yt(fe>>8&255,Ht>>8&255)<<8|Yt(fe>>0&255,Ht>>0&255))>>>0};var qo=xn.PredictorAdd0;xn.PredictorAdd1=Zr,ni("Predictor2","PredictorAdd2"),ni("Predictor3","PredictorAdd3"),ni("Predictor4","PredictorAdd4"),ni("Predictor5","PredictorAdd5"),ni("Predictor6","PredictorAdd6"),ni("Predictor7","PredictorAdd7"),ni("Predictor8","PredictorAdd8"),ni("Predictor9","PredictorAdd9"),ni("Predictor10","PredictorAdd10"),ni("Predictor11","PredictorAdd11"),ni("Predictor12","PredictorAdd12"),ni("Predictor13","PredictorAdd13");var xo=xn.PredictorAdd2;zt("ColorIndexInverseTransform","MapARGB","32b",function(fe){return fe>>8&255},function(fe){return fe}),zt("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(fe){return fe},function(fe){return fe>>8&255});var Ws,ps=xn.ColorIndexInverseTransform,ll=xn.MapARGB,cl=xn.VP8LColorIndexInverseTransformAlpha,Ts=xn.MapAlpha,ko=xn.VP8LPredictorsAdd=[];ko.length=16,(xn.VP8LPredictors=[]).length=16,(xn.VP8LPredictorsAdd_C=[]).length=16,(xn.VP8LPredictors_C=[]).length=16;var Ki,zs,nl,Ss,ts,ml,il,Ns,Us,Ds,Rs,ul,Ms,Qs,Ys,Js,xa,Li,ea,Ca,go,js,Is,Vs,Zs,gl,Fs,ys,Ul=Ve(511),Bc=Ve(2041),wc=Ve(225),kc=Ve(767),Pc=0,Dl=Bc,$s=wc,el=kc,dl=Ul,Vl=0,ql=1,lc=2,Xl=3,Rl=4,cc=5,$l=6,uc=7,Sl=8,_l=9,Ml=10,ec=[2,3,7],Cl=[3,3,11],Uc=[280,256,256,256,40],Al=[0,1,1,1,0],xl=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],tc=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],jc=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],dc=8,Fl=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],Bl=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],jl=null,Sc=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],xc=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],hc=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Hl=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],fc=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],rc=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Ec=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],cs=[],al=[],Tl=[],nc=1,ic=2,Il=[],bl=[];we("UpsampleRgbLinePair",jr,3),we("UpsampleBgrLinePair",hn,3),we("UpsampleRgbaLinePair",Wi,4),we("UpsampleBgraLinePair",Ti,4),we("UpsampleArgbLinePair",Ai,4),we("UpsampleRgba4444LinePair",ti,2),we("UpsampleRgb565LinePair",Tn,2);var _c=xn.UpsampleRgbLinePair,Hc=xn.UpsampleBgrLinePair,Kc=xn.UpsampleRgbaLinePair,Cc=xn.UpsampleBgraLinePair,Tc=xn.UpsampleArgbLinePair,Wc=xn.UpsampleRgba4444LinePair,pc=xn.UpsampleRgb565LinePair,Ol=16,Ll=1<<Ol-1,Gl=-227,Kl=482,Ic=6,qc=(256<<Ic)-1,zc=0,$c=Ve(256),Ql=Ve(256),mc=Ve(256),eu=Ve(256),Oc=Ve(Kl-Gl),ac=Ve(Kl-Gl);na("YuvToRgbRow",jr,3),na("YuvToBgrRow",hn,3),na("YuvToRgbaRow",Wi,4),na("YuvToBgraRow",Ti,4),na("YuvToArgbRow",Ai,4),na("YuvToRgba4444Row",ti,2),na("YuvToRgb565Row",Tn,2);var gc=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Yl=[0,2,8],Lc=[8,7,6,4,4,2,2,2,1,1,1,1],Jl=1;this.WebPDecodeRGBA=function(fe,ke,lt,Ht,er){var mr=ql,Oe=new Es,Q=new Yr;Oe.ba=Q,Q.S=mr,Q.width=[Q.width],Q.height=[Q.height];var me=Q.width,We=Q.height,nt=new fn;if(nt==null||fe==null)var Et=2;else Se(nt!=null),Et=No(fe,ke,lt,nt.width,nt.height,nt.Pd,nt.Qd,nt.format,null);if(Et!=0?me=0:(me!=null&&(me[0]=nt.width[0]),We!=null&&(We[0]=nt.height[0]),me=1),me){Q.width=Q.width[0],Q.height=Q.height[0],Ht!=null&&(Ht[0]=Q.width),er!=null&&(er[0]=Q.height);e:{if(Ht=new ga,(er=new _s).data=fe,er.w=ke,er.ha=lt,er.kd=1,ke=[0],Se(er!=null),((fe=No(er.data,er.w,er.ha,null,null,null,ke,null,er))==0||fe==7)&&ke[0]&&(fe=4),(ke=fe)==0){if(Se(Oe!=null),Ht.data=er.data,Ht.w=er.w+er.offset,Ht.ha=er.ha-er.offset,Ht.put=qn,Ht.ac=Ni,Ht.bc=Pn,Ht.ma=Oe,er.xa){if((fe=wa())==null){Oe=1;break e}if(function(Rt,Mt){var nr=[0],yr=[0],rr=[0];t:for(;;){if(Rt==null)return 0;if(Mt==null)return Rt.a=2,0;if(Rt.l=Mt,Rt.a=0,gi(Rt.m,Mt.data,Mt.w,Mt.ha),!Bi(Rt.m,nr,yr,rr)){Rt.a=3;break t}if(Rt.xb=ic,Mt.width=nr[0],Mt.height=yr[0],!_i(nr[0],yr[0],1,Rt,null))break t;return 1}return Se(Rt.a!=0),0}(fe,Ht)){if(Ht=(ke=Wa(Ht.width,Ht.height,Oe.Oa,Oe.ba))==0){t:{Ht=fe;r:for(;;){if(Ht==null){Ht=0;break t}if(Se(Ht.s.yc!=null),Se(Ht.s.Ya!=null),Se(0<Ht.s.Wb),Se((lt=Ht.l)!=null),Se((er=lt.ma)!=null),Ht.xb!=0){if(Ht.ca=er.ba,Ht.tb=er.tb,Se(Ht.ca!=null),!oo(er.Oa,lt,Xl)){Ht.a=2;break r}if(!xi(Ht,lt.width))break r;if(lt.da)break r;if((lt.da||Cn(Ht.ca.S))&&pe(),11>Ht.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Ht.ca.f.kb.F!=null&&pe()),Ht.Pb&&0<Ht.s.ua&&Ht.s.vb.X==null&&!Qn(Ht.s.vb,Ht.s.Wa.Xa)){Ht.a=1;break r}Ht.xb=0}if(!ca(Ht,Ht.V,Ht.Ba,Ht.c,Ht.i,lt.o,ma))break r;er.Dc=Ht.Ma,Ht=1;break t}Se(Ht.a!=0),Ht=0}Ht=!Ht}Ht&&(ke=fe.a)}else ke=fe.a}else{if((fe=new ba)==null){Oe=1;break e}if(fe.Fa=er.na,fe.P=er.P,fe.qc=er.Sa,vo(fe,Ht)){if((ke=Wa(Ht.width,Ht.height,Oe.Oa,Oe.ba))==0){if(fe.Aa=0,lt=Oe.Oa,Se((er=fe)!=null),lt!=null){if(0<(me=0>(me=lt.Md)?0:100<me?255:255*me/100)){for(We=nt=0;4>We;++We)12>(Et=er.pb[We]).lc&&(Et.ia=me*Lc[0>Et.lc?0:Et.lc]>>3),nt|=Et.ia;nt&&(alert("todo:VP8InitRandom"),er.ia=1)}er.Ga=lt.Id,100<er.Ga?er.Ga=100:0>er.Ga&&(er.Ga=0)}ao(fe,Ht)||(ke=fe.a)}}else ke=fe.a}ke==0&&Oe.Oa!=null&&Oe.Oa.fd&&(ke=Do(Oe.ba))}Oe=ke}mr=Oe!=0?null:11>mr?Q.f.RGBA.eb:Q.f.kb.y}else mr=null;return mr};var oc=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Vt(Gn,xn){for(var mi="",rn=0;rn<4;rn++)mi+=String.fromCharCode(Gn[xn++]);return mi}function dr(Gn,xn){return(Gn[xn+0]<<0|Gn[xn+1]<<8|Gn[xn+2]<<16)>>>0}function tr(Gn,xn){return(Gn[xn+0]<<0|Gn[xn+1]<<8|Gn[xn+2]<<16|Gn[xn+3]<<24)>>>0}new ht;var ir=[0],_t=[0],gr=[],jt=new ht,Sr=qe,Ar=function(Gn,xn){var mi={},rn=0,Ur=!1,cn=0,Qr=0;if(mi.frames=[],!function(xr,nn,gn,On){for(var Fn=0;Fn<On;Fn++)if(xr[nn+Fn]!=gn.charCodeAt(Fn))return!0;return!1}(Gn,xn,"RIFF",4)){var Vn,Hn;for(tr(Gn,xn+=4),xn+=8;xn<Gn.length;){var li=Vt(Gn,xn),Un=tr(Gn,xn+=4);xn+=4;var gi=Un+(1&Un);switch(li){case"VP8 ":case"VP8L":mi.frames[rn]===void 0&&(mi.frames[rn]={}),(qr=mi.frames[rn]).src_off=Ur?Qr:xn-8,qr.src_size=cn+Un+8,rn++,Ur&&(Ur=!1,cn=0,Qr=0);break;case"VP8X":(qr=mi.header={}).feature_flags=Gn[xn];var Bn=xn+4;qr.canvas_width=1+dr(Gn,Bn),Bn+=3,qr.canvas_height=1+dr(Gn,Bn),Bn+=3;break;case"ALPH":Ur=!0,cn=gi+8,Qr=xn-8;break;case"ANIM":(qr=mi.header).bgcolor=tr(Gn,xn),Bn=xn+4,qr.loop_count=(Vn=Gn)[(Hn=Bn)+0]<<0|Vn[Hn+1]<<8,Bn+=2;break;case"ANMF":var di,qr;(qr=mi.frames[rn]={}).offset_x=2*dr(Gn,xn),xn+=3,qr.offset_y=2*dr(Gn,xn),xn+=3,qr.width=1+dr(Gn,xn),xn+=3,qr.height=1+dr(Gn,xn),xn+=3,qr.duration=dr(Gn,xn),xn+=3,di=Gn[xn++],qr.dispose=1&di,qr.blend=di>>1&1}li!="ANMF"&&(xn+=gi)}return mi}}(Sr,0);Ar.response=Sr,Ar.rgbaoutput=!0,Ar.dataurl=!1;var sr=Ar.header?Ar.header:null,ln=Ar.frames?Ar.frames:null;if(sr){sr.loop_counter=sr.loop_count,ir=[sr.canvas_height],_t=[sr.canvas_width];for(var _n=0;_n<ln.length&&ln[_n].blend!=0;_n++);}var Wn=ln[0],Nn=jt.WebPDecodeRGBA(Sr,Wn.src_off,Wn.src_size,_t,ir);Wn.rgba=Nn,Wn.imgwidth=_t[0],Wn.imgheight=ir[0];for(var Mn=0;Mn<_t[0]*ir[0]*4;Mn++)gr[Mn]=Nn[Mn];return this.width=_t,this.height=ir,this.data=gr,this}!function(qe){var Se=function(){return typeof m.b=="function"},Me=function(_t,gr,jt,Sr){var Ar=4,sr=Ye;switch(Sr){case qe.image_compression.FAST:Ar=1,sr=Ve;break;case qe.image_compression.MEDIUM:Ar=6,sr=pt;break;case qe.image_compression.SLOW:Ar=9,sr=ht}_t=Be(_t,gr,jt,sr);var ln=Object(m.b)(_t,{level:Ar});return qe.__addimage__.arrayBufferToBinaryString(ln)},Be=function(_t,gr,jt,Sr){for(var Ar,sr,ln,_n=_t.length/gr,Wn=new Uint8Array(_t.length+_n),Nn=dr(),Mn=0;Mn<_n;Mn+=1){if(ln=Mn*gr,Ar=_t.subarray(ln,ln+gr),Sr)Wn.set(Sr(Ar,jt,sr),ln+Mn);else{for(var Gn,xn=Nn.length,mi=[];Gn<xn;Gn+=1)mi[Gn]=Nn[Gn](Ar,jt,sr);var rn=tr(mi.concat());Wn.set(mi[rn],ln+Mn)}sr=Ar}return Wn},Qe=function(_t){var gr=Array.apply([],_t);return gr.unshift(0),gr},Ve=function(_t,gr){var jt,Sr=[],Ar=_t.length;Sr[0]=1;for(var sr=0;sr<Ar;sr+=1)jt=_t[sr-gr]||0,Sr[sr+1]=_t[sr]-jt+256&255;return Sr},Ye=function(_t,gr,jt){var Sr,Ar=[],sr=_t.length;Ar[0]=2;for(var ln=0;ln<sr;ln+=1)Sr=jt&&jt[ln]||0,Ar[ln+1]=_t[ln]-Sr+256&255;return Ar},pt=function(_t,gr,jt){var Sr,Ar,sr=[],ln=_t.length;sr[0]=3;for(var _n=0;_n<ln;_n+=1)Sr=_t[_n-gr]||0,Ar=jt&&jt[_n]||0,sr[_n+1]=_t[_n]+256-(Sr+Ar>>>1)&255;return sr},ht=function(_t,gr,jt){var Sr,Ar,sr,ln,_n=[],Wn=_t.length;_n[0]=4;for(var Nn=0;Nn<Wn;Nn+=1)Sr=_t[Nn-gr]||0,Ar=jt&&jt[Nn]||0,sr=jt&&jt[Nn-gr]||0,ln=Vt(Sr,Ar,sr),_n[Nn+1]=_t[Nn]-ln+256&255;return _n},Vt=function(_t,gr,jt){if(_t===gr&&gr===jt)return _t;var Sr=Math.abs(gr-jt),Ar=Math.abs(_t-jt),sr=Math.abs(_t+gr-jt-jt);return Sr<=Ar&&Sr<=sr?_t:Ar<=sr?gr:jt},dr=function(){return[Qe,Ve,Ye,pt,ht]},tr=function(_t){var gr=_t.map(function(jt){return jt.reduce(function(Sr,Ar){return Sr+Math.abs(Ar)},0)});return gr.indexOf(Math.min.apply(null,gr))};qe.processPNG=function(ir,_t,gr,jt){var Sr,Ar,sr,ln,_n,Wn,Nn,Mn,Gn,xn,mi,rn,Ur,cn,Qr,Vn=this.decode.FLATE_DECODE,Hn="";if(this.__addimage__.isArrayBuffer(ir)&&(ir=new Uint8Array(ir)),this.__addimage__.isArrayBufferView(ir)){if(ir=(sr=new Ge(ir)).imgData,Ar=sr.bits,Sr=sr.colorSpace,_n=sr.colors,[4,6].indexOf(sr.colorType)!==-1){if(sr.bits===8){Gn=(Mn=sr.pixelBitlength==32?new Uint32Array(sr.decodePixels().buffer):sr.pixelBitlength==16?new Uint16Array(sr.decodePixels().buffer):new Uint8Array(sr.decodePixels().buffer)).length,mi=new Uint8Array(Gn*sr.colors),xn=new Uint8Array(Gn);var li,Un=sr.pixelBitlength-sr.bits;for(cn=0,Qr=0;cn<Gn;cn++){for(Ur=Mn[cn],li=0;li<Un;)mi[Qr++]=Ur>>>li&255,li+=sr.bits;xn[cn]=Ur>>>li&255}}if(sr.bits===16){Gn=(Mn=new Uint32Array(sr.decodePixels().buffer)).length,mi=new Uint8Array(Gn*(32/sr.pixelBitlength)*sr.colors),xn=new Uint8Array(Gn*(32/sr.pixelBitlength)),rn=sr.colors>1,cn=0,Qr=0;for(var gi=0;cn<Gn;)Ur=Mn[cn++],mi[Qr++]=Ur>>>0&255,rn&&(mi[Qr++]=Ur>>>16&255,Ur=Mn[cn++],mi[Qr++]=Ur>>>0&255),xn[gi++]=Ur>>>16&255;Ar=8}jt!==qe.image_compression.NONE&&Se()?(ir=Me(mi,sr.width*sr.colors,sr.colors,jt),Nn=Me(xn,sr.width,1,jt)):(ir=mi,Nn=xn,Vn=void 0)}if(sr.colorType===3&&(Sr=this.color_spaces.INDEXED,Wn=sr.palette,sr.transparency.indexed)){var Bn=sr.transparency.indexed,di=0;for(cn=0,Gn=Bn.length;cn<Gn;++cn)di+=Bn[cn];if((di/=255)===Gn-1&&Bn.indexOf(0)!==-1)ln=[Bn.indexOf(0)];else if(di!==Gn){for(Mn=sr.decodePixels(),xn=new Uint8Array(Mn.length),cn=0,Gn=Mn.length;cn<Gn;cn++)xn[cn]=Bn[Mn[cn]];Nn=Me(xn,sr.width,1)}}var qr=function(xr){var nn;switch(xr){case qe.image_compression.FAST:nn=11;break;case qe.image_compression.MEDIUM:nn=13;break;case qe.image_compression.SLOW:nn=14;break;default:nn=12}return nn}(jt);return Vn===this.decode.FLATE_DECODE&&(Hn="/Predictor "+qr+" "),Hn+="/Colors "+_n+" /BitsPerComponent "+Ar+" /Columns "+sr.width,(this.__addimage__.isArrayBuffer(ir)||this.__addimage__.isArrayBufferView(ir))&&(ir=this.__addimage__.arrayBufferToBinaryString(ir)),(Nn&&this.__addimage__.isArrayBuffer(Nn)||this.__addimage__.isArrayBufferView(Nn))&&(Nn=this.__addimage__.arrayBufferToBinaryString(Nn)),{alias:gr,data:ir,index:_t,filter:Vn,decodeParameters:Hn,transparency:ln,palette:Wn,sMask:Nn,predictor:qr,width:sr.width,height:sr.height,bitsPerComponent:Ar,colorSpace:Sr}}}}(j.API),function(qe){qe.processGIF89A=function(Se,Me,Be,Qe){var Ve=new st(Se),Ye=Ve.width,pt=Ve.height,ht=[];Ve.decodeAndBlitFrameRGBA(0,ht);var Vt={data:ht,width:Ye,height:pt},dr=new $t(100).encode(Vt,100);return qe.processJPEG.call(this,dr,Me,Be,Qe)},qe.processGIF87A=qe.processGIF89A}(j.API),Nr.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 qe=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(qe);for(var Se=0;Se<qe;Se++){var Me=this.datav.getUint8(this.pos++,!0),Be=this.datav.getUint8(this.pos++,!0),Qe=this.datav.getUint8(this.pos++,!0),Ve=this.datav.getUint8(this.pos++,!0);this.palette[Se]={red:Qe,green:Be,blue:Me,quad:Ve}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Nr.prototype.parseBGR=function(){this.pos=this.offset;try{var qe="bit"+this.bitPP,Se=this.width*this.height*4;this.data=new Uint8Array(Se),this[qe]()}catch(Me){c.log("bit decode error:"+Me)}},Nr.prototype.bit1=function(){var qe,Se=Math.ceil(this.width/8),Me=Se%4;for(qe=this.height-1;qe>=0;qe--){for(var Be=this.bottom_up?qe:this.height-1-qe,Qe=0;Qe<Se;Qe++)for(var Ve=this.datav.getUint8(this.pos++,!0),Ye=Be*this.width*4+8*Qe*4,pt=0;pt<8&&8*Qe+pt<this.width;pt++){var ht=this.palette[Ve>>7-pt&1];this.data[Ye+4*pt]=ht.blue,this.data[Ye+4*pt+1]=ht.green,this.data[Ye+4*pt+2]=ht.red,this.data[Ye+4*pt+3]=255}Me!==0&&(this.pos+=4-Me)}},Nr.prototype.bit4=function(){for(var qe=Math.ceil(this.width/2),Se=qe%4,Me=this.height-1;Me>=0;Me--){for(var Be=this.bottom_up?Me:this.height-1-Me,Qe=0;Qe<qe;Qe++){var Ve=this.datav.getUint8(this.pos++,!0),Ye=Be*this.width*4+2*Qe*4,pt=Ve>>4,ht=15&Ve,Vt=this.palette[pt];if(this.data[Ye]=Vt.blue,this.data[Ye+1]=Vt.green,this.data[Ye+2]=Vt.red,this.data[Ye+3]=255,2*Qe+1>=this.width)break;Vt=this.palette[ht],this.data[Ye+4]=Vt.blue,this.data[Ye+4+1]=Vt.green,this.data[Ye+4+2]=Vt.red,this.data[Ye+4+3]=255}Se!==0&&(this.pos+=4-Se)}},Nr.prototype.bit8=function(){for(var qe=this.width%4,Se=this.height-1;Se>=0;Se--){for(var Me=this.bottom_up?Se:this.height-1-Se,Be=0;Be<this.width;Be++){var Qe=this.datav.getUint8(this.pos++,!0),Ve=Me*this.width*4+4*Be;if(Qe<this.palette.length){var Ye=this.palette[Qe];this.data[Ve]=Ye.red,this.data[Ve+1]=Ye.green,this.data[Ve+2]=Ye.blue,this.data[Ve+3]=255}else this.data[Ve]=255,this.data[Ve+1]=255,this.data[Ve+2]=255,this.data[Ve+3]=255}qe!==0&&(this.pos+=4-qe)}},Nr.prototype.bit15=function(){for(var qe=this.width%3,Se=parseInt("11111",2),Me=this.height-1;Me>=0;Me--){for(var Be=this.bottom_up?Me:this.height-1-Me,Qe=0;Qe<this.width;Qe++){var Ve=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ye=(Ve&Se)/Se*255|0,pt=(Ve>>5&Se)/Se*255|0,ht=(Ve>>10&Se)/Se*255|0,Vt=Ve>>15?255:0,dr=Be*this.width*4+4*Qe;this.data[dr]=ht,this.data[dr+1]=pt,this.data[dr+2]=Ye,this.data[dr+3]=Vt}this.pos+=qe}},Nr.prototype.bit16=function(){for(var qe=this.width%3,Se=parseInt("11111",2),Me=parseInt("111111",2),Be=this.height-1;Be>=0;Be--){for(var Qe=this.bottom_up?Be:this.height-1-Be,Ve=0;Ve<this.width;Ve++){var Ye=this.datav.getUint16(this.pos,!0);this.pos+=2;var pt=(Ye&Se)/Se*255|0,ht=(Ye>>5&Me)/Me*255|0,Vt=(Ye>>11)/Se*255|0,dr=Qe*this.width*4+4*Ve;this.data[dr]=Vt,this.data[dr+1]=ht,this.data[dr+2]=pt,this.data[dr+3]=255}this.pos+=qe}},Nr.prototype.bit24=function(){for(var qe=this.height-1;qe>=0;qe--){for(var Se=this.bottom_up?qe:this.height-1-qe,Me=0;Me<this.width;Me++){var Be=this.datav.getUint8(this.pos++,!0),Qe=this.datav.getUint8(this.pos++,!0),Ve=this.datav.getUint8(this.pos++,!0),Ye=Se*this.width*4+4*Me;this.data[Ye]=Ve,this.data[Ye+1]=Qe,this.data[Ye+2]=Be,this.data[Ye+3]=255}this.pos+=this.width%4}},Nr.prototype.bit32=function(){for(var qe=this.height-1;qe>=0;qe--)for(var Se=this.bottom_up?qe:this.height-1-qe,Me=0;Me<this.width;Me++){var Be=this.datav.getUint8(this.pos++,!0),Qe=this.datav.getUint8(this.pos++,!0),Ve=this.datav.getUint8(this.pos++,!0),Ye=this.datav.getUint8(this.pos++,!0),pt=Se*this.width*4+4*Me;this.data[pt]=Ve,this.data[pt+1]=Qe,this.data[pt+2]=Be,this.data[pt+3]=Ye}},Nr.prototype.getData=function(){return this.data},function(qe){qe.processBMP=function(Se,Me,Be,Qe){var Ve=new Nr(Se,!1),Ye=Ve.width,pt=Ve.height,ht={data:Ve.getData(),width:Ye,height:pt},Vt=new $t(100).encode(ht,100);return qe.processJPEG.call(this,Vt,Me,Be,Qe)}}(j.API),yn.prototype.getData=function(){return this.data},function(qe){qe.processWEBP=function(Se,Me,Be,Qe){var Ve=new yn(Se,!1),Ye=Ve.width,pt=Ve.height,ht={data:Ve.getData(),width:Ye,height:pt},Vt=new $t(100).encode(ht,100);return qe.processJPEG.call(this,Vt,Me,Be,Qe)}}(j.API),j.API.processRGBA=function(qe,Se,Me){for(var Be=qe.data,Qe=Be.length,Ve=new Uint8Array(Qe/4*3),Ye=new Uint8Array(Qe/4),pt=0,ht=0,Vt=0;Vt<Qe;Vt+=4){var dr=Be[Vt],tr=Be[Vt+1],ir=Be[Vt+2],_t=Be[Vt+3];Ve[pt++]=dr,Ve[pt++]=tr,Ve[pt++]=ir,Ye[ht++]=_t}var gr=this.__addimage__.arrayBufferToBinaryString(Ve);return{alpha:this.__addimage__.arrayBufferToBinaryString(Ye),data:gr,index:Se,alias:Me,colorSpace:"DeviceRGB",bitsPerComponent:8,width:qe.width,height:qe.height}},j.API.setLanguage=function(qe){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[qe]!==void 0&&(this.internal.languageSettings.languageCode=qe,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},fr=j.API,vt=fr.getCharWidthsArray=function(qe,Se){var Me,Be,Qe=(Se=Se||{}).font||this.internal.getFont(),Ve=Se.fontSize||this.internal.getFontSize(),Ye=Se.charSpace||this.internal.getCharSpace(),pt=Se.widths?Se.widths:Qe.metadata.Unicode.widths,ht=pt.fof?pt.fof:1,Vt=Se.kerning?Se.kerning:Qe.metadata.Unicode.kerning,dr=Vt.fof?Vt.fof:1,tr=Se.doKerning!==!1,ir=0,_t=qe.length,gr=0,jt=pt[0]||ht,Sr=[];for(Me=0;Me<_t;Me++)Be=qe.charCodeAt(Me),typeof Qe.metadata.widthOfString=="function"?Sr.push((Qe.metadata.widthOfGlyph(Qe.metadata.characterToGlyph(Be))+Ye*(1e3/Ve)||0)/1e3):(ir=tr&&A()(Vt[Be])==="object"&&!isNaN(parseInt(Vt[Be][gr],10))?Vt[Be][gr]/dr:0,Sr.push((pt[Be]||jt)/ht+ir)),gr=Be;return Sr},ft=fr.getStringUnitWidth=function(qe,Se){var Me=(Se=Se||{}).fontSize||this.internal.getFontSize(),Be=Se.font||this.internal.getFont(),Qe=Se.charSpace||this.internal.getCharSpace();return fr.processArabic&&(qe=fr.processArabic(qe)),typeof Be.metadata.widthOfString=="function"?Be.metadata.widthOfString(qe,Me,Qe)/Me:vt.apply(this,arguments).reduce(function(Ve,Ye){return Ve+Ye},0)},Te=function(Se,Me,Be,Qe){for(var Ve=[],Ye=0,pt=Se.length,ht=0;Ye!==pt&&ht+Me[Ye]<Be;)ht+=Me[Ye],Ye++;Ve.push(Se.slice(0,Ye));var Vt=Ye;for(ht=0;Ye!==pt;)ht+Me[Ye]>Qe&&(Ve.push(Se.slice(Vt,Ye)),ht=0,Vt=Ye),ht+=Me[Ye],Ye++;return Vt!==Ye&&Ve.push(Se.slice(Vt,Ye)),Ve},Pe=function(Se,Me,Be){Be||(Be={});var Qe,Ve,Ye,pt,ht,Vt,dr,tr=[],ir=[tr],_t=Be.textIndent||0,gr=0,jt=0,Sr=Se.split(" "),Ar=vt.apply(this,[" ",Be])[0];if(Vt=Be.lineIndent===-1?Sr[0].length+2:Be.lineIndent||0){var sr=Array(Vt).join(" "),ln=[];Sr.map(function(Wn){(Wn=Wn.split(/\s*\n/)).length>1?ln=ln.concat(Wn.map(function(Nn,Mn){return(Mn&&Nn.length?`
|
|
|
`:"")+Nn})):ln.push(Wn[0])}),Sr=ln,Vt=ft.apply(this,[sr,Be])}for(Ye=0,pt=Sr.length;Ye<pt;Ye++){var _n=0;if(Qe=Sr[Ye],Vt&&Qe[0]==`
|
|
|
`&&(Qe=Qe.substr(1),_n=1),_t+gr+(jt=(Ve=vt.apply(this,[Qe,Be])).reduce(function(Wn,Nn){return Wn+Nn},0))>Me||_n){if(jt>Me){for(ht=Te.apply(this,[Qe,Ve,Me-(_t+gr),Me]),tr.push(ht.shift()),tr=[ht.pop()];ht.length;)ir.push([ht.shift()]);jt=Ve.slice(Qe.length-(tr[0]?tr[0].length:0)).reduce(function(Wn,Nn){return Wn+Nn},0)}else tr=[Qe];ir.push(tr),_t=jt+Vt,gr=Ar}else tr.push(Qe),_t+=gr+jt,gr=Ar}return dr=Vt?function(Wn,Nn){return(Nn?sr:"")+Wn.join(" ")}:function(Wn){return Wn.join(" ")},ir.map(dr)},fr.splitTextToSize=function(qe,Se,Me){var Be,Qe=(Me=Me||{}).fontSize||this.internal.getFontSize(),Ve=function(dr){if(dr.widths&&dr.kerning)return{widths:dr.widths,kerning:dr.kerning};var tr=this.internal.getFont(dr.fontName,dr.fontStyle);return tr.metadata.Unicode?{widths:tr.metadata.Unicode.widths||{0:1},kerning:tr.metadata.Unicode.kerning||{}}:{font:tr.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Me);Be=Array.isArray(qe)?qe:String(qe).split(/\r?\n/);var Ye=1*this.internal.scaleFactor*Se/Qe;Ve.textIndent=Me.textIndent?1*Me.textIndent*this.internal.scaleFactor/Qe:0,Ve.lineIndent=Me.lineIndent;var pt,ht,Vt=[];for(pt=0,ht=Be.length;pt<ht;pt++)Vt=Vt.concat(Pe.apply(this,[Be[pt],Ye,Ve]));return Vt},function(qe){qe.__fontmetrics__=qe.__fontmetrics__||{};for(var Se="klmnopqrstuvwxyz",Me={},Be={},Qe=0;Qe<Se.length;Qe++)Me[Se[Qe]]="0123456789abcdef"[Qe],Be["0123456789abcdef"[Qe]]=Se[Qe];var Ve=function(ir){return"0x"+parseInt(ir,10).toString(16)},Ye=qe.__fontmetrics__.compress=function(tr){var ir,_t,gr,jt,Sr=["{"];for(var Ar in tr){if(ir=tr[Ar],isNaN(parseInt(Ar,10))?_t="'"+Ar+"'":(Ar=parseInt(Ar,10),_t=(_t=Ve(Ar).slice(2)).slice(0,-1)+Be[_t.slice(-1)]),typeof ir=="number")ir<0?(gr=Ve(ir).slice(3),jt="-"):(gr=Ve(ir).slice(2),jt=""),gr=jt+gr.slice(0,-1)+Be[gr.slice(-1)];else{if(A()(ir)!=="object")throw new Error("Don't know what to do with value type "+A()(ir)+".");gr=Ye(ir)}Sr.push(_t+gr)}return Sr.push("}"),Sr.join("")},pt=qe.__fontmetrics__.uncompress=function(tr){if(typeof tr!="string")throw new Error("Invalid argument passed to uncompress.");for(var ir,_t,gr,jt,Sr={},Ar=1,sr=Sr,ln=[],_n="",Wn="",Nn=tr.length-1,Mn=1;Mn<Nn;Mn+=1)(jt=tr[Mn])=="'"?ir?(gr=ir.join(""),ir=void 0):ir=[]:ir?ir.push(jt):jt=="{"?(ln.push([sr,gr]),sr={},gr=void 0):jt=="}"?((_t=ln.pop())[0][_t[1]]=sr,gr=void 0,sr=_t[0]):jt=="-"?Ar=-1:gr===void 0?Me.hasOwnProperty(jt)?(_n+=Me[jt],gr=parseInt(_n,16)*Ar,Ar=1,_n=""):_n+=jt:Me.hasOwnProperty(jt)?(Wn+=Me[jt],sr[gr]=parseInt(Wn,16)*Ar,Ar=1,gr=void 0,Wn=""):Wn+=jt;return Sr},ht={codePages:["WinAnsiEncoding"],WinAnsiEncoding:pt("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Vt={Unicode:{Courier:ht,"Courier-Bold":ht,"Courier-BoldOblique":ht,"Courier-Oblique":ht,Helvetica:ht,"Helvetica-Bold":ht,"Helvetica-BoldOblique":ht,"Helvetica-Oblique":ht,"Times-Roman":ht,"Times-Bold":ht,"Times-BoldItalic":ht,"Times-Italic":ht}},dr={Unicode:{"Courier-Oblique":pt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":pt("{'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":pt("{'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:pt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":pt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":pt("{'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:pt("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:pt("{'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":pt("{'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:pt("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":pt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":pt("{'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":pt("{'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":pt("{'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}}}")}};qe.events.push(["addFont",function(tr){var ir=tr.font,_t=dr.Unicode[ir.postScriptName];_t&&(ir.metadata.Unicode={},ir.metadata.Unicode.widths=_t.widths,ir.metadata.Unicode.kerning=_t.kerning);var gr=Vt.Unicode[ir.postScriptName];gr&&(ir.metadata.Unicode.encoding=gr,ir.encoding=gr.codePages[0])}])}(j.API),function(qe){var Se=function(Be){for(var Qe=Be.length,Ve=new Uint8Array(Qe),Ye=0;Ye<Qe;Ye++)Ve[Ye]=Be.charCodeAt(Ye);return Ve};qe.API.events.push(["addFont",function(Me){var Be=void 0,Qe=Me.font,Ve=Me.instance;if(!Qe.isStandardFont){if(Ve===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+Qe.postScriptName+"').");if(typeof(Be=Ve.existsFileInVFS(Qe.postScriptName)===!1?Ve.loadFile(Qe.postScriptName):Ve.getFileFromVFS(Qe.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+Qe.postScriptName+"').");!function(Ye,pt){pt=/^\x00\x01\x00\x00/.test(pt)?Se(pt):Se(n(pt)),Ye.metadata=qe.API.TTFFont.open(pt),Ye.metadata.Unicode=Ye.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Ye.metadata.glyIdsUsed=[0]}(Qe,Be)}}])}(j),function(qe){function Se(){return(g.canvg?Promise.resolve(g.canvg):o.e(206).then(o.bind(null,"DXPr"))).catch(function(Me){return Promise.reject(new Error("Could not load canvg: "+Me))}).then(function(Me){return Me.default?Me.default:Me})}j.API.addSvgAsImage=function(Me,Be,Qe,Ve,Ye,pt,ht,Vt){if(isNaN(Be)||isNaN(Qe))throw c.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(Ve)||isNaN(Ye))throw c.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var dr=document.createElement("canvas");dr.width=Ve,dr.height=Ye;var tr=dr.getContext("2d");tr.fillStyle="#fff",tr.fillRect(0,0,dr.width,dr.height);var ir={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},_t=this;return Se().then(function(gr){return gr.fromString(tr,Me,ir)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(gr){return gr.render(ir)}).then(function(){_t.addImage(dr.toDataURL("image/jpeg",1),Be,Qe,Ve,Ye,ht,Vt)})}}(),j.API.putTotalPages=function(qe){var Se,Me=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(Se=new RegExp(qe,"g"),Me=this.internal.getNumberOfPages()):(Se=new RegExp(this.pdfEscape16(qe,this.internal.getFont()),"g"),Me=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var Be=1;Be<=this.internal.getNumberOfPages();Be++)for(var Qe=0;Qe<this.internal.pages[Be].length;Qe++)this.internal.pages[Be][Qe]=this.internal.pages[Be][Qe].replace(Se,Me);return this},j.API.viewerPreferences=function(qe,Se){var Me;qe=qe||{},Se=Se||!1;var Be,Qe,Ve,Ye={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}},pt=Object.keys(Ye),ht=[],Vt=0,dr=0,tr=0;function ir(gr,jt){var Sr,Ar=!1;for(Sr=0;Sr<gr.length;Sr+=1)gr[Sr]===jt&&(Ar=!0);return Ar}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Ye)),this.internal.viewerpreferences.isSubscribed=!1),Me=this.internal.viewerpreferences.configuration,qe==="reset"||Se===!0){var _t=pt.length;for(tr=0;tr<_t;tr+=1)Me[pt[tr]].value=Me[pt[tr]].defaultValue,Me[pt[tr]].explicitSet=!1}if(A()(qe)==="object"){for(Qe in qe)if(Ve=qe[Qe],ir(pt,Qe)&&Ve!==void 0){if(Me[Qe].type==="boolean"&&typeof Ve=="boolean")Me[Qe].value=Ve;else if(Me[Qe].type==="name"&&ir(Me[Qe].valueSet,Ve))Me[Qe].value=Ve;else if(Me[Qe].type==="integer"&&Number.isInteger(Ve))Me[Qe].value=Ve;else if(Me[Qe].type==="array"){for(Vt=0;Vt<Ve.length;Vt+=1)if(Be=!0,Ve[Vt].length===1&&typeof Ve[Vt][0]=="number")ht.push(String(Ve[Vt]-1));else if(Ve[Vt].length>1){for(dr=0;dr<Ve[Vt].length;dr+=1)typeof Ve[Vt][dr]!="number"&&(Be=!1);Be===!0&&ht.push([Ve[Vt][0]-1,Ve[Vt][1]-1].join(" "))}Me[Qe].value="["+ht.join(" ")+"]"}else Me[Qe].value=Me[Qe].defaultValue;Me[Qe].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var gr,jt=[];for(gr in Me)Me[gr].explicitSet===!0&&(Me[gr].type==="name"?jt.push("/"+gr+" /"+Me[gr].value):jt.push("/"+gr+" "+Me[gr].value));jt.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+jt.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Me,this},function(qe){var Se=function(){var Qe='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',Ve=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Ye=unescape(encodeURIComponent(Qe)),pt=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),ht=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Vt=unescape(encodeURIComponent("</x:xmpmeta>")),dr=Ye.length+pt.length+ht.length+Ve.length+Vt.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+dr+" >>"),this.internal.write("stream"),this.internal.write(Ve+Ye+pt+ht+Vt),this.internal.write("endstream"),this.internal.write("endobj")},Me=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};qe.addMetadata=function(Be,Qe){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:Be,namespaceuri:Qe||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",Me),this.internal.events.subscribe("postPutResources",Se)),this}}(j.API),function(qe){var Se=qe.API,Me=Se.pdfEscape16=function(Ve,Ye){for(var pt,ht=Ye.metadata.Unicode.widths,Vt=["","0","00","000","0000"],dr=[""],tr=0,ir=Ve.length;tr<ir;++tr){if(pt=Ye.metadata.characterToGlyph(Ve.charCodeAt(tr)),Ye.metadata.glyIdsUsed.push(pt),Ye.metadata.toUnicode[pt]=Ve.charCodeAt(tr),ht.indexOf(pt)==-1&&(ht.push(pt),ht.push([parseInt(Ye.metadata.widthOfGlyph(pt),10)])),pt=="0")return dr.join("");pt=pt.toString(16),dr.push(Vt[4-pt.length],pt)}return dr.join("")},Be=function(Ye){var pt,ht,Vt,dr,tr,ir,_t;for(tr=`/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`,Vt=[],ir=0,_t=(ht=Object.keys(Ye).sort(function(gr,jt){return gr-jt})).length;ir<_t;ir++)pt=ht[ir],Vt.length>=100&&(tr+=`
|
|
|
`+Vt.length+` beginbfchar
|
|
|
`+Vt.join(`
|
|
|
`)+`
|
|
|
endbfchar`,Vt=[]),Ye[pt]!==void 0&&Ye[pt]!==null&&typeof Ye[pt].toString=="function"&&(dr=("0000"+Ye[pt].toString(16)).slice(-4),pt=("0000"+(+pt).toString(16)).slice(-4),Vt.push("<"+pt+"><"+dr+">"));return Vt.length&&(tr+=`
|
|
|
`+Vt.length+` beginbfchar
|
|
|
`+Vt.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),tr+=`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};Se.events.push(["putFont",function(Ve){!function(Ye){var pt=Ye.font,ht=Ye.out,Vt=Ye.newObject,dr=Ye.putStream;if(pt.metadata instanceof qe.API.TTFFont&&pt.encoding==="Identity-H"){for(var tr=pt.metadata.Unicode.widths,ir=pt.metadata.subset.encode(pt.metadata.glyIdsUsed,1),_t="",gr=0;gr<ir.length;gr++)_t+=String.fromCharCode(ir[gr]);var jt=Vt();dr({data:_t,addLength1:!0,objectId:jt}),ht("endobj");var Sr=Vt();dr({data:Be(pt.metadata.toUnicode),addLength1:!0,objectId:Sr}),ht("endobj");var Ar=Vt();ht("<<"),ht("/Type /FontDescriptor"),ht("/FontName /"+F(pt.fontName)),ht("/FontFile2 "+jt+" 0 R"),ht("/FontBBox "+qe.API.PDFObject.convert(pt.metadata.bbox)),ht("/Flags "+pt.metadata.flags),ht("/StemV "+pt.metadata.stemV),ht("/ItalicAngle "+pt.metadata.italicAngle),ht("/Ascent "+pt.metadata.ascender),ht("/Descent "+pt.metadata.decender),ht("/CapHeight "+pt.metadata.capHeight),ht(">>"),ht("endobj");var sr=Vt();ht("<<"),ht("/Type /Font"),ht("/BaseFont /"+F(pt.fontName)),ht("/FontDescriptor "+Ar+" 0 R"),ht("/W "+qe.API.PDFObject.convert(tr)),ht("/CIDToGIDMap /Identity"),ht("/DW 1000"),ht("/Subtype /CIDFontType2"),ht("/CIDSystemInfo"),ht("<<"),ht("/Supplement 0"),ht("/Registry (Adobe)"),ht("/Ordering ("+pt.encoding+")"),ht(">>"),ht(">>"),ht("endobj"),pt.objectNumber=Vt(),ht("<<"),ht("/Type /Font"),ht("/Subtype /Type0"),ht("/ToUnicode "+Sr+" 0 R"),ht("/BaseFont /"+F(pt.fontName)),ht("/Encoding /"+pt.encoding),ht("/DescendantFonts ["+sr+" 0 R]"),ht(">>"),ht("endobj"),pt.isAlreadyPutted=!0}}(Ve)}]),Se.events.push(["putFont",function(Ve){!function(Ye){var pt=Ye.font,ht=Ye.out,Vt=Ye.newObject,dr=Ye.putStream;if(pt.metadata instanceof qe.API.TTFFont&&pt.encoding==="WinAnsiEncoding"){for(var tr=pt.metadata.rawData,ir="",_t=0;_t<tr.length;_t++)ir+=String.fromCharCode(tr[_t]);var gr=Vt();dr({data:ir,addLength1:!0,objectId:gr}),ht("endobj");var jt=Vt();dr({data:Be(pt.metadata.toUnicode),addLength1:!0,objectId:jt}),ht("endobj");var Sr=Vt();ht("<<"),ht("/Descent "+pt.metadata.decender),ht("/CapHeight "+pt.metadata.capHeight),ht("/StemV "+pt.metadata.stemV),ht("/Type /FontDescriptor"),ht("/FontFile2 "+gr+" 0 R"),ht("/Flags 96"),ht("/FontBBox "+qe.API.PDFObject.convert(pt.metadata.bbox)),ht("/FontName /"+F(pt.fontName)),ht("/ItalicAngle "+pt.metadata.italicAngle),ht("/Ascent "+pt.metadata.ascender),ht(">>"),ht("endobj"),pt.objectNumber=Vt();for(var Ar=0;Ar<pt.metadata.hmtx.widths.length;Ar++)pt.metadata.hmtx.widths[Ar]=parseInt(pt.metadata.hmtx.widths[Ar]*(1e3/pt.metadata.head.unitsPerEm));ht("<</Subtype/TrueType/Type/Font/ToUnicode "+jt+" 0 R/BaseFont/"+F(pt.fontName)+"/FontDescriptor "+Sr+" 0 R/Encoding/"+pt.encoding+" /FirstChar 29 /LastChar 255 /Widths "+qe.API.PDFObject.convert(pt.metadata.hmtx.widths)+">>"),ht("endobj"),pt.isAlreadyPutted=!0}}(Ve)}]);var Qe=function(Ye){var pt,ht=Ye.text||"",Vt=Ye.x,dr=Ye.y,tr=Ye.options||{},ir=Ye.mutex||{},_t=ir.pdfEscape,gr=ir.activeFontKey,jt=ir.fonts,Sr=gr,Ar="",sr=0,ln="",_n=jt[Sr].encoding;if(jt[Sr].encoding!=="Identity-H")return{text:ht,x:Vt,y:dr,options:tr,mutex:ir};for(ln=ht,Sr=gr,Array.isArray(ht)&&(ln=ht[0]),sr=0;sr<ln.length;sr+=1)jt[Sr].metadata.hasOwnProperty("cmap")&&(pt=jt[Sr].metadata.cmap.unicode.codeMap[ln[sr].charCodeAt(0)]),pt||ln[sr].charCodeAt(0)<256&&jt[Sr].metadata.hasOwnProperty("Unicode")?Ar+=ln[sr]:Ar+="";var Wn="";return parseInt(Sr.slice(1))<14||_n==="WinAnsiEncoding"?Wn=_t(Ar,Sr).split("").map(function(Nn){return Nn.charCodeAt(0).toString(16)}).join(""):_n==="Identity-H"&&(Wn=Me(Ar,jt[Sr])),ir.isHex=!0,{text:Wn,x:Vt,y:dr,options:tr,mutex:ir}};Se.events.push(["postProcessText",function(Ve){var Ye=Ve.text||"",pt=[],ht={text:Ye,x:Ve.x,y:Ve.y,options:Ve.options,mutex:Ve.mutex};if(Array.isArray(Ye)){var Vt=0;for(Vt=0;Vt<Ye.length;Vt+=1)Array.isArray(Ye[Vt])&&Ye[Vt].length===3?pt.push([Qe(Object.assign({},ht,{text:Ye[Vt][0]})).text,Ye[Vt][1],Ye[Vt][2]]):pt.push(Qe(Object.assign({},ht,{text:Ye[Vt]})).text);Ve.text=pt}else Ve.text=Qe(Object.assign({},ht,{text:Ye})).text}])}(j),function(qe){var Se=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};qe.existsFileInVFS=function(Me){return Se.call(this),this.internal.vFS[Me]!==void 0},qe.addFileToVFS=function(Me,Be){return Se.call(this),this.internal.vFS[Me]=Be,this},qe.getFileFromVFS=function(Me){return Se.call(this),this.internal.vFS[Me]!==void 0?this.internal.vFS[Me]:null}}(j.API),function(qe){qe.__bidiEngine__=qe.prototype.__bidiEngine__=function(Be){var Qe,Ve,Ye,pt,ht,Vt,dr,tr=Se,ir=[[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]],_t=[[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]],gr={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},jt={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Sr=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],Ar=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),sr=!1,ln=0;this.__bidiEngine__={};var _n=function(Ur){var cn=Ur.charCodeAt(),Qr=cn>>8,Vn=jt[Qr];return Vn!==void 0?tr[256*Vn+(255&cn)]:Qr===252||Qr===253?"AL":Ar.test(Qr)?"L":Qr===8?"R":"N"},Wn=function(Ur){for(var cn,Qr=0;Qr<Ur.length;Qr++){if((cn=_n(Ur.charAt(Qr)))==="L")return!1;if(cn==="R")return!0}return!1},Nn=function(Ur,cn,Qr,Vn){var Hn,li,Un,gi,Bn=cn[Vn];switch(Bn){case"L":case"R":sr=!1;break;case"N":case"AN":break;case"EN":sr&&(Bn="AN");break;case"AL":sr=!0,Bn="R";break;case"WS":Bn="N";break;case"CS":Vn<1||Vn+1>=cn.length||(Hn=Qr[Vn-1])!=="EN"&&Hn!=="AN"||(li=cn[Vn+1])!=="EN"&&li!=="AN"?Bn="N":sr&&(li="AN"),Bn=li===Hn?li:"N";break;case"ES":Bn=(Hn=Vn>0?Qr[Vn-1]:"B")==="EN"&&Vn+1<cn.length&&cn[Vn+1]==="EN"?"EN":"N";break;case"ET":if(Vn>0&&Qr[Vn-1]==="EN"){Bn="EN";break}if(sr){Bn="N";break}for(Un=Vn+1,gi=cn.length;Un<gi&&cn[Un]==="ET";)Un++;Bn=Un<gi&&cn[Un]==="EN"?"EN":"N";break;case"NSM":if(Ye&&!pt){for(gi=cn.length,Un=Vn+1;Un<gi&&cn[Un]==="NSM";)Un++;if(Un<gi){var di=Ur[Vn],qr=di>=1425&&di<=2303||di===64286;if(Hn=cn[Un],qr&&(Hn==="R"||Hn==="AL")){Bn="R";break}}}Bn=Vn<1||(Hn=cn[Vn-1])==="B"?"N":Qr[Vn-1];break;case"B":sr=!1,Qe=!0,Bn=ln;break;case"S":Ve=!0,Bn="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":sr=!1;break;case"BN":Bn="N"}return Bn},Mn=function(Ur,cn,Qr){var Vn=Ur.split("");return Qr&&Gn(Vn,Qr,{hiLevel:ln}),Vn.reverse(),cn&&cn.reverse(),Vn.join("")},Gn=function(Ur,cn,Qr){var Vn,Hn,li,Un,gi,Bn=-1,di=Ur.length,qr=0,xr=[],nn=ln?_t:ir,gn=[];for(sr=!1,Qe=!1,Ve=!1,Hn=0;Hn<di;Hn++)gn[Hn]=_n(Ur[Hn]);for(li=0;li<di;li++){if(gi=qr,xr[li]=Nn(Ur,gn,xr,li),Vn=240&(qr=nn[gi][gr[xr[li]]]),qr&=15,cn[li]=Un=nn[qr][5],Vn>0)if(Vn===16){for(Hn=Bn;Hn<li;Hn++)cn[Hn]=1;Bn=-1}else Bn=-1;if(nn[qr][6])Bn===-1&&(Bn=li);else if(Bn>-1){for(Hn=Bn;Hn<li;Hn++)cn[Hn]=Un;Bn=-1}gn[li]==="B"&&(cn[li]=0),Qr.hiLevel|=Un}Ve&&function(On,Fn,zn){for(var $n=0;$n<zn;$n++)if(On[$n]==="S"){Fn[$n]=ln;for(var Zn=$n-1;Zn>=0&&On[Zn]==="WS";Zn--)Fn[Zn]=ln}}(gn,cn,di)},xn=function(Ur,cn,Qr,Vn,Hn){if(!(Hn.hiLevel<Ur)){if(Ur===1&&ln===1&&!Qe)return cn.reverse(),void(Qr&&Qr.reverse());for(var li,Un,gi,Bn,di=cn.length,qr=0;qr<di;){if(Vn[qr]>=Ur){for(gi=qr+1;gi<di&&Vn[gi]>=Ur;)gi++;for(Bn=qr,Un=gi-1;Bn<Un;Bn++,Un--)li=cn[Bn],cn[Bn]=cn[Un],cn[Un]=li,Qr&&(li=Qr[Bn],Qr[Bn]=Qr[Un],Qr[Un]=li);qr=gi}qr++}}},mi=function(Ur,cn,Qr){var Vn=Ur.split(""),Hn={hiLevel:ln};return Qr||(Qr=[]),Gn(Vn,Qr,Hn),function(li,Un,gi){if(gi.hiLevel!==0&&dr)for(var Bn,di=0;di<li.length;di++)Un[di]===1&&(Bn=Sr.indexOf(li[di]))>=0&&(li[di]=Sr[Bn+1])}(Vn,Qr,Hn),xn(2,Vn,cn,Qr,Hn),xn(1,Vn,cn,Qr,Hn),Vn.join("")};return this.__bidiEngine__.doBidiReorder=function(rn,Ur,cn){if(function(Vn,Hn){if(Hn)for(var li=0;li<Vn.length;li++)Hn[li]=li;pt===void 0&&(pt=Wn(Vn)),Vt===void 0&&(Vt=Wn(Vn))}(rn,Ur),Ye||!ht||Vt)if(Ye&&ht&&pt^Vt)ln=pt?1:0,rn=Mn(rn,Ur,cn);else if(!Ye&&ht&&Vt)ln=pt?1:0,rn=mi(rn,Ur,cn),rn=Mn(rn,Ur);else if(!Ye||pt||ht||Vt){if(Ye&&!ht&&pt^Vt)rn=Mn(rn,Ur),pt?(ln=0,rn=mi(rn,Ur,cn)):(ln=1,rn=mi(rn,Ur,cn),rn=Mn(rn,Ur));else if(Ye&&pt&&!ht&&Vt)ln=1,rn=mi(rn,Ur,cn),rn=Mn(rn,Ur);else if(!Ye&&!ht&&pt^Vt){var Qr=dr;pt?(ln=1,rn=mi(rn,Ur,cn),ln=0,dr=!1,rn=mi(rn,Ur,cn),dr=Qr):(ln=0,rn=mi(rn,Ur,cn),rn=Mn(rn,Ur),ln=1,dr=!1,rn=mi(rn,Ur,cn),dr=Qr,rn=Mn(rn,Ur))}}else ln=0,rn=mi(rn,Ur,cn);else ln=pt?1:0,rn=mi(rn,Ur,cn);return rn},this.__bidiEngine__.setOptions=function(rn){rn&&(Ye=rn.isInputVisual,ht=rn.isOutputVisual,pt=rn.isInputRtl,Vt=rn.isOutputRtl,dr=rn.isSymmetricSwapping)},this.__bidiEngine__.setOptions(Be),this.__bidiEngine__};var Se=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],Me=new qe.__bidiEngine__({isInputVisual:!0});qe.API.events.push(["postProcessText",function(Be){var Qe=Be.text,Ve=(Be.x,Be.y,Be.options||{}),Ye=(Be.mutex,Ve.lang,[]);if(Ve.isInputVisual=typeof Ve.isInputVisual!="boolean"||Ve.isInputVisual,Me.setOptions(Ve),Object.prototype.toString.call(Qe)==="[object Array]"){var pt=0;for(Ye=[],pt=0;pt<Qe.length;pt+=1)Object.prototype.toString.call(Qe[pt])==="[object Array]"?Ye.push([Me.doBidiReorder(Qe[pt][0]),Qe[pt][1],Qe[pt][2]]):Ye.push([Me.doBidiReorder(Qe[pt])]);Be.text=Ye}else Be.text=Me.doBidiReorder(Qe);Me.setOptions({isInputVisual:!0})}])}(j),j.API.TTFFont=function(){function qe(Se){var Me;if(this.rawData=Se,Me=this.contents=new Kt(Se),this.contents.pos=4,Me.readString(4)==="ttcf")throw new Error("TTCF not supported.");Me.pos=0,this.parse(),this.subset=new ii(this),this.registerTTF()}return qe.open=function(Se){return new qe(Se)},qe.prototype.parse=function(){return this.directory=new St(this.contents),this.head=new Br(this),this.name=new Wr(this),this.cmap=new $r(this),this.toUnicode={},this.hhea=new Ft(this),this.maxp=new An(this),this.hmtx=new bn(this),this.post=new Cr(this),this.os2=new cr(this),this.loca=new ai(this),this.glyf=new kn(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]},qe.prototype.registerTTF=function(){var Se,Me,Be,Qe,Ve;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var Ye,pt,ht,Vt;for(Vt=[],Ye=0,pt=(ht=this.bbox).length;Ye<pt;Ye++)Se=ht[Ye],Vt.push(Math.round(Se*this.scaleFactor));return Vt}.call(this),this.stemV=0,this.post.exists?(Be=255&(Qe=this.post.italic_angle),(32768&(Me=Qe>>16))!=0&&(Me=-(1+(65535^Me))),this.italicAngle=+(Me+"."+Be)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(Ve=this.familyClass)===1||Ve===2||Ve===3||Ve===4||Ve===5||Ve===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")},qe.prototype.characterToGlyph=function(Se){var Me;return((Me=this.cmap.unicode)!=null?Me.codeMap[Se]:void 0)||0},qe.prototype.widthOfGlyph=function(Se){var Me;return Me=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(Se).advance*Me},qe.prototype.widthOfString=function(Se,Me,Be){var Qe,Ve,Ye,pt;for(Ye=0,Ve=0,pt=(Se=""+Se).length;0<=pt?Ve<pt:Ve>pt;Ve=0<=pt?++Ve:--Ve)Qe=Se.charCodeAt(Ve),Ye+=this.widthOfGlyph(this.characterToGlyph(Qe))+Be*(1e3/Me)||0;return Ye*(Me/1e3)},qe.prototype.lineHeight=function(Se,Me){var Be;return Me==null&&(Me=!1),Be=Me?this.lineGap:0,(this.ascender+Be-this.decender)/1e3*Se},qe}();var un,Kt=function(){function qe(Se){this.data=Se!=null?Se:[],this.pos=0,this.length=this.data.length}return qe.prototype.readByte=function(){return this.data[this.pos++]},qe.prototype.writeByte=function(Se){return this.data[this.pos++]=Se},qe.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},qe.prototype.writeUInt32=function(Se){return this.writeByte(Se>>>24&255),this.writeByte(Se>>16&255),this.writeByte(Se>>8&255),this.writeByte(255&Se)},qe.prototype.readInt32=function(){var Se;return(Se=this.readUInt32())>=2147483648?Se-4294967296:Se},qe.prototype.writeInt32=function(Se){return Se<0&&(Se+=4294967296),this.writeUInt32(Se)},qe.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},qe.prototype.writeUInt16=function(Se){return this.writeByte(Se>>8&255),this.writeByte(255&Se)},qe.prototype.readInt16=function(){var Se;return(Se=this.readUInt16())>=32768?Se-65536:Se},qe.prototype.writeInt16=function(Se){return Se<0&&(Se+=65536),this.writeUInt16(Se)},qe.prototype.readString=function(Se){var Me,Be;for(Be=[],Me=0;0<=Se?Me<Se:Me>Se;Me=0<=Se?++Me:--Me)Be[Me]=String.fromCharCode(this.readByte());return Be.join("")},qe.prototype.writeString=function(Se){var Me,Be,Qe;for(Qe=[],Me=0,Be=Se.length;0<=Be?Me<Be:Me>Be;Me=0<=Be?++Me:--Me)Qe.push(this.writeByte(Se.charCodeAt(Me)));return Qe},qe.prototype.readShort=function(){return this.readInt16()},qe.prototype.writeShort=function(Se){return this.writeInt16(Se)},qe.prototype.readLongLong=function(){var Se,Me,Be,Qe,Ve,Ye,pt,ht;return Se=this.readByte(),Me=this.readByte(),Be=this.readByte(),Qe=this.readByte(),Ve=this.readByte(),Ye=this.readByte(),pt=this.readByte(),ht=this.readByte(),128&Se?-1*(72057594037927940*(255^Se)+281474976710656*(255^Me)+1099511627776*(255^Be)+4294967296*(255^Qe)+16777216*(255^Ve)+65536*(255^Ye)+256*(255^pt)+(255^ht)+1):72057594037927940*Se+281474976710656*Me+1099511627776*Be+4294967296*Qe+16777216*Ve+65536*Ye+256*pt+ht},qe.prototype.writeLongLong=function(Se){var Me,Be;return Me=Math.floor(Se/4294967296),Be=4294967295&Se,this.writeByte(Me>>24&255),this.writeByte(Me>>16&255),this.writeByte(Me>>8&255),this.writeByte(255&Me),this.writeByte(Be>>24&255),this.writeByte(Be>>16&255),this.writeByte(Be>>8&255),this.writeByte(255&Be)},qe.prototype.readInt=function(){return this.readInt32()},qe.prototype.writeInt=function(Se){return this.writeInt32(Se)},qe.prototype.read=function(Se){var Me,Be;for(Me=[],Be=0;0<=Se?Be<Se:Be>Se;Be=0<=Se?++Be:--Be)Me.push(this.readByte());return Me},qe.prototype.write=function(Se){var Me,Be,Qe,Ve;for(Ve=[],Be=0,Qe=Se.length;Be<Qe;Be++)Me=Se[Be],Ve.push(this.writeByte(Me));return Ve},qe}(),St=function(){var qe;function Se(Me){var Be,Qe,Ve;for(this.scalarType=Me.readInt(),this.tableCount=Me.readShort(),this.searchRange=Me.readShort(),this.entrySelector=Me.readShort(),this.rangeShift=Me.readShort(),this.tables={},Qe=0,Ve=this.tableCount;0<=Ve?Qe<Ve:Qe>Ve;Qe=0<=Ve?++Qe:--Qe)Be={tag:Me.readString(4),checksum:Me.readInt(),offset:Me.readInt(),length:Me.readInt()},this.tables[Be.tag]=Be}return Se.prototype.encode=function(Me){var Be,Qe,Ve,Ye,pt,ht,Vt,dr,tr,ir,_t,gr,jt;for(jt in _t=Object.keys(Me).length,ht=Math.log(2),tr=16*Math.floor(Math.log(_t)/ht),Ye=Math.floor(tr/ht),dr=16*_t-tr,(Qe=new Kt).writeInt(this.scalarType),Qe.writeShort(_t),Qe.writeShort(tr),Qe.writeShort(Ye),Qe.writeShort(dr),Ve=16*_t,Vt=Qe.pos+Ve,pt=null,gr=[],Me)for(ir=Me[jt],Qe.writeString(jt),Qe.writeInt(qe(ir)),Qe.writeInt(Vt),Qe.writeInt(ir.length),gr=gr.concat(ir),jt==="head"&&(pt=Vt),Vt+=ir.length;Vt%4;)gr.push(0),Vt++;return Qe.write(gr),Be=2981146554-qe(Qe.data),Qe.pos=pt+8,Qe.writeUInt32(Be),Qe.data},qe=function(Be){var Qe,Ve,Ye,pt;for(Be=Sn.call(Be);Be.length%4;)Be.push(0);for(Ye=new Kt(Be),Ve=0,Qe=0,pt=Be.length;Qe<pt;Qe=Qe+=4)Ve+=Ye.readUInt32();return 4294967295&Ve},Se}(),kt={}.hasOwnProperty,Jt=function(Se,Me){for(var Be in Me)kt.call(Me,Be)&&(Se[Be]=Me[Be]);function Qe(){this.constructor=Se}return Qe.prototype=Me.prototype,Se.prototype=new Qe,Se.__super__=Me.prototype,Se};un=function(){function qe(Se){var Me;this.file=Se,Me=this.file.directory.tables[this.tag],this.exists=!!Me,Me&&(this.offset=Me.offset,this.length=Me.length,this.parse(this.file.contents))}return qe.prototype.parse=function(){},qe.prototype.encode=function(){},qe.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},qe}();var Br=function(qe){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Jt(Se,un),Se.prototype.tag="head",Se.prototype.parse=function(Me){return Me.pos=this.offset,this.version=Me.readInt(),this.revision=Me.readInt(),this.checkSumAdjustment=Me.readInt(),this.magicNumber=Me.readInt(),this.flags=Me.readShort(),this.unitsPerEm=Me.readShort(),this.created=Me.readLongLong(),this.modified=Me.readLongLong(),this.xMin=Me.readShort(),this.yMin=Me.readShort(),this.xMax=Me.readShort(),this.yMax=Me.readShort(),this.macStyle=Me.readShort(),this.lowestRecPPEM=Me.readShort(),this.fontDirectionHint=Me.readShort(),this.indexToLocFormat=Me.readShort(),this.glyphDataFormat=Me.readShort()},Se.prototype.encode=function(Me){var Be;return(Be=new Kt).writeInt(this.version),Be.writeInt(this.revision),Be.writeInt(this.checkSumAdjustment),Be.writeInt(this.magicNumber),Be.writeShort(this.flags),Be.writeShort(this.unitsPerEm),Be.writeLongLong(this.created),Be.writeLongLong(this.modified),Be.writeShort(this.xMin),Be.writeShort(this.yMin),Be.writeShort(this.xMax),Be.writeShort(this.yMax),Be.writeShort(this.macStyle),Be.writeShort(this.lowestRecPPEM),Be.writeShort(this.fontDirectionHint),Be.writeShort(Me),Be.writeShort(this.glyphDataFormat),Be.data},Se}(),Hr=function(){function qe(Se,Me){var Be,Qe,Ve,Ye,pt,ht,Vt,dr,tr,ir,_t,gr,jt,Sr,Ar,sr,ln;switch(this.platformID=Se.readUInt16(),this.encodingID=Se.readShort(),this.offset=Me+Se.readInt(),tr=Se.pos,Se.pos=this.offset,this.format=Se.readUInt16(),this.length=Se.readUInt16(),this.language=Se.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(ht=0;ht<256;++ht)this.codeMap[ht]=Se.readByte();break;case 4:for(_t=Se.readUInt16(),ir=_t/2,Se.pos+=6,Ve=function(){var _n,Wn;for(Wn=[],ht=_n=0;0<=ir?_n<ir:_n>ir;ht=0<=ir?++_n:--_n)Wn.push(Se.readUInt16());return Wn}(),Se.pos+=2,jt=function(){var _n,Wn;for(Wn=[],ht=_n=0;0<=ir?_n<ir:_n>ir;ht=0<=ir?++_n:--_n)Wn.push(Se.readUInt16());return Wn}(),Vt=function(){var _n,Wn;for(Wn=[],ht=_n=0;0<=ir?_n<ir:_n>ir;ht=0<=ir?++_n:--_n)Wn.push(Se.readUInt16());return Wn}(),dr=function(){var _n,Wn;for(Wn=[],ht=_n=0;0<=ir?_n<ir:_n>ir;ht=0<=ir?++_n:--_n)Wn.push(Se.readUInt16());return Wn}(),Qe=(this.length-Se.pos+this.offset)/2,pt=function(){var _n,Wn;for(Wn=[],ht=_n=0;0<=Qe?_n<Qe:_n>Qe;ht=0<=Qe?++_n:--_n)Wn.push(Se.readUInt16());return Wn}(),ht=Ar=0,ln=Ve.length;Ar<ln;ht=++Ar)for(Sr=Ve[ht],Be=sr=gr=jt[ht];gr<=Sr?sr<=Sr:sr>=Sr;Be=gr<=Sr?++sr:--sr)dr[ht]===0?Ye=Be+Vt[ht]:(Ye=pt[dr[ht]/2+(Be-gr)-(ir-ht)]||0)!==0&&(Ye+=Vt[ht]),this.codeMap[Be]=65535&Ye}Se.pos=tr}return qe.encode=function(Se,Me){var Be,Qe,Ve,Ye,pt,ht,Vt,dr,tr,ir,_t,gr,jt,Sr,Ar,sr,ln,_n,Wn,Nn,Mn,Gn,xn,mi,rn,Ur,cn,Qr,Vn,Hn,li,Un,gi,Bn,di,qr,xr,nn,gn,On,Fn,zn,$n,Zn,vi,Pi;switch(Qr=new Kt,Ye=Object.keys(Se).sort(function(Fi,ja){return Fi-ja}),Me){case"macroman":for(jt=0,Sr=function(){var Fi=[];for(gr=0;gr<256;++gr)Fi.push(0);return Fi}(),sr={0:0},Ve={},Vn=0,gi=Ye.length;Vn<gi;Vn++)sr[$n=Se[Qe=Ye[Vn]]]==null&&(sr[$n]=++jt),Ve[Qe]={old:Se[Qe],new:sr[Se[Qe]]},Sr[Qe]=sr[Se[Qe]];return Qr.writeUInt16(1),Qr.writeUInt16(0),Qr.writeUInt32(12),Qr.writeUInt16(0),Qr.writeUInt16(262),Qr.writeUInt16(0),Qr.write(Sr),{charMap:Ve,subtable:Qr.data,maxGlyphID:jt+1};case"unicode":for(Ur=[],tr=[],ln=0,sr={},Be={},Ar=Vt=null,Hn=0,Bn=Ye.length;Hn<Bn;Hn++)sr[Wn=Se[Qe=Ye[Hn]]]==null&&(sr[Wn]=++ln),Be[Qe]={old:Wn,new:sr[Wn]},pt=sr[Wn]-Qe,Ar!=null&&pt===Vt||(Ar&&tr.push(Ar),Ur.push(Qe),Vt=pt),Ar=Qe;for(Ar&&tr.push(Ar),tr.push(65535),Ur.push(65535),mi=2*(xn=Ur.length),Gn=2*Math.pow(Math.log(xn)/Math.LN2,2),ir=Math.log(Gn/2)/Math.LN2,Mn=2*xn-Gn,ht=[],Nn=[],_t=[],gr=li=0,di=Ur.length;li<di;gr=++li){if(rn=Ur[gr],dr=tr[gr],rn===65535){ht.push(0),Nn.push(0);break}if(rn-(cn=Be[rn].new)>=32768)for(ht.push(0),Nn.push(2*(_t.length+xn-gr)),Qe=Un=rn;rn<=dr?Un<=dr:Un>=dr;Qe=rn<=dr?++Un:--Un)_t.push(Be[Qe].new);else ht.push(cn-rn),Nn.push(0)}for(Qr.writeUInt16(3),Qr.writeUInt16(1),Qr.writeUInt32(12),Qr.writeUInt16(4),Qr.writeUInt16(16+8*xn+2*_t.length),Qr.writeUInt16(0),Qr.writeUInt16(mi),Qr.writeUInt16(Gn),Qr.writeUInt16(ir),Qr.writeUInt16(Mn),Fn=0,qr=tr.length;Fn<qr;Fn++)Qe=tr[Fn],Qr.writeUInt16(Qe);for(Qr.writeUInt16(0),zn=0,xr=Ur.length;zn<xr;zn++)Qe=Ur[zn],Qr.writeUInt16(Qe);for(Zn=0,nn=ht.length;Zn<nn;Zn++)pt=ht[Zn],Qr.writeUInt16(pt);for(vi=0,gn=Nn.length;vi<gn;vi++)_n=Nn[vi],Qr.writeUInt16(_n);for(Pi=0,On=_t.length;Pi<On;Pi++)jt=_t[Pi],Qr.writeUInt16(jt);return{charMap:Be,subtable:Qr.data,maxGlyphID:ln+1}}},qe}(),$r=function(qe){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Jt(Se,un),Se.prototype.tag="cmap",Se.prototype.parse=function(Me){var Be,Qe,Ve;for(Me.pos=this.offset,this.version=Me.readUInt16(),Ve=Me.readUInt16(),this.tables=[],this.unicode=null,Qe=0;0<=Ve?Qe<Ve:Qe>Ve;Qe=0<=Ve?++Qe:--Qe)Be=new Hr(Me,this.offset),this.tables.push(Be),Be.isUnicode&&this.unicode==null&&(this.unicode=Be);return!0},Se.encode=function(Me,Be){var Qe,Ve;return Be==null&&(Be="macroman"),Qe=Hr.encode(Me,Be),(Ve=new Kt).writeUInt16(0),Ve.writeUInt16(1),Qe.table=Ve.data.concat(Qe.subtable),Qe},Se}(),Ft=function(qe){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Jt(Se,un),Se.prototype.tag="hhea",Se.prototype.parse=function(Me){return Me.pos=this.offset,this.version=Me.readInt(),this.ascender=Me.readShort(),this.decender=Me.readShort(),this.lineGap=Me.readShort(),this.advanceWidthMax=Me.readShort(),this.minLeftSideBearing=Me.readShort(),this.minRightSideBearing=Me.readShort(),this.xMaxExtent=Me.readShort(),this.caretSlopeRise=Me.readShort(),this.caretSlopeRun=Me.readShort(),this.caretOffset=Me.readShort(),Me.pos+=8,this.metricDataFormat=Me.readShort(),this.numberOfMetrics=Me.readUInt16()},Se}(),cr=function(qe){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Jt(Se,un),Se.prototype.tag="OS/2",Se.prototype.parse=function(Me){if(Me.pos=this.offset,this.version=Me.readUInt16(),this.averageCharWidth=Me.readShort(),this.weightClass=Me.readUInt16(),this.widthClass=Me.readUInt16(),this.type=Me.readShort(),this.ySubscriptXSize=Me.readShort(),this.ySubscriptYSize=Me.readShort(),this.ySubscriptXOffset=Me.readShort(),this.ySubscriptYOffset=Me.readShort(),this.ySuperscriptXSize=Me.readShort(),this.ySuperscriptYSize=Me.readShort(),this.ySuperscriptXOffset=Me.readShort(),this.ySuperscriptYOffset=Me.readShort(),this.yStrikeoutSize=Me.readShort(),this.yStrikeoutPosition=Me.readShort(),this.familyClass=Me.readShort(),this.panose=function(){var Be,Qe;for(Qe=[],Be=0;Be<10;++Be)Qe.push(Me.readByte());return Qe}(),this.charRange=function(){var Be,Qe;for(Qe=[],Be=0;Be<4;++Be)Qe.push(Me.readInt());return Qe}(),this.vendorID=Me.readString(4),this.selection=Me.readShort(),this.firstCharIndex=Me.readShort(),this.lastCharIndex=Me.readShort(),this.version>0&&(this.ascent=Me.readShort(),this.descent=Me.readShort(),this.lineGap=Me.readShort(),this.winAscent=Me.readShort(),this.winDescent=Me.readShort(),this.codePageRange=function(){var Be,Qe;for(Qe=[],Be=0;Be<2;Be=++Be)Qe.push(Me.readInt());return Qe}(),this.version>1))return this.xHeight=Me.readShort(),this.capHeight=Me.readShort(),this.defaultChar=Me.readShort(),this.breakChar=Me.readShort(),this.maxContext=Me.readShort()},Se}(),Cr=function(qe){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Jt(Se,un),Se.prototype.tag="post",Se.prototype.parse=function(Me){var Be,Qe,Ve;switch(Me.pos=this.offset,this.format=Me.readInt(),this.italicAngle=Me.readInt(),this.underlinePosition=Me.readShort(),this.underlineThickness=Me.readShort(),this.isFixedPitch=Me.readInt(),this.minMemType42=Me.readInt(),this.maxMemType42=Me.readInt(),this.minMemType1=Me.readInt(),this.maxMemType1=Me.readInt(),this.format){case 65536:break;case 131072:var Ye;for(Qe=Me.readUInt16(),this.glyphNameIndex=[],Ye=0;0<=Qe?Ye<Qe:Ye>Qe;Ye=0<=Qe?++Ye:--Ye)this.glyphNameIndex.push(Me.readUInt16());for(this.names=[],Ve=[];Me.pos<this.offset+this.length;)Be=Me.readByte(),Ve.push(this.names.push(Me.readString(Be)));return Ve;case 151552:return Qe=Me.readUInt16(),this.offsets=Me.read(Qe);case 196608:break;case 262144:return this.map=function(){var pt,ht,Vt;for(Vt=[],Ye=pt=0,ht=this.file.maxp.numGlyphs;0<=ht?pt<ht:pt>ht;Ye=0<=ht?++pt:--pt)Vt.push(Me.readUInt32());return Vt}.call(this)}},Se}(),Fr=function(Se,Me){this.raw=Se,this.length=Se.length,this.platformID=Me.platformID,this.encodingID=Me.encodingID,this.languageID=Me.languageID},Wr=function(qe){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Jt(Se,un),Se.prototype.tag="name",Se.prototype.parse=function(Me){var Be,Qe,Ve,Ye,pt,ht,Vt,dr,tr,ir,_t;for(Me.pos=this.offset,Me.readShort(),Be=Me.readShort(),ht=Me.readShort(),Qe=[],Ye=0;0<=Be?Ye<Be:Ye>Be;Ye=0<=Be?++Ye:--Ye)Qe.push({platformID:Me.readShort(),encodingID:Me.readShort(),languageID:Me.readShort(),nameID:Me.readShort(),length:Me.readShort(),offset:this.offset+ht+Me.readShort()});for(Vt={},Ye=tr=0,ir=Qe.length;tr<ir;Ye=++tr)Ve=Qe[Ye],Me.pos=Ve.offset,dr=Me.readString(Ve.length),pt=new Fr(dr,Ve),Vt[_t=Ve.nameID]==null&&(Vt[_t]=[]),Vt[Ve.nameID].push(pt);this.strings=Vt,this.copyright=Vt[0],this.fontFamily=Vt[1],this.fontSubfamily=Vt[2],this.uniqueSubfamily=Vt[3],this.fontName=Vt[4],this.version=Vt[5];try{this.postscriptName=Vt[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(gr){this.postscriptName=Vt[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Vt[7],this.manufacturer=Vt[8],this.designer=Vt[9],this.description=Vt[10],this.vendorUrl=Vt[11],this.designerUrl=Vt[12],this.license=Vt[13],this.licenseUrl=Vt[14],this.preferredFamily=Vt[15],this.preferredSubfamily=Vt[17],this.compatibleFull=Vt[18],this.sampleText=Vt[19]},Se}(),An=function(qe){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Jt(Se,un),Se.prototype.tag="maxp",Se.prototype.parse=function(Me){return Me.pos=this.offset,this.version=Me.readInt(),this.numGlyphs=Me.readUInt16(),this.maxPoints=Me.readUInt16(),this.maxContours=Me.readUInt16(),this.maxCompositePoints=Me.readUInt16(),this.maxComponentContours=Me.readUInt16(),this.maxZones=Me.readUInt16(),this.maxTwilightPoints=Me.readUInt16(),this.maxStorage=Me.readUInt16(),this.maxFunctionDefs=Me.readUInt16(),this.maxInstructionDefs=Me.readUInt16(),this.maxStackElements=Me.readUInt16(),this.maxSizeOfInstructions=Me.readUInt16(),this.maxComponentElements=Me.readUInt16(),this.maxComponentDepth=Me.readUInt16()},Se}(),bn=function(qe){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Jt(Se,un),Se.prototype.tag="hmtx",Se.prototype.parse=function(Me){var Be,Qe,Ve,Ye,pt,ht,Vt;for(Me.pos=this.offset,this.metrics=[],Be=0,ht=this.file.hhea.numberOfMetrics;0<=ht?Be<ht:Be>ht;Be=0<=ht?++Be:--Be)this.metrics.push({advance:Me.readUInt16(),lsb:Me.readInt16()});for(Ve=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var dr,tr;for(tr=[],Be=dr=0;0<=Ve?dr<Ve:dr>Ve;Be=0<=Ve?++dr:--dr)tr.push(Me.readInt16());return tr}(),this.widths=function(){var dr,tr,ir,_t;for(_t=[],dr=0,tr=(ir=this.metrics).length;dr<tr;dr++)Ye=ir[dr],_t.push(Ye.advance);return _t}.call(this),Qe=this.widths[this.widths.length-1],Vt=[],Be=pt=0;0<=Ve?pt<Ve:pt>Ve;Be=0<=Ve?++pt:--pt)Vt.push(this.widths.push(Qe));return Vt},Se.prototype.forGlyph=function(Me){return Me in this.metrics?this.metrics[Me]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Me-this.metrics.length]}},Se}(),Sn=[].slice,kn=function(qe){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Jt(Se,un),Se.prototype.tag="glyf",Se.prototype.parse=function(){return this.cache={}},Se.prototype.glyphFor=function(Me){var Be,Qe,Ve,Ye,pt,ht,Vt,dr,tr,ir;return Me in this.cache?this.cache[Me]:(Ye=this.file.loca,Be=this.file.contents,Qe=Ye.indexOf(Me),(Ve=Ye.lengthOf(Me))===0?this.cache[Me]=null:(Be.pos=this.offset+Qe,pt=(ht=new Kt(Be.read(Ve))).readShort(),dr=ht.readShort(),ir=ht.readShort(),Vt=ht.readShort(),tr=ht.readShort(),this.cache[Me]=pt===-1?new Jn(ht,dr,ir,Vt,tr):new ei(ht,pt,dr,ir,Vt,tr),this.cache[Me]))},Se.prototype.encode=function(Me,Be,Qe){var Ve,Ye,pt,ht,Vt;for(pt=[],Ye=[],ht=0,Vt=Be.length;ht<Vt;ht++)Ve=Me[Be[ht]],Ye.push(pt.length),Ve&&(pt=pt.concat(Ve.encode(Qe)));return Ye.push(pt.length),{table:pt,offsets:Ye}},Se}(),ei=function(){function qe(Se,Me,Be,Qe,Ve,Ye){this.raw=Se,this.numberOfContours=Me,this.xMin=Be,this.yMin=Qe,this.xMax=Ve,this.yMax=Ye,this.compound=!1}return qe.prototype.encode=function(){return this.raw.data},qe}(),Jn=function(){function qe(Se,Me,Be,Qe,Ve){var Ye,pt;for(this.raw=Se,this.xMin=Me,this.yMin=Be,this.xMax=Qe,this.yMax=Ve,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],Ye=this.raw;pt=Ye.readShort(),this.glyphOffsets.push(Ye.pos),this.glyphIDs.push(Ye.readUInt16()),32&pt;)Ye.pos+=1&pt?4:2,128&pt?Ye.pos+=8:64&pt?Ye.pos+=4:8&pt&&(Ye.pos+=2)}return qe.prototype.encode=function(){var Se,Me,Be;for(Me=new Kt(Sn.call(this.raw.data)),Se=0,Be=this.glyphIDs.length;Se<Be;++Se)Me.pos=this.glyphOffsets[Se];return Me.data},qe}(),ai=function(qe){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Jt(Se,un),Se.prototype.tag="loca",Se.prototype.parse=function(Me){var Be,Qe;return Me.pos=this.offset,Be=this.file.head.indexToLocFormat,this.offsets=Be===0?function(){var Ve,Ye;for(Ye=[],Qe=0,Ve=this.length;Qe<Ve;Qe+=2)Ye.push(2*Me.readUInt16());return Ye}.call(this):function(){var Ve,Ye;for(Ye=[],Qe=0,Ve=this.length;Qe<Ve;Qe+=4)Ye.push(Me.readUInt32());return Ye}.call(this)},Se.prototype.indexOf=function(Me){return this.offsets[Me]},Se.prototype.lengthOf=function(Me){return this.offsets[Me+1]-this.offsets[Me]},Se.prototype.encode=function(Me,Be){for(var Qe=new Uint32Array(this.offsets.length),Ve=0,Ye=0,pt=0;pt<Qe.length;++pt)if(Qe[pt]=Ve,Ye<Be.length&&Be[Ye]==pt){++Ye,Qe[pt]=Ve;var ht=this.offsets[pt],Vt=this.offsets[pt+1]-ht;Vt>0&&(Ve+=Vt)}for(var dr=new Array(4*Qe.length),tr=0;tr<Qe.length;++tr)dr[4*tr+3]=255&Qe[tr],dr[4*tr+2]=(65280&Qe[tr])>>8,dr[4*tr+1]=(16711680&Qe[tr])>>16,dr[4*tr]=(4278190080&Qe[tr])>>24;return dr},Se}(),ii=function(){function qe(Se){this.font=Se,this.subset={},this.unicodes={},this.next=33}return qe.prototype.generateCmap=function(){var Se,Me,Be,Qe,Ve;for(Me in Qe=this.font.cmap.tables[0].codeMap,Se={},Ve=this.subset)Be=Ve[Me],Se[Me]=Qe[Be];return Se},qe.prototype.glyphsFor=function(Se){var Me,Be,Qe,Ve,Ye,pt,ht;for(Qe={},Ye=0,pt=Se.length;Ye<pt;Ye++)Qe[Ve=Se[Ye]]=this.font.glyf.glyphFor(Ve);for(Ve in Me=[],Qe)((Be=Qe[Ve])!=null?Be.compound:void 0)&&Me.push.apply(Me,Be.glyphIDs);if(Me.length>0)for(Ve in ht=this.glyphsFor(Me))Be=ht[Ve],Qe[Ve]=Be;return Qe},qe.prototype.encode=function(Se,Me){var Be,Qe,Ve,Ye,pt,ht,Vt,dr,tr,ir,_t,gr,jt,Sr,Ar;for(Qe in Be=$r.encode(this.generateCmap(),"unicode"),Ye=this.glyphsFor(Se),_t={0:0},Ar=Be.charMap)_t[(ht=Ar[Qe]).old]=ht.new;for(gr in ir=Be.maxGlyphID,Ye)gr in _t||(_t[gr]=ir++);return dr=function(sr){var ln,_n;for(ln in _n={},sr)_n[sr[ln]]=ln;return _n}(_t),tr=Object.keys(dr).sort(function(sr,ln){return sr-ln}),jt=function(){var sr,ln,_n;for(_n=[],sr=0,ln=tr.length;sr<ln;sr++)pt=tr[sr],_n.push(dr[pt]);return _n}(),Ve=this.font.glyf.encode(Ye,jt,_t),Vt=this.font.loca.encode(Ve.offsets,jt),Sr={cmap:this.font.cmap.raw(),glyf:Ve.table,loca:Vt,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(Me)},this.font.os2.exists&&(Sr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Sr)},qe}();j.API.PDFObject=function(){var qe;function Se(){}return qe=function(Be,Qe){return(Array(Qe+1).join("0")+Be).slice(-Qe)},Se.convert=function(Me){var Be,Qe,Ve,Ye;if(Array.isArray(Me))return"["+function(){var pt,ht,Vt;for(Vt=[],pt=0,ht=Me.length;pt<ht;pt++)Be=Me[pt],Vt.push(Se.convert(Be));return Vt}().join(" ")+"]";if(typeof Me=="string")return"/"+Me;if(Me!=null?Me.isString:void 0)return"("+Me+")";if(Me instanceof Date)return"(D:"+qe(Me.getUTCFullYear(),4)+qe(Me.getUTCMonth(),2)+qe(Me.getUTCDate(),2)+qe(Me.getUTCHours(),2)+qe(Me.getUTCMinutes(),2)+qe(Me.getUTCSeconds(),2)+"Z)";if({}.toString.call(Me)==="[object Object]"){for(Qe in Ve=["<<"],Me)Ye=Me[Qe],Ve.push("/"+Qe+" "+Se.convert(Ye));return Ve.push(">>"),Ve.join(`
|
|
|
`)}return""+Me},Se}(),B.default=j}.call(this,o("yLpj"))},eIcI:function(M,B,o){var w=o("bYtY"),f=o("hM6l");function A(g,p,c){f.call(this,g,p,c),this.type="value",this.angle=0,this.name="",this.model}w.inherits(A,f);var m=A;M.exports=m},eJH7:function(M,B,o){var w=o("bYtY");function f(A){var m=A.polar;if(m){w.isArray(m)||(m=[m]);var g=[];w.each(m,function(p,c){p.indicator?(p.type&&!p.shape&&(p.shape=p.type),A.radar=A.radar||[],w.isArray(A.radar)||(A.radar=[A.radar]),A.radar.push(p)):g.push(p)}),A.polar=g}w.each(A.series,function(p){p&&p.type==="radar"&&p.polarIndex&&(p.radarIndex=p.polarIndex)})}M.exports=f},eP3c:function(M,B,o){"use strict";function w(Xe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(V){return typeof V}:w=function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},w(Xe)}Object.defineProperty(B,"__esModule",{value:!0}),B.inflateReset=ae,B.inflateReset2=ce,B.inflateResetKeep=Fe,B.inflateInit=ze,B.inflateInit2=_e,B.inflate=rt,B.inflateEnd=wt,B.inflateGetHeader=Ot,B.inflateSetDictionary=Ct,B.inflateInfo=B.Z_DEFLATED=B.Z_BUF_ERROR=B.Z_MEM_ERROR=B.Z_DATA_ERROR=B.Z_STREAM_ERROR=B.Z_NEED_DICT=B.Z_STREAM_END=B.Z_OK=B.Z_TREES=B.Z_BLOCK=B.Z_FINISH=void 0;var f=l(o("6BzB")),A=c(o("xlC8")),m=c(o("QV2g")),g=c(o("sjKO")),p=c(o("JSwD"));function c(Xe){return Xe&&Xe.__esModule?Xe:{default:Xe}}function h(){if(typeof WeakMap!="function")return null;var Xe=new WeakMap;return h=function(){return Xe},Xe}function l(Xe){if(Xe&&Xe.__esModule)return Xe;if(Xe===null||w(Xe)!=="object"&&typeof Xe!="function")return{default:Xe};var q=h();if(q&&q.has(Xe))return q.get(Xe);var V={},Ae=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var xe in Xe)if(Object.prototype.hasOwnProperty.call(Xe,xe)){var re=Ae?Object.getOwnPropertyDescriptor(Xe,xe):null;re&&(re.get||re.set)?Object.defineProperty(V,xe,re):V[xe]=Xe[xe]}return V.default=Xe,q&&q.set(Xe,V),V}var e=0,n=1,i=2,r=4;B.Z_FINISH=r;var a=5;B.Z_BLOCK=a;var t=6;B.Z_TREES=t;var s=0;B.Z_OK=s;var u=1;B.Z_STREAM_END=u;var d=2;B.Z_NEED_DICT=d;var v=-2;B.Z_STREAM_ERROR=v;var y=-3;B.Z_DATA_ERROR=y;var S=-4;B.Z_MEM_ERROR=S;var b=-5;B.Z_BUF_ERROR=b;var E=8;B.Z_DEFLATED=E;var C=1,T=2,x=3,_=4,I=5,L=6,R=7,k=8,F=9,P=10,W=11,D=12,U=13,H=14,j=15,K=16,X=17,z=18,Y=19,$=20,ne=21,J=22,ge=23,de=24,Ie=25,be=26,Ce=27,je=28,te=29,ve=30,$e=31,Le=32,he=852,ee=592,se=15,Ue=se;function ue(Xe){return(Xe>>>24&255)+(Xe>>>8&65280)+((Xe&65280)<<8)+((Xe&255)<<24)}function Ne(){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 Fe(Xe){var q;return!Xe||!Xe.state?v:(q=Xe.state,Xe.total_in=Xe.total_out=q.total=0,Xe.msg="",q.wrap&&(Xe.adler=q.wrap&1),q.mode=C,q.last=0,q.havedict=0,q.dmax=32768,q.head=null,q.hold=0,q.bits=0,q.lencode=q.lendyn=new f.Buf32(he),q.distcode=q.distdyn=new f.Buf32(ee),q.sane=1,q.back=-1,s)}function ae(Xe){var q;return!Xe||!Xe.state?v:(q=Xe.state,q.wsize=0,q.whave=0,q.wnext=0,Fe(Xe))}function ce(Xe,q){var V,Ae;return!Xe||!Xe.state?v:(Ae=Xe.state,q<0?(V=0,q=-q):(V=(q>>4)+1,q<48&&(q&=15)),q&&(q<8||q>15)?v:(Ae.window!==null&&Ae.wbits!==q&&(Ae.window=null),Ae.wrap=V,Ae.wbits=q,ae(Xe)))}function _e(Xe,q){var V,Ae;return Xe?(Ae=new Ne,Xe.state=Ae,Ae.window=null,V=ce(Xe,q),V!==s&&(Xe.state=null),V):v}function ze(Xe){return _e(Xe,Ue)}var it=!0,Ze,Ee;function mt(Xe){if(it){var q;for(Ze=new f.Buf32(512),Ee=new f.Buf32(32),q=0;q<144;)Xe.lens[q++]=8;for(;q<256;)Xe.lens[q++]=9;for(;q<280;)Xe.lens[q++]=7;for(;q<288;)Xe.lens[q++]=8;for((0,p.default)(n,Xe.lens,0,288,Ze,0,Xe.work,{bits:9}),q=0;q<32;)Xe.lens[q++]=5;(0,p.default)(i,Xe.lens,0,32,Ee,0,Xe.work,{bits:5}),it=!1}Xe.lencode=Ze,Xe.lenbits=9,Xe.distcode=Ee,Xe.distbits=5}function Je(Xe,q,V,Ae){var xe,re=Xe.state;return re.window===null&&(re.wsize=1<<re.wbits,re.wnext=0,re.whave=0,re.window=new f.Buf8(re.wsize)),Ae>=re.wsize?(f.arraySet(re.window,q,V-re.wsize,re.wsize,0),re.wnext=0,re.whave=re.wsize):(xe=re.wsize-re.wnext,xe>Ae&&(xe=Ae),f.arraySet(re.window,q,V-Ae,xe,re.wnext),Ae-=xe,Ae?(f.arraySet(re.window,q,V-Ae,Ae,0),re.wnext=Ae,re.whave=re.wsize):(re.wnext+=xe,re.wnext===re.wsize&&(re.wnext=0),re.whave<re.wsize&&(re.whave+=xe))),0}function rt(Xe,q){var V,Ae,xe,re,ot,bt,tt,Tt,Gt,lr,pr,Rr,xt,It,At=0,Zt,br,Lr,Jr,In,Gr,Tr,fr,vt=new f.Buf8(4),ft,Te,Pe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Xe||!Xe.state||!Xe.output||!Xe.input&&Xe.avail_in!==0)return v;V=Xe.state,V.mode===D&&(V.mode=U),ot=Xe.next_out,xe=Xe.output,tt=Xe.avail_out,re=Xe.next_in,Ae=Xe.input,bt=Xe.avail_in,Tt=V.hold,Gt=V.bits,lr=bt,pr=tt,fr=s;e:for(;;)switch(V.mode){case C:if(V.wrap===0){V.mode=U;break}for(;Gt<16;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}if(V.wrap&2&&Tt===35615){V.check=0,vt[0]=Tt&255,vt[1]=Tt>>>8&255,V.check=(0,m.default)(V.check,vt,2,0),Tt=0,Gt=0,V.mode=T;break}if(V.flags=0,V.head&&(V.head.done=!1),!(V.wrap&1)||(((Tt&255)<<8)+(Tt>>8))%31){Xe.msg="incorrect header check",V.mode=ve;break}if((Tt&15)!==E){Xe.msg="unknown compression method",V.mode=ve;break}if(Tt>>>=4,Gt-=4,Tr=(Tt&15)+8,V.wbits===0)V.wbits=Tr;else if(Tr>V.wbits){Xe.msg="invalid window size",V.mode=ve;break}V.dmax=1<<Tr,Xe.adler=V.check=1,V.mode=Tt&512?P:D,Tt=0,Gt=0;break;case T:for(;Gt<16;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}if(V.flags=Tt,(V.flags&255)!==E){Xe.msg="unknown compression method",V.mode=ve;break}if(V.flags&57344){Xe.msg="unknown header flags set",V.mode=ve;break}V.head&&(V.head.text=Tt>>8&1),V.flags&512&&(vt[0]=Tt&255,vt[1]=Tt>>>8&255,V.check=(0,m.default)(V.check,vt,2,0)),Tt=0,Gt=0,V.mode=x;case x:for(;Gt<32;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}V.head&&(V.head.time=Tt),V.flags&512&&(vt[0]=Tt&255,vt[1]=Tt>>>8&255,vt[2]=Tt>>>16&255,vt[3]=Tt>>>24&255,V.check=(0,m.default)(V.check,vt,4,0)),Tt=0,Gt=0,V.mode=_;case _:for(;Gt<16;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}V.head&&(V.head.xflags=Tt&255,V.head.os=Tt>>8),V.flags&512&&(vt[0]=Tt&255,vt[1]=Tt>>>8&255,V.check=(0,m.default)(V.check,vt,2,0)),Tt=0,Gt=0,V.mode=I;case I:if(V.flags&1024){for(;Gt<16;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}V.length=Tt,V.head&&(V.head.extra_len=Tt),V.flags&512&&(vt[0]=Tt&255,vt[1]=Tt>>>8&255,V.check=(0,m.default)(V.check,vt,2,0)),Tt=0,Gt=0}else V.head&&(V.head.extra=null);V.mode=L;case L:if(V.flags&1024&&(Rr=V.length,Rr>bt&&(Rr=bt),Rr&&(V.head&&(Tr=V.head.extra_len-V.length,V.head.extra||(V.head.extra=new Array(V.head.extra_len)),f.arraySet(V.head.extra,Ae,re,Rr,Tr)),V.flags&512&&(V.check=(0,m.default)(V.check,Ae,Rr,re)),bt-=Rr,re+=Rr,V.length-=Rr),V.length))break e;V.length=0,V.mode=R;case R:if(V.flags&2048){if(bt===0)break e;Rr=0;do Tr=Ae[re+Rr++],V.head&&Tr&&V.length<65536&&(V.head.name+=String.fromCharCode(Tr));while(Tr&&Rr<bt);if(V.flags&512&&(V.check=(0,m.default)(V.check,Ae,Rr,re)),bt-=Rr,re+=Rr,Tr)break e}else V.head&&(V.head.name=null);V.length=0,V.mode=k;case k:if(V.flags&4096){if(bt===0)break e;Rr=0;do Tr=Ae[re+Rr++],V.head&&Tr&&V.length<65536&&(V.head.comment+=String.fromCharCode(Tr));while(Tr&&Rr<bt);if(V.flags&512&&(V.check=(0,m.default)(V.check,Ae,Rr,re)),bt-=Rr,re+=Rr,Tr)break e}else V.head&&(V.head.comment=null);V.mode=F;case F:if(V.flags&512){for(;Gt<16;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}if(Tt!==(V.check&65535)){Xe.msg="header crc mismatch",V.mode=ve;break}Tt=0,Gt=0}V.head&&(V.head.hcrc=V.flags>>9&1,V.head.done=!0),Xe.adler=V.check=0,V.mode=D;break;case P:for(;Gt<32;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}Xe.adler=V.check=ue(Tt),Tt=0,Gt=0,V.mode=W;case W:if(V.havedict===0)return Xe.next_out=ot,Xe.avail_out=tt,Xe.next_in=re,Xe.avail_in=bt,V.hold=Tt,V.bits=Gt,d;Xe.adler=V.check=1,V.mode=D;case D:if(q===a||q===t)break e;case U:if(V.last){Tt>>>=Gt&7,Gt-=Gt&7,V.mode=Ce;break}for(;Gt<3;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}V.last=Tt&1,Tt>>>=1,Gt-=1;switch(Tt&3){case 0:V.mode=H;break;case 1:if(mt(V),V.mode=$,q===t){Tt>>>=2,Gt-=2;break e}break;case 2:V.mode=X;break;case 3:Xe.msg="invalid block type",V.mode=ve}Tt>>>=2,Gt-=2;break;case H:for(Tt>>>=Gt&7,Gt-=Gt&7;Gt<32;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}if((Tt&65535)!==(Tt>>>16^65535)){Xe.msg="invalid stored block lengths",V.mode=ve;break}if(V.length=Tt&65535,Tt=0,Gt=0,V.mode=j,q===t)break e;case j:V.mode=K;case K:if(Rr=V.length,Rr){if(Rr>bt&&(Rr=bt),Rr>tt&&(Rr=tt),Rr===0)break e;f.arraySet(xe,Ae,re,Rr,ot),bt-=Rr,re+=Rr,tt-=Rr,ot+=Rr,V.length-=Rr;break}V.mode=D;break;case X:for(;Gt<14;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}if(V.nlen=(Tt&31)+257,Tt>>>=5,Gt-=5,V.ndist=(Tt&31)+1,Tt>>>=5,Gt-=5,V.ncode=(Tt&15)+4,Tt>>>=4,Gt-=4,V.nlen>286||V.ndist>30){Xe.msg="too many length or distance symbols",V.mode=ve;break}V.have=0,V.mode=z;case z:for(;V.have<V.ncode;){for(;Gt<3;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}V.lens[Pe[V.have++]]=Tt&7,Tt>>>=3,Gt-=3}for(;V.have<19;)V.lens[Pe[V.have++]]=0;if(V.lencode=V.lendyn,V.lenbits=7,ft={bits:V.lenbits},fr=(0,p.default)(e,V.lens,0,19,V.lencode,0,V.work,ft),V.lenbits=ft.bits,fr){Xe.msg="invalid code lengths set",V.mode=ve;break}V.have=0,V.mode=Y;case Y:for(;V.have<V.nlen+V.ndist;){for(;!(At=V.lencode[Tt&(1<<V.lenbits)-1],Zt=At>>>24,br=At>>>16&255,Lr=At&65535,Zt<=Gt);){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}if(Lr<16)Tt>>>=Zt,Gt-=Zt,V.lens[V.have++]=Lr;else{if(Lr===16){for(Te=Zt+2;Gt<Te;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}if(Tt>>>=Zt,Gt-=Zt,V.have===0){Xe.msg="invalid bit length repeat",V.mode=ve;break}Tr=V.lens[V.have-1],Rr=3+(Tt&3),Tt>>>=2,Gt-=2}else if(Lr===17){for(Te=Zt+3;Gt<Te;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}Tt>>>=Zt,Gt-=Zt,Tr=0,Rr=3+(Tt&7),Tt>>>=3,Gt-=3}else{for(Te=Zt+7;Gt<Te;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}Tt>>>=Zt,Gt-=Zt,Tr=0,Rr=11+(Tt&127),Tt>>>=7,Gt-=7}if(V.have+Rr>V.nlen+V.ndist){Xe.msg="invalid bit length repeat",V.mode=ve;break}for(;Rr--;)V.lens[V.have++]=Tr}}if(V.mode===ve)break;if(V.lens[256]===0){Xe.msg="invalid code -- missing end-of-block",V.mode=ve;break}if(V.lenbits=9,ft={bits:V.lenbits},fr=(0,p.default)(n,V.lens,0,V.nlen,V.lencode,0,V.work,ft),V.lenbits=ft.bits,fr){Xe.msg="invalid literal/lengths set",V.mode=ve;break}if(V.distbits=6,V.distcode=V.distdyn,ft={bits:V.distbits},fr=(0,p.default)(i,V.lens,V.nlen,V.ndist,V.distcode,0,V.work,ft),V.distbits=ft.bits,fr){Xe.msg="invalid distances set",V.mode=ve;break}if(V.mode=$,q===t)break e;case $:V.mode=ne;case ne:if(bt>=6&&tt>=258){Xe.next_out=ot,Xe.avail_out=tt,Xe.next_in=re,Xe.avail_in=bt,V.hold=Tt,V.bits=Gt,(0,g.default)(Xe,pr),ot=Xe.next_out,xe=Xe.output,tt=Xe.avail_out,re=Xe.next_in,Ae=Xe.input,bt=Xe.avail_in,Tt=V.hold,Gt=V.bits,V.mode===D&&(V.back=-1);break}for(V.back=0;!(At=V.lencode[Tt&(1<<V.lenbits)-1],Zt=At>>>24,br=At>>>16&255,Lr=At&65535,Zt<=Gt);){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}if(br&&(br&240)===0){for(Jr=Zt,In=br,Gr=Lr;!(At=V.lencode[Gr+((Tt&(1<<Jr+In)-1)>>Jr)],Zt=At>>>24,br=At>>>16&255,Lr=At&65535,Jr+Zt<=Gt);){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}Tt>>>=Jr,Gt-=Jr,V.back+=Jr}if(Tt>>>=Zt,Gt-=Zt,V.back+=Zt,V.length=Lr,br===0){V.mode=be;break}if(br&32){V.back=-1,V.mode=D;break}if(br&64){Xe.msg="invalid literal/length code",V.mode=ve;break}V.extra=br&15,V.mode=J;case J:if(V.extra){for(Te=V.extra;Gt<Te;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}V.length+=Tt&(1<<V.extra)-1,Tt>>>=V.extra,Gt-=V.extra,V.back+=V.extra}V.was=V.length,V.mode=ge;case ge:for(;!(At=V.distcode[Tt&(1<<V.distbits)-1],Zt=At>>>24,br=At>>>16&255,Lr=At&65535,Zt<=Gt);){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}if((br&240)===0){for(Jr=Zt,In=br,Gr=Lr;!(At=V.distcode[Gr+((Tt&(1<<Jr+In)-1)>>Jr)],Zt=At>>>24,br=At>>>16&255,Lr=At&65535,Jr+Zt<=Gt);){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}Tt>>>=Jr,Gt-=Jr,V.back+=Jr}if(Tt>>>=Zt,Gt-=Zt,V.back+=Zt,br&64){Xe.msg="invalid distance code",V.mode=ve;break}V.offset=Lr,V.extra=br&15,V.mode=de;case de:if(V.extra){for(Te=V.extra;Gt<Te;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}V.offset+=Tt&(1<<V.extra)-1,Tt>>>=V.extra,Gt-=V.extra,V.back+=V.extra}if(V.offset>V.dmax){Xe.msg="invalid distance too far back",V.mode=ve;break}V.mode=Ie;case Ie:if(tt===0)break e;if(Rr=pr-tt,V.offset>Rr){if(Rr=V.offset-Rr,Rr>V.whave&&V.sane){Xe.msg="invalid distance too far back",V.mode=ve;break}Rr>V.wnext?(Rr-=V.wnext,xt=V.wsize-Rr):xt=V.wnext-Rr,Rr>V.length&&(Rr=V.length),It=V.window}else It=xe,xt=ot-V.offset,Rr=V.length;Rr>tt&&(Rr=tt),tt-=Rr,V.length-=Rr;do xe[ot++]=It[xt++];while(--Rr);V.length===0&&(V.mode=ne);break;case be:if(tt===0)break e;xe[ot++]=V.length,tt--,V.mode=ne;break;case Ce:if(V.wrap){for(;Gt<32;){if(bt===0)break e;bt--,Tt|=Ae[re++]<<Gt,Gt+=8}if(pr-=tt,Xe.total_out+=pr,V.total+=pr,pr&&(Xe.adler=V.check=V.flags?(0,m.default)(V.check,xe,pr,ot-pr):(0,A.default)(V.check,xe,pr,ot-pr)),pr=tt,(V.flags?Tt:ue(Tt))!==V.check){Xe.msg="incorrect data check",V.mode=ve;break}Tt=0,Gt=0}V.mode=je;case je:if(V.wrap&&V.flags){for(;Gt<32;){if(bt===0)break e;bt--,Tt+=Ae[re++]<<Gt,Gt+=8}if(Tt!==(V.total&4294967295)){Xe.msg="incorrect length check",V.mode=ve;break}Tt=0,Gt=0}V.mode=te;case te:fr=u;break e;case ve:fr=y;break e;case $e:return S;case Le:default:return v}return Xe.next_out=ot,Xe.avail_out=tt,Xe.next_in=re,Xe.avail_in=bt,V.hold=Tt,V.bits=Gt,(V.wsize||pr!==Xe.avail_out&&V.mode<ve&&(V.mode<Ce||q!==r))&&Je(Xe,Xe.output,Xe.next_out,pr-Xe.avail_out)?(V.mode=$e,S):(lr-=Xe.avail_in,pr-=Xe.avail_out,Xe.total_in+=lr,Xe.total_out+=pr,V.total+=pr,V.wrap&&pr&&(Xe.adler=V.check=V.flags?(0,m.default)(V.check,xe,pr,Xe.next_out-pr):(0,A.default)(V.check,xe,pr,Xe.next_out-pr)),Xe.data_type=V.bits+(V.last?64:0)+(V.mode===D?128:0)+(V.mode===$||V.mode===j?256:0),(lr===0&&pr===0||q===r)&&fr===s&&(fr=b),fr)}function wt(Xe){if(!Xe||!Xe.state)return v;var q=Xe.state;return q.window&&(q.window=null),Xe.state=null,s}function Ot(Xe,q){var V;return!Xe||!Xe.state?v:(V=Xe.state,(V.wrap&2)===0?v:(V.head=q,q.done=!1,s))}function Ct(Xe,q){var V=q.length,Ae,xe,re;return!Xe||!Xe.state?v:(Ae=Xe.state,Ae.wrap!==0&&Ae.mode!==W?v:Ae.mode===W&&(xe=1,xe=(0,A.default)(xe,q,V,0),xe!==Ae.check)?y:(re=Je(Xe,q,V,V),re?(Ae.mode=$e,S):(Ae.havedict=1,s)))}var Dt="pako inflate (from Nodeca project)";B.inflateInfo=Dt},ePAk:function(M,B,o){var w=o("ProS");o("2fGM");var f=w.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(A){var m,g=this.ecModel;return g.eachComponent(A,function(p){p.getCoordSysModel()===this&&(m=p)},this),m},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});M.exports=f},eRkO:function(M,B,o){var w=o("+TT/"),f=w.getLayoutRect,A=w.box,m=w.positionElement,g=o("7aKB"),p=o("IwbS");function c(l,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),a={width:n.getWidth(),height:n.getHeight()},t=f(i,a,r);A(e.get("orient"),l,e.get("itemGap"),t.width,t.height),m(l,i,a,r)}function h(l,e){var n=g.normalizeCssArray(e.get("padding")),i=e.getItemStyle(["color","opacity"]);i.fill=e.get("backgroundColor");var l=new p.Rect({shape:{x:l.x-n[3],y:l.y-n[0],width:l.width+n[1]+n[3],height:l.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1});return l}B.layout=c,B.makeBackground=h},eS4l:function(M,B,o){o("HM/N"),o("FNN5")},eUgh:function(M,B){function o(w,f){for(var A=-1,m=w==null?0:w.length,g=Array(m);++A<m;)g[A]=f(w[A],A,w);return g}M.exports=o},ec8c:function(M,B,o){"use strict";o.d(B,"b",function(){return w}),o.d(B,"a",function(){return f});function w(A){return A!=null&&A===A.window}function f(A,m){var g;if(typeof window=="undefined")return 0;var p=m?"scrollTop":"scrollLeft",c=0;return w(A)?c=A[m?"pageYOffset":"pageXOffset"]:A instanceof Document?c=A.documentElement[p]:A&&(c=A[p]),A&&!w(A)&&typeof c!="number"&&(c=(g=(A.ownerDocument||A).documentElement)===null||g===void 0?void 0:g[p]),c}},ecKF:function(M,B,o){},egiQ:function(M,B,o){"use strict";o.d(B,"a",function(){return m});var w=o("wgJM"),f=o("ec8c");function A(g,p,c,h){var l=c-p;return g/=h/2,g<1?l/2*g*g*g+p:l/2*((g-=2)*g*g+2)+p}function m(g){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=p.getContainer,h=c===void 0?function(){return window}:c,l=p.callback,e=p.duration,n=e===void 0?450:e,i=h(),r=Object(f.a)(i,!0),a=Date.now(),t=function s(){var u=Date.now(),d=u-a,v=A(d>n?n:d,r,g,n);Object(f.b)(i)?i.scrollTo(window.pageXOffset,v):i instanceof HTMLDocument||i.constructor.name==="HTMLDocument"?i.documentElement.scrollTop=v:i.scrollTop=v,d<n?Object(w.a)(s):typeof l=="function"&&l()};Object(w.a)(t)}},ewwo:function(M,B,o){var w=o("bMXI"),f=o("+TT/"),A=f.getLayoutRect,m=o("4mN7");function g(c,h,l){var e=c.getBoxLayoutParams();return e.aspect=l,A(e,{width:h.getWidth(),height:h.getHeight()})}function p(c,h){var l=[];return c.eachSeriesByType("graph",function(e){var n=e.get("coordinateSystem");if(!n||n==="view"){var i=e.getData(),r=i.mapArray(function(E){var C=i.getItemModel(E);return[+C.get("x"),+C.get("y")]}),a=[],t=[];m.fromPoints(r,a,t),t[0]-a[0]===0&&(t[0]+=1,a[0]-=1),t[1]-a[1]===0&&(t[1]+=1,a[1]-=1);var s=(t[0]-a[0])/(t[1]-a[1]),u=g(e,h,s);isNaN(s)&&(a=[u.x,u.y],t=[u.x+u.width,u.y+u.height]);var d=t[0]-a[0],v=t[1]-a[1],y=u.width,S=u.height,b=e.coordinateSystem=new w;b.zoomLimit=e.get("scaleLimit"),b.setBoundingRect(a[0],a[1],d,v),b.setViewRect(u.x,u.y,y,S),b.setCenter(e.get("center")),b.setZoom(e.get("zoom")),l.push(b)}}),l}M.exports=p},"f+4T":function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("JNlW"),m=o.n(A)},"f+He":function(M,B,o){"use strict";var w=o("pSJ1");B.a=w.a},f1nB:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("ProS"),m=o("bYtY"),g=o("4NO4"),p=o("IwbS"),c=o("+TT/"),h=o("OELB"),l=h.parsePercent,e={path:null,compoundPath:null,group:p.Group,image:p.Image,text:p.Text};A.registerPreprocessor(function(y){var S=y.graphic;m.isArray(S)?!S[0]||!S[0].elements?y.graphic=[{elements:S}]:y.graphic=[y.graphic[0]]:S&&!S.elements&&(y.graphic=[{elements:[S]}])});var n=A.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(y){var S=this.option.elements;this.option.elements=null,n.superApply(this,"mergeOption",arguments),this.option.elements=S},optionUpdated:function(y,S){var b=this.option,E=(S?b:y).elements,C=b.elements=S?[]:b.elements,T=[];this._flatten(E,T);var x=g.mappingToExists(C,T);g.makeIdAndName(x);var _=this._elOptionsToUpdate=[];m.each(x,function(L,R){var k=L.option;if(!k)return;_.push(k),s(L,k),u(C,R,k),d(C[R],k)},this);for(var I=C.length-1;I>=0;I--)C[I]==null?C.splice(I,1):delete C[I].$action},_flatten:function(y,S,b){m.each(y,function(E){if(!E)return;b&&(E.parentOption=b),S.push(E);var C=E.children;E.type==="group"&&C&&this._flatten(C,S,E),delete E.children},this)},useElOptionsToUpdate:function(){var y=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,y}});A.extendComponentView({type:"graphic",init:function(y,S){this._elMap=m.createHashMap(),this._lastGraphicModel},render:function(y,S,b){y!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=y,this._updateElements(y),this._relocate(y,b)},_updateElements:function(y){var S=y.useElOptionsToUpdate();if(!S)return;var b=this._elMap,E=this.group;m.each(S,function(C){var T=C.$action,x=C.id,_=b.get(x),I=C.parentId,L=I!=null?b.get(I):E,R=C.style;C.type==="text"&&R&&(C.hv&&C.hv[1]&&(R.textVerticalAlign=R.textBaseline=null),!R.hasOwnProperty("textFill")&&R.fill&&(R.textFill=R.fill),!R.hasOwnProperty("textStroke")&&R.stroke&&(R.textStroke=R.stroke));var k=a(C);!T||T==="merge"?_?_.attr(k):i(x,L,k,b):T==="replace"?(r(_,b),i(x,L,k,b)):T==="remove"&&r(_,b);var F=b.get(x);F&&(F.__ecGraphicWidthOption=C.width,F.__ecGraphicHeightOption=C.height,v(F,y,C))})},_relocate:function(y,S){for(var b=y.option.elements,E=this.group,C=this._elMap,T=S.getWidth(),x=S.getHeight(),_=0;_<b.length;_++){var I=b[_],L=C.get(I.id);if(!L||!L.isGroup)continue;var R=L.parent,k=R===E;L.__ecGraphicWidth=l(L.__ecGraphicWidthOption,k?T:R.__ecGraphicWidth)||0,L.__ecGraphicHeight=l(L.__ecGraphicHeightOption,k?x:R.__ecGraphicHeight)||0}for(var _=b.length-1;_>=0;_--){var I=b[_],L=C.get(I.id);if(!L)continue;var R=L.parent,F=R===E?{width:T,height:x}:{width:R.__ecGraphicWidth,height:R.__ecGraphicHeight};c.positionElement(L,I,F,null,{hv:I.hv,boundingMode:I.bounding})}},_clear:function(){var y=this._elMap;y.each(function(S){r(S,y)}),this._elMap=m.createHashMap()},dispose:function(){this._clear()}});function i(y,S,b,E){var C=b.type,T=e.hasOwnProperty(C)?e[C]:p.getShapeClass(C),x=new T(b);S.add(x),E.set(y,x),x.__ecGraphicId=y}function r(y,S){var b=y&&y.parent;b&&(y.type==="group"&&y.traverse(function(E){r(E,S)}),S.removeKey(y.__ecGraphicId),b.remove(y))}function a(y){return y=m.extend({},y),m.each(["id","parentId","$action","hv","bounding"].concat(c.LOCATION_PARAMS),function(S){delete y[S]}),y}function t(y,S){var b;return m.each(S,function(E){y[E]!=null&&y[E]!=="auto"&&(b=!0)}),b}function s(y,S){var b=y.exist;if(S.id=y.keyInfo.id,!S.type&&b&&(S.type=b.type),S.parentId==null){var E=S.parentOption;E?S.parentId=E.id:b&&(S.parentId=b.parentId)}S.parentOption=null}function u(y,S,b){var E=m.extend({},b),C=y[S],T=b.$action||"merge";T==="merge"?C?(m.merge(C,E,!0),c.mergeLayoutParam(C,E,{ignoreSize:!0}),c.copyLayoutParams(b,C)):y[S]=E:T==="replace"?y[S]=E:T==="remove"&&(C&&(y[S]=null))}function d(y,S){if(!y)return;y.hv=S.hv=[t(S,["left","right"]),t(S,["top","bottom"])],y.type==="group"&&(y.width==null&&(y.width=S.width=0),y.height==null&&(y.height=S.height=0))}function v(y,S,b){var E=y.eventData;!y.silent&&!y.ignore&&!E&&(E=y.eventData={componentType:"graphic",componentIndex:S.componentIndex,name:y.name}),E&&(E.info=y.info)}},f3JH:function(M,B,o){o("aTJb"),o("OlYY"),o("fc+c"),o("oY9F"),o("MqEG"),o("LBfv"),o("noeP")},f5HG:function(M,B,o){var w=o("IwbS"),f=o("QBsz"),A=w.Line.prototype,m=w.BezierCurve.prototype;function g(c){return isNaN(+c.cpx1)||isNaN(+c.cpy1)}var p=w.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(c,h){this[g(h)?"_buildPathLine":"_buildPathCurve"](c,h)},_buildPathLine:A.buildPath,_buildPathCurve:m.buildPath,pointAt:function(c){return this[g(this.shape)?"_pointAtLine":"_pointAtCurve"](c)},_pointAtLine:A.pointAt,_pointAtCurve:m.pointAt,tangentAt:function(c){var h=this.shape,l=g(h)?[h.x2-h.x1,h.y2-h.y1]:this._tangentAtCurve(c);return f.normalize(l,l)},_tangentAtCurve:m.tangentAt});M.exports=p},f5Yq:function(M,B,o){var w=o("bYtY"),f=w.isFunction;function A(m,g,p){return{seriesType:m,performRawSeries:!0,reset:function(c,h,l){var e=c.getData(),n=c.get("symbol"),i=c.get("symbolSize"),r=c.get("symbolKeepAspect"),a=c.get("symbolRotate"),t=f(n),s=f(i),u=f(a),d=t||s||u,v=!t&&n?n:g,y=s?null:i,S=u?null:S;if(e.setVisual({legendSymbol:p||v,symbol:v,symbolSize:y,symbolKeepAspect:r,symbolRotate:a}),h.isSeriesFiltered(c))return;function b(E,C){if(d){var T=c.getRawValue(C),x=c.getDataParams(C);t&&E.setItemVisual(C,"symbol",n(T,x)),s&&E.setItemVisual(C,"symbolSize",i(T,x)),u&&E.setItemVisual(C,"symbolRotate",a(T,x))}if(E.hasItemOption){var _=E.getItemModel(C),I=_.getShallow("symbol",!0),L=_.getShallow("symbolSize",!0),R=_.getShallow("symbolRotate",!0),k=_.getShallow("symbolKeepAspect",!0);I!=null&&E.setItemVisual(C,"symbol",I),L!=null&&E.setItemVisual(C,"symbolSize",L),R!=null&&E.setItemVisual(C,"symbolRotate",R),k!=null&&E.setItemVisual(C,"symbolKeepAspect",k)}}return{dataEach:e.hasItemOption||d?b:null}}}}M.exports=A},fAei:function(M,B,o){"use strict";o.d(B,"a",function(){return b.a});var w=o("wx14"),f=o("rePB"),A=o("VTBJ"),m=o("KQm4"),g=o("1OyB"),p=o("vuIU"),c=o("JX7q"),h=o("Ji7U"),l=o("LK+K"),e=o("q1tI"),n=o("4IlW"),i=o("Kwbf"),r=o("TSYQ"),a=o.n(r),t=o("sboe"),s=o("OZM5"),u=o("815F"),d=o("ODXe"),v=o("Ff2n"),y=o("+nKL"),S=o("8XRh"),b=o("WaYH"),E=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],C=["key"],T=function(Ce,je){var te=Ce.className,ve=Ce.style,$e=Ce.motion,Le=Ce.motionNodes,he=Ce.motionType,ee=Ce.onMotionStart,se=Ce.onMotionEnd,Ue=Ce.active,ue=Ce.treeNodeRequiredProps,Ne=Object(v.a)(Ce,E),Fe=e.useState(!0),ae=Object(d.a)(Fe,2),ce=ae[0],_e=ae[1],ze=e.useContext(t.a),it=ze.prefixCls,Ze=e.useRef(!1),Ee=function(){Ze.current||se(),Ze.current=!0};return Object(e.useEffect)(function(){Le&&he==="hide"&&ce&&_e(!1)},[Le]),Object(e.useEffect)(function(){return Le&&ee(),function(){Le&&Ee()}},[]),Le?e.createElement(S.default,Object(w.a)({ref:je,visible:ce},$e,{motionAppear:he==="show",onAppearEnd:Ee,onLeaveEnd:Ee}),function(mt,Je){var rt=mt.className,wt=mt.style;return e.createElement("div",{ref:Je,className:a()("".concat(it,"-treenode-motion"),rt),style:wt},Le.map(function(Ot){var Ct=Ot.data,Dt=Ct.key,Xe=Object(v.a)(Ct,C),q=Ot.isStart,V=Ot.isEnd;delete Xe.children;var Ae=Object(u.f)(Dt,ue);return e.createElement(b.a,Object(w.a)({},Xe,Ae,{active:Ue,data:Ot.data,key:Dt,isStart:q,isEnd:V}))}))}):e.createElement(b.a,Object(w.a)({domRef:je,className:te,style:ve},Ne,{active:Ue}))};T.displayName="MotionTreeNode";var x=e.forwardRef(T),_=x;function I(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],je=be.length,te=Ce.length;if(Math.abs(je-te)!==1)return{add:!1,key:null};function ve($e,Le){var he=new Map;$e.forEach(function(se){he.set(se,!0)});var ee=Le.filter(function(se){return!he.has(se)});return ee.length===1?ee[0]:null}return je<te?{add:!0,key:ve(be,Ce)}:{add:!1,key:ve(Ce,be)}}function L(be,Ce,je){var te=be.findIndex(function(he){var ee=he.data;return ee.key===je}),ve=be[te+1],$e=Ce.findIndex(function(he){var ee=he.data;return ee.key===je});if(ve){var Le=Ce.findIndex(function(he){var ee=he.data;return ee.key===ve.data.key});return Ce.slice($e+1,Le)}return Ce.slice($e+1)}var R=["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"],k=["key"],F={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},P=function(){},W="RC_TREE_MOTION_".concat(Math.random()),D={key:W},U={key:W,level:0,index:0,pos:"0",node:D},H={parent:null,children:[],pos:U.pos,data:D,isStart:[],isEnd:[]};function j(be,Ce,je,te){return Ce===!1||!je?be:be.slice(0,Math.ceil(je/te)+1)}function K(be){var Ce=be.data.key,je=be.pos;return Object(u.e)(Ce,je)}function X(be){for(var Ce=String(be.data.key),je=be;je.parent;)je=je.parent,Ce="".concat(je.data.key," > ").concat(Ce);return Ce}var z=function(Ce,je){var te=Ce.prefixCls,ve=Ce.data,$e=Ce.selectable,Le=Ce.checkable,he=Ce.expandedKeys,ee=Ce.selectedKeys,se=Ce.checkedKeys,Ue=Ce.loadedKeys,ue=Ce.loadingKeys,Ne=Ce.halfCheckedKeys,Fe=Ce.keyEntities,ae=Ce.disabled,ce=Ce.dragging,_e=Ce.dragOverNodeKey,ze=Ce.dropPosition,it=Ce.motion,Ze=Ce.height,Ee=Ce.itemHeight,mt=Ce.virtual,Je=Ce.focusable,rt=Ce.activeItem,wt=Ce.focused,Ot=Ce.tabIndex,Ct=Ce.onKeyDown,Dt=Ce.onFocus,Xe=Ce.onBlur,q=Ce.onActiveChange,V=Ce.onListChangeStart,Ae=Ce.onListChangeEnd,xe=Object(v.a)(Ce,R),re=e.useRef(null),ot=e.useRef(null);e.useImperativeHandle(je,function(){return{scrollTo:function(Bt){re.current.scrollTo(Bt)},getIndentWidth:function(){return ot.current.offsetWidth}}});var bt=e.useState(he),tt=Object(d.a)(bt,2),Tt=tt[0],Gt=tt[1],lr=e.useState(ve),pr=Object(d.a)(lr,2),Rr=pr[0],xt=pr[1],It=e.useState(ve),At=Object(d.a)(It,2),Zt=At[0],br=At[1],Lr=e.useState([]),Jr=Object(d.a)(Lr,2),In=Jr[0],Gr=Jr[1],Tr=e.useState(null),fr=Object(d.a)(Tr,2),vt=fr[0],ft=fr[1];function Te(){xt(ve),br(ve),Gr([]),ft(null),Ae()}e.useEffect(function(){Gt(he);var st=I(Tt,he);if(st.key!==null)if(st.add){var Bt=Rr.findIndex(function(St){var kt=St.data.key;return kt===st.key}),$t=j(L(Rr,ve,st.key),mt,Ze,Ee),Nr=Rr.slice();Nr.splice(Bt+1,0,H),br(Nr),Gr($t),ft("show")}else{var yn=ve.findIndex(function(St){var kt=St.data.key;return kt===st.key}),un=j(L(ve,Rr,st.key),mt,Ze,Ee),Kt=ve.slice();Kt.splice(yn+1,0,H),br(Kt),Gr(un),ft("hide")}else Rr!==ve&&(xt(ve),br(ve))},[he,ve]),e.useEffect(function(){ce||Te()},[ce]);var Pe=it?Zt:ve,Ge={expandedKeys:he,selectedKeys:ee,loadedKeys:Ue,loadingKeys:ue,checkedKeys:se,halfCheckedKeys:Ne,dragOverNodeKey:_e,dropPosition:ze,keyEntities:Fe};return e.createElement(e.Fragment,null,wt&&rt&&e.createElement("span",{style:F,"aria-live":"assertive"},X(rt)),e.createElement("div",{role:"tree"},e.createElement("input",{style:F,disabled:Je===!1||ae,tabIndex:Je!==!1?Ot:null,onKeyDown:Ct,onFocus:Dt,onBlur:Xe,value:"",onChange:P})),e.createElement("div",{className:"".concat(te,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},e.createElement("div",{className:"".concat(te,"-indent")},e.createElement("div",{ref:ot,className:"".concat(te,"-indent-unit")}))),e.createElement(y.a,Object(w.a)({},xe,{data:Pe,itemKey:K,height:Ze,fullHeight:!1,virtual:mt,itemHeight:Ee,prefixCls:"".concat(te,"-list"),ref:re}),function(st){var Bt=st.pos,$t=st.data,Nr=$t.key,yn=Object(v.a)($t,k),un=st.isStart,Kt=st.isEnd,St=Object(u.e)(Nr,Bt);delete yn.children;var kt=Object(u.f)(St,Ge);return e.createElement(_,Object(w.a)({},yn,kt,{active:!!rt&&Nr===rt.data.key,pos:Bt,data:st.data,isStart:un,isEnd:Kt,motion:it,motionNodes:Nr===W?In:null,motionType:vt,onMotionStart:V,onMotionEnd:Te,treeNodeRequiredProps:Ge,onMouseMove:function(){q(null)}}))}))},Y=e.forwardRef(z);Y.displayName="NodeList";var $=Y,ne=o("NvD2");function J(be){var Ce=be.dropPosition,je=be.dropLevelOffset,te=be.indent,ve={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ce){case-1:ve.top=0,ve.left=-je*te;break;case 1:ve.bottom=0,ve.left=-je*te;break;case 0:ve.bottom=0,ve.left=te;break}return e.createElement("div",{style:ve})}var ge=function(be){Object(h.a)(je,be);var Ce=Object(l.a)(je);function je(){var te;Object(g.a)(this,je);for(var ve=arguments.length,$e=new Array(ve),Le=0;Le<ve;Le++)$e[Le]=arguments[Le];return te=Ce.call.apply(Ce,[this].concat($e)),te.destroyed=!1,te.delayedDragEnterLogic=void 0,te.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},te.dragStartMousePosition=null,te.dragNode=void 0,te.listRef=e.createRef(),te.onNodeDragStart=function(he,ee){var se=te.state,Ue=se.expandedKeys,ue=se.keyEntities,Ne=te.props.onDragStart,Fe=ee.props.eventKey;te.dragNode=ee,te.dragStartMousePosition={x:he.clientX,y:he.clientY};var ae=Object(s.b)(Ue,Fe);te.setState({dragging:!0,dragChildrenKeys:Object(s.g)(Fe,ue),indent:te.listRef.current.getIndentWidth()}),te.setExpandedKeys(ae),window.addEventListener("dragend",te.onWindowDragEnd),Ne&&Ne({event:he,node:Object(u.b)(ee.props)})},te.onNodeDragEnter=function(he,ee){var se=te.state,Ue=se.expandedKeys,ue=se.keyEntities,Ne=se.dragChildrenKeys,Fe=se.flattenNodes,ae=se.indent,ce=te.props,_e=ce.onDragEnter,ze=ce.onExpand,it=ce.allowDrop,Ze=ce.direction,Ee=ee.props.pos,mt=Object(c.a)(te),Je=mt.dragNode,rt=Object(s.c)(he,Je,ee,ae,te.dragStartMousePosition,it,Fe,ue,Ue,Ze),wt=rt.dropPosition,Ot=rt.dropLevelOffset,Ct=rt.dropTargetKey,Dt=rt.dropContainerKey,Xe=rt.dropTargetPos,q=rt.dropAllowed,V=rt.dragOverNodeKey;if(!Je||Ne.indexOf(Ct)!==-1||!q){te.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1});return}if(te.delayedDragEnterLogic||(te.delayedDragEnterLogic={}),Object.keys(te.delayedDragEnterLogic).forEach(function(Ae){clearTimeout(te.delayedDragEnterLogic[Ae])}),Je.props.eventKey!==ee.props.eventKey&&(he.persist(),te.delayedDragEnterLogic[Ee]=window.setTimeout(function(){if(!te.state.dragging)return;var Ae=Object(m.a)(Ue),xe=ue[ee.props.eventKey];xe&&(xe.children||[]).length&&(Ae=Object(s.a)(Ue,ee.props.eventKey)),"expandedKeys"in te.props||te.setExpandedKeys(Ae),ze&&ze(Ae,{node:Object(u.b)(ee.props),expanded:!0,nativeEvent:he.nativeEvent})},800)),Je.props.eventKey===Ct&&Ot===0){te.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1});return}te.setState({dragOverNodeKey:V,dropPosition:wt,dropLevelOffset:Ot,dropTargetKey:Ct,dropContainerKey:Dt,dropTargetPos:Xe,dropAllowed:q}),_e&&_e({event:he,node:Object(u.b)(ee.props),expandedKeys:Ue})},te.onNodeDragOver=function(he,ee){var se=te.state,Ue=se.dragChildrenKeys,ue=se.flattenNodes,Ne=se.keyEntities,Fe=se.expandedKeys,ae=se.indent,ce=te.props,_e=ce.onDragOver,ze=ce.allowDrop,it=ce.direction,Ze=Object(c.a)(te),Ee=Ze.dragNode,mt=Object(s.c)(he,Ee,ee,ae,te.dragStartMousePosition,ze,ue,Ne,Fe,it),Je=mt.dropPosition,rt=mt.dropLevelOffset,wt=mt.dropTargetKey,Ot=mt.dropContainerKey,Ct=mt.dropAllowed,Dt=mt.dropTargetPos,Xe=mt.dragOverNodeKey;if(!Ee||Ue.indexOf(wt)!==-1||!Ct)return;Ee.props.eventKey===wt&&rt===0?te.state.dropPosition===null&&te.state.dropLevelOffset===null&&te.state.dropTargetKey===null&&te.state.dropContainerKey===null&&te.state.dropTargetPos===null&&te.state.dropAllowed===!1&&te.state.dragOverNodeKey===null||te.setState({dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1,dragOverNodeKey:null}):Je===te.state.dropPosition&&rt===te.state.dropLevelOffset&&wt===te.state.dropTargetKey&&Ot===te.state.dropContainerKey&&Dt===te.state.dropTargetPos&&Ct===te.state.dropAllowed&&Xe===te.state.dragOverNodeKey||te.setState({dropPosition:Je,dropLevelOffset:rt,dropTargetKey:wt,dropContainerKey:Ot,dropTargetPos:Dt,dropAllowed:Ct,dragOverNodeKey:Xe}),_e&&_e({event:he,node:Object(u.b)(ee.props)})},te.onNodeDragLeave=function(he,ee){var se=te.props.onDragLeave;se&&se({event:he,node:Object(u.b)(ee.props)})},te.onWindowDragEnd=function(he){te.onNodeDragEnd(he,null,!0),window.removeEventListener("dragend",te.onWindowDragEnd)},te.onNodeDragEnd=function(he,ee){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ue=te.props.onDragEnd;te.setState({dragOverNodeKey:null}),te.cleanDragState(),Ue&&!se&&Ue({event:he,node:Object(u.b)(ee.props)}),te.dragNode=null},te.onNodeDrop=function(he,ee){var se,Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ue=te.state,Ne=ue.dragChildrenKeys,Fe=ue.dropPosition,ae=ue.dropTargetKey,ce=ue.dropTargetPos,_e=ue.dropAllowed;if(!_e)return;var ze=te.props.onDrop;if(te.setState({dragOverNodeKey:null}),te.cleanDragState(),ae===null)return;var it=Object(A.a)(Object(A.a)({},Object(u.f)(ae,te.getTreeNodeRequiredProps())),{},{active:((se=te.getActiveItem())===null||se===void 0?void 0:se.data.key)===ae,data:te.state.keyEntities[ae].node}),Ze=Ne.indexOf(ae)!==-1;Object(i.a)(!Ze,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Ee=Object(s.k)(ce),mt={event:he,node:Object(u.b)(it),dragNode:te.dragNode?Object(u.b)(te.dragNode.props):null,dragNodesKeys:[te.dragNode.props.eventKey].concat(Ne),dropToGap:Fe!==0,dropPosition:Fe+Number(Ee[Ee.length-1])};ze&&!Ue&&ze(mt),te.dragNode=null},te.cleanDragState=function(){var he=te.state.dragging;he&&te.setState({dragging:!1,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),te.dragStartMousePosition=null},te.onNodeClick=function(he,ee){var se=te.props.onClick;se&&se(he,ee)},te.onNodeDoubleClick=function(he,ee){var se=te.props.onDoubleClick;se&&se(he,ee)},te.onNodeSelect=function(he,ee){var se=te.state.selectedKeys,Ue=te.state.keyEntities,ue=te.props,Ne=ue.onSelect,Fe=ue.multiple,ae=ee.selected,ce=ee.key,_e=!ae;_e?Fe?se=Object(s.a)(se,ce):se=[ce]:se=Object(s.b)(se,ce);var ze=se.map(function(it){var Ze=Ue[it];return Ze?Ze.node:null}).filter(function(it){return it});te.setUncontrolledState({selectedKeys:se}),Ne&&Ne(se,{event:"select",selected:_e,node:ee,selectedNodes:ze,nativeEvent:he.nativeEvent})},te.onNodeCheck=function(he,ee,se){var Ue=te.state,ue=Ue.keyEntities,Ne=Ue.checkedKeys,Fe=Ue.halfCheckedKeys,ae=te.props,ce=ae.checkStrictly,_e=ae.onCheck,ze=ee.key,it,Ze={event:"check",node:ee,checked:se,nativeEvent:he.nativeEvent};if(ce){var Ee=se?Object(s.a)(Ne,ze):Object(s.b)(Ne,ze),mt=Object(s.b)(Fe,ze);it={checked:Ee,halfChecked:mt},Ze.checkedNodes=Ee.map(function(Dt){return ue[Dt]}).filter(function(Dt){return Dt}).map(function(Dt){return Dt.node}),te.setUncontrolledState({checkedKeys:Ee})}else{var Je=Object(ne.a)([].concat(Object(m.a)(Ne),[ze]),!0,ue),rt=Je.checkedKeys,wt=Je.halfCheckedKeys;if(!se){var Ot=new Set(rt);Ot.delete(ze);var Ct=Object(ne.a)(Array.from(Ot),{checked:!1,halfCheckedKeys:wt},ue);rt=Ct.checkedKeys,wt=Ct.halfCheckedKeys}it=rt,Ze.checkedNodes=[],Ze.checkedNodesPositions=[],Ze.halfCheckedKeys=wt,rt.forEach(function(Dt){var Xe=ue[Dt];if(!Xe)return;var q=Xe.node,V=Xe.pos;Ze.checkedNodes.push(q),Ze.checkedNodesPositions.push({node:q,pos:V})}),te.setUncontrolledState({checkedKeys:rt},!1,{halfCheckedKeys:wt})}_e&&_e(it,Ze)},te.onNodeLoad=function(he){return new Promise(function(ee,se){te.setState(function(Ue){var ue=Ue.loadedKeys,Ne=ue===void 0?[]:ue,Fe=Ue.loadingKeys,ae=Fe===void 0?[]:Fe,ce=te.props,_e=ce.loadData,ze=ce.onLoad,it=he.key;if(!_e||Ne.indexOf(it)!==-1||ae.indexOf(it)!==-1)return null;var Ze=_e(he);return Ze.then(function(){var Ee=te.state,mt=Ee.loadedKeys,Je=Ee.loadingKeys,rt=Object(s.a)(mt,it),wt=Object(s.b)(Je,it);ze&&ze(rt,{event:"load",node:he}),te.setUncontrolledState({loadedKeys:rt}),te.setState({loadingKeys:wt}),ee()}).catch(function(Ee){var mt=te.state.loadingKeys,Je=Object(s.b)(mt,it);te.setState({loadingKeys:Je}),se(Ee)}),{loadingKeys:Object(s.a)(ae,it)}})})},te.onNodeMouseEnter=function(he,ee){var se=te.props.onMouseEnter;se&&se({event:he,node:ee})},te.onNodeMouseLeave=function(he,ee){var se=te.props.onMouseLeave;se&&se({event:he,node:ee})},te.onNodeContextMenu=function(he,ee){var se=te.props.onRightClick;se&&(he.preventDefault(),se({event:he,node:ee}))},te.onFocus=function(){var he=te.props.onFocus;te.setState({focused:!0}),he&&he.apply(void 0,arguments)},te.onBlur=function(){var he=te.props.onBlur;te.setState({focused:!1}),te.onActiveChange(null),he&&he.apply(void 0,arguments)},te.getTreeNodeRequiredProps=function(){var he=te.state,ee=he.expandedKeys,se=he.selectedKeys,Ue=he.loadedKeys,ue=he.loadingKeys,Ne=he.checkedKeys,Fe=he.halfCheckedKeys,ae=he.dragOverNodeKey,ce=he.dropPosition,_e=he.keyEntities;return{expandedKeys:ee||[],selectedKeys:se||[],loadedKeys:Ue||[],loadingKeys:ue||[],checkedKeys:Ne||[],halfCheckedKeys:Fe||[],dragOverNodeKey:ae,dropPosition:ce,keyEntities:_e}},te.setExpandedKeys=function(he){var ee=te.state.treeData,se=Object(u.d)(ee,he);te.setUncontrolledState({expandedKeys:he,flattenNodes:se},!0)},te.onNodeExpand=function(he,ee){var se=te.state.expandedKeys,Ue=te.state.listChanging,ue=te.props,Ne=ue.onExpand,Fe=ue.loadData,ae=ee.key,ce=ee.expanded;if(Ue)return;var _e=se.indexOf(ae),ze=!ce;if(Object(i.a)(ce&&_e!==-1||!ce&&_e===-1,"Expand state not sync with index check"),ze?se=Object(s.a)(se,ae):se=Object(s.b)(se,ae),te.setExpandedKeys(se),Ne&&Ne(se,{node:ee,expanded:ze,nativeEvent:he.nativeEvent}),ze&&Fe){var it=te.onNodeLoad(ee);it&&it.then(function(){var Ze=Object(u.d)(te.state.treeData,se);te.setUncontrolledState({flattenNodes:Ze})}).catch(function(){var Ze=te.state.expandedKeys,Ee=Object(s.b)(Ze,ae);te.setExpandedKeys(Ee)})}},te.onListChangeStart=function(){te.setUncontrolledState({listChanging:!0})},te.onListChangeEnd=function(){setTimeout(function(){te.setUncontrolledState({listChanging:!1})})},te.onActiveChange=function(he){var ee=te.state.activeKey,se=te.props.onActiveChange;if(ee===he)return;te.setState({activeKey:he}),he!==null&&te.scrollTo({key:he}),se&&se(he)},te.getActiveItem=function(){var he=te.state,ee=he.activeKey,se=he.flattenNodes;return ee===null?null:se.find(function(Ue){var ue=Ue.data.key;return ue===ee})||null},te.offsetActiveKey=function(he){var ee=te.state,se=ee.flattenNodes,Ue=ee.activeKey,ue=se.findIndex(function(ae){var ce=ae.data.key;return ce===Ue});ue===-1&&he<0&&(ue=se.length),ue=(ue+he+se.length)%se.length;var Ne=se[ue];if(Ne){var Fe=Ne.data.key;te.onActiveChange(Fe)}else te.onActiveChange(null)},te.onKeyDown=function(he){var ee=te.state,se=ee.activeKey,Ue=ee.expandedKeys,ue=ee.checkedKeys,Ne=te.props,Fe=Ne.onKeyDown,ae=Ne.checkable,ce=Ne.selectable;switch(he.which){case n.a.UP:{te.offsetActiveKey(-1),he.preventDefault();break}case n.a.DOWN:{te.offsetActiveKey(1),he.preventDefault();break}}var _e=te.getActiveItem();if(_e&&_e.data){var ze=te.getTreeNodeRequiredProps(),it=_e.data.isLeaf===!1||!!(_e.data.children||[]).length,Ze=Object(u.b)(Object(A.a)(Object(A.a)({},Object(u.f)(se,ze)),{},{data:_e.data,active:!0}));switch(he.which){case n.a.LEFT:{it&&Ue.includes(se)?te.onNodeExpand({},Ze):_e.parent&&te.onActiveChange(_e.parent.data.key),he.preventDefault();break}case n.a.RIGHT:{it&&!Ue.includes(se)?te.onNodeExpand({},Ze):_e.children&&_e.children.length&&te.onActiveChange(_e.children[0].data.key),he.preventDefault();break}case n.a.ENTER:case n.a.SPACE:{ae&&!Ze.disabled&&Ze.checkable!==!1&&!Ze.disableCheckbox?te.onNodeCheck({},Ze,!ue.includes(se)):!ae&&ce&&!Ze.disabled&&Ze.selectable!==!1&&te.onNodeSelect({},Ze);break}}}Fe&&Fe(he)},te.setUncontrolledState=function(he){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(te.destroyed)return;var Ue=!1,ue=!0,Ne={};Object.keys(he).forEach(function(Fe){if(Fe in te.props){ue=!1;return}Ue=!0,Ne[Fe]=he[Fe]}),Ue&&(!ee||ue)&&te.setState(Object(A.a)(Object(A.a)({},Ne),se))},te.scrollTo=function(he){te.listRef.current.scrollTo(he)},te}return Object(p.a)(je,[{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"render",value:function(){var ve,$e=this.state,Le=$e.focused,he=$e.flattenNodes,ee=$e.keyEntities,se=$e.dragging,Ue=$e.activeKey,ue=$e.dropLevelOffset,Ne=$e.dropContainerKey,Fe=$e.dropTargetKey,ae=$e.dropPosition,ce=$e.dragOverNodeKey,_e=$e.indent,ze=this.props,it=ze.prefixCls,Ze=ze.className,Ee=ze.style,mt=ze.showLine,Je=ze.focusable,rt=ze.tabIndex,wt=rt===void 0?0:rt,Ot=ze.selectable,Ct=ze.showIcon,Dt=ze.icon,Xe=ze.switcherIcon,q=ze.draggable,V=ze.checkable,Ae=ze.checkStrictly,xe=ze.disabled,re=ze.motion,ot=ze.loadData,bt=ze.filterTreeNode,tt=ze.height,Tt=ze.itemHeight,Gt=ze.virtual,lr=ze.titleRender,pr=ze.dropIndicatorRender,Rr=ze.onContextMenu,xt=ze.direction,It=Object(s.f)(this.props);return e.createElement(t.a.Provider,{value:{prefixCls:it,selectable:Ot,showIcon:Ct,icon:Dt,switcherIcon:Xe,draggable:q,checkable:V,checkStrictly:Ae,disabled:xe,keyEntities:ee,dropLevelOffset:ue,dropContainerKey:Ne,dropTargetKey:Fe,dropPosition:ae,dragOverNodeKey:ce,indent:_e,direction:xt,dropIndicatorRender:pr,loadData:ot,filterTreeNode:bt,titleRender:lr,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}},e.createElement("div",{className:a()(it,Ze,(ve={},Object(f.a)(ve,"".concat(it,"-show-line"),mt),Object(f.a)(ve,"".concat(it,"-focused"),Le),Object(f.a)(ve,"".concat(it,"-active-focused"),Ue!==null),ve))},e.createElement($,Object(w.a)({ref:this.listRef,prefixCls:it,style:Ee,data:he,disabled:xe,selectable:Ot,checkable:!!V,motion:re,dragging:se,height:tt,itemHeight:Tt,virtual:Gt,focusable:Je,focused:Le,tabIndex:wt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Rr},this.getTreeNodeRequiredProps(),It))))}}],[{key:"getDerivedStateFromProps",value:function(ve,$e){var Le=$e.prevProps,he={prevProps:ve};function ee(mt){return!Le&&mt in ve||Le&&Le[mt]!==ve[mt]}var se;if(ee("treeData")?se=ve.treeData:ee("children")&&(Object(i.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),se=Object(u.c)(ve.children)),se){he.treeData=se;var Ue=Object(u.a)(se);he.keyEntities=Object(A.a)(Object(f.a)({},W,U),Ue.keyEntities)}var ue=he.keyEntities||$e.keyEntities;if(ee("expandedKeys")||Le&&ee("autoExpandParent"))he.expandedKeys=ve.autoExpandParent||!Le&&ve.defaultExpandParent?Object(s.e)(ve.expandedKeys,ue):ve.expandedKeys;else if(!Le&&ve.defaultExpandAll){var Ne=Object(A.a)({},ue);delete Ne[W],he.expandedKeys=Object.keys(Ne).map(function(mt){return Ne[mt].key})}else!Le&&ve.defaultExpandedKeys&&(he.expandedKeys=ve.autoExpandParent||ve.defaultExpandParent?Object(s.e)(ve.defaultExpandedKeys,ue):ve.defaultExpandedKeys);if(he.expandedKeys||delete he.expandedKeys,se||he.expandedKeys){var Fe=Object(u.d)(se||$e.treeData,he.expandedKeys||$e.expandedKeys);he.flattenNodes=Fe}if(ve.selectable&&(ee("selectedKeys")?he.selectedKeys=Object(s.d)(ve.selectedKeys,ve):!Le&&ve.defaultSelectedKeys&&(he.selectedKeys=Object(s.d)(ve.defaultSelectedKeys,ve))),ve.checkable){var ae;if(ee("checkedKeys")?ae=Object(s.j)(ve.checkedKeys)||{}:!Le&&ve.defaultCheckedKeys?ae=Object(s.j)(ve.defaultCheckedKeys)||{}:se&&(ae=Object(s.j)(ve.checkedKeys)||{checkedKeys:$e.checkedKeys,halfCheckedKeys:$e.halfCheckedKeys}),ae){var ce=ae,_e=ce.checkedKeys,ze=_e===void 0?[]:_e,it=ce.halfCheckedKeys,Ze=it===void 0?[]:it;if(!ve.checkStrictly){var Ee=Object(ne.a)(ze,!0,ue);ze=Ee.checkedKeys,Ze=Ee.halfCheckedKeys}he.checkedKeys=ze,he.halfCheckedKeys=Ze}}return ee("loadedKeys")&&(he.loadedKeys=ve.loadedKeys),he}}]),je}(e.Component);ge.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:[],dropIndicatorRender:J,allowDrop:function(){return!0}},ge.TreeNode=b.a;var de=ge,Ie=B.b=de},fE02:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("/IIm"),m=o("vZ6x"),g=o("b9oc"),p=o("72pK"),c=o("Kagy"),h=o("IUWy");o("3TkU");var l=c.toolbox.dataZoom,e=f.each,n="\0_ec_\0toolbox-dataZoom_";function i(v,y,S){(this._brushController=new A(S.getZr())).on("brush",f.bind(this._onBrush,this)).mount(),this._isZoomActive}i.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(l.title)};var r=i.prototype;r.render=function(v,y,S,b){this.model=v,this.ecModel=y,this.api=S,u(v,y,this,b,S),s(v,y)},r.onclick=function(v,y,S){a[S].call(this)},r.remove=function(v,y){this._brushController.unmount()},r.dispose=function(v,y){this._brushController.dispose()};var a={zoom:function(){var v=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:v})},back:function(){this._dispatchZoomAction(g.pop(this.ecModel))}};r._onBrush=function(v,y){if(!y.isEnd||!v.length)return;var S={},b=this.ecModel;this._brushController.updateCovers([]);var E=new m(t(this.model.option),b,{include:["grid"]});E.matchOutputRanges(v,b,function(x,_,I){if(I.type!=="cartesian2d")return;var L=x.brushType;L==="rect"?(C("x",I,_[0]),C("y",I,_[1])):C({lineX:"x",lineY:"y"}[L],I,_)}),g.push(b,S),this._dispatchZoomAction(S);function C(x,_,I){var L=_.getAxis(x),R=L.model,k=T(x,R,b),F=k.findRepresentativeAxisProxy(R).getMinMaxSpan();(F.minValueSpan!=null||F.maxValueSpan!=null)&&(I=p(0,I.slice(),L.scale.getExtent(),0,F.minValueSpan,F.maxValueSpan)),k&&(S[k.id]={dataZoomId:k.id,startValue:I[0],endValue:I[1]})}function T(x,_,I){var L;return I.eachComponent({mainType:"dataZoom",subType:"select"},function(R){var k=R.getAxisModel(x,_.componentIndex);k&&(L=R)}),L}},r._dispatchZoomAction=function(v){var y=[];e(v,function(S,b){y.push(f.clone(S))}),y.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:y})};function t(v){var y={};return f.each(["xAxisIndex","yAxisIndex"],function(S){y[S]=v[S],y[S]==null&&(y[S]="all"),(y[S]===!1||y[S]==="none")&&(y[S]=[])}),y}function s(v,y){v.setIconStatus("back",g.count(y)>1?"emphasis":"normal")}function u(v,y,S,b,E){var C=S._isZoomActive;b&&b.type==="takeGlobalCursor"&&(C=b.key==="dataZoomSelect"?b.dataZoomSelectActive:!1),S._isZoomActive=C,v.setIconStatus("zoom",C?"emphasis":"normal");var T=new m(t(v.option),y,{include:["grid"]});S._brushController.setPanels(T.makePanelOpts(E,function(x){return x.xAxisDeclared&&!x.yAxisDeclared?"lineX":!x.xAxisDeclared&&x.yAxisDeclared?"lineY":"rect"})).enableBrush(C?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}h.register("dataZoom",i),w.registerPreprocessor(function(v){if(!v)return;var y=v.dataZoom||(v.dataZoom=[]);f.isArray(y)||(v.dataZoom=y=[y]);var S=v.toolbox;if(S&&(f.isArray(S)&&(S=S[0]),S&&S.feature)){var b=S.feature.dataZoom;E("xAxis",b),E("yAxis",b)}function E(T,x){if(!x)return;var _=T+"Index",I=x[_];I!=null&&I!=="all"&&!f.isArray(I)&&(I=I===!1||I==="none"?[]:[I]),C(T,function(L,R){if(I!=null&&I!=="all"&&f.indexOf(I,R)===-1)return;var k={type:"select",$fromToolbox:!0,filterMode:x.filterMode||"filter",id:n+T+R};k[_]=R,y.push(k)})}function C(T,x){var _=v[T];f.isArray(_)||(_=_?[_]:[]),e(_,x)}});var d=i;M.exports=d},fKGV:function(M,B,o){"use strict";o.d(B,"a",function(){return A}),o.d(B,"b",function(){return m});var w=o("KQm4"),f=o("wgJM");function A(g){var p,c=function(e){return function(){p=null,g.apply(void 0,Object(w.a)(e))}},h=function(){if(p==null){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];p=Object(f.a)(c(n))}};return h.cancel=function(){return f.a.cancel(p)},h}function m(){return function(p,c,h){var l=h.value,e=!1;return{configurable:!0,get:function(){if(e||this===p.prototype||this.hasOwnProperty(c))return l;var i=A(l.bind(this));return e=!0,Object.defineProperty(this,c,{value:i,configurable:!0,writable:!0}),e=!1,i}}}}},fW2E:function(M,B){var o={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function w(f,A,m){return o.hasOwnProperty(A)?m*=f.dpr:m}M.exports=w},fbBs:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("qK71"),m=o.n(A)},"fc+c":function(M,B,o){var w=o("sS/r"),f=w.extend({type:"dataZoom",render:function(A,m,g,p){this.dataZoomModel=A,this.ecModel=m,this.api=g},getTargetCoordInfo:function(){var A=this.dataZoomModel,m=this.ecModel,g={};A.eachTargetAxis(function(c,h){var l=m.getComponent(c.axis,h);if(l){var e=l.getCoordSysModel();e&&p(e,l,g[e.mainType]||(g[e.mainType]=[]),e.componentIndex)}},this);function p(c,h,l,e){for(var n,i=0;i<l.length;i++)if(l[i].model===c){n=l[i];break}n||l.push(n={model:c,axisModels:[],coordIndex:e}),n.axisModels.push(h)}return g}});M.exports=f},fjKi:function(M,B,o){var w=o("ProS");o("Q7if"),o("jndi"),w.registerPreprocessor(function(f){f.markArea=f.markArea||{}})},fls0:function(M,B,o){var w=o("bYtY"),f=o("QBsz"),A=o("oVpE"),m=o("f5HG"),g=o("IwbS"),p=o("OELB"),c=p.round,h=["fromSymbol","toSymbol"];function l(u){return"_"+u+"Type"}function e(u,d,v){var y=d.getItemVisual(v,"color"),S=d.getItemVisual(v,u),b=d.getItemVisual(v,u+"Size");if(!S||S==="none")return;w.isArray(b)||(b=[b,b]);var E=A.createSymbol(S,-b[0]/2,-b[1]/2,b[0],b[1],y);return E.name=u,E}function n(u){var d=new m({name:"line",subPixelOptimize:!0});return i(d.shape,u),d}function i(u,d){u.x1=d[0][0],u.y1=d[0][1],u.x2=d[1][0],u.y2=d[1][1],u.percent=1;var v=d[2];v?(u.cpx1=v[0],u.cpy1=v[1]):(u.cpx1=NaN,u.cpy1=NaN)}function r(){var u=this,d=u.childOfName("fromSymbol"),v=u.childOfName("toSymbol"),y=u.childOfName("label");if(!d&&!v&&y.ignore)return;for(var S=1,b=this.parent;b;)b.scale&&(S/=b.scale[0]),b=b.parent;var E=u.childOfName("line");if(!this.__dirty&&!E.__dirty)return;var C=E.shape.percent,T=E.pointAt(0),x=E.pointAt(C),_=f.sub([],x,T);if(f.normalize(_,_),d){d.attr("position",T);var I=E.tangentAt(0);d.attr("rotation",Math.PI/2-Math.atan2(I[1],I[0])),d.attr("scale",[S*C,S*C])}if(v){v.attr("position",x);var I=E.tangentAt(1);v.attr("rotation",-Math.PI/2-Math.atan2(I[1],I[0])),v.attr("scale",[S*C,S*C])}if(!y.ignore){y.attr("position",x);var L,R,k,F,P=y.__labelDistance,W=P[0]*S,D=P[1]*S,U=C/2,I=E.tangentAt(U),H=[I[1],-I[0]],j=E.pointAt(U);H[1]>0&&(H[0]=-H[0],H[1]=-H[1]);var K=I[0]<0?-1:1;if(y.__position!=="start"&&y.__position!=="end"){var X=-Math.atan2(I[1],I[0]);x[0]<T[0]&&(X=Math.PI+X),y.attr("rotation",X)}var z;switch(y.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":z=-D,k="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":z=D,k="top";break;default:z=0,k="middle"}switch(y.__position){case"end":L=[_[0]*W+x[0],_[1]*D+x[1]],R=_[0]>.8?"left":_[0]<-.8?"right":"center",k=_[1]>.8?"top":_[1]<-.8?"bottom":"middle";break;case"start":L=[-_[0]*W+T[0],-_[1]*D+T[1]],R=_[0]>.8?"right":_[0]<-.8?"left":"center",k=_[1]>.8?"bottom":_[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":L=[W*K+T[0],T[1]+z],R=I[0]<0?"right":"left",F=[-W*K,-z];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":L=[j[0],j[1]+z],R="center",F=[0,-z];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":L=[-W*K+x[0],x[1]+z],R=I[0]>=0?"right":"left",F=[W*K,-z];break}y.attr({style:{textVerticalAlign:y.__verticalAlign||k,textAlign:y.__textAlign||R},position:L,scale:[S,S],origin:F})}}function a(u,d,v){g.Group.call(this),this._createLine(u,d,v)}var t=a.prototype;t.beforeUpdate=r,t._createLine=function(u,d,v){var y=u.hostModel,S=u.getItemLayout(d),b=n(S);b.shape.percent=0,g.initProps(b,{shape:{percent:1}},y,d),this.add(b);var E=new g.Text({name:"label",lineLabelOriginalOpacity:1});this.add(E),w.each(h,function(C){var T=e(C,u,d);this.add(T),this[l(C)]=u.getItemVisual(d,C)},this),this._updateCommonStl(u,d,v)},t.updateData=function(u,d,v){var y=u.hostModel,S=this.childOfName("line"),b=u.getItemLayout(d),E={shape:{}};i(E.shape,b),g.updateProps(S,E,y,d),w.each(h,function(C){var T=u.getItemVisual(d,C),x=l(C);if(this[x]!==T){this.remove(this.childOfName(C));var _=e(C,u,d);this.add(_)}this[x]=T},this),this._updateCommonStl(u,d,v)},t._updateCommonStl=function(u,d,v){var y=u.hostModel,S=this.childOfName("line"),b=v&&v.lineStyle,E=v&&v.hoverLineStyle,C=v&&v.labelModel,T=v&&v.hoverLabelModel;if(!v||u.hasItemOption){var x=u.getItemModel(d);b=x.getModel("lineStyle").getLineStyle(),E=x.getModel("emphasis.lineStyle").getLineStyle(),C=x.getModel("label"),T=x.getModel("emphasis.label")}var _=u.getItemVisual(d,"color"),I=w.retrieve3(u.getItemVisual(d,"opacity"),b.opacity,1);S.useStyle(w.defaults({strokeNoScale:!0,fill:"none",stroke:_,opacity:I},b)),S.hoverStyle=E,w.each(h,function(K){var X=this.childOfName(K);X&&(X.setColor(_),X.setStyle({opacity:I}))},this);var L=C.getShallow("show"),R=T.getShallow("show"),k=this.childOfName("label"),F,P;if((L||R)&&(F=_||"#000",P=y.getFormattedLabel(d,"normal",u.dataType),P==null)){var W=y.getRawValue(d);P=W==null?u.getName(d):isFinite(W)?c(W):W}var D=L?P:null,U=R?w.retrieve2(y.getFormattedLabel(d,"emphasis",u.dataType),P):null,H=k.style;if(D!=null||U!=null){g.setTextStyle(k.style,C,{text:D},{autoColor:F}),k.__textAlign=H.textAlign,k.__verticalAlign=H.textVerticalAlign,k.__position=C.get("position")||"middle";var j=C.get("distance");w.isArray(j)||(j=[j,j]),k.__labelDistance=j}U!=null?k.hoverStyle={text:U,textFill:T.getTextColor(!0),fontStyle:T.getShallow("fontStyle"),fontWeight:T.getShallow("fontWeight"),fontSize:T.getShallow("fontSize"),fontFamily:T.getShallow("fontFamily")}:k.hoverStyle={text:null},k.ignore=!L&&!R,g.setHoverStyle(this)},t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.updateLayout=function(u,d){this.setLinePoints(u.getItemLayout(d))},t.setLinePoints=function(u){var d=this.childOfName("line");i(d.shape,u),d.dirty()},w.inherits(a,g.Group);var s=a;M.exports=s},fmMI:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=A.each,g=A.filter,p=A.map,c=A.isArray,h=A.indexOf,l=A.isObject,e=A.isString,n=A.createHashMap,i=A.assert,r=A.clone,a=A.merge,t=A.extend,s=A.mixin,u=o("4NO4"),d=o("Qxkt"),v=o("bLfw"),y=o("iXHM"),S=o("5Hur"),b=o("D5nY"),E=b.resetSourceDefaulter,C="\0_ec_inner",T=d.extend({init:function(D,U,H,j){H=H||{},this.option=null,this._theme=new d(H),this._optionManager=j},setOption:function(D,U){i(!(C in D),"please use chart.getOption()"),this._optionManager.setOption(D,U),this.resetOption(null)},resetOption:function(D){var U=!1,H=this._optionManager;if(!D||D==="recreate"){var j=H.mountOption(D==="recreate");!this.option||D==="recreate"?I.call(this,j):(this.restoreData(),this.mergeOption(j)),U=!0}if((D==="timeline"||D==="media")&&this.restoreData(),!D||D==="recreate"||D==="timeline"){var K=H.getTimelineOption(this);K&&(this.mergeOption(K),U=!0)}if(!D||D==="recreate"||D==="media"){var X=H.getMediaOption(this,this._api);X.length&&m(X,function(z){this.mergeOption(z,U=!0)},this)}return U},mergeOption:function(D){var U=this.option,H=this._componentsMap,j=[];E(this),m(D,function(X,z){if(X==null)return;v.hasClass(z)?z&&j.push(z):U[z]=U[z]==null?r(X):a(U[z],X,!0)}),v.topologicalTravel(j,v.getAllClassMainTypes(),K,this);function K(X,z){var Y=u.normalizeToArray(D[X]),$=u.mappingToExists(H.get(X),Y);u.makeIdAndName($),m($,function(J,ge){var de=J.option;l(de)&&(J.keyInfo.mainType=X,J.keyInfo.subType=R(X,de,J.exist))});var ne=L(H,z);U[X]=[],H.set(X,[]),m($,function(J,ge){var de=J.exist,Ie=J.option;if(i(l(Ie)||de,"Empty component definition"),!Ie)de.mergeOption({},this),de.optionUpdated({},!1);else{var be=v.getClass(X,J.keyInfo.subType,!0);if(de&&de.constructor===be)de.name=J.keyInfo.name,de.mergeOption(Ie,this),de.optionUpdated(Ie,!1);else{var Ce=t({dependentModels:ne,componentIndex:ge},J.keyInfo);de=new be(Ie,this,this,Ce),t(de,Ce),de.init(Ie,this,this,Ce),de.optionUpdated(null,!0)}}H.get(X)[ge]=de,U[X][ge]=de.option},this),X==="series"&&k(this,H.get("series"))}this._seriesIndicesMap=n(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var D=r(this.option);return m(D,function(U,H){if(v.hasClass(H)){for(var U=u.normalizeToArray(U),j=U.length-1;j>=0;j--)u.isIdInner(U[j])&&U.splice(j,1);D[H]=U}}),delete D[C],D},getTheme:function(){return this._theme},getComponent:function(D,U){var H=this._componentsMap.get(D);if(H)return H[U||0]},queryComponents:function(D){var U=D.mainType;if(!U)return[];var H=D.index,j=D.id,K=D.name,X=this._componentsMap.get(U);if(!X||!X.length)return[];var z;if(H!=null)c(H)||(H=[H]),z=g(p(H,function(ne){return X[ne]}),function(ne){return!!ne});else if(j!=null){var Y=c(j);z=g(X,function(ne){return Y&&h(j,ne.id)>=0||!Y&&ne.id===j})}else if(K!=null){var $=c(K);z=g(X,function(ne){return $&&h(K,ne.name)>=0||!$&&ne.name===K})}else z=X.slice();return F(z,D)},findComponents:function(D){var U=D.query,H=D.mainType,j=X(U),K=j?this.queryComponents(j):this._componentsMap.get(H);return z(F(K,D));function X(Y){var $=H+"Index",ne=H+"Id",J=H+"Name";return Y&&(Y[$]!=null||Y[ne]!=null||Y[J]!=null)?{mainType:H,index:Y[$],id:Y[ne],name:Y[J]}:null}function z(Y){return D.filter?g(Y,D.filter):Y}},eachComponent:function(D,U,H){var j=this._componentsMap;if(typeof D=="function")H=U,U=D,j.each(function(X,z){m(X,function(Y,$){U.call(H,z,Y,$)})});else if(e(D))m(j.get(D),U,H);else if(l(D)){var K=this.findComponents(D);m(K,U,H)}},getSeriesByName:function(D){var U=this._componentsMap.get("series");return g(U,function(H){return H.name===D})},getSeriesByIndex:function(D){return this._componentsMap.get("series")[D]},getSeriesByType:function(D){var U=this._componentsMap.get("series");return g(U,function(H){return H.subType===D})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(D,U){P(this),m(this._seriesIndices,function(H){var j=this._componentsMap.get("series")[H];D.call(U,j,H)},this)},eachRawSeries:function(D,U){m(this._componentsMap.get("series"),D,U)},eachSeriesByType:function(D,U,H){P(this),m(this._seriesIndices,function(j){var K=this._componentsMap.get("series")[j];K.subType===D&&U.call(H,K,j)},this)},eachRawSeriesByType:function(D,U,H){return m(this.getSeriesByType(D),U,H)},isSeriesFiltered:function(D){return P(this),this._seriesIndicesMap.get(D.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(D,U){P(this);var H=g(this._componentsMap.get("series"),D,U);k(this,H)},restoreData:function(D){var U=this._componentsMap;k(this,U.get("series"));var H=[];U.each(function(j,K){H.push(K)}),v.topologicalTravel(H,v.getAllClassMainTypes(),function(j,K){m(U.get(j),function(X){(j!=="series"||!x(X,D))&&X.restoreData()})})}});function x(D,U){if(U){var H=U.seiresIndex,j=U.seriesId,K=U.seriesName;return H!=null&&D.componentIndex!==H||j!=null&&D.id!==j||K!=null&&D.name!==K}}function _(D,U){var H=D.color&&!D.colorLayer;m(U,function(j,K){if(K==="colorLayer"&&H)return;v.hasClass(K)||(typeof j=="object"?D[K]=D[K]?a(D[K],j,!1):r(j):D[K]==null&&(D[K]=j))})}function I(D){D=D,this.option={},this.option[C]=1,this._componentsMap=n({series:[]}),this._seriesIndices,this._seriesIndicesMap,_(D,this._theme.option),a(D,y,!1),this.mergeOption(D)}function L(D,U){c(U)||(U=U?[U]:[]);var H={};return m(U,function(j){H[j]=(D.get(j)||[]).slice()}),H}function R(D,U,H){var j=U.type?U.type:H?H.subType:v.determineSubType(D,U);return j}function k(D,U){D._seriesIndicesMap=n(D._seriesIndices=p(U,function(H){return H.componentIndex})||[])}function F(D,U){return U.hasOwnProperty("subType")?g(D,function(H){return H.subType===U.subType}):D}function P(D){}s(T,S);var W=T;M.exports=W},g0SD:function(M,B,o){var w=o("bYtY"),f=o("9wZj"),A=o("OELB"),m=o("YXkt"),g=o("kj2x"),p=o("iPDy");function c(e,n,i){var r=n.coordinateSystem;e.each(function(a){var t=e.getItemModel(a),s,u=A.parsePercent(t.get("x"),i.getWidth()),d=A.parsePercent(t.get("y"),i.getHeight());if(!isNaN(u)&&!isNaN(d))s=[u,d];else if(n.getMarkerPosition)s=n.getMarkerPosition(e.getValues(e.dimensions,a));else if(r){var v=e.get(r.dimensions[0],a),y=e.get(r.dimensions[1],a);s=r.dataToPoint([v,y])}isNaN(u)||(s[0]=u),isNaN(d)||(s[1]=d),e.setItemLayout(a,s)})}var h=p.extend({type:"markPoint",updateTransform:function(e,n,i){n.eachSeries(function(r){var a=r.markPointModel;a&&(c(a.getData(),r,i),this.markerGroupMap.get(r.id).updateLayout(a))},this)},renderSeries:function(e,n,i,r){var a=e.coordinateSystem,t=e.id,s=e.getData(),u=this.markerGroupMap,d=u.get(t)||u.set(t,new f),v=l(a,e,n);n.setData(v),c(n.getData(),e,r),v.each(function(y){var S=v.getItemModel(y),b=S.getShallow("symbol"),E=S.getShallow("symbolSize"),C=w.isFunction(b),T=w.isFunction(E);if(C||T){var x=n.getRawValue(y),_=n.getDataParams(y);C&&(b=b(x,_)),T&&(E=E(x,_))}v.setItemVisual(y,{symbol:b,symbolSize:E,color:S.get("itemStyle.color")||s.getVisual("color")})}),d.updateData(v),this.group.add(d.group),v.eachItemGraphicEl(function(y){y.traverse(function(S){S.dataModel=n})}),d.__keep=!0,d.group.silent=n.get("silent")||e.get("silent")}});function l(e,n,i){var r;e?r=w.map(e&&e.dimensions,function(s){var u=n.getData().getDimensionInfo(n.getData().mapDimension(s))||{};return w.defaults({name:s},u)}):r=[{name:"value",type:"float"}];var a=new m(r,i),t=w.map(i.get("data"),w.curry(g.dataTransform,n));return e&&(t=w.filter(t,w.curry(g.dataFilter,e))),a.initData(t,null,e?g.dimValueGetter:function(s){return s.value}),a}M.exports=h},g5aB:function(M,B){function o(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?(M.exports=o=function(A){return typeof A},M.exports.default=M.exports,M.exports.__esModule=!0):(M.exports=o=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},M.exports.default=M.exports,M.exports.__esModule=!0),o(w)}M.exports=o,M.exports.default=M.exports,M.exports.__esModule=!0},g7p0:function(M,B,o){var w=o("bYtY"),f=o("bLfw"),A=o("+TT/"),m=A.getLayoutParams,g=A.sizeCalculable,p=A.mergeLayoutParam,c=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(e,n,i,r){var a=m(e);c.superApply(this,"init",arguments),h(e,a)},mergeOption:function(e,n){c.superApply(this,"mergeOption",arguments),h(this.option,e)}});function h(e,n){var i=e.cellSize;w.isArray(i)?i.length===1&&(i[1]=i[0]):i=e.cellSize=[i,i];var r=w.map([0,1],function(a){return g(n,a)&&(i[a]="auto"),i[a]!=null&&i[a]!=="auto"});p(e,n,{type:"box",ignoreSize:r})}var l=c;M.exports=l},gIYZ:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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"};B.default=w},gPAo:function(M,B){function o(m){return m}function w(m,g,p,c,h){this._old=m,this._new=g,this._oldKeyGetter=p||o,this._newKeyGetter=c||o,this.context=h}w.prototype={constructor:w,add:function(m){return this._add=m,this},update:function(m){return this._update=m,this},remove:function(m){return this._remove=m,this},execute:function(){var m=this._old,g=this._new,p={},c={},h=[],l=[],e;for(f(m,p,h,"_oldKeyGetter",this),f(g,c,l,"_newKeyGetter",this),e=0;e<m.length;e++){var n=h[e],i=c[n];if(i!=null){var r=i.length;r?(r===1&&(c[n]=null),i=i.shift()):c[n]=null,this._update&&this._update(i,e)}else this._remove&&this._remove(e)}for(var e=0;e<l.length;e++){var n=l[e];if(c.hasOwnProperty(n)){var i=c[n];if(i==null)continue;if(!i.length)this._add&&this._add(i);else for(var a=0,r=i.length;a<r;a++)this._add&&this._add(i[a])}}}};function f(m,g,p,c,h){for(var l=0;l<m.length;l++){var e="_ec_"+h[c](m[l],l),n=g[e];n==null?(p.push(e),g[e]=l):(n.length||(g[e]=n=[n]),n.push(l))}}var A=w;M.exports=A},gRFJ:function(M,B,o){M.exports=[o("rdUC"),o("ynwM"),o("RELg"),o("DlR+"),o("CrYA"),o("PD8m")]},gScr:function(M,B,o){"use strict";var w=o("wx14"),f=o("rePB"),A=o("U8pU"),m=o("ODXe"),g=o("q1tI"),p=o.n(g),c=o("TSYQ"),h=o.n(c),l=o("9R2V"),e=o("qPLW"),n=o("6LNJ"),i=o("jUvX"),r=o("xq47"),a=function(d,v){var y={};for(var S in d)Object.prototype.hasOwnProperty.call(d,S)&&v.indexOf(S)<0&&(y[S]=d[S]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,S=Object.getOwnPropertySymbols(d);b<S.length;b++)v.indexOf(S[b])<0&&Object.prototype.propertyIsEnumerable.call(d,S[b])&&(y[S[b]]=d[S[b]]);return y},t=Object(n.a)("top","middle","bottom","stretch"),s=Object(n.a)("start","end","center","space-around","space-between"),u=g.forwardRef(function(d,v){var y,S=d.prefixCls,b=d.justify,E=d.align,C=d.className,T=d.style,x=d.children,_=d.gutter,I=_===void 0?0:_,L=d.wrap,R=a(d,["prefixCls","justify","align","className","style","children","gutter","wrap"]),k=g.useContext(l.b),F=k.getPrefixCls,P=k.direction,W=g.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),D=Object(m.a)(W,2),U=D[0],H=D[1],j=Object(r.a)(),K=g.useRef(I);g.useEffect(function(){var be=i.a.subscribe(function(Ce){var je=K.current||0;(!Array.isArray(je)&&Object(A.a)(je)==="object"||Array.isArray(je)&&(Object(A.a)(je[0])==="object"||Object(A.a)(je[1])==="object"))&&H(Ce)});return function(){return i.a.unsubscribe(be)}},[]);var X=function(){var Ce=[0,0],je=Array.isArray(I)?I:[I,0];return je.forEach(function(te,ve){if(Object(A.a)(te)==="object")for(var $e=0;$e<i.b.length;$e++){var Le=i.b[$e];if(U[Le]&&te[Le]!==void 0){Ce[ve]=te[Le];break}}else Ce[ve]=te||0}),Ce},z=F("row",S),Y=X(),$=h()(z,(y={},Object(f.a)(y,"".concat(z,"-no-wrap"),L===!1),Object(f.a)(y,"".concat(z,"-").concat(b),b),Object(f.a)(y,"".concat(z,"-").concat(E),E),Object(f.a)(y,"".concat(z,"-rtl"),P==="rtl"),y),C),ne={},J=Y[0]>0?Y[0]/-2:void 0,ge=Y[1]>0?Y[1]/-2:void 0;if(J&&(ne.marginLeft=J,ne.marginRight=J),j){var de=Object(m.a)(Y,2);ne.rowGap=de[1]}else ge&&(ne.marginTop=ge,ne.marginBottom=ge);var Ie=g.useMemo(function(){return{gutter:Y,wrap:L,supportFlexGap:j}},[Y,L,j]);return g.createElement(e.a.Provider,{value:Ie},g.createElement("div",Object(w.a)({},R,{className:$,style:Object(w.a)(Object(w.a)({},ne),T),ref:v}),x))});u.displayName="Row",B.a=u},gUdW:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={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"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="MinusSquareOutlined";var c=B.a=f.forwardRef(p)},gXHG:function(M,B,o){},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(M){return M<10?"0"+M:M}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(M){return rx_escapable.lastIndex=0,rx_escapable.test(M)?'"'+M.replace(rx_escapable,function(B){var o=meta[B];return typeof o=="string"?o:"\\u"+("0000"+B.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+M+'"'}function str(M,B){var o,w,f,A,m=gap,g,p=B[M];p&&typeof p=="object"&&typeof p.toJSON=="function"&&(p=p.toJSON(M)),typeof rep=="function"&&(p=rep.call(B,M,p));switch(typeof p){case"string":return quote(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":return String(p);case"object":if(!p)return"null";if(gap+=indent,g=[],Object.prototype.toString.apply(p)==="[object Array]"){for(A=p.length,o=0;o<A;o+=1)g[o]=str(o,p)||"null";return f=g.length===0?"[]":gap?`[
|
|
|
`+gap+g.join(`,
|
|
|
`+gap)+`
|
|
|
`+m+"]":"["+g.join(",")+"]",gap=m,f}if(rep&&typeof rep=="object")for(A=rep.length,o=0;o<A;o+=1)typeof rep[o]=="string"&&(w=rep[o],f=str(w,p),f&&g.push(quote(w)+(gap?": ":":")+f));else for(w in p)Object.prototype.hasOwnProperty.call(p,w)&&(f=str(w,p),f&&g.push(quote(w)+(gap?": ":":")+f));return f=g.length===0?"{}":gap?`{
|
|
|
`+gap+g.join(`,
|
|
|
`+gap)+`
|
|
|
`+m+"}":"{"+g.join(",")+"}",gap=m,f}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(M,B,o){var w;if(gap="",indent="",typeof o=="number")for(w=0;w<o;w+=1)indent+=" ";else typeof o=="string"&&(indent=o);if(rep=B,B&&typeof B!="function"&&(typeof B!="object"||typeof B.length!="number"))throw new Error("JSON.stringify");return str("",{"":M})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(M,B){var o,w,f=M[B];if(f&&typeof f=="object")for(o in f)Object.prototype.hasOwnProperty.call(f,o)&&(w=walk(f,o),w!==void 0?f[o]=w:delete f[o]);return reviver.call(M,B,f)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(M){return"\\u"+("0000"+M.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(M,B,o){var w=o("+TT/"),f=o("bYtY"),A=o("4NO4"),m=A.groupData;function g(I,L,R){I.eachSeriesByType("sankey",function(k){var F=k.get("nodeWidth"),P=k.get("nodeGap"),W=p(k,L);k.layoutInfo=W;var D=W.width,U=W.height,H=k.getGraph(),j=H.nodes,K=H.edges;h(j);var X=f.filter(j,function(ne){return ne.getLayout().value===0}),z=X.length!==0?0:k.get("layoutIterations"),Y=k.get("orient"),$=k.get("nodeAlign");c(j,K,F,P,D,U,z,Y,$)})}function p(I,L){return w.getLayoutRect(I.getBoxLayoutParams(),{width:L.getWidth(),height:L.getHeight()})}function c(I,L,R,k,F,P,W,D,U){l(I,L,R,F,P,D,U),a(I,L,P,F,k,W,D),_(I,D)}function h(I){f.each(I,function(L){var R=T(L.outEdges,C),k=T(L.inEdges,C),F=L.getValue()||0,P=Math.max(R,k,F);L.setLayout({value:P},!0)})}function l(I,L,R,k,F,P,W){for(var D=[],U=[],H=[],j=[],K=0,X=0,z=0;z<L.length;z++)D[z]=1;for(z=0;z<I.length;z++)U[z]=I[z].inEdges.length,U[z]===0&&H.push(I[z]);for(var Y=-1;H.length;){for(var $=0;$<H.length;$++){var ne=H[$],J=ne.hostGraph.data.getRawDataItem(ne.dataIndex),ge=J.depth!=null&&J.depth>=0;ge&&J.depth>Y&&(Y=J.depth),ne.setLayout({depth:ge?J.depth:K},!0),P==="vertical"?ne.setLayout({dy:R},!0):ne.setLayout({dx:R},!0);for(var de=0;de<ne.outEdges.length;de++){var Ie=ne.outEdges[de],be=L.indexOf(Ie);D[be]=0;var Ce=Ie.node2,je=I.indexOf(Ce);--U[je]===0&&j.indexOf(Ce)<0&&j.push(Ce)}}++K,H=j,j=[]}for(z=0;z<D.length;z++)if(D[z]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var te=Y>K-1?Y:K-1;W&&W!=="left"&&n(I,W,P,te);var X=P==="vertical"?(F-R)/te:(k-R)/te;r(I,X,P)}function e(I){var L=I.hostGraph.data.getRawDataItem(I.dataIndex);return L.depth!=null&&L.depth>=0}function n(I,L,R,k){if(L==="right"){for(var F=[],P=I,W=0;P.length;){for(var D=0;D<P.length;D++){var U=P[D];U.setLayout({skNodeHeight:W},!0);for(var H=0;H<U.inEdges.length;H++){var j=U.inEdges[H];F.indexOf(j.node1)<0&&F.push(j.node1)}}P=F,F=[],++W}f.each(I,function(K){e(K)||K.setLayout({depth:Math.max(0,k-K.getLayout().skNodeHeight)},!0)})}else L==="justify"&&i(I,k)}function i(I,L){f.each(I,function(R){!e(R)&&!R.outEdges.length&&R.setLayout({depth:L},!0)})}function r(I,L,R){f.each(I,function(k){var F=k.getLayout().depth*L;R==="vertical"?k.setLayout({y:F},!0):k.setLayout({x:F},!0)})}function a(I,L,R,k,F,P,W){var D=t(I,W);s(D,L,R,k,F,W),u(D,F,R,k,W);for(var U=1;P>0;P--)U*=.99,d(D,U,W),u(D,F,R,k,W),x(D,U,W),u(D,F,R,k,W)}function t(I,L){var R=[],k=L==="vertical"?"y":"x",F=m(I,function(P){return P.getLayout()[k]});return F.keys.sort(function(P,W){return P-W}),f.each(F.keys,function(P){R.push(F.buckets.get(P))}),R}function s(I,L,R,k,F,P){var W=Infinity;f.each(I,function(D){var U=D.length,H=0;f.each(D,function(K){H+=K.getLayout().value});var j=P==="vertical"?(k-(U-1)*F)/H:(R-(U-1)*F)/H;j<W&&(W=j)}),f.each(I,function(D){f.each(D,function(U,H){var j=U.getLayout().value*W;P==="vertical"?(U.setLayout({x:H},!0),U.setLayout({dx:j},!0)):(U.setLayout({y:H},!0),U.setLayout({dy:j},!0))})}),f.each(L,function(D){var U=+D.getValue()*W;D.setLayout({dy:U},!0)})}function u(I,L,R,k,F){var P=F==="vertical"?"x":"y";f.each(I,function(W){W.sort(function($,ne){return $.getLayout()[P]-ne.getLayout()[P]});for(var D,U,H,j=0,K=W.length,X=F==="vertical"?"dx":"dy",z=0;z<K;z++)U=W[z],H=j-U.getLayout()[P],H>0&&(D=U.getLayout()[P]+H,F==="vertical"?U.setLayout({x:D},!0):U.setLayout({y:D},!0)),j=U.getLayout()[P]+U.getLayout()[X]+L;var Y=F==="vertical"?k:R;if(H=j-L-Y,H>0)for(D=U.getLayout()[P]-H,F==="vertical"?U.setLayout({x:D},!0):U.setLayout({y:D},!0),j=D,z=K-2;z>=0;--z)U=W[z],H=U.getLayout()[P]+U.getLayout()[X]+L-j,H>0&&(D=U.getLayout()[P]-H,F==="vertical"?U.setLayout({x:D},!0):U.setLayout({y:D},!0)),j=U.getLayout()[P]})}function d(I,L,R){f.each(I.slice().reverse(),function(k){f.each(k,function(F){if(F.outEdges.length){var P=T(F.outEdges,v,R)/T(F.outEdges,C,R);if(isNaN(P)){var W=F.outEdges.length;P=W?T(F.outEdges,y,R)/W:0}if(R==="vertical"){var D=F.getLayout().x+(P-E(F,R))*L;F.setLayout({x:D},!0)}else{var U=F.getLayout().y+(P-E(F,R))*L;F.setLayout({y:U},!0)}}})})}function v(I,L){return E(I.node2,L)*I.getValue()}function y(I,L){return E(I.node2,L)}function S(I,L){return E(I.node1,L)*I.getValue()}function b(I,L){return E(I.node1,L)}function E(I,L){return L==="vertical"?I.getLayout().x+I.getLayout().dx/2:I.getLayout().y+I.getLayout().dy/2}function C(I){return I.getValue()}function T(I,L,R){for(var k=0,F=I.length,P=-1;++P<F;){var W=+L.call(I,I[P],R);isNaN(W)||(k+=W)}return k}function x(I,L,R){f.each(I,function(k){f.each(k,function(F){if(F.inEdges.length){var P=T(F.inEdges,S,R)/T(F.inEdges,C,R);if(isNaN(P)){var W=F.inEdges.length;P=W?T(F.inEdges,b,R)/W:0}if(R==="vertical"){var D=F.getLayout().x+(P-E(F,R))*L;F.setLayout({x:D},!0)}else{var U=F.getLayout().y+(P-E(F,R))*L;F.setLayout({y:U},!0)}}})})}function _(I,L){var R=L==="vertical"?"x":"y";f.each(I,function(k){k.outEdges.sort(function(F,P){return F.node2.getLayout()[R]-P.node2.getLayout()[R]}),k.inEdges.sort(function(F,P){return F.node1.getLayout()[R]-P.node1.getLayout()[R]})}),f.each(I,function(k){var F=0,P=0;f.each(k.outEdges,function(W){W.setLayout({sy:F},!0),F+=W.getLayout().dy}),f.each(k.inEdges,function(W){W.setLayout({ty:P},!0),P+=W.getLayout().dy})})}M.exports=g},gut8:function(M,B){var o={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},w=9;B.ContextCachedBy=o,B.WILL_BE_RESTORED=w},gvm7:function(M,B,o){var w=o("bYtY"),f=o("dqUG");function A(g){this._zr=g.getZr(),this._show=!1,this._hideTimeout}A.prototype={constructor:A,_enterable:!0,update:function(){},show:function(g){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(g,p,c){this.el&&this._zr.remove(this.el);for(var h={},l=g,e="{marker",n="|}",i=l.indexOf(e);i>=0;){var r=l.indexOf(n),a=l.substr(i+e.length,r-i-e.length);a.indexOf("sub")>-1?h["marker"+a]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:p[a],textOffset:[3,0]}:h["marker"+a]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:p[a]},l=l.substr(r+1),i=l.indexOf("{marker")}this.el=new f({style:{rich:h,text:g,textLineHeight:20,textBackgroundColor:c.get("backgroundColor"),textBorderRadius:c.get("borderRadius"),textFill:c.get("textStyle.color"),textPadding:c.get("padding")},z:c.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(g){this._enterable=g},getSize:function(){var g=this.el.getBoundingRect();return[g.width,g.height]},moveTo:function(g,p){this.el&&this.el.attr("position",[g,p])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(g){this._show&&!(this._inContent&&this._enterable)&&(g?(this._hideDelay=g,this._show=!1,this._hideTimeout=setTimeout(w.bind(this.hide,this),g)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var g=this.getSize();return{width:g[0],height:g[1]}}};var m=A;M.exports=m},h3u3:function(M,B,o){"use strict";var w=o("ODXe"),f=o("q1tI"),A=o.n(f),m=o("jUvX");function g(){var p=Object(f.useState)({}),c=Object(w.a)(p,2),h=c[0],l=c[1];return Object(f.useEffect)(function(){var e=m.a.subscribe(function(n){l(n)});return function(){return m.a.unsubscribe(e)}},[]),h}B.a=g},h54F:function(M,B,o){var w=o("ProS"),f=o("YXkt"),A=o("bYtY"),m=o("4NO4"),g=m.defaultEmphasis,p=o("Qxkt"),c=o("7aKB"),h=c.encodeHTML,l=o("I3/A"),e=o("xKMd"),n=w.extendSeriesModel({type:"series.graph",init:function(r){n.superApply(this,"init",arguments);var a=this;function t(){return a._categoriesData}this.legendVisualProvider=new e(t,t),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},mergeOption:function(r){n.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(r){n.superApply(this,"mergeDefaultAndTheme",arguments),g(r,["edgeLabel"],["show"])},getInitialData:function(r,a){var t=r.edges||r.links||[],s=r.data||r.nodes||[],u=this;if(s&&t)return l(s,t,this,!0,d).data;function d(v,y){v.wrapMethod("getItemModel",function(x){var _=u._categoriesModels,I=x.getShallow("category"),L=_[I];return L&&(L.parentModel=x.parentModel,x.parentModel=L),x});var S=u.getModel("edgeLabel"),b=new p({label:S.option},S.parentModel,a),E=u.getModel("emphasis.edgeLabel"),C=new p({emphasis:{label:E.option}},E.parentModel,a);y.wrapMethod("getItemModel",function(x){return x.customizeGetParent(T),x});function T(x){return x=this.parsePath(x),x&&x[0]==="label"?b:x&&x[0]==="emphasis"&&x[1]==="label"?C:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(r,a,t){if(t==="edge"){var s=this.getData(),u=this.getDataParams(r,t),d=s.graph.getEdgeByIndex(r),v=s.getName(d.node1.dataIndex),y=s.getName(d.node2.dataIndex),S=[];return v!=null&&S.push(v),y!=null&&S.push(y),S=h(S.join(" > ")),u.value&&(S+=" : "+h(u.value)),S}else return n.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var r=A.map(this.option.categories||[],function(t){return t.value!=null?t:A.extend({value:0},t)}),a=new f(["value"],this);a.initData(r),this._categoriesData=a,this._categoriesModels=a.mapArray(function(t){return a.getItemModel(t,!0)})},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r},isAnimationEnabled:function(){return n.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}}}}),i=n;M.exports=i},h7HQ:function(M,B,o){var w=o("y+Vt"),f=o("T6xi"),A=w.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(g,p){f.buildPath(g,p,!0)}});M.exports=A},h8O9:function(M,B,o){var w=o("bYtY"),f=w.map,A=o("zM3Q"),m=o("7hqr"),g=m.isDimensionStacked;function p(c){return{seriesType:c,plan:A(),reset:function(h){var l=h.getData(),e=h.coordinateSystem,n=h.pipelineContext,i=n.large;if(!e)return;var r=f(e.dimensions,function(u){return l.mapDimension(u)}).slice(0,2),a=r.length,t=l.getCalculationInfo("stackResultDimension");g(l,r[0])&&(r[0]=t),g(l,r[1])&&(r[1]=t);function s(u,d){for(var v=u.end-u.start,y=i&&new Float32Array(v*a),S=u.start,b=0,E=[],C=[];S<u.end;S++){var T;if(a===1){var x=d.get(r[0],S);T=!isNaN(x)&&e.dataToPoint(x,null,C)}else{var x=E[0]=d.get(r[0],S),_=E[1]=d.get(r[1],S);T=!isNaN(x)&&!isNaN(_)&&e.dataToPoint(E,null,C)}i?(y[b++]=T?T[0]:NaN,y[b++]=T?T[1]:NaN):d.setItemLayout(S,T&&T.slice()||[NaN,NaN])}i&&d.setLayout("symbolPoints",y)}return a&&{progress:s}}}}M.exports=p},hAEC:function(M,B,o){"use strict";var w=o("wx14"),f=o("rePB"),A=o("q1tI"),m=o("TSYQ"),g=o.n(m),p=o("U8pU"),c=o("ODXe"),h=o("Ff2n"),l=o("4IlW"),e=o("c+Xe"),n=o("1OyB"),i=o("vuIU");function r(){return typeof BigInt=="function"}function a(ne){var J=ne.trim(),ge=J.startsWith("-");ge&&(J=J.slice(1)),J=J.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),J.startsWith(".")&&(J="0".concat(J));var de=J||"0",Ie=de.split("."),be=Ie[0]||"0",Ce=Ie[1]||"0";be==="0"&&Ce==="0"&&(ge=!1);var je=ge?"-":"";return{negative:ge,negativeStr:je,trimStr:de,integerStr:be,decimalStr:Ce,fullStr:"".concat(je).concat(de)}}function t(ne){var J=String(ne);return!Number.isNaN(Number(J))&&J.includes("e")}function s(ne){var J=String(ne);if(t(ne)){var ge=Number(J.slice(J.indexOf("e-")+2)),de=J.match(/\.(\d+)/);return(de==null?void 0:de[1])&&(ge+=de[1].length),ge}return J.includes(".")&&d(J)?J.length-J.indexOf(".")-1:0}function u(ne){var J=String(ne);if(t(ne)){if(ne>Number.MAX_SAFE_INTEGER)return String(r()?BigInt(ne).toString():Number.MAX_SAFE_INTEGER);if(ne<Number.MIN_SAFE_INTEGER)return String(r()?BigInt(ne).toString():Number.MIN_SAFE_INTEGER);J=ne.toFixed(s(J))}return a(J).fullStr}function d(ne){return typeof ne=="number"?!Number.isNaN(ne):ne?/^\s*-?\d+(\.\d+)?\s*$/.test(ne)||/^\s*-?\d+\.\s*$/.test(ne)||/^\s*-?\.\d+\s*$/.test(ne):!1}var v=function(){function ne(J){if(Object(n.a)(this,ne),this.origin="",!J&&J!==0||!String(J).trim()){this.empty=!0;return}this.origin=String(J),this.number=Number(J)}return Object(i.a)(ne,[{key:"negate",value:function(){return new ne(-this.toNumber())}},{key:"add",value:function(ge){if(this.isInvalidate())return new ne(ge);var de=Number(ge);if(Number.isNaN(de))return this;var Ie=this.number+de;if(Ie>Number.MAX_SAFE_INTEGER)return new ne(Number.MAX_SAFE_INTEGER);if(Ie<Number.MIN_SAFE_INTEGER)return new ne(Number.MIN_SAFE_INTEGER);var be=Math.max(s(this.number),s(de));return new ne(Ie.toFixed(be))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(ge){return this.toNumber()===(ge==null?void 0:ge.toNumber())}},{key:"lessEquals",value:function(ge){return this.add(ge.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return ge?this.isInvalidate()?"":u(this.number):this.origin}}]),ne}(),y=function(){function ne(J){if(Object(n.a)(this,ne),this.origin="",!J&&J!==0||!String(J).trim()){this.empty=!0;return}if(this.origin=String(J),J==="-"){this.nan=!0;return}var ge=J;if(t(ge)&&(ge=Number(ge)),ge=typeof ge=="string"?ge:u(ge),d(ge)){var de=a(ge);this.negative=de.negative;var Ie=de.trimStr.split(".");this.integer=BigInt(Ie[0]);var be=Ie[1]||"0";this.decimal=BigInt(be),this.decimalLen=be.length}else this.nan=!0}return Object(i.a)(ne,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(ge){var de="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(ge,"0"));return BigInt(de)}},{key:"negate",value:function(){var ge=new ne(this.toString());return ge.negative=!ge.negative,ge}},{key:"add",value:function(ge){if(this.isInvalidate())return new ne(ge);var de=new ne(ge);if(de.isInvalidate())return this;var Ie=Math.max(this.getDecimalStr().length,de.getDecimalStr().length),be=this.alignDecimal(Ie),Ce=de.alignDecimal(Ie),je=(be+Ce).toString(),te=a(je),ve=te.negativeStr,$e=te.trimStr,Le="".concat(ve).concat($e.padStart(Ie+1,"0"));return new ne("".concat(Le.slice(0,-Ie),".").concat(Le.slice(-Ie)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(ge){return this.toString()===(ge==null?void 0:ge.toString())}},{key:"lessEquals",value:function(ge){return this.add(ge.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return ge?this.isInvalidate()?"":a("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),ne}();function S(ne){return r()?new y(ne):new v(ne)}function b(ne,J,ge){if(ne==="")return"";var de=a(ne),Ie=de.negativeStr,be=de.integerStr,Ce=de.decimalStr,je="".concat(J).concat(Ce),te="".concat(Ie).concat(be);if(ge>=0){var ve=Number(Ce[ge]);if(ve>=5){var $e=S(ne).add("0.".concat("0".repeat(ge)).concat(10-ve));return b($e.toString(),J,ge)}return ge===0?te:"".concat(te).concat(J).concat(Ce.padEnd(ge,"0").slice(0,ge))}return je===".0"?te:"".concat(te).concat(je)}var E=o("5Z9U"),C=200,T=600;function x(ne){var J=ne.prefixCls,ge=ne.upNode,de=ne.downNode,Ie=ne.upDisabled,be=ne.downDisabled,Ce=ne.onStep,je=A.useRef(),te=A.useRef();te.current=Ce;var ve=function(ue,Ne){ue.preventDefault(),te.current(Ne);function Fe(){te.current(Ne),je.current=setTimeout(Fe,C)}je.current=setTimeout(Fe,T)},$e=function(){clearTimeout(je.current)};if(A.useEffect(function(){return $e},[]),Object(E.a)())return null;var Le="".concat(J,"-handler"),he=g()(Le,"".concat(Le,"-up"),Object(f.a)({},"".concat(Le,"-up-disabled"),Ie)),ee=g()(Le,"".concat(Le,"-down"),Object(f.a)({},"".concat(Le,"-down-disabled"),be)),se={unselectable:"on",role:"button",onMouseUp:$e,onMouseLeave:$e};return A.createElement("div",{className:"".concat(Le,"-wrap")},A.createElement("span",Object(w.a)({},se,{onMouseDown:function(ue){ve(ue,!0)},"aria-label":"Increase Value","aria-disabled":Ie,className:he}),ge||A.createElement("span",{unselectable:"on",className:"".concat(J,"-handler-up-inner")})),A.createElement("span",Object(w.a)({},se,{onMouseDown:function(ue){ve(ue,!1)},"aria-label":"Decrease Value","aria-disabled":be,className:ee}),de||A.createElement("span",{unselectable:"on",className:"".concat(J,"-handler-down-inner")})))}var _=o("Kwbf");function I(ne,J){var ge=Object(A.useRef)(null);function de(){try{var be=ne.selectionStart,Ce=ne.selectionEnd,je=ne.value,te=je.substring(0,be),ve=je.substring(Ce);ge.current={start:be,end:Ce,value:je,beforeTxt:te,afterTxt:ve}}catch($e){}}function Ie(){if(ne&&ge.current&&J)try{var be=ne.value,Ce=ge.current,je=Ce.beforeTxt,te=Ce.afterTxt,ve=Ce.start,$e=be.length;if(be.endsWith(te))$e=be.length-ge.current.afterTxt.length;else if(be.startsWith(je))$e=je.length;else{var Le=je[ve-1],he=be.indexOf(Le,ve-1);he!==-1&&($e=he+1)}ne.setSelectionRange($e,$e)}catch(ee){Object(_.a)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(ee.message))}}return[de,Ie]}var L=o("MNnm"),R=Object(L.a)()?A.useLayoutEffect:A.useEffect;function k(ne,J){var ge=A.useRef(!1);R(function(){if(!ge.current){ge.current=!0;return}return ne()},J)}var F=function(J,ge){return J||ge.isEmpty()?ge.toString():ge.toNumber()},P=function(J){var ge=S(J);return ge.isInvalidate()?null:ge},W=A.forwardRef(function(ne,J){var ge,de=ne.prefixCls,Ie=de===void 0?"rc-input-number":de,be=ne.className,Ce=ne.style,je=ne.min,te=ne.max,ve=ne.step,$e=ve===void 0?1:ve,Le=ne.defaultValue,he=ne.value,ee=ne.disabled,se=ne.readOnly,Ue=ne.upHandler,ue=ne.downHandler,Ne=ne.keyboard,Fe=ne.stringMode,ae=ne.parser,ce=ne.formatter,_e=ne.precision,ze=ne.decimalSeparator,it=ne.onChange,Ze=ne.onInput,Ee=ne.onPressEnter,mt=ne.onStep,Je=Object(h.a)(ne,["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"]),rt="".concat(Ie,"-input"),wt=A.useRef(null),Ot=A.useState(!1),Ct=Object(c.a)(Ot,2),Dt=Ct[0],Xe=Ct[1],q=A.useRef(!1),V=A.useRef(!1),Ae=A.useState(function(){return S(he!=null?he:Le)}),xe=Object(c.a)(Ae,2),re=xe[0],ot=xe[1];function bt(Kt){he===void 0&&ot(Kt)}var tt=A.useCallback(function(Kt,St){return St?void 0:_e>=0?_e:Math.max(s(Kt),s($e))},[_e,$e]),Tt=A.useCallback(function(Kt){var St=String(Kt);if(ae)return ae(St);var kt=St;return ze&&(kt=kt.replace(ze,".")),kt.replace(/[^\w.-]+/g,"")},[ae,ze]),Gt=A.useCallback(function(Kt,St){if(ce)return ce(Kt);var kt=typeof Kt=="number"?u(Kt):Kt;if(!St){var Jt=tt(kt,St);if(d(kt)&&(ze||Jt>=0)){var Br=ze||".";kt=b(kt,Br,Jt)}}return kt},[ce,tt,ze]),lr=A.useState(function(){var Kt=Le!=null?Le:he;return re.isInvalidate()&&["string","number"].includes(Object(p.a)(Kt))?Number.isNaN(Kt)?"":Kt:Gt(re.toString(),!1)}),pr=Object(c.a)(lr,2),Rr=pr[0],xt=pr[1];function It(Kt,St){xt(Gt(Kt.isInvalidate()?Kt.toString(!1):Kt.toString(!St),St))}var At=A.useMemo(function(){return P(te)},[te]),Zt=A.useMemo(function(){return P(je)},[je]),br=A.useMemo(function(){return!At||!re||re.isInvalidate()?!1:At.lessEquals(re)},[At,re]),Lr=A.useMemo(function(){return!Zt||!re||re.isInvalidate()?!1:re.lessEquals(Zt)},[Zt,re]),Jr=I(wt.current,Dt),In=Object(c.a)(Jr,2),Gr=In[0],Tr=In[1],fr=function(St){return At&&!St.lessEquals(At)?At:Zt&&!Zt.lessEquals(St)?Zt:null},vt=function(St){return!fr(St)},ft=function(St,kt){var Jt=St,Br=vt(Jt)||Jt.isEmpty();if(!Jt.isEmpty()&&!kt&&(Jt=fr(Jt)||Jt,Br=!0),!se&&!ee&&Br){var Hr=Jt.toString(),$r=tt(Hr,kt);return $r>=0&&(Jt=S(b(Hr,".",$r))),Jt.equals(re)||(bt(Jt),it==null||it(Jt.isEmpty()?null:F(Fe,Jt)),he===void 0&&It(Jt,kt)),Jt}return re},Te=function(St){if(Gr(),xt(St),!V.current){var kt=Tt(St),Jt=S(kt);Jt.isNaN()||ft(Jt,!0)}},Pe=function(){V.current=!0},Ge=function(){V.current=!1,Te(wt.current.value)},st=function(St){var kt=St.target.value;ae||(kt=kt.replace(/。/g,".")),Te(kt),Ze==null||Ze(kt)},Bt=function(St){var kt;if(St&&br||!St&&Lr)return;q.current=!1;var Jt=S($e);St||(Jt=Jt.negate());var Br=(re||S(0)).add(Jt.toString()),Hr=ft(Br,!1);mt==null||mt(F(Fe,Hr),{offset:$e,type:St?"up":"down"}),(kt=wt.current)===null||kt===void 0||kt.focus()},$t=function(St){var kt=S(Tt(Rr)),Jt=kt;kt.isNaN()?Jt=re:Jt=ft(kt,St),he!==void 0?It(re,!1):Jt.isNaN()||It(Jt,!1)},Nr=function(St){var kt=St.which;if(q.current=!0,kt===l.a.ENTER&&(V.current||(q.current=!1),$t(!0),Ee==null||Ee(St)),Ne===!1)return;!V.current&&[l.a.UP,l.a.DOWN].includes(kt)&&(Bt(l.a.UP===kt),St.preventDefault())},yn=function(){q.current=!1},un=function(){$t(!1),Xe(!1),q.current=!1};return k(function(){re.isInvalidate()||It(re,!1)},[_e]),k(function(){var Kt=S(he);ot(Kt),(Kt.isNaN()||!q.current||ce)&&It(Kt,!1)},[he]),k(function(){ce&&Tr()},[Rr]),A.createElement("div",{className:g()(Ie,be,(ge={},Object(f.a)(ge,"".concat(Ie,"-focused"),Dt),Object(f.a)(ge,"".concat(Ie,"-disabled"),ee),Object(f.a)(ge,"".concat(Ie,"-readonly"),se),Object(f.a)(ge,"".concat(Ie,"-not-a-number"),re.isNaN()),Object(f.a)(ge,"".concat(Ie,"-out-of-range"),!re.isInvalidate()&&!vt(re)),ge)),style:Ce,onFocus:function(){Xe(!0)},onBlur:un,onKeyDown:Nr,onKeyUp:yn,onCompositionStart:Pe,onCompositionEnd:Ge},A.createElement(x,{prefixCls:Ie,upNode:Ue,downNode:ue,upDisabled:br,downDisabled:Lr,onStep:Bt}),A.createElement("div",{className:"".concat(rt,"-wrap")},A.createElement("input",Object(w.a)({autoComplete:"off",role:"spinbutton","aria-valuemin":je,"aria-valuemax":te,"aria-valuenow":re.isInvalidate()?null:re.toString(),step:$e},Je,{ref:Object(e.a)(wt,J),className:rt,value:Rr,onChange:st,disabled:ee,readOnly:se}))))});W.displayName="InputNumber";var D=W,U=D,H=o("y3Kf"),j=o("8Skl"),K=o("9R2V"),X=o("kc2O"),z=function(ne,J){var ge={};for(var de in ne)Object.prototype.hasOwnProperty.call(ne,de)&&J.indexOf(de)<0&&(ge[de]=ne[de]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,de=Object.getOwnPropertySymbols(ne);Ie<de.length;Ie++)J.indexOf(de[Ie])<0&&Object.prototype.propertyIsEnumerable.call(ne,de[Ie])&&(ge[de[Ie]]=ne[de[Ie]]);return ge},Y=A.forwardRef(function(ne,J){var ge,de=A.useContext(K.b),Ie=de.getPrefixCls,be=de.direction,Ce=A.useContext(X.b),je=ne.className,te=ne.size,ve=ne.prefixCls,$e=ne.bordered,Le=$e===void 0?!0:$e,he=ne.readOnly,ee=z(ne,["className","size","prefixCls","bordered","readOnly"]),se=Ie("input-number",ve),Ue=A.createElement(H.a,{className:"".concat(se,"-handler-up-inner")}),ue=A.createElement(j.a,{className:"".concat(se,"-handler-down-inner")}),Ne=te||Ce,Fe=g()((ge={},Object(f.a)(ge,"".concat(se,"-lg"),Ne==="large"),Object(f.a)(ge,"".concat(se,"-sm"),Ne==="small"),Object(f.a)(ge,"".concat(se,"-rtl"),be==="rtl"),Object(f.a)(ge,"".concat(se,"-readonly"),he),Object(f.a)(ge,"".concat(se,"-borderless"),!Le),ge),je);return A.createElement(U,Object(w.a)({ref:J,className:Fe,upHandler:Ue,downHandler:ue,prefixCls:se,readOnly:he},ee))}),$=B.a=Y},hD7B:function(M,B,o){var w=o("bYtY"),f=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function A(g){w.each(f,function(p){this[p]=w.bind(g[p],g)},this)}var m=A;M.exports=m},hFmY:function(M,B,o){var w=o("ProS"),f={type:"axisAreaSelect",event:"axisAreaSelected"};w.registerAction(f,function(A,m){m.eachComponent({mainType:"parallelAxis",query:A},function(g){g.axis.model.setActiveIntervals(A.intervals)})}),w.registerAction("parallelAxisExpand",function(A,m){m.eachComponent({mainType:"parallel",query:A},function(g){g.setAxisExpand(A)})})},hJvP:function(M,B,o){var w=o("2dDv"),f=o("IDmD");function A(m,g){var p=[];return m.eachComponent("parallel",function(c,h){var l=new w(c,m,g);l.name="parallel_"+h,l.resize(c,g),c.coordinateSystem=l,l.model=c,p.push(l)}),m.eachSeries(function(c){if(c.get("coordinateSystem")==="parallel"){var h=m.queryComponents({mainType:"parallel",index:c.get("parallelIndex"),id:c.get("parallelId")})[0];c.coordinateSystem=h.coordinateSystem}}),p}f.register("parallel",{create:A})},hM6l:function(M,B,o){var w=o("bYtY"),f=w.each,A=w.map,m=o("OELB"),g=m.linearMap,p=m.getPixelPrecision,c=m.round,h=o("4HMb"),l=h.createAxisTicks,e=h.createAxisLabels,n=h.calculateCategoryInterval,i=[0,1],r=function(u,d,v){this.dim=u,this.scale=d,this._extent=v||[0,0],this.inverse=!1,this.onBand=!1};r.prototype={constructor:r,contain:function(u){var d=this._extent,v=Math.min(d[0],d[1]),y=Math.max(d[0],d[1]);return u>=v&&u<=y},containData:function(u){return this.scale.contain(u)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(u){return p(u||this.scale.getExtent(),this._extent)},setExtent:function(u,d){var v=this._extent;v[0]=u,v[1]=d},dataToCoord:function(u,d){var v=this._extent,y=this.scale;return u=y.normalize(u),this.onBand&&y.type==="ordinal"&&(v=v.slice(),a(v,y.count())),g(u,i,v,d)},coordToData:function(u,d){var v=this._extent,y=this.scale;this.onBand&&y.type==="ordinal"&&(v=v.slice(),a(v,y.count()));var S=g(u,v,i,d);return this.scale.scale(S)},pointToData:function(u,d){},getTicksCoords:function(u){u=u||{};var d=u.tickModel||this.getTickModel(),v=l(this,d),y=v.ticks,S=A(y,function(E){return{coord:this.dataToCoord(E),tickValue:E}},this),b=d.get("alignWithLabel");return t(this,S,b,u.clamp),S},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var u=this.model.getModel("minorTick"),d=u.get("splitNumber");d>0&&d<100||(d=5);var v=this.scale.getMinorTicks(d),y=A(v,function(S){return A(S,function(b){return{coord:this.dataToCoord(b),tickValue:b}},this)},this);return y},getViewLabels:function(){return e(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var u=this._extent,d=this.scale.getExtent(),v=d[1]-d[0]+(this.onBand?1:0);v===0&&(v=1);var y=Math.abs(u[1]-u[0]);return Math.abs(y)/v},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return n(this)}};function a(u,d){var v=u[1]-u[0],y=d,S=v/y/2;u[0]+=S,u[1]-=S}function t(u,d,v,y){var S=d.length;if(!u.onBand||v||!S)return;var b=u.getExtent(),E,C;if(S===1)d[0].coord=b[0],E=d[1]={coord:b[0]};else{var T=d[S-1].tickValue-d[0].tickValue,x=(d[S-1].coord-d[0].coord)/T;f(d,function(R){R.coord-=x/2});var _=u.scale.getExtent();C=1+_[1]-d[S-1].tickValue,E={coord:d[S-1].coord+x*C},d.push(E)}var I=b[0]>b[1];L(d[0].coord,b[0])&&(y?d[0].coord=b[0]:d.shift()),y&&L(b[0],d[0].coord)&&d.unshift({coord:b[0]}),L(b[1],E.coord)&&(y?E.coord=b[1]:d.pop()),y&&L(E.coord,b[1])&&d.push({coord:b[1]});function L(R,k){return R=c(R),k=c(k),I?R>k:R<k}}var s=r;M.exports=s},hNWo:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("Qxkt"),m=o("4NO4"),g=m.isNameSpecified,p=o("Kagy"),c=p.legend.selector,h={all:{type:"all",title:f.clone(c.all)},inverse:{type:"inverse",title:f.clone(c.inverse)}},l=w.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(n,i,r){this.mergeDefaultAndTheme(n,r),n.selected=n.selected||{},this._updateSelector(n)},mergeOption:function(n){l.superCall(this,"mergeOption",n),this._updateSelector(n)},_updateSelector:function(n){var i=n.selector;i===!0&&(i=n.selector=["all","inverse"]),f.isArray(i)&&f.each(i,function(r,a){f.isString(r)&&(r={type:r}),i[a]=f.merge(r,h[r.type])})},optionUpdated:function(){this._updateData(this.ecModel);var n=this._data;if(n[0]&&this.get("selectedMode")==="single"){for(var i=!1,r=0;r<n.length;r++){var a=n[r].get("name");if(this.isSelected(a)){this.select(a),i=!0;break}}!i&&this.select(n[0].get("name"))}},_updateData:function(n){var i=[],r=[];n.eachRawSeries(function(s){var u=s.name;r.push(u);var d;if(s.legendVisualProvider){var v=s.legendVisualProvider,y=v.getAllNames();n.isSeriesFiltered(s)||(r=r.concat(y)),y.length?i=i.concat(y):d=!0}else d=!0;d&&g(s)&&i.push(s.name)}),this._availableNames=r;var a=this.get("data")||i,t=f.map(a,function(s){return(typeof s=="string"||typeof s=="number")&&(s={name:s}),new A(s,this,this.ecModel)},this);this._data=t},getData:function(){return this._data},select:function(n){var i=this.option.selected,r=this.get("selectedMode");if(r==="single"){var a=this._data;f.each(a,function(t){i[t.get("name")]=!1})}i[n]=!0},unSelect:function(n){this.get("selectedMode")!=="single"&&(this.option.selected[n]=!1)},toggleSelected:function(n){var i=this.option.selected;i.hasOwnProperty(n)||(i[n]=!0),this[i[n]?"unSelect":"select"](n)},allSelect:function(){var n=this._data,i=this.option.selected;f.each(n,function(r){i[r.get("name",!0)]=!0})},inverseSelect:function(){var n=this._data,i=this.option.selected;f.each(n,function(r){var a=r.get("name",!0);i.hasOwnProperty(a)||(i[a]=!0),i[a]=!i[a]})},isSelected:function(n){var i=this.option.selected;return!(i.hasOwnProperty(n)&&!i[n])&&f.indexOf(this._availableNames,n)>=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}}}),e=l;M.exports=e},hOwI:function(M,B){var o=Math.log(2);function w(A,m,g,p,c,h){var l=p+"-"+c,e=A.length;if(h.hasOwnProperty(l))return h[l];if(m===1){var n=Math.round(Math.log((1<<e)-1&~c)/o);return A[g][n]}for(var i=p|1<<g,r=g+1;p&1<<r;)r++;for(var a=0,t=0,s=0;t<e;t++){var u=1<<t;u&c||(a+=(s%2?-1:1)*A[g][t]*w(A,m-1,r,i,c|u,h),s++)}return h[l]=a,a}function f(A,m){var g=[[A[0],A[1],1,0,0,0,-m[0]*A[0],-m[0]*A[1]],[0,0,0,A[0],A[1],1,-m[1]*A[0],-m[1]*A[1]],[A[2],A[3],1,0,0,0,-m[2]*A[2],-m[2]*A[3]],[0,0,0,A[2],A[3],1,-m[3]*A[2],-m[3]*A[3]],[A[4],A[5],1,0,0,0,-m[4]*A[4],-m[4]*A[5]],[0,0,0,A[4],A[5],1,-m[5]*A[4],-m[5]*A[5]],[A[6],A[7],1,0,0,0,-m[6]*A[6],-m[6]*A[7]],[0,0,0,A[6],A[7],1,-m[7]*A[6],-m[7]*A[7]]],p={},c=w(g,8,0,0,0,p);if(c===0)return;for(var h=[],l=0;l<8;l++)for(var e=0;e<8;e++)h[e]==null&&(h[e]=0),h[e]+=((l+e)%2?-1:1)*w(g,7,l===0?1:0,1<<l,1<<e,p)/c*m[l];return function(n,i,r){var a=i*h[6]+r*h[7]+1;n[0]=(i*h[0]+r*h[1]+h[2])/a,n[1]=(i*h[3]+r*h[4]+h[5])/a}}B.buildTransformer=f},hX1E:function(M,B){var o=Math.PI*2;function w(f){return f%=o,f<0&&(f+=o),f}B.normalizeRadian=w},hXwI:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;function w(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}function f(g,p){for(var c=0;c<p.length;c++){var h=p[c];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(g,h.key,h)}}function A(g,p,c){return p&&f(g.prototype,p),c&&f(g,c),g}var m=function(){function g(){w(this,g)}return A(g,[{key:"decodeRect",value:function(c,h,l,e,n,i,r){if(n.rQwait("COPYRECT",4))return!1;var a=n.rQshift16(),t=n.rQshift16();return i.copyImage(a,t,c,h,l,e),!0}}]),g}();B.default=m},hi0g:function(M,B,o){var w=o("bYtY"),f=w.createHashMap,A=w.each,m=w.isString,g=w.defaults,p=w.extend,c=w.isObject,h=w.clone,l=o("4NO4"),e=l.normalizeToArray,n=o("D5nY"),i=n.guessOrdinal,r=n.BE_ORDINAL,a=o("7G+c"),t=o("L0Ub"),s=t.OTHER_DIMENSIONS,u=o("Vi4m");function d(b,E,C){a.isInstance(E)||(E=a.seriesDataToSource(E)),C=C||{},b=(b||[]).slice();for(var T=(C.dimsDef||[]).slice(),x=f(),_=f(),I=[],L=v(E,b,T,C.dimCount),R=0;R<L;R++){var k=T[R]=p({},c(T[R])?T[R]:{name:T[R]}),F=k.name,P=I[R]=new u;F!=null&&x.get(F)==null&&(P.name=P.displayName=F,x.set(F,R)),k.type!=null&&(P.type=k.type),k.displayName!=null&&(P.displayName=k.displayName)}var W=C.encodeDef;!W&&C.encodeDefaulter&&(W=C.encodeDefaulter(E,L)),W=f(W),W.each(function($,ne){if($=e($).slice(),$.length===1&&!m($[0])&&$[0]<0){W.set(ne,!1);return}var J=W.set(ne,[]);A($,function(ge,de){m(ge)&&(ge=x.get(ge)),ge!=null&&ge<L&&(J[de]=ge,U(I[ge],ne,de))})});var D=0;A(b,function($,ne){var J,$,ge,de;if(m($))J=$,$={};else{J=$.name;var Ie=$.ordinalMeta;$.ordinalMeta=null,$=h($),$.ordinalMeta=Ie,ge=$.dimsDef,de=$.otherDims,$.name=$.coordDim=$.coordDimIndex=$.dimsDef=$.otherDims=null}var be=W.get(J);if(be===!1)return;var be=e(be);if(!be.length)for(var Ce=0;Ce<(ge&&ge.length||1);Ce++){for(;D<I.length&&I[D].coordDim!=null;)D++;D<I.length&&be.push(D++)}A(be,function(je,te){var ve=I[je];if(U(g(ve,$),J,te),ve.name==null&&ge){var $e=ge[te];!c($e)&&($e={name:$e}),ve.name=ve.displayName=$e.name,ve.defaultTooltip=$e.defaultTooltip}de&&g(ve.otherDims,de)})});function U($,ne,J){s.get(ne)!=null?$.otherDims[ne]=J:($.coordDim=ne,$.coordDimIndex=J,_.set(ne,!0))}var H=C.generateCoord,j=C.generateCoordCount,K=j!=null;j=H?j||1:0;for(var X=H||"value",z=0;z<L;z++){var P=I[z]=I[z]||new u,Y=P.coordDim;Y==null&&(P.coordDim=y(X,_,K),P.coordDimIndex=0,(!H||j<=0)&&(P.isExtraCoord=!0),j--),P.name==null&&(P.name=y(P.coordDim,x)),P.type==null&&(i(E,z,P.name)===r.Must||P.isExtraCoord&&(P.otherDims.itemName!=null||P.otherDims.seriesName!=null))&&(P.type="ordinal")}return I}function v(b,E,C,T){var x=Math.max(b.dimensionsDetectCount||1,E.length,C.length,T||0);return A(E,function(_){var I=_.dimsDef;I&&(x=Math.max(x,I.length))}),x}function y(b,E,C){if(C||E.get(b)!=null){for(var T=0;E.get(b+T)!=null;)T++;b+=T}return E.set(b,!0),b}var S=d;M.exports=S},hw6D:function(M,B,o){var w=o("bYtY");function f(g){g.eachSeriesByType("radar",function(p){var c=p.getData(),h=[],l=p.coordinateSystem;if(!l)return;var e=l.getIndicatorAxes();w.each(e,function(n,i){c.each(c.mapDimension(e[i].dim),function(r,a){h[a]=h[a]||[];var t=l.dataToPoint(r,i);h[a][i]=A(t)?t:m(l)})}),c.each(function(n){var i=w.find(h[n],function(r){return A(r)})||m(l);h[n].push(i.slice()),c.setItemLayout(n,h[n])})})}function A(g){return!isNaN(g[0])&&!isNaN(g[1])}function m(g){return[g.cx,g.cy]}M.exports=f},hw6N:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("O6sM"),m=o.n(A)},hydK:function(M,B){var o="http://www.w3.org/2000/svg";function w(f){return document.createElementNS(o,f)}B.createElement=w},hyiK:function(M,B){function o(w,f,A,m,g,p){if(p>f&&p>m||p<f&&p<m)return 0;if(m===f)return 0;var c=m<f?1:-1,h=(p-f)/(m-f);(h===1||h===0)&&(c=m<f?.5:-.5);var l=h*(A-w)+w;return l===g?Infinity:l>g?c:0}M.exports=o},i38C:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=A.createHashMap,g=A.retrieve,p=A.each;function c(n){this.coordSysName=n,this.coordSysDims=[],this.axisMap=m(),this.categoryAxisMap=m(),this.firstCategoryDimIndex=null}function h(n){var i=n.get("coordinateSystem"),r=new c(i),a=l[i];if(a)return a(n,r,r.axisMap,r.categoryAxisMap),r}var l={cartesian2d:function(n,i,r,a){var t=n.getReferringComponents("xAxis")[0],s=n.getReferringComponents("yAxis")[0];i.coordSysDims=["x","y"],r.set("x",t),r.set("y",s),e(t)&&(a.set("x",t),i.firstCategoryDimIndex=0),e(s)&&(a.set("y",s),i.firstCategoryDimIndex==null&(i.firstCategoryDimIndex=1))},singleAxis:function(n,i,r,a){var t=n.getReferringComponents("singleAxis")[0];i.coordSysDims=["single"],r.set("single",t),e(t)&&(a.set("single",t),i.firstCategoryDimIndex=0)},polar:function(n,i,r,a){var t=n.getReferringComponents("polar")[0],s=t.findAxisModel("radiusAxis"),u=t.findAxisModel("angleAxis");i.coordSysDims=["radius","angle"],r.set("radius",s),r.set("angle",u),e(s)&&(a.set("radius",s),i.firstCategoryDimIndex=0),e(u)&&(a.set("angle",u),i.firstCategoryDimIndex==null&&(i.firstCategoryDimIndex=1))},geo:function(n,i,r,a){i.coordSysDims=["lng","lat"]},parallel:function(n,i,r,a){var t=n.ecModel,s=t.getComponent("parallel",n.get("parallelIndex")),u=i.coordSysDims=s.dimensions.slice();p(s.parallelAxisIndex,function(d,v){var y=t.getComponent("parallelAxis",d),S=u[v];r.set(S,y),e(y)&&i.firstCategoryDimIndex==null&&(a.set(S,y),i.firstCategoryDimIndex=v)})}};function e(n){return n.get("type")==="category"}B.getCoordSysInfoBySeries=h},iK5Y:function(M,B,o){"use strict";var w=o("rePB"),f=o("wx14"),A=o("U8pU"),m=o("KQm4"),g=o("ODXe"),p=o("o0o1"),c=o.n(p),h=o("q1tI"),l=o.n(h),e=o("1OyB"),n=o("vuIU"),i=o("Ji7U"),r=o("LK+K"),a=o("Ff2n"),t=o("HaE+"),s=o("TSYQ"),u=o.n(s),d=o("bX4T");function v(xt,It){var At="cannot ".concat(xt.method," ").concat(xt.action," ").concat(It.status,"'"),Zt=new Error(At);return Zt.status=It.status,Zt.method=xt.method,Zt.url=xt.action,Zt}function y(xt){var It=xt.responseText||xt.response;if(!It)return It;try{return JSON.parse(It)}catch(At){return It}}function S(xt){var It=new XMLHttpRequest;xt.onProgress&&It.upload&&(It.upload.onprogress=function(Lr){Lr.total>0&&(Lr.percent=Lr.loaded/Lr.total*100),xt.onProgress(Lr)});var At=new FormData;xt.data&&Object.keys(xt.data).forEach(function(br){var Lr=xt.data[br];if(Array.isArray(Lr)){Lr.forEach(function(Jr){At.append("".concat(br,"[]"),Jr)});return}At.append(br,xt.data[br])}),xt.file instanceof Blob?At.append(xt.filename,xt.file,xt.file.name):At.append(xt.filename,xt.file),It.onerror=function(Lr){xt.onError(Lr)},It.onload=function(){return It.status<200||It.status>=300?xt.onError(v(xt,It),y(It)):xt.onSuccess(y(It),It)},It.open(xt.method,xt.action,!0),xt.withCredentials&&"withCredentials"in It&&(It.withCredentials=!0);var Zt=xt.headers||{};return Zt["X-Requested-With"]!==null&&It.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Zt).forEach(function(br){Zt[br]!==null&&It.setRequestHeader(br,Zt[br])}),It.send(At),{abort:function(){It.abort()}}}var b=+new Date,E=0;function C(){return"rc-upload-".concat(b,"-").concat(++E)}var T=o("Kwbf"),x=function(xt,It){if(xt&&It){var At=Array.isArray(It)?It:It.split(","),Zt=xt.name||"",br=xt.type||"",Lr=br.replace(/\/.*$/,"");return At.some(function(Jr){var In=Jr.trim();if(/^\*(\/\*)?$/.test(Jr))return!0;if(In.charAt(0)==="."){var Gr=Zt.toLowerCase(),Tr=In.toLowerCase(),fr=[Tr];return(Tr===".jpg"||Tr===".jpeg")&&(fr=[".jpg","jpeg"]),fr.some(function(vt){return Gr.endsWith(vt)})}return/\/\*$/.test(In)?Lr===In.replace(/\/.*$/,""):br===In?!0:/^\w+$/.test(In)?(Object(T.a)(!1,"Upload takes an invalidate 'accept' type '".concat(In,"'.Skip for check.")),!0):!1})}return!0};function _(xt,It){var At=xt.createReader(),Zt=[];function br(){At.readEntries(function(Lr){var Jr=Array.prototype.slice.apply(Lr);Zt=Zt.concat(Jr);var In=!Jr.length;In?It(Zt):br()})}br()}var I=function(It,At,Zt){var br=function Lr(Jr,In){Jr.path=In||"",Jr.isFile?Jr.file(function(Gr){Zt(Gr)&&(Jr.fullPath&&!Gr.webkitRelativePath&&(Object.defineProperties(Gr,{webkitRelativePath:{writable:!0}}),Gr.webkitRelativePath=Jr.fullPath.replace(/^\//,""),Object.defineProperties(Gr,{webkitRelativePath:{writable:!1}})),At([Gr]))}):Jr.isDirectory&&_(Jr,function(Gr){Gr.forEach(function(Tr){Lr(Tr,"".concat(In).concat(Jr.name,"/"))})})};It.forEach(function(Lr){br(Lr.webkitGetAsEntry())})},L=I,R=function(xt){Object(i.a)(At,xt);var It=Object(r.a)(At);function At(){var Zt;return Object(e.a)(this,At),Zt=It.apply(this,arguments),Zt.state={uid:C()},Zt.reqs={},Zt.onChange=function(br){var Lr=Zt.props,Jr=Lr.accept,In=Lr.directory,Gr=br.target.files,Tr=Object(m.a)(Gr).filter(function(fr){return!In||x(fr,Jr)});Zt.uploadFiles(Tr),Zt.reset()},Zt.onClick=function(br){var Lr=Zt.fileInput;if(!Lr)return;var Jr=Zt.props,In=Jr.children,Gr=Jr.onClick;if(In&&In.type==="button"){var Tr=Lr.parentNode;Tr.focus(),Tr.querySelector("button").blur()}Lr.click(),Gr&&Gr(br)},Zt.onKeyDown=function(br){br.key==="Enter"&&Zt.onClick(br)},Zt.onFileDrop=function(br){var Lr=Zt.props.multiple;if(br.preventDefault(),br.type==="dragover")return;if(Zt.props.directory)L(Array.prototype.slice.call(br.dataTransfer.items),Zt.uploadFiles,function(In){return x(In,Zt.props.accept)});else{var Jr=Object(m.a)(br.dataTransfer.files).filter(function(In){return x(In,Zt.props.accept)});Lr===!1&&(Jr=Jr.slice(0,1)),Zt.uploadFiles(Jr)}},Zt.uploadFiles=function(br){var Lr=Object(m.a)(br),Jr=Lr.map(function(In){return In.uid=C(),Zt.processFile(In,Lr)});Promise.all(Jr).then(function(In){var Gr=Zt.props.onBatchStart;Gr==null||Gr(In.map(function(Tr){var fr=Tr.origin,vt=Tr.parsedFile;return{file:fr,parsedFile:vt}})),In.filter(function(Tr){return Tr.parsedFile!==null}).forEach(function(Tr){Zt.post(Tr)})})},Zt.processFile=function(){var br=Object(t.a)(c.a.mark(function Lr(Jr,In){var Gr,Tr,fr,vt,ft,Te,Pe,Ge,st;return c.a.wrap(function($t){for(;;)switch($t.prev=$t.next){case 0:if(Gr=Zt.props.beforeUpload,Tr=Jr,!Gr){$t.next=14;break}return $t.prev=3,$t.next=6,Gr(Jr,In);case 6:Tr=$t.sent,$t.next=12;break;case 9:$t.prev=9,$t.t0=$t.catch(3),Tr=!1;case 12:if(!(Tr===!1)){$t.next=14;break}return $t.abrupt("return",{origin:Jr,parsedFile:null,action:null,data:null});case 14:if(fr=Zt.props.action,!(typeof fr=="function")){$t.next=21;break}return $t.next=18,fr(Jr);case 18:vt=$t.sent,$t.next=22;break;case 21:vt=fr;case 22:if(ft=Zt.props.data,!(typeof ft=="function")){$t.next=29;break}return $t.next=26,ft(Jr);case 26:Te=$t.sent,$t.next=30;break;case 29:Te=ft;case 30:return Pe=(Object(A.a)(Tr)==="object"||typeof Tr=="string")&&Tr?Tr:Jr,Pe instanceof File?Ge=Pe:Ge=new File([Pe],Jr.name,{type:Jr.type}),st=Ge,st.uid=Jr.uid,$t.abrupt("return",{origin:Jr,data:Te,parsedFile:st,action:vt});case 35:case"end":return $t.stop()}},Lr,null,[[3,9]])}));return function(Lr,Jr){return br.apply(this,arguments)}}(),Zt.saveFileInput=function(br){Zt.fileInput=br},Zt}return Object(n.a)(At,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(br){var Lr=this,Jr=br.data,In=br.origin,Gr=br.action,Tr=br.parsedFile;if(!this._isMounted)return;var fr=this.props,vt=fr.onStart,ft=fr.customRequest,Te=fr.name,Pe=fr.headers,Ge=fr.withCredentials,st=fr.method,Bt=In.uid,$t=ft||S,Nr={action:Gr,filename:Te,data:Jr,file:Tr,headers:Pe,withCredentials:Ge,method:st||"post",onProgress:function(un){var Kt=Lr.props.onProgress;Kt==null||Kt(un,Tr)},onSuccess:function(un,Kt){var St=Lr.props.onSuccess;St==null||St(un,Tr,Kt),delete Lr.reqs[Bt]},onError:function(un,Kt){var St=Lr.props.onError;St==null||St(un,Kt,Tr),delete Lr.reqs[Bt]}};vt(In),this.reqs[Bt]=$t(Nr)}},{key:"reset",value:function(){this.setState({uid:C()})}},{key:"abort",value:function(br){var Lr=this.reqs;if(br){var Jr=br.uid?br.uid:br;Lr[Jr]&&Lr[Jr].abort&&Lr[Jr].abort(),delete Lr[Jr]}else Object.keys(Lr).forEach(function(In){Lr[In]&&Lr[In].abort&&Lr[In].abort(),delete Lr[In]})}},{key:"render",value:function(){var br,Lr=this.props,Jr=Lr.component,In=Lr.prefixCls,Gr=Lr.className,Tr=Lr.disabled,fr=Lr.id,vt=Lr.style,ft=Lr.multiple,Te=Lr.accept,Pe=Lr.children,Ge=Lr.directory,st=Lr.openFileDialogOnClick,Bt=Lr.onMouseEnter,$t=Lr.onMouseLeave,Nr=Lr.capture,yn=Object(a.a)(Lr,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","capture"]),un=u()((br={},Object(w.a)(br,In,!0),Object(w.a)(br,"".concat(In,"-disabled"),Tr),Object(w.a)(br,Gr,Gr),br)),Kt=Ge?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},St=Tr?{}:{onClick:st?this.onClick:function(){},onKeyDown:st?this.onKeyDown:function(){},onMouseEnter:Bt,onMouseLeave:$t,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return l.a.createElement(Jr,Object(f.a)({},St,{className:un,role:"button",style:vt}),l.a.createElement("input",Object(f.a)({},Object(d.a)(yn,{aria:!0,data:!0}),{id:fr,type:"file",ref:this.saveFileInput,onClick:function(Jt){return Jt.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Te},Kt,{multiple:ft,onChange:this.onChange},Nr!=null?{capture:Nr}:{})),Pe)}}]),At}(h.Component),k=R;function F(){}var P=function(xt){Object(i.a)(At,xt);var It=Object(r.a)(At);function At(){var Zt;return Object(e.a)(this,At),Zt=It.apply(this,arguments),Zt.saveUploader=function(br){Zt.uploader=br},Zt}return Object(n.a)(At,[{key:"abort",value:function(br){this.uploader.abort(br)}},{key:"render",value:function(){return l.a.createElement(k,Object(f.a)({},this.props,{ref:this.saveUploader}))}}]),At}(h.Component);P.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:F,onError:F,onSuccess:F,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var W=P,D=W,U=o("6cGi"),H=function(xt,It){var At={};for(var Zt in xt)Object.prototype.hasOwnProperty.call(xt,Zt)&&It.indexOf(Zt)<0&&(At[Zt]=xt[Zt]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var br=0,Zt=Object.getOwnPropertySymbols(xt);br<Zt.length;br++)It.indexOf(Zt[br])<0&&Object.prototype.propertyIsEnumerable.call(xt,Zt[br])&&(At[Zt[br]]=xt[Zt[br]]);return At},j=function(It,At){var Zt=It.style,br=It.height,Lr=H(It,["style","height"]);return h.createElement(pr,Object(f.a)({ref:At},Lr,{type:"drag",style:Object(f.a)(Object(f.a)({},Zt),{height:br})}))},K=h.forwardRef(j);K.displayName="Dragger";var X=K,z=o("8XRh"),Y=o("ye1Q"),$=o("VTBJ"),ne={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"},J=ne,ge=o("6VBw"),de=function(It,At){return h.createElement(ge.a,Object($.a)(Object($.a)({},It),{},{ref:At,icon:J}))};de.displayName="PaperClipOutlined";var Ie=h.forwardRef(de),be={icon:function(It,At){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:It}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:At}},{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:At}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:At}},{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:It}}]}},name:"picture",theme:"twotone"},Ce=be,je=function(It,At){return h.createElement(ge.a,Object($.a)(Object($.a)({},It),{},{ref:At,icon:Ce}))};je.displayName="PictureTwoTone";var te=h.forwardRef(je),ve={icon:function(It,At){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:At}},{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:It}}]}},name:"file",theme:"twotone"},$e=ve,Le=function(It,At){return h.createElement(ge.a,Object($.a)(Object($.a)({},It),{},{ref:At,icon:$e}))};Le.displayName="FileTwoTone";var he=h.forwardRef(Le),ee=o("kLeg");function se(xt){return Object(f.a)(Object(f.a)({},xt),{lastModified:xt.lastModified,lastModifiedDate:xt.lastModifiedDate,name:xt.name,size:xt.size,type:xt.type,uid:xt.uid,percent:0,originFileObj:xt})}function Ue(xt,It){var At=Object(m.a)(It),Zt=At.findIndex(function(br){var Lr=br.uid;return Lr===xt.uid});return Zt===-1?At.push(xt):At[Zt]=xt,At}function ue(xt,It){var At=xt.uid!==void 0?"uid":"name";return It.filter(function(Zt){return Zt[At]===xt[At]})[0]}function Ne(xt,It){var At=xt.uid!==void 0?"uid":"name",Zt=It.filter(function(br){return br[At]!==xt[At]});return Zt.length===It.length?null:Zt}var Fe=function(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",At=It.split("/"),Zt=At[At.length-1],br=Zt.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(br)||[""])[0]},ae=function(It){return It.indexOf("image/")===0},ce=function(It){if(It.type&&!It.thumbUrl)return ae(It.type);var At=It.thumbUrl||It.url||"",Zt=Fe(At);return/^data:image\//.test(At)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(Zt)?!0:/^data:/.test(At)?!1:!Zt},_e=200;function ze(xt){return new Promise(function(It){if(!xt.type||!ae(xt.type)){It("");return}var At=document.createElement("canvas");At.width=_e,At.height=_e,At.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(_e,"px; height: ").concat(_e,"px; z-index: 9999; display: none;"),document.body.appendChild(At);var Zt=At.getContext("2d"),br=new Image;br.onload=function(){var Lr=br.width,Jr=br.height,In=_e,Gr=_e,Tr=0,fr=0;Lr>Jr?(Gr=Jr*(_e/Lr),fr=-(Gr-In)/2):(In=Lr*(_e/Jr),Tr=-(In-Gr)/2),Zt.drawImage(br,Tr,fr,In,Gr);var vt=At.toDataURL();document.body.removeChild(At),It(vt)},br.src=window.URL.createObjectURL(xt)})}var it=o("MZCN"),Ze=o("9R2V"),Ee=o("Fc8i"),mt=o("oMPz"),Je=o("9BLJ"),rt=o("/MfK"),wt=o("dF/Y"),Ot=o("d+VM"),Ct=o("9HCz"),Dt=h.forwardRef(function(xt,It){var At,Zt=xt.prefixCls,br=xt.className,Lr=xt.style,Jr=xt.locale,In=xt.listType,Gr=xt.file,Tr=xt.items,fr=xt.progress,vt=xt.iconRender,ft=xt.actionIconRender,Te=xt.itemRender,Pe=xt.isImgUrl,Ge=xt.showPreviewIcon,st=xt.showRemoveIcon,Bt=xt.showDownloadIcon,$t=xt.removeIcon,Nr=xt.downloadIcon,yn=xt.onPreview,un=xt.onDownload,Kt=xt.onClose,St,kt,Jt=h.useState(!1),Br=Object(g.a)(Jt,2),Hr=Br[0],$r=Br[1],Ft=h.useRef();h.useEffect(function(){return Ft.current=setTimeout(function(){$r(!0)},300),function(){window.clearTimeout(Ft.current)}},[]);var cr="".concat(Zt,"-span"),Cr=vt(Gr),Fr=h.createElement("div",{className:"".concat(Zt,"-text-icon")},Cr);if(In==="picture"||In==="picture-card")if(Gr.status==="uploading"||!Gr.thumbUrl&&!Gr.url){var Wr,An=u()((Wr={},Object(w.a)(Wr,"".concat(Zt,"-list-item-thumbnail"),!0),Object(w.a)(Wr,"".concat(Zt,"-list-item-file"),Gr.status!=="uploading"),Wr));Fr=h.createElement("div",{className:An},Cr)}else{var bn,Sn=(Pe==null?void 0:Pe(Gr))?h.createElement("img",{src:Gr.thumbUrl||Gr.url,alt:Gr.name,className:"".concat(Zt,"-list-item-image")}):Cr,kn=u()((bn={},Object(w.a)(bn,"".concat(Zt,"-list-item-thumbnail"),!0),Object(w.a)(bn,"".concat(Zt,"-list-item-file"),Pe&&!Pe(Gr)),bn));Fr=h.createElement("a",{className:kn,onClick:function(jt){return yn(Gr,jt)},href:Gr.url||Gr.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Sn)}var ei=u()((At={},Object(w.a)(At,"".concat(Zt,"-list-item"),!0),Object(w.a)(At,"".concat(Zt,"-list-item-").concat(Gr.status),!0),Object(w.a)(At,"".concat(Zt,"-list-item-list-type-").concat(In),!0),At)),Jn=typeof Gr.linkProps=="string"?JSON.parse(Gr.linkProps):Gr.linkProps,ai=st?ft((typeof $t=="function"?$t(Gr):$t)||h.createElement(rt.a,null),function(){return Kt(Gr)},Zt,Jr.removeFile):null,ii=Bt&&Gr.status==="done"?ft((typeof Nr=="function"?Nr(Gr):Nr)||h.createElement(wt.a,null),function(){return un(Gr)},Zt,Jr.downloadFile):null,qe=In!=="picture-card"&&h.createElement("span",{key:"download-delete",className:u()("".concat(Zt,"-list-item-card-actions"),{picture:In==="picture"})},ii,ai),Se=u()("".concat(Zt,"-list-item-name")),Me=Gr.url?[h.createElement("a",Object(f.a)({key:"view",target:"_blank",rel:"noopener noreferrer",className:Se,title:Gr.name},Jn,{href:Gr.url,onClick:function(jt){return yn(Gr,jt)}}),Gr.name),qe]:[h.createElement("span",{key:"view",className:Se,onClick:function(jt){return yn(Gr,jt)},title:Gr.name},Gr.name),qe],Be={pointerEvents:"none",opacity:.5},Qe=Ge?h.createElement("a",{href:Gr.url||Gr.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Gr.url||Gr.thumbUrl?void 0:Be,onClick:function(jt){return yn(Gr,jt)},title:Jr.previewFile},h.createElement(Je.a,null)):null,Ve=In==="picture-card"&&Gr.status!=="uploading"&&h.createElement("span",{className:"".concat(Zt,"-list-item-actions")},Qe,Gr.status==="done"&&ii,ai),Ye;Gr.response&&typeof Gr.response=="string"?Ye=Gr.response:Ye=((St=Gr.error)===null||St===void 0?void 0:St.statusText)||((kt=Gr.error)===null||kt===void 0?void 0:kt.message)||Jr.uploadError;var pt=h.createElement("span",{className:cr},Fr,Me),ht=h.useContext(Ze.b),Vt=ht.getPrefixCls,dr=Vt(),tr=h.createElement("div",{className:ei},h.createElement("div",{className:"".concat(Zt,"-list-item-info")},pt),Ve,Hr&&h.createElement(z.default,{motionName:"".concat(dr,"-fade"),visible:Gr.status==="uploading",motionDeadline:2e3},function(gr){var jt=gr.className,Sr="percent"in Gr?h.createElement(Ct.a,Object(f.a)({},fr,{type:"line",percent:Gr.percent})):null;return h.createElement("div",{className:u()("".concat(Zt,"-list-item-progress"),jt)},Sr)})),ir=u()("".concat(Zt,"-list-").concat(In,"-container"),br),_t=Gr.status==="error"?h.createElement(Ot.a,{title:Ye,getPopupContainer:function(jt){return jt.parentNode}},tr):tr;return h.createElement("div",{className:ir,style:Lr,ref:It},Te?Te(_t,Gr,Tr,{download:un.bind(null,Gr),preview:yn.bind(null,Gr),remove:Kt.bind(null,Gr)}):_t)}),Xe=Dt,q=Object(f.a)({},it.a);delete q.onAppearEnd,delete q.onEnterEnd,delete q.onLeaveEnd;var V=function(It,At){var Zt,br=It.listType,Lr=It.previewFile,Jr=It.onPreview,In=It.onDownload,Gr=It.onRemove,Tr=It.locale,fr=It.iconRender,vt=It.isImageUrl,ft=It.prefixCls,Te=It.items,Pe=Te===void 0?[]:Te,Ge=It.showPreviewIcon,st=It.showRemoveIcon,Bt=It.showDownloadIcon,$t=It.removeIcon,Nr=It.downloadIcon,yn=It.progress,un=It.appendAction,Kt=It.itemRender,St=Object(mt.a)(),kt=h.useState(!1),Jt=Object(g.a)(kt,2),Br=Jt[0],Hr=Jt[1];h.useEffect(function(){if(br!=="picture"&&br!=="picture-card")return;(Pe||[]).forEach(function(ii){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ii.originFileObj instanceof File||ii.originFileObj instanceof Blob)||ii.thumbUrl!==void 0)return;ii.thumbUrl="",Lr&&Lr(ii.originFileObj).then(function(qe){ii.thumbUrl=qe||"",St()})})},[br,Pe,Lr]),h.useEffect(function(){Hr(!0)},[]);var $r=function(qe,Se){return Jr?(Se==null||Se.preventDefault(),Jr(qe)):void 0},Ft=function(qe){typeof In=="function"?In(qe):qe.url&&window.open(qe.url)},cr=function(qe){Gr==null||Gr(qe)},Cr=function(qe){if(fr)return fr(qe,br);var Se=qe.status==="uploading",Me=vt&&vt(qe)?h.createElement(te,null):h.createElement(he,null),Be=Se?h.createElement(Y.a,null):h.createElement(Ie,null);return br==="picture"?Be=Se?h.createElement(Y.a,null):Me:br==="picture-card"&&(Be=Se?Tr.uploading:Me),Be},Fr=function(qe,Se,Me,Be){var Qe={type:"text",size:"small",title:Be,onClick:function(pt){Se(),Object(ee.b)(qe)&&qe.props.onClick&&qe.props.onClick(pt)},className:"".concat(Me,"-list-item-card-actions-btn")};if(Object(ee.b)(qe)){var Ve=Object(ee.a)(qe,Object(f.a)(Object(f.a)({},qe.props),{onClick:function(){}}));return h.createElement(Ee.a,Object(f.a)({},Qe,{icon:Ve}))}return h.createElement(Ee.a,Qe,h.createElement("span",null,qe))};h.useImperativeHandle(At,function(){return{handlePreview:$r,handleDownload:Ft}});var Wr=h.useContext(Ze.b),An=Wr.getPrefixCls,bn=Wr.direction,Sn=An("upload",ft),kn=u()((Zt={},Object(w.a)(Zt,"".concat(Sn,"-list"),!0),Object(w.a)(Zt,"".concat(Sn,"-list-").concat(br),!0),Object(w.a)(Zt,"".concat(Sn,"-list-rtl"),bn==="rtl"),Zt)),ei=Object(m.a)(Pe.map(function(ii){return{key:ii.uid,file:ii}})),Jn=br==="picture-card"?"animate-inline":"animate",ai={motionDeadline:2e3,motionName:"".concat(Sn,"-").concat(Jn),keys:ei,motionAppear:Br};return br!=="picture-card"&&(ai=Object(f.a)(Object(f.a)({},q),ai)),h.createElement("div",{className:kn},h.createElement(z.CSSMotionList,Object(f.a)({},ai,{component:!1}),function(ii){var qe=ii.key,Se=ii.file,Me=ii.className,Be=ii.style;return h.createElement(Xe,{key:qe,locale:Tr,prefixCls:Sn,className:Me,style:Be,file:Se,items:Pe,progress:yn,listType:br,isImgUrl:vt,showPreviewIcon:Ge,showRemoveIcon:st,showDownloadIcon:Bt,removeIcon:$t,downloadIcon:Nr,iconRender:Cr,actionIconRender:Fr,itemRender:Kt,onPreview:$r,onDownload:Ft,onClose:cr})}),un&&h.createElement(z.default,ai,function(ii){var qe=ii.className,Se=ii.style;return Object(ee.a)(un,function(Me){return{className:u()(Me.className,qe),style:Object(f.a)(Object(f.a)({},Se),Me.style)}})}))},Ae=h.forwardRef(V);Ae.displayName="UploadList",Ae.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:ze,isImageUrl:ce};var xe=Ae,re=o("VM9+"),ot=o("n3rz"),bt=o("bq+4"),tt=function(xt,It,At,Zt){function br(Lr){return Lr instanceof At?Lr:new At(function(Jr){Jr(Lr)})}return new(At||(At=Promise))(function(Lr,Jr){function In(fr){try{Tr(Zt.next(fr))}catch(vt){Jr(vt)}}function Gr(fr){try{Tr(Zt.throw(fr))}catch(vt){Jr(vt)}}function Tr(fr){fr.done?Lr(fr.value):br(fr.value).then(In,Gr)}Tr((Zt=Zt.apply(xt,It||[])).next())})},Tt="__LIST_IGNORE_".concat(Date.now(),"__"),Gt=function(It,At){var Zt,br=It.fileList,Lr=It.defaultFileList,Jr=It.onRemove,In=It.showUploadList,Gr=It.listType,Tr=It.onPreview,fr=It.onDownload,vt=It.onChange,ft=It.onDrop,Te=It.previewFile,Pe=It.disabled,Ge=It.locale,st=It.iconRender,Bt=It.isImageUrl,$t=It.progress,Nr=It.prefixCls,yn=It.className,un=It.type,Kt=It.children,St=It.style,kt=It.itemRender,Jt=It.maxCount,Br=Object(U.a)(Lr||[],{value:br,postState:function(ir){return ir!=null?ir:[]}}),Hr=Object(g.a)(Br,2),$r=Hr[0],Ft=Hr[1],cr=h.useState("drop"),Cr=Object(g.a)(cr,2),Fr=Cr[0],Wr=Cr[1],An=h.useRef();h.useEffect(function(){Object(bt.a)("fileList"in It||!("value"in It),"Upload","`value` is not a valid prop, do you mean `fileList`?"),Object(bt.a)(!("transformFile"in It),"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly.")},[]),h.useMemo(function(){var tr=Date.now();(br||[]).forEach(function(ir,_t){!ir.uid&&!Object.isFrozen(ir)&&(ir.uid="__AUTO__".concat(tr,"_").concat(_t,"__"))})},[br]);var bn=function(ir,_t,gr){var jt=Object(m.a)(_t);Jt===1?jt=jt.slice(-1):Jt&&(jt=jt.slice(0,Jt)),Ft(jt);var Sr={file:ir,fileList:jt};gr&&(Sr.event=gr),vt==null||vt(Sr)},Sn=function(ir,_t){return tt(void 0,void 0,void 0,c.a.mark(function gr(){var jt,Sr,Ar,sr;return c.a.wrap(function(_n){for(;;)switch(_n.prev=_n.next){case 0:if(jt=It.beforeUpload,Sr=It.transformFile,Ar=ir,!jt){_n.next=13;break}return _n.next=5,jt(ir,_t);case 5:if(sr=_n.sent,!(sr===!1)){_n.next=8;break}return _n.abrupt("return",!1);case 8:if(delete ir[Tt],!(sr===Tt)){_n.next=12;break}return Object.defineProperty(ir,Tt,{value:!0,configurable:!0}),_n.abrupt("return",!1);case 12:Object(A.a)(sr)==="object"&&sr&&(Ar=sr);case 13:if(!Sr){_n.next=17;break}return _n.next=16,Sr(Ar);case 16:Ar=_n.sent;case 17:return _n.abrupt("return",Ar);case 18:case"end":return _n.stop()}},gr)}))},kn=function(ir){var _t=ir.filter(function(Sr){return!Sr.file[Tt]});if(!_t.length)return;var gr=_t.map(function(Sr){return se(Sr.file)}),jt=Object(m.a)($r);gr.forEach(function(Sr){jt=Ue(Sr,jt)}),gr.forEach(function(Sr,Ar){var sr=Sr;if(_t[Ar].parsedFile)Sr.status="uploading";else{var ln=Sr.originFileObj,_n;try{_n=new File([ln],ln.name,{type:ln.type})}catch(Wn){_n=new Blob([ln],{type:ln.type}),_n.name=ln.name,_n.lastModifiedDate=new Date,_n.lastModified=new Date().getTime()}_n.uid=Sr.uid,sr=_n}bn(sr,jt)})},ei=function(ir,_t,gr){try{typeof ir=="string"&&(ir=JSON.parse(ir))}catch(Ar){}if(!ue(_t,$r))return;var jt=se(_t);jt.status="done",jt.percent=100,jt.response=ir,jt.xhr=gr;var Sr=Ue(jt,$r);bn(jt,Sr)},Jn=function(ir,_t){if(!ue(_t,$r))return;var gr=se(_t);gr.status="uploading",gr.percent=ir.percent;var jt=Ue(gr,$r);bn(gr,jt,ir)},ai=function(ir,_t,gr){if(!ue(gr,$r))return;var jt=se(gr);jt.error=ir,jt.response=_t,jt.status="error";var Sr=Ue(jt,$r);bn(jt,Sr)},ii=function(ir){var _t;Promise.resolve(typeof Jr=="function"?Jr(ir):Jr).then(function(gr){var jt;if(gr===!1)return;var Sr=Ne(ir,$r);Sr&&(_t=Object(f.a)(Object(f.a)({},ir),{status:"removed"}),$r==null||$r.forEach(function(Ar){var sr=_t.uid!==void 0?"uid":"name";Ar[sr]===_t[sr]&&!Object.isFrozen(Ar)&&(Ar.status="removed")}),(jt=An.current)===null||jt===void 0||jt.abort(_t),bn(_t,Sr))})},qe=function(ir){Wr(ir.type),ir.type==="drop"&&(ft==null||ft(ir))};h.useImperativeHandle(At,function(){return{onBatchStart:kn,onSuccess:ei,onProgress:Jn,onError:ai,fileList:$r,upload:An.current}});var Se=h.useContext(Ze.b),Me=Se.getPrefixCls,Be=Se.direction,Qe=Me("upload",Nr),Ve=Object(f.a)(Object(f.a)({onBatchStart:kn,onError:ai,onProgress:Jn,onSuccess:ei},It),{prefixCls:Qe,beforeUpload:Sn,onChange:void 0});delete Ve.className,delete Ve.style,(!Kt||Pe)&&delete Ve.id;var Ye=function(ir){return In?h.createElement(re.a,{componentName:"Upload",defaultLocale:ot.a.Upload},function(_t){var gr=typeof In=="boolean"?{}:In,jt=gr.showRemoveIcon,Sr=gr.showPreviewIcon,Ar=gr.showDownloadIcon,sr=gr.removeIcon,ln=gr.downloadIcon;return h.createElement(xe,{listType:Gr,items:$r,previewFile:Te,onPreview:Tr,onDownload:fr,onRemove:ii,showRemoveIcon:!Pe&&jt,showPreviewIcon:Sr,showDownloadIcon:Ar,removeIcon:sr,downloadIcon:ln,iconRender:st,locale:Object(f.a)(Object(f.a)({},_t),Ge),isImageUrl:Bt,progress:$t,appendAction:ir,itemRender:kt})}):ir};if(un==="drag"){var pt,ht=u()(Qe,(pt={},Object(w.a)(pt,"".concat(Qe,"-drag"),!0),Object(w.a)(pt,"".concat(Qe,"-drag-uploading"),$r.some(function(tr){return tr.status==="uploading"})),Object(w.a)(pt,"".concat(Qe,"-drag-hover"),Fr==="dragover"),Object(w.a)(pt,"".concat(Qe,"-disabled"),Pe),Object(w.a)(pt,"".concat(Qe,"-rtl"),Be==="rtl"),pt),yn);return h.createElement("span",null,h.createElement("div",{className:ht,onDrop:qe,onDragOver:qe,onDragLeave:qe,style:St},h.createElement(D,Object(f.a)({},Ve,{ref:An,className:"".concat(Qe,"-btn")}),h.createElement("div",{className:"".concat(Qe,"-drag-container")},Kt))),Ye())}var Vt=u()(Qe,(Zt={},Object(w.a)(Zt,"".concat(Qe,"-select"),!0),Object(w.a)(Zt,"".concat(Qe,"-select-").concat(Gr),!0),Object(w.a)(Zt,"".concat(Qe,"-disabled"),Pe),Object(w.a)(Zt,"".concat(Qe,"-rtl"),Be==="rtl"),Zt)),dr=h.createElement("div",{className:Vt,style:Kt?void 0:{display:"none"}},h.createElement(D,Object(f.a)({},Ve,{ref:An})));return Gr==="picture-card"?h.createElement("span",{className:u()("".concat(Qe,"-picture-card-wrapper"),yn)},Ye(dr)):h.createElement("span",{className:yn},dr,Ye())},lr=h.forwardRef(Gt);lr.Dragger=X,lr.LIST_IGNORE=Tt,lr.displayName="Upload",lr.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var pr=lr;pr.Dragger=X;var Rr=B.a=pr},iLNv:function(M,B){var o="\0__throttleOriginMethod",w="\0__throttleRate",f="\0__throttleType";function A(p,c,h){var l,e=0,n=0,i=null,r,a,t,s;c=c||0;function u(){n=new Date().getTime(),i=null,p.apply(a,t||[])}var d=function(){l=new Date().getTime(),a=this,t=arguments;var v=s||c,y=s||h;s=null,r=l-(y?e:n)-v,clearTimeout(i),y?i=setTimeout(u,v):r>=0?u():i=setTimeout(u,-r),e=l};return d.clear=function(){i&&(clearTimeout(i),i=null)},d.debounceNextCall=function(v){s=v},d}function m(p,c,h,l){var e=p[c];if(!e)return;var n=e[o]||e,i=e[f],r=e[w];if(r!==h||i!==l){if(h==null||!l)return p[c]=n;e=p[c]=A(n,h,l==="debounce"),e[o]=n,e[f]=l,e[w]=h}return e}function g(p,c){var h=p[c];h&&h[o]&&(p[c]=h[o])}B.throttle=A,B.createOrUpdate=m,B.clear=g},iLsX:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("W4y/"),m=o.n(A),g=o("jOhD")},iPDy:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=w.extendComponentView({type:"marker",init:function(){this.markerGroupMap=f.createHashMap()},render:function(m,g,p){var c=this.markerGroupMap;c.each(function(l){l.__keep=!1});var h=this.type+"Model";g.eachSeries(function(l){var e=l[h];e&&this.renderSeries(l,e,g,p)},this),c.each(function(l){!l.__keep&&this.group.remove(l.group)},this)},renderSeries:function(){}});M.exports=A},iRjW:function(M,B,o){var w=o("bYtY"),f=o("Yl7c"),A=f.parseClassType,m=0;function g(h){return[h||"",m++,Math.random().toFixed(5)].join("_")}function p(h){var l={};return h.registerSubTypeDefaulter=function(e,n){e=A(e),l[e.main]=n},h.determineSubType=function(e,n){var i=n.type;if(!i){var r=A(e).main;h.hasSubTypes(e)&&l[r]&&(i=l[r](n))}return i},h}function c(h,l){h.topologicalTravel=function(r,a,t,s){if(!r.length)return;var u=e(a),d=u.graph,v=u.noEntryList,y={};for(w.each(r,function(x){y[x]=!0});v.length;){var S=v.pop(),b=d[S],E=!!y[S];E&&(t.call(s,S,b.originalDeps.slice()),delete y[S]),w.each(b.successor,E?T:C)}w.each(y,function(){throw new Error("Circle dependency may exists")});function C(x){d[x].entryCount--,d[x].entryCount===0&&v.push(x)}function T(x){y[x]=!0,C(x)}};function e(r){var a={},t=[];return w.each(r,function(s){var u=n(a,s),d=u.originalDeps=l(s),v=i(d,r);u.entryCount=v.length,u.entryCount===0&&t.push(s),w.each(v,function(y){w.indexOf(u.predecessor,y)<0&&u.predecessor.push(y);var S=n(a,y);w.indexOf(S.successor,y)<0&&S.successor.push(s)})}),{graph:a,noEntryList:t}}function n(r,a){return r[a]||(r[a]={predecessor:[],successor:[]}),r[a]}function i(r,a){var t=[];return w.each(r,function(s){w.indexOf(a,s)>=0&&t.push(s)}),t}}B.getUID=g,B.enableSubTypeDefaulter=p,B.enableTopologicalTravel=c},iUHT:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;function w(b,E){if(!(b instanceof E))throw new TypeError("Cannot call a class as a function")}function f(b,E){for(var C=0;C<E.length;C++){var T=E[C];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(b,T.key,T)}}function A(b,E,C){return E&&f(b.prototype,E),C&&f(b,C),b}var m=[13,16,10,23,0,4,2,27,14,5,20,9,22,18,11,3,25,7,15,6,26,19,12,1,40,51,30,36,46,54,29,39,50,44,32,47,43,48,38,55,33,52,45,41,49,35,28,31],g=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],p=0,c,h,l,e,n,i;c=1<<16,h=1<<24,l=c|h,e=1<<2,n=1<<10,i=e|n;var r=[l|n,p|p,c|p,l|i,l|e,c|i,p|e,c|p,p|n,l|n,l|i,p|n,h|i,l|e,h|p,p|e,p|i,h|n,h|n,c|n,c|n,l|p,l|p,h|i,c|e,h|e,h|e,c|e,p|p,p|i,c|i,h|p,c|p,l|i,p|e,l|p,l|n,h|p,h|p,p|n,l|e,c|p,c|n,h|e,p|n,p|e,h|i,c|i,l|i,c|e,l|p,h|i,h|e,p|i,c|i,l|n,p|i,h|n,h|n,p|p,c|e,c|n,p|p,l|e];c=1<<20,h=1<<31,l=c|h,e=1<<5,n=1<<15,i=e|n;var a=[l|i,h|n,p|n,c|i,c|p,p|e,l|e,h|i,h|e,l|i,l|n,h|p,h|n,c|p,p|e,l|e,c|n,c|e,h|i,p|p,h|p,p|n,c|i,l|p,c|e,h|e,p|p,c|n,p|i,l|n,l|p,p|i,p|p,c|i,l|e,c|p,h|i,l|p,l|n,p|n,l|p,h|n,p|e,l|i,c|i,p|e,p|n,h|p,p|i,l|n,c|p,h|e,c|e,h|i,h|e,c|e,c|n,p|p,h|n,p|i,h|p,l|e,l|i,c|n];c=1<<17,h=1<<27,l=c|h,e=1<<3,n=1<<9,i=e|n;var t=[p|i,l|n,p|p,l|e,h|n,p|p,c|i,h|n,c|e,h|e,h|e,c|p,l|i,c|e,l|p,p|i,h|p,p|e,l|n,p|n,c|n,l|p,l|e,c|i,h|i,c|n,c|p,h|i,p|e,l|i,p|n,h|p,l|n,h|p,c|e,p|i,c|p,l|n,h|n,p|p,p|n,c|e,l|i,h|n,h|e,p|n,p|p,l|e,h|i,c|p,h|p,l|i,p|e,c|i,c|n,h|e,l|p,h|i,p|i,l|p,c|i,p|e,l|e,c|n];c=1<<13,h=1<<23,l=c|h,e=1<<0,n=1<<7,i=e|n;var s=[l|e,c|i,c|i,p|n,l|n,h|i,h|e,c|e,p|p,l|p,l|p,l|i,p|i,p|p,h|n,h|e,p|e,c|p,h|p,l|e,p|n,h|p,c|e,c|n,h|i,p|e,c|n,h|n,c|p,l|n,l|i,p|i,h|n,h|e,l|p,l|i,p|i,p|p,p|p,l|p,c|n,h|n,h|i,p|e,l|e,c|i,c|i,p|n,l|i,p|i,p|e,c|p,h|e,c|e,l|n,h|i,c|e,c|n,h|p,l|e,p|n,h|p,c|p,l|n];c=1<<25,h=1<<30,l=c|h,e=1<<8,n=1<<19,i=e|n;var u=[p|e,c|i,c|n,l|e,p|n,p|e,h|p,c|n,h|i,p|n,c|e,h|i,l|e,l|n,p|i,h|p,c|p,h|n,h|n,p|p,h|e,l|i,l|i,c|e,l|n,h|e,p|p,l|p,c|i,c|p,l|p,p|i,p|n,l|e,p|e,c|p,h|p,c|n,l|e,h|i,c|e,h|p,l|n,c|i,h|i,p|e,c|p,l|n,l|i,p|i,l|p,l|i,c|n,p|p,h|n,l|p,p|i,c|e,h|e,p|n,p|p,h|n,c|i,h|e];c=1<<22,h=1<<29,l=c|h,e=1<<4,n=1<<14,i=e|n;var d=[h|e,l|p,p|n,l|i,l|p,p|e,l|i,c|p,h|n,c|i,c|p,h|e,c|e,h|n,h|p,p|i,p|p,c|e,h|i,p|n,c|n,h|i,p|e,l|e,l|e,p|p,c|i,l|n,p|i,c|n,l|n,h|p,h|n,p|e,l|e,c|n,l|i,c|p,p|i,h|e,c|p,h|n,h|p,p|i,h|e,l|i,c|n,l|p,c|i,l|n,p|p,l|e,p|e,p|n,l|p,c|i,p|n,c|e,h|i,p|p,l|n,h|p,c|e,h|i];c=1<<21,h=1<<26,l=c|h,e=1<<1,n=1<<11,i=e|n;var v=[c|p,l|e,h|i,p|p,p|n,h|i,c|i,l|n,l|i,c|p,p|p,h|e,p|e,h|p,l|e,p|i,h|n,c|i,c|e,h|n,h|e,l|p,l|n,c|e,l|p,p|n,p|i,l|i,c|n,p|e,h|p,c|n,h|p,c|n,c|p,h|i,h|i,l|e,l|e,p|e,c|e,h|p,h|n,c|p,l|n,p|i,c|i,l|n,p|i,h|e,l|i,l|p,c|n,p|p,p|e,l|i,p|p,c|i,l|p,p|n,h|e,h|n,p|n,c|e];c=1<<18,h=1<<28,l=c|h,e=1<<6,n=1<<12,i=e|n;var y=[h|i,p|n,c|p,l|i,h|p,h|i,p|e,h|p,c|e,l|p,l|i,c|n,l|n,c|i,p|n,p|e,l|p,h|e,h|n,p|i,c|n,c|e,l|e,l|n,p|i,p|p,p|p,l|e,h|e,h|n,c|i,c|p,c|i,c|p,l|n,p|n,p|e,l|e,p|n,c|i,h|n,p|e,h|e,l|p,l|e,h|p,c|p,h|i,p|p,l|i,c|e,h|e,l|p,h|n,h|i,p|p,l|i,c|n,c|n,p|i,p|i,c|e,h|p,l|n],S=function(){function b(E){w(this,b),this.keys=[];for(var C=[],T=[],x=[],_=0,I=56;_<56;++_,I-=8){I+=I<-5?65:I<-3?31:I<-1?63:I===27?35:0;var L=I&7;C[_]=(E[I>>>3]&1<<L)!==0?1:0}for(var R=0;R<16;++R){var k=R<<1,F=k+1;x[k]=x[F]=0;for(var P=28;P<59;P+=28)for(var W=P-28;W<P;++W){var D=W+g[R];T[W]=D<P?C[D]:C[D-28]}for(var U=0;U<24;++U)T[m[U]]!==0&&(x[k]|=1<<23-U),T[m[U+24]]!==0&&(x[F]|=1<<23-U)}for(var H=0,j=0,K=0;H<16;++H){var X=x[j++],z=x[j++];this.keys[K]=(X&16515072)<<6,this.keys[K]|=(X&4032)<<10,this.keys[K]|=(z&16515072)>>>10,this.keys[K]|=(z&4032)>>>6,++K,this.keys[K]=(X&258048)<<12,this.keys[K]|=(X&63)<<16,this.keys[K]|=(z&258048)>>>4,this.keys[K]|=z&63,++K}}return A(b,[{key:"enc8",value:function(C){var T=C.slice(),x=0,_,I,L;_=T[x++]<<24|T[x++]<<16|T[x++]<<8|T[x++],I=T[x++]<<24|T[x++]<<16|T[x++]<<8|T[x++],L=(_>>>4^I)&252645135,I^=L,_^=L<<4,L=(_>>>16^I)&65535,I^=L,_^=L<<16,L=(I>>>2^_)&858993459,_^=L,I^=L<<2,L=(I>>>8^_)&16711935,_^=L,I^=L<<8,I=I<<1|I>>>31&1,L=(_^I)&2863311530,_^=L,I^=L,_=_<<1|_>>>31&1;for(var R=0,k=0;R<8;++R){L=I<<28|I>>>4,L^=this.keys[k++];var F=v[L&63];F|=u[L>>>8&63],F|=t[L>>>16&63],F|=r[L>>>24&63],L=I^this.keys[k++],F|=y[L&63],F|=d[L>>>8&63],F|=s[L>>>16&63],F|=a[L>>>24&63],_^=F,L=_<<28|_>>>4,L^=this.keys[k++],F=v[L&63],F|=u[L>>>8&63],F|=t[L>>>16&63],F|=r[L>>>24&63],L=_^this.keys[k++],F|=y[L&63],F|=d[L>>>8&63],F|=s[L>>>16&63],F|=a[L>>>24&63],I^=F}for(I=I<<31|I>>>1,L=(_^I)&2863311530,_^=L,I^=L,_=_<<31|_>>>1,L=(_>>>8^I)&16711935,I^=L,_^=L<<8,L=(_>>>2^I)&858993459,I^=L,_^=L<<2,L=(I>>>16^_)&65535,_^=L,I^=L<<16,L=(I>>>4^_)&252645135,_^=L,I^=L<<4,L=[I,_],x=0;x<8;x++)T[x]=(L[x>>>2]>>>8*(3-x%4))%256,T[x]<0&&(T[x]+=256);return T}},{key:"encrypt",value:function(C){return this.enc8(C.slice(0,8)).concat(this.enc8(C.slice(8,16)))}}]),b}();B.default=S},iXHM:function(M,B){var o="";typeof navigator!="undefined"&&(o=navigator.platform||"");var w={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:o.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};M.exports=w},iXp4:function(M,B,o){var w=o("ItGF"),f=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function A(m){return w.browser.ie&&w.browser.version>=11?function(){var g=this.__clipPaths,p=this.style,c;if(g)for(var h=0;h<g.length;h++){var l=g[h],e=l&&l.shape,n=l&&l.type;if(e&&(n==="sector"&&e.startAngle===e.endAngle||n==="rect"&&(!e.width||!e.height))){for(var i=0;i<f.length;i++)f[i][2]=p[f[i][0]],p[f[i][0]]=f[i][1];c=!0;break}}if(m.apply(this,arguments),c)for(var i=0;i<f.length;i++)p[f[i][0]]=f[i][2]}:m}M.exports=A},ieMj:function(M,B,o){var w=o("OELB"),f=o("7aKB"),A=o("4NgU"),m=o("lE7J"),g=w.round,p=A.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(h,l){var e=this._extent;isNaN(h)||(e[0]=parseFloat(h)),isNaN(l)||(e[1]=parseFloat(l))},unionExtent:function(h){var l=this._extent;h[0]<l[0]&&(l[0]=h[0]),h[1]>l[1]&&(l[1]=h[1]),p.prototype.setExtent.call(this,l[0],l[1])},getInterval:function(){return this._interval},setInterval:function(h){this._interval=h,this._niceExtent=this._extent.slice(),this._intervalPrecision=m.getIntervalPrecision(h)},getTicks:function(h){var l=this._interval,e=this._extent,n=this._niceExtent,i=this._intervalPrecision,r=[];if(!l)return r;var a=1e4;e[0]<n[0]&&(h?r.push(g(n[0]-l,i)):r.push(e[0]));for(var t=n[0];t<=n[1]&&!(r.push(t),t=g(t+l,i),t===r[r.length-1]);)if(r.length>a)return[];var s=r.length?r[r.length-1]:n[1];return e[1]>s&&(h?r.push(g(s+l,i)):r.push(e[1])),r},getMinorTicks:function(h){for(var l=this.getTicks(!0),e=[],n=this.getExtent(),i=1;i<l.length;i++){for(var r=l[i],a=l[i-1],t=0,s=[],u=r-a,d=u/h;t<h-1;){var v=w.round(a+(t+1)*d);v>n[0]&&v<n[1]&&s.push(v),t++}e.push(s)}return e},getLabel:function(h,l){if(h==null)return"";var e=l&&l.precision;return e==null?e=w.getPrecisionSafe(h)||0:e==="auto"&&(e=this._intervalPrecision),h=g(h,e,!0),f.addCommas(h)},niceTicks:function(h,l,e){h=h||5;var n=this._extent,i=n[1]-n[0];if(!isFinite(i))return;i<0&&(i=-i,n.reverse());var r=m.intervalScaleNiceTicks(n,h,l,e);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent},niceExtent:function(h){var l=this._extent;if(l[0]===l[1])if(l[0]!==0){var e=l[0];h.fixMax||(l[1]+=e/2),l[0]-=e/2}else l[1]=1;var n=l[1]-l[0];isFinite(n)||(l[0]=0,l[1]=1),this.niceTicks(h.splitNumber,h.minInterval,h.maxInterval);var i=this._interval;h.fixMin||(l[0]=g(Math.floor(l[0]/i)*i)),h.fixMax||(l[1]=g(Math.ceil(l[1]/i)*i))}});p.create=function(){return new p};var c=p;M.exports=c},j5T7:function(M,B,o){"use strict";var w=o("rePB"),f=o("wx14"),A=o("q1tI"),m=o("bT9E"),g=o("TSYQ"),p=o.n(g),c=o("1OyB"),h=o("vuIU"),l=o("Ji7U"),e=o("LK+K"),n=o("Ff2n"),i=o("ODXe"),r=o("4IlW"),a=o("bX4T"),t=o("YrtM"),s=o("+nKL"),u=o("8OUc"),d=function(je,te){var ve=je.prefixCls,$e=je.id,Le=je.flattenOptions,he=je.childrenAsData,ee=je.values,se=je.searchValue,Ue=je.multiple,ue=je.defaultActiveFirstOption,Ne=je.height,Fe=je.itemHeight,ae=je.notFoundContent,ce=je.open,_e=je.menuItemSelectedIcon,ze=je.virtual,it=je.onSelect,Ze=je.onToggleOpen,Ee=je.onActiveValue,mt=je.onScroll,Je=je.onMouseEnter,rt="".concat(ve,"-item"),wt=Object(t.a)(function(){return Le},[ce,Le],function(tt,Tt){return Tt[0]&&tt[1]!==Tt[1]}),Ot=A.useRef(null),Ct=function(Tt){Tt.preventDefault()},Dt=function(Tt){Ot.current&&Ot.current.scrollTo({index:Tt})},Xe=function(Tt){for(var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,lr=wt.length,pr=0;pr<lr;pr+=1){var Rr=(Tt+pr*Gt+lr)%lr,xt=wt[Rr],It=xt.group,At=xt.data;if(!It&&!At.disabled)return Rr}return-1},q=A.useState(function(){return Xe(0)}),V=Object(i.a)(q,2),Ae=V[0],xe=V[1],re=function(Tt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;xe(Tt);var lr={source:Gt?"keyboard":"mouse"},pr=wt[Tt];if(!pr){Ee(null,-1,lr);return}Ee(pr.data.value,Tt,lr)};A.useEffect(function(){re(ue!==!1?Xe(0):-1)},[wt.length,se]),A.useEffect(function(){var tt=setTimeout(function(){if(!Ue&&ce&&ee.size===1){var Gt=Array.from(ee)[0],lr=wt.findIndex(function(pr){var Rr=pr.data;return Rr.value===Gt});re(lr),Dt(lr)}});if(ce){var Tt;(Tt=Ot.current)===null||Tt===void 0||Tt.scrollTo(void 0)}return function(){return clearTimeout(tt)}},[ce]);var ot=function(Tt){Tt!==void 0&&it(Tt,{selected:!ee.has(Tt)}),Ue||Ze(!1)};if(A.useImperativeHandle(te,function(){return{onKeyDown:function(Tt){var Gt=Tt.which;switch(Gt){case r.a.UP:case r.a.DOWN:{var lr=0;if(Gt===r.a.UP?lr=-1:Gt===r.a.DOWN&&(lr=1),lr!==0){var pr=Xe(Ae+lr,lr);Dt(pr),re(pr,!0)}break}case r.a.ENTER:{var Rr=wt[Ae];Rr&&!Rr.data.disabled?ot(Rr.data.value):ot(void 0),ce&&Tt.preventDefault();break}case r.a.ESC:Ze(!1),ce&&Tt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Tt){Dt(Tt)}}}),wt.length===0)return A.createElement("div",{role:"listbox",id:"".concat($e,"_list"),className:"".concat(rt,"-empty"),onMouseDown:Ct},ae);function bt(tt){var Tt=wt[tt];if(!Tt)return null;var Gt=Tt.data||{},lr=Gt.value,pr=Gt.label,Rr=Gt.children,xt=Object(a.a)(Gt,!0),It=he?Rr:pr;return Tt?A.createElement("div",Object(f.a)({"aria-label":typeof It=="string"?It:null},xt,{key:tt,role:"option",id:"".concat($e,"_list_").concat(tt),"aria-selected":ee.has(lr)}),lr):null}return A.createElement(A.Fragment,null,A.createElement("div",{role:"listbox",id:"".concat($e,"_list"),style:{height:0,width:0,overflow:"hidden"}},bt(Ae-1),bt(Ae),bt(Ae+1)),A.createElement(s.a,{itemKey:"key",ref:Ot,data:wt,height:Ne,itemHeight:Fe,fullHeight:!1,onMouseDown:Ct,onScroll:mt,virtual:ze,onMouseEnter:Je},function(tt,Tt){var Gt,lr=tt.group,pr=tt.groupOption,Rr=tt.data,xt=Rr.label,It=Rr.key;if(lr)return A.createElement("div",{className:p()(rt,"".concat(rt,"-group"))},xt!==void 0?xt:It);var At=Rr.disabled,Zt=Rr.value,br=Rr.title,Lr=Rr.children,Jr=Rr.style,In=Rr.className,Gr=Object(n.a)(Rr,["disabled","value","title","children","style","className"]),Tr=ee.has(Zt),fr="".concat(rt,"-option"),vt=p()(rt,fr,In,(Gt={},Object(w.a)(Gt,"".concat(fr,"-grouped"),pr),Object(w.a)(Gt,"".concat(fr,"-active"),Ae===Tt&&!At),Object(w.a)(Gt,"".concat(fr,"-disabled"),At),Object(w.a)(Gt,"".concat(fr,"-selected"),Tr),Gt)),ft=he?Lr:xt,Te=!_e||typeof _e=="function"||Tr,Pe=ft||Zt,Ge=typeof Pe=="string"||typeof Pe=="number"?Pe.toString():void 0;return br!==void 0&&(Ge=br),A.createElement("div",Object(f.a)({},Gr,{"aria-selected":Tr,className:vt,title:Ge,onMouseMove:function(){if(Ae===Tt||At)return;re(Tt)},onClick:function(){At||ot(Zt)},style:Jr}),A.createElement("div",{className:"".concat(fr,"-content")},Pe),A.isValidElement(_e)||Tr,Te&&A.createElement(u.a,{className:"".concat(rt,"-option-state"),customizeIcon:_e,customizeIconProps:{isSelected:Tr}},Tr?"\u2713":null))}))},v=A.forwardRef(d);v.displayName="OptionList";var y=v,S=function(){return null};S.isSelectOption=!0;var b=S,E=function(){return null};E.isSelectOptGroup=!0;var C=E,T=o("VTBJ"),x=o("Zm9Q");function _(Ce){var je=Ce.key,te=Ce.props,ve=te.children,$e=te.value,Le=Object(n.a)(te,["children","value"]);return Object(T.a)({key:je,value:$e!==void 0?$e:je,children:ve},Le)}function I(Ce){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(x.a)(Ce).map(function(te,ve){if(!A.isValidElement(te)||!te.type)return null;var $e=te.type.isSelectOptGroup,Le=te.key,he=te.props,ee=he.children,se=Object(n.a)(he,["children"]);return je||!$e?_(te):Object(T.a)(Object(T.a)({key:"__RC_SELECT_GRP__".concat(Le===null?ve:Le,"__"),label:Le},se),{},{options:I(ee)})}).filter(function(te){return te})}var L=o("2Qr1"),R=o("qNPg"),k=o("U8pU"),F=o("Kwbf"),P=o("WKfj");function W(Ce){var je=Ce.mode,te=Ce.options,ve=Ce.children,$e=Ce.backfill,Le=Ce.allowClear,he=Ce.placeholder,ee=Ce.getInputElement,se=Ce.showSearch,Ue=Ce.onSearch,ue=Ce.defaultOpen,Ne=Ce.autoFocus,Fe=Ce.labelInValue,ae=Ce.value,ce=Ce.inputValue,_e=Ce.optionLabelProp,ze=je==="multiple"||je==="tags",it=se!==void 0?se:ze||je==="combobox",Ze=te||I(ve);if(Object(F.a)(je!=="tags"||Ze.every(function(rt){return!rt.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),je==="tags"||je==="combobox"){var Ee=Ze.some(function(rt){return rt.options?rt.options.some(function(wt){return typeof("value"in wt?wt.value:wt.key)=="number"}):typeof("value"in rt?rt.value:rt.key)=="number"});Object(F.a)(!Ee,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(F.a)(je!=="combobox"||!_e,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(F.a)(je==="combobox"||!$e,"`backfill` only works with `combobox` mode."),Object(F.a)(je==="combobox"||!ee,"`getInputElement` only work with `combobox` mode."),Object(F.b)(je!=="combobox"||!ee||!Le||!he,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Ue&&!it&&je!=="combobox"&&je!=="tags"&&Object(F.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(F.b)(!ue||Ne,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),ae!=null){var mt=Object(P.d)(ae);Object(F.a)(!Fe||mt.every(function(rt){return Object(k.a)(rt)==="object"&&("key"in rt||"value"in rt)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(F.a)(!ze||Array.isArray(ae),"`value` should be array when `mode` is `multiple` or `tags`")}if(ve){var Je=null;Object(x.a)(ve).some(function(rt){if(!A.isValidElement(rt)||!rt.type)return!1;var wt=rt.type;if(wt.isSelectOption)return!1;if(wt.isSelectOptGroup){var Ot=Object(x.a)(rt.props.children).every(function(Ct){return!A.isValidElement(Ct)||!rt.type||Ct.type.isSelectOption?!0:(Je=Ct.type,!1)});return!Ot}return Je=wt,!0}),Je&&Object(F.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Je.displayName||Je.name||Je,"`.")),Object(F.a)(ce===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var D=W,U=Object(R.a)({prefixCls:"rc-select",components:{optionList:y},convertChildrenToData:I,flattenOptions:L.d,getLabeledValue:L.e,filterOptions:L.b,isValueDisabled:L.g,findValueOption:L.c,warningProps:D,fillOptionsWithMissingValue:L.a}),H=function(Ce){Object(l.a)(te,Ce);var je=Object(e.a)(te);function te(){var ve;return Object(c.a)(this,te),ve=je.apply(this,arguments),ve.selectRef=A.createRef(),ve.focus=function(){ve.selectRef.current.focus()},ve.blur=function(){ve.selectRef.current.blur()},ve}return Object(h.a)(te,[{key:"render",value:function(){return A.createElement(U,Object(f.a)({ref:this.selectRef},this.props))}}]),te}(A.Component);H.Option=b,H.OptGroup=C;var j=H,K=j,X=o("9R2V"),z=o("1+JA"),Y=o("kc2O"),$=o("MZCN"),ne=function(Ce,je){var te={};for(var ve in Ce)Object.prototype.hasOwnProperty.call(Ce,ve)&&je.indexOf(ve)<0&&(te[ve]=Ce[ve]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,ve=Object.getOwnPropertySymbols(Ce);$e<ve.length;$e++)je.indexOf(ve[$e])<0&&Object.prototype.propertyIsEnumerable.call(Ce,ve[$e])&&(te[ve[$e]]=Ce[ve[$e]]);return te},J="SECRET_COMBOBOX_MODE_DO_NOT_USE",ge=function(je,te){var ve,$e=je.prefixCls,Le=je.bordered,he=Le===void 0?!0:Le,ee=je.className,se=je.getPopupContainer,Ue=je.dropdownClassName,ue=je.listHeight,Ne=ue===void 0?256:ue,Fe=je.listItemHeight,ae=Fe===void 0?24:Fe,ce=je.size,_e=je.notFoundContent,ze=ne(je,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","listHeight","listItemHeight","size","notFoundContent"]),it=A.useContext(X.b),Ze=it.getPopupContainer,Ee=it.getPrefixCls,mt=it.renderEmpty,Je=it.direction,rt=it.virtual,wt=it.dropdownMatchSelectWidth,Ot=A.useContext(Y.b),Ct=Ee("select",$e),Dt=Ee(),Xe=A.useMemo(function(){var pr=ze.mode;return pr==="combobox"?void 0:pr===J?"combobox":pr},[ze.mode]),q=Xe==="multiple"||Xe==="tags",V;_e!==void 0?V=_e:Xe==="combobox"?V=null:V=mt("Select");var Ae=Object(z.a)(Object(f.a)(Object(f.a)({},ze),{multiple:q,prefixCls:Ct})),xe=Ae.suffixIcon,re=Ae.itemIcon,ot=Ae.removeIcon,bt=Ae.clearIcon,tt=Object(m.a)(ze,["suffixIcon","itemIcon"]),Tt=p()(Ue,Object(w.a)({},"".concat(Ct,"-dropdown-").concat(Je),Je==="rtl")),Gt=ce||Ot,lr=p()((ve={},Object(w.a)(ve,"".concat(Ct,"-lg"),Gt==="large"),Object(w.a)(ve,"".concat(Ct,"-sm"),Gt==="small"),Object(w.a)(ve,"".concat(Ct,"-rtl"),Je==="rtl"),Object(w.a)(ve,"".concat(Ct,"-borderless"),!he),ve),ee);return A.createElement(K,Object(f.a)({ref:te,virtual:rt,dropdownMatchSelectWidth:wt},tt,{transitionName:Object($.b)(Dt,"slide-up",ze.transitionName),listHeight:Ne,listItemHeight:ae,mode:Xe,prefixCls:Ct,direction:Je,inputIcon:xe,menuItemSelectedIcon:re,removeIcon:ot,clearIcon:bt,notFoundContent:V,className:lr,getPopupContainer:se||Ze,dropdownClassName:Tt}))},de=A.forwardRef(ge),Ie=de;Ie.SECRET_COMBOBOX_MODE_DO_NOT_USE=J,Ie.Option=b,Ie.OptGroup=C;var be=B.a=Ie},j5sG:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.createSensor=void 0;var w=f(o("NohK"));function f(m){return m&&m.__esModule?m:{default:m}}var A=function(g){var p=void 0,c=[],h=(0,w.default)(function(){c.forEach(function(r){r(g)})}),l=function(){var a=new ResizeObserver(h);return a.observe(g),h(),a},e=function(a){p||(p=l()),c.indexOf(a)===-1&&c.push(a)},n=function(){p.disconnect(),c=[],p=void 0},i=function(a){var t=c.indexOf(a);t!==-1&&c.splice(t,1),c.length===0&&p&&n()};return{element:g,bind:e,destroy:n,unbind:i}};B.createSensor=A},jCoz:function(M,B,o){var w=o("bYtY"),f=o("4NgU"),A=o("OELB"),m=o("ieMj"),g=f.prototype,p=m.prototype,c=A.getPrecisionSafe,h=A.round,l=Math.floor,e=Math.ceil,n=Math.pow,i=Math.log,r=f.extend({type:"log",base:10,$constructor:function(){f.apply(this,arguments),this._originalScale=new m},getTicks:function(s){var u=this._originalScale,d=this._extent,v=u.getExtent();return w.map(p.getTicks.call(this,s),function(y){var S=A.round(n(this.base,y));return S=y===d[0]&&u.__fixMin?a(S,v[0]):S,S=y===d[1]&&u.__fixMax?a(S,v[1]):S,S},this)},getMinorTicks:p.getMinorTicks,getLabel:p.getLabel,scale:function(s){return s=g.scale.call(this,s),n(this.base,s)},setExtent:function(s,u){var d=this.base;s=i(s)/i(d),u=i(u)/i(d),p.setExtent.call(this,s,u)},getExtent:function(){var s=this.base,u=g.getExtent.call(this);u[0]=n(s,u[0]),u[1]=n(s,u[1]);var d=this._originalScale,v=d.getExtent();return d.__fixMin&&(u[0]=a(u[0],v[0])),d.__fixMax&&(u[1]=a(u[1],v[1])),u},unionExtent:function(s){this._originalScale.unionExtent(s);var u=this.base;s[0]=i(s[0])/i(u),s[1]=i(s[1])/i(u),g.unionExtent.call(this,s)},unionExtentFromData:function(s,u){this.unionExtent(s.getApproximateExtent(u))},niceTicks:function(s){s=s||10;var u=this._extent,d=u[1]-u[0];if(d===Infinity||d<=0)return;var v=A.quantity(d),y=s/d*v;for(y<=.5&&(v*=10);!isNaN(v)&&Math.abs(v)<1&&Math.abs(v)>0;)v*=10;var S=[A.round(e(u[0]/v)*v),A.round(l(u[1]/v)*v)];this._interval=v,this._niceExtent=S},niceExtent:function(s){p.niceExtent.call(this,s);var u=this._originalScale;u.__fixMin=s.fixMin,u.__fixMax=s.fixMax}});w.each(["contain","normalize"],function(s){r.prototype[s]=function(u){return u=i(u)/i(this.base),g[s].call(this,u)}}),r.create=function(){return new r};function a(s,u){return h(s,c(u))}var t=r;M.exports=t},jOhD:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("xSm/"),m=o.n(A)},jTL6:function(M,B,o){var w=o("y+Vt"),f=w.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(m,g){var p=g.cx,c=g.cy,h=Math.max(g.r,0),l=g.startAngle,e=g.endAngle,n=g.clockwise,i=Math.cos(l),r=Math.sin(l);m.moveTo(i*h+p,r*h+c),m.arc(p,c,h,l,e,!n)}});M.exports=f},jUvX:function(M,B,o){"use strict";o.d(B,"b",function(){return A});var w=o("rePB"),f=o("wx14"),A=["xxl","xl","lg","md","sm","xs"],m={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},g=new Map,p=-1,c={},h={matchHandlers:{},dispatch:function(e){return c=e,g.forEach(function(n){return n(c)}),g.size>=1},subscribe:function(e){return g.size||this.register(),p+=1,g.set(p,e),e(c),p},unsubscribe:function(e){g.delete(e),g.size||this.unregister()},unregister:function(){var e=this;Object.keys(m).forEach(function(n){var i=m[n],r=e.matchHandlers[i];r==null||r.mql.removeListener(r==null?void 0:r.listener)}),g.clear()},register:function(){var e=this;Object.keys(m).forEach(function(n){var i=m[n],r=function(s){var u=s.matches;e.dispatch(Object(f.a)(Object(f.a)({},c),Object(w.a)({},n,u)))},a=window.matchMedia(i);a.addListener(r),e.matchHandlers[i]={mql:a,listener:r},r(a)})}};B.a=h},je13:function(M,B,o){var w=o("5nXd"),f=o("gRFJ"),A=[o("uQRt")];M.exports=w.createStore(f,A)},jeoS:function(M,B,o){"use strict";o.d(B,"a",function(){return w});var w=function(A){if(!A)return null;var m=typeof A=="function";return m?A():A}},jett:function(M,B,o){var w=o("ProS");o("VSLf"),o("oBaM"),o("FGaS");var f=o("mOdp"),A=o("f5Yq"),m=o("hw6D"),g=o("0/Rx"),p=o("eJH7");w.registerVisual(f("radar")),w.registerVisual(A("radar","circle")),w.registerLayout(m),w.registerProcessor(g("radar")),w.registerPreprocessor(p)},jhfD:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="ArrowLeftOutlined";var c=B.a=f.forwardRef(p)},jkPA:function(M,B,o){var w=o("bYtY"),f=w.createHashMap,A=w.isObject,m=w.map;function g(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this._map}g.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&m(i,h);return new g({categories:r,needCollect:!r,deduplication:n.dedplication!==!1})};var p=g.prototype;p.getOrdinal=function(e){return c(this).get(e)},p.parseAndCollect=function(e){var n,i=this._needCollect;if(typeof e!="string"&&!i)return e;if(i&&!this._deduplication)return n=this.categories.length,this.categories[n]=e,n;var r=c(this);return n=r.get(e),n==null&&(i?(n=this.categories.length,this.categories[n]=e,r.set(e,n)):n=NaN),n};function c(e){return e._map||(e._map=f(e.categories))}function h(e){return A(e)&&e.value!=null?e.value:e+""}var l=g;M.exports=l},jndi:function(M,B,o){var w=o("bYtY"),f=o("Qe9p"),A=o("YXkt"),m=o("OELB"),g=o("IwbS"),p=o("kj2x"),c=o("iPDy"),h=function(t,s,u,d){var v=p.dataTransform(t,d[0]),y=p.dataTransform(t,d[1]),S=w.retrieve,b=v.coord,E=y.coord;b[0]=S(b[0],-Infinity),b[1]=S(b[1],-Infinity),E[0]=S(E[0],Infinity),E[1]=S(E[1],Infinity);var C=w.mergeAll([{},v,y]);return C.coord=[v.coord,y.coord],C.x0=v.x,C.y0=v.y,C.x1=y.x,C.y1=y.y,C};function l(t){return!isNaN(t)&&!isFinite(t)}function e(t,s,u,d){var v=1-t;return l(s[v])&&l(u[v])}function n(t,s){var u=s.coord[0],d=s.coord[1];return t.type==="cartesian2d"&&(u&&d&&(e(1,u,d,t)||e(0,u,d,t)))?!0:p.dataFilter(t,{coord:u,x:s.x0,y:s.y0})||p.dataFilter(t,{coord:d,x:s.x1,y:s.y1})}function i(t,s,u,d,v){var y=d.coordinateSystem,S=t.getItemModel(s),b,E=m.parsePercent(S.get(u[0]),v.getWidth()),C=m.parsePercent(S.get(u[1]),v.getHeight());if(!isNaN(E)&&!isNaN(C))b=[E,C];else{if(d.getMarkerPosition)b=d.getMarkerPosition(t.getValues(u,s));else{var T=t.get(u[0],s),x=t.get(u[1],s),_=[T,x];y.clampData&&y.clampData(_,_),b=y.dataToPoint(_,!0)}if(y.type==="cartesian2d"){var I=y.getAxis("x"),L=y.getAxis("y"),T=t.get(u[0],s),x=t.get(u[1],s);l(T)?b[0]=I.toGlobalCoord(I.getExtent()[u[0]==="x0"?0:1]):l(x)&&(b[1]=L.toGlobalCoord(L.getExtent()[u[1]==="y0"?0:1]))}isNaN(E)||(b[0]=E),isNaN(C)||(b[1]=C)}return b}var r=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];c.extend({type:"markArea",updateTransform:function(t,s,u){s.eachSeries(function(d){var v=d.markAreaModel;if(v){var y=v.getData();y.each(function(S){var b=w.map(r,function(C){return i(y,S,C,d,u)});y.setItemLayout(S,b);var E=y.getItemGraphicEl(S);E.setShape("points",b)})}},this)},renderSeries:function(t,s,u,d){var v=t.coordinateSystem,y=t.id,S=t.getData(),b=this.markerGroupMap,E=b.get(y)||b.set(y,{group:new g.Group});this.group.add(E.group),E.__keep=!0;var C=a(v,t,s);s.setData(C),C.each(function(T){C.setItemLayout(T,w.map(r,function(x){return i(C,T,x,t,d)})),C.setItemVisual(T,{color:S.getVisual("color")})}),C.diff(E.__data).add(function(T){var x=new g.Polygon({shape:{points:C.getItemLayout(T)}});C.setItemGraphicEl(T,x),E.group.add(x)}).update(function(T,x){var _=E.__data.getItemGraphicEl(x);g.updateProps(_,{shape:{points:C.getItemLayout(T)}},s,T),E.group.add(_),C.setItemGraphicEl(T,_)}).remove(function(T){var x=E.__data.getItemGraphicEl(T);E.group.remove(x)}).execute(),C.eachItemGraphicEl(function(T,x){var _=C.getItemModel(x),I=_.getModel("label"),L=_.getModel("emphasis.label"),R=C.getItemVisual(x,"color");T.useStyle(w.defaults(_.getModel("itemStyle").getItemStyle(),{fill:f.modifyAlpha(R,.4),stroke:R})),T.hoverStyle=_.getModel("emphasis.itemStyle").getItemStyle(),g.setLabelStyle(T.style,T.hoverStyle,I,L,{labelFetcher:s,labelDataIndex:x,defaultText:C.getName(x)||"",isRectText:!0,autoColor:R}),g.setHoverStyle(T,{}),T.dataModel=s}),E.__data=C,E.group.silent=s.get("silent")||t.get("silent")}});function a(t,s,u){var d,v,y=["x0","y0","x1","y1"];t?(d=w.map(t&&t.dimensions,function(E){var C=s.getData(),T=C.getDimensionInfo(C.mapDimension(E))||{};return w.defaults({name:E},T)}),v=new A(w.map(y,function(E,C){return{name:E,type:d[C%2].type}}),u)):(d=[{name:"value",type:"float"}],v=new A(d,u));var S=w.map(u.get("data"),w.curry(h,s,t,u));t&&(S=w.filter(S,w.curry(n,t)));var b=t?function(E,C,T,x){return E.coord[Math.floor(x/2)][x%2]}:function(E){return E.value};return v.initData(S,null,b),v.hasItemOption=!0,v}},"jsU+":function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("IUWy"),m=w.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){m.superApply(this,"optionUpdated",arguments),f.each(this.option.feature,function(p,c){var h=A.get(c);h&&f.merge(p,h.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),g=m;M.exports=g},jtI2:function(M,B,o){o("SMc4");var w=o("bLfw"),f=w.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"}});M.exports=f},juDX:function(M,B,o){o("P47w");var w=o("aX58"),f=w.registerPainter,A=o("3CBa");f("svg",A)},k5C7:function(M,B,o){o("0JAE"),o("g7p0"),o("7mYs")},k9D9:function(M,B){var o="original",w="arrayRows",f="objectRows",A="keyedColumns",m="unknown",g="typedArray",p="column",c="row";B.SOURCE_FORMAT_ORIGINAL=o,B.SOURCE_FORMAT_ARRAY_ROWS=w,B.SOURCE_FORMAT_OBJECT_ROWS=f,B.SOURCE_FORMAT_KEYED_COLUMNS=A,B.SOURCE_FORMAT_UNKNOWN=m,B.SOURCE_FORMAT_TYPED_ARRAY=g,B.SERIES_LAYOUT_BY_COLUMN=p,B.SERIES_LAYOUT_BY_ROW=c},kDyi:function(M,B){function o(w){var f=w.findComponents({mainType:"legend"});f&&f.length&&w.filterSeries(function(A){for(var m=0;m<f.length;m++)if(!f[m].isSelected(A.name))return!1;return!0})}M.exports=o},kMLO:function(M,B,o){var w=o("XxSj"),f=o("Qe9p"),A=o("bYtY"),m=A.isArray,g="itemStyle",p={seriesType:"treemap",reset:function(t,s,u,d){var v=t.getData().tree,y=v.root,S=t.getModel(g);if(y.isRemoved())return;var b=A.map(v.levelModels,function(E){return E?E.get(g):null});c(y,{},b,S,t.getViewRoot().getAncestors(),t)}};function c(t,s,u,d,v,y){var S=t.getModel(),b=t.getLayout();if(!b||b.invisible||!b.isInView)return;var E=t.getModel(g),C=u[t.depth],T=h(E,s,C,d),x=E.get("borderColor"),_=E.get("borderColorSaturation"),I;_!=null&&(I=l(T,t),x=e(_,I)),t.setVisual("borderColor",x);var L=t.viewChildren;if(!L||!L.length)I=l(T,t),t.setVisual("color",I);else{var R=i(t,S,b,E,T,L);A.each(L,function(k,F){if(k.depth>=v.length||k===v[k.depth]){var P=a(S,T,k,F,R,y);c(k,P,u,d,v,y)}})}}function h(t,s,u,d){var v=A.extend({},s);return A.each(["color","colorAlpha","colorSaturation"],function(y){var S=t.get(y,!0);S==null&&u&&(S=u[y]),S==null&&(S=s[y]),S==null&&(S=d.get(y)),S!=null&&(v[y]=S)}),v}function l(t){var s=n(t,"color");if(s){var u=n(t,"colorAlpha"),d=n(t,"colorSaturation");return d&&(s=f.modifyHSL(s,null,null,d)),u&&(s=f.modifyAlpha(s,u)),s}}function e(t,s){return s!=null?f.modifyHSL(s,null,null,t):null}function n(t,s){var u=t[s];if(u!=null&&u!=="none")return u}function i(t,s,u,d,v,y){if(!y||!y.length)return;var S=r(s,"color")||v.color!=null&&v.color!=="none"&&(r(s,"colorAlpha")||r(s,"colorSaturation"));if(!S)return;var b=s.get("visualMin"),E=s.get("visualMax"),C=u.dataExtent.slice();b!=null&&b<C[0]&&(C[0]=b),E!=null&&E>C[1]&&(C[1]=E);var T=s.get("colorMappingBy"),x={type:S.name,dataExtent:C,visual:S.range};x.type==="color"&&(T==="index"||T==="id")?(x.mappingMethod="category",x.loop=!0):x.mappingMethod="linear";var _=new w(x);return _.__drColorMappingBy=T,_}function r(t,s){var u=t.get(s);return m(u)&&u.length?{name:s,range:u}:null}function a(t,s,u,d,v,y){var S=A.extend({},s);if(v){var b=v.type,E=b==="color"&&v.__drColorMappingBy,C=E==="index"?d:E==="id"?y.mapIdToIndex(u.getId()):u.getValue(t.get("visualDimension"));S[b]=v.mapValueToVisual(C)}return S}M.exports=p},kRSg:function(M,B,o){},keYo:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("HPLo"),m=o.n(A)},kh1m:function(M,B,o){},kj2x:function(M,B,o){var w=o("bYtY"),f=o("OELB"),A=o("7hqr"),m=A.isDimensionStacked,g=w.indexOf;function p(u){return!(isNaN(parseFloat(u.x))&&isNaN(parseFloat(u.y)))}function c(u){return!isNaN(parseFloat(u.x))&&!isNaN(parseFloat(u.y))}function h(u,d,v,y,S,b){var E=[],C=m(d,y),T=C?d.getCalculationInfo("stackResultDimension"):y,x=s(d,T,u),_=d.indicesOfNearest(T,x)[0];E[S]=d.get(v,_),E[b]=d.get(T,_);var I=d.get(y,_),L=f.getPrecision(d.get(y,_));return L=Math.min(L,20),L>=0&&(E[b]=+E[b].toFixed(L)),[E,I]}var l=w.curry,e={min:l(h,"min"),max:l(h,"max"),average:l(h,"average")};function n(u,d){var v=u.getData(),y=u.coordinateSystem;if(d&&!c(d)&&!w.isArray(d.coord)&&y){var S=y.dimensions,b=i(d,v,y,u);if(d=w.clone(d),d.type&&e[d.type]&&b.baseAxis&&b.valueAxis){var E=g(S,b.baseAxis.dim),C=g(S,b.valueAxis.dim),T=e[d.type](v,b.baseDataDim,b.valueDataDim,E,C);d.coord=T[0],d.value=T[1]}else{for(var x=[d.xAxis!=null?d.xAxis:d.radiusAxis,d.yAxis!=null?d.yAxis:d.angleAxis],_=0;_<2;_++)e[x[_]]&&(x[_]=s(v,v.mapDimension(S[_]),x[_]));d.coord=x}}return d}function i(u,d,v,y){var S={};return u.valueIndex!=null||u.valueDim!=null?(S.valueDataDim=u.valueIndex!=null?d.getDimension(u.valueIndex):u.valueDim,S.valueAxis=v.getAxis(r(y,S.valueDataDim)),S.baseAxis=v.getOtherAxis(S.valueAxis),S.baseDataDim=d.mapDimension(S.baseAxis.dim)):(S.baseAxis=y.getBaseAxis(),S.valueAxis=v.getOtherAxis(S.baseAxis),S.baseDataDim=d.mapDimension(S.baseAxis.dim),S.valueDataDim=d.mapDimension(S.valueAxis.dim)),S}function r(u,d){var v=u.getData(),y=v.dimensions;d=v.getDimension(d);for(var S=0;S<y.length;S++){var b=v.getDimensionInfo(y[S]);if(b.name===d)return b.coordDim}}function a(u,d){return u&&u.containData&&d.coord&&!p(d)?u.containData(d.coord):!0}function t(u,d,v,y){return y<2?u.coord&&u.coord[y]:u.value}function s(u,d,v){if(v==="average"){var y=0,S=0;return u.each(d,function(b,E){isNaN(b)||(y+=b,S++)}),y/S}else return v==="median"?u.getMedian(d):u.getDataExtent(d,!0)[v==="max"?1:0]}B.dataTransform=n,B.getAxisInfo=i,B.dataFilter=a,B.dimValueGetter=t,B.numCalculate=s},knOB:function(M,B,o){var w=o("bYtY"),f=o("hM6l");function A(g,p){f.call(this,"radius",g,p),this.type="category"}A.prototype={constructor:A,pointToData:function(g,p){return this.polar.pointToData(g,p)[this.dim==="radius"?0:1]},dataToRadius:f.prototype.dataToCoord,radiusToData:f.prototype.coordToData},w.inherits(A,f);var m=A;M.exports=m},ko1b:function(M,B,o){var w=o("bYtY"),f=o("T4UG"),A=o("Bsck"),m=o("Qxkt"),g=o("7aKB"),p=g.encodeHTML,c=g.addCommas,h=o("VaxA"),l=h.wrapTreePathInfo,e=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(r,a){var t={name:r.name,children:r.data};n(t);var s=r.levels||[];s=r.levels=i(s,a);var u=w.map(s||[],function(y){return new m(y,this,a)},this),d=A.createTree(t,this,null,v);function v(y){y.wrapMethod("getItemModel",function(S,b){var E=d.getNodeByDataIndex(b),C=u[E.depth];return C&&(S.parentModel=C),S})}return d.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(r){var a=this.getData(),t=this.getRawValue(r),s=w.isArray(t)?c(t[0]):c(t),u=a.getName(r);return p(u+": "+s)},getDataParams:function(r){var a=f.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(r);return a.treePathInfo=l(t,this),a},setLayoutInfo:function(r){this.layoutInfo=this.layoutInfo||{},w.extend(this.layoutInfo,r)},mapIdToIndex:function(r){var a=this._idIndexMap;a||(a=this._idIndexMap=w.createHashMap(),this._idIndexMapCount=0);var t=a.get(r);return t==null&&a.set(r,t=this._idIndexMapCount++),t},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(r){r?this._viewRoot=r:r=this._viewRoot;var a=this.getRawData().tree.root;(!r||r!==a&&!a.contains(r))&&(this._viewRoot=a)}});function n(r){var a=0;w.each(r.children,function(s){n(s);var u=s.value;w.isArray(u)&&(u=u[0]),a+=u});var t=r.value;w.isArray(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=a),t<0&&(t=0),w.isArray(r.value)?r.value[0]=t:r.value=t}function i(r,a){var t=a.get("color");if(!t)return;r=r||[];var s;if(w.each(r,function(d){var v=new m(d),y=v.get("color");(v.get("itemStyle.color")||y&&y!=="none")&&(s=!0)}),!s){var u=r[0]||(r[0]={});u.color=t.slice()}return r}M.exports=e},kzFp:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var w=B.pick=function(A,m){var g={};return m.forEach(function(p){g[p]=A[p]}),g}},kzvK:function(M,B,o){var w=o("sS/r"),f=w.extend({type:"timeline"});M.exports=f},"l+S1":function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="SearchOutlined";var c=B.a=f.forwardRef(p)},l5UB:function(M,B,o){},lE7J:function(M,B,o){var w=o("OELB"),f=w.round;function A(c,h,l,e){var n={},i=c[1]-c[0],r=n.interval=w.nice(i/h,!0);l!=null&&r<l&&(r=n.interval=l),e!=null&&r>e&&(r=n.interval=e);var a=n.intervalPrecision=m(r),t=n.niceTickExtent=[f(Math.ceil(c[0]/r)*r,a),f(Math.floor(c[1]/r)*r,a)];return p(t,c),n}function m(c){return w.getPrecisionSafe(c)+2}function g(c,h,l){c[h]=Math.max(Math.min(c[h],l[1]),l[0])}function p(c,h){!isFinite(c[0])&&(c[0]=h[0]),!isFinite(c[1])&&(c[1]=h[1]),g(c,0,h),g(c,1,h),c[0]>c[1]&&(c[0]=c[1])}B.intervalScaleNiceTicks=A,B.getIntervalPrecision=m,B.fixExtent=p},lELe:function(M,B,o){var w=o("bYtY");function f(A){var m=[];w.each(A.series,function(g){g&&g.type==="map"&&(m.push(g),g.map=g.map||g.mapType,w.defaults(g,g.mapLocation))})}M.exports=f},lHn7:function(M,B,o){"use strict";o.d(B,"d",function(){return n}),o.d(B,"c",function(){return s}),o.d(B,"b",function(){return u}),o.d(B,"a",function(){return d});var w=o("KQm4"),f=o("rePB"),A=o("ODXe"),m=o("wx14"),g=o("q1tI"),p=o.n(g),c=o("TSYQ"),h=o.n(c),l=o("9R2V"),e=function(v,y){var S={};for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&y.indexOf(b)<0&&(S[b]=v[b]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,b=Object.getOwnPropertySymbols(v);E<b.length;E++)y.indexOf(b[E])<0&&Object.prototype.propertyIsEnumerable.call(v,b[E])&&(S[b[E]]=v[b[E]]);return S},n=g.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function i(v){var y=v.suffixCls,S=v.tagName,b=v.displayName;return function(E){var C=function(x){var _=g.useContext(l.b),I=_.getPrefixCls,L=x.prefixCls,R=I(y,L);return g.createElement(E,Object(m.a)({prefixCls:R,tagName:S},x))};return C.displayName=b,C}}var r=function(y){var S=y.prefixCls,b=y.className,E=y.children,C=y.tagName,T=e(y,["prefixCls","className","children","tagName"]),x=h()(S,b);return g.createElement(C,Object(m.a)({className:x},T),E)},a=function(y){var S,b=g.useContext(l.b),E=b.direction,C=g.useState([]),T=Object(A.a)(C,2),x=T[0],_=T[1],I=y.prefixCls,L=y.className,R=y.children,k=y.hasSider,F=y.tagName,P=e(y,["prefixCls","className","children","hasSider","tagName"]),W=h()(I,(S={},Object(f.a)(S,"".concat(I,"-has-sider"),typeof k=="boolean"?k:x.length>0),Object(f.a)(S,"".concat(I,"-rtl"),E==="rtl"),S),L);return g.createElement(n.Provider,{value:{siderHook:{addSider:function(U){_(function(H){return[].concat(Object(w.a)(H),[U])})},removeSider:function(U){_(function(H){return H.filter(function(j){return j!==U})})}}}},g.createElement(F,Object(m.a)({className:W},P),R))},t=i({suffixCls:"layout",tagName:"section",displayName:"Layout"})(a),s=i({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(r),u=i({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(r),d=i({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(r);B.e=t},lLGD:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("nVfU"),m=A.layout,g=A.largeLayout;o("Wqna"),o("F7hV"),o("Z8zF"),o("Ae16"),w.registerLayout(w.PRIORITY.VISUAL.LAYOUT,f.curry(m,"bar")),w.registerLayout(w.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,g),w.registerVisual({seriesType:"bar",reset:function(p){p.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(M,B,o){"use strict";function w(re){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(bt){return typeof bt}:w=function(bt){return bt&&typeof Symbol=="function"&&bt.constructor===Symbol&&bt!==Symbol.prototype?"symbol":typeof bt},w(re)}Object.defineProperty(B,"__esModule",{value:!0}),B.deflateInit=Xe,B.deflateInit2=Dt,B.deflateReset=Ot,B.deflateResetKeep=wt,B.deflateSetHeader=Ct,B.deflate=q,B.deflateEnd=V,B.deflateSetDictionary=Ae,B.deflateInfo=B.Z_DEFLATED=B.Z_UNKNOWN=B.Z_DEFAULT_STRATEGY=B.Z_FIXED=B.Z_RLE=B.Z_HUFFMAN_ONLY=B.Z_FILTERED=B.Z_DEFAULT_COMPRESSION=B.Z_BUF_ERROR=B.Z_DATA_ERROR=B.Z_STREAM_ERROR=B.Z_STREAM_END=B.Z_OK=B.Z_BLOCK=B.Z_FINISH=B.Z_FULL_FLUSH=B.Z_PARTIAL_FLUSH=B.Z_NO_FLUSH=void 0;var f=l(o("6BzB")),A=l(o("c5fP")),m=c(o("xlC8")),g=c(o("QV2g")),p=c(o("xSIq"));function c(re){return re&&re.__esModule?re:{default:re}}function h(){if(typeof WeakMap!="function")return null;var re=new WeakMap;return h=function(){return re},re}function l(re){if(re&&re.__esModule)return re;if(re===null||w(re)!=="object"&&typeof re!="function")return{default:re};var ot=h();if(ot&&ot.has(re))return ot.get(re);var bt={},tt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Tt in re)if(Object.prototype.hasOwnProperty.call(re,Tt)){var Gt=tt?Object.getOwnPropertyDescriptor(re,Tt):null;Gt&&(Gt.get||Gt.set)?Object.defineProperty(bt,Tt,Gt):bt[Tt]=re[Tt]}return bt.default=re,ot&&ot.set(re,bt),bt}var e=0;B.Z_NO_FLUSH=e;var n=1;B.Z_PARTIAL_FLUSH=n;var i=3;B.Z_FULL_FLUSH=i;var r=4;B.Z_FINISH=r;var a=5;B.Z_BLOCK=a;var t=0;B.Z_OK=t;var s=1;B.Z_STREAM_END=s;var u=-2;B.Z_STREAM_ERROR=u;var d=-3;B.Z_DATA_ERROR=d;var v=-5;B.Z_BUF_ERROR=v;var y=-1;B.Z_DEFAULT_COMPRESSION=y;var S=1;B.Z_FILTERED=S;var b=2;B.Z_HUFFMAN_ONLY=b;var E=3;B.Z_RLE=E;var C=4;B.Z_FIXED=C;var T=0;B.Z_DEFAULT_STRATEGY=T;var x=2;B.Z_UNKNOWN=x;var _=8;B.Z_DEFLATED=_;var I=9,L=15,R=8,k=29,F=256,P=F+1+k,W=30,D=19,U=2*P+1,H=15,j=3,K=258,X=K+j+1,z=32,Y=42,$=69,ne=73,J=91,ge=103,de=113,Ie=666,be=1,Ce=2,je=3,te=4,ve=3;function $e(re,ot){return re.msg=p.default[ot],ot}function Le(re){return(re<<1)-(re>4?9:0)}function he(re){for(var ot=re.length;--ot>=0;)re[ot]=0}function ee(re){var ot=re.state,bt=ot.pending;if(bt>re.avail_out&&(bt=re.avail_out),bt===0)return;f.arraySet(re.output,ot.pending_buf,ot.pending_out,bt,re.next_out),re.next_out+=bt,ot.pending_out+=bt,re.total_out+=bt,re.avail_out-=bt,ot.pending-=bt,ot.pending===0&&(ot.pending_out=0)}function se(re,ot){A._tr_flush_block(re,re.block_start>=0?re.block_start:-1,re.strstart-re.block_start,ot),re.block_start=re.strstart,ee(re.strm)}function Ue(re,ot){re.pending_buf[re.pending++]=ot}function ue(re,ot){re.pending_buf[re.pending++]=ot>>>8&255,re.pending_buf[re.pending++]=ot&255}function Ne(re,ot,bt,tt){var Tt=re.avail_in;return Tt>tt&&(Tt=tt),Tt===0?0:(re.avail_in-=Tt,f.arraySet(ot,re.input,re.next_in,Tt,bt),re.state.wrap===1?re.adler=(0,m.default)(re.adler,ot,Tt,bt):re.state.wrap===2&&(re.adler=(0,g.default)(re.adler,ot,Tt,bt)),re.next_in+=Tt,re.total_in+=Tt,Tt)}function Fe(re,ot){var bt=re.max_chain_length,tt=re.strstart,Tt,Gt,lr=re.prev_length,pr=re.nice_match,Rr=re.strstart>re.w_size-X?re.strstart-(re.w_size-X):0,xt=re.window,It=re.w_mask,At=re.prev,Zt=re.strstart+K,br=xt[tt+lr-1],Lr=xt[tt+lr];re.prev_length>=re.good_match&&(bt>>=2),pr>re.lookahead&&(pr=re.lookahead);do{if(Tt=ot,xt[Tt+lr]!==Lr||xt[Tt+lr-1]!==br||xt[Tt]!==xt[tt]||xt[++Tt]!==xt[tt+1])continue;tt+=2,Tt++;do;while(xt[++tt]===xt[++Tt]&&xt[++tt]===xt[++Tt]&&xt[++tt]===xt[++Tt]&&xt[++tt]===xt[++Tt]&&xt[++tt]===xt[++Tt]&&xt[++tt]===xt[++Tt]&&xt[++tt]===xt[++Tt]&&xt[++tt]===xt[++Tt]&&tt<Zt);if(Gt=K-(Zt-tt),tt=Zt-K,Gt>lr){if(re.match_start=ot,lr=Gt,Gt>=pr)break;br=xt[tt+lr-1],Lr=xt[tt+lr]}}while((ot=At[ot&It])>Rr&&--bt!==0);return lr<=re.lookahead?lr:re.lookahead}function ae(re){var ot=re.w_size,bt,tt,Tt,Gt,lr;do{if(Gt=re.window_size-re.lookahead-re.strstart,re.strstart>=ot+(ot-X)){f.arraySet(re.window,re.window,ot,ot,0),re.match_start-=ot,re.strstart-=ot,re.block_start-=ot,tt=re.hash_size,bt=tt;do Tt=re.head[--bt],re.head[bt]=Tt>=ot?Tt-ot:0;while(--tt);tt=ot,bt=tt;do Tt=re.prev[--bt],re.prev[bt]=Tt>=ot?Tt-ot:0;while(--tt);Gt+=ot}if(re.strm.avail_in===0)break;if(tt=Ne(re.strm,re.window,re.strstart+re.lookahead,Gt),re.lookahead+=tt,re.lookahead+re.insert>=j)for(lr=re.strstart-re.insert,re.ins_h=re.window[lr],re.ins_h=(re.ins_h<<re.hash_shift^re.window[lr+1])&re.hash_mask;re.insert&&!(re.ins_h=(re.ins_h<<re.hash_shift^re.window[lr+j-1])&re.hash_mask,re.prev[lr&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=lr,lr++,re.insert--,re.lookahead+re.insert<j););}while(re.lookahead<X&&re.strm.avail_in!==0)}function ce(re,ot){var bt=65535;for(bt>re.pending_buf_size-5&&(bt=re.pending_buf_size-5);;){if(re.lookahead<=1){if(ae(re),re.lookahead===0&&ot===e)return be;if(re.lookahead===0)break}re.strstart+=re.lookahead,re.lookahead=0;var tt=re.block_start+bt;if((re.strstart===0||re.strstart>=tt)&&(re.lookahead=re.strstart-tt,re.strstart=tt,se(re,!1),re.strm.avail_out===0))return be;if(re.strstart-re.block_start>=re.w_size-X&&(se(re,!1),re.strm.avail_out===0))return be}return re.insert=0,ot===r?(se(re,!0),re.strm.avail_out===0?je:te):(re.strstart>re.block_start&&(se(re,!1),re.strm.avail_out===0),be)}function _e(re,ot){for(var bt,tt;;){if(re.lookahead<X){if(ae(re),re.lookahead<X&&ot===e)return be;if(re.lookahead===0)break}if(bt=0,re.lookahead>=j&&(re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+j-1])&re.hash_mask,bt=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=re.strstart),bt!==0&&re.strstart-bt<=re.w_size-X&&(re.match_length=Fe(re,bt)),re.match_length>=j)if(tt=A._tr_tally(re,re.strstart-re.match_start,re.match_length-j),re.lookahead-=re.match_length,re.match_length<=re.max_lazy_match&&re.lookahead>=j){re.match_length--;do re.strstart++,re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+j-1])&re.hash_mask,bt=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=re.strstart;while(--re.match_length!==0);re.strstart++}else re.strstart+=re.match_length,re.match_length=0,re.ins_h=re.window[re.strstart],re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+1])&re.hash_mask;else tt=A._tr_tally(re,0,re.window[re.strstart]),re.lookahead--,re.strstart++;if(tt&&(se(re,!1),re.strm.avail_out===0))return be}return re.insert=re.strstart<j-1?re.strstart:j-1,ot===r?(se(re,!0),re.strm.avail_out===0?je:te):re.last_lit&&(se(re,!1),re.strm.avail_out===0)?be:Ce}function ze(re,ot){for(var bt,tt,Tt;;){if(re.lookahead<X){if(ae(re),re.lookahead<X&&ot===e)return be;if(re.lookahead===0)break}if(bt=0,re.lookahead>=j&&(re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+j-1])&re.hash_mask,bt=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=re.strstart),re.prev_length=re.match_length,re.prev_match=re.match_start,re.match_length=j-1,bt!==0&&re.prev_length<re.max_lazy_match&&re.strstart-bt<=re.w_size-X&&(re.match_length=Fe(re,bt),re.match_length<=5&&(re.strategy===S||re.match_length===j&&re.strstart-re.match_start>4096)&&(re.match_length=j-1)),re.prev_length>=j&&re.match_length<=re.prev_length){Tt=re.strstart+re.lookahead-j,tt=A._tr_tally(re,re.strstart-1-re.prev_match,re.prev_length-j),re.lookahead-=re.prev_length-1,re.prev_length-=2;do++re.strstart<=Tt&&(re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+j-1])&re.hash_mask,bt=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=re.strstart);while(--re.prev_length!==0);if(re.match_available=0,re.match_length=j-1,re.strstart++,tt&&(se(re,!1),re.strm.avail_out===0))return be}else if(re.match_available){if(tt=A._tr_tally(re,0,re.window[re.strstart-1]),tt&&se(re,!1),re.strstart++,re.lookahead--,re.strm.avail_out===0)return be}else re.match_available=1,re.strstart++,re.lookahead--}return re.match_available&&(tt=A._tr_tally(re,0,re.window[re.strstart-1]),re.match_available=0),re.insert=re.strstart<j-1?re.strstart:j-1,ot===r?(se(re,!0),re.strm.avail_out===0?je:te):re.last_lit&&(se(re,!1),re.strm.avail_out===0)?be:Ce}function it(re,ot){for(var bt,tt,Tt,Gt,lr=re.window;;){if(re.lookahead<=K){if(ae(re),re.lookahead<=K&&ot===e)return be;if(re.lookahead===0)break}if(re.match_length=0,re.lookahead>=j&&re.strstart>0&&(Tt=re.strstart-1,tt=lr[Tt],tt===lr[++Tt]&&tt===lr[++Tt]&&tt===lr[++Tt])){Gt=re.strstart+K;do;while(tt===lr[++Tt]&&tt===lr[++Tt]&&tt===lr[++Tt]&&tt===lr[++Tt]&&tt===lr[++Tt]&&tt===lr[++Tt]&&tt===lr[++Tt]&&tt===lr[++Tt]&&Tt<Gt);re.match_length=K-(Gt-Tt),re.match_length>re.lookahead&&(re.match_length=re.lookahead)}if(re.match_length>=j?(bt=A._tr_tally(re,1,re.match_length-j),re.lookahead-=re.match_length,re.strstart+=re.match_length,re.match_length=0):(bt=A._tr_tally(re,0,re.window[re.strstart]),re.lookahead--,re.strstart++),bt&&(se(re,!1),re.strm.avail_out===0))return be}return re.insert=0,ot===r?(se(re,!0),re.strm.avail_out===0?je:te):re.last_lit&&(se(re,!1),re.strm.avail_out===0)?be:Ce}function Ze(re,ot){for(var bt;;){if(re.lookahead===0&&(ae(re),re.lookahead===0)){if(ot===e)return be;break}if(re.match_length=0,bt=A._tr_tally(re,0,re.window[re.strstart]),re.lookahead--,re.strstart++,bt&&(se(re,!1),re.strm.avail_out===0))return be}return re.insert=0,ot===r?(se(re,!0),re.strm.avail_out===0?je:te):re.last_lit&&(se(re,!1),re.strm.avail_out===0)?be:Ce}function Ee(re,ot,bt,tt,Tt){this.good_length=re,this.max_lazy=ot,this.nice_length=bt,this.max_chain=tt,this.func=Tt}var mt;mt=[new Ee(0,0,0,0,ce),new Ee(4,4,8,4,_e),new Ee(4,5,16,8,_e),new Ee(4,6,32,32,_e),new Ee(4,4,16,16,ze),new Ee(8,16,32,32,ze),new Ee(8,16,128,128,ze),new Ee(8,32,128,256,ze),new Ee(32,128,258,1024,ze),new Ee(32,258,258,4096,ze)];function Je(re){re.window_size=2*re.w_size,he(re.head),re.max_lazy_match=mt[re.level].max_lazy,re.good_match=mt[re.level].good_length,re.nice_match=mt[re.level].nice_length,re.max_chain_length=mt[re.level].max_chain,re.strstart=0,re.block_start=0,re.lookahead=0,re.insert=0,re.match_length=re.prev_length=j-1,re.match_available=0,re.ins_h=0}function rt(){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=_,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(U*2),this.dyn_dtree=new f.Buf16((2*W+1)*2),this.bl_tree=new f.Buf16((2*D+1)*2),he(this.dyn_ltree),he(this.dyn_dtree),he(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new f.Buf16(H+1),this.heap=new f.Buf16(2*P+1),he(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new f.Buf16(2*P+1),he(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 wt(re){var ot;return!re||!re.state?$e(re,u):(re.total_in=re.total_out=0,re.data_type=x,ot=re.state,ot.pending=0,ot.pending_out=0,ot.wrap<0&&(ot.wrap=-ot.wrap),ot.status=ot.wrap?Y:de,re.adler=ot.wrap===2?0:1,ot.last_flush=e,A._tr_init(ot),t)}function Ot(re){var ot=wt(re);return ot===t&&Je(re.state),ot}function Ct(re,ot){return!re||!re.state||re.state.wrap!==2?u:(re.state.gzhead=ot,t)}function Dt(re,ot,bt,tt,Tt,Gt){if(!re)return u;var lr=1;if(ot===y&&(ot=6),tt<0?(lr=0,tt=-tt):tt>15&&(lr=2,tt-=16),Tt<1||Tt>I||bt!==_||tt<8||tt>15||ot<0||ot>9||Gt<0||Gt>C)return $e(re,u);tt===8&&(tt=9);var pr=new rt;return re.state=pr,pr.strm=re,pr.wrap=lr,pr.gzhead=null,pr.w_bits=tt,pr.w_size=1<<pr.w_bits,pr.w_mask=pr.w_size-1,pr.hash_bits=Tt+7,pr.hash_size=1<<pr.hash_bits,pr.hash_mask=pr.hash_size-1,pr.hash_shift=~~((pr.hash_bits+j-1)/j),pr.window=new f.Buf8(pr.w_size*2),pr.head=new f.Buf16(pr.hash_size),pr.prev=new f.Buf16(pr.w_size),pr.lit_bufsize=1<<Tt+6,pr.pending_buf_size=pr.lit_bufsize*4,pr.pending_buf=new f.Buf8(pr.pending_buf_size),pr.d_buf=1*pr.lit_bufsize,pr.l_buf=(1+2)*pr.lit_bufsize,pr.level=ot,pr.strategy=Gt,pr.method=bt,Ot(re)}function Xe(re,ot){return Dt(re,ot,_,L,R,T)}function q(re,ot){var bt,tt,Tt,Gt;if(!re||!re.state||ot>a||ot<0)return re?$e(re,u):u;if(tt=re.state,!re.output||!re.input&&re.avail_in!==0||tt.status===Ie&&ot!==r)return $e(re,re.avail_out===0?v:u);if(tt.strm=re,bt=tt.last_flush,tt.last_flush=ot,tt.status===Y)if(tt.wrap===2)re.adler=0,Ue(tt,31),Ue(tt,139),Ue(tt,8),tt.gzhead?(Ue(tt,(tt.gzhead.text?1:0)+(tt.gzhead.hcrc?2:0)+(tt.gzhead.extra?4:0)+(tt.gzhead.name?8:0)+(tt.gzhead.comment?16:0)),Ue(tt,tt.gzhead.time&255),Ue(tt,tt.gzhead.time>>8&255),Ue(tt,tt.gzhead.time>>16&255),Ue(tt,tt.gzhead.time>>24&255),Ue(tt,tt.level===9?2:tt.strategy>=b||tt.level<2?4:0),Ue(tt,tt.gzhead.os&255),tt.gzhead.extra&&tt.gzhead.extra.length&&(Ue(tt,tt.gzhead.extra.length&255),Ue(tt,tt.gzhead.extra.length>>8&255)),tt.gzhead.hcrc&&(re.adler=(0,g.default)(re.adler,tt.pending_buf,tt.pending,0)),tt.gzindex=0,tt.status=$):(Ue(tt,0),Ue(tt,0),Ue(tt,0),Ue(tt,0),Ue(tt,0),Ue(tt,tt.level===9?2:tt.strategy>=b||tt.level<2?4:0),Ue(tt,ve),tt.status=de);else{var lr=_+(tt.w_bits-8<<4)<<8,pr=-1;tt.strategy>=b||tt.level<2?pr=0:tt.level<6?pr=1:tt.level===6?pr=2:pr=3,lr|=pr<<6,tt.strstart!==0&&(lr|=z),lr+=31-lr%31,tt.status=de,ue(tt,lr),tt.strstart!==0&&(ue(tt,re.adler>>>16),ue(tt,re.adler&65535)),re.adler=1}if(tt.status===$)if(tt.gzhead.extra){for(Tt=tt.pending;tt.gzindex<(tt.gzhead.extra.length&65535)&&!(tt.pending===tt.pending_buf_size&&(tt.gzhead.hcrc&&tt.pending>Tt&&(re.adler=(0,g.default)(re.adler,tt.pending_buf,tt.pending-Tt,Tt)),ee(re),Tt=tt.pending,tt.pending===tt.pending_buf_size));)Ue(tt,tt.gzhead.extra[tt.gzindex]&255),tt.gzindex++;tt.gzhead.hcrc&&tt.pending>Tt&&(re.adler=(0,g.default)(re.adler,tt.pending_buf,tt.pending-Tt,Tt)),tt.gzindex===tt.gzhead.extra.length&&(tt.gzindex=0,tt.status=ne)}else tt.status=ne;if(tt.status===ne)if(tt.gzhead.name){Tt=tt.pending;do{if(tt.pending===tt.pending_buf_size&&(tt.gzhead.hcrc&&tt.pending>Tt&&(re.adler=(0,g.default)(re.adler,tt.pending_buf,tt.pending-Tt,Tt)),ee(re),Tt=tt.pending,tt.pending===tt.pending_buf_size)){Gt=1;break}tt.gzindex<tt.gzhead.name.length?Gt=tt.gzhead.name.charCodeAt(tt.gzindex++)&255:Gt=0,Ue(tt,Gt)}while(Gt!==0);tt.gzhead.hcrc&&tt.pending>Tt&&(re.adler=(0,g.default)(re.adler,tt.pending_buf,tt.pending-Tt,Tt)),Gt===0&&(tt.gzindex=0,tt.status=J)}else tt.status=J;if(tt.status===J)if(tt.gzhead.comment){Tt=tt.pending;do{if(tt.pending===tt.pending_buf_size&&(tt.gzhead.hcrc&&tt.pending>Tt&&(re.adler=(0,g.default)(re.adler,tt.pending_buf,tt.pending-Tt,Tt)),ee(re),Tt=tt.pending,tt.pending===tt.pending_buf_size)){Gt=1;break}tt.gzindex<tt.gzhead.comment.length?Gt=tt.gzhead.comment.charCodeAt(tt.gzindex++)&255:Gt=0,Ue(tt,Gt)}while(Gt!==0);tt.gzhead.hcrc&&tt.pending>Tt&&(re.adler=(0,g.default)(re.adler,tt.pending_buf,tt.pending-Tt,Tt)),Gt===0&&(tt.status=ge)}else tt.status=ge;if(tt.status===ge&&(tt.gzhead.hcrc?(tt.pending+2>tt.pending_buf_size&&ee(re),tt.pending+2<=tt.pending_buf_size&&(Ue(tt,re.adler&255),Ue(tt,re.adler>>8&255),re.adler=0,tt.status=de)):tt.status=de),tt.pending!==0){if(ee(re),re.avail_out===0)return tt.last_flush=-1,t}else if(re.avail_in===0&&Le(ot)<=Le(bt)&&ot!==r)return $e(re,v);if(tt.status===Ie&&re.avail_in!==0)return $e(re,v);if(re.avail_in!==0||tt.lookahead!==0||ot!==e&&tt.status!==Ie){var Rr=tt.strategy===b?Ze(tt,ot):tt.strategy===E?it(tt,ot):mt[tt.level].func(tt,ot);if((Rr===je||Rr===te)&&(tt.status=Ie),Rr===be||Rr===je)return re.avail_out===0&&(tt.last_flush=-1),t;if(Rr===Ce&&(ot===n?A._tr_align(tt):ot!==a&&(A._tr_stored_block(tt,0,0,!1),ot===i&&(he(tt.head),tt.lookahead===0&&(tt.strstart=0,tt.block_start=0,tt.insert=0))),ee(re),re.avail_out===0))return tt.last_flush=-1,t}return ot!==r?t:tt.wrap<=0?s:(tt.wrap===2?(Ue(tt,re.adler&255),Ue(tt,re.adler>>8&255),Ue(tt,re.adler>>16&255),Ue(tt,re.adler>>24&255),Ue(tt,re.total_in&255),Ue(tt,re.total_in>>8&255),Ue(tt,re.total_in>>16&255),Ue(tt,re.total_in>>24&255)):(ue(tt,re.adler>>>16),ue(tt,re.adler&65535)),ee(re),tt.wrap>0&&(tt.wrap=-tt.wrap),tt.pending!==0?t:s)}function V(re){var ot;return!re||!re.state?u:(ot=re.state.status,ot!==Y&&ot!==$&&ot!==ne&&ot!==J&&ot!==ge&&ot!==de&&ot!==Ie?$e(re,u):(re.state=null,ot===de?$e(re,d):t))}function Ae(re,ot){var bt=ot.length,tt,Tt,Gt,lr,pr,Rr,xt,It;if(!re||!re.state)return u;if(tt=re.state,lr=tt.wrap,lr===2||lr===1&&tt.status!==Y||tt.lookahead)return u;for(lr===1&&(re.adler=(0,m.default)(re.adler,ot,bt,0)),tt.wrap=0,bt>=tt.w_size&&(lr===0&&(he(tt.head),tt.strstart=0,tt.block_start=0,tt.insert=0),It=new f.Buf8(tt.w_size),f.arraySet(It,ot,bt-tt.w_size,tt.w_size,0),ot=It,bt=tt.w_size),pr=re.avail_in,Rr=re.next_in,xt=re.input,re.avail_in=bt,re.next_in=0,re.input=ot,ae(tt);tt.lookahead>=j;){Tt=tt.strstart,Gt=tt.lookahead-(j-1);do tt.ins_h=(tt.ins_h<<tt.hash_shift^tt.window[Tt+j-1])&tt.hash_mask,tt.prev[Tt&tt.w_mask]=tt.head[tt.ins_h],tt.head[tt.ins_h]=Tt,Tt++;while(--Gt);tt.strstart=Tt,tt.lookahead=j-1,ae(tt)}return tt.strstart+=tt.lookahead,tt.block_start=tt.strstart,tt.insert=tt.lookahead,tt.lookahead=0,tt.match_length=tt.prev_length=j-1,tt.match_available=0,re.next_in=Rr,re.input=xt,re.avail_in=pr,tt.wrap=lr,t}var xe="pako deflate (from Nodeca project)";B.deflateInfo=xe},lOQZ:function(M,B,o){var w=o("QBsz"),f=o("U/Mo"),A=f.getSymbolSize,m=f.getNodeGlobalScale,g=Math.PI,p=[];function c(l,e){var n=l.coordinateSystem;if(n&&n.type!=="view")return;var i=n.getBoundingRect(),r=l.getData(),a=r.graph,t=i.width/2+i.x,s=i.height/2+i.y,u=Math.min(i.width,i.height)/2,d=r.count();if(r.setLayout({cx:t,cy:s}),!d)return;h[e](l,n,a,r,u,t,s,d),a.eachEdge(function(v){var y=v.getModel().get("lineStyle.curveness")||0,S=w.clone(v.node1.getLayout()),b=w.clone(v.node2.getLayout()),E,C=(S[0]+b[0])/2,T=(S[1]+b[1])/2;+y&&(y*=3,E=[t*y+C*(1-y),s*y+T*(1-y)]),v.setLayout([S,b,E])})}var h={value:function(l,e,n,i,r,a,t,s){var u=0,d=i.getSum("value"),v=Math.PI*2/(d||s);n.eachNode(function(y){var S=y.getValue("value"),b=v*(d?S:1)/2;u+=b,y.setLayout([r*Math.cos(u)+a,r*Math.sin(u)+t]),u+=b})},symbolSize:function(l,e,n,i,r,a,t,s){var u=0;p.length=s;var d=m(l);n.eachNode(function(S){var b=A(S);isNaN(b)&&(b=2),b<0&&(b=0),b*=d;var E=Math.asin(b/2/r);isNaN(E)&&(E=g/2),p[S.dataIndex]=E,u+=E*2});var v=(2*g-u)/s/2,y=0;n.eachNode(function(S){var b=v+p[S.dataIndex];y+=b,S.setLayout([r*Math.cos(y)+a,r*Math.sin(y)+t]),y+=b})}};B.circularLayout=c},lZu9:function(M,B,o){(function(w){w(o("VrN/"),o("1eCo"),o("8EBN"))})(function(w){"use strict";w.defineMode("markdown",function(f,A){var m=w.getMode(f,"text/html"),g=m.name=="null";function p(H){if(w.findModeByName){var j=w.findModeByName(H);j&&(H=j.mime||j.mimes[0])}var K=w.getMode(f,H);return K.name=="null"?null:K}A.highlightFormatting===void 0&&(A.highlightFormatting=!1),A.maxBlockquoteDepth===void 0&&(A.maxBlockquoteDepth=0),A.taskLists===void 0&&(A.taskLists=!1),A.strikethrough===void 0&&(A.strikethrough=!1),A.emoji===void 0&&(A.emoji=!1),A.fencedCodeBlockHighlighting===void 0&&(A.fencedCodeBlockHighlighting=!0),A.fencedCodeBlockDefaultMode===void 0&&(A.fencedCodeBlockDefaultMode="text/plain"),A.xml===void 0&&(A.xml=!0),A.tokenTypeOverrides===void 0&&(A.tokenTypeOverrides={});var c={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 h in c)c.hasOwnProperty(h)&&A.tokenTypeOverrides[h]&&(c[h]=A.tokenTypeOverrides[h]);var l=/^([*\-_])(?:\s*\1){2,}\s*$/,e=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,n=/^\[(x| )\](?=\s)/i,i=A.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,r=/^ {0,3}(?:\={1,}|-{2,})\s*$/,a=/^[^#!\[\]*_\\<>` "'(~:]+/,t=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,s=/^\s*\[[^\]]+?\]:.*$/,u=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,d=" ";function v(H,j,K){return j.f=j.inline=K,K(H,j)}function y(H,j,K){return j.f=j.block=K,K(H,j)}function S(H){return!H||!/\S/.test(H.string)}function b(H){if(H.linkTitle=!1,H.linkHref=!1,H.linkText=!1,H.em=!1,H.strong=!1,H.strikethrough=!1,H.quote=0,H.indentedCode=!1,H.f==C){var j=g;if(!j){var K=w.innerMode(m,H.htmlState);j=K.mode.name=="xml"&&K.state.tagStart===null&&!K.state.context&&K.state.tokenize.isInText}j&&(H.f=I,H.block=E,H.htmlState=null)}return H.trailingSpace=0,H.trailingSpaceNewLine=!1,H.prevLine=H.thisLine,H.thisLine={stream:null},null}function E(H,j){var K=H.column()===j.indentation,X=S(j.prevLine.stream),z=j.indentedCode,Y=j.prevLine.hr,$=j.list!==!1,ne=(j.listStack[j.listStack.length-1]||0)+3;j.indentedCode=!1;var J=j.indentation;if(j.indentationDiff===null&&(j.indentationDiff=j.indentation,$)){for(j.list=null;J<j.listStack[j.listStack.length-1];)j.listStack.pop(),j.listStack.length?j.indentation=j.listStack[j.listStack.length-1]:j.list=!1;j.list!==!1&&(j.indentationDiff=J-j.listStack[j.listStack.length-1])}var ge=!X&&!Y&&!j.prevLine.header&&(!$||!z)&&!j.prevLine.fencedCodeEnd,de=(j.list===!1||Y||X)&&j.indentation<=ne&&H.match(l),Ie=null;if(j.indentationDiff>=4&&(z||j.prevLine.fencedCodeEnd||j.prevLine.header||X))return H.skipToEnd(),j.indentedCode=!0,c.code;if(H.eatSpace())return null;if(K&&j.indentation<=ne&&(Ie=H.match(i))&&Ie[1].length<=6)return j.quote=0,j.header=Ie[1].length,j.thisLine.header=!0,A.highlightFormatting&&(j.formatting="header"),j.f=j.inline,x(j);if(j.indentation<=ne&&H.eat(">"))return j.quote=K?1:j.quote+1,A.highlightFormatting&&(j.formatting="quote"),H.eatSpace(),x(j);if(!de&&!j.setext&&K&&j.indentation<=ne&&(Ie=H.match(e))){var be=Ie[1]?"ol":"ul";return j.indentation=J+H.current().length,j.list=!0,j.quote=0,j.listStack.push(j.indentation),j.em=!1,j.strong=!1,j.code=!1,j.strikethrough=!1,A.taskLists&&H.match(n,!1)&&(j.taskList=!0),j.f=j.inline,A.highlightFormatting&&(j.formatting=["list","list-"+be]),x(j)}else{if(K&&j.indentation<=ne&&(Ie=H.match(t,!0)))return j.quote=0,j.fencedEndRE=new RegExp(Ie[1]+"+ *$"),j.localMode=A.fencedCodeBlockHighlighting&&p(Ie[2]||A.fencedCodeBlockDefaultMode),j.localMode&&(j.localState=w.startState(j.localMode)),j.f=j.block=T,A.highlightFormatting&&(j.formatting="code-block"),j.code=-1,x(j);if(j.setext||(!ge||!$)&&!j.quote&&j.list===!1&&!j.code&&!de&&!s.test(H.string)&&(Ie=H.lookAhead(1))&&(Ie=Ie.match(r)))return j.setext?(j.header=j.setext,j.setext=0,H.skipToEnd(),A.highlightFormatting&&(j.formatting="header")):(j.header=Ie[0].charAt(0)=="="?1:2,j.setext=j.header),j.thisLine.header=!0,j.f=j.inline,x(j);if(de)return H.skipToEnd(),j.hr=!0,j.thisLine.hr=!0,c.hr;if(H.peek()==="[")return v(H,j,P)}return v(H,j,j.inline)}function C(H,j){var K=m.token(H,j.htmlState);if(!g){var X=w.innerMode(m,j.htmlState);(X.mode.name=="xml"&&X.state.tagStart===null&&!X.state.context&&X.state.tokenize.isInText||j.md_inside&&H.current().indexOf(">")>-1)&&(j.f=I,j.block=E,j.htmlState=null)}return K}function T(H,j){var K=j.listStack[j.listStack.length-1]||0,X=j.indentation<K,z=K+3;if(j.fencedEndRE&&j.indentation<=z&&(X||H.match(j.fencedEndRE))){A.highlightFormatting&&(j.formatting="code-block");var Y;return X||(Y=x(j)),j.localMode=j.localState=null,j.block=E,j.f=I,j.fencedEndRE=null,j.code=0,j.thisLine.fencedCodeEnd=!0,X?y(H,j,j.block):Y}else return j.localMode?j.localMode.token(H,j.localState):(H.skipToEnd(),c.code)}function x(H){var j=[];if(H.formatting){j.push(c.formatting),typeof H.formatting=="string"&&(H.formatting=[H.formatting]);for(var K=0;K<H.formatting.length;K++)j.push(c.formatting+"-"+H.formatting[K]),H.formatting[K]==="header"&&j.push(c.formatting+"-"+H.formatting[K]+"-"+H.header),H.formatting[K]==="quote"&&(!A.maxBlockquoteDepth||A.maxBlockquoteDepth>=H.quote?j.push(c.formatting+"-"+H.formatting[K]+"-"+H.quote):j.push("error"))}if(H.taskOpen)return j.push("meta"),j.length?j.join(" "):null;if(H.taskClosed)return j.push("property"),j.length?j.join(" "):null;if(H.linkHref?j.push(c.linkHref,"url"):(H.strong&&j.push(c.strong),H.em&&j.push(c.em),H.strikethrough&&j.push(c.strikethrough),H.emoji&&j.push(c.emoji),H.linkText&&j.push(c.linkText),H.code&&j.push(c.code),H.image&&j.push(c.image),H.imageAltText&&j.push(c.imageAltText,"link"),H.imageMarker&&j.push(c.imageMarker)),H.header&&j.push(c.header,c.header+"-"+H.header),H.quote&&(j.push(c.quote),!A.maxBlockquoteDepth||A.maxBlockquoteDepth>=H.quote?j.push(c.quote+"-"+H.quote):j.push(c.quote+"-"+A.maxBlockquoteDepth)),H.list!==!1){var X=(H.listStack.length-1)%3;X?X===1?j.push(c.list2):j.push(c.list3):j.push(c.list1)}return H.trailingSpaceNewLine?j.push("trailing-space-new-line"):H.trailingSpace&&j.push("trailing-space-"+(H.trailingSpace%2?"a":"b")),j.length?j.join(" "):null}function _(H,j){return H.match(a,!0)?x(j):void 0}function I(H,j){var K=j.text(H,j);if(typeof K!="undefined")return K;if(j.list)return j.list=null,x(j);if(j.taskList){var X=H.match(n,!0)[1]===" ";return X?j.taskOpen=!0:j.taskClosed=!0,A.highlightFormatting&&(j.formatting="task"),j.taskList=!1,x(j)}if(j.taskOpen=!1,j.taskClosed=!1,j.header&&H.match(/^#+$/,!0))return A.highlightFormatting&&(j.formatting="header"),x(j);var z=H.next();if(j.linkTitle){j.linkTitle=!1;var Y=z;z==="("&&(Y=")"),Y=(Y+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var $="^\\s*(?:[^"+Y+"\\\\]+|\\\\\\\\|\\\\.)"+Y;if(H.match(new RegExp($),!0))return c.linkHref}if(z==="`"){var ne=j.formatting;A.highlightFormatting&&(j.formatting="code"),H.eatWhile("`");var J=H.current().length;if(j.code==0&&(!j.quote||J==1))return j.code=J,x(j);if(J==j.code){var ge=x(j);return j.code=0,ge}else return j.formatting=ne,x(j)}else if(j.code)return x(j);if(z==="\\"&&(H.next(),A.highlightFormatting)){var de=x(j),Ie=c.formatting+"-escape";return de?de+" "+Ie:Ie}if(z==="!"&&H.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return j.imageMarker=!0,j.image=!0,A.highlightFormatting&&(j.formatting="image"),x(j);if(z==="["&&j.imageMarker&&H.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return j.imageMarker=!1,j.imageAltText=!0,A.highlightFormatting&&(j.formatting="image"),x(j);if(z==="]"&&j.imageAltText){A.highlightFormatting&&(j.formatting="image");var de=x(j);return j.imageAltText=!1,j.image=!1,j.inline=j.f=R,de}if(z==="["&&!j.image)return j.linkText&&H.match(/^.*?\]/)||(j.linkText=!0,A.highlightFormatting&&(j.formatting="link")),x(j);if(z==="]"&&j.linkText){A.highlightFormatting&&(j.formatting="link");var de=x(j);return j.linkText=!1,j.inline=j.f=H.match(/\(.*?\)| ?\[.*?\]/,!1)?R:I,de}if(z==="<"&&H.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){j.f=j.inline=L,A.highlightFormatting&&(j.formatting="link");var de=x(j);return de?de+=" ":de="",de+c.linkInline}if(z==="<"&&H.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){j.f=j.inline=L,A.highlightFormatting&&(j.formatting="link");var de=x(j);return de?de+=" ":de="",de+c.linkEmail}if(A.xml&&z==="<"&&H.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var be=H.string.indexOf(">",H.pos);if(be!=-1){var Ce=H.string.substring(H.start,be);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Ce)&&(j.md_inside=!0)}return H.backUp(1),j.htmlState=w.startState(m),y(H,j,C)}if(A.xml&&z==="<"&&H.match(/^\/\w*?>/))return j.md_inside=!1,"tag";if(z==="*"||z==="_"){for(var je=1,te=H.pos==1?" ":H.string.charAt(H.pos-2);je<3&&H.eat(z);)je++;var ve=H.peek()||" ",$e=!/\s/.test(ve)&&(!u.test(ve)||/\s/.test(te)||u.test(te)),Le=!/\s/.test(te)&&(!u.test(te)||/\s/.test(ve)||u.test(ve)),he=null,ee=null;if(je%2&&(!j.em&&$e&&(z==="*"||!Le||u.test(te))?he=!0:j.em==z&&Le&&(z==="*"||!$e||u.test(ve))&&(he=!1)),je>1&&(!j.strong&&$e&&(z==="*"||!Le||u.test(te))?ee=!0:j.strong==z&&Le&&(z==="*"||!$e||u.test(ve))&&(ee=!1)),ee!=null||he!=null){A.highlightFormatting&&(j.formatting=he==null?"strong":ee==null?"em":"strong em"),he===!0&&(j.em=z),ee===!0&&(j.strong=z);var ge=x(j);return he===!1&&(j.em=!1),ee===!1&&(j.strong=!1),ge}}else if(z===" "&&(H.eat("*")||H.eat("_"))){if(H.peek()===" ")return x(j);H.backUp(1)}if(A.strikethrough){if(z==="~"&&H.eatWhile(z)){if(j.strikethrough){A.highlightFormatting&&(j.formatting="strikethrough");var ge=x(j);return j.strikethrough=!1,ge}else if(H.match(/^[^\s]/,!1))return j.strikethrough=!0,A.highlightFormatting&&(j.formatting="strikethrough"),x(j)}else if(z===" "&&H.match(/^~~/,!0)){if(H.peek()===" ")return x(j);H.backUp(2)}}if(A.emoji&&z===":"&&H.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){j.emoji=!0,A.highlightFormatting&&(j.formatting="emoji");var se=x(j);return j.emoji=!1,se}return z===" "&&(H.match(/^ +$/,!1)?j.trailingSpace++:j.trailingSpace&&(j.trailingSpaceNewLine=!0)),x(j)}function L(H,j){var K=H.next();if(K===">"){j.f=j.inline=I,A.highlightFormatting&&(j.formatting="link");var X=x(j);return X?X+=" ":X="",X+c.linkInline}return H.match(/^[^>]+/,!0),c.linkInline}function R(H,j){if(H.eatSpace())return null;var K=H.next();return K==="("||K==="["?(j.f=j.inline=F(K==="("?")":"]"),A.highlightFormatting&&(j.formatting="link-string"),j.linkHref=!0,x(j)):"error"}var k={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function F(H){return function(j,K){var X=j.next();if(X===H){K.f=K.inline=I,A.highlightFormatting&&(K.formatting="link-string");var z=x(K);return K.linkHref=!1,z}return j.match(k[H]),K.linkHref=!0,x(K)}}function P(H,j){return H.match(/^([^\]\\]|\\.)*\]:/,!1)?(j.f=W,H.next(),A.highlightFormatting&&(j.formatting="link"),j.linkText=!0,x(j)):v(H,j,I)}function W(H,j){if(H.match(/^\]:/,!0)){j.f=j.inline=D,A.highlightFormatting&&(j.formatting="link");var K=x(j);return j.linkText=!1,K}return H.match(/^([^\]\\]|\\.)+/,!0),c.linkText}function D(H,j){return H.eatSpace()?null:(H.match(/^[^\s]+/,!0),H.peek()===void 0?j.linkTitle=!0:H.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),j.f=j.inline=I,c.linkHref+" url")}var U={startState:function(){return{f:E,prevLine:{stream:null},thisLine:{stream:null},block:E,htmlState:null,indentation:0,inline:I,text:_,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(j){return{f:j.f,prevLine:j.prevLine,thisLine:j.thisLine,block:j.block,htmlState:j.htmlState&&w.copyState(m,j.htmlState),indentation:j.indentation,localMode:j.localMode,localState:j.localMode?w.copyState(j.localMode,j.localState):null,inline:j.inline,text:j.text,formatting:!1,linkText:j.linkText,linkTitle:j.linkTitle,linkHref:j.linkHref,code:j.code,em:j.em,strong:j.strong,strikethrough:j.strikethrough,emoji:j.emoji,header:j.header,setext:j.setext,hr:j.hr,taskList:j.taskList,list:j.list,listStack:j.listStack.slice(0),quote:j.quote,indentedCode:j.indentedCode,trailingSpace:j.trailingSpace,trailingSpaceNewLine:j.trailingSpaceNewLine,md_inside:j.md_inside,fencedEndRE:j.fencedEndRE}},token:function(j,K){if(K.formatting=!1,j!=K.thisLine.stream){if(K.header=0,K.hr=!1,j.match(/^\s*$/,!0))return b(K),null;if(K.prevLine=K.thisLine,K.thisLine={stream:j},K.taskList=!1,K.trailingSpace=0,K.trailingSpaceNewLine=!1,!K.localState&&(K.f=K.block,K.f!=C)){var X=j.match(/^\s*/,!0)[0].replace(/\t/g,d).length;if(K.indentation=X,K.indentationDiff=null,X>0)return null}}return K.f(j,K)},innerMode:function(j){return j.block==C?{state:j.htmlState,mode:m}:j.localState?{state:j.localState,mode:j.localMode}:{state:j,mode:U}},indent:function(j,K,X){return j.block==C&&m.indent?m.indent(j.htmlState,K,X):j.localState&&j.localMode.indent?j.localMode.indent(j.localState,K,X):w.Pass},blankLine:b,getType:x,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return U},"xml"),w.defineMIME("text/markdown","markdown"),w.defineMIME("text/x-markdown","markdown")})},laiN:function(M,B,o){var w=o("ProS");o("GVMX"),o("MH26"),w.registerPreprocessor(function(f){f.markLine=f.markLine||{}})},loD1:function(M,B){function o(w,f,A,m,g,p,c){if(g===0)return!1;var h=g,l=0,e=w;if(c>f+h&&c>m+h||c<f-h&&c<m-h||p>w+h&&p>A+h||p<w-h&&p<A-h)return!1;if(w!==A)l=(f-m)/(w-A),e=(w*m-A*f)/(w-A);else return Math.abs(p-w)<=h/2;var n=l*p-c+e,i=n*n/(l*l+1);return i<=h/2*h/2}B.containStroke=o},lv6n:function(M,B,o){"use strict";var w=o("rePB"),f=o("wx14"),A=o("q1tI"),m=o("TSYQ"),g=o.n(m),p=o("bT9E"),c=o("9R2V"),h=function(b,E){var C={};for(var T in b)Object.prototype.hasOwnProperty.call(b,T)&&E.indexOf(T)<0&&(C[T]=b[T]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,T=Object.getOwnPropertySymbols(b);x<T.length;x++)E.indexOf(T[x])<0&&Object.prototype.propertyIsEnumerable.call(b,T[x])&&(C[T[x]]=b[T[x]]);return C},l=function(E){var C=E.prefixCls,T=E.className,x=E.hoverable,_=x===void 0?!0:x,I=h(E,["prefixCls","className","hoverable"]);return A.createElement(c.a,null,function(L){var R=L.getPrefixCls,k=R("card",C),F=g()("".concat(k,"-grid"),T,Object(w.a)({},"".concat(k,"-grid-hoverable"),_));return A.createElement("div",Object(f.a)({},I,{className:F}))})},e=l,n=function(b,E){var C={};for(var T in b)Object.prototype.hasOwnProperty.call(b,T)&&E.indexOf(T)<0&&(C[T]=b[T]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,T=Object.getOwnPropertySymbols(b);x<T.length;x++)E.indexOf(T[x])<0&&Object.prototype.propertyIsEnumerable.call(b,T[x])&&(C[T[x]]=b[T[x]]);return C},i=function(E){return A.createElement(c.a,null,function(C){var T=C.getPrefixCls,x=E.prefixCls,_=E.className,I=E.avatar,L=E.title,R=E.description,k=n(E,["prefixCls","className","avatar","title","description"]),F=T("card",x),P=g()("".concat(F,"-meta"),_),W=I?A.createElement("div",{className:"".concat(F,"-meta-avatar")},I):null,D=L?A.createElement("div",{className:"".concat(F,"-meta-title")},L):null,U=R?A.createElement("div",{className:"".concat(F,"-meta-description")},R):null,H=D||U?A.createElement("div",{className:"".concat(F,"-meta-detail")},D,U):null;return A.createElement("div",Object(f.a)({},k,{className:P}),W,H)})},r=i,a=o("GJq7"),t=o("AeMq"),s=o("f+He"),u=o("kc2O"),d=function(b,E){var C={};for(var T in b)Object.prototype.hasOwnProperty.call(b,T)&&E.indexOf(T)<0&&(C[T]=b[T]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,T=Object.getOwnPropertySymbols(b);x<T.length;x++)E.indexOf(T[x])<0&&Object.prototype.propertyIsEnumerable.call(b,T[x])&&(C[T[x]]=b[T[x]]);return C};function v(b){var E=b.map(function(C,T){return A.createElement("li",{style:{width:"".concat(100/b.length,"%")},key:"action-".concat(T)},A.createElement("span",null,C))});return E}var y=function(E){var C,T,x=A.useContext(c.b),_=x.getPrefixCls,I=x.direction,L=A.useContext(u.b),R=function(Je){var rt;(rt=E.onTabChange)===null||rt===void 0||rt.call(E,Je)},k=function(){var Je;return A.Children.forEach(E.children,function(rt){rt&&rt.type&&rt.type===e&&(Je=!0)}),Je},F=E.prefixCls,P=E.className,W=E.extra,D=E.headStyle,U=D===void 0?{}:D,H=E.bodyStyle,j=H===void 0?{}:H,K=E.title,X=E.loading,z=E.bordered,Y=z===void 0?!0:z,$=E.size,ne=E.type,J=E.cover,ge=E.actions,de=E.tabList,Ie=E.children,be=E.activeTabKey,Ce=E.defaultActiveTabKey,je=E.tabBarExtraContent,te=E.hoverable,ve=E.tabProps,$e=ve===void 0?{}:ve,Le=d(E,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),he=_("card",F),ee=j.padding===0||j.padding==="0px"?{padding:24}:void 0,se=A.createElement("div",{className:"".concat(he,"-loading-block")}),Ue=A.createElement("div",{className:"".concat(he,"-loading-content"),style:ee},A.createElement(t.a,{gutter:8},A.createElement(s.a,{span:22},se)),A.createElement(t.a,{gutter:8},A.createElement(s.a,{span:8},se),A.createElement(s.a,{span:15},se)),A.createElement(t.a,{gutter:8},A.createElement(s.a,{span:6},se),A.createElement(s.a,{span:18},se)),A.createElement(t.a,{gutter:8},A.createElement(s.a,{span:13},se),A.createElement(s.a,{span:9},se)),A.createElement(t.a,{gutter:8},A.createElement(s.a,{span:4},se),A.createElement(s.a,{span:3},se),A.createElement(s.a,{span:16},se))),ue=be!==void 0,Ne=Object(f.a)(Object(f.a)({},$e),(C={},Object(w.a)(C,ue?"activeKey":"defaultActiveKey",ue?be:Ce),Object(w.a)(C,"tabBarExtraContent",je),C)),Fe,ae=de&&de.length?A.createElement(a.a,Object(f.a)({size:"large"},Ne,{className:"".concat(he,"-head-tabs"),onChange:R}),de.map(function(mt){return A.createElement(a.a.TabPane,{tab:mt.tab,disabled:mt.disabled,key:mt.key})})):null;(K||W||ae)&&(Fe=A.createElement("div",{className:"".concat(he,"-head"),style:U},A.createElement("div",{className:"".concat(he,"-head-wrapper")},K&&A.createElement("div",{className:"".concat(he,"-head-title")},K),W&&A.createElement("div",{className:"".concat(he,"-extra")},W)),ae));var ce=J?A.createElement("div",{className:"".concat(he,"-cover")},J):null,_e=A.createElement("div",{className:"".concat(he,"-body"),style:j},X?Ue:Ie),ze=ge&&ge.length?A.createElement("ul",{className:"".concat(he,"-actions")},v(ge)):null,it=Object(p.a)(Le,["onTabChange"]),Ze=$||L,Ee=g()(he,(T={},Object(w.a)(T,"".concat(he,"-loading"),X),Object(w.a)(T,"".concat(he,"-bordered"),Y),Object(w.a)(T,"".concat(he,"-hoverable"),te),Object(w.a)(T,"".concat(he,"-contain-grid"),k()),Object(w.a)(T,"".concat(he,"-contain-tabs"),de&&de.length),Object(w.a)(T,"".concat(he,"-").concat(Ze),Ze),Object(w.a)(T,"".concat(he,"-type-").concat(ne),!!ne),Object(w.a)(T,"".concat(he,"-rtl"),I==="rtl"),T),P);return A.createElement("div",Object(f.a)({},it,{className:Ee}),Fe,ce,_e,ze)};y.Grid=e,y.Meta=r;var S=B.a=y},lwQL:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("9wZj"),m=o("c8qY"),g=o("SgGq"),p=o("Ae+d"),c=o("xSat"),h=c.onIrrelevantElement,l=o("IwbS"),e=o("SA8n"),n=o("U/Mo"),i=n.getNodeGlobalScale,r="__focusNodeAdjacency",a="__unfocusNodeAdjacency",t=["itemStyle","opacity"],s=["lineStyle","opacity"];function u(S,b){var E=S.getVisual("opacity");return E!=null?E:S.getModel().get(b)}function d(S,b,E){var C=S.getGraphicEl(),T=u(S,b);E!=null&&(T==null&&(T=1),T*=E),C.downplay&&C.downplay(),C.traverse(function(x){if(!x.isGroup){var _=x.lineLabelOriginalOpacity;(_==null||E!=null)&&(_=T),x.setStyle("opacity",_)}})}function v(S,b){var E=u(S,b),C=S.getGraphicEl();C.traverse(function(T){!T.isGroup&&T.setStyle("opacity",E)}),C.highlight&&C.highlight()}var y=w.extendChartView({type:"graph",init:function(S,b){var E=new A,C=new m,T=this.group;this._controller=new g(b.getZr()),this._controllerHost={target:T},T.add(E.group),T.add(C.group),this._symbolDraw=E,this._lineDraw=C,this._firstRender=!0},render:function(S,b,E){var C=this,T=S.coordinateSystem;this._model=S;var x=this._symbolDraw,_=this._lineDraw,I=this.group;if(T.type==="view"){var L={position:T.position,scale:T.scale};this._firstRender?I.attr(L):l.updateProps(I,L,S)}e(S.getGraph(),i(S));var R=S.getData();x.updateData(R);var k=S.getEdgeData();_.updateData(k),this._updateNodeAndLinkScale(),this._updateController(S,b,E),clearTimeout(this._layoutTimeout);var F=S.forceLayout,P=S.get("force.layoutAnimation");F&&this._startForceLayoutIteration(F,P),R.eachItemGraphicEl(function(H,j){var K=R.getItemModel(j);H.off("drag").off("dragend");var X=K.get("draggable");X&&H.on("drag",function(){F&&(F.warmUp(),!this._layouting&&this._startForceLayoutIteration(F,P),F.setFixed(j),R.setItemLayout(j,H.position))},this).on("dragend",function(){F&&F.setUnfixed(j)},this),H.setDraggable(X&&F),H[r]&&H.off("mouseover",H[r]),H[a]&&H.off("mouseout",H[a]),K.get("focusNodeAdjacency")&&(H.on("mouseover",H[r]=function(){C._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:S.id,dataIndex:H.dataIndex})}),H.on("mouseout",H[a]=function(){C._dispatchUnfocus(E)}))},this),R.graph.eachEdge(function(H){var j=H.getGraphicEl();j[r]&&j.off("mouseover",j[r]),j[a]&&j.off("mouseout",j[a]),H.getModel().get("focusNodeAdjacency")&&(j.on("mouseover",j[r]=function(){C._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:S.id,edgeDataIndex:H.dataIndex})}),j.on("mouseout",j[a]=function(){C._dispatchUnfocus(E)}))});var W=S.get("layout")==="circular"&&S.get("circular.rotateLabel"),D=R.getLayout("cx"),U=R.getLayout("cy");R.eachItemGraphicEl(function(H,j){var K=R.getItemModel(j),X=K.get("label.rotate")||0,z=H.getSymbolPath();if(W){var Y=R.getItemLayout(j),$=Math.atan2(Y[1]-U,Y[0]-D);$<0&&($=Math.PI*2+$);var ne=Y[0]<D;ne&&($=$-Math.PI);var J=ne?"left":"right";l.modifyLabelStyle(z,{textRotation:-$,textPosition:J,textOrigin:"center"},{textPosition:J})}else l.modifyLabelStyle(z,{textRotation:X*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(S,b){var E=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){E._unfocusDelayTimer=null,S.dispatchAction({type:"unfocusNodeAdjacency",seriesId:E._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(S,b,E,C){var T=S.getData(),x=T.graph,_=C.dataIndex,I=C.edgeDataIndex,L=x.getNodeByIndex(_),R=x.getEdgeByIndex(I);if(!L&&!R)return;x.eachNode(function(k){d(k,t,.1)}),x.eachEdge(function(k){d(k,s,.1)}),L&&(v(L,t),f.each(L.edges,function(k){if(k.dataIndex<0)return;v(k,s),v(k.node1,t),v(k.node2,t)})),R&&(v(R,s),v(R.node1,t),v(R.node2,t))},unfocusNodeAdjacency:function(S,b,E,C){var T=S.getData().graph;T.eachNode(function(x){d(x,t)}),T.eachEdge(function(x){d(x,s)})},_startForceLayoutIteration:function(S,b){var E=this;(function C(){S.step(function(T){E.updateLayout(E._model),(E._layouting=!T)&&(b?E._layoutTimeout=setTimeout(C,16):C())})})()},_updateController:function(S,b,E){var C=this._controller,T=this._controllerHost,x=this.group;if(C.setPointerChecker(function(_,I,L){var R=x.getBoundingRect();return R.applyTransform(x.transform),R.contain(I,L)&&!h(_,E,S)}),S.coordinateSystem.type!=="view"){C.disable();return}C.enable(S.get("roam")),T.zoomLimit=S.get("scaleLimit"),T.zoom=S.coordinateSystem.getZoom(),C.off("pan").off("zoom").on("pan",function(_){p.updateViewOnPan(T,_.dx,_.dy),E.dispatchAction({seriesId:S.id,type:"graphRoam",dx:_.dx,dy:_.dy})}).on("zoom",function(_){p.updateViewOnZoom(T,_.scale,_.originX,_.originY),E.dispatchAction({seriesId:S.id,type:"graphRoam",zoom:_.scale,originX:_.originX,originY:_.originY}),this._updateNodeAndLinkScale(),e(S.getGraph(),i(S)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var S=this._model,b=S.getData(),E=i(S),C=[E,E];b.eachItemGraphicEl(function(T,x){T.attr("scale",C)})},updateLayout:function(S){e(S.getGraph(),i(S)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(S,b){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});M.exports=y},m9t5:function(M,B,o){var w=o("KCsZ"),f=w([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),A={getAreaStyle:function(m,g){return f(this,m,g)}};M.exports=A},mFDi:function(M,B,o){var w=o("QBsz"),f=o("Fofx"),A=w.applyTransform,m=Math.min,g=Math.max;function p(h,l,e,n){e<0&&(h=h+e,e=-e),n<0&&(l=l+n,n=-n),this.x=h,this.y=l,this.width=e,this.height=n}p.prototype={constructor:p,union:function(l){var e=m(l.x,this.x),n=m(l.y,this.y);this.width=g(l.x+l.width,this.x+this.width)-e,this.height=g(l.y+l.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:function(){var h=[],l=[],e=[],n=[];return function(i){if(!i)return;h[0]=e[0]=this.x,h[1]=n[1]=this.y,l[0]=n[0]=this.x+this.width,l[1]=e[1]=this.y+this.height,A(h,h,i),A(l,l,i),A(e,e,i),A(n,n,i),this.x=m(h[0],l[0],e[0],n[0]),this.y=m(h[1],l[1],e[1],n[1]);var r=g(h[0],l[0],e[0],n[0]),a=g(h[1],l[1],e[1],n[1]);this.width=r-this.x,this.height=a-this.y}}(),calculateTransform:function(l){var e=this,n=l.width/e.width,i=l.height/e.height,r=f.create();return f.translate(r,r,[-e.x,-e.y]),f.scale(r,r,[n,i]),f.translate(r,r,[l.x,l.y]),r},intersect:function(l){if(!l)return!1;l instanceof p||(l=p.create(l));var e=this,n=e.x,i=e.x+e.width,r=e.y,a=e.y+e.height,t=l.x,s=l.x+l.width,u=l.y,d=l.y+l.height;return!(i<t||s<n||a<u||d<r)},contain:function(l,e){var n=this;return l>=n.x&&l<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new p(this.x,this.y,this.width,this.height)},copy:function(l){this.x=l.x,this.y=l.y,this.width=l.width,this.height=l.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},p.create=function(h){return new p(h.x,h.y,h.width,h.height)};var c=p;M.exports=c},mHUz:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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};B.default=w},mLcG:function(M,B){var o=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(w){setTimeout(w,16)};M.exports=o},mOdp:function(M,B,o){var w=o("bYtY"),f=w.createHashMap;function A(m){return{getTargetSeries:function(g){var p={},c=f();return g.eachSeriesByType(m,function(h){h.__paletteScope=p,c.set(h.uid,h)}),c},reset:function(g,p){var c=g.getRawData(),h={},l=g.getData();l.each(function(e){var n=l.getRawIndex(e);h[n]=e}),c.each(function(e){var n=h[e],i=n!=null&&l.getItemVisual(n,"color",!0),r=n!=null&&l.getItemVisual(n,"borderColor",!0),a;if((!i||!r)&&(a=c.getItemModel(e)),!i){var t=a.get("itemStyle.color")||g.getColorFromPalette(c.getName(e)||e+"",g.__paletteScope,c.count());n!=null&&l.setItemVisual(n,"color",t)}if(!r){var s=a.get("itemStyle.borderColor");n!=null&&l.setItemVisual(n,"borderColor",s)}})}}}M.exports=A},mTgk:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=f(o("mHUz"));function f(h){return h&&h.__esModule?h:{default:h}}var A={};function m(h,l){if(l===void 0)throw new Error('Undefined keysym for key "'+h+'"');if(h in A)throw new Error('Duplicate entry for key "'+h+'"');A[h]=[l,l,l,l]}function g(h,l,e){if(l===void 0)throw new Error('Undefined keysym for key "'+h+'"');if(e===void 0)throw new Error('Undefined keysym for key "'+h+'"');if(h in A)throw new Error('Duplicate entry for key "'+h+'"');A[h]=[l,l,e,l]}function p(h,l,e){if(l===void 0)throw new Error('Undefined keysym for key "'+h+'"');if(e===void 0)throw new Error('Undefined keysym for key "'+h+'"');if(h in A)throw new Error('Duplicate entry for key "'+h+'"');A[h]=[l,l,l,e]}g("Alt",w.default.XK_Alt_L,w.default.XK_Alt_R),m("AltGraph",w.default.XK_ISO_Level3_Shift),m("CapsLock",w.default.XK_Caps_Lock),g("Control",w.default.XK_Control_L,w.default.XK_Control_R),g("Meta",w.default.XK_Super_L,w.default.XK_Super_R),m("NumLock",w.default.XK_Num_Lock),m("ScrollLock",w.default.XK_Scroll_Lock),g("Shift",w.default.XK_Shift_L,w.default.XK_Shift_R),p("Enter",w.default.XK_Return,w.default.XK_KP_Enter),m("Tab",w.default.XK_Tab),p(" ",w.default.XK_space,w.default.XK_KP_Space),p("ArrowDown",w.default.XK_Down,w.default.XK_KP_Down),p("ArrowUp",w.default.XK_Up,w.default.XK_KP_Up),p("ArrowLeft",w.default.XK_Left,w.default.XK_KP_Left),p("ArrowRight",w.default.XK_Right,w.default.XK_KP_Right),p("End",w.default.XK_End,w.default.XK_KP_End),p("Home",w.default.XK_Home,w.default.XK_KP_Home),p("PageDown",w.default.XK_Next,w.default.XK_KP_Next),p("PageUp",w.default.XK_Prior,w.default.XK_KP_Prior),m("Backspace",w.default.XK_BackSpace),p("Clear",w.default.XK_Clear,w.default.XK_KP_Begin),m("Copy",w.default.XF86XK_Copy),m("Cut",w.default.XF86XK_Cut),p("Delete",w.default.XK_Delete,w.default.XK_KP_Delete),p("Insert",w.default.XK_Insert,w.default.XK_KP_Insert),m("Paste",w.default.XF86XK_Paste),m("Redo",w.default.XK_Redo),m("Undo",w.default.XK_Undo),m("Cancel",w.default.XK_Cancel),m("ContextMenu",w.default.XK_Menu),m("Escape",w.default.XK_Escape),m("Execute",w.default.XK_Execute),m("Find",w.default.XK_Find),m("Help",w.default.XK_Help),m("Pause",w.default.XK_Pause),m("Select",w.default.XK_Select),m("ZoomIn",w.default.XF86XK_ZoomIn),m("ZoomOut",w.default.XF86XK_ZoomOut),m("BrightnessDown",w.default.XF86XK_MonBrightnessDown),m("BrightnessUp",w.default.XF86XK_MonBrightnessUp),m("Eject",w.default.XF86XK_Eject),m("LogOff",w.default.XF86XK_LogOff),m("Power",w.default.XF86XK_PowerOff),m("PowerOff",w.default.XF86XK_PowerDown),m("PrintScreen",w.default.XK_Print),m("Hibernate",w.default.XF86XK_Hibernate),m("Standby",w.default.XF86XK_Standby),m("WakeUp",w.default.XF86XK_WakeUp),m("AllCandidates",w.default.XK_MultipleCandidate),m("Alphanumeric",w.default.XK_Eisu_Shift),m("CodeInput",w.default.XK_Codeinput),m("Compose",w.default.XK_Multi_key),m("Convert",w.default.XK_Henkan),m("GroupFirst",w.default.XK_ISO_First_Group),m("GroupLast",w.default.XK_ISO_Last_Group),m("GroupNext",w.default.XK_ISO_Next_Group),m("GroupPrevious",w.default.XK_ISO_Prev_Group),m("NonConvert",w.default.XK_Muhenkan),m("PreviousCandidate",w.default.XK_PreviousCandidate),m("SingleCandidate",w.default.XK_SingleCandidate),m("HangulMode",w.default.XK_Hangul),m("HanjaMode",w.default.XK_Hangul_Hanja),m("JunjuaMode",w.default.XK_Hangul_Jeonja),m("Eisu",w.default.XK_Eisu_toggle),m("Hankaku",w.default.XK_Hankaku),m("Hiragana",w.default.XK_Hiragana),m("HiraganaKatakana",w.default.XK_Hiragana_Katakana),m("KanaMode",w.default.XK_Kana_Shift),m("KanjiMode",w.default.XK_Kanji),m("Katakana",w.default.XK_Katakana),m("Romaji",w.default.XK_Romaji),m("Zenkaku",w.default.XK_Zenkaku),m("ZenkakuHanaku",w.default.XK_Zenkaku_Hankaku),m("F1",w.default.XK_F1),m("F2",w.default.XK_F2),m("F3",w.default.XK_F3),m("F4",w.default.XK_F4),m("F5",w.default.XK_F5),m("F6",w.default.XK_F6),m("F7",w.default.XK_F7),m("F8",w.default.XK_F8),m("F9",w.default.XK_F9),m("F10",w.default.XK_F10),m("F11",w.default.XK_F11),m("F12",w.default.XK_F12),m("F13",w.default.XK_F13),m("F14",w.default.XK_F14),m("F15",w.default.XK_F15),m("F16",w.default.XK_F16),m("F17",w.default.XK_F17),m("F18",w.default.XK_F18),m("F19",w.default.XK_F19),m("F20",w.default.XK_F20),m("F21",w.default.XK_F21),m("F22",w.default.XK_F22),m("F23",w.default.XK_F23),m("F24",w.default.XK_F24),m("F25",w.default.XK_F25),m("F26",w.default.XK_F26),m("F27",w.default.XK_F27),m("F28",w.default.XK_F28),m("F29",w.default.XK_F29),m("F30",w.default.XK_F30),m("F31",w.default.XK_F31),m("F32",w.default.XK_F32),m("F33",w.default.XK_F33),m("F34",w.default.XK_F34),m("F35",w.default.XK_F35),m("Close",w.default.XF86XK_Close),m("MailForward",w.default.XF86XK_MailForward),m("MailReply",w.default.XF86XK_Reply),m("MailSend",w.default.XF86XK_Send),m("MediaFastForward",w.default.XF86XK_AudioForward),m("MediaPause",w.default.XF86XK_AudioPause),m("MediaPlay",w.default.XF86XK_AudioPlay),m("MediaRecord",w.default.XF86XK_AudioRecord),m("MediaRewind",w.default.XF86XK_AudioRewind),m("MediaStop",w.default.XF86XK_AudioStop),m("MediaTrackNext",w.default.XF86XK_AudioNext),m("MediaTrackPrevious",w.default.XF86XK_AudioPrev),m("New",w.default.XF86XK_New),m("Open",w.default.XF86XK_Open),m("Print",w.default.XK_Print),m("Save",w.default.XF86XK_Save),m("SpellCheck",w.default.XF86XK_Spell),m("AudioVolumeDown",w.default.XF86XK_AudioLowerVolume),m("AudioVolumeUp",w.default.XF86XK_AudioRaiseVolume),m("AudioVolumeMute",w.default.XF86XK_AudioMute),m("MicrophoneVolumeMute",w.default.XF86XK_AudioMicMute),m("LaunchApplication1",w.default.XF86XK_MyComputer),m("LaunchApplication2",w.default.XF86XK_Calculator),m("LaunchCalendar",w.default.XF86XK_Calendar),m("LaunchMail",w.default.XF86XK_Mail),m("LaunchMediaPlayer",w.default.XF86XK_AudioMedia),m("LaunchMusicPlayer",w.default.XF86XK_Music),m("LaunchPhone",w.default.XF86XK_Phone),m("LaunchScreenSaver",w.default.XF86XK_ScreenSaver),m("LaunchSpreadsheet",w.default.XF86XK_Excel),m("LaunchWebBrowser",w.default.XF86XK_WWW),m("LaunchWebCam",w.default.XF86XK_WebCam),m("LaunchWordProcessor",w.default.XF86XK_Word),m("BrowserBack",w.default.XF86XK_Back),m("BrowserFavorites",w.default.XF86XK_Favorites),m("BrowserForward",w.default.XF86XK_Forward),m("BrowserHome",w.default.XF86XK_HomePage),m("BrowserRefresh",w.default.XF86XK_Refresh),m("BrowserSearch",w.default.XF86XK_Search),m("BrowserStop",w.default.XF86XK_Stop),m("Dimmer",w.default.XF86XK_BrightnessAdjust),m("MediaAudioTrack",w.default.XF86XK_AudioCycleTrack),m("RandomToggle",w.default.XF86XK_AudioRandomPlay),m("SplitScreenToggle",w.default.XF86XK_SplitScreen),m("Subtitle",w.default.XF86XK_Subtitle),m("VideoModeNext",w.default.XF86XK_Next_VMode),p("=",w.default.XK_equal,w.default.XK_KP_Equal),p("+",w.default.XK_plus,w.default.XK_KP_Add),p("-",w.default.XK_minus,w.default.XK_KP_Subtract),p("*",w.default.XK_asterisk,w.default.XK_KP_Multiply),p("/",w.default.XK_slash,w.default.XK_KP_Divide),p(".",w.default.XK_period,w.default.XK_KP_Decimal),p(",",w.default.XK_comma,w.default.XK_KP_Separator),p("0",w.default.XK_0,w.default.XK_KP_0),p("1",w.default.XK_1,w.default.XK_KP_1),p("2",w.default.XK_2,w.default.XK_KP_2),p("3",w.default.XK_3,w.default.XK_KP_3),p("4",w.default.XK_4,w.default.XK_KP_4),p("5",w.default.XK_5,w.default.XK_KP_5),p("6",w.default.XK_6,w.default.XK_KP_6),p("7",w.default.XK_7,w.default.XK_KP_7),p("8",w.default.XK_8,w.default.XK_KP_8),p("9",w.default.XK_9,w.default.XK_KP_9);var c=A;B.default=c},mXxy:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("nfiv"),m=o.n(A)},mYwL:function(M,B,o){var w=o("bYtY"),f=o("IwbS"),A=o("6GrX"),m=Math.PI;function g(p,c){c=c||{},w.defaults(c,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var h=new f.Group,l=new f.Rect({style:{fill:c.maskColor},zlevel:c.zlevel,z:1e4});h.add(l);var e=c.fontSize+" sans-serif",n=new f.Rect({style:{fill:"none",text:c.text,font:e,textPosition:"right",textDistance:10,textFill:c.textColor},zlevel:c.zlevel,z:10001});if(h.add(n),c.showSpinner){var i=new f.Arc({shape:{startAngle:-m/2,endAngle:-m/2+.1,r:c.spinnerRadius},style:{stroke:c.color,lineCap:"round",lineWidth:c.lineWidth},zlevel:c.zlevel,z:10001});i.animateShape(!0).when(1e3,{endAngle:m*3/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:m*3/2}).delay(300).start("circularInOut"),h.add(i)}return h.resize=function(){var r=A.getWidth(c.text,e),a=c.showSpinner?c.spinnerRadius:0,t=(p.getWidth()-a*2-(c.showSpinner&&r?10:0)-r)/2-(c.showSpinner?0:r/2),s=p.getHeight()/2;c.showSpinner&&i.setShape({cx:t,cy:s}),n.setShape({x:t-a,y:s-a,width:a*2,height:a*2}),l.setShape({x:0,y:0,width:p.getWidth(),height:p.getHeight()})},h.resize(),h}M.exports=g},mdZa:function(M,B,o){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(f,A){"use strict";if(f==null)throw new TypeError("Cannot convert undefined or null to object");for(var m=Object(f),g=1;g<arguments.length;g++){var p=arguments[g];if(p!=null)for(var c in p)Object.prototype.hasOwnProperty.call(p,c)&&(m[c]=p[c])}return m},writable:!0,configurable:!0}),function(){function w(f,A){A=A||{bubbles:!1,cancelable:!1,detail:void 0};var m=document.createEvent("CustomEvent");return m.initCustomEvent(f,A.bubbles,A.cancelable,A.detail),m}w.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=w)}(),Number.isInteger=Number.isInteger||function(f){return typeof f=="number"&&isFinite(f)&&Math.floor(f)===f}},mmNF:function(M,B){var o={utf8:{stringToBytes:function(f){return o.bin.stringToBytes(unescape(encodeURIComponent(f)))},bytesToString:function(f){return decodeURIComponent(escape(o.bin.bytesToString(f)))}},bin:{stringToBytes:function(f){for(var A=[],m=0;m<f.length;m++)A.push(f.charCodeAt(m)&255);return A},bytesToString:function(f){for(var A=[],m=0;m<f.length;m++)A.push(String.fromCharCode(f[m]));return A.join("")}}};M.exports=o},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(M){if(!0)module.exports=M();else var B})(function(){var define,module,exports;return function(){function M(B,o,w){function f(g,p){if(!o[g]){if(!B[g]){var c=typeof require=="function"&&require;if(!p&&c)return require(g,!0);if(A)return A(g,!0);var h=new Error("Cannot find module '"+g+"'");throw h.code="MODULE_NOT_FOUND",h}var l=o[g]={exports:{}};B[g][0].call(l.exports,function(e){var n=B[g][1][e];return f(n||e)},l,l.exports,M,B,o,w)}return o[g].exports}for(var A=typeof require=="function"&&require,m=0;m<w.length;m++)f(w[m]);return f}return M}()({1:[function(M,B,o){"use strict";var w=M("./browser/client");w.Buffer=M("buffer").Buffer,w.urllib=M("../shims/xhr"),w.version=M("./browser/version").version,B.exports=w},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(M,B,o){(function(w,f){"use strict";var A=M("babel-runtime/core-js/promise"),m=l(A),g=M("babel-runtime/regenerator"),p=l(g),c=M("babel-runtime/core-js/object/assign"),h=l(c);function l(P){return P&&P.__esModule?P:{default:P}}var e=M("debug")("ali-oss"),n=M("copy-to"),i=M("xml2js"),r=M("agentkeepalive"),a=M("merge-descriptors"),t=M("url"),s=M("is-type-of"),u=M("platform"),d=M("utility"),v=M("urllib"),y=M("./version"),S=M("bowser"),b=M("../common/signUtils"),E=M("../common/utils/isIP"),C=E.isIP,T=M("../common/client/initOptions"),x=M("../common/utils/createRequest"),_=x.createRequest,I=new r;function L(){var P=u.name,W=u.version;P&&P.toLowerCase&&P.toLowerCase()==="ie"&&W.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function R(){return location&&location.protocol==="https:"}function k(P,W){if(L(),!(this instanceof k))return new k(P,W);P&&P.inited?this.options=P:this.options=k.initOptions(P),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=v,this.agent=this.options.agent||I),this.ctx=W,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}B.exports=k,k.initOptions=function(W){W.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var D=(0,h.default)({secure:R(),useFetch:!1},W);return T(D)};var F=k.prototype;F.debug=e,a(F,M("./object")),a(F,M("../common/bucket/getBucketWebsite")),a(F,M("../common/bucket/putBucketWebsite")),a(F,M("../common/bucket/deleteBucketWebsite")),a(F,M("../common/bucket/getBucketLifecycle")),a(F,M("../common/bucket/putBucketLifecycle")),a(F,M("../common/bucket/deleteBucketLifecycle")),a(F,M("../common/bucket/putBucketVersioning")),a(F,M("../common/bucket/getBucketVersioning")),a(F,M("./managed-upload")),a(F,M("../common/multipart")),a(F,M("../common/parallel")),F.signature=function(W){return this.debug("authorization stringToSign: %s",W,"info"),b.computeSignature(this.options.accessKeySecret,W)},F.authorization=function(W,D,U,H){var j=b.buildCanonicalString(W.toUpperCase(),D,{headers:H,parameters:U});return b.authorization(this.options.accessKeyId,this.options.accessKeySecret,j)},F.request=function(W){var D,U,H,j,K,X;return p.default.async(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return D=_.call(this,W),this.options.useFetch||(D.params.mode="disable-fetch"),U=void 0,H=void 0,j=!!W.stream,Y.prev=5,Y.next=8,p.default.awrap(this.urllib.request(D.url,D.params));case 8:U=Y.sent,this.debug("response %s %s, got %s, headers: %j",W.method,D.url,U.status,U.headers,"info"),Y.next=15;break;case 12:Y.prev=12,Y.t0=Y.catch(5),H=Y.t0;case 15:if(K=void 0,!(U&&W.successStatuses&&W.successStatuses.indexOf(U.status)===-1)){Y.next=28;break}return Y.next=19,p.default.awrap(this.requestError(U));case 19:if(K=Y.sent,!(K.code==="RequestTimeTooSkewed"&&!j)){Y.next=25;break}return this.options.amendTimeSkewed=+new Date(K.serverTime)-new Date,Y.next=24,p.default.awrap(this.request(W));case 24:return Y.abrupt("return",Y.sent);case 25:K.params=W,Y.next=32;break;case 28:if(!H){Y.next=32;break}return Y.next=31,p.default.awrap(this.requestError(H));case 31:K=Y.sent;case 32:if(!K){Y.next=34;break}throw K;case 34:if(!W.xmlResponse){Y.next=39;break}return Y.next=37,p.default.awrap(this.parseXML(U.data));case 37:X=Y.sent,U.data=X;case 39:return Y.abrupt("return",U);case 40:case"end":return Y.stop()}},null,this,[[5,12]])},F._getResource=function(W){var D="/";return W.bucket&&(D+=W.bucket+"/"),W.object&&(D+=W.object),D},F._isIP=C,F._escape=function(W){return d.encodeURIComponent(W).replace(/%2F/g,"/")},F._getReqUrl=function(W){var D={};n(this.options.endpoint).to(D);var U=this._isIP(D.hostname),H=this.options.cname;W.bucket&&!H&&!U&&(D.host=W.bucket+"."+D.host);var j="/";W.bucket&&U&&(j+=W.bucket+"/"),W.object&&(j+=this._escape(W.object).replace(/\+/g,"%2B")),D.pathname=j;var K={};if(W.query&&a(K,W.query),W.subres){var X={};s.string(W.subres)?X[W.subres]="":s.array(W.subres)?W.subres.forEach(function(z){X[z]=""}):X=W.subres,a(K,X)}return D.query=K,t.format(D)},F._getUserAgent=function(){var W=f&&f.browser?"js":"nodejs",D="aliyun-sdk-"+W+"/"+y.version,U=u.description;return!U&&f&&(U="Node.js "+f.version.slice(1)+" on "+f.platform+" "+f.arch),this._checkUserAgent(D+" "+U)},F._checkUserAgent=function(W){var D=W.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return D},F.checkBrowserAndVersion=function(W,D){return S.name===W&&S.version.split(".")[0]===D},F.parseXML=function(W){return new m.default(function(D,U){w.isBuffer(W)&&(W=W.toString()),i.parseString(W,{explicitRoot:!1,explicitArray:!1},function(H,j){H?U(H):D(j)})})},F.requestError=function(W){var D,U,H,j;return p.default.async(function(X){for(;;)switch(X.prev=X.next){case 0:if(D=null,!(!W.data||!W.data.length)){X.next=5;break}W.status===-1||W.status===-2?(D=new Error(W.message),D.name=W.name,D.status=W.status,D.code=W.name):(W.status===404?(D=new Error("Object not exists"),D.name="NoSuchKeyError",D.status=404,D.code="NoSuchKey"):W.status===412?(D=new Error("Pre condition failed"),D.name="PreconditionFailedError",D.status=412,D.code="PreconditionFailed"):(D=new Error("Unknow error, status: "+W.status),D.name="UnknowError",D.status=W.status),D.requestId=W.headers["x-oss-request-id"],D.host=""),X.next=33;break;case 5:return U=String(W.data),this.debug("request response error data: %s",U,"error"),H=void 0,X.prev=8,X.next=11,p.default.awrap(this.parseXML(U));case 11:if(X.t0=X.sent,X.t0){X.next=14;break}X.t0={};case 14:H=X.t0,X.next=24;break;case 17:return X.prev=17,X.t1=X.catch(8),this.debug(U,"error"),X.t1.message+=`
|
|
|
raw xml: `+U,X.t1.status=W.status,X.t1.requestId=W.headers["x-oss-request-id"],X.abrupt("return",X.t1);case 24:j=H.Message||"unknow request error, status: "+W.status,H.Condition&&(j+=" (condition: "+H.Condition+")"),D=new Error(j),D.name=H.Code?H.Code+"Error":"UnknowError",D.status=W.status,D.code=H.Code,D.requestId=H.RequestId,D.hostId=H.HostId,D.serverTime=H.ServerTime;case 33:return this.debug("generate error %j",D,"error"),X.abrupt("return",D);case 35:case"end":return X.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:M("../../node_modules/is-buffer/index.js")},M("_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(M,B,o){(function(w){"use strict";var f=M("babel-runtime/core-js/array/from"),A=h(f),m=M("babel-runtime/core-js/promise"),g=h(m),p=M("babel-runtime/regenerator"),c=h(p);function h(b){return b&&b.__esModule?b:{default:b}}var l=M("is-type-of"),e=M("util"),n=M("path"),i=M("mime"),r=M("copy-to"),a=M("../common/utils/isBlob"),t=a.isBlob,s=M("../common/utils/isFile"),u=s.isFile,d=o;d.multipartUpload=function(E,C,T){var x,_,I,L,R,k,F,P,W;return c.default.async(function(U){for(;;)switch(U.prev=U.next){case 0:if(this.resetCancelFlag(),T=T||{},!(T.checkpoint&&T.checkpoint.uploadId)){U.next=6;break}return U.next=5,c.default.awrap(this._resumeMultipart(T.checkpoint,T));case 5:return U.abrupt("return",U.sent);case 6:return x=100*1024,T.mime||(u(C)?T.mime=i.getType(n.extname(C.name)):t(C)?T.mime=C.type:T.mime=i.getType(n.extname(C))),T.headers=T.headers||{},this._convertMetaToHeaders(T.meta,T.headers),U.next=12,c.default.awrap(this._getFileSize(C));case 12:if(_=U.sent,!(_<x)){U.next=25;break}return I=this._createStream(C,0,_),T.contentLength=_,U.next=18,c.default.awrap(this.putStream(E,I,T));case 18:if(L=U.sent,!(T&&T.progress)){U.next=22;break}return U.next=22,c.default.awrap(T.progress(1));case 22:return R={res:L.res,bucket:this.options.bucket,name:E,etag:L.res.headers.etag},(T.headers&&T.headers["x-oss-callback"]||T.callback)&&(R.data=L.data),U.abrupt("return",R);case 25:if(!(T.partSize&&!(parseInt(T.partSize,10)===T.partSize))){U.next=27;break}throw new Error("partSize must be int number");case 27:if(!(T.partSize&&T.partSize<x)){U.next=29;break}throw new Error("partSize must not be smaller than "+x);case 29:return U.next=31,c.default.awrap(this.initMultipartUpload(E,T));case 31:if(k=U.sent,F=k.uploadId,P=this._getPartSize(_,T.partSize),W={file:C,name:E,fileSize:_,partSize:P,uploadId:F,doneParts:[]},!(T&&T.progress)){U.next=38;break}return U.next=38,c.default.awrap(T.progress(0,W,k.res));case 38:return U.next=40,c.default.awrap(this._resumeMultipart(W,T));case 40:return U.abrupt("return",U.sent);case 41:case"end":return U.stop()}},null,this)},d._resumeMultipart=function(E,C){var T,x,_,I,L,R,k,F,P,W,D,U,H,j,K,X,z,Y;return c.default.async(function(ne){for(;;)switch(ne.prev=ne.next){case 0:if(T=this,!this.isCancel()){ne.next=3;break}throw this._makeCancelEvent();case 3:return x=E.file,_=E.fileSize,I=E.partSize,L=E.uploadId,R=E.doneParts,k=E.name,F=[],R.length>0&&r(R).to(F),P=this._divideParts(_,I),W=P.length,D=!1,U=function(ge,de){var Ie=this;return new g.default(function(Ce,je){var te,ve,$e,Le;return c.default.async(function(ee){for(;;)switch(ee.prev=ee.next){case 0:if(ee.prev=0,ge.isCancel()){ee.next=18;break}return te=P[de-1],ve={stream:ge._createStream(x,te.start,te.end),size:te.end-te.start},ee.next=6,c.default.awrap(ge._uploadPart(k,L,de,ve));case 6:if($e=ee.sent,!(!ge.isCancel()&&!D)){ee.next=15;break}if(E.doneParts.push({number:de,etag:$e.res.headers.etag}),!C.progress){ee.next=12;break}return ee.next=12,c.default.awrap(C.progress(R.length/W,E,$e.res));case 12:Ce({number:de,etag:$e.res.headers.etag}),ee.next=16;break;case 15:Ce();case 16:ee.next=19;break;case 18:Ce();case 19:ee.next=30;break;case 21:ee.prev=21,ee.t0=ee.catch(0),Le=new Error,Le.name=ee.t0.name,Le.message=ee.t0.message,Le.stack=ee.t0.stack,Le.partNum=de,r(ee.t0).to(Le),je(Le);case 30:case"end":return ee.stop()}},null,Ie,[[0,21]])})},H=(0,A.default)(new Array(W),function(J,ge){return ge+1}),j=F.map(function(J){return J.number}),K=H.filter(function(J){return j.indexOf(J)<0}),X=5,z=C.parallel||X,ne.next=17,c.default.awrap(this._parallel(K,z,function(J){return new g.default(function(ge,de){U(T,J).then(function(Ie){Ie&&F.push(Ie),ge()}).catch(function(Ie){de(Ie)})})}));case 17:if(Y=ne.sent,D=!0,!this.isCancel()){ne.next=22;break}throw U=null,this._makeCancelEvent();case 22:if(!(Y&&Y.length>0)){ne.next=25;break}throw Y[0].message="Failed to upload some parts with error: "+Y[0].toString()+" part_num: "+Y[0].partNum,Y[0];case 25:return ne.next=27,c.default.awrap(this.completeMultipartUpload(k,L,F,C));case 27:return ne.abrupt("return",ne.sent);case 28:case"end":return ne.stop()}},null,this)},d._getFileSize=function(E){return c.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!l.buffer(E)){T.next=4;break}return T.abrupt("return",E.length);case 4:if(!(t(E)||u(E))){T.next=6;break}return T.abrupt("return",E.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return T.stop()}},null,this)};var v=M("stream"),y=v.Readable;function S(b,E){if(!(this instanceof S))return new S(b,E);y.call(this,E),this.file=b,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}e.inherits(S,y),S.prototype.readFileAndPush=function(E){if(this.fileBuffer)for(var C=!0;C&&this.fileBuffer&&this.start<this.fileBuffer.length;){var T=this.start,x=T+E;x=x>this.fileBuffer.length?this.fileBuffer.length:x,this.start=x,C=this.push(this.fileBuffer.slice(T,x))}},S.prototype._read=function(E){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var C=16*1024;E=E||C;var T=this;this.reader.onload=function(_){T.fileBuffer=w.from(new Uint8Array(_.target.result)),T.file=null,T.readFileAndPush(E)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(E)},d._createStream=function(E,C,T){if(t(E)||u(E))return new S(E.slice(C,T));throw new Error("_createStream requires File/Blob.")},d._getPartSize=function(E,C){var T=10*1e3,x=1024*1024;return C?Math.max(Math.ceil(E/T),C):x},d._divideParts=function(E,C){for(var T=Math.ceil(E/C),x=[],_=0;_<T;_++){var I=C*_,L=Math.min(I+C,E);x.push({start:I,end:L})}return x}}).call(this,M("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(M,B,o){"use strict";var w=M("babel-runtime/core-js/promise"),f=l(w),A=M("babel-runtime/core-js/object/keys"),m=l(A),g=M("babel-runtime/core-js/object/assign"),p=l(g),c=M("babel-runtime/regenerator"),h=l(c);function l(T){return T&&T.__esModule?T:{default:T}}var e=M("utility"),n=M("fs"),i=M("is-type-of"),r=M("url"),a=M("copy-to"),t=M("path"),s=M("mime"),u=M("../common/callback"),d=M("../common/signUtils"),v=M("merge-descriptors"),y=M("../common/utils/isBlob"),S=y.isBlob,b=M("../common/utils/isFile"),E=b.isFile,C=o;C.append=function(x,_,I){var L;return h.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return I=I||{},I.position===void 0&&(I.position="0"),I.subres={append:"",position:I.position},I.method="POST",k.next=6,h.default.awrap(this.put(x,_,I));case 6:return L=k.sent,L.nextAppendPosition=L.res.headers["x-oss-next-append-position"],k.abrupt("return",L);case 9:case"end":return k.stop()}},null,this)},C.put=function(x,_,I){var L,R,k,F,P,W,D;return h.default.async(function(H){for(;;)switch(H.prev=H.next){case 0:if(L=void 0,I=I||{},x=this._objectName(x),!i.buffer(_)){H.next=7;break}L=_,H.next=33;break;case 7:if(!(S(_)||E(_))){H.next=32;break}return I.mime||(E(_)?I.mime=s.getType(t.extname(_.name)):I.mime=_.type),R=this._createStream(_,0,_.size),H.next=12,h.default.awrap(this._getFileSize(_));case 12:return I.contentLength=H.sent,H.prev=13,H.next=16,h.default.awrap(this.putStream(x,R,I));case 16:return k=H.sent,H.abrupt("return",k);case 20:if(H.prev=20,H.t0=H.catch(13),!(H.t0.code==="RequestTimeTooSkewed")){H.next=29;break}return this.options.amendTimeSkewed=+new Date(H.t0.serverTime)-new Date,H.next=26,h.default.awrap(this.put(x,_,I));case 26:return H.abrupt("return",H.sent);case 29:throw H.t0;case 30:H.next=33;break;case 32:throw new TypeError("Must provide Buffer/Blob/File for put.");case 33:return I.headers=I.headers||{},this._convertMetaToHeaders(I.meta,I.headers),F=I.method||"PUT",P=this._objectRequestParams(F,x,I),u.encodeCallback(P,I),P.mime=I.mime,P.content=L,P.successStatuses=[200],H.next=43,h.default.awrap(this.request(P));case 43:return W=H.sent,D={name:x,url:this._objectUrl(x),res:W.res},P.headers&&P.headers["x-oss-callback"]&&(D.data=JSON.parse(W.data.toString())),H.abrupt("return",D);case 47:case"end":return H.stop()}},null,this,[[13,20]])},C.putStream=function(x,_,I){var L,R,k,F;return h.default.async(function(W){for(;;)switch(W.prev=W.next){case 0:return I=I||{},I.headers=I.headers||{},x=this._objectName(x),I.contentLength?I.headers["Content-Length"]=I.contentLength:I.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(I.meta,I.headers),L=I.method||"PUT",R=this._objectRequestParams(L,x,I),u.encodeCallback(R,I),R.mime=I.mime,R.stream=_,R.successStatuses=[200],W.next=13,h.default.awrap(this.request(R));case 13:return k=W.sent,F={name:x,url:this._objectUrl(x),res:k.res},R.headers&&R.headers["x-oss-callback"]&&(F.data=JSON.parse(k.data.toString())),W.abrupt("return",F);case 17:case"end":return W.stop()}},null,this)},v(C,M("../common/object/copyObject")),v(C,M("../common/object/getObjectTagging")),v(C,M("../common/object/putObjectTagging")),v(C,M("../common/object/deleteObjectTagging")),v(C,M("../common/image")),v(C,M("../common/object/getBucketVersions")),v(C,M("../common/object/getACL")),v(C,M("../common/object/putACL")),v(C,M("../common/object/head")),v(C,M("../common/object/delete")),v(C,M("../common/object/get")),v(C,M("../common/object/putSymlink")),v(C,M("../common/object/getSymlink")),v(C,M("../common/object/deleteMulti")),v(C,M("../common/object/getObjectMeta")),C.putMeta=function(x,_,I){var L;return h.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,h.default.awrap(this.copy(x,x,{meta:_||{},timeout:I&&I.timeout,ctx:I&&I.ctx}));case 2:return L=k.sent,k.abrupt("return",L);case 4:case"end":return k.stop()}},null,this)},C.list=function(x,_){var I,L,R,k,F;return h.default.async(function(W){for(;;)switch(W.prev=W.next){case 0:return I=this._objectRequestParams("GET","",_),I.query=x,I.xmlResponse=!0,I.successStatuses=[200],W.next=6,h.default.awrap(this.request(I));case 6:return L=W.sent,R=L.data.Contents,k=this,R&&(Array.isArray(R)||(R=[R]),R=R.map(function(D){return{name:D.Key,url:k._objectUrl(D.Key),lastModified:D.LastModified,etag:D.ETag,type:D.Type,size:Number(D.Size),storageClass:D.StorageClass,owner:{id:D.Owner.ID,displayName:D.Owner.DisplayName}}})),F=L.data.CommonPrefixes||null,F&&(Array.isArray(F)||(F=[F]),F=F.map(function(D){return D.Prefix})),W.abrupt("return",{res:L.res,objects:R,prefixes:F,nextMarker:L.data.NextMarker||null,isTruncated:L.data.IsTruncated==="true"});case 13:case"end":return W.stop()}},null,this)},C.restore=function(x,_){var I,L;return h.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return _=_||{},_.subres=(0,p.default)({restore:""},_.subres),_.versionId&&(_.subres.versionId=_.versionId),I=this._objectRequestParams("POST",x,_),I.successStatuses=[202],k.next=7,h.default.awrap(this.request(I));case 7:return L=k.sent,k.abrupt("return",{res:L.res});case 9:case"end":return k.stop()}},null,this)},C.signatureUrl=function(x,_){_=_||{},x=this._objectName(x),_.method=_.method||"GET";var I=e.timestamp()+(_.expires||1800),L={bucket:this.options.bucket,object:x},R=this._getResource(L);this.options.stsToken&&(_["security-token"]=this.options.stsToken);var k=d._signatureForURL(this.options.accessKeySecret,_,R,I),F=r.parse(this._getReqUrl(L));return F.query={OSSAccessKeyId:this.options.accessKeyId,Expires:I,Signature:k.Signature},a(k.subResource).to(F.query),F.format()},C.getObjectUrl=function(x,_){return _?_[_.length-1]!=="/"&&(_+="/"):_=this.options.endpoint.format(),_+this._escape(this._objectName(x))},C._objectUrl=function(x){return this._getReqUrl({bucket:this.options.bucket,object:x})},C.generateObjectUrl=function(T,x){if(x)x[x.length-1]!=="/"&&(x+="/");else{x=this.options.endpoint.format();var _=r.parse(x),I=this.options.bucket;_.hostname=I+"."+_.hostname,_.host=I+"."+_.host,x=_.format()}return x+this._escape(this._objectName(T))},C._objectRequestParams=function(x,_,I){if(!this.options.bucket)throw new Error("Please create a bucket first");I=I||{},_=this._objectName(_);var L={object:_,bucket:this.options.bucket,method:x,subres:I&&I.subres,timeout:I&&I.timeout,ctx:I&&I.ctx};return I.headers&&(L.headers={},a(I.headers).to(L.headers)),L},C._objectName=function(x){return x.replace(/^\/+/,"")},C._convertMetaToHeaders=function(x,_){if(!x)return;(0,m.default)(x).forEach(function(I){_["x-oss-meta-"+I]=x[I]})},C._deleteFileSafe=function(x){var _=this;return new f.default(function(I){n.exists(x,function(L){L?n.unlink(x,function(R){R&&_.debug("unlink %j error: %s",x,R,"error"),I()}):I()})})}},{"../common/callback":14,"../common/image":16,"../common/object/copyObject":19,"../common/object/delete":20,"../common/object/deleteMulti":21,"../common/object/deleteObjectTagging":22,"../common/object/get":23,"../common/object/getACL":24,"../common/object/getBucketVersions":25,"../common/object/getObjectMeta":26,"../common/object/getObjectTagging":27,"../common/object/getSymlink":28,"../common/object/head":29,"../common/object/putACL":30,"../common/object/putObjectTagging":31,"../common/object/putSymlink":32,"../common/signUtils":34,"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,"copy-to":76,fs:71,"is-type-of":289,"merge-descriptors":200,mime:202,path:205,url:238,utility:290}],5:[function(M,B,o){"use strict";o.version="6.10.0"},{}],6:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=A(w);function A(c){return c&&c.__esModule?c:{default:c}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,p=o;p.deleteBucketLifecycle=function(h,l){var e,n;return f.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return g(h),e=this._bucketRequestParams("DELETE",h,"lifecycle",l),e.successStatuses=[204],r.next=5,f.default.awrap(this.request(e));case 5:return n=r.sent,r.abrupt("return",{res:n.res});case 7:case"end":return r.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=A(w);function A(c){return c&&c.__esModule?c:{default:c}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,p=o;p.deleteBucketWebsite=function(h,l){var e,n;return f.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return g(h),e=this._bucketRequestParams("DELETE",h,"website",l),e.successStatuses=[204],r.next=5,f.default.awrap(this.request(e));case 5:return n=r.sent,r.abrupt("return",{res:n.res});case 7:case"end":return r.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=A(w);function A(n){return n&&n.__esModule?n:{default:n}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,p=M("../utils/isArray"),c=p.isArray,h=M("../utils/formatObjKey"),l=h.formatObjKey,e=o;e.getBucketLifecycle=function(i,r){var a,t,s;return f.default.async(function(d){for(;;)switch(d.prev=d.next){case 0:return g(i),a=this._bucketRequestParams("GET",i,"lifecycle",r),a.successStatuses=[200],a.xmlResponse=!0,d.next=6,f.default.awrap(this.request(a));case 6:return t=d.sent,s=t.data.Rule||null,s&&(c(s)||(s=[s]),s=s.map(function(v){return v.ID&&(v.id=v.ID,delete v.ID),v.Tag&&!c(v.Tag)&&(v.Tag=[v.Tag]),l(v,"firstLowerCase")})),d.abrupt("return",{rules:s,res:t.res});case 10:case"end":return d.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/formatObjKey":40,"../utils/isArray":42,"babel-runtime/regenerator":68}],9:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=A(w);function A(c){return c&&c.__esModule?c:{default:c}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,p=o;p.getBucketVersioning=function(h,l){var e,n,i;return f.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return g(h),e=this._bucketRequestParams("GET",h,"versioning",l),e.xmlResponse=!0,e.successStatuses=[200],a.next=6,f.default.awrap(this.request(e));case 6:return n=a.sent,i=n.data.Status,a.abrupt("return",{status:n.status,versionStatus:i,res:n.res});case 9:case"end":return a.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=A(w);function A(l){return l&&l.__esModule?l:{default:l}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,p=M("../utils/isObject"),c=p.isObject,h=o;h.getBucketWebsite=function(e,n){var i,r,a;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return g(e),i=this._bucketRequestParams("GET",e,"website",n),i.successStatuses=[200],i.xmlResponse=!0,s.next=6,f.default.awrap(this.request(i));case 6:return r=s.sent,a=[],r.data.RoutingRules&&r.data.RoutingRules.RoutingRule&&(c(r.data.RoutingRules.RoutingRule)?a=[r.data.RoutingRules.RoutingRule]:a=r.data.RoutingRules.RoutingRule),s.abrupt("return",{index:r.data.IndexDocument&&r.data.IndexDocument.Suffix||"",supportSubDir:r.data.IndexDocument&&r.data.IndexDocument.SupportSubDir||"false",type:r.data.IndexDocument&&r.data.IndexDocument.Type,routingRules:a,error:r.data.ErrorDocument&&r.data.ErrorDocument.Key||null,res:r.res});case 10:case"end":return s.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isObject":46,"babel-runtime/regenerator":68}],11:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=A(w);function A(E){return E&&E.__esModule?E:{default:E}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,p=M("../utils/isArray"),c=p.isArray,h=M("../utils/deepCopy"),l=h.deepCopy,e=M("../utils/isObject"),n=e.isObject,i=M("../utils/obj2xml"),r=i.obj2xml,a=M("../utils/checkObjectTag"),t=a.checkObjectTag,s=M("../utils/getStrBytesCount"),u=s.getStrBytesCount,d=o;d.putBucketLifecycle=function(C,T,x){var _,I,L,R,k;return f.default.async(function(P){for(;;)switch(P.prev=P.next){case 0:if(g(C),c(T)){P.next=3;break}throw new Error("rules must be Array");case 3:return _=this._bucketRequestParams("PUT",C,"lifecycle",x),I=[],L={LifecycleConfiguration:{Rule:I}},T.forEach(function(W){v(W),b(W),W.id&&(W.ID=W.id,delete W.id),I.push(W)}),R=r(L,{headers:!0,firstUpperCase:!0}),_.content=R,_.mime="xml",_.successStatuses=[200],P.next=13,f.default.awrap(this.request(_));case 13:return k=P.sent,P.abrupt("return",{res:k.res});case 15:case"end":return P.stop()}},null,this)};function v(E){E.days&&(E.expiration={days:E.days}),E.date&&(E.expiration={createdBeforeDate:E.date})}function y(E,C){var T=E.days,x=E.createdBeforeDate;if(!T&&!x)throw new Error(C+" must includes days or createdBeforeDate");if(T&&!/^[1-9][0-9]*$/.test(T))throw new Error("days must be a positive integer");if(x&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(x))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function S(E){if(!c(E)&&!n(E))throw new Error("tag must be Object or Array");E=n(E)?[E]:E;var C={},T=l(E);T.forEach(function(x){C[x.key]=x.value}),t(C)}function b(E){if(E.id&&u(E.id)>255)throw new Error("ID is composed of 255 bytes at most");if(E.prefix===""||E.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(E.status))throw new Error("Status must be Enabled or Disabled");if(E.transition){if(!["IA","Archive"].includes(E.transition.storageClass))throw new Error("StorageClass must be IA or Archive");y(E.transition,"Transition")}if(E.expiration){if(!E.expiration.expiredObjectDeleteMarker)y(E.expiration,"Expiration");else if(E.expiration.days||E.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(E.abortMultipartUpload&&y(E.abortMultipartUpload,"AbortMultipartUpload"),!E.expiration&&!E.abortMultipartUpload&&!E.transition&&!E.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(E.tag){if(E.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");S(E.tag)}}},{"../utils/checkBucketName":35,"../utils/checkObjectTag":36,"../utils/deepCopy":39,"../utils/getStrBytesCount":41,"../utils/isArray":42,"../utils/isObject":46,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],12:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=A(w);function A(l){return l&&l.__esModule?l:{default:l}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,p=M("../utils/obj2xml"),c=p.obj2xml,h=o;h.putBucketVersioning=function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,a,t;return f.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(g(e),["Enabled","Suspended"].includes(n)){u.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return r=this._bucketRequestParams("PUT",e,"versioning",i),a={VersioningConfiguration:{Status:n}},r.mime="xml",r.content=c(a,{headers:!0}),u.next=9,f.default.awrap(this.request(r));case 9:return t=u.sent,u.abrupt("return",{res:t.res,status:t.status});case 11:case"end":return u.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=A(w);function A(n){return n&&n.__esModule?n:{default:n}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,p=M("../utils/obj2xml"),c=p.obj2xml,h=M("../utils/isArray"),l=h.isArray,e=o;e.putBucketWebsite=function(i){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments[2],t,s,u,d,v;return f.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:if(g(i),t=this._bucketRequestParams("PUT",i,"website",a),s={Suffix:r.index||"index.html"},u={IndexDocument:s},d={WebsiteConfiguration:u},r.supportSubDir&&(s.SupportSubDir=r.supportSubDir),r.type&&(s.Type=r.type),r.error&&(u.ErrorDocument={Key:r.error}),!(r.routingRules!==void 0)){S.next=12;break}if(l(r.routingRules)){S.next=11;break}throw new Error("RoutingRules must be Array");case 11:u.RoutingRules={RoutingRule:r.routingRules};case 12:return d=c(d),t.content=d,t.mime="xml",t.successStatuses=[200],S.next=18,f.default.awrap(this.request(t));case 18:return v=S.sent,S.abrupt("return",{res:v.res});case 20:case"end":return S.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(M,B,o){(function(w){"use strict";var f=M("babel-runtime/core-js/object/keys"),A=p(f),m=M("babel-runtime/core-js/json/stringify"),g=p(m);function p(c){return c&&c.__esModule?c:{default:c}}o.encodeCallback=function(h,l){if(h.headers=h.headers||{},!Object.prototype.hasOwnProperty.call(h.headers,"x-oss-callback")&&l.callback){var e={callbackUrl:encodeURI(l.callback.url),callbackBody:l.callback.body};l.callback.host&&(e.callbackHost=l.callback.host),l.callback.contentType&&(e.callbackBodyType=l.callback.contentType);var n=w.from((0,g.default)(e)).toString("base64");if(h.headers["x-oss-callback"]=n,l.callback.customValue){var i={};(0,A.default)(l.callback.customValue).forEach(function(r){i["x:"+r]=l.callback.customValue[r]}),h.headers["x-oss-callback-var"]=w.from((0,g.default)(i)).toString("base64")}}}}).call(this,M("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/assign"),f=A(w);function A(e){return e&&e.__esModule?e:{default:e}}var m=M("humanize-ms"),g=M("url"),p=M("../utils/checkBucketName"),c=p.checkBucketName;function h(e,n){var i=g.parse(e);if(i.protocol||(i=g.parse("http"+(n?"s":"")+"://"+e)),i.protocol!=="http:"&&i.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return i}function l(e,n,i){var r=i?"https://":"http://",a=n?"-internal.aliyuncs.com":".aliyuncs.com",t="vpc100-oss-cn-";return e.substr(0,t.length)===t&&(a=".aliyuncs.com"),g.parse(r+e+a)}B.exports=function(e){if(!e||!e.accessKeyId||!e.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");e.bucket&&c(e.bucket);var n=(0,f.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},e);if(n.accessKeyId=n.accessKeyId.trim(),n.accessKeySecret=n.accessKeySecret.trim(),n.timeout&&(n.timeout=m(n.timeout)),n.endpoint)n.endpoint=h(n.endpoint,n.secure);else if(n.region)n.endpoint=l(n.region,n.internal,n.secure);else throw new Error("require options.endpoint or options.region");return n.inited=!0,n}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(M,B,o){"use strict";var w=M("merge-descriptors"),f=o;w(f,M("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=A(w);function A(n){return n&&n.__esModule?n:{default:n}}var m=M("../utils/checkBucketName"),g=m.checkBucketName,p=M("querystring"),c=M("js-base64"),h=c.Base64.encode,l=o;l.processObjectSave=function(i,r,a,t){var s,u,d,v;return f.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:return e(i,"sourceObject"),e(r,"targetObject"),e(a,"process"),r=this._objectName(r),t&&g(t),s=this._objectRequestParams("POST",i,{subres:"x-oss-process"}),u=t?",b_"+h(t):"",r=h(r),d={"x-oss-process":a+"|sys/saveas,o_"+r+u},s.content=p.stringify(d),S.next=12,f.default.awrap(this.request(s));case 12:return v=S.sent,S.abrupt("return",{res:v.res,status:v.res.status});case 14:case"end":return S.stop()}},null,this)};function e(n,i){if(!n)throw new Error(i+" is required");if(typeof n!="string")throw new Error(i+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=A(w);function A(l){return l&&l.__esModule?l:{default:l}}var m=M("copy-to"),g=M("./callback"),p=M("./utils/deepCopy"),c=p.deepCopy,h=o;h.listUploads=function(e,n){var i,r,a,t;return f.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return n=n||{},i={},m(n).to(i),i.subres="uploads",r=this._objectRequestParams("GET","",i),r.query=e,r.xmlResponse=!0,r.successStatuses=[200],u.next=10,f.default.awrap(this.request(r));case 10:return a=u.sent,t=a.data.Upload||[],Array.isArray(t)||(t=[t]),t=t.map(function(d){return{name:d.Key,uploadId:d.UploadId,initiated:d.Initiated}}),u.abrupt("return",{res:a.res,uploads:t,bucket:a.data.Bucket,nextKeyMarker:a.data.NextKeyMarker,nextUploadIdMarker:a.data.NextUploadIdMarker,isTruncated:a.data.IsTruncated==="true"});case 15:case"end":return u.stop()}},null,this)},h.listParts=function(e,n,i,r){var a,t,s;return f.default.async(function(d){for(;;)switch(d.prev=d.next){case 0:return r=r||{},a={},m(r).to(a),a.subres={uploadId:n},t=this._objectRequestParams("GET",e,a),t.query=i,t.xmlResponse=!0,t.successStatuses=[200],d.next=10,f.default.awrap(this.request(t));case 10:return s=d.sent,d.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 d.stop()}},null,this)},h.abortMultipartUpload=function(e,n,i){var r,a,t;return f.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return this._stop(),i=i||{},r={},m(i).to(r),r.subres={uploadId:n},a=this._objectRequestParams("DELETE",e,r),a.successStatuses=[204],u.next=9,f.default.awrap(this.request(a));case 9:return t=u.sent,u.abrupt("return",{res:t.res});case 11:case"end":return u.stop()}},null,this)},h.initMultipartUpload=function(e,n){var i,r,a;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return n=n||{},i={},m(n).to(i),i.headers=i.headers||{},this._convertMetaToHeaders(n.meta,i.headers),i.subres="uploads",r=this._objectRequestParams("POST",e,i),r.mime=n.mime,r.xmlResponse=!0,r.successStatuses=[200],s.next=12,f.default.awrap(this.request(r));case 12:return a=s.sent,s.abrupt("return",{res:a.res,bucket:a.data.Bucket,name:a.data.Key,uploadId:a.data.UploadId});case 14:case"end":return s.stop()}},null,this)},h.uploadPart=function(e,n,i,r,a,t,s){var u;return f.default.async(function(v){for(;;)switch(v.prev=v.next){case 0:return u={stream:this._createStream(r,a,t),size:t-a},v.next=3,f.default.awrap(this._uploadPart(e,n,i,u,s));case 3:return v.abrupt("return",v.sent);case 4:case"end":return v.stop()}},null,this)},h.completeMultipartUpload=function(e,n,i,r){var a,t,s,u,d,v,y,S;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:for(a=i.concat().sort(function(C,T){return C.number-T.number}).filter(function(C,T,x){return!T||C.number!==x[T-1].number}),t=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,s=0;s<a.length;s++)u=a[s],t+=`<Part>
|
|
|
`,t+="<PartNumber>"+u.number+`</PartNumber>
|
|
|
`,t+="<ETag>"+u.etag+`</ETag>
|
|
|
`,t+=`</Part>
|
|
|
`;return t+="</CompleteMultipartUpload>",r=r||{},d={},d=c(r),d.headers&&delete d.headers["x-oss-server-side-encryption"],d.subres={uploadId:n},v=this._objectRequestParams("POST",e,d),g.encodeCallback(v,d),v.mime="xml",v.content=t,v.headers&&v.headers["x-oss-callback"]||(v.xmlResponse=!0),v.successStatuses=[200],E.next=17,f.default.awrap(this.request(v));case 17:return y=E.sent,S={res:y.res,bucket:v.bucket,name:e,etag:y.res.headers.etag},v.headers&&v.headers["x-oss-callback"]&&(S.data=JSON.parse(y.data.toString())),E.abrupt("return",S);case 21:case"end":return E.stop()}},null,this)},h._uploadPart=function(e,n,i,r,a){var t,s,u;return f.default.async(function(v){for(;;)switch(v.prev=v.next){case 0:return a=a||{},t={},m(a).to(t),t.headers={"Content-Length":r.size},t.subres={partNumber:i,uploadId:n},s=this._objectRequestParams("PUT",e,t),s.mime=t.mime,s.stream=r.stream,s.successStatuses=[200],v.next=11,f.default.awrap(this.request(s));case 11:if(u=v.sent,u.res.headers.etag){v.next=14;break}throw new Error(`Please set the etag of expose-headers in OSS
|
|
|
https://help.aliyun.com/document_detail/32069.html`);case 14:return r.stream=null,s.stream=null,v.abrupt("return",{name:e,etag:u.res.headers.etag,res:u.res});case 17:case"end":return v.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=c(w),A=M("babel-runtime/core-js/object/keys"),m=c(A),g=M("babel-runtime/helpers/typeof"),p=c(g);function c(n){return n&&n.__esModule?n:{default:n}}var h=M("../utils/checkBucketName"),l=h.checkBucketName,e=o;e.copy=function(i,r,a,t){var s,u,d;return f.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:return(typeof a=="undefined"?"undefined":(0,p.default)(a))==="object"&&(t=a),t=t||{},t.headers=t.headers||{},(0,m.default)(t.headers).forEach(function(S){t.headers["x-oss-copy-source-"+S.toLowerCase()]=t.headers[S]}),t.meta&&(t.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(t.meta,t.headers),r=this._getSourceName(r,a),t.versionId&&(r=r+"?versionId="+t.versionId),t.headers["x-oss-copy-source"]=r,s=this._objectRequestParams("PUT",i,t),s.xmlResponse=!0,s.successStatuses=[200,304],y.next=14,f.default.awrap(this.request(s));case 14:return u=y.sent,d=u.data,d&&(d={etag:d.ETag,lastModified:d.LastModified}),y.abrupt("return",{data:d,res:u.res});case 18:case"end":return y.stop()}},null,this)},e._getSourceName=function(i,r){return typeof r=="string"?i=this._objectName(i):i[0]!=="/"?r=this.options.bucket:(r=i.replace(/\/(.+?)(\/.*)/,"$1"),i=i.replace(/(\/.+?\/)(.*)/,"$2")),l(r),i=encodeURI(i),i="/"+r+"/"+i,i}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=g(w),A=M("babel-runtime/core-js/object/assign"),m=g(A);function g(c){return c&&c.__esModule?c:{default:c}}var p=o;p.delete=function(h){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e,n;return f.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return l.subres=(0,m.default)({},l.subres),l.versionId&&(l.subres.versionId=l.versionId),e=this._objectRequestParams("DELETE",h,l),e.successStatuses=[204],r.next=6,f.default.awrap(this.request(e));case 6:return n=r.sent,r.abrupt("return",{res:n.res});case 8:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=g(w),A=M("babel-runtime/core-js/object/assign"),m=g(A);function g(e){return e&&e.__esModule?e:{default:e}}var p=M("utility"),c=M("../utils/obj2xml"),h=c.obj2xml,l=o;l.deleteMulti=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a,t,s,u,d,v,y,S,b,E,C;return f.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:if(r=[],!(!n||!n.length)){x.next=3;break}throw new Error("names is required");case 3:for(a=0;a<n.length;a++)t={},typeof n[a]=="string"?t.Key=p.escape(this._objectName(n[a])):(s=n[a],u=s.key,d=s.versionId,t.Key=p.escape(this._objectName(u)),t.VersionId=d),r.push(t);return v={Delete:{Quiet:!!i.quiet,Object:r}},y=h(v,{headers:!0}),i.subres=(0,m.default)({delete:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),S=this._objectRequestParams("POST","",i),S.mime="xml",S.content=y,S.xmlResponse=!0,S.successStatuses=[200],x.next=15,f.default.awrap(this.request(S));case 15:return b=x.sent,E=b.data,C=E&&E.Deleted||null,C&&(Array.isArray(C)||(C=[C])),x.abrupt("return",{res:b.res,deleted:C||[]});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(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=g(w),A=M("babel-runtime/core-js/object/assign"),m=g(A);function g(c){return c&&c.__esModule?c:{default:c}}var p=o;p.deleteObjectTagging=function(h){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e,n;return f.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return l.subres=(0,m.default)({tagging:""},l.subres),l.versionId&&(l.subres.versionId=l.versionId),h=this._objectName(h),e=this._objectRequestParams("DELETE",h,l),e.successStatuses=[204],r.next=7,f.default.awrap(this.request(e));case 7:return n=r.sent,r.abrupt("return",{status:n.status,res:n.res});case 9:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=g(w),A=M("babel-runtime/core-js/object/assign"),m=g(A);function g(l){return l&&l.__esModule?l:{default:l}}var p=M("fs"),c=M("is-type-of"),h=o;h.get=function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,a,t,s;return f.default.async(function(d){for(;;)switch(d.prev=d.next){case 0:return r=null,a=!1,c.writableStream(n)?r=n:c.string(n)?(r=p.createWriteStream(n),a=!0):i=n,i=i||{},i.subres=(0,m.default)({},i.subres),i.versionId&&(i.subres.versionId=i.versionId),i.process&&(i.subres["x-oss-process"]=i.process),t=void 0,d.prev=8,s=this._objectRequestParams("GET",e,i),s.writeStream=r,s.successStatuses=[200,206,304],d.next=14,f.default.awrap(this.request(s));case 14:t=d.sent,a&&r.destroy(),d.next=25;break;case 18:if(d.prev=18,d.t0=d.catch(8),!a){d.next=24;break}return r.destroy(),d.next=24,f.default.awrap(this._deleteFileSafe(n));case 24:throw d.t0;case 25:return d.abrupt("return",{res:t.res,content:t.data});case 26:case"end":return d.stop()}},null,this,[[8,18]])}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,fs:71,"is-type-of":289}],24:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=g(w),A=M("babel-runtime/core-js/object/assign"),m=g(A);function g(c){return c&&c.__esModule?c:{default:c}}var p=o;p.getACL=function(h){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e,n;return f.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return l.subres=(0,m.default)({acl:""},l.subres),l.versionId&&(l.subres.versionId=l.versionId),h=this._objectName(h),e=this._objectRequestParams("GET",h,l),e.successStatuses=[200],e.xmlResponse=!0,r.next=8,f.default.awrap(this.request(e));case 8:return n=r.sent,r.abrupt("return",{acl:n.data.AccessControlList.Grant,owner:{id:n.data.Owner.ID,displayName:n.data.Owner.DisplayName},res:n.res});case 10:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/keys"),f=c(w),A=M("babel-runtime/regenerator"),m=c(A),g=M("babel-runtime/core-js/object/assign"),p=c(g);function c(s){return s&&s.__esModule?s:{default:s}}var h=o,l=M("../utils/isObject"),e=l.isObject,n=M("../utils/isArray"),i=n.isArray;h.getBucketVersions=r,h.listObjectVersions=r;function r(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d,v,y,S,b,E;return m.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!(s.versionIdMarker&&s.keyMarker===void 0)){T.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return u.subres=(0,p.default)({versions:""},u.subres),u.versionId&&(u.subres.versionId=u.versionId),d=this._objectRequestParams("GET","",u),d.xmlResponse=!0,d.successStatuses=[200],d.query=t(s),T.next=10,m.default.awrap(this.request(d));case 10:return v=T.sent,y=v.data.Version||[],S=v.data.DeleteMarker||[],b=this,y&&(Array.isArray(y)||(y=[y]),y=y.map(function(x){return{name:x.Key,url:b._objectUrl(x.Key),lastModified:x.LastModified,isLatest:x.IsLatest==="true",versionId:x.VersionId,etag:x.ETag,type:x.Type,size:Number(x.Size),storageClass:x.StorageClass,owner:{id:x.Owner.ID,displayName:x.Owner.DisplayName}}})),S&&(i(S)||(S=[S]),S=S.map(function(x){return{name:x.Key,lastModified:x.LastModified,versionId:x.VersionId,owner:{id:x.Owner.ID,displayName:x.Owner.DisplayName}}})),E=v.data.CommonPrefixes||null,E&&(i(E)||(E=[E]),E=E.map(function(x){return x.Prefix})),T.abrupt("return",{res:v.res,objects:y,deleteMarker:S,prefixes:E,nextMarker:v.data.NextMarker||null,NextVersionIdMarker:v.data.NextVersionIdMarker||null,isTruncated:v.data.IsTruncated==="true"});case 19:case"end":return T.stop()}},null,this)}function a(s){return s.replace(/([A-Z])/g,"-$1").toLowerCase()}function t(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u={};return e(s)&&(0,f.default)(s).forEach(function(d){u[a(d)]=s[d]}),u}},{"../utils/isArray":42,"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],26:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=g(w),A=M("babel-runtime/core-js/object/assign"),m=g(A);function g(c){return c&&c.__esModule?c:{default:c}}var p=o;p.getObjectMeta=function(h,l){var e,n;return f.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return l=l||{},h=this._objectName(h),l.subres=(0,m.default)({objectMeta:""},l.subres),l.versionId&&(l.subres.versionId=l.versionId),e=this._objectRequestParams("HEAD",h,l),e.successStatuses=[200],r.next=8,f.default.awrap(this.request(e));case 8:return n=r.sent,r.abrupt("return",{status:n.status,res:n.res});case 10:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=g(w),A=M("babel-runtime/core-js/object/assign"),m=g(A);function g(l){return l&&l.__esModule?l:{default:l}}var p=o,c=M("../utils/isObject"),h=c.isObject;p.getObjectTagging=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i,r,a,t,s;return f.default.async(function(d){for(;;)switch(d.prev=d.next){case 0:return n.subres=(0,m.default)({tagging:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),e=this._objectName(e),i=this._objectRequestParams("GET",e,n),i.successStatuses=[200],d.next=7,f.default.awrap(this.request(i));case 7:return r=d.sent,d.next=10,f.default.awrap(this.parseXML(r.data));case 10:return a=d.sent,t=a.TagSet.Tag,t=t&&h(t)?[t]:t||[],s={},t.forEach(function(v){s[v.Key]=v.Value}),d.abrupt("return",{status:r.status,res:r.res,tag:s});case 16:case"end":return d.stop()}},null,this)}},{"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],28:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=g(w),A=M("babel-runtime/core-js/object/assign"),m=g(A);function g(c){return c&&c.__esModule?c:{default:c}}var p=o;p.getSymlink=function(h){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e,n,i;return f.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return l.subres=(0,m.default)({symlink:""},l.subres),l.versionId&&(l.subres.versionId=l.versionId),h=this._objectName(h),e=this._objectRequestParams("GET",h,l),e.successStatuses=[200],a.next=7,f.default.awrap(this.request(e));case 7:return n=a.sent,i=n.res.headers["x-oss-symlink-target"],a.abrupt("return",{targetName:decodeURIComponent(i),res:n.res});case 10:case"end":return a.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=c(w),A=M("babel-runtime/core-js/object/keys"),m=c(A),g=M("babel-runtime/core-js/object/assign"),p=c(g);function c(l){return l&&l.__esModule?l:{default:l}}var h=o;h.head=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i,r,a;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return n.subres=(0,p.default)({},n.subres),n.versionId&&(n.subres.versionId=n.versionId),i=this._objectRequestParams("HEAD",e,n),i.successStatuses=[200,304],s.next=6,f.default.awrap(this.request(i));case 6:return r=s.sent,a={meta:null,res:r.res,status:r.status},r.status===200&&(0,m.default)(r.headers).forEach(function(u){u.indexOf("x-oss-meta-")===0&&(a.meta||(a.meta={}),a.meta[u.substring(11)]=r.headers[u])}),s.abrupt("return",a);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(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=g(w),A=M("babel-runtime/core-js/object/assign"),m=g(A);function g(c){return c&&c.__esModule?c:{default:c}}var p=o;p.putACL=function(h,l,e){var n,i;return f.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return e=e||{},e.subres=(0,m.default)({acl:""},e.subres),e.versionId&&(e.subres.versionId=e.versionId),e.headers=e.headers||{},e.headers["x-oss-object-acl"]=l,h=this._objectName(h),n=this._objectRequestParams("PUT",h,e),n.successStatuses=[200],a.next=10,f.default.awrap(this.request(n));case 10:return i=a.sent,a.abrupt("return",{res:i.res});case 12:case"end":return a.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=c(w),A=M("babel-runtime/core-js/object/keys"),m=c(A),g=M("babel-runtime/core-js/object/assign"),p=c(g);function c(r){return r&&r.__esModule?r:{default:r}}var h=M("../utils/obj2xml"),l=h.obj2xml,e=M("../utils/checkObjectTag"),n=e.checkObjectTag,i=o;i.putObjectTagging=function(a,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u,d,v;return f.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:return n(t),s.subres=(0,p.default)({tagging:""},s.subres),s.versionId&&(s.subres.versionId=s.versionId),a=this._objectName(a),u=this._objectRequestParams("PUT",a,s),u.successStatuses=[200],t=(0,m.default)(t).map(function(b){return{Key:b,Value:t[b]}}),d={Tagging:{TagSet:{Tag:t}}},u.mime="xml",u.content=l(d),S.next=12,f.default.awrap(this.request(u));case 12:return v=S.sent,S.abrupt("return",{res:v.res,status:v.status});case 14:case"end":return S.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(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=g(w),A=M("babel-runtime/core-js/object/assign"),m=g(A);function g(c){return c&&c.__esModule?c:{default:c}}var p=o;p.putSymlink=function(h,l,e){var n,i;return f.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return e=e||{},e.headers=e.headers||{},l=this._escape(this._objectName(l)),this._convertMetaToHeaders(e.meta,e.headers),e.headers["x-oss-symlink-target"]=l,e.subres=(0,m.default)({symlink:""},e.subres),e.versionId&&(e.subres.versionId=e.versionId),e.storageClass&&(e.headers["x-oss-storage-class"]=e.storageClass),h=this._objectName(h),n=this._objectRequestParams("PUT",h,e),n.successStatuses=[200],a.next=13,f.default.awrap(this.request(n));case 13:return i=a.sent,a.abrupt("return",{res:i.res});case 15:case"end":return a.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(M,B,o){"use strict";var w=M("babel-runtime/regenerator"),f=g(w),A=M("babel-runtime/core-js/promise"),m=g(A);function g(c){return c&&c.__esModule?c:{default:c}}var p=o;p._parallelNode=function(h,l,e,n){var i,r,a,t,s,u,d,v;return f.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:i=this,r=[],a=[],t=h.length/l,s=h.length%l,u=s===0?t:(h.length-s)/l+1,d=1,v=0;case 8:if(!(v<h.length)){S.next=26;break}if(!i.isCancel()){S.next=11;break}return S.abrupt("break",26);case 11:if(n?a.push(e(i,h[v],n)):a.push(e(i,h[v])),!(a.length===l||d===u&&v===h.length-1)){S.next=23;break}return S.prev=13,d+=1,S.next=17,f.default.awrap(m.default.all(a));case 17:S.next=22;break;case 19:S.prev=19,S.t0=S.catch(13),r.push(S.t0);case 22:a=[];case 23:v++,S.next=8;break;case 26:return S.abrupt("return",r);case 27:case"end":return S.stop()}},null,this,[[13,19]])},p._parallel=function(h,l,e){var n=this;return new m.default(function(i){var r=[];if(l<=0||!h){i(r);return}function a(E){return function(){if(E===null)throw new Error("Callback was already called.");var C=E;E=null;for(var T=arguments.length,x=Array(T),_=0;_<T;_++)x[_]=arguments[_];C.apply(this,x)}}function t(E){var C=-1,T=E.length;return function(){return++C<T&&!n.isCancel()?{value:E[C],key:C}:null}}var s=t(h),u=!1,d=0,v=!1;function y(E,C){d-=1,E?(u=!0,r.push(E),i(r)):C==={}||u&&d<=0?(u=!0,i(r)):v||(n.isCancel()?i(r):b())}function S(E,C){e(E).then(function(T){C(null,T)}).catch(function(T){C(T)})}function b(){for(v=!0;d<l&&!u&&!n.isCancel();){var E=s();if(E===null||r.length>0){u=!0,d<=0&&i(r);return}d+=1,S(E.value,a(y))}v=!1}b()})},p.cancel=function(h){this.options.cancelFlag=!0,h&&this.abortMultipartUpload(h.name,h.uploadId,h.options)},p.isCancel=function(){return this.options.cancelFlag},p.resetCancelFlag=function(){this.options.cancelFlag=!1},p._stop=function(){this.options.cancelFlag=!0},p._makeCancelEvent=function(){var h={status:0,name:"cancel"};return h}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(M,B,o){(function(w){"use strict";var f=M("babel-runtime/core-js/json/stringify"),A=p(f),m=M("babel-runtime/core-js/object/keys"),g=p(m);function p(l){return l&&l.__esModule?l:{default:l}}var c=M("./../../shims/crypto/crypto.js"),h=M("is-type-of");o.buildCanonicalizedResource=function(e,n){var i=""+e,r="?";if(h.string(n)&&n.trim()!=="")i+=r+n;else if(h.array(n))n.sort(),i+=r+n.join("&");else if(n){var a=function(u,d){return u[0]>d[0]?1:u[0]<d[0]?-1:0},t=function(u){i+=r+u,n[u]&&(i+="="+n[u]),r="&"};(0,g.default)(n).sort(a).forEach(t)}return i},o.buildCanonicalString=function(e,n,i,r){i=i||{};var a=i.headers||{},t="x-oss-",s=[],u={},d=[e.toUpperCase(),a["Content-Md5"]||"",a["Content-Type"]||a["Content-Type".toLowerCase()],r||a["x-oss-date"]];return(0,g.default)(a).forEach(function(v){var y=v.toLowerCase();y.indexOf(t)===0&&(u[y]=String(a[v]).trim())}),(0,g.default)(u).sort().forEach(function(v){s.push(v+":"+u[v])}),d=d.concat(s),d.push(this.buildCanonicalizedResource(n,i.parameters)),d.join(`
|
|
|
`)},o.computeSignature=function(e,n){var i=c.createHmac("sha1",e);return i.update(w.from(n,"utf8")).digest("base64")},o.authorization=function(e,n,i){return"OSS "+e+":"+this.computeSignature(n,i)},o._signatureForURL=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments[2],r=arguments[3],a={},t=n.subResource,s=t===void 0?{}:t;if(n.process){var u="x-oss-process";s[u]=n.process}if(n.trafficLimit){var d="x-oss-traffic-limit";s[d]=n.trafficLimit}if(n.response&&(0,g.default)(n.response).forEach(function(b){var E="response-"+b.toLowerCase();s[E]=n.response[b]}),(0,g.default)(n).forEach(function(b){var E=b.toLowerCase(),C=n[b];E.indexOf("x-oss-")===0?a[E]=C:(E.indexOf("content-md5")===0||E.indexOf("content-type")===0)&&(a[b]=C)}),Object.prototype.hasOwnProperty.call(n,"security-token")&&(s["security-token"]=n["security-token"]),Object.prototype.hasOwnProperty.call(n,"callback")){var v={callbackUrl:encodeURI(n.callback.url),callbackBody:n.callback.body};if(n.callback.host&&(v.callbackHost=n.callback.host),n.callback.contentType&&(v.callbackBodyType=n.callback.contentType),s.callback=w.from((0,A.default)(v)).toString("base64"),n.callback.customValue){var y={};(0,g.default)(n.callback.customValue).forEach(function(b){y["x:"+b]=n.callback.customValue[b]}),s["callback-var"]=w.from((0,A.default)(y)).toString("base64")}}var S=this.buildCanonicalString(n.method,i,{headers:a,parameters:s},r.toString());return{Signature:this.computeSignature(e,S),subResource:s}}}).call(this,M("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(M,B,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.checkBucketName=void 0,o.checkBucketName=function(w,f){var A=f?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!A.test(w))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/entries"),f=A(w);function A(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(o,"__esModule",{value:!0}),o.checkObjectTag=void 0;var m=M("./checkValid"),g=m.checkValid,p=M("./isObject"),c=p.isObject,h=[{validator:function(i){if(typeof i!="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 (/)"}],l={key:[].concat(h,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(h,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function e(n){if(!c(n))throw new Error("tag must be Object");var i=(0,f.default)(n);if(i.length>10)throw new Error("maximum of 10 tags for a object");var r=["key","value"];i.forEach(function(a){a.forEach(function(t,s){g(t,l[r[s]])})})}o.checkObjectTag=e},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(M,B,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.checkValid=void 0;function w(f,A){A.forEach(function(m){if(m.validator)m.validator(f);else if(m.pattern&&!m.pattern.test(f))throw new Error(m.msg)})}o.checkValid=w},{}],38:[function(M,B,o){(function(w){"use strict";var f=M("babel-runtime/core-js/object/assign"),A=m(f);function m(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(o,"__esModule",{value:!0}),o.createRequest=void 0;var g=M("./../../../shims/crypto/crypto.js"),p=M("debug")("ali-oss"),c=M("mime"),h=M("dateformat"),l=M("copy-to"),e=M("path");function n(a,t){return a[t]||a[t.toLowerCase()]}function i(a,t){delete a[t],delete a[t.toLowerCase()]}function r(a){var t=new Date;this.options.amendTimeSkewed&&(t=+new Date+this.options.amendTimeSkewed);var s={"x-oss-date":h(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,A.default)(s,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(s["x-oss-security-token"]=this.options.stsToken),l(a.headers).to(s),n(s,"Content-Type")||(a.mime&&a.mime.indexOf("/")>0?s["Content-Type"]=a.mime:s["Content-Type"]=c.getType(a.mime||e.extname(a.object||""))),n(s,"Content-Type")||i(s,"Content-Type"),a.content&&(s["Content-Md5"]=g.createHash("md5").update(w.from(a.content,"utf8")).digest("base64"),s["Content-Length"]||(s["Content-Length"]=a.content.length));var u=this._getResource(a);s.authorization=this.authorization(a.method,u,a.subres,s);var d=this._getReqUrl(a);p("request %s %s, with headers %j, !!stream: %s",a.method,d,s,!!a.stream);var v=a.timeout||this.options.timeout,y={method:a.method,content:a.content,stream:a.stream,headers:s,timeout:v,writeStream:a.writeStream,customResponse:a.customResponse,ctx:a.ctx||this.ctx};return this.agent&&(y.agent=this.agent),this.httpsAgent&&(y.httpsAgent=this.httpsAgent),{url:d,params:y}}o.createRequest=r}).call(this,M("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(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/keys"),f=g(w),A=M("babel-runtime/helpers/typeof"),m=g(A);function g(p){return p&&p.__esModule?p:{default:p}}Object.defineProperty(o,"__esModule",{value:!0}),o.deepCopy=void 0,o.deepCopy=function(p){if(p===null||(typeof p=="undefined"?"undefined":(0,m.default)(p))!=="object")return p;var c=Array.isArray(p)?[]:{};return(0,f.default)(p).forEach(function(h){c[h]=o.deepCopy(p[h])}),c}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/keys"),f=g(w),A=M("babel-runtime/helpers/typeof"),m=g(A);function g(h){return h&&h.__esModule?h:{default:h}}Object.defineProperty(o,"__esModule",{value:!0}),o.formatObjKey=void 0;function p(h,l){if(h===null||(typeof h=="undefined"?"undefined":(0,m.default)(h))!=="object")return h;var e=void 0;if(Array.isArray(h)){e=[];for(var n=0;n<h.length;n++)e.push(p(h[n],l))}else e={},(0,f.default)(h).forEach(function(i){e[c(i,l)]=p(h[i],l)});return e}o.formatObjKey=p;function c(h,l){return l==="firstUpperCase"?h=h.replace(/^./,function(e){return e.toUpperCase()}):l==="firstLowerCase"&&(h=h.replace(/^./,function(e){return e.toLowerCase()})),h}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(M,B,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.getStrBytesCount=void 0;function w(f){for(var A=0,m=0;m<f.length;m++){var g=f.charAt(m);/^[\u00-\uff]$/.test(g)?A+=1:A+=2}return A}o.getStrBytesCount=w},{}],42:[function(M,B,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isArray=void 0,o.isArray=function(w){return Object.prototype.toString.call(w)==="[object Array]"}},{}],43:[function(M,B,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isBlob=void 0;function w(f){return typeof Blob!="undefined"&&f instanceof Blob}o.isBlob=w},{}],44:[function(M,B,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isFile=void 0,o.isFile=function(w){return typeof File!="undefined"&&w instanceof File}},{}],45:[function(M,B,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isIP=void 0,o.isIP=function(w){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}$/,A=/^\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(w)||A.test(w)}},{}],46:[function(M,B,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isObject=void 0,o.isObject=function(w){return Object.prototype.toString.call(w)==="[object Object]"}},{}],47:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/keys"),f=A(w);function A(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(o,"__esModule",{value:!0}),o.obj2xml=void 0;var m=M("./formatObjKey");function g(c){return Object.prototype.toString.call(c).replace(/(.*? |])/g,"").toLowerCase()}function p(c,h){var l="";return h&&h.headers&&(l=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
`),h&&h.firstUpperCase&&(c=m.formatObjKey(c,"firstUpperCase")),g(c)==="object"?(0,f.default)(c).forEach(function(e){g(c[e])==="string"||g(c[e])==="number"?l+="<"+e+">"+c[e]+"</"+e+">":g(c[e])==="object"?l+="<"+e+">"+p(c[e])+"</"+e+">":g(c[e])==="array"?l+=c[e].map(function(n){return"<"+e+">"+p(n)+"</"+e+">"}).join(""):l+="<"+e+">"+c[e].toString()+"</"+e+">"}):l+=c.toString(),l}o.obj2xml=p},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(M,B,o){B.exports=w,B.exports.HttpsAgent=w;function w(){}},{}],49:[function(M,B,o){B.exports=M("./register")().Promise},{"./register":51}],50:[function(M,B,o){"use strict";var w="@@any-promise/REGISTRATION",f=null;B.exports=function(A,m){return function(p,c){p=p||null,c=c||{};var h=c.global!==!1;if(f===null&&h&&(f=A[w]||null),f!==null&&p!==null&&f.implementation!==p)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&&(p!==null&&typeof c.Promise!="undefined"?f={Promise:c.Promise,implementation:p}:f=m(p),h&&(A[w]=f)),f}}},{}],51:[function(M,B,o){"use strict";B.exports=M("./loader")(window,w);function w(){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(M,B,o){B.exports={default:M("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(M,B,o){B.exports={default:M("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(M,B,o){B.exports={default:M("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(M,B,o){B.exports={default:M("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(M,B,o){B.exports={default:M("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(M,B,o){B.exports={default:M("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(M,B,o){B.exports={default:M("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(M,B,o){B.exports={default:M("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(M,B,o){B.exports={default:M("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(M,B,o){B.exports={default:M("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(M,B,o){B.exports={default:M("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(M,B,o){B.exports={default:M("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(M,B,o){B.exports={default:M("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(M,B,o){B.exports={default:M("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(M,B,o){B.exports={default:M("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(M,B,o){"use strict";o.__esModule=!0;var w=M("../core-js/symbol/iterator"),f=p(w),A=M("../core-js/symbol"),m=p(A),g=typeof m.default=="function"&&typeof f.default=="symbol"?function(c){return typeof c}:function(c){return c&&typeof m.default=="function"&&c.constructor===m.default&&c!==m.default.prototype?"symbol":typeof c};function p(c){return c&&c.__esModule?c:{default:c}}o.default=typeof m.default=="function"&&g(f.default)==="symbol"?function(c){return typeof c=="undefined"?"undefined":g(c)}:function(c){return c&&typeof m.default=="function"&&c.constructor===m.default&&c!==m.default.prototype?"symbol":typeof c=="undefined"?"undefined":g(c)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(M,B,o){B.exports=M("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(M,B,o){"use strict";o.byteLength=h,o.toByteArray=e,o.fromByteArray=r;for(var w=[],f=[],A=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,p=m.length;g<p;++g)w[g]=m[g],f[m.charCodeAt(g)]=g;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63;function c(a){var t=a.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=a.indexOf("=");s===-1&&(s=t);var u=s===t?0:4-s%4;return[s,u]}function h(a){var t=c(a),s=t[0],u=t[1];return(s+u)*3/4-u}function l(a,t,s){return(t+s)*3/4-s}function e(a){var t,s=c(a),u=s[0],d=s[1],v=new A(l(a,u,d)),y=0,S=d>0?u-4:u,b;for(b=0;b<S;b+=4)t=f[a.charCodeAt(b)]<<18|f[a.charCodeAt(b+1)]<<12|f[a.charCodeAt(b+2)]<<6|f[a.charCodeAt(b+3)],v[y++]=t>>16&255,v[y++]=t>>8&255,v[y++]=t&255;return d===2&&(t=f[a.charCodeAt(b)]<<2|f[a.charCodeAt(b+1)]>>4,v[y++]=t&255),d===1&&(t=f[a.charCodeAt(b)]<<10|f[a.charCodeAt(b+1)]<<4|f[a.charCodeAt(b+2)]>>2,v[y++]=t>>8&255,v[y++]=t&255),v}function n(a){return w[a>>18&63]+w[a>>12&63]+w[a>>6&63]+w[a&63]}function i(a,t,s){for(var u,d=[],v=t;v<s;v+=3)u=(a[v]<<16&16711680)+(a[v+1]<<8&65280)+(a[v+2]&255),d.push(n(u));return d.join("")}function r(a){for(var t,s=a.length,u=s%3,d=[],v=16383,y=0,S=s-u;y<S;y+=v)d.push(i(a,y,y+v>S?S:y+v));return u===1?(t=a[s-1],d.push(w[t>>2]+w[t<<4&63]+"==")):u===2&&(t=(a[s-2]<<8)+a[s-1],d.push(w[t>>10]+w[t>>4&63]+w[t<<2&63]+"=")),d.join("")}},{}],70:[function(M,B,o){/*!
|
|
|
* Bowser - a browser detector
|
|
|
* https://github.com/ded/bowser
|
|
|
* MIT License | (c) Dustin Diaz 2015
|
|
|
*/!function(w,f,A){typeof B!="undefined"&&B.exports?B.exports=A():typeof define=="function"&&define.amd?define(f,A):w[f]=A()}(this,"bowser",function(){var w=!0;function f(l){function e(U){var H=l.match(U);return H&&H.length>1&&H[1]||""}function n(U){var H=l.match(U);return H&&H.length>1&&H[2]||""}var i=e(/(ipod|iphone|ipad)/i).toLowerCase(),r=/like android/i.test(l),a=!r&&/android/i.test(l),t=/nexus\s*[0-6]\s*/i.test(l),s=!t&&/nexus\s*[0-9]+/i.test(l),u=/CrOS/.test(l),d=/silk/i.test(l),v=/sailfish/i.test(l),y=/tizen/i.test(l),S=/(web|hpw)(o|0)s/i.test(l),b=/windows phone/i.test(l),E=/SamsungBrowser/i.test(l),C=!b&&/windows/i.test(l),T=!i&&!d&&/macintosh/i.test(l),x=!a&&!v&&!y&&!S&&/linux/i.test(l),_=n(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),I=e(/version\/(\d+(\.\d+)?)/i),L=/tablet/i.test(l)&&!/tablet pc/i.test(l),R=!L&&/[^-]mobi/i.test(l),k=/xbox/i.test(l),F;/opera/i.test(l)?F={name:"Opera",opera:w,version:I||e(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(l)?F={name:"Opera",opera:w,version:e(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||I}:/SamsungBrowser/i.test(l)?F={name:"Samsung Internet for Android",samsungBrowser:w,version:I||e(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(l)?F={name:"NAVER Whale browser",whale:w,version:e(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(l)?F={name:"MZ Browser",mzbrowser:w,version:e(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(l)?F={name:"Opera Coast",coast:w,version:I||e(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(l)?F={name:"Focus",focus:w,version:e(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(l)?F={name:"Yandex Browser",yandexbrowser:w,version:I||e(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(l)?F={name:"UC Browser",ucbrowser:w,version:e(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(l)?F={name:"Maxthon",maxthon:w,version:e(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(l)?F={name:"Epiphany",epiphany:w,version:e(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(l)?F={name:"Puffin",puffin:w,version:e(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(l)?F={name:"Sleipnir",sleipnir:w,version:e(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(l)?F={name:"K-Meleon",kMeleon:w,version:e(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:b?(F={name:"Windows Phone",osname:"Windows Phone",windowsphone:w},_?(F.msedge=w,F.version=_):(F.msie=w,F.version=e(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(l)?F={name:"Internet Explorer",msie:w,version:e(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?F={name:"Chrome",osname:"Chrome OS",chromeos:w,chromeBook:w,chrome:w,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(l)?F={name:"Microsoft Edge",msedge:w,version:_}:/vivaldi/i.test(l)?F={name:"Vivaldi",vivaldi:w,version:e(/vivaldi\/(\d+(\.\d+)?)/i)||I}:v?F={name:"Sailfish",osname:"Sailfish OS",sailfish:w,version:e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(l)?F={name:"SeaMonkey",seamonkey:w,version:e(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(l)?(F={name:"Firefox",firefox:w,version:e(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(l)&&(F.firefoxos=w,F.osname="Firefox OS")):d?F={name:"Amazon Silk",silk:w,version:e(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(l)?F={name:"PhantomJS",phantom:w,version:e(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(l)?F={name:"SlimerJS",slimer:w,version:e(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(l)||/rim\stablet/i.test(l)?F={name:"BlackBerry",osname:"BlackBerry OS",blackberry:w,version:I||e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:S?(F={name:"WebOS",osname:"WebOS",webos:w,version:I||e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(l)&&(F.touchpad=w)):/bada/i.test(l)?F={name:"Bada",osname:"Bada",bada:w,version:e(/dolfin\/(\d+(\.\d+)?)/i)}:y?F={name:"Tizen",osname:"Tizen",tizen:w,version:e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||I}:/qupzilla/i.test(l)?F={name:"QupZilla",qupzilla:w,version:e(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||I}:/chromium/i.test(l)?F={name:"Chromium",chromium:w,version:e(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||I}:/chrome|crios|crmo/i.test(l)?F={name:"Chrome",chrome:w,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:a?F={name:"Android",version:I}:/safari|applewebkit/i.test(l)?(F={name:"Safari",safari:w},I&&(F.version=I)):i?(F={name:i=="iphone"?"iPhone":i=="ipad"?"iPad":"iPod"},I&&(F.version=I)):/googlebot/i.test(l)?F={name:"Googlebot",googlebot:w,version:e(/googlebot\/(\d+(\.\d+))/i)||I}:F={name:e(/^(.*)\/(.*) /),version:n(/^(.*)\/(.*) /)},!F.msedge&&/(apple)?webkit/i.test(l)?(/(apple)?webkit\/537\.36/i.test(l)?(F.name=F.name||"Blink",F.blink=w):(F.name=F.name||"Webkit",F.webkit=w),!F.version&&I&&(F.version=I)):!F.opera&&/gecko\//i.test(l)&&(F.name=F.name||"Gecko",F.gecko=w,F.version=F.version||e(/gecko\/(\d+(\.\d+)?)/i)),!F.windowsphone&&(a||F.silk)?(F.android=w,F.osname="Android"):!F.windowsphone&&i?(F[i]=w,F.ios=w,F.osname="iOS"):T?(F.mac=w,F.osname="macOS"):k?(F.xbox=w,F.osname="Xbox"):C?(F.windows=w,F.osname="Windows"):x&&(F.linux=w,F.osname="Linux");function P(U){switch(U){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var W="";F.windows?W=P(e(/Windows ((NT|XP)( \d\d?.\d)?)/i)):F.windowsphone?W=e(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):F.mac?(W=e(/Mac OS X (\d+([_\.\s]\d+)*)/i),W=W.replace(/[_\s]/g,".")):i?(W=e(/os (\d+([_\s]\d+)*) like mac os x/i),W=W.replace(/[_\s]/g,".")):a?W=e(/android[ \/-](\d+(\.\d+)*)/i):F.webos?W=e(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):F.blackberry?W=e(/rim\stablet\sos\s(\d+(\.\d+)*)/i):F.bada?W=e(/bada\/(\d+(\.\d+)*)/i):F.tizen&&(W=e(/tizen[\/\s](\d+(\.\d+)*)/i)),W&&(F.osversion=W);var D=!F.windows&&W.split(".")[0];return L||s||i=="ipad"||a&&(D==3||D>=4&&!R)||F.silk?F.tablet=w:(R||i=="iphone"||i=="ipod"||a||t||F.blackberry||F.webos||F.bada)&&(F.mobile=w),F.msedge||F.msie&&F.version>=10||F.yandexbrowser&&F.version>=15||F.vivaldi&&F.version>=1||F.chrome&&F.version>=20||F.samsungBrowser&&F.version>=4||F.whale&&p([F.version,"1.0"])===1||F.mzbrowser&&p([F.version,"6.0"])===1||F.focus&&p([F.version,"1.0"])===1||F.firefox&&F.version>=20||F.safari&&F.version>=6||F.opera&&F.version>=10||F.ios&&F.osversion&&F.osversion.split(".")[0]>=6||F.blackberry&&F.version>=10.1||F.chromium&&F.version>=20?F.a=w:F.msie&&F.version<10||F.chrome&&F.version<20||F.firefox&&F.version<20||F.safari&&F.version<6||F.opera&&F.version<10||F.ios&&F.osversion&&F.osversion.split(".")[0]<6||F.chromium&&F.version<20?F.c=w:F.x=w,F}var A=f(typeof navigator!="undefined"&&navigator.userAgent||"");A.test=function(l){for(var e=0;e<l.length;++e){var n=l[e];if(typeof n=="string"&&n in A)return!0}return!1};function m(l){return l.split(".").length}function g(l,e){var n=[],i;if(Array.prototype.map)return Array.prototype.map.call(l,e);for(i=0;i<l.length;i++)n.push(e(l[i]));return n}function p(l){for(var e=Math.max(m(l[0]),m(l[1])),n=g(l,function(i){var r=e-m(i);return i=i+new Array(r+1).join(".0"),g(i.split("."),function(a){return new Array(20-a.length).join("0")+a}).reverse()});--e>=0;){if(n[0][e]>n[1][e])return 1;if(n[0][e]===n[1][e]){if(e===0)return 0}else return-1}}function c(l,e,n){var i=A;typeof e=="string"&&(n=e,e=void 0),e===void 0&&(e=!1),n&&(i=f(n));var r=""+i.version;for(var a in l)if(l.hasOwnProperty(a)&&i[a]){if(typeof l[a]!="string")throw new Error("Browser version in the minVersion map should be a string: "+a+": "+String(l));return p([r,l[a]])<0}return e}function h(l,e,n){return!c(l,e,n)}return A.isUnsupportedBrowser=c,A.compareVersions=p,A.check=h,A._detect=f,A.detect=f,A})},{}],71:[function(M,B,o){},{}],72:[function(M,B,o){var w=M("buffer").Buffer,f=w.isEncoding||function(h){switch(h&&h.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function A(h){if(h&&!f(h))throw new Error("Unknown encoding: "+h)}var m=o.StringDecoder=function(h){this.encoding=(h||"utf8").toLowerCase().replace(/[-_]/,""),A(h);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=p;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=c;break;default:this.write=g;return}this.charBuffer=new w(6),this.charReceived=0,this.charLength=0};m.prototype.write=function(h){for(var l="";this.charLength;){var e=h.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:h.length;if(h.copy(this.charBuffer,this.charReceived,0,e),this.charReceived+=e,this.charReceived<this.charLength)return"";h=h.slice(e,h.length),l=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var i=l.charCodeAt(l.length-1);if(i>=55296&&i<=56319){this.charLength+=this.surrogateSize,l="";continue}if(this.charReceived=this.charLength=0,h.length===0)return l;break}this.detectIncompleteChar(h);var n=h.length;this.charLength&&(h.copy(this.charBuffer,0,h.length-this.charReceived,n),n-=this.charReceived),l+=h.toString(this.encoding,0,n);var n=l.length-1,i=l.charCodeAt(n);if(i>=55296&&i<=56319){var r=this.surrogateSize;return this.charLength+=r,this.charReceived+=r,this.charBuffer.copy(this.charBuffer,r,0,r),h.copy(this.charBuffer,0,0,r),l.substring(0,n)}return l},m.prototype.detectIncompleteChar=function(h){for(var l=h.length>=3?3:h.length;l>0;l--){var e=h[h.length-l];if(l==1&&e>>5==6){this.charLength=2;break}if(l<=2&&e>>4==14){this.charLength=3;break}if(l<=3&&e>>3==30){this.charLength=4;break}}this.charReceived=l},m.prototype.end=function(h){var l="";if(h&&h.length&&(l=this.write(h)),this.charReceived){var e=this.charReceived,n=this.charBuffer,i=this.encoding;l+=n.slice(0,e).toString(i)}return l};function g(h){return h.toString(this.encoding)}function p(h){this.charReceived=h.length%2,this.charLength=this.charReceived?2:0}function c(h){this.charReceived=h.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(M,B,o){(function(w,f){/*!
|
|
|
* The buffer module from node.js, for the browser.
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
|
* @license MIT
|
|
|
*/"use strict";var A=M("base64-js"),m=M("ieee754"),g=M("isarray");o.Buffer=f,o.SlowBuffer=d,o.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=w.TYPED_ARRAY_SUPPORT!==void 0?w.TYPED_ARRAY_SUPPORT:p(),o.kMaxLength=c();function p(){try{var Le=new Uint8Array(1);return Le.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Le.foo()===42&&typeof Le.subarray=="function"&&Le.subarray(1,1).byteLength===0}catch(he){return!1}}function c(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(Le,he){if(c()<he)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(Le=new Uint8Array(he),Le.__proto__=f.prototype):(Le===null&&(Le=new f(he)),Le.length=he),Le}function f(Le,he,ee){if(!f.TYPED_ARRAY_SUPPORT&&!(this instanceof f))return new f(Le,he,ee);if(typeof Le=="number"){if(typeof he=="string")throw new Error("If encoding is specified then the first argument must be a string");return i(this,Le)}return l(this,Le,he,ee)}f.poolSize=8192,f._augment=function(Le){return Le.__proto__=f.prototype,Le};function l(Le,he,ee,se){if(typeof he=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&he instanceof ArrayBuffer?t(Le,he,ee,se):typeof he=="string"?r(Le,he,ee):s(Le,he)}f.from=function(Le,he,ee){return l(null,Le,he,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 e(Le){if(typeof Le!="number")throw new TypeError('"size" argument must be a number');if(Le<0)throw new RangeError('"size" argument must not be negative')}function n(Le,he,ee,se){return e(he),he<=0?h(Le,he):ee!==void 0?typeof se=="string"?h(Le,he).fill(ee,se):h(Le,he).fill(ee):h(Le,he)}f.alloc=function(Le,he,ee){return n(null,Le,he,ee)};function i(Le,he){if(e(he),Le=h(Le,he<0?0:u(he)|0),!f.TYPED_ARRAY_SUPPORT)for(var ee=0;ee<he;++ee)Le[ee]=0;return Le}f.allocUnsafe=function(Le){return i(null,Le)},f.allocUnsafeSlow=function(Le){return i(null,Le)};function r(Le,he,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!f.isEncoding(ee))throw new TypeError('"encoding" must be a valid string encoding');var se=v(he,ee)|0;Le=h(Le,se);var Ue=Le.write(he,ee);return Ue!==se&&(Le=Le.slice(0,Ue)),Le}function a(Le,he){var ee=he.length<0?0:u(he.length)|0;Le=h(Le,ee);for(var se=0;se<ee;se+=1)Le[se]=he[se]&255;return Le}function t(Le,he,ee,se){if(he.byteLength,ee<0||he.byteLength<ee)throw new RangeError("'offset' is out of bounds");if(he.byteLength<ee+(se||0))throw new RangeError("'length' is out of bounds");return ee===void 0&&se===void 0?he=new Uint8Array(he):se===void 0?he=new Uint8Array(he,ee):he=new Uint8Array(he,ee,se),f.TYPED_ARRAY_SUPPORT?(Le=he,Le.__proto__=f.prototype):Le=a(Le,he),Le}function s(Le,he){if(f.isBuffer(he)){var ee=u(he.length)|0;return Le=h(Le,ee),Le.length===0||he.copy(Le,0,0,ee),Le}if(he){if(typeof ArrayBuffer!="undefined"&&he.buffer instanceof ArrayBuffer||"length"in he)return typeof he.length!="number"||$e(he.length)?h(Le,0):a(Le,he);if(he.type==="Buffer"&&g(he.data))return a(Le,he.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(Le){if(Le>=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return Le|0}function d(Le){return+Le!=Le&&(Le=0),f.alloc(+Le)}f.isBuffer=function(he){return!!(he!=null&&he._isBuffer)},f.compare=function(he,ee){if(!f.isBuffer(he)||!f.isBuffer(ee))throw new TypeError("Arguments must be Buffers");if(he===ee)return 0;for(var se=he.length,Ue=ee.length,ue=0,Ne=Math.min(se,Ue);ue<Ne;++ue)if(he[ue]!==ee[ue]){se=he[ue],Ue=ee[ue];break}return se<Ue?-1:Ue<se?1:0},f.isEncoding=function(he){switch(String(he).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(he,ee){if(!g(he))throw new TypeError('"list" argument must be an Array of Buffers');if(he.length===0)return f.alloc(0);var se;if(ee===void 0)for(ee=0,se=0;se<he.length;++se)ee+=he[se].length;var Ue=f.allocUnsafe(ee),ue=0;for(se=0;se<he.length;++se){var Ne=he[se];if(!f.isBuffer(Ne))throw new TypeError('"list" argument must be an Array of Buffers');Ne.copy(Ue,ue),ue+=Ne.length}return Ue};function v(Le,he){if(f.isBuffer(Le))return Le.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(Le)||Le instanceof ArrayBuffer))return Le.byteLength;typeof Le!="string"&&(Le=""+Le);var ee=Le.length;if(ee===0)return 0;for(var se=!1;;)switch(he){case"ascii":case"latin1":case"binary":return ee;case"utf8":case"utf-8":case void 0:return be(Le).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee*2;case"hex":return ee>>>1;case"base64":return te(Le).length;default:if(se)return be(Le).length;he=(""+he).toLowerCase(),se=!0}}f.byteLength=v;function y(Le,he,ee){var se=!1;if((he===void 0||he<0)&&(he=0),he>this.length)return"";if((ee===void 0||ee>this.length)&&(ee=this.length),ee<=0)return"";if(ee>>>=0,he>>>=0,ee<=he)return"";for(Le||(Le="utf8");;)switch(Le){case"hex":return U(this,he,ee);case"utf8":case"utf-8":return k(this,he,ee);case"ascii":return W(this,he,ee);case"latin1":case"binary":return D(this,he,ee);case"base64":return R(this,he,ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,he,ee);default:if(se)throw new TypeError("Unknown encoding: "+Le);Le=(Le+"").toLowerCase(),se=!0}}f.prototype._isBuffer=!0;function S(Le,he,ee){var se=Le[he];Le[he]=Le[ee],Le[ee]=se}f.prototype.swap16=function(){var he=this.length;if(he%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ee=0;ee<he;ee+=2)S(this,ee,ee+1);return this},f.prototype.swap32=function(){var he=this.length;if(he%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ee=0;ee<he;ee+=4)S(this,ee,ee+3),S(this,ee+1,ee+2);return this},f.prototype.swap64=function(){var he=this.length;if(he%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ee=0;ee<he;ee+=8)S(this,ee,ee+7),S(this,ee+1,ee+6),S(this,ee+2,ee+5),S(this,ee+3,ee+4);return this},f.prototype.toString=function(){var he=this.length|0;return he===0?"":arguments.length===0?k(this,0,he):y.apply(this,arguments)},f.prototype.equals=function(he){if(!f.isBuffer(he))throw new TypeError("Argument must be a Buffer");return this===he?!0:f.compare(this,he)===0},f.prototype.inspect=function(){var he="",ee=o.INSPECT_MAX_BYTES;return this.length>0&&(he=this.toString("hex",0,ee).match(/.{2}/g).join(" "),this.length>ee&&(he+=" ... ")),"<Buffer "+he+">"},f.prototype.compare=function(he,ee,se,Ue,ue){if(!f.isBuffer(he))throw new TypeError("Argument must be a Buffer");if(ee===void 0&&(ee=0),se===void 0&&(se=he?he.length:0),Ue===void 0&&(Ue=0),ue===void 0&&(ue=this.length),ee<0||se>he.length||Ue<0||ue>this.length)throw new RangeError("out of range index");if(Ue>=ue&&ee>=se)return 0;if(Ue>=ue)return-1;if(ee>=se)return 1;if(ee>>>=0,se>>>=0,Ue>>>=0,ue>>>=0,this===he)return 0;for(var Ne=ue-Ue,Fe=se-ee,ae=Math.min(Ne,Fe),ce=this.slice(Ue,ue),_e=he.slice(ee,se),ze=0;ze<ae;++ze)if(ce[ze]!==_e[ze]){Ne=ce[ze],Fe=_e[ze];break}return Ne<Fe?-1:Fe<Ne?1:0};function b(Le,he,ee,se,Ue){if(Le.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=Ue?0:Le.length-1),ee<0&&(ee=Le.length+ee),ee>=Le.length){if(Ue)return-1;ee=Le.length-1}else if(ee<0)if(Ue)ee=0;else return-1;if(typeof he=="string"&&(he=f.from(he,se)),f.isBuffer(he))return he.length===0?-1:E(Le,he,ee,se,Ue);if(typeof he=="number")return he=he&255,f.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Ue?Uint8Array.prototype.indexOf.call(Le,he,ee):Uint8Array.prototype.lastIndexOf.call(Le,he,ee):E(Le,[he],ee,se,Ue);throw new TypeError("val must be string, number or Buffer")}function E(Le,he,ee,se,Ue){var ue=1,Ne=Le.length,Fe=he.length;if(se!==void 0&&(se=String(se).toLowerCase(),se==="ucs2"||se==="ucs-2"||se==="utf16le"||se==="utf-16le")){if(Le.length<2||he.length<2)return-1;ue=2,Ne/=2,Fe/=2,ee/=2}function ae(Ze,Ee){return ue===1?Ze[Ee]:Ze.readUInt16BE(Ee*ue)}var ce;if(Ue){var _e=-1;for(ce=ee;ce<Ne;ce++)if(ae(Le,ce)===ae(he,_e===-1?0:ce-_e)){if(_e===-1&&(_e=ce),ce-_e+1===Fe)return _e*ue}else _e!==-1&&(ce-=ce-_e),_e=-1}else for(ee+Fe>Ne&&(ee=Ne-Fe),ce=ee;ce>=0;ce--){for(var ze=!0,it=0;it<Fe;it++)if(ae(Le,ce+it)!==ae(he,it)){ze=!1;break}if(ze)return ce}return-1}f.prototype.includes=function(he,ee,se){return this.indexOf(he,ee,se)!==-1},f.prototype.indexOf=function(he,ee,se){return b(this,he,ee,se,!0)},f.prototype.lastIndexOf=function(he,ee,se){return b(this,he,ee,se,!1)};function C(Le,he,ee,se){ee=Number(ee)||0;var Ue=Le.length-ee;se?(se=Number(se),se>Ue&&(se=Ue)):se=Ue;var ue=he.length;if(ue%2!==0)throw new TypeError("Invalid hex string");se>ue/2&&(se=ue/2);for(var Ne=0;Ne<se;++Ne){var Fe=parseInt(he.substr(Ne*2,2),16);if(isNaN(Fe))return Ne;Le[ee+Ne]=Fe}return Ne}function T(Le,he,ee,se){return ve(be(he,Le.length-ee),Le,ee,se)}function x(Le,he,ee,se){return ve(Ce(he),Le,ee,se)}function _(Le,he,ee,se){return x(Le,he,ee,se)}function I(Le,he,ee,se){return ve(te(he),Le,ee,se)}function L(Le,he,ee,se){return ve(je(he,Le.length-ee),Le,ee,se)}f.prototype.write=function(he,ee,se,Ue){if(ee===void 0)Ue="utf8",se=this.length,ee=0;else if(se===void 0&&typeof ee=="string")Ue=ee,se=this.length,ee=0;else if(isFinite(ee))ee=ee|0,isFinite(se)?(se=se|0,Ue===void 0&&(Ue="utf8")):(Ue=se,se=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ue=this.length-ee;if((se===void 0||se>ue)&&(se=ue),he.length>0&&(se<0||ee<0)||ee>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ue||(Ue="utf8");for(var Ne=!1;;)switch(Ue){case"hex":return C(this,he,ee,se);case"utf8":case"utf-8":return T(this,he,ee,se);case"ascii":return x(this,he,ee,se);case"latin1":case"binary":return _(this,he,ee,se);case"base64":return I(this,he,ee,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,he,ee,se);default:if(Ne)throw new TypeError("Unknown encoding: "+Ue);Ue=(""+Ue).toLowerCase(),Ne=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function R(Le,he,ee){return he===0&&ee===Le.length?A.fromByteArray(Le):A.fromByteArray(Le.slice(he,ee))}function k(Le,he,ee){ee=Math.min(Le.length,ee);for(var se=[],Ue=he;Ue<ee;){var ue=Le[Ue],Ne=null,Fe=ue>239?4:ue>223?3:ue>191?2:1;if(Ue+Fe<=ee){var ae,ce,_e,ze;switch(Fe){case 1:ue<128&&(Ne=ue);break;case 2:ae=Le[Ue+1],(ae&192)===128&&(ze=(ue&31)<<6|ae&63,ze>127&&(Ne=ze));break;case 3:ae=Le[Ue+1],ce=Le[Ue+2],(ae&192)===128&&(ce&192)===128&&(ze=(ue&15)<<12|(ae&63)<<6|ce&63,ze>2047&&(ze<55296||ze>57343)&&(Ne=ze));break;case 4:ae=Le[Ue+1],ce=Le[Ue+2],_e=Le[Ue+3],(ae&192)===128&&(ce&192)===128&&(_e&192)===128&&(ze=(ue&15)<<18|(ae&63)<<12|(ce&63)<<6|_e&63,ze>65535&&ze<1114112&&(Ne=ze))}}Ne===null?(Ne=65533,Fe=1):Ne>65535&&(Ne-=65536,se.push(Ne>>>10&1023|55296),Ne=56320|Ne&1023),se.push(Ne),Ue+=Fe}return P(se)}var F=4096;function P(Le){var he=Le.length;if(he<=F)return String.fromCharCode.apply(String,Le);for(var ee="",se=0;se<he;)ee+=String.fromCharCode.apply(String,Le.slice(se,se+=F));return ee}function W(Le,he,ee){var se="";ee=Math.min(Le.length,ee);for(var Ue=he;Ue<ee;++Ue)se+=String.fromCharCode(Le[Ue]&127);return se}function D(Le,he,ee){var se="";ee=Math.min(Le.length,ee);for(var Ue=he;Ue<ee;++Ue)se+=String.fromCharCode(Le[Ue]);return se}function U(Le,he,ee){var se=Le.length;(!he||he<0)&&(he=0),(!ee||ee<0||ee>se)&&(ee=se);for(var Ue="",ue=he;ue<ee;++ue)Ue+=Ie(Le[ue]);return Ue}function H(Le,he,ee){for(var se=Le.slice(he,ee),Ue="",ue=0;ue<se.length;ue+=2)Ue+=String.fromCharCode(se[ue]+se[ue+1]*256);return Ue}f.prototype.slice=function(he,ee){var se=this.length;he=~~he,ee=ee===void 0?se:~~ee,he<0?(he+=se,he<0&&(he=0)):he>se&&(he=se),ee<0?(ee+=se,ee<0&&(ee=0)):ee>se&&(ee=se),ee<he&&(ee=he);var Ue;if(f.TYPED_ARRAY_SUPPORT)Ue=this.subarray(he,ee),Ue.__proto__=f.prototype;else{var ue=ee-he;Ue=new f(ue,void 0);for(var Ne=0;Ne<ue;++Ne)Ue[Ne]=this[Ne+he]}return Ue};function j(Le,he,ee){if(Le%1!==0||Le<0)throw new RangeError("offset is not uint");if(Le+he>ee)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUIntLE=function(he,ee,se){he=he|0,ee=ee|0,se||j(he,ee,this.length);for(var Ue=this[he],ue=1,Ne=0;++Ne<ee&&(ue*=256);)Ue+=this[he+Ne]*ue;return Ue},f.prototype.readUIntBE=function(he,ee,se){he=he|0,ee=ee|0,se||j(he,ee,this.length);for(var Ue=this[he+--ee],ue=1;ee>0&&(ue*=256);)Ue+=this[he+--ee]*ue;return Ue},f.prototype.readUInt8=function(he,ee){return ee||j(he,1,this.length),this[he]},f.prototype.readUInt16LE=function(he,ee){return ee||j(he,2,this.length),this[he]|this[he+1]<<8},f.prototype.readUInt16BE=function(he,ee){return ee||j(he,2,this.length),this[he]<<8|this[he+1]},f.prototype.readUInt32LE=function(he,ee){return ee||j(he,4,this.length),(this[he]|this[he+1]<<8|this[he+2]<<16)+this[he+3]*16777216},f.prototype.readUInt32BE=function(he,ee){return ee||j(he,4,this.length),this[he]*16777216+(this[he+1]<<16|this[he+2]<<8|this[he+3])},f.prototype.readIntLE=function(he,ee,se){he=he|0,ee=ee|0,se||j(he,ee,this.length);for(var Ue=this[he],ue=1,Ne=0;++Ne<ee&&(ue*=256);)Ue+=this[he+Ne]*ue;return ue*=128,Ue>=ue&&(Ue-=Math.pow(2,8*ee)),Ue},f.prototype.readIntBE=function(he,ee,se){he=he|0,ee=ee|0,se||j(he,ee,this.length);for(var Ue=ee,ue=1,Ne=this[he+--Ue];Ue>0&&(ue*=256);)Ne+=this[he+--Ue]*ue;return ue*=128,Ne>=ue&&(Ne-=Math.pow(2,8*ee)),Ne},f.prototype.readInt8=function(he,ee){return ee||j(he,1,this.length),this[he]&128?(255-this[he]+1)*-1:this[he]},f.prototype.readInt16LE=function(he,ee){ee||j(he,2,this.length);var se=this[he]|this[he+1]<<8;return se&32768?se|4294901760:se},f.prototype.readInt16BE=function(he,ee){ee||j(he,2,this.length);var se=this[he+1]|this[he]<<8;return se&32768?se|4294901760:se},f.prototype.readInt32LE=function(he,ee){return ee||j(he,4,this.length),this[he]|this[he+1]<<8|this[he+2]<<16|this[he+3]<<24},f.prototype.readInt32BE=function(he,ee){return ee||j(he,4,this.length),this[he]<<24|this[he+1]<<16|this[he+2]<<8|this[he+3]},f.prototype.readFloatLE=function(he,ee){return ee||j(he,4,this.length),m.read(this,he,!0,23,4)},f.prototype.readFloatBE=function(he,ee){return ee||j(he,4,this.length),m.read(this,he,!1,23,4)},f.prototype.readDoubleLE=function(he,ee){return ee||j(he,8,this.length),m.read(this,he,!0,52,8)},f.prototype.readDoubleBE=function(he,ee){return ee||j(he,8,this.length),m.read(this,he,!1,52,8)};function K(Le,he,ee,se,Ue,ue){if(!f.isBuffer(Le))throw new TypeError('"buffer" argument must be a Buffer instance');if(he>Ue||he<ue)throw new RangeError('"value" argument is out of bounds');if(ee+se>Le.length)throw new RangeError("Index out of range")}f.prototype.writeUIntLE=function(he,ee,se,Ue){if(he=+he,ee=ee|0,se=se|0,!Ue){var ue=Math.pow(2,8*se)-1;K(this,he,ee,se,ue,0)}var Ne=1,Fe=0;for(this[ee]=he&255;++Fe<se&&(Ne*=256);)this[ee+Fe]=he/Ne&255;return ee+se},f.prototype.writeUIntBE=function(he,ee,se,Ue){if(he=+he,ee=ee|0,se=se|0,!Ue){var ue=Math.pow(2,8*se)-1;K(this,he,ee,se,ue,0)}var Ne=se-1,Fe=1;for(this[ee+Ne]=he&255;--Ne>=0&&(Fe*=256);)this[ee+Ne]=he/Fe&255;return ee+se},f.prototype.writeUInt8=function(he,ee,se){return he=+he,ee=ee|0,se||K(this,he,ee,1,255,0),f.TYPED_ARRAY_SUPPORT||(he=Math.floor(he)),this[ee]=he&255,ee+1};function X(Le,he,ee,se){he<0&&(he=65535+he+1);for(var Ue=0,ue=Math.min(Le.length-ee,2);Ue<ue;++Ue)Le[ee+Ue]=(he&255<<8*(se?Ue:1-Ue))>>>(se?Ue:1-Ue)*8}f.prototype.writeUInt16LE=function(he,ee,se){return he=+he,ee=ee|0,se||K(this,he,ee,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[ee]=he&255,this[ee+1]=he>>>8):X(this,he,ee,!0),ee+2},f.prototype.writeUInt16BE=function(he,ee,se){return he=+he,ee=ee|0,se||K(this,he,ee,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[ee]=he>>>8,this[ee+1]=he&255):X(this,he,ee,!1),ee+2};function z(Le,he,ee,se){he<0&&(he=4294967295+he+1);for(var Ue=0,ue=Math.min(Le.length-ee,4);Ue<ue;++Ue)Le[ee+Ue]=he>>>(se?Ue:3-Ue)*8&255}f.prototype.writeUInt32LE=function(he,ee,se){return he=+he,ee=ee|0,se||K(this,he,ee,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[ee+3]=he>>>24,this[ee+2]=he>>>16,this[ee+1]=he>>>8,this[ee]=he&255):z(this,he,ee,!0),ee+4},f.prototype.writeUInt32BE=function(he,ee,se){return he=+he,ee=ee|0,se||K(this,he,ee,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[ee]=he>>>24,this[ee+1]=he>>>16,this[ee+2]=he>>>8,this[ee+3]=he&255):z(this,he,ee,!1),ee+4},f.prototype.writeIntLE=function(he,ee,se,Ue){if(he=+he,ee=ee|0,!Ue){var ue=Math.pow(2,8*se-1);K(this,he,ee,se,ue-1,-ue)}var Ne=0,Fe=1,ae=0;for(this[ee]=he&255;++Ne<se&&(Fe*=256);)he<0&&ae===0&&this[ee+Ne-1]!==0&&(ae=1),this[ee+Ne]=(he/Fe>>0)-ae&255;return ee+se},f.prototype.writeIntBE=function(he,ee,se,Ue){if(he=+he,ee=ee|0,!Ue){var ue=Math.pow(2,8*se-1);K(this,he,ee,se,ue-1,-ue)}var Ne=se-1,Fe=1,ae=0;for(this[ee+Ne]=he&255;--Ne>=0&&(Fe*=256);)he<0&&ae===0&&this[ee+Ne+1]!==0&&(ae=1),this[ee+Ne]=(he/Fe>>0)-ae&255;return ee+se},f.prototype.writeInt8=function(he,ee,se){return he=+he,ee=ee|0,se||K(this,he,ee,1,127,-128),f.TYPED_ARRAY_SUPPORT||(he=Math.floor(he)),he<0&&(he=255+he+1),this[ee]=he&255,ee+1},f.prototype.writeInt16LE=function(he,ee,se){return he=+he,ee=ee|0,se||K(this,he,ee,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[ee]=he&255,this[ee+1]=he>>>8):X(this,he,ee,!0),ee+2},f.prototype.writeInt16BE=function(he,ee,se){return he=+he,ee=ee|0,se||K(this,he,ee,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[ee]=he>>>8,this[ee+1]=he&255):X(this,he,ee,!1),ee+2},f.prototype.writeInt32LE=function(he,ee,se){return he=+he,ee=ee|0,se||K(this,he,ee,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[ee]=he&255,this[ee+1]=he>>>8,this[ee+2]=he>>>16,this[ee+3]=he>>>24):z(this,he,ee,!0),ee+4},f.prototype.writeInt32BE=function(he,ee,se){return he=+he,ee=ee|0,se||K(this,he,ee,4,2147483647,-2147483648),he<0&&(he=4294967295+he+1),f.TYPED_ARRAY_SUPPORT?(this[ee]=he>>>24,this[ee+1]=he>>>16,this[ee+2]=he>>>8,this[ee+3]=he&255):z(this,he,ee,!1),ee+4};function Y(Le,he,ee,se,Ue,ue){if(ee+se>Le.length)throw new RangeError("Index out of range");if(ee<0)throw new RangeError("Index out of range")}function $(Le,he,ee,se,Ue){return Ue||Y(Le,he,ee,4,34028234663852886e22,-34028234663852886e22),m.write(Le,he,ee,se,23,4),ee+4}f.prototype.writeFloatLE=function(he,ee,se){return $(this,he,ee,!0,se)},f.prototype.writeFloatBE=function(he,ee,se){return $(this,he,ee,!1,se)};function ne(Le,he,ee,se,Ue){return Ue||Y(Le,he,ee,8,17976931348623157e292,-17976931348623157e292),m.write(Le,he,ee,se,52,8),ee+8}f.prototype.writeDoubleLE=function(he,ee,se){return ne(this,he,ee,!0,se)},f.prototype.writeDoubleBE=function(he,ee,se){return ne(this,he,ee,!1,se)},f.prototype.copy=function(he,ee,se,Ue){if(se||(se=0),!Ue&&Ue!==0&&(Ue=this.length),ee>=he.length&&(ee=he.length),ee||(ee=0),Ue>0&&Ue<se&&(Ue=se),Ue===se)return 0;if(he.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(Ue<0)throw new RangeError("sourceEnd out of bounds");Ue>this.length&&(Ue=this.length),he.length-ee<Ue-se&&(Ue=he.length-ee+se);var ue=Ue-se,Ne;if(this===he&&se<ee&&ee<Ue)for(Ne=ue-1;Ne>=0;--Ne)he[Ne+ee]=this[Ne+se];else if(ue<1e3||!f.TYPED_ARRAY_SUPPORT)for(Ne=0;Ne<ue;++Ne)he[Ne+ee]=this[Ne+se];else Uint8Array.prototype.set.call(he,this.subarray(se,se+ue),ee);return ue},f.prototype.fill=function(he,ee,se,Ue){if(typeof he=="string"){if(typeof ee=="string"?(Ue=ee,ee=0,se=this.length):typeof se=="string"&&(Ue=se,se=this.length),he.length===1){var ue=he.charCodeAt(0);ue<256&&(he=ue)}if(Ue!==void 0&&typeof Ue!="string")throw new TypeError("encoding must be a string");if(typeof Ue=="string"&&!f.isEncoding(Ue))throw new TypeError("Unknown encoding: "+Ue)}else typeof he=="number"&&(he=he&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,he||(he=0);var Ne;if(typeof he=="number")for(Ne=ee;Ne<se;++Ne)this[Ne]=he;else{var Fe=f.isBuffer(he)?he:be(new f(he,Ue).toString()),ae=Fe.length;for(Ne=0;Ne<se-ee;++Ne)this[Ne+ee]=Fe[Ne%ae]}return this};var J=/[^+\/0-9A-Za-z-_]/g;function ge(Le){if(Le=de(Le).replace(J,""),Le.length<2)return"";for(;Le.length%4!==0;)Le=Le+"=";return Le}function de(Le){return Le.trim?Le.trim():Le.replace(/^\s+|\s+$/g,"")}function Ie(Le){return Le<16?"0"+Le.toString(16):Le.toString(16)}function be(Le,he){he=he||Infinity;for(var ee,se=Le.length,Ue=null,ue=[],Ne=0;Ne<se;++Ne){if(ee=Le.charCodeAt(Ne),ee>55295&&ee<57344){if(!Ue){if(ee>56319){(he-=3)>-1&&ue.push(239,191,189);continue}else if(Ne+1===se){(he-=3)>-1&&ue.push(239,191,189);continue}Ue=ee;continue}if(ee<56320){(he-=3)>-1&&ue.push(239,191,189),Ue=ee;continue}ee=(Ue-55296<<10|ee-56320)+65536}else Ue&&((he-=3)>-1&&ue.push(239,191,189));if(Ue=null,ee<128){if((he-=1)<0)break;ue.push(ee)}else if(ee<2048){if((he-=2)<0)break;ue.push(ee>>6|192,ee&63|128)}else if(ee<65536){if((he-=3)<0)break;ue.push(ee>>12|224,ee>>6&63|128,ee&63|128)}else if(ee<1114112){if((he-=4)<0)break;ue.push(ee>>18|240,ee>>12&63|128,ee>>6&63|128,ee&63|128)}else throw new Error("Invalid code point")}return ue}function Ce(Le){for(var he=[],ee=0;ee<Le.length;++ee)he.push(Le.charCodeAt(ee)&255);return he}function je(Le,he){for(var ee,se,Ue,ue=[],Ne=0;Ne<Le.length&&!((he-=2)<0);++Ne)ee=Le.charCodeAt(Ne),se=ee>>8,Ue=ee%256,ue.push(Ue),ue.push(se);return ue}function te(Le){return A.toByteArray(ge(Le))}function ve(Le,he,ee,se){for(var Ue=0;Ue<se&&!(Ue+ee>=he.length||Ue>=Le.length);++Ue)he[Ue+ee]=Le[Ue];return Ue}function $e(Le){return Le!==Le}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},M("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(M,B,o){B.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(M,B,o){B.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(M,B,o){/*!
|
|
|
* copy-to - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var w=Array.prototype.slice;B.exports=f;function f(m,g){if(!(this instanceof f))return new f(m,g);this.src=m,this._withAccess=g}f.prototype.withAccess=function(m){return this._withAccess=m!==!1,this},f.prototype.pick=function(m){return Array.isArray(m)||(m=w.call(arguments)),m.length&&(this.keys=m),this},f.prototype.to=function(m){if(m=m||{},!this.src)return m;var g=this.keys||Object.keys(this.src);if(!this._withAccess){for(var p=0;p<g.length;p++){if(c=g[p],m[c]!==void 0)continue;m[c]=this.src[c]}return m}for(var p=0;p<g.length;p++){var c=g[p];if(!A(m,c))continue;var h=this.src.__lookupGetter__(c),l=this.src.__lookupSetter__(c);h&&m.__defineGetter__(c,h),l&&m.__defineSetter__(c,l),!h&&!l&&(m[c]=this.src[c])}return m},f.prototype.toCover=function(m){for(var g=this.keys||Object.keys(this.src),p=0;p<g.length;p++){var c=g[p];delete m[c];var h=this.src.__lookupGetter__(c),l=this.src.__lookupSetter__(c);h&&m.__defineGetter__(c,h),l&&m.__defineSetter__(c,l),!h&&!l&&(m[c]=this.src[c])}},f.prototype.override=f.prototype.toCover,f.prototype.and=function(m){var g={};return this.to(g),this.src=m,this.to(g),this.src=g,this};function A(m,g){return m[g]===void 0&&m.__lookupGetter__(g)===void 0&&m.__lookupSetter__(g)===void 0}},{}],77:[function(M,B,o){M("../../modules/es6.string.iterator"),M("../../modules/es6.array.from"),B.exports=M("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(M,B,o){var w=M("../../modules/_core"),f=w.JSON||(w.JSON={stringify:JSON.stringify});B.exports=function(m){return f.stringify.apply(f,arguments)}},{"../../modules/_core":99}],79:[function(M,B,o){M("../../modules/es6.object.assign"),B.exports=M("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(M,B,o){M("../../modules/es6.object.create");var w=M("../../modules/_core").Object;B.exports=function(A,m){return w.create(A,m)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(M,B,o){M("../../modules/es6.object.define-property");var w=M("../../modules/_core").Object;B.exports=function(A,m,g){return w.defineProperty(A,m,g)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(M,B,o){M("../../modules/es7.object.entries"),B.exports=M("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(M,B,o){M("../../modules/es6.object.get-own-property-names");var w=M("../../modules/_core").Object;B.exports=function(A){return w.getOwnPropertyNames(A)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(M,B,o){M("../../modules/es6.object.get-prototype-of"),B.exports=M("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(M,B,o){M("../../modules/es6.object.keys"),B.exports=M("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(M,B,o){M("../modules/es6.object.to-string"),M("../modules/es6.string.iterator"),M("../modules/web.dom.iterable"),M("../modules/es6.promise"),M("../modules/es7.promise.finally"),M("../modules/es7.promise.try"),B.exports=M("../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(M,B,o){M("../modules/web.immediate"),B.exports=M("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(M,B,o){M("../../modules/es6.string.from-code-point"),B.exports=M("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(M,B,o){M("../../modules/es6.function.has-instance"),B.exports=M("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(M,B,o){M("../../modules/es6.symbol"),M("../../modules/es6.object.to-string"),M("../../modules/es7.symbol.async-iterator"),M("../../modules/es7.symbol.observable"),B.exports=M("../../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(M,B,o){M("../../modules/es6.string.iterator"),M("../../modules/web.dom.iterable"),B.exports=M("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(M,B,o){B.exports=function(w){if(typeof w!="function")throw TypeError(w+" is not a function!");return w}},{}],93:[function(M,B,o){B.exports=function(){}},{}],94:[function(M,B,o){B.exports=function(w,f,A,m){if(!(w instanceof f)||m!==void 0&&m in w)throw TypeError(A+": incorrect invocation!");return w}},{}],95:[function(M,B,o){var w=M("./_is-object");B.exports=function(f){if(!w(f))throw TypeError(f+" is not an object!");return f}},{"./_is-object":119}],96:[function(M,B,o){var w=M("./_to-iobject"),f=M("./_to-length"),A=M("./_to-absolute-index");B.exports=function(m){return function(g,p,c){var h=w(g),l=f(h.length),e=A(c,l),n;if(m&&p!=p){for(;l>e;)if(n=h[e++],n!=n)return!0}else for(;l>e;e++)if((m||e in h)&&h[e]===p)return m||e||0;return!m&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(M,B,o){var w=M("./_cof"),f=M("./_wks")("toStringTag"),A=w(function(){return arguments}())=="Arguments",m=function(p,c){try{return p[c]}catch(h){}};B.exports=function(g){var p,c,h;return g===void 0?"Undefined":g===null?"Null":typeof(c=m(p=Object(g),f))=="string"?c:A?w(p):(h=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":h}},{"./_cof":98,"./_wks":166}],98:[function(M,B,o){var w={}.toString;B.exports=function(f){return w.call(f).slice(8,-1)}},{}],99:[function(M,B,o){var w=B.exports={version:"2.6.11"};typeof __e=="number"&&(__e=w)},{}],100:[function(M,B,o){"use strict";var w=M("./_object-dp"),f=M("./_property-desc");B.exports=function(A,m,g){m in A?w.f(A,m,f(0,g)):A[m]=g}},{"./_object-dp":132,"./_property-desc":146}],101:[function(M,B,o){var w=M("./_a-function");B.exports=function(f,A,m){if(w(f),A===void 0)return f;switch(m){case 1:return function(g){return f.call(A,g)};case 2:return function(g,p){return f.call(A,g,p)};case 3:return function(g,p,c){return f.call(A,g,p,c)}}return function(){return f.apply(A,arguments)}}},{"./_a-function":92}],102:[function(M,B,o){B.exports=function(w){if(w==null)throw TypeError("Can't call method on "+w);return w}},{}],103:[function(M,B,o){B.exports=!M("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(M,B,o){var w=M("./_is-object"),f=M("./_global").document,A=w(f)&&w(f.createElement);B.exports=function(m){return A?f.createElement(m):{}}},{"./_global":110,"./_is-object":119}],105:[function(M,B,o){B.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(M,B,o){var w=M("./_object-keys"),f=M("./_object-gops"),A=M("./_object-pie");B.exports=function(m){var g=w(m),p=f.f;if(p)for(var c=p(m),h=A.f,l=0,e;c.length>l;)h.call(m,e=c[l++])&&g.push(e);return g}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(M,B,o){var w=M("./_global"),f=M("./_core"),A=M("./_ctx"),m=M("./_hide"),g=M("./_has"),p="prototype",c=function h(l,e,n){var i=l&h.F,r=l&h.G,a=l&h.S,t=l&h.P,s=l&h.B,u=l&h.W,d=r?f:f[e]||(f[e]={}),v=d[p],y=r?w:a?w[e]:(w[e]||{})[p],S,b,E;r&&(n=e);for(S in n){if(b=!i&&y&&y[S]!==void 0,b&&g(d,S))continue;E=b?y[S]:n[S],d[S]=r&&typeof y[S]!="function"?n[S]:s&&b?A(E,w):u&&y[S]==E?function(C){var T=function(_,I,L){if(this instanceof C){switch(arguments.length){case 0:return new C;case 1:return new C(_);case 2:return new C(_,I)}return new C(_,I,L)}return C.apply(this,arguments)};return T[p]=C[p],T}(E):t&&typeof E=="function"?A(Function.call,E):E,t&&((d.virtual||(d.virtual={}))[S]=E,l&h.R&&v&&!v[S]&&m(v,S,E))}};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,B.exports=c},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(M,B,o){B.exports=function(w){try{return!!w()}catch(f){return!0}}},{}],109:[function(M,B,o){var w=M("./_ctx"),f=M("./_iter-call"),A=M("./_is-array-iter"),m=M("./_an-object"),g=M("./_to-length"),p=M("./core.get-iterator-method"),c={},h={},o=B.exports=function(l,e,n,i,r){var a=r?function(){return l}:p(l),t=w(n,i,e?2:1),s=0,u,d,v,y;if(typeof a!="function")throw TypeError(l+" is not iterable!");if(A(a)){for(u=g(l.length);u>s;s++)if(y=e?t(m(d=l[s])[0],d[1]):t(l[s]),y===c||y===h)return y}else for(v=a.call(l);!(d=v.next()).done;)if(y=f(v,t,d.value,e),y===c||y===h)return y};o.BREAK=c,o.RETURN=h},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(M,B,o){var w=B.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=w)},{}],111:[function(M,B,o){var w={}.hasOwnProperty;B.exports=function(f,A){return w.call(f,A)}},{}],112:[function(M,B,o){var w=M("./_object-dp"),f=M("./_property-desc");B.exports=M("./_descriptors")?function(A,m,g){return w.f(A,m,f(1,g))}:function(A,m,g){return A[m]=g,A}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(M,B,o){var w=M("./_global").document;B.exports=w&&w.documentElement},{"./_global":110}],114:[function(M,B,o){B.exports=!M("./_descriptors")&&!M("./_fails")(function(){return Object.defineProperty(M("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(M,B,o){B.exports=function(w,f,A){var m=A===void 0;switch(f.length){case 0:return m?w():w.call(A);case 1:return m?w(f[0]):w.call(A,f[0]);case 2:return m?w(f[0],f[1]):w.call(A,f[0],f[1]);case 3:return m?w(f[0],f[1],f[2]):w.call(A,f[0],f[1],f[2]);case 4:return m?w(f[0],f[1],f[2],f[3]):w.call(A,f[0],f[1],f[2],f[3])}return w.apply(A,f)}},{}],116:[function(M,B,o){var w=M("./_cof");B.exports=Object("z").propertyIsEnumerable(0)?Object:function(f){return w(f)=="String"?f.split(""):Object(f)}},{"./_cof":98}],117:[function(M,B,o){var w=M("./_iterators"),f=M("./_wks")("iterator"),A=Array.prototype;B.exports=function(m){return m!==void 0&&(w.Array===m||A[f]===m)}},{"./_iterators":125,"./_wks":166}],118:[function(M,B,o){var w=M("./_cof");B.exports=Array.isArray||function(A){return w(A)=="Array"}},{"./_cof":98}],119:[function(M,B,o){B.exports=function(w){return typeof w=="object"?w!==null:typeof w=="function"}},{}],120:[function(M,B,o){var w=M("./_an-object");B.exports=function(f,A,m,g){try{return g?A(w(m)[0],m[1]):A(m)}catch(c){var p=f.return;throw p!==void 0&&w(p.call(f)),c}}},{"./_an-object":95}],121:[function(M,B,o){"use strict";var w=M("./_object-create"),f=M("./_property-desc"),A=M("./_set-to-string-tag"),m={};M("./_hide")(m,M("./_wks")("iterator"),function(){return this}),B.exports=function(g,p,c){g.prototype=w(m,{next:f(1,c)}),A(g,p+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(M,B,o){"use strict";var w=M("./_library"),f=M("./_export"),A=M("./_redefine"),m=M("./_hide"),g=M("./_iterators"),p=M("./_iter-create"),c=M("./_set-to-string-tag"),h=M("./_object-gpo"),l=M("./_wks")("iterator"),e=!([].keys&&"next"in[].keys()),n="@@iterator",i="keys",r="values",a=function(){return this};B.exports=function(t,s,u,d,v,y,S){p(u,s,d);var b=function(D){if(!e&&D in x)return x[D];switch(D){case i:return function(){return new u(this,D)};case r:return function(){return new u(this,D)}}return function(){return new u(this,D)}},E=s+" Iterator",C=v==r,T=!1,x=t.prototype,_=x[l]||x[n]||v&&x[v],I=_||b(v),L=v?C?b("entries"):I:void 0,R=s=="Array"&&x.entries||_,k,F,P;if(R&&(P=h(R.call(new t)),P!==Object.prototype&&P.next&&(c(P,E,!0),!w&&typeof P[l]!="function"&&m(P,l,a))),C&&_&&_.name!==r&&(T=!0,I=function(){return _.call(this)}),(!w||S)&&(e||T||!x[l])&&m(x,l,I),g[s]=I,g[E]=a,v)if(k={values:C?I:b(r),keys:y?I:b(i),entries:L},S)for(F in k)F in x||A(x,F,k[F]);else f(f.P+f.F*(e||T),s,k);return k}},{"./_export":107,"./_hide":112,"./_iter-create":121,"./_iterators":125,"./_library":126,"./_object-gpo":138,"./_redefine":148,"./_set-to-string-tag":150,"./_wks":166}],123:[function(M,B,o){var w=M("./_wks")("iterator"),f=!1;try{var A=[7][w]();A.return=function(){f=!0},Array.from(A,function(){throw 2})}catch(m){}B.exports=function(m,g){if(!g&&!f)return!1;var p=!1;try{var c=[7],h=c[w]();h.next=function(){return{done:p=!0}},c[w]=function(){return h},m(c)}catch(l){}return p}},{"./_wks":166}],124:[function(M,B,o){B.exports=function(w,f){return{value:f,done:!!w}}},{}],125:[function(M,B,o){B.exports={}},{}],126:[function(M,B,o){B.exports=!0},{}],127:[function(M,B,o){var w=M("./_uid")("meta"),f=M("./_is-object"),A=M("./_has"),m=M("./_object-dp").f,g=0,p=Object.isExtensible||function(){return!0},c=!M("./_fails")(function(){return p(Object.preventExtensions({}))}),h=function(a){m(a,w,{value:{i:"O"+ ++g,w:{}}})},l=function(a,t){if(!f(a))return typeof a=="symbol"?a:(typeof a=="string"?"S":"P")+a;if(!A(a,w)){if(!p(a))return"F";if(!t)return"E";h(a)}return a[w].i},e=function(a,t){if(!A(a,w)){if(!p(a))return!0;if(!t)return!1;h(a)}return a[w].w},n=function(a){return c&&i.NEED&&p(a)&&!A(a,w)&&h(a),a},i=B.exports={KEY:w,NEED:!1,fastKey:l,getWeak:e,onFreeze:n}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(M,B,o){var w=M("./_global"),f=M("./_task").set,A=w.MutationObserver||w.WebKitMutationObserver,m=w.process,g=w.Promise,p=M("./_cof")(m)=="process";B.exports=function(){var c,h,l,e=function(){var t,s;for(p&&(t=m.domain)&&t.exit();c;){s=c.fn,c=c.next;try{s()}catch(u){throw c?l():h=void 0,u}}h=void 0,t&&t.enter()};if(p)l=function(){m.nextTick(e)};else if(A&&!(w.navigator&&w.navigator.standalone)){var n=!0,i=document.createTextNode("");new A(e).observe(i,{characterData:!0}),l=function(){i.data=n=!n}}else if(g&&g.resolve){var r=g.resolve(void 0);l=function(){r.then(e)}}else l=function(){f.call(w,e)};return function(a){var t={fn:a,next:void 0};h&&(h.next=t),c||(c=t,l()),h=t}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(M,B,o){"use strict";var w=M("./_a-function");function f(A){var m,g;this.promise=new A(function(p,c){if(m!==void 0||g!==void 0)throw TypeError("Bad Promise constructor");m=p,g=c}),this.resolve=w(m),this.reject=w(g)}B.exports.f=function(A){return new f(A)}},{"./_a-function":92}],130:[function(M,B,o){"use strict";var w=M("./_descriptors"),f=M("./_object-keys"),A=M("./_object-gops"),m=M("./_object-pie"),g=M("./_to-object"),p=M("./_iobject"),c=Object.assign;B.exports=!c||M("./_fails")(function(){var h={},l={},e=Symbol(),n="abcdefghijklmnopqrst";return h[e]=7,n.split("").forEach(function(i){l[i]=i}),c({},h)[e]!=7||Object.keys(c({},l)).join("")!=n})?function(l,e){for(var n=g(l),i=arguments.length,r=1,a=A.f,t=m.f;i>r;)for(var s=p(arguments[r++]),u=a?f(s).concat(a(s)):f(s),d=u.length,v=0,y;d>v;)y=u[v++],(!w||t.call(s,y))&&(n[y]=s[y]);return n}:c},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(M,B,o){var w=M("./_an-object"),f=M("./_object-dps"),A=M("./_enum-bug-keys"),m=M("./_shared-key")("IE_PROTO"),g=function(){},p="prototype",c=function(){var l=M("./_dom-create")("iframe"),e=A.length,n="<",i=">",r;for(l.style.display="none",M("./_html").appendChild(l),l.src="javascript:",r=l.contentWindow.document,r.open(),r.write(n+"script"+i+"document.F=Object"+n+"/script"+i),r.close(),c=r.F;e--;)delete c[p][A[e]];return c()};B.exports=Object.create||function(l,e){var n;return l!==null?(g[p]=w(l),n=new g,g[p]=null,n[m]=l):n=c(),e===void 0?n:f(n,e)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(M,B,o){var w=M("./_an-object"),f=M("./_ie8-dom-define"),A=M("./_to-primitive"),m=Object.defineProperty;o.f=M("./_descriptors")?Object.defineProperty:function(p,c,h){if(w(p),c=A(c,!0),w(h),f)try{return m(p,c,h)}catch(l){}if("get"in h||"set"in h)throw TypeError("Accessors not supported!");return"value"in h&&(p[c]=h.value),p}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(M,B,o){var w=M("./_object-dp"),f=M("./_an-object"),A=M("./_object-keys");B.exports=M("./_descriptors")?Object.defineProperties:function(g,p){f(g);for(var c=A(p),h=c.length,l=0,e;h>l;)w.f(g,e=c[l++],p[e]);return g}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(M,B,o){var w=M("./_object-pie"),f=M("./_property-desc"),A=M("./_to-iobject"),m=M("./_to-primitive"),g=M("./_has"),p=M("./_ie8-dom-define"),c=Object.getOwnPropertyDescriptor;o.f=M("./_descriptors")?c:function(l,e){if(l=A(l),e=m(e,!0),p)try{return c(l,e)}catch(n){}if(g(l,e))return f(!w.f.call(l,e),l[e])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(M,B,o){var w=M("./_to-iobject"),f=M("./_object-gopn").f,A={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],g=function(c){try{return f(c)}catch(h){return m.slice()}};B.exports.f=function(c){return m&&A.call(c)=="[object Window]"?g(c):f(w(c))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(M,B,o){var w=M("./_object-keys-internal"),f=M("./_enum-bug-keys").concat("length","prototype");o.f=Object.getOwnPropertyNames||function(m){return w(m,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(M,B,o){o.f=Object.getOwnPropertySymbols},{}],138:[function(M,B,o){var w=M("./_has"),f=M("./_to-object"),A=M("./_shared-key")("IE_PROTO"),m=Object.prototype;B.exports=Object.getPrototypeOf||function(g){return g=f(g),w(g,A)?g[A]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?m:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(M,B,o){var w=M("./_has"),f=M("./_to-iobject"),A=M("./_array-includes")(!1),m=M("./_shared-key")("IE_PROTO");B.exports=function(g,p){var c=f(g),h=0,l=[],e;for(e in c)e!=m&&(w(c,e)&&l.push(e));for(;p.length>h;)w(c,e=p[h++])&&(~A(l,e)||l.push(e));return l}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(M,B,o){var w=M("./_object-keys-internal"),f=M("./_enum-bug-keys");B.exports=Object.keys||function(m){return w(m,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(M,B,o){o.f={}.propertyIsEnumerable},{}],142:[function(M,B,o){var w=M("./_export"),f=M("./_core"),A=M("./_fails");B.exports=function(m,g){var p=(f.Object||{})[m]||Object[m],c={};c[m]=g(p),w(w.S+w.F*A(function(){p(1)}),"Object",c)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(M,B,o){var w=M("./_descriptors"),f=M("./_object-keys"),A=M("./_to-iobject"),m=M("./_object-pie").f;B.exports=function(g){return function(p){for(var c=A(p),h=f(c),l=h.length,e=0,n=[],i;l>e;)i=h[e++],(!w||m.call(c,i))&&n.push(g?[i,c[i]]:c[i]);return n}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(M,B,o){B.exports=function(w){try{return{e:!1,v:w()}}catch(f){return{e:!0,v:f}}}},{}],145:[function(M,B,o){var w=M("./_an-object"),f=M("./_is-object"),A=M("./_new-promise-capability");B.exports=function(m,g){if(w(m),f(g)&&g.constructor===m)return g;var p=A.f(m),c=p.resolve;return c(g),p.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(M,B,o){B.exports=function(w,f){return{enumerable:!(w&1),configurable:!(w&2),writable:!(w&4),value:f}}},{}],147:[function(M,B,o){var w=M("./_hide");B.exports=function(f,A,m){for(var g in A)m&&f[g]?f[g]=A[g]:w(f,g,A[g]);return f}},{"./_hide":112}],148:[function(M,B,o){B.exports=M("./_hide")},{"./_hide":112}],149:[function(M,B,o){"use strict";var w=M("./_global"),f=M("./_core"),A=M("./_object-dp"),m=M("./_descriptors"),g=M("./_wks")("species");B.exports=function(p){var c=typeof f[p]=="function"?f[p]:w[p];m&&c&&!c[g]&&A.f(c,g,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(M,B,o){var w=M("./_object-dp").f,f=M("./_has"),A=M("./_wks")("toStringTag");B.exports=function(m,g,p){m&&!f(m=p?m:m.prototype,A)&&w(m,A,{configurable:!0,value:g})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(M,B,o){var w=M("./_shared")("keys"),f=M("./_uid");B.exports=function(A){return w[A]||(w[A]=f(A))}},{"./_shared":152,"./_uid":162}],152:[function(M,B,o){var w=M("./_core"),f=M("./_global"),A="__core-js_shared__",m=f[A]||(f[A]={});(B.exports=function(g,p){return m[g]||(m[g]=p!==void 0?p:{})})("versions",[]).push({version:w.version,mode:M("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(M,B,o){var w=M("./_an-object"),f=M("./_a-function"),A=M("./_wks")("species");B.exports=function(m,g){var p=w(m).constructor,c;return p===void 0||(c=w(p)[A])==null?g:f(c)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(M,B,o){var w=M("./_to-integer"),f=M("./_defined");B.exports=function(A){return function(m,g){var p=String(f(m)),c=w(g),h=p.length,l,e;return c<0||c>=h?A?"":void 0:(l=p.charCodeAt(c),l<55296||l>56319||c+1===h||(e=p.charCodeAt(c+1))<56320||e>57343?A?p.charAt(c):l:A?p.slice(c,c+2):(l-55296<<10)+(e-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(M,B,o){var w=M("./_ctx"),f=M("./_invoke"),A=M("./_html"),m=M("./_dom-create"),g=M("./_global"),p=g.process,c=g.setImmediate,h=g.clearImmediate,l=g.MessageChannel,e=g.Dispatch,n=0,i={},r="onreadystatechange",a,t,s,u=function(){var y=+this;if(i.hasOwnProperty(y)){var S=i[y];delete i[y],S()}},d=function(y){u.call(y.data)};(!c||!h)&&(c=function(y){for(var S=[],b=1;arguments.length>b;)S.push(arguments[b++]);return i[++n]=function(){f(typeof y=="function"?y:Function(y),S)},a(n),n},h=function(y){delete i[y]},M("./_cof")(p)=="process"?a=function(y){p.nextTick(w(u,y,1))}:e&&e.now?a=function(y){e.now(w(u,y,1))}:l?(t=new l,s=t.port2,t.port1.onmessage=d,a=w(s.postMessage,s,1)):g.addEventListener&&typeof postMessage=="function"&&!g.importScripts?(a=function(y){g.postMessage(y+"","*")},g.addEventListener("message",d,!1)):r in m("script")?a=function(y){A.appendChild(m("script"))[r]=function(){A.removeChild(this),u.call(y)}}:a=function(y){setTimeout(w(u,y,1),0)}),B.exports={set:c,clear:h}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(M,B,o){var w=M("./_to-integer"),f=Math.max,A=Math.min;B.exports=function(m,g){return m=w(m),m<0?f(m+g,0):A(m,g)}},{"./_to-integer":157}],157:[function(M,B,o){var w=Math.ceil,f=Math.floor;B.exports=function(A){return isNaN(A=+A)?0:(A>0?f:w)(A)}},{}],158:[function(M,B,o){var w=M("./_iobject"),f=M("./_defined");B.exports=function(A){return w(f(A))}},{"./_defined":102,"./_iobject":116}],159:[function(M,B,o){var w=M("./_to-integer"),f=Math.min;B.exports=function(A){return A>0?f(w(A),9007199254740991):0}},{"./_to-integer":157}],160:[function(M,B,o){var w=M("./_defined");B.exports=function(f){return Object(w(f))}},{"./_defined":102}],161:[function(M,B,o){var w=M("./_is-object");B.exports=function(f,A){if(!w(f))return f;var m,g;if(A&&typeof(m=f.toString)=="function"&&!w(g=m.call(f)))return g;if(typeof(m=f.valueOf)=="function"&&!w(g=m.call(f)))return g;if(!A&&typeof(m=f.toString)=="function"&&!w(g=m.call(f)))return g;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(M,B,o){var w=0,f=Math.random();B.exports=function(A){return"Symbol(".concat(A===void 0?"":A,")_",(++w+f).toString(36))}},{}],163:[function(M,B,o){var w=M("./_global"),f=w.navigator;B.exports=f&&f.userAgent||""},{"./_global":110}],164:[function(M,B,o){var w=M("./_global"),f=M("./_core"),A=M("./_library"),m=M("./_wks-ext"),g=M("./_object-dp").f;B.exports=function(p){var c=f.Symbol||(f.Symbol=A?{}:w.Symbol||{});p.charAt(0)!="_"&&!(p in c)&&g(c,p,{value:m.f(p)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(M,B,o){o.f=M("./_wks")},{"./_wks":166}],166:[function(M,B,o){var w=M("./_shared")("wks"),f=M("./_uid"),A=M("./_global").Symbol,m=typeof A=="function",g=B.exports=function(p){return w[p]||(w[p]=m&&A[p]||(m?A:f)("Symbol."+p))};g.store=w},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(M,B,o){var w=M("./_classof"),f=M("./_wks")("iterator"),A=M("./_iterators");B.exports=M("./_core").getIteratorMethod=function(m){if(m!=null)return m[f]||m["@@iterator"]||A[w(m)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(M,B,o){"use strict";var w=M("./_ctx"),f=M("./_export"),A=M("./_to-object"),m=M("./_iter-call"),g=M("./_is-array-iter"),p=M("./_to-length"),c=M("./_create-property"),h=M("./core.get-iterator-method");f(f.S+f.F*!M("./_iter-detect")(function(l){Array.from(l)}),"Array",{from:function(e){var n=A(e),i=typeof this=="function"?this:Array,r=arguments.length,a=r>1?arguments[1]:void 0,t=a!==void 0,s=0,u=h(n),d,v,y,S;if(t&&(a=w(a,r>2?arguments[2]:void 0,2)),u!=null&&!(i==Array&&g(u)))for(S=u.call(n),v=new i;!(y=S.next()).done;s++)c(v,s,t?m(S,a,[y.value,s],!0):y.value);else for(d=p(n.length),v=new i(d);d>s;s++)c(v,s,t?a(n[s],s):n[s]);return v.length=s,v}})},{"./_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(M,B,o){"use strict";var w=M("./_add-to-unscopables"),f=M("./_iter-step"),A=M("./_iterators"),m=M("./_to-iobject");B.exports=M("./_iter-define")(Array,"Array",function(g,p){this._t=m(g),this._i=0,this._k=p},function(){var g=this._t,p=this._k,c=this._i++;return!g||c>=g.length?(this._t=void 0,f(1)):p=="keys"?f(0,c):p=="values"?f(0,g[c]):f(0,[c,g[c]])},"values"),A.Arguments=A.Array,w("keys"),w("values"),w("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(M,B,o){"use strict";var w=M("./_is-object"),f=M("./_object-gpo"),A=M("./_wks")("hasInstance"),m=Function.prototype;A in m||M("./_object-dp").f(m,A,{value:function(p){if(typeof this!="function"||!w(p))return!1;if(!w(this.prototype))return p instanceof this;for(;p=f(p);)if(this.prototype===p)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(M,B,o){var w=M("./_export");w(w.S+w.F,"Object",{assign:M("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(M,B,o){var w=M("./_export");w(w.S,"Object",{create:M("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(M,B,o){var w=M("./_export");w(w.S+w.F*!M("./_descriptors"),"Object",{defineProperty:M("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(M,B,o){M("./_object-sap")("getOwnPropertyNames",function(){return M("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(M,B,o){var w=M("./_to-object"),f=M("./_object-gpo");M("./_object-sap")("getPrototypeOf",function(){return function(m){return f(w(m))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(M,B,o){var w=M("./_to-object"),f=M("./_object-keys");M("./_object-sap")("keys",function(){return function(m){return f(w(m))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(M,B,o){arguments[4][71][0].apply(o,arguments)},{dup:71}],178:[function(M,B,o){"use strict";var w=M("./_library"),f=M("./_global"),A=M("./_ctx"),m=M("./_classof"),g=M("./_export"),p=M("./_is-object"),c=M("./_a-function"),h=M("./_an-instance"),l=M("./_for-of"),e=M("./_species-constructor"),n=M("./_task").set,i=M("./_microtask")(),r=M("./_new-promise-capability"),a=M("./_perform"),t=M("./_user-agent"),s=M("./_promise-resolve"),u="Promise",d=f.TypeError,v=f.process,y=v&&v.versions,S=y&&y.v8||"",b=f[u],E=m(v)=="process",C=function(){},T,x,_,I,L=x=r.f,R=!!function(){try{var j=b.resolve(1),K=(j.constructor={})[M("./_wks")("species")]=function(X){X(C,C)};return(E||typeof PromiseRejectionEvent=="function")&&j.then(C)instanceof K&&S.indexOf("6.6")!==0&&t.indexOf("Chrome/66")===-1}catch(X){}}(),k=function(K){var X;return p(K)&&typeof(X=K.then)=="function"?X:!1},F=function(K,X){if(K._n)return;K._n=!0;var z=K._c;i(function(){for(var Y=K._v,$=K._s==1,ne=0,J=function(de){var Ie=$?de.ok:de.fail,be=de.resolve,Ce=de.reject,je=de.domain,te,ve,$e;try{Ie?($||(K._h==2&&D(K),K._h=1),Ie===!0?te=Y:(je&&je.enter(),te=Ie(Y),je&&(je.exit(),$e=!0)),te===de.promise?Ce(d("Promise-chain cycle")):(ve=k(te))?ve.call(te,be,Ce):be(te)):Ce(Y)}catch(Le){je&&!$e&&je.exit(),Ce(Le)}};z.length>ne;)J(z[ne++]);K._c=[],K._n=!1,X&&!K._h&&P(K)})},P=function(K){n.call(f,function(){var X=K._v,z=W(K),Y,$,ne;if(z&&(Y=a(function(){E?v.emit("unhandledRejection",X,K):($=f.onunhandledrejection)?$({promise:K,reason:X}):(ne=f.console)&&ne.error&&ne.error("Unhandled promise rejection",X)}),K._h=E||W(K)?2:1),K._a=void 0,z&&Y.e)throw Y.v})},W=function(K){return K._h!==1&&(K._a||K._c).length===0},D=function(K){n.call(f,function(){var X;E?v.emit("rejectionHandled",K):(X=f.onrejectionhandled)&&X({promise:K,reason:K._v})})},U=function(K){var X=this;if(X._d)return;X._d=!0,X=X._w||X,X._v=K,X._s=2,X._a||(X._a=X._c.slice()),F(X,!0)},H=function j(K){var X=this,z;if(X._d)return;X._d=!0,X=X._w||X;try{if(X===K)throw d("Promise can't be resolved itself");(z=k(K))?i(function(){var Y={_w:X,_d:!1};try{z.call(K,A(j,Y,1),A(U,Y,1))}catch($){U.call(Y,$)}}):(X._v=K,X._s=1,F(X,!1))}catch(Y){U.call({_w:X,_d:!1},Y)}};R||(b=function(K){h(this,b,u,"_h"),c(K),T.call(this);try{K(A(H,this,1),A(U,this,1))}catch(X){U.call(this,X)}},T=function(K){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},T.prototype=M("./_redefine-all")(b.prototype,{then:function(K,X){var z=L(e(this,b));return z.ok=typeof K=="function"?K:!0,z.fail=typeof X=="function"&&X,z.domain=E?v.domain:void 0,this._c.push(z),this._a&&this._a.push(z),this._s&&F(this,!1),z.promise},catch:function(K){return this.then(void 0,K)}}),_=function(){var K=new T;this.promise=K,this.resolve=A(H,K,1),this.reject=A(U,K,1)},r.f=L=function(K){return K===b||K===I?new _(K):x(K)}),g(g.G+g.W+g.F*!R,{Promise:b}),M("./_set-to-string-tag")(b,u),M("./_set-species")(u),I=M("./_core")[u],g(g.S+g.F*!R,u,{reject:function(K){var X=L(this),z=X.reject;return z(K),X.promise}}),g(g.S+g.F*(w||!R),u,{resolve:function(K){return s(w&&this===I?b:this,K)}}),g(g.S+g.F*!(R&&M("./_iter-detect")(function(j){b.all(j).catch(C)})),u,{all:function(K){var X=this,z=L(X),Y=z.resolve,$=z.reject,ne=a(function(){var J=[],ge=0,de=1;l(K,!1,function(Ie){var be=ge++,Ce=!1;J.push(void 0),de++,X.resolve(Ie).then(function(je){if(Ce)return;Ce=!0,J[be]=je,--de||Y(J)},$)}),--de||Y(J)});return ne.e&&$(ne.v),z.promise},race:function(K){var X=this,z=L(X),Y=z.reject,$=a(function(){l(K,!1,function(ne){X.resolve(ne).then(z.resolve,Y)})});return $.e&&Y($.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(M,B,o){var w=M("./_export"),f=M("./_to-absolute-index"),A=String.fromCharCode,m=String.fromCodePoint;w(w.S+w.F*(!!m&&m.length!=1),"String",{fromCodePoint:function(p){for(var c=[],h=arguments.length,l=0,e;h>l;){if(e=+arguments[l++],f(e,1114111)!==e)throw RangeError(e+" is not a valid code point");c.push(e<65536?A(e):A(((e-=65536)>>10)+55296,e%1024+56320))}return c.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(M,B,o){"use strict";var w=M("./_string-at")(!0);M("./_iter-define")(String,"String",function(f){this._t=String(f),this._i=0},function(){var f=this._t,A=this._i,m;return A>=f.length?{value:void 0,done:!0}:(m=w(f,A),this._i+=m.length,{value:m,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(M,B,o){"use strict";var w=M("./_global"),f=M("./_has"),A=M("./_descriptors"),m=M("./_export"),g=M("./_redefine"),p=M("./_meta").KEY,c=M("./_fails"),h=M("./_shared"),l=M("./_set-to-string-tag"),e=M("./_uid"),n=M("./_wks"),i=M("./_wks-ext"),r=M("./_wks-define"),a=M("./_enum-keys"),t=M("./_is-array"),s=M("./_an-object"),u=M("./_is-object"),d=M("./_to-object"),v=M("./_to-iobject"),y=M("./_to-primitive"),S=M("./_property-desc"),b=M("./_object-create"),E=M("./_object-gopn-ext"),C=M("./_object-gopd"),T=M("./_object-gops"),x=M("./_object-dp"),_=M("./_object-keys"),I=C.f,L=x.f,R=E.f,k=w.Symbol,F=w.JSON,P=F&&F.stringify,W="prototype",D=n("_hidden"),U=n("toPrimitive"),H={}.propertyIsEnumerable,j=h("symbol-registry"),K=h("symbols"),X=h("op-symbols"),z=Object[W],Y=typeof k=="function"&&!!T.f,$=w.QObject,ne=!$||!$[W]||!$[W].findChild,J=A&&c(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(ue,Ne,Fe){var ae=I(z,Ne);ae&&delete z[Ne],L(ue,Ne,Fe),ae&&ue!==z&&L(z,Ne,ae)}:L,ge=function(Ne){var Fe=K[Ne]=b(k[W]);return Fe._k=Ne,Fe},de=Y&&typeof k.iterator=="symbol"?function(ue){return typeof ue=="symbol"}:function(ue){return ue instanceof k},Ie=function(Ne,Fe,ae){return Ne===z&&Ie(X,Fe,ae),s(Ne),Fe=y(Fe,!0),s(ae),f(K,Fe)?(ae.enumerable?(f(Ne,D)&&Ne[D][Fe]&&(Ne[D][Fe]=!1),ae=b(ae,{enumerable:S(0,!1)})):(f(Ne,D)||L(Ne,D,S(1,{})),Ne[D][Fe]=!0),J(Ne,Fe,ae)):L(Ne,Fe,ae)},be=function(Ne,Fe){s(Ne);for(var ae=a(Fe=v(Fe)),ce=0,_e=ae.length,ze;_e>ce;)Ie(Ne,ze=ae[ce++],Fe[ze]);return Ne},Ce=function(Ne,Fe){return Fe===void 0?b(Ne):be(b(Ne),Fe)},je=function(Ne){var Fe=H.call(this,Ne=y(Ne,!0));return this===z&&f(K,Ne)&&!f(X,Ne)?!1:Fe||!f(this,Ne)||!f(K,Ne)||f(this,D)&&this[D][Ne]?Fe:!0},te=function(Ne,Fe){if(Ne=v(Ne),Fe=y(Fe,!0),Ne===z&&f(K,Fe)&&!f(X,Fe))return;var ae=I(Ne,Fe);return ae&&f(K,Fe)&&!(f(Ne,D)&&Ne[D][Fe])&&(ae.enumerable=!0),ae},ve=function(Ne){for(var Fe=R(v(Ne)),ae=[],ce=0,_e;Fe.length>ce;)!f(K,_e=Fe[ce++])&&_e!=D&&_e!=p&&ae.push(_e);return ae},$e=function(Ne){for(var Fe=Ne===z,ae=R(Fe?X:v(Ne)),ce=[],_e=0,ze;ae.length>_e;)f(K,ze=ae[_e++])&&(Fe?f(z,ze):!0)&&ce.push(K[ze]);return ce};Y||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var Ne=e(arguments.length>0?arguments[0]:void 0),Fe=function ae(ce){this===z&&ae.call(X,ce),f(this,D)&&f(this[D],Ne)&&(this[D][Ne]=!1),J(this,Ne,S(1,ce))};return A&&ne&&J(z,Ne,{configurable:!0,set:Fe}),ge(Ne)},g(k[W],"toString",function(){return this._k}),C.f=te,x.f=Ie,M("./_object-gopn").f=E.f=ve,M("./_object-pie").f=je,T.f=$e,A&&!M("./_library")&&g(z,"propertyIsEnumerable",je,!0),i.f=function(ue){return ge(n(ue))}),m(m.G+m.W+m.F*!Y,{Symbol:k});for(var Le="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),he=0;Le.length>he;)n(Le[he++]);for(var ee=_(n.store),se=0;ee.length>se;)r(ee[se++]);m(m.S+m.F*!Y,"Symbol",{for:function(Ne){return f(j,Ne+="")?j[Ne]:j[Ne]=k(Ne)},keyFor:function(Ne){if(!de(Ne))throw TypeError(Ne+" is not a symbol!");for(var Fe in j)if(j[Fe]===Ne)return Fe},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),m(m.S+m.F*!Y,"Object",{create:Ce,defineProperty:Ie,defineProperties:be,getOwnPropertyDescriptor:te,getOwnPropertyNames:ve,getOwnPropertySymbols:$e});var Ue=c(function(){T.f(1)});m(m.S+m.F*Ue,"Object",{getOwnPropertySymbols:function(Ne){return T.f(d(Ne))}}),F&&m(m.S+m.F*(!Y||c(function(){var ue=k();return P([ue])!="[null]"||P({a:ue})!="{}"||P(Object(ue))!="{}"})),"JSON",{stringify:function(Ne){for(var Fe=[Ne],ae=1,ce,_e;arguments.length>ae;)Fe.push(arguments[ae++]);return _e=ce=Fe[1],!u(ce)&&Ne===void 0||de(Ne)?void 0:(t(ce)||(ce=function(it,Ze){if(typeof _e=="function"&&(Ze=_e.call(this,it,Ze)),!de(Ze))return Ze}),Fe[1]=ce,P.apply(F,Fe))}}),k[W][U]||M("./_hide")(k[W],U,k[W].valueOf),l(k,"Symbol"),l(Math,"Math",!0),l(w.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(M,B,o){var w=M("./_export"),f=M("./_object-to-array")(!0);w(w.S,"Object",{entries:function(m){return f(m)}})},{"./_export":107,"./_object-to-array":143}],183:[function(M,B,o){"use strict";var w=M("./_export"),f=M("./_core"),A=M("./_global"),m=M("./_species-constructor"),g=M("./_promise-resolve");w(w.P+w.R,"Promise",{finally:function(c){var h=m(this,f.Promise||A.Promise),l=typeof c=="function";return this.then(l?function(e){return g(h,c()).then(function(){return e})}:c,l?function(e){return g(h,c()).then(function(){throw e})}:c)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(M,B,o){"use strict";var w=M("./_export"),f=M("./_new-promise-capability"),A=M("./_perform");w(w.S,"Promise",{try:function(g){var p=f.f(this),c=A(g);return(c.e?p.reject:p.resolve)(c.v),p.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(M,B,o){M("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(M,B,o){M("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(M,B,o){M("./es6.array.iterator");for(var w=M("./_global"),f=M("./_hide"),A=M("./_iterators"),m=M("./_wks")("toStringTag"),g="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),p=0;p<g.length;p++){var c=g[p],h=w[c],l=h&&h.prototype;l&&!l[m]&&f(l,m,c),A[c]=A.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(M,B,o){var w=M("./_export"),f=M("./_task");w(w.G+w.B,{setImmediate:f.set,clearImmediate:f.clear})},{"./_export":107,"./_task":155}],189:[function(M,B,o){(function(w){"use strict";var f=M("babel-runtime/helpers/typeof"),A=m(f);function m(y){return y&&y.__esModule?y:{default:y}}function g(y){return Array.isArray?Array.isArray(y):v(y)==="[object Array]"}o.isArray=g;function p(y){return typeof y=="boolean"}o.isBoolean=p;function c(y){return y===null}o.isNull=c;function h(y){return y==null}o.isNullOrUndefined=h;function l(y){return typeof y=="number"}o.isNumber=l;function e(y){return typeof y=="string"}o.isString=e;function n(y){return(typeof y=="undefined"?"undefined":(0,A.default)(y))==="symbol"}o.isSymbol=n;function i(y){return y===void 0}o.isUndefined=i;function r(y){return v(y)==="[object RegExp]"}o.isRegExp=r;function a(y){return(typeof y=="undefined"?"undefined":(0,A.default)(y))==="object"&&y!==null}o.isObject=a;function t(y){return v(y)==="[object Date]"}o.isDate=t;function s(y){return v(y)==="[object Error]"||y instanceof Error}o.isError=s;function u(y){return typeof y=="function"}o.isFunction=u;function d(y){return y===null||typeof y=="boolean"||typeof y=="number"||typeof y=="string"||(typeof y=="undefined"?"undefined":(0,A.default)(y))==="symbol"||typeof y=="undefined"}o.isPrimitive=d,o.isBuffer=w.isBuffer;function v(y){return Object.prototype.toString.call(y)}}).call(this,{isBuffer:M("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(M,B,o){"use strict";var w=M("babel-runtime/helpers/typeof"),f=A(w);function A(m){return m&&m.__esModule?m:{default:m}}(function(m){"use strict";var g=function(){var e=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,n=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,i=/[^-+\dA-Z]/g;return function(r,a,t,s){if(arguments.length===1&&l(r)==="string"&&!/\d/.test(r)&&(a=r,r=void 0),r=r||new Date,r instanceof Date||(r=new Date(r)),isNaN(r))throw TypeError("Invalid date");a=String(g.masks[a]||a||g.masks.default);var u=a.slice(0,4);(u==="UTC:"||u==="GMT:")&&(a=a.slice(4),t=!0,u==="GMT:"&&(s=!0));var d=t?"getUTC":"get",v=r[d+"Date"](),y=r[d+"Day"](),S=r[d+"Month"](),b=r[d+"FullYear"](),E=r[d+"Hours"](),C=r[d+"Minutes"](),T=r[d+"Seconds"](),x=r[d+"Milliseconds"](),_=t?0:r.getTimezoneOffset(),I=c(r),L=h(r),R={d:v,dd:p(v),ddd:g.i18n.dayNames[y],dddd:g.i18n.dayNames[y+7],m:S+1,mm:p(S+1),mmm:g.i18n.monthNames[S],mmmm:g.i18n.monthNames[S+12],yy:String(b).slice(2),yyyy:b,h:E%12||12,hh:p(E%12||12),H:E,HH:p(E),M:C,MM:p(C),s:T,ss:p(T),l:p(x,3),L:p(Math.round(x/10)),t:E<12?"a":"p",tt:E<12?"am":"pm",T:E<12?"A":"P",TT:E<12?"AM":"PM",Z:s?"GMT":t?"UTC":(String(r).match(n)||[""]).pop().replace(i,""),o:(_>0?"-":"+")+p(Math.floor(Math.abs(_)/60)*100+Math.abs(_)%60,4),S:["th","st","nd","rd"][v%10>3?0:(v%100-v%10!=10)*v%10],W:I,N:L};return a.replace(e,function(k){return k in R?R[k]:k.slice(1,k.length-1)})}}();g.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},g.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function p(e,n){for(e=String(e),n=n||2;e.length<n;)e="0"+e;return e}function c(e){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate());n.setDate(n.getDate()-(n.getDay()+6)%7+3);var i=new Date(n.getFullYear(),0,4);i.setDate(i.getDate()-(i.getDay()+6)%7+3);var r=n.getTimezoneOffset()-i.getTimezoneOffset();n.setHours(n.getHours()-r);var a=(n-i)/(864e5*7);return 1+Math.floor(a)}function h(e){var n=e.getDay();return n===0&&(n=7),n}function l(e){return e===null?"null":e===void 0?"undefined":(typeof e=="undefined"?"undefined":(0,f.default)(e))!=="object"?typeof e=="undefined"?"undefined":(0,f.default)(e):Array.isArray(e)?"array":{}.toString.call(e).slice(8,-1).toLowerCase()}typeof define=="function"&&define.amd?define(function(){return g}):(typeof o=="undefined"?"undefined":(0,f.default)(o))==="object"?B.exports=g:m.dateFormat=g})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(M,B,o){/*!
|
|
|
* escape-html
|
|
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
|
* Copyright(c) 2015 Andreas Lubbe
|
|
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var w=/["'&<>]/;B.exports=f;function f(A){var m=""+A,g=w.exec(m);if(!g)return m;var p,c="",h=0,l=0;for(h=g.index;h<m.length;h++){switch(m.charCodeAt(h)){case 34:p=""";break;case 38:p="&";break;case 39:p="'";break;case 60:p="<";break;case 62:p=">";break;default:continue}l!==h&&(c+=m.substring(l,h)),l=h+1,c+=p}return l!==h?c+m.substring(l,h):c}},{}],192:[function(M,B,o){function w(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}B.exports=w,w.EventEmitter=w,w.prototype._events=void 0,w.prototype._maxListeners=void 0,w.defaultMaxListeners=10,w.prototype.setMaxListeners=function(p){if(!A(p)||p<0||isNaN(p))throw TypeError("n must be a positive number");return this._maxListeners=p,this},w.prototype.emit=function(p){var c,h,l,e,n,i;if(this._events||(this._events={}),p==="error"&&(!this._events.error||m(this._events.error)&&!this._events.error.length)){if(c=arguments[1],c instanceof Error)throw c;var r=new Error('Uncaught, unspecified "error" event. ('+c+")");throw r.context=c,r}if(h=this._events[p],g(h))return!1;if(f(h))switch(arguments.length){case 1:h.call(this);break;case 2:h.call(this,arguments[1]);break;case 3:h.call(this,arguments[1],arguments[2]);break;default:e=Array.prototype.slice.call(arguments,1),h.apply(this,e)}else if(m(h))for(e=Array.prototype.slice.call(arguments,1),i=h.slice(),l=i.length,n=0;n<l;n++)i[n].apply(this,e);return!0},w.prototype.addListener=function(p,c){var h;if(!f(c))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",p,f(c.listener)?c.listener:c),this._events[p]?m(this._events[p])?this._events[p].push(c):this._events[p]=[this._events[p],c]:this._events[p]=c,m(this._events[p])&&!this._events[p].warned&&(g(this._maxListeners)?h=w.defaultMaxListeners:h=this._maxListeners,h&&h>0&&this._events[p].length>h&&(this._events[p].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[p].length),typeof console.trace=="function"&&console.trace())),this},w.prototype.on=w.prototype.addListener,w.prototype.once=function(p,c){if(!f(c))throw TypeError("listener must be a function");var h=!1;function l(){this.removeListener(p,l),h||(h=!0,c.apply(this,arguments))}return l.listener=c,this.on(p,l),this},w.prototype.removeListener=function(p,c){var h,l,e,n;if(!f(c))throw TypeError("listener must be a function");if(!this._events||!this._events[p])return this;if(h=this._events[p],e=h.length,l=-1,h===c||f(h.listener)&&h.listener===c)delete this._events[p],this._events.removeListener&&this.emit("removeListener",p,c);else if(m(h)){for(n=e;n-- >0;)if(h[n]===c||h[n].listener&&h[n].listener===c){l=n;break}if(l<0)return this;h.length===1?(h.length=0,delete this._events[p]):h.splice(l,1),this._events.removeListener&&this.emit("removeListener",p,c)}return this},w.prototype.removeAllListeners=function(p){var c,h;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[p]&&delete this._events[p],this;if(arguments.length===0){for(c in this._events){if(c==="removeListener")continue;this.removeAllListeners(c)}return this.removeAllListeners("removeListener"),this._events={},this}if(h=this._events[p],f(h))this.removeListener(p,h);else if(h)for(;h.length;)this.removeListener(p,h[h.length-1]);return delete this._events[p],this},w.prototype.listeners=function(p){var c;return!this._events||!this._events[p]?c=[]:f(this._events[p])?c=[this._events[p]]:c=this._events[p].slice(),c},w.prototype.listenerCount=function(p){if(this._events){var c=this._events[p];if(f(c))return 1;if(c)return c.length}return 0},w.listenerCount=function(p,c){return p.listenerCount(c)};function f(p){return typeof p=="function"}function A(p){return typeof p=="number"}function m(p){return typeof p=="object"&&p!==null}function g(p){return p===void 0}},{}],193:[function(M,B,o){var w=M("http"),f=B.exports;for(var A in w)w.hasOwnProperty(A)&&(f[A]=w[A]);f.request=function(m,g){return m||(m={}),m.scheme="https",m.protocol="https:",w.request.call(this,m,g)}},{http:231}],194:[function(M,B,o){/*!
|
|
|
* humanize-ms - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var w=M("util"),f=M("ms");B.exports=function(A){if(typeof A=="number")return A;var m=f(A);if(m===void 0){var g=new Error(w.format("humanize-ms(%j) result undefined",A));console.warn(g.stack)}return m}},{ms:204,util:243}],195:[function(M,B,o){o.read=function(w,f,A,m,g){var p,c,h=g*8-m-1,l=(1<<h)-1,e=l>>1,n=-7,i=A?g-1:0,r=A?-1:1,a=w[f+i];for(i+=r,p=a&(1<<-n)-1,a>>=-n,n+=h;n>0;p=p*256+w[f+i],i+=r,n-=8);for(c=p&(1<<-n)-1,p>>=-n,n+=m;n>0;c=c*256+w[f+i],i+=r,n-=8);if(p===0)p=1-e;else{if(p===l)return c?NaN:(a?-1:1)*Infinity;c=c+Math.pow(2,m),p=p-e}return(a?-1:1)*c*Math.pow(2,p-m)},o.write=function(w,f,A,m,g,p){var c,h,l,e=p*8-g-1,n=(1<<e)-1,i=n>>1,r=g===23?Math.pow(2,-24)-Math.pow(2,-77):0,a=m?0:p-1,t=m?1:-1,s=f<0||f===0&&1/f<0?1:0;for(f=Math.abs(f),isNaN(f)||f===Infinity?(h=isNaN(f)?1:0,c=n):(c=Math.floor(Math.log(f)/Math.LN2),f*(l=Math.pow(2,-c))<1&&(c--,l*=2),c+i>=1?f+=r/l:f+=r*Math.pow(2,1-i),f*l>=2&&(c++,l/=2),c+i>=n?(h=0,c=n):c+i>=1?(h=(f*l-1)*Math.pow(2,g),c=c+i):(h=f*Math.pow(2,i-1)*Math.pow(2,g),c=0));g>=8;w[A+a]=h&255,a+=t,h/=256,g-=8);for(c=c<<g|h,e+=g;e>0;w[A+a]=c&255,a+=t,c/=256,e-=8);w[A+a-t]|=s*128}},{}],196:[function(M,B,o){typeof Object.create=="function"?B.exports=function(f,A){A&&(f.super_=A,f.prototype=Object.create(A.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}))}:B.exports=function(f,A){if(A){f.super_=A;var m=function(){};m.prototype=A.prototype,f.prototype=new m,f.prototype.constructor=f}}},{}],197:[function(M,B,o){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/B.exports=function(A){return A!=null&&(w(A)||f(A)||!!A._isBuffer)};function w(A){return!!A.constructor&&typeof A.constructor.isBuffer=="function"&&A.constructor.isBuffer(A)}function f(A){return typeof A.readFloatLE=="function"&&typeof A.slice=="function"&&w(A.slice(0,0))}},{}],198:[function(M,B,o){var w={}.toString;B.exports=Array.isArray||function(f){return w.call(f)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(M,B){typeof exports=="object"&&typeof module!="undefined"?module.exports=B(M):typeof define=="function"&&define.amd?define(B):B(M)})(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(M){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(M){for(var B={},o=0,w=M.length;o<w;o++)B[M.charAt(o)]=o;return B}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(B){if(B.length<2){var o=B.charCodeAt(0);return o<128?B:o<2048?fromCharCode(192|o>>>6)+fromCharCode(128|o&63):fromCharCode(224|o>>>12&15)+fromCharCode(128|o>>>6&63)+fromCharCode(128|o&63)}else{var o=65536+(B.charCodeAt(0)-55296)*1024+(B.charCodeAt(1)-56320);return fromCharCode(240|o>>>18&7)+fromCharCode(128|o>>>12&63)+fromCharCode(128|o>>>6&63)+fromCharCode(128|o&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(B){return B.replace(re_utob,cb_utob)},cb_encode=function(B){var o=[0,2,1][B.length%3],w=B.charCodeAt(0)<<16|(B.length>1?B.charCodeAt(1):0)<<8|(B.length>2?B.charCodeAt(2):0),f=[b64chars.charAt(w>>>18),b64chars.charAt(w>>>12&63),o>=2?"=":b64chars.charAt(w>>>6&63),o>=1?"=":b64chars.charAt(w&63)];return f.join("")},btoa=global.btoa?function(M){return global.btoa(M)}:function(M){return M.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(B){var o=Object.prototype.toString.call(B)==="[object Uint8Array]";return o?B.toString("base64"):btoa(utob(String(B)))},encode=function(B,o){return o?_encode(String(B)).replace(/[+\/]/g,function(w){return w=="+"?"-":"_"}).replace(/=/g,""):_encode(B)},encodeURI=function(B){return encode(B,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(B){switch(B.length){case 4:var o=(7&B.charCodeAt(0))<<18|(63&B.charCodeAt(1))<<12|(63&B.charCodeAt(2))<<6|63&B.charCodeAt(3),w=o-65536;return fromCharCode((w>>>10)+55296)+fromCharCode((w&1023)+56320);case 3:return fromCharCode((15&B.charCodeAt(0))<<12|(63&B.charCodeAt(1))<<6|63&B.charCodeAt(2));default:return fromCharCode((31&B.charCodeAt(0))<<6|63&B.charCodeAt(1))}},btou=function(B){return B.replace(re_btou,cb_btou)},cb_decode=function(B){var o=B.length,w=o%4,f=(o>0?b64tab[B.charAt(0)]<<18:0)|(o>1?b64tab[B.charAt(1)]<<12:0)|(o>2?b64tab[B.charAt(2)]<<6:0)|(o>3?b64tab[B.charAt(3)]:0),A=[fromCharCode(f>>>16),fromCharCode(f>>>8&255),fromCharCode(f&255)];return A.length-=[0,0,2,1][w],A.join("")},_atob=global.atob?function(M){return global.atob(M)}:function(M){return M.replace(/\S{1,4}/g,cb_decode)},atob=function(B){return _atob(String(B).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(M){return(M.constructor===buffer.constructor?M:buffer.from(M,"base64")).toString()}:function(M){return(M.constructor===buffer.constructor?M:new buffer(M,"base64")).toString()}:function(M){return btou(_atob(M))},decode=function(B){return _decode(String(B).replace(/[-_]/g,function(o){return o=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var B=global.Base64;return global.Base64=_Base64,B};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(B){return{value:B,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(M){return encode(this,M)})),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(M,B,o){/*!
|
|
|
* merge-descriptors
|
|
|
* Copyright(c) 2014 Jonathan Ong
|
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
|
* MIT Licensed
|
|
|
*/"use strict";B.exports=f;var w=Object.prototype.hasOwnProperty;function f(A,m,g){if(!A)throw new TypeError("argument dest is required");if(!m)throw new TypeError("argument src is required");return g===void 0&&(g=!0),Object.getOwnPropertyNames(m).forEach(function(c){if(!g&&w.call(A,c))return;var h=Object.getOwnPropertyDescriptor(m,c);Object.defineProperty(A,c,h)}),A}},{}],201:[function(M,B,o){"use strict";function w(){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)}w.prototype.define=function(f,A){for(var m in f){var g=f[m].map(function(h){return h.toLowerCase()});m=m.toLowerCase();for(var p=0;p<g.length;p++){var c=g[p];if(c[0]=="*")continue;if(!A&&c in this._types)throw new Error('Attempt to change mapping for "'+c+'" extension from "'+this._types[c]+'" to "'+m+'". Pass `force=true` to allow this, otherwise remove "'+c+'" from the list of extensions for "'+m+'".');this._types[c]=m}if(A||!this._extensions[m]){var c=g[0];this._extensions[m]=c[0]!="*"?c:c.substr(1)}}},w.prototype.getType=function(f){f=String(f);var A=f.replace(/^.*[/\\]/,"").toLowerCase(),m=A.replace(/^.*\./,"").toLowerCase(),g=A.length<f.length,p=m.length<A.length-1;return(p||!g)&&this._types[m]||null},w.prototype.getExtension=function(f){return f=/^\s*([^;\s]*)/.test(f)&&RegExp.$1,f&&this._extensions[f.toLowerCase()]||null},B.exports=w},{}],202:[function(M,B,o){"use strict";var w=M("./Mime");B.exports=new w(M("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(M,B,o){B.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(M,B,o){var w=1e3,f=w*60,A=f*60,m=A*24,g=m*7,p=m*365.25;B.exports=function(n,i){i=i||{};var r=typeof n;if(r==="string"&&n.length>0)return c(n);if(r==="number"&&isFinite(n))return i.long?l(n):h(n);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(n))};function c(n){if(n=String(n),n.length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(n);if(!i)return;var r=parseFloat(i[1]),a=(i[2]||"ms").toLowerCase();switch(a){case"years":case"year":case"yrs":case"yr":case"y":return r*p;case"weeks":case"week":case"w":return r*g;case"days":case"day":case"d":return r*m;case"hours":case"hour":case"hrs":case"hr":case"h":return r*A;case"minutes":case"minute":case"mins":case"min":case"m":return r*f;case"seconds":case"second":case"secs":case"sec":case"s":return r*w;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}function h(n){var i=Math.abs(n);return i>=m?Math.round(n/m)+"d":i>=A?Math.round(n/A)+"h":i>=f?Math.round(n/f)+"m":i>=w?Math.round(n/w)+"s":n+"ms"}function l(n){var i=Math.abs(n);return i>=m?e(n,i,m,"day"):i>=A?e(n,i,A,"hour"):i>=f?e(n,i,f,"minute"):i>=w?e(n,i,w,"second"):n+" ms"}function e(n,i,r,a){var t=i>=r*1.5;return Math.round(n/r)+" "+a+(t?"s":"")}},{}],205:[function(M,B,o){(function(w){function f(p,c){for(var h=0,l=p.length-1;l>=0;l--){var e=p[l];e==="."?p.splice(l,1):e===".."?(p.splice(l,1),h++):h&&(p.splice(l,1),h--)}if(c)for(;h--;h)p.unshift("..");return p}o.resolve=function(){for(var p="",c=!1,h=arguments.length-1;h>=-1&&!c;h--){var l=h>=0?arguments[h]:w.cwd();if(typeof l!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!l)continue;p=l+"/"+p,c=l.charAt(0)==="/"}return p=f(m(p.split("/"),function(e){return!!e}),!c).join("/"),(c?"/":"")+p||"."},o.normalize=function(p){var c=o.isAbsolute(p),h=g(p,-1)==="/";return p=f(m(p.split("/"),function(l){return!!l}),!c).join("/"),!p&&!c&&(p="."),p&&h&&(p+="/"),(c?"/":"")+p},o.isAbsolute=function(p){return p.charAt(0)==="/"},o.join=function(){var p=Array.prototype.slice.call(arguments,0);return o.normalize(m(p,function(c,h){if(typeof c!="string")throw new TypeError("Arguments to path.join must be strings");return c}).join("/"))},o.relative=function(p,c){p=o.resolve(p).substr(1),c=o.resolve(c).substr(1);function h(t){for(var s=0;s<t.length&&!(t[s]!=="");s++);for(var u=t.length-1;u>=0&&!(t[u]!=="");u--);return s>u?[]:t.slice(s,u-s+1)}for(var l=h(p.split("/")),e=h(c.split("/")),n=Math.min(l.length,e.length),i=n,r=0;r<n;r++)if(l[r]!==e[r]){i=r;break}for(var a=[],r=i;r<l.length;r++)a.push("..");return a=a.concat(e.slice(i)),a.join("/")},o.sep="/",o.delimiter=":",o.dirname=function(p){if(typeof p!="string"&&(p=p+""),p.length===0)return".";for(var c=p.charCodeAt(0),h=c===47,l=-1,e=!0,n=p.length-1;n>=1;--n)if(c=p.charCodeAt(n),c===47){if(!e){l=n;break}}else e=!1;return l===-1?h?"/":".":h&&l===1?"/":p.slice(0,l)};function A(p){typeof p!="string"&&(p=p+"");var c=0,h=-1,l=!0,e;for(e=p.length-1;e>=0;--e)if(p.charCodeAt(e)===47){if(!l){c=e+1;break}}else h===-1&&(l=!1,h=e+1);return h===-1?"":p.slice(c,h)}o.basename=function(p,c){var h=A(p);return c&&h.substr(-1*c.length)===c&&(h=h.substr(0,h.length-c.length)),h},o.extname=function(p){typeof p!="string"&&(p=p+"");for(var c=-1,h=0,l=-1,e=!0,n=0,i=p.length-1;i>=0;--i){var r=p.charCodeAt(i);if(r===47){if(!e){h=i+1;break}continue}l===-1&&(e=!1,l=i+1),r===46?c===-1?c=i:n!==1&&(n=1):c!==-1&&(n=-1)}return c===-1||l===-1||n===0||n===1&&c===l-1&&c===h+1?"":p.slice(c,l)};function m(p,c){if(p.filter)return p.filter(c);for(var h=[],l=0;l<p.length;l++)c(p[l],l,p)&&h.push(p[l]);return h}var g="ab".substr(-1)==="b"?function(p,c,h){return p.substr(c,h)}:function(p,c,h){return c<0&&(c=p.length+c),p.substr(c,h)}}).call(this,M("_process"))},{_process:208}],206:[function(M,B,o){(function(w){/*!
|
|
|
* 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},A=f[typeof window]&&window||this,m=A,g=f[typeof o]&&o,p=f[typeof B]&&B&&!B.nodeType&&B,c=g&&p&&typeof w=="object"&&w;c&&(c.global===c||c.window===c||c.self===c)&&(A=c);var h=Math.pow(2,53)-1,l=/\bOpera/,e=this,n=Object.prototype,i=n.hasOwnProperty,r=n.toString;function a(x){return x=String(x),x.charAt(0).toUpperCase()+x.slice(1)}function t(x,_,I){var L={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return _&&I&&/^Win/i.test(x)&&!/^Windows Phone /i.test(x)&&(L=L[/[\d.]+$/.exec(x)])&&(x="Windows "+L),x=String(x),_&&I&&(x=x.replace(RegExp(_,"i"),I)),x=u(x.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),x}function s(x,_){var I=-1,L=x?x.length:0;if(typeof L=="number"&&L>-1&&L<=h)for(;++I<L;)_(x[I],I,x);else d(x,_)}function u(x){return x=E(x),/^(?:webOS|i(?:OS|P))/.test(x)?x:a(x)}function d(x,_){for(var I in x)i.call(x,I)&&_(x[I],I,x)}function v(x){return x==null?a(x):r.call(x).slice(8,-1)}function y(x,_){var I=x!=null?typeof x[_]:"number";return!/^(?:boolean|number|string|undefined)$/.test(I)&&(I=="object"?!!x[_]:!0)}function S(x){return String(x).replace(/([ -])(?!$)/g,"$1?")}function b(x,_){var I=null;return s(x,function(L,R){I=_(I,L,R,x)}),I}function E(x){return String(x).replace(/^ +| +$/g,"")}function C(x){var _=A,I=x&&typeof x=="object"&&v(x)!="String";I&&(_=x,x=null);var L=_.navigator||{},R=L.userAgent||"";x||(x=R);var k=I||e==m,F=I?!!L.likeChrome:/\bChrome\b/.test(x)&&!/internal|\n/i.test(r.toString()),P="Object",W=I?P:"ScriptBridgingProxyObject",D=I?P:"Environment",U=I&&_.java?"JavaPackage":v(_.java),H=I?P:"RuntimeObject",j=/\bJava/.test(U)&&_.java,K=j&&v(_.environment)==D,X=j?"a":"\u03B1",z=j?"b":"\u03B2",Y=_.document||{},$=_.operamini||_.opera,ne=l.test(ne=I&&$?$["[[Class]]"]:v($))?ne:$=null,J,ge=x,de=[],Ie=null,be=x==R,Ce=be&&$&&typeof $.version=="function"&&$.version(),je,te=ee([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),ve=Ue(["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"]),$e=Ne([{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"]),Le=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}}),he=ue(["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(_e){return b(_e,function(ze,it){return ze||RegExp("\\b"+(it.pattern||S(it))+"\\b","i").exec(x)&&(it.label||it)})}function se(_e){return b(_e,function(ze,it,Ze){return ze||(it[$e]||it[/^[a-z]+(?: +[a-z]+\b)*/i.exec($e)]||RegExp("\\b"+S(Ze)+"(?:\\b|\\w*\\d)","i").exec(x))&&Ze})}function Ue(_e){return b(_e,function(ze,it){return ze||RegExp("\\b"+(it.pattern||S(it))+"\\b","i").exec(x)&&(it.label||it)})}function ue(_e){return b(_e,function(ze,it){var Ze=it.pattern||S(it);return!ze&&(ze=RegExp("\\b"+Ze+"(?:/[\\d.]+|[ \\w.]*)","i").exec(x))&&(ze=t(ze,Ze,it.label||it)),ze})}function Ne(_e){return b(_e,function(ze,it){var Ze=it.pattern||S(it);return!ze&&(ze=RegExp("\\b"+Ze+" *\\d+[.\\w_]*","i").exec(x)||RegExp("\\b"+Ze+" *\\w+-[\\w]*","i").exec(x)||RegExp("\\b"+Ze+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(x))&&((ze=String(it.label&&!RegExp(Ze,"i").test(it.label)?it.label:ze).split("/"))[1]&&!/[\d.]+/.test(ze[0])&&(ze[0]+=" "+ze[1]),it=it.label||it,ze=u(ze[0].replace(RegExp(Ze,"i"),it).replace(RegExp("; *(?:"+it+"[_-])?","i")," ").replace(RegExp("("+it+")[-_.]?(\\w)","i"),"$1 $2"))),ze})}function Fe(_e){return b(_e,function(ze,it){return ze||(RegExp(it+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(x)||0)[1]||null})}function ae(){return this.description||""}if(te&&(te=[te]),Le&&!$e&&($e=Ne([Le])),(J=/\bGoogle TV\b/.exec($e))&&($e=J[0]),/\bSimulator\b/i.test(x)&&($e=($e?$e+" ":"")+"Simulator"),ve=="Opera Mini"&&/\bOPiOS\b/.test(x)&&de.push("running in Turbo/Uncompressed mode"),ve=="IE"&&/\blike iPhone OS\b/.test(x)?(J=C(x.replace(/like iPhone OS/,"")),Le=J.manufacturer,$e=J.product):/^iP/.test($e)?(ve||(ve="Safari"),he="iOS"+((J=/ OS ([\d_]+)/i.exec(x))?" "+J[1].replace(/_/g,"."):"")):ve=="Konqueror"&&!/buntu/i.test(he)?he="Kubuntu":Le&&Le!="Google"&&(/Chrome/.test(ve)&&!/\bMobile Safari\b/i.test(x)||/\bVita\b/.test($e))||/\bAndroid\b/.test(he)&&/^Chrome/.test(ve)&&/\bVersion\//i.test(x)?(ve="Android Browser",he=/\bAndroid\b/.test(he)?he:"Android"):ve=="Silk"?(/\bMobi/i.test(x)||(he="Android",de.unshift("desktop mode")),/Accelerated *= *true/i.test(x)&&de.unshift("accelerated")):ve=="PaleMoon"&&(J=/\bFirefox\/([\d.]+)\b/.exec(x))?de.push("identifying as Firefox "+J[1]):ve=="Firefox"&&(J=/\b(Mobile|Tablet|TV)\b/i.exec(x))?(he||(he="Firefox OS"),$e||($e=J[1])):!ve||(J=!/\bMinefield\b/i.test(x)&&/\b(?:Firefox|Safari)\b/.exec(ve))?(ve&&!$e&&/[\/,]|^[^(]+?\)/.test(x.slice(x.indexOf(J+"/")+8))&&(ve=null),(J=$e||Le||he)&&($e||Le||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(he))&&(ve=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(he)?he:J)+" Browser")):ve=="Electron"&&(J=(/\bChrome\/([\d.]+)\b/.exec(x)||0)[1])&&de.push("Chromium "+J),Ce||(Ce=Fe(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",S(ve),"(?:Firefox|Minefield|NetFront)"])),(J=te=="iCab"&&parseFloat(Ce)>3&&"WebKit"||/\bOpera\b/.test(ve)&&(/\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)&&(he=="Mac OS"?"Tasman":"Trident")||te=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(ve)&&"NetFront")&&(te=[J]),ve=="IE"&&(J=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(x)||0)[1])?(ve+=" Mobile",he="Windows Phone "+(/\+$/.test(J)?J:J+".x"),de.unshift("desktop mode")):/\bWPDesktop\b/i.test(x)?(ve="IE Mobile",he="Windows Phone 8.x",de.unshift("desktop mode"),Ce||(Ce=(/\brv:([\d.]+)/.exec(x)||0)[1])):ve!="IE"&&te=="Trident"&&(J=/\brv:([\d.]+)/.exec(x))&&(ve&&de.push("identifying as "+ve+(Ce?" "+Ce:"")),ve="IE",Ce=J[1]),be){if(y(_,"global"))if(j&&(J=j.lang.System,ge=J.getProperty("os.arch"),he=he||J.getProperty("os.name")+" "+J.getProperty("os.version")),K){try{Ce=_.require("ringo/engine").version.join("."),ve="RingoJS"}catch(_e){(J=_.system)&&J.global.system==_.system&&(ve="Narwhal",he||(he=J[0].os||null))}ve||(ve="Rhino")}else typeof _.process=="object"&&!_.process.browser&&(J=_.process)&&(typeof J.versions=="object"&&(typeof J.versions.electron=="string"?(de.push("Node "+J.versions.node),ve="Electron",Ce=J.versions.electron):typeof J.versions.nw=="string"&&(de.push("Chromium "+Ce,"Node "+J.versions.node),ve="NW.js",Ce=J.versions.nw)),ve||(ve="Node.js",ge=J.arch,he=J.platform,Ce=/[\d.]+/.exec(J.version),Ce=Ce?Ce[0]:null));else v(J=_.runtime)==W?(ve="Adobe AIR",he=J.flash.system.Capabilities.os):v(J=_.phantom)==H?(ve="PhantomJS",Ce=(J=J.version||null)&&J.major+"."+J.minor+"."+J.patch):typeof Y.documentMode=="number"&&(J=/\bTrident\/(\d+)/i.exec(x))?(Ce=[Ce,Y.documentMode],(J=+J[1]+4)!=Ce[1]&&(de.push("IE "+Ce[1]+" mode"),te&&(te[1]=""),Ce[1]=J),Ce=ve=="IE"?String(Ce[1].toFixed(1)):Ce[0]):typeof Y.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(ve)&&(de.push("masking as "+ve+" "+Ce),ve="IE",Ce="11.0",te=["Trident"],he="Windows");he=he&&u(he)}if(Ce&&(J=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ce)||/(?:alpha|beta)(?: ?\d)?/i.exec(x+";"+(be&&L.appMinorVersion))||/\bMinefield\b/i.test(x)&&"a")&&(Ie=/b/i.test(J)?"beta":"alpha",Ce=Ce.replace(RegExp(J+"\\+?$"),"")+(Ie=="beta"?z:X)+(/\d+\+?/.exec(J)||"")),ve=="Fennec"||ve=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(he))ve="Firefox Mobile";else if(ve=="Maxthon"&&Ce)Ce=Ce.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test($e))$e=="Xbox 360"&&(he=null),$e=="Xbox 360"&&/\bIEMobile\b/.test(x)&&de.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(ve)||ve&&!$e&&!/Browser|Mobi/.test(ve))&&(he=="Windows CE"||/Mobi/i.test(x)))ve+=" Mobile";else if(ve=="IE"&&be)try{_.external===null&&de.unshift("platform preview")}catch(_e){de.unshift("embedded")}else(/\bBlackBerry\b/.test($e)||/\bBB10\b/.test(x))&&(J=(RegExp($e.replace(/ +/g," *")+"/([.\\d]+)","i").exec(x)||0)[1]||Ce)?(J=[J,/BB10/.test(x)],he=(J[1]?($e=null,Le="BlackBerry"):"Device Software")+" "+J[0],Ce=null):this!=d&&$e!="Wii"&&(be&&$||/Opera/.test(ve)&&/\b(?:MSIE|Firefox)\b/i.test(x)||ve=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(he)||ve=="IE"&&(he&&!/^Win/.test(he)&&Ce>5.5||/\bWindows XP\b/.test(he)&&Ce>8||Ce==8&&!/\bTrident\b/.test(x)))&&!l.test(J=C.call(d,x.replace(l,"")+";"))&&J.name&&(J="ing as "+J.name+((J=J.version)?" "+J:""),l.test(ve)?(/\bIE\b/.test(J)&&he=="Mac OS"&&(he=null),J="identify"+J):(J="mask"+J,ne?ve=u(ne.replace(/([a-z])([A-Z])/g,"$1 $2")):ve="Opera",/\bIE\b/.test(J)&&(he=null),be||(Ce=null)),te=["Presto"],de.push(J));(J=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(x)||0)[1])&&(J=[parseFloat(J.replace(/\.(\d)$/,".0$1")),J],ve=="Safari"&&J[1].slice(-1)=="+"?(ve="WebKit Nightly",Ie="alpha",Ce=J[1].slice(0,-1)):(Ce==J[1]||Ce==(J[2]=(/\bSafari\/([\d.]+\+?)/i.exec(x)||0)[1]))&&(Ce=null),J[1]=(/\bChrome\/([\d.]+)/i.exec(x)||0)[1],J[0]==537.36&&J[2]==537.36&&parseFloat(J[1])>=28&&te=="WebKit"&&(te=["Blink"]),!be||!F&&!J[1]?(te&&(te[1]="like Safari"),J=(J=J[0],J<400?1:J<500?2:J<526?3:J<533?4:J<534?"4+":J<535?5:J<537?6:J<538?7:J<601?8:"8")):(te&&(te[1]="like Chrome"),J=J[1]||(J=J[0],J<530?1:J<532?2:J<532.05?3:J<533?4:J<534.03?5:J<534.07?6:J<534.1?7:J<534.13?8:J<534.16?9:J<534.24?10:J<534.3?11:J<535.01?12:J<535.02?"13+":J<535.07?15:J<535.11?16:J<535.19?17:J<536.05?18:J<536.1?19:J<537.01?20:J<537.11?"21+":J<537.13?23:J<537.18?24:J<537.24?25:J<537.36?26:te!="Blink"?"27":"28")),te&&(te[1]+=" "+(J+=typeof J=="number"?".x":/[.+]/.test(J)?"":"+")),ve=="Safari"&&(!Ce||parseInt(Ce)>45)&&(Ce=J)),ve=="Opera"&&(J=/\bzbov|zvav$/.exec(he))?(ve+=" ",de.unshift("desktop mode"),J=="zvav"?(ve+="Mini",Ce=null):ve+="Mobile",he=he.replace(RegExp(" *"+J+"$"),"")):ve=="Safari"&&/\bChrome\b/.exec(te&&te[1])&&(de.unshift("desktop mode"),ve="Chrome Mobile",Ce=null,/\bOS X\b/.test(he)?(Le="Apple",he="iOS 4.3+"):he=null),Ce&&Ce.indexOf(J=/[\d.]+$/.exec(he))==0&&x.indexOf("/"+J+"-")>-1&&(he=E(he.replace(J,""))),te&&!/\b(?:Avant|Nook)\b/.test(ve)&&(/Browser|Lunascape|Maxthon/.test(ve)||ve!="Safari"&&/^iOS/.test(he)&&/\bSafari\b/.test(te[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(ve)&&te[1])&&((J=te[te.length-1])&&de.push(J)),de.length&&(de=["("+de.join("; ")+")"]),Le&&$e&&$e.indexOf(Le)<0&&de.push("on "+Le),$e&&de.push((/^on /.test(de[de.length-1])?"":"on ")+$e),he&&(J=/ ([\d.+]+)$/.exec(he),je=J&&he.charAt(he.length-J[0].length-1)=="/",he={architecture:32,family:J&&!je?he.replace(J[0],""):he,version:J?J[1]:null,toString:function(){var ze=this.version;return this.family+(ze&&!je?" "+ze:"")+(this.architecture==64?" 64-bit":"")}}),(J=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(ge))&&!/\bi686\b/i.test(ge)?(he&&(he.architecture=64,he.family=he.family.replace(RegExp(" *"+J),"")),ve&&(/\bWOW64\b/i.test(x)||be&&/\w(?:86|32)$/.test(L.cpuClass||L.platform)&&!/\bWin64; x64\b/i.test(x))&&de.unshift("32-bit")):he&&/^OS X/.test(he.family)&&ve=="Chrome"&&parseFloat(Ce)>=39&&(he.architecture=64),x||(x=null);var ce={};return ce.description=x,ce.layout=te&&te[0],ce.manufacturer=Le,ce.name=ve,ce.prerelease=Ie,ce.product=$e,ce.ua=x,ce.version=ve&&Ce,ce.os=he||{architecture:null,family:null,version:null,toString:function(){return"null"}},ce.parse=C,ce.toString=ae,ce.version&&de.unshift(Ce),ce.name&&de.unshift(ve),he&&ve&&!(he==String(he).split(" ")[0]&&(he==ve.split(" ")[0]||$e))&&de.push($e?"("+he+")":"on "+he),de.length&&(ce.description=de.join(" ")),ce}var T=C();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(A.platform=T,define(function(){return T})):g&&p?d(T,function(x,_){g[_]=x}):A.platform=T}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(M,B,o){(function(w){"use strict";typeof w=="undefined"||!w.version||w.version.indexOf("v0.")===0||w.version.indexOf("v1.")===0&&w.version.indexOf("v1.8.")!==0?B.exports={nextTick:f}:B.exports=w;function f(A,m,g,p){if(typeof A!="function")throw new TypeError('"callback" argument must be a function');var c=arguments.length,h,l;switch(c){case 0:case 1:return w.nextTick(A);case 2:return w.nextTick(function(){A.call(null,m)});case 3:return w.nextTick(function(){A.call(null,m,g)});case 4:return w.nextTick(function(){A.call(null,m,g,p)});default:for(h=new Array(c-1),l=0;l<h.length;)h[l++]=arguments[l];return w.nextTick(function(){A.apply(null,h)})}}}).call(this,M("_process"))},{_process:208}],208:[function(M,B,o){var w=B.exports={},f,A;function m(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?f=setTimeout:f=m}catch(s){f=m}try{typeof clearTimeout=="function"?A=clearTimeout:A=g}catch(s){A=g}})();function p(s){if(f===setTimeout)return setTimeout(s,0);if((f===m||!f)&&setTimeout)return f=setTimeout,setTimeout(s,0);try{return f(s,0)}catch(u){try{return f.call(null,s,0)}catch(d){return f.call(this,s,0)}}}function c(s){if(A===clearTimeout)return clearTimeout(s);if((A===g||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(s);try{return A(s)}catch(u){try{return A.call(null,s)}catch(d){return A.call(this,s)}}}var h=[],l=!1,e,n=-1;function i(){if(!l||!e)return;l=!1,e.length?h=e.concat(h):n=-1,h.length&&r()}function r(){if(l)return;var s=p(i);l=!0;for(var u=h.length;u;){for(e=h,h=[];++n<u;)e&&e[n].run();n=-1,u=h.length}e=null,l=!1,c(s)}w.nextTick=function(s){var u=new Array(arguments.length-1);if(arguments.length>1)for(var d=1;d<arguments.length;d++)u[d-1]=arguments[d];h.push(new a(s,u)),h.length===1&&!l&&p(r)};function a(s,u){this.fun=s,this.array=u}a.prototype.run=function(){this.fun.apply(null,this.array)},w.title="browser",w.browser=!0,w.env={},w.argv=[],w.version="",w.versions={};function t(){}w.on=t,w.addListener=t,w.once=t,w.off=t,w.removeListener=t,w.removeAllListeners=t,w.emit=t,w.prependListener=t,w.prependOnceListener=t,w.listeners=function(s){return[]},w.binding=function(s){throw new Error("process.binding is not supported")},w.cwd=function(){return"/"},w.chdir=function(s){throw new Error("process.chdir is not supported")},w.umask=function(){return 0}},{}],209:[function(M,B,o){(function(w){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(f){var A=typeof o=="object"&&o&&!o.nodeType&&o,m=typeof B=="object"&&B&&!B.nodeType&&B,g=typeof w=="object"&&w;(g.global===g||g.window===g||g.self===g)&&(f=g);var p,c=2147483647,h=36,l=1,e=26,n=38,i=700,r=72,a=128,t="-",s=/^xn--/,u=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,v={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=h-l,S=Math.floor,b=String.fromCharCode,E;function C(U){throw new RangeError(v[U])}function T(U,H){for(var j=U.length,K=[];j--;)K[j]=H(U[j]);return K}function x(U,H){var j=U.split("@"),K="";j.length>1&&(K=j[0]+"@",U=j[1]),U=U.replace(d,".");var X=U.split("."),z=T(X,H).join(".");return K+z}function _(U){for(var H=[],j=0,K=U.length,X,z;j<K;)X=U.charCodeAt(j++),X>=55296&&X<=56319&&j<K?(z=U.charCodeAt(j++),(z&64512)==56320?H.push(((X&1023)<<10)+(z&1023)+65536):(H.push(X),j--)):H.push(X);return H}function I(U){return T(U,function(H){var j="";return H>65535&&(H-=65536,j+=b(H>>>10&1023|55296),H=56320|H&1023),j+=b(H),j}).join("")}function L(U){return U-48<10?U-22:U-65<26?U-65:U-97<26?U-97:h}function R(U,H){return U+22+75*(U<26)-((H!=0)<<5)}function k(U,H,j){var K=0;for(U=j?S(U/i):U>>1,U+=S(U/H);U>y*e>>1;K+=h)U=S(U/y);return S(K+(y+1)*U/(U+n))}function F(U){var H=[],j=U.length,K,X=0,z=a,Y=r,$,ne,J,ge,de,Ie,be,Ce,je;for($=U.lastIndexOf(t),$<0&&($=0),ne=0;ne<$;++ne)U.charCodeAt(ne)>=128&&C("not-basic"),H.push(U.charCodeAt(ne));for(J=$>0?$+1:0;J<j;){for(ge=X,de=1,Ie=h;!(J>=j&&C("invalid-input"),be=L(U.charCodeAt(J++)),(be>=h||be>S((c-X)/de))&&C("overflow"),X+=be*de,Ce=Ie<=Y?l:Ie>=Y+e?e:Ie-Y,be<Ce);Ie+=h)je=h-Ce,de>S(c/je)&&C("overflow"),de*=je;K=H.length+1,Y=k(X-ge,K,ge==0),S(X/K)>c-z&&C("overflow"),z+=S(X/K),X%=K,H.splice(X++,0,z)}return I(H)}function P(U){var H,j,K,X,z,Y,$,ne,J,ge,de,Ie=[],be,Ce,je,te;for(U=_(U),be=U.length,H=a,j=0,z=r,Y=0;Y<be;++Y)de=U[Y],de<128&&Ie.push(b(de));for(K=X=Ie.length,X&&Ie.push(t);K<be;){for($=c,Y=0;Y<be;++Y)de=U[Y],de>=H&&de<$&&($=de);for(Ce=K+1,$-H>S((c-j)/Ce)&&C("overflow"),j+=($-H)*Ce,H=$,Y=0;Y<be;++Y)if(de=U[Y],de<H&&++j>c&&C("overflow"),de==H){for(ne=j,J=h;!(ge=J<=z?l:J>=z+e?e:J-z,ne<ge);J+=h)te=ne-ge,je=h-ge,Ie.push(b(R(ge+te%je,0))),ne=S(te/je);Ie.push(b(R(ne,0))),z=k(j,Ce,K==X),j=0,++K}++j,++H}return Ie.join("")}function W(U){return x(U,function(H){return s.test(H)?F(H.slice(4).toLowerCase()):H})}function D(U){return x(U,function(H){return u.test(H)?"xn--"+P(H):H})}if(p={version:"1.4.1",ucs2:{decode:_,encode:I},decode:F,encode:P,toASCII:D,toUnicode:W},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return p});else if(A&&m)if(B.exports==A)m.exports=p;else for(E in p)p.hasOwnProperty(E)&&(A[E]=p[E]);else f.punycode=p})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(M,B,o){"use strict";function w(A,m){return Object.prototype.hasOwnProperty.call(A,m)}B.exports=function(A,m,g,p){m=m||"&",g=g||"=";var c={};if(typeof A!="string"||A.length===0)return c;var h=/\+/g;A=A.split(m);var l=1e3;p&&typeof p.maxKeys=="number"&&(l=p.maxKeys);var e=A.length;l>0&&e>l&&(e=l);for(var n=0;n<e;++n){var i=A[n].replace(h,"%20"),r=i.indexOf(g),a,t,s,u;r>=0?(a=i.substr(0,r),t=i.substr(r+1)):(a=i,t=""),s=decodeURIComponent(a),u=decodeURIComponent(t),w(c,s)?f(c[s])?c[s].push(u):c[s]=[c[s],u]:c[s]=u}return c};var f=Array.isArray||function(A){return Object.prototype.toString.call(A)==="[object Array]"}},{}],211:[function(M,B,o){"use strict";var w=function(p){switch(typeof p){case"string":return p;case"boolean":return p?"true":"false";case"number":return isFinite(p)?p:"";default:return""}};B.exports=function(g,p,c,h){return p=p||"&",c=c||"=",g===null&&(g=void 0),typeof g=="object"?A(m(g),function(l){var e=encodeURIComponent(w(l))+c;return f(g[l])?A(g[l],function(n){return e+encodeURIComponent(w(n))}).join(p):e+encodeURIComponent(w(g[l]))}).join(p):h?encodeURIComponent(w(h))+c+encodeURIComponent(w(g)):""};var f=Array.isArray||function(g){return Object.prototype.toString.call(g)==="[object Array]"};function A(g,p){if(g.map)return g.map(p);for(var c=[],h=0;h<g.length;h++)c.push(p(g[h],h));return c}var m=Object.keys||function(g){var p=[];for(var c in g)Object.prototype.hasOwnProperty.call(g,c)&&p.push(c);return p}},{}],212:[function(M,B,o){"use strict";o.decode=o.parse=M("./decode"),o.encode=o.stringify=M("./encode")},{"./decode":210,"./encode":211}],213:[function(M,B,o){B.exports=M("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/create"),f=g(w),A=M("babel-runtime/core-js/object/keys"),m=g(A);function g(u){return u&&u.__esModule?u:{default:u}}var p=M("process-nextick-args"),c=m.default||function(u){var d=[];for(var v in u)d.push(v);return d};B.exports=a;var h=(0,f.default)(M("core-util-is"));h.inherits=M("inherits");var l=M("./_stream_readable"),e=M("./_stream_writable");h.inherits(a,l);for(var n=c(e.prototype),i=0;i<n.length;i++){var r=n[i];a.prototype[r]||(a.prototype[r]=e.prototype[r])}function a(u){if(!(this instanceof a))return new a(u);l.call(this,u),e.call(this,u),u&&u.readable===!1&&(this.readable=!1),u&&u.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,u&&u.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",t)}Object.defineProperty(a.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function t(){if(this.allowHalfOpen||this._writableState.ended)return;p.nextTick(s,this)}function s(u){u.end()}Object.defineProperty(a.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(d){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=d,this._writableState.destroyed=d}}),a.prototype._destroy=function(u,d){this.push(null),this.end(),p.nextTick(d,u)}},{"./_stream_readable":216,"./_stream_writable":218,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60,"core-util-is":189,inherits:196,"process-nextick-args":207}],215:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/create"),f=A(w);function A(c){return c&&c.__esModule?c:{default:c}}B.exports=p;var m=M("./_stream_transform"),g=(0,f.default)(M("core-util-is"));g.inherits=M("inherits"),g.inherits(p,m);function p(c){if(!(this instanceof p))return new p(c);m.call(this,c)}p.prototype._transform=function(c,h,l){l(null,c)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(M,B,o){(function(w,f){"use strict";var A=M("babel-runtime/core-js/object/get-prototype-of"),m=c(A),g=M("babel-runtime/core-js/object/create"),p=c(g);function c(te){return te&&te.__esModule?te:{default:te}}var h=M("process-nextick-args");B.exports=_;var l=M("isarray"),e;_.ReadableState=x;var n=M("events").EventEmitter,i=function(ve,$e){return ve.listeners($e).length},r=M("./internal/streams/stream"),a=M("safe-buffer").Buffer,t=f.Uint8Array||function(){};function s(te){return a.from(te)}function u(te){return a.isBuffer(te)||te instanceof t}var d=(0,p.default)(M("core-util-is"));d.inherits=M("inherits");var v=M("util"),y=void 0;v&&v.debuglog?y=v.debuglog("stream"):y=function(){};var S=M("./internal/streams/BufferList"),b=M("./internal/streams/destroy"),E;d.inherits(_,r);var C=["error","close","destroy","pause","resume"];function T(te,ve,$e){if(typeof te.prependListener=="function")return te.prependListener(ve,$e);!te._events||!te._events[ve]?te.on(ve,$e):l(te._events[ve])?te._events[ve].unshift($e):te._events[ve]=[$e,te._events[ve]]}function x(te,ve){e=e||M("./_stream_duplex"),te=te||{};var $e=ve instanceof e;this.objectMode=!!te.objectMode,$e&&(this.objectMode=this.objectMode||!!te.readableObjectMode);var Le=te.highWaterMark,he=te.readableHighWaterMark,ee=this.objectMode?16:16*1024;Le||Le===0?this.highWaterMark=Le:$e&&(he||he===0)?this.highWaterMark=he:this.highWaterMark=ee,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new S,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&&(E||(E=M("string_decoder/").StringDecoder),this.decoder=new E(te.encoding),this.encoding=te.encoding)}function _(te){if(e=e||M("./_stream_duplex"),!(this instanceof _))return new _(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)),r.call(this)}Object.defineProperty(_.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(ve){if(!this._readableState)return;this._readableState.destroyed=ve}}),_.prototype.destroy=b.destroy,_.prototype._undestroy=b.undestroy,_.prototype._destroy=function(te,ve){this.push(null),ve(te)},_.prototype.push=function(te,ve){var $e=this._readableState,Le;return $e.objectMode?Le=!0:typeof te=="string"&&(ve=ve||$e.defaultEncoding,ve!==$e.encoding&&(te=a.from(te,ve),ve=""),Le=!0),I(this,te,ve,!1,Le)},_.prototype.unshift=function(te){return I(this,te,null,!0,!1)};function I(te,ve,$e,Le,he){var ee=te._readableState;if(ve===null)ee.reading=!1,D(te,ee);else{var se;he||(se=R(ee,ve)),se?te.emit("error",se):ee.objectMode||ve&&ve.length>0?(typeof ve!="string"&&!ee.objectMode&&(0,m.default)(ve)!==a.prototype&&(ve=s(ve)),Le?ee.endEmitted?te.emit("error",new Error("stream.unshift() after end event")):L(te,ee,ve,!0):ee.ended?te.emit("error",new Error("stream.push() after EOF")):(ee.reading=!1,ee.decoder&&!$e?(ve=ee.decoder.write(ve),ee.objectMode||ve.length!==0?L(te,ee,ve,!1):j(te,ee)):L(te,ee,ve,!1))):Le||(ee.reading=!1)}return k(ee)}function L(te,ve,$e,Le){ve.flowing&&ve.length===0&&!ve.sync?(te.emit("data",$e),te.read(0)):(ve.length+=ve.objectMode?1:$e.length,Le?ve.buffer.unshift($e):ve.buffer.push($e),ve.needReadable&&U(te)),j(te,ve)}function R(te,ve){var $e;return!u(ve)&&typeof ve!="string"&&ve!==void 0&&!te.objectMode&&($e=new TypeError("Invalid non-string/buffer chunk")),$e}function k(te){return!te.ended&&(te.needReadable||te.length<te.highWaterMark||te.length===0)}_.prototype.isPaused=function(){return this._readableState.flowing===!1},_.prototype.setEncoding=function(te){return E||(E=M("string_decoder/").StringDecoder),this._readableState.decoder=new E(te),this._readableState.encoding=te,this};var F=8388608;function P(te){return te>=F?te=F:(te--,te|=te>>>1,te|=te>>>2,te|=te>>>4,te|=te>>>8,te|=te>>>16,te++),te}function W(te,ve){return te<=0||ve.length===0&&ve.ended?0:ve.objectMode?1:te!==te?ve.flowing&&ve.length?ve.buffer.head.data.length:ve.length:(te>ve.highWaterMark&&(ve.highWaterMark=P(te)),te<=ve.length?te:ve.ended?ve.length:(ve.needReadable=!0,0))}_.prototype.read=function(te){y("read",te),te=parseInt(te,10);var ve=this._readableState,$e=te;if(te!==0&&(ve.emittedReadable=!1),te===0&&ve.needReadable&&(ve.length>=ve.highWaterMark||ve.ended))return y("read: emitReadable",ve.length,ve.ended),ve.length===0&&ve.ended?be(this):U(this),null;if(te=W(te,ve),te===0&&ve.ended)return ve.length===0&&be(this),null;var Le=ve.needReadable;y("need readable",Le),(ve.length===0||ve.length-te<ve.highWaterMark)&&(Le=!0,y("length less than watermark",Le)),ve.ended||ve.reading?(Le=!1,y("reading or ended",Le)):Le&&(y("do read"),ve.reading=!0,ve.sync=!0,ve.length===0&&(ve.needReadable=!0),this._read(ve.highWaterMark),ve.sync=!1,ve.reading||(te=W($e,ve)));var he;return te>0?he=J(te,ve):he=null,he===null?(ve.needReadable=!0,te=0):ve.length-=te,ve.length===0&&(ve.ended||(ve.needReadable=!0),$e!==te&&ve.ended&&be(this)),he!==null&&this.emit("data",he),he};function D(te,ve){if(ve.ended)return;if(ve.decoder){var $e=ve.decoder.end();$e&&$e.length&&(ve.buffer.push($e),ve.length+=ve.objectMode?1:$e.length)}ve.ended=!0,U(te)}function U(te){var ve=te._readableState;ve.needReadable=!1,ve.emittedReadable||(y("emitReadable",ve.flowing),ve.emittedReadable=!0,ve.sync?h.nextTick(H,te):H(te))}function H(te){y("emit readable"),te.emit("readable"),ne(te)}function j(te,ve){ve.readingMore||(ve.readingMore=!0,h.nextTick(K,te,ve))}function K(te,ve){for(var $e=ve.length;!ve.reading&&!ve.flowing&&!ve.ended&&ve.length<ve.highWaterMark&&!(y("maybeReadMore read 0"),te.read(0),$e===ve.length);)$e=ve.length;ve.readingMore=!1}_.prototype._read=function(te){this.emit("error",new Error("_read() is not implemented"))},_.prototype.pipe=function(te,ve){var $e=this,Le=this._readableState;switch(Le.pipesCount){case 0:Le.pipes=te;break;case 1:Le.pipes=[Le.pipes,te];break;default:Le.pipes.push(te);break}Le.pipesCount+=1,y("pipe count=%d opts=%j",Le.pipesCount,ve);var he=(!ve||ve.end!==!1)&&te!==w.stdout&&te!==w.stderr,ee=he?Ue:Ze;Le.endEmitted?h.nextTick(ee):$e.once("end",ee),te.on("unpipe",se);function se(Ee,mt){y("onunpipe"),Ee===$e&&(mt&&mt.hasUnpiped===!1&&(mt.hasUnpiped=!0,Fe()))}function Ue(){y("onend"),te.end()}var ue=X($e);te.on("drain",ue);var Ne=!1;function Fe(){y("cleanup"),te.removeListener("close",ze),te.removeListener("finish",it),te.removeListener("drain",ue),te.removeListener("error",_e),te.removeListener("unpipe",se),$e.removeListener("end",Ue),$e.removeListener("end",Ze),$e.removeListener("data",ce),Ne=!0,Le.awaitDrain&&(!te._writableState||te._writableState.needDrain)&&ue()}var ae=!1;$e.on("data",ce);function ce(Ee){y("ondata"),ae=!1;var mt=te.write(Ee);mt===!1&&!ae&&((Le.pipesCount===1&&Le.pipes===te||Le.pipesCount>1&&je(Le.pipes,te)!==-1)&&!Ne&&(y("false write response, pause",$e._readableState.awaitDrain),$e._readableState.awaitDrain++,ae=!0),$e.pause())}function _e(Ee){y("onerror",Ee),Ze(),te.removeListener("error",_e),i(te,"error")===0&&te.emit("error",Ee)}T(te,"error",_e);function ze(){te.removeListener("finish",it),Ze()}te.once("close",ze);function it(){y("onfinish"),te.removeListener("close",ze),Ze()}te.once("finish",it);function Ze(){y("unpipe"),$e.unpipe(te)}return te.emit("pipe",$e),Le.flowing||(y("pipe resume"),$e.resume()),te};function X(te){return function(){var ve=te._readableState;y("pipeOnDrain",ve.awaitDrain),ve.awaitDrain&&ve.awaitDrain--,ve.awaitDrain===0&&i(te,"data")&&(ve.flowing=!0,ne(te))}}_.prototype.unpipe=function(te){var ve=this._readableState,$e={hasUnpiped:!1};if(ve.pipesCount===0)return this;if(ve.pipesCount===1)return te&&te!==ve.pipes?this:(te||(te=ve.pipes),ve.pipes=null,ve.pipesCount=0,ve.flowing=!1,te&&te.emit("unpipe",this,$e),this);if(!te){var Le=ve.pipes,he=ve.pipesCount;ve.pipes=null,ve.pipesCount=0,ve.flowing=!1;for(var ee=0;ee<he;ee++)Le[ee].emit("unpipe",this,$e);return this}var se=je(ve.pipes,te);return se===-1?this:(ve.pipes.splice(se,1),ve.pipesCount-=1,ve.pipesCount===1&&(ve.pipes=ve.pipes[0]),te.emit("unpipe",this,$e),this)},_.prototype.on=function(te,ve){var $e=r.prototype.on.call(this,te,ve);if(te==="data")this._readableState.flowing!==!1&&this.resume();else if(te==="readable"){var Le=this._readableState;!Le.endEmitted&&!Le.readableListening&&(Le.readableListening=Le.needReadable=!0,Le.emittedReadable=!1,Le.reading?Le.length&&U(this):h.nextTick(z,this))}return $e},_.prototype.addListener=_.prototype.on;function z(te){y("readable nexttick read 0"),te.read(0)}_.prototype.resume=function(){var te=this._readableState;return te.flowing||(y("resume"),te.flowing=!0,Y(this,te)),this};function Y(te,ve){ve.resumeScheduled||(ve.resumeScheduled=!0,h.nextTick($,te,ve))}function $(te,ve){ve.reading||(y("resume read 0"),te.read(0)),ve.resumeScheduled=!1,ve.awaitDrain=0,te.emit("resume"),ne(te),ve.flowing&&!ve.reading&&te.read(0)}_.prototype.pause=function(){return y("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(y("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function ne(te){var ve=te._readableState;for(y("flow",ve.flowing);ve.flowing&&te.read()!==null;);}_.prototype.wrap=function(te){var ve=this,$e=this._readableState,Le=!1;te.on("end",function(){if(y("wrapped end"),$e.decoder&&!$e.ended){var se=$e.decoder.end();se&&se.length&&ve.push(se)}ve.push(null)}),te.on("data",function(se){if(y("wrapped data"),$e.decoder&&(se=$e.decoder.write(se)),$e.objectMode&&se==null)return;if(!$e.objectMode&&(!se||!se.length))return;var Ue=ve.push(se);Ue||(Le=!0,te.pause())});for(var he in te)this[he]===void 0&&typeof te[he]=="function"&&(this[he]=function(se){return function(){return te[se].apply(te,arguments)}}(he));for(var ee=0;ee<C.length;ee++)te.on(C[ee],this.emit.bind(this,C[ee]));return this._read=function(se){y("wrapped _read",se),Le&&(Le=!1,te.resume())},this},Object.defineProperty(_.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),_._fromList=J;function J(te,ve){if(ve.length===0)return null;var $e;return ve.objectMode?$e=ve.buffer.shift():!te||te>=ve.length?(ve.decoder?$e=ve.buffer.join(""):ve.buffer.length===1?$e=ve.buffer.head.data:$e=ve.buffer.concat(ve.length),ve.buffer.clear()):$e=ge(te,ve.buffer,ve.decoder),$e}function ge(te,ve,$e){var Le;return te<ve.head.data.length?(Le=ve.head.data.slice(0,te),ve.head.data=ve.head.data.slice(te)):te===ve.head.data.length?Le=ve.shift():Le=$e?de(te,ve):Ie(te,ve),Le}function de(te,ve){var $e=ve.head,Le=1,he=$e.data;for(te-=he.length;$e=$e.next;){var ee=$e.data,se=te>ee.length?ee.length:te;if(se===ee.length?he+=ee:he+=ee.slice(0,te),te-=se,te===0){se===ee.length?(++Le,$e.next?ve.head=$e.next:ve.head=ve.tail=null):(ve.head=$e,$e.data=ee.slice(se));break}++Le}return ve.length-=Le,he}function Ie(te,ve){var $e=a.allocUnsafe(te),Le=ve.head,he=1;for(Le.data.copy($e),te-=Le.data.length;Le=Le.next;){var ee=Le.data,se=te>ee.length?ee.length:te;if(ee.copy($e,$e.length-te,0,se),te-=se,te===0){se===ee.length?(++he,Le.next?ve.head=Le.next:ve.head=ve.tail=null):(ve.head=Le,Le.data=ee.slice(se));break}++he}return ve.length-=he,$e}function be(te){var ve=te._readableState;if(ve.length>0)throw new Error('"endReadable()" called on non-empty stream');ve.endEmitted||(ve.ended=!0,h.nextTick(Ce,ve,te))}function Ce(te,ve){!te.endEmitted&&te.length===0&&(te.endEmitted=!0,ve.readable=!1,ve.emit("end"))}function je(te,ve){for(var $e=0,Le=te.length;$e<Le;$e++)if(te[$e]===ve)return $e;return-1}}).call(this,M("_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(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/create"),f=A(w);function A(e){return e&&e.__esModule?e:{default:e}}B.exports=c;var m=M("./_stream_duplex"),g=(0,f.default)(M("core-util-is"));g.inherits=M("inherits"),g.inherits(c,m);function p(e,n){var i=this._transformState;i.transforming=!1;var r=i.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));i.writechunk=null,i.writecb=null,n!=null&&this.push(n),r(e);var a=this._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);m.call(this,e),this._transformState={afterTransform:p.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",h)}function h(){var e=this;typeof this._flush=="function"?this._flush(function(n,i){l(e,n,i)}):l(this,null,null)}c.prototype.push=function(e,n){return this._transformState.needTransform=!1,m.prototype.push.call(this,e,n)},c.prototype._transform=function(e,n,i){throw new Error("_transform() is not implemented")},c.prototype._write=function(e,n,i){var r=this._transformState;if(r.writecb=i,r.writechunk=e,r.writeencoding=n,!r.transforming){var a=this._readableState;(r.needTransform||a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}},c.prototype._read=function(e){var n=this._transformState;n.writechunk!==null&&n.writecb&&!n.transforming?(n.transforming=!0,this._transform(n.writechunk,n.writeencoding,n.afterTransform)):n.needTransform=!0},c.prototype._destroy=function(e,n){var i=this;m.prototype._destroy.call(this,e,function(r){n(r),i.emit("close")})};function l(e,n,i){if(n)return e.emit("error",n);if(i!=null&&e.push(i),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}},{"./_stream_duplex":214,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],218:[function(M,B,o){(function(w,f){"use strict";var A=M("babel-runtime/core-js/object/define-property"),m=r(A),g=M("babel-runtime/core-js/symbol/has-instance"),p=r(g),c=M("babel-runtime/core-js/symbol"),h=r(c),l=M("babel-runtime/core-js/object/create"),e=r(l),n=M("babel-runtime/core-js/set-immediate"),i=r(n);function r(Ie){return Ie&&Ie.__esModule?Ie:{default:Ie}}var a=M("process-nextick-args");B.exports=R;function t(Ie,be,Ce){this.chunk=Ie,this.encoding=be,this.callback=Ce,this.next=null}function s(Ie){var be=this;this.next=null,this.entry=null,this.finish=function(){de(be,Ie)}}var u=!w.browser&&["v0.10","v0.9."].indexOf(w.version.slice(0,5))>-1?i.default:a.nextTick,d;R.WritableState=I;var v=(0,e.default)(M("core-util-is"));v.inherits=M("inherits");var y={deprecate:M("util-deprecate")},S=M("./internal/streams/stream"),b=M("safe-buffer").Buffer,E=f.Uint8Array||function(){};function C(Ie){return b.from(Ie)}function T(Ie){return b.isBuffer(Ie)||Ie instanceof E}var x=M("./internal/streams/destroy");v.inherits(R,S);function _(){}function I(Ie,be){d=d||M("./_stream_duplex"),Ie=Ie||{};var Ce=be instanceof d;this.objectMode=!!Ie.objectMode,Ce&&(this.objectMode=this.objectMode||!!Ie.writableObjectMode);var je=Ie.highWaterMark,te=Ie.writableHighWaterMark,ve=this.objectMode?16:16*1024;je||je===0?this.highWaterMark=je:Ce&&(te||te===0)?this.highWaterMark=te:this.highWaterMark=ve,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 $e=Ie.decodeStrings===!1;this.decodeStrings=!$e,this.defaultEncoding=Ie.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Le){j(be,Le)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}I.prototype.getBuffer=function(){for(var be=this.bufferedRequest,Ce=[];be;)Ce.push(be),be=be.next;return Ce},function(){try{Object.defineProperty(I.prototype,"buffer",{get:y.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ie){}}();var L;typeof h.default=="function"&&p.default&&typeof Function.prototype[p.default]=="function"?(L=Function.prototype[p.default],(0,m.default)(R,p.default,{value:function(be){return L.call(this,be)?!0:this!==R?!1:be&&be._writableState instanceof I}})):L=function(be){return be instanceof this};function R(Ie){if(d=d||M("./_stream_duplex"),!L.call(R,this)&&!(this instanceof d))return new R(Ie);this._writableState=new I(Ie,this),this.writable=!0,Ie&&(typeof Ie.write=="function"&&(this._write=Ie.write),typeof Ie.writev=="function"&&(this._writev=Ie.writev),typeof Ie.destroy=="function"&&(this._destroy=Ie.destroy),typeof Ie.final=="function"&&(this._final=Ie.final)),S.call(this)}R.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function k(Ie,be){var Ce=new Error("write after end");Ie.emit("error",Ce),a.nextTick(be,Ce)}function F(Ie,be,Ce,je){var te=!0,ve=!1;return Ce===null?ve=new TypeError("May not write null values to stream"):typeof Ce!="string"&&Ce!==void 0&&!be.objectMode&&(ve=new TypeError("Invalid non-string/buffer chunk")),ve&&(Ie.emit("error",ve),a.nextTick(je,ve),te=!1),te}R.prototype.write=function(Ie,be,Ce){var je=this._writableState,te=!1,ve=!je.objectMode&&T(Ie);return ve&&!b.isBuffer(Ie)&&(Ie=C(Ie)),typeof be=="function"&&(Ce=be,be=null),ve?be="buffer":be||(be=je.defaultEncoding),typeof Ce!="function"&&(Ce=_),je.ended?k(this,Ce):(ve||F(this,je,Ie,Ce))&&(je.pendingcb++,te=W(this,je,ve,Ie,be,Ce)),te},R.prototype.cork=function(){var Ie=this._writableState;Ie.corked++},R.prototype.uncork=function(){var Ie=this._writableState;Ie.corked&&(Ie.corked--,!Ie.writing&&!Ie.corked&&!Ie.finished&&!Ie.bufferProcessing&&Ie.bufferedRequest&&z(this,Ie))},R.prototype.setDefaultEncoding=function(be){if(typeof be=="string"&&(be=be.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((be+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+be);return this._writableState.defaultEncoding=be,this};function P(Ie,be,Ce){return!Ie.objectMode&&Ie.decodeStrings!==!1&&typeof be=="string"&&(be=b.from(be,Ce)),be}Object.defineProperty(R.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function W(Ie,be,Ce,je,te,ve){if(!Ce){var $e=P(be,je,te);je!==$e&&(Ce=!0,te="buffer",je=$e)}var Le=be.objectMode?1:je.length;be.length+=Le;var he=be.length<be.highWaterMark;if(he||(be.needDrain=!0),be.writing||be.corked){var ee=be.lastBufferedRequest;be.lastBufferedRequest={chunk:je,encoding:te,isBuf:Ce,callback:ve,next:null},ee?ee.next=be.lastBufferedRequest:be.bufferedRequest=be.lastBufferedRequest,be.bufferedRequestCount+=1}else D(Ie,be,!1,Le,je,te,ve);return he}function D(Ie,be,Ce,je,te,ve,$e){be.writelen=je,be.writecb=$e,be.writing=!0,be.sync=!0,Ce?Ie._writev(te,be.onwrite):Ie._write(te,ve,be.onwrite),be.sync=!1}function U(Ie,be,Ce,je,te){--be.pendingcb,Ce?(a.nextTick(te,je),a.nextTick(J,Ie,be),Ie._writableState.errorEmitted=!0,Ie.emit("error",je)):(te(je),Ie._writableState.errorEmitted=!0,Ie.emit("error",je),J(Ie,be))}function H(Ie){Ie.writing=!1,Ie.writecb=null,Ie.length-=Ie.writelen,Ie.writelen=0}function j(Ie,be){var Ce=Ie._writableState,je=Ce.sync,te=Ce.writecb;if(H(Ce),be)U(Ie,Ce,je,be,te);else{var ve=Y(Ce);!ve&&!Ce.corked&&!Ce.bufferProcessing&&Ce.bufferedRequest&&z(Ie,Ce),je?u(K,Ie,Ce,ve,te):K(Ie,Ce,ve,te)}}function K(Ie,be,Ce,je){Ce||X(Ie,be),be.pendingcb--,je(),J(Ie,be)}function X(Ie,be){be.length===0&&be.needDrain&&(be.needDrain=!1,Ie.emit("drain"))}function z(Ie,be){be.bufferProcessing=!0;var Ce=be.bufferedRequest;if(Ie._writev&&Ce&&Ce.next){var je=be.bufferedRequestCount,te=new Array(je),ve=be.corkedRequestsFree;ve.entry=Ce;for(var $e=0,Le=!0;Ce;)te[$e]=Ce,Ce.isBuf||(Le=!1),Ce=Ce.next,$e+=1;te.allBuffers=Le,D(Ie,be,!0,be.length,te,"",ve.finish),be.pendingcb++,be.lastBufferedRequest=null,ve.next?(be.corkedRequestsFree=ve.next,ve.next=null):be.corkedRequestsFree=new s(be),be.bufferedRequestCount=0}else{for(;Ce;){var he=Ce.chunk,ee=Ce.encoding,se=Ce.callback,Ue=be.objectMode?1:he.length;if(D(Ie,be,!1,Ue,he,ee,se),Ce=Ce.next,be.bufferedRequestCount--,be.writing)break}Ce===null&&(be.lastBufferedRequest=null)}be.bufferedRequest=Ce,be.bufferProcessing=!1}R.prototype._write=function(Ie,be,Ce){Ce(new Error("_write() is not implemented"))},R.prototype._writev=null,R.prototype.end=function(Ie,be,Ce){var je=this._writableState;typeof Ie=="function"?(Ce=Ie,Ie=null,be=null):typeof be=="function"&&(Ce=be,be=null),Ie!=null&&this.write(Ie,be),je.corked&&(je.corked=1,this.uncork()),!je.ending&&!je.finished&&ge(this,je,Ce)};function Y(Ie){return Ie.ending&&Ie.length===0&&Ie.bufferedRequest===null&&!Ie.finished&&!Ie.writing}function $(Ie,be){Ie._final(function(Ce){be.pendingcb--,Ce&&Ie.emit("error",Ce),be.prefinished=!0,Ie.emit("prefinish"),J(Ie,be)})}function ne(Ie,be){!be.prefinished&&!be.finalCalled&&(typeof Ie._final=="function"?(be.pendingcb++,be.finalCalled=!0,a.nextTick($,Ie,be)):(be.prefinished=!0,Ie.emit("prefinish")))}function J(Ie,be){var Ce=Y(be);return Ce&&(ne(Ie,be),be.pendingcb===0&&(be.finished=!0,Ie.emit("finish"))),Ce}function ge(Ie,be,Ce){be.ending=!0,J(Ie,be),Ce&&(be.finished?a.nextTick(Ce):Ie.once("finish",Ce)),be.ended=!0,Ie.writable=!1}function de(Ie,be,Ce){var je=Ie.entry;for(Ie.entry=null;je;){var te=je.callback;be.pendingcb--,te(Ce),je=je.next}be.corkedRequestsFree?be.corkedRequestsFree.next=Ie:be.corkedRequestsFree=Ie}Object.defineProperty(R.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(be){if(!this._writableState)return;this._writableState.destroyed=be}}),R.prototype.destroy=x.destroy,R.prototype._undestroy=x.undestroy,R.prototype._destroy=function(Ie,be){this.end(),be(Ie)}}).call(this,M("_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(M,B,o){"use strict";function w(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}var f=M("safe-buffer").Buffer,A=M("util");function m(g,p,c){g.copy(p,c)}B.exports=function(){function g(){w(this,g),this.head=null,this.tail=null,this.length=0}return g.prototype.push=function(c){var h={data:c,next:null};this.length>0?this.tail.next=h:this.head=h,this.tail=h,++this.length},g.prototype.unshift=function(c){var h={data:c,next:this.head};this.length===0&&(this.tail=h),this.head=h,++this.length},g.prototype.shift=function(){if(this.length===0)return;var c=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,c},g.prototype.clear=function(){this.head=this.tail=null,this.length=0},g.prototype.join=function(c){if(this.length===0)return"";for(var h=this.head,l=""+h.data;h=h.next;)l+=c+h.data;return l},g.prototype.concat=function(c){if(this.length===0)return f.alloc(0);if(this.length===1)return this.head.data;for(var h=f.allocUnsafe(c>>>0),l=this.head,e=0;l;)m(l.data,h,e),e+=l.data.length,l=l.next;return h},g}(),A&&A.inspect&&A.inspect.custom&&(B.exports.prototype[A.inspect.custom]=function(){var g=A.inspect({length:this.length});return this.constructor.name+" "+g})},{"safe-buffer":228,util:71}],220:[function(M,B,o){"use strict";var w=M("process-nextick-args");function f(g,p){var c=this,h=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return h||l?(p?p(g):g&&(!this._writableState||!this._writableState.errorEmitted)&&w.nextTick(m,this,g),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(g||null,function(e){!p&&e?(w.nextTick(m,c,e),c._writableState&&(c._writableState.errorEmitted=!0)):p&&p(e)}),this)}function A(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function m(g,p){g.emit("error",p)}B.exports={destroy:f,undestroy:A}},{"process-nextick-args":207}],221:[function(M,B,o){"use strict";B.exports=M("events").EventEmitter},{events:192}],222:[function(M,B,o){B.exports=M("./readable").PassThrough},{"./readable":223}],223:[function(M,B,o){o=B.exports=M("./lib/_stream_readable.js"),o.Stream=o,o.Readable=o,o.Writable=M("./lib/_stream_writable.js"),o.Duplex=M("./lib/_stream_duplex.js"),o.Transform=M("./lib/_stream_transform.js"),o.PassThrough=M("./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(M,B,o){B.exports=M("./readable").Transform},{"./readable":223}],225:[function(M,B,o){B.exports=M("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(M,B,o){var w=function(){return this}()||Function("return this")(),f=w.regeneratorRuntime&&Object.getOwnPropertyNames(w).indexOf("regeneratorRuntime")>=0,A=f&&w.regeneratorRuntime;if(w.regeneratorRuntime=void 0,B.exports=M("./runtime"),f)w.regeneratorRuntime=A;else try{delete w.regeneratorRuntime}catch(m){w.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(M,B,o){!function(w){"use strict";var f=Object.prototype,A=f.hasOwnProperty,m,g=typeof Symbol=="function"?Symbol:{},p=g.iterator||"@@iterator",c=g.asyncIterator||"@@asyncIterator",h=g.toStringTag||"@@toStringTag",l=typeof B=="object",e=w.regeneratorRuntime;if(e){l&&(B.exports=e);return}e=w.regeneratorRuntime=l?B.exports:{};function n(W,D,U,H){var j=D&&D.prototype instanceof d?D:d,K=Object.create(j.prototype),X=new k(H||[]);return K._invoke=_(W,U,X),K}e.wrap=n;function i(W,D,U){try{return{type:"normal",arg:W.call(D,U)}}catch(H){return{type:"throw",arg:H}}}var r="suspendedStart",a="suspendedYield",t="executing",s="completed",u={};function d(){}function v(){}function y(){}var S={};S[p]=function(){return this};var b=Object.getPrototypeOf,E=b&&b(b(F([])));E&&E!==f&&A.call(E,p)&&(S=E);var C=y.prototype=d.prototype=Object.create(S);v.prototype=C.constructor=y,y.constructor=v,y[h]=v.displayName="GeneratorFunction";function T(W){["next","throw","return"].forEach(function(D){W[D]=function(U){return this._invoke(D,U)}})}e.isGeneratorFunction=function(W){var D=typeof W=="function"&&W.constructor;return D?D===v||(D.displayName||D.name)==="GeneratorFunction":!1},e.mark=function(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,y):(W.__proto__=y,h in W||(W[h]="GeneratorFunction")),W.prototype=Object.create(C),W},e.awrap=function(W){return{__await:W}};function x(W){function D(j,K,X,z){var Y=i(W[j],W,K);if(Y.type==="throw")z(Y.arg);else{var $=Y.arg,ne=$.value;return ne&&typeof ne=="object"&&A.call(ne,"__await")?Promise.resolve(ne.__await).then(function(J){D("next",J,X,z)},function(J){D("throw",J,X,z)}):Promise.resolve(ne).then(function(J){$.value=J,X($)},z)}}var U;function H(j,K){function X(){return new Promise(function(z,Y){D(j,K,z,Y)})}return U=U?U.then(X,X):X()}this._invoke=H}T(x.prototype),x.prototype[c]=function(){return this},e.AsyncIterator=x,e.async=function(W,D,U,H){var j=new x(n(W,D,U,H));return e.isGeneratorFunction(D)?j:j.next().then(function(K){return K.done?K.value:j.next()})};function _(W,D,U){var H=r;return function(K,X){if(H===t)throw new Error("Generator is already running");if(H===s){if(K==="throw")throw X;return P()}for(U.method=K,U.arg=X;;){var z=U.delegate;if(z){var Y=I(z,U);if(Y){if(Y===u)continue;return Y}}if(U.method==="next")U.sent=U._sent=U.arg;else if(U.method==="throw"){if(H===r)throw H=s,U.arg;U.dispatchException(U.arg)}else U.method==="return"&&U.abrupt("return",U.arg);H=t;var $=i(W,D,U);if($.type==="normal"){if(H=U.done?s:a,$.arg===u)continue;return{value:$.arg,done:U.done}}else $.type==="throw"&&(H=s,U.method="throw",U.arg=$.arg)}}}function I(W,D){var U=W.iterator[D.method];if(U===m){if(D.delegate=null,D.method==="throw"){if(W.iterator.return&&(D.method="return",D.arg=m,I(W,D),D.method==="throw"))return u;D.method="throw",D.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var H=i(U,W.iterator,D.arg);if(H.type==="throw")return D.method="throw",D.arg=H.arg,D.delegate=null,u;var j=H.arg;if(!j)return D.method="throw",D.arg=new TypeError("iterator result is not an object"),D.delegate=null,u;if(j.done)D[W.resultName]=j.value,D.next=W.nextLoc,D.method!=="return"&&(D.method="next",D.arg=m);else return j;return D.delegate=null,u}T(C),C[h]="Generator",C[p]=function(){return this},C.toString=function(){return"[object Generator]"};function L(W){var D={tryLoc:W[0]};1 in W&&(D.catchLoc=W[1]),2 in W&&(D.finallyLoc=W[2],D.afterLoc=W[3]),this.tryEntries.push(D)}function R(W){var D=W.completion||{};D.type="normal",delete D.arg,W.completion=D}function k(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(L,this),this.reset(!0)}e.keys=function(W){var D=[];for(var U in W)D.push(U);return D.reverse(),function H(){for(;D.length;){var j=D.pop();if(j in W)return H.value=j,H.done=!1,H}return H.done=!0,H}};function F(W){if(W){var D=W[p];if(D)return D.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var U=-1,H=function j(){for(;++U<W.length;)if(A.call(W,U))return j.value=W[U],j.done=!1,j;return j.value=m,j.done=!0,j};return H.next=H}}return{next:P}}e.values=F;function P(){return{value:m,done:!0}}k.prototype={constructor:k,reset:function(D){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(R),!D)for(var U in this)U.charAt(0)==="t"&&A.call(this,U)&&!isNaN(+U.slice(1))&&(this[U]=m)},stop:function(){this.done=!0;var D=this.tryEntries[0],U=D.completion;if(U.type==="throw")throw U.arg;return this.rval},dispatchException:function(D){if(this.done)throw D;var U=this;function H($,ne){return X.type="throw",X.arg=D,U.next=$,ne&&(U.method="next",U.arg=m),!!ne}for(var j=this.tryEntries.length-1;j>=0;--j){var K=this.tryEntries[j],X=K.completion;if(K.tryLoc==="root")return H("end");if(K.tryLoc<=this.prev){var z=A.call(K,"catchLoc"),Y=A.call(K,"finallyLoc");if(z&&Y){if(this.prev<K.catchLoc)return H(K.catchLoc,!0);if(this.prev<K.finallyLoc)return H(K.finallyLoc)}else if(z){if(this.prev<K.catchLoc)return H(K.catchLoc,!0)}else if(Y){if(this.prev<K.finallyLoc)return H(K.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(D,U){for(var H=this.tryEntries.length-1;H>=0;--H){var j=this.tryEntries[H];if(j.tryLoc<=this.prev&&A.call(j,"finallyLoc")&&this.prev<j.finallyLoc){var K=j;break}}K&&(D==="break"||D==="continue")&&K.tryLoc<=U&&U<=K.finallyLoc&&(K=null);var X=K?K.completion:{};return X.type=D,X.arg=U,K?(this.method="next",this.next=K.finallyLoc,u):this.complete(X)},complete:function(D,U){if(D.type==="throw")throw D.arg;return D.type==="break"||D.type==="continue"?this.next=D.arg:D.type==="return"?(this.rval=this.arg=D.arg,this.method="return",this.next="end"):D.type==="normal"&&U&&(this.next=U),u},finish:function(D){for(var U=this.tryEntries.length-1;U>=0;--U){var H=this.tryEntries[U];if(H.finallyLoc===D)return this.complete(H.completion,H.afterLoc),R(H),u}},catch:function(D){for(var U=this.tryEntries.length-1;U>=0;--U){var H=this.tryEntries[U];if(H.tryLoc===D){var j=H.completion;if(j.type==="throw"){var K=j.arg;R(H)}return K}}throw new Error("illegal catch attempt")},delegateYield:function(D,U,H){return this.delegate={iterator:F(D),resultName:U,nextLoc:H},this.method==="next"&&(this.arg=m),u}}}(function(){return this}()||Function("return this")())},{}],228:[function(M,B,o){var w=M("buffer"),f=w.Buffer;function A(g,p){for(var c in g)p[c]=g[c]}f.from&&f.alloc&&f.allocUnsafe&&f.allocUnsafeSlow?B.exports=w:(A(w,o),o.Buffer=m);function m(g,p,c){return f(g,p,c)}A(f,m),m.from=function(g,p,c){if(typeof g=="number")throw new TypeError("Argument must not be a number");return f(g,p,c)},m.alloc=function(g,p,c){if(typeof g!="number")throw new TypeError("Argument must be a number");var h=f(g);return p!==void 0?typeof c=="string"?h.fill(p,c):h.fill(p):h.fill(0),h},m.allocUnsafe=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return f(g)},m.allocUnsafeSlow=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return w.SlowBuffer(g)}},{buffer:73}],229:[function(M,B,o){(function(w){"use strict";var f=M("babel-runtime/core-js/string/from-code-point"),A=a(f),m=M("babel-runtime/core-js/json/stringify"),g=a(m),p=M("babel-runtime/helpers/typeof"),c=a(p),h=M("babel-runtime/core-js/object/define-property"),l=a(h),e=M("babel-runtime/core-js/object/keys"),n=a(e),i=M("babel-runtime/core-js/object/create"),r=a(i);function a(t){return t&&t.__esModule?t:{default:t}}(function(t){t.parser=function(ee,se){return new u(ee,se)},t.SAXParser=u,t.SAXStream=C,t.createStream=E,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 u(ee,se){if(!(this instanceof u))return new u(ee,se);var Ue=this;v(Ue),Ue.q=Ue.c="",Ue.bufferCheckPosition=t.MAX_BUFFER_LENGTH,Ue.opt=se||{},Ue.opt.lowercase=Ue.opt.lowercase||Ue.opt.lowercasetags,Ue.looseCase=Ue.opt.lowercase?"toLowerCase":"toUpperCase",Ue.tags=[],Ue.closed=Ue.closedRoot=Ue.sawRoot=!1,Ue.tag=Ue.error=null,Ue.strict=!!ee,Ue.noscript=!!(ee||Ue.opt.noscript),Ue.state=K.BEGIN,Ue.strictEntities=Ue.opt.strictEntities,Ue.ENTITIES=Ue.strictEntities?(0,r.default)(t.XML_ENTITIES):(0,r.default)(t.ENTITIES),Ue.attribList=[],Ue.opt.xmlns&&(Ue.ns=(0,r.default)(L)),Ue.trackPosition=Ue.opt.position!==!1,Ue.trackPosition&&(Ue.position=Ue.line=Ue.column=0),z(Ue,"onready")}r.default||(Object.create=function(ee){function se(){}se.prototype=ee;var Ue=new se;return Ue}),n.default||(Object.keys=function(ee){var se=[];for(var Ue in ee)ee.hasOwnProperty(Ue)&&se.push(Ue);return se});function d(ee){for(var se=Math.max(t.MAX_BUFFER_LENGTH,10),Ue=0,ue=0,Ne=s.length;ue<Ne;ue++){var Fe=ee[s[ue]].length;if(Fe>se)switch(s[ue]){case"textNode":$(ee);break;case"cdata":Y(ee,"oncdata",ee.cdata),ee.cdata="";break;case"script":Y(ee,"onscript",ee.script),ee.script="";break;default:J(ee,"Max buffer length exceeded: "+s[ue])}Ue=Math.max(Ue,Fe)}var ae=t.MAX_BUFFER_LENGTH-Ue;ee.bufferCheckPosition=ae+ee.position}function v(ee){for(var se=0,Ue=s.length;se<Ue;se++)ee[s[se]]=""}function y(ee){$(ee),ee.cdata!==""&&(Y(ee,"oncdata",ee.cdata),ee.cdata=""),ee.script!==""&&(Y(ee,"onscript",ee.script),ee.script="")}u.prototype={end:function(){ge(this)},write:he,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){y(this)}};var S;try{S=M("stream").Stream}catch(ee){S=function(){}}var b=t.EVENTS.filter(function(ee){return ee!=="error"&&ee!=="end"});function E(ee,se){return new C(ee,se)}function C(ee,se){if(!(this instanceof C))return new C(ee,se);S.apply(this),this._parser=new u(ee,se),this.writable=!0,this.readable=!0;var Ue=this;this._parser.onend=function(){Ue.emit("end")},this._parser.onerror=function(ue){Ue.emit("error",ue),Ue._parser.error=null},this._decoder=null,b.forEach(function(ue){(0,l.default)(Ue,"on"+ue,{get:function(){return Ue._parser["on"+ue]},set:function(Fe){if(!Fe)return Ue.removeAllListeners(ue),Ue._parser["on"+ue]=Fe,Fe;Ue.on(ue,Fe)},enumerable:!0,configurable:!1})})}C.prototype=(0,r.default)(S.prototype,{constructor:{value:C}}),C.prototype.write=function(ee){if(typeof w=="function"&&typeof w.isBuffer=="function"&&w.isBuffer(ee)){if(!this._decoder){var se=M("string_decoder").StringDecoder;this._decoder=new se("utf8")}ee=this._decoder.write(ee)}return this._parser.write(ee.toString()),this.emit("data",ee),!0},C.prototype.end=function(ee){return ee&&ee.length&&this.write(ee),this._parser.end(),!0},C.prototype.on=function(ee,se){var Ue=this;return!Ue._parser["on"+ee]&&b.indexOf(ee)!==-1&&(Ue._parser["on"+ee]=function(){var ue=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);ue.splice(0,0,ee),Ue.emit.apply(Ue,ue)}),S.prototype.on.call(Ue,ee,se)};var T="[CDATA[",x="DOCTYPE",_="http://www.w3.org/XML/1998/namespace",I="http://www.w3.org/2000/xmlns/",L={xml:_,xmlns:I},R=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,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-]/,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]/,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\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function W(ee){return ee===" "||ee===`
|
|
|
`||ee==="\r"||ee===" "}function D(ee){return ee==='"'||ee==="'"}function U(ee){return ee===">"||W(ee)}function H(ee,se){return ee.test(se)}function j(ee,se){return!H(ee,se)}var K=0;t.STATE={BEGIN:K++,BEGIN_WHITESPACE:K++,TEXT:K++,TEXT_ENTITY:K++,OPEN_WAKA:K++,SGML_DECL:K++,SGML_DECL_QUOTED:K++,DOCTYPE:K++,DOCTYPE_QUOTED:K++,DOCTYPE_DTD:K++,DOCTYPE_DTD_QUOTED:K++,COMMENT_STARTING:K++,COMMENT:K++,COMMENT_ENDING:K++,COMMENT_ENDED:K++,CDATA:K++,CDATA_ENDING:K++,CDATA_ENDING_2:K++,PROC_INST:K++,PROC_INST_BODY:K++,PROC_INST_ENDING:K++,OPEN_TAG:K++,OPEN_TAG_SLASH:K++,ATTRIB:K++,ATTRIB_NAME:K++,ATTRIB_NAME_SAW_WHITE:K++,ATTRIB_VALUE:K++,ATTRIB_VALUE_QUOTED:K++,ATTRIB_VALUE_CLOSED:K++,ATTRIB_VALUE_UNQUOTED:K++,ATTRIB_VALUE_ENTITY_Q:K++,ATTRIB_VALUE_ENTITY_U:K++,CLOSE_TAG:K++,CLOSE_TAG_SAW_WHITE:K++,SCRIPT:K++,SCRIPT_ENDING:K++},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,n.default)(t.ENTITIES).forEach(function(ee){var se=t.ENTITIES[ee],Ue=typeof se=="number"?String.fromCharCode(se):se;t.ENTITIES[ee]=Ue});for(var X in t.STATE)t.STATE[t.STATE[X]]=X;K=t.STATE;function z(ee,se,Ue){ee[se]&&ee[se](Ue)}function Y(ee,se,Ue){ee.textNode&&$(ee),z(ee,se,Ue)}function $(ee){ee.textNode=ne(ee.opt,ee.textNode),ee.textNode&&z(ee,"ontext",ee.textNode),ee.textNode=""}function ne(ee,se){return ee.trim&&(se=se.trim()),ee.normalize&&(se=se.replace(/\s+/g," ")),se}function J(ee,se){return $(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 ge(ee){return ee.sawRoot&&!ee.closedRoot&&de(ee,"Unclosed root tag"),ee.state!==K.BEGIN&&ee.state!==K.BEGIN_WHITESPACE&&ee.state!==K.TEXT&&J(ee,"Unexpected end"),$(ee),ee.c="",ee.closed=!0,z(ee,"onend"),u.call(ee,ee.strict,ee.opt),ee}function de(ee,se){if((typeof ee=="undefined"?"undefined":(0,c.default)(ee))!=="object"||!(ee instanceof u))throw new Error("bad call to strictFail");ee.strict&&J(ee,se)}function Ie(ee){ee.strict||(ee.tagName=ee.tagName[ee.looseCase]());var se=ee.tags[ee.tags.length-1]||ee,Ue=ee.tag={name:ee.tagName,attributes:{}};ee.opt.xmlns&&(Ue.ns=se.ns),ee.attribList.length=0,Y(ee,"onopentagstart",Ue)}function be(ee,se){var Ue=ee.indexOf(":"),ue=Ue<0?["",ee]:ee.split(":"),Ne=ue[0],Fe=ue[1];return se&&ee==="xmlns"&&(Ne="xmlns",Fe=""),{prefix:Ne,local:Fe}}function Ce(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=be(ee.attribName,!0),Ue=se.prefix,ue=se.local;if(Ue==="xmlns")if(ue==="xml"&&ee.attribValue!==_)de(ee,"xml: prefix must be bound to "+_+`
|
|
|
Actual: `+ee.attribValue);else if(ue==="xmlns"&&ee.attribValue!==I)de(ee,"xmlns: prefix must be bound to "+I+`
|
|
|
Actual: `+ee.attribValue);else{var Ne=ee.tag,Fe=ee.tags[ee.tags.length-1]||ee;Ne.ns===Fe.ns&&(Ne.ns=(0,r.default)(Fe.ns)),Ne.ns[ue]=ee.attribValue}ee.attribList.push([ee.attribName,ee.attribValue])}else ee.tag.attributes[ee.attribName]=ee.attribValue,Y(ee,"onattribute",{name:ee.attribName,value:ee.attribValue});ee.attribName=ee.attribValue=""}function je(ee,se){if(ee.opt.xmlns){var Ue=ee.tag,ue=be(ee.tagName);Ue.prefix=ue.prefix,Ue.local=ue.local,Ue.uri=Ue.ns[ue.prefix]||"",Ue.prefix&&!Ue.uri&&(de(ee,"Unbound namespace prefix: "+(0,g.default)(ee.tagName)),Ue.uri=ue.prefix);var Ne=ee.tags[ee.tags.length-1]||ee;Ue.ns&&Ne.ns!==Ue.ns&&(0,n.default)(Ue.ns).forEach(function(rt){Y(ee,"onopennamespace",{prefix:rt,uri:Ue.ns[rt]})});for(var Fe=0,ae=ee.attribList.length;Fe<ae;Fe++){var ce=ee.attribList[Fe],_e=ce[0],ze=ce[1],it=be(_e,!0),Ze=it.prefix,Ee=it.local,mt=Ze===""?"":Ue.ns[Ze]||"",Je={name:_e,value:ze,prefix:Ze,local:Ee,uri:mt};Ze&&Ze!=="xmlns"&&!mt&&(de(ee,"Unbound namespace prefix: "+(0,g.default)(Ze)),Je.uri=Ze),ee.tag.attributes[_e]=Je,Y(ee,"onattribute",Je)}ee.attribList.length=0}ee.tag.isSelfClosing=!!se,ee.sawRoot=!0,ee.tags.push(ee.tag),Y(ee,"onopentag",ee.tag),se||(!ee.noscript&&ee.tagName.toLowerCase()==="script"?ee.state=K.SCRIPT:ee.state=K.TEXT,ee.tag=null,ee.tagName=""),ee.attribName=ee.attribValue="",ee.attribList.length=0}function te(ee){if(!ee.tagName){de(ee,"Weird empty close tag."),ee.textNode+="</>",ee.state=K.TEXT;return}if(ee.script){if(ee.tagName!=="script"){ee.script+="</"+ee.tagName+">",ee.tagName="",ee.state=K.SCRIPT;return}Y(ee,"onscript",ee.script),ee.script=""}var se=ee.tags.length,Ue=ee.tagName;ee.strict||(Ue=Ue[ee.looseCase]());for(var ue=Ue;se--;){var Ne=ee.tags[se];if(Ne.name!==ue)de(ee,"Unexpected close tag");else break}if(se<0){de(ee,"Unmatched closing tag: "+ee.tagName),ee.textNode+="</"+ee.tagName+">",ee.state=K.TEXT;return}ee.tagName=Ue;for(var Fe=ee.tags.length;Fe-- >se;){var ae=ee.tag=ee.tags.pop();ee.tagName=ee.tag.name,Y(ee,"onclosetag",ee.tagName);var ce={};for(var _e in ae.ns)ce[_e]=ae.ns[_e];var ze=ee.tags[ee.tags.length-1]||ee;ee.opt.xmlns&&ae.ns!==ze.ns&&(0,n.default)(ae.ns).forEach(function(it){var Ze=ae.ns[it];Y(ee,"onclosenamespace",{prefix:it,uri:Ze})})}se===0&&(ee.closedRoot=!0),ee.tagName=ee.attribValue=ee.attribName="",ee.attribList.length=0,ee.state=K.TEXT}function ve(ee){var se=ee.entity,Ue=se.toLowerCase(),ue,Ne="";return ee.ENTITIES[se]?ee.ENTITIES[se]:ee.ENTITIES[Ue]?ee.ENTITIES[Ue]:(se=Ue,se.charAt(0)==="#"&&(se.charAt(1)==="x"?(se=se.slice(2),ue=parseInt(se,16),Ne=ue.toString(16)):(se=se.slice(1),ue=parseInt(se,10),Ne=ue.toString(10))),se=se.replace(/^0+/,""),isNaN(ue)||Ne.toLowerCase()!==se?(de(ee,"Invalid character entity"),"&"+ee.entity+";"):(0,A.default)(ue))}function $e(ee,se){se==="<"?(ee.state=K.OPEN_WAKA,ee.startTagPosition=ee.position):W(se)||(de(ee,"Non-whitespace before first tag."),ee.textNode=se,ee.state=K.TEXT)}function Le(ee,se){var Ue="";return se<ee.length&&(Ue=ee.charAt(se)),Ue}function he(ee){var se=this;if(this.error)throw this.error;if(se.closed)return J(se,"Cannot write after close. Assign an onready handler.");if(ee===null)return ge(se);(typeof ee=="undefined"?"undefined":(0,c.default)(ee))==="object"&&(ee=ee.toString());for(var Ue=0,ue="";!(ue=Le(ee,Ue++),se.c=ue,!ue);){se.trackPosition&&(se.position++,ue===`
|
|
|
`?(se.line++,se.column=0):se.column++);switch(se.state){case K.BEGIN:if(se.state=K.BEGIN_WHITESPACE,ue==="\uFEFF")continue;$e(se,ue);continue;case K.BEGIN_WHITESPACE:$e(se,ue);continue;case K.TEXT:if(se.sawRoot&&!se.closedRoot){for(var Ne=Ue-1;ue&&ue!=="<"&&ue!=="&";)ue=Le(ee,Ue++),ue&&se.trackPosition&&(se.position++,ue===`
|
|
|
`?(se.line++,se.column=0):se.column++);se.textNode+=ee.substring(Ne,Ue-1)}ue==="<"&&!(se.sawRoot&&se.closedRoot&&!se.strict)?(se.state=K.OPEN_WAKA,se.startTagPosition=se.position):(!W(ue)&&(!se.sawRoot||se.closedRoot)&&de(se,"Text data outside of root node."),ue==="&"?se.state=K.TEXT_ENTITY:se.textNode+=ue);continue;case K.SCRIPT:ue==="<"?se.state=K.SCRIPT_ENDING:se.script+=ue;continue;case K.SCRIPT_ENDING:ue==="/"?se.state=K.CLOSE_TAG:(se.script+="<"+ue,se.state=K.SCRIPT);continue;case K.OPEN_WAKA:if(ue==="!")se.state=K.SGML_DECL,se.sgmlDecl="";else if(!W(ue))if(H(R,ue))se.state=K.OPEN_TAG,se.tagName=ue;else if(ue==="/")se.state=K.CLOSE_TAG,se.tagName="";else if(ue==="?")se.state=K.PROC_INST,se.procInstName=se.procInstBody="";else{if(de(se,"Unencoded <"),se.startTagPosition+1<se.position){var Fe=se.position-se.startTagPosition;ue=new Array(Fe).join(" ")+ue}se.textNode+="<"+ue,se.state=K.TEXT}continue;case K.SGML_DECL:(se.sgmlDecl+ue).toUpperCase()===T?(Y(se,"onopencdata"),se.state=K.CDATA,se.sgmlDecl="",se.cdata=""):se.sgmlDecl+ue==="--"?(se.state=K.COMMENT,se.comment="",se.sgmlDecl=""):(se.sgmlDecl+ue).toUpperCase()===x?(se.state=K.DOCTYPE,(se.doctype||se.sawRoot)&&de(se,"Inappropriately located doctype declaration"),se.doctype="",se.sgmlDecl=""):ue===">"?(Y(se,"onsgmldeclaration",se.sgmlDecl),se.sgmlDecl="",se.state=K.TEXT):(D(ue)&&(se.state=K.SGML_DECL_QUOTED),se.sgmlDecl+=ue);continue;case K.SGML_DECL_QUOTED:ue===se.q&&(se.state=K.SGML_DECL,se.q=""),se.sgmlDecl+=ue;continue;case K.DOCTYPE:ue===">"?(se.state=K.TEXT,Y(se,"ondoctype",se.doctype),se.doctype=!0):(se.doctype+=ue,ue==="["?se.state=K.DOCTYPE_DTD:D(ue)&&(se.state=K.DOCTYPE_QUOTED,se.q=ue));continue;case K.DOCTYPE_QUOTED:se.doctype+=ue,ue===se.q&&(se.q="",se.state=K.DOCTYPE);continue;case K.DOCTYPE_DTD:se.doctype+=ue,ue==="]"?se.state=K.DOCTYPE:D(ue)&&(se.state=K.DOCTYPE_DTD_QUOTED,se.q=ue);continue;case K.DOCTYPE_DTD_QUOTED:se.doctype+=ue,ue===se.q&&(se.state=K.DOCTYPE_DTD,se.q="");continue;case K.COMMENT:ue==="-"?se.state=K.COMMENT_ENDING:se.comment+=ue;continue;case K.COMMENT_ENDING:ue==="-"?(se.state=K.COMMENT_ENDED,se.comment=ne(se.opt,se.comment),se.comment&&Y(se,"oncomment",se.comment),se.comment=""):(se.comment+="-"+ue,se.state=K.COMMENT);continue;case K.COMMENT_ENDED:ue!==">"?(de(se,"Malformed comment"),se.comment+="--"+ue,se.state=K.COMMENT):se.state=K.TEXT;continue;case K.CDATA:ue==="]"?se.state=K.CDATA_ENDING:se.cdata+=ue;continue;case K.CDATA_ENDING:ue==="]"?se.state=K.CDATA_ENDING_2:(se.cdata+="]"+ue,se.state=K.CDATA);continue;case K.CDATA_ENDING_2:ue===">"?(se.cdata&&Y(se,"oncdata",se.cdata),Y(se,"onclosecdata"),se.cdata="",se.state=K.TEXT):ue==="]"?se.cdata+="]":(se.cdata+="]]"+ue,se.state=K.CDATA);continue;case K.PROC_INST:ue==="?"?se.state=K.PROC_INST_ENDING:W(ue)?se.state=K.PROC_INST_BODY:se.procInstName+=ue;continue;case K.PROC_INST_BODY:if(!se.procInstBody&&W(ue))continue;ue==="?"?se.state=K.PROC_INST_ENDING:se.procInstBody+=ue;continue;case K.PROC_INST_ENDING:ue===">"?(Y(se,"onprocessinginstruction",{name:se.procInstName,body:se.procInstBody}),se.procInstName=se.procInstBody="",se.state=K.TEXT):(se.procInstBody+="?"+ue,se.state=K.PROC_INST_BODY);continue;case K.OPEN_TAG:H(k,ue)?se.tagName+=ue:(Ie(se),ue===">"?je(se):ue==="/"?se.state=K.OPEN_TAG_SLASH:(W(ue)||de(se,"Invalid character in tag name"),se.state=K.ATTRIB));continue;case K.OPEN_TAG_SLASH:ue===">"?(je(se,!0),te(se)):(de(se,"Forward-slash in opening tag not followed by >"),se.state=K.ATTRIB);continue;case K.ATTRIB:if(W(ue))continue;ue===">"?je(se):ue==="/"?se.state=K.OPEN_TAG_SLASH:H(R,ue)?(se.attribName=ue,se.attribValue="",se.state=K.ATTRIB_NAME):de(se,"Invalid attribute name");continue;case K.ATTRIB_NAME:ue==="="?se.state=K.ATTRIB_VALUE:ue===">"?(de(se,"Attribute without value"),se.attribValue=se.attribName,Ce(se),je(se)):W(ue)?se.state=K.ATTRIB_NAME_SAW_WHITE:H(k,ue)?se.attribName+=ue:de(se,"Invalid attribute name");continue;case K.ATTRIB_NAME_SAW_WHITE:if(ue==="=")se.state=K.ATTRIB_VALUE;else{if(W(ue))continue;de(se,"Attribute without value"),se.tag.attributes[se.attribName]="",se.attribValue="",Y(se,"onattribute",{name:se.attribName,value:""}),se.attribName="",ue===">"?je(se):H(R,ue)?(se.attribName=ue,se.state=K.ATTRIB_NAME):(de(se,"Invalid attribute name"),se.state=K.ATTRIB)}continue;case K.ATTRIB_VALUE:if(W(ue))continue;D(ue)?(se.q=ue,se.state=K.ATTRIB_VALUE_QUOTED):(de(se,"Unquoted attribute value"),se.state=K.ATTRIB_VALUE_UNQUOTED,se.attribValue=ue);continue;case K.ATTRIB_VALUE_QUOTED:if(ue!==se.q){ue==="&"?se.state=K.ATTRIB_VALUE_ENTITY_Q:se.attribValue+=ue;continue}Ce(se),se.q="",se.state=K.ATTRIB_VALUE_CLOSED;continue;case K.ATTRIB_VALUE_CLOSED:W(ue)?se.state=K.ATTRIB:ue===">"?je(se):ue==="/"?se.state=K.OPEN_TAG_SLASH:H(R,ue)?(de(se,"No whitespace between attributes"),se.attribName=ue,se.attribValue="",se.state=K.ATTRIB_NAME):de(se,"Invalid attribute name");continue;case K.ATTRIB_VALUE_UNQUOTED:if(!U(ue)){ue==="&"?se.state=K.ATTRIB_VALUE_ENTITY_U:se.attribValue+=ue;continue}Ce(se),ue===">"?je(se):se.state=K.ATTRIB;continue;case K.CLOSE_TAG:if(se.tagName)ue===">"?te(se):H(k,ue)?se.tagName+=ue:se.script?(se.script+="</"+se.tagName,se.tagName="",se.state=K.SCRIPT):(W(ue)||de(se,"Invalid tagname in closing tag"),se.state=K.CLOSE_TAG_SAW_WHITE);else{if(W(ue))continue;j(R,ue)?se.script?(se.script+="</"+ue,se.state=K.SCRIPT):de(se,"Invalid tagname in closing tag."):se.tagName=ue}continue;case K.CLOSE_TAG_SAW_WHITE:if(W(ue))continue;ue===">"?te(se):de(se,"Invalid characters in closing tag");continue;case K.TEXT_ENTITY:case K.ATTRIB_VALUE_ENTITY_Q:case K.ATTRIB_VALUE_ENTITY_U:var ae,ce;switch(se.state){case K.TEXT_ENTITY:ae=K.TEXT,ce="textNode";break;case K.ATTRIB_VALUE_ENTITY_Q:ae=K.ATTRIB_VALUE_QUOTED,ce="attribValue";break;case K.ATTRIB_VALUE_ENTITY_U:ae=K.ATTRIB_VALUE_UNQUOTED,ce="attribValue";break}ue===";"?(se[ce]+=ve(se),se.entity="",se.state=ae):H(se.entity.length?P:F,ue)?se.entity+=ue:(de(se,"Invalid character in entity name"),se[ce]+="&"+se.entity+ue,se.entity="",se.state=ae);continue;default:throw new Error(se,"Unknown state: "+se.state)}}return se.position>=se.bufferCheckPosition&&d(se),se}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */A.default||function(){var ee=String.fromCharCode,se=Math.floor,Ue=function(){var Ne=16384,Fe=[],ae,ce,_e=-1,ze=arguments.length;if(!ze)return"";for(var it="";++_e<ze;){var Ze=Number(arguments[_e]);if(!isFinite(Ze)||Ze<0||Ze>1114111||se(Ze)!==Ze)throw RangeError("Invalid code point: "+Ze);Ze<=65535?Fe.push(Ze):(Ze-=65536,ae=(Ze>>10)+55296,ce=Ze%1024+56320,Fe.push(ae,ce)),(_e+1===ze||Fe.length>Ne)&&(it+=ee.apply(null,Fe),Fe.length=0)}return it};l.default?Object.defineProperty(String,"fromCodePoint",{value:Ue,configurable:!0,writable:!0}):String.fromCodePoint=Ue}()})(typeof o=="undefined"?(void 0).sax={}:o)}).call(this,M("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(M,B,o){B.exports=A;var w=M("events").EventEmitter,f=M("inherits");f(A,w),A.Readable=M("readable-stream/readable.js"),A.Writable=M("readable-stream/writable.js"),A.Duplex=M("readable-stream/duplex.js"),A.Transform=M("readable-stream/transform.js"),A.PassThrough=M("readable-stream/passthrough.js"),A.Stream=A;function A(){w.call(this)}A.prototype.pipe=function(m,g){var p=this;function c(a){m.writable&&(m.write(a)===!1&&p.pause&&p.pause())}p.on("data",c);function h(){p.readable&&p.resume&&p.resume()}m.on("drain",h),!m._isStdio&&(!g||g.end!==!1)&&(p.on("end",e),p.on("close",n));var l=!1;function e(){if(l)return;l=!0,m.end()}function n(){if(l)return;l=!0,typeof m.destroy=="function"&&m.destroy()}function i(a){if(r(),w.listenerCount(this,"error")===0)throw a}p.on("error",i),m.on("error",i);function r(){p.removeListener("data",c),m.removeListener("drain",h),p.removeListener("end",e),p.removeListener("close",n),p.removeListener("error",i),m.removeListener("error",i),p.removeListener("end",r),p.removeListener("close",r),m.removeListener("close",r)}return p.on("end",r),p.on("close",r),m.on("close",r),m.emit("pipe",p),m}},{events:192,inherits:196,"readable-stream/duplex.js":213,"readable-stream/passthrough.js":222,"readable-stream/readable.js":223,"readable-stream/transform.js":224,"readable-stream/writable.js":225}],231:[function(M,B,o){(function(w){var f=M("./lib/request"),A=M("./lib/response"),m=M("xtend"),g=M("builtin-status-codes"),p=M("url"),c=o;c.request=function(h,l){typeof h=="string"?h=p.parse(h):h=m(h);var e=w.location.protocol.search(/^https?:$/)===-1?"http:":"",n=h.protocol||e,i=h.hostname||h.host,r=h.port,a=h.path||"/";i&&i.indexOf(":")!==-1&&(i="["+i+"]"),h.url=(i?n+"//"+i:"")+(r?":"+r:"")+a,h.method=(h.method||"GET").toUpperCase(),h.headers=h.headers||{};var t=new f(h);return l&&t.on("response",l),t},c.get=function(l,e){var n=c.request(l,e);return n.end(),n},c.ClientRequest=f,c.IncomingMessage=A.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=g,c.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(M,B,o){(function(w){"use strict";o.fetch=c(w.fetch)&&c(w.ReadableStream),o.writableStream=c(w.WritableStream),o.abortController=c(w.AbortController),o.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),o.blobConstructor=!0}catch(h){}var f;function A(){if(f!==void 0)return f;if(w.XMLHttpRequest){f=new w.XMLHttpRequest;try{f.open("GET",w.XDomainRequest?"/":"https://example.com")}catch(h){f=null}}else f=null;return f}function m(h){var l=A();if(!l)return!1;try{return l.responseType=h,l.responseType===h}catch(e){}return!1}var g=typeof w.ArrayBuffer!="undefined",p=g&&c(w.ArrayBuffer.prototype.slice);o.arraybuffer=o.fetch||g&&m("arraybuffer"),o.msstream=!o.fetch&&p&&m("ms-stream"),o.mozchunkedarraybuffer=!o.fetch&&g&&m("moz-chunked-arraybuffer"),o.overrideMimeType=o.fetch||(A()?c(A().overrideMimeType):!1),o.vbArray=c(w.VBArray);function c(h){return typeof h=="function"}f=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(M,B,o){(function(w,f,A){"use strict";var m=M("babel-runtime/core-js/object/keys"),g=p(m);function p(d){return d&&d.__esModule?d:{default:d}}var c=M("./capability"),h=M("inherits"),l=M("./response"),e=M("readable-stream"),n=M("to-arraybuffer"),i=l.IncomingMessage,r=l.readyStates;function a(d,v){return c.fetch&&v?"fetch":c.mozchunkedarraybuffer?"moz-chunked-arraybuffer":c.msstream?"ms-stream":c.arraybuffer&&d?"arraybuffer":c.vbArray&&d?"text:vbarray":"text"}var t=B.exports=function(d){var v=this;e.Writable.call(v),v._opts=d,v._body=[],v._headers={},d.auth&&v.setHeader("Authorization","Basic "+new A(d.auth).toString("base64")),(0,g.default)(d.headers).forEach(function(b){v.setHeader(b,d.headers[b])});var y,S=!0;if(d.mode==="disable-fetch"||"requestTimeout"in d&&!c.abortController)S=!1,y=!0;else if(d.mode==="prefer-streaming")y=!1;else if(d.mode==="allow-wrong-content-type")y=!c.overrideMimeType;else if(!d.mode||d.mode==="default"||d.mode==="prefer-fast")y=!0;else throw new Error("Invalid value for opts.mode");v._mode=a(y,S),v._fetchTimer=null,v.on("finish",function(){v._onFinish()})};h(t,e.Writable),t.prototype.setHeader=function(d,v){var y=this,S=d.toLowerCase();if(u.indexOf(S)!==-1)return;y._headers[S]={name:d,value:v}},t.prototype.getHeader=function(d){var v=this._headers[d.toLowerCase()];return v?v.value:null},t.prototype.removeHeader=function(d){var v=this;delete v._headers[d.toLowerCase()]},t.prototype._onFinish=function(){var d=this;if(d._destroyed)return;var v=d._opts,y=d._headers,S=null;v.method!=="GET"&&v.method!=="HEAD"&&(c.arraybuffer?S=n(A.concat(d._body)):c.blobConstructor?S=new f.Blob(d._body.map(function(_){return n(_)}),{type:(y["content-type"]||{}).value||""}):S=A.concat(d._body).toString());var b=[];if((0,g.default)(y).forEach(function(_){var I=y[_].name,L=y[_].value;Array.isArray(L)?L.forEach(function(R){b.push([I,R])}):b.push([I,L])}),d._mode==="fetch"){var E=null,C=null;if(c.abortController){var T=new AbortController;E=T.signal,d._fetchAbortController=T,"requestTimeout"in v&&v.requestTimeout!==0&&(d._fetchTimer=f.setTimeout(function(){d.emit("requestTimeout"),d._fetchAbortController&&d._fetchAbortController.abort()},v.requestTimeout))}f.fetch(d._opts.url,{method:d._opts.method,headers:b,body:S||void 0,mode:"cors",credentials:v.withCredentials?"include":"same-origin",signal:E}).then(function(_){d._fetchResponse=_,d._connect()},function(_){f.clearTimeout(d._fetchTimer),d._destroyed||d.emit("error",_)})}else{var x=d._xhr=new f.XMLHttpRequest;try{x.open(d._opts.method,d._opts.url,!0)}catch(_){w.nextTick(function(){d.emit("error",_)});return}"responseType"in x&&(x.responseType=d._mode.split(":")[0]),"withCredentials"in x&&(x.withCredentials=!!v.withCredentials),d._mode==="text"&&"overrideMimeType"in x&&x.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in v&&(x.timeout=v.requestTimeout,x.ontimeout=function(){d.emit("requestTimeout")}),b.forEach(function(_){x.setRequestHeader(_[0],_[1])}),d._response=null,x.onreadystatechange=function(){switch(x.readyState){case r.LOADING:case r.DONE:d._onXHRProgress();break}},d._mode==="moz-chunked-arraybuffer"&&(x.onprogress=function(){d._onXHRProgress()}),x.onerror=function(){if(d._destroyed)return;d.emit("error",new Error("XHR error"))};try{x.send(S)}catch(_){w.nextTick(function(){d.emit("error",_)});return}}};function s(d){try{var v=d.status;return v!==null&&v!==0}catch(y){return!1}}t.prototype._onXHRProgress=function(){var d=this;if(!s(d._xhr)||d._destroyed)return;d._response||d._connect(),d._response._onXHRProgress()},t.prototype._connect=function(){var d=this;if(d._destroyed)return;d._response=new i(d._xhr,d._fetchResponse,d._mode,d._fetchTimer),d._response.on("error",function(v){d.emit("error",v)}),d.emit("response",d._response)},t.prototype._write=function(d,v,y){var S=this;S._body.push(d),y()},t.prototype.abort=t.prototype.destroy=function(){var d=this;d._destroyed=!0,f.clearTimeout(d._fetchTimer),d._response&&(d._response._destroyed=!0),d._xhr?d._xhr.abort():d._fetchAbortController&&d._fetchAbortController.abort()},t.prototype.end=function(d,v,y){var S=this;typeof d=="function"&&(y=d,d=void 0),e.Writable.prototype.end.call(S,d,v,y)},t.prototype.flushHeaders=function(){},t.prototype.setTimeout=function(){},t.prototype.setNoDelay=function(){},t.prototype.setSocketKeepAlive=function(){};var u=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,M("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},M("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(M,B,o){(function(w,f,A){"use strict";var m=M("babel-runtime/core-js/promise"),g=p(m);function p(i){return i&&i.__esModule?i:{default:i}}var c=M("./capability"),h=M("inherits"),l=M("readable-stream"),e=o.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},n=o.IncomingMessage=function(i,r,a,t){var s=this;if(l.Readable.call(s),s._mode=a,s.headers={},s.rawHeaders=[],s.trailers={},s.rawTrailers=[],s.on("end",function(){w.nextTick(function(){s.emit("close")})}),a==="fetch"){var u=function E(){v.read().then(function(C){if(s._destroyed)return;if(C.done){f.clearTimeout(t),s.push(null);return}s.push(new A(C.value)),E()}).catch(function(C){f.clearTimeout(t),s._destroyed||s.emit("error",C)})};if(s._fetchResponse=r,s.url=r.url,s.statusCode=r.status,s.statusMessage=r.statusText,r.headers.forEach(function(E,C){s.headers[C.toLowerCase()]=E,s.rawHeaders.push(C,E)}),c.writableStream){var d=new WritableStream({write:function(C){return new g.default(function(T,x){s._destroyed?x():s.push(new A(C))?T():s._resumeFetch=T})},close:function(){f.clearTimeout(t),s._destroyed||s.push(null)},abort:function(C){s._destroyed||s.emit("error",C)}});try{r.body.pipeTo(d).catch(function(E){f.clearTimeout(t),s._destroyed||s.emit("error",E)});return}catch(E){}}var v=r.body.getReader();u()}else{s._xhr=i,s._pos=0,s.url=i.responseURL,s.statusCode=i.status,s.statusMessage=i.statusText;var y=i.getAllResponseHeaders().split(/\r?\n/);if(y.forEach(function(E){var C=E.match(/^([^:]+):\s*(.*)/);if(C){var T=C[1].toLowerCase();T==="set-cookie"?(s.headers[T]===void 0&&(s.headers[T]=[]),s.headers[T].push(C[2])):s.headers[T]!==void 0?s.headers[T]+=", "+C[2]:s.headers[T]=C[2],s.rawHeaders.push(C[1],C[2])}}),s._charset="x-user-defined",!c.overrideMimeType){var S=s.rawHeaders["mime-type"];if(S){var b=S.match(/;\s*charset=([^;])(;|$)/);b&&(s._charset=b[1].toLowerCase())}s._charset||(s._charset="utf-8")}}};h(n,l.Readable),n.prototype._read=function(){var i=this,r=i._resumeFetch;r&&(i._resumeFetch=null,r())},n.prototype._onXHRProgress=function(){var i=this,r=i._xhr,a=null;switch(i._mode){case"text:vbarray":if(r.readyState!==e.DONE)break;try{a=new f.VBArray(r.responseBody).toArray()}catch(v){}if(a!==null){i.push(new A(a));break}case"text":try{a=r.responseText}catch(v){i._mode="text:vbarray";break}if(a.length>i._pos){var t=a.substr(i._pos);if(i._charset==="x-user-defined"){for(var s=new A(t.length),u=0;u<t.length;u++)s[u]=t.charCodeAt(u)&255;i.push(s)}else i.push(t,i._charset);i._pos=a.length}break;case"arraybuffer":if(r.readyState!==e.DONE||!r.response)break;a=r.response,i.push(new A(new Uint8Array(a)));break;case"moz-chunked-arraybuffer":if(a=r.response,r.readyState!==e.LOADING||!a)break;i.push(new A(new Uint8Array(a)));break;case"ms-stream":if(a=r.response,r.readyState!==e.LOADING)break;var d=new f.MSStreamReader;d.onprogress=function(){d.result.byteLength>i._pos&&(i.push(new A(new Uint8Array(d.result.slice(i._pos)))),i._pos=d.result.byteLength)},d.onload=function(){i.push(null)},d.readAsArrayBuffer(a);break}i._xhr.readyState===e.DONE&&i._mode!=="ms-stream"&&i.push(null)}}).call(this,M("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},M("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(M,B,o){"use strict";var w=M("safe-buffer").Buffer,f=w.isEncoding||function(d){d=""+d;switch(d&&d.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 A(d){if(!d)return"utf8";for(var v;;)switch(d){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 d;default:if(v)return;d=(""+d).toLowerCase(),v=!0}}function m(d){var v=A(d);if(typeof v!="string"&&(w.isEncoding===f||!f(d)))throw new Error("Unknown encoding: "+d);return v||d}o.StringDecoder=g;function g(d){this.encoding=m(d);var v;switch(this.encoding){case"utf16le":this.text=i,this.end=r,v=4;break;case"utf8":this.fillLast=l,v=4;break;case"base64":this.text=a,this.end=t,v=3;break;default:this.write=s,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=w.allocUnsafe(v)}g.prototype.write=function(d){if(d.length===0)return"";var v,y;if(this.lastNeed){if(v=this.fillLast(d),v===void 0)return"";y=this.lastNeed,this.lastNeed=0}else y=0;return y<d.length?v?v+this.text(d,y):this.text(d,y):v||""},g.prototype.end=n,g.prototype.text=e,g.prototype.fillLast=function(d){if(this.lastNeed<=d.length)return d.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);d.copy(this.lastChar,this.lastTotal-this.lastNeed,0,d.length),this.lastNeed-=d.length};function p(d){return d<=127?0:d>>5===6?2:d>>4===14?3:d>>3===30?4:d>>6===2?-1:-2}function c(d,v,y){var S=v.length-1;if(S<y)return 0;var b=p(v[S]);return b>=0?(b>0&&(d.lastNeed=b-1),b):--S<y||b===-2?0:(b=p(v[S]),b>=0?(b>0&&(d.lastNeed=b-2),b):--S<y||b===-2?0:(b=p(v[S]),b>=0?(b>0&&(b===2?b=0:d.lastNeed=b-3),b):0))}function h(d,v,y){if((v[0]&192)!==128)return d.lastNeed=0,"\uFFFD";if(d.lastNeed>1&&v.length>1){if((v[1]&192)!==128)return d.lastNeed=1,"\uFFFD";if(d.lastNeed>2&&v.length>2&&(v[2]&192)!==128)return d.lastNeed=2,"\uFFFD"}}function l(d){var v=this.lastTotal-this.lastNeed,y=h(this,d,v);if(y!==void 0)return y;if(this.lastNeed<=d.length)return d.copy(this.lastChar,v,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);d.copy(this.lastChar,v,0,d.length),this.lastNeed-=d.length}function e(d,v){var y=c(this,d,v);if(!this.lastNeed)return d.toString("utf8",v);this.lastTotal=y;var S=d.length-(y-this.lastNeed);return d.copy(this.lastChar,0,S),d.toString("utf8",v,S)}function n(d){var v=d&&d.length?this.write(d):"";return this.lastNeed?v+"\uFFFD":v}function i(d,v){if((d.length-v)%2===0){var y=d.toString("utf16le",v);if(y){var S=y.charCodeAt(y.length-1);if(S>=55296&&S<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=d[d.length-2],this.lastChar[1]=d[d.length-1],y.slice(0,-1)}return y}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=d[d.length-1],d.toString("utf16le",v,d.length-1)}function r(d){var v=d&&d.length?this.write(d):"";if(this.lastNeed){var y=this.lastTotal-this.lastNeed;return v+this.lastChar.toString("utf16le",0,y)}return v}function a(d,v){var y=(d.length-v)%3;return y===0?d.toString("base64",v):(this.lastNeed=3-y,this.lastTotal=3,y===1?this.lastChar[0]=d[d.length-1]:(this.lastChar[0]=d[d.length-2],this.lastChar[1]=d[d.length-1]),d.toString("base64",v,d.length-y))}function t(d){var v=d&&d.length?this.write(d):"";return this.lastNeed?v+this.lastChar.toString("base64",0,3-this.lastNeed):v}function s(d){return d.toString(this.encoding)}function u(d){return d&&d.length?this.write(d):""}},{"safe-buffer":228}],236:[function(M,B,o){(function(w,f){var A=M("process/browser.js").nextTick,m=Function.prototype.apply,g=Array.prototype.slice,p={},c=0;o.setTimeout=function(){return new h(m.call(setTimeout,window,arguments),clearTimeout)},o.setInterval=function(){return new h(m.call(setInterval,window,arguments),clearInterval)},o.clearTimeout=o.clearInterval=function(l){l.close()};function h(l,e){this._id=l,this._clearFn=e}h.prototype.unref=h.prototype.ref=function(){},h.prototype.close=function(){this._clearFn.call(window,this._id)},o.enroll=function(l,e){clearTimeout(l._idleTimeoutId),l._idleTimeout=e},o.unenroll=function(l){clearTimeout(l._idleTimeoutId),l._idleTimeout=-1},o._unrefActive=o.active=function(l){clearTimeout(l._idleTimeoutId);var e=l._idleTimeout;e>=0&&(l._idleTimeoutId=setTimeout(function(){l._onTimeout&&l._onTimeout()},e))},o.setImmediate=typeof w=="function"?w:function(l){var e=c++,n=arguments.length<2?!1:g.call(arguments,1);return p[e]=!0,A(function(){p[e]&&(n?l.apply(null,n):l.call(null),o.clearImmediate(e))}),e},o.clearImmediate=typeof f=="function"?f:function(l){delete p[l]}}).call(this,M("timers").setImmediate,M("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(M,B,o){var w=M("buffer").Buffer;B.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(w.isBuffer(f)){for(var A=new Uint8Array(f.length),m=f.length,g=0;g<m;g++)A[g]=f[g];return A.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(M,B,o){"use strict";var w=M("punycode"),f=M("./util");o.parse=v,o.resolve=S,o.resolveObject=b,o.format=y,o.Url=A;function A(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var m=/^([a-z0-9.+-]+:)/i,g=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],h=["{","}","|","\\","^","`"].concat(c),l=["'"].concat(h),e=["%","/","?",";","#"].concat(l),n=["/","?","#"],i=255,r=/^[+a-z0-9A-Z_-]{0,63}$/,a=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,t={javascript:!0,"javascript:":!0},s={javascript:!0,"javascript:":!0},u={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},d=M("querystring");function v(E,C,T){if(E&&f.isObject(E)&&E instanceof A)return E;var x=new A;return x.parse(E,C,T),x}A.prototype.parse=function(E,C,T){if(!f.isString(E))throw new TypeError("Parameter 'url' must be a string, not "+typeof E);var x=E.indexOf("?"),_=x!==-1&&x<E.indexOf("#")?"?":"#",I=E.split(_),L=/\\/g;I[0]=I[0].replace(L,"/"),E=I.join(_);var R=E;if(R=R.trim(),!T&&E.split("#").length===1){var k=p.exec(R);if(k)return this.path=R,this.href=R,this.pathname=k[1],k[2]?(this.search=k[2],C?this.query=d.parse(this.search.substr(1)):this.query=this.search.substr(1)):C&&(this.search="",this.query={}),this}var F=m.exec(R);if(F){F=F[0];var P=F.toLowerCase();this.protocol=P,R=R.substr(F.length)}if(T||F||R.match(/^\/\/[^@\/]+@[^@\/]+/)){var W=R.substr(0,2)==="//";W&&!(F&&s[F])&&(R=R.substr(2),this.slashes=!0)}if(!s[F]&&(W||F&&!u[F])){for(var D=-1,U=0;U<n.length;U++){var H=R.indexOf(n[U]);H!==-1&&(D===-1||H<D)&&(D=H)}var j,K;D===-1?K=R.lastIndexOf("@"):K=R.lastIndexOf("@",D),K!==-1&&(j=R.slice(0,K),R=R.slice(K+1),this.auth=decodeURIComponent(j)),D=-1;for(var U=0;U<e.length;U++){var H=R.indexOf(e[U]);H!==-1&&(D===-1||H<D)&&(D=H)}D===-1&&(D=R.length),this.host=R.slice(0,D),R=R.slice(D),this.parseHost(),this.hostname=this.hostname||"";var X=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!X)for(var z=this.hostname.split(/\./),U=0,Y=z.length;U<Y;U++){var $=z[U];if(!$)continue;if(!$.match(r)){for(var ne="",J=0,ge=$.length;J<ge;J++)$.charCodeAt(J)>127?ne+="x":ne+=$[J];if(!ne.match(r)){var de=z.slice(0,U),Ie=z.slice(U+1),be=$.match(a);be&&(de.push(be[1]),Ie.unshift(be[2])),Ie.length&&(R="/"+Ie.join(".")+R),this.hostname=de.join(".");break}}}this.hostname.length>i?this.hostname="":this.hostname=this.hostname.toLowerCase(),X||(this.hostname=w.toASCII(this.hostname));var Ce=this.port?":"+this.port:"",je=this.hostname||"";this.host=je+Ce,this.href+=this.host,X&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),R[0]!=="/"&&(R="/"+R))}if(!t[P])for(var U=0,Y=l.length;U<Y;U++){var te=l[U];if(R.indexOf(te)===-1)continue;var ve=encodeURIComponent(te);ve===te&&(ve=escape(te)),R=R.split(te).join(ve)}var $e=R.indexOf("#");$e!==-1&&(this.hash=R.substr($e),R=R.slice(0,$e));var Le=R.indexOf("?");if(Le!==-1?(this.search=R.substr(Le),this.query=R.substr(Le+1),C&&(this.query=d.parse(this.query)),R=R.slice(0,Le)):C&&(this.search="",this.query={}),R&&(this.pathname=R),u[P]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Ce=this.pathname||"",he=this.search||"";this.path=Ce+he}return this.href=this.format(),this};function y(E){return f.isString(E)&&(E=v(E)),E instanceof A?E.format():A.prototype.format.call(E)}A.prototype.format=function(){var E=this.auth||"";E&&(E=encodeURIComponent(E),E=E.replace(/%3A/i,":"),E+="@");var C=this.protocol||"",T=this.pathname||"",x=this.hash||"",_=!1,I="";this.host?_=E+this.host:this.hostname&&(_=E+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(_+=":"+this.port)),this.query&&f.isObject(this.query)&&Object.keys(this.query).length&&(I=d.stringify(this.query));var L=this.search||I&&"?"+I||"";return C&&C.substr(-1)!==":"&&(C+=":"),this.slashes||(!C||u[C])&&_!==!1?(_="//"+(_||""),T&&T.charAt(0)!=="/"&&(T="/"+T)):_||(_=""),x&&x.charAt(0)!=="#"&&(x="#"+x),L&&L.charAt(0)!=="?"&&(L="?"+L),T=T.replace(/[?#]/g,function(R){return encodeURIComponent(R)}),L=L.replace("#","%23"),C+_+T+L+x};function S(E,C){return v(E,!1,!0).resolve(C)}A.prototype.resolve=function(E){return this.resolveObject(v(E,!1,!0)).format()};function b(E,C){return E?v(E,!1,!0).resolveObject(C):C}A.prototype.resolveObject=function(E){if(f.isString(E)){var C=new A;C.parse(E,!1,!0),E=C}for(var T=new A,x=Object.keys(this),_=0;_<x.length;_++){var I=x[_];T[I]=this[I]}if(T.hash=E.hash,E.href==="")return T.href=T.format(),T;if(E.slashes&&!E.protocol){for(var L=Object.keys(E),R=0;R<L.length;R++){var k=L[R];k!=="protocol"&&(T[k]=E[k])}return u[T.protocol]&&T.hostname&&!T.pathname&&(T.path=T.pathname="/"),T.href=T.format(),T}if(E.protocol&&E.protocol!==T.protocol){if(!u[E.protocol]){for(var F=Object.keys(E),P=0;P<F.length;P++){var W=F[P];T[W]=E[W]}return T.href=T.format(),T}if(T.protocol=E.protocol,!E.host&&!s[E.protocol]){for(var Y=(E.pathname||"").split("/");Y.length&&!(E.host=Y.shift()););E.host||(E.host=""),E.hostname||(E.hostname=""),Y[0]!==""&&Y.unshift(""),Y.length<2&&Y.unshift(""),T.pathname=Y.join("/")}else T.pathname=E.pathname;if(T.search=E.search,T.query=E.query,T.host=E.host||"",T.auth=E.auth,T.hostname=E.hostname||E.host,T.port=E.port,T.pathname||T.search){var D=T.pathname||"",U=T.search||"";T.path=D+U}return T.slashes=T.slashes||E.slashes,T.href=T.format(),T}var H=T.pathname&&T.pathname.charAt(0)==="/",j=E.host||E.pathname&&E.pathname.charAt(0)==="/",K=j||H||T.host&&E.pathname,X=K,z=T.pathname&&T.pathname.split("/")||[],Y=E.pathname&&E.pathname.split("/")||[],$=T.protocol&&!u[T.protocol];if($&&(T.hostname="",T.port=null,T.host&&(z[0]===""?z[0]=T.host:z.unshift(T.host)),T.host="",E.protocol&&(E.hostname=null,E.port=null,E.host&&(Y[0]===""?Y[0]=E.host:Y.unshift(E.host)),E.host=null),K=K&&(Y[0]===""||z[0]==="")),j)T.host=E.host||E.host===""?E.host:T.host,T.hostname=E.hostname||E.hostname===""?E.hostname:T.hostname,T.search=E.search,T.query=E.query,z=Y;else if(Y.length)z||(z=[]),z.pop(),z=z.concat(Y),T.search=E.search,T.query=E.query;else if(!f.isNullOrUndefined(E.search)){if($){T.hostname=T.host=z.shift();var ne=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;ne&&(T.auth=ne.shift(),T.host=T.hostname=ne.shift())}return T.search=E.search,T.query=E.query,(!f.isNull(T.pathname)||!f.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.href=T.format(),T}if(!z.length)return T.pathname=null,T.search?T.path="/"+T.search:T.path=null,T.href=T.format(),T;for(var J=z.slice(-1)[0],ge=(T.host||E.host||z.length>1)&&(J==="."||J==="..")||J==="",de=0,Ie=z.length;Ie>=0;Ie--)J=z[Ie],J==="."?z.splice(Ie,1):J===".."?(z.splice(Ie,1),de++):de&&(z.splice(Ie,1),de--);if(!K&&!X)for(;de--;de)z.unshift("..");K&&z[0]!==""&&(!z[0]||z[0].charAt(0)!=="/")&&z.unshift(""),ge&&z.join("/").substr(-1)!=="/"&&z.push("");var be=z[0]===""||z[0]&&z[0].charAt(0)==="/";if($){T.hostname=T.host=be?"":z.length?z.shift():"";var ne=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;ne&&(T.auth=ne.shift(),T.host=T.hostname=ne.shift())}return K=K||T.host&&z.length,K&&!be&&z.unshift(""),z.length?T.pathname=z.join("/"):(T.pathname=null,T.path=null),(!f.isNull(T.pathname)||!f.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.auth=E.auth||T.auth,T.slashes=T.slashes||E.slashes,T.href=T.format(),T},A.prototype.parseHost=function(){var E=this.host,C=g.exec(E);C&&(C=C[0],C!==":"&&(this.port=C.substr(1)),E=E.substr(0,E.length-C.length)),E&&(this.hostname=E)}},{"./util":239,punycode:209,querystring:212}],239:[function(M,B,o){"use strict";B.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(M,B,o){(function(w){B.exports=f;function f(m,g){if(A("noDeprecation"))return m;var p=!1;function c(){if(!p){if(A("throwDeprecation"))throw new Error(g);A("traceDeprecation")?console.trace(g):console.warn(g),p=!0}return m.apply(this,arguments)}return c}function A(m){try{if(!w.localStorage)return!1}catch(p){return!1}var g=w.localStorage[m];return g==null?!1:String(g).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(M,B,o){typeof Object.create=="function"?B.exports=function(f,A){f.super_=A,f.prototype=Object.create(A.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}})}:B.exports=function(f,A){f.super_=A;var m=function(){};m.prototype=A.prototype,f.prototype=new m,f.prototype.constructor=f}},{}],242:[function(M,B,o){B.exports=function(f){return f&&typeof f=="object"&&typeof f.copy=="function"&&typeof f.fill=="function"&&typeof f.readUInt8=="function"}},{}],243:[function(M,B,o){(function(w,f){var A=/%[sdj%]/g;o.format=function(D){if(!S(D)){for(var U=[],H=0;H<arguments.length;H++)U.push(p(arguments[H]));return U.join(" ")}for(var H=1,j=arguments,K=j.length,X=String(D).replace(A,function(Y){if(Y==="%%")return"%";if(H>=K)return Y;switch(Y){case"%s":return String(j[H++]);case"%d":return Number(j[H++]);case"%j":try{return JSON.stringify(j[H++])}catch($){return"[Circular]"}default:return Y}}),z=j[H];H<K;z=j[++H])d(z)||!T(z)?X+=" "+z:X+=" "+p(z);return X},o.deprecate=function(D,U){if(E(f.process))return function(){return o.deprecate(D,U).apply(this,arguments)};if(w.noDeprecation===!0)return D;var H=!1;function j(){if(!H){if(w.throwDeprecation)throw new Error(U);w.traceDeprecation?console.trace(U):console.error(U),H=!0}return D.apply(this,arguments)}return j};var m={},g;o.debuglog=function(D){if(E(g)&&(g=w.env.NODE_DEBUG||""),D=D.toUpperCase(),!m[D])if(new RegExp("\\b"+D+"\\b","i").test(g)){var U=w.pid;m[D]=function(){var H=o.format.apply(o,arguments);console.error("%s %d: %s",D,U,H)}}else m[D]=function(){};return m[D]};function p(D,U){var H={seen:[],stylize:h};return arguments.length>=3&&(H.depth=arguments[2]),arguments.length>=4&&(H.colors=arguments[3]),u(U)?H.showHidden=U:U&&o._extend(H,U),E(H.showHidden)&&(H.showHidden=!1),E(H.depth)&&(H.depth=2),E(H.colors)&&(H.colors=!1),E(H.customInspect)&&(H.customInspect=!0),H.colors&&(H.stylize=c),e(H,D,H.depth)}o.inspect=p,p.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]},p.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function c(D,U){var H=p.styles[U];return H?"["+p.colors[H][0]+"m"+D+"["+p.colors[H][1]+"m":D}function h(D,U){return D}function l(D){var U={};return D.forEach(function(H,j){U[H]=!0}),U}function e(D,U,H){if(D.customInspect&&U&&I(U.inspect)&&U.inspect!==o.inspect&&!(U.constructor&&U.constructor.prototype===U)){var j=U.inspect(H,D);return S(j)||(j=e(D,j,H)),j}var K=n(D,U);if(K)return K;var X=Object.keys(U),z=l(X);if(D.showHidden&&(X=Object.getOwnPropertyNames(U)),_(U)&&(X.indexOf("message")>=0||X.indexOf("description")>=0))return i(U);if(X.length===0){if(I(U)){var Y=U.name?": "+U.name:"";return D.stylize("[Function"+Y+"]","special")}if(C(U))return D.stylize(RegExp.prototype.toString.call(U),"regexp");if(x(U))return D.stylize(Date.prototype.toString.call(U),"date");if(_(U))return i(U)}var $="",ne=!1,J=["{","}"];if(s(U)&&(ne=!0,J=["[","]"]),I(U)){var ge=U.name?": "+U.name:"";$=" [Function"+ge+"]"}if(C(U)&&($=" "+RegExp.prototype.toString.call(U)),x(U)&&($=" "+Date.prototype.toUTCString.call(U)),_(U)&&($=" "+i(U)),X.length===0&&(!ne||U.length==0))return J[0]+$+J[1];if(H<0)return C(U)?D.stylize(RegExp.prototype.toString.call(U),"regexp"):D.stylize("[Object]","special");D.seen.push(U);var de;return ne?de=r(D,U,H,z,X):de=X.map(function(Ie){return a(D,U,H,z,Ie,ne)}),D.seen.pop(),t(de,$,J)}function n(D,U){if(E(U))return D.stylize("undefined","undefined");if(S(U)){var H="'"+JSON.stringify(U).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return D.stylize(H,"string")}if(y(U))return D.stylize(""+U,"number");if(u(U))return D.stylize(""+U,"boolean");if(d(U))return D.stylize("null","null")}function i(D){return"["+Error.prototype.toString.call(D)+"]"}function r(D,U,H,j,K){for(var X=[],z=0,Y=U.length;z<Y;++z)W(U,String(z))?X.push(a(D,U,H,j,String(z),!0)):X.push("");return K.forEach(function($){$.match(/^\d+$/)||X.push(a(D,U,H,j,$,!0))}),X}function a(D,U,H,j,K,X){var z,Y,$;if($=Object.getOwnPropertyDescriptor(U,K)||{value:U[K]},$.get?$.set?Y=D.stylize("[Getter/Setter]","special"):Y=D.stylize("[Getter]","special"):$.set&&(Y=D.stylize("[Setter]","special")),W(j,K)||(z="["+K+"]"),Y||(D.seen.indexOf($.value)<0?(d(H)?Y=e(D,$.value,null):Y=e(D,$.value,H-1),Y.indexOf(`
|
|
|
`)>-1&&(X?Y=Y.split(`
|
|
|
`).map(function(ne){return" "+ne}).join(`
|
|
|
`).substr(2):Y=`
|
|
|
`+Y.split(`
|
|
|
`).map(function(ne){return" "+ne}).join(`
|
|
|
`))):Y=D.stylize("[Circular]","special")),E(z)){if(X&&K.match(/^\d+$/))return Y;z=JSON.stringify(""+K),z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(z=z.substr(1,z.length-2),z=D.stylize(z,"name")):(z=z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),z=D.stylize(z,"string"))}return z+": "+Y}function t(D,U,H){var j=0,K=D.reduce(function(X,z){return j++,z.indexOf(`
|
|
|
`)>=0&&j++,X+z.replace(/\u001b\[\d\d?m/g,"").length+1},0);return K>60?H[0]+(U===""?"":U+`
|
|
|
`)+" "+D.join(`,
|
|
|
`)+" "+H[1]:H[0]+U+" "+D.join(", ")+" "+H[1]}function s(D){return Array.isArray(D)}o.isArray=s;function u(D){return typeof D=="boolean"}o.isBoolean=u;function d(D){return D===null}o.isNull=d;function v(D){return D==null}o.isNullOrUndefined=v;function y(D){return typeof D=="number"}o.isNumber=y;function S(D){return typeof D=="string"}o.isString=S;function b(D){return typeof D=="symbol"}o.isSymbol=b;function E(D){return D===void 0}o.isUndefined=E;function C(D){return T(D)&&R(D)==="[object RegExp]"}o.isRegExp=C;function T(D){return typeof D=="object"&&D!==null}o.isObject=T;function x(D){return T(D)&&R(D)==="[object Date]"}o.isDate=x;function _(D){return T(D)&&(R(D)==="[object Error]"||D instanceof Error)}o.isError=_;function I(D){return typeof D=="function"}o.isFunction=I;function L(D){return D===null||typeof D=="boolean"||typeof D=="number"||typeof D=="string"||typeof D=="symbol"||typeof D=="undefined"}o.isPrimitive=L,o.isBuffer=M("./support/isBuffer");function R(D){return Object.prototype.toString.call(D)}function k(D){return D<10?"0"+D.toString(10):D.toString(10)}var F=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(){var D=new Date,U=[k(D.getHours()),k(D.getMinutes()),k(D.getSeconds())].join(":");return[D.getDate(),F[D.getMonth()],U].join(" ")}o.log=function(){console.log("%s - %s",P(),o.format.apply(o,arguments))},o.inherits=M("inherits"),o._extend=function(D,U){if(!U||!T(U))return D;for(var H=Object.keys(U),j=H.length;j--;)D[H[j]]=U[H[j]];return D};function W(D,U){return Object.prototype.hasOwnProperty.call(D,U)}}).call(this,M("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(M,B,o){"use strict";(function(){"use strict";o.stripBOM=function(w){return w[0]==="\uFEFF"?w.substring(1):w}}).call(void 0)},{}],245:[function(M,B,o){"use strict";var w=M("babel-runtime/helpers/typeof"),f=g(w),A=M("babel-runtime/core-js/object/keys"),m=g(A);function g(p){return p&&p.__esModule?p:{default:p}}(function(){"use strict";var p,c,h,l,e,n={}.hasOwnProperty;p=M("xmlbuilder"),c=M("./defaults").defaults,l=function(r){return typeof r=="string"&&(r.indexOf("&")>=0||r.indexOf(">")>=0||r.indexOf("<")>=0)},e=function(r){return"<![CDATA["+h(r)+"]]>"},h=function(r){return r.replace("]]>","]]]]><![CDATA[>")},o.Builder=function(){function i(r){var a,t,s;this.options={},t=c["0.2"];for(a in t){if(!n.call(t,a))continue;s=t[a],this.options[a]=s}for(a in r){if(!n.call(r,a))continue;s=r[a],this.options[a]=s}}return i.prototype.buildObject=function(r){var a,t,s,u,d;return a=this.options.attrkey,t=this.options.charkey,(0,m.default)(r).length===1&&this.options.rootName===c["0.2"].rootName?(d=(0,m.default)(r)[0],r=r[d]):d=this.options.rootName,s=function(v){return function(y,S){var b,E,C,T,x,_;if((typeof S=="undefined"?"undefined":(0,f.default)(S))!=="object")v.options.cdata&&l(S)?y.raw(e(S)):y.txt(S);else if(Array.isArray(S))for(T in S){if(!n.call(S,T))continue;E=S[T];for(x in E)C=E[x],y=s(y.ele(x),C).up()}else for(x in S){if(!n.call(S,x))continue;if(E=S[x],x===a){if((typeof E=="undefined"?"undefined":(0,f.default)(E))==="object")for(b in E)_=E[b],y=y.att(b,_)}else if(x===t)v.options.cdata&&l(E)?y=y.raw(e(E)):y=y.txt(E);else if(Array.isArray(E))for(T in E){if(!n.call(E,T))continue;C=E[T],typeof C=="string"?v.options.cdata&&l(C)?y=y.ele(x).raw(e(C)).up():y=y.ele(x,C).up():y=s(y.ele(x),C).up()}else(typeof E=="undefined"?"undefined":(0,f.default)(E))==="object"?y=s(y.ele(x),E).up():typeof E=="string"&&v.options.cdata&&l(E)?y=y.ele(x).raw(e(E)).up():(E==null&&(E=""),y=y.ele(x,E.toString()).up())}return y}}(this),u=p.create(d,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),s(u,r).end(this.options.renderOpts)},i}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(M,B,o){"use strict";(function(){o.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(M,B,o){"use strict";var w=M("babel-runtime/core-js/promise"),f=l(w),A=M("babel-runtime/core-js/object/get-own-property-names"),m=l(A),g=M("babel-runtime/core-js/object/keys"),p=l(g),c=M("babel-runtime/helpers/typeof"),h=l(c);function l(e){return e&&e.__esModule?e:{default:e}}(function(){"use strict";var e,n,i,r,a,t,s,u,d=function(b,E){return function(){return b.apply(E,arguments)}},v=function(b,E){for(var C in E)y.call(E,C)&&(b[C]=E[C]);function T(){this.constructor=b}return T.prototype=E.prototype,b.prototype=new T,b.__super__=E.prototype,b},y={}.hasOwnProperty;s=M("sax"),i=M("events"),e=M("./bom"),t=M("./processors"),u=M("timers").setImmediate,n=M("./defaults").defaults,r=function(b){return(typeof b=="undefined"?"undefined":(0,h.default)(b))==="object"&&b!=null&&(0,p.default)(b).length===0},a=function(b,E,C){var T,x,_;for(T=0,x=b.length;T<x;T++)_=b[T],E=_(E,C);return E},o.Parser=function(S){v(b,S);function b(E){this.parseStringPromise=d(this.parseStringPromise,this),this.parseString=d(this.parseString,this),this.reset=d(this.reset,this),this.assignOrPush=d(this.assignOrPush,this),this.processAsync=d(this.processAsync,this);var C,T,x;if(!(this instanceof o.Parser))return new o.Parser(E);this.options={},T=n["0.2"];for(C in T){if(!y.call(T,C))continue;x=T[C],this.options[C]=x}for(C in E){if(!y.call(E,C))continue;x=E[C],this.options[C]=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 b.prototype.processAsync=function(){var E,C;try{return this.remaining.length<=this.options.chunkSize?(E=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(E),this.saxParser.close()):(E=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(E),u(this.processAsync))}catch(T){if(C=T,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(C)}},b.prototype.assignOrPush=function(E,C,T){return C in E?(E[C]instanceof Array||(E[C]=[E[C]]),E[C].push(T)):this.options.explicitArray?E[C]=[T]:E[C]=T},b.prototype.reset=function(){var E,C,T,x;return this.removeAllListeners(),this.saxParser=s.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(_){return function(I){if(_.saxParser.resume(),!_.saxParser.errThrown)return _.saxParser.errThrown=!0,_.emit("error",I)}}(this),this.saxParser.onend=function(_){return function(){if(!_.saxParser.ended)return _.saxParser.ended=!0,_.emit("end",_.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,x=[],E=this.options.attrkey,C=this.options.charkey,this.saxParser.onopentag=function(_){return function(I){var L,R,k,F,P;if(k={},k[C]="",!_.options.ignoreAttrs){P=I.attributes;for(L in P){if(!y.call(P,L))continue;!(E in k)&&!_.options.mergeAttrs&&(k[E]={}),R=_.options.attrValueProcessors?a(_.options.attrValueProcessors,I.attributes[L],L):I.attributes[L],F=_.options.attrNameProcessors?a(_.options.attrNameProcessors,L):L,_.options.mergeAttrs?_.assignOrPush(k,F,R):k[E][F]=R}}return k["#name"]=_.options.tagNameProcessors?a(_.options.tagNameProcessors,I.name):I.name,_.options.xmlns&&(k[_.options.xmlnskey]={uri:I.uri,local:I.local}),x.push(k)}}(this),this.saxParser.onclosetag=function(_){return function(){var I,L,R,k,F,P,W,D,U,H;if(P=x.pop(),F=P["#name"],(!_.options.explicitChildren||!_.options.preserveChildrenOrder)&&delete P["#name"],P.cdata===!0&&(I=P.cdata,delete P.cdata),U=x[x.length-1],P[C].match(/^\s*$/)&&!I?(L=P[C],delete P[C]):(_.options.trim&&(P[C]=P[C].trim()),_.options.normalize&&(P[C]=P[C].replace(/\s{2,}/g," ").trim()),P[C]=_.options.valueProcessors?a(_.options.valueProcessors,P[C],F):P[C],(0,p.default)(P).length===1&&C in P&&!_.EXPLICIT_CHARKEY&&(P=P[C])),r(P)&&(P=_.options.emptyTag!==""?_.options.emptyTag:L),_.options.validator!=null&&(H="/"+function(){var j,K,X;for(X=[],j=0,K=x.length;j<K;j++)k=x[j],X.push(k["#name"]);return X}().concat(F).join("/"),function(){var j;try{return P=_.options.validator(H,U&&U[F],P)}catch(K){return j=K,_.emit("error",j)}}()),_.options.explicitChildren&&!_.options.mergeAttrs&&(typeof P=="undefined"?"undefined":(0,h.default)(P))==="object"){if(!_.options.preserveChildrenOrder)k={},_.options.attrkey in P&&(k[_.options.attrkey]=P[_.options.attrkey],delete P[_.options.attrkey]),!_.options.charsAsChildren&&_.options.charkey in P&&(k[_.options.charkey]=P[_.options.charkey],delete P[_.options.charkey]),(0,m.default)(P).length>0&&(k[_.options.childkey]=P),P=k;else if(U){U[_.options.childkey]=U[_.options.childkey]||[],W={};for(R in P){if(!y.call(P,R))continue;W[R]=P[R]}U[_.options.childkey].push(W),delete P["#name"],(0,p.default)(P).length===1&&C in P&&!_.EXPLICIT_CHARKEY&&(P=P[C])}}return x.length>0?_.assignOrPush(U,F,P):(_.options.explicitRoot&&(D=P,P={},P[F]=D),_.resultObject=P,_.saxParser.ended=!0,_.emit("end",_.resultObject))}}(this),T=function(_){return function(I){var L,R;if(R=x[x.length-1],R)return R[C]+=I,_.options.explicitChildren&&_.options.preserveChildrenOrder&&_.options.charsAsChildren&&(_.options.includeWhiteChars||I.replace(/\\n/g,"").trim()!=="")&&(R[_.options.childkey]=R[_.options.childkey]||[],L={"#name":"__text__"},L[C]=I,_.options.normalize&&(L[C]=L[C].replace(/\s{2,}/g," ").trim()),R[_.options.childkey].push(L)),R}}(this),this.saxParser.ontext=T,this.saxParser.oncdata=function(_){return function(I){var L;if(L=T(I),L)return L.cdata=!0}}(this)},b.prototype.parseString=function(E,C){var T;C!=null&&typeof C=="function"&&(this.on("end",function(x){return this.reset(),C(null,x)}),this.on("error",function(x){return this.reset(),C(x)}));try{return E=E.toString(),E.trim()===""?(this.emit("end",null),!0):(E=e.stripBOM(E),this.options.async?(this.remaining=E,u(this.processAsync),this.saxParser):this.saxParser.write(E).close())}catch(x){if(T=x,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw T}else return this.emit("error",T),this.saxParser.errThrown=!0}},b.prototype.parseStringPromise=function(E){return new f.default(function(C){return function(T,x){return C.parseString(E,function(_,I){return _?x(_):T(I)})}}(this))},b}(i),o.parseString=function(S,b,E){var C,T,x;return E!=null?(typeof E=="function"&&(C=E),(typeof b=="undefined"?"undefined":(0,h.default)(b))==="object"&&(T=b)):(typeof b=="function"&&(C=b),T={}),x=new o.Parser(T),x.parseString(S,C)},o.parseStringPromise=function(S,b){var E,C;return(typeof b=="undefined"?"undefined":(0,h.default)(b))==="object"&&(E=b),C=new o.Parser(E),C.parseStringPromise(S)}}).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(M,B,o){"use strict";(function(){"use strict";var w;w=new RegExp(/(?!xmlns)^.*:/),o.normalize=function(f){return f.toLowerCase()},o.firstCharLowerCase=function(f){return f.charAt(0).toLowerCase()+f.slice(1)},o.stripPrefix=function(f){return f.replace(w,"")},o.parseNumbers=function(f){return isNaN(f)||(f=f%1===0?parseInt(f,10):parseFloat(f)),f},o.parseBooleans=function(f){return/^(?:true|false)$/i.test(f)&&(f=f.toLowerCase()==="true"),f}}).call(void 0)},{}],249:[function(M,B,o){"use strict";(function(){"use strict";var w,f,A,m,g=function(h,l){for(var e in l)p.call(l,e)&&(h[e]=l[e]);function n(){this.constructor=h}return n.prototype=l.prototype,h.prototype=new n,h.__super__=l.prototype,h},p={}.hasOwnProperty;f=M("./defaults"),w=M("./builder"),A=M("./parser"),m=M("./processors"),o.defaults=f.defaults,o.processors=m,o.ValidationError=function(c){g(h,c);function h(l){this.message=l}return h}(Error),o.Builder=w.Builder,o.Parser=A.Parser,o.parseString=A.parseString,o.parseStringPromise=A.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(M,B,o){"use strict";(function(){B.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(M,B,o){"use strict";(function(){B.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(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/get-prototype-of"),f=c(w),A=M("babel-runtime/helpers/typeof"),m=c(A),g=M("babel-runtime/core-js/object/assign"),p=c(g);function c(h){return h&&h.__esModule?h:{default:h}}(function(){var h,l,e,n,i,r,a,t=[].slice,s={}.hasOwnProperty;h=function(){var d,v,y,S,b,E;if(E=arguments[0],b=2<=arguments.length?t.call(arguments,1):[],i(p.default))p.default.apply(null,arguments);else for(d=0,y=b.length;d<y;d++)if(S=b[d],S!=null)for(v in S){if(!s.call(S,v))continue;E[v]=S[v]}return E},i=function(d){return!!d&&Object.prototype.toString.call(d)==="[object Function]"},r=function(d){var v;return!!d&&((v=typeof d=="undefined"?"undefined":(0,m.default)(d))==="function"||v==="object")},e=function(d){return i(Array.isArray)?Array.isArray(d):Object.prototype.toString.call(d)==="[object Array]"},n=function(d){var v;if(e(d))return!d.length;for(v in d){if(!s.call(d,v))continue;return!1}return!0},a=function(d){var v,y;return r(d)&&(y=(0,f.default)(d))&&(v=y.constructor)&&typeof v=="function"&&v instanceof v&&Function.prototype.toString.call(v)===Function.prototype.toString.call(Object)},l=function(d){return i(d.valueOf)?d.valueOf():d},B.exports.assign=h,B.exports.isFunction=i,B.exports.isObject=r,B.exports.isArray=e,B.exports.isEmpty=n,B.exports.isPlainObject=a,B.exports.getValue=l}).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(M,B,o){"use strict";(function(){B.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/create"),f=A(w);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p;m=M("./NodeType"),p=M("./XMLNode"),B.exports=g=function(){function c(h,l,e){if(this.parent=h,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),l==null)throw new Error("Missing attribute name. "+this.debugInfo(l));this.name=this.stringify.name(l),this.value=this.stringify.attValue(e),this.type=m.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(c.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(c.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(c.prototype,"textContent",{get:function(){return this.value},set:function(l){return this.value=l||""}}),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(c.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(c.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(c.prototype,"specified",{get:function(){return!0}}),c.prototype.clone=function(){return(0,f.default)(this)},c.prototype.toString=function(h){return this.options.writer.attribute(this,this.options.writer.filterOptions(h))},c.prototype.debugInfo=function(h){return h=h||this.name,h==null?"parent: <"+this.parent.name+">":"attribute: {"+h+"}, parent: <"+this.parent.name+">"},c.prototype.isEqualNode=function(h){return h.namespaceURI!==this.namespaceURI||(h.prefix!==this.prefix||h.localName!==this.localName)?!1:!(h.value!==this.value)},c}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/create"),f=A(w);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c=function(e,n){for(var i in n)h.call(n,i)&&(e[i]=n[i]);function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},h={}.hasOwnProperty;m=M("./NodeType"),p=M("./XMLCharacterData"),B.exports=g=function(l){c(e,l);function e(n,i){if(e.__super__.constructor.call(this,n),i==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=m.CData,this.value=this.stringify.cdata(i)}return e.prototype.clone=function(){return(0,f.default)(this)},e.prototype.toString=function(n){return this.options.writer.cdata(this,this.options.writer.filterOptions(n))},e}(p)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/create"),f=A(w);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p=function(l,e){for(var n in e)c.call(e,n)&&(l[n]=e[n]);function i(){this.constructor=l}return i.prototype=e.prototype,l.prototype=new i,l.__super__=e.prototype,l},c={}.hasOwnProperty;g=M("./XMLNode"),B.exports=m=function(h){p(l,h);function l(e){l.__super__.constructor.call(this,e),this.value=""}return Object.defineProperty(l.prototype,"data",{get:function(){return this.value},set:function(n){return this.value=n||""}}),Object.defineProperty(l.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(l.prototype,"textContent",{get:function(){return this.value},set:function(n){return this.value=n||""}}),l.prototype.clone=function(){return(0,f.default)(this)},l.prototype.substringData=function(e,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},l.prototype.appendData=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},l.prototype.insertData=function(e,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},l.prototype.deleteData=function(e,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},l.prototype.replaceData=function(e,n,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},l.prototype.isEqualNode=function(e){return l.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)?!(e.data!==this.data):!1},l}(g)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/create"),f=A(w);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c=function(e,n){for(var i in n)h.call(n,i)&&(e[i]=n[i]);function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},h={}.hasOwnProperty;m=M("./NodeType"),g=M("./XMLCharacterData"),B.exports=p=function(l){c(e,l);function e(n,i){if(e.__super__.constructor.call(this,n),i==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=m.Comment,this.value=this.stringify.comment(i)}return e.prototype.clone=function(){return(0,f.default)(this)},e.prototype.toString=function(n){return this.options.writer.comment(this,this.options.writer.filterOptions(n))},e}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/keys"),f=g(w),A=M("babel-runtime/core-js/object/create"),m=g(A);function g(p){return p&&p.__esModule?p:{default:p}}(function(){var p,c,h;c=M("./XMLDOMErrorHandler"),h=M("./XMLDOMStringList"),B.exports=p=function(){function l(){var e;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new c,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=e=(0,m.default)(this.defaultParams)}return Object.defineProperty(l.prototype,"parameterNames",{get:function(){return new h((0,f.default)(this.defaultParams))}}),l.prototype.getParameter=function(e){return this.params.hasOwnProperty(e)?this.params[e]:null},l.prototype.canSetParameter=function(e,n){return!0},l.prototype.setParameter=function(e,n){return n!=null?this.params[e]=n:delete this.params[e]},l}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(M,B,o){"use strict";(function(){var w;B.exports=w=function(){function f(){}return f.prototype.handleError=function(A){throw new Error(A)},f}()}).call(void 0)},{}],260:[function(M,B,o){"use strict";(function(){var w;B.exports=w=function(){function f(){}return f.prototype.hasFeature=function(A,m){return!0},f.prototype.createDocumentType=function(A,m,g){throw new Error("This DOM method is not implemented.")},f.prototype.createDocument=function(A,m,g){throw new Error("This DOM method is not implemented.")},f.prototype.createHTMLDocument=function(A){throw new Error("This DOM method is not implemented.")},f.prototype.getFeature=function(A,m){throw new Error("This DOM method is not implemented.")},f}()}).call(void 0)},{}],261:[function(M,B,o){"use strict";(function(){var w;B.exports=w=function(){function f(A){this.arr=A||[]}return Object.defineProperty(f.prototype,"length",{get:function(){return this.arr.length}}),f.prototype.item=function(A){return this.arr[A]||null},f.prototype.contains=function(A){return this.arr.indexOf(A)!==-1},f}()}).call(void 0)},{}],262:[function(M,B,o){"use strict";(function(){var w,f,A,m=function(c,h){for(var l in h)g.call(h,l)&&(c[l]=h[l]);function e(){this.constructor=c}return e.prototype=h.prototype,c.prototype=new e,c.__super__=h.prototype,c},g={}.hasOwnProperty;A=M("./XMLNode"),w=M("./NodeType"),B.exports=f=function(p){m(c,p);function c(h,l,e,n,i,r){if(c.__super__.constructor.call(this,h),l==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(e==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(l));if(!n)throw new Error("Missing DTD attribute type. "+this.debugInfo(l));if(!i)throw new Error("Missing DTD attribute default. "+this.debugInfo(l));if(i.indexOf("#")!==0&&(i="#"+i),!i.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(l));if(r&&!i.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(l));this.elementName=this.stringify.name(l),this.type=w.AttributeDeclaration,this.attributeName=this.stringify.name(e),this.attributeType=this.stringify.dtdAttType(n),r&&(this.defaultValue=this.stringify.dtdAttDefault(r)),this.defaultValueType=i}return c.prototype.toString=function(h){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(h))},c}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(M,B,o){"use strict";(function(){var w,f,A,m=function(c,h){for(var l in h)g.call(h,l)&&(c[l]=h[l]);function e(){this.constructor=c}return e.prototype=h.prototype,c.prototype=new e,c.__super__=h.prototype,c},g={}.hasOwnProperty;A=M("./XMLNode"),w=M("./NodeType"),B.exports=f=function(p){m(c,p);function c(h,l,e){if(c.__super__.constructor.call(this,h),l==null)throw new Error("Missing DTD element name. "+this.debugInfo());e||(e="(#PCDATA)"),Array.isArray(e)&&(e="("+e.join(",")+")"),this.name=this.stringify.name(l),this.type=w.ElementDeclaration,this.value=this.stringify.dtdElementValue(e)}return c.prototype.toString=function(h){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(h))},c}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(M,B,o){"use strict";(function(){var w,f,A,m,g=function(h,l){for(var e in l)p.call(l,e)&&(h[e]=l[e]);function n(){this.constructor=h}return n.prototype=l.prototype,h.prototype=new n,h.__super__=l.prototype,h},p={}.hasOwnProperty;m=M("./Utility").isObject,A=M("./XMLNode"),w=M("./NodeType"),B.exports=f=function(c){g(h,c);function h(l,e,n,i){if(h.__super__.constructor.call(this,l),n==null)throw new Error("Missing DTD entity name. "+this.debugInfo(n));if(i==null)throw new Error("Missing DTD entity value. "+this.debugInfo(n));if(this.pe=!!e,this.name=this.stringify.name(n),this.type=w.EntityDeclaration,!m(i))this.value=this.stringify.dtdEntityValue(i),this.internal=!0;else{if(!i.pubID&&!i.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(n));if(i.pubID&&!i.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(n));if(this.internal=!1,i.pubID!=null&&(this.pubID=this.stringify.dtdPubID(i.pubID)),i.sysID!=null&&(this.sysID=this.stringify.dtdSysID(i.sysID)),i.nData!=null&&(this.nData=this.stringify.dtdNData(i.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(n))}}return Object.defineProperty(h.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(h.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(h.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(h.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(h.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(h.prototype,"xmlVersion",{get:function(){return null}}),h.prototype.toString=function(l){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(l))},h}(A)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(M,B,o){"use strict";(function(){var w,f,A,m=function(c,h){for(var l in h)g.call(h,l)&&(c[l]=h[l]);function e(){this.constructor=c}return e.prototype=h.prototype,c.prototype=new e,c.__super__=h.prototype,c},g={}.hasOwnProperty;A=M("./XMLNode"),w=M("./NodeType"),B.exports=f=function(p){m(c,p);function c(h,l,e){if(c.__super__.constructor.call(this,h),l==null)throw new Error("Missing DTD notation name. "+this.debugInfo(l));if(!e.pubID&&!e.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(l));this.name=this.stringify.name(l),this.type=w.NotationDeclaration,e.pubID!=null&&(this.pubID=this.stringify.dtdPubID(e.pubID)),e.sysID!=null&&(this.sysID=this.stringify.dtdSysID(e.sysID))}return Object.defineProperty(c.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(c.prototype,"systemId",{get:function(){return this.sysID}}),c.prototype.toString=function(h){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(h))},c}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(M,B,o){"use strict";(function(){var w,f,A,m,g=function(h,l){for(var e in l)p.call(l,e)&&(h[e]=l[e]);function n(){this.constructor=h}return n.prototype=l.prototype,h.prototype=new n,h.__super__=l.prototype,h},p={}.hasOwnProperty;m=M("./Utility").isObject,A=M("./XMLNode"),w=M("./NodeType"),B.exports=f=function(c){g(h,c);function h(l,e,n,i){var r;h.__super__.constructor.call(this,l),m(e)&&(r=e,e=r.version,n=r.encoding,i=r.standalone),e||(e="1.0"),this.type=w.Declaration,this.version=this.stringify.xmlVersion(e),n!=null&&(this.encoding=this.stringify.xmlEncoding(n)),i!=null&&(this.standalone=this.stringify.xmlStandalone(i))}return h.prototype.toString=function(l){return this.options.writer.declaration(this,this.options.writer.filterOptions(l))},h}(A)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(M,B,o){"use strict";(function(){var w,f,A,m,g,p,c,h,l,e=function(r,a){for(var t in a)n.call(a,t)&&(r[t]=a[t]);function s(){this.constructor=r}return s.prototype=a.prototype,r.prototype=new s,r.__super__=a.prototype,r},n={}.hasOwnProperty;l=M("./Utility").isObject,h=M("./XMLNode"),w=M("./NodeType"),f=M("./XMLDTDAttList"),m=M("./XMLDTDEntity"),A=M("./XMLDTDElement"),g=M("./XMLDTDNotation"),c=M("./XMLNamedNodeMap"),B.exports=p=function(i){e(r,i);function r(a,t,s){var u,d,v,y,S,b;if(r.__super__.constructor.call(this,a),this.type=w.DocType,a.children){for(y=a.children,d=0,v=y.length;d<v;d++)if(u=y[d],u.type===w.Element){this.name=u.name;break}}this.documentObject=a,l(t)&&(S=t,t=S.pubID,s=S.sysID),s==null&&(b=[t,s],s=b[0],t=b[1]),t!=null&&(this.pubID=this.stringify.dtdPubID(t)),s!=null&&(this.sysID=this.stringify.dtdSysID(s))}return Object.defineProperty(r.prototype,"entities",{get:function(){var t,s,u,d,v;for(d={},v=this.children,s=0,u=v.length;s<u;s++)t=v[s],t.type===w.EntityDeclaration&&!t.pe&&(d[t.name]=t);return new c(d)}}),Object.defineProperty(r.prototype,"notations",{get:function(){var t,s,u,d,v;for(d={},v=this.children,s=0,u=v.length;s<u;s++)t=v[s],t.type===w.NotationDeclaration&&(d[t.name]=t);return new c(d)}}),Object.defineProperty(r.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(r.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(r.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),r.prototype.element=function(a,t){var s;return s=new A(this,a,t),this.children.push(s),this},r.prototype.attList=function(a,t,s,u,d){var v;return v=new f(this,a,t,s,u,d),this.children.push(v),this},r.prototype.entity=function(a,t){var s;return s=new m(this,!1,a,t),this.children.push(s),this},r.prototype.pEntity=function(a,t){var s;return s=new m(this,!0,a,t),this.children.push(s),this},r.prototype.notation=function(a,t){var s;return s=new g(this,a,t),this.children.push(s),this},r.prototype.toString=function(a){return this.options.writer.docType(this,this.options.writer.filterOptions(a))},r.prototype.ele=function(a,t){return this.element(a,t)},r.prototype.att=function(a,t,s,u,d){return this.attList(a,t,s,u,d)},r.prototype.ent=function(a,t){return this.entity(a,t)},r.prototype.pent=function(a,t){return this.pEntity(a,t)},r.prototype.not=function(a,t){return this.notation(a,t)},r.prototype.up=function(){return this.root()||this.documentObject},r.prototype.isEqualNode=function(a){return r.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)?a.name!==this.name||a.publicId!==this.publicId?!1:!(a.systemId!==this.systemId):!1},r}(h)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(M,B,o){"use strict";(function(){var w,f,A,m,g,p,c,h,l=function(i,r){for(var a in r)e.call(r,a)&&(i[a]=r[a]);function t(){this.constructor=i}return t.prototype=r.prototype,i.prototype=new t,i.__super__=r.prototype,i},e={}.hasOwnProperty;h=M("./Utility").isPlainObject,A=M("./XMLDOMImplementation"),f=M("./XMLDOMConfiguration"),g=M("./XMLNode"),w=M("./NodeType"),c=M("./XMLStringifier"),p=M("./XMLStringWriter"),B.exports=m=function(n){l(i,n);function i(r){i.__super__.constructor.call(this,null),this.name="#document",this.type=w.Document,this.documentURI=null,this.domConfig=new f,r||(r={}),r.writer||(r.writer=new p),this.options=r,this.stringify=new c(r)}return Object.defineProperty(i.prototype,"implementation",{value:new A}),Object.defineProperty(i.prototype,"doctype",{get:function(){var a,t,s,u;for(u=this.children,t=0,s=u.length;t<s;t++)if(a=u[t],a.type===w.DocType)return a;return null}}),Object.defineProperty(i.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(i.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(i.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(i.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===w.Declaration?this.children[0].encoding:null}}),Object.defineProperty(i.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===w.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(i.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===w.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(i.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(i.prototype,"origin",{get:function(){return null}}),Object.defineProperty(i.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(i.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(i.prototype,"contentType",{get:function(){return null}}),i.prototype.end=function(r){var a;return a={},r?h(r)&&(a=r,r=this.options.writer):r=this.options.writer,r.document(this,r.filterOptions(a))},i.prototype.toString=function(r){return this.options.writer.document(this,this.options.writer.filterOptions(r))},i.prototype.createElement=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createTextNode=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createComment=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createCDATASection=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createProcessingInstruction=function(r,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createAttribute=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createEntityReference=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByTagName=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.importNode=function(r,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createElementNS=function(r,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createAttributeNS=function(r,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByTagNameNS=function(r,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementById=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.adoptNode=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.renameNode=function(r,a,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByClassName=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createEvent=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createNodeIterator=function(r,a,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createTreeWalker=function(r,a,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i}(g)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(M,B,o){"use strict";(function(){var w,f,A,m,g,p,c,h,l,e,n,i,r,a,t,s,u,d,v,y,S,b,E,C,T={}.hasOwnProperty;C=M("./Utility"),b=C.isObject,S=C.isFunction,E=C.isPlainObject,y=C.getValue,w=M("./NodeType"),i=M("./XMLDocument"),a=M("./XMLElement"),m=M("./XMLCData"),g=M("./XMLComment"),s=M("./XMLRaw"),v=M("./XMLText"),t=M("./XMLProcessingInstruction"),e=M("./XMLDeclaration"),n=M("./XMLDocType"),p=M("./XMLDTDAttList"),h=M("./XMLDTDEntity"),c=M("./XMLDTDElement"),l=M("./XMLDTDNotation"),A=M("./XMLAttribute"),d=M("./XMLStringifier"),u=M("./XMLStringWriter"),f=M("./WriterState"),B.exports=r=function(){function x(_,I,L){var R;this.name="?xml",this.type=w.Document,_||(_={}),R={},_.writer?E(_.writer)&&(R=_.writer,_.writer=new u):_.writer=new u,this.options=_,this.writer=_.writer,this.writerOptions=this.writer.filterOptions(R),this.stringify=new d(_),this.onDataCallback=I||function(){},this.onEndCallback=L||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return x.prototype.createChildNode=function(_){var I,L,R,k,F,P,W,D;switch(_.type){case w.CData:this.cdata(_.value);break;case w.Comment:this.comment(_.value);break;case w.Element:R={},W=_.attribs;for(L in W){if(!T.call(W,L))continue;I=W[L],R[L]=I.value}this.node(_.name,R);break;case w.Dummy:this.dummy();break;case w.Raw:this.raw(_.value);break;case w.Text:this.text(_.value);break;case w.ProcessingInstruction:this.instruction(_.target,_.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+_.constructor.name)}for(D=_.children,F=0,P=D.length;F<P;F++)k=D[F],this.createChildNode(k),k.type===w.Element&&this.up();return this},x.prototype.dummy=function(){return this},x.prototype.node=function(_,I,L){var R;if(_==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(_));return this.openCurrent(),_=y(_),I==null&&(I={}),I=y(I),b(I)||(R=[I,L],L=R[0],I=R[1]),this.currentNode=new a(this,_,I),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,L!=null&&this.text(L),this},x.prototype.element=function(_,I,L){var R,k,F,P,W,D;if(this.currentNode&&this.currentNode.type===w.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(_)||b(_)||S(_))for(P=this.options.noValidation,this.options.noValidation=!0,D=new i(this.options).element("TEMP_ROOT"),D.element(_),this.options.noValidation=P,W=D.children,k=0,F=W.length;k<F;k++)R=W[k],this.createChildNode(R),R.type===w.Element&&this.up();else this.node(_,I,L);return this},x.prototype.attribute=function(_,I){var L,R;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(_));if(_!=null&&(_=y(_)),b(_))for(L in _){if(!T.call(_,L))continue;R=_[L],this.attribute(L,R)}else S(I)&&(I=I.apply()),this.options.keepNullAttributes&&I==null?this.currentNode.attribs[_]=new A(this,_,""):I!=null&&(this.currentNode.attribs[_]=new A(this,_,I));return this},x.prototype.text=function(_){var I;return this.openCurrent(),I=new v(this,_),this.onData(this.writer.text(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.cdata=function(_){var I;return this.openCurrent(),I=new m(this,_),this.onData(this.writer.cdata(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.comment=function(_){var I;return this.openCurrent(),I=new g(this,_),this.onData(this.writer.comment(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.raw=function(_){var I;return this.openCurrent(),I=new s(this,_),this.onData(this.writer.raw(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.instruction=function(_,I){var L,R,k,F,P;if(this.openCurrent(),_!=null&&(_=y(_)),I!=null&&(I=y(I)),Array.isArray(_))for(L=0,F=_.length;L<F;L++)R=_[L],this.instruction(R);else if(b(_))for(R in _){if(!T.call(_,R))continue;k=_[R],this.instruction(R,k)}else S(I)&&(I=I.apply()),P=new t(this,_,I),this.onData(this.writer.processingInstruction(P,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},x.prototype.declaration=function(_,I,L){var R;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return R=new e(this,_,I,L),this.onData(this.writer.declaration(R,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.doctype=function(_,I,L){if(this.openCurrent(),_==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 n(this,I,L),this.currentNode.rootNodeName=_,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},x.prototype.dtdElement=function(_,I){var L;return this.openCurrent(),L=new c(this,_,I),this.onData(this.writer.dtdElement(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.attList=function(_,I,L,R,k){var F;return this.openCurrent(),F=new p(this,_,I,L,R,k),this.onData(this.writer.dtdAttList(F,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.entity=function(_,I){var L;return this.openCurrent(),L=new h(this,!1,_,I),this.onData(this.writer.dtdEntity(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.pEntity=function(_,I){var L;return this.openCurrent(),L=new h(this,!0,_,I),this.onData(this.writer.dtdEntity(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.notation=function(_,I){var L;return this.openCurrent(),L=new l(this,_,I),this.onData(this.writer.dtdNotation(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},x.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},x.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},x.prototype.openNode=function(_){var I,L,R,k;if(!_.isOpen){if(!this.root&&this.currentLevel===0&&_.type===w.Element&&(this.root=_),L="",_.type===w.Element){this.writerOptions.state=f.OpenTag,L=this.writer.indent(_,this.writerOptions,this.currentLevel)+"<"+_.name,k=_.attribs;for(R in k){if(!T.call(k,R))continue;I=k[R],L+=this.writer.attribute(I,this.writerOptions,this.currentLevel)}L+=(_.children?">":"/>")+this.writer.endline(_,this.writerOptions,this.currentLevel),this.writerOptions.state=f.InsideTag}else this.writerOptions.state=f.OpenTag,L=this.writer.indent(_,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+_.rootNodeName,_.pubID&&_.sysID?L+=' PUBLIC "'+_.pubID+'" "'+_.sysID+'"':_.sysID&&(L+=' SYSTEM "'+_.sysID+'"'),_.children?(L+=" [",this.writerOptions.state=f.InsideTag):(this.writerOptions.state=f.CloseTag,L+=">"),L+=this.writer.endline(_,this.writerOptions,this.currentLevel);return this.onData(L,this.currentLevel),_.isOpen=!0}},x.prototype.closeNode=function(_){var I;if(!_.isClosed)return I="",this.writerOptions.state=f.CloseTag,_.type===w.Element?I=this.writer.indent(_,this.writerOptions,this.currentLevel)+"</"+_.name+">"+this.writer.endline(_,this.writerOptions,this.currentLevel):I=this.writer.indent(_,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(_,this.writerOptions,this.currentLevel),this.writerOptions.state=f.None,this.onData(I,this.currentLevel),_.isClosed=!0},x.prototype.onData=function(_,I){return this.documentStarted=!0,this.onDataCallback(_,I+1)},x.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},x.prototype.debugInfo=function(_){return _==null?"":"node: <"+_+">"},x.prototype.ele=function(){return this.element.apply(this,arguments)},x.prototype.nod=function(_,I,L){return this.node(_,I,L)},x.prototype.txt=function(_){return this.text(_)},x.prototype.dat=function(_){return this.cdata(_)},x.prototype.com=function(_){return this.comment(_)},x.prototype.ins=function(_,I){return this.instruction(_,I)},x.prototype.dec=function(_,I,L){return this.declaration(_,I,L)},x.prototype.dtd=function(_,I,L){return this.doctype(_,I,L)},x.prototype.e=function(_,I,L){return this.element(_,I,L)},x.prototype.n=function(_,I,L){return this.node(_,I,L)},x.prototype.t=function(_){return this.text(_)},x.prototype.d=function(_){return this.cdata(_)},x.prototype.c=function(_){return this.comment(_)},x.prototype.r=function(_){return this.raw(_)},x.prototype.i=function(_,I){return this.instruction(_,I)},x.prototype.att=function(){return this.currentNode&&this.currentNode.type===w.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},x.prototype.a=function(){return this.currentNode&&this.currentNode.type===w.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},x.prototype.ent=function(_,I){return this.entity(_,I)},x.prototype.pent=function(_,I){return this.pEntity(_,I)},x.prototype.not=function(_,I){return this.notation(_,I)},x}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLAttribute":254,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDocument":268,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLStringWriter":278,"./XMLStringifier":279,"./XMLText":280}],270:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/create"),f=A(w);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c=function(e,n){for(var i in n)h.call(n,i)&&(e[i]=n[i]);function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},h={}.hasOwnProperty;p=M("./XMLNode"),m=M("./NodeType"),B.exports=g=function(l){c(e,l);function e(n){e.__super__.constructor.call(this,n),this.type=m.Dummy}return e.prototype.clone=function(){return(0,f.default)(this)},e.prototype.toString=function(n){return""},e}(p)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/create"),f=A(w);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c,h,l,e,n,i,r=function(s,u){for(var d in u)a.call(u,d)&&(s[d]=u[d]);function v(){this.constructor=s}return v.prototype=u.prototype,s.prototype=new v,s.__super__=u.prototype,s},a={}.hasOwnProperty;i=M("./Utility"),n=i.isObject,e=i.isFunction,l=i.getValue,h=M("./XMLNode"),m=M("./NodeType"),g=M("./XMLAttribute"),c=M("./XMLNamedNodeMap"),B.exports=p=function(t){r(s,t);function s(u,d,v){var y,S,b,E;if(s.__super__.constructor.call(this,u),d==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(d),this.type=m.Element,this.attribs={},this.schemaTypeInfo=null,v!=null&&this.attribute(v),u.type===m.Document&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this,u.children)){for(E=u.children,S=0,b=E.length;S<b;S++)if(y=E[S],y.type===m.DocType){y.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 c(this.attribs)),this.attributeMap}}),s.prototype.clone=function(){var u,d,v,y;v=(0,f.default)(this),v.isRoot&&(v.documentObject=null),v.attribs={},y=this.attribs;for(d in y){if(!a.call(y,d))continue;u=y[d],v.attribs[d]=u.clone()}return v.children=[],this.children.forEach(function(S){var b;return b=S.clone(),b.parent=v,v.children.push(b)}),v},s.prototype.attribute=function(u,d){var v,y;if(u!=null&&(u=l(u)),n(u))for(v in u){if(!a.call(u,v))continue;y=u[v],this.attribute(v,y)}else e(d)&&(d=d.apply()),this.options.keepNullAttributes&&d==null?this.attribs[u]=new g(this,u,""):d!=null&&(this.attribs[u]=new g(this,u,d));return this},s.prototype.removeAttribute=function(u){var d,v,y;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=l(u),Array.isArray(u))for(v=0,y=u.length;v<y;v++)d=u[v],delete this.attribs[d];else delete this.attribs[u];return this},s.prototype.toString=function(u){return this.options.writer.element(this,this.options.writer.filterOptions(u))},s.prototype.att=function(u,d){return this.attribute(u,d)},s.prototype.a=function(u,d){return this.attribute(u,d)},s.prototype.getAttribute=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u].value:null},s.prototype.setAttribute=function(u,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNode=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u]:null},s.prototype.setAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNS=function(u,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNS=function(u,d,v){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNS=function(u,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNodeNS=function(u,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNodeNS=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(u,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.hasAttribute=function(u){return this.attribs.hasOwnProperty(u)},s.prototype.hasAttributeNS=function(u,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttribute=function(u,d){return this.attribs.hasOwnProperty(u)?this.attribs[u].isId:d},s.prototype.setIdAttributeNS=function(u,d,v){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttributeNode=function(u,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(u,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByClassName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.isEqualNode=function(u){var d,v,y;if(!s.__super__.isEqualNode.apply(this,arguments).isEqualNode(u))return!1;if(u.namespaceURI!==this.namespaceURI)return!1;if(u.prefix!==this.prefix)return!1;if(u.localName!==this.localName)return!1;if(u.attribs.length!==this.attribs.length)return!1;for(d=v=0,y=this.attribs.length-1;0<=y?v<=y:v>=y;d=0<=y?++v:--v)if(!this.attribs[d].isEqualNode(u.attribs[d]))return!1;return!0},s}(h)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/keys"),f=A(w);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m;B.exports=m=function(){function g(p){this.nodes=p}return Object.defineProperty(g.prototype,"length",{get:function(){return(0,f.default)(this.nodes).length||0}}),g.prototype.clone=function(){return this.nodes=null},g.prototype.getNamedItem=function(p){return this.nodes[p]},g.prototype.setNamedItem=function(p){var c;return c=this.nodes[p.nodeName],this.nodes[p.nodeName]=p,c||null},g.prototype.removeNamedItem=function(p){var c;return c=this.nodes[p],delete this.nodes[p],c||null},g.prototype.item=function(p){return this.nodes[(0,f.default)(this.nodes)[p]]||null},g.prototype.getNamedItemNS=function(p,c){throw new Error("This DOM method is not implemented.")},g.prototype.setNamedItemNS=function(p){throw new Error("This DOM method is not implemented.")},g.prototype.removeNamedItemNS=function(p,c){throw new Error("This DOM method is not implemented.")},g}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(M,B,o){"use strict";(function(){var w,f,A,m,g,p,c,h,l,e,n,i,r,a,t,s,u,d,v,y={}.hasOwnProperty;v=M("./Utility"),d=v.isObject,u=v.isFunction,s=v.isEmpty,t=v.getValue,h=null,A=null,m=null,g=null,p=null,r=null,a=null,i=null,c=null,f=null,n=null,l=null,w=null,B.exports=e=function(){function S(b){this.parent=b,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,h||(h=M("./XMLElement"),A=M("./XMLCData"),m=M("./XMLComment"),g=M("./XMLDeclaration"),p=M("./XMLDocType"),r=M("./XMLRaw"),a=M("./XMLText"),i=M("./XMLProcessingInstruction"),c=M("./XMLDummy"),f=M("./NodeType"),n=M("./XMLNodeList"),l=M("./XMLNamedNodeMap"),w=M("./DocumentPosition"))}return Object.defineProperty(S.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(S.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(S.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(S.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(S.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new n(this.children)),this.childNodeList}}),Object.defineProperty(S.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(S.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){var E;return E=this.parent.children.indexOf(this),this.parent.children[E-1]||null}}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){var E;return E=this.parent.children.indexOf(this),this.parent.children[E+1]||null}}),Object.defineProperty(S.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(S.prototype,"textContent",{get:function(){var E,C,T,x,_;if(this.nodeType===f.Element||this.nodeType===f.DocumentFragment){for(_="",x=this.children,C=0,T=x.length;C<T;C++)E=x[C],E.textContent&&(_+=E.textContent);return _}else return null},set:function(E){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),S.prototype.setParent=function(b){var E,C,T,x,_;for(this.parent=b,b&&(this.options=b.options,this.stringify=b.stringify),x=this.children,_=[],C=0,T=x.length;C<T;C++)E=x[C],_.push(E.setParent(this));return _},S.prototype.element=function(b,E,C){var T,x,_,I,L,R,k,F,P,W,D;if(R=null,E===null&&C==null&&(P=[{},null],E=P[0],C=P[1]),E==null&&(E={}),E=t(E),d(E)||(W=[E,C],C=W[0],E=W[1]),b!=null&&(b=t(b)),Array.isArray(b))for(_=0,k=b.length;_<k;_++)x=b[_],R=this.element(x);else if(u(b))R=this.element(b.apply());else if(d(b))for(L in b){if(!y.call(b,L))continue;if(D=b[L],u(D)&&(D=D.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&L.indexOf(this.stringify.convertAttKey)===0)R=this.attribute(L.substr(this.stringify.convertAttKey.length),D);else if(!this.options.separateArrayItems&&Array.isArray(D)&&s(D))R=this.dummy();else if(d(D)&&s(D))R=this.element(L);else if(!this.options.keepNullNodes&&D==null)R=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(D))for(I=0,F=D.length;I<F;I++)x=D[I],T={},T[L]=x,R=this.element(T);else d(D)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&L.indexOf(this.stringify.convertTextKey)===0?R=this.element(D):(R=this.element(L),R.element(D)):R=this.element(L,D)}else!this.options.keepNullNodes&&C===null?R=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&b.indexOf(this.stringify.convertTextKey)===0?R=this.text(C):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&b.indexOf(this.stringify.convertCDataKey)===0?R=this.cdata(C):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&b.indexOf(this.stringify.convertCommentKey)===0?R=this.comment(C):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&b.indexOf(this.stringify.convertRawKey)===0?R=this.raw(C):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&b.indexOf(this.stringify.convertPIKey)===0?R=this.instruction(b.substr(this.stringify.convertPIKey.length),C):R=this.node(b,E,C);if(R==null)throw new Error("Could not create any elements with: "+b+". "+this.debugInfo());return R},S.prototype.insertBefore=function(b,E,C){var T,x,_,I,L;if(b!=null?b.type:void 0)return _=b,I=E,_.setParent(this),I?(x=children.indexOf(I),L=children.splice(x),children.push(_),Array.prototype.push.apply(children,L)):children.push(_),_;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(b));return x=this.parent.children.indexOf(this),L=this.parent.children.splice(x),T=this.parent.element(b,E,C),Array.prototype.push.apply(this.parent.children,L),T},S.prototype.insertAfter=function(b,E,C){var T,x,_;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(b));return x=this.parent.children.indexOf(this),_=this.parent.children.splice(x+1),T=this.parent.element(b,E,C),Array.prototype.push.apply(this.parent.children,_),T},S.prototype.remove=function(){var b,E;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return b=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[b,b-b+1].concat(E=[])),this.parent},S.prototype.node=function(b,E,C){var T,x;return b!=null&&(b=t(b)),E||(E={}),E=t(E),d(E)||(x=[E,C],C=x[0],E=x[1]),T=new h(this,b,E),C!=null&&T.text(C),this.children.push(T),T},S.prototype.text=function(b){var E;return d(b)&&this.element(b),E=new a(this,b),this.children.push(E),this},S.prototype.cdata=function(b){var E;return E=new A(this,b),this.children.push(E),this},S.prototype.comment=function(b){var E;return E=new m(this,b),this.children.push(E),this},S.prototype.commentBefore=function(b){var E,C,T;return C=this.parent.children.indexOf(this),T=this.parent.children.splice(C),E=this.parent.comment(b),Array.prototype.push.apply(this.parent.children,T),this},S.prototype.commentAfter=function(b){var E,C,T;return C=this.parent.children.indexOf(this),T=this.parent.children.splice(C+1),E=this.parent.comment(b),Array.prototype.push.apply(this.parent.children,T),this},S.prototype.raw=function(b){var E;return E=new r(this,b),this.children.push(E),this},S.prototype.dummy=function(){var b;return b=new c(this),b},S.prototype.instruction=function(b,E){var C,T,x,_,I;if(b!=null&&(b=t(b)),E!=null&&(E=t(E)),Array.isArray(b))for(_=0,I=b.length;_<I;_++)C=b[_],this.instruction(C);else if(d(b))for(C in b){if(!y.call(b,C))continue;T=b[C],this.instruction(C,T)}else u(E)&&(E=E.apply()),x=new i(this,b,E),this.children.push(x);return this},S.prototype.instructionBefore=function(b,E){var C,T,x;return T=this.parent.children.indexOf(this),x=this.parent.children.splice(T),C=this.parent.instruction(b,E),Array.prototype.push.apply(this.parent.children,x),this},S.prototype.instructionAfter=function(b,E){var C,T,x;return T=this.parent.children.indexOf(this),x=this.parent.children.splice(T+1),C=this.parent.instruction(b,E),Array.prototype.push.apply(this.parent.children,x),this},S.prototype.declaration=function(b,E,C){var T,x;return T=this.document(),x=new g(T,b,E,C),T.children.length===0?T.children.unshift(x):T.children[0].type===f.Declaration?T.children[0]=x:T.children.unshift(x),T.root()||T},S.prototype.dtd=function(b,E){var C,T,x,_,I,L,R,k,F,P;for(T=this.document(),x=new p(T,b,E),F=T.children,_=I=0,R=F.length;I<R;_=++I)if(C=F[_],C.type===f.DocType)return T.children[_]=x,x;for(P=T.children,_=L=0,k=P.length;L<k;_=++L)if(C=P[_],C.isRoot)return T.children.splice(_,0,x),x;return T.children.push(x),x},S.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},S.prototype.root=function(){var b;for(b=this;b;){if(b.type===f.Document)return b.rootObject;if(b.isRoot)return b;b=b.parent}},S.prototype.document=function(){var b;for(b=this;b;){if(b.type===f.Document)return b;b=b.parent}},S.prototype.end=function(b){return this.document().end(b)},S.prototype.prev=function(){var b;if(b=this.parent.children.indexOf(this),b<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[b-1]},S.prototype.next=function(){var b;if(b=this.parent.children.indexOf(this),b===-1||b===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[b+1]},S.prototype.importDocument=function(b){var E;return E=b.root().clone(),E.parent=this,E.isRoot=!1,this.children.push(E),this},S.prototype.debugInfo=function(b){var E,C;return b=b||this.name,b==null&&!((E=this.parent)!=null?E.name:void 0)?"":b==null?"parent: <"+this.parent.name+">":((C=this.parent)!=null?C.name:void 0)?"node: <"+b+">, parent: <"+this.parent.name+">":"node: <"+b+">"},S.prototype.ele=function(b,E,C){return this.element(b,E,C)},S.prototype.nod=function(b,E,C){return this.node(b,E,C)},S.prototype.txt=function(b){return this.text(b)},S.prototype.dat=function(b){return this.cdata(b)},S.prototype.com=function(b){return this.comment(b)},S.prototype.ins=function(b,E){return this.instruction(b,E)},S.prototype.doc=function(){return this.document()},S.prototype.dec=function(b,E,C){return this.declaration(b,E,C)},S.prototype.e=function(b,E,C){return this.element(b,E,C)},S.prototype.n=function(b,E,C){return this.node(b,E,C)},S.prototype.t=function(b){return this.text(b)},S.prototype.d=function(b){return this.cdata(b)},S.prototype.c=function(b){return this.comment(b)},S.prototype.r=function(b){return this.raw(b)},S.prototype.i=function(b,E){return this.instruction(b,E)},S.prototype.u=function(){return this.up()},S.prototype.importXMLBuilder=function(b){return this.importDocument(b)},S.prototype.replaceChild=function(b,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.removeChild=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.appendChild=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.hasChildNodes=function(){return this.children.length!==0},S.prototype.cloneNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.isSupported=function(b,E){return!0},S.prototype.hasAttributes=function(){return this.attribs.length!==0},S.prototype.compareDocumentPosition=function(b){var E,C;return E=this,E===b?0:this.document()!==b.document()?(C=w.Disconnected|w.ImplementationSpecific,Math.random()<.5?C|=w.Preceding:C|=w.Following,C):E.isAncestor(b)?w.Contains|w.Preceding:E.isDescendant(b)?w.Contains|w.Following:E.isPreceding(b)?w.Preceding:w.Following},S.prototype.isSameNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.lookupPrefix=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.isDefaultNamespace=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.lookupNamespaceURI=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.isEqualNode=function(b){var E,C,T;if(b.nodeType!==this.nodeType)return!1;if(b.children.length!==this.children.length)return!1;for(E=C=0,T=this.children.length-1;0<=T?C<=T:C>=T;E=0<=T?++C:--C)if(!this.children[E].isEqualNode(b.children[E]))return!1;return!0},S.prototype.getFeature=function(b,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.setUserData=function(b,E,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.getUserData=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.contains=function(b){return b?b===this||this.isDescendant(b):!1},S.prototype.isDescendant=function(b){var E,C,T,x,_;for(_=this.children,T=0,x=_.length;T<x;T++){if(E=_[T],b===E)return!0;if(C=E.isDescendant(b),C)return!0}return!1},S.prototype.isAncestor=function(b){return b.isDescendant(this)},S.prototype.isPreceding=function(b){var E,C;return E=this.treePosition(b),C=this.treePosition(this),E===-1||C===-1?!1:E<C},S.prototype.isFollowing=function(b){var E,C;return E=this.treePosition(b),C=this.treePosition(this),E===-1||C===-1?!1:E>C},S.prototype.treePosition=function(b){var E,C;return C=0,E=!1,this.foreachTreeNode(this.document(),function(T){if(C++,!E&&T===b)return E=!0}),E?C:-1},S.prototype.foreachTreeNode=function(b,E){var C,T,x,_,I;for(b||(b=this.document()),_=b.children,T=0,x=_.length;T<x;T++){if(C=_[T],I=E(C))return I;if(I=this.foreachTreeNode(C,E),I)return I}},S}()}).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(M,B,o){"use strict";(function(){var w;B.exports=w=function(){function f(A){this.nodes=A}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(A){return this.nodes[A]||null},f}()}).call(void 0)},{}],275:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/create"),f=A(w);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c=function(e,n){for(var i in n)h.call(n,i)&&(e[i]=n[i]);function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},h={}.hasOwnProperty;m=M("./NodeType"),g=M("./XMLCharacterData"),B.exports=p=function(l){c(e,l);function e(n,i,r){if(e.__super__.constructor.call(this,n),i==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=m.ProcessingInstruction,this.target=this.stringify.insTarget(i),this.name=this.target,r&&(this.value=this.stringify.insValue(r))}return e.prototype.clone=function(){return(0,f.default)(this)},e.prototype.toString=function(n){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(n))},e.prototype.isEqualNode=function(n){return e.__super__.isEqualNode.apply(this,arguments).isEqualNode(n)?!(n.target!==this.target):!1},e}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/create"),f=A(w);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c=function(e,n){for(var i in n)h.call(n,i)&&(e[i]=n[i]);function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},h={}.hasOwnProperty;m=M("./NodeType"),g=M("./XMLNode"),B.exports=p=function(l){c(e,l);function e(n,i){if(e.__super__.constructor.call(this,n),i==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=m.Raw,this.value=this.stringify.raw(i)}return e.prototype.clone=function(){return(0,f.default)(this)},e.prototype.toString=function(n){return this.options.writer.raw(this,this.options.writer.filterOptions(n))},e}(g)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(M,B,o){"use strict";(function(){var w,f,A,m,g=function(h,l){for(var e in l)p.call(l,e)&&(h[e]=l[e]);function n(){this.constructor=h}return n.prototype=l.prototype,h.prototype=new n,h.__super__=l.prototype,h},p={}.hasOwnProperty;w=M("./NodeType"),m=M("./XMLWriterBase"),f=M("./WriterState"),B.exports=A=function(c){g(h,c);function h(l,e){this.stream=l,h.__super__.constructor.call(this,e)}return h.prototype.endline=function(l,e,n){return l.isLastRootNode&&e.state===f.CloseTag?"":h.__super__.endline.call(this,l,e,n)},h.prototype.document=function(l,e){var n,i,r,a,t,s,u,d,v;for(u=l.children,i=r=0,t=u.length;r<t;i=++r)n=u[i],n.isLastRootNode=i===l.children.length-1;for(e=this.filterOptions(e),d=l.children,v=[],a=0,s=d.length;a<s;a++)n=d[a],v.push(this.writeChildNode(n,e,0));return v},h.prototype.attribute=function(l,e,n){return this.stream.write(h.__super__.attribute.call(this,l,e,n))},h.prototype.cdata=function(l,e,n){return this.stream.write(h.__super__.cdata.call(this,l,e,n))},h.prototype.comment=function(l,e,n){return this.stream.write(h.__super__.comment.call(this,l,e,n))},h.prototype.declaration=function(l,e,n){return this.stream.write(h.__super__.declaration.call(this,l,e,n))},h.prototype.docType=function(l,e,n){var i,r,a,t;if(n||(n=0),this.openNode(l,e,n),e.state=f.OpenTag,this.stream.write(this.indent(l,e,n)),this.stream.write("<!DOCTYPE "+l.root().name),l.pubID&&l.sysID?this.stream.write(' PUBLIC "'+l.pubID+'" "'+l.sysID+'"'):l.sysID&&this.stream.write(' SYSTEM "'+l.sysID+'"'),l.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(l,e,n)),e.state=f.InsideTag,t=l.children,r=0,a=t.length;r<a;r++)i=t[r],this.writeChildNode(i,e,n+1);e.state=f.CloseTag,this.stream.write("]")}return e.state=f.CloseTag,this.stream.write(e.spaceBeforeSlash+">"),this.stream.write(this.endline(l,e,n)),e.state=f.None,this.closeNode(l,e,n)},h.prototype.element=function(l,e,n){var i,r,a,t,s,u,d,v,y,S;n||(n=0),this.openNode(l,e,n),e.state=f.OpenTag,this.stream.write(this.indent(l,e,n)+"<"+l.name),y=l.attribs;for(d in y){if(!p.call(y,d))continue;i=y[d],this.attribute(i,e,n)}if(a=l.children.length,t=a===0?null:l.children[0],a===0||l.children.every(function(b){return(b.type===w.Text||b.type===w.Raw)&&b.value===""}))e.allowEmpty?(this.stream.write(">"),e.state=f.CloseTag,this.stream.write("</"+l.name+">")):(e.state=f.CloseTag,this.stream.write(e.spaceBeforeSlash+"/>"));else if(e.pretty&&a===1&&(t.type===w.Text||t.type===w.Raw)&&t.value!=null)this.stream.write(">"),e.state=f.InsideTag,e.suppressPrettyCount++,v=!0,this.writeChildNode(t,e,n+1),e.suppressPrettyCount--,v=!1,e.state=f.CloseTag,this.stream.write("</"+l.name+">");else{for(this.stream.write(">"+this.endline(l,e,n)),e.state=f.InsideTag,S=l.children,s=0,u=S.length;s<u;s++)r=S[s],this.writeChildNode(r,e,n+1);e.state=f.CloseTag,this.stream.write(this.indent(l,e,n)+"</"+l.name+">")}return this.stream.write(this.endline(l,e,n)),e.state=f.None,this.closeNode(l,e,n)},h.prototype.processingInstruction=function(l,e,n){return this.stream.write(h.__super__.processingInstruction.call(this,l,e,n))},h.prototype.raw=function(l,e,n){return this.stream.write(h.__super__.raw.call(this,l,e,n))},h.prototype.text=function(l,e,n){return this.stream.write(h.__super__.text.call(this,l,e,n))},h.prototype.dtdAttList=function(l,e,n){return this.stream.write(h.__super__.dtdAttList.call(this,l,e,n))},h.prototype.dtdElement=function(l,e,n){return this.stream.write(h.__super__.dtdElement.call(this,l,e,n))},h.prototype.dtdEntity=function(l,e,n){return this.stream.write(h.__super__.dtdEntity.call(this,l,e,n))},h.prototype.dtdNotation=function(l,e,n){return this.stream.write(h.__super__.dtdNotation.call(this,l,e,n))},h}(m)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(M,B,o){"use strict";(function(){var w,f,A=function(p,c){for(var h in c)m.call(c,h)&&(p[h]=c[h]);function l(){this.constructor=p}return l.prototype=c.prototype,p.prototype=new l,p.__super__=c.prototype,p},m={}.hasOwnProperty;f=M("./XMLWriterBase"),B.exports=w=function(g){A(p,g);function p(c){p.__super__.constructor.call(this,c)}return p.prototype.document=function(c,h){var l,e,n,i,r;for(h=this.filterOptions(h),i="",r=c.children,e=0,n=r.length;e<n;e++)l=r[e],i+=this.writeChildNode(l,h,0);return h.pretty&&i.slice(-h.newline.length)===h.newline&&(i=i.slice(0,-h.newline.length)),i},p}(f)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(M,B,o){"use strict";(function(){var w,f=function(g,p){return function(){return g.apply(p,arguments)}},A={}.hasOwnProperty;B.exports=w=function(){function m(g){this.assertLegalName=f(this.assertLegalName,this),this.assertLegalChar=f(this.assertLegalChar,this);var p,c,h;g||(g={}),this.options=g,this.options.version||(this.options.version="1.0"),c=g.stringify||{};for(p in c){if(!A.call(c,p))continue;h=c[p],this[p]=h}}return m.prototype.name=function(g){return this.options.noValidation?g:this.assertLegalName(""+g||"")},m.prototype.text=function(g){return this.options.noValidation?g:this.assertLegalChar(this.textEscape(""+g||""))},m.prototype.cdata=function(g){return this.options.noValidation?g:(g=""+g||"",g=g.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(g))},m.prototype.comment=function(g){if(this.options.noValidation)return g;if(g=""+g||"",g.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+g);return this.assertLegalChar(g)},m.prototype.raw=function(g){return this.options.noValidation?g:""+g||""},m.prototype.attValue=function(g){return this.options.noValidation?g:this.assertLegalChar(this.attEscape(g=""+g||""))},m.prototype.insTarget=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.insValue=function(g){if(this.options.noValidation)return g;if(g=""+g||"",g.match(/\?>/))throw new Error("Invalid processing instruction value: "+g);return this.assertLegalChar(g)},m.prototype.xmlVersion=function(g){if(this.options.noValidation)return g;if(g=""+g||"",!g.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+g);return g},m.prototype.xmlEncoding=function(g){if(this.options.noValidation)return g;if(g=""+g||"",!g.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+g);return this.assertLegalChar(g)},m.prototype.xmlStandalone=function(g){return this.options.noValidation?g:g?"yes":"no"},m.prototype.dtdPubID=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdSysID=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdElementValue=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdAttType=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdAttDefault=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdEntityValue=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdNData=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.convertAttKey="@",m.prototype.convertPIKey="?",m.prototype.convertTextKey="#text",m.prototype.convertCDataKey="#cdata",m.prototype.convertCommentKey="#comment",m.prototype.convertRawKey="#raw",m.prototype.assertLegalChar=function(g){var p,c;if(this.options.noValidation)return g;if(p="",this.options.version==="1.0"){if(p=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=g.match(p))throw new Error("Invalid character in string: "+g+" at index "+c.index)}else if(this.options.version==="1.1"&&(p=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=g.match(p)))throw new Error("Invalid character in string: "+g+" at index "+c.index);return g},m.prototype.assertLegalName=function(g){var p;if(this.options.noValidation)return g;if(this.assertLegalChar(g),p=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!g.match(p))throw new Error("Invalid character in name");return g},m.prototype.textEscape=function(g){var p;return this.options.noValidation?g:(p=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,g.replace(p,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},m.prototype.attEscape=function(g){var p;return this.options.noValidation?g:(p=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,g.replace(p,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},m}()}).call(void 0)},{}],280:[function(M,B,o){"use strict";var w=M("babel-runtime/core-js/object/create"),f=A(w);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,p,c=function(e,n){for(var i in n)h.call(n,i)&&(e[i]=n[i]);function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},h={}.hasOwnProperty;m=M("./NodeType"),g=M("./XMLCharacterData"),B.exports=p=function(l){c(e,l);function e(n,i){if(e.__super__.constructor.call(this,n),i==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=m.Text,this.value=this.stringify.text(i)}return Object.defineProperty(e.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"wholeText",{get:function(){var i,r,a;for(a="",r=this.previousSibling;r;)a=r.data+a,r=r.previousSibling;for(a+=this.data,i=this.nextSibling;i;)a=a+i.data,i=i.nextSibling;return a}}),e.prototype.clone=function(){return(0,f.default)(this)},e.prototype.toString=function(n){return this.options.writer.text(this,this.options.writer.filterOptions(n))},e.prototype.splitText=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.replaceWholeText=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},e}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(M,B,o){"use strict";(function(){var w,f,A,m,g,p,c,h,l,e,n,i,r,a,t,s,u,d={}.hasOwnProperty;u=M("./Utility").assign,w=M("./NodeType"),l=M("./XMLDeclaration"),e=M("./XMLDocType"),A=M("./XMLCData"),m=M("./XMLComment"),i=M("./XMLElement"),a=M("./XMLRaw"),t=M("./XMLText"),r=M("./XMLProcessingInstruction"),n=M("./XMLDummy"),g=M("./XMLDTDAttList"),p=M("./XMLDTDElement"),c=M("./XMLDTDEntity"),h=M("./XMLDTDNotation"),f=M("./WriterState"),B.exports=s=function(){function v(y){var S,b,E;y||(y={}),this.options=y,b=y.writer||{};for(S in b){if(!d.call(b,S))continue;E=b[S],this["_"+S]=this[S],this[S]=E}}return v.prototype.filterOptions=function(y){var S,b,E,C,T,x,_,I;return y||(y={}),y=u({},this.options,y),S={writer:this},S.pretty=y.pretty||!1,S.allowEmpty=y.allowEmpty||!1,S.indent=(b=y.indent)!=null?b:" ",S.newline=(E=y.newline)!=null?E:`
|
|
|
`,S.offset=(C=y.offset)!=null?C:0,S.dontPrettyTextNodes=(T=(x=y.dontPrettyTextNodes)!=null?x:y.dontprettytextnodes)!=null?T:0,S.spaceBeforeSlash=(_=(I=y.spaceBeforeSlash)!=null?I:y.spacebeforeslash)!=null?_:"",S.spaceBeforeSlash===!0&&(S.spaceBeforeSlash=" "),S.suppressPrettyCount=0,S.user={},S.state=f.None,S},v.prototype.indent=function(y,S,b){var E;return!S.pretty||S.suppressPrettyCount?"":S.pretty&&(E=(b||0)+S.offset+1,E>0)?new Array(E).join(S.indent):""},v.prototype.endline=function(y,S,b){return!S.pretty||S.suppressPrettyCount?"":S.newline},v.prototype.attribute=function(y,S,b){var E;return this.openAttribute(y,S,b),E=" "+y.name+'="'+y.value+'"',this.closeAttribute(y,S,b),E},v.prototype.cdata=function(y,S,b){var E;return this.openNode(y,S,b),S.state=f.OpenTag,E=this.indent(y,S,b)+"<![CDATA[",S.state=f.InsideTag,E+=y.value,S.state=f.CloseTag,E+="]]>"+this.endline(y,S,b),S.state=f.None,this.closeNode(y,S,b),E},v.prototype.comment=function(y,S,b){var E;return this.openNode(y,S,b),S.state=f.OpenTag,E=this.indent(y,S,b)+"<!-- ",S.state=f.InsideTag,E+=y.value,S.state=f.CloseTag,E+=" -->"+this.endline(y,S,b),S.state=f.None,this.closeNode(y,S,b),E},v.prototype.declaration=function(y,S,b){var E;return this.openNode(y,S,b),S.state=f.OpenTag,E=this.indent(y,S,b)+"<?xml",S.state=f.InsideTag,E+=' version="'+y.version+'"',y.encoding!=null&&(E+=' encoding="'+y.encoding+'"'),y.standalone!=null&&(E+=' standalone="'+y.standalone+'"'),S.state=f.CloseTag,E+=S.spaceBeforeSlash+"?>",E+=this.endline(y,S,b),S.state=f.None,this.closeNode(y,S,b),E},v.prototype.docType=function(y,S,b){var E,C,T,x,_;if(b||(b=0),this.openNode(y,S,b),S.state=f.OpenTag,x=this.indent(y,S,b),x+="<!DOCTYPE "+y.root().name,y.pubID&&y.sysID?x+=' PUBLIC "'+y.pubID+'" "'+y.sysID+'"':y.sysID&&(x+=' SYSTEM "'+y.sysID+'"'),y.children.length>0){for(x+=" [",x+=this.endline(y,S,b),S.state=f.InsideTag,_=y.children,C=0,T=_.length;C<T;C++)E=_[C],x+=this.writeChildNode(E,S,b+1);S.state=f.CloseTag,x+="]"}return S.state=f.CloseTag,x+=S.spaceBeforeSlash+">",x+=this.endline(y,S,b),S.state=f.None,this.closeNode(y,S,b),x},v.prototype.element=function(y,S,b){var E,C,T,x,_,I,L,R,k,F,P,W,D,U;b||(b=0),F=!1,P="",this.openNode(y,S,b),S.state=f.OpenTag,P+=this.indent(y,S,b)+"<"+y.name,W=y.attribs;for(k in W){if(!d.call(W,k))continue;E=W[k],P+=this.attribute(E,S,b)}if(T=y.children.length,x=T===0?null:y.children[0],T===0||y.children.every(function(H){return(H.type===w.Text||H.type===w.Raw)&&H.value===""}))S.allowEmpty?(P+=">",S.state=f.CloseTag,P+="</"+y.name+">"+this.endline(y,S,b)):(S.state=f.CloseTag,P+=S.spaceBeforeSlash+"/>"+this.endline(y,S,b));else if(S.pretty&&T===1&&(x.type===w.Text||x.type===w.Raw)&&x.value!=null)P+=">",S.state=f.InsideTag,S.suppressPrettyCount++,F=!0,P+=this.writeChildNode(x,S,b+1),S.suppressPrettyCount--,F=!1,S.state=f.CloseTag,P+="</"+y.name+">"+this.endline(y,S,b);else{if(S.dontPrettyTextNodes){for(D=y.children,_=0,L=D.length;_<L;_++)if(C=D[_],(C.type===w.Text||C.type===w.Raw)&&C.value!=null){S.suppressPrettyCount++,F=!0;break}}for(P+=">"+this.endline(y,S,b),S.state=f.InsideTag,U=y.children,I=0,R=U.length;I<R;I++)C=U[I],P+=this.writeChildNode(C,S,b+1);S.state=f.CloseTag,P+=this.indent(y,S,b)+"</"+y.name+">",F&&S.suppressPrettyCount--,P+=this.endline(y,S,b),S.state=f.None}return this.closeNode(y,S,b),P},v.prototype.writeChildNode=function(y,S,b){switch(y.type){case w.CData:return this.cdata(y,S,b);case w.Comment:return this.comment(y,S,b);case w.Element:return this.element(y,S,b);case w.Raw:return this.raw(y,S,b);case w.Text:return this.text(y,S,b);case w.ProcessingInstruction:return this.processingInstruction(y,S,b);case w.Dummy:return"";case w.Declaration:return this.declaration(y,S,b);case w.DocType:return this.docType(y,S,b);case w.AttributeDeclaration:return this.dtdAttList(y,S,b);case w.ElementDeclaration:return this.dtdElement(y,S,b);case w.EntityDeclaration:return this.dtdEntity(y,S,b);case w.NotationDeclaration:return this.dtdNotation(y,S,b);default:throw new Error("Unknown XML node type: "+y.constructor.name)}},v.prototype.processingInstruction=function(y,S,b){var E;return this.openNode(y,S,b),S.state=f.OpenTag,E=this.indent(y,S,b)+"<?",S.state=f.InsideTag,E+=y.target,y.value&&(E+=" "+y.value),S.state=f.CloseTag,E+=S.spaceBeforeSlash+"?>",E+=this.endline(y,S,b),S.state=f.None,this.closeNode(y,S,b),E},v.prototype.raw=function(y,S,b){var E;return this.openNode(y,S,b),S.state=f.OpenTag,E=this.indent(y,S,b),S.state=f.InsideTag,E+=y.value,S.state=f.CloseTag,E+=this.endline(y,S,b),S.state=f.None,this.closeNode(y,S,b),E},v.prototype.text=function(y,S,b){var E;return this.openNode(y,S,b),S.state=f.OpenTag,E=this.indent(y,S,b),S.state=f.InsideTag,E+=y.value,S.state=f.CloseTag,E+=this.endline(y,S,b),S.state=f.None,this.closeNode(y,S,b),E},v.prototype.dtdAttList=function(y,S,b){var E;return this.openNode(y,S,b),S.state=f.OpenTag,E=this.indent(y,S,b)+"<!ATTLIST",S.state=f.InsideTag,E+=" "+y.elementName+" "+y.attributeName+" "+y.attributeType,y.defaultValueType!=="#DEFAULT"&&(E+=" "+y.defaultValueType),y.defaultValue&&(E+=' "'+y.defaultValue+'"'),S.state=f.CloseTag,E+=S.spaceBeforeSlash+">"+this.endline(y,S,b),S.state=f.None,this.closeNode(y,S,b),E},v.prototype.dtdElement=function(y,S,b){var E;return this.openNode(y,S,b),S.state=f.OpenTag,E=this.indent(y,S,b)+"<!ELEMENT",S.state=f.InsideTag,E+=" "+y.name+" "+y.value,S.state=f.CloseTag,E+=S.spaceBeforeSlash+">"+this.endline(y,S,b),S.state=f.None,this.closeNode(y,S,b),E},v.prototype.dtdEntity=function(y,S,b){var E;return this.openNode(y,S,b),S.state=f.OpenTag,E=this.indent(y,S,b)+"<!ENTITY",S.state=f.InsideTag,y.pe&&(E+=" %"),E+=" "+y.name,y.value?E+=' "'+y.value+'"':(y.pubID&&y.sysID?E+=' PUBLIC "'+y.pubID+'" "'+y.sysID+'"':y.sysID&&(E+=' SYSTEM "'+y.sysID+'"'),y.nData&&(E+=" NDATA "+y.nData)),S.state=f.CloseTag,E+=S.spaceBeforeSlash+">"+this.endline(y,S,b),S.state=f.None,this.closeNode(y,S,b),E},v.prototype.dtdNotation=function(y,S,b){var E;return this.openNode(y,S,b),S.state=f.OpenTag,E=this.indent(y,S,b)+"<!NOTATION",S.state=f.InsideTag,E+=" "+y.name,y.pubID&&y.sysID?E+=' PUBLIC "'+y.pubID+'" "'+y.sysID+'"':y.pubID?E+=' PUBLIC "'+y.pubID+'"':y.sysID&&(E+=' SYSTEM "'+y.sysID+'"'),S.state=f.CloseTag,E+=S.spaceBeforeSlash+">"+this.endline(y,S,b),S.state=f.None,this.closeNode(y,S,b),E},v.prototype.openNode=function(y,S,b){},v.prototype.closeNode=function(y,S,b){},v.prototype.openAttribute=function(y,S,b){},v.prototype.closeAttribute=function(y,S,b){},v}()}).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(M,B,o){"use strict";(function(){var w,f,A,m,g,p,c,h,l,e;e=M("./Utility"),h=e.assign,l=e.isFunction,A=M("./XMLDOMImplementation"),m=M("./XMLDocument"),g=M("./XMLDocumentCB"),c=M("./XMLStringWriter"),p=M("./XMLStreamWriter"),w=M("./NodeType"),f=M("./WriterState"),B.exports.create=function(n,i,r,a){var t,s;if(n==null)throw new Error("Root element needs a name.");return a=h({},i,r,a),t=new m(a),s=t.element(n),a.headless||(t.declaration(a),(a.pubID!=null||a.sysID!=null)&&t.dtd(a)),s},B.exports.begin=function(n,i,r){var a;return l(n)&&(a=[n,i],i=a[0],r=a[1],n={}),i?new g(n,i,r):new m(n)},B.exports.stringWriter=function(n){return new c(n)},B.exports.streamWriter=function(n,i){return new p(n,i)},B.exports.implementation=new A,B.exports.nodeType=w,B.exports.writerState=f}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(M,B,o){B.exports=f;var w=Object.prototype.hasOwnProperty;function f(){for(var A={},m=0;m<arguments.length;m++){var g=arguments[m];for(var p in g)w.call(g,p)&&(A[p]=g[p])}return A}},{}],284:[function(M,B,o){"use strict";var w=M("buffer").Buffer,f=M("./sha"),A=M("./md5"),m={sha1:f,md5:A},g=64,p=w.alloc(g);p.fill(0);function c(e,n,i){w.isBuffer(n)||(n=w.from(n)),w.isBuffer(i)||(i=w.from(i)),n.length>g?n=e(n):n.length<g&&(n=w.concat([n,p],g));for(var r=w.alloc(g),a=w.alloc(g),t=0;t<g;t++)r[t]=n[t]^54,a[t]=n[t]^92;var s=e(w.concat([r,i]));return e(w.concat([a,s]))}function h(e,n){e=e||"sha1";var i=m[e],r=[],a=0;return i||l("algorithm:",e,"is not yet supported"),{update:function(s){return w.isBuffer(s)||(s=w.from(s)),r.push(s),a+=s.length,this},digest:function(s){var u=w.concat(r),d=n?c(i,n,u):i(u);return r=null,s?d.toString(s):d}}}function l(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}o.createHash=function(e){return h(e)},o.createHmac=function(e,n){return h(e,n)},o.createCredentials=function(){l("sorry,createCredentials is not implemented yet")},o.createCipher=function(){l("sorry,createCipher is not implemented yet")},o.createCipheriv=function(){l("sorry,createCipheriv is not implemented yet")},o.createDecipher=function(){l("sorry,createDecipher is not implemented yet")},o.createDecipheriv=function(){l("sorry,createDecipheriv is not implemented yet")},o.createSign=function(){l("sorry,createSign is not implemented yet")},o.createVerify=function(){l("sorry,createVerify is not implemented yet")},o.createDiffieHellman=function(){l("sorry,createDiffieHellman is not implemented yet")},o.pbkdf2=function(){l("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(M,B,o){"use strict";var w=M("buffer").Buffer,f=4,A=w.alloc(f);A.fill(0);var m=8;function g(h,l){if(h.length%f!==0){var e=h.length+(f-h.length%f);h=w.concat([h,A],e)}for(var n=[],i=l?h.readInt32BE:h.readInt32LE,r=0;r<h.length;r+=f)n.push(i.call(h,r));return n}function p(h,l,e){for(var n=w.alloc(l),i=e?n.writeInt32BE:n.writeInt32LE,r=0;r<h.length;r++)i.call(n,h[r],r*4,!0);return n}function c(h,l,e,n){w.isBuffer(h)||(h=w.from(h));var i=l(g(h,n),h.length*m);return p(i,e,n)}B.exports={hash:c}},{buffer:73}],286:[function(M,B,o){"use strict";var w=M("./helpers");function f(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function A(n,i){n[i>>5]|=128<<i%32,n[(i+64>>>9<<4)+14]=i;for(var r=1732584193,a=-271733879,t=-1732584194,s=271733878,u=0;u<n.length;u+=16){var d=r,v=a,y=t,S=s;r=g(r,a,t,s,n[u+0],7,-680876936),s=g(s,r,a,t,n[u+1],12,-389564586),t=g(t,s,r,a,n[u+2],17,606105819),a=g(a,t,s,r,n[u+3],22,-1044525330),r=g(r,a,t,s,n[u+4],7,-176418897),s=g(s,r,a,t,n[u+5],12,1200080426),t=g(t,s,r,a,n[u+6],17,-1473231341),a=g(a,t,s,r,n[u+7],22,-45705983),r=g(r,a,t,s,n[u+8],7,1770035416),s=g(s,r,a,t,n[u+9],12,-1958414417),t=g(t,s,r,a,n[u+10],17,-42063),a=g(a,t,s,r,n[u+11],22,-1990404162),r=g(r,a,t,s,n[u+12],7,1804603682),s=g(s,r,a,t,n[u+13],12,-40341101),t=g(t,s,r,a,n[u+14],17,-1502002290),a=g(a,t,s,r,n[u+15],22,1236535329),r=p(r,a,t,s,n[u+1],5,-165796510),s=p(s,r,a,t,n[u+6],9,-1069501632),t=p(t,s,r,a,n[u+11],14,643717713),a=p(a,t,s,r,n[u+0],20,-373897302),r=p(r,a,t,s,n[u+5],5,-701558691),s=p(s,r,a,t,n[u+10],9,38016083),t=p(t,s,r,a,n[u+15],14,-660478335),a=p(a,t,s,r,n[u+4],20,-405537848),r=p(r,a,t,s,n[u+9],5,568446438),s=p(s,r,a,t,n[u+14],9,-1019803690),t=p(t,s,r,a,n[u+3],14,-187363961),a=p(a,t,s,r,n[u+8],20,1163531501),r=p(r,a,t,s,n[u+13],5,-1444681467),s=p(s,r,a,t,n[u+2],9,-51403784),t=p(t,s,r,a,n[u+7],14,1735328473),a=p(a,t,s,r,n[u+12],20,-1926607734),r=c(r,a,t,s,n[u+5],4,-378558),s=c(s,r,a,t,n[u+8],11,-2022574463),t=c(t,s,r,a,n[u+11],16,1839030562),a=c(a,t,s,r,n[u+14],23,-35309556),r=c(r,a,t,s,n[u+1],4,-1530992060),s=c(s,r,a,t,n[u+4],11,1272893353),t=c(t,s,r,a,n[u+7],16,-155497632),a=c(a,t,s,r,n[u+10],23,-1094730640),r=c(r,a,t,s,n[u+13],4,681279174),s=c(s,r,a,t,n[u+0],11,-358537222),t=c(t,s,r,a,n[u+3],16,-722521979),a=c(a,t,s,r,n[u+6],23,76029189),r=c(r,a,t,s,n[u+9],4,-640364487),s=c(s,r,a,t,n[u+12],11,-421815835),t=c(t,s,r,a,n[u+15],16,530742520),a=c(a,t,s,r,n[u+2],23,-995338651),r=h(r,a,t,s,n[u+0],6,-198630844),s=h(s,r,a,t,n[u+7],10,1126891415),t=h(t,s,r,a,n[u+14],15,-1416354905),a=h(a,t,s,r,n[u+5],21,-57434055),r=h(r,a,t,s,n[u+12],6,1700485571),s=h(s,r,a,t,n[u+3],10,-1894986606),t=h(t,s,r,a,n[u+10],15,-1051523),a=h(a,t,s,r,n[u+1],21,-2054922799),r=h(r,a,t,s,n[u+8],6,1873313359),s=h(s,r,a,t,n[u+15],10,-30611744),t=h(t,s,r,a,n[u+6],15,-1560198380),a=h(a,t,s,r,n[u+13],21,1309151649),r=h(r,a,t,s,n[u+4],6,-145523070),s=h(s,r,a,t,n[u+11],10,-1120210379),t=h(t,s,r,a,n[u+2],15,718787259),a=h(a,t,s,r,n[u+9],21,-343485551),r=l(r,d),a=l(a,v),t=l(t,y),s=l(s,S)}return Array(r,a,t,s)}function m(n,i,r,a,t,s){return l(e(l(l(i,n),l(a,s)),t),r)}function g(n,i,r,a,t,s,u){return m(i&r|~i&a,n,i,t,s,u)}function p(n,i,r,a,t,s,u){return m(i&a|r&~a,n,i,t,s,u)}function c(n,i,r,a,t,s,u){return m(i^r^a,n,i,t,s,u)}function h(n,i,r,a,t,s,u){return m(r^(i|~a),n,i,t,s,u)}function l(n,i){var r=(n&65535)+(i&65535),a=(n>>16)+(i>>16)+(r>>16);return a<<16|r&65535}function e(n,i){return n<<i|n>>>32-i}B.exports=function(i){return w.hash(i,A,16)}},{"./helpers":285}],287:[function(M,B,o){"use strict";var w=M("./helpers");function f(c,h){c[h>>5]|=128<<24-h%32,c[(h+64>>9<<4)+15]=h;for(var l=Array(80),e=1732584193,n=-271733879,i=-1732584194,r=271733878,a=-1009589776,t=0;t<c.length;t+=16){for(var s=e,u=n,d=i,v=r,y=a,S=0;S<80;S++){S<16?l[S]=c[t+S]:l[S]=p(l[S-3]^l[S-8]^l[S-14]^l[S-16],1);var b=g(g(p(e,5),A(S,n,i,r)),g(g(a,l[S]),m(S)));a=r,r=i,i=p(n,30),n=e,e=b}e=g(e,s),n=g(n,u),i=g(i,d),r=g(r,v),a=g(a,y)}return Array(e,n,i,r,a)}function A(c,h,l,e){return c<20?h&l|~h&e:c<40?h^l^e:c<60?h&l|h&e|l&e:h^l^e}function m(c){return c<20?1518500249:c<40?1859775393:c<60?-1894007588:-899497514}function g(c,h){var l=(c&65535)+(h&65535),e=(c>>16)+(h>>16)+(l>>16);return e<<16|l&65535}function p(c,h){return c<<h|c>>>32-h}B.exports=function(h){return w.hash(h,f,20,!0)}},{"./helpers":285}],288:[function(M,B,o){"use strict";B.exports=function(){return function(){}}},{}],289:[function(M,B,o){(function(w){"use strict";var f=M("babel-runtime/helpers/typeof"),A=m(f);function m(e){return e&&e.__esModule?e:{default:e}}var g=M("stream"),p=g.Stream,c=M("../lib/common/utils/isArray"),h=c.isArray;B.exports.string=function(n){return typeof n=="string"},B.exports.array=h,B.exports.buffer=w.isBuffer;function l(e){return e instanceof p}B.exports.writableStream=function(n){return l(n)&&typeof n._write=="function"&&(0,A.default)(n._writableState)==="object"}}).call(this,{isBuffer:M("../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(M,B,o){"use strict";o.encodeURIComponent=function(w){try{return encodeURIComponent(w)}catch(f){return w}},o.escape=M("escape-html"),o.timestamp=function(f){if(f){var A=f;return typeof A=="string"&&(A=Number(A)),String(f).length===10&&(A*=1e3),new Date(A)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(M,B,o){(function(w,f){"use strict";var A=M("babel-runtime/core-js/json/stringify"),m=c(A),g=M("babel-runtime/helpers/typeof"),p=c(g);function c(S){return S&&S.__esModule?S:{default:S}}var h=M("util"),l=M("url"),e=M("http"),n=M("https"),i=M("debug")("urllib"),r=M("humanize-ms"),a,t=0,s=Math.pow(2,31)-10,u=/^https?:\/\//i;function d(S,b){return S===void 0?b:S}function v(S,b){return function(E,C,T){if(E)return b(E);S({data:C,status:T.statusCode,headers:T.headers,res:T})}}o.TIMEOUTS=[r("300s"),r("300s")];var y=["json","text"];o.request=function(b,E,C){return arguments.length===2&&typeof E=="function"&&(C=E,E=null),typeof C=="function"?o.requestWithCallback(b,E,C):(a||(a=M("any-promise")),new a(function(T,x){o.requestWithCallback(b,E,v(T,x))}))},o.requestWithCallback=function(b,E,C){if(!b||typeof b!="string"&&(typeof b=="undefined"?"undefined":(0,p.default)(b))!=="object"){var T=h.format("expect request url to be a string or a http request options, but got %j",b);throw new Error(T)}arguments.length===2&&typeof E=="function"&&(C=E,E=null),E=E||{},t>=s&&(t=0);var x=++t;E.requestUrls=E.requestUrls||[];var _={requestId:x,url:b,args:E,ctx:E.ctx};E.emitter&&E.emitter.emit("request",_),E.timeout=E.timeout||o.TIMEOUTS,E.maxRedirects=E.maxRedirects||10,E.streaming=E.streaming||E.customResponse;var I=Date.now(),L;typeof b=="string"?(u.test(b)||(b="http://"+b),L=l.parse(b)):L=b;var R=(E.type||E.method||L.method||"GET").toUpperCase(),k=L.port||80,F=e,P=d(E.agent,o.agent),W=E.fixJSONCtlChars;L.protocol==="https:"&&(F=n,P=d(E.httpsAgent,o.httpsAgent),L.port||(k=443));var D={host:L.hostname||L.host||"localhost",path:L.path||"/",method:R,port:k,agent:P,headers:E.headers||{},lookup:E.lookup};Array.isArray(E.timeout)?D.requestTimeout=E.timeout[E.timeout.length-1]:typeof E.timeout!="undefined"&&(D.requestTimeout=E.timeout);for(var U=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],H=0;H<U.length;H++){var j=U[H];E.hasOwnProperty(j)&&(D[j]=E[j])}D.rejectUnauthorized===!1&&!D.hasOwnProperty("secureOptions")&&(D.secureOptions=M("constants").SSL_OP_NO_TLSv1_2);var K=E.auth||L.auth;K&&(D.auth=K);var X=E.content||E.data,z=R==="GET"||R==="HEAD"||E.dataAsQueryString;if(!E.content&&(X&&!(typeof X=="string"||f.isBuffer(X))))if(z)X=E.nestedQuerystring?qs.stringify(X):querystring.stringify(X);else{var Y=D.headers["Content-Type"]||D.headers["content-type"];Y||(E.contentType==="json"?Y="application/json":Y="application/x-www-form-urlencoded",D.headers["Content-Type"]=Y),parseContentType(Y).type==="application/json"?X=(0,m.default)(X):X=E.nestedQuerystring?qs.stringify(X):querystring.stringify(X)}z&&X&&(D.path+=(L.query?"&":"?")+X,X=null);var $=0;if(X){var ne=X.length;f.isBuffer(X)||(ne=f.byteLength(X)),$=D.headers["Content-Length"]=ne}E.dataType==="json"&&(D.headers.Accept="application/json"),typeof E.beforeRequest=="function"&&E.beforeRequest(D);var J=null,ge=null,de=null,Ie=!1,be=!1,Ce=0,je=-1,te=!1,ve="",$e="",Le=null;E.timing&&(Le={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function he(){J&&(clearTimeout(J),J=null)}function ee(){ge&&(clearTimeout(ge),ge=null)}function se(Ee,mt,Je){if(ee(),!C){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),x,w.pid,D.method,b),Ee&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),x,w.pid,Ee.name,Ee.message,Ee.stack);return}var rt=C;C=null;var wt={};if(Je&&(je=Je.statusCode,wt=Je.headers),je===401&&wt["www-authenticate"]&&(!E.headers||!E.headers.Authorization)&&E.digestAuth){var Ot=wt["www-authenticate"];if(Ot.indexOf("Digest ")>=0)return i("Request#%d %s: got digest auth header WWW-Authenticate: %s",x,b,Ot),E.headers=E.headers||{},E.headers.Authorization=digestAuthHeader(D.method,D.path,Ot,E.digestAuth),i("Request#%d %s: auth with digest header: %s",x,b,E.headers.Authorization),Je.headers["set-cookie"]&&(E.headers.Cookie=Je.headers["set-cookie"].join(";")),o.requestWithCallback(b,E,rt)}var Ct=Date.now()-I;Le&&(Le.contentDownload=Ct),i("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Ct,Ce,je,D.method,D.host,D.path,be,Le);var Dt={status:je,statusCode:je,headers:wt,size:Ce,aborted:te,rt:Ct,keepAliveSocket:be,data:mt,requestUrls:E.requestUrls,timing:Le,remoteAddress:ve,remotePort:$e};if(Ee){var Xe="";P&&typeof P.getCurrentStatus=="function"&&(Xe=", agent status: "+(0,m.default)(P.getCurrentStatus())),Ee.message+=", "+D.method+" "+b+" "+je+" (connected: "+Ie+", keepalive socket: "+be+Xe+`)
|
|
|
headers: `+(0,m.default)(wt),Ee.data=mt,Ee.path=D.path,Ee.status=je,Ee.headers=wt,Ee.res=Dt}rt(Ee,mt,E.streaming?Je:Dt),E.emitter&&(_.url=b,_.socket=it&&it.connection,_.options=D,_.size=$,E.emitter.emit("response",{requestId:x,error:Ee,ctx:E.ctx,req:_,res:Dt}))}function Ue(Ee){var mt=null;if(E.followRedirect&&statuses.redirect[Ee.statusCode]){E._followRedirectCount=(E._followRedirectCount||0)+1;var Je=Ee.headers.location;if(!Je)mt=new Error("Got statusCode "+Ee.statusCode+" but cannot resolve next location from headers"),mt.name="FollowRedirectError";else if(E._followRedirectCount>E.maxRedirects)mt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+b),mt.name="MaxRedirectError";else{var rt=E.formatRedirectUrl?E.formatRedirectUrl(b,Je):l.resolve(b,Je);i("Request#%d %s: `redirected` from %s to %s",x,D.path,b,rt),ee(),E.headers&&E.headers.Host&&u.test(Je)&&(E.headers.Host=null);var wt=C;return C=null,o.requestWithCallback(rt,E,wt),{redirect:!0,error:null}}}return{redirect:!1,error:mt}}!D.headers["User-Agent"]&&!D.headers["user-agent"]&&(D.headers["User-Agent"]=navigator.userAgent),E.gzip&&(!D.headers["Accept-Encoding"]&&!D.headers["accept-encoding"]&&(D.headers["Accept-Encoding"]="gzip"));function ue(Ee,mt,Je){var rt=Ee.headers["content-encoding"];return Je(null,mt,rt)}var Ne=E.writeStream;i("Request#%d %s %s with headers %j, options.path: %s",x,R,b,D.headers,D.path),E.requestUrls.push(b);function Fe(Ee){if(Le&&(Le.waiting=Date.now()-I),i("Request#%d %s `req response` event emit: status %d, headers: %j",x,b,Ee.statusCode,Ee.headers),E.streaming){var mt=Ue(Ee);if(mt.redirect){Ee.resume();return}return mt.error?(Ee.resume(),se(mt.error,null,Ee)):se(null,null,Ee)}if(Ee.on("close",function(){i("Request#%d %s: `res close` event emit, total size %d",x,b,Ce)}),Ee.on("error",function(){i("Request#%d %s: `res error` event emit, total size %d",x,b,Ce)}),Ee.on("aborted",function(){te=!0,i("Request#%d %s: `res aborted` event emit, total size %d",x,b,Ce)}),Ne){var mt=Ue(Ee);if(mt.redirect){Ee.resume();return}return mt.error?(Ee.resume(),Ne.end(),se(mt.error,null,Ee)):(E.consumeWriteStream===!1?Ee.on("end",se.bind(null,null,null,Ee)):isNode010||isNode012?first([[Ne,"close"],[Ee,"aborted"]],function(wt,Ot,Ct){i("Request#%d %s: writeStream or res %s event emitted",x,b,Ct),se(de||null,null,Ee)}):Ne.on("close",function(){i("Request#%d %s: writeStream close event emitted",x,b),se(de||null,null,Ee)}),Ee.pipe(Ne))}var Je=[];Ee.on("data",function(rt){i("Request#%d %s: `res data` event emit, size %d",x,b,rt.length),Ce+=rt.length,Je.push(rt)}),Ee.on("end",function(){var rt=f.concat(Je,Ce);if(i("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",x,b,Ce,Ee._dumped),de)return se(de,rt,Ee);var wt=Ue(Ee);if(wt.error)return se(wt.error,rt,Ee);if(wt.redirect)return;ue(Ee,rt,function(Ot,Ct,Dt){if(Ot)return se(Ot,rt,Ee);if(!Dt&&y.indexOf(E.dataType)>=0){try{Ct=decodeBodyByCharset(Ct,Ee)}catch(q){return i("decodeBodyByCharset error: %s",q),se(null,Ct,Ee)}if(E.dataType==="json")if(Ce===0)Ct=null;else{var Xe=parseJSON(Ct,W);Xe.error?Ot=Xe.error:Ct=Xe.data}}te&&i("Request#%d %s: Remote socket was terminated before `response.end()` was called",x,b),se(Ot,Ct,Ee)})})}var ae,ce;Array.isArray(E.timeout)?(ae=r(E.timeout[0]),ce=r(E.timeout[1])):ae=ce=r(E.timeout),i("ConnectTimeout: %d, ResponseTimeout: %d",ae,ce);function _e(){i("Connect timer ticking, timeout: %d",ae),J=setTimeout(function(){J=null,je===-1&&(je=-2);var Ee="Connect timeout for "+ae+"ms",mt="ConnectionTimeoutError";it.socket||(mt="SocketAssignTimeoutError",Ee+=", working sockets is full"),de=new Error(Ee),de.name=mt,de.requestId=x,i("ConnectTimeout: Request#%d %s %s: %s, connected: %s",x,b,de.name,Ee,Ie),Ze()},ae)}function ze(){i("Response timer ticking, timeout: %d",ce),ge=setTimeout(function(){ge=null;var Ee="Response timeout for "+ce+"ms",mt="ResponseTimeoutError";de=new Error(Ee),de.name=mt,de.requestId=x,i("ResponseTimeout: Request#%d %s %s: %s, connected: %s",x,b,de.name,Ee,Ie),Ze()},ce)}var it;D.mode=E.mode?E.mode:"";try{it=F.request(D,Fe)}catch(Ee){return se(Ee)}typeof window=="undefined"?_e():it.on("requestTimeout",function(){je===-1&&(je=-2);var Ee="Connect timeout for "+ae+"ms",mt="ConnectionTimeoutError";de=new Error(Ee),de.name=mt,de.requestId=x,Ze()});function Ze(){i("Request#%d %s abort, connected: %s",x,b,Ie),it.socket||(de.noSocket=!0,se(de)),it.abort()}return Le&&it.on("finish",function(){Le.requestSent=Date.now()-I}),it.once("socket",function(Ee){Le&&(Le.queuing=Date.now()-I),isNode010&&Ee.socket&&(Ee=Ee.socket);var mt=Ee.readyState;if(mt==="opening"){Ee.once("lookup",function(Je,rt,wt){i("Request#%d %s lookup: %s, %s, %s",x,b,Je,rt,wt),Le&&(Le.dnslookup=Date.now()-I),rt&&(ve=rt)}),Ee.once("connect",function(){Le&&(Le.connected=Date.now()-I),he(),ze(),i("Request#%d %s new socket connected",x,b),Ie=!0,ve||(ve=Ee.remoteAddress),$e=Ee.remotePort});return}i("Request#%d %s reuse socket connected, readyState: %s",x,b,mt),Ie=!0,be=!0,ve||(ve=Ee.remoteAddress),$e=Ee.remotePort,he(),ze()}),it.on("error",function(Ee){(Ee.name==="Error"||Ee.name==="TypeError")&&(Ee.name=Ie?"ResponseError":"RequestError"),Ee.message+=' (req "error")',i("Request#%d %s `req error` event emit, %s: %s",x,b,Ee.name,Ee.message),se(de||Ee)}),Ne&&Ne.once("error",function(Ee){Ee.message+=' (writeStream "error")',de=Ee,i("Request#%d %s `writeStream error` event emit, %s: %s",x,b,Ee.name,Ee.message),Ze()}),E.stream?(E.stream.pipe(it),E.stream.once("error",function(Ee){Ee.message+=' (stream "error")',de=Ee,i("Request#%d %s `readStream error` event emit, %s: %s",x,b,Ee.name,Ee.message),Ze()})):it.end(X),it.requestId=x,it}}).call(this,M("_process"),M("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(M,B,o){var w=o("hX1E"),f=w.normalizeRadian,A=Math.PI*2;function m(g,p,c,h,l,e,n,i,r){if(n===0)return!1;var a=n;i-=g,r-=p;var t=Math.sqrt(i*i+r*r);if(t-a>c||t+a<c)return!1;if(Math.abs(h-l)%A<1e-4)return!0;if(e){var s=h;h=f(l),l=f(s)}else h=f(h),l=f(l);h>l&&(l+=A);var u=Math.atan2(r,i);return u<0&&(u+=A),u>=h&&u<=l||u+A>=h&&u+A<=l}B.containStroke=m},n4Lv:function(M,B,o){var w=o("7hqr"),f=w.isDimensionStacked,A=o("bYtY"),m=A.map;function g(h,l,e){var n=h.getBaseAxis(),i=h.getOtherAxis(n),r=p(i,e),a=n.dim,t=i.dim,s=l.mapDimension(t),u=l.mapDimension(a),d=t==="x"||t==="radius"?1:0,v=m(h.dimensions,function(b){return l.mapDimension(b)}),y,S=l.getCalculationInfo("stackResultDimension");return(y|=f(l,v[0]))&&(v[0]=S),(y|=f(l,v[1]))&&(v[1]=S),{dataDimsForPoint:v,valueStart:r,valueAxisDim:t,baseAxisDim:a,stacked:!!y,valueDim:s,baseDim:u,baseDataOffset:d,stackedOverDimension:l.getCalculationInfo("stackedOverDimension")}}function p(h,l){var e=0,n=h.scale.getExtent();return l==="start"?e=n[0]:l==="end"?e=n[1]:n[0]>0?e=n[0]:n[1]<0&&(e=n[1]),e}function c(h,l,e,n){var i=NaN;h.stacked&&(i=e.get(e.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=h.valueStart);var r=h.baseDataOffset,a=[];return a[r]=e.get(h.baseDim,n),a[1-r]=i,l.dataToPoint(a)}B.prepareDataCoordInfo=g,B.getStackedOnPoint=c},n6Mw:function(M,B,o){var w=o("SrGk"),f=o("bYtY"),A=o("Fofx");function m(p,c){w.call(this,p,c,"clipPath","__clippath_in_use__")}f.inherits(m,w),m.prototype.update=function(p){var c=this.getSvgElement(p);c&&this.updateDom(c,p.__clipPaths,!1);var h=this.getTextSvgElement(p);h&&this.updateDom(h,p.__clipPaths,!0),this.markUsed(p)},m.prototype.updateDom=function(p,c,h){if(c&&c.length>0){var l=this.getDefs(!0),e=c[0],n,i,r=h?"_textDom":"_dom";e[r]?(i=e[r].getAttribute("id"),n=e[r],l.contains(n)||l.appendChild(n)):(i="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,n=this.createElement("clipPath"),n.setAttribute("id",i),l.appendChild(n),e[r]=n);var a=this.getSvgProxy(e);if(e.transform&&e.parent.invTransform&&!h){var t=Array.prototype.slice.call(e.transform);A.mul(e.transform,e.parent.invTransform,e.transform),a.brush(e),e.transform=t}else a.brush(e);var s=this.getSvgElement(e);n.innerHTML="",n.appendChild(s.cloneNode()),p.setAttribute("clip-path","url(#"+i+")"),c.length>1&&this.updateDom(n,c.slice(1),h)}else p&&p.setAttribute("clip-path","none")},m.prototype.markUsed=function(p){var c=this;p.__clipPaths&&f.each(p.__clipPaths,function(h){h._dom&&w.prototype.markUsed.call(c,h._dom),h._textDom&&w.prototype.markUsed.call(c,h._textDom)})};var g=m;M.exports=g},nCxF:function(M,B,o){var w=o("QBsz"),f=w.min,A=w.max,m=w.scale,g=w.distance,p=w.add,c=w.clone,h=w.sub;function l(e,n,i,r){var a=[],t=[],s=[],u=[],d,v,y,S;if(r){y=[Infinity,Infinity],S=[-Infinity,-Infinity];for(var b=0,E=e.length;b<E;b++)f(y,y,e[b]),A(S,S,e[b]);f(y,y,r[0]),A(S,S,r[1])}for(var b=0,E=e.length;b<E;b++){var C=e[b];if(i)d=e[b?b-1:E-1],v=e[(b+1)%E];else if(b===0||b===E-1){a.push(c(e[b]));continue}else d=e[b-1],v=e[b+1];h(t,v,d),m(t,t,n);var T=g(C,d),x=g(C,v),_=T+x;_!==0&&(T/=_,x/=_),m(s,t,-T),m(u,t,x);var I=p([],C,s),L=p([],C,u);r&&(A(I,I,y),f(I,I,S),A(L,L,y),f(L,L,S)),a.push(I),a.push(L)}return i&&a.push(a.shift()),a}M.exports=l},nKiI:function(M,B,o){var w=o("bYtY"),f=o("mFDi"),A=o("OELB"),m=A.parsePercent,g=A.MAX_SAFE_INTEGER,p=o("+TT/"),c=o("VaxA"),h=Math.max,l=Math.min,e=w.retrieve,n=w.each,i=["itemStyle","borderWidth"],r=["itemStyle","gapWidth"],a=["upperLabel","show"],t=["upperLabel","height"],s={seriesType:"treemap",reset:function(I,L,R,k){var F=R.getWidth(),P=R.getHeight(),W=I.option,D=p.getLayoutRect(I.getBoxLayoutParams(),{width:R.getWidth(),height:R.getHeight()}),U=W.size||[],H=m(e(D.width,U[0]),F),j=m(e(D.height,U[1]),P),K=k&&k.type,X=["treemapZoomToNode","treemapRootToNode"],z=c.retrieveTargetInfo(k,X,I),Y=K==="treemapRender"||K==="treemapMove"?k.rootRect:null,$=I.getViewRoot(),ne=c.getPathToRoot($);if(K!=="treemapMove"){var J=K==="treemapZoomToNode"?C(I,z,$,H,j):Y?[Y.width,Y.height]:[H,j],ge=W.sort;ge&&ge!=="asc"&&ge!=="desc"&&(ge="desc");var de={squareRatio:W.squareRatio,sort:ge,leafDepth:W.leafDepth};$.hostTree.clearLayouts();var Ie={x:0,y:0,width:J[0],height:J[1],area:J[0]*J[1]};$.setLayout(Ie),u($,de,!1,0);var Ie=$.getLayout();n(ne,function(Ce,je){var te=(ne[je+1]||$).getValue();Ce.setLayout(w.extend({dataExtent:[te,te],borderWidth:0,upperHeight:0},Ie))})}var be=I.getData().tree.root;be.setLayout(T(D,Y,z),!0),I.setLayoutInfo(D),x(be,new f(-D.x,-D.y,F,P),ne,$,0)}};function u(I,L,R,k){var F,P;if(I.isRemoved())return;var W=I.getLayout();F=W.width,P=W.height;var D=I.getModel(),U=D.get(i),H=D.get(r)/2,j=_(D),K=Math.max(U,j),X=U-H,z=K-H,D=I.getModel();I.setLayout({borderWidth:U,upperHeight:K,upperLabelHeight:j},!0),F=h(F-2*X,0),P=h(P-X-z,0);var Y=F*P,$=d(I,D,Y,L,R,k);if(!$.length)return;var ne={x:X,y:z,width:F,height:P},J=l(F,P),ge=Infinity,de=[];de.area=0;for(var Ie=0,be=$.length;Ie<be;){var Ce=$[Ie];de.push(Ce),de.area+=Ce.getLayout().area;var je=b(de,J,L.squareRatio);je<=ge?(Ie++,ge=je):(de.area-=de.pop().getLayout().area,E(de,J,ne,H,!1),J=l(ne.width,ne.height),de.length=de.area=0,ge=Infinity)}if(de.length&&E(de,J,ne,H,!0),!R){var te=D.get("childrenVisibleMin");te!=null&&Y<te&&(R=!0)}for(var Ie=0,be=$.length;Ie<be;Ie++)u($[Ie],L,R,k+1)}function d(I,L,R,k,F,P){var W=I.children||[],D=k.sort;D!=="asc"&&D!=="desc"&&(D=null);var U=k.leafDepth!=null&&k.leafDepth<=P;if(F&&!U)return I.viewChildren=[];W=w.filter(W,function(z){return!z.isRemoved()}),y(W,D);var H=S(L,W,D);if(H.sum===0)return I.viewChildren=[];if(H.sum=v(L,R,H.sum,D,W),H.sum===0)return I.viewChildren=[];for(var j=0,K=W.length;j<K;j++){var X=W[j].getValue()/H.sum*R;W[j].setLayout({area:X})}return U&&(W.length&&I.setLayout({isLeafRoot:!0},!0),W.length=0),I.viewChildren=W,I.setLayout({dataExtent:H.dataExtent},!0),W}function v(I,L,R,k,F){if(!k)return R;for(var P=I.get("visibleMin"),W=F.length,D=W,U=W-1;U>=0;U--){var H=F[k==="asc"?W-U-1:U].getValue();H/R*L<P&&(D=U,R-=H)}return k==="asc"?F.splice(0,W-D):F.splice(D,W-D),R}function y(I,L){return L&&I.sort(function(R,k){var F=L==="asc"?R.getValue()-k.getValue():k.getValue()-R.getValue();return F===0?L==="asc"?R.dataIndex-k.dataIndex:k.dataIndex-R.dataIndex:F}),I}function S(I,L,R){for(var k=0,F=0,P=L.length;F<P;F++)k+=L[F].getValue();var W=I.get("visualDimension"),D;if(!L||!L.length)D=[NaN,NaN];else if(W==="value"&&R)D=[L[L.length-1].getValue(),L[0].getValue()],R==="asc"&&D.reverse();else{var D=[Infinity,-Infinity];n(L,function(H){var j=H.getValue(W);j<D[0]&&(D[0]=j),j>D[1]&&(D[1]=j)})}return{sum:k,dataExtent:D}}function b(I,L,R){for(var k=0,F=Infinity,P=0,W,D=I.length;P<D;P++)W=I[P].getLayout().area,W&&(W<F&&(F=W),W>k&&(k=W));var U=I.area*I.area,H=L*L*R;return U?h(H*k/U,U/(H*F)):Infinity}function E(I,L,R,k,F){var P=L===R.width?0:1,W=1-P,D=["x","y"],U=["width","height"],H=R[D[P]],j=L?I.area/L:0;(F||j>R[U[W]])&&(j=R[U[W]]);for(var K=0,X=I.length;K<X;K++){var z=I[K],Y={},$=j?z.getLayout().area/j:0,ne=Y[U[W]]=h(j-2*k,0),J=R[D[P]]+R[U[P]]-H,ge=K===X-1||J<$?J:$,de=Y[U[P]]=h(ge-2*k,0);Y[D[W]]=R[D[W]]+l(k,ne/2),Y[D[P]]=H+l(k,de/2),H+=ge,z.setLayout(Y,!0)}R[D[W]]+=j,R[U[W]]-=j}function C(I,L,R,k,F){var P=(L||{}).node,W=[k,F];if(!P||P===R)return W;for(var D,U=k*F,H=U*I.option.zoomToNodeRatio;D=P.parentNode;){for(var j=0,K=D.children,X=0,z=K.length;X<z;X++)j+=K[X].getValue();var Y=P.getValue();if(Y===0)return W;H*=j/Y;var $=D.getModel(),ne=$.get(i),J=Math.max(ne,_($,ne));H+=4*ne*ne+(3*ne+J)*Math.pow(H,.5),H>g&&(H=g),P=D}H<U&&(H=U);var ge=Math.pow(H/U,.5);return[k*ge,F*ge]}function T(I,L,R){if(L)return{x:L.x,y:L.y};var k={x:0,y:0};if(!R)return k;var F=R.node,P=F.getLayout();if(!P)return k;for(var W=[P.width/2,P.height/2],D=F;D;){var U=D.getLayout();W[0]+=U.x,W[1]+=U.y,D=D.parentNode}return{x:I.width/2-W[0],y:I.height/2-W[1]}}function x(I,L,R,k,F){var P=I.getLayout(),W=R[F],D=W&&W===I;if(W&&!D||F===R.length&&I!==k)return;I.setLayout({isInView:!0,invisible:!D&&!L.intersect(P),isAboveViewRoot:D},!0);var U=new f(L.x-P.x,L.y-P.y,L.width,L.height);n(I.viewChildren||[],function(H){x(H,U,R,k,F+1)})}function _(I){return I.get(a)?I.get(t):0}M.exports=s},nPnh:function(M,B){var o=Math.round;function w(m,g,p){if(!g)return;var c=g.x1,h=g.x2,l=g.y1,e=g.y2;m.x1=c,m.x2=h,m.y1=l,m.y2=e;var n=p&&p.lineWidth;if(!n)return;o(c*2)===o(h*2)&&(m.x1=m.x2=A(c,n,!0)),o(l*2)===o(e*2)&&(m.y1=m.y2=A(l,n,!0))}function f(m,g,p){if(!g)return;var c=g.x,h=g.y,l=g.width,e=g.height;m.x=c,m.y=h,m.width=l,m.height=e;var n=p&&p.lineWidth;if(!n)return;m.x=A(c,n,!0),m.y=A(h,n,!0),m.width=Math.max(A(c+l,n,!1)-m.x,l===0?0:1),m.height=Math.max(A(h+e,n,!1)-m.y,e===0?0:1)}function A(m,g,p){if(!g)return m;var c=o(m*2);return(c+o(g))%2===0?c/2:(c+(p?1:-1))/2}B.subPixelOptimizeLine=w,B.subPixelOptimizeRect=f,B.subPixelOptimize=A},nVfU:function(M,B,o){var w=o("bYtY"),f=o("OELB"),A=f.parsePercent,m=o("7hqr"),g=m.isDimensionStacked,p=o("zM3Q"),c="__ec_stack_",h=.5,l=typeof Float32Array!="undefined"?Float32Array:Array;function e(E){return E.get("stack")||c+E.seriesIndex}function n(E){return E.dim+E.index}function i(E){var C=[],T=E.axis,x="axis0";if(T.type!=="category")return;for(var _=T.getBandWidth(),I=0;I<E.count||0;I++)C.push(w.defaults({bandWidth:_,axisKey:x,stackId:c+I},E));for(var L=s(C),R=[],I=0;I<E.count;I++){var k=L[x][c+I];k.offsetCenter=k.offset+k.width/2,R.push(k)}return R}function r(E,C){var T=[];return C.eachSeriesByType(E,function(x){y(x)&&!S(x)&&T.push(x)}),T}function a(E){var C={};w.each(E,function(k){var F=k.coordinateSystem,P=F.getBaseAxis();if(P.type!=="time"&&P.type!=="value")return;for(var W=k.getData(),D=P.dim+"_"+P.index,U=W.mapDimension(P.dim),H=0,j=W.count();H<j;++H){var K=W.get(U,H);C[D]?C[D].push(K):C[D]=[K]}});var T=[];for(var x in C)if(C.hasOwnProperty(x)){var _=C[x];if(_){_.sort(function(k,F){return k-F});for(var I=null,L=1;L<_.length;++L){var R=_[L]-_[L-1];R>0&&(I=I===null?R:Math.min(I,R))}T[x]=I}}return T}function t(E){var C=a(E),T=[];return w.each(E,function(x){var _=x.coordinateSystem,I=_.getBaseAxis(),L=I.getExtent(),R;if(I.type==="category")R=I.getBandWidth();else if(I.type==="value"||I.type==="time"){var k=I.dim+"_"+I.index,F=C[k],P=Math.abs(L[1]-L[0]),W=I.scale.getExtent(),D=Math.abs(W[1]-W[0]);R=F?P/D*F:P}else{var U=x.getData();R=Math.abs(L[1]-L[0])/U.count()}var H=A(x.get("barWidth"),R),j=A(x.get("barMaxWidth"),R),K=A(x.get("barMinWidth")||1,R),X=x.get("barGap"),z=x.get("barCategoryGap");T.push({bandWidth:R,barWidth:H,barMaxWidth:j,barMinWidth:K,barGap:X,barCategoryGap:z,axisKey:n(I),stackId:e(x)})}),s(T)}function s(E){var C={};w.each(E,function(x,_){var I=x.axisKey,L=x.bandWidth,R=C[I]||{bandWidth:L,remainedWidth:L,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},k=R.stacks;C[I]=R;var F=x.stackId;k[F]||R.autoWidthCount++,k[F]=k[F]||{width:0,maxWidth:0};var P=x.barWidth;P&&!k[F].width&&(k[F].width=P,P=Math.min(R.remainedWidth,P),R.remainedWidth-=P);var W=x.barMaxWidth;W&&(k[F].maxWidth=W);var D=x.barMinWidth;D&&(k[F].minWidth=D);var U=x.barGap;U!=null&&(R.gap=U);var H=x.barCategoryGap;H!=null&&(R.categoryGap=H)});var T={};return w.each(C,function(x,_){T[_]={};var I=x.stacks,L=x.bandWidth,R=A(x.categoryGap,L),k=A(x.gap,1),F=x.remainedWidth,P=x.autoWidthCount,W=(F-R)/(P+(P-1)*k);W=Math.max(W,0),w.each(I,function(j){var K=j.maxWidth,X=j.minWidth;if(j.width){var z=j.width;K&&(z=Math.min(z,K)),X&&(z=Math.max(z,X)),j.width=z,F-=z+k*z,P--}else{var z=W;K&&K<z&&(z=Math.min(K,F)),X&&X>z&&(z=X),z!==W&&(j.width=z,F-=z+k*z,P--)}}),W=(F-R)/(P+(P-1)*k),W=Math.max(W,0);var D=0,U;w.each(I,function(j,K){j.width||(j.width=W),U=j,D+=j.width*(1+k)}),U&&(D-=U.width*k);var H=-D/2;w.each(I,function(j,K){T[_][K]=T[_][K]||{bandWidth:L,offset:H,width:j.width},H+=j.width*(1+k)})}),T}function u(E,C,T){if(E&&C){var x=E[n(C)];return x!=null&&T!=null&&(x=x[e(T)]),x}}function d(E,C){var T=r(E,C),x=t(T),_={},I={};w.each(T,function(L){var R=L.getData(),k=L.coordinateSystem,F=k.getBaseAxis(),P=e(L),W=x[n(F)][P],D=W.offset,U=W.width,H=k.getOtherAxis(F),j=L.get("barMinHeight")||0;_[P]=_[P]||[],I[P]=I[P]||[],R.setLayout({bandWidth:W.bandWidth,offset:D,size:U});for(var K=R.mapDimension(H.dim),X=R.mapDimension(F.dim),z=g(R,K),Y=H.isHorizontal(),$=b(F,H,z),ne=0,J=R.count();ne<J;ne++){var ge=R.get(K,ne),de=R.get(X,ne),Ie=ge>=0?"p":"n",be=$;z&&(_[P][de]||(_[P][de]={p:$,n:$}),be=_[P][de][Ie]);var Ce,je,te,ve;if(Y){var $e=k.dataToPoint([ge,de]);Ce=be,je=$e[1]+D,te=$e[0]-$,ve=U,Math.abs(te)<j&&(te=(te<0?-1:1)*j),isNaN(te)||z&&(_[P][de][Ie]+=te)}else{var $e=k.dataToPoint([de,ge]);Ce=$e[0]+D,je=be,te=U,ve=$e[1]-$,Math.abs(ve)<j&&(ve=(ve<=0?-1:1)*j),isNaN(ve)||z&&(_[P][de][Ie]+=ve)}R.setItemLayout(ne,{x:Ce,y:je,width:te,height:ve})}},this)}var v={seriesType:"bar",plan:p(),reset:function(E){if(!y(E)||!S(E))return;var C=E.getData(),T=E.coordinateSystem,x=T.grid.getRect(),_=T.getBaseAxis(),I=T.getOtherAxis(_),L=C.mapDimension(I.dim),R=C.mapDimension(_.dim),k=I.isHorizontal(),F=k?0:1,P=u(t([E]),_,E).width;return P>h||(P=h),{progress:W};function W(D,U){for(var H=D.count,j=new l(H*2),K=new l(H*2),X=new l(H),z,Y=[],$=[],ne=0,J=0;(z=D.next())!=null;)$[F]=U.get(L,z),$[1-F]=U.get(R,z),Y=T.dataToPoint($,null,Y),K[ne]=k?x.x+x.width:Y[0],j[ne++]=Y[0],K[ne]=k?Y[1]:x.y+x.height,j[ne++]=Y[1],X[J++]=z;U.setLayout({largePoints:j,largeDataIndices:X,largeBackgroundPoints:K,barWidth:P,valueAxisStart:b(_,I,!1),backgroundStart:k?x.x:x.y,valueAxisHorizontal:k})}}};function y(E){return E.coordinateSystem&&E.coordinateSystem.type==="cartesian2d"}function S(E){return E.pipelineContext&&E.pipelineContext.large}function b(E,C,T){return C.toGlobalCoord(C.dataToCoord(C.type==="log"?1:0))}B.getLayoutOnAxis=i,B.prepareLayoutBarSeries=r,B.makeColumnLayout=t,B.retrieveColumnLayout=u,B.layout=d,B.largeLayout=v},neMx:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("+WA2"),m=o.n(A),g=o("DCkM"),p=o("Qo87"),c=o("NDDJ")},nfiv:function(M,B,o){},ngQI:function(M,B,o){"use strict";o.d(B,"a",function(){return Pc}),o.d(B,"b",function(){return Lc}),o.d(B,"c",function(){return mr});var w=o("q1tI"),f=o.n(w),A=o("dI71"),m=o("wx14"),g=o("ANjH"),p=o("/MKj");function c(Oe,Q){if(Oe.length!==Q.length)return!1;for(var me=0;me<Oe.length;me++)if(Oe[me]!==Q[me])return!1;return!0}function h(Oe,Q){var me=Object(w.useState)(function(){return{inputs:Q,result:Oe()}})[0],We=Object(w.useRef)(!0),nt=Object(w.useRef)(me),Et=We.current||Boolean(Q&&nt.current.inputs&&c(Q,nt.current.inputs)),Rt=Et?nt.current:{inputs:Q,result:Oe()};return Object(w.useEffect)(function(){We.current=!1,nt.current=Rt},[Rt]),Rt.result}function l(Oe,Q){return h(function(){return Oe},Q)}var e=h,n=l,i=o("9R94"),r=function(Q){var me=Q.top,We=Q.right,nt=Q.bottom,Et=Q.left,Rt=We-Et,Mt=nt-me,nr={top:me,right:We,bottom:nt,left:Et,width:Rt,height:Mt,x:Et,y:me,center:{x:(We+Et)/2,y:(nt+me)/2}};return nr},a=function(Q,me){return{top:Q.top-me.top,left:Q.left-me.left,bottom:Q.bottom+me.bottom,right:Q.right+me.right}},t=function(Q,me){return{top:Q.top+me.top,left:Q.left+me.left,bottom:Q.bottom-me.bottom,right:Q.right-me.right}},s=function(Q,me){return{top:Q.top+me.y,left:Q.left+me.x,bottom:Q.bottom+me.y,right:Q.right+me.x}},u={top:0,right:0,bottom:0,left:0},d=function(Q){var me=Q.borderBox,We=Q.margin,nt=We===void 0?u:We,Et=Q.border,Rt=Et===void 0?u:Et,Mt=Q.padding,nr=Mt===void 0?u:Mt,yr=r(a(me,nt)),rr=r(t(me,Rt)),qt=r(t(rr,nr));return{marginBox:yr,borderBox:r(me),paddingBox:rr,contentBox:qt,margin:nt,border:Rt,padding:nr}},v=function(Q){var me=Q.slice(0,-2),We=Q.slice(-2);if(We!=="px")return 0;var nt=Number(me);return isNaN(nt)&&Object(i.a)(!1),nt},y=function(){return{x:window.pageXOffset,y:window.pageYOffset}},S=function(Q,me){var We=Q.borderBox,nt=Q.border,Et=Q.margin,Rt=Q.padding,Mt=s(We,me);return d({borderBox:Mt,border:nt,margin:Et,padding:Rt})},b=function(Q,me){return me===void 0&&(me=y()),S(Q,me)},E=function(Q,me){var We={top:v(me.marginTop),right:v(me.marginRight),bottom:v(me.marginBottom),left:v(me.marginLeft)},nt={top:v(me.paddingTop),right:v(me.paddingRight),bottom:v(me.paddingBottom),left:v(me.paddingLeft)},Et={top:v(me.borderTopWidth),right:v(me.borderRightWidth),bottom:v(me.borderBottomWidth),left:v(me.borderLeftWidth)};return d({borderBox:Q,margin:We,padding:nt,border:Et})},C=function(Q){var me=Q.getBoundingClientRect(),We=window.getComputedStyle(Q);return E(me,We)},T=Number.isNaN||function(Q){return typeof Q=="number"&&Q!==Q};function x(Oe,Q){return Oe===Q?!0:!!(T(Oe)&&T(Q))}function _(Oe,Q){if(Oe.length!==Q.length)return!1;for(var me=0;me<Oe.length;me++)if(!x(Oe[me],Q[me]))return!1;return!0}function I(Oe,Q){Q===void 0&&(Q=_);var me,We=[],nt,Et=!1;function Rt(){for(var Mt=[],nr=0;nr<arguments.length;nr++)Mt[nr]=arguments[nr];return Et&&me===this&&Q(Mt,We)||(nt=Oe.apply(this,Mt),Et=!0,me=this,We=Mt),nt}return Rt}var L=I,R=function(Q){var me=[],We=null,nt=function(){for(var Rt=arguments.length,Mt=new Array(Rt),nr=0;nr<Rt;nr++)Mt[nr]=arguments[nr];if(me=Mt,We)return;We=requestAnimationFrame(function(){We=null,Q.apply(void 0,me)})};return nt.cancel=function(){if(!We)return;cancelAnimationFrame(We),We=null},nt},k=R,F=o("i8i4"),P=o.n(F),W=!0,D=/[ \t]{2,}/g,U=/^[ \t]*/gm,H=function(Q){return Q.replace(D," ").replace(U,"").trim()},j=function(Q){return H(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+H(Q)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},K=function(Q){return[j(Q),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},X="__react-beautiful-dnd-disable-dev-warnings";function z(Oe,Q){var me;if(W)return;if(typeof window!="undefined"&&window[X])return;(me=console)[Oe].apply(me,K(Q))}var Y=z.bind(null,"warn"),$=z.bind(null,"error");function ne(){}function J(Oe,Q){return Object(m.a)({},Oe,{},Q)}function ge(Oe,Q,me){var We=Q.map(function(nt){var Et=J(me,nt.options);return Oe.addEventListener(nt.eventName,nt.fn,Et),function(){Oe.removeEventListener(nt.eventName,nt.fn,Et)}});return function(){We.forEach(function(Et){Et()})}}var de=!0,Ie="Invariant failed";function be(Oe){this.message=Oe}be.prototype.toString=function(){return this.message};function Ce(Oe,Q){if(Oe)return;throw de?new be(Ie):new be(Ie+": "+(Q||""))}var je=function(Oe){Object(A.a)(Q,Oe);function Q(){for(var We,nt=arguments.length,Et=new Array(nt),Rt=0;Rt<nt;Rt++)Et[Rt]=arguments[Rt];return We=Oe.call.apply(Oe,[this].concat(Et))||this,We.callbacks=null,We.unbind=ne,We.onWindowError=function(Mt){var nr=We.getCallbacks();nr.isDragging()&&nr.tryAbort();var yr=Mt.error;yr instanceof be&&Mt.preventDefault()},We.getCallbacks=function(){if(!We.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return We.callbacks},We.setCallbacks=function(Mt){We.callbacks=Mt},We}var me=Q.prototype;return me.componentDidMount=function(){this.unbind=ge(window,[{eventName:"error",fn:this.onWindowError}])},me.componentWillUnmount=function(){this.unbind()},me.componentDidCatch=function(nt){if(nt instanceof be){this.setState({});return}throw nt},me.render=function(){return this.props.children(this.setCallbacks)},Q}(f.a.Component),te=`
|
|
|
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
|
|
|
`,ve=function(Q){return Q+1},$e=function(Q){return`
|
|
|
You have lifted an item in position `+ve(Q.source.index)+`
|
|
|
`},Le=function(Q,me){var We=Q.droppableId===me.droppableId,nt=ve(Q.index),Et=ve(me.index);return We?`
|
|
|
You have moved the item from position `+nt+`
|
|
|
to position `+Et+`
|
|
|
`:`
|
|
|
You have moved the item from position `+nt+`
|
|
|
in list `+Q.droppableId+`
|
|
|
to list `+me.droppableId+`
|
|
|
in position `+Et+`
|
|
|
`},he=function(Q,me,We){var nt=me.droppableId===We.droppableId;return nt?`
|
|
|
The item `+Q+`
|
|
|
has been combined with `+We.draggableId:`
|
|
|
The item `+Q+`
|
|
|
in list `+me.droppableId+`
|
|
|
has been combined with `+We.draggableId+`
|
|
|
in list `+We.droppableId+`
|
|
|
`},ee=function(Q){var me=Q.destination;if(me)return Le(Q.source,me);var We=Q.combine;return We?he(Q.draggableId,Q.source,We):"You are over an area that cannot be dropped on"},se=function(Q){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+ve(Q.index)+`
|
|
|
`},Ue=function(Q){if(Q.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+se(Q.source)+`
|
|
|
`;var me=Q.destination,We=Q.combine;return me?`
|
|
|
You have dropped the item.
|
|
|
`+Le(Q.source,me)+`
|
|
|
`:We?`
|
|
|
You have dropped the item.
|
|
|
`+he(Q.draggableId,Q.source,We)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+se(Q.source)+`
|
|
|
`},ue={dragHandleUsageInstructions:te,onDragStart:$e,onDragUpdate:ee,onDragEnd:Ue},Ne={x:0,y:0},Fe=function(Q,me){return{x:Q.x+me.x,y:Q.y+me.y}},ae=function(Q,me){return{x:Q.x-me.x,y:Q.y-me.y}},ce=function(Q,me){return Q.x===me.x&&Q.y===me.y},_e=function(Q){return{x:Q.x!==0?-Q.x:0,y:Q.y!==0?-Q.y:0}},ze=function(Q,me,We){var nt;return We===void 0&&(We=0),nt={},nt[Q]=me,nt[Q==="x"?"y":"x"]=We,nt},it=function(Q,me){return Math.sqrt(Math.pow(me.x-Q.x,2)+Math.pow(me.y-Q.y,2))},Ze=function(Q,me){return Math.min.apply(Math,me.map(function(We){return it(Q,We)}))},Ee=function(Q){return function(me){return{x:Q(me.x),y:Q(me.y)}}},mt=function(Q,me){var We=r({top:Math.max(me.top,Q.top),right:Math.min(me.right,Q.right),bottom:Math.min(me.bottom,Q.bottom),left:Math.max(me.left,Q.left)});return We.width<=0||We.height<=0?null:We},Je=function(Q,me){return{top:Q.top+me.y,left:Q.left+me.x,bottom:Q.bottom+me.y,right:Q.right+me.x}},rt=function(Q){return[{x:Q.left,y:Q.top},{x:Q.right,y:Q.top},{x:Q.left,y:Q.bottom},{x:Q.right,y:Q.bottom}]},wt={top:0,right:0,bottom:0,left:0},Ot=function(Q,me){return me?Je(Q,me.scroll.diff.displacement):Q},Ct=function(Q,me,We){if(We&&We.increasedBy){var nt;return Object(m.a)({},Q,(nt={},nt[me.end]=Q[me.end]+We.increasedBy[me.line],nt))}return Q},Dt=function(Q,me){return me&&me.shouldClipSubject?mt(me.pageMarginBox,Q):r(Q)},Xe=function(Q){var me=Q.page,We=Q.withPlaceholder,nt=Q.axis,Et=Q.frame,Rt=Ot(me.marginBox,Et),Mt=Ct(Rt,nt,We),nr=Dt(Mt,Et);return{page:me,withPlaceholder:We,active:nr}},q=function(Q,me){Q.frame||Ce(!1);var We=Q.frame,nt=ae(me,We.scroll.initial),Et=_e(nt),Rt=Object(m.a)({},We,{scroll:{initial:We.scroll.initial,current:me,diff:{value:nt,displacement:Et},max:We.scroll.max}}),Mt=Xe({page:Q.subject.page,withPlaceholder:Q.subject.withPlaceholder,axis:Q.axis,frame:Rt}),nr=Object(m.a)({},Q,{frame:Rt,subject:Mt});return nr};function V(Oe){return Number.isInteger?Number.isInteger(Oe):typeof Oe=="number"&&isFinite(Oe)&&Math.floor(Oe)===Oe}function Ae(Oe){return Object.values?Object.values(Oe):Object.keys(Oe).map(function(Q){return Oe[Q]})}function xe(Oe,Q){if(Oe.findIndex)return Oe.findIndex(Q);for(var me=0;me<Oe.length;me++)if(Q(Oe[me]))return me;return-1}function re(Oe,Q){if(Oe.find)return Oe.find(Q);var me=xe(Oe,Q);return me!==-1?Oe[me]:void 0}function ot(Oe){return Array.prototype.slice.call(Oe)}var bt=L(function(Oe){return Oe.reduce(function(Q,me){return Q[me.descriptor.id]=me,Q},{})}),tt=L(function(Oe){return Oe.reduce(function(Q,me){return Q[me.descriptor.id]=me,Q},{})}),Tt=L(function(Oe){return Ae(Oe)}),Gt=L(function(Oe){return Ae(Oe)}),lr=L(function(Oe,Q){var me=Gt(Q).filter(function(We){return Oe===We.descriptor.droppableId}).sort(function(We,nt){return We.descriptor.index-nt.descriptor.index});return me});function pr(Oe){return Oe.at&&Oe.at.type==="REORDER"?Oe.at.destination:null}function Rr(Oe){return Oe.at&&Oe.at.type==="COMBINE"?Oe.at.combine:null}var xt=L(function(Oe,Q){return Q.filter(function(me){return me.descriptor.id!==Oe.descriptor.id})}),It=function(Q){var me=Q.isMovingForward,We=Q.draggable,nt=Q.destination,Et=Q.insideDestination,Rt=Q.previousImpact;if(!nt.isCombineEnabled)return null;var Mt=pr(Rt);if(!Mt)return null;function nr(jn){var pi={type:"COMBINE",combine:{draggableId:jn,droppableId:nt.descriptor.id}};return Object(m.a)({},Rt,{at:pi})}var yr=Rt.displaced.all,rr=yr.length?yr[0]:null;if(me)return rr?nr(rr):null;var qt=xt(We,Et);if(!rr){if(!qt.length)return null;var hr=qt[qt.length-1];return nr(hr.descriptor.id)}var Er=xe(qt,function(jn){return jn.descriptor.id===rr});Er!==-1||Ce(!1);var zr=Er-1;if(zr<0)return null;var En=qt[zr];return nr(En.descriptor.id)},At=function(Q,me){return Q.descriptor.droppableId===me.descriptor.id},Zt={point:Ne,value:0},br={invisible:{},visible:{},all:[]},Lr={displaced:br,displacedBy:Zt,at:null},Jr=function(Q,me){return function(We){return Q<=We&&We<=me}},In=function(Q){var me=Jr(Q.top,Q.bottom),We=Jr(Q.left,Q.right);return function(nt){var Et=me(nt.top)&&me(nt.bottom)&&We(nt.left)&&We(nt.right);if(Et)return!0;var Rt=me(nt.top)||me(nt.bottom),Mt=We(nt.left)||We(nt.right),nr=Rt&&Mt;if(nr)return!0;var yr=nt.top<Q.top&&nt.bottom>Q.bottom,rr=nt.left<Q.left&&nt.right>Q.right,qt=yr&&rr;if(qt)return!0;var hr=yr&&Mt||rr&&Rt;return hr}},Gr=function(Q){var me=Jr(Q.top,Q.bottom),We=Jr(Q.left,Q.right);return function(nt){var Et=me(nt.top)&&me(nt.bottom)&&We(nt.left)&&We(nt.right);return Et}},Tr={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},fr={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},vt=function(Q){return function(me){var We=Jr(me.top,me.bottom),nt=Jr(me.left,me.right);return function(Et){return Q===Tr?We(Et.top)&&We(Et.bottom):nt(Et.left)&&nt(Et.right)}}},ft=function(Q,me){var We=me.frame?me.frame.scroll.diff.displacement:Ne;return Je(Q,We)},Te=function(Q,me,We){return me.subject.active?We(me.subject.active)(Q):!1},Pe=function(Q,me,We){return We(me)(Q)},Ge=function(Q){var me=Q.target,We=Q.destination,nt=Q.viewport,Et=Q.withDroppableDisplacement,Rt=Q.isVisibleThroughFrameFn,Mt=Et?ft(me,We):me;return Te(Mt,We,Rt)&&Pe(Mt,nt,Rt)},st=function(Q){return Ge(Object(m.a)({},Q,{isVisibleThroughFrameFn:In}))},Bt=function(Q){return Ge(Object(m.a)({},Q,{isVisibleThroughFrameFn:Gr}))},$t=function(Q){return Ge(Object(m.a)({},Q,{isVisibleThroughFrameFn:vt(Q.destination.axis)}))},Nr=function(Q,me,We){if(typeof We=="boolean")return We;if(!me)return!0;var nt=me.invisible,Et=me.visible;if(nt[Q])return!1;var Rt=Et[Q];return Rt?Rt.shouldAnimate:!0};function yn(Oe,Q){var me=Oe.page.marginBox,We={top:Q.point.y,right:0,bottom:0,left:Q.point.x};return r(a(me,We))}function un(Oe){var Q=Oe.afterDragging,me=Oe.destination,We=Oe.displacedBy,nt=Oe.viewport,Et=Oe.forceShouldAnimate,Rt=Oe.last;return Q.reduce(function(nr,yr){var rr=yn(yr,We),qt=yr.descriptor.id;nr.all.push(qt);var hr=st({target:rr,destination:me,viewport:nt,withDroppableDisplacement:!0});if(!hr)return nr.invisible[yr.descriptor.id]=!0,nr;var Er=Nr(qt,Rt,Et),zr={draggableId:qt,shouldAnimate:Er};return nr.visible[qt]=zr,nr},{all:[],visible:{},invisible:{}})}function Kt(Oe,Q){if(!Oe.length)return 0;var me=Oe[Oe.length-1].descriptor.index;return Q.inHomeList?me:me+1}function St(Oe){var Q=Oe.insideDestination,me=Oe.inHomeList,We=Oe.displacedBy,nt=Oe.destination,Et=Kt(Q,{inHomeList:me});return{displaced:br,displacedBy:We,at:{type:"REORDER",destination:{droppableId:nt.descriptor.id,index:Et}}}}function kt(Oe){var Q=Oe.draggable,me=Oe.insideDestination,We=Oe.destination,nt=Oe.viewport,Et=Oe.displacedBy,Rt=Oe.last,Mt=Oe.index,nr=Oe.forceShouldAnimate,yr=At(Q,We);if(Mt==null)return St({insideDestination:me,inHomeList:yr,displacedBy:Et,destination:We});var rr=re(me,function(En){return En.descriptor.index===Mt});if(!rr)return St({insideDestination:me,inHomeList:yr,displacedBy:Et,destination:We});var qt=xt(Q,me),hr=me.indexOf(rr),Er=qt.slice(hr),zr=un({afterDragging:Er,destination:We,displacedBy:Et,last:Rt,viewport:nt.frame,forceShouldAnimate:nr});return{displaced:zr,displacedBy:Et,at:{type:"REORDER",destination:{droppableId:We.descriptor.id,index:Mt}}}}function Jt(Oe,Q){return Boolean(Q.effected[Oe])}var Br=function(Q){var me=Q.isMovingForward,We=Q.destination,nt=Q.draggables,Et=Q.combine,Rt=Q.afterCritical;if(!We.isCombineEnabled)return null;var Mt=Et.draggableId,nr=nt[Mt],yr=nr.descriptor.index,rr=Jt(Mt,Rt);return rr?me?yr:yr-1:me?yr+1:yr},Hr=function(Q){var me=Q.isMovingForward,We=Q.isInHomeList,nt=Q.insideDestination,Et=Q.location;if(!nt.length)return null;var Rt=Et.index,Mt=me?Rt+1:Rt-1,nr=nt[0].descriptor.index,yr=nt[nt.length-1].descriptor.index,rr=We?yr:yr+1;return Mt<nr||Mt>rr?null:Mt},$r=function(Q){var me=Q.isMovingForward,We=Q.isInHomeList,nt=Q.draggable,Et=Q.draggables,Rt=Q.destination,Mt=Q.insideDestination,nr=Q.previousImpact,yr=Q.viewport,rr=Q.afterCritical,qt=nr.at;if(qt||Ce(!1),qt.type==="REORDER"){var hr=Hr({isMovingForward:me,isInHomeList:We,location:qt.destination,insideDestination:Mt});return hr==null?null:kt({draggable:nt,insideDestination:Mt,destination:Rt,viewport:yr,last:nr.displaced,displacedBy:nr.displacedBy,index:hr})}var Er=Br({isMovingForward:me,destination:Rt,displaced:nr.displaced,draggables:Et,combine:qt.combine,afterCritical:rr});return Er==null?null:kt({draggable:nt,insideDestination:Mt,destination:Rt,viewport:yr,last:nr.displaced,displacedBy:nr.displacedBy,index:Er})},Ft=function(Q){var me=Q.displaced,We=Q.afterCritical,nt=Q.combineWith,Et=Q.displacedBy,Rt=Boolean(me.visible[nt]||me.invisible[nt]);return Jt(nt,We)?Rt?Ne:_e(Et.point):Rt?Et.point:Ne},cr=function(Q){var me=Q.afterCritical,We=Q.impact,nt=Q.draggables,Et=Rr(We);Et||Ce(!1);var Rt=Et.draggableId,Mt=nt[Rt].page.borderBox.center,nr=Ft({displaced:We.displaced,afterCritical:me,combineWith:Rt,displacedBy:We.displacedBy});return Fe(Mt,nr)},Cr=function(Q,me){return me.margin[Q.start]+me.borderBox[Q.size]/2},Fr=function(Q,me){return me.margin[Q.end]+me.borderBox[Q.size]/2},Wr=function(Q,me,We){return me[Q.crossAxisStart]+We.margin[Q.crossAxisStart]+We.borderBox[Q.crossAxisSize]/2},An=function(Q){var me=Q.axis,We=Q.moveRelativeTo,nt=Q.isMoving;return ze(me.line,We.marginBox[me.end]+Cr(me,nt),Wr(me,We.marginBox,nt))},bn=function(Q){var me=Q.axis,We=Q.moveRelativeTo,nt=Q.isMoving;return ze(me.line,We.marginBox[me.start]-Fr(me,nt),Wr(me,We.marginBox,nt))},Sn=function(Q){var me=Q.axis,We=Q.moveInto,nt=Q.isMoving;return ze(me.line,We.contentBox[me.start]+Cr(me,nt),Wr(me,We.contentBox,nt))},kn=function(Q){var me=Q.impact,We=Q.draggable,nt=Q.draggables,Et=Q.droppable,Rt=Q.afterCritical,Mt=lr(Et.descriptor.id,nt),nr=We.page,yr=Et.axis;if(!Mt.length)return Sn({axis:yr,moveInto:Et.page,isMoving:nr});var rr=me.displaced,qt=me.displacedBy,hr=rr.all[0];if(hr){var Er=nt[hr];if(Jt(hr,Rt))return bn({axis:yr,moveRelativeTo:Er.page,isMoving:nr});var zr=S(Er.page,qt.point);return bn({axis:yr,moveRelativeTo:zr,isMoving:nr})}var En=Mt[Mt.length-1];if(En.descriptor.id===We.descriptor.id)return nr.borderBox.center;if(Jt(En.descriptor.id,Rt)){var jn=S(En.page,_e(Rt.displacedBy.point));return An({axis:yr,moveRelativeTo:jn,isMoving:nr})}return An({axis:yr,moveRelativeTo:En.page,isMoving:nr})},ei=function(Q,me){var We=Q.frame;return We?Fe(me,We.scroll.diff.displacement):me},Jn=function(Q){var me=Q.impact,We=Q.draggable,nt=Q.droppable,Et=Q.draggables,Rt=Q.afterCritical,Mt=We.page.borderBox.center,nr=me.at;return nt&&nr?nr.type==="REORDER"?kn({impact:me,draggable:We,draggables:Et,droppable:nt,afterCritical:Rt}):cr({impact:me,draggables:Et,afterCritical:Rt}):Mt},ai=function(Q){var me=Jn(Q),We=Q.droppable,nt=We?ei(We,me):me;return nt},ii=function(Q,me){var We=ae(me,Q.scroll.initial),nt=_e(We),Et=r({top:me.y,bottom:me.y+Q.frame.height,left:me.x,right:me.x+Q.frame.width}),Rt={frame:Et,scroll:{initial:Q.scroll.initial,max:Q.scroll.max,current:me,diff:{value:We,displacement:nt}}};return Rt};function qe(Oe,Q){return Oe.map(function(me){return Q[me]})}function Se(Oe,Q){for(var me=0;me<Q.length;me++){var We=Q[me].visible[Oe];if(We)return We}return null}var Me=function(Q){var me=Q.impact,We=Q.viewport,nt=Q.destination,Et=Q.draggables,Rt=Q.maxScrollChange,Mt=ii(We,Fe(We.scroll.current,Rt)),nr=nt.frame?q(nt,Fe(nt.frame.scroll.current,Rt)):nt,yr=me.displaced,rr=un({afterDragging:qe(yr.all,Et),destination:nt,displacedBy:me.displacedBy,viewport:Mt.frame,last:yr,forceShouldAnimate:!1}),qt=un({afterDragging:qe(yr.all,Et),destination:nr,displacedBy:me.displacedBy,viewport:We.frame,last:yr,forceShouldAnimate:!1}),hr={},Er={},zr=[yr,rr,qt];yr.all.forEach(function(jn){var pi=Se(jn,zr);if(pi){Er[jn]=pi;return}hr[jn]=!0});var En=Object(m.a)({},me,{displaced:{all:yr.all,invisible:hr,visible:Er}});return En},Be=function(Q,me){return Fe(Q.scroll.diff.displacement,me)},Qe=function(Q){var me=Q.pageBorderBoxCenter,We=Q.draggable,nt=Q.viewport,Et=Be(nt,me),Rt=ae(Et,We.page.borderBox.center);return Fe(We.client.borderBox.center,Rt)},Ve=function(Q){var me=Q.draggable,We=Q.destination,nt=Q.newPageBorderBoxCenter,Et=Q.viewport,Rt=Q.withDroppableDisplacement,Mt=Q.onlyOnMainAxis,nr=Mt===void 0?!1:Mt,yr=ae(nt,me.page.borderBox.center),rr=Je(me.page.borderBox,yr),qt={target:rr,destination:We,withDroppableDisplacement:Rt,viewport:Et};return nr?$t(qt):Bt(qt)},Ye=function(Q){var me=Q.isMovingForward,We=Q.draggable,nt=Q.destination,Et=Q.draggables,Rt=Q.previousImpact,Mt=Q.viewport,nr=Q.previousPageBorderBoxCenter,yr=Q.previousClientSelection,rr=Q.afterCritical;if(!nt.isEnabled)return null;var qt=lr(nt.descriptor.id,Et),hr=At(We,nt),Er=It({isMovingForward:me,draggable:We,destination:nt,insideDestination:qt,previousImpact:Rt})||$r({isMovingForward:me,isInHomeList:hr,draggable:We,draggables:Et,destination:nt,insideDestination:qt,previousImpact:Rt,viewport:Mt,afterCritical:rr});if(!Er)return null;var zr=ai({impact:Er,draggable:We,droppable:nt,draggables:Et,afterCritical:rr}),En=Ve({draggable:We,destination:nt,newPageBorderBoxCenter:zr,viewport:Mt.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(En){var jn=Qe({pageBorderBoxCenter:zr,draggable:We,viewport:Mt});return{clientSelection:jn,impact:Er,scrollJumpRequest:null}}var pi=ae(zr,nr),Yn=Me({impact:Er,viewport:Mt,destination:nt,draggables:Et,maxScrollChange:pi});return{clientSelection:yr,impact:Yn,scrollJumpRequest:pi}},pt=function(Q){var me=Q.subject.active;return me||Ce(!1),me},ht=function(Q){var me=Q.isMovingForward,We=Q.pageBorderBoxCenter,nt=Q.source,Et=Q.droppables,Rt=Q.viewport,Mt=nt.subject.active;if(!Mt)return null;var nr=nt.axis,yr=Jr(Mt[nr.start],Mt[nr.end]),rr=Tt(Et).filter(function(hr){return hr!==nt}).filter(function(hr){return hr.isEnabled}).filter(function(hr){return Boolean(hr.subject.active)}).filter(function(hr){return In(Rt.frame)(pt(hr))}).filter(function(hr){var Er=pt(hr);return me?Mt[nr.crossAxisEnd]<Er[nr.crossAxisEnd]:Er[nr.crossAxisStart]<Mt[nr.crossAxisStart]}).filter(function(hr){var Er=pt(hr),zr=Jr(Er[nr.start],Er[nr.end]);return yr(Er[nr.start])||yr(Er[nr.end])||zr(Mt[nr.start])||zr(Mt[nr.end])}).sort(function(hr,Er){var zr=pt(hr)[nr.crossAxisStart],En=pt(Er)[nr.crossAxisStart];return me?zr-En:En-zr}).filter(function(hr,Er,zr){return pt(hr)[nr.crossAxisStart]===pt(zr[0])[nr.crossAxisStart]});if(!rr.length)return null;if(rr.length===1)return rr[0];var qt=rr.filter(function(hr){var Er=Jr(pt(hr)[nr.start],pt(hr)[nr.end]);return Er(We[nr.line])});return qt.length===1?qt[0]:qt.length>1?qt.sort(function(hr,Er){return pt(hr)[nr.start]-pt(Er)[nr.start]})[0]:rr.sort(function(hr,Er){var zr=Ze(We,rt(pt(hr))),En=Ze(We,rt(pt(Er)));return zr!==En?zr-En:pt(hr)[nr.start]-pt(Er)[nr.start]})[0]},Vt=function(Q,me){var We=Q.page.borderBox.center;return Jt(Q.descriptor.id,me)?ae(We,me.displacedBy.point):We},dr=function(Q,me){var We=Q.page.borderBox;return Jt(Q.descriptor.id,me)?Je(We,_e(me.displacedBy.point)):We},tr=function(Q){var me=Q.pageBorderBoxCenter,We=Q.viewport,nt=Q.destination,Et=Q.insideDestination,Rt=Q.afterCritical,Mt=Et.filter(function(nr){return Bt({target:dr(nr,Rt),destination:nt,viewport:We.frame,withDroppableDisplacement:!0})}).sort(function(nr,yr){var rr=it(me,ei(nt,Vt(nr,Rt))),qt=it(me,ei(nt,Vt(yr,Rt)));return rr<qt?-1:qt<rr?1:nr.descriptor.index-yr.descriptor.index});return Mt[0]||null},ir=L(function(Q,me){var We=me[Q.line];return{value:We,point:ze(Q.line,We)}}),_t=function(Q,me,We){var nt=Q.axis;if(Q.descriptor.mode==="virtual")return ze(nt.line,me[nt.line]);var Et=Q.subject.page.contentBox[nt.size],Rt=lr(Q.descriptor.id,We),Mt=Rt.reduce(function(rr,qt){return rr+qt.client.marginBox[nt.size]},0),nr=Mt+me[nt.line],yr=nr-Et;return yr<=0?null:ze(nt.line,yr)},gr=function(Q,me){return Object(m.a)({},Q,{scroll:Object(m.a)({},Q.scroll,{max:me})})},jt=function(Q,me,We){var nt=Q.frame;At(me,Q)&&Ce(!1),Q.subject.withPlaceholder&&Ce(!1);var Et=ir(Q.axis,me.displaceBy).point,Rt=_t(Q,Et,We),Mt={placeholderSize:Et,increasedBy:Rt,oldFrameMaxScroll:Q.frame?Q.frame.scroll.max:null};if(!nt){var nr=Xe({page:Q.subject.page,withPlaceholder:Mt,axis:Q.axis,frame:Q.frame});return Object(m.a)({},Q,{subject:nr})}var yr=Rt?Fe(nt.scroll.max,Rt):nt.scroll.max,rr=gr(nt,yr),qt=Xe({page:Q.subject.page,withPlaceholder:Mt,axis:Q.axis,frame:rr});return Object(m.a)({},Q,{subject:qt,frame:rr})},Sr=function(Q){var me=Q.subject.withPlaceholder;me||Ce(!1);var We=Q.frame;if(!We){var nt=Xe({page:Q.subject.page,axis:Q.axis,frame:null,withPlaceholder:null});return Object(m.a)({},Q,{subject:nt})}var Et=me.oldFrameMaxScroll;Et||Ce(!1);var Rt=gr(We,Et),Mt=Xe({page:Q.subject.page,axis:Q.axis,frame:Rt,withPlaceholder:null});return Object(m.a)({},Q,{subject:Mt,frame:Rt})},Ar=function(Q){var me=Q.previousPageBorderBoxCenter,We=Q.moveRelativeTo,nt=Q.insideDestination,Et=Q.draggable,Rt=Q.draggables,Mt=Q.destination,nr=Q.viewport,yr=Q.afterCritical;if(!We){if(nt.length)return null;var rr={displaced:br,displacedBy:Zt,at:{type:"REORDER",destination:{droppableId:Mt.descriptor.id,index:0}}},qt=ai({impact:rr,draggable:Et,droppable:Mt,draggables:Rt,afterCritical:yr}),hr=At(Et,Mt)?Mt:jt(Mt,Et,Rt),Er=Ve({draggable:Et,destination:hr,newPageBorderBoxCenter:qt,viewport:nr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Er?rr:null}var zr=Boolean(me[Mt.axis.line]<=We.page.borderBox.center[Mt.axis.line]),En=function(){var pi=We.descriptor.index;return We.descriptor.id===Et.descriptor.id||zr?pi:pi+1}(),jn=ir(Mt.axis,Et.displaceBy);return kt({draggable:Et,insideDestination:nt,destination:Mt,viewport:nr,displacedBy:jn,last:br,index:En})},sr=function(Q){var me=Q.isMovingForward,We=Q.previousPageBorderBoxCenter,nt=Q.draggable,Et=Q.isOver,Rt=Q.draggables,Mt=Q.droppables,nr=Q.viewport,yr=Q.afterCritical,rr=ht({isMovingForward:me,pageBorderBoxCenter:We,source:Et,droppables:Mt,viewport:nr});if(!rr)return null;var qt=lr(rr.descriptor.id,Rt),hr=tr({pageBorderBoxCenter:We,viewport:nr,destination:rr,insideDestination:qt,afterCritical:yr}),Er=Ar({previousPageBorderBoxCenter:We,destination:rr,draggable:nt,draggables:Rt,moveRelativeTo:hr,insideDestination:qt,viewport:nr,afterCritical:yr});if(!Er)return null;var zr=ai({impact:Er,draggable:nt,droppable:rr,draggables:Rt,afterCritical:yr}),En=Qe({pageBorderBoxCenter:zr,draggable:nt,viewport:nr});return{clientSelection:En,impact:Er,scrollJumpRequest:null}},ln=function(Q){var me=Q.at;return me?me.type==="REORDER"?me.destination.droppableId:me.combine.droppableId:null},_n=function(Q,me){var We=ln(Q);return We?me[We]:null},Wn=function(Q){var me=Q.state,We=Q.type,nt=_n(me.impact,me.dimensions.droppables),Et=Boolean(nt),Rt=me.dimensions.droppables[me.critical.droppable.id],Mt=nt||Rt,nr=Mt.axis.direction,yr=nr==="vertical"&&(We==="MOVE_UP"||We==="MOVE_DOWN")||nr==="horizontal"&&(We==="MOVE_LEFT"||We==="MOVE_RIGHT");if(yr&&!Et)return null;var rr=We==="MOVE_DOWN"||We==="MOVE_RIGHT",qt=me.dimensions.draggables[me.critical.draggable.id],hr=me.current.page.borderBoxCenter,Er=me.dimensions,zr=Er.draggables,En=Er.droppables;return yr?Ye({isMovingForward:rr,previousPageBorderBoxCenter:hr,draggable:qt,destination:Mt,draggables:zr,viewport:me.viewport,previousClientSelection:me.current.client.selection,previousImpact:me.impact,afterCritical:me.afterCritical}):sr({isMovingForward:rr,previousPageBorderBoxCenter:hr,draggable:qt,isOver:Mt,draggables:zr,droppables:En,viewport:me.viewport,afterCritical:me.afterCritical})};function Nn(Oe){return Oe.phase==="DRAGGING"||Oe.phase==="COLLECTING"}function Mn(Oe){var Q=Jr(Oe.top,Oe.bottom),me=Jr(Oe.left,Oe.right);return function(nt){return Q(nt.y)&&me(nt.x)}}function Gn(Oe,Q){return Oe.left<Q.right&&Oe.right>Q.left&&Oe.top<Q.bottom&&Oe.bottom>Q.top}function xn(Oe){var Q=Oe.pageBorderBox,me=Oe.draggable,We=Oe.candidates,nt=me.page.borderBox.center,Et=We.map(function(Rt){var Mt=Rt.axis,nr=ze(Rt.axis.line,Q.center[Mt.line],Rt.page.borderBox.center[Mt.crossAxisLine]);return{id:Rt.descriptor.id,distance:it(nt,nr)}}).sort(function(Rt,Mt){return Mt.distance-Rt.distance});return Et[0]?Et[0].id:null}function mi(Oe){var Q=Oe.pageBorderBox,me=Oe.draggable,We=Oe.droppables,nt=Tt(We).filter(function(Et){if(!Et.isEnabled)return!1;var Rt=Et.subject.active;if(!Rt)return!1;if(!Gn(Q,Rt))return!1;if(Mn(Rt)(Q.center))return!0;var Mt=Et.axis,nr=Rt.center[Mt.crossAxisLine],yr=Q[Mt.crossAxisStart],rr=Q[Mt.crossAxisEnd],qt=Jr(Rt[Mt.crossAxisStart],Rt[Mt.crossAxisEnd]),hr=qt(yr),Er=qt(rr);return!hr&&!Er?!0:hr?yr<nr:rr>nr});return nt.length?nt.length===1?nt[0].descriptor.id:xn({pageBorderBox:Q,draggable:me,candidates:nt}):null}var rn=function(Q,me){return r(Je(Q,me))},Ur=function(Q,me){var We=Q.frame;return We?rn(me,We.scroll.diff.value):me};function cn(Oe){var Q=Oe.displaced,me=Oe.id;return Boolean(Q.visible[me]||Q.invisible[me])}function Qr(Oe){var Q=Oe.draggable,me=Oe.closest,We=Oe.inHomeList;return me?We&&me.descriptor.index>Q.descriptor.index?me.descriptor.index-1:me.descriptor.index:null}var Vn=function(Q){var me=Q.pageBorderBoxWithDroppableScroll,We=Q.draggable,nt=Q.destination,Et=Q.insideDestination,Rt=Q.last,Mt=Q.viewport,nr=Q.afterCritical,yr=nt.axis,rr=ir(nt.axis,We.displaceBy),qt=rr.value,hr=me[yr.start],Er=me[yr.end],zr=xt(We,Et),En=re(zr,function(pi){var Yn=pi.descriptor.id,Ji=pi.page.borderBox.center[yr.line],Ei=Jt(Yn,nr),da=cn({displaced:Rt,id:Yn});return Ei?da?Er<=Ji:hr<Ji-qt:da?Er<=Ji+qt:hr<Ji}),jn=Qr({draggable:We,closest:En,inHomeList:At(We,nt)});return kt({draggable:We,insideDestination:Et,destination:nt,viewport:Mt,last:Rt,displacedBy:rr,index:jn})},Hn=4,li=function(Q){var me=Q.draggable,We=Q.pageBorderBoxWithDroppableScroll,nt=Q.previousImpact,Et=Q.destination,Rt=Q.insideDestination,Mt=Q.afterCritical;if(!Et.isCombineEnabled)return null;var nr=Et.axis,yr=ir(Et.axis,me.displaceBy),rr=yr.value,qt=We[nr.start],hr=We[nr.end],Er=xt(me,Rt),zr=re(Er,function(jn){var pi=jn.descriptor.id,Yn=jn.page.borderBox,Ji=Yn[nr.size],Ei=Ji/Hn,da=Jt(pi,Mt),ta=cn({displaced:nt.displaced,id:pi});return da?ta?hr>Yn[nr.start]+Ei&&hr<Yn[nr.end]-Ei:qt>Yn[nr.start]-rr+Ei&&qt<Yn[nr.end]-rr-Ei:ta?hr>Yn[nr.start]+rr+Ei&&hr<Yn[nr.end]+rr-Ei:qt>Yn[nr.start]+Ei&&qt<Yn[nr.end]-Ei});if(!zr)return null;var En={displacedBy:yr,displaced:nt.displaced,at:{type:"COMBINE",combine:{draggableId:zr.descriptor.id,droppableId:Et.descriptor.id}}};return En},Un=function(Q){var me=Q.pageOffset,We=Q.draggable,nt=Q.draggables,Et=Q.droppables,Rt=Q.previousImpact,Mt=Q.viewport,nr=Q.afterCritical,yr=rn(We.page.borderBox,me),rr=mi({pageBorderBox:yr,draggable:We,droppables:Et});if(!rr)return Lr;var qt=Et[rr],hr=lr(qt.descriptor.id,nt),Er=Ur(qt,yr);return li({pageBorderBoxWithDroppableScroll:Er,draggable:We,previousImpact:Rt,destination:qt,insideDestination:hr,afterCritical:nr})||Vn({pageBorderBoxWithDroppableScroll:Er,draggable:We,destination:qt,insideDestination:hr,last:Rt.displaced,viewport:Mt,afterCritical:nr})},gi=function(Q,me){var We;return Object(m.a)({},Q,(We={},We[me.descriptor.id]=me,We))},Bn=function(Q){var me=Q.previousImpact,We=Q.impact,nt=Q.droppables,Et=ln(me),Rt=ln(We);if(!Et)return nt;if(Et===Rt)return nt;var Mt=nt[Et];if(!Mt.subject.withPlaceholder)return nt;var nr=Sr(Mt);return gi(nt,nr)},di=function(Q){var me=Q.draggable,We=Q.draggables,nt=Q.droppables,Et=Q.previousImpact,Rt=Q.impact,Mt=Bn({previousImpact:Et,impact:Rt,droppables:nt}),nr=ln(Rt);if(!nr)return Mt;var yr=nt[nr];if(At(me,yr))return Mt;if(yr.subject.withPlaceholder)return Mt;var rr=jt(yr,me,We);return gi(Mt,rr)},qr=function(Q){var me=Q.state,We=Q.clientSelection,nt=Q.dimensions,Et=Q.viewport,Rt=Q.impact,Mt=Q.scrollJumpRequest,nr=Et||me.viewport,yr=nt||me.dimensions,rr=We||me.current.client.selection,qt=ae(rr,me.initial.client.selection),hr={offset:qt,selection:rr,borderBoxCenter:Fe(me.initial.client.borderBoxCenter,qt)},Er={selection:Fe(hr.selection,nr.scroll.current),borderBoxCenter:Fe(hr.borderBoxCenter,nr.scroll.current),offset:Fe(hr.offset,nr.scroll.diff.value)},zr={client:hr,page:Er};if(me.phase==="COLLECTING")return Object(m.a)({phase:"COLLECTING"},me,{dimensions:yr,viewport:nr,current:zr});var En=yr.draggables[me.critical.draggable.id],jn=Rt||Un({pageOffset:Er.offset,draggable:En,draggables:yr.draggables,droppables:yr.droppables,previousImpact:me.impact,viewport:nr,afterCritical:me.afterCritical}),pi=di({draggable:En,impact:jn,previousImpact:me.impact,draggables:yr.draggables,droppables:yr.droppables}),Yn=Object(m.a)({},me,{current:zr,dimensions:{draggables:yr.draggables,droppables:pi},impact:jn,viewport:nr,scrollJumpRequest:Mt||null,forceShouldAnimate:Mt?!1:null});return Yn};function xr(Oe,Q){return Oe.map(function(me){return Q[me]})}var nn=function(Q){var me=Q.impact,We=Q.viewport,nt=Q.draggables,Et=Q.destination,Rt=Q.forceShouldAnimate,Mt=me.displaced,nr=xr(Mt.all,nt),yr=un({afterDragging:nr,destination:Et,displacedBy:me.displacedBy,viewport:We.frame,forceShouldAnimate:Rt,last:Mt});return Object(m.a)({},me,{displaced:yr})},gn=function(Q){var me=Q.impact,We=Q.draggable,nt=Q.droppable,Et=Q.draggables,Rt=Q.viewport,Mt=Q.afterCritical,nr=ai({impact:me,draggable:We,draggables:Et,droppable:nt,afterCritical:Mt});return Qe({pageBorderBoxCenter:nr,draggable:We,viewport:Rt})},On=function(Q){var me=Q.state,We=Q.dimensions,nt=Q.viewport;me.movementMode==="SNAP"||Ce(!1);var Et=me.impact,Rt=nt||me.viewport,Mt=We||me.dimensions,nr=Mt.draggables,yr=Mt.droppables,rr=nr[me.critical.draggable.id],qt=ln(Et);qt||Ce(!1);var hr=yr[qt],Er=nn({impact:Et,viewport:Rt,destination:hr,draggables:nr}),zr=gn({impact:Er,draggable:rr,droppable:hr,draggables:nr,viewport:Rt,afterCritical:me.afterCritical});return qr({impact:Er,clientSelection:zr,state:me,dimensions:Mt,viewport:Rt})},Fn=function(Q){return{index:Q.index,droppableId:Q.droppableId}},zn=function(Q){var me=Q.draggable,We=Q.home,nt=Q.draggables,Et=Q.viewport,Rt=ir(We.axis,me.displaceBy),Mt=lr(We.descriptor.id,nt),nr=Mt.indexOf(me);nr!==-1||Ce(!1);var yr=Mt.slice(nr+1),rr=yr.reduce(function(zr,En){return zr[En.descriptor.id]=!0,zr},{}),qt={inVirtualList:We.descriptor.mode==="virtual",displacedBy:Rt,effected:rr},hr=un({afterDragging:yr,destination:We,displacedBy:Rt,last:null,viewport:Et.frame,forceShouldAnimate:!1}),Er={displaced:hr,displacedBy:Rt,at:{type:"REORDER",destination:Fn(me.descriptor)}};return{impact:Er,afterCritical:qt}},$n=function(Q,me){return{draggables:Q.draggables,droppables:gi(Q.droppables,me)}},Zn=function(Q){},vi=function(Q){},Pi=function(Q){var me=Q.draggable,We=Q.offset,nt=Q.initialWindowScroll,Et=S(me.client,We),Rt=b(Et,nt),Mt=Object(m.a)({},me,{placeholder:Object(m.a)({},me.placeholder,{client:Et}),client:Et,page:Rt});return Mt},Fi=function(Q){var me=Q.frame;return me||Ce(!1),me},ja=function(Q){var me=Q.additions,We=Q.updatedDroppables,nt=Q.viewport,Et=nt.scroll.diff.value;return me.map(function(Rt){var Mt=Rt.descriptor.droppableId,nr=We[Mt],yr=Fi(nr),rr=yr.scroll.diff.value,qt=Fe(Et,rr),hr=Pi({draggable:Rt,offset:qt,initialWindowScroll:nt.scroll.initial});return hr})},Qn=function(Q){var me=Q.state,We=Q.published;Zn();var nt=We.modified.map(function(Ei){var da=me.dimensions.droppables[Ei.droppableId],ta=q(da,Ei.scroll);return ta}),Et=Object(m.a)({},me.dimensions.droppables,{},bt(nt)),Rt=tt(ja({additions:We.additions,updatedDroppables:Et,viewport:me.viewport})),Mt=Object(m.a)({},me.dimensions.draggables,{},Rt);We.removals.forEach(function(Ei){delete Mt[Ei]});var nr={droppables:Et,draggables:Mt},yr=ln(me.impact),rr=yr?nr.droppables[yr]:null,qt=nr.draggables[me.critical.draggable.id],hr=nr.droppables[me.critical.droppable.id],Er=zn({draggable:qt,home:hr,draggables:Mt,viewport:me.viewport}),zr=Er.impact,En=Er.afterCritical,jn=rr&&rr.isCombineEnabled?me.impact:zr,pi=Un({pageOffset:me.current.page.offset,draggable:nr.draggables[me.critical.draggable.id],draggables:nr.draggables,droppables:nr.droppables,previousImpact:jn,viewport:me.viewport,afterCritical:En});vi();var Yn=Object(m.a)({phase:"DRAGGING"},me,{phase:"DRAGGING",impact:pi,onLiftImpact:zr,dimensions:nr,afterCritical:En,forceShouldAnimate:!1});if(me.phase==="COLLECTING")return Yn;var Ji=Object(m.a)({phase:"DROP_PENDING"},Yn,{phase:"DROP_PENDING",reason:me.reason,isWaiting:!1});return Ji},Xr=function(Q){return Q.movementMode==="SNAP"},hi=function(Q,me,We){var nt=$n(Q.dimensions,me);return!Xr(Q)||We?qr({state:Q,dimensions:nt}):On({state:Q,dimensions:nt})};function Ri(Oe){return Oe.isDragging&&Oe.movementMode==="SNAP"?Object(m.a)({phase:"DRAGGING"},Oe,{scrollJumpRequest:null}):Oe}var bi={phase:"IDLE",completed:null,shouldFlush:!1},Ui=function(Q,me){if(Q===void 0&&(Q=bi),me.type==="FLUSH")return Object(m.a)({},bi,{shouldFlush:!0});if(me.type==="INITIAL_PUBLISH"){Q.phase==="IDLE"||Ce(!1);var We=me.payload,nt=We.critical,Et=We.clientSelection,Rt=We.viewport,Mt=We.dimensions,nr=We.movementMode,yr=Mt.draggables[nt.draggable.id],rr=Mt.droppables[nt.droppable.id],qt={selection:Et,borderBoxCenter:yr.client.borderBox.center,offset:Ne},hr={client:qt,page:{selection:Fe(qt.selection,Rt.scroll.initial),borderBoxCenter:Fe(qt.selection,Rt.scroll.initial),offset:Fe(qt.selection,Rt.scroll.diff.value)}},Er=Tt(Mt.droppables).every(function(mo){return!mo.isFixedOnPage}),zr=zn({draggable:yr,home:rr,draggables:Mt.draggables,viewport:Rt}),En=zr.impact,jn=zr.afterCritical,pi={phase:"DRAGGING",isDragging:!0,critical:nt,movementMode:nr,dimensions:Mt,initial:hr,current:hr,isWindowScrollAllowed:Er,impact:En,afterCritical:jn,onLiftImpact:En,viewport:Rt,scrollJumpRequest:null,forceShouldAnimate:null};return pi}if(me.type==="COLLECTION_STARTING"){if(Q.phase==="COLLECTING"||Q.phase==="DROP_PENDING")return Q;Q.phase==="DRAGGING"||Ce(!1);var Yn=Object(m.a)({phase:"COLLECTING"},Q,{phase:"COLLECTING"});return Yn}if(me.type==="PUBLISH_WHILE_DRAGGING")return Q.phase==="COLLECTING"||Q.phase==="DROP_PENDING"||Ce(!1),Qn({state:Q,published:me.payload});if(me.type==="MOVE"){if(Q.phase==="DROP_PENDING")return Q;Nn(Q)||Ce(!1);var Ji=me.payload.client;return ce(Ji,Q.current.client.selection)?Q:qr({state:Q,clientSelection:Ji,impact:Xr(Q)?Q.impact:null})}if(me.type==="UPDATE_DROPPABLE_SCROLL"){if(Q.phase==="DROP_PENDING")return Ri(Q);if(Q.phase==="COLLECTING")return Ri(Q);Nn(Q)||Ce(!1);var Ei=me.payload,da=Ei.id,ta=Ei.newScroll,oa=Q.dimensions.droppables[da];if(!oa)return Q;var qa=q(oa,ta);return hi(Q,qa,!1)}if(me.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(Q.phase==="DROP_PENDING")return Q;Nn(Q)||Ce(!1);var O=me.payload,N=O.id,G=O.isEnabled,Z=Q.dimensions.droppables[N];Z||Ce(!1),Z.isEnabled!==G||Ce(!1);var oe=Object(m.a)({},Z,{isEnabled:G});return hi(Q,oe,!0)}if(me.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(Q.phase==="DROP_PENDING")return Q;Nn(Q)||Ce(!1);var Re=me.payload,ct=Re.id,Nt=Re.isCombineEnabled,Wt=Q.dimensions.droppables[ct];Wt||Ce(!1),Wt.isCombineEnabled!==Nt||Ce(!1);var Qt=Object(m.a)({},Wt,{isCombineEnabled:Nt});return hi(Q,Qt,!0)}if(me.type==="MOVE_BY_WINDOW_SCROLL"){if(Q.phase==="DROP_PENDING"||Q.phase==="DROP_ANIMATING")return Q;Nn(Q)||Ce(!1),Q.isWindowScrollAllowed||Ce(!1);var kr=me.payload.newScroll;if(ce(Q.viewport.scroll.current,kr))return Ri(Q);var tn=ii(Q.viewport,kr);return Xr(Q)?On({state:Q,viewport:tn}):qr({state:Q,viewport:tn})}if(me.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Nn(Q))return Q;var mn=me.payload.maxScroll;if(ce(mn,Q.viewport.scroll.max))return Q;var wn=Object(m.a)({},Q.viewport,{scroll:Object(m.a)({},Q.viewport.scroll,{max:mn})});return Object(m.a)({phase:"DRAGGING"},Q,{viewport:wn})}if(me.type==="MOVE_UP"||me.type==="MOVE_DOWN"||me.type==="MOVE_LEFT"||me.type==="MOVE_RIGHT"){if(Q.phase==="COLLECTING"||Q.phase==="DROP_PENDING")return Q;Q.phase==="DRAGGING"||Ce(!1);var ri=Wn({state:Q,type:me.type});return ri?qr({state:Q,impact:ri.impact,clientSelection:ri.clientSelection,scrollJumpRequest:ri.scrollJumpRequest}):Q}if(me.type==="DROP_PENDING"){var yi=me.payload.reason;Q.phase==="COLLECTING"||Ce(!1);var Mi=Object(m.a)({phase:"DROP_PENDING"},Q,{phase:"DROP_PENDING",isWaiting:!0,reason:yi});return Mi}if(me.type==="DROP_ANIMATE"){var Di=me.payload,Ii=Di.completed,Gi=Di.dropDuration,ia=Di.newHomeClientOffset;Q.phase==="DRAGGING"||Q.phase==="DROP_PENDING"||Ce(!1);var za={phase:"DROP_ANIMATING",completed:Ii,dropDuration:Gi,newHomeClientOffset:ia,dimensions:Q.dimensions};return za}if(me.type==="DROP_COMPLETE"){var La=me.payload.completed;return{phase:"IDLE",completed:La,shouldFlush:!1}}return Q},ni=function(Q){return{type:"BEFORE_INITIAL_CAPTURE",payload:Q}},qi=function(Q){return{type:"LIFT",payload:Q}},Qi=function(Q){return{type:"INITIAL_PUBLISH",payload:Q}},ha=function(Q){return{type:"PUBLISH_WHILE_DRAGGING",payload:Q}},Yt=function(){return{type:"COLLECTION_STARTING",payload:null}},Ir=function(Q){return{type:"UPDATE_DROPPABLE_SCROLL",payload:Q}},Zr=function(Q){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:Q}},He=function(Q){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:Q}},gt=function(Q){return{type:"MOVE",payload:Q}},Xt=function(Q){return{type:"MOVE_BY_WINDOW_SCROLL",payload:Q}},zt=function(Q){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:Q}},vr=function(){return{type:"MOVE_UP",payload:null}},or=function(){return{type:"MOVE_DOWN",payload:null}},Vr=function(){return{type:"MOVE_RIGHT",payload:null}},Kr=function(){return{type:"MOVE_LEFT",payload:null}},Dr=function(){return{type:"FLUSH",payload:null}},dn=function(Q){return{type:"DROP_ANIMATE",payload:Q}},on=function(Q){return{type:"DROP_COMPLETE",payload:Q}},Cn=function(Q){return{type:"DROP",payload:Q}},sn=function(Q){return{type:"DROP_PENDING",payload:Q}},an=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Yr(Oe){if(Oe.length<=1)return;for(var Q=Oe.map(function(Mt){return Mt.descriptor.index}),me={},We=1;We<Q.length;We++){var nt=Q[We],Et=Q[We-1];nt!==Et+1&&(me[nt]=!0)}if(!Object.keys(me).length)return;var Rt=Q.map(function(Mt){var nr=Boolean(me[Mt]);return nr?"[\u{1F525}"+Mt+"]":""+Mt}).join(", ")}function fn(Oe,Q){if(!1)var me}var vn=function(Q){return function(me){var We=me.getState,nt=me.dispatch;return function(Et){return function(Rt){if(Rt.type!=="LIFT"){Et(Rt);return}var Mt=Rt.payload,nr=Mt.id,yr=Mt.clientSelection,rr=Mt.movementMode,qt=We();qt.phase==="DROP_ANIMATING"&&nt(on({completed:qt.completed})),We().phase==="IDLE"||Ce(!1),nt(Dr()),nt(ni({draggableId:nr,movementMode:rr}));var hr={shouldPublishImmediately:rr==="SNAP"},Er={draggableId:nr,scrollOptions:hr},zr=Q.startPublishing(Er),En=zr.critical,jn=zr.dimensions,pi=zr.viewport;fn(En,jn),nt(Qi({critical:En,dimensions:jn,clientSelection:yr,movementMode:rr,viewport:pi}))}}}},Ln=function(Q){return function(){return function(me){return function(We){We.type==="INITIAL_PUBLISH"&&Q.dragging(),We.type==="DROP_ANIMATE"&&Q.dropping(We.payload.completed.result.reason),(We.type==="FLUSH"||We.type==="DROP_COMPLETE")&&Q.resting(),me(We)}}}},oi={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},si={opacity:{drop:0,combining:.7},scale:{drop:.75}},Ni={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},qn=Ni.outOfTheWay+"s "+oi.outOfTheWay,Pn={fluid:"opacity "+qn,snap:"transform "+qn+", opacity "+qn,drop:function(Q){var me=Q+"s "+oi.drop;return"transform "+me+", opacity "+me},outOfTheWay:"transform "+qn,placeholder:"height "+qn+", width "+qn+", margin "+qn},Bi=function(Q){return ce(Q,Ne)?null:"translate("+Q.x+"px, "+Q.y+"px)"},ci={moveTo:Bi,drop:function(Q,me){var We=Bi(Q);return We?me?We+" scale("+si.scale.drop+")":We:null}},wi=Ni.minDropTime,fi=Ni.maxDropTime,ki=fi-wi,fa=1500,zi=.6,ma=function(Q){var me=Q.current,We=Q.destination,nt=Q.reason,Et=it(me,We);if(Et<=0)return wi;if(Et>=fa)return fi;var Rt=Et/fa,Mt=wi+ki*Rt,nr=nt==="CANCEL"?Mt*zi:Mt;return Number(nr.toFixed(2))},aa=function(Q){var me=Q.impact,We=Q.draggable,nt=Q.dimensions,Et=Q.viewport,Rt=Q.afterCritical,Mt=nt.draggables,nr=nt.droppables,yr=ln(me),rr=yr?nr[yr]:null,qt=nr[We.descriptor.droppableId],hr=gn({impact:me,draggable:We,draggables:Mt,afterCritical:Rt,droppable:rr||qt,viewport:Et}),Er=ae(hr,We.client.borderBox.center);return Er},ya=function(Q){var me=Q.draggables,We=Q.reason,nt=Q.lastImpact,Et=Q.home,Rt=Q.viewport,Mt=Q.onLiftImpact;if(!nt.at||We!=="DROP"){var nr=nn({draggables:me,impact:Mt,destination:Et,viewport:Rt,forceShouldAnimate:!0});return{impact:nr,didDropInsideDroppable:!1}}if(nt.at.type==="REORDER")return{impact:nt,didDropInsideDroppable:!0};var yr=Object(m.a)({},nt,{displaced:br});return{impact:yr,didDropInsideDroppable:!0}},Ea=function(Q){var me=Q.getState,We=Q.dispatch;return function(nt){return function(Et){if(Et.type!=="DROP"){nt(Et);return}var Rt=me(),Mt=Et.payload.reason;if(Rt.phase==="COLLECTING"){We(sn({reason:Mt}));return}if(Rt.phase==="IDLE")return;var nr=Rt.phase==="DROP_PENDING"&&Rt.isWaiting;nr&&Ce(!1),Rt.phase==="DRAGGING"||Rt.phase==="DROP_PENDING"||Ce(!1);var yr=Rt.critical,rr=Rt.dimensions,qt=rr.draggables[Rt.critical.draggable.id],hr=ya({reason:Mt,lastImpact:Rt.impact,afterCritical:Rt.afterCritical,onLiftImpact:Rt.onLiftImpact,home:Rt.dimensions.droppables[Rt.critical.droppable.id],viewport:Rt.viewport,draggables:Rt.dimensions.draggables}),Er=hr.impact,zr=hr.didDropInsideDroppable,En=zr?pr(Er):null,jn=zr?Rr(Er):null,pi={index:yr.draggable.index,droppableId:yr.droppable.id},Yn={draggableId:qt.descriptor.id,type:qt.descriptor.type,source:pi,reason:Mt,mode:Rt.movementMode,destination:En,combine:jn},Ji=aa({impact:Er,draggable:qt,dimensions:rr,viewport:Rt.viewport,afterCritical:Rt.afterCritical}),Ei={critical:Rt.critical,afterCritical:Rt.afterCritical,result:Yn,impact:Er},da=!ce(Rt.current.client.offset,Ji)||Boolean(Yn.combine);if(!da){We(on({completed:Ei}));return}var ta=ma({current:Rt.current.client.offset,destination:Ji,reason:Mt}),oa={newHomeClientOffset:Ji,dropDuration:ta,completed:Ei};We(dn(oa))}}},ca=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function ka(Oe){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(me){if(me.target!==window&&me.target!==window.document)return;Oe()}}}function wa(Oe){var Q=Oe.onWindowScroll;function me(){Q(ca())}var We=k(me),nt=ka(We),Et=ne;function Rt(){return Et!==ne}function Mt(){Rt()&&Ce(!1),Et=ge(window,[nt])}function nr(){Rt()||Ce(!1),We.cancel(),Et(),Et=ne}return{start:Mt,stop:nr,isActive:Rt}}var _i=function(Q){return Q.type==="DROP_COMPLETE"||Q.type==="DROP_ANIMATE"||Q.type==="FLUSH"},xi=function(Q){var me=wa({onWindowScroll:function(nt){Q.dispatch(Xt({newScroll:nt}))}});return function(We){return function(nt){!me.isActive()&&nt.type==="INITIAL_PUBLISH"&&me.start(),me.isActive()&&_i(nt)&&me.stop(),We(nt)}}},ji=function(Q){var me=!1,We=!1,nt=setTimeout(function(){We=!0}),Et=function(Mt){if(me)return;if(We)return;me=!0,Q(Mt),clearTimeout(nt)};return Et.wasCalled=function(){return me},Et},Zi=function(){var Q=[],me=function(Rt){var Mt=xe(Q,function(rr){return rr.timerId===Rt});Mt!==-1||Ce(!1);var nr=Q.splice(Mt,1),yr=nr[0];yr.callback()},We=function(Rt){var Mt=setTimeout(function(){return me(Mt)}),nr={timerId:Mt,callback:Rt};Q.push(nr)},nt=function(){if(!Q.length)return;var Rt=[].concat(Q);Q.length=0,Rt.forEach(function(Mt){clearTimeout(Mt.timerId),Mt.callback()})};return{add:We,flush:nt}},Si=function(Q,me){return Q==null&&me==null?!0:Q==null||me==null?!1:Q.droppableId===me.droppableId&&Q.index===me.index},Hi=function(Q,me){return Q==null&&me==null?!0:Q==null||me==null?!1:Q.draggableId===me.draggableId&&Q.droppableId===me.droppableId},Oa=function(Q,me){if(Q===me)return!0;var We=Q.draggable.id===me.draggable.id&&Q.draggable.droppableId===me.draggable.droppableId&&Q.draggable.type===me.draggable.type&&Q.draggable.index===me.draggable.index,nt=Q.droppable.id===me.droppable.id&&Q.droppable.type===me.droppable.type;return We&&nt},_a=function(Q,me){Zn(),me(),vi()},la=function(Q,me){return{draggableId:Q.draggable.id,type:Q.droppable.type,source:{droppableId:Q.droppable.id,index:Q.draggable.index},mode:me}},va=function(Q,me,We,nt){if(!Q){We(nt(me));return}var Et=ji(We),Rt={announce:Et};Q(me,Rt),Et.wasCalled()||We(nt(me))},Ma=function(Q,me){var We=Zi(),nt=null,Et=function(Er,zr){nt&&Ce(!1),_a("onBeforeCapture",function(){var En=Q().onBeforeCapture;if(En){var jn={draggableId:Er,mode:zr};En(jn)}})},Rt=function(Er,zr){nt&&Ce(!1),_a("onBeforeDragStart",function(){var En=Q().onBeforeDragStart;En&&En(la(Er,zr))})},Mt=function(Er,zr){nt&&Ce(!1);var En=la(Er,zr);nt={mode:zr,lastCritical:Er,lastLocation:En.source,lastCombine:null},We.add(function(){_a("onDragStart",function(){return va(Q().onDragStart,En,me,ue.onDragStart)})})},nr=function(Er,zr){var En=pr(zr),jn=Rr(zr);nt||Ce(!1);var pi=!Oa(Er,nt.lastCritical);pi&&(nt.lastCritical=Er);var Yn=!Si(nt.lastLocation,En);Yn&&(nt.lastLocation=En);var Ji=!Hi(nt.lastCombine,jn);if(Ji&&(nt.lastCombine=jn),!pi&&!Yn&&!Ji)return;var Ei=Object(m.a)({},la(Er,nt.mode),{combine:jn,destination:En});We.add(function(){_a("onDragUpdate",function(){return va(Q().onDragUpdate,Ei,me,ue.onDragUpdate)})})},yr=function(){nt||Ce(!1),We.flush()},rr=function(Er){nt||Ce(!1),nt=null,_a("onDragEnd",function(){return va(Q().onDragEnd,Er,me,ue.onDragEnd)})},qt=function(){if(!nt)return;var Er=Object(m.a)({},la(nt.lastCritical,nt.mode),{combine:null,destination:null,reason:"CANCEL"});rr(Er)};return{beforeCapture:Et,beforeStart:Rt,start:Mt,update:nr,flush:yr,drop:rr,abort:qt}},Xa=function(Q,me){var We=Ma(Q,me);return function(nt){return function(Et){return function(Rt){if(Rt.type==="BEFORE_INITIAL_CAPTURE"){We.beforeCapture(Rt.payload.draggableId,Rt.payload.movementMode);return}if(Rt.type==="INITIAL_PUBLISH"){var Mt=Rt.payload.critical;We.beforeStart(Mt,Rt.payload.movementMode),Et(Rt),We.start(Mt,Rt.payload.movementMode);return}if(Rt.type==="DROP_COMPLETE"){var nr=Rt.payload.completed.result;We.flush(),Et(Rt),We.drop(nr);return}if(Et(Rt),Rt.type==="FLUSH"){We.abort();return}var yr=nt.getState();yr.phase==="DRAGGING"&&We.update(yr.critical,yr.impact)}}}},co=function(Q){return function(me){return function(We){if(We.type!=="DROP_ANIMATION_FINISHED"){me(We);return}var nt=Q.getState();nt.phase==="DROP_ANIMATING"||Ce(!1),Q.dispatch(on({completed:nt.completed}))}}},so=function(Q){var me=null,We=null;function nt(){We&&(cancelAnimationFrame(We),We=null),me&&(me(),me=null)}return function(Et){return function(Rt){if((Rt.type==="FLUSH"||Rt.type==="DROP_COMPLETE"||Rt.type==="DROP_ANIMATION_FINISHED")&&nt(),Et(Rt),Rt.type!=="DROP_ANIMATE")return;var Mt={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var yr=Q.getState();yr.phase==="DROP_ANIMATING"&&Q.dispatch(an())}};We=requestAnimationFrame(function(){We=null,me=ge(window,[Mt])})}}},Ao=function(Q){return function(){return function(me){return function(We){(We.type==="DROP_COMPLETE"||We.type==="FLUSH"||We.type==="DROP_ANIMATE")&&Q.stopPublishing(),me(We)}}}},io=function(Q){var me=!1;return function(){return function(We){return function(nt){if(nt.type==="INITIAL_PUBLISH"){me=!0,Q.tryRecordFocus(nt.payload.critical.draggable.id),We(nt),Q.tryRestoreFocusRecorded();return}if(We(nt),!me)return;if(nt.type==="FLUSH"){me=!1,Q.tryRestoreFocusRecorded();return}if(nt.type==="DROP_COMPLETE"){me=!1;var Et=nt.payload.completed.result;Et.combine&&Q.tryShiftRecord(Et.draggableId,Et.combine.draggableId),Q.tryRestoreFocusRecorded()}}}}},pa=function(Q){return Q.type==="DROP_COMPLETE"||Q.type==="DROP_ANIMATE"||Q.type==="FLUSH"},ga=function(Q){return function(me){return function(We){return function(nt){if(pa(nt)){Q.stop(),We(nt);return}if(nt.type==="INITIAL_PUBLISH"){We(nt);var Et=me.getState();Et.phase==="DRAGGING"||Ce(!1),Q.start(Et);return}We(nt),Q.scroll(me.getState())}}}},ba=function(Q){return function(me){return function(We){if(me(We),We.type!=="PUBLISH_WHILE_DRAGGING")return;var nt=Q.getState();if(nt.phase!=="DROP_PENDING")return;if(nt.isWaiting)return;Q.dispatch(Cn({reason:nt.reason}))}}},Oi=g.d,Fa=function(Q){var me=Q.dimensionMarshal,We=Q.focusMarshal,nt=Q.styleMarshal,Et=Q.getResponders,Rt=Q.announce,Mt=Q.autoScroller;return Object(g.e)(Ui,Oi(Object(g.a)(Ln(nt),Ao(me),vn(me),Ea,co,so,ba,ga(Mt),xi,io(We),Xa(Et,Rt))))},vo=function(){return{additions:{},removals:{},modified:{}}};function os(Oe){var Q=Oe.registry,me=Oe.callbacks,We=vo(),nt=null,Et=function(){if(nt)return;me.collectionStarting(),nt=requestAnimationFrame(function(){nt=null,Zn();var rr=We,qt=rr.additions,hr=rr.removals,Er=rr.modified,zr=Object.keys(qt).map(function(pi){return Q.draggable.getById(pi).getDimension(Ne)}).sort(function(pi,Yn){return pi.descriptor.index-Yn.descriptor.index}),En=Object.keys(Er).map(function(pi){var Yn=Q.droppable.getById(pi),Ji=Yn.callbacks.getScrollWhileDragging();return{droppableId:pi,scroll:Ji}}),jn={additions:zr,removals:Object.keys(hr),modified:En};We=vo(),vi(),me.publish(jn)})},Rt=function(rr){var qt=rr.descriptor.id;We.additions[qt]=rr,We.modified[rr.descriptor.droppableId]=!0,We.removals[qt]&&delete We.removals[qt],Et()},Mt=function(rr){var qt=rr.descriptor;We.removals[qt.id]=!0,We.modified[qt.droppableId]=!0,We.additions[qt.id]&&delete We.additions[qt.id],Et()},nr=function(){if(!nt)return;cancelAnimationFrame(nt),nt=null,We=vo()};return{add:Rt,remove:Mt,stop:nr}}var Va=function(Q){var me=Q.scrollHeight,We=Q.scrollWidth,nt=Q.height,Et=Q.width,Rt=ae({x:We,y:me},{x:Et,y:nt}),Mt={x:Math.max(0,Rt.x),y:Math.max(0,Rt.y)};return Mt},ao=function(){var Q=document.documentElement;return Q||Ce(!1),Q},Ga=function(){var Q=ao(),me=Va({scrollHeight:Q.scrollHeight,scrollWidth:Q.scrollWidth,width:Q.clientWidth,height:Q.clientHeight});return me},yo=function(){var Q=ca(),me=Ga(),We=Q.y,nt=Q.x,Et=ao(),Rt=Et.clientWidth,Mt=Et.clientHeight,nr=nt+Rt,yr=We+Mt,rr=r({top:We,left:nt,right:nr,bottom:yr}),qt={frame:rr,scroll:{initial:Q,current:Q,max:me,diff:{value:Ne,displacement:Ne}}};return qt},fo=function(Q){var me=Q.critical,We=Q.scrollOptions,nt=Q.registry;Zn();var Et=yo(),Rt=Et.scroll.current,Mt=me.droppable,nr=nt.droppable.getAllByType(Mt.type).map(function(hr){return hr.callbacks.getDimensionAndWatchScroll(Rt,We)}),yr=nt.draggable.getAllByType(me.draggable.type).map(function(hr){return hr.getDimension(Rt)}),rr={draggables:tt(yr),droppables:bt(nr)};vi();var qt={dimensions:rr,critical:me,viewport:Et};return qt};function es(Oe,Q,me){if(me.descriptor.id===Q.id)return!1;if(me.descriptor.type!==Q.type)return!1;var We=Oe.droppable.getById(me.descriptor.droppableId);return!(We.descriptor.mode!=="virtual")}var To=function(Q,me){var We=null,nt=os({callbacks:{publish:me.publishWhileDragging,collectionStarting:me.collectionStarting},registry:Q}),Et=function(zr,En){if(Q.droppable.exists(zr)||Ce(!1),!We)return;me.updateDroppableIsEnabled({id:zr,isEnabled:En})},Rt=function(zr,En){if(!We)return;Q.droppable.exists(zr)||Ce(!1),me.updateDroppableIsCombineEnabled({id:zr,isCombineEnabled:En})},Mt=function(zr,En){if(!We)return;Q.droppable.exists(zr)||Ce(!1),me.updateDroppableScroll({id:zr,newScroll:En})},nr=function(zr,En){if(!We)return;Q.droppable.getById(zr).callbacks.scroll(En)},yr=function(){if(!We)return;nt.stop();var zr=We.critical.droppable;Q.droppable.getAllByType(zr.type).forEach(function(En){return En.callbacks.dragStopped()}),We.unsubscribe(),We=null},rr=function(zr){We||Ce(!1);var En=We.critical.draggable;zr.type==="ADDITION"&&(es(Q,En,zr.value)&&nt.add(zr.value)),zr.type==="REMOVAL"&&(es(Q,En,zr.value)&&nt.remove(zr.value))},qt=function(zr){We&&Ce(!1);var En=Q.draggable.getById(zr.draggableId),jn=Q.droppable.getById(En.descriptor.droppableId),pi={draggable:En.descriptor,droppable:jn.descriptor},Yn=Q.subscribe(rr);return We={critical:pi,unsubscribe:Yn},fo({critical:pi,registry:Q,scrollOptions:zr.scrollOptions})},hr={updateDroppableIsEnabled:Et,updateDroppableIsCombineEnabled:Rt,scrollDroppable:nr,updateDroppableScroll:Mt,startPublishing:qt,stopPublishing:yr};return hr},po=function(Q,me){return Q.phase==="IDLE"?!0:Q.phase!=="DROP_ANIMATING"||Q.completed.result.draggableId===me?!1:Q.completed.result.reason==="DROP"},Io=function(Q){window.scrollBy(Q.x,Q.y)},zo=L(function(Oe){return Tt(Oe).filter(function(Q){return Q.isEnabled?!!Q.frame:!1})}),ns=function(Q,me){var We=re(zo(me),function(nt){return nt.frame||Ce(!1),Mn(nt.frame.pageMarginBox)(Q)});return We},Po=function(Q){var me=Q.center,We=Q.destination,nt=Q.droppables;if(We){var Et=nt[We];return Et.frame?Et:null}var Rt=ns(me,nt);return Rt},Aa={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(Q){return Math.pow(Q,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Ja=function(Q,me){var We=Q[me.size]*Aa.startFromPercentage,nt=Q[me.size]*Aa.maxScrollAtPercentage,Et={startScrollingFrom:We,maxScrollValueAt:nt};return Et},Ba=function(Q){var me=Q.startOfRange,We=Q.endOfRange,nt=Q.current,Et=We-me;if(Et===0)return 0;var Rt=nt-me,Mt=Rt/Et;return Mt},$i=1,uo=function(Q,me){if(Q>me.startScrollingFrom)return 0;if(Q<=me.maxScrollValueAt)return Aa.maxPixelScroll;if(Q===me.startScrollingFrom)return $i;var We=Ba({startOfRange:me.maxScrollValueAt,endOfRange:me.startScrollingFrom,current:Q}),nt=1-We,Et=Aa.maxPixelScroll*Aa.ease(nt);return Math.ceil(Et)},Ha=Aa.durationDampening.accelerateAt,Yi=Aa.durationDampening.stopDampeningAt,Qa=function(Q,me){var We=me,nt=Yi,Et=Date.now(),Rt=Et-We;if(Rt>=Yi)return Q;if(Rt<Ha)return $i;var Mt=Ba({startOfRange:Ha,endOfRange:nt,current:Rt}),nr=Q*Aa.ease(Mt);return Math.ceil(nr)},Mo=function(Q){var me=Q.distanceToEdge,We=Q.thresholds,nt=Q.dragStartTime,Et=Q.shouldUseTimeDampening,Rt=uo(me,We);return Rt===0?0:Et?Math.max(Qa(Rt,nt),$i):Rt},Qo=function(Q){var me=Q.container,We=Q.distanceToEdges,nt=Q.dragStartTime,Et=Q.axis,Rt=Q.shouldUseTimeDampening,Mt=Ja(me,Et),nr=We[Et.end]<We[Et.start];return nr?Mo({distanceToEdge:We[Et.end],thresholds:Mt,dragStartTime:nt,shouldUseTimeDampening:Rt}):-1*Mo({distanceToEdge:We[Et.start],thresholds:Mt,dragStartTime:nt,shouldUseTimeDampening:Rt})},Jo=function(Q){var me=Q.container,We=Q.subject,nt=Q.proposedScroll,Et=We.height>me.height,Rt=We.width>me.width;return!Rt&&!Et?nt:Rt&&Et?null:{x:Rt?0:nt.x,y:Et?0:nt.y}},ua=Ee(function(Oe){return Oe===0?0:Oe}),Ya=function(Q){var me=Q.dragStartTime,We=Q.container,nt=Q.subject,Et=Q.center,Rt=Q.shouldUseTimeDampening,Mt={top:Et.y-We.top,right:We.right-Et.x,bottom:We.bottom-Et.y,left:Et.x-We.left},nr=Qo({container:We,distanceToEdges:Mt,dragStartTime:me,axis:Tr,shouldUseTimeDampening:Rt}),yr=Qo({container:We,distanceToEdges:Mt,dragStartTime:me,axis:fr,shouldUseTimeDampening:Rt}),rr=ua({x:yr,y:nr});if(ce(rr,Ne))return null;var qt=Jo({container:We,subject:nt,proposedScroll:rr});return qt?ce(qt,Ne)?null:qt:null},lo=Ee(function(Oe){return Oe===0?0:Oe>0?1:-1}),Ci=function(){var Oe=function(me,We){return me<0?me:me>We?me-We:0};return function(Q){var me=Q.current,We=Q.max,nt=Q.change,Et=Fe(me,nt),Rt={x:Oe(Et.x,We.x),y:Oe(Et.y,We.y)};return ce(Rt,Ne)?null:Rt}}(),Sa=function(Q){var me=Q.max,We=Q.current,nt=Q.change,Et={x:Math.max(We.x,me.x),y:Math.max(We.y,me.y)},Rt=lo(nt),Mt=Ci({max:Et,current:We,change:Rt});return Mt?Rt.x!==0&&Mt.x===0?!0:Rt.y!==0&&Mt.y===0:!0},bo=function(Q,me){return Sa({current:Q.scroll.current,max:Q.scroll.max,change:me})},Fo=function(Q,me){if(!bo(Q,me))return null;var We=Q.scroll.max,nt=Q.scroll.current;return Ci({current:nt,max:We,change:me})},Oo=function(Q,me){var We=Q.frame;return We?Sa({current:We.scroll.current,max:We.scroll.max,change:me}):!1},gs=function(Q,me){var We=Q.frame;return We&&Oo(Q,me)?Ci({current:We.scroll.current,max:We.scroll.max,change:me}):null},ds=function(Q){var me=Q.viewport,We=Q.subject,nt=Q.center,Et=Q.dragStartTime,Rt=Q.shouldUseTimeDampening,Mt=Ya({dragStartTime:Et,container:me.frame,subject:We,center:nt,shouldUseTimeDampening:Rt});return Mt&&bo(me,Mt)?Mt:null},hs=function(Q){var me=Q.droppable,We=Q.subject,nt=Q.center,Et=Q.dragStartTime,Rt=Q.shouldUseTimeDampening,Mt=me.frame;if(!Mt)return null;var nr=Ya({dragStartTime:Et,container:Mt.pageMarginBox,subject:We,center:nt,shouldUseTimeDampening:Rt});return nr&&Oo(me,nr)?nr:null},ss=function(Q){var me=Q.state,We=Q.dragStartTime,nt=Q.shouldUseTimeDampening,Et=Q.scrollWindow,Rt=Q.scrollDroppable,Mt=me.current.page.borderBoxCenter,nr=me.dimensions.draggables[me.critical.draggable.id],yr=nr.page.marginBox;if(me.isWindowScrollAllowed){var rr=me.viewport,qt=ds({dragStartTime:We,viewport:rr,subject:yr,center:Mt,shouldUseTimeDampening:nt});if(qt){Et(qt);return}}var hr=Po({center:Mt,destination:ln(me.impact),droppables:me.dimensions.droppables});if(!hr)return;var Er=hs({dragStartTime:We,droppable:hr,subject:yr,center:Mt,shouldUseTimeDampening:nt});Er&&Rt(hr.descriptor.id,Er)},$a=function(Q){var me=Q.scrollWindow,We=Q.scrollDroppable,nt=k(me),Et=k(We),Rt=null,Mt=function(qt){Rt||Ce(!1);var hr=Rt,Er=hr.shouldUseTimeDampening,zr=hr.dragStartTime;ss({state:qt,scrollWindow:nt,scrollDroppable:Et,dragStartTime:zr,shouldUseTimeDampening:Er})},nr=function(qt){Zn(),Rt&&Ce(!1);var hr=Date.now(),Er=!1,zr=function(){Er=!0};ss({state:qt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:zr,scrollDroppable:zr}),Rt={dragStartTime:hr,shouldUseTimeDampening:Er},vi(),Er&&Mt(qt)},yr=function(){if(!Rt)return;nt.cancel(),Et.cancel(),Rt=null};return{start:nr,stop:yr,scroll:Mt}},Na=function(Q){var me=Q.move,We=Q.scrollDroppable,nt=Q.scrollWindow,Et=function(rr,qt){var hr=Fe(rr.current.client.selection,qt);me({client:hr})},Rt=function(rr,qt){if(!Oo(rr,qt))return qt;var hr=gs(rr,qt);if(!hr)return We(rr.descriptor.id,qt),null;var Er=ae(qt,hr);We(rr.descriptor.id,Er);var zr=ae(qt,Er);return zr},Mt=function(rr,qt,hr){if(!rr)return hr;if(!bo(qt,hr))return hr;var Er=Fo(qt,hr);if(!Er)return nt(hr),null;var zr=ae(hr,Er);nt(zr);var En=ae(hr,zr);return En},nr=function(rr){var qt=rr.scrollJumpRequest;if(!qt)return;var hr=ln(rr.impact);hr||Ce(!1);var Er=Rt(rr.dimensions.droppables[hr],qt);if(!Er)return;var zr=rr.viewport,En=Mt(rr.isWindowScrollAllowed,zr,Er);if(!En)return;Et(rr,En)};return nr},Vo=function(Q){var me=Q.scrollDroppable,We=Q.scrollWindow,nt=Q.move,Et=$a({scrollWindow:We,scrollDroppable:me}),Rt=Na({move:nt,scrollWindow:We,scrollDroppable:me}),Mt=function(rr){if(rr.phase!=="DRAGGING")return;if(rr.movementMode==="FLUID"){Et.scroll(rr);return}if(!rr.scrollJumpRequest)return;Rt(rr)},nr={scroll:Mt,start:Et.start,stop:Et.stop};return nr},Zo="data-rbd",Da=function(){var Oe=Zo+"-drag-handle";return{base:Oe,draggableId:Oe+"-draggable-id",contextId:Oe+"-context-id"}}(),Ka=function(){var Oe=Zo+"-draggable";return{base:Oe,contextId:Oe+"-context-id",id:Oe+"-id"}}(),Pa=function(){var Oe=Zo+"-droppable";return{base:Oe,contextId:Oe+"-context-id",id:Oe+"-id"}}(),Xo={contextId:Zo+"-scroll-container-context-id"},Uo=function(Q){return function(me){return"["+me+'="'+Q+'"]'}},Lo=function(Q,me){return Q.map(function(We){var nt=We.styles[me];return nt?We.selector+" { "+nt+" }":""}).join(" ")},Yo="pointer-events: none;",Ko=function(Q){var me=Uo(Q),We=function(){var nr=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:me(Da.contextId),styles:{always:`
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
touch-action: manipulation;
|
|
|
`,resting:nr,dragging:Yo,dropAnimating:nr}}}(),nt=function(){var nr=`
|
|
|
transition: `+Pn.outOfTheWay+`;
|
|
|
`;return{selector:me(Ka.contextId),styles:{dragging:nr,dropAnimating:nr,userCancel:nr}}}(),Et={selector:me(Pa.contextId),styles:{always:"overflow-anchor: none;"}},Rt={selector:"body",styles:{dragging:`
|
|
|
cursor: grabbing;
|
|
|
cursor: -webkit-grabbing;
|
|
|
user-select: none;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
overflow-anchor: none;
|
|
|
`}},Mt=[nt,We,Et,Rt];return{always:Lo(Mt,"always"),resting:Lo(Mt,"resting"),dragging:Lo(Mt,"dragging"),dropAnimating:Lo(Mt,"dropAnimating"),userCancel:Lo(Mt,"userCancel")}},jo=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?w.useLayoutEffect:w.useEffect,Or=function(){var Q=document.querySelector("head");return Q||Ce(!1),Q},ui=function(Q){var me=document.createElement("style");return Q&&me.setAttribute("nonce",Q),me.type="text/css",me};function vs(Oe,Q){var me=e(function(){return Ko(Oe)},[Oe]),We=Object(w.useRef)(null),nt=Object(w.useRef)(null),Et=n(L(function(qt){var hr=nt.current;hr||Ce(!1),hr.textContent=qt}),[]),Rt=n(function(qt){var hr=We.current;hr||Ce(!1),hr.textContent=qt},[]);jo(function(){!We.current&&!nt.current||Ce(!1);var qt=ui(Q),hr=ui(Q);return We.current=qt,nt.current=hr,qt.setAttribute(Zo+"-always",Oe),hr.setAttribute(Zo+"-dynamic",Oe),Or().appendChild(qt),Or().appendChild(hr),Rt(me.always),Et(me.resting),function(){var Er=function(En){var jn=En.current;jn||Ce(!1),Or().removeChild(jn),En.current=null};Er(We),Er(nt)}},[Q,Rt,Et,me.always,me.resting,Oe]);var Mt=n(function(){return Et(me.dragging)},[Et,me.dragging]),nr=n(function(qt){if(qt==="DROP"){Et(me.dropAnimating);return}Et(me.userCancel)},[Et,me.dropAnimating,me.userCancel]),yr=n(function(){if(!nt.current)return;Et(me.resting)},[Et,me.resting]),rr=e(function(){return{dragging:Mt,dropping:nr,resting:yr}},[Mt,nr,yr]);return rr}var rl=function(Q){return Q&&Q.ownerDocument?Q.ownerDocument.defaultView:window};function Ps(Oe){return Oe instanceof rl(Oe).HTMLElement}function Ks(Oe,Q){var me="["+Da.contextId+'="'+Oe+'"]',We=ot(document.querySelectorAll(me));if(!We.length)return null;var nt=re(We,function(Et){return Et.getAttribute(Da.draggableId)===Q});return nt&&Ps(nt)?nt:null}function sl(Oe){var Q=Object(w.useRef)({}),me=Object(w.useRef)(null),We=Object(w.useRef)(null),nt=Object(w.useRef)(!1),Et=n(function(hr,Er){var zr={id:hr,focus:Er};return Q.current[hr]=zr,function(){var jn=Q.current,pi=jn[hr];pi!==zr&&delete jn[hr]}},[]),Rt=n(function(hr){var Er=Ks(Oe,hr);Er&&Er!==document.activeElement&&Er.focus()},[Oe]),Mt=n(function(hr,Er){me.current===hr&&(me.current=Er)},[]),nr=n(function(){if(We.current)return;if(!nt.current)return;We.current=requestAnimationFrame(function(){We.current=null;var hr=me.current;hr&&Rt(hr)})},[Rt]),yr=n(function(hr){me.current=null;var Er=document.activeElement;if(!Er)return;if(Er.getAttribute(Da.draggableId)!==hr)return;me.current=hr},[]);jo(function(){return nt.current=!0,function(){nt.current=!1;var hr=We.current;hr&&cancelAnimationFrame(hr)}},[]);var rr=e(function(){return{register:Et,tryRecordFocus:yr,tryRestoreFocusRecorded:nr,tryShiftRecord:Mt}},[Et,yr,nr,Mt]);return rr}function xs(){var Oe={draggables:{},droppables:{}},Q=[];function me(qt){return Q.push(qt),function(){var Er=Q.indexOf(qt);if(Er===-1)return;Q.splice(Er,1)}}function We(qt){Q.length&&Q.forEach(function(hr){return hr(qt)})}function nt(qt){return Oe.draggables[qt]||null}function Et(qt){var hr=nt(qt);return hr||Ce(!1),hr}var Rt={register:function(hr){Oe.draggables[hr.descriptor.id]=hr,We({type:"ADDITION",value:hr})},update:function(hr,Er){var zr=Oe.draggables[Er.descriptor.id];if(!zr)return;if(zr.uniqueId!==hr.uniqueId)return;delete Oe.draggables[Er.descriptor.id],Oe.draggables[hr.descriptor.id]=hr},unregister:function(hr){var Er=hr.descriptor.id,zr=nt(Er);if(!zr)return;if(hr.uniqueId!==zr.uniqueId)return;delete Oe.draggables[Er],We({type:"REMOVAL",value:hr})},getById:Et,findById:nt,exists:function(hr){return Boolean(nt(hr))},getAllByType:function(hr){return Ae(Oe.draggables).filter(function(Er){return Er.descriptor.type===hr})}};function Mt(qt){return Oe.droppables[qt]||null}function nr(qt){var hr=Mt(qt);return hr||Ce(!1),hr}var yr={register:function(hr){Oe.droppables[hr.descriptor.id]=hr},unregister:function(hr){var Er=Mt(hr.descriptor.id);if(!Er)return;if(hr.uniqueId!==Er.uniqueId)return;delete Oe.droppables[hr.descriptor.id]},getById:nr,findById:Mt,exists:function(hr){return Boolean(Mt(hr))},getAllByType:function(hr){return Ae(Oe.droppables).filter(function(Er){return Er.descriptor.type===hr})}};function rr(){Oe.draggables={},Oe.droppables={},Q.length=0}return{draggable:Rt,droppable:yr,subscribe:me,clean:rr}}function Ls(){var Oe=e(xs,[]);return Object(w.useEffect)(function(){return function(){requestAnimationFrame(Oe.clean)}},[Oe]),Oe}var Xs=f.a.createContext(null),Es=function(){var Q=document.body;return Q||Ce(!1),Q},_s={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},pl=function(Q){return"rbd-announcement-"+Q};function Gs(Oe){var Q=e(function(){return pl(Oe)},[Oe]),me=Object(w.useRef)(null);Object(w.useEffect)(function(){var Et=document.createElement("div");return me.current=Et,Et.id=Q,Et.setAttribute("aria-live","assertive"),Et.setAttribute("aria-atomic","true"),Object(m.a)(Et.style,_s),Es().appendChild(Et),function(){setTimeout(function(){var nr=Es();nr.contains(Et)&&nr.removeChild(Et),Et===me.current&&(me.current=null)})}},[Q]);var We=n(function(nt){var Et=me.current;if(Et){Et.textContent=nt;return}},[]);return We}var ro=0,eo={separator:"::"};function ho(){ro=0}function yt(Oe,Q){return Q===void 0&&(Q=eo),e(function(){return""+Oe+Q.separator+ro++},[Q.separator,Oe])}function Lt(Oe){var Q=Oe.contextId,me=Oe.uniqueId;return"rbd-hidden-text-"+Q+"-"+me}function Pr(Oe){var Q=Oe.contextId,me=Oe.text,We=yt("hidden-text",{separator:"-"}),nt=e(function(){return Lt({contextId:Q,uniqueId:We})},[We,Q]);return Object(w.useEffect)(function(){var Rt=document.createElement("div");return Rt.id=nt,Rt.textContent=me,Rt.style.display="none",Es().appendChild(Rt),function(){var nr=Es();nr.contains(Rt)&&nr.removeChild(Rt)}},[nt,me]),nt}var pn=f.a.createContext(null),Rn={react:"^16.8.5","react-dom":"^16.8.5"},dt=/(\d+)\.(\d+)\.(\d+)/,ie=function(Q){var me=dt.exec(Q);me!=null||Ce(!1);var We=Number(me[1]),nt=Number(me[2]),Et=Number(me[3]);return{major:We,minor:nt,patch:Et,raw:Q}},pe=function(Q,me){return me.major>Q.major?!0:me.major<Q.major?!1:me.minor>Q.minor?!0:me.minor<Q.minor?!1:me.patch>=Q.patch},we=function(Q,me){var We=ie(Q),nt=ie(me);if(pe(We,nt))return},Ke=`
|
|
|
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
|
|
|
`,ut=function(Q){var me=Q.doctype;if(!me)return;me.name.toLowerCase()!=="html",me.publicId!==""};function Pt(Oe){}function ar(Oe,Q){Pt(function(){Object(w.useEffect)(function(){try{Oe()}catch(me){$(`
|
|
|
A setup problem was encountered.
|
|
|
|
|
|
> `+me.message+`
|
|
|
`)}},Q)})}function wr(){ar(function(){we(Rn.react,f.a.version),ut(document)},[])}function jr(Oe){var Q=Object(w.useRef)(Oe);return Object(w.useEffect)(function(){Q.current=Oe}),Q}function hn(){var Oe=null;function Q(){return Boolean(Oe)}function me(Rt){return Rt===Oe}function We(Rt){Oe&&Ce(!1);var Mt={abandon:Rt};return Oe=Mt,Mt}function nt(){Oe||Ce(!1),Oe=null}function Et(){Oe&&(Oe.abandon(),nt())}return{isClaimed:Q,isActive:me,claim:We,release:nt,tryAbandon:Et}}var Tn=9,ti=13,Ai=27,Ti=32,Wi=33,na=34,Ua=35,Za=36,to=37,No=38,oo=39,Do=40,Wa,Ro=(Wa={},Wa[ti]=!0,Wa[Tn]=!0,Wa),ls=function(Q){Ro[Q.keyCode]&&Q.preventDefault()},wo=function(){var Oe="visibilitychange";if(typeof document=="undefined")return Oe;var Q=[Oe,"ms"+Oe,"webkit"+Oe,"moz"+Oe,"o"+Oe],me=re(Q,function(We){return"on"+We in document});return me||Oe}(),So=0,fs=5;function Cs(Oe,Q){return Math.abs(Q.x-Oe.x)>=fs||Math.abs(Q.y-Oe.y)>=fs}var qo={type:"IDLE"};function xo(Oe){var Q=Oe.cancel,me=Oe.completed,We=Oe.getPhase,nt=Oe.setPhase;return[{eventName:"mousemove",fn:function(Rt){var Mt=Rt.button,nr=Rt.clientX,yr=Rt.clientY;if(Mt!==So)return;var rr={x:nr,y:yr},qt=We();if(qt.type==="DRAGGING"){Rt.preventDefault(),qt.actions.move(rr);return}qt.type==="PENDING"||Ce(!1);var hr=qt.point;if(!Cs(hr,rr))return;Rt.preventDefault();var Er=qt.actions.fluidLift(rr);nt({type:"DRAGGING",actions:Er})}},{eventName:"mouseup",fn:function(Rt){var Mt=We();if(Mt.type!=="DRAGGING"){Q();return}Rt.preventDefault(),Mt.actions.drop({shouldBlockNextClick:!0}),me()}},{eventName:"mousedown",fn:function(Rt){We().type==="DRAGGING"&&Rt.preventDefault(),Q()}},{eventName:"keydown",fn:function(Rt){var Mt=We();if(Mt.type==="PENDING"){Q();return}if(Rt.keyCode===Ai){Rt.preventDefault(),Q();return}ls(Rt)}},{eventName:"resize",fn:Q},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){We().type==="PENDING"&&Q()}},{eventName:"webkitmouseforcedown",fn:function(Rt){var Mt=We();if(Mt.type!=="IDLE"||Ce(!1),Mt.actions.shouldRespectForcePress()){Q();return}Rt.preventDefault()}},{eventName:wo,fn:Q}]}function Ws(Oe){var Q=Object(w.useRef)(qo),me=Object(w.useRef)(ne),We=e(function(){return{eventName:"mousedown",fn:function(qt){if(qt.defaultPrevented)return;if(qt.button!==So)return;if(qt.ctrlKey||qt.metaKey||qt.shiftKey||qt.altKey)return;var hr=Oe.findClosestDraggableId(qt);if(!hr)return;var Er=Oe.tryGetLock(hr,Rt,{sourceEvent:qt});if(!Er)return;qt.preventDefault();var zr={x:qt.clientX,y:qt.clientY};me.current(),yr(Er,zr)}}},[Oe]),nt=e(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(qt){if(qt.defaultPrevented)return;var hr=Oe.findClosestDraggableId(qt);if(!hr)return;var Er=Oe.findOptionsForDraggable(hr);if(!Er)return;if(Er.shouldRespectForcePress)return;if(!Oe.canGetLock(hr))return;qt.preventDefault()}}},[Oe]),Et=n(function(){var qt={passive:!1,capture:!0};me.current=ge(window,[nt,We],qt)},[nt,We]),Rt=n(function(){var rr=Q.current;if(rr.type==="IDLE")return;Q.current=qo,me.current(),Et()},[Et]),Mt=n(function(){var rr=Q.current;Rt(),rr.type==="DRAGGING"&&rr.actions.cancel({shouldBlockNextClick:!0}),rr.type==="PENDING"&&rr.actions.abort()},[Rt]),nr=n(function(){var qt={capture:!0,passive:!1},hr=xo({cancel:Mt,completed:Rt,getPhase:function(){return Q.current},setPhase:function(zr){Q.current=zr}});me.current=ge(window,hr,qt)},[Mt,Rt]),yr=n(function(qt,hr){Q.current.type==="IDLE"||Ce(!1),Q.current={type:"PENDING",point:hr,actions:qt},nr()},[nr]);jo(function(){return Et(),function(){me.current()}},[Et])}var ps;function ll(){}var cl=(ps={},ps[na]=!0,ps[Wi]=!0,ps[Za]=!0,ps[Ua]=!0,ps);function Ts(Oe,Q){function me(){Q(),Oe.cancel()}function We(){Q(),Oe.drop()}return[{eventName:"keydown",fn:function(Et){if(Et.keyCode===Ai){Et.preventDefault(),me();return}if(Et.keyCode===Ti){Et.preventDefault(),We();return}if(Et.keyCode===Do){Et.preventDefault(),Oe.moveDown();return}if(Et.keyCode===No){Et.preventDefault(),Oe.moveUp();return}if(Et.keyCode===oo){Et.preventDefault(),Oe.moveRight();return}if(Et.keyCode===to){Et.preventDefault(),Oe.moveLeft();return}if(cl[Et.keyCode]){Et.preventDefault();return}ls(Et)}},{eventName:"mousedown",fn:me},{eventName:"mouseup",fn:me},{eventName:"click",fn:me},{eventName:"touchstart",fn:me},{eventName:"resize",fn:me},{eventName:"wheel",fn:me,options:{passive:!0}},{eventName:wo,fn:me}]}function ko(Oe){var Q=Object(w.useRef)(ll),me=e(function(){return{eventName:"keydown",fn:function(Et){if(Et.defaultPrevented)return;if(Et.keyCode!==Ti)return;var Rt=Oe.findClosestDraggableId(Et);if(!Rt)return;var Mt=Oe.tryGetLock(Rt,rr,{sourceEvent:Et});if(!Mt)return;Et.preventDefault();var nr=!0,yr=Mt.snapLift();Q.current();function rr(){nr||Ce(!1),nr=!1,Q.current(),We()}Q.current=ge(window,Ts(yr,rr),{capture:!0,passive:!1})}}},[Oe]),We=n(function(){var Et={passive:!1,capture:!0};Q.current=ge(window,[me],Et)},[me]);jo(function(){return We(),function(){Q.current()}},[We])}var Ki={type:"IDLE"},zs=120,nl=.15;function Ss(Oe){var Q=Oe.cancel,me=Oe.getPhase;return[{eventName:"orientationchange",fn:Q},{eventName:"resize",fn:Q},{eventName:"contextmenu",fn:function(nt){nt.preventDefault()}},{eventName:"keydown",fn:function(nt){if(me().type!=="DRAGGING"){Q();return}nt.keyCode===Ai&&nt.preventDefault(),Q()}},{eventName:wo,fn:Q}]}function ts(Oe){var Q=Oe.cancel,me=Oe.completed,We=Oe.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Et){var Rt=We();if(Rt.type!=="DRAGGING"){Q();return}Rt.hasMoved=!0;var Mt=Et.touches[0],nr=Mt.clientX,yr=Mt.clientY,rr={x:nr,y:yr};Et.preventDefault(),Rt.actions.move(rr)}},{eventName:"touchend",fn:function(Et){var Rt=We();if(Rt.type!=="DRAGGING"){Q();return}Et.preventDefault(),Rt.actions.drop({shouldBlockNextClick:!0}),me()}},{eventName:"touchcancel",fn:function(Et){if(We().type!=="DRAGGING"){Q();return}Et.preventDefault(),Q()}},{eventName:"touchforcechange",fn:function(Et){var Rt=We();Rt.type!=="IDLE"||Ce(!1);var Mt=Et.touches[0];if(!Mt)return;var nr=Mt.force>=nl;if(!nr)return;var yr=Rt.actions.shouldRespectForcePress();if(Rt.type==="PENDING"){yr&&Q();return}if(yr){if(Rt.hasMoved){Et.preventDefault();return}Q();return}Et.preventDefault()}},{eventName:wo,fn:Q}]}function ml(Oe){var Q=Object(w.useRef)(Ki),me=Object(w.useRef)(ne),We=n(function(){return Q.current},[]),nt=n(function(Er){Q.current=Er},[]),Et=e(function(){return{eventName:"touchstart",fn:function(Er){if(Er.defaultPrevented)return;var zr=Oe.findClosestDraggableId(Er);if(!zr)return;var En=Oe.tryGetLock(zr,Mt,{sourceEvent:Er});if(!En)return;var jn=Er.touches[0],pi=jn.clientX,Yn=jn.clientY,Ji={x:pi,y:Yn};me.current(),qt(En,Ji)}}},[Oe]),Rt=n(function(){var Er={capture:!0,passive:!1};me.current=ge(window,[Et],Er)},[Et]),Mt=n(function(){var hr=Q.current;if(hr.type==="IDLE")return;hr.type==="PENDING"&&clearTimeout(hr.longPressTimerId),nt(Ki),me.current(),Rt()},[Rt,nt]),nr=n(function(){var hr=Q.current;Mt(),hr.type==="DRAGGING"&&hr.actions.cancel({shouldBlockNextClick:!0}),hr.type==="PENDING"&&hr.actions.abort()},[Mt]),yr=n(function(){var Er={capture:!0,passive:!1},zr={cancel:nr,completed:Mt,getPhase:We},En=ge(window,ts(zr),Er),jn=ge(window,Ss(zr),Er);me.current=function(){En(),jn()}},[nr,We,Mt]),rr=n(function(){var Er=We();Er.type==="PENDING"||Ce(!1);var zr=Er.actions.fluidLift(Er.point);nt({type:"DRAGGING",actions:zr,hasMoved:!1})},[We,nt]),qt=n(function(Er,zr){We().type==="IDLE"||Ce(!1);var En=setTimeout(rr,zs);nt({type:"PENDING",point:zr,actions:Er,longPressTimerId:En}),yr()},[yr,We,nt,rr]);jo(function(){return Rt(),function(){me.current();var zr=We();zr.type==="PENDING"&&(clearTimeout(zr.longPressTimerId),nt(Ki))}},[We,Rt,nt]),jo(function(){var Er=ge(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Er},[])}function il(Oe){Pt(function(){var Q=jr(Oe);ar(function(){Q.current.length===Oe.length||Ce(!1)})})}var Ns={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Us(Oe,Q){if(Q==null)return!1;var me=Boolean(Ns[Q.tagName.toLowerCase()]);if(me)return!0;var We=Q.getAttribute("contenteditable");return We==="true"||We===""?!0:Q===Oe?!1:Us(Oe,Q.parentElement)}function Ds(Oe,Q){var me=Q.target;return Ps(me)?Us(Oe,me):!1}var Rs=function(Q){return r(Q.getBoundingClientRect()).center};function ul(Oe){return Oe instanceof rl(Oe).Element}var Ms=function(){var Oe="matches";if(typeof document=="undefined")return Oe;var Q=[Oe,"msMatchesSelector","webkitMatchesSelector"],me=re(Q,function(We){return We in Element.prototype});return me||Oe}();function Qs(Oe,Q){return Oe==null?null:Oe[Ms](Q)?Oe:Qs(Oe.parentElement,Q)}function Ys(Oe,Q){return Oe.closest?Oe.closest(Q):Qs(Oe,Q)}function Js(Oe){return"["+Da.contextId+'="'+Oe+'"]'}function xa(Oe,Q){var me=Q.target;if(!ul(me))return null;var We=Js(Oe),nt=Ys(me,We);return nt&&Ps(nt)?nt:null}function Li(Oe,Q){var me=xa(Oe,Q);return me?me.getAttribute(Da.draggableId):null}function ea(Oe,Q){var me="["+Ka.contextId+'="'+Oe+'"]',We=ot(document.querySelectorAll(me)),nt=re(We,function(Et){return Et.getAttribute(Ka.id)===Q});return nt&&Ps(nt)?nt:null}function Ca(Oe){Oe.preventDefault()}function go(Oe){var Q=Oe.expected,me=Oe.phase,We=Oe.isLockActive,nt=Oe.shouldWarn;return We()?!(Q!==me):!1}function js(Oe){var Q=Oe.lockAPI,me=Oe.store,We=Oe.registry,nt=Oe.draggableId;if(Q.isClaimed())return!1;var Et=We.draggable.findById(nt);return Et&&Et.options.isEnabled?!!po(me.getState(),nt):!1}function Is(Oe){var Q=Oe.lockAPI,me=Oe.contextId,We=Oe.store,nt=Oe.registry,Et=Oe.draggableId,Rt=Oe.forceSensorStop,Mt=Oe.sourceEvent,nr=js({lockAPI:Q,store:We,registry:nt,draggableId:Et});if(!nr)return null;var yr=nt.draggable.getById(Et),rr=ea(me,yr.descriptor.id);if(!rr)return null;if(Mt&&!yr.options.canDragInteractiveElements&&Ds(rr,Mt))return null;var qt=Q.claim(Rt||ne),hr="PRE_DRAG";function Er(){return yr.options.shouldRespectForcePress}function zr(){return Q.isActive(qt)}function En(ta,oa){go({expected:ta,phase:hr,isLockActive:zr,shouldWarn:!0})&&We.dispatch(oa())}var jn=En.bind(null,"DRAGGING");function pi(ta){function oa(){Q.release(),hr="COMPLETED"}hr!=="PRE_DRAG"&&(oa(),hr==="PRE_DRAG"||Ce(!1)),We.dispatch(qi(ta.liftActionArgs)),hr="DRAGGING";function qa(O,N){if(N===void 0&&(N={shouldBlockNextClick:!1}),ta.cleanup(),N.shouldBlockNextClick){var G=ge(window,[{eventName:"click",fn:Ca,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(G)}oa(),We.dispatch(Cn({reason:O}))}return Object(m.a)({isActive:function(){return go({expected:"DRAGGING",phase:hr,isLockActive:zr,shouldWarn:!1})},shouldRespectForcePress:Er,drop:function(N){return qa("DROP",N)},cancel:function(N){return qa("CANCEL",N)}},ta.actions)}function Yn(ta){var oa=k(function(O){jn(function(){return gt({client:O})})}),qa=pi({liftActionArgs:{id:Et,clientSelection:ta,movementMode:"FLUID"},cleanup:function(){return oa.cancel()},actions:{move:oa}});return Object(m.a)({},qa,{move:oa})}function Ji(){var ta={moveUp:function(){return jn(vr)},moveRight:function(){return jn(Vr)},moveDown:function(){return jn(or)},moveLeft:function(){return jn(Kr)}};return pi({liftActionArgs:{id:Et,clientSelection:Rs(rr),movementMode:"SNAP"},cleanup:ne,actions:ta})}function Ei(){var ta=go({expected:"PRE_DRAG",phase:hr,isLockActive:zr,shouldWarn:!0});ta&&Q.release()}var da={isActive:function(){return go({expected:"PRE_DRAG",phase:hr,isLockActive:zr,shouldWarn:!1})},shouldRespectForcePress:Er,fluidLift:Yn,snapLift:Ji,abort:Ei};return da}var Vs=[Ws,ko,ml];function Zs(Oe){var Q=Oe.contextId,me=Oe.store,We=Oe.registry,nt=Oe.customSensors,Et=Oe.enableDefaultSensors,Rt=[].concat(Et?Vs:[],nt||[]),Mt=Object(w.useState)(function(){return hn()})[0],nr=n(function(Yn,Ji){Yn.isDragging&&!Ji.isDragging&&Mt.tryAbandon()},[Mt]);jo(function(){var Yn=me.getState(),Ji=me.subscribe(function(){var Ei=me.getState();nr(Yn,Ei),Yn=Ei});return Ji},[Mt,me,nr]),jo(function(){return Mt.tryAbandon},[Mt.tryAbandon]);var yr=n(function(pi){return js({lockAPI:Mt,registry:We,store:me,draggableId:pi})},[Mt,We,me]),rr=n(function(pi,Yn,Ji){return Is({lockAPI:Mt,registry:We,contextId:Q,store:me,draggableId:pi,forceSensorStop:Yn,sourceEvent:Ji&&Ji.sourceEvent?Ji.sourceEvent:null})},[Q,Mt,We,me]),qt=n(function(pi){return Li(Q,pi)},[Q]),hr=n(function(pi){var Yn=We.draggable.findById(pi);return Yn?Yn.options:null},[We.draggable]),Er=n(function(){if(!Mt.isClaimed())return;Mt.tryAbandon(),me.getState().phase!=="IDLE"&&me.dispatch(Dr())},[Mt,me]),zr=n(Mt.isClaimed,[Mt]),En=e(function(){return{canGetLock:yr,tryGetLock:rr,findClosestDraggableId:qt,findOptionsForDraggable:hr,tryReleaseLock:Er,isLockClaimed:zr}},[yr,rr,qt,hr,Er,zr]);il(Rt);for(var jn=0;jn<Rt.length;jn++)Rt[jn](En)}var gl=function(Q){return{onBeforeCapture:Q.onBeforeCapture,onBeforeDragStart:Q.onBeforeDragStart,onDragStart:Q.onDragStart,onDragEnd:Q.onDragEnd,onDragUpdate:Q.onDragUpdate}};function Fs(Oe){return Oe.current||Ce(!1),Oe.current}function ys(Oe){var Q=Oe.contextId,me=Oe.setCallbacks,We=Oe.sensors,nt=Oe.nonce,Et=Oe.dragHandleUsageInstructions,Rt=Object(w.useRef)(null);wr();var Mt=jr(Oe),nr=n(function(){return gl(Mt.current)},[Mt]),yr=Gs(Q),rr=Pr({contextId:Q,text:Et}),qt=vs(Q,nt),hr=n(function(O){Fs(Rt).dispatch(O)},[]),Er=e(function(){return Object(g.b)({publishWhileDragging:ha,updateDroppableScroll:Ir,updateDroppableIsEnabled:Zr,updateDroppableIsCombineEnabled:He,collectionStarting:Yt},hr)},[hr]),zr=Ls(),En=e(function(){return To(zr,Er)},[zr,Er]),jn=e(function(){return Vo(Object(m.a)({scrollWindow:Io,scrollDroppable:En.scrollDroppable},Object(g.b)({move:gt},hr)))},[En.scrollDroppable,hr]),pi=sl(Q),Yn=e(function(){return Fa({announce:yr,autoScroller:jn,dimensionMarshal:En,focusMarshal:pi,getResponders:nr,styleMarshal:qt})},[yr,jn,En,pi,nr,qt]);Rt.current=Yn;var Ji=n(function(){var O=Fs(Rt),N=O.getState();N.phase!=="IDLE"&&O.dispatch(Dr())},[]),Ei=n(function(){var O=Fs(Rt).getState();return O.isDragging||O.phase==="DROP_ANIMATING"},[]),da=e(function(){return{isDragging:Ei,tryAbort:Ji}},[Ei,Ji]);me(da);var ta=n(function(O){return po(Fs(Rt).getState(),O)},[]),oa=n(function(){return Nn(Fs(Rt).getState())},[]),qa=e(function(){return{marshal:En,focus:pi,contextId:Q,canLift:ta,isMovementAllowed:oa,dragHandleUsageInstructionsId:rr,registry:zr}},[Q,En,rr,pi,ta,oa,zr]);return Zs({contextId:Q,store:Yn,registry:zr,customSensors:We,enableDefaultSensors:Oe.enableDefaultSensors!==!1}),Object(w.useEffect)(function(){return Ji},[Ji]),f.a.createElement(pn.Provider,{value:qa},f.a.createElement(p.a,{context:Xs,store:Yn},Oe.children))}var Ul=0;function Bc(){Ul=0}function wc(){return e(function(){return""+Ul++},[])}function kc(){Bc(),ho()}function Pc(Oe){var Q=wc(),me=Oe.dragHandleUsageInstructions||ue.dragHandleUsageInstructions;return f.a.createElement(je,null,function(We){return f.a.createElement(ys,{nonce:Oe.nonce,contextId:Q,setCallbacks:We,dragHandleUsageInstructions:me,enableDefaultSensors:Oe.enableDefaultSensors,sensors:Oe.sensors,onBeforeCapture:Oe.onBeforeCapture,onBeforeDragStart:Oe.onBeforeDragStart,onDragStart:Oe.onDragStart,onDragUpdate:Oe.onDragUpdate,onDragEnd:Oe.onDragEnd},Oe.children)})}var Dl=function(Q){return function(me){return Q===me}},$s=Dl("scroll"),el=Dl("auto"),dl=Dl("visible"),Vl=function(Q,me){return me(Q.overflowX)||me(Q.overflowY)},ql=function(Q,me){return me(Q.overflowX)&&me(Q.overflowY)},lc=function(Q){var me=window.getComputedStyle(Q),We={overflowX:me.overflowX,overflowY:me.overflowY};return Vl(We,$s)||Vl(We,el)},Xl=function(){return!1;var Q,me;if(!lc(Q))return!1;var We,nt;if(ql(nt,dl))return!1},Rl=function Oe(Q){return Q==null?null:Q===document.body?Xl()?Q:null:Q===document.documentElement?null:lc(Q)?Q:Oe(Q.parentElement)},cc=function(Q){if(!Q)return;var me=Rl(Q.parentElement);if(!me)return},$l=function(Q){return{x:Q.scrollLeft,y:Q.scrollTop}},uc=function Oe(Q){if(!Q)return!1;var me=window.getComputedStyle(Q);return me.position==="fixed"?!0:Oe(Q.parentElement)},Sl=function(Q){var me=Rl(Q),We=uc(Q);return{closestScrollable:me,isFixedOnPage:We}},_l=function(Q){var me=Q.descriptor,We=Q.isEnabled,nt=Q.isCombineEnabled,Et=Q.isFixedOnPage,Rt=Q.direction,Mt=Q.client,nr=Q.page,yr=Q.closest,rr=function(){if(!yr)return null;var zr=yr.scrollSize,En=yr.client,jn=Va({scrollHeight:zr.scrollHeight,scrollWidth:zr.scrollWidth,height:En.paddingBox.height,width:En.paddingBox.width});return{pageMarginBox:yr.page.marginBox,frameClient:En,scrollSize:zr,shouldClipSubject:yr.shouldClipSubject,scroll:{initial:yr.scroll,current:yr.scroll,max:jn,diff:{value:Ne,displacement:Ne}}}}(),qt=Rt==="vertical"?Tr:fr,hr=Xe({page:nr,withPlaceholder:null,axis:qt,frame:rr}),Er={descriptor:me,isCombineEnabled:nt,isFixedOnPage:Et,axis:qt,isEnabled:We,client:Mt,page:nr,frame:rr,subject:hr};return Er},Ml=function(Q,me){var We=C(Q);if(!me)return We;if(Q!==me)return We;var nt=We.paddingBox.top-me.scrollTop,Et=We.paddingBox.left-me.scrollLeft,Rt=nt+me.scrollHeight,Mt=Et+me.scrollWidth,nr={top:nt,right:Mt,bottom:Rt,left:Et},yr=a(nr,We.border),rr=d({borderBox:yr,margin:We.margin,border:We.border,padding:We.padding});return rr},ec=function(Q){var me=Q.ref,We=Q.descriptor,nt=Q.env,Et=Q.windowScroll,Rt=Q.direction,Mt=Q.isDropDisabled,nr=Q.isCombineEnabled,yr=Q.shouldClipSubject,rr=nt.closestScrollable,qt=Ml(me,rr),hr=b(qt,Et),Er=function(){if(!rr)return null;var En=C(rr),jn={scrollHeight:rr.scrollHeight,scrollWidth:rr.scrollWidth};return{client:En,page:b(En,Et),scroll:$l(rr),scrollSize:jn,shouldClipSubject:yr}}(),zr=_l({descriptor:We,isEnabled:!Mt,isCombineEnabled:nr,isFixedOnPage:nt.isFixedOnPage,direction:Rt,client:qt,page:hr,closest:Er});return zr},Cl={passive:!1},Uc={passive:!0},Al=function(Q){return Q.shouldPublishImmediately?Cl:Uc};function xl(Oe){var Q=Object(w.useContext)(Oe);return Q||Ce(!1),Q}var tc=function(Q){return Q&&Q.env.closestScrollable||null};function jc(Oe){var Q=Object(w.useRef)(null),me=xl(pn),We=yt("droppable"),nt=me.registry,Et=me.marshal,Rt=jr(Oe),Mt=e(function(){return{id:Oe.droppableId,type:Oe.type,mode:Oe.mode}},[Oe.droppableId,Oe.mode,Oe.type]),nr=Object(w.useRef)(Mt),yr=e(function(){return L(function(Ei,da){Q.current||Ce(!1);var ta={x:Ei,y:da};Et.updateDroppableScroll(Mt.id,ta)})},[Mt.id,Et]),rr=n(function(){var Ei=Q.current;return!Ei||!Ei.env.closestScrollable?Ne:$l(Ei.env.closestScrollable)},[]),qt=n(function(){var Ei=rr();yr(Ei.x,Ei.y)},[rr,yr]),hr=e(function(){return k(qt)},[qt]),Er=n(function(){var Ei=Q.current,da=tc(Ei);Ei&&da||Ce(!1);var ta=Ei.scrollOptions;if(ta.shouldPublishImmediately){qt();return}hr()},[hr,qt]),zr=n(function(Ei,da){Q.current&&Ce(!1);var ta=Rt.current,oa=ta.getDroppableRef();oa||Ce(!1);var qa=Sl(oa),O={ref:oa,descriptor:Mt,env:qa,scrollOptions:da};Q.current=O;var N=ec({ref:oa,descriptor:Mt,env:qa,windowScroll:Ei,direction:ta.direction,isDropDisabled:ta.isDropDisabled,isCombineEnabled:ta.isCombineEnabled,shouldClipSubject:!ta.ignoreContainerClipping}),G=qa.closestScrollable;return G&&(G.setAttribute(Xo.contextId,me.contextId),G.addEventListener("scroll",Er,Al(O.scrollOptions))),N},[me.contextId,Mt,Er,Rt]),En=n(function(){var Ei=Q.current,da=tc(Ei);return Ei&&da||Ce(!1),$l(da)},[]),jn=n(function(){var Ei=Q.current;Ei||Ce(!1);var da=tc(Ei);if(Q.current=null,!da)return;hr.cancel(),da.removeAttribute(Xo.contextId),da.removeEventListener("scroll",Er,Al(Ei.scrollOptions))},[Er,hr]),pi=n(function(Ei){var da=Q.current;da||Ce(!1);var ta=tc(da);ta||Ce(!1),ta.scrollTop+=Ei.y,ta.scrollLeft+=Ei.x},[]),Yn=e(function(){return{getDimensionAndWatchScroll:zr,getScrollWhileDragging:En,dragStopped:jn,scroll:pi}},[jn,zr,En,pi]),Ji=e(function(){return{uniqueId:We,descriptor:Mt,callbacks:Yn}},[Yn,Mt,We]);jo(function(){return nr.current=Ji.descriptor,nt.droppable.register(Ji),function(){Q.current&&jn(),nt.droppable.unregister(Ji)}},[Yn,Mt,jn,Ji,Et,nt.droppable]),jo(function(){if(!Q.current)return;Et.updateDroppableIsEnabled(nr.current.id,!Oe.isDropDisabled)},[Oe.isDropDisabled,Et]),jo(function(){if(!Q.current)return;Et.updateDroppableIsCombineEnabled(nr.current.id,Oe.isCombineEnabled)},[Oe.isCombineEnabled,Et])}function dc(){}var Fl={width:0,height:0,margin:wt},Bl=function(Q){var me=Q.isAnimatingOpenOnMount,We=Q.placeholder,nt=Q.animate;return me||nt==="close"?Fl:{height:We.client.borderBox.height,width:We.client.borderBox.width,margin:We.client.margin}},jl=function(Q){var me=Q.isAnimatingOpenOnMount,We=Q.placeholder,nt=Q.animate,Et=Bl({isAnimatingOpenOnMount:me,placeholder:We,animate:nt});return{display:We.display,boxSizing:"border-box",width:Et.width,height:Et.height,marginTop:Et.margin.top,marginRight:Et.margin.right,marginBottom:Et.margin.bottom,marginLeft:Et.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:nt!=="none"?Pn.placeholder:null}};function Sc(Oe){var Q=Object(w.useRef)(null),me=n(function(){if(!Q.current)return;clearTimeout(Q.current),Q.current=null},[]),We=Oe.animate,nt=Oe.onTransitionEnd,Et=Oe.onClose,Rt=Oe.contextId,Mt=Object(w.useState)(Oe.animate==="open"),nr=Mt[0],yr=Mt[1];Object(w.useEffect)(function(){return nr?We!=="open"?(me(),yr(!1),dc):Q.current?dc:(Q.current=setTimeout(function(){Q.current=null,yr(!1)}),me):dc},[We,nr,me]);var rr=n(function(hr){if(hr.propertyName!=="height")return;nt(),We==="close"&&Et()},[We,Et,nt]),qt=jl({isAnimatingOpenOnMount:nr,animate:Oe.animate,placeholder:Oe.placeholder});return f.a.createElement(Oe.placeholder.tagName,{style:qt,"data-rbd-placeholder-context-id":Rt,onTransitionEnd:rr,ref:Oe.innerRef})}var xc=f.a.memo(Sc),hc=f.a.createContext(null);function Hl(Oe){Oe&&Ps(Oe)||Ce(!1)}function fc(Oe){return typeof Oe=="boolean"}function rc(Oe,Q){Q.forEach(function(me){return me(Oe)})}var Ec=[function(Q){var me=Q.props;me.droppableId||Ce(!1),typeof me.droppableId=="string"||Ce(!1)},function(Q){var me=Q.props;fc(me.isDropDisabled)||Ce(!1),fc(me.isCombineEnabled)||Ce(!1),fc(me.ignoreContainerClipping)||Ce(!1)},function(Q){var me=Q.getDroppableRef;Hl(me())}],cs=[function(Q){var me=Q.props,We=Q.getPlaceholderRef;if(!me.placeholder)return;var nt=We();if(nt)return}],al=[function(Q){var me=Q.props;me.renderClone||Ce(!1)},function(Q){var me=Q.getPlaceholderRef;me()&&Ce(!1)}];function Tl(Oe){ar(function(){rc(Oe,Ec),Oe.props.mode==="standard"&&rc(Oe,cs),Oe.props.mode==="virtual"&&rc(Oe,al)})}var nc=function(Oe){Object(A.a)(Q,Oe);function Q(){for(var We,nt=arguments.length,Et=new Array(nt),Rt=0;Rt<nt;Rt++)Et[Rt]=arguments[Rt];return We=Oe.call.apply(Oe,[this].concat(Et))||this,We.state={isVisible:Boolean(We.props.on),data:We.props.on,animate:We.props.shouldAnimate&&We.props.on?"open":"none"},We.onClose=function(){if(We.state.animate!=="close")return;We.setState({isVisible:!1})},We}Q.getDerivedStateFromProps=function(nt,Et){return nt.shouldAnimate?nt.on?{isVisible:!0,data:nt.on,animate:"open"}:Et.isVisible?{isVisible:!0,data:Et.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(nt.on),data:nt.on,animate:"none"}};var me=Q.prototype;return me.render=function(){if(!this.state.isVisible)return null;var nt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(nt)},Q}(f.a.PureComponent),ic={dragging:5e3,dropAnimating:4500},Il=function(Q,me){return me?Pn.drop(me.duration):Q?Pn.snap:Pn.fluid},bl=function(Q,me){return Q?me?si.opacity.drop:si.opacity.combining:null},_c=function(Q){return Q.forceShouldAnimate!=null?Q.forceShouldAnimate:Q.mode==="SNAP"};function Hc(Oe){var Q=Oe.dimension,me=Q.client,We=Oe.offset,nt=Oe.combineWith,Et=Oe.dropping,Rt=Boolean(nt),Mt=_c(Oe),nr=Boolean(Et),yr=nr?ci.drop(We,Rt):ci.moveTo(We),rr={position:"fixed",top:me.marginBox.top,left:me.marginBox.left,boxSizing:"border-box",width:me.borderBox.width,height:me.borderBox.height,transition:Il(Mt,Et),transform:yr,opacity:bl(Rt,nr),zIndex:nr?ic.dropAnimating:ic.dragging,pointerEvents:"none"};return rr}function Kc(Oe){return{transform:ci.moveTo(Oe.offset),transition:Oe.shouldAnimateDisplacement?null:"none"}}function Cc(Oe){return Oe.type==="DRAGGING"?Hc(Oe):Kc(Oe)}function Tc(Oe,Q,me){me===void 0&&(me=Ne);var We=window.getComputedStyle(Q),nt=Q.getBoundingClientRect(),Et=E(nt,We),Rt=b(Et,me),Mt={client:Et,tagName:Q.tagName.toLowerCase(),display:We.display},nr={x:Et.marginBox.width,y:Et.marginBox.height},yr={descriptor:Oe,placeholder:Mt,displaceBy:nr,client:Et,page:Rt};return yr}function Wc(Oe){var Q=yt("draggable"),me=Oe.descriptor,We=Oe.registry,nt=Oe.getDraggableRef,Et=Oe.canDragInteractiveElements,Rt=Oe.shouldRespectForcePress,Mt=Oe.isEnabled,nr=e(function(){return{canDragInteractiveElements:Et,shouldRespectForcePress:Rt,isEnabled:Mt}},[Et,Mt,Rt]),yr=n(function(Er){var zr=nt();return zr||Ce(!1),Tc(me,zr,Er)},[me,nt]),rr=e(function(){return{uniqueId:Q,descriptor:me,options:nr,getDimension:yr}},[me,yr,nr,Q]),qt=Object(w.useRef)(rr),hr=Object(w.useRef)(!0);jo(function(){return We.draggable.register(qt.current),function(){return We.draggable.unregister(qt.current)}},[We.draggable]),jo(function(){if(hr.current){hr.current=!1;return}var Er=qt.current;qt.current=rr,We.draggable.update(rr,Er)},[rr,We.draggable])}function pc(Oe,Q,me){ar(function(){function We(Et){return"Draggable[id: "+Et+"]: "}var nt=Oe.draggableId;if(nt||Ce(!1),typeof nt=="string"||Ce(!1),V(Oe.index)||Ce(!1),Oe.mapped.type==="DRAGGING")return;Hl(me()),Oe.isEnabled&&(Ks(Q,nt)||Ce(!1))})}function Ol(Oe){Pt(function(){var Q=Object(w.useRef)(Oe);ar(function(){Oe===Q.current||Ce(!1)},[Oe])})}function Ll(Oe){Oe.preventDefault()}function Gl(Oe){var Q=Object(w.useRef)(null),me=n(function(O){Q.current=O},[]),We=n(function(){return Q.current},[]),nt=xl(pn),Et=nt.contextId,Rt=nt.dragHandleUsageInstructionsId,Mt=nt.registry,nr=xl(hc),yr=nr.type,rr=nr.droppableId,qt=e(function(){return{id:Oe.draggableId,index:Oe.index,type:yr,droppableId:rr}},[Oe.draggableId,Oe.index,yr,rr]),hr=Oe.children,Er=Oe.draggableId,zr=Oe.isEnabled,En=Oe.shouldRespectForcePress,jn=Oe.canDragInteractiveElements,pi=Oe.isClone,Yn=Oe.mapped,Ji=Oe.dropAnimationFinished;if(pc(Oe,Et,We),Ol(pi),!pi){var Ei=e(function(){return{descriptor:qt,registry:Mt,getDraggableRef:We,canDragInteractiveElements:jn,shouldRespectForcePress:En,isEnabled:zr}},[qt,Mt,We,jn,En,zr]);Wc(Ei)}var da=e(function(){return zr?{tabIndex:0,role:"button","aria-describedby":Rt,"data-rbd-drag-handle-draggable-id":Er,"data-rbd-drag-handle-context-id":Et,draggable:!1,onDragStart:Ll}:null},[Et,Rt,Er,zr]),ta=n(function(O){if(Yn.type!=="DRAGGING")return;if(!Yn.dropping)return;if(O.propertyName!=="transform")return;Ji()},[Ji,Yn]),oa=e(function(){var O=Cc(Yn),N=Yn.type==="DRAGGING"&&Yn.dropping?ta:null,G={innerRef:me,draggableProps:{"data-rbd-draggable-context-id":Et,"data-rbd-draggable-id":Er,style:O,onTransitionEnd:N},dragHandleProps:da};return G},[Et,da,Er,Yn,ta,me]),qa=e(function(){return{draggableId:qt.id,type:qt.type,source:{index:qt.index,droppableId:qt.droppableId}}},[qt.droppableId,qt.id,qt.index,qt.type]);return hr(oa,Yn.snapshot,qa)}var Kl=function(Q,me){return Q===me},Ic=function(Q){var me=Q.combine,We=Q.destination;return We?We.droppableId:me?me.droppableId:null},qc=function(Q){return Q.combine?Q.combine.draggableId:null},zc=function(Q){return Q.at&&Q.at.type==="COMBINE"?Q.at.combine.draggableId:null};function $c(){var Oe=L(function(nt,Et){return{x:nt,y:Et}}),Q=L(function(nt,Et,Rt,Mt,nr){return{isDragging:!0,isClone:Et,isDropAnimating:Boolean(nr),dropAnimation:nr,mode:nt,draggingOver:Rt,combineWith:Mt,combineTargetFor:null}}),me=L(function(nt,Et,Rt,Mt,nr,yr,rr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:nr,combineWith:yr,mode:Et,offset:nt,dimension:Rt,forceShouldAnimate:rr,snapshot:Q(Et,Mt,nr,yr,null)}}}),We=function(Et,Rt){if(Et.isDragging){if(Et.critical.draggable.id!==Rt.draggableId)return null;var Mt=Et.current.client.offset,nr=Et.dimensions.draggables[Rt.draggableId],yr=ln(Et.impact),rr=zc(Et.impact),qt=Et.forceShouldAnimate;return me(Oe(Mt.x,Mt.y),Et.movementMode,nr,Rt.isClone,yr,rr,qt)}if(Et.phase==="DROP_ANIMATING"){var hr=Et.completed;if(hr.result.draggableId!==Rt.draggableId)return null;var Er=Rt.isClone,zr=Et.dimensions.draggables[Rt.draggableId],En=hr.result,jn=En.mode,pi=Ic(En),Yn=qc(En),Ji=Et.dropDuration,Ei={duration:Ji,curve:oi.drop,moveTo:Et.newHomeClientOffset,opacity:Yn?si.opacity.drop:null,scale:Yn?si.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Et.newHomeClientOffset,dimension:zr,dropping:Ei,draggingOver:pi,combineWith:Yn,mode:jn,forceShouldAnimate:null,snapshot:Q(jn,Er,pi,Yn,Ei)}}}return null};return We}function Ql(Oe){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:Oe,combineWith:null}}var mc={mapped:{type:"SECONDARY",offset:Ne,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Ql(null)}};function eu(){var Oe=L(function(Rt,Mt){return{x:Rt,y:Mt}}),Q=L(Ql),me=L(function(Rt,Mt,nr){return Mt===void 0&&(Mt=null),{mapped:{type:"SECONDARY",offset:Rt,combineTargetFor:Mt,shouldAnimateDisplacement:nr,snapshot:Q(Mt)}}}),We=function(Mt){return Mt?me(Ne,Mt,!0):null},nt=function(Mt,nr,yr,rr){var qt=yr.displaced.visible[Mt],hr=Boolean(rr.inVirtualList&&rr.effected[Mt]),Er=Rr(yr),zr=Er&&Er.draggableId===Mt?nr:null;if(!qt){if(!hr)return We(zr);if(yr.displaced.invisible[Mt])return null;var En=_e(rr.displacedBy.point),jn=Oe(En.x,En.y);return me(jn,zr,!0)}if(hr)return We(zr);var pi=yr.displacedBy.point,Yn=Oe(pi.x,pi.y);return me(Yn,zr,qt.shouldAnimate)},Et=function(Mt,nr){if(Mt.isDragging)return Mt.critical.draggable.id===nr.draggableId?null:nt(nr.draggableId,Mt.critical.draggable.id,Mt.impact,Mt.afterCritical);if(Mt.phase==="DROP_ANIMATING"){var yr=Mt.completed;return yr.result.draggableId===nr.draggableId?null:nt(nr.draggableId,yr.result.draggableId,yr.impact,yr.afterCritical)}return null};return Et}var Oc=function(){var Q=$c(),me=eu(),We=function(Et,Rt){return Q(Et,Rt)||me(Et,Rt)||mc};return We},ac={dropAnimationFinished:an},gc=Object(p.c)(Oc,ac,null,{context:Xs,pure:!0,areStatePropsEqual:Kl})(Gl);function Yl(Oe){var Q=xl(hc),me=Q.isUsingCloneFor;return me===Oe.draggableId&&!Oe.isClone?null:f.a.createElement(gc,Oe)}function Lc(Oe){var Q=typeof Oe.isDragDisabled=="boolean"?!Oe.isDragDisabled:!0,me=Boolean(Oe.disableInteractiveElementBlocking),We=Boolean(Oe.shouldRespectForcePress);return f.a.createElement(Yl,Object(m.a)({},Oe,{isClone:!1,isEnabled:Q,canDragInteractiveElements:me,shouldRespectForcePress:We}))}function Jl(Oe){var Q=Object(w.useContext)(pn);Q||Ce(!1);var me=Q.contextId,We=Q.isMovementAllowed,nt=Object(w.useRef)(null),Et=Object(w.useRef)(null),Rt=Oe.children,Mt=Oe.droppableId,nr=Oe.type,yr=Oe.mode,rr=Oe.direction,qt=Oe.ignoreContainerClipping,hr=Oe.isDropDisabled,Er=Oe.isCombineEnabled,zr=Oe.snapshot,En=Oe.useClone,jn=Oe.updateViewportMaxScroll,pi=Oe.getContainerForClone,Yn=n(function(){return nt.current},[]),Ji=n(function(Z){nt.current=Z},[]),Ei=n(function(){return Et.current},[]),da=n(function(Z){Et.current=Z},[]);Tl({props:Oe,getDroppableRef:Yn,getPlaceholderRef:Ei});var ta=n(function(){We()&&jn({maxScroll:Ga()})},[We,jn]);jc({droppableId:Mt,type:nr,mode:yr,direction:rr,isDropDisabled:hr,isCombineEnabled:Er,ignoreContainerClipping:qt,getDroppableRef:Yn});var oa=f.a.createElement(nc,{on:Oe.placeholder,shouldAnimate:Oe.shouldAnimatePlaceholder},function(Z){var oe=Z.onClose,Re=Z.data,ct=Z.animate;return f.a.createElement(xc,{placeholder:Re,onClose:oe,innerRef:da,animate:ct,contextId:me,onTransitionEnd:ta})}),qa=e(function(){return{innerRef:Ji,placeholder:oa,droppableProps:{"data-rbd-droppable-id":Mt,"data-rbd-droppable-context-id":me}}},[me,Mt,oa,Ji]),O=En?En.dragging.draggableId:null,N=e(function(){return{droppableId:Mt,type:nr,isUsingCloneFor:O}},[Mt,O,nr]);function G(){if(!En)return null;var Z=En.dragging,oe=En.render,Re=f.a.createElement(Yl,{draggableId:Z.draggableId,index:Z.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(ct,Nt){return oe(ct,Nt,Z)});return P.a.createPortal(Re,pi())}return f.a.createElement(hc.Provider,{value:N},Rt(qa,zr),G())}var oc=function(Q,me){return Q===me.droppable.type},fe=function(Q,me){return me.draggables[Q.draggable.id]},ke=function(){var Q={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},me=Object(m.a)({},Q,{shouldAnimatePlaceholder:!1}),We=L(function(Rt){return{draggableId:Rt.id,type:Rt.type,source:{index:Rt.index,droppableId:Rt.droppableId}}}),nt=L(function(Rt,Mt,nr,yr,rr,qt){var hr=rr.descriptor.id,Er=rr.descriptor.droppableId===Rt;if(Er){var zr=qt?{render:qt,dragging:We(rr.descriptor)}:null,En={isDraggingOver:nr,draggingOverWith:nr?hr:null,draggingFromThisWith:hr,isUsingPlaceholder:!0};return{placeholder:rr.placeholder,shouldAnimatePlaceholder:!1,snapshot:En,useClone:zr}}if(!Mt)return me;if(!yr)return Q;var jn={isDraggingOver:nr,draggingOverWith:hr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:rr.placeholder,shouldAnimatePlaceholder:!0,snapshot:jn,useClone:null}}),Et=function(Mt,nr){var yr=nr.droppableId,rr=nr.type,qt=!nr.isDropDisabled,hr=nr.renderClone;if(Mt.isDragging){var Er=Mt.critical;if(!oc(rr,Er))return me;var zr=fe(Er,Mt.dimensions),En=ln(Mt.impact)===yr;return nt(yr,qt,En,En,zr,hr)}if(Mt.phase==="DROP_ANIMATING"){var jn=Mt.completed;if(!oc(rr,jn.critical))return me;var pi=fe(jn.critical,Mt.dimensions);return nt(yr,qt,Ic(jn.result)===yr,ln(jn.impact)===yr,pi,hr)}if(Mt.phase==="IDLE"&&Mt.completed&&!Mt.shouldFlush){var Yn=Mt.completed;if(!oc(rr,Yn.critical))return me;var Ji=ln(Yn.impact)===yr,Ei=Boolean(Yn.impact.at&&Yn.impact.at.type==="COMBINE"),da=Yn.critical.droppable.id===yr;return Ji?Ei?Q:me:da?Q:me}return me};return Et},lt={updateViewportMaxScroll:zt};function Ht(){return document.body||Ce(!1),document.body}var er={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Ht},mr=Object(p.c)(ke,lt,null,{context:Xs,pure:!0,areStatePropsEqual:Kl})(Jl);mr.defaultProps=er},ni6a:function(M,B,o){var w=o("pzxd"),f=o("mFDi"),A=o("gut8"),m=A.WILL_BE_RESTORED,g=new f,p=function(){};p.prototype={constructor:p,drawRectText:function(l,e){var n=this.style;e=n.textRect||e,this.__dirty&&w.normalizeTextStyle(n,!0);var i=n.text;if(i!=null&&(i+=""),!w.needDrawText(i,n))return;l.save();var r=this.transform;n.transformText?this.setTransform(l):r&&(g.copy(e),g.applyTransform(r),e=g),w.renderText(this,l,i,n,e,m),l.restore()}};var c=p;M.exports=c},nkfE:function(M,B,o){var w=o("bYtY"),f=o("ca2m"),A=o("bLfw"),m=o("+TT/"),g=m.getLayoutParams,p=m.mergeLayoutParam,c=o("jkPA"),h=["value","category","time","log"];function l(e,n,i,r){w.each(h,function(a){n.extend({type:e+"Axis."+a,mergeDefaultAndTheme:function(t,s){var u=this.layoutMode,d=u?g(t):{},v=s.getTheme();w.merge(t,v.get(a+"Axis")),w.merge(t,this.getDefaultOption()),t.type=i(e,t),u&&p(t,d,u)},optionUpdated:function(){var t=this.option;t.type==="category"&&(this.__ordinalMeta=c.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:w.mergeAll([{},f[a+"Axis"],r],!0)})}),A.registerSubTypeDefaulter(e+"Axis",w.curry(i,e))}M.exports=l},noeP:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("UOVi");w.registerAction("dataZoom",function(m,g){var p=A.createLinkedNodesFinder(f.bind(g.eachComponent,g,"dataZoom"),A.eachAxisDim,function(h,l){return h.get(l.axisIndex)}),c=[];g.eachComponent({mainType:"dataZoom",query:m},function(h,l){c.push.apply(c,p(h).nodes)}),f.each(c,function(h,l){h.setRawRange({start:m.start,end:m.end,startValue:m.startValue,endValue:m.endValue})})})},npx9:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("Bgvn"),m=o.n(A),g=o("D3Kp"),p=o("HaWY")},o40c:function(M,B,o){var w=o("IwbS"),f=o("OS9S"),A=o("loD1"),m=o("aKvl"),g=w.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(l,e){var n=e.segs,i=e.curveness;if(e.polyline)for(var r=0;r<n.length;){var a=n[r++];if(a>0){l.moveTo(n[r++],n[r++]);for(var t=1;t<a;t++)l.lineTo(n[r++],n[r++])}}else for(var r=0;r<n.length;){var s=n[r++],u=n[r++],d=n[r++],v=n[r++];if(l.moveTo(s,u),i>0){var y=(s+d)/2-(u-v)*i,S=(u+v)/2-(d-s)*i;l.quadraticCurveTo(y,S,d,v)}else l.lineTo(d,v)}},findDataIndex:function(l,e){var n=this.shape,i=n.segs,r=n.curveness;if(n.polyline)for(var a=0,t=0;t<i.length;){var s=i[t++];if(s>0)for(var u=i[t++],d=i[t++],v=1;v<s;v++){var y=i[t++],S=i[t++];if(A.containStroke(u,d,y,S))return a}a++}else for(var a=0,t=0;t<i.length;){var u=i[t++],d=i[t++],y=i[t++],S=i[t++];if(r>0){var b=(u+y)/2-(d-S)*r,E=(d+S)/2-(y-u)*r;if(m.containStroke(u,d,b,E,y,S))return a}else if(A.containStroke(u,d,y,S))return a;a++}return-1}});function p(){this.group=new w.Group}var c=p.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(l){this.group.removeAll();var e=new g({rectHover:!0,cursor:"default"});e.setShape({segs:l.getLayout("linesPoints")}),this._setCommon(e,l),this.group.add(e),this._incremental=null},c.incrementalPrepareUpdate=function(l){this.group.removeAll(),this._clearIncremental(),l.count()>5e5?(this._incremental||(this._incremental=new f({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(l,e){var n=new g;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=l.start,this.group.add(n))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._setCommon=function(l,e,n){var i=e.hostModel;l.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),l.useStyle(i.getModel("lineStyle").getLineStyle()),l.style.strokeNoScale=!0;var r=e.getVisual("color");r&&l.setStyle("stroke",r),l.setStyle("fill"),n||(l.seriesIndex=i.seriesIndex,l.on("mousemove",function(a){l.dataIndex=null;var t=l.findDataIndex(a.offsetX,a.offsetY);t>0&&(l.dataIndex=t+l.__startIndex)}))},c._clearIncremental=function(){var l=this._incremental;l&&l.clearDisplaybles()};var h=p;M.exports=h},o4st:function(M,B,o){},oBaM:function(M,B,o){var w=o("T4UG"),f=o("5GtS"),A=o("bYtY"),m=o("7aKB"),g=m.encodeHTML,p=o("xKMd"),c=w.extend({type:"series.radar",dependencies:["radar"],init:function(l){c.superApply(this,"init",arguments),this.legendVisualProvider=new p(A.bind(this.getData,this),A.bind(this.getRawData,this))},getInitialData:function(l,e){return f(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(l){var e=this.getData(),n=this.coordinateSystem,i=n.getIndicatorAxes(),r=this.getData().getName(l);return g(r===""?this.name:r)+"<br/>"+A.map(i,function(a,t){var s=e.get(e.mapDimension(a.dim),l);return g(a.name+" : "+s)}).join("<br />")},getTooltipPosition:function(l){if(l!=null){for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues(A.map(n.dimensions,function(s){return e.mapDimension(s)}),l,!0),r=0,a=i.length;r<a;r++)if(!isNaN(i[r])){var t=n.getIndicatorAxes();return n.coordToPoint(t[r].dataToCoord(i[r]),r)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),h=c;M.exports=h},oE7X:function(M,B,o){var w=o("bLfw");w.registerSubTypeDefaulter("timeline",function(){return"slider"})},oL4h:function(M,B,o){},oMPz:function(M,B,o){"use strict";o.d(B,"a",function(){return m});var w=o("ODXe"),f=o("q1tI"),A=o.n(f);function m(){var g=f.useReducer(function(h){return h+1},0),p=Object(w.a)(g,2),c=p[1];return c}},oVpE:function(M,B,o){var w=o("bYtY"),f=o("IwbS"),A=o("mFDi"),m=o("6GrX"),g=m.calculateTextPosition,p=f.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var d=u.cx,v=u.cy,y=u.width/2,S=u.height/2;s.moveTo(d,v-S),s.lineTo(d+y,v+S),s.lineTo(d-y,v+S),s.closePath()}}),c=f.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var d=u.cx,v=u.cy,y=u.width/2,S=u.height/2;s.moveTo(d,v-S),s.lineTo(d+y,v),s.lineTo(d,v+S),s.lineTo(d-y,v),s.closePath()}}),h=f.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var d=u.x,v=u.y,y=u.width/5*3,S=Math.max(y,u.height),b=y/2,E=b*b/(S-b),C=v-S+b+E,T=Math.asin(E/b),x=Math.cos(T)*b,_=Math.sin(T),I=Math.cos(T),L=b*.6,R=b*.7;s.moveTo(d-x,C+E),s.arc(d,C,b,Math.PI-T,Math.PI*2+T),s.bezierCurveTo(d+x-_*L,C+E+I*L,d,v-R,d,v),s.bezierCurveTo(d,v-R,d-x+_*L,C+E+I*L,d-x,C+E),s.closePath()}}),l=f.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var d=u.height,v=u.width,y=u.x,S=u.y,b=v/3*2;s.moveTo(y,S),s.lineTo(y+b,S+d),s.lineTo(y,S+d/4*3),s.lineTo(y-b,S+d),s.lineTo(y,S),s.closePath()}}),e={line:f.Line,rect:f.Rect,roundRect:f.Rect,square:f.Rect,circle:f.Circle,diamond:c,pin:h,arrow:l,triangle:p},n={line:function(s,u,d,v,y){y.x1=s,y.y1=u+v/2,y.x2=s+d,y.y2=u+v/2},rect:function(s,u,d,v,y){y.x=s,y.y=u,y.width=d,y.height=v},roundRect:function(s,u,d,v,y){y.x=s,y.y=u,y.width=d,y.height=v,y.r=Math.min(d,v)/4},square:function(s,u,d,v,y){var S=Math.min(d,v);y.x=s,y.y=u,y.width=S,y.height=S},circle:function(s,u,d,v,y){y.cx=s+d/2,y.cy=u+v/2,y.r=Math.min(d,v)/2},diamond:function(s,u,d,v,y){y.cx=s+d/2,y.cy=u+v/2,y.width=d,y.height=v},pin:function(s,u,d,v,y){y.x=s+d/2,y.y=u+v/2,y.width=d,y.height=v},arrow:function(s,u,d,v,y){y.x=s+d/2,y.y=u+v/2,y.width=d,y.height=v},triangle:function(s,u,d,v,y){y.cx=s+d/2,y.cy=u+v/2,y.width=d,y.height=v}},i={};w.each(e,function(s,u){i[u]=new s});var r=f.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(s,u,d){var v=g(s,u,d),y=this.shape;return y&&y.symbolType==="pin"&&u.textPosition==="inside"&&(v.y=d.y+d.height*.4),v},buildPath:function(s,u,d){var v=u.symbolType;if(v!=="none"){var y=i[v];y||(v="rect",y=i[v]),n[v](u.x,u.y,u.width,u.height,y.shape),y.buildPath(s,y.shape,d)}}});function a(s,u){if(this.type!=="image"){var d=this.style,v=this.shape;v&&v.symbolType==="line"?d.stroke=s:this.__isEmptyBrush?(d.stroke=s,d.fill=u||"#fff"):(d.fill&&(d.fill=s),d.stroke&&(d.stroke=s)),this.dirty(!1)}}function t(s,u,d,v,y,S,b){var E=s.indexOf("empty")===0;E&&(s=s.substr(5,1).toLowerCase()+s.substr(6));var C;return s.indexOf("image://")===0?C=f.makeImage(s.slice(8),new A(u,d,v,y),b?"center":"cover"):s.indexOf("path://")===0?C=f.makePath(s.slice(7),{},new A(u,d,v,y),b?"center":"cover"):C=new r({shape:{symbolType:s,x:u,y:d,width:v,height:y}}),C.__isEmptyBrush=E,C.setColor=a,C.setColor(S),C}B.createSymbol=t},oY9F:function(M,B,o){var w=o("OlYY"),f=w.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});M.exports=f},osHv:function(M,B,o){(function(w){w(o("VrN/"))})(function(w){"use strict";var f=w.Pos;function A(u,d){return u.line-d.line||u.ch-d.ch}var m="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",g=m+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",p=new RegExp("<(/?)(["+m+"]["+g+"]*)","g");function c(u,d,v,y){this.line=d,this.ch=v,this.cm=u,this.text=u.getLine(d),this.min=y?Math.max(y.from,u.firstLine()):u.firstLine(),this.max=y?Math.min(y.to-1,u.lastLine()):u.lastLine()}function h(u,d){var v=u.cm.getTokenTypeAt(f(u.line,d));return v&&/\btag\b/.test(v)}function l(u){return u.line>=u.max?void 0:(u.ch=0,u.text=u.cm.getLine(++u.line),!0)}function e(u){return u.line<=u.min?void 0:(u.text=u.cm.getLine(--u.line),u.ch=u.text.length,!0)}function n(u){for(;;){var d=u.text.indexOf(">",u.ch);if(d==-1){if(l(u))continue;return}if(!h(u,d+1)){u.ch=d+1;continue}var v=u.text.lastIndexOf("/",d),y=v>-1&&!/\S/.test(u.text.slice(v+1,d));return u.ch=d+1,y?"selfClose":"regular"}}function i(u){for(;;){var d=u.ch?u.text.lastIndexOf("<",u.ch-1):-1;if(d==-1){if(e(u))continue;return}if(!h(u,d+1)){u.ch=d;continue}p.lastIndex=d,u.ch=d;var v=p.exec(u.text);if(v&&v.index==d)return v}}function r(u){for(;;){p.lastIndex=u.ch;var d=p.exec(u.text);if(!d){if(l(u))continue;return}if(!h(u,d.index+1)){u.ch=d.index+1;continue}return u.ch=d.index+d[0].length,d}}function a(u){for(;;){var d=u.ch?u.text.lastIndexOf(">",u.ch-1):-1;if(d==-1){if(e(u))continue;return}if(!h(u,d+1)){u.ch=d;continue}var v=u.text.lastIndexOf("/",d),y=v>-1&&!/\S/.test(u.text.slice(v+1,d));return u.ch=d+1,y?"selfClose":"regular"}}function t(u,d){for(var v=[];;){var y=r(u),S,b=u.line,E=u.ch-(y?y[0].length:0);if(!y||!(S=n(u)))return;if(S=="selfClose")continue;if(y[1]){for(var C=v.length-1;C>=0;--C)if(v[C]==y[2]){v.length=C;break}if(C<0&&(!d||d==y[2]))return{tag:y[2],from:f(b,E),to:f(u.line,u.ch)}}else v.push(y[2])}}function s(u,d){for(var v=[];;){var y=a(u);if(!y)return;if(y=="selfClose"){i(u);continue}var S=u.line,b=u.ch,E=i(u);if(!E)return;if(E[1])v.push(E[2]);else{for(var C=v.length-1;C>=0;--C)if(v[C]==E[2]){v.length=C;break}if(C<0&&(!d||d==E[2]))return{tag:E[2],from:f(u.line,u.ch),to:f(S,b)}}}}w.registerHelper("fold","xml",function(u,d){for(var v=new c(u,d.line,0);;){var y=r(v);if(!y||v.line!=d.line)return;var S=n(v);if(!S)return;if(!y[1]&&S!="selfClose"){var b=f(v.line,v.ch),E=t(v,y[2]);return E&&A(E.from,b)>0?{from:b,to:E.from}:null}}}),w.findMatchingTag=function(u,d,v){var y=new c(u,d.line,d.ch,v);if(y.text.indexOf(">")==-1&&y.text.indexOf("<")==-1)return;var S=n(y),b=S&&f(y.line,y.ch),E=S&&i(y);if(!S||!E||A(y,d)>0)return;var C={from:f(y.line,y.ch),to:b,tag:E[2]};return S=="selfClose"?{open:C,close:null,at:"open"}:E[1]?{open:s(y,E[2]),close:C,at:"close"}:(y=new c(u,b.line,b.ch,v),{open:C,close:t(y,E[2]),at:"open"})},w.findEnclosingTag=function(u,d,v,y){for(var S=new c(u,d.line,d.ch,v);;){var b=s(S,y);if(!b)break;var E=new c(u,d.line,d.ch,v),C=t(E,b.tag);if(C)return{open:b,close:C}}},w.scanForClosingTag=function(u,d,v,y){var S=new c(u,d.line,d.ch,y?{from:0,to:y}:null);return t(S,v)}})},"p+If":function(M,B,o){var w=o("ProS");o("cpOr"),o("rkZ5");var f=o("ZYIC"),A=o("7ph2");w.registerLayout(f),w.registerVisual(A)},"p/La":function(M,B){var o=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function w(f,A){f==="china"&&A.name==="\u53F0\u6E7E"&&A.geometries.push({type:"polygon",exterior:o[0]})}M.exports=w},p1MT:function(M,B,o){var w=o("Hw7h"),f=o("IwbS"),A=o("6Ic6"),m=o("OELB"),g=m.parsePercent,p=m.round,c=m.linearMap;function h(r,a){var t=r.get("center"),s=a.getWidth(),u=a.getHeight(),d=Math.min(s,u),v=g(t[0],a.getWidth()),y=g(t[1],a.getHeight()),S=g(r.get("radius"),d/2);return{cx:v,cy:y,r:S}}function l(r,a){return a&&(typeof a=="string"?r=a.replace("{value}",r!=null?r:""):typeof a=="function"&&(r=a(r))),r}var e=Math.PI*2,n=A.extend({type:"gauge",render:function(r,a,t){this.group.removeAll();var s=r.get("axisLine.lineStyle.color"),u=h(r,t);this._renderMain(r,a,t,s,u)},dispose:function(){},_renderMain:function(r,a,t,s,u){for(var d=this.group,v=r.getModel("axisLine"),y=v.getModel("lineStyle"),S=r.get("clockwise"),b=-r.get("startAngle")/180*Math.PI,E=-r.get("endAngle")/180*Math.PI,C=(E-b)%e,T=b,x=y.get("width"),_=v.get("show"),I=0;_&&I<s.length;I++){var L=Math.min(Math.max(s[I][0],0),1),E=b+C*L,R=new f.Sector({shape:{startAngle:T,endAngle:E,cx:u.cx,cy:u.cy,clockwise:S,r0:u.r-x,r:u.r},silent:!0});R.setStyle({fill:s[I][1]}),R.setStyle(y.getLineStyle(["color","borderWidth","borderColor"])),d.add(R),T=E}var k=function(P){if(P<=0)return s[0][1];for(var W=0;W<s.length;W++)if(s[W][0]>=P&&(W===0?0:s[W-1][0])<P)return s[W][1];return s[W-1][1]};if(!S){var F=b;b=E,E=F}this._renderTicks(r,a,t,k,u,b,E,S),this._renderPointer(r,a,t,k,u,b,E,S),this._renderTitle(r,a,t,k,u),this._renderDetail(r,a,t,k,u)},_renderTicks:function(r,a,t,s,u,d,v,y){for(var S=this.group,b=u.cx,E=u.cy,C=u.r,T=+r.get("min"),x=+r.get("max"),_=r.getModel("splitLine"),I=r.getModel("axisTick"),L=r.getModel("axisLabel"),R=r.get("splitNumber"),k=I.get("splitNumber"),F=g(_.get("length"),C),P=g(I.get("length"),C),W=d,D=(v-d)/R,U=D/k,H=_.getModel("lineStyle").getLineStyle(),j=I.getModel("lineStyle").getLineStyle(),K=0;K<=R;K++){var X=Math.cos(W),z=Math.sin(W);if(_.get("show")){var Y=new f.Line({shape:{x1:X*C+b,y1:z*C+E,x2:X*(C-F)+b,y2:z*(C-F)+E},style:H,silent:!0});H.stroke==="auto"&&Y.setStyle({stroke:s(K/R)}),S.add(Y)}if(L.get("show")){var $=l(p(K/R*(x-T)+T),L.get("formatter")),ne=L.get("distance"),J=s(K/R);S.add(new f.Text({style:f.setTextStyle({},L,{text:$,x:X*(C-F-ne)+b,y:z*(C-F-ne)+E,textVerticalAlign:z<-.4?"top":z>.4?"bottom":"middle",textAlign:X<-.4?"left":X>.4?"right":"center"},{autoColor:J}),silent:!0}))}if(I.get("show")&&K!==R){for(var ge=0;ge<=k;ge++){var X=Math.cos(W),z=Math.sin(W),de=new f.Line({shape:{x1:X*C+b,y1:z*C+E,x2:X*(C-P)+b,y2:z*(C-P)+E},silent:!0,style:j});j.stroke==="auto"&&de.setStyle({stroke:s((K+ge/k)/R)}),S.add(de),W+=U}W-=U}else W+=D}},_renderPointer:function(r,a,t,s,u,d,v,y){var S=this.group,b=this._data;if(!r.get("pointer.show")){b&&b.eachItemGraphicEl(function(_){S.remove(_)});return}var E=[+r.get("min"),+r.get("max")],C=[d,v],T=r.getData(),x=T.mapDimension("value");T.diff(b).add(function(_){var I=new w({shape:{angle:d}});f.initProps(I,{shape:{angle:c(T.get(x,_),E,C,!0)}},r),S.add(I),T.setItemGraphicEl(_,I)}).update(function(_,I){var L=b.getItemGraphicEl(I);f.updateProps(L,{shape:{angle:c(T.get(x,_),E,C,!0)}},r),S.add(L),T.setItemGraphicEl(_,L)}).remove(function(_){var I=b.getItemGraphicEl(_);S.remove(I)}).execute(),T.eachItemGraphicEl(function(_,I){var L=T.getItemModel(I),R=L.getModel("pointer");_.setShape({x:u.cx,y:u.cy,width:g(R.get("width"),u.r),r:g(R.get("length"),u.r)}),_.useStyle(L.getModel("itemStyle").getItemStyle()),_.style.fill==="auto"&&_.setStyle("fill",s(c(T.get(x,I),E,[0,1],!0))),f.setHoverStyle(_,L.getModel("emphasis.itemStyle").getItemStyle())}),this._data=T},_renderTitle:function(r,a,t,s,u){var d=r.getData(),v=d.mapDimension("value"),y=r.getModel("title");if(y.get("show")){var S=y.get("offsetCenter"),b=u.cx+g(S[0],u.r),E=u.cy+g(S[1],u.r),C=+r.get("min"),T=+r.get("max"),x=r.getData().get(v,0),_=s(c(x,[C,T],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},y,{x:b,y:E,text:d.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:_,forceRich:!0})}))}},_renderDetail:function(r,a,t,s,u){var d=r.getModel("detail"),v=+r.get("min"),y=+r.get("max");if(d.get("show")){var S=d.get("offsetCenter"),b=u.cx+g(S[0],u.r),E=u.cy+g(S[1],u.r),C=g(d.get("width"),u.r),T=g(d.get("height"),u.r),x=r.getData(),_=x.get(x.mapDimension("value"),0),I=s(c(_,[v,y],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},d,{x:b,y:E,text:l(_,d.get("formatter")),textWidth:isNaN(C)?null:C,textHeight:isNaN(T)?null:T,textAlign:"center",textVerticalAlign:"middle"},{autoColor:I,forceRich:!0})}))}}}),i=n;M.exports=i},p4VE:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("26TI"),m=o.n(A)},"p77/":function(M,B,o){},pLH3:function(M,B,o){var w=o("ProS");o("ALo7"),o("TWL2");var f=o("mOdp"),A=o("JLnu"),m=o("0/Rx");w.registerVisual(f("funnel")),w.registerLayout(A),w.registerProcessor(m("funnel"))},pP6R:function(M,B,o){var w=o("ProS"),f="\0_ec_interaction_mutex";function A(c,h,l){var e=p(c);e[h]=l}function m(c,h,l){var e=p(c),n=e[h];n===l&&(e[h]=null)}function g(c,h){return!!p(c)[h]}function p(c){return c[f]||(c[f]={})}w.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),B.take=A,B.release=m,B.isTaken=g},pSJ1:function(M,B,o){"use strict";var w=o("rePB"),f=o("wx14"),A=o("U8pU"),m=o("q1tI"),g=o.n(m),p=o("TSYQ"),c=o.n(p),h=o("qPLW"),l=o("9R2V"),e=function(a,t){var s={};for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&t.indexOf(u)<0&&(s[u]=a[u]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,u=Object.getOwnPropertySymbols(a);d<u.length;d++)t.indexOf(u[d])<0&&Object.prototype.propertyIsEnumerable.call(a,u[d])&&(s[u[d]]=a[u[d]]);return s};function n(a){return typeof a=="number"?"".concat(a," ").concat(a," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(a)?"0 0 ".concat(a):a}var i=["xs","sm","md","lg","xl","xxl"],r=m.forwardRef(function(a,t){var s,u=m.useContext(l.b),d=u.getPrefixCls,v=u.direction,y=m.useContext(h.a),S=y.gutter,b=y.wrap,E=y.supportFlexGap,C=a.prefixCls,T=a.span,x=a.order,_=a.offset,I=a.push,L=a.pull,R=a.className,k=a.children,F=a.flex,P=a.style,W=e(a,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),D=d("col",C),U={};i.forEach(function(z){var Y,$={},ne=a[z];typeof ne=="number"?$.span=ne:Object(A.a)(ne)==="object"&&($=ne||{}),delete W[z],U=Object(f.a)(Object(f.a)({},U),(Y={},Object(w.a)(Y,"".concat(D,"-").concat(z,"-").concat($.span),$.span!==void 0),Object(w.a)(Y,"".concat(D,"-").concat(z,"-order-").concat($.order),$.order||$.order===0),Object(w.a)(Y,"".concat(D,"-").concat(z,"-offset-").concat($.offset),$.offset||$.offset===0),Object(w.a)(Y,"".concat(D,"-").concat(z,"-push-").concat($.push),$.push||$.push===0),Object(w.a)(Y,"".concat(D,"-").concat(z,"-pull-").concat($.pull),$.pull||$.pull===0),Object(w.a)(Y,"".concat(D,"-rtl"),v==="rtl"),Y))});var H=c()(D,(s={},Object(w.a)(s,"".concat(D,"-").concat(T),T!==void 0),Object(w.a)(s,"".concat(D,"-order-").concat(x),x),Object(w.a)(s,"".concat(D,"-offset-").concat(_),_),Object(w.a)(s,"".concat(D,"-push-").concat(I),I),Object(w.a)(s,"".concat(D,"-pull-").concat(L),L),s),R,U),j={};if(S&&S[0]>0){var K=S[0]/2;j.paddingLeft=K,j.paddingRight=K}if(S&&S[1]>0&&!E){var X=S[1]/2;j.paddingTop=X,j.paddingBottom=X}return F&&(j.flex=n(F),F==="auto"&&b===!1&&!j.minWidth&&(j.minWidth=0)),m.createElement("div",Object(f.a)({},W,{style:Object(f.a)(Object(f.a)({},j),P),className:H,ref:t}),k)});r.displayName="Col",B.a=r},pVnL:function(M,B){function o(){return M.exports=o=Object.assign||function(w){for(var f=1;f<arguments.length;f++){var A=arguments[f];for(var m in A)Object.prototype.hasOwnProperty.call(A,m)&&(w[m]=A[m])}return w},M.exports.default=M.exports,M.exports.__esModule=!0,o.apply(this,arguments)}M.exports=o,M.exports.default=M.exports,M.exports.__esModule=!0},phUY:function(M,B,o){},pjaq:function(M,B,o){},pmaE:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("IwbS"),m=o("DEFe"),g="__seriesMapHighDown",p="__seriesMapCallKey",c=w.extendChartView({type:"map",render:function(e,n,i,r){if(r&&r.type==="mapToggleSelect"&&r.from===this.uid)return;var a=this.group;if(a.removeAll(),e.getHostGeoModel())return;if(r&&r.type==="geoRoam"&&r.componentType==="series"&&r.seriesId===e.id){var t=this._mapDraw;t&&a.add(t.group)}else if(e.needsDrawMap){var t=this._mapDraw||new m(i,!0);a.add(t.group),t.draw(e,n,i,this,r),this._mapDraw=t}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&n.getComponent("legend")&&this._renderSymbols(e,n,i)},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(e,n,i){var r=e.originalData,a=this.group;r.each(r.mapDimension("value"),function(t,s){if(isNaN(t))return;var u=r.getItemLayout(s);if(!u||!u.point)return;var d=u.point,v=u.offset,y=new A.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:d[0]+v*9,cy:d[1],r:3},silent:!0,z2:8+(v?0:A.Z2_EMPHASIS_LIFT+1)});if(!v){var S=e.mainSeries.getData(),b=r.getName(s),E=S.indexOfName(b),C=r.getItemModel(s),T=C.getModel("label"),x=C.getModel("emphasis.label"),_=S.getItemGraphicEl(E),I=f.retrieve2(e.getFormattedLabel(E,"normal"),b),L=f.retrieve2(e.getFormattedLabel(E,"emphasis"),I),R=_[g],k=Math.random();if(!R){R=_[g]={};var F=f.curry(h,!0),P=f.curry(h,!1);_.on("mouseover",F).on("mouseout",P).on("emphasis",F).on("normal",P)}_[p]=k,f.extend(R,{recordVersion:k,circle:y,labelModel:T,hoverLabelModel:x,emphasisText:L,normalText:I}),l(R,!1)}a.add(y)})}});function h(e){var n=this[g];n&&n.recordVersion===this[p]&&l(n,e)}function l(e,n){var i=e.circle,r=e.labelModel,a=e.hoverLabelModel,t=e.emphasisText,s=e.normalText;n?(i.style.extendFrom(A.setTextStyle({},a,{text:a.get("show")?t:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=A.Z2_EMPHASIS_LIFT):(A.setTextStyle(i.style,r,{text:r.get("show")?s:null,textPosition:r.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),i.__mapOriginalZ2!=null&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}M.exports=c},pzxd:function(M,B,o){var w=o("bYtY"),f=w.retrieve2,A=w.retrieve3,m=w.each,g=w.normalizeCssArray,p=w.isString,c=w.isObject,h=o("6GrX"),l=o("VpOo"),e=o("Xnb7"),n=o("fW2E"),i=o("gut8"),r=i.ContextCachedBy,a=i.WILL_BE_RESTORED,t=h.DEFAULT_FONT,s={left:1,right:1,center:1},u={top:1,bottom:1,middle:1},d=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],v={},y={};function S(K){return b(K),m(K.rich,b),K}function b(K){if(K){K.font=h.makeFont(K);var X=K.textAlign;X==="middle"&&(X="center"),K.textAlign=X==null||s[X]?X:"left";var z=K.textVerticalAlign||K.textBaseline;z==="center"&&(z="middle"),K.textVerticalAlign=z==null||u[z]?z:"top";var Y=K.textPadding;Y&&(K.textPadding=g(K.textPadding))}}function E(K,X,z,Y,$,ne){Y.rich?T(K,X,z,Y,$,ne):C(K,X,z,Y,$,ne)}function C(K,X,z,Y,$,ne){"use strict";var J=L(Y),ge,de=!1,Ie=X.__attrCachedBy===r.PLAIN_TEXT;ne!==a?(ne&&(ge=ne.style,de=!J&&Ie&&ge),X.__attrCachedBy=J?r.NONE:r.PLAIN_TEXT):Ie&&(X.__attrCachedBy=r.NONE);var be=Y.font||t;(!de||be!==(ge.font||t))&&(X.font=be);var Ce=K.__computedFont;K.__styleFont!==be&&(K.__styleFont=be,Ce=K.__computedFont=X.font);var je=Y.textPadding,te=Y.textLineHeight,ve=K.__textCotentBlock;(!ve||K.__dirtyText)&&(ve=K.__textCotentBlock=h.parsePlainText(z,Ce,je,te,Y.truncate));var $e=ve.outerHeight,Le=ve.lines,he=ve.lineHeight,ee=F(y,K,Y,$),se=ee.baseX,Ue=ee.baseY,ue=ee.textAlign||"left",Ne=ee.textVerticalAlign;_(X,Y,$,se,Ue);var Fe=h.adjustTextY(Ue,$e,Ne),ae=se,ce=Fe;if(J||je){var _e=h.getWidth(z,Ce),ze=_e;je&&(ze+=je[1]+je[3]);var it=h.adjustTextX(se,ze,ue);J&&R(K,X,Y,it,Fe,ze,$e),je&&(ae=H(se,ue,je),ce+=je[0])}X.textAlign=ue,X.textBaseline="middle",X.globalAlpha=Y.opacity||1;for(var Ze=0;Ze<d.length;Ze++){var Ee=d[Ze],mt=Ee[0],Je=Ee[1],rt=Y[mt];(!de||rt!==ge[mt])&&(X[Je]=n(X,Je,rt||Ee[2]))}ce+=he/2;var wt=Y.textStrokeWidth,Ot=de?ge.textStrokeWidth:null,Ct=!de||wt!==Ot,Dt=!de||Ct||Y.textStroke!==ge.textStroke,Xe=W(Y.textStroke,wt),q=D(Y.textFill);if(Xe&&(Ct&&(X.lineWidth=wt),Dt&&(X.strokeStyle=Xe)),q&&((!de||Y.textFill!==ge.textFill)&&(X.fillStyle=q)),Le.length===1)Xe&&X.strokeText(Le[0],ae,ce),q&&X.fillText(Le[0],ae,ce);else for(var Ze=0;Ze<Le.length;Ze++)Xe&&X.strokeText(Le[Ze],ae,ce),q&&X.fillText(Le[Ze],ae,ce),ce+=he}function T(K,X,z,Y,$,ne){ne!==a&&(X.__attrCachedBy=r.NONE);var J=K.__textCotentBlock;(!J||K.__dirtyText)&&(J=K.__textCotentBlock=h.parseRichText(z,Y)),x(K,X,J,Y,$)}function x(K,X,z,Y,$){var ne=z.width,J=z.outerWidth,ge=z.outerHeight,de=Y.textPadding,Ie=F(y,K,Y,$),be=Ie.baseX,Ce=Ie.baseY,je=Ie.textAlign,te=Ie.textVerticalAlign;_(X,Y,$,be,Ce);var ve=h.adjustTextX(be,J,je),$e=h.adjustTextY(Ce,ge,te),Le=ve,he=$e;de&&(Le+=de[3],he+=de[0]);var ee=Le+ne;L(Y)&&R(K,X,Y,ve,$e,J,ge);for(var se=0;se<z.lines.length;se++){for(var Ue=z.lines[se],ue=Ue.tokens,Ne=ue.length,Fe=Ue.lineHeight,ae=Ue.width,ce=0,_e=Le,ze=ee,it=Ne-1,Ze;ce<Ne&&(Ze=ue[ce],!Ze.textAlign||Ze.textAlign==="left");)I(K,X,Ze,Y,Fe,he,_e,"left"),ae-=Ze.width,_e+=Ze.width,ce++;for(;it>=0&&(Ze=ue[it],Ze.textAlign==="right");)I(K,X,Ze,Y,Fe,he,ze,"right"),ae-=Ze.width,ze-=Ze.width,it--;for(_e+=(ne-(_e-Le)-(ee-ze)-ae)/2;ce<=it;)Ze=ue[ce],I(K,X,Ze,Y,Fe,he,_e+Ze.width/2,"center"),_e+=Ze.width,ce++;he+=Fe}}function _(K,X,z,Y,$){if(z&&X.textRotation){var ne=X.textOrigin;ne==="center"?(Y=z.width/2+z.x,$=z.height/2+z.y):ne&&(Y=ne[0]+z.x,$=ne[1]+z.y),K.translate(Y,$),K.rotate(-X.textRotation),K.translate(-Y,-$)}}function I(K,X,z,Y,$,ne,J,ge){var de=Y.rich[z.styleName]||{};de.text=z.text;var Ie=z.textVerticalAlign,be=ne+$/2;Ie==="top"?be=ne+z.height/2:Ie==="bottom"&&(be=ne+$-z.height/2),!z.isLineHolder&&L(de)&&R(K,X,de,ge==="right"?J-z.width:ge==="center"?J-z.width/2:J,be-z.height/2,z.width,z.height);var Ce=z.textPadding;Ce&&(J=H(J,ge,Ce),be-=z.height/2-Ce[2]-z.textHeight/2),P(X,"shadowBlur",A(de.textShadowBlur,Y.textShadowBlur,0)),P(X,"shadowColor",de.textShadowColor||Y.textShadowColor||"transparent"),P(X,"shadowOffsetX",A(de.textShadowOffsetX,Y.textShadowOffsetX,0)),P(X,"shadowOffsetY",A(de.textShadowOffsetY,Y.textShadowOffsetY,0)),P(X,"textAlign",ge),P(X,"textBaseline","middle"),P(X,"font",z.font||t);var je=W(de.textStroke||Y.textStroke,ve),te=D(de.textFill||Y.textFill),ve=f(de.textStrokeWidth,Y.textStrokeWidth);je&&(P(X,"lineWidth",ve),P(X,"strokeStyle",je),X.strokeText(z.text,J,be)),te&&(P(X,"fillStyle",te),X.fillText(z.text,J,be))}function L(K){return!!(K.textBackgroundColor||K.textBorderWidth&&K.textBorderColor)}function R(K,X,z,Y,$,ne,J){var ge=z.textBackgroundColor,de=z.textBorderWidth,Ie=z.textBorderColor,be=p(ge);if(P(X,"shadowBlur",z.textBoxShadowBlur||0),P(X,"shadowColor",z.textBoxShadowColor||"transparent"),P(X,"shadowOffsetX",z.textBoxShadowOffsetX||0),P(X,"shadowOffsetY",z.textBoxShadowOffsetY||0),be||de&&Ie){X.beginPath();var Ce=z.textBorderRadius;Ce?l.buildPath(X,{x:Y,y:$,width:ne,height:J,r:Ce}):X.rect(Y,$,ne,J),X.closePath()}if(be)if(P(X,"fillStyle",ge),z.fillOpacity!=null){var je=X.globalAlpha;X.globalAlpha=z.fillOpacity*z.opacity,X.fill(),X.globalAlpha=je}else X.fill();else if(c(ge)){var te=ge.image;te=e.createOrUpdateImage(te,null,K,k,ge),te&&e.isImageReady(te)&&X.drawImage(te,Y,$,ne,J)}if(de&&Ie)if(P(X,"lineWidth",de),P(X,"strokeStyle",Ie),z.strokeOpacity!=null){var je=X.globalAlpha;X.globalAlpha=z.strokeOpacity*z.opacity,X.stroke(),X.globalAlpha=je}else X.stroke()}function k(K,X){X.image=K}function F(K,X,z,Y){var $=z.x||0,ne=z.y||0,J=z.textAlign,ge=z.textVerticalAlign;if(Y){var de=z.textPosition;if(de instanceof Array)$=Y.x+U(de[0],Y.width),ne=Y.y+U(de[1],Y.height);else{var Ie=X&&X.calculateTextPosition?X.calculateTextPosition(v,z,Y):h.calculateTextPosition(v,z,Y);$=Ie.x,ne=Ie.y,J=J||Ie.textAlign,ge=ge||Ie.textVerticalAlign}var be=z.textOffset;be&&($+=be[0],ne+=be[1])}return K=K||{},K.baseX=$,K.baseY=ne,K.textAlign=J,K.textVerticalAlign=ge,K}function P(K,X,z){return K[X]=n(K,X,z),K[X]}function W(K,X){return K==null||X<=0||K==="transparent"||K==="none"?null:K.image||K.colorStops?"#000":K}function D(K){return K==null||K==="none"?null:K.image||K.colorStops?"#000":K}function U(K,X){return typeof K=="string"?K.lastIndexOf("%")>=0?parseFloat(K)/100*X:parseFloat(K):K}function H(K,X,z){return X==="right"?K-z[1]:X==="center"?K+z[3]/2-z[1]/2:K+z[3]}function j(K,X){return K!=null&&(K||X.textBackgroundColor||X.textBorderWidth&&X.textBorderColor||X.textPadding)}B.normalizeTextStyle=S,B.renderText=E,B.getBoxPosition=F,B.getStroke=W,B.getFill=D,B.parsePercent=U,B.needDrawText=j},"q/+u":function(M,B,o){var w=o("ProS"),f=o("9wZj"),A=o("yWXo"),m=o("h8O9");w.extendChartView({type:"scatter",render:function(g,p,c){var h=g.getData(),l=this._updateSymbolDraw(h,g);l.updateData(h,{clipShape:this._getClipShape(g)}),this._finished=!0},incrementalPrepareRender:function(g,p,c){var h=g.getData(),l=this._updateSymbolDraw(h,g);l.incrementalPrepareUpdate(h),this._finished=!1},incrementalRender:function(g,p,c){this._symbolDraw.incrementalUpdate(g,p.getData(),{clipShape:this._getClipShape(p)}),this._finished=g.end===p.getData().count()},updateTransform:function(g,p,c){var h=g.getData();if(this.group.dirty(),!this._finished||h.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var l=m().reset(g);l.progress&&l.progress({start:0,end:h.count()},h),this._symbolDraw.updateLayout(h)},_getClipShape:function(g){var p=g.coordinateSystem,c=p&&p.getArea&&p.getArea();return g.get("clip",!0)?c:null},_updateSymbolDraw:function(g,p){var c=this._symbolDraw,h=p.pipelineContext,l=h.large;return(!c||l!==this._isLargeDraw)&&(c&&c.remove(),c=this._symbolDraw=l?new A:new f,this._isLargeDraw=l,this.group.removeAll()),this.group.add(c.group),c},remove:function(g,p){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(M,B){var o=["lineStyle","normal","opacity"],w={seriesType:"parallel",reset:function(f,A,m){var g=f.getModel("itemStyle"),p=f.getModel("lineStyle"),c=A.get("color"),h=p.get("color")||g.get("color")||c[f.seriesIndex%c.length],l=f.get("inactiveOpacity"),e=f.get("activeOpacity"),n=f.getModel("lineStyle").getLineStyle(),i=f.coordinateSystem,r=f.getData(),a={normal:n.opacity,active:e,inactive:l};r.setVisual("color",h);function t(s,u){i.eachActiveState(u,function(d,v){var y=a[d];if(d==="normal"&&u.hasItemOption){var S=u.getItemModel(v).get(o,!0);S!=null&&(y=S)}u.setItemVisual(v,"opacity",y)},s.start,s.end)}return{progress:t}}};M.exports=w},q4HE:function(M,B){var o="\\ud800-\\udfff",w="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",m=w+f+A,g="\\ufe0e\\ufe0f",p="["+o+"]",c="["+m+"]",h="\\ud83c[\\udffb-\\udfff]",l="(?:"+c+"|"+h+")",e="[^"+o+"]",n="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",a=l+"?",t="["+g+"]?",s="(?:"+r+"(?:"+[e,n,i].join("|")+")"+t+a+")*",u=t+a+s,d="(?:"+[e+c+"?",c,n,i,p].join("|")+")",v=RegExp(h+"(?="+h+")|"+d+u,"g");function y(S){for(var b=v.lastIndex=0;v.test(S);)++b;return b}M.exports=y},q7KB:function(M,B,o){},qH13:function(M,B,o){var w=o("ItGF"),f=o("QBsz"),A=f.applyTransform,m=o("mFDi"),g=o("Qe9p"),p=o("6GrX"),c=o("pzxd"),h=o("ni6a"),l=o("Gev7"),e=o("Dagg"),n=o("dqUG"),i=o("y+Vt"),r=o("IMiH"),a=o("QuXc"),t=o("06Qe"),s=r.CMD,u=Math.round,d=Math.sqrt,v=Math.abs,y=Math.cos,S=Math.sin,b=Math.max;if(!w.canvasSupported){var E=",",C="progid:DXImageTransform.Microsoft",T=21600,x=T/2,_=1e5,I=1e3,L=function(Ue){Ue.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",Ue.coordsize=T+","+T,Ue.coordorigin="0,0"},R=function(Ue){return String(Ue).replace(/&/g,"&").replace(/"/g,""")},k=function(Ue,ue,Ne){return"rgb("+[Ue,ue,Ne].join(",")+")"},F=function(Ue,ue){ue&&Ue&&ue.parentNode!==Ue&&Ue.appendChild(ue)},P=function(Ue,ue){ue&&Ue&&ue.parentNode===Ue&&Ue.removeChild(ue)},W=function(Ue,ue,Ne){return(parseFloat(Ue)||0)*_+(parseFloat(ue)||0)*I+Ne},D=c.parsePercent,U=function(Ue,ue,Ne){var Fe=g.parse(ue);Ne=+Ne,isNaN(Ne)&&(Ne=1),Fe&&(Ue.color=k(Fe[0],Fe[1],Fe[2]),Ue.opacity=Ne*Fe[3])},H=function(Ue){var ue=g.parse(Ue);return[k(ue[0],ue[1],ue[2]),ue[3]]},j=function(Ue,ue,Ne){var Fe=ue.fill;if(Fe!=null)if(Fe instanceof a){var ae,ce=0,_e=[0,0],ze=0,it=1,Ze=Ne.getBoundingRect(),Ee=Ze.width,mt=Ze.height;if(Fe.type==="linear"){ae="gradient";var Je=Ne.transform,rt=[Fe.x*Ee,Fe.y*mt],wt=[Fe.x2*Ee,Fe.y2*mt];Je&&(A(rt,rt,Je),A(wt,wt,Je));var Ot=wt[0]-rt[0],Ct=wt[1]-rt[1];ce=Math.atan2(Ot,Ct)*180/Math.PI,ce<0&&(ce+=360),ce<1e-6&&(ce=0)}else{ae="gradientradial";var rt=[Fe.x*Ee,Fe.y*mt],Je=Ne.transform,Dt=Ne.scale,Xe=Ee,q=mt;_e=[(rt[0]-Ze.x)/Xe,(rt[1]-Ze.y)/q],Je&&A(rt,rt,Je),Xe/=Dt[0]*T,q/=Dt[1]*T;var V=b(Xe,q);ze=2*0/V,it=2*Fe.r/V-ze}var Ae=Fe.colorStops.slice();Ae.sort(function(xt,It){return xt.offset-It.offset});for(var xe=Ae.length,re=[],ot=[],bt=0;bt<xe;bt++){var tt=Ae[bt],Tt=H(tt.color);ot.push(tt.offset*it+ze+" "+Tt[0]),(bt===0||bt===xe-1)&&re.push(Tt)}if(xe>=2){var Gt=re[0][0],lr=re[1][0],pr=re[0][1]*ue.opacity,Rr=re[1][1]*ue.opacity;Ue.type=ae,Ue.method="none",Ue.focus="100%",Ue.angle=ce,Ue.color=Gt,Ue.color2=lr,Ue.colors=ot.join(","),Ue.opacity=Rr,Ue.opacity2=pr}ae==="radial"&&(Ue.focusposition=_e.join(","))}else U(Ue,Fe,ue.opacity)},K=function(Ue,ue){ue.lineDash&&(Ue.dashstyle=ue.lineDash.join(" ")),ue.stroke!=null&&!(ue.stroke instanceof a)&&U(Ue,ue.stroke,ue.opacity)},X=function(Ue,ue,Ne,Fe){var ae=ue==="fill",ce=Ue.getElementsByTagName(ue)[0];Ne[ue]!=null&&Ne[ue]!=="none"&&(ae||!ae&&Ne.lineWidth)?(Ue[ae?"filled":"stroked"]="true",Ne[ue]instanceof a&&P(Ue,ce),ce||(ce=t.createNode(ue)),ae?j(ce,Ne,Fe):K(ce,Ne),F(Ue,ce)):(Ue[ae?"filled":"stroked"]="false",P(Ue,ce))},z=[[],[],[]],Y=function(Ue,ue){var Ne=s.M,Fe=s.C,ae=s.L,ce=s.A,_e=s.Q,ze=[],it,Ze,Ee,mt,Je,rt,wt=Ue.data,Ot=Ue.len();for(mt=0;mt<Ot;){Ee=wt[mt++],Ze="",it=0;switch(Ee){case Ne:Ze=" m ",it=1,Je=wt[mt++],rt=wt[mt++],z[0][0]=Je,z[0][1]=rt;break;case ae:Ze=" l ",it=1,Je=wt[mt++],rt=wt[mt++],z[0][0]=Je,z[0][1]=rt;break;case _e:case Fe:Ze=" c ",it=3;var Ct=wt[mt++],Dt=wt[mt++],Xe=wt[mt++],q=wt[mt++],V,Ae;Ee===_e?(V=Xe,Ae=q,Xe=(Xe+2*Ct)/3,q=(q+2*Dt)/3,Ct=(Je+2*Ct)/3,Dt=(rt+2*Dt)/3):(V=wt[mt++],Ae=wt[mt++]),z[0][0]=Ct,z[0][1]=Dt,z[1][0]=Xe,z[1][1]=q,z[2][0]=V,z[2][1]=Ae,Je=V,rt=Ae;break;case ce:var xe=0,re=0,ot=1,bt=1,tt=0;ue&&(xe=ue[4],re=ue[5],ot=d(ue[0]*ue[0]+ue[1]*ue[1]),bt=d(ue[2]*ue[2]+ue[3]*ue[3]),tt=Math.atan2(-ue[1]/bt,ue[0]/ot));var Tt=wt[mt++],Gt=wt[mt++],lr=wt[mt++],pr=wt[mt++],Rr=wt[mt++]+tt,xt=wt[mt++]+Rr+tt;mt++;var It=wt[mt++],At=Tt+y(Rr)*lr,Zt=Gt+S(Rr)*pr,Ct=Tt+y(xt)*lr,Dt=Gt+S(xt)*pr,br=It?" wa ":" at ";Math.abs(At-Ct)<1e-4&&(Math.abs(xt-Rr)>.01?It&&(At+=270/T):Math.abs(Zt-Gt)<1e-4?It&&At<Tt||!It&&At>Tt?Dt-=270/T:Dt+=270/T:It&&Zt<Gt||!It&&Zt>Gt?Ct+=270/T:Ct-=270/T),ze.push(br,u(((Tt-lr)*ot+xe)*T-x),E,u(((Gt-pr)*bt+re)*T-x),E,u(((Tt+lr)*ot+xe)*T-x),E,u(((Gt+pr)*bt+re)*T-x),E,u((At*ot+xe)*T-x),E,u((Zt*bt+re)*T-x),E,u((Ct*ot+xe)*T-x),E,u((Dt*bt+re)*T-x)),Je=Ct,rt=Dt;break;case s.R:var Lr=z[0],Jr=z[1];Lr[0]=wt[mt++],Lr[1]=wt[mt++],Jr[0]=Lr[0]+wt[mt++],Jr[1]=Lr[1]+wt[mt++],ue&&(A(Lr,Lr,ue),A(Jr,Jr,ue)),Lr[0]=u(Lr[0]*T-x),Jr[0]=u(Jr[0]*T-x),Lr[1]=u(Lr[1]*T-x),Jr[1]=u(Jr[1]*T-x),ze.push(" m ",Lr[0],E,Lr[1]," l ",Jr[0],E,Lr[1]," l ",Jr[0],E,Jr[1]," l ",Lr[0],E,Jr[1]);break;case s.Z:ze.push(" x ")}if(it>0){ze.push(Ze);for(var In=0;In<it;In++){var Gr=z[In];ue&&A(Gr,Gr,ue),ze.push(u(Gr[0]*T-x),E,u(Gr[1]*T-x),In<it-1?E:"")}}}return ze.join("")};i.prototype.brushVML=function(se){var Ue=this.style,ue=this._vmlEl;ue||(ue=t.createNode("shape"),L(ue),this._vmlEl=ue),X(ue,"fill",Ue,this),X(ue,"stroke",Ue,this);var Ne=this.transform,Fe=Ne!=null,ae=ue.getElementsByTagName("stroke")[0];if(ae){var ce=Ue.lineWidth;if(Fe&&!Ue.strokeNoScale){var _e=Ne[0]*Ne[3]-Ne[1]*Ne[2];ce*=d(v(_e))}ae.weight=ce+"px"}var ze=this.path||(this.path=new r);this.__dirtyPath&&(ze.beginPath(),ze.subPixelOptimize=!1,this.buildPath(ze,this.shape),ze.toStatic(),this.__dirtyPath=!1),ue.path=Y(ze,this.transform),ue.style.zIndex=W(this.zlevel,this.z,this.z2),F(se,ue),Ue.text!=null?this.drawRectText(se,this.getBoundingRect()):this.removeRectText(se)},i.prototype.onRemove=function(se){P(se,this._vmlEl),this.removeRectText(se)},i.prototype.onAdd=function(se){F(se,this._vmlEl),this.appendRectText(se)};var $=function(Ue){return typeof Ue=="object"&&Ue.tagName&&Ue.tagName.toUpperCase()==="IMG"};e.prototype.brushVML=function(se){var Ue=this.style,ue=Ue.image,Ne,Fe;if($(ue)){var ae=ue.src;if(ae===this._imageSrc)Ne=this._imageWidth,Fe=this._imageHeight;else{var ce=ue.runtimeStyle,_e=ce.width,ze=ce.height;ce.width="auto",ce.height="auto",Ne=ue.width,Fe=ue.height,ce.width=_e,ce.height=ze,this._imageSrc=ae,this._imageWidth=Ne,this._imageHeight=Fe}ue=ae}else ue===this._imageSrc&&(Ne=this._imageWidth,Fe=this._imageHeight);if(!ue)return;var it=Ue.x||0,Ze=Ue.y||0,Ee=Ue.width,mt=Ue.height,Je=Ue.sWidth,rt=Ue.sHeight,wt=Ue.sx||0,Ot=Ue.sy||0,Ct=Je&&rt,Dt=this._vmlEl;Dt||(Dt=t.doc.createElement("div"),L(Dt),this._vmlEl=Dt);var Xe=Dt.style,q=!1,V,Ae=1,xe=1;if(this.transform&&(V=this.transform,Ae=d(V[0]*V[0]+V[1]*V[1]),xe=d(V[2]*V[2]+V[3]*V[3]),q=V[1]||V[2]),q){var re=[it,Ze],ot=[it+Ee,Ze],bt=[it,Ze+mt],tt=[it+Ee,Ze+mt];A(re,re,V),A(ot,ot,V),A(bt,bt,V),A(tt,tt,V);var Tt=b(re[0],ot[0],bt[0],tt[0]),Gt=b(re[1],ot[1],bt[1],tt[1]),lr=[];lr.push("M11=",V[0]/Ae,E,"M12=",V[2]/xe,E,"M21=",V[1]/Ae,E,"M22=",V[3]/xe,E,"Dx=",u(it*Ae+V[4]),E,"Dy=",u(Ze*xe+V[5])),Xe.padding="0 "+u(Tt)+"px "+u(Gt)+"px 0",Xe.filter=C+".Matrix("+lr.join("")+", SizingMethod=clip)"}else V&&(it=it*Ae+V[4],Ze=Ze*xe+V[5]),Xe.filter="",Xe.left=u(it)+"px",Xe.top=u(Ze)+"px";var pr=this._imageEl,Rr=this._cropEl;pr||(pr=t.doc.createElement("div"),this._imageEl=pr);var xt=pr.style;if(Ct){if(Ne&&Fe)xt.width=u(Ae*Ne*Ee/Je)+"px",xt.height=u(xe*Fe*mt/rt)+"px";else{var It=new Image,At=this;It.onload=function(){It.onload=null,Ne=It.width,Fe=It.height,xt.width=u(Ae*Ne*Ee/Je)+"px",xt.height=u(xe*Fe*mt/rt)+"px",At._imageWidth=Ne,At._imageHeight=Fe,At._imageSrc=ue},It.src=ue}Rr||(Rr=t.doc.createElement("div"),Rr.style.overflow="hidden",this._cropEl=Rr);var Zt=Rr.style;Zt.width=u((Ee+wt*Ee/Je)*Ae),Zt.height=u((mt+Ot*mt/rt)*xe),Zt.filter=C+".Matrix(Dx="+-wt*Ee/Je*Ae+",Dy="+-Ot*mt/rt*xe+")",Rr.parentNode||Dt.appendChild(Rr),pr.parentNode!==Rr&&Rr.appendChild(pr)}else xt.width=u(Ae*Ee)+"px",xt.height=u(xe*mt)+"px",Dt.appendChild(pr),Rr&&Rr.parentNode&&(Dt.removeChild(Rr),this._cropEl=null);var br="",Lr=Ue.opacity;Lr<1&&(br+=".Alpha(opacity="+u(Lr*100)+") "),br+=C+".AlphaImageLoader(src="+ue+", SizingMethod=scale)",xt.filter=br,Dt.style.zIndex=W(this.zlevel,this.z,this.z2),F(se,Dt),Ue.text!=null&&this.drawRectText(se,this.getBoundingRect())},e.prototype.onRemove=function(se){P(se,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(se)},e.prototype.onAdd=function(se){F(se,this._vmlEl),this.appendRectText(se)};var ne="normal",J={},ge=0,de=100,Ie=document.createElement("div"),be=function(Ue){var ue=J[Ue];if(!ue){ge>de&&(ge=0,J={});var Ne=Ie.style,Fe;try{Ne.font=Ue,Fe=Ne.fontFamily.split(",")[0]}catch(ae){}ue={style:Ne.fontStyle||ne,variant:Ne.fontVariant||ne,weight:Ne.fontWeight||ne,size:parseFloat(Ne.fontSize||12)|0,family:Fe||"Microsoft YaHei"},J[Ue]=ue,ge++}return ue},Ce;p.$override("measureText",function(se,Ue){var ue=t.doc;Ce||(Ce=ue.createElement("div"),Ce.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",t.doc.body.appendChild(Ce));try{Ce.style.font=Ue}catch(Ne){}return Ce.innerHTML="",Ce.appendChild(ue.createTextNode(se)),{width:Ce.offsetWidth}});for(var je=new m,te=function(Ue,ue,Ne,Fe){var ae=this.style;this.__dirty&&c.normalizeTextStyle(ae,!0);var ce=ae.text;if(ce!=null&&(ce+=""),!ce)return;if(ae.rich){var _e=p.parseRichText(ce,ae);ce=[];for(var ze=0;ze<_e.lines.length;ze++){for(var it=_e.lines[ze].tokens,Ze=[],Ee=0;Ee<it.length;Ee++)Ze.push(it[Ee].text);ce.push(Ze.join(""))}ce=ce.join(`
|
|
|
`)}var mt,Je,rt=ae.textAlign,wt=ae.textVerticalAlign,Ot=be(ae.font),Ct=Ot.style+" "+Ot.variant+" "+Ot.weight+" "+Ot.size+'px "'+Ot.family+'"';Ne=Ne||p.getBoundingRect(ce,Ct,rt,wt,ae.textPadding,ae.textLineHeight);var Dt=this.transform;if(Dt&&!Fe&&(je.copy(ue),je.applyTransform(Dt),ue=je),Fe)mt=ue.x,Je=ue.y;else{var Xe=ae.textPosition;if(Xe instanceof Array)mt=ue.x+D(Xe[0],ue.width),Je=ue.y+D(Xe[1],ue.height),rt=rt||"left";else{var q=this.calculateTextPosition?this.calculateTextPosition({},ae,ue):p.calculateTextPosition({},ae,ue);mt=q.x,Je=q.y,rt=rt||q.textAlign,wt=wt||q.textVerticalAlign}}mt=p.adjustTextX(mt,Ne.width,rt),Je=p.adjustTextY(Je,Ne.height,wt),Je+=Ne.height/2;var V=t.createNode,Ae=this._textVmlEl,xe,re,ot;Ae?(ot=Ae.firstChild,xe=ot.nextSibling,re=xe.nextSibling):(Ae=V("line"),xe=V("path"),re=V("textpath"),ot=V("skew"),re.style["v-text-align"]="left",L(Ae),xe.textpathok=!0,re.on=!0,Ae.from="0 0",Ae.to="1000 0.05",F(Ae,ot),F(Ae,xe),F(Ae,re),this._textVmlEl=Ae);var bt=[mt,Je],tt=Ae.style;Dt&&Fe?(A(bt,bt,Dt),ot.on=!0,ot.matrix=Dt[0].toFixed(3)+E+Dt[2].toFixed(3)+E+Dt[1].toFixed(3)+E+Dt[3].toFixed(3)+",0,0",ot.offset=(u(bt[0])||0)+","+(u(bt[1])||0),ot.origin="0 0",tt.left="0px",tt.top="0px"):(ot.on=!1,tt.left=u(mt)+"px",tt.top=u(Je)+"px"),re.string=R(ce);try{re.style.font=Ct}catch(Tt){}X(Ae,"fill",{fill:ae.textFill,opacity:ae.opacity},this),X(Ae,"stroke",{stroke:ae.textStroke,opacity:ae.opacity,lineDash:ae.lineDash||null},this),Ae.style.zIndex=W(this.zlevel,this.z,this.z2),F(Ue,Ae)},ve=function(Ue){P(Ue,this._textVmlEl),this._textVmlEl=null},$e=function(Ue){F(Ue,this._textVmlEl)},Le=[h,l,e,i,n],he=0;he<Le.length;he++){var ee=Le[he].prototype;ee.drawRectText=te,ee.removeRectText=ve,ee.appendRectText=$e}n.prototype.brushVML=function(se){var Ue=this.style;Ue.text!=null?this.drawRectText(se,{x:Ue.x||0,y:Ue.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(se)},n.prototype.onRemove=function(se){this.removeRectText(se)},n.prototype.onAdd=function(se){this.appendRectText(se)}}},qJCg:function(M,B,o){var w=o("BlVb"),f=o("mFDi"),A=o("IwbS"),m=A.linePolygonIntersect,g={lineX:p(0),lineY:p(1),rect:{point:function(l,e,n){return l&&n.boundingRect.contain(l[0],l[1])},rect:function(l,e,n){return l&&n.boundingRect.intersect(l)}},polygon:{point:function(l,e,n){return l&&n.boundingRect.contain(l[0],l[1])&&w.contain(n.range,l[0],l[1])},rect:function(l,e,n){var i=n.range;if(!l||i.length<=1)return!1;var r=l.x,a=l.y,t=l.width,s=l.height,u=i[0];if(w.contain(i,r,a)||w.contain(i,r+t,a)||w.contain(i,r,a+s)||w.contain(i,r+t,a+s)||f.create(l).contain(u[0],u[1])||m(r,a,r+t,a,i)||m(r,a,r,a+s,i)||m(r+t,a,r+t,a+s,i)||m(r,a+s,r+t,a+s,i))return!0}}};function p(l){var e=["x","y"],n=["width","height"];return{point:function(i,r,a){if(i){var t=a.range,s=i[l];return c(s,t)}},rect:function(i,r,a){if(i){var t=a.range,s=[i[e[l]],i[e[l]]+i[n[l]]];return s[1]<s[0]&&s.reverse(),c(s[0],t)||c(s[1],t)||c(t[0],s)||c(t[1],s)}}}}function c(l,e){return e[0]<=l&&l<=e[1]}var h=g;M.exports=h},qK71:function(M,B,o){},qMZE:function(M,B,o){var w=o("JEkh"),f=w.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}}}});M.exports=f},qNPg:function(M,B,o){"use strict";o.d(B,"a",function(){return $});var w=o("wx14"),f=o("rePB"),A=o("VTBJ"),m=o("KQm4"),g=o("ODXe"),p=o("Ff2n"),c=o("q1tI"),h=o("4IlW"),l=o("5Z9U"),e=o("c+Xe"),n=o("TSYQ"),i=o.n(n),r=o("6cGi"),a=o("bX4T"),t=o("8z13"),s=o("8OUc"),u=function(J,ge){var de,Ie,be=J.prefixCls,Ce=J.id,je=J.inputElement,te=J.disabled,ve=J.tabIndex,$e=J.autoFocus,Le=J.autoComplete,he=J.editable,ee=J.accessibilityIndex,se=J.value,Ue=J.maxLength,ue=J.onKeyDown,Ne=J.onMouseDown,Fe=J.onChange,ae=J.onPaste,ce=J.onCompositionStart,_e=J.onCompositionEnd,ze=J.open,it=J.attrs,Ze=je||c.createElement("input",null),Ee=Ze,mt=Ee.ref,Je=Ee.props,rt=Je.onKeyDown,wt=Je.onChange,Ot=Je.onMouseDown,Ct=Je.onCompositionStart,Dt=Je.onCompositionEnd,Xe=Je.style;return Ze=c.cloneElement(Ze,Object(A.a)(Object(A.a)({id:Ce,ref:Object(e.a)(ge,mt),disabled:te,tabIndex:ve,autoComplete:Le||"off",type:"search",autoFocus:$e,className:i()("".concat(be,"-selection-search-input"),(de=Ze)===null||de===void 0||((Ie=de.props)===null||Ie===void 0)?void 0:Ie.className),style:Object(A.a)(Object(A.a)({},Xe),{},{opacity:he?null:0}),role:"combobox","aria-expanded":ze,"aria-haspopup":"listbox","aria-owns":"".concat(Ce,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ce,"_list"),"aria-activedescendant":"".concat(Ce,"_list_").concat(ee)},it),{},{value:he?se:"",maxLength:Ue,readOnly:!he,unselectable:he?null:"on",onKeyDown:function(V){ue(V),rt&&rt(V)},onMouseDown:function(V){Ne(V),Ot&&Ot(V)},onChange:function(V){Fe(V),wt&&wt(V)},onCompositionStart:function(V){ce(V),Ct&&Ct(V)},onCompositionEnd:function(V){_e(V),Dt&&Dt(V)},onPaste:ae})),Ze},d=c.forwardRef(u);d.displayName="Input";var v=d,y=o("WKfj");function S(ne,J){y.b?c.useLayoutEffect(ne,J):c.useEffect(ne,J)}var b=function(J){J.preventDefault(),J.stopPropagation()},E=function(J){var ge=J.id,de=J.prefixCls,Ie=J.values,be=J.open,Ce=J.searchValue,je=J.inputRef,te=J.placeholder,ve=J.disabled,$e=J.mode,Le=J.showSearch,he=J.autoFocus,ee=J.autoComplete,se=J.accessibilityIndex,Ue=J.tabIndex,ue=J.removeIcon,Ne=J.maxTagCount,Fe=J.maxTagTextLength,ae=J.maxTagPlaceholder,ce=ae===void 0?function(It){return"+ ".concat(It.length," ...")}:ae,_e=J.tagRender,ze=J.onToggleOpen,it=J.onSelect,Ze=J.onInputChange,Ee=J.onInputPaste,mt=J.onInputKeyDown,Je=J.onInputMouseDown,rt=J.onInputCompositionStart,wt=J.onInputCompositionEnd,Ot=c.useRef(null),Ct=Object(c.useState)(0),Dt=Object(g.a)(Ct,2),Xe=Dt[0],q=Dt[1],V=Object(c.useState)(!1),Ae=Object(g.a)(V,2),xe=Ae[0],re=Ae[1],ot="".concat(de,"-selection"),bt=be||$e==="tags"?Ce:"",tt=$e==="tags"||Le&&(be||xe);S(function(){q(Ot.current.scrollWidth)},[bt]);function Tt(It,At,Zt,br){return c.createElement("span",{className:i()("".concat(ot,"-item"),Object(f.a)({},"".concat(ot,"-item-disabled"),At))},c.createElement("span",{className:"".concat(ot,"-item-content")},It),Zt&&c.createElement(s.a,{className:"".concat(ot,"-item-remove"),onMouseDown:b,onClick:br,customizeIcon:ue},"\xD7"))}function Gt(It,At,Zt,br,Lr){var Jr=function(Gr){b(Gr),ze(!be)};return c.createElement("span",{onMouseDown:Jr},_e({label:At,value:It,disabled:Zt,closable:br,onClose:Lr}))}function lr(It){var At=It.disabled,Zt=It.label,br=It.value,Lr=!ve&&!At,Jr=Zt;if(typeof Fe=="number"&&(typeof Zt=="string"||typeof Zt=="number")){var In=String(Jr);In.length>Fe&&(Jr="".concat(In.slice(0,Fe),"..."))}var Gr=function(fr){fr&&fr.stopPropagation(),it(br,{selected:!1})};return typeof _e=="function"?Gt(br,Jr,At,Lr,Gr):Tt(Jr,At,Lr,Gr)}function pr(It){var At=typeof ce=="function"?ce(It):ce;return Tt(At,!1)}var Rr=c.createElement("div",{className:"".concat(ot,"-search"),style:{width:Xe},onFocus:function(){re(!0)},onBlur:function(){re(!1)}},c.createElement(v,{ref:je,open:be,prefixCls:de,id:ge,inputElement:null,disabled:ve,autoFocus:he,autoComplete:ee,editable:tt,accessibilityIndex:se,value:bt,onKeyDown:mt,onMouseDown:Je,onChange:Ze,onPaste:Ee,onCompositionStart:rt,onCompositionEnd:wt,tabIndex:Ue,attrs:Object(a.a)(J,!0)}),c.createElement("span",{ref:Ot,className:"".concat(ot,"-search-mirror"),"aria-hidden":!0},bt,"\xA0")),xt=c.createElement(t.a,{prefixCls:"".concat(ot,"-overflow"),data:Ie,renderItem:lr,renderRest:pr,suffix:Rr,itemKey:"key",maxCount:Ne});return c.createElement(c.Fragment,null,xt,!Ie.length&&!bt&&c.createElement("span",{className:"".concat(ot,"-placeholder")},te))},C=E,T=function(J){var ge=J.inputElement,de=J.prefixCls,Ie=J.id,be=J.inputRef,Ce=J.disabled,je=J.autoFocus,te=J.autoComplete,ve=J.accessibilityIndex,$e=J.mode,Le=J.open,he=J.values,ee=J.placeholder,se=J.tabIndex,Ue=J.showSearch,ue=J.searchValue,Ne=J.activeValue,Fe=J.maxLength,ae=J.onInputKeyDown,ce=J.onInputMouseDown,_e=J.onInputChange,ze=J.onInputPaste,it=J.onInputCompositionStart,Ze=J.onInputCompositionEnd,Ee=c.useState(!1),mt=Object(g.a)(Ee,2),Je=mt[0],rt=mt[1],wt=$e==="combobox",Ot=wt||Ue,Ct=he[0],Dt=ue||"";wt&&Ne&&!Je&&(Dt=Ne),c.useEffect(function(){wt&&rt(!1)},[wt,Ne]);var Xe=$e!=="combobox"&&!Le?!1:!!Dt,q=Ct&&(typeof Ct.label=="string"||typeof Ct.label=="number")?Ct.label.toString():void 0;return c.createElement(c.Fragment,null,c.createElement("span",{className:"".concat(de,"-selection-search")},c.createElement(v,{ref:be,prefixCls:de,id:Ie,open:Le,inputElement:ge,disabled:Ce,autoFocus:je,autoComplete:te,editable:Ot,accessibilityIndex:ve,value:Dt,onKeyDown:ae,onMouseDown:ce,onChange:function(Ae){rt(!0),_e(Ae)},onPaste:ze,onCompositionStart:it,onCompositionEnd:Ze,tabIndex:se,attrs:Object(a.a)(J,!0),maxLength:wt?Fe:void 0})),!wt&&Ct&&!Xe&&c.createElement("span",{className:"".concat(de,"-selection-item"),title:q},Ct.label),!Ct&&!Xe&&c.createElement("span",{className:"".concat(de,"-selection-placeholder")},ee))},x=T;function _(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,J=c.useRef(null),ge=c.useRef(null);c.useEffect(function(){return function(){window.clearTimeout(ge.current)}},[]);function de(Ie){(Ie||J.current===null)&&(J.current=Ie),window.clearTimeout(ge.current),ge.current=window.setTimeout(function(){J.current=null},ne)}return[function(){return J.current},de]}var I=function(J,ge){var de=Object(c.useRef)(null),Ie=Object(c.useRef)(!1),be=J.prefixCls,Ce=J.multiple,je=J.open,te=J.mode,ve=J.showSearch,$e=J.tokenWithEnter,Le=J.onSearch,he=J.onSearchSubmit,ee=J.onToggleOpen,se=J.onInputKeyDown,Ue=J.domRef;c.useImperativeHandle(ge,function(){return{focus:function(){de.current.focus()},blur:function(){de.current.blur()}}});var ue=_(0),Ne=Object(g.a)(ue,2),Fe=Ne[0],ae=Ne[1],ce=function(Xe){var q=Xe.which;(q===h.a.UP||q===h.a.DOWN)&&Xe.preventDefault(),se&&se(Xe),q===h.a.ENTER&&te==="tags"&&!Ie.current&&!je&&he(Xe.target.value),[h.a.SHIFT,h.a.TAB,h.a.BACKSPACE,h.a.ESC].includes(q)||ee(!0)},_e=function(){ae(!0)},ze=Object(c.useRef)(null),it=function(Xe){Le(Xe,!0,Ie.current)!==!1&&ee(!0)},Ze=function(){Ie.current=!0},Ee=function(Xe){Ie.current=!1,te!=="combobox"&&it(Xe.target.value)},mt=function(Xe){var q=Xe.target.value;if($e&&ze.current&&/[\r\n]/.test(ze.current)){var V=ze.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");q=q.replace(V,ze.current)}ze.current=null,it(q)},Je=function(Xe){var q=Xe.clipboardData,V=q.getData("text");ze.current=V},rt=function(Xe){var q=Xe.target;if(q!==de.current){var V=document.body.style.msTouchAction!==void 0;V?setTimeout(function(){de.current.focus()}):de.current.focus()}},wt=function(Xe){var q=Fe();Xe.target!==de.current&&!q&&Xe.preventDefault(),(te!=="combobox"&&(!ve||!q)||!je)&&(je&&Le("",!0,!1),ee())},Ot={inputRef:de,onInputKeyDown:ce,onInputMouseDown:_e,onInputChange:mt,onInputPaste:Je,onInputCompositionStart:Ze,onInputCompositionEnd:Ee},Ct=Ce?c.createElement(C,Object(w.a)({},J,Ot)):c.createElement(x,Object(w.a)({},J,Ot));return c.createElement("div",{ref:Ue,className:"".concat(be,"-selector"),onClick:rt,onMouseDown:wt},Ct)},L=c.forwardRef(I);L.displayName="Selector";var R=L,k=o("uciX"),F=function(J){var ge=typeof J!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ge,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ge,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ge,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ge,adjustY:1}}}},P=function(J,ge){var de=J.prefixCls,Ie=J.disabled,be=J.visible,Ce=J.children,je=J.popupElement,te=J.containerWidth,ve=J.animation,$e=J.transitionName,Le=J.dropdownStyle,he=J.dropdownClassName,ee=J.direction,se=ee===void 0?"ltr":ee,Ue=J.dropdownMatchSelectWidth,ue=Ue===void 0?!0:Ue,Ne=J.dropdownRender,Fe=J.dropdownAlign,ae=J.getPopupContainer,ce=J.empty,_e=J.getTriggerDOMNode,ze=J.onPopupVisibleChange,it=Object(p.a)(J,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange"]),Ze="".concat(de,"-dropdown"),Ee=je;Ne&&(Ee=Ne(je));var mt=c.useMemo(function(){return F(ue)},[ue]),Je=ve?"".concat(Ze,"-").concat(ve):$e,rt=c.useRef(null);c.useImperativeHandle(ge,function(){return{getPopupElement:function(){return rt.current}}});var wt=Object(A.a)({minWidth:te},Le);return typeof ue=="number"?wt.width=ue:ue&&(wt.width=te),c.createElement(k.a,Object(w.a)({},it,{showAction:ze?["click"]:[],hideAction:ze?["click"]:[],popupPlacement:se==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:mt,prefixCls:Ze,popupTransitionName:Je,popup:c.createElement("div",{ref:rt},Ee),popupAlign:Fe,popupVisible:be,getPopupContainer:ae,popupClassName:i()(he,Object(f.a)({},"".concat(Ze,"-empty"),ce)),popupStyle:wt,getTriggerDOMNode:_e,onPopupVisibleChange:ze}),Ce)},W=c.forwardRef(P);W.displayName="SelectTrigger";var D=W,U=o("wPlo");function H(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,J=c.useState(!1),ge=Object(g.a)(J,2),de=ge[0],Ie=ge[1],be=c.useRef(null),Ce=function(){window.clearTimeout(be.current)};c.useEffect(function(){return Ce},[]);var je=function(ve,$e){Ce(),be.current=window.setTimeout(function(){Ie(ve),$e&&$e()},ne)};return[de,je,Ce]}var j=o("2Qr1");function K(ne,J,ge){var de=c.useRef(null);de.current={open:J,triggerOpen:ge},c.useEffect(function(){function Ie(be){var Ce=be.target;Ce.shadowRoot&&be.composed&&(Ce=be.composedPath()[0]||Ce),de.current.open&&ne().filter(function(je){return je}).every(function(je){return!je.contains(Ce)&&je!==Ce})&&de.current.triggerOpen(!1)}return window.addEventListener("mousedown",Ie),function(){return window.removeEventListener("mousedown",Ie)}},[])}function X(ne){var J=c.useRef(ne),ge=c.useMemo(function(){var de=new Map;J.current.forEach(function(be){var Ce=be.value,je=be.label;Ce!==je&&de.set(Ce,je)});var Ie=ne.map(function(be){var Ce=de.get(be.value);return be.isCacheable&&Ce?Object(A.a)(Object(A.a)({},be),{},{label:Ce}):be});return J.current=Ie,Ie},[ne]);return ge}function z(ne){var J=c.useRef(null),ge=c.useMemo(function(){var Ie=new Map;return ne.forEach(function(be){var Ce=be.data.value;Ie.set(Ce,be)}),Ie},[ne]);J.current=ge;var de=function(be){return be.map(function(Ce){return J.current.get(Ce)}).filter(Boolean)};return de}var Y=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","tabIndex"];function $(ne){var J=ne.prefixCls,ge=ne.components.optionList,de=ne.convertChildrenToData,Ie=ne.flattenOptions,be=ne.getLabeledValue,Ce=ne.filterOptions,je=ne.isValueDisabled,te=ne.findValueOption,ve=ne.warningProps,$e=ne.fillOptionsWithMissingValue,Le=ne.omitDOMProps;function he(se,Ue){var ue,Ne=se.prefixCls,Fe=Ne===void 0?J:Ne,ae=se.className,ce=se.id,_e=se.open,ze=se.defaultOpen,it=se.options,Ze=se.children,Ee=se.mode,mt=se.value,Je=se.defaultValue,rt=se.labelInValue,wt=se.showSearch,Ot=se.inputValue,Ct=se.searchValue,Dt=se.filterOption,Xe=se.filterSort,q=se.optionFilterProp,V=q===void 0?"value":q,Ae=se.autoClearSearchValue,xe=Ae===void 0?!0:Ae,re=se.onSearch,ot=se.allowClear,bt=se.clearIcon,tt=se.showArrow,Tt=se.inputIcon,Gt=se.menuItemSelectedIcon,lr=se.disabled,pr=se.loading,Rr=se.defaultActiveFirstOption,xt=se.notFoundContent,It=xt===void 0?"Not Found":xt,At=se.optionLabelProp,Zt=se.backfill,br=se.tabIndex,Lr=se.getInputElement,Jr=se.getRawInputElement,In=se.getPopupContainer,Gr=se.listHeight,Tr=Gr===void 0?200:Gr,fr=se.listItemHeight,vt=fr===void 0?20:fr,ft=se.animation,Te=se.transitionName,Pe=se.virtual,Ge=se.dropdownStyle,st=se.dropdownClassName,Bt=se.dropdownMatchSelectWidth,$t=se.dropdownRender,Nr=se.dropdownAlign,yn=se.showAction,un=yn===void 0?[]:yn,Kt=se.direction,St=se.tokenSeparators,kt=se.tagRender,Jt=se.onPopupScroll,Br=se.onDropdownVisibleChange,Hr=se.onFocus,$r=se.onBlur,Ft=se.onKeyUp,cr=se.onKeyDown,Cr=se.onMouseDown,Fr=se.onChange,Wr=se.onSelect,An=se.onDeselect,bn=se.onClear,Sn=se.internalProps,kn=Sn===void 0?{}:Sn,ei=Object(p.a)(se,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","filterSort","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","tabIndex","getInputElement","getRawInputElement","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"]),Jn=kn.mark===U.a,ai=Le?Le(ei):ei;Y.forEach(function(_i){delete ai[_i]});var ii=Object(c.useRef)(null),qe=Object(c.useRef)(null),Se=Object(c.useRef)(null),Me=Object(c.useRef)(null),Be=Object(c.useMemo)(function(){return(St||[]).some(function(_i){return[`
|
|
|
`,`\r
|
|
|
`].includes(_i)})},[St]),Qe=H(),Ve=Object(g.a)(Qe,3),Ye=Ve[0],pt=Ve[1],ht=Ve[2],Vt=Object(c.useState)(),dr=Object(g.a)(Vt,2),tr=dr[0],ir=dr[1];Object(c.useEffect)(function(){ir("rc_select_".concat(Object(y.a)()))},[]);var _t=ce||tr,gr=At;gr===void 0&&(gr=it?"label":"children");var jt=Ee==="combobox"?!1:rt,Sr=Ee==="tags"||Ee==="multiple",Ar=wt!==void 0?wt:Sr||Ee==="combobox",sr=Object(c.useState)(!1),ln=Object(g.a)(sr,2),_n=ln[0],Wn=ln[1];Object(c.useEffect)(function(){Wn(Object(l.a)())},[]);var Nn=Object(c.useRef)(null);c.useImperativeHandle(Ue,function(){var _i,xi,ji;return{focus:(_i=Se.current)===null||_i===void 0?void 0:_i.focus,blur:(xi=Se.current)===null||xi===void 0?void 0:xi.blur,scrollTo:(ji=Me.current)===null||ji===void 0?void 0:ji.scrollTo}});var Mn=Object(r.a)(Je,{value:mt}),Gn=Object(g.a)(Mn,2),xn=Gn[0],mi=Gn[1],rn=Object(c.useMemo)(function(){return Object(y.e)(xn,{labelInValue:jt,combobox:Ee==="combobox"})},[xn,jt]),Ur=Object(g.a)(rn,2),cn=Ur[0],Qr=Ur[1],Vn=Object(c.useMemo)(function(){return new Set(cn)},[cn]),Hn=Object(c.useState)(null),li=Object(g.a)(Hn,2),Un=li[0],gi=li[1],Bn=Object(c.useState)(""),di=Object(g.a)(Bn,2),qr=di[0],xr=di[1],nn=qr;Ee==="combobox"&&xn!==void 0?nn=xn:Ct!==void 0?nn=Ct:Ot&&(nn=Ot);var gn=Object(c.useMemo)(function(){var _i=it;return _i===void 0&&(_i=de(Ze)),Ee==="tags"&&$e&&(_i=$e(_i,xn,gr,rt)),_i||[]},[it,Ze,Ee,xn]),On=Object(c.useMemo)(function(){return Ie(gn,se)},[gn]),Fn=z(On),zn=Object(c.useMemo)(function(){if(!nn||!Ar)return Object(m.a)(gn);var _i=Ce(nn,gn,{optionFilterProp:V,filterOption:Ee==="combobox"&&Dt===void 0?function(){return!0}:Dt});return Ee==="tags"&&_i.every(function(xi){return xi[V]!==nn})&&_i.unshift({value:nn,label:nn,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Xe&&Array.isArray(_i)?Object(m.a)(_i).sort(Xe):_i},[gn,nn,Ee,Ar,Xe]),$n=Object(c.useMemo)(function(){return Ie(zn,se)},[zn]);Object(c.useEffect)(function(){Me.current&&Me.current.scrollTo&&Me.current.scrollTo(0)},[nn]);var Zn=Object(c.useMemo)(function(){var _i=cn.map(function(xi){var ji=Fn([xi]),Zi=be(xi,{options:ji,prevValueMap:Qr,labelInValue:jt,optionLabelProp:gr});return Object(A.a)(Object(A.a)({},Zi),{},{disabled:je(xi,ji)})});return!Ee&&_i.length===1&&_i[0].value===null&&_i[0].label===null?[]:_i},[xn,gn,Ee]);Zn=X(Zn);var vi=function(xi,ji,Zi){var Si=Fn([xi]),Hi=te([xi],Si)[0];if(!kn.skipTriggerSelect){var Oa=jt?be(xi,{options:Si,prevValueMap:Qr,labelInValue:jt,optionLabelProp:gr}):xi;ji&&Wr?Wr(Oa,Hi):!ji&&An&&An(Oa,Hi)}Jn&&(ji&&kn.onRawSelect?kn.onRawSelect(xi,Hi,Zi):!ji&&kn.onRawDeselect&&kn.onRawDeselect(xi,Hi,Zi))},Pi=Object(c.useState)([]),Fi=Object(g.a)(Pi,2),ja=Fi[0],Qn=Fi[1],Xr=function(xi){if(Jn&&kn.skipTriggerChange)return;var ji=Fn(xi),Zi=Object(y.f)(Array.from(xi),{labelInValue:jt,options:ji,getLabeledValue:be,prevValueMap:Qr,optionLabelProp:gr}),Si=Sr?Zi:Zi[0];if(Fr&&(cn.length!==0||Zi.length!==0)){var Hi=te(xi,ji,{prevValueOptions:ja});Qn(Hi.map(function(Oa,_a){var la=Object(A.a)({},Oa);return Object.defineProperty(la,"_INTERNAL_OPTION_VALUE_",{get:function(){return xi[_a]}}),la})),Fr(Si,Sr?Hi:Hi[0])}mi(Si)},hi=function(xi,ji){var Zi=ji.selected,Si=ji.source;if(lr)return;var Hi;Sr?(Hi=new Set(cn),Zi?Hi.add(xi):Hi.delete(xi)):(Hi=new Set,Hi.add(xi)),(Sr||!Sr&&Array.from(cn)[0]!==xi)&&Xr(Array.from(Hi)),vi(xi,!Sr||Zi,Si),Ee==="combobox"?(xr(String(xi)),gi("")):(!Sr||xe)&&(xr(""),gi(""))},Ri=function(xi,ji){hi(xi,Object(A.a)(Object(A.a)({},ji),{},{source:"option"}))},bi=function(xi,ji){hi(xi,Object(A.a)(Object(A.a)({},ji),{},{source:"selection"}))},Ui=Ee==="combobox"&&typeof Lr=="function"&&Lr()||null,ni=typeof Jr=="function"&&Jr(),qi=Object(r.a)(void 0,{defaultValue:ze,value:_e}),Qi=Object(g.a)(qi,2),ha=Qi[0],Yt=Qi[1],Ir=ha,Zr=!It&&!zn.length;(lr||Zr&&Ir&&Ee==="combobox")&&(Ir=!1);var He=Zr?!1:Ir,gt=function(xi){var ji=xi!==void 0?xi:!Ir;ha!==ji&&!lr&&(Yt(ji),Br&&Br(ji))},Xt;ni&&(Xt=function(xi){gt(xi)}),K(function(){var _i;return[ii.current,(_i=qe.current)===null||_i===void 0?void 0:_i.getPopupElement()]},He,gt);var zt=function(xi,ji,Zi){var Si=!0,Hi=xi;gi(null);var Oa=Zi?null:Object(j.f)(xi,St),_a=Oa;if(Ee==="combobox")ji&&Xr([Hi]);else if(Oa){Hi="",Ee!=="tags"&&(_a=Oa.map(function(va){var Ma=On.find(function(Xa){var co=Xa.data;return co[gr]===va});return Ma?Ma.data.value:null}).filter(function(va){return va!==null}));var la=Array.from(new Set([].concat(Object(m.a)(cn),Object(m.a)(_a))));Xr(la),la.forEach(function(va){vi(va,!0,"input")}),gt(!1),Si=!1}return xr(Hi),re&&nn!==Hi&&re(Hi),Si},vr=function(xi){if(!xi||!xi.trim())return;var ji=Array.from(new Set([].concat(Object(m.a)(cn),[xi])));Xr(ji),ji.forEach(function(Zi){vi(Zi,!0,"input")}),xr("")};Object(c.useEffect)(function(){ha&&!!lr&&Yt(!1)},[lr]),Object(c.useEffect)(function(){!Ir&&!Sr&&Ee!=="combobox"&&zt("",!1,!1)},[Ir]);var or=_(),Vr=Object(g.a)(or,2),Kr=Vr[0],Dr=Vr[1],dn=function(xi){var ji=Kr(),Zi=xi.which;if(Zi===h.a.ENTER&&(Ee!=="combobox"&&xi.preventDefault(),Ir||gt(!0)),Dr(!!nn),Zi===h.a.BACKSPACE&&!ji&&Sr&&!nn&&cn.length){var Si=Object(y.c)(Zn,cn);Si.removedValue!==null&&(Xr(Si.values),vi(Si.removedValue,!1,"input"))}for(var Hi=arguments.length,Oa=new Array(Hi>1?Hi-1:0),_a=1;_a<Hi;_a++)Oa[_a-1]=arguments[_a];if(Ir&&Me.current){var la;(la=Me.current).onKeyDown.apply(la,[xi].concat(Oa))}cr&&cr.apply(void 0,[xi].concat(Oa))},on=function(xi){for(var ji=arguments.length,Zi=new Array(ji>1?ji-1:0),Si=1;Si<ji;Si++)Zi[Si-1]=arguments[Si];if(Ir&&Me.current){var Hi;(Hi=Me.current).onKeyUp.apply(Hi,[xi].concat(Zi))}Ft&&Ft.apply(void 0,[xi].concat(Zi))},Cn=Object(c.useRef)(!1),sn=function(){pt(!0),lr||(Hr&&!Cn.current&&Hr.apply(void 0,arguments),un.includes("focus")&>(!0)),Cn.current=!0},an=function(){if(pt(!1,function(){Cn.current=!1,gt(!1)}),lr)return;nn&&(Ee==="tags"?(zt("",!1,!1),Xr(Array.from(new Set([].concat(Object(m.a)(cn),[nn]))))):Ee==="multiple"&&xr("")),$r&&$r.apply(void 0,arguments)},Yr=[];Object(c.useEffect)(function(){return function(){Yr.forEach(function(_i){return clearTimeout(_i)}),Yr.splice(0,Yr.length)}},[]);var fn=function(xi){var ji,Zi=xi.target,Si=(ji=qe.current)===null||ji===void 0?void 0:ji.getPopupElement();if(Si&&Si.contains(Zi)){var Hi=setTimeout(function(){var va=Yr.indexOf(Hi);if(va!==-1&&Yr.splice(va,1),ht(),!_n&&!Si.contains(document.activeElement)){var Ma;(Ma=Se.current)===null||Ma===void 0||Ma.focus()}});Yr.push(Hi)}if(Cr){for(var Oa=arguments.length,_a=new Array(Oa>1?Oa-1:0),la=1;la<Oa;la++)_a[la-1]=arguments[la];Cr.apply(void 0,[xi].concat(_a))}},vn=Object(c.useState)(0),Ln=Object(g.a)(vn,2),oi=Ln[0],si=Ln[1],Ni=Rr!==void 0?Rr:Ee!=="combobox",qn=function(xi,ji){var Zi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Si=Zi.source,Hi=Si===void 0?"keyboard":Si;si(ji),Zt&&Ee==="combobox"&&xi!==null&&Hi==="keyboard"&&gi(String(xi))},Pn=Object(c.useState)(null),Bi=Object(g.a)(Pn,2),ci=Bi[0],wi=Bi[1],fi=Object(c.useState)({}),ki=Object(g.a)(fi,2),fa=ki[1];function zi(){fa({})}S(function(){if(He){var _i,xi=Math.ceil((_i=ii.current)===null||_i===void 0?void 0:_i.offsetWidth);ci!==xi&&!Number.isNaN(xi)&&wi(xi)}},[He]);var ma=c.createElement(ge,{ref:Me,prefixCls:Fe,id:_t,open:Ir,childrenAsData:!it,options:zn,flattenOptions:$n,multiple:Sr,values:Vn,height:Tr,itemHeight:vt,onSelect:Ri,onToggleOpen:gt,onActiveValue:qn,defaultActiveFirstOption:Ni,notFoundContent:It,onScroll:Jt,searchValue:nn,menuItemSelectedIcon:Gt,virtual:Pe!==!1&&Bt!==!1,onMouseEnter:zi}),aa,ya=function(){Jn&&kn.onClear&&kn.onClear(),bn&&bn(),Xr([]),zt("",!1,!1)};!lr&&ot&&(cn.length||nn)&&(aa=c.createElement(s.a,{className:"".concat(Fe,"-clear"),onMouseDown:ya,customizeIcon:bt},"\xD7"));var Ea=tt!==void 0?tt:pr||!Sr&&Ee!=="combobox",ca;Ea&&(ca=c.createElement(s.a,{className:i()("".concat(Fe,"-arrow"),Object(f.a)({},"".concat(Fe,"-arrow-loading"),pr)),customizeIcon:Tt,customizeIconProps:{loading:pr,searchValue:nn,open:Ir,focused:Ye,showSearch:Ar}}));var ka=i()(Fe,ae,(ue={},Object(f.a)(ue,"".concat(Fe,"-focused"),Ye),Object(f.a)(ue,"".concat(Fe,"-multiple"),Sr),Object(f.a)(ue,"".concat(Fe,"-single"),!Sr),Object(f.a)(ue,"".concat(Fe,"-allow-clear"),ot),Object(f.a)(ue,"".concat(Fe,"-show-arrow"),Ea),Object(f.a)(ue,"".concat(Fe,"-disabled"),lr),Object(f.a)(ue,"".concat(Fe,"-loading"),pr),Object(f.a)(ue,"".concat(Fe,"-open"),Ir),Object(f.a)(ue,"".concat(Fe,"-customize-input"),Ui),Object(f.a)(ue,"".concat(Fe,"-show-search"),Ar),ue)),wa=c.createElement(D,{ref:qe,disabled:lr,prefixCls:Fe,visible:He,popupElement:ma,containerWidth:ci,animation:ft,transitionName:Te,dropdownStyle:Ge,dropdownClassName:st,direction:Kt,dropdownMatchSelectWidth:Bt,dropdownRender:$t,dropdownAlign:Nr,getPopupContainer:In,empty:!gn.length,getTriggerDOMNode:function(){return Nn.current},onPopupVisibleChange:Xt},ni?c.cloneElement(ni,{ref:Object(e.a)(Nn,ni.props.ref)}):c.createElement(R,Object(w.a)({},se,{domRef:Nn,prefixCls:Fe,inputElement:Ui,ref:Se,id:_t,showSearch:Ar,mode:Ee,accessibilityIndex:oi,multiple:Sr,tagRender:kt,values:Zn,open:Ir,onToggleOpen:gt,searchValue:nn,activeValue:Un,onSearch:zt,onSearchSubmit:vr,onSelect:bi,tokenWithEnter:Be})));return ni?wa:c.createElement("div",Object(w.a)({className:ka},ai,{ref:ii,onMouseDown:fn,onKeyDown:dn,onKeyUp:on,onFocus:sn,onBlur:an}),Ye&&!Ir&&c.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(cn.join(", "))),wa,ca,aa)}var ee=c.forwardRef(he);return ee}},qPLW:function(M,B,o){"use strict";var w=o("q1tI"),f=o.n(w),A=Object(w.createContext)({});B.a=A},qWt2:function(M,B,o){var w=o("ProS"),f=w.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}}});M.exports=f},qZFw:function(M,B,o){var w=o("bYtY"),f=o("6GrX"),A=o("hM6l"),m=o("4NO4"),g=m.makeInner,p=g();function c(l,e){e=e||[0,360],A.call(this,"angle",l,e),this.type="category"}c.prototype={constructor:c,pointToData:function(l,e){return this.polar.pointToData(l,e)[this.dim==="radius"?0:1]},dataToAngle:A.prototype.dataToCoord,angleToData:A.prototype.coordToData,calculateCategoryInterval:function(){var l=this,e=l.getLabelModel(),n=l.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var a=i[0],t=l.dataToCoord(a+1)-l.dataToCoord(a),s=Math.abs(t),u=f.getBoundingRect(a,e.getFont(),"center","top"),d=Math.max(u.height,7),v=d/s;isNaN(v)&&(v=Infinity);var y=Math.max(0,Math.floor(v)),S=p(l.model),b=S.lastAutoInterval,E=S.lastTickCount;return b!=null&&E!=null&&Math.abs(b-y)<=1&&Math.abs(E-r)<=1&&b>y?y=b:(S.lastTickCount=r,S.lastAutoInterval=y),y}},w.inherits(c,A);var h=c;M.exports=h},qgGe:function(M,B,o){var w=o("bYtY"),f=o("T4UG"),A=o("Bsck"),m=o("VaxA"),g=m.wrapTreePathInfo,p=f.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(h,l){var e={name:h.name,children:h.data};c(e);var n=h.levels||[],i={};return i.levels=n,A.createTree(e,this,i).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(h){var l=f.prototype.getDataParams.apply(this,arguments),e=this.getData().tree.getNodeByDataIndex(h);return l.treePathInfo=g(e,this),l},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(h){h?this._viewRoot=h:h=this._viewRoot;var l=this.getRawData().tree.root;(!h||h!==l&&!l.contains(h))&&(this._viewRoot=l)}});function c(h){var l=0;w.each(h.children,function(n){c(n);var i=n.value;w.isArray(i)&&(i=i[0]),l+=i});var e=h.value;w.isArray(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=l),e<0&&(e=0),w.isArray(h.value)?h.value[0]=e:h.value=e}M.exports=p},qj72:function(M,B,o){var w=o("bYtY");function f(m,g){return g=g||[0,0],w.map(["x","y"],function(p,c){var h=this.getAxis(p),l=g[c],e=m[c]/2;return h.type==="category"?h.getBandWidth():Math.abs(h.dataToCoord(l-e)-h.dataToCoord(l+e))},this)}function A(m){var g=m.grid.getRect();return{coordSys:{type:"cartesian2d",x:g.x,y:g.y,width:g.width,height:g.height},api:{coord:function(p){return m.dataToPoint(p)},size:w.bind(f,m)}}}M.exports=A},"qt/9":function(M,B,o){var w=o("ProS"),f=o("bYtY");o("Wqna"),o("1tlw"),o("Mylv");var A=o("nVfU"),m=A.layout,g=o("f5Yq");o("Ae16"),w.registerLayout(f.curry(m,"pictorialBar")),w.registerVisual(g("pictorialBar","roundRect"))},quyA:function(M,B){var o="\\ud800-\\udfff",w="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",m=w+f+A,g="\\ufe0e\\ufe0f",p="\\u200d",c=RegExp("["+p+o+m+g+"]");function h(l){return c.test(l)}M.exports=h},qwVE:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("K4ya"),m=o("XxSj"),g=w.PRIORITY.VISUAL.COMPONENT;w.registerVisual(g,{createOnAllSeries:!0,reset:function(c,h){var l=[];return h.eachComponent("visualMap",function(e){var n=c.pipelineContext;if(!e.isTargetSeries(c)||n&&n.large)return;l.push(A.incrementalApplyVisual(e.stateList,e.targetVisuals,f.bind(e.getValueState,e),e.getDataDimension(c.getData())))}),l}}),w.registerVisual(g,{createOnAllSeries:!0,reset:function(c,h){var l=c.getData(),e=[];h.eachComponent("visualMap",function(n){if(n.isTargetSeries(c)){var i=n.getVisualMeta(f.bind(p,null,c,n))||{stops:[],outerColors:[]},r=n.getDataDimension(l),a=l.getDimensionInfo(r);a!=null&&(i.dimension=a.index,e.push(i))}}),c.getData().setVisual("visualMeta",e)}});function p(c,h,l,e){for(var n=h.targetVisuals[e],i=m.prepareVisualTypes(n),r={color:c.getData().getVisual("color")},a=0,t=i.length;a<t;a++){var s=i[a],u=n[s==="opacity"?"__alphaForOpacity":s];u&&u.applyVisual(l,d,v)}return r.color;function d(y){return r[y]}function v(y,S){r[y]=S}}},r6Bn:function(M,B,o){var w=o("bYtY"),f=o("ItGF"),A=o("4fz+"),m=o("BPZU");function g(h,l){return h.zlevel===l.zlevel?h.z===l.z?h.z2-l.z2:h.z-l.z:h.zlevel-l.zlevel}var p=function(){this._roots=[],this._displayList=[],this._displayListLen=0};p.prototype={constructor:p,traverse:function(l,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(l,e)},getDisplayList:function(l,e){return e=e||!1,l&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(l){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,l);n.length=this._displayListLen,f.canvasSupported&&m(n,g)},_updateAndAddDisplayable:function(l,e,n){if(l.ignore&&!n)return;l.beforeUpdate(),l.__dirty&&l.update(),l.afterUpdate();var i=l.clipPath;if(i){e?e=e.slice():e=[];for(var r=i,a=l;r;)r.parent=a,r.updateTransform(),e.push(r),a=r,r=r.clipPath}if(l.isGroup){for(var t=l._children,s=0;s<t.length;s++){var u=t[s];l.__dirty&&(u.__dirty=!0),this._updateAndAddDisplayable(u,e,n)}l.__dirty=!1}else l.__clipPaths=e,this._displayList[this._displayListLen++]=l},addRoot:function(l){if(l.__storage===this)return;l instanceof A&&l.addChildrenToStorage(this),this.addToStorage(l),this._roots.push(l)},delRoot:function(l){if(l==null){for(var e=0;e<this._roots.length;e++){var n=this._roots[e];n instanceof A&&n.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(l instanceof Array){for(var e=0,i=l.length;e<i;e++)this.delRoot(l[e]);return}var r=w.indexOf(this._roots,l);r>=0&&(this.delFromStorage(l),this._roots.splice(r,1),l instanceof A&&l.delChildrenFromStorage(this))},addToStorage:function(l){return l&&(l.__storage=this,l.dirty(!1)),this},delFromStorage:function(l){return l&&(l.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:g};var c=p;M.exports=c},rA99:function(M,B,o){var w=o("y+Vt"),f=o("QBsz"),A=o("Sj9i"),m=A.quadraticSubdivide,g=A.cubicSubdivide,p=A.quadraticAt,c=A.cubicAt,h=A.quadraticDerivativeAt,l=A.cubicDerivativeAt,e=[];function n(r,a,t){var s=r.cpx2,u=r.cpy2;return s===null||u===null?[(t?l:c)(r.x1,r.cpx1,r.cpx2,r.x2,a),(t?l:c)(r.y1,r.cpy1,r.cpy2,r.y2,a)]:[(t?h:p)(r.x1,r.cpx1,r.x2,a),(t?h:p)(r.y1,r.cpy1,r.y2,a)]}var i=w.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(a,t){var s=t.x1,u=t.y1,d=t.x2,v=t.y2,y=t.cpx1,S=t.cpy1,b=t.cpx2,E=t.cpy2,C=t.percent;if(C===0)return;a.moveTo(s,u),b==null||E==null?(C<1&&(m(s,y,d,C,e),y=e[1],d=e[2],m(u,S,v,C,e),S=e[1],v=e[2]),a.quadraticCurveTo(y,S,d,v)):(C<1&&(g(s,y,b,d,C,e),y=e[1],b=e[2],d=e[3],g(u,S,E,v,C,e),S=e[1],E=e[2],v=e[3]),a.bezierCurveTo(y,S,b,E,d,v))},pointAt:function(a){return n(this.shape,a,!1)},tangentAt:function(a){var t=n(this.shape,a,!0);return f.normalize(t,t)}});M.exports=i},"rAM+":function(M,B,o){"use strict";o.d(B,"a",function(){return f});var w=o("Qw5x");function f(A,m){var g;if(typeof Symbol=="undefined"||A[Symbol.iterator]==null){if(Array.isArray(A)||(g=Object(w.a)(A))||m&&A&&typeof A.length=="number"){g&&(A=g);var p=0,c=function(){};return{s:c,n:function(){return p>=A.length?{done:!0}:{done:!1,value:A[p++]}},e:function(i){throw i},f:c}}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 h=!0,l=!1,e;return{s:function(){g=A[Symbol.iterator]()},n:function(){var i=g.next();return h=i.done,i},e:function(i){l=!0,e=i},f:function(){try{!h&&g.return!=null&&g.return()}finally{if(l)throw e}}}}},rHrb:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.CopyToClipboard=void 0;var w=A(o("q1tI")),f=A(o("+QRC"));function A(v){return v&&v.__esModule?v:{default:v}}function m(v){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(S){return typeof S}:m=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},m(v)}function g(v,y){var S=Object.keys(v);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(v);y&&(b=b.filter(function(E){return Object.getOwnPropertyDescriptor(v,E).enumerable})),S.push.apply(S,b)}return S}function p(v){for(var y=1;y<arguments.length;y++){var S=arguments[y]!=null?arguments[y]:{};y%2?g(S,!0).forEach(function(b){u(v,b,S[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(S)):g(S).forEach(function(b){Object.defineProperty(v,b,Object.getOwnPropertyDescriptor(S,b))})}return v}function c(v,y){if(v==null)return{};var S=h(v,y),b,E;if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(v);for(E=0;E<C.length;E++){if(b=C[E],y.indexOf(b)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(v,b))continue;S[b]=v[b]}}return S}function h(v,y){if(v==null)return{};var S={},b=Object.keys(v),E,C;for(C=0;C<b.length;C++){if(E=b[C],y.indexOf(E)>=0)continue;S[E]=v[E]}return S}function l(v,y){if(!(v instanceof y))throw new TypeError("Cannot call a class as a function")}function e(v,y){for(var S=0;S<y.length;S++){var b=y[S];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(v,b.key,b)}}function n(v,y,S){return y&&e(v.prototype,y),S&&e(v,S),v}function i(v,y){return y&&(m(y)==="object"||typeof y=="function")?y:a(v)}function r(v){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},r(v)}function a(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function t(v,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(y&&y.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),y&&s(v,y)}function s(v,y){return s=Object.setPrototypeOf||function(b,E){return b.__proto__=E,b},s(v,y)}function u(v,y,S){return y in v?Object.defineProperty(v,y,{value:S,enumerable:!0,configurable:!0,writable:!0}):v[y]=S,v}var d=function(v){t(y,v);function y(){var S,b;l(this,y);for(var E=arguments.length,C=new Array(E),T=0;T<E;T++)C[T]=arguments[T];return b=i(this,(S=r(y)).call.apply(S,[this].concat(C))),u(a(b),"onClick",function(x){var _=b.props,I=_.text,L=_.onCopy,R=_.children,k=_.options,F=w.default.Children.only(R),P=(0,f.default)(I,k);L&&L(I,P),F&&F.props&&typeof F.props.onClick=="function"&&F.props.onClick(x)}),b}return n(y,[{key:"render",value:function(){var b=this.props,E=b.text,C=b.onCopy,T=b.options,x=b.children,_=c(b,["text","onCopy","options","children"]),I=w.default.Children.only(x);return w.default.cloneElement(I,p({},_,{onClick:this.onClick}))}}]),y}(w.default.PureComponent);B.CopyToClipboard=d,u(d,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="ReloadOutlined";var c=B.a=f.forwardRef(p)},rUJ1:function(M,B){var o=/[&<>"']/,w=/[&<>"']/g,f=/[<>"']|&(?!#?\w+;)/,A=/[<>"']|&(?!#?\w+;)/g,m={"&":"&","<":"<",">":">",'"':""","'":"'"},g=function(x){return m[x]};function p(T,x){if(x){if(o.test(T))return T.replace(w,g)}else if(f.test(T))return T.replace(A,g);return T}var c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(T){return T.replace(c,function(x,_){return _=_.toLowerCase(),_==="colon"?":":_.charAt(0)==="#"?_.charAt(1)==="x"?String.fromCharCode(parseInt(_.substring(2),16)):String.fromCharCode(+_.substring(1)):""})}var l=/(^|[^\[])\^/g;function e(T,x){T=T.source||T,x=x||"";var _={replace:function(L,R){return R=R.source||R,R=R.replace(l,"$1"),T=T.replace(L,R),_},getRegex:function(){return new RegExp(T,x)}};return _}var n=/[^\w:]/g,i=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function r(T,x,_){if(T){var I;try{I=decodeURIComponent(h(_)).replace(n,"").toLowerCase()}catch(L){return null}if(I.indexOf("javascript:")===0||I.indexOf("vbscript:")===0||I.indexOf("data:")===0)return null}x&&!i.test(_)&&(_=d(x,_));try{_=encodeURI(_).replace(/%25/g,"%")}catch(L){return null}return _}var a={},t=/^[^:]+:\/*[^/]*$/,s=/^([^:]+:)[\s\S]*$/,u=/^([^:]+:\/*[^/]*)[\s\S]*$/;function d(T,x){a[" "+T]||(t.test(T)?a[" "+T]=T+"/":a[" "+T]=b(T,"/",!0)),T=a[" "+T];var _=T.indexOf(":")===-1;return x.substring(0,2)==="//"?_?x:T.replace(s,"$1")+x:x.charAt(0)==="/"?_?x:T.replace(u,"$1")+x:T+x}var v={exec:function(){}};function y(T){for(var x=1,_,I;x<arguments.length;x++){_=arguments[x];for(I in _)Object.prototype.hasOwnProperty.call(_,I)&&(T[I]=_[I])}return T}function S(T,x){var _=T.replace(/\|/g,function(R,k,F){for(var P=!1,W=k;--W>=0&&F[W]==="\\";)P=!P;return P?"|":" |"}),I=_.split(/ \|/),L=0;if(I.length>x)I.splice(x);else for(;I.length<x;)I.push("");for(;L<I.length;L++)I[L]=I[L].trim().replace(/\\\|/g,"|");return I}function b(T,x,_){var I=T.length;if(I===0)return"";for(var L=0;L<I;){var R=T.charAt(I-L-1);if(R===x&&!_)L++;else if(R!==x&&_)L++;else break}return T.substr(0,I-L)}function E(T,x){if(T.indexOf(x[1])===-1)return-1;for(var _=T.length,I=0,L=0;L<_;L++)if(T[L]==="\\")L++;else if(T[L]===x[0])I++;else if(T[L]===x[1]&&(I--,I<0))return L;return-1}function C(T){T&&T.sanitize&&!T.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}M.exports={escape:p,unescape:h,edit:e,cleanUrl:r,resolveUrl:d,noopTest:v,merge:y,splitCells:S,rtrim:b,findClosingBracket:E,checkSanitizeDeprecation:C}},rdUC:function(M,B,o){var w=o("MFOe"),f=w.Global;M.exports={name:"localStorage",read:m,write:g,each:p,remove:c,clearAll:h};function A(){return f.localStorage}function m(l){return A().getItem(l)}function g(l,e){return A().setItem(l,e)}function p(l){for(var e=A().length-1;e>=0;e--){var n=A().key(e);l(m(n),n)}}function c(l){return A().removeItem(l)}function h(){return A().clear()}},rdor:function(M,B,o){var w=o("lOQZ"),f=w.circularLayout;function A(m){m.eachSeriesByType("graph",function(g){g.get("layout")==="circular"&&f(g,"symbolSize")})}M.exports=A},rfSb:function(M,B,o){var w=o("T4UG"),f=o("sdST"),A=o("L0Ub"),m=A.getDimensionTypeByAxis,g=o("YXkt"),p=o("bYtY"),c=o("4NO4"),h=c.groupData,l=o("7aKB"),e=l.encodeHTML,n=o("xKMd"),i=2,r=w.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){r.superApply(this,"init",arguments),this.legendVisualProvider=new n(p.bind(this.getData,this),p.bind(this.getRawData,this))},fixData:function(t){var s=t.length,u=h(t,function(F){return F[2]}),d=[];u.buckets.each(function(F,P){d.push({name:P,dataList:F})});for(var v=d.length,y=-1,S=-1,b=0;b<v;++b){var E=d[b].dataList.length;E>y&&(y=E,S=b)}for(var C=0;C<v;++C){if(C===S)continue;for(var T=d[C].name,x=0;x<y;++x){for(var _=d[S].dataList[x][0],I=d[C].dataList.length,L=-1,R=0;R<I;++R){var k=d[C].dataList[R][0];if(k===_){L=R;break}}L===-1&&(t[s]=[],t[s][0]=_,t[s][1]=0,t[s][2]=T,s++)}}return t},getInitialData:function(t,s){for(var u=s.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],d=u.get("type"),v=p.filter(t.data,function(_){return _[2]!==void 0}),y=this.fixData(v||[]),S=[],b=this.nameMap=p.createHashMap(),E=0,C=0;C<y.length;++C)S.push(y[C][i]),b.get(y[C][i])||(b.set(y[C][i],E),E++);var T=f(y,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:m(d)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),x=new g(T,this);return x.initData(y),x},getLayerSeries:function(){for(var t=this.getData(),s=t.count(),u=[],d=0;d<s;++d)u[d]=d;var v=t.mapDimension("single"),y=h(u,function(b){return t.get("name",b)}),S=[];return y.buckets.each(function(b,E){b.sort(function(C,T){return t.get(v,C)-t.get(v,T)}),S.push({name:E,indices:b})}),S},getAxisTooltipData:function(t,s,u){p.isArray(t)||(t=t?[t]:[]);for(var d=this.getData(),v=this.getLayerSeries(),y=[],S=v.length,b,E=0;E<S;++E){for(var C=Number.MAX_VALUE,T=-1,x=v[E].indices.length,_=0;_<x;++_){var I=d.get(t[0],v[E].indices[_]),L=Math.abs(I-s);L<=C&&(b=I,C=L,T=v[E].indices[_])}y.push(T)}return{dataIndices:y,nestestValue:b}},formatTooltip:function(t){var s=this.getData(),u=s.getName(t),d=s.get(s.mapDimension("value"),t);return(isNaN(d)||d==null)&&(d="-"),e(u+" : "+d)},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}}}}),a=r;M.exports=a},rkZ5:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("ProS"),m=o("c8qY"),g=o("D9ME"),p=o("fls0"),c=o("RSch"),h=o("akwb"),l=o("o40c"),e=o("ZYIC"),n=o("sK/D"),i=n.createClipPath,r=A.extendChartView({type:"lines",init:function(){},render:function(a,t,s){var u=a.getData(),d=this._updateLineDraw(u,a),v=a.get("zlevel"),y=a.get("effect.trailLength"),S=s.getZr(),b=S.painter.getType()==="svg";b||S.painter.getLayer(v).clear(!0),this._lastZlevel!=null&&!b&&S.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(a)&&y&&(b||S.configLayer(v,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(y/10+.9,1),0)})),d.updateData(u);var E=a.get("clip",!0)&&i(a.coordinateSystem,!1,a);E?this.group.setClipPath(E):this.group.removeClipPath(),this._lastZlevel=v,this._finished=!0},incrementalPrepareRender:function(a,t,s){var u=a.getData(),d=this._updateLineDraw(u,a);d.incrementalPrepareUpdate(u),this._clearLayer(s),this._finished=!1},incrementalRender:function(a,t,s){this._lineDraw.incrementalUpdate(a,t.getData()),this._finished=a.end===t.getData().count()},updateTransform:function(a,t,s){var u=a.getData(),d=a.pipelineContext;if(!this._finished||d.large||d.progressiveRender)return{update:!0};var v=e.reset(a);v.progress&&v.progress({start:0,end:u.count()},u),this._lineDraw.updateLayout(),this._clearLayer(s)},_updateLineDraw:function(a,t){var s=this._lineDraw,u=this._showEffect(t),d=!!t.get("polyline"),v=t.pipelineContext,y=v.large;return(!s||u!==this._hasEffet||d!==this._isPolyline||y!==this._isLargeDraw)&&(s&&s.remove(),s=this._lineDraw=y?new l:new m(d?u?h:c:u?g:p),this._hasEffet=u,this._isPolyline=d,this._isLargeDraw=y,this.group.removeAll()),this.group.add(s.group),s},_showEffect:function(a){return!!a.get("effect.show")},_clearLayer:function(a){var t=a.getZr(),s=t.painter.getType()==="svg";!s&&this._lastZlevel!=null&&t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(a,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});M.exports=r},rmlV:function(M,B,o){var w=o("y+Vt"),f=w.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(m,g){var p=.5522848,c=g.cx,h=g.cy,l=g.rx,e=g.ry,n=l*p,i=e*p;m.moveTo(c-l,h),m.bezierCurveTo(c-l,h-i,c-n,h-e,c,h-e),m.bezierCurveTo(c+n,h-e,c+l,h-i,c+l,h),m.bezierCurveTo(c+l,h+i,c+n,h+e,c,h+e),m.bezierCurveTo(c-n,h+e,c-l,h+i,c-l,h),m.closePath()}});M.exports=f},rnVJ:function(M,B,o){var w=o("bYtY"),f=["rect","polygon","keep","clear"];function A(g,p){var c=g&&g.brush;if(w.isArray(c)||(c=c?[c]:[]),!c.length)return;var h=[];w.each(c,function(r){var a=r.hasOwnProperty("toolbox")?r.toolbox:[];a instanceof Array&&(h=h.concat(a))});var l=g&&g.toolbox;w.isArray(l)&&(l=l[0]),l||(l={feature:{}},g.toolbox=[l]);var e=l.feature||(l.feature={}),n=e.brush||(e.brush={}),i=n.type||(n.type=[]);i.push.apply(i,h),m(i),p&&!i.length&&i.push.apply(i,f)}function m(g){var p={};w.each(g,function(c){p[c]=1}),g.length=0,w.each(p,function(c,h){g.push(h)})}M.exports=A},rta0:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("bKpd"),m=o.n(A),g=o("UFpP"),p=o("s6WR")},rwxt:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=o("GdRQ");function f(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function A(c,h){for(var l=0;l<h.length;l++){var e=h[l];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(c,e.key,e)}}function m(c,h,l){return h&&A(c.prototype,h),l&&A(c,l),c}var g=!w.supportsCursorURIs||w.isTouchDevice,p=function(){function c(){f(this,c),this._target=null,this._canvas=document.createElement("canvas"),g&&(this._canvas.style.position="fixed",this._canvas.style.zIndex="65535",this._canvas.style.pointerEvents="none",this._canvas.style.visibility="hidden"),this._position={x:0,y:0},this._hotSpot={x:0,y:0},this._eventHandlers={mouseover:this._handleMouseOver.bind(this),mouseleave:this._handleMouseLeave.bind(this),mousemove:this._handleMouseMove.bind(this),mouseup:this._handleMouseUp.bind(this)}}return m(c,[{key:"attach",value:function(l){if(this._target&&this.detach(),this._target=l,g){document.body.appendChild(this._canvas);var e={capture:!0,passive:!0};this._target.addEventListener("mouseover",this._eventHandlers.mouseover,e),this._target.addEventListener("mouseleave",this._eventHandlers.mouseleave,e),this._target.addEventListener("mousemove",this._eventHandlers.mousemove,e),this._target.addEventListener("mouseup",this._eventHandlers.mouseup,e)}this.clear()}},{key:"detach",value:function(){if(!this._target)return;if(g){var l={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,l),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,l),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,l),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,l),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(l,e,n,i,r){if(i===0||r===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-e,this._position.y=this._position.y+this._hotSpot.y-n,this._hotSpot.x=e,this._hotSpot.y=n;var a=this._canvas.getContext("2d");this._canvas.width=i,this._canvas.height=r;var t;try{t=new ImageData(new Uint8ClampedArray(l),i,r)}catch(u){t=a.createImageData(i,r),t.data.set(new Uint8ClampedArray(l))}if(a.clearRect(0,0,i,r),a.putImageData(t,0,0),g)this._updatePosition();else{var s=this._canvas.toDataURL();this._target.style.cursor="url("+s+")"+e+" "+n+", 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(l,e){if(!g)return;window.visualViewport?(this._position.x=l+window.visualViewport.offsetLeft,this._position.y=e+window.visualViewport.offsetTop):(this._position.x=l,this._position.y=e),this._updatePosition();var n=document.elementFromPoint(l,e);this._updateVisibility(n)}},{key:"_handleMouseOver",value:function(l){this._handleMouseMove(l)}},{key:"_handleMouseLeave",value:function(l){this._updateVisibility(l.relatedTarget)}},{key:"_handleMouseMove",value:function(l){this._updateVisibility(l.target),this._position.x=l.clientX-this._hotSpot.x,this._position.y=l.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(l){var e=this,n=document.elementFromPoint(l.clientX,l.clientY);this._updateVisibility(n),this._captureIsActive()&&window.setTimeout(function(){if(!e._target)return;n=document.elementFromPoint(l.clientX,l.clientY),e._updateVisibility(n)},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(l){return l?l===this._target?!0:this._target.contains(l)?!(window.getComputedStyle(l).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(l){this._captureIsActive()&&(l=document.captureElement),this._shouldShowCursor(l)?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)}}]),c}();B.default=p},rySg:function(M,B,o){o("SMc4"),o("8nMs")},s2lz:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("IwbS"),m=o("gPAo"),g=o("VaxA"),p=o("9hCq"),c=o("SgGq"),h=o("mFDi"),l=o("Fofx"),e=o("5s0K"),n=o("KCsZ"),i=o("7aKB"),r=i.windowOpen,a=f.bind,t=A.Group,s=A.Rect,u=f.each,d=3,v=["label"],y=["emphasis","label"],S=["upperLabel"],b=["emphasis","upperLabel"],E=10,C=1,T=2,x=n([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),_=function(F){var P=x(F);return P.stroke=P.fill=P.lineWidth=null,P},I=w.extendChartView({type:"treemap",init:function(F,P){this._containerGroup,this._storage=L(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(F,P,W,D){var U=P.findComponents({mainType:"series",subType:"treemap",query:D});if(f.indexOf(U,F)<0)return;this.seriesModel=F,this.api=W,this.ecModel=P;var H=["treemapZoomToNode","treemapRootToNode"],j=g.retrieveTargetInfo(D,H,F),K=D&&D.type,X=F.layoutInfo,z=!this._oldTree,Y=this._storage,$=K==="treemapRootToNode"&&j&&Y?{rootNodeGroup:Y.nodeGroup[j.node.getRawIndex()],direction:D.direction}:null,ne=this._giveContainerGroup(X),J=this._doRender(ne,F,$);!z&&(!K||K==="treemapZoomToNode"||K==="treemapRootToNode")?this._doAnimation(ne,J,F,$):J.renderFinally(),this._resetController(W),this._renderBreadcrumb(F,W,j)},_giveContainerGroup:function(F){var P=this._containerGroup;return P||(P=this._containerGroup=new t,this._initEvents(P),this.group.add(P)),P.attr("position",[F.x,F.y]),P},_doRender:function(F,P,W){var D=P.getData().tree,U=this._oldTree,H=L(),j=L(),K=this._storage,X=[],z=f.curry(R,P,j,K,W,H,X);$(D.root?[D.root]:[],U&&U.root?[U.root]:[],F,D===U||!U,0);var Y=ne(K);return this._oldTree=D,this._storage=j,{lastsForAnimation:H,willDeleteEls:Y,renderFinally:J};function $(ge,de,Ie,be,Ce){be?(de=ge,u(ge,function(ve,$e){!ve.isRemoved()&&te($e,$e)})):new m(de,ge,je,je).add(te).update(te).remove(f.curry(te,null)).execute();function je(ve){return ve.getId()}function te(ve,$e){var Le=ve!=null?ge[ve]:null,he=$e!=null?de[$e]:null,ee=z(Le,he,Ie,Ce);ee&&$(Le&&Le.viewChildren||[],he&&he.viewChildren||[],ee,be,Ce+1)}}function ne(ge){var de=L();return ge&&u(ge,function(Ie,be){var Ce=de[be];u(Ie,function(je){je&&(Ce.push(je),je.__tmWillDelete=1)})}),de}function J(){u(Y,function(ge){u(ge,function(de){de.parent&&de.parent.remove(de)})}),u(X,function(ge){ge.invisible=!0,ge.dirty()})}},_doAnimation:function(F,P,W,D){if(!W.get("animation"))return;var U=W.get("animationDurationUpdate"),H=W.get("animationEasing"),j=e.createWrap();u(P.willDeleteEls,function(K,X){u(K,function(z,Y){if(z.invisible)return;var $=z.parent,ne;if(D&&D.direction==="drillDown")ne=$===D.rootNodeGroup?{shape:{x:0,y:0,width:$.__tmNodeWidth,height:$.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var J=0,ge=0;$.__tmWillDelete||(J=$.__tmNodeWidth/2,ge=$.__tmNodeHeight/2),ne=X==="nodeGroup"?{position:[J,ge],style:{opacity:0}}:{shape:{x:J,y:ge,width:0,height:0},style:{opacity:0}}}ne&&j.add(z,ne,U,H)})}),u(this._storage,function(K,X){u(K,function(z,Y){var $=P.lastsForAnimation[X][Y],ne={};if(!$)return;X==="nodeGroup"?$.old&&(ne.position=z.position.slice(),z.attr("position",$.old)):($.old&&(ne.shape=f.extend({},z.shape),z.setShape($.old)),$.fadein?(z.setStyle("opacity",0),ne.style={opacity:1}):z.style.opacity!==1&&(ne.style={opacity:1})),j.add(z,ne,U,H)})},this),this._state="animating",j.done(a(function(){this._state="ready",P.renderFinally()},this)).start()},_resetController:function(F){var P=this._controller;P||(P=this._controller=new c(F.getZr()),P.enable(this.seriesModel.get("roam")),P.on("pan",a(this._onPan,this)),P.on("zoom",a(this._onZoom,this)));var W=new h(0,0,F.getWidth(),F.getHeight());P.setPointerChecker(function(D,U,H){return W.contain(U,H)})},_clearController:function(){var F=this._controller;F&&(F.dispose(),F=null)},_onPan:function(F){if(this._state!=="animating"&&(Math.abs(F.dx)>d||Math.abs(F.dy)>d)){var P=this.seriesModel.getData().tree.root;if(!P)return;var W=P.getLayout();if(!W)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:W.x+F.dx,y:W.y+F.dy,width:W.width,height:W.height}})}},_onZoom:function(F){var P=F.originX,W=F.originY;if(this._state!=="animating"){var D=this.seriesModel.getData().tree.root;if(!D)return;var U=D.getLayout();if(!U)return;var H=new h(U.x,U.y,U.width,U.height),j=this.seriesModel.layoutInfo;P-=j.x,W-=j.y;var K=l.create();l.translate(K,K,[-P,-W]),l.scale(K,K,[F.scale,F.scale]),l.translate(K,K,[P,W]),H.applyTransform(K),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:H.x,y:H.y,width:H.width,height:H.height}})}},_initEvents:function(F){F.on("click",function(P){if(this._state!=="ready")return;var W=this.seriesModel.get("nodeClick",!0);if(!W)return;var D=this.findTarget(P.offsetX,P.offsetY);if(!D)return;var U=D.node;if(U.getLayout().isLeafRoot)this._rootToNode(D);else if(W==="zoomToNode")this._zoomToNode(D);else if(W==="link"){var H=U.hostTree.data.getItemModel(U.dataIndex),j=H.get("link",!0),K=H.get("target",!0)||"blank";j&&r(j,K)}},this)},_renderBreadcrumb:function(F,P,W){W||(W=F.get("leafDepth",!0)!=null?{node:F.getViewRoot()}:this.findTarget(P.getWidth()/2,P.getHeight()/2),W||(W={node:F.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new p(this.group))).render(F,P,W.node,a(D,this));function D(U){this._state!=="animating"&&(g.aboveViewRoot(F.getViewRoot(),U)?this._rootToNode({node:U}):this._zoomToNode({node:U}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=L(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(F){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:F.node})},_rootToNode:function(F){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:F.node})},findTarget:function(F,P){var W,D=this.seriesModel.getViewRoot();return D.eachNode({attr:"viewChildren",order:"preorder"},function(U){var H=this._storage.background[U.getRawIndex()];if(H){var j=H.transformCoordToLocal(F,P),K=H.shape;if(K.x<=j[0]&&j[0]<=K.x+K.width&&K.y<=j[1]&&j[1]<=K.y+K.height)W={node:U,offsetX:j[0],offsetY:j[1]};else return!1}},this),W}});function L(){return{nodeGroup:[],background:[],content:[]}}function R(F,P,W,D,U,H,j,K,X,z){if(!j)return;var Y=j.getLayout(),$=F.getData();if($.setItemGraphicEl(j.dataIndex,null),!Y||!Y.isInView)return;var ne=Y.width,J=Y.height,ge=Y.borderWidth,de=Y.invisible,Ie=j.getRawIndex(),be=K&&K.getRawIndex(),Ce=j.viewChildren,je=Y.upperHeight,te=Ce&&Ce.length,ve=j.getModel("itemStyle"),$e=j.getModel("emphasis.itemStyle"),Le=ce("nodeGroup",t);if(!Le)return;if(X.add(Le),Le.attr("position",[Y.x||0,Y.y||0]),Le.__tmNodeWidth=ne,Le.__tmNodeHeight=J,Y.isAboveViewRoot)return Le;var he=j.getModel(),ee=ce("background",s,z,C);if(ee&&Ue(Le,ee,te&&Y.upperLabelHeight),te)A.isHighDownDispatcher(Le)&&A.setAsHighDownDispatcher(Le,!1),ee&&(A.setAsHighDownDispatcher(ee,!0),$.setItemGraphicEl(j.dataIndex,ee));else{var se=ce("content",s,z,T);se&&ue(Le,se),ee&&A.isHighDownDispatcher(ee)&&A.setAsHighDownDispatcher(ee,!1),A.setAsHighDownDispatcher(Le,!0),$.setItemGraphicEl(j.dataIndex,Le)}return Le;function Ue(it,Ze,Ee){if(Ze.dataIndex=j.dataIndex,Ze.seriesIndex=F.seriesIndex,Ze.setShape({x:0,y:0,width:ne,height:J}),de)Ne(Ze);else{Ze.invisible=!1;var mt=j.getVisual("borderColor",!0),Je=$e.get("borderColor"),rt=_(ve);rt.fill=mt;var wt=x($e);if(wt.fill=Je,Ee){var Ot=ne-2*ge;Fe(rt,wt,mt,Ot,je,{x:ge,y:0,width:Ot,height:je})}else rt.text=wt.text=null;Ze.setStyle(rt),A.setElementHoverStyle(Ze,wt)}it.add(Ze)}function ue(it,Ze){Ze.dataIndex=j.dataIndex,Ze.seriesIndex=F.seriesIndex;var Ee=Math.max(ne-2*ge,0),mt=Math.max(J-2*ge,0);if(Ze.culling=!0,Ze.setShape({x:ge,y:ge,width:Ee,height:mt}),de)Ne(Ze);else{Ze.invisible=!1;var Je=j.getVisual("color",!0),rt=_(ve);rt.fill=Je;var wt=x($e);Fe(rt,wt,Je,Ee,mt),Ze.setStyle(rt),A.setElementHoverStyle(Ze,wt)}it.add(Ze)}function Ne(it){!it.invisible&&H.push(it)}function Fe(it,Ze,Ee,mt,Je,rt){var wt=he.get("name"),Ot=he.getModel(rt?S:v),Ct=he.getModel(rt?b:y),Dt=Ot.getShallow("show");A.setLabelStyle(it,Ze,Ot,Ct,{defaultText:Dt?wt:null,autoColor:Ee,isRectText:!0,labelFetcher:F,labelDataIndex:j.dataIndex,labelProp:rt?"upperLabel":"label"}),ae(it,rt,Y),ae(Ze,rt,Y),rt&&(it.textRect=f.clone(rt)),it.truncate=Dt&&Ot.get("ellipsis")?{outerWidth:mt,outerHeight:Je,minChar:2}:null}function ae(it,Ze,Ee){var mt=it.text;if(!Ze&&Ee.isLeafRoot&&mt!=null){var Je=F.get("drillDownIcon",!0);it.text=Je?Je+" "+mt:mt}}function ce(it,Ze,Ee,mt){var Je=be!=null&&W[it][be],rt=U[it];return Je?(W[it][be]=null,_e(rt,Je,it)):de||(Je=new Ze({z:k(Ee,mt)}),Je.__tmDepth=Ee,Je.__tmStorageName=it,ze(rt,Je,it)),P[it][Ie]=Je}function _e(it,Ze,Ee){var mt=it[Ie]={};mt.old=Ee==="nodeGroup"?Ze.position.slice():f.extend({},Ze.shape)}function ze(it,Ze,Ee){var mt=it[Ie]={},Je=j.parentNode;if(Je&&(!D||D.direction==="drillDown")){var rt=0,wt=0,Ot=U.background[Je.getRawIndex()];!D&&Ot&&Ot.old&&(rt=Ot.old.width,wt=Ot.old.height),mt.old=Ee==="nodeGroup"?[0,wt]:{x:rt,y:wt,width:0,height:0}}mt.fadein=Ee!=="nodeGroup"}}function k(F,P){var W=F*E+P;return(W-1)/W}M.exports=I},sAZ8:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("+rIm"),m=o("/IIm"),g=o("9KIM"),p=o("IwbS"),c=["axisLine","axisTickLabel","axisName"],h=w.extendComponentView({type:"parallelAxis",init:function(r,a){h.superApply(this,"init",arguments),(this._brushController=new m(a.getZr())).on("brush",f.bind(this._onBrush,this))},render:function(r,a,t,s){if(l(r,a,s))return;this.axisModel=r,this.api=t,this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new p.Group,this.group.add(this._axisGroup),!r.get("show"))return;var d=n(r,a),v=d.coordinateSystem,y=r.getAreaSelectStyle(),S=y.width,b=r.axis.dim,E=v.getAxisLayout(b),C=f.extend({strokeContainThreshold:S},E),T=new A(r,C);f.each(c,T.add,T),this._axisGroup.add(T.getGroup()),this._refreshBrushController(C,y,r,d,S,t);var x=s&&s.animation===!1?null:r;p.groupTransition(u,this._axisGroup,x)},_refreshBrushController:function(r,a,t,s,u,d){var v=t.axis.getExtent(),y=v[1]-v[0],S=Math.min(30,Math.abs(y)*.1),b=p.BoundingRect.create({x:v[0],y:-u/2,width:y,height:u});b.x-=S,b.width+=2*S,this._brushController.mount({enableGlobalPan:!0,rotation:r.rotation,position:r.position}).setPanels([{panelId:"pl",clipPath:g.makeRectPanelClipPath(b),isTargetByCursor:g.makeRectIsTargetByCursor(b,d,s),getLinearBrushOtherExtent:g.makeLinearBrushOtherExtent(b,0)}]).enableBrush({brushType:"lineX",brushStyle:a,removeOnClick:!0}).updateCovers(e(t))},_onBrush:function(r,a){var t=this.axisModel,s=t.axis,u=f.map(r,function(d){return[s.coordToData(d.range[0],!0),s.coordToData(d.range[1],!0)]});(!t.option.realtime===a.isEnd||a.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:t.id,intervals:u})},dispose:function(){this._brushController.dispose()}});function l(r,a,t){return t&&t.type==="axisAreaSelect"&&a.findComponents({mainType:"parallelAxis",query:t})[0]===r}function e(r){var a=r.axis;return f.map(r.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[a.dataToCoord(t[0],!0),a.dataToCoord(t[1],!0)]}})}function n(r,a){return a.getComponent("parallel",r.get("parallelIndex"))}var i=h;M.exports=i},"sK/D":function(M,B,o){var w=o("IwbS"),f=o("OELB"),A=f.round;function m(c,h,l){var e=c.getArea(),n=c.getBaseAxis().isHorizontal(),i=e.x,r=e.y,a=e.width,t=e.height,s=l.get("lineStyle.width")||2;i-=s/2,r-=s/2,a+=s,t+=s,i=Math.floor(i),a=Math.round(a);var u=new w.Rect({shape:{x:i,y:r,width:a,height:t}});return h&&(u.shape[n?"width":"height"]=0,w.initProps(u,{shape:{width:a,height:t}},l)),u}function g(c,h,l){var e=c.getArea(),n=new w.Sector({shape:{cx:A(c.cx,1),cy:A(c.cy,1),r0:A(e.r0,1),r:A(e.r,1),startAngle:e.startAngle,endAngle:e.endAngle,clockwise:e.clockwise}});return h&&(n.shape.endAngle=e.startAngle,w.initProps(n,{shape:{endAngle:e.endAngle}},l)),n}function p(c,h,l){if(c){if(c.type==="polar")return g(c,h,l);if(c.type==="cartesian2d")return m(c,h,l)}else return null;return null}B.createGridClipPath=m,B.createPolarClipPath=g,B.createClipPath=p},sKAj:function(M,B,o){"use strict";var w=o("rePB"),f=o("wx14"),A=o("q1tI"),m=o("TSYQ"),g=o.n(m),p=o("9R2V"),c=o("IepU"),h=o("B6l+"),l=o.n(h),e=function(F){var P=F.value,W=F.formatter,D=F.precision,U=F.decimalSeparator,H=F.groupSeparator,j=H===void 0?"":H,K=F.prefixCls,X;if(typeof W=="function")X=W(P);else{var z=String(P),Y=z.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Y||z==="-")X=z;else{var $=Y[1],ne=Y[2]||"0",J=Y[4]||"";ne=ne.replace(/\B(?=(\d{3})+(?!\d))/g,j),typeof D=="number"&&(J=l()(J,D,"0").slice(0,D)),J&&(J="".concat(U).concat(J)),X=[A.createElement("span",{key:"int",className:"".concat(K,"-content-value-int")},$,ne),J&&A.createElement("span",{key:"decimal",className:"".concat(K,"-content-value-decimal")},J)]}}return A.createElement("span",{className:"".concat(K,"-content-value")},X)},n=e,i=function(F){var P=F.prefixCls,W=F.className,D=F.style,U=F.valueStyle,H=F.value,j=H===void 0?0:H,K=F.title,X=F.valueRender,z=F.prefix,Y=F.suffix,$=F.loading,ne=F.direction,J=F.onMouseEnter,ge=F.onMouseLeave,de=A.createElement(n,Object(f.a)({},F,{value:j})),Ie=g()(P,Object(w.a)({},"".concat(P,"-rtl"),ne==="rtl"),W);return A.createElement("div",{className:Ie,style:D,onMouseEnter:J,onMouseLeave:ge},K&&A.createElement("div",{className:"".concat(P,"-title")},K),A.createElement(c.a,{paragraph:!1,loading:$},A.createElement("div",{style:U,className:"".concat(P,"-content")},z&&A.createElement("span",{className:"".concat(P,"-content-prefix")},z),X?X(de):de,Y&&A.createElement("span",{className:"".concat(P,"-content-suffix")},Y))))};i.defaultProps={decimalSeparator:".",groupSeparator:",",loading:!1};var r=Object(p.c)({prefixCls:"statistic"})(i),a=r,t=o("1OyB"),s=o("vuIU"),u=o("Ji7U"),d=o("LK+K"),v=o("ODXe"),y=o("QQZ/"),S=o.n(y),b=[["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 E(k,F){var P=k,W=/\[[^\]]*]/g,D=(F.match(W)||[]).map(function(K){return K.slice(1,-1)}),U=F.replace(W,"[]"),H=b.reduce(function(K,X){var z=Object(v.a)(X,2),Y=z[0],$=z[1];if(K.indexOf(Y)!==-1){var ne=Math.floor(P/$);return P-=ne*$,K.replace(new RegExp("".concat(Y,"+"),"g"),function(J){var ge=J.length;return S()(ne.toString(),ge,"0")})}return K},U),j=0;return H.replace(W,function(){var K=D[j];return j+=1,K})}function C(k,F){var P=F.format,W=P===void 0?"":P,D=new Date(k).getTime(),U=Date.now(),H=Math.max(D-U,0);return E(H,W)}var T=o("kLeg"),x=1e3/30;function _(k){return new Date(k).getTime()}var I=function(k){Object(u.a)(P,k);var F=Object(d.a)(P);function P(){var W;return Object(t.a)(this,P),W=F.apply(this,arguments),W.syncTimer=function(){var D=W.props.value,U=_(D);U>=Date.now()?W.startTimer():W.stopTimer()},W.startTimer=function(){if(W.countdownId)return;var D=W.props,U=D.onChange,H=D.value,j=_(H);W.countdownId=window.setInterval(function(){W.forceUpdate(),U&&j>Date.now()&&U(j-Date.now())},x)},W.stopTimer=function(){var D=W.props,U=D.onFinish,H=D.value;if(W.countdownId){clearInterval(W.countdownId),W.countdownId=void 0;var j=_(H);U&&j<Date.now()&&U()}},W.formatCountdown=function(D,U){var H=W.props.format;return C(D,Object(f.a)(Object(f.a)({},U),{format:H}))},W.valueRender=function(D){return Object(T.a)(D,{title:void 0})},W}return Object(s.a)(P,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return A.createElement(a,Object(f.a)({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),P}(A.Component);I.defaultProps={format:"HH:mm:ss"};var L=I;a.Countdown=L;var R=B.a=a},sKgW:function(M,B){var o=9007199254740991,w=Math.floor;function f(A,m){var g="";if(!A||m<1||m>o)return g;do m%2&&(g+=A),m=w(m/2),m&&(A+=A);while(m);return g}M.exports=f},sOUE:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("kh1m"),m=o.n(A)},sRwP:function(M,B,o){o("jsU+"),o("2548"),o("Tp9H"),o("06DH"),o("dnwI"),o("fE02"),o("33Ds")},"sS/r":function(M,B,o){var w=o("4fz+"),f=o("iRjW"),A=o("Yl7c"),m=function(){this.group=new w,this.uid=f.getUID("viewComponent")};m.prototype={constructor:m,init:function(c,h){},render:function(c,h,l,e){},dispose:function(){},filterForExposedEvent:null};var g=m.prototype;g.updateView=g.updateLayout=g.updateVisual=function(c,h,l,e){},A.enableClassExtend(m),A.enableClassManagement(m,{registerWhenExtend:!0});var p=m;M.exports=p},"sW+o":function(M,B,o){var w=o("SrGk"),f=o("bYtY"),A=o("SUKs"),m=o("Qe9p");function g(c,h){w.call(this,c,h,["linearGradient","radialGradient"],"__gradient_in_use__")}f.inherits(g,w),g.prototype.addWithoutUpdate=function(c,h){if(h&&h.style){var l=this;f.each(["fill","stroke"],function(e){if(h.style[e]&&(h.style[e].type==="linear"||h.style[e].type==="radial")){var n=h.style[e],i=l.getDefs(!0),r;n._dom?(r=n._dom,i.contains(n._dom)||l.addDom(r)):r=l.add(n),l.markUsed(h);var a=r.getAttribute("id");c.setAttribute(e,"url(#"+a+")")}})}},g.prototype.add=function(c){var h;if(c.type==="linear")h=this.createElement("linearGradient");else if(c.type==="radial")h=this.createElement("radialGradient");else return A("Illegal gradient type."),null;return c.id=c.id||this.nextId++,h.setAttribute("id","zr"+this._zrId+"-gradient-"+c.id),this.updateDom(c,h),this.addDom(h),h},g.prototype.update=function(c){var h=this;w.prototype.update.call(this,c,function(){var l=c.type,e=c._dom.tagName;l==="linear"&&e==="linearGradient"||l==="radial"&&e==="radialGradient"?h.updateDom(c,c._dom):(h.removeDom(c),h.add(c))})},g.prototype.updateDom=function(c,h){if(c.type==="linear")h.setAttribute("x1",c.x),h.setAttribute("y1",c.y),h.setAttribute("x2",c.x2),h.setAttribute("y2",c.y2);else if(c.type==="radial")h.setAttribute("cx",c.x),h.setAttribute("cy",c.y),h.setAttribute("r",c.r);else{A("Illegal gradient type.");return}c.global?h.setAttribute("gradientUnits","userSpaceOnUse"):h.setAttribute("gradientUnits","objectBoundingBox"),h.innerHTML="";for(var l=c.colorStops,e=0,n=l.length;e<n;++e){var i=this.createElement("stop");i.setAttribute("offset",l[e].offset*100+"%");var r=l[e].color;if(r.indexOf("rgba">-1)){var a=m.parse(r)[3],t=m.toHex(r);i.setAttribute("stop-color","#"+t),i.setAttribute("stop-opacity",a)}else i.setAttribute("stop-color",l[e].color);h.appendChild(i)}c._dom=h},g.prototype.markUsed=function(c){if(c.style){var h=c.style.fill;h&&h._dom&&w.prototype.markUsed.call(this,h._dom),h=c.style.stroke,h&&h._dom&&w.prototype.markUsed.call(this,h._dom)}};var p=g;M.exports=p},sbK1:function(M,B,o){"use strict";var w=o("wx14"),f=o("rePB"),A=o("KQm4"),m=o("q1tI"),g=o("TSYQ"),p=o.n(g),c=o("Zm9Q"),h=o("8Skl"),l=o("C1wK"),e=o("9R2V"),n=function(_,I){var L={};for(var R in _)Object.prototype.hasOwnProperty.call(_,R)&&I.indexOf(R)<0&&(L[R]=_[R]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,R=Object.getOwnPropertySymbols(_);k<R.length;k++)I.indexOf(R[k])<0&&Object.prototype.propertyIsEnumerable.call(_,R[k])&&(L[R[k]]=_[R[k]]);return L},i=function(I){var L=I.prefixCls,R=I.separator,k=R===void 0?"/":R,F=I.children,P=I.overlay,W=I.dropdownProps,D=n(I,["prefixCls","separator","children","overlay","dropdownProps"]),U=m.useContext(e.b),H=U.getPrefixCls,j=H("breadcrumb",L),K=function(Y){return P?m.createElement(l.a,Object(w.a)({overlay:P,placement:"bottomCenter"},W),m.createElement("span",{className:"".concat(j,"-overlay-link")},Y,m.createElement(h.a,null))):Y},X;return"href"in D?X=m.createElement("a",Object(w.a)({className:"".concat(j,"-link")},D),F):X=m.createElement("span",Object(w.a)({className:"".concat(j,"-link")},D),F),X=K(X),F?m.createElement("span",null,X,k&&m.createElement("span",{className:"".concat(j,"-separator")},k)):null};i.__ANT_BREADCRUMB_ITEM=!0;var r=i,a=function(I){var L=I.children,R=m.useContext(e.b),k=R.getPrefixCls,F=k("breadcrumb");return m.createElement("span",{className:"".concat(F,"-separator")},L||"/")};a.__ANT_BREADCRUMB_SEPARATOR=!0;var t=a,s=o("AE+S"),u=o("bq+4"),d=o("kLeg"),v=function(_,I){var L={};for(var R in _)Object.prototype.hasOwnProperty.call(_,R)&&I.indexOf(R)<0&&(L[R]=_[R]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,R=Object.getOwnPropertySymbols(_);k<R.length;k++)I.indexOf(R[k])<0&&Object.prototype.propertyIsEnumerable.call(_,R[k])&&(L[R[k]]=_[R[k]]);return L};function y(_,I){if(!_.breadcrumbName)return null;var L=Object.keys(I).join("|"),R=_.breadcrumbName.replace(new RegExp(":(".concat(L,")"),"g"),function(k,F){return I[F]||k});return R}function S(_,I,L,R){var k=L.indexOf(_)===L.length-1,F=y(_,I);return k?m.createElement("span",null,F):m.createElement("a",{href:"#/".concat(R.join("/"))},F)}var b=function(I,L){return I=(I||"").replace(/^\//,""),Object.keys(L).forEach(function(R){I=I.replace(":".concat(R),L[R])}),I},E=function(I){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",R=arguments.length>2?arguments[2]:void 0,k=Object(A.a)(I),F=b(L,R);return F&&k.push(F),k},C=function(I){var L=I.prefixCls,R=I.separator,k=R===void 0?"/":R,F=I.style,P=I.className,W=I.routes,D=I.children,U=I.itemRender,H=U===void 0?S:U,j=I.params,K=j===void 0?{}:j,X=v(I,["prefixCls","separator","style","className","routes","children","itemRender","params"]),z=m.useContext(e.b),Y=z.getPrefixCls,$=z.direction,ne,J=Y("breadcrumb",L);if(W&&W.length>0){var ge=[];ne=W.map(function(Ie){var be=b(Ie.path,K);be&&ge.push(be);var Ce;return Ie.children&&Ie.children.length&&(Ce=m.createElement(s.a,null,Ie.children.map(function(je){return m.createElement(s.a.Item,{key:je.path||je.breadcrumbName},H(je,K,W,E(ge,je.path,K)))}))),m.createElement(r,{overlay:Ce,separator:k,key:be||Ie.breadcrumbName},H(Ie,K,W,ge))})}else D&&(ne=Object(c.a)(D).map(function(Ie,be){return Ie&&(Object(u.a)(Ie.type&&(Ie.type.__ANT_BREADCRUMB_ITEM===!0||Ie.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(d.a)(Ie,{separator:k,key:be}))}));var de=p()(J,Object(f.a)({},"".concat(J,"-rtl"),$==="rtl"),P);return m.createElement("div",Object(w.a)({className:de,style:F},X),ne)};C.Item=r,C.Separator=t;var T=C,x=B.a=T},sboe:function(M,B,o){"use strict";o.d(B,"a",function(){return A});var w=o("q1tI"),f=o.n(w),A=w.createContext(null)},sdST:function(M,B,o){var w=o("hi0g");function f(A,m){return m=m||{},w(m.coordDimensions||[],A,{dimsDef:m.dimensionsDefine||A.dimensionsDefine,encodeDef:m.encodeDefine||A.encodeDefine,dimCount:m.dimensionsCount,encodeDefaulter:m.encodeDefaulter,generateCoord:m.generateCoord,generateCoordCount:m.generateCoordCount})}M.exports=f},sjKO:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=A;var w=30,f=12;function A(m,g){var p,c,h,l,e,n,i,r,a,t,s,u,d,v,y,S,b,E,C,T,x,_,I,L,R;p=m.state,c=m.next_in,L=m.input,h=c+(m.avail_in-5),l=m.next_out,R=m.output,e=l-(g-m.avail_out),n=l+(m.avail_out-257),i=p.dmax,r=p.wsize,a=p.whave,t=p.wnext,s=p.window,u=p.hold,d=p.bits,v=p.lencode,y=p.distcode,S=(1<<p.lenbits)-1,b=(1<<p.distbits)-1;e:do{d<15&&(u+=L[c++]<<d,d+=8,u+=L[c++]<<d,d+=8),E=v[u&S];t:for(;;){if(C=E>>>24,u>>>=C,d-=C,C=E>>>16&255,C===0)R[l++]=E&65535;else if(C&16){T=E&65535,C&=15,C&&(d<C&&(u+=L[c++]<<d,d+=8),T+=u&(1<<C)-1,u>>>=C,d-=C),d<15&&(u+=L[c++]<<d,d+=8,u+=L[c++]<<d,d+=8),E=y[u&b];r:for(;;){if(C=E>>>24,u>>>=C,d-=C,C=E>>>16&255,C&16){if(x=E&65535,C&=15,d<C&&(u+=L[c++]<<d,d+=8,d<C&&(u+=L[c++]<<d,d+=8)),x+=u&(1<<C)-1,x>i){m.msg="invalid distance too far back",p.mode=w;break e}if(u>>>=C,d-=C,C=l-e,x>C){if(C=x-C,C>a&&p.sane){m.msg="invalid distance too far back",p.mode=w;break e}if(_=0,I=s,t===0){if(_+=r-C,C<T){T-=C;do R[l++]=s[_++];while(--C);_=l-x,I=R}}else if(t<C){if(_+=r+t-C,C-=t,C<T){T-=C;do R[l++]=s[_++];while(--C);if(_=0,t<T){C=t,T-=C;do R[l++]=s[_++];while(--C);_=l-x,I=R}}}else if(_+=t-C,C<T){T-=C;do R[l++]=s[_++];while(--C);_=l-x,I=R}for(;T>2;)R[l++]=I[_++],R[l++]=I[_++],R[l++]=I[_++],T-=3;T&&(R[l++]=I[_++],T>1&&(R[l++]=I[_++]))}else{_=l-x;do R[l++]=R[_++],R[l++]=R[_++],R[l++]=R[_++],T-=3;while(T>2);T&&(R[l++]=R[_++],T>1&&(R[l++]=R[_++]))}}else if((C&64)===0){E=y[(E&65535)+(u&(1<<C)-1)];continue r}else{m.msg="invalid distance code",p.mode=w;break e}break}}else if((C&64)===0){E=v[(E&65535)+(u&(1<<C)-1)];continue t}else if(C&32){p.mode=f;break e}else{m.msg="invalid literal/length code",p.mode=w;break e}break}}while(c<h&&l<n);T=d>>3,c-=T,d-=T<<3,u&=(1<<d)-1,m.next_in=c,m.next_out=l,m.avail_in=c<h?5+(h-c):5-(c-h),m.avail_out=l<n?257+(n-l):257-(l-n),p.hold=u,p.bits=d;return}},szbU:function(M,B,o){var w=o("bYtY"),f=w.each;function A(g){var p=g&&g.visualMap;w.isArray(p)||(p=p?[p]:[]),f(p,function(c){if(!c)return;m(c,"splitList")&&!m(c,"pieces")&&(c.pieces=c.splitList,delete c.splitList);var h=c.pieces;h&&w.isArray(h)&&f(h,function(l){w.isObject(l)&&(m(l,"start")&&!m(l,"min")&&(l.min=l.start),m(l,"end")&&!m(l,"max")&&(l.max=l.end))})})}function m(g,p){return g&&g.hasOwnProperty&&g.hasOwnProperty(p)}M.exports=A},t23M:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("1OyB"),A=o("vuIU"),m=o("Ji7U"),g=o("LK+K"),p=o("q1tI"),c=o.n(p),h=o("m+aA"),l=o("Zm9Q"),e=o("Kwbf"),n=o("c+Xe"),i=o("bdgK"),r="rc-observer-key",a=function(t){Object(m.a)(u,t);var s=Object(g.a)(u);function u(){var d;Object(f.a)(this,u);for(var v=arguments.length,y=new Array(v),S=0;S<v;S++)y[S]=arguments[S];return d=s.call.apply(s,[this].concat(y)),d.resizeObserver=null,d.childNode=null,d.currentElement=null,d.state={width:0,height:0,offsetHeight:0,offsetWidth:0},d.onResize=function(b){var E=d.props.onResize,C=b[0].target,T=C.getBoundingClientRect(),x=T.width,_=T.height,I=C.offsetWidth,L=C.offsetHeight,R=Math.floor(x),k=Math.floor(_);if(d.state.width!==R||d.state.height!==k||d.state.offsetWidth!==I||d.state.offsetHeight!==L){var F={width:R,height:k,offsetWidth:I,offsetHeight:L};if(d.setState(F),E){var P=I===Math.round(x)?x:I,W=L===Math.round(_)?_:L;Promise.resolve().then(function(){E(Object(w.a)(Object(w.a)({},F),{},{offsetWidth:P,offsetHeight:W}),C)})}}},d.setChildNode=function(b){d.childNode=b},d}return Object(A.a)(u,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var v=this.props.disabled;if(v){this.destroyObserver();return}var y=Object(h.a)(this.childNode||this),S=y!==this.currentElement;S&&(this.destroyObserver(),this.currentElement=y),!this.resizeObserver&&y&&(this.resizeObserver=new i.a(this.onResize),this.resizeObserver.observe(y))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var v=this.props.children,y=Object(l.a)(v);if(y.length>1)Object(e.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(y.length===0)return Object(e.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var S=y[0];if(p.isValidElement(S)&&Object(n.c)(S)){var b=S.ref;y[0]=p.cloneElement(S,{ref:Object(n.a)(b,this.setChildNode)})}return y.length===1?y[0]:y.map(function(E,C){return!p.isValidElement(E)||"key"in E&&E.key!==null?E:p.cloneElement(E,{key:"".concat(r,"-").concat(C)})})}}]),u}(p.Component);a.displayName="ResizeObserver",B.a=a},t3Fx:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=Object.assign||function(s){for(var u=1;u<arguments.length;u++){var d=arguments[u];for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(s[v]=d[v])}return s},f=function(){function s(u,d){for(var v=0;v<d.length;v++){var y=d[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(u,y.key,y)}}return function(u,d,v){return d&&s(u.prototype,d),v&&s(u,v),u}}(),A=o("q1tI"),m=n(A),g=o("17x9"),p=n(g),c=o("tkwv"),h=n(c),l=o("u3os"),e=o("kzFp");function n(s){return s&&s.__esModule?s:{default:s}}function i(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function r(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function a(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var t=function(s){a(u,s);function u(d){i(this,u);var v=r(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,d));return v.getEchartsInstance=function(){return v.echartsLib.getInstanceByDom(v.echartsElement)||v.echartsLib.init(v.echartsElement,v.props.theme,v.props.opts)},v.dispose=function(){if(v.echartsElement){try{(0,l.clear)(v.echartsElement)}catch(y){console.warn(y)}v.echartsLib.dispose(v.echartsElement)}},v.rerender=function(){var y=v.props,S=y.onEvents,b=y.onChartReady,E=v.renderEchartDom();v.bindEvents(E,S||{}),typeof b=="function"&&v.props.onChartReady(E),v.echartsElement&&(0,l.bind)(v.echartsElement,function(){try{E.resize()}catch(C){console.warn(C)}})},v.bindEvents=function(y,S){var b=function(T,x){typeof T=="string"&&typeof x=="function"&&y.on(T,function(_){x(_,y)})};for(var E in S)Object.prototype.hasOwnProperty.call(S,E)&&b(E,S[E])},v.renderEchartDom=function(){var y=v.getEchartsInstance();return y.setOption(v.props.option,v.props.notMerge||!1,v.props.lazyUpdate||!1),v.props.showLoading?y.showLoading(v.props.loadingOption||null):y.hideLoading(),y},v.echartsLib=d.echarts,v.echartsElement=null,v}return f(u,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(v){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(v,this.props))return;if(!(0,h.default)(v.theme,this.props.theme)||!(0,h.default)(v.opts,this.props.opts)||!(0,h.default)(v.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var y=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,h.default)((0,e.pick)(this.props,y),(0,e.pick)(v,y)))return;var S=this.renderEchartDom();if(!(0,h.default)(v.style,this.props.style)||!(0,h.default)(v.className,this.props.className))try{S.resize()}catch(b){console.warn(b)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var v=this,y=this.props,S=y.style,b=y.className,E=w({height:300},S);return m.default.createElement("div",{ref:function(T){v.echartsElement=T},style:E,className:"echarts-for-react "+b})}}]),u}(A.Component);B.default=t,t.propTypes={option:p.default.object.isRequired,echarts:p.default.object,notMerge:p.default.bool,lazyUpdate:p.default.bool,style:p.default.object,className:p.default.string,theme:p.default.oneOfType([p.default.string,p.default.object]),onChartReady:p.default.func,showLoading:p.default.bool,loadingOption:p.default.object,onEvents:p.default.object,opts:p.default.shape({devicePixelRatio:p.default.number,renderer:p.default.oneOf(["canvas","svg"]),width:p.default.oneOfType([p.default.number,p.default.oneOf([null,void 0,"auto"])]),height:p.default.oneOfType([p.default.number,p.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:p.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}}},t8gd:function(M,B,o){"use strict";o.d(B,"a",function(){return w});function w(f){return Object.keys(f).reduce(function(A,m){return(m.substr(0,5)==="data-"||m.substr(0,5)==="aria-"||m==="role")&&m.substr(0,7)!=="data-__"&&(A[m]=f[m]),A},{})}},tBnm:function(M,B,o){var w=o("bYtY"),f=o("IwbS"),A=o("Qxkt"),m=o("Znkb"),g=o("+rIm"),p=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function c(n,i,r){i[1]>i[0]&&(i=i.slice().reverse());var a=n.coordToPoint([i[0],r]),t=n.coordToPoint([i[1],r]);return{x1:a[0],y1:a[1],x2:t[0],y2:t[1]}}function h(n){var i=n.getRadiusAxis();return i.inverse?0:1}function l(n){var i=n[0],r=n[n.length-1];i&&r&&Math.abs(Math.abs(i.coord-r.coord)-360)<1e-4&&n.pop()}var e=m.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(n,i){if(this.group.removeAll(),!n.get("show"))return;var r=n.axis,a=r.polar,t=a.getRadiusAxis().getExtent(),s=r.getTicksCoords(),u=r.getMinorTicksCoords(),d=w.map(r.getViewLabels(),function(v){var v=w.clone(v);return v.coord=r.dataToCoord(v.tickValue),v});l(d),l(s),w.each(p,function(v){n.get(v+".show")&&(!r.scale.isBlank()||v==="axisLine")&&this["_"+v](n,a,s,u,t,d)},this)},_axisLine:function(n,i,r,a,t){var s=n.getModel("axisLine.lineStyle"),u=h(i),d=u?0:1,v;t[d]===0?v=new f.Circle({shape:{cx:i.cx,cy:i.cy,r:t[u]},style:s.getLineStyle(),z2:1,silent:!0}):v=new f.Ring({shape:{cx:i.cx,cy:i.cy,r:t[u],r0:t[d]},style:s.getLineStyle(),z2:1,silent:!0}),v.style.fill=null,this.group.add(v)},_axisTick:function(n,i,r,a,t){var s=n.getModel("axisTick"),u=(s.get("inside")?-1:1)*s.get("length"),d=t[h(i)],v=w.map(r,function(y){return new f.Line({shape:c(i,[d,d+u],y.coord)})});this.group.add(f.mergePath(v,{style:w.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:n.get("axisLine.lineStyle.color")})}))},_minorTick:function(n,i,r,a,t){if(!a.length)return;for(var s=n.getModel("axisTick"),u=n.getModel("minorTick"),d=(s.get("inside")?-1:1)*u.get("length"),v=t[h(i)],y=[],S=0;S<a.length;S++)for(var b=0;b<a[S].length;b++)y.push(new f.Line({shape:c(i,[v,v+d],a[S][b].coord)}));this.group.add(f.mergePath(y,{style:w.defaults(u.getModel("lineStyle").getLineStyle(),w.defaults(s.getLineStyle(),{stroke:n.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(n,i,r,a,t,s){var u=n.getCategories(!0),d=n.getModel("axisLabel"),v=d.get("margin"),y=n.get("triggerEvent");w.each(s,function(S,b){var E=d,C=S.tickValue,T=t[h(i)],x=i.coordToPoint([T+v,S.coord]),_=i.cx,I=i.cy,L=Math.abs(x[0]-_)/T<.3?"center":x[0]>_?"left":"right",R=Math.abs(x[1]-I)/T<.3?"middle":x[1]>I?"top":"bottom";u&&u[C]&&u[C].textStyle&&(E=new A(u[C].textStyle,d,d.ecModel));var k=new f.Text({silent:g.isLabelSilent(n)});this.group.add(k),f.setTextStyle(k.style,E,{x:x[0],y:x[1],textFill:E.getTextColor()||n.get("axisLine.lineStyle.color"),text:S.formattedLabel,textAlign:L,textVerticalAlign:R}),y&&(k.eventData=g.makeAxisEventDataBase(n),k.eventData.targetType="axisLabel",k.eventData.value=S.rawLabel)},this)},_splitLine:function(n,i,r,a,t){var s=n.getModel("splitLine"),u=s.getModel("lineStyle"),d=u.get("color"),v=0;d=d instanceof Array?d:[d];for(var y=[],S=0;S<r.length;S++){var b=v++%d.length;y[b]=y[b]||[],y[b].push(new f.Line({shape:c(i,t,r[S].coord)}))}for(var S=0;S<y.length;S++)this.group.add(f.mergePath(y[S],{style:w.defaults({stroke:d[S%d.length]},u.getLineStyle()),silent:!0,z:n.get("z")}))},_minorSplitLine:function(n,i,r,a,t){if(!a.length)return;for(var s=n.getModel("minorSplitLine"),u=s.getModel("lineStyle"),d=[],v=0;v<a.length;v++)for(var y=0;y<a[v].length;y++)d.push(new f.Line({shape:c(i,t,a[v][y].coord)}));this.group.add(f.mergePath(d,{style:u.getLineStyle(),silent:!0,z:n.get("z")}))},_splitArea:function(n,i,r,a,t){if(!r.length)return;var s=n.getModel("splitArea"),u=s.getModel("areaStyle"),d=u.get("color"),v=0;d=d instanceof Array?d:[d];for(var y=[],S=Math.PI/180,b=-r[0].coord*S,E=Math.min(t[0],t[1]),C=Math.max(t[0],t[1]),T=n.get("clockwise"),x=1;x<r.length;x++){var _=v++%d.length;y[_]=y[_]||[],y[_].push(new f.Sector({shape:{cx:i.cx,cy:i.cy,r0:E,r:C,startAngle:b,endAngle:-r[x].coord*S,clockwise:T},silent:!0})),b=-r[x].coord*S}for(var x=0;x<y.length;x++)this.group.add(f.mergePath(y[x],{style:w.defaults({fill:d[x%d.length]},u.getAreaStyle()),silent:!0}))}});M.exports=e},tceW:function(M,B,o){var w=o("KCsZ"),f=w([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),A={getBarItemStyle:function(m){var g=f(this,m);if(this.getBorderLineDash){var p=this.getBorderLineDash();p&&(g.lineDash=p)}return g}};M.exports=A},tkwv:function(M,B,o){"use strict";var w=Array.isArray,f=Object.keys,A=Object.prototype.hasOwnProperty;M.exports=function m(g,p){if(g===p)return!0;if(g&&p&&typeof g=="object"&&typeof p=="object"){var c=w(g),h=w(p),l,e,n;if(c&&h){if(e=g.length,e!=p.length)return!1;for(l=e;l--!==0;)if(!m(g[l],p[l]))return!1;return!0}if(c!=h)return!1;var i=g instanceof Date,r=p instanceof Date;if(i!=r)return!1;if(i&&r)return g.getTime()==p.getTime();var a=g instanceof RegExp,t=p instanceof RegExp;if(a!=t)return!1;if(a&&t)return g.toString()==p.toString();var s=f(g);if(e=s.length,e!==f(p).length)return!1;for(l=e;l--!==0;)if(!A.call(p,s[l]))return!1;for(l=e;l--!==0;)if(n=s[l],!m(g[n],p[n]))return!1;return!0}return g!==g&&p!==p}},txkQ:function(M,B,o){var w=o("aX58");B.zrender=w;var f=o("Fofx");B.matrix=f;var A=o("QBsz");B.vector=A;var m=o("bYtY"),g=o("Qe9p");B.color=g;var p=o("IwbS"),c=o("OELB");B.number=c;var h=o("7aKB");B.format=h;var l=o("iLNv"),e=l.throttle;B.throttle=l.throttle;var n=o("FUi9");B.helper=n;var i=o("vafp");B.parseGeoJSON=i;var r=o("YXkt");B.List=r;var a=o("Qxkt");B.Model=a;var t=o("hM6l");B.Axis=t;var s=o("ItGF");B.env=s;var u=i,d={};m.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(y){d[y]=m[y]});var v={};m.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(y){v[y]=p[y]}),B.parseGeoJson=u,B.util=d,B.graphic=v},u3DP:function(M,B,o){var w=o("6GrX"),f=o("OELB"),A=f.parsePercent,m=Math.PI/180;function g(l,e,n,i,r,a,t,s,u,d){l.sort(function(L,R){return L.y-R.y});function v(L,R,k,F){for(var P=L;P<R&&!(l[P].y+k>u+t);P++)if(l[P].y+=k,P>L&&P+1<R&&l[P+1].y>l[P].y+l[P].height){y(P,k/2);return}y(R-1,k/2)}function y(L,R){for(var k=L;k>=0&&!(l[k].y-R<u);k--)if(l[k].y-=R,k>0&&l[k].y>l[k-1].y+l[k-1].height)break}function S(L,R,k,F,P,W){for(var D=(W>0,R?Number.MAX_VALUE:0),U=0,H=L.length;U<H;U++){if(L[U].labelAlignTo!=="none")continue;var j=Math.abs(L[U].y-F),K=L[U].len,X=L[U].len2,z=j<P+K?Math.sqrt((P+K+X)*(P+K+X)-j*j):Math.abs(L[U].x-k);R&&z>=D&&(z=D-10),!R&&z<=D&&(z=D+10),L[U].x=k+z*W,D=z}}for(var b=0,E,C=l.length,T=[],x=[],_=0;_<C;_++){if(l[_].position==="outer"&&l[_].labelAlignTo==="labelLine"){var I=l[_].x-d;l[_].linePoints[1][0]+=I,l[_].x=d}E=l[_].y-b,E<0&&v(_,C,-E,r),b=l[_].y+l[_].height}t-b<0&&y(C-1,b-t);for(var _=0;_<C;_++)l[_].y>=n?x.push(l[_]):T.push(l[_]);S(T,!1,e,n,i,r),S(x,!0,e,n,i,r)}function p(l,e,n,i,r,a,t,s){for(var u=[],d=[],v=Number.MAX_VALUE,y=-Number.MAX_VALUE,S=0;S<l.length;S++){if(c(l[S]))continue;l[S].x<e?(v=Math.min(v,l[S].x),u.push(l[S])):(y=Math.max(y,l[S].x),d.push(l[S]))}g(d,e,n,i,1,r,a,t,s,y),g(u,e,n,i,-1,r,a,t,s,v);for(var S=0;S<l.length;S++){var b=l[S];if(c(b))continue;var E=b.linePoints;if(E){var C=b.labelAlignTo==="edge",T=b.textRect.width,x;C?b.x<e?x=E[2][0]-b.labelDistance-t-b.labelMargin:x=t+r-b.labelMargin-E[2][0]-b.labelDistance:b.x<e?x=b.x-t-b.bleedMargin:x=t+r-b.x-b.bleedMargin,x<b.textRect.width&&(b.text=w.truncateText(b.text,x,b.font),b.labelAlignTo==="edge"&&(T=w.getWidth(b.text,b.font)));var _=E[1][0]-E[2][0];C?b.x<e?E[2][0]=t+b.labelMargin+T+b.labelDistance:E[2][0]=t+r-b.labelMargin-T-b.labelDistance:(b.x<e?E[2][0]=b.x+b.labelDistance:E[2][0]=b.x-b.labelDistance,E[1][0]=E[2][0]+_),E[1][1]=E[2][1]=b.y}}}function c(l){return l.position==="center"}function h(l,e,n,i,r,a){var t=l.getData(),s=[],u,d,v=!1,y=(l.get("minShowLabelAngle")||0)*m;t.each(function(S){var b=t.getItemLayout(S),E=t.getItemModel(S),C=E.getModel("label"),T=C.get("position")||E.get("emphasis.label.position"),x=C.get("distanceToLabelLine"),_=C.get("alignTo"),I=A(C.get("margin"),n),L=C.get("bleedMargin"),R=C.getFont(),k=E.getModel("labelLine"),F=k.get("length");F=A(F,n);var P=k.get("length2");if(P=A(P,n),b.angle<y)return;var W=(b.startAngle+b.endAngle)/2,D=Math.cos(W),U=Math.sin(W),H,j,K,X;u=b.cx,d=b.cy;var z=l.getFormattedLabel(S,"normal")||t.getName(S),Y=w.getBoundingRect(z,R,X,"top"),$=T==="inside"||T==="inner";if(T==="center")H=b.cx,j=b.cy,X="center";else{var ne=($?(b.r+b.r0)/2*D:b.r*D)+u,J=($?(b.r+b.r0)/2*U:b.r*U)+d;if(H=ne+D*3,j=J+U*3,!$){var ge=ne+D*(F+e-b.r),de=J+U*(F+e-b.r),Ie=ge+(D<0?-1:1)*P,be=de;_==="edge"?H=D<0?r+I:r+n-I:H=Ie+(D<0?-x:x),j=be,K=[[ne,J],[ge,de],[Ie,be]]}X=$?"center":_==="edge"?D>0?"right":"left":D>0?"left":"right"}var Ce,je=C.get("rotate");typeof je=="number"?Ce=je*(Math.PI/180):Ce=je?D<0?-W+Math.PI:-W:0,v=!!Ce,b.label={x:H,y:j,position:T,height:Y.height,len:F,len2:P,linePoints:K,textAlign:X,verticalAlign:"middle",rotation:Ce,inside:$,labelDistance:x,labelAlignTo:_,labelMargin:I,bleedMargin:L,textRect:Y,text:z,font:R},$||s.push(b.label)}),!v&&l.get("avoidLabelOverlap")&&p(s,u,d,e,n,i,r,a)}M.exports=h},u3os:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.ver=B.clear=B.bind=void 0;var w=o("P4Qj"),f=function(p,c){var h=(0,w.getSensor)(p);return h.bind(c),function(){h.unbind(c)}};B.bind=f;var A=function(p){var c=(0,w.getSensor)(p);(0,w.removeSensor)(c)};B.clear=A;var m="1.0.1";B.ver=m},uAnK:function(M,B,o){var w=o("bYtY"),f=o("Kagy"),A=o("KxfA"),m=A.retrieveRawValue;function g(p,c){var h=c.getModel("aria");if(h.get("show")){if(h.get("description")){p.setAttribute("aria-label",h.get("description"));return}}else return;var l=0;c.eachSeries(function(S,b){++l},this);var e=h.get("data.maxCount")||10,n=h.get("series.maxCount")||10,i=Math.min(l,n),r;if(l<1)return;var a=v();a?r=u(d("general.withTitle"),{title:a}):r=d("general.withoutTitle");var t=[],s=l>1?"series.multiple.prefix":"series.single.prefix";r+=u(d(s),{seriesCount:l}),c.eachSeries(function(S,b){if(b<i){var E,C=S.get("name"),T="series."+(l>1?"multiple":"single")+".";E=d(C?T+"withName":T+"withoutName"),E=u(E,{seriesId:S.seriesIndex,seriesName:S.get("name"),seriesType:y(S.subType)});var x=S.getData();window.data=x,x.count()>e?E+=u(d("data.partialData"),{displayCnt:e}):E+=d("data.allData");for(var _=[],I=0;I<x.count();I++)if(I<e){var L=x.getName(I),R=m(x,I);_.push(u(d(L?"data.withName":"data.withoutName"),{name:L,value:R}))}E+=_.join(d("data.separator.middle"))+d("data.separator.end"),t.push(E)}}),r+=t.join(d("series.multiple.separator.middle"))+d("series.multiple.separator.end"),p.setAttribute("aria-label",r);function u(S,b){if(typeof S!="string")return S;var E=S;return w.each(b,function(C,T){E=E.replace(new RegExp("\\{\\s*"+T+"\\s*\\}","g"),C)}),E}function d(S){var b=h.get(S);if(b==null){for(var E=S.split("."),C=f.aria,T=0;T<E.length;++T)C=C[E[T]];return C}else return b}function v(){var S=c.getModel("title").option;return S&&S.length&&(S=S[0]),S&&S.text}function y(S){return f.series.typeNames[S]||"\u81EA\u5B9A\u4E49\u56FE"}}M.exports=g},uBn0:function(M,B,o){},uK0f:function(M,B,o){(function(w,f){M.exports=f()})(this,function(){"use strict";function w(f,A,m){m=m||{},m.childrenKeyName=m.childrenKeyName||"children";var g=f||[],p=[],c=0;do{var h=g.filter(function(l){return A(l,c)})[0];if(!h)break;p.push(h),g=h[m.childrenKeyName]||[],c+=1}while(g.length>0);return p}return w})},uOyE:function(M,B,o){var w=o("ProS");w.registerAction({type:"brush",event:"brush"},function(f,A){A.eachComponent({mainType:"brush",query:f},function(m){m.setAreas(f.areas)})}),w.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),w.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(M,B,o){M.exports=w;function w(){return o("gaXo"),{}}},v5uJ:function(M,B,o){var w=o("ProS"),f=o("2B6p"),A=f.updateCenterAndZoom;w.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(m,g){g.eachComponent({mainType:"series",subType:"tree",query:m},function(p){var c=m.dataIndex,h=p.getData().tree,l=h.getNodeByDataIndex(c);l.isExpand=!l.isExpand})}),w.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(m,g){g.eachComponent({mainType:"series",subType:"tree",query:m},function(p){var c=p.coordinateSystem,h=A(c,m);p.setCenter&&p.setCenter(h.center),p.setZoom&&p.setZoom(h.zoom)})})},"vF/C":function(M,B,o){var w=o("bLfw");w.registerSubTypeDefaulter("visualMap",function(f){return!f.categories&&(!(f.pieces?f.pieces.length>0:f.splitNumber>0)||f.calculable)?"continuous":"piecewise"})},vKoX:function(M,B,o){var w=o("SrGk"),f=o("bYtY");function A(p,c){w.call(this,p,c,["filter"],"__filter_in_use__","_shadowDom")}f.inherits(A,w),A.prototype.addWithoutUpdate=function(p,c){if(c&&m(c.style)){var h;if(c._shadowDom){h=c._shadowDom;var l=this.getDefs(!0);l.contains(c._shadowDom)||this.addDom(h)}else h=this.add(c);this.markUsed(c);var e=h.getAttribute("id");p.style.filter="url(#"+e+")"}},A.prototype.add=function(p){var c=this.createElement("filter");return p._shadowDomId=p._shadowDomId||this.nextId++,c.setAttribute("id","zr"+this._zrId+"-shadow-"+p._shadowDomId),this.updateDom(p,c),this.addDom(c),c},A.prototype.update=function(p,c){var h=c.style;if(m(h)){var l=this;w.prototype.update.call(this,c,function(){l.updateDom(c,c._shadowDom)})}else this.remove(p,c)},A.prototype.remove=function(p,c){c._shadowDomId!=null&&(this.removeDom(p),p.style.filter="")},A.prototype.updateDom=function(p,c){var h=c.getElementsByTagName("feDropShadow");h.length===0?h=this.createElement("feDropShadow"):h=h[0];var l=p.style,e=p.scale&&p.scale[0]||1,n=p.scale&&p.scale[1]||1,i,r,a,t;if(l.shadowBlur||l.shadowOffsetX||l.shadowOffsetY)i=l.shadowOffsetX||0,r=l.shadowOffsetY||0,a=l.shadowBlur,t=l.shadowColor;else if(l.textShadowBlur)i=l.textShadowOffsetX||0,r=l.textShadowOffsetY||0,a=l.textShadowBlur,t=l.textShadowColor;else{this.removeDom(c,l);return}h.setAttribute("dx",i/e),h.setAttribute("dy",r/n),h.setAttribute("flood-color",t);var s=a/2/e,u=a/2/n,d=s+" "+u;h.setAttribute("stdDeviation",d),c.setAttribute("x","-100%"),c.setAttribute("y","-100%"),c.setAttribute("width",Math.ceil(a/2*200)+"%"),c.setAttribute("height",Math.ceil(a/2*200)+"%"),c.appendChild(h),p._shadowDom=c},A.prototype.markUsed=function(p){p._shadowDom&&w.prototype.markUsed.call(this,p._shadowDom)};function m(p){return p&&(p.shadowBlur||p.shadowOffsetX||p.shadowOffsetY||p.textShadowBlur||p.textShadowOffsetX||p.textShadowOffsetY)}var g=A;M.exports=g},vL6D:function(M,B,o){var w=o("bYtY"),f=o("+rIm"),A=o("IwbS"),m=o("7bkD"),g=o("Znkb"),p=o("WN+l"),c=p.rectCoordAxisBuildSplitArea,h=p.rectCoordAxisHandleRemove,l=["axisLine","axisTickLabel","axisName"],e=["splitArea","splitLine"],n=g.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(r,a,t,s){var u=this.group;u.removeAll();var d=this._axisGroup;this._axisGroup=new A.Group;var v=m.layout(r),y=new f(r,v);w.each(l,y.add,y),u.add(this._axisGroup),u.add(y.getGroup()),w.each(e,function(S){r.get(S+".show")&&this["_"+S](r)},this),A.groupTransition(d,this._axisGroup,r),n.superCall(this,"render",r,a,t,s)},remove:function(){h(this)},_splitLine:function(r){var a=r.axis;if(a.scale.isBlank())return;var t=r.getModel("splitLine"),s=t.getModel("lineStyle"),u=s.get("width"),d=s.get("color");d=d instanceof Array?d:[d];for(var v=r.coordinateSystem.getRect(),y=a.isHorizontal(),S=[],b=0,E=a.getTicksCoords({tickModel:t}),C=[],T=[],x=0;x<E.length;++x){var _=a.toGlobalCoord(E[x].coord);y?(C[0]=_,C[1]=v.y,T[0]=_,T[1]=v.y+v.height):(C[0]=v.x,C[1]=_,T[0]=v.x+v.width,T[1]=_);var I=b++%d.length;S[I]=S[I]||[],S[I].push(new A.Line({subPixelOptimize:!0,shape:{x1:C[0],y1:C[1],x2:T[0],y2:T[1]},style:{lineWidth:u},silent:!0}))}for(var x=0;x<S.length;++x)this.group.add(A.mergePath(S[x],{style:{stroke:d[x%d.length],lineDash:s.getLineDash(u),lineWidth:u},silent:!0}))},_splitArea:function(r){c(this,this._axisGroup,r,r)}}),i=n;M.exports=i},vWvF:function(M,B,o){var w=o("Bq2U"),f=o("SUKs"),A=o("bYtY"),m=A.isString,g=A.isFunction,p=A.isObject,c=A.isArrayLike,h=A.indexOf,l=function(){this.animators=[]};l.prototype={constructor:l,animate:function(t,s){var u,d=!1,v=this,y=this.__zr;if(t){var S=t.split("."),b=v;d=S[0]==="shape";for(var E=0,C=S.length;E<C;E++){if(!b)continue;b=b[S[E]]}b&&(u=b)}else u=v;if(!u){f('Property "'+t+'" is not existed in element '+v.id);return}var T=v.animators,x=new w(u,s);return x.during(function(_){v.dirty(d)}).done(function(){T.splice(h(T,x),1)}),T.push(x),y&&y.animation.addAnimator(x),x},stopAnimation:function(t){for(var s=this.animators,u=s.length,d=0;d<u;d++)s[d].stop(t);return s.length=0,this},animateTo:function(t,s,u,d,v,y){e(this,t,s,u,d,v,y)},animateFrom:function(t,s,u,d,v,y){e(this,t,s,u,d,v,y,!0)}};function e(a,t,s,u,d,v,y,S){m(u)?(v=d,d=u,u=0):g(d)?(v=d,d="linear",u=0):g(u)?(v=u,u=0):g(s)?(v=s,s=500):s||(s=500),a.stopAnimation(),n(a,"",a,t,s,u,S);var b=a.animators.slice(),E=b.length;function C(){E--,E||v&&v()}E||v&&v();for(var T=0;T<b.length;T++)b[T].done(C).start(d,y)}function n(a,t,s,u,d,v,y){var S={},b=0;for(var E in u){if(!u.hasOwnProperty(E))continue;s[E]!=null?p(u[E])&&!c(u[E])?n(a,t?t+"."+E:E,s[E],u[E],d,v,y):(y?(S[E]=s[E],i(a,t,E,u[E])):S[E]=u[E],b++):u[E]!=null&&!y&&i(a,t,E,u[E])}b>0&&a.animate(t,!1).when(d==null?500:d,S).delay(v||0)}function i(a,t,s,u){if(!t)a.attr(s,u);else{var d={};d[t]={},d[t][s]=u,a.attr(d)}}var r=l;M.exports=r},vZ6x:function(M,B,o){var w=o("Tghj"),f=w.__DEV__,A=o("bYtY"),m=o("IwbS"),g=o("4NO4"),p=o("9KIM"),c=A.each,h=A.indexOf,l=A.curry,e=["dataToPoint","pointToData"],n=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function i(x,_,I){var L=this._targetInfoList=[],R={},k=t(_,x);c(s,function(F,P){(!I||!I.include||h(I.include,P)>=0)&&F(k,L,R)})}var r=i.prototype;r.setOutputRanges=function(x,_){this.matchOutputRanges(x,_,function(I,L,R){if((I.coordRanges||(I.coordRanges=[])).push(L),!I.coordRange){I.coordRange=L;var k=v[I.brushType](0,R,L);I.__rangeOffset={offset:S[I.brushType](k.values,I.range,[1,1]),xyMinMax:k.xyMinMax}}})},r.matchOutputRanges=function(x,_,I){c(x,function(L){var R=this.findTargetInfo(L,_);R&&R!==!0&&A.each(R.coordSyses,function(k){var F=v[L.brushType](1,k,L.range);I(L,F.values,k,_)})},this)},r.setInputRanges=function(x,_){c(x,function(I){var L=this.findTargetInfo(I,_);if(I.range=I.range||[],L&&L!==!0){I.panelId=L.panelId;var R=v[I.brushType](0,L.coordSys,I.coordRange),k=I.__rangeOffset;I.range=k?S[I.brushType](R.values,k.offset,E(R.xyMinMax,k.xyMinMax)):R.values}},this)},r.makePanelOpts=function(x,_){return A.map(this._targetInfoList,function(I){var L=I.getPanelRect();return{panelId:I.panelId,defaultBrushType:_&&_(I),clipPath:p.makeRectPanelClipPath(L),isTargetByCursor:p.makeRectIsTargetByCursor(L,x,I.coordSysModel),getLinearBrushOtherExtent:p.makeLinearBrushOtherExtent(L)}})},r.controlSeries=function(x,_,I){var L=this.findTargetInfo(x,I);return L===!0||L&&h(L.coordSyses,_.coordinateSystem)>=0},r.findTargetInfo=function(x,_){for(var I=this._targetInfoList,L=t(_,x),R=0;R<I.length;R++){var k=I[R],F=x.panelId;if(F){if(k.panelId===F)return k}else for(var R=0;R<u.length;R++)if(u[R](L,k))return k}return!0};function a(x){return x[0]>x[1]&&x.reverse(),x}function t(x,_){return g.parseFinder(x,_,{includeMainTypes:n})}var s={grid:function(x,_){var I=x.xAxisModels,L=x.yAxisModels,R=x.gridModels,k=A.createHashMap(),F={},P={};if(!I&&!L&&!R)return;c(I,function(W){var D=W.axis.grid.model;k.set(D.id,D),F[D.id]=!0}),c(L,function(W){var D=W.axis.grid.model;k.set(D.id,D),P[D.id]=!0}),c(R,function(W){k.set(W.id,W),F[W.id]=!0,P[W.id]=!0}),k.each(function(W){var D=W.coordinateSystem,U=[];c(D.getCartesians(),function(H,j){(h(I,H.getAxis("x").model)>=0||h(L,H.getAxis("y").model)>=0)&&U.push(H)}),_.push({panelId:"grid--"+W.id,gridModel:W,coordSysModel:W,coordSys:U[0],coordSyses:U,getPanelRect:d.grid,xAxisDeclared:F[W.id],yAxisDeclared:P[W.id]})})},geo:function(x,_){c(x.geoModels,function(I){var L=I.coordinateSystem;_.push({panelId:"geo--"+I.id,geoModel:I,coordSysModel:I,coordSys:L,coordSyses:[L],getPanelRect:d.geo})})}},u=[function(x,_){var I=x.xAxisModel,L=x.yAxisModel,R=x.gridModel;return!R&&I&&(R=I.axis.grid.model),!R&&L&&(R=L.axis.grid.model),R&&R===_.gridModel},function(x,_){var I=x.geoModel;return I&&I===_.geoModel}],d={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var x=this.coordSys,_=x.getBoundingRect().clone();return _.applyTransform(m.getTransform(x)),_}},v={lineX:l(y,0),lineY:l(y,1),rect:function(x,_,I){var L=_[e[x]]([I[0][0],I[1][0]]),R=_[e[x]]([I[0][1],I[1][1]]),k=[a([L[0],R[0]]),a([L[1],R[1]])];return{values:k,xyMinMax:k}},polygon:function(x,_,I){var L=[[Infinity,-Infinity],[Infinity,-Infinity]],R=A.map(I,function(k){var F=_[e[x]](k);return L[0][0]=Math.min(L[0][0],F[0]),L[1][0]=Math.min(L[1][0],F[1]),L[0][1]=Math.max(L[0][1],F[0]),L[1][1]=Math.max(L[1][1],F[1]),F});return{values:R,xyMinMax:L}}};function y(x,_,I,L){var R=I.getAxis(["x","y"][x]),k=a(A.map([0,1],function(P){return _?R.coordToData(R.toLocalCoord(L[P])):R.toGlobalCoord(R.dataToCoord(L[P]))})),F=[];return F[x]=k,F[1-x]=[NaN,NaN],{values:k,xyMinMax:F}}var S={lineX:l(b,0),lineY:l(b,1),rect:function(x,_,I){return[[x[0][0]-I[0]*_[0][0],x[0][1]-I[0]*_[0][1]],[x[1][0]-I[1]*_[1][0],x[1][1]-I[1]*_[1][1]]]},polygon:function(x,_,I){return A.map(x,function(L,R){return[L[0]-I[0]*_[R][0],L[1]-I[1]*_[R][1]]})}};function b(x,_,I,L){return[_[0]-L[x]*I[0],_[1]-L[x]*I[1]]}function E(x,_){var I=C(x),L=C(_),R=[I[0]/L[0],I[1]/L[1]];return isNaN(R[0])&&(R[0]=1),isNaN(R[1])&&(R[1]=1),R}function C(x){return x?[x[0][1]-x[0][0],x[1][1]-x[1][0]]:[NaN,NaN]}var T=i;M.exports=T},vZI5:function(M,B,o){var w=o("bYtY"),f=o("T4UG"),A=o("5GhG"),m=A.seriesModelMixin,g=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(c,h,l){var e=h.getItemLayout(c);return e&&l.rect(e.brushRect)}});w.mixin(g,m,!0);var p=g;M.exports=p},vafp:function(M,B,o){var w=o("bYtY"),f=o("8nly");function A(p){if(!p.UTF8Encoding)return p;var c=p.UTF8Scale;c==null&&(c=1024);for(var h=p.features,l=0;l<h.length;l++)for(var e=h[l],n=e.geometry,i=n.coordinates,r=n.encodeOffsets,a=0;a<i.length;a++){var t=i[a];if(n.type==="Polygon")i[a]=m(t,r[a],c);else if(n.type==="MultiPolygon")for(var s=0;s<t.length;s++){var u=t[s];t[s]=m(u,r[a][s],c)}}return p.UTF8Encoding=!1,p}function m(p,c,h){for(var l=[],e=c[0],n=c[1],i=0;i<p.length;i+=2){var r=p.charCodeAt(i)-64,a=p.charCodeAt(i+1)-64;r=r>>1^-(r&1),a=a>>1^-(a&1),r+=e,a+=n,e=r,n=a,l.push([r/h,a/h])}return l}function g(p,c){return A(p),w.map(w.filter(p.features,function(h){return h.geometry&&h.properties&&h.geometry.coordinates.length>0}),function(h){var l=h.properties,e=h.geometry,n=e.coordinates,i=[];e.type==="Polygon"&&i.push({type:"polygon",exterior:n[0],interiors:n.slice(1)}),e.type==="MultiPolygon"&&w.each(n,function(a){a[0]&&i.push({type:"polygon",exterior:a[0],interiors:a.slice(1)})});var r=new f(l[c||"name"],i,l.cp);return r.properties=l,r})}M.exports=g},vcCh:function(M,B,o){var w=o("ProS");o("0qV/"),w.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(f,A){A.eachComponent({mainType:"series",subType:"sankey",query:f},function(m){m.setNodePosition(f.dataIndex,[f.localX,f.localY])})})},vewr:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.getPointerEvent=w,B.stopEvent=f,B.setCapture=h,B.releaseCapture=l;function w(e){return e.changedTouches?e.changedTouches[0]:e.touches?e.touches[0]:e}function f(e){e.stopPropagation(),e.preventDefault()}var A=!1,m=null;document.captureElement=null;function g(e){if(A)return;var n=new e.constructor(e.type,e);A=!0,document.captureElement?document.captureElement.dispatchEvent(n):m.dispatchEvent(n),A=!1,e.stopPropagation(),n.defaultPrevented&&e.preventDefault(),e.type==="mouseup"&&l()}function p(){var e=document.getElementById("noVNC_mouse_capture_elem");e.style.cursor=window.getComputedStyle(document.captureElement).cursor}var c=new MutationObserver(p);function h(e){if(e.setCapture)e.setCapture(),document.captureElement=e,e.addEventListener("mouseup",l);else{l();var n=document.getElementById("noVNC_mouse_capture_elem");n===null&&(n=document.createElement("div"),n.id="noVNC_mouse_capture_elem",n.style.position="fixed",n.style.top="0px",n.style.left="0px",n.style.width="100%",n.style.height="100%",n.style.zIndex=1e4,n.style.display="none",document.body.appendChild(n),n.addEventListener("contextmenu",g),n.addEventListener("mousemove",g),n.addEventListener("mouseup",g)),document.captureElement=e,c.observe(e,{attributes:!0}),p(),n.style.display="",window.addEventListener("mousemove",g),window.addEventListener("mouseup",g)}}function l(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;m=document.captureElement,document.captureElement=null,c.disconnect();var e=document.getElementById("noVNC_mouse_capture_elem");e.style.display="none",window.removeEventListener("mousemove",g),window.removeEventListener("mouseup",g)}}},vg9a:function(M,B,o){},w5pM:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="PlusCircleOutlined";var c=B.a=f.forwardRef(p)},wDdD:function(M,B,o){var w=o("ProS"),f=o("bYtY");o("98bh"),o("GrNh");var A=o("d4KN"),m=o("mOdp"),g=o("KS52"),p=o("0/Rx");A("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),w.registerVisual(m("pie")),w.registerLayout(f.curry(g,"pie")),w.registerProcessor(p("pie"))},wOnQ:function(M,B,o){/*!
|
|
|
* html2canvas 1.3.2 <https://html2canvas.hertzen.com>
|
|
|
* Copyright (c) 2021 Niklas von Hertzen <https://hertzen.com>
|
|
|
* Released under MIT License
|
|
|
*/(function(w,f){M.exports=f()})(this,function(){"use strict";/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
|
purpose with or without fee is hereby granted.
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
|
***************************************************************************** */var w=function(le,ye){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(De,et){De.__proto__=et}||function(De,et){for(var Ut in et)Object.prototype.hasOwnProperty.call(et,Ut)&&(De[Ut]=et[Ut])},w(le,ye)};function f(at,le){if(typeof le!="function"&&le!==null)throw new TypeError("Class extends value "+String(le)+" is not a constructor or null");w(at,le);function ye(){this.constructor=at}at.prototype=le===null?Object.create(le):(ye.prototype=le.prototype,new ye)}var A=function(){return A=Object.assign||function(ye){for(var De,et=1,Ut=arguments.length;et<Ut;et++){De=arguments[et];for(var ur in De)Object.prototype.hasOwnProperty.call(De,ur)&&(ye[ur]=De[ur])}return ye},A.apply(this,arguments)};function m(at,le,ye,De){function et(Ut){return Ut instanceof ye?Ut:new ye(function(ur){ur(Ut)})}return new(ye||(ye=Promise))(function(Ut,ur){function _r(Kn){try{en(De.next(Kn))}catch(Dn){ur(Dn)}}function Mr(Kn){try{en(De.throw(Kn))}catch(Dn){ur(Dn)}}function en(Kn){Kn.done?Ut(Kn.value):et(Kn.value).then(_r,Mr)}en((De=De.apply(at,le||[])).next())})}function g(at,le){var ye={label:0,sent:function(){if(Ut[0]&1)throw Ut[1];return Ut[1]},trys:[],ops:[]},De,et,Ut,ur;return ur={next:_r(0),throw:_r(1),return:_r(2)},typeof Symbol=="function"&&(ur[Symbol.iterator]=function(){return this}),ur;function _r(en){return function(Kn){return Mr([en,Kn])}}function Mr(en){if(De)throw new TypeError("Generator is already executing.");for(;ye;)try{if(De=1,et&&(Ut=en[0]&2?et.return:en[0]?et.throw||((Ut=et.return)&&Ut.call(et),0):et.next)&&!(Ut=Ut.call(et,en[1])).done)return Ut;(et=0,Ut)&&(en=[en[0]&2,Ut.value]);switch(en[0]){case 0:case 1:Ut=en;break;case 4:return ye.label++,{value:en[1],done:!1};case 5:ye.label++,et=en[1],en=[0];continue;case 7:en=ye.ops.pop(),ye.trys.pop();continue;default:if(!(Ut=ye.trys,Ut=Ut.length>0&&Ut[Ut.length-1])&&(en[0]===6||en[0]===2)){ye=0;continue}if(en[0]===3&&(!Ut||en[1]>Ut[0]&&en[1]<Ut[3])){ye.label=en[1];break}if(en[0]===6&&ye.label<Ut[1]){ye.label=Ut[1],Ut=en;break}if(Ut&&ye.label<Ut[2]){ye.label=Ut[2],ye.ops.push(en);break}Ut[2]&&ye.ops.pop(),ye.trys.pop();continue}en=le.call(at,ye)}catch(Kn){en=[6,Kn],et=0}finally{De=Ut=0}if(en[0]&5)throw en[1];return{value:en[0]?en[1]:void 0,done:!0}}}function p(at,le,ye){if(ye||arguments.length===2)for(var De=0,et=le.length,Ut;De<et;De++)(Ut||!(De in le))&&(Ut||(Ut=Array.prototype.slice.call(le,0,De)),Ut[De]=le[De]);return at.concat(Ut||le)}for(var c=function(){function at(le,ye,De,et){this.left=le,this.top=ye,this.width=De,this.height=et}return at.prototype.add=function(le,ye,De,et){return new at(this.left+le,this.top+ye,this.width+De,this.height+et)},at.fromClientRect=function(le,ye){return new at(ye.left+le.windowBounds.left,ye.top+le.windowBounds.top,ye.width,ye.height)},at.fromDOMRectList=function(le,ye){var De=ye[0];return De?new at(De.x+le.windowBounds.left,De.y+le.windowBounds.top,De.width,De.height):at.EMPTY},at.EMPTY=new at(0,0,0,0),at}(),h=function(le,ye){return c.fromClientRect(le,ye.getBoundingClientRect())},l=function(le){var ye=le.body,De=le.documentElement;if(!ye||!De)throw new Error("Unable to get document size");var et=Math.max(Math.max(ye.scrollWidth,De.scrollWidth),Math.max(ye.offsetWidth,De.offsetWidth),Math.max(ye.clientWidth,De.clientWidth)),Ut=Math.max(Math.max(ye.scrollHeight,De.scrollHeight),Math.max(ye.offsetHeight,De.offsetHeight),Math.max(ye.clientHeight,De.clientHeight));return new c(0,0,et,Ut)},e=function(le){for(var ye=[],De=0,et=le.length;De<et;){var Ut=le.charCodeAt(De++);if(Ut>=55296&&Ut<=56319&&De<et){var ur=le.charCodeAt(De++);(ur&64512)===56320?ye.push(((Ut&1023)<<10)+(ur&1023)+65536):(ye.push(Ut),De--)}else ye.push(Ut)}return ye},n=function(){for(var le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];if(String.fromCodePoint)return String.fromCodePoint.apply(String,le);var De=le.length;if(!De)return"";for(var et=[],Ut=-1,ur="";++Ut<De;){var _r=le[Ut];_r<=65535?et.push(_r):(_r-=65536,et.push((_r>>10)+55296,_r%1024+56320)),(Ut+1===De||et.length>16384)&&(ur+=String.fromCharCode.apply(String,et),et.length=0)}return ur},i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),a=0;a<i.length;a++)r[i.charCodeAt(a)]=a;var t=function(le){var ye=le.length*.75,De=le.length,et,Ut=0,ur,_r,Mr,en;le[le.length-1]==="="&&(ye--,le[le.length-2]==="="&&ye--);var Kn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(ye):new Array(ye),Dn=Array.isArray(Kn)?Kn:new Uint8Array(Kn);for(et=0;et<De;et+=4)ur=r[le.charCodeAt(et)],_r=r[le.charCodeAt(et+1)],Mr=r[le.charCodeAt(et+2)],en=r[le.charCodeAt(et+3)],Dn[Ut++]=ur<<2|_r>>4,Dn[Ut++]=(_r&15)<<4|Mr>>2,Dn[Ut++]=(Mr&3)<<6|en&63;return Kn},s=function(le){for(var ye=le.length,De=[],et=0;et<ye;et+=2)De.push(le[et+1]<<8|le[et]);return De},u=function(le){for(var ye=le.length,De=[],et=0;et<ye;et+=4)De.push(le[et+3]<<24|le[et+2]<<16|le[et+1]<<8|le[et]);return De},d=5,v=6+5,y=2,S=v-d,b=65536>>d,E=1<<d,C=E-1,T=1024>>d,x=b+T,_=x,I=2048>>6,L=_+I,R=65536>>v,k=1<<S,F=k-1,P=function(le,ye,De){return le.slice?le.slice(ye,De):new Uint16Array(Array.prototype.slice.call(le,ye,De))},W=function(le,ye,De){return le.slice?le.slice(ye,De):new Uint32Array(Array.prototype.slice.call(le,ye,De))},D=function(le){var ye=t(le),De=Array.isArray(ye)?u(ye):new Uint32Array(ye),et=Array.isArray(ye)?s(ye):new Uint16Array(ye),Ut=24,ur=P(et,Ut/2,De[4]/2),_r=De[5]===2?P(et,(Ut+De[4])/2):W(De,Math.ceil((Ut+De[4])/4));return new U(De[0],De[1],De[2],De[3],ur,_r)},U=function(){function at(le,ye,De,et,Ut,ur){this.initialValue=le,this.errorValue=ye,this.highStart=De,this.highValueIndex=et,this.index=Ut,this.data=ur}return at.prototype.get=function(le){var ye;if(le>=0){if(le<55296||le>56319&&le<=65535)return ye=this.index[le>>d],ye=(ye<<y)+(le&C),this.data[ye];if(le<=65535)return ye=this.index[b+(le-55296>>d)],ye=(ye<<y)+(le&C),this.data[ye];if(le<this.highStart)return ye=L-R+(le>>v),ye=this.index[ye],ye+=le>>d&F,ye=this.index[ye],ye=(ye<<y)+(le&C),this.data[ye];if(le<=1114111)return this.data[this.highValueIndex]}return this.errorValue},at}(),H="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",j=50,K=1,X=2,z=3,Y=4,$=5,ne=7,J=8,ge=9,de=10,Ie=11,be=12,Ce=13,je=14,te=15,ve=16,$e=17,Le=18,he=19,ee=20,se=21,Ue=22,ue=23,Ne=24,Fe=25,ae=26,ce=27,_e=28,ze=29,it=30,Ze=31,Ee=32,mt=33,Je=34,rt=35,wt=36,Ot=37,Ct=38,Dt=39,Xe=40,q=41,V=42,Ae=43,xe=[9001,65288],re="!",ot="\xD7",bt="\xF7",tt=D(H),Tt=[it,wt],Gt=[K,X,z,$],lr=[de,J],pr=[ce,ae],Rr=Gt.concat(lr),xt=[Ct,Dt,Xe,Je,rt],It=[te,Ce],At=function(le,ye){ye===void 0&&(ye="strict");var De=[],et=[],Ut=[];return le.forEach(function(ur,_r){var Mr=tt.get(ur);if(Mr>j?(Ut.push(!0),Mr-=j):Ut.push(!1),["normal","auto","loose"].indexOf(ye)!==-1&&[8208,8211,12316,12448].indexOf(ur)!==-1)return et.push(_r),De.push(ve);if(Mr===Y||Mr===Ie){if(_r===0)return et.push(_r),De.push(it);var en=De[_r-1];return Rr.indexOf(en)===-1?(et.push(et[_r-1]),De.push(en)):(et.push(_r),De.push(it))}if(et.push(_r),Mr===Ze)return De.push(ye==="strict"?se:Ot);if(Mr===V)return De.push(it);if(Mr===ze)return De.push(it);if(Mr===Ae)return ur>=131072&&ur<=196605||ur>=196608&&ur<=262141?De.push(Ot):De.push(it);De.push(Mr)}),[et,De,Ut]},Zt=function(le,ye,De,et){var Ut=et[De];if(Array.isArray(le)?le.indexOf(Ut)!==-1:le===Ut)for(var ur=De;ur<=et.length;){ur++;var _r=et[ur];if(_r===ye)return!0;if(_r!==de)break}if(Ut===de)for(var ur=De;ur>0;){ur--;var Mr=et[ur];if(Array.isArray(le)?le.indexOf(Mr)!==-1:le===Mr)for(var en=De;en<=et.length;){en++;var _r=et[en];if(_r===ye)return!0;if(_r!==de)break}if(Mr!==de)break}return!1},br=function(le,ye){for(var De=le;De>=0;){var et=ye[De];if(et===de)De--;else return et}return 0},Lr=function(le,ye,De,et,Ut){if(De[et]===0)return ot;var ur=et-1;if(Array.isArray(Ut)&&Ut[ur]===!0)return ot;var _r=ur-1,Mr=ur+1,en=ye[ur],Kn=_r>=0?ye[_r]:0,Dn=ye[Mr];if(en===X&&Dn===z)return ot;if(Gt.indexOf(en)!==-1)return re;if(Gt.indexOf(Dn)!==-1)return ot;if(lr.indexOf(Dn)!==-1)return ot;if(br(ur,ye)===J)return bt;if(tt.get(le[ur])===Ie)return ot;if((en===Ee||en===mt)&&tt.get(le[Mr])===Ie)return ot;if(en===ne||Dn===ne)return ot;if(en===ge)return ot;if([de,Ce,te].indexOf(en)===-1&&Dn===ge)return ot;if([$e,Le,he,Ne,_e].indexOf(Dn)!==-1)return ot;if(br(ur,ye)===Ue)return ot;if(Zt(ue,Ue,ur,ye))return ot;if(Zt([$e,Le],se,ur,ye))return ot;if(Zt(be,be,ur,ye))return ot;if(en===de)return bt;if(en===ue||Dn===ue)return ot;if(Dn===ve||en===ve)return bt;if([Ce,te,se].indexOf(Dn)!==-1||en===je)return ot;if(Kn===wt&&It.indexOf(en)!==-1)return ot;if(en===_e&&Dn===wt)return ot;if(Dn===ee)return ot;if(Tt.indexOf(Dn)!==-1&&en===Fe||Tt.indexOf(en)!==-1&&Dn===Fe)return ot;if(en===ce&&[Ot,Ee,mt].indexOf(Dn)!==-1||[Ot,Ee,mt].indexOf(en)!==-1&&Dn===ae)return ot;if(Tt.indexOf(en)!==-1&&pr.indexOf(Dn)!==-1||pr.indexOf(en)!==-1&&Tt.indexOf(Dn)!==-1)return ot;if([ce,ae].indexOf(en)!==-1&&(Dn===Fe||[Ue,te].indexOf(Dn)!==-1&&ye[Mr+1]===Fe)||[Ue,te].indexOf(en)!==-1&&Dn===Fe||en===Fe&&[Fe,_e,Ne].indexOf(Dn)!==-1)return ot;if([Fe,_e,Ne,$e,Le].indexOf(Dn)!==-1)for(var Xn=ur;Xn>=0;){var Vi=ye[Xn];if(Vi===Fe)return ot;if([_e,Ne].indexOf(Vi)!==-1)Xn--;else break}if([ce,ae].indexOf(Dn)!==-1)for(var Xn=[$e,Le].indexOf(en)!==-1?_r:ur;Xn>=0;){var Vi=ye[Xn];if(Vi===Fe)return ot;if([_e,Ne].indexOf(Vi)!==-1)Xn--;else break}if(Ct===en&&[Ct,Dt,Je,rt].indexOf(Dn)!==-1||[Dt,Je].indexOf(en)!==-1&&[Dt,Xe].indexOf(Dn)!==-1||[Xe,rt].indexOf(en)!==-1&&Dn===Xe)return ot;if(xt.indexOf(en)!==-1&&[ee,ae].indexOf(Dn)!==-1||xt.indexOf(Dn)!==-1&&en===ce)return ot;if(Tt.indexOf(en)!==-1&&Tt.indexOf(Dn)!==-1)return ot;if(en===Ne&&Tt.indexOf(Dn)!==-1)return ot;if(Tt.concat(Fe).indexOf(en)!==-1&&Dn===Ue&&xe.indexOf(le[Mr])===-1||Tt.concat(Fe).indexOf(Dn)!==-1&&en===Le)return ot;if(en===q&&Dn===q){for(var Xi=De[ur],sa=1;Xi>0&&(Xi--,ye[Xi]===q);)sa++;if(sa%2!==0)return ot}return en===Ee&&Dn===mt?ot:bt},Jr=function(le,ye){ye||(ye={lineBreak:"normal",wordBreak:"normal"});var De=At(le,ye.lineBreak),et=De[0],Ut=De[1],ur=De[2];(ye.wordBreak==="break-all"||ye.wordBreak==="break-word")&&(Ut=Ut.map(function(Mr){return[Fe,it,V].indexOf(Mr)!==-1?Ot:Mr}));var _r=ye.wordBreak==="keep-all"?ur.map(function(Mr,en){return Mr&&le[en]>=19968&&le[en]<=40959}):void 0;return[et,Ut,_r]},In=function(){function at(le,ye,De,et){this.codePoints=le,this.required=ye===re,this.start=De,this.end=et}return at.prototype.slice=function(){return n.apply(void 0,this.codePoints.slice(this.start,this.end))},at}(),Gr=function(le,ye){var De=e(le),et=Jr(De,ye),Ut=et[0],ur=et[1],_r=et[2],Mr=De.length,en=0,Kn=0;return{next:function(){if(Kn>=Mr)return{done:!0,value:null};for(var Xn=ot;Kn<Mr&&(Xn=Lr(De,ur,Ut,++Kn,_r))===ot;);if(Xn!==ot||Kn===Mr){var Vi=new In(De,Xn,en,Kn);return en=Kn,{value:Vi,done:!1}}return{done:!0,value:null}}}},Tr=1<<0,fr=1<<1,vt=1<<2,ft=1<<3,Te=10,Pe=47,Ge=92,st=9,Bt=32,$t=34,Nr=61,yn=35,un=36,Kt=37,St=39,kt=40,Jt=41,Br=95,Hr=45,$r=33,Ft=60,cr=62,Cr=64,Fr=91,Wr=93,An=61,bn=123,Sn=63,kn=125,ei=124,Jn=126,ai=128,ii=65533,qe=42,Se=43,Me=44,Be=58,Qe=59,Ve=46,Ye=0,pt=8,ht=11,Vt=14,dr=31,tr=127,ir=-1,_t=48,gr=97,jt=101,Sr=102,Ar=117,sr=122,ln=65,_n=69,Wn=70,Nn=85,Mn=90,Gn=function(le){return le>=_t&&le<=57},xn=function(le){return le>=55296&&le<=57343},mi=function(le){return Gn(le)||le>=ln&&le<=Wn||le>=gr&&le<=Sr},rn=function(le){return le>=gr&&le<=sr},Ur=function(le){return le>=ln&&le<=Mn},cn=function(le){return rn(le)||Ur(le)},Qr=function(le){return le>=ai},Vn=function(le){return le===Te||le===st||le===Bt},Hn=function(le){return cn(le)||Qr(le)||le===Br},li=function(le){return Hn(le)||Gn(le)||le===Hr},Un=function(le){return le>=Ye&&le<=pt||le===ht||le>=Vt&&le<=dr||le===tr},gi=function(le,ye){return le!==Ge?!1:ye!==Te},Bn=function(le,ye,De){return le===Hr?Hn(ye)||gi(ye,De):Hn(le)?!0:!!(le===Ge&&gi(le,ye))},di=function(le,ye,De){return le===Se||le===Hr?Gn(ye)?!0:ye===Ve&&Gn(De):le===Ve?Gn(ye):Gn(le)},qr=function(le){var ye=0,De=1;(le[ye]===Se||le[ye]===Hr)&&(le[ye]===Hr&&(De=-1),ye++);for(var et=[];Gn(le[ye]);)et.push(le[ye++]);var Ut=et.length?parseInt(n.apply(void 0,et),10):0;le[ye]===Ve&&ye++;for(var ur=[];Gn(le[ye]);)ur.push(le[ye++]);var _r=ur.length,Mr=_r?parseInt(n.apply(void 0,ur),10):0;(le[ye]===_n||le[ye]===jt)&&ye++;var en=1;(le[ye]===Se||le[ye]===Hr)&&(le[ye]===Hr&&(en=-1),ye++);for(var Kn=[];Gn(le[ye]);)Kn.push(le[ye++]);var Dn=Kn.length?parseInt(n.apply(void 0,Kn),10):0;return De*(Ut+Mr*Math.pow(10,-_r))*Math.pow(10,en*Dn)},xr={type:2},nn={type:3},gn={type:4},On={type:13},Fn={type:8},zn={type:21},$n={type:9},Zn={type:10},vi={type:11},Pi={type:12},Fi={type:14},ja={type:23},Qn={type:1},Xr={type:25},hi={type:24},Ri={type:26},bi={type:27},Ui={type:28},ni={type:29},qi={type:31},Qi={type:32},ha=function(){function at(){this._value=[]}return at.prototype.write=function(le){this._value=this._value.concat(e(le))},at.prototype.read=function(){for(var le=[],ye=this.consumeToken();ye!==Qi;)le.push(ye),ye=this.consumeToken();return le},at.prototype.consumeToken=function(){var le=this.consumeCodePoint();switch(le){case $t:return this.consumeStringToken($t);case yn:var ye=this.peekCodePoint(0),De=this.peekCodePoint(1),et=this.peekCodePoint(2);if(li(ye)||gi(De,et)){var Ut=Bn(ye,De,et)?fr:Tr,ur=this.consumeName();return{type:5,value:ur,flags:Ut}}break;case un:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),On;break;case St:return this.consumeStringToken(St);case kt:return xr;case Jt:return nn;case qe:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),Fi;break;case Se:if(di(le,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(le),this.consumeNumericToken();break;case Me:return gn;case Hr:var _r=le,Mr=this.peekCodePoint(0),en=this.peekCodePoint(1);if(di(_r,Mr,en))return this.reconsumeCodePoint(le),this.consumeNumericToken();if(Bn(_r,Mr,en))return this.reconsumeCodePoint(le),this.consumeIdentLikeToken();if(Mr===Hr&&en===cr)return this.consumeCodePoint(),this.consumeCodePoint(),hi;break;case Ve:if(di(le,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(le),this.consumeNumericToken();break;case Pe:if(this.peekCodePoint(0)===qe)for(this.consumeCodePoint();;){var Kn=this.consumeCodePoint();if(Kn===qe&&(Kn=this.consumeCodePoint(),Kn===Pe))return this.consumeToken();if(Kn===ir)return this.consumeToken()}break;case Be:return Ri;case Qe:return bi;case Ft:if(this.peekCodePoint(0)===$r&&this.peekCodePoint(1)===Hr&&this.peekCodePoint(2)===Hr)return this.consumeCodePoint(),this.consumeCodePoint(),Xr;break;case Cr:var Dn=this.peekCodePoint(0),Xn=this.peekCodePoint(1),Vi=this.peekCodePoint(2);if(Bn(Dn,Xn,Vi)){var ur=this.consumeName();return{type:7,value:ur}}break;case Fr:return Ui;case Ge:if(gi(le,this.peekCodePoint(0)))return this.reconsumeCodePoint(le),this.consumeIdentLikeToken();break;case Wr:return ni;case An:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),Fn;break;case bn:return vi;case kn:return Pi;case Ar:case Nn:var Xi=this.peekCodePoint(0),sa=this.peekCodePoint(1);return Xi===Se&&(mi(sa)||sa===Sn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(le),this.consumeIdentLikeToken();case ei:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),$n;if(this.peekCodePoint(0)===ei)return this.consumeCodePoint(),zn;break;case Jn:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),Zn;break;case ir:return Qi}return Vn(le)?(this.consumeWhiteSpace(),qi):Gn(le)?(this.reconsumeCodePoint(le),this.consumeNumericToken()):Hn(le)?(this.reconsumeCodePoint(le),this.consumeIdentLikeToken()):{type:6,value:n(le)}},at.prototype.consumeCodePoint=function(){var le=this._value.shift();return typeof le=="undefined"?-1:le},at.prototype.reconsumeCodePoint=function(le){this._value.unshift(le)},at.prototype.peekCodePoint=function(le){return le>=this._value.length?-1:this._value[le]},at.prototype.consumeUnicodeRangeToken=function(){for(var le=[],ye=this.consumeCodePoint();mi(ye)&&le.length<6;)le.push(ye),ye=this.consumeCodePoint();for(var De=!1;ye===Sn&&le.length<6;)le.push(ye),ye=this.consumeCodePoint(),De=!0;if(De){var et=parseInt(n.apply(void 0,le.map(function(Mr){return Mr===Sn?_t:Mr})),16),Ut=parseInt(n.apply(void 0,le.map(function(Mr){return Mr===Sn?Wn:Mr})),16);return{type:30,start:et,end:Ut}}var ur=parseInt(n.apply(void 0,le),16);if(this.peekCodePoint(0)===Hr&&mi(this.peekCodePoint(1))){this.consumeCodePoint(),ye=this.consumeCodePoint();for(var _r=[];mi(ye)&&_r.length<6;)_r.push(ye),ye=this.consumeCodePoint();var Ut=parseInt(n.apply(void 0,_r),16);return{type:30,start:ur,end:Ut}}else return{type:30,start:ur,end:ur}},at.prototype.consumeIdentLikeToken=function(){var le=this.consumeName();return le.toLowerCase()==="url"&&this.peekCodePoint(0)===kt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===kt?(this.consumeCodePoint(),{type:19,value:le}):{type:20,value:le}},at.prototype.consumeUrlToken=function(){var le=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===ir)return{type:22,value:""};var ye=this.peekCodePoint(0);if(ye===St||ye===$t){var De=this.consumeStringToken(this.consumeCodePoint());return De.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ir||this.peekCodePoint(0)===Jt)?(this.consumeCodePoint(),{type:22,value:De.value}):(this.consumeBadUrlRemnants(),ja)}for(;;){var et=this.consumeCodePoint();if(et===ir||et===Jt)return{type:22,value:n.apply(void 0,le)};if(Vn(et))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ir||this.peekCodePoint(0)===Jt?(this.consumeCodePoint(),{type:22,value:n.apply(void 0,le)}):(this.consumeBadUrlRemnants(),ja);if(et===$t||et===St||et===kt||Un(et))return this.consumeBadUrlRemnants(),ja;if(et===Ge)if(gi(et,this.peekCodePoint(0)))le.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ja;else le.push(et)}},at.prototype.consumeWhiteSpace=function(){for(;Vn(this.peekCodePoint(0));)this.consumeCodePoint()},at.prototype.consumeBadUrlRemnants=function(){for(;;){var le=this.consumeCodePoint();if(le===Jt||le===ir)return;gi(le,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},at.prototype.consumeStringSlice=function(le){for(var ye=6e4,De="";le>0;){var et=Math.min(ye,le);De+=n.apply(void 0,this._value.splice(0,et)),le-=et}return this._value.shift(),De},at.prototype.consumeStringToken=function(le){var ye="",De=0;do{var et=this._value[De];if(et===ir||et===void 0||et===le)return ye+=this.consumeStringSlice(De),{type:0,value:ye};if(et===Te)return this._value.splice(0,De),Qn;if(et===Ge){var Ut=this._value[De+1];Ut!==ir&&Ut!==void 0&&(Ut===Te?(ye+=this.consumeStringSlice(De),De=-1,this._value.shift()):gi(et,Ut)&&(ye+=this.consumeStringSlice(De),ye+=n(this.consumeEscapedCodePoint()),De=-1))}De++}while(!0)},at.prototype.consumeNumber=function(){var le=[],ye=vt,De=this.peekCodePoint(0);for((De===Se||De===Hr)&&le.push(this.consumeCodePoint());Gn(this.peekCodePoint(0));)le.push(this.consumeCodePoint());De=this.peekCodePoint(0);var et=this.peekCodePoint(1);if(De===Ve&&Gn(et))for(le.push(this.consumeCodePoint(),this.consumeCodePoint()),ye=ft;Gn(this.peekCodePoint(0));)le.push(this.consumeCodePoint());De=this.peekCodePoint(0),et=this.peekCodePoint(1);var Ut=this.peekCodePoint(2);if((De===_n||De===jt)&&((et===Se||et===Hr)&&Gn(Ut)||Gn(et)))for(le.push(this.consumeCodePoint(),this.consumeCodePoint()),ye=ft;Gn(this.peekCodePoint(0));)le.push(this.consumeCodePoint());return[qr(le),ye]},at.prototype.consumeNumericToken=function(){var le=this.consumeNumber(),ye=le[0],De=le[1],et=this.peekCodePoint(0),Ut=this.peekCodePoint(1),ur=this.peekCodePoint(2);if(Bn(et,Ut,ur)){var _r=this.consumeName();return{type:15,number:ye,flags:De,unit:_r}}return et===Kt?(this.consumeCodePoint(),{type:16,number:ye,flags:De}):{type:17,number:ye,flags:De}},at.prototype.consumeEscapedCodePoint=function(){var le=this.consumeCodePoint();if(mi(le)){for(var ye=n(le);mi(this.peekCodePoint(0))&&ye.length<6;)ye+=n(this.consumeCodePoint());Vn(this.peekCodePoint(0))&&this.consumeCodePoint();var De=parseInt(ye,16);return De===0||xn(De)||De>1114111?ii:De}return le===ir?ii:le},at.prototype.consumeName=function(){for(var le="";;){var ye=this.consumeCodePoint();if(li(ye))le+=n(ye);else if(gi(ye,this.peekCodePoint(0)))le+=n(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(ye),le}},at}(),Yt=function(){function at(le){this._tokens=le}return at.create=function(le){var ye=new ha;return ye.write(le),new at(ye.read())},at.parseValue=function(le){return at.create(le).parseComponentValue()},at.parseValues=function(le){return at.create(le).parseComponentValues()},at.prototype.parseComponentValue=function(){for(var le=this.consumeToken();le.type===31;)le=this.consumeToken();if(le.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(le);var ye=this.consumeComponentValue();do le=this.consumeToken();while(le.type===31);if(le.type===32)return ye;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},at.prototype.parseComponentValues=function(){for(var le=[];;){var ye=this.consumeComponentValue();if(ye.type===32)return le;le.push(ye),le.push()}},at.prototype.consumeComponentValue=function(){var le=this.consumeToken();switch(le.type){case 11:case 28:case 2:return this.consumeSimpleBlock(le.type);case 19:return this.consumeFunction(le)}return le},at.prototype.consumeSimpleBlock=function(le){for(var ye={type:le,values:[]},De=this.consumeToken();;){if(De.type===32||Vr(De,le))return ye;this.reconsumeToken(De),ye.values.push(this.consumeComponentValue()),De=this.consumeToken()}},at.prototype.consumeFunction=function(le){for(var ye={name:le.value,values:[],type:18};;){var De=this.consumeToken();if(De.type===32||De.type===3)return ye;this.reconsumeToken(De),ye.values.push(this.consumeComponentValue())}},at.prototype.consumeToken=function(){var le=this._tokens.shift();return typeof le=="undefined"?Qi:le},at.prototype.reconsumeToken=function(le){this._tokens.unshift(le)},at}(),Ir=function(le){return le.type===15},Zr=function(le){return le.type===17},He=function(le){return le.type===20},gt=function(le){return le.type===0},Xt=function(le,ye){return He(le)&&le.value===ye},zt=function(le){return le.type!==31},vr=function(le){return le.type!==31&&le.type!==4},or=function(le){var ye=[],De=[];return le.forEach(function(et){if(et.type===4){if(De.length===0)throw new Error("Error parsing function args, zero tokens for arg");ye.push(De),De=[];return}et.type!==31&&De.push(et)}),De.length&&ye.push(De),ye},Vr=function(le,ye){return ye===11&&le.type===12||ye===28&&le.type===29?!0:ye===2&&le.type===3},Kr=function(le){return le.type===17||le.type===15},Dr=function(le){return le.type===16||Kr(le)},dn=function(le){return le.length>1?[le[0],le[1]]:[le[0]]},on={type:17,number:0,flags:vt},Cn={type:16,number:50,flags:vt},sn={type:16,number:100,flags:vt},an=function(le,ye,De){var et=le[0],Ut=le[1];return[Yr(et,ye),Yr(typeof Ut!="undefined"?Ut:et,De)]},Yr=function(le,ye){if(le.type===16)return le.number/100*ye;if(Ir(le))switch(le.unit){case"rem":case"em":return 16*le.number;case"px":default:return le.number}return le.number},fn="deg",vn="grad",Ln="rad",oi="turn",si={name:"angle",parse:function(le,ye){if(ye.type===15)switch(ye.unit){case fn:return Math.PI*ye.number/180;case vn:return Math.PI/200*ye.number;case Ln:return ye.number;case oi:return Math.PI*2*ye.number}throw new Error("Unsupported angle type")}},Ni=function(le){return le.type===15&&(le.unit===fn||le.unit===vn||le.unit===Ln||le.unit===oi)},qn=function(le){var ye=le.filter(He).map(function(De){return De.value}).join(" ");switch(ye){case"to bottom right":case"to right bottom":case"left top":case"top left":return[on,on];case"to top":case"bottom":return Pn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[on,sn];case"to right":case"left":return Pn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[sn,sn];case"to bottom":case"top":return Pn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[sn,on];case"to left":case"right":return Pn(270)}return 0},Pn=function(le){return Math.PI*le/180},Bi={name:"color",parse:function(le,ye){if(ye.type===18){var De=aa[ye.name];if(typeof De=="undefined")throw new Error('Attempting to parse an unsupported color function "'+ye.name+'"');return De(le,ye.values)}if(ye.type===5){if(ye.value.length===3){var et=ye.value.substring(0,1),Ut=ye.value.substring(1,2),ur=ye.value.substring(2,3);return fi(parseInt(et+et,16),parseInt(Ut+Ut,16),parseInt(ur+ur,16),1)}if(ye.value.length===4){var et=ye.value.substring(0,1),Ut=ye.value.substring(1,2),ur=ye.value.substring(2,3),_r=ye.value.substring(3,4);return fi(parseInt(et+et,16),parseInt(Ut+Ut,16),parseInt(ur+ur,16),parseInt(_r+_r,16)/255)}if(ye.value.length===6){var et=ye.value.substring(0,2),Ut=ye.value.substring(2,4),ur=ye.value.substring(4,6);return fi(parseInt(et,16),parseInt(Ut,16),parseInt(ur,16),1)}if(ye.value.length===8){var et=ye.value.substring(0,2),Ut=ye.value.substring(2,4),ur=ye.value.substring(4,6),_r=ye.value.substring(6,8);return fi(parseInt(et,16),parseInt(Ut,16),parseInt(ur,16),parseInt(_r,16)/255)}}if(ye.type===20){var Mr=Ea[ye.value.toUpperCase()];if(typeof Mr!="undefined")return Mr}return Ea.TRANSPARENT}},ci=function(le){return(255&le)===0},wi=function(le){var ye=255&le,De=255&le>>8,et=255&le>>16,Ut=255&le>>24;return ye<255?"rgba("+Ut+","+et+","+De+","+ye/255+")":"rgb("+Ut+","+et+","+De+")"},fi=function(le,ye,De,et){return(le<<24|ye<<16|De<<8|Math.round(et*255)<<0)>>>0},ki=function(le,ye){if(le.type===17)return le.number;if(le.type===16){var De=ye===3?1:255;return ye===3?le.number/100*De:Math.round(le.number/100*De)}return 0},fa=function(le,ye){var De=ye.filter(vr);if(De.length===3){var et=De.map(ki),Ut=et[0],ur=et[1],_r=et[2];return fi(Ut,ur,_r,1)}if(De.length===4){var Mr=De.map(ki),Ut=Mr[0],ur=Mr[1],_r=Mr[2],en=Mr[3];return fi(Ut,ur,_r,en)}return 0};function zi(at,le,ye){return ye<0&&(ye+=1),ye>=1&&(ye-=1),ye<1/6?(le-at)*ye*6+at:ye<1/2?le:ye<2/3?(le-at)*6*(2/3-ye)+at:at}var ma=function(le,ye){var De=ye.filter(vr),et=De[0],Ut=De[1],ur=De[2],_r=De[3],Mr=(et.type===17?Pn(et.number):si.parse(le,et))/(Math.PI*2),en=Dr(Ut)?Ut.number/100:0,Kn=Dr(ur)?ur.number/100:0,Dn=typeof _r!="undefined"&&Dr(_r)?Yr(_r,1):1;if(en===0)return fi(Kn*255,Kn*255,Kn*255,1);var Xn=Kn<=.5?Kn*(en+1):Kn+en-Kn*en,Vi=Kn*2-Xn,Xi=zi(Vi,Xn,Mr+1/3),sa=zi(Vi,Xn,Mr),no=zi(Vi,Xn,Mr-1/3);return fi(Xi*255,sa*255,no*255,Dn)},aa={hsl:ma,hsla:ma,rgb:fa,rgba:fa},ya=function(le,ye){return Bi.parse(le,Yt.create(ye).parseComponentValue())},Ea={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},ca;(function(at){at[at.BORDER_BOX=0]="BORDER_BOX",at[at.PADDING_BOX=1]="PADDING_BOX",at[at.CONTENT_BOX=2]="CONTENT_BOX"})(ca||(ca={}));var ka={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(le,ye){return ye.map(function(De){if(He(De))switch(De.value){case"padding-box":return ca.PADDING_BOX;case"content-box":return ca.CONTENT_BOX}return ca.BORDER_BOX})}},wa={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},_i=function(le,ye){var De=Bi.parse(le,ye[0]),et=ye[1];return et&&Dr(et)?{color:De,stop:et}:{color:De,stop:null}},xi=function(le,ye){var De=le[0],et=le[le.length-1];De.stop===null&&(De.stop=on),et.stop===null&&(et.stop=sn);for(var Ut=[],ur=0,_r=0;_r<le.length;_r++){var Mr=le[_r].stop;if(Mr!==null){var en=Yr(Mr,ye);en>ur?Ut.push(en):Ut.push(ur),ur=en}else Ut.push(null)}for(var Kn=null,_r=0;_r<Ut.length;_r++){var Dn=Ut[_r];if(Dn===null)Kn===null&&(Kn=_r);else if(Kn!==null){for(var Xn=_r-Kn,Vi=Ut[Kn-1],Xi=(Dn-Vi)/(Xn+1),sa=1;sa<=Xn;sa++)Ut[Kn+sa-1]=Xi*sa;Kn=null}}return le.map(function(no,Ra){var Ia=no.color;return{color:Ia,stop:Math.max(Math.min(1,Ut[Ra]/ye),0)}})},ji=function(le,ye,De){var et=ye/2,Ut=De/2,ur=Yr(le[0],ye)-et,_r=Ut-Yr(le[1],De);return(Math.atan2(_r,ur)+Math.PI*2)%(Math.PI*2)},Zi=function(le,ye,De){var et=typeof le=="number"?le:ji(le,ye,De),Ut=Math.abs(ye*Math.sin(et))+Math.abs(De*Math.cos(et)),ur=ye/2,_r=De/2,Mr=Ut/2,en=Math.sin(et-Math.PI/2)*Mr,Kn=Math.cos(et-Math.PI/2)*Mr;return[Ut,ur-Kn,ur+Kn,_r-en,_r+en]},Si=function(le,ye){return Math.sqrt(le*le+ye*ye)},Hi=function(le,ye,De,et,Ut){var ur=[[0,0],[0,ye],[le,0],[le,ye]];return ur.reduce(function(_r,Mr){var en=Mr[0],Kn=Mr[1],Dn=Si(De-en,et-Kn);return(Ut?Dn<_r.optimumDistance:Dn>_r.optimumDistance)?{optimumCorner:Mr,optimumDistance:Dn}:_r},{optimumDistance:Ut?Infinity:-Infinity,optimumCorner:null}).optimumCorner},Oa=function(le,ye,De,et,Ut){var ur=0,_r=0;switch(le.size){case ao.CLOSEST_SIDE:le.shape===Va.CIRCLE?ur=_r=Math.min(Math.abs(ye),Math.abs(ye-et),Math.abs(De),Math.abs(De-Ut)):le.shape===Va.ELLIPSE&&(ur=Math.min(Math.abs(ye),Math.abs(ye-et)),_r=Math.min(Math.abs(De),Math.abs(De-Ut)));break;case ao.CLOSEST_CORNER:if(le.shape===Va.CIRCLE)ur=_r=Math.min(Si(ye,De),Si(ye,De-Ut),Si(ye-et,De),Si(ye-et,De-Ut));else if(le.shape===Va.ELLIPSE){var Mr=Math.min(Math.abs(De),Math.abs(De-Ut))/Math.min(Math.abs(ye),Math.abs(ye-et)),en=Hi(et,Ut,ye,De,!0),Kn=en[0],Dn=en[1];ur=Si(Kn-ye,(Dn-De)/Mr),_r=Mr*ur}break;case ao.FARTHEST_SIDE:le.shape===Va.CIRCLE?ur=_r=Math.max(Math.abs(ye),Math.abs(ye-et),Math.abs(De),Math.abs(De-Ut)):le.shape===Va.ELLIPSE&&(ur=Math.max(Math.abs(ye),Math.abs(ye-et)),_r=Math.max(Math.abs(De),Math.abs(De-Ut)));break;case ao.FARTHEST_CORNER:if(le.shape===Va.CIRCLE)ur=_r=Math.max(Si(ye,De),Si(ye,De-Ut),Si(ye-et,De),Si(ye-et,De-Ut));else if(le.shape===Va.ELLIPSE){var Mr=Math.max(Math.abs(De),Math.abs(De-Ut))/Math.max(Math.abs(ye),Math.abs(ye-et)),Xn=Hi(et,Ut,ye,De,!1),Kn=Xn[0],Dn=Xn[1];ur=Si(Kn-ye,(Dn-De)/Mr),_r=Mr*ur}break}return Array.isArray(le.size)&&(ur=Yr(le.size[0],et),_r=le.size.length===2?Yr(le.size[1],Ut):ur),[ur,_r]},_a=function(le,ye){var De=Pn(180),et=[];return or(ye).forEach(function(Ut,ur){if(ur===0){var _r=Ut[0];if(_r.type===20&&_r.value==="to"){De=qn(Ut);return}else if(Ni(_r)){De=si.parse(le,_r);return}}var Mr=_i(le,Ut);et.push(Mr)}),{angle:De,stops:et,type:Fa.LINEAR_GRADIENT}},la=function(le,ye){var De=Pn(180),et=[];return or(ye).forEach(function(Ut,ur){if(ur===0){var _r=Ut[0];if(_r.type===20&&["top","left","right","bottom"].indexOf(_r.value)!==-1){De=qn(Ut);return}else if(Ni(_r)){De=(si.parse(le,_r)+Pn(270))%Pn(360);return}}var Mr=_i(le,Ut);et.push(Mr)}),{angle:De,stops:et,type:Fa.LINEAR_GRADIENT}},va=function(le,ye){var De=Pn(180),et=[],Ut=Fa.LINEAR_GRADIENT,ur=Va.CIRCLE,_r=ao.FARTHEST_CORNER,Mr=[];return or(ye).forEach(function(en,Kn){var Dn=en[0];if(Kn===0){if(He(Dn)&&Dn.value==="linear"){Ut=Fa.LINEAR_GRADIENT;return}else if(He(Dn)&&Dn.value==="radial"){Ut=Fa.RADIAL_GRADIENT;return}}if(Dn.type===18){if(Dn.name==="from"){var Xn=Bi.parse(le,Dn.values[0]);et.push({stop:on,color:Xn})}else if(Dn.name==="to"){var Xn=Bi.parse(le,Dn.values[0]);et.push({stop:sn,color:Xn})}else if(Dn.name==="color-stop"){var Vi=Dn.values.filter(vr);if(Vi.length===2){var Xn=Bi.parse(le,Vi[1]),Xi=Vi[0];Zr(Xi)&&et.push({stop:{type:16,number:Xi.number*100,flags:Xi.flags},color:Xn})}}}}),Ut===Fa.LINEAR_GRADIENT?{angle:(De+Pn(180))%Pn(360),stops:et,type:Ut}:{size:_r,shape:ur,stops:et,position:Mr,type:Ut}},Ma="closest-side",Xa="farthest-side",co="closest-corner",so="farthest-corner",Ao="circle",io="ellipse",pa="cover",ga="contain",ba=function(le,ye){var De=Va.CIRCLE,et=ao.FARTHEST_CORNER,Ut=[],ur=[];return or(ye).forEach(function(_r,Mr){var en=!0;if(Mr===0){var Kn=!1;en=_r.reduce(function(Xn,Vi){if(Kn)if(He(Vi))switch(Vi.value){case"center":return ur.push(Cn),Xn;case"top":case"left":return ur.push(on),Xn;case"right":case"bottom":return ur.push(sn),Xn}else(Dr(Vi)||Kr(Vi))&&ur.push(Vi);else if(He(Vi))switch(Vi.value){case Ao:return De=Va.CIRCLE,!1;case io:return De=Va.ELLIPSE,!1;case"at":return Kn=!0,!1;case Ma:return et=ao.CLOSEST_SIDE,!1;case pa:case Xa:return et=ao.FARTHEST_SIDE,!1;case ga:case co:return et=ao.CLOSEST_CORNER,!1;case so:return et=ao.FARTHEST_CORNER,!1}else if(Kr(Vi)||Dr(Vi))return Array.isArray(et)||(et=[]),et.push(Vi),!1;return Xn},en)}if(en){var Dn=_i(le,_r);Ut.push(Dn)}}),{size:et,shape:De,stops:Ut,position:ur,type:Fa.RADIAL_GRADIENT}},Oi=function(le,ye){var De=Va.CIRCLE,et=ao.FARTHEST_CORNER,Ut=[],ur=[];return or(ye).forEach(function(_r,Mr){var en=!0;if(Mr===0?en=_r.reduce(function(Dn,Xn){if(He(Xn))switch(Xn.value){case"center":return ur.push(Cn),!1;case"top":case"left":return ur.push(on),!1;case"right":case"bottom":return ur.push(sn),!1}else if(Dr(Xn)||Kr(Xn))return ur.push(Xn),!1;return Dn},en):Mr===1&&(en=_r.reduce(function(Dn,Xn){if(He(Xn))switch(Xn.value){case Ao:return De=Va.CIRCLE,!1;case io:return De=Va.ELLIPSE,!1;case ga:case Ma:return et=ao.CLOSEST_SIDE,!1;case Xa:return et=ao.FARTHEST_SIDE,!1;case co:return et=ao.CLOSEST_CORNER,!1;case pa:case so:return et=ao.FARTHEST_CORNER,!1}else if(Kr(Xn)||Dr(Xn))return Array.isArray(et)||(et=[]),et.push(Xn),!1;return Dn},en)),en){var Kn=_i(le,_r);Ut.push(Kn)}}),{size:et,shape:De,stops:Ut,position:ur,type:Fa.RADIAL_GRADIENT}},Fa;(function(at){at[at.URL=0]="URL",at[at.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",at[at.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(Fa||(Fa={}));var vo=function(le){return le.type===Fa.LINEAR_GRADIENT},os=function(le){return le.type===Fa.RADIAL_GRADIENT},Va;(function(at){at[at.CIRCLE=0]="CIRCLE",at[at.ELLIPSE=1]="ELLIPSE"})(Va||(Va={}));var ao;(function(at){at[at.CLOSEST_SIDE=0]="CLOSEST_SIDE",at[at.FARTHEST_SIDE=1]="FARTHEST_SIDE",at[at.CLOSEST_CORNER=2]="CLOSEST_CORNER",at[at.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(ao||(ao={}));var Ga={name:"image",parse:function(le,ye){if(ye.type===22){var De={url:ye.value,type:Fa.URL};return le.cache.addImage(ye.value),De}if(ye.type===18){var et=fo[ye.name];if(typeof et=="undefined")throw new Error('Attempting to parse an unsupported image function "'+ye.name+'"');return et(le,ye.values)}throw new Error("Unsupported image type "+ye.type)}};function yo(at){return!(at.type===20&&at.value==="none")&&(at.type!==18||!!fo[at.name])}var fo={"linear-gradient":_a,"-moz-linear-gradient":la,"-ms-linear-gradient":la,"-o-linear-gradient":la,"-webkit-linear-gradient":la,"radial-gradient":ba,"-moz-radial-gradient":Oi,"-ms-radial-gradient":Oi,"-o-radial-gradient":Oi,"-webkit-radial-gradient":Oi,"-webkit-gradient":va},es={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(le,ye){if(ye.length===0)return[];var De=ye[0];return De.type===20&&De.value==="none"?[]:ye.filter(function(et){return vr(et)&&yo(et)}).map(function(et){return Ga.parse(le,et)})}},To={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(le,ye){return ye.map(function(De){if(He(De))switch(De.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},po={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(le,ye){return or(ye).map(function(De){return De.filter(Dr)}).map(dn)}},Io;(function(at){at[at.REPEAT=0]="REPEAT",at[at.NO_REPEAT=1]="NO_REPEAT",at[at.REPEAT_X=2]="REPEAT_X",at[at.REPEAT_Y=3]="REPEAT_Y"})(Io||(Io={}));var zo={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(le,ye){return or(ye).map(function(De){return De.filter(He).map(function(et){return et.value}).join(" ")}).map(ns)}},ns=function(le){switch(le){case"no-repeat":return Io.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return Io.REPEAT_X;case"repeat-y":case"no-repeat repeat":return Io.REPEAT_Y;case"repeat":default:return Io.REPEAT}},Po;(function(at){at.AUTO="auto",at.CONTAIN="contain",at.COVER="cover"})(Po||(Po={}));var Aa={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(le,ye){return or(ye).map(function(De){return De.filter(Ja)})}},Ja=function(le){return He(le)||Dr(le)},Ba=function(le){return{name:"border-"+le+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},$i=Ba("top"),uo=Ba("right"),Ha=Ba("bottom"),Yi=Ba("left"),Qa=function(le){return{name:"border-radius-"+le,initialValue:"0 0",prefix:!1,type:1,parse:function(De,et){return dn(et.filter(Dr))}}},Mo=Qa("top-left"),Qo=Qa("top-right"),Jo=Qa("bottom-right"),ua=Qa("bottom-left"),Ya;(function(at){at[at.NONE=0]="NONE",at[at.SOLID=1]="SOLID",at[at.DASHED=2]="DASHED",at[at.DOTTED=3]="DOTTED",at[at.DOUBLE=4]="DOUBLE"})(Ya||(Ya={}));var lo=function(le){return{name:"border-"+le+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(De,et){switch(et){case"none":return Ya.NONE;case"dashed":return Ya.DASHED;case"dotted":return Ya.DOTTED;case"double":return Ya.DOUBLE}return Ya.SOLID}}},Ci=lo("top"),Sa=lo("right"),bo=lo("bottom"),Fo=lo("left"),Oo=function(le){return{name:"border-"+le+"-width",initialValue:"0",type:0,prefix:!1,parse:function(De,et){return Ir(et)?et.number:0}}},gs=Oo("top"),ds=Oo("right"),hs=Oo("bottom"),ss=Oo("left"),$a={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Na={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"rtl":return 1;case"ltr":default:return 0}}},Vo={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(le,ye){return ye.filter(He).reduce(function(De,et){return De|Zo(et.value)},0)}},Zo=function(le){switch(le){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Da;(function(at){at[at.NONE=0]="NONE",at[at.LEFT=1]="LEFT",at[at.RIGHT=2]="RIGHT",at[at.INLINE_START=3]="INLINE_START",at[at.INLINE_END=4]="INLINE_END"})(Da||(Da={}));var Ka={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"left":return Da.LEFT;case"right":return Da.RIGHT;case"inline-start":return Da.INLINE_START;case"inline-end":return Da.INLINE_END}return Da.NONE}},Pa={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(le,ye){return ye.type===20&&ye.value==="normal"?0:ye.type===17||ye.type===15?ye.number:0}},Xo;(function(at){at.NORMAL="normal",at.STRICT="strict"})(Xo||(Xo={}));var Uo={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"strict":return Xo.STRICT;case"normal":default:return Xo.NORMAL}}},Lo={name:"line-height",initialValue:"normal",prefix:!1,type:4},Yo=function(le,ye){return He(le)&&le.value==="normal"?1.2*ye:le.type===17?ye*le.number:Dr(le)?Yr(le,ye):ye},Ko={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(le,ye){return ye.type===20&&ye.value==="none"?null:Ga.parse(le,ye)}},jo;(function(at){at[at.INSIDE=0]="INSIDE",at[at.OUTSIDE=1]="OUTSIDE"})(jo||(jo={}));var Or={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"inside":return jo.INSIDE;case"outside":default:return jo.OUTSIDE}}},ui;(function(at){at[at.NONE=-1]="NONE",at[at.DISC=0]="DISC",at[at.CIRCLE=1]="CIRCLE",at[at.SQUARE=2]="SQUARE",at[at.DECIMAL=3]="DECIMAL",at[at.CJK_DECIMAL=4]="CJK_DECIMAL",at[at.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",at[at.LOWER_ROMAN=6]="LOWER_ROMAN",at[at.UPPER_ROMAN=7]="UPPER_ROMAN",at[at.LOWER_GREEK=8]="LOWER_GREEK",at[at.LOWER_ALPHA=9]="LOWER_ALPHA",at[at.UPPER_ALPHA=10]="UPPER_ALPHA",at[at.ARABIC_INDIC=11]="ARABIC_INDIC",at[at.ARMENIAN=12]="ARMENIAN",at[at.BENGALI=13]="BENGALI",at[at.CAMBODIAN=14]="CAMBODIAN",at[at.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",at[at.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",at[at.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",at[at.DEVANAGARI=18]="DEVANAGARI",at[at.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",at[at.GEORGIAN=20]="GEORGIAN",at[at.GUJARATI=21]="GUJARATI",at[at.GURMUKHI=22]="GURMUKHI",at[at.HEBREW=22]="HEBREW",at[at.HIRAGANA=23]="HIRAGANA",at[at.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",at[at.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",at[at.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",at[at.KANNADA=27]="KANNADA",at[at.KATAKANA=28]="KATAKANA",at[at.KATAKANA_IROHA=29]="KATAKANA_IROHA",at[at.KHMER=30]="KHMER",at[at.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",at[at.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",at[at.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",at[at.LAO=34]="LAO",at[at.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",at[at.MALAYALAM=36]="MALAYALAM",at[at.MONGOLIAN=37]="MONGOLIAN",at[at.MYANMAR=38]="MYANMAR",at[at.ORIYA=39]="ORIYA",at[at.PERSIAN=40]="PERSIAN",at[at.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",at[at.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",at[at.TAMIL=43]="TAMIL",at[at.TELUGU=44]="TELUGU",at[at.THAI=45]="THAI",at[at.TIBETAN=46]="TIBETAN",at[at.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",at[at.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",at[at.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",at[at.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",at[at.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(ui||(ui={}));var vs={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"disc":return ui.DISC;case"circle":return ui.CIRCLE;case"square":return ui.SQUARE;case"decimal":return ui.DECIMAL;case"cjk-decimal":return ui.CJK_DECIMAL;case"decimal-leading-zero":return ui.DECIMAL_LEADING_ZERO;case"lower-roman":return ui.LOWER_ROMAN;case"upper-roman":return ui.UPPER_ROMAN;case"lower-greek":return ui.LOWER_GREEK;case"lower-alpha":return ui.LOWER_ALPHA;case"upper-alpha":return ui.UPPER_ALPHA;case"arabic-indic":return ui.ARABIC_INDIC;case"armenian":return ui.ARMENIAN;case"bengali":return ui.BENGALI;case"cambodian":return ui.CAMBODIAN;case"cjk-earthly-branch":return ui.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return ui.CJK_HEAVENLY_STEM;case"cjk-ideographic":return ui.CJK_IDEOGRAPHIC;case"devanagari":return ui.DEVANAGARI;case"ethiopic-numeric":return ui.ETHIOPIC_NUMERIC;case"georgian":return ui.GEORGIAN;case"gujarati":return ui.GUJARATI;case"gurmukhi":return ui.GURMUKHI;case"hebrew":return ui.HEBREW;case"hiragana":return ui.HIRAGANA;case"hiragana-iroha":return ui.HIRAGANA_IROHA;case"japanese-formal":return ui.JAPANESE_FORMAL;case"japanese-informal":return ui.JAPANESE_INFORMAL;case"kannada":return ui.KANNADA;case"katakana":return ui.KATAKANA;case"katakana-iroha":return ui.KATAKANA_IROHA;case"khmer":return ui.KHMER;case"korean-hangul-formal":return ui.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return ui.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return ui.KOREAN_HANJA_INFORMAL;case"lao":return ui.LAO;case"lower-armenian":return ui.LOWER_ARMENIAN;case"malayalam":return ui.MALAYALAM;case"mongolian":return ui.MONGOLIAN;case"myanmar":return ui.MYANMAR;case"oriya":return ui.ORIYA;case"persian":return ui.PERSIAN;case"simp-chinese-formal":return ui.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return ui.SIMP_CHINESE_INFORMAL;case"tamil":return ui.TAMIL;case"telugu":return ui.TELUGU;case"thai":return ui.THAI;case"tibetan":return ui.TIBETAN;case"trad-chinese-formal":return ui.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return ui.TRAD_CHINESE_INFORMAL;case"upper-armenian":return ui.UPPER_ARMENIAN;case"disclosure-open":return ui.DISCLOSURE_OPEN;case"disclosure-closed":return ui.DISCLOSURE_CLOSED;case"none":default:return ui.NONE}}},rl=function(le){return{name:"margin-"+le,initialValue:"0",prefix:!1,type:4}},Ps=rl("top"),Ks=rl("right"),sl=rl("bottom"),xs=rl("left"),Ls;(function(at){at[at.VISIBLE=0]="VISIBLE",at[at.HIDDEN=1]="HIDDEN",at[at.SCROLL=2]="SCROLL",at[at.CLIP=3]="CLIP",at[at.AUTO=4]="AUTO"})(Ls||(Ls={}));var Xs={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(le,ye){return ye.filter(He).map(function(De){switch(De.value){case"hidden":return Ls.HIDDEN;case"scroll":return Ls.SCROLL;case"clip":return Ls.CLIP;case"auto":return Ls.AUTO;case"visible":default:return Ls.VISIBLE}})}},Es={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"break-word":return"break-word";case"normal":default:return"normal"}}},_s=function(le){return{name:"padding-"+le,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},pl=_s("top"),Gs=_s("right"),ro=_s("bottom"),eo=_s("left"),ho;(function(at){at[at.LEFT=0]="LEFT",at[at.CENTER=1]="CENTER",at[at.RIGHT=2]="RIGHT"})(ho||(ho={}));var yt={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"right":return ho.RIGHT;case"center":case"justify":return ho.CENTER;case"left":default:return ho.LEFT}}},Lt;(function(at){at[at.STATIC=0]="STATIC",at[at.RELATIVE=1]="RELATIVE",at[at.ABSOLUTE=2]="ABSOLUTE",at[at.FIXED=3]="FIXED",at[at.STICKY=4]="STICKY"})(Lt||(Lt={}));var Pr={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"relative":return Lt.RELATIVE;case"absolute":return Lt.ABSOLUTE;case"fixed":return Lt.FIXED;case"sticky":return Lt.STICKY}return Lt.STATIC}},pn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(le,ye){return ye.length===1&&Xt(ye[0],"none")?[]:or(ye).map(function(De){for(var et={color:Ea.TRANSPARENT,offsetX:on,offsetY:on,blur:on},Ut=0,ur=0;ur<De.length;ur++){var _r=De[ur];Kr(_r)?(Ut===0?et.offsetX=_r:Ut===1?et.offsetY=_r:et.blur=_r,Ut++):et.color=Bi.parse(le,_r)}return et})}},Rn;(function(at){at[at.NONE=0]="NONE",at[at.LOWERCASE=1]="LOWERCASE",at[at.UPPERCASE=2]="UPPERCASE",at[at.CAPITALIZE=3]="CAPITALIZE"})(Rn||(Rn={}));var dt={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"uppercase":return Rn.UPPERCASE;case"lowercase":return Rn.LOWERCASE;case"capitalize":return Rn.CAPITALIZE}return Rn.NONE}},ie={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(le,ye){if(ye.type===20&&ye.value==="none")return null;if(ye.type===18){var De=Ke[ye.name];if(typeof De=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+ye.name+'"');return De(ye.values)}return null}},pe=function(le){var ye=le.filter(function(De){return De.type===17}).map(function(De){return De.number});return ye.length===6?ye:null},we=function(le){var ye=le.filter(function(en){return en.type===17}).map(function(en){return en.number}),De=ye[0],et=ye[1];ye[2],ye[3];var Ut=ye[4],ur=ye[5];ye[6],ye[7],ye[8],ye[9],ye[10],ye[11];var _r=ye[12],Mr=ye[13];return ye[14],ye[15],ye.length===16?[De,et,Ut,ur,_r,Mr]:null},Ke={matrix:pe,matrix3d:we},ut={type:16,number:50,flags:vt},Pt=[ut,ut],ar={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(le,ye){var De=ye.filter(Dr);return De.length!==2?Pt:[De[0],De[1]]}},wr;(function(at){at[at.VISIBLE=0]="VISIBLE",at[at.HIDDEN=1]="HIDDEN",at[at.COLLAPSE=2]="COLLAPSE"})(wr||(wr={}));var jr={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"hidden":return wr.HIDDEN;case"collapse":return wr.COLLAPSE;case"visible":default:return wr.VISIBLE}}},hn;(function(at){at.NORMAL="normal",at.BREAK_ALL="break-all",at.KEEP_ALL="keep-all"})(hn||(hn={}));var Tn={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"break-all":return hn.BREAK_ALL;case"keep-all":return hn.KEEP_ALL;case"normal":default:return hn.NORMAL}}},ti={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(le,ye){if(ye.type===20)return{auto:!0,order:0};if(Zr(ye))return{auto:!1,order:ye.number};throw new Error("Invalid z-index number parsed")}},Ai={name:"time",parse:function(le,ye){if(ye.type===15)switch(ye.unit.toLowerCase()){case"s":return 1e3*ye.number;case"ms":return ye.number}throw new Error("Unsupported time type")}},Ti={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(le,ye){return Zr(ye)?ye.number:1}},Wi={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},na={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(le,ye){return ye.filter(He).map(function(De){switch(De.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(De){return De!==0})}},Ua={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(le,ye){var De=[],et=[];return ye.forEach(function(Ut){switch(Ut.type){case 20:case 0:De.push(Ut.value);break;case 17:De.push(Ut.number.toString());break;case 4:et.push(De.join(" ")),De.length=0;break}}),De.length&&et.push(De.join(" ")),et.map(function(Ut){return Ut.indexOf(" ")===-1?Ut:"'"+Ut+"'"})}},Za={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},to={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(le,ye){if(Zr(ye))return ye.number;if(He(ye))switch(ye.value){case"bold":return 700;case"normal":default:return 400}return 400}},No={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(le,ye){return ye.filter(He).map(function(De){return De.value})}},oo;(function(at){at.NORMAL="normal",at.ITALIC="italic",at.OBLIQUE="oblique"})(oo||(oo={}));var Do={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"oblique":return oo.OBLIQUE;case"italic":return oo.ITALIC;case"normal":default:return oo.NORMAL}}},Wa=function(le,ye){return(le&ye)!==0},Ro={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(le,ye){if(ye.length===0)return[];var De=ye[0];return De.type===20&&De.value==="none"?[]:ye}},ls={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(le,ye){if(ye.length===0)return null;var De=ye[0];if(De.type===20&&De.value==="none")return null;for(var et=[],Ut=ye.filter(zt),ur=0;ur<Ut.length;ur++){var _r=Ut[ur],Mr=Ut[ur+1];if(_r.type===20){var en=Mr&&Zr(Mr)?Mr.number:1;et.push({counter:_r.value,increment:en})}}return et}},wo={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(le,ye){if(ye.length===0)return[];for(var De=[],et=ye.filter(zt),Ut=0;Ut<et.length;Ut++){var ur=et[Ut],_r=et[Ut+1];if(He(ur)&&ur.value!=="none"){var Mr=_r&&Zr(_r)?_r.number:0;De.push({counter:ur.value,reset:Mr})}}return De}},So={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(le,ye){return ye.filter(Ir).map(function(De){return Ai.parse(le,De)})}},fs={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(le,ye){if(ye.length===0)return null;var De=ye[0];if(De.type===20&&De.value==="none")return null;var et=[],Ut=ye.filter(gt);if(Ut.length%2!==0)return null;for(var ur=0;ur<Ut.length;ur+=2){var _r=Ut[ur].value,Mr=Ut[ur+1].value;et.push({open:_r,close:Mr})}return et}},Cs=function(le,ye,De){if(!le)return"";var et=le[Math.min(ye,le.length-1)];return et?De?et.open:et.close:""},qo={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(le,ye){return ye.length===1&&Xt(ye[0],"none")?[]:or(ye).map(function(De){for(var et={color:255,offsetX:on,offsetY:on,blur:on,spread:on,inset:!1},Ut=0,ur=0;ur<De.length;ur++){var _r=De[ur];Xt(_r,"inset")?et.inset=!0:Kr(_r)?(Ut===0?et.offsetX=_r:Ut===1?et.offsetY=_r:Ut===2?et.blur=_r:et.spread=_r,Ut++):et.color=Bi.parse(le,_r)}return et})}},xo;(function(at){at[at.FILL=0]="FILL",at[at.STROKE=1]="STROKE",at[at.MARKERS=2]="MARKERS"})(xo||(xo={}));for(var Ws={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(le,ye){var De=[xo.FILL,xo.STROKE,xo.MARKERS],et=[];return ye.filter(He).forEach(function(Ut){switch(Ut.value){case"stroke":et.push(xo.STROKE);break;case"fill":et.push(xo.FILL);break;case"markers":et.push(xo.MARKERS);break}}),De.forEach(function(Ut){et.indexOf(Ut)===-1&&et.push(Ut)}),et}},ps={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},ll={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(le,ye){return Ir(ye)?ye.number:0}},cl=function(){function at(le,ye){var De,et;this.animationDuration=Ki(le,So,ye.animationDuration),this.backgroundClip=Ki(le,ka,ye.backgroundClip),this.backgroundColor=Ki(le,wa,ye.backgroundColor),this.backgroundImage=Ki(le,es,ye.backgroundImage),this.backgroundOrigin=Ki(le,To,ye.backgroundOrigin),this.backgroundPosition=Ki(le,po,ye.backgroundPosition),this.backgroundRepeat=Ki(le,zo,ye.backgroundRepeat),this.backgroundSize=Ki(le,Aa,ye.backgroundSize),this.borderTopColor=Ki(le,$i,ye.borderTopColor),this.borderRightColor=Ki(le,uo,ye.borderRightColor),this.borderBottomColor=Ki(le,Ha,ye.borderBottomColor),this.borderLeftColor=Ki(le,Yi,ye.borderLeftColor),this.borderTopLeftRadius=Ki(le,Mo,ye.borderTopLeftRadius),this.borderTopRightRadius=Ki(le,Qo,ye.borderTopRightRadius),this.borderBottomRightRadius=Ki(le,Jo,ye.borderBottomRightRadius),this.borderBottomLeftRadius=Ki(le,ua,ye.borderBottomLeftRadius),this.borderTopStyle=Ki(le,Ci,ye.borderTopStyle),this.borderRightStyle=Ki(le,Sa,ye.borderRightStyle),this.borderBottomStyle=Ki(le,bo,ye.borderBottomStyle),this.borderLeftStyle=Ki(le,Fo,ye.borderLeftStyle),this.borderTopWidth=Ki(le,gs,ye.borderTopWidth),this.borderRightWidth=Ki(le,ds,ye.borderRightWidth),this.borderBottomWidth=Ki(le,hs,ye.borderBottomWidth),this.borderLeftWidth=Ki(le,ss,ye.borderLeftWidth),this.boxShadow=Ki(le,qo,ye.boxShadow),this.color=Ki(le,$a,ye.color),this.direction=Ki(le,Na,ye.direction),this.display=Ki(le,Vo,ye.display),this.float=Ki(le,Ka,ye.cssFloat),this.fontFamily=Ki(le,Ua,ye.fontFamily),this.fontSize=Ki(le,Za,ye.fontSize),this.fontStyle=Ki(le,Do,ye.fontStyle),this.fontVariant=Ki(le,No,ye.fontVariant),this.fontWeight=Ki(le,to,ye.fontWeight),this.letterSpacing=Ki(le,Pa,ye.letterSpacing),this.lineBreak=Ki(le,Uo,ye.lineBreak),this.lineHeight=Ki(le,Lo,ye.lineHeight),this.listStyleImage=Ki(le,Ko,ye.listStyleImage),this.listStylePosition=Ki(le,Or,ye.listStylePosition),this.listStyleType=Ki(le,vs,ye.listStyleType),this.marginTop=Ki(le,Ps,ye.marginTop),this.marginRight=Ki(le,Ks,ye.marginRight),this.marginBottom=Ki(le,sl,ye.marginBottom),this.marginLeft=Ki(le,xs,ye.marginLeft),this.opacity=Ki(le,Ti,ye.opacity);var Ut=Ki(le,Xs,ye.overflow);this.overflowX=Ut[0],this.overflowY=Ut[Ut.length>1?1:0],this.overflowWrap=Ki(le,Es,ye.overflowWrap),this.paddingTop=Ki(le,pl,ye.paddingTop),this.paddingRight=Ki(le,Gs,ye.paddingRight),this.paddingBottom=Ki(le,ro,ye.paddingBottom),this.paddingLeft=Ki(le,eo,ye.paddingLeft),this.paintOrder=Ki(le,Ws,ye.paintOrder),this.position=Ki(le,Pr,ye.position),this.textAlign=Ki(le,yt,ye.textAlign),this.textDecorationColor=Ki(le,Wi,(De=ye.textDecorationColor)!==null&&De!==void 0?De:ye.color),this.textDecorationLine=Ki(le,na,(et=ye.textDecorationLine)!==null&&et!==void 0?et:ye.textDecoration),this.textShadow=Ki(le,pn,ye.textShadow),this.textTransform=Ki(le,dt,ye.textTransform),this.transform=Ki(le,ie,ye.transform),this.transformOrigin=Ki(le,ar,ye.transformOrigin),this.visibility=Ki(le,jr,ye.visibility),this.webkitTextStrokeColor=Ki(le,ps,ye.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ki(le,ll,ye.webkitTextStrokeWidth),this.wordBreak=Ki(le,Tn,ye.wordBreak),this.zIndex=Ki(le,ti,ye.zIndex)}return at.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===wr.VISIBLE},at.prototype.isTransparent=function(){return ci(this.backgroundColor)},at.prototype.isTransformed=function(){return this.transform!==null},at.prototype.isPositioned=function(){return this.position!==Lt.STATIC},at.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},at.prototype.isFloating=function(){return this.float!==Da.NONE},at.prototype.isInlineLevel=function(){return Wa(this.display,4)||Wa(this.display,33554432)||Wa(this.display,268435456)||Wa(this.display,536870912)||Wa(this.display,67108864)||Wa(this.display,134217728)},at}(),Ts=function(){function at(le,ye){this.content=Ki(le,Ro,ye.content),this.quotes=Ki(le,fs,ye.quotes)}return at}(),ko=function(){function at(le,ye){this.counterIncrement=Ki(le,ls,ye.counterIncrement),this.counterReset=Ki(le,wo,ye.counterReset)}return at}(),Ki=function(le,ye,De){var et=new ha,Ut=De!==null&&typeof De!="undefined"?De.toString():ye.initialValue;et.write(Ut);var ur=new Yt(et.read());switch(ye.type){case 2:var _r=ur.parseComponentValue();return ye.parse(le,He(_r)?_r.value:ye.initialValue);case 0:return ye.parse(le,ur.parseComponentValue());case 1:return ye.parse(le,ur.parseComponentValues());case 4:return ur.parseComponentValue();case 3:switch(ye.format){case"angle":return si.parse(le,ur.parseComponentValue());case"color":return Bi.parse(le,ur.parseComponentValue());case"image":return Ga.parse(le,ur.parseComponentValue());case"length":var Mr=ur.parseComponentValue();return Kr(Mr)?Mr:on;case"length-percentage":var en=ur.parseComponentValue();return Dr(en)?en:on;case"time":return Ai.parse(le,ur.parseComponentValue())}break}},zs="data-html2canvas-debug",nl=function(le){var ye=le.getAttribute(zs);switch(ye){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ss=function(le,ye){var De=nl(le);return De===1||ye===De},ts=function(){function at(le,ye){if(this.context=le,this.textNodes=[],this.elements=[],this.flags=0,Ss(ye,3))debugger;this.styles=new cl(le,window.getComputedStyle(ye,null)),Oe(ye)&&(this.styles.animationDuration.some(function(De){return De>0})&&(ye.style.animationDuration="0s"),this.styles.transform!==null&&(ye.style.transform="none")),this.bounds=h(this.context,ye),Ss(ye,4)&&(this.flags|=16)}return at}(),ml="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",il="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ns=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Us=0;Us<il.length;Us++)Ns[il.charCodeAt(Us)]=Us;for(var Ds=function(le){var ye=le.length*.75,De=le.length,et,Ut=0,ur,_r,Mr,en;le[le.length-1]==="="&&(ye--,le[le.length-2]==="="&&ye--);var Kn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(ye):new Array(ye),Dn=Array.isArray(Kn)?Kn:new Uint8Array(Kn);for(et=0;et<De;et+=4)ur=Ns[le.charCodeAt(et)],_r=Ns[le.charCodeAt(et+1)],Mr=Ns[le.charCodeAt(et+2)],en=Ns[le.charCodeAt(et+3)],Dn[Ut++]=ur<<2|_r>>4,Dn[Ut++]=(_r&15)<<4|Mr>>2,Dn[Ut++]=(Mr&3)<<6|en&63;return Kn},Rs=function(le){for(var ye=le.length,De=[],et=0;et<ye;et+=2)De.push(le[et+1]<<8|le[et]);return De},ul=function(le){for(var ye=le.length,De=[],et=0;et<ye;et+=4)De.push(le[et+3]<<24|le[et+2]<<16|le[et+1]<<8|le[et]);return De},Ms=5,Qs=6+5,Ys=2,Js=Qs-Ms,xa=65536>>Ms,Li=1<<Ms,ea=Li-1,Ca=1024>>Ms,go=xa+Ca,js=go,Is=2048>>6,Vs=js+Is,Zs=65536>>Qs,gl=1<<Js,Fs=gl-1,ys=function(le,ye,De){return le.slice?le.slice(ye,De):new Uint16Array(Array.prototype.slice.call(le,ye,De))},Ul=function(le,ye,De){return le.slice?le.slice(ye,De):new Uint32Array(Array.prototype.slice.call(le,ye,De))},Bc=function(le,ye){var De=Ds(le),et=Array.isArray(De)?ul(De):new Uint32Array(De),Ut=Array.isArray(De)?Rs(De):new Uint16Array(De),ur=24,_r=ys(Ut,ur/2,et[4]/2),Mr=et[5]===2?ys(Ut,(ur+et[4])/2):Ul(et,Math.ceil((ur+et[4])/4));return new wc(et[0],et[1],et[2],et[3],_r,Mr)},wc=function(){function at(le,ye,De,et,Ut,ur){this.initialValue=le,this.errorValue=ye,this.highStart=De,this.highValueIndex=et,this.index=Ut,this.data=ur}return at.prototype.get=function(le){var ye;if(le>=0){if(le<55296||le>56319&&le<=65535)return ye=this.index[le>>Ms],ye=(ye<<Ys)+(le&ea),this.data[ye];if(le<=65535)return ye=this.index[xa+(le-55296>>Ms)],ye=(ye<<Ys)+(le&ea),this.data[ye];if(le<this.highStart)return ye=Vs-Zs+(le>>Qs),ye=this.index[ye],ye+=le>>Ms&Fs,ye=this.index[ye],ye=(ye<<Ys)+(le&ea),this.data[ye];if(le<=1114111)return this.data[this.highValueIndex]}return this.errorValue},at}(),kc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pc=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Dl=0;Dl<kc.length;Dl++)Pc[kc.charCodeAt(Dl)]=Dl;var $s=1,el=2,dl=3,Vl=4,ql=5,lc=7,Xl=8,Rl=9,cc=10,$l=11,uc=12,Sl=13,_l=14,Ml=15,ec=function(le){for(var ye=[],De=0,et=le.length;De<et;){var Ut=le.charCodeAt(De++);if(Ut>=55296&&Ut<=56319&&De<et){var ur=le.charCodeAt(De++);(ur&64512)===56320?ye.push(((Ut&1023)<<10)+(ur&1023)+65536):(ye.push(Ut),De--)}else ye.push(Ut)}return ye},Cl=function(){for(var le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];if(String.fromCodePoint)return String.fromCodePoint.apply(String,le);var De=le.length;if(!De)return"";for(var et=[],Ut=-1,ur="";++Ut<De;){var _r=le[Ut];_r<=65535?et.push(_r):(_r-=65536,et.push((_r>>10)+55296,_r%1024+56320)),(Ut+1===De||et.length>16384)&&(ur+=String.fromCharCode.apply(String,et),et.length=0)}return ur},Uc=Bc(ml),Al="\xD7",xl="\xF7",tc=function(le){return Uc.get(le)},jc=function(le,ye,De){var et=De-2,Ut=ye[et],ur=ye[De-1],_r=ye[De];if(ur===el&&_r===dl)return Al;if(ur===el||ur===dl||ur===Vl)return xl;if(_r===el||_r===dl||_r===Vl)return xl;if(ur===Xl&&[Xl,Rl,$l,uc].indexOf(_r)!==-1)return Al;if((ur===$l||ur===Rl)&&(_r===Rl||_r===cc))return Al;if((ur===uc||ur===cc)&&_r===cc)return Al;if(_r===Sl||_r===ql)return Al;if(_r===lc)return Al;if(ur===$s)return Al;if(ur===Sl&&_r===_l){for(;Ut===ql;)Ut=ye[--et];if(Ut===_l)return Al}if(ur===Ml&&_r===Ml){for(var Mr=0;Ut===Ml;)Mr++,Ut=ye[--et];if(Mr%2===0)return Al}return xl},dc=function(le){var ye=ec(le),De=ye.length,et=0,Ut=0,ur=ye.map(tc);return{next:function(){if(et>=De)return{done:!0,value:null};for(var Mr=Al;et<De&&(Mr=jc(ye,ur,++et))===Al;);if(Mr!==Al||et===De){var en=Cl.apply(null,ye.slice(Ut,et));return Ut=et,{value:en,done:!1}}return{done:!0,value:null}}}},Fl=function(le){for(var ye=dc(le),De=[],et;!(et=ye.next()).done;)et.value&&De.push(et.value.slice());return De},Bl=function(le){var ye=123;if(le.createRange){var De=le.createRange();if(De.getBoundingClientRect){var et=le.createElement("boundtest");et.style.height=ye+"px",et.style.display="block",le.body.appendChild(et),De.selectNode(et);var Ut=De.getBoundingClientRect(),ur=Math.round(Ut.height);if(le.body.removeChild(et),ur===ye)return!0}}return!1},jl=function(le){var ye=le.createElement("boundtest");ye.style.width="50px",ye.style.display="block",ye.style.fontSize="12px",ye.style.letterSpacing="0px",ye.style.wordSpacing="0px",le.body.appendChild(ye);var De=le.createRange();ye.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var et=ye.firstChild,Ut=e(et.data).map(function(en){return n(en)}),ur=0,_r={},Mr=Ut.every(function(en,Kn){De.setStart(et,ur),De.setEnd(et,ur+en.length);var Dn=De.getBoundingClientRect();ur+=en.length;var Xn=Dn.x>_r.x||Dn.y>_r.y;return _r=Dn,Kn===0?!0:Xn});return le.body.removeChild(ye),Mr},Sc=function(){return typeof new Image().crossOrigin!="undefined"},xc=function(){return typeof new XMLHttpRequest().responseType=="string"},hc=function(le){var ye=new Image,De=le.createElement("canvas"),et=De.getContext("2d");if(!et)return!1;ye.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{et.drawImage(ye,0,0),De.toDataURL()}catch(Ut){return!1}return!0},Hl=function(le){return le[0]===0&&le[1]===255&&le[2]===0&&le[3]===255},fc=function(le){var ye=le.createElement("canvas"),De=100;ye.width=De,ye.height=De;var et=ye.getContext("2d");if(!et)return Promise.reject(!1);et.fillStyle="rgb(0, 255, 0)",et.fillRect(0,0,De,De);var Ut=new Image,ur=ye.toDataURL();Ut.src=ur;var _r=rc(De,De,0,0,Ut);return et.fillStyle="red",et.fillRect(0,0,De,De),Ec(_r).then(function(Mr){et.drawImage(Mr,0,0);var en=et.getImageData(0,0,De,De).data;et.fillStyle="red",et.fillRect(0,0,De,De);var Kn=le.createElement("div");return Kn.style.backgroundImage="url("+ur+")",Kn.style.height=De+"px",Hl(en)?Ec(rc(De,De,0,0,Kn)):Promise.reject(!1)}).then(function(Mr){return et.drawImage(Mr,0,0),Hl(et.getImageData(0,0,De,De).data)}).catch(function(){return!1})},rc=function(le,ye,De,et,Ut){var ur="http://www.w3.org/2000/svg",_r=document.createElementNS(ur,"svg"),Mr=document.createElementNS(ur,"foreignObject");return _r.setAttributeNS(null,"width",le.toString()),_r.setAttributeNS(null,"height",ye.toString()),Mr.setAttributeNS(null,"width","100%"),Mr.setAttributeNS(null,"height","100%"),Mr.setAttributeNS(null,"x",De.toString()),Mr.setAttributeNS(null,"y",et.toString()),Mr.setAttributeNS(null,"externalResourcesRequired","true"),_r.appendChild(Mr),Mr.appendChild(Ut),_r},Ec=function(le){return new Promise(function(ye,De){var et=new Image;et.onload=function(){return ye(et)},et.onerror=De,et.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(le))})},cs={get SUPPORT_RANGE_BOUNDS(){var at=Bl(document);return Object.defineProperty(cs,"SUPPORT_RANGE_BOUNDS",{value:at}),at},get SUPPORT_WORD_BREAKING(){var at=cs.SUPPORT_RANGE_BOUNDS&&jl(document);return Object.defineProperty(cs,"SUPPORT_WORD_BREAKING",{value:at}),at},get SUPPORT_SVG_DRAWING(){var at=hc(document);return Object.defineProperty(cs,"SUPPORT_SVG_DRAWING",{value:at}),at},get SUPPORT_FOREIGNOBJECT_DRAWING(){var at=typeof Array.from=="function"&&typeof window.fetch=="function"?fc(document):Promise.resolve(!1);return Object.defineProperty(cs,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:at}),at},get SUPPORT_CORS_IMAGES(){var at=Sc();return Object.defineProperty(cs,"SUPPORT_CORS_IMAGES",{value:at}),at},get SUPPORT_RESPONSE_TYPE(){var at=xc();return Object.defineProperty(cs,"SUPPORT_RESPONSE_TYPE",{value:at}),at},get SUPPORT_CORS_XHR(){var at="withCredentials"in new XMLHttpRequest;return Object.defineProperty(cs,"SUPPORT_CORS_XHR",{value:at}),at}},al=function(){function at(le,ye){this.text=le,this.bounds=ye}return at}(),Tl=function(le,ye,De,et){var Ut=bl(ye,De),ur=[],_r=0;return Ut.forEach(function(Mr){if(De.textDecorationLine.length||Mr.trim().length>0)if(cs.SUPPORT_RANGE_BOUNDS)cs.SUPPORT_WORD_BREAKING?ur.push(new al(Mr,Il(le,et,_r,Mr.length))):ur.push(new al(Mr,c.fromDOMRectList(le,ic(et,_r,Mr.length).getClientRects())));else{var en=et.splitText(Mr.length);ur.push(new al(Mr,nc(le,et))),et=en}else cs.SUPPORT_RANGE_BOUNDS||(et=et.splitText(Mr.length));_r+=Mr.length}),ur},nc=function(le,ye){var De=ye.ownerDocument;if(De){var et=De.createElement("html2canvaswrapper");et.appendChild(ye.cloneNode(!0));var Ut=ye.parentNode;if(Ut){Ut.replaceChild(et,ye);var ur=h(le,et);return et.firstChild&&Ut.replaceChild(et.firstChild,et),ur}}return c.EMPTY},ic=function(le,ye,De){var et=le.ownerDocument;if(!et)throw new Error("Node has no owner document");var Ut=et.createRange();return Ut.setStart(le,ye),Ut.setEnd(le,ye+De),Ut},Il=function(le,ye,De,et){return c.fromClientRect(le,ic(ye,De,et).getBoundingClientRect())},bl=function(le,ye){return ye.letterSpacing!==0?Fl(le):Hc(le,ye)},_c=[32,160,4961,65792,65793,4153,4241],Hc=function(le,ye){for(var De=Gr(le,{lineBreak:ye.lineBreak,wordBreak:ye.overflowWrap==="break-word"?"break-word":ye.wordBreak}),et=[],Ut,ur=function(){if(Ut.value){var Mr=Ut.value.slice(),en=e(Mr),Kn="";en.forEach(function(Dn){_c.indexOf(Dn)===-1?Kn+=n(Dn):(Kn.length&&et.push(Kn),et.push(n(Dn)),Kn="")}),Kn.length&&et.push(Kn)}};!(Ut=De.next()).done;)ur();return et},Kc=function(){function at(le,ye,De){this.text=Cc(ye.data,De.textTransform),this.textBounds=Tl(le,this.text,De,ye)}return at}(),Cc=function(le,ye){switch(ye){case Rn.LOWERCASE:return le.toLowerCase();case Rn.CAPITALIZE:return le.replace(Tc,Wc);case Rn.UPPERCASE:return le.toUpperCase();default:return le}},Tc=/(^|\s|:|-|\(|\))([a-z])/g,Wc=function(le,ye,De){return le.length>0?ye+De.toUpperCase():le},pc=function(at){f(le,at);function le(ye,De){var et=at.call(this,ye,De)||this;return et.src=De.currentSrc||De.src,et.intrinsicWidth=De.naturalWidth,et.intrinsicHeight=De.naturalHeight,et.context.cache.addImage(et.src),et}return le}(ts),Ol=function(at){f(le,at);function le(ye,De){var et=at.call(this,ye,De)||this;return et.canvas=De,et.intrinsicWidth=De.width,et.intrinsicHeight=De.height,et}return le}(ts),Ll=function(at){f(le,at);function le(ye,De){var et=at.call(this,ye,De)||this,Ut=new XMLSerializer,ur=h(ye,De);return De.setAttribute("width",ur.width+"px"),De.setAttribute("height",ur.height+"px"),et.svg="data:image/svg+xml,"+encodeURIComponent(Ut.serializeToString(De)),et.intrinsicWidth=De.width.baseVal.value,et.intrinsicHeight=De.height.baseVal.value,et.context.cache.addImage(et.svg),et}return le}(ts),Gl=function(at){f(le,at);function le(ye,De){var et=at.call(this,ye,De)||this;return et.value=De.value,et}return le}(ts),Kl=function(at){f(le,at);function le(ye,De){var et=at.call(this,ye,De)||this;return et.start=De.start,et.reversed=typeof De.reversed=="boolean"&&De.reversed===!0,et}return le}(ts),Ic=[{type:15,flags:0,unit:"px",number:3}],qc=[{type:16,flags:0,number:50}],zc=function(le){return le.width>le.height?new c(le.left+(le.width-le.height)/2,le.top,le.height,le.height):le.width<le.height?new c(le.left,le.top+(le.height-le.width)/2,le.width,le.width):le},$c=function(le){var ye=le.type===eu?new Array(le.value.length+1).join("\u2022"):le.value;return ye.length===0?le.placeholder||"":ye},Ql="checkbox",mc="radio",eu="password",Oc=707406591,ac=function(at){f(le,at);function le(ye,De){var et=at.call(this,ye,De)||this;et.type=De.type.toLowerCase(),et.checked=De.checked,et.value=$c(De),(et.type===Ql||et.type===mc)&&(et.styles.backgroundColor=3739148031,et.styles.borderTopColor=et.styles.borderRightColor=et.styles.borderBottomColor=et.styles.borderLeftColor=2779096575,et.styles.borderTopWidth=et.styles.borderRightWidth=et.styles.borderBottomWidth=et.styles.borderLeftWidth=1,et.styles.borderTopStyle=et.styles.borderRightStyle=et.styles.borderBottomStyle=et.styles.borderLeftStyle=Ya.SOLID,et.styles.backgroundClip=[ca.BORDER_BOX],et.styles.backgroundOrigin=[0],et.bounds=zc(et.bounds));switch(et.type){case Ql:et.styles.borderTopRightRadius=et.styles.borderTopLeftRadius=et.styles.borderBottomRightRadius=et.styles.borderBottomLeftRadius=Ic;break;case mc:et.styles.borderTopRightRadius=et.styles.borderTopLeftRadius=et.styles.borderBottomRightRadius=et.styles.borderBottomLeftRadius=qc;break}return et}return le}(ts),gc=function(at){f(le,at);function le(ye,De){var et=at.call(this,ye,De)||this,Ut=De.options[De.selectedIndex||0];return et.value=Ut&&Ut.text||"",et}return le}(ts),Yl=function(at){f(le,at);function le(ye,De){var et=at.call(this,ye,De)||this;return et.value=De.value,et}return le}(ts),Lc=function(at){f(le,at);function le(ye,De){var et=at.call(this,ye,De)||this;et.src=De.src,et.width=parseInt(De.width,10)||0,et.height=parseInt(De.height,10)||0,et.backgroundColor=et.styles.backgroundColor;try{if(De.contentWindow&&De.contentWindow.document&&De.contentWindow.document.documentElement){et.tree=ke(ye,De.contentWindow.document.documentElement);var Ut=De.contentWindow.document.documentElement?ya(ye,getComputedStyle(De.contentWindow.document.documentElement).backgroundColor):Ea.TRANSPARENT,ur=De.contentWindow.document.body?ya(ye,getComputedStyle(De.contentWindow.document.body).backgroundColor):Ea.TRANSPARENT;et.backgroundColor=ci(Ut)?ci(ur)?et.styles.backgroundColor:ur:Ut}}catch(_r){}return et}return le}(ts),Jl=["OL","UL","MENU"],oc=function at(le,ye,De,et){for(var Ut=ye.firstChild,ur=void 0;Ut;Ut=ur)if(ur=Ut.nextSibling,er(Ut)&&Ut.data.trim().length>0)De.textNodes.push(new Kc(le,Ut,De.styles));else if(mr(Ut))if(En(Ut)&&Ut.assignedNodes)Ut.assignedNodes().forEach(function(Mr){return at(le,Mr,De,et)});else{var _r=fe(le,Ut);_r.styles.isVisible()&&(lt(Ut,_r,et)?_r.flags|=4:Ht(_r.styles)&&(_r.flags|=2),Jl.indexOf(Ut.tagName)!==-1&&(_r.flags|=8),De.elements.push(_r),Ut.slot,Ut.shadowRoot?at(le,Ut.shadowRoot,_r,et):!Er(Ut)&&!Rt(Ut)&&!zr(Ut)&&at(le,Ut,_r,et))}},fe=function(le,ye){return yr(ye)?new pc(le,ye):nr(ye)?new Ol(le,ye):Rt(ye)?new Ll(le,ye):me(ye)?new Gl(le,ye):We(ye)?new Kl(le,ye):nt(ye)?new ac(le,ye):zr(ye)?new gc(le,ye):Er(ye)?new Yl(le,ye):rr(ye)?new Lc(le,ye):new ts(le,ye)},ke=function(le,ye){var De=fe(le,ye);return De.flags|=4,oc(le,ye,De,De),De},lt=function(le,ye,De){return ye.styles.isPositionedWithZIndex()||ye.styles.opacity<1||ye.styles.isTransformed()||Mt(le)&&De.styles.isTransparent()},Ht=function(le){return le.isPositioned()||le.isFloating()},er=function(le){return le.nodeType===Node.TEXT_NODE},mr=function(le){return le.nodeType===Node.ELEMENT_NODE},Oe=function(le){return mr(le)&&typeof le.style!="undefined"&&!Q(le)},Q=function(le){return typeof le.className=="object"},me=function(le){return le.tagName==="LI"},We=function(le){return le.tagName==="OL"},nt=function(le){return le.tagName==="INPUT"},Et=function(le){return le.tagName==="HTML"},Rt=function(le){return le.tagName==="svg"},Mt=function(le){return le.tagName==="BODY"},nr=function(le){return le.tagName==="CANVAS"},yr=function(le){return le.tagName==="IMG"},rr=function(le){return le.tagName==="IFRAME"},qt=function(le){return le.tagName==="STYLE"},hr=function(le){return le.tagName==="SCRIPT"},Er=function(le){return le.tagName==="TEXTAREA"},zr=function(le){return le.tagName==="SELECT"},En=function(le){return le.tagName==="SLOT"},jn=function(){function at(){this.counters={}}return at.prototype.getCounterValue=function(le){var ye=this.counters[le];return ye&&ye.length?ye[ye.length-1]:1},at.prototype.getCounterValues=function(le){var ye=this.counters[le];return ye||[]},at.prototype.pop=function(le){var ye=this;le.forEach(function(De){return ye.counters[De].pop()})},at.prototype.parse=function(le){var ye=this,De=le.counterIncrement,et=le.counterReset,Ut=!0;De!==null&&De.forEach(function(_r){var Mr=ye.counters[_r.counter];Mr&&_r.increment!==0&&(Ut=!1,Mr.length||Mr.push(1),Mr[Math.max(0,Mr.length-1)]+=_r.increment)});var ur=[];return Ut&&et.forEach(function(_r){var Mr=ye.counters[_r.counter];ur.push(_r.counter),Mr||(Mr=ye.counters[_r.counter]=[]),Mr.push(_r.reset)}),ur},at}(),pi={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"]},Yn={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"]},Ji={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"]},Ei={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"]},da=function(le,ye,De,et,Ut,ur){return le<ye||le>De?Qt(le,Ut,ur.length>0):et.integers.reduce(function(_r,Mr,en){for(;le>=Mr;)le-=Mr,_r+=et.values[en];return _r},"")+ur},ta=function(le,ye,De,et){var Ut="";do De||le--,Ut=et(le)+Ut,le/=ye;while(le*ye>=ye);return Ut},oa=function(le,ye,De,et,Ut){var ur=De-ye+1;return(le<0?"-":"")+(ta(Math.abs(le),ur,et,function(_r){return n(Math.floor(_r%ur)+ye)})+Ut)},qa=function(le,ye,De){De===void 0&&(De=". ");var et=ye.length;return ta(Math.abs(le),et,!1,function(Ut){return ye[Math.floor(Ut%et)]})+De},O=1<<0,N=1<<1,G=1<<2,Z=1<<3,oe=function(le,ye,De,et,Ut,ur){if(le<-9999||le>9999)return Qt(le,ui.CJK_DECIMAL,Ut.length>0);var _r=Math.abs(le),Mr=Ut;if(_r===0)return ye[0]+Mr;for(var en=0;_r>0&&en<=4;en++){var Kn=_r%10;Kn===0&&Wa(ur,O)&&Mr!==""?Mr=ye[Kn]+Mr:Kn>1||Kn===1&&en===0||Kn===1&&en===1&&Wa(ur,N)||Kn===1&&en===1&&Wa(ur,G)&&le>100||Kn===1&&en>1&&Wa(ur,Z)?Mr=ye[Kn]+(en>0?De[en-1]:"")+Mr:Kn===1&&en>0&&(Mr=De[en-1]+Mr),_r=Math.floor(_r/10)}return(le<0?et:"")+Mr},Re="\u5341\u767E\u5343\u842C",ct="\u62FE\u4F70\u4EDF\u842C",Nt="\u30DE\u30A4\u30CA\u30B9",Wt="\uB9C8\uC774\uB108\uC2A4",Qt=function(le,ye,De){var et=De?". ":"",Ut=De?"\u3001":"",ur=De?", ":"",_r=De?" ":"";switch(ye){case ui.DISC:return"\u2022"+_r;case ui.CIRCLE:return"\u25E6"+_r;case ui.SQUARE:return"\u25FE"+_r;case ui.DECIMAL_LEADING_ZERO:var Mr=oa(le,48,57,!0,et);return Mr.length<4?"0"+Mr:Mr;case ui.CJK_DECIMAL:return qa(le,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ut);case ui.LOWER_ROMAN:return da(le,1,3999,pi,ui.DECIMAL,et).toLowerCase();case ui.UPPER_ROMAN:return da(le,1,3999,pi,ui.DECIMAL,et);case ui.LOWER_GREEK:return oa(le,945,969,!1,et);case ui.LOWER_ALPHA:return oa(le,97,122,!1,et);case ui.UPPER_ALPHA:return oa(le,65,90,!1,et);case ui.ARABIC_INDIC:return oa(le,1632,1641,!0,et);case ui.ARMENIAN:case ui.UPPER_ARMENIAN:return da(le,1,9999,Yn,ui.DECIMAL,et);case ui.LOWER_ARMENIAN:return da(le,1,9999,Yn,ui.DECIMAL,et).toLowerCase();case ui.BENGALI:return oa(le,2534,2543,!0,et);case ui.CAMBODIAN:case ui.KHMER:return oa(le,6112,6121,!0,et);case ui.CJK_EARTHLY_BRANCH:return qa(le,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Ut);case ui.CJK_HEAVENLY_STEM:return qa(le,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Ut);case ui.CJK_IDEOGRAPHIC:case ui.TRAD_CHINESE_INFORMAL:return oe(le,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Re,"\u8CA0",Ut,N|G|Z);case ui.TRAD_CHINESE_FORMAL:return oe(le,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ct,"\u8CA0",Ut,O|N|G|Z);case ui.SIMP_CHINESE_INFORMAL:return oe(le,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Re,"\u8D1F",Ut,N|G|Z);case ui.SIMP_CHINESE_FORMAL:return oe(le,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ct,"\u8D1F",Ut,O|N|G|Z);case ui.JAPANESE_INFORMAL:return oe(le,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Nt,Ut,0);case ui.JAPANESE_FORMAL:return oe(le,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Nt,Ut,O|N|G);case ui.KOREAN_HANGUL_FORMAL:return oe(le,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Wt,ur,O|N|G);case ui.KOREAN_HANJA_INFORMAL:return oe(le,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Wt,ur,0);case ui.KOREAN_HANJA_FORMAL:return oe(le,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Wt,ur,O|N|G);case ui.DEVANAGARI:return oa(le,2406,2415,!0,et);case ui.GEORGIAN:return da(le,1,19999,Ei,ui.DECIMAL,et);case ui.GUJARATI:return oa(le,2790,2799,!0,et);case ui.GURMUKHI:return oa(le,2662,2671,!0,et);case ui.HEBREW:return da(le,1,10999,Ji,ui.DECIMAL,et);case ui.HIRAGANA:return qa(le,"\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 ui.HIRAGANA_IROHA:return qa(le,"\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 ui.KANNADA:return oa(le,3302,3311,!0,et);case ui.KATAKANA:return qa(le,"\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",Ut);case ui.KATAKANA_IROHA:return qa(le,"\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",Ut);case ui.LAO:return oa(le,3792,3801,!0,et);case ui.MONGOLIAN:return oa(le,6160,6169,!0,et);case ui.MYANMAR:return oa(le,4160,4169,!0,et);case ui.ORIYA:return oa(le,2918,2927,!0,et);case ui.PERSIAN:return oa(le,1776,1785,!0,et);case ui.TAMIL:return oa(le,3046,3055,!0,et);case ui.TELUGU:return oa(le,3174,3183,!0,et);case ui.THAI:return oa(le,3664,3673,!0,et);case ui.TIBETAN:return oa(le,3872,3881,!0,et);case ui.DECIMAL:default:return oa(le,48,57,!0,et)}},kr="data-html2canvas-ignore",tn=function(){function at(le,ye,De){if(this.context=le,this.options=De,this.scrolledElements=[],this.referenceElement=ye,this.counters=new jn,this.quoteDepth=0,!ye.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(ye.ownerDocument.documentElement)}return at.prototype.toIFrame=function(le,ye){var De=this,et=wn(le,ye);if(!et.contentWindow)return Promise.reject("Unable to find iframe window");var Ut=le.defaultView.pageXOffset,ur=le.defaultView.pageYOffset,_r=et.contentWindow,Mr=_r.document,en=Mi(et).then(function(){return m(De,void 0,void 0,function(){var Kn,Dn;return g(this,function(Xn){switch(Xn.label){case 0:return this.scrolledElements.forEach(za),_r&&(_r.scrollTo(ye.left,ye.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(_r.scrollY!==ye.top||_r.scrollX!==ye.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(_r.scrollX-ye.left,_r.scrollY-ye.top,0,0))),Kn=this.options.onclone,Dn=this.clonedReferenceElement,typeof Dn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Mr.fonts&&Mr.fonts.ready?[4,Mr.fonts.ready]:[3,2];case 1:Xn.sent(),Xn.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,yi(Mr)]:[3,4];case 3:Xn.sent(),Xn.label=4;case 4:return typeof Kn=="function"?[2,Promise.resolve().then(function(){return Kn(Mr,Dn)}).then(function(){return et})]:[2,et]}})})});return Mr.open(),Mr.write(Gi(document.doctype)+"<html></html>"),ia(this.referenceElement.ownerDocument,Ut,ur),Mr.replaceChild(Mr.adoptNode(this.documentElement),Mr.documentElement),Mr.close(),en},at.prototype.createElementClone=function(le){if(Ss(le,2))debugger;if(nr(le))return this.createCanvasClone(le);if(qt(le))return this.createStyleClone(le);var ye=le.cloneNode(!1);return yr(ye)&&(yr(le)&&le.currentSrc&&le.currentSrc!==le.src&&(ye.src=le.currentSrc,ye.srcset=""),ye.loading==="lazy"&&(ye.loading="eager")),ye},at.prototype.createStyleClone=function(le){try{var ye=le.sheet;if(ye&&ye.cssRules){var De=[].slice.call(ye.cssRules,0).reduce(function(Ut,ur){return ur&&typeof ur.cssText=="string"?Ut+ur.cssText:Ut},""),et=le.cloneNode(!1);return et.textContent=De,et}}catch(Ut){if(this.context.logger.error("Unable to access cssRules property",Ut),Ut.name!=="SecurityError")throw Ut}return le.cloneNode(!1)},at.prototype.createCanvasClone=function(le){var ye;if(this.options.inlineImages&&le.ownerDocument){var De=le.ownerDocument.createElement("img");try{return De.src=le.toDataURL(),De}catch(en){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",le)}}var et=le.cloneNode(!1);try{et.width=le.width,et.height=le.height;var Ut=le.getContext("2d"),ur=et.getContext("2d");if(ur)if(!this.options.allowTaint&&Ut)ur.putImageData(Ut.getImageData(0,0,le.width,le.height),0,0);else{var _r=(ye=le.getContext("webgl2"))!==null&&ye!==void 0?ye:le.getContext("webgl");if(_r){var Mr=_r.getContextAttributes();(Mr==null?void 0:Mr.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",le)}ur.drawImage(le,0,0)}return et}catch(en){this.context.logger.info("Unable to clone canvas as it is tainted",le)}return et},at.prototype.cloneNode=function(le){if(er(le))return document.createTextNode(le.data);if(!le.ownerDocument)return le.cloneNode(!1);var ye=le.ownerDocument.defaultView;if(ye&&mr(le)&&(Oe(le)||Q(le))){var De=this.createElementClone(le);De.style.transitionProperty="none";var et=ye.getComputedStyle(le),Ut=ye.getComputedStyle(le,":before"),ur=ye.getComputedStyle(le,":after");this.referenceElement===le&&Oe(De)&&(this.clonedReferenceElement=De),Mt(De)&&Bs(De);for(var _r=this.counters.parse(new ko(this.context,et)),Mr=this.resolvePseudoContent(le,De,Ut,mn.BEFORE),en=le.firstChild;en;en=en.nextSibling)(!mr(en)||!hr(en)&&!en.hasAttribute(kr)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(en)))&&((!this.options.copyStyles||!mr(en)||!qt(en))&&De.appendChild(this.cloneNode(en)));Mr&&De.insertBefore(Mr,De.firstChild);var Kn=this.resolvePseudoContent(le,De,ur,mn.AFTER);return Kn&&De.appendChild(Kn),this.counters.pop(_r),et&&(this.options.copyStyles||Q(le))&&!rr(le)&&Ii(et,De),(le.scrollTop!==0||le.scrollLeft!==0)&&this.scrolledElements.push([De,le.scrollLeft,le.scrollTop]),(Er(le)||zr(le))&&(Er(De)||zr(De))&&(De.value=le.value),De}return le.cloneNode(!1)},at.prototype.resolvePseudoContent=function(le,ye,De,et){var Ut=this;if(!De)return;var ur=De.content,_r=ye.ownerDocument;if(!_r||!ur||ur==="none"||ur==="-moz-alt-content"||De.display==="none")return;this.counters.parse(new ko(this.context,De));var Mr=new Ts(this.context,De),en=_r.createElement("html2canvaspseudoelement");Ii(De,en),Mr.content.forEach(function(Dn){if(Dn.type===0)en.appendChild(_r.createTextNode(Dn.value));else if(Dn.type===22){var Xn=_r.createElement("img");Xn.src=Dn.value,Xn.style.opacity="1",en.appendChild(Xn)}else if(Dn.type===18){if(Dn.name==="attr"){var Vi=Dn.values.filter(He);Vi.length&&en.appendChild(_r.createTextNode(le.getAttribute(Vi[0].value)||""))}else if(Dn.name==="counter"){var Xi=Dn.values.filter(vr),sa=Xi[0],no=Xi[1];if(sa&&He(sa)){var Ra=Ut.counters.getCounterValue(sa.value),Ia=no&&He(no)?vs.parse(Ut.context,no.value):ui.DECIMAL;en.appendChild(_r.createTextNode(Qt(Ra,Ia,!1)))}}else if(Dn.name==="counters"){var Bo=Dn.values.filter(vr),sa=Bo[0],Go=Bo[1],no=Bo[2];if(sa&&He(sa)){var _o=Ut.counters.getCounterValues(sa.value),Ta=no&&He(no)?vs.parse(Ut.context,no.value):ui.DECIMAL,rs=Go&&Go.type===0?Go.value:"",as=_o.map(function(Zl){return Qt(Zl,Ta,!1)}).join(rs);en.appendChild(_r.createTextNode(as))}}}else if(Dn.type===20)switch(Dn.value){case"open-quote":en.appendChild(_r.createTextNode(Cs(Mr.quotes,Ut.quoteDepth++,!0)));break;case"close-quote":en.appendChild(_r.createTextNode(Cs(Mr.quotes,--Ut.quoteDepth,!1)));break;default:en.appendChild(_r.createTextNode(Dn.value))}}),en.className=Eo+" "+$o;var Kn=et===mn.BEFORE?" "+Eo:" "+$o;return Q(ye)?ye.className.baseValue+=Kn:ye.className+=Kn,en},at.destroy=function(le){return le.parentNode?(le.parentNode.removeChild(le),!0):!1},at}(),mn;(function(at){at[at.BEFORE=0]="BEFORE",at[at.AFTER=1]="AFTER"})(mn||(mn={}));var wn=function(le,ye){var De=le.createElement("iframe");return De.className="html2canvas-container",De.style.visibility="hidden",De.style.position="fixed",De.style.left="-10000px",De.style.top="0px",De.style.border="0",De.width=ye.width.toString(),De.height=ye.height.toString(),De.scrolling="no",De.setAttribute(kr,"true"),le.body.appendChild(De),De},ri=function(le){return new Promise(function(ye){if(le.complete){ye();return}if(!le.src){ye();return}le.onload=ye,le.onerror=ye})},yi=function(le){return Promise.all([].slice.call(le.images,0).map(ri))},Mi=function(le){return new Promise(function(ye,De){var et=le.contentWindow;if(!et)return De("No window assigned for iframe");var Ut=et.document;et.onload=le.onload=function(){et.onload=le.onload=null;var ur=setInterval(function(){Ut.body.childNodes.length>0&&Ut.readyState==="complete"&&(clearInterval(ur),ye(le))},50)}})},Di=["all","d","content"],Ii=function(le,ye){for(var De=le.length-1;De>=0;De--){var et=le.item(De);Di.indexOf(et)===-1&&ye.style.setProperty(et,le.getPropertyValue(et))}return ye},Gi=function(le){var ye="";return le&&(ye+="<!DOCTYPE ",le.name&&(ye+=le.name),le.internalSubset&&(ye+=le.internalSubset),le.publicId&&(ye+='"'+le.publicId+'"'),le.systemId&&(ye+='"'+le.systemId+'"'),ye+=">"),ye},ia=function(le,ye,De){le&&le.defaultView&&(ye!==le.defaultView.pageXOffset||De!==le.defaultView.pageYOffset)&&le.defaultView.scrollTo(ye,De)},za=function(le){var ye=le[0],De=le[1],et=le[2];ye.scrollLeft=De,ye.scrollTop=et},La=":before",mo=":after",Eo="___html2canvas___pseudoelement_before",$o="___html2canvas___pseudoelement_after",Wo=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,Bs=function(le){hl(le,"."+Eo+La+Wo+`
|
|
|
.`+$o+mo+Wo)},hl=function(le,ye){var De=le.ownerDocument;if(De){var et=De.createElement("style");et.textContent=ye,le.appendChild(et)}},As=function(){function at(){}return at.getOrigin=function(le){var ye=at._link;return ye?(ye.href=le,ye.href=ye.href,ye.protocol+ye.hostname+ye.port):"about:blank"},at.isSameOrigin=function(le){return at.getOrigin(le)===at._origin},at.setContext=function(le){at._link=le.document.createElement("a"),at._origin=at.getOrigin(le.location.href)},at._origin="about:blank",at}(),fl=function(){function at(le,ye){this.context=le,this._options=ye,this._cache={}}return at.prototype.addImage=function(le){var ye=Promise.resolve();return this.has(le)||(El(le)||us(le))&&(this._cache[le]=this.loadImage(le)).catch(function(){}),ye},at.prototype.match=function(le){return this._cache[le]},at.prototype.loadImage=function(le){return m(this,void 0,void 0,function(){var ye,De,et,Ut,ur=this;return g(this,function(_r){switch(_r.label){case 0:return ye=As.isSameOrigin(le),De=!ol(le)&&this._options.useCORS===!0&&cs.SUPPORT_CORS_IMAGES&&!ye,et=!ol(le)&&!ye&&!El(le)&&typeof this._options.proxy=="string"&&cs.SUPPORT_CORS_XHR&&!De,!ye&&this._options.allowTaint===!1&&!ol(le)&&!El(le)&&!et&&!De?[2]:(Ut=le,et?[4,this.proxy(Ut)]:[3,2]);case 1:Ut=_r.sent(),_r.label=2;case 2:return this.context.logger.debug("Added image "+le.substring(0,256)),[4,new Promise(function(Mr,en){var Kn=new Image;Kn.onload=function(){return Mr(Kn)},Kn.onerror=en,(Ac(Ut)||De)&&(Kn.crossOrigin="anonymous"),Kn.src=Ut,Kn.complete===!0&&setTimeout(function(){return Mr(Kn)},500),ur._options.imageTimeout>0&&setTimeout(function(){return en("Timed out ("+ur._options.imageTimeout+"ms) loading image")},ur._options.imageTimeout)})];case 3:return[2,_r.sent()]}})})},at.prototype.has=function(le){return typeof this._cache[le]!="undefined"},at.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},at.prototype.proxy=function(le){var ye=this,De=this._options.proxy;if(!De)throw new Error("No proxy defined");var et=le.substring(0,256);return new Promise(function(Ut,ur){var _r=cs.SUPPORT_RESPONSE_TYPE?"blob":"text",Mr=new XMLHttpRequest;Mr.onload=function(){if(Mr.status===200)if(_r==="text")Ut(Mr.response);else{var Dn=new FileReader;Dn.addEventListener("load",function(){return Ut(Dn.result)},!1),Dn.addEventListener("error",function(Xn){return ur(Xn)},!1),Dn.readAsDataURL(Mr.response)}else ur("Failed to proxy resource "+et+" with status code "+Mr.status)},Mr.onerror=ur;var en=De.indexOf("?")>-1?"&":"?";if(Mr.open("GET",""+De+en+"url="+encodeURIComponent(le)+"&responseType="+_r),_r!=="text"&&Mr instanceof XMLHttpRequest&&(Mr.responseType=_r),ye._options.imageTimeout){var Kn=ye._options.imageTimeout;Mr.timeout=Kn,Mr.ontimeout=function(){return ur("Timed out ("+Kn+"ms) proxying "+et)}}Mr.send()})},at}(),ks=/^data:image\/svg\+xml/i,Os=/^data:image\/.*;base64,/i,bs=/^data:image\/.*/i,us=function(le){return cs.SUPPORT_SVG_DRAWING||!ws(le)},ol=function(le){return bs.test(le)},Ac=function(le){return Os.test(le)},El=function(le){return le.substr(0,4)==="blob"},ws=function(le){return le.substr(-3).toLowerCase()==="svg"||ks.test(le)},wl;(function(at){at[at.VECTOR=0]="VECTOR",at[at.BEZIER_CURVE=1]="BEZIER_CURVE"})(wl||(wl={}));var Hs=function(le,ye){return le.length===ye.length?le.some(function(De,et){return De===ye[et]}):!1},tu=function(le,ye,De,et,Ut){return le.map(function(ur,_r){switch(_r){case 0:return ur.add(ye,De);case 1:return ur.add(ye+et,De);case 2:return ur.add(ye+et,De+Ut);case 3:return ur.add(ye,De+Ut)}return ur})},ra=function(){function at(le,ye){this.type=wl.VECTOR,this.x=le,this.y=ye}return at.prototype.add=function(le,ye){return new at(this.x+le,this.y+ye)},at}(),vl=function(le,ye,De){return new ra(le.x+(ye.x-le.x)*De,le.y+(ye.y-le.y)*De)},Nl=function(){function at(le,ye,De,et){this.type=wl.BEZIER_CURVE,this.start=le,this.startControl=ye,this.endControl=De,this.end=et}return at.prototype.subdivide=function(le,ye){var De=vl(this.start,this.startControl,le),et=vl(this.startControl,this.endControl,le),Ut=vl(this.endControl,this.end,le),ur=vl(De,et,le),_r=vl(et,Ut,le),Mr=vl(ur,_r,le);return ye?new at(this.start,De,ur,Mr):new at(Mr,_r,Ut,this.end)},at.prototype.add=function(le,ye){return new at(this.start.add(le,ye),this.startControl.add(le,ye),this.endControl.add(le,ye),this.end.add(le,ye))},at.prototype.reverse=function(){return new at(this.end,this.endControl,this.startControl,this.start)},at}(),is=function(le){return le.type===wl.BEZIER_CURVE},Wl=function(){function at(le){var ye=le.styles,De=le.bounds,et=an(ye.borderTopLeftRadius,De.width,De.height),Ut=et[0],ur=et[1],_r=an(ye.borderTopRightRadius,De.width,De.height),Mr=_r[0],en=_r[1],Kn=an(ye.borderBottomRightRadius,De.width,De.height),Dn=Kn[0],Xn=Kn[1],Vi=an(ye.borderBottomLeftRadius,De.width,De.height),Xi=Vi[0],sa=Vi[1],no=[];no.push((Ut+Mr)/De.width),no.push((Xi+Dn)/De.width),no.push((ur+sa)/De.height),no.push((en+Xn)/De.height);var Ra=Math.max.apply(Math,no);Ra>1&&(Ut/=Ra,ur/=Ra,Mr/=Ra,en/=Ra,Dn/=Ra,Xn/=Ra,Xi/=Ra,sa/=Ra);var Ia=De.width-Mr,Bo=De.height-Xn,Go=De.width-Dn,_o=De.height-sa,Ta=ye.borderTopWidth,rs=ye.borderRightWidth,as=ye.borderBottomWidth,Co=ye.borderLeftWidth,kl=Yr(ye.paddingTop,le.bounds.width),Zl=Yr(ye.paddingRight,le.bounds.width),Pl=Yr(ye.paddingBottom,le.bounds.width),yl=Yr(ye.paddingLeft,le.bounds.width);this.topLeftBorderDoubleOuterBox=Ut>0||ur>0?ms(De.left+Co/3,De.top+Ta/3,Ut-Co/3,ur-Ta/3,Ho.TOP_LEFT):new ra(De.left+Co/3,De.top+Ta/3),this.topRightBorderDoubleOuterBox=Ut>0||ur>0?ms(De.left+Ia,De.top+Ta/3,Mr-rs/3,en-Ta/3,Ho.TOP_RIGHT):new ra(De.left+De.width-rs/3,De.top+Ta/3),this.bottomRightBorderDoubleOuterBox=Dn>0||Xn>0?ms(De.left+Go,De.top+Bo,Dn-rs/3,Xn-as/3,Ho.BOTTOM_RIGHT):new ra(De.left+De.width-rs/3,De.top+De.height-as/3),this.bottomLeftBorderDoubleOuterBox=Xi>0||sa>0?ms(De.left+Co/3,De.top+_o,Xi-Co/3,sa-as/3,Ho.BOTTOM_LEFT):new ra(De.left+Co/3,De.top+De.height-as/3),this.topLeftBorderDoubleInnerBox=Ut>0||ur>0?ms(De.left+Co*2/3,De.top+Ta*2/3,Ut-Co*2/3,ur-Ta*2/3,Ho.TOP_LEFT):new ra(De.left+Co*2/3,De.top+Ta*2/3),this.topRightBorderDoubleInnerBox=Ut>0||ur>0?ms(De.left+Ia,De.top+Ta*2/3,Mr-rs*2/3,en-Ta*2/3,Ho.TOP_RIGHT):new ra(De.left+De.width-rs*2/3,De.top+Ta*2/3),this.bottomRightBorderDoubleInnerBox=Dn>0||Xn>0?ms(De.left+Go,De.top+Bo,Dn-rs*2/3,Xn-as*2/3,Ho.BOTTOM_RIGHT):new ra(De.left+De.width-rs*2/3,De.top+De.height-as*2/3),this.bottomLeftBorderDoubleInnerBox=Xi>0||sa>0?ms(De.left+Co*2/3,De.top+_o,Xi-Co*2/3,sa-as*2/3,Ho.BOTTOM_LEFT):new ra(De.left+Co*2/3,De.top+De.height-as*2/3),this.topLeftBorderStroke=Ut>0||ur>0?ms(De.left+Co/2,De.top+Ta/2,Ut-Co/2,ur-Ta/2,Ho.TOP_LEFT):new ra(De.left+Co/2,De.top+Ta/2),this.topRightBorderStroke=Ut>0||ur>0?ms(De.left+Ia,De.top+Ta/2,Mr-rs/2,en-Ta/2,Ho.TOP_RIGHT):new ra(De.left+De.width-rs/2,De.top+Ta/2),this.bottomRightBorderStroke=Dn>0||Xn>0?ms(De.left+Go,De.top+Bo,Dn-rs/2,Xn-as/2,Ho.BOTTOM_RIGHT):new ra(De.left+De.width-rs/2,De.top+De.height-as/2),this.bottomLeftBorderStroke=Xi>0||sa>0?ms(De.left+Co/2,De.top+_o,Xi-Co/2,sa-as/2,Ho.BOTTOM_LEFT):new ra(De.left+Co/2,De.top+De.height-as/2),this.topLeftBorderBox=Ut>0||ur>0?ms(De.left,De.top,Ut,ur,Ho.TOP_LEFT):new ra(De.left,De.top),this.topRightBorderBox=Mr>0||en>0?ms(De.left+Ia,De.top,Mr,en,Ho.TOP_RIGHT):new ra(De.left+De.width,De.top),this.bottomRightBorderBox=Dn>0||Xn>0?ms(De.left+Go,De.top+Bo,Dn,Xn,Ho.BOTTOM_RIGHT):new ra(De.left+De.width,De.top+De.height),this.bottomLeftBorderBox=Xi>0||sa>0?ms(De.left,De.top+_o,Xi,sa,Ho.BOTTOM_LEFT):new ra(De.left,De.top+De.height),this.topLeftPaddingBox=Ut>0||ur>0?ms(De.left+Co,De.top+Ta,Math.max(0,Ut-Co),Math.max(0,ur-Ta),Ho.TOP_LEFT):new ra(De.left+Co,De.top+Ta),this.topRightPaddingBox=Mr>0||en>0?ms(De.left+Math.min(Ia,De.width-rs),De.top+Ta,Ia>De.width+rs?0:Math.max(0,Mr-rs),Math.max(0,en-Ta),Ho.TOP_RIGHT):new ra(De.left+De.width-rs,De.top+Ta),this.bottomRightPaddingBox=Dn>0||Xn>0?ms(De.left+Math.min(Go,De.width-Co),De.top+Math.min(Bo,De.height-as),Math.max(0,Dn-rs),Math.max(0,Xn-as),Ho.BOTTOM_RIGHT):new ra(De.left+De.width-rs,De.top+De.height-as),this.bottomLeftPaddingBox=Xi>0||sa>0?ms(De.left+Co,De.top+Math.min(_o,De.height-as),Math.max(0,Xi-Co),Math.max(0,sa-as),Ho.BOTTOM_LEFT):new ra(De.left+Co,De.top+De.height-as),this.topLeftContentBox=Ut>0||ur>0?ms(De.left+Co+yl,De.top+Ta+kl,Math.max(0,Ut-(Co+yl)),Math.max(0,ur-(Ta+kl)),Ho.TOP_LEFT):new ra(De.left+Co+yl,De.top+Ta+kl),this.topRightContentBox=Mr>0||en>0?ms(De.left+Math.min(Ia,De.width+Co+yl),De.top+Ta+kl,Ia>De.width+Co+yl?0:Mr-Co+yl,en-(Ta+kl),Ho.TOP_RIGHT):new ra(De.left+De.width-(rs+Zl),De.top+Ta+kl),this.bottomRightContentBox=Dn>0||Xn>0?ms(De.left+Math.min(Go,De.width-(Co+yl)),De.top+Math.min(Bo,De.height+Ta+kl),Math.max(0,Dn-(rs+Zl)),Xn-(as+Pl),Ho.BOTTOM_RIGHT):new ra(De.left+De.width-(rs+Zl),De.top+De.height-(as+Pl)),this.bottomLeftContentBox=Xi>0||sa>0?ms(De.left+Co+yl,De.top+_o,Math.max(0,Xi-(Co+yl)),sa-(as+Pl),Ho.BOTTOM_LEFT):new ra(De.left+Co+yl,De.top+De.height-(as+Pl))}return at}(),Ho;(function(at){at[at.TOP_LEFT=0]="TOP_LEFT",at[at.TOP_RIGHT=1]="TOP_RIGHT",at[at.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",at[at.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Ho||(Ho={}));var ms=function(le,ye,De,et,Ut){var ur=4*((Math.sqrt(2)-1)/3),_r=De*ur,Mr=et*ur,en=le+De,Kn=ye+et;switch(Ut){case Ho.TOP_LEFT:return new Nl(new ra(le,Kn),new ra(le,Kn-Mr),new ra(en-_r,ye),new ra(en,ye));case Ho.TOP_RIGHT:return new Nl(new ra(le,ye),new ra(le+_r,ye),new ra(en,Kn-Mr),new ra(en,Kn));case Ho.BOTTOM_RIGHT:return new Nl(new ra(en,ye),new ra(en,ye+Mr),new ra(le+_r,Kn),new ra(le,Kn));case Ho.BOTTOM_LEFT:default:return new Nl(new ra(en,Kn),new ra(en-_r,Kn),new ra(le,ye+Mr),new ra(le,ye))}},ru=function(le){return[le.topLeftBorderBox,le.topRightBorderBox,le.bottomRightBorderBox,le.bottomLeftBorderBox]},xu=function(le){return[le.topLeftContentBox,le.topRightContentBox,le.bottomRightContentBox,le.bottomLeftContentBox]},Nc=function(le){return[le.topLeftPaddingBox,le.topRightPaddingBox,le.bottomRightPaddingBox,le.bottomLeftPaddingBox]},wu=function(){function at(le,ye,De){this.offsetX=le,this.offsetY=ye,this.matrix=De,this.type=0,this.target=2|4}return at}(),Vc=function(){function at(le,ye){this.path=le,this.target=ye,this.type=1}return at}(),vc=function(){function at(le){this.opacity=le,this.type=2,this.target=2|4}return at}(),Su=function(le){return le.type===0},fu=function(le){return le.type===1},Eu=function(le){return le.type===2},pu=function(){function at(le){this.element=le,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return at}(),Dc=function(){function at(le,ye){if(this.container=le,this.parent=ye,this.effects=[],this.curves=new Wl(this.container),this.container.styles.opacity<1&&this.effects.push(new vc(this.container.styles.opacity)),this.container.styles.transform!==null){var De=this.container.bounds.left+this.container.styles.transformOrigin[0].number,et=this.container.bounds.top+this.container.styles.transformOrigin[1].number,Ut=this.container.styles.transform;this.effects.push(new wu(De,et,Ut))}if(this.container.styles.overflowX!==Ls.VISIBLE){var ur=ru(this.curves),_r=Nc(this.curves);Hs(ur,_r)?this.effects.push(new Vc(ur,2|4)):(this.effects.push(new Vc(ur,2)),this.effects.push(new Vc(_r,4)))}}return at.prototype.getEffects=function(le){for(var ye=[Lt.ABSOLUTE,Lt.FIXED].indexOf(this.container.styles.position)===-1,De=this.parent,et=this.effects.slice(0);De;){var Ut=De.effects.filter(function(Mr){return!fu(Mr)});if(ye||De.container.styles.position!==Lt.STATIC||!De.parent){if(et.unshift.apply(et,Ut),ye=[Lt.ABSOLUTE,Lt.FIXED].indexOf(De.container.styles.position)===-1,De.container.styles.overflowX!==Ls.VISIBLE){var ur=ru(De.curves),_r=Nc(De.curves);Hs(ur,_r)||et.unshift(new Vc(_r,2|4))}}else et.unshift.apply(et,Ut);De=De.parent}return et.filter(function(Mr){return Wa(Mr.target,le)})},at}(),_u=function at(le,ye,De,et){le.container.elements.forEach(function(Ut){var ur=Wa(Ut.flags,4),_r=Wa(Ut.flags,2),Mr=new Dc(Ut,le);Wa(Ut.styles.display,2048)&&et.push(Mr);var en=Wa(Ut.flags,8)?[]:et;if(ur||_r){var Kn=ur||Ut.styles.isPositioned()?De:ye,Dn=new pu(Mr);if(Ut.styles.isPositioned()||Ut.styles.opacity<1||Ut.styles.isTransformed()){var Xn=Ut.styles.zIndex.order;if(Xn<0){var Vi=0;Kn.negativeZIndex.some(function(sa,no){return Xn>sa.element.container.styles.zIndex.order?(Vi=no,!1):Vi>0}),Kn.negativeZIndex.splice(Vi,0,Dn)}else if(Xn>0){var Xi=0;Kn.positiveZIndex.some(function(sa,no){return Xn>=sa.element.container.styles.zIndex.order?(Xi=no+1,!1):Xi>0}),Kn.positiveZIndex.splice(Xi,0,Dn)}else Kn.zeroOrAutoZIndexOrTransformedOrOpacity.push(Dn)}else Ut.styles.isFloating()?Kn.nonPositionedFloats.push(Dn):Kn.nonPositionedInlineLevel.push(Dn);at(Mr,Dn,ur?Dn:De,en)}else Ut.styles.isInlineLevel()?ye.inlineLevel.push(Mr):ye.nonInlineLevel.push(Mr),at(Mr,ye,De,en);Wa(Ut.flags,8)&&mu(Ut,en)})},mu=function(le,ye){for(var De=le instanceof Kl?le.start:1,et=le instanceof Kl?le.reversed:!1,Ut=0;Ut<ye.length;Ut++){var ur=ye[Ut];ur.container instanceof Gl&&typeof ur.container.value=="number"&&ur.container.value!==0&&(De=ur.container.value),ur.listValue=Qt(De,ur.container.styles.listStyleType,!0),De+=et?-1:1}},Cu=function(le){var ye=new Dc(le,null),De=new pu(ye),et=[];return _u(ye,De,De,et),mu(ye.container,et),De},gu=function(le,ye){switch(ye){case 0:return tl(le.topLeftBorderBox,le.topLeftPaddingBox,le.topRightBorderBox,le.topRightPaddingBox);case 1:return tl(le.topRightBorderBox,le.topRightPaddingBox,le.bottomRightBorderBox,le.bottomRightPaddingBox);case 2:return tl(le.bottomRightBorderBox,le.bottomRightPaddingBox,le.bottomLeftBorderBox,le.bottomLeftPaddingBox);case 3:default:return tl(le.bottomLeftBorderBox,le.bottomLeftPaddingBox,le.topLeftBorderBox,le.topLeftPaddingBox)}},Tu=function(le,ye){switch(ye){case 0:return tl(le.topLeftBorderBox,le.topLeftBorderDoubleOuterBox,le.topRightBorderBox,le.topRightBorderDoubleOuterBox);case 1:return tl(le.topRightBorderBox,le.topRightBorderDoubleOuterBox,le.bottomRightBorderBox,le.bottomRightBorderDoubleOuterBox);case 2:return tl(le.bottomRightBorderBox,le.bottomRightBorderDoubleOuterBox,le.bottomLeftBorderBox,le.bottomLeftBorderDoubleOuterBox);case 3:default:return tl(le.bottomLeftBorderBox,le.bottomLeftBorderDoubleOuterBox,le.topLeftBorderBox,le.topLeftBorderDoubleOuterBox)}},nu=function(le,ye){switch(ye){case 0:return tl(le.topLeftBorderDoubleInnerBox,le.topLeftPaddingBox,le.topRightBorderDoubleInnerBox,le.topRightPaddingBox);case 1:return tl(le.topRightBorderDoubleInnerBox,le.topRightPaddingBox,le.bottomRightBorderDoubleInnerBox,le.bottomRightPaddingBox);case 2:return tl(le.bottomRightBorderDoubleInnerBox,le.bottomRightPaddingBox,le.bottomLeftBorderDoubleInnerBox,le.bottomLeftPaddingBox);case 3:default:return tl(le.bottomLeftBorderDoubleInnerBox,le.bottomLeftPaddingBox,le.topLeftBorderDoubleInnerBox,le.topLeftPaddingBox)}},Au=function(le,ye){switch(ye){case 0:return Rc(le.topLeftBorderStroke,le.topRightBorderStroke);case 1:return Rc(le.topRightBorderStroke,le.bottomRightBorderStroke);case 2:return Rc(le.bottomRightBorderStroke,le.bottomLeftBorderStroke);case 3:default:return Rc(le.bottomLeftBorderStroke,le.topLeftBorderStroke)}},Rc=function(le,ye){var De=[];return is(le)?De.push(le.subdivide(.5,!1)):De.push(le),is(ye)?De.push(ye.subdivide(.5,!0)):De.push(ye),De},tl=function(le,ye,De,et){var Ut=[];return is(le)?Ut.push(le.subdivide(.5,!1)):Ut.push(le),is(De)?Ut.push(De.subdivide(.5,!0)):Ut.push(De),is(et)?Ut.push(et.subdivide(.5,!0).reverse()):Ut.push(et),is(ye)?Ut.push(ye.subdivide(.5,!1).reverse()):Ut.push(ye),Ut},sc=function(le){var ye=le.bounds,De=le.styles;return ye.add(De.borderLeftWidth,De.borderTopWidth,-(De.borderRightWidth+De.borderLeftWidth),-(De.borderTopWidth+De.borderBottomWidth))},zl=function(le){var ye=le.styles,De=le.bounds,et=Yr(ye.paddingLeft,De.width),Ut=Yr(ye.paddingRight,De.width),ur=Yr(ye.paddingTop,De.width),_r=Yr(ye.paddingBottom,De.width);return De.add(et+ye.borderLeftWidth,ur+ye.borderTopWidth,-(ye.borderRightWidth+ye.borderLeftWidth+et+Ut),-(ye.borderTopWidth+ye.borderBottomWidth+ur+_r))},cu=function(le,ye){return le===0?ye.bounds:le===2?zl(ye):sc(ye)},vu=function(le,ye){return le===ca.BORDER_BOX?ye.bounds:le===ca.CONTENT_BOX?zl(ye):sc(ye)},uu=function(le,ye,De){var et=cu(du(le.styles.backgroundOrigin,ye),le),Ut=vu(du(le.styles.backgroundClip,ye),le),ur=yu(du(le.styles.backgroundSize,ye),De,et),_r=ur[0],Mr=ur[1],en=an(du(le.styles.backgroundPosition,ye),et.width-_r,et.height-Mr),Kn=Lu(du(le.styles.backgroundRepeat,ye),en,ur,et,Ut),Dn=Math.round(et.left+en[0]),Xn=Math.round(et.top+en[1]);return[Kn,Dn,Xn,_r,Mr]},Xc=function(le){return He(le)&&le.value===Po.AUTO},Gc=function(le){return typeof le=="number"},yu=function(le,ye,De){var et=ye[0],Ut=ye[1],ur=ye[2],_r=le[0],Mr=le[1];if(!_r)return[0,0];if(Dr(_r)&&Mr&&Dr(Mr))return[Yr(_r,De.width),Yr(Mr,De.height)];var en=Gc(ur);if(He(_r)&&(_r.value===Po.CONTAIN||_r.value===Po.COVER)){if(Gc(ur)){var Kn=De.width/De.height;return Kn<ur!==(_r.value===Po.COVER)?[De.width,De.width/ur]:[De.height*ur,De.height]}return[De.width,De.height]}var Dn=Gc(et),Xn=Gc(Ut),Vi=Dn||Xn;if(Xc(_r)&&(!Mr||Xc(Mr))){if(Dn&&Xn)return[et,Ut];if(!en&&!Vi)return[De.width,De.height];if(Vi&&en){var Xi=Dn?et:Ut*ur,sa=Xn?Ut:et/ur;return[Xi,sa]}var no=Dn?et:De.width,Ra=Xn?Ut:De.height;return[no,Ra]}if(en){var Ia=0,Bo=0;return Dr(_r)?Ia=Yr(_r,De.width):Dr(Mr)&&(Bo=Yr(Mr,De.height)),Xc(_r)?Ia=Bo*ur:(!Mr||Xc(Mr))&&(Bo=Ia/ur),[Ia,Bo]}var Go=null,_o=null;if(Dr(_r)?Go=Yr(_r,De.width):Mr&&Dr(Mr)&&(_o=Yr(Mr,De.height)),Go!==null&&(!Mr||Xc(Mr))&&(_o=Dn&&Xn?Go/et*Ut:De.height),_o!==null&&Xc(_r)&&(Go=Dn&&Xn?_o/Ut*et:De.width),Go!==null&&_o!==null)return[Go,_o];throw new Error("Unable to calculate background-size for element")},du=function(le,ye){var De=le[ye];return typeof De=="undefined"?le[0]:De},Lu=function(le,ye,De,et,Ut){var ur=ye[0],_r=ye[1],Mr=De[0],en=De[1];switch(le){case Io.REPEAT_X:return[new ra(Math.round(et.left),Math.round(et.top+_r)),new ra(Math.round(et.left+et.width),Math.round(et.top+_r)),new ra(Math.round(et.left+et.width),Math.round(en+et.top+_r)),new ra(Math.round(et.left),Math.round(en+et.top+_r))];case Io.REPEAT_Y:return[new ra(Math.round(et.left+ur),Math.round(et.top)),new ra(Math.round(et.left+ur+Mr),Math.round(et.top)),new ra(Math.round(et.left+ur+Mr),Math.round(et.height+et.top)),new ra(Math.round(et.left+ur),Math.round(et.height+et.top))];case Io.NO_REPEAT:return[new ra(Math.round(et.left+ur),Math.round(et.top+_r)),new ra(Math.round(et.left+ur+Mr),Math.round(et.top+_r)),new ra(Math.round(et.left+ur+Mr),Math.round(et.top+_r+en)),new ra(Math.round(et.left+ur),Math.round(et.top+_r+en))];default:return[new ra(Math.round(Ut.left),Math.round(Ut.top)),new ra(Math.round(Ut.left+Ut.width),Math.round(Ut.top)),new ra(Math.round(Ut.left+Ut.width),Math.round(Ut.height+Ut.top)),new ra(Math.round(Ut.left),Math.round(Ut.height+Ut.top))]}},Nu="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Iu="Hidden Text",Du=function(){function at(le){this._data={},this._document=le}return at.prototype.parseMetrics=function(le,ye){var De=this._document.createElement("div"),et=this._document.createElement("img"),Ut=this._document.createElement("span"),ur=this._document.body;De.style.visibility="hidden",De.style.fontFamily=le,De.style.fontSize=ye,De.style.margin="0",De.style.padding="0",ur.appendChild(De),et.src=Nu,et.width=1,et.height=1,et.style.margin="0",et.style.padding="0",et.style.verticalAlign="baseline",Ut.style.fontFamily=le,Ut.style.fontSize=ye,Ut.style.margin="0",Ut.style.padding="0",Ut.appendChild(this._document.createTextNode(Iu)),De.appendChild(Ut),De.appendChild(et);var _r=et.offsetTop-Ut.offsetTop+2;De.removeChild(Ut),De.appendChild(this._document.createTextNode(Iu)),De.style.lineHeight="normal",et.style.verticalAlign="super";var Mr=et.offsetTop-De.offsetTop+2;return ur.removeChild(De),{baseline:_r,middle:Mr}},at.prototype.getMetrics=function(le,ye){var De=le+" "+ye;return typeof this._data[De]=="undefined"&&(this._data[De]=this.parseMetrics(le,ye)),this._data[De]},at}(),Ou=function(){function at(le,ye){this.context=le,this.options=ye}return at}(),Ru=1e4,Mu=function(at){f(le,at);function le(ye,De){var et=at.call(this,ye,De)||this;return et._activeEffects=[],et.canvas=De.canvas?De.canvas:document.createElement("canvas"),et.ctx=et.canvas.getContext("2d"),De.canvas||(et.canvas.width=Math.floor(De.width*De.scale),et.canvas.height=Math.floor(De.height*De.scale),et.canvas.style.width=De.width+"px",et.canvas.style.height=De.height+"px"),et.fontMetrics=new Du(document),et.ctx.scale(et.options.scale,et.options.scale),et.ctx.translate(-De.x,-De.y),et.ctx.textBaseline="bottom",et._activeEffects=[],et.context.logger.debug("Canvas renderer initialized ("+De.width+"x"+De.height+") with scale "+De.scale),et}return le.prototype.applyEffects=function(ye){for(var De=this;this._activeEffects.length;)this.popEffect();ye.forEach(function(et){return De.applyEffect(et)})},le.prototype.applyEffect=function(ye){this.ctx.save(),Eu(ye)&&(this.ctx.globalAlpha=ye.opacity),Su(ye)&&(this.ctx.translate(ye.offsetX,ye.offsetY),this.ctx.transform(ye.matrix[0],ye.matrix[1],ye.matrix[2],ye.matrix[3],ye.matrix[4],ye.matrix[5]),this.ctx.translate(-ye.offsetX,-ye.offsetY)),fu(ye)&&(this.path(ye.path),this.ctx.clip()),this._activeEffects.push(ye)},le.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},le.prototype.renderStack=function(ye){return m(this,void 0,void 0,function(){var De;return g(this,function(et){switch(et.label){case 0:return De=ye.element.container.styles,De.isVisible()?[4,this.renderStackContent(ye)]:[3,2];case 1:et.sent(),et.label=2;case 2:return[2]}})})},le.prototype.renderNode=function(ye){return m(this,void 0,void 0,function(){return g(this,function(De){switch(De.label){case 0:if(Wa(ye.container.flags,16))debugger;return ye.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(ye)]:[3,3];case 1:return De.sent(),[4,this.renderNodeContent(ye)];case 2:De.sent(),De.label=3;case 3:return[2]}})})},le.prototype.renderTextWithLetterSpacing=function(ye,De,et){var Ut=this;if(De===0)this.ctx.fillText(ye.text,ye.bounds.left,ye.bounds.top+et);else{var ur=Fl(ye.text);ur.reduce(function(_r,Mr){return Ut.ctx.fillText(Mr,_r,ye.bounds.top+et),_r+Ut.ctx.measureText(Mr).width},ye.bounds.left)}},le.prototype.createFontStyle=function(ye){var De=ye.fontVariant.filter(function(ur){return ur==="normal"||ur==="small-caps"}).join(""),et=ye.fontFamily.join(", "),Ut=Ir(ye.fontSize)?""+ye.fontSize.number+ye.fontSize.unit:ye.fontSize.number+"px";return[[ye.fontStyle,De,ye.fontWeight,Ut,et].join(" "),et,Ut]},le.prototype.renderTextNode=function(ye,De){return m(this,void 0,void 0,function(){var et,Ut,ur,_r,Mr,en,Kn,Dn,Xn=this;return g(this,function(Vi){return et=this.createFontStyle(De),Ut=et[0],ur=et[1],_r=et[2],this.ctx.font=Ut,this.ctx.direction=De.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Mr=this.fontMetrics.getMetrics(ur,_r),en=Mr.baseline,Kn=Mr.middle,Dn=De.paintOrder,ye.textBounds.forEach(function(Xi){Dn.forEach(function(sa){switch(sa){case xo.FILL:Xn.ctx.fillStyle=wi(De.color),Xn.renderTextWithLetterSpacing(Xi,De.letterSpacing,en);var no=De.textShadow;no.length&&Xi.text.trim().length&&(no.slice(0).reverse().forEach(function(Ra){Xn.ctx.shadowColor=wi(Ra.color),Xn.ctx.shadowOffsetX=Ra.offsetX.number*Xn.options.scale,Xn.ctx.shadowOffsetY=Ra.offsetY.number*Xn.options.scale,Xn.ctx.shadowBlur=Ra.blur.number,Xn.renderTextWithLetterSpacing(Xi,De.letterSpacing,en)}),Xn.ctx.shadowColor="",Xn.ctx.shadowOffsetX=0,Xn.ctx.shadowOffsetY=0,Xn.ctx.shadowBlur=0),De.textDecorationLine.length&&(Xn.ctx.fillStyle=wi(De.textDecorationColor||De.color),De.textDecorationLine.forEach(function(Ra){switch(Ra){case 1:Xn.ctx.fillRect(Xi.bounds.left,Math.round(Xi.bounds.top+en),Xi.bounds.width,1);break;case 2:Xn.ctx.fillRect(Xi.bounds.left,Math.round(Xi.bounds.top),Xi.bounds.width,1);break;case 3:Xn.ctx.fillRect(Xi.bounds.left,Math.ceil(Xi.bounds.top+Kn),Xi.bounds.width,1);break}}));break;case xo.STROKE:De.webkitTextStrokeWidth&&Xi.text.trim().length&&(Xn.ctx.strokeStyle=wi(De.webkitTextStrokeColor),Xn.ctx.lineWidth=De.webkitTextStrokeWidth,Xn.ctx.lineJoin=window.chrome?"miter":"round",Xn.ctx.strokeText(Xi.text,Xi.bounds.left,Xi.bounds.top+en)),Xn.ctx.strokeStyle="",Xn.ctx.lineWidth=0,Xn.ctx.lineJoin="miter";break}})}),[2]})})},le.prototype.renderReplacedElement=function(ye,De,et){if(et&&ye.intrinsicWidth>0&&ye.intrinsicHeight>0){var Ut=zl(ye),ur=Nc(De);this.path(ur),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(et,0,0,ye.intrinsicWidth,ye.intrinsicHeight,Ut.left,Ut.top,Ut.width,Ut.height),this.ctx.restore()}},le.prototype.renderNodeContent=function(ye){return m(this,void 0,void 0,function(){var De,et,Ut,ur,_r,Mr,en,en,Kn,Dn,Xn,Vi,Xi,sa,no,Ra,Ia,Bo,Go,en,_o,Xi,Ra;return g(this,function(Ta){switch(Ta.label){case 0:this.applyEffects(ye.getEffects(4)),De=ye.container,et=ye.curves,Ut=De.styles,ur=0,_r=De.textNodes,Ta.label=1;case 1:return ur<_r.length?(Mr=_r[ur],[4,this.renderTextNode(Mr,Ut)]):[3,4];case 2:Ta.sent(),Ta.label=3;case 3:return ur++,[3,1];case 4:if(!(De instanceof pc))return[3,8];Ta.label=5;case 5:return Ta.trys.push([5,7,,8]),[4,this.context.cache.match(De.src)];case 6:return en=Ta.sent(),this.renderReplacedElement(De,et,en),[3,8];case 7:return Ta.sent(),this.context.logger.error("Error loading image "+De.src),[3,8];case 8:if(De instanceof Ol&&this.renderReplacedElement(De,et,De.canvas),!(De instanceof Ll))return[3,12];Ta.label=9;case 9:return Ta.trys.push([9,11,,12]),[4,this.context.cache.match(De.svg)];case 10:return en=Ta.sent(),this.renderReplacedElement(De,et,en),[3,12];case 11:return Ta.sent(),this.context.logger.error("Error loading svg "+De.svg.substring(0,255)),[3,12];case 12:return De instanceof Lc&&De.tree?(Kn=new le(this.context,{scale:this.options.scale,backgroundColor:De.backgroundColor,x:0,y:0,width:De.width,height:De.height}),[4,Kn.render(De.tree)]):[3,14];case 13:Dn=Ta.sent(),De.width&&De.height&&this.ctx.drawImage(Dn,0,0,De.width,De.height,De.bounds.left,De.bounds.top,De.bounds.width,De.bounds.height),Ta.label=14;case 14:if(De instanceof ac&&(Xn=Math.min(De.bounds.width,De.bounds.height),De.type===Ql?De.checked&&(this.ctx.save(),this.path([new ra(De.bounds.left+Xn*.39363,De.bounds.top+Xn*.79),new ra(De.bounds.left+Xn*.16,De.bounds.top+Xn*.5549),new ra(De.bounds.left+Xn*.27347,De.bounds.top+Xn*.44071),new ra(De.bounds.left+Xn*.39694,De.bounds.top+Xn*.5649),new ra(De.bounds.left+Xn*.72983,De.bounds.top+Xn*.23),new ra(De.bounds.left+Xn*.84,De.bounds.top+Xn*.34085),new ra(De.bounds.left+Xn*.39363,De.bounds.top+Xn*.79)]),this.ctx.fillStyle=wi(Oc),this.ctx.fill(),this.ctx.restore()):De.type===mc&&(De.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(De.bounds.left+Xn/2,De.bounds.top+Xn/2,Xn/4,0,Math.PI*2,!0),this.ctx.fillStyle=wi(Oc),this.ctx.fill(),this.ctx.restore()))),Fu(De)&&De.value.length){Vi=this.createFontStyle(Ut),Xi=Vi[0],sa=Vi[1],no=this.fontMetrics.getMetrics(Xi,sa).baseline,this.ctx.font=Xi,this.ctx.fillStyle=wi(Ut.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=ku(De.styles.textAlign),Ra=zl(De),Ia=0;switch(De.styles.textAlign){case ho.CENTER:Ia+=Ra.width/2;break;case ho.RIGHT:Ia+=Ra.width;break}Bo=Ra.add(Ia,0,0,-Ra.height/2+1),this.ctx.save(),this.path([new ra(Ra.left,Ra.top),new ra(Ra.left+Ra.width,Ra.top),new ra(Ra.left+Ra.width,Ra.top+Ra.height),new ra(Ra.left,Ra.top+Ra.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new al(De.value,Bo),Ut.letterSpacing,no),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Wa(De.styles.display,2048))return[3,20];if(!(De.styles.listStyleImage!==null))return[3,19];if(Go=De.styles.listStyleImage,!(Go.type===Fa.URL))return[3,18];en=void 0,_o=Go.url,Ta.label=15;case 15:return Ta.trys.push([15,17,,18]),[4,this.context.cache.match(_o)];case 16:return en=Ta.sent(),this.ctx.drawImage(en,De.bounds.left-(en.width+10),De.bounds.top),[3,18];case 17:return Ta.sent(),this.context.logger.error("Error loading list-style-image "+_o),[3,18];case 18:return[3,20];case 19:ye.listValue&&De.styles.listStyleType!==ui.NONE&&(Xi=this.createFontStyle(Ut)[0],this.ctx.font=Xi,this.ctx.fillStyle=wi(Ut.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Ra=new c(De.bounds.left,De.bounds.top+Yr(De.styles.paddingTop,De.bounds.width),De.bounds.width,Yo(Ut.lineHeight,Ut.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new al(ye.listValue,Ra),Ut.letterSpacing,Yo(Ut.lineHeight,Ut.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Ta.label=20;case 20:return[2]}})})},le.prototype.renderStackContent=function(ye){return m(this,void 0,void 0,function(){var De,et,Ut,ur,_r,Ut,Mr,en,Ut,Kn,Dn,Ut,Xn,Vi,Ut,Xi,sa,Ut,no,Ra,Ut;return g(this,function(Ia){switch(Ia.label){case 0:if(Wa(ye.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(ye.element)];case 1:Ia.sent(),De=0,et=ye.negativeZIndex,Ia.label=2;case 2:return De<et.length?(Ut=et[De],[4,this.renderStack(Ut)]):[3,5];case 3:Ia.sent(),Ia.label=4;case 4:return De++,[3,2];case 5:return[4,this.renderNodeContent(ye.element)];case 6:Ia.sent(),ur=0,_r=ye.nonInlineLevel,Ia.label=7;case 7:return ur<_r.length?(Ut=_r[ur],[4,this.renderNode(Ut)]):[3,10];case 8:Ia.sent(),Ia.label=9;case 9:return ur++,[3,7];case 10:Mr=0,en=ye.nonPositionedFloats,Ia.label=11;case 11:return Mr<en.length?(Ut=en[Mr],[4,this.renderStack(Ut)]):[3,14];case 12:Ia.sent(),Ia.label=13;case 13:return Mr++,[3,11];case 14:Kn=0,Dn=ye.nonPositionedInlineLevel,Ia.label=15;case 15:return Kn<Dn.length?(Ut=Dn[Kn],[4,this.renderStack(Ut)]):[3,18];case 16:Ia.sent(),Ia.label=17;case 17:return Kn++,[3,15];case 18:Xn=0,Vi=ye.inlineLevel,Ia.label=19;case 19:return Xn<Vi.length?(Ut=Vi[Xn],[4,this.renderNode(Ut)]):[3,22];case 20:Ia.sent(),Ia.label=21;case 21:return Xn++,[3,19];case 22:Xi=0,sa=ye.zeroOrAutoZIndexOrTransformedOrOpacity,Ia.label=23;case 23:return Xi<sa.length?(Ut=sa[Xi],[4,this.renderStack(Ut)]):[3,26];case 24:Ia.sent(),Ia.label=25;case 25:return Xi++,[3,23];case 26:no=0,Ra=ye.positiveZIndex,Ia.label=27;case 27:return no<Ra.length?(Ut=Ra[no],[4,this.renderStack(Ut)]):[3,30];case 28:Ia.sent(),Ia.label=29;case 29:return no++,[3,27];case 30:return[2]}})})},le.prototype.mask=function(ye){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(ye.slice(0).reverse()),this.ctx.closePath()},le.prototype.path=function(ye){this.ctx.beginPath(),this.formatPath(ye),this.ctx.closePath()},le.prototype.formatPath=function(ye){var De=this;ye.forEach(function(et,Ut){var ur=is(et)?et.start:et;Ut===0?De.ctx.moveTo(ur.x,ur.y):De.ctx.lineTo(ur.x,ur.y),is(et)&&De.ctx.bezierCurveTo(et.startControl.x,et.startControl.y,et.endControl.x,et.endControl.y,et.end.x,et.end.y)})},le.prototype.renderRepeat=function(ye,De,et,Ut){this.path(ye),this.ctx.fillStyle=De,this.ctx.translate(et,Ut),this.ctx.fill(),this.ctx.translate(-et,-Ut)},le.prototype.resizeImage=function(ye,De,et){var Ut;if(ye.width===De&&ye.height===et)return ye;var ur=(Ut=this.canvas.ownerDocument)!==null&&Ut!==void 0?Ut:document,_r=ur.createElement("canvas");_r.width=Math.max(1,De),_r.height=Math.max(1,et);var Mr=_r.getContext("2d");return Mr.drawImage(ye,0,0,ye.width,ye.height,0,0,De,et),_r},le.prototype.renderBackgroundImage=function(ye){return m(this,void 0,void 0,function(){var De,et,Ut,ur,_r,Mr;return g(this,function(en){switch(en.label){case 0:De=ye.styles.backgroundImage.length-1,et=function(Dn){var Xn,Vi,Xi,sa,no,Ra,Ia,Bo,Go,_o,sa,no,Ra,Ia,Bo,Ta,rs,as,Co,kl,Zl,Pl,yl,iu,Go,yc,sa,Qc,Yc,Ia,Bo,Jc,no,Ra,au,bc,Zc,ou,su,Mc,lu,Fc;return g(this,function(hu){switch(hu.label){case 0:if(!(Dn.type===Fa.URL))return[3,5];Xn=void 0,Vi=Dn.url,hu.label=1;case 1:return hu.trys.push([1,3,,4]),[4,Ut.context.cache.match(Vi)];case 2:return Xn=hu.sent(),[3,4];case 3:return hu.sent(),Ut.context.logger.error("Error loading background-image "+Vi),[3,4];case 4:return Xn&&(Xi=uu(ye,De,[Xn.width,Xn.height,Xn.width/Xn.height]),sa=Xi[0],no=Xi[1],Ra=Xi[2],Ia=Xi[3],Bo=Xi[4],Go=Ut.ctx.createPattern(Ut.resizeImage(Xn,Ia,Bo),"repeat"),Ut.renderRepeat(sa,Go,no,Ra)),[3,6];case 5:vo(Dn)?(_o=uu(ye,De,[null,null,null]),sa=_o[0],no=_o[1],Ra=_o[2],Ia=_o[3],Bo=_o[4],Ta=Zi(Dn.angle,Ia,Bo),rs=Ta[0],as=Ta[1],Co=Ta[2],kl=Ta[3],Zl=Ta[4],Pl=document.createElement("canvas"),Pl.width=Ia,Pl.height=Bo,yl=Pl.getContext("2d"),iu=yl.createLinearGradient(as,kl,Co,Zl),xi(Dn.stops,rs).forEach(function(bu){return iu.addColorStop(bu.stop,wi(bu.color))}),yl.fillStyle=iu,yl.fillRect(0,0,Ia,Bo),Ia>0&&Bo>0&&(Go=Ut.ctx.createPattern(Pl,"repeat"),Ut.renderRepeat(sa,Go,no,Ra))):os(Dn)&&(yc=uu(ye,De,[null,null,null]),sa=yc[0],Qc=yc[1],Yc=yc[2],Ia=yc[3],Bo=yc[4],Jc=Dn.position.length===0?[Cn]:Dn.position,no=Yr(Jc[0],Ia),Ra=Yr(Jc[Jc.length-1],Bo),au=Oa(Dn,no,Ra,Ia,Bo),bc=au[0],Zc=au[1],bc>0&&Zc>0&&(ou=Ut.ctx.createRadialGradient(Qc+no,Yc+Ra,0,Qc+no,Yc+Ra,bc),xi(Dn.stops,bc*2).forEach(function(bu){return ou.addColorStop(bu.stop,wi(bu.color))}),Ut.path(sa),Ut.ctx.fillStyle=ou,bc!==Zc?(su=ye.bounds.left+.5*ye.bounds.width,Mc=ye.bounds.top+.5*ye.bounds.height,lu=Zc/bc,Fc=1/lu,Ut.ctx.save(),Ut.ctx.translate(su,Mc),Ut.ctx.transform(1,0,0,lu,0,0),Ut.ctx.translate(-su,-Mc),Ut.ctx.fillRect(Qc,Fc*(Yc-Mc)+Mc,Ia,Bo*Fc),Ut.ctx.restore()):Ut.ctx.fill())),hu.label=6;case 6:return De--,[2]}})},Ut=this,ur=0,_r=ye.styles.backgroundImage.slice(0).reverse(),en.label=1;case 1:return ur<_r.length?(Mr=_r[ur],[5,et(Mr)]):[3,4];case 2:en.sent(),en.label=3;case 3:return ur++,[3,1];case 4:return[2]}})})},le.prototype.renderSolidBorder=function(ye,De,et){return m(this,void 0,void 0,function(){return g(this,function(Ut){return this.path(gu(et,De)),this.ctx.fillStyle=wi(ye),this.ctx.fill(),[2]})})},le.prototype.renderDoubleBorder=function(ye,De,et,Ut){return m(this,void 0,void 0,function(){var ur,_r;return g(this,function(Mr){switch(Mr.label){case 0:return De<3?[4,this.renderSolidBorder(ye,et,Ut)]:[3,2];case 1:return Mr.sent(),[2];case 2:return ur=Tu(Ut,et),this.path(ur),this.ctx.fillStyle=wi(ye),this.ctx.fill(),_r=nu(Ut,et),this.path(_r),this.ctx.fill(),[2]}})})},le.prototype.renderNodeBackgroundAndBorders=function(ye){return m(this,void 0,void 0,function(){var De,et,Ut,ur,_r,Mr,en,Kn,Dn=this;return g(this,function(Xn){switch(Xn.label){case 0:return this.applyEffects(ye.getEffects(2)),De=ye.container.styles,et=!ci(De.backgroundColor)||De.backgroundImage.length,Ut=[{style:De.borderTopStyle,color:De.borderTopColor,width:De.borderTopWidth},{style:De.borderRightStyle,color:De.borderRightColor,width:De.borderRightWidth},{style:De.borderBottomStyle,color:De.borderBottomColor,width:De.borderBottomWidth},{style:De.borderLeftStyle,color:De.borderLeftColor,width:De.borderLeftWidth}],ur=Bu(du(De.backgroundClip,0),ye.curves),et||De.boxShadow.length?(this.ctx.save(),this.path(ur),this.ctx.clip(),ci(De.backgroundColor)||(this.ctx.fillStyle=wi(De.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(ye.container)]):[3,2];case 1:Xn.sent(),this.ctx.restore(),De.boxShadow.slice(0).reverse().forEach(function(Vi){Dn.ctx.save();var Xi=ru(ye.curves),sa=Vi.inset?0:Ru,no=tu(Xi,-sa+(Vi.inset?1:-1)*Vi.spread.number,(Vi.inset?1:-1)*Vi.spread.number,Vi.spread.number*(Vi.inset?-2:2),Vi.spread.number*(Vi.inset?-2:2));Vi.inset?(Dn.path(Xi),Dn.ctx.clip(),Dn.mask(no)):(Dn.mask(Xi),Dn.ctx.clip(),Dn.path(no)),Dn.ctx.shadowOffsetX=Vi.offsetX.number+sa,Dn.ctx.shadowOffsetY=Vi.offsetY.number,Dn.ctx.shadowColor=wi(Vi.color),Dn.ctx.shadowBlur=Vi.blur.number,Dn.ctx.fillStyle=Vi.inset?wi(Vi.color):"rgba(0,0,0,1)",Dn.ctx.fill(),Dn.ctx.restore()}),Xn.label=2;case 2:_r=0,Mr=0,en=Ut,Xn.label=3;case 3:return Mr<en.length?(Kn=en[Mr],Kn.style!==Ya.NONE&&!ci(Kn.color)&&Kn.width>0?Kn.style===Ya.DASHED?[4,this.renderDashedDottedBorder(Kn.color,Kn.width,_r,ye.curves,Ya.DASHED)]:[3,5]:[3,11]):[3,13];case 4:return Xn.sent(),[3,11];case 5:return Kn.style===Ya.DOTTED?[4,this.renderDashedDottedBorder(Kn.color,Kn.width,_r,ye.curves,Ya.DOTTED)]:[3,7];case 6:return Xn.sent(),[3,11];case 7:return Kn.style===Ya.DOUBLE?[4,this.renderDoubleBorder(Kn.color,Kn.width,_r,ye.curves)]:[3,9];case 8:return Xn.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Kn.color,_r,ye.curves)];case 10:Xn.sent(),Xn.label=11;case 11:_r++,Xn.label=12;case 12:return Mr++,[3,3];case 13:return[2]}})})},le.prototype.renderDashedDottedBorder=function(ye,De,et,Ut,ur){return m(this,void 0,void 0,function(){var _r,Mr,en,Kn,Dn,Xn,Vi,Xi,sa,no,Ra,Ia,Bo,Go,_o,Ta,_o,Ta;return g(this,function(rs){return this.ctx.save(),_r=Au(Ut,et),Mr=gu(Ut,et),ur===Ya.DASHED&&(this.path(Mr),this.ctx.clip()),is(Mr[0])?(en=Mr[0].start.x,Kn=Mr[0].start.y):(en=Mr[0].x,Kn=Mr[0].y),is(Mr[1])?(Dn=Mr[1].end.x,Xn=Mr[1].end.y):(Dn=Mr[1].x,Xn=Mr[1].y),et===0||et===2?Vi=Math.abs(en-Dn):Vi=Math.abs(Kn-Xn),this.ctx.beginPath(),ur===Ya.DOTTED?this.formatPath(_r):this.formatPath(Mr.slice(0,2)),Xi=De<3?De*3:De*2,sa=De<3?De*2:De,ur===Ya.DOTTED&&(Xi=De,sa=De),no=!0,Vi<=Xi*2?no=!1:Vi<=Xi*2+sa?(Ra=Vi/(2*Xi+sa),Xi*=Ra,sa*=Ra):(Ia=Math.floor((Vi+sa)/(Xi+sa)),Bo=(Vi-Ia*Xi)/(Ia-1),Go=(Vi-(Ia+1)*Xi)/Ia,sa=Go<=0||Math.abs(sa-Bo)<Math.abs(sa-Go)?Bo:Go),no&&(ur===Ya.DOTTED?this.ctx.setLineDash([0,Xi+sa]):this.ctx.setLineDash([Xi,sa])),ur===Ya.DOTTED?(this.ctx.lineCap="round",this.ctx.lineWidth=De):this.ctx.lineWidth=De*2+1.1,this.ctx.strokeStyle=wi(ye),this.ctx.stroke(),this.ctx.setLineDash([]),ur===Ya.DASHED&&(is(Mr[0])&&(_o=Mr[3],Ta=Mr[0],this.ctx.beginPath(),this.formatPath([new ra(_o.end.x,_o.end.y),new ra(Ta.start.x,Ta.start.y)]),this.ctx.stroke()),is(Mr[1])&&(_o=Mr[1],Ta=Mr[2],this.ctx.beginPath(),this.formatPath([new ra(_o.end.x,_o.end.y),new ra(Ta.start.x,Ta.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},le.prototype.render=function(ye){return m(this,void 0,void 0,function(){var De;return g(this,function(et){switch(et.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=wi(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),De=Cu(ye),[4,this.renderStack(De)];case 1:return et.sent(),this.applyEffects([]),[2,this.canvas]}})})},le}(Ou),Fu=function(le){return le instanceof Yl||le instanceof gc?!0:le instanceof ac&&le.type!==mc&&le.type!==Ql},Bu=function(le,ye){switch(le){case ca.BORDER_BOX:return ru(ye);case ca.CONTENT_BOX:return xu(ye);case ca.PADDING_BOX:default:return Nc(ye)}},ku=function(le){switch(le){case ho.CENTER:return"center";case ho.RIGHT:return"right";case ho.LEFT:default:return"left"}},Pu=function(at){f(le,at);function le(ye,De){var et=at.call(this,ye,De)||this;return et.canvas=De.canvas?De.canvas:document.createElement("canvas"),et.ctx=et.canvas.getContext("2d"),et.options=De,et.canvas.width=Math.floor(De.width*De.scale),et.canvas.height=Math.floor(De.height*De.scale),et.canvas.style.width=De.width+"px",et.canvas.style.height=De.height+"px",et.ctx.scale(et.options.scale,et.options.scale),et.ctx.translate(-De.x,-De.y),et.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+De.width+"x"+De.height+" at "+De.x+","+De.y+") with scale "+De.scale),et}return le.prototype.render=function(ye){return m(this,void 0,void 0,function(){var De,et;return g(this,function(Ut){switch(Ut.label){case 0:return De=rc(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,ye),[4,Uu(De)];case 1:return et=Ut.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=wi(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(et,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},le}(Ou),Uu=function(le){return new Promise(function(ye,De){var et=new Image;et.onload=function(){ye(et)},et.onerror=De,et.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(le))})},ju=function(){function at(le){var ye=le.id,De=le.enabled;this.id=ye,this.enabled=De,this.start=Date.now()}return at.prototype.debug=function(){for(var le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,p([this.id,this.getTime()+"ms"],le)):this.info.apply(this,le))},at.prototype.getTime=function(){return Date.now()-this.start},at.prototype.info=function(){for(var le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,p([this.id,this.getTime()+"ms"],le)))},at.prototype.warn=function(){for(var le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,p([this.id,this.getTime()+"ms"],le)):this.info.apply(this,le))},at.prototype.error=function(){for(var le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,p([this.id,this.getTime()+"ms"],le)):this.info.apply(this,le))},at.instances={},at}(),Hu=function(){function at(le,ye){var De;this.windowBounds=ye,this.instanceName="#"+at.instanceCount++,this.logger=new ju({id:this.instanceName,enabled:le.logging}),this.cache=(De=le.cache)!==null&&De!==void 0?De:new fl(this,le)}return at.instanceCount=1,at}(),Ku=function(le,ye){return ye===void 0&&(ye={}),Wu(le,ye)};typeof window!="undefined"&&As.setContext(window);var Wu=function(le,ye){return m(void 0,void 0,void 0,function(){var De,et,Ut,ur,_r,Mr,en,Kn,Dn,Xn,Vi,Xi,sa,no,Ra,Ia,Bo,Go,_o,Ta,rs,as,rs,Co,kl,Zl,Pl,yl,iu,yc,Qc,Yc,Jc,au,bc,Zc,ou,su,Mc,lu;return g(this,function(Fc){switch(Fc.label){case 0:if(!le||typeof le!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(De=le.ownerDocument,!De)throw new Error("Element is not attached to a Document");if(et=De.defaultView,!et)throw new Error("Document is not attached to a Window");return Ut={allowTaint:(Co=ye.allowTaint)!==null&&Co!==void 0?Co:!1,imageTimeout:(kl=ye.imageTimeout)!==null&&kl!==void 0?kl:15e3,proxy:ye.proxy,useCORS:(Zl=ye.useCORS)!==null&&Zl!==void 0?Zl:!1},ur=A({logging:(Pl=ye.logging)!==null&&Pl!==void 0?Pl:!0,cache:ye.cache},Ut),_r={windowWidth:(yl=ye.windowWidth)!==null&&yl!==void 0?yl:et.innerWidth,windowHeight:(iu=ye.windowHeight)!==null&&iu!==void 0?iu:et.innerHeight,scrollX:(yc=ye.scrollX)!==null&&yc!==void 0?yc:et.pageXOffset,scrollY:(Qc=ye.scrollY)!==null&&Qc!==void 0?Qc:et.pageYOffset},Mr=new c(_r.scrollX,_r.scrollY,_r.windowWidth,_r.windowHeight),en=new Hu(ur,Mr),Kn=(Yc=ye.foreignObjectRendering)!==null&&Yc!==void 0?Yc:!1,Dn={allowTaint:(Jc=ye.allowTaint)!==null&&Jc!==void 0?Jc:!1,onclone:ye.onclone,ignoreElements:ye.ignoreElements,inlineImages:Kn,copyStyles:Kn},en.logger.debug("Starting document clone with size "+Mr.width+"x"+Mr.height+" scrolled to "+-Mr.left+","+-Mr.top),Xn=new tn(en,le,Dn),Vi=Xn.clonedReferenceElement,Vi?[4,Xn.toIFrame(De,Mr)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return Xi=Fc.sent(),sa=Mt(Vi)||Et(Vi)?l(Vi.ownerDocument):h(en,Vi),no=sa.width,Ra=sa.height,Ia=sa.left,Bo=sa.top,Go=zu(en,Vi,ye.backgroundColor),_o={canvas:ye.canvas,backgroundColor:Go,scale:(bc=(au=ye.scale)!==null&&au!==void 0?au:et.devicePixelRatio)!==null&&bc!==void 0?bc:1,x:((Zc=ye.x)!==null&&Zc!==void 0?Zc:0)+Ia,y:((ou=ye.y)!==null&&ou!==void 0?ou:0)+Bo,width:(su=ye.width)!==null&&su!==void 0?su:Math.ceil(no),height:(Mc=ye.height)!==null&&Mc!==void 0?Mc:Math.ceil(Ra)},Kn?(en.logger.debug("Document cloned, using foreign object rendering"),rs=new Pu(en,_o),[4,rs.render(Vi)]):[3,3];case 2:return Ta=Fc.sent(),[3,5];case 3:return en.logger.debug("Document cloned, element located at "+Ia+","+Bo+" with size "+no+"x"+Ra+" using computed rendering"),en.logger.debug("Starting DOM parsing"),as=ke(en,Vi),Go===as.styles.backgroundColor&&(as.styles.backgroundColor=Ea.TRANSPARENT),en.logger.debug("Starting renderer for element at "+_o.x+","+_o.y+" with size "+_o.width+"x"+_o.height),rs=new Mu(en,_o),[4,rs.render(as)];case 4:Ta=Fc.sent(),Fc.label=5;case 5:return((lu=ye.removeContainer)!==null&&lu!==void 0?lu:!0)&&(tn.destroy(Xi)||en.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),en.logger.debug("Finished rendering"),[2,Ta]}})})},zu=function(le,ye,De){var et=ye.ownerDocument,Ut=et.documentElement?ya(le,getComputedStyle(et.documentElement).backgroundColor):Ea.TRANSPARENT,ur=et.body?ya(le,getComputedStyle(et.body).backgroundColor):Ea.TRANSPARENT,_r=typeof De=="string"?ya(le,De):De===null?Ea.TRANSPARENT:4294967295;return ye===et.documentElement?ci(Ut)?ci(ur)?_r:ur:Ut:_r};return Ku})},wPlo:function(M,B,o){"use strict";o.d(B,"a",function(){return w});var w="RC_SELECT_INTERNAL_PROPS_MARK"},wYyv:function(M,B,o){"use strict";var w=o("R5yR"),f=o("5wUe"),A=function(p,c,h){var l=c<0?p.length+c:c;if(l>=0&&l<p.length){var e=h<0?p.length+h:h,n=p.splice(c,1),i=f(n,1),r=i[0];p.splice(e,0,r)}},m=function(p,c,h){return p=w(p),A(p,c,h),p};M.exports=m,M.exports.mutate=A},whVF:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=o("lNSK"),f=A(o("1q3G"));function A(h){return h&&h.__esModule?h:{default:h}}function m(h,l){if(!(h instanceof l))throw new TypeError("Cannot call a class as a function")}function g(h,l){for(var e=0;e<l.length;e++){var n=l[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(h,n.key,n)}}function p(h,l,e){return l&&g(h.prototype,l),e&&g(h,e),h}var c=function(){function h(){m(this,h),this.strm=new f.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,w.deflateInit)(this.strm,this.windowBits)}return p(h,[{key:"deflate",value:function(e){this.strm.input=e,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 n=(0,w.deflate)(this.strm,w.Z_FULL_FLUSH),i=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(n<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var r=[i],a=i.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,n=(0,w.deflate)(this.strm,w.Z_FULL_FLUSH),n<0)throw new Error("zlib deflate failed");var t=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);a+=t.length,r.push(t)}while(this.strm.avail_in>0);for(var s=new Uint8Array(a),u=0,d=0;d<r.length;d++)s.set(r[d],u),u+=r[d].length;i=s}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,i}}]),h}();B.default=c},wlus:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="MinusCircleOutlined";var c=B.a=f.forwardRef(p)},wr5s:function(M,B,o){var w=o("IwbS"),f=w.extendShape,A=f({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(m,g){var p=g.cx,c=g.cy,h=Math.max(g.r0||0,0),l=Math.max(g.r,0),e=(l-h)*.5,n=h+e,i=g.startAngle,r=g.endAngle,a=g.clockwise,t=Math.cos(i),s=Math.sin(i),u=Math.cos(r),d=Math.sin(r),v=a?r-i<Math.PI*2:i-r<Math.PI*2;v&&(m.moveTo(t*h+p,s*h+c),m.arc(t*n+p,s*n+c,e,-Math.PI+i,i,!a)),m.arc(p,c,l,i,r,!a),m.moveTo(u*l+p,d*l+c),m.arc(u*n+p,d*n+c,e,r-Math.PI*2,r-Math.PI,!a),h!==0&&(m.arc(p,c,h,r,i,a),m.moveTo(t*h+p,d*h+c)),m.closePath()}});M.exports=A},wt3j:function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("/IIm"),m=o("EMyp"),g=m.layoutCovers,p=w.extendComponentView({type:"brush",init:function(h,l){this.ecModel=h,this.api=l,this.model,(this._brushController=new A(l.getZr())).on("brush",f.bind(this._onBrush,this)).mount()},render:function(h){return this.model=h,c.apply(this,arguments)},updateTransform:function(h,l){return g(l),c.apply(this,arguments)},updateView:c,dispose:function(){this._brushController.dispose()},_onBrush:function(h,l){var e=this.model.id;this.model.brushTargetManager.setOutputRanges(h,this.ecModel),(!l.isEnd||l.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:f.clone(h),$from:e}),l.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:f.clone(h),$from:e})}});function c(h,l,e,n){(!n||n.$from!==h.id)&&this._brushController.setPanels(h.brushTargetManager.makePanelOpts(e)).enableBrush(h.brushOption).updateCovers(h.areas.slice())}M.exports=p},wy8a:function(M,B,o){var w=o("KxBF");function f(A,m,g){var p=A.length;return g=g===void 0?p:g,!m&&g>=p?A:w(A,m,g)}M.exports=f},x1Ya:function(M,B,o){"use strict";var w=o("wx14"),f=o("rePB"),A=o("Ff2n"),m=o("VTBJ"),g=o("1OyB"),p=o("vuIU"),c=o("Ji7U"),h=o("LK+K"),l=o("q1tI"),e=o.n(l),n=o("TSYQ"),i=o.n(n),r=function(a){Object(c.a)(s,a);var t=Object(h.a)(s);function s(u){var d;Object(g.a)(this,s),d=t.call(this,u),d.handleChange=function(y){var S=d.props,b=S.disabled,E=S.onChange;if(b)return;"checked"in d.props||d.setState({checked:y.target.checked}),E&&E({target:Object(m.a)(Object(m.a)({},d.props),{},{checked:y.target.checked}),stopPropagation:function(){y.stopPropagation()},preventDefault:function(){y.preventDefault()},nativeEvent:y.nativeEvent})},d.saveInput=function(y){d.input=y};var v="checked"in u?u.checked:u.defaultChecked;return d.state={checked:v},d}return Object(p.a)(s,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var d,v=this.props,y=v.prefixCls,S=v.className,b=v.style,E=v.name,C=v.id,T=v.type,x=v.disabled,_=v.readOnly,I=v.tabIndex,L=v.onClick,R=v.onFocus,k=v.onBlur,F=v.onKeyDown,P=v.onKeyPress,W=v.onKeyUp,D=v.autoFocus,U=v.value,H=v.required,j=Object(A.a)(v,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),K=Object.keys(j).reduce(function(Y,$){return($.substr(0,5)==="aria-"||$.substr(0,5)==="data-"||$==="role")&&(Y[$]=j[$]),Y},{}),X=this.state.checked,z=i()(y,S,(d={},Object(f.a)(d,"".concat(y,"-checked"),X),Object(f.a)(d,"".concat(y,"-disabled"),x),d));return e.a.createElement("span",{className:z,style:b},e.a.createElement("input",Object(w.a)({name:E,id:C,type:T,required:H,readOnly:_,disabled:x,tabIndex:I,className:"".concat(y,"-input"),checked:!!X,onClick:L,onFocus:R,onBlur:k,onKeyUp:W,onKeyDown:F,onKeyPress:P,onChange:this.handleChange,autoFocus:D,ref:this.saveInput,value:U},K)),e.a.createElement("span",{className:"".concat(y,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(d,v){return"checked"in d?Object(m.a)(Object(m.a)({},v),{},{checked:d.checked}):null}}]),s}(l.Component);r.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},B.a=r},x3X8:function(M,B,o){var w=o("KxfA"),f=w.retrieveRawValue;function A(m,g){var p=m.mapDimension("defaultedLabel",!0),c=p.length;if(c===1)return f(m,g,p[0]);if(c){for(var h=[],l=0;l<p.length;l++){var e=f(m,g,p[l]);h.push(e)}return h.join(" ")}}B.getDefaultLabel=A},x6Kt:function(M,B,o){var w=o("y+Vt"),f=o("VpOo"),A=o("nPnh"),m=A.subPixelOptimizeRect,g={},p=w.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(h,l){var e,n,i,r;this.subPixelOptimize?(m(g,l,this.style),e=g.x,n=g.y,i=g.width,r=g.height,g.r=l.r,l=g):(e=l.x,n=l.y,i=l.width,r=l.height),l.r?f.buildPath(h,l):h.rect(e,n,i,r),h.closePath();return}});M.exports=p},x6LZ:function(M,B,o){},xGfz:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="PlusSquareOutlined";var c=B.a=f.forwardRef(p)},xKMd:function(M,B){function o(f,A){this.getAllNames=function(){var m=A();return m.mapArray(m.getName)},this.containName=function(m){var g=A();return g.indexOfName(m)>=0},this.indexOfName=function(m){var g=f();return g.indexOfName(m)},this.getItemVisual=function(m,g){var p=f();return p.getItemVisual(m,g)}}var w=o;M.exports=w},xO64:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w=f(o("8K/p"));function f(t){return t&&t.__esModule?t:{default:t}}function A(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(u){return typeof u}:A=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},A(t)}function m(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function g(t,s){for(var u=0;u<s.length;u++){var d=s[u];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(t,d.key,d)}}function p(t,s,u){return s&&g(t.prototype,s),u&&g(t,u),t}function c(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&&h(t,s)}function h(t,s){return h=Object.setPrototypeOf||function(d,v){return d.__proto__=v,d},h(t,s)}function l(t){var s=i();return function(){var d=r(t),v;if(s){var y=r(this).constructor;v=Reflect.construct(d,arguments,y)}else v=d.apply(this,arguments);return e(this,v)}}function e(t,s){return s&&(A(s)==="object"||typeof s=="function")?s:n(t)}function n(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(){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 r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)},r(t)}var a=function(t){c(u,t);var s=l(u);function u(){return m(this,u),s.apply(this,arguments)}return p(u,[{key:"_pngRect",value:function(v,y,S,b,E,C,T){var x=this._readData(E);return x===null?!1:(C.imageRect(v,y,S,b,"image/png",x),!0)}},{key:"_basicRect",value:function(v,y,S,b,E,C,T,x){throw new Error("BasicCompression received in TightPNG rect")}}]),u}(w.default);B.default=a},xRUu:function(M,B,o){o("hJvP"),o("hFmY"),o("sAZ8")},xSIq:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var w={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"};B.default=w},xSat:function(M,B){var o={axisPointer:1,tooltip:1,brush:1};function w(f,A,m){var g=A.getComponentByElement(f.topTarget),p=g&&g.coordinateSystem;return g&&g!==m&&!o[g.mainType]&&p&&p.model!==m}B.onIrrelevantElement=w},"xSm/":function(M,B,o){},xTNl:function(M,B){var o=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],w={color:o,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],o]};M.exports=w},xiyX:function(M,B,o){var w=o("bYtY"),f=o("bLfw"),A=o("nkfE"),m=o("ICMv"),g=f.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),p={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 c(l,e){return e.type||(e.data?"category":"value")}w.merge(g.prototype,m),A("single",g,c,p);var h=g;M.exports=h},xlC8:function(M,B,o){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=w;function w(f,A,m,g){for(var p=f&65535|0,c=f>>>16&65535|0,h=0;m!==0;){h=m>2e3?2e3:m,m-=h;do p=p+A[g++]|0,c=c+p|0;while(--h);p%=65521,c%=65521}return p|c<<16|0}},xq47:function(M,B,o){"use strict";var w=o("ODXe"),f=o("q1tI"),A=o.n(f),m=o("gdeb");B.a=function(){var g=f.useState(!1),p=Object(w.a)(g,2),c=p[0],h=p[1];return f.useEffect(function(){h(Object(m.b)())},[]),c}},xvlK:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={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"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="PlusOutlined";var c=B.a=f.forwardRef(p)},"y+Vt":function(M,B,o){var w=o("Gev7"),f=o("bYtY"),A=o("IMiH"),m=o("2DNl"),g=o("3C/r"),p=g.prototype.getCanvasPattern,c=Math.abs,h=new A(!0);function l(n){w.call(this,n),this.path=null}l.prototype={constructor:l,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(i,r){var a=this.style,t=this.path||h,s=a.hasStroke(),u=a.hasFill(),d=a.fill,v=a.stroke,y=u&&!!d.colorStops,S=s&&!!v.colorStops,b=u&&!!d.image,E=s&&!!v.image;if(a.bind(i,this,r),this.setTransform(i),this.__dirty){var C;y&&(C=C||this.getBoundingRect(),this._fillGradient=a.getGradient(i,d,C)),S&&(C=C||this.getBoundingRect(),this._strokeGradient=a.getGradient(i,v,C))}y?i.fillStyle=this._fillGradient:b&&(i.fillStyle=p.call(d,i)),S?i.strokeStyle=this._strokeGradient:E&&(i.strokeStyle=p.call(v,i));var T=a.lineDash,x=a.lineDashOffset,_=!!i.setLineDash,I=this.getGlobalScale();if(t.setScale(I[0],I[1],this.segmentIgnoreThreshold),this.__dirtyPath||T&&!_&&s?(t.beginPath(i),T&&!_&&(t.setLineDash(T),t.setLineDashOffset(x)),this.buildPath(t,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(i.beginPath(),this.path.rebuildPath(i)),u)if(a.fillOpacity!=null){var L=i.globalAlpha;i.globalAlpha=a.fillOpacity*a.opacity,t.fill(i),i.globalAlpha=L}else t.fill(i);if(T&&_&&(i.setLineDash(T),i.lineDashOffset=x),s)if(a.strokeOpacity!=null){var L=i.globalAlpha;i.globalAlpha=a.strokeOpacity*a.opacity,t.stroke(i),i.globalAlpha=L}else t.stroke(i);T&&_&&i.setLineDash([]),a.text!=null&&(this.restoreTransform(i),this.drawRectText(i,this.getBoundingRect()))},buildPath:function(i,r,a){},createPathProxy:function(){this.path=new A},getBoundingRect:function(){var i=this._rect,r=this.style,a=!i;if(a){var t=this.path;t||(t=this.path=new A),this.__dirtyPath&&(t.beginPath(),this.buildPath(t,this.shape,!1)),i=t.getBoundingRect()}if(this._rect=i,r.hasStroke()){var s=this._rectWithStroke||(this._rectWithStroke=i.clone());if(this.__dirty||a){s.copy(i);var u=r.lineWidth,d=r.strokeNoScale?this.getLineScale():1;r.hasFill()||(u=Math.max(u,this.strokeContainThreshold||4)),d>1e-10&&(s.width+=u/d,s.height+=u/d,s.x-=u/d/2,s.y-=u/d/2)}return s}return i},contain:function(i,r){var a=this.transformCoordToLocal(i,r),t=this.getBoundingRect(),s=this.style;if(i=a[0],r=a[1],t.contain(i,r)){var u=this.path.data;if(s.hasStroke()){var d=s.lineWidth,v=s.strokeNoScale?this.getLineScale():1;if(v>1e-10&&(s.hasFill()||(d=Math.max(d,this.strokeContainThreshold)),m.containStroke(u,d/v,i,r)))return!0}if(s.hasFill())return m.contain(u,i,r)}return!1},dirty:function(i){i==null&&(i=!0),i&&(this.__dirtyPath=i,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(i){return this.animate("shape",i)},attrKV:function(i,r){i==="shape"?(this.setShape(r),this.__dirtyPath=!0,this._rect=null):w.prototype.attrKV.call(this,i,r)},setShape:function(i,r){var a=this.shape;if(a){if(f.isObject(i))for(var t in i)i.hasOwnProperty(t)&&(a[t]=i[t]);else a[i]=r;this.dirty(!0)}return this},getLineScale:function(){var i=this.transform;return i&&c(i[0]-1)>1e-10&&c(i[3]-1)>1e-10?Math.sqrt(c(i[0]*i[3]-i[2]*i[1])):1}},l.extend=function(n){var i=function(t){l.call(this,t),n.style&&this.style.extendFrom(n.style,!1);var s=n.shape;if(s){this.shape=this.shape||{};var u=this.shape;for(var d in s)!u.hasOwnProperty(d)&&s.hasOwnProperty(d)&&(u[d]=s[d])}n.init&&n.init.call(this,t)};f.inherits(i,l);for(var r in n)r!=="style"&&r!=="shape"&&(i.prototype[r]=n[r]);return i},f.inherits(l,w);var e=l;M.exports=e},"y+lR":function(M,B,o){var w=o("bYtY"),f=o("mFDi"),A=o("z35g");function m(p){A.call(this,p)}m.prototype={constructor:m,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(p){var c=this.getAxis("x"),h=this.getAxis("y");return c.contain(c.toLocalCoord(p[0]))&&h.contain(h.toLocalCoord(p[1]))},containData:function(p){return this.getAxis("x").containData(p[0])&&this.getAxis("y").containData(p[1])},dataToPoint:function(p,c,h){var l=this.getAxis("x"),e=this.getAxis("y");return h=h||[],h[0]=l.toGlobalCoord(l.dataToCoord(p[0])),h[1]=e.toGlobalCoord(e.dataToCoord(p[1])),h},clampData:function(p,c){var h=this.getAxis("x").scale,l=this.getAxis("y").scale,e=h.getExtent(),n=l.getExtent(),i=h.parse(p[0]),r=l.parse(p[1]);return c=c||[],c[0]=Math.min(Math.max(Math.min(e[0],e[1]),i),Math.max(e[0],e[1])),c[1]=Math.min(Math.max(Math.min(n[0],n[1]),r),Math.max(n[0],n[1])),c},pointToData:function(p,c){var h=this.getAxis("x"),l=this.getAxis("y");return c=c||[],c[0]=h.coordToData(h.toLocalCoord(p[0])),c[1]=l.coordToData(l.toLocalCoord(p[1])),c},getOtherAxis:function(p){return this.getAxis(p.dim==="x"?"y":"x")},getArea:function(){var p=this.getAxis("x").getGlobalExtent(),c=this.getAxis("y").getGlobalExtent(),h=Math.min(p[0],p[1]),l=Math.min(c[0],c[1]),e=Math.max(p[0],p[1])-h,n=Math.max(c[0],c[1])-l,i=new f(h,l,e,n);return i}},w.inherits(m,A);var g=m;M.exports=g},"y0+3":function(M,B,o){"use strict";o.d(B,"a",function(){return n}),o.d(B,"b",function(){return r});var w=/margin|padding|width|height|max|min|offset/,f={left:!0,top:!0},A={cssFloat:1,styleFloat:1,float:1};function m(a){return a.nodeType===1?a.ownerDocument.defaultView.getComputedStyle(a,null):{}}function g(a,t,s){if(t=t.toLowerCase(),s==="auto"){if(t==="height")return a.offsetHeight;if(t==="width")return a.offsetWidth}return t in f||(f[t]=w.test(t)),f[t]?parseFloat(s)||0:s}function p(a,t){var s=arguments.length,u=m(a);return t=A[t]?"cssFloat"in a.style?"cssFloat":"styleFloat":t,s===1?u:g(a,t,u[t]||a.style[t])}function c(a,t,s){var u=arguments.length;if(t=A[t]?"cssFloat"in a.style?"cssFloat":"styleFloat":t,u===3)return typeof s=="number"&&w.test(t)&&(s="".concat(s,"px")),a.style[t]=s,s;for(var d in t)t.hasOwnProperty(d)&&c(a,d,t[d]);return m(a)}function h(a){return a===document.body?document.documentElement.clientWidth:a.offsetWidth}function l(a){return a===document.body?window.innerHeight||document.documentElement.clientHeight:a.offsetHeight}function e(){var a=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:a,height:t}}function n(){var a=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:a,height:t}}function i(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function r(a){var t=a.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)}}},y23F:function(M,B){function o(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}o.prototype={constructor:o,_dragStart:function(m){for(var g=m.target;g&&!g.draggable;)g=g.parent;g&&(this._draggingTarget=g,g.dragging=!0,this._x=m.offsetX,this._y=m.offsetY,this.dispatchToElement(w(g,m),"dragstart",m.event))},_drag:function(m){var g=this._draggingTarget;if(g){var p=m.offsetX,c=m.offsetY,h=p-this._x,l=c-this._y;this._x=p,this._y=c,g.drift(h,l,m),this.dispatchToElement(w(g,m),"drag",m.event);var e=this.findHover(p,c,g).target,n=this._dropTarget;this._dropTarget=e,g!==e&&(n&&e!==n&&this.dispatchToElement(w(n,m),"dragleave",m.event),e&&e!==n&&this.dispatchToElement(w(e,m),"dragenter",m.event))}},_dragEnd:function(m){var g=this._draggingTarget;g&&(g.dragging=!1),this.dispatchToElement(w(g,m),"dragend",m.event),this._dropTarget&&this.dispatchToElement(w(this._dropTarget,m),"drop",m.event),this._draggingTarget=null,this._dropTarget=null}};function w(A,m){return{target:A,topTarget:m&&m.topTarget}}var f=o;M.exports=f},y2l5:function(M,B,o){var w=o("MwEJ"),f=o("T4UG"),A=f.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(m,g){return w(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var m=this.option.progressive;return m==null?this.option.large?5e3:this.get("progressive"):m},getProgressiveThreshold:function(){var m=this.option.progressiveThreshold;return m==null?this.option.large?1e4:this.get("progressiveThreshold"):m},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});M.exports=A},y3Kf:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="UpOutlined";var c=B.a=f.forwardRef(p)},y3NT:function(M,B,o){var w=o("OELB"),f=w.parsePercent,A=o("bYtY"),m=Math.PI/180;function g(h,l,e,n){l.eachSeriesByType(h,function(i){var r=i.get("center"),a=i.get("radius");A.isArray(a)||(a=[0,a]),A.isArray(r)||(r=[r,r]);var t=e.getWidth(),s=e.getHeight(),u=Math.min(t,s),d=f(r[0],t),v=f(r[1],s),y=f(a[0],u/2),S=f(a[1],u/2),b=-i.get("startAngle")*m,E=i.get("minAngle")*m,C=i.getData().tree.root,T=i.getViewRoot(),x=T.depth,_=i.get("sort");_!=null&&p(T,_);var I=0;A.each(T.children,function(z){!isNaN(z.getValue())&&I++});var L=T.getValue(),R=Math.PI/(L||I)*2,k=T.depth>0,F=T.height-(k?-1:1),P=(S-y)/(F||1),W=i.get("clockwise"),D=i.get("stillShowZeroSum"),U=W?1:-1,H=function(z,Y){if(!z)return;var $=Y;if(z!==C){var ne=z.getValue(),J=L===0&&D?R:ne*R;J<E&&(J=E),$=Y+U*J;var ge=z.depth-x-(k?-1:1),de=y+P*ge,Ie=y+P*(ge+1),be=z.getModel();be.get("r0")!=null&&(de=f(be.get("r0"),u/2)),be.get("r")!=null&&(Ie=f(be.get("r"),u/2)),z.setLayout({angle:J,startAngle:Y,endAngle:$,clockwise:W,cx:d,cy:v,r0:de,r:Ie})}if(z.children&&z.children.length){var Ce=0;A.each(z.children,function(je){Ce+=H(je,Y+Ce)})}return $-Y};if(k){var j=y,K=y+P,X=Math.PI*2;C.setLayout({angle:X,startAngle:b,endAngle:b+X,clockwise:W,cx:d,cy:v,r0:j,r:K})}H(T,b)})}function p(h,l){var e=h.children||[];h.children=c(e,l),e.length&&A.each(h.children,function(n){p(n,l)})}function c(h,l){if(typeof l=="function")return h.sort(l);var e=l==="asc";return h.sort(function(n,i){var r=(n.getValue()-i.getValue())*(e?1:-1);return r===0?(n.dataIndex-i.dataIndex)*(e?-1:1):r})}M.exports=g},"y4/Y":function(M,B,o){var w=o("ProS"),f=o("bYtY"),A=o("zTMp"),m=o("62sa");o("SKx+"),o("1LEl"),o("Sp2Z"),w.registerPreprocessor(function(g){if(g){(!g.axisPointer||g.axisPointer.length===0)&&(g.axisPointer={});var p=g.axisPointer.link;p&&!f.isArray(p)&&(g.axisPointer.link=[p])}}),w.registerProcessor(w.PRIORITY.PROCESSOR.STATISTIC,function(g,p){g.getComponent("axisPointer").coordSysAxesInfo=A.collect(g,p)}),w.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},m)},y7Aq:function(M,B,o){var w=o("bYtY"),f=o("+TT/"),A=f.getLayoutRect;function m(p,c,h){var l=p.option,e=l.align;if(e!=null&&e!=="auto")return e;for(var n={width:c.getWidth(),height:c.getHeight()},i=l.orient==="horizontal"?1:0,r=[["left","right","width"],["top","bottom","height"]],a=r[i],t=[0,null,10],s={},u=0;u<3;u++)s[r[1-i][u]]=t[u],s[a[u]]=u===2?h[0]:l[a[u]];var d=[["x","width",3],["y","height",0]][i],v=A(s,n,l.padding);return a[(v.margin[d[2]]||0)+v[d[0]]+v[d[1]]*.5<n[d[1]]*.5?0:1]}function g(p,c){return w.each(p||[],function(h){h.dataIndex!=null&&(h.dataIndexInside=h.dataIndex,h.dataIndex=null),h.highlightKey="visualMap"+(c?c.componentIndex:"")}),p}B.getItemAlign=m,B.makeHighDownBatch=g},yEEn:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="ArrowDownOutlined";var c=B.a=f.forwardRef(p)},yNbn:function(M,B,o){"use strict";var w=o("+QfB"),f=o.n(w),A=o("phUY"),m=o.n(A)},yO87:function(M,B,o){var w=o("bYtY"),f=o("oVpE"),A=f.createSymbol,m=o("IwbS"),g=m.Group,p=o("OELB"),c=p.parsePercent,h=o("FBjb"),l=3;function e(t){return w.isArray(t)||(t=[+t,+t]),t}function n(t,s){var u=s.rippleEffectColor||s.color;t.eachChild(function(d){d.attr({z:s.z,zlevel:s.zlevel,style:{stroke:s.brushType==="stroke"?u:null,fill:s.brushType==="fill"?u:null}})})}function i(t,s){g.call(this);var u=new h(t,s),d=new g;this.add(u),this.add(d),d.beforeUpdate=function(){this.attr(u.getScale())},this.updateData(t,s)}var r=i.prototype;r.stopEffectAnimation=function(){this.childAt(1).removeAll()},r.startEffectAnimation=function(t){for(var s=t.symbolType,u=t.color,d=this.childAt(1),v=0;v<l;v++){var y=A(s,-1,-1,2,2,u);y.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var S=-v/l*t.period+t.effectOffset;y.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(S).start(),y.animateStyle(!0).when(t.period,{opacity:0}).delay(S).start(),d.add(y)}n(d,t)},r.updateEffectAnimation=function(t){for(var s=this._effectCfg,u=this.childAt(1),d=["symbolType","period","rippleScale"],v=0;v<d.length;v++){var y=d[v];if(s[y]!==t[y]){this.stopEffectAnimation(),this.startEffectAnimation(t);return}}n(u,t)},r.highlight=function(){this.trigger("emphasis")},r.downplay=function(){this.trigger("normal")},r.updateData=function(t,s){var u=t.hostModel;this.childAt(0).updateData(t,s);var d=this.childAt(1),v=t.getItemModel(s),y=t.getItemVisual(s,"symbol"),S=e(t.getItemVisual(s,"symbolSize")),b=t.getItemVisual(s,"color");d.attr("scale",S),d.traverse(function(R){R.attr({fill:b})});var E=v.getShallow("symbolOffset");if(E){var C=d.position;C[0]=c(E[0],S[0]),C[1]=c(E[1],S[1])}var T=t.getItemVisual(s,"symbolRotate");d.rotation=(T||0)*Math.PI/180||0;var x={};if(x.showEffectOn=u.get("showEffectOn"),x.rippleScale=v.get("rippleEffect.scale"),x.brushType=v.get("rippleEffect.brushType"),x.period=v.get("rippleEffect.period")*1e3,x.effectOffset=s/t.count(),x.z=v.getShallow("z")||0,x.zlevel=v.getShallow("zlevel")||0,x.symbolType=y,x.color=b,x.rippleEffectColor=v.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 _=this.childAt(0),I=function(){_.highlight(),x.showEffectOn!=="render"&&this.startEffectAnimation(x)},L=function(){_.downplay(),x.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",I,this).on("mouseout",L,this).on("emphasis",I,this).on("normal",L,this)}this._effectCfg=x},r.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},w.inherits(i,g);var a=i;M.exports=a},yS9w:function(M,B,o){var w=o("MEGo"),f=w.parseSVG,A=w.makeViewBoxTransform,m=o("4fz+"),g=o("x6Kt"),p=o("bYtY"),c=p.assert,h=p.createHashMap,l=o("mFDi"),e=o("4NO4"),n=e.makeInner,i=n(),r={load:function(t,s){var u=i(s).originRoot;if(u)return{root:u,boundingRect:i(s).boundingRect};var d=a(s);return i(s).originRoot=d.root,i(s).boundingRect=d.boundingRect,d},makeGraphic:function(t,s,u){var d=i(s),v=d.rootMap||(d.rootMap=h()),y=v.get(u);if(y)return y;var S=d.originRoot,b=d.boundingRect;return d.originRootHostKey?y=a(s,b).root:(d.originRootHostKey=u,y=S),v.set(u,y)},removeGraphic:function(t,s,u){var d=i(s),v=d.rootMap;v&&v.removeKey(u),u===d.originRootHostKey&&(d.originRootHostKey=null)}};function a(t,s){var u=t.svgXML,d,v;try{d=u&&f(u,{ignoreViewBox:!0,ignoreRootClip:!0})||{},v=d.root,c(v!=null)}catch(T){throw new Error(`Invalid svg format
|
|
|
`+T.message)}var y=d.width,S=d.height,b=d.viewBoxRect;if(s||(s=y==null||S==null?v.getBoundingRect():new l(0,0,0,0),y!=null&&(s.width=y),S!=null&&(s.height=S)),b){var E=A(b,s.width,s.height),C=v;v=new m,v.add(C),C.scale=E.scale,C.position=E.position}return v.setClipPath(new g({shape:s.plain()})),{root:v,boundingRect:s}}M.exports=r},yWXo:function(M,B,o){var w=o("IwbS"),f=o("oVpE"),A=f.createSymbol,m=o("OS9S"),g=4,p=w.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(e,n){var i=n.points,r=n.size,a=this.symbolProxy,t=a.shape,s=e.getContext?e.getContext():e,u=s&&r[0]<g;if(u)return;for(var d=0;d<i.length;){var v=i[d++],y=i[d++];if(isNaN(v)||isNaN(y))continue;if(this.softClipShape&&!this.softClipShape.contain(v,y))continue;t.x=v-r[0]/2,t.y=y-r[1]/2,t.width=r[0],t.height=r[1],a.buildPath(e,t,!0)}},afterBrush:function(e){var n=this.shape,i=n.points,r=n.size,a=r[0]<g;if(!a)return;this.setTransform(e);for(var t=0;t<i.length;){var s=i[t++],u=i[t++];if(isNaN(s)||isNaN(u))continue;if(this.softClipShape&&!this.softClipShape.contain(s,u))continue;e.fillRect(s-r[0]/2,u-r[1]/2,r[0],r[1])}this.restoreTransform(e)},findDataIndex:function(e,n){for(var i=this.shape,r=i.points,a=i.size,t=Math.max(a[0],4),s=Math.max(a[1],4),u=r.length/2-1;u>=0;u--){var d=u*2,v=r[d]-t/2,y=r[d+1]-s/2;if(e>=v&&n>=y&&e<=v+t&&n<=y+s)return u}return-1}});function c(){this.group=new w.Group}var h=c.prototype;h.isPersistent=function(){return!this._incremental},h.updateData=function(e,n){this.group.removeAll();var i=new p({rectHover:!0,cursor:"default"});i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!1,n),this.group.add(i),this._incremental=null},h.updateLayout=function(e){if(this._incremental)return;var n=e.getLayout("symbolPoints");this.group.eachChild(function(i){if(i.startIndex!=null){var r=(i.endIndex-i.startIndex)*2,a=i.startIndex*4*2;n=new Float32Array(n.buffer,a,r)}i.setShape("points",n)})},h.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new m({silent:!0})),this.group.add(this._incremental)):this._incremental=null},h.incrementalUpdate=function(e,n,i){var r;this._incremental?(r=new p,this._incremental.addDisplayable(r,!0)):(r=new p({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end}),r.incremental=!0,this.group.add(r)),r.setShape({points:n.getLayout("symbolPoints")}),this._setCommon(r,n,!!this._incremental,i)},h._setCommon=function(e,n,i,r){var a=n.hostModel;r=r||{};var t=n.getVisual("symbolSize");e.setShape("size",t instanceof Array?t:[t,t]),e.softClipShape=r.clipShape||null,e.symbolProxy=A(n.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var s=e.shape.size[0]<g;e.useStyle(a.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var u=n.getVisual("color");u&&e.setColor(u),i||(e.seriesIndex=a.seriesIndex,e.on("mousemove",function(d){e.dataIndex=null;var v=e.findDataIndex(d.offsetX,d.offsetY);v>=0&&(e.dataIndex=v+(e.startIndex||0))}))},h.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},h._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var l=c;M.exports=l},ycre:function(M,B,o){var w=o("711d"),f=w("length");M.exports=f},yik8:function(M,B,o){var w=o("bZqE"),f=w.eachAfter,A=w.eachBefore,m=o("Itpr"),g=m.init,p=m.firstWalk,c=m.secondWalk,h=m.separation,l=m.radialCoordinate,e=m.getViewRect;function n(r,a){r.eachSeriesByType("tree",function(t){i(t,a)})}function i(r,a){var t=e(r,a);r.layoutInfo=t;var s=r.get("layout"),u=0,d=0,v=null;s==="radial"?(u=2*Math.PI,d=Math.min(t.height,t.width)/2,v=h(function(F,P){return(F.parentNode===P.parentNode?1:2)/F.depth})):(u=t.width,d=t.height,v=h());var y=r.getData().tree.root,S=y.children[0];if(S){g(y),f(S,p,v),y.hierNode.modifier=-S.hierNode.prelim,A(S,c);var b=S,E=S,C=S;A(S,function(F){var P=F.getLayout().x;P<b.getLayout().x&&(b=F),P>E.getLayout().x&&(E=F),F.depth>C.depth&&(C=F)});var T=b===E?1:v(b,E)/2,x=T-b.getLayout().x,_=0,I=0,L=0,R=0;if(s==="radial")_=u/(E.getLayout().x+T+x),I=d/(C.depth-1||1),A(S,function(F){L=(F.getLayout().x+x)*_,R=(F.depth-1)*I;var P=l(L,R);F.setLayout({x:P.x,y:P.y,rawX:L,rawY:R},!0)});else{var k=r.getOrient();k==="RL"||k==="LR"?(I=d/(E.getLayout().x+T+x),_=u/(C.depth-1||1),A(S,function(F){R=(F.getLayout().x+x)*I,L=k==="LR"?(F.depth-1)*_:u-(F.depth-1)*_,F.setLayout({x:L,y:R},!0)})):(k==="TB"||k==="BT")&&(_=u/(E.getLayout().x+T+x),I=d/(C.depth-1||1),A(S,function(F){L=(F.getLayout().x+x)*_,R=k==="TB"?(F.depth-1)*I:d-(F.depth-1)*I,F.setLayout({x:L,y:R},!0)}))}}}M.exports=n},ynwM:function(M,B,o){var w=o("MFOe"),f=w.Global;M.exports={name:"oldFF-globalStorage",read:m,write:g,each:p,remove:c,clearAll:h};var A=f.globalStorage;function m(l){return A[l]}function g(l,e){A[l]=e}function p(l){for(var e=A.length-1;e>=0;e--){var n=A.key(e);l(A[n],n)}}function c(l){return A.removeItem(l)}function h(){p(function(l,e){delete A[l]})}},ypgQ:function(M,B,o){var w=o("bYtY"),f=o("4NO4"),A=o("bLfw"),m=w.each,g=w.clone,p=w.map,c=w.merge,h=/^(min|max)?(.+)$/;function l(s){this._api=s,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}l.prototype={constructor:l,setOption:function(s,u){s&&w.each(f.normalizeToArray(s.series),function(y){y&&y.data&&w.isTypedArray(y.data)&&w.setAsPrimitive(y.data)}),s=g(s);var d=this._optionBackup,v=e.call(this,s,u,!d);this._newBaseOption=v.baseOption,d?(a(d.baseOption,v.baseOption),v.timelineOptions.length&&(d.timelineOptions=v.timelineOptions),v.mediaList.length&&(d.mediaList=v.mediaList),v.mediaDefault&&(d.mediaDefault=v.mediaDefault)):this._optionBackup=v},mountOption:function(s){var u=this._optionBackup;return this._timelineOptions=p(u.timelineOptions,g),this._mediaList=p(u.mediaList,g),this._mediaDefault=g(u.mediaDefault),this._currentMediaIndices=[],g(s?u.baseOption:this._newBaseOption)},getTimelineOption:function(s){var u,d=this._timelineOptions;if(d.length){var v=s.getComponent("timeline");v&&(u=g(d[v.getCurrentIndex()],!0))}return u},getMediaOption:function(s){var u=this._api.getWidth(),d=this._api.getHeight(),v=this._mediaList,y=this._mediaDefault,S=[],b=[];if(!v.length&&!y)return b;for(var E=0,C=v.length;E<C;E++)n(v[E].query,u,d)&&S.push(E);return!S.length&&y&&(S=[-1]),S.length&&!r(S,this._currentMediaIndices)&&(b=p(S,function(T){return g(T===-1?y.option:v[T].option)})),this._currentMediaIndices=S,b}};function e(s,u,d){var v=[],y=[],S,b,E=s.timeline;if(s.baseOption&&(b=s.baseOption),(E||s.options)&&(b=b||{},v=(s.options||[]).slice()),s.media){b=b||{};var C=s.media;m(C,function(T){T&&T.option&&(T.query?y.push(T):S||(S=T))})}return b||(b=s),b.timeline||(b.timeline=E),m([b].concat(v).concat(w.map(y,function(T){return T.option})),function(T){m(u,function(x){x(T,d)})}),{baseOption:b,timelineOptions:v,mediaDefault:S,mediaList:y}}function n(s,u,d){var v={width:u,height:d,aspectratio:u/d},y=!0;return w.each(s,function(S,b){var E=b.match(h);if(!E||!E[1]||!E[2])return;var C=E[1],T=E[2].toLowerCase();i(v[T],S,C)||(y=!1)}),y}function i(s,u,d){return d==="min"?s>=u:d==="max"?s<=u:s===u}function r(s,u){return s.join(",")===u.join(",")}function a(s,u){u=u||{},m(u,function(d,v){if(d==null)return;var y=s[v];if(!A.hasClass(v))s[v]=c(y,d,!0);else{d=f.normalizeToArray(d),y=f.normalizeToArray(y);var S=f.mappingToExists(y,d);s[v]=p(S,function(b){return b.option&&b.exist?c(b.exist,b.option,!0):b.exist||b.option})}})}var t=l;M.exports=t},yxFR:function(M,B,o){var w=o("y+Vt"),f=o("nPnh"),A=f.subPixelOptimizeLine,m={},g=w.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(c,h){var l,e,n,i;this.subPixelOptimize?(A(m,h,this.style),l=m.x1,e=m.y1,n=m.x2,i=m.y2):(l=h.x1,e=h.y1,n=h.x2,i=h.y2);var r=h.percent;if(r===0)return;c.moveTo(l,e),r<1&&(n=l*(1-r)+n*r,i=e*(1-r)+i*r),c.lineTo(n,i)},pointAt:function(c){var h=this.shape;return[h.x1*(1-c)+h.x2*c,h.y1*(1-c)+h.y2*c]}});M.exports=g},z35g:function(M,B,o){var w=o("bYtY");function f(g){return this._axes[g]}var A=function(g){this._axes={},this._dimList=[],this.name=g||""};A.prototype={constructor:A,type:"cartesian",getAxis:function(g){return this._axes[g]},getAxes:function(){return w.map(this._dimList,f,this)},getAxesByScale:function(g){return g=g.toLowerCase(),w.filter(this.getAxes(),function(p){return p.scale.type===g})},addAxis:function(g){var p=g.dim;this._axes[p]=g,this._dimList.push(p)},dataToCoord:function(g){return this._dataCoordConvert(g,"dataToCoord")},coordToData:function(g){return this._dataCoordConvert(g,"coordToData")},_dataCoordConvert:function(g,p){for(var c=this._dimList,h=g instanceof Array?[]:{},l=0;l<c.length;l++){var e=c[l],n=this._axes[e];h[e]=n[p](g[e])}return h}};var m=A;M.exports=m},zDms:function(M,B,o){var w=o("bYtY"),f=o("OELB"),A=o("UOVi"),m=o("72pK"),g=w.each,p=f.asc,c=function(r,a,t,s){this._dimName=r,this._axisIndex=a,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=s,this._dataZoomModel=t};c.prototype={constructor:c,hostedBy:function(r){return this._dataZoomModel===r},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var r=[],a=this.ecModel;return a.eachSeries(function(t){if(A.isCoordSupported(t.get("coordinateSystem"))){var s=this._dimName,u=a.queryComponents({mainType:s+"Axis",index:t.get(s+"AxisIndex"),id:t.get(s+"AxisId")})[0];this._axisIndex===(u&&u.componentIndex)&&r.push(t)}},this),r},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var r=this._dimName,a=this.ecModel,t=this.getAxisModel(),s=r==="x"||r==="y",u,d;s?(d="gridIndex",u=r==="x"?"y":"x"):(d="polarIndex",u=r==="angle"?"radius":"angle");var v;return a.eachComponent(u+"Axis",function(y){(y.get(d)||0)===(t.get(d)||0)&&(v=y)}),v},getMinMaxSpan:function(){return w.clone(this._minMaxSpan)},calculateDataWindow:function(r){var a=this._dataExtent,t=this.getAxisModel(),s=t.axis.scale,u=this._dataZoomModel.getRangePropMode(),d=[0,100],v=[],y=[],S;g(["start","end"],function(C,T){var x=r[C],_=r[C+"Value"];u[T]==="percent"?(x==null&&(x=d[T]),_=s.parse(f.linearMap(x,d,a))):(S=!0,_=_==null?a[T]:s.parse(_),x=f.linearMap(_,a,d)),y[T]=_,v[T]=x}),p(y),p(v);var b=this._minMaxSpan;S?E(y,v,a,d,!1):E(v,y,d,a,!0);function E(C,T,x,_,I){var L=I?"Span":"ValueSpan";m(0,C,x,"all",b["min"+L],b["max"+L]);for(var R=0;R<2;R++)T[R]=f.linearMap(C[R],x,_,!0),I&&(T[R]=s.parse(T[R]))}return{valueWindow:y,percentWindow:v}},reset:function(r){if(r!==this._dataZoomModel)return;var a=this.getTargetSeriesModels();this._dataExtent=h(this,this._dimName,a),n(this);var t=this.calculateDataWindow(r.settledOption);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,e(this)},restore:function(r){if(r!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,e(this,!0)},filterData:function(r,a){if(r!==this._dataZoomModel)return;var t=this._dimName,s=this.getTargetSeriesModels(),u=r.get("filterMode"),d=this._valueWindow;if(u==="none")return;g(s,function(y){var S=y.getData(),b=S.mapDimension(t,!0);if(!b.length)return;u==="weakFilter"?S.filterSelf(function(E){for(var C,T,x,_=0;_<b.length;_++){var I=S.get(b[_],E),L=!isNaN(I),R=I<d[0],k=I>d[1];if(L&&!R&&!k)return!0;L&&(x=!0),R&&(C=!0),k&&(T=!0)}return x&&C&&T}):g(b,function(E){if(u==="empty")y.setData(S=S.map(E,function(T){return v(T)?T:NaN}));else{var C={};C[E]=d,S.selectRange(C)}}),g(b,function(E){S.setApproximateExtent(d,E)})});function v(y){return y>=d[0]&&y<=d[1]}}};function h(r,a,t){var s=[Infinity,-Infinity];return g(t,function(u){var d=u.getData();d&&g(d.mapDimension(a,!0),function(v){var y=d.getApproximateExtent(v);y[0]<s[0]&&(s[0]=y[0]),y[1]>s[1]&&(s[1]=y[1])})}),s[1]<s[0]&&(s=[NaN,NaN]),l(r,s),s}function l(r,a){var t=r.getAxisModel(),s=t.getMin(!0),u=t.get("type")==="category",d=u&&t.getCategories().length;s!=null&&s!=="dataMin"&&typeof s!="function"?a[0]=s:u&&(a[0]=d>0?0:NaN);var v=t.getMax(!0);return v!=null&&v!=="dataMax"&&typeof v!="function"?a[1]=v:u&&(a[1]=d>0?d-1:NaN),t.get("scale",!0)||(a[0]>0&&(a[0]=0),a[1]<0&&(a[1]=0)),a}function e(r,a){var t=r.getAxisModel(),s=r._percentWindow,u=r._valueWindow;if(!s)return;var d=f.getPixelPrecision(u,[0,500]);d=Math.min(d,20);var v=a||s[0]===0&&s[1]===100;t.setRange(v?null:+u[0].toFixed(d),v?null:+u[1].toFixed(d))}function n(r){var a=r._minMaxSpan={},t=r._dataZoomModel,s=r._dataExtent;g(["min","max"],function(u){var d=t.get(u+"Span"),v=t.get(u+"ValueSpan");v!=null&&(v=r.getAxisModel().axis.scale.parse(v)),v!=null?d=f.linearMap(s[0]+v,s,[0,100],!0):d!=null&&(v=f.linearMap(d,[0,100],s,!0)-s[0]),a[u+"Span"]=d,a[u+"ValueSpan"]=v})}var i=c;M.exports=i},zM3Q:function(M,B,o){var w=o("4NO4"),f=w.makeInner;function A(){var m=f();return function(g){var p=m(g),c=g.pipelineContext,h=p.large,l=p.progressiveRender,e=p.large=c&&c.large,n=p.progressiveRender=c&&c.progressiveRender;return!!(h^e||l^n)&&"reset"}}M.exports=A},zRKj:function(M,B,o){o("Ae16"),o("Sp2Z"),o("y4/Y")},zTMp:function(M,B,o){var w=o("bYtY"),f=o("Qxkt"),A=w.each,m=w.curry;function g(s,u){var d={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return p(d,s,u),d.seriesInvolved&&h(d,s),d}function p(s,u,d){var v=u.getComponent("tooltip"),y=u.getComponent("axisPointer"),S=y.get("link",!0)||[],b=[];A(d.getCoordinateSystems(),function(E){if(!E.axisPointerEnabled)return;var C=t(E.model),T=s.coordSysAxesInfo[C]={};s.coordSysMap[C]=E;var x=E.model,_=x.getModel("tooltip",v);if(A(E.getAxes(),m(k,!1,null)),E.getTooltipAxes&&v&&_.get("show")){var I=_.get("trigger")==="axis",L=_.get("axisPointer.type")==="cross",R=E.getTooltipAxes(_.get("axisPointer.axis"));(I||L)&&A(R.baseAxes,m(k,L?"cross":!0,I)),L&&A(R.otherAxes,m(k,"cross",!1))}function k(F,P,W){var D=W.model.getModel("axisPointer",y),U=D.get("show");if(!U||U==="auto"&&!F&&!a(D))return;P==null&&(P=D.get("triggerTooltip")),D=F?c(W,_,y,u,F,P):D;var H=D.get("snap"),j=t(W.model),K=P||H||W.type==="category",X=s.axesInfo[j]={key:j,axis:W,coordSys:E,axisPointerModel:D,triggerTooltip:P,involveSeries:K,snap:H,useHandle:a(D),seriesModels:[]};T[j]=X,s.seriesInvolved|=K;var z=l(S,W);if(z!=null){var Y=b[z]||(b[z]={axesInfo:{}});Y.axesInfo[j]=X,Y.mapper=S[z].mapper,X.linkGroup=Y}}})}function c(s,u,d,v,y,S){var b=u.getModel("axisPointer"),E={};A(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(_){E[_]=w.clone(b.get(_))}),E.snap=s.type!=="category"&&!!S,b.get("type")==="cross"&&(E.type="line");var C=E.label||(E.label={});if(C.show==null&&(C.show=!1),y==="cross"){var T=b.get("label.show");if(C.show=T!=null?T:!0,!S){var x=E.lineStyle=b.get("crossStyle");x&&w.defaults(C,x.textStyle)}}return s.model.getModel("axisPointer",new f(E,d,v))}function h(s,u){u.eachSeries(function(d){var v=d.coordinateSystem,y=d.get("tooltip.trigger",!0),S=d.get("tooltip.show",!0);if(!v||y==="none"||y===!1||y==="item"||S===!1||d.get("axisPointer.show",!0)===!1)return;A(s.coordSysAxesInfo[t(v.model)],function(b){var E=b.axis;v.getAxis(E.dim)===E&&(b.seriesModels.push(d),b.seriesDataCount==null&&(b.seriesDataCount=0),b.seriesDataCount+=d.getData().count())})},this)}function l(s,u){for(var d=u.model,v=u.dim,y=0;y<s.length;y++){var S=s[y]||{};if(e(S[v+"AxisId"],d.id)||e(S[v+"AxisIndex"],d.componentIndex)||e(S[v+"AxisName"],d.name))return y}}function e(s,u){return s==="all"||w.isArray(s)&&w.indexOf(s,u)>=0||s===u}function n(s){var u=i(s);if(!u)return;var d=u.axisPointerModel,v=u.axis.scale,y=d.option,S=d.get("status"),b=d.get("value");b!=null&&(b=v.parse(b));var E=a(d);S==null&&(y.status=E?"show":"hide");var C=v.getExtent().slice();C[0]>C[1]&&C.reverse(),(b==null||b>C[1])&&(b=C[1]),b<C[0]&&(b=C[0]),y.value=b,E&&(y.status=u.axis.scale.isBlank()?"hide":"show")}function i(s){var u=(s.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return u&&u.axesInfo[t(s)]}function r(s){var u=i(s);return u&&u.axisPointerModel}function a(s){return!!s.get("handle.show")}function t(s){return s.type+"||"+s.id}B.collect=g,B.fixValue=n,B.getAxisInfo=i,B.getAxisPointerModel=r,B.makeKey=t},zYTA:function(M,B,o){var w=o("bYtY"),f=256;function A(){var g=w.createCanvas();this.canvas=g,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}A.prototype={update:function(g,p,c,h,l,e){var n=this._getBrush(),i=this._getGradient(g,l,"inRange"),r=this._getGradient(g,l,"outOfRange"),a=this.pointSize+this.blurSize,t=this.canvas,s=t.getContext("2d"),u=g.length;t.width=p,t.height=c;for(var d=0;d<u;++d){var v=g[d],y=v[0],S=v[1],b=v[2],E=h(b);s.globalAlpha=E,s.drawImage(n,y-a,S-a)}if(!t.width||!t.height)return t;for(var C=s.getImageData(0,0,t.width,t.height),T=C.data,x=0,_=T.length,I=this.minOpacity,L=this.maxOpacity,R=L-I;x<_;){var E=T[x+3]/256,k=Math.floor(E*(f-1))*4;if(E>0){var F=e(E)?i:r;E>0&&(E=E*R+I),T[x++]=F[k],T[x++]=F[k+1],T[x++]=F[k+2],T[x++]=F[k+3]*E*256}else x+=4}return s.putImageData(C,0,0),t},_getBrush:function(){var g=this._brushCanvas||(this._brushCanvas=w.createCanvas()),p=this.pointSize+this.blurSize,c=p*2;g.width=c,g.height=c;var h=g.getContext("2d");return h.clearRect(0,0,c,c),h.shadowOffsetX=c,h.shadowBlur=this.blurSize,h.shadowColor="#000",h.beginPath(),h.arc(-p,p,this.pointSize,0,Math.PI*2,!0),h.closePath(),h.fill(),g},_getGradient:function(g,p,c){for(var h=this._gradientPixels,l=h[c]||(h[c]=new Uint8ClampedArray(256*4)),e=[0,0,0,0],n=0,i=0;i<256;i++)p[c](i/255,!0,e),l[n++]=e[0],l[n++]=e[1],l[n++]=e[2],l[n++]=e[3];return l}};var m=A;M.exports=m},zarK:function(M,B,o){var w=o("YH21"),f=w.addEventListener,A=w.removeEventListener,m=w.normalizeEvent,g=w.getNativeEvent,p=o("bYtY"),c=o("H6uX"),h=o("ItGF"),l=300,e=h.domSupported,n=function(){var F=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],P=["touchstart","touchend","touchmove"],W={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},D=p.map(F,function(U){var H=U.replace("mouse","pointer");return W.hasOwnProperty(H)?H:U});return{mouse:F,touch:P,pointer:D}}(),i={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function r(F){return F==="mousewheel"&&h.browser.firefox?"DOMMouseScroll":F}function a(F){var P=F.pointerType;return P==="pen"||P==="touch"}function t(F){F.touching=!0,F.touchTimer!=null&&(clearTimeout(F.touchTimer),F.touchTimer=null),F.touchTimer=setTimeout(function(){F.touching=!1,F.touchTimer=null},700)}function s(F){F&&(F.zrByTouch=!0)}function u(F,P){return m(F.dom,new v(F,P),!0)}function d(F,P){for(var W=P,D=!1;W&&W.nodeType!==9&&!(D=W.domBelongToZr||W!==P&&W===F.painterRoot);)W=W.parentNode;return D}function v(F,P){this.type=P.type,this.target=this.currentTarget=F.dom,this.pointerType=P.pointerType,this.clientX=P.clientX,this.clientY=P.clientY}var y=v.prototype;y.stopPropagation=y.stopImmediatePropagation=y.preventDefault=p.noop;var S={mousedown:function(P){P=m(this.dom,P),this._mayPointerCapture=[P.zrX,P.zrY],this.trigger("mousedown",P)},mousemove:function(P){P=m(this.dom,P);var W=this._mayPointerCapture;W&&(P.zrX!==W[0]||P.zrY!==W[1])&&_(this,!0),this.trigger("mousemove",P)},mouseup:function(P){P=m(this.dom,P),_(this,!1),this.trigger("mouseup",P)},mouseout:function(P){P=m(this.dom,P),this._pointerCapturing&&(P.zrEventControl="no_globalout");var W=P.toElement||P.relatedTarget;P.zrIsToLocalDOM=d(this,W),this.trigger("mouseout",P)},touchstart:function(P){P=m(this.dom,P),s(P),this._lastTouchMoment=new Date,this.handler.processGesture(P,"start"),S.mousemove.call(this,P),S.mousedown.call(this,P)},touchmove:function(P){P=m(this.dom,P),s(P),this.handler.processGesture(P,"change"),S.mousemove.call(this,P)},touchend:function(P){P=m(this.dom,P),s(P),this.handler.processGesture(P,"end"),S.mouseup.call(this,P),+new Date-this._lastTouchMoment<l&&S.click.call(this,P)},pointerdown:function(P){S.mousedown.call(this,P)},pointermove:function(P){a(P)||S.mousemove.call(this,P)},pointerup:function(P){S.mouseup.call(this,P)},pointerout:function(P){a(P)||S.mouseout.call(this,P)}};p.each(["click","mousewheel","dblclick","contextmenu"],function(F){S[F]=function(P){P=m(this.dom,P),this.trigger(F,P)}});var b={pointermove:function(P){a(P)||b.mousemove.call(this,P)},pointerup:function(P){b.mouseup.call(this,P)},mousemove:function(P){this.trigger("mousemove",P)},mouseup:function(P){var W=this._pointerCapturing;_(this,!1),this.trigger("mouseup",P),W&&(P.zrEventControl="only_globalout",this.trigger("mouseout",P))}};function E(F,P){var W=P.domHandlers;h.pointerEventsSupported?p.each(n.pointer,function(D){T(P,D,function(U){W[D].call(F,U)})}):(h.touchEventsSupported&&p.each(n.touch,function(D){T(P,D,function(U){W[D].call(F,U),t(P)})}),p.each(n.mouse,function(D){T(P,D,function(U){U=g(U),P.touching||W[D].call(F,U)})}))}function C(F,P){h.pointerEventsSupported?p.each(i.pointer,W):h.touchEventsSupported||p.each(i.mouse,W);function W(D){function U(H){H=g(H),d(F,H.target)||(H=u(F,H),P.domHandlers[D].call(F,H))}T(P,D,U,{capture:!0})}}function T(F,P,W,D){F.mounted[P]=W,F.listenerOpts[P]=D,f(F.domTarget,r(P),W,D)}function x(F){var P=F.mounted;for(var W in P)P.hasOwnProperty(W)&&A(F.domTarget,r(W),P[W],F.listenerOpts[W]);F.mounted={}}function _(F,P){if(F._mayPointerCapture=null,e&&F._pointerCapturing^P){F._pointerCapturing=P;var W=F._globalHandlerScope;P?C(F,W):x(W)}}function I(F,P){this.domTarget=F,this.domHandlers=P,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function L(F,P){c.call(this),this.dom=F,this.painterRoot=P,this._localHandlerScope=new I(F,S),e&&(this._globalHandlerScope=new I(document,b)),this._pointerCapturing=!1,this._mayPointerCapture=null,E(this,this._localHandlerScope)}var R=L.prototype;R.dispose=function(){x(this._localHandlerScope),e&&x(this._globalHandlerScope)},R.setCursor=function(F){this.dom.style&&(this.dom.style.cursor=F||"default")},p.mixin(L,c);var k=L;M.exports=k},zoYe:function(M,B,o){var w=o("nmnc"),f=o("eUgh"),A=o("Z0cm"),m=o("/9aa"),g=1/0,p=w?w.prototype:void 0,c=p?p.toString:void 0;function h(l){if(typeof l=="string")return l;if(A(l))return f(l,h)+"";if(m(l))return c?c.call(l):"";var e=l+"";return e=="0"&&1/l==-g?"-0":e}M.exports=h},zs7G:function(M,B,o){"use strict";var w=o("VTBJ"),f=o("q1tI"),A={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"},m=A,g=o("6VBw"),p=function(l,e){return f.createElement(g.a,Object(w.a)(Object(w.a)({},l),{},{ref:e,icon:m}))};p.displayName="DoubleRightOutlined";var c=B.a=f.forwardRef(p)},zuHt:function(M,B,o){var w=o("bYtY");function f(A){var m={};A.eachSeriesByType("map",function(g){var p=g.getMapType();if(g.getHostGeoModel()||m[p])return;var c={};w.each(g.seriesGroup,function(l){var e=l.coordinateSystem,n=l.originalData;l.get("showLegendSymbol")&&A.getComponent("legend")&&n.each(n.mapDimension("value"),function(i,r){var a=n.getName(r),t=e.getRegion(a);if(!t||isNaN(i))return;var s=c[a]||0,u=e.dataToPoint(t.center);c[a]=s+1,n.setItemLayout(r,{point:u,offset:s})})});var h=g.getData();h.each(function(l){var e=h.getName(l),n=h.getItemLayout(l)||{};n.showLabel=!c[e],h.setItemLayout(l,n)}),m[p]=!0})}M.exports=f}}]);
|