|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+QRC":function(M,P,d){"use strict";var w=d("E9nw"),A={"text/plain":"Text","text/html":"Url",default:"Text"},b="Copy to clipboard: #{key}, Enter";function m(p){var s=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return p.replace(/#{\s*key\s*}/g,s)}function v(p,s){var u,o,e,r,i,n,l=!1;s||(s={}),u=s.debug||!1;try{e=w(),r=document.createRange(),i=document.getSelection(),n=document.createElement("span"),n.textContent=p,n.style.all="unset",n.style.position="fixed",n.style.top=0,n.style.clip="rect(0, 0, 0, 0)",n.style.whiteSpace="pre",n.style.webkitUserSelect="text",n.style.MozUserSelect="text",n.style.msUserSelect="text",n.style.userSelect="text",n.addEventListener("copy",function(a){if(a.stopPropagation(),s.format)if(a.preventDefault(),typeof a.clipboardData=="undefined"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var c=A[s.format]||A.default;window.clipboardData.setData(c,p)}else a.clipboardData.clearData(),a.clipboardData.setData(s.format,p);s.onCopy&&(a.preventDefault(),s.onCopy(a.clipboardData))}),document.body.appendChild(n),r.selectNodeContents(n),i.addRange(r);var t=document.execCommand("copy");if(!t)throw new Error("copy command was unsuccessful");l=!0}catch(a){u&&console.error("unable to copy using execCommand: ",a),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(s.format||"text",p),s.onCopy&&s.onCopy(window.clipboardData),l=!0}catch(c){u&&console.error("unable to copy using clipboardData: ",c),u&&console.error("falling back to prompt"),o=m("message"in s?s.message:b),window.prompt(o,p)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(r):i.removeAllRanges()),n&&document.body.removeChild(n),e()}return l}M.exports=v},"+TT/":function(M,P,d){var w=d("bYtY"),A=d("mFDi"),b=d("OELB"),m=b.parsePercent,v=d("7aKB"),p=w.each,s=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function o(g,S,y,E,C){var T=0,x=0;E==null&&(E=Infinity),C==null&&(C=Infinity);var _=0;S.eachChild(function(I,L){var D=I.position,B=I.getBoundingRect(),N=S.childAt(L+1),k=N&&N.getBoundingRect(),W,R;if(g==="horizontal"){var j=B.width+(k?-k.x+B.x:0);W=T+j,W>E||I.newline?(T=0,W=j,x+=_+y,_=B.height):_=Math.max(_,B.height)}else{var H=B.height+(k?-k.y+B.y:0);R=x+H,R>C||I.newline?(T+=_+y,x=0,R=H,_=B.width):_=Math.max(_,B.width)}if(I.newline)return;D[0]=T,D[1]=x,g==="horizontal"?T=W+y:x=R+y})}var e=o,r=w.curry(o,"vertical"),i=w.curry(o,"horizontal");function n(g,S,y){var E=S.width,C=S.height,T=m(g.x,E),x=m(g.y,C),_=m(g.x2,E),I=m(g.y2,C);return(isNaN(T)||isNaN(parseFloat(g.x)))&&(T=0),(isNaN(_)||isNaN(parseFloat(g.x2)))&&(_=E),(isNaN(x)||isNaN(parseFloat(g.y)))&&(x=0),(isNaN(I)||isNaN(parseFloat(g.y2)))&&(I=C),y=v.normalizeCssArray(y||0),{width:Math.max(_-T-y[1]-y[3],0),height:Math.max(I-x-y[0]-y[2],0)}}function l(g,S,y){y=v.normalizeCssArray(y||0);var E=S.width,C=S.height,T=m(g.left,E),x=m(g.top,C),_=m(g.right,E),I=m(g.bottom,C),L=m(g.width,E),D=m(g.height,C),B=y[2]+y[0],N=y[1]+y[3],k=g.aspect;isNaN(L)&&(L=E-_-N-T),isNaN(D)&&(D=C-I-B-x),k!=null&&(isNaN(L)&&isNaN(D)&&(k>E/C?L=E*.8:D=C*.8),isNaN(L)&&(L=k*D),isNaN(D)&&(D=L/k)),isNaN(T)&&(T=E-_-L-N),isNaN(x)&&(x=C-I-D-B);switch(g.left||g.right){case"center":T=E/2-L/2-y[3];break;case"right":T=E-L-N;break}switch(g.top||g.bottom){case"middle":case"center":x=C/2-D/2-y[0];break;case"bottom":x=C-D-B;break}T=T||0,x=x||0,isNaN(L)&&(L=E-N-T-(_||0)),isNaN(D)&&(D=C-B-x-(I||0));var W=new A(T+y[3],x+y[0],L,D);return W.margin=y,W}function t(g,S,y,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=g.type==="group"?new A(0,0,+S.width||0,+S.height||0):g.getBoundingRect();else if(I=g.getBoundingRect(),g.needLocalTransform()){var L=g.getLocalTransform();I=I.clone(),I.applyTransform(L)}S=l(w.defaults({width:I.width,height:I.height},S),y,E);var D=g.position,B=T?S.x-I.x:0,N=x?S.y-I.y:0;g.attr("position",_==="raw"?[B,N]:[D[0]+B,D[1]+N])}function a(g,S){return g[u[S][0]]!=null||g[u[S][1]]!=null&&g[u[S][2]]!=null}function c(g,S,y){!w.isObject(y)&&(y={});var E=y.ignoreSize;!w.isArray(E)&&(E=[E,E]);var C=x(u[0],0),T=x(u[1],1);L(u[0],g,C),L(u[1],g,T);function x(D,B){var N={},k=0,W={},R=0,j=2;if(p(D,function(U){W[U]=g[U]}),p(D,function(U){_(S,U)&&(N[U]=W[U]=S[U]),I(N,U)&&k++,I(W,U)&&R++}),E[B])return I(S,D[1])?W[D[2]]=null:I(S,D[2])&&(W[D[1]]=null),W;if(R===j||!k)return W;if(k>=j)return N;for(var H=0;H<D.length;H++){var K=D[H];if(!_(N,K)&&_(g,K)){N[K]=g[K];break}}return N}function _(D,B){return D.hasOwnProperty(B)}function I(D,B){return D[B]!=null&&D[B]!=="auto"}function L(D,B,N){p(D,function(k){B[k]=N[k]})}}function h(g){return f({},g)}function f(g,S){return S&&g&&p(s,function(y){S.hasOwnProperty(y)&&(g[y]=S[y])}),g}P.LOCATION_PARAMS=s,P.HV_NAMES=u,P.box=e,P.vbox=r,P.hbox=i,P.getAvailableSize=n,P.getLayoutRect=l,P.positionElement=t,P.sizeCalculable=a,P.mergeLayoutParam=c,P.getLayoutParams=h,P.copyLayoutParams=f},"+WA2":function(M,P,d){},"+kr+":function(M,P,d){},"+lIL":function(M,P,d){var w=d("ProS");d("/ry/"),d("3OrL");var A=d("L5E0"),b=d("7Phj");w.registerVisual(A),w.registerLayout(b)},"+nKL":function(M,P,d){"use strict";var w=d("q1tI"),A=d("TSYQ"),b=d.n(A),m=d("t23M");function v(ie,Y){var we=Object.keys(ie);if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(ie);Y&&(Ce=Ce.filter(function(le){return Object.getOwnPropertyDescriptor(ie,le).enumerable})),we.push.apply(we,Ce)}return we}function p(ie){for(var Y=1;Y<arguments.length;Y++){var we=arguments[Y]!=null?arguments[Y]:{};Y%2?v(Object(we),!0).forEach(function(Ce){s(ie,Ce,we[Ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ie,Object.getOwnPropertyDescriptors(we)):v(Object(we)).forEach(function(Ce){Object.defineProperty(ie,Ce,Object.getOwnPropertyDescriptor(we,Ce))})}return ie}function s(ie,Y,we){return Y in ie?Object.defineProperty(ie,Y,{value:we,enumerable:!0,configurable:!0,writable:!0}):ie[Y]=we,ie}var u=w.forwardRef(function(ie,Y){var we=ie.height,Ce=ie.offset,le=ie.children,ot=ie.prefixCls,wt=ie.onInnerResize,rt={},It={display:"flex",flexDirection:"column"};return Ce!==void 0&&(rt={height:we,position:"relative",overflow:"hidden"},It=p(p({},It),{},{transform:"translateY(".concat(Ce,"px)"),position:"absolute",left:0,right:0,top:0})),w.createElement("div",{style:rt},w.createElement(m.a,{onResize:function(lr){var pr=lr.offsetHeight;pr&&wt&&wt()}},w.createElement("div",{style:It,className:b()(s({},"".concat(ot,"-holder-inner"),ot)),ref:Y},le)))});u.displayName="Filler";var o=u,e=d("wgJM");function r(ie){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(we){return typeof we}:r=function(we){return we&&typeof Symbol=="function"&&we.constructor===Symbol&&we!==Symbol.prototype?"symbol":typeof we},r(ie)}function i(ie,Y,we){return Y in ie?Object.defineProperty(ie,Y,{value:we,enumerable:!0,configurable:!0,writable:!0}):ie[Y]=we,ie}function n(ie,Y){if(!(ie instanceof Y))throw new TypeError("Cannot call a class as a function")}function l(ie,Y){for(var we=0;we<Y.length;we++){var Ce=Y[we];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(ie,Ce.key,Ce)}}function t(ie,Y,we){return Y&&l(ie.prototype,Y),we&&l(ie,we),ie}function a(ie,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function");ie.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ie,writable:!0,configurable:!0}}),Y&&c(ie,Y)}function c(ie,Y){return c=Object.setPrototypeOf||function(Ce,le){return Ce.__proto__=le,Ce},c(ie,Y)}function h(ie){var Y=S();return function(){var Ce=y(ie),le;if(Y){var ot=y(this).constructor;le=Reflect.construct(Ce,arguments,ot)}else le=Ce.apply(this,arguments);return f(this,le)}}function f(ie,Y){return Y&&(r(Y)==="object"||typeof Y=="function")?Y:g(ie)}function g(ie){if(ie===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ie}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(ie){return!1}}function y(ie){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(we){return we.__proto__||Object.getPrototypeOf(we)},y(ie)}var E=20;function C(ie){return"touches"in ie?ie.touches[0].pageY:ie.pageY}var T=function(ie){a(we,ie);var Y=h(we);function we(){var Ce;n(this,we);for(var le=arguments.length,ot=new Array(le),wt=0;wt<le;wt++)ot[wt]=arguments[wt];return Ce=Y.call.apply(Y,[this].concat(ot)),Ce.moveRaf=null,Ce.scrollbarRef=w.createRef(),Ce.thumbRef=w.createRef(),Ce.visibleTimeout=null,Ce.state={dragging:!1,pageY:null,startTop:null,visible:!1},Ce.delayHidden=function(){clearTimeout(Ce.visibleTimeout),Ce.setState({visible:!0}),Ce.visibleTimeout=setTimeout(function(){Ce.setState({visible:!1})},2e3)},Ce.onScrollbarTouchStart=function(rt){rt.preventDefault()},Ce.onContainerMouseDown=function(rt){rt.stopPropagation(),rt.preventDefault()},Ce.patchEvents=function(){window.addEventListener("mousemove",Ce.onMouseMove),window.addEventListener("mouseup",Ce.onMouseUp),Ce.thumbRef.current.addEventListener("touchmove",Ce.onMouseMove),Ce.thumbRef.current.addEventListener("touchend",Ce.onMouseUp)},Ce.removeEvents=function(){window.removeEventListener("mousemove",Ce.onMouseMove),window.removeEventListener("mouseup",Ce.onMouseUp),Ce.scrollbarRef.current.removeEventListener("touchstart",Ce.onScrollbarTouchStart),Ce.thumbRef.current.removeEventListener("touchstart",Ce.onMouseDown),Ce.thumbRef.current.removeEventListener("touchmove",Ce.onMouseMove),Ce.thumbRef.current.removeEventListener("touchend",Ce.onMouseUp),e.a.cancel(Ce.moveRaf)},Ce.onMouseDown=function(rt){var It=Ce.props.onStartMove;Ce.setState({dragging:!0,pageY:C(rt),startTop:Ce.getTop()}),It(),Ce.patchEvents(),rt.stopPropagation(),rt.preventDefault()},Ce.onMouseMove=function(rt){var It=Ce.state,Gt=It.dragging,lr=It.pageY,pr=It.startTop,Rr=Ce.props.onScroll;if(e.a.cancel(Ce.moveRaf),Gt){var xt=C(rt)-lr,Ot=pr+xt,At=Ce.getEnableScrollRange(),Jt=Ce.getEnableHeightRange(),br=Jt?Ot/Jt:0,Lr=Math.ceil(br*At);Ce.moveRaf=Object(e.a)(function(){Rr(Lr)})}},Ce.onMouseUp=function(){var rt=Ce.props.onStopMove;Ce.setState({dragging:!1}),rt(),Ce.removeEvents()},Ce.getSpinHeight=function(){var rt=Ce.props,It=rt.height,Gt=rt.count,lr=It/Gt*10;return lr=Math.max(lr,E),lr=Math.min(lr,It/2),Math.floor(lr)},Ce.getEnableScrollRange=function(){var rt=Ce.props,It=rt.scrollHeight,Gt=rt.height;return It-Gt||0},Ce.getEnableHeightRange=function(){var rt=Ce.props.height,It=Ce.getSpinHeight();return rt-It||0},Ce.getTop=function(){var rt=Ce.props.scrollTop,It=Ce.getEnableScrollRange(),Gt=Ce.getEnableHeightRange();if(rt===0||It===0)return 0;var lr=rt/It;return lr*Gt},Ce.showScroll=function(){var rt=Ce.props,It=rt.height,Gt=rt.scrollHeight;return Gt>It},Ce}return t(we,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(le){le.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var le=this.state,ot=le.dragging,wt=le.visible,rt=this.props.prefixCls,It=this.getSpinHeight(),Gt=this.getTop(),lr=this.showScroll(),pr=lr&&wt;return w.createElement("div",{ref:this.scrollbarRef,className:b()("".concat(rt,"-scrollbar"),i({},"".concat(rt,"-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:b()("".concat(rt,"-scrollbar-thumb"),i({},"".concat(rt,"-scrollbar-thumb-moving"),ot)),style:{width:"100%",height:It,top:Gt,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),we}(w.Component);function x(ie){var Y=ie.children,we=ie.setRef,Ce=w.useCallback(function(le){we(le)},[]);return w.cloneElement(Y,{ref:Ce})}function _(ie,Y,we,Ce,le,ot){var wt=ot.getKey;return ie.slice(Y,we+1).map(function(rt,It){var Gt=Y+It,lr=le(rt,Gt,{}),pr=wt(rt);return w.createElement(x,{key:pr,setRef:function(xt){return Ce(rt,xt)}},lr)})}var I=d("m+aA");function L(ie,Y){if(!(ie instanceof Y))throw new TypeError("Cannot call a class as a function")}function D(ie,Y){for(var we=0;we<Y.length;we++){var Ce=Y[we];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(ie,Ce.key,Ce)}}function B(ie,Y,we){return Y&&D(ie.prototype,Y),we&&D(ie,we),ie}var N=function(){function ie(){L(this,ie),this.maps=void 0,this.maps={},this.maps.prototype=null}return B(ie,[{key:"set",value:function(we,Ce){this.maps[we]=Ce}},{key:"get",value:function(we){return this.maps[we]}}]),ie}(),k=N;function W(ie,Y){return U(ie)||K(ie,Y)||j(ie,Y)||R()}function R(){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 j(ie,Y){if(!ie)return;if(typeof ie=="string")return H(ie,Y);var we=Object.prototype.toString.call(ie).slice(8,-1);if(we==="Object"&&ie.constructor&&(we=ie.constructor.name),we==="Map"||we==="Set")return Array.from(ie);if(we==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(we))return H(ie,Y)}function H(ie,Y){(Y==null||Y>ie.length)&&(Y=ie.length);for(var we=0,Ce=new Array(Y);we<Y;we++)Ce[we]=ie[we];return Ce}function K(ie,Y){var we=ie==null?null:typeof Symbol!="undefined"&&ie[Symbol.iterator]||ie["@@iterator"];if(we==null)return;var Ce=[],le=!0,ot=!1,wt,rt;try{for(we=we.call(ie);!(le=(wt=we.next()).done)&&!(Ce.push(wt.value),Y&&Ce.length===Y);le=!0);}catch(It){ot=!0,rt=It}finally{try{!le&&we.return!=null&&we.return()}finally{if(ot)throw rt}}return Ce}function U(ie){if(Array.isArray(ie))return ie}function Q(ie,Y,we){var Ce=w.useState(0),le=W(Ce,2),ot=le[0],wt=le[1],rt=Object(w.useRef)(new Map),It=Object(w.useRef)(new k),Gt=Object(w.useRef)(0);function lr(){Gt.current+=1;var Rr=Gt.current;Promise.resolve().then(function(){if(Rr!==Gt.current)return;rt.current.forEach(function(xt,Ot){if(xt&&xt.offsetParent){var At=Object(I.a)(xt),Jt=At.offsetHeight;It.current.get(Ot)!==Jt&&It.current.set(Ot,At.offsetHeight)}}),wt(function(xt){return xt+1})})}function pr(Rr,xt){var Ot=ie(Rr),At=rt.current.get(Ot);xt?(rt.current.set(Ot,xt),lr()):rt.current.delete(Ot),!At!==!xt&&(xt?Y==null||Y(Rr):we==null||we(Rr))}return[pr,lr,It.current,ot]}function V(ie){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?V=function(we){return typeof we}:V=function(we){return we&&typeof Symbol=="function"&&we.constructor===Symbol&&we!==Symbol.prototype?"symbol":typeof we},V(ie)}function J(ie,Y,we,Ce,le,ot,wt,rt){var It=w.useRef();return function(Gt){if(Gt==null){rt();return}if(e.a.cancel(It.current),typeof Gt=="number")wt(Gt);else if(Gt&&V(Gt)==="object"){var lr,pr=Gt.align;"index"in Gt?lr=Gt.index:lr=Y.findIndex(function(At){return le(At)===Gt.key});var Rr=Gt.offset,xt=Rr===void 0?0:Rr,Ot=function At(Jt,br){if(Jt<0||!ie.current)return;var Lr=ie.current.clientHeight,Zr=!1,In=br;if(Lr){for(var Gr=br||pr,Tr=0,fr=0,vt=0,ft=Math.min(Y.length,lr),De=0;De<=ft;De+=1){var je=le(Y[De]);fr=Tr;var Ye=we.get(je);vt=fr+(Ye===void 0?Ce:Ye),Tr=vt,De===lr&&Ye===void 0&&(Zr=!0)}var st=null;switch(Gr){case"top":st=fr-xt;break;case"bottom":st=vt-Lr+xt;break;default:{var kt=ie.current.scrollTop,$t=kt+Lr;fr<kt?In="top":vt>$t&&(In="bottom")}}st!==null&&st!==ie.current.scrollTop&&wt(st)}It.current=Object(e.a)(function(){Zr&&ot(),At(Jt-1,In)})};Ot(3)}}}function ae(ie,Y,we,Ce){var le=we-ie,ot=Y-we,wt=Math.min(le,ot)*2;if(Ce<=wt){var rt=Math.floor(Ce/2);return Ce%2?we+rt+1:we-rt}return le>ot?we-(Ce-ot):we+(Ce-le)}function se(ie,Y,we){var Ce=ie.length,le=Y.length,ot,wt;if(Ce===0&&le===0)return null;Ce<le?(ot=ie,wt=Y):(ot=Y,wt=ie);var rt={__EMPTY_ITEM__:!0};function It(Ot){return Ot!==void 0?we(Ot):rt}for(var Gt=null,lr=Math.abs(Ce-le)!==1,pr=0;pr<wt.length;pr+=1){var Rr=It(ot[pr]),xt=It(wt[pr]);if(Rr!==xt){Gt=pr,lr=lr||Rr!==It(wt[pr+1]);break}}return Gt===null?null:{index:Gt,multiple:lr}}function $(ie,Y){return Le(ie)||Se(ie,Y)||he(ie,Y)||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 he(ie,Y){if(!ie)return;if(typeof ie=="string")return Ie(ie,Y);var we=Object.prototype.toString.call(ie).slice(8,-1);if(we==="Object"&&ie.constructor&&(we=ie.constructor.name),we==="Map"||we==="Set")return Array.from(ie);if(we==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(we))return Ie(ie,Y)}function Ie(ie,Y){(Y==null||Y>ie.length)&&(Y=ie.length);for(var we=0,Ce=new Array(Y);we<Y;we++)Ce[we]=ie[we];return Ce}function Se(ie,Y){var we=ie==null?null:typeof Symbol!="undefined"&&ie[Symbol.iterator]||ie["@@iterator"];if(we==null)return;var Ce=[],le=!0,ot=!1,wt,rt;try{for(we=we.call(ie);!(le=(wt=we.next()).done)&&!(Ce.push(wt.value),Y&&Ce.length===Y);le=!0);}catch(It){ot=!0,rt=It}finally{try{!le&&we.return!=null&&we.return()}finally{if(ot)throw rt}}return Ce}function Le(ie){if(Array.isArray(ie))return ie}function He(ie,Y,we){var Ce=w.useState(ie),le=$(Ce,2),ot=le[0],wt=le[1],rt=w.useState(null),It=$(rt,2),Gt=It[0],lr=It[1];return w.useEffect(function(){var pr=se(ot||[],ie||[],Y);(pr==null?void 0:pr.index)!==void 0&&(we==null||we(pr.index),lr(ie[pr.index])),wt(ie)},[ie]),[Gt]}function G(ie){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?G=function(we){return typeof we}:G=function(we){return we&&typeof Symbol=="function"&&we.constructor===Symbol&&we!==Symbol.prototype?"symbol":typeof we},G(ie)}var pe=(typeof navigator=="undefined"?"undefined":G(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),We=pe,te=function(ie,Y){var we=Object(w.useRef)(!1),Ce=Object(w.useRef)(null);function le(){clearTimeout(Ce.current),we.current=!0,Ce.current=setTimeout(function(){we.current=!1},50)}var ot=Object(w.useRef)({top:ie,bottom:Y});return ot.current.top=ie,ot.current.bottom=Y,function(wt){var rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,It=wt<0&&ot.current.top||wt>0&&ot.current.bottom;return rt&&It?(clearTimeout(Ce.current),we.current=!1):(!It||we.current)&&le(),!we.current&&It}};function X(ie,Y,we,Ce){var le=Object(w.useRef)(0),ot=Object(w.useRef)(null),wt=Object(w.useRef)(null),rt=Object(w.useRef)(!1),It=te(Y,we);function Gt(pr){if(!ie)return;e.a.cancel(ot.current);var Rr=pr.deltaY;if(le.current+=Rr,wt.current=Rr,It(Rr))return;We||pr.preventDefault(),ot.current=Object(e.a)(function(){var xt=rt.current?10:1;Ce(le.current*xt),le.current=0})}function lr(pr){if(!ie)return;rt.current=pr.detail===wt.current}return[Gt,lr]}var z=14/15;function Z(ie,Y,we){var Ce=Object(w.useRef)(!1),le=Object(w.useRef)(0),ot=Object(w.useRef)(null),wt=Object(w.useRef)(null),rt,It=function(Rr){if(Ce.current){var xt=Math.ceil(Rr.touches[0].pageY),Ot=le.current-xt;le.current=xt,we(Ot)&&Rr.preventDefault(),clearInterval(wt.current),wt.current=setInterval(function(){Ot*=z,(!we(Ot,!0)||Math.abs(Ot)<=.1)&&clearInterval(wt.current)},16)}},Gt=function(){Ce.current=!1,rt()},lr=function(Rr){rt(),Rr.touches.length===1&&!Ce.current&&(Ce.current=!0,le.current=Math.ceil(Rr.touches[0].pageY),ot.current=Rr.target,ot.current.addEventListener("touchmove",It),ot.current.addEventListener("touchend",Gt))};rt=function(){ot.current&&(ot.current.removeEventListener("touchmove",It),ot.current.removeEventListener("touchend",Gt))},w.useLayoutEffect(function(){return ie&&Y.current.addEventListener("touchstart",lr),function(){Y.current.removeEventListener("touchstart",lr),rt(),clearInterval(wt.current)}},[ie])}var be=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function ne(){return ne=Object.assign||function(ie){for(var Y=1;Y<arguments.length;Y++){var we=arguments[Y];for(var Ce in we)Object.prototype.hasOwnProperty.call(we,Ce)&&(ie[Ce]=we[Ce])}return ie},ne.apply(this,arguments)}function Ae(ie,Y){var we=Object.keys(ie);if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(ie);Y&&(Ce=Ce.filter(function(le){return Object.getOwnPropertyDescriptor(ie,le).enumerable})),we.push.apply(we,Ce)}return we}function Ne(ie){for(var Y=1;Y<arguments.length;Y++){var we=arguments[Y]!=null?arguments[Y]:{};Y%2?Ae(Object(we),!0).forEach(function(Ce){oe(ie,Ce,we[Ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ie,Object.getOwnPropertyDescriptors(we)):Ae(Object(we)).forEach(function(Ce){Object.defineProperty(ie,Ce,Object.getOwnPropertyDescriptor(we,Ce))})}return ie}function oe(ie,Y,we){return Y in ie?Object.defineProperty(ie,Y,{value:we,enumerable:!0,configurable:!0,writable:!0}):ie[Y]=we,ie}function de(ie,Y){return Oe(ie)||Je(ie,Y)||Pe(ie,Y)||xe()}function xe(){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 Pe(ie,Y){if(!ie)return;if(typeof ie=="string")return tt(ie,Y);var we=Object.prototype.toString.call(ie).slice(8,-1);if(we==="Object"&&ie.constructor&&(we=ie.constructor.name),we==="Map"||we==="Set")return Array.from(ie);if(we==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(we))return tt(ie,Y)}function tt(ie,Y){(Y==null||Y>ie.length)&&(Y=ie.length);for(var we=0,Ce=new Array(Y);we<Y;we++)Ce[we]=ie[we];return Ce}function Je(ie,Y){var we=ie==null?null:typeof Symbol!="undefined"&&ie[Symbol.iterator]||ie["@@iterator"];if(we==null)return;var Ce=[],le=!0,ot=!1,wt,rt;try{for(we=we.call(ie);!(le=(wt=we.next()).done)&&!(Ce.push(wt.value),Y&&Ce.length===Y);le=!0);}catch(It){ot=!0,rt=It}finally{try{!le&&we.return!=null&&we.return()}finally{if(ot)throw rt}}return Ce}function Oe(ie){if(Array.isArray(ie))return ie}function pt(ie,Y){if(ie==null)return{};var we=Qe(ie,Y),Ce,le;if(Object.getOwnPropertySymbols){var ot=Object.getOwnPropertySymbols(ie);for(le=0;le<ot.length;le++){if(Ce=ot[le],Y.indexOf(Ce)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(ie,Ce))continue;we[Ce]=ie[Ce]}}return we}function Qe(ie,Y){if(ie==null)return{};var we={},Ce=Object.keys(ie),le,ot;for(ot=0;ot<Ce.length;ot++){if(le=Ce[ot],Y.indexOf(le)>=0)continue;we[le]=ie[le]}return we}var nt=[],bt={overflowY:"auto",overflowAnchor:"none"};function Tt(ie,Y){var we=ie.prefixCls,Ce=we===void 0?"rc-virtual-list":we,le=ie.className,ot=ie.height,wt=ie.itemHeight,rt=ie.fullHeight,It=rt===void 0?!0:rt,Gt=ie.style,lr=ie.data,pr=ie.children,Rr=ie.itemKey,xt=ie.virtual,Ot=ie.component,At=Ot===void 0?"div":Ot,Jt=ie.onScroll,br=ie.onVisibleChange,Lr=pt(ie,be),Zr=!!(xt!==!1&&ot&&wt),In=Zr&&lr&&wt*lr.length>ot,Gr=Object(w.useState)(0),Tr=de(Gr,2),fr=Tr[0],vt=Tr[1],ft=Object(w.useState)(!1),De=de(ft,2),je=De[0],Ye=De[1],st=b()(Ce,le),kt=lr||nt,$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=$e(jt);return $t.current.scrollTop=Sr,Sr})}var Mt=Object(w.useRef)({start:0,end:kt.length}),Zt=Object(w.useRef)(),kr=He(kt,un),Hr=de(kr,1),$r=Hr[0];Zt.current=$r;var Bt=Q(un,null,null),cr=de(Bt,4),Cr=cr[0],Br=cr[1],zr=cr[2],An=cr[3],bn=w.useMemo(function(){if(!Zr)return{scrollHeight:void 0,start:0,end:kt.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:kt.length-1,offset:void 0}}for(var gr=0,jt,Sr,Ar,sr=kt.length,ln=0;ln<sr;ln+=1){var _n=kt[ln],zn=un(_n),Nn=zr.get(zn),Fn=gr+(Nn===void 0?wt:Nn);Fn>=fr&&jt===void 0&&(jt=ln,Sr=gr),Fn>fr+ot&&Ar===void 0&&(Ar=ln),gr=Fn}return jt===void 0&&(jt=0,Sr=0),Ar===void 0&&(Ar=kt.length-1),Ar=Math.min(Ar+1,kt.length),{scrollHeight:gr,start:jt,end:Ar,offset:Sr}},[In,Zr,fr,kt,An,ot]),Sn=bn.scrollHeight,Mn=bn.start,ei=bn.end,Zn=bn.offset;Mt.current.start=Mn,Mt.current.end=ei;var ai=Sn-ot,ii=Object(w.useRef)(ai);ii.current=ai;function $e(_t){var gr=_t;return Number.isNaN(ii.current)||(gr=Math.min(gr,ii.current)),gr=Math.max(gr,0),gr}var Te=fr<=0,ke=fr>=ai,Me=te(Te,ke);function Ze(_t){var gr=_t;St(gr)}function Xe(_t){var gr=_t.currentTarget.scrollTop;gr!==fr&&St(gr),Jt==null||Jt(_t)}var qe=X(Zr,Te,ke,function(_t){St(function(gr){var jt=gr+_t;return jt})}),mt=de(qe,2),ht=mt[0],Vt=mt[1];Z(Zr,$t,function(_t,gr){return Me(_t,gr)?!1:(ht({preventDefault:function(){},deltaY:_t}),!0)}),Object(w.useLayoutEffect)(function(){function _t(gr){Zr&&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)}},[Zr]);var dr=J($t,kt,zr,wt,un,Br,St,function(){var _t;(_t=yn.current)===null||_t===void 0||_t.delayHidden()});w.useImperativeHandle(Y,function(){return{scrollTo:dr}}),Object(w.useLayoutEffect)(function(){if(br){var _t=kt.slice(Mn,ei+1);br(_t,kt)}},[Mn,ei,kt]);var tr=_(kt,Mn,ei,Cr,pr,Kt),ir=null;return ot&&(ir=Ne(oe({},It?"height":"maxHeight",ot),bt),Zr&&(ir.overflowY="hidden",je&&(ir.pointerEvents="none"))),w.createElement("div",ne({style:Ne(Ne({},Gt),{},{position:"relative"}),className:st},Lr),w.createElement(At,{className:"".concat(Ce,"-holder"),style:ir,ref:$t,onScroll:Xe},w.createElement(o,{prefixCls:Ce,height:Sn,offset:Zn,onInnerResize:Br,ref:Nr},tr)),Zr&&w.createElement(T,{ref:yn,prefixCls:Ce,scrollTop:fr,height:ot,scrollHeight:Sn,count:kt.length,onScroll:Ze,onStartMove:function(){Ye(!0)},onStopMove:function(){Ye(!1)}}))}var Ct=w.forwardRef(Tt);Ct.displayName="List";var Nt=Ct,Ge=P.a=Nt},"+rIm":function(M,P,d){var w=d("bYtY"),A=w.retrieve,b=w.defaults,m=w.extend,v=w.each,p=d("7aKB"),s=d("IwbS"),u=d("Qxkt"),o=d("OELB"),e=o.isRadianAroundZero,r=o.remRadian,i=d("oVpE"),n=i.createSymbol,l=d("Fofx"),t=d("QBsz"),a=t.applyTransform,c=d("aX7z"),h=c.shouldShowAllLabels,f=Math.PI,g=function(R,j){this.opt=j,this.axisModel=R,b(j,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new s.Group;var H=new s.Group({position:j.position.slice(),rotation:j.rotation});H.updateTransform(),this._transform=H.transform,this._dumbGroup=H};g.prototype={constructor:g,hasBuilder:function(R){return!!S[R]},add:function(R){S[R].call(this)},getGroup:function(){return this.group}};var S={axisLine:function(){var R=this.opt,j=this.axisModel;if(!j.get("axisLine.show"))return;var H=this.axisModel.axis.getExtent(),K=this._transform,U=[H[0],0],Q=[H[1],0];K&&(a(U,U,K),a(Q,Q,K));var V=m({lineCap:"round"},j.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new s.Line({anid:"line",subPixelOptimize:!0,shape:{x1:U[0],y1:U[1],x2:Q[0],y2:Q[1]},style:V,strokeContainThreshold:R.strokeContainThreshold||5,silent:!0,z2:1}));var J=j.get("axisLine.symbol"),ae=j.get("axisLine.symbolSize"),se=j.get("axisLine.symbolOffset")||0;if(typeof se=="number"&&(se=[se,se]),J!=null){typeof J=="string"&&(J=[J,J]),(typeof ae=="string"||typeof ae=="number")&&(ae=[ae,ae]);var $=ae[0],ge=ae[1];v([{rotate:R.rotation+Math.PI/2,offset:se[0],r:0},{rotate:R.rotation-Math.PI/2,offset:se[1],r:Math.sqrt((U[0]-Q[0])*(U[0]-Q[0])+(U[1]-Q[1])*(U[1]-Q[1]))}],function(he,Ie){if(J[Ie]!=="none"&&J[Ie]!=null){var Se=n(J[Ie],-$/2,-ge/2,$,ge,V.stroke,!0),Le=he.r+he.offset,He=[U[0]+Le*Math.cos(R.rotation),U[1]-Le*Math.sin(R.rotation)];Se.attr({rotation:he.rotate,position:He,silent:!0,z2:11}),this.group.add(Se)}},this)}},axisTickLabel:function(){var R=this.axisModel,j=this.opt,H=B(this,R,j),K=k(this,R,j);x(R,K,H),N(this,R,j)},axisName:function(){var R=this.opt,j=this.axisModel,H=A(R.axisName,j.get("name"));if(!H)return;var K=j.get("nameLocation"),U=R.nameDirection,Q=j.getModel("nameTextStyle"),V=j.get("nameGap")||0,J=this.axisModel.axis.getExtent(),ae=J[0]>J[1]?-1:1,se=[K==="start"?J[0]-ae*V:K==="end"?J[1]+ae*V:(J[0]+J[1])/2,L(K)?R.labelOffset+U*V:0],$,ge=j.get("nameRotate");ge!=null&&(ge=ge*f/180);var he;L(K)?$=E(R.rotation,ge!=null?ge:R.rotation,U):($=C(R,K,ge||0,J),he=R.axisNameAvailableWidth,he!=null&&(he=Math.abs(he/Math.sin($.rotation)),!isFinite(he)&&(he=null)));var Ie=Q.getFont(),Se=j.get("nameTruncate",!0)||{},Le=Se.ellipsis,He=A(R.nameTruncateMaxWidth,Se.maxWidth,he),G=Le!=null&&He!=null?p.truncateText(H,He,Ie,Le,{minChar:2,placeholder:Se.placeholder}):H,pe=j.get("tooltip",!0),We=j.mainType,te={componentType:We,name:H,$vars:["name"]};te[We+"Index"]=j.componentIndex;var X=new s.Text({anid:"name",__fullText:H,__truncatedText:G,position:se,rotation:$.rotation,silent:T(j),z2:1,tooltip:pe&&pe.show?m({content:H,formatter:function(){return H},formatterParams:te},pe):null});s.setTextStyle(X.style,Q,{text:G,textFont:Ie,textFill:Q.getTextColor()||j.get("axisLine.lineStyle.color"),textAlign:Q.get("align")||$.textAlign,textVerticalAlign:Q.get("verticalAlign")||$.textVerticalAlign}),j.get("triggerEvent")&&(X.eventData=y(j),X.eventData.targetType="axisName",X.eventData.name=H),this._dumbGroup.add(X),X.updateTransform(),this.group.add(X),X.decomposeTransform()}},y=g.makeAxisEventDataBase=function(R){var j={componentType:R.mainType,componentIndex:R.componentIndex};return j[R.mainType+"Index"]=R.componentIndex,j},E=g.innerTextLayout=function(R,j,H){var K=r(j-R),U,Q;return e(K)?(Q=H>0?"top":"bottom",U="center"):e(K-f)?(Q=H>0?"bottom":"top",U="center"):(Q="middle",K>0&&K<f?U=H>0?"right":"left":U=H>0?"left":"right"),{rotation:K,textAlign:U,textVerticalAlign:Q}};function C(R,j,H,K){var U=r(H-R.rotation),Q,V,J=K[0]>K[1],ae=j==="start"&&!J||j!=="start"&&J;return e(U-f/2)?(V=ae?"bottom":"top",Q="center"):e(U-f*1.5)?(V=ae?"top":"bottom",Q="center"):(V="middle",U<f*1.5&&U>f/2?Q=ae?"left":"right":Q=ae?"right":"left"),{rotation:U,textAlign:Q,textVerticalAlign:V}}var T=g.isLabelSilent=function(R){var j=R.get("tooltip");return R.get("silent")||!(R.get("triggerEvent")||j&&j.show)};function x(R,j,H){if(h(R.axis))return;var K=R.get("axisLabel.showMinLabel"),U=R.get("axisLabel.showMaxLabel");j=j||[],H=H||[];var Q=j[0],V=j[1],J=j[j.length-1],ae=j[j.length-2],se=H[0],$=H[1],ge=H[H.length-1],he=H[H.length-2];K===!1?(_(Q),_(se)):I(Q,V)&&(K?(_(V),_($)):(_(Q),_(se))),U===!1?(_(J),_(ge)):I(ae,J)&&(U?(_(ae),_(he)):(_(J),_(ge)))}function _(R){R&&(R.ignore=!0)}function I(R,j,H){var K=R&&R.getBoundingRect().clone(),U=j&&j.getBoundingRect().clone();if(!K||!U)return;var Q=l.identity([]);return l.rotate(Q,Q,-R.rotation),K.applyTransform(l.mul([],Q,R.getLocalTransform())),U.applyTransform(l.mul([],Q,j.getLocalTransform())),K.intersect(U)}function L(R){return R==="middle"||R==="center"}function D(R,j,H,K,U){for(var Q=[],V=[],J=[],ae=0;ae<R.length;ae++){var se=R[ae].coord;V[0]=se,V[1]=0,J[0]=se,J[1]=H,j&&(a(V,V,j),a(J,J,j));var $=new s.Line({anid:U+"_"+R[ae].tickValue,subPixelOptimize:!0,shape:{x1:V[0],y1:V[1],x2:J[0],y2:J[1]},style:K,z2:2,silent:!0});Q.push($)}return Q}function B(R,j,H){var K=j.axis,U=j.getModel("axisTick");if(!U.get("show")||K.scale.isBlank())return;for(var Q=U.getModel("lineStyle"),V=H.tickDirection*U.get("length"),J=K.getTicksCoords(),ae=D(J,R._transform,V,b(Q.getLineStyle(),{stroke:j.get("axisLine.lineStyle.color")}),"ticks"),se=0;se<ae.length;se++)R.group.add(ae[se]);return ae}function N(R,j,H){var K=j.axis,U=j.getModel("minorTick");if(!U.get("show")||K.scale.isBlank())return;var Q=K.getMinorTicksCoords();if(!Q.length)return;for(var V=U.getModel("lineStyle"),J=H.tickDirection*U.get("length"),ae=b(V.getLineStyle(),b(j.getModel("axisTick").getLineStyle(),{stroke:j.get("axisLine.lineStyle.color")})),se=0;se<Q.length;se++)for(var $=D(Q[se],R._transform,J,ae,"minorticks_"+se),ge=0;ge<$.length;ge++)R.group.add($[ge])}function k(R,j,H){var K=j.axis,U=A(H.axisLabelShow,j.get("axisLabel.show"));if(!U||K.scale.isBlank())return;var Q=j.getModel("axisLabel"),V=Q.get("margin"),J=K.getViewLabels(),ae=(A(H.labelRotate,Q.get("rotate"))||0)*f/180,se=E(H.rotation,ae,H.labelDirection),$=j.getCategories&&j.getCategories(!0),ge=[],he=T(j),Ie=j.get("triggerEvent");return v(J,function(Se,Le){var He=Se.tickValue,G=Se.formattedLabel,pe=Se.rawLabel,We=Q;$&&$[He]&&$[He].textStyle&&(We=new u($[He].textStyle,Q,j.ecModel));var te=We.getTextColor()||j.get("axisLine.lineStyle.color"),X=K.dataToCoord(He),z=[X,H.labelOffset+H.labelDirection*V],Z=new s.Text({anid:"label_"+He,position:z,rotation:se.rotation,silent:he,z2:10});s.setTextStyle(Z.style,We,{text:G,textAlign:We.getShallow("align",!0)||se.textAlign,textVerticalAlign:We.getShallow("verticalAlign",!0)||We.getShallow("baseline",!0)||se.textVerticalAlign,textFill:typeof te=="function"?te(K.type==="category"?pe:K.type==="value"?He+"":He,Le):te}),Ie&&(Z.eventData=y(j),Z.eventData.targetType="axisLabel",Z.eventData.value=pe),R._dumbGroup.add(Z),Z.updateTransform(),ge.push(Z),R.group.add(Z),Z.decomposeTransform()}),ge}var W=g;M.exports=W},"+wW9":function(M,P,d){var w=d("bYtY"),A=w.each,b=w.isArray,m=w.isObject,v=d("JuEJ"),p=d("4NO4"),s=p.normalizeToArray;function u(l,t){t=t.split(",");for(var a=l,c=0;c<t.length&&!(a=a&&a[t[c]],a==null);c++);return a}function o(l,t,a,c){t=t.split(",");for(var h=l,f,g=0;g<t.length-1;g++)f=t[g],h[f]==null&&(h[f]={}),h=h[f];(c||h[t[g]]==null)&&(h[t[g]]=a)}function e(l){A(r,function(t){t[0]in l&&!(t[1]in l)&&(l[t[1]]=l[t[0]])})}var r=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],i=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function n(l,t){v(l,t),l.series=s(l.series),A(l.series,function(a){if(!m(a))return;var c=a.type;if(c==="line")a.clipOverflow!=null&&(a.clip=a.clipOverflow);else if(c==="pie"||c==="gauge")a.clockWise!=null&&(a.clockwise=a.clockWise);else if(c==="gauge"){var h=u(a,"pointer.color");h!=null&&o(a,"itemStyle.color",h)}e(a)}),l.dataRange&&(l.visualMap=l.dataRange),A(i,function(a){var c=l[a];c&&(b(c)||(c=[c]),A(c,function(h){e(h)}))})}M.exports=n},"/IIm":function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=d("H6uX"),v=d("IwbS"),p=d("pP6R"),s=d("gPAo"),u=b.curry,o=b.each,e=b.map,r=Math.min,i=Math.max,n=Math.pow,l=1e4,t=6,a=6,c="globalPan",h={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},f={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},g={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 y(oe){m.call(this),this._zr=oe,this.group=new v.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+S++,this._handlers={},o(z,function(de,xe){this._handlers[xe]=b.bind(de,this)},this)}y.prototype={constructor:y,enableBrush:function(oe){return this._brushType&&C(this),oe.brushType&&E(this,oe),this},setPanels:function(oe){if(oe&&oe.length){var de=this._panels={};b.each(oe,function(xe){de[xe.panelId]=b.clone(xe)})}else this._panels=null;return this},mount:function(oe){oe=oe||{},this._enableGlobalPan=oe.enableGlobalPan;var de=this.group;return this._zr.add(de),de.attr({position:oe.position||[0,0],rotation:oe.rotation||0,scale:oe.scale||[1,1]}),this._transform=de.getLocalTransform(),this},eachCover:function(oe,de){o(this._covers,oe,de)},updateCovers:function(oe){oe=b.map(oe,function(bt){return b.merge(b.clone(g),bt,!0)});var de="\0-brush-index-",xe=this._covers,Pe=this._covers=[],tt=this,Je=this._creatingCover;return new s(xe,oe,pt,Oe).add(Qe).update(Qe).remove(nt).execute(),this;function Oe(bt,Tt){return(bt.id!=null?bt.id:de+Tt)+"-"+bt.brushType}function pt(bt,Tt){return Oe(bt.__brushOption,Tt)}function Qe(bt,Tt){var Ct=oe[bt];if(Tt!=null&&xe[Tt]===Je)Pe[bt]=xe[Tt];else{var Nt=Pe[bt]=Tt!=null?(xe[Tt].__brushOption=Ct,xe[Tt]):I(tt,_(tt,Ct));B(tt,Nt)}}function nt(bt){xe[bt]!==Je&&tt.group.remove(xe[bt])}},unmount:function(){return this.enableBrush(!1),R(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},b.mixin(y,m);function E(oe,de){var xe=oe._zr;oe._enableGlobalPan||p.take(xe,c,oe._uid),T(xe,oe._handlers),oe._brushType=de.brushType,oe._brushOption=b.merge(b.clone(g),de,!0)}function C(oe){var de=oe._zr;p.release(de,c,oe._uid),x(de,oe._handlers),oe._brushType=oe._brushOption=null}function T(oe,de){o(de,function(xe,Pe){oe.on(Pe,xe)})}function x(oe,de){o(de,function(xe,Pe){oe.off(Pe,xe)})}function _(oe,de){var xe=ne[de.brushType].createCover(oe,de);return xe.__brushOption=de,D(xe,de),oe.group.add(xe),xe}function I(oe,de){var xe=N(de);return xe.endCreating&&(xe.endCreating(oe,de),D(de,de.__brushOption)),de}function L(oe,de){var xe=de.__brushOption;N(de).updateCoverShape(oe,de,xe.range,xe)}function D(oe,de){var xe=de.z;xe==null&&(xe=l),oe.traverse(function(Pe){Pe.z=xe,Pe.z2=xe})}function B(oe,de){N(de).updateCommon(oe,de),L(oe,de)}function N(oe){return ne[oe.__brushOption.brushType]}function k(oe,de,xe){var Pe=oe._panels;if(!Pe)return!0;var tt,Je=oe._transform;return o(Pe,function(Oe){Oe.isTargetByCursor(de,xe,Je)&&(tt=Oe)}),tt}function W(oe,de){var xe=oe._panels;if(!xe)return!0;var Pe=de.__brushOption.panelId;return Pe!=null?xe[Pe]:!0}function R(oe){var de=oe._covers,xe=de.length;return o(de,function(Pe){oe.group.remove(Pe)},oe),de.length=0,!!xe}function j(oe,de){var xe=e(oe._covers,function(Pe){var tt=Pe.__brushOption,Je=b.clone(tt.range);return{brushType:tt.brushType,panelId:tt.panelId,range:Je}});oe.trigger("brush",xe,{isEnd:!!de.isEnd,removeOnClick:!!de.removeOnClick})}function H(oe){var de=oe._track;if(!de.length)return!1;var xe=de[de.length-1],Pe=de[0],tt=xe[0]-Pe[0],Je=xe[1]-Pe[1],Oe=n(tt*tt+Je*Je,.5);return Oe>t}function K(oe){var de=oe.length-1;return de<0&&(de=0),[oe[0],oe[de]]}function U(oe,de,xe,Pe){var tt=new v.Group;return tt.add(new v.Rect({name:"main",style:ae(xe),silent:!0,draggable:!0,cursor:"move",drift:u(oe,de,tt,"nswe"),ondragend:u(j,de,{isEnd:!0})})),o(Pe,function(Je){tt.add(new v.Rect({name:Je,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:u(oe,de,tt,Je),ondragend:u(j,de,{isEnd:!0})}))}),tt}function Q(oe,de,xe,Pe){var tt=Pe.brushStyle.lineWidth||0,Je=i(tt,a),Oe=xe[0][0],pt=xe[1][0],Qe=Oe-tt/2,nt=pt-tt/2,bt=xe[0][1],Tt=xe[1][1],Ct=bt-Je+tt/2,Nt=Tt-Je+tt/2,Ge=bt-Oe,ie=Tt-pt,Y=Ge+tt,we=ie+tt;J(oe,de,"main",Oe,pt,Ge,ie),Pe.transformable&&(J(oe,de,"w",Qe,nt,Je,we),J(oe,de,"e",Ct,nt,Je,we),J(oe,de,"n",Qe,nt,Y,Je),J(oe,de,"s",Qe,Nt,Y,Je),J(oe,de,"nw",Qe,nt,Je,Je),J(oe,de,"ne",Ct,nt,Je,Je),J(oe,de,"sw",Qe,Nt,Je,Je),J(oe,de,"se",Ct,Nt,Je,Je))}function V(oe,de){var xe=de.__brushOption,Pe=xe.transformable,tt=de.childAt(0);tt.useStyle(ae(xe)),tt.attr({silent:!Pe,cursor:Pe?"move":"default"}),o(["w","e","n","s","se","sw","ne","nw"],function(Je){var Oe=de.childOfName(Je),pt=ge(oe,Je);Oe&&Oe.attr({silent:!Pe,invisible:!Pe,cursor:Pe?f[pt]+"-resize":null})})}function J(oe,de,xe,Pe,tt,Je,Oe){var pt=de.childOfName(xe);pt&&pt.setShape(He(Le(oe,de,[[Pe,tt],[Pe+Je,tt+Oe]])))}function ae(oe){return b.defaults({strokeNoScale:!0},oe.brushStyle)}function se(oe,de,xe,Pe){var tt=[r(oe,xe),r(de,Pe)],Je=[i(oe,xe),i(de,Pe)];return[[tt[0],Je[0]],[tt[1],Je[1]]]}function $(oe){return v.getTransform(oe.group)}function ge(oe,de){if(de.length>1){de=de.split("");var xe=[ge(oe,de[0]),ge(oe,de[1])];return(xe[0]==="e"||xe[0]==="w")&&xe.reverse(),xe.join("")}else{var Pe={w:"left",e:"right",n:"top",s:"bottom"},tt={left:"w",right:"e",top:"n",bottom:"s"},xe=v.transformDirection(Pe[de],$(oe));return tt[xe]}}function he(oe,de,xe,Pe,tt,Je,Oe,pt){var Qe=Pe.__brushOption,nt=oe(Qe.range),bt=Se(xe,Je,Oe);o(tt.split(""),function(Tt){var Ct=h[Tt];nt[Ct[0]][Ct[1]]+=bt[Ct[0]]}),Qe.range=de(se(nt[0][0],nt[1][0],nt[0][1],nt[1][1])),B(xe,Pe),j(xe,{isEnd:!1})}function Ie(oe,de,xe,Pe,tt){var Je=de.__brushOption.range,Oe=Se(oe,xe,Pe);o(Je,function(pt){pt[0]+=Oe[0],pt[1]+=Oe[1]}),B(oe,de),j(oe,{isEnd:!1})}function Se(oe,de,xe){var Pe=oe.group,tt=Pe.transformCoordToLocal(de,xe),Je=Pe.transformCoordToLocal(0,0);return[tt[0]-Je[0],tt[1]-Je[1]]}function Le(oe,de,xe){var Pe=W(oe,de);return Pe&&Pe!==!0?Pe.clipPath(xe,oe._transform):b.clone(xe)}function He(oe){var de=r(oe[0][0],oe[1][0]),xe=r(oe[0][1],oe[1][1]),Pe=i(oe[0][0],oe[1][0]),tt=i(oe[0][1],oe[1][1]);return{x:de,y:xe,width:Pe-de,height:tt-xe}}function G(oe,de,xe){if(!oe._brushType||be(oe,de))return;var Pe=oe._zr,tt=oe._covers,Je=k(oe,de,xe);if(!oe._dragging)for(var Oe=0;Oe<tt.length;Oe++){var pt=tt[Oe].__brushOption;if(Je&&(Je===!0||pt.panelId===Je.panelId)&&ne[pt.brushType].contain(tt[Oe],xe[0],xe[1]))return}Je&&Pe.setCursorStyle("crosshair")}function pe(oe){var de=oe.event;de.preventDefault&&de.preventDefault()}function We(oe,de,xe){return oe.childOfName("main").contain(de,xe)}function te(oe,de,xe,Pe){var tt=oe._creatingCover,Je=oe._creatingPanel,Oe=oe._brushOption,pt;if(oe._track.push(xe.slice()),H(oe)||tt){if(Je&&!tt){Oe.brushMode==="single"&&R(oe);var Qe=b.clone(Oe);Qe.brushType=X(Qe.brushType,Je),Qe.panelId=Je===!0?null:Je.panelId,tt=oe._creatingCover=_(oe,Qe),oe._covers.push(tt)}if(tt){var nt=ne[X(oe._brushType,Je)],bt=tt.__brushOption;bt.range=nt.getCreatingRange(Le(oe,tt,oe._track)),Pe&&(I(oe,tt),nt.updateCommon(oe,tt)),L(oe,tt),pt={isEnd:Pe}}}else Pe&&Oe.brushMode==="single"&&Oe.removeOnClick&&(k(oe,de,xe)&&R(oe)&&(pt={isEnd:Pe,removeOnClick:!0}));return pt}function X(oe,de){return oe==="auto"?de.defaultBrushType:oe}var z={mousedown:function(oe){if(this._dragging)Z(this,oe);else if(!oe.target||!oe.target.draggable){pe(oe);var de=this.group.transformCoordToLocal(oe.offsetX,oe.offsetY);this._creatingCover=null;var xe=this._creatingPanel=k(this,oe,de);xe&&(this._dragging=!0,this._track=[de.slice()])}},mousemove:function(oe){var de=oe.offsetX,xe=oe.offsetY,Pe=this.group.transformCoordToLocal(de,xe);if(G(this,oe,Pe),this._dragging){pe(oe);var tt=te(this,oe,Pe,!1);tt&&j(this,tt)}},mouseup:function(oe){Z(this,oe)}};function Z(oe,de){if(oe._dragging){pe(de);var xe=de.offsetX,Pe=de.offsetY,tt=oe.group.transformCoordToLocal(xe,Pe),Je=te(oe,de,tt,!0);oe._dragging=!1,oe._track=[],oe._creatingCover=null,Je&&j(oe,Je)}}function be(oe,de,xe){var Pe=oe._zr;return de<0||de>Pe.getWidth()||xe<0||xe>Pe.getHeight()}var ne={lineX:Ae(0),lineY:Ae(1),rect:{createCover:function(oe,de){return U(u(he,function(xe){return xe},function(xe){return xe}),oe,de,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(oe){var de=K(oe);return se(de[1][0],de[1][1],de[0][0],de[0][1])},updateCoverShape:function(oe,de,xe,Pe){Q(oe,de,xe,Pe)},updateCommon:V,contain:We},polygon:{createCover:function(oe,de){var xe=new v.Group;return xe.add(new v.Polyline({name:"main",style:ae(de),silent:!0})),xe},getCreatingRange:function(oe){return oe},endCreating:function(oe,de){de.remove(de.childAt(0)),de.add(new v.Polygon({name:"main",draggable:!0,drift:u(Ie,oe,de),ondragend:u(j,oe,{isEnd:!0})}))},updateCoverShape:function(oe,de,xe,Pe){de.childAt(0).setShape({points:Le(oe,de,xe)})},updateCommon:V,contain:We}};function Ae(oe){return{createCover:function(de,xe){return U(u(he,function(Pe){var tt=[Pe,[0,100]];return oe&&tt.reverse(),tt},function(Pe){return Pe[oe]}),de,xe,[["w","e"],["n","s"]][oe])},getCreatingRange:function(de){var xe=K(de),Pe=r(xe[0][oe],xe[1][oe]),tt=i(xe[0][oe],xe[1][oe]);return[Pe,tt]},updateCoverShape:function(de,xe,Pe,tt){var Je,Oe=W(de,xe);if(Oe!==!0&&Oe.getLinearBrushOtherExtent)Je=Oe.getLinearBrushOtherExtent(oe,de._transform);else{var pt=de._zr;Je=[0,[pt.getWidth(),pt.getHeight()][1-oe]]}var Qe=[Pe,Je];oe&&Qe.reverse(),Q(de,xe,Qe,tt)},updateCommon:V,contain:We}}var Ne=y;M.exports=Ne},"/MfK":function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="DeleteOutlined";var s=P.a=A.forwardRef(p)},"/POA":function(M,P,d){!function(w,A){if(!0)M.exports=A();else var b,m}(window,function(){return function(w){var A={};function b(m){if(A[m])return A[m].exports;var v=A[m]={i:m,l:!1,exports:{}};return w[m].call(v.exports,v,v.exports,b),v.l=!0,v.exports}return b.m=w,b.c=A,b.d=function(m,v,p){b.o(m,v)||Object.defineProperty(m,v,{enumerable:!0,get:p})},b.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},b.t=function(m,v){if(1&v&&(m=b(m)),8&v)return m;if(4&v&&typeof m=="object"&&m&&m.__esModule)return m;var p=Object.create(null);if(b.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:m}),2&v&&typeof m!="string")for(var s in m)b.d(p,s,function(u){return m[u]}.bind(null,s));return p},b.n=function(m){var v=m&&m.__esModule?function(){return m.default}:function(){return m};return b.d(v,"a",v),v},b.o=function(m,v){return Object.prototype.hasOwnProperty.call(m,v)},b.p="",b(b.s=34)}([function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.forwardEvent=A.EventEmitter=void 0;var m=function(){function v(){this._listeners=[],this._disposed=!1}return Object.defineProperty(v.prototype,"event",{get:function(){var s=this;return this._event||(this._event=function(u){return s._listeners.push(u),{dispose:function(){if(!s._disposed){for(var e=0;e<s._listeners.length;e++)if(s._listeners[e]===u)return void s._listeners.splice(e,1)}}}}),this._event},enumerable:!1,configurable:!0}),v.prototype.fire=function(p,s){for(var u=[],o=0;o<this._listeners.length;o++)u.push(this._listeners[o]);for(o=0;o<u.length;o++)u[o].call(void 0,p,s)},v.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},v}();A.EventEmitter=m,A.forwardEvent=function(v,p){return v(function(s){return p.fire(s)})}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.IUnicodeService=A.IOptionsService=A.ILogService=A.IInstantiationService=A.IDirtyRowService=A.ICharsetService=A.ICoreService=A.ICoreMouseService=A.IBufferService=void 0;var m=b(14);A.IBufferService=m.createDecorator("BufferService"),A.ICoreMouseService=m.createDecorator("CoreMouseService"),A.ICoreService=m.createDecorator("CoreService"),A.ICharsetService=m.createDecorator("CharsetService"),A.IDirtyRowService=m.createDecorator("DirtyRowService"),A.IInstantiationService=m.createDecorator("InstantiationService"),A.ILogService=m.createDecorator("LogService"),A.IOptionsService=m.createDecorator("OptionsService"),A.IUnicodeService=m.createDecorator("UnicodeService")},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.getDisposeArrayDisposable=A.disposeArray=A.Disposable=void 0;var m=function(){function p(){this._disposables=[],this._isDisposed=!1}return p.prototype.dispose=function(){this._isDisposed=!0;for(var s=0,u=this._disposables;s<u.length;s++)u[s].dispose();this._disposables.length=0},p.prototype.register=function(s){return this._disposables.push(s),s},p.prototype.unregister=function(s){var u=this._disposables.indexOf(s);u!==-1&&this._disposables.splice(u,1)},p}();function v(p){for(var s=0,u=p;s<u.length;s++)u[s].dispose();p.length=0}A.Disposable=m,A.disposeArray=v,A.getDisposeArrayDisposable=function(p){return{dispose:function(){return v(p)}}}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.WHITESPACE_CELL_CODE=A.WHITESPACE_CELL_WIDTH=A.WHITESPACE_CELL_CHAR=A.NULL_CELL_CODE=A.NULL_CELL_WIDTH=A.NULL_CELL_CHAR=A.CHAR_DATA_CODE_INDEX=A.CHAR_DATA_WIDTH_INDEX=A.CHAR_DATA_CHAR_INDEX=A.CHAR_DATA_ATTR_INDEX=A.DEFAULT_ATTR=A.DEFAULT_COLOR=void 0,A.DEFAULT_COLOR=256,A.DEFAULT_ATTR=256|A.DEFAULT_COLOR<<9,A.CHAR_DATA_ATTR_INDEX=0,A.CHAR_DATA_CHAR_INDEX=1,A.CHAR_DATA_WIDTH_INDEX=2,A.CHAR_DATA_CODE_INDEX=3,A.NULL_CELL_CHAR="",A.NULL_CELL_WIDTH=1,A.NULL_CELL_CODE=0,A.WHITESPACE_CELL_CHAR=" ",A.WHITESPACE_CELL_WIDTH=1,A.WHITESPACE_CELL_CODE=32},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(r,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var t in l)l.hasOwnProperty(t)&&(n[t]=l[t])})(r,i)},function(e,r){function i(){this.constructor=e}m(e,r),e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)});Object.defineProperty(A,"__esModule",{value:!0}),A.CellData=void 0;var p=b(8),s=b(3),u=b(6),o=function(e){function r(){var i=e!==null&&e.apply(this,arguments)||this;return i.content=0,i.fg=0,i.bg=0,i.extended=new u.ExtendedAttrs,i.combinedData="",i}return v(r,e),r.fromCharData=function(i){var n=new r;return n.setFromCharData(i),n},r.prototype.isCombined=function(){return 2097152&this.content},r.prototype.getWidth=function(){return this.content>>22},r.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?p.stringFromCodePoint(2097151&this.content):""},r.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},r.prototype.setFromCharData=function(i){this.fg=i[s.CHAR_DATA_ATTR_INDEX],this.bg=0;var n=!1;if(i[s.CHAR_DATA_CHAR_INDEX].length>2)n=!0;else if(i[s.CHAR_DATA_CHAR_INDEX].length===2){var l=i[s.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=l&&l<=56319){var t=i[s.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=t&&t<=57343?this.content=1024*(l-55296)+t-56320+65536|i[s.CHAR_DATA_WIDTH_INDEX]<<22:n=!0}else n=!0}else this.content=i[s.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|i[s.CHAR_DATA_WIDTH_INDEX]<<22;n&&(this.combinedData=i[s.CHAR_DATA_CHAR_INDEX],this.content=2097152|i[s.CHAR_DATA_WIDTH_INDEX]<<22)},r.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},r}(u.AttributeData);A.CellData=o},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ISoundService=A.ISelectionService=A.IRenderService=A.IMouseService=A.ICoreBrowserService=A.ICharSizeService=void 0;var m=b(14);A.ICharSizeService=m.createDecorator("CharSizeService"),A.ICoreBrowserService=m.createDecorator("CoreBrowserService"),A.IMouseService=m.createDecorator("MouseService"),A.IRenderService=m.createDecorator("RenderService"),A.ISelectionService=m.createDecorator("SelectionService"),A.ISoundService=m.createDecorator("SoundService")},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ExtendedAttrs=A.AttributeData=void 0;var m=function(){function p(){this.fg=0,this.bg=0,this.extended=new v}return p.toColorRGB=function(s){return[s>>>16&255,s>>>8&255,255&s]},p.fromColorRGB=function(s){return(255&s[0])<<16|(255&s[1])<<8|255&s[2]},p.prototype.clone=function(){var s=new p;return s.fg=this.fg,s.bg=this.bg,s.extended=this.extended.clone(),s},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}();A.AttributeData=m;var v=function(){function p(s,u){s===void 0&&(s=0),u===void 0&&(u=-1),this.underlineStyle=s,this.underlineColor=u}return p.prototype.clone=function(){return new p(this.underlineStyle,this.underlineColor)},p.prototype.isEmpty=function(){return this.underlineStyle===0},p}();A.ExtendedAttrs=v},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.addDisposableDomListener=void 0,A.addDisposableDomListener=function(m,v,p,s){m.addEventListener(v,p,s);var u=!1;return{dispose:function(){u||(u=!0,m.removeEventListener(v,p,s))}}}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Utf8ToUtf32=A.StringToUtf32=A.utf32ToString=A.stringFromCodePoint=void 0,A.stringFromCodePoint=function(p){return p>65535?(p-=65536,String.fromCharCode(55296+(p>>10))+String.fromCharCode(p%1024+56320)):String.fromCharCode(p)},A.utf32ToString=function(p,s,u){s===void 0&&(s=0),u===void 0&&(u=p.length);for(var o="",e=s;e<u;++e){var r=p[e];r>65535?(r-=65536,o+=String.fromCharCode(55296+(r>>10))+String.fromCharCode(r%1024+56320)):o+=String.fromCharCode(r)}return o};var m=function(){function p(){this._interim=0}return p.prototype.clear=function(){this._interim=0},p.prototype.decode=function(s,u){var o=s.length;if(!o)return 0;var e=0,r=0;this._interim&&(56320<=(l=s.charCodeAt(r++))&&l<=57343?u[e++]=1024*(this._interim-55296)+l-56320+65536:(u[e++]=this._interim,u[e++]=l),this._interim=0);for(var i=r;i<o;++i){var n=s.charCodeAt(i);if(55296<=n&&n<=56319){if(++i>=o)return this._interim=n,e;var l;56320<=(l=s.charCodeAt(i))&&l<=57343?u[e++]=1024*(n-55296)+l-56320+65536:(u[e++]=n,u[e++]=l)}else u[e++]=n}return e},p}();A.StringToUtf32=m;var v=function(){function p(){this.interim=new Uint8Array(3)}return p.prototype.clear=function(){this.interim.fill(0)},p.prototype.decode=function(s,u){var o=s.length;if(!o)return 0;var e,r,i,n,l=0,t=0,a=0;if(this.interim[0]){var c=!1,h=this.interim[0];h&=(224&h)==192?31:(240&h)==224?15:7;for(var f=0,g=void 0;(g=63&this.interim[++f])&&f<4;)h<<=6,h|=g;for(var S=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,y=S-f;a<y;){if(a>=o)return 0;if((192&(g=s[a++]))!=128){a--,c=!0;break}this.interim[f++]=g,h<<=6,h|=63&g}c||(S===2?h<128?a--:u[l++]=h:S===3?h<2048||h>=55296&&h<=57343||(u[l++]=h):h<65536||h>1114111||(u[l++]=h)),this.interim.fill(0)}for(var E=o-4,C=a;C<o;){for(;!(!(C<E)||128&(e=s[C])||128&(r=s[C+1])||128&(i=s[C+2])||128&(n=s[C+3]));)u[l++]=e,u[l++]=r,u[l++]=i,u[l++]=n,C+=4;if((e=s[C++])<128)u[l++]=e;else if((224&e)==192){if(C>=o)return this.interim[0]=e,l;if((192&(r=s[C++]))!=128){C--;continue}if((t=(31&e)<<6|63&r)<128){C--;continue}u[l++]=t}else if((240&e)==224){if(C>=o)return this.interim[0]=e,l;if((192&(r=s[C++]))!=128){C--;continue}if(C>=o)return this.interim[0]=e,this.interim[1]=r,l;if((192&(i=s[C++]))!=128){C--;continue}if((t=(15&e)<<12|(63&r)<<6|63&i)<2048||t>=55296&&t<=57343)continue;u[l++]=t}else if((248&e)==240){if(C>=o)return this.interim[0]=e,l;if((192&(r=s[C++]))!=128){C--;continue}if(C>=o)return this.interim[0]=e,this.interim[1]=r,l;if((192&(i=s[C++]))!=128){C--;continue}if(C>=o)return this.interim[0]=e,this.interim[1]=r,this.interim[2]=i,l;if((192&(n=s[C++]))!=128){C--;continue}if((t=(7&e)<<18|(63&r)<<12|(63&i)<<6|63&n)<65536||t>1114111)continue;u[l++]=t}}return l},p}();A.Utf8ToUtf32=v},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CHAR_ATLAS_CELL_SPACING=A.DIM_OPACITY=A.INVERTED_DEFAULT_COLOR=void 0,A.INVERTED_DEFAULT_COLOR=257,A.DIM_OPACITY=.5,A.CHAR_ATLAS_CELL_SPACING=1},function(w,A,b){"use strict";var m,v,p,s;function u(e){var r=e.toString(16);return r.length<2?"0"+r:r}function o(e,r){return e<r?(r+.05)/(e+.05):(e+.05)/(r+.05)}Object.defineProperty(A,"__esModule",{value:!0}),A.contrastRatio=A.toPaddedHex=A.rgba=A.rgb=A.css=A.color=A.channels=void 0,function(e){e.toCss=function(r,i,n,l){return l!==void 0?"#"+u(r)+u(i)+u(n)+u(l):"#"+u(r)+u(i)+u(n)},e.toRgba=function(r,i,n,l){return l===void 0&&(l=255),(r<<24|i<<16|n<<8|l)>>>0}}(m=A.channels||(A.channels={})),(v=A.color||(A.color={})).blend=function(e,r){var i=(255&r.rgba)/255;if(i===1)return{css:r.css,rgba:r.rgba};var n=r.rgba>>24&255,l=r.rgba>>16&255,t=r.rgba>>8&255,a=e.rgba>>24&255,c=e.rgba>>16&255,h=e.rgba>>8&255,f=a+Math.round((n-a)*i),g=c+Math.round((l-c)*i),S=h+Math.round((t-h)*i);return{css:m.toCss(f,g,S),rgba:m.toRgba(f,g,S)}},v.isOpaque=function(e){return(255&e.rgba)==255},v.ensureContrastRatio=function(e,r,i){var n=s.ensureContrastRatio(e.rgba,r.rgba,i);if(n)return s.toColor(n>>24&255,n>>16&255,n>>8&255)},v.opaque=function(e){var r=(255|e.rgba)>>>0,i=s.toChannels(r),n=i[0],l=i[1],t=i[2];return{css:m.toCss(n,l,t),rgba:r}},v.opacity=function(e,r){var i=Math.round(255*r),n=s.toChannels(e.rgba),l=n[0],t=n[1],a=n[2];return{css:m.toCss(l,t,a,i),rgba:m.toRgba(l,t,a,i)}},(A.css||(A.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 r(i,n,l){var t=i/255,a=n/255,c=l/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))+.0722*(c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4))}e.relativeLuminance=function(i){return r(i>>16&255,i>>8&255,255&i)},e.relativeLuminance2=r}(p=A.rgb||(A.rgb={})),function(e){function r(n,l,t){for(var a=n>>24&255,c=n>>16&255,h=n>>8&255,f=l>>24&255,g=l>>16&255,S=l>>8&255,y=o(p.relativeLuminance2(f,S,g),p.relativeLuminance2(a,c,h));y<t&&(f>0||g>0||S>0);)f-=Math.max(0,Math.ceil(.1*f)),g-=Math.max(0,Math.ceil(.1*g)),S-=Math.max(0,Math.ceil(.1*S)),y=o(p.relativeLuminance2(f,S,g),p.relativeLuminance2(a,c,h));return(f<<24|g<<16|S<<8|255)>>>0}function i(n,l,t){for(var a=n>>24&255,c=n>>16&255,h=n>>8&255,f=l>>24&255,g=l>>16&255,S=l>>8&255,y=o(p.relativeLuminance2(f,S,g),p.relativeLuminance2(a,c,h));y<t&&(f<255||g<255||S<255);)f=Math.min(255,f+Math.ceil(.1*(255-f))),g=Math.min(255,g+Math.ceil(.1*(255-g))),S=Math.min(255,S+Math.ceil(.1*(255-S))),y=o(p.relativeLuminance2(f,S,g),p.relativeLuminance2(a,c,h));return(f<<24|g<<16|S<<8|255)>>>0}e.ensureContrastRatio=function(n,l,t){var a=p.relativeLuminance(n>>8),c=p.relativeLuminance(l>>8);if(o(a,c)<t)return c<a?r(n,l,t):i(n,l,t)},e.reduceLuminance=r,e.increaseLuminance=i,e.toChannels=function(n){return[n>>24&255,n>>16&255,n>>8&255,255&n]},e.toColor=function(n,l,t){return{css:m.toCss(n,l,t),rgba:m.toRgba(n,l,t)}}}(s=A.rgba||(A.rgba={})),A.toPaddedHex=u,A.contrastRatio=o},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.isLinux=A.isWindows=A.isIphone=A.isIpad=A.isMac=A.isSafari=A.isFirefox=void 0;var m=typeof navigator=="undefined",v=m?"node":navigator.userAgent,p=m?"node":navigator.platform;function s(u,o){return u.indexOf(o)>=0}A.isFirefox=!!~v.indexOf("Firefox"),A.isSafari=/^((?!chrome|android).)*safari/i.test(v),A.isMac=s(["Macintosh","MacIntel","MacPPC","Mac68K"],p),A.isIpad=p==="iPad",A.isIphone=p==="iPhone",A.isWindows=s(["Windows","Win16","Win32","WinCE"],p),A.isLinux=p.indexOf("Linux")>=0},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.C1=A.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"}(A.C0||(A.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"}(A.C1||(A.C1={}))},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.BaseRenderLayer=void 0;var m=b(3),v=b(9),p=b(25),s=b(6),u=b(28),o=b(10),e=b(17),r=function(){function i(n,l,t,a,c,h,f,g){this._container=n,this._alpha=a,this._colors=c,this._rendererId=h,this._bufferService=f,this._optionsService=g,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+l+"-layer"),this._canvas.style.zIndex=t.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return i.prototype.dispose=function(){var n;e.removeElementFromParent(this._canvas),(n=this._charAtlas)===null||n===void 0||n.dispose()},i.prototype._initCanvas=function(){this._ctx=u.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(n,l){},i.prototype.onSelectionChanged=function(n,l,t){t===void 0&&(t=!1)},i.prototype.setColors=function(n){this._refreshCharAtlas(n)},i.prototype._setTransparency=function(n){if(n!==this._alpha){var l=this._canvas;this._alpha=n,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,l),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},i.prototype._refreshCharAtlas=function(n){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=p.acquireCharAtlas(this._optionsService.options,this._rendererId,n,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},i.prototype.resize=function(n){this._scaledCellWidth=n.scaledCellWidth,this._scaledCellHeight=n.scaledCellHeight,this._scaledCharWidth=n.scaledCharWidth,this._scaledCharHeight=n.scaledCharHeight,this._scaledCharLeft=n.scaledCharLeft,this._scaledCharTop=n.scaledCharTop,this._canvas.width=n.scaledCanvasWidth,this._canvas.height=n.scaledCanvasHeight,this._canvas.style.width=n.canvasWidth+"px",this._canvas.style.height=n.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},i.prototype._fillCells=function(n,l,t,a){this._ctx.fillRect(n*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,a*this._scaledCellHeight)},i.prototype._fillBottomLineAtCells=function(n,l,t){t===void 0&&(t=1),this._ctx.fillRect(n*this._scaledCellWidth,(l+1)*this._scaledCellHeight-window.devicePixelRatio-1,t*this._scaledCellWidth,window.devicePixelRatio)},i.prototype._fillLeftLineAtCell=function(n,l,t){this._ctx.fillRect(n*this._scaledCellWidth,l*this._scaledCellHeight,window.devicePixelRatio*t,this._scaledCellHeight)},i.prototype._strokeRectAtCell=function(n,l,t,a){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(n*this._scaledCellWidth+window.devicePixelRatio/2,l*this._scaledCellHeight+window.devicePixelRatio/2,t*this._scaledCellWidth-window.devicePixelRatio,a*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(n,l,t,a){this._alpha?this._ctx.clearRect(n*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,a*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(n*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,a*this._scaledCellHeight))},i.prototype._fillCharTrueColor=function(n,l,t){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(t),this._ctx.fillText(n.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},i.prototype._drawChars=function(n,l,t){var a,c,h=this._getContrastColor(n);h||n.isFgRGB()||n.isBgRGB()?this._drawUncachedChars(n,l,t,h):(n.isInverse()?(a=n.isBgDefault()?v.INVERTED_DEFAULT_COLOR:n.getBgColor(),c=n.isFgDefault()?v.INVERTED_DEFAULT_COLOR:n.getFgColor()):(c=n.isBgDefault()?m.DEFAULT_COLOR:n.getBgColor(),a=n.isFgDefault()?m.DEFAULT_COLOR:n.getFgColor()),a+=this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&a<8?8:0,this._currentGlyphIdentifier.chars=n.getChars()||m.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=n.getCode()||m.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=c,this._currentGlyphIdentifier.fg=a,this._currentGlyphIdentifier.bold=!!n.isBold(),this._currentGlyphIdentifier.dim=!!n.isDim(),this._currentGlyphIdentifier.italic=!!n.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(n,l,t))},i.prototype._drawUncachedChars=function(n,l,t,a){if(this._ctx.save(),this._ctx.font=this._getFont(!!n.isBold(),!!n.isItalic()),this._ctx.textBaseline="middle",n.isInverse())if(a)this._ctx.fillStyle=a.css;else if(n.isBgDefault())this._ctx.fillStyle=o.color.opaque(this._colors.background).css;else if(n.isBgRGB())this._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(n.getBgColor()).join(",")+")";else{var c=n.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&c<8&&(c+=8),this._ctx.fillStyle=this._colors.ansi[c].css}else if(a)this._ctx.fillStyle=a.css;else if(n.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(n.isFgRGB())this._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(n.getFgColor()).join(",")+")";else{var h=n.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&h<8&&(h+=8),this._ctx.fillStyle=this._colors.ansi[h].css}this._clipRow(t),n.isDim()&&(this._ctx.globalAlpha=v.DIM_OPACITY),this._ctx.fillText(n.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},i.prototype._clipRow=function(n){this._ctx.beginPath(),this._ctx.rect(0,n*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},i.prototype._getFont=function(n,l){return(l?"italic":"")+" "+(n?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},i.prototype._getContrastColor=function(n){if(this._optionsService.options.minimumContrastRatio!==1){var l=this._colors.contrastCache.getColor(n.bg,n.fg);if(l!==void 0)return l||void 0;var t=n.getFgColor(),a=n.getFgColorMode(),c=n.getBgColor(),h=n.getBgColorMode(),f=!!n.isInverse(),g=!!n.isInverse();if(f){var S=t;t=c,c=S;var y=a;a=h,h=y}var E=this._resolveBackgroundRgba(h,c,f),C=this._resolveForegroundRgba(a,t,f,g),T=o.rgba.ensureContrastRatio(E,C,this._optionsService.options.minimumContrastRatio);if(T){var x={css:o.channels.toCss(T>>24&255,T>>16&255,T>>8&255),rgba:T};return this._colors.contrastCache.setColor(n.bg,n.fg,x),x}this._colors.contrastCache.setColor(n.bg,n.fg,null)}},i.prototype._resolveBackgroundRgba=function(n,l,t){switch(n){case 16777216:case 33554432:return this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return t?this._colors.foreground.rgba:this._colors.background.rgba}},i.prototype._resolveForegroundRgba=function(n,l,t,a){switch(n){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&a&&l<8&&(l+=8),this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return t?this._colors.background.rgba:this._colors.foreground.rgba}},i}();A.BaseRenderLayer=r},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.createDecorator=A.getServiceDependencies=A.serviceRegistry=void 0;function m(v,p,s){p.di$target===p?p.di$dependencies.push({id:v,index:s}):(p.di$dependencies=[{id:v,index:s}],p.di$target=p)}A.serviceRegistry=new Map,A.getServiceDependencies=function(v){return v.di$dependencies||[]},A.createDecorator=function(v){if(A.serviceRegistry.has(v))return A.serviceRegistry.get(v);var p=function s(u,o,e){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");m(s,u,e)};return p.toString=function(){return v},A.serviceRegistry.set(v,p),p}},function(w,A,b){"use strict";function m(v,p,s,u){if(s===void 0&&(s=0),u===void 0&&(u=v.length),s>=v.length)return v;s=(v.length+s)%v.length,u=u>=v.length?v.length:(v.length+u)%v.length;for(var o=s;o<u;++o)v[o]=p;return v}Object.defineProperty(A,"__esModule",{value:!0}),A.concat=A.fillFallback=A.fill=void 0,A.fill=function(v,p,s,u){return v.fill?v.fill(p,s,u):m(v,p,s,u)},A.fillFallback=m,A.concat=function(v,p){var s=new v.constructor(v.length+p.length);return s.set(v),s.set(p,v.length),s}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.BufferLine=A.DEFAULT_ATTR_DATA=void 0;var m=b(8),v=b(3),p=b(4),s=b(6);A.DEFAULT_ATTR_DATA=Object.freeze(new s.AttributeData);var u=function(){function o(e,r,i){i===void 0&&(i=!1),this.isWrapped=i,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*e);for(var n=r||p.CellData.fromCharData([0,v.NULL_CELL_CHAR,v.NULL_CELL_WIDTH,v.NULL_CELL_CODE]),l=0;l<e;++l)this.setCell(l,n);this.length=e}return o.prototype.get=function(e){var r=this._data[3*e+0],i=2097151&r;return[this._data[3*e+1],2097152&r?this._combined[e]:i?m.stringFromCodePoint(i):"",r>>22,2097152&r?this._combined[e].charCodeAt(this._combined[e].length-1):i]},o.prototype.set=function(e,r){this._data[3*e+1]=r[v.CHAR_DATA_ATTR_INDEX],r[v.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=r[1],this._data[3*e+0]=2097152|e|r[v.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=r[v.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|r[v.CHAR_DATA_WIDTH_INDEX]<<22},o.prototype.getWidth=function(e){return this._data[3*e+0]>>22},o.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},o.prototype.getFg=function(e){return this._data[3*e+1]},o.prototype.getBg=function(e){return this._data[3*e+2]},o.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},o.prototype.getCodePoint=function(e){var r=this._data[3*e+0];return 2097152&r?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&r},o.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},o.prototype.getString=function(e){var r=this._data[3*e+0];return 2097152&r?this._combined[e]:2097151&r?m.stringFromCodePoint(2097151&r):""},o.prototype.loadCell=function(e,r){var i=3*e;return r.content=this._data[i+0],r.fg=this._data[i+1],r.bg=this._data[i+2],2097152&r.content&&(r.combinedData=this._combined[e]),268435456&r.bg&&(r.extended=this._extendedAttrs[e]),r},o.prototype.setCell=function(e,r){2097152&r.content&&(this._combined[e]=r.combinedData),268435456&r.bg&&(this._extendedAttrs[e]=r.extended),this._data[3*e+0]=r.content,this._data[3*e+1]=r.fg,this._data[3*e+2]=r.bg},o.prototype.setCellFromCodePoint=function(e,r,i,n,l,t){268435456&l&&(this._extendedAttrs[e]=t),this._data[3*e+0]=r|i<<22,this._data[3*e+1]=n,this._data[3*e+2]=l},o.prototype.addCodepointToCell=function(e,r){var i=this._data[3*e+0];2097152&i?this._combined[e]+=m.stringFromCodePoint(r):(2097151&i?(this._combined[e]=m.stringFromCodePoint(2097151&i)+m.stringFromCodePoint(r),i&=-2097152,i|=2097152):i=r|1<<22,this._data[3*e+0]=i)},o.prototype.insertCells=function(e,r,i,n){if((e%=this.length)&&this.getWidth(e-1)===2&&this.setCellFromCodePoint(e-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new s.ExtendedAttrs),r<this.length-e){for(var l=new p.CellData,t=this.length-e-r-1;t>=0;--t)this.setCell(e+r+t,this.loadCell(e+t,l));for(t=0;t<r;++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,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new s.ExtendedAttrs)},o.prototype.deleteCells=function(e,r,i,n){if(e%=this.length,r<this.length-e){for(var l=new p.CellData,t=0;t<this.length-e-r;++t)this.setCell(e+t,this.loadCell(e+r+t,l));for(t=this.length-r;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,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new s.ExtendedAttrs),this.getWidth(e)!==0||this.hasContent(e)||this.setCellFromCodePoint(e,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new s.ExtendedAttrs)},o.prototype.replaceCells=function(e,r,i,n){for(e&&this.getWidth(e-1)===2&&this.setCellFromCodePoint(e-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new s.ExtendedAttrs),r<this.length&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new s.ExtendedAttrs);e<r&&e<this.length;)this.setCell(e++,i)},o.prototype.resize=function(e,r){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 n=this.length;n<e;++n)this.setCell(n,r)}else if(e){(i=new Uint32Array(3*e)).set(this._data.subarray(0,3*e)),this._data=i;var l=Object.keys(this._combined);for(n=0;n<l.length;n++){var t=parseInt(l[n],10);t>=e&&delete this._combined[t]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},o.prototype.fill=function(e){this._combined={},this._extendedAttrs={};for(var r=0;r<this.length;++r)this.setCell(r,e)},o.prototype.copyFrom=function(e){for(var r 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[r]=e._combined[r];for(var r in this._extendedAttrs={},e._extendedAttrs)this._extendedAttrs[r]=e._extendedAttrs[r];this.isWrapped=e.isWrapped},o.prototype.clone=function(){var e=new o(0);for(var r in e._data=new Uint32Array(this._data),e.length=this.length,this._combined)e._combined[r]=this._combined[r];for(var r in this._extendedAttrs)e._extendedAttrs[r]=this._extendedAttrs[r];return e.isWrapped=this.isWrapped,e},o.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},o.prototype.copyCellsFrom=function(e,r,i,n,l){var t=e._data;if(l)for(var a=n-1;a>=0;a--)for(var c=0;c<3;c++)this._data[3*(i+a)+c]=t[3*(r+a)+c];else for(a=0;a<n;a++)for(c=0;c<3;c++)this._data[3*(i+a)+c]=t[3*(r+a)+c];var h=Object.keys(e._combined);for(c=0;c<h.length;c++){var f=parseInt(h[c],10);f>=r&&(this._combined[f-r+i]=e._combined[f])}},o.prototype.translateToString=function(e,r,i){e===void 0&&(e=!1),r===void 0&&(r=0),i===void 0&&(i=this.length),e&&(i=Math.min(i,this.getTrimmedLength()));for(var n="";r<i;){var l=this._data[3*r+0],t=2097151&l;n+=2097152&l?this._combined[r]:t?m.stringFromCodePoint(t):v.WHITESPACE_CELL_CHAR,r+=l>>22||1}return n},o}();A.BufferLine=u},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.removeElementFromParent=void 0,A.removeElementFromParent=function(){for(var m,v=[],p=0;p<arguments.length;p++)v[p]=arguments[p];for(var s=0,u=v;s<u.length;s++){var o=u[s];(m=o==null?void 0:o.parentElement)===null||m===void 0||m.removeChild(o)}}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.tooMuchOutput=A.promptLabel=void 0,A.promptLabel="Terminal input",A.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(w,A,b){"use strict";var m,v=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(A,"__esModule",{value:!0}),A.InputHandler=A.WindowsOptionsReportType=void 0;var p,s=b(12),u=b(20),o=b(39),e=b(2),r=b(15),i=b(8),n=b(16),l=b(0),t=b(3),a=b(4),c=b(6),h=b(22),f=b(24),g={"(":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=A.WindowsOptionsReportType||(A.WindowsOptionsReportType={}));var y=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=r.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(s.C0.ESC+'P1$r0"q'+s.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(s.C0.ESC+'P1$r61;1"p'+s.C0.ESC+"\\");case"r":var _=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(s.C0.ESC+"P1$r"+_+s.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(s.C0.ESC+"P1$r0m"+s.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(s.C0.ESC+"P1$r"+I+" q"+s.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",x),this._coreService.triggerDataEvent(s.C0.ESC+"P0$r"+s.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},C}(),E=function(C){function T(x,_,I,L,D,B,N,k,W){W===void 0&&(W=new o.EscapeSequenceParser);var R=C.call(this)||this;R._bufferService=x,R._charsetService=_,R._coreService=I,R._dirtyRowService=L,R._logService=D,R._optionsService=B,R._coreMouseService=N,R._unicodeService=k,R._parser=W,R._parseBuffer=new Uint32Array(4096),R._stringDecoder=new i.StringToUtf32,R._utf8Decoder=new i.Utf8ToUtf32,R._workCell=new a.CellData,R._windowTitle="",R._iconName="",R._windowTitleStack=[],R._iconNameStack=[],R._curAttrData=n.DEFAULT_ATTR_DATA.clone(),R._eraseAttrDataInternal=n.DEFAULT_ATTR_DATA.clone(),R._onRequestBell=new l.EventEmitter,R._onRequestRefreshRows=new l.EventEmitter,R._onRequestReset=new l.EventEmitter,R._onRequestScroll=new l.EventEmitter,R._onRequestSyncScrollBar=new l.EventEmitter,R._onRequestWindowsOptionsReport=new l.EventEmitter,R._onA11yChar=new l.EventEmitter,R._onA11yTab=new l.EventEmitter,R._onCursorMove=new l.EventEmitter,R._onLineFeed=new l.EventEmitter,R._onScroll=new l.EventEmitter,R._onTitleChange=new l.EventEmitter,R.register(R._parser),R._parser.setCsiHandlerFallback(function(U,Q){R._logService.debug("Unknown CSI code: ",{identifier:R._parser.identToString(U),params:Q.toArray()})}),R._parser.setEscHandlerFallback(function(U){R._logService.debug("Unknown ESC code: ",{identifier:R._parser.identToString(U)})}),R._parser.setExecuteHandlerFallback(function(U){R._logService.debug("Unknown EXECUTE code: ",{code:U})}),R._parser.setOscHandlerFallback(function(U,Q,V){R._logService.debug("Unknown OSC code: ",{identifier:U,action:Q,data:V})}),R._parser.setDcsHandlerFallback(function(U,Q,V){Q==="HOOK"&&(V=V.toArray()),R._logService.debug("Unknown DCS code: ",{identifier:R._parser.identToString(U),action:Q,payload:V})}),R._parser.setPrintHandler(function(U,Q,V){return R.print(U,Q,V)}),R._parser.setCsiHandler({final:"@"},function(U){return R.insertChars(U)}),R._parser.setCsiHandler({intermediates:" ",final:"@"},function(U){return R.scrollLeft(U)}),R._parser.setCsiHandler({final:"A"},function(U){return R.cursorUp(U)}),R._parser.setCsiHandler({intermediates:" ",final:"A"},function(U){return R.scrollRight(U)}),R._parser.setCsiHandler({final:"B"},function(U){return R.cursorDown(U)}),R._parser.setCsiHandler({final:"C"},function(U){return R.cursorForward(U)}),R._parser.setCsiHandler({final:"D"},function(U){return R.cursorBackward(U)}),R._parser.setCsiHandler({final:"E"},function(U){return R.cursorNextLine(U)}),R._parser.setCsiHandler({final:"F"},function(U){return R.cursorPrecedingLine(U)}),R._parser.setCsiHandler({final:"G"},function(U){return R.cursorCharAbsolute(U)}),R._parser.setCsiHandler({final:"H"},function(U){return R.cursorPosition(U)}),R._parser.setCsiHandler({final:"I"},function(U){return R.cursorForwardTab(U)}),R._parser.setCsiHandler({final:"J"},function(U){return R.eraseInDisplay(U)}),R._parser.setCsiHandler({prefix:"?",final:"J"},function(U){return R.eraseInDisplay(U)}),R._parser.setCsiHandler({final:"K"},function(U){return R.eraseInLine(U)}),R._parser.setCsiHandler({prefix:"?",final:"K"},function(U){return R.eraseInLine(U)}),R._parser.setCsiHandler({final:"L"},function(U){return R.insertLines(U)}),R._parser.setCsiHandler({final:"M"},function(U){return R.deleteLines(U)}),R._parser.setCsiHandler({final:"P"},function(U){return R.deleteChars(U)}),R._parser.setCsiHandler({final:"S"},function(U){return R.scrollUp(U)}),R._parser.setCsiHandler({final:"T"},function(U){return R.scrollDown(U)}),R._parser.setCsiHandler({final:"X"},function(U){return R.eraseChars(U)}),R._parser.setCsiHandler({final:"Z"},function(U){return R.cursorBackwardTab(U)}),R._parser.setCsiHandler({final:"`"},function(U){return R.charPosAbsolute(U)}),R._parser.setCsiHandler({final:"a"},function(U){return R.hPositionRelative(U)}),R._parser.setCsiHandler({final:"b"},function(U){return R.repeatPrecedingCharacter(U)}),R._parser.setCsiHandler({final:"c"},function(U){return R.sendDeviceAttributesPrimary(U)}),R._parser.setCsiHandler({prefix:">",final:"c"},function(U){return R.sendDeviceAttributesSecondary(U)}),R._parser.setCsiHandler({final:"d"},function(U){return R.linePosAbsolute(U)}),R._parser.setCsiHandler({final:"e"},function(U){return R.vPositionRelative(U)}),R._parser.setCsiHandler({final:"f"},function(U){return R.hVPosition(U)}),R._parser.setCsiHandler({final:"g"},function(U){return R.tabClear(U)}),R._parser.setCsiHandler({final:"h"},function(U){return R.setMode(U)}),R._parser.setCsiHandler({prefix:"?",final:"h"},function(U){return R.setModePrivate(U)}),R._parser.setCsiHandler({final:"l"},function(U){return R.resetMode(U)}),R._parser.setCsiHandler({prefix:"?",final:"l"},function(U){return R.resetModePrivate(U)}),R._parser.setCsiHandler({final:"m"},function(U){return R.charAttributes(U)}),R._parser.setCsiHandler({final:"n"},function(U){return R.deviceStatus(U)}),R._parser.setCsiHandler({prefix:"?",final:"n"},function(U){return R.deviceStatusPrivate(U)}),R._parser.setCsiHandler({intermediates:"!",final:"p"},function(U){return R.softReset(U)}),R._parser.setCsiHandler({intermediates:" ",final:"q"},function(U){return R.setCursorStyle(U)}),R._parser.setCsiHandler({final:"r"},function(U){return R.setScrollRegion(U)}),R._parser.setCsiHandler({final:"s"},function(U){return R.saveCursor(U)}),R._parser.setCsiHandler({final:"t"},function(U){return R.windowOptions(U)}),R._parser.setCsiHandler({final:"u"},function(U){return R.restoreCursor(U)}),R._parser.setCsiHandler({intermediates:"'",final:"}"},function(U){return R.insertColumns(U)}),R._parser.setCsiHandler({intermediates:"'",final:"~"},function(U){return R.deleteColumns(U)}),R._parser.setExecuteHandler(s.C0.BEL,function(){return R.bell()}),R._parser.setExecuteHandler(s.C0.LF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(s.C0.VT,function(){return R.lineFeed()}),R._parser.setExecuteHandler(s.C0.FF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(s.C0.CR,function(){return R.carriageReturn()}),R._parser.setExecuteHandler(s.C0.BS,function(){return R.backspace()}),R._parser.setExecuteHandler(s.C0.HT,function(){return R.tab()}),R._parser.setExecuteHandler(s.C0.SO,function(){return R.shiftOut()}),R._parser.setExecuteHandler(s.C0.SI,function(){return R.shiftIn()}),R._parser.setExecuteHandler(s.C1.IND,function(){return R.index()}),R._parser.setExecuteHandler(s.C1.NEL,function(){return R.nextLine()}),R._parser.setExecuteHandler(s.C1.HTS,function(){return R.tabSet()}),R._parser.setOscHandler(0,new h.OscHandler(function(U){R.setTitle(U),R.setIconName(U)})),R._parser.setOscHandler(1,new h.OscHandler(function(U){return R.setIconName(U)})),R._parser.setOscHandler(2,new h.OscHandler(function(U){return R.setTitle(U)})),R._parser.setEscHandler({final:"7"},function(){return R.saveCursor()}),R._parser.setEscHandler({final:"8"},function(){return R.restoreCursor()}),R._parser.setEscHandler({final:"D"},function(){return R.index()}),R._parser.setEscHandler({final:"E"},function(){return R.nextLine()}),R._parser.setEscHandler({final:"H"},function(){return R.tabSet()}),R._parser.setEscHandler({final:"M"},function(){return R.reverseIndex()}),R._parser.setEscHandler({final:"="},function(){return R.keypadApplicationMode()}),R._parser.setEscHandler({final:">"},function(){return R.keypadNumericMode()}),R._parser.setEscHandler({final:"c"},function(){return R.fullReset()}),R._parser.setEscHandler({final:"n"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"o"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"|"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"}"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"~"},function(){return R.setgLevel(1)}),R._parser.setEscHandler({intermediates:"%",final:"@"},function(){return R.selectDefaultCharset()}),R._parser.setEscHandler({intermediates:"%",final:"G"},function(){return R.selectDefaultCharset()});var j=function(Q){H._parser.setEscHandler({intermediates:"(",final:Q},function(){return R.selectCharset("("+Q)}),H._parser.setEscHandler({intermediates:")",final:Q},function(){return R.selectCharset(")"+Q)}),H._parser.setEscHandler({intermediates:"*",final:Q},function(){return R.selectCharset("*"+Q)}),H._parser.setEscHandler({intermediates:"+",final:Q},function(){return R.selectCharset("+"+Q)}),H._parser.setEscHandler({intermediates:"-",final:Q},function(){return R.selectCharset("-"+Q)}),H._parser.setEscHandler({intermediates:".",final:Q},function(){return R.selectCharset("."+Q)}),H._parser.setEscHandler({intermediates:"/",final:Q},function(){return R.selectCharset("/"+Q)})},H=this;for(var K in u.CHARSETS)j(K);return R._parser.setEscHandler({intermediates:"#",final:"8"},function(){return R.screenAlignmentPattern()}),R._parser.setErrorHandler(function(U){return R._logService.error("Parsing error: ",U),U}),R._parser.setDcsHandler({intermediates:"$",final:"q"},new y(R._bufferService,R._coreService,R._logService,R._optionsService)),R}return v(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 D=0;D<x.length;D+=131072){var B=D+131072<x.length?D+131072:x.length,N=typeof x=="string"?this._stringDecoder.decode(x.substring(D,B),this._parseBuffer):this._utf8Decoder.decode(x.subarray(D,B),this._parseBuffer);this._parser.parse(this._parseBuffer,N)}else N=typeof x=="string"?this._stringDecoder.decode(x,this._parseBuffer):this._utf8Decoder.decode(x,this._parseBuffer),this._parser.parse(this._parseBuffer,N);(_=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,D,B=this._bufferService.buffer,N=this._charsetService.charset,k=this._optionsService.options.screenReaderMode,W=this._bufferService.cols,R=this._coreService.decPrivateModes.wraparound,j=this._coreService.modes.insertMode,H=this._curAttrData,K=B.lines.get(B.ybase+B.y);this._dirtyRowService.markDirty(B.y),B.x&&I-_>0&&K.getWidth(B.x-1)===2&&K.setCellFromCodePoint(B.x-1,0,1,H.fg,H.bg,H.extended);for(var U=_;U<I;++U){if(L=x[U],D=this._unicodeService.wcwidth(L),L<127&&N){var Q=N[String.fromCharCode(L)];Q&&(L=Q.charCodeAt(0))}if(k&&this._onA11yChar.fire(i.stringFromCodePoint(L)),D||!B.x){if(B.x+D-1>=W){if(R){for(;B.x<W;)K.setCellFromCodePoint(B.x++,0,1,H.fg,H.bg,H.extended);B.x=0,B.y++,B.y===B.scrollBottom+1?(B.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(B.y>=this._bufferService.rows&&(B.y=this._bufferService.rows-1),B.lines.get(B.ybase+B.y).isWrapped=!0),K=B.lines.get(B.ybase+B.y)}else if(B.x=W-1,D===2)continue}if(j&&(K.insertCells(B.x,D,B.getNullCell(H),H),K.getWidth(W-1)===2&&K.setCellFromCodePoint(W-1,t.NULL_CELL_CODE,t.NULL_CELL_WIDTH,H.fg,H.bg,H.extended)),K.setCellFromCodePoint(B.x++,L,D,H.fg,H.bg,H.extended),D>0)for(;--D;)K.setCellFromCodePoint(B.x++,0,0,H.fg,H.bg,H.extended)}else K.getWidth(B.x-1)?K.addCodepointToCell(B.x-1,L):K.addCodepointToCell(B.x-2,L)}I-_>0&&(K.loadCell(B.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),B.x<W&&I-_>0&&K.getWidth(B.x)===0&&!K.hasContent(B.x)&&K.setCellFromCodePoint(B.x,0,1,H.fg,H.bg,H.extended),this._dirtyRowService.markDirty(B.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 f.DcsHandler(_))},T.prototype.addEscHandler=function(x,_){return this._parser.addEscHandler(x,_)},T.prototype.addOscHandler=function(x,_){return this._parser.addOscHandler(x,new h.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 D=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+x);D.replaceCells(_,I,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),L&&(D.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,D=this._bufferService.rows-1-I.scrollBottom,B=this._bufferService.rows-1+I.ybase-D+1;_--;)I.lines.splice(B-1,1),I.lines.splice(L,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},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,D=I.ybase+I.y;for(L=this._bufferService.rows-1-I.scrollBottom,L=this._bufferService.rows-1+I.ybase-L;_--;)I.lines.splice(D,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(n.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 D=_.lines.get(_.ybase+L);D.deleteCells(0,I,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),D.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 D=_.lines.get(_.ybase+L);D.insertCells(0,I,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),D.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 D=this._bufferService.buffer.lines.get(_.ybase+L);D.insertCells(_.x,I,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),D.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 D=_.lines.get(_.ybase+L);D.deleteCells(_.x,I,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),D.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(s.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(s.C0.ESC+"[?6c"))},T.prototype.sendDeviceAttributesSecondary=function(x){x.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(s.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(s.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(x.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(s.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,u.DEFAULT_CHARSET),this._charsetService.setgCharset(1,u.DEFAULT_CHARSET),this._charsetService.setgCharset(2,u.DEFAULT_CHARSET),this._charsetService.setgCharset(3,u.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,D){return _===2?(x|=50331648,x&=-16777216,x|=c.AttributeData.fromColorRGB([I,L,D])):_===5&&(x&=-50331904,x|=33554432|255&I),x},T.prototype._extractColor=function(x,_,I){var L=[0,0,-1,0,0,0],D=0,B=0;do{if(L[B+D]=x.params[_+B],x.hasSubParams(_+B)){var N=x.getSubParams(_+B),k=0;do L[1]===5&&(D=1),L[B+k+1+D]=N[k];while(++k<N.length&&k+B+1+D<L.length);break}if(L[1]===5&&B+D>=2||L[1]===2&&B+D>=5)break;L[1]&&(D=1)}while(++B+_<x.length&&B+D<L.length);for(k=2;k<L.length;++k)L[k]===-1&&(L[k]=0);switch(L[0]){case 38:I.fg=this._updateAttrColor(I.fg,L[1],L[3],L[4],L[5]);break;case 48:I.bg=this._updateAttrColor(I.bg,L[1],L[3],L[4],L[5]);break;case 58:I.extended=I.extended.clone(),I.extended.underlineColor=this._updateAttrColor(I.extended.underlineColor,L[1],L[3],L[4],L[5])}return B},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=n.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=n.DEFAULT_ATTR_DATA.bg);for(var _,I=x.length,L=this._curAttrData,D=0;D<I;D++)(_=x.params[D])>=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=n.DEFAULT_ATTR_DATA.fg,L.bg=n.DEFAULT_ATTR_DATA.bg):_===1?L.fg|=134217728:_===3?L.bg|=67108864:_===4?(L.fg|=268435456,this._processUnderline(x.hasSubParams(D)?x.getSubParams(D)[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&n.DEFAULT_ATTR_DATA.fg):_===49?(L.bg&=-67108864,L.bg|=16777215&n.DEFAULT_ATTR_DATA.bg):_===38||_===48||_===58?D+=this._extractColor(x,D,L):_===59?(L.extended=L.extended.clone(),L.extended.underlineColor=-1,L.updateExtended()):_===100?(L.fg&=-67108864,L.fg|=16777215&n.DEFAULT_ATTR_DATA.fg,L.bg&=-67108864,L.bg|=16777215&n.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(s.C0.ESC+"[0n");break;case 6:var _=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(s.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(s.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=n.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},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(s.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,u.DEFAULT_CHARSET)},T.prototype.selectCharset=function(x){x.length===2?x[0]!=="/"&&this._charsetService.setgCharset(g[x[0]],u.CHARSETS[x[1]]||u.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=n.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=n.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 a.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,D=_.lines.get(L);D&&(D.fill(x),D.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},T}(e.Disposable);A.InputHandler=E},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.DEFAULT_CHARSET=A.CHARSETS=void 0,A.CHARSETS={},A.DEFAULT_CHARSET=A.CHARSETS.B,A.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"},A.CHARSETS.A={"#":"\xA3"},A.CHARSETS.B=void 0,A.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},A.CHARSETS.C=A.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},A.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},A.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},A.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},A.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},A.CHARSETS.E=A.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},A.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},A.CHARSETS.H=A.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},A.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Params=void 0;var m=function(){function v(p,s){if(p===void 0&&(p=32),s===void 0&&(s=32),this.maxLength=p,this.maxSubParamsLength=s,s>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(p),this.length=0,this._subParams=new Int32Array(s),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(p),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return v.fromArray=function(p){var s=new v;if(!p.length)return s;for(var u=p[0]instanceof Array?1:0;u<p.length;++u){var o=p[u];if(o instanceof Array)for(var e=0;e<o.length;++e)s.addSubParam(o[e]);else s.addParam(o)}return s},v.prototype.clone=function(){var p=new v(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},v.prototype.toArray=function(){for(var p=[],s=0;s<this.length;++s){p.push(this.params[s]);var u=this._subParamsIdx[s]>>8,o=255&this._subParamsIdx[s];o-u>0&&p.push(Array.prototype.slice.call(this._subParams,u,o))}return p},v.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},v.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}},v.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]++}},v.prototype.hasSubParams=function(p){return(255&this._subParamsIdx[p])-(this._subParamsIdx[p]>>8)>0},v.prototype.getSubParams=function(p){var s=this._subParamsIdx[p]>>8,u=255&this._subParamsIdx[p];return u-s>0?this._subParams.subarray(s,u):null},v.prototype.getSubParamsAll=function(){for(var p={},s=0;s<this.length;++s){var u=this._subParamsIdx[s]>>8,o=255&this._subParamsIdx[s];o-u>0&&(p[s]=this._subParams.slice(u,o))}return p},v.prototype.addDigit=function(p){var s;if(!(this._rejectDigits||!(s=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var u=this._digitIsSub?this._subParams:this.params,o=u[s-1];u[s-1]=~o?Math.min(10*o+p,2147483647):p}},v}();A.Params=m},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.OscHandler=A.OscParser=void 0;var m=b(23),v=b(8),p=function(){function u(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return u.prototype.addHandler=function(o,e){this._handlers[o]===void 0&&(this._handlers[o]=[]);var r=this._handlers[o];return r.push(e),{dispose:function(){var n=r.indexOf(e);n!==-1&&r.splice(n,1)}}},u.prototype.setHandler=function(o,e){this._handlers[o]=[e]},u.prototype.clearHandler=function(o){this._handlers[o]&&delete this._handlers[o]},u.prototype.setHandlerFallback=function(o){this._handlerFb=o},u.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},u.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},u.prototype._start=function(){var o=this._handlers[this._id];if(o)for(var e=o.length-1;e>=0;e--)o[e].start();else this._handlerFb(this._id,"START")},u.prototype._put=function(o,e,r){var i=this._handlers[this._id];if(i)for(var n=i.length-1;n>=0;n--)i[n].put(o,e,r);else this._handlerFb(this._id,"PUT",v.utf32ToString(o,e,r))},u.prototype._end=function(o){var e=this._handlers[this._id];if(e){for(var r=e.length-1;r>=0&&e[r].end(o)===!1;r--);for(r--;r>=0;r--)e[r].end(!1)}else this._handlerFb(this._id,"END",o)},u.prototype.start=function(){this.reset(),this._id=-1,this._state=1},u.prototype.put=function(o,e,r){if(this._state!==3){if(this._state===1)for(;e<r;){var i=o[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&&r-e>0&&this._put(o,e,r)}},u.prototype.end=function(o){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(o)),this._id=-1,this._state=0)},u}();A.OscParser=p;var s=function(){function u(o){this._handler=o,this._data="",this._hitLimit=!1}return u.prototype.start=function(){this._data="",this._hitLimit=!1},u.prototype.put=function(o,e,r){this._hitLimit||(this._data+=v.utf32ToString(o,e,r),this._data.length>m.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},u.prototype.end=function(o){var e;return this._hitLimit?e=!1:o&&(e=this._handler(this._data)),this._data="",this._hitLimit=!1,e},u}();A.OscHandler=s},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.PAYLOAD_LIMIT=void 0,A.PAYLOAD_LIMIT=1e7},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.DcsHandler=A.DcsParser=void 0;var m=b(8),v=b(21),p=b(23),s=[],u=function(){function e(){this._handlers=Object.create(null),this._active=s,this._ident=0,this._handlerFb=function(){}}return e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.addHandler=function(r,i){this._handlers[r]===void 0&&(this._handlers[r]=[]);var n=this._handlers[r];return n.push(i),{dispose:function(){var t=n.indexOf(i);t!==-1&&n.splice(t,1)}}},e.prototype.setHandler=function(r,i){this._handlers[r]=[i]},e.prototype.clearHandler=function(r){this._handlers[r]&&delete this._handlers[r]},e.prototype.setHandlerFallback=function(r){this._handlerFb=r},e.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=s,this._ident=0},e.prototype.hook=function(r,i){if(this.reset(),this._ident=r,this._active=this._handlers[r]||s,this._active.length)for(var n=this._active.length-1;n>=0;n--)this._active[n].hook(i);else this._handlerFb(this._ident,"HOOK",i)},e.prototype.put=function(r,i,n){if(this._active.length)for(var l=this._active.length-1;l>=0;l--)this._active[l].put(r,i,n);else this._handlerFb(this._ident,"PUT",m.utf32ToString(r,i,n))},e.prototype.unhook=function(r){if(this._active.length){for(var i=this._active.length-1;i>=0&&this._active[i].unhook(r)===!1;i--);for(i--;i>=0;i--)this._active[i].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",r);this._active=s,this._ident=0},e}();A.DcsParser=u;var o=function(){function e(r){this._handler=r,this._data="",this._hitLimit=!1}return e.prototype.hook=function(r){this._params=r.clone(),this._data="",this._hitLimit=!1},e.prototype.put=function(r,i,n){this._hitLimit||(this._data+=m.utf32ToString(r,i,n),this._data.length>p.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.unhook=function(r){var i;return this._hitLimit?i=!1:r&&(i=this._handler(this._data,this._params||new v.Params)),this._params=void 0,this._data="",this._hitLimit=!1,i},e}();A.DcsHandler=o},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.removeTerminalFromCache=A.acquireCharAtlas=void 0;var m=b(26),v=b(43),p=[];A.acquireCharAtlas=function(s,u,o,e,r){for(var i=m.generateConfig(e,r,s,o),n=0;n<p.length;n++){var l=(t=p[n]).ownedBy.indexOf(u);if(l>=0){if(m.configEquals(t.config,i))return t.atlas;t.ownedBy.length===1?(t.atlas.dispose(),p.splice(n,1)):t.ownedBy.splice(l,1);break}}for(n=0;n<p.length;n++){var t=p[n];if(m.configEquals(t.config,i))return t.ownedBy.push(u),t.atlas}var a={atlas:new v.DynamicCharAtlas(document,i),config:i,ownedBy:[u]};return p.push(a),a.atlas},A.removeTerminalFromCache=function(s){for(var u=0;u<p.length;u++){var o=p[u].ownedBy.indexOf(s);if(o!==-1){p[u].ownedBy.length===1?(p[u].atlas.dispose(),p.splice(u,1)):p[u].ownedBy.splice(o,1);break}}}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.is256Color=A.configEquals=A.generateConfig=void 0;var m=b(3);A.generateConfig=function(v,p,s,u){var o={foreground:u.foreground,background:u.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:u.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:v,scaledCharHeight:p,fontFamily:s.fontFamily,fontSize:s.fontSize,fontWeight:s.fontWeight,fontWeightBold:s.fontWeightBold,allowTransparency:s.allowTransparency,colors:o}},A.configEquals=function(v,p){for(var s=0;s<v.colors.ansi.length;s++)if(v.colors.ansi[s].rgba!==p.colors.ansi[s].rgba)return!1;return v.devicePixelRatio===p.devicePixelRatio&&v.fontFamily===p.fontFamily&&v.fontSize===p.fontSize&&v.fontWeight===p.fontWeight&&v.fontWeightBold===p.fontWeightBold&&v.allowTransparency===p.allowTransparency&&v.scaledCharWidth===p.scaledCharWidth&&v.scaledCharHeight===p.scaledCharHeight&&v.colors.foreground===p.colors.foreground&&v.colors.background===p.colors.background},A.is256Color=function(v){return v<m.DEFAULT_COLOR}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ColorManager=A.DEFAULT_ANSI_COLORS=void 0;var m=b(10),v=b(45),p=m.css.toColor("#ffffff"),s=m.css.toColor("#000000"),u=m.css.toColor("#ffffff"),o=m.css.toColor("#000000"),e={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};A.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")],n=[0,95,135,175,215,255],l=0;l<216;l++){var t=n[l/36%6|0],a=n[l/6%6|0],c=n[l%6];i.push({css:m.channels.toCss(t,a,c),rgba:m.channels.toRgba(t,a,c)})}for(l=0;l<24;l++){var h=8+10*l;i.push({css:m.channels.toCss(h,h,h),rgba:m.channels.toRgba(h,h,h)})}return i}();var r=function(){function i(n,l){this.allowTransparency=l;var t=n.createElement("canvas");t.width=1,t.height=1;var a=t.getContext("2d");if(!a)throw new Error("Could not get rendering context");this._ctx=a,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new v.ColorContrastCache,this.colors={foreground:p,background:s,cursor:u,cursorAccent:o,selectionTransparent:e,selectionOpaque:m.color.blend(s,e),ansi:A.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return i.prototype.onOptionsChange=function(n){n==="minimumContrastRatio"&&this._contrastCache.clear()},i.prototype.setTheme=function(n){(n===void 0&&(n={}),this.colors.foreground=this._parseColor(n.foreground,p),this.colors.background=this._parseColor(n.background,s),this.colors.cursor=this._parseColor(n.cursor,u,!0),this.colors.cursorAccent=this._parseColor(n.cursorAccent,o,!0),this.colors.selectionTransparent=this._parseColor(n.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(n.black,A.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(n.red,A.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(n.green,A.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(n.yellow,A.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(n.blue,A.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(n.magenta,A.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(n.cyan,A.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(n.white,A.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(n.brightBlack,A.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(n.brightRed,A.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(n.brightGreen,A.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(n.brightYellow,A.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(n.brightBlue,A.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(n.brightMagenta,A.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(n.brightCyan,A.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(n.brightWhite,A.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},i.prototype._parseColor=function(n,l,t){if(t===void 0&&(t=this.allowTransparency),n===void 0)return l;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=n,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+n+" is invalid using fallback "+l.css),l;this._ctx.fillRect(0,0,1,1);var a=this._ctx.getImageData(0,0,1,1).data;if(a[3]!==255){if(!t)return console.warn("Color: "+n+" is using transparency, but allowTransparency is false. Using fallback "+l.css+"."),l;var c=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(E){return Number(E)}),h=c[0],f=c[1],g=c[2],S=c[3],y=Math.round(255*S);return{rgba:m.channels.toRgba(h,f,g,y),css:n}}return{css:this._ctx.fillStyle,rgba:m.channels.toRgba(a[0],a[1],a[2],a[3])}},i}();A.ColorManager=r},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.throwIfFalsy=void 0,A.throwIfFalsy=function(m){if(!m)throw new Error("value must not be falsy");return m}},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(i,n){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,t){l.__proto__=t}||function(l,t){for(var a in t)t.hasOwnProperty(a)&&(l[a]=t[a])})(i,n)},function(r,i){function n(){this.constructor=r}m(r,i),r.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(A,"__esModule",{value:!0}),A.CharacterJoinerRegistry=A.JoinedCellData=void 0;var p=b(6),s=b(3),u=b(4),o=function(r){function i(n,l,t){var a=r.call(this)||this;return a.content=0,a.combinedData="",a.fg=n.fg,a.bg=n.bg,a.combinedData=l,a._width=t,a}return v(i,r),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(n){throw new Error("not implemented")},i.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},i}(p.AttributeData);A.JoinedCellData=o;var e=function(){function r(i){this._bufferService=i,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new u.CellData}return r.prototype.registerCharacterJoiner=function(i){var n={id:this._nextCharacterJoinerId++,handler:i};return this._characterJoiners.push(n),n.id},r.prototype.deregisterCharacterJoiner=function(i){for(var n=0;n<this._characterJoiners.length;n++)if(this._characterJoiners[n].id===i)return this._characterJoiners.splice(n,1),!0;return!1},r.prototype.getJoinedCharacters=function(i){if(this._characterJoiners.length===0)return[];var n=this._bufferService.buffer.lines.get(i);if(!n||n.length===0)return[];for(var l=[],t=n.translateToString(!0),a=0,c=0,h=0,f=n.getFg(0),g=n.getBg(0),S=0;S<n.getTrimmedLength();S++)if(n.loadCell(S,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==f||this._workCell.bg!==g){if(S-a>1)for(var y=this._getJoinedRanges(t,h,c,n,a),E=0;E<y.length;E++)l.push(y[E]);a=S,h=c,f=this._workCell.fg,g=this._workCell.bg}c+=this._workCell.getChars().length||s.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-a>1)for(y=this._getJoinedRanges(t,h,c,n,a),E=0;E<y.length;E++)l.push(y[E]);return l},r.prototype._getJoinedRanges=function(i,n,l,t,a){for(var c=i.substring(n,l),h=this._characterJoiners[0].handler(c),f=1;f<this._characterJoiners.length;f++)for(var g=this._characterJoiners[f].handler(c),S=0;S<g.length;S++)r._mergeRanges(h,g[S]);return this._stringRangesToCellRanges(h,t,a),h},r.prototype._stringRangesToCellRanges=function(i,n,l){var t=0,a=!1,c=0,h=i[t];if(h){for(var f=l;f<this._bufferService.cols;f++){var g=n.getWidth(f),S=n.getString(f).length||s.WHITESPACE_CELL_CHAR.length;if(g!==0){if(!a&&h[0]<=c&&(h[0]=f,a=!0),h[1]<=c){if(h[1]=f,!(h=i[++t]))break;h[0]<=c?(h[0]=f,a=!0):a=!1}c+=S}}h&&(h[1]=this._bufferService.cols)}},r._mergeRanges=function(i,n){for(var l=!1,t=0;t<i.length;t++){var a=i[t];if(l){if(n[1]<=a[0])return i[t-1][1]=n[1],i;if(n[1]<=a[1])return i[t-1][1]=Math.max(n[1],a[1]),i.splice(t,1),i;i.splice(t,1),t--}else{if(n[1]<=a[0])return i.splice(t,0,n),i;if(n[1]<=a[1])return a[0]=Math.min(n[0],a[0]),i;n[0]<a[1]&&(a[0]=Math.min(n[0],a[0]),l=!0)}}return l?i[i.length-1][1]=n[1]:i.push(n),i},r}();A.CharacterJoinerRegistry=e},function(w,A,b){"use strict";function m(v,p){var s=p.getBoundingClientRect();return[v.clientX-s.left,v.clientY-s.top]}Object.defineProperty(A,"__esModule",{value:!0}),A.getRawByteCoords=A.getCoords=A.getCoordsRelativeToElement=void 0,A.getCoordsRelativeToElement=m,A.getCoords=function(v,p,s,u,o,e,r,i){if(o){var n=m(v,p);if(n)return n[0]=Math.ceil((n[0]+(i?e/2:0))/e),n[1]=Math.ceil(n[1]/r),n[0]=Math.min(Math.max(n[0],1),s+(i?1:0)),n[1]=Math.min(Math.max(n[1],1),u),n}},A.getRawByteCoords=function(v){if(v)return{x:v[0]+32,y:v[1]+32}}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.RenderDebouncer=void 0;var m=function(){function v(p){this._renderCallback=p}return v.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},v.prototype.refresh=function(p,s,u){var o=this;this._rowCount=u,p=p!==void 0?p:0,s=s!==void 0?s: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,s):s,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return o._innerRefresh()}))},v.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var p=Math.max(this._rowStart,0),s=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(p,s)}},v}();A.RenderDebouncer=m},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(u,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])})(u,o)},function(s,u){function o(){this.constructor=s}m(s,u),s.prototype=u===null?Object.create(u):(o.prototype=u.prototype,new o)});Object.defineProperty(A,"__esModule",{value:!0}),A.ScreenDprMonitor=void 0;var p=function(s){function u(){var o=s!==null&&s.apply(this,arguments)||this;return o._currentDevicePixelRatio=window.devicePixelRatio,o}return v(u,s),u.prototype.setListener=function(o){var e=this;this._listener&&this.clearListener(),this._listener=o,this._outerListener=function(){e._listener&&(e._listener(window.devicePixelRatio,e._currentDevicePixelRatio),e._updateDpr())},this._updateDpr()},u.prototype.dispose=function(){s.prototype.dispose.call(this),this.clearListener()},u.prototype._updateDpr=function(){var o;this._outerListener&&((o=this._resolutionMediaMatchList)===null||o===void 0||o.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},u.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)},u}(b(2).Disposable);A.ScreenDprMonitor=p},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.clone=void 0,A.clone=function m(v,p){if(p===void 0&&(p=5),typeof v!="object")return v;var s=Array.isArray(v)?[]:{};for(var u in v)s[u]=p<=1?v[u]:v[u]?m(v[u],p-1):v[u];return s}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Terminal=void 0;var m=b(4),v=b(35),p=b(18),s=b(0),u=b(83),o=function(){function t(a){this._core=new v.Terminal(a),this._addonManager=new u.AddonManager}return t.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new n(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unicode",{get:function(){return this._checkProposedApi(),new l(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buffer",{get:function(){return this._checkProposedApi(),new r(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(a,c){this._verifyIntegers(a,c),this._core.resize(a,c)},t.prototype.open=function(a){this._core.open(a)},t.prototype.attachCustomKeyEventHandler=function(a){this._core.attachCustomKeyEventHandler(a)},t.prototype.registerLinkMatcher=function(a,c,h){return this._checkProposedApi(),this._core.registerLinkMatcher(a,c,h)},t.prototype.deregisterLinkMatcher=function(a){this._checkProposedApi(),this._core.deregisterLinkMatcher(a)},t.prototype.registerLinkProvider=function(a){return this._checkProposedApi(),this._core.registerLinkProvider(a)},t.prototype.registerCharacterJoiner=function(a){return this._checkProposedApi(),this._core.registerCharacterJoiner(a)},t.prototype.deregisterCharacterJoiner=function(a){this._checkProposedApi(),this._core.deregisterCharacterJoiner(a)},t.prototype.registerMarker=function(a){return this._checkProposedApi(),this._verifyIntegers(a),this._core.addMarker(a)},t.prototype.addMarker=function(a){return this.registerMarker(a)},t.prototype.hasSelection=function(){return this._core.hasSelection()},t.prototype.select=function(a,c,h){this._verifyIntegers(a,c,h),this._core.select(a,c,h)},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(a,c){this._verifyIntegers(a,c),this._core.selectLines(a,c)},t.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},t.prototype.scrollLines=function(a){this._verifyIntegers(a),this._core.scrollLines(a)},t.prototype.scrollPages=function(a){this._verifyIntegers(a),this._core.scrollPages(a)},t.prototype.scrollToTop=function(){this._core.scrollToTop()},t.prototype.scrollToBottom=function(){this._core.scrollToBottom()},t.prototype.scrollToLine=function(a){this._verifyIntegers(a),this._core.scrollToLine(a)},t.prototype.clear=function(){this._core.clear()},t.prototype.write=function(a,c){this._core.write(a,c)},t.prototype.writeUtf8=function(a,c){this._core.write(a,c)},t.prototype.writeln=function(a,c){this._core.write(a),this._core.write(`\r
|
|
|
`,c)},t.prototype.paste=function(a){this._core.paste(a)},t.prototype.getOption=function(a){return this._core.optionsService.getOption(a)},t.prototype.setOption=function(a,c){this._core.optionsService.setOption(a,c)},t.prototype.refresh=function(a,c){this._verifyIntegers(a,c),this._core.refresh(a,c)},t.prototype.reset=function(){this._core.reset()},t.prototype.loadAddon=function(a){return this._addonManager.loadAddon(this,a)},Object.defineProperty(t,"strings",{get:function(){return p},enumerable:!1,configurable:!0}),t.prototype._verifyIntegers=function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];for(var h=0,f=a;h<f.length;h++){var g=f[h];if(g===1/0||isNaN(g)||g%1!=0)throw new Error("This API only accepts integers")}},t}();A.Terminal=o;var e=function(){function t(a,c){this._buffer=a,this.type=c}return t.prototype.init=function(a){return this._buffer=a,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(a){var c=this._buffer.lines.get(a);if(c)return new i(c)},t.prototype.getNullCell=function(){return new m.CellData},t}(),r=function(){function t(a){var c=this;this._buffers=a,this._onBufferChange=new s.EventEmitter,this._normal=new e(this._buffers.normal,"normal"),this._alternate=new e(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return c._onBufferChange.fire(c.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(a){this._line=a}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(a,c){if(!(a<0||a>=this._line.length))return c?(this._line.loadCell(a,c),c):this._line.loadCell(a,new m.CellData)},t.prototype.translateToString=function(a,c,h){return this._line.translateToString(a,c,h)},t}(),n=function(){function t(a){this._core=a}return t.prototype.registerCsiHandler=function(a,c){return this._core.addCsiHandler(a,function(h){return c(h.toArray())})},t.prototype.addCsiHandler=function(a,c){return this.registerCsiHandler(a,c)},t.prototype.registerDcsHandler=function(a,c){return this._core.addDcsHandler(a,function(h,f){return c(h,f.toArray())})},t.prototype.addDcsHandler=function(a,c){return this.registerDcsHandler(a,c)},t.prototype.registerEscHandler=function(a,c){return this._core.addEscHandler(a,c)},t.prototype.addEscHandler=function(a,c){return this.registerEscHandler(a,c)},t.prototype.registerOscHandler=function(a,c){return this._core.addOscHandler(a,c)},t.prototype.addOscHandler=function(a,c){return this.registerOscHandler(a,c)},t}(),l=function(){function t(a){this._core=a}return t.prototype.register=function(a){this._core.unicodeService.register(a)},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(c){this._core.unicodeService.activeVersion=c},enumerable:!1,configurable:!0}),t}()},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(R,j){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,K){H.__proto__=K}||function(H,K){for(var U in K)K.hasOwnProperty(U)&&(H[U]=K[U])})(R,j)},function(W,R){function j(){this.constructor=W}m(W,R),W.prototype=R===null?Object.create(R):(j.prototype=R.prototype,new j)});Object.defineProperty(A,"__esModule",{value:!0}),A.Terminal=void 0;var p=b(36),s=b(37),u=b(38),o=b(12),e=b(19),r=b(40),i=b(50),n=b(51),l=b(11),t=b(7),a=b(18),c=b(54),h=b(55),f=b(56),g=b(57),S=b(59),y=b(0),E=b(16),C=b(27),T=b(60),x=b(5),_=b(61),I=b(62),L=b(63),D=b(64),B=b(65),N=typeof window!="undefined"?window.document:null,k=function(W){function R(j){j===void 0&&(j={});var H=W.call(this,j)||this;return H.browser=l,H._keyDownHandled=!1,H._onCursorMove=new y.EventEmitter,H._onKey=new y.EventEmitter,H._onRender=new y.EventEmitter,H._onSelectionChange=new y.EventEmitter,H._onTitleChange=new y.EventEmitter,H._onFocus=new y.EventEmitter,H._onBlur=new y.EventEmitter,H._onA11yCharEmitter=new y.EventEmitter,H._onA11yTabEmitter=new y.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(K,U){return H.refresh(K,U)})),H.register(H._inputHandler.onRequestReset(function(){return H.reset()})),H.register(H._inputHandler.onRequestScroll(function(K,U){return H.scroll(K,U||void 0)})),H.register(H._inputHandler.onRequestWindowsOptionsReport(function(K){return H._reportWindowsOptions(K)})),H.register(y.forwardEvent(H._inputHandler.onCursorMove,H._onCursorMove)),H.register(y.forwardEvent(H._inputHandler.onTitleChange,H._onTitleChange)),H.register(y.forwardEvent(H._inputHandler.onA11yChar,H._onA11yCharEmitter)),H.register(y.forwardEvent(H._inputHandler.onA11yTab,H._onA11yTabEmitter)),H.register(H._bufferService.onResize(function(K){return H._afterResize(K.cols,K.rows)})),H}return v(R,W),Object.defineProperty(R.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),R.prototype.dispose=function(){var j,H,K;this._isDisposed||(W.prototype.dispose.call(this),(j=this._renderService)===null||j===void 0||j.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(K=(H=this.element)===null||H===void 0?void 0:H.parentNode)===null||K===void 0||K.removeChild(this.element))},R.prototype._setup=function(){W.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(R.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),R.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},R.prototype._updateOptions=function(j){var H,K,U,Q;switch(W.prototype._updateOptions.call(this,j),j){case"fontFamily":case"fontSize":(H=this._renderService)===null||H===void 0||H.clear(),(K=this._charSizeService)===null||K===void 0||K.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(U=this.viewport)===null||U===void 0||U.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new f.AccessibilityManager(this,this._renderService)):((Q=this._accessibilityManager)===null||Q===void 0||Q.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},R.prototype._onTextAreaFocus=function(j){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(o.C0.ESC+"[I"),this.updateCursorStyle(j),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},R.prototype.blur=function(){var j;return(j=this.textarea)===null||j===void 0?void 0:j.blur()},R.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(o.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},R.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var j=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),H=this._bufferService.buffer.y*j,K=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=K+"px",this.textarea.style.top=H+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=j+"px",this.textarea.style.lineHeight=j+"px",this.textarea.style.zIndex="-5"}},R.prototype._initGlobal=function(){var j=this;this._bindKeys(),this.register(t.addDisposableDomListener(this.element,"copy",function(K){j.hasSelection()&&u.copyHandler(K,j._selectionService)}));var H=function(U){return u.handlePasteEvent(U,j.textarea,j._coreService)};this.register(t.addDisposableDomListener(this.textarea,"paste",H)),this.register(t.addDisposableDomListener(this.element,"paste",H)),l.isFirefox?this.register(t.addDisposableDomListener(this.element,"mousedown",function(K){K.button===2&&u.rightClickHandler(K,j.textarea,j.screenElement,j._selectionService,j.options.rightClickSelectsWord)})):this.register(t.addDisposableDomListener(this.element,"contextmenu",function(K){u.rightClickHandler(K,j.textarea,j.screenElement,j._selectionService,j.options.rightClickSelectsWord)})),l.isLinux&&this.register(t.addDisposableDomListener(this.element,"auxclick",function(K){K.button===1&&u.moveTextAreaUnderMouseCursor(K,j.textarea,j.screenElement)}))},R.prototype._bindKeys=function(){var j=this;this.register(t.addDisposableDomListener(this.textarea,"keyup",function(H){return j._keyUp(H)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keydown",function(H){return j._keyDown(H)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keypress",function(H){return j._keyPress(H)},!0)),this.register(t.addDisposableDomListener(this.textarea,"compositionstart",function(){return j._compositionHelper.compositionstart()})),this.register(t.addDisposableDomListener(this.textarea,"compositionupdate",function(H){return j._compositionHelper.compositionupdate(H)})),this.register(t.addDisposableDomListener(this.textarea,"compositionend",function(){return j._compositionHelper.compositionend()})),this.register(this.onRender(function(){return j._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(H){return j._queueLinkification(H.start,H.end)}))},R.prototype.open=function(j){var H=this;if(!j)throw new Error("Terminal requires a parent element.");N.body.contains(j)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=j.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"),j.appendChild(this.element);var K=N.createDocumentFragment();this._viewportElement=N.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),K.appendChild(this._viewportElement),this._viewportScrollArea=N.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=N.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=N.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),K.appendChild(this.screenElement),this.textarea=N.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",a.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(V){return H._onTextAreaFocus(V)})),this.register(t.addDisposableDomListener(this.textarea,"blur",function(){return H._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var U=this._instantiationService.createInstance(D.CoreBrowserService,this.textarea);this._instantiationService.setService(x.ICoreBrowserService,U),this._charSizeService=this._instantiationService.createInstance(_.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(x.ICharSizeService,this._charSizeService),this._compositionView=N.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(K),this._theme=this.options.theme||this._theme,this._colorManager=new C.ColorManager(N,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(V){return H._colorManager.onOptionsChange(V)})),this._colorManager.setTheme(this._theme);var Q=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(T.RenderService,Q,this.rows,this.screenElement)),this._instantiationService.setService(x.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(V){return H._onRender.fire(V)})),this.onResize(function(V){return H._renderService.resize(V.cols,V.rows)}),this._soundService=this._instantiationService.createInstance(c.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(s.Viewport,function(V,J){return H.scrollLines(V,J)},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(n.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(x.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(V){return H.scrollLines(V.amount,V.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return H._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(V){return H._renderService.onSelectionChanged(V.start,V.end,V.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(V){H.textarea.value=V,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(h.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(V){return H._selectionService.onMouseDown(V)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new f.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},R.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(r.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(g.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},R.prototype._setTheme=function(j){var H,K,U;this._theme=j,(H=this._colorManager)===null||H===void 0||H.setTheme(j),(K=this._renderService)===null||K===void 0||K.setColors(this._colorManager.colors),(U=this.viewport)===null||U===void 0||U.onThemeChange(this._colorManager.colors)},R.prototype.bindMouse=function(){var j=this,H=this,K=this.element;function U($){var ge,he,Ie=H._mouseService.getRawByteCoords($,H.screenElement,H.cols,H.rows);if(!Ie)return!1;switch($.overrideType||$.type){case"mousemove":he=32,$.buttons===void 0?(ge=3,$.button!==void 0&&(ge=$.button<3?$.button:3)):ge=1&$.buttons?0:4&$.buttons?1:2&$.buttons?2:3;break;case"mouseup":he=0,ge=$.button<3?$.button:3;break;case"mousedown":he=1,ge=$.button<3?$.button:3;break;case"wheel":$.deltaY!==0&&(he=$.deltaY<0?0:1),ge=4;break;default:return!1}return!(he===void 0||ge===void 0||ge>4)&&H._coreMouseService.triggerMouseEvent({col:Ie.x-33,row:Ie.y-33,button:ge,action:he,ctrl:$.ctrlKey,alt:$.altKey,shift:$.shiftKey})}var Q={mouseup:null,wheel:null,mousedrag:null,mousemove:null},V=function(ge){return U(ge),ge.buttons||(j._document.removeEventListener("mouseup",Q.mouseup),Q.mousedrag&&j._document.removeEventListener("mousemove",Q.mousedrag)),j.cancel(ge)},J=function(ge){return U(ge),ge.preventDefault(),j.cancel(ge)},ae=function(ge){ge.buttons&&U(ge)},se=function(ge){ge.buttons||U(ge)};this.register(this._coreMouseService.onProtocolChange(function($){$?(j.optionsService.options.logLevel==="debug"&&j._logService.debug("Binding to mouse events:",j._coreMouseService.explainEvents($)),j.element.classList.add("enable-mouse-events"),j._selectionService.disable()):(j._logService.debug("Unbinding from mouse events."),j.element.classList.remove("enable-mouse-events"),j._selectionService.enable()),8&$?Q.mousemove||(K.addEventListener("mousemove",se),Q.mousemove=se):(K.removeEventListener("mousemove",Q.mousemove),Q.mousemove=null),16&$?Q.wheel||(K.addEventListener("wheel",J,{passive:!1}),Q.wheel=J):(K.removeEventListener("wheel",Q.wheel),Q.wheel=null),2&$?Q.mouseup||(Q.mouseup=V):(j._document.removeEventListener("mouseup",Q.mouseup),Q.mouseup=null),4&$?Q.mousedrag||(Q.mousedrag=ae):(j._document.removeEventListener("mousemove",Q.mousedrag),Q.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(t.addDisposableDomListener(K,"mousedown",function($){if($.preventDefault(),j.focus(),j._coreMouseService.areMouseEventsActive&&!j._selectionService.shouldForceSelection($))return U($),Q.mouseup&&j._document.addEventListener("mouseup",Q.mouseup),Q.mousedrag&&j._document.addEventListener("mousemove",Q.mousedrag),j.cancel($)})),this.register(t.addDisposableDomListener(K,"wheel",function($){if(!Q.wheel){if(!j.buffer.hasScrollback){var ge=j.viewport.getLinesScrolled($);if(ge===0)return;for(var he=o.C0.ESC+(j._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+($.deltaY<0?"A":"B"),Ie="",Se=0;Se<Math.abs(ge);Se++)Ie+=he;j._coreService.triggerDataEvent(Ie,!0)}}},{passive:!0})),this.register(t.addDisposableDomListener(K,"wheel",function($){if(!Q.wheel)return j.viewport.onWheel($)?void 0:j.cancel($)},{passive:!1})),this.register(t.addDisposableDomListener(K,"touchstart",function($){if(!j._coreMouseService.areMouseEventsActive)return j.viewport.onTouchStart($),j.cancel($)},{passive:!0})),this.register(t.addDisposableDomListener(K,"touchmove",function($){if(!j._coreMouseService.areMouseEventsActive)return j.viewport.onTouchMove($)?void 0:j.cancel($)},{passive:!1}))},R.prototype.refresh=function(j,H){var K;(K=this._renderService)===null||K===void 0||K.refreshRows(j,H)},R.prototype._queueLinkification=function(j,H){var K;(K=this.linkifier)===null||K===void 0||K.linkifyRows(j,H)},R.prototype.updateCursorStyle=function(j){this._selectionService&&this._selectionService.shouldColumnSelect(j)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},R.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},R.prototype.scrollLines=function(j,H){W.prototype.scrollLines.call(this,j,H),this.refresh(0,this.rows-1)},R.prototype.paste=function(j){u.paste(j,this.textarea,this._coreService)},R.prototype.attachCustomKeyEventHandler=function(j){this._customKeyEventHandler=j},R.prototype.registerLinkMatcher=function(j,H,K){var U=this.linkifier.registerLinkMatcher(j,H,K);return this.refresh(0,this.rows-1),U},R.prototype.deregisterLinkMatcher=function(j){this.linkifier.deregisterLinkMatcher(j)&&this.refresh(0,this.rows-1)},R.prototype.registerLinkProvider=function(j){return this.linkifier2.registerLinkProvider(j)},R.prototype.registerCharacterJoiner=function(j){var H=this._renderService.registerCharacterJoiner(j);return this.refresh(0,this.rows-1),H},R.prototype.deregisterCharacterJoiner=function(j){this._renderService.deregisterCharacterJoiner(j)&&this.refresh(0,this.rows-1)},Object.defineProperty(R.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),R.prototype.addMarker=function(j){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+j)},R.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},R.prototype.select=function(j,H,K){this._selectionService.setSelection(j,H,K)},R.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},R.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},R.prototype.clearSelection=function(){var j;(j=this._selectionService)===null||j===void 0||j.clearSelection()},R.prototype.selectAll=function(){var j;(j=this._selectionService)===null||j===void 0||j.selectAll()},R.prototype.selectLines=function(j,H){var K;(K=this._selectionService)===null||K===void 0||K.selectLines(j,H)},R.prototype._keyDown=function(j){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(j)===!1)return!1;if(!this._compositionHelper.keydown(j))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var H=S.evaluateKeyboardEvent(j,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(j),H.type===3||H.type===2){var K=this.rows-1;return this.scrollLines(H.type===2?-K:K),this.cancel(j,!0)}return H.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,j)||(H.cancel&&this.cancel(j,!0),!H.key||(H.key!==o.C0.ETX&&H.key!==o.C0.CR||(this.textarea.value=""),this._onKey.fire({key:H.key,domEvent:j}),this._showCursor(),this._coreService.triggerDataEvent(H.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(j,!0)))},R.prototype._isThirdLevelShift=function(j,H){var K=j.isMac&&!this.options.macOptionIsMeta&&H.altKey&&!H.ctrlKey&&!H.metaKey||j.isWindows&&H.altKey&&H.ctrlKey&&!H.metaKey;return H.type==="keypress"?K:K&&(!H.keyCode||H.keyCode>47)},R.prototype._keyUp=function(j){this._customKeyEventHandler&&this._customKeyEventHandler(j)===!1||(function(H){return H.keyCode===16||H.keyCode===17||H.keyCode===18}(j)||this.focus(),this.updateCursorStyle(j))},R.prototype._keyPress=function(j){var H;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(j)===!1)return!1;if(this.cancel(j),j.charCode)H=j.charCode;else if(j.which===null||j.which===void 0)H=j.keyCode;else{if(j.which===0||j.charCode===0)return!1;H=j.which}return!(!H||(j.altKey||j.ctrlKey||j.metaKey)&&!this._isThirdLevelShift(this.browser,j))&&(H=String.fromCharCode(H),this._onKey.fire({key:H,domEvent:j}),this._showCursor(),this._coreService.triggerDataEvent(H,!0),!0)},R.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},R.prototype.resize=function(j,H){j!==this.cols||H!==this.rows?W.prototype.resize.call(this,j,H):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},R.prototype._afterResize=function(j,H){var K,U;(K=this._charSizeService)===null||K===void 0||K.measure(),(U=this.viewport)===null||U===void 0||U.syncScrollArea(!0)},R.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var j=1;j<this.rows;j++)this.buffer.lines.push(this.buffer.getBlankLine(E.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},R.prototype.reset=function(){var j,H;this.options.rows=this.rows,this.options.cols=this.cols;var K=this._customKeyEventHandler;this._setup(),W.prototype.reset.call(this),(j=this._selectionService)===null||j===void 0||j.reset(),this._customKeyEventHandler=K,this.refresh(0,this.rows-1),(H=this.viewport)===null||H===void 0||H.syncScrollArea()},R.prototype._reportWindowsOptions=function(j){if(this._renderService)switch(j){case e.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var H=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),K=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(o.C0.ESC+"[4;"+K+";"+H+"t");break;case e.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var U=this._renderService.dimensions.scaledCellWidth.toFixed(0),Q=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(o.C0.ESC+"[6;"+Q+";"+U+"t")}},R.prototype.cancel=function(j,H){if(this.options.cancelEvents||H)return j.preventDefault(),j.stopPropagation(),!1},R.prototype._visualBell=function(){return!1},R.prototype._soundBell=function(){return this.options.bellStyle==="sound"},R}(B.CoreTerminal);A.Terminal=k},function(w,A,b){"use strict";var m=this&&this.__decorate||function(o,e,r,i){var n,l=arguments.length,t=l<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(o,e,r,i);else for(var a=o.length-1;a>=0;a--)(n=o[a])&&(t=(l<3?n(t):l>3?n(e,r,t):n(e,r))||t);return l>3&&t&&Object.defineProperty(e,r,t),t},v=this&&this.__param||function(o,e){return function(r,i){e(r,i,o)}};Object.defineProperty(A,"__esModule",{value:!0}),A.CompositionHelper=void 0;var p=b(5),s=b(1),u=function(){function o(e,r,i,n,l,t){this._textarea=e,this._compositionView=r,this._bufferService=i,this._optionsService=n,this._charSizeService=l,this._coreService=t,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(o.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),o.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},o.prototype.compositionupdate=function(e){var r=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout(function(){r._compositionPosition.end=r._textarea.value.length},0)},o.prototype.compositionend=function(){this._finalizeComposition(!0)},o.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)},o.prototype._finalizeComposition=function(e){var r=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(r._isSendingComposition){r._isSendingComposition=!1;var l=void 0;l=r._isComposing?r._textarea.value.substring(i.start,i.end):r._textarea.value.substring(i.start),r._coreService.triggerDataEvent(l,!0)}},0)}else{this._isSendingComposition=!1;var n=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(n,!0)}},o.prototype._handleAnyTextareaChanges=function(){var e=this,r=this._textarea.value;setTimeout(function(){if(!e._isComposing){var i=e._textarea.value.replace(r,"");i.length>0&&e._coreService.triggerDataEvent(i,!0)}},0)},o.prototype.updateCompositionElements=function(e){var r=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var i=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),n=this._bufferService.buffer.y*i,l=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=l+"px",this._compositionView.style.top=n+"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=l+"px",this._textarea.style.top=n+"px",this._textarea.style.width=t.width+"px",this._textarea.style.height=t.height+"px",this._textarea.style.lineHeight=t.height+"px"}e||setTimeout(function(){return r.updateCompositionElements(!0)},0)}},o=m([v(2,s.IBufferService),v(3,s.IOptionsService),v(4,p.ICharSizeService),v(5,s.ICoreService)],o)}();A.CompositionHelper=u},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var h in c)c.hasOwnProperty(h)&&(a[h]=c[h])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),p=this&&this.__decorate||function(n,l,t,a){var c,h=arguments.length,f=h<3?l:a===null?a=Object.getOwnPropertyDescriptor(l,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(n,l,t,a);else for(var g=n.length-1;g>=0;g--)(c=n[g])&&(f=(h<3?c(f):h>3?c(l,t,f):c(l,t))||f);return h>3&&f&&Object.defineProperty(l,t,f),f},s=this&&this.__param||function(n,l){return function(t,a){l(t,a,n)}};Object.defineProperty(A,"__esModule",{value:!0}),A.Viewport=void 0;var u=b(2),o=b(7),e=b(5),r=b(1),i=function(n){function l(t,a,c,h,f,g,S){var y=n.call(this)||this;return y._scrollLines=t,y._viewportElement=a,y._scrollArea=c,y._bufferService=h,y._optionsService=f,y._charSizeService=g,y._renderService=S,y.scrollBarWidth=0,y._currentRowHeight=0,y._lastRecordedBufferLength=0,y._lastRecordedViewportHeight=0,y._lastRecordedBufferHeight=0,y._lastTouchY=0,y._lastScrollTop=0,y._wheelPartialScroll=0,y._refreshAnimationFrame=null,y._ignoreNextScrollEvent=!1,y.scrollBarWidth=y._viewportElement.offsetWidth-y._scrollArea.offsetWidth||15,y.register(o.addDisposableDomListener(y._viewportElement,"scroll",y._onScroll.bind(y))),setTimeout(function(){return y.syncScrollArea()},0),y}return v(l,n),l.prototype.onThemeChange=function(t){this._viewportElement.style.backgroundColor=t.background.css},l.prototype._refresh=function(t){var a=this;if(t)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return a._innerRefresh()}))},l.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var t=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==t&&(this._lastRecordedBufferHeight=t,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var a=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==a&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=a),this._refreshAnimationFrame=null},l.prototype.syncScrollArea=function(t){if(t===void 0&&(t=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(t);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var a=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===a&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(t)}else this._refresh(t)},l.prototype._onScroll=function(t){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var a=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(a,!0)}},l.prototype._bubbleScroll=function(t,a){var c=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(a<0&&this._viewportElement.scrollTop!==0||a>0&&c<this._lastRecordedBufferHeight)||(t.cancelable&&t.preventDefault(),!1)},l.prototype.onWheel=function(t){var a=this._getPixelsScrolled(t);return a!==0&&(this._viewportElement.scrollTop+=a,this._bubbleScroll(t,a))},l.prototype._getPixelsScrolled=function(t){if(t.deltaY===0)return 0;var a=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_LINE?a*=this._currentRowHeight:t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(a*=this._currentRowHeight*this._bufferService.rows),a},l.prototype.getLinesScrolled=function(t){if(t.deltaY===0)return 0;var a=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(a/=this._currentRowHeight+0,this._wheelPartialScroll+=a,a=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(a*=this._bufferService.rows),a},l.prototype._applyScrollModifier=function(t,a){var c=this._optionsService.options.fastScrollModifier;return c==="alt"&&a.altKey||c==="ctrl"&&a.ctrlKey||c==="shift"&&a.shiftKey?t*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:t*this._optionsService.options.scrollSensitivity},l.prototype.onTouchStart=function(t){this._lastTouchY=t.touches[0].pageY},l.prototype.onTouchMove=function(t){var a=this._lastTouchY-t.touches[0].pageY;return this._lastTouchY=t.touches[0].pageY,a!==0&&(this._viewportElement.scrollTop+=a,this._bubbleScroll(t,a))},l=p([s(3,r.IBufferService),s(4,r.IOptionsService),s(5,e.ICharSizeService),s(6,e.IRenderService)],l)}(u.Disposable);A.Viewport=i},function(w,A,b){"use strict";function m(u){return u.replace(/\r?\n/g,"\r")}function v(u,o){return o?"[200~"+u+"[201~":u}function p(u,o,e){u=v(u=m(u),e.decPrivateModes.bracketedPasteMode),e.triggerDataEvent(u,!0),o.value=""}function s(u,o,e){var r=e.getBoundingClientRect(),i=u.clientX-r.left-10,n=u.clientY-r.top-10;o.style.width="20px",o.style.height="20px",o.style.left=i+"px",o.style.top=n+"px",o.style.zIndex="1000",o.focus()}Object.defineProperty(A,"__esModule",{value:!0}),A.rightClickHandler=A.moveTextAreaUnderMouseCursor=A.paste=A.handlePasteEvent=A.copyHandler=A.bracketTextForPaste=A.prepareTextForTerminal=void 0,A.prepareTextForTerminal=m,A.bracketTextForPaste=v,A.copyHandler=function(u,o){u.clipboardData&&u.clipboardData.setData("text/plain",o.selectionText),u.preventDefault()},A.handlePasteEvent=function(u,o,e){u.stopPropagation(),u.clipboardData&&p(u.clipboardData.getData("text/plain"),o,e)},A.paste=p,A.moveTextAreaUnderMouseCursor=s,A.rightClickHandler=function(u,o,e,r,i){s(u,o,e),i&&!r.isClickInSelection(u)&&r.selectWordAtCursor(u),o.value=r.selectionText,o.select()}},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var h in c)c.hasOwnProperty(h)&&(a[h]=c[h])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)});Object.defineProperty(A,"__esModule",{value:!0}),A.EscapeSequenceParser=A.VT500_TRANSITION_TABLE=A.TransitionTable=void 0;var p=b(2),s=b(15),u=b(21),o=b(22),e=b(24),r=function(){function n(l){this.table=new Uint8Array(l)}return n.prototype.setDefault=function(l,t){s.fill(this.table,l<<4|t)},n.prototype.add=function(l,t,a,c){this.table[t<<8|l]=a<<4|c},n.prototype.addMany=function(l,t,a,c){for(var h=0;h<l.length;h++)this.table[t<<8|l[h]]=a<<4|c},n}();A.TransitionTable=r,A.VT500_TRANSITION_TABLE=function(){var n=new r(4095),l=Array.apply(null,Array(256)).map(function(g,S){return S}),t=function(S,y){return l.slice(S,y)},a=t(32,127),c=t(0,24);c.push(25),c.push.apply(c,t(28,32));var h,f=t(0,14);for(h in n.setDefault(1,0),n.addMany(a,0,2,0),f)n.addMany([24,26,153,154],h,3,0),n.addMany(t(128,144),h,3,0),n.addMany(t(144,152),h,3,0),n.add(156,h,0,0),n.add(27,h,11,1),n.add(157,h,4,8),n.addMany([152,158,159],h,0,7),n.add(155,h,11,3),n.add(144,h,11,9);return n.addMany(c,0,3,0),n.addMany(c,1,3,1),n.add(127,1,0,1),n.addMany(c,8,0,8),n.addMany(c,3,3,3),n.add(127,3,0,3),n.addMany(c,4,3,4),n.add(127,4,0,4),n.addMany(c,6,3,6),n.addMany(c,5,3,5),n.add(127,5,0,5),n.addMany(c,2,3,2),n.add(127,2,0,2),n.add(93,1,4,8),n.addMany(a,8,5,8),n.add(127,8,5,8),n.addMany([156,27,24,26,7],8,6,0),n.addMany(t(28,32),8,0,8),n.addMany([88,94,95],1,0,7),n.addMany(a,7,0,7),n.addMany(c,7,0,7),n.add(156,7,0,0),n.add(127,7,0,7),n.add(91,1,11,3),n.addMany(t(64,127),3,7,0),n.addMany(t(48,60),3,8,4),n.addMany([60,61,62,63],3,9,4),n.addMany(t(48,60),4,8,4),n.addMany(t(64,127),4,7,0),n.addMany([60,61,62,63],4,0,6),n.addMany(t(32,64),6,0,6),n.add(127,6,0,6),n.addMany(t(64,127),6,0,0),n.addMany(t(32,48),3,9,5),n.addMany(t(32,48),5,9,5),n.addMany(t(48,64),5,0,6),n.addMany(t(64,127),5,7,0),n.addMany(t(32,48),4,9,5),n.addMany(t(32,48),1,9,2),n.addMany(t(32,48),2,9,2),n.addMany(t(48,127),2,10,0),n.addMany(t(48,80),1,10,0),n.addMany(t(81,88),1,10,0),n.addMany([89,90,92],1,10,0),n.addMany(t(96,127),1,10,0),n.add(80,1,11,9),n.addMany(c,9,0,9),n.add(127,9,0,9),n.addMany(t(28,32),9,0,9),n.addMany(t(32,48),9,9,12),n.addMany(t(48,60),9,8,10),n.addMany([60,61,62,63],9,9,10),n.addMany(c,11,0,11),n.addMany(t(32,128),11,0,11),n.addMany(t(28,32),11,0,11),n.addMany(c,10,0,10),n.add(127,10,0,10),n.addMany(t(28,32),10,0,10),n.addMany(t(48,60),10,8,10),n.addMany([60,61,62,63],10,0,11),n.addMany(t(32,48),10,9,12),n.addMany(c,12,0,12),n.add(127,12,0,12),n.addMany(t(28,32),12,0,12),n.addMany(t(32,48),12,9,12),n.addMany(t(48,64),12,0,11),n.addMany(t(64,127),12,12,13),n.addMany(t(64,127),10,12,13),n.addMany(t(64,127),9,12,13),n.addMany(c,13,13,13),n.addMany(a,13,13,13),n.add(127,13,0,13),n.addMany([27,156,24,26],13,14,0),n.add(160,0,2,0),n.add(160,8,5,8),n.add(160,6,0,6),n.add(160,11,0,11),n.add(160,13,13,13),n}();var i=function(n){function l(t){t===void 0&&(t=A.VT500_TRANSITION_TABLE);var a=n.call(this)||this;return a._transitions=t,a.initialState=0,a.currentState=a.initialState,a._params=new u.Params,a._params.addParam(0),a._collect=0,a.precedingCodepoint=0,a._printHandlerFb=function(c,h,f){},a._executeHandlerFb=function(c){},a._csiHandlerFb=function(c,h){},a._escHandlerFb=function(c){},a._errorHandlerFb=function(c){return c},a._printHandler=a._printHandlerFb,a._executeHandlers=Object.create(null),a._csiHandlers=Object.create(null),a._escHandlers=Object.create(null),a._oscParser=new o.OscParser,a._dcsParser=new e.DcsParser,a._errorHandler=a._errorHandlerFb,a.setEscHandler({final:"\\"},function(){}),a}return v(l,n),l.prototype._identifier=function(t,a){a===void 0&&(a=[64,126]);var c=0;if(t.prefix){if(t.prefix.length>1)throw new Error("only one byte as prefix supported");if((c=t.prefix.charCodeAt(0))&&60>c||c>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 h=0;h<t.intermediates.length;++h){var f=t.intermediates.charCodeAt(h);if(32>f||f>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");c<<=8,c|=f}}if(t.final.length!==1)throw new Error("final must be a single byte");var g=t.final.charCodeAt(0);if(a[0]>g||g>a[1])throw new Error("final must be in range "+a[0]+" .. "+a[1]);return c<<=8,c|=g},l.prototype.identToString=function(t){for(var a=[];t;)a.push(String.fromCharCode(255&t)),t>>=8;return a.reverse().join("")},l.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},l.prototype.setPrintHandler=function(t){this._printHandler=t},l.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},l.prototype.addEscHandler=function(t,a){var c=this._identifier(t,[48,126]);this._escHandlers[c]===void 0&&(this._escHandlers[c]=[]);var h=this._escHandlers[c];return h.push(a),{dispose:function(){var g=h.indexOf(a);g!==-1&&h.splice(g,1)}}},l.prototype.setEscHandler=function(t,a){this._escHandlers[this._identifier(t,[48,126])]=[a]},l.prototype.clearEscHandler=function(t){this._escHandlers[this._identifier(t,[48,126])]&&delete this._escHandlers[this._identifier(t,[48,126])]},l.prototype.setEscHandlerFallback=function(t){this._escHandlerFb=t},l.prototype.setExecuteHandler=function(t,a){this._executeHandlers[t.charCodeAt(0)]=a},l.prototype.clearExecuteHandler=function(t){this._executeHandlers[t.charCodeAt(0)]&&delete this._executeHandlers[t.charCodeAt(0)]},l.prototype.setExecuteHandlerFallback=function(t){this._executeHandlerFb=t},l.prototype.addCsiHandler=function(t,a){var c=this._identifier(t);this._csiHandlers[c]===void 0&&(this._csiHandlers[c]=[]);var h=this._csiHandlers[c];return h.push(a),{dispose:function(){var g=h.indexOf(a);g!==-1&&h.splice(g,1)}}},l.prototype.setCsiHandler=function(t,a){this._csiHandlers[this._identifier(t)]=[a]},l.prototype.clearCsiHandler=function(t){this._csiHandlers[this._identifier(t)]&&delete this._csiHandlers[this._identifier(t)]},l.prototype.setCsiHandlerFallback=function(t){this._csiHandlerFb=t},l.prototype.addDcsHandler=function(t,a){return this._dcsParser.addHandler(this._identifier(t),a)},l.prototype.setDcsHandler=function(t,a){this._dcsParser.setHandler(this._identifier(t),a)},l.prototype.clearDcsHandler=function(t){this._dcsParser.clearHandler(this._identifier(t))},l.prototype.setDcsHandlerFallback=function(t){this._dcsParser.setHandlerFallback(t)},l.prototype.addOscHandler=function(t,a){return this._oscParser.addHandler(t,a)},l.prototype.setOscHandler=function(t,a){this._oscParser.setHandler(t,a)},l.prototype.clearOscHandler=function(t){this._oscParser.clearHandler(t)},l.prototype.setOscHandlerFallback=function(t){this._oscParser.setHandlerFallback(t)},l.prototype.setErrorHandler=function(t){this._errorHandler=t},l.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},l.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},l.prototype.parse=function(t,a){for(var c=0,h=0,f=this.currentState,g=this._oscParser,S=this._dcsParser,y=this._collect,E=this._params,C=this._transitions.table,T=0;T<a;++T){switch((h=C[f<<8|((c=t[T])<160?c:160)])>>4){case 2:for(var x=T+1;;++x){if(x>=a||(c=t[x])<32||c>126&&c<160){this._printHandler(t,T,x),T=x-1;break}if(++x>=a||(c=t[x])<32||c>126&&c<160){this._printHandler(t,T,x),T=x-1;break}if(++x>=a||(c=t[x])<32||c>126&&c<160){this._printHandler(t,T,x),T=x-1;break}if(++x>=a||(c=t[x])<32||c>126&&c<160){this._printHandler(t,T,x),T=x-1;break}}break;case 3:this._executeHandlers[c]?this._executeHandlers[c]():this._executeHandlerFb(c),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:T,code:c,currentState:f,collect:y,params:E,abort:!1}).abort)return;break;case 7:for(var _=this._csiHandlers[y<<8|c],I=_?_.length-1:-1;I>=0&&_[I](E)===!1;I--);I<0&&this._csiHandlerFb(y<<8|c,E),this.precedingCodepoint=0;break;case 8:do switch(c){case 59:E.addParam(0);break;case 58:E.addSubParam(-1);break;default:E.addDigit(c-48)}while(++T<a&&(c=t[T])>47&&c<60);T--;break;case 9:y<<=8,y|=c;break;case 10:for(var L=this._escHandlers[y<<8|c],D=L?L.length-1:-1;D>=0&&L[D]()===!1;D--);D<0&&this._escHandlerFb(y<<8|c),this.precedingCodepoint=0;break;case 11:E.reset(),E.addParam(0),y=0;break;case 12:S.hook(y<<8|c,E);break;case 13:for(var B=T+1;;++B)if(B>=a||(c=t[B])===24||c===26||c===27||c>127&&c<160){S.put(t,T,B),T=B-1;break}break;case 14:S.unhook(c!==24&&c!==26),c===27&&(h|=1),E.reset(),E.addParam(0),y=0,this.precedingCodepoint=0;break;case 4:g.start();break;case 5:for(var N=T+1;;N++)if(N>=a||(c=t[N])<32||c>127&&c<=159){g.put(t,T,N),T=N-1;break}break;case 6:g.end(c!==24&&c!==26),c===27&&(h|=1),E.reset(),E.addParam(0),y=0,this.precedingCodepoint=0}f=15&h}this._collect=y,this.currentState=f},l}(p.Disposable);A.EscapeSequenceParser=i},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(S,y){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,y)},function(g,S){function y(){this.constructor=g}m(g,S),g.prototype=S===null?Object.create(S):(y.prototype=S.prototype,new y)}),p=this&&this.__decorate||function(g,S,y,E){var C,T=arguments.length,x=T<3?S:E===null?E=Object.getOwnPropertyDescriptor(S,y):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(g,S,y,E);else for(var _=g.length-1;_>=0;_--)(C=g[_])&&(x=(T<3?C(x):T>3?C(S,y,x):C(S,y))||x);return T>3&&x&&Object.defineProperty(S,y,x),x},s=this&&this.__param||function(g,S){return function(y,E){S(y,E,g)}};Object.defineProperty(A,"__esModule",{value:!0}),A.Renderer=void 0;var u=b(41),o=b(47),e=b(48),r=b(49),i=b(29),n=b(2),l=b(5),t=b(1),a=b(25),c=b(0),h=1,f=function(g){function S(y,E,C,T,x,_,I,L,D){var B=g.call(this)||this;B._colors=y,B._screenElement=E,B._bufferService=x,B._charSizeService=_,B._optionsService=I,B._id=h++,B._onRequestRedraw=new c.EventEmitter;var N=B._optionsService.options.allowTransparency;return B._characterJoinerRegistry=new i.CharacterJoinerRegistry(B._bufferService),B._renderLayers=[new u.TextRenderLayer(B._screenElement,0,B._colors,B._characterJoinerRegistry,N,B._id,B._bufferService,I),new o.SelectionRenderLayer(B._screenElement,1,B._colors,B._id,B._bufferService,I),new r.LinkRenderLayer(B._screenElement,2,B._colors,B._id,C,T,B._bufferService,I),new e.CursorRenderLayer(B._screenElement,3,B._colors,B._id,B._onRequestRedraw,B._bufferService,I,L,D)],B.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},B._devicePixelRatio=window.devicePixelRatio,B._updateDimensions(),B.onOptionsChanged(),B}return v(S,g),Object.defineProperty(S.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){for(var y=0,E=this._renderLayers;y<E.length;y++)E[y].dispose();g.prototype.dispose.call(this),a.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(y){this._colors=y;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(y,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(y){return y.onBlur()})},S.prototype.onFocus=function(){this._runOperation(function(y){return y.onFocus()})},S.prototype.onSelectionChanged=function(y,E,C){C===void 0&&(C=!1),this._runOperation(function(T){return T.onSelectionChanged(y,E,C)})},S.prototype.onCursorMove=function(){this._runOperation(function(y){return y.onCursorMove()})},S.prototype.onOptionsChanged=function(){this._runOperation(function(y){return y.onOptionsChanged()})},S.prototype.clear=function(){this._runOperation(function(y){return y.reset()})},S.prototype._runOperation=function(y){for(var E=0,C=this._renderLayers;E<C.length;E++)y(C[E])},S.prototype.renderRows=function(y,E){for(var C=0,T=this._renderLayers;C<T.length;C++)T[C].onGridChanged(y,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(y){return this._characterJoinerRegistry.registerCharacterJoiner(y)},S.prototype.deregisterCharacterJoiner=function(y){return this._characterJoinerRegistry.deregisterCharacterJoiner(y)},S=p([s(4,t.IBufferService),s(5,l.ICharSizeService),s(6,t.IOptionsService),s(7,t.ICoreService),s(8,l.ICoreBrowserService)],S)}(n.Disposable);A.Renderer=f},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var h in c)c.hasOwnProperty(h)&&(a[h]=c[h])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)});Object.defineProperty(A,"__esModule",{value:!0}),A.TextRenderLayer=void 0;var p=b(42),s=b(13),u=b(6),o=b(3),e=b(29),r=b(4),i=function(n){function l(t,a,c,h,f,g,S,y){var E=n.call(this,t,"text",a,f,c,g,S,y)||this;return E._characterWidth=0,E._characterFont="",E._characterOverlapCache={},E._workCell=new r.CellData,E._state=new p.GridCache,E._characterJoinerRegistry=h,E}return v(l,n),l.prototype.resize=function(t){n.prototype.resize.call(this,t);var a=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===a||(this._characterWidth=t.scaledCharWidth,this._characterFont=a,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},l.prototype.reset=function(){this._state.clear(),this._clearAll()},l.prototype._forEachCell=function(t,a,c,h){for(var f=t;f<=a;f++)for(var g=f+this._bufferService.buffer.ydisp,S=this._bufferService.buffer.lines.get(g),y=c?c.getJoinedCharacters(g):[],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(y.length>0&&E===y[0][0]){T=!0;var _=y.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)===o.NULL_CELL_CODE&&(C.content&=-12582913,C.content|=2<<22),h(C,E,f),E=x}}},l.prototype._drawBackground=function(t,a){var c=this,h=this._ctx,f=this._bufferService.cols,g=0,S=0,y=null;h.save(),this._forEachCell(t,a,null,function(E,C,T){var x=null;E.isInverse()?x=E.isFgDefault()?c._colors.foreground.css:E.isFgRGB()?"rgb("+u.AttributeData.toColorRGB(E.getFgColor()).join(",")+")":c._colors.ansi[E.getFgColor()].css:E.isBgRGB()?x="rgb("+u.AttributeData.toColorRGB(E.getBgColor()).join(",")+")":E.isBgPalette()&&(x=c._colors.ansi[E.getBgColor()].css),y===null&&(g=C,S=T),T!==S?(h.fillStyle=y||"",c._fillCells(g,S,f-g,1),g=C,S=T):y!==x&&(h.fillStyle=y||"",c._fillCells(g,S,C-g,1),g=C,S=T),y=x}),y!==null&&(h.fillStyle=y,this._fillCells(g,S,f-g,1)),h.restore()},l.prototype._drawForeground=function(t,a){var c=this;this._forEachCell(t,a,this._characterJoinerRegistry,function(h,f,g){if(!h.isInvisible()&&(c._drawChars(h,f,g),h.isUnderline())){if(c._ctx.save(),h.isInverse())if(h.isBgDefault())c._ctx.fillStyle=c._colors.background.css;else if(h.isBgRGB())c._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(h.getBgColor()).join(",")+")";else{var S=h.getBgColor();c._optionsService.options.drawBoldTextInBrightColors&&h.isBold()&&S<8&&(S+=8),c._ctx.fillStyle=c._colors.ansi[S].css}else if(h.isFgDefault())c._ctx.fillStyle=c._colors.foreground.css;else if(h.isFgRGB())c._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(h.getFgColor()).join(",")+")";else{var y=h.getFgColor();c._optionsService.options.drawBoldTextInBrightColors&&h.isBold()&&y<8&&(y+=8),c._ctx.fillStyle=c._colors.ansi[y].css}c._fillBottomLineAtCells(f,g,h.getWidth()),c._ctx.restore()}})},l.prototype.onGridChanged=function(t,a){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,t,this._bufferService.cols,a-t+1),this._drawBackground(t,a),this._drawForeground(t,a))},l.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},l.prototype._isOverlapping=function(t){if(t.getWidth()!==1)return!1;if(t.getCode()<256)return!1;var a=t.getChars();if(this._characterOverlapCache.hasOwnProperty(a))return this._characterOverlapCache[a];this._ctx.save(),this._ctx.font=this._characterFont;var c=Math.floor(this._ctx.measureText(a).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[a]=c,c},l}(s.BaseRenderLayer);A.TextRenderLayer=i},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.GridCache=void 0;var m=function(){function v(){this.cache=[]}return v.prototype.resize=function(p,s){for(var u=0;u<p;u++){this.cache.length<=u&&this.cache.push([]);for(var o=this.cache[u].length;o<s;o++)this.cache[u].push(void 0);this.cache[u].length=s}this.cache.length=p},v.prototype.clear=function(){for(var p=0;p<this.cache.length;p++)for(var s=0;s<this.cache[p].length;s++)this.cache[p][s]=void 0},v}();A.GridCache=m},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(h,f){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,S){g.__proto__=S}||function(g,S){for(var y in S)S.hasOwnProperty(y)&&(g[y]=S[y])})(h,f)},function(c,h){function f(){this.constructor=c}m(c,h),c.prototype=h===null?Object.create(h):(f.prototype=h.prototype,new f)});Object.defineProperty(A,"__esModule",{value:!0}),A.NoneCharAtlas=A.DynamicCharAtlas=A.getGlyphCacheKey=void 0;var p=b(9),s=b(44),u=b(27),o=b(46),e=b(11),r=b(28),i=b(10),n={css:"rgba(0, 0, 0, 0)",rgba:0};function l(c){return c.code<<21|c.bg<<12|c.fg<<3|(c.bold?0:4)+(c.dim?0:2)+(c.italic?0:1)}A.getGlyphCacheKey=l;var t=function(c){function h(f,g){var S=c.call(this)||this;S._config=g,S._drawToCacheCount=0,S._glyphsWaitingOnBitmap=[],S._bitmapCommitTimeout=null,S._bitmap=null,S._cacheCanvas=f.createElement("canvas"),S._cacheCanvas.width=1024,S._cacheCanvas.height=1024,S._cacheCtx=r.throwIfFalsy(S._cacheCanvas.getContext("2d",{alpha:!0}));var y=f.createElement("canvas");y.width=S._config.scaledCharWidth,y.height=S._config.scaledCharHeight,S._tmpCtx=r.throwIfFalsy(y.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 o.LRUMap(E),S._cacheMap.prealloc(E),S}return v(h,c),h.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},h.prototype.beginFrame=function(){this._drawToCacheCount=0},h.prototype.draw=function(f,g,S,y){if(g.code===32)return!0;if(!this._canCache(g))return!1;var E=l(g),C=this._cacheMap.get(E);if(C!=null)return this._drawFromCache(f,C,S,y),!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(g,T);return this._cacheMap.set(E,x),this._drawFromCache(f,x,S,y),!0}return!1},h.prototype._canCache=function(f){return f.code<256},h.prototype._toCoordinateX=function(f){return f%this._width*this._config.scaledCharWidth},h.prototype._toCoordinateY=function(f){return Math.floor(f/this._width)*this._config.scaledCharHeight},h.prototype._drawFromCache=function(f,g,S,y){if(!g.isEmpty){var E=this._toCoordinateX(g.index),C=this._toCoordinateY(g.index);f.drawImage(g.inBitmap?this._bitmap:this._cacheCanvas,E,C,this._config.scaledCharWidth,this._config.scaledCharHeight,S,y,this._config.scaledCharWidth,this._config.scaledCharHeight)}},h.prototype._getColorFromAnsiIndex=function(f){return f<this._config.colors.ansi.length?this._config.colors.ansi[f]:u.DEFAULT_ANSI_COLORS[f]},h.prototype._getBackgroundColor=function(f){return this._config.allowTransparency?n:f.bg===p.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:f.bg<256?this._getColorFromAnsiIndex(f.bg):this._config.colors.background},h.prototype._getForegroundColor=function(f){return f.fg===p.INVERTED_DEFAULT_COLOR?i.color.opaque(this._config.colors.background):f.fg<256?this._getColorFromAnsiIndex(f.fg):this._config.colors.foreground},h.prototype._drawToCache=function(f,g){this._drawToCacheCount++,this._tmpCtx.save();var S=this._getBackgroundColor(f);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 y=f.bold?this._config.fontWeightBold:this._config.fontWeight,E=f.italic?"italic":"";this._tmpCtx.font=E+" "+y+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(f).css,f.dim&&(this._tmpCtx.globalAlpha=p.DIM_OPACITY),this._tmpCtx.fillText(f.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,D){for(var B=!0,N=D.rgba>>>24,k=D.rgba>>>16&255,W=D.rgba>>>8&255,R=0;R<L.data.length;R+=4)L.data[R]===N&&L.data[R+1]===k&&L.data[R+2]===W?L.data[R+3]=0:B=!1;return B}(C,S));var x=this._toCoordinateX(g),_=this._toCoordinateY(g);this._cacheCtx.putImageData(C,x,_);var I={index:g,isEmpty:T,inBitmap:!1};return this._addGlyphToBitmap(I),I},h.prototype._addGlyphToBitmap=function(f){var g=this;!("createImageBitmap"in window)||e.isFirefox||e.isSafari||(this._glyphsWaitingOnBitmap.push(f),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return g._generateBitmap()},100)))},h.prototype._generateBitmap=function(){var f=this,g=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(S){f._bitmap=S;for(var y=0;y<g.length;y++)g[y].inBitmap=!0}),this._bitmapCommitTimeout=null},h}(s.BaseCharAtlas);A.DynamicCharAtlas=t;var a=function(c){function h(f,g){return c.call(this)||this}return v(h,c),h.prototype.draw=function(f,g,S,y){return!1},h}(s.BaseCharAtlas);A.NoneCharAtlas=a},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.BaseCharAtlas=void 0;var m=function(){function v(){this._didWarmUp=!1}return v.prototype.dispose=function(){},v.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},v.prototype._doWarmUp=function(){},v.prototype.beginFrame=function(){},v}();A.BaseCharAtlas=m},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ColorContrastCache=void 0;var m=function(){function v(){this._color={},this._rgba={}}return v.prototype.clear=function(){this._color={},this._rgba={}},v.prototype.setCss=function(p,s,u){this._rgba[p]||(this._rgba[p]={}),this._rgba[p][s]=u},v.prototype.getCss=function(p,s){return this._rgba[p]?this._rgba[p][s]:void 0},v.prototype.setColor=function(p,s,u){this._color[p]||(this._color[p]={}),this._color[p][s]=u},v.prototype.getColor=function(p,s){return this._color[p]?this._color[p][s]:void 0},v}();A.ColorContrastCache=m},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.LRUMap=void 0;var m=function(){function v(p){this.capacity=p,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return v.prototype._unlinkNode=function(p){var s=p.prev,u=p.next;p===this._head&&(this._head=u),p===this._tail&&(this._tail=s),s!==null&&(s.next=u),u!==null&&(u.prev=s)},v.prototype._appendNode=function(p){var s=this._tail;s!==null&&(s.next=p),p.prev=s,p.next=null,this._tail=p,this._head===null&&(this._head=p)},v.prototype.prealloc=function(p){for(var s=this._nodePool,u=0;u<p;u++)s.push({prev:null,next:null,key:null,value:null})},v.prototype.get=function(p){var s=this._map[p];return s!==void 0?(this._unlinkNode(s),this._appendNode(s),s.value):null},v.prototype.peekValue=function(p){var s=this._map[p];return s!==void 0?s.value:null},v.prototype.peek=function(){var p=this._head;return p===null?null:p.value},v.prototype.set=function(p,s){var u=this._map[p];if(u!==void 0)u=this._map[p],this._unlinkNode(u),u.value=s;else if(this.size>=this.capacity)u=this._head,this._unlinkNode(u),delete this._map[u.key],u.key=p,u.value=s,this._map[p]=u;else{var o=this._nodePool;o.length>0?((u=o.pop()).key=p,u.value=s):u={prev:null,next:null,key:p,value:s},this._map[p]=u,this.size++}this._appendNode(u)},v}();A.LRUMap=m},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(u,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])})(u,o)},function(s,u){function o(){this.constructor=s}m(s,u),s.prototype=u===null?Object.create(u):(o.prototype=u.prototype,new o)});Object.defineProperty(A,"__esModule",{value:!0}),A.SelectionRenderLayer=void 0;var p=function(s){function u(o,e,r,i,n,l){var t=s.call(this,o,"selection",e,!0,r,i,n,l)||this;return t._clearState(),t}return v(u,s),u.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},u.prototype.resize=function(o){s.prototype.resize.call(this,o),this._clearState()},u.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},u.prototype.onSelectionChanged=function(o,e,r){if(this._didStateChange(o,e,r,this._bufferService.buffer.ydisp))if(this._clearAll(),o&&e){var i=o[1]-this._bufferService.buffer.ydisp,n=e[1]-this._bufferService.buffer.ydisp,l=Math.max(i,0),t=Math.min(n,this._bufferService.rows-1);if(!(l>=this._bufferService.rows||t<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,r){var a=o[0],c=e[0]-a,h=t-l+1;this._fillCells(a,l,c,h)}else{a=i===l?o[0]:0;var f=l===t?e[0]:this._bufferService.cols;this._fillCells(a,l,f-a,1);var g=Math.max(t-l-1,0);if(this._fillCells(0,l+1,this._bufferService.cols,g),l!==t){var S=n===t?e[0]:this._bufferService.cols;this._fillCells(0,t,S,1)}}this._state.start=[o[0],o[1]],this._state.end=[e[0],e[1]],this._state.columnSelectMode=r,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},u.prototype._didStateChange=function(o,e,r,i){return!this._areCoordinatesEqual(o,this._state.start)||!this._areCoordinatesEqual(e,this._state.end)||r!==this._state.columnSelectMode||i!==this._state.ydisp},u.prototype._areCoordinatesEqual=function(o,e){return!(!o||!e)&&o[0]===e[0]&&o[1]===e[1]},u}(b(13).BaseRenderLayer);A.SelectionRenderLayer=p},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(r,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var t in l)l.hasOwnProperty(t)&&(n[t]=l[t])})(r,i)},function(e,r){function i(){this.constructor=e}m(e,r),e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)});Object.defineProperty(A,"__esModule",{value:!0}),A.CursorRenderLayer=void 0;var p=b(13),s=b(4),u=function(e){function r(i,n,l,t,a,c,h,f,g){var S=e.call(this,i,"cursor",n,!0,l,t,c,h)||this;return S._onRequestRedraw=a,S._coreService=f,S._coreBrowserService=g,S._cell=new s.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 v(r,e),r.prototype.resize=function(i){e.prototype.resize.call(this,i),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},r.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},r.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},r.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},r.prototype.onOptionsChanged=function(){var i,n=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new o(this._coreBrowserService.isFocused,function(){n._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})},r.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},r.prototype.onGridChanged=function(i,n){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},r.prototype._render=function(i){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var n=this._bufferService.buffer.ybase+this._bufferService.buffer.y,l=n-this._bufferService.buffer.ydisp;if(l<0||l>=this._bufferService.rows)this._clearCursor();else{var t=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(n).loadCell(t,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var a=this._optionsService.options.cursorStyle;return a&&a!=="block"?this._cursorRenderers[a](t,l,this._cell):this._renderBlurCursor(t,l,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=l,this._state.isFocused=!1,this._state.style=a,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===t&&this._state.y===l&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](t,l,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=l,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},r.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})},r.prototype._renderBarCursor=function(i,n,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(i,n,this._optionsService.options.cursorWidth),this._ctx.restore()},r.prototype._renderBlockCursor=function(i,n,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(i,n,l.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(l,i,n),this._ctx.restore()},r.prototype._renderUnderlineCursor=function(i,n,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(i,n),this._ctx.restore()},r.prototype._renderBlurCursor=function(i,n,l){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(i,n,l.getWidth(),1),this._ctx.restore()},r}(p.BaseRenderLayer);A.CursorRenderLayer=u;var o=function(){function e(r,i){this._renderCallback=i,this.isCursorVisible=!0,r&&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 r=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){r._renderCallback(),r._animationFrame=void 0})))},e.prototype._restartInterval=function(r){var i=this;r===void 0&&(r=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(i._animationTimeRestarted){var n=600-(Date.now()-i._animationTimeRestarted);if(i._animationTimeRestarted=void 0,n>0)return void i._restartInterval(n)}i.isCursorVisible=!1,i._animationFrame=window.requestAnimationFrame(function(){i._renderCallback(),i._animationFrame=void 0}),i._blinkInterval=window.setInterval(function(){if(i._animationTimeRestarted){var l=600-(Date.now()-i._animationTimeRestarted);return i._animationTimeRestarted=void 0,void i._restartInterval(l)}i.isCursorVisible=!i.isCursorVisible,i._animationFrame=window.requestAnimationFrame(function(){i._renderCallback(),i._animationFrame=void 0})},600)},r)},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,A,b){"use strict";var m,v=this&&this.__extends||(m=function(r,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var t in l)l.hasOwnProperty(t)&&(n[t]=l[t])})(r,i)},function(e,r){function i(){this.constructor=e}m(e,r),e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)});Object.defineProperty(A,"__esModule",{value:!0}),A.LinkRenderLayer=void 0;var p=b(13),s=b(9),u=b(26),o=function(e){function r(i,n,l,t,a,c,h,f){var g=e.call(this,i,"link",n,!0,l,t,h,f)||this;return a.onShowLinkUnderline(function(S){return g._onShowLinkUnderline(S)}),a.onHideLinkUnderline(function(S){return g._onHideLinkUnderline(S)}),c.onShowLinkUnderline(function(S){return g._onShowLinkUnderline(S)}),c.onHideLinkUnderline(function(S){return g._onHideLinkUnderline(S)}),g}return v(r,e),r.prototype.resize=function(i){e.prototype.resize.call(this,i),this._state=void 0},r.prototype.reset=function(){this._clearCurrentLink()},r.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}},r.prototype._onShowLinkUnderline=function(i){if(i.fg===s.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:i.fg&&u.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 n=i.y1+1;n<i.y2;n++)this._fillBottomLineAtCells(0,n,i.cols);this._fillBottomLineAtCells(0,i.y2,i.x2)}this._state=i},r.prototype._onHideLinkUnderline=function(i){this._clearCurrentLink()},r}(p.BaseRenderLayer);A.LinkRenderLayer=o},function(w,A,b){"use strict";var m=this&&this.__decorate||function(e,r,i,n){var l,t=arguments.length,a=t<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,i):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,r,i,n);else for(var c=e.length-1;c>=0;c--)(l=e[c])&&(a=(t<3?l(a):t>3?l(r,i,a):l(r,i))||a);return t>3&&a&&Object.defineProperty(r,i,a),a},v=this&&this.__param||function(e,r){return function(i,n){r(i,n,e)}};Object.defineProperty(A,"__esModule",{value:!0}),A.MouseZone=A.Linkifier=void 0;var p=b(0),s=b(1),u=function(){function e(r,i,n){this._bufferService=r,this._logService=i,this._unicodeService=n,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(r,i){this._element=r,this._mouseZoneManager=i},e.prototype.linkifyRows=function(r,i){var n=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=r,this._rowsToLinkify.end=i):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,r),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,i)),this._mouseZoneManager.clearAll(r,i),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return n._linkifyRows()},e._timeBeforeLatency))},e.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var r=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var i=r.ydisp+this._rowsToLinkify.start;if(!(i>=r.lines.length)){for(var n=r.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,l=Math.ceil(2e3/this._bufferService.cols),t=this._bufferService.buffer.iterator(!1,i,n,l,l);t.hasNext();)for(var a=t.next(),c=0;c<this._linkMatchers.length;c++)this._doLinkifyRow(a.range.first,a.content,this._linkMatchers[c]);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(r,i,n){if(n===void 0&&(n={}),!i)throw new Error("handler must be defined");var l={id:this._nextLinkMatcherId++,regex:r,handler:i,matchIndex:n.matchIndex,validationCallback:n.validationCallback,hoverTooltipCallback:n.tooltipCallback,hoverLeaveCallback:n.leaveCallback,willLinkActivate:n.willLinkActivate,priority:n.priority||0};return this._addLinkMatcherToList(l),l.id},e.prototype._addLinkMatcherToList=function(r){if(this._linkMatchers.length!==0){for(var i=this._linkMatchers.length-1;i>=0;i--)if(r.priority<=this._linkMatchers[i].priority)return void this._linkMatchers.splice(i+1,0,r);this._linkMatchers.splice(0,0,r)}else this._linkMatchers.push(r)},e.prototype.deregisterLinkMatcher=function(r){for(var i=0;i<this._linkMatchers.length;i++)if(this._linkMatchers[i].id===r)return this._linkMatchers.splice(i,1),!0;return!1},e.prototype._doLinkifyRow=function(r,i,n){for(var l,t=this,a=new RegExp(n.regex.source,(n.regex.flags||"")+"g"),c=-1,h=function(){var S=l[typeof n.matchIndex!="number"?0:n.matchIndex];if(!S)return f._logService.debug("match found without corresponding matchIndex",l,n),"break";if(c=i.indexOf(S,c+1),a.lastIndex=c+S.length,c<0)return"break";var y=f._bufferService.buffer.stringIndexToBufferIndex(r,c);if(y[0]<0)return"break";var E=f._bufferService.buffer.lines.get(y[0]);if(!E)return"break";var C=E.getFg(y[1]),T=C?C>>9&511:void 0;n.validationCallback?n.validationCallback(S,function(x){t._rowsTimeoutId||x&&t._addLink(y[1],y[0]-t._bufferService.buffer.ydisp,S,n,T)}):f._addLink(y[1],y[0]-f._bufferService.buffer.ydisp,S,n,T)},f=this;(l=a.exec(i))!==null&&!(h()==="break"););},e.prototype._addLink=function(r,i,n,l,t){var a=this;if(this._mouseZoneManager&&this._element){var c=this._unicodeService.getStringCellWidth(n),h=r%this._bufferService.cols,f=i+Math.floor(r/this._bufferService.cols),g=(h+c)%this._bufferService.cols,S=f+Math.floor((h+c)/this._bufferService.cols);g===0&&(g=this._bufferService.cols,S--),this._mouseZoneManager.add(new o(h+1,f+1,g+1,S+1,function(y){if(l.handler)return l.handler(y,n);var E=window.open();E?(E.opener=null,E.location.href=n):console.warn("Opening link blocked as opener could not be cleared")},function(){a._onShowLinkUnderline.fire(a._createLinkHoverEvent(h,f,g,S,t)),a._element.classList.add("xterm-cursor-pointer")},function(y){a._onLinkTooltip.fire(a._createLinkHoverEvent(h,f,g,S,t)),l.hoverTooltipCallback&&l.hoverTooltipCallback(y,n,{start:{x:h,y:f},end:{x:g,y:S}})},function(){a._onHideLinkUnderline.fire(a._createLinkHoverEvent(h,f,g,S,t)),a._element.classList.remove("xterm-cursor-pointer"),l.hoverLeaveCallback&&l.hoverLeaveCallback()},function(y){return!l.willLinkActivate||l.willLinkActivate(y,n)}))}},e.prototype._createLinkHoverEvent=function(r,i,n,l,t){return{x1:r,y1:i,x2:n,y2:l,cols:this._bufferService.cols,fg:t}},e._timeBeforeLatency=200,e=m([v(0,s.IBufferService),v(1,s.ILogService),v(2,s.IUnicodeService)],e)}();A.Linkifier=u;var o=function(r,i,n,l,t,a,c,h,f){this.x1=r,this.y1=i,this.x2=n,this.y2=l,this.clickCallback=t,this.hoverCallback=a,this.tooltipCallback=c,this.leaveCallback=h,this.willLinkActivate=f};A.MouseZone=o},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(S,y){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,y)},function(g,S){function y(){this.constructor=g}m(g,S),g.prototype=S===null?Object.create(S):(y.prototype=S.prototype,new y)}),p=this&&this.__decorate||function(g,S,y,E){var C,T=arguments.length,x=T<3?S:E===null?E=Object.getOwnPropertyDescriptor(S,y):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(g,S,y,E);else for(var _=g.length-1;_>=0;_--)(C=g[_])&&(x=(T<3?C(x):T>3?C(S,y,x):C(S,y))||x);return T>3&&x&&Object.defineProperty(S,y,x),x},s=this&&this.__param||function(g,S){return function(y,E){S(y,E,g)}};Object.defineProperty(A,"__esModule",{value:!0}),A.SelectionService=void 0;var u=b(11),o=b(52),e=b(4),r=b(0),i=b(5),n=b(1),l=b(30),t=b(53),a=b(2),c=String.fromCharCode(160),h=new RegExp(c,"g"),f=function(g){function S(y,E,C,T,x,_,I){var L=g.call(this)||this;return L._element=y,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 r.EventEmitter),L._onRedrawRequest=L.register(new r.EventEmitter),L._onSelectionChange=L.register(new r.EventEmitter),L._onRequestScrollLines=L.register(new r.EventEmitter),L._mouseMoveListener=function(D){return L._onMouseMove(D)},L._mouseUpListener=function(D){return L._onMouseUp(D)},L._coreService.onUserInput(function(){L.hasSelection&&L.clearSelection()}),L._trimListener=L._bufferService.buffer.lines.onTrim(function(D){return L._onTrim(D)}),L.register(L._bufferService.buffers.onBufferActivate(function(D){return L._onBufferActivate(D)})),L.enable(),L._model=new o.SelectionModel(L._bufferService),L._activeSelectionMode=0,L}return v(S,g),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 D=T.lines.get(_);I=T.translateBufferLineToString(_,!0),D&&D.isWrapped?x[x.length-1]+=I:x.push(I)}E[1]!==C[1]&&(D=T.lines.get(C[1]),I=T.translateBufferLineToString(C[1],!0,0,C[0]),D&&D.isWrapped?x[x.length-1]+=I:x.push(I))}return x.map(function(B){return B.replace(h," ")}).join(u.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),S.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},S.prototype.refresh=function(y){var E=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return E._refresh()})),u.isLinux&&y)&&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(y){var E=this._getMouseBufferCoords(y),C=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!!(C&&T&&E)&&this._areCoordsInSelection(E,C,T)},S.prototype._areCoordsInSelection=function(y,E,C){return y[1]>E[1]&&y[1]<C[1]||E[1]===C[1]&&y[1]===E[1]&&y[0]>=E[0]&&y[0]<C[0]||E[1]<C[1]&&y[1]===C[1]&&y[0]<C[0]||E[1]<C[1]&&y[1]===E[1]&&y[0]>=E[0]},S.prototype.selectWordAtCursor=function(y){var E=this._getMouseBufferCoords(y);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(y,E){this._model.clearSelection(),y=Math.max(y,0),E=Math.min(E,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,y],this._model.selectionEnd=[this._bufferService.cols,E],this.refresh(),this._onSelectionChange.fire()},S.prototype._onTrim=function(y){this._model.onTrim(y)&&this.refresh()},S.prototype._getMouseBufferCoords=function(y){var E=this._mouseService.getCoords(y,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(y){var E=l.getCoordsRelativeToElement(y,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(y){return u.isMac?y.altKey&&this._optionsService.options.macOptionClickForcesSelection:y.shiftKey},S.prototype.onMouseDown=function(y){if(this._mouseDownTimeStamp=y.timeStamp,(y.button!==2||!this.hasSelection)&&y.button===0){if(!this._enabled){if(!this.shouldForceSelection(y))return;y.stopPropagation()}y.preventDefault(),this._dragScrollAmount=0,this._enabled&&y.shiftKey?this._onIncrementalClick(y):y.detail===1?this._onSingleClick(y):y.detail===2?this._onDoubleClick(y):y.detail===3&&this._onTripleClick(y),this._addMouseDownListeners(),this.refresh(!0)}},S.prototype._addMouseDownListeners=function(){var y=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return y._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(y){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(y))},S.prototype._onSingleClick=function(y){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(y)?3:0,this._model.selectionStart=this._getMouseBufferCoords(y),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(y){var E=this._getMouseBufferCoords(y);E&&(this._activeSelectionMode=1,this._selectWordAt(E,!0))},S.prototype._onTripleClick=function(y){var E=this._getMouseBufferCoords(y);E&&(this._activeSelectionMode=2,this._selectLineAt(E[1]))},S.prototype.shouldColumnSelect=function(y){return y.altKey&&!(u.isMac&&this._optionsService.options.macOptionClickForcesSelection)},S.prototype._onMouseMove=function(y){if(y.stopImmediatePropagation(),this._model.selectionStart){var E=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(y),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(y),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 y=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(y.ydisp+this._bufferService.rows,y.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=y.ydisp),this.refresh()}},S.prototype._onMouseUp=function(y){var E=y.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&E<500&&y.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var C=this._mouseService.getCoords(y,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(y){var E=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=y.activeBuffer.lines.onTrim(function(C){return E._onTrim(C)})},S.prototype._convertViewportColToCharacterIndex=function(y,E){for(var C=E[0],T=0;E[0]>=T;T++){var x=y.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(y,E,C){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[y,E],this._model.selectionStartLength=C,this.refresh()},S.prototype._getWordAt=function(y,E,C,T){if(C===void 0&&(C=!0),T===void 0&&(T=!0),!(y[0]>=this._bufferService.cols)){var x=this._bufferService.buffer,_=x.lines.get(y[1]);if(_){var I=x.translateBufferLineToString(y[1],!1),L=this._convertViewportColToCharacterIndex(_,y),D=L,B=y[0]-L,N=0,k=0,W=0,R=0;if(I.charAt(L)===" "){for(;L>0&&I.charAt(L-1)===" ";)L--;for(;D<I.length&&I.charAt(D+1)===" ";)D++}else{var j=y[0],H=y[0];_.getWidth(j)===0&&(N++,j--),_.getWidth(H)===2&&(k++,H++);var K=_.getString(H).length;for(K>1&&(R+=K-1,D+=K-1);j>0&&L>0&&!this._isCharWordSeparator(_.loadCell(j-1,this._workCell));){_.loadCell(j-1,this._workCell);var U=this._workCell.getChars().length;this._workCell.getWidth()===0?(N++,j--):U>1&&(W+=U-1,L-=U-1),L--,j--}for(;H<_.length&&D+1<I.length&&!this._isCharWordSeparator(_.loadCell(H+1,this._workCell));){_.loadCell(H+1,this._workCell);var Q=this._workCell.getChars().length;this._workCell.getWidth()===2?(k++,H++):Q>1&&(R+=Q-1,D+=Q-1),D++,H++}}D++;var V=L+B-N+W,J=Math.min(this._bufferService.cols,D-L+N+k-W-R);if(E||I.slice(L,D).trim()!==""){if(C&&V===0&&_.getCodePoint(0)!==32){var ae=x.lines.get(y[1]-1);if(ae&&_.isWrapped&&ae.getCodePoint(this._bufferService.cols-1)!==32){var se=this._getWordAt([this._bufferService.cols-1,y[1]-1],!1,!0,!1);if(se){var $=this._bufferService.cols-se.start;V-=$,J+=$}}}if(T&&V+J===this._bufferService.cols&&_.getCodePoint(this._bufferService.cols-1)!==32){var ge=x.lines.get(y[1]+1);if(ge&&ge.isWrapped&&ge.getCodePoint(0)!==32){var he=this._getWordAt([0,y[1]+1],!1,!1,!0);he&&(J+=he.length)}}return{start:V,length:J}}}}},S.prototype._selectWordAt=function(y,E){var C=this._getWordAt(y,E);if(C){for(;C.start<0;)C.start+=this._bufferService.cols,y[1]--;this._model.selectionStart=[C.start,y[1]],this._model.selectionStartLength=C.length}},S.prototype._selectToWordAt=function(y){var E=this._getWordAt(y,!0);if(E){for(var C=y[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(y){return y.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(y.getChars())>=0},S.prototype._selectLineAt=function(y){var E=this._bufferService.buffer.getWrappedRangeForLine(y);this._model.selectionStart=[0,E.first],this._model.selectionEnd=[this._bufferService.cols,E.last],this._model.selectionStartLength=0},S=p([s(2,n.IBufferService),s(3,n.ICoreService),s(4,i.IMouseService),s(5,n.IOptionsService),s(6,i.IRenderService)],S)}(a.Disposable);A.SelectionService=f},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.SelectionModel=void 0;var m=function(){function v(p){this._bufferService=p,this.isSelectAllActive=!1,this.selectionStartLength=0}return v.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(v.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var s=this.selectionStart[0]+this.selectionStartLength;return s>this._bufferService.cols?[s%this._bufferService.cols,this.selectionStart[1]+Math.floor(s/this._bufferService.cols)]:[s,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),v.prototype.areSelectionValuesReversed=function(){var p=this.selectionStart,s=this.selectionEnd;return!(!p||!s)&&(p[1]>s[1]||p[1]===s[1]&&p[0]>s[0])},v.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)},v}();A.SelectionModel=m},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.moveToCellSequence=void 0;var m=b(12);function v(r,i,n,l){var t=r-p(n,r),a=i-p(n,i);return e(Math.abs(t-a)-function(c,h,f){for(var g=0,S=c-p(f,c),y=h-p(f,h),E=0;E<Math.abs(S-y);E++){var C=s(c,h)==="A"?-1:1,T=f.buffer.lines.get(S+C*E);T&&T.isWrapped&&g++}return g}(r,i,n),o(s(r,i),l))}function p(r,i){for(var n=0,l=r.buffer.lines.get(i),t=l&&l.isWrapped;t&&i>=0&&i<r.rows;)n++,t=(l=r.buffer.lines.get(--i))&&l.isWrapped;return n}function s(r,i){return r>i?"A":"B"}function u(r,i,n,l,t,a){for(var c=r,h=i,f="";c!==n||h!==l;)c+=t?1:-1,t&&c>a.cols-1?(f+=a.buffer.translateBufferLineToString(h,!1,r,c),c=0,r=0,h++):!t&&c<0&&(f+=a.buffer.translateBufferLineToString(h,!1,0,r+1),r=c=a.cols-1,h--);return f+a.buffer.translateBufferLineToString(h,!1,r,c)}function o(r,i){var n=i?"O":"[";return m.C0.ESC+n+r}function e(r,i){r=Math.floor(r);for(var n="",l=0;l<r;l++)n+=i;return n}A.moveToCellSequence=function(r,i,n,l){var t,a=n.buffer.x,c=n.buffer.y;if(!n.buffer.hasScrollback)return function(f,g,S,y,E,C){return v(g,y,E,C).length===0?"":e(u(f,g,f,g-p(E,g),!1,E).length,o("D",C))}(a,c,0,i,n,l)+v(c,i,n,l)+function(f,g,S,y,E,C){var T;T=v(g,y,E,C).length>0?y-p(E,y):g;var x=y,_=function(I,L,D,B,N,k){var W;return W=v(D,B,N,k).length>0?B-p(N,B):L,I<D&&W<=B||I>=D&&W<B?"C":"D"}(f,g,S,y,E,C);return e(u(f,T,S,x,_==="C",E).length,o(_,C))}(a,c,r,i,n,l);if(c===i)return t=a>r?"D":"C",e(Math.abs(a-r),o(t,l));t=c>i?"D":"C";var h=Math.abs(c-i);return e(function(f,g){return g.cols-f}(c>i?r:a,n)+(h-1)*n.cols+1+((c>i?a:r)-1),o(t,l))}},function(w,A,b){"use strict";var m=this&&this.__decorate||function(u,o,e,r){var i,n=arguments.length,l=n<3?o:r===null?r=Object.getOwnPropertyDescriptor(o,e):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(u,o,e,r);else for(var t=u.length-1;t>=0;t--)(i=u[t])&&(l=(n<3?i(l):n>3?i(o,e,l):i(o,e))||l);return n>3&&l&&Object.defineProperty(o,e,l),l},v=this&&this.__param||function(u,o){return function(e,r){o(e,r,u)}};Object.defineProperty(A,"__esModule",{value:!0}),A.SoundService=void 0;var p=b(1),s=function(){function u(o){this._optionsService=o}return Object.defineProperty(u,"audioContext",{get:function(){if(!u._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;u._audioContext=new e}return u._audioContext},enumerable:!1,configurable:!0}),u.prototype.playBellSound=function(){var o=u.audioContext;if(o){var e=o.createBufferSource();o.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(r){e.buffer=r,e.connect(o.destination),e.start(0)})}},u.prototype._base64ToArrayBuffer=function(o){for(var e=window.atob(o),r=e.length,i=new Uint8Array(r),n=0;n<r;n++)i[n]=e.charCodeAt(n);return i.buffer},u.prototype._removeMimeType=function(o){return o.split(",")[1]},u=m([v(0,p.IOptionsService)],u)}();A.SoundService=s},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var h in c)c.hasOwnProperty(h)&&(a[h]=c[h])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),p=this&&this.__decorate||function(n,l,t,a){var c,h=arguments.length,f=h<3?l:a===null?a=Object.getOwnPropertyDescriptor(l,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(n,l,t,a);else for(var g=n.length-1;g>=0;g--)(c=n[g])&&(f=(h<3?c(f):h>3?c(l,t,f):c(l,t))||f);return h>3&&f&&Object.defineProperty(l,t,f),f},s=this&&this.__param||function(n,l){return function(t,a){l(t,a,n)}};Object.defineProperty(A,"__esModule",{value:!0}),A.MouseZoneManager=void 0;var u=b(2),o=b(7),e=b(5),r=b(1),i=function(n){function l(t,a,c,h,f,g){var S=n.call(this)||this;return S._element=t,S._screenElement=a,S._bufferService=c,S._mouseService=h,S._selectionService=f,S._optionsService=g,S._zones=[],S._areZonesActive=!1,S._lastHoverCoords=[void 0,void 0],S._initialSelectionLength=0,S.register(o.addDisposableDomListener(S._element,"mousedown",function(y){return S._onMouseDown(y)})),S._mouseMoveListener=function(y){return S._onMouseMove(y)},S._mouseLeaveListener=function(y){return S._onMouseLeave(y)},S._clickListener=function(y){return S._onClick(y)},S}return v(l,n),l.prototype.dispose=function(){n.prototype.dispose.call(this),this._deactivate()},l.prototype.add=function(t){this._zones.push(t),this._zones.length===1&&this._activate()},l.prototype.clearAll=function(t,a){if(this._zones.length!==0){t&&a||(t=0,a=this._bufferService.rows-1);for(var c=0;c<this._zones.length;c++){var h=this._zones[c];(h.y1>t&&h.y1<=a+1||h.y2>t&&h.y2<=a+1||h.y1<t&&h.y2>a+1)&&(this._currentZone&&this._currentZone===h&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(c--,1))}this._zones.length===0&&this._deactivate()}},l.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},l.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},l.prototype._onMouseMove=function(t){this._lastHoverCoords[0]===t.pageX&&this._lastHoverCoords[1]===t.pageY||(this._onHover(t),this._lastHoverCoords=[t.pageX,t.pageY])},l.prototype._onHover=function(t){var a=this,c=this._findZoneEventAt(t);c!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),c&&(this._currentZone=c,c.hoverCallback&&c.hoverCallback(t),this._tooltipTimeout=window.setTimeout(function(){return a._onTooltip(t)},this._optionsService.options.linkTooltipHoverDuration)))},l.prototype._onTooltip=function(t){this._tooltipTimeout=void 0;var a=this._findZoneEventAt(t);a&&a.tooltipCallback&&a.tooltipCallback(t)},l.prototype._onMouseDown=function(t){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var a=this._findZoneEventAt(t);(a==null?void 0:a.willLinkActivate(t))&&(t.preventDefault(),t.stopImmediatePropagation())}},l.prototype._onMouseLeave=function(t){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},l.prototype._onClick=function(t){var a=this._findZoneEventAt(t),c=this._getSelectionLength();a&&c===this._initialSelectionLength&&(a.clickCallback(t),t.preventDefault(),t.stopImmediatePropagation())},l.prototype._getSelectionLength=function(){var t=this._selectionService.selectionText;return t?t.length:0},l.prototype._findZoneEventAt=function(t){var a=this._mouseService.getCoords(t,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(a)for(var c=a[0],h=a[1],f=0;f<this._zones.length;f++){var g=this._zones[f];if(g.y1===g.y2){if(h===g.y1&&c>=g.x1&&c<g.x2)return g}else if(h===g.y1&&c>=g.x1||h===g.y2&&c<g.x2||h>g.y1&&h<g.y2)return g}},l=p([s(2,r.IBufferService),s(3,e.IMouseService),s(4,e.ISelectionService),s(5,r.IOptionsService)],l)}(u.Disposable);A.MouseZoneManager=i},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(t,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var f in h)h.hasOwnProperty(f)&&(c[f]=h[f])})(t,a)},function(l,t){function a(){this.constructor=l}m(l,t),l.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)});Object.defineProperty(A,"__esModule",{value:!0}),A.AccessibilityManager=void 0;var p=b(18),s=b(11),u=b(31),o=b(7),e=b(2),r=b(32),i=b(17),n=function(l){function t(a,c){var h=l.call(this)||this;h._terminal=a,h._renderService=c,h._liveRegionLineCount=0,h._charsToConsume=[],h._charsToAnnounce="",h._accessibilityTreeRoot=document.createElement("div"),h._accessibilityTreeRoot.classList.add("xterm-accessibility"),h._rowContainer=document.createElement("div"),h._rowContainer.classList.add("xterm-accessibility-tree"),h._rowContainer.setAttribute("role","list"),h._rowElements=[];for(var f=0;f<h._terminal.rows;f++)h._rowElements[f]=h._createAccessibilityTreeNode(),h._rowContainer.appendChild(h._rowElements[f]);if(h._topBoundaryFocusListener=function(g){return h._onBoundaryFocus(g,0)},h._bottomBoundaryFocusListener=function(g){return h._onBoundaryFocus(g,1)},h._rowElements[0].addEventListener("focus",h._topBoundaryFocusListener),h._rowElements[h._rowElements.length-1].addEventListener("focus",h._bottomBoundaryFocusListener),h._refreshRowsDimensions(),h._accessibilityTreeRoot.appendChild(h._rowContainer),h._renderRowsDebouncer=new u.RenderDebouncer(h._renderRows.bind(h)),h._refreshRows(),h._liveRegion=document.createElement("div"),h._liveRegion.classList.add("live-region"),h._liveRegion.setAttribute("aria-live","assertive"),h._accessibilityTreeRoot.appendChild(h._liveRegion),!h._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return h._terminal.element.insertAdjacentElement("afterbegin",h._accessibilityTreeRoot),h.register(h._renderRowsDebouncer),h.register(h._terminal.onResize(function(g){return h._onResize(g.rows)})),h.register(h._terminal.onRender(function(g){return h._refreshRows(g.start,g.end)})),h.register(h._terminal.onScroll(function(){return h._refreshRows()})),h.register(h._terminal.onA11yChar(function(g){return h._onChar(g)})),h.register(h._terminal.onLineFeed(function(){return h._onChar(`
|
|
|
`)})),h.register(h._terminal.onA11yTab(function(g){return h._onTab(g)})),h.register(h._terminal.onKey(function(g){return h._onKey(g.key)})),h.register(h._terminal.onBlur(function(){return h._clearLiveRegion()})),h.register(h._renderService.onDimensionsChange(function(){return h._refreshRowsDimensions()})),h._screenDprMonitor=new r.ScreenDprMonitor,h.register(h._screenDprMonitor),h._screenDprMonitor.setListener(function(){return h._refreshRowsDimensions()}),h.register(o.addDisposableDomListener(window,"resize",function(){return h._refreshRowsDimensions()})),h}return v(t,l),t.prototype.dispose=function(){l.prototype.dispose.call(this),i.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},t.prototype._onBoundaryFocus=function(a,c){var h=a.target,f=this._rowElements[c===0?1:this._rowElements.length-2];if(h.getAttribute("aria-posinset")!==(c===0?"1":""+this._terminal.buffer.lines.length)&&a.relatedTarget===f){var g,S;if(c===0?(g=h,S=this._rowElements.pop(),this._rowContainer.removeChild(S)):(g=this._rowElements.shift(),S=h,this._rowContainer.removeChild(g)),g.removeEventListener("focus",this._topBoundaryFocusListener),S.removeEventListener("focus",this._bottomBoundaryFocusListener),c===0){var y=this._createAccessibilityTreeNode();this._rowElements.unshift(y),this._rowContainer.insertAdjacentElement("afterbegin",y)}else y=this._createAccessibilityTreeNode(),this._rowElements.push(y),this._rowContainer.appendChild(y);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(c===0?-1:1),this._rowElements[c===0?1:this._rowElements.length-2].focus(),a.preventDefault(),a.stopImmediatePropagation()}},t.prototype._onResize=function(a){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var c=this._rowContainer.children.length;c<this._terminal.rows;c++)this._rowElements[c]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[c]);for(;this._rowElements.length>a;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var a=document.createElement("div");return a.setAttribute("role","listitem"),a.tabIndex=-1,this._refreshRowDimensions(a),a},t.prototype._onTab=function(a){for(var c=0;c<a;c++)this._onChar(" ")},t.prototype._onChar=function(a){var c=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==a&&(this._charsToAnnounce+=a):this._charsToAnnounce+=a,a===`
|
|
|
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=p.tooMuchOutput)),s.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){c._accessibilityTreeRoot.appendChild(c._liveRegion)},0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,s.isMac&&i.removeElementFromParent(this._liveRegion)},t.prototype._onKey=function(a){this._clearLiveRegion(),this._charsToConsume.push(a)},t.prototype._refreshRows=function(a,c){this._renderRowsDebouncer.refresh(a,c,this._terminal.rows)},t.prototype._renderRows=function(a,c){for(var h=this._terminal.buffer,f=h.lines.length.toString(),g=a;g<=c;g++){var S=h.translateBufferLineToString(h.ydisp+g,!0),y=(h.ydisp+g+1).toString(),E=this._rowElements[g];E&&(S.length===0?E.innerHTML=" ":E.textContent=S,E.setAttribute("aria-posinset",y),E.setAttribute("aria-setsize",f))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var a=0;a<this._terminal.rows;a++)this._refreshRowDimensions(this._rowElements[a])}},t.prototype._refreshRowDimensions=function(a){a.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);A.AccessibilityManager=n},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(f,g){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,y){S.__proto__=y}||function(S,y){for(var E in y)y.hasOwnProperty(E)&&(S[E]=y[E])})(f,g)},function(h,f){function g(){this.constructor=h}m(h,f),h.prototype=f===null?Object.create(f):(g.prototype=f.prototype,new g)}),p=this&&this.__decorate||function(h,f,g,S){var y,E=arguments.length,C=E<3?f:S===null?S=Object.getOwnPropertyDescriptor(f,g):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")C=Reflect.decorate(h,f,g,S);else for(var T=h.length-1;T>=0;T--)(y=h[T])&&(C=(E<3?y(C):E>3?y(f,g,C):y(f,g))||C);return E>3&&C&&Object.defineProperty(f,g,C),C},s=this&&this.__param||function(h,f){return function(g,S){f(g,S,h)}};Object.defineProperty(A,"__esModule",{value:!0}),A.DomRenderer=void 0;var u=b(58),o=b(9),e=b(2),r=b(5),i=b(1),n=b(0),l=b(10),t=b(17),a=1,c=function(h){function f(g,S,y,E,C,T,x,_,I){var L=h.call(this)||this;return L._colors=g,L._element=S,L._screenElement=y,L._viewportElement=E,L._linkifier=C,L._linkifier2=T,L._charSizeService=x,L._optionsService=_,L._bufferService=I,L._terminalClass=a++,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 u.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(D){return L._onLinkHover(D)}),L._linkifier.onHideLinkUnderline(function(D){return L._onLinkLeave(D)}),L._linkifier2.onShowLinkUnderline(function(D){return L._onLinkHover(D)}),L._linkifier2.onHideLinkUnderline(function(D){return L._onLinkLeave(D)}),L}return v(f,h),Object.defineProperty(f.prototype,"onRequestRedraw",{get:function(){return new n.EventEmitter().event},enumerable:!1,configurable:!0}),f.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),t.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),h.prototype.dispose.call(this)},f.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 g=0,S=this._rowElements;g<S.length;g++){var y=S[g];y.style.width=this.dimensions.canvasWidth+"px",y.style.height=this.dimensions.actualCellHeight+"px",y.style.lineHeight=this.dimensions.actualCellHeight+"px",y.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"},f.prototype.setColors=function(g){this._colors=g,this._injectCss()},f.prototype._injectCss=function(){var g=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(."+u.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+u.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+u.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) ."+u.CURSOR_CLASS+"."+u.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+u.CURSOR_CLASS+"."+u.CURSOR_BLINK_CLASS+":not(."+u.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+u.CURSOR_CLASS+"."+u.CURSOR_BLINK_CLASS+"."+u.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+u.CURSOR_CLASS+"."+u.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+u.CURSOR_CLASS+"."+u.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+u.CURSOR_CLASS+"."+u.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(y,E){S+=g._terminalSelector+" .xterm-fg-"+E+" { color: "+y.css+"; }"+g._terminalSelector+" .xterm-bg-"+E+" { background-color: "+y.css+"; }"}),S+=this._terminalSelector+" .xterm-fg-"+o.INVERTED_DEFAULT_COLOR+" { color: "+l.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+o.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=S},f.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},f.prototype._refreshRowElements=function(g,S){for(var y=this._rowElements.length;y<=S;y++){var E=document.createElement("div");this._rowContainer.appendChild(E),this._rowElements.push(E)}for(;this._rowElements.length>S;)this._rowContainer.removeChild(this._rowElements.pop())},f.prototype.onResize=function(g,S){this._refreshRowElements(g,S),this._updateDimensions()},f.prototype.onCharSizeChanged=function(){this._updateDimensions()},f.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},f.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},f.prototype.onSelectionChanged=function(g,S,y){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(g&&S){var E=g[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(y)_.appendChild(this._createSelectionElement(T,g[0],S[0],x-T+1));else{var I=E===T?g[0]:0,L=T===x?S[0]:this._bufferService.cols;_.appendChild(this._createSelectionElement(T,I,L));var D=x-T-1;if(_.appendChild(this._createSelectionElement(T+1,0,this._bufferService.cols,D)),T!==x){var B=C===x?S[0]:this._bufferService.cols;_.appendChild(this._createSelectionElement(x,0,B))}}this._selectionContainer.appendChild(_)}}},f.prototype._createSelectionElement=function(g,S,y,E){E===void 0&&(E=1);var C=document.createElement("div");return C.style.height=E*this.dimensions.actualCellHeight+"px",C.style.top=g*this.dimensions.actualCellHeight+"px",C.style.left=S*this.dimensions.actualCellWidth+"px",C.style.width=this.dimensions.actualCellWidth*(y-S)+"px",C},f.prototype.onCursorMove=function(){},f.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},f.prototype.clear=function(){for(var g=0,S=this._rowElements;g<S.length;g++)S[g].innerHTML=""},f.prototype.renderRows=function(g,S){for(var y=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=g;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,_===y,L,E,C,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(f.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),f.prototype.registerCharacterJoiner=function(g){return-1},f.prototype.deregisterCharacterJoiner=function(g){return!1},f.prototype._onLinkHover=function(g){this._setCellUnderline(g.x1,g.x2,g.y1,g.y2,g.cols,!0)},f.prototype._onLinkLeave=function(g){this._setCellUnderline(g.x1,g.x2,g.y1,g.y2,g.cols,!1)},f.prototype._setCellUnderline=function(g,S,y,E,C,T){for(;g!==S||y!==E;){var x=this._rowElements[y];if(!x)return;var _=x.children[g];_&&(_.style.textDecoration=T?"underline":"none"),++g>=C&&(g=0,y++)}},f=p([s(6,r.ICharSizeService),s(7,i.IOptionsService),s(8,i.IBufferService)],f)}(e.Disposable);A.DomRenderer=c},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.DomRendererRowFactory=A.CURSOR_STYLE_UNDERLINE_CLASS=A.CURSOR_STYLE_BAR_CLASS=A.CURSOR_STYLE_BLOCK_CLASS=A.CURSOR_BLINK_CLASS=A.CURSOR_CLASS=A.UNDERLINE_CLASS=A.ITALIC_CLASS=A.DIM_CLASS=A.BOLD_CLASS=void 0;var m=b(9),v=b(3),p=b(4),s=b(10);A.BOLD_CLASS="xterm-bold",A.DIM_CLASS="xterm-dim",A.ITALIC_CLASS="xterm-italic",A.UNDERLINE_CLASS="xterm-underline",A.CURSOR_CLASS="xterm-cursor",A.CURSOR_BLINK_CLASS="xterm-cursor-blink",A.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",A.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",A.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var u=function(){function e(r,i,n){this._document=r,this._optionsService=i,this._colors=n,this._workCell=new p.CellData}return e.prototype.setColors=function(r){this._colors=r},e.prototype.createRow=function(r,i,n,l,t,a,c){for(var h=this._document.createDocumentFragment(),f=0,g=Math.min(r.length,c)-1;g>=0;g--)if(r.loadCell(g,this._workCell).getCode()!==v.NULL_CELL_CODE||i&&g===l){f=g+1;break}for(g=0;g<f;g++){r.loadCell(g,this._workCell);var S=this._workCell.getWidth();if(S!==0){var y=this._document.createElement("span");if(S>1&&(y.style.width=a*S+"px"),i&&g===l)switch(y.classList.add(A.CURSOR_CLASS),t&&y.classList.add(A.CURSOR_BLINK_CLASS),n){case"bar":y.classList.add(A.CURSOR_STYLE_BAR_CLASS);break;case"underline":y.classList.add(A.CURSOR_STYLE_UNDERLINE_CLASS);break;default:y.classList.add(A.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&y.classList.add(A.BOLD_CLASS),this._workCell.isItalic()&&y.classList.add(A.ITALIC_CLASS),this._workCell.isDim()&&y.classList.add(A.DIM_CLASS),this._workCell.isUnderline()&&y.classList.add(A.UNDERLINE_CLASS),this._workCell.isInvisible()?y.textContent=v.WHITESPACE_CELL_CHAR:y.textContent=this._workCell.getChars()||v.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(y,this._colors.background,this._colors.ansi[E])||y.classList.add("xterm-fg-"+E);break;case 50331648:var D=s.rgba.toColor(E>>16&255,E>>8&255,255&E);this._applyMinimumContrast(y,this._colors.background,D)||this._addStyle(y,"color:#"+o(E.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(y,this._colors.background,this._colors.foreground)||_&&y.classList.add("xterm-fg-"+m.INVERTED_DEFAULT_COLOR)}switch(x){case 16777216:case 33554432:y.classList.add("xterm-bg-"+T);break;case 50331648:this._addStyle(y,"background-color:#"+o(T.toString(16),"0",6));break;case 0:default:_&&y.classList.add("xterm-bg-"+m.INVERTED_DEFAULT_COLOR)}h.appendChild(y)}}return h},e.prototype._applyMinimumContrast=function(r,i,n){if(this._optionsService.options.minimumContrastRatio===1)return!1;var l=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return l===void 0&&(l=s.color.ensureContrastRatio(i,n,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,l!=null?l:null)),!!l&&(this._addStyle(r,"color:"+l.css),!0)},e.prototype._addStyle=function(r,i){r.setAttribute("style",""+(r.getAttribute("style")||"")+i+";")},e}();function o(e,r,i){for(;e.length<i;)e=r+e;return e}A.DomRendererRowFactory=u},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.evaluateKeyboardEvent=void 0;var m=b(12),v={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};A.evaluateKeyboardEvent=function(p,s,u,o){var e={type:0,cancel:!1,key:void 0},r=(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=s?m.C0.ESC+"OA":m.C0.ESC+"[A":p.key==="UIKeyInputLeftArrow"?e.key=s?m.C0.ESC+"OD":m.C0.ESC+"[D":p.key==="UIKeyInputRightArrow"?e.key=s?m.C0.ESC+"OC":m.C0.ESC+"[C":p.key==="UIKeyInputDownArrow"&&(e.key=s?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;r?(e.key=m.C0.ESC+"[1;"+(r+1)+"D",e.key===m.C0.ESC+"[1;3D"&&(e.key=m.C0.ESC+(u?"b":"[1;5D"))):e.key=s?m.C0.ESC+"OD":m.C0.ESC+"[D";break;case 39:if(p.metaKey)break;r?(e.key=m.C0.ESC+"[1;"+(r+1)+"C",e.key===m.C0.ESC+"[1;3C"&&(e.key=m.C0.ESC+(u?"f":"[1;5C"))):e.key=s?m.C0.ESC+"OC":m.C0.ESC+"[C";break;case 38:if(p.metaKey)break;r?(e.key=m.C0.ESC+"[1;"+(r+1)+"A",u||e.key!==m.C0.ESC+"[1;3A"||(e.key=m.C0.ESC+"[1;5A")):e.key=s?m.C0.ESC+"OA":m.C0.ESC+"[A";break;case 40:if(p.metaKey)break;r?(e.key=m.C0.ESC+"[1;"+(r+1)+"B",u||e.key!==m.C0.ESC+"[1;3B"||(e.key=m.C0.ESC+"[1;5B")):e.key=s?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=r?m.C0.ESC+"[3;"+(r+1)+"~":m.C0.ESC+"[3~";break;case 36:e.key=r?m.C0.ESC+"[1;"+(r+1)+"H":s?m.C0.ESC+"OH":m.C0.ESC+"[H";break;case 35:e.key=r?m.C0.ESC+"[1;"+(r+1)+"F":s?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=r?m.C0.ESC+"[1;"+(r+1)+"P":m.C0.ESC+"OP";break;case 113:e.key=r?m.C0.ESC+"[1;"+(r+1)+"Q":m.C0.ESC+"OQ";break;case 114:e.key=r?m.C0.ESC+"[1;"+(r+1)+"R":m.C0.ESC+"OR";break;case 115:e.key=r?m.C0.ESC+"[1;"+(r+1)+"S":m.C0.ESC+"OS";break;case 116:e.key=r?m.C0.ESC+"[15;"+(r+1)+"~":m.C0.ESC+"[15~";break;case 117:e.key=r?m.C0.ESC+"[17;"+(r+1)+"~":m.C0.ESC+"[17~";break;case 118:e.key=r?m.C0.ESC+"[18;"+(r+1)+"~":m.C0.ESC+"[18~";break;case 119:e.key=r?m.C0.ESC+"[19;"+(r+1)+"~":m.C0.ESC+"[19~";break;case 120:e.key=r?m.C0.ESC+"[20;"+(r+1)+"~":m.C0.ESC+"[20~";break;case 121:e.key=r?m.C0.ESC+"[21;"+(r+1)+"~":m.C0.ESC+"[21~";break;case 122:e.key=r?m.C0.ESC+"[23;"+(r+1)+"~":m.C0.ESC+"[23~";break;case 123:e.key=r?m.C0.ESC+"[24;"+(r+1)+"~":m.C0.ESC+"[24~";break;default:if(!p.ctrlKey||p.shiftKey||p.altKey||p.metaKey)if(u&&!o||!p.altKey||p.metaKey)u&&!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=v[p.keyCode],n=i&&i[p.shiftKey?1:0];if(n)e.key=m.C0.ESC+n;else if(p.keyCode>=65&&p.keyCode<=90){var l=p.ctrlKey?p.keyCode-64:p.keyCode+32;e.key=m.C0.ESC+String.fromCharCode(l)}}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,A,b){"use strict";var m,v=this&&this.__extends||(m=function(c,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,g){f.__proto__=g}||function(f,g){for(var S in g)g.hasOwnProperty(S)&&(f[S]=g[S])})(c,h)},function(a,c){function h(){this.constructor=a}m(a,c),a.prototype=c===null?Object.create(c):(h.prototype=c.prototype,new h)}),p=this&&this.__decorate||function(a,c,h,f){var g,S=arguments.length,y=S<3?c:f===null?f=Object.getOwnPropertyDescriptor(c,h):f;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(a,c,h,f);else for(var E=a.length-1;E>=0;E--)(g=a[E])&&(y=(S<3?g(y):S>3?g(c,h,y):g(c,h))||y);return S>3&&y&&Object.defineProperty(c,h,y),y},s=this&&this.__param||function(a,c){return function(h,f){c(h,f,a)}};Object.defineProperty(A,"__esModule",{value:!0}),A.RenderService=void 0;var u=b(31),o=b(0),e=b(2),r=b(32),i=b(7),n=b(1),l=b(5),t=function(a){function c(h,f,g,S,y,E){var C=a.call(this)||this;if(C._renderer=h,C._rowCount=f,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 o.EventEmitter,C._onRender=new o.EventEmitter,C._onRefreshRequest=new o.EventEmitter,C.register({dispose:function(){return C._renderer.dispose()}}),C._renderDebouncer=new u.RenderDebouncer(function(x,_){return C._renderRows(x,_)}),C.register(C._renderDebouncer),C._screenDprMonitor=new r.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(y.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(g),C.register({dispose:function(){return T.disconnect()}})}return C}return v(c,a),Object.defineProperty(c.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),c.prototype._onIntersectionChange=function(h){this._isPaused=h.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},c.prototype.refreshRows=function(h,f,g){g===void 0&&(g=!1),this._isPaused?this._needsFullRefresh=!0:(g||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(h,f,this._rowCount))},c.prototype._renderRows=function(h,f){this._renderer.renderRows(h,f),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:h,end:f}),this._isNextRenderRedrawOnly=!0},c.prototype.resize=function(h,f){this._rowCount=f,this._fireOnCanvasResize()},c.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},c.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},c.prototype.dispose=function(){a.prototype.dispose.call(this)},c.prototype.setRenderer=function(h){var f=this;this._renderer.dispose(),this._renderer=h,this._renderer.onRequestRedraw(function(g){return f.refreshRows(g.start,g.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},c.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},c.prototype.setColors=function(h){this._renderer.setColors(h),this._fullRefresh()},c.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},c.prototype.onResize=function(h,f){this._renderer.onResize(h,f),this._fullRefresh()},c.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},c.prototype.onBlur=function(){this._renderer.onBlur()},c.prototype.onFocus=function(){this._renderer.onFocus()},c.prototype.onSelectionChanged=function(h,f,g){this._selectionState.start=h,this._selectionState.end=f,this._selectionState.columnSelectMode=g,this._renderer.onSelectionChanged(h,f,g)},c.prototype.onCursorMove=function(){this._renderer.onCursorMove()},c.prototype.clear=function(){this._renderer.clear()},c.prototype.registerCharacterJoiner=function(h){return this._renderer.registerCharacterJoiner(h)},c.prototype.deregisterCharacterJoiner=function(h){return this._renderer.deregisterCharacterJoiner(h)},c=p([s(3,n.IOptionsService),s(4,l.ICharSizeService),s(5,n.IBufferService)],c)}(e.Disposable);A.RenderService=t},function(w,A,b){"use strict";var m=this&&this.__decorate||function(e,r,i,n){var l,t=arguments.length,a=t<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,i):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,r,i,n);else for(var c=e.length-1;c>=0;c--)(l=e[c])&&(a=(t<3?l(a):t>3?l(r,i,a):l(r,i))||a);return t>3&&a&&Object.defineProperty(r,i,a),a},v=this&&this.__param||function(e,r){return function(i,n){r(i,n,e)}};Object.defineProperty(A,"__esModule",{value:!0}),A.CharSizeService=void 0;var p=b(1),s=b(0),u=function(){function e(r,i,n){this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new s.EventEmitter,this._measureStrategy=new o(r,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 r=this._measureStrategy.measure();r.width===this.width&&r.height===this.height||(this.width=r.width,this.height=r.height,this._onCharSizeChange.fire())},e=m([v(2,p.IOptionsService)],e)}();A.CharSizeService=u;var o=function(){function e(r,i,n){this._document=r,this._parentElement=i,this._optionsService=n,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return e.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var r=this._measureElement.getBoundingClientRect();return r.width!==0&&r.height!==0&&(this._result.width=r.width,this._result.height=Math.ceil(r.height)),this._result},e}()},function(w,A,b){"use strict";var m=this&&this.__decorate||function(o,e,r,i){var n,l=arguments.length,t=l<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(o,e,r,i);else for(var a=o.length-1;a>=0;a--)(n=o[a])&&(t=(l<3?n(t):l>3?n(e,r,t):n(e,r))||t);return l>3&&t&&Object.defineProperty(e,r,t),t},v=this&&this.__param||function(o,e){return function(r,i){e(r,i,o)}};Object.defineProperty(A,"__esModule",{value:!0}),A.MouseService=void 0;var p=b(5),s=b(30),u=function(){function o(e,r){this._renderService=e,this._charSizeService=r}return o.prototype.getCoords=function(e,r,i,n,l){return s.getCoords(e,r,i,n,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,l)},o.prototype.getRawByteCoords=function(e,r,i,n){var l=this.getCoords(e,r,i,n);return s.getRawByteCoords(l)},o=m([v(0,p.IRenderService),v(1,p.ICharSizeService)],o)}();A.MouseService=u},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var h in c)c.hasOwnProperty(h)&&(a[h]=c[h])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),p=this&&this.__decorate||function(n,l,t,a){var c,h=arguments.length,f=h<3?l:a===null?a=Object.getOwnPropertyDescriptor(l,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(n,l,t,a);else for(var g=n.length-1;g>=0;g--)(c=n[g])&&(f=(h<3?c(f):h>3?c(l,t,f):c(l,t))||f);return h>3&&f&&Object.defineProperty(l,t,f),f},s=this&&this.__param||function(n,l){return function(t,a){l(t,a,n)}};Object.defineProperty(A,"__esModule",{value:!0}),A.Linkifier2=void 0;var u=b(1),o=b(0),e=b(2),r=b(7),i=function(n){function l(t){var a=n.call(this)||this;return a._bufferService=t,a._linkProviders=[],a._linkCacheDisposables=[],a._isMouseOut=!0,a._activeLine=-1,a._onShowLinkUnderline=a.register(new o.EventEmitter),a._onHideLinkUnderline=a.register(new o.EventEmitter),a.register(e.getDisposeArrayDisposable(a._linkCacheDisposables)),a}return v(l,n),Object.defineProperty(l.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),l.prototype.registerLinkProvider=function(t){var a=this;return this._linkProviders.push(t),{dispose:function(){var h=a._linkProviders.indexOf(t);h!==-1&&a._linkProviders.splice(h,1)}}},l.prototype.attachToDom=function(t,a,c){var h=this;this._element=t,this._mouseService=a,this._renderService=c,this.register(r.addDisposableDomListener(this._element,"mouseleave",function(){h._isMouseOut=!0,h._clearCurrentLink()})),this.register(r.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(r.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},l.prototype._onMouseMove=function(t){if(this._lastMouseEvent=t,this._element&&this._mouseService){var a=this._positionFromMouseEvent(t,this._element,this._mouseService);if(a){this._isMouseOut=!1;for(var c=t.composedPath(),h=0;h<c.length;h++){var f=c[h];if(f.classList.contains("xterm"))break;if(f.classList.contains("xterm-hover"))return}this._lastBufferCell&&a.x===this._lastBufferCell.x&&a.y===this._lastBufferCell.y||(this._onHover(a),this._lastBufferCell=a)}}},l.prototype._onHover=function(t){if(this._activeLine!==t.y)return this._clearCurrentLink(),void this._askForLink(t,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,t)||(this._clearCurrentLink(),this._askForLink(t,!0))},l.prototype._askForLink=function(t,a){var c=this;this._activeProviderReplies&&a||(this._activeProviderReplies=new Map,this._activeLine=t.y);var h=!1;this._linkProviders.forEach(function(f,g){var S;a?((S=c._activeProviderReplies)===null||S===void 0?void 0:S.get(g))&&(h=c._checkLinkProviderResult(g,t,h)):f.provideLinks(t.y,function(y){var E,C;if(!c._isMouseOut){var T=y==null?void 0:y.map(function(x){return{link:x}});(E=c._activeProviderReplies)===null||E===void 0||E.set(g,T),h=c._checkLinkProviderResult(g,t,h),((C=c._activeProviderReplies)===null||C===void 0?void 0:C.size)===c._linkProviders.length&&c._removeIntersectingLinks(t.y,c._activeProviderReplies)}})})},l.prototype._removeIntersectingLinks=function(t,a){for(var c=new Set,h=0;h<a.size;h++){var f=a.get(h);if(f)for(var g=0;g<f.length;g++)for(var S=f[g],y=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=y;C<=E;C++){if(c.has(C)){f.splice(g--,1);break}c.add(C)}}},l.prototype._checkLinkProviderResult=function(t,a,c){var h,f=this;if(!this._activeProviderReplies)return c;for(var g=this._activeProviderReplies.get(t),S=!1,y=0;y<t;y++)this._activeProviderReplies.has(y)&&!this._activeProviderReplies.get(y)||(S=!0);if(!S&&g){var E=g.find(function(T){return f._linkAtPosition(T.link,a)});E&&(c=!0,this._handleNewLink(E))}if(this._activeProviderReplies.size===this._linkProviders.length&&!c)for(y=0;y<this._activeProviderReplies.size;y++){var C=(h=this._activeProviderReplies.get(y))===null||h===void 0?void 0:h.find(function(T){return f._linkAtPosition(T.link,a)});if(C){c=!0,this._handleNewLink(C);break}}return c},l.prototype._onClick=function(t){if(this._element&&this._mouseService&&this._currentLink){var a=this._positionFromMouseEvent(t,this._element,this._mouseService);a&&this._linkAtPosition(this._currentLink.link,a)&&this._currentLink.link.activate(t,this._currentLink.link.text)}},l.prototype._clearCurrentLink=function(t,a){this._element&&this._currentLink&&this._lastMouseEvent&&(!t||!a||this._currentLink.link.range.start.y>=t&&this._currentLink.link.range.end.y<=a)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,e.disposeArray(this._linkCacheDisposables))},l.prototype._handleNewLink=function(t){var a=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var c=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);c&&this._linkAtPosition(t.link,c)&&(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 f,g;return(g=(f=a._currentLink)===null||f===void 0?void 0:f.state)===null||g===void 0?void 0:g.decorations.pointerCursor},set:function(f){var g,S;((g=a._currentLink)===null||g===void 0?void 0:g.state)&&a._currentLink.state.decorations.pointerCursor!==f&&(a._currentLink.state.decorations.pointerCursor=f,a._currentLink.state.isHovered&&((S=a._element)===null||S===void 0||S.classList.toggle("xterm-cursor-pointer",f)))}},underline:{get:function(){var f,g;return(g=(f=a._currentLink)===null||f===void 0?void 0:f.state)===null||g===void 0?void 0:g.decorations.underline},set:function(f){var g,S,y;((g=a._currentLink)===null||g===void 0?void 0:g.state)&&((y=(S=a._currentLink)===null||S===void 0?void 0:S.state)===null||y===void 0?void 0:y.decorations.underline)!==f&&(a._currentLink.state.decorations.underline=f,a._currentLink.state.isHovered&&a._fireUnderlineEvent(t.link,f))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(h){var f=h.start===0?0:h.start+1+a._bufferService.buffer.ydisp;a._clearCurrentLink(f,h.end+1+a._bufferService.buffer.ydisp)})))}},l.prototype._linkHover=function(t,a,c){var h;((h=this._currentLink)===null||h===void 0?void 0:h.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(a,!0),this._currentLink.state.decorations.pointerCursor&&t.classList.add("xterm-cursor-pointer")),a.hover&&a.hover(c,a.text)},l.prototype._fireUnderlineEvent=function(t,a){var c=t.range,h=this._bufferService.buffer.ydisp,f=this._createLinkUnderlineEvent(c.start.x-1,c.start.y-h-1,c.end.x,c.end.y-h-1,void 0);(a?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(f)},l.prototype._linkLeave=function(t,a,c){var h;((h=this._currentLink)===null||h===void 0?void 0:h.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(a,!1),this._currentLink.state.decorations.pointerCursor&&t.classList.remove("xterm-cursor-pointer")),a.leave&&a.leave(c,a.text)},l.prototype._linkAtPosition=function(t,a){var c=t.range.start.y===t.range.end.y,h=t.range.start.y<a.y,f=t.range.end.y>a.y;return(c&&t.range.start.x<=a.x&&t.range.end.x>=a.x||h&&t.range.end.x>=a.x||f&&t.range.start.x<=a.x||h&&f)&&t.range.start.y<=a.y&&t.range.end.y>=a.y},l.prototype._positionFromMouseEvent=function(t,a,c){var h=c.getCoords(t,a,this._bufferService.cols,this._bufferService.rows);if(h)return{x:h[0],y:h[1]+this._bufferService.buffer.ydisp}},l.prototype._createLinkUnderlineEvent=function(t,a,c,h,f){return{x1:t,y1:a,x2:c,y2:h,cols:this._bufferService.cols,fg:f}},l=p([s(0,u.IBufferService)],l)}(e.Disposable);A.Linkifier2=i},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CoreBrowserService=void 0;var m=function(){function v(p){this._textarea=p}return Object.defineProperty(v.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),v}();A.CoreBrowserService=m},function(w,A,b){"use strict";var m,v=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(y,E){function C(){this.constructor=y}m(y,E),y.prototype=E===null?Object.create(E):(C.prototype=E.prototype,new C)});Object.defineProperty(A,"__esModule",{value:!0}),A.CoreTerminal=void 0;var p=b(2),s=b(1),u=b(66),o=b(67),e=b(68),r=b(74),i=b(75),n=b(0),l=b(76),t=b(77),a=b(78),c=b(80),h=b(81),f=b(19),g=b(82),S=function(y){function E(C){var T=y.call(this)||this;return T._onBinary=new n.EventEmitter,T._onData=new n.EventEmitter,T._onLineFeed=new n.EventEmitter,T._onResize=new n.EventEmitter,T._onScroll=new n.EventEmitter,T._instantiationService=new u.InstantiationService,T.optionsService=new r.OptionsService(C),T._instantiationService.setService(s.IOptionsService,T.optionsService),T._bufferService=T.register(T._instantiationService.createInstance(e.BufferService)),T._instantiationService.setService(s.IBufferService,T._bufferService),T._logService=T._instantiationService.createInstance(o.LogService),T._instantiationService.setService(s.ILogService,T._logService),T._coreService=T.register(T._instantiationService.createInstance(i.CoreService,function(){return T.scrollToBottom()})),T._instantiationService.setService(s.ICoreService,T._coreService),T._coreMouseService=T._instantiationService.createInstance(l.CoreMouseService),T._instantiationService.setService(s.ICoreMouseService,T._coreMouseService),T._dirtyRowService=T._instantiationService.createInstance(t.DirtyRowService),T._instantiationService.setService(s.IDirtyRowService,T._dirtyRowService),T.unicodeService=T._instantiationService.createInstance(a.UnicodeService),T._instantiationService.setService(s.IUnicodeService,T.unicodeService),T._charsetService=T._instantiationService.createInstance(c.CharsetService),T._instantiationService.setService(s.ICharsetService,T._charsetService),T._inputHandler=new f.InputHandler(T._bufferService,T._charsetService,T._coreService,T._dirtyRowService,T._logService,T.optionsService,T._coreMouseService,T.unicodeService),T.register(n.forwardEvent(T._inputHandler.onLineFeed,T._onLineFeed)),T.register(T._inputHandler),T.register(n.forwardEvent(T._bufferService.onResize,T._onResize)),T.register(n.forwardEvent(T._coreService.onData,T._onData)),T.register(n.forwardEvent(T._coreService.onBinary,T._onBinary)),T.register(T.optionsService.onOptionChange(function(x){return T._updateOptions(x)})),T._writeBuffer=new g.WriteBuffer(function(x){return T._inputHandler.parse(x)}),T}return v(E,y),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||(y.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 D=_.lines.isFull;L===_.lines.length-1?D?_.lines.recycle().copyFrom(x):_.lines.push(x.clone()):_.lines.splice(L+1,0,x.clone()),D?this._bufferService.isUserScrolling&&(_.ydisp=Math.max(_.ydisp-1,0)):(_.ybase++,this._bufferService.isUserScrolling||_.ydisp++)}else{var B=L-I+1;_.lines.shiftElements(I+1,B-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(h.updateWindowsModeWrappedState.bind(null,this._bufferService))),T.push(this.addCsiHandler({final:"H"},function(){return h.updateWindowsModeWrappedState(C._bufferService),!1})),this._windowsMode={dispose:function(){for(var _=0,I=T;_<I.length;_++)I[_].dispose()}}}},E}(p.Disposable);A.CoreTerminal=S},function(w,A,b){"use strict";var m=this&&this.__spreadArrays||function(){for(var o=0,e=0,r=arguments.length;e<r;e++)o+=arguments[e].length;var i=Array(o),n=0;for(e=0;e<r;e++)for(var l=arguments[e],t=0,a=l.length;t<a;t++,n++)i[n]=l[t];return i};Object.defineProperty(A,"__esModule",{value:!0}),A.InstantiationService=A.ServiceCollection=void 0;var v=b(1),p=b(14),s=function(){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this._entries=new Map;for(var i=0,n=e;i<n.length;i++){var l=n[i],t=l[0],a=l[1];this.set(t,a)}}return o.prototype.set=function(e,r){var i=this._entries.get(e);return this._entries.set(e,r),i},o.prototype.forEach=function(e){this._entries.forEach(function(r,i){return e(i,r)})},o.prototype.has=function(e){return this._entries.has(e)},o.prototype.get=function(e){return this._entries.get(e)},o}();A.ServiceCollection=s;var u=function(){function o(){this._services=new s,this._services.set(v.IInstantiationService,this)}return o.prototype.setService=function(e,r){this._services.set(e,r)},o.prototype.getService=function(e){return this._services.get(e)},o.prototype.createInstance=function(e){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];for(var n=p.getServiceDependencies(e).sort(function(g,S){return g.index-S.index}),l=[],t=0,a=n;t<a.length;t++){var c=a[t],h=this._services.get(c.id);if(!h)throw new Error("[createInstance] "+e.name+" depends on UNKNOWN service "+c.id+".");l.push(h)}var f=n.length>0?n[0].index:r.length;if(r.length!==f)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(f+1)+" conflicts with "+r.length+" static arguments");return new(e.bind.apply(e,m([void 0],m(r,l))))},o}();A.InstantiationService=u},function(w,A,b){"use strict";var m=this&&this.__decorate||function(r,i,n,l){var t,a=arguments.length,c=a<3?i:l===null?l=Object.getOwnPropertyDescriptor(i,n):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(r,i,n,l);else for(var h=r.length-1;h>=0;h--)(t=r[h])&&(c=(a<3?t(c):a>3?t(i,n,c):t(i,n))||c);return a>3&&c&&Object.defineProperty(i,n,c),c},v=this&&this.__param||function(r,i){return function(n,l){i(n,l,r)}},p=this&&this.__spreadArrays||function(){for(var r=0,i=0,n=arguments.length;i<n;i++)r+=arguments[i].length;var l=Array(r),t=0;for(i=0;i<n;i++)for(var a=arguments[i],c=0,h=a.length;c<h;c++,t++)l[t]=a[c];return l};Object.defineProperty(A,"__esModule",{value:!0}),A.LogService=A.LogLevel=void 0;var s,u=b(1);!function(r){r[r.DEBUG=0]="DEBUG",r[r.INFO=1]="INFO",r[r.WARN=2]="WARN",r[r.ERROR=3]="ERROR",r[r.OFF=4]="OFF"}(s=A.LogLevel||(A.LogLevel={}));var o={debug:s.DEBUG,info:s.INFO,warn:s.WARN,error:s.ERROR,off:s.OFF},e=function(){function r(i){var n=this;this._optionsService=i,this._updateLogLevel(),this._optionsService.onOptionChange(function(l){l==="logLevel"&&n._updateLogLevel()})}return r.prototype._updateLogLevel=function(){this._logLevel=o[this._optionsService.options.logLevel]},r.prototype._evalLazyOptionalParams=function(i){for(var n=0;n<i.length;n++)typeof i[n]=="function"&&(i[n]=i[n]())},r.prototype._log=function(i,n,l){this._evalLazyOptionalParams(l),i.call.apply(i,p([console,"xterm.js: "+n],l))},r.prototype.debug=function(i){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=s.DEBUG&&this._log(console.log,i,n)},r.prototype.info=function(i){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=s.INFO&&this._log(console.info,i,n)},r.prototype.warn=function(i){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=s.WARN&&this._log(console.warn,i,n)},r.prototype.error=function(i){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=s.ERROR&&this._log(console.error,i,n)},r=m([v(0,u.IOptionsService)],r)}();A.LogService=e},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var h in c)c.hasOwnProperty(h)&&(a[h]=c[h])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),p=this&&this.__decorate||function(n,l,t,a){var c,h=arguments.length,f=h<3?l:a===null?a=Object.getOwnPropertyDescriptor(l,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(n,l,t,a);else for(var g=n.length-1;g>=0;g--)(c=n[g])&&(f=(h<3?c(f):h>3?c(l,t,f):c(l,t))||f);return h>3&&f&&Object.defineProperty(l,t,f),f},s=this&&this.__param||function(n,l){return function(t,a){l(t,a,n)}};Object.defineProperty(A,"__esModule",{value:!0}),A.BufferService=A.MINIMUM_ROWS=A.MINIMUM_COLS=void 0;var u=b(1),o=b(69),e=b(0),r=b(2);A.MINIMUM_COLS=2,A.MINIMUM_ROWS=1;var i=function(n){function l(t){var a=n.call(this)||this;return a._optionsService=t,a.isUserScrolling=!1,a._onResize=new e.EventEmitter,a.cols=Math.max(t.options.cols,A.MINIMUM_COLS),a.rows=Math.max(t.options.rows,A.MINIMUM_ROWS),a.buffers=new o.BufferSet(t,a),a}return v(l,n),Object.defineProperty(l.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),l.prototype.dispose=function(){n.prototype.dispose.call(this),this.buffers.dispose()},l.prototype.resize=function(t,a){this.cols=t,this.rows=a,this.buffers.resize(t,a),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:t,rows:a})},l.prototype.reset=function(){this.buffers.dispose(),this.buffers=new o.BufferSet(this._optionsService,this),this.isUserScrolling=!1},l=p([s(0,u.IOptionsService)],l)}(r.Disposable);A.BufferService=i},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(e,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var l in n)n.hasOwnProperty(l)&&(i[l]=n[l])})(e,r)},function(o,e){function r(){this.constructor=o}m(o,e),o.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(A,"__esModule",{value:!0}),A.BufferSet=void 0;var p=b(70),s=b(0),u=function(o){function e(r,i){var n=o.call(this)||this;return n._onBufferActivate=n.register(new s.EventEmitter),n._normal=new p.Buffer(!0,r,i),n._normal.fillViewportRows(),n._alt=new p.Buffer(!1,r,i),n._activeBuffer=n._normal,n.setupTabStops(),n}return v(e,o),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(r){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(r),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(r,i){this._normal.resize(r,i),this._alt.resize(r,i)},e.prototype.setupTabStops=function(r){this._normal.setupTabStops(r),this._alt.setupTabStops(r)},e}(b(2).Disposable);A.BufferSet=u},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.BufferStringIterator=A.Buffer=A.MAX_BUFFER_SIZE=void 0;var m=b(71),v=b(16),p=b(4),s=b(3),u=b(72),o=b(73),e=b(20),r=b(6);A.MAX_BUFFER_SIZE=4294967295;var i=function(){function l(t,a,c){this._hasScrollback=t,this._optionsService=a,this._bufferService=c,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=v.DEFAULT_ATTR_DATA.clone(),this.savedCharset=e.DEFAULT_CHARSET,this.markers=[],this._nullCell=p.CellData.fromCharData([0,s.NULL_CELL_CHAR,s.NULL_CELL_WIDTH,s.NULL_CELL_CODE]),this._whitespaceCell=p.CellData.fromCharData([0,s.WHITESPACE_CELL_CHAR,s.WHITESPACE_CELL_WIDTH,s.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return l.prototype.getNullCell=function(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 r.ExtendedAttrs),this._nullCell},l.prototype.getWhitespaceCell=function(t){return t?(this._whitespaceCell.fg=t.fg,this._whitespaceCell.bg=t.bg,this._whitespaceCell.extended=t.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new r.ExtendedAttrs),this._whitespaceCell},l.prototype.getBlankLine=function(t,a){return new v.BufferLine(this._bufferService.cols,this.getNullCell(t),a)},Object.defineProperty(l.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isCursorInViewport",{get:function(){var a=this.ybase+this.y-this.ydisp;return a>=0&&a<this._rows},enumerable:!1,configurable:!0}),l.prototype._getCorrectBufferLength=function(t){if(!this._hasScrollback)return t;var a=t+this._optionsService.options.scrollback;return a>A.MAX_BUFFER_SIZE?A.MAX_BUFFER_SIZE:a},l.prototype.fillViewportRows=function(t){if(this.lines.length===0){t===void 0&&(t=v.DEFAULT_ATTR_DATA);for(var a=this._rows;a--;)this.lines.push(this.getBlankLine(t))}},l.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},l.prototype.resize=function(t,a){var c=this.getNullCell(v.DEFAULT_ATTR_DATA),h=this._getCorrectBufferLength(a);if(h>this.lines.maxLength&&(this.lines.maxLength=h),this.lines.length>0){if(this._cols<t)for(var f=0;f<this.lines.length;f++)this.lines.get(f).resize(t,c);var g=0;if(this._rows<a)for(var S=this._rows;S<a;S++)this.lines.length<a+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new v.BufferLine(t,c)):this.ybase>0&&this.lines.length<=this.ybase+this.y+g+1?(this.ybase--,g++,this.ydisp>0&&this.ydisp--):this.lines.push(new v.BufferLine(t,c)));else for(S=this._rows;S>a;S--)this.lines.length>a+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(h<this.lines.maxLength){var y=this.lines.length-h;y>0&&(this.lines.trimStart(y),this.ybase=Math.max(this.ybase-y,0),this.ydisp=Math.max(this.ydisp-y,0),this.savedY=Math.max(this.savedY-y,0)),this.lines.maxLength=h}this.x=Math.min(this.x,t-1),this.y=Math.min(this.y,a-1),g&&(this.y+=g),this.savedX=Math.min(this.savedX,t-1),this.scrollTop=0}if(this.scrollBottom=a-1,this._isReflowEnabled&&(this._reflow(t,a),this._cols>t))for(f=0;f<this.lines.length;f++)this.lines.get(f).resize(t,c);this._cols=t,this._rows=a},Object.defineProperty(l.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),l.prototype._reflow=function(t,a){this._cols!==t&&(t>this._cols?this._reflowLarger(t,a):this._reflowSmaller(t,a))},l.prototype._reflowLarger=function(t,a){var c=u.reflowLargerGetLinesToRemove(this.lines,this._cols,t,this.ybase+this.y,this.getNullCell(v.DEFAULT_ATTR_DATA));if(c.length>0){var h=u.reflowLargerCreateNewLayout(this.lines,c);u.reflowLargerApplyNewLayout(this.lines,h.layout),this._reflowLargerAdjustViewport(t,a,h.countRemoved)}},l.prototype._reflowLargerAdjustViewport=function(t,a,c){for(var h=this.getNullCell(v.DEFAULT_ATTR_DATA),f=c;f-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<a&&this.lines.push(new v.BufferLine(t,h))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-c,0)},l.prototype._reflowSmaller=function(t,a){for(var c=this.getNullCell(v.DEFAULT_ATTR_DATA),h=[],f=0,g=this.lines.length-1;g>=0;g--){var S=this.lines.get(g);if(!(!S||!S.isWrapped&&S.getTrimmedLength()<=t)){for(var y=[S];S.isWrapped&&g>0;)S=this.lines.get(--g),y.unshift(S);var E=this.ybase+this.y;if(!(E>=g&&E<g+y.length)){var C=y[y.length-1].getTrimmedLength(),T=u.reflowSmallerGetNewLineLengths(y,this._cols,t),x=T.length-y.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 D=this.getBlankLine(v.DEFAULT_ATTR_DATA,!0);I.push(D)}I.length>0&&(h.push({start:g+y.length+f,newLines:I}),f+=I.length),y.push.apply(y,I);var B=T.length-1,N=T[B];N===0&&(N=T[--B]);for(var k=y.length-x-1,W=C;k>=0;){var R=Math.min(W,N);if(y[B].copyCellsFrom(y[k],W-R,N-R,R,!0),(N-=R)===0&&(N=T[--B]),(W-=R)===0){k--;var j=Math.max(k,0);W=u.getWrappedLineTrimmedLength(y,j,this._cols)}}for(L=0;L<y.length;L++)T[L]<t&&y[L].setCell(T[L],c);for(var H=x-_;H-- >0;)this.ybase===0?this.y<a-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+f)-a&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+x,this.ybase+a-1)}}}if(h.length>0){var K=[],U=[];for(L=0;L<this.lines.length;L++)U.push(this.lines.get(L));var Q=this.lines.length,V=Q-1,J=0,ae=h[J];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+f);var se=0;for(L=Math.min(this.lines.maxLength-1,Q+f-1);L>=0;L--)if(ae&&ae.start>V+se){for(var $=ae.newLines.length-1;$>=0;$--)this.lines.set(L--,ae.newLines[$]);L++,K.push({index:V+1,amount:ae.newLines.length}),se+=ae.newLines.length,ae=h[++J]}else this.lines.set(L,U[V--]);var ge=0;for(L=K.length-1;L>=0;L--)K[L].index+=ge,this.lines.onInsertEmitter.fire(K[L]),ge+=K[L].amount;var he=Math.max(0,Q+f-this.lines.maxLength);he>0&&this.lines.onTrimEmitter.fire(he)}},l.prototype.stringIndexToBufferIndex=function(t,a,c){for(c===void 0&&(c=!1);a;){var h=this.lines.get(t);if(!h)return[-1,-1];for(var f=c?h.getTrimmedLength():h.length,g=0;g<f;++g)if(h.get(g)[s.CHAR_DATA_WIDTH_INDEX]&&(a-=h.get(g)[s.CHAR_DATA_CHAR_INDEX].length||1),a<0)return[t,g];t++}return[t,0]},l.prototype.translateBufferLineToString=function(t,a,c,h){c===void 0&&(c=0);var f=this.lines.get(t);return f?f.translateToString(a,c,h):""},l.prototype.getWrappedRangeForLine=function(t){for(var a=t,c=t;a>0&&this.lines.get(a).isWrapped;)a--;for(;c+1<this.lines.length&&this.lines.get(c+1).isWrapped;)c++;return{first:a,last:c}},l.prototype.setupTabStops=function(t){for(t!=null?this.tabs[t]||(t=this.prevStop(t)):(this.tabs={},t=0);t<this._cols;t+=this._optionsService.options.tabStopWidth)this.tabs[t]=!0},l.prototype.prevStop=function(t){for(t==null&&(t=this.x);!this.tabs[--t]&&t>0;);return t>=this._cols?this._cols-1:t<0?0:t},l.prototype.nextStop=function(t){for(t==null&&(t=this.x);!this.tabs[++t]&&t<this._cols;);return t>=this._cols?this._cols-1:t<0?0:t},l.prototype.addMarker=function(t){var a=this,c=new o.Marker(t);return this.markers.push(c),c.register(this.lines.onTrim(function(h){c.line-=h,c.line<0&&c.dispose()})),c.register(this.lines.onInsert(function(h){c.line>=h.index&&(c.line+=h.amount)})),c.register(this.lines.onDelete(function(h){c.line>=h.index&&c.line<h.index+h.amount&&c.dispose(),c.line>h.index&&(c.line-=h.amount)})),c.register(c.onDispose(function(){return a._removeMarker(c)})),c},l.prototype._removeMarker=function(t){this.markers.splice(this.markers.indexOf(t),1)},l.prototype.iterator=function(t,a,c,h,f){return new n(this,t,a,c,h,f)},l}();A.Buffer=i;var n=function(){function l(t,a,c,h,f,g){c===void 0&&(c=0),h===void 0&&(h=t.lines.length),f===void 0&&(f=0),g===void 0&&(g=0),this._buffer=t,this._trimRight=a,this._startIndex=c,this._endIndex=h,this._startOverscan=f,this._endOverscan=g,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return l.prototype.hasNext=function(){return this._current<this._endIndex},l.prototype.next=function(){var t=this._buffer.getWrappedRangeForLine(this._current);t.first<this._startIndex-this._startOverscan&&(t.first=this._startIndex-this._startOverscan),t.last>this._endIndex+this._endOverscan&&(t.last=this._endIndex+this._endOverscan),t.first=Math.max(t.first,0),t.last=Math.min(t.last,this._buffer.lines.length);for(var a="",c=t.first;c<=t.last;++c)a+=this._buffer.translateBufferLineToString(c,this._trimRight);return this._current=t.last+1,{range:t,content:a}},l}();A.BufferStringIterator=n},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CircularList=void 0;var m=b(0),v=function(){function p(s){this._maxLength=s,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(u){if(this._maxLength!==u){for(var o=new Array(u),e=0;e<Math.min(u,this.length);e++)o[e]=this._array[this._getCyclicIndex(e)];this._array=o,this._maxLength=u,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"length",{get:function(){return this._length},set:function(u){if(u>this._length)for(var o=this._length;o<u;o++)this._array[o]=void 0;this._length=u},enumerable:!1,configurable:!0}),p.prototype.get=function(s){return this._array[this._getCyclicIndex(s)]},p.prototype.set=function(s,u){this._array[this._getCyclicIndex(s)]=u},p.prototype.push=function(s){this._array[this._getCyclicIndex(this._length)]=s,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(s,u){for(var o=[],e=2;e<arguments.length;e++)o[e-2]=arguments[e];if(u){for(var r=s;r<this._length-u;r++)this._array[this._getCyclicIndex(r)]=this._array[this._getCyclicIndex(r+u)];this._length-=u}for(r=this._length-1;r>=s;r--)this._array[this._getCyclicIndex(r+o.length)]=this._array[this._getCyclicIndex(r)];for(r=0;r<o.length;r++)this._array[this._getCyclicIndex(s+r)]=o[r];if(this._length+o.length>this._maxLength){var i=this._length+o.length-this._maxLength;this._startIndex+=i,this._length=this._maxLength,this.onTrimEmitter.fire(i)}else this._length+=o.length},p.prototype.trimStart=function(s){s>this._length&&(s=this._length),this._startIndex+=s,this._length-=s,this.onTrimEmitter.fire(s)},p.prototype.shiftElements=function(s,u,o){if(!(u<=0)){if(s<0||s>=this._length)throw new Error("start argument out of range");if(s+o<0)throw new Error("Cannot shift elements in list beyond index 0");if(o>0){for(var e=u-1;e>=0;e--)this.set(s+e+o,this.get(s+e));var r=s+u+o-this._length;if(r>0)for(this._length+=r;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(e=0;e<u;e++)this.set(s+e+o,this.get(s+e))}},p.prototype._getCyclicIndex=function(s){return(this._startIndex+s)%this._maxLength},p}();A.CircularList=v},function(w,A,b){"use strict";function m(v,p,s){if(p===v.length-1)return v[p].getTrimmedLength();var u=!v[p].hasContent(s-1)&&v[p].getWidth(s-1)===1,o=v[p+1].getWidth(0)===2;return u&&o?s-1:s}Object.defineProperty(A,"__esModule",{value:!0}),A.getWrappedLineTrimmedLength=A.reflowSmallerGetNewLineLengths=A.reflowLargerApplyNewLayout=A.reflowLargerCreateNewLayout=A.reflowLargerGetLinesToRemove=void 0,A.reflowLargerGetLinesToRemove=function(v,p,s,u,o){for(var e=[],r=0;r<v.length-1;r++){var i=r,n=v.get(++i);if(n.isWrapped){for(var l=[v.get(r)];i<v.length&&n.isWrapped;)l.push(n),n=v.get(++i);if(u>=r&&u<i)r+=l.length-1;else{for(var t=0,a=m(l,t,p),c=1,h=0;c<l.length;){var f=m(l,c,p),g=f-h,S=s-a,y=Math.min(g,S);l[t].copyCellsFrom(l[c],h,a,y,!1),(a+=y)===s&&(t++,a=0),(h+=y)===f&&(c++,h=0),a===0&&t!==0&&l[t-1].getWidth(s-1)===2&&(l[t].copyCellsFrom(l[t-1],s-1,a++,1,!1),l[t-1].setCell(s-1,o))}l[t].replaceCells(a,s,o);for(var E=0,C=l.length-1;C>0&&(C>t||l[C].getTrimmedLength()===0);C--)E++;E>0&&(e.push(r+l.length-E),e.push(E)),r+=l.length-1}}}return e},A.reflowLargerCreateNewLayout=function(v,p){for(var s=[],u=0,o=p[u],e=0,r=0;r<v.length;r++)if(o===r){var i=p[++u];v.onDeleteEmitter.fire({index:r-e,amount:i}),r+=i-1,e+=i,o=p[++u]}else s.push(r);return{layout:s,countRemoved:e}},A.reflowLargerApplyNewLayout=function(v,p){for(var s=[],u=0;u<p.length;u++)s.push(v.get(p[u]));for(u=0;u<s.length;u++)v.set(u,s[u]);v.length=p.length},A.reflowSmallerGetNewLineLengths=function(v,p,s){for(var u=[],o=v.map(function(a,c){return m(v,c,p)}).reduce(function(a,c){return a+c}),e=0,r=0,i=0;i<o;){if(o-i<s){u.push(o-i);break}e+=s;var n=m(v,r,p);e>n&&(e-=n,r++);var l=v[r].getWidth(e-1)===2;l&&e--;var t=l?s-1:s;u.push(t),i+=t}return u},A.getWrappedLineTrimmedLength=m},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(o,e){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)i.hasOwnProperty(n)&&(r[n]=i[n])})(o,e)},function(u,o){function e(){this.constructor=u}m(u,o),u.prototype=o===null?Object.create(o):(e.prototype=o.prototype,new e)});Object.defineProperty(A,"__esModule",{value:!0}),A.Marker=void 0;var p=b(0),s=function(u){function o(e){var r=u.call(this)||this;return r.line=e,r._id=o._nextId++,r.isDisposed=!1,r._onDispose=new p.EventEmitter,r}return v(o,u),Object.defineProperty(o.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),o.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},o._nextId=1,o}(b(2).Disposable);A.Marker=s},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.OptionsService=A.DEFAULT_OPTIONS=A.DEFAULT_BELL_SOUND=void 0;var m=b(0),v=b(11),p=b(33);A.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",A.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:A.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:v.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var s=["cols","rows"],u=function(){function o(e){this._onOptionChange=new m.EventEmitter,this.options=p.clone(A.DEFAULT_OPTIONS);for(var r=0,i=Object.keys(e);r<i.length;r++){var n=i[r];if(n in this.options){var l=e[n];this.options[n]=l}}}return Object.defineProperty(o.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),o.prototype.setOption=function(e,r){if(!(e in A.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');if(s.indexOf(e)!==-1)throw new Error('Option "'+e+'" can only be set in the constructor');this.options[e]!==r&&(r=this._sanitizeAndValidateOption(e,r),this.options[e]!==r&&(this.options[e]=r,this._onOptionChange.fire(e)))},o.prototype._sanitizeAndValidateOption=function(e,r){switch(e){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":r||(r=A.DEFAULT_OPTIONS[e]);break;case"cursorWidth":r=Math.floor(r);case"lineHeight":case"tabStopWidth":if(r<1)throw new Error(e+" cannot be less than 1, value: "+r);break;case"minimumContrastRatio":r=Math.max(1,Math.min(21,Math.round(10*r)/10));break;case"scrollback":if((r=Math.min(r,4294967295))<0)throw new Error(e+" cannot be less than 0, value: "+r);break;case"fastScrollSensitivity":case"scrollSensitivity":if(r<=0)throw new Error(e+" cannot be less than or equal to 0, value: "+r)}return r},o.prototype.getOption=function(e){if(!(e in A.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');return this.options[e]},o}();A.OptionsService=u},function(w,A,b){"use strict";var m,v=this&&this.__extends||(m=function(a,c){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,f){h.__proto__=f}||function(h,f){for(var g in f)f.hasOwnProperty(g)&&(h[g]=f[g])})(a,c)},function(t,a){function c(){this.constructor=t}m(t,a),t.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),p=this&&this.__decorate||function(t,a,c,h){var f,g=arguments.length,S=g<3?a:h===null?h=Object.getOwnPropertyDescriptor(a,c):h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")S=Reflect.decorate(t,a,c,h);else for(var y=t.length-1;y>=0;y--)(f=t[y])&&(S=(g<3?f(S):g>3?f(a,c,S):f(a,c))||S);return g>3&&S&&Object.defineProperty(a,c,S),S},s=this&&this.__param||function(t,a){return function(c,h){a(c,h,t)}};Object.defineProperty(A,"__esModule",{value:!0}),A.CoreService=void 0;var u=b(1),o=b(0),e=b(33),r=b(2),i=Object.freeze({insertMode:!1}),n=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),l=function(t){function a(c,h,f,g){var S=t.call(this)||this;return S._bufferService=h,S._logService=f,S._optionsService=g,S.isCursorInitialized=!1,S.isCursorHidden=!1,S._onData=S.register(new o.EventEmitter),S._onUserInput=S.register(new o.EventEmitter),S._onBinary=S.register(new o.EventEmitter),S._scrollToBottom=c,S.register({dispose:function(){return S._scrollToBottom=void 0}}),S.modes=e.clone(i),S.decPrivateModes=e.clone(n),S}return v(a,t),Object.defineProperty(a.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),a.prototype.reset=function(){this.modes=e.clone(i),this.decPrivateModes=e.clone(n)},a.prototype.triggerDataEvent=function(c,h){if(h===void 0&&(h=!1),!this._optionsService.options.disableStdin){var f=this._bufferService.buffer;f.ybase!==f.ydisp&&this._scrollToBottom(),h&&this._onUserInput.fire(),this._logService.debug('sending data "'+c+'"',function(){return c.split("").map(function(g){return g.charCodeAt(0)})}),this._onData.fire(c)}},a.prototype.triggerBinaryEvent=function(c){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+c+'"',function(){return c.split("").map(function(h){return h.charCodeAt(0)})}),this._onBinary.fire(c))},a=p([s(1,u.IBufferService),s(2,u.ILogService),s(3,u.IOptionsService)],a)}(r.Disposable);A.CoreService=l},function(w,A,b){"use strict";var m=this&&this.__decorate||function(n,l,t,a){var c,h=arguments.length,f=h<3?l:a===null?a=Object.getOwnPropertyDescriptor(l,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(n,l,t,a);else for(var g=n.length-1;g>=0;g--)(c=n[g])&&(f=(h<3?c(f):h>3?c(l,t,f):c(l,t))||f);return h>3&&f&&Object.defineProperty(l,t,f),f},v=this&&this.__param||function(n,l){return function(t,a){l(t,a,n)}};Object.defineProperty(A,"__esModule",{value:!0}),A.CoreMouseService=void 0;var p=b(1),s=b(0),u={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(l){return l.button!==4&&l.action===1&&(l.ctrl=!1,l.alt=!1,l.shift=!1,!0)}},VT200:{events:19,restrict:function(l){return l.action!==32}},DRAG:{events:23,restrict:function(l){return l.action!==32||l.button!==3}},ANY:{events:31,restrict:function(l){return!0}}};function o(n,l){var t=(n.ctrl?16:0)|(n.shift?4:0)|(n.alt?8:0);return n.button===4?(t|=64,t|=n.action):(t|=3&n.button,4&n.button&&(t|=64),8&n.button&&(t|=128),n.action===32?t|=32:n.action!==0||l||(t|=3)),t}var e=String.fromCharCode,r={DEFAULT:function(l){var t=[o(l,!1)+32,l.col+32,l.row+32];return t[0]>255||t[1]>255||t[2]>255?"":"[M"+e(t[0])+e(t[1])+e(t[2])},SGR:function(l){var t=l.action===0&&l.button!==4?"m":"M";return"[<"+o(l,!0)+";"+l.col+";"+l.row+t}},i=function(){function n(l,t){this._bufferService=l,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new s.EventEmitter,this._lastEvent=null;for(var a=0,c=Object.keys(u);a<c.length;a++){var h=c[a];this.addProtocol(h,u[h])}for(var f=0,g=Object.keys(r);f<g.length;f++){var S=g[f];this.addEncoding(S,r[S])}this.reset()}return n.prototype.addProtocol=function(l,t){this._protocols[l]=t},n.prototype.addEncoding=function(l,t){this._encodings[l]=t},Object.defineProperty(n.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(t){if(!this._protocols[t])throw new Error('unknown protocol "'+t+'"');this._activeProtocol=t,this._onProtocolChange.fire(this._protocols[t].events)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(t){if(!this._encodings[t])throw new Error('unknown encoding "'+t+'"');this._activeEncoding=t},enumerable:!1,configurable:!0}),n.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(n.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),n.prototype.triggerMouseEvent=function(l){if(l.col<0||l.col>=this._bufferService.cols||l.row<0||l.row>=this._bufferService.rows)return!1;if(l.button===4&&l.action===32)return!1;if(l.button===3&&l.action!==32)return!1;if(l.button!==4&&(l.action===2||l.action===3))return!1;if(l.col++,l.row++,l.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,l))return!1;if(!this._protocols[this._activeProtocol].restrict(l))return!1;var t=this._encodings[this._activeEncoding](l);return t&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=l,!0},n.prototype.explainEvents=function(l){return{down:!!(1&l),up:!!(2&l),drag:!!(4&l),move:!!(8&l),wheel:!!(16&l)}},n.prototype._compareEvents=function(l,t){return l.col===t.col&&l.row===t.row&&l.button===t.button&&l.action===t.action&&l.ctrl===t.ctrl&&l.alt===t.alt&&l.shift===t.shift},n=m([v(0,p.IBufferService),v(1,p.ICoreService)],n)}();A.CoreMouseService=i},function(w,A,b){"use strict";var m=this&&this.__decorate||function(u,o,e,r){var i,n=arguments.length,l=n<3?o:r===null?r=Object.getOwnPropertyDescriptor(o,e):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(u,o,e,r);else for(var t=u.length-1;t>=0;t--)(i=u[t])&&(l=(n<3?i(l):n>3?i(o,e,l):i(o,e))||l);return n>3&&l&&Object.defineProperty(o,e,l),l},v=this&&this.__param||function(u,o){return function(e,r){o(e,r,u)}};Object.defineProperty(A,"__esModule",{value:!0}),A.DirtyRowService=void 0;var p=b(1),s=function(){function u(o){this._bufferService=o,this.clearRange()}return Object.defineProperty(u.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),u.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},u.prototype.markDirty=function(o){o<this._start?this._start=o:o>this._end&&(this._end=o)},u.prototype.markRangeDirty=function(o,e){if(o>e){var r=o;o=e,e=r}o<this._start&&(this._start=o),e>this._end&&(this._end=e)},u.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},u=m([v(0,p.IBufferService)],u)}();A.DirtyRowService=s},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.UnicodeService=void 0;var m=b(0),v=b(79),p=function(){function s(){this._providers=Object.create(null),this._active="",this._onChange=new m.EventEmitter;var u=new v.UnicodeV6;this.register(u),this._active=u.version,this._activeProvider=u}return Object.defineProperty(s.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"activeVersion",{get:function(){return this._active},set:function(o){if(!this._providers[o])throw new Error('unknown Unicode version "'+o+'"');this._active=o,this._activeProvider=this._providers[o],this._onChange.fire(o)},enumerable:!1,configurable:!0}),s.prototype.register=function(u){this._providers[u.version]=u},s.prototype.wcwidth=function(u){return this._activeProvider.wcwidth(u)},s.prototype.getStringCellWidth=function(u){for(var o=0,e=u.length,r=0;r<e;++r){var i=u.charCodeAt(r);if(55296<=i&&i<=56319){if(++r>=e)return o+this.wcwidth(i);var n=u.charCodeAt(r);56320<=n&&n<=57343?i=1024*(i-55296)+n-56320+65536:o+=this.wcwidth(n)}o+=this.wcwidth(i)}return o},s}();A.UnicodeService=p},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.UnicodeV6=void 0;var m,v=b(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]],s=[[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]],u=function(){function o(){if(this.version="6",!m){m=new Uint8Array(65536),v.fill(m,1),m[0]=0,v.fill(m,0,1,32),v.fill(m,0,127,160),v.fill(m,2,4352,4448),m[9001]=2,m[9002]=2,v.fill(m,2,11904,42192),m[12351]=1,v.fill(m,2,44032,55204),v.fill(m,2,63744,64256),v.fill(m,2,65040,65050),v.fill(m,2,65072,65136),v.fill(m,2,65280,65377),v.fill(m,2,65504,65511);for(var e=0;e<p.length;++e)v.fill(m,0,p[e][0],p[e][1]+1)}}return o.prototype.wcwidth=function(e){return e<32?0:e<127?1:e<65536?m[e]:function(r,i){var n,l=0,t=i.length-1;if(r<i[0][0]||r>i[t][1])return!1;for(;t>=l;)if(r>i[n=l+t>>1][1])l=n+1;else{if(!(r<i[n][0]))return!0;t=n-1}return!1}(e,s)?0:e>=131072&&e<=196605||e>=196608&&e<=262141?2:1},o}();A.UnicodeV6=u},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CharsetService=void 0;var m=function(){function v(){this.glevel=0,this._charsets=[]}return v.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},v.prototype.setgLevel=function(p){this.glevel=p,this.charset=this._charsets[p]},v.prototype.setgCharset=function(p,s){this._charsets[p]=s,this.glevel===p&&(this.charset=s)},v}();A.CharsetService=m},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.updateWindowsModeWrappedState=void 0;var m=b(3);A.updateWindowsModeWrappedState=function(v){var p=v.buffer.lines.get(v.buffer.ybase+v.buffer.y-1),s=p==null?void 0:p.get(v.cols-1),u=v.buffer.lines.get(v.buffer.ybase+v.buffer.y);u&&s&&(u.isWrapped=s[m.CHAR_DATA_CODE_INDEX]!==m.NULL_CELL_CODE&&s[m.CHAR_DATA_CODE_INDEX]!==m.WHITESPACE_CELL_CODE)}},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.WriteBuffer=void 0;var m=function(){function v(p){this._action=p,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return v.prototype.writeSync=function(p){if(this._writeBuffer.length){for(var s=this._bufferOffset;s<this._writeBuffer.length;++s){var u=this._writeBuffer[s],o=this._callbacks[s];this._action(u),o&&o()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(p)},v.prototype.write=function(p,s){var u=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 u._innerWrite()})),this._pendingData+=p.length,this._writeBuffer.push(p),this._callbacks.push(s)},v.prototype._innerWrite=function(){for(var p=this,s=Date.now();this._writeBuffer.length>this._bufferOffset;){var u=this._writeBuffer[this._bufferOffset],o=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(u),this._pendingData-=u.length,o&&o(),Date.now()-s>=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)},v}();A.WriteBuffer=m},function(w,A,b){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.AddonManager=void 0;var m=function(){function v(){this._addons=[]}return v.prototype.dispose=function(){for(var p=this._addons.length-1;p>=0;p--)this._addons[p].instance.dispose()},v.prototype.loadAddon=function(p,s){var u=this,o={instance:s,dispose:s.dispose,isDisposed:!1};this._addons.push(o),s.dispose=function(){return u._wrappedAddonDispose(o)},s.activate(p)},v.prototype._wrappedAddonDispose=function(p){if(!p.isDisposed){for(var s=-1,u=0;u<this._addons.length;u++)if(this._addons[u]===p){s=u;break}if(s===-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(s,1)}},v}();A.AddonManager=m}])})},"/SeX":function(M,P,d){var w=d("knOB"),A=d("qZFw"),b=function(v){this.name=v||"",this.cx=0,this.cy=0,this._radiusAxis=new w,this._angleAxis=new A,this._radiusAxis.polar=this._angleAxis.polar=this};b.prototype={type:"polar",axisPointerEnabled:!0,constructor:b,dimensions:["radius","angle"],model:null,containPoint:function(v){var p=this.pointToCoord(v);return this._radiusAxis.contain(p[0])&&this._angleAxis.contain(p[1])},containData:function(v){return this._radiusAxis.containData(v[0])&&this._angleAxis.containData(v[1])},getAxis:function(v){return this["_"+v+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(v){var p=[],s=this._angleAxis,u=this._radiusAxis;return s.scale.type===v&&p.push(s),u.scale.type===v&&p.push(u),p},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(v){var p=this._angleAxis;return v===p?this._radiusAxis:p},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(v){var p=v!=null&&v!=="auto"?this.getAxis(v):this.getBaseAxis();return{baseAxes:[p],otherAxes:[this.getOtherAxis(p)]}},dataToPoint:function(v,p){return this.coordToPoint([this._radiusAxis.dataToRadius(v[0],p),this._angleAxis.dataToAngle(v[1],p)])},pointToData:function(v,p){var s=this.pointToCoord(v);return[this._radiusAxis.radiusToData(s[0],p),this._angleAxis.angleToData(s[1],p)]},pointToCoord:function(v){var p=v[0]-this.cx,s=v[1]-this.cy,u=this.getAngleAxis(),o=u.getExtent(),e=Math.min(o[0],o[1]),r=Math.max(o[0],o[1]);u.inverse?e=r-360:r=e+360;var i=Math.sqrt(p*p+s*s);p/=i,s/=i;for(var n=Math.atan2(-s,p)/Math.PI*180,l=n<e?1:-1;n<e||n>r;)n+=l*360;return[i,n]},coordToPoint:function(v){var p=v[0],s=v[1]/180*Math.PI,u=Math.cos(s)*p+this.cx,o=-Math.sin(s)*p+this.cy;return[u,o]},getArea:function(){var v=this.getAngleAxis(),p=this.getRadiusAxis(),s=p.getExtent().slice();s[0]>s[1]&&s.reverse();var u=v.getExtent(),o=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:s[0],r:s[1],startAngle:-u[0]*o,endAngle:-u[1]*o,clockwise:v.inverse,contain:function(e,r){var i=e-this.cx,n=r-this.cy,l=i*i+n*n,t=this.r,a=this.r0;return l<=t*t&&l>=a*a}}}};var m=b;M.exports=m},"/WM3":function(M,P,d){var w=d("QuXc"),A=d("bYtY"),b=A.isFunction,m={createOnAllSeries:!0,performRawSeries:!0,reset:function(v,p){var s=v.getData(),u=(v.visualColorAccessPath||"itemStyle.color").split("."),o=v.get(u),e=b(o)&&!(o instanceof w)?o:null;(!o||e)&&(o=v.getColorFromPalette(v.name,null,p.getSeriesCount())),s.setVisual("color",o);var r=(v.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),i=v.get(r);if(s.setVisual("borderColor",i),!p.isSeriesFiltered(v)){e&&s.each(function(l){s.setItemVisual(l,"color",e(v.getDataParams(l)))});var n=function(l,t){var a=l.getItemModel(t),c=a.get(u,!0),h=a.get(r,!0);c!=null&&l.setItemVisual(t,"color",c),h!=null&&l.setItemVisual(t,"borderColor",h)};return{dataEach:s.hasItemOption?n:null}}}};M.exports=m},"/d5a":function(M,P){var d={average:function(b){for(var m=0,v=0,p=0;p<b.length;p++)isNaN(b[p])||(m+=b[p],v++);return v===0?NaN:m/v},sum:function(b){for(var m=0,v=0;v<b.length;v++)m+=b[v]||0;return m},max:function(b){for(var m=-Infinity,v=0;v<b.length;v++)b[v]>m&&(m=b[v]);return isFinite(m)?m:NaN},min:function(b){for(var m=Infinity,v=0;v<b.length;v++)b[v]<m&&(m=b[v]);return isFinite(m)?m:NaN},nearest:function(b){return b[0]}},w=function(b,m){return Math.round(b.length/2)};function A(b){return{seriesType:b,modifyOutputEnd:!0,reset:function(m,v,p){var s=m.getData(),u=m.get("sampling"),o=m.coordinateSystem;if(o.type==="cartesian2d"&&u){var e=o.getBaseAxis(),r=o.getOtherAxis(e),i=e.getExtent(),n=i[1]-i[0],l=Math.round(s.count()/n);if(l>1){var t;typeof u=="string"?t=d[u]:typeof u=="function"&&(t=u),t&&m.setData(s.downSample(s.mapDimension(r.dim),1/l,t,w))}}}}}M.exports=A},"/iHx":function(M,P,d){var w=d("6GrX"),A=d("IwbS"),b=["textStyle","color"],m={getTextColor:function(v){var p=this.ecModel;return this.getShallow("color")||(!v&&p?p.get(b):null)},getFont:function(){return A.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(v){return w.getBoundingRect(v,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};M.exports=m},"/ry/":function(M,P,d){var w=d("bYtY"),A=d("T4UG"),b=d("5GhG"),m=b.seriesModelMixin,v=A.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(v,m,!0);var p=v;M.exports=p},"/stD":function(M,P,d){var w=d("bYtY"),A=d("IUWy"),b=d("Kagy"),m=b.toolbox.brush;function v(u,o,e){this.model=u,this.ecModel=o,this.api=e,this._brushType,this._brushMode}v.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:w.clone(m.title)};var p=v.prototype;p.render=p.updateView=function(u,o,e){var r,i,n;o.eachComponent({mainType:"brush"},function(l){r=l.brushType,i=l.brushOption.brushMode||"single",n|=l.areas.length}),this._brushType=r,this._brushMode=i,w.each(u.get("type",!0),function(l){u.setIconStatus(l,(l==="keep"?i==="multiple":l==="clear"?n:l===r)?"emphasis":"normal")})},p.getIcons=function(){var u=this.model,o=u.get("icon",!0),e={};return w.each(u.get("type",!0),function(r){o[r]&&(e[r]=o[r])}),e},p.onclick=function(u,o,e){var r=this._brushType,i=this._brushMode;e==="clear"?(o.dispatchAction({type:"axisAreaSelect",intervals:[]}),o.dispatchAction({type:"brush",command:"clear",areas:[]})):o.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:e==="keep"?r:r===e?!1:e,brushMode:e==="keep"?i==="multiple"?"single":"multiple":i}})},A.register("brush",v);var s=v;M.exports=s},"/y7N":function(M,P,d){var w=d("bYtY"),A=d("IwbS"),b=d("6GrX"),m=d("7aKB"),v=d("Fofx"),p=d("aX7z"),s=d("+rIm");function u(c){var h=c.get("type"),f=c.getModel(h+"Style"),g;return h==="line"?(g=f.getLineStyle(),g.fill=null):h==="shadow"&&(g=f.getAreaStyle(),g.stroke=null),g}function o(c,h,f,g,S){var y=f.get("value"),E=r(y,h.axis,h.ecModel,f.get("seriesDataIndices"),{precision:f.get("label.precision"),formatter:f.get("label.formatter")}),C=f.getModel("label"),T=m.normalizeCssArray(C.get("padding")||0),x=C.getFont(),_=b.getBoundingRect(E,x),I=S.position,L=_.width+T[1]+T[3],D=_.height+T[0]+T[2],B=S.align;B==="right"&&(I[0]-=L),B==="center"&&(I[0]-=L/2);var N=S.verticalAlign;N==="bottom"&&(I[1]-=D),N==="middle"&&(I[1]-=D/2),e(I,L,D,g);var k=C.get("backgroundColor");(!k||k==="auto")&&(k=h.get("axisLine.lineStyle.color")),c.label={shape:{x:0,y:0,width:L,height:D,r:C.get("borderRadius")},position:I.slice(),style:{text:E,textFont:x,textFill:C.getTextColor(),textPosition:"inside",textPadding:T,fill:k,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(c,h,f,g){var S=g.getWidth(),y=g.getHeight();c[0]=Math.min(c[0]+h,S)-h,c[1]=Math.min(c[1]+f,y)-f,c[0]=Math.max(c[0],0),c[1]=Math.max(c[1],0)}function r(c,h,f,g,S){c=h.scale.parse(c);var y=h.scale.getLabel(c,{precision:S.precision}),E=S.formatter;if(E){var C={value:p.getAxisRawValue(h,c),axisDimension:h.dim,axisIndex:h.index,seriesData:[]};w.each(g,function(T){var x=f.getSeriesByIndex(T.seriesIndex),_=T.dataIndexInside,I=x&&x.getDataParams(_);I&&C.seriesData.push(I)}),w.isString(E)?y=E.replace("{value}",y):w.isFunction(E)&&(y=E(C))}return y}function i(c,h,f){var g=v.create();return v.rotate(g,g,f.rotation),v.translate(g,g,f.position),A.applyTransform([c.dataToCoord(h),(f.labelOffset||0)+(f.labelDirection||1)*(f.labelMargin||0)],g)}function n(c,h,f,g,S,y){var E=s.innerTextLayout(f.rotation,0,f.labelDirection);f.labelMargin=S.get("label.margin"),o(h,g,S,y,{position:i(g.axis,c,f),align:E.textAlign,verticalAlign:E.textVerticalAlign})}function l(c,h,f){return f=f||0,{x1:c[f],y1:c[1-f],x2:h[f],y2:h[1-f]}}function t(c,h,f){return f=f||0,{x:c[f],y:c[1-f],width:h[f],height:h[1-f]}}function a(c,h,f,g,S,y){return{cx:c,cy:h,r0:f,r:g,startAngle:S,endAngle:y,clockwise:!0}}P.buildElStyle=u,P.buildLabelElOption=o,P.getValueLabel=r,P.getTransformedPosition=i,P.buildCartesianSingleLabelElOption=n,P.makeLineShape=l,P.makeRectShape=t,P.makeSectorShape=a},"0/Rx":function(M,P){function d(w){return{seriesType:w,reset:function(A,b){var m=b.findComponents({mainType:"legend"});if(!m||!m.length)return;var v=A.getData();v.filterSelf(function(p){for(var s=v.getName(p),u=0;u<m.length;u++)if(!m[u].isSelected(s))return!1;return!0})}}}M.exports=d},"01d+":function(M,P,d){var w=d("bYtY"),A=w.each,b=d("HF/U"),m=b.simpleLayout,v=b.simpleLayoutEdge;function p(s,u){s.eachSeriesByType("graph",function(o){var e=o.get("layout"),r=o.coordinateSystem;if(r&&r.type!=="view"){var i=o.getData(),n=[];A(r.dimensions,function(f){n=n.concat(i.mapDimension(f,!0))});for(var l=0;l<i.count();l++){for(var t=[],a=!1,c=0;c<n.length;c++){var h=i.get(n[c],l);isNaN(h)||(a=!0),t.push(h)}a?i.setItemLayout(l,r.dataToPoint(t)):i.setItemLayout(l,[NaN,NaN])}v(i.graph)}else(!e||e==="none")&&m(o)})}M.exports=p},"06DH":function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("Kagy"),m=d("IUWy"),v=b.toolbox.magicType,p="__ec_magicType_stack__";function s(i){this.model=i}s.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:A.clone(v.title),option:{},seriesIndex:{}};var u=s.prototype;u.getIcons=function(){var i=this.model,n=i.get("icon"),l={};return A.each(i.get("type"),function(t){n[t]&&(l[t]=n[t])}),l};var o={line:function(i,n,l,t){if(i==="bar")return A.merge({id:n,type:"line",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},t.get("option.line")||{},!0)},bar:function(i,n,l,t){if(i==="line")return A.merge({id:n,type:"bar",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},t.get("option.bar")||{},!0)},stack:function(i,n,l,t){var a=l.get("stack")===p;if(i==="line"||i==="bar")return t.setIconStatus("stack",a?"normal":"emphasis"),A.merge({id:n,stack:a?"":p},t.get("option.stack")||{},!0)}},e=[["line","bar"],["stack"]];u.onclick=function(i,n,l){var t=this.model,a=t.get("seriesIndex."+l);if(!o[l])return;var c={series:[]},h=function(S){var y=S.subType,E=S.id,C=o[l](y,E,S,t);C&&(A.defaults(C,S.option),c.series.push(C));var T=S.coordinateSystem;if(T&&T.type==="cartesian2d"&&(l==="line"||l==="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],D=L.componentIndex;c[I]=c[I]||[];for(var B=0;B<=D;B++)c[I][D]=c[I][D]||{};c[I][D].boundaryGap=l==="bar"}}};A.each(e,function(S){A.indexOf(S,l)>=0&&A.each(S,function(y){t.setIconStatus(y,"normal")})}),t.setIconStatus(l,"emphasis"),i.eachComponent({mainType:"series",query:a==null?null:{seriesIndex:a}},h);var f;if(l==="stack"){var g=c.series&&c.series[0]&&c.series[0].stack===p;f=g?A.merge({stack:v.title.tiled},v.title):A.clone(v.title)}n.dispatchAction({type:"changeMagicType",currentType:l,newOption:c,newTitle:f,featureName:"magicType"})},w.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(i,n){n.mergeOption(i.newOption)}),m.register("magicType",s);var r=s;M.exports=r},"06Qe":function(M,P,d){var w=d("ItGF"),A="urn:schemas-microsoft-com:vml",b=typeof window=="undefined"?null:window,m=!1,v=b&&b.document;function p(o){return s(o)}var s;if(v&&!w.canvasSupported)try{!v.namespaces.zrvml&&v.namespaces.add("zrvml",A),s=function(e){return v.createElement("<zrvml:"+e+' class="zrvml">')}}catch(o){s=function(r){return v.createElement("<"+r+' xmlns="'+A+'" class="zrvml">')}}function u(){if(m||!v)return;m=!0;var o=v.styleSheets;o.length<31?v.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):o[0].addRule(".zrvml","behavior:url(#default#VML)")}P.doc=v,P.createNode=p,P.initVML=u},"0Bwj":function(M,P,d){var w=d("T4UG"),A=d("I3/A"),b=d("7aKB"),m=b.encodeHTML,v=d("Qxkt"),p=d("Tghj"),s=p.__DEV__,u=w.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(e,r){for(var i=e.edges||e.links,n=e.data||e.nodes,l=e.levels,t=this.levelModels={},a=0;a<l.length;a++)l[a].depth!=null&&l[a].depth>=0&&(t[l[a].depth]=new v(l[a],this,r));if(n&&i){var c=A(n,i,this,!0,h);return c.data}function h(f,g){f.wrapMethod("getItemModel",function(S,y){return S.customizeGetParent(function(E){var C=this.parentModel,T=C.getData().getItemLayout(y).depth,x=C.levelModels[T];return x||this.parentModel}),S}),g.wrapMethod("getItemModel",function(S,y){return S.customizeGetParent(function(E){var C=this.parentModel,T=C.getGraph().getEdgeByIndex(y),x=T.node1.getLayout().depth,_=C.levelModels[x];return _||this.parentModel}),S})}},setNodePosition:function(e,r){var i=this.option.data[e];i.localX=r[0],i.localY=r[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,r,i){if(i==="edge"){var n=this.getDataParams(e,i),l=n.data,t=l.source+" -- "+l.target;return n.value&&(t+=" : "+n.value),m(t)}else if(i==="node"){var a=this.getGraph().getNodeByIndex(e),c=a.getLayout().value,h=this.getDataParams(e,i).data.name;if(c)var t=h+" : "+c;return m(t)}return u.superCall(this,"formatTooltip",e,r)},optionUpdated:function(){var e=this.option;e.focusNodeAdjacency===!0&&(e.focusNodeAdjacency="allEdges")},getDataParams:function(e,r){var i=u.superCall(this,"getDataParams",e,r);if(i.value==null&&r==="node"){var n=this.getGraph().getNodeByIndex(e),l=n.getLayout().value;i.value=l}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}}),o=u;M.exports=o},"0HBW":function(M,P,d){var w=d("ProS"),A=d("bYtY");d("Hxpc"),d("7uqq"),d("dmGj"),d("SehX");function b(m,v){v.update="updateView",w.registerAction(v,function(p,s){var u={};return s.eachComponent({mainType:"geo",query:p},function(o){o[m](p.name);var e=o.coordinateSystem;A.each(e.regions,function(r){u[r.name]=o.isSelected(r.name)||!1})}),{selected:u,name:p.name}})}b("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),b("select",{type:"geoSelect",event:"geoselected"}),b("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(M,P,d){var w=d("bYtY"),A=d("+TT/"),b=d("OELB"),m=d("IDmD"),v=864e5;function p(o,e,r){this._model=o}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(o){o=b.parseDate(o);var e=o.getFullYear(),r=o.getMonth()+1;r=r<10?"0"+r:r;var i=o.getDate();i=i<10?"0"+i:i;var n=o.getDay();return n=Math.abs((n+7-this.getFirstDayOfWeek())%7),{y:e,m:r,d:i,day:n,time:o.getTime(),formatedDate:e+"-"+r+"-"+i,date:o}},getNextNDay:function(o,e){return e=e||0,e===0?this.getDateInfo(o):(o=new Date(this.getDateInfo(o).time),o.setDate(o.getDate()+e),this.getDateInfo(o))},update:function(o,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 r=this._rangeInfo.weeks||1,i=["width","height"],n=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),t=this._orient==="horizontal"?[r,7]:[7,r];w.each([0,1],function(f){h(n,f)&&(l[i[f]]=n[f]*t[f])});var a={width:e.getWidth(),height:e.getHeight()},c=this._rect=A.getLayoutRect(l,a);w.each([0,1],function(f){h(n,f)||(n[f]=c[i[f]]/t[f])});function h(f,g){return f[g]!=null&&f[g]!=="auto"}this._sw=n[0],this._sh=n[1]},dataToPoint:function(o,e){w.isArray(o)&&(o=o[0]),e==null&&(e=!0);var r=this.getDateInfo(o),i=this._rangeInfo,n=r.formatedDate;if(e&&!(r.time>=i.start.time&&r.time<i.end.time+v))return[NaN,NaN];var l=r.day,t=this._getRangeInfo([i.start.time,n]).nthWeek;return this._orient==="vertical"?[this._rect.x+l*this._sw+this._sw/2,this._rect.y+t*this._sh+this._sh/2]:[this._rect.x+t*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]},pointToData:function(o){var e=this.pointToDate(o);return e&&e.time},dataToRect:function(o,e){var r=this.dataToPoint(o,e);return{contentShape:{x:r[0]-(this._sw-this._lineWidth)/2,y:r[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:r,tl:[r[0]-this._sw/2,r[1]-this._sh/2],tr:[r[0]+this._sw/2,r[1]-this._sh/2],br:[r[0]+this._sw/2,r[1]+this._sh/2],bl:[r[0]-this._sw/2,r[1]+this._sh/2]}},pointToDate:function(o){var e=Math.floor((o[0]-this._rect.x)/this._sw)+1,r=Math.floor((o[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(r,e-1,i):this._getDateByWeeksAndDay(e,r-1,i)},convertToPixel:w.curry(s,"dataToPoint"),convertFromPixel:w.curry(s,"pointToData"),_initRangeOption:function(){var o=this._model.get("range"),e=o;if(w.isArray(e)&&e.length===1&&(e=e[0]),/^\d{4}$/.test(e)&&(o=[e+"-01-01",e+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(e)){var r=this.getDateInfo(e),i=r.date;i.setMonth(i.getMonth()+1);var n=this.getNextNDay(i,-1);o=[r.formatedDate,n.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(o=[e,e]);var l=this._getRangeInfo(o);return l.start.time>l.end.time&&o.reverse(),o},_getRangeInfo:function(o){o=[this.getDateInfo(o[0]),this.getDateInfo(o[1])];var e;o[0].time>o[1].time&&(e=!0,o.reverse());var r=Math.floor(o[1].time/v)-Math.floor(o[0].time/v)+1,i=new Date(o[0].time),n=i.getDate(),l=o[1].date.getDate();i.setDate(n+r-1);var t=i.getDate();if(t!==l)for(var a=i.getTime()-o[1].time>0?1:-1;(t=i.getDate())!==l&&(i.getTime()-o[1].time)*a>0;)r-=a,i.setDate(t-a);var c=Math.floor((r+o[0].day+6)/7),h=e?-c+1:c-1;return e&&o.reverse(),{range:[o[0].formatedDate,o[1].formatedDate],start:o[0],end:o[1],allDay:r,weeks:c,nthWeek:h,fweek:o[0].day,lweek:o[1].day}},_getDateByWeeksAndDay:function(o,e,r){var i=this._getRangeInfo(r);if(o>i.weeks||o===0&&e<i.fweek||o===i.weeks&&e>i.lweek)return!1;var n=(o-1)*7-i.fweek+e,l=new Date(i.start.time);return l.setDate(i.start.d+n),this.getDateInfo(l)}},p.dimensions=p.prototype.dimensions,p.getDimensionsInfo=p.prototype.getDimensionsInfo,p.create=function(o,e){var r=[];return o.eachComponent("calendar",function(i){var n=new p(i,o,e);r.push(n),i.coordinateSystem=n}),o.eachSeries(function(i){i.get("coordinateSystem")==="calendar"&&(i.coordinateSystem=r[i.get("calendarIndex")||0])}),r};function s(o,e,r,i){var n=r.calendarModel,l=r.seriesModel,t=n?n.coordinateSystem:l?l.coordinateSystem:null;return t===this?t[o](i):null}m.register("calendar",p);var u=p;M.exports=u},"0JQy":function(M,P){var d="\\ud800-\\udfff",w="\\u0300-\\u036f",A="\\ufe20-\\ufe2f",b="\\u20d0-\\u20ff",m=w+A+b,v="\\ufe0e\\ufe0f",p="["+d+"]",s="["+m+"]",u="\\ud83c[\\udffb-\\udfff]",o="(?:"+s+"|"+u+")",e="[^"+d+"]",r="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",l=o+"?",t="["+v+"]?",a="(?:"+n+"(?:"+[e,r,i].join("|")+")"+t+l+")*",c=t+l+a,h="(?:"+[e+s+"?",s,r,i,p].join("|")+")",f=RegExp(u+"(?="+u+")|"+h+c,"g");function g(S){return S.match(f)||[]}M.exports=g},"0NbB":function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="CaretDownOutlined";var s=P.a=A.forwardRef(p)},"0V0F":function(M,P,d){var w=d("bYtY"),A=w.createHashMap,b=w.each;function m(p){var s=A();p.eachSeries(function(u){var o=u.get("stack");if(o){var e=s.get(o)||s.set(o,[]),r=u.getData(),i={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:u};if(!i.stackedDimension||!(i.isStackedByIndex||i.stackedByDimension))return;e.length&&r.setCalculationInfo("stackedOnSeries",e[e.length-1].seriesModel),e.push(i)}}),s.each(v)}function v(p){b(p,function(s,u){var o=[],e=[NaN,NaN],r=[s.stackResultDimension,s.stackedOverDimension],i=s.data,n=s.isStackedByIndex,l=i.map(r,function(t,a,c){var h=i.get(s.stackedDimension,c);if(isNaN(h))return e;var f,g;n?g=i.getRawIndex(c):f=i.get(s.stackedByDimension,c);for(var S=NaN,y=u-1;y>=0;y--){var E=p[y];if(n||(g=E.data.rawIndexOf(E.stackedByDimension,f)),g>=0){var C=E.data.getByRawIndex(E.stackResultDimension,g);if(h>=0&&C>0||h<=0&&C<0){h+=C,S=C;break}}}return o[0]=h,o[1]=S,o});i.hostModel.setData(l),s.data=l})}M.exports=m},"0o9m":function(M,P,d){var w=d("ProS");d("hNWo"),d("RlCK"),d("XpcN");var A=d("kDyi"),b=d("bLfw");w.registerProcessor(w.PRIORITY.PROCESSOR.SERIES_FILTER,A),b.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(M,P,d){var w=d("ProS");w.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),w.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(M,P){var d=arguments[3],w=arguments[4],A=arguments[5],b=JSON.stringify;M.exports=function(m,v){for(var p,s=Object.keys(A),u=0,o=s.length;u<o;u++){var e=s[u],r=A[e].exports;if(r===m||r&&r.default===m){p=e;break}}if(!p){p=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var i={},u=0,o=s.length;u<o;u++){var e=s[u];i[e]=e}w[p]=["function(require,module,exports){"+m+"(self); }",i]}var n=Math.floor(Math.pow(16,8)*Math.random()).toString(16),l={};l[p]=p,w[n]=["function(require,module,exports){var f = require("+b(p)+");(f.default ? f.default : f)(self);}",l];var t={};a(n);function a(y){t[y]=!0;for(var E in w[y][1]){var C=w[y][1][E];t[C]||a(C)}}var c="("+d+")({"+Object.keys(t).map(function(y){return b(y)+":["+w[y][0]+","+b(w[y][1])+"]"}).join(",")+"},{},["+b(n)+"])",h=window.URL||window.webkitURL||window.mozURL||window.msURL,f=new Blob([c],{type:"text/javascript"});if(v&&v.bare)return f;var g=h.createObjectURL(f),S=new Worker(g);return S.objectURL=g,S}},"0s+r":function(M,P,d){var w=d("bYtY"),A=d("QBsz"),b=d("y23F"),m=d("H6uX"),v=d("YH21"),p=d("C0SR"),s="silent";function u(a,c,h){return{type:a,event:h,target:c.target,topTarget:c.topTarget,cancelBubble:!1,offsetX:h.zrX,offsetY:h.zrY,gestureEvent:h.gestureEvent,pinchX:h.pinchX,pinchY:h.pinchY,pinchScale:h.pinchScale,wheelDelta:h.zrDelta,zrByTouch:h.zrByTouch,which:h.which,stop:o}}function o(){v.stop(this.event)}function e(){}e.prototype.dispose=function(){};var r=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],i=function(c,h,f,g){m.call(this),this.storage=c,this.painter=h,this.painterRoot=g,f=f||new e,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,b.call(this),this.setHandlerProxy(f)};i.prototype={constructor:i,setHandlerProxy:function(c){this.proxy&&this.proxy.dispose(),c&&(w.each(r,function(h){c.on&&c.on(h,this[h],this)},this),c.handler=this),this.proxy=c},mousemove:function(c){var h=c.zrX,f=c.zrY,g=l(this,h,f),S=this._hovered,y=S.target;y&&!y.__zr&&(S=this.findHover(S.x,S.y),y=S.target);var E=this._hovered=g?{x:h,y:f}:this.findHover(h,f),C=E.target,T=this.proxy;T.setCursor&&T.setCursor(C?C.cursor:"default"),y&&C!==y&&this.dispatchToElement(S,"mouseout",c),this.dispatchToElement(E,"mousemove",c),C&&C!==y&&this.dispatchToElement(E,"mouseover",c)},mouseout:function(c){var h=c.zrEventControl,f=c.zrIsToLocalDOM;h!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",c),h!=="no_globalout"&&(!f&&this.trigger("globalout",{type:"globalout",event:c}))},resize:function(c){this._hovered={}},dispatch:function(c,h){var f=this[c];f&&f.call(this,h)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(c){var h=this.proxy;h.setCursor&&h.setCursor(c)},dispatchToElement:function(c,h,f){c=c||{};var g=c.target;if(g&&g.silent)return;for(var S="on"+h,y=u(h,c,f);g&&!(g[S]&&(y.cancelBubble=g[S].call(g,y)),g.trigger(h,y),g=g.parent,y.cancelBubble););y.cancelBubble||(this.trigger(h,y),this.painter&&this.painter.eachOtherLayer(function(E){typeof E[S]=="function"&&E[S].call(E,y),E.trigger&&E.trigger(h,y)}))},findHover:function(c,h,f){for(var g=this.storage.getDisplayList(),S={x:c,y:h},y=g.length-1;y>=0;y--){var E;if(g[y]!==f&&!g[y].ignore&&(E=n(g[y],c,h))&&(!S.topTarget&&(S.topTarget=g[y]),E!==s)){S.target=g[y];break}}return S},processGesture:function(c,h){this._gestureMgr||(this._gestureMgr=new p);var f=this._gestureMgr;h==="start"&&f.clear();var g=f.recognize(c,this.findHover(c.zrX,c.zrY,null).target,this.proxy.dom);if(h==="end"&&f.clear(),g){var S=g.type;c.gestureEvent=S,this.dispatchToElement({target:g.target},S,g.event)}}},w.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){i.prototype[a]=function(c){var h=c.zrX,f=c.zrY,g=l(this,h,f),S,y;if((a!=="mouseup"||!g)&&(S=this.findHover(h,f),y=S.target),a==="mousedown")this._downEl=y,this._downPoint=[c.zrX,c.zrY],this._upEl=y;else if(a==="mouseup")this._upEl=y;else if(a==="click"){if(this._downEl!==this._upEl||!this._downPoint||A.dist(this._downPoint,[c.zrX,c.zrY])>4)return;this._downPoint=null}this.dispatchToElement(S,a,c)}});function n(a,c,h){if(a[a.rectHover?"rectContain":"contain"](c,h)){for(var f=a,g;f;){if(f.clipPath&&!f.clipPath.contain(c,h))return!1;f.silent&&(g=!0),f=f.parent}return g?s:!0}return!1}function l(a,c,h){var f=a.painter;return c<0||c>f.getWidth()||h<0||h>f.getHeight()}w.mixin(i,m),w.mixin(i,b);var t=i;M.exports=t},"1+JA":function(M,P,d){"use strict";d.d(P,"a",function(){return o});var w=d("q1tI"),A=d.n(w),b=d("8Skl"),m=d("ye1Q"),v=d("bRQS"),p=d("4i/N"),s=d("jN4g"),u=d("l+S1");function o(e){var r=e.suffixIcon,i=e.clearIcon,n=e.menuItemSelectedIcon,l=e.removeIcon,t=e.loading,a=e.multiple,c=e.prefixCls,h=i;i||(h=w.createElement(s.a,null));var f=null;if(r!==void 0)f=r;else if(t)f=w.createElement(m.a,{spin:!0});else{var g="".concat(c,"-suffix");f=function(C){var T=C.open,x=C.showSearch;return T&&x?w.createElement(u.a,{className:g}):w.createElement(b.a,{className:g})}}var S=null;n!==void 0?S=n:a?S=w.createElement(v.a,null):S=null;var y=null;return l!==void 0?y=l:y=w.createElement(p.a,null),{clearIcon:h,suffixIcon:f,itemIcon:S,removeIcon:y}}},"10cm":function(M,P,d){var w=d("ProS"),A=d("2B6p"),b=A.updateCenterAndZoom;d("0qV/");var m={type:"graphRoam",event:"graphRoam",update:"none"};w.registerAction(m,function(v,p){p.eachComponent({mainType:"series",query:v},function(s){var u=s.coordinateSystem,o=b(u,v);s.setCenter&&s.setCenter(o.center),s.setZoom&&s.setZoom(o.zoom)})})},"19Vz":function(M,P,d){(function(w){w(d("VrN/"))})(function(w){w.defineOption("placeholder","",function(u,o,e){var r=e&&e!=w.Init;if(o&&!r)u.on("blur",v),u.on("change",p),u.on("swapDoc",p),w.on(u.getInputField(),"compositionupdate",u.state.placeholderCompose=function(){m(u)}),p(u);else if(!o&&r){u.off("blur",v),u.off("change",p),u.off("swapDoc",p),w.off(u.getInputField(),"compositionupdate",u.state.placeholderCompose),A(u);var i=u.getWrapperElement();i.className=i.className.replace(" CodeMirror-empty","")}o&&!u.hasFocus()&&v(u)});function A(u){u.state.placeholder&&(u.state.placeholder.parentNode.removeChild(u.state.placeholder),u.state.placeholder=null)}function b(u){A(u);var o=u.state.placeholder=document.createElement("pre");o.style.cssText="height: 0; overflow: visible",o.style.direction=u.getOption("direction"),o.className="CodeMirror-placeholder CodeMirror-line-like";var e=u.getOption("placeholder");typeof e=="string"&&(e=document.createTextNode(e)),o.appendChild(e),u.display.lineSpace.insertBefore(o,u.display.lineSpace.firstChild)}function m(u){setTimeout(function(){var o=!1,e=u.getInputField();e.nodeName=="TEXTAREA"?o=!e.value:u.lineCount()==1&&(o=!/[^\u200b]/.test(e.querySelector(".CodeMirror-line").textContent)),o?b(u):A(u)},20)}function v(u){s(u)&&b(u)}function p(u){var o=u.getWrapperElement(),e=s(u);o.className=o.className.replace(" CodeMirror-empty","")+(e?" CodeMirror-empty":""),e?b(u):A(u)}function s(u){return u.lineCount()===1&&u.getLine(0)===""}})},"1Jh7":function(M,P,d){var w=d("y+Vt"),A=d("T6xi"),b=w.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(v,p){A.buildPath(v,p,!1)}});M.exports=b},"1LEl":function(M,P,d){var w=d("ProS"),A=d("F9bG"),b=w.extendComponentView({type:"axisPointer",render:function(v,p,s){var u=p.getComponent("tooltip"),o=v.get("triggerOn")||u&&u.get("triggerOn")||"mousemove|click";A.register("axisPointer",s,function(e,r,i){o!=="none"&&(e==="leave"||o.indexOf(e)>=0)&&i({type:"updateAxisPointer",currTrigger:e,x:r&&r.offsetX,y:r&&r.offsetY})})},remove:function(v,p){A.unregister(p.getZr(),"axisPointer"),b.superApply(this._model,"remove",arguments)},dispose:function(v,p){A.unregister("axisPointer",p),b.superApply(this._model,"dispose",arguments)}}),m=b;M.exports=m},"1MYJ":function(M,P,d){var w=d("y+Vt"),A=w.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var m=this.__dirtyPath,v=this.shape.paths,p=0;p<v.length;p++)m=m||v[p].__dirtyPath;this.__dirtyPath=m,this.__dirty=this.__dirty||m},beforeBrush:function(){this._updatePathDirty();for(var m=this.shape.paths||[],v=this.getGlobalScale(),p=0;p<m.length;p++)m[p].path||m[p].createPathProxy(),m[p].path.setScale(v[0],v[1],m[p].segmentIgnoreThreshold)},buildPath:function(m,v){for(var p=v.paths||[],s=0;s<p.length;s++)p[s].buildPath(m,p[s].shape,!0)},afterBrush:function(){for(var m=this.shape.paths||[],v=0;v<m.length;v++)m[v].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),w.prototype.getBoundingRect.call(this)}});M.exports=A},"1NG9":function(M,P,d){var w=d("y+Vt"),A=d("QBsz"),b=d("iXp4"),m=A.min,v=A.max,p=A.scaleAndAdd,s=A.copy,u=[],o=[],e=[];function r(h){return isNaN(h[0])||isNaN(h[1])}function i(h,f,g,S,y,E,C,T,x,_,I){return _==="none"||!_?l.apply(this,arguments):n.apply(this,arguments)}function n(h,f,g,S,y,E,C,T,x,_,I){for(var L=0,D=g,B=0;B<S;B++){var N=f[D];if(D>=y||D<0)break;if(r(N)){if(I){D+=E;continue}break}if(D===g)h[E>0?"moveTo":"lineTo"](N[0],N[1]);else if(x>0){var k=f[L],W=_==="y"?1:0,R=(N[W]-k[W])*x;s(o,k),o[W]=k[W]+R,s(e,N),e[W]=N[W]-R,h.bezierCurveTo(o[0],o[1],e[0],e[1],N[0],N[1])}else h.lineTo(N[0],N[1]);L=D,D+=E}return B}function l(h,f,g,S,y,E,C,T,x,_,I){for(var L=0,D=g,B=0;B<S;B++){var N=f[D];if(D>=y||D<0)break;if(r(N)){if(I){D+=E;continue}break}if(D===g)h[E>0?"moveTo":"lineTo"](N[0],N[1]),s(o,N);else if(x>0){var k=D+E,W=f[k];if(I)for(;W&&r(f[k]);)k+=E,W=f[k];var R=.5,j=f[L],W=f[k];if(!W||r(W))s(e,N);else{r(W)&&!I&&(W=N),A.sub(u,W,j);var H,K;if(_==="x"||_==="y"){var U=_==="x"?0:1;H=Math.abs(N[U]-j[U]),K=Math.abs(N[U]-W[U])}else H=A.dist(N,j),K=A.dist(N,W);R=K/(K+H),p(e,N,u,-x*(1-R))}m(o,o,T),v(o,o,C),m(e,e,T),v(e,e,C),h.bezierCurveTo(o[0],o[1],e[0],e[1],N[0],N[1]),p(o,N,u,x*R)}else h.lineTo(N[0],N[1]);L=D,D+=E}return B}function t(h,f){var g=[Infinity,Infinity],S=[-Infinity,-Infinity];if(f)for(var y=0;y<h.length;y++){var E=h[y];E[0]<g[0]&&(g[0]=E[0]),E[1]<g[1]&&(g[1]=E[1]),E[0]>S[0]&&(S[0]=E[0]),E[1]>S[1]&&(S[1]=E[1])}return{min:f?g:S,max:f?S:g}}var a=w.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:b(w.prototype.brush),buildPath:function(h,f){var g=f.points,S=0,y=g.length,E=t(g,f.smoothConstraint);if(f.connectNulls){for(;y>0&&r(g[y-1]);y--);for(;S<y&&r(g[S]);S++);}for(;S<y;)S+=i(h,g,S,y,y,1,E.min,E.max,f.smooth,f.smoothMonotone,f.connectNulls)+1}}),c=w.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:b(w.prototype.brush),buildPath:function(h,f){var g=f.points,S=f.stackedOnPoints,y=0,E=g.length,C=f.smoothMonotone,T=t(g,f.smoothConstraint),x=t(S,f.smoothConstraint);if(f.connectNulls){for(;E>0&&r(g[E-1]);E--);for(;y<E&&r(g[y]);y++);}for(;y<E;){var _=i(h,g,y,E,E,1,T.min,T.max,f.smooth,C,f.connectNulls);i(h,S,y+_-1,_,E,-1,x.min,x.max,f.stackedOnSmooth,C,f.connectNulls),y+=_+1,h.closePath()}}});P.Polyline=a,P.Polygon=c},"1RvN":function(M,P){var d=function(){this.head=null,this.tail=null,this._len=0},w=d.prototype;w.insert=function(p){var s=new A(p);return this.insertEntry(s),s},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 s=p.prev,u=p.next;s?s.next=u:this.head=u,u?u.prev=s:this.tail=s,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 A=function(s){this.value=s,this.next,this.prev},b=function(s){this._list=new d,this._map={},this._maxSize=s||10,this._lastRemovedEntry=null},m=b.prototype;m.put=function(p,s){var u=this._list,o=this._map,e=null;if(o[p]==null){var r=u.len(),i=this._lastRemovedEntry;if(r>=this._maxSize&&r>0){var n=u.head;u.remove(n),delete o[n.key],e=n.value,this._lastRemovedEntry=n}i?i.value=s:i=new A(s),i.key=p,u.insertEntry(i),o[p]=i}return e},m.get=function(p){var s=this._map[p],u=this._list;if(s!=null)return s!==u.tail&&(u.remove(s),u.insertEntry(s)),s.value},m.clear=function(){this._list.clear(),this._map={}};var v=b;M.exports=v},"1bdT":function(M,P,d){var w=d("3gBT"),A=d("H6uX"),b=d("DN4a"),m=d("vWvF"),v=d("bYtY"),p=function(o){b.call(this,o),A.call(this,o),m.call(this,o),this.id=o.id||w()};p.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(o,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":o=0;break}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=o,r[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(o,e){},attrKV:function(o,e){if(o==="position"||o==="scale"||o==="origin"){if(e){var r=this[o];r||(r=this[o]=[]),r[0]=e[0],r[1]=e[1]}}else this[o]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(o,e){if(typeof o=="string")this.attrKV(o,e);else if(v.isObject(o))for(var r in o)o.hasOwnProperty(r)&&this.attrKV(r,o[r]);return this.dirty(!1),this},setClipPath:function(o){var e=this.__zr;e&&o.addSelfToZr(e),this.clipPath&&this.clipPath!==o&&this.removeClipPath(),this.clipPath=o,o.__zr=e,o.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var o=this.clipPath;o&&(o.__zr&&o.removeSelfFromZr(o.__zr),o.__zr=null,o.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(o){this.__zr=o;var e=this.animators;if(e)for(var r=0;r<e.length;r++)o.animation.addAnimator(e[r]);this.clipPath&&this.clipPath.addSelfToZr(o)},removeSelfFromZr:function(o){this.__zr=null;var e=this.animators;if(e)for(var r=0;r<e.length;r++)o.animation.removeAnimator(e[r]);this.clipPath&&this.clipPath.removeSelfFromZr(o)}},v.mixin(p,m),v.mixin(p,b),v.mixin(p,A);var s=p;M.exports=s},"1dTM":function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var w=d("GQ8N"),A=_(d("Lo0S")),b=d("VSMT"),m=d("GdRQ"),v=d("SZEN"),p=d("vewr"),s=T(d("YJ9k")),u=T(d("MZdM")),o=T(d("ItS6")),e=T(d("whVF")),r=T(d("Fv0C")),i=T(d("LCi9")),n=T(d("rwxt")),l=T(d("Mmt2")),t=T(d("iUHT")),a=T(d("mHUz")),c=T(d("P2ho")),h=d("NBmB");d("mdZa");var f=T(d("34/K")),g=T(d("hXwI")),S=T(d("SgaC")),y=T(d("3690")),E=T(d("8K/p")),C=T(d("xO64"));function T(be){return be&&be.__esModule?be:{default:be}}function x(){if(typeof WeakMap!="function")return null;var be=new WeakMap;return x=function(){return be},be}function _(be){if(be&&be.__esModule)return be;if(be===null||I(be)!=="object"&&typeof be!="function")return{default:be};var ne=x();if(ne&&ne.has(be))return ne.get(be);var Ae={},Ne=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var oe in be)if(Object.prototype.hasOwnProperty.call(be,oe)){var de=Ne?Object.getOwnPropertyDescriptor(be,oe):null;de&&(de.get||de.set)?Object.defineProperty(Ae,oe,de):Ae[oe]=be[oe]}return Ae.default=be,ne&&ne.set(be,Ae),Ae}function I(be){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I=function(Ae){return typeof Ae}:I=function(Ae){return Ae&&typeof Symbol=="function"&&Ae.constructor===Symbol&&Ae!==Symbol.prototype?"symbol":typeof Ae},I(be)}function L(be,ne){if(!(be instanceof ne))throw new TypeError("Cannot call a class as a function")}function D(be,ne){for(var Ae=0;Ae<ne.length;Ae++){var Ne=ne[Ae];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(be,Ne.key,Ne)}}function B(be,ne,Ae){return ne&&D(be.prototype,ne),Ae&&D(be,Ae),be}function N(be,ne){if(typeof ne!="function"&&ne!==null)throw new TypeError("Super expression must either be null or a function");be.prototype=Object.create(ne&&ne.prototype,{constructor:{value:be,writable:!0,configurable:!0}}),ne&&k(be,ne)}function k(be,ne){return k=Object.setPrototypeOf||function(Ne,oe){return Ne.__proto__=oe,Ne},k(be,ne)}function W(be){var ne=H();return function(){var Ne=K(be),oe;if(ne){var de=K(this).constructor;oe=Reflect.construct(Ne,arguments,de)}else oe=Ne.apply(this,arguments);return R(this,oe)}}function R(be,ne){return ne&&(I(ne)==="object"||typeof ne=="function")?ne:j(be)}function j(be){if(be===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be}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(be){return!1}}function K(be){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(Ae){return Ae.__proto__||Object.getPrototypeOf(Ae)},K(be)}var U=3,Q="rgb(40, 40, 40)",V=17,J=50,ae=19,se=75,$=50,ge=1e3,he=50,Ie=1,Se=1<<1,Le=1<<2,He=1<<3,G=1<<4,pe=1<<24,We=1<<25,te=1<<26,X=1<<27,z=1<<28,Z=function(be){N(Ae,be);var ne=W(Ae);function Ae(Ne,oe,de){var xe;if(L(this,Ae),!Ne)throw new Error("Must specify target");if(!oe)throw new Error("Must specify URL");xe=ne.call(this),xe._target=Ne,xe._url=oe,de=de||{},xe._rfbCredentials=de.credentials||{},xe._shared="shared"in de?!!de.shared:!0,xe._repeaterID=de.repeaterID||"",xe._wsProtocols=de.wsProtocols||[],xe._rfbConnectionState="",xe._rfbInitState="",xe._rfbAuthScheme=-1,xe._rfbCleanDisconnect=!0,xe._rfbVersion=0,xe._rfbMaxVersion=3.8,xe._rfbTightVNC=!1,xe._rfbVeNCryptState=0,xe._rfbXvpVer=0,xe._fbWidth=0,xe._fbHeight=0,xe._fbName="",xe._capabilities={power:!1},xe._supportsFence=!1,xe._supportsContinuousUpdates=!1,xe._enabledContinuousUpdates=!1,xe._supportsSetDesktopSize=!1,xe._screenID=0,xe._screenFlags=0,xe._qemuExtKeyEventSupported=!1,xe._clipboardText=null,xe._clipboardServerCapabilitiesActions={},xe._clipboardServerCapabilitiesFormats={},xe._sock=null,xe._display=null,xe._flushing=!1,xe._keyboard=null,xe._gestures=null,xe._disconnTimer=null,xe._resizeTimeout=null,xe._mouseMoveTimer=null,xe._decoders={},xe._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},xe._mousePos={},xe._mouseButtonMask=0,xe._mouseLastMoveTime=0,xe._viewportDragging=!1,xe._viewportDragPos={},xe._viewportHasMoved=!1,xe._accumulatedWheelDeltaX=0,xe._accumulatedWheelDeltaY=0,xe._gestureLastTapTime=null,xe._gestureFirstDoubleTapEv=null,xe._gestureLastMagnitudeX=0,xe._gestureLastMagnitudeY=0,xe._eventHandlers={focusCanvas:xe._focusCanvas.bind(j(xe)),windowResize:xe._windowResize.bind(j(xe)),handleMouse:xe._handleMouse.bind(j(xe)),handleWheel:xe._handleWheel.bind(j(xe)),handleGesture:xe._handleGesture.bind(j(xe))},A.Debug(">> RFB.constructor"),xe._screen=document.createElement("div"),xe._screen.style.display="flex",xe._screen.style.width="100%",xe._screen.style.height="100%",xe._screen.style.overflow="auto",xe._screen.style.background=Q,xe._canvas=document.createElement("canvas"),xe._canvas.style.margin="auto",xe._canvas.style.outline="none",xe._canvas.style.flexShrink="0",xe._canvas.width=0,xe._canvas.height=0,xe._canvas.tabIndex=-1,xe._screen.appendChild(xe._canvas),xe._cursor=new n.default,xe._cursorImage=Ae.cursors.none,xe._decoders[h.encodings.encodingRaw]=new f.default,xe._decoders[h.encodings.encodingCopyRect]=new g.default,xe._decoders[h.encodings.encodingRRE]=new S.default,xe._decoders[h.encodings.encodingHextile]=new y.default,xe._decoders[h.encodings.encodingTight]=new E.default,xe._decoders[h.encodings.encodingTightPNG]=new C.default;try{xe._display=new u.default(xe._canvas)}catch(Pe){throw A.Error("Display exception: "+Pe),Pe}return xe._display.onflush=xe._onFlush.bind(j(xe)),xe._keyboard=new r.default(xe._canvas),xe._keyboard.onkeyevent=xe._handleKeyEvent.bind(j(xe)),xe._gestures=new i.default,xe._sock=new l.default,xe._sock.on("message",function(){xe._handleMessage()}),xe._sock.on("open",function(){xe._rfbConnectionState==="connecting"&&xe._rfbInitState===""?(xe._rfbInitState="ProtocolVersion",A.Debug("Starting VNC handshake")):xe._fail("Unexpected server connection while "+xe._rfbConnectionState)}),xe._sock.on("close",function(Pe){A.Debug("WebSocket on-close event");var tt="";Pe.code&&(tt="(code: "+Pe.code,Pe.reason&&(tt+=", reason: "+Pe.reason),tt+=")");switch(xe._rfbConnectionState){case"connecting":xe._fail("Connection closed "+tt);break;case"connected":xe._updateConnectionState("disconnecting"),xe._updateConnectionState("disconnected");break;case"disconnecting":xe._updateConnectionState("disconnected");break;case"disconnected":xe._fail("Unexpected server disconnect when already disconnected "+tt);break;default:xe._fail("Unexpected server disconnect before connecting "+tt);break}xe._sock.off("close")}),xe._sock.on("error",function(Pe){return A.Warn("WebSocket on-error event")}),setTimeout(xe._updateConnectionState.bind(j(xe),"connecting")),A.Debug("<< RFB.constructor"),xe.dragViewport=!1,xe.focusOnClick=!0,xe._viewOnly=!1,xe._clipViewport=!1,xe._scaleViewport=!1,xe._resizeSession=!1,xe._showDotCursor=!1,de.showDotCursor!==void 0&&(A.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),xe._showDotCursor=de.showDotCursor),xe._qualityLevel=6,xe._compressionLevel=2,xe}return B(Ae,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(oe){this._rfbCredentials=oe,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;A.Info("Sending Ctrl-Alt-Del"),this.sendKey(a.default.XK_Control_L,"ControlLeft",!0),this.sendKey(a.default.XK_Alt_L,"AltLeft",!0),this.sendKey(a.default.XK_Delete,"Delete",!0),this.sendKey(a.default.XK_Delete,"Delete",!1),this.sendKey(a.default.XK_Alt_L,"AltLeft",!1),this.sendKey(a.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(oe,de,xe){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(xe===void 0){this.sendKey(oe,de,!0),this.sendKey(oe,de,!1);return}var Pe=c.default[de];if(this._qemuExtKeyEventSupported&&Pe)oe=oe||0,A.Info("Sending key ("+(xe?"down":"up")+"): keysym "+oe+", scancode "+Pe),Ae.messages.QEMUExtendedKeyEvent(this._sock,oe,xe,Pe);else{if(!oe)return;A.Info("Sending keysym ("+(xe?"down":"up")+"): "+oe),Ae.messages.keyEvent(this._sock,oe,xe?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(oe){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[Ie]&&this._clipboardServerCapabilitiesActions[X])this._clipboardText=oe,Ae.messages.extendedClipboardNotify(this._sock,[Ie]);else{for(var de=new Uint8Array(oe.length),xe=0;xe<oe.length;xe++)de[xe]=oe.charCodeAt(xe);Ae.messages.clientCutText(this._sock,de)}}},{key:"_connect",value:function(){A.Debug(">> RFB.connect"),A.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(oe){oe.name==="SyntaxError"?this._fail("Invalid host or port ("+oe+")"):this._fail("Error when opening socket ("+oe+")")}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),A.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){A.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(oe){if(!(oe.name==="NotFoundError"))throw oe}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),A.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(oe){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(oe){this._fbName=oe,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(oe){var de=this;window.requestAnimationFrame(function(){de._updateClip(),de._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var oe=this._display.clipViewport,de=this._clipViewport;if(this._scaleViewport&&(de=!1),oe!==de&&(this._display.clipViewport=de),de){var xe=this._screenSize();this._display.viewportChangeSize(xe.w,xe.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var oe=this._screenSize();this._display.autoscale(oe.w,oe.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var oe=this._screenSize();Ae.messages.setDesktopSize(this._sock,Math.floor(oe.w),Math.floor(oe.h),this._screenID,this._screenFlags),A.Debug("Requested new desktop size: "+oe.w+"x"+oe.h)}},{key:"_screenSize",value:function(){var oe=this._screen.getBoundingClientRect();return{w:oe.width,h:oe.height}}},{key:"_fixScrollbars",value:function(){var oe=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=oe}},{key:"_updateConnectionState",value:function(oe){var de=this,xe=this._rfbConnectionState;if(oe===xe){A.Debug("Already in state '"+oe+"', ignoring");return}if(xe==="disconnected"){A.Error("Tried changing state of a disconnected RFB object");return}switch(oe){case"connected":if(xe!=="connecting"){A.Error("Bad transition to connected state, previous connection state: "+xe);return}break;case"disconnected":if(xe!=="disconnecting"){A.Error("Bad transition to disconnected state, previous connection state: "+xe);return}break;case"connecting":if(xe!==""){A.Error("Bad transition to connecting state, previous connection state: "+xe);return}break;case"disconnecting":if(xe!=="connected"&&xe!=="connecting"){A.Error("Bad transition to disconnecting state, previous connection state: "+xe);return}break;default:A.Error("Unknown connection state: "+oe);return}this._rfbConnectionState=oe,A.Debug("New state '"+oe+"', was '"+xe+"'."),this._disconnTimer&&oe!=="disconnecting"&&(A.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(oe){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){A.Error("Disconnection timed out."),de._updateConnectionState("disconnected")},U*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(oe){switch(this._rfbConnectionState){case"disconnecting":A.Error("Failed when disconnecting: "+oe);break;case"connected":A.Error("Failed while connected: "+oe);break;case"connecting":A.Error("Failed when connecting: "+oe);break;default:A.Error("RFB failure: "+oe);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(oe,de){this._capabilities[oe]=de,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){A.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":A.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(oe,de,xe){this.sendKey(oe,de,xe)}},{key:"_handleMouse",value:function(oe){if(oe.type==="click"&&oe.target!==this._canvas)return;if(oe.stopPropagation(),oe.preventDefault(),oe.type==="click"||oe.type==="contextmenu")return;var de=(0,v.clientToElement)(oe.clientX,oe.clientY,this._canvas);switch(oe.type){case"mousedown":(0,p.setCapture)(this._canvas),this._handleMouseButton(de.x,de.y,!0,1<<oe.button);break;case"mouseup":this._handleMouseButton(de.x,de.y,!1,1<<oe.button);break;case"mousemove":this._handleMouseMove(de.x,de.y);break}}},{key:"_handleMouseButton",value:function(oe,de,xe,Pe){if(this.dragViewport)if(xe&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:oe,y:de},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(oe,de,Pe)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(oe,de,this._mouseButtonMask)),xe?this._mouseButtonMask|=Pe:this._mouseButtonMask&=~Pe,this._sendMouse(oe,de,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(oe,de){var xe=this;if(this._viewportDragging){var Pe=this._viewportDragPos.x-oe,tt=this._viewportDragPos.y-de;(this._viewportHasMoved||Math.abs(Pe)>m.dragThreshold||Math.abs(tt)>m.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:oe,y:de},this._display.viewportChangePos(Pe,tt));return}if(this._mousePos={x:oe,y:de},this._mouseMoveTimer==null){var Je=Date.now()-this._mouseLastMoveTime;Je>V?(this._sendMouse(oe,de,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){xe._handleDelayedMouseMove()},V-Je)}}},{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(oe,de,xe){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Ae.messages.pointerEvent(this._sock,this._display.absX(oe),this._display.absY(de),xe)}},{key:"_handleWheel",value:function(oe){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;oe.stopPropagation(),oe.preventDefault();var de=(0,v.clientToElement)(oe.clientX,oe.clientY,this._canvas),xe=oe.deltaX,Pe=oe.deltaY;oe.deltaMode!==0&&(xe*=ae,Pe*=ae),this._accumulatedWheelDeltaX+=xe,this._accumulatedWheelDeltaY+=Pe,Math.abs(this._accumulatedWheelDeltaX)>=J&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(de.x,de.y,!0,1<<5),this._handleMouseButton(de.x,de.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(de.x,de.y,!0,1<<6),this._handleMouseButton(de.x,de.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=J&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(de.x,de.y,!0,1<<3),this._handleMouseButton(de.x,de.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(de.x,de.y,!0,1<<4),this._handleMouseButton(de.x,de.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(oe,de,xe){this._handleMouseMove(de,xe),this._cursor.move(oe.detail.clientX,oe.detail.clientY)}},{key:"_handleTapEvent",value:function(oe,de){var xe=(0,v.clientToElement)(oe.detail.clientX,oe.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<ge&&this._gestureFirstDoubleTapEv.detail.type===oe.detail.type){var Pe=this._gestureFirstDoubleTapEv.detail.clientX-oe.detail.clientX,tt=this._gestureFirstDoubleTapEv.detail.clientY-oe.detail.clientY,Je=Math.hypot(Pe,tt);Je<he?xe=(0,v.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=oe}else this._gestureFirstDoubleTapEv=oe;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!0,de),this._handleMouseButton(xe.x,xe.y,!1,de)}},{key:"_handleGesture",value:function(oe){var de,xe=(0,v.clientToElement)(oe.detail.clientX,oe.detail.clientY,this._canvas);switch(oe.type){case"gesturestart":switch(oe.detail.type){case"onetap":this._handleTapEvent(oe,1);break;case"twotap":this._handleTapEvent(oe,4);break;case"threetap":this._handleTapEvent(oe,2);break;case"drag":this._fakeMouseMove(oe,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!0,1);break;case"longpress":this._fakeMouseMove(oe,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=oe.detail.magnitudeX,this._gestureLastMagnitudeY=oe.detail.magnitudeY,this._fakeMouseMove(oe,xe.x,xe.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(oe.detail.magnitudeX,oe.detail.magnitudeY),this._fakeMouseMove(oe,xe.x,xe.y);break}break;case"gesturemove":switch(oe.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(oe,xe.x,xe.y);break;case"twodrag":for(this._fakeMouseMove(oe,xe.x,xe.y);oe.detail.magnitudeY-this._gestureLastMagnitudeY>$;)this._handleMouseButton(xe.x,xe.y,!0,8),this._handleMouseButton(xe.x,xe.y,!1,8),this._gestureLastMagnitudeY+=$;for(;oe.detail.magnitudeY-this._gestureLastMagnitudeY<-$;)this._handleMouseButton(xe.x,xe.y,!0,16),this._handleMouseButton(xe.x,xe.y,!1,16),this._gestureLastMagnitudeY-=$;for(;oe.detail.magnitudeX-this._gestureLastMagnitudeX>$;)this._handleMouseButton(xe.x,xe.y,!0,32),this._handleMouseButton(xe.x,xe.y,!1,32),this._gestureLastMagnitudeX+=$;for(;oe.detail.magnitudeX-this._gestureLastMagnitudeX<-$;)this._handleMouseButton(xe.x,xe.y,!0,64),this._handleMouseButton(xe.x,xe.y,!1,64),this._gestureLastMagnitudeX-=$;break;case"pinch":if(this._fakeMouseMove(oe,xe.x,xe.y),de=Math.hypot(oe.detail.magnitudeX,oe.detail.magnitudeY),Math.abs(de-this._gestureLastMagnitudeX)>se){for(this._handleKeyEvent(a.default.XK_Control_L,"ControlLeft",!0);de-this._gestureLastMagnitudeX>se;)this._handleMouseButton(xe.x,xe.y,!0,8),this._handleMouseButton(xe.x,xe.y,!1,8),this._gestureLastMagnitudeX+=se;for(;de-this._gestureLastMagnitudeX<-se;)this._handleMouseButton(xe.x,xe.y,!0,16),this._handleMouseButton(xe.x,xe.y,!1,16),this._gestureLastMagnitudeX-=se}this._handleKeyEvent(a.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(oe.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(oe,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!1,1);break;case"longpress":this._fakeMouseMove(oe,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var oe=this._sock.rQshiftStr(12).substr(4,7);A.Info("Server ProtocolVersion: "+oe);var de=0;switch(oe){case"000.000":de=1;break;case"003.003":case"003.006":case"003.889":this._rfbVersion=3.3;break;case"003.007":this._rfbVersion=3.7;break;case"003.008":case"004.000":case"004.001":case"005.000":this._rfbVersion=3.8;break;default:return this._fail("Invalid server version "+oe)}if(de){for(var xe="ID:"+this._repeaterID;xe.length<250;)xe+="\0";return this._sock.sendString(xe),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var Pe="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+Pe+`
|
|
|
`),A.Debug("Sent ProtocolVersion: "+Pe),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function oe(Pe,tt){for(var Je=0;Je<tt.length;Je++)if(tt[Je]===Pe)return!0;return!1}if(this._rfbVersion>=3.7){var de=this._sock.rQshift8();if(this._sock.rQwait("security type",de,1))return!1;if(de===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var xe=this._sock.rQshiftBytes(de);if(A.Debug("Server security types: "+xe),oe(1,xe))this._rfbAuthScheme=1;else if(oe(22,xe))this._rfbAuthScheme=22;else if(oe(16,xe))this._rfbAuthScheme=16;else if(oe(2,xe))this._rfbAuthScheme=2;else if(oe(19,xe))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+xe+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",A.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var oe=this._sock.rQshift32(),de="";if(oe>0){if(this._sock.rQwait("reason",oe,4))return!1;de=this._sock.rQshiftStr(oe)}return de!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:de}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+de+")")):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus}})),this._fail("Security negotiation failed on "+this._securityContext))}},{key:"_negotiateXvpAuth",value:function(){if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0||this._rfbCredentials.target===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password","target"]}})),!1;var oe=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(oe),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var oe=this._sock.rQshift8(),de=this._sock.rQshift8();if(!(oe==0&&de==2))return this._fail("Unsupported VeNCrypt version "+oe+"."+de);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var xe=this._sock.rQshift8();if(xe!=0)return this._fail("VeNCrypt failure "+xe);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var Pe=this._sock.rQshift8();if(Pe<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=Pe,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var tt=[],Je=0;Je<this._rfbVeNCryptSubtypesLength;Je++)tt.push(this._sock.rQshift32());if(tt.indexOf(256)!=-1)this._sock.send([0,0,1,0]),this._rfbVeNCryptState=4;else return this._fail("VeNCrypt Plain subtype not offered by server")}if(this._rfbVeNCryptState==4){if(!this._rfbCredentials.username||!this._rfbCredentials.password)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1;var Oe=(0,b.encodeUTF8)(this._rfbCredentials.username),pt=(0,b.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Oe.length]),this._sock.send([0,0,0,pt.length]),this._sock.sendString(Oe),this._sock.sendString(pt),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 oe=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),de=Ae.genDES(this._rfbCredentials.password,oe);return this._sock.send(de),this._rfbInitState="SecurityResult",!0}},{key:"_negotiateTightUnixAuth",value:function(){return this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0?(this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1):(this._sock.send([0,0,0,this._rfbCredentials.username.length]),this._sock.send([0,0,0,this._rfbCredentials.password.length]),this._sock.sendString(this._rfbCredentials.username),this._sock.sendString(this._rfbCredentials.password),this._rfbInitState="SecurityResult",!0)}},{key:"_negotiateTightTunnels",value:function(oe){for(var de={0:{vendor:"TGHT",signature:"NOTUNNEL"}},xe={},Pe=0;Pe<oe;Pe++){var tt=this._sock.rQshift32(),Je=this._sock.rQshiftStr(4),Oe=this._sock.rQshiftStr(8);xe[tt]={vendor:Je,signature:Oe}}return A.Debug("Server Tight tunnel types: "+xe),xe[1]&&xe[1].vendor==="SICR"&&xe[1].signature==="SCHANNEL"&&(A.Debug("Detected Siemens server. Assuming NOTUNNEL support."),xe[0]={vendor:"TGHT",signature:"NOTUNNEL"}),xe[0]?xe[0].vendor!=de[0].vendor||xe[0].signature!=de[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(A.Debug("Selected tunnel type: "+de[0]),this._sock.send([0,0,0,0]),!1):this._fail("Server wanted tunnels, but doesn't support the notunnel type")}},{key:"_negotiateTightAuth",value:function(){if(!this._rfbTightVNC){if(this._sock.rQwait("num tunnels",4))return!1;var oe=this._sock.rQshift32();if(oe>0&&this._sock.rQwait("tunnel capabilities",16*oe,4))return!1;if(this._rfbTightVNC=!0,oe>0)return this._negotiateTightTunnels(oe),!1}if(this._sock.rQwait("sub auth count",4))return!1;var de=this._sock.rQshift32();if(de===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*de,4))return!1;for(var xe={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},Pe=[],tt=0;tt<de;tt++){this._sock.rQshift32();var Je=this._sock.rQshiftStr(12);Pe.push(Je)}A.Debug("Server Tight authentication types: "+Pe);for(var Oe in xe)if(Pe.indexOf(Oe)!=-1){this._sock.send([0,0,0,xe[Oe]]),A.Debug("Selected authentication type: "+Oe);switch(Oe){case"STDVNOAUTH__":return this._rfbInitState="SecurityResult",!0;case"STDVVNCAUTH_":return this._rfbAuthScheme=2,this._initMsg();case"TGHTULGNAUTH":return this._rfbAuthScheme=129,this._initMsg();default:return this._fail("Unsupported tiny auth scheme (scheme: "+Oe+")")}}return this._fail("No supported sub-auth types!")}},{key:"_negotiateAuthentication",value:function(){switch(this._rfbAuthScheme){case 1:return this._rfbVersion>=3.8?(this._rfbInitState="SecurityResult",!0):(this._rfbInitState="ClientInitialisation",this._initMsg());case 22:return this._negotiateXvpAuth();case 2:return this._negotiateStdVNCAuth();case 16:return this._negotiateTightAuth();case 19:return this._negotiateVeNCryptAuth();case 129:return this._negotiateTightUnixAuth();default:return this._fail("Unsupported auth scheme (scheme: "+this._rfbAuthScheme+")")}}},{key:"_handleSecurityResult",value:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;var oe=this._sock.rQshift32();return oe===0?(this._rfbInitState="ClientInitialisation",A.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=oe,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:oe}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var oe=this._sock.rQshift16(),de=this._sock.rQshift16(),xe=this._sock.rQshift8(),Pe=this._sock.rQshift8(),tt=this._sock.rQshift8(),Je=this._sock.rQshift8(),Oe=this._sock.rQshift16(),pt=this._sock.rQshift16(),Qe=this._sock.rQshift16(),nt=this._sock.rQshift8(),bt=this._sock.rQshift8(),Tt=this._sock.rQshift8();this._sock.rQskipBytes(3);var Ct=this._sock.rQshift32();if(this._sock.rQwait("server init name",Ct,24))return!1;var Nt=this._sock.rQshiftStr(Ct);if(Nt=(0,b.decodeUTF8)(Nt,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+Ct))return!1;var Ge=this._sock.rQshift16(),ie=this._sock.rQshift16(),Y=this._sock.rQshift16();this._sock.rQskipBytes(2);var we=(Ge+ie+Y)*16;if(this._sock.rQwait("TightVNC extended server init header",we,32+Ct))return!1;this._sock.rQskipBytes(16*Ge),this._sock.rQskipBytes(16*ie),this._sock.rQskipBytes(16*Y)}return A.Info("Screen: "+oe+"x"+de+", bpp: "+xe+", depth: "+Pe+", bigEndian: "+tt+", trueColor: "+Je+", redMax: "+Oe+", greenMax: "+pt+", blueMax: "+Qe+", redShift: "+nt+", greenShift: "+bt+", blueShift: "+Tt),this._setDesktopName(Nt),this._resize(oe,de),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(A.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),Ae.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Ae.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var oe=[];oe.push(h.encodings.encodingCopyRect),this._fbDepth==24&&(oe.push(h.encodings.encodingTight),oe.push(h.encodings.encodingTightPNG),oe.push(h.encodings.encodingHextile),oe.push(h.encodings.encodingRRE)),oe.push(h.encodings.encodingRaw),oe.push(h.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),oe.push(h.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),oe.push(h.encodings.pseudoEncodingDesktopSize),oe.push(h.encodings.pseudoEncodingLastRect),oe.push(h.encodings.pseudoEncodingQEMUExtendedKeyEvent),oe.push(h.encodings.pseudoEncodingExtendedDesktopSize),oe.push(h.encodings.pseudoEncodingXvp),oe.push(h.encodings.pseudoEncodingFence),oe.push(h.encodings.pseudoEncodingContinuousUpdates),oe.push(h.encodings.pseudoEncodingDesktopName),oe.push(h.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(oe.push(h.encodings.pseudoEncodingVMwareCursor),oe.push(h.encodings.pseudoEncodingCursor)),Ae.messages.clientEncodings(this._sock,oe)}},{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 A.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(A.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var oe=this._sock.rQshift32();if(oe=(0,w.toSigned32bit)(oe),this._sock.rQwait("ServerCutText content",Math.abs(oe),8))return!1;if(oe>=0){var de=this._sock.rQshiftStr(oe);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:de}}))}else{oe=Math.abs(oe);var xe=this._sock.rQshift32(),Pe=xe&65535,tt=xe&4278190080,Je=!!(tt&pe);if(Je){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Oe=0;Oe<=15;Oe++){var pt=1<<Oe;Pe&pt&&(this._clipboardServerCapabilitiesFormats[pt]=!0,this._sock.rQshift32())}for(var Qe=24;Qe<=31;Qe++){var nt=1<<Qe;this._clipboardServerCapabilitiesActions[nt]=!!(tt&nt)}var bt=[pe,We,te,X,z];Ae.messages.extendedClipboardCaps(this._sock,bt,{extendedClipboardFormatText:0})}else if(tt===We){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[z]&&(Pe&Ie&&Ae.messages.extendedClipboardProvide(this._sock,[Ie],[this._clipboardText]))}else if(tt===te){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[X]&&(this._clipboardText!=null?Ae.messages.extendedClipboardNotify(this._sock,[Ie]):Ae.messages.extendedClipboardNotify(this._sock,[]))}else if(tt===X){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[We]&&(Pe&Ie&&Ae.messages.extendedClipboardRequest(this._sock,[Ie]))}else if(tt===z){if(this._viewOnly)return!0;if(!(Pe&Ie))return!0;this._clipboardText=null;var Tt=this._sock.rQshiftBytes(oe-4),Ct=new o.default,Nt=null;Ct.setInput(Tt);for(var Ge=0;Ge<=15;Ge++){var ie=1<<Ge;if(Pe&ie){var Y=0,we=Ct.inflate(4);Y|=we[0]<<24,Y|=we[1]<<16,Y|=we[2]<<8,Y|=we[3];var Ce=Ct.inflate(Y);ie===Ie&&(Nt=Ce)}}if(Ct.setInput(null),Nt!==null){for(var le="",ot=0;ot<Nt.length;ot++)le+=String.fromCharCode(Nt[ot]);Nt=le,Nt=(0,b.decodeUTF8)(Nt),Nt.length>0&&Nt.charAt(Nt.length-1)==="\0"&&(Nt=Nt.slice(0,-1)),Nt=Nt.replace(`\r
|
|
|
`,`
|
|
|
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Nt}}))}}else return this._fail("Unexpected action in extended clipboard message: "+tt)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var oe=this._sock.rQshift32(),de=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",de,9))return!1;de>64&&(A.Warn("Bad payload length ("+de+") in fence response"),de=64);var xe=this._sock.rQshiftStr(de);return this._supportsFence=!0,oe&1<<31?(oe&=1<<0|1<<1,Ae.messages.clientFence(this._sock,oe,xe),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var oe=this._sock.rQshift8(),de=this._sock.rQshift8();switch(de){case 0:A.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=oe,A.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+de+")");break}return!0}},{key:"_normalMsg",value:function(){var oe;this._FBU.rects>0?oe=0:oe=this._sock.rQshift8();var de,xe;switch(oe){case 0:return xe=this._framebufferUpdate(),xe&&!this._enabledContinuousUpdates&&Ae.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),xe;case 1:return this._handleSetColourMapMsg();case 2:return A.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return de=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,de&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),A.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+oe+")"),A.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 oe=this._sock.rQshiftBytes(12);this._FBU.x=(oe[0]<<8)+oe[1],this._FBU.y=(oe[2]<<8)+oe[3],this._FBU.width=(oe[4]<<8)+oe[5],this._FBU.height=(oe[6]<<8)+oe[7],this._FBU.encoding=parseInt((oe[8]<<24)+(oe[9]<<16)+(oe[10]<<8)+oe[11],10)}if(!this._handleRect())return!1;this._FBU.rects--,this._FBU.encoding=null}return this._display.flip(),!0}},{key:"_handleRect",value:function(){switch(this._FBU.encoding){case h.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case h.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case h.encodings.pseudoEncodingCursor:return this._handleCursor();case h.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var oe=document.createEvent("keyboardEvent");oe.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(de){}return!0;case h.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case h.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case h.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var oe=this._FBU.x,de=this._FBU.y,xe=this._FBU.width,Pe=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var tt=this._sock.rQshift8();this._sock.rQshift8();var Je,Oe=4;if(tt==0){var pt=4294967040|0;if(Je=new Array(xe*Pe*Oe),this._sock.rQwait("VMware cursor classic encoding",xe*Pe*Oe*2,2))return!1;for(var Qe=new Array(xe*Pe),nt=0;nt<xe*Pe;nt++)Qe[nt]=this._sock.rQshift32();for(var bt=new Array(xe*Pe),Tt=0;Tt<xe*Pe;Tt++)bt[Tt]=this._sock.rQshift32();for(var Ct=0;Ct<xe*Pe;Ct++)if(Qe[Ct]==0){var Nt=bt[Ct],Ge=Nt>>8&255,ie=Nt>>16&255,Y=Nt>>24&255;Je[Ct*Oe]=Ge,Je[Ct*Oe+1]=ie,Je[Ct*Oe+2]=Y,Je[Ct*Oe+3]=255}else(Qe[Ct]&pt)==pt?bt[Ct]==0?(Je[Ct*Oe]=0,Je[Ct*Oe+1]=0,Je[Ct*Oe+2]=0,Je[Ct*Oe+3]=0):((bt[Ct]&pt)==pt,Je[Ct*Oe]=0,Je[Ct*Oe+1]=0,Je[Ct*Oe+2]=0,Je[Ct*Oe+3]=255):(Je[Ct*Oe]=0,Je[Ct*Oe+1]=0,Je[Ct*Oe+2]=0,Je[Ct*Oe+3]=255)}else if(tt==1){if(this._sock.rQwait("VMware cursor alpha encoding",xe*Pe*4,2))return!1;Je=new Array(xe*Pe*Oe);for(var we=0;we<xe*Pe;we++){var Ce=this._sock.rQshift32();Je[we*4]=Ce>>24&255,Je[we*4+1]=Ce>>16&255,Je[we*4+2]=Ce>>8&255,Je[we*4+3]=Ce&255}}else return A.Warn("The given cursor type is not supported: "+tt+" given."),!1;return this._updateCursor(Je,oe,de,xe,Pe),!0}},{key:"_handleCursor",value:function(){var oe=this._FBU.x,de=this._FBU.y,xe=this._FBU.width,Pe=this._FBU.height,tt=xe*Pe*4,Je=Math.ceil(xe/8)*Pe,Oe=tt+Je;if(this._sock.rQwait("cursor encoding",Oe))return!1;for(var pt=this._sock.rQshiftBytes(tt),Qe=this._sock.rQshiftBytes(Je),nt=new Uint8Array(xe*Pe*4),bt=0,Tt=0;Tt<Pe;Tt++)for(var Ct=0;Ct<xe;Ct++){var Nt=Tt*Math.ceil(xe/8)+Math.floor(Ct/8),Ge=Qe[Nt]<<Ct%8&128?255:0;nt[bt]=pt[bt+2],nt[bt+1]=pt[bt+1],nt[bt+2]=pt[bt],nt[bt+3]=Ge,bt+=4}return this._updateCursor(nt,oe,de,xe,Pe),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var oe=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",oe,4))return!1;var de=this._sock.rQshiftStr(oe);return de=(0,b.decodeUTF8)(de,!0),this._setDesktopName(de),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var oe=this._sock.rQpeek8(),de=4+oe*16;if(this._sock.rQwait("ExtendedDesktopSize",de))return!1;var xe=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,xe&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var Pe=0;Pe<oe;Pe+=1)Pe===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 tt="";switch(this._FBU.y){case 1:tt="Resize is administratively prohibited";break;case 2:tt="Out of resources";break;case 3:tt="Invalid screen layout";break;default:tt="Unknown reason";break}A.Warn("Server did not accept the resize request: "+tt)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var oe=this._decoders[this._FBU.encoding];if(!oe)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return oe.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(de){return this._fail("Error decoding rect: "+de),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;Ae.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(oe,de){this._fbWidth=oe,this._fbHeight=de,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(oe,de){if(this._rfbXvpVer<oe)return;A.Info("Sending XVP operation "+de+" (version "+oe+")"),Ae.messages.xvpOp(this._sock,oe,de)}},{key:"_updateCursor",value:function(oe,de,xe,Pe,tt){this._cursorImage={rgbaPixels:oe,hotx:de,hoty:xe,w:Pe,h:tt},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var oe=3;oe<this._cursorImage.rgbaPixels.length;oe+=4)if(this._cursorImage.rgbaPixels[oe])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var oe=this._shouldShowDotCursor()?Ae.cursors.dot:this._cursorImage;this._cursor.change(oe.rgbaPixels,oe.hotx,oe.hoty,oe.w,oe.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(oe){this._viewOnly=oe,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(oe?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(oe){A.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(oe){this._clipViewport=oe,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(oe){this._scaleViewport=oe,oe&&this._clipViewport&&this._updateClip(),this._updateScale(),!oe&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(oe){this._resizeSession=oe,oe&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(oe){this._showDotCursor=oe,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(oe){this._screen.style.background=oe}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(oe){if(!Number.isInteger(oe)||oe<0||oe>9){A.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===oe)return;this._qualityLevel=oe,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(oe){if(!Number.isInteger(oe)||oe<0||oe>9){A.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===oe)return;this._compressionLevel=oe,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(oe,de){var xe=oe.split("").map(function(Pe){return Pe.charCodeAt(0)});return new t.default(xe).encrypt(de)}}]),Ae}(s.default);P.default=Z,Z.messages={keyEvent:function(ne,Ae,Ne){var oe=ne._sQ,de=ne._sQlen;oe[de]=4,oe[de+1]=Ne,oe[de+2]=0,oe[de+3]=0,oe[de+4]=Ae>>24,oe[de+5]=Ae>>16,oe[de+6]=Ae>>8,oe[de+7]=Ae,ne._sQlen+=8,ne.flush()},QEMUExtendedKeyEvent:function(ne,Ae,Ne,oe){function de(Je){var Oe=oe>>8,pt=oe&255;return Oe===224&&pt<127?pt|128:Je}var xe=ne._sQ,Pe=ne._sQlen;xe[Pe]=255,xe[Pe+1]=0,xe[Pe+2]=Ne>>8,xe[Pe+3]=Ne,xe[Pe+4]=Ae>>24,xe[Pe+5]=Ae>>16,xe[Pe+6]=Ae>>8,xe[Pe+7]=Ae;var tt=de(oe);xe[Pe+8]=tt>>24,xe[Pe+9]=tt>>16,xe[Pe+10]=tt>>8,xe[Pe+11]=tt,ne._sQlen+=12,ne.flush()},pointerEvent:function(ne,Ae,Ne,oe){var de=ne._sQ,xe=ne._sQlen;de[xe]=5,de[xe+1]=oe,de[xe+2]=Ae>>8,de[xe+3]=Ae,de[xe+4]=Ne>>8,de[xe+5]=Ne,ne._sQlen+=6,ne.flush()},_buildExtendedClipboardFlags:function(ne,Ae){for(var Ne=new Uint8Array(4),oe=0,de=0,xe=0;xe<ne.length;xe++)de|=ne[xe];for(var Pe=0;Pe<Ae.length;Pe++)oe|=Ae[Pe];return Ne[0]=de>>24,Ne[1]=0,Ne[2]=0,Ne[3]=oe,Ne},extendedClipboardProvide:function(ne,Ae,Ne){for(var oe=new e.default,de=[],xe=0;xe<Ae.length;xe++){if(Ae[xe]!=Ie)throw new Error("Unsupported extended clipboard format for Provide message.");Ne[xe]=Ne[xe].replace(/\r\n|\r|\n/gm,`\r
|
|
|
`);var Pe=(0,b.encodeUTF8)(Ne[xe]+"\0");de.push(Pe.length>>24&255,Pe.length>>16&255,Pe.length>>8&255,Pe.length&255);for(var tt=0;tt<Pe.length;tt++)de.push(Pe.charCodeAt(tt))}var Je=oe.deflate(new Uint8Array(de)),Oe=new Uint8Array(4+Je.length);Oe.set(Z.messages._buildExtendedClipboardFlags([z],Ae)),Oe.set(Je,4),Z.messages.clientCutText(ne,Oe,!0)},extendedClipboardNotify:function(ne,Ae){var Ne=Z.messages._buildExtendedClipboardFlags([X],Ae);Z.messages.clientCutText(ne,Ne,!0)},extendedClipboardRequest:function(ne,Ae){var Ne=Z.messages._buildExtendedClipboardFlags([We],Ae);Z.messages.clientCutText(ne,Ne,!0)},extendedClipboardCaps:function(ne,Ae,Ne){var oe=Object.keys(Ne),de=new Uint8Array(4+4*oe.length);oe.map(function(tt){return parseInt(tt)}),oe.sort(function(tt,Je){return tt-Je}),de.set(Z.messages._buildExtendedClipboardFlags(Ae,[]));for(var xe=4,Pe=0;Pe<oe.length;Pe++)de[xe]=Ne[oe[Pe]]>>24,de[xe+1]=Ne[oe[Pe]]>>16,de[xe+2]=Ne[oe[Pe]]>>8,de[xe+3]=Ne[oe[Pe]]>>0,xe+=4,de[3]|=1<<oe[Pe];Z.messages.clientCutText(ne,de,!0)},clientCutText:function(ne,Ae){var Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,oe=ne._sQ,de=ne._sQlen;oe[de]=6,oe[de+1]=0,oe[de+2]=0,oe[de+3]=0;var xe;Ne?xe=(0,w.toUnsigned32bit)(-Ae.length):xe=Ae.length,oe[de+4]=xe>>24,oe[de+5]=xe>>16,oe[de+6]=xe>>8,oe[de+7]=xe,ne._sQlen+=8;for(var Pe=0,tt=Ae.length;tt>0;){for(var Je=Math.min(tt,ne._sQbufferSize-ne._sQlen),Oe=0;Oe<Je;Oe++)oe[ne._sQlen+Oe]=Ae[Pe+Oe];ne._sQlen+=Je,ne.flush(),tt-=Je,Pe+=Je}},setDesktopSize:function(ne,Ae,Ne,oe,de){var xe=ne._sQ,Pe=ne._sQlen;xe[Pe]=251,xe[Pe+1]=0,xe[Pe+2]=Ae>>8,xe[Pe+3]=Ae,xe[Pe+4]=Ne>>8,xe[Pe+5]=Ne,xe[Pe+6]=1,xe[Pe+7]=0,xe[Pe+8]=oe>>24,xe[Pe+9]=oe>>16,xe[Pe+10]=oe>>8,xe[Pe+11]=oe,xe[Pe+12]=0,xe[Pe+13]=0,xe[Pe+14]=0,xe[Pe+15]=0,xe[Pe+16]=Ae>>8,xe[Pe+17]=Ae,xe[Pe+18]=Ne>>8,xe[Pe+19]=Ne,xe[Pe+20]=de>>24,xe[Pe+21]=de>>16,xe[Pe+22]=de>>8,xe[Pe+23]=de,ne._sQlen+=24,ne.flush()},clientFence:function(ne,Ae,Ne){var oe=ne._sQ,de=ne._sQlen;oe[de]=248,oe[de+1]=0,oe[de+2]=0,oe[de+3]=0,oe[de+4]=Ae>>24,oe[de+5]=Ae>>16,oe[de+6]=Ae>>8,oe[de+7]=Ae;var xe=Ne.length;oe[de+8]=xe;for(var Pe=0;Pe<xe;Pe++)oe[de+9+Pe]=Ne.charCodeAt(Pe);ne._sQlen+=9+xe,ne.flush()},enableContinuousUpdates:function(ne,Ae,Ne,oe,de,xe){var Pe=ne._sQ,tt=ne._sQlen;Pe[tt]=150,Pe[tt+1]=Ae,Pe[tt+2]=Ne>>8,Pe[tt+3]=Ne,Pe[tt+4]=oe>>8,Pe[tt+5]=oe,Pe[tt+6]=de>>8,Pe[tt+7]=de,Pe[tt+8]=xe>>8,Pe[tt+9]=xe,ne._sQlen+=10,ne.flush()},pixelFormat:function(ne,Ae,Ne){var oe=ne._sQ,de=ne._sQlen,xe;Ae>16?xe=32:Ae>8?xe=16:xe=8;var Pe=Math.floor(Ae/3);oe[de]=0,oe[de+1]=0,oe[de+2]=0,oe[de+3]=0,oe[de+4]=xe,oe[de+5]=Ae,oe[de+6]=0,oe[de+7]=Ne?1:0,oe[de+8]=0,oe[de+9]=(1<<Pe)-1,oe[de+10]=0,oe[de+11]=(1<<Pe)-1,oe[de+12]=0,oe[de+13]=(1<<Pe)-1,oe[de+14]=Pe*2,oe[de+15]=Pe*1,oe[de+16]=Pe*0,oe[de+17]=0,oe[de+18]=0,oe[de+19]=0,ne._sQlen+=20,ne.flush()},clientEncodings:function(ne,Ae){var Ne=ne._sQ,oe=ne._sQlen;Ne[oe]=2,Ne[oe+1]=0,Ne[oe+2]=Ae.length>>8,Ne[oe+3]=Ae.length;for(var de=oe+4,xe=0;xe<Ae.length;xe++){var Pe=Ae[xe];Ne[de]=Pe>>24,Ne[de+1]=Pe>>16,Ne[de+2]=Pe>>8,Ne[de+3]=Pe,de+=4}ne._sQlen+=de-oe,ne.flush()},fbUpdateRequest:function(ne,Ae,Ne,oe,de,xe){var Pe=ne._sQ,tt=ne._sQlen;typeof Ne=="undefined"&&(Ne=0),typeof oe=="undefined"&&(oe=0),Pe[tt]=3,Pe[tt+1]=Ae?1:0,Pe[tt+2]=Ne>>8&255,Pe[tt+3]=Ne&255,Pe[tt+4]=oe>>8&255,Pe[tt+5]=oe&255,Pe[tt+6]=de>>8&255,Pe[tt+7]=de&255,Pe[tt+8]=xe>>8&255,Pe[tt+9]=xe&255,ne._sQlen+=10,ne.flush()},xvpOp:function(ne,Ae,Ne){var oe=ne._sQ,de=ne._sQlen;oe[de]=250,oe[de+1]=0,oe[de+2]=Ae,oe[de+3]=Ne,ne._sQlen+=4,ne.flush()}},Z.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,P,d){(function(w){w(d("VrN/"))})(function(w){"use strict";var A={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},b={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};w.defineMode("xml",function(m,v){var p=m.indentUnit,s={},u=v.htmlMode?A:b;for(var o in u)s[o]=u[o];for(var o in v)s[o]=v[o];var e,r;function i(L,D){function B(W){return D.tokenize=W,W(L,D)}var N=L.next();if(N=="<")return L.eat("!")?L.eat("[")?L.match("CDATA[")?B(t("atom","]]>")):null:L.match("--")?B(t("comment","-->")):L.match("DOCTYPE",!0,!0)?(L.eatWhile(/[\w\._\-]/),B(a(1))):null:L.eat("?")?(L.eatWhile(/[\w\._\-]/),D.tokenize=t("meta","?>"),"meta"):(e=L.eat("/")?"closeTag":"openTag",D.tokenize=n,"tag bracket");if(N=="&"){var k;return L.eat("#")?L.eat("x")?k=L.eatWhile(/[a-fA-F\d]/)&&L.eat(";"):k=L.eatWhile(/[\d]/)&&L.eat(";"):k=L.eatWhile(/[\w\.\-:]/)&&L.eat(";"),k?"atom":"error"}else return L.eatWhile(/[^&<]/),null}i.isInText=!0;function n(L,D){var B=L.next();if(B==">"||B=="/"&&L.eat(">"))return D.tokenize=i,e=B==">"?"endTag":"selfcloseTag","tag bracket";if(B=="=")return e="equals",null;if(B=="<"){D.tokenize=i,D.state=g,D.tagName=D.tagStart=null;var N=D.tokenize(L,D);return N?N+" tag error":"tag error"}else return/[\'\"]/.test(B)?(D.tokenize=l(B),D.stringStartCol=L.column(),D.tokenize(L,D)):(L.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(L){var D=function(N,k){for(;!N.eol();)if(N.next()==L){k.tokenize=n;break}return"string"};return D.isInAttribute=!0,D}function t(L,D){return function(B,N){for(;!B.eol();){if(B.match(D)){N.tokenize=i;break}B.next()}return L}}function a(L){return function(D,B){for(var N;(N=D.next())!=null;){if(N=="<")return B.tokenize=a(L+1),B.tokenize(D,B);if(N==">")if(L==1){B.tokenize=i;break}else return B.tokenize=a(L-1),B.tokenize(D,B)}return"meta"}}function c(L,D,B){this.prev=L.context,this.tagName=D,this.indent=L.indented,this.startOfLine=B,(s.doNotIndent.hasOwnProperty(D)||L.context&&L.context.noIndent)&&(this.noIndent=!0)}function h(L){L.context&&(L.context=L.context.prev)}function f(L,D){for(var B;;){if(!L.context)return;if(B=L.context.tagName,!s.contextGrabbers.hasOwnProperty(B)||!s.contextGrabbers[B].hasOwnProperty(D))return;h(L)}}function g(L,D,B){return L=="openTag"?(B.tagStart=D.column(),S):L=="closeTag"?y:g}function S(L,D,B){return L=="word"?(B.tagName=D.current(),r="tag",T):s.allowMissingTagName&&L=="endTag"?(r="tag bracket",T(L,D,B)):(r="error",S)}function y(L,D,B){if(L=="word"){var N=D.current();return B.context&&B.context.tagName!=N&&s.implicitlyClosed.hasOwnProperty(B.context.tagName)&&h(B),B.context&&B.context.tagName==N||s.matchClosing===!1?(r="tag",E):(r="tag error",C)}else return s.allowMissingTagName&&L=="endTag"?(r="tag bracket",E(L,D,B)):(r="error",C)}function E(L,D,B){return L!="endTag"?(r="error",E):(h(B),g)}function C(L,D,B){return r="error",E(L,D,B)}function T(L,D,B){if(L=="word")return r="attribute",x;if(L=="endTag"||L=="selfcloseTag"){var N=B.tagName,k=B.tagStart;return B.tagName=B.tagStart=null,L=="selfcloseTag"||s.autoSelfClosers.hasOwnProperty(N)?f(B,N):(f(B,N),B.context=new c(B,N,k==B.indented)),g}return r="error",T}function x(L,D,B){return L=="equals"?_:(s.allowMissing||(r="error"),T(L,D,B))}function _(L,D,B){return L=="string"?I:L=="word"&&s.allowUnquoted?(r="string",T):(r="error",T(L,D,B))}function I(L,D,B){return L=="string"?I:T(L,D,B)}return{startState:function(D){var B={tokenize:i,state:g,indented:D||0,tagName:null,tagStart:null,context:null};return D!=null&&(B.baseIndent=D),B},token:function(D,B){if(!B.tagName&&D.sol()&&(B.indented=D.indentation()),D.eatSpace())return null;e=null;var N=B.tokenize(D,B);return(N||e)&&N!="comment"&&(r=null,B.state=B.state(e||N,D,B),r&&(N=r=="error"?N+" error":r)),N},indent:function(D,B,N){var k=D.context;if(D.tokenize.isInAttribute)return D.tagStart==D.indented?D.stringStartCol+1:D.indented+p;if(k&&k.noIndent)return w.Pass;if(D.tokenize!=n&&D.tokenize!=i)return N?N.match(/^(\s*)/)[0].length:0;if(D.tagName)return s.multilineTagIndentPastTag!==!1?D.tagStart+D.tagName.length+2:D.tagStart+p*(s.multilineTagIndentFactor||1);if(s.alignCDATA&&/<!\[CDATA\[/.test(B))return 0;var W=B&&/^<(\/)?([\w_:\.-]*)/.exec(B);if(W&&W[1])for(;k;)if(k.tagName==W[2]){k=k.prev;break}else if(s.implicitlyClosed.hasOwnProperty(k.tagName))k=k.prev;else break;else if(W)for(;k;){var R=s.contextGrabbers[k.tagName];if(R&&R.hasOwnProperty(W[2]))k=k.prev;else break}for(;k&&k.prev&&!k.startOfLine;)k=k.prev;return k?k.indent+p:D.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:s.htmlMode?"html":"xml",helperType:s.htmlMode?"html":"xml",skipAttribute:function(D){D.state==_&&(D.state=T)},xmlCurrentTag:function(D){return D.tagName?{name:D.tagName,close:D.type=="closeTag"}:null},xmlCurrentContext:function(D){for(var B=[],N=D.context;N;N=N.prev)N.tagName&&B.push(N.tagName);return B.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,P,d){"use strict";d.d(P,"e",function(){return ne}),d.d(P,"b",function(){return V}),d.d(P,"d",function(){return V}),d.d(P,"c",function(){return br}),d.d(P,"a",function(){return Lr}),d.d(P,"g",function(){return Zr});var w=d("wx14"),A=d("rePB"),b=d("VTBJ"),m=d("KQm4"),v=d("ODXe"),p=d("Ff2n"),s=d("q1tI"),u=d("TSYQ"),o=d.n(u),e=d("Gytx"),r=d.n(e),i=d("6cGi"),n=d("Kwbf"),l=d("8z13"),t=d("1OyB"),a=d("vuIU"),c=d("Ji7U"),h=d("LK+K"),f=d("4IlW"),g=d("bT9E"),S=d("YrtM"),y=s.createContext(null);function E(Tr,fr){var vt=Object(b.a)({},Tr);return Object.keys(fr).forEach(function(ft){var De=fr[ft];De!==void 0&&(vt[ft]=De)}),vt}function C(Tr){var fr=Tr.children,vt=Tr.locked,ft=Object(p.a)(Tr,["children","locked"]),De=s.useContext(y),je=Object(S.a)(function(){return E(De,ft)},[De,ft],function(Ye,st){return!vt&&(Ye[0]!==st[0]||!r()(Ye[1],st[1]))});return s.createElement(y.Provider,{value:je},fr)}function T(Tr,fr,vt,ft){var De=s.useContext(y),je=De.activeKey,Ye=De.onActive,st=De.onInactive,kt={active:je===Tr};return fr||(kt.onMouseEnter=function($t){vt==null||vt({key:Tr,domEvent:$t}),Ye(Tr)},kt.onMouseLeave=function($t){ft==null||ft({key:Tr,domEvent:$t}),st(Tr)}),kt}function x(Tr){var fr=Tr.item,vt=Object(p.a)(Tr,["item"]);return Object.defineProperty(vt,"item",{get:function(){return Object(n.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,De;return typeof fr=="function"?De=s.createElement(fr,Object(b.a)({},vt)):De=fr,De||ft||null}function I(Tr){var fr=s.useContext(y),vt=fr.mode,ft=fr.rtl,De=fr.inlineIndent;if(vt!=="inline")return null;var je=Tr;return ft?{paddingRight:je*De}:{paddingLeft:je*De}}var L=[],D=s.createContext(null);function B(){return s.useContext(D)}var N=s.createContext(L);function k(Tr){var fr=s.useContext(N);return s.useMemo(function(){return Tr!==void 0?[].concat(Object(m.a)(fr),[Tr]):fr},[fr,Tr])}var W=s.createContext(null),R=s.createContext(null);function j(Tr,fr){return Tr===void 0?null:"".concat(Tr,"-").concat(fr)}function H(Tr){var fr=s.useContext(R);return j(fr,Tr)}var K=function(Tr){Object(c.a)(vt,Tr);var fr=Object(h.a)(vt);function vt(){return Object(t.a)(this,vt),fr.apply(this,arguments)}return Object(a.a)(vt,[{key:"render",value:function(){var De=this.props,je=De.title,Ye=De.attribute,st=De.elementRef,kt=Object(p.a)(De,["title","attribute","elementRef"]),$t=Object(g.a)(kt,["eventKey"]);return Object(n.a)(!Ye,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),s.createElement(l.a.Item,Object(w.a)({},Ye,{title:typeof je=="string"?je:void 0},$t,{ref:st}))}}]),vt}(s.Component),U=function(fr){var vt,ft=fr.style,De=fr.className,je=fr.eventKey,Ye=fr.warnKey,st=fr.disabled,kt=fr.itemIcon,$t=fr.children,Nr=fr.role,yn=fr.onMouseEnter,un=fr.onMouseLeave,Kt=fr.onClick,St=fr.onKeyDown,Mt=fr.onFocus,Zt=Object(p.a)(fr,["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"]),kr=H(je),Hr=s.useContext(y),$r=Hr.prefixCls,Bt=Hr.onItemClick,cr=Hr.disabled,Cr=Hr.overflowDisabled,Br=Hr.itemIcon,zr=Hr.selectedKeys,An=Hr.onActive,bn="".concat($r,"-item"),Sn=s.useRef(),Mn=s.useRef(),ei=cr||st,Zn=k(je),ai=function(dr){return{key:je,keyPath:Object(m.a)(Zn).reverse(),item:Sn.current,domEvent:dr}},ii=kt||Br,$e=T(je,ei,yn,un),Te=$e.active,ke=Object(p.a)($e,["active"]),Me=zr.includes(je),Ze=I(Zn.length),Xe=function(dr){if(ei)return;var tr=ai(dr);Kt==null||Kt(x(tr)),Bt(tr)},qe=function(dr){if(St==null||St(dr),dr.which===f.a.ENTER){var tr=ai(dr);Kt==null||Kt(x(tr)),Bt(tr)}},mt=function(dr){An(je),Mt==null||Mt(dr)},ht={};return fr.role==="option"&&(ht["aria-selected"]=Me),s.createElement(K,Object(w.a)({ref:Sn,elementRef:Mn,role:Nr===null?"none":Nr||"menuitem",tabIndex:st?null:-1,"data-menu-id":Cr&&kr?null:kr},Zt,ke,ht,{component:"li","aria-disabled":st,style:Object(b.a)(Object(b.a)({},Ze),ft),className:o()(bn,(vt={},Object(A.a)(vt,"".concat(bn,"-active"),Te),Object(A.a)(vt,"".concat(bn,"-selected"),Me),Object(A.a)(vt,"".concat(bn,"-disabled"),ei),vt),De),onClick:Xe,onKeyDown:qe,onFocus:mt}),$t,s.createElement(_,{props:Object(b.a)(Object(b.a)({},fr),{},{isSelected:Me}),icon:ii}))};function Q(Tr){var fr=Tr.eventKey,vt=B(),ft=k(fr);return s.useEffect(function(){if(vt)return vt.registerPath(fr,ft),function(){vt.unregisterPath(fr,ft)}},[ft]),vt?null:s.createElement(U,Tr)}var V=Q,J=d("Zm9Q");function ae(Tr,fr){return Object(J.a)(Tr).map(function(vt,ft){if(s.isValidElement(vt)){var De,je,Ye=vt.key,st=(De=(je=vt.props)===null||je===void 0?void 0:je.eventKey)!==null&&De!==void 0?De:Ye,kt=st==null;kt&&(st="tmp_key-".concat([].concat(Object(m.a)(fr),[ft]).join("-")));var $t={key:st,eventKey:st};return s.cloneElement(vt,$t)}return vt})}function se(Tr){var fr=s.useRef(Tr);fr.current=Tr;var vt=s.useCallback(function(){for(var ft,De=arguments.length,je=new Array(De),Ye=0;Ye<De;Ye++)je[Ye]=arguments[Ye];return(ft=fr.current)===null||ft===void 0?void 0:ft.call.apply(ft,[fr].concat(je))},[]);return Tr?vt:void 0}var $=function(fr,vt){var ft=fr.className,De=fr.children,je=Object(p.a)(fr,["className","children"]),Ye=s.useContext(y),st=Ye.prefixCls,kt=Ye.mode;return s.createElement("ul",Object(w.a)({className:o()(st,"".concat(st,"-sub"),"".concat(st,"-").concat(kt==="inline"?"inline":"vertical"),ft)},je,{"data-menu-list":!0,ref:vt}),De)},ge=s.forwardRef($);ge.displayName="SubMenuList";var he=ge,Ie=d("uciX"),Se=d("wgJM"),Le={adjustX:1,adjustY:1},He={topLeft:{points:["bl","tl"],overflow:Le,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Le,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Le,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Le,offset:[4,0]}},G={topLeft:{points:["bl","tl"],overflow:Le,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Le,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Le,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Le,offset:[4,0]}},pe=He;function We(Tr,fr,vt){return fr||(vt?vt[Tr]||vt.other:void 0)}var te={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function X(Tr){var fr=Tr.prefixCls,vt=Tr.visible,ft=Tr.children,De=Tr.popup,je=Tr.popupClassName,Ye=Tr.popupOffset,st=Tr.disabled,kt=Tr.mode,$t=Tr.onVisibleChange,Nr=s.useContext(y),yn=Nr.getPopupContainer,un=Nr.rtl,Kt=Nr.subMenuOpenDelay,St=Nr.subMenuCloseDelay,Mt=Nr.builtinPlacements,Zt=Nr.triggerSubMenuAction,kr=Nr.forceSubMenuRender,Hr=Nr.motion,$r=Nr.defaultMotions,Bt=s.useState(!1),cr=Object(v.a)(Bt,2),Cr=cr[0],Br=cr[1],zr=un?Object(b.a)(Object(b.a)({},G),Mt):Object(b.a)(Object(b.a)({},He),Mt),An=te[kt],bn=We(kt,Hr,$r),Sn=Object(b.a)(Object(b.a)({},bn),{},{leavedClassName:"".concat(fr,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Mn=s.useRef();return s.useEffect(function(){return Mn.current=Object(Se.a)(function(){Br(vt)}),function(){Se.a.cancel(Mn.current)}},[vt]),s.createElement(Ie.a,{prefixCls:fr,popupClassName:o()("".concat(fr,"-popup"),Object(A.a)({},"".concat(fr,"-rtl"),un),je),stretch:kt==="horizontal"?"minWidth":null,getPopupContainer:yn,builtinPlacements:zr,popupPlacement:An,popupVisible:Cr,popup:De,popupAlign:Ye&&{offset:Ye},action:st?[]:[Zt],mouseEnterDelay:Kt,mouseLeaveDelay:St,onPopupVisibleChange:$t,forceRender:kr,popupMotion:Sn},ft)}var z=d("8XRh");function Z(Tr){var fr=Tr.id,vt=Tr.open,ft=Tr.keyPath,De=Tr.children,je="inline",Ye=s.useContext(y),st=Ye.prefixCls,kt=Ye.forceSubMenuRender,$t=Ye.motion,Nr=Ye.defaultMotions,yn=Ye.mode,un=s.useRef(!1);un.current=yn===je;var Kt=s.useState(!un.current),St=Object(v.a)(Kt,2),Mt=St[0],Zt=St[1],kr=un.current?vt:!1;s.useEffect(function(){un.current&&Zt(!1)},[yn]);var Hr=Object(b.a)({},We(je,$t,Nr));ft.length>1&&(Hr.motionAppear=!1);var $r=Hr.onVisibleChanged;return Hr.onVisibleChanged=function(Bt){return!un.current&&!Bt&&Zt(!0),$r==null?void 0:$r(Bt)},Mt?null:s.createElement(C,{mode:je,locked:!un.current},s.createElement(z.default,Object(w.a)({visible:kr},Hr,{forceRender:kt,removeOnLeave:!1,leavedClassName:"".concat(st,"-hidden")}),function(Bt){var cr=Bt.className,Cr=Bt.style;return s.createElement(he,{id:fr,className:cr,style:Cr},De)}))}var be=function(fr){var vt,ft=fr.style,De=fr.className,je=fr.title,Ye=fr.eventKey,st=fr.warnKey,kt=fr.disabled,$t=fr.internalPopupClose,Nr=fr.children,yn=fr.itemIcon,un=fr.expandIcon,Kt=fr.popupClassName,St=fr.popupOffset,Mt=fr.onClick,Zt=fr.onMouseEnter,kr=fr.onMouseLeave,Hr=fr.onTitleClick,$r=fr.onTitleMouseEnter,Bt=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(Ye),Br=s.useContext(y),zr=Br.prefixCls,An=Br.mode,bn=Br.openKeys,Sn=Br.disabled,Mn=Br.overflowDisabled,ei=Br.activeKey,Zn=Br.selectedKeys,ai=Br.itemIcon,ii=Br.expandIcon,$e=Br.onItemClick,Te=Br.onOpenChange,ke=Br.onActive,Me=s.useContext(W),Ze=Me.isSubPathKey,Xe=k(),qe="".concat(zr,"-submenu"),mt=Sn||kt,ht=s.useRef(),Vt=s.useRef(),dr=yn||ai,tr=un||ii,ir=bn.includes(Ye),_t=!Mn&&ir,gr=Ze(Zn,Ye),jt=T(Ye,mt,$r,Bt),Sr=jt.active,Ar=Object(p.a)(jt,["active"]),sr=s.useState(!1),ln=Object(v.a)(sr,2),_n=ln[0],zn=ln[1],Nn=function(kn){mt||zn(kn)},Fn=function(kn){Nn(!0),Zt==null||Zt({key:Ye,domEvent:kn})},Gn=function(kn){Nn(!1),kr==null||kr({key:Ye,domEvent:kn})},xn=s.useMemo(function(){return Sr||(An!=="inline"?_n||Ze([ei],Ye):!1)},[An,Sr,ei,_n,Ye,Ze]),mi=I(Xe.length),rn=function(kn){if(mt)return;Hr==null||Hr({key:Ye,domEvent:kn}),An==="inline"&&Te(Ye,!ir)},Ur=se(function(gi){Mt==null||Mt(x(gi)),$e(gi)}),cn=function(kn){An!=="inline"&&Te(Ye,kn)},Qr=function(){ke(Ye)},Vn=Cr&&"".concat(Cr,"-popup"),Hn=s.createElement("div",Object(w.a)({role:"menuitem",style:mi,className:"".concat(qe,"-title"),tabIndex:mt?null:-1,ref:ht,title:typeof je=="string"?je:null,"data-menu-id":Mn&&Cr?null:Cr,"aria-expanded":_t,"aria-haspopup":!0,"aria-controls":Vn,"aria-disabled":mt,onClick:rn,onFocus:Qr},Ar),je,s.createElement(_,{icon:An!=="horizontal"?tr:null,props:Object(b.a)(Object(b.a)({},fr),{},{isOpen:_t,isSubMenu:!0})},s.createElement("i",{className:"".concat(qe,"-arrow")}))),li=s.useRef(An);if(An!=="inline"&&(li.current=Xe.length>1?"vertical":An),!Mn){var Un=li.current;Hn=s.createElement(X,{mode:Un,prefixCls:qe,visible:!$t&&_t&&An!=="inline",popupClassName:Kt,popupOffset:St,popup:s.createElement(C,{mode:Un==="horizontal"?"vertical":Un},s.createElement(he,{id:Vn,ref:Vt},Nr)),disabled:mt,onVisibleChange:cn},Hn)}return s.createElement(C,{onItemClick:Ur,mode:An==="horizontal"?"vertical":An,itemIcon:dr,expandIcon:tr},s.createElement(l.a.Item,Object(w.a)({role:"none"},cr,{component:"li",style:ft,className:o()(qe,"".concat(qe,"-").concat(An),De,(vt={},Object(A.a)(vt,"".concat(qe,"-open"),_t),Object(A.a)(vt,"".concat(qe,"-active"),xn),Object(A.a)(vt,"".concat(qe,"-selected"),gr),Object(A.a)(vt,"".concat(qe,"-disabled"),mt),vt)),onMouseEnter:Fn,onMouseLeave:Gn}),Hn,!Mn&&s.createElement(Z,{id:Vn,open:_t,keyPath:Xe},Nr)))};function ne(Tr){var fr=Tr.eventKey,vt=Tr.children,ft=k(fr),De=ae(vt,ft),je=B();s.useEffect(function(){if(je)return je.registerPath(fr,ft),function(){je.unregisterPath(fr,ft)}},[ft]);var Ye;return je?Ye=De:Ye=s.createElement(be,Tr,De),s.createElement(N.Provider,{value:ft},Ye)}var Ae=d("x/xZ");function Ne(Tr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Object(Ae.a)(Tr)){var vt=Tr.nodeName.toLowerCase(),ft=["input","select","textarea","button"].includes(vt)||Tr.isContentEditable||vt==="a"&&!!Tr.getAttribute("href"),De=Tr.getAttribute("tabindex"),je=Number(De),Ye=null;return De&&!Number.isNaN(je)?Ye=je:ft&&Ye===null&&(Ye=0),ft&&Tr.disabled&&(Ye=null),Ye!==null&&(Ye>=0||fr&&Ye<0)}return!1}function oe(Tr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,vt=Object(m.a)(Tr.querySelectorAll("*")).filter(function(ft){return Ne(ft,fr)});return Ne(Tr,fr)&&vt.unshift(Tr),vt}var de=null;function xe(){de=document.activeElement}function Pe(){de=null}function tt(){if(de)try{de.focus()}catch(Tr){}}function Je(Tr,fr){if(fr.keyCode===9){var vt=oe(Tr),ft=vt[fr.shiftKey?0:vt.length-1],De=ft===document.activeElement||Tr===document.activeElement;if(De){var je=vt[fr.shiftKey?vt.length-1:0];je.focus(),fr.preventDefault()}}}var Oe=f.a.LEFT,pt=f.a.RIGHT,Qe=f.a.UP,nt=f.a.DOWN,bt=f.a.ENTER,Tt=f.a.ESC,Ct=[Qe,nt,Oe,pt];function Nt(Tr,fr,vt,ft){var De,je,Ye,st,kt="prev",$t="next",Nr="children",yn="parent";if(Tr==="inline"&&ft===bt)return{inlineTrigger:!0};var un=(De={},Object(A.a)(De,Qe,kt),Object(A.a)(De,nt,$t),De),Kt=(je={},Object(A.a)(je,Oe,vt?$t:kt),Object(A.a)(je,pt,vt?kt:$t),Object(A.a)(je,nt,Nr),Object(A.a)(je,bt,Nr),je),St=(Ye={},Object(A.a)(Ye,Qe,kt),Object(A.a)(Ye,nt,$t),Object(A.a)(Ye,bt,Nr),Object(A.a)(Ye,Tt,yn),Object(A.a)(Ye,Oe,vt?Nr:yn),Object(A.a)(Ye,pt,vt?yn:Nr),Ye),Mt={inline:un,horizontal:Kt,vertical:St,inlineSub:un,horizontalSub:St,verticalSub:St},Zt=(st=Mt["".concat(Tr).concat(fr?"":"Sub")])===null||st===void 0?void 0:st[ft];switch(Zt){case kt: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 Ge(Tr){for(var fr=Tr;fr;){if(fr.getAttribute("data-menu-list"))return fr;fr=fr.parentElement}return null}function ie(Tr,fr){for(var vt=Tr||document.activeElement;vt;){if(fr.has(vt))return vt;vt=vt.parentElement}return null}function Y(Tr,fr){var vt=oe(Tr,!0);return vt.filter(function(ft){return fr.has(ft)})}function we(Tr,fr,vt){var ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Tr)return null;var De=Y(Tr,fr),je=De.length,Ye=De.findIndex(function(st){return vt===st});return ft<0?Ye===-1?Ye=je-1:Ye-=1:ft>0&&(Ye+=1),Ye=(Ye+je)%je,De[Ye]}function Ce(Tr,fr,vt,ft,De,je,Ye,st,kt,$t){var Nr=s.useRef(),yn=s.useRef();yn.current=fr;var un=function(){Se.a.cancel(Nr.current)};return s.useEffect(function(){return function(){un()}},[]),function(Kt){var St=Kt.which;if([].concat(Ct,[bt,Tt]).includes(St)){var Mt,Zt,kr,Hr=function(){Mt=new Set,Zt=new Map,kr=new Map;var Zn=je();return Zn.forEach(function(ai){var ii=document.querySelector("[data-menu-id='".concat(j(ft,ai),"']"));ii&&(Mt.add(ii),kr.set(ii,ai),Zt.set(ai,ii))}),Mt};Hr();var $r=Zt.get(fr),Bt=ie($r,Mt),cr=kr.get(Bt),Cr=Nt(Tr,Ye(cr,!0).length===1,vt,St);if(!Cr)return;Ct.includes(St)&&Kt.preventDefault();var Br=function(Zn){if(Zn){var ai=Zn,ii=Zn.querySelector("a");(ii==null?void 0:ii.getAttribute("href"))&&(ai=ii);var $e=kr.get(Zn);st($e),un(),Nr.current=Object(Se.a)(function(){yn.current===$e&&ai.focus()})}};if(Cr.sibling||!Bt){var zr;!Bt||Tr==="inline"?zr=De.current:zr=Ge(Bt);var An=we(zr,Mt,Bt,Cr.offset);Br(An)}else if(Cr.inlineTrigger)kt(cr);else if(Cr.offset>0)kt(cr,!0),un(),Nr.current=Object(Se.a)(function(){Hr();var ei=Bt.getAttribute("aria-controls"),Zn=document.getElementById(ei),ai=we(Zn,Mt);Br(ai)},5);else if(Cr.offset<0){var bn=Ye(cr,!0),Sn=bn[bn.length-2],Mn=Zt.get(Sn);kt(Sn,!1),Br(Mn)}}$t==null||$t(Kt)}}var le=Math.random().toFixed(5).toString().slice(2),ot=0;function wt(Tr){var fr=Object(i.a)(Tr,{value:Tr}),vt=Object(v.a)(fr,2),ft=vt[0],De=vt[1];return s.useEffect(function(){ot+=1;var je="".concat(le,"-").concat(ot);De("rc-menu-uuid-".concat(je))},[]),ft}function rt(Tr){Promise.resolve().then(Tr)}var It="__RC_UTIL_PATH_SPLIT__",Gt=function(fr){return fr.join(It)},lr=function(fr){return fr.split(It)},pr="rc-menu-more";function Rr(){var Tr=s.useState({}),fr=Object(v.a)(Tr,2),vt=fr[1],ft=Object(s.useRef)(new Map),De=Object(s.useRef)(new Map),je=s.useState([]),Ye=Object(v.a)(je,2),st=Ye[0],kt=Ye[1],$t=Object(s.useRef)(0),Nr=Object(s.useRef)(!1),yn=function(){Nr.current||vt({})},un=Object(s.useCallback)(function($r,Bt){var cr=Gt(Bt);De.current.set(cr,$r),ft.current.set($r,cr),$t.current+=1;var Cr=$t.current;rt(function(){Cr===$t.current&&yn()})},[]),Kt=Object(s.useCallback)(function($r,Bt){var cr=Gt(Bt);De.current.delete(cr),ft.current.delete($r)},[]),St=Object(s.useCallback)(function($r){kt($r)},[]),Mt=Object(s.useCallback)(function($r,Bt){var cr=ft.current.get($r)||"",Cr=lr(cr);return Bt&&st.includes(Cr[0])&&Cr.unshift(pr),Cr},[st]),Zt=Object(s.useCallback)(function($r,Bt){return $r.some(function(cr){var Cr=Mt(cr,!0);return Cr.includes(Bt)})},[Mt]),kr=function(){var Bt=Object(m.a)(ft.current.keys());return st.length&&Bt.push(pr),Bt},Hr=Object(s.useCallback)(function($r){var Bt="".concat(ft.current.get($r)).concat(It),cr=new Set;return Object(m.a)(De.current.keys()).forEach(function(Cr){Cr.startsWith(Bt)&&cr.add(De.current.get(Cr))}),cr},[]);return s.useEffect(function(){return function(){Nr.current=!0}},[]),{registerPath:un,unregisterPath:Kt,refreshOverflowKeys:St,isSubPathKey:Zt,getKeyPath:Mt,getKeys:kr,getSubPathKeys:Hr}}var xt=[],Ot=function(fr){var vt,ft,De=fr.prefixCls,je=De===void 0?"rc-menu":De,Ye=fr.style,st=fr.className,kt=fr.tabIndex,$t=kt===void 0?0:kt,Nr=fr.children,yn=fr.direction,un=fr.id,Kt=fr.mode,St=Kt===void 0?"vertical":Kt,Mt=fr.inlineCollapsed,Zt=fr.disabled,kr=fr.disabledOverflow,Hr=fr.subMenuOpenDelay,$r=Hr===void 0?.1:Hr,Bt=fr.subMenuCloseDelay,cr=Bt===void 0?.1:Bt,Cr=fr.forceSubMenuRender,Br=fr.defaultOpenKeys,zr=fr.openKeys,An=fr.activeKey,bn=fr.defaultActiveFirst,Sn=fr.selectable,Mn=Sn===void 0?!0:Sn,ei=fr.multiple,Zn=ei===void 0?!1:ei,ai=fr.defaultSelectedKeys,ii=fr.selectedKeys,$e=fr.onSelect,Te=fr.onDeselect,ke=fr.inlineIndent,Me=ke===void 0?24:ke,Ze=fr.motion,Xe=fr.defaultMotions,qe=fr.triggerSubMenuAction,mt=qe===void 0?"hover":qe,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"]),zn=ae(Nr,xt),Nn=s.useState(!1),Fn=Object(v.a)(Nn,2),Gn=Fn[0],xn=Fn[1],mi=s.useRef(),rn=wt(un),Ur=yn==="rtl",cn=s.useMemo(function(){return(St==="inline"||St==="vertical")&&Mt?["vertical",Mt]:[St,!1]},[St,Mt]),Qr=Object(v.a)(cn,2),Vn=Qr[0],Hn=Qr[1],li=s.useState(0),Un=Object(v.a)(li,2),gi=Un[0],kn=Un[1],di=gi>=zn.length-1||Vn!=="horizontal"||kr,qr=Object(i.a)(Br,{value:zr,postState:function(Yr){return Yr||xt}}),xr=Object(v.a)(qr,2),nn=xr[0],gn=xr[1],On=function(Yr){gn(Yr),Sr==null||Sr(Yr)},Bn=s.useState(nn),Wn=Object(v.a)(Bn,2),$n=Wn[0],Jn=Wn[1],vi=Vn==="inline",Pi=s.useRef(!1);s.useEffect(function(){vi&&Jn(nn)},[nn]),s.useEffect(function(){if(!Pi.current){Pi.current=!0;return}vi?gn($n):On(xt)},[vi]);var Bi=Rr(),ja=Bi.registerPath,Qn=Bi.unregisterPath,Xr=Bi.refreshOverflowKeys,hi=Bi.isSubPathKey,Ri=Bi.getKeyPath,bi=Bi.getKeys,Ui=Bi.getSubPathKeys,ni=s.useMemo(function(){return{registerPath:ja,unregisterPath:Qn}},[ja,Qn]),qi=s.useMemo(function(){return{isSubPathKey:hi}},[hi]);s.useEffect(function(){Xr(di?xt:zn.slice(gi+1).map(function(an){return an.key}))},[gi,di]);var Qi=Object(i.a)(An||bn&&((vt=zn[0])===null||vt===void 0?void 0:vt.key),{value:An}),ha=Object(v.a)(Qi,2),Yt=ha[0],Ir=ha[1],Jr=se(function(an){Ir(an)}),Ke=se(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(v.a)(gt,2),Wt=Xt[0],vr=Xt[1],or=function(Yr){if(Mn){var fn=Yr.key,vn=Wt.includes(fn),Ln;Zn?vn?Ln=Wt.filter(function(si){return si!==fn}):Ln=[].concat(Object(m.a)(Wt),[fn]):Ln=[fn],vr(Ln);var oi=Object(b.a)(Object(b.a)({},Yr),{},{selectedKeys:Ln});vn?Te==null||Te(oi):$e==null||$e(oi)}!Zn&&nn.length&&Vn!=="inline"&&On(xt)},Vr=se(function(an){jt==null||jt(x(an)),or(an)}),Kr=se(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)})}r()(nn,fn)||On(fn)}),Dr=se(gr),dn=function(Yr,fn){var vn=fn!=null?fn:!nn.includes(Yr);Kr(Yr,vn)},on=Ce(Vn,Yt,Ur,rn,mi,bi,Ri,Ir,dn,Ar);s.useEffect(function(){xn(!0)},[]);var Cn=Vn!=="horizontal"||kr?zn:zn.map(function(an,Yr){return s.createElement(C,{key:an.key,overflowDisabled:Yr>gi},an)}),sn=s.createElement(l.a,Object(w.a)({id:un,ref:mi,prefixCls:"".concat(je,"-overflow"),component:"ul",itemComponent:V,className:o()(je,"".concat(je,"-root"),"".concat(je,"-").concat(Vn),st,(ft={},Object(A.a)(ft,"".concat(je,"-inline-collapsed"),Hn),Object(A.a)(ft,"".concat(je,"-rtl"),Ur),ft)),dir:yn,style:Ye,role:"menu",tabIndex:$t,data:Cn,renderRawItem:function(Yr){return Yr},renderRawRest:function(Yr){var fn=Yr.length,vn=fn?zn.slice(-fn):null;return s.createElement(ne,{eventKey:pr,title:ir,disabled:di,internalPopupClose:fn===0,popupClassName:_t},vn)},maxCount:Vn!=="horizontal"||kr?l.a.INVALIDATE:l.a.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Yr){kn(Yr)},onKeyDown:on},_n));return s.createElement(R.Provider,{value:rn},s.createElement(C,{prefixCls:je,mode:Vn,openKeys:nn,rtl:Ur,disabled:Zt,motion:Gn?Ze:null,defaultMotions:Gn?Xe:null,activeKey:Yt,onActive:Jr,onInactive:Ke,selectedKeys:Wt,inlineIndent:Me,subMenuOpenDelay:$r,subMenuCloseDelay:cr,forceSubMenuRender:Cr,builtinPlacements:ht,triggerSubMenuAction:mt,getPopupContainer:Dr,itemIcon:Vt,expandIcon:dr,onItemClick:Vr,onOpenChange:Kr},s.createElement(W.Provider,{value:qi},sn),s.createElement("div",{style:{display:"none"},"aria-hidden":!0},s.createElement(D.Provider,{value:ni},zn))))},At=Ot,Jt=function(fr){var vt=fr.className,ft=fr.title,De=fr.eventKey,je=fr.children,Ye=Object(p.a)(fr,["className","title","eventKey","children"]),st=s.useContext(y),kt=st.prefixCls,$t="".concat(kt,"-item-group");return s.createElement("li",Object(w.a)({},Ye,{onClick:function(yn){return yn.stopPropagation()},className:o()($t,vt)}),s.createElement("div",{className:"".concat($t,"-title"),title:typeof ft=="string"?ft:void 0},ft),s.createElement("ul",{className:"".concat($t,"-list")},je))};function br(Tr){var fr=Tr.children,vt=Object(p.a)(Tr,["children"]),ft=k(vt.eventKey),De=ae(fr,ft),je=B();return je?De:s.createElement(Jt,Object(g.a)(vt,["warnKey"]),De)}function Lr(Tr){var fr=Tr.className,vt=Tr.style,ft=s.useContext(y),De=ft.prefixCls,je=B();return je?null:s.createElement("li",{className:o()("".concat(De,"-item-divider"),fr),style:vt})}var Zr=k,In=At;In.Item=V,In.SubMenu=ne,In.ItemGroup=br,In.Divider=Lr;var Gr=P.f=In},"1n7x":function(M,P,d){(function(w,A){/*!
|
|
|
* html2pdf.js v0.10.1
|
|
|
* Copyright (c) 2021 Erik Koopmans
|
|
|
* Released under the MIT License.
|
|
|
*/(function(m,v){M.exports=v(d("dtIV"),d("wOnQ"))})(self,function(b,m){return function(){var v={"./src/plugin/hyperlinks.js":function(e,r,i){"use strict";i.r(r);var n=i("./node_modules/core-js/modules/web.dom-collections.for-each.js"),l=i.n(n),t=i("./node_modules/core-js/modules/es.string.link.js"),a=i.n(t),c=i("./src/worker.js"),h=i("./src/utils.js"),f=[],g={toContainer:c.default.prototype.toContainer,toPdf:c.default.prototype.toPdf};c.default.prototype.toContainer=function(){return g.toContainer.call(this).then(function(){if(this.opt.enableLinks){var E=this.prop.container,C=E.querySelectorAll("a"),T=(0,h.unitConvert)(E.getBoundingClientRect(),this.prop.pageSize.k);f=[],Array.prototype.forEach.call(C,function(x){for(var _=x.getClientRects(),I=0;I<_.length;I++){var L=(0,h.unitConvert)(_[I],this.prop.pageSize.k);L.left-=T.left,L.top-=T.top;var D=Math.floor(L.top/this.prop.pageSize.inner.height)+1,B=this.opt.margin[0]+L.top%this.prop.pageSize.inner.height,N=this.opt.margin[1]+L.left;f.push({page:D,top:B,left:N,clientRect:L,link:x})}},this)}})},c.default.prototype.toPdf=function(){return g.toPdf.call(this).then(function(){if(this.opt.enableLinks){f.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,r,i){"use strict";i.r(r);var n=i("./node_modules/core-js/modules/es.symbol.js"),l=i.n(n),t=i("./node_modules/core-js/modules/es.symbol.description.js"),a=i.n(t),c=i("./node_modules/core-js/modules/es.object.to-string.js"),h=i.n(c),f=i("./node_modules/core-js/modules/es.symbol.iterator.js"),g=i.n(f),S=i("./node_modules/core-js/modules/es.array.iterator.js"),y=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(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(N){return typeof N}:L=function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},L(D)}_.jsPDF.getPageSize=function(D,B,N){if(L(D)==="object"){var k=D;D=k.orientation,B=k.unit||B,N=k.format||N}B=B||"mm",N=N||"a4",D=(""+(D||"P")).toLowerCase();var W=(""+N).toLowerCase(),R={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(B){case"pt":var j=1;break;case"mm":var j=72/25.4;break;case"cm":var j=72/2.54;break;case"in":var j=72;break;case"px":var j=72/96;break;case"pc":var j=12;break;case"em":var j=12;break;case"ex":var j=6;break;default:throw"Invalid unit: "+B}if(R.hasOwnProperty(W))var H=R[W][1]/j,K=R[W][0]/j;else try{var H=N[1],K=N[0]}catch(V){throw new Error("Invalid format: "+N)}if(D==="p"||D==="portrait"){if(D="p",K>H){var U=K;K=H,H=U}}else if(D==="l"||D==="landscape"){if(D="l",H>K){var U=K;K=H,H=U}}else throw"Invalid orientation: "+D;var Q={width:K,height:H,unit:B,k:j};return Q},r.default=_.jsPDF},"./src/plugin/pagebreaks.js":function(e,r,i){"use strict";i.r(r);var n=i("./node_modules/core-js/modules/es.array.concat.js"),l=i.n(n),t=i("./node_modules/core-js/modules/es.array.slice.js"),a=i.n(t),c=i("./node_modules/core-js/modules/es.array.join.js"),h=i.n(c),f=i("./node_modules/core-js/modules/web.dom-collections.for-each.js"),g=i.n(f),S=i("./node_modules/core-js/modules/es.object.keys.js"),y=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,D=[].concat(this.opt.pagebreak.mode),B={avoidAll:D.indexOf("avoid-all")!==-1,css:D.indexOf("css")!==-1,legacy:D.indexOf("legacy")!==-1},N={},k=this;["before","after","avoid"].forEach(function(j){var H=B.avoidAll&&j==="avoid";N[j]=H?[]:[].concat(k.opt.pagebreak[j]||[]),N[j].length>0&&(N[j]=Array.prototype.slice.call(I.querySelectorAll(N[j].join(", "))))});var W=I.querySelectorAll(".html2pdf__page-break");W=Array.prototype.slice.call(W);var R=I.querySelectorAll("*");Array.prototype.forEach.call(R,function(H){var K={before:!1,after:B.legacy&&W.indexOf(H)!==-1,avoid:B.avoidAll};if(B.css){var U=window.getComputedStyle(H),Q=["always","page","left","right"],V=["avoid","avoid-page"];K={before:K.before||Q.indexOf(U.breakBefore||U.pageBreakBefore)!==-1,after:K.after||Q.indexOf(U.breakAfter||U.pageBreakAfter)!==-1,avoid:K.avoid||V.indexOf(U.breakInside||U.pageBreakInside)!==-1}}Object.keys(K).forEach(function(he){K[he]=K[he]||N[he].indexOf(H)!==-1});var J=H.getBoundingClientRect();if(K.avoid&&!K.before){var ae=Math.floor(J.top/L),se=Math.floor(J.bottom/L),$=Math.abs(J.bottom-J.top)/L;se!==ae&&$<=1&&(K.before=!0)}if(K.before){var ge=(0,C.createElement)("div",{style:{display:"block",height:L-J.top%L+"px"}});H.parentNode.insertBefore(ge,H)}if(K.after){var ge=(0,C.createElement)("div",{style:{display:"block",height:L-J.bottom%L+"px"}});H.parentNode.insertBefore(ge,H.nextSibling)}})})}},"./src/utils.js":function(e,r,i){"use strict";i.r(r),i.d(r,{objType:function(){return D},createElement:function(){return B},cloneNode:function(){return N},unitConvert:function(){return k},toPx:function(){return W}});var n=i("./node_modules/core-js/modules/es.number.constructor.js"),l=i.n(n),t=i("./node_modules/core-js/modules/es.symbol.js"),a=i.n(t),c=i("./node_modules/core-js/modules/es.symbol.description.js"),h=i.n(c),f=i("./node_modules/core-js/modules/es.object.to-string.js"),g=i.n(f),S=i("./node_modules/core-js/modules/es.symbol.iterator.js"),y=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(R){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(R)}var D=function(j){var H=L(j);return H==="undefined"?"undefined":H==="string"||j instanceof String?"string":H==="number"||j instanceof Number?"number":H==="function"||j instanceof Function?"function":!!j&&j.constructor===Array?"array":j&&j.nodeType===1?"element":H==="object"?"object":"unknown"},B=function(j,H){var K=document.createElement(j);if(H.className&&(K.className=H.className),H.innerHTML){K.innerHTML=H.innerHTML;for(var U=K.getElementsByTagName("script"),Q=U.length;Q-- >0;null)U[Q].parentNode.removeChild(U[Q])}for(var V in H.style)K.style[V]=H.style[V];return K},N=function R(j,H){for(var K=j.nodeType===3?document.createTextNode(j.nodeValue):j.cloneNode(!1),U=j.firstChild;U;U=U.nextSibling)(H===!0||U.nodeType!==1||U.nodeName!=="SCRIPT")&&K.appendChild(R(U,H));return j.nodeType===1&&(j.nodeName==="CANVAS"?(K.width=j.width,K.height=j.height,K.getContext("2d").drawImage(j,0,0)):(j.nodeName==="TEXTAREA"||j.nodeName==="SELECT")&&(K.value=j.value),K.addEventListener("load",function(){K.scrollTop=j.scrollTop,K.scrollLeft=j.scrollLeft},!0)),K},k=function(j,H){if(D(j)==="number")return j*72/96/H;var K={};for(var U in j)K[U]=j[U]*72/96/H;return K},W=function(j,H){return Math.floor(j*H/72*96)}},"./src/worker.js":function(e,r,i){"use strict";i.r(r);var n=i("./node_modules/core-js/modules/es.object.assign.js"),l=i.n(n),t=i("./node_modules/core-js/modules/es.array.map.js"),a=i.n(t),c=i("./node_modules/core-js/modules/es.object.keys.js"),h=i.n(c),f=i("./node_modules/core-js/modules/es.array.concat.js"),g=i.n(f),S=i("./node_modules/core-js/modules/es.object.to-string.js"),y=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"),D=i.n(L),B=i("html2canvas"),N=i.n(B),k=i("./src/utils.js"),W=i("./node_modules/es6-promise/dist/es6-promise.js"),R=i.n(W),j=R().Promise,H=function K(U){var Q=Object.assign(K.convert(j.resolve()),JSON.parse(JSON.stringify(K.template))),V=K.convert(j.resolve(),Q);return V=V.setProgress(1,K,1,[K]),V=V.set(U),V};H.prototype=Object.create(j.prototype),H.prototype.constructor=H,H.convert=function(U,Q){return U.__proto__=Q||H.prototype,U},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(U,Q){function V(J){switch((0,k.objType)(J)){case"string":return"string";case"element":return J.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){Q=Q||V(U);switch(Q){case"string":return this.set({src:(0,k.createElement)("div",{innerHTML:U})});case"element":return this.set({src:U});case"canvas":return this.set({canvas:U});case"img":return this.set({img:U});default:return this.error("Unknown source type.")}})},H.prototype.to=function(U){switch(U){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},H.prototype.toContainer=function(){var U=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(U).then(function(){var V={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},J={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};V.opacity=0;var ae=(0,k.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,k.createElement)("div",{className:"html2pdf__overlay",style:V}),this.prop.container=(0,k.createElement)("div",{className:"html2pdf__container",style:J}),this.prop.container.appendChild(ae),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},H.prototype.toCanvas=function(){var U=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(U).then(function(){var V=Object.assign({},this.opt.html2canvas);return delete V.onrendered,B(this.prop.container,V)}).then(function(V){var J=this.opt.html2canvas.onrendered||function(){};J(V),this.prop.canvas=V,document.body.removeChild(this.prop.overlay)})},H.prototype.toImg=function(){var U=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(U).then(function(){var V=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=V})},H.prototype.toPdf=function(){var U=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(U).then(function(){var V=this.prop.canvas,J=this.opt,ae=V.height,se=Math.floor(V.width*this.prop.pageSize.inner.ratio),$=Math.ceil(ae/se),ge=this.prop.pageSize.inner.height,he=document.createElement("canvas"),Ie=he.getContext("2d");he.width=V.width,he.height=se,this.prop.pdf=this.prop.pdf||new L.jsPDF(J.jsPDF);for(var Se=0;Se<$;Se++){Se===$-1&&ae%se!==0&&(he.height=ae%se,ge=he.height*this.prop.pageSize.inner.width/he.width);var Le=he.width,He=he.height;Ie.fillStyle="white",Ie.fillRect(0,0,Le,He),Ie.drawImage(V,0,Se*se,Le,He,0,0,Le,He),Se&&this.prop.pdf.addPage();var G=he.toDataURL("image/"+J.image.type,J.image.quality);this.prop.pdf.addImage(G,J.image.type,J.margin[1],J.margin[0],this.prop.pageSize.inner.width,ge)}})},H.prototype.output=function(U,Q,V){return V=V||"pdf",V.toLowerCase()==="img"||V.toLowerCase()==="image"?this.outputImg(U,Q):this.outputPdf(U,Q)},H.prototype.outputPdf=function(U,Q){var V=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(V).then(function(){return this.prop.pdf.output(U,Q)})},H.prototype.outputImg=function(U,Q){var V=[function(){return this.prop.img||this.toImg()}];return this.thenList(V).then(function(){switch(U){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+U+'" is not supported.'}})},H.prototype.save=function(U){var Q=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(Q).set(U?{filename:U}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},H.prototype.set=function(U){if((0,k.objType)(U)!=="object")return this;var Q=Object.keys(U||{}).map(function(V){switch(V){case"margin":return this.setMargin.bind(this,U.margin);case"jsPDF":return function(){return this.opt.jsPDF=U.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,U.pageSize);default:return V in H.template.prop?function(){this.prop[V]=U[V]}:function(){this.opt[V]=U[V]}}},this);return this.then(function(){return this.thenList(Q)})},H.prototype.get=function(U,Q){return this.then(function(){var J=U in H.template.prop?this.prop[U]:this.opt[U];return Q?Q(J):J})},H.prototype.setMargin=function(U){return this.then(function(){switch((0,k.objType)(U)){case"number":U=[U,U,U,U];case"array":if(U.length===2&&(U=[U[0],U[1],U[0],U[1]]),U.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=U}).then(this.setPageSize)},H.prototype.setPageSize=function(U){return this.then(function(){U=U||L.jsPDF.getPageSize(this.opt.jsPDF),U.hasOwnProperty("inner")||(U.inner={width:U.width-this.opt.margin[1]-this.opt.margin[3],height:U.height-this.opt.margin[0]-this.opt.margin[2]},U.inner.px={width:(0,k.toPx)(U.inner.width,U.k),height:(0,k.toPx)(U.inner.height,U.k)},U.inner.ratio=U.inner.height/U.inner.width),this.prop.pageSize=U})},H.prototype.setProgress=function(U,Q,V,J){return U!=null&&(this.progress.val=U),Q!=null&&(this.progress.state=Q),V!=null&&(this.progress.n=V),J!=null&&(this.progress.stack=J),this.progress.ratio=this.progress.val/this.progress.state,this},H.prototype.updateProgress=function(U,Q,V,J){return this.setProgress(U?this.progress.val+U:null,Q||null,V?this.progress.n+V:null,J?this.progress.stack.concat(J):null)},H.prototype.then=function(U,Q){var V=this;return this.thenCore(U,Q,function(ae,se){return V.updateProgress(null,null,1,[ae]),j.prototype.then.call(this,function(ge){return V.updateProgress(null,ae),ge}).then(ae,se).then(function(ge){return V.updateProgress(1),ge})})},H.prototype.thenCore=function(U,Q,V){V=V||j.prototype.then;var J=this;U&&(U=U.bind(J)),Q&&(Q=Q.bind(J));var ae=j.toString().indexOf("[native code]")!==-1&&j.name==="Promise",se=ae?J:H.convert(Object.assign({},J),j.prototype),$=V.call(se,U,Q);return H.convert($,J.__proto__)},H.prototype.thenExternal=function(U,Q){return j.prototype.then.call(this,U,Q)},H.prototype.thenList=function(U){var Q=this;return U.forEach(function(J){Q=Q.thenCore(J)}),Q},H.prototype.catch=function(K){K&&(K=K.bind(this));var U=j.prototype.catch.call(this,K);return H.convert(U,this)},H.prototype.catchExternal=function(U){return j.prototype.catch.call(this,U)},H.prototype.error=function(U){return this.then(function(){throw new Error(U)})},H.prototype.using=H.prototype.set,H.prototype.saveAs=H.prototype.save,H.prototype.export=H.prototype.output,H.prototype.run=H.prototype.then,r.default=H},"./node_modules/core-js/internals/a-function.js":function(e){e.exports=function(r){if(typeof r!="function")throw TypeError(String(r)+" is not a function");return r}},"./node_modules/core-js/internals/a-possible-prototype.js":function(e,r,i){var n=i("./node_modules/core-js/internals/is-object.js");e.exports=function(l){if(!n(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"./node_modules/core-js/internals/add-to-unscopables.js":function(e,r,i){var n=i("./node_modules/core-js/internals/well-known-symbol.js"),l=i("./node_modules/core-js/internals/object-create.js"),t=i("./node_modules/core-js/internals/object-define-property.js"),a=n("unscopables"),c=Array.prototype;c[a]==null&&t.f(c,a,{configurable:!0,value:l(null)}),e.exports=function(h){c[a][h]=!0}},"./node_modules/core-js/internals/an-object.js":function(e,r,i){var n=i("./node_modules/core-js/internals/is-object.js");e.exports=function(l){if(!n(l))throw TypeError(String(l)+" is not an object");return l}},"./node_modules/core-js/internals/array-for-each.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/array-iteration.js").forEach,l=i("./node_modules/core-js/internals/array-method-is-strict.js"),t=l("forEach");e.exports=t?[].forEach:function(c){return n(this,c,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(e,r,i){var n=i("./node_modules/core-js/internals/to-indexed-object.js"),l=i("./node_modules/core-js/internals/to-length.js"),t=i("./node_modules/core-js/internals/to-absolute-index.js"),a=function(h){return function(f,g,S){var y=n(f),E=l(y.length),C=t(S,E),T;if(h&&g!=g){for(;E>C;)if(T=y[C++],T!=T)return!0}else for(;E>C;C++)if((h||C in y)&&y[C]===g)return h||C||0;return!h&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(e,r,i){var n=i("./node_modules/core-js/internals/function-bind-context.js"),l=i("./node_modules/core-js/internals/indexed-object.js"),t=i("./node_modules/core-js/internals/to-object.js"),a=i("./node_modules/core-js/internals/to-length.js"),c=i("./node_modules/core-js/internals/array-species-create.js"),h=[].push,f=function(S){var y=S==1,E=S==2,C=S==3,T=S==4,x=S==6,_=S==7,I=S==5||x;return function(L,D,B,N){for(var k=t(L),W=l(k),R=n(D,B,3),j=a(W.length),H=0,K=N||c,U=y?K(L,j):E||_?K(L,0):void 0,Q,V;j>H;H++)if((I||H in W)&&(Q=W[H],V=R(Q,H,k),S))if(y)U[H]=V;else if(V)switch(S){case 3:return!0;case 5:return Q;case 6:return H;case 2:h.call(U,Q)}else switch(S){case 4:return!1;case 7:h.call(U,Q)}return x?-1:C||T?T:U}};e.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(e,r,i){var n=i("./node_modules/core-js/internals/fails.js"),l=i("./node_modules/core-js/internals/well-known-symbol.js"),t=i("./node_modules/core-js/internals/engine-v8-version.js"),a=l("species");e.exports=function(c){return t>=51||!n(function(){var h=[],f=h.constructor={};return f[a]=function(){return{foo:1}},h[c](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/fails.js");e.exports=function(l,t){var a=[][l];return!!a&&n(function(){a.call(null,t||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(e,r,i){var n=i("./node_modules/core-js/internals/is-object.js"),l=i("./node_modules/core-js/internals/is-array.js"),t=i("./node_modules/core-js/internals/well-known-symbol.js"),a=t("species");e.exports=function(c){var h;return l(c)&&(h=c.constructor,typeof h=="function"&&(h===Array||l(h.prototype))?h=void 0:n(h)&&(h=h[a],h===null&&(h=void 0))),h===void 0?Array:h}},"./node_modules/core-js/internals/array-species-create.js":function(e,r,i){var n=i("./node_modules/core-js/internals/array-species-constructor.js");e.exports=function(l,t){return new(n(l))(t===0?0:t)}},"./node_modules/core-js/internals/classof-raw.js":function(e){var r={}.toString;e.exports=function(i){return r.call(i).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(e,r,i){var n=i("./node_modules/core-js/internals/to-string-tag-support.js"),l=i("./node_modules/core-js/internals/classof-raw.js"),t=i("./node_modules/core-js/internals/well-known-symbol.js"),a=t("toStringTag"),c=l(function(){return arguments}())=="Arguments",h=function(g,S){try{return g[S]}catch(y){}};e.exports=n?l:function(f){var g,S,y;return f===void 0?"Undefined":f===null?"Null":typeof(S=h(g=Object(f),a))=="string"?S:c?l(g):(y=l(g))=="Object"&&typeof g.callee=="function"?"Arguments":y}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(e,r,i){var n=i("./node_modules/core-js/internals/has.js"),l=i("./node_modules/core-js/internals/own-keys.js"),t=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=i("./node_modules/core-js/internals/object-define-property.js");e.exports=function(c,h){for(var f=l(h),g=a.f,S=t.f,y=0;y<f.length;y++){var E=f[y];n(c,E)||g(c,E,S(h,E))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(e,r,i){var n=i("./node_modules/core-js/internals/fails.js");e.exports=!n(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},"./node_modules/core-js/internals/create-html.js":function(e,r,i){var n=i("./node_modules/core-js/internals/require-object-coercible.js"),l=i("./node_modules/core-js/internals/to-string.js"),t=/"/g;e.exports=function(a,c,h,f){var g=l(n(a)),S="<"+c;return h!==""&&(S+=" "+h+'="'+l(f).replace(t,""")+'"'),S+">"+g+"</"+c+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,l=i("./node_modules/core-js/internals/object-create.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js"),a=i("./node_modules/core-js/internals/set-to-string-tag.js"),c=i("./node_modules/core-js/internals/iterators.js"),h=function(){return this};e.exports=function(f,g,S){var y=g+" Iterator";return f.prototype=l(n,{next:t(1,S)}),a(f,y,!1,!0),c[y]=h,f}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(e,r,i){var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/object-define-property.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=n?function(a,c,h){return l.f(a,c,t(1,h))}:function(a,c,h){return a[c]=h,a}},"./node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(r,i){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:i}}},"./node_modules/core-js/internals/create-property.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/to-property-key.js"),l=i("./node_modules/core-js/internals/object-define-property.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(a,c,h){var f=n(c);f in a?l.f(a,f,t(0,h)):a[f]=h}},"./node_modules/core-js/internals/define-iterator.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/create-iterator-constructor.js"),t=i("./node_modules/core-js/internals/object-get-prototype-of.js"),a=i("./node_modules/core-js/internals/object-set-prototype-of.js"),c=i("./node_modules/core-js/internals/set-to-string-tag.js"),h=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),f=i("./node_modules/core-js/internals/redefine.js"),g=i("./node_modules/core-js/internals/well-known-symbol.js"),S=i("./node_modules/core-js/internals/is-pure.js"),y=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=g("iterator"),_="keys",I="values",L="entries",D=function(){return this};e.exports=function(B,N,k,W,R,j,H){l(k,N,W);var K=function(Se){if(Se===R&&ae)return ae;if(!T&&Se in V)return V[Se];switch(Se){case _:return function(){return new k(this,Se)};case I:return function(){return new k(this,Se)};case L:return function(){return new k(this,Se)}}return function(){return new k(this)}},U=N+" Iterator",Q=!1,V=B.prototype,J=V[x]||V["@@iterator"]||R&&V[R],ae=!T&&J||K(R),se=N=="Array"&&V.entries||J,$,ge,he;if(se&&($=t(se.call(new B)),C!==Object.prototype&&$.next&&(!S&&t($)!==C&&(a?a($,C):typeof $[x]!="function"&&h($,x,D)),c($,U,!0,!0),S&&(y[U]=D))),R==I&&J&&J.name!==I&&(Q=!0,ae=function(){return J.call(this)}),(!S||H)&&V[x]!==ae&&h(V,x,ae),y[N]=ae,R)if(ge={values:K(I),keys:j?ae:K(_),entries:K(L)},H)for(he in ge)(T||Q||!(he in V))&&f(V,he,ge[he]);else n({target:N,proto:!0,forced:T||Q},ge);return ge}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(e,r,i){var n=i("./node_modules/core-js/internals/path.js"),l=i("./node_modules/core-js/internals/has.js"),t=i("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),a=i("./node_modules/core-js/internals/object-define-property.js").f;e.exports=function(c){var h=n.Symbol||(n.Symbol={});l(h,c)||a(h,c,{value:t.f(c)})}},"./node_modules/core-js/internals/descriptors.js":function(e,r,i){var n=i("./node_modules/core-js/internals/fails.js");e.exports=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(e,r,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/is-object.js"),t=n.document,a=l(t)&&l(t.createElement);e.exports=function(c){return a?t.createElement(c):{}}},"./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,r,i){var n=i("./node_modules/core-js/internals/get-built-in.js");e.exports=n("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(e,r,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/engine-user-agent.js"),t=n.process,a=n.Deno,c=t&&t.versions||a&&a.version,h=c&&c.v8,f,g;h?(f=h.split("."),g=f[0]<4?1:f[0]+f[1]):l&&(f=l.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=l.match(/Chrome\/(\d+)/),f&&(g=f[1]))),e.exports=g&&+g},"./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,r,i){var n=i("./node_modules/core-js/internals/global.js"),l=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"),a=i("./node_modules/core-js/internals/redefine.js"),c=i("./node_modules/core-js/internals/set-global.js"),h=i("./node_modules/core-js/internals/copy-constructor-properties.js"),f=i("./node_modules/core-js/internals/is-forced.js");e.exports=function(g,S){var y=g.target,E=g.global,C=g.stat,T,x,_,I,L,D;if(E?x=n:C?x=n[y]||c(y,{}):x=(n[y]||{}).prototype,x)for(_ in S){if(L=S[_],g.noTargetGet?(D=l(x,_),I=D&&D.value):I=x[_],T=f(E?_:y+(C?".":"#")+_,g.forced),!T&&I!==void 0){if(typeof L===typeof I)continue;h(L,I)}(g.sham||I&&I.sham)&&t(L,"sham",!0),a(x,_,L,g)}}},"./node_modules/core-js/internals/fails.js":function(e){e.exports=function(r){try{return!!r()}catch(i){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(e,r,i){var n=i("./node_modules/core-js/internals/a-function.js");e.exports=function(l,t,a){if(n(l),t===void 0)return l;switch(a){case 0:return function(){return l.call(t)};case 1:return function(c){return l.call(t,c)};case 2:return function(c,h){return l.call(t,c,h)};case 3:return function(c,h,f){return l.call(t,c,h,f)}}return function(){return l.apply(t,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(e,r,i){var n=i("./node_modules/core-js/internals/global.js"),l=function(a){return typeof a=="function"?a:void 0};e.exports=function(t,a){return arguments.length<2?l(n[t]):n[t]&&n[t][a]}},"./node_modules/core-js/internals/global.js":function(e){var r=function(n){return n&&n.Math==Math&&n};e.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof w=="object"&&w)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(e,r,i){var n=i("./node_modules/core-js/internals/to-object.js"),l={}.hasOwnProperty;e.exports=Object.hasOwn||function(a,c){return l.call(n(a),c)}},"./node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"./node_modules/core-js/internals/html.js":function(e,r,i){var n=i("./node_modules/core-js/internals/get-built-in.js");e.exports=n("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(e,r,i){var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/fails.js"),t=i("./node_modules/core-js/internals/document-create-element.js");e.exports=!n&&!l(function(){return Object.defineProperty(t("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(e,r,i){var n=i("./node_modules/core-js/internals/fails.js"),l=i("./node_modules/core-js/internals/classof-raw.js"),t="".split;e.exports=n(function(){return!Object("z").propertyIsEnumerable(0)})?function(a){return l(a)=="String"?t.call(a,""):Object(a)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(e,r,i){var n=i("./node_modules/core-js/internals/is-object.js"),l=i("./node_modules/core-js/internals/object-set-prototype-of.js");e.exports=function(t,a,c){var h,f;return l&&typeof(h=a.constructor)=="function"&&h!==c&&n(f=h.prototype)&&f!==c.prototype&&l(t,f),t}},"./node_modules/core-js/internals/inspect-source.js":function(e,r,i){var n=i("./node_modules/core-js/internals/shared-store.js"),l=Function.toString;typeof n.inspectSource!="function"&&(n.inspectSource=function(t){return l.call(t)}),e.exports=n.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(e,r,i){var n=i("./node_modules/core-js/internals/native-weak-map.js"),l=i("./node_modules/core-js/internals/global.js"),t=i("./node_modules/core-js/internals/is-object.js"),a=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=i("./node_modules/core-js/internals/has.js"),h=i("./node_modules/core-js/internals/shared-store.js"),f=i("./node_modules/core-js/internals/shared-key.js"),g=i("./node_modules/core-js/internals/hidden-keys.js"),S="Object already initialized",y=l.WeakMap,E,C,T,x=function(W){return T(W)?C(W):E(W,{})},_=function(W){return function(R){var j;if(!t(R)||(j=C(R)).type!==W)throw TypeError("Incompatible receiver, "+W+" required");return j}};if(n||h.state){var I=h.state||(h.state=new y),L=I.get,D=I.has,B=I.set;E=function(W,R){if(D.call(I,W))throw new TypeError(S);return R.facade=W,B.call(I,W,R),R},C=function(W){return L.call(I,W)||{}},T=function(W){return D.call(I,W)}}else{var N=f("state");g[N]=!0,E=function(W,R){if(c(W,N))throw new TypeError(S);return R.facade=W,a(W,N,R),R},C=function(W){return c(W,N)?W[N]:{}},T=function(W){return c(W,N)}}e.exports={set:E,get:C,has:T,enforce:x,getterFor:_}},"./node_modules/core-js/internals/is-array.js":function(e,r,i){var n=i("./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(t){return n(t)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(e,r,i){var n=i("./node_modules/core-js/internals/fails.js"),l=/#|\.prototype\./,t=function(S,y){var E=c[a(S)];return E==f?!0:E==h?!1:typeof y=="function"?n(y):!!y},a=t.normalize=function(g){return String(g).replace(l,".").toLowerCase()},c=t.data={},h=t.NATIVE="N",f=t.POLYFILL="P";e.exports=t},"./node_modules/core-js/internals/is-object.js":function(e){e.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},"./node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(e,r,i){var n=i("./node_modules/core-js/internals/get-built-in.js"),l=i("./node_modules/core-js/internals/use-symbol-as-uid.js");e.exports=l?function(t){return typeof t=="symbol"}:function(t){var a=n("Symbol");return typeof a=="function"&&Object(t)instanceof a}},"./node_modules/core-js/internals/iterators-core.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/fails.js"),l=i("./node_modules/core-js/internals/object-get-prototype-of.js"),t=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=i("./node_modules/core-js/internals/has.js"),c=i("./node_modules/core-js/internals/well-known-symbol.js"),h=i("./node_modules/core-js/internals/is-pure.js"),f=c("iterator"),g=!1,S=function(){return this},y,E,C;[].keys&&(C=[].keys(),"next"in C?(E=l(l(C)),E!==Object.prototype&&(y=E)):g=!0);var T=y==null||n(function(){var x={};return y[f].call(x)!==x});T&&(y={}),(!h||T)&&!a(y,f)&&t(y,f,S),e.exports={IteratorPrototype:y,BUGGY_SAFARI_ITERATORS:g}},"./node_modules/core-js/internals/iterators.js":function(e){e.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(e,r,i){var n=i("./node_modules/core-js/internals/engine-v8-version.js"),l=i("./node_modules/core-js/internals/fails.js");e.exports=!!Object.getOwnPropertySymbols&&!l(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},"./node_modules/core-js/internals/native-weak-map.js":function(e,r,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/inspect-source.js"),t=n.WeakMap;e.exports=typeof t=="function"&&/native code/.test(l(t))},"./node_modules/core-js/internals/object-assign.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/fails.js"),t=i("./node_modules/core-js/internals/object-keys.js"),a=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),c=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),h=i("./node_modules/core-js/internals/to-object.js"),f=i("./node_modules/core-js/internals/indexed-object.js"),g=Object.assign,S=Object.defineProperty;e.exports=!g||l(function(){if(n&&g({b:1},g(S({},"a",{enumerable:!0,get:function(){S(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var y={},E={},C=Symbol(),T="abcdefghijklmnopqrst";return y[C]=7,T.split("").forEach(function(x){E[x]=x}),g({},y)[C]!=7||t(g({},E)).join("")!=T})?function(E,C){for(var T=h(E),x=arguments.length,_=1,I=a.f,L=c.f;x>_;)for(var D=f(arguments[_++]),B=I?t(D).concat(I(D)):t(D),N=B.length,k=0,W;N>k;)W=B[k++],(!n||L.call(D,W))&&(T[W]=D[W]);return T}:g},"./node_modules/core-js/internals/object-create.js":function(e,r,i){var n=i("./node_modules/core-js/internals/an-object.js"),l=i("./node_modules/core-js/internals/object-define-properties.js"),t=i("./node_modules/core-js/internals/enum-bug-keys.js"),a=i("./node_modules/core-js/internals/hidden-keys.js"),c=i("./node_modules/core-js/internals/html.js"),h=i("./node_modules/core-js/internals/document-create-element.js"),f=i("./node_modules/core-js/internals/shared-key.js"),g=">",S="<",y="prototype",E="script",C=f("IE_PROTO"),T=function(){},x=function(N){return S+E+g+N+S+"/"+E+g},_=function(N){N.write(x("")),N.close();var k=N.parentWindow.Object;return N=null,k},I=function(){var N=h("iframe"),k="java"+E+":",W;if(N.style)return N.style.display="none",c.appendChild(N),N.src=String(k),W=N.contentWindow.document,W.open(),W.write(x("document.F=Object")),W.close(),W.F},L,D=function(){try{L=new ActiveXObject("htmlfile")}catch(k){}D=document.domain&&L?_(L):I()||_(L);for(var N=t.length;N--;)delete D[y][t[N]];return D()};a[C]=!0,e.exports=Object.create||function(N,k){var W;return N!==null?(T[y]=n(N),W=new T,T[y]=null,W[C]=N):W=D(),k===void 0?W:l(W,k)}},"./node_modules/core-js/internals/object-define-properties.js":function(e,r,i){var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/object-define-property.js"),t=i("./node_modules/core-js/internals/an-object.js"),a=i("./node_modules/core-js/internals/object-keys.js");e.exports=n?Object.defineProperties:function(h,f){t(h);for(var g=a(f),S=g.length,y=0,E;S>y;)l.f(h,E=g[y++],f[E]);return h}},"./node_modules/core-js/internals/object-define-property.js":function(e,r,i){var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/ie8-dom-define.js"),t=i("./node_modules/core-js/internals/an-object.js"),a=i("./node_modules/core-js/internals/to-property-key.js"),c=Object.defineProperty;r.f=n?c:function(f,g,S){if(t(f),g=a(g),t(S),l)try{return c(f,g,S)}catch(y){}if("get"in S||"set"in S)throw TypeError("Accessors not supported");return"value"in S&&(f[g]=S.value),f}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,r,i){var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),t=i("./node_modules/core-js/internals/create-property-descriptor.js"),a=i("./node_modules/core-js/internals/to-indexed-object.js"),c=i("./node_modules/core-js/internals/to-property-key.js"),h=i("./node_modules/core-js/internals/has.js"),f=i("./node_modules/core-js/internals/ie8-dom-define.js"),g=Object.getOwnPropertyDescriptor;r.f=n?g:function(y,E){if(y=a(y),E=c(E),f)try{return g(y,E)}catch(C){}if(h(y,E))return t(!l.f.call(y,E),y[E])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(e,r,i){var n=i("./node_modules/core-js/internals/to-indexed-object.js"),l=i("./node_modules/core-js/internals/object-get-own-property-names.js").f,t={}.toString,a=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(f){try{return l(f)}catch(g){return a.slice()}};e.exports.f=function(f){return a&&t.call(f)=="[object Window]"?c(f):l(n(f))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(e,r,i){var n=i("./node_modules/core-js/internals/object-keys-internal.js"),l=i("./node_modules/core-js/internals/enum-bug-keys.js"),t=l.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(c){return n(c,t)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,r){r.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(e,r,i){var n=i("./node_modules/core-js/internals/has.js"),l=i("./node_modules/core-js/internals/to-object.js"),t=i("./node_modules/core-js/internals/shared-key.js"),a=i("./node_modules/core-js/internals/correct-prototype-getter.js"),c=t("IE_PROTO"),h=Object.prototype;e.exports=a?Object.getPrototypeOf:function(f){return f=l(f),n(f,c)?f[c]:typeof f.constructor=="function"&&f instanceof f.constructor?f.constructor.prototype:f instanceof Object?h:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(e,r,i){var n=i("./node_modules/core-js/internals/has.js"),l=i("./node_modules/core-js/internals/to-indexed-object.js"),t=i("./node_modules/core-js/internals/array-includes.js").indexOf,a=i("./node_modules/core-js/internals/hidden-keys.js");e.exports=function(c,h){var f=l(c),g=0,S=[],y;for(y in f)!n(a,y)&&n(f,y)&&S.push(y);for(;h.length>g;)n(f,y=h[g++])&&(~t(S,y)||S.push(y));return S}},"./node_modules/core-js/internals/object-keys.js":function(e,r,i){var n=i("./node_modules/core-js/internals/object-keys-internal.js"),l=i("./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(a){return n(a,l)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(e,r){"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,l=n&&!i.call({1:2},1);r.f=l?function(a){var c=n(this,a);return!!c&&c.enumerable}:i},"./node_modules/core-js/internals/object-set-prototype-of.js":function(e,r,i){var n=i("./node_modules/core-js/internals/an-object.js"),l=i("./node_modules/core-js/internals/a-possible-prototype.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,a={},c;try{c=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,c.call(a,[]),t=a instanceof Array}catch(h){}return function(f,g){return n(f),l(g),t?c.call(f,g):f.__proto__=g,f}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/to-string-tag-support.js"),l=i("./node_modules/core-js/internals/classof.js");e.exports=n?{}.toString:function(){return"[object "+l(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(e,r,i){var n=i("./node_modules/core-js/internals/is-object.js");e.exports=function(l,t){var a,c;if(t==="string"&&typeof(a=l.toString)=="function"&&!n(c=a.call(l)))return c;if(typeof(a=l.valueOf)=="function"&&!n(c=a.call(l)))return c;if(t!=="string"&&typeof(a=l.toString)=="function"&&!n(c=a.call(l)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(e,r,i){var n=i("./node_modules/core-js/internals/get-built-in.js"),l=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"),a=i("./node_modules/core-js/internals/an-object.js");e.exports=n("Reflect","ownKeys")||function(h){var f=l.f(a(h)),g=t.f;return g?f.concat(g(h)):f}},"./node_modules/core-js/internals/path.js":function(e,r,i){var n=i("./node_modules/core-js/internals/global.js");e.exports=n},"./node_modules/core-js/internals/redefine.js":function(e,r,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),t=i("./node_modules/core-js/internals/has.js"),a=i("./node_modules/core-js/internals/set-global.js"),c=i("./node_modules/core-js/internals/inspect-source.js"),h=i("./node_modules/core-js/internals/internal-state.js"),f=h.get,g=h.enforce,S=String(String).split("String");(e.exports=function(y,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")&&l(C,"name",E),L=g(C),L.source||(L.source=S.join(typeof E=="string"?E:""))),y===n){_?y[E]=C:a(E,C);return}else x?!I&&y[E]&&(_=!0):delete y[E];_?y[E]=C:l(y,E,C)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(this).source||c(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/an-object.js");e.exports=function(){var l=n(this),t="";return l.global&&(t+="g"),l.ignoreCase&&(t+="i"),l.multiline&&(t+="m"),l.dotAll&&(t+="s"),l.unicode&&(t+="u"),l.sticky&&(t+="y"),t}},"./node_modules/core-js/internals/require-object-coercible.js":function(e){e.exports=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r}},"./node_modules/core-js/internals/set-global.js":function(e,r,i){var n=i("./node_modules/core-js/internals/global.js");e.exports=function(l,t){try{Object.defineProperty(n,l,{value:t,configurable:!0,writable:!0})}catch(a){n[l]=t}return t}},"./node_modules/core-js/internals/set-to-string-tag.js":function(e,r,i){var n=i("./node_modules/core-js/internals/object-define-property.js").f,l=i("./node_modules/core-js/internals/has.js"),t=i("./node_modules/core-js/internals/well-known-symbol.js"),a=t("toStringTag");e.exports=function(c,h,f){c&&!l(c=f?c:c.prototype,a)&&n(c,a,{configurable:!0,value:h})}},"./node_modules/core-js/internals/shared-key.js":function(e,r,i){var n=i("./node_modules/core-js/internals/shared.js"),l=i("./node_modules/core-js/internals/uid.js"),t=n("keys");e.exports=function(a){return t[a]||(t[a]=l(a))}},"./node_modules/core-js/internals/shared-store.js":function(e,r,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/set-global.js"),t="__core-js_shared__",a=n[t]||l(t,{});e.exports=a},"./node_modules/core-js/internals/shared.js":function(e,r,i){var n=i("./node_modules/core-js/internals/is-pure.js"),l=i("./node_modules/core-js/internals/shared-store.js");(e.exports=function(t,a){return l[t]||(l[t]=a!==void 0?a:{})})("versions",[]).push({version:"3.16.0",mode:n?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(e,r,i){var n=i("./node_modules/core-js/internals/fails.js");e.exports=function(l){return n(function(){var t=""[l]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(e,r,i){var n=i("./node_modules/core-js/internals/to-integer.js"),l=i("./node_modules/core-js/internals/to-string.js"),t=i("./node_modules/core-js/internals/require-object-coercible.js"),a=function(h){return function(f,g){var S=l(t(f)),y=n(g),E=S.length,C,T;return y<0||y>=E?h?"":void 0:(C=S.charCodeAt(y),C<55296||C>56319||y+1===E||(T=S.charCodeAt(y+1))<56320||T>57343?h?S.charAt(y):C:h?S.slice(y,y+2):(C-55296<<10)+(T-56320)+65536)}};e.exports={codeAt:a(!1),charAt:a(!0)}},"./node_modules/core-js/internals/string-trim.js":function(e,r,i){var n=i("./node_modules/core-js/internals/require-object-coercible.js"),l=i("./node_modules/core-js/internals/to-string.js"),t=i("./node_modules/core-js/internals/whitespaces.js"),a="["+t+"]",c=RegExp("^"+a+a+"*"),h=RegExp(a+a+"*$"),f=function(S){return function(y){var E=l(n(y));return S&1&&(E=E.replace(c,"")),S&2&&(E=E.replace(h,"")),E}};e.exports={start:f(1),end:f(2),trim:f(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(e,r,i){var n=i("./node_modules/core-js/internals/to-integer.js"),l=Math.max,t=Math.min;e.exports=function(a,c){var h=n(a);return h<0?l(h+c,0):t(h,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(e,r,i){var n=i("./node_modules/core-js/internals/indexed-object.js"),l=i("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(t){return n(l(t))}},"./node_modules/core-js/internals/to-integer.js":function(e){var r=Math.ceil,i=Math.floor;e.exports=function(n){return isNaN(n=+n)?0:(n>0?i:r)(n)}},"./node_modules/core-js/internals/to-length.js":function(e,r,i){var n=i("./node_modules/core-js/internals/to-integer.js"),l=Math.min;e.exports=function(t){return t>0?l(n(t),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(e,r,i){var n=i("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(l){return Object(n(l))}},"./node_modules/core-js/internals/to-primitive.js":function(e,r,i){var n=i("./node_modules/core-js/internals/is-object.js"),l=i("./node_modules/core-js/internals/is-symbol.js"),t=i("./node_modules/core-js/internals/ordinary-to-primitive.js"),a=i("./node_modules/core-js/internals/well-known-symbol.js"),c=a("toPrimitive");e.exports=function(h,f){if(!n(h)||l(h))return h;var g=h[c],S;if(g!==void 0){if(f===void 0&&(f="default"),S=g.call(h,f),!n(S)||l(S))return S;throw TypeError("Can't convert object to primitive value")}return f===void 0&&(f="number"),t(h,f)}},"./node_modules/core-js/internals/to-property-key.js":function(e,r,i){var n=i("./node_modules/core-js/internals/to-primitive.js"),l=i("./node_modules/core-js/internals/is-symbol.js");e.exports=function(t){var a=n(t,"string");return l(a)?a:String(a)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(e,r,i){var n=i("./node_modules/core-js/internals/well-known-symbol.js"),l=n("toStringTag"),t={};t[l]="z",e.exports=String(t)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(e,r,i){var n=i("./node_modules/core-js/internals/is-symbol.js");e.exports=function(l){if(n(l))throw TypeError("Cannot convert a Symbol value to a string");return String(l)}},"./node_modules/core-js/internals/uid.js":function(e){var r=0,i=Math.random();e.exports=function(n){return"Symbol("+String(n===void 0?"":n)+")_"+(++r+i).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(e,r,i){var n=i("./node_modules/core-js/internals/native-symbol.js");e.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(e,r,i){var n=i("./node_modules/core-js/internals/well-known-symbol.js");r.f=n},"./node_modules/core-js/internals/well-known-symbol.js":function(e,r,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/shared.js"),t=i("./node_modules/core-js/internals/has.js"),a=i("./node_modules/core-js/internals/uid.js"),c=i("./node_modules/core-js/internals/native-symbol.js"),h=i("./node_modules/core-js/internals/use-symbol-as-uid.js"),f=l("wks"),g=n.Symbol,S=h?g:g&&g.withoutSetter||a;e.exports=function(y){return(!t(f,y)||!(c||typeof f[y]=="string"))&&(c&&t(g,y)?f[y]=g[y]:f[y]=S("Symbol."+y)),f[y]}},"./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,r,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/fails.js"),t=i("./node_modules/core-js/internals/is-array.js"),a=i("./node_modules/core-js/internals/is-object.js"),c=i("./node_modules/core-js/internals/to-object.js"),h=i("./node_modules/core-js/internals/to-length.js"),f=i("./node_modules/core-js/internals/create-property.js"),g=i("./node_modules/core-js/internals/array-species-create.js"),S=i("./node_modules/core-js/internals/array-method-has-species-support.js"),y=i("./node_modules/core-js/internals/well-known-symbol.js"),E=i("./node_modules/core-js/internals/engine-v8-version.js"),C=y("isConcatSpreadable"),T=9007199254740991,x="Maximum allowed index exceeded",_=E>=51||!l(function(){var B=[];return B[C]=!1,B.concat()[0]!==B}),I=S("concat"),L=function(N){if(!a(N))return!1;var k=N[C];return k!==void 0?!!k:t(N)},D=!_||!I;n({target:"Array",proto:!0,forced:D},{concat:function(N){var k=c(this),W=g(k,0),R=0,j,H,K,U,Q;for(j=-1,K=arguments.length;j<K;j++)if(Q=j===-1?k:arguments[j],L(Q)){if(U=h(Q.length),R+U>T)throw TypeError(x);for(H=0;H<U;H++,R++)H in Q&&f(W,R,Q[H])}else{if(R>=T)throw TypeError(x);f(W,R++,Q)}return W.length=R,W}})},"./node_modules/core-js/modules/es.array.iterator.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/to-indexed-object.js"),l=i("./node_modules/core-js/internals/add-to-unscopables.js"),t=i("./node_modules/core-js/internals/iterators.js"),a=i("./node_modules/core-js/internals/internal-state.js"),c=i("./node_modules/core-js/internals/define-iterator.js"),h="Array Iterator",f=a.set,g=a.getterFor(h);e.exports=c(Array,"Array",function(S,y){f(this,{type:h,target:n(S),index:0,kind:y})},function(){var S=g(this),y=S.target,E=S.kind,C=S.index++;return!y||C>=y.length?(S.target=void 0,{value:void 0,done:!0}):E=="keys"?{value:C,done:!1}:E=="values"?{value:y[C],done:!1}:{value:[C,y[C]],done:!1}},"values"),t.Arguments=t.Array,l("keys"),l("values"),l("entries")},"./node_modules/core-js/modules/es.array.join.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/indexed-object.js"),t=i("./node_modules/core-js/internals/to-indexed-object.js"),a=i("./node_modules/core-js/internals/array-method-is-strict.js"),c=[].join,h=l!=Object,f=a("join",",");n({target:"Array",proto:!0,forced:h||!f},{join:function(S){return c.call(t(this),S===void 0?",":S)}})},"./node_modules/core-js/modules/es.array.map.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/array-iteration.js").map,t=i("./node_modules/core-js/internals/array-method-has-species-support.js"),a=t("map");n({target:"Array",proto:!0,forced:!a},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/is-object.js"),t=i("./node_modules/core-js/internals/is-array.js"),a=i("./node_modules/core-js/internals/to-absolute-index.js"),c=i("./node_modules/core-js/internals/to-length.js"),h=i("./node_modules/core-js/internals/to-indexed-object.js"),f=i("./node_modules/core-js/internals/create-property.js"),g=i("./node_modules/core-js/internals/well-known-symbol.js"),S=i("./node_modules/core-js/internals/array-method-has-species-support.js"),y=S("slice"),E=g("species"),C=[].slice,T=Math.max;n({target:"Array",proto:!0,forced:!y},{slice:function(_,I){var L=h(this),D=c(L.length),B=a(_,D),N=a(I===void 0?D:I,D),k,W,R;if(t(L)&&(k=L.constructor,typeof k=="function"&&(k===Array||t(k.prototype))?k=void 0:l(k)&&(k=k[E],k===null&&(k=void 0)),k===Array||k===void 0))return C.call(L,B,N);for(W=new(k===void 0?Array:k)(T(N-B,0)),R=0;B<N;B++,R++)B in L&&f(W,R,L[B]);return W.length=R,W}})},"./node_modules/core-js/modules/es.function.name.js":function(e,r,i){var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/object-define-property.js").f,t=Function.prototype,a=t.toString,c=/^\s*function ([^ (]*)/,h="name";n&&!(h in t)&&l(t,h,{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(g){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/descriptors.js"),l=i("./node_modules/core-js/internals/global.js"),t=i("./node_modules/core-js/internals/is-forced.js"),a=i("./node_modules/core-js/internals/redefine.js"),c=i("./node_modules/core-js/internals/has.js"),h=i("./node_modules/core-js/internals/classof-raw.js"),f=i("./node_modules/core-js/internals/inherit-if-required.js"),g=i("./node_modules/core-js/internals/is-symbol.js"),S=i("./node_modules/core-js/internals/to-primitive.js"),y=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=l[I],D=L.prototype,B=h(E(D))==I,N=function(K){if(g(K))throw TypeError("Cannot convert a Symbol value to a number");var U=S(K,"number"),Q,V,J,ae,se,$,ge,he;if(typeof U=="string"&&U.length>2){if(U=_(U),Q=U.charCodeAt(0),Q===43||Q===45){if(V=U.charCodeAt(2),V===88||V===120)return NaN}else if(Q===48){switch(U.charCodeAt(1)){case 66:case 98:J=2,ae=49;break;case 79:case 111:J=8,ae=55;break;default:return+U}for(se=U.slice(2),$=se.length,ge=0;ge<$;ge++)if(he=se.charCodeAt(ge),he<48||he>ae)return NaN;return parseInt(se,J)}}return+U};if(t(I,!L(" 0o1")||!L("0b1")||L("+0x1"))){for(var k=function(K){var U=arguments.length<1?0:K,Q=this;return Q instanceof k&&(B?y(function(){D.valueOf.call(Q)}):h(Q)!=I)?f(new L(N(U)),Q,k):N(U)},W=n?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(","),R=0,j;W.length>R;R++)c(L,j=W[R])&&!c(k,j)&&x(k,j,T(L,j));k.prototype=D,D.constructor=k,a(l,I,k)}},"./node_modules/core-js/modules/es.object.assign.js":function(e,r,i){var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/object-assign.js");n({target:"Object",stat:!0,forced:Object.assign!==l},{assign:l})},"./node_modules/core-js/modules/es.object.keys.js":function(e,r,i){var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/to-object.js"),t=i("./node_modules/core-js/internals/object-keys.js"),a=i("./node_modules/core-js/internals/fails.js"),c=a(function(){t(1)});n({target:"Object",stat:!0,forced:c},{keys:function(f){return t(l(f))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(e,r,i){var n=i("./node_modules/core-js/internals/to-string-tag-support.js"),l=i("./node_modules/core-js/internals/redefine.js"),t=i("./node_modules/core-js/internals/object-to-string.js");n||l(Object.prototype,"toString",t,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/redefine.js"),l=i("./node_modules/core-js/internals/an-object.js"),t=i("./node_modules/core-js/internals/to-string.js"),a=i("./node_modules/core-js/internals/fails.js"),c=i("./node_modules/core-js/internals/regexp-flags.js"),h="toString",f=RegExp.prototype,g=f[h],S=a(function(){return g.call({source:"a",flags:"b"})!="/a/b"}),y=g.name!=h;(S||y)&&n(RegExp.prototype,h,function(){var C=l(this),T=t(C.source),x=C.flags,_=t(x===void 0&&C instanceof RegExp&&!("flags"in f)?c.call(C):x);return"/"+T+"/"+_},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/string-multibyte.js").charAt,l=i("./node_modules/core-js/internals/to-string.js"),t=i("./node_modules/core-js/internals/internal-state.js"),a=i("./node_modules/core-js/internals/define-iterator.js"),c="String Iterator",h=t.set,f=t.getterFor(c);a(String,"String",function(g){h(this,{type:c,string:l(g),index:0})},function(){var S=f(this),y=S.string,E=S.index,C;return E>=y.length?{value:void 0,done:!0}:(C=n(y,E),S.index+=C.length,{value:C,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/create-html.js"),t=i("./node_modules/core-js/internals/string-html-forced.js");n({target:"String",proto:!0,forced:t("link")},{link:function(c){return l(this,"a","href",c)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/descriptors.js"),t=i("./node_modules/core-js/internals/global.js"),a=i("./node_modules/core-js/internals/has.js"),c=i("./node_modules/core-js/internals/is-object.js"),h=i("./node_modules/core-js/internals/object-define-property.js").f,f=i("./node_modules/core-js/internals/copy-constructor-properties.js"),g=t.Symbol;if(l&&typeof g=="function"&&(!("description"in g.prototype)||g().description!==void 0)){var S={},y=function(){var I=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof y?new g(I):I===void 0?g():g(I);return I===""&&(S[L]=!0),L};f(y,g);var E=y.prototype=g.prototype;E.constructor=y;var C=E.toString,T=String(g("test"))=="Symbol(test)",x=/^Symbol\((.*)\)[^)]+$/;h(E,"description",{configurable:!0,get:function(){var I=c(this)?this.valueOf():this,L=C.call(I);if(a(S,I))return"";var D=T?L.slice(7,-1):L.replace(x,"$1");return D===""?void 0:D}}),n({global:!0,forced:!0},{Symbol:y})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(e,r,i){var n=i("./node_modules/core-js/internals/define-well-known-symbol.js");n("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(e,r,i){"use strict";var n=i("./node_modules/core-js/internals/export.js"),l=i("./node_modules/core-js/internals/global.js"),t=i("./node_modules/core-js/internals/get-built-in.js"),a=i("./node_modules/core-js/internals/is-pure.js"),c=i("./node_modules/core-js/internals/descriptors.js"),h=i("./node_modules/core-js/internals/native-symbol.js"),f=i("./node_modules/core-js/internals/fails.js"),g=i("./node_modules/core-js/internals/has.js"),S=i("./node_modules/core-js/internals/is-array.js"),y=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"),D=i("./node_modules/core-js/internals/object-create.js"),B=i("./node_modules/core-js/internals/object-keys.js"),N=i("./node_modules/core-js/internals/object-get-own-property-names.js"),k=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"),R=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),j=i("./node_modules/core-js/internals/object-define-property.js"),H=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),K=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),U=i("./node_modules/core-js/internals/redefine.js"),Q=i("./node_modules/core-js/internals/shared.js"),V=i("./node_modules/core-js/internals/shared-key.js"),J=i("./node_modules/core-js/internals/hidden-keys.js"),ae=i("./node_modules/core-js/internals/uid.js"),se=i("./node_modules/core-js/internals/well-known-symbol.js"),$=i("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ge=i("./node_modules/core-js/internals/define-well-known-symbol.js"),he=i("./node_modules/core-js/internals/set-to-string-tag.js"),Ie=i("./node_modules/core-js/internals/internal-state.js"),Se=i("./node_modules/core-js/internals/array-iteration.js").forEach,Le=V("hidden"),He="Symbol",G="prototype",pe=se("toPrimitive"),We=Ie.set,te=Ie.getterFor(He),X=Object[G],z=l.Symbol,Z=t("JSON","stringify"),be=R.f,ne=j.f,Ae=k.f,Ne=H.f,oe=Q("symbols"),de=Q("op-symbols"),xe=Q("string-to-symbol-registry"),Pe=Q("symbol-to-string-registry"),tt=Q("wks"),Je=l.QObject,Oe=!Je||!Je[G]||!Je[G].findChild,pt=c&&f(function(){return D(ne({},"a",{get:function(){return ne(this,"a",{value:7}).a}})).a!=7})?function(we,Ce,le){var ot=be(X,Ce);ot&&delete X[Ce],ne(we,Ce,le),ot&&we!==X&&ne(X,Ce,ot)}:ne,Qe=function(Ce,le){var ot=oe[Ce]=D(z[G]);return We(ot,{type:He,tag:Ce,description:le}),c||(ot.description=le),ot},nt=function(Ce,le,ot){Ce===X&&nt(de,le,ot),C(Ce);var wt=_(le);return C(ot),g(oe,wt)?(ot.enumerable?(g(Ce,Le)&&Ce[Le][wt]&&(Ce[Le][wt]=!1),ot=D(ot,{enumerable:L(0,!1)})):(g(Ce,Le)||ne(Ce,Le,L(1,{})),Ce[Le][wt]=!0),pt(Ce,wt,ot)):ne(Ce,wt,ot)},bt=function(Ce,le){C(Ce);var ot=x(le),wt=B(ot).concat(ie(ot));return Se(wt,function(rt){(!c||Ct.call(ot,rt))&&nt(Ce,rt,ot[rt])}),Ce},Tt=function(Ce,le){return le===void 0?D(Ce):bt(D(Ce),le)},Ct=function(Ce){var le=_(Ce),ot=Ne.call(this,le);return this===X&&g(oe,le)&&!g(de,le)?!1:ot||!g(this,le)||!g(oe,le)||g(this,Le)&&this[Le][le]?ot:!0},Nt=function(Ce,le){var ot=x(Ce),wt=_(le);if(ot===X&&g(oe,wt)&&!g(de,wt))return;var rt=be(ot,wt);return rt&&g(oe,wt)&&!(g(ot,Le)&&ot[Le][wt])&&(rt.enumerable=!0),rt},Ge=function(Ce){var le=Ae(x(Ce)),ot=[];return Se(le,function(wt){!g(oe,wt)&&!g(J,wt)&&ot.push(wt)}),ot},ie=function(Ce){var le=Ce===X,ot=Ae(le?de:x(Ce)),wt=[];return Se(ot,function(rt){g(oe,rt)&&(!le||g(X,rt))&&wt.push(oe[rt])}),wt};if(h||(z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor");var Ce=!arguments.length||arguments[0]===void 0?void 0:I(arguments[0]),le=ae(Ce),ot=function wt(rt){this===X&&wt.call(de,rt),g(this,Le)&&g(this[Le],le)&&(this[Le][le]=!1),pt(this,le,L(1,rt))};return c&&Oe&&pt(X,le,{configurable:!0,set:ot}),Qe(le,Ce)},U(z[G],"toString",function(){return te(this).tag}),U(z,"withoutSetter",function(we){return Qe(ae(we),we)}),H.f=Ct,j.f=nt,R.f=Nt,N.f=k.f=Ge,W.f=ie,$.f=function(we){return Qe(se(we),we)},c&&(ne(z[G],"description",{configurable:!0,get:function(){return te(this).description}}),a||U(X,"propertyIsEnumerable",Ct,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:z}),Se(B(tt),function(we){ge(we)}),n({target:He,stat:!0,forced:!h},{for:function(Ce){var le=I(Ce);if(g(xe,le))return xe[le];var ot=z(le);return xe[le]=ot,Pe[ot]=le,ot},keyFor:function(Ce){if(!E(Ce))throw TypeError(Ce+" is not a symbol");if(g(Pe,Ce))return Pe[Ce]},useSetter:function(){Oe=!0},useSimple:function(){Oe=!1}}),n({target:"Object",stat:!0,forced:!h,sham:!c},{create:Tt,defineProperty:nt,defineProperties:bt,getOwnPropertyDescriptor:Nt}),n({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Ge,getOwnPropertySymbols:ie}),n({target:"Object",stat:!0,forced:f(function(){W.f(1)})},{getOwnPropertySymbols:function(Ce){return W.f(T(Ce))}}),Z){var Y=!h||f(function(){var we=z();return Z([we])!="[null]"||Z({a:we})!="{}"||Z(Object(we))!="{}"});n({target:"JSON",stat:!0,forced:Y},{stringify:function(Ce,le,ot){for(var wt=[Ce],rt=1,It;arguments.length>rt;)wt.push(arguments[rt++]);return It=le,!y(le)&&Ce===void 0||E(Ce)?void 0:(S(le)||(le=function(lr,pr){if(typeof It=="function"&&(pr=It.call(this,lr,pr)),!E(pr))return pr}),wt[1]=le,Z.apply(null,wt))}})}z[G][pe]||K(z[G],pe,z[G].valueOf),he(z,He),J[Le]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(e,r,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/dom-iterables.js"),t=i("./node_modules/core-js/internals/array-for-each.js"),a=i("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var c in l){var h=n[c],f=h&&h.prototype;if(f&&f.forEach!==t)try{a(f,"forEach",t)}catch(g){f.forEach=t}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(e,r,i){var n=i("./node_modules/core-js/internals/global.js"),l=i("./node_modules/core-js/internals/dom-iterables.js"),t=i("./node_modules/core-js/modules/es.array.iterator.js"),a=i("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=i("./node_modules/core-js/internals/well-known-symbol.js"),h=c("iterator"),f=c("toStringTag"),g=t.values;for(var S in l){var y=n[S],E=y&&y.prototype;if(E){if(E[h]!==g)try{a(E,h,g)}catch(T){E[h]=g}if(E[f]||a(E,f,S),l[S]){for(var C in t)if(E[C]!==t[C])try{a(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(r,i){e.exports=i()})(this,function(){"use strict";function r(Je){var Oe=typeof Je;return Je!==null&&(Oe==="object"||Oe==="function")}function i(Je){return typeof Je=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(Oe){return Object.prototype.toString.call(Oe)==="[object Array]"};var l=n,t=0,a=void 0,c=void 0,h=function(Oe,pt){B[t]=Oe,B[t+1]=pt,t+=2,t===2&&(c?c(N):W())};function f(Je){c=Je}function g(Je){h=Je}var S=typeof window!="undefined"?window:void 0,y=S||{},E=y.MutationObserver||y.WebKitMutationObserver,C=typeof self=="undefined"&&typeof A!="undefined"&&{}.toString.call(A)==="[object process]",T=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function x(){return function(){return A.nextTick(N)}}function _(){return typeof a!="undefined"?function(){a(N)}:D()}function I(){var Je=0,Oe=new E(N),pt=document.createTextNode("");return Oe.observe(pt,{characterData:!0}),function(){pt.data=Je=++Je%2}}function L(){var Je=new MessageChannel;return Je.port1.onmessage=N,function(){return Je.port2.postMessage(0)}}function D(){var Je=setTimeout;return function(){return Je(N,1)}}var B=new Array(1e3);function N(){for(var Je=0;Je<t;Je+=2){var Oe=B[Je],pt=B[Je+1];Oe(pt),B[Je]=void 0,B[Je+1]=void 0}t=0}function k(){try{var Je=Function("return this")().require("vertx");return a=Je.runOnLoop||Je.runOnContext,_()}catch(Oe){return D()}}var W=void 0;C?W=x():E?W=I():T?W=L():S===void 0&&!0?W=k():W=D();function R(Je,Oe){var pt=this,Qe=new this.constructor(K);Qe[H]===void 0&&Z(Qe);var nt=pt._state;if(nt){var bt=arguments[nt-1];h(function(){return We(nt,Qe,bt,pt._result)})}else G(pt,Qe,Je,Oe);return Qe}function j(Je){var Oe=this;if(Je&&typeof Je=="object"&&Je.constructor===Oe)return Je;var pt=new Oe(K);return Ie(pt,Je),pt}var H=Math.random().toString(36).substring(2);function K(){}var U=void 0,Q=1,V=2;function J(){return new TypeError("You cannot resolve a promise with itself")}function ae(){return new TypeError("A promises callback cannot return that same promise.")}function se(Je,Oe,pt,Qe){try{Je.call(Oe,pt,Qe)}catch(nt){return nt}}function $(Je,Oe,pt){h(function(Qe){var nt=!1,bt=se(pt,Oe,function(Tt){if(nt)return;nt=!0,Oe!==Tt?Ie(Qe,Tt):Le(Qe,Tt)},function(Tt){if(nt)return;nt=!0,He(Qe,Tt)},"Settle: "+(Qe._label||" unknown promise"));!nt&&bt&&(nt=!0,He(Qe,bt))},Je)}function ge(Je,Oe){Oe._state===Q?Le(Je,Oe._result):Oe._state===V?He(Je,Oe._result):G(Oe,void 0,function(pt){return Ie(Je,pt)},function(pt){return He(Je,pt)})}function he(Je,Oe,pt){Oe.constructor===Je.constructor&&pt===R&&Oe.constructor.resolve===j?ge(Je,Oe):pt===void 0?Le(Je,Oe):i(pt)?$(Je,Oe,pt):Le(Je,Oe)}function Ie(Je,Oe){if(Je===Oe)He(Je,J());else if(r(Oe)){var pt=void 0;try{pt=Oe.then}catch(Qe){He(Je,Qe);return}he(Je,Oe,pt)}else Le(Je,Oe)}function Se(Je){Je._onerror&&Je._onerror(Je._result),pe(Je)}function Le(Je,Oe){if(Je._state!==U)return;Je._result=Oe,Je._state=Q,Je._subscribers.length!==0&&h(pe,Je)}function He(Je,Oe){if(Je._state!==U)return;Je._state=V,Je._result=Oe,h(Se,Je)}function G(Je,Oe,pt,Qe){var nt=Je._subscribers,bt=nt.length;Je._onerror=null,nt[bt]=Oe,nt[bt+Q]=pt,nt[bt+V]=Qe,bt===0&&Je._state&&h(pe,Je)}function pe(Je){var Oe=Je._subscribers,pt=Je._state;if(Oe.length===0)return;for(var Qe=void 0,nt=void 0,bt=Je._result,Tt=0;Tt<Oe.length;Tt+=3)Qe=Oe[Tt],nt=Oe[Tt+pt],Qe?We(pt,Qe,nt,bt):nt(bt);Je._subscribers.length=0}function We(Je,Oe,pt,Qe){var nt=i(pt),bt=void 0,Tt=void 0,Ct=!0;if(nt){try{bt=pt(Qe)}catch(Nt){Ct=!1,Tt=Nt}if(Oe===bt){He(Oe,ae());return}}else bt=Qe;Oe._state!==U||(nt&&Ct?Ie(Oe,bt):Ct===!1?He(Oe,Tt):Je===Q?Le(Oe,bt):Je===V&&He(Oe,bt))}function te(Je,Oe){try{Oe(function(Qe){Ie(Je,Qe)},function(Qe){He(Je,Qe)})}catch(pt){He(Je,pt)}}var X=0;function z(){return X++}function Z(Je){Je[H]=X++,Je._state=void 0,Je._result=void 0,Je._subscribers=[]}function be(){return new Error("Array Methods must be provided an Array")}var ne=function(){function Je(Oe,pt){this._instanceConstructor=Oe,this.promise=new Oe(K),this.promise[H]||Z(this.promise),l(pt)?(this.length=pt.length,this._remaining=pt.length,this._result=new Array(this.length),this.length===0?Le(this.promise,this._result):(this.length=this.length||0,this._enumerate(pt),this._remaining===0&&Le(this.promise,this._result))):He(this.promise,be())}return Je.prototype._enumerate=function(pt){for(var Qe=0;this._state===U&&Qe<pt.length;Qe++)this._eachEntry(pt[Qe],Qe)},Je.prototype._eachEntry=function(pt,Qe){var nt=this._instanceConstructor,bt=nt.resolve;if(bt===j){var Tt=void 0,Ct=void 0,Nt=!1;try{Tt=pt.then}catch(ie){Nt=!0,Ct=ie}if(Tt===R&&pt._state!==U)this._settledAt(pt._state,Qe,pt._result);else if(typeof Tt!="function")this._remaining--,this._result[Qe]=pt;else if(nt===Pe){var Ge=new nt(K);Nt?He(Ge,Ct):he(Ge,pt,Tt),this._willSettleAt(Ge,Qe)}else this._willSettleAt(new nt(function(ie){return ie(pt)}),Qe)}else this._willSettleAt(bt(pt),Qe)},Je.prototype._settledAt=function(pt,Qe,nt){var bt=this.promise;bt._state===U&&(this._remaining--,pt===V?He(bt,nt):this._result[Qe]=nt),this._remaining===0&&Le(bt,this._result)},Je.prototype._willSettleAt=function(pt,Qe){var nt=this;G(pt,void 0,function(bt){return nt._settledAt(Q,Qe,bt)},function(bt){return nt._settledAt(V,Qe,bt)})},Je}();function Ae(Je){return new ne(this,Je).promise}function Ne(Je){var Oe=this;return l(Je)?new Oe(function(pt,Qe){for(var nt=Je.length,bt=0;bt<nt;bt++)Oe.resolve(Je[bt]).then(pt,Qe)}):new Oe(function(pt,Qe){return Qe(new TypeError("You must pass an array to race."))})}function oe(Je){var Oe=this,pt=new Oe(K);return He(pt,Je),pt}function de(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function xe(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Pe=function(){function Je(Oe){this[H]=z(),this._result=this._state=void 0,this._subscribers=[],K!==Oe&&(typeof Oe!="function"&&de(),this instanceof Je?te(this,Oe):xe())}return Je.prototype.catch=function(pt){return this.then(null,pt)},Je.prototype.finally=function(pt){var Qe=this,nt=Qe.constructor;return i(pt)?Qe.then(function(bt){return nt.resolve(pt()).then(function(){return bt})},function(bt){return nt.resolve(pt()).then(function(){throw bt})}):Qe.then(pt,pt)},Je}();Pe.prototype.then=R,Pe.all=Ae,Pe.race=Ne,Pe.resolve=j,Pe.reject=oe,Pe._setScheduler=f,Pe._setAsap=g,Pe._asap=h;function tt(){var Je=void 0;if(typeof w!="undefined")Je=w;else if(typeof self!="undefined")Je=self;else try{Je=Function("return this")()}catch(Qe){throw new Error("polyfill failed because global object is unavailable in this environment")}var Oe=Je.Promise;if(Oe){var pt=null;try{pt=Object.prototype.toString.call(Oe.resolve())}catch(Qe){}if(pt==="[object Promise]"&&!Oe.cast)return}Je.Promise=Pe}return Pe.polyfill=tt,Pe.Promise=Pe,Pe})},html2canvas:function(e){"use strict";e.exports=m},jspdf:function(e){"use strict";e.exports=b}},p={};function s(o){var e=p[o];if(e!==void 0)return e.exports;var r=p[o]={exports:{}};return v[o].call(r.exports,r,r.exports,s),r.exports}!function(){s.n=function(o){var e=o&&o.__esModule?function(){return o.default}:function(){return o};return s.d(e,{a:e}),e}}(),!function(){s.d=function(o,e){for(var r in e)s.o(e,r)&&!s.o(o,r)&&Object.defineProperty(o,r,{enumerable:!0,get:e[r]})}}(),!function(){s.o=function(o,e){return Object.prototype.hasOwnProperty.call(o,e)}}(),!function(){s.r=function(o){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})}}();var u={};return!function(){"use strict";/*!**********************!*\
|
|
|
!*** ./src/index.js ***!
|
|
|
\**********************/s.r(u);var o=s("./src/worker.js"),e=s("./src/plugin/jspdf-plugin.js"),r=s("./src/plugin/pagebreaks.js"),i=s("./src/plugin/hyperlinks.js"),n=function l(t,a){var c=new l.Worker(a);return t?c.from(t).save():c};n.Worker=o.default,u.default=n}(),u=u.default,u}()})}).call(this,d("yLpj"),d("Q2Ig"))},"1q3G":function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.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,P,d){var w=d("MBQ8"),A=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,A.superApply(this,"getInitialData",arguments)}}),b=A;M.exports=b},"1u/T":function(M,P,d){var w=d("ProS"),A={type:"selectDataRange",event:"dataRangeSelected",update:"update"};w.registerAction(A,function(b,m){m.eachComponent({mainType:"visualMap",query:b},function(v){v.setSelected(b.selected)})})},"1xaR":function(M,P,d){var w=d("ProS"),A=d("bYtY");d("qgGe"),d("NA0q"),d("RPvy");var b=d("mOdp"),m=d("y3NT"),v=d("0/Rx");w.registerVisual(A.curry(b,"sunburst")),w.registerLayout(A.curry(m,"sunburst")),w.registerProcessor(A.curry(v,"sunburst"))},"24YM":function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.SensorTabIndex=P.SensorClassName=P.SizeSensorId=void 0;var w="size-sensor-id";P.SizeSensorId=w;var A="size-sensor-object";P.SensorClassName=A;var b="-1";P.SensorTabIndex=b},"2548":function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("6GrX"),m=d("IUWy"),v=d("IwbS"),p=d("Qxkt"),s=d("gPAo"),u=d("eRkO"),o=w.extendComponentView({type:"toolbox",render:function(r,i,n,l){var t=this.group;if(t.removeAll(),!r.get("show"))return;var a=+r.get("itemSize"),c=r.get("feature")||{},h=this._features||(this._features={}),f=[];A.each(c,function(y,E){f.push(E)}),new s(this._featureNames||[],f).add(g).update(g).remove(A.curry(g,null)).execute(),this._featureNames=f;function g(y,E){var C=f[y],T=f[E],x=c[C],_=new p(x,r,r.ecModel),I;if(l&&l.newTitle!=null&&l.featureName===C&&(x.title=l.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,n)}h[C]=I}else{if(I=h[T],!I)return;I.model=_,I.ecModel=i,I.api=n}if(!C&&T){I.dispose&&I.dispose(i,n);return}if(!_.get("show")||I.unusable){I.remove&&I.remove(i,n);return}S(_,I,C),_.setIconStatus=function(D,B){var N=this.option,k=this.iconPaths;N.iconStatus=N.iconStatus||{},N.iconStatus[D]=B,k[D]&&k[D].trigger(B)},I.render&&I.render(_,i,n,l)}function S(y,E,C){var T=y.getModel("iconStyle"),x=y.getModel("emphasis.iconStyle"),_=E.getIcons?E.getIcons():y.get("icon"),I=y.get("title")||{};if(typeof _=="string"){var L=_,D=I;_={},I={},_[C]=L,I[C]=D}var B=y.iconPaths={};A.each(_,function(N,k){var W=v.createIcon(N,{},{x:-a/2,y:-a/2,width:a,height:a});W.setStyle(T.getItemStyle()),W.hoverStyle=x.getItemStyle(),W.setStyle({text:I[k],textAlign:x.get("textAlign"),textBorderRadius:x.get("textBorderRadius"),textPadding:x.get("textPadding"),textFill:null});var R=r.getModel("tooltip");R&&R.get("show")&&W.attr("tooltip",A.extend({content:I[k],formatter:R.get("formatter",!0)||function(){return I[k]},formatterParams:{componentType:"toolbox",name:k,title:I[k],$vars:["name","title"]},position:R.get("position",!0)||"bottom"},R.option)),v.setHoverStyle(W),r.get("showTitle")&&(W.__title=I[k],W.on("mouseover",function(){var j=x.getItemStyle(),H=r.get("orient")==="vertical"?r.get("right")==null?"right":"left":r.get("bottom")==null?"bottom":"top";W.setStyle({textFill:x.get("textFill")||j.fill||j.stroke||"#000",textBackgroundColor:x.get("textBackgroundColor"),textPosition:x.get("textPosition")||H})}).on("mouseout",function(){W.setStyle({textFill:null,textBackgroundColor:null})})),W.trigger(y.get("iconStatus."+k)||"normal"),t.add(W),W.on("click",A.bind(E.onclick,E,i,n,k)),B[k]=W})}u.layout(t,r,n),t.add(u.makeBackground(t.getBoundingRect(),r)),t.eachChild(function(y){var E=y.__title,C=y.hoverStyle;if(C&&E){var T=b.getBoundingRect(E,b.makeFont(C)),x=y.position[0]+t.position[0],_=y.position[1]+t.position[1]+a,I=!1;_+T.height>n.getHeight()&&(C.textPosition="top",I=!0);var L=I?-5-T.height:a+8;x+T.width/2>n.getWidth()?(C.textPosition=["100%",L],C.textAlign="right"):x-T.width/2<0&&(C.textPosition=[0,L],C.textAlign="left")}})},updateView:function(r,i,n,l){A.each(this._features,function(t){t.updateView&&t.updateView(t.model,i,n,l)})},remove:function(r,i){A.each(this._features,function(n){n.remove&&n.remove(r,i)}),this.group.removeAll()},dispose:function(r,i){A.each(this._features,function(n){n.dispose&&n.dispose(r,i)})}});function e(r){return r.indexOf("my")===0}M.exports=o},"26TI":function(M,P,d){},"2B6p":function(M,P){function d(w,A,b){var m=w.getZoom(),v=w.getCenter(),p=A.zoom,s=w.dataToPoint(v);if(A.dx!=null&&A.dy!=null){s[0]-=A.dx,s[1]-=A.dy;var v=w.pointToData(s);w.setCenter(v)}if(p!=null){if(b){var u=b.min||0,o=b.max||Infinity;p=Math.max(Math.min(m*p,o),u)/m}w.scale[0]*=p,w.scale[1]*=p;var e=w.position,r=(A.originX-e[0])*(p-1),i=(A.originY-e[1])*(p-1);e[0]-=r,e[1]-=i,w.updateTransform();var v=w.pointToData(s);w.setCenter(v),w.setZoom(p*m)}return{center:w.getCenter(),zoom:w.getZoom()}}P.updateCenterAndZoom=d},"2DNl":function(M,P,d){var w=d("IMiH"),A=d("loD1"),b=d("59Ip"),m=d("aKvl"),v=d("n1HI"),p=d("hX1E"),s=p.normalizeRadian,u=d("Sj9i"),o=d("hyiK"),e=w.CMD,r=Math.PI*2,i=1e-4;function n(E,C){return Math.abs(E-C)<i}var l=[-1,-1,-1],t=[-1,-1];function a(){var E=t[0];t[0]=t[1],t[1]=E}function c(E,C,T,x,_,I,L,D,B,N){if(N>C&&N>x&&N>I&&N>D||N<C&&N<x&&N<I&&N<D)return 0;var k=u.cubicRootAt(C,x,I,D,N,l);if(k===0)return 0;for(var W=0,R=-1,j,H,K=0;K<k;K++){var U=l[K],Q=U===0||U===1?.5:1,V=u.cubicAt(E,T,_,L,U);if(V<B)continue;R<0&&(R=u.cubicExtrema(C,x,I,D,t),t[1]<t[0]&&R>1&&a(),j=u.cubicAt(C,x,I,D,t[0]),R>1&&(H=u.cubicAt(C,x,I,D,t[1]))),R===2?U<t[0]?W+=j<C?Q:-Q:U<t[1]?W+=H<j?Q:-Q:W+=D<H?Q:-Q:U<t[0]?W+=j<C?Q:-Q:W+=D<j?Q:-Q}return W}function h(E,C,T,x,_,I,L,D){if(D>C&&D>x&&D>I||D<C&&D<x&&D<I)return 0;var B=u.quadraticRootAt(C,x,I,D,l);if(B===0)return 0;var N=u.quadraticExtremum(C,x,I);if(N>=0&&N<=1){for(var k=0,W=u.quadraticAt(C,x,I,N),R=0;R<B;R++){var j=l[R]===0||l[R]===1?.5:1,H=u.quadraticAt(E,T,_,l[R]);if(H<L)continue;l[R]<N?k+=W<C?j:-j:k+=I<W?j:-j}return k}else{var j=l[0]===0||l[0]===1?.5:1,H=u.quadraticAt(E,T,_,l[0]);return H<L?0:I<C?j:-j}}function f(E,C,T,x,_,I,L,D){if(D-=C,D>T||D<-T)return 0;var B=Math.sqrt(T*T-D*D);l[0]=-B,l[1]=B;var N=Math.abs(x-_);if(N<1e-4)return 0;if(N%r<1e-4){x=0,_=r;var k=I?1:-1;return L>=l[0]+E&&L<=l[1]+E?k:0}if(I){var B=x;x=s(_),_=s(B)}else x=s(x),_=s(_);x>_&&(_+=r);for(var W=0,R=0;R<2;R++){var j=l[R];if(j+E>L){var H=Math.atan2(D,j),k=I?1:-1;H<0&&(H=r+H),(H>=x&&H<=_||H+r>=x&&H+r<=_)&&(H>Math.PI/2&&H<Math.PI*1.5&&(k=-k),W+=k)}}return W}function g(E,C,T,x,_){for(var I=0,L=0,D=0,B=0,N=0,k=0;k<E.length;){var W=E[k++];W===e.M&&k>1&&(T||(I+=o(L,D,B,N,x,_))),k===1&&(L=E[k],D=E[k+1],B=L,N=D);switch(W){case e.M:B=E[k++],N=E[k++],L=B,D=N;break;case e.L:if(T){if(A.containStroke(L,D,E[k],E[k+1],C,x,_))return!0}else I+=o(L,D,E[k],E[k+1],x,_)||0;L=E[k++],D=E[k++];break;case e.C:if(T){if(b.containStroke(L,D,E[k++],E[k++],E[k++],E[k++],E[k],E[k+1],C,x,_))return!0}else I+=c(L,D,E[k++],E[k++],E[k++],E[k++],E[k],E[k+1],x,_)||0;L=E[k++],D=E[k++];break;case e.Q:if(T){if(m.containStroke(L,D,E[k++],E[k++],E[k],E[k+1],C,x,_))return!0}else I+=h(L,D,E[k++],E[k++],E[k],E[k+1],x,_)||0;L=E[k++],D=E[k++];break;case e.A:var R=E[k++],j=E[k++],H=E[k++],K=E[k++],U=E[k++],Q=E[k++];k+=1;var V=1-E[k++],J=Math.cos(U)*H+R,ae=Math.sin(U)*K+j;k>1?I+=o(L,D,J,ae,x,_):(B=J,N=ae);var se=(x-R)*K/H+R;if(T){if(v.containStroke(R,j,K,U,U+Q,V,C,se,_))return!0}else I+=f(R,j,K,U,U+Q,V,se,_);L=Math.cos(U+Q)*H+R,D=Math.sin(U+Q)*K+j;break;case e.R:B=L=E[k++],N=D=E[k++];var $=E[k++],ge=E[k++],J=B+$,ae=N+ge;if(T){if(A.containStroke(B,N,J,N,C,x,_)||A.containStroke(J,N,J,ae,C,x,_)||A.containStroke(J,ae,B,ae,C,x,_)||A.containStroke(B,ae,B,N,C,x,_))return!0}else I+=o(J,N,J,ae,x,_),I+=o(B,ae,B,N,x,_);break;case e.Z:if(T){if(A.containStroke(L,D,B,N,C,x,_))return!0}else I+=o(L,D,B,N,x,_);L=B,D=N;break}}return!T&&!n(D,N)&&(I+=o(L,D,B,N,x,_)||0),I!==0}function S(E,C,T){return g(E,0,!1,C,T)}function y(E,C,T,x){return g(E,C,!0,T,x)}P.contain=S,P.containStroke=y},"2HRC":function(M,P,d){},"2Qr1":function(M,P,d){"use strict";d.d(P,"d",function(){return o}),d.d(P,"c",function(){return r}),d.d(P,"e",function(){return i}),d.d(P,"b",function(){return t}),d.d(P,"f",function(){return a}),d.d(P,"g",function(){return c}),d.d(P,"a",function(){return h});var w=d("rePB"),A=d("T5bk"),b=d("KQm4"),m=d("U8pU"),v=d("VTBJ"),p=d("Kwbf"),s=d("WKfj");function u(f,g){var S=f.key,y;return"value"in f&&(y=f.value),S!=null?S:y!==void 0?y:"rc-index-key-".concat(g)}function o(f){var g=[];function S(y,E){y.forEach(function(C){E||!("options"in C)?g.push({key:u(C,g.length),groupOption:E,data:C}):(g.push({key:u(C,g.length),group:!0,data:C}),S(C.options,!0))})}return S(f,!1),g}function e(f){var g=Object(v.a)({},f);return"props"in g||Object.defineProperty(g,"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`."),g}}),g}function r(f,g){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},y=S.prevValueOptions,E=y===void 0?[]:y,C=new Map;return g.forEach(function(T){if(!T.group){var x=T.data;C.set(x.value,x)}}),f.map(function(T){var x=C.get(T);return x||(x=Object(v.a)({},E.find(function(_){return _._INTERNAL_OPTION_VALUE_===T}))),e(x)})}var i=function(g,S){var y=S.options,E=S.prevValueMap,C=S.labelInValue,T=S.optionLabelProp,x=r([g],y)[0],_={value:g},I=C?E.get(g):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=g,_.isCacheable=!0),_.key=_.value,_};function n(f){return Object(s.d)(f).join("")}function l(f){return function(g,S){var y=g.toLowerCase();if("options"in S)return n(S.label).toLowerCase().includes(y);var E=S[f],C=n(E).toLowerCase();return C.includes(y)}}function t(f,g,S){var y=S.optionFilterProp,E=S.filterOption,C=[],T;return E===!1?Object(b.a)(g):(typeof E=="function"?T=E:T=l(y),g.forEach(function(x){if("options"in x){var _=T(f,x);if(_)C.push(x);else{var I=x.options.filter(function(L){return T(f,L)});I.length&&C.push(Object(v.a)(Object(v.a)({},x),{},{options:I}))}return}T(f,e(x))&&C.push(x)}),C)}function a(f,g){if(!g||!g.length)return null;var S=!1;function y(C,T){var x=Object(A.a)(T),_=x[0],I=x.slice(1);if(!_)return[C];var L=C.split(_);return S=S||L.length>1,L.reduce(function(D,B){return[].concat(Object(b.a)(D),Object(b.a)(y(B,I)))},[]).filter(function(D){return D})}var E=y(f,g);return S?E:null}function c(f,g){var S=r([f],g)[0];return S.disabled}function h(f,g,S,y){var E=Object(s.d)(g).slice().sort(),C=Object(b.a)(f),T=new Set;return f.forEach(function(x){x.options?x.options.forEach(function(_){T.add(_.value)}):T.add(x.value)}),E.forEach(function(x){var _=y?x.value:x;if(!T.has(_)){var I;C.push(y?(I={},Object(w.a)(I,S,x.label),Object(w.a)(I,"value",_),I):{value:_})}}),C}},"2dDv":function(M,P,d){var w=d("bYtY"),A=d("Fofx"),b=d("+TT/"),m=d("aX7z"),v=d("D1WM"),p=d("IwbS"),s=d("OELB"),u=d("72pK"),o=w.each,e=Math.min,r=Math.max,i=Math.floor,n=Math.ceil,l=s.round,t=Math.PI;function a(S,y,E){this._axesMap=w.createHashMap(),this._axesLayout={},this.dimensions=S.dimensions,this._rect,this._model=S,this._init(S,y,E)}a.prototype={type:"parallel",constructor:a,_init:function(S,y,E){var C=S.dimensions,T=S.parallelAxisIndex;o(C,function(x,_){var I=T[_],L=y.getComponent("parallelAxis",I),D=this._axesMap.set(x,new v(x,m.createScaleByModel(L),[0,0],L.get("type"),I)),B=D.type==="category";D.onBand=B&&L.get("boundaryGap"),D.inverse=L.get("inverse"),L.axis=D,D.model=L,D.coordinateSystem=L.coordinateSystem=this},this)},update:function(S,y){this._updateAxesFromSeries(this._model,S)},containPoint:function(S){var y=this._makeLayoutInfo(),E=y.axisBase,C=y.layoutBase,T=y.pixelDimIndex,x=S[1-T],_=S[T];return x>=E&&x<=E+y.axisLength&&_>=C&&_<=C+y.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(S,y){y.eachSeries(function(E){if(!S.contains(E,y))return;var C=E.getData();o(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,y){this._rect=b.getLayoutRect(S.getBoxLayoutParams(),{width:y.getWidth(),height:y.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var S=this._model,y=this._rect,E=["x","y"],C=["width","height"],T=S.get("layout"),x=T==="horizontal"?0:1,_=y[C[x]],I=[0,_],L=this.dimensions.length,D=c(S.get("axisExpandWidth"),I),B=c(S.get("axisExpandCount")||0,[0,L]),N=S.get("axisExpandable")&&L>3&&L>B&&B>1&&D>0&&_>0,k=S.get("axisExpandWindow"),W;if(k)W=c(k[1]-k[0],I),k[1]=k[0]+W;else{W=c(D*(B-1),I);var R=S.get("axisExpandCenter")||i(L/2);k=[D*R-W/2],k[1]=k[0]+W}var j=(_-W)/(L-B);j<3&&(j=0);var H=[i(l(k[0]/D,1))+1,n(l(k[1]/D,1))-1],K=j/D*k[0];return{layout:T,pixelDimIndex:x,layoutBase:y[E[x]],layoutLength:_,axisBase:y[E[1-x]],axisLength:y[C[1-x]],axisExpandable:N,axisExpandWidth:D,axisCollapseWidth:j,axisExpandWindow:k,axisCount:L,winInnerIndices:H,axisExpandWindow0Pos:K}},_layoutAxes:function(){var S=this._rect,y=this._axesMap,E=this.dimensions,C=this._makeLayoutInfo(),T=C.layout;y.each(function(x){var _=[0,C.axisLength],I=x.inverse?1:0;x.setExtent(_[I],_[1-I])}),o(E,function(x,_){var I=(C.axisExpandable?f:h)(_,C),L={horizontal:{x:I.position,y:C.axisLength},vertical:{x:0,y:I.position}},D={horizontal:t/2,vertical:0},B=[L[T].x+S.x,L[T].y+S.y],N=D[T],k=A.create();A.rotate(k,k,N),A.translate(k,k,B),this._axesLayout[x]={position:B,rotation:N,transform:k,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,y){return this.axisCoordToPoint(this._axesMap.get(y).dataToCoord(S),y)},eachActiveState:function(S,y,E,C){E==null&&(E=0),C==null&&(C=S.count());var T=this._axesMap,x=this.dimensions,_=[],I=[];w.each(x,function(j){_.push(S.mapDimension(j)),I.push(T.get(j).model)});for(var L=this.hasAxisBrushed(),D=E;D<C;D++){var B;if(!L)B="normal";else{B="active";for(var N=S.getValues(_,D),k=0,W=x.length;k<W;k++){var R=I[k].getActiveState(N[k]);if(R==="inactive"){B="inactive";break}}}y(B,D)}},hasAxisBrushed:function(){for(var S=this.dimensions,y=this._axesMap,E=!1,C=0,T=S.length;C<T;C++)y.get(S[C]).model.getActiveState()!=="normal"&&(E=!0);return E},axisCoordToPoint:function(S,y){var E=this._axesLayout[y];return p.applyTransform([S,0],E.transform)},getAxisLayout:function(S){return w.clone(this._axesLayout[S])},getSlidedAxisExpandWindow:function(S){var y=this._makeLayoutInfo(),E=y.pixelDimIndex,C=y.axisExpandWindow.slice(),T=C[1]-C[0],x=[0,y.axisExpandWidth*(y.axisCount-1)];if(!this.containPoint(S))return{behavior:"none",axisExpandWindow:C};var _=S[E]-y.layoutBase-y.axisExpandWindow0Pos,I,L="slide",D=y.axisCollapseWidth,B=this._model.get("axisExpandSlideTriggerArea"),N=B[0]!=null;if(D)N&&D&&_<T*B[0]?(L="jump",I=_-T*B[2]):N&&D&&_>T*(1-B[0])?(L="jump",I=_-T*(1-B[2])):(I=_-T*B[1])>=0&&(I=_-T*(1-B[1]))<=0&&(I=0),I*=y.axisExpandWidth/D,I?u(I,C,x,"all"):L="none";else{var T=C[1]-C[0],k=x[1]*_/T;C=[r(0,k-T/2)],C[1]=e(x[1],C[0]+T),C[0]=C[1]-T}return{axisExpandWindow:C,behavior:L}}};function c(S,y){return e(r(S,y[0]),y[1])}function h(S,y){var E=y.layoutLength/(y.axisCount-1);return{position:E*S,axisNameAvailableWidth:E,axisLabelShow:!0}}function f(S,y){var E=y.layoutLength,C=y.axisExpandWidth,T=y.axisCount,x=y.axisCollapseWidth,_=y.winInnerIndices,I,L=x,D=!1,B;return S<_[0]?(I=S*x,B=x):S<=_[1]?(I=y.axisExpandWindow0Pos+S*C-y.axisExpandWindow[0],L=C,D=!0):(I=E-(T-1-S)*x,B=x),{position:I,axisNameAvailableWidth:L,axisLabelShow:D,nameTruncateMaxWidth:B}}var g=a;M.exports=g},"2fGM":function(M,P,d){var w=d("bYtY"),A=d("bLfw"),b=d("nkfE"),m=d("ICMv"),v=A.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});w.merge(v.prototype,m);var p={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function s(u,o){return o.type||(o.data?"category":"value")}b("angle",v,s,p.angle),b("radius",v,s,p.radius)},"2fw6":function(M,P,d){var w=d("y+Vt"),A=w.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(m,v,p){p&&m.moveTo(v.cx+v.r,v.cy),m.arc(v.cx,v.cy,v.r,0,Math.PI*2,!0)}});M.exports=A},"2uGb":function(M,P,d){var w=d("ProS");d("ko1b"),d("s2lz"),d("RBEP");var A=d("kMLO"),b=d("nKiI");w.registerVisual(A),w.registerLayout(b)},"2w7y":function(M,P,d){var w=d("ProS");d("qMZE"),d("g0SD"),w.registerPreprocessor(function(A){A.markPoint=A.markPoint||{}})},"33Ds":function(M,P,d){var w=d("ProS"),A=d("b9oc"),b=d("Kagy"),m=d("IUWy"),v=b.toolbox.restore;function p(o){this.model=o}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:v.title};var s=p.prototype;s.onclick=function(o,e,r){A.clear(o),e.dispatchAction({type:"restore",from:this.uid})},m.register("restore",p),w.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(o,e){e.resetOption("recreate")});var u=p;M.exports=u},"34/K":function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;function w(v,p){if(!(v instanceof p))throw new TypeError("Cannot call a class as a function")}function A(v,p){for(var s=0;s<p.length;s++){var u=p[s];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(v,u.key,u)}}function b(v,p,s){return p&&A(v.prototype,p),s&&A(v,s),v}var m=function(){function v(){w(this,v),this._lines=0}return b(v,[{key:"decodeRect",value:function(s,u,o,e,r,i,n){this._lines===0&&(this._lines=e);var l=n==8?1:4,t=o*l;if(r.rQwait("RAW",t))return!1;var a=u+(e-this._lines),c=Math.min(this._lines,Math.floor(r.rQlen/t)),h=r.rQ,f=r.rQi;if(n==8){for(var g=o*c,S=new Uint8Array(g*4),y=0;y<g;y++)S[y*4+0]=(h[f+y]>>0&3)*255/3,S[y*4+1]=(h[f+y]>>2&3)*255/3,S[y*4+2]=(h[f+y]>>4&3)*255/3,S[y*4+4]=0;h=S,f=0}return i.blitImage(s,a,o,c,h,f),r.rQskipBytes(c*t),this._lines-=c,!(this._lines>0)}}]),v}();P.default=m},"3690":function(M,P,d){"use strict";function w(o){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(o)}Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var A=m(d("Lo0S"));function b(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return b=function(){return o},o}function m(o){if(o&&o.__esModule)return o;if(o===null||w(o)!=="object"&&typeof o!="function")return{default:o};var e=b();if(e&&e.has(o))return e.get(o);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in o)if(Object.prototype.hasOwnProperty.call(o,n)){var l=i?Object.getOwnPropertyDescriptor(o,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=o[n]}return r.default=o,e&&e.set(o,r),r}function v(o,e){if(!(o instanceof e))throw new TypeError("Cannot call a class as a function")}function p(o,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(o,i.key,i)}}function s(o,e,r){return e&&p(o.prototype,e),r&&p(o,r),o}var u=function(){function o(){v(this,o),this._tiles=0,this._lastsubencoding=0}return s(o,[{key:"decodeRect",value:function(r,i,n,l,t,a,c){for(this._tiles===0&&(this._tilesX=Math.ceil(n/16),this._tilesY=Math.ceil(l/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){var h=1;if(t.rQwait("HEXTILE",h))return!1;var f=t.rQ,g=t.rQi,S=f[g];if(S>30)throw new Error("Illegal hextile subencoding (subencoding: "+S+")");var y=this._totalTiles-this._tiles,E=y%this._tilesX,C=Math.floor(y/this._tilesX),T=r+E*16,x=i+C*16,_=Math.min(16,r+n-T),I=Math.min(16,i+l-x);if(S&1)h+=_*I*4;else if(S&2&&(h+=4),S&4&&(h+=4),S&8){if(h++,t.rQwait("HEXTILE",h))return!1;var L=f[g+h-1];S&16?h+=L*(4+2):h+=L*2}if(t.rQwait("HEXTILE",h))return!1;if(g++,S===0)this._lastsubencoding&1?A.Debug(" Ignoring blank after RAW"):a.fillRect(T,x,_,I,this._background);else if(S&1)a.blitImage(T,x,_,I,f,g),g+=h-1;else{if(S&2&&(this._background=[f[g],f[g+1],f[g+2],f[g+3]],g+=4),S&4&&(this._foreground=[f[g],f[g+1],f[g+2],f[g+3]],g+=4),a.startTile(T,x,_,I,this._background),S&8){var D=f[g];g++;for(var B=0;B<D;B++){var N=void 0;S&16?(N=[f[g],f[g+1],f[g+2],f[g+3]],g+=4):N=this._foreground;var k=f[g];g++;var W=k>>4,R=k&15,j=f[g];g++;var H=(j>>4)+1,K=(j&15)+1;a.subTile(W,R,H,K,N)}}a.finishTile()}t.rQi=g,this._lastsubencoding=S,this._tiles--}return!0}}]),o}();P.default=u},"3C/r":function(M,P){var d=function(b,m){this.image=b,this.repeat=m,this.type="pattern"};d.prototype.getCanvasPattern=function(A){return A.createPattern(this.image,this.repeat||"repeat")};var w=d;M.exports=w},"3CBa":function(M,P,d){var w=d("hydK"),A=w.createElement,b=d("bYtY"),m=d("SUKs"),v=d("y+Vt"),p=d("Dagg"),s=d("dqUG"),u=d("DBLp"),o=d("sW+o"),e=d("n6Mw"),r=d("vKoX"),i=d("P47w"),n=i.path,l=i.image,t=i.text;function a(_){return parseInt(_,10)}function c(_){return _ instanceof v?n:_ instanceof p?l:_ instanceof s?t:n}function h(_,I){return I&&_&&I.parentNode!==_}function f(_,I,L){if(h(_,I)&&L){var D=L.nextSibling;D?_.insertBefore(I,D):_.appendChild(I)}}function g(_,I){if(h(_,I)){var L=_.firstChild;L?_.insertBefore(I,L):_.appendChild(I)}}function S(_,I){I&&_&&I.parentNode===_&&_.removeChild(I)}function y(_){return _.__textSvgEl}function E(_){return _.__svgEl}var C=function(I,L,D,B){this.root=I,this.storage=L,this._opts=D=b.extend({},D||{});var N=A("svg");N.setAttribute("xmlns","http://www.w3.org/2000/svg"),N.setAttribute("version","1.1"),N.setAttribute("baseProfile","full"),N.style.cssText="user-select:none;position:absolute;left:0;top:0;";var k=A("g");N.appendChild(k);var W=A("g");N.appendChild(W),this.gradientManager=new o(B,W),this.clipPathManager=new e(B,W),this.shadowManager=new r(B,W);var R=document.createElement("div");R.style.cssText="overflow:hidden;position:relative",this._svgDom=N,this._svgRoot=W,this._backgroundRoot=k,this._viewport=R,I.appendChild(R),R.appendChild(N),this.resize(D.width,D.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=A("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,D=this._visibleList,B=I.length,N=[],k;for(k=0;k<B;k++){var W=I[k],R=c(W),j=E(W)||y(W);W.invisible||(W.__dirty&&(R&&R.brush(W),this.clipPathManager.update(W),W.style&&(this.gradientManager.update(W.style.fill),this.gradientManager.update(W.style.stroke),this.shadowManager.update(j,W)),W.__dirty=!1),N.push(W))}var H=u(D,N),K;for(k=0;k<H.length;k++){var U=H[k];if(U.removed)for(var Q=0;Q<U.count;Q++){var W=D[U.indices[Q]],j=E(W),V=y(W);S(L,j),S(L,V)}}for(k=0;k<H.length;k++){var U=H[k];if(U.added)for(var Q=0;Q<U.count;Q++){var W=N[U.indices[Q]],j=E(W),V=y(W);K?f(L,j,K):g(L,j),j?f(L,V,j):K?f(L,V,K):g(L,V),f(L,V,j),K=V||j||K,this.gradientManager.addWithoutUpdate(j||V,W),this.shadowManager.addWithoutUpdate(j||V,W),this.clipPathManager.markUsed(W)}else if(!U.removed)for(var Q=0;Q<U.count;Q++){var W=N[U.indices[Q]],j=E(W),V=y(W),j=E(W),V=y(W);this.gradientManager.markUsed(W),this.gradientManager.addWithoutUpdate(j||V,W),this.shadowManager.markUsed(W),this.shadowManager.addWithoutUpdate(j||V,W),this.clipPathManager.markUsed(W),V&&f(L,V,j),K=j||V||K}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=N},_getDefs:function(I){var L=this._svgDom,D=L.getElementsByTagName("defs");if(D.length===0)if(I){var D=L.insertBefore(A("defs"),L.firstChild);return D.contains||(D.contains=function(N){var k=D.children;if(!k)return!1;for(var W=k.length-1;W>=0;--W)if(k[W]===N)return!0;return!1}),D}else return null;else return D[0]},resize:function(I,L){var D=this._viewport;D.style.display="none";var B=this._opts;if(I!=null&&(B.width=I),L!=null&&(B.height=L),I=this._getSize(0),L=this._getSize(1),D.style.display="",this._width!==I||this._height!==L){this._width=I,this._height=L;var N=D.style;N.width=I+"px",N.height=L+"px";var k=this._svgDom;k.setAttribute("width",I),k.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,D=["width","height"][I],B=["clientWidth","clientHeight"][I],N=["paddingLeft","paddingTop"][I],k=["paddingRight","paddingBottom"][I];if(L[D]!=null&&L[D]!=="auto")return parseFloat(L[D]);var W=this.root,R=document.defaultView.getComputedStyle(W);return(W[B]||a(R[D])||a(W.style[D]))-(a(R[N])||0)-(a(R[k])||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 "'+_+'"')}}b.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(_){C.prototype[_]=T(_)});var x=C;M.exports=x},"3LNs":function(M,P,d){var w=d("bYtY"),A=d("Yl7c"),b=d("IwbS"),m=d("zTMp"),v=d("YH21"),p=d("iLNv"),s=d("4NO4"),u=s.makeInner,o=u(),e=w.clone,r=w.bind;function i(){}i.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(f,g,S,y){var E=g.get("value"),C=g.get("status");if(this._axisModel=f,this._axisPointerModel=g,this._api=S,!y&&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,f,g,S);var I=_.graphicKey;I!==this._lastGraphicKey&&this.clear(S),this._lastGraphicKey=I;var L=this._moveAnimation=this.determineAnimation(f,g);if(!T)T=this._group=new b.Group,this.createPointerEl(T,_,f,g),this.createLabelEl(T,_,f,g),S.getZr().add(T);else{var D=w.curry(n,g,L);this.updatePointerEl(T,_,D,g),this.updateLabelEl(T,_,D,g)}c(T,g,!0),this._renderHandle(E)},remove:function(f){this.clear(f)},dispose:function(f){this.clear(f)},determineAnimation:function(f,g){var S=g.get("animation"),y=f.axis,E=y.type==="category",C=g.get("snap");if(!C&&!E)return!1;if(S==="auto"||S==null){var T=this.animationThreshold;if(E&&y.getBandWidth()>T)return!0;if(C){var x=m.getAxisInfo(f).seriesDataCount,_=y.getExtent();return Math.abs(_[0]-_[1])/x>T}return!1}return S===!0},makeElOption:function(f,g,S,y,E){},createPointerEl:function(f,g,S,y){var E=g.pointer;if(E){var C=o(f).pointerEl=new b[E.type](e(g.pointer));f.add(C)}},createLabelEl:function(f,g,S,y){if(g.label){var E=o(f).labelEl=new b.Rect(e(g.label));f.add(E),t(E,y)}},updatePointerEl:function(f,g,S){var y=o(f).pointerEl;y&&g.pointer&&(y.setStyle(g.pointer.style),S(y,{shape:g.pointer.shape}))},updateLabelEl:function(f,g,S,y){var E=o(f).labelEl;E&&(E.setStyle(g.label.style),S(E,{shape:g.label.shape,position:g.label.position}),t(E,y))},_renderHandle:function(f){if(this._dragging||!this.updateHandleTransform)return;var g=this._axisPointerModel,S=this._api.getZr(),y=this._handle,E=g.getModel("handle"),C=g.get("status");if(!E.get("show")||!C||C==="hide"){y&&S.remove(y),this._handle=null;return}var T;this._handle||(T=!0,y=this._handle=b.createIcon(E.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(I){v.stop(I.event)},onmousedown:r(this._onHandleDragMove,this,0,0),drift:r(this._onHandleDragMove,this),ondragend:r(this._onHandleDragEnd,this)}),S.add(y)),c(y,g,!1);var x=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];y.setStyle(E.getItemStyle(null,x));var _=E.get("size");w.isArray(_)||(_=[_,_]),y.attr("scale",[_[0]/2,_[1]/2]),p.createOrUpdate(this,"_doDispatchAxisPointer",E.get("throttle")||0,"fixRate"),this._moveHandleToValue(f,T)},_moveHandleToValue:function(f,g){n(this._axisPointerModel,!g&&this._moveAnimation,this._handle,a(this.getHandleTransform(f,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(f,g){var S=this._handle;if(!S)return;this._dragging=!0;var y=this.updateHandleTransform(a(S),[f,g],this._axisModel,this._axisPointerModel);this._payloadInfo=y,S.stopAnimation(),S.attr(a(y)),o(S).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var f=this._handle;if(!f)return;var g=this._payloadInfo,S=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:g.cursorPoint[0],y:g.cursorPoint[1],tooltipOption:g.tooltipOption,axesInfo:[{axisDim:S.axis.dim,axisIndex:S.componentIndex}]})},_onHandleDragEnd:function(f){this._dragging=!1;var g=this._handle;if(!g)return;var S=this._axisPointerModel.get("value");this._moveHandleToValue(S),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(f){this._lastValue=null,this._lastStatus=null;var g=f.getZr(),S=this._group,y=this._handle;g&&S&&(this._lastGraphicKey=null,S&&g.remove(S),y&&g.remove(y),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(f,g,S){return S=S||0,{x:f[S],y:f[1-S],width:g[S],height:g[1-S]}}},i.prototype.constructor=i;function n(f,g,S,y){l(o(S).lastProp,y)||(o(S).lastProp=y,g?b.updateProps(S,y,f):(S.stopAnimation(),S.attr(y)))}function l(f,g){if(w.isObject(f)&&w.isObject(g)){var S=!0;return w.each(g,function(y,E){S=S&&l(f[E],y)}),!!S}else return f===g}function t(f,g){f[g.get("label.show")?"show":"hide"]()}function a(f){return{position:f.position.slice(),rotation:f.rotation||0}}function c(f,g,S){var y=g.get("z"),E=g.get("zlevel");f&&f.traverse(function(C){C.type!=="group"&&(y!=null&&(C.z=y),E!=null&&(C.zlevel=E),C.silent=S)})}A.enableClassExtend(i);var h=i;M.exports=h},"3OrL":function(M,P,d){var w=d("bYtY"),A=d("6Ic6"),b=d("IwbS"),m=d("y+Vt"),v=["itemStyle"],p=["emphasis","itemStyle"],s=A.extend({type:"boxplot",render:function(n,l,t){var a=n.getData(),c=this.group,h=this._data;this._data||c.removeAll();var f=n.get("layout")==="horizontal"?1:0;a.diff(h).add(function(g){if(a.hasValue(g)){var S=a.getItemLayout(g),y=o(S,a,g,f,!0);a.setItemGraphicEl(g,y),c.add(y)}}).update(function(g,S){var y=h.getItemGraphicEl(S);if(!a.hasValue(g)){c.remove(y);return}var E=a.getItemLayout(g);y?e(E,y,a,g):y=o(E,a,g,f),c.add(y),a.setItemGraphicEl(g,y)}).remove(function(g){var S=h.getItemGraphicEl(g);S&&c.remove(S)}).execute(),this._data=a},remove:function(n){var l=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(a){a&&l.remove(a)})},dispose:w.noop}),u=m.extend({type:"boxplotBoxPath",shape:{},buildPath:function(n,l){var t=l.points,a=0;for(n.moveTo(t[a][0],t[a][1]),a++;a<4;a++)n.lineTo(t[a][0],t[a][1]);for(n.closePath();a<t.length;a++)n.moveTo(t[a][0],t[a][1]),a++,n.lineTo(t[a][0],t[a][1])}});function o(n,l,t,a,c){var h=n.ends,f=new u({shape:{points:c?r(h,a,n):h}});return e(n,f,l,t,c),f}function e(n,l,t,a,c){var h=t.hostModel,f=b[c?"initProps":"updateProps"];f(l,{shape:{points:n.ends}},h,a);var g=t.getItemModel(a),S=g.getModel(v),y=t.getItemVisual(a,"color"),E=S.getItemStyle(["borderColor"]);E.stroke=y,E.strokeNoScale=!0,l.useStyle(E),l.z2=100;var C=g.getModel(p).getItemStyle();b.setHoverStyle(l,C)}function r(n,l,t){return w.map(n,function(a){return a=a.slice(),a[l]=t.initBaseline,a})}var i=s;M.exports=i},"3TkU":function(M,P,d){d("aTJb"),d("OlYY"),d("fc+c"),d("QUw5"),d("Swgg"),d("LBfv"),d("noeP")},"3X6L":function(M,P,d){var w=d("bYtY"),A=d("7a+S"),b=d("OKJ2"),m=A.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,b);var v=m;M.exports=v},"3e3G":function(M,P,d){var w=d("bYtY"),A=d("QuXc"),b=function(p,s,u,o,e){this.x=p==null?.5:p,this.y=s==null?.5:s,this.r=u==null?.5:u,this.type="radial",this.global=e||!1,A.call(this,o)};b.prototype={constructor:b},w.inherits(b,A);var m=b;M.exports=m},"3gBT":function(M,P){var d=2311;function w(){return d++}M.exports=w},"3hzK":function(M,P){var d={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=d},"3m61":function(M,P){function d(A){return A instanceof Array||(A=[A,A]),A}function w(A){A.eachSeriesByType("graph",function(b){var m=b.getGraph(),v=b.getEdgeData(),p=d(b.get("edgeSymbol")),s=d(b.get("edgeSymbolSize")),u="lineStyle.color".split("."),o="lineStyle.opacity".split(".");v.setVisual("fromSymbol",p&&p[0]),v.setVisual("toSymbol",p&&p[1]),v.setVisual("fromSymbolSize",s&&s[0]),v.setVisual("toSymbolSize",s&&s[1]),v.setVisual("color",b.get(u)),v.setVisual("opacity",b.get(o)),v.each(function(e){var r=v.getItemModel(e),i=m.getEdgeByIndex(e),n=d(r.getShallow("symbol",!0)),l=d(r.getShallow("symbolSize",!0)),t=r.get(u),a=r.get(o);switch(t){case"source":t=i.node1.getVisual("color");break;case"target":t=i.node2.getVisual("color");break}n[0]&&i.setVisual("fromSymbol",n[0]),n[1]&&i.setVisual("toSymbol",n[1]),l[0]&&i.setVisual("fromSymbolSize",l[0]),l[1]&&i.setVisual("toSymbolSize",l[1]),i.setVisual("color",t),i.setVisual("opacity",a)})})}M.exports=w},"3ouR":function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="CloseSquareOutlined";var s=P.a=A.forwardRef(p)},"3zoK":function(M,P,d){var w=d("bYtY"),A=d("bLfw"),b=d("KCsZ"),m=d("nkfE"),v=d("OELB"),p=d("ICMv"),s=A.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return b([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(r){var i=this.activeIntervals=w.clone(r);if(i)for(var n=i.length-1;n>=0;n--)v.asc(i[n])},getActiveState:function(r){var i=this.activeIntervals;if(!i.length)return"normal";if(r==null||isNaN(r))return"inactive";if(i.length===1){var n=i[0];if(n[0]<=r&&r<=n[1])return"active"}else for(var l=0,t=i.length;l<t;l++)if(i[l][0]<=r&&r<=i[l][1])return"active";return"inactive"}}),u={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(s.prototype,p);function o(r,i){return i.type||(i.data?"category":"value")}m("parallel",s,o,u);var e=s;M.exports=e},"49sm":function(M,P){var d={}.toString;M.exports=Array.isArray||function(w){return d.call(w)=="[object Array]"}},"4Feb":function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=d("IwbS"),v=d("x3X8"),p=v.getDefaultLabel,s=d("MwEJ"),u=d("nVfU"),o=u.getLayoutOnAxis,e=d("gPAo"),r=d("T4UG"),i=d("Qxkt"),n=d("6Ic6"),l=d("sK/D"),t=l.createClipPath,a=d("qj72"),c=d("ANjR"),h=d("MHtr"),f=d("6usn"),g=d("Rx6q"),S=m.CACHED_LABEL_STYLE_PROPERTIES,y=["itemStyle"],E=["emphasis","itemStyle"],C=["label"],T=["emphasis","label"],x="e\0\0",_={cartesian2d:a,geo:c,singleAxis:h,polar:f,calendar:g};r.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($,ge){return s(this.getSource(),this)},getDataParams:function($,ge,he){var Ie=r.prototype.getDataParams.apply(this,arguments);return he&&(Ie.info=he.info),Ie}}),n.extend({type:"custom",_data:null,render:function($,ge,he,Ie){var Se=this._data,Le=$.getData(),He=this.group,G=B($,Le,ge,he);Le.diff(Se).add(function(We){k(null,We,G(We,Ie),$,He,Le)}).update(function(We,te){var X=Se.getItemGraphicEl(te);k(X,We,G(We,Ie),$,He,Le)}).remove(function(We){var te=Se.getItemGraphicEl(We);te&&He.remove(te)}).execute();var pe=$.get("clip",!0)?t($.coordinateSystem,!1,$):null;pe?He.setClipPath(pe):He.removeClipPath(),this._data=Le},incrementalPrepareRender:function($,ge,he){this.group.removeAll(),this._data=null},incrementalRender:function($,ge,he,Ie,Se){var Le=ge.getData(),He=B(ge,Le,he,Ie);function G(te){te.isGroup||(te.incremental=!0,te.useHoverLayer=!0)}for(var pe=$.start;pe<$.end;pe++){var We=k(null,pe,He(pe,Se),ge,this.group,Le);We.traverse(G)}},dispose:b.noop,filterForExposedEvent:function($,ge,he,Ie){var Se=ge.element;if(Se==null||he.name===Se)return!0;for(;(he=he.parent)&&he!==this.group;)if(he.name===Se)return!0;return!1}});function I($){var ge=$.type,he;if(ge==="path"){var Ie=$.shape,Se=Ie.width!=null&&Ie.height!=null?{x:Ie.x||0,y:Ie.y||0,width:Ie.width,height:Ie.height}:null,Le=J(Ie);he=m.makePath(Le,null,Se,Ie.layout||"center"),he.__customPathData=Le}else if(ge==="image")he=new m.Image({}),he.__customImagePath=$.style.image;else if(ge==="text")he=new m.Text({}),he.__customText=$.style.text;else if(ge==="group")he=new m.Group;else{if(ge==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var He=m.getShapeClass(ge);he=new He}return he.__customGraphicType=ge,he.name=$.name,he}function L($,ge,he,Ie,Se,Le,He){var G={},pe=he.style||{};if(he.shape&&(G.shape=b.clone(he.shape)),he.position&&(G.position=he.position.slice()),he.scale&&(G.scale=he.scale.slice()),he.origin&&(G.origin=he.origin.slice()),he.rotation&&(G.rotation=he.rotation),$.type==="image"&&he.style){var We=G.style={};b.each(["x","y","width","height"],function(z){D(z,We,pe,$.style,Le)})}if($.type==="text"&&he.style){var We=G.style={};b.each(["x","y"],function(Z){D(Z,We,pe,$.style,Le)}),!pe.hasOwnProperty("textFill")&&pe.fill&&(pe.textFill=pe.fill),!pe.hasOwnProperty("textStroke")&&pe.stroke&&(pe.textStroke=pe.stroke)}if($.type!=="group"&&($.useStyle(pe),Le)){$.style.opacity=0;var te=pe.opacity;te==null&&(te=1),m.initProps($,{style:{opacity:te}},Ie,ge)}Le?$.attr(G):m.updateProps($,G,Ie,ge),he.hasOwnProperty("z2")&&$.attr("z2",he.z2||0),he.hasOwnProperty("silent")&&$.attr("silent",he.silent),he.hasOwnProperty("invisible")&&$.attr("invisible",he.invisible),he.hasOwnProperty("ignore")&&$.attr("ignore",he.ignore),he.hasOwnProperty("info")&&$.attr("info",he.info);var X=he.styleEmphasis;m.setElementHoverStyle($,X),He&&m.setAsHighDownDispatcher($,X!==!1)}function D($,ge,he,Ie,Se){he[$]!=null&&!Se&&(ge[$]=he[$],he[$]=Ie[$])}function B($,ge,he,Ie){var Se=$.get("renderItem"),Le=$.coordinateSystem,He={};Le&&(He=Le.prepareCustoms?Le.prepareCustoms():_[Le.type](Le));var G=b.defaults({getWidth:Ie.getWidth,getHeight:Ie.getHeight,getZr:Ie.getZr,getDevicePixelRatio:Ie.getDevicePixelRatio,value:Ae,style:Ne,styleEmphasis:oe,visual:de,barLayout:xe,currentSeriesIndices:Pe,font:tt},He.api||{}),pe={context:{},seriesId:$.id,seriesName:$.name,seriesIndex:$.seriesIndex,coordSys:He.coordSys,dataInsideLength:ge.count(),encode:N($.getData())},We,te=!0,X,z,Z,be;return function(Je,Oe){return We=Je,te=!0,Se&&Se(b.defaults({dataIndexInside:Je,dataIndex:ge.getRawIndex(Je),actionType:Oe?Oe.type:null},pe),G)};function ne(Je){Je==null&&(Je=We),te&&(X=ge.getItemModel(Je),z=X.getModel(C),Z=X.getModel(T),be=ge.getItemVisual(Je,"color"),te=!1)}function Ae(Je,Oe){return Oe==null&&(Oe=We),ge.get(ge.getDimension(Je||0),Oe)}function Ne(Je,Oe){Oe==null&&(Oe=We),ne(Oe);var pt=X.getModel(y).getItemStyle();be!=null&&(pt.fill=be);var Qe=ge.getItemVisual(Oe,"opacity");Qe!=null&&(pt.opacity=Qe);var nt=Je?U(Je,z):z;return m.setTextStyle(pt,nt,null,{autoColor:be,isRectText:!0}),pt.text=nt.getShallow("show")?b.retrieve2($.getFormattedLabel(Oe,"normal"),p(ge,Oe)):null,Je&&Q(pt,Je),pt}function oe(Je,Oe){Oe==null&&(Oe=We),ne(Oe);var pt=X.getModel(E).getItemStyle(),Qe=Je?U(Je,Z):Z;return m.setTextStyle(pt,Qe,null,{isRectText:!0},!0),pt.text=Qe.getShallow("show")?b.retrieve3($.getFormattedLabel(Oe,"emphasis"),$.getFormattedLabel(Oe,"normal"),p(ge,Oe)):null,Je&&Q(pt,Je),pt}function de(Je,Oe){return Oe==null&&(Oe=We),ge.getItemVisual(Oe,Je)}function xe(Je){if(Le.getBaseAxis){var Oe=Le.getBaseAxis();return o(b.defaults({axis:Oe},Je),Ie)}}function Pe(){return he.getCurrentSeriesIndices()}function tt(Je){return m.getFont(Je,he)}}function N($){var ge={};return b.each($.dimensions,function(he,Ie){var Se=$.getDimensionInfo(he);if(!Se.isExtraCoord){var Le=Se.coordDim,He=ge[Le]=ge[Le]||[];He[Se.coordDimIndex]=Ie}}),ge}function k($,ge,he,Ie,Se,Le){return $=W($,ge,he,Ie,Se,Le,!0),$&&Le.setItemGraphicEl(ge,$),$}function W($,ge,he,Ie,Se,Le,He){var G=!he;he=he||{};var pe=he.type,We=he.shape,te=he.style;if($&&(G||pe!=null&&pe!==$.__customGraphicType||pe==="path"&&ae(We)&&J(We)!==$.__customPathData||pe==="image"&&se(te,"image")&&te.image!==$.__customImagePath||pe==="text"&&se(We,"text")&&te.text!==$.__customText)&&(Se.remove($),$=null),G)return;var X=!$;return!$&&($=I(he)),L($,ge,he,Ie,Le,X,He),pe==="group"&&R($,ge,he,Ie,Le),Se.add($),$}function R($,ge,he,Ie,Se){var Le=he.children,He=Le?Le.length:0,G=he.$mergeChildren,pe=G==="byName"||he.diffChildrenByName,We=G===!1;if(!He&&!pe&&!We)return;if(pe){j({oldChildren:$.children()||[],newChildren:Le||[],dataIndex:ge,animatableModel:Ie,group:$,data:Se});return}We&&$.removeAll();for(var te=0;te<He;te++)Le[te]&&W($.childAt(te),ge,Le[te],Ie,$,Se)}function j($){new e($.oldChildren,$.newChildren,H,H,$).add(K).update(K).remove(V).execute()}function H($,ge){var he=$&&$.name;return he!=null?he:x+ge}function K($,ge){var he=this.context,Ie=$!=null?he.newChildren[$]:null,Se=ge!=null?he.oldChildren[ge]:null;W(Se,he.dataIndex,Ie,he.animatableModel,he.group,he.data)}function U($,ge){var he=new i({},ge);return b.each(S,function(Ie,Se){$.hasOwnProperty(Ie)&&(he.option[Se]=$[Ie])}),he}function Q($,ge){for(var he in ge)(ge.hasOwnProperty(he)||!S.hasOwnProperty(he))&&($[he]=ge[he])}function V($){var ge=this.context,he=ge.oldChildren[$];he&&ge.group.remove(he)}function J($){return $&&($.pathData||$.d)}function ae($){return $&&($.hasOwnProperty("pathData")||$.hasOwnProperty("d"))}function se($,ge){return $&&$.hasOwnProperty(ge)}},"4HMb":function(M,P,d){var w=d("bYtY"),A=d("6GrX"),b=d("4NO4"),m=b.makeInner,v=d("aX7z"),p=v.makeLabelFormatter,s=v.getOptionCategoryInterval,u=v.shouldShowAllLabels,o=m();function e(C){return C.type==="category"?i(C):t(C)}function r(C,T){return C.type==="category"?l(C,T):{ticks:C.scale.getTicks()}}function i(C){var T=C.getLabelModel(),x=n(C,T);return!T.get("show")||C.scale.isBlank()?{labels:[],labelCategoryInterval:x.labelCategoryInterval}:x}function n(C,T){var x=a(C,"labels"),_=s(T),I=c(x,_);if(I)return I;var L,D;return w.isFunction(_)?L=E(C,_):(D=_==="auto"?f(C):_,L=y(C,D)),h(x,_,{labels:L,labelCategoryInterval:D})}function l(C,T){var x=a(C,"ticks"),_=s(T),I=c(x,_);if(I)return I;var L,D;if((!T.get("show")||C.scale.isBlank())&&(L=[]),w.isFunction(_))L=E(C,_,!0);else if(_==="auto"){var B=n(C,C.getLabelModel());D=B.labelCategoryInterval,L=w.map(B.labels,function(N){return N.tickValue})}else D=_,L=y(C,D,!0);return h(x,_,{ticks:L,tickCategoryInterval:D})}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 a(C,T){return o(C)[T]||(o(C)[T]=[])}function c(C,T){for(var x=0;x<C.length;x++)if(C[x].key===T)return C[x].value}function h(C,T,x){return C.push({key:T,value:x}),x}function f(C){var T=o(C).autoInterval;return T!=null?T:o(C).autoInterval=C.calculateCategoryInterval()}function g(C){var T=S(C),x=p(C),_=(T.axisRotate-T.labelRotate)/180*Math.PI,I=C.scale,L=I.getExtent(),D=I.count();if(L[1]-L[0]<1)return 0;var B=1;D>40&&(B=Math.max(1,Math.floor(D/40)));for(var N=L[0],k=C.dataToCoord(N+1)-C.dataToCoord(N),W=Math.abs(k*Math.cos(_)),R=Math.abs(k*Math.sin(_)),j=0,H=0;N<=L[1];N+=B){var K=0,U=0,Q=A.getBoundingRect(x(N),T.font,"center","top");K=Q.width*1.3,U=Q.height*1.3,j=Math.max(j,K,7),H=Math.max(H,U,7)}var V=j/W,J=H/R;isNaN(V)&&(V=Infinity),isNaN(J)&&(J=Infinity);var ae=Math.max(0,Math.floor(Math.min(V,J))),se=o(C.model),$=C.getExtent(),ge=se.lastAutoInterval,he=se.lastTickCount;return ge!=null&&he!=null&&Math.abs(ge-ae)<=1&&Math.abs(he-D)<=1&&ge>ae&&se.axisExtend0===$[0]&&se.axisExtend1===$[1]?ae=ge:(se.lastTickCount=D,se.lastAutoInterval=ae,se.axisExtend0=$[0],se.axisExtend1=$[1]),ae}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 y(C,T,x){var _=p(C),I=C.scale,L=I.getExtent(),D=C.getLabelModel(),B=[],N=Math.max((T||0)+1,1),k=L[0],W=I.count();k!==0&&N>1&&W/N>2&&(k=Math.round(Math.ceil(k/N)*N));var R=u(C),j=D.get("showMinLabel")||R,H=D.get("showMaxLabel")||R;j&&k!==L[0]&&U(L[0]);for(var K=k;K<=L[1];K+=N)U(K);H&&K-N!==L[1]&&U(L[1]);function U(Q){B.push(x?Q:{formattedLabel:_(Q),rawLabel:I.getLabel(Q),tickValue:Q})}return B}function E(C,T,x){var _=C.scale,I=p(C),L=[];return w.each(_.getTicks(),function(D){var B=_.getLabel(D);T(D,B)&&L.push(x?D:{formattedLabel:I(D),rawLabel:B,tickValue:D})}),L}P.createAxisLabels=e,P.createAxisTicks=r,P.calculateCategoryInterval=g},"4NO4":function(M,P,d){var w=d("bYtY"),A=d("ItGF"),b=w.each,m=w.isObject,v=w.isArray,p="series\0";function s(x){return x instanceof Array?x:x==null?[]:[x]}function u(x,_,I){if(x){x[_]=x[_]||{},x.emphasis=x.emphasis||{},x.emphasis[_]=x.emphasis[_]||{};for(var L=0,D=I.length;L<D;L++){var B=I[L];!x.emphasis[_].hasOwnProperty(B)&&x[_].hasOwnProperty(B)&&(x.emphasis[_][B]=x[_][B])}}}var o=["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)&&!v(x)&&!(x instanceof Date)?x.value:x}function r(x){return m(x)&&!(x instanceof Array)}function i(x,_){_=(_||[]).slice();var I=w.map(x||[],function(L,D){return{exist:L}});return b(_,function(L,D){if(!m(L))return;for(var B=0;B<I.length;B++)if(!I[B].option&&L.id!=null&&I[B].exist.id===L.id+""){I[B].option=L,_[D]=null;return}for(var B=0;B<I.length;B++){var N=I[B].exist;if(!I[B].option&&(N.id==null||L.id==null)&&L.name!=null&&!t(L)&&!t(N)&&N.name===L.name+""){I[B].option=L,_[D]=null;return}}}),b(_,function(L,D){if(!m(L))return;for(var B=0;B<I.length;B++){var N=I[B].exist;if(!I[B].option&&!t(N)&&L.id==null){I[B].option=L;break}}B>=I.length&&I.push({option:L})}),I}function n(x){var _=w.createHashMap();b(x,function(I,L){var D=I.exist;D&&_.set(D.id,I)}),b(x,function(I,L){var D=I.option;w.assert(!D||D.id==null||!_.get(D.id)||_.get(D.id)===I,"id duplicates: "+(D&&D.id)),D&&D.id!=null&&_.set(D.id,I),!I.keyInfo&&(I.keyInfo={})}),b(x,function(I,L){var D=I.exist,B=I.option,N=I.keyInfo;if(!m(B))return;if(N.name=B.name!=null?B.name+"":D?D.name:p+L,D)N.id=D.id;else if(B.id!=null)N.id=B.id+"";else{var k=0;do N.id="\0"+N.name+"\0"+k++;while(_.get(N.id))}_.set(N.id,I)})}function l(x){var _=x.name;return!!(_&&_.indexOf(p))}function t(x){return m(x)&&x.id&&(x.id+"").indexOf("\0_ec_\0")===0}function a(x,_){var I={},L={};return D(x||[],I),D(_||[],L,I),[B(I),B(L)];function D(N,k,W){for(var R=0,j=N.length;R<j;R++)for(var H=N[R].seriesId,K=s(N[R].dataIndex),U=W&&W[H],Q=0,V=K.length;Q<V;Q++){var J=K[Q];U&&U[J]?U[J]=null:(k[H]||(k[H]={}))[J]=1}}function B(N,k){var W=[];for(var R in N)if(N.hasOwnProperty(R)&&N[R]!=null)if(k)W.push(+R);else{var j=B(N[R],!0);j.length&&W.push({seriesId:R,dataIndex:j})}return W}}function c(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 h(){var x="__\0ec_inner_"+f+++"_"+Math.random().toFixed(5);return function(_){return _[x]||(_[x]={})}}var f=0;function g(x,_,I){if(w.isString(_)){var L={};L[_+"Index"]=0,_=L}var D=I&&I.defaultMainType;D&&!S(_,D+"Index")&&!S(_,D+"Id")&&!S(_,D+"Name")&&(_[D+"Index"]=0);var B={};return b(_,function(N,k){var N=_[k];if(k==="dataIndex"||k==="dataIndexInside"){B[k]=N;return}var W=k.match(/^(\w+)(Index|Id|Name)$/)||[],R=W[1],j=(W[2]||"").toLowerCase();if(!R||!j||N==null||j==="index"&&N==="none"||I&&I.includeMainTypes&&w.indexOf(I.includeMainTypes,R)<0)return;var H={mainType:R};(j!=="index"||N!=="all")&&(H[j]=N);var K=x.queryComponents(H);B[R+"Models"]=K,B[R+"Model"]=K[0]}),B}function S(x,_){return x&&x.hasOwnProperty(_)}function y(x,_,I){x.setAttribute?x.setAttribute(_,I):x[_]=I}function E(x,_){return x.getAttribute?x.getAttribute(_):x[_]}function C(x){return x==="auto"?A.domSupported?"html":"richText":x||"html"}function T(x,_){var I=w.createHashMap(),L=[];return w.each(x,function(D){var B=_(D);(I.get(B)||(L.push(B),I.set(B,[]))).push(D)}),{keys:L,buckets:I}}P.normalizeToArray=s,P.defaultEmphasis=u,P.TEXT_STYLE_OPTIONS=o,P.getDataItemValue=e,P.isDataItemOption=r,P.mappingToExists=i,P.makeIdAndName=n,P.isNameSpecified=l,P.isIdInner=t,P.compressBatches=a,P.queryDataIndex=c,P.makeInner=h,P.parseFinder=g,P.setAttribute=y,P.getAttribute=E,P.getTooltipRenderMode=C,P.groupData=T},"4NgU":function(M,P,d){var w=d("Yl7c");function A(m){this._setting=m||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}A.prototype.parse=function(m){return m},A.prototype.getSetting=function(m){return this._setting[m]},A.prototype.contain=function(m){var v=this._extent;return m>=v[0]&&m<=v[1]},A.prototype.normalize=function(m){var v=this._extent;return v[1]===v[0]?.5:(m-v[0])/(v[1]-v[0])},A.prototype.scale=function(m){var v=this._extent;return m*(v[1]-v[0])+v[0]},A.prototype.unionExtent=function(m){var v=this._extent;m[0]<v[0]&&(v[0]=m[0]),m[1]>v[1]&&(v[1]=m[1])},A.prototype.unionExtentFromData=function(m,v){this.unionExtent(m.getApproximateExtent(v))},A.prototype.getExtent=function(){return this._extent.slice()},A.prototype.setExtent=function(m,v){var p=this._extent;isNaN(m)||(p[0]=m),isNaN(v)||(p[1]=v)},A.prototype.isBlank=function(){return this._isBlank},A.prototype.setBlank=function(m){this._isBlank=m},A.prototype.getLabel=null,w.enableClassExtend(A),w.enableClassManagement(A,{registerWhenExtend:!0});var b=A;M.exports=b},"4ZVq":function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("oL4h"),m=d.n(b),v=d("W9l/")},"4fr0":function(M,P,d){},"4fz+":function(M,P,d){var w=d("bYtY"),A=d("1bdT"),b=d("mFDi"),m=function(s){s=s||{},A.call(this,s);for(var u in s)s.hasOwnProperty(u)&&(this[u]=s[u]);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(s){return this._children[s]},childOfName:function(s){for(var u=this._children,o=0;o<u.length;o++)if(u[o].name===s)return u[o]},childCount:function(){return this._children.length},add:function(s){return s&&s!==this&&s.parent!==this&&(this._children.push(s),this._doAdd(s)),this},addBefore:function(s,u){if(s&&s!==this&&s.parent!==this&&u&&u.parent===this){var o=this._children,e=o.indexOf(u);e>=0&&(o.splice(e,0,s),this._doAdd(s))}return this},_doAdd:function(s){s.parent&&s.parent.remove(s),s.parent=this;var u=this.__storage,o=this.__zr;u&&u!==s.__storage&&(u.addToStorage(s),s instanceof m&&s.addChildrenToStorage(u)),o&&o.refresh()},remove:function(s){var u=this.__zr,o=this.__storage,e=this._children,r=w.indexOf(e,s);return r<0?this:(e.splice(r,1),s.parent=null,o&&(o.delFromStorage(s),s instanceof m&&s.delChildrenFromStorage(o)),u&&u.refresh(),this)},removeAll:function(){var s=this._children,u=this.__storage,o,e;for(e=0;e<s.length;e++)o=s[e],u&&(u.delFromStorage(o),o instanceof m&&o.delChildrenFromStorage(u)),o.parent=null;return s.length=0,this},eachChild:function(s,u){for(var o=this._children,e=0;e<o.length;e++){var r=o[e];s.call(u,r,e)}return this},traverse:function(s,u){for(var o=0;o<this._children.length;o++){var e=this._children[o];s.call(u,e),e.type==="group"&&e.traverse(s,u)}return this},addChildrenToStorage:function(s){for(var u=0;u<this._children.length;u++){var o=this._children[u];s.addToStorage(o),o instanceof m&&o.addChildrenToStorage(s)}},delChildrenFromStorage:function(s){for(var u=0;u<this._children.length;u++){var o=this._children[u];s.delFromStorage(o),o instanceof m&&o.delChildrenFromStorage(s)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(s){for(var u=null,o=new b(0,0,0,0),e=s||this._children,r=[],i=0;i<e.length;i++){var n=e[i];if(n.ignore||n.invisible)continue;var l=n.getBoundingRect(),t=n.getLocalTransform(r);t?(o.copy(l),o.applyTransform(t),u=u||o.clone(),u.union(o)):(u=u||l.clone(),u.union(l))}return u||o}},w.inherits(m,A);var v=m;M.exports=v},"4mN7":function(M,P,d){var w=d("QBsz"),A=d("Sj9i"),b=Math.min,m=Math.max,v=Math.sin,p=Math.cos,s=Math.PI*2,u=w.create(),o=w.create(),e=w.create();function r(h,f,g){if(h.length===0)return;var S=h[0],y=S[0],E=S[0],C=S[1],T=S[1],x;for(x=1;x<h.length;x++)S=h[x],y=b(y,S[0]),E=m(E,S[0]),C=b(C,S[1]),T=m(T,S[1]);f[0]=y,f[1]=C,g[0]=E,g[1]=T}function i(h,f,g,S,y,E){y[0]=b(h,g),y[1]=b(f,S),E[0]=m(h,g),E[1]=m(f,S)}var n=[],l=[];function t(h,f,g,S,y,E,C,T,x,_){var I=A.cubicExtrema,L=A.cubicAt,D,B=I(h,g,y,C,n);for(x[0]=Infinity,x[1]=Infinity,_[0]=-Infinity,_[1]=-Infinity,D=0;D<B;D++){var N=L(h,g,y,C,n[D]);x[0]=b(N,x[0]),_[0]=m(N,_[0])}for(B=I(f,S,E,T,l),D=0;D<B;D++){var k=L(f,S,E,T,l[D]);x[1]=b(k,x[1]),_[1]=m(k,_[1])}x[0]=b(h,x[0]),_[0]=m(h,_[0]),x[0]=b(C,x[0]),_[0]=m(C,_[0]),x[1]=b(f,x[1]),_[1]=m(f,_[1]),x[1]=b(T,x[1]),_[1]=m(T,_[1])}function a(h,f,g,S,y,E,C,T){var x=A.quadraticExtremum,_=A.quadraticAt,I=m(b(x(h,g,y),1),0),L=m(b(x(f,S,E),1),0),D=_(h,g,y,I),B=_(f,S,E,L);C[0]=b(h,y,D),C[1]=b(f,E,B),T[0]=m(h,y,D),T[1]=m(f,E,B)}function c(h,f,g,S,y,E,C,T,x){var _=w.min,I=w.max,L=Math.abs(y-E);if(L%s<1e-4&&L>1e-4){T[0]=h-g,T[1]=f-S,x[0]=h+g,x[1]=f+S;return}if(u[0]=p(y)*g+h,u[1]=v(y)*S+f,o[0]=p(E)*g+h,o[1]=v(E)*S+f,_(T,u,o),I(x,u,o),y=y%s,y<0&&(y=y+s),E=E%s,E<0&&(E=E+s),y>E&&!C?E+=s:y<E&&C&&(y+=s),C){var D=E;E=y,y=D}for(var B=0;B<E;B+=Math.PI/2)B>y&&(e[0]=p(B)*g+h,e[1]=v(B)*S+f,_(T,e,T),I(x,e,x))}P.fromPoints=r,P.fromLine=i,P.fromCubic=t,P.fromQuadratic=a,P.fromArc=c},"4qIk":function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("+kr+"),m=d.n(b)},"4vYq":function(M,P,d){"use strict";var w=d("wx14"),A=d("q1tI"),b=d.n(A),m=d("d+VM"),v=d("9R2V"),p=d("jeoS"),s=d("MZCN"),u=function(e,r){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l<n.length;l++)r.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(i[n[l]]=e[n[l]]);return i},o=A.forwardRef(function(e,r){var i=e.prefixCls,n=e.title,l=e.content,t=u(e,["prefixCls","title","content"]),a=A.useContext(v.b),c=a.getPrefixCls,h=function(y){return A.createElement(A.Fragment,null,n&&A.createElement("div",{className:"".concat(y,"-title")},Object(p.a)(n)),A.createElement("div",{className:"".concat(y,"-inner-content")},Object(p.a)(l)))},f=c("popover",i),g=c();return A.createElement(m.a,Object(w.a)({},t,{prefixCls:f,ref:r,overlay:h(f),transitionName:Object(s.b)(g,"zoom-big",t.transitionName)}))});o.displayName="Popover",o.defaultProps={placement:"top",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},P.a=o},"56rv":function(M,P,d){var w=d("IwbS"),A=d("x3X8"),b=A.getDefaultLabel;function m(p,s,u,o,e,r,i){var n=u.getModel("label"),l=u.getModel("emphasis.label");w.setLabelStyle(p,s,n,l,{labelFetcher:e,labelDataIndex:r,defaultText:b(e.getData(),r),isRectText:!0,autoColor:o}),v(p),v(s)}function v(p,s){p.textPosition==="outside"&&(p.textPosition=s)}P.setLabel=m},"59Ip":function(M,P,d){var w=d("Sj9i");function A(b,m,v,p,s,u,o,e,r,i,n){if(r===0)return!1;var l=r;if(n>m+l&&n>p+l&&n>u+l&&n>e+l||n<m-l&&n<p-l&&n<u-l&&n<e-l||i>b+l&&i>v+l&&i>s+l&&i>o+l||i<b-l&&i<v-l&&i<s-l&&i<o-l)return!1;var t=w.cubicProjectPoint(b,m,v,p,s,u,o,e,i,n,null);return t<=l/2}P.containStroke=A},"5GhG":function(M,P,d){var w=d("5GtS"),A=d("bYtY"),b=d("L0Ub"),m=b.getDimensionTypeByAxis,v=d("D5nY"),p=v.makeSeriesEncodeForAxisCoordSys,s={_baseAxisDim:null,getInitialData:function(u,o){var e,r=o.getComponent("xAxis",this.get("xAxisIndex")),i=o.getComponent("yAxis",this.get("yAxisIndex")),n=r.get("type"),l=i.get("type"),t;n==="category"?(u.layout="horizontal",e=r.getOrdinalMeta(),t=!0):l==="category"?(u.layout="vertical",e=i.getOrdinalMeta(),t=!0):u.layout=u.layout||"horizontal";var a=["x","y"],c=u.layout==="horizontal"?0:1,h=this._baseAxisDim=a[c],f=a[1-c],g=[r,i],S=g[c].get("type"),y=g[1-c].get("type"),E=u.data;if(E&&t){var C=[];A.each(E,function(_,I){var L;_.value&&A.isArray(_.value)?(L=_.value.slice(),_.value.unshift(I)):A.isArray(_)?(L=_.slice(),_.unshift(I)):L=_,C.push(L)}),u.data=C}var T=this.defaultValueDimensions,x=[{name:h,type:m(S),ordinalMeta:e,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:f,type:m(y),dimsDef:T.slice()}];return w(this,{coordDimensions:x,dimensionsCount:T.length+1,encodeDefaulter:A.curry(p,x,this)})},getBaseAxis:function(){var u=this._baseAxisDim;return this.ecModel.getComponent(u+"Axis",this.get(u+"AxisIndex")).axis}};P.seriesModelMixin=s},"5GtS":function(M,P,d){var w=d("sdST"),A=d("YXkt"),b=d("bYtY"),m=b.extend,v=b.isArray;function p(s,u,o){u=v(u)&&{coordDimensions:u}||m({},u);var e=s.getSource(),r=w(e,u),i=new A(r,s);return i.initData(e,o),i}M.exports=p},"5Hur":function(M,P,d){var w=d("4NO4"),A=w.makeInner,b=w.normalizeToArray,m=A();function v(s,u){for(var o=s.length,e=0;e<o;e++)if(s[e].length>u)return s[e];return s[o-1]}var p={clearColorPalette:function(){m(this).colorIdx=0,m(this).colorNameMap={}},getColorFromPalette:function(s,u,o){u=u||this;var e=m(u),r=e.colorIdx||0,i=e.colorNameMap=e.colorNameMap||{};if(i.hasOwnProperty(s))return i[s];var n=b(this.get("color",!0)),l=this.get("colorLayer",!0),t=o==null||!l?n:v(l,o);if(t=t||n,!t||!t.length)return;var a=t[r];return s&&(i[s]=a),e.colorIdx=(r+1)%t.length,a}};M.exports=p},"5NHt":function(M,P,d){d("aTJb"),d("OlYY"),d("fc+c"),d("N5BQ"),d("IyUQ"),d("LBfv"),d("noeP")},"5T1g":function(M,P,d){"use strict";d.d(P,"a",function(){return a});var w=d("U8pU"),A=d("q1tI"),b=d("TSYQ"),m=d.n(b),v=d("ye1Q"),p=d("9jjd"),s=d("gUdW"),u=d("xGfz"),o=d("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"},r=e,i=d("6VBw"),n=function(h,f){return A.createElement(i.a,Object(o.a)(Object(o.a)({},h),{},{ref:f,icon:r}))};n.displayName="CaretDownFilled";var l=A.forwardRef(n),t=d("kLeg");function a(c,h,f,g){var S=g.isLeaf,y=g.expanded,E=g.loading;if(E)return A.createElement(v.a,{className:"".concat(c,"-switcher-loading-icon")});var C;if(f&&Object(w.a)(f)==="object"&&(C=f.showLeafIcon),S)return f?Object(w.a)(f)==="object"&&!C?A.createElement("span",{className:"".concat(c,"-switcher-leaf-line")}):A.createElement(p.a,{className:"".concat(c,"-switcher-line-icon")}):null;var T="".concat(c,"-switcher-icon");return Object(t.b)(h)?Object(t.a)(h,{className:m()(h.props.className||"",T)}):h||(f?y?A.createElement(s.a,{className:"".concat(c,"-switcher-line-icon")}):A.createElement(u.a,{className:"".concat(c,"-switcher-line-icon")}):A.createElement(l,{className:T}))}},"5U23":function(M,P,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("q1tI"),m=d.n(b),v=d("fAei"),p=d("TSYQ"),s=d.n(p),u=d("KQm4"),o=d("ODXe"),e=d("sEfC"),r=d.n(e),i=d("OZM5"),n=d("815F"),l=d("9jjd"),t=d("VTBJ"),a={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"},c=a,h=d("6VBw"),f=function(se,$){return b.createElement(h.a,Object(t.a)(Object(t.a)({},se),{},{ref:$,icon:c}))};f.displayName="FolderOpenOutlined";var g=b.forwardRef(f),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"},y=S,E=function(se,$){return b.createElement(h.a,Object(t.a)(Object(t.a)({},se),{},{ref:$,icon:y}))};E.displayName="FolderOutlined";var C=b.forwardRef(E),T=d("9R2V"),x;(function(ae){ae[ae.None=0]="None",ae[ae.Start=1]="Start",ae[ae.End=2]="End"})(x||(x={}));function _(ae,se){function $(ge){var he=ge.key,Ie=ge.children;se(he,ge)!==!1&&_(Ie||[],se)}ae.forEach($)}function I(ae){var se=ae.treeData,$=ae.expandedKeys,ge=ae.startKey,he=ae.endKey,Ie=[],Se=x.None;if(ge&&ge===he)return[ge];if(!ge||!he)return[];function Le(He){return He===ge||He===he}return _(se,function(He){if(Se===x.End)return!1;if(Le(He)){if(Ie.push(He),Se===x.None)Se=x.Start;else if(Se===x.Start)return Se=x.End,!1}else Se===x.Start&&Ie.push(He);return!($.indexOf(He)===-1)}),Ie}function L(ae,se){var $=Object(u.a)(se),ge=[];return _(ae,function(he,Ie){var Se=$.indexOf(he);return Se!==-1&&(ge.push(Ie),$.splice(Se,1)),!!$.length}),ge}var D=function(ae,se){var $={};for(var ge in ae)Object.prototype.hasOwnProperty.call(ae,ge)&&se.indexOf(ge)<0&&($[ge]=ae[ge]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ge=Object.getOwnPropertySymbols(ae);he<ge.length;he++)se.indexOf(ge[he])<0&&Object.prototype.propertyIsEnumerable.call(ae,ge[he])&&($[ge[he]]=ae[ge[he]]);return $};function B(ae){var se=ae.isLeaf,$=ae.expanded;return se?b.createElement(l.a,null):$?b.createElement(g,null):b.createElement(C,null)}function N(ae){var se=ae.treeData,$=ae.children;return se||Object(n.c)($)}var k=function(se,$){var ge=se.defaultExpandAll,he=se.defaultExpandParent,Ie=se.defaultExpandedKeys,Se=D(se,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),Le=b.useRef(),He=b.useRef(),G=b.createRef();b.useImperativeHandle($,function(){return G.current});var pe=function(){var Ge=Object(n.a)(N(Se)),ie=Ge.keyEntities,Y;return ge?Y=Object.keys(ie):he?Y=Object(i.e)(Se.expandedKeys||Ie||[],ie):Y=Se.expandedKeys||Ie,Y},We=b.useState(Se.selectedKeys||Se.defaultSelectedKeys||[]),te=Object(o.a)(We,2),X=te[0],z=te[1],Z=b.useState(pe()),be=Object(o.a)(Z,2),ne=be[0],Ae=be[1];b.useEffect(function(){"selectedKeys"in Se&&z(Se.selectedKeys)},[Se.selectedKeys]),b.useEffect(function(){"expandedKeys"in Se&&Ae(Se.expandedKeys)},[Se.expandedKeys]);var Ne=function(Ge,ie){var Y=ie.isLeaf;if(Y||Ge.shiftKey||Ge.metaKey||Ge.ctrlKey)return;G.current.onNodeExpand(Ge,ie)},oe=r()(Ne,200,{leading:!0}),de=function(Ge,ie){var Y;return"expandedKeys"in Se||Ae(Ge),(Y=Se.onExpand)===null||Y===void 0?void 0:Y.call(Se,Ge,ie)},xe=function(Ge,ie){var Y,we=Se.expandAction;we==="click"&&oe(Ge,ie),(Y=Se.onClick)===null||Y===void 0||Y.call(Se,Ge,ie)},Pe=function(Ge,ie){var Y,we=Se.expandAction;we==="doubleClick"&&oe(Ge,ie),(Y=Se.onDoubleClick)===null||Y===void 0||Y.call(Se,Ge,ie)},tt=function(Ge,ie){var Y,we=Se.multiple,Ce=ie.node,le=ie.nativeEvent,ot=Ce.key,wt=ot===void 0?"":ot,rt=N(Se),It=Object(A.a)(Object(A.a)({},ie),{selected:!0}),Gt=le.ctrlKey||le.metaKey,lr=le.shiftKey,pr;we&&Gt?(pr=Ge,Le.current=wt,He.current=pr,It.selectedNodes=L(rt,pr)):we&&lr?(pr=Array.from(new Set([].concat(Object(u.a)(He.current||[]),Object(u.a)(I({treeData:rt,expandedKeys:ne,startKey:wt,endKey:Le.current}))))),It.selectedNodes=L(rt,pr)):(pr=[wt],Le.current=wt,He.current=pr,It.selectedNodes=L(rt,pr)),(Y=Se.onSelect)===null||Y===void 0||Y.call(Se,pr,It),"selectedKeys"in Se||z(pr)},Je=b.useContext(T.b),Oe=Je.getPrefixCls,pt=Je.direction,Qe=Se.prefixCls,nt=Se.className,bt=D(Se,["prefixCls","className"]),Tt=Oe("tree",Qe),Ct=s()("".concat(Tt,"-directory"),Object(w.a)({},"".concat(Tt,"-directory-rtl"),pt==="rtl"),nt);return b.createElement(V,Object(A.a)({icon:B,ref:G,blockNode:!0},bt,{prefixCls:Tt,className:Ct,expandedKeys:ne,selectedKeys:X,onSelect:tt,onClick:xe,onDoubleClick:Pe,onExpand:de}))},W=b.forwardRef(k);W.displayName="DirectoryTree",W.defaultProps={showIcon:!0,expandAction:"click"};var R=W,j=d("MZCN"),H=d("5T1g"),K=4;function U(ae){var se,$=ae.dropPosition,ge=ae.dropLevelOffset,he=ae.prefixCls,Ie=ae.indent,Se=ae.direction,Le=Se===void 0?"ltr":Se,He=Le==="ltr"?"left":"right",G=Le==="ltr"?"right":"left",pe=(se={},Object(w.a)(se,He,-ge*Ie+K),Object(w.a)(se,G,0),se);switch($){case-1:pe.top=-3;break;case 1:pe.bottom=-3;break;default:pe.bottom=-3,pe[He]=Ie+K;break}return m.a.createElement("div",{style:pe,className:"".concat(he,"-drop-indicator")})}var Q=b.forwardRef(function(ae,se){var $,ge=b.useContext(T.b),he=ge.getPrefixCls,Ie=ge.direction,Se=ge.virtual,Le=ae.prefixCls,He=ae.className,G=ae.showIcon,pe=ae.showLine,We=ae.switcherIcon,te=ae.blockNode,X=ae.children,z=ae.checkable,Z=ae.selectable,be=he("tree",Le),ne=Object(A.a)(Object(A.a)({},ae),{showLine:Boolean(pe),dropIndicatorRender:U});return b.createElement(v.b,Object(A.a)({itemHeight:20,ref:se,virtual:Se},ne,{prefixCls:be,className:s()(($={},Object(w.a)($,"".concat(be,"-icon-hide"),!G),Object(w.a)($,"".concat(be,"-block-node"),te),Object(w.a)($,"".concat(be,"-unselectable"),!Z),Object(w.a)($,"".concat(be,"-rtl"),Ie==="rtl"),$),He),direction:Ie,checkable:z&&b.createElement("span",{className:"".concat(be,"-checkbox-inner")}),selectable:Z,switcherIcon:function(Ne){return Object(H.a)(be,We,pe,Ne)}}),X)});Q.TreeNode=v.a,Q.DirectoryTree=R,Q.defaultProps={checkable:!1,selectable:!0,showIcon:!1,motion:Object(A.a)(Object(A.a)({},j.a),{motionAppear:!1}),blockNode:!1};var V=Q,J=P.a=V},"5bA4":function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="LeftOutlined";var s=P.a=A.forwardRef(p)},"5hKd":function(M,P,d){"use strict";var w=d("wx14"),A=d("ODXe"),b=d("q1tI"),m=d.n(b),v=d("TSYQ"),p=d.n(v),s=d("6cGi"),u=d("IMoZ"),o=d("4IlW"),e=d("d+VM"),r=d("Fc8i"),i=d("3g9L"),n=d("VM9+"),l=d("n3rz"),t=d("9R2V"),a=d("jeoS"),c=d("kLeg"),h=d("MZCN"),f=void 0,g=function(y,E){var C={};for(var T in y)Object.prototype.hasOwnProperty.call(y,T)&&E.indexOf(T)<0&&(C[T]=y[T]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,T=Object.getOwnPropertySymbols(y);x<T.length;x++)E.indexOf(T[x])<0&&Object.prototype.propertyIsEnumerable.call(y,T[x])&&(C[T[x]]=y[T[x]]);return C},S=b.forwardRef(function(y,E){var C=Object(s.a)(!1,{value:y.visible,defaultValue:y.defaultVisible}),T=Object(A.a)(C,2),x=T[0],_=T[1],I=function(he,Ie){var Se;_(he),(Se=y.onVisibleChange)===null||Se===void 0||Se.call(y,he,Ie)},L=function(he){var Ie;I(!1,he),(Ie=y.onConfirm)===null||Ie===void 0||Ie.call(f,he)},D=function(he){var Ie;I(!1,he),(Ie=y.onCancel)===null||Ie===void 0||Ie.call(f,he)},B=function(he){he.keyCode===o.a.ESC&&x&&I(!1,he)},N=function(he){var Ie=y.disabled;if(Ie)return;I(he)},k=function(he,Ie){var Se=y.okButtonProps,Le=y.cancelButtonProps,He=y.title,G=y.cancelText,pe=y.okText,We=y.okType,te=y.icon;return b.createElement("div",{className:"".concat(he,"-inner-content")},b.createElement("div",{className:"".concat(he,"-message")},te,b.createElement("div",{className:"".concat(he,"-message-title")},Object(a.a)(He))),b.createElement("div",{className:"".concat(he,"-buttons")},b.createElement(r.a,Object(w.a)({onClick:D,size:"small"},Le),G||Ie.cancelText),b.createElement(r.a,Object(w.a)({onClick:L},Object(i.a)(We),{size:"small"},Se),pe||Ie.okText)))},W=b.useContext(t.b),R=W.getPrefixCls,j=y.prefixCls,H=y.placement,K=y.children,U=y.overlayClassName,Q=g(y,["prefixCls","placement","children","overlayClassName"]),V=R("popover",j),J=R("popconfirm",j),ae=p()(J,U),se=b.createElement(n.a,{componentName:"Popconfirm",defaultLocale:l.a.Popconfirm},function(ge){return k(V,ge)}),$=R();return b.createElement(e.a,Object(w.a)({},Q,{prefixCls:V,placement:H,onVisibleChange:N,visible:x,overlay:se,overlayClassName:ae,ref:E,transitionName:Object(h.b)($,"zoom-big",y.transitionName)}),Object(c.a)(K,{onKeyDown:function(he){var Ie,Se;b.isValidElement(K)&&((Se=K==null?void 0:(Ie=K.props).onKeyDown)===null||Se===void 0||Se.call(Ie,he)),B(he)}}))});S.defaultProps={placement:"top",trigger:"click",okType:"primary",icon:b.createElement(u.a,null),disabled:!1},P.a=S},"5nXd":function(M,P,d){var w=d("MFOe"),A=w.slice,b=w.pluck,m=w.each,v=w.bind,p=w.create,s=w.isList,u=w.isFunction,o=w.isObject;M.exports={createStore:i};var e={version:"2.0.12",enabled:!1,get:function(l,t){var a=this.storage.read(this._namespacePrefix+l);return this._deserialize(a,t)},set:function(l,t){return t===void 0?this.remove(l):(this.storage.write(this._namespacePrefix+l,this._serialize(t)),t)},remove:function(l){this.storage.remove(this._namespacePrefix+l)},each:function(l){var t=this;this.storage.each(function(a,c){l.call(t,t._deserialize(a),(c||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(l){return this._namespacePrefix=="__storejs_"+l+"_"},createStore:function(){return i.apply(this,arguments)},addPlugin:function(l){this._addPlugin(l)},namespace:function(l){return i(this.storage,this.plugins,l)}};function r(){var n=typeof console=="undefined"?null:console;if(!n)return;var l=n.warn?n.warn:n.log;l.apply(n,arguments)}function i(n,l,t){t||(t=""),n&&!s(n)&&(n=[n]),l&&!s(l)&&(l=[l]);var a=t?"__storejs_"+t+"_":"",c=t?new RegExp("^"+a):null,h=/^[a-zA-Z0-9_\-]*$/;if(!h.test(t))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var f={_namespacePrefix:a,_namespaceRegexp:c,_testStorage:function(y){try{var E="__storejs__test__";y.write(E,E);var C=y.read(E)===E;return y.remove(E),C}catch(T){return!1}},_assignPluginFnProp:function(y,E){var C=this[E];this[E]=function(){var x=A(arguments,0),_=this;function I(){return C?(m(arguments,function(D,B){x[B]=D}),C.apply(_,x)):void 0}var L=[I].concat(x);return y.apply(_,L)}},_serialize:function(y){return JSON.stringify(y)},_deserialize:function(y,E){if(!y)return E;var C="";try{C=JSON.parse(y)}catch(T){C=y}return C!==void 0?C:E},_addStorage:function(y){if(this.enabled)return;this._testStorage(y)&&(this.storage=y,this.enabled=!0)},_addPlugin:function(y){var E=this;if(s(y)){m(y,function(x){E._addPlugin(x)});return}var C=b(this.plugins,function(x){return y===x});if(C)return;if(this.plugins.push(y),!u(y))throw new Error("Plugins must be function values that return objects");var T=y.call(this);if(!o(T))throw new Error("Plugins must return an object of function properties");m(T,function(x,_){if(!u(x))throw new Error("Bad plugin property: "+_+" from plugin "+y.name+". Plugins should only return functions.");E._assignPluginFnProp(x,_)})},addStorage:function(y){r("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(y)}},g=p(f,e,{plugins:[]});return g.raw={},m(g,function(S,y){u(S)&&(g.raw[y]=v(g,S))}),m(n,function(S){g._addStorage(S)}),m(l,function(S){g._addPlugin(S)}),g}},"5s0K":function(M,P,d){var w=d("bYtY");function A(){var b=[],m={},v;return{add:function(p,s,u,o,e){return w.isString(o)&&(e=o,o=0),m[p.id]?!1:(m[p.id]=1,b.push({el:p,target:s,time:u,delay:o,easing:e}),!0)},done:function(p){return v=p,this},start:function(){for(var p=b.length,s=0,u=b.length;s<u;s++){var o=b[s];o.el.animateTo(o.target,o.time,o.delay,o.easing,e)}return this;function e(){p--,p||(b.length=0,m={},v&&v())}}}}P.createWrap=A},"6/nd":function(M,P,d){var w=d("ProS");w.registerAction("legendScroll","legendscroll",function(A,b){var m=A.scrollDataIndex;m!=null&&b.eachComponent({mainType:"legend",subType:"scroll",query:A},function(v){v.setScrollDataIndex(m)})})},"62sa":function(M,P,d){var w=d("bYtY"),A=d("4NO4"),b=A.makeInner,m=d("zTMp"),v=d("Ez2D"),p=w.each,s=w.curry,u=b();function o(g,S,y){var E=g.currTrigger,C=[g.x,g.y],T=g,x=g.dispatchAction||w.bind(y.dispatchAction,y),_=S.getComponent("axisPointer").coordSysAxesInfo;if(!_)return;f(C)&&(C=v({seriesIndex:T.seriesIndex,dataIndex:T.dataIndex},S).point);var I=f(C),L=T.axesInfo,D=_.axesInfo,B=E==="leave"||f(C),N={},k={},W={list:[],map:{}},R={showPointer:s(i,k),showTooltip:s(n,W)};p(_.coordSysMap,function(H,K){var U=I||H.containPoint(C);p(_.coordSysAxesInfo[K],function(Q,V){var J=Q.axis,ae=c(L,Q);if(!B&&U&&(!L||ae)){var se=ae&&ae.value;se==null&&!I&&(se=J.pointToData(C)),se!=null&&e(Q,se,R,!1,N)}})});var j={};return p(D,function(H,K){var U=H.linkGroup;U&&!k[K]&&p(U.axesInfo,function(Q,V){var J=k[V];if(Q!==H&&J){var ae=J.value;U.mapper&&(ae=H.axis.scale.parse(U.mapper(ae,h(Q),h(H)))),j[H.key]=ae}})}),p(j,function(H,K){e(D[K],H,R,!0,N)}),l(k,D,N),t(W,C,g,x),a(D,x,y),N}function e(g,S,y,E,C){var T=g.axis;if(T.scale.isBlank()||!T.containData(S))return;if(!g.involveSeries){y.showPointer(g,S);return}var x=r(S,g),_=x.payloadBatch,I=x.snapToValue;_[0]&&C.seriesIndex==null&&w.extend(C,_[0]),!E&&g.snap&&(T.containData(I)&&I!=null&&(S=I)),y.showPointer(g,S,_,C),y.showTooltip(g,x,I)}function r(g,S){var y=S.axis,E=y.dim,C=g,T=[],x=Number.MAX_VALUE,_=-1;return p(S.seriesModels,function(I,L){var D=I.getData().mapDimension(E,!0),B,N;if(I.getAxisTooltipData){var k=I.getAxisTooltipData(D,g,y);N=k.dataIndices,B=k.nestestValue}else{if(N=I.getData().indicesOfNearest(D[0],g,y.type==="category"?.5:null),!N.length)return;B=I.getData().get(D[0],N[0])}if(B==null||!isFinite(B))return;var W=g-B,R=Math.abs(W);R<=x&&((R<x||W>=0&&_<0)&&(x=R,_=W,C=B,T.length=0),p(N,function(j){T.push({seriesIndex:I.seriesIndex,dataIndexInside:j,dataIndex:I.getData().getRawIndex(j)})}))}),{payloadBatch:T,snapToValue:C}}function i(g,S,y,E){g[S.key]={value:y,payloadBatch:E}}function n(g,S,y,E){var C=y.payloadBatch,T=S.axis,x=T.model,_=S.axisPointerModel;if(!S.triggerTooltip||!C.length)return;var I=S.coordSys.model,L=m.makeKey(I),D=g.map[L];D||(D=g.map[L]={coordSysId:I.id,coordSysIndex:I.componentIndex,coordSysType:I.type,coordSysMainType:I.mainType,dataByAxis:[]},g.list.push(D)),D.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 l(g,S,y){var E=y.axesInfo=[];p(S,function(C,T){var x=C.axisPointerModel.option,_=g[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(g,S,y,E){if(f(S)||!g.list.length){E({type:"hideTip"});return}var C=((g.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};E({type:"showTip",escapeConnect:!0,x:S[0],y:S[1],tooltipOption:y.tooltipOption,position:y.position,dataIndexInside:C.dataIndexInside,dataIndex:C.dataIndex,seriesIndex:C.seriesIndex,dataByCoordSys:g.list})}function a(g,S,y){var E=y.getZr(),C="axisPointerLastHighlights",T=u(E)[C]||{},x=u(E)[C]={};p(g,function(L,D){var B=L.axisPointerModel.option;B.status==="show"&&p(B.seriesDataIndices,function(N){var k=N.seriesIndex+" | "+N.dataIndex;x[k]=N})});var _=[],I=[];w.each(T,function(L,D){!x[D]&&I.push(L)}),w.each(x,function(L,D){!T[D]&&_.push(L)}),I.length&&y.dispatchAction({type:"downplay",escapeConnect:!0,batch:I}),_.length&&y.dispatchAction({type:"highlight",escapeConnect:!0,batch:_})}function c(g,S){for(var y=0;y<(g||[]).length;y++){var E=g[y];if(S.axis.dim===E.axisDim&&S.axis.model.componentIndex===E.axisIndex)return E}}function h(g){var S=g.axis.model,y={},E=y.axisDim=g.axis.dim;return y.axisIndex=y[E+"AxisIndex"]=S.componentIndex,y.axisName=y[E+"AxisName"]=S.name,y.axisId=y[E+"AxisId"]=S.id,y}function f(g){return!g||g[0]==null||isNaN(g[0])||g[1]==null||isNaN(g[1])}M.exports=o},"6BzB":function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.shrinkBuf=w,P.arraySet=A,P.flattenChunks=b,P.Buf32=P.Buf16=P.Buf8=void 0;function w(s,u){return s.length===u?s:s.subarray?s.subarray(0,u):(s.length=u,s)}function A(s,u,o,e,r){if(u.subarray&&s.subarray){s.set(u.subarray(o,o+e),r);return}for(var i=0;i<e;i++)s[r+i]=u[o+i]}function b(s){var u,o,e,r,i,n;for(e=0,u=0,o=s.length;u<o;u++)e+=s[u].length;for(n=new Uint8Array(e),r=0,u=0,o=s.length;u<o;u++)i=s[u],n.set(i,r),r+=i.length;return n}var m=Uint8Array;P.Buf8=m;var v=Uint16Array;P.Buf16=v;var p=Int32Array;P.Buf32=p},"6GrX":function(M,P,d){var w=d("mFDi"),A=d("Xnb7"),b=d("bYtY"),m=b.getContext,v=b.extend,p=b.retrieve2,s=b.retrieve3,u=b.trim,o={},e=0,r=5e3,i=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,n="12px sans-serif",l={};function t(W,R){l[W]=R}function a(W,R){R=R||n;var j=W+":"+R;if(o[j])return o[j];for(var H=(W+"").split(`
|
|
|
`),K=0,U=0,Q=H.length;U<Q;U++)K=Math.max(L(H[U],R).width,K);return e>r&&(e=0,o={}),e++,o[j]=K,K}function c(W,R,j,H,K,U,Q,V){return Q?f(W,R,j,H,K,U,Q,V):h(W,R,j,H,K,U,V)}function h(W,R,j,H,K,U,Q){var V=D(W,R,K,U,Q),J=a(W,R);K&&(J+=K[1]+K[3]);var ae=V.outerHeight,se=g(0,J,j),$=S(0,ae,H),ge=new w(se,$,J,ae);return ge.lineHeight=V.lineHeight,ge}function f(W,R,j,H,K,U,Q,V){var J=B(W,{rich:Q,truncate:V,font:R,textAlign:j,textPadding:K,textLineHeight:U}),ae=J.outerWidth,se=J.outerHeight,$=g(0,ae,j),ge=S(0,se,H);return new w($,ge,ae,se)}function g(W,R,j){return j==="right"?W-=R:j==="center"&&(W-=R/2),W}function S(W,R,j){return j==="middle"?W-=R/2:j==="bottom"&&(W-=R),W}function y(W,R,j){var H=R.textPosition,K=R.textDistance,U=j.x,Q=j.y;K=K||0;var V=j.height,J=j.width,ae=V/2,se="left",$="top";switch(H){case"left":U-=K,Q+=ae,se="right",$="middle";break;case"right":U+=K+J,Q+=ae,$="middle";break;case"top":U+=J/2,Q-=K,se="center",$="bottom";break;case"bottom":U+=J/2,Q+=V+K,se="center";break;case"inside":U+=J/2,Q+=ae,se="center",$="middle";break;case"insideLeft":U+=K,Q+=ae,$="middle";break;case"insideRight":U+=J-K,Q+=ae,se="right",$="middle";break;case"insideTop":U+=J/2,Q+=K,se="center";break;case"insideBottom":U+=J/2,Q+=V-K,se="center",$="bottom";break;case"insideTopLeft":U+=K,Q+=K;break;case"insideTopRight":U+=J-K,Q+=K,se="right";break;case"insideBottomLeft":U+=K,Q+=V-K,$="bottom";break;case"insideBottomRight":U+=J-K,Q+=V-K,se="right",$="bottom";break}return W=W||{},W.x=U,W.y=Q,W.textAlign=se,W.textVerticalAlign=$,W}function E(W,R,j){var H={textPosition:W,textDistance:j};return y({},H,R)}function C(W,R,j,H,K){if(!R)return"";var U=(W+"").split(`
|
|
|
`);K=T(R,j,H,K);for(var Q=0,V=U.length;Q<V;Q++)U[Q]=x(U[Q],K);return U.join(`
|
|
|
`)}function T(W,R,j,H){H=v({},H),H.font=R;var j=p(j,"...");H.maxIterations=p(H.maxIterations,2);var K=H.minChar=p(H.minChar,0);H.cnCharWidth=a("\u56FD",R);var U=H.ascCharWidth=a("a",R);H.placeholder=p(H.placeholder,"");for(var Q=W=Math.max(0,W-1),V=0;V<K&&Q>=U;V++)Q-=U;var J=a(j,R);return J>Q&&(j="",J=0),Q=W-J,H.ellipsis=j,H.ellipsisWidth=J,H.contentWidth=Q,H.containerWidth=W,H}function x(W,R){var j=R.containerWidth,H=R.font,K=R.contentWidth;if(!j)return"";var U=a(W,H);if(U<=j)return W;for(var Q=0;;Q++){if(U<=K||Q>=R.maxIterations){W+=R.ellipsis;break}var V=Q===0?_(W,K,R.ascCharWidth,R.cnCharWidth):U>0?Math.floor(W.length*K/U):0;W=W.substr(0,V),U=a(W,H)}return W===""&&(W=R.placeholder),W}function _(W,R,j,H){for(var K=0,U=0,Q=W.length;U<Q&&K<R;U++){var V=W.charCodeAt(U);K+=0<=V&&V<=127?j:H}return U}function I(W){return a("\u56FD",W)}function L(W,R){return l.measureText(W,R)}l.measureText=function(W,R){var j=m();return j.font=R||n,j.measureText(W)};function D(W,R,j,H,K){W!=null&&(W+="");var U=p(H,I(R)),Q=W?W.split(`
|
|
|
`):[],V=Q.length*U,J=V,ae=!0;if(j&&(J+=j[0]+j[2]),W&&K){ae=!1;var se=K.outerHeight,$=K.outerWidth;if(se!=null&&J>se)W="",Q=[];else if($!=null)for(var ge=T($-(j?j[1]+j[3]:0),R,K.ellipsis,{minChar:K.minChar,placeholder:K.placeholder}),he=0,Ie=Q.length;he<Ie;he++)Q[he]=x(Q[he],ge)}return{lines:Q,height:V,outerHeight:J,lineHeight:U,canCacheByTextString:ae}}function B(W,R){var j={lines:[],width:0,height:0};if(W!=null&&(W+=""),!W)return j;for(var H=i.lastIndex=0,K;(K=i.exec(W))!=null;){var U=K.index;U>H&&N(j,W.substring(H,U)),N(j,K[2],K[1]),H=i.lastIndex}H<W.length&&N(j,W.substring(H,W.length));var Q=j.lines,V=0,J=0,ae=[],se=R.textPadding,$=R.truncate,ge=$&&$.outerWidth,he=$&&$.outerHeight;se&&(ge!=null&&(ge-=se[1]+se[3]),he!=null&&(he-=se[0]+se[2]));for(var Ie=0;Ie<Q.length;Ie++){for(var Se=Q[Ie],Le=0,He=0,G=0;G<Se.tokens.length;G++){var pe=Se.tokens[G],We=pe.styleName&&R.rich[pe.styleName]||{},te=pe.textPadding=We.textPadding,X=pe.font=We.font||R.font,z=pe.textHeight=p(We.textHeight,I(X));if(te&&(z+=te[0]+te[2]),pe.height=z,pe.lineHeight=s(We.textLineHeight,R.textLineHeight,z),pe.textAlign=We&&We.textAlign||R.textAlign,pe.textVerticalAlign=We&&We.textVerticalAlign||"middle",he!=null&&V+pe.lineHeight>he)return{lines:[],width:0,height:0};pe.textWidth=a(pe.text,X);var Z=We.textWidth,be=Z==null||Z==="auto";if(typeof Z=="string"&&Z.charAt(Z.length-1)==="%")pe.percentWidth=Z,ae.push(pe),Z=0;else{if(be){Z=pe.textWidth;var ne=We.textBackgroundColor,Ae=ne&&ne.image;Ae&&(Ae=A.findExistImage(Ae),A.isImageReady(Ae)&&(Z=Math.max(Z,Ae.width*z/Ae.height)))}var Ne=te?te[1]+te[3]:0;Z+=Ne;var oe=ge!=null?ge-He:null;oe!=null&&oe<Z&&(!be||oe<Ne?(pe.text="",pe.textWidth=Z=0):(pe.text=C(pe.text,oe-Ne,X,$.ellipsis,{minChar:$.minChar}),pe.textWidth=a(pe.text,X),Z=pe.textWidth+Ne))}He+=pe.width=Z,We&&(Le=Math.max(Le,pe.lineHeight))}Se.width=He,Se.lineHeight=Le,V+=Le,J=Math.max(J,He)}j.outerWidth=j.width=p(R.textWidth,J),j.outerHeight=j.height=p(R.textHeight,V),se&&(j.outerWidth+=se[1]+se[3],j.outerHeight+=se[0]+se[2]);for(var Ie=0;Ie<ae.length;Ie++){var pe=ae[Ie],de=pe.percentWidth;pe.width=parseInt(de,10)/100*J}return j}function N(W,R,j){for(var H=R==="",K=R.split(`
|
|
|
`),U=W.lines,Q=0;Q<K.length;Q++){var V=K[Q],J={styleName:j,text:V,isLineHolder:!V&&!H};if(Q)U.push({tokens:[J]});else{var ae=(U[U.length-1]||(U[0]={tokens:[]})).tokens,se=ae.length;se===1&&ae[0].isLineHolder?ae[0]=J:(V||!se||H)&&ae.push(J)}}}function k(W){var R=(W.fontSize||W.fontFamily)&&[W.fontStyle,W.fontWeight,(W.fontSize||12)+"px",W.fontFamily||"sans-serif"].join(" ");return R&&u(R)||W.textFont||W.font}P.DEFAULT_FONT=n,P.$override=t,P.getWidth=a,P.getBoundingRect=c,P.adjustTextX=g,P.adjustTextY=S,P.calculateTextPosition=y,P.adjustTextPositionOnRect=E,P.truncateText=C,P.getLineHeight=I,P.measureText=L,P.parsePlainText=D,P.parseRichText=B,P.makeFont=k},"6Ic6":function(M,P,d){var w=d("bYtY"),A=w.each,b=d("4fz+"),m=d("iRjW"),v=d("Yl7c"),p=d("4NO4"),s=d("IwbS"),u=d("9H2F"),o=u.createTask,e=d("zM3Q"),r=p.makeInner(),i=e();function n(){this.group=new b,this.uid=m.getUID("viewChart"),this.renderTask=o({plan:c,reset:h}),this.renderTask.context={view:this}}n.prototype={type:"chart",init:function(S,y){},render:function(S,y,E,C){},highlight:function(S,y,E,C){a(S.getData(),C,"emphasis")},downplay:function(S,y,E,C){a(S.getData(),C,"normal")},remove:function(S,y){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var l=n.prototype;l.updateView=l.updateLayout=l.updateVisual=function(S,y,E,C){this.render(S,y,E,C)};function t(S,y,E){if(S&&(S.trigger(y,E),S.isGroup&&!s.isHighDownDispatcher(S)))for(var C=0,T=S.childCount();C<T;C++)t(S.childAt(C),y,E)}function a(S,y,E){var C=p.queryDataIndex(S,y),T=y&&y.highlightKey!=null?s.getHighlightDigit(y.highlightKey):null;C!=null?A(p.normalizeToArray(C),function(x){t(S.getItemGraphicEl(x),E,T)}):S.eachItemGraphicEl(function(x){t(x,E,T)})}v.enableClassExtend(n,["dispose"]),v.enableClassManagement(n,{registerWhenExtend:!0}),n.markUpdateMethod=function(S,y){r(S).updateMethod=y};function c(S){return i(S.model)}function h(S){var y=S.model,E=S.ecModel,C=S.api,T=S.payload,x=y.pipelineContext.progressiveRender,_=S.view,I=T&&r(T).updateMethod,L=x?"incrementalPrepareRender":I&&_[I]?I:"render";return L!=="render"&&_[L](y,E,C,T),f[L]}var f={incrementalPrepareRender:{progress:function(S,y){y.view.incrementalRender(S,y.model,y.ecModel,y.api,y.payload)}},render:{forceFirstProgress:!0,progress:function(S,y){y.view.render(y.model,y.ecModel,y.api,y.payload)}}},g=n;M.exports=g},"6Qwc":function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.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"};P.default=w},"6cGi":function(M,P,d){"use strict";d.d(P,"a",function(){return m});var w=d("ODXe"),A=d("q1tI"),b=d.n(A);function m(v,p){var s=p||{},u=s.defaultValue,o=s.value,e=s.onChange,r=s.postState,i=A.useState(function(){return o!==void 0?o:u!==void 0?typeof u=="function"?u():u:typeof v=="function"?v():v}),n=Object(w.a)(i,2),l=n[0],t=n[1],a=o!==void 0?o:l;r&&(a=r(a));function c(f){t(f),a!==f&&e&&e(f,a)}var h=A.useRef(!0);return A.useEffect(function(){if(h.current){h.current=!1;return}o===void 0&&t(o)},[o]),[a,c]}},"6fms":function(M,P,d){var w=d("SUKs"),A=d("06Qe"),b=d("bYtY"),m=b.each;function v(o){return parseInt(o,10)}function p(o,e){A.initVML(),this.root=o,this.storage=e;var r=document.createElement("div"),i=document.createElement("div");r.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",i.style.cssText="position:absolute;left:0;top:0;",o.appendChild(r),this._vmlRoot=i,this._vmlViewport=r,this.resize();var n=e.delFromStorage,l=e.addToStorage;e.delFromStorage=function(t){n.call(e,t),t&&(t.onRemove&&t.onRemove(i))},e.addToStorage=function(t){t.onAdd&&t.onAdd(i),l.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 r=this._vmlRoot,i=0;i<e.length;i++){var n=e[i];n.invisible||n.ignore?(n.__alreadyNotVisible||n.onRemove(r),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(r),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,r),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(r),this._firstPaint=!1)},resize:function(e,r){var e=e==null?this._getWidth():e,r=r==null?this._getHeight():r;if(this._width!==e||this._height!==r){this._width=e,this._height=r;var i=this._vmlViewport.style;i.width=e+"px",i.height=r+"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,r=e.currentStyle;return(e.clientWidth||v(r.width))-v(r.paddingLeft)-v(r.paddingRight)|0},_getHeight:function(){var e=this.root,r=e.currentStyle;return(e.clientHeight||v(r.height))-v(r.paddingTop)-v(r.paddingBottom)|0}};function s(o){return function(){w('In IE8.0 VML mode painter not support method "'+o+'"')}}m(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(o){p.prototype[o]=s(o)});var u=p;M.exports=u},"6r85":function(M,P,d){var w=d("bYtY");function A(b){if(!b||!w.isArray(b.series))return;w.each(b.series,function(m){w.isObject(m)&&m.type==="k"&&(m.type="candlestick")})}M.exports=A},"6uqw":function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("ItGF"),m=d("YOMW"),v=d("XxSj"),p=d("K4ya"),s=d("4NO4"),u=d("OELB"),o=v.mapVisual,e=v.eachVisual,r=A.isArray,i=A.each,n=u.asc,l=u.linearMap,t=A.noop,a=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(h,f,g){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(h,g)},optionUpdated:function(h,f){var g=this.option;b.canvasSupported||(g.realtime=!1),!f&&p.replaceVisualOption(g,h,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(h){var f=this.stateList;h=A.bind(h,this),this.controllerVisuals=p.createVisualMappings(this.option.controller,f,h),this.targetVisuals=p.createVisualMappings(this.option.target,f,h)},getTargetSeriesIndices:function(){var h=this.option.seriesIndex,f=[];return h==null||h==="all"?this.ecModel.eachSeries(function(g,S){f.push(S)}):f=s.normalizeToArray(h),f},eachTargetSeries:function(h,f){A.each(this.getTargetSeriesIndices(),function(g){h.call(f,this.ecModel.getSeriesByIndex(g))},this)},isTargetSeries:function(h){var f=!1;return this.eachTargetSeries(function(g){g===h&&(f=!0)}),f},formatValueText:function(h,f,g){var S=this.option,y=S.precision,E=this.dataBound,C=S.formatter,T,x;if(g=g||["<",">"],A.isArray(h)&&(h=h.slice(),T=!0),x=f?h:T?[_(h[0]),_(h[1])]:_(h),A.isString(C))return C.replace("{value}",T?x[0]:x).replace("{value2}",T?x[1]:x);if(A.isFunction(C))return T?C(h[0],h[1]):C(h);if(T)return h[0]===E[0]?g[0]+" "+x[1]:h[1]===E[1]?g[1]+" "+x[0]:x[0]+" - "+x[1];return x;function _(I){return I===E[0]?"min":I===E[1]?"max":(+I).toFixed(Math.min(y,20))}},resetExtent:function(){var h=this.option,f=n([h.min,h.max]);this._dataExtent=f},getDataDimension:function(h){var f=this.option.dimension,g=h.dimensions;if(f==null&&!g.length)return;if(f!=null)return h.getDimension(f);for(var S=h.dimensions,y=S.length-1;y>=0;y--){var E=S[y],C=h.getDimensionInfo(E);if(!C.isCalculationCoord)return E}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var h=this.ecModel,f=this.option,g={inRange:f.inRange,outOfRange:f.outOfRange},S=f.target||(f.target={}),y=f.controller||(f.controller={});A.merge(S,g),A.merge(y,g);var E=this.isCategory();C.call(this,S),C.call(this,y),T.call(this,S,"inRange","outOfRange"),x.call(this,y);function C(_){r(f.color)&&!_.inRange&&(_.inRange={color:f.color.slice().reverse()}),_.inRange=_.inRange||{color:h.get("gradientColor")},i(this.stateList,function(I){var L=_[I];if(A.isString(L)){var D=m.get(L,"active",E);D?(_[I]={},_[I][L]=D):delete _[I]}},this)}function T(_,I,L){var D=_[I],B=_[L];D&&!B&&(B=_[L]={},i(D,function(N,k){if(!v.isValidType(k))return;var W=m.get(k,"inactive",E);W!=null&&(B[k]=W,k==="color"&&!B.hasOwnProperty("opacity")&&!B.hasOwnProperty("colorAlpha")&&(B.opacity=[0,0]))}))}function x(_){var I=(_.inRange||{}).symbol||(_.outOfRange||{}).symbol,L=(_.inRange||{}).symbolSize||(_.outOfRange||{}).symbolSize,D=this.get("inactiveColor");i(this.stateList,function(B){var N=this.itemSize,k=_[B];k||(k=_[B]={color:E?D:[D]}),k.symbol==null&&(k.symbol=I&&A.clone(I)||(E?"roundRect":["roundRect"])),k.symbolSize==null&&(k.symbolSize=L&&A.clone(L)||(E?N[0]:[N[0],N[0]])),k.symbol=o(k.symbol,function(j){return j==="none"||j==="square"?"roundRect":j});var W=k.symbolSize;if(W!=null){var R=-Infinity;e(W,function(j){j>R&&(R=j)}),k.symbolSize=o(W,function(j){return l(j,[0,R],[0,N[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}),c=a;M.exports=c},"6usn":function(M,P,d){var w=d("bYtY");function A(m,v){return w.map(["Radius","Angle"],function(p,s){var u=this["get"+p+"Axis"](),o=v[s],e=m[s]/2,r="dataTo"+p,i=u.type==="category"?u.getBandWidth():Math.abs(u[r](o-e)-u[r](o+e));return p==="Angle"&&(i=i*Math.PI/180),i},this)}function b(m){var v=m.getRadiusAxis(),p=m.getAngleAxis(),s=v.getExtent();return s[0]>s[1]&&s.reverse(),{coordSys:{type:"polar",cx:m.cx,cy:m.cy,r:s[1],r0:s[0]},api:{coord:w.bind(function(u){var o=v.dataToRadius(u[0]),e=p.dataToAngle(u[1]),r=m.coordToPoint([o,e]);return r.push(o,e*Math.PI/180),r}),size:w.bind(A,m)}}}M.exports=b},"711d":function(M,P){function d(w){return function(A){return A==null?void 0:A[w]}}M.exports=d},"72pK":function(M,P){function d(b,m,v,p,s,u){b=b||0;var o=v[1]-v[0];if(s!=null&&(s=A(s,[0,o])),u!=null&&(u=Math.max(u,s!=null?s:0)),p==="all"){var e=Math.abs(m[1]-m[0]);e=A(e,[0,o]),s=u=A(e,[s,u]),p=0}m[0]=A(m[0],v),m[1]=A(m[1],v);var r=w(m,p);m[p]+=b;var i=s||0,n=v.slice();r.sign<0?n[0]+=i:n[1]-=i,m[p]=A(m[p],n);var l=w(m,p);s!=null&&(l.sign!==r.sign||l.span<s)&&(m[1-p]=m[p]+r.sign*s);var l=w(m,p);return u!=null&&l.span>u&&(m[1-p]=m[p]+l.sign*u),m}function w(b,m){var v=b[m]-b[1-m];return{span:Math.abs(v),sign:v>0?-1:v<0?1:m?-1:1}}function A(b,m){return Math.min(m[1]!=null?m[1]:Infinity,Math.max(m[0]!=null?m[0]:-Infinity,b))}M.exports=d},"75ce":function(M,P,d){var w=d("ProS");d("IXuL"),d("8X+K");var A=d("f5Yq"),b=d("h8O9"),m=d("/d5a");d("Ae16"),w.registerVisual(A("line","circle","line")),w.registerLayout(b("line")),w.registerProcessor(w.PRIORITY.PROCESSOR.STATISTIC,m("line"))},"75ev":function(M,P,d){var w=d("ProS");d("IWNH"),d("bNin"),d("v5uJ");var A=d("f5Yq"),b=d("yik8");w.registerVisual(A("tree","circle")),w.registerLayout(b)},"7AJT":function(M,P,d){var w=d("bYtY"),A=d("hM6l"),b=function(v,p,s,u,o){A.call(this,v,p,s),this.type=u||"value",this.position=o||"bottom"};b.prototype={constructor:b,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},getGlobalExtent:function(v){var p=this.getExtent();return p[0]=this.toGlobalCoord(p[0]),p[1]=this.toGlobalCoord(p[1]),v&&p[0]>p[1]&&p.reverse(),p},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(v,p){return this.coordToData(this.toLocalCoord(v[this.dim==="x"?0:1]),p)},toLocalCoord:null,toGlobalCoord:null},w.inherits(b,A);var m=b;M.exports=m},"7Cbv":function(M,P,d){"use strict";var w=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),A=new Uint8Array(16);function b(){if(!w)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return w(A)}var m=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function v(n){return typeof n=="string"&&m.test(n)}for(var p=v,s=[],u=0;u<256;++u)s.push((u+256).toString(16).substr(1));function o(n){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=(s[n[l+0]]+s[n[l+1]]+s[n[l+2]]+s[n[l+3]]+"-"+s[n[l+4]]+s[n[l+5]]+"-"+s[n[l+6]]+s[n[l+7]]+"-"+s[n[l+8]]+s[n[l+9]]+"-"+s[n[l+10]]+s[n[l+11]]+s[n[l+12]]+s[n[l+13]]+s[n[l+14]]+s[n[l+15]]).toLowerCase();if(!p(t))throw TypeError("Stringified UUID is invalid");return t}var e=o;function r(n,l,t){n=n||{};var a=n.random||(n.rng||b)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,l){t=t||0;for(var c=0;c<16;++c)l[t+c]=a[c];return l}return e(a)}var i=P.a=r},"7DRL":function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=b.createHashMap,v=b.isString,p=b.isArray,s=b.each,u=b.assert,o=d("MEGo"),e=o.parseXML,r=m(),i={registerMap:function(l,t,a){var c;return p(t)?c=t:t.svg?c=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(a=t.specialAreas,t=t.geoJson),c=[{type:"geoJSON",source:t,specialAreas:a}]),s(c,function(h){var f=h.type;f==="geoJson"&&(f=h.type="geoJSON");var g=n[f];g(h)}),r.set(l,c)},retrieveMap:function(l){return r.get(l)}},n={geoJSON:function(l){var t=l.source;l.geoJSON=v(t)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(l){l.svgXML=e(l.source)}};M.exports=i},"7G+c":function(M,P,d){var w=d("bYtY"),A=w.createHashMap,b=w.isTypedArray,m=d("Yl7c"),v=m.enableClassCheck,p=d("k9D9"),s=p.SOURCE_FORMAT_ORIGINAL,u=p.SERIES_LAYOUT_BY_COLUMN,o=p.SOURCE_FORMAT_UNKNOWN,e=p.SOURCE_FORMAT_TYPED_ARRAY,r=p.SOURCE_FORMAT_KEYED_COLUMNS;function i(l){this.fromDataset=l.fromDataset,this.data=l.data||(l.sourceFormat===r?{}:[]),this.sourceFormat=l.sourceFormat||o,this.seriesLayoutBy=l.seriesLayoutBy||u,this.dimensionsDefine=l.dimensionsDefine,this.encodeDefine=l.encodeDefine&&A(l.encodeDefine),this.startIndex=l.startIndex||0,this.dimensionsDetectCount=l.dimensionsDetectCount}i.seriesDataToSource=function(l){return new i({data:l,sourceFormat:b(l)?e:s,fromDataset:!1})},v(i);var n=i;M.exports=n},"7Phj":function(M,P,d){var w=d("bYtY"),A=d("OELB"),b=A.parsePercent,m=w.each;function v(o){var e=p(o);m(e,function(r){var i=r.seriesModels;if(!i.length)return;s(r),m(i,function(n,l){u(n,r.boxOffsetList[l],r.boxWidthList[l])})})}function p(o){var e=[],r=[];return o.eachSeriesByType("boxplot",function(i){var n=i.getBaseAxis(),l=w.indexOf(r,n);l<0&&(l=r.length,r[l]=n,e[l]={axis:n,seriesModels:[]}),e[l].seriesModels.push(i)}),e}function s(o){var e,r=o.axis,i=o.seriesModels,n=i.length,l=o.boxWidthList=[],t=o.boxOffsetList=[],a=[],c;if(r.type==="category")c=r.getBandWidth();else{var h=0;m(i,function(E){h=Math.max(h,E.getData().count())}),e=r.getExtent(),Math.abs(e[1]-e[0])/h}m(i,function(E){var C=E.get("boxWidth");w.isArray(C)||(C=[C,C]),a.push([b(C[0],c)||0,b(C[1],c)||0])});var f=c*.8-2,g=f/n*.3,S=(f-g*(n-1))/n,y=S/2-f/2;m(i,function(E,C){t.push(y),y+=g+S,l.push(Math.min(Math.max(S,a[C][0]),a[C][1]))})}function u(o,e,r){var i=o.coordinateSystem,n=o.getData(),l=r/2,t=o.get("layout")==="horizontal"?0:1,a=1-t,c=["x","y"],h=n.mapDimension(c[t]),f=n.mapDimension(c[a],!0);if(h==null||f.length<5)return;for(var g=0;g<n.count();g++){var S=n.get(h,g),y=I(S,f[2],g),E=I(S,f[0],g),C=I(S,f[1],g),T=I(S,f[3],g),x=I(S,f[4],g),_=[];L(_,C,0),L(_,T,1),_.push(E,C,x,T),D(_,E),D(_,x),D(_,y),n.setItemLayout(g,{initBaseline:y[a],ends:_})}function I(B,N,k){var W=n.get(N,k),R=[];R[t]=B,R[a]=W;var j;return isNaN(B)||isNaN(W)?j=[NaN,NaN]:(j=i.dataToPoint(R),j[t]+=e),j}function L(B,N,k){var W=N.slice(),R=N.slice();W[t]+=l,R[t]-=l,k?B.push(W,R):B.push(R,W)}function D(B,N){var k=N.slice(),W=N.slice();k[t]-=l,W[t]+=l,B.push(k,W)}}M.exports=v},"7SHv":function(M,P,d){var w=d("LPTA"),A=w.devicePixelRatio,b=d("bYtY"),m=d("SUKs"),v=d("mFDi"),p=d("BPZU"),s=d("Xmg4"),u=d("mLcG"),o=d("Dagg"),e=d("ItGF"),r=1e5,i=314159,n=.01,l=.001;function t(T){return parseInt(T,10)}function a(T){return T?T.__builtin__?!0:!(typeof T.resize!="function"||typeof T.refresh!="function"):!1}var c=new v(0,0,0,0),h=new v(0,0,0,0);function f(T,x,_){return c.copy(T.getBoundingRect()),T.transform&&c.applyTransform(T.transform),h.width=x,h.height=_,!c.intersect(h)}function g(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 y(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=b.extend({},I||{}),this.dpr=I.devicePixelRatio||A,this._singleCanvas=L,this.root=x;var D=x.style;D&&(D["-webkit-tap-highlight-color"]="transparent",D["-webkit-user-select"]=D["user-select"]=D["-webkit-touch-callout"]="none",x.innerHTML=""),this.storage=_;var B=this._zlevelList=[],N=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,L){var W=x.width,R=x.height;I.width!=null&&(W=I.width),I.height!=null&&(R=I.height),this.dpr=I.devicePixelRatio||1,x.width=W*this.dpr,x.height=R*this.dpr,this._width=W,this._height=R;var j=new s(x,this,this.dpr);j.__builtin__=!0,j.initContext(),N[i]=j,j.zlevel=i,B.push(i),this._domRoot=x}else{this._width=this._getSize(0),this._height=this._getSize(1);var k=this._domRoot=y(this._width,this._height);x.appendChild(k)}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 D=I[L],B=this._layers[D];if(!B.__builtin__&&B.refresh){var N=L===0?this._backgroundColor:null;B.refresh(N)}}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=b.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(r));var L={};I.ctx.save();for(var D=0;D<_;){var B=x[D],N=B.__from;if(!(N&&N.__zr)){x.splice(D,1),N.__hoverMir=null,_--;continue}D++,N.invisible||(B.transform=N.transform,B.invTransform=N.invTransform,B.__clipPaths=N.__clipPaths,this._doPaintEl(B,I,!0,L))}I.ctx.restore()},getHoverLayer:function(){return this.getLayer(r)},_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 D=this;u(function(){D._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 D=this._zlevelList[L],B=this._layers[D];B.__builtin__&&B!==this._hoverlayer&&(B.__dirty||_)&&I.push(B)}for(var N=!0,k=0;k<I.length;k++){var B=I[k],W=B.ctx,R={};W.save();var j=_?B.__startIndex:B.__drawIndex,H=!_&&B.incremental&&Date.now,K=H&&Date.now(),U=B.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(B.__startIndex===B.__endIndex)B.clear(!1,U);else if(j===B.__startIndex){var Q=x[j];(!Q.incremental||!Q.notClear||_)&&B.clear(!1,U)}j===-1&&(console.error("For some unknown reason. drawIndex is -1"),j=B.__startIndex);for(var V=j;V<B.__endIndex;V++){var J=x[V];if(this._doPaintEl(J,B,_,R),J.__dirty=J.__dirtyText=!1,H){var ae=Date.now()-K;if(ae>15)break}}B.__drawIndex=V,B.__drawIndex<B.__endIndex&&(N=!1),R.prevElClipPaths&&W.restore(),W.restore()}return e.wxa&&b.each(this._layers,function(se){se&&se.ctx&&se.ctx.draw&&se.ctx.draw()}),N},_doPaintEl:function(x,_,I,L){var D=_.ctx,B=x.transform;if((_.__dirty||I)&&!x.invisible&&x.style.opacity!==0&&!(B&&!B[0]&&!B[3])&&!(x.culling&&f(x,this._width,this._height))){var N=x.__clipPaths,k=L.prevElClipPaths;(!k||g(N,k))&&(k&&(D.restore(),L.prevElClipPaths=null,L.prevEl=null),N&&(D.save(),S(N,D),L.prevElClipPaths=N)),x.beforeBrush&&x.beforeBrush(D),x.brush(D,L.prevEl||null),L.prevEl=x,x.afterBrush&&x.afterBrush(D)}},getLayer:function(x,_){this._singleCanvas&&!this._needsManuallyCompositing&&(x=i);var I=this._layers[x];return I||(I=new s("zr_"+x,this,this.dpr),I.zlevel=x,I.__builtin__=!0,this._layerConfig[x]?b.merge(I,this._layerConfig[x],!0):this._layerConfig[x-n]&&b.merge(I,this._layerConfig[x-n],!0),_&&(I.virtual=_),this.insertLayer(x,I),I.initContext()),I},insertLayer:function(x,_){var I=this._layers,L=this._zlevelList,D=L.length,B=null,N=-1,k=this._domRoot;if(I[x]){m("ZLevel "+x+" has been used already");return}if(!a(_)){m("Layer of zlevel "+x+" is not valid");return}if(D>0&&x>L[0]){for(N=0;N<D-1&&!(L[N]<x&&L[N+1]>x);N++);B=I[L[N]]}if(L.splice(N+1,0,x),I[x]=_,!_.virtual)if(B){var W=B.dom;W.nextSibling?k.insertBefore(_.dom,W.nextSibling):k.appendChild(_.dom)}else k.firstChild?k.insertBefore(_.dom,k.firstChild):k.appendChild(_.dom)},eachLayer:function(x,_){var I=this._zlevelList,L,D;for(D=0;D<I.length;D++)L=I[D],x.call(_,this._layers[L],L)},eachBuiltinLayer:function(x,_){var I=this._zlevelList,L,D,B;for(B=0;B<I.length;B++)D=I[B],L=this._layers[D],L.__builtin__&&x.call(_,L,D)},eachOtherLayer:function(x,_){var I=this._zlevelList,L,D,B;for(B=0;B<I.length;B++)D=I[B],L=this._layers[D],L.__builtin__||x.call(_,L,D)},getLayers:function(){return this._layers},_updateLayerStatus:function(x){this.eachBuiltinLayer(function(R,j){R.__dirty=R.__used=!1});function _(R){D&&(D.__endIndex!==R&&(D.__dirty=!0),D.__endIndex=R)}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 D=null,B=0,N,I=0;I<x.length;I++){var L=x[I],k=L.zlevel,W;N!==k&&(N=k,B=0),L.incremental?(W=this.getLayer(k+l,this._needsManuallyCompositing),W.incremental=!0,B=1):W=this.getLayer(k+(B>0?n:0),this._needsManuallyCompositing),W.__builtin__||m("ZLevel "+k+" has been used by unkown layer "+W.id),W!==D&&(W.__used=!0,W.__startIndex!==I&&(W.__dirty=!0),W.__startIndex=I,W.incremental?W.__drawIndex=-1:W.__drawIndex=I,_(I),D=W),L.__dirty&&(W.__dirty=!0,W.incremental&&W.__drawIndex<0&&(W.__drawIndex=I))}_(I),this.eachBuiltinLayer(function(R,j){!R.__used&&R.getElementCount()>0&&(R.__dirty=!0,R.__startIndex=R.__endIndex=R.__drawIndex=0),R.__dirty&&R.__drawIndex<0&&(R.__drawIndex=R.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(x){x.clear()},setBackgroundColor:function(x){this._backgroundColor=x},configLayer:function(x,_){if(_){var I=this._layerConfig;I[x]?b.merge(I[x],_,!0):I[x]=_;for(var L=0;L<this._zlevelList.length;L++){var D=this._zlevelList[L];if(D===x||D===x+n){var B=this._layers[D];b.merge(B,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(b.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 D in this._layers)this._layers.hasOwnProperty(D)&&this._layers[D].resize(x,_);b.each(this._progressiveLayers,function(B){B.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 s("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,D=_.ctx;this.eachLayer(function(R){R.__builtin__?D.drawImage(R.dom,0,0,I,L):R.renderToCanvas&&(_.ctx.save(),R.renderToCanvas(_.ctx),_.ctx.restore())})}else for(var B={},N=this.storage.getDisplayList(!0),k=0;k<N.length;k++){var W=N[k];this._doPaintEl(W,_,!0,B)}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],D=["paddingLeft","paddingTop"][x],B=["paddingRight","paddingBottom"][x];if(_[I]!=null&&_[I]!=="auto")return parseFloat(_[I]);var N=this.root,k=document.defaultView.getComputedStyle(N);return(N[L]||t(k[I])||t(N.style[I]))-(t(k[D])||0)-(t(k[B])||0)|0},pathToImage:function(x,_){_=_||this.dpr;var I=document.createElement("canvas"),L=I.getContext("2d"),D=x.getBoundingRect(),B=x.style,N=B.shadowBlur*_,k=B.shadowOffsetX*_,W=B.shadowOffsetY*_,R=B.hasStroke()?B.lineWidth:0,j=Math.max(R/2,-k+N),H=Math.max(R/2,k+N),K=Math.max(R/2,-W+N),U=Math.max(R/2,W+N),Q=D.width+j+H,V=D.height+K+U;I.width=Q*_,I.height=V*_,L.scale(_,_),L.clearRect(0,0,Q,V),L.dpr=_;var J={position:x.position,rotation:x.rotation,scale:x.scale};x.position=[j-D.x,K-D.y],x.rotation=0,x.scale=[1,1],x.updateTransform(),x&&x.brush(L);var ae=o,se=new ae({style:{x:0,y:0,image:I}});return J.position!=null&&(se.position=x.position=J.position),J.rotation!=null&&(se.rotation=x.rotation=J.rotation),J.scale!=null&&(se.scale=x.scale=J.scale),se}};var C=E;M.exports=C},"7a+S":function(M,P,d){var w=d("bYtY"),A=d("bLfw"),b=d("YXkt"),m=d("4NO4"),v=A.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(s,u,o){this._data,this._names,this.mergeDefaultAndTheme(s,o),this._initData()},mergeOption:function(s){v.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(s){s==null&&(s=this.option.currentIndex);var u=this._data.count();this.option.loop?s=(s%u+u)%u:(s>=u&&(s=u-1),s<0&&(s=0)),this.option.currentIndex=s},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(s){this.option.autoPlay=!!s},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var s=this.option,u=s.data||[],o=s.axisType,e=this._names=[];if(o==="category"){var r=[];w.each(u,function(l,t){var a=m.getDataItemValue(l),c;w.isObject(l)?(c=w.clone(l),c.value=t):c=t,r.push(c),!w.isString(a)&&(a==null||isNaN(a))&&(a=""),e.push(a+"")}),u=r}var i={category:"ordinal",time:"time"}[o]||"number",n=this._data=new b([{name:"value",type:i}],this);n.initData(u,e)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),p=v;M.exports=p},"7aKB":function(M,P,d){var w=d("bYtY"),A=d("6GrX"),b=d("OELB");function m(y){return isNaN(y)?"-":(y=(y+"").split("."),y[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(y.length>1?"."+y[1]:""))}function v(y,E){return y=(y||"").toLowerCase().replace(/-(.)/g,function(C,T){return T.toUpperCase()}),E&&y&&(y=y.charAt(0).toUpperCase()+y.slice(1)),y}var p=w.normalizeCssArray,s=/([&<>"'])/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"};function o(y){return y==null?"":(y+"").replace(s,function(E,C){return u[C]})}var e=["a","b","c","d","e","f","g"],r=function(y,E){return"{"+y+(E==null?"":E)+"}"};function i(y,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[_];y=y.replace(r(I),r(I,0))}for(var L=0;L<T;L++)for(var D=0;D<x.length;D++){var B=E[L][x[D]];y=y.replace(r(e[D],L),C?o(B):B)}return y}function n(y,E,C){return w.each(E,function(T,x){y=y.replace("{"+x+"}",C?o(T):T)}),y}function l(y,E){y=w.isString(y)?{color:y,extraCssText:E}:y||{};var C=y.color,T=y.type,E=y.extraCssText,x=y.renderMode||"html",_=y.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:'+o(C)+";"+(E||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+o(C)+";"+(E||"")+'"></span>':{renderMode:x,content:"{marker"+_+"|} ",style:{color:C}}:""}function t(y,E){return y+="","0000".substr(0,E-y.length)+y}function a(y,E,C){(y==="week"||y==="month"||y==="quarter"||y==="half-year"||y==="year")&&(y=`MM-dd
|
|
|
yyyy`);var T=b.parseDate(E),x=C?"UTC":"",_=T["get"+x+"FullYear"](),I=T["get"+x+"Month"]()+1,L=T["get"+x+"Date"](),D=T["get"+x+"Hours"](),B=T["get"+x+"Minutes"](),N=T["get"+x+"Seconds"](),k=T["get"+x+"Milliseconds"]();return y=y.replace("MM",t(I,2)).replace("M",I).replace("yyyy",_).replace("yy",_%100).replace("dd",t(L,2)).replace("d",L).replace("hh",t(D,2)).replace("h",D).replace("mm",t(B,2)).replace("m",B).replace("ss",t(N,2)).replace("s",N).replace("SSS",t(k,3)),y}function c(y){return y&&y.charAt(0).toUpperCase()+y.substr(1)}var h=A.truncateText;function f(y){return A.getBoundingRect(y.text,y.font,y.textAlign,y.textVerticalAlign,y.textPadding,y.textLineHeight,y.rich,y.truncate)}function g(y,E,C,T,x,_,I,L){return A.getBoundingRect(y,E,C,T,x,L,_,I)}function S(y,E){if(E==="_blank"||E==="blank"){var C=window.open();C.opener=null,C.location=y}else window.open(y,E)}P.addCommas=m,P.toCamelCase=v,P.normalizeCssArray=p,P.encodeHTML=o,P.formatTpl=i,P.formatTplSimple=n,P.getTooltipMarker=l,P.formatTime=a,P.capitalFirst=c,P.truncateText=h,P.getTextBoundingRect=f,P.getTextRect=g,P.windowOpen=S},"7bkD":function(M,P,d){var w=d("bYtY");function A(b,m){m=m||{};var v=b.coordinateSystem,p=b.axis,s={},u=p.position,o=p.orient,e=v.getRect(),r=[e.x,e.x+e.width,e.y,e.y+e.height],i={horizontal:{top:r[2],bottom:r[3]},vertical:{left:r[0],right:r[1]}};s.position=[o==="vertical"?i.vertical[u]:r[0],o==="horizontal"?i.horizontal[u]:r[3]];var n={horizontal:0,vertical:1};s.rotation=Math.PI/2*n[o];var l={top:-1,bottom:1,right:1,left:-1};s.labelDirection=s.tickDirection=s.nameDirection=l[u],b.get("axisTick.inside")&&(s.tickDirection=-s.tickDirection),w.retrieve(m.labelInside,b.get("axisLabel.inside"))&&(s.labelDirection=-s.labelDirection);var t=m.rotate;return t==null&&(t=b.get("axisLabel.rotate")),s.labelRotation=u==="top"?-t:t,s.z2=1,s}P.layout=A},"7hqr":function(M,P,d){var w=d("bYtY"),A=w.each,b=w.isString;function m(s,u,o){o=o||{};var e=o.byIndex,r=o.stackedCoordDimension,i=!!(s&&s.get("stack")),n,l,t,a;if(A(u,function(g,S){b(g)&&(u[S]=g={name:g}),i&&!g.isExtraCoord&&(!e&&!n&&g.ordinalMeta&&(n=g),!l&&g.type!=="ordinal"&&g.type!=="time"&&(!r||r===g.coordDim)&&(l=g))}),l&&!e&&!n&&(e=!0),l){t="__\0ecstackresult",a="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var c=l.coordDim,h=l.type,f=0;A(u,function(g){g.coordDim===c&&f++}),u.push({name:t,coordDim:c,coordDimIndex:f,type:h,isExtraCoord:!0,isCalculationCoord:!0}),f++,u.push({name:a,coordDim:a,coordDimIndex:f,type:h,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:l&&l.name,stackedByDimension:n&&n.name,isStackedByIndex:e,stackedOverDimension:a,stackResultDimension:t}}function v(s,u){return!!u&&u===s.getCalculationInfo("stackedDimension")}function p(s,u){return v(s,u)?s.getCalculationInfo("stackResultDimension"):u}P.enableDataStack=m,P.isDimensionStacked=v,P.getStackedDimension=p},"7mYs":function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("IwbS"),m=d("7aKB"),v=d("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"]},s={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},u=w.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(o,e,r){var i=this.group;i.removeAll();var n=o.coordinateSystem,l=n.getRangeInfo(),t=n.getOrient();this._renderDayRect(o,l,i),this._renderLines(o,l,t,i),this._renderYearText(o,l,t,i),this._renderMonthText(o,t,i),this._renderWeekText(o,l,t,i)},_renderDayRect:function(o,e,r){for(var i=o.coordinateSystem,n=o.getModel("itemStyle").getItemStyle(),l=i.getCellWidth(),t=i.getCellHeight(),a=e.start.time;a<=e.end.time;a=i.getNextNDay(a,1).time){var c=i.dataToRect([a],!1).tl,h=new b.Rect({shape:{x:c[0],y:c[1],width:l,height:t},cursor:"default",style:n});r.add(h)}},_renderLines:function(o,e,r,i){var n=this,l=o.coordinateSystem,t=o.getModel("splitLine.lineStyle").getLineStyle(),a=o.get("splitLine.show"),c=t.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=e.start,f=0;h.time<=e.end.time;f++){S(h.formatedDate),f===0&&(h=l.getDateInfo(e.start.y+"-"+e.start.m));var g=h.date;g.setMonth(g.getMonth()+1),h=l.getDateInfo(g)}S(l.getNextNDay(e.end.time,1).formatedDate);function S(y){n._firstDayOfMonth.push(l.getDateInfo(y)),n._firstDayPoints.push(l.dataToRect([y],!1).tl);var E=n._getLinePointsOfOneWeek(o,y,r);n._tlpoints.push(E[0]),n._blpoints.push(E[E.length-1]),a&&n._drawSplitline(E,t,i)}a&&this._drawSplitline(n._getEdgesPoints(n._tlpoints,c,r),t,i),a&&this._drawSplitline(n._getEdgesPoints(n._blpoints,c,r),t,i)},_getEdgesPoints:function(o,e,r){var i=[o[0].slice(),o[o.length-1].slice()],n=r==="horizontal"?0:1;return i[0][n]=i[0][n]-e/2,i[1][n]=i[1][n]+e/2,i},_drawSplitline:function(o,e,r){var i=new b.Polyline({z2:20,shape:{points:o},style:e});r.add(i)},_getLinePointsOfOneWeek:function(o,e,r){var i=o.coordinateSystem;e=i.getDateInfo(e);for(var n=[],l=0;l<7;l++){var t=i.getNextNDay(e.time,l),a=i.dataToRect([t.time],!1);n[2*t.day]=a.tl,n[2*t.day+1]=a[r==="horizontal"?"bl":"tr"]}return n},_formatterLabel:function(o,e){return typeof o=="string"&&o?m.formatTplSimple(o,e):typeof o=="function"?o(e):e.nameMap},_yearTextPositionControl:function(o,e,r,i,n){e=e.slice();var l=["center","bottom"];i==="bottom"?(e[1]+=n,l=["center","top"]):i==="left"?e[0]-=n:i==="right"?(e[0]+=n,l=["center","top"]):e[1]-=n;var t=0;return(i==="left"||i==="right")&&(t=Math.PI/2),{rotation:t,position:e,style:{textAlign:l[0],textVerticalAlign:l[1]}}},_renderYearText:function(o,e,r,i){var n=o.getModel("yearLabel");if(!n.get("show"))return;var l=n.get("margin"),t=n.get("position");t||(t=r!=="horizontal"?"top":"left");var a=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(a[0][0]+a[1][0])/2,h=(a[0][1]+a[1][1])/2,f=r==="horizontal"?0:1,g={top:[c,a[f][1]],bottom:[c,a[1-f][1]],left:[a[1-f][0],h],right:[a[f][0],h]},S=e.start.y;+e.end.y>+e.start.y&&(S=S+"-"+e.end.y);var y=n.get("formatter"),E={start:e.start.y,end:e.end.y,nameMap:S},C=this._formatterLabel(y,E),T=new b.Text({z2:30});b.setTextStyle(T.style,n,{text:C}),T.attr(this._yearTextPositionControl(T,g[t],r,t,l)),i.add(T)},_monthTextPositionControl:function(o,e,r,i,n){var l="left",t="top",a=o[0],c=o[1];return r==="horizontal"?(c=c+n,e&&(l="center"),i==="start"&&(t="bottom")):(a=a+n,e&&(t="middle"),i==="start"&&(l="right")),{x:a,y:c,textAlign:l,textVerticalAlign:t}},_renderMonthText:function(o,e,r){var i=o.getModel("monthLabel");if(!i.get("show"))return;var n=i.get("nameMap"),l=i.get("margin"),t=i.get("position"),a=i.get("align"),c=[this._tlpoints,this._blpoints];A.isString(n)&&(n=p[n.toUpperCase()]||[]);var h=t==="start"?0:1,f=e==="horizontal"?0:1;l=t==="start"?-l:l;for(var g=a==="center",S=0;S<c[h].length-1;S++){var y=c[h][S].slice(),E=this._firstDayOfMonth[S];if(g){var C=this._firstDayPoints[S];y[f]=(C[f]+c[0][S+1][f])/2}var T=i.get("formatter"),x=n[+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 b.Text({z2:30});A.extend(b.setTextStyle(L.style,i,{text:I}),this._monthTextPositionControl(y,g,e,t,l)),r.add(L)}},_weekTextPositionControl:function(o,e,r,i,n){var l="center",t="middle",a=o[0],c=o[1],h=r==="start";return e==="horizontal"?(a=a+i+(h?1:-1)*n[0]/2,l=h?"right":"left"):(c=c+i+(h?1:-1)*n[1]/2,t=h?"bottom":"top"),{x:a,y:c,textAlign:l,textVerticalAlign:t}},_renderWeekText:function(o,e,r,i){var n=o.getModel("dayLabel");if(!n.get("show"))return;var l=o.coordinateSystem,t=n.get("position"),a=n.get("nameMap"),c=n.get("margin"),h=l.getFirstDayOfWeek();A.isString(a)&&(a=s[a.toUpperCase()]||[]);var f=l.getNextNDay(e.end.time,7-e.lweek).time,g=[l.getCellWidth(),l.getCellHeight()];c=v.parsePercent(c,g[r==="horizontal"?0:1]),t==="start"&&(f=l.getNextNDay(e.start.time,-(7+e.fweek)).time,c=-c);for(var S=0;S<7;S++){var y=l.getNextNDay(f,S),E=l.dataToRect([y.time],!1).center,C=S;C=Math.abs((S+h)%7);var T=new b.Text({z2:30});A.extend(b.setTextStyle(T.style,n,{text:a[C]}),this._weekTextPositionControl(E,r,t,c,g)),i.add(T)}}});M.exports=u},"7oTu":function(M,P,d){var w=d("IMiH"),A=d("QBsz"),b=A.applyTransform,m=w.CMD,v=[[],[],[]],p=Math.sqrt,s=Math.atan2;function u(o,e){var r=o.data,i,n,l,t,a,c,h=m.M,f=m.C,g=m.L,S=m.R,y=m.A,E=m.Q;for(l=0,t=0;l<r.length;){i=r[l++],t=l,n=0;switch(i){case h:n=1;break;case g:n=1;break;case f:n=3;break;case E:n=2;break;case y: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=s(-e[1]/_,e[0]/x);r[l]*=x,r[l++]+=C,r[l]*=_,r[l++]+=T,r[l++]*=x,r[l++]*=_,r[l++]+=I,r[l++]+=I,l+=2,t=l;break;case S:c[0]=r[l++],c[1]=r[l++],b(c,c,e),r[t++]=c[0],r[t++]=c[1],c[0]+=r[l++],c[1]+=r[l++],b(c,c,e),r[t++]=c[0],r[t++]=c[1]}for(a=0;a<n;a++){var c=v[a];c[0]=r[l++],c[1]=r[l++],b(c,c,e),r[t++]=c[0],r[t++]=c[1]}}}M.exports=u},"7pVf":function(M,P,d){var w=d("ProS"),A=d("ZqQs");d("oE7X"),d("OUJF"),d("3X6L"),d("NH9N"),w.registerPreprocessor(A)},"7ph2":function(M,P){function d(b){return b instanceof Array||(b=[b,b]),b}var w="lineStyle.opacity".split("."),A={seriesType:"lines",reset:function(b,m,v){var p=d(b.get("symbol")),s=d(b.get("symbolSize")),u=b.getData();u.setVisual("fromSymbol",p&&p[0]),u.setVisual("toSymbol",p&&p[1]),u.setVisual("fromSymbolSize",s&&s[0]),u.setVisual("toSymbolSize",s&&s[1]),u.setVisual("opacity",b.get(w));function o(e,r){var i=e.getItemModel(r),n=d(i.getShallow("symbol",!0)),l=d(i.getShallow("symbolSize",!0)),t=i.get(w);n[0]&&e.setItemVisual(r,"fromSymbol",n[0]),n[1]&&e.setItemVisual(r,"toSymbol",n[1]),l[0]&&e.setItemVisual(r,"fromSymbolSize",l[0]),l[1]&&e.setItemVisual(r,"toSymbolSize",l[1]),e.setItemVisual(r,"opacity",t)}return{dataEach:u.hasItemOption?o:null}}};M.exports=A},"7uqq":function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),m=d("bYtY"),v=d("AUH6"),p=d("+TT/"),s=d("OELB"),u=d("W4dC"),o=d("7DRL");function e(l,t){var a=l.get("boundingCoords");if(a!=null){var c=a[0],h=a[1];isNaN(c[0])||isNaN(c[1])||isNaN(h[0])||isNaN(h[1])||this.setBoundingRect(c[0],c[1],h[0]-c[0],h[1]-c[1])}var f=this.getBoundingRect(),g,S=l.get("layoutCenter"),y=l.get("layoutSize"),E=t.getWidth(),C=t.getHeight(),T=f.width/f.height*this.aspectScale,x=!1;S&&y&&(S=[s.parsePercent(S[0],E),s.parsePercent(S[1],C)],y=s.parsePercent(y,Math.min(E,C)),!isNaN(S[0])&&!isNaN(S[1])&&!isNaN(y)&&(x=!0));var _;if(x){var _={};T>1?(_.width=y,_.height=y/T):(_.height=y,_.width=y*T),_.y=S[1]-_.height/2,_.x=S[0]-_.width/2}else g=l.getBoxLayoutParams(),g.aspect=T,_=p.getLayoutRect(g,{width:E,height:C});this.setViewRect(_.x,_.y,_.width,_.height),this.setCenter(l.get("center")),this.setZoom(l.get("zoom"))}function r(l,t){m.each(t.get("geoCoord"),function(a,c){l.addGeoCoord(c,a)})}var i={dimensions:v.prototype.dimensions,create:function(l,t){var a=[];l.eachComponent("geo",function(h,f){var g=h.get("map"),S=h.get("aspectScale"),y=!0,E=o.retrieveMap(g);E&&E[0]&&E[0].type==="svg"?(S==null&&(S=1),y=!1):S==null&&(S=.75);var C=new v(g+f,g,h.get("nameMap"),y);C.aspectScale=S,C.zoomLimit=h.get("scaleLimit"),a.push(C),r(C,h),h.coordinateSystem=C,C.model=h,C.resize=e,C.resize(h,t)}),l.eachSeries(function(h){var f=h.get("coordinateSystem");if(f==="geo"){var g=h.get("geoIndex")||0;h.coordinateSystem=a[g]}});var c={};return l.eachSeriesByType("map",function(h){if(!h.getHostGeoModel()){var f=h.getMapType();c[f]=c[f]||[],c[f].push(h)}}),m.each(c,function(h,f){var g=m.map(h,function(y){return y.get("nameMap")}),S=new v(f,f,m.mergeAll(g));S.zoomLimit=m.retrieve.apply(null,m.map(h,function(y){return y.get("scaleLimit")})),a.push(S),S.resize=e,S.aspectScale=h[0].get("aspectScale"),S.resize(h[0],t),m.each(h,function(y){y.coordinateSystem=S,r(S,y)})}),a},getFilledRegions:function(l,t,a){for(var c=(l||[]).slice(),h=m.createHashMap(),f=0;f<c.length;f++)h.set(c[f].name,c[f]);var g=u.load(t,a);return m.each(g.regions,function(S){var y=S.name;!h.get(y)&&c.push({name:y})}),c}};b.registerCoordinateSystem("geo",i);var n=i;M.exports=n},"7yuC":function(M,P,d){var w=d("QBsz"),A=w.scaleAndAdd;function b(m,v,p){for(var s=p.rect,u=s.width,o=s.height,e=[s.x+u/2,s.y+o/2],r=p.gravity==null?.1:p.gravity,i=0;i<m.length;i++){var n=m[i];n.p||(n.p=w.create(u*(Math.random()-.5)+e[0],o*(Math.random()-.5)+e[1])),n.pp=w.clone(n.p),n.edges=null}var l=p.friction==null?.6:p.friction,t=l;return{warmUp:function(){t=l*.8},setFixed:function(a){m[a].fixed=!0},setUnfixed:function(a){m[a].fixed=!1},step:function(a){for(var c=[],h=m.length,f=0;f<v.length;f++){var g=v[f];if(g.ignoreForceLayout)continue;var S=g.n1,y=g.n2;w.sub(c,y.p,S.p);var E=w.len(c)-g.d,C=y.w/(S.w+y.w);isNaN(C)&&(C=0),w.normalize(c,c),!S.fixed&&A(S.p,S.p,c,C*E*t),!y.fixed&&A(y.p,y.p,c,-(1-C)*E*t)}for(var f=0;f<h;f++){var T=m[f];T.fixed||(w.sub(c,e,T.p),A(T.p,T.p,c,r*t))}for(var f=0;f<h;f++)for(var S=m[f],x=f+1;x<h;x++){var y=m[x];w.sub(c,y.p,S.p);var E=w.len(c);E===0&&(w.set(c,Math.random()-.5,Math.random()-.5),E=1);var _=(S.rep+y.rep)/E/E;!S.fixed&&A(S.pp,S.pp,c,_),!y.fixed&&A(y.pp,y.pp,c,-_)}for(var I=[],f=0;f<h;f++){var T=m[f];T.fixed||(w.sub(I,T.p,T.pp),A(T.p,T.p,I,t),w.copy(T.pp,T.p))}t=t*.992,a&&a(m,v,t<.01)}}}P.forceLayout=b},"8+yF":function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.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},A={lookup:function(m){if(m>=32&&m<=255)return m;var v=w[m];return v!==void 0?v:16777216|m}};P.default=A},"815F":function(M,P,d){"use strict";d.d(P,"e",function(){return o}),d.d(P,"c",function(){return r}),d.d(P,"d",function(){return i}),d.d(P,"a",function(){return l}),d.d(P,"f",function(){return t}),d.d(P,"b",function(){return a});var w=d("U8pU"),A=d("KQm4"),b=d("VTBJ"),m=d("Ff2n"),v=d("Zm9Q"),p=d("Kwbf"),s=d("OZM5"),u=["children"];function o(c,h){return c!=null?c:h}function e(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],h=new Map;function f(g){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(g||[]).forEach(function(y){var E=y.key,C=y.children;Object(p.a)(E!=null,"Tree node must have a certain key: [".concat(S).concat(E,"]"));var T=String(E);Object(p.a)(!h.has(T)||E===null||E===void 0,"Same 'key' exist in the Tree: ".concat(T)),h.set(T,!0),f(C,"".concat(S).concat(T," > "))})}f(c)}function r(c){function h(f){var g=Object(v.a)(f);return g.map(function(S){if(!Object(s.i)(S))return Object(p.a)(!S,"Tree/TreeNode can only accept TreeNode as children."),null;var y=S.key,E=S.props,C=E.children,T=Object(m.a)(E,u),x=Object(b.a)({key:y},T),_=h(C);return _.length&&(x.children=_),x}).filter(function(S){return S})}return h(c)}function i(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],f=new Set(h===!0?[]:h),g=[];function S(y){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return y.map(function(C,T){var x=Object(s.h)(E?E.pos:"0",T),_=o(C.key,x),I=Object(b.a)(Object(b.a)({},C),{},{parent:E,pos:x,children:null,data:C,isStart:[].concat(Object(A.a)(E?E.isStart:[]),[T===0]),isEnd:[].concat(Object(A.a)(E?E.isEnd:[]),[T===y.length-1])});return g.push(I),h===!0||f.has(_)?I.children=S(C.children||[],I):I.children=[],I})}return S(c),g}function n(c,h,f){var g=null,S,y=Object(w.a)(f);y==="function"||y==="string"?g=f:f&&y==="object"&&(S=f.childrenPropName,g=f.externalGetKey),S=S||"children";var E;g?typeof g=="string"?E=function(x){return x[g]}:typeof g=="function"&&(E=function(x){return g(x)}):E=function(x,_){return o(x.key,_)};function C(T,x,_){var I=T?T[S]:c,L=T?Object(s.h)(_.pos,x):"0";if(T){var D=E(T,L),B={node:T,index:x,pos:L,key:D,parentPos:_.node?_.pos:null,level:_.level+1};h(B)}I&&I.forEach(function(N,k){C(N,k,{node:T,pos:L,level:_?_.level+1:-1})})}C(null)}function l(c){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=h.initWrapper,g=h.processEntity,S=h.onProcessFinished,y=h.externalGetKey,E=h.childrenPropName,C=arguments.length>2?arguments[2]:void 0,T=y||C,x={},_={},I={posEntities:x,keyEntities:_};return f&&(I=f(I)||I),n(c,function(L){var D=L.node,B=L.index,N=L.pos,k=L.key,W=L.parentPos,R=L.level,j={node:D,index:B,key:k,pos:N,level:R},H=o(k,N);x[N]=j,_[H]=j,j.parent=x[W],j.parent&&(j.parent.children=j.parent.children||[],j.parent.children.push(j)),g&&g(j,I)},{externalGetKey:T,childrenPropName:E}),S&&S(I),I}function t(c,h){var f=h.expandedKeys,g=h.selectedKeys,S=h.loadedKeys,y=h.loadingKeys,E=h.checkedKeys,C=h.halfCheckedKeys,T=h.dragOverNodeKey,x=h.dropPosition,_=h.keyEntities,I=_[c],L={eventKey:c,expanded:f.indexOf(c)!==-1,selected:g.indexOf(c)!==-1,loaded:S.indexOf(c)!==-1,loading:y.indexOf(c)!==-1,checked:E.indexOf(c)!==-1,halfChecked:C.indexOf(c)!==-1,pos:String(I?I.pos:""),dragOver:T===c&&x===0,dragOverGapTop:T===c&&x===-1,dragOverGapBottom:T===c&&x===1};return L}function a(c){var h=c.data,f=c.expanded,g=c.selected,S=c.checked,y=c.loaded,E=c.loading,C=c.halfChecked,T=c.dragOver,x=c.dragOverGapTop,_=c.dragOverGapBottom,I=c.pos,L=c.active,D=Object(b.a)(Object(b.a)({},h),{},{expanded:f,selected:g,checked:S,loaded:y,loading:E,halfChecked:C,dragOver:T,dragOverGapTop:x,dragOverGapBottom:_,pos:I,active:L});return"props"in D||Object.defineProperty(D,"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`."),c}}),D}},"8CQX":function(M,P,d){"use strict";function w(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(a){return typeof a}:w=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},w(l)}Object.defineProperty(P,"__esModule",{value:!0}),P.getKeycode=r,P.getKey=i,P.getKeysym=n;var A=e(d("mHUz")),b=e(d("8+yF")),m=e(d("6Qwc")),v=e(d("gIYZ")),p=e(d("mTgk")),s=o(d("GdRQ"));function u(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return u=function(){return l},l}function o(l){if(l&&l.__esModule)return l;if(l===null||w(l)!=="object"&&typeof l!="function")return{default:l};var t=u();if(t&&t.has(l))return t.get(l);var a={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(Object.prototype.hasOwnProperty.call(l,h)){var f=c?Object.getOwnPropertyDescriptor(l,h):null;f&&(f.get||f.set)?Object.defineProperty(a,h,f):a[h]=l[h]}return a.default=l,t&&t.set(l,a),a}function e(l){return l&&l.__esModule?l:{default:l}}function r(l){if(l.code){switch(l.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return l.code}if(l.type!=="keypress"&&l.keyCode in m.default){var t=m.default[l.keyCode];if(s.isMac()&&t==="ContextMenu"&&(t="MetaRight"),l.location===2)switch(t){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(l.location===3)switch(t){case"Delete":return"NumpadDecimal";case"Insert":return"Numpad0";case"End":return"Numpad1";case"ArrowDown":return"Numpad2";case"PageDown":return"Numpad3";case"ArrowLeft":return"Numpad4";case"ArrowRight":return"Numpad6";case"Home":return"Numpad7";case"ArrowUp":return"Numpad8";case"PageUp":return"Numpad9";case"Enter":return"NumpadEnter"}return t}return"Unidentified"}function i(l){if(l.key!==void 0){switch(l.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return l.char}switch(l.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(l.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(l.key==="\0"&&l.code==="NumpadDecimal")return"Delete";if(!s.isIE()&&!s.isEdge())return l.key;if(l.key.length!==1&&l.key!=="Unidentified")return l.key}var t=r(l);return t in v.default?v.default[t]:l.charCode?String.fromCharCode(l.charCode):"Unidentified"}function n(l){var t=i(l);if(t==="Unidentified")return null;if(t in p.default){var a=l.location;if(t==="Meta"&&a===0&&(a=2),t==="Clear"&&a===3){var c=r(l);c==="NumLock"&&(a=0)}if((a===void 0||a>3)&&(a=0),t==="Meta"){var h=r(l);if(h==="AltLeft")return A.default.XK_Meta_L;if(h==="AltRight")return A.default.XK_Meta_R}if(t==="Clear"){var f=r(l);if(f==="NumLock")return A.default.XK_Num_Lock}return p.default[t][a]}if(t.length!==1)return null;var g=t.charCodeAt();return g?b.default.lookup(g):null}},"8EBN":function(M,P,d){(function(w){w(d("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 A=0;A<w.modeInfo.length;A++){var b=w.modeInfo[A];b.mimes&&(b.mime=b.mimes[0])}w.findModeByMIME=function(m){m=m.toLowerCase();for(var v=0;v<w.modeInfo.length;v++){var p=w.modeInfo[v];if(p.mime==m)return p;if(p.mimes){for(var s=0;s<p.mimes.length;s++)if(p.mimes[s]==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 v=0;v<w.modeInfo.length;v++){var p=w.modeInfo[v];if(p.ext){for(var s=0;s<p.ext.length;s++)if(p.ext[s]==m)return p}}},w.findModeByFileName=function(m){for(var v=0;v<w.modeInfo.length;v++){var p=w.modeInfo[v];if(p.file&&p.file.test(m))return p}var s=m.lastIndexOf("."),u=s>-1&&m.substring(s+1,m.length);if(u)return w.findModeByExtension(u)},w.findModeByName=function(m){m=m.toLowerCase();for(var v=0;v<w.modeInfo.length;v++){var p=w.modeInfo[v];if(p.name.toLowerCase()==m)return p;if(p.alias){for(var s=0;s<p.alias.length;s++)if(p.alias[s].toLowerCase()==m)return p}}}})},"8K/p":function(M,P,d){"use strict";function w(r){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(r)}Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var A=p(d("Lo0S")),b=m(d("ItS6"));function m(r){return r&&r.__esModule?r:{default:r}}function v(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return v=function(){return r},r}function p(r){if(r&&r.__esModule)return r;if(r===null||w(r)!=="object"&&typeof r!="function")return{default:r};var i=v();if(i&&i.has(r))return i.get(r);var n={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t)){var a=l?Object.getOwnPropertyDescriptor(r,t):null;a&&(a.get||a.set)?Object.defineProperty(n,t,a):n[t]=r[t]}return n.default=r,i&&i.set(r,n),n}function s(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}function u(r,i){for(var n=0;n<i.length;n++){var l=i[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}function o(r,i,n){return i&&u(r.prototype,i),n&&u(r,n),r}var e=function(){function r(){s(this,r),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 b.default}return o(r,[{key:"decodeRect",value:function(n,l,t,a,c,h,f){if(this._ctl===null){if(c.rQwait("TIGHT compression-control",1))return!1;this._ctl=c.rQshift8();for(var g=0;g<4;g++)this._ctl>>g&1&&(this._zlibs[g].reset(),A.Info("Reset zlib stream "+g));this._ctl=this._ctl>>4}var S;if(this._ctl===8)S=this._fillRect(n,l,t,a,c,h,f);else if(this._ctl===9)S=this._jpegRect(n,l,t,a,c,h,f);else if(this._ctl===10)S=this._pngRect(n,l,t,a,c,h,f);else if((this._ctl&128)==0)S=this._basicRect(this._ctl,n,l,t,a,c,h,f);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return S&&(this._ctl=null),S}},{key:"_fillRect",value:function(n,l,t,a,c,h,f){if(c.rQwait("TIGHT",3))return!1;var g=c.rQi,S=c.rQ;return h.fillRect(n,l,t,a,[S[g+2],S[g+1],S[g]],!1),c.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(n,l,t,a,c,h,f){var g=this._readData(c);return g===null?!1:(h.imageRect(n,l,t,a,"image/jpeg",g),!0)}},{key:"_pngRect",value:function(n,l,t,a,c,h,f){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(n,l,t,a,c,h,f,g){if(this._filter===null)if(n&4){if(h.rQwait("TIGHT",1))return!1;this._filter=h.rQshift8()}else this._filter=0;var S=n&3,y;switch(this._filter){case 0:y=this._copyFilter(S,l,t,a,c,h,f,g);break;case 1:y=this._paletteFilter(S,l,t,a,c,h,f,g);break;case 2:y=this._gradientFilter(S,l,t,a,c,h,f,g);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return y&&(this._filter=null),y}},{key:"_copyFilter",value:function(n,l,t,a,c,h,f,g){var S=a*c*3,y;if(S<12){if(h.rQwait("TIGHT",S))return!1;y=h.rQshiftBytes(S)}else{if(y=this._readData(h),y===null)return!1;this._zlibs[n].setInput(y),y=this._zlibs[n].inflate(S),this._zlibs[n].setInput(null)}return f.blitRgbImage(l,t,a,c,y,0,!1),!0}},{key:"_paletteFilter",value:function(n,l,t,a,c,h,f,g){if(this._numColors===0){if(h.rQwait("TIGHT palette",1))return!1;var S=h.rQpeek8()+1,y=S*3;if(h.rQwait("TIGHT palette",1+y))return!1;this._numColors=S,h.rQskipBytes(1),h.rQshiftTo(this._palette,y)}var E=this._numColors<=2?1:8,C=Math.floor((a*E+7)/8),T=C*c,x;if(T<12){if(h.rQwait("TIGHT",T))return!1;x=h.rQshiftBytes(T)}else{if(x=this._readData(h),x===null)return!1;this._zlibs[n].setInput(x),x=this._zlibs[n].inflate(T),this._zlibs[n].setInput(null)}return this._numColors==2?this._monoRect(l,t,a,c,x,this._palette,f):this._paletteRect(l,t,a,c,x,this._palette,f),this._numColors=0,!0}},{key:"_monoRect",value:function(n,l,t,a,c,h,f){for(var g=this._getScratchBuffer(t*a*4),S=Math.floor((t+7)/8),y=Math.floor(t/8),E=0;E<a;E++){var C=void 0,T=void 0,x=void 0;for(x=0;x<y;x++)for(var _=7;_>=0;_--)C=(E*t+x*8+7-_)*4,T=(c[E*S+x]>>_&1)*3,g[C]=h[T],g[C+1]=h[T+1],g[C+2]=h[T+2],g[C+3]=255;for(var I=7;I>=8-t%8;I--)C=(E*t+x*8+7-I)*4,T=(c[E*S+x]>>I&1)*3,g[C]=h[T],g[C+1]=h[T+1],g[C+2]=h[T+2],g[C+3]=255}f.blitRgbxImage(n,l,t,a,g,0,!1)}},{key:"_paletteRect",value:function(n,l,t,a,c,h,f){for(var g=this._getScratchBuffer(t*a*4),S=t*a*4,y=0,E=0;y<S;y+=4,E++){var C=c[E]*3;g[y]=h[C],g[y+1]=h[C+1],g[y+2]=h[C+2],g[y+3]=255}f.blitRgbxImage(n,l,t,a,g,0,!1)}},{key:"_gradientFilter",value:function(n,l,t,a,c,h,f,g){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(n){if(this._len===0){if(n.rQwait("TIGHT",3))return null;var l;l=n.rQshift8(),this._len=l&127,l&128&&(l=n.rQshift8(),this._len|=(l&127)<<7,l&128&&(l=n.rQshift8(),this._len|=l<<14))}if(n.rQwait("TIGHT",this._len))return null;var t=n.rQshiftBytes(this._len);return this._len=0,t}},{key:"_getScratchBuffer",value:function(n){return(!this._scratchBuffer||this._scratchBuffer.length<n)&&(this._scratchBuffer=new Uint8Array(n)),this._scratchBuffer}}]),r}();P.default=e},"8OUc":function(M,P,d){"use strict";var w=d("q1tI"),A=d.n(w),b=d("TSYQ"),m=d.n(b),v=function(s){var u=s.className,o=s.customizeIcon,e=s.customizeIconProps,r=s.onMouseDown,i=s.onClick,n=s.children,l;return typeof o=="function"?l=o(e):l=o,w.createElement("span",{className:u,onMouseDown:function(a){a.preventDefault(),r&&r(a)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},l!==void 0?l:w.createElement("span",{className:m()(u.split(/\s+/).map(function(t){return"".concat(t,"-icon")}))},n))};P.a=v},"8SMY":function(M,P,d){var w=d("n4Lv"),A=w.prepareDataCoordInfo,b=w.getStackedOnPoint;function m(p,s){var u=[];return s.diff(p).add(function(o){u.push({cmd:"+",idx:o})}).update(function(o,e){u.push({cmd:"=",idx:e,idx1:o})}).remove(function(o){u.push({cmd:"-",idx:o})}).execute(),u}function v(p,s,u,o,e,r,i,n){for(var l=m(p,s),t=[],a=[],c=[],h=[],f=[],g=[],S=[],y=A(e,s,i),E=A(r,p,n),C=0;C<l.length;C++){var T=l[C],x=!0;switch(T.cmd){case"=":var _=p.getItemLayout(T.idx),I=s.getItemLayout(T.idx1);(isNaN(_[0])||isNaN(_[1]))&&(_=I.slice()),t.push(_),a.push(I),c.push(u[T.idx]),h.push(o[T.idx1]),S.push(s.getRawIndex(T.idx1));break;case"+":var L=T.idx;t.push(e.dataToPoint([s.get(y.dataDimsForPoint[0],L),s.get(y.dataDimsForPoint[1],L)])),a.push(s.getItemLayout(L).slice()),c.push(b(y,e,s,L)),h.push(o[L]),S.push(s.getRawIndex(L));break;case"-":var L=T.idx,D=p.getRawIndex(L);D!==L?(t.push(p.getItemLayout(L)),a.push(r.dataToPoint([p.get(E.dataDimsForPoint[0],L),p.get(E.dataDimsForPoint[1],L)])),c.push(u[L]),h.push(b(E,r,p,L)),S.push(D)):x=!1}x&&(f.push(T),g.push(g.length))}g.sort(function(j,H){return S[j]-S[H]});for(var B=[],N=[],k=[],W=[],R=[],C=0;C<g.length;C++){var L=g[C];B[C]=t[L],N[C]=a[L],k[C]=c[L],W[C]=h[L],R[C]=f[L]}return{current:B,next:N,stackedOnCurrent:k,stackedOnNext:W,status:R}}M.exports=v},"8Skl":function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="DownOutlined";var s=P.a=A.forwardRef(p)},"8Th4":function(M,P,d){var w=d("3LNs"),A=d("/y7N"),b=d("7bkD"),m=d("Znkb"),v=["x","y"],p=["width","height"],s=w.extend({makeElOption:function(i,n,l,t,a){var c=l.axis,h=c.coordinateSystem,f=e(h,1-o(c)),g=h.dataToPoint(n)[0],S=t.get("type");if(S&&S!=="none"){var y=A.buildElStyle(t),E=u[S](c,g,f);E.style=y,i.graphicKey=E.type,i.pointer=E}var C=b.layout(l);A.buildCartesianSingleLabelElOption(n,i,C,l,t,a)},getHandleTransform:function(i,n,l){var t=b.layout(n,{labelInside:!1});return t.labelMargin=l.get("handle.margin"),{position:A.getTransformedPosition(n.axis,i,t),rotation:t.rotation+(t.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(i,n,l,t){var a=l.axis,c=a.coordinateSystem,h=o(a),f=e(c,h),g=i.position;g[h]+=n[h],g[h]=Math.min(f[1],g[h]),g[h]=Math.max(f[0],g[h]);var S=e(c,1-h),y=(S[1]+S[0])/2,E=[y,y];return E[h]=g[h],{position:g,rotation:i.rotation,cursorPoint:E,tooltipOption:{verticalAlign:"middle"}}}}),u={line:function(i,n,l){var t=A.makeLineShape([n,l[0]],[n,l[1]],o(i));return{type:"Line",subPixelOptimize:!0,shape:t}},shadow:function(i,n,l){var t=i.getBandWidth(),a=l[1]-l[0];return{type:"Rect",shape:A.makeRectShape([n-t/2,l[0]],[t,a],o(i))}}};function o(i){return i.isHorizontal()?0:1}function e(i,n){var l=i.getRect();return[l[v[n]],l[v[n]]+l[p[n]]]}m.registerAxisPointerClass("SingleAxisPointer",s);var r=s;M.exports=r},"8Uz6":function(M,P,d){var w=d("hNWo"),A=d("+TT/"),b=A.mergeLayoutParam,m=A.getLayoutParams,v=w.extend({type:"legend.scroll",setScrollDataIndex:function(u){this.option.scrollDataIndex=u},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(u,o,e,r){var i=m(u);v.superCall(this,"init",u,o,e,r),p(this,u,i)},mergeOption:function(u,o){v.superCall(this,"mergeOption",u,o),p(this,this.option,u)}});function p(u,o,e){var r=u.getOrient(),i=[1,1];i[r.index]=0,b(o,e,{type:"box",ignoreSize:i})}var s=v;M.exports=s},"8X+K":function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=d("4mN7"),v=m.fromPoints,p=d("9wZj"),s=d("FBjb"),u=d("8SMY"),o=d("IwbS"),e=d("4NO4"),r=d("1NG9"),i=r.Polyline,n=r.Polygon,l=d("6Ic6"),t=d("n4Lv"),a=t.prepareDataCoordInfo,c=t.getStackedOnPoint,h=d("sK/D"),f=h.createGridClipPath,g=h.createPolarClipPath;function S(B,N){if(B.length!==N.length)return;for(var k=0;k<B.length;k++){var W=B[k],R=N[k];if(W[0]!==R[0]||W[1]!==R[1])return}return!0}function y(B,N){var k=[],W=[],R=[],j=[];return v(B,k,W),v(N,R,j),Math.max(Math.abs(k[0]-R[0]),Math.abs(k[1]-R[1]),Math.abs(W[0]-j[0]),Math.abs(W[1]-j[1]))}function E(B){return typeof B=="number"?B:B?.5:0}function C(B,N,k){if(!k.valueDim)return[];for(var W=[],R=0,j=N.count();R<j;R++)W.push(c(k,B,N,R));return W}function T(B,N,k){for(var W=N.getBaseAxis(),R=W.dim==="x"||W.dim==="radius"?0:1,j=[],H=0;H<B.length-1;H++){var K=B[H+1],U=B[H];j.push(U);var Q=[];switch(k){case"end":Q[R]=K[R],Q[1-R]=U[1-R],j.push(Q);break;case"middle":var V=(U[R]+K[R])/2,J=[];Q[R]=J[R]=V,Q[1-R]=U[1-R],J[1-R]=K[1-R],j.push(Q),j.push(J);break;default:Q[R]=U[R],Q[1-R]=K[1-R],j.push(Q)}}return B[H]&&j.push(B[H]),j}function x(B,N){var k=B.getVisual("visualMeta");if(!k||!k.length||!B.count())return;if(N.type!=="cartesian2d")return;for(var W,R,j=k.length-1;j>=0;j--){var H=k[j].dimension,K=B.dimensions[H],U=B.getDimensionInfo(K);if(W=U&&U.coordDim,W==="x"||W==="y"){R=k[j];break}}if(!R)return;var Q=N.getAxis(W),V=b.map(R.stops,function(Se){return{coord:Q.toGlobalCoord(Q.dataToCoord(Se.value)),color:Se.color}}),J=V.length,ae=R.outerColors.slice();J&&V[0].coord>V[J-1].coord&&(V.reverse(),ae.reverse());var se=10,$=V[0].coord-se,ge=V[J-1].coord+se,he=ge-$;if(he<.001)return"transparent";b.each(V,function(Se){Se.offset=(Se.coord-$)/he}),V.push({offset:J?V[J-1].offset:.5,color:ae[1]||"transparent"}),V.unshift({offset:J?V[0].offset:.5,color:ae[0]||"transparent"});var Ie=new o.LinearGradient(0,0,0,0,V,!0);return Ie[W]=$,Ie[W+"2"]=ge,Ie}function _(B,N,k){var W=B.get("showAllSymbol"),R=W==="auto";if(W&&!R)return;var j=k.getAxesByScale("ordinal")[0];if(!j)return;if(R&&I(j,N))return;var H=N.mapDimension(j.dim),K={};return b.each(j.getViewLabels(),function(U){K[U.tickValue]=1}),function(U){return!K.hasOwnProperty(N.get(H,U))}}function I(B,N){var k=B.getExtent(),W=Math.abs(k[1]-k[0])/B.scale.count();isNaN(W)&&(W=0);for(var R=N.count(),j=Math.max(1,Math.round(R/5)),H=0;H<R;H+=j)if(s.getSymbolSize(N,H)[B.isHorizontal()?1:0]*1.5>W)return!1;return!0}function L(B,N,k){if(B.type==="cartesian2d"){var W=B.getBaseAxis().isHorizontal(),R=f(B,N,k);if(!k.get("clip",!0)){var j=R.shape,H=Math.max(j.width,j.height);W?(j.y-=H,j.height+=H*2):(j.x-=H,j.width+=H*2)}return R}else return g(B,N,k)}var D=l.extend({type:"line",init:function(){var B=new o.Group,N=new p;this.group.add(N.group),this._symbolDraw=N,this._lineGroup=B},render:function(B,N,k){var W=B.coordinateSystem,R=this.group,j=B.getData(),H=B.getModel("lineStyle"),K=B.getModel("areaStyle"),U=j.mapArray(j.getItemLayout),Q=W.type==="polar",V=this._coordSys,J=this._symbolDraw,ae=this._polyline,se=this._polygon,$=this._lineGroup,ge=B.get("animation"),he=!K.isEmpty(),Ie=K.get("origin"),Se=a(W,j,Ie),Le=C(W,j,Se),He=B.get("showSymbol"),G=He&&!Q&&_(B,j,W),pe=this._data;pe&&pe.eachItemGraphicEl(function(ne,Ae){ne.__temp&&(R.remove(ne),pe.setItemGraphicEl(Ae,null))}),He||J.remove(),R.add($);var We=!Q&&B.get("step"),te;W&&W.getArea&&B.get("clip",!0)&&(te=W.getArea(),te.width!=null?(te.x-=.1,te.y-=.1,te.width+=.2,te.height+=.2):te.r0&&(te.r0-=.5,te.r1+=.5)),this._clipShapeForSymbol=te,ae&&V.type===W.type&&We===this._step?(he&&!se?se=this._newPolygon(U,Le,W,ge):se&&!he&&($.remove(se),se=this._polygon=null),$.setClipPath(L(W,!1,B)),He&&J.updateData(j,{isIgnore:G,clipShape:te}),j.eachItemGraphicEl(function(ne){ne.stopAnimation(!0)}),(!S(this._stackedOnPoints,Le)||!S(this._points,U))&&(ge?this._updateAnimation(j,Le,W,k,We,Ie):(We&&(U=T(U,W,We),Le=T(Le,W,We)),ae.setShape({points:U}),se&&se.setShape({points:U,stackedOnPoints:Le})))):(He&&J.updateData(j,{isIgnore:G,clipShape:te}),We&&(U=T(U,W,We),Le=T(Le,W,We)),ae=this._newPolyline(U,W,ge),he&&(se=this._newPolygon(U,Le,W,ge)),$.setClipPath(L(W,!0,B)));var X=x(j,W)||j.getVisual("color");ae.useStyle(b.defaults(H.getLineStyle(),{fill:"none",stroke:X,lineJoin:"bevel"}));var z=B.get("smooth");if(z=E(B.get("smooth")),ae.setShape({smooth:z,smoothMonotone:B.get("smoothMonotone"),connectNulls:B.get("connectNulls")}),se){var Z=j.getCalculationInfo("stackedOnSeries"),be=0;se.useStyle(b.defaults(K.getAreaStyle(),{fill:X,opacity:.7,lineJoin:"bevel"})),Z&&(be=E(Z.get("smooth"))),se.setShape({smooth:z,stackedOnSmooth:be,smoothMonotone:B.get("smoothMonotone"),connectNulls:B.get("connectNulls")})}this._data=j,this._coordSys=W,this._stackedOnPoints=Le,this._points=U,this._step=We,this._valueOrigin=Ie},dispose:function(){},highlight:function(B,N,k,W){var R=B.getData(),j=e.queryDataIndex(R,W);if(!(j instanceof Array)&&j!=null&&j>=0){var H=R.getItemGraphicEl(j);if(!H){var K=R.getItemLayout(j);if(!K)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(K[0],K[1]))return;H=new s(R,j),H.position=K,H.setZ(B.get("zlevel"),B.get("z")),H.ignore=isNaN(K[0])||isNaN(K[1]),H.__temp=!0,R.setItemGraphicEl(j,H),H.stopSymbolAnimation(!0),this.group.add(H)}H.highlight()}else l.prototype.highlight.call(this,B,N,k,W)},downplay:function(B,N,k,W){var R=B.getData(),j=e.queryDataIndex(R,W);if(j!=null&&j>=0){var H=R.getItemGraphicEl(j);H&&(H.__temp?(R.setItemGraphicEl(j,null),this.group.remove(H)):H.downplay())}else l.prototype.downplay.call(this,B,N,k,W)},_newPolyline:function(B){var N=this._polyline;return N&&this._lineGroup.remove(N),N=new i({shape:{points:B},silent:!0,z2:10}),this._lineGroup.add(N),this._polyline=N,N},_newPolygon:function(B,N){var k=this._polygon;return k&&this._lineGroup.remove(k),k=new n({shape:{points:B,stackedOnPoints:N},silent:!0}),this._lineGroup.add(k),this._polygon=k,k},_updateAnimation:function(B,N,k,W,R,j){var H=this._polyline,K=this._polygon,U=B.hostModel,Q=u(this._data,B,this._stackedOnPoints,N,this._coordSys,k,this._valueOrigin,j),V=Q.current,J=Q.stackedOnCurrent,ae=Q.next,se=Q.stackedOnNext;if(R&&(V=T(Q.current,k,R),J=T(Q.stackedOnCurrent,k,R),ae=T(Q.next,k,R),se=T(Q.stackedOnNext,k,R)),y(V,ae)>3e3||K&&y(J,se)>3e3){H.setShape({points:ae}),K&&K.setShape({points:ae,stackedOnPoints:se});return}H.shape.__points=Q.current,H.shape.points=V,o.updateProps(H,{shape:{points:ae}},U),K&&(K.setShape({points:V,stackedOnPoints:J}),o.updateProps(K,{shape:{points:ae,stackedOnPoints:se}},U));for(var $=[],ge=Q.status,he=0;he<ge.length;he++){var Ie=ge[he].cmd;if(Ie==="="){var Se=B.getItemGraphicEl(ge[he].idx1);Se&&$.push({el:Se,ptIdx:he})}}H.animators&&H.animators.length&&H.animators[0].during(function(){for(var Le=0;Le<$.length;Le++){var He=$[Le].el;He.attr("position",H.shape.__points[$[Le].ptIdx])}})},remove:function(B){var N=this.group,k=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),k&&k.eachItemGraphicEl(function(W,R){W.__temp&&(N.remove(W),k.setItemGraphicEl(R,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});M.exports=D},"8XDt":function(M,P,d){d("qH13");var w=d("aX58"),A=w.registerPainter,b=d("6fms");A("vml",b)},"8hn6":function(M,P){var d="#eee",w=function(){return{axisLine:{lineStyle:{color:d}},axisTick:{lineStyle:{color:d}},axisLabel:{textStyle:{color:d}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:d}}}},A=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],b={color:A,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:d},crossStyle:{color:d},label:{color:"#000"}}},legend:{textStyle:{color:d}},textStyle:{color:d},title:{textStyle:{color:d}},toolbox:{iconStyle:{normal:{borderColor:d}}},dataZoom:{textStyle:{color:d}},visualMap:{textStyle:{color:d}},timeline:{lineStyle:{color:d},itemStyle:{normal:{color:A[1]}},label:{normal:{textStyle:{color:d}}},controlStyle:{normal:{color:d,borderColor:d}}},timeAxis:w(),logAxis:w(),valueAxis:w(),categoryAxis:w(),line:{symbol:"circle"},graph:{color:A},gauge:{title:{textStyle:{color:d}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};b.categoryAxis.splitLine.show=!1;var m=b;M.exports=m},"8nMs":function(M,P,d){var w=d("bYtY"),A=d("IwbS"),b=d("+rIm"),m=d("Znkb"),v=d("AVZG"),p=d("WN+l"),s=p.rectCoordAxisBuildSplitArea,u=p.rectCoordAxisHandleRemove,o=["axisLine","axisTickLabel","axisName"],e=["splitArea","splitLine","minorSplitLine"],r=m.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(i,n,l,t){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new A.Group,this.group.add(this._axisGroup),!i.get("show"))return;var c=i.getCoordSysModel(),h=v.layout(c,i),f=new b(i,h);w.each(o,f.add,f),this._axisGroup.add(f.getGroup()),w.each(e,function(g){i.get(g+".show")&&this["_"+g](i,c)},this),A.groupTransition(a,this._axisGroup,i),r.superCall(this,"render",i,n,l,t)},remove:function(){u(this)},_splitLine:function(i,n){var l=i.axis;if(l.scale.isBlank())return;var t=i.getModel("splitLine"),a=t.getModel("lineStyle"),c=a.get("color");c=w.isArray(c)?c:[c];for(var h=n.coordinateSystem.getRect(),f=l.isHorizontal(),g=0,S=l.getTicksCoords({tickModel:t}),y=[],E=[],C=a.getLineStyle(),T=0;T<S.length;T++){var x=l.toGlobalCoord(S[T].coord);f?(y[0]=x,y[1]=h.y,E[0]=x,E[1]=h.y+h.height):(y[0]=h.x,y[1]=x,E[0]=h.x+h.width,E[1]=x);var _=g++%c.length,I=S[T].tickValue;this._axisGroup.add(new A.Line({anid:I!=null?"line_"+S[T].tickValue:null,subPixelOptimize:!0,shape:{x1:y[0],y1:y[1],x2:E[0],y2:E[1]},style:w.defaults({stroke:c[_]},C),silent:!0}))}},_minorSplitLine:function(i,n){var l=i.axis,t=i.getModel("minorSplitLine"),a=t.getModel("lineStyle"),c=n.coordinateSystem.getRect(),h=l.isHorizontal(),f=l.getMinorTicksCoords();if(!f.length)return;for(var g=[],S=[],y=a.getLineStyle(),E=0;E<f.length;E++)for(var C=0;C<f[E].length;C++){var T=l.toGlobalCoord(f[E][C].coord);h?(g[0]=T,g[1]=c.y,S[0]=T,S[1]=c.y+c.height):(g[0]=c.x,g[1]=T,S[0]=c.x+c.width,S[1]=T),this._axisGroup.add(new A.Line({anid:"minor_line_"+f[E][C].tickValue,subPixelOptimize:!0,shape:{x1:g[0],y1:g[1],x2:S[0],y2:S[1]},style:y,silent:!0}))}},_splitArea:function(i,n){s(this,this._axisGroup,i,n)}});r.extend({type:"xAxis"}),r.extend({type:"yAxis"})},"8nly":function(M,P,d){var w=d("mFDi"),A=d("4mN7"),b=d("QBsz"),m=d("BlVb");function v(s,u,o){if(this.name=s,this.geometries=u,o)o=[o[0],o[1]];else{var e=this.getBoundingRect();o=[e.x+e.width/2,e.y+e.height/2]}this.center=o}v.prototype={constructor:v,properties:null,getBoundingRect:function(){var s=this._rect;if(s)return s;for(var u=Number.MAX_VALUE,o=[u,u],e=[-u,-u],r=[],i=[],n=this.geometries,l=0;l<n.length;l++){if(n[l].type!=="polygon")continue;var t=n[l].exterior;A.fromPoints(t,r,i),b.min(o,o,r),b.max(e,e,i)}return l===0&&(o[0]=o[1]=e[0]=e[1]=0),this._rect=new w(o[0],o[1],e[0]-o[0],e[1]-o[1])},contain:function(s){var u=this.getBoundingRect(),o=this.geometries;if(!u.contain(s[0],s[1]))return!1;e:for(var e=0,r=o.length;e<r;e++){if(o[e].type!=="polygon")continue;var i=o[e].exterior,n=o[e].interiors;if(m.contain(i,s[0],s[1])){for(var l=0;l<(n?n.length:0);l++)if(m.contain(n[l]))continue e;return!0}}return!1},transformTo:function(s,u,o,e){var r=this.getBoundingRect(),i=r.width/r.height;o?e||(e=o/i):o=i*e;for(var n=new w(s,u,o,e),l=r.calculateTransform(n),t=this.geometries,a=0;a<t.length;a++){if(t[a].type!=="polygon")continue;for(var c=t[a].exterior,h=t[a].interiors,f=0;f<c.length;f++)b.applyTransform(c[f],c[f],l);for(var g=0;g<(h?h.length:0);g++)for(var f=0;f<h[g].length;f++)b.applyTransform(h[g][f],h[g][f],l)}r=this._rect,r.copy(n),this.center=[r.x+r.width/2,r.y+r.height/2]},cloneShallow:function(s){s==null&&(s=this.name);var u=new v(s,this.geometries,this.center);return u._rect=this._rect,u.transformTo=null,u}};var p=v;M.exports=p},"8waO":function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("iLNv"),m=d("ZWlE");d("hJvP"),d("IXyC"),d("xRUu");var v=5;w.extendComponentView({type:"parallel",render:function(u,o,e){this._model=u,this._api=e,this._handlers||(this._handlers={},A.each(p,function(r,i){e.getZr().on(i,this._handlers[i]=A.bind(r,this))},this)),b.createOrUpdate(this,"_throttledDispatchExpand",u.get("axisExpandRate"),"fixRate")},dispose:function(u,o){A.each(this._handlers,function(e,r){o.getZr().off(r,e)}),this._handlers=null},_throttledDispatchExpand:function(u){this._dispatchExpand(u)},_dispatchExpand:function(u){u&&this._api.dispatchAction(A.extend({type:"parallelAxisExpand"},u))}});var p={mousedown:function(u){s(this,"click")&&(this._mouseDownPoint=[u.offsetX,u.offsetY])},mouseup:function(u){var o=this._mouseDownPoint;if(s(this,"click")&&o){var e=[u.offsetX,u.offsetY],r=Math.pow(o[0]-e[0],2)+Math.pow(o[1]-e[1],2);if(r>v)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([u.offsetX,u.offsetY]);i.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(u){if(this._mouseDownPoint||!s(this,"mousemove"))return;var o=this._model,e=o.coordinateSystem.getSlidedAxisExpandWindow([u.offsetX,u.offsetY]),r=e.behavior;r==="jump"&&this._throttledDispatchExpand.debounceNextCall(o.get("axisExpandDebounce")),this._throttledDispatchExpand(r==="none"?null:{axisExpandWindow:e.axisExpandWindow,animation:r==="jump"?null:!1})}};function s(u,o){var e=u._model;return e.get("axisExpandable")&&e.get("axisExpandTriggerOn")===o}w.registerPreprocessor(m)},"8x+h":function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),m=d("bYtY"),v=d("K4ya"),p=d("Qxkt"),s=["#ddd"],u=b.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(r,i){var n=this.option;!i&&v.replaceVisualOption(n,r,["inBrush","outOfBrush"]);var l=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:s},l.hasOwnProperty("liftZ")||(l.liftZ=5)},setAreas:function(r){if(!r)return;this.areas=m.map(r,function(i){return o(this.option,i)},this)},setBrushOption:function(r){this.brushOption=o(this.option,r),this.brushType=this.brushOption.brushType}});function o(r,i){return m.merge({brushType:r.brushType,brushMode:r.brushMode,transformable:r.transformable,brushStyle:new p(r.brushStyle).getItemStyle(),removeOnClick:r.removeOnClick,z:r.z},i,!0)}var e=u;M.exports=e},"8z13":function(M,P,d){"use strict";var w=d("wx14"),A=d("VTBJ"),b=d("ODXe"),m=d("Ff2n"),v=d("q1tI"),p=d("TSYQ"),s=d.n(p),u=d("t23M"),o=void 0;function e(x,_){var I=x.prefixCls,L=x.invalidate,D=x.item,B=x.renderItem,N=x.responsive,k=x.registerSize,W=x.itemKey,R=x.className,j=x.style,H=x.children,K=x.display,U=x.order,Q=x.component,V=Q===void 0?"div":Q,J=Object(m.a)(x,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","className","style","children","display","order","component"]),ae=N&&!K;function se(Se){k(W,Se)}v.useEffect(function(){return function(){se(null)}},[]);var $=B&&D!==o?B(D):H,ge;L||(ge={opacity:ae?0:1,height:ae?0:o,overflowY:ae?"hidden":o,order:N?U:o,pointerEvents:ae?"none":o,position:ae?"absolute":o});var he={};ae&&(he["aria-hidden"]=!0);var Ie=v.createElement(V,Object(w.a)({className:s()(!L&&I,R),style:Object(A.a)(Object(A.a)({},ge),j)},he,J,{ref:_}),$);return N&&(Ie=v.createElement(u.a,{onResize:function(Le){var He=Le.offsetWidth;se(He)}},Ie)),Ie}var r=v.forwardRef(e);r.displayName="Item";var i=r,n=d("wgJM");function l(){var x=Object(v.useState)({}),_=Object(b.a)(x,2),I=_[1],L=Object(v.useRef)([]),D=Object(v.useRef)(!1),B=0,N=0;Object(v.useEffect)(function(){return function(){D.current=!0}},[]);function k(W){var R=B;B+=1,L.current.length<R+1&&(L.current[R]=W);var j=L.current[R];function H(K){L.current[R]=typeof K=="function"?K(L.current[R]):K,n.a.cancel(N),N=Object(n.a)(function(){D.current||I({})})}return[j,H]}return k}var t=function(_,I){var L=v.useContext(h);if(!L){var D=_.component,B=D===void 0?"div":D,N=Object(m.a)(_,["component"]);return v.createElement(B,Object(w.a)({},N,{ref:I}))}var k=L.className,W=Object(m.a)(L,["className"]),R=_.className,j=Object(m.a)(_,["className"]);return v.createElement(h.Provider,{value:null},v.createElement(i,Object(w.a)({ref:I,className:s()(k,R)},W,j)))},a=v.forwardRef(t);a.displayName="RawItem";var c=a,h=v.createContext(null),f="responsive",g="invalidate";function S(x){return"+ ".concat(x.length," ...")}function y(x,_){var I=x.prefixCls,L=I===void 0?"rc-overflow":I,D=x.data,B=D===void 0?[]:D,N=x.renderItem,k=x.renderRawItem,W=x.itemKey,R=x.itemWidth,j=R===void 0?10:R,H=x.ssr,K=x.style,U=x.className,Q=x.maxCount,V=x.renderRest,J=x.renderRawRest,ae=x.suffix,se=x.component,$=se===void 0?"div":se,ge=x.itemComponent,he=x.onVisibleChange,Ie=Object(m.a)(x,["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"]),Se=l(),Le=H==="full",He=Se(null),G=Object(b.a)(He,2),pe=G[0],We=G[1],te=pe||0,X=Se(new Map),z=Object(b.a)(X,2),Z=z[0],be=z[1],ne=Se(0),Ae=Object(b.a)(ne,2),Ne=Ae[0],oe=Ae[1],de=Se(0),xe=Object(b.a)(de,2),Pe=xe[0],tt=xe[1],Je=Se(0),Oe=Object(b.a)(Je,2),pt=Oe[0],Qe=Oe[1],nt=Object(v.useState)(null),bt=Object(b.a)(nt,2),Tt=bt[0],Ct=bt[1],Nt=Object(v.useState)(null),Ge=Object(b.a)(Nt,2),ie=Ge[0],Y=Ge[1],we=v.useMemo(function(){return ie===null&&Le?Number.MAX_SAFE_INTEGER:ie||0},[ie,pe]),Ce=Object(v.useState)(!1),le=Object(b.a)(Ce,2),ot=le[0],wt=le[1],rt="".concat(L,"-item"),It=Math.max(Ne,Pe),Gt=B.length&&Q===f,lr=Q===g,pr=Gt||typeof Q=="number"&&B.length>Q,Rr=Object(v.useMemo)(function(){var kt=B;return Gt?pe===null&&Le?kt=B:kt=B.slice(0,Math.min(B.length,te/j)):typeof Q=="number"&&(kt=B.slice(0,Q)),kt},[B,j,pe,Q,Gt]),xt=Object(v.useMemo)(function(){return Gt?B.slice(we+1):B.slice(Rr.length)},[B,Rr,Gt,we]),Ot=Object(v.useCallback)(function(kt,$t){var Nr;return typeof W=="function"?W(kt):(Nr=W&&(kt==null?void 0:kt[W]))!==null&&Nr!==void 0?Nr:$t},[W]),At=Object(v.useCallback)(N||function(kt){return kt},[N]);function Jt(kt,$t){Y(kt),$t||(wt(kt<B.length-1),he==null||he(kt))}function br(kt,$t){We($t.clientWidth)}function Lr(kt,$t){be(function(Nr){var yn=new Map(Nr);return $t===null?yn.delete(kt):yn.set(kt,$t),yn})}function Zr(kt,$t){tt($t),oe(Pe)}function In(kt,$t){Qe($t)}function Gr(kt){return Z.get(Ot(Rr[kt],kt))}v.useLayoutEffect(function(){if(te&&It&&Rr){var kt=pt,$t=Rr.length,Nr=$t-1;if(!$t){Jt(0),Ct(null);return}for(var yn=0;yn<$t;yn+=1){var un=Gr(yn);if(un===void 0){Jt(yn-1,!0);break}if(kt+=un,Nr===0&&kt<=te||yn===Nr-1&&kt+Gr(Nr)<=te){Jt(Nr),Ct(null);break}else if(kt+It>te){Jt(yn-1),Ct(kt-un-pt+Pe);break}}ae&&Gr(0)+pt>te&&Ct(null)}},[te,Z,Pe,pt,Ot,Rr]);var Tr=ot&&!!xt.length,fr={};Tt!==null&&Gt&&(fr={position:"absolute",left:Tt,top:0});var vt={prefixCls:rt,responsive:Gt,component:ge,invalidate:lr},ft=k?function(kt,$t){var Nr=Ot(kt,$t);return v.createElement(h.Provider,{key:Nr,value:Object(A.a)(Object(A.a)({},vt),{},{order:$t,item:kt,itemKey:Nr,registerSize:Lr,display:$t<=we})},k(kt,$t))}:function(kt,$t){var Nr=Ot(kt,$t);return v.createElement(i,Object(w.a)({},vt,{order:$t,key:Nr,item:kt,renderItem:At,itemKey:Nr,registerSize:Lr,display:$t<=we}))},De,je={order:Tr?we:Number.MAX_SAFE_INTEGER,className:"".concat(rt,"-rest"),registerSize:Zr,display:Tr};if(J)J&&(De=v.createElement(h.Provider,{value:Object(A.a)(Object(A.a)({},vt),je)},J(xt)));else{var Ye=V||S;De=v.createElement(i,Object(w.a)({},vt,je),typeof Ye=="function"?Ye(xt):Ye)}var st=v.createElement($,Object(w.a)({className:s()(!lr&&L,U),style:K,ref:_},Ie),Rr.map(ft),pr?De:null,ae&&v.createElement(i,Object(w.a)({},vt,{order:we,className:"".concat(rt,"-suffix"),registerSize:In,display:!0,style:fr}),ae));return Gt&&(st=v.createElement(u.a,{onResize:br},st)),st}var E=v.forwardRef(y);E.displayName="Overflow",E.Item=c,E.RESPONSIVE=f,E.INVALIDATE=g;var C=E,T=P.a=C},"98bh":function(M,P,d){var w=d("ProS"),A=d("5GtS"),b=d("bYtY"),m=d("4NO4"),v=d("OELB"),p=v.getPercentWithPrecision,s=d("cCMj"),u=d("KxfA"),o=u.retrieveRawAttr,e=d("D5nY"),r=e.makeSeriesEncodeForNameBased,i=d("xKMd"),n=w.extendSeriesModel({type:"series.pie",init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new i(b.bind(this.getData,this),b.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){n.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,a){return A(this,{coordDimensions:["value"],encodeDefaulter:b.curry(r,this)})},_createSelectableList:function(){for(var t=this.getRawData(),a=t.mapDimension("value"),c=[],h=0,f=t.count();h<f;h++)c.push({name:t.getName(h),value:t.get(a,h),selected:o(t,h,"selected")});return c},getDataParams:function(t){var a=this.getData(),c=n.superCall(this,"getDataParams",t),h=[];return a.each(a.mapDimension("value"),function(f){h.push(f)}),c.percent=p(h,t,a.hostModel.get("percentPrecision")),c.$vars.push("percent"),c},_defaultLabelLine:function(t){m.defaultEmphasis(t,"labelLine",["show"]);var a=t.labelLine,c=t.emphasis.labelLine;a.show=a.show&&t.label.show,c.show=c.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"}});b.mixin(n,s);var l=n;M.exports=l},"9BLJ":function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="EyeOutlined";var s=P.a=A.forwardRef(p)},"9D67":function(M,P,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("q1tI"),m=d.n(b),v=d("TSYQ"),p=d.n(v),s=d("9R2V"),u=function(e,r){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l<n.length;l++)r.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(i[n[l]]=e[n[l]]);return i},o=function(r){return b.createElement(s.a,null,function(i){var n,l=i.getPrefixCls,t=i.direction,a=r.prefixCls,c=r.type,h=c===void 0?"horizontal":c,f=r.orientation,g=f===void 0?"center":f,S=r.className,y=r.children,E=r.dashed,C=r.plain,T=u(r,["prefixCls","type","orientation","className","children","dashed","plain"]),x=l("divider",a),_=g.length>0?"-".concat(g):g,I=!!y,L=p()(x,"".concat(x,"-").concat(h),(n={},Object(A.a)(n,"".concat(x,"-with-text"),I),Object(A.a)(n,"".concat(x,"-with-text").concat(_),I),Object(A.a)(n,"".concat(x,"-dashed"),!!E),Object(A.a)(n,"".concat(x,"-plain"),!!C),Object(A.a)(n,"".concat(x,"-rtl"),t==="rtl"),n),S);return b.createElement("div",Object(w.a)({className:L},T,{role:"separator"}),y&&b.createElement("span",{className:"".concat(x,"-inner-text")},y))})};P.a=o},"9H2F":function(M,P,d){var w=d("bYtY"),A=w.assert,b=w.isArray,m=d("Tghj"),v=m.__DEV__;function p(i){return new s(i)}function s(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 u=s.prototype;u.perform=function(i){var n=this._upstream,l=i&&i.skip;if(this._dirty&&n){var t=this.context;t.data=t.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!l&&(a=this._plan(this.context));var c=S(this._modBy),h=this._modDataCount||0,f=S(i&&i.modBy),g=i&&i.modDataCount||0;(c!==f||h!==g)&&(a="reset");function S(L){return!(L>=1)&&(L=1),L}var y;(this._dirty||a==="reset")&&(this._dirty=!1,y=r(this,l)),this._modBy=f,this._modDataCount=g;var E=i&&i.step;if(n?this._dueEnd=n._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(!l&&(y||C<T)){var x=this._progress;if(b(x))for(var _=0;_<x.length;_++)e(this,x[_],C,T,f,g);else e(this,x,C,T,f,g)}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 o=function(){var i,n,l,t,a,c={reset:function(g,S,y,E){n=g,i=S,l=y,t=E,a=Math.ceil(t/l),c.next=l>1&&t>0?f:h}};return c;function h(){return n<i?n++:null}function f(){var g=n%a*l+Math.ceil(n/a),S=n>=i?null:g<t?g:n;return n++,S}}();u.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function e(i,n,l,t,a,c){o.reset(l,t,a,c),i._callingProgress=n,i._callingProgress({start:l,end:t,count:t-l,next:o.next},i.context)}function r(i,n){i._dueIndex=i._outputDueEnd=i._dueEnd=0,i._settedOutputEnd=null;var l,t;!n&&i._reset&&(l=i._reset(i.context),l&&l.progress&&(t=l.forceFirstProgress,l=l.progress),b(l)&&!l.length&&(l=null)),i._progress=l,i._modBy=i._modDataCount=null;var a=i._downstream;return a&&a.dirty(),t}u.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},u.pipe=function(i){(this._downstream!==i||this._dirty)&&(this._downstream=i,i._upstream=this,i.dirty())},u.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},u.getUpstream=function(){return this._upstream},u.getDownstream=function(){return this._downstream},u.setOutputEnd=function(i){this._outputDueEnd=this._settedOutputEnd=i},P.createTask=p},"9HCz":function(M,P,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("1OyB"),m=d("vuIU"),v=d("JX7q"),p=d("Ji7U"),s=d("LK+K"),u=d("q1tI"),o=d("TSYQ"),e=d.n(o),r=d("bT9E"),i=d("4i/N"),n=d("bRQS"),l=d("jO45"),t=d("jN4g"),a=d("9R2V"),c=d("6LNJ"),h=d("bq+4"),f=d("AJpP");function g(He){return!He||He<0?0:He>100?100:He}function S(He){var G=He.success,pe=He.successPercent,We=pe;return G&&"progress"in G&&(Object(h.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),We=G.progress),G&&"percent"in G&&(We=G.percent),We}var y=function(He,G){var pe={};for(var We in He)Object.prototype.hasOwnProperty.call(He,We)&&G.indexOf(We)<0&&(pe[We]=He[We]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,We=Object.getOwnPropertySymbols(He);te<We.length;te++)G.indexOf(We[te])<0&&Object.prototype.propertyIsEnumerable.call(He,We[te])&&(pe[We[te]]=He[We[te]]);return pe},E=function(G){var pe=[];return Object.keys(G).forEach(function(We){var te=parseFloat(We.replace(/%/g,""));isNaN(te)||pe.push({key:te,value:G[We]})}),pe=pe.sort(function(We,te){return We.key-te.key}),pe.map(function(We){var te=We.key,X=We.value;return"".concat(X," ").concat(te,"%")}).join(", ")},C=function(G,pe){var We=G.from,te=We===void 0?f.presetPrimaryColors.blue:We,X=G.to,z=X===void 0?f.presetPrimaryColors.blue:X,Z=G.direction,be=Z===void 0?pe==="rtl"?"to left":"to right":Z,ne=y(G,["from","to","direction"]);if(Object.keys(ne).length!==0){var Ae=E(ne);return{backgroundImage:"linear-gradient(".concat(be,", ").concat(Ae,")")}}return{backgroundImage:"linear-gradient(".concat(be,", ").concat(te,", ").concat(z,")")}},T=function(G){var pe=G.prefixCls,We=G.direction,te=G.percent,X=G.strokeWidth,z=G.size,Z=G.strokeColor,be=G.strokeLinecap,ne=G.children,Ae=G.trailColor,Ne=G.success,oe=Z&&typeof Z!="string"?C(Z,We):{background:Z},de=Ae?{backgroundColor:Ae}:void 0,xe=Object(A.a)({width:"".concat(g(te),"%"),height:X||(z==="small"?6:8),borderRadius:be==="square"?0:""},oe),Pe=S(G),tt={width:"".concat(g(Pe),"%"),height:X||(z==="small"?6:8),borderRadius:be==="square"?0:"",backgroundColor:Ne==null?void 0:Ne.strokeColor},Je=Pe!==void 0?u.createElement("div",{className:"".concat(pe,"-success-bg"),style:tt}):null;return u.createElement(u.Fragment,null,u.createElement("div",{className:"".concat(pe,"-outer")},u.createElement("div",{className:"".concat(pe,"-inner"),style:de},u.createElement("div",{className:"".concat(pe,"-bg"),style:xe}),Je)),ne)},x=T,_=d("ODXe"),I=d("Ff2n"),L={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},D=function(G){var pe=G.map(function(){return Object(u.useRef)()}),We=Object(u.useRef)(null);return Object(u.useEffect)(function(){var te=Date.now(),X=!1;Object.keys(pe).forEach(function(z){var Z=pe[z].current;if(!Z)return;X=!0;var be=Z.style;be.transitionDuration=".3s, .3s, .3s, .06s",We.current&&te-We.current<100&&(be.transitionDuration="0s, 0s")}),X&&(We.current=Date.now())}),[pe]},B=function(G){var pe=G.className,We=G.percent,te=G.prefixCls,X=G.strokeColor,z=G.strokeLinecap,Z=G.strokeWidth,be=G.style,ne=G.trailColor,Ae=G.trailWidth,Ne=G.transition,oe=Object(I.a)(G,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete oe.gapPosition;var de=Array.isArray(We)?We:[We],xe=Array.isArray(X)?X:[X],Pe=D(de),tt=Object(_.a)(Pe,1),Je=tt[0],Oe=Z/2,pt=100-Z/2,Qe="M ".concat(z==="round"?Oe:0,",").concat(Oe,`
|
|
|
L `).concat(z==="round"?pt:100,",").concat(Oe),nt="0 0 100 ".concat(Z),bt=0;return u.createElement("svg",Object(A.a)({className:e()("".concat(te,"-line"),pe),viewBox:nt,preserveAspectRatio:"none",style:be},oe),u.createElement("path",{className:"".concat(te,"-line-trail"),d:Qe,strokeLinecap:z,stroke:ne,strokeWidth:Ae||Z,fillOpacity:"0"}),de.map(function(Tt,Ct){var Nt=1;switch(z){case"round":Nt=1-Z/100;break;case"square":Nt=1-Z/2/100;break;default:Nt=1;break}var Ge={strokeDasharray:"".concat(Tt*Nt,"px, 100px"),strokeDashoffset:"-".concat(bt,"px"),transition:Ne||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ie=xe[Ct]||xe[xe.length-1];return bt+=Tt,u.createElement("path",{key:Ct,className:"".concat(te,"-line-path"),d:Qe,strokeLinecap:z,stroke:ie,strokeWidth:Z,fillOpacity:"0",ref:Je[Ct],style:Ge})}))};B.defaultProps=L,B.displayName="Line";var N=B,k=0;function W(He){return+He.replace("%","")}function R(He){return Array.isArray(He)?He:[He]}function j(He,G,pe,We){var te=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,X=arguments.length>5?arguments[5]:void 0,z=50-We/2,Z=0,be=-z,ne=0,Ae=-2*z;switch(X){case"left":Z=-z,be=0,ne=2*z,Ae=0;break;case"right":Z=z,be=0,ne=-2*z,Ae=0;break;case"bottom":be=z,Ae=2*z;break;default:}var Ne="M 50,50 m ".concat(Z,",").concat(be,`
|
|
|
a `).concat(z,",").concat(z," 0 1 1 ").concat(ne,",").concat(-Ae,`
|
|
|
a `).concat(z,",").concat(z," 0 1 1 ").concat(-ne,",").concat(Ae),oe=Math.PI*2*z,de={stroke:typeof pe=="string"?pe:void 0,strokeDasharray:"".concat(G/100*(oe-te),"px ").concat(oe,"px"),strokeDashoffset:"-".concat(te/2+He/100*(oe-te),"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:Ne,pathStyle:de}}var H=function(G){var pe=G.prefixCls,We=G.strokeWidth,te=G.trailWidth,X=G.gapDegree,z=G.gapPosition,Z=G.trailColor,be=G.strokeLinecap,ne=G.style,Ae=G.className,Ne=G.strokeColor,oe=G.percent,de=Object(I.a)(G,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),xe=u.useMemo(function(){return k+=1,k},[]),Pe=j(0,100,Z,We,X,z),tt=Pe.pathString,Je=Pe.pathStyle,Oe=R(oe),pt=R(Ne),Qe=pt.find(function(Nt){return Object.prototype.toString.call(Nt)==="[object Object]"}),nt=D(Oe),bt=Object(_.a)(nt,1),Tt=bt[0],Ct=function(){var Ge=0;return Oe.map(function(ie,Y){var we=pt[Y]||pt[pt.length-1],Ce=Object.prototype.toString.call(we)==="[object Object]"?"url(#".concat(pe,"-gradient-").concat(xe,")"):"",le=j(Ge,ie,we,We,X,z);return Ge+=ie,u.createElement("path",{key:Y,className:"".concat(pe,"-circle-path"),d:le.pathString,stroke:Ce,strokeLinecap:be,strokeWidth:We,opacity:ie===0?0:1,fillOpacity:"0",style:le.pathStyle,ref:Tt[Y]})})};return u.createElement("svg",Object(A.a)({className:e()("".concat(pe,"-circle"),Ae),viewBox:"0 0 100 100",style:ne},de),Qe&&u.createElement("defs",null,u.createElement("linearGradient",{id:"".concat(pe,"-gradient-").concat(xe),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Qe).sort(function(Nt,Ge){return W(Nt)-W(Ge)}).map(function(Nt,Ge){return u.createElement("stop",{key:Ge,offset:Nt,stopColor:Qe[Nt]})}))),u.createElement("path",{className:"".concat(pe,"-circle-trail"),d:tt,stroke:Z,strokeLinecap:be,strokeWidth:te||We,fillOpacity:"0",style:Je}),Ct().reverse())};H.defaultProps=L,H.displayName="Circle";var K=H,U={Line:N,Circle:K};function Q(He){var G=He.percent,pe=He.success,We=He.successPercent,te=g(S({success:pe,successPercent:We}));return[te,g(g(G)-te)]}function V(He){var G=He.success,pe=G===void 0?{}:G,We=He.strokeColor,te=pe.strokeColor;return[te||f.presetPrimaryColors.green,We||null]}var J=function(G){var pe=G.prefixCls,We=G.width,te=G.strokeWidth,X=G.trailColor,z=G.strokeLinecap,Z=G.gapPosition,be=G.gapDegree,ne=G.type,Ae=G.children,Ne=G.success,oe=We||120,de={width:oe,height:oe,fontSize:oe*.15+6},xe=te||6,Pe=Z||ne==="dashboard"&&"bottom"||"top",tt=function(){return be||be===0?be:ne==="dashboard"?75:void 0},Je=Object.prototype.toString.call(G.strokeColor)==="[object Object]",Oe=V({success:Ne,strokeColor:G.strokeColor}),pt=e()("".concat(pe,"-inner"),Object(w.a)({},"".concat(pe,"-circle-gradient"),Je));return u.createElement("div",{className:pt,style:de},u.createElement(K,{percent:Q(G),strokeWidth:xe,trailWidth:xe,strokeColor:Oe,strokeLinecap:z,trailColor:X,prefixCls:pe,gapDegree:tt(),gapPosition:Pe}),Ae)},ae=J,se=function(G){for(var pe=G.size,We=G.steps,te=G.percent,X=te===void 0?0:te,z=G.strokeWidth,Z=z===void 0?8:z,be=G.strokeColor,ne=G.trailColor,Ae=G.prefixCls,Ne=G.children,oe=Math.round(We*(X/100)),de=pe==="small"?2:14,xe=[],Pe=0;Pe<We;Pe+=1)xe.push(u.createElement("div",{key:Pe,className:e()("".concat(Ae,"-steps-item"),Object(w.a)({},"".concat(Ae,"-steps-item-active"),Pe<=oe-1)),style:{backgroundColor:Pe<=oe-1?be:ne,width:de,height:Z}}));return u.createElement("div",{className:"".concat(Ae,"-steps-outer")},xe,Ne)},$=se,ge=function(He,G){var pe={};for(var We in He)Object.prototype.hasOwnProperty.call(He,We)&&G.indexOf(We)<0&&(pe[We]=He[We]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,We=Object.getOwnPropertySymbols(He);te<We.length;te++)G.indexOf(We[te])<0&&Object.prototype.propertyIsEnumerable.call(He,We[te])&&(pe[We[te]]=He[We[te]]);return pe},he=Object(c.a)("line","circle","dashboard"),Ie=Object(c.a)("normal","exception","active","success"),Se=function(He){Object(p.a)(pe,He);var G=Object(s.a)(pe);function pe(){var We;return Object(b.a)(this,pe),We=G.apply(this,arguments),We.renderProgress=function(te){var X,z=te.getPrefixCls,Z=te.direction,be=Object(v.a)(We),ne=be.props,Ae=ne.prefixCls,Ne=ne.className,oe=ne.size,de=ne.type,xe=ne.steps,Pe=ne.showInfo,tt=ne.strokeColor,Je=ge(ne,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),Oe=z("progress",Ae),pt=We.getProgressStatus(),Qe=We.renderProcessInfo(Oe,pt);Object(h.a)(!("successPercent"in ne),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var nt;de==="line"?nt=xe?u.createElement($,Object(A.a)({},We.props,{strokeColor:typeof tt=="string"?tt:void 0,prefixCls:Oe,steps:xe}),Qe):u.createElement(x,Object(A.a)({},We.props,{prefixCls:Oe,direction:Z}),Qe):(de==="circle"||de==="dashboard")&&(nt=u.createElement(ae,Object(A.a)({},We.props,{prefixCls:Oe,progressStatus:pt}),Qe));var bt=e()(Oe,(X={},Object(w.a)(X,"".concat(Oe,"-").concat(de==="dashboard"&&"circle"||xe&&"steps"||de),!0),Object(w.a)(X,"".concat(Oe,"-status-").concat(pt),!0),Object(w.a)(X,"".concat(Oe,"-show-info"),Pe),Object(w.a)(X,"".concat(Oe,"-").concat(oe),oe),Object(w.a)(X,"".concat(Oe,"-rtl"),Z==="rtl"),X),Ne);return u.createElement("div",Object(A.a)({},Object(r.a)(Je,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","percent","success","successPercent"]),{className:bt}),nt)},We}return Object(m.a)(pe,[{key:"getPercentNumber",value:function(){var te=this.props.percent,X=te===void 0?0:te,z=S(this.props);return parseInt(z!==void 0?z.toString():X.toString(),10)}},{key:"getProgressStatus",value:function(){var te=this.props.status;return Ie.indexOf(te)<0&&this.getPercentNumber()>=100?"success":te||"normal"}},{key:"renderProcessInfo",value:function(te,X){var z=this.props,Z=z.showInfo,be=z.format,ne=z.type,Ae=z.percent,Ne=S(this.props);if(!Z)return null;var oe,de=be||function(Pe){return"".concat(Pe,"%")},xe=ne==="line";return be||X!=="exception"&&X!=="success"?oe=de(g(Ae),g(Ne)):X==="exception"?oe=xe?u.createElement(t.a,null):u.createElement(i.a,null):X==="success"&&(oe=xe?u.createElement(l.a,null):u.createElement(n.a,null)),u.createElement("span",{className:"".concat(te,"-text"),title:typeof oe=="string"?oe:void 0},oe)}},{key:"render",value:function(){return u.createElement(a.a,null,this.renderProgress)}}]),pe}(u.Component);Se.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var Le=P.a=Se},"9KIM":function(M,P,d){var w=d("mFDi"),A=d("xSat"),b=A.onIrrelevantElement,m=d("IwbS");function v(o){return o=u(o),function(e,r){return m.clipPointsByRect(e,o)}}function p(o,e){return o=u(o),function(r){var i=e!=null?e:r,n=i?o.width:o.height,l=i?o.x:o.y;return[l,l+(n||0)]}}function s(o,e,r){return o=u(o),function(i,n,l){return o.contain(n[0],n[1])&&!b(i,e,r)}}function u(o){return w.create(o)}P.makeRectPanelClipPath=v,P.makeLinearBrushOtherExtent=p,P.makeRectIsTargetByCursor=s},"9eas":function(M,P,d){d("HM/N"),d("tBnm")},"9hCq":function(M,P,d){var w=d("IwbS"),A=d("+TT/"),b=d("bYtY"),m=d("VaxA"),v=m.wrapTreePathInfo,p=8,s=8,u=5;function o(n){this.group=new w.Group,n.add(this.group)}o.prototype={constructor:o,render:function(n,l,t,a){var c=n.getModel("breadcrumb"),h=this.group;if(h.removeAll(),!c.get("show")||!t)return;var f=c.getModel("itemStyle"),g=f.getModel("textStyle"),S={pos:{left:c.get("left"),right:c.get("right"),top:c.get("top"),bottom:c.get("bottom")},box:{width:l.getWidth(),height:l.getHeight()},emptyItemWidth:c.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(t,S,g),this._renderContent(n,S,f,g,a),A.positionElement(h,S.pos,S.box)},_prepare:function(n,l,t){for(var a=n;a;a=a.parentNode){var c=a.getModel().get("name"),h=t.getTextRect(c),f=Math.max(h.width+p*2,l.emptyItemWidth);l.totalWidth+=f+s,l.renderList.push({node:a,text:c,width:f})}},_renderContent:function(n,l,t,a,c){for(var h=0,f=l.emptyItemWidth,g=n.get("breadcrumb.height"),S=A.getAvailableSize(l.pos,l.box),y=l.totalWidth,E=l.renderList,C=E.length-1;C>=0;C--){var T=E[C],x=T.node,_=T.width,I=T.text;y>S.width&&(y-=_-f,_=f,I=null);var L=new w.Polygon({shape:{points:e(h,0,_,g,C===E.length-1,C===0)},style:b.defaults(t.getItemStyle(),{lineJoin:"bevel",text:I,textFill:a.getTextColor(),textFont:a.getFont()}),z:10,onclick:b.curry(c,x)});this.group.add(L),r(L,n,x),h+=_+s}},remove:function(){this.group.removeAll()}};function e(n,l,t,a,c,h){var f=[[c?n:n-u,l],[n+t,l],[n+t,l+a],[c?n:n-u,l+a]];return!h&&f.splice(2,0,[n+t+u,l+a/2]),!c&&f.push([n,l+a/2]),f}function r(n,l,t){n.eventData={componentType:"series",componentSubType:"treemap",componentIndex:l.componentIndex,seriesIndex:l.componentIndex,seriesName:l.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&v(t,l)}}var i=o;M.exports=i},"9jjd":function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="FileOutlined";var s=P.a=A.forwardRef(p)},"9mle":function(M,P,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("1OyB"),m=d("vuIU"),v=d("JX7q"),p=d("Ji7U"),s=d("LK+K"),u=d("q1tI"),o=d("TSYQ"),e=d.n(o),r=d("zT1h"),i=d("U8pU"),n=d("bT9E"),l=d("t23M"),t=d("9R2V"),a=d("fKGV");function c(V){return V!==window?V.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function h(V,J,ae){return ae!==void 0&&J.top>V.top-ae?ae+J.top:void 0}function f(V,J,ae){if(ae!==void 0&&J.bottom<V.bottom+ae){var se=window.innerHeight-J.bottom;return ae+se}return}var g=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],S=[];function y(){return S}function E(V,J){if(!V)return;var ae=S.find(function(se){return se.target===V});ae?ae.affixList.push(J):(ae={target:V,affixList:[J],eventHandlers:{}},S.push(ae),g.forEach(function(se){ae.eventHandlers[se]=Object(r.a)(V,se,function(){ae.affixList.forEach(function($){$.lazyUpdatePosition()})})}))}function C(V){var J=S.find(function(ae){var se=ae.affixList.some(function($){return $===V});return se&&(ae.affixList=ae.affixList.filter(function($){return $!==V})),se});J&&J.affixList.length===0&&(S=S.filter(function(ae){return ae!==J}),g.forEach(function(ae){var se=J.eventHandlers[ae];se&&se.remove&&se.remove()}))}var T=function(V,J,ae,se){var $=arguments.length,ge=$<3?J:se===null?se=Object.getOwnPropertyDescriptor(J,ae):se,he;if((typeof Reflect=="undefined"?"undefined":Object(i.a)(Reflect))==="object"&&typeof Reflect.decorate=="function")ge=Reflect.decorate(V,J,ae,se);else for(var Ie=V.length-1;Ie>=0;Ie--)(he=V[Ie])&&(ge=($<3?he(ge):$>3?he(J,ae,ge):he(J,ae))||ge);return $>3&&ge&&Object.defineProperty(J,ae,ge),ge};function x(){return typeof window!="undefined"?window:null}var _;(function(V){V[V.None=0]="None",V[V.Prepare=1]="Prepare"})(_||(_={}));var I=function(V){Object(p.a)(ae,V);var J=Object(s.a)(ae);function ae(){var se;return Object(b.a)(this,ae),se=J.apply(this,arguments),se.state={status:_.None,lastAffix:!1,prevTarget:null},se.getOffsetTop=function(){var $=se.props.offsetBottom,ge=se.props.offsetTop;return $===void 0&&ge===void 0&&(ge=0),ge},se.getOffsetBottom=function(){return se.props.offsetBottom},se.savePlaceholderNode=function($){se.placeholderNode=$},se.saveFixedNode=function($){se.fixedNode=$},se.measure=function(){var $=se.state,ge=$.status,he=$.lastAffix,Ie=se.props.onChange,Se=se.getTargetFunc();if(ge!==_.Prepare||!se.fixedNode||!se.placeholderNode||!Se)return;var Le=se.getOffsetTop(),He=se.getOffsetBottom(),G=Se();if(!G)return;var pe={status:_.None},We=c(G),te=c(se.placeholderNode),X=h(te,We,Le),z=f(te,We,He);X!==void 0?(pe.affixStyle={position:"fixed",top:X,width:te.width,height:te.height},pe.placeholderStyle={width:te.width,height:te.height}):z!==void 0&&(pe.affixStyle={position:"fixed",bottom:z,width:te.width,height:te.height},pe.placeholderStyle={width:te.width,height:te.height}),pe.lastAffix=!!pe.affixStyle,Ie&&he!==pe.lastAffix&&Ie(pe.lastAffix),se.setState(pe)},se.prepareMeasure=function(){if(se.setState({status:_.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var $},se.render=function(){var $=se.context.getPrefixCls,ge=se.state,he=ge.affixStyle,Ie=ge.placeholderStyle,Se=se.props,Le=Se.prefixCls,He=Se.children,G=e()(Object(A.a)({},$("affix",Le),!!he)),pe=Object(n.a)(se.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return u.createElement(l.a,{onResize:function(){se.updatePosition()}},u.createElement("div",Object(w.a)({},pe,{ref:se.savePlaceholderNode}),he&&u.createElement("div",{style:Ie,"aria-hidden":"true"}),u.createElement("div",{className:G,ref:se.saveFixedNode,style:he},u.createElement(l.a,{onResize:function(){se.updatePosition()}},He))))},se}return Object(m.a)(ae,[{key:"getTargetFunc",value:function(){var $=this.context.getTargetContainer,ge=this.props.target;return ge!==void 0?ge:$||x}},{key:"componentDidMount",value:function(){var $=this,ge=this.getTargetFunc();ge&&(this.timeout=setTimeout(function(){E(ge(),$),$.updatePosition()}))}},{key:"componentDidUpdate",value:function($){var ge=this.state.prevTarget,he=this.getTargetFunc(),Ie=null;he&&(Ie=he()||null),ge!==Ie&&(C(this),Ie&&(E(Ie,this),this.updatePosition()),this.setState({prevTarget:Ie})),($.offsetTop!==this.props.offsetTop||$.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 $=this.getTargetFunc(),ge=this.state.affixStyle;if($&&ge){var he=this.getOffsetTop(),Ie=this.getOffsetBottom(),Se=$();if(Se&&this.placeholderNode){var Le=c(Se),He=c(this.placeholderNode),G=h(He,Le,he),pe=f(He,Le,Ie);if(G!==void 0&&ge.top===G||pe!==void 0&&ge.bottom===pe)return}}this.prepareMeasure()}}]),ae}(u.Component);I.contextType=t.b,T([Object(a.b)()],I.prototype,"updatePosition",null),T([Object(a.b)()],I.prototype,"lazyUpdatePosition",null);var L=I,D=d("egiQ"),B=d("ec8c"),N=u.createContext(null),k=N;function W(){return window}function R(V,J){if(!V.getClientRects().length)return 0;var ae=V.getBoundingClientRect();return ae.width||ae.height?J===window?(J=V.ownerDocument.documentElement,ae.top-J.clientTop):ae.top-J.getBoundingClientRect().top:ae.top}var j=/#(\S+)$/,H=function(V){Object(p.a)(ae,V);var J=Object(s.a)(ae);function ae(){var se;return Object(b.a)(this,ae),se=J.apply(this,arguments),se.state={activeLink:null},se.wrapperRef=u.createRef(),se.links=[],se.registerLink=function($){se.links.includes($)||se.links.push($)},se.unregisterLink=function($){var ge=se.links.indexOf($);ge!==-1&&se.links.splice(ge,1)},se.getContainer=function(){var $=se.context.getTargetContainer,ge=se.props.getContainer,he=ge||$||W;return he()},se.handleScrollTo=function($){var ge=se.props,he=ge.offsetTop,Ie=ge.targetOffset;se.setCurrentActiveLink($);var Se=se.getContainer(),Le=Object(B.a)(Se,!0),He=j.exec($);if(!He)return;var G=document.getElementById(He[1]);if(!G)return;var pe=R(G,Se),We=Le+pe;We-=Ie!==void 0?Ie:he||0,se.animating=!0,Object(D.a)(We,{callback:function(){se.animating=!1},getContainer:se.getContainer})},se.saveInkNode=function($){se.inkNode=$},se.setCurrentActiveLink=function($){var ge=se.state.activeLink,he=se.props,Ie=he.onChange,Se=he.getCurrentAnchor;if(ge===$)return;se.setState({activeLink:typeof Se=="function"?Se():$}),Ie==null||Ie($)},se.handleScroll=function(){if(se.animating)return;var $=se.props,ge=$.offsetTop,he=$.bounds,Ie=$.targetOffset,Se=se.getCurrentAnchor(Ie!==void 0?Ie:ge||0,he);se.setCurrentActiveLink(Se)},se.updateInk=function(){var $=Object(v.a)(se),ge=$.prefixCls,he=$.wrapperRef,Ie=he.current,Se=Ie==null?void 0:Ie.getElementsByClassName("".concat(ge,"-link-title-active"))[0];Se&&(se.inkNode.style.top="".concat(Se.offsetTop+Se.clientHeight/2-4.5,"px"))},se.render=function(){var $=se.context,ge=$.getPrefixCls,he=$.direction,Ie=se.props,Se=Ie.prefixCls,Le=Ie.className,He=Le===void 0?"":Le,G=Ie.style,pe=Ie.offsetTop,We=Ie.affix,te=Ie.showInkInFixed,X=Ie.children,z=se.state.activeLink,Z=ge("anchor",Se);se.prefixCls=Z;var be=e()("".concat(Z,"-ink-ball"),{visible:z}),ne=e()("".concat(Z,"-wrapper"),Object(A.a)({},"".concat(Z,"-rtl"),he==="rtl"),He),Ae=e()(Z,{fixed:!We&&!te}),Ne=Object(w.a)({maxHeight:pe?"calc(100vh - ".concat(pe,"px)"):"100vh"},G),oe=u.createElement("div",{ref:se.wrapperRef,className:ne,style:Ne},u.createElement("div",{className:Ae},u.createElement("div",{className:"".concat(Z,"-ink")},u.createElement("span",{className:be,ref:se.saveInkNode})),X));return u.createElement(k.Provider,{value:{registerLink:se.registerLink,unregisterLink:se.unregisterLink,activeLink:se.state.activeLink,scrollTo:se.handleScrollTo,onClick:se.props.onClick}},We?u.createElement(L,{offsetTop:pe,target:se.getContainer},oe):oe)},se}return Object(m.a)(ae,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(r.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var $=this.getContainer();this.scrollContainer!==$&&(this.scrollContainer=$,this.scrollEvent.remove(),this.scrollEvent=Object(r.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,he=[],Ie=this.getContainer();if(this.links.forEach(function(Le){var He=j.exec(Le.toString());if(!He)return;var G=document.getElementById(He[1]);if(G){var pe=R(G,Ie);pe<$+ge&&he.push({link:Le,top:pe})}}),he.length){var Se=he.reduce(function(Le,He){return He.top>Le.top?He:Le});return Se.link}return""}}]),ae}(u.Component);H.defaultProps={affix:!0,showInkInFixed:!1},H.contextType=t.b;var K=function(V){Object(p.a)(ae,V);var J=Object(s.a)(ae);function ae(){var se;return Object(b.a)(this,ae),se=J.apply(this,arguments),se.handleClick=function($){var ge=se.context,he=ge.scrollTo,Ie=ge.onClick,Se=se.props,Le=Se.href,He=Se.title;Ie==null||Ie($,{title:He,href:Le}),he(Le)},se.renderAnchorLink=function($){var ge=$.getPrefixCls,he=se.props,Ie=he.prefixCls,Se=he.href,Le=he.title,He=he.children,G=he.className,pe=he.target,We=ge("anchor",Ie),te=se.context.activeLink===Se,X=e()("".concat(We,"-link"),Object(A.a)({},"".concat(We,"-link-active"),te),G),z=e()("".concat(We,"-link-title"),Object(A.a)({},"".concat(We,"-link-title-active"),te));return u.createElement("div",{className:X},u.createElement("a",{className:z,href:Se,title:typeof Le=="string"?Le:"",target:pe,onClick:se.handleClick},Le),He)},se}return Object(m.a)(ae,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function($){var ge=$.href,he=this.props.href;ge!==he&&(this.context.unregisterLink(ge),this.context.registerLink(he))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return u.createElement(t.a,null,this.renderAnchorLink)}}]),ae}(u.Component);K.defaultProps={href:"#"},K.contextType=k;var U=K;H.Link=U;var Q=P.a=H},"9u0u":function(M,P,d){var w=d("bYtY");function A(m,v){var p={};return w.each(m,function(s){s.each(s.mapDimension("value"),function(u,o){var e="ec-"+s.getName(o);p[e]=p[e]||[],isNaN(u)||p[e].push(u)})}),m[0].map(m[0].mapDimension("value"),function(s,u){for(var o="ec-"+m[0].getName(u),e=0,r=Infinity,i=-Infinity,n=p[o].length,l=0;l<n;l++)r=Math.min(r,p[o][l]),i=Math.max(i,p[o][l]),e+=p[o][l];var t;return v==="min"?t=r:v==="max"?t=i:v==="average"?t=e/n:t=e,n===0?NaN:t})}function b(m){var v={};m.eachSeriesByType("map",function(p){var s=p.getHostGeoModel(),u=s?"o"+s.id:"i"+p.getMapType();(v[u]=v[u]||[]).push(p)}),w.each(v,function(p,s){for(var u=A(w.map(p,function(e){return e.getData()}),p[0].get("mapValueCalculation")),o=0;o<p.length;o++)p[o].originalData=p[o].getData();for(var o=0;o<p.length;o++)p[o].seriesGroup=p,p[o].needsDrawMap=o===0&&!p[o].getHostGeoModel(),p[o].setData(u.cloneShallow()),p[o].mainSeries=p[0]})}M.exports=b},"9wZj":function(M,P,d){var w=d("IwbS"),A=d("FBjb"),b=d("bYtY"),m=b.isObject;function v(r){this.group=new w.Group,this._symbolCtor=r||A}var p=v.prototype;function s(r,i,n,l){return i&&!isNaN(i[0])&&!isNaN(i[1])&&!(l.isIgnore&&l.isIgnore(n))&&!(l.clipShape&&!l.clipShape.contain(i[0],i[1]))&&r.getItemVisual(n,"symbol")!=="none"}p.updateData=function(r,i){i=u(i);var n=this.group,l=r.hostModel,t=this._data,a=this._symbolCtor,c=o(r);t||n.removeAll(),r.diff(t).add(function(h){var f=r.getItemLayout(h);if(s(r,f,h,i)){var g=new a(r,h,c);g.attr("position",f),r.setItemGraphicEl(h,g),n.add(g)}}).update(function(h,f){var g=t.getItemGraphicEl(f),S=r.getItemLayout(h);if(!s(r,S,h,i)){n.remove(g);return}g?(g.updateData(r,h,c),w.updateProps(g,{position:S},l)):(g=new a(r,h),g.attr("position",S)),n.add(g),r.setItemGraphicEl(h,g)}).remove(function(h){var f=t.getItemGraphicEl(h);f&&f.fadeOut(function(){n.remove(f)})}).execute(),this._data=r},p.isPersistent=function(){return!0},p.updateLayout=function(){var r=this._data;r&&r.eachItemGraphicEl(function(i,n){var l=r.getItemLayout(n);i.attr("position",l)})},p.incrementalPrepareUpdate=function(r){this._seriesScope=o(r),this._data=null,this.group.removeAll()},p.incrementalUpdate=function(r,i,n){n=u(n);function l(h){h.isGroup||(h.incremental=h.useHoverLayer=!0)}for(var t=r.start;t<r.end;t++){var a=i.getItemLayout(t);if(s(i,a,t,n)){var c=new this._symbolCtor(i,t,this._seriesScope);c.traverse(l),c.attr("position",a),this.group.add(c),i.setItemGraphicEl(t,c)}}};function u(r){return r!=null&&!m(r)&&(r={isIgnore:r}),r||{}}p.remove=function(r){var i=this.group,n=this._data;n&&r?n.eachItemGraphicEl(function(l){l.fadeOut(function(){i.remove(l)})}):i.removeAll()};function o(r){var i=r.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=v;M.exports=e},A1Ka:function(M,P,d){var w=d("bLfw"),A=d("sS/r"),b=d("D5nY"),m=b.detectSourceFormat,v=d("k9D9"),p=v.SERIES_LAYOUT_BY_COLUMN;w.extend({type:"dataset",defaultOption:{seriesLayoutBy:p,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){m(this)}}),A.extend({type:"dataset"})},"AE+S":function(M,P,d){"use strict";var w=d("wx14"),A=d("1OyB"),b=d("vuIU"),m=d("Ji7U"),v=d("LK+K"),p=d("q1tI"),s=d("1j5w"),u=d("TSYQ"),o=d.n(u),e=d("bT9E"),r=d("GZ0F"),i=Object(p.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),n=i,l=d("kLeg");function t(D){var B,N=D.popupClassName,k=D.icon,W=D.title,R=p.useContext(n),j=R.prefixCls,H=R.inlineCollapsed,K=R.antdMenuTheme,U=Object(s.g)(),Q;if(!k)Q=H&&!U.length&&W&&typeof W=="string"?p.createElement("div",{className:"".concat(j,"-inline-collapsed-noicon")},W.charAt(0)):p.createElement("span",{className:"".concat(j,"-title-content")},W);else{var V=Object(l.b)(W)&&W.type==="span";Q=p.createElement(p.Fragment,null,Object(l.a)(k,{className:o()(Object(l.b)(k)?(B=k.props)===null||B===void 0?void 0:B.className:"","".concat(j,"-item-icon"))}),V?W:p.createElement("span",{className:"".concat(j,"-title-content")},W))}return p.createElement(n.Provider,{value:Object(w.a)(Object(w.a)({},R),{firstLevel:!1})},p.createElement(s.e,Object(w.a)({},Object(e.a)(D,["icon"]),{title:Q,popupClassName:o()(j,"".concat(j,"-").concat(K),N)})))}var a=t,c=d("rePB"),h=d("Zm9Q"),f=d("d+VM"),g=d("ac54"),S=function(D,B){var N={};for(var k in D)Object.prototype.hasOwnProperty.call(D,k)&&B.indexOf(k)<0&&(N[k]=D[k]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,k=Object.getOwnPropertySymbols(D);W<k.length;W++)B.indexOf(k[W])<0&&Object.prototype.propertyIsEnumerable.call(D,k[W])&&(N[k[W]]=D[k[W]]);return N},y=function(D){Object(m.a)(N,D);var B=Object(v.a)(N);function N(){var k;return Object(A.a)(this,N),k=B.apply(this,arguments),k.renderItem=function(W){var R,j=W.siderCollapsed,H,K=k.context,U=K.prefixCls,Q=K.firstLevel,V=K.inlineCollapsed,J=K.direction,ae=k.props,se=ae.className,$=ae.children,ge=k.props,he=ge.title,Ie=ge.icon,Se=ge.danger,Le=S(ge,["title","icon","danger"]),He=he;typeof he=="undefined"?He=Q?$:"":he===!1&&(He="");var G={title:He};!j&&!V&&(G.title=null,G.visible=!1);var pe=Object(h.a)($).length;return p.createElement(f.a,Object(w.a)({},G,{placement:J==="rtl"?"left":"right",overlayClassName:"".concat(U,"-inline-collapsed-tooltip")}),p.createElement(s.b,Object(w.a)({},Le,{className:o()((R={},Object(c.a)(R,"".concat(U,"-item-danger"),Se),Object(c.a)(R,"".concat(U,"-item-only-child"),(Ie?pe+1:pe)===1),R),se),title:typeof he=="string"?he:void 0}),Object(l.a)(Ie,{className:o()(Object(l.b)(Ie)?(H=Ie.props)===null||H===void 0?void 0:H.className:"","".concat(U,"-item-icon"))}),k.renderItemChildren(V)))},k}return Object(b.a)(N,[{key:"renderItemChildren",value:function(W){var R=this.context,j=R.prefixCls,H=R.firstLevel,K=this.props,U=K.icon,Q=K.children,V=p.createElement("span",{className:"".concat(j,"-title-content")},Q);return(!U||Object(l.b)(Q)&&Q.type==="span")&&(Q&&W&&H&&typeof Q=="string")?p.createElement("div",{className:"".concat(j,"-inline-collapsed-noicon")},Q.charAt(0)):V}},{key:"render",value:function(){return p.createElement(g.a.Consumer,null,this.renderItem)}}]),N}(p.Component);y.contextType=n;var E=d("9R2V"),C=d("bq+4"),T=d("MZCN"),x=function(D,B){var N={};for(var k in D)Object.prototype.hasOwnProperty.call(D,k)&&B.indexOf(k)<0&&(N[k]=D[k]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,k=Object.getOwnPropertySymbols(D);W<k.length;W++)B.indexOf(k[W])<0&&Object.prototype.propertyIsEnumerable.call(D,k[W])&&(N[k[W]]=D[k[W]]);return N},_=function(D){Object(m.a)(N,D);var B=Object(v.a)(N);function N(k){var W;return Object(A.a)(this,N),W=B.call(this,k),W.renderMenu=function(R){var j=R.getPopupContainer,H=R.getPrefixCls,K=R.direction,U=H(),Q=W.props,V=Q.prefixCls,J=Q.className,ae=Q.theme,se=Q.expandIcon,$=x(Q,["prefixCls","className","theme","expandIcon"]),ge=Object(e.a)($,["siderCollapsed","collapsedWidth"]),he=W.getInlineCollapsed(),Ie={horizontal:{motionName:"".concat(U,"-slide-up")},inline:T.a,other:{motionName:"".concat(U,"-zoom-big")}},Se=H("menu",V),Le=o()("".concat(Se,"-").concat(ae),J);return p.createElement(n.Provider,{value:{prefixCls:Se,inlineCollapsed:he||!1,antdMenuTheme:ae,direction:K,firstLevel:!0}},p.createElement(s.f,Object(w.a)({getPopupContainer:j,overflowedIndicator:p.createElement(r.a,null),overflowedIndicatorPopupClassName:"".concat(Se,"-").concat(ae)},ge,{inlineCollapsed:he,className:Le,prefixCls:Se,direction:K,defaultMotions:Ie,expandIcon:Object(l.a)(se,{className:"".concat(Se,"-submenu-expand-icon")})})))},Object(C.a)(!("inlineCollapsed"in k&&k.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(C.a)(!(k.siderCollapsed!==void 0&&"inlineCollapsed"in k),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),W}return Object(b.a)(N,[{key:"getInlineCollapsed",value:function(){var W=this.props,R=W.inlineCollapsed,j=W.siderCollapsed;return j!==void 0?j:R}},{key:"render",value:function(){return p.createElement(E.a,null,this.renderMenu)}}]),N}(p.Component);_.defaultProps={theme:"light"};var I=function(D){Object(m.a)(N,D);var B=Object(v.a)(N);function N(){return Object(A.a)(this,N),B.apply(this,arguments)}return Object(b.a)(N,[{key:"render",value:function(){var W=this;return p.createElement(g.a.Consumer,null,function(R){return p.createElement(_,Object(w.a)({},W.props,R))})}}]),N}(p.Component);I.Divider=s.a,I.Item=y,I.SubMenu=a,I.ItemGroup=s.c;var L=P.a=I},AE9C:function(M,P,d){var w=d("bYtY"),A=d("crZl"),b=d("IwbS"),m=d("oVpE"),v=m.createSymbol,p=d("+TT/"),s=d("y7Aq"),u=A.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var r=this.visualMapModel,i=r.get("textGap"),n=r.textStyleModel,l=n.getFont(),t=n.getTextColor(),a=this._getItemAlign(),c=r.itemSize,h=this._getViewData(),f=h.endsText,g=w.retrieve(r.get("showLabel",!0),!f);f&&this._renderEndsText(e,f[0],c,g,a),w.each(h.viewPieceList,S,this),f&&this._renderEndsText(e,f[1],c,g,a),p.box(r.get("orient"),e,r.get("itemGap")),this.renderBackground(e),this.positionGroup(e);function S(y){var E=y.piece,C=new b.Group;C.onclick=w.bind(this._onItemClick,this,E),this._enableHoverLink(C,y.indexInModelPieceList);var T=r.getRepresentValue(E);if(this._createItemSymbol(C,T,[0,0,c[0],c[1]]),g){var x=this.visualMapModel.getValueState(T);C.add(new b.Text({style:{x:a==="right"?-i:c[0]+i,y:c[1]/2,text:E.text,textVerticalAlign:"middle",textAlign:a,textFont:l,textFill:t,opacity:x==="outOfRange"?.5:1}}))}e.add(C)}},_enableHoverLink:function(e,r){e.on("mouseover",w.bind(i,this,"highlight")).on("mouseout",w.bind(i,this,"downplay"));function i(n){var l=this.visualMapModel;l.option.hoverLink&&this.api.dispatchAction({type:n,batch:s.makeHighDownBatch(l.findTargetDataIndices(r),l)})}},_getItemAlign:function(){var e=this.visualMapModel,r=e.option;if(r.orient==="vertical")return s.getItemAlign(e,this.api,e.itemSize);var i=r.align;return(!i||i==="auto")&&(i="left"),i},_renderEndsText:function(e,r,i,n,l){if(!r)return;var t=new b.Group,a=this.visualMapModel.textStyleModel;t.add(new b.Text({style:{x:n?l==="right"?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?l:"center",text:r,textFont:a.getFont(),textFill:a.getTextColor()}})),e.add(t)},_getViewData:function(){var e=this.visualMapModel,r=w.map(e.getPieceList(),function(t,a){return{piece:t,indexInModelPieceList:a}}),i=e.get("text"),n=e.get("orient"),l=e.get("inverse");return(n==="horizontal"?l:!l)?r.reverse():i&&(i=i.slice().reverse()),{viewPieceList:r,endsText:i}},_createItemSymbol:function(e,r,i){e.add(v(this.getControllerVisual(r,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(r,"color")))},_onItemClick:function(e){var r=this.visualMapModel,i=r.option,n=w.clone(i.selected),l=r.getSelectedMapKey(e);i.selectedMode==="single"?(n[l]=!0,w.each(n,function(t,a){n[a]=a===l})):n[l]=!n[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})}}),o=u;M.exports=o},AEZ6:function(M,P,d){var w=d("bYtY"),A=w.each,b=w.createHashMap,m=d("T4UG"),v=d("MwEJ"),p=m.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(o,e){var r=this.getSource();return s(r,this),v(r,this)},getRawIndicesByActiveState:function(o){var e=this.coordinateSystem,r=this.getData(),i=[];return e.eachActiveState(r,function(n,l){o===n&&i.push(r.getRawIndex(l))}),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 s(o,e){if(o.encodeDefine)return;var r=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(!r)return;var i=o.encodeDefine=b();A(r.dimensions,function(n){var l=u(n);i.set(n,l)})}function u(o){return+o.replace("dim","")}M.exports=p},AH3D:function(M,P,d){var w=d("ProS");d("y4/Y"),d("qWt2"),d("Qvb6"),w.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),w.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("5GtS"),m=d("4NO4"),v=m.defaultEmphasis,p=d("D5nY"),s=p.makeSeriesEncodeForNameBased,u=d("xKMd"),o=w.extendSeriesModel({type:"series.funnel",init:function(r){o.superApply(this,"init",arguments),this.legendVisualProvider=new u(A.bind(this.getData,this),A.bind(this.getRawData,this)),this._defaultLabelLine(r)},getInitialData:function(r,i){return b(this,{coordDimensions:["value"],encodeDefaulter:A.curry(s,this)})},_defaultLabelLine:function(r){v(r,"labelLine",["show"]);var i=r.labelLine,n=r.emphasis.labelLine;i.show=i.show&&r.label.show,n.show=n.show&&r.emphasis.label.show},getDataParams:function(r){var i=this.getData(),n=o.superCall(this,"getDataParams",r),l=i.mapDimension("value"),t=i.getSum(l);return n.percent=t?+(i.get(l,r)/t*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),e=o;M.exports=e},ANjR:function(M,P,d){var w=d("bYtY");function A(m,v){return v=v||[0,0],w.map([0,1],function(p){var s=v[p],u=m[p]/2,o=[],e=[];return o[p]=s-u,e[p]=s+u,o[1-p]=e[1-p]=v[1-p],Math.abs(this.dataToPoint(o)[p]-this.dataToPoint(e)[p])},this)}function b(m){var v=m.getBoundingRect();return{coordSys:{type:"geo",x:v.x,y:v.y,width:v.width,height:v.height,zoom:m.getZoom()},api:{coord:function(p){return m.dataToPoint(p)},size:w.bind(A,m)}}}M.exports=b},AUH6:function(M,P,d){var w=d("bYtY"),A=d("mFDi"),b=d("bMXI"),m=d("W4dC");function v(u,o,e,r){b.call(this,u),this.map=o;var i=m.load(o,e);this._nameCoordMap=i.nameCoordMap,this._regionsMap=i.regionsMap,this._invertLongitute=r==null?!0:r,this.regions=i.regions,this._rect=i.boundingRect}v.prototype={constructor:v,type:"geo",dimensions:["lng","lat"],containCoord:function(u){for(var o=this.regions,e=0;e<o.length;e++)if(o[e].contain(u))return!0;return!1},transformTo:function(u,o,e,r){var i=this.getBoundingRect(),n=this._invertLongitute;i=i.clone(),n&&(i.y=-i.y-i.height);var l=this._rawTransformable;if(l.transform=i.calculateTransform(new A(u,o,e,r)),l.decomposeTransform(),n){var t=l.scale;t[1]=-t[1]}l.updateTransform(),this._updateTransform()},getRegion:function(u){return this._regionsMap.get(u)},getRegionByCoord:function(u){for(var o=this.regions,e=0;e<o.length;e++)if(o[e].contain(u))return o[e]},addGeoCoord:function(u,o){this._nameCoordMap.set(u,o)},getGeoCoord:function(u){return this._nameCoordMap.get(u)},getBoundingRect:function(){return this._rect},dataToPoint:function(u,o,e){if(typeof u=="string"&&(u=this.getGeoCoord(u)),u)return b.prototype.dataToPoint.call(this,u,o,e)},convertToPixel:w.curry(p,"dataToPoint"),convertFromPixel:w.curry(p,"pointToData")},w.mixin(v,b);function p(u,o,e,r){var i=e.geoModel,n=e.seriesModel,l=i?i.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return l===this?l[u](r):null}var s=v;M.exports=s},AVZG:function(M,P,d){var w=d("bYtY");function A(b,m,v){v=v||{};var p=b.coordinateSystem,s=m.axis,u={},o=s.getAxesOnZeroOf()[0],e=s.position,r=o?"onZero":e,i=s.dim,n=p.getRect(),l=[n.x,n.x+n.width,n.y,n.y+n.height],t={left:0,right:1,top:0,bottom:1,onZero:2},a=m.get("offset")||0,c=i==="x"?[l[2]-a,l[3]+a]:[l[0]-a,l[1]+a];if(o){var h=o.toGlobalCoord(o.dataToCoord(0));c[t.onZero]=Math.max(Math.min(h,c[1]),c[0])}u.position=[i==="y"?c[t[r]]:l[0],i==="x"?c[t[r]]:l[3]],u.rotation=Math.PI/2*(i==="x"?0:1);var f={top:-1,bottom:1,left:-1,right:1};u.labelDirection=u.tickDirection=u.nameDirection=f[e],u.labelOffset=o?c[t[e]]-c[t.onZero]:0,m.get("axisTick.inside")&&(u.tickDirection=-u.tickDirection),w.retrieve(v.labelInside,m.get("axisLabel.inside"))&&(u.labelDirection=-u.labelDirection);var g=m.get("axisLabel.rotate");return u.labelRotate=r==="top"?-g:g,u.z2=1,u}P.layout=A},"Ae+d":function(M,P){function d(A,b,m){var v=A.target,p=v.position;p[0]+=b,p[1]+=m,v.dirty()}function w(A,b,m,v){var p=A.target,s=A.zoomLimit,u=p.position,o=p.scale,e=A.zoom=A.zoom||1;if(e*=b,s){var r=s.min||0,i=s.max||Infinity;e=Math.max(Math.min(i,e),r)}var n=e/A.zoom;A.zoom=e,u[0]-=(m-u[0])*(n-1),u[1]-=(v-u[1])*(n-1),o[0]*=n,o[1]*=n,p.dirty()}P.updateViewOnPan=d,P.updateViewOnZoom=w},Ae16:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("IwbS");d("Wqna"),d("rySg"),w.extendComponentView({type:"grid",render:function(m,v){this.group.removeAll(),m.get("show")&&this.group.add(new b.Rect({shape:m.coordinateSystem.getRect(),style:A.defaults({fill:m.get("backgroundColor")},m.getItemStyle()),silent:!0,z2:-1}))}}),w.registerPreprocessor(function(m){m.xAxis&&m.yAxis&&!m.grid&&(m.grid={})})},AjEO:function(M,P,d){},At67:function(M,P,d){"use strict";d.d(P,"b",function(){return A}),d.d(P,"a",function(){return b});var w=d("6LNJ"),A=Object(w.a)("success","processing","error","default","warning"),b=Object(w.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"B+YJ":function(M,P,d){d("TYVI"),d("p1MT")},"B6l+":function(M,P,d){var w=d("Sq3C"),A=d("Z1HP"),b=d("Sxd8"),m=d("dt0z");function v(p,s,u){p=m(p),s=b(s);var o=s?A(p):0;return s&&o<s?p+w(s-o,u):p}M.exports=v},B8SR:function(M,P,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("q1tI"),m=d.n(b),v=d("VTBJ"),p=d("1OyB"),s=d("vuIU"),u=d("Ji7U"),o=d("LK+K"),e=d("TSYQ"),r=d.n(e),i=function(se){var $,ge="".concat(se.rootPrefixCls,"-item"),he=r()(ge,"".concat(ge,"-").concat(se.page),($={},Object(w.a)($,"".concat(ge,"-active"),se.active),Object(w.a)($,"".concat(ge,"-disabled"),!se.page),Object(w.a)($,se.className,!!se.className),$)),Ie=function(){se.onClick(se.page)},Se=function(He){se.onKeyPress(He,se.onClick,se.page)};return m.a.createElement("li",{title:se.showTitle?se.page:null,className:he,onClick:Ie,onKeyPress:Se,tabIndex:"0"},se.itemRender(se.page,"page",m.a.createElement("a",{rel:"nofollow"},se.page)))},n=i,l={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},t=function(ae){Object(u.a)($,ae);var se=Object(o.a)($);function $(){var ge;Object(p.a)(this,$);for(var he=arguments.length,Ie=new Array(he),Se=0;Se<he;Se++)Ie[Se]=arguments[Se];return ge=se.call.apply(se,[this].concat(Ie)),ge.state={goInputText:""},ge.buildOptionText=function(Le){return"".concat(Le," ").concat(ge.props.locale.items_per_page)},ge.changeSize=function(Le){ge.props.changeSize(Number(Le))},ge.handleChange=function(Le){ge.setState({goInputText:Le.target.value})},ge.handleBlur=function(Le){var He=ge.props,G=He.goButton,pe=He.quickGo,We=He.rootPrefixCls,te=ge.state.goInputText;if(G||te==="")return;if(ge.setState({goInputText:""}),Le.relatedTarget&&(Le.relatedTarget.className.indexOf("".concat(We,"-item-link"))>=0||Le.relatedTarget.className.indexOf("".concat(We,"-item"))>=0))return;pe(ge.getValidValue())},ge.go=function(Le){var He=ge.state.goInputText;if(He==="")return;(Le.keyCode===l.ENTER||Le.type==="click")&&(ge.setState({goInputText:""}),ge.props.quickGo(ge.getValidValue()))},ge}return Object(s.a)($,[{key:"getValidValue",value:function(){var he=this.state.goInputText;return!he||isNaN(he)?void 0:Number(he)}},{key:"getPageSizeOptions",value:function(){var he=this.props,Ie=he.pageSize,Se=he.pageSizeOptions;return Se.some(function(Le){return Le.toString()===Ie.toString()})?Se:Se.concat([Ie.toString()]).sort(function(Le,He){var G=isNaN(Number(Le))?0:Number(Le),pe=isNaN(Number(He))?0:Number(He);return G-pe})}},{key:"render",value:function(){var he=this,Ie=this.props,Se=Ie.pageSize,Le=Ie.locale,He=Ie.rootPrefixCls,G=Ie.changeSize,pe=Ie.quickGo,We=Ie.goButton,te=Ie.selectComponentClass,X=Ie.buildOptionText,z=Ie.selectPrefixCls,Z=Ie.disabled,be=this.state.goInputText,ne="".concat(He,"-options"),Ae=te,Ne=null,oe=null,de=null;if(!G&&!pe)return null;var xe=this.getPageSizeOptions();if(G&&Ae){var Pe=xe.map(function(tt,Je){return m.a.createElement(Ae.Option,{key:Je,value:tt.toString()},(X||he.buildOptionText)(tt))});Ne=m.a.createElement(Ae,{disabled:Z,prefixCls:z,showSearch:!1,className:"".concat(ne,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(Se||xe[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Je){return Je.parentNode}},Pe)}return pe&&(We&&(de=typeof We=="boolean"?m.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Z,className:"".concat(ne,"-quick-jumper-button")},Le.jump_to_confirm):m.a.createElement("span",{onClick:this.go,onKeyUp:this.go},We)),oe=m.a.createElement("div",{className:"".concat(ne,"-quick-jumper")},Le.jump_to,m.a.createElement("input",{disabled:Z,type:"text",value:be,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Le.page,de)),m.a.createElement("li",{className:"".concat(ne)},Ne,oe)}}]),$}(m.a.Component);t.defaultProps={pageSizeOptions:["10","20","50","100"]};var a=t,c=d("gIha");function h(){}function f(ae){return typeof ae=="number"&&isFinite(ae)&&Math.floor(ae)===ae}function g(ae,se,$){return $}function S(ae,se,$){var ge=typeof ae=="undefined"?se.pageSize:ae;return Math.floor(($.total-1)/ge)+1}var y=function(ae){Object(u.a)($,ae);var se=Object(o.a)($);function $(ge){var he;Object(p.a)(this,$),he=se.call(this,ge),he.getJumpPrevPage=function(){return Math.max(1,he.state.current-(he.props.showLessItems?3:5))},he.getJumpNextPage=function(){return Math.min(S(void 0,he.state,he.props),he.state.current+(he.props.showLessItems?3:5))},he.getItemIcon=function(G,pe){var We=he.props.prefixCls,te=G||m.a.createElement("button",{type:"button","aria-label":pe,className:"".concat(We,"-item-link")});return typeof G=="function"&&(te=m.a.createElement(G,Object(v.a)({},he.props))),te},he.savePaginationNode=function(G){he.paginationNode=G},he.isValid=function(G){return f(G)&&G!==he.state.current},he.shouldDisplayQuickJumper=function(){var G=he.props,pe=G.showQuickJumper,We=G.pageSize,te=G.total;return te<=We?!1:pe},he.handleKeyDown=function(G){(G.keyCode===l.ARROW_UP||G.keyCode===l.ARROW_DOWN)&&G.preventDefault()},he.handleKeyUp=function(G){var pe=he.getValidValue(G),We=he.state.currentInputValue;pe!==We&&he.setState({currentInputValue:pe}),G.keyCode===l.ENTER?he.handleChange(pe):G.keyCode===l.ARROW_UP?he.handleChange(pe-1):G.keyCode===l.ARROW_DOWN&&he.handleChange(pe+1)},he.changePageSize=function(G){var pe=he.state.current,We=S(G,he.state,he.props);pe=pe>We?We:pe,We===0&&(pe=he.state.current),typeof G=="number"&&("pageSize"in he.props||he.setState({pageSize:G}),"current"in he.props||he.setState({current:pe,currentInputValue:pe})),he.props.onShowSizeChange(pe,G),"onChange"in he.props&&he.props.onChange&&he.props.onChange(pe,G)},he.handleChange=function(G){var pe=he.props.disabled,We=G;if(he.isValid(We)&&!pe){var te=S(void 0,he.state,he.props);We>te?We=te:We<1&&(We=1),"current"in he.props||he.setState({current:We,currentInputValue:We});var X=he.state.pageSize;return he.props.onChange(We,X),We}return he.state.current},he.prev=function(){he.hasPrev()&&he.handleChange(he.state.current-1)},he.next=function(){he.hasNext()&&he.handleChange(he.state.current+1)},he.jumpPrev=function(){he.handleChange(he.getJumpPrevPage())},he.jumpNext=function(){he.handleChange(he.getJumpNextPage())},he.hasPrev=function(){return he.state.current>1},he.hasNext=function(){return he.state.current<S(void 0,he.state,he.props)},he.runIfEnter=function(G,pe){if(G.key==="Enter"||G.charCode===13){for(var We=arguments.length,te=new Array(We>2?We-2:0),X=2;X<We;X++)te[X-2]=arguments[X];pe.apply(void 0,te)}},he.runIfEnterPrev=function(G){he.runIfEnter(G,he.prev)},he.runIfEnterNext=function(G){he.runIfEnter(G,he.next)},he.runIfEnterJumpPrev=function(G){he.runIfEnter(G,he.jumpPrev)},he.runIfEnterJumpNext=function(G){he.runIfEnter(G,he.jumpNext)},he.handleGoTO=function(G){(G.keyCode===l.ENTER||G.type==="click")&&he.handleChange(he.state.currentInputValue)};var Ie=ge.onChange!==h,Se="current"in ge;Se&&!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 Le=ge.defaultCurrent;"current"in ge&&(Le=ge.current);var He=ge.defaultPageSize;return"pageSize"in ge&&(He=ge.pageSize),Le=Math.min(Le,S(He,void 0,ge)),he.state={current:Le,currentInputValue:Le,pageSize:He},he}return Object(s.a)($,[{key:"componentDidUpdate",value:function(he,Ie){var Se=this.props.prefixCls;if(Ie.current!==this.state.current&&this.paginationNode){var Le=this.paginationNode.querySelector(".".concat(Se,"-item-").concat(Ie.current));Le&&document.activeElement===Le&&Le.blur()}}},{key:"getValidValue",value:function(he){var Ie=he.target.value,Se=S(void 0,this.state,this.props),Le=this.state.currentInputValue,He;return Ie===""?He=Ie:isNaN(Number(Ie))?He=Le:Ie>=Se?He=Se:He=Number(Ie),He}},{key:"getShowSizeChanger",value:function(){var he=this.props,Ie=he.showSizeChanger,Se=he.total,Le=he.totalBoundaryShowSizeChanger;return typeof Ie!="undefined"?Ie:Se>Le}},{key:"renderPrev",value:function(he){var Ie=this.props,Se=Ie.prevIcon,Le=Ie.itemRender,He=Le(he,"prev",this.getItemIcon(Se,"prev page")),G=!this.hasPrev();return Object(b.isValidElement)(He)?Object(b.cloneElement)(He,{disabled:G}):He}},{key:"renderNext",value:function(he){var Ie=this.props,Se=Ie.nextIcon,Le=Ie.itemRender,He=Le(he,"next",this.getItemIcon(Se,"next page")),G=!this.hasNext();return Object(b.isValidElement)(He)?Object(b.cloneElement)(He,{disabled:G}):He}},{key:"render",value:function(){var he=this,Ie=this.props,Se=Ie.prefixCls,Le=Ie.className,He=Ie.style,G=Ie.disabled,pe=Ie.hideOnSinglePage,We=Ie.total,te=Ie.locale,X=Ie.showQuickJumper,z=Ie.showLessItems,Z=Ie.showTitle,be=Ie.showTotal,ne=Ie.simple,Ae=Ie.itemRender,Ne=Ie.showPrevNextJumpers,oe=Ie.jumpPrevIcon,de=Ie.jumpNextIcon,xe=Ie.selectComponentClass,Pe=Ie.selectPrefixCls,tt=Ie.pageSizeOptions,Je=this.state,Oe=Je.current,pt=Je.pageSize,Qe=Je.currentInputValue;if(pe===!0&&We<=pt)return null;var nt=S(void 0,this.state,this.props),bt=[],Tt=null,Ct=null,Nt=null,Ge=null,ie=null,Y=X&&X.goButton,we=z?1:2,Ce=Oe-1>0?Oe-1:0,le=Oe+1<nt?Oe+1:nt,ot=Object.keys(this.props).reduce(function(Lr,Zr){return(Zr.substr(0,5)==="data-"||Zr.substr(0,5)==="aria-"||Zr==="role")&&(Lr[Zr]=he.props[Zr]),Lr},{});if(ne)return Y&&(typeof Y=="boolean"?ie=m.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},te.jump_to_confirm):ie=m.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Y),ie=m.a.createElement("li",{title:Z?"".concat(te.jump_to).concat(Oe,"/").concat(nt):null,className:"".concat(Se,"-simple-pager")},ie)),m.a.createElement("ul",Object(A.a)({className:r()(Se,"".concat(Se,"-simple"),Object(w.a)({},"".concat(Se,"-disabled"),G),Le),style:He,ref:this.savePaginationNode},ot),m.a.createElement("li",{title:Z?te.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:r()("".concat(Se,"-prev"),Object(w.a)({},"".concat(Se,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(Ce)),m.a.createElement("li",{title:Z?"".concat(Oe,"/").concat(nt):null,className:"".concat(Se,"-simple-pager")},m.a.createElement("input",{type:"text",value:Qe,disabled:G,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),m.a.createElement("span",{className:"".concat(Se,"-slash")},"/"),nt),m.a.createElement("li",{title:Z?te.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:r()("".concat(Se,"-next"),Object(w.a)({},"".concat(Se,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(le)),ie);if(nt<=3+we*2){var wt={locale:te,rootPrefixCls:Se,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Z,itemRender:Ae};nt||bt.push(m.a.createElement(n,Object(A.a)({},wt,{key:"noPager",page:1,className:"".concat(Se,"-item-disabled")})));for(var rt=1;rt<=nt;rt+=1){var It=Oe===rt;bt.push(m.a.createElement(n,Object(A.a)({},wt,{key:rt,page:rt,active:It})))}}else{var Gt=z?te.prev_3:te.prev_5,lr=z?te.next_3:te.next_5;Ne&&(Tt=m.a.createElement("li",{title:Z?Gt:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:r()("".concat(Se,"-jump-prev"),Object(w.a)({},"".concat(Se,"-jump-prev-custom-icon"),!!oe))},Ae(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(oe,"prev page"))),Ct=m.a.createElement("li",{title:Z?lr:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:r()("".concat(Se,"-jump-next"),Object(w.a)({},"".concat(Se,"-jump-next-custom-icon"),!!de))},Ae(this.getJumpNextPage(),"jump-next",this.getItemIcon(de,"next page")))),Ge=m.a.createElement(n,{locale:te,last:!0,rootPrefixCls:Se,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:nt,page:nt,active:!1,showTitle:Z,itemRender:Ae}),Nt=m.a.createElement(n,{locale:te,rootPrefixCls:Se,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Z,itemRender:Ae});var pr=Math.max(1,Oe-we),Rr=Math.min(Oe+we,nt);Oe-1<=we&&(Rr=1+we*2),nt-Oe<=we&&(pr=nt-we*2);for(var xt=pr;xt<=Rr;xt+=1){var Ot=Oe===xt;bt.push(m.a.createElement(n,{locale:te,rootPrefixCls:Se,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:xt,page:xt,active:Ot,showTitle:Z,itemRender:Ae}))}Oe-1>=we*2&&Oe!==1+2&&(bt[0]=Object(b.cloneElement)(bt[0],{className:"".concat(Se,"-item-after-jump-prev")}),bt.unshift(Tt)),nt-Oe>=we*2&&Oe!==nt-2&&(bt[bt.length-1]=Object(b.cloneElement)(bt[bt.length-1],{className:"".concat(Se,"-item-before-jump-next")}),bt.push(Ct)),pr!==1&&bt.unshift(Nt),Rr!==nt&&bt.push(Ge)}var At=null;be&&(At=m.a.createElement("li",{className:"".concat(Se,"-total-text")},be(We,[We===0?0:(Oe-1)*pt+1,Oe*pt>We?We:Oe*pt])));var Jt=!this.hasPrev()||!nt,br=!this.hasNext()||!nt;return m.a.createElement("ul",Object(A.a)({className:r()(Se,Le,Object(w.a)({},"".concat(Se,"-disabled"),G)),style:He,unselectable:"unselectable",ref:this.savePaginationNode},ot),At,m.a.createElement("li",{title:Z?te.prev_page:null,onClick:this.prev,tabIndex:Jt?null:0,onKeyPress:this.runIfEnterPrev,className:r()("".concat(Se,"-prev"),Object(w.a)({},"".concat(Se,"-disabled"),Jt)),"aria-disabled":Jt},this.renderPrev(Ce)),bt,m.a.createElement("li",{title:Z?te.next_page:null,onClick:this.next,tabIndex:br?null:0,onKeyPress:this.runIfEnterNext,className:r()("".concat(Se,"-next"),Object(w.a)({},"".concat(Se,"-disabled"),br)),"aria-disabled":br},this.renderNext(le)),m.a.createElement(a,{disabled:G,locale:te,rootPrefixCls:Se,selectComponentClass:xe,selectPrefixCls:Pe,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Oe,pageSize:pt,pageSizeOptions:tt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Y}))}}],[{key:"getDerivedStateFromProps",value:function(he,Ie){var Se={};if("current"in he&&(Se.current=he.current,he.current!==Ie.current&&(Se.currentInputValue=Se.current)),"pageSize"in he&&he.pageSize!==Ie.pageSize){var Le=Ie.current,He=S(he.pageSize,Ie,he);Le=Le>He?He:Le,"current"in he||(Se.current=Le,Se.currentInputValue=Le),Se.pageSize=he.pageSize}return Se}}]),$}(m.a.Component);y.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:h,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:h,locale:c.a,style:{},itemRender:g,totalBoundaryShowSizeChanger:50};var E=y,C=d("9LJR"),T=d("5bA4"),x=d("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=d("6VBw"),D=function(se,$){return b.createElement(L.a,Object(v.a)(Object(v.a)({},se),{},{ref:$,icon:I}))};D.displayName="DoubleLeftOutlined";var B=b.forwardRef(D),N=d("zs7G"),k=d("j5T7"),W=function(se){return b.createElement(k.a,Object(A.a)({size:"small"},se))};W.Option=k.a.Option;var R=W,j=d("VM9+"),H=d("9R2V"),K=d("h3u3"),U=function(ae,se){var $={};for(var ge in ae)Object.prototype.hasOwnProperty.call(ae,ge)&&se.indexOf(ge)<0&&($[ge]=ae[ge]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ge=Object.getOwnPropertySymbols(ae);he<ge.length;he++)se.indexOf(ge[he])<0&&Object.prototype.propertyIsEnumerable.call(ae,ge[he])&&($[ge[he]]=ae[ge[he]]);return $},Q=function(se){var $=se.prefixCls,ge=se.selectPrefixCls,he=se.className,Ie=se.size,Se=se.locale,Le=U(se,["prefixCls","selectPrefixCls","className","size","locale"]),He=Object(K.a)(),G=He.xs,pe=b.useContext(H.b),We=pe.getPrefixCls,te=pe.direction,X=We("pagination",$),z=function(){var ne=b.createElement("span",{className:"".concat(X,"-item-ellipsis")},"\u2022\u2022\u2022"),Ae=b.createElement("button",{className:"".concat(X,"-item-link"),type:"button",tabIndex:-1},b.createElement(T.a,null)),Ne=b.createElement("button",{className:"".concat(X,"-item-link"),type:"button",tabIndex:-1},b.createElement(x.a,null)),oe=b.createElement("a",{className:"".concat(X,"-item-link")},b.createElement("div",{className:"".concat(X,"-item-container")},b.createElement(B,{className:"".concat(X,"-item-link-icon")}),ne)),de=b.createElement("a",{className:"".concat(X,"-item-link")},b.createElement("div",{className:"".concat(X,"-item-container")},b.createElement(N.a,{className:"".concat(X,"-item-link-icon")}),ne));if(te==="rtl"){var xe=[Ne,Ae];Ae=xe[0],Ne=xe[1];var Pe=[de,oe];oe=Pe[0],de=Pe[1]}return{prevIcon:Ae,nextIcon:Ne,jumpPrevIcon:oe,jumpNextIcon:de}},Z=function(ne){var Ae=Object(A.a)(Object(A.a)({},ne),Se),Ne=Ie==="small"||!!(G&&!Ie&&Le.responsive),oe=We("select",ge),de=r()(Object(w.a)({mini:Ne},"".concat(X,"-rtl"),te==="rtl"),he);return b.createElement(E,Object(A.a)({},Le,{prefixCls:X,selectPrefixCls:oe},z(),{className:de,selectComponentClass:Ne?R:k.a,locale:Ae}))};return b.createElement(j.a,{componentName:"Pagination",defaultLocale:C.a},Z)},V=Q,J=P.a=V},B9fm:function(M,P,d){var w=d("bYtY"),A=d("Qe9p"),b=d("YH21"),m=d("Ze12"),v=d("ItGF"),p=d("7aKB"),s=w.each,u=p.toCamelCase,o=["","-webkit-","-moz-","-o-"],e="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function r(c){var h="cubic-bezier(0.23, 1, 0.32, 1)",f="left "+c+"s "+h+",top "+c+"s "+h;return w.map(o,function(g){return g+"transition:"+f}).join(";")}function i(c){var h=[],f=c.get("fontSize"),g=c.getTextColor();return g&&h.push("color:"+g),h.push("font:"+c.getFont()),f&&h.push("line-height:"+Math.round(f*3/2)+"px"),s(["decoration","align"],function(S){var y=c.get(S);y&&h.push("text-"+S+":"+y)}),h.join(";")}function n(c){var h=[],f=c.get("transitionDuration"),g=c.get("backgroundColor"),S=c.getModel("textStyle"),y=c.get("padding");return f&&h.push(r(f)),g&&(v.canvasSupported?h.push("background-Color:"+g):(h.push("background-Color:#"+A.toHex(g)),h.push("filter:alpha(opacity=70)"))),s(["width","color","radius"],function(E){var C="border-"+E,T=u(C),x=c.get(T);x!=null&&h.push(C+":"+x+(E==="color"?"":"px"))}),h.push(i(S)),y!=null&&h.push("padding:"+p.normalizeCssArray(y).join("px ")+"px"),h.join(";")+";"}function l(c,h,f,g,S){var y=h&&h.painter;if(f){var E=y&&y.getViewportRoot();E&&m.transformLocalCoord(c,E,document.body,g,S)}else{c[0]=g,c[1]=S;var C=y&&y.getViewportRootOffset();C&&(c[0]+=C.offsetLeft,c[1]+=C.offsetTop)}}function t(c,h,f){if(v.wxa)return null;var g=document.createElement("div");g.domBelongToZr=!0,this.el=g;var S=this._zr=h.getZr(),y=this._appendToBody=f&&f.appendToBody;this._styleCoord=[0,0],l(this._styleCoord,S,y,h.getWidth()/2,h.getHeight()/2),y?document.body.appendChild(g):c.appendChild(g),this._container=c,this._show=!1,this._hideTimeout;var E=this;g.onmouseenter=function(){E._enterable&&(clearTimeout(E._hideTimeout),E._show=!0),E._inContent=!0},g.onmousemove=function(C){if(C=C||window.event,!E._enterable){var T=S.handler,x=S.painter.getViewportRoot();b.normalizeEvent(x,C,!0),T.dispatch("mousemove",C)}},g.onmouseleave=function(){E._enterable&&(E._show&&E.hideLater(E._hideDelay)),E._inContent=!1}}t.prototype={constructor:t,_enterable:!0,update:function(){var c=this._container,h=c.currentStyle||document.defaultView.getComputedStyle(c),f=c.style;f.position!=="absolute"&&h.position!=="absolute"&&(f.position="relative")},show:function(c){clearTimeout(this._hideTimeout);var h=this.el,f=this._styleCoord;h.style.cssText=e+n(c)+";left:"+f[0]+"px;top:"+f[1]+"px;"+(c.get("extraCssText")||""),h.style.display=h.innerHTML?"block":"none",h.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(c){this.el.innerHTML=c==null?"":c},setEnterable:function(c){this._enterable=c},getSize:function(){var c=this.el;return[c.clientWidth,c.clientHeight]},moveTo:function(c,h){var f=this._styleCoord;l(f,this._zr,this._appendToBody,c,h);var g=this.el.style;g.left=f[0]+"px",g.top=f[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(c){this._show&&!(this._inContent&&this._enterable)&&(c?(this._hideDelay=c,this._show=!1,this._hideTimeout=setTimeout(w.bind(this.hide,this),c)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var c=this.el.clientWidth,h=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var f=document.defaultView.getComputedStyle(this.el);f&&(c+=parseInt(f.borderLeftWidth,10)+parseInt(f.borderRightWidth,10),h+=parseInt(f.borderTopWidth,10)+parseInt(f.borderBottomWidth,10))}return{width:c,height:h}}};var a=t;M.exports=a},BIfp:function(M,P,d){"use strict";var w=d("wd/R"),A=d.n(w),b=d("Kwbf"),m={getNow:function(){return A()()},getFixedDate:function(gt){return A()(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 Wt=gt.clone();return Wt.add(Xt,"year")},addMonth:function(gt,Xt){var Wt=gt.clone();return Wt.add(Xt,"month")},addDate:function(gt,Xt){var Wt=gt.clone();return Wt.add(Xt,"day")},setYear:function(gt,Xt){var Wt=gt.clone();return Wt.year(Xt)},setMonth:function(gt,Xt){var Wt=gt.clone();return Wt.month(Xt)},setDate:function(gt,Xt){var Wt=gt.clone();return Wt.date(Xt)},setHour:function(gt,Xt){var Wt=gt.clone();return Wt.hour(Xt)},setMinute:function(gt,Xt){var Wt=gt.clone();return Wt.minute(Xt)},setSecond:function(gt,Xt){var Wt=gt.clone();return Wt.second(Xt)},isAfter:function(gt,Xt){return gt.isAfter(Xt)},isValidate:function(gt){return gt.isValid()},locale:{getWeekFirstDay:function(gt){var Xt=A()().locale(gt);return Xt.localeData().firstDayOfWeek()},getWeekFirstDate:function(gt,Xt){var Wt=Xt.clone(),vr=Wt.locale(gt);return vr.weekday(0)},getWeek:function(gt,Xt){var Wt=Xt.clone(),vr=Wt.locale(gt);return vr.week()},getShortWeekDays:function(gt){var Xt=A()().locale(gt);return Xt.localeData().weekdaysMin()},getShortMonths:function(gt){var Xt=A()().locale(gt);return Xt.localeData().monthsShort()},format:function(gt,Xt,Wt){var vr=Xt.clone(),or=vr.locale(gt);return or.format(Wt)},parse:function(gt,Xt,Wt){for(var vr=[],or=0;or<Wt.length;or+=1){var Vr=Wt[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=A()(Kr,Vr,gt,!0);if(on.isValid())return on}for(var Cn=0;Cn<vr.length;Cn+=1){var sn=A()(Xt,vr[Cn],gt,!1);if(sn.isValid())return Object(b.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),sn}return null}}},v=m,p=d("wx14"),s=d("q1tI"),u=d("Fc8i");function o(Ke){return s.createElement(u.a,Object(p.a)({size:"small",type:"primary"},Ke))}var e=d("XmSR");function r(Ke){return s.createElement(e.a,Object(p.a)({color:"blue"},Ke))}var i=d("rePB"),n=d("1OyB"),l=d("vuIU"),t=d("Ji7U"),a=d("LK+K"),c=d("TSYQ"),h=d.n(c),f=d("VTBJ"),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},S=g,y=d("6VBw"),E=function(gt,Xt){return s.createElement(y.a,Object(f.a)(Object(f.a)({},gt),{},{ref:Xt,icon:S}))};E.displayName="CalendarOutlined";var C=s.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 s.createElement(y.a,Object(f.a)(Object(f.a)({},gt),{},{ref:Xt,icon:x}))};_.displayName="ClockCircleOutlined";var I=s.forwardRef(_),L=d("jN4g"),D=d("ODXe"),B=d("6cGi"),N=d("U8pU"),k=d("4IlW"),W=s.createContext({}),R=W,j={visibility:"hidden"};function H(Ke){var gt=Ke.prefixCls,Xt=Ke.prevIcon,Wt=Xt===void 0?"\u2039":Xt,vr=Ke.nextIcon,or=vr===void 0?"\u203A":vr,Vr=Ke.superPrevIcon,Kr=Vr===void 0?"\xAB":Vr,Dr=Ke.superNextIcon,dn=Dr===void 0?"\xBB":Dr,on=Ke.onSuperPrev,Cn=Ke.onSuperNext,sn=Ke.onPrev,an=Ke.onNext,Yr=Ke.children,fn=s.useContext(R),vn=fn.hideNextBtn,Ln=fn.hidePrevBtn;return s.createElement("div",{className:gt},on&&s.createElement("button",{type:"button",onClick:on,tabIndex:-1,className:"".concat(gt,"-super-prev-btn"),style:Ln?j:{}},Kr),sn&&s.createElement("button",{type:"button",onClick:sn,tabIndex:-1,className:"".concat(gt,"-prev-btn"),style:Ln?j:{}},Wt),s.createElement("div",{className:"".concat(gt,"-view")},Yr),an&&s.createElement("button",{type:"button",onClick:an,tabIndex:-1,className:"".concat(gt,"-next-btn"),style:vn?j:{}},or),Cn&&s.createElement("button",{type:"button",onClick:Cn,tabIndex:-1,className:"".concat(gt,"-super-next-btn"),style:vn?j:{}},dn))}var K=H;function U(Ke){var gt=Ke.prefixCls,Xt=Ke.generateConfig,Wt=Ke.viewDate,vr=Ke.onPrevDecades,or=Ke.onNextDecades,Vr=s.useContext(R),Kr=Vr.hideHeader;if(Kr)return null;var Dr="".concat(gt,"-header"),dn=Xt.getYear(Wt),on=Math.floor(dn/pt)*pt,Cn=on+pt-1;return s.createElement(K,Object(p.a)({},Ke,{prefixCls:Dr,onSuperPrev:vr,onSuperNext:or}),on,"-",Cn)}var Q=U;function V(Ke,gt,Xt,Wt,vr){var or=Ke.setHour(gt,Xt);return or=Ke.setMinute(or,Wt),or=Ke.setSecond(or,vr),or}function J(Ke,gt,Xt){if(!Xt)return gt;var Wt=gt;return Wt=Ke.setHour(Wt,Ke.getHour(Xt)),Wt=Ke.setMinute(Wt,Ke.getMinute(Xt)),Wt=Ke.setSecond(Wt,Ke.getSecond(Xt)),Wt}function ae(Ke,gt,Xt,Wt,vr,or){var Vr=Math.floor(Ke/Wt)*Wt;if(Vr<Ke)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 se(Ke,gt){var Xt=Ke.getYear(gt),Wt=Ke.getMonth(gt)+1,vr=Ke.getEndDate(Ke.getFixedDate("".concat(Xt,"-").concat(Wt,"-01"))),or=Ke.getDate(vr),Vr=Wt<10?"0".concat(Wt):"".concat(Wt);return"".concat(Xt,"-").concat(Vr,"-").concat(or)}function $(Ke){for(var gt=Ke.prefixCls,Xt=Ke.disabledDate,Wt=Ke.onSelect,vr=Ke.picker,or=Ke.rowNum,Vr=Ke.colNum,Kr=Ke.prefixColumn,Dr=Ke.rowClassName,dn=Ke.baseDate,on=Ke.getCellClassName,Cn=Ke.getCellText,sn=Ke.getCellNode,an=Ke.getCellDate,Yr=Ke.generateConfig,fn=Ke.titleCell,vn=Ke.headerCells,Ln=s.useContext(R),oi=Ln.onDateMouseEnter,si=Ln.onDateMouseLeave,Ni=Ln.mode,qn="".concat(gt,"-cell"),Pn=[],ki=0;ki<or;ki+=1){for(var ci=[],wi=void 0,fi=function(Wi){var ma,aa=ki*Vr+Wi,ya=an(dn,aa),Ea=pr({cellDate:ya,mode:Ni,disabledDate:Xt,generateConfig:Yr});Wi===0&&(wi=ya,Kr&&ci.push(Kr(wi)));var ca=fn&&fn(ya);ci.push(s.createElement("td",{key:Wi,title:ca,className:h()(qn,Object(f.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===se(Yr,ya)||vr==="year"&&Number(ca)%10===9),ma),on(ya))),onClick:function(){Ea||Wt(ya)},onMouseEnter:function(){!Ea&&oi&&oi(ya)},onMouseLeave:function(){!Ea&&si&&si(ya)}},sn?sn(ya):s.createElement("div",{className:"".concat(qn,"-inner")},Cn(ya))))},Mi=0;Mi<Vr;Mi+=1)fi(Mi);Pn.push(s.createElement("tr",{key:ki,className:Dr&&Dr(wi)},ci))}return s.createElement("div",{className:"".concat(gt,"-body")},s.createElement("table",{className:"".concat(gt,"-content")},vn&&s.createElement("thead",null,s.createElement("tr",null,vn)),s.createElement("tbody",null,Pn)))}var ge=3,he=4;function Ie(Ke){var gt=Oe-1,Xt=Ke.prefixCls,Wt=Ke.viewDate,vr=Ke.generateConfig,or="".concat(Xt,"-cell"),Vr=vr.getYear(Wt),Kr=Math.floor(Vr/Oe)*Oe,Dr=Math.floor(Vr/pt)*pt,dn=Dr+pt-1,on=vr.setYear(Wt,Dr-Math.ceil((ge*he*Oe-pt)/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 s.createElement($,Object(p.a)({},Ke,{rowNum:he,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*Oe)}}))}var Se=Ie,Le=d("KQm4"),He=d("wgJM"),G=d("x/xZ"),pe=new Map;function We(Ke,gt){var Xt;function Wt(){Object(G.a)(Ke)?gt():Xt=Object(He.a)(function(){Wt()})}return Wt(),function(){He.a.cancel(Xt)}}function te(Ke,gt,Xt){if(pe.get(Ke)&&cancelAnimationFrame(pe.get(Ke)),Xt<=0){pe.set(Ke,requestAnimationFrame(function(){Ke.scrollTop=gt}));return}var Wt=gt-Ke.scrollTop,vr=Wt/Xt*10;pe.set(Ke,requestAnimationFrame(function(){Ke.scrollTop+=vr,Ke.scrollTop!==gt&&te(Ke,gt,Xt-10)}))}function X(Ke,gt){var Xt=gt.onLeftRight,Wt=gt.onCtrlLeftRight,vr=gt.onUpDown,or=gt.onPageUpDown,Vr=gt.onEnter,Kr=Ke.which,Dr=Ke.ctrlKey,dn=Ke.metaKey;switch(Kr){case k.a.LEFT:if(Dr||dn){if(Wt)return Wt(-1),!0}else if(Xt)return Xt(-1),!0;break;case k.a.RIGHT:if(Dr||dn){if(Wt)return Wt(1),!0}else if(Xt)return Xt(1),!0;break;case k.a.UP:if(vr)return vr(-1),!0;break;case k.a.DOWN:if(vr)return vr(1),!0;break;case k.a.PAGE_UP:if(or)return or(-1),!0;break;case k.a.PAGE_DOWN:if(or)return or(1),!0;break;case k.a.ENTER:if(Vr)return Vr(),!0;break}return!1}function z(Ke,gt,Xt,Wt){var vr=Ke;if(!vr)switch(gt){case"time":vr=Wt?"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 Z(Ke,gt,Xt){var Wt=Ke==="time"?8:10,vr=typeof gt=="function"?gt(Xt.getNow()).length:gt.length;return Math.max(Wt,vr)+2}var be=null,ne=new Set;function Ae(Ke){return!be&&typeof window!="undefined"&&window.addEventListener&&(be=function(Xt){Object(Le.a)(ne).forEach(function(Wt){Wt(Xt)})},window.addEventListener("mousedown",be)),ne.add(Ke),function(){ne.delete(Ke),ne.size===0&&(window.removeEventListener("mousedown",be),be=null)}}function Ne(Ke){var gt=Ke.target;if(Ke.composed&>.shadowRoot){var Xt;return((Xt=Ke.composedPath)===null||Xt===void 0?void 0:Xt.call(Ke)[0])||gt}return gt}var oe=function(gt){return gt==="month"||gt==="date"?"year":gt},de=function(gt){return gt==="date"?"month":gt},xe=function(gt){return gt==="month"||gt==="date"?"quarter":gt},Pe=function(gt){return gt==="date"?"week":gt},tt={year:oe,month:de,quarter:xe,week:Pe,time:null,date:null};function Je(Ke,gt){return Ke.some(function(Xt){return Xt&&Xt.contains(gt)})}var Oe=10,pt=Oe*10;function Qe(Ke){var gt=Ke.prefixCls,Xt=Ke.onViewDateChange,Wt=Ke.generateConfig,vr=Ke.viewDate,or=Ke.operationRef,Vr=Ke.onSelect,Kr=Ke.onPanelChange,Dr="".concat(gt,"-decade-panel");or.current={onKeyDown:function(sn){return X(sn,{onLeftRight:function(Yr){Vr(Wt.addYear(vr,Yr*Oe),"key")},onCtrlLeftRight:function(Yr){Vr(Wt.addYear(vr,Yr*pt),"key")},onUpDown:function(Yr){Vr(Wt.addYear(vr,Yr*Oe*ge),"key")},onEnter:function(){Kr("year",vr)}})}};var dn=function(sn){var an=Wt.addYear(vr,sn*pt);Xt(an),Kr(null,an)},on=function(sn){Vr(sn,"mouse"),Kr("year",sn)};return s.createElement("div",{className:Dr},s.createElement(Q,Object(p.a)({},Ke,{prefixCls:gt,onPrevDecades:function(){dn(-1)},onNextDecades:function(){dn(1)}})),s.createElement(Se,Object(p.a)({},Ke,{prefixCls:gt,onSelect:on})))}var nt=Qe,bt=7;function Tt(Ke,gt){return!Ke&&!gt?!0:!Ke||!gt?!1:void 0}function Ct(Ke,gt,Xt){var Wt=Tt(gt,Xt);if(typeof Wt=="boolean")return Wt;var vr=Math.floor(Ke.getYear(gt)/10),or=Math.floor(Ke.getYear(Xt)/10);return vr===or}function Nt(Ke,gt,Xt){var Wt=Tt(gt,Xt);return typeof Wt=="boolean"?Wt:Ke.getYear(gt)===Ke.getYear(Xt)}function Ge(Ke,gt){var Xt=Math.floor(Ke.getMonth(gt)/3);return Xt+1}function ie(Ke,gt,Xt){var Wt=Tt(gt,Xt);return typeof Wt=="boolean"?Wt:Nt(Ke,gt,Xt)&&Ge(Ke,gt)===Ge(Ke,Xt)}function Y(Ke,gt,Xt){var Wt=Tt(gt,Xt);return typeof Wt=="boolean"?Wt:Nt(Ke,gt,Xt)&&Ke.getMonth(gt)===Ke.getMonth(Xt)}function we(Ke,gt,Xt){var Wt=Tt(gt,Xt);return typeof Wt=="boolean"?Wt:Ke.getYear(gt)===Ke.getYear(Xt)&&Ke.getMonth(gt)===Ke.getMonth(Xt)&&Ke.getDate(gt)===Ke.getDate(Xt)}function Ce(Ke,gt,Xt){var Wt=Tt(gt,Xt);return typeof Wt=="boolean"?Wt:Ke.getHour(gt)===Ke.getHour(Xt)&&Ke.getMinute(gt)===Ke.getMinute(Xt)&&Ke.getSecond(gt)===Ke.getSecond(Xt)}function le(Ke,gt,Xt,Wt){var vr=Tt(Xt,Wt);return typeof vr=="boolean"?vr:Ke.locale.getWeek(gt,Xt)===Ke.locale.getWeek(gt,Wt)}function ot(Ke,gt,Xt){return we(Ke,gt,Xt)&&Ce(Ke,gt,Xt)}function wt(Ke,gt,Xt,Wt){return!gt||!Xt||!Wt?!1:!we(Ke,gt,Wt)&&!we(Ke,Xt,Wt)&&Ke.isAfter(Wt,gt)&&Ke.isAfter(Xt,Wt)}function rt(Ke,gt,Xt){var Wt=gt.locale.getWeekFirstDay(Ke),vr=gt.setDate(Xt,1),or=gt.getWeekDay(vr),Vr=gt.addDate(vr,Wt-or);return gt.getMonth(Vr)===gt.getMonth(Xt)&>.getDate(Vr)>1&&(Vr=gt.addDate(Vr,-7)),Vr}function It(Ke,gt,Xt){var Wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(gt){case"year":return Xt.addYear(Ke,Wt*10);case"quarter":case"month":return Xt.addYear(Ke,Wt);default:return Xt.addMonth(Ke,Wt)}}function Gt(Ke,gt){var Xt=gt.generateConfig,Wt=gt.locale,vr=gt.format;return typeof vr=="function"?vr(Ke):Xt.locale.format(Wt.locale,Ke,vr)}function lr(Ke,gt){var Xt=gt.generateConfig,Wt=gt.locale,vr=gt.formatList;return!Ke||typeof vr[0]=="function"?null:Xt.locale.parse(Wt.locale,Ke,vr)}function pr(Ke){var gt=Ke.cellDate,Xt=Ke.mode,Wt=Ke.disabledDate,vr=Ke.generateConfig;if(!Wt)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),!Wt(oi))return!1;break}case"month":{if(oi=vr.setMonth(gt,Ln),!pr({cellDate:oi,mode:"month",generateConfig:vr,disabledDate:Wt}))return!1;break}case"year":{if(oi=vr.setYear(gt,Ln),!pr({cellDate:oi,mode:"year",generateConfig:vr,disabledDate:Wt}))return!1;break}}Ln+=1}return!0};switch(Xt){case"date":case"week":return Wt(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/Oe)*Oe,sn=Cn+Oe-1;return or("year",Cn,sn)}}}function Rr(Ke){var gt=s.useContext(R),Xt=gt.hideHeader;if(Xt)return null;var Wt=Ke.prefixCls,vr=Ke.generateConfig,or=Ke.locale,Vr=Ke.value,Kr=Ke.format,Dr="".concat(Wt,"-header");return s.createElement(K,{prefixCls:Dr},Vr?Gt(Vr,{locale:or,format:Kr,generateConfig:vr}):"\xA0")}var xt=Rr,Ot=d("YrtM");function At(Ke){var gt=Ke.prefixCls,Xt=Ke.units,Wt=Ke.onSelect,vr=Ke.value,or=Ke.active,Vr=Ke.hideDisabledOptions,Kr="".concat(gt,"-cell"),Dr=s.useContext(R),dn=Dr.open,on=Object(s.useRef)(null),Cn=Object(s.useRef)(new Map),sn=Object(s.useRef)();return Object(s.useLayoutEffect)(function(){var an=Cn.current.get(vr);an&&dn!==!1&&te(on.current,an.offsetTop,120)},[vr]),Object(s.useLayoutEffect)(function(){if(dn){var an=Cn.current.get(vr);an&&(sn.current=We(an,function(){te(on.current,an.offsetTop,0)}))}return function(){var Yr;(Yr=sn.current)===null||Yr===void 0||Yr.call(sn)}},[dn]),s.createElement("ul",{className:h()("".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:s.createElement("li",{key:an.value,ref:function(vn){Cn.current.set(an.value,vn)},className:h()(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;Wt(an.value)}},s.createElement("div",{className:"".concat(Kr,"-inner")},an.label))}))}var Jt=At;function br(Ke,gt){for(var Xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Wt=String(Ke);Wt.length<gt;)Wt="".concat(Xt).concat(Ke);return Wt}var Lr=function(){for(var gt=arguments.length,Xt=new Array(gt),Wt=0;Wt<gt;Wt++)Xt[Wt]=arguments[Wt];return Xt};function Zr(Ke){return Ke==null?[]:Array.isArray(Ke)?Ke:[Ke]}function In(Ke){var gt={};return Object.keys(Ke).forEach(function(Xt){(Xt.substr(0,5)==="data-"||Xt.substr(0,5)==="aria-"||Xt==="role"||Xt==="name")&&Xt.substr(0,7)!=="data-__"&&(gt[Xt]=Ke[Xt])}),gt}function Gr(Ke,gt){return Ke?Ke[gt]:null}function Tr(Ke,gt,Xt){var Wt=[Gr(Ke,0),Gr(Ke,1)];return Wt[Xt]=typeof gt=="function"?gt(Wt[Xt]):gt,!Wt[0]&&!Wt[1]?null:Wt}function fr(Ke,gt){if(Ke.length!==gt.length)return!0;for(var Xt=0;Xt<Ke.length;Xt+=1)if(Ke[Xt].disabled!==gt[Xt].disabled)return!0;return!1}function vt(Ke,gt,Xt,Wt){for(var vr=[],or=Ke;or<=gt;or+=Xt)vr.push({label:br(or,2),value:or,disabled:(Wt||[]).includes(or)});return vr}function ft(Ke){var gt=Ke.generateConfig,Xt=Ke.prefixCls,Wt=Ke.operationRef,vr=Ke.activeColumnIndex,or=Ke.value,Vr=Ke.showHour,Kr=Ke.showMinute,Dr=Ke.showSecond,dn=Ke.use12Hours,on=Ke.hourStep,Cn=on===void 0?1:on,sn=Ke.minuteStep,an=sn===void 0?1:sn,Yr=Ke.secondStep,fn=Yr===void 0?1:Yr,vn=Ke.disabledHours,Ln=Ke.disabledMinutes,oi=Ke.disabledSeconds,si=Ke.hideDisabledOptions,Ni=Ke.onSelect,qn=[],Pn="".concat(Xt,"-content"),ki="".concat(Xt,"-time-panel"),ci,wi=or?gt.getHour(or):-1,fi=wi,Mi=or?gt.getMinute(or):-1,fa=or?gt.getSecond(or):-1,Wi=function(Hi,Oa,_a,la){var va=or||gt.getNow(),Fa=Math.max(0,Oa),Xa=Math.max(0,_a),co=Math.max(0,la);return va=V(gt,va,!dn||!Hi?Fa:Fa+12,Xa,co),va},ma=vt(0,23,Cn,vn&&vn()),aa=Object(Ot.a)(function(){return ma},ma,fr);dn&&(ci=fi>=12,fi%=12);var ya=s.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(D.a)(ya,2),ca=Ea[0],Ma=Ea[1],wa=s.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(f.a)(Object(f.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,Mi));Wt.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 Fa=Oa.units[(_a+Hi*va+la)%la];if(Fa.disabled!==!0){Oa.onSelect(Fa.value);break}}}};function ji(Si,Hi,Oa,_a,la){Si!==!1&&qn.push({node:s.cloneElement(Hi,{prefixCls:ki,value:Oa,active:vr===qn.length,onSelect:la,units:_a,hideDisabledOptions:si}),onSelect:la,value:Oa,units:_a})}ji(Vr,s.createElement(Jt,{key:"hour"}),fi,wa,function(Si){Ni(Wi(ci,Si,Mi,fa),"mouse")}),ji(Kr,s.createElement(Jt,{key:"minute"}),Mi,_i,function(Si){Ni(Wi(ci,fi,Si,fa),"mouse")}),ji(Dr,s.createElement(Jt,{key:"second"}),fa,xi,function(Si){Ni(Wi(ci,fi,Mi,Si),"mouse")});var Ji=-1;return typeof ci=="boolean"&&(Ji=ci?1:0),ji(dn===!0,s.createElement(Jt,{key:"12hours"}),Ji,[{label:"AM",value:0,disabled:ca},{label:"PM",value:1,disabled:Ma}],function(Si){Ni(Wi(!!Si,fi,Mi,fa),"mouse")}),s.createElement("div",{className:Pn},qn.map(function(Si){var Hi=Si.node;return Hi}))}var De=ft,je=function(gt){return gt.filter(function(Xt){return Xt!==!1}).length};function Ye(Ke){var gt=Ke.generateConfig,Xt=Ke.format,Wt=Xt===void 0?"HH:mm:ss":Xt,vr=Ke.prefixCls,or=Ke.active,Vr=Ke.operationRef,Kr=Ke.showHour,Dr=Ke.showMinute,dn=Ke.showSecond,on=Ke.use12Hours,Cn=on===void 0?!1:on,sn=Ke.onSelect,an=Ke.value,Yr="".concat(vr,"-time-panel"),fn=s.useRef(),vn=s.useState(-1),Ln=Object(D.a)(vn,2),oi=Ln[0],si=Ln[1],Ni=je([Kr,Dr,dn,Cn]);return Vr.current={onKeyDown:function(Pn){return X(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)}},s.createElement("div",{className:h()(Yr,Object(i.a)({},"".concat(Yr,"-active"),or))},s.createElement(xt,Object(p.a)({},Ke,{format:Wt,prefixCls:vr})),s.createElement(De,Object(p.a)({},Ke,{prefixCls:vr,activeColumnIndex:oi,operationRef:fn})))}var st=Ye,kt=s.createContext({}),$t=kt;function Nr(Ke){var gt=Ke.cellPrefixCls,Xt=Ke.generateConfig,Wt=Ke.rangedValue,vr=Ke.hoverRangedValue,or=Ke.isInView,Vr=Ke.isSameCell,Kr=Ke.offsetCell,Dr=Ke.today,dn=Ke.value;function on(Cn){var sn,an=Kr(Cn,-1),Yr=Kr(Cn,1),fn=Gr(Wt,0),vn=Gr(Wt,1),Ln=Gr(vr,0),oi=Gr(vr,1),si=wt(Xt,Ln,oi,Cn);function Ni(fi){return Vr(fn,fi)}function qn(fi){return Vr(vn,fi)}var Pn=Vr(Ln,Cn),ki=Vr(oi,Cn),ci=(si||ki)&&(!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"),wt(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)||wt(Xt,Ln,oi,an))),Object(i.a)(sn,"".concat(gt,"-range-end-near-hover"),qn(Cn)&&(Vr(Yr,oi)||wt(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"),ki),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(Ke){var gt=Ke.prefixCls,Xt=Ke.generateConfig,Wt=Ke.prefixColumn,vr=Ke.locale,or=Ke.rowCount,Vr=Ke.viewDate,Kr=Ke.value,Dr=Ke.dateRender,dn=s.useContext($t),on=dn.rangedValue,Cn=dn.hoverRangedValue,sn=rt(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):[]);Wt&&vn.push(s.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var oi=0;oi<bt;oi+=1)vn.push(s.createElement("th",{key:oi},Ln[(oi+Yr)%bt]));var si=Nr({cellPrefixCls:an,today:fn,value:Kr,generateConfig:Xt,rangedValue:Wt?null:on,hoverRangedValue:Wt?null:Cn,isSameCell:function(Pn,ki){return we(Xt,Pn,ki)},isInView:function(Pn){return Y(Xt,Pn,Vr)},offsetCell:function(Pn,ki){return Xt.addDate(Pn,ki)}}),Ni=Dr?function(qn){return Dr(qn,fn)}:void 0;return s.createElement($,Object(p.a)({},Ke,{rowNum:or,colNum:bt,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(Ke){var gt=Ke.prefixCls,Xt=Ke.generateConfig,Wt=Ke.locale,vr=Ke.viewDate,or=Ke.onNextMonth,Vr=Ke.onPrevMonth,Kr=Ke.onNextYear,Dr=Ke.onPrevYear,dn=Ke.onYearClick,on=Ke.onMonthClick,Cn=s.useContext(R),sn=Cn.hideHeader;if(sn)return null;var an="".concat(gt,"-header"),Yr=Wt.shortMonths||(Xt.locale.getShortMonths?Xt.locale.getShortMonths(Wt.locale):[]),fn=Xt.getMonth(vr),vn=s.createElement("button",{type:"button",key:"year",onClick:dn,tabIndex:-1,className:"".concat(gt,"-year-btn")},Gt(vr,{locale:Wt,format:Wt.yearFormat,generateConfig:Xt})),Ln=s.createElement("button",{type:"button",key:"month",onClick:on,tabIndex:-1,className:"".concat(gt,"-month-btn")},Wt.monthFormat?Gt(vr,{locale:Wt,format:Wt.monthFormat,generateConfig:Xt}):Yr[fn]),oi=Wt.monthBeforeYear?[Ln,vn]:[vn,Ln];return s.createElement(K,Object(p.a)({},Ke,{prefixCls:an,onSuperPrev:Dr,onPrev:Vr,onNext:or,onSuperNext:Kr}),oi)}var St=Kt,Mt=6;function Zt(Ke){var gt=Ke.prefixCls,Xt=Ke.panelName,Wt=Xt===void 0?"date":Xt,vr=Ke.keyboardConfig,or=Ke.active,Vr=Ke.operationRef,Kr=Ke.generateConfig,Dr=Ke.value,dn=Ke.viewDate,on=Ke.onViewDateChange,Cn=Ke.onPanelChange,sn=Ke.onSelect,an="".concat(gt,"-").concat(Wt,"-panel");Vr.current={onKeyDown:function(Ln){return X(Ln,Object(f.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*bt),"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 s.createElement("div",{className:h()(an,Object(i.a)({},"".concat(an,"-active"),or))},s.createElement(St,Object(p.a)({},Ke,{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)}})),s.createElement(un,Object(p.a)({},Ke,{onSelect:function(Ln){return sn(Ln,"mouse")},prefixCls:gt,value:Dr,viewDate:dn,rowCount:Mt})))}var kr=Zt,Hr=Lr("date","time");function $r(Ke){var gt=Ke.prefixCls,Xt=Ke.operationRef,Wt=Ke.generateConfig,vr=Ke.value,or=Ke.defaultValue,Vr=Ke.disabledTime,Kr=Ke.showTime,Dr=Ke.onSelect,dn="".concat(gt,"-datetime-panel"),on=s.useState(null),Cn=Object(D.a)(on,2),sn=Cn[0],an=Cn[1],Yr=s.useRef({}),fn=s.useRef({}),vn=Object(N.a)(Kr)==="object"?Object(f.a)({},Kr):{};function Ln(qn){var Pn=Hr.indexOf(sn)+qn,ki=Hr[Pn]||null;return ki}var oi=function(Pn){fn.current.onBlur&&fn.current.onBlur(Pn),an(null)};Xt.current={onKeyDown:function(Pn){if(Pn.which===k.a.TAB){var ki=Ln(Pn.shiftKey?-1:1);return an(ki),ki&&Pn.preventDefault(),!0}if(sn){var ci=sn==="date"?Yr:fn;return ci.current&&ci.current.onKeyDown&&ci.current.onKeyDown(Pn),!0}return[k.a.LEFT,k.a.RIGHT,k.a.UP,k.a.DOWN].includes(Pn.which)?(an("date"),!0):!1},onBlur:oi,onClose:oi};var si=function(Pn,ki){var ci=Pn;ki==="date"&&!vr&&vn.defaultValue?(ci=Wt.setHour(ci,Wt.getHour(vn.defaultValue)),ci=Wt.setMinute(ci,Wt.getMinute(vn.defaultValue)),ci=Wt.setSecond(ci,Wt.getSecond(vn.defaultValue))):ki==="time"&&!vr&&or&&(ci=Wt.setYear(ci,Wt.getYear(or)),ci=Wt.setMonth(ci,Wt.getMonth(or)),ci=Wt.setDate(ci,Wt.getDate(or))),Dr&&Dr(ci,"mouse")},Ni=Vr?Vr(vr||null):{};return s.createElement("div",{className:h()(dn,Object(i.a)({},"".concat(dn,"-active"),sn))},s.createElement(kr,Object(p.a)({},Ke,{operationRef:Yr,active:sn==="date",onSelect:function(Pn){si(J(Wt,Pn,Kr&&Object(N.a)(Kr)==="object"?Kr.defaultValue:null),"date")}})),s.createElement(st,Object(p.a)({},Ke,{format:void 0},vn,Ni,{defaultValue:void 0,operationRef:fn,active:sn==="time",onSelect:function(Pn){si(Pn,"time")}})))}var Bt=$r;function cr(Ke){var gt=Ke.prefixCls,Xt=Ke.generateConfig,Wt=Ke.locale,vr=Ke.value,or="".concat(gt,"-cell"),Vr=function(on){return s.createElement("td",{key:"week",className:h()(or,"".concat(or,"-week"))},Xt.locale.getWeek(Wt.locale,on))},Kr="".concat(gt,"-week-panel-row"),Dr=function(on){return h()(Kr,Object(i.a)({},"".concat(Kr,"-selected"),le(Xt,Wt.locale,vr,on)))};return s.createElement(kr,Object(p.a)({},Ke,{panelName:"week",prefixColumn:Vr,rowClassName:Dr,keyboardConfig:{onLeftRight:null}}))}var Cr=cr;function Br(Ke){var gt=Ke.prefixCls,Xt=Ke.generateConfig,Wt=Ke.locale,vr=Ke.viewDate,or=Ke.onNextYear,Vr=Ke.onPrevYear,Kr=Ke.onYearClick,Dr=s.useContext(R),dn=Dr.hideHeader;if(dn)return null;var on="".concat(gt,"-header");return s.createElement(K,Object(p.a)({},Ke,{prefixCls:on,onSuperPrev:Vr,onSuperNext:or}),s.createElement("button",{type:"button",onClick:Kr,className:"".concat(gt,"-year-btn")},Gt(vr,{locale:Wt,format:Wt.yearFormat,generateConfig:Xt})))}var zr=Br,An=3,bn=4;function Sn(Ke){var gt=Ke.prefixCls,Xt=Ke.locale,Wt=Ke.value,vr=Ke.viewDate,or=Ke.generateConfig,Vr=Ke.monthCellRender,Kr=s.useContext($t),Dr=Kr.rangedValue,dn=Kr.hoverRangedValue,on="".concat(gt,"-cell"),Cn=Nr({cellPrefixCls:on,value:Wt,generateConfig:or,rangedValue:Dr,hoverRangedValue:dn,isSameCell:function(vn,Ln){return Y(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 s.createElement($,Object(p.a)({},Ke,{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 Mn=Sn;function ei(Ke){var gt=Ke.prefixCls,Xt=Ke.operationRef,Wt=Ke.onViewDateChange,vr=Ke.generateConfig,or=Ke.value,Vr=Ke.viewDate,Kr=Ke.onPanelChange,Dr=Ke.onSelect,dn="".concat(gt,"-month-panel");Xt.current={onKeyDown:function(sn){return X(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);Wt(an),Kr(null,an)};return s.createElement("div",{className:dn},s.createElement(zr,Object(p.a)({},Ke,{prefixCls:gt,onPrevYear:function(){on(-1)},onNextYear:function(){on(1)},onYearClick:function(){Kr("year",Vr)}})),s.createElement(Mn,Object(p.a)({},Ke,{prefixCls:gt,onSelect:function(sn){Dr(sn,"mouse"),Kr("date",sn)}})))}var Zn=ei;function ai(Ke){var gt=Ke.prefixCls,Xt=Ke.generateConfig,Wt=Ke.locale,vr=Ke.viewDate,or=Ke.onNextYear,Vr=Ke.onPrevYear,Kr=Ke.onYearClick,Dr=s.useContext(R),dn=Dr.hideHeader;if(dn)return null;var on="".concat(gt,"-header");return s.createElement(K,Object(p.a)({},Ke,{prefixCls:on,onSuperPrev:Vr,onSuperNext:or}),s.createElement("button",{type:"button",onClick:Kr,className:"".concat(gt,"-year-btn")},Gt(vr,{locale:Wt,format:Wt.yearFormat,generateConfig:Xt})))}var ii=ai,$e=4,Te=1;function ke(Ke){var gt=Ke.prefixCls,Xt=Ke.locale,Wt=Ke.value,vr=Ke.viewDate,or=Ke.generateConfig,Vr=s.useContext($t),Kr=Vr.rangedValue,Dr=Vr.hoverRangedValue,dn="".concat(gt,"-cell"),on=Nr({cellPrefixCls:dn,value:Wt,generateConfig:or,rangedValue:Kr,hoverRangedValue:Dr,isSameCell:function(an,Yr){return ie(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 s.createElement($,Object(p.a)({},Ke,{rowNum:Te,colNum:$e,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 Me=ke;function Ze(Ke){var gt=Ke.prefixCls,Xt=Ke.operationRef,Wt=Ke.onViewDateChange,vr=Ke.generateConfig,or=Ke.value,Vr=Ke.viewDate,Kr=Ke.onPanelChange,Dr=Ke.onSelect,dn="".concat(gt,"-quarter-panel");Xt.current={onKeyDown:function(sn){return X(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);Wt(an),Kr(null,an)};return s.createElement("div",{className:dn},s.createElement(ii,Object(p.a)({},Ke,{prefixCls:gt,onPrevYear:function(){on(-1)},onNextYear:function(){on(1)},onYearClick:function(){Kr("year",Vr)}})),s.createElement(Me,Object(p.a)({},Ke,{prefixCls:gt,onSelect:function(sn){Dr(sn,"mouse")}})))}var Xe=Ze;function qe(Ke){var gt=Ke.prefixCls,Xt=Ke.generateConfig,Wt=Ke.viewDate,vr=Ke.onPrevDecade,or=Ke.onNextDecade,Vr=Ke.onDecadeClick,Kr=s.useContext(R),Dr=Kr.hideHeader;if(Dr)return null;var dn="".concat(gt,"-header"),on=Xt.getYear(Wt),Cn=Math.floor(on/ir)*ir,sn=Cn+ir-1;return s.createElement(K,Object(p.a)({},Ke,{prefixCls:dn,onSuperPrev:vr,onSuperNext:or}),s.createElement("button",{type:"button",onClick:Vr,className:"".concat(gt,"-decade-btn")},Cn,"-",sn))}var mt=qe,ht=3,Vt=4;function dr(Ke){var gt=Ke.prefixCls,Xt=Ke.value,Wt=Ke.viewDate,vr=Ke.locale,or=Ke.generateConfig,Vr=s.useContext($t),Kr=Vr.rangedValue,Dr=Vr.hoverRangedValue,dn="".concat(gt,"-cell"),on=or.getYear(Wt),Cn=Math.floor(on/ir)*ir,sn=Cn+ir-1,an=or.setYear(Wt,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 Nt(or,Ln,oi)},isInView:Yr,offsetCell:function(Ln,oi){return or.addYear(Ln,oi)}});return s.createElement($,Object(p.a)({},Ke,{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(Ke){var gt=Ke.prefixCls,Xt=Ke.operationRef,Wt=Ke.onViewDateChange,vr=Ke.generateConfig,or=Ke.value,Vr=Ke.viewDate,Kr=Ke.sourceMode,Dr=Ke.onSelect,dn=Ke.onPanelChange,on="".concat(gt,"-year-panel");Xt.current={onKeyDown:function(an){return X(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);Wt(Yr),dn(null,Yr)};return s.createElement("div",{className:on},s.createElement(mt,Object(p.a)({},Ke,{prefixCls:gt,onPrevDecade:function(){Cn(-1)},onNextDecade:function(){Cn(1)},onDecadeClick:function(){dn("decade",Vr)}})),s.createElement(tr,Object(p.a)({},Ke,{prefixCls:gt,onSelect:function(an){dn(Kr==="date"?"date":"month",an),Dr(an,"mouse")}})))}var gr=_t;function jt(Ke,gt,Xt){return Xt?s.createElement("div",{className:"".concat(Ke,"-footer-extra")},Xt(gt)):null}function Sr(Ke){var gt=Ke.prefixCls,Xt=Ke.rangeList,Wt=Xt===void 0?[]:Xt,vr=Ke.components,or=vr===void 0?{}:vr,Vr=Ke.needConfirmButton,Kr=Ke.onNow,Dr=Ke.onOk,dn=Ke.okDisabled,on=Ke.showNow,Cn=Ke.locale,sn,an;if(Wt.length){var Yr=or.rangeItem||"span";sn=s.createElement(s.Fragment,null,Wt.map(function(vn){var Ln=vn.label,oi=vn.onClick,si=vn.onMouseEnter,Ni=vn.onMouseLeave;return s.createElement("li",{key:Ln,className:"".concat(gt,"-preset")},s.createElement(Yr,{onClick:oi,onMouseEnter:si,onMouseLeave:Ni},Ln))}))}if(Vr){var fn=or.button||"button";Kr&&!sn&&on!==!1&&(sn=s.createElement("li",{className:"".concat(gt,"-now")},s.createElement("a",{className:"".concat(gt,"-now-btn"),onClick:Kr},Cn.now))),an=Vr&&s.createElement("li",{className:"".concat(gt,"-ok")},s.createElement(fn,{disabled:dn,onClick:Dr},Cn.ok))}return!sn&&!an?null:s.createElement("ul",{className:"".concat(gt,"-ranges")},sn,an)}function Ar(Ke){var gt,Xt=Ke.prefixCls,Wt=Xt===void 0?"rc-picker":Xt,vr=Ke.className,or=Ke.style,Vr=Ke.locale,Kr=Ke.generateConfig,Dr=Ke.value,dn=Ke.defaultValue,on=Ke.pickerValue,Cn=Ke.defaultPickerValue,sn=Ke.disabledDate,an=Ke.mode,Yr=Ke.picker,fn=Yr===void 0?"date":Yr,vn=Ke.tabIndex,Ln=vn===void 0?0:vn,oi=Ke.showNow,si=Ke.showTime,Ni=Ke.showToday,qn=Ke.renderExtraFooter,Pn=Ke.hideHeader,ki=Ke.onSelect,ci=Ke.onChange,wi=Ke.onPanelChange,fi=Ke.onMouseDown,Mi=Ke.onPickerValueChange,fa=Ke.onOk,Wi=Ke.components,ma=Ke.direction,aa=Ke.hourStep,ya=aa===void 0?1:aa,Ea=Ke.minuteStep,ca=Ea===void 0?1:Ea,Ma=Ke.secondStep,wa=Ma===void 0?1:Ma,_i=fn==="date"&&!!si||fn==="time",xi=24%ya===0,ji=60%ca===0,Ji=60%wa===0,Si=s.useContext(R),Hi=Si.operationRef,Oa=Si.panelRef,_a=Si.onSelect,la=Si.hideRanges,va=Si.defaultOpenValue,Fa=s.useContext($t),Xa=Fa.inRange,co=Fa.panelPosition,so=Fa.rangedValue,Ao=Fa.hoverRangedValue,io=s.useRef({}),pa=s.useRef(!0),ga=Object(B.a)(null,{value:Dr,defaultValue:dn,postState:function(Ci){return!Ci&&va&&fn==="time"?va:Ci}}),ba=Object(D.a)(ga,2),Oi=ba[0],Ba=ba[1],vo=Object(B.a)(null,{value:on,defaultValue:Cn||Oi,postState:function(Ci){var Sa=Kr.getNow();return Ci?!Oi&&si?Object(N.a)(si)==="object"?J(Kr,Array.isArray(Ci)?Ci[0]:Ci,si.defaultValue||Sa):dn?J(Kr,Array.isArray(Ci)?Ci[0]:Ci,dn):J(Kr,Array.isArray(Ci)?Ci[0]:Ci,Sa):Ci:Sa}}),os=Object(D.a)(vo,2),Va=os[0],ao=os[1],Ga=function(Ci){ao(Ci),Mi&&Mi(Ci)},yo=function(Ci){var Sa=tt[fn];return Sa?Sa(Ci):Ci},fo=Object(B.a)(function(){return fn==="time"?"time":yo("date")},{value:an}),es=Object(D.a)(fo,2),To=es[0],po=es[1];s.useEffect(function(){po(fn)},[fn]);var Io=s.useState(function(){return To}),Wo=Object(D.a)(Io,2),ns=Wo[0],Po=Wo[1],Aa=function(Ci,Sa){var bo=yo(Ci||To);Po(To),po(bo),wi&&(To!==bo||ot(Kr,Va,Va))&&wi(Sa,bo)},Za=function(Ci,Sa){var bo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(To===fn||bo)&&(Ba(Ci),ki&&ki(Ci),_a&&_a(Ci,Sa),ci&&!ot(Kr,Ci,Oi)&&!(sn==null?void 0:sn(Ci))&&ci(Ci))},ka=function(Ci){return io.current&&io.current.onKeyDown?([k.a.LEFT,k.a.RIGHT,k.a.UP,k.a.DOWN,k.a.PAGE_UP,k.a.PAGE_DOWN,k.a.ENTER].includes(Ci.which)&&Ci.preventDefault(),io.current.onKeyDown(Ci)):(Object(b.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:ka,onClose:function(){io.current&&io.current.onClose&&io.current.onClose()}}),s.useEffect(function(){Dr&&!pa.current&&ao(Dr)},[Dr]),s.useEffect(function(){pa.current=!1},[]);var uo,Ha=Object(f.a)(Object(f.a)({},Ke),{},{operationRef:io,prefixCls:Wt,viewDate:Va,value:Oi,onViewDateChange:Ga,sourceMode:ns,onPanelChange:Aa,disabledDate:sn});delete Ha.onChange,delete Ha.onSelect;switch(To){case"decade":uo=s.createElement(nt,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Za(Ci,Sa)}}));break;case"year":uo=s.createElement(gr,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Za(Ci,Sa)}}));break;case"month":uo=s.createElement(Zn,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Za(Ci,Sa)}}));break;case"quarter":uo=s.createElement(Xe,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Za(Ci,Sa)}}));break;case"week":uo=s.createElement(Cr,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Za(Ci,Sa)}}));break;case"time":delete Ha.showTime,uo=s.createElement(st,Object(p.a)({},Ha,Object(N.a)(si)==="object"?si:null,{onSelect:function(Ci,Sa){Ga(Ci),Za(Ci,Sa)}}));break;default:si?uo=s.createElement(Bt,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Za(Ci,Sa)}})):uo=s.createElement(kr,Object(p.a)({},Ha,{onSelect:function(Ci,Sa){Ga(Ci),Za(Ci,Sa)}}))}var Yi,Qa,Fo=function(){var Ci=Kr.getNow(),Sa=ae(Kr.getHour(Ci),Kr.getMinute(Ci),Kr.getSecond(Ci),xi?ya:1,ji?ca:1,Ji?wa:1),bo=V(Kr,Ci,Sa[0],Sa[1],Sa[2]);Za(bo,"submit")};la||(Yi=jt(Wt,To,qn),Qa=Sr({prefixCls:Wt,components:Wi,needConfirmButton:_i,okDisabled:!Oi||sn&&sn(Oi),locale:Vr,showNow:oi,onNow:_i&&Fo,onOk:function(){Oi&&(Za(Oi,"submit",!0),fa&&fa(Oi))}}));var Qo;if(Ni&&To==="date"&&fn==="date"&&!si){var Zo=Kr.getNow(),ua="".concat(Wt,"-today-btn"),Ya=sn&&sn(Zo);Qo=s.createElement("a",{className:h()(ua,Ya&&"".concat(ua,"-disabled")),"aria-disabled":Ya,onClick:function(){Ya||Za(Zo,"mouse",!0)}},Vr.today)}return s.createElement(R.Provider,{value:Object(f.a)(Object(f.a)({},Si),{},{mode:To,hideHeader:"hideHeader"in Ke?Pn:Si.hideHeader,hidePrevBtn:Xa&&co==="right",hideNextBtn:Xa&&co==="left"})},s.createElement("div",{tabIndex:Ln,className:h()("".concat(Wt,"-panel"),vr,(gt={},Object(i.a)(gt,"".concat(Wt,"-panel-has-range"),so&&so[0]&&so[1]),Object(i.a)(gt,"".concat(Wt,"-panel-has-range-hover"),Ao&&Ao[0]&&Ao[1]),Object(i.a)(gt,"".concat(Wt,"-panel-rtl"),ma==="rtl"),gt)),style:or,onKeyDown:ka,onBlur:$i,onMouseDown:fi,ref:Oa},uo,Yi||Qa||Qo?s.createElement("div",{className:"".concat(Wt,"-footer")},Yi,Qa,Qo):null))}var sr=Ar,ln=d("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 zn(Ke){var gt,Xt=Ke.prefixCls,Wt=Ke.popupElement,vr=Ke.popupStyle,or=Ke.visible,Vr=Ke.dropdownClassName,Kr=Ke.dropdownAlign,Dr=Ke.transitionName,dn=Ke.getPopupContainer,on=Ke.children,Cn=Ke.range,sn=Ke.popupPlacement,an=Ke.direction,Yr="".concat(Xt,"-dropdown"),fn=function(){return sn!==void 0?sn:an==="rtl"?"bottomRight":"bottomLeft"};return s.createElement(ln.a,{showAction:[],hideAction:[],popupPlacement:fn(),builtinPlacements:_n,prefixCls:Yr,popupTransitionName:Dr,popup:Wt,popupAlign:Kr,popupVisible:or,popupClassName:h()(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=zn;function Fn(Ke){var gt=Ke.open,Xt=Ke.value,Wt=Ke.isClickOutside,vr=Ke.triggerOpen,or=Ke.forwardKeyDown,Vr=Ke.onKeyDown,Kr=Ke.blurToCancel,Dr=Ke.onSubmit,dn=Ke.onCancel,on=Ke.onFocus,Cn=Ke.onBlur,sn=Object(s.useState)(!1),an=Object(D.a)(sn,2),Yr=an[0],fn=an[1],vn=Object(s.useState)(!1),Ln=Object(D.a)(vn,2),oi=Ln[0],si=Ln[1],Ni=Object(s.useRef)(!1),qn=Object(s.useRef)(!1),Pn=Object(s.useRef)(!1),ki={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 k.a.ENTER:{gt?Dr()!==!1&&fn(!0):vr(!0),wi.preventDefault();return}case k.a.TAB:{Yr&>&&!wi.shiftKey?(fn(!1),wi.preventDefault()):!Yr&>&&(!or(wi)&&wi.shiftKey&&(fn(!0),wi.preventDefault()));return}case k.a.ESC:{fn(!0),dn();return}}!gt&&![k.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||!Wt(document.activeElement)){Ni.current=!1;return}Kr?setTimeout(function(){for(var fi=document,Mi=fi.activeElement;Mi&&Mi.shadowRoot;)Mi=Mi.shadowRoot.activeElement;Wt(Mi)&&dn()},0):gt&&(vr(!1),qn.current&&Dr()),si(!1),Cn&&Cn(wi)}};return Object(s.useEffect)(function(){qn.current=!1},[gt]),Object(s.useEffect)(function(){qn.current=!0},[Xt]),Object(s.useEffect)(function(){return Ae(function(ci){var wi=Ne(ci);if(gt){var fi=Wt(wi);fi?(!oi||fi)&&vr(!1):(Ni.current=!0,requestAnimationFrame(function(){Ni.current=!1}))}})}),[ki,{focused:oi,typing:Yr}]}function Gn(Ke){var gt=Ke.valueTexts,Xt=Ke.onTextChange,Wt=s.useState(""),vr=Object(D.a)(Wt,2),or=vr[0],Vr=vr[1],Kr=s.useRef([]);Kr.current=gt;function Dr(on){Vr(on),Xt(on)}function dn(){Vr(Kr.current[0])}return s.useEffect(function(){gt.every(function(on){return on!==or})&&dn()},[gt.join("||")]),[or,Dr,dn]}var xn=d("Gytx"),mi=d.n(xn);function rn(Ke,gt){var Xt=gt.formatList,Wt=gt.generateConfig,vr=gt.locale;return Object(Ot.a)(function(){if(!Ke)return[[""],""];for(var or="",Vr=[],Kr=0;Kr<Xt.length;Kr+=1){var Dr=Xt[Kr],dn=Gt(Ke,{generateConfig:Wt,locale:vr,format:Dr});Vr.push(dn),Kr===0&&(or=dn)}return[Vr,or]},[Ke,Xt],function(or,Vr){return or[0]!==Vr[0]||!mi()(or[1],Vr[1])})}function Ur(Ke,gt){var Xt=gt.formatList,Wt=gt.generateConfig,vr=gt.locale,or=Object(s.useState)(null),Vr=Object(D.a)(or,2),Kr=Vr[0],Dr=Vr[1],dn=Object(s.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:Wt,locale:vr}),sn=Object(D.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(s.useEffect)(function(){fn(!0)},[Ke]),Object(s.useEffect)(function(){return function(){return cancelAnimationFrame(dn.current)}},[]),[an,Yr,fn]}function cn(Ke){var gt,Xt=Ke.prefixCls,Wt=Xt===void 0?"rc-picker":Xt,vr=Ke.id,or=Ke.tabIndex,Vr=Ke.style,Kr=Ke.className,Dr=Ke.dropdownClassName,dn=Ke.dropdownAlign,on=Ke.popupStyle,Cn=Ke.transitionName,sn=Ke.generateConfig,an=Ke.locale,Yr=Ke.inputReadOnly,fn=Ke.allowClear,vn=Ke.autoFocus,Ln=Ke.showTime,oi=Ke.picker,si=oi===void 0?"date":oi,Ni=Ke.format,qn=Ke.use12Hours,Pn=Ke.value,ki=Ke.defaultValue,ci=Ke.open,wi=Ke.defaultOpen,fi=Ke.defaultOpenValue,Mi=Ke.suffixIcon,fa=Ke.clearIcon,Wi=Ke.disabled,ma=Ke.disabledDate,aa=Ke.placeholder,ya=Ke.getPopupContainer,Ea=Ke.pickerRef,ca=Ke.panelRender,Ma=Ke.onChange,wa=Ke.onOpenChange,_i=Ke.onFocus,xi=Ke.onBlur,ji=Ke.onMouseDown,Ji=Ke.onMouseUp,Si=Ke.onMouseEnter,Hi=Ke.onMouseLeave,Oa=Ke.onContextMenu,_a=Ke.onClick,la=Ke.onKeyDown,va=Ke.onSelect,Fa=Ke.direction,Xa=Ke.autoComplete,co=Xa===void 0?"off":Xa,so=s.useRef(null),Ao=si==="date"&&!!Ln||si==="time",io=Zr(z(Ni,si,Ln,qn)),pa=s.useRef(null),ga=s.useRef(null),ba=s.useRef(null),Oi=Object(B.a)(null,{value:Pn,defaultValue:ki}),Ba=Object(D.a)(Oi,2),vo=Ba[0],os=Ba[1],Va=s.useState(vo),ao=Object(D.a)(Va,2),Ga=ao[0],yo=ao[1],fo=s.useRef(null),es=Object(B.a)(!1,{value:ci,defaultValue:wi,postState:function(Pa){return Wi?!1:Pa},onChange:function(Pa){wa&&wa(Pa),!Pa&&fo.current&&fo.current.onClose&&fo.current.onClose()}}),To=Object(D.a)(es,2),po=To[0],Io=To[1],Wo=rn(Ga,{formatList:io,generateConfig:sn,locale:an}),ns=Object(D.a)(Wo,2),Po=ns[0],Aa=ns[1],Za=Gn({valueTexts:Po,onTextChange:function(Pa){var Xo=lr(Pa,{locale:an,formatList:io,generateConfig:sn});Xo&&(!ma||!ma(Xo))&&yo(Xo)}}),ka=Object(D.a)(Za,3),$i=ka[0],uo=ka[1],Ha=ka[2],Yi=function(Pa){yo(Pa),os(Pa),Ma&&!ot(sn,vo,Pa)&&Ma(Pa,Pa?Gt(Pa,{generateConfig:sn,locale:an,format:io[0]}):"")},Qa=function(Pa){if(Wi&&Pa)return;Io(Pa)},Fo=function(Pa){return po&&fo.current&&fo.current.onKeyDown?fo.current.onKeyDown(Pa):(Object(b.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Qo=function(){Ji&&Ji.apply(void 0,arguments),so.current&&(so.current.focus(),Qa(!0))},Zo=Fn({blurToCancel:Ao,open:po,value:$i,triggerOpen:Qa,forwardKeyDown:Fo,isClickOutside:function(Pa){return!Je([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(D.a)(Zo,2),Ya=ua[0],lo=ua[1],Ci=lo.focused,Sa=lo.typing;s.useEffect(function(){po||(yo(vo),!Po.length||Po[0]===""?uo(""):Aa!==$i&&Ha())},[po,Po]),s.useEffect(function(){po||Ha()},[si]),s.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}),Bo=Object(D.a)(bo,3),Oo=Bo[0],gs=Bo[1],ds=Bo[2],hs=Object(f.a)(Object(f.a)({},Ke),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),ss=s.createElement(sr,Object(p.a)({},hs,{generateConfig:sn,className:h()(Object(i.a)({},"".concat(Wt,"-panel-focused"),!Sa)),value:Ga,locale:an,tabIndex:-1,onSelect:function(Pa){va==null||va(Pa),yo(Pa)},direction:Fa,onPanelChange:function(Pa,Xo){var Uo=Ke.onPanelChange;ds(!0),Uo==null||Uo(Pa,Xo)}}));ca&&(ss=ca(ss));var $a=s.createElement("div",{className:"".concat(Wt,"-panel-container"),onMouseDown:function(Pa){Pa.preventDefault()}},ss),Na;Mi&&(Na=s.createElement("span",{className:"".concat(Wt,"-suffix")},Mi));var Vo;fn&&vo&&!Wi&&(Vo=s.createElement("span",{onMouseDown:function(Pa){Pa.preventDefault(),Pa.stopPropagation()},onMouseUp:function(Pa){Pa.preventDefault(),Pa.stopPropagation(),Yi(null),Qa(!1)},className:"".concat(Wt,"-clear"),role:"button"},fa||s.createElement("span",{className:"".concat(Wt,"-clear-btn")})));var Jo=function(Pa,Xo){(Xo==="submit"||Xo!=="key"&&!Ao)&&(Yi(Pa),Qa(!1))},Da=Fa==="rtl"?"bottomRight":"bottomLeft";return s.createElement(R.Provider,{value:{operationRef:fo,hideHeader:si==="time",panelRef:pa,onSelect:Jo,open:po,defaultOpenValue:fi,onDateMouseEnter:gs,onDateMouseLeave:ds}},s.createElement(Nn,{visible:po,popupElement:$a,popupStyle:on,prefixCls:Wt,dropdownClassName:Dr,dropdownAlign:dn,getPopupContainer:ya,transitionName:Cn,popupPlacement:Da,direction:Fa},s.createElement("div",{ref:ba,className:h()(Wt,Kr,(gt={},Object(i.a)(gt,"".concat(Wt,"-disabled"),Wi),Object(i.a)(gt,"".concat(Wt,"-focused"),Ci),Object(i.a)(gt,"".concat(Wt,"-rtl"),Fa==="rtl"),gt)),style:Vr,onMouseDown:ji,onMouseUp:Qo,onMouseEnter:Si,onMouseLeave:Hi,onContextMenu:Oa,onClick:_a},s.createElement("div",{className:h()("".concat(Wt,"-input"),Object(i.a)({},"".concat(Wt,"-input-placeholder"),!!Oo)),ref:ga},s.createElement("input",Object(p.a)({id:vr,tabIndex:or,disabled:Wi,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:Z(si,io[0],sn)},In(Ke),{autoComplete:co})),Na,Vo))))}var Qr=function(Ke){Object(t.a)(Xt,Ke);var gt=Object(a.a)(Xt);function Xt(){var Wt;return Object(n.a)(this,Xt),Wt=gt.apply(this,arguments),Wt.pickerRef=s.createRef(),Wt.focus=function(){Wt.pickerRef.current&&Wt.pickerRef.current.focus()},Wt.blur=function(){Wt.pickerRef.current&&Wt.pickerRef.current.blur()},Wt}return Object(l.a)(Xt,[{key:"render",value:function(){return s.createElement(cn,Object(p.a)({},this.props,{pickerRef:this.pickerRef}))}}]),Xt}(s.Component),Vn=Qr;function Hn(Ke,gt,Xt){var Wt=Ke.picker,vr=Ke.locale,or=Ke.selectedValue,Vr=Ke.disabledDate,Kr=Ke.disabled,Dr=Ke.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=Ge(Dr,vn);return Ln*10+oi}var Yr=s.useCallback(function(vn){if(Vr&&Vr(vn))return!0;if(Kr[1]&&on)return!we(Dr,vn,on)&&Dr.isAfter(vn,on);if(gt&&on)switch(Wt){case"quarter":return an(vn)>an(on);case"month":return sn(vn)>sn(on);case"week":return Cn(vn)>Cn(on);default:return!we(Dr,vn,on)&&Dr.isAfter(vn,on)}return!1},[Vr,Kr[1],on,gt]),fn=s.useCallback(function(vn){if(Vr&&Vr(vn))return!0;if(Kr[0]&&dn)return!we(Dr,vn,on)&&Dr.isAfter(dn,vn);if(Xt&&dn)switch(Wt){case"quarter":return an(vn)<an(dn);case"month":return sn(vn)<sn(dn);case"week":return Cn(vn)<Cn(dn);default:return!we(Dr,vn,dn)&&Dr.isAfter(dn,vn)}return!1},[Vr,Kr[0],dn,Xt]);return[Yr,fn]}function li(Ke,gt,Xt,Wt){var vr=It(Ke,Xt,Wt,1);function or(Vr){return Vr(Ke,gt)?"same":Vr(vr,gt)?"closing":"far"}switch(Xt){case"year":return or(function(Vr,Kr){return Ct(Wt,Vr,Kr)});case"quarter":case"month":return or(function(Vr,Kr){return Nt(Wt,Vr,Kr)});default:return or(function(Vr,Kr){return Y(Wt,Vr,Kr)})}}function Un(Ke,gt,Xt,Wt){var vr=Gr(Ke,0),or=Gr(Ke,1);if(gt===0)return vr;if(vr&&or){var Vr=li(vr,or,Xt,Wt);switch(Vr){case"same":return vr;case"closing":return vr;default:return It(or,Xt,Wt,-1)}}return vr}function gi(Ke){var gt=Ke.values,Xt=Ke.picker,Wt=Ke.defaultDates,vr=Ke.generateConfig,or=s.useState(function(){return[Gr(Wt,0),Gr(Wt,1)]}),Vr=Object(D.a)(or,2),Kr=Vr[0],Dr=Vr[1],dn=s.useState(null),on=Object(D.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 kn(Ke,gt){return Ke&&Ke[0]&&Ke[1]&>.isAfter(Ke[0],Ke[1])?[Ke[1],Ke[0]]:Ke}function di(Ke,gt,Xt,Wt){return Ke||Wt&&Wt[gt]?!0:!!Xt[(gt+1)%2]}function qr(Ke){var gt,Xt,Wt,vr=Ke.prefixCls,or=vr===void 0?"rc-picker":vr,Vr=Ke.id,Kr=Ke.style,Dr=Ke.className,dn=Ke.popupStyle,on=Ke.dropdownClassName,Cn=Ke.transitionName,sn=Ke.dropdownAlign,an=Ke.getPopupContainer,Yr=Ke.generateConfig,fn=Ke.locale,vn=Ke.placeholder,Ln=Ke.autoFocus,oi=Ke.disabled,si=Ke.format,Ni=Ke.picker,qn=Ni===void 0?"date":Ni,Pn=Ke.showTime,ki=Ke.use12Hours,ci=Ke.separator,wi=ci===void 0?"~":ci,fi=Ke.value,Mi=Ke.defaultValue,fa=Ke.defaultPickerValue,Wi=Ke.open,ma=Ke.defaultOpen,aa=Ke.disabledDate,ya=Ke.disabledTime,Ea=Ke.dateRender,ca=Ke.panelRender,Ma=Ke.ranges,wa=Ke.allowEmpty,_i=Ke.allowClear,xi=Ke.suffixIcon,ji=Ke.clearIcon,Ji=Ke.pickerRef,Si=Ke.inputReadOnly,Hi=Ke.mode,Oa=Ke.renderExtraFooter,_a=Ke.onChange,la=Ke.onOpenChange,va=Ke.onPanelChange,Fa=Ke.onCalendarChange,Xa=Ke.onFocus,co=Ke.onBlur,so=Ke.onMouseEnter,Ao=Ke.onMouseLeave,io=Ke.onOk,pa=Ke.onKeyDown,ga=Ke.components,ba=Ke.order,Oi=Ke.direction,Ba=Ke.activePickerIndex,vo=Ke.autoComplete,os=vo===void 0?"off":vo,Va=qn==="date"&&!!Pn||qn==="time",ao=Object(s.useRef)({}),Ga=Object(s.useRef)(null),yo=Object(s.useRef)(null),fo=Object(s.useRef)(null),es=Object(s.useRef)(null),To=Object(s.useRef)(null),po=Object(s.useRef)(null),Io=Object(s.useRef)(null),Wo=Zr(z(si,qn,Pn,ki)),ns=Object(B.a)(0,{value:Ba}),Po=Object(D.a)(ns,2),Aa=Po[0],Za=Po[1],ka=Object(s.useRef)(null),$i=s.useMemo(function(){return Array.isArray(oi)?oi:[oi||!1,oi||!1]},[oi]),uo=Object(B.a)(null,{value:fi,defaultValue:Mi,postState:function(Li){return qn==="time"&&!ba?Li:kn(Li,Yr)}}),Ha=Object(D.a)(uo,2),Yi=Ha[0],Qa=Ha[1],Fo=gi({values:Yi,picker:qn,defaultDates:fa,generateConfig:Yr}),Qo=Object(D.a)(Fo,2),Zo=Qo[0],ua=Qo[1],Ya=Object(B.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(D.a)(Ya,2),Ci=lo[0],Sa=lo[1],bo=Object(B.a)([qn,qn],{value:Hi}),Bo=Object(D.a)(bo,2),Oo=Bo[0],gs=Bo[1];Object(s.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(D.a)(hs,2),$a=ss[0],Na=ss[1],Vo=Object(B.a)(!1,{value:Wi,defaultValue:ma,postState:function(Li){return $i[Aa]?!1:Li},onChange:function(Li){la&&la(Li),!Li&&ka.current&&ka.current.onClose&&ka.current.onClose()}}),Jo=Object(D.a)(Vo,2),Da=Jo[0],Ka=Jo[1],Pa=Da&&Aa===0,Xo=Da&&Aa===1,Uo=Object(s.useState)(0),Lo=Object(D.a)(Uo,2),Yo=Lo[0],Ko=Lo[1];Object(s.useEffect)(function(){!Da&&Ga.current&&Ko(Ga.current.offsetWidth)},[Da]);var jo=s.useRef();function Or(xa,Li){if(xa)clearTimeout(jo.current),ao.current[Li]=!0,Za(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"&&!le(Yr,fn.locale,Ca,go)||qn==="quarter"&&!ie(Yr,Ca,go)||qn!=="week"&&qn!=="quarter"&&qn!=="time"&&!we(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=kn(ea,Yr))),Sa(ea);var js=ea&&ea[0]?Gt(ea[0],{generateConfig:Yr,locale:fn,format:Wo[0]}):"",Is=ea&&ea[1]?Gt(ea[1],{generateConfig:Yr,locale:fn,format:Wo[0]}):"";if(Fa){var Vs={range:Li===0?"start":"end"};Fa(ea,[js,Is],Vs)}var Js=di(Ca,0,$i,wa),gl=di(go,1,$i,wa),Bs=ea===null||Js&≷Bs&&(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&&ka.current&&ka.current.onKeyDown?ka.current.onKeyDown(Li):(Object(b.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Ps={formatList:Wo,generateConfig:Yr,locale:fn},Ks=rn(Gr(Ci,0),Ps),sl=Object(D.a)(Ks,2),xs=sl[0],Ls=sl[1],Xs=rn(Gr(Ci,1),Ps),Es=Object(D.a)(Xs,2),_s=Es[0],pl=Es[1],Gs=function(Li,ea){var Ca=lr(Li,{locale:fn,formatList:Wo,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(D.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(D.a)(Pr,3),Rn=pn[0],dt=pn[1],ce=pn[2],ve=Object(s.useState)(null),_e=Object(D.a)(ve,2),ze=_e[0],ut=_e[1],Pt=Object(s.useState)(null),ar=Object(D.a)(Pt,2),wr=ar[0],jr=ar[1],hn=Ur(ho,{formatList:Wo,generateConfig:Yr,locale:fn}),Tn=Object(D.a)(hn,3),ti=Tn[0],Ai=Tn[1],Ti=Tn[2],zi=Ur(Rn,{formatList:Wo,generateConfig:Yr,locale:fn}),na=Object(D.a)(zi,3),Ua=na[0],Ja=na[1],to=na[2],No=function(Li){jr(Tr(Ci,Li,Aa)),Aa===0?Ai(Li):Ja(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!Je([yo.current,fo.current,es.current,Ga.current],go)},onFocus:function(go){Za(Li),Xa&&Xa(go)},triggerOpen:function(go){Or(go,Li)},onSubmit:function(){vs(Ci,Li),ea()},onCancel:function(){Or(!1,Li),Sa(Yi),ea()}}},za=Fn(Object(f.a)(Object(f.a)({},Do(0,Lt)),{},{open:Pa,value:ho,onKeyDown:function(Li,ea){pa==null||pa(Li,ea)}})),Ro=Object(D.a)(za,2),ls=Ro[0],wo=Ro[1],So=wo.focused,fs=wo.typing,Cs=Fn(Object(f.a)(Object(f.a)({},Do(1,ce)),{},{open:Xo,value:Rn,onKeyDown:function(Li,ea){pa==null||pa(Li,ea)}})),qo=Object(D.a)(Cs,2),xo=qo[0],zs=qo[1],ps=zs.focused,ll=zs.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()},Mo=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(s.useEffect)(function(){Da||(Sa(Yi),!xs.length||xs[0]===""?yt(""):Ls!==ho&&Lt(),!_s.length||_s[0]===""?dt(""):pl!==Rn&&ce())},[Da,xs,_s]),Object(s.useEffect)(function(){Sa(Yi)},[Mo,Ki]),Ji&&(Ji.current={focus:function(){po.current&&po.current.focus()},blur:function(){po.current&&po.current.blur(),Io.current&&Io.current.blur()}});var Ws=Object.keys(Ma||{}),nl=Ws.map(function(xa){var Li=Ma[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(N.a)(Pn)==="object"&&Pn.defaultValue){var go=Pn.defaultValue;Ca=Object(f.a)(Object(f.a)({},Pn),{},{defaultValue:Gr(go,Aa)||void 0})}var js=null;return Ea&&(js=function(Vs,Js){return Ea(Vs,Js,{range:Aa?"end":"start"})}),s.createElement($t.Provider,{value:{inRange:!0,panelPosition:xa,rangedValue:ze||Ci,hoverRangedValue:ea}},s.createElement(sr,Object(p.a)({},Ke,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:h()(Object(i.a)({},"".concat(or,"-panel-focused"),Aa===0?!fs:!ll)),value:Gr(Ci,Aa),locale:fn,tabIndex:-1,onPanelChange:function(Vs,Js){Aa===0&&Ti(!0),Aa===1&&to(!0),ds(Tr(Oo,Js,Aa),Tr(Ci,Vs,Aa));var gl=Vs;xa==="right"&&Oo[Aa]===Js&&(gl=It(gl,Js,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=Zo(Aa),go=It(Ca,qn,Yr),js=Oo[Aa],Is=js===qn,Vs=Ss(Is?"left":!1,{pickerValue:Ca,onPickerValueChange:function(ys){ua(ys,Aa)}}),Js=Ss("right",{pickerValue:go,onPickerValueChange:function(ys){ua(It(ys,qn,Yr,-1),Aa)}});Oi==="rtl"?xa=s.createElement(s.Fragment,null,Js,Is&&Vs):xa=s.createElement(s.Fragment,null,Vs,Is&&Js)}else xa=Ss();var gl=s.createElement(s.Fragment,null,s.createElement("div",{className:"".concat(or,"-panels")},xa),(Li||ea)&&s.createElement("div",{className:"".concat(or,"-footer")},Li,ea));return ca&&(gl=ca(gl)),s.createElement("div",{className:"".concat(or,"-panel-container"),style:{marginLeft:ml},ref:yo,onMouseDown:function(ys){ys.preventDefault()}},gl)}var Us=s.createElement("div",{className:h()("".concat(or,"-range-wrapper"),"".concat(or,"-").concat(qn,"-range-wrapper")),style:{minWidth:Yo}},s.createElement("div",{className:"".concat(or,"-range-arrow"),style:il}),Ns()),Ds;xi&&(Ds=s.createElement("span",{className:"".concat(or,"-suffix")},xi));var Rs;_i&&(Gr(Yi,0)&&!$i[0]||Gr(Yi,1)&&!$i[1])&&(Rs=s.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||s.createElement("span",{className:"".concat(or,"-clear-btn")})));var ul={size:Z(qn,Wo[0],Yr)},Fs=0,Qs=0;fo.current&&es.current&&To.current&&(Aa===0?Qs=fo.current.offsetWidth:(Fs=ts,Qs=es.current.offsetWidth));var Ys=Oi==="rtl"?{right:Fs}:{left:Fs},Zs=function(Li,ea){var Ca=Tr(Ci,Li,Aa);ea==="submit"||ea!=="key"&&!Va?(vs(Ca,Aa),Aa===0?Ti():to()):Sa(Ca)};return s.createElement(R.Provider,{value:{operationRef:ka,hideHeader:qn==="time",onDateMouseEnter:No,onDateMouseLeave:oo,hideRanges:!0,onSelect:Zs,open:Da}},s.createElement(Nn,{visible:Da,popupElement:Us,popupStyle:dn,prefixCls:or,dropdownClassName:on,dropdownAlign:sn,getPopupContainer:an,transitionName:Cn,range:!0,direction:Oi},s.createElement("div",Object(p.a)({ref:Ga,className:h()(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(Ke)),s.createElement("div",{className:h()("".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},s.createElement("input",Object(p.a)({id:Vr,disabled:$i[0],readOnly:Si||typeof Wo[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}))),s.createElement("div",{className:"".concat(or,"-range-separator"),ref:To},wi),s.createElement("div",{className:h()("".concat(or,"-input"),(Wt={},Object(i.a)(Wt,"".concat(or,"-input-active"),Aa===1),Object(i.a)(Wt,"".concat(or,"-input-placeholder"),!!Ua),Wt)),ref:es},s.createElement("input",Object(p.a)({disabled:$i[1],readOnly:Si||typeof Wo[0]=="function"||!ll,value:Ua||Rn,onChange:function(Li){dt(Li.target.value)},placeholder:Gr(vn,1)||"",ref:Io},xo,ul,{autoComplete:os}))),s.createElement("div",{className:"".concat(or,"-active-bar"),style:Object(f.a)(Object(f.a)({},Ys),{},{width:Qs,position:"absolute"})}),Ds,Rs)))}var xr=function(Ke){Object(t.a)(Xt,Ke);var gt=Object(a.a)(Xt);function Xt(){var Wt;return Object(n.a)(this,Xt),Wt=gt.apply(this,arguments),Wt.pickerRef=s.createRef(),Wt.focus=function(){Wt.pickerRef.current&&Wt.pickerRef.current.focus()},Wt.blur=function(){Wt.pickerRef.current&&Wt.pickerRef.current.blur()},Wt}return Object(l.a)(Xt,[{key:"render",value:function(){return s.createElement(qr,Object(p.a)({},this.props,{pickerRef:this.pickerRef}))}}]),Xt}(s.Component),nn=xr,gn=Vn,On=d("BTa+");function Bn(Ke,gt,Xt){return Xt!==void 0?Xt:Ke==="year"&>.lang.yearPlaceholder?gt.lang.yearPlaceholder:Ke==="quarter"&>.lang.quarterPlaceholder?gt.lang.quarterPlaceholder:Ke==="month"&>.lang.monthPlaceholder?gt.lang.monthPlaceholder:Ke==="week"&>.lang.weekPlaceholder?gt.lang.weekPlaceholder:Ke==="time"&>.timePickerLocale.placeholder?gt.timePickerLocale.placeholder:gt.lang.placeholder}function Wn(Ke,gt,Xt){return Xt!==void 0?Xt:Ke==="year"&>.lang.yearPlaceholder?gt.lang.rangeYearPlaceholder:Ke==="month"&>.lang.monthPlaceholder?gt.lang.rangeMonthPlaceholder:Ke==="week"&>.lang.weekPlaceholder?gt.lang.rangeWeekPlaceholder:Ke==="time"&>.timePickerLocale.placeholder?gt.timePickerLocale.rangePlaceholder:gt.lang.rangePlaceholder}var $n=d("bq+4"),Jn=d("9R2V"),vi=d("VM9+"),Pi=d("kc2O"),Bi=function(Ke,gt){var Xt={};for(var Wt in Ke)Object.prototype.hasOwnProperty.call(Ke,Wt)&>.indexOf(Wt)<0&&(Xt[Wt]=Ke[Wt]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vr=0,Wt=Object.getOwnPropertySymbols(Ke);vr<Wt.length;vr++)gt.indexOf(Wt[vr])<0&&Object.prototype.propertyIsEnumerable.call(Ke,Wt[vr])&&(Xt[Wt[vr]]=Ke[Wt[vr]]);return Xt};function ja(Ke){function gt(Dr,dn){var on=function(Cn){Object(t.a)(an,Cn);var sn=Object(a.a)(an);function an(Yr){var fn;return Object(n.a)(this,an),fn=sn.call(this,Yr),fn.pickerRef=s.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,ki=Pn.prefixCls,ci=Pn.getPopupContainer,wi=Pn.className,fi=Pn.size,Mi=Pn.bordered,fa=Mi===void 0?!0:Mi,Wi=Pn.placeholder,ma=Bi(Pn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),aa=fn.props,ya=aa.format,Ea=aa.showTime,ca=si("picker",ki),Ma={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 s.createElement(Pi.b.Consumer,null,function(ji){var Ji,Si=fi||ji;return s.createElement(gn,Object(p.a)({ref:fn.pickerRef,placeholder:Bn(_i,Ln,Wi),suffixIcon:_i==="time"?s.createElement(I,null):s.createElement(C,null),clearIcon:s.createElement(L.a,null),allowClear:!0,transitionName:"".concat(xi,"-slide-up")},Ma,ma,wa,{locale:Ln.lang,className:h()((Ji={},Object(i.a)(Ji,"".concat(ca,"-").concat(Si),Si),Object(i.a)(Ji,"".concat(ca,"-borderless"),!fa),Ji),wi),prefixCls:ca,getPopupContainer:ci||qn,generateConfig:Ke,prevIcon:s.createElement("span",{className:"".concat(ca,"-prev-icon")}),nextIcon:s.createElement("span",{className:"".concat(ca,"-next-icon")}),superPrevIcon:s.createElement("span",{className:"".concat(ca,"-super-prev-icon")}),superNextIcon:s.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(l.a)(an,[{key:"render",value:function(){return s.createElement(vi.a,{componentName:"DatePicker",defaultLocale:On.a},this.renderPicker)}}]),an}(s.Component);return on.contextType=Jn.b,dn&&(on.displayName=dn),on}var Xt=gt(),Wt=gt("week","WeekPicker"),vr=gt("month","MonthPicker"),or=gt("year","YearPicker"),Vr=gt("time","TimePicker"),Kr=gt("quarter","QuarterPicker");return{DatePicker:Xt,WeekPicker:Wt,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 s.createElement(y.a,Object(f.a)(Object(f.a)({},gt),{},{ref:Xt,icon:Xr}))};hi.displayName="SwapRightOutlined";var Ri=s.forwardRef(hi),bi=function(Ke,gt){var Xt={};for(var Wt in Ke)Object.prototype.hasOwnProperty.call(Ke,Wt)&>.indexOf(Wt)<0&&(Xt[Wt]=Ke[Wt]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vr=0,Wt=Object.getOwnPropertySymbols(Ke);vr<Wt.length;vr++)gt.indexOf(Wt[vr])<0&&Object.prototype.propertyIsEnumerable.call(Ke,Wt[vr])&&(Xt[Wt[vr]]=Ke[Wt[vr]]);return Xt};function Ui(Ke){var gt=function(Xt){Object(t.a)(vr,Xt);var Wt=Object(a.a)(vr);function vr(){var or;return Object(n.a)(this,vr),or=Wt.apply(this,arguments),or.pickerRef=s.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,ki=qn.showTime,ci=qn.picker,wi=dn("picker",an),fi={};fi=Object(p.a)(Object(p.a)(Object(p.a)({},fi),ki?Qi(Object(p.a)({format:Pn,picker:ci},ki)):{}),ci==="time"?Qi(Object(p.a)(Object(p.a)({format:Pn},or.props),{picker:ci})):{});var Mi=dn();return s.createElement(Pi.b.Consumer,null,function(fa){var Wi,ma=vn||fa;return s.createElement(nn,Object(p.a)({separator:s.createElement("span",{"aria-label":"to",className:"".concat(wi,"-separator")},s.createElement(Ri,null)),ref:or.pickerRef,placeholder:Wn(ci,Kr,si),suffixIcon:ci==="time"?s.createElement(I,null):s.createElement(C,null),clearIcon:s.createElement(L.a,null),allowClear:!0,transitionName:"".concat(Mi,"-slide-up")},Ni,fi,{className:h()((Wi={},Object(i.a)(Wi,"".concat(wi,"-").concat(ma),ma),Object(i.a)(Wi,"".concat(wi,"-borderless"),!oi),Wi),fn),locale:Kr.lang,prefixCls:wi,getPopupContainer:Yr||Cn,generateConfig:Ke,prevIcon:s.createElement("span",{className:"".concat(wi,"-prev-icon")}),nextIcon:s.createElement("span",{className:"".concat(wi,"-next-icon")}),superPrevIcon:s.createElement("span",{className:"".concat(wi,"-super-prev-icon")}),superNextIcon:s.createElement("span",{className:"".concat(wi,"-super-next-icon")}),components:ni,direction:on}))})},or}return Object(l.a)(vr,[{key:"render",value:function(){return s.createElement(vi.a,{componentName:"DatePicker",defaultLocale:On.a},this.renderPicker)}}]),vr}(s.Component);return gt.contextType=Jn.b,gt}var ni={button:o,rangeItem:r};function qi(Ke){return Ke?Array.isArray(Ke)?Ke:[Ke]:[]}function Qi(Ke){var gt=Ke.format,Xt=Ke.picker,Wt=Ke.showHour,vr=Ke.showMinute,or=Ke.showSecond,Vr=Ke.use12Hours,Kr=qi(gt)[0],Dr=Object(p.a)({},Ke);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")&&Wt===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(Ke){var gt=ja(Ke),Xt=gt.DatePicker,Wt=gt.WeekPicker,vr=gt.MonthPicker,or=gt.YearPicker,Vr=gt.TimePicker,Kr=gt.QuarterPicker,Dr=Ui(Ke),dn=Xt;return dn.WeekPicker=Wt,dn.MonthPicker=vr,dn.YearPicker=or,dn.RangePicker=Dr,dn.TimePicker=Vr,dn.QuarterPicker=Kr,dn}var Yt=ha,Ir=Yt(v),Jr=P.a=Ir},BPZU:function(M,P){var d=32,w=7,A=256;function b(r){for(var i=0;r>=d;)i|=r&1,r>>=1;return r+i}function m(r,i,n,l){var t=i+1;if(t===n)return 1;if(l(r[t++],r[i])<0){for(;t<n&&l(r[t],r[t-1])<0;)t++;v(r,i,t)}else for(;t<n&&l(r[t],r[t-1])>=0;)t++;return t-i}function v(r,i,n){for(n--;i<n;){var l=r[i];r[i++]=r[n],r[n--]=l}}function p(r,i,n,l,t){for(l===i&&l++;l<n;l++){for(var a=r[l],c=i,h=l,f;c<h;)f=c+h>>>1,t(a,r[f])<0?h=f:c=f+1;var g=l-c;switch(g){case 3:r[c+3]=r[c+2];case 2:r[c+2]=r[c+1];case 1:r[c+1]=r[c];break;default:for(;g>0;)r[c+g]=r[c+g-1],g--}r[c]=a}}function s(r,i,n,l,t,a){var c=0,h=0,f=1;if(a(r,i[n+t])>0){for(h=l-t;f<h&&a(r,i[n+t+f])>0;)c=f,f=(f<<1)+1,f<=0&&(f=h);f>h&&(f=h),c+=t,f+=t}else{for(h=t+1;f<h&&a(r,i[n+t-f])<=0;)c=f,f=(f<<1)+1,f<=0&&(f=h);f>h&&(f=h);var g=c;c=t-f,f=t-g}for(c++;c<f;){var S=c+(f-c>>>1);a(r,i[n+S])>0?c=S+1:f=S}return f}function u(r,i,n,l,t,a){var c=0,h=0,f=1;if(a(r,i[n+t])<0){for(h=t+1;f<h&&a(r,i[n+t-f])<0;)c=f,f=(f<<1)+1,f<=0&&(f=h);f>h&&(f=h);var g=c;c=t-f,f=t-g}else{for(h=l-t;f<h&&a(r,i[n+t+f])>=0;)c=f,f=(f<<1)+1,f<=0&&(f=h);f>h&&(f=h),c+=t,f+=t}for(c++;c<f;){var S=c+(f-c>>>1);a(r,i[n+S])<0?f=S:c=S+1}return f}function o(r,i){var n=w,l=0,t=A,a=0,c,h,f=0;l=r.length,l<2*A&&(t=l>>>1);var g=[];a=l<120?5:l<1542?10:l<119151?19:40,c=[],h=[];function S(_,I){c[f]=_,h[f]=I,f+=1}function y(){for(;f>1;){var _=f-2;if(_>=1&&h[_-1]<=h[_]+h[_+1]||_>=2&&h[_-2]<=h[_]+h[_-1])h[_-1]<h[_+1]&&_--;else if(h[_]>h[_+1])break;C(_)}}function E(){for(;f>1;){var _=f-2;_>0&&h[_-1]<h[_+1]&&_--,C(_)}}function C(_){var I=c[_],L=h[_],D=c[_+1],B=h[_+1];h[_]=L+B,_===f-3&&(c[_+1]=c[_+2],h[_+1]=h[_+2]),f--;var N=u(r[D],r,I,L,0,i);if(I+=N,L-=N,L===0)return;if(B=s(r[I+L-1],r,D,B,B-1,i),B===0)return;L<=B?T(I,L,D,B):x(I,L,D,B)}function T(_,I,L,D){var B=0;for(B=0;B<I;B++)g[B]=r[_+B];var N=0,k=L,W=_;if(r[W++]=r[k++],--D===0){for(B=0;B<I;B++)r[W+B]=g[N+B];return}if(I===1){for(B=0;B<D;B++)r[W+B]=r[k+B];r[W+D]=g[N];return}for(var R=n,j,H,K;;){j=0,H=0,K=!1;do if(i(r[k],g[N])<0){if(r[W++]=r[k++],H++,j=0,--D===0){K=!0;break}}else if(r[W++]=g[N++],j++,H=0,--I===1){K=!0;break}while((j|H)<R);if(K)break;do{if(j=u(r[k],g,N,I,0,i),j!==0){for(B=0;B<j;B++)r[W+B]=g[N+B];if(W+=j,N+=j,I-=j,I<=1){K=!0;break}}if(r[W++]=r[k++],--D===0){K=!0;break}if(H=s(g[N],r,k,D,0,i),H!==0){for(B=0;B<H;B++)r[W+B]=r[k+B];if(W+=H,k+=H,D-=H,D===0){K=!0;break}}if(r[W++]=g[N++],--I===1){K=!0;break}R--}while(j>=w||H>=w);if(K)break;R<0&&(R=0),R+=2}if(n=R,n<1&&(n=1),I===1){for(B=0;B<D;B++)r[W+B]=r[k+B];r[W+D]=g[N]}else{if(I===0)throw new Error;for(B=0;B<I;B++)r[W+B]=g[N+B]}}function x(_,I,L,D){var B=0;for(B=0;B<D;B++)g[B]=r[L+B];var N=_+I-1,k=D-1,W=L+D-1,R=0,j=0;if(r[W--]=r[N--],--I===0){for(R=W-(D-1),B=0;B<D;B++)r[R+B]=g[B];return}if(D===1){for(W-=I,N-=I,j=W+1,R=N+1,B=I-1;B>=0;B--)r[j+B]=r[R+B];r[W]=g[k];return}for(var H=n;;){var K=0,U=0,Q=!1;do if(i(g[k],r[N])<0){if(r[W--]=r[N--],K++,U=0,--I===0){Q=!0;break}}else if(r[W--]=g[k--],U++,K=0,--D===1){Q=!0;break}while((K|U)<H);if(Q)break;do{if(K=I-u(g[k],r,_,I,I-1,i),K!==0){for(W-=K,N-=K,I-=K,j=W+1,R=N+1,B=K-1;B>=0;B--)r[j+B]=r[R+B];if(I===0){Q=!0;break}}if(r[W--]=g[k--],--D===1){Q=!0;break}if(U=D-s(r[N],g,0,D,D-1,i),U!==0){for(W-=U,k-=U,D-=U,j=W+1,R=k+1,B=0;B<U;B++)r[j+B]=g[R+B];if(D<=1){Q=!0;break}}if(r[W--]=r[N--],--I===0){Q=!0;break}H--}while(K>=w||U>=w);if(Q)break;H<0&&(H=0),H+=2}if(n=H,n<1&&(n=1),D===1){for(W-=I,N-=I,j=W+1,R=N+1,B=I-1;B>=0;B--)r[j+B]=r[R+B];r[W]=g[k]}else{if(D===0)throw new Error;for(R=W-(D-1),B=0;B<D;B++)r[R+B]=g[B]}}this.mergeRuns=y,this.forceMergeRuns=E,this.pushRun=S}function e(r,i,n,l){n||(n=0),l||(l=r.length);var t=l-n;if(t<2)return;var a=0;if(t<d){a=m(r,n,l,i),p(r,n,l,n+a,i);return}var c=new o(r,i),h=b(t);do{if(a=m(r,n,l,i),a<h){var f=t;f>h&&(f=h),p(r,n,n+f,n+a,i),a=f}c.pushRun(n,a),c.mergeRuns(),t-=a,n+=a}while(t!==0);c.forceMergeRuns()}M.exports=e},Bd2K:function(M,P,d){(function(w){w(d("VrN/"),d("osHv"))})(function(w){w.defineOption("autoCloseTags",!1,function(o,e,r){if(r!=w.Init&&r&&o.removeKeyMap("autoCloseTags"),!e)return;var i={name:"autoCloseTags"};(typeof e!="object"||e.whenClosing!==!1)&&(i["'/'"]=function(n){return p(n)}),(typeof e!="object"||e.whenOpening!==!1)&&(i["'>'"]=function(n){return m(n)}),o.addKeyMap(i)});var A=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],b=["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(o){if(o.getOption("disableInput"))return w.Pass;for(var e=o.listSelections(),r=[],i=o.getOption("autoCloseTags"),n=0;n<e.length;n++){if(!e[n].empty())return w.Pass;var l=e[n].head,t=o.getTokenAt(l),a=w.innerMode(o.getMode(),t.state),c=a.state,h=a.mode.xmlCurrentTag&&a.mode.xmlCurrentTag(c),f=h&&h.name;if(!f)return w.Pass;var g=a.mode.configuration=="html",S=typeof i=="object"&&i.dontCloseTags||g&&A,y=typeof i=="object"&&i.indentTags||g&&b;t.end>l.ch&&(f=f.slice(0,f.length-t.end+l.ch));var E=f.toLowerCase();if(!f||t.type=="string"&&(t.end!=l.ch||!/[\"\']/.test(t.string.charAt(t.string.length-1))||t.string.length==1)||t.type=="tag"&&h.close||t.string.indexOf("/")==l.ch-t.start-1||S&&s(S,E)>-1||u(o,a.mode.xmlCurrentContext&&a.mode.xmlCurrentContext(c)||[],f,l,!0))return w.Pass;var C=typeof i=="object"&&i.emptyTags;if(C&&s(C,f)>-1){r[n]={text:"/>",newPos:w.Pos(l.line,l.ch+2)};continue}var T=y&&s(y,E)>-1;r[n]={indent:T,text:">"+(T?`
|
|
|
|
|
|
`:"")+"</"+f+">",newPos:T?w.Pos(l.line+1,0):w.Pos(l.line,l.ch+1)}}for(var x=typeof i=="object"&&i.dontIndentOnAutoClose,n=e.length-1;n>=0;n--){var _=r[n];o.replaceRange(_.text,e[n].head,e[n].anchor,"+insert");var I=o.listSelections().slice(0);I[n]={head:_.newPos,anchor:_.newPos},o.setSelections(I),!x&&_.indent&&(o.indentLine(_.newPos.line,null,!0),o.indentLine(_.newPos.line+1,null,!0))}}function v(o,e){for(var r=o.listSelections(),i=[],n=e?"/":"</",l=o.getOption("autoCloseTags"),t=typeof l=="object"&&l.dontIndentOnSlash,a=0;a<r.length;a++){if(!r[a].empty())return w.Pass;var c=r[a].head,h=o.getTokenAt(c),f=w.innerMode(o.getMode(),h.state),g=f.state;if(e&&(h.type=="string"||h.string.charAt(0)!="<"||h.start!=c.ch-1))return w.Pass;var S,y=f.mode.name!="xml"&&o.getMode().name=="htmlmixed";if(y&&f.mode.name=="javascript")S=n+"script";else if(y&&f.mode.name=="css")S=n+"style";else{var E=f.mode.xmlCurrentContext&&f.mode.xmlCurrentContext(g);if(!E||E.length&&u(o,E,E[E.length-1],c))return w.Pass;S=n+E[E.length-1]}o.getLine(c.line).charAt(h.end)!=">"&&(S+=">"),i[a]=S}if(o.replaceSelections(i),r=o.listSelections(),!t)for(var a=0;a<r.length;a++)(a==r.length-1||r[a].head.line<r[a+1].head.line)&&o.indentLine(r[a].head.line)}function p(o){return o.getOption("disableInput")?w.Pass:v(o,!0)}w.commands.closeTag=function(o){return v(o)};function s(o,e){if(o.indexOf)return o.indexOf(e);for(var r=0,i=o.length;r<i;++r)if(o[r]==e)return r;return-1}function u(o,e,r,i,n){if(!w.scanForClosingTag)return!1;var l=Math.min(o.lastLine()+1,i.line+500),t=w.scanForClosingTag(o,i,null,l);if(!t||t.tag!=r)return!1;for(var a=n?1:0,c=e.length-1;c>=0&&e[c]==r;c--)++a;i=t.to;for(var c=1;c<a;c++){var h=w.scanForClosingTag(o,i,null,l);if(!h||h.tag!=r)return!1;i=h.to}return!0}})},Bgvn:function(M,P,d){},BlVb:function(M,P,d){var w=d("hyiK"),A=1e-8;function b(v,p){return Math.abs(v-p)<A}function m(v,p,s){var u=0,o=v[0];if(!o)return!1;for(var e=1;e<v.length;e++){var r=v[e];u+=w(o[0],o[1],r[0],r[1],p,s),o=r}var i=v[0];return(!b(o[0],i[0])||!b(o[1],i[1]))&&(u+=w(o[0],o[1],i[0],i[1],p,s)),u!==0}P.contain=m},Bq2U:function(M,P,d){var w=d("RDYZ"),A=d("Qe9p"),b=d("bYtY"),m=b.isArrayLike,v=Array.prototype.slice;function p(S,y){return S[y]}function s(S,y,E){S[y]=E}function u(S,y,E){return(y-S)*E+S}function o(S,y,E){return E>.5?y:S}function e(S,y,E,C,T){var x=S.length;if(T===1)for(var _=0;_<x;_++)C[_]=u(S[_],y[_],E);else for(var I=x&&S[0].length,_=0;_<x;_++)for(var L=0;L<I;L++)C[_][L]=u(S[_][L],y[_][L],E)}function r(S,y,E){var C=S.length,T=y.length;if(C!==T){var x=C>T;if(x)S.length=T;else for(var _=C;_<T;_++)S.push(E===1?y[_]:v.call(y[_]))}for(var I=S[0]&&S[0].length,_=0;_<S.length;_++)if(E===1)isNaN(S[_])&&(S[_]=y[_]);else for(var L=0;L<I;L++)isNaN(S[_][L])&&(S[_][L]=y[_][L])}function i(S,y,E){if(S===y)return!0;var C=S.length;if(C!==y.length)return!1;if(E===1){for(var T=0;T<C;T++)if(S[T]!==y[T])return!1}else for(var x=S[0].length,T=0;T<C;T++)for(var _=0;_<x;_++)if(S[T][_]!==y[T][_])return!1;return!0}function n(S,y,E,C,T,x,_,I,L){var D=S.length;if(L===1)for(var B=0;B<D;B++)I[B]=l(S[B],y[B],E[B],C[B],T,x,_);else for(var N=S[0].length,B=0;B<D;B++)for(var k=0;k<N;k++)I[B][k]=l(S[B][k],y[B][k],E[B][k],C[B][k],T,x,_)}function l(S,y,E,C,T,x,_){var I=(E-S)*.5,L=(C-y)*.5;return(2*(y-E)+I+L)*_+(-3*(y-E)-2*I-L)*x+I*T+y}function t(S){if(m(S)){var y=S.length;if(m(S[0])){for(var E=[],C=0;C<y;C++)E.push(v.call(S[C]));return E}return v.call(S)}return S}function a(S){return S[0]=Math.floor(S[0]),S[1]=Math.floor(S[1]),S[2]=Math.floor(S[2]),"rgba("+S.join(",")+")"}function c(S){var y=S[S.length-1].value;return m(y&&y[0])?2:1}function h(S,y,E,C,T,x){var _=S._getter,I=S._setter,L=y==="spline",D=C.length;if(!D)return;var B=C[0].value,N=m(B),k=!1,W=!1,R=N?c(C):0,j;C.sort(function(X,z){return X.time-z.time}),j=C[D-1].time;for(var H=[],K=[],U=C[0].value,Q=!0,V=0;V<D;V++){H.push(C[V].time/j);var J=C[V].value;if(N&&i(J,U,R)||!N&&J===U||(Q=!1),U=J,typeof J=="string"){var ae=A.parse(J);ae?(J=ae,k=!0):W=!0}K.push(J)}if(!x&&Q)return;for(var se=K[D-1],V=0;V<D-1;V++)N?r(K[V],se,R):isNaN(K[V])&&!isNaN(se)&&!W&&!k&&(K[V]=se);N&&r(_(S._target,T),se,R);var $=0,ge=0,he,Ie,Se,Le,He,G;if(k)var pe=[0,0,0,0];var We=function(z,Z){var be;if(Z<0)be=0;else if(Z<ge){for(he=Math.min($+1,D-1),be=he;be>=0&&!(H[be]<=Z);be--);be=Math.min(be,D-2)}else{for(be=$;be<D&&!(H[be]>Z);be++);be=Math.min(be-1,D-2)}$=be,ge=Z;var ne=H[be+1]-H[be];if(ne===0)return;if(Ie=(Z-H[be])/ne,L)if(Le=K[be],Se=K[be===0?be:be-1],He=K[be>D-2?D-1:be+1],G=K[be>D-3?D-1:be+2],N)n(Se,Le,He,G,Ie,Ie*Ie,Ie*Ie*Ie,_(z,T),R);else{var Ae;if(k)Ae=n(Se,Le,He,G,Ie,Ie*Ie,Ie*Ie*Ie,pe,1),Ae=a(pe);else{if(W)return o(Le,He,Ie);Ae=l(Se,Le,He,G,Ie,Ie*Ie,Ie*Ie*Ie)}I(z,T,Ae)}else if(N)e(K[be],K[be+1],Ie,_(z,T),R);else{var Ae;if(k)e(K[be],K[be+1],Ie,pe,1),Ae=a(pe);else{if(W)return o(K[be],K[be+1],Ie);Ae=u(K[be],K[be+1],Ie)}I(z,T,Ae)}},te=new w({target:S._target,life:j,loop:S._loop,delay:S._delay,onframe:We,ondestroy:E});return y&&y!=="spline"&&(te.easing=y),te}var f=function(y,E,C,T){this._tracks={},this._target=y,this._loop=E||!1,this._getter=C||p,this._setter=T||s,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};f.prototype={when:function(y,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;y!==0&&C[T].push({time:0,value:t(x)})}C[T].push({time:y,value:E[T]})}return this},during:function(y){return this._onframeList.push(y),this},pause:function(){for(var y=0;y<this._clipList.length;y++)this._clipList[y].pause();this._paused=!0},resume:function(){for(var y=0;y<this._clipList.length;y++)this._clipList[y].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var y=this._doneList,E=y.length,C=0;C<E;C++)y[C].call(this)},start:function(y,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=h(this,y,x,this._tracks[I],I,E);L&&(this._clipList.push(L),T++,this.animation&&this.animation.addClip(L),_=L)}if(_){var D=_.onframe;_.onframe=function(B,N){D(B,N);for(var k=0;k<C._onframeList.length;k++)C._onframeList[k](B,N)}}return T||this._doneCallback(),this},stop:function(y){for(var E=this._clipList,C=this.animation,T=0;T<E.length;T++){var x=E[T];y&&x.onframe(this._target,1),C&&C.removeClip(x)}E.length=0},delay:function(y){return this._delay=y,this},done:function(y){return y&&this._doneList.push(y),this},getClips:function(){return this._clipList}};var g=f;M.exports=g},Bsck:function(M,P,d){var w=d("bYtY"),A=d("Qxkt"),b=d("Mdki"),m=d("YXkt"),v=d("sdST"),p=function(e,r){this.name=e||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=r};p.prototype={constructor:p,isRemoved:function(){return this.dataIndex<0},eachNode:function(e,r,i){typeof e=="function"&&(i=r,r=e,e=null),e=e||{},w.isString(e)&&(e={order:e});var n=e.order||"preorder",l=this[e.attr||"children"],t;n==="preorder"&&(t=r.call(i,this));for(var a=0;!t&&a<l.length;a++)l[a].eachNode(e,r,i);n==="postorder"&&r.call(i,this)},updateDepthAndHeight:function(e){var r=0;this.depth=e;for(var i=0;i<this.children.length;i++){var n=this.children[i];n.updateDepthAndHeight(e+1),n.height>r&&(r=n.height)}this.height=r+1},getNodeById:function(e){if(this.getId()===e)return this;for(var r=0,i=this.children,n=i.length;r<n;r++){var l=i[r].getNodeById(e);if(l)return l}},contains:function(e){if(e===this)return!0;for(var r=0,i=this.children,n=i.length;r<n;r++){var l=i[r].contains(e);if(l)return l}},getAncestors:function(e){for(var r=[],i=e?this:this.parentNode;i;)r.push(i),i=i.parentNode;return r.reverse(),r},getValue:function(e){var r=this.hostTree.data;return r.get(r.getDimension(e||"value"),this.dataIndex)},setLayout:function(e,r){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,r)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(this.dataIndex<0)return;var r=this.hostTree,i=r.data.getItemModel(this.dataIndex),n=this.getLevelModel();return n?i.getModel(e,n.getModel(e)):i.getModel(e)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(e,r){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,r)},getVisual:function(e,r){return this.hostTree.data.getItemVisual(this.dataIndex,e,r)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){for(var r=e.parentNode;r;){if(r===this)return!0;r=r.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}};function s(e,r){this.root,this.data,this._nodes=[],this.hostModel=e,this.levelModels=w.map(r||[],function(i){return new A(i,e,e.ecModel)})}s.prototype={constructor:s,type:"tree",eachNode:function(e,r,i){this.root.eachNode(e,r,i)},getNodeByDataIndex:function(e){var r=this.data.getRawIndex(e);return this._nodes[r]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,r=this._nodes,i=0,n=r.length;i<n;i++)r[i].dataIndex=-1;for(var i=0,n=e.count();i<n;i++)r[e.getRawIndex(i)].dataIndex=i},clearLayouts:function(){this.data.clearItemLayouts()}},s.createTree=function(e,r,i,n){var l=new s(r,i&&i.levels),t=[],a=1;c(e);function c(g,S){var y=g.value;a=Math.max(a,w.isArray(y)?y.length:1),t.push(g);var E=new p(g.name,l);S?u(E,S):l.root=E,l._nodes.push(E);var C=g.children;if(C)for(var T=0;T<C.length;T++)c(C[T],E)}l.root.updateDepthAndHeight(0);var h=v(t,{coordDimensions:["value"],dimensionsCount:a}),f=new m(h,r);return f.initData(t),n&&n(f),b({mainData:f,struct:l,structAttr:"tree"}),l.update(),l};function u(e,r){var i=r.children;if(e.parentNode===r)return;i.push(e),e.parentNode=r}var o=s;M.exports=o},BtR2:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="LikeOutlined";var s=P.a=A.forwardRef(p)},BuqR:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=d("6uqw"),v=d("XxSj"),p=d("YOMW"),s=d("OELB"),u=s.reformIntervals,o=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(n,l){o.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var t=this._mode=this._determineMode();e[this._mode].call(this),this._resetSelected(n,l);var a=this.option.categories;this.resetVisual(function(c,h){t==="categories"?(c.mappingMethod="category",c.categories=b.clone(a)):(c.dataExtent=this.getExtent(),c.mappingMethod="piecewise",c.pieceList=b.map(this._pieceList,function(f){var f=b.clone(f);return h!=="inRange"&&(f.visual=null),f}))})},completeVisualOption:function(){var n=this.option,l={},t=v.listVisualTypes(),a=this.isCategory();b.each(n.pieces,function(h){b.each(t,function(f){h.hasOwnProperty(f)&&(l[f]=1)})}),b.each(l,function(h,f){var g=0;b.each(this.stateList,function(S){g|=c(n,S,f)||c(n.target,S,f)},this),!g&&b.each(this.stateList,function(S){(n[S]||(n[S]={}))[f]=p.get(f,S==="inRange"?"active":"inactive",a)})},this);function c(h,f,g){return h&&h[f]&&(b.isObject(h[f])?h[f].hasOwnProperty(g):h[f]===g)}m.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(n,l){var t=this.option,a=this._pieceList,c=(l?t:n).selected||{};if(t.selected=c,b.each(a,function(f,g){var S=this.getSelectedMapKey(f);c.hasOwnProperty(S)||(c[S]=!0)},this),t.selectedMode==="single"){var h=!1;b.each(a,function(f,g){var S=this.getSelectedMapKey(f);c[S]&&(h?c[S]=!1:h=!0)},this)}},getSelectedMapKey:function(n){return this._mode==="categories"?n.value+"":n.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(n){this.option.selected=b.clone(n)},getValueState:function(n){var l=v.findPieceIndex(n,this._pieceList);return l!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[l])]?"inRange":"outOfRange"},findTargetDataIndices:function(n){var l=[];return this.eachTargetSeries(function(t){var a=[],c=t.getData();c.each(this.getDataDimension(c),function(h,f){var g=v.findPieceIndex(h,this._pieceList);g===n&&a.push(f)},this),l.push({seriesId:t.id,dataIndex:a})},this),l},getRepresentValue:function(n){var l;if(this.isCategory())l=n.value;else if(n.value!=null)l=n.value;else{var t=n.interval||[];l=t[0]===-Infinity&&t[1]===Infinity?0:(t[0]+t[1])/2}return l},getVisualMeta:function(n){if(this.isCategory())return;var l=[],t=[],a=this;function c(S,y){var E=a.getRepresentValue({interval:S});y||(y=a.getValueState(E));var C=n(E,y);S[0]===-Infinity?t[0]=C:S[1]===Infinity?t[1]=C:l.push({value:S[0],color:C},{value:S[1],color:C})}var h=this._pieceList.slice();if(!h.length)h.push({interval:[-Infinity,Infinity]});else{var f=h[0].interval[0];f!==-Infinity&&h.unshift({interval:[-Infinity,f]}),f=h[h.length-1].interval[1],f!==Infinity&&h.push({interval:[f,Infinity]})}var g=-Infinity;return b.each(h,function(S){var y=S.interval;y&&(y[0]>g&&c([g,y[0]],"outOfRange"),c(y.slice()),g=y[1])},this),{stops:l,outerColors:t}}}),e={splitNumber:function(){var n=this.option,l=this._pieceList,t=Math.min(n.precision,20),a=this.getExtent(),c=n.splitNumber;c=Math.max(parseInt(c,10),1),n.splitNumber=c;for(var h=(a[1]-a[0])/c;+h.toFixed(t)!==h&&t<5;)t++;n.precision=t,h=+h.toFixed(t),n.minOpen&&l.push({interval:[-Infinity,a[0]],close:[0,0]});for(var f=0,g=a[0];f<c;g+=h,f++){var S=f===c-1?a[1]:g+h;l.push({interval:[g,S],close:[1,1]})}n.maxOpen&&l.push({interval:[a[1],Infinity],close:[0,0]}),u(l),b.each(l,function(y,E){y.index=E,y.text=this.formatValueText(y.interval)},this)},categories:function(){var n=this.option;b.each(n.categories,function(l){this._pieceList.push({text:this.formatValueText(l,!0),value:l})},this),r(n,this._pieceList)},pieces:function(){var n=this.option,l=this._pieceList;b.each(n.pieces,function(t,a){b.isObject(t)||(t={value:t});var c={text:"",index:a};if(t.label!=null&&(c.text=t.label),t.hasOwnProperty("value")){var h=c.value=t.value;c.interval=[h,h],c.close=[1,1]}else{for(var f=c.interval=[],g=c.close=[0,0],S=[1,0,1],y=[-Infinity,Infinity],E=[],C=0;C<2;C++){for(var T=[["gte","gt","min"],["lte","lt","max"]][C],x=0;x<3&&f[C]==null;x++)f[C]=t[T[x]],g[C]=S[x],E[C]=x===2;f[C]==null&&(f[C]=y[C])}E[0]&&f[1]===Infinity&&(g[0]=0),E[1]&&f[0]===-Infinity&&(g[1]=0),f[0]===f[1]&&g[0]&&g[1]&&(c.value=f[0])}c.visual=v.retrieveVisuals(t),l.push(c)},this),r(n,l),u(l),b.each(l,function(t){var a=t.close,c=[["<","\u2264"][a[1]],[">","\u2265"][a[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,c)},this)}};function r(n,l){var t=n.inverse;(n.orient==="vertical"?!t:t)&&l.reverse()}var i=o;M.exports=i},C0SR:function(M,P,d){var w=d("YH21"),A=function(){this._track=[]};A.prototype={constructor:A,recognize:function(u,o,e){return this._doTrack(u,o,e),this._recognize(u)},clear:function(){return this._track.length=0,this},_doTrack:function(u,o,e){var r=u.touches;if(!r)return;for(var i={points:[],touches:[],target:o,event:u},n=0,l=r.length;n<l;n++){var t=r[n],a=w.clientToLocal(e,t,{});i.points.push([a.zrX,a.zrY]),i.touches.push(t)}this._track.push(i)},_recognize:function(u){for(var o in v)if(v.hasOwnProperty(o)){var e=v[o](this._track,u);if(e)return e}}};function b(s){var u=s[1][0]-s[0][0],o=s[1][1]-s[0][1];return Math.sqrt(u*u+o*o)}function m(s){return[(s[0][0]+s[1][0])/2,(s[0][1]+s[1][1])/2]}var v={pinch:function(u,o){var e=u.length;if(!e)return;var r=(u[e-1]||{}).points,i=(u[e-2]||{}).points||r;if(i&&i.length>1&&r&&r.length>1){var n=b(r)/b(i);!isFinite(n)&&(n=1),o.pinchScale=n;var l=m(r);return o.pinchX=l[0],o.pinchY=l[1],{type:"pinch",target:u[0].target,event:o}}}},p=A;M.exports=p},C0tN:function(M,P,d){d("0o9m"),d("8Uz6"),d("Ducp"),d("6/nd")},CBdT:function(M,P,d){var w=d("ProS");d("8waO"),d("AEZ6"),d("YNf1");var A=d("q3GZ");w.registerVisual(A)},CF2D:function(M,P,d){var w=d("ProS");d("vZI5"),d("GeKi");var A=d("6r85"),b=d("TJmX"),m=d("CbHG");w.registerPreprocessor(A),w.registerVisual(b),w.registerLayout(m)},"CMP+":function(M,P,d){var w=d("bYtY"),A=d("hM6l"),b=function(v,p,s,u){A.call(this,v,p,s),this.type=u||"value",this.model=null};b.prototype={constructor:b,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},w.inherits(b,A);var m=b;M.exports=m},Ca5l:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("cxXD"),m=d.n(b),v=d("D3Kp")},CbHG:function(M,P,d){var w=d("IwbS"),A=w.subPixelOptimize,b=d("zM3Q"),m=d("OELB"),v=m.parsePercent,p=d("bYtY"),s=p.retrieve2,u=typeof Float32Array!="undefined"?Float32Array:Array,o={seriesType:"candlestick",plan:b(),reset:function(i){var n=i.coordinateSystem,l=i.getData(),t=r(i,l),a=0,c=1,h=["x","y"],f=l.mapDimension(h[a]),g=l.mapDimension(h[c],!0),S=g[0],y=g[1],E=g[2],C=g[3];if(l.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),f==null||g.length<4)return;return{progress:i.pipelineContext.large?x:T};function T(_,I){for(var L;(L=_.next())!=null;){var D=I.get(f,L),B=I.get(S,L),N=I.get(y,L),k=I.get(E,L),W=I.get(C,L),R=Math.min(B,N),j=Math.max(B,N),H=J(R,D),K=J(j,D),U=J(k,D),Q=J(W,D),V=[];ae(V,K,0),ae(V,H,1),V.push($(Q),$(K),$(U),$(H)),I.setItemLayout(L,{sign:e(I,L,B,N,y),initBaseline:B>N?K[c]:H[c],ends:V,brushRect:se(k,W,D)})}function J(ge,he){var Ie=[];return Ie[a]=he,Ie[c]=ge,isNaN(he)||isNaN(ge)?[NaN,NaN]:n.dataToPoint(Ie)}function ae(ge,he,Ie){var Se=he.slice(),Le=he.slice();Se[a]=A(Se[a]+t/2,1,!1),Le[a]=A(Le[a]-t/2,1,!0),Ie?ge.push(Se,Le):ge.push(Le,Se)}function se(ge,he,Ie){var Se=J(ge,Ie),Le=J(he,Ie);return Se[a]-=t/2,Le[a]-=t/2,{x:Se[0],y:Se[1],width:c?t:Le[0]-Se[0],height:c?Le[1]-Se[1]:t}}function $(ge){return ge[a]=A(ge[a],1),ge}}function x(_,I){for(var L=new u(_.count*4),D=0,B,N=[],k=[],W;(W=_.next())!=null;){var R=I.get(f,W),j=I.get(S,W),H=I.get(y,W),K=I.get(E,W),U=I.get(C,W);if(isNaN(R)||isNaN(K)||isNaN(U)){L[D++]=NaN,D+=3;continue}L[D++]=e(I,W,j,H,y),N[a]=R,N[c]=K,B=n.dataToPoint(N,null,k),L[D++]=B?B[0]:NaN,L[D++]=B?B[1]:NaN,N[c]=U,B=n.dataToPoint(N,null,k),L[D++]=B?B[1]:NaN}I.setLayout("largePoints",L)}}};function e(i,n,l,t,a){var c;return l>t?c=-1:l<t?c=1:c=n>0?i.get(a,n-1)<=t?1:-1:1,c}function r(i,n){var l=i.getBaseAxis(),t,a=l.type==="category"?l.getBandWidth():(t=l.getExtent(),Math.abs(t[1]-t[0])/n.count()),c=v(s(i.get("barMaxWidth"),a),a),h=v(s(i.get("barMinWidth"),1),a),f=i.get("barWidth");return f!=null?v(f,a):Math.max(Math.min(a/2,c),h)}M.exports=o},CiB2:function(M,P,d){"use strict";d.d(P,"a",function(){return w});function w(A){if(A==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(M,P,d){d("5NHt"),d("f3JH")},CrYA:function(M,P,d){var w=d("MFOe"),A=w.Global;M.exports={name:"sessionStorage",read:m,write:v,each:p,remove:s,clearAll:u};function b(){return A.sessionStorage}function m(o){return b().getItem(o)}function v(o,e){return b().setItem(o,e)}function p(o){for(var e=b().length-1;e>=0;e--){var r=b().key(e);o(m(r),r)}}function s(o){return b().removeItem(o)}function u(){return b().clear()}},"D+Ab":function(M,P,d){},D1WM:function(M,P,d){var w=d("bYtY"),A=d("hM6l"),b=function(v,p,s,u,o){A.call(this,v,p,s),this.type=u||"value",this.axisIndex=o};b.prototype={constructor:b,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},w.inherits(b,A);var m=b;M.exports=m},D3Kp:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("D+Ab"),m=d.n(b),v=d("HaWY")},D5nY:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("4NO4"),m=b.makeInner,v=b.getDataItemValue,p=d("bYtY"),s=p.createHashMap,u=p.each,o=p.map,e=p.isArray,r=p.isString,i=p.isObject,n=p.isTypedArray,l=p.isArrayLike,t=p.extend,a=p.assert,c=d("7G+c"),h=d("k9D9"),f=h.SOURCE_FORMAT_ORIGINAL,g=h.SOURCE_FORMAT_ARRAY_ROWS,S=h.SOURCE_FORMAT_OBJECT_ROWS,y=h.SOURCE_FORMAT_KEYED_COLUMNS,E=h.SOURCE_FORMAT_UNKNOWN,C=h.SOURCE_FORMAT_TYPED_ARRAY,T=h.SERIES_LAYOUT_BY_ROW,x={Must:1,Might:2,Not:3},_=m();function I(V){var J=V.option.source,ae=E;if(n(J))ae=C;else if(e(J)){J.length===0&&(ae=g);for(var se=0,$=J.length;se<$;se++){var ge=J[se];if(ge==null)continue;if(e(ge)){ae=g;break}else if(i(ge)){ae=S;break}}}else if(i(J)){for(var he in J)if(J.hasOwnProperty(he)&&l(J[he])){ae=y;break}}else if(J!=null)throw new Error("Invalid data");_(V).sourceFormat=ae}function L(V){return _(V).source}function D(V){_(V).datasetMap=s()}function B(V){var J=V.option,ae=J.data,se=n(ae)?C:f,$=!1,ge=J.seriesLayoutBy,he=J.sourceHeader,Ie=J.dimensions,Se=K(V);if(Se){var Le=Se.option;ae=Le.source,se=_(Se).sourceFormat,$=!0,ge=ge||Le.seriesLayoutBy,he==null&&(he=Le.sourceHeader),Ie=Ie||Le.dimensions}var He=N(ae,se,ge,he,Ie);_(V).source=new c({data:ae,fromDataset:$,seriesLayoutBy:ge,sourceFormat:se,dimensionsDefine:He.dimensionsDefine,startIndex:He.startIndex,dimensionsDetectCount:He.dimensionsDetectCount,encodeDefine:J.encode})}function N(V,J,ae,se,$){if(!V)return{dimensionsDefine:k($)};var ge,he;if(J===g)se==="auto"||se==null?W(function(Se){Se!=null&&Se!=="-"&&(r(Se)?he==null&&(he=1):he=0)},ae,V,10):he=se?1:0,!$&&he===1&&($=[],W(function(Se,Le){$[Le]=Se!=null?Se:""},ae,V)),ge=$?$.length:ae===T?V.length:V[0]?V[0].length:null;else if(J===S)$||($=R(V));else if(J===y)$||($=[],u(V,function(Se,Le){$.push(Le)}));else if(J===f){var Ie=v(V[0]);ge=e(Ie)&&Ie.length||1}else J===C;return{startIndex:he,dimensionsDefine:k($),dimensionsDetectCount:ge}}function k(V){if(!V)return;var J=s();return o(V,function(ae,se){if(ae=t({},i(ae)?ae:{name:ae}),ae.name==null)return ae;ae.name+="",ae.displayName==null&&(ae.displayName=ae.name);var $=J.get(ae.name);return $?ae.name+="-"+$.count++:J.set(ae.name,{count:1}),ae})}function W(V,J,ae,se){if(se==null&&(se=Infinity),J===T)for(var $=0;$<ae.length&&$<se;$++)V(ae[$]?ae[$][0]:null,$);else for(var ge=ae[0]||[],$=0;$<ge.length&&$<se;$++)V(ge[$],$)}function R(V){for(var J=0,ae;J<V.length&&!(ae=V[J++]););if(ae){var se=[];return u(ae,function($,ge){se.push(ge)}),se}}function j(V,J,ae){var se={},$=K(J);if(!$||!V)return se;var ge=[],he=[],Ie=J.ecModel,Se=_(Ie).datasetMap,Le=$.uid+"_"+ae.seriesLayoutBy,He,G;V=V.slice(),u(V,function(X,z){!i(X)&&(V[z]={name:X}),X.type==="ordinal"&&He==null&&(He=z,G=te(V[z])),se[X.name]=[]});var pe=Se.get(Le)||Se.set(Le,{categoryWayDim:G,valueWayDim:0});u(V,function(X,z){var Z=X.name,be=te(X);if(He==null){var ne=pe.valueWayDim;We(se[Z],ne,be),We(he,ne,be),pe.valueWayDim+=be}else if(He===z)We(se[Z],0,be),We(ge,0,be);else{var ne=pe.categoryWayDim;We(se[Z],ne,be),We(he,ne,be),pe.categoryWayDim+=be}});function We(X,z,Z){for(var be=0;be<Z;be++)X.push(z+be)}function te(X){var z=X.dimsDef;return z?z.length:1}return ge.length&&(se.itemName=ge),he.length&&(se.seriesName=he),se}function H(V,J,ae){var se={},$=K(V);if(!$)return se;var ge=J.sourceFormat,he=J.dimensionsDefine,Ie;(ge===S||ge===y)&&u(he,function(He,G){(i(He)?He.name:He)==="name"&&(Ie=G)});var Se=function(){for(var He={},G={},pe=[],We=0,te=Math.min(5,ae);We<te;We++){var X=Q(J.data,ge,J.seriesLayoutBy,he,J.startIndex,We);pe.push(X);var z=X===x.Not;if(z&&He.v==null&&We!==Ie&&(He.v=We),(He.n==null||He.n===He.v||!z&&pe[He.n]===x.Not)&&(He.n=We),Z(He)&&pe[He.n]!==x.Not)return He;z||(X===x.Might&&G.v==null&&We!==Ie&&(G.v=We),(G.n==null||G.n===G.v)&&(G.n=We))}function Z(be){return be.v!=null&&be.n!=null}return Z(He)?He:Z(G)?G:null}();if(Se){se.value=Se.v;var Le=Ie!=null?Ie:Se.n;se.itemName=[Le],se.seriesName=[Le]}return se}function K(V){var J=V.option,ae=J.data;if(!ae)return V.ecModel.getComponent("dataset",J.datasetIndex||0)}function U(V,J){return Q(V.data,V.sourceFormat,V.seriesLayoutBy,V.dimensionsDefine,V.startIndex,J)}function Q(V,J,ae,se,$,ge){var he,Ie=5;if(n(V))return x.Not;var Se,Le;if(se){var He=se[ge];i(He)?(Se=He.name,Le=He.type):r(He)&&(Se=He)}if(Le!=null)return Le==="ordinal"?x.Must:x.Not;if(J===g)if(ae===T){for(var G=V[ge],pe=0;pe<(G||[]).length&&pe<Ie;pe++)if((he=z(G[$+pe]))!=null)return he}else for(var pe=0;pe<V.length&&pe<Ie;pe++){var We=V[$+pe];if(We&&(he=z(We[ge]))!=null)return he}else if(J===S){if(!Se)return x.Not;for(var pe=0;pe<V.length&&pe<Ie;pe++){var te=V[pe];if(te&&(he=z(te[Se]))!=null)return he}}else if(J===y){if(!Se)return x.Not;var G=V[Se];if(!G||n(G))return x.Not;for(var pe=0;pe<G.length&&pe<Ie;pe++)if((he=z(G[pe]))!=null)return he}else if(J===f)for(var pe=0;pe<V.length&&pe<Ie;pe++){var te=V[pe],X=v(te);if(!e(X))return x.Not;if((he=z(X[ge]))!=null)return he}function z(Z){var be=r(Z);if(Z!=null&&isFinite(Z)&&Z!=="")return be?x.Might:x.Not;if(be&&Z!=="-")return x.Must}return x.Not}P.BE_ORDINAL=x,P.detectSourceFormat=I,P.getSource=L,P.resetSourceDefaulter=D,P.prepareSource=B,P.makeSeriesEncodeForAxisCoordSys=j,P.makeSeriesEncodeForNameBased=H,P.guessOrdinal=U},D6x8:function(M,P,d){},D9ME:function(M,P,d){var w=d("IwbS"),A=d("fls0"),b=d("bYtY"),m=d("oVpE"),v=m.createSymbol,p=d("QBsz"),s=d("Sj9i");function u(r,i,n){w.Group.call(this),this.add(this.createLine(r,i,n)),this._updateEffectSymbol(r,i)}var o=u.prototype;o.createLine=function(r,i,n){return new A(r,i,n)},o._updateEffectSymbol=function(r,i){var n=r.getItemModel(i),l=n.getModel("effect"),t=l.get("symbolSize"),a=l.get("symbol");b.isArray(t)||(t=[t,t]);var c=l.get("color")||r.getItemVisual(i,"color"),h=this.childAt(1);if(this._symbolType!==a&&(this.remove(h),h=v(a,-.5,-.5,1,1,c),h.z2=100,h.culling=!0,this.add(h)),!h)return;h.setStyle("shadowColor",c),h.setStyle(l.getItemStyle(["color"])),h.attr("scale",t),h.setColor(c),h.attr("scale",t),this._symbolType=a,this._symbolScale=t,this._updateEffectAnimation(r,l,i)},o._updateEffectAnimation=function(r,i,n){var l=this.childAt(1);if(!l)return;var t=this,a=r.getItemLayout(n),c=i.get("period")*1e3,h=i.get("loop"),f=i.get("constantSpeed"),g=b.retrieve(i.get("delay"),function(C){return C/r.count()*c/3}),S=typeof g=="function";if(l.ignore=!0,this.updateAnimationPoints(l,a),f>0&&(c=this.getLineLength(l)/f*1e3),c!==this._period||h!==this._loop){l.stopAnimation();var y=g;S&&(y=g(n)),l.__t>0&&(y=-c*l.__t),l.__t=0;var E=l.animate("",h).when(c,{__t:1}).delay(y).during(function(){t.updateSymbolPosition(l)});h||E.done(function(){t.remove(l)}),E.start()}this._period=c,this._loop=h},o.getLineLength=function(r){return p.dist(r.__p1,r.__cp1)+p.dist(r.__cp1,r.__p2)},o.updateAnimationPoints=function(r,i){r.__p1=i[0],r.__p2=i[1],r.__cp1=i[2]||[(i[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2]},o.updateData=function(r,i,n){this.childAt(0).updateData(r,i,n),this._updateEffectSymbol(r,i)},o.updateSymbolPosition=function(r){var i=r.__p1,n=r.__p2,l=r.__cp1,t=r.__t,a=r.position,c=[a[0],a[1]],h=s.quadraticAt,f=s.quadraticDerivativeAt;a[0]=h(i[0],l[0],n[0],t),a[1]=h(i[1],l[1],n[1],t);var g=f(i[0],l[0],n[0],t),S=f(i[1],l[1],n[1],t);if(r.rotation=-Math.atan2(S,g)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(r.__lastT!==void 0&&r.__lastT<r.__t){var y=p.dist(c,a)*1.05;r.attr("scale",[r.scale[0],y]),t===1&&(a[0]=c[0]+(a[0]-c[0])/2,a[1]=c[1]+(a[1]-c[1])/2)}else if(r.__lastT===1){var y=2*p.dist(i,a);r.attr("scale",[r.scale[0],y])}else r.attr("scale",this._symbolScale);r.__lastT=r.__t,r.ignore=!1},o.updateLayout=function(r,i){this.childAt(0).updateLayout(r,i);var n=r.getItemModel(i).getModel("effect");this._updateEffectAnimation(r,n,i)},b.inherits(u,w.Group);var e=u;M.exports=e},DBLp:function(M,P){function d(){}d.prototype={diff:function(p,s,u){u||(u=function(S,y){return S===y}),this.equals=u;var o=this;p=p.slice(),s=s.slice();var e=s.length,r=p.length,i=1,n=e+r,l=[{newPos:-1,components:[]}],t=this.extractCommon(l[0],s,p,0);if(l[0].newPos+1>=e&&t+1>=r){for(var a=[],c=0;c<s.length;c++)a.push(c);return[{indices:a,count:s.length}]}function h(){for(var g=-1*i;g<=i;g+=2){var S,y=l[g-1],E=l[g+1],C=(E?E.newPos:0)-g;y&&(l[g-1]=void 0);var T=y&&y.newPos+1<e,x=E&&0<=C&&C<r;if(!T&&!x){l[g]=void 0;continue}if(!T||x&&y.newPos<E.newPos?(S=A(E),o.pushComponent(S.components,void 0,!0)):(S=y,S.newPos++,o.pushComponent(S.components,!0,void 0)),C=o.extractCommon(S,s,p,g),S.newPos+1>=e&&C+1>=r)return w(o,S.components,s,p);l[g]=S}i++}for(;i<=n;){var f=h();if(f)return f}},pushComponent:function(p,s,u){var o=p[p.length-1];o&&o.added===s&&o.removed===u?p[p.length-1]={count:o.count+1,added:s,removed:u}:p.push({count:1,added:s,removed:u})},extractCommon:function(p,s,u,o){for(var e=s.length,r=u.length,i=p.newPos,n=i-o,l=0;i+1<e&&n+1<r&&this.equals(s[i+1],u[n+1]);)i++,n++,l++;return l&&p.components.push({count:l}),p.newPos=i,n},tokenize:function(p){return p.slice()},join:function(p){return p.slice()}};function w(v,p,s,u){for(var o=0,e=p.length,r=0,i=0;o<e;o++){var n=p[o];if(n.removed){for(var l=[],t=i;t<i+n.count;t++)l.push(t);n.indices=l,i+=n.count}else{for(var l=[],t=r;t<r+n.count;t++)l.push(t);n.indices=l,r+=n.count,n.added||(i+=n.count)}}return p}function A(v){return{newPos:v.newPos,components:v.components.slice(0)}}var b=new d;function m(v,p,s){return b.diff(v,p,s)}M.exports=m},DCkM:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("D6x8"),m=d.n(b)},DEFe:function(M,P,d){var w=d("bYtY"),A=d("SgGq"),b=d("Ae+d"),m=d("xSat"),v=m.onIrrelevantElement,p=d("IwbS"),s=d("W4dC"),u=d("iRjW"),o=u.getUID,e=d("DN4a");function r(a){var c=a.getItemStyle(),h=a.get("areaColor");return h!=null&&(c.fill=h),c}function i(a,c,h,f,g){h.off("click"),h.off("mousedown"),c.get("selectedMode")&&(h.on("mousedown",function(){a._mouseDownFlag=!0}),h.on("click",function(S){if(!a._mouseDownFlag)return;a._mouseDownFlag=!1;for(var y=S.target;!y.__regions;)y=y.parent;if(!y)return;var E={type:(c.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:w.map(y.__regions,function(C){return{name:C.name,from:g.uid}})};E[c.mainType+"Id"]=c.id,f.dispatchAction(E),n(c,h)}))}function n(a,c){c.eachChild(function(h){w.each(h.__regions,function(f){h.trigger(a.isSelected(f.name)?"emphasis":"normal")})})}function l(a,c){var h=new p.Group;this.uid=o("ec_map_draw"),this._controller=new A(a.getZr()),this._controllerHost={target:c?h:null},this.group=h,this._updateGroup=c,this._mouseDownFlag,this._mapName,this._initialized,h.add(this._regionsGroup=new p.Group),h.add(this._backgroundGroup=new p.Group)}l.prototype={constructor:l,draw:function(a,c,h,f,g){var S=a.mainType==="geo",y=a.getData&&a.getData();S&&c.eachComponent({mainType:"series",subType:"map"},function(K){!y&&K.getHostGeoModel()===a&&(y=K.getData())});var E=a.coordinateSystem;this._updateBackground(E);var C=this._regionsGroup,T=this.group,x=E.getTransformInfo(),_=!C.childAt(0)||g,I;if(_)T.transform=x.roamTransform,T.decomposeTransform(),T.dirty();else{var L=new e;L.transform=x.roamTransform,L.decomposeTransform();var D={scale:L.scale,position:L.position};I=L.scale,p.updateProps(T,D,a)}var B=x.rawScale,N=x.rawPosition;C.removeAll();var k=["itemStyle"],W=["emphasis","itemStyle"],R=["label"],j=["emphasis","label"],H=w.createHashMap();w.each(E.regions,function(K){var U=H.get(K.name)||H.set(K.name,new p.Group),Q=new p.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});U.add(Q);var V=a.getRegionModel(K.name)||a,J=V.getModel(k),ae=V.getModel(W),se=r(J),$=r(ae),ge=V.getModel(R),he=V.getModel(j),Ie;if(y){Ie=y.indexOfName(K.name);var Se=y.getItemVisual(Ie,"color",!0);Se&&(se.fill=Se)}var Le=function(ne){return[ne[0]*B[0]+N[0],ne[1]*B[1]+N[1]]};w.each(K.geometries,function(ne){if(ne.type!=="polygon")return;for(var Ae=[],Ne=0;Ne<ne.exterior.length;++Ne)Ae.push(Le(ne.exterior[Ne]));Q.shape.paths.push(new p.Polygon({segmentIgnoreThreshold:1,shape:{points:Ae}}));for(var Ne=0;Ne<(ne.interiors?ne.interiors.length:0);++Ne){for(var oe=ne.interiors[Ne],Ae=[],de=0;de<oe.length;++de)Ae.push(Le(oe[de]));Q.shape.paths.push(new p.Polygon({segmentIgnoreThreshold:1,shape:{points:Ae}}))}}),Q.setStyle(se),Q.style.strokeNoScale=!0,Q.culling=!0;var He=ge.get("show"),G=he.get("show"),pe=y&&isNaN(y.get(y.mapDimension("value"),Ie)),We=y&&y.getItemLayout(Ie);if(S||pe&&(He||G)||We&&We.showLabel){var te=S?K.name:Ie,X;(!y||Ie>=0)&&(X=a);var z=new p.Text({position:Le(K.center.slice()),scale:[1/T.scale[0],1/T.scale[1]],z2:10,silent:!0});if(p.setLabelStyle(z.style,z.hoverStyle={},ge,he,{labelFetcher:X,labelDataIndex:te,defaultText:K.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!_){var Z=[1/I[0],1/I[1]];p.updateProps(z,{scale:Z},a)}U.add(z)}if(y)y.setItemGraphicEl(Ie,U);else{var V=a.getRegionModel(K.name);Q.eventData={componentType:"geo",componentIndex:a.componentIndex,geoIndex:a.componentIndex,name:K.name,region:V&&V.option||{}}}var be=U.__regions||(U.__regions=[]);be.push(K),U.highDownSilentOnTouch=!!a.get("selectedMode"),p.setHoverStyle(U,$),C.add(U)}),this._updateController(a,c,h),i(this,a,C,h,f),n(a,C)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&s.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(a){var c=a.map;this._mapName!==c&&w.each(s.makeGraphic(c,this.uid),function(h){this._backgroundGroup.add(h)},this),this._mapName=c},_updateController:function(a,c,h){var f=a.coordinateSystem,g=this._controller,S=this._controllerHost;S.zoomLimit=a.get("scaleLimit"),S.zoom=f.getZoom(),g.enable(a.get("roam")||!1);var y=a.mainType;function E(){var C={type:"geoRoam",componentType:y};return C[y+"Id"]=a.id,C}g.off("pan").on("pan",function(C){this._mouseDownFlag=!1,b.updateViewOnPan(S,C.dx,C.dy),h.dispatchAction(w.extend(E(),{dx:C.dx,dy:C.dy}))},this),g.off("zoom").on("zoom",function(C){if(this._mouseDownFlag=!1,b.updateViewOnZoom(S,C.scale,C.originX,C.originY),h.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),g.setPointerChecker(function(C,T,x){return f.getViewRectAfterRoam().contain(T,x)&&!v(C,h,a)})}};var t=l;M.exports=t},DN4a:function(M,P,d){var w=d("Fofx"),A=d("QBsz"),b=w.identity,m=5e-5;function v(i){return i>m||i<-m}var p=function(n){n=n||{},n.position||(this.position=[0,0]),n.rotation==null&&(this.rotation=0),n.scale||(this.scale=[1,1]),this.origin=this.origin||null},s=p.prototype;s.transform=null,s.needLocalTransform=function(){return v(this.rotation)||v(this.position[0])||v(this.position[1])||v(this.scale[0]-1)||v(this.scale[1]-1)};var u=[];s.updateTransform=function(){var i=this.parent,n=i&&i.transform,l=this.needLocalTransform(),t=this.transform;if(!(l||n)){t&&b(t);return}t=t||w.create(),l?this.getLocalTransform(t):b(t),n&&(l?w.mul(t,i.transform,t):w.copy(t,i.transform)),this.transform=t;var a=this.globalScaleRatio;if(a!=null&&a!==1){this.getGlobalScale(u);var c=u[0]<0?-1:1,h=u[1]<0?-1:1,f=((u[0]-c)*a+c)/u[0]||0,g=((u[1]-h)*a+h)/u[1]||0;t[0]*=f,t[1]*=f,t[2]*=g,t[3]*=g}this.invTransform=this.invTransform||w.create(),w.invert(this.invTransform,t)},s.getLocalTransform=function(i){return p.getLocalTransform(this,i)},s.setTransform=function(i){var n=this.transform,l=i.dpr||1;n?i.setTransform(l*n[0],l*n[1],l*n[2],l*n[3],l*n[4],l*n[5]):i.setTransform(l,0,0,l,0,0)},s.restoreTransform=function(i){var n=i.dpr||1;i.setTransform(n,0,0,n,0,0)};var o=[],e=w.create();s.setLocalTransform=function(i){if(!i)return;var n=i[0]*i[0]+i[1]*i[1],l=i[2]*i[2]+i[3]*i[3],t=this.position,a=this.scale;v(n-1)&&(n=Math.sqrt(n)),v(l-1)&&(l=Math.sqrt(l)),i[0]<0&&(n=-n),i[3]<0&&(l=-l),t[0]=i[4],t[1]=i[5],a[0]=n,a[1]=l,this.rotation=Math.atan2(-i[1]/l,i[0]/n)},s.decomposeTransform=function(){if(!this.transform)return;var i=this.parent,n=this.transform;i&&i.transform&&(w.mul(o,i.invTransform,n),n=o);var l=this.origin;l&&(l[0]||l[1])&&(e[4]=l[0],e[5]=l[1],w.mul(o,n,e),o[4]-=l[0],o[5]-=l[1],n=o),this.setLocalTransform(n)},s.getGlobalScale=function(i){var n=this.transform;return i=i||[],n?(i[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),i[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(i[0]=-i[0]),n[3]<0&&(i[1]=-i[1]),i):(i[0]=1,i[1]=1,i)},s.transformCoordToLocal=function(i,n){var l=[i,n],t=this.invTransform;return t&&A.applyTransform(l,l,t),l},s.transformCoordToGlobal=function(i,n){var l=[i,n],t=this.transform;return t&&A.applyTransform(l,l,t),l},p.getLocalTransform=function(i,n){n=n||[],b(n);var l=i.origin,t=i.scale||[1,1],a=i.rotation||0,c=i.position||[0,0];return l&&(n[4]-=l[0],n[5]-=l[1]),w.scale(n,n,t),a&&w.rotate(n,n,a),l&&(n[4]+=l[0],n[5]+=l[1]),n[4]+=c[0],n[5]+=c[1],n};var r=p;M.exports=r},Dagg:function(M,P,d){var w=d("Gev7"),A=d("mFDi"),b=d("bYtY"),m=d("Xnb7");function v(s){w.call(this,s)}v.prototype={constructor:v,type:"image",brush:function(u,o){var e=this.style,r=e.image;e.bind(u,this,o);var i=this._image=m.createOrUpdateImage(r,this._image,this,this.onload);if(!i||!m.isImageReady(i))return;var n=e.x||0,l=e.y||0,t=e.width,a=e.height,c=i.width/i.height;if(t==null&&a!=null?t=a*c:a==null&&t!=null?a=t/c:t==null&&a==null&&(t=i.width,a=i.height),this.setTransform(u),e.sWidth&&e.sHeight){var h=e.sx||0,f=e.sy||0;u.drawImage(i,h,f,e.sWidth,e.sHeight,n,l,t,a)}else if(e.sx&&e.sy){var h=e.sx,f=e.sy,g=t-h,S=a-f;u.drawImage(i,h,f,g,S,n,l,t,a)}else u.drawImage(i,n,l,t,a);e.text!=null&&(this.restoreTransform(u),this.drawRectText(u,this.getBoundingRect()))},getBoundingRect:function(){var u=this.style;return this._rect||(this._rect=new A(u.x||0,u.y||0,u.width||0,u.height||0)),this._rect}},b.inherits(v,w);var p=v;M.exports=p},Dg8C:function(M,P,d){var w=d("XxSj"),A=d("bYtY");function b(m,v){m.eachSeriesByType("sankey",function(p){var s=p.getGraph(),u=s.nodes;if(u.length){var o=Infinity,e=-Infinity;A.each(u,function(r){var i=r.getLayout().value;i<o&&(o=i),i>e&&(e=i)}),A.each(u,function(r){var i=new w({type:"color",mappingMethod:"linear",dataExtent:[o,e],visual:p.get("color")}),n=i.mapValueToVisual(r.getLayout().value),l=r.getModel().get("itemStyle.color");l!=null?r.setVisual("color",l):r.setVisual("color",n)})}})}M.exports=b},Dk0F:function(M,P,d){},DlQD:function(M,P,d){(function(w,A){M.exports=A()})(this,function(){"use strict";function w(Tt,Ct){for(var Nt=0;Nt<Ct.length;Nt++){var Ge=Ct[Nt];Ge.enumerable=Ge.enumerable||!1,Ge.configurable=!0,"value"in Ge&&(Ge.writable=!0),Object.defineProperty(Tt,Ge.key,Ge)}}function A(Tt,Ct,Nt){return Ct&&w(Tt.prototype,Ct),Nt&&w(Tt,Nt),Tt}function b(Tt,Ct){if(!Tt)return;if(typeof Tt=="string")return m(Tt,Ct);var Nt=Object.prototype.toString.call(Tt).slice(8,-1);if(Nt==="Object"&&Tt.constructor&&(Nt=Tt.constructor.name),Nt==="Map"||Nt==="Set")return Array.from(Tt);if(Nt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Nt))return m(Tt,Ct)}function m(Tt,Ct){(Ct==null||Ct>Tt.length)&&(Ct=Tt.length);for(var Nt=0,Ge=new Array(Ct);Nt<Ct;Nt++)Ge[Nt]=Tt[Nt];return Ge}function v(Tt,Ct){var Nt;if(typeof Symbol=="undefined"||Tt[Symbol.iterator]==null){if(Array.isArray(Tt)||(Nt=b(Tt))||Ct&&Tt&&typeof Tt.length=="number"){Nt&&(Tt=Nt);var Ge=0;return function(){return Ge>=Tt.length?{done:!0}:{done:!1,value:Tt[Ge++]}}}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 Nt=Tt[Symbol.iterator](),Nt.next.bind(Nt)}function p(Tt,Ct){return Ct={exports:{}},Tt(Ct,Ct.exports),Ct.exports}var s=p(function(Tt){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 Nt(Ge){Tt.exports.defaults=Ge}Tt.exports={defaults:Ct(),getDefaults:Ct,changeDefaults:Nt}}),u=s.defaults,o=s.getDefaults,e=s.changeDefaults,r=/[&<>"']/,i=/[&<>"']/g,n=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,t={"&":"&","<":"<",">":">",'"':""","'":"'"},a=function(Ct){return t[Ct]};function c(Tt,Ct){if(Ct){if(r.test(Tt))return Tt.replace(i,a)}else if(n.test(Tt))return Tt.replace(l,a);return Tt}var h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function f(Tt){return Tt.replace(h,function(Ct,Nt){return Nt=Nt.toLowerCase(),Nt==="colon"?":":Nt.charAt(0)==="#"?Nt.charAt(1)==="x"?String.fromCharCode(parseInt(Nt.substring(2),16)):String.fromCharCode(+Nt.substring(1)):""})}var g=/(^|[^\[])\^/g;function S(Tt,Ct){Tt=Tt.source||Tt,Ct=Ct||"";var Nt={replace:function(ie,Y){return Y=Y.source||Y,Y=Y.replace(g,"$1"),Tt=Tt.replace(ie,Y),Nt},getRegex:function(){return new RegExp(Tt,Ct)}};return Nt}var y=/[^\w:]/g,E=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function C(Tt,Ct,Nt){if(Tt){var Ge;try{Ge=decodeURIComponent(f(Nt)).replace(y,"").toLowerCase()}catch(ie){return null}if(Ge.indexOf("javascript:")===0||Ge.indexOf("vbscript:")===0||Ge.indexOf("data:")===0)return null}Ct&&!E.test(Nt)&&(Nt=L(Ct,Nt));try{Nt=encodeURI(Nt).replace(/%25/g,"%")}catch(ie){return null}return Nt}var T={},x=/^[^:]+:\/*[^/]*$/,_=/^([^:]+:)[\s\S]*$/,I=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(Tt,Ct){T[" "+Tt]||(x.test(Tt)?T[" "+Tt]=Tt+"/":T[" "+Tt]=k(Tt,"/",!0)),Tt=T[" "+Tt];var Nt=Tt.indexOf(":")===-1;return Ct.substring(0,2)==="//"?Nt?Ct:Tt.replace(_,"$1")+Ct:Ct.charAt(0)==="/"?Nt?Ct:Tt.replace(I,"$1")+Ct:Tt+Ct}var D={exec:function(){}};function B(Tt){for(var Ct=1,Nt,Ge;Ct<arguments.length;Ct++){Nt=arguments[Ct];for(Ge in Nt)Object.prototype.hasOwnProperty.call(Nt,Ge)&&(Tt[Ge]=Nt[Ge])}return Tt}function N(Tt,Ct){var Nt=Tt.replace(/\|/g,function(Y,we,Ce){for(var le=!1,ot=we;--ot>=0&&Ce[ot]==="\\";)le=!le;return le?"|":" |"}),Ge=Nt.split(/ \|/),ie=0;if(Ge.length>Ct)Ge.splice(Ct);else for(;Ge.length<Ct;)Ge.push("");for(;ie<Ge.length;ie++)Ge[ie]=Ge[ie].trim().replace(/\\\|/g,"|");return Ge}function k(Tt,Ct,Nt){var Ge=Tt.length;if(Ge===0)return"";for(var ie=0;ie<Ge;){var Y=Tt.charAt(Ge-ie-1);if(Y===Ct&&!Nt)ie++;else if(Y!==Ct&&Nt)ie++;else break}return Tt.substr(0,Ge-ie)}function W(Tt,Ct){if(Tt.indexOf(Ct[1])===-1)return-1;for(var Nt=Tt.length,Ge=0,ie=0;ie<Nt;ie++)if(Tt[ie]==="\\")ie++;else if(Tt[ie]===Ct[0])Ge++;else if(Tt[ie]===Ct[1]&&(Ge--,Ge<0))return ie;return-1}function R(Tt){Tt&&Tt.sanitize&&!Tt.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 j={escape:c,unescape:f,edit:S,cleanUrl:C,resolveUrl:L,noopTest:D,merge:B,splitCells:N,rtrim:k,findClosingBracket:W,checkSanitizeDeprecation:R},H=s.defaults,K=j.rtrim,U=j.splitCells,Q=j.escape,V=j.findClosingBracket;function J(Tt,Ct,Nt){var Ge=Ct.href,ie=Ct.title?Q(Ct.title):null,Y=Tt[1].replace(/\\([\[\]])/g,"$1");return Tt[0].charAt(0)!=="!"?{type:"link",raw:Nt,href:Ge,title:ie,text:Y}:{type:"image",raw:Nt,href:Ge,title:ie,text:Q(Y)}}function ae(Tt,Ct){var Nt=Tt.match(/^(\s+)(?:```)/);if(Nt===null)return Ct;var Ge=Nt[1];return Ct.split(`
|
|
|
`).map(function(ie){var Y=ie.match(/^\s+/);if(Y===null)return ie;var we=Y[0];return we.length>=Ge.length?ie.slice(Ge.length):ie}).join(`
|
|
|
`)}var se=function(){function Tt(Nt){this.options=Nt||H}var Ct=Tt.prototype;return Ct.space=function(Ge){var ie=this.rules.block.newline.exec(Ge);if(ie)return ie[0].length>1?{type:"space",raw:ie[0]}:{raw:`
|
|
|
`}},Ct.code=function(Ge,ie){var Y=this.rules.block.code.exec(Ge);if(Y){var we=ie[ie.length-1];if(we&&we.type==="paragraph")return{raw:Y[0],text:Y[0].trimRight()};var Ce=Y[0].replace(/^ {4}/gm,"");return{type:"code",raw:Y[0],codeBlockStyle:"indented",text:this.options.pedantic?Ce:K(Ce,`
|
|
|
`)}}},Ct.fences=function(Ge){var ie=this.rules.block.fences.exec(Ge);if(ie){var Y=ie[0],we=ae(Y,ie[3]||"");return{type:"code",raw:Y,lang:ie[2]?ie[2].trim():ie[2],text:we}}},Ct.heading=function(Ge){var ie=this.rules.block.heading.exec(Ge);if(ie)return{type:"heading",raw:ie[0],depth:ie[1].length,text:ie[2]}},Ct.nptable=function(Ge){var ie=this.rules.block.nptable.exec(Ge);if(ie){var Y={type:"table",header:U(ie[1].replace(/^ *| *\| *$/g,"")),align:ie[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ie[3]?ie[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:ie[0]};if(Y.header.length===Y.align.length){var we=Y.align.length,Ce;for(Ce=0;Ce<we;Ce++)/^ *-+: *$/.test(Y.align[Ce])?Y.align[Ce]="right":/^ *:-+: *$/.test(Y.align[Ce])?Y.align[Ce]="center":/^ *:-+ *$/.test(Y.align[Ce])?Y.align[Ce]="left":Y.align[Ce]=null;for(we=Y.cells.length,Ce=0;Ce<we;Ce++)Y.cells[Ce]=U(Y.cells[Ce],Y.header.length);return Y}}},Ct.hr=function(Ge){var ie=this.rules.block.hr.exec(Ge);if(ie)return{type:"hr",raw:ie[0]}},Ct.blockquote=function(Ge){var ie=this.rules.block.blockquote.exec(Ge);if(ie){var Y=ie[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:ie[0],text:Y}}},Ct.list=function(Ge){var ie=this.rules.block.list.exec(Ge);if(ie){for(var Y=ie[0],we=ie[2],Ce=we.length>1,le=we[we.length-1]===")",ot={type:"list",raw:Y,ordered:Ce,start:Ce?+we.slice(0,-1):"",loose:!1,items:[]},wt=ie[0].match(this.rules.block.item),rt=!1,It,Gt,lr,pr,Rr,xt,Ot,At=wt.length,Jt=0;Jt<At;Jt++)It=wt[Jt],Y=It,Gt=It.length,It=It.replace(/^ *([*+-]|\d+[.)]) */,""),~It.indexOf(`
|
|
|
`)&&(Gt-=It.length,It=this.options.pedantic?It.replace(/^ {1,4}/gm,""):It.replace(new RegExp("^ {1,"+Gt+"}","gm"),"")),Jt!==At-1&&(lr=this.rules.block.bullet.exec(wt[Jt+1])[0],(Ce?lr.length===1||!le&&lr[lr.length-1]===")":lr.length>1||this.options.smartLists&&lr!==we)&&(pr=wt.slice(Jt+1).join(`
|
|
|
`),ot.raw=ot.raw.substring(0,ot.raw.length-pr.length),Jt=At-1)),Rr=rt||/\n\n(?!\s*$)/.test(It),Jt!==At-1&&(rt=It.charAt(It.length-1)===`
|
|
|
`,Rr||(Rr=rt)),Rr&&(ot.loose=!0),xt=/^\[[ xX]\] /.test(It),Ot=void 0,xt&&(Ot=It[1]!==" ",It=It.replace(/^\[[ xX]\] +/,"")),ot.items.push({type:"list_item",raw:Y,task:xt,checked:Ot,loose:Rr,text:It});return ot}},Ct.html=function(Ge){var ie=this.rules.block.html.exec(Ge);if(ie)return{type:this.options.sanitize?"paragraph":"html",raw:ie[0],pre:!this.options.sanitizer&&(ie[1]==="pre"||ie[1]==="script"||ie[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ie[0]):Q(ie[0]):ie[0]}},Ct.def=function(Ge){var ie=this.rules.block.def.exec(Ge);if(ie){ie[3]&&(ie[3]=ie[3].substring(1,ie[3].length-1));var Y=ie[1].toLowerCase().replace(/\s+/g," ");return{tag:Y,raw:ie[0],href:ie[2],title:ie[3]}}},Ct.table=function(Ge){var ie=this.rules.block.table.exec(Ge);if(ie){var Y={type:"table",header:U(ie[1].replace(/^ *| *\| *$/g,"")),align:ie[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ie[3]?ie[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(Y.header.length===Y.align.length){Y.raw=ie[0];var we=Y.align.length,Ce;for(Ce=0;Ce<we;Ce++)/^ *-+: *$/.test(Y.align[Ce])?Y.align[Ce]="right":/^ *:-+: *$/.test(Y.align[Ce])?Y.align[Ce]="center":/^ *:-+ *$/.test(Y.align[Ce])?Y.align[Ce]="left":Y.align[Ce]=null;for(we=Y.cells.length,Ce=0;Ce<we;Ce++)Y.cells[Ce]=U(Y.cells[Ce].replace(/^ *\| *| *\| *$/g,""),Y.header.length);return Y}}},Ct.lheading=function(Ge){var ie=this.rules.block.lheading.exec(Ge);if(ie)return{type:"heading",raw:ie[0],depth:ie[2].charAt(0)==="="?1:2,text:ie[1]}},Ct.paragraph=function(Ge){var ie=this.rules.block.paragraph.exec(Ge);if(ie)return{type:"paragraph",raw:ie[0],text:ie[1].charAt(ie[1].length-1)===`
|
|
|
`?ie[1].slice(0,-1):ie[1]}},Ct.text=function(Ge,ie){var Y=this.rules.block.text.exec(Ge);if(Y){var we=ie[ie.length-1];return we&&we.type==="text"?{raw:Y[0],text:Y[0]}:{type:"text",raw:Y[0],text:Y[0]}}},Ct.escape=function(Ge){var ie=this.rules.inline.escape.exec(Ge);if(ie)return{type:"escape",raw:ie[0],text:Q(ie[1])}},Ct.tag=function(Ge,ie,Y){var we=this.rules.inline.tag.exec(Ge);if(we)return!ie&&/^<a /i.test(we[0])?ie=!0:ie&&/^<\/a>/i.test(we[0])&&(ie=!1),!Y&&/^<(pre|code|kbd|script)(\s|>)/i.test(we[0])?Y=!0:Y&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(we[0])&&(Y=!1),{type:this.options.sanitize?"text":"html",raw:we[0],inLink:ie,inRawBlock:Y,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(we[0]):Q(we[0]):we[0]}},Ct.link=function(Ge){var ie=this.rules.inline.link.exec(Ge);if(ie){var Y=V(ie[2],"()");if(Y>-1){var we=ie[0].indexOf("!")===0?5:4,Ce=we+ie[1].length+Y;ie[2]=ie[2].substring(0,Y),ie[0]=ie[0].substring(0,Ce).trim(),ie[3]=""}var le=ie[2],ot="";if(this.options.pedantic){var wt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(le);wt?(le=wt[1],ot=wt[3]):ot=""}else ot=ie[3]?ie[3].slice(1,-1):"";le=le.trim().replace(/^<([\s\S]*)>$/,"$1");var rt=J(ie,{href:le&&le.replace(this.rules.inline._escapes,"$1"),title:ot&&ot.replace(this.rules.inline._escapes,"$1")},ie[0]);return rt}},Ct.reflink=function(Ge,ie){var Y;if((Y=this.rules.inline.reflink.exec(Ge))||(Y=this.rules.inline.nolink.exec(Ge))){var we=(Y[2]||Y[1]).replace(/\s+/g," ");if(we=ie[we.toLowerCase()],!we||!we.href){var Ce=Y[0].charAt(0);return{type:"text",raw:Ce,text:Ce}}var le=J(Y,we,Y[0]);return le}},Ct.strong=function(Ge,ie,Y){Y===void 0&&(Y="");var we=this.rules.inline.strong.start.exec(Ge);if(we&&(!we[1]||we[1]&&(Y===""||this.rules.inline.punctuation.exec(Y)))){ie=ie.slice(-1*Ge.length);var Ce=we[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;Ce.lastIndex=0;for(var le;(we=Ce.exec(ie))!=null;)if(le=this.rules.inline.strong.middle.exec(ie.slice(0,we.index+3)),le)return{type:"strong",raw:Ge.slice(0,le[0].length),text:Ge.slice(2,le[0].length-2)}}},Ct.em=function(Ge,ie,Y){Y===void 0&&(Y="");var we=this.rules.inline.em.start.exec(Ge);if(we&&(!we[1]||we[1]&&(Y===""||this.rules.inline.punctuation.exec(Y)))){ie=ie.slice(-1*Ge.length);var Ce=we[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;Ce.lastIndex=0;for(var le;(we=Ce.exec(ie))!=null;)if(le=this.rules.inline.em.middle.exec(ie.slice(0,we.index+2)),le)return{type:"em",raw:Ge.slice(0,le[0].length),text:Ge.slice(1,le[0].length-1)}}},Ct.codespan=function(Ge){var ie=this.rules.inline.code.exec(Ge);if(ie){var Y=ie[2].replace(/\n/g," "),we=/[^ ]/.test(Y),Ce=Y.startsWith(" ")&&Y.endsWith(" ");return we&&Ce&&(Y=Y.substring(1,Y.length-1)),Y=Q(Y,!0),{type:"codespan",raw:ie[0],text:Y}}},Ct.br=function(Ge){var ie=this.rules.inline.br.exec(Ge);if(ie)return{type:"br",raw:ie[0]}},Ct.del=function(Ge){var ie=this.rules.inline.del.exec(Ge);if(ie)return{type:"del",raw:ie[0],text:ie[1]}},Ct.autolink=function(Ge,ie){var Y=this.rules.inline.autolink.exec(Ge);if(Y){var we,Ce;return Y[2]==="@"?(we=Q(this.options.mangle?ie(Y[1]):Y[1]),Ce="mailto:"+we):(we=Q(Y[1]),Ce=we),{type:"link",raw:Y[0],text:we,href:Ce,tokens:[{type:"text",raw:we,text:we}]}}},Ct.url=function(Ge,ie){var Y;if(Y=this.rules.inline.url.exec(Ge)){var we,Ce;if(Y[2]==="@")we=Q(this.options.mangle?ie(Y[0]):Y[0]),Ce="mailto:"+we;else{var le;do le=Y[0],Y[0]=this.rules.inline._backpedal.exec(Y[0])[0];while(le!==Y[0]);we=Q(Y[0]),Y[1]==="www."?Ce="http://"+we:Ce=we}return{type:"link",raw:Y[0],text:we,href:Ce,tokens:[{type:"text",raw:we,text:we}]}}},Ct.inlineText=function(Ge,ie,Y){var we=this.rules.inline.text.exec(Ge);if(we){var Ce;return ie?Ce=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(we[0]):Q(we[0]):we[0]:Ce=Q(this.options.smartypants?Y(we[0]):we[0]),{type:"text",raw:we[0],text:Ce}}},Tt}(),$=j.noopTest,ge=j.edit,he=j.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:$,table:$,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=he({},Ie),Ie.gfm=he({},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=he({},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:$,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 Se={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:$,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:$,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Se._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Se.punctuation=ge(Se.punctuation).replace(/punctuation/g,Se._punctuation).getRegex(),Se._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Se._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Se.em.start=ge(Se.em.start).replace(/punctuation/g,Se._punctuation).getRegex(),Se.em.middle=ge(Se.em.middle).replace(/punctuation/g,Se._punctuation).replace(/overlapSkip/g,Se._overlapSkip).getRegex(),Se.em.endAst=ge(Se.em.endAst,"g").replace(/punctuation/g,Se._punctuation).getRegex(),Se.em.endUnd=ge(Se.em.endUnd,"g").replace(/punctuation/g,Se._punctuation).getRegex(),Se.strong.start=ge(Se.strong.start).replace(/punctuation/g,Se._punctuation).getRegex(),Se.strong.middle=ge(Se.strong.middle).replace(/punctuation/g,Se._punctuation).replace(/blockSkip/g,Se._blockSkip).getRegex(),Se.strong.endAst=ge(Se.strong.endAst,"g").replace(/punctuation/g,Se._punctuation).getRegex(),Se.strong.endUnd=ge(Se.strong.endUnd,"g").replace(/punctuation/g,Se._punctuation).getRegex(),Se.blockSkip=ge(Se._blockSkip,"g").getRegex(),Se.overlapSkip=ge(Se._overlapSkip,"g").getRegex(),Se._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Se._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Se._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])?)+(?![-_])/,Se.autolink=ge(Se.autolink).replace("scheme",Se._scheme).replace("email",Se._email).getRegex(),Se._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Se.tag=ge(Se.tag).replace("comment",Ie._comment).replace("attribute",Se._attribute).getRegex(),Se._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Se._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Se._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Se.link=ge(Se.link).replace("label",Se._label).replace("href",Se._href).replace("title",Se._title).getRegex(),Se.reflink=ge(Se.reflink).replace("label",Se._label).getRegex(),Se.reflinkSearch=ge(Se.reflinkSearch,"g").replace("reflink",Se.reflink).replace("nolink",Se.nolink).getRegex(),Se.normal=he({},Se),Se.pedantic=he({},Se.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",Se._label).getRegex(),reflink:ge(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Se._label).getRegex()}),Se.gfm=he({},Se.normal,{escape:ge(Se.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),Se.gfm.url=ge(Se.gfm.url,"i").replace("email",Se.gfm._extended_email).getRegex(),Se.breaks=he({},Se.gfm,{br:ge(Se.br).replace("{2,}","*").getRegex(),text:ge(Se.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Le={block:Ie,inline:Se},He=s.defaults,G=Le.block,pe=Le.inline;function We(Tt){return Tt.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function te(Tt){var Ct="",Nt,Ge,ie=Tt.length;for(Nt=0;Nt<ie;Nt++)Ge=Tt.charCodeAt(Nt),Math.random()>.5&&(Ge="x"+Ge.toString(16)),Ct+="&#"+Ge+";";return Ct}var X=function(){function Tt(Nt){this.tokens=[],this.tokens.links=Object.create(null),this.options=Nt||He,this.options.tokenizer=this.options.tokenizer||new se,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Ge={block:G.normal,inline:pe.normal};this.options.pedantic?(Ge.block=G.pedantic,Ge.inline=pe.pedantic):this.options.gfm&&(Ge.block=G.gfm,this.options.breaks?Ge.inline=pe.breaks:Ge.inline=pe.gfm),this.tokenizer.rules=Ge}Tt.lex=function(Ge,ie){var Y=new Tt(ie);return Y.lex(Ge)};var Ct=Tt.prototype;return Ct.lex=function(Ge){return Ge=Ge.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(Ge,this.tokens,!0),this.inline(this.tokens),this.tokens},Ct.blockTokens=function(Ge,ie,Y){ie===void 0&&(ie=[]),Y===void 0&&(Y=!0),Ge=Ge.replace(/^ +$/gm,"");for(var we,Ce,le,ot;Ge;){if(we=this.tokenizer.space(Ge)){Ge=Ge.substring(we.raw.length),we.type&&ie.push(we);continue}if(we=this.tokenizer.code(Ge,ie)){Ge=Ge.substring(we.raw.length),we.type?ie.push(we):(ot=ie[ie.length-1],ot.raw+=`
|
|
|
`+we.raw,ot.text+=`
|
|
|
`+we.text);continue}if(we=this.tokenizer.fences(Ge)){Ge=Ge.substring(we.raw.length),ie.push(we);continue}if(we=this.tokenizer.heading(Ge)){Ge=Ge.substring(we.raw.length),ie.push(we);continue}if(we=this.tokenizer.nptable(Ge)){Ge=Ge.substring(we.raw.length),ie.push(we);continue}if(we=this.tokenizer.hr(Ge)){Ge=Ge.substring(we.raw.length),ie.push(we);continue}if(we=this.tokenizer.blockquote(Ge)){Ge=Ge.substring(we.raw.length),we.tokens=this.blockTokens(we.text,[],Y),ie.push(we);continue}if(we=this.tokenizer.list(Ge)){for(Ge=Ge.substring(we.raw.length),le=we.items.length,Ce=0;Ce<le;Ce++)we.items[Ce].tokens=this.blockTokens(we.items[Ce].text,[],!1);ie.push(we);continue}if(we=this.tokenizer.html(Ge)){Ge=Ge.substring(we.raw.length),ie.push(we);continue}if(Y&&(we=this.tokenizer.def(Ge))){Ge=Ge.substring(we.raw.length),this.tokens.links[we.tag]||(this.tokens.links[we.tag]={href:we.href,title:we.title});continue}if(we=this.tokenizer.table(Ge)){Ge=Ge.substring(we.raw.length),ie.push(we);continue}if(we=this.tokenizer.lheading(Ge)){Ge=Ge.substring(we.raw.length),ie.push(we);continue}if(Y&&(we=this.tokenizer.paragraph(Ge))){Ge=Ge.substring(we.raw.length),ie.push(we);continue}if(we=this.tokenizer.text(Ge,ie)){Ge=Ge.substring(we.raw.length),we.type?ie.push(we):(ot=ie[ie.length-1],ot.raw+=`
|
|
|
`+we.raw,ot.text+=`
|
|
|
`+we.text);continue}if(Ge){var wt="Infinite loop on byte: "+Ge.charCodeAt(0);if(this.options.silent){console.error(wt);break}else throw new Error(wt)}}return ie},Ct.inline=function(Ge){var ie,Y,we,Ce,le,ot,wt=Ge.length;for(ie=0;ie<wt;ie++){ot=Ge[ie];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:[]},Ce=ot.header.length,Y=0;Y<Ce;Y++)ot.tokens.header[Y]=[],this.inlineTokens(ot.header[Y],ot.tokens.header[Y]);for(Ce=ot.cells.length,Y=0;Y<Ce;Y++)for(le=ot.cells[Y],ot.tokens.cells[Y]=[],we=0;we<le.length;we++)ot.tokens.cells[Y][we]=[],this.inlineTokens(le[we],ot.tokens.cells[Y][we]);break}case"blockquote":{this.inline(ot.tokens);break}case"list":{for(Ce=ot.items.length,Y=0;Y<Ce;Y++)this.inline(ot.items[Y].tokens);break}}}return Ge},Ct.inlineTokens=function(Ge,ie,Y,we,Ce){ie===void 0&&(ie=[]),Y===void 0&&(Y=!1),we===void 0&&(we=!1),Ce===void 0&&(Ce="");var le,ot=Ge,wt;if(this.tokens.links){var rt=Object.keys(this.tokens.links);if(rt.length>0)for(;(wt=this.tokenizer.rules.inline.reflinkSearch.exec(ot))!=null;)rt.includes(wt[0].slice(wt[0].lastIndexOf("[")+1,-1))&&(ot=ot.slice(0,wt.index)+"["+"a".repeat(wt[0].length-2)+"]"+ot.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(wt=this.tokenizer.rules.inline.blockSkip.exec(ot))!=null;)ot=ot.slice(0,wt.index)+"["+"a".repeat(wt[0].length-2)+"]"+ot.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Ge;){if(le=this.tokenizer.escape(Ge)){Ge=Ge.substring(le.raw.length),ie.push(le);continue}if(le=this.tokenizer.tag(Ge,Y,we)){Ge=Ge.substring(le.raw.length),Y=le.inLink,we=le.inRawBlock,ie.push(le);continue}if(le=this.tokenizer.link(Ge)){Ge=Ge.substring(le.raw.length),le.type==="link"&&(le.tokens=this.inlineTokens(le.text,[],!0,we)),ie.push(le);continue}if(le=this.tokenizer.reflink(Ge,this.tokens.links)){Ge=Ge.substring(le.raw.length),le.type==="link"&&(le.tokens=this.inlineTokens(le.text,[],!0,we)),ie.push(le);continue}if(le=this.tokenizer.strong(Ge,ot,Ce)){Ge=Ge.substring(le.raw.length),le.tokens=this.inlineTokens(le.text,[],Y,we),ie.push(le);continue}if(le=this.tokenizer.em(Ge,ot,Ce)){Ge=Ge.substring(le.raw.length),le.tokens=this.inlineTokens(le.text,[],Y,we),ie.push(le);continue}if(le=this.tokenizer.codespan(Ge)){Ge=Ge.substring(le.raw.length),ie.push(le);continue}if(le=this.tokenizer.br(Ge)){Ge=Ge.substring(le.raw.length),ie.push(le);continue}if(le=this.tokenizer.del(Ge)){Ge=Ge.substring(le.raw.length),le.tokens=this.inlineTokens(le.text,[],Y,we),ie.push(le);continue}if(le=this.tokenizer.autolink(Ge,te)){Ge=Ge.substring(le.raw.length),ie.push(le);continue}if(!Y&&(le=this.tokenizer.url(Ge,te))){Ge=Ge.substring(le.raw.length),ie.push(le);continue}if(le=this.tokenizer.inlineText(Ge,we,We)){Ge=Ge.substring(le.raw.length),Ce=le.raw.slice(-1),ie.push(le);continue}if(Ge){var It="Infinite loop on byte: "+Ge.charCodeAt(0);if(this.options.silent){console.error(It);break}else throw new Error(It)}}return ie},A(Tt,null,[{key:"rules",get:function(){return{block:G,inline:pe}}}]),Tt}(),z=s.defaults,Z=j.cleanUrl,be=j.escape,ne=function(){function Tt(Nt){this.options=Nt||z}var Ct=Tt.prototype;return Ct.code=function(Ge,ie,Y){var we=(ie||"").match(/\S*/)[0];if(this.options.highlight){var Ce=this.options.highlight(Ge,we);Ce!=null&&Ce!==Ge&&(Y=!0,Ge=Ce)}return we?'<pre><code class="'+this.options.langPrefix+be(we,!0)+'">'+(Y?Ge:be(Ge,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(Y?Ge:be(Ge,!0))+`</code></pre>
|
|
|
`},Ct.blockquote=function(Ge){return`<blockquote>
|
|
|
`+Ge+`</blockquote>
|
|
|
`},Ct.html=function(Ge){return Ge},Ct.heading=function(Ge,ie,Y,we){return this.options.headerIds?"<h"+ie+' id="'+this.options.headerPrefix+we.slug(Y)+'">'+Ge+"</h"+ie+`>
|
|
|
`:"<h"+ie+">"+Ge+"</h"+ie+`>
|
|
|
`},Ct.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},Ct.list=function(Ge,ie,Y){var we=ie?"ol":"ul",Ce=ie&&Y!==1?' start="'+Y+'"':"";return"<"+we+Ce+`>
|
|
|
`+Ge+"</"+we+`>
|
|
|
`},Ct.listitem=function(Ge){return"<li>"+Ge+`</li>
|
|
|
`},Ct.checkbox=function(Ge){return"<input "+(Ge?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Ct.paragraph=function(Ge){return"<p>"+Ge+`</p>
|
|
|
`},Ct.table=function(Ge,ie){return ie&&(ie="<tbody>"+ie+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+Ge+`</thead>
|
|
|
`+ie+`</table>
|
|
|
`},Ct.tablerow=function(Ge){return`<tr>
|
|
|
`+Ge+`</tr>
|
|
|
`},Ct.tablecell=function(Ge,ie){var Y=ie.header?"th":"td",we=ie.align?"<"+Y+' align="'+ie.align+'">':"<"+Y+">";return we+Ge+"</"+Y+`>
|
|
|
`},Ct.strong=function(Ge){return"<strong>"+Ge+"</strong>"},Ct.em=function(Ge){return"<em>"+Ge+"</em>"},Ct.codespan=function(Ge){return"<code>"+Ge+"</code>"},Ct.br=function(){return this.options.xhtml?"<br/>":"<br>"},Ct.del=function(Ge){return"<del>"+Ge+"</del>"},Ct.link=function(Ge,ie,Y){if(Ge=Z(this.options.sanitize,this.options.baseUrl,Ge),Ge===null)return Y;var we='<a href="'+be(Ge)+'"';return ie&&(we+=' title="'+ie+'"'),we+=">"+Y+"</a>",we},Ct.image=function(Ge,ie,Y){if(Ge=Z(this.options.sanitize,this.options.baseUrl,Ge),Ge===null)return Y;var we='<img src="'+Ge+'" alt="'+Y+'"';return ie&&(we+=' title="'+ie+'"'),we+=this.options.xhtml?"/>":">",we},Ct.text=function(Ge){return Ge},Tt}(),Ae=function(){function Tt(){}var Ct=Tt.prototype;return Ct.strong=function(Ge){return Ge},Ct.em=function(Ge){return Ge},Ct.codespan=function(Ge){return Ge},Ct.del=function(Ge){return Ge},Ct.html=function(Ge){return Ge},Ct.text=function(Ge){return Ge},Ct.link=function(Ge,ie,Y){return""+Y},Ct.image=function(Ge,ie,Y){return""+Y},Ct.br=function(){return""},Tt}(),Ne=function(){function Tt(){this.seen={}}var Ct=Tt.prototype;return Ct.slug=function(Ge){var ie=Ge.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(ie)){var Y=ie;do this.seen[Y]++,ie=Y+"-"+this.seen[Y];while(this.seen.hasOwnProperty(ie))}return this.seen[ie]=0,ie},Tt}(),oe=s.defaults,de=j.unescape,xe=function(){function Tt(Nt){this.options=Nt||oe,this.options.renderer=this.options.renderer||new ne,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ae,this.slugger=new Ne}Tt.parse=function(Ge,ie){var Y=new Tt(ie);return Y.parse(Ge)};var Ct=Tt.prototype;return Ct.parse=function(Ge,ie){ie===void 0&&(ie=!0);var Y="",we,Ce,le,ot,wt,rt,It,Gt,lr,pr,Rr,xt,Ot,At,Jt,br,Lr,Zr,In=Ge.length;for(we=0;we<In;we++){pr=Ge[we];switch(pr.type){case"space":continue;case"hr":{Y+=this.renderer.hr();continue}case"heading":{Y+=this.renderer.heading(this.parseInline(pr.tokens),pr.depth,de(this.parseInline(pr.tokens,this.textRenderer)),this.slugger);continue}case"code":{Y+=this.renderer.code(pr.text,pr.lang,pr.escaped);continue}case"table":{for(Gt="",It="",ot=pr.header.length,Ce=0;Ce<ot;Ce++)It+=this.renderer.tablecell(this.parseInline(pr.tokens.header[Ce]),{header:!0,align:pr.align[Ce]});for(Gt+=this.renderer.tablerow(It),lr="",ot=pr.cells.length,Ce=0;Ce<ot;Ce++){for(rt=pr.tokens.cells[Ce],It="",wt=rt.length,le=0;le<wt;le++)It+=this.renderer.tablecell(this.parseInline(rt[le]),{header:!1,align:pr.align[le]});lr+=this.renderer.tablerow(It)}Y+=this.renderer.table(Gt,lr);continue}case"blockquote":{lr=this.parse(pr.tokens),Y+=this.renderer.blockquote(lr);continue}case"list":{for(Rr=pr.ordered,xt=pr.start,Ot=pr.loose,ot=pr.items.length,lr="",Ce=0;Ce<ot;Ce++)Jt=pr.items[Ce],br=Jt.checked,Lr=Jt.task,At="",Jt.task&&(Zr=this.renderer.checkbox(br),Ot?Jt.tokens.length>0&&Jt.tokens[0].type==="text"?(Jt.tokens[0].text=Zr+" "+Jt.tokens[0].text,Jt.tokens[0].tokens&&Jt.tokens[0].tokens.length>0&&Jt.tokens[0].tokens[0].type==="text"&&(Jt.tokens[0].tokens[0].text=Zr+" "+Jt.tokens[0].tokens[0].text)):Jt.tokens.unshift({type:"text",text:Zr}):At+=Zr),At+=this.parse(Jt.tokens,Ot),lr+=this.renderer.listitem(At,Lr,br);Y+=this.renderer.list(lr,Rr,xt);continue}case"html":{Y+=this.renderer.html(pr.text);continue}case"paragraph":{Y+=this.renderer.paragraph(this.parseInline(pr.tokens));continue}case"text":{for(lr=pr.tokens?this.parseInline(pr.tokens):pr.text;we+1<In&&Ge[we+1].type==="text";)pr=Ge[++we],lr+=`
|
|
|
`+(pr.tokens?this.parseInline(pr.tokens):pr.text);Y+=ie?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 Y},Ct.parseInline=function(Ge,ie){ie=ie||this.renderer;var Y="",we,Ce,le=Ge.length;for(we=0;we<le;we++){Ce=Ge[we];switch(Ce.type){case"escape":{Y+=ie.text(Ce.text);break}case"html":{Y+=ie.html(Ce.text);break}case"link":{Y+=ie.link(Ce.href,Ce.title,this.parseInline(Ce.tokens,ie));break}case"image":{Y+=ie.image(Ce.href,Ce.title,Ce.text);break}case"strong":{Y+=ie.strong(this.parseInline(Ce.tokens,ie));break}case"em":{Y+=ie.em(this.parseInline(Ce.tokens,ie));break}case"codespan":{Y+=ie.codespan(Ce.text);break}case"br":{Y+=ie.br();break}case"del":{Y+=ie.del(this.parseInline(Ce.tokens,ie));break}case"text":{Y+=ie.text(Ce.text);break}default:{var ot='Token with "'+Ce.type+'" type was not found.';if(this.options.silent){console.error(ot);return}else throw new Error(ot)}}}return Y},Tt}(),Pe=j.merge,tt=j.checkSanitizeDeprecation,Je=j.escape,Oe=s.getDefaults,pt=s.changeDefaults,Qe=s.defaults;function nt(Tt,Ct,Nt){if(typeof Tt=="undefined"||Tt===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Tt!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Tt)+", string expected");if(typeof Ct=="function"&&(Nt=Ct,Ct=null),Ct=Pe({},nt.defaults,Ct||{}),tt(Ct),Nt){var Ge=Ct.highlight,ie;try{ie=X.lex(Tt,Ct)}catch(le){return Nt(le)}var Y=function(ot){var wt;if(!ot)try{wt=xe.parse(ie,Ct)}catch(rt){ot=rt}return Ct.highlight=Ge,ot?Nt(ot):Nt(null,wt)};if(!Ge||Ge.length<3)return Y();if(delete Ct.highlight,!ie.length)return Y();var we=0;nt.walkTokens(ie,function(le){le.type==="code"&&(we++,setTimeout(function(){Ge(le.text,le.lang,function(ot,wt){if(ot)return Y(ot);wt!=null&&wt!==le.text&&(le.text=wt,le.escaped=!0),we--,we===0&&Y()})},0))}),we===0&&Y();return}try{var Ce=X.lex(Tt,Ct);return Ct.walkTokens&&nt.walkTokens(Ce,Ct.walkTokens),xe.parse(Ce,Ct)}catch(le){if(le.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Ct.silent)return"<p>An error occurred:</p><pre>"+Je(le.message+"",!0)+"</pre>";throw le}}nt.options=nt.setOptions=function(Tt){return Pe(nt.defaults,Tt),pt(nt.defaults),nt},nt.getDefaults=Oe,nt.defaults=Qe,nt.use=function(Tt){var Ct=Pe({},Tt);if(Tt.renderer&&function(){var Ge=nt.defaults.renderer||new ne,ie=function(Ce){var le=Ge[Ce];Ge[Ce]=function(){for(var ot=arguments.length,wt=new Array(ot),rt=0;rt<ot;rt++)wt[rt]=arguments[rt];var It=Tt.renderer[Ce].apply(Ge,wt);return It===!1&&(It=le.apply(Ge,wt)),It}};for(var Y in Tt.renderer)ie(Y);Ct.renderer=Ge}(),Tt.tokenizer&&function(){var Ge=nt.defaults.tokenizer||new se,ie=function(Ce){var le=Ge[Ce];Ge[Ce]=function(){for(var ot=arguments.length,wt=new Array(ot),rt=0;rt<ot;rt++)wt[rt]=arguments[rt];var It=Tt.tokenizer[Ce].apply(Ge,wt);return It===!1&&(It=le.apply(Ge,wt)),It}};for(var Y in Tt.tokenizer)ie(Y);Ct.tokenizer=Ge}(),Tt.walkTokens){var Nt=nt.defaults.walkTokens;Ct.walkTokens=function(Ge){Tt.walkTokens(Ge),Nt&&Nt(Ge)}}nt.setOptions(Ct)},nt.walkTokens=function(Tt,Ct){for(var Nt=v(Tt),Ge;!(Ge=Nt()).done;){var ie=Ge.value;Ct(ie);switch(ie.type){case"table":{for(var Y=v(ie.tokens.header),we;!(we=Y()).done;){var Ce=we.value;nt.walkTokens(Ce,Ct)}for(var le=v(ie.tokens.cells),ot;!(ot=le()).done;)for(var wt=ot.value,rt=v(wt),It;!(It=rt()).done;){var Gt=It.value;nt.walkTokens(Gt,Ct)}break}case"list":{nt.walkTokens(ie.items,Ct);break}default:ie.tokens&&nt.walkTokens(ie.tokens,Ct)}}},nt.Parser=xe,nt.parser=xe.parse,nt.Renderer=ne,nt.TextRenderer=Ae,nt.Lexer=X,nt.lexer=X.lex,nt.Tokenizer=se,nt.Slugger=Ne,nt.parse=nt;var bt=nt;return bt})},"DlR+":function(M,P,d){var w=d("MFOe"),A=w.Global,b=w.trim;M.exports={name:"cookieStorage",read:v,write:s,each:p,remove:u,clearAll:o};var m=A.document;function v(r){if(!r||!e(r))return null;var i="(?:^|.*;\\s*)"+escape(r).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(m.cookie.replace(new RegExp(i),"$1"))}function p(r){for(var i=m.cookie.split(/; ?/g),n=i.length-1;n>=0;n--){if(!b(i[n]))continue;var l=i[n].split("="),t=unescape(l[0]),a=unescape(l[1]);r(a,t)}}function s(r,i){if(!r)return;m.cookie=escape(r)+"="+escape(i)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function u(r){if(!r||!e(r))return;m.cookie=escape(r)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function o(){p(function(r,i){u(i)})}function e(r){return new RegExp("(?:^|;\\s*)"+escape(r).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(m.cookie)}},Ducp:function(M,P,d){var w=d("bYtY"),A=d("IwbS"),b=d("+TT/"),m=d("XpcN"),v=A.Group,p=["width","height"],s=["x","y"],u=m.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){u.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new v),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new v),this._showController},resetInner:function(){u.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,r,i,n,l,t,a){var c=this;u.superCall(this,"renderInner",e,r,i,n,l,t,a);var h=this._controllerGroup,f=r.get("pageIconSize",!0);w.isArray(f)||(f=[f,f]),S("pagePrev",0);var g=r.getModel("pageTextStyle");h.add(new A.Text({name:"pageText",style:{textFill:g.getTextColor(),font:g.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),S("pageNext",1);function S(y,E){var C=y+"DataIndex",T=A.createIcon(r.get("pageIcons",!0)[r.getOrient().name][E],{onclick:w.bind(c._pageGo,c,C,r,n)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});T.name=y,h.add(T)}},layoutInner:function(e,r,i,n,l,t){var a=this.getSelectorGroup(),c=e.getOrient().index,h=p[c],f=s[c],g=p[1-c],S=s[1-c];l&&b.box("horizontal",a,e.get("selectorItemGap",!0));var y=e.get("selectorButtonGap",!0),E=a.getBoundingRect(),C=[-E.x,-E.y],T=w.clone(i);l&&(T[h]=i[h]-E[h]-y);var x=this._layoutContentAndController(e,n,T,c,h,g,S);if(l){if(t==="end")C[c]+=x[h]+y;else{var _=E[h]+y;C[c]-=_,x[f]-=_}x[h]+=E[h]+y,C[1-c]+=x[S]+x[g]/2-E[g]/2,x[g]=Math.max(x[g],E[g]),x[S]=Math.min(x[S],E[S]+C[1-c]),a.attr("position",C)}return x},_layoutContentAndController:function(e,r,i,n,l,t,a){var c=this.getContentGroup(),h=this._containerGroup,f=this._controllerGroup;b.box(e.get("orient"),c,e.get("itemGap"),n?i.width:null,n?null:i.height),b.box("horizontal",f,e.get("pageButtonItemGap",!0));var g=c.getBoundingRect(),S=f.getBoundingRect(),y=this._showController=g[l]>i[l],E=[-g.x,-g.y];r||(E[n]=c.position[n]);var C=[0,0],T=[-S.x,-S.y],x=w.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(y){var _=e.get("pageButtonPosition",!0);_==="end"?T[n]+=i[l]-S[l]:C[n]+=S[l]+x}T[1-n]+=g[t]/2-S[t]/2,c.attr("position",E),h.attr("position",C),f.attr("position",T);var I={x:0,y:0};if(I[l]=y?i[l]:g[l],I[t]=Math.max(g[t],S[t]),I[a]=Math.min(0,S[a]+T[1-n]),h.__rectSize=i[l],y){var L={x:0,y:0};L[l]=Math.max(i[l]-S[l]-x,0),L[t]=I[t],h.setClipPath(new A.Rect({shape:L})),h.__rectSize=L[l]}else f.eachChild(function(B){B.attr({invisible:!0,silent:!0})});var D=this._getPageInfo(e);return D.pageIndex!=null&&A.updateProps(c,{position:D.contentPosition},y?e:!1),this._updatePageInfoView(e,D),I},_pageGo:function(e,r,i){var n=this._getPageInfo(r)[e];n!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:r.id})},_updatePageInfoView:function(e,r){var i=this._controllerGroup;w.each(["pagePrev","pageNext"],function(h){var f=r[h+"DataIndex"]!=null,g=i.childOfName(h);g&&(g.setStyle("fill",f?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),g.cursor=f?"pointer":"default")});var n=i.childOfName("pageText"),l=e.get("pageFormatter"),t=r.pageIndex,a=t!=null?t+1:0,c=r.pageCount;n&&l&&n.setStyle("text",w.isString(l)?l.replace("{current}",a).replace("{total}",c):l({current:a,total:c}))},_getPageInfo:function(e){var r=e.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,l=e.getOrient().index,t=p[l],a=s[l],c=this._findTargetItemIndex(r),h=i.children(),f=h[c],g=h.length,S=g?1:0,y={contentPosition:i.position.slice(),pageCount:S,pageIndex:S-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return y;var E=I(f);y.contentPosition[l]=-E.s;for(var C=c+1,T=E,x=E,_=null;C<=g;++C)_=I(h[C]),(!_&&x.e>T.s+n||_&&!L(_,T.s))&&(x.i>T.i?T=x:T=_,T&&(y.pageNextDataIndex==null&&(y.pageNextDataIndex=T.i),++y.pageCount)),x=_;for(var C=c-1,T=E,x=E,_=null;C>=-1;--C)_=I(h[C]),(!_||!L(x,_.s))&&T.i<x.i&&(x=T,y.pagePrevDataIndex==null&&(y.pagePrevDataIndex=T.i),++y.pageCount,++y.pageIndex),T=_;return y;function I(D){if(D){var B=D.getBoundingRect(),N=B[a]+D.position[l];return{s:N,e:N+B[t],i:D.__legendDataIndex}}}function L(D,B){return D.e>=B&&D.s<=B+n}},_findTargetItemIndex:function(e){if(!this._showController)return 0;var r,i=this.getContentGroup(),n;return i.eachChild(function(l,t){var a=l.__legendDataIndex;n==null&&a!=null&&(n=t),a===e&&(r=t)}),r!=null?r:n}}),o=u;M.exports=o},E2g8:function(M,P,d){(function(w,A){/*!
|
|
|
* @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(b,m){M.exports=m()})(this,function(){"use strict";function b(ne){var Ae=typeof ne;return ne!==null&&(Ae==="object"||Ae==="function")}function m(ne){return typeof ne=="function"}var v=void 0;Array.isArray?v=Array.isArray:v=function(Ae){return Object.prototype.toString.call(Ae)==="[object Array]"};var p=v,s=0,u=void 0,o=void 0,e=function(Ae,Ne){E[s]=Ae,E[s+1]=Ne,s+=2,s===2&&(o?o(C):x())};function r(ne){o=ne}function i(ne){e=ne}var n=typeof window!="undefined"?window:void 0,l=n||{},t=l.MutationObserver||l.WebKitMutationObserver,a=typeof self=="undefined"&&typeof w!="undefined"&&{}.toString.call(w)==="[object process]",c=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function h(){return function(){return w.nextTick(C)}}function f(){return typeof u!="undefined"?function(){u(C)}:y()}function g(){var ne=0,Ae=new t(C),Ne=document.createTextNode("");return Ae.observe(Ne,{characterData:!0}),function(){Ne.data=ne=++ne%2}}function S(){var ne=new MessageChannel;return ne.port1.onmessage=C,function(){return ne.port2.postMessage(0)}}function y(){var ne=setTimeout;return function(){return ne(C,1)}}var E=new Array(1e3);function C(){for(var ne=0;ne<s;ne+=2){var Ae=E[ne],Ne=E[ne+1];Ae(Ne),E[ne]=void 0,E[ne+1]=void 0}s=0}function T(){try{var ne=Function("return this")().require("vertx");return u=ne.runOnLoop||ne.runOnContext,f()}catch(Ae){return y()}}var x=void 0;a?x=h():t?x=g():c?x=S():n===void 0&&!0?x=T():x=y();function _(ne,Ae){var Ne=this,oe=new this.constructor(D);oe[L]===void 0&&Le(oe);var de=Ne._state;if(de){var xe=arguments[de-1];e(function(){return ge(de,oe,xe,Ne._result)})}else se(Ne,oe,ne,Ae);return oe}function I(ne){var Ae=this;if(ne&&typeof ne=="object"&&ne.constructor===Ae)return ne;var Ne=new Ae(D);return Q(Ne,ne),Ne}var L=Math.random().toString(36).substring(2);function D(){}var B=void 0,N=1,k=2;function W(){return new TypeError("You cannot resolve a promise with itself")}function R(){return new TypeError("A promises callback cannot return that same promise.")}function j(ne,Ae,Ne,oe){try{ne.call(Ae,Ne,oe)}catch(de){return de}}function H(ne,Ae,Ne){e(function(oe){var de=!1,xe=j(Ne,Ae,function(Pe){if(de)return;de=!0,Ae!==Pe?Q(oe,Pe):J(oe,Pe)},function(Pe){if(de)return;de=!0,ae(oe,Pe)},"Settle: "+(oe._label||" unknown promise"));!de&&xe&&(de=!0,ae(oe,xe))},ne)}function K(ne,Ae){Ae._state===N?J(ne,Ae._result):Ae._state===k?ae(ne,Ae._result):se(Ae,void 0,function(Ne){return Q(ne,Ne)},function(Ne){return ae(ne,Ne)})}function U(ne,Ae,Ne){Ae.constructor===ne.constructor&&Ne===_&&Ae.constructor.resolve===I?K(ne,Ae):Ne===void 0?J(ne,Ae):m(Ne)?H(ne,Ae,Ne):J(ne,Ae)}function Q(ne,Ae){if(ne===Ae)ae(ne,W());else if(b(Ae)){var Ne=void 0;try{Ne=Ae.then}catch(oe){ae(ne,oe);return}U(ne,Ae,Ne)}else J(ne,Ae)}function V(ne){ne._onerror&&ne._onerror(ne._result),$(ne)}function J(ne,Ae){if(ne._state!==B)return;ne._result=Ae,ne._state=N,ne._subscribers.length!==0&&e($,ne)}function ae(ne,Ae){if(ne._state!==B)return;ne._state=k,ne._result=Ae,e(V,ne)}function se(ne,Ae,Ne,oe){var de=ne._subscribers,xe=de.length;ne._onerror=null,de[xe]=Ae,de[xe+N]=Ne,de[xe+k]=oe,xe===0&&ne._state&&e($,ne)}function $(ne){var Ae=ne._subscribers,Ne=ne._state;if(Ae.length===0)return;for(var oe=void 0,de=void 0,xe=ne._result,Pe=0;Pe<Ae.length;Pe+=3)oe=Ae[Pe],de=Ae[Pe+Ne],oe?ge(Ne,oe,de,xe):de(xe);ne._subscribers.length=0}function ge(ne,Ae,Ne,oe){var de=m(Ne),xe=void 0,Pe=void 0,tt=!0;if(de){try{xe=Ne(oe)}catch(Je){tt=!1,Pe=Je}if(Ae===xe){ae(Ae,R());return}}else xe=oe;Ae._state!==B||(de&&tt?Q(Ae,xe):tt===!1?ae(Ae,Pe):ne===N?J(Ae,xe):ne===k&&ae(Ae,xe))}function he(ne,Ae){try{Ae(function(oe){Q(ne,oe)},function(oe){ae(ne,oe)})}catch(Ne){ae(ne,Ne)}}var Ie=0;function Se(){return Ie++}function Le(ne){ne[L]=Ie++,ne._state=void 0,ne._result=void 0,ne._subscribers=[]}function He(){return new Error("Array Methods must be provided an Array")}var G=function(){function ne(Ae,Ne){this._instanceConstructor=Ae,this.promise=new Ae(D),this.promise[L]||Le(this.promise),p(Ne)?(this.length=Ne.length,this._remaining=Ne.length,this._result=new Array(this.length),this.length===0?J(this.promise,this._result):(this.length=this.length||0,this._enumerate(Ne),this._remaining===0&&J(this.promise,this._result))):ae(this.promise,He())}return ne.prototype._enumerate=function(Ne){for(var oe=0;this._state===B&&oe<Ne.length;oe++)this._eachEntry(Ne[oe],oe)},ne.prototype._eachEntry=function(Ne,oe){var de=this._instanceConstructor,xe=de.resolve;if(xe===I){var Pe=void 0,tt=void 0,Je=!1;try{Pe=Ne.then}catch(pt){Je=!0,tt=pt}if(Pe===_&&Ne._state!==B)this._settledAt(Ne._state,oe,Ne._result);else if(typeof Pe!="function")this._remaining--,this._result[oe]=Ne;else if(de===Z){var Oe=new de(D);Je?ae(Oe,tt):U(Oe,Ne,Pe),this._willSettleAt(Oe,oe)}else this._willSettleAt(new de(function(pt){return pt(Ne)}),oe)}else this._willSettleAt(xe(Ne),oe)},ne.prototype._settledAt=function(Ne,oe,de){var xe=this.promise;xe._state===B&&(this._remaining--,Ne===k?ae(xe,de):this._result[oe]=de),this._remaining===0&&J(xe,this._result)},ne.prototype._willSettleAt=function(Ne,oe){var de=this;se(Ne,void 0,function(xe){return de._settledAt(N,oe,xe)},function(xe){return de._settledAt(k,oe,xe)})},ne}();function pe(ne){return new G(this,ne).promise}function We(ne){var Ae=this;return p(ne)?new Ae(function(Ne,oe){for(var de=ne.length,xe=0;xe<de;xe++)Ae.resolve(ne[xe]).then(Ne,oe)}):new Ae(function(Ne,oe){return oe(new TypeError("You must pass an array to race."))})}function te(ne){var Ae=this,Ne=new Ae(D);return ae(Ne,ne),Ne}function X(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function z(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Z=function(){function ne(Ae){this[L]=Se(),this._result=this._state=void 0,this._subscribers=[],D!==Ae&&(typeof Ae!="function"&&X(),this instanceof ne?he(this,Ae):z())}return ne.prototype.catch=function(Ne){return this.then(null,Ne)},ne.prototype.finally=function(Ne){var oe=this,de=oe.constructor;return m(Ne)?oe.then(function(xe){return de.resolve(Ne()).then(function(){return xe})},function(xe){return de.resolve(Ne()).then(function(){throw xe})}):oe.then(Ne,Ne)},ne}();Z.prototype.then=_,Z.all=pe,Z.race=We,Z.resolve=I,Z.reject=te,Z._setScheduler=r,Z._setAsap=i,Z._asap=e;function be(){var ne=void 0;if(typeof A!="undefined")ne=A;else if(typeof self!="undefined")ne=self;else try{ne=Function("return this")()}catch(oe){throw new Error("polyfill failed because global object is unavailable in this environment")}var Ae=ne.Promise;if(Ae){var Ne=null;try{Ne=Object.prototype.toString.call(Ae.resolve())}catch(oe){}if(Ne==="[object Promise]"&&!Ae.cast)return}ne.Promise=Z}return Z.polyfill=be,Z.Promise=Z,Z})}).call(this,d("Q2Ig"),d("yLpj"))},E9nw:function(M,P){M.exports=function(){var d=document.getSelection();if(!d.rangeCount)return function(){};for(var w=document.activeElement,A=[],b=0;b<d.rangeCount;b++)A.push(d.getRangeAt(b));switch(w.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":w.blur();break;default:w=null;break}return d.removeAllRanges(),function(){d.type==="Caret"&&d.removeAllRanges(),d.rangeCount||A.forEach(function(m){d.addRange(m)}),w&&w.focus()}}},ELLl:function(M,P,d){(function(w){w(d("VrN/"))})(function(w){var A={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},b=w.Pos;w.defineOption("autoCloseBrackets",!1,function(t,a,c){c&&c!=w.Init&&(t.removeKeyMap(v),t.state.closeBrackets=null),a&&(p(m(a,"pairs")),t.state.closeBrackets=a,t.addKeyMap(v))});function m(t,a){return a=="pairs"&&typeof t=="string"?t:typeof t=="object"&&t[a]!=null?t[a]:A[a]}var v={Backspace:o,Enter:e};function p(t){for(var a=0;a<t.length;a++){var c=t.charAt(a),h="'"+c+"'";v[h]||(v[h]=s(c))}}p(A.pairs+"`");function s(t){return function(a){return i(a,t)}}function u(t){var a=t.state.closeBrackets;if(!a||a.override)return a;var c=t.getModeAt(t.getCursor());return c.closeBrackets||a}function o(t){var a=u(t);if(!a||t.getOption("disableInput"))return w.Pass;for(var c=m(a,"pairs"),h=t.listSelections(),f=0;f<h.length;f++){if(!h[f].empty())return w.Pass;var g=n(t,h[f].head);if(!g||c.indexOf(g)%2!=0)return w.Pass}for(var f=h.length-1;f>=0;f--){var S=h[f].head;t.replaceRange("",b(S.line,S.ch-1),b(S.line,S.ch+1),"+delete")}}function e(t){var a=u(t),c=a&&m(a,"explode");if(!c||t.getOption("disableInput"))return w.Pass;for(var h=t.listSelections(),f=0;f<h.length;f++){if(!h[f].empty())return w.Pass;var g=n(t,h[f].head);if(!g||c.indexOf(g)%2!=0)return w.Pass}t.operation(function(){var S=t.lineSeparator()||`
|
|
|
`;t.replaceSelection(S+S,null),t.execCommand("goCharLeft"),h=t.listSelections();for(var y=0;y<h.length;y++){var E=h[y].head.line;t.indentLine(E,null,!0),t.indentLine(E+1,null,!0)}})}function r(t){var a=w.cmpPos(t.anchor,t.head)>0;return{anchor:new b(t.anchor.line,t.anchor.ch+(a?-1:1)),head:new b(t.head.line,t.head.ch+(a?1:-1))}}function i(t,a){var c=u(t);if(!c||t.getOption("disableInput"))return w.Pass;var h=m(c,"pairs"),f=h.indexOf(a);if(f==-1)return w.Pass;for(var g=m(c,"closeBefore"),S=m(c,"triples"),y=h.charAt(f+1)==a,E=t.listSelections(),C=f%2==0,T,x=0;x<E.length;x++){var _=E[x],I=_.head,L,D=t.getRange(I,b(I.line,I.ch+1));if(C&&!_.empty())L="surround";else if((y||!C)&&D==a)y&&l(t,I)?L="both":S.indexOf(a)>=0&&t.getRange(I,b(I.line,I.ch+3))==a+a+a?L="skipThree":L="skip";else if(y&&I.ch>1&&S.indexOf(a)>=0&&t.getRange(b(I.line,I.ch-2),I)==a+a){if(I.ch>2&&/\bstring/.test(t.getTokenTypeAt(b(I.line,I.ch-2))))return w.Pass;L="addFour"}else if(y){var B=I.ch==0?" ":t.getRange(b(I.line,I.ch-1),I);if(!w.isWordChar(D)&&B!=a&&!w.isWordChar(B))L="both";else return w.Pass}else if(C&&(D.length===0||/\s/.test(D)||g.indexOf(D)>-1))L="both";else return w.Pass;if(!T)T=L;else if(T!=L)return w.Pass}var N=f%2?h.charAt(f-1):a,k=f%2?a:h.charAt(f+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 R=t.getSelections(),W=0;W<R.length;W++)R[W]=N+R[W]+k;t.replaceSelections(R,"around"),R=t.listSelections().slice();for(var W=0;W<R.length;W++)R[W]=r(R[W]);t.setSelections(R)}else T=="both"?(t.replaceSelection(N+k,null),t.triggerElectric(N+k),t.execCommand("goCharLeft")):T=="addFour"&&(t.replaceSelection(N+N+N+N,"before"),t.execCommand("goCharRight"))})}function n(t,a){var c=t.getRange(b(a.line,a.ch-1),b(a.line,a.ch+1));return c.length==2?c:null}function l(t,a){var c=t.getTokenAt(b(a.line,a.ch+1));return/\bstring/.test(c.type)&&c.start==a.ch&&(a.ch==0||!/\bstring/.test(t.getTokenTypeAt(a)))}})},EMyp:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("mFDi"),m=d("K4ya"),v=d("qJCg"),p=d("iLNv"),s=d("vZ6x"),u=["inBrush","outOfBrush"],o="__ecBrushSelect",e="__ecInBrushSelectEvent",r=w.PRIORITY.VISUAL.BRUSH;w.registerLayout(r,function(S,y,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(y){var E=y.brushTargetManager=new s(y.option,S);E.setInputRanges(y.areas,S)})}w.registerVisual(r,function(S,y,E){var C=[],T,x;S.eachComponent({mainType:"brush"},function(_,I){var L={brushId:_.id,brushIndex:I,brushName:_.name,areas:A.clone(_.areas),selected:[]};C.push(L);var D=_.option,B=D.brushLink,N=[],k=[],W=[],R=0;I||(T=D.throttleType,x=D.throttleDelay);var j=A.map(_.areas,function(J){return h(A.defaults({boundingRect:f[J.brushType](J)},J))}),H=m.createVisualMappings(_.option,u,function(J){J.mappingMethod="fixed"});A.isArray(B)&&A.each(B,function(J){N[J]=1});function K(J){return B==="all"||N[J]}function U(J){return!!J.length}S.eachSeries(function(J,ae){var se=W[ae]=[];J.subType==="parallel"?Q(J,ae,se):V(J,ae,se)});function Q(J,ae){var se=J.coordinateSystem;R|=se.hasAxisBrushed(),K(ae)&&se.eachActiveState(J.getData(),function($,ge){$==="active"&&(k[ge]=1)})}function V(J,ae,se){var $=a(J);if(!$||c(_,ae))return;if(A.each(j,function(he){$[he.brushType]&&_.brushTargetManager.controlSeries(he,J,S)&&se.push(he),R|=U(se)}),K(ae)&&U(se)){var ge=J.getData();ge.each(function(he){t($,se,ge,he)&&(k[he]=1)})}}S.eachSeries(function(J,ae){var se={seriesId:J.id,seriesIndex:ae,seriesName:J.name,dataIndex:[]};L.selected.push(se);var $=a(J),ge=W[ae],he=J.getData(),Ie=K(ae)?function(Se){return k[Se]?(se.dataIndex.push(he.getRawIndex(Se)),"inBrush"):"outOfBrush"}:function(Se){return t($,ge,he,Se)?(se.dataIndex.push(he.getRawIndex(Se)),"inBrush"):"outOfBrush"};(K(ae)?R:U(ge))&&m.applyVisual(u,H,he,Ie)})}),n(y,T,x,C,E)});function n(S,y,E,C,T){if(!T)return;var x=S.getZr();if(x[e])return;x[o]||(x[o]=l);var _=p.createOrUpdate(x,o,E,y);_(S,C)}function l(S,y){if(!S.isDisposed()){var E=S.getZr();E[e]=!0,S.dispatchAction({type:"brushSelect",batch:y}),E[e]=!1}}function t(S,y,E,C){for(var T=0,x=y.length;T<x;T++){var _=y[T];if(S[_.brushType](C,E,_.selectors,_))return!0}}function a(S){var y=S.brushSelector;if(A.isString(y)){var E=[];return A.each(v,function(T,x){E[x]=function(_,I,L,D){var B=I.getItemLayout(_);return T[y](B,L,D)}}),E}else if(A.isFunction(y)){var C={};return A.each(v,function(T,x){C[x]=y}),C}return y}function c(S,y){var E=S.option.seriesIndex;return E!=null&&E!=="all"&&(A.isArray(E)?A.indexOf(E,y)<0:y!==E)}function h(S){var y=S.selectors={};return A.each(v[S.brushType],function(E,C){y[C]=function(T){return E(T,y,S)}}),S}var f={lineX:A.noop,lineY:A.noop,rect:function(S){return g(S.range)},polygon:function(S){for(var y,E=S.range,C=0,T=E.length;C<T;C++){y=y||[[Infinity,-Infinity],[Infinity,-Infinity]];var x=E[C];x[0]<y[0][0]&&(y[0][0]=x[0]),x[0]>y[0][1]&&(y[0][1]=x[0]),x[1]<y[1][0]&&(y[1][0]=x[1]),x[1]>y[1][1]&&(y[1][1]=x[1])}return y&&g(y)}};function g(S){return new b(S[0][0],S[1][0],S[0][1]-S[0][0],S[1][1]-S[1][0])}P.layoutCovers=i},ERHi:function(M,P,d){var w=d("ProS");d("Z6js"),d("R4Th");var A=d("f5Yq"),b=d("h8O9");w.registerVisual(A("effectScatter","circle")),w.registerLayout(b("effectScatter"))},Efcc:function(M,P,d){"use strict";var w=d("Rbc4"),A=d.n(w),b=d("hw6N"),m=d("W9l/")},EiFl:function(M,P,d){"use strict";var w=d("wx14"),A=d("U8pU"),b=d("ODXe"),m=d("rePB"),v=d("q1tI"),p=d("TSYQ"),s=d.n(p),u=d("1zXZ"),o=d("9R2V"),e=d("bT9E"),r=v.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),i=v.createContext({updateItemErrors:function(){}}),n=function(Ce){var le=Object(e.a)(Ce,["prefixCls"]);return v.createElement(u.FormProvider,le)},l=v.createContext({prefixCls:""});function t(we){return typeof we=="object"&&we!=null&&we.nodeType===1}function a(we,Ce){return(!Ce||we!=="hidden")&&we!=="visible"&&we!=="clip"}function c(we,Ce){if(we.clientHeight<we.scrollHeight||we.clientWidth<we.scrollWidth){var le=getComputedStyle(we,null);return a(le.overflowY,Ce)||a(le.overflowX,Ce)||function(ot){var wt=function(rt){if(!rt.ownerDocument||!rt.ownerDocument.defaultView)return null;try{return rt.ownerDocument.defaultView.frameElement}catch(It){return null}}(ot);return!!wt&&(wt.clientHeight<ot.scrollHeight||wt.clientWidth<ot.scrollWidth)}(we)}return!1}function h(we,Ce,le,ot,wt,rt,It,Gt){return rt<we&&It>Ce||rt>we&&It<Ce?0:rt<=we&&Gt<=le||It>=Ce&&Gt>=le?rt-we-ot:It>Ce&&Gt<le||rt<we&&Gt>le?It-Ce+wt:0}var f=function(we,Ce){var le=window,ot=Ce.scrollMode,wt=Ce.block,rt=Ce.inline,It=Ce.boundary,Gt=Ce.skipOverflowHiddenElements,lr=typeof It=="function"?It:function(bn){return bn!==It};if(!t(we))throw new TypeError("Invalid target");for(var pr=document.scrollingElement||document.documentElement,Rr=[],xt=we;t(xt)&&lr(xt);){if((xt=xt.parentElement)===pr){Rr.push(xt);break}xt!=null&&xt===document.body&&c(xt)&&!c(document.documentElement)||xt!=null&&c(xt,Gt)&&Rr.push(xt)}for(var Ot=le.visualViewport?le.visualViewport.width:innerWidth,At=le.visualViewport?le.visualViewport.height:innerHeight,Jt=window.scrollX||pageXOffset,br=window.scrollY||pageYOffset,Lr=we.getBoundingClientRect(),Zr=Lr.height,In=Lr.width,Gr=Lr.top,Tr=Lr.right,fr=Lr.bottom,vt=Lr.left,ft=wt==="start"||wt==="nearest"?Gr:wt==="end"?fr:Gr+Zr/2,De=rt==="center"?vt+In/2:rt==="end"?Tr:vt,je=[],Ye=0;Ye<Rr.length;Ye++){var st=Rr[Ye],kt=st.getBoundingClientRect(),$t=kt.height,Nr=kt.width,yn=kt.top,un=kt.right,Kt=kt.bottom,St=kt.left;if(ot==="if-needed"&&Gr>=0&&vt>=0&&fr<=At&&Tr<=Ot&&Gr>=yn&&fr<=Kt&&vt>=St&&Tr<=un)return je;var Mt=getComputedStyle(st),Zt=parseInt(Mt.borderLeftWidth,10),kr=parseInt(Mt.borderTopWidth,10),Hr=parseInt(Mt.borderRightWidth,10),$r=parseInt(Mt.borderBottomWidth,10),Bt=0,cr=0,Cr="offsetWidth"in st?st.offsetWidth-st.clientWidth-Zt-Hr:0,Br="offsetHeight"in st?st.offsetHeight-st.clientHeight-kr-$r:0;if(pr===st)Bt=wt==="start"?ft:wt==="end"?ft-At:wt==="nearest"?h(br,br+At,At,kr,$r,br+ft,br+ft+Zr,Zr):ft-At/2,cr=rt==="start"?De:rt==="center"?De-Ot/2:rt==="end"?De-Ot:h(Jt,Jt+Ot,Ot,Zt,Hr,Jt+De,Jt+De+In,In),Bt=Math.max(0,Bt+br),cr=Math.max(0,cr+Jt);else{Bt=wt==="start"?ft-yn-kr:wt==="end"?ft-Kt+$r+Br:wt==="nearest"?h(yn,Kt,$t,kr,$r+Br,ft,ft+Zr,Zr):ft-(yn+$t/2)+Br/2,cr=rt==="start"?De-St-Zt:rt==="center"?De-(St+Nr/2)+Cr/2:rt==="end"?De-un+Hr+Cr:h(St,un,Nr,Zt,Hr+Cr,De,De+In,In);var zr=st.scrollLeft,An=st.scrollTop;ft+=An-(Bt=Math.max(0,Math.min(An+Bt,st.scrollHeight-$t+Br))),De+=zr-(cr=Math.max(0,Math.min(zr+cr,st.scrollWidth-Nr+Cr)))}je.push({el:st,top:Bt,left:cr})}return je};function g(we){return we===Object(we)&&Object.keys(we).length!==0}function S(we,Ce){Ce===void 0&&(Ce="auto");var le="scrollBehavior"in document.body.style;we.forEach(function(ot){var wt=ot.el,rt=ot.top,It=ot.left;wt.scroll&&le?wt.scroll({top:rt,left:It,behavior:Ce}):(wt.scrollTop=rt,wt.scrollLeft=It)})}function y(we){return we===!1?{block:"end",inline:"nearest"}:g(we)?we:{block:"start",inline:"nearest"}}function E(we,Ce){var le=!we.ownerDocument.documentElement.contains(we);if(g(Ce)&&typeof Ce.behavior=="function")return Ce.behavior(le?[]:f(we,Ce));if(le)return;var ot=y(Ce);return S(f(we,ot),ot.behavior)}var C=E;function T(we){return we===void 0||we===!1?[]:Array.isArray(we)?we:[we]}function x(we,Ce){if(!we.length)return;var le=we.join("_");return Ce?"".concat(Ce,"_").concat(le):le}function _(we){var Ce=T(we);return Ce.join("_")}function I(we){var Ce=Object(u.useForm)(),le=Object(b.a)(Ce,1),ot=le[0],wt=v.useRef({}),rt=v.useMemo(function(){return we!=null?we:Object(w.a)(Object(w.a)({},ot),{__INTERNAL__:{itemRef:function(Gt){return function(lr){var pr=_(Gt);lr?wt.current[pr]=lr:delete wt.current[pr]}}},scrollToField:function(Gt){var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pr=T(Gt),Rr=x(pr,rt.__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 wt.current[lr]}})},[we,ot]);return[rt]}var L=d("kc2O"),D=function(we,Ce){var le={};for(var ot in we)Object.prototype.hasOwnProperty.call(we,ot)&&Ce.indexOf(ot)<0&&(le[ot]=we[ot]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,ot=Object.getOwnPropertySymbols(we);wt<ot.length;wt++)Ce.indexOf(ot[wt])<0&&Object.prototype.propertyIsEnumerable.call(we,ot[wt])&&(le[ot[wt]]=we[ot[wt]]);return le},B=function(Ce,le){var ot,wt=v.useContext(L.b),rt=v.useContext(o.b),It=rt.getPrefixCls,Gt=rt.direction,lr=rt.form,pr=Ce.prefixCls,Rr=Ce.className,xt=Rr===void 0?"":Rr,Ot=Ce.size,At=Ot===void 0?wt:Ot,Jt=Ce.form,br=Ce.colon,Lr=Ce.labelAlign,Zr=Ce.labelCol,In=Ce.wrapperCol,Gr=Ce.hideRequiredMark,Tr=Ce.layout,fr=Tr===void 0?"horizontal":Tr,vt=Ce.scrollToFirstError,ft=Ce.requiredMark,De=Ce.onFinishFailed,je=Ce.name,Ye=D(Ce,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),st=Object(v.useMemo)(function(){return ft!==void 0?ft:lr&&lr.requiredMark!==void 0?lr.requiredMark:!Gr},[Gr,ft,lr]),kt=It("form",pr),$t=s()(kt,(ot={},Object(m.a)(ot,"".concat(kt,"-").concat(fr),!0),Object(m.a)(ot,"".concat(kt,"-hide-required-mark"),st===!1),Object(m.a)(ot,"".concat(kt,"-rtl"),Gt==="rtl"),Object(m.a)(ot,"".concat(kt,"-").concat(At),At),ot),xt),Nr=I(Jt),yn=Object(b.a)(Nr,1),un=yn[0],Kt=un.__INTERNAL__;Kt.name=je;var St=Object(v.useMemo)(function(){return{name:je,labelAlign:Lr,labelCol:Zr,wrapperCol:In,vertical:fr==="vertical",colon:br,requiredMark:st,itemRef:Kt.itemRef}},[je,Lr,Zr,In,fr,br,st]);v.useImperativeHandle(le,function(){return un});var Mt=function(kr){De==null||De(kr);var Hr={block:"nearest"};vt&&kr.errorFields.length&&(Object(A.a)(vt)==="object"&&(Hr=vt),un.scrollToField(kr.errorFields[0].name,Hr))};return v.createElement(L.a,{size:At},v.createElement(r.Provider,{value:St},v.createElement(u.default,Object(w.a)({id:je},Ye,{name:je,onFinishFailed:Mt,form:un,className:$t}))))},N=v.forwardRef(B),k=N,W=d("KQm4"),R=d("Y+p1"),j=d.n(R),H=d("oK6+"),K=d("c+Xe"),U=d("gScr"),Q=d("6LNJ"),V=d("bq+4"),J=d("Lyp1"),ae=d("pSJ1"),se=d("VM9+"),$=d("n3rz"),ge=d("d+VM"),he=function(we,Ce){var le={};for(var ot in we)Object.prototype.hasOwnProperty.call(we,ot)&&Ce.indexOf(ot)<0&&(le[ot]=we[ot]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,ot=Object.getOwnPropertySymbols(we);wt<ot.length;wt++)Ce.indexOf(ot[wt])<0&&Object.prototype.propertyIsEnumerable.call(we,ot[wt])&&(le[ot[wt]]=we[ot[wt]]);return le};function Ie(we){return we?Object(A.a)(we)==="object"&&!v.isValidElement(we)?we:{title:we}:null}var Se=function(Ce){var le=Ce.prefixCls,ot=Ce.label,wt=Ce.htmlFor,rt=Ce.labelCol,It=Ce.labelAlign,Gt=Ce.colon,lr=Ce.required,pr=Ce.requiredMark,Rr=Ce.tooltip,xt=Object(se.b)("Form"),Ot=Object(b.a)(xt,1),At=Ot[0];return ot?v.createElement(r.Consumer,{key:"label"},function(Jt){var br,Lr=Jt.vertical,Zr=Jt.labelAlign,In=Jt.labelCol,Gr=Jt.colon,Tr,fr=rt||In||{},vt=It||Zr,ft="".concat(le,"-item-label"),De=s()(ft,vt==="left"&&"".concat(ft,"-left"),fr.className),je=ot,Ye=Gt===!0||Gr!==!1&&Gt!==!1,st=Ye&&!Lr;st&&typeof ot=="string"&&ot.trim()!==""&&(je=ot.replace(/[:|:]\s*$/,""));var kt=Ie(Rr);if(kt){var $t=kt.icon,Nr=$t===void 0?v.createElement(J.a,null):$t,yn=he(kt,["icon"]),un=v.createElement(ge.a,yn,v.cloneElement(Nr,{className:"".concat(le,"-item-tooltip"),title:""}));je=v.createElement(v.Fragment,null,je,un)}pr==="optional"&&!lr&&(je=v.createElement(v.Fragment,null,je,v.createElement("span",{className:"".concat(le,"-item-optional"),title:""},(At==null?void 0:At.optional)||((Tr=$.a.Form)===null||Tr===void 0?void 0:Tr.optional))));var Kt=s()((br={},Object(m.a)(br,"".concat(le,"-item-required"),lr),Object(m.a)(br,"".concat(le,"-item-required-mark-optional"),pr==="optional"),Object(m.a)(br,"".concat(le,"-item-no-colon"),!Ye),br));return v.createElement(ae.a,Object(w.a)({},fr,{className:De}),v.createElement("label",{htmlFor:wt,className:Kt,title:typeof ot=="string"?ot:""},je))}):null},Le=Se,He=d("ye1Q"),G=d("jN4g"),pe=d("jO45"),We=d("IMoZ"),te=d("8XRh"),X=d("YrtM"),z=d("oMPz");function Z(we,Ce,le){var ot=v.useRef({errors:we,visible:!!we.length}),wt=Object(z.a)(),rt=function(){var Gt=ot.current.visible,lr=!!we.length,pr=ot.current.errors;ot.current.errors=we,ot.current.visible=lr,Gt!==lr?Ce(lr):(pr.length!==we.length||pr.some(function(Rr,xt){return Rr!==we[xt]}))&&wt()};return v.useEffect(function(){if(!le){var It=setTimeout(rt,10);return function(){return clearTimeout(It)}}},[we]),le&&rt(),[ot.current.visible,ot.current.errors]}var be=[];function ne(we){var Ce=we.errors,le=Ce===void 0?be:Ce,ot=we.help,wt=we.onDomErrorVisibleChange,rt=Object(z.a)(),It=v.useContext(l),Gt=It.prefixCls,lr=It.status,pr=v.useContext(o.b),Rr=pr.getPrefixCls,xt=Z(le,function(vt){vt&&Promise.resolve().then(function(){wt==null||wt(!0)}),rt()},!!ot),Ot=Object(b.a)(xt,2),At=Ot[0],Jt=Ot[1],br=Object(X.a)(function(){return Jt},At,function(vt,ft){return ft}),Lr=v.useState(lr),Zr=Object(b.a)(Lr,2),In=Zr[0],Gr=Zr[1];v.useEffect(function(){At&&lr&&Gr(lr)},[At,lr]);var Tr="".concat(Gt,"-item-explain"),fr=Rr();return v.createElement(te.default,{motionDeadline:500,visible:At,motionName:"".concat(fr,"-show-help"),onLeaveEnd:function(){wt==null||wt(!1)}},function(vt){var ft=vt.className;return v.createElement("div",{className:s()(Tr,Object(m.a)({},"".concat(Tr,"-").concat(In),In),ft),key:"help"},br.map(function(De,je){return v.createElement("div",{key:je,role:"alert"},De)}))})}var Ae={success:pe.a,warning:We.a,error:G.a,validating:He.a},Ne=function(Ce){var le=Ce.prefixCls,ot=Ce.status,wt=Ce.wrapperCol,rt=Ce.children,It=Ce.help,Gt=Ce.errors,lr=Ce.onDomErrorVisibleChange,pr=Ce.hasFeedback,Rr=Ce._internalItemRender,xt=Ce.validateStatus,Ot=Ce.extra,At="".concat(le,"-item"),Jt=v.useContext(r),br=wt||Jt.wrapperCol||{},Lr=s()("".concat(At,"-control"),br.className);v.useEffect(function(){return function(){lr(!1)}},[]);var Zr=xt&&Ae[xt],In=pr&&Zr?v.createElement("span",{className:"".concat(At,"-children-icon")},v.createElement(Zr,null)):null,Gr=Object(w.a)({},Jt);delete Gr.labelCol,delete Gr.wrapperCol;var Tr=v.createElement("div",{className:"".concat(At,"-control-input")},v.createElement("div",{className:"".concat(At,"-control-input-content")},rt),In),fr=v.createElement(l.Provider,{value:{prefixCls:le,status:ot}},v.createElement(ne,{errors:Gt,help:It,onDomErrorVisibleChange:lr})),vt=Ot?v.createElement("div",{className:"".concat(At,"-extra")},Ot):null,ft=Rr&&Rr.mark==="pro_table_render"&&Rr.render?Rr.render(Ce,{input:Tr,errorList:fr,extra:vt}):v.createElement(v.Fragment,null,Tr,fr,vt);return v.createElement(r.Provider,{value:Gr},v.createElement(ae.a,Object(w.a)({},br,{className:Lr}),ft))},oe=Ne,de=d("kLeg"),xe=d("wgJM");function Pe(we){var Ce=v.useState(we),le=Object(b.a)(Ce,2),ot=le[0],wt=le[1],rt=Object(v.useRef)(null),It=Object(v.useRef)([]),Gt=Object(v.useRef)(!1);v.useEffect(function(){return function(){Gt.current=!0,xe.a.cancel(rt.current)}},[]);function lr(pr){if(Gt.current)return;rt.current===null&&(It.current=[],rt.current=Object(xe.a)(function(){rt.current=null,wt(function(Rr){var xt=Rr;return It.current.forEach(function(Ot){xt=Ot(xt)}),xt})})),It.current.push(pr)}return[ot,lr]}function tt(){var we=v.useContext(r),Ce=we.itemRef,le=v.useRef({});function ot(wt,rt){var It=rt&&Object(A.a)(rt)==="object"&&rt.ref,Gt=wt.join("_");return(le.current.name!==Gt||le.current.originRef!==It)&&(le.current.name=Gt,le.current.originRef=It,le.current.ref=Object(K.a)(Ce(wt),It)),le.current.ref}return ot}var Je=function(we,Ce){var le={};for(var ot in we)Object.prototype.hasOwnProperty.call(we,ot)&&Ce.indexOf(ot)<0&&(le[ot]=we[ot]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,ot=Object.getOwnPropertySymbols(we);wt<ot.length;wt++)Ce.indexOf(ot[wt])<0&&Object.prototype.propertyIsEnumerable.call(we,ot[wt])&&(le[ot[wt]]=we[ot[wt]]);return le},Oe="__SPLIT__",pt=Object(Q.a)("success","warning","error","validating",""),Qe=v.memo(function(we){var Ce=we.children;return Ce},function(we,Ce){return we.value===Ce.value&&we.update===Ce.update});function nt(we){return we===null&&Object(V.a)(!1,"Form.Item","`null` is passed as `name` property"),!(we==null)}function bt(we){var Ce=we.name,le=we.fieldKey,ot=we.noStyle,wt=we.dependencies,rt=we.prefixCls,It=we.style,Gt=we.className,lr=we.shouldUpdate,pr=we.hasFeedback,Rr=we.help,xt=we.rules,Ot=we.validateStatus,At=we.children,Jt=we.required,br=we.label,Lr=we.messageVariables,Zr=we.trigger,In=Zr===void 0?"onChange":Zr,Gr=we.validateTrigger,Tr=we.hidden,fr=Je(we,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","messageVariables","trigger","validateTrigger","hidden"]),vt=Object(v.useRef)(!1),ft=Object(v.useContext)(o.b),De=ft.getPrefixCls,je=Object(v.useContext)(r),Ye=je.name,st=je.requiredMark,kt=Object(v.useContext)(i),$t=kt.updateItemErrors,Nr=v.useState(!!Rr),yn=Object(b.a)(Nr,2),un=yn[0],Kt=yn[1],St=Pe({}),Mt=Object(b.a)(St,2),Zt=Mt[0],kr=Mt[1],Hr=Object(v.useContext)(H.b),$r=Hr.validateTrigger,Bt=Gr!==void 0?Gr:$r;function cr(ai){vt.current||Kt(ai)}var Cr=nt(Ce),Br=Object(v.useRef)([]);v.useEffect(function(){return function(){vt.current=!0,$t(Br.current.join(Oe),[])}},[]);var zr=De("form",rt),An=ot?$t:function(ai,ii,$e){kr(function(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return $e&&$e!==ai&&delete Te[$e],j()(Te[ai],ii)?Te:Object(w.a)(Object(w.a)({},Te),Object(m.a)({},ai,ii))})},bn=tt();function Sn(ai,ii,$e,Te){var ke,Me;if(ot&&!Tr)return ai;var Ze=[];Object.keys(Zt).forEach(function(ht){Ze=[].concat(Object(W.a)(Ze),Object(W.a)(Zt[ht]||[]))});var Xe;Rr!=null?Xe=T(Rr):(Xe=$e?$e.errors:[],Xe=[].concat(Object(W.a)(Xe),Object(W.a)(Ze)));var qe="";Ot!==void 0?qe=Ot:($e==null?void 0:$e.validating)?qe="validating":((Me=$e==null?void 0:$e.errors)===null||Me===void 0?void 0:Me.length)||Ze.length?qe="error":($e==null?void 0:$e.touched)&&(qe="success");var mt=(ke={},Object(m.a)(ke,"".concat(zr,"-item"),!0),Object(m.a)(ke,"".concat(zr,"-item-with-help"),un||!!Rr),Object(m.a)(ke,"".concat(Gt),!!Gt),Object(m.a)(ke,"".concat(zr,"-item-has-feedback"),qe&&pr),Object(m.a)(ke,"".concat(zr,"-item-has-success"),qe==="success"),Object(m.a)(ke,"".concat(zr,"-item-has-warning"),qe==="warning"),Object(m.a)(ke,"".concat(zr,"-item-has-error"),qe==="error"),Object(m.a)(ke,"".concat(zr,"-item-is-validating"),qe==="validating"),Object(m.a)(ke,"".concat(zr,"-item-hidden"),Tr),ke);return v.createElement(U.a,Object(w.a)({className:s()(mt),style:It,key:"row"},Object(e.a)(fr,["colon","extra","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","labelAlign","labelCol","normalize","preserve","tooltip","validateFirst","valuePropName","wrapperCol","_internalItemRender"])),v.createElement(Le,Object(w.a)({htmlFor:ii,required:Te,requiredMark:st},we,{prefixCls:zr})),v.createElement(oe,Object(w.a)({},we,$e,{errors:Xe,prefixCls:zr,status:qe,onDomErrorVisibleChange:cr,validateStatus:qe}),v.createElement(i.Provider,{value:{updateItemErrors:An}},ai)))}var Mn=typeof At=="function",ei=Object(v.useRef)(0);if(ei.current+=1,!Cr&&!Mn&&!wt)return Sn(At);var Zn={};return typeof br=="string"?Zn.label=br:Ce&&(Zn.label=String(Ce)),Lr&&(Zn=Object(w.a)(Object(w.a)({},Zn),Lr)),v.createElement(u.Field,Object(w.a)({},we,{messageVariables:Zn,trigger:In,validateTrigger:Bt,onReset:function(){cr(!1)}}),function(ai,ii,$e){var Te=ii.errors,ke=T(Ce).length&&ii?ii.name:[],Me=x(ke,Ye);if(ot){var Ze=Br.current.join(Oe);if(Br.current=Object(W.a)(ke),le){var Xe=Array.isArray(le)?le:[le];Br.current=[].concat(Object(W.a)(ke.slice(0,-1)),Object(W.a)(Xe))}$t(Br.current.join(Oe),Te,Ze)}var qe=Jt!==void 0?Jt:!!(xt&&xt.some(function(tr){if(tr&&Object(A.a)(tr)==="object"&&tr.required)return!0;if(typeof tr=="function"){var ir=tr($e);return ir&&ir.required}return!1})),mt=Object(w.a)({},ai),ht=null;if(Object(V.a)(!(lr&&wt),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(At)&&Cr)Object(V.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),ht=At;else if(Mn&&(!(lr||wt)||Cr))Object(V.a)(!!(lr||wt),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(V.a)(!Cr,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(wt&&!Mn&&!Cr)Object(V.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(de.b)(At)){Object(V.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),mt);Vt.id||(Vt.id=Me),Object(K.c)(At)&&(Vt.ref=bn(ke,At));var dr=new Set([].concat(Object(W.a)(T(In)),Object(W.a)(T(Bt))));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=mt[tr])===null||gr===void 0||(ir=gr).call.apply(ir,[mt].concat(sr)),(Sr=(jt=At.props)[tr])===null||Sr===void 0||(_t=Sr).call.apply(_t,[jt].concat(sr))}}),ht=v.createElement(Qe,{value:mt[we.valuePropName||"value"],update:ei.current},Object(de.a)(At,Vt))}else Mn&&(lr||wt)&&!Cr?ht=At($e):(Object(V.a)(!ke.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,Me,ii,qe)})}var Tt=bt,Ct=function(we,Ce){var le={};for(var ot in we)Object.prototype.hasOwnProperty.call(we,ot)&&Ce.indexOf(ot)<0&&(le[ot]=we[ot]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,ot=Object.getOwnPropertySymbols(we);wt<ot.length;wt++)Ce.indexOf(ot[wt])<0&&Object.prototype.propertyIsEnumerable.call(we,ot[wt])&&(le[ot[wt]]=we[ot[wt]]);return le},Nt=function(Ce){var le=Ce.prefixCls,ot=Ce.children,wt=Ct(Ce,["prefixCls","children"]);Object(V.a)(!!wt.name,"Form.List","Miss `name` prop.");var rt=v.useContext(o.b),It=rt.getPrefixCls,Gt=It("form",le);return v.createElement(u.List,wt,function(lr,pr,Rr){return v.createElement(l.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}))})},Ge=Nt,ie=k;ie.Item=Tt,ie.List=Ge,ie.ErrorList=ne,ie.useForm=I,ie.Provider=n,ie.create=function(){Object(V.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var Y=P.a=ie},Em2t:function(M,P,d){var w=d("bahg"),A=d("quyA"),b=d("0JQy");function m(v){return A(v)?b(v):w(v)}M.exports=m},Ez2D:function(M,P,d){var w=d("bYtY"),A=d("4NO4");function b(m,v){var p=[],s=m.seriesIndex,u;if(s==null||!(u=v.getSeriesByIndex(s)))return{point:[]};var o=u.getData(),e=A.queryDataIndex(o,m);if(e==null||e<0||w.isArray(e))return{point:[]};var r=o.getItemGraphicEl(e),i=u.coordinateSystem;if(u.getTooltipPosition)p=u.getTooltipPosition(e)||[];else if(i&&i.dataToPoint)p=i.dataToPoint(o.getValues(w.map(i.dimensions,function(l){return o.mapDimension(l)}),e,!0))||[];else if(r){var n=r.getBoundingRect().clone();n.applyTransform(r.transform),p=[n.x+n.width/2,n.y+n.height/2]}return{point:p,el:r}}M.exports=b},F0hE:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("ca2m"),m=d("Qxkt"),v=d("ICMv"),p=b.valueAxis;function s(e,r){return A.defaults({show:r},e)}var u=w.extendComponentModel({type:"radar",optionUpdated:function(){var e=this.get("boundaryGap"),r=this.get("splitNumber"),i=this.get("scale"),n=this.get("axisLine"),l=this.get("axisTick"),t=this.get("axisType"),a=this.get("axisLabel"),c=this.get("name"),h=this.get("name.show"),f=this.get("name.formatter"),g=this.get("nameGap"),S=this.get("triggerEvent"),y=A.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=c;if(E.color!=null&&(C=A.defaults({color:E.color},c)),E=A.merge(A.clone(E),{boundaryGap:e,splitNumber:r,scale:i,axisLine:n,axisTick:l,axisType:t,axisLabel:a,name:E.text,nameLocation:"end",nameGap:g,nameTextStyle:C,triggerEvent:S},!1),h||(E.name=""),typeof f=="string"){var T=E.name;E.name=f.replace("{value}",T!=null?T:"")}else typeof f=="function"&&(E.name=f(E.name,E));var x=A.extend(new m(E,null,this.ecModel),v);return x.mainType="radar",x.componentIndex=this.componentIndex,x},this);this.getIndicatorModels=function(){return y}},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:A.merge({lineStyle:{color:"#bbb"}},p.axisLine),axisLabel:s(p.axisLabel,!1),axisTick:s(p.axisTick,!1),axisType:"interval",splitLine:s(p.splitLine,!0),splitArea:s(p.splitArea,!0),indicator:[]}}),o=u;M.exports=o},F5Ls:function(M,P){var d={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function w(A,b){if(A==="china"){var m=d[b.name];if(m){var v=b.center;v[0]+=m[0]/10.5,v[1]+=-m[1]/(10.5/.75)}}}M.exports=w},F7hV:function(M,P,d){var w=d("MBQ8"),A=w.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var b=this.get("progressiveThreshold"),m=this.get("largeThreshold");return m>b&&(b=m),b},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=A},F9bG:function(M,P,d){var w=d("bYtY"),A=d("ItGF"),b=d("4NO4"),m=b.makeInner,v=m(),p=w.each;function s(l,t,a){if(A.node)return;var c=t.getZr();v(c).records||(v(c).records={}),u(c,t);var h=v(c).records[l]||(v(c).records[l]={});h.handler=a}function u(l,t){if(v(l).initialized)return;v(l).initialized=!0,a("click",w.curry(r,"click")),a("mousemove",w.curry(r,"mousemove")),a("globalout",e);function a(c,h){l.on(c,function(f){var g=i(t);p(v(l).records,function(S){S&&h(S,f,g.dispatchAction)}),o(g.pendings,t)})}}function o(l,t){var a=l.showTip.length,c=l.hideTip.length,h;a?h=l.showTip[a-1]:c&&(h=l.hideTip[c-1]),h&&(h.dispatchAction=null,t.dispatchAction(h))}function e(l,t,a){l.handler("leave",null,a)}function r(l,t,a,c){t.handler(l,a,c)}function i(l){var t={showTip:[],hideTip:[]},a=function(c){var h=t[c.type];h?h.push(c):(c.dispatchAction=a,l.dispatchAction(c))};return{dispatchAction:a,pendings:t}}function n(l,t){if(A.node)return;var a=t.getZr(),c=(v(a).records||{})[l];c&&(v(a).records[l]=null)}P.register=s,P.unregister=n},FBjb:function(M,P,d){var w=d("bYtY"),A=d("oVpE"),b=A.createSymbol,m=d("IwbS"),v=d("OELB"),p=v.parsePercent,s=d("x3X8"),u=s.getDefaultLabel;function o(g,S,y){m.Group.call(this),this.updateData(g,S,y)}var e=o.prototype,r=o.getSymbolSize=function(g,S){var y=g.getItemVisual(S,"symbolSize");return y instanceof Array?y.slice():[+y,+y]};function i(g){return[g[0]/2,g[1]/2]}function n(g,S){this.parent.drift(g,S)}e._createSymbol=function(g,S,y,E,C){this.removeAll();var T=S.getItemVisual(y,"color"),x=b(g,-1,-1,2,2,T,C);x.attr({z2:100,culling:!0,scale:i(E)}),x.drift=n,this._symbolType=g,this.add(x)},e.stopSymbolAnimation=function(g){this.childAt(0).stopAnimation(g)},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(g,S){var y=this.childAt(0);y.zlevel=g,y.z=S},e.setDraggable=function(g){var S=this.childAt(0);S.draggable=g,S.cursor=g?"move":S.cursor},e.updateData=function(g,S,y){this.silent=!1;var E=g.getItemVisual(S,"symbol")||"circle",C=g.hostModel,T=r(g,S),x=E!==this._symbolType;if(x){var _=g.getItemVisual(S,"symbolKeepAspect");this._createSymbol(E,g,S,T,_)}else{var I=this.childAt(0);I.silent=!1,m.updateProps(I,{scale:i(T)},C,S)}if(this._updateCommon(g,S,T,y),x){var I=this.childAt(0),L=y&&y.fadeIn,D={scale:I.scale.slice()};L&&(D.style={opacity:I.style.opacity}),I.scale=[0,0],L&&(I.style.opacity=0),m.initProps(I,D,C,S)}this._seriesModel=C};var l=["itemStyle"],t=["emphasis","itemStyle"],a=["label"],c=["emphasis","label"];e._updateCommon=function(g,S,y,E){var C=this.childAt(0),T=g.hostModel,x=g.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,D=E&&E.labelModel,B=E&&E.hoverLabelModel,N=E&&E.hoverAnimation,k=E&&E.cursorStyle;if(!E||g.hasItemOption){var W=E&&E.itemModel?E.itemModel:g.getItemModel(S);_=W.getModel(l).getItemStyle(["color"]),I=W.getModel(t).getItemStyle(),L=W.getShallow("symbolOffset"),D=W.getModel(a),B=W.getModel(c),N=W.getShallow("hoverAnimation"),k=W.getShallow("cursor")}else I=w.extend({},I);var R=C.style,j=g.getItemVisual(S,"symbolRotate");C.attr("rotation",(j||0)*Math.PI/180||0),L&&C.attr("position",[p(L[0],y[0]),p(L[1],y[1])]),k&&C.attr("cursor",k),C.setColor(x,E&&E.symbolInnerColor),C.setStyle(_);var H=g.getItemVisual(S,"opacity");H!=null&&(R.opacity=H);var K=g.getItemVisual(S,"liftZ"),U=C.__z2Origin;K!=null?U==null&&(C.__z2Origin=C.z2,C.z2+=K):U!=null&&(C.z2=U,C.__z2Origin=null);var Q=E&&E.useNameLabel;m.setLabelStyle(R,I,D,B,{labelFetcher:T,labelDataIndex:S,defaultText:V,isRectText:!0,autoColor:x});function V(J,ae){return Q?g.getName(J):u(g,J)}C.__symbolOriginalScale=i(y),C.hoverStyle=I,C.highDownOnUpdate=N&&T.isAnimationEnabled()?h:null,m.setHoverStyle(C)};function h(g,S){if(this.incremental||this.useHoverLayer)return;if(S==="emphasis"){var y=this.__symbolOriginalScale,E=y[1]/y[0],C={scale:[Math.max(y[0]*1.1,y[0]+3),Math.max(y[1]*1.1,y[1]+3*E)]};this.animateTo(C,400,"elasticOut")}else S==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}e.fadeOut=function(g,S){var y=this.childAt(0);this.silent=y.silent=!0,!(S&&S.keepLabel)&&(y.style.text=null),m.updateProps(y,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,g)},w.inherits(o,m.Group);var f=o;M.exports=f},FGaS:function(M,P,d){var w=d("ProS"),A=d("IwbS"),b=d("bYtY"),m=d("oVpE");function v(s){return b.isArray(s)||(s=[+s,+s]),s}var p=w.extendChartView({type:"radar",render:function(s,u,o){var e=s.coordinateSystem,r=this.group,i=s.getData(),n=this._data;function l(c,h){var f=c.getItemVisual(h,"symbol")||"circle",g=c.getItemVisual(h,"color");if(f==="none")return;var S=v(c.getItemVisual(h,"symbolSize")),y=m.createSymbol(f,-1,-1,2,2,g);return y.attr({style:{strokeNoScale:!0},z2:100,scale:[S[0]/2,S[1]/2]}),y}function t(c,h,f,g,S,y){f.removeAll();for(var E=0;E<h.length-1;E++){var C=l(g,S);C&&(C.__dimIdx=E,c[E]?(C.attr("position",c[E]),A[y?"initProps":"updateProps"](C,{position:h[E]},s,S)):C.attr("position",h[E]),f.add(C))}}function a(c){return b.map(c,function(h){return[e.cx,e.cy]})}i.diff(n).add(function(c){var h=i.getItemLayout(c);if(!h)return;var f=new A.Polygon,g=new A.Polyline,S={shape:{points:h}};f.shape.points=a(h),g.shape.points=a(h),A.initProps(f,S,s,c),A.initProps(g,S,s,c);var y=new A.Group,E=new A.Group;y.add(g),y.add(f),y.add(E),t(g.shape.points,h,E,i,c,!0),i.setItemGraphicEl(c,y)}).update(function(c,h){var f=n.getItemGraphicEl(h),g=f.childAt(0),S=f.childAt(1),y=f.childAt(2),E={shape:{points:i.getItemLayout(c)}};if(!E.shape.points)return;t(g.shape.points,E.shape.points,y,i,c,!1),A.updateProps(g,E,s),A.updateProps(S,E,s),i.setItemGraphicEl(c,f)}).remove(function(c){r.remove(n.getItemGraphicEl(c))}).execute(),i.eachItemGraphicEl(function(c,h){var f=i.getItemModel(h),g=c.childAt(0),S=c.childAt(1),y=c.childAt(2),E=i.getItemVisual(h,"color");r.add(c),g.useStyle(b.defaults(f.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:E})),g.hoverStyle=f.getModel("emphasis.lineStyle").getLineStyle();var C=f.getModel("areaStyle"),T=f.getModel("emphasis.areaStyle"),x=C.isEmpty()&&C.parentModel.isEmpty(),_=T.isEmpty()&&T.parentModel.isEmpty();_=_&&x,S.ignore=x,S.useStyle(b.defaults(C.getAreaStyle(),{fill:E,opacity:.7})),S.hoverStyle=T.getAreaStyle();var I=f.getModel("itemStyle").getItemStyle(["color"]),L=f.getModel("emphasis.itemStyle").getItemStyle(),D=f.getModel("label"),B=f.getModel("emphasis.label");y.eachChild(function(N){N.setStyle(I),N.hoverStyle=b.clone(L);var k=i.get(i.dimensions[N.__dimIdx],h);(k==null||isNaN(k))&&(k=""),A.setLabelStyle(N.style,N.hoverStyle,D,B,{labelFetcher:i.hostModel,labelDataIndex:h,labelDimIndex:N.__dimIdx,defaultText:k,autoColor:E,isRectText:!0})}),c.highDownOnUpdate=function(N,k){S.attr("ignore",k==="emphasis"?_:x)},A.setHoverStyle(c)}),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});M.exports=p},FIeM:function(M,P,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("1OyB"),m=d("vuIU"),v=d("Ji7U"),p=d("LK+K"),s=d("q1tI"),u=d("TSYQ"),o=d.n(u),e=d("bT9E"),r=d("jN4g"),i=d("6LNJ"),n=d("kLeg");function l(z,Z,be,ne,Ae){var Ne;return o()(z,(Ne={},Object(A.a)(Ne,"".concat(z,"-sm"),be==="small"),Object(A.a)(Ne,"".concat(z,"-lg"),be==="large"),Object(A.a)(Ne,"".concat(z,"-disabled"),ne),Object(A.a)(Ne,"".concat(z,"-rtl"),Ae==="rtl"),Object(A.a)(Ne,"".concat(z,"-borderless"),!Z),Ne))}function t(z){return!!(z.prefix||z.suffix||z.allowClear)}var a=Object(i.a)("text","input");function c(z){return!!(z.addonBefore||z.addonAfter)}var h=function(z){Object(v.a)(be,z);var Z=Object(p.a)(be);function be(){var ne;return Object(b.a)(this,be),ne=Z.apply(this,arguments),ne.containerRef=s.createRef(),ne.onInputMouseUp=function(Ae){var Ne;if((Ne=ne.containerRef.current)===null||Ne===void 0?void 0:Ne.contains(Ae.target)){var oe=ne.props.triggerFocus;oe==null||oe()}},ne}return Object(m.a)(be,[{key:"renderClearIcon",value:function(Ae){var Ne,oe=this.props,de=oe.allowClear,xe=oe.value,Pe=oe.disabled,tt=oe.readOnly,Je=oe.handleReset,Oe=oe.suffix;if(!de)return null;var pt=!Pe&&!tt&&xe,Qe="".concat(Ae,"-clear-icon");return s.createElement(r.a,{onClick:Je,onMouseDown:function(bt){return bt.preventDefault()},className:o()((Ne={},Object(A.a)(Ne,"".concat(Qe,"-hidden"),!pt),Object(A.a)(Ne,"".concat(Qe,"-has-suffix"),!!Oe),Ne),Qe),role:"button"})}},{key:"renderSuffix",value:function(Ae){var Ne=this.props,oe=Ne.suffix,de=Ne.allowClear;return oe||de?s.createElement("span",{className:"".concat(Ae,"-suffix")},this.renderClearIcon(Ae),oe):null}},{key:"renderLabeledIcon",value:function(Ae,Ne){var oe,de=this.props,xe=de.focused,Pe=de.value,tt=de.prefix,Je=de.className,Oe=de.size,pt=de.suffix,Qe=de.disabled,nt=de.allowClear,bt=de.direction,Tt=de.style,Ct=de.readOnly,Nt=de.bordered,Ge=this.renderSuffix(Ae);if(!t(this.props))return Object(n.a)(Ne,{value:Pe});var ie=tt?s.createElement("span",{className:"".concat(Ae,"-prefix")},tt):null,Y=o()("".concat(Ae,"-affix-wrapper"),(oe={},Object(A.a)(oe,"".concat(Ae,"-affix-wrapper-focused"),xe),Object(A.a)(oe,"".concat(Ae,"-affix-wrapper-disabled"),Qe),Object(A.a)(oe,"".concat(Ae,"-affix-wrapper-sm"),Oe==="small"),Object(A.a)(oe,"".concat(Ae,"-affix-wrapper-lg"),Oe==="large"),Object(A.a)(oe,"".concat(Ae,"-affix-wrapper-input-with-clear-btn"),pt&&nt&&Pe),Object(A.a)(oe,"".concat(Ae,"-affix-wrapper-rtl"),bt==="rtl"),Object(A.a)(oe,"".concat(Ae,"-affix-wrapper-readonly"),Ct),Object(A.a)(oe,"".concat(Ae,"-affix-wrapper-borderless"),!Nt),Object(A.a)(oe,"".concat(Je),!c(this.props)&&Je),oe));return s.createElement("span",{ref:this.containerRef,className:Y,style:Tt,onMouseUp:this.onInputMouseUp},ie,Object(n.a)(Ne,{style:null,value:Pe,className:l(Ae,Nt,Oe,Qe)}),Ge)}},{key:"renderInputWithLabel",value:function(Ae,Ne){var oe,de=this.props,xe=de.addonBefore,Pe=de.addonAfter,tt=de.style,Je=de.size,Oe=de.className,pt=de.direction;if(!c(this.props))return Ne;var Qe="".concat(Ae,"-group"),nt="".concat(Qe,"-addon"),bt=xe?s.createElement("span",{className:nt},xe):null,Tt=Pe?s.createElement("span",{className:nt},Pe):null,Ct=o()("".concat(Ae,"-wrapper"),Qe,Object(A.a)({},"".concat(Qe,"-rtl"),pt==="rtl")),Nt=o()("".concat(Ae,"-group-wrapper"),(oe={},Object(A.a)(oe,"".concat(Ae,"-group-wrapper-sm"),Je==="small"),Object(A.a)(oe,"".concat(Ae,"-group-wrapper-lg"),Je==="large"),Object(A.a)(oe,"".concat(Ae,"-group-wrapper-rtl"),pt==="rtl"),oe),Oe);return s.createElement("span",{className:Nt,style:tt},s.createElement("span",{className:Ct},bt,Object(n.a)(Ne,{style:null}),Tt))}},{key:"renderTextAreaWithClearIcon",value:function(Ae,Ne){var oe,de=this.props,xe=de.value,Pe=de.allowClear,tt=de.className,Je=de.style,Oe=de.direction,pt=de.bordered;if(!Pe)return Object(n.a)(Ne,{value:xe});var Qe=o()("".concat(Ae,"-affix-wrapper"),"".concat(Ae,"-affix-wrapper-textarea-with-clear-btn"),(oe={},Object(A.a)(oe,"".concat(Ae,"-affix-wrapper-rtl"),Oe==="rtl"),Object(A.a)(oe,"".concat(Ae,"-affix-wrapper-borderless"),!pt),Object(A.a)(oe,"".concat(tt),!c(this.props)&&tt),oe));return s.createElement("span",{className:Qe,style:Je},Object(n.a)(Ne,{style:null,value:xe}),this.renderClearIcon(Ae))}},{key:"render",value:function(){var Ae=this.props,Ne=Ae.prefixCls,oe=Ae.inputType,de=Ae.element;return oe===a[0]?this.renderTextAreaWithClearIcon(Ne,de):this.renderInputWithLabel(Ne,this.renderLabeledIcon(Ne,de))}}]),be}(s.Component),f=h,g=d("9R2V"),S=d("kc2O"),y=d("bq+4");function E(z){return typeof z=="undefined"||z===null?"":z}function C(z,Z,be,ne){if(!be)return;var Ae=Z,Ne=z.value;if(Z.type==="click"){Ae=Object.create(Z),Ae.target=z,Ae.currentTarget=z,z.value="",be(Ae),z.value=Ne;return}if(ne!==void 0){Ae=Object.create(Z),Ae.target=z,Ae.currentTarget=z,z.value=ne,be(Ae);return}be(Ae)}function T(z,Z){if(!z)return;z.focus(Z);var be=Z||{},ne=be.cursor;if(ne){var Ae=z.value.length;switch(ne){case"start":z.setSelectionRange(0,0);break;case"end":z.setSelectionRange(Ae,Ae);break;default:z.setSelectionRange(0,Ae)}}}var x=function(z){Object(v.a)(be,z);var Z=Object(p.a)(be);function be(ne){var Ae;Object(b.a)(this,be),Ae=Z.call(this,ne),Ae.direction="ltr",Ae.focus=function(oe){T(Ae.input,oe)},Ae.saveClearableInput=function(oe){Ae.clearableInput=oe},Ae.saveInput=function(oe){Ae.input=oe},Ae.onFocus=function(oe){var de=Ae.props.onFocus;Ae.setState({focused:!0},Ae.clearPasswordValueAttribute),de==null||de(oe)},Ae.onBlur=function(oe){var de=Ae.props.onBlur;Ae.setState({focused:!1},Ae.clearPasswordValueAttribute),de==null||de(oe)},Ae.handleReset=function(oe){Ae.setValue("",function(){Ae.focus()}),C(Ae.input,oe,Ae.props.onChange)},Ae.renderInput=function(oe,de,xe){var Pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},tt=Ae.props,Je=tt.className,Oe=tt.addonBefore,pt=tt.addonAfter,Qe=tt.size,nt=tt.disabled,bt=Object(e.a)(Ae.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return s.createElement("input",Object(w.a)({autoComplete:Pe.autoComplete},bt,{onChange:Ae.handleChange,onFocus:Ae.onFocus,onBlur:Ae.onBlur,onKeyDown:Ae.handleKeyDown,className:o()(l(oe,xe,Qe||de,nt,Ae.direction),Object(A.a)({},Je,Je&&!Oe&&!pt)),ref:Ae.saveInput}))},Ae.clearPasswordValueAttribute=function(){Ae.removePasswordTimeout=setTimeout(function(){Ae.input&&Ae.input.getAttribute("type")==="password"&&Ae.input.hasAttribute("value")&&Ae.input.removeAttribute("value")})},Ae.handleChange=function(oe){Ae.setValue(oe.target.value,Ae.clearPasswordValueAttribute),C(Ae.input,oe,Ae.props.onChange)},Ae.handleKeyDown=function(oe){var de=Ae.props,xe=de.onPressEnter,Pe=de.onKeyDown;xe&&oe.keyCode===13&&xe(oe),Pe==null||Pe(oe)},Ae.renderComponent=function(oe){var de=oe.getPrefixCls,xe=oe.direction,Pe=oe.input,tt=Ae.state,Je=tt.value,Oe=tt.focused,pt=Ae.props,Qe=pt.prefixCls,nt=pt.bordered,bt=nt===void 0?!0:nt,Tt=de("input",Qe);return Ae.direction=xe,s.createElement(S.b.Consumer,null,function(Ct){return s.createElement(f,Object(w.a)({size:Ct},Ae.props,{prefixCls:Tt,inputType:"input",value:E(Je),element:Ae.renderInput(Tt,Ct,bt,Pe),handleReset:Ae.handleReset,ref:Ae.saveClearableInput,direction:xe,focused:Oe,triggerFocus:Ae.focus,bordered:bt}))})};var Ne=typeof ne.value=="undefined"?ne.defaultValue:ne.value;return Ae.state={value:Ne,focused:!1,prevValue:ne.value},Ae}return Object(m.a)(be,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Ae){return t(Ae)!==t(this.props)&&Object(y.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(Ae,Ne,oe){this.input.setSelectionRange(Ae,Ne,oe)}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(Ae,Ne){this.props.value===void 0?this.setState({value:Ae},Ne):Ne==null||Ne()}},{key:"render",value:function(){return s.createElement(g.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Ae,Ne){var oe=Ne.prevValue,de={prevValue:Ae.value};return(Ae.value!==void 0||oe!==Ae.value)&&(de.value=Ae.value),de}}]),be}(s.Component);x.defaultProps={type:"text"};var _=x,I=function(Z){return s.createElement(g.a,null,function(be){var ne,Ae=be.getPrefixCls,Ne=be.direction,oe=Z.prefixCls,de=Z.className,xe=de===void 0?"":de,Pe=Ae("input-group",oe),tt=o()(Pe,(ne={},Object(A.a)(ne,"".concat(Pe,"-lg"),Z.size==="large"),Object(A.a)(ne,"".concat(Pe,"-sm"),Z.size==="small"),Object(A.a)(ne,"".concat(Pe,"-compact"),Z.compact),Object(A.a)(ne,"".concat(Pe,"-rtl"),Ne==="rtl"),ne),xe);return s.createElement("span",{className:tt,style:Z.style,onMouseEnter:Z.onMouseEnter,onMouseLeave:Z.onMouseLeave,onFocus:Z.onFocus,onBlur:Z.onBlur},Z.children)})},L=I,D=d("c+Xe"),B=d("l+S1"),N=d("Fc8i"),k=function(z,Z){var be={};for(var ne in z)Object.prototype.hasOwnProperty.call(z,ne)&&Z.indexOf(ne)<0&&(be[ne]=z[ne]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,ne=Object.getOwnPropertySymbols(z);Ae<ne.length;Ae++)Z.indexOf(ne[Ae])<0&&Object.prototype.propertyIsEnumerable.call(z,ne[Ae])&&(be[ne[Ae]]=z[ne[Ae]]);return be},W=s.forwardRef(function(z,Z){var be,ne=z.prefixCls,Ae=z.inputPrefixCls,Ne=z.className,oe=z.size,de=z.suffix,xe=z.enterButton,Pe=xe===void 0?!1:xe,tt=z.addonAfter,Je=z.loading,Oe=z.disabled,pt=z.onSearch,Qe=z.onChange,nt=k(z,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange"]),bt=s.useContext(g.b),Tt=bt.getPrefixCls,Ct=bt.direction,Nt=s.useContext(S.b),Ge=oe||Nt,ie=s.useRef(null),Y=function(xt){xt&&xt.target&&xt.type==="click"&&pt&&pt(xt.target.value,xt),Qe&&Qe(xt)},we=function(xt){var Ot;document.activeElement===((Ot=ie.current)===null||Ot===void 0?void 0:Ot.input)&&xt.preventDefault()},Ce=function(xt){var Ot;pt&&pt((Ot=ie.current)===null||Ot===void 0?void 0:Ot.input.value,xt)},le=Tt("input-search",ne),ot=Tt("input",Ae),wt=typeof Pe=="boolean"?s.createElement(B.a,null):null,rt="".concat(le,"-button"),It,Gt=Pe||{},lr=Gt.type&&Gt.type.__ANT_BUTTON===!0;lr||Gt.type==="button"?It=Object(n.a)(Gt,Object(w.a)({onMouseDown:we,onClick:Ce,key:"enterButton"},lr?{className:rt,size:Ge}:{})):It=s.createElement(N.a,{className:rt,type:Pe?"primary":void 0,size:Ge,disabled:Oe,key:"enterButton",onMouseDown:we,onClick:Ce,loading:Je,icon:wt},Pe),tt&&(It=[It,Object(n.a)(tt,{key:"addonAfter"})]);var pr=o()(le,(be={},Object(A.a)(be,"".concat(le,"-rtl"),Ct==="rtl"),Object(A.a)(be,"".concat(le,"-").concat(Ge),!!Ge),Object(A.a)(be,"".concat(le,"-with-button"),!!Pe),be),Ne);return s.createElement(_,Object(w.a)({ref:Object(D.a)(ie,Z),onPressEnter:Ce},nt,{size:Ge,prefixCls:ot,addonAfter:It,suffix:de,onChange:Y,className:pr,disabled:Oe}))});W.displayName="Search";var R=W,j=d("U8pU"),H=d("ODXe"),K=d("KQm4"),U=d("Y1PL"),Q=d("6cGi"),V=function(z,Z){var be={};for(var ne in z)Object.prototype.hasOwnProperty.call(z,ne)&&Z.indexOf(ne)<0&&(be[ne]=z[ne]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,ne=Object.getOwnPropertySymbols(z);Ae<ne.length;Ae++)Z.indexOf(ne[Ae])<0&&Object.prototype.propertyIsEnumerable.call(z,ne[Ae])&&(be[ne[Ae]]=z[ne[Ae]]);return be};function J(z,Z){return Object(K.a)(z||"").slice(0,Z).join("")}var ae=s.forwardRef(function(z,Z){var be,ne=z.prefixCls,Ae=z.bordered,Ne=Ae===void 0?!0:Ae,oe=z.showCount,de=oe===void 0?!1:oe,xe=z.maxLength,Pe=z.className,tt=z.style,Je=z.size,Oe=z.onCompositionStart,pt=z.onCompositionEnd,Qe=z.onChange,nt=V(z,["prefixCls","bordered","showCount","maxLength","className","style","size","onCompositionStart","onCompositionEnd","onChange"]),bt=s.useContext(g.b),Tt=bt.getPrefixCls,Ct=bt.direction,Nt=s.useContext(S.b),Ge=s.useRef(null),ie=s.useRef(null),Y=s.useState(!1),we=Object(H.a)(Y,2),Ce=we[0],le=we[1],ot=Object(Q.a)(nt.defaultValue,{value:nt.value}),wt=Object(H.a)(ot,2),rt=wt[0],It=wt[1],Gt=function(Tr,fr){nt.value===void 0&&(It(Tr),fr==null||fr())},lr=Number(xe)>0,pr=function(Tr){le(!0),Oe==null||Oe(Tr)},Rr=function(Tr){le(!1);var fr=Tr.currentTarget.value;lr&&(fr=J(fr,xe)),fr!==rt&&(Gt(fr),C(Tr.currentTarget,Tr,Qe,fr)),pt==null||pt(Tr)},xt=function(Tr){var fr=Tr.target.value;!Ce&&lr&&(fr=J(fr,xe)),Gt(fr),C(Tr.currentTarget,Tr,Qe,fr)},Ot=function(Tr){var fr,vt;Gt("",function(){var ft;(ft=Ge.current)===null||ft===void 0||ft.focus()}),C((vt=(fr=Ge.current)===null||fr===void 0?void 0:fr.resizableTextArea)===null||vt===void 0?void 0:vt.textArea,Tr,Qe)},At=Tt("input",ne);s.useImperativeHandle(Z,function(){var Gr;return{resizableTextArea:(Gr=Ge.current)===null||Gr===void 0?void 0:Gr.resizableTextArea,focus:function(fr){var vt,ft;T((ft=(vt=Ge.current)===null||vt===void 0?void 0:vt.resizableTextArea)===null||ft===void 0?void 0:ft.textArea,fr)},blur:function(){var fr;return(fr=Ge.current)===null||fr===void 0?void 0:fr.blur()}}});var Jt=s.createElement(U.default,Object(w.a)({},Object(e.a)(nt,["allowClear"]),{className:o()((be={},Object(A.a)(be,"".concat(At,"-borderless"),!Ne),Object(A.a)(be,Pe,Pe&&!de),Object(A.a)(be,"".concat(At,"-sm"),Nt==="small"||Je==="small"),Object(A.a)(be,"".concat(At,"-lg"),Nt==="large"||Je==="large"),be)),style:de?void 0:tt,prefixCls:At,onCompositionStart:pr,onChange:xt,onCompositionEnd:Rr,ref:Ge})),br=E(rt);!Ce&&lr&&(nt.value===null||nt.value===void 0)&&(br=J(br,xe));var Lr=s.createElement(f,Object(w.a)({},nt,{prefixCls:At,direction:Ct,inputType:"text",value:br,element:Jt,handleReset:Ot,ref:ie,bordered:Ne,style:de?void 0:tt}));if(de){var Zr=Object(K.a)(br).length,In="";return Object(j.a)(de)==="object"?In=de.formatter({count:Zr,maxLength:xe}):In="".concat(Zr).concat(lr?" / ".concat(xe):""),s.createElement("div",{className:o()("".concat(At,"-textarea"),Object(A.a)({},"".concat(At,"-textarea-rtl"),Ct==="rtl"),"".concat(At,"-textarea-show-count"),Pe),style:tt,"data-count":In},Lr)}return Lr}),se=ae,$=d("9BLJ"),ge=d("VTBJ"),he={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=he,Se=d("6VBw"),Le=function(Z,be){return s.createElement(Se.a,Object(ge.a)(Object(ge.a)({},Z),{},{ref:be,icon:Ie}))};Le.displayName="EyeInvisibleOutlined";var He=s.forwardRef(Le),G=function(z,Z){var be={};for(var ne in z)Object.prototype.hasOwnProperty.call(z,ne)&&Z.indexOf(ne)<0&&(be[ne]=z[ne]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,ne=Object.getOwnPropertySymbols(z);Ae<ne.length;Ae++)Z.indexOf(ne[Ae])<0&&Object.prototype.propertyIsEnumerable.call(z,ne[Ae])&&(be[ne[Ae]]=z[ne[Ae]]);return be},pe={click:"onClick",hover:"onMouseOver"},We=s.forwardRef(function(z,Z){var be=Object(s.useState)(!1),ne=Object(H.a)(be,2),Ae=ne[0],Ne=ne[1],oe=function(){var tt=z.disabled;if(tt)return;Ne(!Ae)},de=function(tt){var Je,Oe=z.action,pt=z.iconRender,Qe=pt===void 0?function(){return null}:pt,nt=pe[Oe]||"",bt=Qe(Ae),Tt=(Je={},Object(A.a)(Je,nt,oe),Object(A.a)(Je,"className","".concat(tt,"-icon")),Object(A.a)(Je,"key","passwordIcon"),Object(A.a)(Je,"onMouseDown",function(Nt){Nt.preventDefault()}),Object(A.a)(Je,"onMouseUp",function(Nt){Nt.preventDefault()}),Je);return s.cloneElement(s.isValidElement(bt)?bt:s.createElement("span",null,bt),Tt)},xe=function(tt){var Je=tt.getPrefixCls,Oe=z.className,pt=z.prefixCls,Qe=z.inputPrefixCls,nt=z.size,bt=z.visibilityToggle,Tt=G(z,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),Ct=Je("input",Qe),Nt=Je("input-password",pt),Ge=bt&&de(Nt),ie=o()(Nt,Oe,Object(A.a)({},"".concat(Nt,"-").concat(nt),!!nt)),Y=Object(w.a)(Object(w.a)({},Object(e.a)(Tt,["suffix","iconRender"])),{type:Ae?"text":"password",className:ie,prefixCls:Ct,suffix:Ge});return nt&&(Y.size=nt),s.createElement(_,Object(w.a)({ref:Z},Y))};return s.createElement(g.a,null,xe)});We.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(Z){return Z?s.createElement($.a,null):s.createElement(He,null)}},We.displayName="Password";var te=We;_.Group=L,_.Search=R,_.TextArea=se,_.Password=te;var X=P.a=_},FNN5:function(M,P,d){var w=d("bYtY"),A=d("IwbS"),b=d("+rIm"),m=d("Znkb"),v=["axisLine","axisTickLabel","axisName"],p=["splitLine","splitArea","minorSplitLine"],s=m.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(o,e){if(this.group.removeAll(),!o.get("show"))return;var r=o.axis,i=r.polar,n=i.getAngleAxis(),l=r.getTicksCoords(),t=r.getMinorTicksCoords(),a=n.getExtent()[0],c=r.getExtent(),h=u(i,o,a),f=new b(o,h);w.each(v,f.add,f),this.group.add(f.getGroup()),w.each(p,function(g){o.get(g+".show")&&!r.scale.isBlank()&&this["_"+g](o,i,a,c,l,t)},this)},_splitLine:function(o,e,r,i,n){var l=o.getModel("splitLine"),t=l.getModel("lineStyle"),a=t.get("color"),c=0;a=a instanceof Array?a:[a];for(var h=[],f=0;f<n.length;f++){var g=c++%a.length;h[g]=h[g]||[],h[g].push(new A.Circle({shape:{cx:e.cx,cy:e.cy,r:n[f].coord}}))}for(var f=0;f<h.length;f++)this.group.add(A.mergePath(h[f],{style:w.defaults({stroke:a[f%a.length],fill:null},t.getLineStyle()),silent:!0}))},_minorSplitLine:function(o,e,r,i,n,l){if(!l.length)return;for(var t=o.getModel("minorSplitLine"),a=t.getModel("lineStyle"),c=[],h=0;h<l.length;h++)for(var f=0;f<l[h].length;f++)c.push(new A.Circle({shape:{cx:e.cx,cy:e.cy,r:l[h][f].coord}}));this.group.add(A.mergePath(c,{style:w.defaults({fill:null},a.getLineStyle()),silent:!0}))},_splitArea:function(o,e,r,i,n){if(!n.length)return;var l=o.getModel("splitArea"),t=l.getModel("areaStyle"),a=t.get("color"),c=0;a=a instanceof Array?a:[a];for(var h=[],f=n[0].coord,g=1;g<n.length;g++){var S=c++%a.length;h[S]=h[S]||[],h[S].push(new A.Sector({shape:{cx:e.cx,cy:e.cy,r0:f,r:n[g].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),f=n[g].coord}for(var g=0;g<h.length;g++)this.group.add(A.mergePath(h[g],{style:w.defaults({fill:a[g%a.length]},t.getAreaStyle()),silent:!0}))}});function u(o,e,r){return{position:[o.cx,o.cy],rotation:r/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}M.exports=s},FUi9:function(M,P,d){var w=d("bYtY"),A=d("MwEJ"),b=d("aX7z"),m=d("ICMv"),v=d("Qxkt"),p=d("+TT/"),s=p.getLayoutRect;P.getLayoutRect=p.getLayoutRect;var u=d("7hqr"),o=u.enableDataStack,e=u.isDimensionStacked,r=u.getStackedDimension,i=d("hi0g");P.completeDimensions=i;var n=d("sdST");P.createDimensions=n;var l=d("oVpE");P.createSymbol=l.createSymbol;function t(f){return A(f.getSource(),f)}var a={isDimensionStacked:e,enableDataStack:o,getStackedDimension:r};function c(f,g){var S=g;v.isInstance(g)||(S=new v(g),w.mixin(S,m));var y=b.createScaleByModel(S);return y.setExtent(f[0],f[1]),b.niceScaleExtent(y,S),y}function h(f){w.mixin(f,m)}P.createList=t,P.dataStack=a,P.createScale=c,P.mixinAxisModelCommonMethods=h},FVSQ:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("bllP"),m=d.n(b)},"Fa/5":function(M,P,d){var w=d("ProS");d("y2l5"),d("q/+u");var A=d("f5Yq"),b=d("h8O9");d("Ae16"),w.registerVisual(A("scatter","circle")),w.registerLayout(b("scatter"))},Fofx:function(M,P){var d=typeof Float32Array=="undefined"?Array:Float32Array;function w(){var e=new d(6);return A(e),e}function A(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function b(e,r){return e[0]=r[0],e[1]=r[1],e[2]=r[2],e[3]=r[3],e[4]=r[4],e[5]=r[5],e}function m(e,r,i){var n=r[0]*i[0]+r[2]*i[1],l=r[1]*i[0]+r[3]*i[1],t=r[0]*i[2]+r[2]*i[3],a=r[1]*i[2]+r[3]*i[3],c=r[0]*i[4]+r[2]*i[5]+r[4],h=r[1]*i[4]+r[3]*i[5]+r[5];return e[0]=n,e[1]=l,e[2]=t,e[3]=a,e[4]=c,e[5]=h,e}function v(e,r,i){return e[0]=r[0],e[1]=r[1],e[2]=r[2],e[3]=r[3],e[4]=r[4]+i[0],e[5]=r[5]+i[1],e}function p(e,r,i){var n=r[0],l=r[2],t=r[4],a=r[1],c=r[3],h=r[5],f=Math.sin(i),g=Math.cos(i);return e[0]=n*g+a*f,e[1]=-n*f+a*g,e[2]=l*g+c*f,e[3]=-l*f+g*c,e[4]=g*t+f*h,e[5]=g*h-f*t,e}function s(e,r,i){var n=i[0],l=i[1];return e[0]=r[0]*n,e[1]=r[1]*l,e[2]=r[2]*n,e[3]=r[3]*l,e[4]=r[4]*n,e[5]=r[5]*l,e}function u(e,r){var i=r[0],n=r[2],l=r[4],t=r[1],a=r[3],c=r[5],h=i*a-t*n;return h?(h=1/h,e[0]=a*h,e[1]=-t*h,e[2]=-n*h,e[3]=i*h,e[4]=(n*c-a*l)*h,e[5]=(t*l-i*c)*h,e):null}function o(e){var r=w();return b(r,e),r}P.create=w,P.identity=A,P.copy=b,P.mul=m,P.translate=v,P.rotate=p,P.scale=s,P.invert=u,P.clone=o},Fv0C:function(M,P,d){"use strict";function w(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(a){return typeof a}:w=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},w(l)}Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var A=o(d("Lo0S")),b=d("vewr"),m=o(d("8CQX")),v=s(d("mHUz")),p=o(d("GdRQ"));function s(l){return l&&l.__esModule?l:{default:l}}function u(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return u=function(){return l},l}function o(l){if(l&&l.__esModule)return l;if(l===null||w(l)!=="object"&&typeof l!="function")return{default:l};var t=u();if(t&&t.has(l))return t.get(l);var a={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(Object.prototype.hasOwnProperty.call(l,h)){var f=c?Object.getOwnPropertyDescriptor(l,h):null;f&&(f.get||f.set)?Object.defineProperty(a,h,f):a[h]=l[h]}return a.default=l,t&&t.set(l,a),a}function e(l,t){if(!(l instanceof t))throw new TypeError("Cannot call a class as a function")}function r(l,t){for(var a=0;a<t.length;a++){var c=t[a];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(l,c.key,c)}}function i(l,t,a){return t&&r(l.prototype,t),a&&r(l,a),l}var n=function(){function l(t){e(this,l),this._target=t||null,this._keyDownList={},this._pendingKey=null,this._altGrArmed=!1,this._eventHandlers={keyup:this._handleKeyUp.bind(this),keydown:this._handleKeyDown.bind(this),keypress:this._handleKeyPress.bind(this),blur:this._allKeysUp.bind(this),checkalt:this._checkAlt.bind(this)},this.onkeyevent=function(){}}return i(l,[{key:"_sendKeyEvent",value:function(a,c,h){if(h)this._keyDownList[c]=a;else{if(!(c in this._keyDownList))return;delete this._keyDownList[c]}A.Debug("onkeyevent "+(h?"down":"up")+", keysym: "+a,", code: "+c),this.onkeyevent(a,c,h)}},{key:"_getKeyCode",value:function(a){var c=m.getKeycode(a);if(c!=="Unidentified")return c;if(a.keyCode&&a.type!=="keypress"&&a.keyCode!==229)return"Platform"+a.keyCode;if(a.keyIdentifier){if(a.keyIdentifier.substr(0,2)!=="U+")return a.keyIdentifier;var h=parseInt(a.keyIdentifier.substr(2),16),f=String.fromCharCode(h).toUpperCase();return"Platform"+f.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(a){var c=this._getKeyCode(a),h=m.getKeysym(a);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),c==="AltRight"&&a.timeStamp-this._altGrCtrlTime<50?h=v.default.XK_ISO_Level3_Shift:this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),c==="Unidentified"){h&&(this._sendKeyEvent(h,c,!0),this._sendKeyEvent(h,c,!1)),(0,b.stopEvent)(a);return}if(p.isMac()||p.isIOS())switch(h){case v.default.XK_Super_L:h=v.default.XK_Alt_L;break;case v.default.XK_Super_R:h=v.default.XK_Super_L;break;case v.default.XK_Alt_L:h=v.default.XK_Mode_switch;break;case v.default.XK_Alt_R:h=v.default.XK_ISO_Level3_Shift;break}if(c in this._keyDownList&&(h=this._keyDownList[c]),(p.isMac()||p.isIOS())&&c==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1),(0,b.stopEvent)(a);return}if(!h&&(!a.key||p.isIE()||p.isEdge())){this._pendingKey=c,setTimeout(this._handleKeyPressTimeout.bind(this),10,a);return}if(this._pendingKey=null,(0,b.stopEvent)(a),c==="ControlLeft"&&p.isWindows()&&!("ControlLeft"in this._keyDownList)){this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),this._altGrCtrlTime=a.timeStamp;return}this._sendKeyEvent(h,c,!0)}},{key:"_handleKeyPress",value:function(a){if((0,b.stopEvent)(a),this._pendingKey===null)return;var c=this._getKeyCode(a),h=m.getKeysym(a);if(c!=="Unidentified"&&c!=this._pendingKey)return;if(c=this._pendingKey,this._pendingKey=null,!h){A.Info("keypress with no keysym:",a);return}this._sendKeyEvent(h,c,!0)}},{key:"_handleKeyPressTimeout",value:function(a){if(this._pendingKey===null)return;var c,h=this._pendingKey;if(this._pendingKey=null,a.keyCode>=48&&a.keyCode<=57)c=a.keyCode;else if(a.keyCode>=65&&a.keyCode<=90){var f=String.fromCharCode(a.keyCode);a.shiftKey?f=f.toUpperCase():f=f.toLowerCase(),c=f.charCodeAt()}else c=0;this._sendKeyEvent(c,h,!0)}},{key:"_handleKeyUp",value:function(a){(0,b.stopEvent)(a);var c=this._getKeyCode(a);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),(p.isMac()||p.isIOS())&&c==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[c],c,!1),p.isWindows()&&(c==="ShiftLeft"||c==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){A.Debug(">> Keyboard.allKeysUp");for(var a in this._keyDownList)this._sendKeyEvent(this._keyDownList[a],a,!1);A.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(a){if(a.skipCheckAlt)return;if(a.altKey)return;var c=this._target,h=this._keyDownList;["AltLeft","AltRight"].forEach(function(f){if(!(f in h))return;var g=new KeyboardEvent("keyup",{key:h[f],code:f});g.skipCheckAlt=!0,c.dispatchEvent(g)})}},{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 a=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(c){return document.addEventListener(c,a,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(p.isWindows()&&p.isFirefox()){var a=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(c){return document.removeEventListener(c,a)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),l}();P.default=n},FxDU:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.createSensor=void 0;var w=d("QO+J"),A=d("j5sG"),b=typeof ResizeObserver!="undefined"?A.createSensor:w.createSensor;P.createSensor=b},G3RQ:function(M,P,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("q1tI"),m=d("ODXe"),v=d("Ff2n"),p=d("TSYQ"),s=d.n(p),u=d("6cGi"),o=d("4IlW"),e=b.forwardRef(function(g,S){var y,E=g.prefixCls,C=E===void 0?"rc-switch":E,T=g.className,x=g.checked,_=g.defaultChecked,I=g.disabled,L=g.loadingIcon,D=g.checkedChildren,B=g.unCheckedChildren,N=g.onClick,k=g.onChange,W=g.onKeyDown,R=Object(v.a)(g,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),j=Object(u.a)(!1,{value:x,defaultValue:_}),H=Object(m.a)(j,2),K=H[0],U=H[1];function Q(se,$){var ge=K;return I||(ge=se,U(ge),k==null||k(ge,$)),ge}function V(se){se.which===o.a.LEFT?Q(!1,se):se.which===o.a.RIGHT&&Q(!0,se),W==null||W(se)}function J(se){var $=Q(!K,se);N==null||N($,se)}var ae=s()(C,T,(y={},Object(A.a)(y,"".concat(C,"-checked"),K),Object(A.a)(y,"".concat(C,"-disabled"),I),y));return b.createElement("button",Object.assign({},R,{type:"button",role:"switch","aria-checked":K,disabled:I,className:ae,ref:S,onKeyDown:V,onClick:J}),L,b.createElement("span",{className:"".concat(C,"-inner")},K?D:B))});e.displayName="Switch";var r=e,i=d("ye1Q"),n=d("9NSp"),l=d("9R2V"),t=d("kc2O"),a=d("bq+4"),c=function(g,S){var y={};for(var E in g)Object.prototype.hasOwnProperty.call(g,E)&&S.indexOf(E)<0&&(y[E]=g[E]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,E=Object.getOwnPropertySymbols(g);C<E.length;C++)S.indexOf(E[C])<0&&Object.prototype.propertyIsEnumerable.call(g,E[C])&&(y[E[C]]=g[E[C]]);return y},h=b.forwardRef(function(g,S){var y,E=g.prefixCls,C=g.size,T=g.loading,x=g.className,_=x===void 0?"":x,I=g.disabled,L=c(g,["prefixCls","size","loading","className","disabled"]);Object(a.a)("checked"in L||!("value"in L),"Switch","`value` is not a valid prop, do you mean `checked`?");var D=b.useContext(l.b),B=D.getPrefixCls,N=D.direction,k=b.useContext(t.b),W=B("switch",E),R=b.createElement("div",{className:"".concat(W,"-handle")},T&&b.createElement(i.a,{className:"".concat(W,"-loading-icon")})),j=s()((y={},Object(A.a)(y,"".concat(W,"-small"),(C||k)==="small"),Object(A.a)(y,"".concat(W,"-loading"),T),Object(A.a)(y,"".concat(W,"-rtl"),N==="rtl"),y),_);return b.createElement(n.a,{insertExtraNode:!0},b.createElement(r,Object(w.a)({},L,{prefixCls:W,className:j,disabled:I||T,ref:S,loadingIcon:R})))});h.__ANT_SWITCH=!0,h.displayName="Switch";var f=P.a=h},GIiI:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="PoweroffOutlined";var s=P.a=A.forwardRef(p)},GJq7:function(M,P,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("q1tI"),m=d("ODXe"),v=d("U8pU"),p=d("Ff2n"),s=d("VTBJ"),u=d("TSYQ"),o=d.n(u),e=d("Zm9Q"),r=d("5Z9U"),i=d("6cGi"),n=d("KQm4"),l=d("wgJM"),t=d("t23M");function a(ne){var Ae=Object(b.useRef)(),Ne=Object(b.useRef)(!1);function oe(){for(var de=arguments.length,xe=new Array(de),Pe=0;Pe<de;Pe++)xe[Pe]=arguments[Pe];Ne.current||(l.a.cancel(Ae.current),Ae.current=Object(l.a)(function(){ne.apply(void 0,xe)}))}return Object(b.useEffect)(function(){return function(){Ne.current=!0,l.a.cancel(Ae.current)}},[]),oe}function c(ne){var Ae=Object(b.useRef)([]),Ne=Object(b.useState)({}),oe=Object(m.a)(Ne,2),de=oe[1],xe=Object(b.useRef)(typeof ne=="function"?ne():ne),Pe=a(function(){var Je=xe.current;Ae.current.forEach(function(Oe){Je=Oe(Je)}),Ae.current=[],xe.current=Je,de({})});function tt(Je){Ae.current.push(Je),Pe()}return[xe.current,tt]}var h=d("4IlW");function f(ne,Ae){var Ne,oe=ne.prefixCls,de=ne.id,xe=ne.active,Pe=ne.tab,tt=Pe.key,Je=Pe.tab,Oe=Pe.disabled,pt=Pe.closeIcon,Qe=ne.closable,nt=ne.renderWrapper,bt=ne.removeAriaLabel,Tt=ne.editable,Ct=ne.onClick,Nt=ne.onRemove,Ge=ne.onFocus,ie=ne.style,Y="".concat(oe,"-tab");b.useEffect(function(){return Nt},[]);var we=Tt&&Qe!==!1&&!Oe;function Ce(wt){if(Oe)return;Ct(wt)}function le(wt){wt.preventDefault(),wt.stopPropagation(),Tt.onEdit("remove",{key:tt,event:wt})}var ot=b.createElement("div",{key:tt,ref:Ae,className:o()(Y,(Ne={},Object(A.a)(Ne,"".concat(Y,"-with-remove"),we),Object(A.a)(Ne,"".concat(Y,"-active"),xe),Object(A.a)(Ne,"".concat(Y,"-disabled"),Oe),Ne)),style:ie,onClick:Ce},b.createElement("div",{role:"tab","aria-selected":xe,id:de&&"".concat(de,"-tab-").concat(tt),className:"".concat(Y,"-btn"),"aria-controls":de&&"".concat(de,"-panel-").concat(tt),"aria-disabled":Oe,tabIndex:Oe?null:0,onClick:function(rt){rt.stopPropagation(),Ce(rt)},onKeyDown:function(rt){[h.a.SPACE,h.a.ENTER].includes(rt.which)&&(rt.preventDefault(),Ce(rt))},onFocus:Ge},Je),we&&b.createElement("button",{type:"button","aria-label":bt||"remove",tabIndex:0,className:"".concat(Y,"-remove"),onClick:function(rt){rt.stopPropagation(),le(rt)}},pt||Tt.removeIcon||"\xD7"));return nt?nt(ot):ot}var g=b.forwardRef(f),S={width:0,height:0,left:0,top:0};function y(ne,Ae,Ne){return Object(b.useMemo)(function(){for(var oe,de=new Map,xe=Ae.get((oe=ne[0])===null||oe===void 0?void 0:oe.key)||S,Pe=xe.left+xe.width,tt=0;tt<ne.length;tt+=1){var Je=ne[tt].key,Oe=Ae.get(Je);if(!Oe){var pt;Oe=Ae.get((pt=ne[tt-1])===null||pt===void 0?void 0:pt.key)||S}var Qe=de.get(Je)||Object(s.a)({},Oe);Qe.right=Pe-Qe.left-Qe.width,de.set(Je,Qe)}return de},[ne.map(function(oe){return oe.key}).join("_"),Ae,Ne])}var E={width:0,height:0,left:0,top:0,right:0};function C(ne,Ae,Ne,oe,de){var xe=de.tabs,Pe=de.tabPosition,tt=de.rtl,Je,Oe,pt;["top","bottom"].includes(Pe)?(Je="width",Oe=tt?"right":"left",pt=Math.abs(Ae.left)):(Je="height",Oe="top",pt=-Ae.top);var Qe=Ae[Je],nt=Ne[Je],bt=oe[Je],Tt=Qe;return nt+bt>Qe&&(Tt=Qe-bt),Object(b.useMemo)(function(){if(!xe.length)return[0,0];for(var Ct=xe.length,Nt=Ct,Ge=0;Ge<Ct;Ge+=1){var ie=ne.get(xe[Ge].key)||E;if(ie[Oe]+ie[Je]>pt+Tt){Nt=Ge-1;break}}for(var Y=0,we=Ct-1;we>=0;we-=1){var Ce=ne.get(xe[we].key)||E;if(Ce[Oe]<pt){Y=we+1;break}}return[Y,Nt]},[ne,pt,Tt,Pe,xe.map(function(Ct){return Ct.key}).join("_"),tt])}var T=d("1j5w"),x=d("eDIo");function _(ne,Ae){var Ne=ne.prefixCls,oe=ne.editable,de=ne.locale,xe=ne.style;return!oe||oe.showAdd===!1?null:b.createElement("button",{ref:Ae,type:"button",className:"".concat(Ne,"-nav-add"),style:xe,"aria-label":(de==null?void 0:de.addAriaLabel)||"Add tab",onClick:function(tt){oe.onEdit("add",{event:tt})}},oe.addIcon||"+")}var I=b.forwardRef(_);function L(ne,Ae){var Ne=ne.prefixCls,oe=ne.id,de=ne.tabs,xe=ne.locale,Pe=ne.mobile,tt=ne.moreIcon,Je=tt===void 0?"More":tt,Oe=ne.moreTransitionName,pt=ne.style,Qe=ne.className,nt=ne.editable,bt=ne.tabBarGutter,Tt=ne.rtl,Ct=ne.onTabClick,Nt=Object(b.useState)(!1),Ge=Object(m.a)(Nt,2),ie=Ge[0],Y=Ge[1],we=Object(b.useState)(null),Ce=Object(m.a)(we,2),le=Ce[0],ot=Ce[1],wt="".concat(oe,"-more-popup"),rt="".concat(Ne,"-dropdown"),It=le!==null?"".concat(wt,"-").concat(le):null,Gt=xe==null?void 0:xe.dropdownAriaLabel,lr=b.createElement(T.f,{onClick:function(br){var Lr=br.key,Zr=br.domEvent;Ct(Lr,Zr),Y(!1)},id:wt,tabIndex:-1,role:"listbox","aria-activedescendant":It,selectedKeys:[le],"aria-label":Gt!==void 0?Gt:"expanded dropdown"},de.map(function(Jt){return b.createElement(T.d,{key:Jt.key,id:"".concat(wt,"-").concat(Jt.key),role:"option","aria-controls":oe&&"".concat(oe,"-panel-").concat(Jt.key),disabled:Jt.disabled},Jt.tab)}));function pr(Jt){for(var br=de.filter(function(Tr){return!Tr.disabled}),Lr=br.findIndex(function(Tr){return Tr.key===le})||0,Zr=br.length,In=0;In<Zr;In+=1){Lr=(Lr+Jt+Zr)%Zr;var Gr=br[Lr];if(!Gr.disabled){ot(Gr.key);return}}}function Rr(Jt){var br=Jt.which;if(!ie){[h.a.DOWN,h.a.SPACE,h.a.ENTER].includes(br)&&(Y(!0),Jt.preventDefault());return}switch(br){case h.a.UP:pr(-1),Jt.preventDefault();break;case h.a.DOWN:pr(1),Jt.preventDefault();break;case h.a.ESC:Y(!1);break;case h.a.SPACE:case h.a.ENTER:le!==null&&Ct(le,Jt);break}}Object(b.useEffect)(function(){var Jt=document.getElementById(It);Jt&&Jt.scrollIntoView&&Jt.scrollIntoView(!1)},[le]),Object(b.useEffect)(function(){ie||ot(null)},[ie]);var xt=Object(A.a)({},Tt?"marginRight":"marginLeft",bt);de.length||(xt.visibility="hidden",xt.order=1);var Ot=o()(Object(A.a)({},"".concat(rt,"-rtl"),Tt)),At=Pe?null:b.createElement(x.a,{prefixCls:rt,overlay:lr,trigger:["hover"],visible:ie,transitionName:Oe,onVisibleChange:Y,overlayClassName:Ot,mouseEnterDelay:.1,mouseLeaveDelay:.1},b.createElement("button",{type:"button",className:"".concat(Ne,"-nav-more"),style:xt,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":wt,id:"".concat(oe,"-more"),"aria-expanded":ie,onKeyDown:Rr},Je));return b.createElement("div",{className:o()("".concat(Ne,"-nav-operations"),Qe),style:pt,ref:Ae},At,b.createElement(I,{prefixCls:Ne,locale:xe,editable:nt}))}var D=b.forwardRef(L),B=Object(b.createContext)(null),N=.1,k=.01,W=20,R=Math.pow(.995,W);function j(ne,Ae){var Ne=Object(b.useState)(),oe=Object(m.a)(Ne,2),de=oe[0],xe=oe[1],Pe=Object(b.useState)(0),tt=Object(m.a)(Pe,2),Je=tt[0],Oe=tt[1],pt=Object(b.useState)(0),Qe=Object(m.a)(pt,2),nt=Qe[0],bt=Qe[1],Tt=Object(b.useState)(),Ct=Object(m.a)(Tt,2),Nt=Ct[0],Ge=Ct[1],ie=Object(b.useRef)();function Y(rt){var It=rt.touches[0],Gt=It.screenX,lr=It.screenY;xe({x:Gt,y:lr}),window.clearInterval(ie.current)}function we(rt){if(!de)return;rt.preventDefault();var It=rt.touches[0],Gt=It.screenX,lr=It.screenY;xe({x:Gt,y:lr});var pr=Gt-de.x,Rr=lr-de.y;Ae(pr,Rr);var xt=Date.now();Oe(xt),bt(xt-Je),Ge({x:pr,y:Rr})}function Ce(){if(!de)return;if(xe(null),Ge(null),Nt){var rt=Nt.x/nt,It=Nt.y/nt,Gt=Math.abs(rt),lr=Math.abs(It);if(Math.max(Gt,lr)<N)return;var pr=rt,Rr=It;ie.current=window.setInterval(function(){if(Math.abs(pr)<k&&Math.abs(Rr)<k){window.clearInterval(ie.current);return}pr*=R,Rr*=R,Ae(pr*W,Rr*W)},W)}}var le=Object(b.useRef)();function ot(rt){var It=rt.deltaX,Gt=rt.deltaY,lr=0,pr=Math.abs(It),Rr=Math.abs(Gt);pr===Rr?lr=le.current==="x"?It:Gt:pr>Rr?(lr=It,le.current="x"):(lr=Gt,le.current="y"),Ae(-lr,-lr)&&rt.preventDefault()}var wt=Object(b.useRef)(null);wt.current={onTouchStart:Y,onTouchMove:we,onTouchEnd:Ce,onWheel:ot},b.useEffect(function(){function rt(pr){wt.current.onTouchStart(pr)}function It(pr){wt.current.onTouchMove(pr)}function Gt(pr){wt.current.onTouchEnd(pr)}function lr(pr){wt.current.onWheel(pr)}return document.addEventListener("touchmove",It,{passive:!1}),document.addEventListener("touchend",Gt,{passive:!1}),ne.current.addEventListener("touchstart",rt,{passive:!1}),ne.current.addEventListener("wheel",lr),function(){document.removeEventListener("touchmove",It),document.removeEventListener("touchend",Gt)}},[])}function H(){var ne=Object(b.useRef)(new Map);function Ae(oe){return ne.current.has(oe)||ne.current.set(oe,b.createRef()),ne.current.get(oe)}function Ne(oe){ne.current.delete(oe)}return[Ae,Ne]}function K(ne,Ae){var Ne=b.useRef(ne),oe=b.useState({}),de=Object(m.a)(oe,2),xe=de[1];function Pe(tt){var Je=typeof tt=="function"?tt(Ne.current):tt;Je!==Ne.current&&Ae(Je,Ne.current),Ne.current=Je,xe({})}return[Ne.current,Pe]}var U=function(Ae){var Ne=Ae.position,oe=Ae.prefixCls,de=Ae.extra;if(!de)return null;var xe,Pe={};return de&&Object(v.a)(de)==="object"&&!b.isValidElement(de)?Pe=de:Pe.right=de,Ne==="right"&&(xe=Pe.right),Ne==="left"&&(xe=Pe.left),xe?b.createElement("div",{className:"".concat(oe,"-extra-content")},xe):null};function Q(ne,Ae){var Ne,oe=b.useContext(B),de=oe.prefixCls,xe=oe.tabs,Pe=ne.className,tt=ne.style,Je=ne.id,Oe=ne.animated,pt=ne.activeKey,Qe=ne.rtl,nt=ne.extra,bt=ne.editable,Tt=ne.locale,Ct=ne.tabPosition,Nt=ne.tabBarGutter,Ge=ne.children,ie=ne.onTabClick,Y=ne.onTabScroll,we=Object(b.useRef)(),Ce=Object(b.useRef)(),le=Object(b.useRef)(),ot=Object(b.useRef)(),wt=H(),rt=Object(m.a)(wt,2),It=rt[0],Gt=rt[1],lr=Ct==="top"||Ct==="bottom",pr=K(0,function(kn,di){lr&&Y&&Y({direction:kn>di?"left":"right"})}),Rr=Object(m.a)(pr,2),xt=Rr[0],Ot=Rr[1],At=K(0,function(kn,di){!lr&&Y&&Y({direction:kn>di?"top":"bottom"})}),Jt=Object(m.a)(At,2),br=Jt[0],Lr=Jt[1],Zr=Object(b.useState)(0),In=Object(m.a)(Zr,2),Gr=In[0],Tr=In[1],fr=Object(b.useState)(0),vt=Object(m.a)(fr,2),ft=vt[0],De=vt[1],je=Object(b.useState)(0),Ye=Object(m.a)(je,2),st=Ye[0],kt=Ye[1],$t=Object(b.useState)(0),Nr=Object(m.a)($t,2),yn=Nr[0],un=Nr[1],Kt=Object(b.useState)(null),St=Object(m.a)(Kt,2),Mt=St[0],Zt=St[1],kr=Object(b.useState)(null),Hr=Object(m.a)(kr,2),$r=Hr[0],Bt=Hr[1],cr=Object(b.useState)(0),Cr=Object(m.a)(cr,2),Br=Cr[0],zr=Cr[1],An=Object(b.useState)(0),bn=Object(m.a)(An,2),Sn=bn[0],Mn=bn[1],ei=c(new Map),Zn=Object(m.a)(ei,2),ai=Zn[0],ii=Zn[1],$e=y(xe,ai,Gr),Te="".concat(de,"-nav-operations-hidden"),ke=0,Me=0;lr?Qe?(ke=0,Me=Math.max(0,Gr-Mt)):(ke=Math.min(0,Mt-Gr),Me=0):(ke=Math.min(0,$r-ft),Me=0);function Ze(kn){return kn<ke?ke:kn>Me?Me:kn}var Xe=Object(b.useRef)(),qe=Object(b.useState)(),mt=Object(m.a)(qe,2),ht=mt[0],Vt=mt[1];function dr(){Vt(Date.now())}function tr(){window.clearTimeout(Xe.current)}j(we,function(kn,di){function qr(xr,nn){xr(function(gn){var On=Ze(gn+nn);return On})}if(lr){if(Mt>=Gr)return!1;qr(Ot,kn)}else{if($r>=ft)return!1;qr(Lr,di)}return tr(),dr(),!0}),Object(b.useEffect)(function(){return tr(),ht&&(Xe.current=window.setTimeout(function(){Vt(0)},100)),tr},[ht]);function ir(){var kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pt,di=$e.get(kn)||{width:0,height:0,left:0,right:0,top:0};if(lr){var qr=xt;Qe?di.right<xt?qr=di.right:di.right+di.width>xt+Mt&&(qr=di.right+di.width-Mt):di.left<-xt?qr=-di.left:di.left+di.width>-xt+Mt&&(qr=-(di.left+di.width-Mt)),Lr(0),Ot(Ze(qr))}else{var xr=br;di.top<-br?xr=-di.top:di.top+di.height>-br+$r&&(xr=-(di.top+di.height-$r)),Ot(0),Lr(Ze(xr))}}var _t=C($e,{width:Mt,height:$r,left:xt,top:br},{width:st,height:yn},{width:Br,height:Sn},Object(s.a)(Object(s.a)({},ne),{},{tabs:xe})),gr=Object(m.a)(_t,2),jt=gr[0],Sr=gr[1],Ar={};Ct==="top"||Ct==="bottom"?Ar[Qe?"marginRight":"marginLeft"]=Nt:Ar.marginTop=Nt;var sr=xe.map(function(kn,di){var qr=kn.key;return b.createElement(g,{id:Je,prefixCls:de,key:qr,tab:kn,style:di===0?void 0:Ar,closable:kn.closable,editable:bt,active:qr===pt,renderWrapper:Ge,removeAriaLabel:Tt==null?void 0:Tt.removeAriaLabel,ref:It(qr),onClick:function(nn){ie(qr,nn)},onRemove:function(){Gt(qr)},onFocus:function(){if(ir(qr),dr(),!we.current)return;Qe||(we.current.scrollLeft=0),we.current.scrollTop=0}})}),ln=a(function(){var kn,di,qr,xr,nn,gn,On,Bn,Wn,$n=((kn=we.current)===null||kn===void 0?void 0:kn.offsetWidth)||0,Jn=((di=we.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,Bi=((nn=le.current)===null||nn===void 0?void 0:nn.offsetWidth)||0,ja=((gn=le.current)===null||gn===void 0?void 0:gn.offsetHeight)||0;Zt($n),Bt(Jn),zr(vi),Mn(Pi);var Qn=(((On=Ce.current)===null||On===void 0?void 0:On.offsetWidth)||0)-vi,Xr=(((Bn=Ce.current)===null||Bn===void 0?void 0:Bn.offsetHeight)||0)-Pi;Tr(Qn),De(Xr);var hi=(Wn=le.current)===null||Wn===void 0?void 0:Wn.className.includes(Te);kt(Qn-(hi?0:Bi)),un(Xr-(hi?0:ja)),ii(function(){var Ri=new Map;return xe.forEach(function(bi){var Ui=bi.key,ni=It(Ui).current;ni&&Ri.set(Ui,{width:ni.offsetWidth,height:ni.offsetHeight,left:ni.offsetLeft,top:ni.offsetTop})}),Ri})}),_n=xe.slice(0,jt),zn=xe.slice(Sr+1),Nn=[].concat(Object(n.a)(_n),Object(n.a)(zn)),Fn=Object(b.useState)(),Gn=Object(m.a)(Fn,2),xn=Gn[0],mi=Gn[1],rn=$e.get(pt),Ur=Object(b.useRef)();function cn(){l.a.cancel(Ur.current)}Object(b.useEffect)(function(){var kn={};return rn&&(lr?(Qe?kn.right=rn.right:kn.left=rn.left,kn.width=rn.width):(kn.top=rn.top,kn.height=rn.height)),cn(),Ur.current=Object(l.a)(function(){mi(kn)}),cn},[rn,lr,Qe]),Object(b.useEffect)(function(){ir()},[pt,rn,$e,lr]),Object(b.useEffect)(function(){ln()},[Qe,Nt,pt,xe.map(function(kn){return kn.key}).join("_")]);var Qr=!!Nn.length,Vn="".concat(de,"-nav-wrap"),Hn,li,Un,gi;return lr?Qe?(li=xt>0,Hn=xt+Mt<Gr):(Hn=xt<0,li=-xt+Mt<Gr):(Un=br<0,gi=-br+$r<ft),b.createElement("div",{ref:Ae,role:"tablist",className:o()("".concat(de,"-nav"),Pe),style:tt,onKeyDown:function(){dr()}},b.createElement(U,{position:"left",extra:nt,prefixCls:de}),b.createElement(t.a,{onResize:ln},b.createElement("div",{className:o()(Vn,(Ne={},Object(A.a)(Ne,"".concat(Vn,"-ping-left"),Hn),Object(A.a)(Ne,"".concat(Vn,"-ping-right"),li),Object(A.a)(Ne,"".concat(Vn,"-ping-top"),Un),Object(A.a)(Ne,"".concat(Vn,"-ping-bottom"),gi),Ne)),ref:we},b.createElement(t.a,{onResize:ln},b.createElement("div",{ref:Ce,className:"".concat(de,"-nav-list"),style:{transform:"translate(".concat(xt,"px, ").concat(br,"px)"),transition:ht?"none":void 0}},sr,b.createElement(I,{ref:ot,prefixCls:de,locale:Tt,editable:bt,style:Object(s.a)(Object(s.a)({},sr.length===0?void 0:Ar),{},{visibility:Qr?"hidden":null})}),b.createElement("div",{className:o()("".concat(de,"-ink-bar"),Object(A.a)({},"".concat(de,"-ink-bar-animated"),Oe.inkBar)),style:xn}))))),b.createElement(D,Object(w.a)({},ne,{ref:le,prefixCls:de,tabs:Nn,className:!Qr&&Te})),b.createElement(U,{position:"right",extra:nt,prefixCls:de}))}var V=b.forwardRef(Q);function J(ne){var Ae=ne.id,Ne=ne.activeKey,oe=ne.animated,de=ne.tabPosition,xe=ne.rtl,Pe=ne.destroyInactiveTabPane,tt=b.useContext(B),Je=tt.prefixCls,Oe=tt.tabs,pt=oe.tabPane,Qe=Oe.findIndex(function(nt){return nt.key===Ne});return b.createElement("div",{className:o()("".concat(Je,"-content-holder"))},b.createElement("div",{className:o()("".concat(Je,"-content"),"".concat(Je,"-content-").concat(de),Object(A.a)({},"".concat(Je,"-content-animated"),pt)),style:Qe&&pt?Object(A.a)({},xe?"marginRight":"marginLeft","-".concat(Qe,"00%")):null},Oe.map(function(nt){return b.cloneElement(nt.node,{key:nt.key,prefixCls:Je,tabKey:nt.key,id:Ae,animated:pt,active:nt.key===Ne,destroyInactiveTabPane:Pe})})))}function ae(ne){var Ae=ne.prefixCls,Ne=ne.forceRender,oe=ne.className,de=ne.style,xe=ne.id,Pe=ne.active,tt=ne.animated,Je=ne.destroyInactiveTabPane,Oe=ne.tabKey,pt=ne.children,Qe=b.useState(Ne),nt=Object(m.a)(Qe,2),bt=nt[0],Tt=nt[1];b.useEffect(function(){Pe?Tt(!0):Je&&Tt(!1)},[Pe,Je]);var Ct={};return Pe||(tt?(Ct.visibility="hidden",Ct.height=0,Ct.overflowY="hidden"):Ct.display="none"),b.createElement("div",{id:xe&&"".concat(xe,"-panel-").concat(Oe),role:"tabpanel",tabIndex:Pe?0:-1,"aria-labelledby":xe&&"".concat(xe,"-tab-").concat(Oe),"aria-hidden":!Pe,style:Object(s.a)(Object(s.a)({},Ct),de),className:o()("".concat(Ae,"-tabpane"),Pe&&"".concat(Ae,"-tabpane-active"),oe)},(Pe||bt||Ne)&&pt)}var se=["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"],$=0;function ge(ne){return Object(e.a)(ne).map(function(Ae){if(b.isValidElement(Ae)){var Ne=Ae.key!==void 0?String(Ae.key):void 0;return Object(s.a)(Object(s.a)({key:Ne},Ae.props),{},{node:Ae})}return null}).filter(function(Ae){return Ae})}function he(ne,Ae){var Ne,oe=ne.id,de=ne.prefixCls,xe=de===void 0?"rc-tabs":de,Pe=ne.className,tt=ne.children,Je=ne.direction,Oe=ne.activeKey,pt=ne.defaultActiveKey,Qe=ne.editable,nt=ne.animated,bt=nt===void 0?{inkBar:!0,tabPane:!1}:nt,Tt=ne.tabPosition,Ct=Tt===void 0?"top":Tt,Nt=ne.tabBarGutter,Ge=ne.tabBarStyle,ie=ne.tabBarExtraContent,Y=ne.locale,we=ne.moreIcon,Ce=ne.moreTransitionName,le=ne.destroyInactiveTabPane,ot=ne.renderTabBar,wt=ne.onChange,rt=ne.onTabClick,It=ne.onTabScroll,Gt=Object(p.a)(ne,se),lr=ge(tt),pr=Je==="rtl",Rr;bt===!1?Rr={inkBar:!1,tabPane:!1}:bt===!0?Rr={inkBar:!0,tabPane:!0}:Rr=Object(s.a)({inkBar:!0,tabPane:!1},Object(v.a)(bt)==="object"?bt:{});var xt=Object(b.useState)(!1),Ot=Object(m.a)(xt,2),At=Ot[0],Jt=Ot[1];Object(b.useEffect)(function(){Jt(Object(r.a)())},[]);var br=Object(i.a)(function(){var un;return(un=lr[0])===null||un===void 0?void 0:un.key},{value:Oe,defaultValue:pt}),Lr=Object(m.a)(br,2),Zr=Lr[0],In=Lr[1],Gr=Object(b.useState)(function(){return lr.findIndex(function(un){return un.key===Zr})}),Tr=Object(m.a)(Gr,2),fr=Tr[0],vt=Tr[1];Object(b.useEffect)(function(){var un=lr.findIndex(function(St){return St.key===Zr});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("_"),Zr,fr]);var ft=Object(i.a)(null,{value:oe}),De=Object(m.a)(ft,2),je=De[0],Ye=De[1],st=Ct;At&&!["left","right"].includes(Ct)&&(st="top"),Object(b.useEffect)(function(){oe||(Ye("rc-tabs-".concat($)),$+=1)},[]);function kt(un,Kt){rt==null||rt(un,Kt),In(un),wt==null||wt(un)}var $t={id:je,activeKey:Zr,animated:Rr,tabPosition:st,rtl:pr,mobile:At},Nr,yn=Object(s.a)(Object(s.a)({},$t),{},{editable:Qe,locale:Y,moreIcon:we,moreTransitionName:Ce,tabBarGutter:Nt,onTabClick:kt,onTabScroll:It,extra:ie,style:Ge,panes:tt});return ot?Nr=ot(yn,V):Nr=b.createElement(V,yn),b.createElement(B.Provider,{value:{tabs:lr,prefixCls:xe}},b.createElement("div",Object(w.a)({ref:Ae,id:oe,className:o()(xe,"".concat(xe,"-").concat(st),(Ne={},Object(A.a)(Ne,"".concat(xe,"-mobile"),At),Object(A.a)(Ne,"".concat(xe,"-editable"),Qe),Object(A.a)(Ne,"".concat(xe,"-rtl"),pr),Ne),Pe)},Gt),Nr,b.createElement(J,Object(w.a)({destroyInactiveTabPane:le},$t,{animated:Rr}))))}var Ie=b.forwardRef(he);Ie.TabPane=ae;var Se=Ie,Le=Se,He=d("GZ0F"),G=d("xvlK"),pe=d("4i/N"),We=d("bq+4"),te=d("9R2V"),X=d("kc2O"),z=function(ne,Ae){var Ne={};for(var oe in ne)Object.prototype.hasOwnProperty.call(ne,oe)&&Ae.indexOf(oe)<0&&(Ne[oe]=ne[oe]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,oe=Object.getOwnPropertySymbols(ne);de<oe.length;de++)Ae.indexOf(oe[de])<0&&Object.prototype.propertyIsEnumerable.call(ne,oe[de])&&(Ne[oe[de]]=ne[oe[de]]);return Ne};function Z(ne){var Ae=ne.type,Ne=ne.className,oe=ne.size,de=ne.onEdit,xe=ne.hideAdd,Pe=ne.centered,tt=ne.addIcon,Je=z(ne,["type","className","size","onEdit","hideAdd","centered","addIcon"]),Oe=Je.prefixCls,pt=Je.moreIcon,Qe=pt===void 0?b.createElement(He.a,null):pt,nt=b.useContext(te.b),bt=nt.getPrefixCls,Tt=nt.direction,Ct=bt("tabs",Oe),Nt;Ae==="editable-card"&&(Nt={onEdit:function(Y,we){var Ce=we.key,le=we.event;de==null||de(Y==="add"?le:Ce,Y)},removeIcon:b.createElement(pe.a,null),addIcon:tt||b.createElement(G.a,null),showAdd:xe!==!0});var Ge=bt();return Object(We.a)(!("onPrevClick"in Je)&&!("onNextClick"in Je),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),b.createElement(X.b.Consumer,null,function(ie){var Y,we=oe!==void 0?oe:ie;return b.createElement(Le,Object(w.a)({direction:Tt,moreTransitionName:"".concat(Ge,"-slide-up")},Je,{className:o()((Y={},Object(A.a)(Y,"".concat(Ct,"-").concat(we),we),Object(A.a)(Y,"".concat(Ct,"-card"),["card","editable-card"].includes(Ae)),Object(A.a)(Y,"".concat(Ct,"-editable-card"),Ae==="editable-card"),Object(A.a)(Y,"".concat(Ct,"-centered"),Pe),Y),Ne),editable:Nt,moreIcon:Qe,prefixCls:Ct}))})}Z.TabPane=ae;var be=P.a=Z},GMDS:function(M,P,d){var w=d("bYtY"),A=d("4NgU"),b=d("jkPA"),m=A.prototype,v=A.extend({type:"ordinal",init:function(s,u){(!s||w.isArray(s))&&(s=new b({categories:s})),this._ordinalMeta=s,this._extent=u||[0,s.categories.length-1]},parse:function(s){return typeof s=="string"?this._ordinalMeta.getOrdinal(s):Math.round(s)},contain:function(s){return s=this.parse(s),m.contain.call(this,s)&&this._ordinalMeta.categories[s]!=null},normalize:function(s){return m.normalize.call(this,this.parse(s))},scale:function(s){return Math.round(m.scale.call(this,s))},getTicks:function(){for(var s=[],u=this._extent,o=u[0];o<=u[1];)s.push(o),o++;return s},getLabel:function(s){if(!this.isBlank())return this._ordinalMeta.categories[s]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(s,u){this.unionExtent(s.getApproximateExtent(u))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:w.noop,niceExtent:w.noop});v.create=function(){return new v};var p=v;M.exports=p},GQ8N:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.toUnsigned32bit=w,P.toSigned32bit=A;function w(b){return b>>>0}function A(b){return b|0}},GUcZ:function(M,P,d){"use strict";var w=d("fWQN"),A=d("mtLc"),b=function(){function vt(){Object(w.a)(this,vt)}return Object(A.a)(vt,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(De,je){return De.__proto__=je,De},Object.assign=Object.assign||function(De){if(De==null)throw new TypeError("Cannot convert undefined or null to object");for(var je=Object(De),Ye=1;Ye<arguments.length;Ye++){var st=arguments[Ye];if(st!=null)for(var kt in st)st.hasOwnProperty(kt)&&(je[kt]=st[kt])}return je},typeof self.Promise!="function"&&d("E2g8").polyfill()}}]),vt}();b.install();var m=b,v=d("+qE3"),p=d.n(v),s=function(){function vt(){Object(w.a)(this,vt)}return Object(A.a)(vt,null,[{key:"e",value:function(De,je){(!De||vt.FORCE_GLOBAL_TAG)&&(De=vt.GLOBAL_TAG);var Ye="[".concat(De,"] > ").concat(je);if(vt.ENABLE_CALLBACK&&vt.emitter.emit("log","error",Ye),!vt.ENABLE_ERROR)return;console.error?console.error(Ye):console.warn?console.warn(Ye):console.log(Ye)}},{key:"i",value:function(De,je){(!De||vt.FORCE_GLOBAL_TAG)&&(De=vt.GLOBAL_TAG);var Ye="[".concat(De,"] > ").concat(je);if(vt.ENABLE_CALLBACK&&vt.emitter.emit("log","info",Ye),!vt.ENABLE_INFO)return;console.info?console.info(Ye):console.log(Ye)}},{key:"w",value:function(De,je){(!De||vt.FORCE_GLOBAL_TAG)&&(De=vt.GLOBAL_TAG);var Ye="[".concat(De,"] > ").concat(je);if(vt.ENABLE_CALLBACK&&vt.emitter.emit("log","warn",Ye),!vt.ENABLE_WARN)return;console.warn?console.warn(Ye):console.log(Ye)}},{key:"d",value:function(De,je){(!De||vt.FORCE_GLOBAL_TAG)&&(De=vt.GLOBAL_TAG);var Ye="[".concat(De,"] > ").concat(je);if(vt.ENABLE_CALLBACK&&vt.emitter.emit("log","debug",Ye),!vt.ENABLE_DEBUG)return;console.debug?console.debug(Ye):console.log(Ye)}},{key:"v",value:function(De,je){(!De||vt.FORCE_GLOBAL_TAG)&&(De=vt.GLOBAL_TAG);var Ye="[".concat(De,"] > ").concat(je);if(vt.ENABLE_CALLBACK&&vt.emitter.emit("log","verbose",Ye),!vt.ENABLE_VERBOSE)return;console.log(Ye)}}]),vt}();s.GLOBAL_TAG="flv.js",s.FORCE_GLOBAL_TAG=!1,s.ENABLE_ERROR=!0,s.ENABLE_INFO=!0,s.ENABLE_WARN=!0,s.ENABLE_DEBUG=!0,s.ENABLE_VERBOSE=!0,s.ENABLE_CALLBACK=!1,s.emitter=new p.a;var u=s,o=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(A.a)(vt,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(De){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=De,this._totalBytes+=De):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=De,this._totalBytes+=De):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=De,this._totalBytes+=De,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var De=(this._now()-this._lastCheckpoint)/1e3;return De==0&&(De=1),this._intervalBytes/De/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 De=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/De/1024}}]),vt}(),e=o,r=d("yKVA"),i=d("879j"),n=function(){function vt(ft){Object(w.a)(this,vt),this._message=ft}return Object(A.a)(vt,[{key:"toString",value:function(){return this.name+": "+this.message}},{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}}]),vt}(),l=function(vt){Object(r.a)(De,vt);var ft=Object(i.a)(De);function De(je){return Object(w.a)(this,De),ft.call(this,je)}return Object(A.a)(De,[{key:"name",get:function(){return"IllegalStateException"}}]),De}(n),t=function(vt){Object(r.a)(De,vt);var ft=Object(i.a)(De);function De(je){return Object(w.a)(this,De),ft.call(this,je)}return Object(A.a)(De,[{key:"name",get:function(){return"InvalidArgumentException"}}]),De}(n),a=function(vt){Object(r.a)(De,vt);var ft=Object(i.a)(De);function De(je){return Object(w.a)(this,De),ft.call(this,je)}return Object(A.a)(De,[{key:"name",get:function(){return"NotImplementedException"}}]),De}(n),c={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},h={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},f=function(){function vt(ft){Object(w.a)(this,vt),this._type=ft||"undefined",this._status=c.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(A.a)(vt,[{key:"destroy",value:function(){this._status=c.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===c.kConnecting||this._status===c.kBuffering}},{key:"open",value:function(De,je){throw new a("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new a("Unimplemented abstract function!")}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function(De){this._onContentLengthKnown=De}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(De){this._onURLRedirect=De}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(De){this._onDataArrival=De}},{key:"onError",get:function(){return this._onError},set:function(De){this._onError=De}},{key:"onComplete",get:function(){return this._onComplete},set:function(De){this._onComplete=De}}]),vt}(),g=d("oZsa");function S(vt,ft){for(;!Object.prototype.hasOwnProperty.call(vt,ft)&&!(vt=Object(g.a)(vt),vt===null););return vt}function y(vt,ft,De){return typeof Reflect!="undefined"&&Reflect.get?y=Reflect.get:y=function(Ye,st,kt){var $t=S(Ye,st);if(!$t)return;var Nr=Object.getOwnPropertyDescriptor($t,st);return Nr.get?Nr.get.call(kt):Nr.value},y(vt,ft,De||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)||[],De=/(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)||[],je={browser:ft[5]||ft[3]||ft[1]||"",version:ft[2]||ft[4]||"0",majorVersion:ft[4]||ft[2]||"0",platform:De[0]||""},Ye={};if(je.browser){Ye[je.browser]=!0;var st=je.majorVersion.split(".");Ye.version={major:parseInt(je.majorVersion,10),string:je.version},st.length>1&&(Ye.version.minor=parseInt(st[1],10)),st.length>2&&(Ye.version.build=parseInt(st[2],10))}if(je.platform&&(Ye[je.platform]=!0),(Ye.chrome||Ye.opr||Ye.safari)&&(Ye.webkit=!0),Ye.rv||Ye.iemobile){Ye.rv&&delete Ye.rv;var kt="msie";je.browser=kt,Ye[kt]=!0}if(Ye.edge){delete Ye.edge;var $t="msedge";je.browser=$t,Ye[$t]=!0}if(Ye.opr){var Nr="opera";je.browser=Nr,Ye[Nr]=!0}if(Ye.safari&&Ye.android){var yn="android";je.browser=yn,Ye[yn]=!0}Ye.name=je.browser,Ye.platform=je.platform;for(var un in E)E.hasOwnProperty(un)&&delete E[un];Object.assign(E,Ye)}C();var T=E,x=function(vt){Object(r.a)(De,vt);var ft=Object(i.a)(De);Object(A.a)(De,null,[{key:"isSupported",value:function(){try{var Ye=T.msedge&&T.version.minor>=15048,st=T.msedge?Ye:!0;return self.fetch&&self.ReadableStream&&st}catch(kt){return!1}}}]);function De(je,Ye){var st;return Object(w.a)(this,De),st=ft.call(this,"fetch-stream-loader"),st.TAG="FetchStreamLoader",st._seekHandler=je,st._config=Ye,st._needStash=!0,st._requestAbort=!1,st._contentLength=null,st._receivedLength=0,st}return Object(A.a)(De,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),y(Object(g.a)(De.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ye,st){var kt=this;this._dataSource=Ye,this._range=st;var $t=Ye.url;this._config.reuseRedirectedURL&&Ye.redirectedURL!=null&&($t=Ye.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 Mt in this._config.headers)yn.append(Mt,this._config.headers[Mt]);Ye.cors===!1&&(St.mode="same-origin"),Ye.withCredentials&&(St.credentials="include"),Ye.referrerPolicy&&(St.referrerPolicy=Ye.referrerPolicy),this._status=c.kConnecting,self.fetch(Nr.url,St).then(function(Zt){if(kt._requestAbort){kt._requestAbort=!1,kt._status=c.kIdle;return}if(Zt.ok&&Zt.status>=200&&Zt.status<=299){if(Zt.url!==Nr.url&&kt._onURLRedirect){var kr=kt._seekHandler.removeURLParameters(Zt.url);kt._onURLRedirect(kr)}var Hr=Zt.headers.get("Content-Length");return Hr!=null&&(kt._contentLength=parseInt(Hr),kt._contentLength!==0&&(kt._onContentLengthKnown&&kt._onContentLengthKnown(kt._contentLength))),kt._pump.call(kt,Zt.body.getReader())}else if(kt._status=c.kError,kt._onError)kt._onError(h.HTTP_STATUS_CODE_INVALID,{code:Zt.status,msg:Zt.statusText});else throw new n("FetchStreamLoader: Http code invalid, "+Zt.status+" "+Zt.statusText)}).catch(function(Zt){if(kt._status=c.kError,kt._onError)kt._onError(h.EXCEPTION,{code:-1,msg:Zt.message});else throw Zt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Ye){var st=this;return Ye.read().then(function(kt){if(kt.done)if(st._contentLength!==null&&st._receivedLength<st._contentLength){st._status=c.kError;var $t=h.EARLY_EOF,Nr={code:-1,msg:"Fetch stream meet Early-EOF"};if(st._onError)st._onError($t,Nr);else throw new n(Nr.msg)}else st._status=c.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=c.kComplete,Ye.cancel();st._status=c.kBuffering;var yn=kt.value.buffer,un=st._range.from+st._receivedLength;st._receivedLength+=yn.byteLength,st._onDataArrival&&st._onDataArrival(yn,un,st._receivedLength),st._pump(Ye)}}).catch(function(kt){if(kt.code===11&&T.msedge)return;st._status=c.kError;var $t=0,Nr=null;if((kt.code===19||kt.message==="network error")&&(st._contentLength===null||st._contentLength!==null&&st._receivedLength<st._contentLength)?($t=h.EARLY_EOF,Nr={code:kt.code,msg:"Fetch stream meet Early-EOF"}):($t=h.EXCEPTION,Nr={code:kt.code,msg:kt.message}),st._onError)st._onError($t,Nr);else throw new n(Nr.msg)})}}]),De}(f),_=x,I=function(vt){Object(r.a)(De,vt);var ft=Object(i.a)(De);Object(A.a)(De,null,[{key:"isSupported",value:function(){try{var Ye=new XMLHttpRequest;return Ye.open("GET","https://example.com",!0),Ye.responseType="moz-chunked-arraybuffer",Ye.responseType==="moz-chunked-arraybuffer"}catch(st){return u.w("MozChunkedLoader",st.message),!1}}}]);function De(je,Ye){var st;return Object(w.a)(this,De),st=ft.call(this,"xhr-moz-chunked-loader"),st.TAG="MozChunkedLoader",st._seekHandler=je,st._config=Ye,st._needStash=!0,st._xhr=null,st._requestAbort=!1,st._contentLength=null,st._receivedLength=0,st}return Object(A.a)(De,[{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),y(Object(g.a)(De.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ye,st){this._dataSource=Ye,this._range=st;var kt=Ye.url;this._config.reuseRedirectedURL&&Ye.redirectedURL!=null&&(kt=Ye.redirectedURL);var $t=this._seekHandler.getConfig(kt,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),Ye.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=c.kConnecting,Nr.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=c.kComplete}},{key:"_onReadyStateChange",value:function(Ye){var st=Ye.target;if(st.readyState===2){if(st.responseURL!=null&&st.responseURL!==this._requestURL&&this._onURLRedirect){var kt=this._seekHandler.removeURLParameters(st.responseURL);this._onURLRedirect(kt)}if(st.status!==0&&(st.status<200||st.status>299))if(this._status=c.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:st.status,msg:st.statusText});else throw new n("MozChunkedLoader: Http code invalid, "+st.status+" "+st.statusText);else this._status=c.kBuffering}}},{key:"_onProgress",value:function(Ye){if(this._status===c.kError)return;this._contentLength===null&&(Ye.total!==null&&Ye.total!==0&&(this._contentLength=Ye.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var st=Ye.target.response,kt=this._range.from+this._receivedLength;this._receivedLength+=st.byteLength,this._onDataArrival&&this._onDataArrival(st,kt,this._receivedLength)}},{key:"_onLoadEnd",value:function(Ye){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===c.kError)return;this._status=c.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(Ye){this._status=c.kError;var st=0,kt=null;if(this._contentLength&&Ye.loaded<this._contentLength?(st=h.EARLY_EOF,kt={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(st=h.EXCEPTION,kt={code:-1,msg:Ye.constructor.name+" "+Ye.type}),this._onError)this._onError(st,kt);else throw new n(kt.msg)}}]),De}(f),L=I,D=function(vt){Object(r.a)(De,vt);var ft=Object(i.a)(De);Object(A.a)(De,null,[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var Ye=new XMLHttpRequest;return Ye.open("GET","https://example.com",!0),Ye.responseType="ms-stream",Ye.responseType==="ms-stream"}catch(st){return u.w("MSStreamLoader",st.message),!1}}}]);function De(je,Ye){var st;return Object(w.a)(this,De),st=ft.call(this,"xhr-msstream-loader"),st.TAG="MSStreamLoader",st._seekHandler=je,st._config=Ye,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(A.a)(De,[{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),y(Object(g.a)(De.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ye,st){this._internalOpen(Ye,st,!1)}},{key:"_internalOpen",value:function(Ye,st,kt){this._dataSource=Ye,kt?this._currentRange=st:this._totalRange=st;var $t=Ye.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?$t=this._currentRedirectedURL:Ye.redirectedURL!=null&&($t=Ye.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),Ye.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 Mt=this._config.headers;for(var Zt in Mt)Mt.hasOwnProperty(Zt)&&un.setRequestHeader(Zt,Mt[Zt])}this._isReconnecting?this._isReconnecting=!1:this._status=c.kConnecting,un.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=c.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(Ye){var st=Ye.target;if(st.readyState===2)if(st.status>=200&&st.status<=299){if(this._status=c.kBuffering,st.responseURL!=null){var kt=this._seekHandler.removeURLParameters(st.responseURL);st.responseURL!==this._currentRequestURL&&kt!==this._currentRedirectedURL&&(this._currentRedirectedURL=kt,this._onURLRedirect&&this._onURLRedirect(kt))}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=c.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:st.status,msg:st.statusText});else throw new n("MSStreamLoader: Http code invalid, "+st.status+" "+st.statusText);else if(st.readyState===3&&(st.status>=200&&st.status<=299)){this._status=c.kBuffering;var yn=st.response;this._reader.readAsArrayBuffer(yn)}}},{key:"_xhrOnError",value:function(Ye){this._status=c.kError;var st=h.EXCEPTION,kt={code:-1,msg:Ye.constructor.name+" "+Ye.type};if(this._onError)this._onError(st,kt);else throw new n(kt.msg)}},{key:"_msrOnProgress",value:function(Ye){var st=Ye.target,kt=st.result;if(kt==null){this._doReconnectIfNeeded();return}var $t=kt.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=kt.byteLength;var Nr=this._totalRange.from+this._receivedLength;this._receivedLength+=$t.byteLength,this._onDataArrival&&this._onDataArrival($t,Nr,this._receivedLength),kt.byteLength>=this._bufferLimit&&(u.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 Ye={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,Ye,!0)}}},{key:"_msrOnLoad",value:function(Ye){this._status=c.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(Ye){this._status=c.kError;var st=0,kt=null;if(this._contentLength&&this._receivedLength<this._contentLength?(st=h.EARLY_EOF,kt={code:-1,msg:"MSStream meet Early-Eof"}):(st=h.EARLY_EOF,kt={code:-1,msg:Ye.constructor.name+" "+Ye.type}),this._onError)this._onError(st,kt);else throw new n(kt.msg)}}]),De}(f),B=D,N=function(vt){Object(r.a)(De,vt);var ft=Object(i.a)(De);Object(A.a)(De,null,[{key:"isSupported",value:function(){try{var Ye=new XMLHttpRequest;return Ye.open("GET","https://example.com",!0),Ye.responseType="arraybuffer",Ye.responseType==="arraybuffer"}catch(st){return u.w("RangeLoader",st.message),!1}}}]);function De(je,Ye){var st;return Object(w.a)(this,De),st=ft.call(this,"xhr-range-loader"),st.TAG="RangeLoader",st._seekHandler=je,st._config=Ye,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(A.a)(De,[{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),y(Object(g.a)(De.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ye,st){this._dataSource=Ye,this._range=st,this._status=c.kConnecting;var kt=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(kt=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!kt?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var Ye=this._currentChunkSizeKB*1024,st=this._range.from+this._receivedLength,kt=st+Ye;this._contentLength!=null&&(kt-this._range.from>=this._contentLength&&(kt=this._range.from+this._contentLength-1)),this._currentRequestRange={from:st,to:kt},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Ye,st){this._lastTimeLoaded=0;var kt=Ye.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?kt=this._currentRedirectedURL:Ye.redirectedURL!=null&&(kt=Ye.redirectedURL));var $t=this._seekHandler.getConfig(kt,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),Ye.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=c.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(Ye){var st=Ye.target;if(st.readyState===2){if(st.responseURL!=null){var kt=this._seekHandler.removeURLParameters(st.responseURL);st.responseURL!==this._currentRequestURL&&kt!==this._currentRedirectedURL&&(this._currentRedirectedURL=kt,this._onURLRedirect&&this._onURLRedirect(kt))}if(st.status>=200&&st.status<=299){if(this._waitForTotalLength)return;this._status=c.kBuffering}else if(this._status=c.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:st.status,msg:st.statusText});else throw new n("RangeLoader: Http code invalid, "+st.status+" "+st.statusText)}}},{key:"_onProgress",value:function(Ye){if(this._status===c.kError)return;if(this._contentLength===null){var st=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,st=!0;var kt=Ye.total;this._internalAbort(),kt!=null&kt!==0&&(this._totalLength=kt)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,st){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var $t=Ye.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Ye.loaded,this._speedSampler.addBytes($t)}},{key:"_normalizeSpeed",value:function(Ye){var st=this._chunkSizeKBList,kt=st.length-1,$t=0,Nr=0,yn=kt;if(Ye<st[0])return st[0];for(;Nr<=yn;){if($t=Nr+Math.floor((yn-Nr)/2),$t===kt||Ye>=st[$t]&&Ye<st[$t+1])return st[$t];st[$t]<Ye?Nr=$t+1:yn=$t-1}}},{key:"_onLoad",value:function(Ye){if(this._status===c.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 kt=this._normalizeSpeed(st);this._currentSpeedNormalized!==kt&&(this._currentSpeedNormalized=kt,this._currentChunkSizeKB=kt)}var $t=Ye.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=c.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(Ye){this._status=c.kError;var st=0,kt=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(st=h.EARLY_EOF,kt={code:-1,msg:"RangeLoader meet Early-Eof"}):(st=h.EXCEPTION,kt={code:-1,msg:Ye.constructor.name+" "+Ye.type}),this._onError)this._onError(st,kt);else throw new n(kt.msg)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}}]),De}(f),k=N,W=function(vt){Object(r.a)(De,vt);var ft=Object(i.a)(De);Object(A.a)(De,null,[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(Ye){return!1}}}]);function De(){var je;return Object(w.a)(this,De),je=ft.call(this,"websocket-loader"),je.TAG="WebSocketLoader",je._needStash=!0,je._ws=null,je._requestAbort=!1,je._receivedLength=0,je}return Object(A.a)(De,[{key:"destroy",value:function(){this._ws&&this.abort(),y(Object(g.a)(De.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ye){try{var st=this._ws=new self.WebSocket(Ye.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=c.kConnecting}catch($t){this._status=c.kError;var kt={code:$t.code,msg:$t.message};if(this._onError)this._onError(h.EXCEPTION,kt);else throw new n(kt.msg)}}},{key:"abort",value:function(){var Ye=this._ws;Ye&&(Ye.readyState===0||Ye.readyState===1)&&(this._requestAbort=!0,Ye.close()),this._ws=null,this._status=c.kComplete}},{key:"_onWebSocketOpen",value:function(Ye){this._status=c.kBuffering}},{key:"_onWebSocketClose",value:function(Ye){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=c.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(Ye){var st=this;if(Ye.data instanceof ArrayBuffer)this._dispatchArrayBuffer(Ye.data);else if(Ye.data instanceof Blob){var kt=new FileReader;kt.onload=function(){st._dispatchArrayBuffer(kt.result)},kt.readAsArrayBuffer(Ye.data)}else{this._status=c.kError;var $t={code:-1,msg:"Unsupported WebSocket message type: "+Ye.data.constructor.name};if(this._onError)this._onError(h.EXCEPTION,$t);else throw new n($t.msg)}}},{key:"_dispatchArrayBuffer",value:function(Ye){var st=Ye,kt=this._receivedLength;this._receivedLength+=st.byteLength,this._onDataArrival&&this._onDataArrival(st,kt,this._receivedLength)}},{key:"_onWebSocketError",value:function(Ye){this._status=c.kError;var st={code:Ye.code,msg:Ye.message};if(this._onError)this._onError(h.EXCEPTION,st);else throw new n(st.msg)}}]),De}(f),R=W,j=function(){function vt(ft){Object(w.a)(this,vt),this._zeroStart=ft||!1}return Object(A.a)(vt,[{key:"getConfig",value:function(De,je){var Ye={};if(je.from!==0||je.to!==-1){var st;je.to!==-1?st="bytes=".concat(je.from.toString(),"-").concat(je.to.toString()):st="bytes=".concat(je.from.toString(),"-"),Ye.Range=st}else this._zeroStart&&(Ye.Range="bytes=0-");return{url:De,headers:Ye}}},{key:"removeURLParameters",value:function(De){return De}}]),vt}(),H=j,K=function(){function vt(ft,De){Object(w.a)(this,vt),this._startName=ft,this._endName=De}return Object(A.a)(vt,[{key:"getConfig",value:function(De,je){var Ye=De;if(je.from!==0||je.to!==-1){var st=!0;Ye.indexOf("?")===-1&&(Ye+="?",st=!1),st&&(Ye+="&"),Ye+="".concat(this._startName,"=").concat(je.from.toString()),je.to!==-1&&(Ye+="&".concat(this._endName,"=").concat(je.to.toString()))}return{url:Ye,headers:{}}}},{key:"removeURLParameters",value:function(De){var je=De.split("?")[0],Ye=void 0,st=De.indexOf("?");st!==-1&&(Ye=De.substring(st+1));var kt="";if(Ye!=null&&Ye.length>0)for(var $t=Ye.split("&"),Nr=0;Nr<$t.length;Nr++){var yn=$t[Nr].split("="),un=Nr>0;yn[0]!==this._startName&&yn[0]!==this._endName&&(un&&(kt+="&"),kt+=$t[Nr])}return kt.length===0?je:je+"?"+kt}}]),vt}(),U=K,Q=function(){function vt(ft,De,je){Object(w.a)(this,vt),this.TAG="IOController",this._config=De,this._extraData=je,this._stashInitialSize=1024*384,De.stashInitialSize!=null&&De.stashInitialSize>0&&(this._stashInitialSize=De.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,De.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(A.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:"_selectSeekHandler",value:function(){var De=this._config;if(De.seekType==="range")this._seekHandler=new H(this._config.rangeLoadZeroStart);else if(De.seekType==="param"){var je=De.seekParamStart||"bstart",Ye=De.seekParamEnd||"bend";this._seekHandler=new U(je,Ye)}else if(De.seekType==="custom"){if(typeof De.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new De.customSeekHandler}else throw new t("Invalid seekType in config: ".concat(De.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=R;else if(_.isSupported())this._loaderClass=_;else if(L.isSupported())this._loaderClass=L;else if(k.isSupported())this._loaderClass=k;else throw new n("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(De){this._currentRange={from:0,to:-1},De&&(this._currentRange.from=De),this._speedSampler.reset(),De||(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 De=this._resumeFrom;this._resumeFrom=0,this._internalSeek(De,!0)}}},{key:"seek",value:function(De){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(De,!0)}},{key:"_internalSeek",value:function(De,je){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(je),this._loader.destroy(),this._loader=null;var Ye={from:De,to:-1};this._currentRange={from:Ye.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Ye),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(De){if(!De||typeof De!="string"||De.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=De}},{key:"_expandBuffer",value:function(De){for(var je=this._stashSize;je+1024*1024*1<De;)je*=2;if(je+=1024*1024*1,je===this._bufferSize)return;var Ye=new ArrayBuffer(je);if(this._stashUsed>0){var st=new Uint8Array(this._stashBuffer,0,this._stashUsed),kt=new Uint8Array(Ye,0,je);kt.set(st,0)}this._stashBuffer=Ye,this._bufferSize=je}},{key:"_normalizeSpeed",value:function(De){var je=this._speedNormalizeList,Ye=je.length-1,st=0,kt=0,$t=Ye;if(De<je[0])return je[0];for(;kt<=$t;){if(st=kt+Math.floor(($t-kt)/2),st===Ye||De>=je[st]&&De<je[st+1])return je[st];je[st]<De?kt=st+1:$t=st-1}}},{key:"_adjustStashSize",value:function(De){var je=0;this._config.isLive||De<512?je=De:De>=512&&De<=1024?je=Math.floor(De*1.5):je=De*2,je>8192&&(je=8192);var Ye=je*1024+1024*1024*1;this._bufferSize<Ye&&this._expandBuffer(Ye),this._stashSize=je*1024}},{key:"_dispatchChunks",value:function(De,je){return this._currentRange.to=je+De.byteLength-1,this._onDataArrival(De,je)}},{key:"_onURLRedirect",value:function(De){this._redirectedURL=De,this._onRedirect&&this._onRedirect(De)}},{key:"_onContentLengthKnown",value:function(De){De&&this._fullRequestFlag&&(this._totalLength=De,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(De,je,Ye){if(!this._onDataArrival)throw new l("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(De.byteLength);var st=this._speedSampler.lastSecondKBps;if(st!==0){var kt=this._normalizeSpeed(st);this._speedNormalized!==kt&&(this._speedNormalized=kt,this._adjustStashSize(kt))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=je),this._stashUsed+De.byteLength<=this._stashSize){var Mt=new Uint8Array(this._stashBuffer,0,this._stashSize);Mt.set(new Uint8Array(De),this._stashUsed),this._stashUsed+=De.byteLength}else{var Zt=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var kr=this._stashBuffer.slice(0,this._stashUsed),Hr=this._dispatchChunks(kr,this._stashByteStart);if(Hr<kr.byteLength){if(Hr>0){var $r=new Uint8Array(kr,Hr);Zt.set($r,0),this._stashUsed=$r.byteLength,this._stashByteStart+=Hr}}else this._stashUsed=0,this._stashByteStart+=Hr;this._stashUsed+De.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+De.byteLength),Zt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Zt.set(new Uint8Array(De),this._stashUsed),this._stashUsed+=De.byteLength}else{var Bt=this._dispatchChunks(De,je);if(Bt<De.byteLength){var cr=De.byteLength-Bt;cr>this._bufferSize&&(this._expandBuffer(cr),Zt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Zt.set(new Uint8Array(De,Bt),0),this._stashUsed+=cr,this._stashByteStart=je+Bt}}}else if(this._stashUsed===0){var $t=this._dispatchChunks(De,je);if($t<De.byteLength){var Nr=De.byteLength-$t;Nr>this._bufferSize&&this._expandBuffer(Nr);var yn=new Uint8Array(this._stashBuffer,0,this._bufferSize);yn.set(new Uint8Array(De,$t),0),this._stashUsed+=Nr,this._stashByteStart=je+$t}}else{this._stashUsed+De.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+De.byteLength);var un=new Uint8Array(this._stashBuffer,0,this._bufferSize);un.set(new Uint8Array(De),this._stashUsed),this._stashUsed+=De.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(De){if(this._stashUsed>0){var je=this._stashBuffer.slice(0,this._stashUsed),Ye=this._dispatchChunks(je,this._stashByteStart),st=je.byteLength-Ye;if(Ye<je.byteLength)if(De)u.w(this.TAG,"".concat(st," bytes unconsumed data remain when flush buffer, dropped"));else{if(Ye>0){var kt=new Uint8Array(this._stashBuffer,0,this._bufferSize),$t=new Uint8Array(je,Ye);kt.set($t,0),this._stashUsed=$t.byteLength,this._stashByteStart+=Ye}return 0}return this._stashUsed=0,this._stashByteStart=0,st}return 0}},{key:"_onLoaderComplete",value:function(De,je){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(De,je){u.e(this.TAG,"Loader error, code = ".concat(je.code,", msg = ").concat(je.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,De=h.UNRECOVERABLE_EARLY_EOF);switch(De){case h.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Ye=this._currentRange.to+1;Ye<this._totalLength&&(u.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Ye,!1));return}De=h.UNRECOVERABLE_EARLY_EOF;break}case h.UNRECOVERABLE_EARLY_EOF:case h.CONNECTING_TIMEOUT:case h.HTTP_STATUS_CODE_INVALID:case h.EXCEPTION:break}if(this._onError)this._onError(De,je);else throw new n("IOException: "+je.msg)}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(De){this._extraData=De}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(De){this._onDataArrival=De}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(De){this._onSeeked=De}},{key:"onError",get:function(){return this._onError},set:function(De){this._onError=De}},{key:"onComplete",get:function(){return this._onComplete},set:function(De){this._onComplete=De}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(De){this._onRedirect=De}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(De){this._onRecoveredEarlyEof=De}},{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===k?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}}]),vt}(),V=Q,J={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 ae(){return Object.assign({},J)}var se=function(){function vt(){Object(w.a)(this,vt)}return Object(A.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 De=new V({},ae()),je=De.loaderType;return De.destroy(),je=="fetch-stream-loader"||je=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var De=new V({},ae()),je=De.loaderType;return De.destroy(),je}},{key:"supportNativeMediaPlayback",value:function(De){vt.videoElement==null&&(vt.videoElement=window.document.createElement("video"));var je=vt.videoElement.canPlayType(De);return je==="probably"||je=="maybe"}},{key:"getFeatureList",value:function(){var De={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return De.mseFlvPlayback=vt.supportMSEH264Playback(),De.networkStreamIO=vt.supportNetworkStreamIO(),De.networkLoaderName=vt.getNetworkLoaderTypeName(),De.mseLiveFlvPlayback=De.mseFlvPlayback&&De.networkStreamIO,De.nativeMP4H264Playback=vt.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),De.nativeWebmVP8Playback=vt.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),De.nativeWebmVP9Playback=vt.supportNativeMediaPlayback('video/webm; codecs="vp9"'),De}}]),vt}(),$=se,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"},he=ge,Ie=function(){function vt(){Object(w.a)(this,vt)}return Object(A.a)(vt,null,[{key:"getConfig",value:function(){return{globalTag:u.GLOBAL_TAG,forceGlobalTag:u.FORCE_GLOBAL_TAG,enableVerbose:u.ENABLE_VERBOSE,enableDebug:u.ENABLE_DEBUG,enableInfo:u.ENABLE_INFO,enableWarn:u.ENABLE_WARN,enableError:u.ENABLE_ERROR,enableCallback:u.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(De){u.GLOBAL_TAG=De.globalTag,u.FORCE_GLOBAL_TAG=De.forceGlobalTag,u.ENABLE_VERBOSE=De.enableVerbose,u.ENABLE_DEBUG=De.enableDebug,u.ENABLE_INFO=De.enableInfo,u.ENABLE_WARN=De.enableWarn,u.ENABLE_ERROR=De.enableError,u.ENABLE_CALLBACK=De.enableCallback}},{key:"_notifyChange",value:function(){var De=vt.emitter;if(De.listenerCount("change")>0){var je=vt.getConfig();De.emit("change",je)}}},{key:"registerListener",value:function(De){vt.emitter.addListener("change",De)}},{key:"removeListener",value:function(De){vt.emitter.removeListener("change",De)}},{key:"addLogListener",value:function(De){u.emitter.addListener("log",De),u.emitter.listenerCount("log")>0&&(u.ENABLE_CALLBACK=!0,vt._notifyChange())}},{key:"removeLogListener",value:function(De){u.emitter.removeListener("log",De),u.emitter.listenerCount("log")===0&&(u.ENABLE_CALLBACK=!1,vt._notifyChange())}},{key:"forceGlobalTag",get:function(){return u.FORCE_GLOBAL_TAG},set:function(De){u.FORCE_GLOBAL_TAG=De,vt._notifyChange()}},{key:"globalTag",get:function(){return u.GLOBAL_TAG},set:function(De){u.GLOBAL_TAG=De,vt._notifyChange()}},{key:"enableAll",get:function(){return u.ENABLE_VERBOSE&&u.ENABLE_DEBUG&&u.ENABLE_INFO&&u.ENABLE_WARN&&u.ENABLE_ERROR},set:function(De){u.ENABLE_VERBOSE=De,u.ENABLE_DEBUG=De,u.ENABLE_INFO=De,u.ENABLE_WARN=De,u.ENABLE_ERROR=De,vt._notifyChange()}},{key:"enableDebug",get:function(){return u.ENABLE_DEBUG},set:function(De){u.ENABLE_DEBUG=De,vt._notifyChange()}},{key:"enableVerbose",get:function(){return u.ENABLE_VERBOSE},set:function(De){u.ENABLE_VERBOSE=De,vt._notifyChange()}},{key:"enableInfo",get:function(){return u.ENABLE_INFO},set:function(De){u.ENABLE_INFO=De,vt._notifyChange()}},{key:"enableWarn",get:function(){return u.ENABLE_WARN},set:function(De){u.ENABLE_WARN=De,vt._notifyChange()}},{key:"enableError",get:function(){return u.ENABLE_ERROR},set:function(De){u.ENABLE_ERROR=De,vt._notifyChange()}}]),vt}();Ie.emitter=new p.a;var Se=Ie,Le=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(A.a)(vt,[{key:"isComplete",value:function(){var De=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,je=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&&De&&je}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(De){if(this.keyframesIndex==null)return null;var je=this.keyframesIndex,Ye=this._search(je.times,De);return{index:Ye,milliseconds:je.times[Ye],fileposition:je.filepositions[Ye]}}},{key:"_search",value:function(De,je){var Ye=0,st=De.length-1,kt=0,$t=0,Nr=st;for(je<De[0]&&(Ye=0,$t=Nr+1);$t<=Nr;)if(kt=$t+Math.floor((Nr-$t)/2),kt===st||je>=De[kt]&&je<De[kt+1]){Ye=kt;break}else De[kt]<je?$t=kt+1:Nr=kt-1;return Ye}}]),vt}(),He=Le;function G(vt,ft,De){var je=vt;if(ft+De<je.length){for(;De--;)if((je[++ft]&192)!==128)return!1;return!0}else return!1}function pe(vt){for(var ft=[],De=vt,je=0,Ye=vt.length;je<Ye;){if(De[je]<128){ft.push(String.fromCharCode(De[je])),++je;continue}else if(!(De[je]<192)){if(De[je]<224){if(G(De,je,1)){var st=(De[je]&31)<<6|De[je+1]&63;if(st>=128){ft.push(String.fromCharCode(st&65535)),je+=2;continue}}}else if(De[je]<240){if(G(De,je,2)){var kt=(De[je]&15)<<12|(De[je+1]&63)<<6|De[je+2]&63;if(kt>=2048&&(kt&63488)!==55296){ft.push(String.fromCharCode(kt&65535)),je+=3;continue}}}else if(De[je]<248&&G(De,je,3)){var $t=(De[je]&7)<<18|(De[je+1]&63)<<12|(De[je+2]&63)<<6|De[je+3]&63;if($t>65536&&$t<1114112){$t-=65536,ft.push(String.fromCharCode($t>>>10|55296)),ft.push(String.fromCharCode($t&1023|56320)),je+=4;continue}}}ft.push(String.fromCharCode(65533)),++je}return ft.join("")}var We=pe,te=function(){var vt=new ArrayBuffer(2);return new DataView(vt).setInt16(0,256,!0),new Int16Array(vt)[0]===256}(),X=function(){function vt(){Object(w.a)(this,vt)}return Object(A.a)(vt,null,[{key:"parseScriptData",value:function(De,je,Ye){var st={};try{var kt=vt.parseValue(De,je,Ye),$t=vt.parseValue(De,je+kt.size,Ye-kt.size);st[kt.data]=$t.data}catch(Nr){u.e("AMF",Nr.toString())}return st}},{key:"parseObject",value:function(De,je,Ye){if(Ye<3)throw new l("Data not enough when parse ScriptDataObject");var st=vt.parseString(De,je,Ye),kt=vt.parseValue(De,je+st.size,Ye-st.size),$t=kt.objectEnd;return{data:{name:st.data,value:kt.data},size:st.size+kt.size,objectEnd:$t}}},{key:"parseVariable",value:function(De,je,Ye){return vt.parseObject(De,je,Ye)}},{key:"parseString",value:function(De,je,Ye){if(Ye<2)throw new l("Data not enough when parse String");var st=new DataView(De,je,Ye),kt=st.getUint16(0,!te),$t;return kt>0?$t=We(new Uint8Array(De,je+2,kt)):$t="",{data:$t,size:2+kt}}},{key:"parseLongString",value:function(De,je,Ye){if(Ye<4)throw new l("Data not enough when parse LongString");var st=new DataView(De,je,Ye),kt=st.getUint32(0,!te),$t;return kt>0?$t=We(new Uint8Array(De,je+4,kt)):$t="",{data:$t,size:4+kt}}},{key:"parseDate",value:function(De,je,Ye){if(Ye<10)throw new l("Data size invalid when parse Date");var st=new DataView(De,je,Ye),kt=st.getFloat64(0,!te),$t=st.getInt16(8,!te);return kt+=$t*60*1e3,{data:new Date(kt),size:8+2}}},{key:"parseValue",value:function(De,je,Ye){if(Ye<1)throw new l("Data not enough when parse Value");var st=new DataView(De,je,Ye),kt=1,$t=st.getUint8(0),Nr,yn=!1;try{switch($t){case 0:Nr=st.getFloat64(1,!te),kt+=8;break;case 1:{var un=st.getUint8(1);Nr=!!un,kt+=1;break}case 2:{var Kt=vt.parseString(De,je+1,Ye-1);Nr=Kt.data,kt+=Kt.size;break}case 3:{Nr={};var St=0;for((st.getUint32(Ye-4,!te)&16777215)===9&&(St=3);kt<Ye-4;){var Mt=vt.parseObject(De,je+kt,Ye-kt-St);if(Mt.objectEnd)break;Nr[Mt.data.name]=Mt.data.value,kt+=Mt.size}if(kt<=Ye-3){var Zt=st.getUint32(kt-1,!te)&16777215;Zt===9&&(kt+=3)}break}case 8:{Nr={},kt+=4;var kr=0;for((st.getUint32(Ye-4,!te)&16777215)===9&&(kr=3);kt<Ye-8;){var Hr=vt.parseVariable(De,je+kt,Ye-kt-kr);if(Hr.objectEnd)break;Nr[Hr.data.name]=Hr.data.value,kt+=Hr.size}if(kt<=Ye-3){var $r=st.getUint32(kt-1,!te)&16777215;$r===9&&(kt+=3)}break}case 9:Nr=void 0,kt=1,yn=!0;break;case 10:{Nr=[];var Bt=st.getUint32(1,!te);kt+=4;for(var cr=0;cr<Bt;cr++){var Cr=vt.parseValue(De,je+kt,Ye-kt);Nr.push(Cr.data),kt+=Cr.size}break}case 11:{var Br=vt.parseDate(De,je+1,Ye-1);Nr=Br.data,kt+=Br.size;break}case 12:{var zr=vt.parseString(De,je+1,Ye-1);Nr=zr.data,kt+=zr.size;break}default:kt=Ye,u.w("AMF","Unsupported AMF value type "+$t)}}catch(An){u.e("AMF",An.toString())}return{data:Nr,size:kt,objectEnd:yn}}}]),vt}(),z=X,Z=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(A.a)(vt,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var De=this._total_bytes-this._buffer_index;if(De<=0)throw new l("ExpGolomb: _fillCurrentWord() but no bytes available");var je=Math.min(4,De),Ye=new Uint8Array(4);Ye.set(this._buffer.subarray(this._buffer_index,this._buffer_index+je)),this._current_word=new DataView(Ye.buffer).getUint32(0,!1),this._buffer_index+=je,this._current_word_bits_left=je*8}},{key:"readBits",value:function(De){if(De>32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if(De<=this._current_word_bits_left){var je=this._current_word>>>32-De;return this._current_word<<=De,this._current_word_bits_left-=De,je}var Ye=this._current_word_bits_left?this._current_word:0;Ye=Ye>>>32-this._current_word_bits_left;var st=De-this._current_word_bits_left;this._fillCurrentWord();var kt=Math.min(st,this._current_word_bits_left),$t=this._current_word>>>32-kt;return this._current_word<<=kt,this._current_word_bits_left-=kt,Ye=Ye<<kt|$t,Ye}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var De;for(De=0;De<this._current_word_bits_left;De++)if((this._current_word&2147483648>>>De)!==0)return this._current_word<<=De,this._current_word_bits_left-=De,De;return this._fillCurrentWord(),De+this._skipLeadingZero()}},{key:"readUEG",value:function(){var De=this._skipLeadingZero();return this.readBits(De+1)-1}},{key:"readSEG",value:function(){var De=this.readUEG();return De&1?De+1>>>1:-1*(De>>>1)}}]),vt}(),be=Z,ne=function(){function vt(){Object(w.a)(this,vt)}return Object(A.a)(vt,null,[{key:"_ebsp2rbsp",value:function(De){for(var je=De,Ye=je.byteLength,st=new Uint8Array(Ye),kt=0,$t=0;$t<Ye;$t++){if($t>=2&&(je[$t]===3&&je[$t-1]===0&&je[$t-2]===0))continue;st[kt]=je[$t],kt++}return new Uint8Array(st.buffer,0,kt)}},{key:"parseSPS",value:function(De){var je=vt._ebsp2rbsp(De),Ye=new be(je);Ye.readByte();var st=Ye.readByte();Ye.readByte();var kt=Ye.readByte();Ye.readUEG();var $t=vt.getProfileString(st),Nr=vt.getLevelString(kt),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=Ye.readUEG(),yn===3&&Ye.readBits(1),yn<=3&&(un=Kt[yn]),St=Ye.readUEG()+8,Ye.readUEG(),Ye.readBits(1),Ye.readBool()))for(var Mt=yn!==3?8:12,Zt=0;Zt<Mt;Zt++)Ye.readBool()&&(Zt<6?vt._skipScalingList(Ye,16):vt._skipScalingList(Ye,64));Ye.readUEG();var kr=Ye.readUEG();if(kr===0)Ye.readUEG();else if(kr===1){Ye.readBits(1),Ye.readSEG(),Ye.readSEG();for(var Hr=Ye.readUEG(),$r=0;$r<Hr;$r++)Ye.readSEG()}var Bt=Ye.readUEG();Ye.readBits(1);var cr=Ye.readUEG(),Cr=Ye.readUEG(),Br=Ye.readBits(1);Br===0&&Ye.readBits(1),Ye.readBits(1);var zr=0,An=0,bn=0,Sn=0,Mn=Ye.readBool();Mn&&(zr=Ye.readUEG(),An=Ye.readUEG(),bn=Ye.readUEG(),Sn=Ye.readUEG());var ei=1,Zn=1,ai=0,ii=!0,$e=0,Te=0,ke=Ye.readBool();if(ke){if(Ye.readBool()){var Me=Ye.readByte(),Ze=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Xe=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Me>0&&Me<16?(ei=Ze[Me-1],Zn=Xe[Me-1]):Me===255&&(ei=Ye.readByte()<<8|Ye.readByte(),Zn=Ye.readByte()<<8|Ye.readByte())}if(Ye.readBool()&&Ye.readBool(),Ye.readBool()&&(Ye.readBits(4),Ye.readBool()&&Ye.readBits(24)),Ye.readBool()&&(Ye.readUEG(),Ye.readUEG()),Ye.readBool()){var qe=Ye.readBits(32),mt=Ye.readBits(32);ii=Ye.readBool(),$e=mt,Te=qe*2,ai=$e/Te}}var ht=1;(ei!==1||Zn!==1)&&(ht=ei/Zn);var Vt=0,dr=0;if(yn===0)Vt=1,dr=2-Br;else{var tr=yn===3?1:2,ir=yn===1?2:1;Vt=tr,dr=ir*(2-Br)}var _t=(cr+1)*16,gr=(2-Br)*((Cr+1)*16);_t-=(zr+An)*Vt,gr-=(bn+Sn)*dr;var jt=Math.ceil(_t*ht);return Ye.destroy(),Ye=null,{profile_string:$t,level_string:Nr,bit_depth:St,ref_frames:Bt,chroma_format:un,chroma_format_string:vt.getChromaFormatString(un),frame_rate:{fixed:ii,fps:ai,fps_den:Te,fps_num:$e},sar_ratio:{width:ei,height:Zn},codec_size:{width:_t,height:gr},present_size:{width:jt,height:gr}}}},{key:"_skipScalingList",value:function(De,je){for(var Ye=8,st=8,kt=0,$t=0;$t<je;$t++)st!==0&&(kt=De.readSEG(),st=(Ye+kt+256)%256),Ye=st===0?Ye:st}},{key:"getProfileString",value:function(De){switch(De){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(De){return(De/10).toFixed(1)}},{key:"getChromaFormatString",value:function(De){switch(De){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),vt}(),Ae=ne,Ne={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},oe=Ne;function de(vt){return vt>>>8&255|(vt&255)<<8}function xe(vt){return(vt&4278190080)>>>24|(vt&16711680)>>>8|(vt&65280)<<8|(vt&255)<<24}function Pe(vt,ft){return vt[ft]<<24|vt[ft+1]<<16|vt[ft+2]<<8|vt[ft+3]}var tt=function(){function vt(ft,De){Object(w.a)(this,vt),this.TAG="FLVDemuxer",this._config=De,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 He,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 je=new ArrayBuffer(2);return new DataView(je).setInt16(0,256,!0),new Int16Array(je)[0]===256}()}return Object(A.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(De){return De.onDataArrival=this.parseChunks.bind(this),this}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new He}},{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(De,je){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new l("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Ye=0,st=this._littleEndian;if(je===0)if(De.byteLength>13){var kt=vt.probe(De);Ye=kt.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,je+Ye!==this._dataOffset&&u.w(this.TAG,"First time parsing but chunk byteStart invalid!");var $t=new DataView(De,Ye),Nr=$t.getUint32(0,!st);Nr!==0&&u.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Ye+=4}for(;Ye<De.byteLength;){this._dispatch=!0;var yn=new DataView(De,Ye);if(Ye+11+4>De.byteLength)break;var un=yn.getUint8(0),Kt=yn.getUint32(0,!st)&16777215;if(Ye+11+Kt+4>De.byteLength)break;if(un!==8&&un!==9&&un!==18){u.w(this.TAG,"Unsupported tag type ".concat(un,", skipped")),Ye+=11+Kt+4;continue}var St=yn.getUint8(4),Mt=yn.getUint8(5),Zt=yn.getUint8(6),kr=yn.getUint8(7),Hr=Zt|Mt<<8|St<<16|kr<<24,$r=yn.getUint32(7,!st)&16777215;$r!==0&&u.w(this.TAG,"Meet tag which has StreamID != 0!");var Bt=Ye+11;switch(un){case 8:this._parseAudioData(De,Bt,Kt,Hr);break;case 9:this._parseVideoData(De,Bt,Kt,Hr,je+Ye);break;case 18:this._parseScriptData(De,Bt,Kt);break}var cr=yn.getUint32(11+Kt,!st);cr!==11+Kt&&u.w(this.TAG,"Invalid PrevTagSize ".concat(cr)),Ye+=11+Kt+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Ye}},{key:"_parseScriptData",value:function(De,je,Ye){var st=z.parseScriptData(De,je,Ye);if(st.hasOwnProperty("onMetaData")){if(st.onMetaData==null||typeof st.onMetaData!="object"){u.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&u.w(this.TAG,"Found another onMetaData tag!"),this._metadata=st;var kt=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},kt)),typeof kt.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=kt.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof kt.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=kt.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof kt.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=kt.audiodatarate),typeof kt.videodatarate=="number"&&(this._mediaInfo.videoDataRate=kt.videodatarate),typeof kt.width=="number"&&(this._mediaInfo.width=kt.width),typeof kt.height=="number"&&(this._mediaInfo.height=kt.height),typeof kt.duration=="number"){if(!this._durationOverrided){var $t=Math.floor(kt.duration*this._timescale);this._duration=$t,this._mediaInfo.duration=$t}}else this._mediaInfo.duration=0;if(typeof kt.framerate=="number"){var Nr=Math.floor(kt.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 kt.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var un=kt.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(un),kt.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=kt,u.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(De){for(var je=[],Ye=[],st=1;st<De.times.length;st++){var kt=this._timestampBase+Math.floor(De.times[st]*1e3);je.push(kt),Ye.push(De.filepositions[st])}return{times:je,filepositions:Ye}}},{key:"_parseAudioData",value:function(De,je,Ye,st){if(Ye<=1){u.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var kt=this._littleEndian,$t=new DataView(De,je,Ye),Nr=$t.getUint8(0),yn=Nr>>>4;if(yn!==2&&yn!==10){this._onError(oe.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(oe.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Kt);return}var St=(Nr&2)>>>1,Mt=Nr&1,Zt=this._audioMetadata,kr=this._audioTrack;if(Zt||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Zt=this._audioMetadata={},Zt.type="audio",Zt.id=kr.id,Zt.timescale=this._timescale,Zt.duration=this._duration,Zt.audioSampleRate=un,Zt.channelCount=Mt===0?1:2),yn===10){var Hr=this._parseAACAudioData(De,je+1,Ye-1);if(Hr==null)return;if(Hr.packetType===0){Zt.config&&u.w(this.TAG,"Found another AudioSpecificConfig!");var $r=Hr.data;Zt.audioSampleRate=$r.samplingRate,Zt.channelCount=$r.channelCount,Zt.codec=$r.codec,Zt.originalCodec=$r.originalCodec,Zt.config=$r.config,Zt.refSampleDuration=1024/Zt.audioSampleRate*Zt.timescale,u.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",Zt);var Bt=this._mediaInfo;Bt.audioCodec=Zt.originalCodec,Bt.audioSampleRate=Zt.audioSampleRate,Bt.audioChannelCount=Zt.channelCount,Bt.hasVideo?Bt.videoCodec!=null&&(Bt.mimeType='video/x-flv; codecs="'+Bt.videoCodec+","+Bt.audioCodec+'"'):Bt.mimeType='video/x-flv; codecs="'+Bt.audioCodec+'"',Bt.isComplete()&&this._onMediaInfo(Bt)}else if(Hr.packetType===1){var cr=this._timestampBase+st,Cr={unit:Hr.data,length:Hr.data.byteLength,dts:cr,pts:cr};kr.samples.push(Cr),kr.length+=Hr.data.length}else u.e(this.TAG,"Flv: Unsupported AAC data type ".concat(Hr.packetType))}else if(yn===2){if(!Zt.codec){var Br=this._parseMP3AudioData(De,je+1,Ye-1,!0);if(Br==null)return;Zt.audioSampleRate=Br.samplingRate,Zt.channelCount=Br.channelCount,Zt.codec=Br.codec,Zt.originalCodec=Br.originalCodec,Zt.refSampleDuration=1152/Zt.audioSampleRate*Zt.timescale,u.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Zt);var zr=this._mediaInfo;zr.audioCodec=Zt.codec,zr.audioSampleRate=Zt.audioSampleRate,zr.audioChannelCount=Zt.channelCount,zr.audioDataRate=Br.bitRate,zr.hasVideo?zr.videoCodec!=null&&(zr.mimeType='video/x-flv; codecs="'+zr.videoCodec+","+zr.audioCodec+'"'):zr.mimeType='video/x-flv; codecs="'+zr.audioCodec+'"',zr.isComplete()&&this._onMediaInfo(zr)}var An=this._parseMP3AudioData(De,je+1,Ye-1,!1);if(An==null)return;var bn=this._timestampBase+st,Sn={unit:An,length:An.byteLength,dts:bn,pts:bn};kr.samples.push(Sn),kr.length+=An.length}}},{key:"_parseAACAudioData",value:function(De,je,Ye){if(Ye<=1){u.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var st={},kt=new Uint8Array(De,je,Ye);return st.packetType=kt[0],kt[0]===0?st.data=this._parseAACAudioSpecificConfig(De,je+1,Ye-1):st.data=kt.subarray(1),st}},{key:"_parseAACAudioSpecificConfig",value:function(De,je,Ye){var st=new Uint8Array(De,je,Ye),kt=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(oe.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var St=this._mpegSamplingRates[un],Mt=(st[1]&120)>>>3;if(Mt<0||Mt>=8){this._onError(oe.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}$t===5&&(Kt=(st[1]&7)<<1|st[2]>>>7,yn=(st[2]&124)>>>2);var Zt=self.navigator.userAgent.toLowerCase();return Zt.indexOf("firefox")!==-1?un>=6?($t=5,kt=new Array(4),Kt=un-3):($t=2,kt=new Array(2),Kt=un):Zt.indexOf("android")!==-1?($t=2,kt=new Array(2),Kt=un):($t=5,Kt=un,kt=new Array(4),un>=6?Kt=un-3:Mt===1&&($t=2,kt=new Array(2),Kt=un)),kt[0]=$t<<3,kt[0]|=(un&15)>>>1,kt[1]=(un&15)<<7,kt[1]|=(Mt&15)<<3,$t===5&&(kt[1]|=(Kt&15)>>>1,kt[2]=(Kt&1)<<7,kt[2]|=2<<2,kt[3]=0),{config:kt,samplingRate:St,channelCount:Mt,codec:"mp4a.40."+$t,originalCodec:"mp4a.40."+Nr}}},{key:"_parseMP3AudioData",value:function(De,je,Ye,st){if(Ye<4){u.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var kt=this._littleEndian,$t=new Uint8Array(De,je,Ye),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,Mt=$t[3]>>>6&3,Zt=Mt!==3?2:1,kr=0,Hr=0,$r=34,Bt="mp3";switch(yn){case 0:kr=this._mpegAudioV25SampleRateTable[St];break;case 2:kr=this._mpegAudioV20SampleRateTable[St];break;case 3:kr=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:kr,channelCount:Zt,codec:Bt,originalCodec:Bt}}else Nr=$t;return Nr}},{key:"_parseVideoData",value:function(De,je,Ye,st,kt){if(Ye<=1){u.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var $t=new Uint8Array(De,je,Ye)[0],Nr=($t&240)>>>4,yn=$t&15;if(yn!==7){this._onError(oe.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(yn));return}this._parseAVCVideoPacket(De,je+1,Ye-1,st,kt,Nr)}},{key:"_parseAVCVideoPacket",value:function(De,je,Ye,st,kt,$t){if(Ye<4){u.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var Nr=this._littleEndian,yn=new DataView(De,je,Ye),un=yn.getUint8(0),Kt=yn.getUint32(0,!Nr)&16777215,St=Kt<<8>>8;if(un===0)this._parseAVCDecoderConfigurationRecord(De,je+4,Ye-4);else if(un===1)this._parseAVCVideoData(De,je+4,Ye-4,st,kt,$t,St);else if(!(un===2)){this._onError(oe.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(un));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(De,je,Ye){if(Ye<7){u.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var st=this._videoMetadata,kt=this._videoTrack,$t=this._littleEndian,Nr=new DataView(De,je,Ye);st?typeof st.avcc!="undefined"&&u.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=kt.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(oe.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(Nr.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(oe.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var Mt=Nr.getUint8(5)&31;if(Mt===0){this._onError(oe.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Mt>1&&u.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(Mt));for(var Zt=6,kr=0;kr<Mt;kr++){var Hr=Nr.getUint16(Zt,!$t);if(Zt+=2,Hr===0)continue;var $r=new Uint8Array(De,je+Zt,Hr);Zt+=Hr;var Bt=Ae.parseSPS($r);if(kr!==0)continue;st.codecWidth=Bt.codec_size.width,st.codecHeight=Bt.codec_size.height,st.presentWidth=Bt.present_size.width,st.presentHeight=Bt.present_size.height,st.profile=Bt.profile_string,st.level=Bt.level_string,st.bitDepth=Bt.bit_depth,st.chromaFormat=Bt.chroma_format,st.sarRatio=Bt.sar_ratio,st.frameRate=Bt.frame_rate,(Bt.frame_rate.fixed===!1||Bt.frame_rate.fps_num===0||Bt.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 Br=$r.subarray(1,4),zr="avc1.",An=0;An<3;An++){var bn=Br[An].toString(16);bn.length<2&&(bn="0"+bn),zr+=bn}st.codec=zr;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=Bt.ref_frames,Sn.chromaFormat=Bt.chroma_format_string,Sn.sarNum=st.sarRatio.width,Sn.sarDen=st.sarRatio.height,Sn.videoCodec=zr,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 Mn=Nr.getUint8(Zt);if(Mn===0){this._onError(oe.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else Mn>1&&u.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Mn));Zt++;for(var ei=0;ei<Mn;ei++){var Zn=Nr.getUint16(Zt,!$t);if(Zt+=2,Zn===0)continue;Zt+=Zn}st.avcc=new Uint8Array(Ye),st.avcc.set(new Uint8Array(De,je,Ye),0),u.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(De,je,Ye,st,kt,$t,Nr){for(var yn=this._littleEndian,un=new DataView(De,je,Ye),Kt=[],St=0,Mt=0,Zt=this._naluLengthSize,kr=this._timestampBase+st,Hr=$t===1;Mt<Ye;){if(Mt+4>=Ye){u.w(this.TAG,"Malformed Nalu near timestamp ".concat(kr,", offset = ").concat(Mt,", dataSize = ").concat(Ye));break}var $r=un.getUint32(Mt,!yn);if(Zt===3&&($r>>>=8),$r>Ye-Zt){u.w(this.TAG,"Malformed Nalus near timestamp ".concat(kr,", NaluSize > DataSize!"));return}var Bt=un.getUint8(Mt+Zt)&31;Bt===5&&(Hr=!0);var cr=new Uint8Array(De,je+Mt,Zt+$r),Cr={type:Bt,data:cr};Kt.push(Cr),St+=cr.byteLength,Mt+=Zt+$r}if(Kt.length){var Br=this._videoTrack,zr={units:Kt,length:St,isKeyframe:Hr,dts:kr,cts:Nr,pts:kr+Nr};Hr&&(zr.fileposition=kt),Br.samples.push(zr),Br.length+=St}}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(De){this._onTrackMetadata=De}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(De){this._onMediaInfo=De}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(De){this._onMetaDataArrived=De}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(De){this._onScriptDataArrived=De}},{key:"onError",get:function(){return this._onError},set:function(De){this._onError=De}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(De){this._onDataAvailable=De}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(De){this._timestampBase=De}},{key:"overridedDuration",get:function(){return this._duration},set:function(De){this._durationOverrided=!0,this._duration=De,this._mediaInfo.duration=De}},{key:"overridedHasAudio",set:function(De){this._hasAudioFlagOverrided=!0,this._hasAudio=De,this._mediaInfo.hasAudio=De}},{key:"overridedHasVideo",set:function(De){this._hasVideoFlagOverrided=!0,this._hasVideo=De,this._mediaInfo.hasVideo=De}}],[{key:"probe",value:function(De){var je=new Uint8Array(De),Ye={match:!1};if(je[0]!==70||je[1]!==76||je[2]!==86||je[3]!==1)return Ye;var st=(je[4]&4)>>>2!==0,kt=(je[4]&1)!==0,$t=Pe(je,5);return $t<9?Ye:{match:!0,consumed:$t,dataOffset:$t,hasAudioTrack:st,hasVideoTrack:kt}}}]),vt}(),Je=tt,Oe=function(){function vt(){Object(w.a)(this,vt)}return Object(A.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 De in vt.types)vt.types.hasOwnProperty(De)&&(vt.types[De]=[De.charCodeAt(0),De.charCodeAt(1),De.charCodeAt(2),De.charCodeAt(3)]);var je=vt.constants={};je.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),je.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),je.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),je.STSC=je.STCO=je.STTS,je.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),je.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]),je.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]),je.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),je.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),je.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(De){for(var je=8,Ye=null,st=Array.prototype.slice.call(arguments,1),kt=st.length,$t=0;$t<kt;$t++)je+=st[$t].byteLength;Ye=new Uint8Array(je),Ye[0]=je>>>24&255,Ye[1]=je>>>16&255,Ye[2]=je>>>8&255,Ye[3]=je&255,Ye.set(De,4);for(var Nr=8,yn=0;yn<kt;yn++)Ye.set(st[yn],Nr),Nr+=st[yn].byteLength;return Ye}},{key:"generateInitSegment",value:function(De){var je=vt.box(vt.types.ftyp,vt.constants.FTYP),Ye=vt.moov(De),st=new Uint8Array(je.byteLength+Ye.byteLength);return st.set(je,0),st.set(Ye,je.byteLength),st}},{key:"moov",value:function(De){var je=vt.mvhd(De.timescale,De.duration),Ye=vt.trak(De),st=vt.mvex(De);return vt.box(vt.types.moov,je,Ye,st)}},{key:"mvhd",value:function(De,je){return vt.box(vt.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,De>>>24&255,De>>>16&255,De>>>8&255,De&255,je>>>24&255,je>>>16&255,je>>>8&255,je&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(De){return vt.box(vt.types.trak,vt.tkhd(De),vt.mdia(De))}},{key:"tkhd",value:function(De){var je=De.id,Ye=De.duration,st=De.presentWidth,kt=De.presentHeight;return vt.box(vt.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,je>>>24&255,je>>>16&255,je>>>8&255,je&255,0,0,0,0,Ye>>>24&255,Ye>>>16&255,Ye>>>8&255,Ye&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,kt>>>8&255,kt&255,0,0]))}},{key:"mdia",value:function(De){return vt.box(vt.types.mdia,vt.mdhd(De),vt.hdlr(De),vt.minf(De))}},{key:"mdhd",value:function(De){var je=De.timescale,Ye=De.duration;return vt.box(vt.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,je>>>24&255,je>>>16&255,je>>>8&255,je&255,Ye>>>24&255,Ye>>>16&255,Ye>>>8&255,Ye&255,85,196,0,0]))}},{key:"hdlr",value:function(De){var je=null;return De.type==="audio"?je=vt.constants.HDLR_AUDIO:je=vt.constants.HDLR_VIDEO,vt.box(vt.types.hdlr,je)}},{key:"minf",value:function(De){var je=null;return De.type==="audio"?je=vt.box(vt.types.smhd,vt.constants.SMHD):je=vt.box(vt.types.vmhd,vt.constants.VMHD),vt.box(vt.types.minf,je,vt.dinf(),vt.stbl(De))}},{key:"dinf",value:function(){var De=vt.box(vt.types.dinf,vt.box(vt.types.dref,vt.constants.DREF));return De}},{key:"stbl",value:function(De){var je=vt.box(vt.types.stbl,vt.stsd(De),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 je}},{key:"stsd",value:function(De){return De.type==="audio"?De.codec==="mp3"?vt.box(vt.types.stsd,vt.constants.STSD_PREFIX,vt.mp3(De)):vt.box(vt.types.stsd,vt.constants.STSD_PREFIX,vt.mp4a(De)):vt.box(vt.types.stsd,vt.constants.STSD_PREFIX,vt.avc1(De))}},{key:"mp3",value:function(De){var je=De.channelCount,Ye=De.audioSampleRate,st=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,je,0,16,0,0,0,0,Ye>>>8&255,Ye&255,0,0]);return vt.box(vt.types[".mp3"],st)}},{key:"mp4a",value:function(De){var je=De.channelCount,Ye=De.audioSampleRate,st=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,je,0,16,0,0,0,0,Ye>>>8&255,Ye&255,0,0]);return vt.box(vt.types.mp4a,st,vt.esds(De))}},{key:"esds",value:function(De){var je=De.config||[],Ye=je.length,st=new Uint8Array([0,0,0,0,3,23+Ye,0,1,0,4,15+Ye,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Ye]).concat(je).concat([6,1,2]));return vt.box(vt.types.esds,st)}},{key:"avc1",value:function(De){var je=De.avcc,Ye=De.codecWidth,st=De.codecHeight,kt=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Ye>>>8&255,Ye&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,kt,vt.box(vt.types.avcC,je))}},{key:"mvex",value:function(De){return vt.box(vt.types.mvex,vt.trex(De))}},{key:"trex",value:function(De){var je=De.id,Ye=new Uint8Array([0,0,0,0,je>>>24&255,je>>>16&255,je>>>8&255,je&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return vt.box(vt.types.trex,Ye)}},{key:"moof",value:function(De,je){return vt.box(vt.types.moof,vt.mfhd(De.sequenceNumber),vt.traf(De,je))}},{key:"mfhd",value:function(De){var je=new Uint8Array([0,0,0,0,De>>>24&255,De>>>16&255,De>>>8&255,De&255]);return vt.box(vt.types.mfhd,je)}},{key:"traf",value:function(De,je){var Ye=De.id,st=vt.box(vt.types.tfhd,new Uint8Array([0,0,0,0,Ye>>>24&255,Ye>>>16&255,Ye>>>8&255,Ye&255])),kt=vt.box(vt.types.tfdt,new Uint8Array([0,0,0,0,je>>>24&255,je>>>16&255,je>>>8&255,je&255])),$t=vt.sdtp(De),Nr=vt.trun(De,$t.byteLength+16+16+8+16+8+8);return vt.box(vt.types.traf,st,kt,Nr,$t)}},{key:"sdtp",value:function(De){for(var je=De.samples||[],Ye=je.length,st=new Uint8Array(4+Ye),kt=0;kt<Ye;kt++){var $t=je[kt].flags;st[kt+4]=$t.isLeading<<6|$t.dependsOn<<4|$t.isDependedOn<<2|$t.hasRedundancy}return vt.box(vt.types.sdtp,st)}},{key:"trun",value:function(De,je){var Ye=De.samples||[],st=Ye.length,kt=12+16*st,$t=new Uint8Array(kt);je+=8+kt,$t.set([0,0,15,1,st>>>24&255,st>>>16&255,st>>>8&255,st&255,je>>>24&255,je>>>16&255,je>>>8&255,je&255],0);for(var Nr=0;Nr<st;Nr++){var yn=Ye[Nr].duration,un=Ye[Nr].size,Kt=Ye[Nr].flags,St=Ye[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(De){return vt.box(vt.types.mdat,De)}}]),vt}();Oe.init();var pt=Oe,Qe=function(){function vt(){Object(w.a)(this,vt)}return Object(A.a)(vt,null,[{key:"getSilentFrame",value:function(De,je){if(De==="mp4a.40.2"){if(je===1)return new Uint8Array([0,200,0,128,35,128]);if(je===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(je===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(je===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(je===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(je===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(je===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(je===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(je===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}(),nt=Qe,bt=function vt(ft,De,je,Ye,st){Object(w.a)(this,vt),this.dts=ft,this.pts=De,this.duration=je,this.originalDts=Ye,this.isSyncPoint=st,this.fileposition=null},Tt=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(A.a)(vt,[{key:"appendSyncPoint",value:function(De){De.isSyncPoint=!0,this.syncPoints.push(De)}}]),vt}(),Ct=function(){function vt(){Object(w.a)(this,vt),this._list=[]}return Object(A.a)(vt,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(De){var je=this._list;if(De.length===0)return;je.length>0&&De[0].originalDts<je[je.length-1].originalDts&&this.clear(),Array.prototype.push.apply(je,De)}},{key:"getLastSyncPointBeforeDts",value:function(De){if(this._list.length==0)return null;var je=this._list,Ye=0,st=je.length-1,kt=0,$t=0,Nr=st;for(De<je[0].dts&&(Ye=0,$t=Nr+1);$t<=Nr;)if(kt=$t+Math.floor((Nr-$t)/2),kt===st||De>=je[kt].dts&&De<je[kt+1].dts){Ye=kt;break}else je[kt].dts<De?$t=kt+1:Nr=kt-1;return this._list[Ye]}}]),vt}(),Nt=function(){function vt(ft){Object(w.a)(this,vt),this._type=ft,this._list=[],this._lastAppendLocation=-1}return Object(A.a)(vt,[{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(De){var je=this._list;if(je.length===0)return-2;var Ye=je.length-1,st=0,kt=0,$t=Ye,Nr=0;if(De<je[0].originalBeginDts)return Nr=-1,Nr;for(;kt<=$t;)if(st=kt+Math.floor(($t-kt)/2),st===Ye||De>je[st].lastSample.originalDts&&De<je[st+1].originalBeginDts){Nr=st;break}else je[st].originalBeginDts<De?kt=st+1:$t=st-1;return Nr}},{key:"_searchNearestSegmentAfter",value:function(De){return this._searchNearestSegmentBefore(De)+1}},{key:"append",value:function(De){var je=this._list,Ye=De,st=this._lastAppendLocation,kt=0;st!==-1&&st<je.length&&Ye.originalBeginDts>=je[st].lastSample.originalDts&&(st===je.length-1||st<je.length-1&&Ye.originalBeginDts<je[st+1].originalBeginDts)?kt=st+1:je.length>0&&(kt=this._searchNearestSegmentBefore(Ye.originalBeginDts)+1),this._lastAppendLocation=kt,this._list.splice(kt,0,Ye)}},{key:"getLastSegmentBefore",value:function(De){var je=this._searchNearestSegmentBefore(De);return je>=0?this._list[je]:null}},{key:"getLastSampleBefore",value:function(De){var je=this.getLastSegmentBefore(De);return je!=null?je.lastSample:null}},{key:"getLastSyncPointBefore",value:function(De){for(var je=this._searchNearestSegmentBefore(De),Ye=this._list[je].syncPoints;Ye.length===0&&je>0;)je--,Ye=this._list[je].syncPoints;return Ye.length>0?Ye[Ye.length-1]:null}},{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}}]),vt}(),Ge=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 Nt("audio"),this._videoSegmentInfoList=new Nt("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(A.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(De){return De.onDataAvailable=this.remux.bind(this),De.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(De){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(De,je){if(!this._onMediaSegment)throw new l("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(De,je),this._remuxVideo(je),this._remuxAudio(De)}},{key:"_onTrackMetadataReceived",value:function(De,je){var Ye=null,st="mp4",kt=je.codec;if(De==="audio")this._audioMeta=je,je.codec==="mp3"&&this._mp3UseMpegAudio?(st="mpeg",kt="",Ye=new Uint8Array):Ye=pt.generateInitSegment(je);else if(De==="video")this._videoMeta=je,Ye=pt.generateInitSegment(je);else return;if(!this._onInitSegment)throw new l("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(De,{type:De,data:Ye.buffer,codec:kt,container:"".concat(De,"/").concat(st),mediaDuration:je.duration})}},{key:"_calculateDtsBase",value:function(De,je){if(this._dtsBaseInited)return;De.samples&&De.samples.length&&(this._audioDtsBase=De.samples[0].dts),je.samples&&je.samples.length&&(this._videoDtsBase=je.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var De=this._videoStashedLastSample,je=this._audioStashedLastSample,Ye={type:"video",id:1,sequenceNumber:0,samples:[],length:0};De!=null&&(Ye.samples.push(De),Ye.length=De.length);var st={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};je!=null&&(st.samples.push(je),st.length=je.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Ye,!0),this._remuxAudio(st,!0)}},{key:"_remuxAudio",value:function(De,je){if(this._audioMeta==null)return;var Ye=De,st=Ye.samples,kt=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,Mt=!1;if(!st||st.length===0)return;if(st.length===1&&!je)return;var Zt=0,kr=null,Hr=0;Kt?(Zt=0,Hr=Ye.length):(Zt=8,Hr=8+Ye.length);var $r=null;if(st.length>1&&($r=st.pop(),Hr-=$r.length),this._audioStashedLastSample!=null){var Bt=this._audioStashedLastSample;this._audioStashedLastSample=null,st.unshift(Bt),Hr+=Bt.length}$r!=null&&(this._audioStashedLastSample=$r);var cr=st[0].dts-this._dtsBase;if(this._audioNextDts)kt=cr-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())kt=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(Mt=!0));else{var Cr=this._audioSegmentInfoList.getLastSampleBefore(cr);if(Cr!=null){var Br=cr-(Cr.originalDts+Cr.duration);Br<=3&&(Br=0);var zr=Cr.dts+Cr.duration+Br;kt=cr-zr}else kt=0}if(Mt){var An=cr-kt,bn=this._videoSegmentInfoList.getLastSegmentBefore(cr);if(bn!=null&&bn.beginDts<An){var Sn=nt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Sn){var Mn=bn.beginDts,ei=An-bn.beginDts;u.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(Mn,", duration: ").concat(ei)),st.unshift({unit:Sn,dts:Mn,pts:Mn}),Hr+=Sn.byteLength}}else Mt=!1}for(var Zn=[],ai=0;ai<st.length;ai++){var ii=st[ai],$e=ii.unit,Te=ii.dts-this._dtsBase,ke=Te-kt;$t===-1&&($t=ke);var Me=0;if(ai!==st.length-1){var Ze=st[ai+1].dts-this._dtsBase-kt;Me=Ze-ke}else if($r!=null){var Xe=$r.dts-this._dtsBase-kt;Me=Xe-ke}else Zn.length>=1?Me=Zn[Zn.length-1].duration:Me=Math.floor(un);var qe=!1,mt=null;if(Me>un*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!T.safari){qe=!0;var ht=Math.abs(Me-un),Vt=Math.ceil(ht/un),dr=ke+un;u.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
|
|
|
`+"dts: ".concat(ke+Me," ms, expected: ").concat(ke+Math.round(un)," ms, ")+"delta: ".concat(Math.round(ht)," ms, generate: ").concat(Vt," frames"));var tr=nt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);tr==null&&(u.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),tr=$e),mt=[];for(var ir=0;ir<Vt;ir++){var _t=Math.round(dr);if(mt.length>0){var gr=mt[mt.length-1];gr.duration=_t-gr.dts}var jt={dts:_t,pts:_t,cts:0,unit:tr,size:tr.byteLength,duration:0,originalDts:Te,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};mt.push(jt),Hr+=jt.size,dr+=un}var Sr=mt[mt.length-1];Sr.duration=ke+Me-Sr.dts,Me=Math.round(un)}Zn.push({dts:ke,pts:ke,cts:0,unit:ii.unit,size:ii.unit.byteLength,duration:Me,originalDts:Te,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),qe&&Zn.push.apply(Zn,mt)}Kt?kr=new Uint8Array(Hr):(kr=new Uint8Array(Hr),kr[0]=Hr>>>24&255,kr[1]=Hr>>>16&255,kr[2]=Hr>>>8&255,kr[3]=Hr&255,kr.set(pt.types.mdat,4));for(var Ar=0;Ar<Zn.length;Ar++){var sr=Zn[Ar].unit;kr.set(sr,Zt),Zt+=sr.byteLength}var ln=Zn[Zn.length-1];Nr=ln.dts+ln.duration,this._audioNextDts=Nr;var _n=new Tt;_n.beginDts=$t,_n.endDts=Nr,_n.beginPts=$t,_n.endPts=Nr,_n.originalBeginDts=Zn[0].originalDts,_n.originalEndDts=ln.originalDts+ln.duration,_n.firstSample=new bt(Zn[0].dts,Zn[0].pts,Zn[0].duration,Zn[0].originalDts,!1),_n.lastSample=new bt(ln.dts,ln.pts,ln.duration,ln.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(_n),Ye.samples=Zn,Ye.sequenceNumber++;var zn=null;Kt?zn=new Uint8Array:zn=pt.moof(Ye,$t),Ye.samples=[],Ye.length=0;var Nn={type:"audio",data:this._mergeBoxes(zn,kr).buffer,sampleCount:Zn.length,info:_n};Kt&&St&&(Nn.timestampOffset=$t),this._onMediaSegment("audio",Nn)}},{key:"_remuxVideo",value:function(De,je){if(this._videoMeta==null)return;var Ye=De,st=Ye.samples,kt=void 0,$t=-1,Nr=-1,yn=-1,un=-1;if(!st||st.length===0)return;if(st.length===1&&!je)return;var Kt=8,St=null,Mt=8+De.length,Zt=null;if(st.length>1&&(Zt=st.pop(),Mt-=Zt.length),this._videoStashedLastSample!=null){var kr=this._videoStashedLastSample;this._videoStashedLastSample=null,st.unshift(kr),Mt+=kr.length}Zt!=null&&(this._videoStashedLastSample=Zt);var Hr=st[0].dts-this._dtsBase;if(this._videoNextDts)kt=Hr-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())kt=0;else{var $r=this._videoSegmentInfoList.getLastSampleBefore(Hr);if($r!=null){var Bt=Hr-($r.originalDts+$r.duration);Bt<=3&&(Bt=0);var cr=$r.dts+$r.duration+Bt;kt=Hr-cr}else kt=0}for(var Cr=new Tt,Br=[],zr=0;zr<st.length;zr++){var An=st[zr],bn=An.dts-this._dtsBase,Sn=An.isKeyframe,Mn=bn-kt,ei=An.cts,Zn=Mn+ei;$t===-1&&($t=Mn,yn=Zn);var ai=0;if(zr!==st.length-1){var ii=st[zr+1].dts-this._dtsBase-kt;ai=ii-Mn}else if(Zt!=null){var $e=Zt.dts-this._dtsBase-kt;ai=$e-Mn}else Br.length>=1?ai=Br[Br.length-1].duration:ai=Math.floor(this._videoMeta.refSampleDuration);if(Sn){var Te=new bt(Mn,Zn,ai,An.dts,!0);Te.fileposition=An.fileposition,Cr.appendSyncPoint(Te)}Br.push({dts:Mn,pts:Zn,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(Mt),St[0]=Mt>>>24&255,St[1]=Mt>>>16&255,St[2]=Mt>>>8&255,St[3]=Mt&255,St.set(pt.types.mdat,4);for(var ke=0;ke<Br.length;ke++)for(var Me=Br[ke].units;Me.length;){var Ze=Me.shift(),Xe=Ze.data;St.set(Xe,Kt),Kt+=Xe.byteLength}var qe=Br[Br.length-1];if(Nr=qe.dts+qe.duration,un=qe.pts+qe.duration,this._videoNextDts=Nr,Cr.beginDts=$t,Cr.endDts=Nr,Cr.beginPts=yn,Cr.endPts=un,Cr.originalBeginDts=Br[0].originalDts,Cr.originalEndDts=qe.originalDts+qe.duration,Cr.firstSample=new bt(Br[0].dts,Br[0].pts,Br[0].duration,Br[0].originalDts,Br[0].isKeyframe),Cr.lastSample=new bt(qe.dts,qe.pts,qe.duration,qe.originalDts,qe.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Cr),Ye.samples=Br,Ye.sequenceNumber++,this._forceFirstIDR){var mt=Br[0].flags;mt.dependsOn=2,mt.isNonSync=0}var ht=pt.moof(Ye,$t);Ye.samples=[],Ye.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(ht,St).buffer,sampleCount:Br.length,info:Cr})}},{key:"_mergeBoxes",value:function(De,je){var Ye=new Uint8Array(De.byteLength+je.byteLength);return Ye.set(De,0),Ye.set(je,De.byteLength),Ye}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(De){this._onInitSegment=De}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(De){this._onMediaSegment=De}}]),vt}(),ie=Ge,Y={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"},we=Y,Ce=function(){function vt(ft,De){Object(w.a)(this,vt),this.TAG="TransmuxingController",this._emitter=new p.a,this._config=De,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 je=0;this._mediaDataSource.segments.forEach(function(Ye){Ye.timestampBase=je,je+=Ye.duration,Ye.cors=ft.cors,Ye.withCredentials=ft.withCredentials,De.referrerPolicy&&(Ye.referrerPolicy=De.referrerPolicy)}),!isNaN(je)&&this._mediaDataSource.duration!==je&&(this._mediaDataSource.duration=je),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(A.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(De,je){this._emitter.addListener(De,je)}},{key:"off",value:function(De,je){this._emitter.removeListener(De,je)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(De,je){this._currentSegmentIndex=De;var Ye=this._mediaDataSource.segments[De],st=this._ioctl=new V(Ye,this._config,De);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),je?this._demuxer.bindDataSource(this._ioctl):st.onDataArrival=this._onInitChunkArrival.bind(this),st.open(je)}},{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(De){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var je=this._searchSegmentIndexContains(De);if(je===this._currentSegmentIndex){var Ye=this._mediaInfo.segments[je];if(Ye==null)this._pendingSeekTime=De;else{var st=Ye.getNearestKeyframe(De);this._remuxer.seek(st.milliseconds),this._ioctl.seek(st.fileposition),this._pendingResolveSeekPoint=st.milliseconds}}else{var kt=this._mediaInfo.segments[je];if(kt==null)this._pendingSeekTime=De,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(je);else{var $t=kt.getNearestKeyframe(De);this._internalAbort(),this._remuxer.seek(De),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[je].timestampBase,this._loadSegment(je,$t.fileposition),this._pendingResolveSeekPoint=$t.milliseconds,this._reportSegmentMediaInfo(je)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(De){for(var je=this._mediaDataSource.segments,Ye=je.length-1,st=0;st<je.length;st++)if(De<je[st].timestampBase){Ye=st-1;break}return Ye}},{key:"_onInitChunkArrival",value:function(De,je){var Ye=this,st=null,kt=0;if(je>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,kt=this._demuxer.parseChunks(De,je);else if((st=Je.probe(De)).match){this._demuxer=new Je(st,this._config),this._remuxer||(this._remuxer=new ie(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),kt=this._demuxer.parseChunks(De,je)}else st=null,u.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Ye._internalAbort()}),this._emitter.emit(we.DEMUX_ERROR,oe.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),kt=0;return kt}},{key:"_onMediaInfo",value:function(De){var je=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},De),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,He.prototype));var Ye=Object.assign({},De);Object.setPrototypeOf(Ye,He.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Ye,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var st=je._pendingSeekTime;je._pendingSeekTime=null,je.seek(st)})}},{key:"_onMetaDataArrived",value:function(De){this._emitter.emit(we.METADATA_ARRIVED,De)}},{key:"_onScriptDataArrived",value:function(De){this._emitter.emit(we.SCRIPTDATA_ARRIVED,De)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(De){var je=De,Ye=je+1;Ye<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Ye)):(this._remuxer.flushStashedSamples(),this._emitter.emit(we.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(De){var je=this._ioctl.extraData;this._mediaDataSource.segments[je].redirectedURL=De}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(we.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(De,je){u.e(this.TAG,"IOException: type = ".concat(De,", code = ").concat(je.code,", msg = ").concat(je.msg)),this._emitter.emit(we.IO_ERROR,De,je),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(De,je){u.e(this.TAG,"DemuxException: type = ".concat(De,", info = ").concat(je)),this._emitter.emit(we.DEMUX_ERROR,De,je)}},{key:"_onRemuxerInitSegmentArrival",value:function(De,je){this._emitter.emit(we.INIT_SEGMENT,De,je)}},{key:"_onRemuxerMediaSegmentArrival",value:function(De,je){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(we.MEDIA_SEGMENT,De,je),this._pendingResolveSeekPoint!=null&&De==="video"){var Ye=je.info.syncPoints,st=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,T.safari&&Ye.length>0&&Ye[0].originalDts===st&&(st=Ye[0].pts),this._emitter.emit(we.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(De){var je=this._mediaInfo.segments[De],Ye=Object.assign({},je);Ye.duration=this._mediaInfo.duration,Ye.segmentCount=this._mediaInfo.segmentCount,delete Ye.segments,delete Ye.keyframesIndex,this._emitter.emit(we.MEDIA_INFO,Ye)}},{key:"_reportStatisticsInfo",value:function(){var De={};De.url=this._ioctl.currentURL,De.hasRedirect=this._ioctl.hasRedirect,De.hasRedirect&&(De.redirectedURL=this._ioctl.currentRedirectedURL),De.speed=this._ioctl.currentSpeed,De.loaderType=this._ioctl.loaderType,De.currentSegmentIndex=this._currentSegmentIndex,De.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(we.STATISTICS_INFO,De)}}]),vt}(),le=Ce,ot=function(ft){var De="TransmuxingWorker",je=null,Ye=Hr.bind(this);m.install(),ft.addEventListener("message",function($r){switch($r.data.cmd){case"init":je=new le($r.data.param[0],$r.data.param[1]),je.on(we.IO_ERROR,Mt.bind(this)),je.on(we.DEMUX_ERROR,Zt.bind(this)),je.on(we.INIT_SEGMENT,st.bind(this)),je.on(we.MEDIA_SEGMENT,kt.bind(this)),je.on(we.LOADING_COMPLETE,$t.bind(this)),je.on(we.RECOVERED_EARLY_EOF,Nr.bind(this)),je.on(we.MEDIA_INFO,yn.bind(this)),je.on(we.METADATA_ARRIVED,un.bind(this)),je.on(we.SCRIPTDATA_ARRIVED,Kt.bind(this)),je.on(we.STATISTICS_INFO,St.bind(this)),je.on(we.RECOMMEND_SEEKPOINT,kr.bind(this));break;case"destroy":je&&(je.destroy(),je=null),ft.postMessage({msg:"destroyed"});break;case"start":je.start();break;case"stop":je.stop();break;case"seek":je.seek($r.data.param);break;case"pause":je.pause();break;case"resume":je.resume();break;case"logging_config":{var Bt=$r.data.param;Se.applyConfig(Bt),Bt.enableCallback===!0?Se.addLogListener(Ye):Se.removeLogListener(Ye);break}}});function st($r,Bt){var cr={msg:we.INIT_SEGMENT,data:{type:$r,data:Bt}};ft.postMessage(cr,[Bt.data])}function kt($r,Bt){var cr={msg:we.MEDIA_SEGMENT,data:{type:$r,data:Bt}};ft.postMessage(cr,[Bt.data])}function $t(){var $r={msg:we.LOADING_COMPLETE};ft.postMessage($r)}function Nr(){var $r={msg:we.RECOVERED_EARLY_EOF};ft.postMessage($r)}function yn($r){var Bt={msg:we.MEDIA_INFO,data:$r};ft.postMessage(Bt)}function un($r){var Bt={msg:we.METADATA_ARRIVED,data:$r};ft.postMessage(Bt)}function Kt($r){var Bt={msg:we.SCRIPTDATA_ARRIVED,data:$r};ft.postMessage(Bt)}function St($r){var Bt={msg:we.STATISTICS_INFO,data:$r};ft.postMessage(Bt)}function Mt($r,Bt){ft.postMessage({msg:we.IO_ERROR,data:{type:$r,info:Bt}})}function Zt($r,Bt){ft.postMessage({msg:we.DEMUX_ERROR,data:{type:$r,info:Bt}})}function kr($r){ft.postMessage({msg:we.RECOMMEND_SEEKPOINT,data:$r})}function Hr($r,Bt){ft.postMessage({msg:"logcat_callback",data:{type:$r,logcat:Bt}})}},wt=ot,rt=function(){function vt(ft,De){if(Object(w.a)(this,vt),this.TAG="Transmuxer",this._emitter=new p.a,De.enableWorker&&typeof Worker!="undefined")try{var je=d("0r65");this._worker=je(wt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[ft,De]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Se.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Se.getConfig()})}catch(st){u.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new le(ft,De)}else this._controller=new le(ft,De);if(this._controller){var Ye=this._controller;Ye.on(we.IO_ERROR,this._onIOError.bind(this)),Ye.on(we.DEMUX_ERROR,this._onDemuxError.bind(this)),Ye.on(we.INIT_SEGMENT,this._onInitSegment.bind(this)),Ye.on(we.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Ye.on(we.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Ye.on(we.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Ye.on(we.MEDIA_INFO,this._onMediaInfo.bind(this)),Ye.on(we.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Ye.on(we.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Ye.on(we.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Ye.on(we.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(A.a)(vt,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Se.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(De,je){this._emitter.addListener(De,je)}},{key:"off",value:function(De,je){this._emitter.removeListener(De,je)}},{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(De){this._worker?this._worker.postMessage({cmd:"seek",param:De}):this._controller.seek(De)}},{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(De,je){var Ye=this;Promise.resolve().then(function(){Ye._emitter.emit(we.INIT_SEGMENT,De,je)})}},{key:"_onMediaSegment",value:function(De,je){var Ye=this;Promise.resolve().then(function(){Ye._emitter.emit(we.MEDIA_SEGMENT,De,je)})}},{key:"_onLoadingComplete",value:function(){var De=this;Promise.resolve().then(function(){De._emitter.emit(we.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var De=this;Promise.resolve().then(function(){De._emitter.emit(we.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(De){var je=this;Promise.resolve().then(function(){je._emitter.emit(we.MEDIA_INFO,De)})}},{key:"_onMetaDataArrived",value:function(De){var je=this;Promise.resolve().then(function(){je._emitter.emit(we.METADATA_ARRIVED,De)})}},{key:"_onScriptDataArrived",value:function(De){var je=this;Promise.resolve().then(function(){je._emitter.emit(we.SCRIPTDATA_ARRIVED,De)})}},{key:"_onStatisticsInfo",value:function(De){var je=this;Promise.resolve().then(function(){je._emitter.emit(we.STATISTICS_INFO,De)})}},{key:"_onIOError",value:function(De,je){var Ye=this;Promise.resolve().then(function(){Ye._emitter.emit(we.IO_ERROR,De,je)})}},{key:"_onDemuxError",value:function(De,je){var Ye=this;Promise.resolve().then(function(){Ye._emitter.emit(we.DEMUX_ERROR,De,je)})}},{key:"_onRecommendSeekpoint",value:function(De){var je=this;Promise.resolve().then(function(){je._emitter.emit(we.RECOMMEND_SEEKPOINT,De)})}},{key:"_onLoggingConfigChanged",value:function(De){this._worker&&this._worker.postMessage({cmd:"logging_config",param:De})}},{key:"_onWorkerMessage",value:function(De){var je=De.data,Ye=je.data;if(je.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(je.msg){case we.INIT_SEGMENT:case we.MEDIA_SEGMENT:this._emitter.emit(je.msg,Ye.type,Ye.data);break;case we.LOADING_COMPLETE:case we.RECOVERED_EARLY_EOF:this._emitter.emit(je.msg);break;case we.MEDIA_INFO:Object.setPrototypeOf(Ye,He.prototype),this._emitter.emit(je.msg,Ye);break;case we.METADATA_ARRIVED:case we.SCRIPTDATA_ARRIVED:case we.STATISTICS_INFO:this._emitter.emit(je.msg,Ye);break;case we.IO_ERROR:case we.DEMUX_ERROR:this._emitter.emit(je.msg,Ye.type,Ye.info);break;case we.RECOMMEND_SEEKPOINT:this._emitter.emit(je.msg,Ye);break;case"logcat_callback":u.emitter.emit("log",Ye.type,Ye.logcat);break;default:break}}}]),vt}(),It=rt,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(A.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(De,je){this._emitter.addListener(De,je)}},{key:"off",value:function(De,je){this._emitter.removeListener(De,je)}},{key:"attachMediaElement",value:function(De){if(this._mediaSource)throw new l("MediaSource has been attached to an HTMLMediaElement!");var je=this._mediaSource=new window.MediaSource;je.addEventListener("sourceopen",this.e.onSourceOpen),je.addEventListener("sourceended",this.e.onSourceEnded),je.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=De,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),De.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var De=this._mediaSource;for(var je in this._sourceBuffers){var Ye=this._pendingSegments[je];Ye.splice(0,Ye.length),this._pendingSegments[je]=null,this._pendingRemoveRanges[je]=null,this._lastInitSegments[je]=null;var st=this._sourceBuffers[je];if(st){if(De.readyState!=="closed"){try{De.removeSourceBuffer(st)}catch(kt){u.e(this.TAG,kt.message)}st.removeEventListener("error",this.e.onSourceBufferError),st.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[je]=null,this._sourceBuffers[je]=null}}if(De.readyState==="open")try{De.endOfStream()}catch(kt){u.e(this.TAG,kt.message)}De.removeEventListener("sourceopen",this.e.onSourceOpen),De.removeEventListener("sourceended",this.e.onSourceEnded),De.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(De,je){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(De),this._pendingSegments[De.type].push(De);return}var Ye=De,st="".concat(Ye.container);Ye.codec&&Ye.codec.length>0&&(st+=";codecs=".concat(Ye.codec));var kt=!1;if(u.v(this.TAG,"Received Initialization Segment, mimeType: "+st),this._lastInitSegments[Ye.type]=Ye,st!==this._mimeTypes[Ye.type]){if(this._mimeTypes[Ye.type])u.v(this.TAG,"Notice: ".concat(Ye.type," mimeType changed, origin: ").concat(this._mimeTypes[Ye.type],", target: ").concat(st));else{kt=!0;try{var $t=this._sourceBuffers[Ye.type]=this._mediaSource.addSourceBuffer(st);$t.addEventListener("error",this.e.onSourceBufferError),$t.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(Nr){u.e(this.TAG,Nr.message),this._emitter.emit(lr.ERROR,{code:Nr.code,msg:Nr.message});return}}this._mimeTypes[Ye.type]=st}je||this._pendingSegments[Ye.type].push(Ye),kt||this._sourceBuffers[Ye.type]&&!this._sourceBuffers[Ye.type].updating&&this._doAppendSegments(),T.safari&&Ye.container==="audio/mpeg"&&Ye.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Ye.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(De){var je=De;this._pendingSegments[je.type].push(je),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Ye=this._sourceBuffers[je.type];Ye&&!Ye.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(De){for(var je in this._sourceBuffers){if(!this._sourceBuffers[je])continue;var Ye=this._sourceBuffers[je];if(this._mediaSource.readyState==="open")try{Ye.abort()}catch(un){u.e(this.TAG,un.message)}this._idrList.clear();var st=this._pendingSegments[je];if(st.splice(0,st.length),this._mediaSource.readyState==="closed")continue;for(var kt=0;kt<Ye.buffered.length;kt++){var $t=Ye.buffered.start(kt),Nr=Ye.buffered.end(kt);this._pendingRemoveRanges[je].push({start:$t,end:Nr})}if(Ye.updating||this._doRemoveRanges(),T.safari){var yn=this._lastInitSegments[je];yn&&(this._pendingSegments[je].push(yn),Ye.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var De=this._mediaSource,je=this._sourceBuffers;if(!De||De.readyState!=="open"){De&&De.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}je.video&&je.video.updating||je.audio&&je.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,De.endOfStream())}},{key:"getNearestKeyframe",value:function(De){return this._idrList.getLastSyncPointBeforeDts(De)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var De=this._mediaElement.currentTime;for(var je in this._sourceBuffers){var Ye=this._sourceBuffers[je];if(Ye){var st=Ye.buffered;if(st.length>=1&&De-st.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var De=this._mediaElement.currentTime;for(var je in this._sourceBuffers){var Ye=this._sourceBuffers[je];if(Ye){for(var st=Ye.buffered,kt=!1,$t=0;$t<st.length;$t++){var Nr=st.start($t),yn=st.end($t);if(Nr<=De&&De<yn+3){if(De-Nr>=this._config.autoCleanupMaxBackwardDuration){kt=!0;var un=De-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[je].push({start:Nr,end:un})}}else yn<De&&(kt=!0,this._pendingRemoveRanges[je].push({start:Nr,end:yn}))}kt&&!Ye.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var De=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(De.video&&De.video.updating||De.audio&&De.audio.updating)return;var je=this._mediaSource.duration,Ye=this._pendingMediaDuration;Ye>0&&(isNaN(je)||Ye>je)&&(u.v(this.TAG,"Update MediaSource duration from ".concat(je," to ").concat(Ye)),this._mediaSource.duration=Ye),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var De in this._pendingRemoveRanges){if(!this._sourceBuffers[De]||this._sourceBuffers[De].updating)continue;for(var je=this._sourceBuffers[De],Ye=this._pendingRemoveRanges[De];Ye.length&&!je.updating;){var st=Ye.shift();je.remove(st.start,st.end)}}}},{key:"_doAppendSegments",value:function(){var De=this._pendingSegments;for(var je in De){if(!this._sourceBuffers[je]||this._sourceBuffers[je].updating)continue;if(De[je].length>0){var Ye=De[je].shift();if(Ye.timestampOffset){var st=this._sourceBuffers[je].timestampOffset,kt=Ye.timestampOffset/1e3,$t=Math.abs(st-kt);$t>.1&&(u.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(st," to ").concat(kt)),this._sourceBuffers[je].timestampOffset=kt),delete Ye.timestampOffset}if(!Ye.data||Ye.data.byteLength===0)continue;try{this._sourceBuffers[je].appendBuffer(Ye.data),this._isBufferFull=!1,je==="video"&&Ye.hasOwnProperty("info")&&this._idrList.appendArray(Ye.info.syncPoints)}catch(Nr){this._pendingSegments[je].unshift(Ye),Nr.code===22?(this._isBufferFull||this._emitter.emit(lr.BUFFER_FULL),this._isBufferFull=!0):(u.e(this.TAG,Nr.message),this._emitter.emit(lr.ERROR,{code:Nr.code,msg:Nr.message}))}}}}},{key:"_onSourceOpen",value:function(){if(u.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var De=this._pendingSourceBufferInit;De.length;){var je=De.shift();this.appendInitSegment(je,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(lr.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){u.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){u.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 De=this._pendingSegments;return De.video.length>0||De.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var De=this._pendingRemoveRanges;return De.video.length>0||De.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(De){u.e(this.TAG,"SourceBuffer Error: ".concat(De))}}]),vt}(),Rr=pr,xt={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Ot={NETWORK_EXCEPTION:h.EXCEPTION,NETWORK_STATUS_CODE_INVALID:h.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:h.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:h.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:oe.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:oe.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:oe.CODEC_UNSUPPORTED},At=function(){function vt(ft,De){if(Object(w.a)(this,vt),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new p.a,this._config=ae(),typeof De=="object"&&Object.assign(this._config,De),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 je=T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661);this._alwaysSeekKeyframe=!!(je||T.msedge||T.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(A.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(De,je){var Ye=this;De===he.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Ye._emitter.emit(he.MEDIA_INFO,Ye.mediaInfo)}):De===he.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Ye._emitter.emit(he.STATISTICS_INFO,Ye.statisticsInfo)})),this._emitter.addListener(De,je)}},{key:"off",value:function(De,je){this._emitter.removeListener(De,je)}},{key:"attachMediaElement",value:function(De){var je=this;if(this._mediaElement=De,De.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),De.addEventListener("seeking",this.e.onvSeeking),De.addEventListener("canplay",this.e.onvCanPlay),De.addEventListener("stalled",this.e.onvStalled),De.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(){je._mseSourceOpened=!0,je._hasPendingLoad&&(je._hasPendingLoad=!1,je.load())}),this._msectl.on(lr.ERROR,function(Ye){je._emitter.emit(he.ERROR,xt.MEDIA_ERROR,Ot.MEDIA_MSE_ERROR,Ye)}),this._msectl.attachMediaElement(De),this._pendingSeekTime!=null)try{De.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Ye){}}},{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 De=this;if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new l("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new It(this._mediaDataSource,this._config),this._transmuxer.on(we.INIT_SEGMENT,function(je,Ye){De._msectl.appendInitSegment(Ye)}),this._transmuxer.on(we.MEDIA_SEGMENT,function(je,Ye){if(De._msectl.appendMediaSegment(Ye),De._config.lazyLoad&&!De._config.isLive){var st=De._mediaElement.currentTime;Ye.info.endDts>=(st+De._config.lazyLoadMaxDuration)*1e3&&(De._progressChecker==null&&(u.v(De.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),De._suspendTransmuxer()))}}),this._transmuxer.on(we.LOADING_COMPLETE,function(){De._msectl.endOfStream(),De._emitter.emit(he.LOADING_COMPLETE)}),this._transmuxer.on(we.RECOVERED_EARLY_EOF,function(){De._emitter.emit(he.RECOVERED_EARLY_EOF)}),this._transmuxer.on(we.IO_ERROR,function(je,Ye){De._emitter.emit(he.ERROR,xt.NETWORK_ERROR,je,Ye)}),this._transmuxer.on(we.DEMUX_ERROR,function(je,Ye){De._emitter.emit(he.ERROR,xt.MEDIA_ERROR,je,{code:-1,msg:Ye})}),this._transmuxer.on(we.MEDIA_INFO,function(je){De._mediaInfo=je,De._emitter.emit(he.MEDIA_INFO,Object.assign({},je))}),this._transmuxer.on(we.METADATA_ARRIVED,function(je){De._emitter.emit(he.METADATA_ARRIVED,je)}),this._transmuxer.on(we.SCRIPTDATA_ARRIVED,function(je){De._emitter.emit(he.SCRIPTDATA_ARRIVED,je)}),this._transmuxer.on(we.STATISTICS_INFO,function(je){De._statisticsInfo=De._fillStatisticsInfo(je),De._emitter.emit(he.STATISTICS_INFO,Object.assign({},De._statisticsInfo))}),this._transmuxer.on(we.RECOMMEND_SEEKPOINT,function(je){De._mediaElement&&!De._config.accurateSeek&&(De._requestSetTime=!0,De._mediaElement.currentTime=je/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_fillStatisticsInfo",value:function(De){if(De.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return De;var je=!0,Ye=0,st=0;if(this._mediaElement.getVideoPlaybackQuality){var kt=this._mediaElement.getVideoPlaybackQuality();Ye=kt.totalVideoFrames,st=kt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Ye=this._mediaElement.webkitDecodedFrameCount,st=this._mediaElement.webkitDroppedFrameCount):je=!1;return je&&(De.decodedFrames=Ye,De.droppedFrames=st),De}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var De=this._mediaElement.buffered,je=this._mediaElement.currentTime,Ye=0,st=0,kt=0;kt<De.length;kt++){var $t=De.start(kt),Nr=De.end(kt);if($t<=je&&je<Nr){Ye=$t,st=Nr;break}}st>=je+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(u.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){u.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 De=this._mediaElement.currentTime,je=this._mediaElement.buffered,Ye=!1,st=0;st<je.length;st++){var kt=je.start(st),$t=je.end(st);if(De>=kt&&De<$t){De>=$t-this._config.lazyLoadRecoverDuration&&(Ye=!0);break}}Ye&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Ye&&(u.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(De){for(var je=this._mediaElement.buffered,Ye=0;Ye<je.length;Ye++){var st=je.start(Ye),kt=je.end(Ye);if(De>=st&&De<kt)return!0}return!1}},{key:"_internalSeek",value:function(De){var je=this._isTimepointBuffered(De),Ye=!1,st=0;if(De<1&&this._mediaElement.buffered.length>0){var kt=this._mediaElement.buffered.start(0);(kt<1&&De<kt||T.safari)&&(Ye=!0,st=T.safari?.1:kt)}if(Ye)this._requestSetTime=!0,this._mediaElement.currentTime=st;else if(je){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=De;else{var $t=this._msectl.getNearestKeyframe(Math.floor(De*1e3));this._requestSetTime=!0,$t!=null?this._mediaElement.currentTime=$t.dts/1e3:this._mediaElement.currentTime=De}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(De),this._transmuxer.seek(Math.floor(De*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=De)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var De=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(De)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(De),this._transmuxer.seek(Math.floor(De*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=De))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(De){var je=this._mediaElement;if(De||!this._receivedCanPlay||je.readyState<2){var Ye=je.buffered;Ye.length>0&&je.currentTime<Ye.start(0)&&(u.w(this.TAG,"Playback seems stuck at ".concat(je.currentTime,", seek to ").concat(Ye.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=Ye.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(De){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(De){var je=this._mediaElement.currentTime,Ye=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(je<1&&Ye.length>0){var st=Ye.start(0);if(st<1&&je<st||T.safari){this._requestSetTime=!0,this._mediaElement.currentTime=T.safari?.1:st;return}}if(this._isTimepointBuffered(je)){if(this._alwaysSeekKeyframe){var kt=this._msectl.getNearestKeyframe(Math.floor(je*1e3));kt!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=kt.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:je,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(De){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(De){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(De){this._checkAndResumeStuckPlayback()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(De){this._mediaElement.volume=De}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(De){this._mediaElement.muted=De}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(De){this._mediaElement?this._internalSeek(De):this._pendingSeekTime=De}},{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)}}]),vt}(),Jt=At,br=function(){function vt(ft,De){if(Object(w.a)(this,vt),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new p.a,this._config=ae(),typeof De=="object"&&Object.assign(this._config,De),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(A.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(De,je){var Ye=this;De===he.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Ye._emitter.emit(he.MEDIA_INFO,Ye.mediaInfo)}):De===he.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Ye._emitter.emit(he.STATISTICS_INFO,Ye.statisticsInfo)})),this._emitter.addListener(De,je)}},{key:"off",value:function(De,je){this._emitter.removeListener(De,je)}},{key:"attachMediaElement",value:function(De){if(this._mediaElement=De,De.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{De.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(je){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_onvLoadedMetadata",value:function(De){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(he.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(he.STATISTICS_INFO,this.statisticsInfo)}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(De){this._mediaElement.volume=De}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(De){this._mediaElement.muted=De}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(De){this._mediaElement?this._mediaElement.currentTime=De:this._pendingSeekTime=De}},{key:"mediaInfo",get:function(){var De=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",je={mimeType:De+this._mediaDataSource.type};return this._mediaElement&&(je.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(je.width=this._mediaElement.videoWidth,je.height=this._mediaElement.videoHeight)),je}},{key:"statisticsInfo",get:function(){var De={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return De;var je=!0,Ye=0,st=0;if(this._mediaElement.getVideoPlaybackQuality){var kt=this._mediaElement.getVideoPlaybackQuality();Ye=kt.totalVideoFrames,st=kt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Ye=this._mediaElement.webkitDecodedFrameCount,st=this._mediaElement.webkitDroppedFrameCount):je=!1;return je&&(De.decodedFrames=Ye,De.droppedFrames=st),De}}]),vt}(),Lr=br;m.install();function Zr(vt,ft){var De=vt;if(De==null||typeof De!="object")throw new t("MediaDataSource must be an javascript object!");if(!De.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch(De.type){case"flv":return new Jt(De,ft);default:return new Lr(De,ft)}}function In(){return $.supportMSEH264Playback()}function Gr(){return $.getFeatureList()}var Tr={};Tr.createPlayer=Zr,Tr.isSupported=In,Tr.getFeatureList=Gr,Tr.BaseLoader=f,Tr.LoaderStatus=c,Tr.LoaderErrors=h,Tr.Events=he,Tr.ErrorTypes=xt,Tr.ErrorDetails=Ot,Tr.FlvPlayer=Jt,Tr.NativePlayer=Lr,Tr.LoggingControl=Se,Object.defineProperty(Tr,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var fr=P.a=Tr},GVMX:function(M,P,d){var w=d("JEkh"),A=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=A},Gbse:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("yu2y"),m=d.n(b)},GdRQ:function(M,P,d){"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(P,"__esModule",{value:!0}),P.isMac=c,P.isWindows=h,P.isIOS=f,P.isSafari=g,P.isIE=S,P.isEdge=y,P.isFirefox=E,P.hasScrollbarGutter=P.supportsImageMetadata=P.supportsCursorURIs=P.dragThreshold=P.isTouchDevice=void 0;var A=m(d("Lo0S"));function b(){if(typeof WeakMap!="function")return null;var C=new WeakMap;return b=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=b();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 v="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;P.isTouchDevice=v,window.addEventListener("touchstart",function C(){P.isTouchDevice=v=!0,window.removeEventListener("touchstart",C,!1)},!1);var p=10*(window.devicePixelRatio||1);P.dragThreshold=p;var s=!1;try{var u=document.createElement("canvas");u.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',u.style.cursor.indexOf("url")===0?(A.Info("Data URI scheme cursor supported"),s=!0):A.Warn("Data URI scheme cursor not supported")}catch(C){A.Error("Data URI scheme cursor test exception: "+C)}var o=s;P.supportsCursorURIs=o;var e=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),e=!0}catch(C){}var r=e;P.supportsImageMetadata=r;var i=!0;try{var n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);var l=document.createElement("div");n.appendChild(l);var t=n.offsetWidth-l.offsetWidth;n.parentNode.removeChild(n),i=t!=0}catch(C){A.Error("Scrollbar test exception: "+C)}var a=i;P.hasScrollbarGutter=a;function c(){return navigator&&!!/mac/i.exec(navigator.platform)}function h(){return navigator&&!!/win/i.exec(navigator.platform)}function f(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function g(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function S(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function y(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function E(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(M,P,d){var w=d("bYtY"),A=d("6Ic6"),b=d("IwbS"),m=d("y+Vt"),v=d("sK/D"),p=v.createClipPath,s=["itemStyle"],u=["emphasis","itemStyle"],o=["color","color0","borderColor","borderColor0"],e=A.extend({type:"candlestick",render:function(g,S,y){this.group.removeClipPath(),this._updateDrawMode(g),this._isLargeDraw?this._renderLarge(g):this._renderNormal(g)},incrementalPrepareRender:function(g,S,y){this._clear(),this._updateDrawMode(g)},incrementalRender:function(g,S,y,E){this._isLargeDraw?this._incrementalRenderLarge(g,S):this._incrementalRenderNormal(g,S)},_updateDrawMode:function(g){var S=g.pipelineContext.large;(this._isLargeDraw==null||S^this._isLargeDraw)&&(this._isLargeDraw=S,this._clear())},_renderNormal:function(g){var S=g.getData(),y=this._data,E=this.group,C=S.getLayout("isSimpleBox"),T=g.get("clip",!0),x=g.coordinateSystem,_=x.getArea&&x.getArea();this._data||E.removeAll(),S.diff(y).add(function(I){if(S.hasValue(I)){var L,D=S.getItemLayout(I);if(T&&n(_,D))return;L=i(D,I,!0),b.initProps(L,{shape:{points:D.ends}},g,I),l(L,S,I,C),E.add(L),S.setItemGraphicEl(I,L)}}).update(function(I,L){var D=y.getItemGraphicEl(L);if(!S.hasValue(I)){E.remove(D);return}var B=S.getItemLayout(I);if(T&&n(_,B)){E.remove(D);return}D?b.updateProps(D,{shape:{points:B.ends}},g,I):D=i(B,I),l(D,S,I,C),E.add(D),S.setItemGraphicEl(I,D)}).remove(function(I){var L=y.getItemGraphicEl(I);L&&E.remove(L)}).execute(),this._data=S},_renderLarge:function(g){this._clear(),c(g,this.group);var S=g.get("clip",!0)?p(g.coordinateSystem,!1,g):null;S?this.group.setClipPath(S):this.group.removeClipPath()},_incrementalRenderNormal:function(g,S){for(var y=S.getData(),E=y.getLayout("isSimpleBox"),C;(C=g.next())!=null;){var T,x=y.getItemLayout(C);T=i(x,C),l(T,y,C,E),T.incremental=!0,this.group.add(T)}},_incrementalRenderLarge:function(g,S){c(S,this.group,!0)},remove:function(g){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:w.noop}),r=m.extend({type:"normalCandlestickBox",shape:{},buildPath:function(g,S){var y=S.points;this.__simpleBox?(g.moveTo(y[4][0],y[4][1]),g.lineTo(y[6][0],y[6][1])):(g.moveTo(y[0][0],y[0][1]),g.lineTo(y[1][0],y[1][1]),g.lineTo(y[2][0],y[2][1]),g.lineTo(y[3][0],y[3][1]),g.closePath(),g.moveTo(y[4][0],y[4][1]),g.lineTo(y[5][0],y[5][1]),g.moveTo(y[6][0],y[6][1]),g.lineTo(y[7][0],y[7][1]))}});function i(g,S,y){var E=g.ends;return new r({shape:{points:y?t(E,g):E},z2:100})}function n(g,S){for(var y=!0,E=0;E<S.ends.length;E++)if(g.contain(S.ends[E][0],S.ends[E][1])){y=!1;break}return y}function l(g,S,y,E){var C=S.getItemModel(y),T=C.getModel(s),x=S.getItemVisual(y,"color"),_=S.getItemVisual(y,"borderColor")||x,I=T.getItemStyle(o);g.useStyle(I),g.style.strokeNoScale=!0,g.style.fill=x,g.style.stroke=_,g.__simpleBox=E;var L=C.getModel(u).getItemStyle();b.setHoverStyle(g,L)}function t(g,S){return w.map(g,function(y){return y=y.slice(),y[1]=S.initBaseline,y})}var a=m.extend({type:"largeCandlestickBox",shape:{},buildPath:function(g,S){for(var y=S.points,E=0;E<y.length;)if(this.__sign===y[E++]){var C=y[E++];g.moveTo(C,y[E++]),g.lineTo(C,y[E++])}else E+=3}});function c(g,S,y){var E=g.getData(),C=E.getLayout("largePoints"),T=new a({shape:{points:C},__sign:1});S.add(T);var x=new a({shape:{points:C},__sign:-1});S.add(x),h(1,T,g,E),h(-1,x,g,E),y&&(T.incremental=!0,x.incremental=!0)}function h(g,S,y,E){var C=g>0?"P":"N",T=E.getVisual("borderColor"+C)||E.getVisual("color"+C),x=y.getModel(s).getItemStyle(o);S.useStyle(x),S.style.fill=null,S.style.stroke=T}var f=e;M.exports=f},Gev7:function(M,P,d){var w=d("bYtY"),A=d("K2GJ"),b=d("1bdT"),m=d("ni6a");function v(s){s=s||{},b.call(this,s);for(var u in s)s.hasOwnProperty(u)&&u!=="style"&&(this[u]=s[u]);this.style=new A(s.style,this),this._rect=null,this.__clipPaths=null}v.prototype={constructor:v,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(u){},afterBrush:function(u){},brush:function(u,o){},getBoundingRect:function(){},contain:function(u,o){return this.rectContain(u,o)},traverse:function(u,o){u.call(o,this)},rectContain:function(u,o){var e=this.transformCoordToLocal(u,o),r=this.getBoundingRect();return r.contain(e[0],e[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(u){return this.animate("style",u)},attrKV:function(u,o){u!=="style"?b.prototype.attrKV.call(this,u,o):this.style.set(o)},setStyle:function(u,o){return this.style.set(u,o),this.dirty(!1),this},useStyle:function(u){return this.style=new A(u,this),this.dirty(!1),this},calculateTextPosition:null},w.inherits(v,b),w.mixin(v,m);var p=v;M.exports=p},GrNh:function(M,P,d){var w=d("bYtY"),A=d("IwbS"),b=d("6Ic6");function m(e,r,i,n){var l=r.getData(),t=this.dataIndex,a=l.getName(t),c=r.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:e,name:a,seriesId:r.id}),l.each(function(h){v(l.getItemGraphicEl(h),l.getItemLayout(h),r.isSelected(l.getName(h)),c,i)})}function v(e,r,i,n,l){var t=(r.startAngle+r.endAngle)/2,a=Math.cos(t),c=Math.sin(t),h=i?n:0,f=[a*h,c*h];l?e.animate().when(200,{position:f}).start("bounceOut"):e.attr("position",f)}function p(e,r){A.Group.call(this);var i=new A.Sector({z2:2}),n=new A.Polyline,l=new A.Text;this.add(i),this.add(n),this.add(l),this.updateData(e,r,!0)}var s=p.prototype;s.updateData=function(e,r,i){var n=this.childAt(0),l=this.childAt(1),t=this.childAt(2),a=e.hostModel,c=e.getItemModel(r),h=e.getItemLayout(r),f=w.extend({},h);f.label=null;var g=a.getShallow("animationTypeUpdate");if(i){n.setShape(f);var S=a.getShallow("animationType");S==="scale"?(n.shape.r=h.r0,A.initProps(n,{shape:{r:h.r}},a,r)):(n.shape.endAngle=h.startAngle,A.updateProps(n,{shape:{endAngle:h.endAngle}},a,r))}else g==="expansion"?n.setShape(f):A.updateProps(n,{shape:f},a,r);var y=e.getItemVisual(r,"color");n.useStyle(w.defaults({lineJoin:"bevel",fill:y},c.getModel("itemStyle").getItemStyle())),n.hoverStyle=c.getModel("emphasis.itemStyle").getItemStyle();var E=c.getShallow("cursor");E&&n.attr("cursor",E),v(this,e.getItemLayout(r),a.isSelected(e.getName(r)),a.get("selectedOffset"),a.get("animation"));var C=!i&&g==="transition";this._updateLabel(e,r,C),this.highDownOnUpdate=a.get("silent")?null:function(T,x){var _=a.isAnimationEnabled()&&c.get("hoverAnimation");x==="emphasis"?(l.ignore=l.hoverIgnore,t.ignore=t.hoverIgnore,_&&(n.stopAnimation(!0),n.animateTo({shape:{r:h.r+a.get("hoverOffset")}},300,"elasticOut"))):(l.ignore=l.normalIgnore,t.ignore=t.normalIgnore,_&&(n.stopAnimation(!0),n.animateTo({shape:{r:h.r}},300,"elasticOut")))},A.setHoverStyle(this)},s._updateLabel=function(e,r,i){var n=this.childAt(1),l=this.childAt(2),t=e.hostModel,a=e.getItemModel(r),c=e.getItemLayout(r),h=c.label,f=e.getItemVisual(r,"color");if(!h||isNaN(h.x)||isNaN(h.y)){l.ignore=l.normalIgnore=l.hoverIgnore=n.ignore=n.normalIgnore=n.hoverIgnore=!0;return}var g={points:h.linePoints||[[h.x,h.y],[h.x,h.y],[h.x,h.y]]},S={x:h.x,y:h.y};i?(A.updateProps(n,{shape:g},t,r),A.updateProps(l,{style:S},t,r)):(n.attr({shape:g}),l.attr({style:S})),l.attr({rotation:h.rotation,origin:[h.x,h.y],z2:10});var y=a.getModel("label"),E=a.getModel("emphasis.label"),C=a.getModel("labelLine"),T=a.getModel("emphasis.labelLine"),f=e.getItemVisual(r,"color");A.setLabelStyle(l.style,l.hoverStyle={},y,E,{labelFetcher:e.hostModel,labelDataIndex:r,defaultText:h.text,autoColor:f,useInsideStyle:!!h.inside},{textAlign:h.textAlign,textVerticalAlign:h.verticalAlign,opacity:e.getItemVisual(r,"opacity")}),l.ignore=l.normalIgnore=!y.get("show"),l.hoverIgnore=!E.get("show"),n.ignore=n.normalIgnore=!C.get("show"),n.hoverIgnore=!T.get("show"),n.setStyle({stroke:f,opacity:e.getItemVisual(r,"opacity")}),n.setStyle(C.getModel("lineStyle").getLineStyle()),n.hoverStyle=T.getModel("lineStyle").getLineStyle();var x=C.get("smooth");x&&x===!0&&(x=.4),n.setShape({smooth:x})},w.inherits(p,A.Group);var u=b.extend({type:"pie",init:function(){var e=new A.Group;this._sectorGroup=e},render:function(e,r,i,n){if(n&&n.from===this.uid)return;var l=e.getData(),t=this._data,a=this.group,c=r.get("animation"),h=!t,f=e.get("animationType"),g=e.get("animationTypeUpdate"),S=w.curry(m,this.uid,e,c,i),y=e.get("selectedMode");if(l.diff(t).add(function(_){var I=new p(l,_);h&&f!=="scale"&&I.eachChild(function(L){L.stopAnimation(!0)}),y&&I.on("click",S),l.setItemGraphicEl(_,I),a.add(I)}).update(function(_,I){var L=t.getItemGraphicEl(I);!h&&g!=="transition"&&L.eachChild(function(D){D.stopAnimation(!0)}),L.updateData(l,_),L.off("click"),y&&L.on("click",S),a.add(L),l.setItemGraphicEl(_,L)}).remove(function(_){var I=t.getItemGraphicEl(_);a.remove(I)}).execute(),c&&l.count()>0&&(h?f!=="scale":g!=="transition")){for(var E=l.getItemLayout(0),C=1;isNaN(E.startAngle)&&C<l.count();++C)E=l.getItemLayout(C);var T=Math.max(i.getWidth(),i.getHeight())/2,x=w.bind(a.removeClipPath,a);a.setClipPath(this._createClipPath(E.cx,E.cy,T,E.startAngle,E.clockwise,x,e,h))}else a.removeClipPath();this._data=l},dispose:function(){},_createClipPath:function(e,r,i,n,l,t,a,c){var h=new A.Sector({shape:{cx:e,cy:r,r0:0,r:i,startAngle:n,endAngle:n,clockwise:l}}),f=c?A.initProps:A.updateProps;return f(h,{shape:{endAngle:n+(l?1:-1)*Math.PI*2}},a,t),h},containPoint:function(e,r){var i=r.getData(),n=i.getItemLayout(0);if(n){var l=e[0]-n.cx,t=e[1]-n.cy,a=Math.sqrt(l*l+t*t);return a<=n.r&&a>=n.r0}}}),o=u;M.exports=o},Gytx:function(M,P){M.exports=function(w,A,b,m){var v=b?b.call(m,w,A):void 0;if(v!==void 0)return!!v;if(w===A)return!0;if(typeof w!="object"||!w||typeof A!="object"||!A)return!1;var p=Object.keys(w),s=Object.keys(A);if(p.length!==s.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(A),o=0;o<p.length;o++){var e=p[o];if(!u(e))return!1;var r=w[e],i=A[e];if(v=b?b.call(m,r,i,e):void 0,v===!1||v===void 0&&r!==i)return!1}return!0}},H6uX:function(M,P){var d=Array.prototype.slice,w=function(p){this._$handlers={},this._$eventProcessor=p};w.prototype={constructor:w,one:function(p,s,u,o){return b(this,p,s,u,o,!0)},on:function(p,s,u,o){return b(this,p,s,u,o,!1)},isSilent:function(p){var s=this._$handlers;return!s[p]||!s[p].length},off:function(p,s){var u=this._$handlers;if(!p)return this._$handlers={},this;if(s){if(u[p]){for(var o=[],e=0,r=u[p].length;e<r;e++)u[p][e].h!==s&&o.push(u[p][e]);u[p]=o}u[p]&&u[p].length===0&&delete u[p]}else delete u[p];return this},trigger:function(p){var s=this._$handlers[p],u=this._$eventProcessor;if(s){var o=arguments,e=o.length;e>3&&(o=d.call(o,1));for(var r=s.length,i=0;i<r;){var n=s[i];if(u&&u.filter&&n.query!=null&&!u.filter(p,n.query)){i++;continue}switch(e){case 1:n.h.call(n.ctx);break;case 2:n.h.call(n.ctx,o[1]);break;case 3:n.h.call(n.ctx,o[1],o[2]);break;default:n.h.apply(n.ctx,o);break}n.one?(s.splice(i,1),r--):i++}}return u&&u.afterTrigger&&u.afterTrigger(p),this},triggerWithContext:function(p){var s=this._$handlers[p],u=this._$eventProcessor;if(s){var o=arguments,e=o.length;e>4&&(o=d.call(o,1,o.length-1));for(var r=o[o.length-1],i=s.length,n=0;n<i;){var l=s[n];if(u&&u.filter&&l.query!=null&&!u.filter(p,l.query)){n++;continue}switch(e){case 1:l.h.call(r);break;case 2:l.h.call(r,o[1]);break;case 3:l.h.call(r,o[1],o[2]);break;default:l.h.apply(r,o);break}l.one?(s.splice(n,1),i--):n++}}return u&&u.afterTrigger&&u.afterTrigger(p),this}};function A(v,p){var s=v._$eventProcessor;return p!=null&&s&&s.normalizeQuery&&(p=s.normalizeQuery(p)),p}function b(v,p,s,u,o,e){var r=v._$handlers;if(typeof s=="function"&&(o=u,u=s,s=null),!u||!p)return v;s=A(v,s),r[p]||(r[p]=[]);for(var i=0;i<r[p].length;i++)if(r[p][i].h===u)return v;var n={h:u,one:e,query:s,ctx:o||v,callAtLast:u.zrEventfulCallAtLast},l=r[p].length-1,t=r[p][l];return t&&t.callAtLast?r[p].splice(l,0,n):r[p].push(n),v}var m=w;M.exports=m},H7XF:function(M,P,d){"use strict";P.byteLength=u,P.toByteArray=e,P.fromByteArray=n;for(var w=[],A=[],b=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,p=m.length;v<p;++v)w[v]=m[v],A[m.charCodeAt(v)]=v;A["-".charCodeAt(0)]=62,A["_".charCodeAt(0)]=63;function s(l){var t=l.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var a=l.indexOf("=");a===-1&&(a=t);var c=a===t?0:4-a%4;return[a,c]}function u(l){var t=s(l),a=t[0],c=t[1];return(a+c)*3/4-c}function o(l,t,a){return(t+a)*3/4-a}function e(l){var t,a=s(l),c=a[0],h=a[1],f=new b(o(l,c,h)),g=0,S=h>0?c-4:c,y;for(y=0;y<S;y+=4)t=A[l.charCodeAt(y)]<<18|A[l.charCodeAt(y+1)]<<12|A[l.charCodeAt(y+2)]<<6|A[l.charCodeAt(y+3)],f[g++]=t>>16&255,f[g++]=t>>8&255,f[g++]=t&255;return h===2&&(t=A[l.charCodeAt(y)]<<2|A[l.charCodeAt(y+1)]>>4,f[g++]=t&255),h===1&&(t=A[l.charCodeAt(y)]<<10|A[l.charCodeAt(y+1)]<<4|A[l.charCodeAt(y+2)]>>2,f[g++]=t>>8&255,f[g++]=t&255),f}function r(l){return w[l>>18&63]+w[l>>12&63]+w[l>>6&63]+w[l&63]}function i(l,t,a){for(var c,h=[],f=t;f<a;f+=3)c=(l[f]<<16&16711680)+(l[f+1]<<8&65280)+(l[f+2]&255),h.push(r(c));return h.join("")}function n(l){for(var t,a=l.length,c=a%3,h=[],f=16383,g=0,S=a-c;g<S;g+=f)h.push(i(l,g,g+f>S?S:g+f));return c===1?(t=l[a-1],h.push(w[t>>2]+w[t<<4&63]+"==")):c===2&&(t=(l[a-2]<<8)+l[a-1],h.push(w[t>>10]+w[t>>4&63]+w[t<<2&63]+"=")),h.join("")}},HDXh:function(M,P,d){"use strict";(function(w){/*!
|
|
|
* The buffer module from node.js, for the browser.
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
|
* @license MIT
|
|
|
*/var A=d("H7XF"),b=d("kVK+"),m=d("49sm");P.Buffer=u,P.SlowBuffer=h,P.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=w.TYPED_ARRAY_SUPPORT!==void 0?w.TYPED_ARRAY_SUPPORT:v(),P.kMaxLength=p();function v(){try{var te=new Uint8Array(1);return te.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},te.foo()===42&&typeof te.subarray=="function"&&te.subarray(1,1).byteLength===0}catch(X){return!1}}function p(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(te,X){if(p()<X)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(te=new Uint8Array(X),te.__proto__=u.prototype):(te===null&&(te=new u(X)),te.length=X),te}function u(te,X,z){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(te,X,z);if(typeof te=="number"){if(typeof X=="string")throw new Error("If encoding is specified then the first argument must be a string");return i(this,te)}return o(this,te,X,z)}u.poolSize=8192,u._augment=function(te){return te.__proto__=u.prototype,te};function o(te,X,z,Z){if(typeof X=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&X instanceof ArrayBuffer?t(te,X,z,Z):typeof X=="string"?n(te,X,z):a(te,X)}u.from=function(te,X,z){return o(null,te,X,z)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0}));function e(te){if(typeof te!="number")throw new TypeError('"size" argument must be a number');if(te<0)throw new RangeError('"size" argument must not be negative')}function r(te,X,z,Z){return e(X),X<=0?s(te,X):z!==void 0?typeof Z=="string"?s(te,X).fill(z,Z):s(te,X).fill(z):s(te,X)}u.alloc=function(te,X,z){return r(null,te,X,z)};function i(te,X){if(e(X),te=s(te,X<0?0:c(X)|0),!u.TYPED_ARRAY_SUPPORT)for(var z=0;z<X;++z)te[z]=0;return te}u.allocUnsafe=function(te){return i(null,te)},u.allocUnsafeSlow=function(te){return i(null,te)};function n(te,X,z){if((typeof z!="string"||z==="")&&(z="utf8"),!u.isEncoding(z))throw new TypeError('"encoding" must be a valid string encoding');var Z=f(X,z)|0;te=s(te,Z);var be=te.write(X,z);return be!==Z&&(te=te.slice(0,be)),te}function l(te,X){var z=X.length<0?0:c(X.length)|0;te=s(te,z);for(var Z=0;Z<z;Z+=1)te[Z]=X[Z]&255;return te}function t(te,X,z,Z){if(X.byteLength,z<0||X.byteLength<z)throw new RangeError("'offset' is out of bounds");if(X.byteLength<z+(Z||0))throw new RangeError("'length' is out of bounds");return z===void 0&&Z===void 0?X=new Uint8Array(X):Z===void 0?X=new Uint8Array(X,z):X=new Uint8Array(X,z,Z),u.TYPED_ARRAY_SUPPORT?(te=X,te.__proto__=u.prototype):te=l(te,X),te}function a(te,X){if(u.isBuffer(X)){var z=c(X.length)|0;return te=s(te,z),te.length===0||X.copy(te,0,0,z),te}if(X){if(typeof ArrayBuffer!="undefined"&&X.buffer instanceof ArrayBuffer||"length"in X)return typeof X.length!="number"||We(X.length)?s(te,0):l(te,X);if(X.type==="Buffer"&&m(X.data))return l(te,X.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function c(te){if(te>=p())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p().toString(16)+" bytes");return te|0}function h(te){return+te!=te&&(te=0),u.alloc(+te)}u.isBuffer=function(X){return!!(X!=null&&X._isBuffer)},u.compare=function(X,z){if(!u.isBuffer(X)||!u.isBuffer(z))throw new TypeError("Arguments must be Buffers");if(X===z)return 0;for(var Z=X.length,be=z.length,ne=0,Ae=Math.min(Z,be);ne<Ae;++ne)if(X[ne]!==z[ne]){Z=X[ne],be=z[ne];break}return Z<be?-1:be<Z?1:0},u.isEncoding=function(X){switch(String(X).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(X,z){if(!m(X))throw new TypeError('"list" argument must be an Array of Buffers');if(X.length===0)return u.alloc(0);var Z;if(z===void 0)for(z=0,Z=0;Z<X.length;++Z)z+=X[Z].length;var be=u.allocUnsafe(z),ne=0;for(Z=0;Z<X.length;++Z){var Ae=X[Z];if(!u.isBuffer(Ae))throw new TypeError('"list" argument must be an Array of Buffers');Ae.copy(be,ne),ne+=Ae.length}return be};function f(te,X){if(u.isBuffer(te))return te.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(te)||te instanceof ArrayBuffer))return te.byteLength;typeof te!="string"&&(te=""+te);var z=te.length;if(z===0)return 0;for(var Z=!1;;)switch(X){case"ascii":case"latin1":case"binary":return z;case"utf8":case"utf-8":case void 0:return Se(te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z*2;case"hex":return z>>>1;case"base64":return G(te).length;default:if(Z)return Se(te).length;X=(""+X).toLowerCase(),Z=!0}}u.byteLength=f;function g(te,X,z){var Z=!1;if((X===void 0||X<0)&&(X=0),X>this.length)return"";if((z===void 0||z>this.length)&&(z=this.length),z<=0)return"";if(z>>>=0,X>>>=0,z<=X)return"";for(te||(te="utf8");;)switch(te){case"hex":return j(this,X,z);case"utf8":case"utf-8":return B(this,X,z);case"ascii":return W(this,X,z);case"latin1":case"binary":return R(this,X,z);case"base64":return D(this,X,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,X,z);default:if(Z)throw new TypeError("Unknown encoding: "+te);te=(te+"").toLowerCase(),Z=!0}}u.prototype._isBuffer=!0;function S(te,X,z){var Z=te[X];te[X]=te[z],te[z]=Z}u.prototype.swap16=function(){var X=this.length;if(X%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var z=0;z<X;z+=2)S(this,z,z+1);return this},u.prototype.swap32=function(){var X=this.length;if(X%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var z=0;z<X;z+=4)S(this,z,z+3),S(this,z+1,z+2);return this},u.prototype.swap64=function(){var X=this.length;if(X%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var z=0;z<X;z+=8)S(this,z,z+7),S(this,z+1,z+6),S(this,z+2,z+5),S(this,z+3,z+4);return this},u.prototype.toString=function(){var X=this.length|0;return X===0?"":arguments.length===0?B(this,0,X):g.apply(this,arguments)},u.prototype.equals=function(X){if(!u.isBuffer(X))throw new TypeError("Argument must be a Buffer");return this===X?!0:u.compare(this,X)===0},u.prototype.inspect=function(){var X="",z=P.INSPECT_MAX_BYTES;return this.length>0&&(X=this.toString("hex",0,z).match(/.{2}/g).join(" "),this.length>z&&(X+=" ... ")),"<Buffer "+X+">"},u.prototype.compare=function(X,z,Z,be,ne){if(!u.isBuffer(X))throw new TypeError("Argument must be a Buffer");if(z===void 0&&(z=0),Z===void 0&&(Z=X?X.length:0),be===void 0&&(be=0),ne===void 0&&(ne=this.length),z<0||Z>X.length||be<0||ne>this.length)throw new RangeError("out of range index");if(be>=ne&&z>=Z)return 0;if(be>=ne)return-1;if(z>=Z)return 1;if(z>>>=0,Z>>>=0,be>>>=0,ne>>>=0,this===X)return 0;for(var Ae=ne-be,Ne=Z-z,oe=Math.min(Ae,Ne),de=this.slice(be,ne),xe=X.slice(z,Z),Pe=0;Pe<oe;++Pe)if(de[Pe]!==xe[Pe]){Ae=de[Pe],Ne=xe[Pe];break}return Ae<Ne?-1:Ne<Ae?1:0};function y(te,X,z,Z,be){if(te.length===0)return-1;if(typeof z=="string"?(Z=z,z=0):z>2147483647?z=2147483647:z<-2147483648&&(z=-2147483648),z=+z,isNaN(z)&&(z=be?0:te.length-1),z<0&&(z=te.length+z),z>=te.length){if(be)return-1;z=te.length-1}else if(z<0)if(be)z=0;else return-1;if(typeof X=="string"&&(X=u.from(X,Z)),u.isBuffer(X))return X.length===0?-1:E(te,X,z,Z,be);if(typeof X=="number")return X=X&255,u.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?be?Uint8Array.prototype.indexOf.call(te,X,z):Uint8Array.prototype.lastIndexOf.call(te,X,z):E(te,[X],z,Z,be);throw new TypeError("val must be string, number or Buffer")}function E(te,X,z,Z,be){var ne=1,Ae=te.length,Ne=X.length;if(Z!==void 0&&(Z=String(Z).toLowerCase(),Z==="ucs2"||Z==="ucs-2"||Z==="utf16le"||Z==="utf-16le")){if(te.length<2||X.length<2)return-1;ne=2,Ae/=2,Ne/=2,z/=2}function oe(Je,Oe){return ne===1?Je[Oe]:Je.readUInt16BE(Oe*ne)}var de;if(be){var xe=-1;for(de=z;de<Ae;de++)if(oe(te,de)===oe(X,xe===-1?0:de-xe)){if(xe===-1&&(xe=de),de-xe+1===Ne)return xe*ne}else xe!==-1&&(de-=de-xe),xe=-1}else for(z+Ne>Ae&&(z=Ae-Ne),de=z;de>=0;de--){for(var Pe=!0,tt=0;tt<Ne;tt++)if(oe(te,de+tt)!==oe(X,tt)){Pe=!1;break}if(Pe)return de}return-1}u.prototype.includes=function(X,z,Z){return this.indexOf(X,z,Z)!==-1},u.prototype.indexOf=function(X,z,Z){return y(this,X,z,Z,!0)},u.prototype.lastIndexOf=function(X,z,Z){return y(this,X,z,Z,!1)};function C(te,X,z,Z){z=Number(z)||0;var be=te.length-z;Z?(Z=Number(Z),Z>be&&(Z=be)):Z=be;var ne=X.length;if(ne%2!==0)throw new TypeError("Invalid hex string");Z>ne/2&&(Z=ne/2);for(var Ae=0;Ae<Z;++Ae){var Ne=parseInt(X.substr(Ae*2,2),16);if(isNaN(Ne))return Ae;te[z+Ae]=Ne}return Ae}function T(te,X,z,Z){return pe(Se(X,te.length-z),te,z,Z)}function x(te,X,z,Z){return pe(Le(X),te,z,Z)}function _(te,X,z,Z){return x(te,X,z,Z)}function I(te,X,z,Z){return pe(G(X),te,z,Z)}function L(te,X,z,Z){return pe(He(X,te.length-z),te,z,Z)}u.prototype.write=function(X,z,Z,be){if(z===void 0)be="utf8",Z=this.length,z=0;else if(Z===void 0&&typeof z=="string")be=z,Z=this.length,z=0;else if(isFinite(z))z=z|0,isFinite(Z)?(Z=Z|0,be===void 0&&(be="utf8")):(be=Z,Z=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ne=this.length-z;if((Z===void 0||Z>ne)&&(Z=ne),X.length>0&&(Z<0||z<0)||z>this.length)throw new RangeError("Attempt to write outside buffer bounds");be||(be="utf8");for(var Ae=!1;;)switch(be){case"hex":return C(this,X,z,Z);case"utf8":case"utf-8":return T(this,X,z,Z);case"ascii":return x(this,X,z,Z);case"latin1":case"binary":return _(this,X,z,Z);case"base64":return I(this,X,z,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,X,z,Z);default:if(Ae)throw new TypeError("Unknown encoding: "+be);be=(""+be).toLowerCase(),Ae=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function D(te,X,z){return X===0&&z===te.length?A.fromByteArray(te):A.fromByteArray(te.slice(X,z))}function B(te,X,z){z=Math.min(te.length,z);for(var Z=[],be=X;be<z;){var ne=te[be],Ae=null,Ne=ne>239?4:ne>223?3:ne>191?2:1;if(be+Ne<=z){var oe,de,xe,Pe;switch(Ne){case 1:ne<128&&(Ae=ne);break;case 2:oe=te[be+1],(oe&192)===128&&(Pe=(ne&31)<<6|oe&63,Pe>127&&(Ae=Pe));break;case 3:oe=te[be+1],de=te[be+2],(oe&192)===128&&(de&192)===128&&(Pe=(ne&15)<<12|(oe&63)<<6|de&63,Pe>2047&&(Pe<55296||Pe>57343)&&(Ae=Pe));break;case 4:oe=te[be+1],de=te[be+2],xe=te[be+3],(oe&192)===128&&(de&192)===128&&(xe&192)===128&&(Pe=(ne&15)<<18|(oe&63)<<12|(de&63)<<6|xe&63,Pe>65535&&Pe<1114112&&(Ae=Pe))}}Ae===null?(Ae=65533,Ne=1):Ae>65535&&(Ae-=65536,Z.push(Ae>>>10&1023|55296),Ae=56320|Ae&1023),Z.push(Ae),be+=Ne}return k(Z)}var N=4096;function k(te){var X=te.length;if(X<=N)return String.fromCharCode.apply(String,te);for(var z="",Z=0;Z<X;)z+=String.fromCharCode.apply(String,te.slice(Z,Z+=N));return z}function W(te,X,z){var Z="";z=Math.min(te.length,z);for(var be=X;be<z;++be)Z+=String.fromCharCode(te[be]&127);return Z}function R(te,X,z){var Z="";z=Math.min(te.length,z);for(var be=X;be<z;++be)Z+=String.fromCharCode(te[be]);return Z}function j(te,X,z){var Z=te.length;(!X||X<0)&&(X=0),(!z||z<0||z>Z)&&(z=Z);for(var be="",ne=X;ne<z;++ne)be+=Ie(te[ne]);return be}function H(te,X,z){for(var Z=te.slice(X,z),be="",ne=0;ne<Z.length;ne+=2)be+=String.fromCharCode(Z[ne]+Z[ne+1]*256);return be}u.prototype.slice=function(X,z){var Z=this.length;X=~~X,z=z===void 0?Z:~~z,X<0?(X+=Z,X<0&&(X=0)):X>Z&&(X=Z),z<0?(z+=Z,z<0&&(z=0)):z>Z&&(z=Z),z<X&&(z=X);var be;if(u.TYPED_ARRAY_SUPPORT)be=this.subarray(X,z),be.__proto__=u.prototype;else{var ne=z-X;be=new u(ne,void 0);for(var Ae=0;Ae<ne;++Ae)be[Ae]=this[Ae+X]}return be};function K(te,X,z){if(te%1!==0||te<0)throw new RangeError("offset is not uint");if(te+X>z)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUIntLE=function(X,z,Z){X=X|0,z=z|0,Z||K(X,z,this.length);for(var be=this[X],ne=1,Ae=0;++Ae<z&&(ne*=256);)be+=this[X+Ae]*ne;return be},u.prototype.readUIntBE=function(X,z,Z){X=X|0,z=z|0,Z||K(X,z,this.length);for(var be=this[X+--z],ne=1;z>0&&(ne*=256);)be+=this[X+--z]*ne;return be},u.prototype.readUInt8=function(X,z){return z||K(X,1,this.length),this[X]},u.prototype.readUInt16LE=function(X,z){return z||K(X,2,this.length),this[X]|this[X+1]<<8},u.prototype.readUInt16BE=function(X,z){return z||K(X,2,this.length),this[X]<<8|this[X+1]},u.prototype.readUInt32LE=function(X,z){return z||K(X,4,this.length),(this[X]|this[X+1]<<8|this[X+2]<<16)+this[X+3]*16777216},u.prototype.readUInt32BE=function(X,z){return z||K(X,4,this.length),this[X]*16777216+(this[X+1]<<16|this[X+2]<<8|this[X+3])},u.prototype.readIntLE=function(X,z,Z){X=X|0,z=z|0,Z||K(X,z,this.length);for(var be=this[X],ne=1,Ae=0;++Ae<z&&(ne*=256);)be+=this[X+Ae]*ne;return ne*=128,be>=ne&&(be-=Math.pow(2,8*z)),be},u.prototype.readIntBE=function(X,z,Z){X=X|0,z=z|0,Z||K(X,z,this.length);for(var be=z,ne=1,Ae=this[X+--be];be>0&&(ne*=256);)Ae+=this[X+--be]*ne;return ne*=128,Ae>=ne&&(Ae-=Math.pow(2,8*z)),Ae},u.prototype.readInt8=function(X,z){return z||K(X,1,this.length),this[X]&128?(255-this[X]+1)*-1:this[X]},u.prototype.readInt16LE=function(X,z){z||K(X,2,this.length);var Z=this[X]|this[X+1]<<8;return Z&32768?Z|4294901760:Z},u.prototype.readInt16BE=function(X,z){z||K(X,2,this.length);var Z=this[X+1]|this[X]<<8;return Z&32768?Z|4294901760:Z},u.prototype.readInt32LE=function(X,z){return z||K(X,4,this.length),this[X]|this[X+1]<<8|this[X+2]<<16|this[X+3]<<24},u.prototype.readInt32BE=function(X,z){return z||K(X,4,this.length),this[X]<<24|this[X+1]<<16|this[X+2]<<8|this[X+3]},u.prototype.readFloatLE=function(X,z){return z||K(X,4,this.length),b.read(this,X,!0,23,4)},u.prototype.readFloatBE=function(X,z){return z||K(X,4,this.length),b.read(this,X,!1,23,4)},u.prototype.readDoubleLE=function(X,z){return z||K(X,8,this.length),b.read(this,X,!0,52,8)},u.prototype.readDoubleBE=function(X,z){return z||K(X,8,this.length),b.read(this,X,!1,52,8)};function U(te,X,z,Z,be,ne){if(!u.isBuffer(te))throw new TypeError('"buffer" argument must be a Buffer instance');if(X>be||X<ne)throw new RangeError('"value" argument is out of bounds');if(z+Z>te.length)throw new RangeError("Index out of range")}u.prototype.writeUIntLE=function(X,z,Z,be){if(X=+X,z=z|0,Z=Z|0,!be){var ne=Math.pow(2,8*Z)-1;U(this,X,z,Z,ne,0)}var Ae=1,Ne=0;for(this[z]=X&255;++Ne<Z&&(Ae*=256);)this[z+Ne]=X/Ae&255;return z+Z},u.prototype.writeUIntBE=function(X,z,Z,be){if(X=+X,z=z|0,Z=Z|0,!be){var ne=Math.pow(2,8*Z)-1;U(this,X,z,Z,ne,0)}var Ae=Z-1,Ne=1;for(this[z+Ae]=X&255;--Ae>=0&&(Ne*=256);)this[z+Ae]=X/Ne&255;return z+Z},u.prototype.writeUInt8=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,1,255,0),u.TYPED_ARRAY_SUPPORT||(X=Math.floor(X)),this[z]=X&255,z+1};function Q(te,X,z,Z){X<0&&(X=65535+X+1);for(var be=0,ne=Math.min(te.length-z,2);be<ne;++be)te[z+be]=(X&255<<8*(Z?be:1-be))>>>(Z?be:1-be)*8}u.prototype.writeUInt16LE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[z]=X&255,this[z+1]=X>>>8):Q(this,X,z,!0),z+2},u.prototype.writeUInt16BE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[z]=X>>>8,this[z+1]=X&255):Q(this,X,z,!1),z+2};function V(te,X,z,Z){X<0&&(X=4294967295+X+1);for(var be=0,ne=Math.min(te.length-z,4);be<ne;++be)te[z+be]=X>>>(Z?be:3-be)*8&255}u.prototype.writeUInt32LE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[z+3]=X>>>24,this[z+2]=X>>>16,this[z+1]=X>>>8,this[z]=X&255):V(this,X,z,!0),z+4},u.prototype.writeUInt32BE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[z]=X>>>24,this[z+1]=X>>>16,this[z+2]=X>>>8,this[z+3]=X&255):V(this,X,z,!1),z+4},u.prototype.writeIntLE=function(X,z,Z,be){if(X=+X,z=z|0,!be){var ne=Math.pow(2,8*Z-1);U(this,X,z,Z,ne-1,-ne)}var Ae=0,Ne=1,oe=0;for(this[z]=X&255;++Ae<Z&&(Ne*=256);)X<0&&oe===0&&this[z+Ae-1]!==0&&(oe=1),this[z+Ae]=(X/Ne>>0)-oe&255;return z+Z},u.prototype.writeIntBE=function(X,z,Z,be){if(X=+X,z=z|0,!be){var ne=Math.pow(2,8*Z-1);U(this,X,z,Z,ne-1,-ne)}var Ae=Z-1,Ne=1,oe=0;for(this[z+Ae]=X&255;--Ae>=0&&(Ne*=256);)X<0&&oe===0&&this[z+Ae+1]!==0&&(oe=1),this[z+Ae]=(X/Ne>>0)-oe&255;return z+Z},u.prototype.writeInt8=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,1,127,-128),u.TYPED_ARRAY_SUPPORT||(X=Math.floor(X)),X<0&&(X=255+X+1),this[z]=X&255,z+1},u.prototype.writeInt16LE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[z]=X&255,this[z+1]=X>>>8):Q(this,X,z,!0),z+2},u.prototype.writeInt16BE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[z]=X>>>8,this[z+1]=X&255):Q(this,X,z,!1),z+2},u.prototype.writeInt32LE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[z]=X&255,this[z+1]=X>>>8,this[z+2]=X>>>16,this[z+3]=X>>>24):V(this,X,z,!0),z+4},u.prototype.writeInt32BE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,4,2147483647,-2147483648),X<0&&(X=4294967295+X+1),u.TYPED_ARRAY_SUPPORT?(this[z]=X>>>24,this[z+1]=X>>>16,this[z+2]=X>>>8,this[z+3]=X&255):V(this,X,z,!1),z+4};function J(te,X,z,Z,be,ne){if(z+Z>te.length)throw new RangeError("Index out of range");if(z<0)throw new RangeError("Index out of range")}function ae(te,X,z,Z,be){return be||J(te,X,z,4,34028234663852886e22,-34028234663852886e22),b.write(te,X,z,Z,23,4),z+4}u.prototype.writeFloatLE=function(X,z,Z){return ae(this,X,z,!0,Z)},u.prototype.writeFloatBE=function(X,z,Z){return ae(this,X,z,!1,Z)};function se(te,X,z,Z,be){return be||J(te,X,z,8,17976931348623157e292,-17976931348623157e292),b.write(te,X,z,Z,52,8),z+8}u.prototype.writeDoubleLE=function(X,z,Z){return se(this,X,z,!0,Z)},u.prototype.writeDoubleBE=function(X,z,Z){return se(this,X,z,!1,Z)},u.prototype.copy=function(X,z,Z,be){if(Z||(Z=0),!be&&be!==0&&(be=this.length),z>=X.length&&(z=X.length),z||(z=0),be>0&&be<Z&&(be=Z),be===Z)return 0;if(X.length===0||this.length===0)return 0;if(z<0)throw new RangeError("targetStart out of bounds");if(Z<0||Z>=this.length)throw new RangeError("sourceStart out of bounds");if(be<0)throw new RangeError("sourceEnd out of bounds");be>this.length&&(be=this.length),X.length-z<be-Z&&(be=X.length-z+Z);var ne=be-Z,Ae;if(this===X&&Z<z&&z<be)for(Ae=ne-1;Ae>=0;--Ae)X[Ae+z]=this[Ae+Z];else if(ne<1e3||!u.TYPED_ARRAY_SUPPORT)for(Ae=0;Ae<ne;++Ae)X[Ae+z]=this[Ae+Z];else Uint8Array.prototype.set.call(X,this.subarray(Z,Z+ne),z);return ne},u.prototype.fill=function(X,z,Z,be){if(typeof X=="string"){if(typeof z=="string"?(be=z,z=0,Z=this.length):typeof Z=="string"&&(be=Z,Z=this.length),X.length===1){var ne=X.charCodeAt(0);ne<256&&(X=ne)}if(be!==void 0&&typeof be!="string")throw new TypeError("encoding must be a string");if(typeof be=="string"&&!u.isEncoding(be))throw new TypeError("Unknown encoding: "+be)}else typeof X=="number"&&(X=X&255);if(z<0||this.length<z||this.length<Z)throw new RangeError("Out of range index");if(Z<=z)return this;z=z>>>0,Z=Z===void 0?this.length:Z>>>0,X||(X=0);var Ae;if(typeof X=="number")for(Ae=z;Ae<Z;++Ae)this[Ae]=X;else{var Ne=u.isBuffer(X)?X:Se(new u(X,be).toString()),oe=Ne.length;for(Ae=0;Ae<Z-z;++Ae)this[Ae+z]=Ne[Ae%oe]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function ge(te){if(te=he(te).replace($,""),te.length<2)return"";for(;te.length%4!==0;)te=te+"=";return te}function he(te){return te.trim?te.trim():te.replace(/^\s+|\s+$/g,"")}function Ie(te){return te<16?"0"+te.toString(16):te.toString(16)}function Se(te,X){X=X||Infinity;for(var z,Z=te.length,be=null,ne=[],Ae=0;Ae<Z;++Ae){if(z=te.charCodeAt(Ae),z>55295&&z<57344){if(!be){if(z>56319){(X-=3)>-1&&ne.push(239,191,189);continue}else if(Ae+1===Z){(X-=3)>-1&&ne.push(239,191,189);continue}be=z;continue}if(z<56320){(X-=3)>-1&&ne.push(239,191,189),be=z;continue}z=(be-55296<<10|z-56320)+65536}else be&&((X-=3)>-1&&ne.push(239,191,189));if(be=null,z<128){if((X-=1)<0)break;ne.push(z)}else if(z<2048){if((X-=2)<0)break;ne.push(z>>6|192,z&63|128)}else if(z<65536){if((X-=3)<0)break;ne.push(z>>12|224,z>>6&63|128,z&63|128)}else if(z<1114112){if((X-=4)<0)break;ne.push(z>>18|240,z>>12&63|128,z>>6&63|128,z&63|128)}else throw new Error("Invalid code point")}return ne}function Le(te){for(var X=[],z=0;z<te.length;++z)X.push(te.charCodeAt(z)&255);return X}function He(te,X){for(var z,Z,be,ne=[],Ae=0;Ae<te.length&&!((X-=2)<0);++Ae)z=te.charCodeAt(Ae),Z=z>>8,be=z%256,ne.push(be),ne.push(Z);return ne}function G(te){return A.toByteArray(ge(te))}function pe(te,X,z,Z){for(var be=0;be<Z&&!(be+z>=X.length||be>=te.length);++be)X[be+z]=te[be];return be}function We(te){return te!==te}}).call(this,d("yLpj"))},"HF/U":function(M,P,d){var w=d("QBsz");function A(m){var v=m.coordinateSystem;if(v&&v.type!=="view")return;var p=m.getGraph();p.eachNode(function(s){var u=s.getModel();s.setLayout([+u.get("x"),+u.get("y")])}),b(p)}function b(m){m.eachEdge(function(v){var p=v.getModel().get("lineStyle.curveness")||0,s=w.clone(v.node1.getLayout()),u=w.clone(v.node2.getLayout()),o=[s,u];+p&&o.push([(s[0]+u[0])/2-(s[1]-u[1])*p,(s[1]+u[1])/2-(u[0]-s[0])*p]),v.setLayout(o)})}P.simpleLayout=A,P.simpleLayoutEdge=b},"HM/N":function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=d("/SeX"),v=d("OELB"),p=v.parsePercent,s=d("aX7z"),u=s.createScaleByModel,o=s.niceScaleExtent,e=d("IDmD"),r=d("7hqr"),i=r.getStackedDimension;d("ePAk");function n(c,h,f){var g=h.get("center"),S=f.getWidth(),y=f.getHeight();c.cx=p(g[0],S),c.cy=p(g[1],y);var E=c.getRadiusAxis(),C=Math.min(S,y)/2,T=h.get("radius");T==null?T=[0,"100%"]:b.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 l(c,h){var f=this,g=f.getAngleAxis(),S=f.getRadiusAxis();if(g.scale.setExtent(Infinity,-Infinity),S.scale.setExtent(Infinity,-Infinity),c.eachSeries(function(C){if(C.coordinateSystem===f){var T=C.getData();b.each(T.mapDimension("radius",!0),function(x){S.scale.unionExtentFromData(T,i(T,x))}),b.each(T.mapDimension("angle",!0),function(x){g.scale.unionExtentFromData(T,i(T,x))})}}),o(g.scale,g.model),o(S.scale,S.model),g.type==="category"&&!g.onBand){var y=g.getExtent(),E=360/g.scale.count();g.inverse?y[1]+=E:y[1]-=E,g.setExtent(y[0],y[1])}}function t(c,h){if(c.type=h.get("type"),c.scale=u(h),c.onBand=h.get("boundaryGap")&&c.type==="category",c.inverse=h.get("inverse"),h.mainType==="angleAxis"){c.inverse^=h.get("clockwise");var f=h.get("startAngle");c.setExtent(f,f+(c.inverse?-360:360))}h.axis=c,c.model=h}var a={dimensions:m.prototype.dimensions,create:function(c,h){var f=[];return c.eachComponent("polar",function(g,S){var y=new m(S);y.update=l;var E=y.getRadiusAxis(),C=y.getAngleAxis(),T=g.findAxisModel("radiusAxis"),x=g.findAxisModel("angleAxis");t(E,T),t(C,x),n(y,g,h),f.push(y),g.coordinateSystem=y,y.model=g}),c.eachSeries(function(g){if(g.get("coordinateSystem")==="polar"){var S=c.queryComponents({mainType:"polar",index:g.get("polarIndex"),id:g.get("polarId")})[0];g.coordinateSystem=S.coordinateSystem}}),f}};e.register("polar",a)},HPLo:function(M,P,d){},HVO7:function(M,P,d){},HaWY:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("uBn0"),m=d.n(b)},HcM9:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("kRSg"),m=d.n(b)},HjIi:function(M,P,d){var w=d("bYtY"),A=d("OELB"),b=A.parsePercent,m=d("7hqr"),v=m.isDimensionStacked;function p(r){return r.get("stack")||"__ec_stack_"+r.seriesIndex}function s(r,i){return i.dim+r.model.componentIndex}function u(r,i,n){var l={},t=o(w.filter(i.getSeriesByType(r),function(a){return!i.isSeriesFiltered(a)&&a.coordinateSystem&&a.coordinateSystem.type==="polar"}));i.eachSeriesByType(r,function(a){if(a.coordinateSystem.type!=="polar")return;var c=a.getData(),h=a.coordinateSystem,f=h.getBaseAxis(),g=s(h,f),S=p(a),y=t[g][S],E=y.offset,C=y.width,T=h.getOtherAxis(f),x=a.coordinateSystem.cx,_=a.coordinateSystem.cy,I=a.get("barMinHeight")||0,L=a.get("barMinAngle")||0;l[S]=l[S]||[];for(var D=c.mapDimension(T.dim),B=c.mapDimension(f.dim),N=v(c,D),k=f.dim!=="radius"||!a.get("roundCap",!0),W=T.getExtent()[0],R=0,j=c.count();R<j;R++){var H=c.get(D,R),K=c.get(B,R),U=H>=0?"p":"n",Q=W;N&&(l[S][K]||(l[S][K]={p:W,n:W}),Q=l[S][K][U]);var V,J,ae,se;if(T.dim==="radius"){var $=T.dataToRadius(H)-W,ge=f.dataToAngle(K);Math.abs($)<I&&($=($<0?-1:1)*I),V=Q,J=Q+$,ae=ge-E,se=ae-C,N&&(l[S][K][U]=J)}else{var he=T.dataToAngle(H,k)-W,Ie=f.dataToRadius(K);Math.abs(he)<L&&(he=(he<0?-1:1)*L),V=Ie+E,J=V+C,ae=Q,se=Q+he,N&&(l[S][K][U]=se)}c.setItemLayout(R,{cx:x,cy:_,r0:V,r:J,startAngle:-ae*Math.PI/180,endAngle:-se*Math.PI/180})}},this)}function o(r,i){var n={};w.each(r,function(t,a){var c=t.getData(),h=t.coordinateSystem,f=h.getBaseAxis(),g=s(h,f),S=f.getExtent(),y=f.type==="category"?f.getBandWidth():Math.abs(S[1]-S[0])/c.count(),E=n[g]||{bandWidth:y,remainedWidth:y,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},C=E.stacks;n[g]=E;var T=p(t);C[T]||E.autoWidthCount++,C[T]=C[T]||{width:0,maxWidth:0};var x=b(t.get("barWidth"),y),_=b(t.get("barMaxWidth"),y),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 l={};return w.each(n,function(t,a){l[a]={};var c=t.stacks,h=t.bandWidth,f=b(t.categoryGap,h),g=b(t.gap,1),S=t.remainedWidth,y=t.autoWidthCount,E=(S-f)/(y+(y-1)*g);E=Math.max(E,0),w.each(c,function(_,I){var L=_.maxWidth;L&&L<E&&(L=Math.min(L,S),_.width&&(L=Math.min(L,_.width)),S-=L,_.width=L,y--)}),E=(S-f)/(y+(y-1)*g),E=Math.max(E,0);var C=0,T;w.each(c,function(_,I){_.width||(_.width=E),T=_,C+=_.width*(1+g)}),T&&(C-=T.width*g);var x=-C/2;w.each(c,function(_,I){l[a][I]=l[a][I]||{offset:x,width:_.width},x+=_.width*(1+g)})}),l}var e=u;M.exports=e},Hw7h:function(M,P,d){var w=d("y+Vt"),A=w.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(b,m){var v=Math.cos,p=Math.sin,s=m.r,u=m.width,o=m.angle,e=m.x-v(o)*u*(u>=s/3?1:2),r=m.y-p(o)*u*(u>=s/3?1:2);o=m.angle-Math.PI/2,b.moveTo(e,r),b.lineTo(m.x+v(o)*u,m.y+p(o)*u),b.lineTo(m.x+v(m.angle)*s,m.y+p(m.angle)*s),b.lineTo(m.x-v(o)*u,m.y-p(o)*u),b.lineTo(e,r);return}});M.exports=A},Hxpc:function(M,P,d){var w=d("bYtY"),A=d("4NO4"),b=d("bLfw"),m=d("Qxkt"),v=d("cCMj"),p=d("7uqq"),s=b.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(o){b.prototype.init.apply(this,arguments),A.defaultEmphasis(o,"label",["show"])},optionUpdated:function(){var o=this.option,e=this;o.regions=p.getFilledRegions(o.regions,o.map,o.nameMap),this._optionModelMap=w.reduce(o.regions||[],function(r,i){return i.name&&r.set(i.name,new m(i,e)),r},w.createHashMap()),this.updateSelectedMap(o.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(o){return this._optionModelMap.get(o)||new m(null,this,this.ecModel)},getFormattedLabel:function(o,e){var r=this.getRegionModel(o),i=r.get("label"+(e==="normal"?".":e+".")+"formatter"),n={name:o};if(typeof i=="function")return n.status=e,i(n);if(typeof i=="string")return i.replace("{a}",o!=null?o:"")},setZoom:function(o){this.option.zoom=o},setCenter:function(o){this.option.center=o}});w.mixin(s,v);var u=s;M.exports=u},"I+77":function(M,P,d){var w=d("ProS");d("h54F"),d("lwQL"),d("10cm");var A=d("Z1r0"),b=d("f5Yq"),m=d("KUOm"),v=d("3m61"),p=d("01d+"),s=d("rdor"),u=d("WGYa"),o=d("ewwo");w.registerProcessor(A),w.registerVisual(b("graph","circle",null)),w.registerVisual(m),w.registerVisual(v),w.registerLayout(p),w.registerLayout(w.PRIORITY.VISUAL.POST_CHART_LAYOUT,s),w.registerLayout(u),w.registerCoordinateSystem("graphView",{create:o})},"I+Bx":function(M,P,d){var w=d("bYtY"),A=d("eIcI"),b=d("ieMj"),m=d("OELB"),v=d("aX7z"),p=v.getScaleExtent,s=v.niceScaleExtent,u=d("IDmD"),o=d("jCoz");function e(i,n,l){this._model=i,this.dimensions=[],this._indicatorAxes=w.map(i.getIndicatorModels(),function(t,a){var c="indicator_"+a,h=new A(c,t.get("axisType")==="log"?new o:new b);return h.name=t.get("name"),h.model=t,t.axis=h,this.dimensions.push(c),h},this),this.resize(i,l),this.cx,this.cy,this.r,this.r0,this.startAngle}e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(i,n){var l=this._indicatorAxes[n];return this.coordToPoint(l.dataToCoord(i),n)},e.prototype.coordToPoint=function(i,n){var l=this._indicatorAxes[n],t=l.angle,a=this.cx+i*Math.cos(t),c=this.cy-i*Math.sin(t);return[a,c]},e.prototype.pointToData=function(i){var n=i[0]-this.cx,l=i[1]-this.cy,t=Math.sqrt(n*n+l*l);n/=t,l/=t;for(var a=Math.atan2(-l,n),c=Infinity,h,f=-1,g=0;g<this._indicatorAxes.length;g++){var S=this._indicatorAxes[g],y=Math.abs(a-S.angle);y<c&&(h=S,f=g,c=y)}return[f,+(h&&h.coordToData(t))]},e.prototype.resize=function(i,n){var l=i.get("center"),t=n.getWidth(),a=n.getHeight(),c=Math.min(t,a)/2;this.cx=m.parsePercent(l[0],t),this.cy=m.parsePercent(l[1],a),this.startAngle=i.get("startAngle")*Math.PI/180;var h=i.get("radius");(typeof h=="string"||typeof h=="number")&&(h=[0,h]),this.r0=m.parsePercent(h[0],c),this.r=m.parsePercent(h[1],c),w.each(this._indicatorAxes,function(f,g){f.setExtent(this.r0,this.r);var S=this.startAngle+g*Math.PI*2/this._indicatorAxes.length;S=Math.atan2(Math.sin(S),Math.cos(S)),f.angle=S},this)},e.prototype.update=function(i,n){var l=this._indicatorAxes,t=this._model;w.each(l,function(h){h.scale.setExtent(Infinity,-Infinity)}),i.eachSeriesByType("radar",function(h,f){if(h.get("coordinateSystem")!=="radar"||i.getComponent("radar",h.get("radarIndex"))!==t)return;var g=h.getData();w.each(l,function(S){S.scale.unionExtentFromData(g,g.mapDimension(S.dim))})},this);var a=t.get("splitNumber");function c(h){var f=Math.pow(10,Math.floor(Math.log(h)/Math.LN10)),g=h/f;return g===2?g=5:g*=2,g*f}w.each(l,function(h,f){var g=p(h.scale,h.model).extent;s(h.scale,h.model);var S=h.model,y=h.scale,E=S.getMin(),C=S.getMax(),T=y.getInterval();if(E!=null&&C!=null)y.setExtent(+E,+C),y.setInterval((C-E)/a);else if(E!=null){var x;do x=E+T*a,y.setExtent(+E,x),y.setInterval(T),T=c(T);while(x<g[1]&&isFinite(x)&&isFinite(g[1]))}else if(C!=null){var _;do _=C-T*a,y.setExtent(_,+C),y.setInterval(T),T=c(T);while(_>g[0]&&isFinite(_)&&isFinite(g[0]))}else{var I=y.getTicks().length-1;I>a&&(T=c(T));var x=Math.ceil(g[1]/T)*T,_=m.round(x-T*a);y.setExtent(_,x),y.setInterval(T)}})},e.dimensions=[],e.create=function(i,n){var l=[];return i.eachComponent("radar",function(t){var a=new e(t,i,n);l.push(a),t.coordinateSystem=a}),i.eachSeriesByType("radar",function(t){t.get("coordinateSystem")==="radar"&&(t.coordinateSystem=l[t.get("radarIndex")||0])}),l},u.register("radar",e);var r=e;M.exports=r},"I3/A":function(M,P,d){var w=d("bYtY"),A=d("YXkt"),b=d("c2i1"),m=d("Mdki"),v=d("sdST"),p=d("IDmD"),s=d("MwEJ");function u(o,e,r,i,n){for(var l=new b(i),t=0;t<o.length;t++)l.addNode(w.retrieve(o[t].id,o[t].name,t),t);for(var a=[],c=[],h=0,t=0;t<e.length;t++){var f=e[t],g=f.source,S=f.target;l.addEdge(g,S,h)&&(c.push(f),a.push(w.retrieve(f.id,g+" > "+S)),h++)}var y=r.get("coordinateSystem"),E;if(y==="cartesian2d"||y==="polar")E=s(o,r);else{var C=p.get(y),T=C&&C.type!=="view"?C.dimensions||[]:[];w.indexOf(T,"value")<0&&T.concat(["value"]);var x=v(o,{coordDimensions:T});E=new A(x,r),E.initData(o)}var _=new A(["value"],r);return _.initData(c,a),n&&n(E,_),m({mainData:E,struct:l,structAttr:"graph",datas:{node:E,edge:_},datasAttr:{node:"data",edge:"edgeData"}}),l.update(),l}M.exports=u},I8QU:function(M,P,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("q1tI"),m=d("1OyB"),v=d("vuIU"),p=d("Ji7U"),s=d("LK+K"),u=d("KQm4"),o=d("U8pU"),e=d("ODXe"),r=d("VTBJ"),i=d("qNPg"),n=d("2Qr1"),l=d("815F"),t=d("NvD2"),a=d("wPlo"),c=d("6cGi"),h=d("Kwbf"),f=d("4IlW"),g=d("YrtM"),S=d("fAei"),y=b.createContext(null);function E(Y,we){if(!Y)return!0;var Ce=Y.data,le=Ce.disabled,ot=Ce.disableCheckbox;switch(we){case"select":return le;case"checkbox":return le||ot}return!1}function C(Y,we){var Ce=b.useCallback(function(ot){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",rt=arguments.length>2?arguments[2]:void 0,It=Y.get(ot);return!rt&&E(It,wt)?null:It},[Y]),le=b.useCallback(function(ot){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",rt=arguments.length>2?arguments[2]:void 0,It=we.get(ot);return!rt&&E(It,wt)?null:It},[we]);return[Ce,le]}function T(Y){return b.useMemo(function(){var we=new Map,Ce=new Map;return Y.forEach(function(le){we.set(le.key,le),Ce.set(le.data.value,le)}),[we,Ce]},[Y])}var x={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},_=function(we,Ce){var le=we.prefixCls,ot=we.height,wt=we.itemHeight,rt=we.virtual,It=we.options,Gt=we.flattenOptions,lr=we.multiple,pr=we.searchValue,Rr=we.onSelect,xt=we.onToggleOpen,Ot=we.open,At=we.notFoundContent,Jt=we.onMouseEnter,br=b.useContext(y),Lr=br.checkable,Zr=br.checkedKeys,In=br.halfCheckedKeys,Gr=br.treeExpandedKeys,Tr=br.treeDefaultExpandAll,fr=br.treeDefaultExpandedKeys,vt=br.onTreeExpand,ft=br.treeIcon,De=br.showTreeIcon,je=br.switcherIcon,Ye=br.treeLine,st=br.treeNodeFilterProp,kt=br.loadData,$t=br.treeLoadedKeys,Nr=br.treeMotion,yn=br.onTreeLoad,un=b.useRef(),Kt=Object(g.a)(function(){return It},[Ot,It],function(tr,ir){return ir[0]&&tr[1]!==ir[1]}),St=T(Gt),Mt=Object(e.a)(St,2),Zt=Mt[0],kr=Mt[1],Hr=C(Zt,kr),$r=Object(e.a)(Hr,2),Bt=$r[0],cr=$r[1],Cr=b.useMemo(function(){return Zr.map(function(tr){var ir=cr(tr);return ir?ir.key:null})},[Zr,cr]),Br=b.useMemo(function(){return Lr?{checked:Cr,halfChecked:In}:null},[Cr,In,Lr]);b.useEffect(function(){if(Ot&&!lr&&Cr.length){var tr;(tr=un.current)===null||tr===void 0||tr.scrollTo({key:Cr[0]})}},[Ot]);var zr=String(pr).toLowerCase(),An=function(ir){return zr?String(ir[st]).toLowerCase().includes(zr):!1},bn=b.useState(fr),Sn=Object(e.a)(bn,2),Mn=Sn[0],ei=Sn[1],Zn=b.useState(null),ai=Object(e.a)(Zn,2),ii=ai[0],$e=ai[1],Te=b.useMemo(function(){return Gr?Object(u.a)(Gr):pr?ii:Mn},[Mn,ii,zr,Gr]);b.useEffect(function(){pr&&$e(Gt.map(function(tr){return tr.key}))},[pr]);var ke=function(ir){ei(ir),$e(ir),vt&&vt(ir)},Me=function(ir){ir.preventDefault()},Ze=function(ir,_t){var gr=_t.node.key,jt=Bt(gr,Lr?"checkbox":"select");jt!==null&&Rr(jt.data.value,{selected:!Zr.includes(jt.data.value)}),lr||xt(!1)},Xe=b.useState(null),qe=Object(e.a)(Xe,2),mt=qe[0],ht=qe[1],Vt=Bt(mt);if(b.useImperativeHandle(Ce,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 f.a.UP:case f.a.DOWN:case f.a.LEFT:case f.a.RIGHT:(gr=un.current)===null||gr===void 0||gr.onKeyDown(_t);break;case f.a.ENTER:{var Sr=(Vt==null?void 0:Vt.data)||{},Ar=Sr.selectable,sr=Sr.value;Ar!==!1&&Ze(null,{node:{key:mt},selected:!Zr.includes(sr)});break}case f.a.ESC:xt(!1)}},onKeyUp:function(){}}}),Kt.length===0)return b.createElement("div",{role:"listbox",className:"".concat(le,"-empty"),onMouseDown:Me},At);var dr={};return $t&&(dr.loadedKeys=$t),Te&&(dr.expandedKeys=Te),b.createElement("div",{onMouseDown:Me,onMouseEnter:Jt},Vt&&Ot&&b.createElement("span",{style:x,"aria-live":"assertive"},Vt.data.value),b.createElement(S.b,Object(w.a)({ref:un,focusable:!1,prefixCls:"".concat(le,"-tree"),treeData:Kt,height:ot,itemHeight:wt,virtual:rt,multiple:lr,icon:ft,showIcon:De,switcherIcon:je,showLine:Ye,loadData:pr?null:kt,motion:Nr,checkable:Lr,checkStrictly:!0,checkedKeys:Br,selectedKeys:Lr?[]:Cr,defaultExpandAll:Tr},dr,{onActiveChange:ht,onSelect:Ze,onCheck:Ze,onExpand:ke,onLoad:yn,filterTreeNode:An})))},I=b.forwardRef(_);I.displayName="OptionList";var L=I,D=function(){return null},B=D,N=d("Ff2n"),k=d("Zm9Q");function W(Y){return Object(k.a)(Y).map(function(we){if(!b.isValidElement(we)||!we.type)return null;var Ce=we.key,le=we.props,ot=le.children,wt=le.value,rt=Object(N.a)(le,["children","value"]),It=Object(r.a)({key:Ce,value:wt},rt),Gt=W(ot);return Gt.length&&(It.children=Gt),It}).filter(function(we){return we})}function R(Y){if(!Y)return Y;var we=Object(r.a)({},Y);return"props"in we||Object.defineProperty(we,"props",{get:function(){return Object(h.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),we}}),we}function j(Y,we,Ce,le,ot){var wt=null,rt=null;function It(){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,Ot){var At="".concat(pr,"-").concat(Ot),Jt=Ce.includes(xt.value),br=Gt(xt.children||[],At,Jt),Lr=b.createElement(B,xt,br.map(function(In){return In.node}));if(we===xt.value&&(wt=Lr),Jt){var Zr={pos:At,node:Lr,children:br};return Rr||rt.push(Zr),Zr}return null}).filter(function(xt){return xt})}rt||(rt=[],Gt(le),rt.sort(function(lr,pr){var Rr=lr.node.props.value,xt=pr.node.props.value,Ot=Ce.indexOf(Rr),At=Ce.indexOf(xt);return Ot-At}))}Object.defineProperty(Y,"triggerNode",{get:function(){return Object(h.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),It(),wt}}),Object.defineProperty(Y,"allCheckedNodes",{get:function(){return Object(h.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),It(),ot?rt:rt.map(function(lr){var pr=lr.node;return pr})}})}function H(Y){return Array.isArray(Y)?Y:Y!==void 0?[Y]:[]}function K(Y,we){var Ce=new Map;return we.forEach(function(le){var ot=le.data;Ce.set(ot.value,ot)}),Y.map(function(le){return R(Ce.get(le))})}function U(Y,we){var Ce=K([Y],we)[0];return Ce?Ce.disabled:!1}function Q(Y){return Y.disabled||Y.disableCheckbox||Y.checkable===!1}function V(Y){for(var we=Y.parent,Ce=0,le=we;le;)le=le.parent,Ce+=1;return Ce}function J(Y){function we(le){return(le||[]).map(function(ot){var wt=ot.value,rt=ot.key,It=ot.children,Gt=Object(r.a)(Object(r.a)({},ot),{},{key:"key"in ot?rt:wt});return It&&(Gt.children=we(It)),Gt})}var Ce=Object(l.d)(we(Y),!0);return Ce.map(function(le){return{key:le.data.key,data:le.data,level:V(le)}})}function ae(Y){return function(we,Ce){var le=Ce[Y];return String(le).toLowerCase().includes(String(we).toLowerCase())}}function se(Y,we,Ce){var le=Ce.optionFilterProp,ot=Ce.filterOption;if(ot===!1)return we;var wt;typeof ot=="function"?wt=ot:wt=ae(le);function rt(It){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return It.map(function(lr){var pr=lr.children,Rr=Gt||wt(Y,R(lr)),xt=rt(pr||[],Rr);return Rr||xt.length?Object(r.a)(Object(r.a)({},lr),{},{children:xt}):null}).filter(function(lr){return lr})}return rt(we)}function $(Y,we,Ce,le){var ot=new Map;return H(we).forEach(function(wt){wt&&Object(o.a)(wt)==="object"&&"value"in wt&&ot.set(wt.value,wt)}),Y.map(function(wt){var rt={value:wt},It=Ce(wt,"select",!0),Gt=It?le(It.data):wt;if(ot.has(wt)){var lr=ot.get(wt);rt.label="label"in lr?lr.label:Gt,"halfChecked"in lr&&(rt.halfChecked=lr.halfChecked)}else rt.label=Gt;return rt})}function ge(Y,we){var Ce=new Set(Y);return Ce.add(we),Array.from(Ce)}function he(Y,we){var Ce=new Set(Y);return Ce.delete(we),Array.from(Ce)}function Ie(Y){var we=Y.searchPlaceholder,Ce=Y.treeCheckStrictly,le=Y.treeCheckable,ot=Y.labelInValue,wt=Y.value,rt=Y.multiple;Object(h.a)(!we,"`searchPlaceholder` has been removed."),Ce&&ot===!1&&Object(h.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(ot||Ce)&&Object(h.a)(H(wt).every(function(It){return It&&Object(o.a)(It)==="object"&&"value"in It}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Ce||rt||le?Object(h.a)(!wt||Array.isArray(wt),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(h.a)(!Array.isArray(wt),"`value` should not be array when `TreeSelect` is single mode.")}var Se=Ie,Le=10;function He(Y,we){var Ce=we.id,le=we.pId,ot=we.rootPId,wt={},rt=[],It=Y.map(function(Gt){var lr=Object(r.a)({},Gt),pr=lr[Ce];return wt[pr]=lr,lr.key=lr.key||pr,lr});return It.forEach(function(Gt){var lr=Gt[le],pr=wt[lr];pr&&(pr.children=pr.children||[],pr.children.push(Gt)),(lr===ot||!pr&&ot===null)&&rt.push(Gt)}),rt}function G(Y,we){var Ce=0,le=new Set;function ot(wt){return(wt||[]).map(function(rt){var It=rt.key,Gt=rt.value,lr=rt.children,pr=Object(N.a)(rt,["key","value","children"]),Rr="value"in rt?Gt:It,xt=Object(r.a)(Object(r.a)({},pr),{},{key:It!=null?It:Rr,value:Rr,title:we(rt)});return"children"in rt&&(xt.children=ot(lr)),xt})}return ot(Y)}function pe(Y,we,Ce){var le=Ce.getLabelProp,ot=Ce.simpleMode,wt=b.useRef({});return Y?(wt.current.formatTreeData=wt.current.treeData===Y?wt.current.formatTreeData:G(ot?He(Y,Object(r.a)({id:"id",pId:"pId",rootPId:null},ot!==!0?ot:{})):Y,le),wt.current.treeData=Y):wt.current.formatTreeData=wt.current.children===we?wt.current.formatTreeData:G(W(we),le),wt.current.formatTreeData}var We="SHOW_ALL",te="SHOW_PARENT",X="SHOW_CHILD";function z(Y,we,Ce){var le=new Set(Y);return we===X?Y.filter(function(ot){var wt=Ce[ot];return!(wt&&wt.children&&wt.children.every(function(rt){var It=rt.node;return Q(It)||le.has(It.key)}))}):we===te?Y.filter(function(ot){var wt=Ce[ot],rt=wt?wt.parent:null;return!(rt&&!Q(rt.node)&&le.has(rt.node.key))}):Y}function Z(Y,we){var Ce=we.value,le=we.getEntityByValue,ot=we.getEntityByKey,wt=we.treeConduction,rt=we.showCheckedStrategy,It=we.conductKeyEntities,Gt=we.getLabelProp;return b.useMemo(function(){var lr=Y;if(wt){var pr=z(Y.map(function(Rr){var xt=le(Rr);return xt?xt.key:Rr}),rt,It);lr=pr.map(function(Rr){var xt=ot(Rr);return xt?xt.data.value:Rr})}return $(lr,Ce,le,Gt)},[Y,Ce,wt,rt,le])}var be=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],ne=Object(i.a)({prefixCls:"rc-tree-select",components:{optionList:L},convertChildrenToData:function(){return null},flattenOptions:J,getLabeledValue:n.e,filterOptions:se,isValueDisabled:U,findValueOption:K,omitDOMProps:function(we){var Ce=Object(r.a)({},we);return be.forEach(function(le){delete Ce[le]}),Ce}});ne.displayName="Select";var Ae=b.forwardRef(function(Y,we){var Ce=Y.multiple,le=Y.treeCheckable,ot=Y.treeCheckStrictly,wt=Y.showCheckedStrategy,rt=wt===void 0?"SHOW_CHILD":wt,It=Y.labelInValue,Gt=Y.loadData,lr=Y.treeLoadedKeys,pr=Y.treeNodeFilterProp,Rr=pr===void 0?"value":pr,xt=Y.treeNodeLabelProp,Ot=Y.treeDataSimpleMode,At=Y.treeData,Jt=Y.treeExpandedKeys,br=Y.treeDefaultExpandedKeys,Lr=Y.treeDefaultExpandAll,Zr=Y.children,In=Y.treeIcon,Gr=Y.showTreeIcon,Tr=Y.switcherIcon,fr=Y.treeLine,vt=Y.treeMotion,ft=Y.filterTreeNode,De=Y.dropdownPopupAlign,je=Y.onChange,Ye=Y.onTreeExpand,st=Y.onTreeLoad,kt=Y.onDropdownVisibleChange,$t=Y.onSelect,Nr=Y.onDeselect,yn=le||ot,un=Ce||yn,Kt=le&&!ot,St=ot||It,Mt=b.useRef(null);b.useImperativeHandle(we,function(){return{scrollTo:Mt.current.scrollTo,focus:Mt.current.focus,blur:Mt.current.blur}});var Zt=function(gr){return At&&gr.label||gr.title},kr=function(gr){return xt?gr[xt]:Zt(gr)},Hr=pe(At,Zr,{getLabelProp:Zt,simpleMode:Ot}),$r=Object(b.useMemo)(function(){return J(Hr)},[Hr]),Bt=T($r),cr=Object(e.a)(Bt,2),Cr=cr[0],Br=cr[1],zr=C(Cr,Br),An=Object(e.a)(zr,2),bn=An[0],Sn=An[1],Mn=Object(b.useMemo)(function(){return Kt?Object(l.a)(Hr):{keyEntities:null}},[Hr,le,ot]),ei=Mn.keyEntities,Zn=Object(c.a)(Y.defaultValue,{value:Y.value}),ai=Object(e.a)(Zn,2),ii=ai[0],$e=ai[1],Te=function(gr){var jt=[],Sr=[];return gr.forEach(function(Ar){Sn(Ar)?Sr.push(Ar):jt.push(Ar)}),{missingRawValues:jt,existRawValues:Sr}},ke=Object(b.useMemo)(function(){var _t=[],gr=[];if(H(ii).forEach(function(Nn){if(Nn&&Object(o.a)(Nn)==="object"&&"value"in Nn)if(Nn.halfChecked&&ot){var Fn=Sn(Nn.value);_t.push(Fn?Fn.key:Nn.value)}else gr.push(Nn.value);else gr.push(Nn)}),Kt){var jt=Te(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,zn=ln.halfCheckedKeys;return[[].concat(Object(u.a)(Sr),Object(u.a)(_n.map(function(Nn){return bn(Nn).data.value}))),zn]}return[gr,_t]},[ii,un,St,le,ot]),Me=Object(e.a)(ke,2),Ze=Me[0],Xe=Me[1],qe=Z(Ze,{treeConduction:Kt,value:ii,showCheckedStrategy:rt,conductKeyEntities:ei,getEntityByValue:Sn,getEntityByKey:bn,getLabelProp:kr}),mt=function(gr,jt,Sr){if($e(un?gr:gr[0]),je){var Ar=gr;if(Kt&&rt!=="SHOW_ALL"){var sr=gr.map(function(rn){var Ur=Sn(rn);return Ur?Ur.key:rn}),ln=z(sr,rt,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},zn=_n.triggerValue,Nn=_n.selected,Fn=St?$(Ar,ii,Sn,kr):Ar;if(ot){var Gn=Xe.map(function(rn){var Ur=bn(rn);return Ur?Ur.data.value:rn}).filter(function(rn){return!Ar.includes(rn)});Fn=[].concat(Object(u.a)(Fn),Object(u.a)($(Gn,ii,Sn,kr)))}var xn={preValue:qe,triggerValue:zn},mi=!0;(ot||Sr==="selection"&&!Nn)&&(mi=!1),j(xn,zn,gr,Hr,mi),yn?xn.checked=Nn:xn.selected=Nn,je(un?Fn:Fn[0],St?null:Ar.map(function(rn){var Ur=Sn(rn);return Ur?kr(Ur.data):null}),xn)}},ht=function(gr,jt,Sr){var Ar=gr;if(!un)mt([gr],{selected:!0,triggerValue:gr},Sr);else{var sr=ge(Ze,gr);if(Kt){var ln=Te(sr),_n=ln.missingRawValues,zn=ln.existRawValues,Nn=zn.map(function(xn){return Sn(xn).key}),Fn=Object(t.a)(Nn,!0,ei),Gn=Fn.checkedKeys;sr=[].concat(Object(u.a)(_n),Object(u.a)(Gn.map(function(xn){return bn(xn).data.value})))}mt(sr,{selected:!0,triggerValue:gr},Sr)}$t&&$t(Ar,jt)},Vt=function(gr,jt,Sr){var Ar=gr,sr=he(Ze,gr);if(Kt){var ln=Te(sr),_n=ln.missingRawValues,zn=ln.existRawValues,Nn=zn.map(function(xn){return Sn(xn).key}),Fn=Object(t.a)(Nn,{checked:!1,halfCheckedKeys:Xe},ei),Gn=Fn.checkedKeys;sr=[].concat(Object(u.a)(_n),Object(u.a)(Gn.map(function(xn){return bn(xn).data.value})))}mt(sr,{selected:!1,triggerValue:gr},Sr),Nr&&Nr(Ar,jt)},dr=function(){mt([],null,"clear")},tr=b.useCallback(function(_t){if(kt){var gr={};Object.defineProperty(gr,"documentClickClose",{get:function(){return Object(h.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),kt(_t,gr)}},[kt]),ir={optionLabelProp:null,optionFilterProp:Rr,dropdownAlign:De,internalProps:{mark:a.a,onClear:dr,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:ht,onRawDeselect:Vt}};return"filterTreeNode"in Y&&(ir.filterOption=ft),b.createElement(y.Provider,{value:{checkable:yn,loadData:Gt,treeLoadedKeys:lr,onTreeLoad:st,checkedKeys:Ze,halfCheckedKeys:Xe,treeDefaultExpandAll:Lr,treeExpandedKeys:Jt,treeDefaultExpandedKeys:br,onTreeExpand:Ye,treeIcon:In,treeMotion:vt,showTreeIcon:Gr,switcherIcon:Tr,treeLine:fr,treeNodeFilterProp:Rr}},b.createElement(ne,Object(w.a)({ref:Mt,mode:un?"multiple":null},Y,ir,{value:qe,labelInValue:!0,options:Hr,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:tr})))}),Ne=function(Y){Object(p.a)(Ce,Y);var we=Object(s.a)(Ce);function Ce(){var le;return Object(m.a)(this,Ce),le=we.apply(this,arguments),le.selectRef=b.createRef(),le.focus=function(){le.selectRef.current.focus()},le.blur=function(){le.selectRef.current.blur()},le}return Object(v.a)(Ce,[{key:"render",value:function(){return b.createElement(Ae,Object(w.a)({ref:this.selectRef},this.props))}}]),Ce}(b.Component);Ne.TreeNode=B,Ne.SHOW_ALL=We,Ne.SHOW_PARENT=te,Ne.SHOW_CHILD=X;var oe=Ne,de=oe,xe=d("TSYQ"),Pe=d.n(xe),tt=d("bT9E"),Je=d("9R2V"),Oe=d("bq+4"),pt=d("1+JA"),Qe=d("5T1g"),nt=d("kc2O"),bt=d("MZCN"),Tt=function(Y,we){var Ce={};for(var le in Y)Object.prototype.hasOwnProperty.call(Y,le)&&we.indexOf(le)<0&&(Ce[le]=Y[le]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,le=Object.getOwnPropertySymbols(Y);ot<le.length;ot++)we.indexOf(le[ot])<0&&Object.prototype.propertyIsEnumerable.call(Y,le[ot])&&(Ce[le[ot]]=Y[le[ot]]);return Ce},Ct=function(we,Ce){var le,ot=we.prefixCls,wt=we.size,rt=we.bordered,It=rt===void 0?!0:rt,Gt=we.className,lr=we.treeCheckable,pr=we.multiple,Rr=we.listHeight,xt=Rr===void 0?256:Rr,Ot=we.listItemHeight,At=Ot===void 0?26:Ot,Jt=we.notFoundContent,br=we.switcherIcon,Lr=we.treeLine,Zr=we.getPopupContainer,In=we.dropdownClassName,Gr=we.treeIcon,Tr=Gr===void 0?!1:Gr,fr=we.transitionName,vt=we.choiceTransitionName,ft=vt===void 0?"":vt,De=Tt(we,["prefixCls","size","bordered","className","treeCheckable","multiple","listHeight","listItemHeight","notFoundContent","switcherIcon","treeLine","getPopupContainer","dropdownClassName","treeIcon","transitionName","choiceTransitionName"]),je=b.useContext(Je.b),Ye=je.getPopupContainer,st=je.getPrefixCls,kt=je.renderEmpty,$t=je.direction,Nr=je.virtual,yn=je.dropdownMatchSelectWidth,un=b.useContext(nt.b);Object(Oe.a)(pr!==!1||!lr,"TreeSelect","`multiple` will always be `true` when `treeCheckable` is true");var Kt=st("select",ot),St=st("select-tree",ot),Mt=st("tree-select",ot),Zt=Pe()(In,"".concat(Mt,"-dropdown"),Object(A.a)({},"".concat(Mt,"-dropdown-rtl"),$t==="rtl")),kr=!!(lr||pr),Hr=Object(pt.a)(Object(w.a)(Object(w.a)({},De),{multiple:kr,prefixCls:Kt})),$r=Hr.suffixIcon,Bt=Hr.removeIcon,cr=Hr.clearIcon,Cr;Jt!==void 0?Cr=Jt:Cr=kt("Select");var Br=Object(tt.a)(De,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),zr=wt||un,An=Pe()(!ot&&Mt,(le={},Object(A.a)(le,"".concat(Kt,"-lg"),zr==="large"),Object(A.a)(le,"".concat(Kt,"-sm"),zr==="small"),Object(A.a)(le,"".concat(Kt,"-rtl"),$t==="rtl"),Object(A.a)(le,"".concat(Kt,"-borderless"),!It),le),Gt),bn=st();return b.createElement(de,Object(w.a)({virtual:Nr,dropdownMatchSelectWidth:yn},Br,{ref:Ce,prefixCls:Kt,className:An,listHeight:xt,listItemHeight:At,treeCheckable:lr&&b.createElement("span",{className:"".concat(Kt,"-tree-checkbox-inner")}),inputIcon:$r,multiple:pr,removeIcon:Bt,clearIcon:cr,switcherIcon:function(Mn){return Object(Qe.a)(St,br,Lr,Mn)},showTreeIcon:Tr,notFoundContent:Cr,getPopupContainer:Zr||Ye,treeMotion:null,dropdownClassName:Zt,choiceTransitionName:Object(bt.b)(bn,"",ft),transitionName:Object(bt.b)(bn,"slide-up",fr)}))},Nt=b.forwardRef(Ct),Ge=Nt;Ge.TreeNode=B,Ge.SHOW_ALL=We,Ge.SHOW_PARENT=te,Ge.SHOW_CHILD=X;var ie=P.a=Ge},ICMv:function(M,P,d){var w=d("bYtY"),A={getMin:function(b){var m=this.option,v=!b&&m.rangeStart!=null?m.rangeStart:m.min;return this.axis&&v!=null&&v!=="dataMin"&&typeof v!="function"&&!w.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getMax:function(b){var m=this.option,v=!b&&m.rangeEnd!=null?m.rangeEnd:m.max;return this.axis&&v!=null&&v!=="dataMax"&&typeof v!="function"&&!w.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getNeedCrossZero:function(){var b=this.option;return b.rangeStart!=null||b.rangeEnd!=null?!1:!b.scale},getCoordSysModel:w.noop,setRange:function(b,m){this.option.rangeStart=b,this.option.rangeEnd=m},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};M.exports=A},IDmD:function(M,P,d){var w=d("bYtY"),A={};function b(){this._coordinateSystems=[]}b.prototype={constructor:b,create:function(v,p){var s=[];w.each(A,function(u,o){var e=u.create(v,p);s=s.concat(e||[])}),this._coordinateSystems=s},update:function(v,p){w.each(this._coordinateSystems,function(s){s.update&&s.update(v,p)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},b.register=function(v,p){A[v]=p},b.get=function(v){return A[v]};var m=b;M.exports=m},IM3S:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("cDrd"),m=d("W9l/"),v=d("4fr0"),p=d.n(v)},IMiH:function(M,P,d){var w=d("Sj9i"),A=d("QBsz"),b=d("4mN7"),m=d("mFDi"),v=d("LPTA"),p=v.devicePixelRatio,s={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],o=[],e=[],r=[],i=Math.min,n=Math.max,l=Math.cos,t=Math.sin,a=Math.sqrt,c=Math.abs,h=typeof Float32Array!="undefined",f=function(y){this._saveData=!(y||!1),this._saveData&&(this.data=[]),this._ctx=null};f.prototype={constructor:f,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(y,E,C){C=C||0,this._ux=c(C/p/y)||0,this._uy=c(C/p/E)||0},getContext:function(){return this._ctx},beginPath:function(y){return this._ctx=y,y&&y.beginPath(),y&&(this.dpr=y.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(y,E){return this.addData(s.M,y,E),this._ctx&&this._ctx.moveTo(y,E),this._x0=y,this._y0=E,this._xi=y,this._yi=E,this},lineTo:function(y,E){var C=c(y-this._xi)>this._ux||c(E-this._yi)>this._uy||this._len<5;return this.addData(s.L,y,E),this._ctx&&C&&(this._needsDash()?this._dashedLineTo(y,E):this._ctx.lineTo(y,E)),C&&(this._xi=y,this._yi=E),this},bezierCurveTo:function(y,E,C,T,x,_){return this.addData(s.C,y,E,C,T,x,_),this._ctx&&(this._needsDash()?this._dashedBezierTo(y,E,C,T,x,_):this._ctx.bezierCurveTo(y,E,C,T,x,_)),this._xi=x,this._yi=_,this},quadraticCurveTo:function(y,E,C,T){return this.addData(s.Q,y,E,C,T),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(y,E,C,T):this._ctx.quadraticCurveTo(y,E,C,T)),this._xi=C,this._yi=T,this},arc:function(y,E,C,T,x,_){return this.addData(s.A,y,E,C,C,T,x-T,0,_?0:1),this._ctx&&this._ctx.arc(y,E,C,T,x,_),this._xi=l(x)*C+y,this._yi=t(x)*C+E,this},arcTo:function(y,E,C,T,x){return this._ctx&&this._ctx.arcTo(y,E,C,T,x),this},rect:function(y,E,C,T){return this._ctx&&this._ctx.rect(y,E,C,T),this.addData(s.R,y,E,C,T),this},closePath:function(){this.addData(s.Z);var y=this._ctx,E=this._x0,C=this._y0;return y&&(this._needsDash()&&this._dashedLineTo(E,C),y.closePath()),this._xi=E,this._yi=C,this},fill:function(y){y&&y.fill(),this.toStatic()},stroke:function(y){y&&y.stroke(),this.toStatic()},setLineDash:function(y){if(y instanceof Array){this._lineDash=y,this._dashIdx=0;for(var E=0,C=0;C<y.length;C++)E+=y[C];this._dashSum=E}return this},setLineDashOffset:function(y){return this._dashOffset=y,this},len:function(){return this._len},setData:function(y){var E=y.length;!(this.data&&this.data.length===E)&&h&&(this.data=new Float32Array(E));for(var C=0;C<E;C++)this.data[C]=y[C];this._len=E},appendPath:function(y){y instanceof Array||(y=[y]);for(var E=y.length,C=0,T=this._len,x=0;x<E;x++)C+=y[x].len();h&&this.data instanceof Float32Array&&(this.data=new Float32Array(T+C));for(var x=0;x<E;x++)for(var _=y[x].data,I=0;I<_.length;I++)this.data[T++]=_[I];this._len=T},addData:function(y){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=y},_expandData:function(){if(!(this.data instanceof Array)){for(var y=[],E=0;E<this._len;E++)y[E]=this.data[E];this.data=y}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(y,E){var C=this._dashSum,T=this._dashOffset,x=this._lineDash,_=this._ctx,I=this._xi,L=this._yi,D=y-I,B=E-L,N=a(D*D+B*B),k=I,W=L,R,j=x.length,H;for(D/=N,B/=N,T<0&&(T=C+T),T%=C,k-=T*D,W-=T*B;D>0&&k<=y||D<0&&k>=y||D===0&&(B>0&&W<=E||B<0&&W>=E);){if(H=this._dashIdx,R=x[H],k+=D*R,W+=B*R,this._dashIdx=(H+1)%j,D>0&&k<I||D<0&&k>I||B>0&&W<L||B<0&&W>L)continue;_[H%2?"moveTo":"lineTo"](D>=0?i(k,y):n(k,y),B>=0?i(W,E):n(W,E))}D=k-y,B=W-E,this._dashOffset=-a(D*D+B*B)},_dashedBezierTo:function(y,E,C,T,x,_){var I=this._dashSum,L=this._dashOffset,D=this._lineDash,B=this._ctx,N=this._xi,k=this._yi,W,R,j,H=w.cubicAt,K=0,U=this._dashIdx,Q=D.length,V,J,ae=0;for(L<0&&(L=I+L),L%=I,W=0;W<1;W+=.1)R=H(N,y,C,x,W+.1)-H(N,y,C,x,W),j=H(k,E,T,_,W+.1)-H(k,E,T,_,W),K+=a(R*R+j*j);for(;U<Q&&!(ae+=D[U],ae>L);U++);for(W=(ae-L)/K;W<=1;)V=H(N,y,C,x,W),J=H(k,E,T,_,W),U%2?B.moveTo(V,J):B.lineTo(V,J),W+=D[U]/K,U=(U+1)%Q;U%2!==0&&B.lineTo(x,_),R=x-V,j=_-J,this._dashOffset=-a(R*R+j*j)},_dashedQuadraticTo:function(y,E,C,T){var x=C,_=T;C=(C+2*y)/3,T=(T+2*E)/3,y=(this._xi+2*y)/3,E=(this._yi+2*E)/3,this._dashedBezierTo(y,E,C,T,x,_)},toStatic:function(){var y=this.data;y instanceof Array&&(y.length=this._len,h&&(this.data=new Float32Array(y)))},getBoundingRect:function(){u[0]=u[1]=e[0]=e[1]=Number.MAX_VALUE,o[0]=o[1]=r[0]=r[1]=-Number.MAX_VALUE;for(var y=this.data,E=0,C=0,T=0,x=0,_=0;_<y.length;){var I=y[_++];_===1&&(E=y[_],C=y[_+1],T=E,x=C);switch(I){case s.M:T=y[_++],x=y[_++],E=T,C=x,e[0]=T,e[1]=x,r[0]=T,r[1]=x;break;case s.L:b.fromLine(E,C,y[_],y[_+1],e,r),E=y[_++],C=y[_++];break;case s.C:b.fromCubic(E,C,y[_++],y[_++],y[_++],y[_++],y[_],y[_+1],e,r),E=y[_++],C=y[_++];break;case s.Q:b.fromQuadratic(E,C,y[_++],y[_++],y[_],y[_+1],e,r),E=y[_++],C=y[_++];break;case s.A:var L=y[_++],D=y[_++],B=y[_++],N=y[_++],k=y[_++],W=y[_++]+k;_+=1;var R=1-y[_++];_===1&&(T=l(k)*B+L,x=t(k)*N+D),b.fromArc(L,D,B,N,k,W,R,e,r),E=l(W)*B+L,C=t(W)*N+D;break;case s.R:T=E=y[_++],x=C=y[_++];var j=y[_++],H=y[_++];b.fromLine(T,x,T+j,x+H,e,r);break;case s.Z:E=T,C=x;break}A.min(u,u,e),A.max(o,o,r)}return _===0&&(u[0]=u[1]=o[0]=o[1]=0),new m(u[0],u[1],o[0]-u[0],o[1]-u[1])},rebuildPath:function(y){for(var E=this.data,C,T,x,_,I,L,D=this._ux,B=this._uy,N=this._len,k=0;k<N;){var W=E[k++];k===1&&(x=E[k],_=E[k+1],C=x,T=_);switch(W){case s.M:C=x=E[k++],T=_=E[k++],y.moveTo(x,_);break;case s.L:I=E[k++],L=E[k++],(c(I-x)>D||c(L-_)>B||k===N-1)&&(y.lineTo(I,L),x=I,_=L);break;case s.C:y.bezierCurveTo(E[k++],E[k++],E[k++],E[k++],E[k++],E[k++]),x=E[k-2],_=E[k-1];break;case s.Q:y.quadraticCurveTo(E[k++],E[k++],E[k++],E[k++]),x=E[k-2],_=E[k-1];break;case s.A:var R=E[k++],j=E[k++],H=E[k++],K=E[k++],U=E[k++],Q=E[k++],V=E[k++],J=E[k++],ae=H>K?H:K,se=H>K?1:H/K,$=H>K?K/H:1,ge=Math.abs(H-K)>.001,he=U+Q;ge?(y.translate(R,j),y.rotate(V),y.scale(se,$),y.arc(0,0,ae,U,he,1-J),y.scale(1/se,1/$),y.rotate(-V),y.translate(-R,-j)):y.arc(R,j,ae,U,he,1-J),k===1&&(C=l(U)*H+R,T=t(U)*K+j),x=l(he)*H+R,_=t(he)*K+j;break;case s.R:C=x=E[k],T=_=E[k+1],y.rect(E[k++],E[k++],E[k++],E[k++]);break;case s.Z:y.closePath(),x=C,_=T}}}},f.CMD=s;var g=f;M.exports=g},IPMP:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("o4st"),m=d.n(b),v=d("HaWY"),p=d("4ZVq")},IUWy:function(M,P){var d={};function w(b,m){d[b]=m}function A(b){return d[b]}P.register=w,P.get=A},IWNH:function(M,P,d){var w=d("T4UG"),A=d("Bsck"),b=d("7aKB"),m=b.encodeHTML,v=d("Qxkt"),p=w.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(s){var u={name:s.name,children:s.data},o=s.leaves||{},e=new v(o,this,this.ecModel),r=A.createTree(u,this,{},i);function i(a){a.wrapMethod("getItemModel",function(c,h){var f=r.getNodeByDataIndex(h);return(!f.children.length||!f.isExpand)&&(c.parentModel=e),c})}var n=0;r.eachNode("preorder",function(a){a.depth>n&&(n=a.depth)});var l=s.expandAndCollapse,t=l&&s.initialTreeDepth>=0?s.initialTreeDepth:n;return r.root.eachNode("preorder",function(a){var c=a.hostTree.data.getRawDataItem(a.dataIndex);a.isExpand=c&&c.collapsed!=null?!c.collapsed:a.depth<=t}),r.data},getOrient:function(){var s=this.get("orient");return s==="horizontal"?s="LR":s==="vertical"&&(s="TB"),s},setZoom:function(s){this.option.zoom=s},setCenter:function(s){this.option.center=s},formatTooltip:function(s){for(var u=this.getData().tree,o=u.root.children[0],e=u.getNodeByDataIndex(s),r=e.getValue(),i=e.name;e&&e!==o;)i=e.parentNode.name+"."+i,e=e.parentNode;return m(i+(isNaN(r)||r==null?"":" : "+r))},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,P,d){var w=d("bYtY"),A=d("OELB"),b=d("7aKB"),m=d("lE7J"),v=d("ieMj"),p=v.prototype,s=Math.ceil,u=Math.floor,o=1e3,e=o*60,r=e*60,i=r*24,n=function(c,h,f,g){for(;f<g;){var S=f+g>>>1;c[S][1]<h?f=S+1:g=S}return f},l=v.extend({type:"time",getLabel:function(c){var h=this._stepLvl,f=new Date(c);return b.formatTime(h[0],f,this.getSetting("useUTC"))},niceExtent:function(c){var h=this._extent;if(h[0]===h[1]&&(h[0]-=i,h[1]+=i),h[1]===-Infinity&&h[0]===Infinity){var f=new Date;h[1]=+new Date(f.getFullYear(),f.getMonth(),f.getDate()),h[0]=h[1]-i}this.niceTicks(c.splitNumber,c.minInterval,c.maxInterval);var g=this._interval;c.fixMin||(h[0]=A.round(u(h[0]/g)*g)),c.fixMax||(h[1]=A.round(s(h[1]/g)*g))},niceTicks:function(c,h,f){c=c||10;var g=this._extent,S=g[1]-g[0],y=S/c;h!=null&&y<h&&(y=h),f!=null&&y>f&&(y=f);var E=t.length,C=n(t,y,0,E),T=t[Math.min(C,E-1)],x=T[1];if(T[0]==="year"){var _=S/x,I=A.nice(_/c,!0);x*=I}var L=this.getSetting("useUTC")?0:new Date(+g[0]||+g[1]).getTimezoneOffset()*60*1e3,D=[Math.round(s((g[0]-L)/x)*x+L),Math.round(u((g[1]-L)/x)*x+L)];m.fixExtent(D,g),this._stepLvl=T,this._interval=x,this._niceExtent=D},parse:function(c){return+A.parseDate(c)}});w.each(["contain","normalize"],function(c){l.prototype[c]=function(h){return p[c].call(this,this.parse(h))}});var t=[["hh:mm:ss",o],["hh:mm:ss",o*5],["hh:mm:ss",o*10],["hh:mm:ss",o*15],["hh:mm:ss",o*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`,r],[`hh:mm
|
|
|
MM-dd`,r*2],[`hh:mm
|
|
|
MM-dd`,r*6],[`hh:mm
|
|
|
MM-dd`,r*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]];l.create=function(c){return new l({useUTC:c.ecModel.get("useUTC")})};var a=l;M.exports=a},IXuL:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("MwEJ"),m=d("T4UG"),v=m.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(p,s){return b(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=v},IXyC:function(M,P,d){var w=d("bYtY"),A=d("bLfw");d("3zoK");var b=A.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(){A.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(m){var v=this.option;m&&w.merge(v,m,!0),this._initDimensions()},contains:function(m,v){var p=m.get("parallelIndex");return p!=null&&v.getComponent("parallel",p)===this},setAxisExpand:function(m){w.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(v){m.hasOwnProperty(v)&&(this.option[v]=m[v])},this)},_initDimensions:function(){var m=this.dimensions=[],v=this.parallelAxisIndex=[],p=w.filter(this.dependentModels.parallelAxis,function(s){return(s.get("parallelIndex")||0)===this.componentIndex},this);w.each(p,function(s){m.push("dim"+s.get("dim")),v.push(s.componentIndex)})}});M.exports=b},IepU:function(M,P,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("U8pU"),m=d("q1tI"),v=d("TSYQ"),p=d.n(v),s=function(k){var W=k.prefixCls,R=k.className,j=k.width,H=k.style;return m.createElement("h3",{className:p()(W,R),style:Object(A.a)({width:j},H)})},u=s,o=d("KQm4"),e=function(k){var W=function(V){var J=k.width,ae=k.rows,se=ae===void 0?2:ae;return Array.isArray(J)?J[V]:se-1===V?J:void 0},R=k.prefixCls,j=k.className,H=k.style,K=k.rows,U=Object(o.a)(Array(K)).map(function(Q,V){return m.createElement("li",{key:V,style:{width:W(V)}})});return m.createElement("ul",{className:p()(R,j),style:H},U)},r=e,i=d("9R2V"),n=function(k){var W,R,j=k.prefixCls,H=k.className,K=k.style,U=k.size,Q=k.shape,V=p()((W={},Object(w.a)(W,"".concat(j,"-lg"),U==="large"),Object(w.a)(W,"".concat(j,"-sm"),U==="small"),W)),J=p()((R={},Object(w.a)(R,"".concat(j,"-circle"),Q==="circle"),Object(w.a)(R,"".concat(j,"-square"),Q==="square"),Object(w.a)(R,"".concat(j,"-round"),Q==="round"),R)),ae=typeof U=="number"?{width:U,height:U,lineHeight:"".concat(U,"px")}:{};return m.createElement("span",{className:p()(j,V,J,H),style:Object(A.a)(Object(A.a)({},ae),K)})},l=n,t=d("bT9E"),a=function(k){var W=function(j){var H=j.getPrefixCls,K=k.prefixCls,U=k.className,Q=k.active,V=H("skeleton",K),J=Object(t.a)(k,["prefixCls","className"]),ae=p()(V,"".concat(V,"-element"),Object(w.a)({},"".concat(V,"-active"),Q),U);return m.createElement("div",{className:ae},m.createElement(l,Object(A.a)({prefixCls:"".concat(V,"-avatar")},J)))};return m.createElement(i.a,null,W)};a.defaultProps={size:"default",shape:"circle"};var c=a,h=function(k){var W=function(j){var H=j.getPrefixCls,K=k.prefixCls,U=k.className,Q=k.active,V=H("skeleton",K),J=Object(t.a)(k,["prefixCls"]),ae=p()(V,"".concat(V,"-element"),Object(w.a)({},"".concat(V,"-active"),Q),U);return m.createElement("div",{className:ae},m.createElement(l,Object(A.a)({prefixCls:"".concat(V,"-button")},J)))};return m.createElement(i.a,null,W)};h.defaultProps={size:"default"};var f=h,g=function(k){var W=function(j){var H=j.getPrefixCls,K=k.prefixCls,U=k.className,Q=k.active,V=H("skeleton",K),J=Object(t.a)(k,["prefixCls"]),ae=p()(V,"".concat(V,"-element"),Object(w.a)({},"".concat(V,"-active"),Q),U);return m.createElement("div",{className:ae},m.createElement(l,Object(A.a)({prefixCls:"".concat(V,"-input")},J)))};return m.createElement(i.a,null,W)};g.defaultProps={size:"default"};var S=g,y="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(k){var W=function(j){var H=j.getPrefixCls,K=k.prefixCls,U=k.className,Q=k.style,V=H("skeleton",K),J=p()(V,"".concat(V,"-element"),U);return m.createElement("div",{className:J},m.createElement("div",{className:p()("".concat(V,"-image"),U),style:Q},m.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(V,"-image-svg")},m.createElement("path",{d:y,className:"".concat(V,"-image-path")}))))};return m.createElement(i.a,null,W)},C=E;function T(N){return N&&Object(b.a)(N)==="object"?N:{}}function x(N,k){return N&&!k?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function _(N,k){return!N&&k?{width:"38%"}:N&&k?{width:"50%"}:{}}function I(N,k){var W={};return(!N||!k)&&(W.width="61%"),!N&&k?W.rows=3:W.rows=2,W}var L=function(k){var W=function(j){var H=j.getPrefixCls,K=j.direction,U=k.prefixCls,Q=k.loading,V=k.className,J=k.children,ae=k.avatar,se=k.title,$=k.paragraph,ge=k.active,he=k.round,Ie=H("skeleton",U);if(Q||!("loading"in k)){var Se,Le=!!ae,He=!!se,G=!!$,pe;if(Le){var We=Object(A.a)(Object(A.a)({prefixCls:"".concat(Ie,"-avatar")},x(He,G)),T(ae));pe=m.createElement("div",{className:"".concat(Ie,"-header")},m.createElement(l,We))}var te;if(He||G){var X;if(He){var z=Object(A.a)(Object(A.a)({prefixCls:"".concat(Ie,"-title")},_(Le,G)),T(se));X=m.createElement(u,z)}var Z;if(G){var be=Object(A.a)(Object(A.a)({prefixCls:"".concat(Ie,"-paragraph")},I(Le,He)),T($));Z=m.createElement(r,be)}te=m.createElement("div",{className:"".concat(Ie,"-content")},X,Z)}var ne=p()(Ie,(Se={},Object(w.a)(Se,"".concat(Ie,"-with-avatar"),Le),Object(w.a)(Se,"".concat(Ie,"-active"),ge),Object(w.a)(Se,"".concat(Ie,"-rtl"),K==="rtl"),Object(w.a)(Se,"".concat(Ie,"-round"),he),Se),V);return m.createElement("div",{className:ne},pe,te)}return J};return m.createElement(i.a,null,W)};L.defaultProps={avatar:!1,title:!0,paragraph:!0},L.Button=f,L.Avatar=c,L.Input=S,L.Image=C;var D=L,B=P.a=D},ItGF:function(M,P){var d={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?d={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?d={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?d={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:d=A(navigator.userAgent);var w=d;function A(b){var m={},v={},p=b.match(/Firefox\/([\d.]+)/),s=b.match(/MSIE\s([\d.]+)/)||b.match(/Trident\/.+?rv:(([\d.]+))/),u=b.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(b);return p&&(v.firefox=!0,v.version=p[1]),s&&(v.ie=!0,v.version=s[1]),u&&(v.edge=!0,v.version=u[1]),o&&(v.weChat=!0),{browser:v,os:m,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!v.ie&&!v.edge,pointerEventsSupported:"onpointerdown"in window&&(v.edge||v.ie&&v.version>=11),domSupported:typeof document!="undefined"}}M.exports=w},ItS6:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var w=d("eP3c"),A=b(d("1q3G"));function b(u){return u&&u.__esModule?u:{default:u}}function m(u,o){if(!(u instanceof o))throw new TypeError("Cannot call a class as a function")}function v(u,o){for(var e=0;e<o.length;e++){var r=o[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(u,r.key,r)}}function p(u,o,e){return o&&v(u.prototype,o),e&&v(u,e),u}var s=function(){function u(){m(this,u),this.strm=new A.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(u,[{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 r=(0,w.inflate)(this.strm,0);if(r<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)}}]),u}();P.default=s},Itpr:function(M,P,d){var w=d("+TT/");function A(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var a=[t],c,h;c=a.pop();)if(h=c.children,c.isExpand&&h.length)for(var f=h.length,g=f-1;g>=0;g--){var S=h[g];S.hierNode={defaultAncestor:null,ancestor:S,prelim:0,modifier:0,change:0,shift:0,i:g,thread:null},a.push(S)}}function b(t,a){var c=t.isExpand?t.children:[],h=t.parentNode.children,f=t.hierNode.i?h[t.hierNode.i-1]:null;if(c.length){u(t);var g=(c[0].hierNode.prelim+c[c.length-1].hierNode.prelim)/2;f?(t.hierNode.prelim=f.hierNode.prelim+a(t,f),t.hierNode.modifier=t.hierNode.prelim-g):t.hierNode.prelim=g}else f&&(t.hierNode.prelim=f.hierNode.prelim+a(t,f));t.parentNode.hierNode.defaultAncestor=o(t,f,t.parentNode.hierNode.defaultAncestor||h[0],a)}function m(t){var a=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:a},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function v(t){return arguments.length?t:l}function p(t,a){var c={};return t-=Math.PI/2,c.x=a*Math.cos(t),c.y=a*Math.sin(t),c}function s(t,a){return w.getLayoutRect(t.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})}function u(t){for(var a=t.children,c=a.length,h=0,f=0;--c>=0;){var g=a[c];g.hierNode.prelim+=h,g.hierNode.modifier+=h,f+=g.hierNode.change,h+=g.hierNode.shift+f}}function o(t,a,c,h){if(a){for(var f=t,g=t,S=g.parentNode.children[0],y=a,E=f.hierNode.modifier,C=g.hierNode.modifier,T=S.hierNode.modifier,x=y.hierNode.modifier;y=e(y),g=r(g),y&&g;){f=e(f),S=r(S),f.hierNode.ancestor=t;var _=y.hierNode.prelim+x-g.hierNode.prelim-C+h(y,g);_>0&&(n(i(y,t,c),t,_),C+=_,E+=_),x+=y.hierNode.modifier,C+=g.hierNode.modifier,E+=f.hierNode.modifier,T+=S.hierNode.modifier}y&&!e(f)&&(f.hierNode.thread=y,f.hierNode.modifier+=x-E),g&&!r(S)&&(S.hierNode.thread=g,S.hierNode.modifier+=C-T,c=t)}return c}function e(t){var a=t.children;return a.length&&t.isExpand?a[a.length-1]:t.hierNode.thread}function r(t){var a=t.children;return a.length&&t.isExpand?a[0]:t.hierNode.thread}function i(t,a,c){return t.hierNode.ancestor.parentNode===a.parentNode?t.hierNode.ancestor:c}function n(t,a,c){var h=c/(a.hierNode.i-t.hierNode.i);a.hierNode.change-=h,a.hierNode.shift+=c,a.hierNode.modifier+=c,a.hierNode.prelim+=c,t.hierNode.change+=h}function l(t,a){return t.parentNode===a.parentNode?1:2}P.init=A,P.firstWalk=b,P.secondWalk=m,P.separation=v,P.radialCoordinate=p,P.getViewRect=s},IwbS:function(M,P,d){var w=d("bYtY"),A=d("NC18"),b=d("Qe9p"),m=d("Fofx"),v=d("QBsz"),p=d("y+Vt"),s=d("DN4a"),u=d("Dagg");P.Image=u;var o=d("4fz+");P.Group=o;var e=d("dqUG");P.Text=e;var r=d("2fw6");P.Circle=r;var i=d("SqI9");P.Sector=i;var n=d("RXMa");P.Ring=n;var l=d("h7HQ");P.Polygon=l;var t=d("1Jh7");P.Polyline=t;var a=d("x6Kt");P.Rect=a;var c=d("yxFR");P.Line=c;var h=d("rA99");P.BezierCurve=h;var f=d("jTL6");P.Arc=f;var g=d("1MYJ");P.CompoundPath=g;var S=d("SKnc");P.LinearGradient=S;var y=d("3e3G");P.RadialGradient=y;var E=d("mFDi");P.BoundingRect=E;var C=d("OS9S");P.IncrementalDisplayable=C;var T=d("nPnh"),x=Math.max,_=Math.min,I={},L=1,D={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},B="emphasis",N="normal",k=1,W={},R={};function j(Ot){return p.extend(Ot)}function H(Ot,At){return A.extendFromString(Ot,At)}function K(Ot,At){R[Ot]=At}function U(Ot){if(R.hasOwnProperty(Ot))return R[Ot]}function Q(Ot,At,Jt,br){var Lr=A.createFromString(Ot,At);return Jt&&(br==="center"&&(Jt=J(Jt,Lr.getBoundingRect())),se(Lr,Jt)),Lr}function V(Ot,At,Jt){var br=new u({style:{image:Ot,x:At.x,y:At.y,width:At.width,height:At.height},onload:function(Lr){if(Jt==="center"){var Zr={width:Lr.width,height:Lr.height};br.setStyle(J(At,Zr))}}});return br}function J(Ot,At){var Jt=At.width/At.height,br=Ot.height*Jt,Lr;br<=Ot.width?Lr=Ot.height:(br=Ot.width,Lr=br/Jt);var Zr=Ot.x+Ot.width/2,In=Ot.y+Ot.height/2;return{x:Zr-br/2,y:In-Lr/2,width:br,height:Lr}}var ae=A.mergePath;function se(Ot,At){if(!Ot.applyTransform)return;var Jt=Ot.getBoundingRect(),br=Jt.calculateTransform(At);Ot.applyTransform(br)}function $(Ot){return T.subPixelOptimizeLine(Ot.shape,Ot.shape,Ot.style),Ot}function ge(Ot){return T.subPixelOptimizeRect(Ot.shape,Ot.shape,Ot.style),Ot}var he=T.subPixelOptimize;function Ie(Ot){return Ot!=null&&Ot!=="none"}var Se=w.createHashMap(),Le=0;function He(Ot){if(typeof Ot!="string")return Ot;var At=Se.get(Ot);return At||(At=b.lift(Ot,-.1),Le<1e4&&(Se.set(Ot,At),Le++)),At}function G(Ot){if(!Ot.__hoverStlDirty)return;Ot.__hoverStlDirty=!1;var At=Ot.__hoverStl;if(!At){Ot.__cachedNormalStl=Ot.__cachedNormalZ2=null;return}var Jt=Ot.__cachedNormalStl={};Ot.__cachedNormalZ2=Ot.z2;var br=Ot.style;for(var Lr in At)At[Lr]!=null&&(Jt[Lr]=br[Lr]);Jt.fill=br.fill,Jt.stroke=br.stroke}function pe(Ot){var At=Ot.__hoverStl;if(!At||Ot.__highlighted)return;var Jt=Ot.__zr,br=Ot.useHoverLayer&&Jt&&Jt.painter.type==="canvas";if(Ot.__highlighted=br?"layer":"plain",Ot.isGroup||!Jt&&Ot.useHoverLayer)return;var Lr=Ot,Zr=Ot.style;br&&(Lr=Jt.addHover(Ot),Zr=Lr.style),Nt(Zr),br||G(Lr),Zr.extendFrom(At),We(Zr,At,"fill"),We(Zr,At,"stroke"),Ct(Zr),br||(Ot.dirty(!1),Ot.z2+=L)}function We(Ot,At,Jt){!Ie(At[Jt])&&Ie(Ot[Jt])&&(Ot[Jt]=He(Ot[Jt]))}function te(Ot){var At=Ot.__highlighted;if(!At)return;if(Ot.__highlighted=!1,Ot.isGroup)return;if(At==="layer")Ot.__zr&&Ot.__zr.removeHover(Ot);else{var Jt=Ot.style,br=Ot.__cachedNormalStl;br&&(Nt(Jt),Ot.setStyle(br),Ct(Jt));var Lr=Ot.__cachedNormalZ2;Lr!=null&&Ot.z2-Lr===L&&(Ot.z2=Lr)}}function X(Ot,At,Jt){var br=N,Lr=N,Zr;Ot.__highlighted&&(br=B,Zr=!0),At(Ot,Jt),Ot.__highlighted&&(Lr=B,Zr=!0),Ot.isGroup&&Ot.traverse(function(In){!In.isGroup&&At(In,Jt)}),Zr&&Ot.__highDownOnUpdate&&Ot.__highDownOnUpdate(br,Lr)}function z(Ot,At){At=Ot.__hoverStl=At!==!1&&(Ot.hoverStyle||At||{}),Ot.__hoverStlDirty=!0,Ot.__highlighted&&(Ot.__cachedNormalStl=null,te(Ot),pe(Ot))}function Z(Ot){!Ne(this,Ot)&&!this.__highByOuter&&X(this,pe)}function be(Ot){!Ne(this,Ot)&&!this.__highByOuter&&X(this,te)}function ne(Ot){this.__highByOuter|=1<<(Ot||0),X(this,pe)}function Ae(Ot){!(this.__highByOuter&=~(1<<(Ot||0)))&&X(this,te)}function Ne(Ot,At){return Ot.__highDownSilentOnTouch&&At.zrByTouch}function oe(Ot,At){de(Ot,!0),X(Ot,z,At)}function de(Ot,At){var Jt=At===!1;if(Ot.__highDownSilentOnTouch=Ot.highDownSilentOnTouch,Ot.__highDownOnUpdate=Ot.highDownOnUpdate,!Jt||Ot.__highDownDispatcher){var br=Jt?"off":"on";Ot[br]("mouseover",Z)[br]("mouseout",be),Ot[br]("emphasis",ne)[br]("normal",Ae),Ot.__highByOuter=Ot.__highByOuter||0,Ot.__highDownDispatcher=!Jt}}function xe(Ot){return!!(Ot&&Ot.__highDownDispatcher)}function Pe(Ot){var At=W[Ot];return At==null&&k<=32&&(At=W[Ot]=k++),At}function tt(Ot,At,Jt,br,Lr,Zr,In){Lr=Lr||I;var Gr=Lr.labelFetcher,Tr=Lr.labelDataIndex,fr=Lr.labelDimIndex,vt=Lr.labelProp,ft=Jt.getShallow("show"),De=br.getShallow("show"),je;(ft||De)&&(Gr&&(je=Gr.getFormattedLabel(Tr,"normal",null,fr,vt)),je==null&&(je=w.isFunction(Lr.defaultText)?Lr.defaultText(Tr,Lr):Lr.defaultText));var Ye=ft?je:null,st=De?w.retrieve2(Gr?Gr.getFormattedLabel(Tr,"emphasis",null,fr,vt):null,je):null;(Ye!=null||st!=null)&&(Oe(Ot,Jt,Zr,Lr),Oe(At,br,In,Lr,!0)),Ot.text=Ye,At.text=st}function Je(Ot,At,Jt){var br=Ot.style;At&&(Nt(br),Ot.setStyle(At),Ct(br)),br=Ot.__hoverStl,Jt&&br&&(Nt(br),w.extend(br,Jt),Ct(br))}function Oe(Ot,At,Jt,br,Lr){return Qe(Ot,At,br,Lr),Jt&&w.extend(Ot,Jt),Ot}function pt(Ot,At,Jt){var br={isRectText:!0},Lr;Jt===!1?Lr=!0:br.autoColor=Jt,Qe(Ot,At,br,Lr)}function Qe(Ot,At,Jt,br){if(Jt=Jt||I,Jt.isRectText){var Lr;Jt.getTextPosition?Lr=Jt.getTextPosition(At,br):(Lr=At.getShallow("position")||(br?null:"inside"),Lr==="outside"&&(Lr="top")),Ot.textPosition=Lr,Ot.textOffset=At.getShallow("offset");var Zr=At.getShallow("rotate");Zr!=null&&(Zr*=Math.PI/180),Ot.textRotation=Zr,Ot.textDistance=w.retrieve2(At.getShallow("distance"),br?null:5)}var In=At.ecModel,Gr=In&&In.option.textStyle,Tr=nt(At),fr;if(Tr){fr={};for(var vt in Tr)if(Tr.hasOwnProperty(vt)){var ft=At.getModel(["rich",vt]);bt(fr[vt]={},ft,Gr,Jt,br)}}return Ot.rich=fr,bt(Ot,At,Gr,Jt,br,!0),Jt.forceRich&&!Jt.textStyle&&(Jt.textStyle={}),Ot}function nt(Ot){for(var At;Ot&&Ot!==Ot.ecModel;){var Jt=(Ot.option||I).rich;if(Jt){At=At||{};for(var br in Jt)Jt.hasOwnProperty(br)&&(At[br]=1)}Ot=Ot.parentModel}return At}function bt(Ot,At,Jt,br,Lr,Zr){Jt=!Lr&&Jt||I,Ot.textFill=Tt(At.getShallow("color"),br)||Jt.color,Ot.textStroke=Tt(At.getShallow("textBorderColor"),br)||Jt.textBorderColor,Ot.textStrokeWidth=w.retrieve2(At.getShallow("textBorderWidth"),Jt.textBorderWidth),Lr||(Zr&&(Ot.insideRollbackOpt=br,Ct(Ot)),Ot.textFill==null&&(Ot.textFill=br.autoColor)),Ot.fontStyle=At.getShallow("fontStyle")||Jt.fontStyle,Ot.fontWeight=At.getShallow("fontWeight")||Jt.fontWeight,Ot.fontSize=At.getShallow("fontSize")||Jt.fontSize,Ot.fontFamily=At.getShallow("fontFamily")||Jt.fontFamily,Ot.textAlign=At.getShallow("align"),Ot.textVerticalAlign=At.getShallow("verticalAlign")||At.getShallow("baseline"),Ot.textLineHeight=At.getShallow("lineHeight"),Ot.textWidth=At.getShallow("width"),Ot.textHeight=At.getShallow("height"),Ot.textTag=At.getShallow("tag"),(!Zr||!br.disableBox)&&(Ot.textBackgroundColor=Tt(At.getShallow("backgroundColor"),br),Ot.textPadding=At.getShallow("padding"),Ot.textBorderColor=Tt(At.getShallow("borderColor"),br),Ot.textBorderWidth=At.getShallow("borderWidth"),Ot.textBorderRadius=At.getShallow("borderRadius"),Ot.textBoxShadowColor=At.getShallow("shadowColor"),Ot.textBoxShadowBlur=At.getShallow("shadowBlur"),Ot.textBoxShadowOffsetX=At.getShallow("shadowOffsetX"),Ot.textBoxShadowOffsetY=At.getShallow("shadowOffsetY")),Ot.textShadowColor=At.getShallow("textShadowColor")||Jt.textShadowColor,Ot.textShadowBlur=At.getShallow("textShadowBlur")||Jt.textShadowBlur,Ot.textShadowOffsetX=At.getShallow("textShadowOffsetX")||Jt.textShadowOffsetX,Ot.textShadowOffsetY=At.getShallow("textShadowOffsetY")||Jt.textShadowOffsetY}function Tt(Ot,At){return Ot!=="auto"?Ot:At&&At.autoColor?At.autoColor:null}function Ct(Ot){var At=Ot.textPosition,Jt=Ot.insideRollbackOpt,br;if(Jt&&Ot.textFill==null){var Lr=Jt.autoColor,Zr=Jt.isRectText,In=Jt.useInsideStyle,Gr=In!==!1&&(In===!0||Zr&&At&&typeof At=="string"&&At.indexOf("inside")>=0),Tr=!Gr&&Lr!=null;(Gr||Tr)&&(br={textFill:Ot.textFill,textStroke:Ot.textStroke,textStrokeWidth:Ot.textStrokeWidth}),Gr&&(Ot.textFill="#fff",Ot.textStroke==null&&(Ot.textStroke=Lr,Ot.textStrokeWidth==null&&(Ot.textStrokeWidth=2))),Tr&&(Ot.textFill=Lr)}Ot.insideRollback=br}function Nt(Ot){var At=Ot.insideRollback;At&&(Ot.textFill=At.textFill,Ot.textStroke=At.textStroke,Ot.textStrokeWidth=At.textStrokeWidth,Ot.insideRollback=null)}function Ge(Ot,At){var Jt=At&&At.getModel("textStyle");return w.trim([Ot.fontStyle||Jt&&Jt.getShallow("fontStyle")||"",Ot.fontWeight||Jt&&Jt.getShallow("fontWeight")||"",(Ot.fontSize||Jt&&Jt.getShallow("fontSize")||12)+"px",Ot.fontFamily||Jt&&Jt.getShallow("fontFamily")||"sans-serif"].join(" "))}function ie(Ot,At,Jt,br,Lr,Zr){typeof Lr=="function"&&(Zr=Lr,Lr=null);var In=br&&br.isAnimationEnabled();if(In){var Gr=Ot?"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(Jt,Tr,vt||0,fr,Zr,!!Zr):(At.stopAnimation(),At.attr(Jt),Zr&&Zr())}else At.stopAnimation(),At.attr(Jt),Zr&&Zr()}function Y(Ot,At,Jt,br,Lr){ie(!0,Ot,At,Jt,br,Lr)}function we(Ot,At,Jt,br,Lr){ie(!1,Ot,At,Jt,br,Lr)}function Ce(Ot,At){for(var Jt=m.identity([]);Ot&&Ot!==At;)m.mul(Jt,Ot.getLocalTransform(),Jt),Ot=Ot.parent;return Jt}function le(Ot,At,Jt){return At&&!w.isArrayLike(At)&&(At=s.getLocalTransform(At)),Jt&&(At=m.invert([],At)),v.applyTransform([],Ot,At)}function ot(Ot,At,Jt){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]),Zr=[Ot==="left"?-br:Ot==="right"?br:0,Ot==="top"?-Lr:Ot==="bottom"?Lr:0];return Zr=le(Zr,At,Jt),Math.abs(Zr[0])>Math.abs(Zr[1])?Zr[0]>0?"right":"left":Zr[1]>0?"bottom":"top"}function wt(Ot,At,Jt,br){if(!Ot||!At)return;function Lr(Gr){var Tr={};return Gr.traverse(function(fr){!fr.isGroup&&fr.anid&&(Tr[fr.anid]=fr)}),Tr}function Zr(Gr){var Tr={position:v.clone(Gr.position),rotation:Gr.rotation};return Gr.shape&&(Tr.shape=w.extend({},Gr.shape)),Tr}var In=Lr(Ot);At.traverse(function(Gr){if(!Gr.isGroup&&Gr.anid){var Tr=In[Gr.anid];if(Tr){var fr=Zr(Gr);Gr.attr(Zr(Tr)),Y(Gr,fr,Jt,Gr.dataIndex)}}})}function rt(Ot,At){return w.map(Ot,function(Jt){var br=Jt[0];br=x(br,At.x),br=_(br,At.x+At.width);var Lr=Jt[1];return Lr=x(Lr,At.y),Lr=_(Lr,At.y+At.height),[br,Lr]})}function It(Ot,At){var Jt=x(Ot.x,At.x),br=_(Ot.x+Ot.width,At.x+At.width),Lr=x(Ot.y,At.y),Zr=_(Ot.y+Ot.height,At.y+At.height);if(br>=Jt&&Zr>=Lr)return{x:Jt,y:Lr,width:br-Jt,height:Zr-Lr}}function Gt(Ot,At,Jt){At=w.extend({rectHover:!0},At);var br=At.style={strokeNoScale:!0};if(Jt=Jt||{x:-1,y:-1,width:2,height:2},Ot)return Ot.indexOf("image://")===0?(br.image=Ot.slice(8),w.defaults(br,Jt),new u(At)):Q(Ot.replace("path://",""),At,Jt,"center")}function lr(Ot,At,Jt,br,Lr){for(var Zr=0,In=Lr[Lr.length-1];Zr<Lr.length;Zr++){var Gr=Lr[Zr];if(pr(Ot,At,Jt,br,Gr[0],Gr[1],In[0],In[1]))return!0;In=Gr}}function pr(Ot,At,Jt,br,Lr,Zr,In,Gr){var Tr=Jt-Ot,fr=br-At,vt=In-Lr,ft=Gr-Zr,De=Rr(vt,ft,Tr,fr);if(xt(De))return!1;var je=Ot-Lr,Ye=At-Zr,st=Rr(je,Ye,Tr,fr)/De;if(st<0||st>1)return!1;var kt=Rr(je,Ye,vt,ft)/De;return!(kt<0||kt>1)}function Rr(Ot,At,Jt,br){return Ot*br-Jt*At}function xt(Ot){return Ot<=1e-6&&Ot>=-1e-6}K("circle",r),K("sector",i),K("ring",n),K("polygon",l),K("polyline",t),K("rect",a),K("line",c),K("bezierCurve",h),K("arc",f),P.Z2_EMPHASIS_LIFT=L,P.CACHED_LABEL_STYLE_PROPERTIES=D,P.extendShape=j,P.extendPath=H,P.registerShape=K,P.getShapeClass=U,P.makePath=Q,P.makeImage=V,P.mergePath=ae,P.resizePath=se,P.subPixelOptimizeLine=$,P.subPixelOptimizeRect=ge,P.subPixelOptimize=he,P.setElementHoverStyle=z,P.setHoverStyle=oe,P.setAsHighDownDispatcher=de,P.isHighDownDispatcher=xe,P.getHighlightDigit=Pe,P.setLabelStyle=tt,P.modifyLabelStyle=Je,P.setTextStyle=Oe,P.setText=pt,P.getFont=Ge,P.updateProps=Y,P.initProps=we,P.getTransform=Ce,P.applyTransform=le,P.transformDirection=ot,P.groupTransition=wt,P.clipPointsByRect=rt,P.clipRectByRect=It,P.createIcon=Gt,P.linePolygonIntersect=lr,P.lineLineIntersect=pr},IyTE:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("ecKF"),m=d.n(b),v=d("yNbn")},IyUQ:function(M,P,d){var w=d("bYtY"),A=d("YH21"),b=d("IwbS"),m=d("iLNv"),v=d("fc+c"),p=d("OELB"),s=d("+TT/"),u=d("72pK"),o=b.Rect,e=p.linearMap,r=p.asc,i=w.bind,n=w.each,l=7,t=1,a=30,c="horizontal",h="vertical",f=5,g=["line","bar","candlestick","scatter"],S=v.extend({type:"dataZoom.slider",init:function(T,x){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=x},render:function(T,x,_,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 b.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===c?{right:I.width-_.x-_.width,top:I.height-a-l,width:_.width,height:a}:{right:l,top:_.y,width:a,height:_.height},D=s.getLayoutParams(T.option);w.each(["right","top","width","height"],function(N){D[N]==="ph"&&(D[N]=L[N])});var B=s.getLayoutRect(D,I,T.padding);this._location={x:B.x,y:B.y},this._size=[B.width,B.height],this._orient===h&&this._size.reverse()},_positionGroup:function(){var T=this.group,x=this._location,_=this._orient,I=this.dataZoomModel.getFirstTargetAxisModel(),L=I&&I.get("inverse"),D=this._displayables.barGroup,B=(this._dataShadowInfo||{}).otherAxisInverse;D.attr(_===c&&!L?{scale:B?[1,1]:[1,-1]}:_===c&&L?{scale:B?[-1,1]:[-1,-1]}:_===h&&!L?{scale:B?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:B?[-1,-1]:[-1,1],rotation:Math.PI/2});var N=T.getBoundingRect([D]);T.attr("position",[x.x-N.x,x.y-N.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var T=this.dataZoomModel,x=this._size,_=this._displayables.barGroup;_.add(new o({silent:!0,shape:{x:0,y:0,width:x[0],height:x[1]},style:{fill:T.get("backgroundColor")},z2:-40})),_.add(new o({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 D=I.getDataExtent(L),B=(D[1]-D[0])*.3;D=[D[0]-B,D[1]+B];var N=[0,x[1]],k=[0,x[0]],W=[[x[0],0],[0,0]],R=[],j=k[1]/(I.count()-1),H=0,K=Math.round(I.count()/x[0]),U;I.each([L],function(V,J){if(K>0&&J%K){H+=j;return}var ae=V==null||isNaN(V)||V==="",se=ae?0:e(V,D,N,!0);ae&&!U&&J?(W.push([W[W.length-1][0],0]),R.push([R[R.length-1][0],0])):!ae&&U&&(W.push([H,0]),R.push([H,0])),W.push([H,se]),R.push([H,se]),H+=j,U=ae});var Q=this.dataZoomModel;this._displayables.barGroup.add(new b.Polygon({shape:{points:W},style:w.defaults({fill:Q.get("dataBackgroundColor")},Q.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new b.Polyline({shape:{points:R},style:Q.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,D){var B=T.getAxisProxy(L.name,D).getTargetSeriesModels();w.each(B,function(N){if(_)return;if(x!==!0&&w.indexOf(g,N.get("type"))<0)return;var k=I.getComponent(L.axis,D).axis,W=y(L.name),R,j=N.coordinateSystem;W!=null&&j.getOtherAxis&&(R=j.getOtherAxis(k).inverse),W=N.getData().mapDimension(W),_={thisAxis:k,series:N,thisDim:L.name,otherDim:W,otherAxisInverse:R}},this)},this),_},_renderHandle:function(){var T=this._displayables,x=T.handles=[],_=T.handleLabels=[],I=this._displayables.barGroup,L=this._size,D=this.dataZoomModel;I.add(T.filler=new o({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:D.get("fillerColor"),textPosition:"inside"}})),I.add(new o({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:L[0],height:L[1]},style:{stroke:D.get("dataBackgroundColor")||D.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),n([0,1],function(B){var N=b.createIcon(D.get("handleIcon"),{cursor:E(this._orient),draggable:!0,drift:i(this._onDragMove,this,B),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}),k=N.getBoundingRect();this._handleHeight=p.parsePercent(D.get("handleSize"),this._size[1]),this._handleWidth=k.width/k.height*this._handleHeight,N.setStyle(D.getModel("handleStyle").getItemStyle());var W=D.get("handleColor");W!=null&&(N.style.fill=W),I.add(x[B]=N);var R=D.textStyleModel;this.group.add(_[B]=new b.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:R.getTextColor(),textFont:R.getFont()},z2:10}))},this)},_resetInterval:function(){var 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(),D=_.findRepresentativeAxisProxy().getMinMaxSpan(),B=[0,100];u(x,I,L,_.get("zoomLock")?"all":T,D.minSpan!=null?e(D.minSpan,B,L,!0):null,D.maxSpan!=null?e(D.maxSpan,B,L,!0):null);var N=this._range,k=this._range=r([e(I[0],L,B,!0),e(I[1],L,B,!0)]);return!N||N[0]!==k[0]||N[1]!==k[1]},_updateView:function(T){var x=this._displayables,_=this._handleEnds,I=r(_.slice()),L=this._size;n([0,1],function(D){var B=x.handles[D],N=this._handleHeight;B.attr({scale:[N/2,N/2],position:[_[D],L[1]/2-N/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,D=["",""];if(x.get("showDetail")){var B=x.findRepresentativeAxisProxy();if(B){var N=B.getAxisModel().axis,k=this._range,W=T?B.calculateDataWindow({start:k[0],end:k[1]}).valueWindow:B.getDataValueWindow();D=[this._formatLabel(W[0],N),this._formatLabel(W[1],N)]}}var R=r(this._handleEnds.slice());j.call(this,0),j.call(this,1);function j(H){var K=b.getTransform(_.handles[H].parent,this.group),U=b.transformDirection(H===0?"right":"left",K),Q=this._handleWidth/2+f,V=b.applyTransform([R[H]+(H===0?-Q:Q),this._size[1]/2],K);I[H].setStyle({x:V[0],y:V[1],textVerticalAlign:L===c?"middle":U,textAlign:L===c?U:"center",text:D[H]})}},_formatLabel:function(T,x){var _=this.dataZoomModel,I=_.get("labelFormatter"),L=_.get("labelPrecision");(L==null||L==="auto")&&(L=x.getPixelPrecision());var D=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,D):w.isString(I)?I.replace("{value}",D):D},_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,A.stop(I.event);var L=this._displayables.barGroup.getLocalTransform(),D=b.applyTransform([x,_],L,!0),B=this._updateInterval(T,D[0]),N=this.dataZoomModel.get("realtime");this._updateView(!N),B&&N&&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,D=this._updateInterval("all",_[0]-L);this._updateView(),D&&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(n(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 y(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,P,d){(function(w){var A,b;(function(m,v){M.exports=v(m)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof w!="undefined"?w:this,function(m){"use strict";m=m||{};var v=m.Base64,p="2.6.4",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=function(N){for(var k={},W=0,R=N.length;W<R;W++)k[N.charAt(W)]=W;return k}(s),o=String.fromCharCode,e=function(k){if(k.length<2){var W=k.charCodeAt(0);return W<128?k:W<2048?o(192|W>>>6)+o(128|W&63):o(224|W>>>12&15)+o(128|W>>>6&63)+o(128|W&63)}else{var W=65536+(k.charCodeAt(0)-55296)*1024+(k.charCodeAt(1)-56320);return o(240|W>>>18&7)+o(128|W>>>12&63)+o(128|W>>>6&63)+o(128|W&63)}},r=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,i=function(k){return k.replace(r,e)},n=function(k){var W=[0,2,1][k.length%3],R=k.charCodeAt(0)<<16|(k.length>1?k.charCodeAt(1):0)<<8|(k.length>2?k.charCodeAt(2):0),j=[s.charAt(R>>>18),s.charAt(R>>>12&63),W>=2?"=":s.charAt(R>>>6&63),W>=1?"=":s.charAt(R&63)];return j.join("")},l=m.btoa&&typeof m.btoa=="function"?function(N){return m.btoa(N)}:function(N){if(N.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return N.replace(/[\s\S]{1,3}/g,n)},t=function(k){return l(i(String(k)))},a=function(k){return k.replace(/[+\/]/g,function(W){return W=="+"?"-":"_"}).replace(/=/g,"")},c=function(k,W){return W?a(t(k)):t(k)},h=function(k){return c(k,!0)},f;m.Uint8Array&&(f=function(k,W){for(var R="",j=0,H=k.length;j<H;j+=3){var K=k[j],U=k[j+1],Q=k[j+2],V=K<<16|U<<8|Q;R+=s.charAt(V>>>18)+s.charAt(V>>>12&63)+(typeof U!="undefined"?s.charAt(V>>>6&63):"=")+(typeof Q!="undefined"?s.charAt(V&63):"=")}return W?a(R):R});var g=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,S=function(k){switch(k.length){case 4:var W=(7&k.charCodeAt(0))<<18|(63&k.charCodeAt(1))<<12|(63&k.charCodeAt(2))<<6|63&k.charCodeAt(3),R=W-65536;return o((R>>>10)+55296)+o((R&1023)+56320);case 3:return o((15&k.charCodeAt(0))<<12|(63&k.charCodeAt(1))<<6|63&k.charCodeAt(2));default:return o((31&k.charCodeAt(0))<<6|63&k.charCodeAt(1))}},y=function(k){return k.replace(g,S)},E=function(k){var W=k.length,R=W%4,j=(W>0?u[k.charAt(0)]<<18:0)|(W>1?u[k.charAt(1)]<<12:0)|(W>2?u[k.charAt(2)]<<6:0)|(W>3?u[k.charAt(3)]:0),H=[o(j>>>16),o(j>>>8&255),o(j&255)];return H.length-=[0,0,2,1][R],H.join("")},C=m.atob&&typeof m.atob=="function"?function(N){return m.atob(N)}:function(N){return N.replace(/\S{1,4}/g,E)},T=function(k){return C(String(k).replace(/[^A-Za-z0-9\+\/]/g,""))},x=function(k){return y(C(k))},_=function(k){return String(k).replace(/[-_]/g,function(W){return W=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},I=function(k){return x(_(k))},L;m.Uint8Array&&(L=function(k){return Uint8Array.from(T(_(k)),function(W){return W.charCodeAt(0)})});var D=function(){var k=m.Base64;return m.Base64=v,k};if(m.Base64={VERSION:p,atob:T,btoa:l,fromBase64:I,toBase64:c,utob:i,encode:c,encodeURI:h,btou:y,decode:I,noConflict:D,fromUint8Array:f,toUint8Array:L},typeof Object.defineProperty=="function"){var B=function(k){return{value:k,enumerable:!1,writable:!0,configurable:!0}};m.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",B(function(){return I(this)})),Object.defineProperty(String.prototype,"toBase64",B(function(N){return c(this,N)})),Object.defineProperty(String.prototype,"toBase64URI",B(function(){return c(this,!0)}))}}return m.Meteor&&(Base64=m.Base64),M.exports?M.exports.Base64=m.Base64:!(A=[],b=function(){return m.Base64}.apply(P,A),b!==void 0&&(M.exports=b)),{Base64:m.Base64}})}).call(this,d("yLpj"))},JEkh:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),m=d("bYtY"),v=d("ItGF"),p=d("4NO4"),s=d("7aKB"),u=d("OKJ2"),o=s.addCommas,e=s.encodeHTML;function r(l){p.defaultEmphasis(l,"label",["show"])}var i=b.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(l,t,a){this.mergeDefaultAndTheme(l,a),this._mergeOption(l,a,!1,!0)},isAnimationEnabled:function(){if(v.node)return!1;var l=this.__hostSeries;return this.getShallow("animation")&&l&&l.isAnimationEnabled()},mergeOption:function(l,t){this._mergeOption(l,t,!1,!1)},_mergeOption:function(l,t,a,c){var h=this.constructor,f=this.mainType+"Model";a||t.eachSeries(function(g){var S=g.get(this.mainType,!0),y=g[f];if(!S||!S.data){g[f]=null;return}y?y._mergeOption(S,t,!0):(c&&r(S),m.each(S.data,function(E){E instanceof Array?(r(E[0]),r(E[1])):r(E)}),y=new h(S,this,t),m.extend(y,{mainType:this.mainType,seriesIndex:g.seriesIndex,name:g.name,createdBySelf:!0}),y.__hostSeries=g),g[f]=y},this)},formatTooltip:function(l){var t=this.getData(),a=this.getRawValue(l),c=m.isArray(a)?m.map(a,o).join(", "):o(a),h=t.getName(l),f=e(this.name);return(a!=null||h)&&(f+="<br />"),h&&(f+=e(h),a!=null&&(f+=" : ")),a!=null&&(f+=e(c)),f},getData:function(){return this._data},setData:function(l){this._data=l}});m.mixin(i,u);var n=i;M.exports=n},JLnu:function(M,P,d){var w=d("+TT/"),A=d("OELB"),b=A.parsePercent,m=A.linearMap;function v(o,e){return w.getLayoutRect(o.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function p(o,e){for(var r=o.mapDimension("value"),i=o.mapArray(r,function(c){return c}),n=[],l=e==="ascending",t=0,a=o.count();t<a;t++)n[t]=t;return typeof e=="function"?n.sort(e):e!=="none"&&n.sort(function(c,h){return l?i[c]-i[h]:i[h]-i[c]}),n}function s(o){o.each(function(e){var r=o.getItemModel(e),i=r.getModel("label"),n=i.get("position"),l=r.getModel("labelLine"),t=o.getItemLayout(e),a=t.points,c=n==="inner"||n==="inside"||n==="center"||n==="insideLeft"||n==="insideRight",h,f,g,S;if(c)n==="insideLeft"?(f=(a[0][0]+a[3][0])/2+5,g=(a[0][1]+a[3][1])/2,h="left"):n==="insideRight"?(f=(a[1][0]+a[2][0])/2-5,g=(a[1][1]+a[2][1])/2,h="right"):(f=(a[0][0]+a[1][0]+a[2][0]+a[3][0])/4,g=(a[0][1]+a[1][1]+a[2][1]+a[3][1])/4,h="center"),S=[[f,g],[f,g]];else{var y,E,C,T=l.get("length");n==="left"?(y=(a[3][0]+a[0][0])/2,E=(a[3][1]+a[0][1])/2,C=y-T,f=C-5,h="right"):n==="right"?(y=(a[1][0]+a[2][0])/2,E=(a[1][1]+a[2][1])/2,C=y+T,f=C+5,h="left"):n==="rightTop"?(y=a[1][0],E=a[1][1],C=y+T,f=C+5,h="top"):n==="rightBottom"?(y=a[2][0],E=a[2][1],C=y+T,f=C+5,h="bottom"):n==="leftTop"?(y=a[0][0],E=a[1][1],C=y-T,f=C-5,h="right"):n==="leftBottom"?(y=a[3][0],E=a[2][1],C=y-T,f=C-5,h="right"):(y=(a[1][0]+a[2][0])/2,E=(a[1][1]+a[2][1])/2,C=y+T,f=C+5,h="left");var x=E;S=[[y,E],[C,x]],g=x}t.label={linePoints:S,x:f,y:g,verticalAlign:"middle",textAlign:h,inside:c}})}function u(o,e,r){o.eachSeriesByType("funnel",function(i){var n=i.getData(),l=n.mapDimension("value"),t=i.get("sort"),a=v(i,e),c=p(n,t),h=[b(i.get("minSize"),a.width),b(i.get("maxSize"),a.width)],f=n.getDataExtent(l),g=i.get("min"),S=i.get("max");g==null&&(g=Math.min(f[0],0)),S==null&&(S=f[1]);var y=i.get("funnelAlign"),E=i.get("gap"),C=(a.height-E*(n.count()-1))/n.count(),T=a.y,x=function(W,R){var j=n.get(l,W)||0,H=m(j,[g,S],h,!0),K;switch(y){case"left":K=a.x;break;case"center":K=a.x+(a.width-H)/2;break;case"right":K=a.x+a.width-H;break}return[[K,R],[K+H,R]]};t==="ascending"&&(C=-C,E=-E,T+=a.height,c=c.reverse());for(var _=0;_<c.length;_++){var I=c[_],L=c[_+1],D=n.getItemModel(I),B=D.get("itemStyle.height");B==null?B=C:(B=b(B,a.height),t==="ascending"&&(B=-B));var N=x(I,T),k=x(L,T+B);T+=B+E,n.setItemLayout(I,{points:N.concat(k.slice().reverse())})}s(n)})}M.exports=u},JNlW:function(M,P,d){},JSwD:function(M,P,d){"use strict";function w(a){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(a)}Object.defineProperty(P,"__esModule",{value:!0}),P.default=t;var A=m(d("6BzB"));function b(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return b=function(){return a},a}function m(a){if(a&&a.__esModule)return a;if(a===null||w(a)!=="object"&&typeof a!="function")return{default:a};var c=b();if(c&&c.has(a))return c.get(a);var h={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if(Object.prototype.hasOwnProperty.call(a,g)){var S=f?Object.getOwnPropertyDescriptor(a,g):null;S&&(S.get||S.set)?Object.defineProperty(h,g,S):h[g]=a[g]}return h.default=a,c&&c.set(a,h),h}var v=15,p=852,s=592,u=0,o=1,e=2,r=[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],n=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function t(a,c,h,f,g,S,y,E){var C=E.bits,T=0,x=0,_=0,I=0,L=0,D=0,B=0,N=0,k=0,W=0,R,j,H,K,U,Q=null,V=0,J,ae=new A.Buf16(v+1),se=new A.Buf16(v+1),$=null,ge=0,he,Ie,Se;for(T=0;T<=v;T++)ae[T]=0;for(x=0;x<f;x++)ae[c[h+x]]++;for(L=C,I=v;I>=1&&!(ae[I]!==0);I--);if(L>I&&(L=I),I===0)return g[S++]=1<<24|64<<16|0,g[S++]=1<<24|64<<16|0,E.bits=1,0;for(_=1;_<I&&!(ae[_]!==0);_++);for(L<_&&(L=_),N=1,T=1;T<=v;T++)if(N<<=1,N-=ae[T],N<0)return-1;if(N>0&&(a===u||I!==1))return-1;for(se[1]=0,T=1;T<v;T++)se[T+1]=se[T]+ae[T];for(x=0;x<f;x++)c[h+x]!==0&&(y[se[c[h+x]]++]=x);if(a===u?(Q=$=y,J=19):a===o?(Q=r,V-=257,$=i,ge-=257,J=256):(Q=n,$=l,J=-1),W=0,x=0,T=_,U=S,D=L,B=0,H=-1,k=1<<L,K=k-1,a===o&&k>p||a===e&&k>s)return 1;for(;;){he=T-B,y[x]<J?(Ie=0,Se=y[x]):y[x]>J?(Ie=$[ge+y[x]],Se=Q[V+y[x]]):(Ie=32+64,Se=0),R=1<<T-B,j=1<<D,_=j;do j-=R,g[U+(W>>B)+j]=he<<24|Ie<<16|Se|0;while(j!==0);for(R=1<<T-1;W&R;)R>>=1;if(R!==0?(W&=R-1,W+=R):W=0,x++,--ae[T]===0){if(T===I)break;T=c[h+y[x]]}if(T>L&&(W&K)!==H){for(B===0&&(B=L),U+=_,D=T-B,N=1<<D;D+B<I&&!(N-=ae[D+B],N<=0);)D++,N<<=1;if(k+=1<<D,a===o&&k>p||a===e&&k>s)return 1;H=W&K,g[H]=L<<24|D<<16|U-S|0}}return W!==0&&(g[U+W]=T-B<<24|64<<16|0),E.bits=L,0}},JVwQ:function(M,P,d){var w=d("ProS"),A=d("1NG9"),b=A.Polygon,m=d("IwbS"),v=d("bYtY"),p=v.bind,s=v.extend,u=d("gPAo"),o=w.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(r,i,n){var l=r.getData(),t=this.group,a=r.getLayerSeries(),c=l.getLayout("layoutInfo"),h=c.rect,f=c.boundaryGap;t.attr("position",[0,h.y+f[0]]);function g(C){return C.name}var S=new u(this._layersSeries||[],a,g,g),y={};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=[],D,B=a[T].indices,N=0;N<B.length;N++){var k=l.getItemLayout(B[N]),W=k.x,R=k.y0,j=k.y;I.push([W,R]),L.push([W,R+j]),D=l.getItemVisual(B[N],"color")}var H,K,U=l.getItemLayout(B[0]),Q=l.getItemModel(B[N-1]),V=Q.getModel("label"),J=V.get("margin");if(C==="add"){var ae=y[T]=new m.Group;H=new b({shape:{points:I,stackedOnPoints:L,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),K=new m.Text({style:{x:U.x-J,y:U.y0+U.y/2}}),ae.add(H),ae.add(K),t.add(ae),H.setClipPath(e(H.getBoundingRect(),r,function(){H.removeClipPath()}))}else{var ae=_[x];H=ae.childAt(0),K=ae.childAt(1),t.add(ae),y[T]=ae,m.updateProps(H,{shape:{points:I,stackedOnPoints:L}},r),m.updateProps(K,{style:{x:U.x-J,y:U.y0+U.y/2}},r)}var se=Q.getModel("emphasis.itemStyle"),$=Q.getModel("itemStyle");m.setTextStyle(K.style,V,{text:V.get("show")?r.getFormattedLabel(B[N-1],"normal")||l.getName(B[N-1]):null,textVerticalAlign:"middle"}),H.setStyle(s({fill:D},$.getItemStyle(["color"]))),m.setHoverStyle(H,se.getItemStyle())}this._layersSeries=a,this._layers=y},dispose:function(){}});function e(r,i,n){var l=new m.Rect({shape:{x:r.x-10,y:r.y-10,width:0,height:r.height+20}});return m.initProps(l,{shape:{width:r.width+20,height:r.height+20}},i,n),l}M.exports=o},JZiQ:function(M,P,d){},JuEJ:function(M,P,d){var w=d("bYtY"),A=d("4NO4"),b=w.each,m=w.isObject,v=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function p(t){var a=t&&t.itemStyle;if(!a)return;for(var c=0,h=v.length;c<h;c++){var f=v[c],g=a.normal,S=a.emphasis;g&&g[f]&&(t[f]=t[f]||{},t[f].normal?w.merge(t[f].normal,g[f]):t[f].normal=g[f],g[f]=null),S&&S[f]&&(t[f]=t[f]||{},t[f].emphasis?w.merge(t[f].emphasis,S[f]):t[f].emphasis=S[f],S[f]=null)}}function s(t,a,c){if(t&&t[a]&&(t[a].normal||t[a].emphasis)){var h=t[a].normal,f=t[a].emphasis;h&&(c?(t[a].normal=t[a].emphasis=null,w.defaults(t[a],h)):t[a]=h),f&&(t.emphasis=t.emphasis||{},t.emphasis[a]=f)}}function u(t){s(t,"itemStyle"),s(t,"lineStyle"),s(t,"areaStyle"),s(t,"label"),s(t,"labelLine"),s(t,"upperLabel"),s(t,"edgeLabel")}function o(t,a){var c=m(t)&&t[a],h=m(c)&&c.textStyle;if(h)for(var f=0,g=A.TEXT_STYLE_OPTIONS.length;f<g;f++){var a=A.TEXT_STYLE_OPTIONS[f];h.hasOwnProperty(a)&&(c[a]=h[a])}}function e(t){t&&(u(t),o(t,"label"),t.emphasis&&o(t.emphasis,"label"))}function r(t){if(!m(t))return;p(t),u(t),o(t,"label"),o(t,"upperLabel"),o(t,"edgeLabel"),t.emphasis&&(o(t.emphasis,"label"),o(t.emphasis,"upperLabel"),o(t.emphasis,"edgeLabel"));var a=t.markPoint;a&&(p(a),e(a));var c=t.markLine;c&&(p(c),e(c));var h=t.markArea;h&&e(h);var f=t.data;if(t.type==="graph"){f=f||t.nodes;var g=t.links||t.edges;if(g&&!w.isTypedArray(g))for(var S=0;S<g.length;S++)e(g[S]);w.each(t.categories,function(C){u(C)})}if(f&&!w.isTypedArray(f))for(var S=0;S<f.length;S++)e(f[S]);var a=t.markPoint;if(a&&a.data)for(var y=a.data,S=0;S<y.length;S++)e(y[S]);var c=t.markLine;if(c&&c.data)for(var E=c.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"?(o(t,"axisLabel"),o(t,"title"),o(t,"detail")):t.type==="treemap"?(s(t.breadcrumb,"itemStyle"),w.each(t.levels,function(C){u(C)})):t.type==="tree"&&u(t.leaves)}function i(t){return w.isArray(t)?t:t?[t]:[]}function n(t){return(w.isArray(t)?t[0]:t)||{}}function l(t,a){b(i(t.series),function(h){m(h)&&r(h)});var c=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];a&&c.push("valueAxis","categoryAxis","logAxis","timeAxis"),b(c,function(h){b(i(t[h]),function(f){f&&(o(f,"axisLabel"),o(f.axisPointer,"label"))})}),b(i(t.parallel),function(h){var f=h&&h.parallelAxisDefault;o(f,"axisLabel"),o(f&&f.axisPointer,"label")}),b(i(t.calendar),function(h){s(h,"itemStyle"),o(h,"dayLabel"),o(h,"monthLabel"),o(h,"yearLabel")}),b(i(t.radar),function(h){o(h,"name")}),b(i(t.geo),function(h){m(h)&&(e(h),b(i(h.regions),function(f){e(f)}))}),b(i(t.timeline),function(h){e(h),s(h,"label"),s(h,"itemStyle"),s(h,"controlStyle",!0);var f=h.data;w.isArray(f)&&w.each(f,function(g){w.isObject(g)&&(s(g,"label"),s(g,"itemStyle"))})}),b(i(t.toolbox),function(h){s(h,"iconStyle"),b(h.feature,function(f){s(f,"iconStyle")})}),o(n(t.axisPointer),"label"),o(n(t.tooltip).axisPointer,"label")}M.exports=l},"Jw/g":function(M,P,d){"use strict";var w=d("U8pU"),A=d("rePB"),b=d("ODXe"),m=d("wx14"),v=d("q1tI"),p=d("TSYQ"),s=d.n(p),u=d("bT9E"),o=d("VTBJ"),e=d("KQm4"),r=d("x/xZ"),i=d("Gytx"),n=d.n(i),l=d("Kwbf"),t=d("t23M"),a=d("qx4F");function c(Yt){return null}var h=c;function f(Yt){return null}var g=f,S=d("Ff2n"),y=d("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 Jr=C(Ir),Ke=Yt,gt=0;gt<Jr.length;gt+=1){if(!Ke)return null;var Xt=Jr[gt];Ke=Ke[Xt]}return Ke}function x(Yt){var Ir=[],Jr={};return Yt.forEach(function(Ke){for(var gt=Ke||{},Xt=gt.key,Wt=gt.dataIndex,vr=Xt||C(Wt).join("-")||E;Jr[vr];)vr="".concat(vr,"_next");Jr[vr]=!0,Ir.push(vr)}),Ir}function _(){var Yt={};function Ir(Xt,Wt){Wt&&Object.keys(Wt).forEach(function(vr){var or=Wt[vr];or&&Object(w.a)(or)==="object"?(Xt[vr]=Xt[vr]||{},Ir(Xt[vr],or)):Xt[vr]=or})}for(var Jr=arguments.length,Ke=new Array(Jr),gt=0;gt<Jr;gt++)Ke[gt]=arguments[gt];return Ke.forEach(function(Xt){Ir(Yt,Xt)}),Yt}function I(Yt){return Yt!=null}var L=["colSpan","rowSpan","style","className"];function D(Yt){return Yt&&Object(w.a)(Yt)==="object"&&!Array.isArray(Yt)&&!v.isValidElement(Yt)}function B(Yt){return typeof Yt=="string"?!0:Object(y.c)(Yt)}function N(Yt,Ir){var Jr,Ke=Yt.prefixCls,gt=Yt.className,Xt=Yt.record,Wt=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,ki=Yt.isSticky,ci="".concat(Ke,"-cell"),wi,fi;if(Vr)fi=Vr;else{var Mi=T(Xt,vr);if(fi=Mi,or){var fa=or(Mi,Xt,Wt);D(fa)?(fi=fa.children,wi=fa.props):fi=fa}}Object(w.a)(fi)==="object"&&!Array.isArray(fi)&&!v.isValidElement(fi)&&(fi=null),Ni&&(Yr||fn)&&(fi=v.createElement("span",{className:"".concat(ci,"-content")},fi));var Wi=wi||{},ma=Wi.colSpan,aa=Wi.rowSpan,ya=Wi.style,Ea=Wi.className,ca=Object(S.a)(Wi,L),Ma=ma!==void 0?ma:dn,wa=aa!==void 0?aa:on;if(Ma===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 Ji={};qn&&(Ji.textAlign=qn);var Si,Hi=Ni===!0?{showTitle:!0}:Ni;Hi&&(Hi.showTitle||Pn==="header")&&(typeof fi=="string"||typeof fi=="number"?Si=fi.toString():v.isValidElement(fi)&&typeof fi.props.children=="string"&&(Si=fi.props.children));var Oa=Object(o.a)(Object(o.a)(Object(o.a)({title:Si},ca),si),{},{colSpan:Ma&&Ma!==1?Ma:null,rowSpan:wa&&wa!==1?wa:null,className:s()(ci,gt,(Jr={},Object(A.a)(Jr,"".concat(ci,"-fix-left"),xi),Object(A.a)(Jr,"".concat(ci,"-fix-left-first"),an),Object(A.a)(Jr,"".concat(ci,"-fix-left-last"),Yr),Object(A.a)(Jr,"".concat(ci,"-fix-right"),ji),Object(A.a)(Jr,"".concat(ci,"-fix-right-first"),fn),Object(A.a)(Jr,"".concat(ci,"-fix-right-last"),vn),Object(A.a)(Jr,"".concat(ci,"-ellipsis"),Ni),Object(A.a)(Jr,"".concat(ci,"-with-append"),Ln),Object(A.a)(Jr,"".concat(ci,"-fix-sticky"),(xi||ji)&&ki),Jr),si.className,Ea),style:Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)({},si.style),Ji),_i),ya),ref:B(Dr)?Ir:null});return v.createElement(Dr,Oa,Ln,fi)}var k=v.forwardRef(N);k.displayName="Cell";var W=v.memo(k,function(Yt,Ir){return Ir.shouldCellUpdate?!Ir.shouldCellUpdate(Ir.record,Yt.record):!1}),R=W,j=v.createContext(null),H=j;function K(Yt,Ir,Jr,Ke,gt){var Xt=Jr[Yt]||{},Wt=Jr[Ir]||{},vr,or;Xt.fixed==="left"?vr=Ke.left[Yt]:Wt.fixed==="right"&&(or=Ke.right[Ir]);var Vr=!1,Kr=!1,Dr=!1,dn=!1,on=Jr[Ir+1],Cn=Jr[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:Ke.isSticky}}function U(Yt){var Ir=Yt.cells,Jr=Yt.stickyOffsets,Ke=Yt.flattenColumns,gt=Yt.rowComponent,Xt=Yt.cellComponent,Wt=Yt.onHeaderRow,vr=Yt.index,or=v.useContext(H),Vr=or.prefixCls,Kr=or.direction,Dr;Wt&&(Dr=Wt(Ir.map(function(on){return on.column}),vr));var dn=x(Ir.map(function(on){return on.column}));return v.createElement(gt,Dr,Ir.map(function(on,Cn){var sn=on.column,an=K(on.colStart,on.colEnd,Ke,Jr,Kr),Yr;return sn&&sn.onHeaderCell&&(Yr=on.column.onHeaderCell(sn)),v.createElement(R,Object(m.a)({},on,{ellipsis:sn.ellipsis,align:sn.align,component:Xt,prefixCls:Vr,key:dn[Cn]},an,{additionalProps:Yr,rowType:"header"}))}))}U.displayName="HeaderRow";var Q=U;function V(Yt){var Ir=[];function Jr(Wt,vr){var or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ir[or]=Ir[or]||[];var Vr=vr,Kr=Wt.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=Jr(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}Jr(Yt,0);for(var Ke=Ir.length,gt=function(vr){Ir[vr].forEach(function(or){!("rowSpan"in or)&&!or.hasSubColumns&&(or.rowSpan=Ke-vr)})},Xt=0;Xt<Ke;Xt+=1)gt(Xt);return Ir}function J(Yt){var Ir=Yt.stickyOffsets,Jr=Yt.columns,Ke=Yt.flattenColumns,gt=Yt.onHeaderRow,Xt=v.useContext(H),Wt=Xt.prefixCls,vr=Xt.getComponent,or=v.useMemo(function(){return V(Jr)},[Jr]),Vr=vr(["header","wrapper"],"thead"),Kr=vr(["header","row"],"tr"),Dr=vr(["header","cell"],"th");return v.createElement(Vr,{className:"".concat(Wt,"-thead")},or.map(function(dn,on){var Cn=v.createElement(Q,{key:on,flattenColumns:Ke,cells:dn,stickyOffsets:Ir,rowComponent:Kr,cellComponent:Dr,onHeaderRow:gt,index:on});return Cn}))}var ae=J,se=v.createContext(null),$=se;function ge(Yt){var Ir=Yt.prefixCls,Jr=Yt.children,Ke=Yt.component,gt=Yt.cellComponent,Xt=Yt.fixHeader,Wt=Yt.fixColumn,vr=Yt.horizonScroll,or=Yt.className,Vr=Yt.expanded,Kr=Yt.componentWidth,Dr=Yt.colSpan,dn=v.useContext(H),on=dn.scrollbarSize;return v.useMemo(function(){var Cn=Jr;return Wt&&(Cn=v.createElement("div",{style:{width:Kr-(Xt?on:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Ir,"-expanded-row-fixed")},Cn)),v.createElement(Ke,{className:or,style:{display:Vr?null:"none"}},v.createElement(R,{component:gt,prefixCls:Ir,colSpan:Dr},Cn))},[Jr,Ke,Xt,vr,or,Vr,Kr,Dr,on])}var he=ge;function Ie(Yt){var Ir=Yt.className,Jr=Yt.style,Ke=Yt.record,gt=Yt.index,Xt=Yt.rowKey,Wt=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=v.useContext(H),an=sn.prefixCls,Yr=sn.fixedInfoList,fn=v.useContext($),vn=fn.fixHeader,Ln=fn.fixColumn,oi=fn.horizonScroll,si=fn.componentWidth,Ni=fn.flattenColumns,qn=fn.expandableType,Pn=fn.expandRowByClick,ki=fn.onTriggerExpand,ci=fn.rowClassName,wi=fn.expandedRowClassName,fi=fn.indentSize,Mi=fn.expandIcon,fa=fn.expandedRowRender,Wi=fn.expandIconColumnIndex,ma=v.useState(!1),aa=Object(b.a)(ma,2),ya=aa[0],Ea=aa[1],ca=or&&or.has(Yt.recordKey);v.useEffect(function(){ca&&Ea(!0)},[ca]);var Ma=qn==="row"&&(!vr||vr(Ke)),wa=qn==="nest",_i=Cn&&Ke&&Ke[Cn],xi=Ma||wa,ji;Vr&&(ji=Vr(Ke,gt));var Ji=function(co){if(Pn&&xi&&ki(Ke,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(Ke,gt,Dr));var Hi=x(Ni),Oa=v.createElement(dn,Object(m.a)({},ji,{"data-row-key":Xt,className:s()(Ir,"".concat(an,"-row"),"".concat(an,"-row-level-").concat(Dr),Si,ji&&ji.className),style:Object(o.a)(Object(o.a)({},Jr),ji?ji.style:null),onClick:Ji}),Ni.map(function(Xa,co){var so=Xa.render,Ao=Xa.dataIndex,io=Xa.className,pa=Hi[co],ga=Yr[co],ba;co===(Wi||0)&&wa&&(ba=v.createElement(v.Fragment,null,v.createElement("span",{style:{paddingLeft:"".concat(fi*Dr,"px")},className:"".concat(an,"-row-indent indent-level-").concat(Dr)}),Mi({prefixCls:an,expanded:ca,expandable:_i,record:Ke,onExpand:ki})));var Oi;return Xa.onCell&&(Oi=Xa.onCell(Ke,gt)),v.createElement(R,Object(m.a)({className:io,ellipsis:Xa.ellipsis,align:Xa.align,component:on,prefixCls:an,key:pa,record:Ke,index:gt,dataIndex:Ao,render:so,shouldCellUpdate:Xa.shouldCellUpdate},ga,{appendNode:ba,additionalProps:Oi}))})),_a;if(Ma&&(ya||ca)){var la=fa(Ke,gt,Dr+1,ca),va=wi&&wi(Ke,gt,Dr);_a=v.createElement(he,{expanded:ca,className:s()("".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 Fa;return _i&&ca&&(Fa=(Ke[Cn]||[]).map(function(Xa,co){var so=Wt(Xa,co);return v.createElement(Ie,Object(m.a)({},Yt,{key:so,rowKey:so,record:Xa,recordKey:so,index:co,indent:Dr+1}))})),v.createElement(v.Fragment,null,Oa,_a,Fa)}Ie.displayName="BodyRow";var Se=Ie,Le=v.createContext(null),He=Le;function G(Yt){var Ir=Yt.columnKey,Jr=Yt.onColumnResize,Ke=v.useRef();return v.useEffect(function(){Ke.current&&Jr(Ir,Ke.current.offsetWidth)},[]),v.createElement(t.a,{onResize:function(Xt){var Wt=Xt.offsetWidth;Jr(Ir,Wt)}},v.createElement("td",{ref:Ke,style:{padding:0,border:0,height:0}},v.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function pe(Yt){var Ir=Yt.data,Jr=Yt.getRowKey,Ke=Yt.measureColumnWidth,gt=Yt.expandedKeys,Xt=Yt.onRow,Wt=Yt.rowExpandable,vr=Yt.emptyNode,or=Yt.childrenColumnName,Vr=v.useContext(He),Kr=Vr.onColumnResize,Dr=v.useContext(H),dn=Dr.prefixCls,on=Dr.getComponent,Cn=v.useContext($),sn=Cn.fixHeader,an=Cn.horizonScroll,Yr=Cn.flattenColumns,fn=Cn.componentWidth;return v.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 ki=Jr(qn,Pn);return v.createElement(Se,{key:ki,rowKey:ki,record:qn,recordKey:ki,index:Pn,rowComponent:Ln,cellComponent:oi,expandedKeys:gt,onRow:Xt,getRowKey:Jr,rowExpandable:Wt,childrenColumnName:or})}):si=v.createElement(he,{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 v.createElement(vn,{className:"".concat(dn,"-tbody")},Ke&&v.createElement("tr",{"aria-hidden":"true",className:"".concat(dn,"-measure-row"),style:{height:0,fontSize:0}},Ni.map(function(qn){return v.createElement(G,{key:qn,columnKey:qn,onColumnResize:Kr})})),si)},[Ir,dn,Xt,Ke,gt,Jr,on,fn,vr,Yr])}var We=v.memo(pe);We.displayName="Body";var te=We,X=d("Zm9Q"),z=["expandable"],Z="RC_TABLE_INTERNAL_COL_DEFINE";function be(Yt){var Ir=Yt.expandable,Jr=Object(S.a)(Yt,z);return"expandable"in Yt?Object(o.a)(Object(o.a)({},Jr),Ir):Jr}function ne(Yt){return Object.keys(Yt).reduce(function(Ir,Jr){return(Jr.substr(0,5)==="data-"||Jr.substr(0,5)==="aria-")&&(Ir[Jr]=Yt[Jr]),Ir},{})}var Ae=["children"],Ne=["fixed"];function oe(Yt){return Object(X.a)(Yt).filter(function(Ir){return v.isValidElement(Ir)}).map(function(Ir){var Jr=Ir.key,Ke=Ir.props,gt=Ke.children,Xt=Object(S.a)(Ke,Ae),Wt=Object(o.a)({key:Jr},Xt);return gt&&(Wt.children=oe(gt)),Wt})}function de(Yt){return Yt.reduce(function(Ir,Jr){var Ke=Jr.fixed,gt=Ke===!0?"left":Ke,Xt=Jr.children;return Xt&&Xt.length>0?[].concat(Object(e.a)(Ir),Object(e.a)(de(Xt).map(function(Wt){return Object(o.a)({fixed:gt},Wt)}))):[].concat(Object(e.a)(Ir),[Object(o.a)(Object(o.a)({},Jr),{},{fixed:gt})])},[])}function xe(Yt){for(var Ir=!0,Jr=0;Jr<Yt.length;Jr+=1){var Ke=Yt[Jr];if(Ir&&Ke.fixed!=="left")Ir=!1;else if(!Ir&&Ke.fixed==="left"){Object(l.a)(!1,"Index ".concat(Jr-1," of `columns` missing `fixed='left'` prop."));break}}for(var gt=!0,Xt=Yt.length-1;Xt>=0;Xt-=1){var Wt=Yt[Xt];if(gt&&Wt.fixed!=="right")gt=!1;else if(!gt&&Wt.fixed==="right"){Object(l.a)(!1,"Index ".concat(Xt+1," of `columns` missing `fixed='right'` prop."));break}}}function Pe(Yt){return Yt.map(function(Ir){var Jr=Ir.fixed,Ke=Object(S.a)(Ir,Ne),gt=Jr;return Jr==="left"?gt="right":Jr==="right"&&(gt="left"),Object(o.a)({fixed:gt},Ke)})}function tt(Yt,Ir){var Jr=Yt.prefixCls,Ke=Yt.columns,gt=Yt.children,Xt=Yt.expandable,Wt=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=v.useMemo(function(){return Ke||oe(gt)},[Ke,gt]),Yr=v.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(A.a)(Ln,Z,{className:"".concat(Jr,"-expand-icon-col")}),Object(A.a)(Ln,"title",""),Object(A.a)(Ln,"fixed",Ni),Object(A.a)(Ln,"className","".concat(Jr,"-row-expand-icon-cell")),Object(A.a)(Ln,"width",Cn),Object(A.a)(Ln,"render",function(ci,wi,fi){var Mi=vr(wi,fi),fa=Wt.has(Mi),Wi=Kr?Kr(wi):!0,ma=Vr({prefixCls:Jr,expanded:fa,expandable:Wi,record:wi,onExpand:or});return on?v.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,Wt,Vr,dn]),fn=v.useMemo(function(){var Ln=Yr;return Ir&&(Ln=Ir(Ln)),Ln.length||(Ln=[{render:function(){return null}}]),Ln},[Ir,Yr,dn]),vn=v.useMemo(function(){return dn==="rtl"?Pe(de(fn)):de(fn)},[fn,dn]);return[fn,vn]}var Je=tt;function Oe(Yt){var Ir=Object(v.useRef)(Yt),Jr=Object(v.useState)({}),Ke=Object(b.a)(Jr,2),gt=Ke[1],Xt=Object(v.useRef)(null),Wt=Object(v.useRef)([]);function vr(or){Wt.current.push(or);var Vr=Promise.resolve();Xt.current=Vr,Vr.then(function(){if(Xt.current===Vr){var Kr=Wt.current,Dr=Ir.current;Wt.current=[],Kr.forEach(function(dn){Ir.current=dn(Ir.current)}),Xt.current=null,Dr!==Ir.current&>({})}})}return Object(v.useEffect)(function(){return function(){Xt.current=null}},[]),[Ir.current,vr]}function pt(Yt){var Ir=Object(v.useRef)(Yt||null),Jr=Object(v.useRef)();function Ke(){window.clearTimeout(Jr.current)}function gt(Wt){Ir.current=Wt,Ke(),Jr.current=window.setTimeout(function(){Ir.current=null,Jr.current=void 0},100)}function Xt(){return Ir.current}return Object(v.useEffect)(function(){return Ke},[]),[gt,Xt]}function Qe(Yt,Ir,Jr){var Ke=Object(v.useMemo)(function(){for(var gt=[],Xt=[],Wt=0,vr=0,or=0;or<Ir;or+=1)if(Jr==="rtl"){Xt[or]=vr,vr+=Yt[or]||0;var Vr=Ir-or-1;gt[Vr]=Wt,Wt+=Yt[Vr]||0}else{gt[or]=Wt,Wt+=Yt[or]||0;var Kr=Ir-or-1;Xt[Kr]=vr,vr+=Yt[Kr]||0}return{left:gt,right:Xt}},[Yt,Ir,Jr]);return Ke}var nt=Qe;function bt(Yt){for(var Ir=Yt.colWidths,Jr=Yt.columns,Ke=Yt.columCount,gt=[],Xt=Ke||Jr.length,Wt=!1,vr=Xt-1;vr>=0;vr-=1){var or=Ir[vr],Vr=Jr&&Jr[vr],Kr=Vr&&Vr[Z];(or||Kr||Wt)&&(gt.unshift(v.createElement("col",Object(m.a)({key:vr,style:{width:or}},Kr))),Wt=!0)}return v.createElement("colgroup",null,gt)}var Tt=bt;function Ct(Yt){var Ir=Yt.className,Jr=Yt.children;return v.createElement("div",{className:Ir},Jr)}var Nt=Ct;function Ge(Yt){var Ir=Yt.className,Jr=Yt.index,Ke=Yt.children,gt=Yt.colSpan,Xt=gt===void 0?1:gt,Wt=Yt.rowSpan,vr=Yt.align,or=v.useContext(H),Vr=or.prefixCls,Kr=or.direction,Dr=v.useContext(le),dn=Dr.scrollColumnIndex,on=Dr.stickyOffsets,Cn=Dr.flattenColumns,sn=Jr+Xt-1,an=sn+1===dn?Xt+1:Xt,Yr=K(Jr,Jr+an-1,Cn,on,Kr);return v.createElement(R,Object(m.a)({className:Ir,index:Jr,component:"td",prefixCls:Vr,record:null,dataIndex:null,align:vr,render:function(){return{children:Ke,props:{colSpan:an,rowSpan:Wt}}}},Yr))}var ie=["children"];function Y(Yt){var Ir=Yt.children,Jr=Object(S.a)(Yt,ie);return v.createElement("tr",Jr,Ir)}function we(Yt){var Ir=Yt.children;return Ir}we.Row=Y,we.Cell=Ge;var Ce=we,le=v.createContext({});function ot(Yt){var Ir=Yt.children,Jr=Yt.stickyOffsets,Ke=Yt.flattenColumns,gt=v.useContext(H),Xt=gt.prefixCls,Wt=Ke.length-1,vr=Ke[Wt],or=v.useMemo(function(){return{stickyOffsets:Jr,flattenColumns:Ke,scrollColumnIndex:(vr==null?void 0:vr.scrollbar)?Wt:null}},[vr,Ke,Wt,Jr]);return v.createElement(le.Provider,{value:or},v.createElement("tfoot",{className:"".concat(Xt,"-summary")},Ir))}var wt=ot,rt=Ce;function It(Yt){var Ir,Jr=Yt.prefixCls,Ke=Yt.record,gt=Yt.onExpand,Xt=Yt.expanded,Wt=Yt.expandable,vr="".concat(Jr,"-row-expand-icon");if(!Wt)return v.createElement("span",{className:s()(vr,"".concat(Jr,"-row-spaced"))});var or=function(Kr){gt(Ke,Kr),Kr.stopPropagation()};return v.createElement("span",{className:s()(vr,(Ir={},Object(A.a)(Ir,"".concat(Jr,"-row-expanded"),Xt),Object(A.a)(Ir,"".concat(Jr,"-row-collapsed"),!Xt),Ir)),onClick:or})}function Gt(Yt,Ir,Jr){var Ke=[];function gt(Xt){(Xt||[]).forEach(function(Wt,vr){Ke.push(Ir(Wt,vr)),gt(Wt[Jr])})}return gt(Yt),Ke}var lr=d("zT1h"),pr=d("y0+3"),Rr=function(Ir,Jr){var Ke,gt,Xt=Ir.scrollBodyRef,Wt=Ir.onScroll,vr=Ir.offsetScroll,or=Ir.container,Vr=v.useContext(H),Kr=Vr.prefixCls,Dr=((Ke=Xt.current)===null||Ke===void 0?void 0:Ke.scrollWidth)||0,dn=((gt=Xt.current)===null||gt===void 0?void 0:gt.clientWidth)||0,on=Dr&&dn*(dn/Dr),Cn=v.useRef(),sn=Oe({scrollLeft:0,isHiddenScrollBar:!1}),an=Object(b.a)(sn,2),Yr=an[0],fn=an[1],vn=v.useRef({delta:0,x:0}),Ln=v.useState(!1),oi=Object(b.a)(Ln,2),si=oi[0],Ni=oi[1],qn=function(){Ni(!1)},Pn=function(Mi){Mi.persist(),vn.current.delta=Mi.pageX-Yr.scrollLeft,vn.current.x=0,Ni(!0),Mi.preventDefault()},ki=function(Mi){var fa,Wi=Mi||((fa=window)===null||fa===void 0?void 0:fa.event),ma=Wi.buttons;if(!si||ma===0){si&&Ni(!1);return}var aa=vn.current.x+Mi.pageX-vn.current.x-vn.current.delta;aa<=0&&(aa=0),aa+on>=dn&&(aa=dn-on),Wt({scrollLeft:aa/dn*(Dr+2)}),vn.current.x=Mi.pageX},ci=function(){var Mi=Object(pr.b)(Xt.current).top,fa=Mi+Xt.current.offsetHeight,Wi=or===window?document.documentElement.scrollTop+window.innerHeight:Object(pr.b)(or).top+or.clientHeight;fa-Object(a.a)()<=Wi||Mi>=Wi-vr?fn(function(ma){return Object(o.a)(Object(o.a)({},ma),{},{isHiddenScrollBar:!0})}):fn(function(ma){return Object(o.a)(Object(o.a)({},ma),{},{isHiddenScrollBar:!1})})},wi=function(Mi){fn(function(fa){return Object(o.a)(Object(o.a)({},fa),{},{scrollLeft:Mi/Dr*dn||0})})};return v.useImperativeHandle(Jr,function(){return{setScrollLeft:wi}}),v.useEffect(function(){var fi=Object(lr.a)(document.body,"mouseup",qn,!1),Mi=Object(lr.a)(document.body,"mousemove",ki,!1);return ci(),function(){fi.remove(),Mi.remove()}},[on,si]),v.useEffect(function(){var fi=Object(lr.a)(or,"scroll",ci,!1),Mi=Object(lr.a)(window,"resize",ci,!1);return function(){fi.remove(),Mi.remove()}},[or]),v.useEffect(function(){Yr.isHiddenScrollBar||fn(function(fi){var Mi=Xt.current;return Mi?Object(o.a)(Object(o.a)({},fi),{},{scrollLeft:Mi.scrollLeft/Mi.scrollWidth*Mi.clientWidth}):fi})},[Yr.isHiddenScrollBar]),Dr<=dn||!on||Yr.isHiddenScrollBar?null:v.createElement("div",{style:{height:Object(a.a)(),width:dn,bottom:vr},className:"".concat(Kr,"-sticky-scroll")},v.createElement("div",{onMouseDown:Pn,ref:Cn,className:s()("".concat(Kr,"-sticky-scroll-bar"),Object(A.a)({},"".concat(Kr,"-sticky-scroll-bar-active"),si)),style:{width:"".concat(on,"px"),transform:"translate3d(".concat(Yr.scrollLeft,"px, 0, 0)")}}))},xt=v.forwardRef(Rr),Ot=d("MNnm"),At=Object(Ot.a)()?window:null;function Jt(Yt,Ir){var Jr=Object(w.a)(Yt)==="object"?Yt:{},Ke=Jr.offsetHeader,gt=Ke===void 0?0:Ke,Xt=Jr.offsetSummary,Wt=Xt===void 0?0:Xt,vr=Jr.offsetScroll,or=vr===void 0?0:vr,Vr=Jr.getContainer,Kr=Vr===void 0?function(){return At}:Vr,Dr=Kr()||At;return v.useMemo(function(){var dn=!!Yt;return{isSticky:dn,stickyClassName:dn?"".concat(Ir,"-sticky-holder"):"",offsetHeader:gt,offsetSummary:Wt,offsetScroll:or,container:Dr}},[or,gt,Wt,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(v.useMemo)(function(){for(var Jr=[],Ke=0;Ke<Ir;Ke+=1){var gt=Yt[Ke];if(gt!==void 0)Jr[Ke]=gt;else return null}return Jr},[Yt.join("_"),Ir])}var Zr=v.forwardRef(function(Yt,Ir){var Jr=Yt.className,Ke=Yt.noData,gt=Yt.columns,Xt=Yt.flattenColumns,Wt=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=v.useContext(H),vn=fn.prefixCls,Ln=fn.scrollbarSize,oi=fn.isSticky,si=oi&&!Kr?0:Ln,Ni=v.useRef(null),qn=v.useCallback(function(Wi){Object(y.b)(Ir,Wi),Object(y.b)(Ni,Wi)},[]);v.useEffect(function(){var Wi;function ma(aa){var ya=aa.currentTarget,Ea=aa.deltaX;Ea&&(Cn({currentTarget:ya,scrollLeft:ya.scrollLeft+Ea}),aa.preventDefault())}return(Wi=Ni.current)===null||Wi===void 0||Wi.addEventListener("wheel",ma),function(){var aa;(aa=Ni.current)===null||aa===void 0||aa.removeEventListener("wheel",ma)}},[]);var Pn=v.useMemo(function(){return Xt.every(function(Wi){return Wi.width>=0})},[Xt]),ki=Xt[Xt.length-1],ci={fixed:ki?ki.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(vn,"-cell-scrollbar")}}},wi=Object(v.useMemo)(function(){return si?[].concat(Object(e.a)(gt),[ci]):gt},[si,gt]),fi=Object(v.useMemo)(function(){return si?[].concat(Object(e.a)(Xt),[ci]):Xt},[si,Xt]),Mi=Object(v.useMemo)(function(){var Wi=or.right,ma=or.left;return Object(o.a)(Object(o.a)({},or),{},{left:Vr==="rtl"?[].concat(Object(e.a)(ma.map(function(aa){return aa+si})),[0]):ma,right:Vr==="rtl"?Wi:[].concat(Object(e.a)(Wi.map(function(aa){return aa+si})),[0]),isSticky:oi})},[si,or,oi]),fa=Lr(Wt,vr);return v.createElement("div",{style:Object(o.a)({overflow:"hidden"},oi?{top:Dr,bottom:dn}:{}),ref:qn,className:s()(Jr,Object(A.a)({},on,!!on))},v.createElement("table",{style:{tableLayout:"fixed",visibility:Ke||fa?null:"hidden"}},(!Ke||!sn||Pn)&&v.createElement(Tt,{colWidths:fa?[].concat(Object(e.a)(fa),[si]):[],columCount:vr+1,columns:fi}),an(Object(o.a)(Object(o.a)({},Yr),{},{stickyOffsets:Mi,columns:wi,flattenColumns:fi}))))});Zr.displayName="FixedHolder";var In=Zr,Gr=[],Tr={},fr="rc-table-internal-hook",vt=v.memo(function(Yt){var Ir=Yt.children;return Ir},function(Yt,Ir){return n()(Yt.props,Ir.props)?Yt.pingLeft!==Ir.pingLeft||Yt.pingRight!==Ir.pingRight:!1});function ft(Yt){var Ir,Jr=Yt.prefixCls,Ke=Yt.className,gt=Yt.rowClassName,Xt=Yt.style,Wt=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=Wt||Gr,Pn=!!qn.length,ki=v.useMemo(function(){return _(an,{})},[an]),ci=v.useCallback(function(ro,eo){return T(ki,ro)||eo},[ki]),wi=v.useMemo(function(){return typeof vr=="function"?vr:function(ro){var eo=ro&&ro[vr];return eo}},[vr]),fi=be(Yt),Mi=fi.expandIcon,fa=fi.expandedRowKeys,Wi=fi.defaultExpandedRowKeys,ma=fi.defaultExpandAllRows,aa=fi.expandedRowRender,ya=fi.onExpand,Ea=fi.onExpandedRowsChange,ca=fi.expandRowByClick,Ma=fi.rowExpandable,wa=fi.expandIconColumnIndex,_i=fi.expandedRowClassName,xi=fi.childrenColumnName,ji=fi.indentSize,Ji=Mi||It,Si=xi||"children",Hi=v.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=v.useState(function(){return Wi||(ma?Gt(qn,wi,Si):[])}),_a=Object(b.a)(Oa,2),la=_a[0],va=_a[1],Fa=v.useMemo(function(){return new Set(fa||la||[])},[fa,la]),Xa=v.useCallback(function(ro){var eo=wi(ro,qn.indexOf(ro)),ho,yt=Fa.has(eo);yt?(Fa.delete(eo),ho=Object(e.a)(Fa)):ho=[].concat(Object(e.a)(Fa),[eo]),va(ho),ya&&ya(!yt,ro),Ea&&Ea(ho)},[wi,Fa,qn,ya,Ea]),co=v.useState(0),so=Object(b.a)(co,2),Ao=so[0],io=so[1],pa=Je(Object(o.a)(Object(o.a)(Object(o.a)({},Yt),fi),{},{expandable:!!aa,expandedKeys:Fa,getRowKey:wi,onTriggerExpand:Xa,expandIcon:Ji,expandIconColumnIndex:wa,direction:Kr}),Ln===fr?oi:null),ga=Object(b.a)(pa,2),ba=ga[0],Oi=ga[1],Ba=v.useMemo(function(){return{columns:ba,flattenColumns:Oi}},[ba,Oi]),vo=v.useRef(),os=v.useRef(),Va=v.useRef(),ao=v.useRef(),Ga=v.useState(!1),yo=Object(b.a)(Ga,2),fo=yo[0],es=yo[1],To=v.useState(!1),po=Object(b.a)(To,2),Io=po[0],Wo=po[1],ns=Oe(new Map),Po=Object(b.a)(ns,2),Aa=Po[0],Za=Po[1],ka=x(Oi),$i=ka.map(function(ro){return Aa.get(ro)}),uo=v.useMemo(function(){return $i},[$i.join("_")]),Ha=nt(uo,Oi.length,Kr),Yi=or&&I(or.y),Qa=or&&I(or.x)||Boolean(fi.fixed),Fo=Qa&&Oi.some(function(ro){var eo=ro.fixed;return eo}),Qo=v.useRef(),Zo=Jt(Ni,Jr),ua=Zo.isSticky,Ya=Zo.offsetHeader,lo=Zo.offsetSummary,Ci=Zo.offsetScroll,Sa=Zo.stickyClassName,bo=Zo.container,Bo=on==null?void 0:on(qn),Oo=(Yi||ua)&&v.isValidElement(Bo)&&Bo.type===Ce&&Bo.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=v.useCallback(function(ro,eo){Object(r.a)(vo.current)&&Za(function(ho){if(ho.get(ro)!==eo){var yt=new Map(ho);return yt.set(ro,eo),yt}return ho})},[]),$a=pt(null),Na=Object(b.a)($a,2),Vo=Na[0],Jo=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(!Jo()||Jo()===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,ce=ho.clientWidth;Lt?(es(-Pr<dt-ce),Wo(-Pr>0)):(es(Pr>0),Wo(Pr<dt-ce))}},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))};v.useEffect(function(){return Pa},[]),v.useEffect(function(){Qa&&Pa()},[Qa]);var Uo=v.useState(0),Lo=Object(b.a)(Uo,2),Yo=Lo[0],Ko=Lo[1];v.useEffect(function(){Ko(Object(a.b)(Va.current).width)},[]),v.useEffect(function(){Ln===fr&&si&&(si.body.current=Va.current)});var jo=ci(["table"],"table"),Or=v.useMemo(function(){return Vr||(Fo?or.x==="max-content"?"auto":"fixed":Yi||ua||Oi.some(function(ro){var eo=ro.ellipsis;return eo})?"fixed":"auto")},[Yi,Fo,Oi,Vr,ua]),ui,vs={colWidths:uo,columCount:Oi.length,stickyOffsets:Ha,onHeaderRow:vn,fixHeader:Yi,scroll:or},rl=v.useMemo(function(){return Pn?null:typeof Yr=="function"?Yr():Yr},[Pn,Yr]),Ps=v.createElement(te,{data:qn,measureColumnWidth:Yi||Qa||ua,expandedKeys:Fa,rowExpandable:Ma,getRowKey:wi,onRow:fn,emptyNode:rl,childrenColumnName:Si}),Ks=v.createElement(Tt,{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(l.a)(!1,"When use `components.body` with render props. Each column should have a fixed `width` value."),0)})):xs=v.createElement("div",{style:Object(o.a)(Object(o.a)({},gs),ds),onScroll:Ka,ref:Va,className:s()("".concat(Jr,"-body"))},v.createElement(jo,{style:Object(o.a)(Object(o.a)({},hs),{},{tableLayout:Or})},Ks,Ps,!Oo&&Bo&&v.createElement(wt,{stickyOffsets:Ha,flattenColumns:Oi},Bo)));var Ls=Object(o.a)(Object(o.a)(Object(o.a)({noData:!qn.length,maxContentScroll:Qa&&or.x==="max-content"},vs),Ba),{},{direction:Kr,stickyClassName:Sa,onScroll:Ka});ui=v.createElement(v.Fragment,null,sn!==!1&&v.createElement(In,Object(m.a)({},Ls,{stickyTopOffset:Ya,className:"".concat(Jr,"-header"),ref:os}),function(ro){return v.createElement(ae,ro)}),xs,Oo&&v.createElement(In,Object(m.a)({},Ls,{stickyBottomOffset:lo,className:"".concat(Jr,"-summary"),ref:ao}),function(ro){return v.createElement(wt,ro,Bo)}),ua&&v.createElement(xt,{ref:Qo,offsetScroll:Ci,scrollBodyRef:Va,onScroll:Ka,container:bo}))}else ui=v.createElement("div",{style:Object(o.a)(Object(o.a)({},gs),ds),className:s()("".concat(Jr,"-content")),onScroll:Ka,ref:Va},v.createElement(jo,{style:Object(o.a)(Object(o.a)({},hs),{},{tableLayout:Or})},Ks,sn!==!1&&v.createElement(ae,Object(m.a)({},vs,Ba)),Ps,Bo&&v.createElement(wt,{stickyOffsets:Ha,flattenColumns:Oi},Bo)));var Xs=ne(Yt),Es=v.createElement("div",Object(m.a)({className:s()(Jr,Ke,(Ir={},Object(A.a)(Ir,"".concat(Jr,"-rtl"),Kr==="rtl"),Object(A.a)(Ir,"".concat(Jr,"-ping-left"),fo),Object(A.a)(Ir,"".concat(Jr,"-ping-right"),Io),Object(A.a)(Ir,"".concat(Jr,"-layout-fixed"),Vr==="fixed"),Object(A.a)(Ir,"".concat(Jr,"-fixed-header"),Yi),Object(A.a)(Ir,"".concat(Jr,"-fixed-column"),Fo),Object(A.a)(Ir,"".concat(Jr,"-scroll-horizontal"),Qa),Object(A.a)(Ir,"".concat(Jr,"-has-fix-left"),Oi[0]&&Oi[0].fixed),Object(A.a)(Ir,"".concat(Jr,"-has-fix-right"),Oi[Oi.length-1]&&Oi[Oi.length-1].fixed==="right"),Ir)),style:Xt,id:Cn,ref:vo},Xs),v.createElement(vt,{pingLeft:fo,pingRight:Io,props:Object(o.a)(Object(o.a)({},Yt),{},{stickyOffsets:Ha,mergedExpandedKeys:Fa})},Dr&&v.createElement(Nt,{className:"".concat(Jr,"-title")},Dr(qn)),v.createElement("div",{className:"".concat(Jr,"-container")},ui),dn&&v.createElement(Nt,{className:"".concat(Jr,"-footer")},dn(qn))));Qa&&(Es=v.createElement(t.a,{onResize:Xo},Es));var _s=v.useMemo(function(){return{prefixCls:Jr,getComponent:ci,scrollbarSize:Yo,direction:Kr,fixedInfoList:Oi.map(function(ro,eo){return K(eo,eo,Oi,Ha,Kr)}),isSticky:ua}},[Jr,ci,Yo,Kr,Oi,Ha,Kr,ua]),pl=v.useMemo(function(){return Object(o.a)(Object(o.a)({},Ba),{},{tableLayout:Or,rowClassName:gt,expandedRowClassName:_i,componentWidth:Ao,fixHeader:Yi,fixColumn:Fo,horizonScroll:Qa,expandIcon:Ji,expandableType:Hi,expandRowByClick:ca,expandedRowRender:aa,onTriggerExpand:Xa,expandIconColumnIndex:wa,indentSize:ji})},[Ba,Or,gt,_i,Ao,Yi,Fo,Qa,Ji,Hi,ca,aa,Xa,wa,ji]),Gs=v.useMemo(function(){return{onColumnResize:ss}},[ss]);return v.createElement(H.Provider,{value:_s},v.createElement($.Provider,{value:pl},v.createElement(He.Provider,{value:Gs},Es)))}ft.Column=g,ft.ColumnGroup=h,ft.Summary=rt,ft.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var De=ft,je=De,Ye=d("0qJU"),st=d("B8SR"),kt=d("9R2V"),$t=function(Yt,Ir){var Jr={};for(var Ke in Yt)Object.prototype.hasOwnProperty.call(Yt,Ke)&&Ir.indexOf(Ke)<0&&(Jr[Ke]=Yt[Ke]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,Ke=Object.getOwnPropertySymbols(Yt);gt<Ke.length;gt++)Ir.indexOf(Ke[gt])<0&&Object.prototype.propertyIsEnumerable.call(Yt,Ke[gt])&&(Jr[Ke[gt]]=Yt[Ke[gt]]);return Jr},Nr=10;function yn(Yt,Ir){var Jr={current:Ir.current,pageSize:Ir.pageSize},Ke=Yt&&Object(w.a)(Yt)==="object"?Yt:{};return Object.keys(Ke).forEach(function(gt){var Xt=Ir[gt];typeof Xt!="function"&&(Jr[gt]=Xt)}),Jr}function un(){for(var Yt={},Ir=arguments.length,Jr=new Array(Ir),Ke=0;Ke<Ir;Ke++)Jr[Ke]=arguments[Ke];return Jr.forEach(function(gt){gt&&Object.keys(gt).forEach(function(Xt){var Wt=gt[Xt];Wt!==void 0&&(Yt[Xt]=Wt)})}),Yt}function Kt(Yt,Ir,Jr){var Ke=Ir&&Object(w.a)(Ir)==="object"?Ir:{},gt=Ke.total,Xt=gt===void 0?0:gt,Wt=$t(Ke,["total"]),vr=Object(v.useState)(function(){return{current:"defaultCurrent"in Wt?Wt.defaultCurrent:1,pageSize:"defaultPageSize"in Wt?Wt.defaultPageSize:Nr}}),or=Object(b.a)(vr,2),Vr=or[0],Kr=or[1],Dr=un(Vr,Wt,{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),Jr(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,Jr){var Ke=v.useRef({});function gt(Xt){if(!Ke.current||Ke.current.data!==Yt||Ke.current.childrenColumnName!==Ir||Ke.current.getRowKey!==Jr){var Wt=function or(Vr){Vr.forEach(function(Kr,Dr){var dn=Jr(Kr,Dr);vr.set(dn,Kr),Kr&&Object(w.a)(Kr)==="object"&&Ir in Kr&&or(Kr[Ir]||[])})},vr=new Map;Wt(Yt),Ke.current={data:Yt,childrenColumnName:Ir,kvMap:vr,getRowKey:Jr}}return Ke.current.kvMap.get(Xt)}return[gt]}var Mt=d("T5bk"),Zt=d("8Skl"),kr=d("815F"),Hr=d("NvD2"),$r=d("OZM5"),Bt=d("6cGi"),cr=d("Lgtz"),Cr=d("eKKp"),Br=d("AE+S"),zr=d("TZBT"),An=d("bq+4"),bn="SELECT_ALL",Sn="SELECT_INVERT",Mn="SELECT_NONE";function ei(Yt){return Yt&&Yt.fixed}function Zn(Yt,Ir){var Jr=[];return(Yt||[]).forEach(function(Ke){Jr.push(Ke),Ke&&Object(w.a)(Ke)==="object"&&Ir in Ke&&(Jr=[].concat(Object(e.a)(Jr),Object(e.a)(Zn(Ke[Ir],Ir))))}),Jr}function ai(Yt,Ir){var Jr=Yt||{},Ke=Jr.preserveSelectedRowKeys,gt=Jr.selectedRowKeys,Xt=Jr.defaultSelectedRowKeys,Wt=Jr.getCheckboxProps,vr=Jr.onChange,or=Jr.onSelect,Vr=Jr.onSelectAll,Kr=Jr.onSelectInvert,Dr=Jr.onSelectNone,dn=Jr.onSelectMultiple,on=Jr.columnWidth,Cn=Jr.type,sn=Jr.selections,an=Jr.fixed,Yr=Jr.renderCell,fn=Jr.hideSelectAll,vn=Jr.checkStrictly,Ln=vn===void 0?!0:vn,oi=Ir.prefixCls,si=Ir.data,Ni=Ir.pageData,qn=Ir.getRecordByKey,Pn=Ir.getRowKey,ki=Ir.expandType,ci=Ir.childrenColumnName,wi=Ir.locale,fi=Ir.expandIconColumnIndex,Mi=Ir.getPopupContainer,fa=Object(Bt.a)(gt||Xt||[],{value:gt}),Wi=Object(b.a)(fa,2),ma=Wi[0],aa=Wi[1],ya=v.useRef(new Map),Ea=Object(v.useCallback)(function(pa){if(Ke){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,Ke]);v.useEffect(function(){Ea(ma)},[ma]);var ca=Object(v.useMemo)(function(){return Ln?{keyEntities:null}:Object(kr.a)(si,{externalGetKey:Pn,childrenPropName:ci})},[si,Pn,Ln,ci]),Ma=ca.keyEntities,wa=Object(v.useMemo)(function(){return Zn(Ni,ci)},[Ni,ci]),_i=Object(v.useMemo)(function(){var pa=new Map;return wa.forEach(function(ga,ba){var Oi=Pn(ga,ba),Ba=(Wt?Wt(ga):null)||{};pa.set(Oi,Ba)}),pa},[wa,Pn,Wt]),xi=Object(v.useCallback)(function(pa){var ga;return!!((ga=_i.get(Pn(pa)))===null||ga===void 0?void 0:ga.disabled)},[_i,Pn]),ji=Object(v.useMemo)(function(){if(Ln)return[ma||[],[]];var pa=Object(Hr.a)(ma,!0,Ma,xi),ga=pa.checkedKeys,ba=pa.halfCheckedKeys;return[ga||[],ba]},[ma,Ln,Ma,xi]),Ji=Object(b.a)(ji,2),Si=Ji[0],Hi=Ji[1],Oa=Object(v.useMemo)(function(){var pa=Cn==="radio"?Si.slice(0,1):Si;return new Set(pa)},[Si,Cn]),_a=Object(v.useMemo)(function(){return Cn==="radio"?new Set:new Set(Hi)},[Hi,Cn]),la=Object(v.useState)(null),va=Object(b.a)(la,2),Fa=va[0],Xa=va[1];v.useEffect(function(){Yt||aa([])},[!!Yt]);var co=Object(v.useCallback)(function(pa){var ga,ba;Ea(pa),Ke?(ga=pa,ba=pa.map(function(Oi){return ya.current.get(Oi)})):(ga=[],ba=[],pa.forEach(function(Oi){var Ba=qn(Oi);Ba!==void 0&&(ga.push(Oi),ba.push(Ba))})),aa(ga),vr==null||vr(ga,ba)},[aa,qn,vr,Ke]),so=Object(v.useCallback)(function(pa,ga,ba,Oi){if(or){var Ba=ba.map(function(vo){return qn(vo)});or(qn(pa),ga,Ba,Oi)}co(ba)},[or,qn,co]),Ao=Object(v.useMemo)(function(){if(!sn||fn)return null;var pa=sn===!0?[bn,Sn,Mn]:sn;return pa.map(function(ga){return ga===bn?{key:"all",text:wi.selectionAll,onSelect:function(){co(si.map(function(Oi,Ba){return Pn(Oi,Ba)}))}}: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 Ba=Array.from(Oi);Kr&&(Object(An.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Kr(Ba)),co(Ba)}}:ga===Mn?{key:"none",text:wi.selectNone,onSelect:function(){Dr==null||Dr(),co([])}}:ga})},[sn,Oa,Ni,Pn,Kr,co]),io=Object(v.useCallback)(function(pa){if(!Yt)return pa;var ga=new Set(Oa),ba=wa.map(Pn).filter(function(Za){return!_i.get(Za).disabled}),Oi=ba.every(function(Za){return ga.has(Za)}),Ba=ba.some(function(Za){return ga.has(Za)}),vo=function(){var ka=[];Oi?ba.forEach(function(uo){ga.delete(uo),ka.push(uo)}):ba.forEach(function(uo){ga.has(uo)||(ga.add(uo),ka.push(uo))});var $i=Array.from(ga);Vr==null||Vr(!Oi,$i.map(function(uo){return qn(uo)}),ka.map(function(uo){return qn(uo)})),co($i)},os;if(Cn!=="radio"){var Va;if(Ao){var ao=v.createElement(Br.a,{getPopupContainer:Mi},Ao.map(function(Za,ka){var $i=Za.key,uo=Za.text,Ha=Za.onSelect;return v.createElement(Br.a.Item,{key:$i||ka,onClick:function(){Ha==null||Ha(ba)}},uo)}));Va=v.createElement("div",{className:"".concat(oi,"-selection-extra")},v.createElement(Cr.a,{overlay:ao,getPopupContainer:Mi},v.createElement("span",null,v.createElement(Zt.a,null))))}var Ga=wa.map(function(Za,ka){var $i=Pn(Za,ka),uo=_i.get($i)||{};return Object(m.a)({checked:ga.has($i)},uo)}).filter(function(Za){var ka=Za.disabled;return ka}),yo=!!Ga.length&&Ga.length===wa.length,fo=yo&&Ga.every(function(Za){var ka=Za.checked;return ka}),es=yo&&Ga.some(function(Za){var ka=Za.checked;return ka});os=!fn&&v.createElement("div",{className:"".concat(oi,"-selection")},v.createElement(cr.a,{checked:yo?fo:!!wa.length&&Oi,indeterminate:yo?!fo&&es:!Oi&&Ba,onChange:vo,disabled:wa.length===0||yo,skipGroup:!0}),Va)}var To;Cn==="radio"?To=function(ka,$i,uo){var Ha=Pn($i,uo),Yi=ga.has(Ha);return{node:v.createElement(zr.a,Object(m.a)({},_i.get(Ha),{checked:Yi,onClick:function(Fo){return Fo.stopPropagation()},onChange:function(Fo){ga.has(Ha)||so(Ha,!0,[Ha],Fo.nativeEvent)}})),checked:Yi}}:To=function(ka,$i,uo){var Ha,Yi=Pn($i,uo),Qa=ga.has(Yi),Fo=_a.has(Yi),Qo=_i.get(Yi),Zo;return ki==="nest"?(Zo=Fo,Object(An.a)(typeof(Qo==null?void 0:Qo.indeterminate)!="boolean","Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):Zo=(Ha=Qo==null?void 0:Qo.indeterminate)!==null&&Ha!==void 0?Ha:Fo,{node:v.createElement(cr.a,Object(m.a)({},Qo,{indeterminate:Zo,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 Bo=new Set([Fa,Yi]);ba.some(function(Ka,Pa){if(Bo.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,Ma,xi),Na=$a.checkedKeys,Vo=$a.halfCheckedKeys,Jo=Na;if(Qa){var Da=new Set(Na);Da.delete(Yi),Jo=Object(Hr.a)(Array.from(Da),{checked:!1,halfCheckedKeys:Vo},Ma,xi).checkedKeys}so(Yi,!Qa,Jo,lo)}}Xa(Yi)}})),checked:Qa}};var po=function(ka,$i,uo){var Ha=To(ka,$i,uo),Yi=Ha.node,Qa=Ha.checked;return Yr?Yr(Qa,$i,uo,Yi):Yi},Io=Object(A.a)({width:on,className:"".concat(oi,"-selection-column"),title:Yt.columnTitle||os,render:po},Z,{className:"".concat(oi,"-selection-col")});if(ki==="row"&&pa.length&&!fi){var Wo=Object(Mt.a)(pa),ns=Wo[0],Po=Wo.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,ki,Fa,_i,dn,so,xi]);return[io,Oa]}var ii=d("0NbB"),$e={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"},Te=$e,ke=d("6VBw"),Me=function(Ir,Jr){return v.createElement(ke.a,Object(o.a)(Object(o.a)({},Ir),{},{ref:Jr,icon:Te}))};Me.displayName="CaretUpOutlined";var Ze=v.forwardRef(Me),Xe=d("d+VM");function qe(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 mt(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,Jr){var Ke=[];function gt(Xt,Wt){Ke.push({column:Xt,key:qe(Xt,Wt),multiplePriority:tr(Xt),sortOrder:Xt.sortOrder})}return(Yt||[]).forEach(function(Xt,Wt){var vr=mt(Wt,Jr);Xt.children?("sortOrder"in Xt&>(Xt,vr),Ke=[].concat(Object(e.a)(Ke),Object(e.a)(gr(Xt.children,Ir,vr)))):Xt.sorter&&("sortOrder"in Xt?gt(Xt,vr):Ir&&Xt.defaultSortOrder&&Ke.push({column:Xt,key:qe(Xt,vr),multiplePriority:tr(Xt),sortOrder:Xt.defaultSortOrder}))}),Ke}function jt(Yt,Ir,Jr,Ke,gt,Xt,Wt,vr){return(Ir||[]).map(function(or,Vr){var Kr=mt(Vr,vr),Dr=or;if(Dr.sorter){var dn=Dr.sortDirections||gt,on=Dr.showSorterTooltip===void 0?Wt:Dr.showSorterTooltip,Cn=qe(Dr,Kr),sn=Jr.find(function(ki){var ci=ki.key;return ci===Cn}),an=sn?sn.sortOrder:null,Yr=_t(dn,an),fn=dn.includes(Vt)&&v.createElement(Ze,{className:s()("".concat(Yt,"-column-sorter-up"),{active:an===Vt})}),vn=dn.includes(dr)&&v.createElement(ii.a,{className:s()("".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:s()(Dr.className,Object(A.a)({},"".concat(Yt,"-column-sort"),an)),title:function(ci){var wi=v.createElement("div",{className:"".concat(Yt,"-column-sorters")},v.createElement("span",{className:"".concat(Yt,"-column-title")},ht(or.title,ci)),v.createElement("span",{className:s()("".concat(Yt,"-column-sorter"),Object(A.a)({},"".concat(Yt,"-column-sorter-full"),!!(fn&&vn)))},v.createElement("span",{className:"".concat(Yt,"-column-sorter-inner")},fn,vn)));return on?v.createElement(Xe.a,Pn,wi):wi},onHeaderCell:function(ci){var wi=or.onHeaderCell&&or.onHeaderCell(ci)||{},fi=wi.onClick;return wi.onClick=function(Mi){Ke({column:or,key:Cn,sortOrder:Yr,multiplePriority:tr(or)}),fi&&fi(Mi)},wi.className=s()(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,Jr,Ke,gt,Xt,Wt,Kr)})),Dr})}function Sr(Yt){var Ir=Yt.column,Jr=Yt.sortOrder;return{column:Ir,order:Jr,field:Ir.dataIndex,columnKey:Ir.key}}function Ar(Yt){var Ir=Yt.filter(function(Jr){var Ke=Jr.sortOrder;return Ke}).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,Jr){var Ke=Ir.slice().sort(function(Wt,vr){return vr.multiplePriority-Wt.multiplePriority}),gt=Yt.slice(),Xt=Ke.filter(function(Wt){var vr=Wt.column.sorter,or=Wt.sortOrder;return ir(vr)&&or});return Xt.length?gt.sort(function(Wt,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(Wt,vr,Dr);if(on!==0)return Dr===Vt?on:-on}}return 0}).map(function(Wt){var vr=Wt[Jr];return vr?Object(m.a)(Object(m.a)({},Wt),Object(A.a)({},Jr,sr(vr,Ir,Jr))):Wt}):gt}function ln(Yt){var Ir=Yt.prefixCls,Jr=Yt.mergedColumns,Ke=Yt.onSorterChange,gt=Yt.sortDirections,Xt=Yt.tableLocale,Wt=Yt.showSorterTooltip,vr=v.useState(gr(Jr,!0)),or=Object(b.a)(vr,2),Vr=or[0],Kr=or[1],Dr=v.useMemo(function(){var an=!0,Yr=gr(Jr,!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},[Jr,Vr]),dn=v.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),Ke(Ar(Yr),Yr)}var Cn=function(Yr){return jt(Ir,Yr,Dr,on,gt,Xt,Wt)},sn=function(){return Ar(Dr)};return[Cn,Dr,dn,sn]}var _n=d("Y+p1"),zn=d.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"},Fn=Nn,Gn=function(Ir,Jr){return v.createElement(ke.a,Object(o.a)(Object(o.a)({},Ir),{},{ref:Jr,icon:Fn}))};Gn.displayName="FilterFilled";var xn=v.forwardRef(Gn),mi=d("Fc8i"),rn=d("hpHF"),Ur=function(Ir){return v.createElement("div",{className:Ir.className,onClick:function(Ke){return Ke.stopPropagation()}},Ir.children)},cn=Ur,Qr=d("oMPz");function Vn(Yt){var Ir=v.useRef(Yt),Jr=Object(Qr.a)();return[function(){return Ir.current},function(Ke){Ir.current=Ke,Jr()}]}var Hn=Br.a.SubMenu,li=Br.a.Item;function Un(Yt){return Yt.some(function(Ir){var Jr=Ir.children;return Jr})}function gi(Yt){var Ir=Yt.filters,Jr=Yt.prefixCls,Ke=Yt.filteredKeys,gt=Yt.filterMultiple,Xt=Yt.locale;return Ir.length===0?v.createElement(li,{key:"empty"},v.createElement("div",{style:{margin:"16px 0"}},v.createElement(rn.a,{image:rn.a.PRESENTED_IMAGE_SIMPLE,description:Xt.filterEmptyText,imageStyle:{height:24}}))):Ir.map(function(Wt,vr){var or=String(Wt.value);if(Wt.children)return v.createElement(Hn,{key:or||vr,title:Wt.text,popupClassName:"".concat(Jr,"-dropdown-submenu")},gi({filters:Wt.children,prefixCls:Jr,filteredKeys:Ke,filterMultiple:gt,locale:Xt}));var Vr=gt?cr.a:zr.a;return v.createElement(li,{key:Wt.value!==void 0?or:vr},v.createElement(Vr,{checked:Ke.includes(or)}),v.createElement("span",null,Wt.text))})}function kn(Yt){var Ir,Jr=Yt.tablePrefixCls,Ke=Yt.prefixCls,gt=Yt.column,Xt=Yt.dropdownPrefixCls,Wt=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=v.useState(!1),an=Object(b.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(b.a)(Ni,2),Pn=qn[0],ki=qn[1],ci=function(la){var va=la.selectedKeys;ki(va)};v.useEffect(function(){ci({selectedKeys:si||[]})},[si]);var wi=v.useState([]),fi=Object(b.a)(wi,2),Mi=fi[0],fa=fi[1],Wi=v.useRef(),ma=function(la){Wi.current=window.setTimeout(function(){fa(la)})},aa=function(){window.clearTimeout(Wi.current)};v.useEffect(function(){return function(){window.clearTimeout(Wi.current)}},[]);var ya=function(la){var va=la&&la.length?la:null;if(va===null&&(!or||!or.filteredKeys))return null;if(zn()(va,or==null?void 0:or.filteredKeys))return null;Vr({column:gt,key:Wt,filteredKeys:va})},Ea=function(){Ln(!1),ya(Pn())},ca=function(){ki([]),Ln(!1),ya([])},Ma=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&&ki(si||[]),Ln(la),!la&&!gt.filterDropdown&&Ea()},_i=s()(Object(A.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:Ma,clearFilters:ca,filters:gt.filters,visible:oi});else if(gt.filterDropdown)xi=gt.filterDropdown;else{var ji=Pn()||[];xi=v.createElement(v.Fragment,null,v.createElement(Br.a,{multiple:vr,prefixCls:"".concat(Xt,"-menu"),className:_i,onClick:aa,onSelect:ci,onDeselect:ci,selectedKeys:ji,getPopupContainer:dn,openKeys:Mi,onOpenChange:ma},gi({filters:gt.filters||[],prefixCls:Ke,filteredKeys:Pn(),filterMultiple:vr,locale:Kr})),v.createElement("div",{className:"".concat(Ke,"-dropdown-btns")},v.createElement(mi.a,{type:"link",size:"small",disabled:ji.length===0,onClick:ca},Kr.filterReset),v.createElement(mi.a,{type:"primary",size:"small",onClick:Ea},Kr.filterConfirm)))}var Ji=v.createElement(cn,{className:"".concat(Ke,"-dropdown")},xi),Si;typeof gt.filterIcon=="function"?Si=gt.filterIcon(vn):gt.filterIcon?Si=gt.filterIcon:Si=v.createElement(xn,null);var Hi=v.useContext(kt.b),Oa=Hi.direction;return v.createElement("div",{className:"".concat(Ke,"-column")},v.createElement("span",{className:"".concat(Jr,"-column-title")},Dr),v.createElement(Cr.a,{overlay:Ji,trigger:["click"],visible:oi,onVisibleChange:wa,getPopupContainer:dn,placement:Oa==="rtl"?"bottomLeft":"bottomRight"},v.createElement("span",{role:"button",tabIndex:-1,className:s()("".concat(Ke,"-trigger"),{active:vn}),onClick:function(la){la.stopPropagation()}},Si)))}var di=kn;function qr(Yt,Ir,Jr){var Ke=[];return(Yt||[]).forEach(function(gt,Xt){var Wt,vr=mt(Xt,Jr);if(gt.filters||"filterDropdown"in gt||"onFilter"in gt)if("filteredValue"in gt){var or=gt.filteredValue;"filterDropdown"in gt||(or=(Wt=or==null?void 0:or.map(String))!==null&&Wt!==void 0?Wt:or),Ke.push({column:gt,key:qe(gt,vr),filteredKeys:or,forceFiltered:gt.filtered})}else Ke.push({column:gt,key:qe(gt,vr),filteredKeys:Ir&>.defaultFilteredValue?gt.defaultFilteredValue:void 0,forceFiltered:gt.filtered});"children"in gt&&(Ke=[].concat(Object(e.a)(Ke),Object(e.a)(qr(gt.children,Ir,vr))))}),Ke}function xr(Yt,Ir,Jr,Ke,gt,Xt,Wt,vr){return Jr.map(function(or,Vr){var Kr=mt(Vr,vr),Dr=or.filterMultiple,dn=Dr===void 0?!0:Dr,on=or;if(on.filters||on.filterDropdown){var Cn=qe(on,Kr),sn=Ke.find(function(an){var Yr=an.key;return Cn===Yr});on=Object(m.a)(Object(m.a)({},on),{title:function(Yr){return v.createElement(di,{tablePrefixCls:Yt,prefixCls:"".concat(Yt,"-filter"),dropdownPrefixCls:Ir,column:on,columnKey:Cn,filterState:sn,filterMultiple:dn,triggerFilter:gt,locale:Wt,getPopupContainer:Xt},ht(or.title,Yr))}})}return"children"in on&&(on=Object(m.a)(Object(m.a)({},on),{children:xr(Yt,Ir,on.children,Ke,gt,Xt,Wt,Kr)})),on})}function nn(Yt){var Ir=[];return(Yt||[]).forEach(function(Jr){var Ke=Jr.value,gt=Jr.children;Ir.push(Ke),gt&&(Ir=[].concat(Object(e.a)(Ir),Object(e.a)(nn(gt))))}),Ir}function gn(Yt){var Ir={};return Yt.forEach(function(Jr){var Ke=Jr.key,gt=Jr.filteredKeys,Xt=Jr.column,Wt=Xt.filters,vr=Xt.filterDropdown;if(vr)Ir[Ke]=gt||null;else if(Array.isArray(gt)){var or=nn(Wt);Ir[Ke]=or.filter(function(Vr){return gt.includes(String(Vr))})}else Ir[Ke]=null}),Ir}function On(Yt,Ir){return Ir.reduce(function(Jr,Ke){var gt=Ke.column,Xt=gt.onFilter,Wt=gt.filters,vr=Ke.filteredKeys;return Xt&&vr&&vr.length?Jr.filter(function(or){return vr.some(function(Vr){var Kr=nn(Wt),Dr=Kr.findIndex(function(on){return String(on)===String(Vr)}),dn=Dr!==-1?Kr[Dr]:Vr;return Xt(dn,or)})}):Jr},Yt)}function Bn(Yt){var Ir=Yt.prefixCls,Jr=Yt.dropdownPrefixCls,Ke=Yt.mergedColumns,gt=Yt.onFilterChange,Xt=Yt.getPopupContainer,Wt=Yt.locale,vr=v.useState(qr(Ke,!0)),or=Object(b.a)(vr,2),Vr=or[0],Kr=or[1],Dr=v.useMemo(function(){var sn=qr(Ke,!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},[Ke,Vr]),dn=v.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,Jr,an,Dr,on,Xt,Wt)};return[Cn,Dr,dn]}var Wn=Bn;function $n(Yt,Ir){return Yt.map(function(Jr){var Ke=Object(m.a)({},Jr);return Ke.title=ht(Jr.title,Ir),"children"in Ke&&(Ke.children=$n(Ke.children,Ir)),Ke})}function Jn(Yt){var Ir=v.useCallback(function(Jr){return $n(Jr,Yt)},[Yt]);return[Ir]}function vi(Yt){return function(Jr){var Ke,gt=Jr.prefixCls,Xt=Jr.onExpand,Wt=Jr.record,vr=Jr.expanded,or=Jr.expandable,Vr="".concat(gt,"-row-expand-icon");return v.createElement("button",{type:"button",onClick:function(Dr){Xt(Wt,Dr),Dr.stopPropagation()},className:s()(Vr,(Ke={},Object(A.a)(Ke,"".concat(Vr,"-spaced"),!or),Object(A.a)(Ke,"".concat(Vr,"-expanded"),or&&vr),Object(A.a)(Ke,"".concat(Vr,"-collapsed"),or&&!vr),Ke)),"aria-label":vr?Yt.collapse:Yt.expand})}}var Pi=vi,Bi=d("egiQ"),ja=d("TYmi"),Qn=d("kc2O");function Xr(Yt){return null}var hi=Xr;function Ri(Yt){return null}var bi=Ri,Ui=d("h3u3"),ni=[];function qi(Yt){var Ir,Jr=Yt.prefixCls,Ke=Yt.className,gt=Yt.style,Xt=Yt.size,Wt=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,ki=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)(),Mi=v.useMemo(function(){var $a=new Set(Object.keys(fi).filter(function(Na){return fi[Na]}));return(on||oe(Cn)).filter(function(Na){return!Na.responsive||Na.responsive.some(function(Vo){return $a.has(Vo)})})},[Cn,on,fi]),fa=Object(u.a)(Yt,["className","style","columns"]),Wi=v.useContext(Qn.b),ma=v.useContext(kt.b),aa=ma.locale,ya=aa===void 0?ja.a:aa,Ea=ma.renderEmpty,ca=ma.direction,Ma=Xt||Wi,wa=Object(m.a)(Object(m.a)({},ya.Table),ki),_i=or||ni,xi=v.useContext(kt.b),ji=xi.getPrefixCls,Ji=ji("table",Jr),Si=ji("dropdown",vr),Hi=Object(m.a)({childrenColumnName:sn,expandIconColumnIndex:si},Ln),Oa=Hi.childrenColumnName,_a=Oa===void 0?"children":Oa,la=v.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:v.useRef()},Fa=v.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,Fa),co=Object(b.a)(Xa,1),so=co[0],Ao={},io=function(Na,Vo){var Jo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Da=Object(m.a)(Object(m.a)({},Ao),Na);Jo&&(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(Bi.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:Ji,mergedColumns:Mi,onSorterChange:pa,sortDirections:Pn||["ascend","descend"],tableLocale:wa,showSorterTooltip:wi}),ba=Object(b.a)(ga,4),Oi=ba[0],Ba=ba[1],vo=ba[2],os=ba[3],Va=v.useMemo(function(){return sr(_i,Ba,_a)},[_i,Ba]);Ao.sorter=os(),Ao.sorterStates=Ba;var ao=function(Na,Vo){io({filters:Na,filterStates:Vo},"filter",!0)},Ga=Wn({prefixCls:Ji,locale:wa,dropdownPrefixCls:Si,mergedColumns:Mi,onFilterChange:ao,getPopupContainer:Yr}),yo=Object(b.a)(Ga,3),fo=yo[0],es=yo[1],To=yo[2],po=On(Va,es);Ao.filters=To(),Ao.filterStates=es;var Io=v.useMemo(function(){return Object(m.a)({},vo)},[vo]),Wo=Jn(Io),ns=Object(b.a)(Wo,1),Po=ns[0],Aa=function(Na,Vo){io({pagination:Object(m.a)(Object(m.a)({},Ao.pagination),{current:Na,pageSize:Vo})},"paginate")},Za=Kt(po.length,Vr,Aa),ka=Object(b.a)(Za,2),$i=ka[0],uo=ka[1];Ao.pagination=Vr===!1?{}:yn(Vr,$i),Ao.resetPagination=uo;var Ha=v.useMemo(function(){if(Vr===!1||!$i.pageSize)return po;var $a=$i.current,Na=$a===void 0?1:$a,Vo=$i.total,Jo=$i.pageSize,Da=Jo===void 0?Nr:Jo;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:Ji,data:po,pageData:Ha,getRowKey:Fa,getRecordByKey:so,expandType:la,childrenColumnName:_a,locale:wa,expandIconColumnIndex:Hi.expandIconColumnIndex,getPopupContainer:Yr}),Qa=Object(b.a)(Yi,2),Fo=Qa[0],Qo=Qa[1],Zo=function(Na,Vo,Jo){var Da;return typeof dn=="function"?Da=s()(dn(Na,Vo,Jo)):Da=s()(dn),s()(Object(A.a)({},"".concat(Ji,"-row-selected"),Qo.has(Fa(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=v.useCallback(function($a){return Po(Fo(fo(Oi($a))))},[Oi,fo,Fo]),Ya,lo;if(Vr!==!1&&($i==null?void 0:$i.total)){var Ci;$i.size?Ci=$i.size:Ci=Ma==="small"||Ma==="middle"?"small":void 0;var Sa=function(Na){return v.createElement(st.a,Object(m.a)({className:"".concat(Ji,"-pagination ").concat(Ji,"-pagination-").concat(Na)},$i,{size:Ci}))},bo=ca==="rtl"?"left":"right",Bo=$i.position;if(Bo!==null&&Array.isArray(Bo)){var Oo=Bo.find(function($a){return $a.indexOf("top")!==-1}),gs=Bo.find(function($a){return $a.indexOf("bottom")!==-1}),ds=Bo.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=s()("".concat(Ji,"-wrapper"),Object(A.a)({},"".concat(Ji,"-wrapper-rtl"),ca==="rtl"),Ke);return v.createElement("div",{className:ss,style:gt},v.createElement(Ye.a,Object(m.a)({spinning:!1},hs),Ya,v.createElement(je,Object(m.a)({},fa,{columns:Mi,direction:ca,expandable:Hi,prefixCls:Ji,className:s()((Ir={},Object(A.a)(Ir,"".concat(Ji,"-middle"),Ma==="middle"),Object(A.a)(Ir,"".concat(Ji,"-small"),Ma==="small"),Object(A.a)(Ir,"".concat(Ji,"-bordered"),Wt),Object(A.a)(Ir,"".concat(Ji,"-empty"),_i.length===0),Ir)),data:Ha,rowKey:Fa,rowClassName:Zo,emptyText:ki&&ki.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=Mn,qi.Column=hi,qi.ColumnGroup=bi,qi.Summary=rt;var Qi=qi,ha=P.a=Qi},K2GJ:function(M,P,d){var w=d("fW2E"),A=d("gut8"),b=A.ContextCachedBy,m=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],v=function(n){this.extendFrom(n,!1)};function p(i,n,l){var t=n.x==null?0:n.x,a=n.x2==null?1:n.x2,c=n.y==null?0:n.y,h=n.y2==null?0:n.y2;n.global||(t=t*l.width+l.x,a=a*l.width+l.x,c=c*l.height+l.y,h=h*l.height+l.y),t=isNaN(t)?0:t,a=isNaN(a)?1:a,c=isNaN(c)?0:c,h=isNaN(h)?0:h;var f=i.createLinearGradient(t,c,a,h);return f}function s(i,n,l){var t=l.width,a=l.height,c=Math.min(t,a),h=n.x==null?.5:n.x,f=n.y==null?.5:n.y,g=n.r==null?.5:n.r;n.global||(h=h*t+l.x,f=f*a+l.y,g=g*c);var S=i.createRadialGradient(h,f,0,h,f,g);return S}v.prototype={constructor:v,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(n,l,t){var a=this,c=t&&t.style,h=!c||n.__attrCachedBy!==b.STYLE_BIND;n.__attrCachedBy=b.STYLE_BIND;for(var f=0;f<m.length;f++){var g=m[f],S=g[0];(h||a[S]!==c[S])&&(n[S]=w(n,S,a[S]||g[1]))}if((h||a.fill!==c.fill)&&(n.fillStyle=a.fill),(h||a.stroke!==c.stroke)&&(n.strokeStyle=a.stroke),(h||a.opacity!==c.opacity)&&(n.globalAlpha=a.opacity==null?1:a.opacity),(h||a.blend!==c.blend)&&(n.globalCompositeOperation=a.blend||"source-over"),this.hasStroke()){var y=a.lineWidth;n.lineWidth=y/(this.strokeNoScale&&l&&l.getLineScale?l.getLineScale():1)}},hasFill:function(){var n=this.fill;return n!=null&&n!=="none"},hasStroke:function(){var n=this.stroke;return n!=null&&n!=="none"&&this.lineWidth>0},extendFrom:function(n,l){if(n)for(var t in n)n.hasOwnProperty(t)&&(l===!0||(l===!1?!this.hasOwnProperty(t):n[t]!=null))&&(this[t]=n[t])},set:function(n,l){typeof n=="string"?this[n]=l:this.extendFrom(n,!0)},clone:function(){var n=new this.constructor;return n.extendFrom(this,!0),n},getGradient:function(n,l,t){for(var a=l.type==="radial"?s:p,c=a(n,l,t),h=l.colorStops,f=0;f<h.length;f++)c.addColorStop(h[f].offset,h[f].color);return c}};for(var u=v.prototype,o=0;o<m.length;o++){var e=m[o];e[0]in u||(u[e[0]]=e[1])}v.getGradient=u.getGradient;var r=v;M.exports=r},K4ya:function(M,P,d){var w=d("bYtY"),A=d("XxSj"),b=w.each;function m(o){if(o){for(var e in o)if(o.hasOwnProperty(e))return!0}}function v(o,e,r){var i={};return b(e,function(l){var t=i[l]=n();b(o[l],function(a,c){if(!A.isValidType(c))return;var h={type:c,visual:a};r&&r(h,l),t[c]=new A(h),c==="opacity"&&(h=w.clone(h),h.type="colorAlpha",t.__hidden.__alphaForOpacity=new A(h))})}),i;function n(){var l=function(){};l.prototype.__hidden=l.prototype;var t=new l;return t}}function p(o,e,r){var i;w.each(r,function(n){e.hasOwnProperty(n)&&m(e[n])&&(i=!0)}),i&&w.each(r,function(n){e.hasOwnProperty(n)&&m(e[n])?o[n]=w.clone(e[n]):delete o[n]})}function s(o,e,r,i,n,l){var t={};w.each(o,function(g){var S=A.prepareVisualTypes(e[g]);t[g]=S});var a;function c(g){return r.getItemVisual(a,g)}function h(g,S){r.setItemVisual(a,g,S)}l==null?r.each(f):r.each([l],f);function f(g,S){a=l==null?g:S;var y=r.getRawDataItem(a);if(y&&y.visualMap===!1)return;for(var E=i.call(n,g),C=e[E],T=t[E],x=0,_=T.length;x<_;x++){var I=T[x];C[I]&&C[I].applyVisual(g,c,h)}}}function u(o,e,r,i){var n={};w.each(o,function(t){var a=A.prepareVisualTypes(e[t]);n[t]=a});function l(t,a){i!=null&&(i=a.getDimension(i));function c(I){return a.getItemVisual(f,I)}function h(I,L){a.setItemVisual(f,I,L)}for(var f;(f=t.next())!=null;){var g=a.getRawDataItem(f);if(g&&g.visualMap===!1)continue;for(var S=i!=null?a.get(i,f,!0):f,y=r(S),E=e[y],C=n[y],T=0,x=C.length;T<x;T++){var _=C[T];E[_]&&E[_].applyVisual(S,c,h)}}}return{progress:l}}P.createVisualMappings=v,P.replaceVisualOption=p,P.applyVisual=s,P.incrementalApplyVisual=u},KCsZ:function(M,P,d){var w=d("bYtY");function A(b){for(var m=0;m<b.length;m++)b[m][1]||(b[m][1]=b[m][0]);return function(v,p,s){for(var u={},o=0;o<b.length;o++){var e=b[o][1];if(p&&w.indexOf(p,e)>=0||s&&w.indexOf(s,e)<0)continue;var r=v.getShallow(e);r!=null&&(u[b[o][0]]=r)}return u}}M.exports=A},KS52:function(M,P,d){var w=d("OELB"),A=w.parsePercent,b=w.linearMap,m=d("+TT/"),v=d("u3DP"),p=d("bYtY"),s=Math.PI*2,u=Math.PI/180;function o(r,i){return m.getLayoutRect(r.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})}function e(r,i,n,l){i.eachSeriesByType(r,function(t){var a=t.getData(),c=a.mapDimension("value"),h=o(t,n),f=t.get("center"),g=t.get("radius");p.isArray(g)||(g=[0,g]),p.isArray(f)||(f=[f,f]);var S=A(h.width,n.getWidth()),y=A(h.height,n.getHeight()),E=Math.min(S,y),C=A(f[0],S)+h.x,T=A(f[1],y)+h.y,x=A(g[0],E/2),_=A(g[1],E/2),I=-t.get("startAngle")*u,L=t.get("minAngle")*u,D=0;a.each(c,function(J){!isNaN(J)&&D++});var B=a.getSum(c),N=Math.PI/(B||D)*2,k=t.get("clockwise"),W=t.get("roseType"),R=t.get("stillShowZeroSum"),j=a.getDataExtent(c);j[0]=0;var H=s,K=0,U=I,Q=k?1:-1;if(a.each(c,function(J,ae){var se;if(isNaN(J)){a.setItemLayout(ae,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:k,cx:C,cy:T,r0:x,r:W?NaN:_,viewRect:h});return}W!=="area"?se=B===0&&R?N:J*N:se=s/D,se<L?(se=L,H-=L):K+=J;var $=U+Q*se;a.setItemLayout(ae,{angle:se,startAngle:U,endAngle:$,clockwise:k,cx:C,cy:T,r0:x,r:W?b(J,j,[x,_]):_,viewRect:h}),U=$}),H<s&&D)if(H<=.001){var V=s/D;a.each(c,function(J,ae){if(!isNaN(J)){var se=a.getItemLayout(ae);se.angle=V,se.startAngle=I+Q*ae*V,se.endAngle=I+Q*(ae+1)*V}})}else N=H/K,U=I,a.each(c,function(J,ae){if(!isNaN(J)){var se=a.getItemLayout(ae),$=se.angle===L?L:J*N;se.startAngle=U,se.endAngle=U+Q*$,U+=Q*$}});v(t,_,h.width,h.height,h.x,h.y)})}M.exports=e},KUOm:function(M,P){function d(w){var A={};w.eachSeriesByType("graph",function(b){var m=b.getCategoriesData(),v=b.getData(),p={};m.each(function(s){var u=m.getName(s);p["ec-"+u]=s;var o=m.getItemModel(s),e=o.get("itemStyle.color")||b.getColorFromPalette(u,A);m.setItemVisual(s,"color",e);for(var r=["opacity","symbol","symbolSize","symbolKeepAspect"],i=0;i<r.length;i++){var n=o.getShallow(r[i],!0);n!=null&&m.setItemVisual(s,r[i],n)}}),m.count()&&v.each(function(s){var u=v.getItemModel(s),o=u.getShallow("category");if(o!=null){typeof o=="string"&&(o=p["ec-"+o]);for(var e=["color","opacity","symbol","symbolSize","symbolKeepAspect"],r=0;r<e.length;r++)v.getItemVisual(s,e[r],!0)==null&&v.setItemVisual(s,e[r],m.getItemVisual(o,e[r]))}})})}M.exports=d},Kagy:function(M,P){var d={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=d},KamJ:function(M,P,d){var w=d("ProS"),A=d("szbU");d("vF/C"),d("qwVE"),d("BuqR"),d("AE9C"),d("1u/T"),w.registerPreprocessor(A)},KxBF:function(M,P){function d(w,A,b){var m=-1,v=w.length;A<0&&(A=-A>v?0:v+A),b=b>v?v:b,b<0&&(b+=v),v=A>b?0:b-A>>>0,A>>>=0;for(var p=Array(v);++m<v;)p[m]=w[m+A];return p}M.exports=d},KxfA:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=b.isTypedArray,v=b.extend,p=b.assert,s=b.each,u=b.isObject,o=d("4NO4"),e=o.getDataItemValue,r=o.isDataItemOption,i=d("OELB"),n=i.parseDate,l=d("7G+c"),t=d("k9D9"),a=t.SOURCE_FORMAT_TYPED_ARRAY,c=t.SOURCE_FORMAT_ARRAY_ROWS,h=t.SOURCE_FORMAT_ORIGINAL,f=t.SOURCE_FORMAT_OBJECT_ROWS;function g(k,W){l.isInstance(k)||(k=l.seriesDataToSource(k)),this._source=k;var R=this._data=k.data,j=k.sourceFormat;j===a&&(this._offset=0,this._dimSize=W,this._data=R);var H=y[j===c?j+"_"+k.seriesLayoutBy:j];v(this,H)}var S=g.prototype;S.pure=!1,S.persistent=!0,S.getSource=function(){return this._source};var y={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(k){return this._data[k+this._source.startIndex]},appendData:T},arrayRows_row:{pure:!0,count:function(){var k=this._data[0];return k?Math.max(0,k.length-this._source.startIndex):0},getItem:function(k){k+=this._source.startIndex;for(var W=[],R=this._data,j=0;j<R.length;j++){var H=R[j];W.push(H?H[k]: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 k=this._source.dimensionsDefine[0].name,W=this._data[k];return W?W.length:0},getItem:function(k){for(var W=[],R=this._source.dimensionsDefine,j=0;j<R.length;j++){var H=this._data[R[j].name];W.push(H?H[k]:null)}return W},appendData:function(k){var W=this._data;s(k,function(R,j){for(var H=W[j]||(W[j]=[]),K=0;K<(R||[]).length;K++)H.push(R[K])})}},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(k,W){k=k-this._offset,W=W||[];for(var R=this._dimSize*k,j=0;j<this._dimSize;j++)W[j]=this._data[R+j];return W},appendData:function(k){this._data=k},clean:function(){this._offset+=this.count(),this._data=null}}};function E(){return this._data.length}function C(k){return this._data[k]}function T(k){for(var W=0;W<k.length;W++)this._data.push(k[W])}var x={arrayRows:_,objectRows:function(k,W,R,j){return R!=null?k[j]:k},keyedColumns:_,original:function(k,W,R,j){var H=e(k);return R==null||!(H instanceof Array)?H:H[R]},typedArray:_};function _(k,W,R,j){return R!=null?k[R]:k}var I={arrayRows:L,objectRows:function(k,W,R,j){return D(k[W],this._dimensionInfos[W])},keyedColumns:L,original:function(k,W,R,j){var H=k&&(k.value==null?k:k.value);return!this._rawData.pure&&r(k)&&(this.hasItemOption=!0),D(H instanceof Array?H[j]:H,this._dimensionInfos[W])},typedArray:function(k,W,R,j){return k[j]}};function L(k,W,R,j){return D(k[j],this._dimensionInfos[W])}function D(k,W){var R=W&&W.type;if(R==="ordinal"){var j=W&&W.ordinalMeta;return j?j.parseAndCollect(k):k}return R==="time"&&typeof k!="number"&&k!=null&&k!=="-"&&(k=+n(k)),k==null||k===""?NaN:+k}function B(k,W,R){if(!k)return;var j=k.getRawDataItem(W);if(j==null)return;var H=k.getProvider().getSource().sourceFormat,K,U,Q=k.getDimensionInfo(R);return Q&&(K=Q.name,U=Q.index),x[H](j,W,U,K)}function N(k,W,R){if(!k)return;var j=k.getProvider().getSource().sourceFormat;if(j!==h&&j!==f)return;var H=k.getRawDataItem(W);if(j===h&&!u(H)&&(H=null),H)return H[R]}P.DefaultDataProvider=g,P.defaultDimValueGetters=I,P.retrieveRawValue=B,P.retrieveRawAttr=N},L0Ub:function(M,P,d){var w=d("bYtY"),A=w.each,b=w.createHashMap,m=w.assert,v=d("Tghj"),p=v.__DEV__,s=b(["tooltip","label","itemName","itemId","seriesName"]);function u(i){var n={},l=n.encode={},t=b(),a=[],c=[],h=n.userOutput={dimensionNames:i.dimensions.slice(),encode:{}};A(i.dimensions,function(E){var C=i.getDimensionInfo(E),T=C.coordDim;if(T){var x=C.coordDimIndex;o(l,T)[x]=E,C.isExtraCoord||(t.set(T,1),r(C.type)&&(a[0]=E),o(h.encode,T)[x]=C.index),C.defaultTooltip&&c.push(E)}s.each(function(_,I){var L=o(l,I),D=C.otherDims[I];D!=null&&D!==!1&&(L[D]=C.name)})});var f=[],g={};t.each(function(E,C){var T=l[C];g[C]=T[0],f=f.concat(T)}),n.dataDimsOnCoord=f,n.encodeFirstDimNotExtra=g;var S=l.label;S&&S.length&&(a=S.slice());var y=l.tooltip;return y&&y.length?c=y.slice():c.length||(c=a.slice()),l.defaultedLabel=a,l.defaultedTooltip=c,n}function o(i,n){return i.hasOwnProperty(n)||(i[n]=[]),i[n]}function e(i){return i==="category"?"ordinal":i==="time"?"time":"float"}function r(i){return!(i==="ordinal"||i==="time")}P.OTHER_DIMENSIONS=s,P.summarizeDimensions=u,P.getDimensionTypeByAxis=e},L1ta:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("pjaq"),m=d.n(b),v=d("mXxy"),p=d("jOhD")},L3Oj:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("HjIi");d("HM/N"),d("9eas"),d("eS4l"),d("y4/Y"),d("as94"),w.registerLayout(A.curry(b,"bar")),w.extendComponentView({type:"polar"})},L5E0:function(M,P){var d=["itemStyle","borderColor"];function w(A,b){var m=A.get("color");A.eachRawSeriesByType("boxplot",function(v){var p=m[v.seriesIndex%m.length],s=v.getData();s.setVisual({legendSymbol:"roundRect",color:v.get(d)||p}),A.isSeriesFiltered(v)||s.each(function(u){var o=s.getItemModel(u);s.setItemVisual(u,{color:o.get(d,!0)})})})}M.exports=w},LBfv:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=A.createHashMap,m=A.each;w.registerProcessor({getTargetSeries:function(v){var p=b();return v.eachComponent("dataZoom",function(s){s.eachTargetAxis(function(u,o,e){var r=e.getAxisProxy(u.name,o);m(r.getTargetSeriesModels(),function(i){p.set(i.uid,i)})})}),p},modifyOutputEnd:!0,overallReset:function(v,p){v.eachComponent("dataZoom",function(s){s.eachTargetAxis(function(u,o,e){e.getAxisProxy(u.name,o).reset(e,p)}),s.eachTargetAxis(function(u,o,e){e.getAxisProxy(u.name,o).filterData(e,p)})}),v.eachComponent("dataZoom",function(s){var u=s.findRepresentativeAxisProxy(),o=u.getDataPercentWindow(),e=u.getDataValueWindow();s.setCalculatedRange({start:o[0],end:o[1],startValue:e[0],endValue:e[1]})})}})},LCi9:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;function w(g,S){if(!(g instanceof S))throw new TypeError("Cannot call a class as a function")}function A(g,S){for(var y=0;y<S.length;y++){var E=S[y];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}function b(g,S,y){return S&&A(g.prototype,S),y&&A(g,y),g}var m=0,v=1,p=2,s=4,u=8,o=16,e=32,r=64,i=127,n=50,l=90,t=250,a=1e3,c=1e3,h=50,f=function(){function g(){w(this,g),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 b(g,[{key:"attach",value:function(y){this.detach(),this._target=y,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(y){var E;y.stopPropagation(),y.preventDefault();switch(y.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<y.changedTouches.length;C++){var T=y.changedTouches[C];E.call(this,T.identifier,T.clientX,T.clientY)}}},{key:"_touchStart",value:function(y,E,C){if(this._hasDetectedGesture()||this._state===m){this._ignored.push(y);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>t){this._state=m,this._ignored.push(y);return}if(this._waitingRelease){this._state=m,this._ignored.push(y);return}this._tracked.push({id:y,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&=~(v|u|o),this._stopLongpressTimeout();break;case 3:this._state&=~(p|e|r);break;default:this._state=m}}},{key:"_touchMove",value:function(y,E,C){var T=this._tracked.find(function(B){return B.id===y});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,_)<n)return;if(this._state&=~(v|p|s|o),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~u),this._tracked.length!==2&&(this._state&=~(e|r)),this._tracked.length===2){var I=this._tracked.find(function(B){return B.id!==y}),L=Math.hypot(I.firstX-I.lastX,I.firstY-I.lastY);if(L>n){var D=Math.abs(T.angle-I.angle);D=Math.abs((D+180)%360-180),D>l?this._state&=~e:this._state&=~r,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(y,E,C){if(this._ignored.indexOf(y)!==-1){this._ignored.splice(this._ignored.indexOf(y),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&=~(u|e|r),this._state&=~o,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(p|s);break;case 2:this._state&=~(v|s);break}}if(this._waitingRelease){Date.now()-this._releaseStart>t&&(this._state=m),this._tracked.some(function(_){return Date.now()-_.started>a})&&(this._state=m);var T=this._tracked.find(function(_){return _.id===y});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(y)!==-1&&this._ignored.splice(this._ignored.indexOf(y),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&(v|p|s)&&this._tracked.some(function(y){return y.active}))}},{key:"_startLongpressTimeout",value:function(){var y=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return y._longpressTimeout()},c)}},{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=o,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var y=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return y._twoTouchTimeout()},h)}},{key:"_stopTwoTouchTimeout",value:function(){clearTimeout(this._twoTouchTimeoutId),this._twoTouchTimeoutId=null}},{key:"_isTwoTouchTimeoutRunning",value:function(){return this._twoTouchTimeoutId!==null}},{key:"_twoTouchTimeout",value:function(){if(this._tracked.length===0)throw new Error("A pinch or two drag gesture failed, no tracked touches");var y=this._getAverageMovement(),E=Math.abs(y.x),C=Math.abs(y.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=r:this._state=e,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(y){var E={type:this._stateToGesture(this._state)},C=this._getPosition(),T=C.last;y==="gesturestart"&&(T=C.first);switch(this._state){case e:case r:T=C.first;break}if(E.clientX=T.x,E.clientY=T.y,this._state===r){var x=this._getAverageDistance();y==="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(y==="gesturestart")E.magnitudeX=0,E.magnitudeY=0;else{var _=this._getAverageMovement();E.magnitudeX=_.x,E.magnitudeY=_.y}var I=new CustomEvent(y,{detail:E});this._target.dispatchEvent(I)}},{key:"_stateToGesture",value:function(y){switch(y){case v:return"onetap";case p:return"twotap";case s:return"threetap";case u:return"drag";case o:return"longpress";case e:return"twodrag";case r:return"pinch"}throw new Error("Unknown gesture state: "+y)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var y=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/y,y:C/y},last:{x:T/y,y:x/y}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var y,E;y=E=0;for(var C=this._tracked.length,T=0;T<this._tracked.length;T++)y+=this._tracked[T].lastX-this._tracked[T].firstX,E+=this._tracked[T].lastY-this._tracked[T].firstY;return{x:y/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 y=this._tracked[0],E=this._tracked[this._tracked.length-1],C=Math.abs(E.firstX-y.firstX),T=Math.abs(E.firstY-y.firstY),x=Math.abs(E.lastX-y.lastX),_=Math.abs(E.lastY-y.lastY);return{first:{x:C,y:T},last:{x,y:_}}}}]),g}();P.default=f},LPTA:function(M,P){var d=1;typeof window!="undefined"&&(d=Math.max(window.devicePixelRatio||1,1));var w=0,A=d;P.debugMode=w,P.devicePixelRatio=A},LPzL:function(M,P,d){var w=d("ProS");d("QzjZ"),d("vL6D"),d("xiyX"),d("y4/Y"),d("8Th4"),w.extendComponentView({type:"single"})},LSTS:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var w=function(){function i(n,l){for(var t=0;t<l.length;t++){var a=l[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,a.key,a)}}return function(n,l,t){return l&&i(n.prototype,l),t&&i(n,t),n}}(),A=d("q1tI"),b=p(A),m=d("17x9"),v=p(m);function p(i){return i&&i.__esModule?i:{default:i}}function s(i,n){var l={};for(var t in i){if(n.indexOf(t)>=0)continue;if(!Object.prototype.hasOwnProperty.call(i,t))continue;l[t]=i[t]}return l}function u(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function o(i,n){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:i}function e(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)}var r=function(i){e(n,i);function n(l){u(this,n);var t=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,l));return t.scrollListener=t.scrollListener.bind(t),t.eventListenerOptions=t.eventListenerOptions.bind(t),t.mousewheelListener=t.mousewheelListener.bind(t),t}return w(n,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var t=this.getParentElement(this.scrollComponent);t.scrollTop=t.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var t=!1,a={get passive(){t=!0}};try{document.addEventListener("test",null,a),document.removeEventListener("test",null,a)}catch(c){}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 a=this.props.getScrollParent&&this.props.getScrollParent();return a!=null?a: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 a=window;this.props.useWindow===!1&&(a=t),a.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),a.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.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,a=window,c=this.getParentElement(t),h=void 0;if(this.props.useWindow){var f=document.documentElement||document.body.parentNode||document.body,g=a.pageYOffset!==void 0?a.pageYOffset:f.scrollTop;this.props.isReverse?h=g:h=this.calculateOffset(t,g)}else this.props.isReverse?h=c.scrollTop:h=t.scrollHeight-c.scrollTop-c.clientHeight;h<Number(this.props.threshold)&&t&&t.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=c.scrollHeight,this.beforeScrollTop=c.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(t,a){return t?this.calculateTopPosition(t)+(t.offsetHeight-a-window.innerHeight):0}},{key:"calculateTopPosition",value:function(t){return t?t.offsetTop+this.calculateTopPosition(t.offsetParent):0}},{key:"render",value:function(){var t=this,a=this.filterProps(this.props),c=a.children,h=a.element,f=a.hasMore,g=a.initialLoad,S=a.isReverse,y=a.loader,E=a.loadMore,C=a.pageStart,T=a.ref,x=a.threshold,_=a.useCapture,I=a.useWindow,L=a.getScrollParent,D=s(a,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);D.ref=function(N){t.scrollComponent=N,T&&T(N)};var B=[c];return f&&(y?S?B.unshift(y):B.push(y):this.defaultLoader&&(S?B.unshift(this.defaultLoader):B.push(this.defaultLoader))),b.default.createElement(h,D,B)}}]),n}(A.Component);r.propTypes={children:v.default.node.isRequired,element:v.default.node,hasMore:v.default.bool,initialLoad:v.default.bool,isReverse:v.default.bool,loader:v.default.node,loadMore:v.default.func.isRequired,pageStart:v.default.number,ref:v.default.func,getScrollParent:v.default.func,threshold:v.default.number,useCapture:v.default.bool,useWindow:v.default.bool},r.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},P.default=r,M.exports=P.default},LVeG:function(M,P,d){"use strict";var w=d("+QfB"),A=d("l5UB"),b=d("OO/H")},LZL9:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var w={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},A=w;P.default=A},Ldeo:function(M,P,d){"use strict";var w=d("wx14"),A=d("1OyB"),b=d("vuIU"),m=d("JX7q"),v=d("Ji7U"),p=d("LK+K"),s=d("rePB"),u=d("q1tI"),o=d("Ff2n"),e=d("KQm4"),r=d("uciX"),i=d("2W6z"),n=d.n(i),l=d("4IlW"),t=d("uK0f"),a=d.n(t);function c(ne,Ae){if(ne===Ae)return!0;if(!ne||!Ae)return!1;var Ne=ne.length;if(Ae.length!==Ne)return!1;for(var oe=0;oe<Ne;oe++)if(ne[oe]!==Ae[oe])return!1;return!0}var h=function(ne){Object(v.a)(Ne,ne);var Ae=Object(p.a)(Ne);function Ne(){var oe;return Object(A.a)(this,Ne),oe=Ae.apply(this,arguments),oe.menuItems={},oe.saveMenuItem=function(de){return function(xe){oe.menuItems[de]=xe}},oe}return Object(b.a)(Ne,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(de){!de.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(de){var xe=this.props,Pe=xe.fieldNames,tt=xe.defaultFieldNames;return Pe[de]||tt[de]}},{key:"getOption",value:function(de,xe){var Pe=this.props,tt=Pe.prefixCls,Je=Pe.expandTrigger,Oe=Pe.expandIcon,pt=Pe.loadingIcon,Qe=this.props.onSelect.bind(this,de,xe),nt=this.props.onItemDoubleClick.bind(this,de,xe),bt={onClick:Qe,onDoubleClick:nt},Tt="".concat(tt,"-menu-item"),Ct=null,Nt=de[this.getFieldName("children")]&&de[this.getFieldName("children")].length>0;(Nt||de.isLeaf===!1)&&(Tt+=" ".concat(tt,"-menu-item-expand"),de.loading||(Ct=u.createElement("span",{className:"".concat(tt,"-menu-item-expand-icon")},Oe))),Je==="hover"&&(Nt||de.isLeaf===!1)&&(bt={onMouseEnter:this.delayOnSelect.bind(this,Qe),onMouseLeave:this.delayOnSelect.bind(this),onClick:Qe}),this.isActiveOption(de,xe)&&(Tt+=" ".concat(tt,"-menu-item-active"),bt.ref=this.saveMenuItem(xe)),de.disabled&&(Tt+=" ".concat(tt,"-menu-item-disabled"));var Ge=null;de.loading&&(Tt+=" ".concat(tt,"-menu-item-loading"),Ge=pt||null);var ie="";return"title"in de?ie=de.title:typeof de[this.getFieldName("label")]=="string"&&(ie=de[this.getFieldName("label")]),u.createElement("li",Object(w.a)({key:de[this.getFieldName("value")],className:Tt,title:ie},bt,{role:"menuitem",onMouseDown:function(we){return we.preventDefault()}}),de[this.getFieldName("label")],Ct,Ge)}},{key:"getActiveOptions",value:function(de){var xe=this,Pe=this.props.options,tt=de||this.props.activeValue;return a()(Pe,function(Je,Oe){return Je[xe.getFieldName("value")]===tt[Oe]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var de=this,xe=this.props.options,Pe=this.getActiveOptions().map(function(tt){return tt[de.getFieldName("children")]}).filter(function(tt){return!!tt&&tt.length>0});return Pe.unshift(xe),Pe}},{key:"delayOnSelect",value:function(de){for(var xe=this,Pe=arguments.length,tt=new Array(Pe>1?Pe-1:0),Je=1;Je<Pe;Je++)tt[Je-1]=arguments[Je];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof de=="function"&&(this.delayTimer=window.setTimeout(function(){de(tt),xe.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var de=this.getShowOptions().length,xe=0;xe<de;xe++){var Pe=this.menuItems[xe];Pe&&Pe.parentElement&&(Pe.parentElement.scrollTop=Pe.offsetTop)}}},{key:"isActiveOption",value:function(de,xe){var Pe=this.props.activeValue,tt=Pe===void 0?[]:Pe;return tt[xe]===de[this.getFieldName("value")]}},{key:"render",value:function(){var de=this,xe=this.props,Pe=xe.prefixCls,tt=xe.dropdownMenuColumnStyle;return u.createElement("div",null,this.getShowOptions().map(function(Je,Oe){return u.createElement("ul",{className:"".concat(Pe,"-menu"),key:Oe,style:tt},Je.map(function(pt){return de.getOption(pt,Oe)}))}))}}]),Ne}(u.Component);h.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"};var f=h,g={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=g,y=function(ne){Object(v.a)(Ne,ne);var Ae=Object(p.a)(Ne);function Ne(oe){var de;Object(A.a)(this,Ne),de=Ae.call(this,oe),de.setPopupVisible=function(Pe){var tt=de.state.value;"popupVisible"in de.props||de.setState({popupVisible:Pe}),Pe&&!de.state.popupVisible&&de.setState({activeValue:tt}),de.props.onPopupVisibleChange(Pe)},de.handleChange=function(Pe,tt,Je){var Oe=tt.visible;(Je.type!=="keydown"||Je.keyCode===l.a.ENTER)&&(de.props.onChange(Pe.map(function(pt){return pt[de.getFieldName("value")]}),Pe),de.setPopupVisible(Oe))},de.handlePopupVisibleChange=function(Pe){de.setPopupVisible(Pe)},de.handleMenuSelect=function(Pe,tt,Je){var Oe=de.trigger.getRootDomNode();Oe&&Oe.focus&&Oe.focus();var pt=de.props,Qe=pt.changeOnSelect,nt=pt.loadData,bt=pt.expandTrigger;if(!Pe||Pe.disabled)return;var Tt=de.state.activeValue;Tt=Tt.slice(0,tt+1),Tt[tt]=Pe[de.getFieldName("value")];var Ct=de.getActiveOptions(Tt);if(Pe.isLeaf===!1&&!Pe[de.getFieldName("children")]&&nt){Qe&&de.handleChange(Ct,{visible:!0},Je),de.setState({activeValue:Tt}),nt(Ct);return}var Nt={};!Pe[de.getFieldName("children")]||!Pe[de.getFieldName("children")].length?(de.handleChange(Ct,{visible:!1},Je),Nt.value=Tt):Qe&&(Je.type==="click"||Je.type==="keydown")&&(bt==="hover"?de.handleChange(Ct,{visible:!1},Je):de.handleChange(Ct,{visible:!0},Je),Nt.value=Tt),Nt.activeValue=Tt,("value"in de.props||Je.type==="keydown"&&Je.keyCode!==l.a.ENTER)&&delete Nt.value,de.setState(Nt)},de.handleItemDoubleClick=function(){var Pe=de.props.changeOnSelect;Pe&&de.setPopupVisible(!1)},de.handleKeyDown=function(Pe){var tt=de.props.children;if(tt&&tt.props.onKeyDown){tt.props.onKeyDown(Pe);return}var Je=Object(e.a)(de.state.activeValue),Oe=Je.length-1<0?0:Je.length-1,pt=de.getCurrentLevelOptions(),Qe=pt.map(function(Ct){return Ct[de.getFieldName("value")]}).indexOf(Je[Oe]);if(Pe.keyCode!==l.a.DOWN&&Pe.keyCode!==l.a.UP&&Pe.keyCode!==l.a.LEFT&&Pe.keyCode!==l.a.RIGHT&&Pe.keyCode!==l.a.ENTER&&Pe.keyCode!==l.a.SPACE&&Pe.keyCode!==l.a.BACKSPACE&&Pe.keyCode!==l.a.ESC&&Pe.keyCode!==l.a.TAB)return;if(!de.state.popupVisible&&Pe.keyCode!==l.a.BACKSPACE&&Pe.keyCode!==l.a.LEFT&&Pe.keyCode!==l.a.RIGHT&&Pe.keyCode!==l.a.ESC&&Pe.keyCode!==l.a.TAB){de.setPopupVisible(!0),de.props.onKeyDown&&de.props.onKeyDown(Pe);return}if(Pe.keyCode===l.a.DOWN||Pe.keyCode===l.a.UP){Pe.preventDefault();var nt=Qe;nt!==-1?Pe.keyCode===l.a.DOWN?(nt+=1,nt=nt>=pt.length?0:nt):(nt-=1,nt=nt<0?pt.length-1:nt):nt=0,Je[Oe]=pt[nt][de.getFieldName("value")]}else if(Pe.keyCode===l.a.LEFT||Pe.keyCode===l.a.BACKSPACE)Pe.preventDefault(),Je.splice(Je.length-1,1);else if(Pe.keyCode===l.a.RIGHT)Pe.preventDefault(),pt[Qe]&&pt[Qe][de.getFieldName("children")]&&Je.push(pt[Qe][de.getFieldName("children")][0][de.getFieldName("value")]);else if(Pe.keyCode===l.a.ESC||Pe.keyCode===l.a.TAB){de.setPopupVisible(!1),de.props.onKeyDown&&de.props.onKeyDown(Pe);return}(!Je||Je.length===0)&&de.setPopupVisible(!1);var bt=de.getActiveOptions(Je),Tt=bt[bt.length-1];de.handleMenuSelect(Tt,bt.length-1,Pe),de.props.onKeyDown&&de.props.onKeyDown(Pe)},de.saveTrigger=function(Pe){de.trigger=Pe};var xe=[];return"value"in oe?xe=oe.value||[]:"defaultValue"in oe&&(xe=oe.defaultValue||[]),n()(!("filedNames"in oe),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),de.state={popupVisible:oe.popupVisible,activeValue:xe,value:xe,prevProps:oe},de.defaultFieldNames={label:"label",value:"value",children:"children"},de}return Object(b.a)(Ne,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(de){var xe=this.defaultFieldNames,Pe=this.props,tt=Pe.fieldNames,Je=Pe.filedNames;return"filedNames"in this.props?Je[de]||xe[de]:tt[de]||xe[de]}},{key:"getFieldNames",value:function(){var de=this.props,xe=de.fieldNames,Pe=de.filedNames;return"filedNames"in this.props?Pe:xe}},{key:"getCurrentLevelOptions",value:function(){var de=this,xe=this.props.options,Pe=xe===void 0?[]:xe,tt=this.state.activeValue,Je=tt===void 0?[]:tt,Oe=a()(Pe,function(pt,Qe){return pt[de.getFieldName("value")]===Je[Qe]},{childrenKeyName:this.getFieldName("children")});return Oe[Oe.length-2]?Oe[Oe.length-2][this.getFieldName("children")]:Object(e.a)(Pe).filter(function(pt){return!pt.disabled})}},{key:"getActiveOptions",value:function(de){var xe=this;return a()(this.props.options||[],function(Pe,tt){return Pe[xe.getFieldName("value")]===de[tt]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var de=this.props,xe=de.prefixCls,Pe=de.transitionName,tt=de.popupClassName,Je=de.options,Oe=Je===void 0?[]:Je,pt=de.disabled,Qe=de.builtinPlacements,nt=de.popupPlacement,bt=de.children,Tt=de.dropdownRender,Ct=Object(o.a)(de,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),Nt=u.createElement("div",null),Ge="";Oe&&Oe.length>0?Nt=u.createElement(f,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})):Ge=" ".concat(xe,"-menus-empty");var ie=Nt;return Tt&&(ie=Tt(Nt)),u.createElement(r.a,Object(w.a)({ref:this.saveTrigger},Ct,{popupPlacement:nt,builtinPlacements:Qe,popupTransitionName:Pe,action:pt?[]:["click"],popupVisible:pt?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(xe,"-menus"),popupClassName:tt+Ge,popup:ie}),u.cloneElement(bt,{onKeyDown:this.handleKeyDown,tabIndex:pt?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(de,xe){var Pe=xe.prevProps,tt=Pe===void 0?{}:Pe,Je={prevProps:de};return"value"in de&&!c(tt.value,de.value)&&(Je.value=de.value||[],"loadData"in de||(Je.activeValue=de.value||[])),"popupVisible"in de&&(Je.popupVisible=de.popupVisible),Je}}]),Ne}(u.Component);y.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=y,C=E,T=d("TSYQ"),x=d.n(T),_=d("bT9E"),I=d("jN4g"),L=d("8Skl"),D=d("UESt"),B=d("VTBJ"),N={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"},k=N,W=d("6VBw"),R=function(Ae,Ne){return u.createElement(W.a,Object(B.a)(Object(B.a)({},Ae),{},{ref:Ne,icon:k}))};R.displayName="RedoOutlined";var j=u.forwardRef(R),H=d("5bA4"),K=d("FIeM"),U=d("9R2V"),Q=d("VM9+"),V=d("bq+4"),J=d("kc2O"),ae=d("kLeg"),se=d("MZCN"),$=function(ne,Ae){var Ne={};for(var oe in ne)Object.prototype.hasOwnProperty.call(ne,oe)&&Ae.indexOf(oe)<0&&(Ne[oe]=ne[oe]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,oe=Object.getOwnPropertySymbols(ne);de<oe.length;de++)Ae.indexOf(oe[de])<0&&Object.prototype.propertyIsEnumerable.call(ne,oe[de])&&(Ne[oe[de]]=ne[oe[de]]);return Ne},ge=50,he="__KEEP_FILTERED_OPTION_VALUE";function Ie(ne,Ae,Ne){return ne.split(Ae).map(function(oe,de){return de===0?oe:[u.createElement("span",{className:"".concat(Ne,"-menu-item-keyword"),key:"seperator"},Ae),oe]})}function Se(ne,Ae,Ne){return Ae.some(function(oe){return oe[Ne.label].indexOf(ne)>-1})}function Le(ne,Ae,Ne,oe){return Ae.map(function(de,xe){var Pe=de[oe.label],tt=Pe.indexOf(ne)>-1?Ie(Pe,ne,Ne):Pe;return xe===0?tt:[" / ",tt]})}function He(ne,Ae,Ne,oe){function de(xe){return xe[oe.label].indexOf(Ne)>-1}return ne.findIndex(de)-Ae.findIndex(de)}function G(ne){var Ae=ne.fieldNames;return Ae}function pe(ne){var Ae=G(ne)||{},Ne={children:Ae.children||"children",label:Ae.label||"label",value:Ae.value||"value"};return Ne}function We(ne,Ae){var Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],oe=pe(Ae),de=[],xe=oe.children;return ne.forEach(function(Pe){var tt=Ne.concat(Pe);(Ae.changeOnSelect||!Pe[xe]||!Pe[xe].length)&&de.push(tt),Pe[xe]&&(de=de.concat(We(Pe[xe],Ae,tt)))}),de}var te=function(Ae){return Ae.join(" / ")};function X(ne){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(ne||[]).forEach(function(Ne){var oe=Ae.value||"value";Object(V.a)(oe in Ne,"Cascader","Not found `value` in `options`."),X(Ne[Ae.children||"children"],Ae)})}function z(ne,Ae,Ne){var oe;return oe={},Object(s.a)(oe,Ae.value,"ANT_CASCADER_NOT_FOUND"),Object(s.a)(oe,Ae.label,Ne||ne("Cascader")),Object(s.a)(oe,"disabled",!0),Object(s.a)(oe,"isEmptyNode",!0),oe}var Z=function(ne){Object(v.a)(Ne,ne);var Ae=Object(p.a)(Ne);function Ne(oe){var de;return Object(A.a)(this,Ne),de=Ae.call(this,oe),de.cachedOptions=[],de.setValue=function(xe){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in de.props||de.setState({value:xe});var tt=de.props.onChange;tt==null||tt(xe,Pe)},de.saveInput=function(xe){de.input=xe},de.handleChange=function(xe,Pe){if(de.setState({inputValue:""}),Pe[0].__IS_FILTERED_OPTION){var tt=Pe[0][he]===void 0?xe[0]:Pe[0][he],Je=Pe[0].path;de.setValue(tt,Je);return}de.setValue(xe,Pe)},de.handlePopupVisibleChange=function(xe){"popupVisible"in de.props||de.setState(function(tt){return{popupVisible:xe,inputFocused:xe,inputValue:xe?tt.inputValue:""}});var Pe=de.props.onPopupVisibleChange;Pe==null||Pe(xe)},de.handleInputBlur=function(){de.setState({inputFocused:!1})},de.handleInputClick=function(xe){var Pe=de.state,tt=Pe.inputFocused,Je=Pe.popupVisible;(tt||Je)&&xe.stopPropagation()},de.handleKeyDown=function(xe){(xe.keyCode===l.a.BACKSPACE||xe.keyCode===l.a.SPACE)&&xe.stopPropagation()},de.handleInputChange=function(xe){var Pe=de.state.popupVisible,tt=xe.target.value;Pe||de.handlePopupVisibleChange(!0),de.setState({inputValue:tt})},de.clearSelection=function(xe){var Pe=de.state.inputValue;xe.preventDefault(),xe.stopPropagation(),Pe?de.setState({inputValue:""}):(de.handlePopupVisibleChange(!1),de.clearSelectionTimeout=setTimeout(function(){de.setValue([])},200))},de.renderCascader=function(xe,Pe){var tt=xe.getPopupContainer,Je=xe.getPrefixCls,Oe=xe.renderEmpty,pt=xe.direction;return u.createElement(J.b.Consumer,null,function(Qe){var nt,bt,Tt,Ct,Nt=Object(m.a)(de),Ge=Nt.props,ie=Nt.state,Y=Ge.prefixCls,we=Ge.inputPrefixCls,Ce=Ge.children,le=Ge.placeholder,ot=le===void 0?Pe.placeholder||"Please select":le,wt=Ge.size,rt=Ge.disabled,It=Ge.className,Gt=Ge.style,lr=Ge.allowClear,pr=Ge.showSearch,Rr=pr===void 0?!1:pr,xt=Ge.suffixIcon,Ot=Ge.expandIcon,At=Ge.notFoundContent,Jt=Ge.popupClassName,br=Ge.bordered,Lr=Ge.dropdownRender,Zr=$(Ge,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),In=wt||Qe,Gr=ie.value,Tr=ie.inputFocused,fr=pt==="rtl",vt=Je("cascader",Y),ft=Je("input",we),De=x()((nt={},Object(s.a)(nt,"".concat(ft,"-lg"),In==="large"),Object(s.a)(nt,"".concat(ft,"-sm"),In==="small"),nt)),je=lr&&!rt&&Gr.length>0||ie.inputValue?u.createElement(I.a,{className:"".concat(vt,"-picker-clear"),onClick:de.clearSelection}):null,Ye=x()((bt={},Object(s.a)(bt,"".concat(vt,"-picker-arrow"),!0),Object(s.a)(bt,"".concat(vt,"-picker-arrow-expand"),ie.popupVisible),bt)),st=x()("".concat(vt,"-picker"),(Tt={},Object(s.a)(Tt,"".concat(vt,"-picker-rtl"),fr),Object(s.a)(Tt,"".concat(vt,"-picker-with-value"),ie.inputValue),Object(s.a)(Tt,"".concat(vt,"-picker-disabled"),rt),Object(s.a)(Tt,"".concat(vt,"-picker-").concat(In),!!In),Object(s.a)(Tt,"".concat(vt,"-picker-show-search"),!!Rr),Object(s.a)(Tt,"".concat(vt,"-picker-focused"),Tr),Object(s.a)(Tt,"".concat(vt,"-picker-borderless"),!br),Tt),It),kt=Object(_.a)(Zr,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","filterOption","renderFilteredOption","sortFilteredOption","fieldNames"]),$t=Ge.options,Nr=pe(de.props);$t&&$t.length>0?ie.inputValue&&($t=de.generateFilteredOptions(vt,Oe)):$t=[z(Oe,Nr,At)],ie.popupVisible?de.cachedOptions=$t:$t=de.cachedOptions;var yn={},un=($t||[]).length===1&&$t[0].isEmptyNode;un&&(yn.height="auto");var Kt=Rr.matchInputWidth!==!1;Kt&&(ie.inputValue||un)&&de.input&&(yn.width=de.input.input.offsetWidth);var St;xt?St=Object(ae.c)(xt,u.createElement("span",{className:"".concat(vt,"-picker-arrow")},xt),function(){var Cr;return{className:x()((Cr={},Object(s.a)(Cr,xt.props.className,xt.props.className),Object(s.a)(Cr,"".concat(vt,"-picker-arrow"),!0),Cr))}}):St=u.createElement(L.a,{className:Ye});var Mt=Ce||u.createElement("span",{style:Gt,className:st},u.createElement("span",{className:"".concat(vt,"-picker-label")},de.getLabel()),u.createElement(K.a,Object(w.a)({},kt,{tabIndex:-1,ref:de.saveInput,prefixCls:ft,placeholder:Gr&&Gr.length>0?void 0:ot,className:"".concat(vt,"-input ").concat(De),value:ie.inputValue,disabled:rt,readOnly:!Rr,autoComplete:kt.autoComplete||"off",onClick:Rr?de.handleInputClick:void 0,onBlur:Rr?de.handleInputBlur:void 0,onKeyDown:de.handleKeyDown,onChange:Rr?de.handleInputChange:void 0})),je,St),Zt;Ot?Zt=Ot:Zt=fr?u.createElement(H.a,null):u.createElement(D.a,null);var kr=u.createElement("span",{className:"".concat(vt,"-menu-item-loading-icon")},u.createElement(j,{spin:!0})),Hr=Ge.getPopupContainer||tt,$r=Object(_.a)(Ge,["inputIcon","expandIcon","loadingIcon","bordered","className"]),Bt=x()(Jt,(Ct={},Object(s.a)(Ct,"".concat(vt,"-menu-").concat(pt),pt==="rtl"),Object(s.a)(Ct,"".concat(vt,"-menu-empty"),$t.length===1&&$t[0].value==="ANT_CASCADER_NOT_FOUND"),Ct)),cr=Je();return u.createElement(C,Object(w.a)({},$r,{prefixCls:vt,getPopupContainer:Hr,options:$t,value:Gr,popupVisible:ie.popupVisible,onPopupVisibleChange:de.handlePopupVisibleChange,onChange:de.handleChange,dropdownMenuColumnStyle:yn,expandIcon:Zt,loadingIcon:kr,popupClassName:Bt,popupPlacement:de.getPopupPlacement(pt),dropdownRender:Lr,transitionName:Object(se.b)(cr,"slide-up",Ge.transitionName)}),Mt)})},de.state={value:oe.value||oe.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:oe.popupVisible,flattenOptions:oe.showSearch?We(oe.options,oe):void 0,prevProps:oe},de}return Object(b.a)(Ne,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var de=this.props,xe=de.options,Pe=de.displayRender,tt=Pe===void 0?te:Pe,Je=pe(this.props),Oe=this.state.value,pt=Array.isArray(Oe[0])?Oe[0]:Oe,Qe=a()(xe,function(bt,Tt){return bt[Je.value]===pt[Tt]},{childrenKeyName:Je.children}),nt=Qe.length?Qe.map(function(bt){return bt[Je.label]}):Oe;return tt(nt,Qe)}},{key:"generateFilteredOptions",value:function(de,xe){var Pe=this,tt=this.props,Je=tt.showSearch,Oe=tt.notFoundContent,pt=pe(this.props),Qe=Je.filter,nt=Qe===void 0?Se:Qe,bt=Je.render,Tt=bt===void 0?Le:bt,Ct=Je.sort,Nt=Ct===void 0?He:Ct,Ge=Je.limit,ie=Ge===void 0?ge:Ge,Y=this.state,we=Y.flattenOptions,Ce=we===void 0?[]:we,le=Y.inputValue,ot;if(ie>0){ot=[];var wt=0;Ce.some(function(It){var Gt=nt(Pe.state.inputValue,It,pt);return Gt&&(ot.push(It),wt+=1),wt>=ie})}else Object(V.a)(typeof ie!="number","Cascader","'limit' of showSearch should be positive number or false."),ot=Ce.filter(function(It){return nt(Pe.state.inputValue,It,pt)});if(ot=ot.sort(function(It,Gt){return Nt(It,Gt,le,pt)}),ot.length>0){var rt=pt.value===pt.label?he:pt.value;return ot.map(function(It){var Gt;return Gt={__IS_FILTERED_OPTION:!0,path:It},Object(s.a)(Gt,rt,It.map(function(lr){return lr[pt.value]})),Object(s.a)(Gt,pt.label,Tt(le,It,de,pt)),Object(s.a)(Gt,"disabled",It.some(function(lr){return!!lr.disabled})),Object(s.a)(Gt,"isEmptyNode",!0),Gt})}return[z(xe,pt,Oe)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",xe=this.props.popupPlacement;return xe!==void 0?xe:de==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var de=this;return u.createElement(U.a,null,function(xe){return u.createElement(Q.a,null,function(Pe){return de.renderCascader(xe,Pe)})})}}],[{key:"getDerivedStateFromProps",value:function(de,xe){var Pe=xe.prevProps,tt={prevProps:de};return"value"in de&&(tt.value=de.value||[]),"popupVisible"in de&&(tt.popupVisible=de.popupVisible),de.showSearch&&Pe.options!==de.options&&(tt.flattenOptions=We(de.options,de)),tt}}]),Ne}(u.Component);Z.defaultProps={options:[],disabled:!1,allowClear:!0,bordered:!0};var be=P.a=Z},Llu2:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="DeliveredProcedureOutlined";var s=P.a=A.forwardRef(p)},Lo0S:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.initLogging=p,P.getLogging=s,P.Error=P.Warn=P.Info=P.Debug=void 0;var w="warn",A=function(){};P.Debug=A;var b=function(){};P.Info=b;var m=function(){};P.Warn=m;var v=function(){};P.Error=v;function p(u){if(typeof u=="undefined"?u=w:w=u,P.Debug=A=P.Info=b=P.Warn=m=P.Error=v=function(){},typeof window.console!="undefined")switch(u){case"debug":P.Debug=A=console.debug.bind(window.console);case"info":P.Info=b=console.info.bind(window.console);case"warn":P.Warn=m=console.warn.bind(window.console);case"error":P.Error=v=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+u+"'")}}function s(){return w}p()},LtfV:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="InboxOutlined";var s=P.a=A.forwardRef(p)},Lyp1:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="QuestionCircleOutlined";var s=P.a=A.forwardRef(p)},LzGr:function(M,P,d){var w=d("ProS"),A=d("rnVJ");d("EMyp"),d("8x+h"),d("wt3j"),d("uOyE"),d("/stD"),w.registerPreprocessor(A)},MBQ8:function(M,P,d){var w=d("T4UG"),A=d("MwEJ"),b=w.extend({type:"series.__base_bar__",getInitialData:function(m,v){return A(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(m){var v=this.coordinateSystem;if(v){var p=v.dataToPoint(v.clampData(m)),s=this.getData(),u=s.getLayout("offset"),o=s.getLayout("size"),e=v.getBaseAxis().isHorizontal()?0:1;return p[e]+=u+o/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=b},MEGo:function(M,P,d){var w=d("4fz+"),A=d("Dagg"),b=d("dqUG"),m=d("2fw6"),v=d("x6Kt"),p=d("rmlV"),s=d("yxFR"),u=d("y+Vt"),o=d("h7HQ"),e=d("1Jh7"),r=d("SKnc"),i=d("K2GJ"),n=d("Fofx"),l=d("NC18"),t=l.createFromString,a=d("bYtY"),c=a.isString,h=a.extend,f=a.defaults,g=a.trim,S=a.each,y=/[\s,]+/;function E(Q){if(c(Q)){var V=new DOMParser;Q=V.parseFromString(Q,"text/xml")}for(Q.nodeType===9&&(Q=Q.firstChild);Q.nodeName.toLowerCase()!=="svg"||Q.nodeType!==1;)Q=Q.nextSibling;return Q}function C(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}C.prototype.parse=function(Q,V){V=V||{};var J=E(Q);if(!J)throw new Error("Illegal svg");var ae=new w;this._root=ae;var se=J.getAttribute("viewBox")||"",$=parseFloat(J.getAttribute("width")||V.width),ge=parseFloat(J.getAttribute("height")||V.height);isNaN($)&&($=null),isNaN(ge)&&(ge=null),B(J,ae,null,!0);for(var he=J.firstChild;he;)this._parseNode(he,ae),he=he.nextSibling;var Ie,Se;if(se){var Le=g(se).split(y);Le.length>=4&&(Ie={x:parseFloat(Le[0]||0),y:parseFloat(Le[1]||0),width:parseFloat(Le[2]),height:parseFloat(Le[3])})}if(Ie&&$!=null&&ge!=null&&(Se=K(Ie,$,ge),!V.ignoreViewBox)){var He=ae;ae=new w,ae.add(He),He.scale=Se.scale.slice(),He.position=Se.position.slice()}return!V.ignoreRootClip&&$!=null&&ge!=null&&ae.setClipPath(new v({shape:{x:0,y:0,width:$,height:ge}})),{root:ae,width:$,height:ge,viewBoxRect:Ie,viewBoxTransform:Se}},C.prototype._parseNode=function(Q,V){var J=Q.nodeName.toLowerCase();J==="defs"?this._isDefine=!0:J==="text"&&(this._isText=!0);var ae;if(this._isDefine){var se=x[J];if(se){var $=se.call(this,Q),ge=Q.getAttribute("id");ge&&(this._defs[ge]=$)}}else{var se=T[J];se&&(ae=se.call(this,Q,V),V.add(ae))}for(var he=Q.firstChild;he;)he.nodeType===1&&this._parseNode(he,ae),he.nodeType===3&&this._isText&&this._parseText(he,ae),he=he.nextSibling;J==="defs"?this._isDefine=!1:J==="text"&&(this._isText=!1)},C.prototype._parseText=function(Q,V){if(Q.nodeType===1){var J=Q.getAttribute("dx")||0,ae=Q.getAttribute("dy")||0;this._textX+=parseFloat(J),this._textY+=parseFloat(ae)}var se=new b({style:{text:Q.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(V,se),B(Q,se,this._defs);var $=se.style.fontSize;$&&$<9&&(se.style.fontSize=9,se.scale=se.scale||[1,1],se.scale[0]*=$/9,se.scale[1]*=$/9);var ge=se.getBoundingRect();return this._textX+=ge.width,V.add(se),se};var T={g:function(V,J){var ae=new w;return I(J,ae),B(V,ae,this._defs),ae},rect:function(V,J){var ae=new v;return I(J,ae),B(V,ae,this._defs),ae.setShape({x:parseFloat(V.getAttribute("x")||0),y:parseFloat(V.getAttribute("y")||0),width:parseFloat(V.getAttribute("width")||0),height:parseFloat(V.getAttribute("height")||0)}),ae},circle:function(V,J){var ae=new m;return I(J,ae),B(V,ae,this._defs),ae.setShape({cx:parseFloat(V.getAttribute("cx")||0),cy:parseFloat(V.getAttribute("cy")||0),r:parseFloat(V.getAttribute("r")||0)}),ae},line:function(V,J){var ae=new s;return I(J,ae),B(V,ae,this._defs),ae.setShape({x1:parseFloat(V.getAttribute("x1")||0),y1:parseFloat(V.getAttribute("y1")||0),x2:parseFloat(V.getAttribute("x2")||0),y2:parseFloat(V.getAttribute("y2")||0)}),ae},ellipse:function(V,J){var ae=new p;return I(J,ae),B(V,ae,this._defs),ae.setShape({cx:parseFloat(V.getAttribute("cx")||0),cy:parseFloat(V.getAttribute("cy")||0),rx:parseFloat(V.getAttribute("rx")||0),ry:parseFloat(V.getAttribute("ry")||0)}),ae},polygon:function(V,J){var ae=V.getAttribute("points");ae&&(ae=L(ae));var se=new o({shape:{points:ae||[]}});return I(J,se),B(V,se,this._defs),se},polyline:function(V,J){var ae=new u;I(J,ae),B(V,ae,this._defs);var se=V.getAttribute("points");se&&(se=L(se));var $=new e({shape:{points:se||[]}});return $},image:function(V,J){var ae=new A;return I(J,ae),B(V,ae,this._defs),ae.setStyle({image:V.getAttribute("xlink:href"),x:V.getAttribute("x"),y:V.getAttribute("y"),width:V.getAttribute("width"),height:V.getAttribute("height")}),ae},text:function(V,J){var ae=V.getAttribute("x")||0,se=V.getAttribute("y")||0,$=V.getAttribute("dx")||0,ge=V.getAttribute("dy")||0;this._textX=parseFloat(ae)+parseFloat($),this._textY=parseFloat(se)+parseFloat(ge);var he=new w;return I(J,he),B(V,he,this._defs),he},tspan:function(V,J){var ae=V.getAttribute("x"),se=V.getAttribute("y");ae!=null&&(this._textX=parseFloat(ae)),se!=null&&(this._textY=parseFloat(se));var $=V.getAttribute("dx")||0,ge=V.getAttribute("dy")||0,he=new w;return I(J,he),B(V,he,this._defs),this._textX+=$,this._textY+=ge,he},path:function(V,J){var ae=V.getAttribute("d")||"",se=t(ae);return I(J,se),B(V,se,this._defs),se}},x={lineargradient:function(V){var J=parseInt(V.getAttribute("x1")||0,10),ae=parseInt(V.getAttribute("y1")||0,10),se=parseInt(V.getAttribute("x2")||10,10),$=parseInt(V.getAttribute("y2")||0,10),ge=new r(J,ae,se,$);return _(V,ge),ge},radialgradient:function(V){}};function _(Q,V){for(var J=Q.firstChild;J;){if(J.nodeType===1){var ae=J.getAttribute("offset");ae.indexOf("%")>0?ae=parseInt(ae,10)/100:ae?ae=parseFloat(ae):ae=0;var se=J.getAttribute("stop-color")||"#000000";V.addColorStop(ae,se)}J=J.nextSibling}}function I(Q,V){Q&&Q.__inheritedStyle&&(V.__inheritedStyle||(V.__inheritedStyle={}),f(V.__inheritedStyle,Q.__inheritedStyle))}function L(Q){for(var V=g(Q).split(y),J=[],ae=0;ae<V.length;ae+=2){var se=parseFloat(V[ae]),$=parseFloat(V[ae+1]);J.push([se,$])}return J}var D={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function B(Q,V,J,ae){var se=V.__inheritedStyle||{},$=V.type==="text";if(Q.nodeType===1&&(R(Q,V),h(se,H(Q)),!ae)){for(var ge in D)if(D.hasOwnProperty(ge)){var he=Q.getAttribute(ge);he!=null&&(se[D[ge]]=he)}}var Ie=$?"textFill":"fill",Se=$?"textStroke":"stroke";V.style=V.style||new i;var Le=V.style;se.fill!=null&&Le.set(Ie,k(se.fill,J)),se.stroke!=null&&Le.set(Se,k(se.stroke,J)),S(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(He){var G=He==="lineWidth"&&$?"textStrokeWidth":He;se[He]!=null&&Le.set(G,parseFloat(se[He]))}),(!se.textBaseline||se.textBaseline==="auto")&&(se.textBaseline="alphabetic"),se.textBaseline==="alphabetic"&&(se.textBaseline="bottom"),se.textAlign==="start"&&(se.textAlign="left"),se.textAlign==="end"&&(se.textAlign="right"),S(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(He){se[He]!=null&&Le.set(He,se[He])}),se.lineDash&&(V.style.lineDash=g(se.lineDash).split(y)),Le[Se]&&Le[Se]!=="none"&&(V[Se]=!0),V.__inheritedStyle=se}var N=/url\(\s*#(.*?)\)/;function k(Q,V){var J=V&&Q&&Q.match(N);if(J){var ae=g(J[1]),se=V[ae];return se}return Q}var W=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function R(Q,V){var J=Q.getAttribute("transform");if(J){J=J.replace(/,/g," ");var ae=null,se=[];J.replace(W,function(Ie,Se,Le){se.push(Se,Le)});for(var $=se.length-1;$>0;$-=2){var ge=se[$],he=se[$-1];ae=ae||n.create();switch(he){case"translate":ge=g(ge).split(y),n.translate(ae,ae,[parseFloat(ge[0]),parseFloat(ge[1]||0)]);break;case"scale":ge=g(ge).split(y),n.scale(ae,ae,[parseFloat(ge[0]),parseFloat(ge[1]||ge[0])]);break;case"rotate":ge=g(ge).split(y),n.rotate(ae,ae,parseFloat(ge[0]));break;case"skew":ge=g(ge).split(y),console.warn("Skew transform is not supported yet");break;case"matrix":var ge=g(ge).split(y);ae[0]=parseFloat(ge[0]),ae[1]=parseFloat(ge[1]),ae[2]=parseFloat(ge[2]),ae[3]=parseFloat(ge[3]),ae[4]=parseFloat(ge[4]),ae[5]=parseFloat(ge[5]);break}}V.setLocalTransform(ae)}}var j=/([^\s:;]+)\s*:\s*([^:;]+)/g;function H(Q){var V=Q.getAttribute("style"),J={};if(!V)return J;var ae={};j.lastIndex=0;for(var se;(se=j.exec(V))!=null;)ae[se[1]]=se[2];for(var $ in D)D.hasOwnProperty($)&&ae[$]!=null&&(J[D[$]]=ae[$]);return J}function K(Q,V,J){var ae=V/Q.width,se=J/Q.height,$=Math.min(ae,se),ge=[$,$],he=[-(Q.x+Q.width/2)*$+V/2,-(Q.y+Q.height/2)*$+J/2];return{scale:ge,position:he}}function U(Q,V){var J=new C;return J.parse(Q,V)}P.parseXML=E,P.makeViewBoxTransform=K,P.parseSVG=U},MFOe:function(M,P,d){(function(w){var A=p(),b=s(),m=u(),v=typeof window!="undefined"?window:w;M.exports={assign:A,create:b,trim:m,bind:o,slice:e,each:r,map:i,pluck:n,isList:l,isFunction:t,isObject:a,Global:v};function p(){return Object.assign?Object.assign:function(h,f,g,S){for(var y=1;y<arguments.length;y++)r(Object(arguments[y]),function(E,C){h[C]=E});return h}}function s(){if(Object.create)return function(f,g,S,y){var E=e(arguments,1);return A.apply(this,[Object.create(f)].concat(E))};var c=function(){};return function(f,g,S,y){var E=e(arguments,1);return c.prototype=f,A.apply(this,[new c].concat(E))}}function u(){return String.prototype.trim?function(h){return String.prototype.trim.call(h)}:function(h){return h.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function o(c,h){return function(){return h.apply(c,Array.prototype.slice.call(arguments,0))}}function e(c,h){return Array.prototype.slice.call(c,h||0)}function r(c,h){n(c,function(f,g){return h(f,g),!1})}function i(c,h){var f=l(c)?[]:{};return n(c,function(g,S){return f[S]=h(g,S),!1}),f}function n(c,h){if(l(c)){for(var f=0;f<c.length;f++)if(h(c[f],f))return c[f]}else for(var g in c)if(c.hasOwnProperty(g)&&h(c[g],g))return c[g]}function l(c){return c!=null&&typeof c!="function"&&typeof c.length=="number"}function t(c){return c&&{}.toString.call(c)==="[object Function]"}function a(c){return c&&{}.toString.call(c)==="[object Object]"}}).call(this,d("yLpj"))},MH26:function(M,P,d){var w=d("bYtY"),A=d("YXkt"),b=d("OELB"),m=d("kj2x"),v=d("c8qY"),p=d("iPDy"),s=d("7hqr"),u=s.getStackedDimension,o=function(a,c,h,f){var g=a.getData(),S=f.type;if(!w.isArray(f)&&(S==="min"||S==="max"||S==="average"||S==="median"||f.xAxis!=null||f.yAxis!=null)){var y,E;if(f.yAxis!=null||f.xAxis!=null)y=c.getAxis(f.yAxis!=null?"y":"x"),E=w.retrieve(f.yAxis,f.xAxis);else{var C=m.getAxisInfo(f,g,c,a);y=C.valueAxis;var T=u(g,C.valueDataDim);E=m.numCalculate(g,T,S)}var x=y.dim==="x"?0:1,_=1-x,I=w.clone(f),L={};I.type=null,I.coord=[],L.coord=[],I.coord[_]=-Infinity,L.coord[_]=Infinity;var D=h.get("precision");D>=0&&typeof E=="number"&&(E=+E.toFixed(Math.min(D,20))),I.coord[x]=L.coord[x]=E,f=[I,L,{type:S,valueIndex:f.valueIndex,value:E}]}return f=[m.dataTransform(a,f[0]),m.dataTransform(a,f[1]),w.extend({},f[2])],f[2].type=f[2].type||"",w.merge(f[2],f[0]),w.merge(f[2],f[1]),f};function e(a){return!isNaN(a)&&!isFinite(a)}function r(a,c,h,f){var g=1-a,S=f.dimensions[a];return e(c[g])&&e(h[g])&&c[a]===h[a]&&f.getAxis(S).containData(c[a])}function i(a,c){if(a.type==="cartesian2d"){var h=c[0].coord,f=c[1].coord;if(h&&f&&(r(1,h,f,a)||r(0,h,f,a)))return!0}return m.dataFilter(a,c[0])&&m.dataFilter(a,c[1])}function n(a,c,h,f,g){var S=f.coordinateSystem,y=a.getItemModel(c),E,C=b.parsePercent(y.get("x"),g.getWidth()),T=b.parsePercent(y.get("y"),g.getHeight());if(!isNaN(C)&&!isNaN(T))E=[C,T];else{if(f.getMarkerPosition)E=f.getMarkerPosition(a.getValues(a.dimensions,c));else{var x=S.dimensions,_=a.get(x[0],c),I=a.get(x[1],c);E=S.dataToPoint([_,I])}if(S.type==="cartesian2d"){var L=S.getAxis("x"),D=S.getAxis("y"),x=S.dimensions;e(a.get(x[0],c))?E[0]=L.toGlobalCoord(L.getExtent()[h?0:1]):e(a.get(x[1],c))&&(E[1]=D.toGlobalCoord(D.getExtent()[h?0:1]))}isNaN(C)||(E[0]=C),isNaN(T)||(E[1]=T)}a.setItemLayout(c,E)}var l=p.extend({type:"markLine",updateTransform:function(a,c,h){c.eachSeries(function(f){var g=f.markLineModel;if(g){var S=g.getData(),y=g.__from,E=g.__to;y.each(function(C){n(y,C,!0,f,h),n(E,C,!1,f,h)}),S.each(function(C){S.setItemLayout(C,[y.getItemLayout(C),E.getItemLayout(C)])}),this.markerGroupMap.get(f.id).updateLayout()}},this)},renderSeries:function(a,c,h,f){var g=a.coordinateSystem,S=a.id,y=a.getData(),E=this.markerGroupMap,C=E.get(S)||E.set(S,new v);this.group.add(C.group);var T=t(g,a,c),x=T.from,_=T.to,I=T.line;c.__from=x,c.__to=_,c.setData(I);var L=c.get("symbol"),D=c.get("symbolSize");w.isArray(L)||(L=[L,L]),typeof D=="number"&&(D=[D,D]),T.from.each(function(N){B(x,N,!0),B(_,N,!1)}),I.each(function(N){var k=I.getItemModel(N).get("lineStyle.color");I.setItemVisual(N,{color:k||x.getItemVisual(N,"color")}),I.setItemLayout(N,[x.getItemLayout(N),_.getItemLayout(N)]),I.setItemVisual(N,{fromSymbolSize:x.getItemVisual(N,"symbolSize"),fromSymbol:x.getItemVisual(N,"symbol"),toSymbolSize:_.getItemVisual(N,"symbolSize"),toSymbol:_.getItemVisual(N,"symbol")})}),C.updateData(I),T.line.eachItemGraphicEl(function(N,k){N.traverse(function(W){W.dataModel=c})});function B(N,k,W){var R=N.getItemModel(k);n(N,k,W,a,f),N.setItemVisual(k,{symbolSize:R.get("symbolSize")||D[W?0:1],symbol:R.get("symbol",!0)||L[W?0:1],color:R.get("itemStyle.color")||y.getVisual("color")})}C.__keep=!0,C.group.silent=c.get("silent")||a.get("silent")}});function t(a,c,h){var f;a?f=w.map(a&&a.dimensions,function(T){var x=c.getData().getDimensionInfo(c.getData().mapDimension(T))||{};return w.defaults({name:T},x)}):f=[{name:"value",type:"float"}];var g=new A(f,h),S=new A(f,h),y=new A([],h),E=w.map(h.get("data"),w.curry(o,c,a,h));a&&(E=w.filter(E,w.curry(i,a)));var C=a?m.dimValueGetter:function(T){return T.value};return g.initData(w.map(E,function(T){return T[0]}),null,C),S.initData(w.map(E,function(T){return T[1]}),null,C),y.initData(w.map(E,function(T){return T[2]})),y.hasItemOption=!0,{from:g,to:S,line:y}}M.exports=l},MHoB:function(M,P,d){var w=d("bYtY"),A=d("6uqw"),b=d("OELB"),m=[20,140],v=A.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(u,o){v.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){v.superApply(this,"resetItemSize",arguments);var u=this.itemSize;this._orient==="horizontal"&&u.reverse(),(u[0]==null||isNaN(u[0]))&&(u[0]=m[0]),(u[1]==null||isNaN(u[1]))&&(u[1]=m[1])},_resetRange:function(){var u=this.getExtent(),o=this.option.range;!o||o.auto?(u.auto=1,this.option.range=u):w.isArray(o)&&(o[0]>o[1]&&o.reverse(),o[0]=Math.max(o[0],u[0]),o[1]=Math.min(o[1],u[1]))},completeVisualOption:function(){A.prototype.completeVisualOption.apply(this,arguments),w.each(this.stateList,function(u){var o=this.option.controller[u].symbolSize;o&&o[0]!==o[1]&&(o[0]=0)},this)},setSelected:function(u){this.option.range=u.slice(),this._resetRange()},getSelected:function(){var u=this.getExtent(),o=b.asc((this.get("range")||[]).slice());return o[0]>u[1]&&(o[0]=u[1]),o[1]>u[1]&&(o[1]=u[1]),o[0]<u[0]&&(o[0]=u[0]),o[1]<u[0]&&(o[1]=u[0]),o},getValueState:function(u){var o=this.option.range,e=this.getExtent();return(o[0]<=e[0]||o[0]<=u)&&(o[1]>=e[1]||u<=o[1])?"inRange":"outOfRange"},findTargetDataIndices:function(u){var o=[];return this.eachTargetSeries(function(e){var r=[],i=e.getData();i.each(this.getDataDimension(i),function(n,l){u[0]<=n&&n<=u[1]&&r.push(l)},this),o.push({seriesId:e.id,dataIndex:r})},this),o},getVisualMeta:function(u){var o=p(this,"outOfRange",this.getExtent()),e=p(this,"inRange",this.option.range.slice()),r=[];function i(f,g){r.push({value:f,color:u(f,g)})}for(var n=0,l=0,t=e.length,a=o.length;l<a&&(!e.length||o[l]<=e[0]);l++)o[l]<e[n]&&i(o[l],"outOfRange");for(var c=1;n<t;n++,c=0)c&&r.length&&i(e[n],"outOfRange"),i(e[n],"inRange");for(var c=1;l<a;l++)(!e.length||e[e.length-1]<o[l])&&(c&&(r.length&&i(r[r.length-1].value,"outOfRange"),c=0),i(o[l],"outOfRange"));var h=r.length;return{stops:r,outerColors:[h?r[0].color:"transparent",h?r[h-1].color:"transparent"]}}});function p(u,o,e){if(e[0]===e[1])return e.slice();for(var r=200,i=(e[1]-e[0])/r,n=e[0],l=[],t=0;t<=r&&n<e[1];t++)l.push(n),n+=i;return l.push(e[1]),l}var s=v;M.exports=s},MHtr:function(M,P,d){var w=d("bYtY");function A(m,v){var p=this.getAxis(),s=v instanceof Array?v[0]:v,u=(m instanceof Array?m[0]:m)/2;return p.type==="category"?p.getBandWidth():Math.abs(p.dataToCoord(s-u)-p.dataToCoord(s+u))}function b(m){var v=m.getRect();return{coordSys:{type:"singleAxis",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(p){return m.dataToPoint(p)},size:w.bind(A,m)}}}M.exports=b},MKOG:function(M,P,d){var w=d("bYtY"),A=d("YH21"),b=A.Dispatcher,m=d("mLcG"),v=d("Bq2U"),p=function(o){o=o||{},this.stage=o.stage||{},this.onframe=o.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,b.call(this)};p.prototype={constructor:p,addClip:function(o){this._clips.push(o)},addAnimator:function(o){o.animation=this;for(var e=o.getClips(),r=0;r<e.length;r++)this.addClip(e[r])},removeClip:function(o){var e=w.indexOf(this._clips,o);e>=0&&this._clips.splice(e,1)},removeAnimator:function(o){for(var e=o.getClips(),r=0;r<e.length;r++)this.removeClip(e[r]);o.animation=null},_update:function(){for(var o=new Date().getTime()-this._pausedTime,e=o-this._time,r=this._clips,i=r.length,n=[],l=[],t=0;t<i;t++){var a=r[t],c=a.step(o,e);c&&(n.push(c),l.push(a))}for(var t=0;t<i;)r[t]._needsRemove?(r[t]=r[i-1],r.pop(),i--):t++;i=n.length;for(var t=0;t<i;t++)l[t].fire(n[t]);this._time=o,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var o=this;this._running=!0;function e(){o._running&&(m(e),!o._paused&&o._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(o,e){e=e||{};var r=new v(o,e.loop,e.getter,e.setter);return this.addAnimator(r),r}},w.mixin(p,b);var s=p;M.exports=s},MRoa:function(M,P,d){var w=d("ProS");d("0Bwj"),d("W2nI"),d("vcCh");var A=d("gawk"),b=d("Dg8C");w.registerLayout(A),w.registerVisual(b)},MT78:function(M,P,d){var w=d("ProS");(function(){for(var b in w){if(w==null||!w.hasOwnProperty(b)||b==="default"||b==="__esModule")return;P[b]=w[b]}})();var A=d("txkQ");(function(){for(var b in A){if(A==null||!A.hasOwnProperty(b)||b==="default"||b==="__esModule")return;P[b]=A[b]}})(),d("A1Ka"),d("75ce"),d("lLGD"),d("wDdD"),d("Fa/5"),d("jett"),d("Z1wy"),d("75ev"),d("2uGb"),d("I+77"),d("B+YJ"),d("pLH3"),d("CBdT"),d("MRoa"),d("+lIL"),d("CF2D"),d("ERHi"),d("p+If"),d("XOKv"),d("qt/9"),d("bBL8"),d("1xaR"),d("4Feb"),d("zRKj"),d("L3Oj"),d("0HBW"),d("LPzL"),d("8waO"),d("k5C7"),d("f1nB"),d("sRwP"),d("AH3D"),d("y4/Y"),d("LzGr"),d("Ynxi"),d("7pVf"),d("2w7y"),d("laiN"),d("fjKi"),d("C0tN"),d("0o9m"),d("Cm0C"),d("f3JH"),d("5NHt"),d("VFCP"),d("dBmv"),d("KamJ"),d("8XDt"),d("juDX")},MZdM:function(M,P,d){"use strict";function w(n){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(n)}Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var A=u(d("Lo0S")),b=p(d("N/zr")),m=d("GdRQ"),v=d("GQ8N");function p(n){return n&&n.__esModule?n:{default:n}}function s(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return s=function(){return n},n}function u(n){if(n&&n.__esModule)return n;if(n===null||w(n)!=="object"&&typeof n!="function")return{default:n};var l=s();if(l&&l.has(n))return l.get(n);var t={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if(Object.prototype.hasOwnProperty.call(n,c)){var h=a?Object.getOwnPropertyDescriptor(n,c):null;h&&(h.get||h.set)?Object.defineProperty(t,c,h):t[c]=n[c]}return t.default=n,l&&l.set(n,t),t}function o(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function e(n,l){for(var t=0;t<l.length;t++){var a=l[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,a.key,a)}}function r(n,l,t){return l&&e(n.prototype,l),t&&e(n,t),n}var i=function(){function n(l){if(o(this,n),this._drawCtx=null,this._renderQ=[],this._flushing=!1,this._fbWidth=0,this._fbHeight=0,this._prevDrawStyle="",this._tile=null,this._tile16x16=null,this._tileX=0,this._tileY=0,A.Debug(">> Display.constructor"),this._target=l,!this._target)throw new Error("Target must be set");if(typeof this._target=="string")throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._targetCtx=this._target.getContext("2d"),this._viewportLoc={x:0,y:0,w:this._target.width,h:this._target.height},this._backbuffer=document.createElement("canvas"),this._drawCtx=this._backbuffer.getContext("2d"),this._damageBounds={left:0,top:0,right:this._backbuffer.width,bottom:this._backbuffer.height},A.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),A.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return r(n,[{key:"viewportChangePos",value:function(t,a){var c=this._viewportLoc;t=Math.floor(t),a=Math.floor(a),this._clipViewport||(t=-c.w,a=-c.h);var h=c.x+c.w-1,f=c.y+c.h-1;if(t<0&&c.x+t<0&&(t=-c.x),h+t>=this._fbWidth&&(t-=h+t-this._fbWidth+1),c.y+a<0&&(a=-c.y),f+a>=this._fbHeight&&(a-=f+a-this._fbHeight+1),t===0&&a===0)return;A.Debug("viewportChange deltaX: "+t+", deltaY: "+a),c.x+=t,c.y+=a,this._damage(c.x,c.y,c.w,c.h),this.flip()}},{key:"viewportChangeSize",value:function(t,a){(!this._clipViewport||typeof t=="undefined"||typeof a=="undefined")&&(A.Debug("Setting viewport to full display region"),t=this._fbWidth,a=this._fbHeight),t=Math.floor(t),a=Math.floor(a),t>this._fbWidth&&(t=this._fbWidth),a>this._fbHeight&&(a=this._fbHeight);var c=this._viewportLoc;if(c.w!==t||c.h!==a){c.w=t,c.h=a;var h=this._target;h.width=t,h.height=a,this.viewportChangePos(0,0),this._damage(c.x,c.y,c.w,c.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(t){return this._scale===0?0:(0,v.toSigned32bit)(t/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(t){return this._scale===0?0:(0,v.toSigned32bit)(t/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(t,a){this._prevDrawStyle="",this._fbWidth=t,this._fbHeight=a;var c=this._backbuffer;if(c.width!==t||c.height!==a){var h=null;c.width>0&&c.height>0&&(h=this._drawCtx.getImageData(0,0,c.width,c.height)),c.width!==t&&(c.width=t),c.height!==a&&(c.height=a),h&&this._drawCtx.putImageData(h,0,0)}var f=this._viewportLoc;this.viewportChangeSize(f.w,f.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(t,a,c,h){t<this._damageBounds.left&&(this._damageBounds.left=t),a<this._damageBounds.top&&(this._damageBounds.top=a),t+c>this._damageBounds.right&&(this._damageBounds.right=t+c),a+h>this._damageBounds.bottom&&(this._damageBounds.bottom=a+h)}},{key:"flip",value:function(t){if(this._renderQ.length!==0&&!t)this._renderQPush({type:"flip"});else{var a=this._damageBounds.left,c=this._damageBounds.top,h=this._damageBounds.right-a,f=this._damageBounds.bottom-c,g=a-this._viewportLoc.x,S=c-this._viewportLoc.y;g<0&&(h+=g,a-=g,g=0),S<0&&(f+=S,c-=S,S=0),g+h>this._viewportLoc.w&&(h=this._viewportLoc.w-g),S+f>this._viewportLoc.h&&(f=this._viewportLoc.h-S),h>0&&f>0&&this._targetCtx.drawImage(this._backbuffer,a,c,h,f,g,S,h,f),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,a,c,h,f,g){this._renderQ.length!==0&&!g?this._renderQPush({type:"fill",x:t,y:a,width:c,height:h,color:f}):(this._setFillColor(f),this._drawCtx.fillRect(t,a,c,h),this._damage(t,a,c,h))}},{key:"copyImage",value:function(t,a,c,h,f,g,S){this._renderQ.length!==0&&!S?this._renderQPush({type:"copy",oldX:t,oldY:a,x:c,y:h,width:f,height:g}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,t,a,f,g,c,h,f,g),this._damage(c,h,f,g))}},{key:"imageRect",value:function(t,a,c,h,f,g){if(c===0||h===0)return;var S=new Image;S.src="data: "+f+";base64,"+b.default.encode(g),this._renderQPush({type:"img",img:S,x:t,y:a,width:c,height:h})}},{key:"startTile",value:function(t,a,c,h,f){this._tileX=t,this._tileY=a,c===16&&h===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(c,h);for(var g=f[2],S=f[1],y=f[0],E=this._tile.data,C=0;C<c*h*4;C+=4)E[C]=g,E[C+1]=S,E[C+2]=y,E[C+3]=255}},{key:"subTile",value:function(t,a,c,h,f){for(var g=f[2],S=f[1],y=f[0],E=t+c,C=a+h,T=this._tile.data,x=this._tile.width,_=a;_<C;_++)for(var I=t;I<E;I++){var L=(I+_*x)*4;T[L]=g,T[L+1]=S,T[L+2]=y,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,a,c,h,f,g,S){if(this._renderQ.length!==0&&!S){var y=new Uint8Array(c*h*4);y.set(new Uint8Array(f.buffer,0,y.length)),this._renderQPush({type:"blit",data:y,x:t,y:a,width:c,height:h})}else this._bgrxImageData(t,a,c,h,f,g)}},{key:"blitRgbImage",value:function(t,a,c,h,f,g,S){if(this._renderQ.length!==0&&!S){var y=new Uint8Array(c*h*3);y.set(new Uint8Array(f.buffer,0,y.length)),this._renderQPush({type:"blitRgb",data:y,x:t,y:a,width:c,height:h})}else this._rgbImageData(t,a,c,h,f,g)}},{key:"blitRgbxImage",value:function(t,a,c,h,f,g,S){if(this._renderQ.length!==0&&!S){var y=new Uint8Array(c*h*4);y.set(new Uint8Array(f.buffer,0,y.length)),this._renderQPush({type:"blitRgbx",data:y,x:t,y:a,width:c,height:h})}else this._rgbxImageData(t,a,c,h,f,g)}},{key:"drawImage",value:function(t,a,c){this._drawCtx.drawImage(t,a,c),this._damage(a,c,t.width,t.height)}},{key:"autoscale",value:function(t,a){var c;if(t===0||a===0)c=0;else{var h=this._viewportLoc,f=t/a,g=h.w/h.h;g>=f?c=t/h.w:c=a/h.h}this._rescale(c)}},{key:"_rescale",value:function(t){this._scale=t;var a=this._viewportLoc,c=t*a.w+"px",h=t*a.h+"px";(this._target.style.width!==c||this._target.style.height!==h)&&(this._target.style.width=c,this._target.style.height=h)}},{key:"_setFillColor",value:function(t){var a="rgb("+t[2]+","+t[1]+","+t[0]+")";a!==this._prevDrawStyle&&(this._drawCtx.fillStyle=a,this._prevDrawStyle=a)}},{key:"_rgbImageData",value:function(t,a,c,h,f,g){for(var S=this._drawCtx.createImageData(c,h),y=S.data,E=0,C=g;E<c*h*4;E+=4,C+=3)y[E]=f[C],y[E+1]=f[C+1],y[E+2]=f[C+2],y[E+3]=255;this._drawCtx.putImageData(S,t,a),this._damage(t,a,S.width,S.height)}},{key:"_bgrxImageData",value:function(t,a,c,h,f,g){for(var S=this._drawCtx.createImageData(c,h),y=S.data,E=0,C=g;E<c*h*4;E+=4,C+=4)y[E]=f[C+2],y[E+1]=f[C+1],y[E+2]=f[C],y[E+3]=255;this._drawCtx.putImageData(S,t,a),this._damage(t,a,S.width,S.height)}},{key:"_rgbxImageData",value:function(t,a,c,h,f,g){var S;m.supportsImageMetadata?S=new ImageData(new Uint8ClampedArray(f.buffer,f.byteOffset,c*h*4),c,h):(S=this._drawCtx.createImageData(c,h),S.data.set(new Uint8ClampedArray(f.buffer,f.byteOffset,c*h*4))),this._drawCtx.putImageData(S,t,a),this._damage(t,a,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 a=this._renderQ[0];switch(a.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(a.oldX,a.oldY,a.x,a.y,a.width,a.height,!0);break;case"fill":this.fillRect(a.x,a.y,a.width,a.height,a.color,!0);break;case"blit":this.blitImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"blitRgb":this.blitRgbImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"img":if(a.img.complete&&a.img.width!==0&&a.img.height!==0){if(a.img.width!==a.width||a.img.height!==a.height){A.Error("Decoded image has incorrect dimensions. Got "+a.img.width+"x"+a.img.height+". Expected "+a.width+"x"+a.height+".");return}this.drawImage(a.img,a.x,a.y)}else a.img._noVNCDisplay=this,a.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 a=this._viewportLoc;this.viewportChangeSize(a.w,a.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),n}();P.default=i},Mdki:function(M,P,d){var w=d("bYtY"),A=w.each,b="\0__link_datas",m="\0__link_mainData";function v(l){var t=l.mainData,a=l.datas;a||(a={main:t},l.datasAttr={main:"data"}),l.datas=l.mainData=null,r(t,a,l),A(a,function(c){A(t.TRANSFERABLE_METHODS,function(h){c.wrapMethod(h,w.curry(p,l))})}),t.wrapMethod("cloneShallow",w.curry(u,l)),A(t.CHANGABLE_METHODS,function(c){t.wrapMethod(c,w.curry(s,l))}),w.assert(a[t.dataType]===t)}function p(l,t){if(e(this)){var a=w.extend({},this[b]);a[this.dataType]=t,r(t,a,l)}else i(t,this.dataType,this[m],l);return t}function s(l,t){return l.struct&&l.struct.update(this),t}function u(l,t){return A(t[b],function(a,c){a!==t&&i(a.cloneShallow(),c,t,l)}),t}function o(l){var t=this[m];return l==null||t==null?t:t[b][l]}function e(l){return l[m]===l}function r(l,t,a){l[b]={},A(t,function(c,h){i(c,h,l,a)})}function i(l,t,a,c){a[b][t]=l,l[m]=a,l.dataType=t,c.struct&&(l[c.structAttr]=c.struct,c.struct[c.datasAttr[t]]=l),l.getLinkedData=o}var n=v;M.exports=n},Mgri:function(M,P,d){for(var w=d("bYtY"),A=d("8nly"),b=[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]]],v=0;v<m.length;v++)for(var p=0;p<m[v].length;p++)m[v][p][0]/=10.5,m[v][p][1]/=-10.5/.75,m[v][p][0]+=b[0],m[v][p][1]+=b[1];function s(u,o){u==="china"&&o.push(new A("\u5357\u6D77\u8BF8\u5C9B",w.map(m,function(e){return{type:"polygon",exterior:e}}),b))}M.exports=s},Mmt2:function(M,P,d){"use strict";function w(r){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(r)}Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var A=m(d("Lo0S"));function b(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return b=function(){return r},r}function m(r){if(r&&r.__esModule)return r;if(r===null||w(r)!=="object"&&typeof r!="function")return{default:r};var i=b();if(i&&i.has(r))return i.get(r);var n={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t)){var a=l?Object.getOwnPropertyDescriptor(r,t):null;a&&(a.get||a.set)?Object.defineProperty(n,t,a):n[t]=r[t]}return n.default=r,i&&i.set(r,n),n}function v(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}function p(r,i){for(var n=0;n<i.length;n++){var l=i[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}function s(r,i,n){return i&&p(r.prototype,i),n&&p(r,n),r}var u=!1,o=40*1024*1024,e=function(){function r(){v(this,r),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 s(r,[{key:"rQpeek8",value:function(){return this._rQ[this._rQi]}},{key:"rQskipBytes",value:function(n){this._rQi+=n}},{key:"rQshift8",value:function(){return this._rQshift(1)}},{key:"rQshift16",value:function(){return this._rQshift(2)}},{key:"rQshift32",value:function(){return this._rQshift(4)}},{key:"_rQshift",value:function(n){for(var l=0,t=n-1;t>=0;t--)l+=this._rQ[this._rQi++]<<t*8;return l}},{key:"rQshiftStr",value:function(n){typeof n=="undefined"&&(n=this.rQlen);for(var l="",t=0;t<n;t+=4096){var a=this.rQshiftBytes(Math.min(4096,n-t));l+=String.fromCharCode.apply(null,a)}return l}},{key:"rQshiftBytes",value:function(n){return typeof n=="undefined"&&(n=this.rQlen),this._rQi+=n,new Uint8Array(this._rQ.buffer,this._rQi-n,n)}},{key:"rQshiftTo",value:function(n,l){l===void 0&&(l=this.rQlen),n.set(new Uint8Array(this._rQ.buffer,this._rQi,l)),this._rQi+=l}},{key:"rQslice",value:function(n){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+n,l-n)}},{key:"rQwait",value:function(n,l,t){if(this.rQlen<l){if(t){if(this._rQi<t)throw new Error("rQwait cannot backup "+t+" bytes");this._rQi-=t}return!0}return!1}},{key:"flush",value:function(){this._sQlen>0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(n){this._sQ.set(n,this._sQlen),this._sQlen+=n.length,this.flush()}},{key:"sendString",value:function(n){this.send(n.split("").map(function(l){return l.charCodeAt(0)}))}},{key:"off",value:function(n){this._eventHandlers[n]=function(){}}},{key:"on",value:function(n,l){this._eventHandlers[n]=l}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(n,l){var t=this;this.init(),this._websocket=new WebSocket(n,l),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){A.Debug(">> WebSock.onopen"),t._websocket.protocol&&A.Info("Server choose sub-protocol: "+t._websocket.protocol),t._eventHandlers.open(),A.Debug("<< WebSock.onopen")},this._websocket.onclose=function(a){A.Debug(">> WebSock.onclose"),t._eventHandlers.close(a),A.Debug("<< WebSock.onclose")},this._websocket.onerror=function(a){A.Debug(">> WebSock.onerror: "+a),t._eventHandlers.error(a),A.Debug("<< WebSock.onerror: "+a)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(A.Info("Closing WebSocket connection"),this._websocket.close()),this._websocket.onmessage=function(){})}},{key:"_encodeMessage",value:function(){return new Uint8Array(this._sQ.buffer,0,this._sQlen)}},{key:"_expandCompactRQ",value:function(n){var l=(this._rQlen-this._rQi+n)*8,t=this._rQbufferSize<l;if(t&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,l)),this._rQbufferSize>o&&(this._rQbufferSize=o,this._rQbufferSize-this.rQlen<n))throw new Error("Receive Queue buffer exceeded "+o+" bytes, and the new message could not fit");if(t){var a=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(a,this._rQi,this._rQlen-this._rQi))}else u?this._rQ.copyWithin(0,this._rQi,this._rQlen):this._rQ.set(new Uint8Array(this._rQ.buffer,this._rQi,this._rQlen-this._rQi));this._rQlen=this._rQlen-this._rQi,this._rQi=0}},{key:"_DecodeMessage",value:function(n){var l=new Uint8Array(n);l.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(l.length),this._rQ.set(l,this._rQlen),this._rQlen+=l.length}},{key:"_recvMessage",value:function(n){this._DecodeMessage(n.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):A.Debug("Ignoring empty message")}},{key:"sQ",get:function(){return this._sQ}},{key:"rQ",get:function(){return this._rQ}},{key:"rQi",get:function(){return this._rQi},set:function(n){this._rQi=n}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),r}();P.default=e},MqEG:function(M,P,d){var w=d("bYtY"),A=d("fc+c"),b=d("72pK"),m=d("VXYp"),v=w.bind,p=A.extend({type:"dataZoom.inside",init:function(r,i){this._range},render:function(r,i,n,l){p.superApply(this,"render",arguments),this._range=r.getPercentRange(),w.each(this.getTargetCoordInfo(),function(t,a){var c=w.map(t,function(h){return m.generateCoordId(h.model)});w.each(t,function(h){var f=h.model,g={};w.each(["pan","zoom","scrollMove"],function(S){g[S]=v(s[S],this,h,a)},this),m.register(n,{coordId:m.generateCoordId(f),allCoordIds:c,containsPoint:function(S,y,E){return f.coordinateSystem.containPoint([y,E])},dataZoomId:r.id,dataZoomModel:r,getRange:g})},this)},this)},dispose:function(){m.unregister(this.api,this.dataZoomModel.id),p.superApply(this,"dispose",arguments),this._range=null}}),s={zoom:function(r,i,n,l){var t=this._range,a=t.slice(),c=r.axisModels[0];if(!c)return;var h=o[i](null,[l.originX,l.originY],c,n,r),f=(h.signal>0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(a[1]-a[0])+a[0],g=Math.max(1/l.scale,0);a[0]=(a[0]-f)*g+f,a[1]=(a[1]-f)*g+f;var S=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(b(0,a,[0,100],0,S.minSpan,S.maxSpan),this._range=a,t[0]!==a[0]||t[1]!==a[1])return a},pan:u(function(r,i,n,l,t,a){var c=o[l]([a.oldX,a.oldY],[a.newX,a.newY],i,t,n);return c.signal*(r[1]-r[0])*c.pixel/c.pixelLength}),scrollMove:u(function(r,i,n,l,t,a){var c=o[l]([0,0],[a.scrollDelta,a.scrollDelta],i,t,n);return c.signal*(r[1]-r[0])*a.scrollDelta})};function u(r){return function(i,n,l,t){var a=this._range,c=a.slice(),h=i.axisModels[0];if(!h)return;var f=r(c,h,i,n,l,t);if(b(f,c,[0,100],"all"),this._range=c,a[0]!==c[0]||a[1]!==c[1])return c}}var o={grid:function(r,i,n,l,t){var a=n.axis,c={},h=t.model.coordinateSystem.getRect();return r=r||[0,0],a.dim==="x"?(c.pixel=i[0]-r[0],c.pixelLength=h.width,c.pixelStart=h.x,c.signal=a.inverse?1:-1):(c.pixel=i[1]-r[1],c.pixelLength=h.height,c.pixelStart=h.y,c.signal=a.inverse?-1:1),c},polar:function(r,i,n,l,t){var a=n.axis,c={},h=t.model.coordinateSystem,f=h.getRadiusAxis().getExtent(),g=h.getAngleAxis().getExtent();return r=r?h.pointToCoord(r):[0,0],i=h.pointToCoord(i),n.mainType==="radiusAxis"?(c.pixel=i[0]-r[0],c.pixelLength=f[1]-f[0],c.pixelStart=f[0],c.signal=a.inverse?1:-1):(c.pixel=i[1]-r[1],c.pixelLength=g[1]-g[0],c.pixelStart=g[0],c.signal=a.inverse?-1:1),c},singleAxis:function(r,i,n,l,t){var a=n.axis,c=t.model.coordinateSystem.getRect(),h={};return r=r||[0,0],a.orient==="horizontal"?(h.pixel=i[0]-r[0],h.pixelLength=c.width,h.pixelStart=c.x,h.signal=a.inverse?1:-1):(h.pixel=i[1]-r[1],h.pixelLength=c.height,h.pixelStart=c.y,h.signal=a.inverse?-1:1),h}},e=p;M.exports=e},MsSA:function(M,P,d){"use strict";var w=d("wx14"),A=d("q1tI"),b=d.n(A),m=d("VTBJ"),v=d("rePB"),p=d("1OyB"),s=d("vuIU"),u=d("Ji7U"),o=d("LK+K"),e=d("m+aA"),r=d("TSYQ"),i=d.n(r),n=d("4IlW");function l(N){var k=N.pageXOffset,W="scrollLeft";if(typeof k!="number"){var R=N.document;k=R.documentElement[W],typeof k!="number"&&(k=R.body[W])}return k}function t(N){var k,W,R=N.ownerDocument,j=R.body,H=R&&R.documentElement,K=N.getBoundingClientRect();return k=K.left,W=K.top,k-=H.clientLeft||j.clientLeft||0,W-=H.clientTop||j.clientTop||0,{left:k,top:W}}function a(N){var k=t(N),W=N.ownerDocument,R=W.defaultView||W.parentWindow;return k.left+=l(R),k.left}var c=function(N){Object(u.a)(W,N);var k=Object(o.a)(W);function W(){var R;return Object(p.a)(this,W),R=k.apply(this,arguments),R.onHover=function(j){var H=R.props,K=H.onHover,U=H.index;K(j,U)},R.onClick=function(j){var H=R.props,K=H.onClick,U=H.index;K(j,U)},R.onKeyDown=function(j){var H=R.props,K=H.onClick,U=H.index;j.keyCode===13&&K(j,U)},R}return Object(s.a)(W,[{key:"getClassName",value:function(){var j=this.props,H=j.prefixCls,K=j.index,U=j.value,Q=j.allowHalf,V=j.focused,J=K+1,ae=H;return U===0&&K===0&&V?ae+=" ".concat(H,"-focused"):Q&&U+.5>=J&&U<J?(ae+=" ".concat(H,"-half ").concat(H,"-active"),V&&(ae+=" ".concat(H,"-focused"))):(ae+=J<=U?" ".concat(H,"-full"):" ".concat(H,"-zero"),J===U&&V&&(ae+=" ".concat(H,"-focused"))),ae}},{key:"render",value:function(){var j=this.onHover,H=this.onClick,K=this.onKeyDown,U=this.props,Q=U.disabled,V=U.prefixCls,J=U.character,ae=U.characterRender,se=U.index,$=U.count,ge=U.value,he=typeof J=="function"?J(this.props):J,Ie=b.a.createElement("li",{className:this.getClassName()},b.a.createElement("div",{onClick:Q?null:H,onKeyDown:Q?null:K,onMouseMove:Q?null:j,role:"radio","aria-checked":ge>se?"true":"false","aria-posinset":se+1,"aria-setsize":$,tabIndex:Q?-1:0},b.a.createElement("div",{className:"".concat(V,"-first")},he),b.a.createElement("div",{className:"".concat(V,"-second")},he)));return ae&&(Ie=ae(Ie,this.props)),Ie}}]),W}(b.a.Component);function h(){}var f=function(N){Object(u.a)(W,N);var k=Object(o.a)(W);function W(R){var j;Object(p.a)(this,W),j=k.call(this,R),j.onHover=function(K,U){var Q=j.props.onHoverChange,V=j.getStarValue(U,K.pageX),J=j.state.cleanedValue;V!==J&&j.setState({hoverValue:V,cleanedValue:null}),Q(V)},j.onMouseLeave=function(){var K=j.props.onHoverChange;j.setState({hoverValue:void 0,cleanedValue:null}),K(void 0)},j.onClick=function(K,U){var Q=j.props.allowClear,V=j.state.value,J=j.getStarValue(U,K.pageX),ae=!1;Q&&(ae=J===V),j.onMouseLeave(),j.changeValue(ae?0:J),j.setState({cleanedValue:ae?J:null})},j.onFocus=function(){var K=j.props.onFocus;j.setState({focused:!0}),K&&K()},j.onBlur=function(){var K=j.props.onBlur;j.setState({focused:!1}),K&&K()},j.onKeyDown=function(K){var U=K.keyCode,Q=j.props,V=Q.count,J=Q.allowHalf,ae=Q.onKeyDown,se=Q.direction,$=se==="rtl",ge=j.state.value;U===n.a.RIGHT&&ge<V&&!$?(J?ge+=.5:ge+=1,j.changeValue(ge),K.preventDefault()):U===n.a.LEFT&&ge>0&&!$||U===n.a.RIGHT&&ge>0&&$?(J?ge-=.5:ge-=1,j.changeValue(ge),K.preventDefault()):U===n.a.LEFT&&ge<V&&$&&(J?ge+=.5:ge+=1,j.changeValue(ge),K.preventDefault()),ae&&ae(K)},j.saveRef=function(K){return function(U){j.stars[K]=U}},j.saveRate=function(K){j.rate=K};var H=R.value;return H===void 0&&(H=R.defaultValue),j.stars={},j.state={value:H,focused:!1,cleanedValue:null},j}return Object(s.a)(W,[{key:"componentDidMount",value:function(){var j=this.props,H=j.autoFocus,K=j.disabled;H&&!K&&this.focus()}},{key:"getStarDOM",value:function(j){return Object(e.a)(this.stars[j])}},{key:"getStarValue",value:function(j,H){var K=this.props,U=K.allowHalf,Q=K.direction,V=Q==="rtl",J=j+1;if(U){var ae=this.getStarDOM(j),se=a(ae),$=ae.clientWidth;(V&&H-se>$/2||!V&&H-se<$/2)&&(J-=.5)}return J}},{key:"focus",value:function(){var j=this.props.disabled;j||this.rate.focus()}},{key:"blur",value:function(){var j=this.props.disabled;j||this.rate.blur()}},{key:"changeValue",value:function(j){var H=this.props.onChange;"value"in this.props||this.setState({value:j}),H(j)}},{key:"render",value:function(){for(var j=this.props,H=j.count,K=j.allowHalf,U=j.style,Q=j.prefixCls,V=j.disabled,J=j.className,ae=j.character,se=j.characterRender,$=j.tabIndex,ge=j.direction,he=this.state,Ie=he.value,Se=he.hoverValue,Le=he.focused,He=[],G=V?"".concat(Q,"-disabled"):"",pe=0;pe<H;pe+=1)He.push(b.a.createElement(c,{ref:this.saveRef(pe),index:pe,count:H,disabled:V,prefixCls:"".concat(Q,"-star"),allowHalf:K,value:Se===void 0?Ie:Se,onClick:this.onClick,onHover:this.onHover,key:pe,character:ae,characterRender:se,focused:Le}));var We=i()(Q,G,J,Object(v.a)({},"".concat(Q,"-rtl"),ge==="rtl"));return b.a.createElement("ul",{className:We,style:U,onMouseLeave:V?null:this.onMouseLeave,tabIndex:V?-1:$,onFocus:V?null:this.onFocus,onBlur:V?null:this.onBlur,onKeyDown:V?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},He)}}],[{key:"getDerivedStateFromProps",value:function(j,H){return"value"in j&&j.value!==void 0?Object(m.a)(Object(m.a)({},H),{},{value:j.value}):H}}]),W}(b.a.Component);f.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:h,character:"\u2605",onHoverChange:h,tabIndex:0,direction:"ltr"};var g=f,S=g,y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},E=y,C=d("6VBw"),T=function(k,W){return A.createElement(C.a,Object(m.a)(Object(m.a)({},k),{},{ref:W,icon:E}))};T.displayName="StarFilled";var x=A.forwardRef(T),_=d("d+VM"),I=d("9R2V"),L=function(N,k){var W={};for(var R in N)Object.prototype.hasOwnProperty.call(N,R)&&k.indexOf(R)<0&&(W[R]=N[R]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,R=Object.getOwnPropertySymbols(N);j<R.length;j++)k.indexOf(R[j])<0&&Object.prototype.propertyIsEnumerable.call(N,R[j])&&(W[R[j]]=N[R[j]]);return W},D=A.forwardRef(function(N,k){var W=N.prefixCls,R=N.tooltips,j=L(N,["prefixCls","tooltips"]),H=function(ae,se){var $=se.index;return R?A.createElement(_.a,{title:R[$]},ae):ae},K=A.useContext(I.b),U=K.getPrefixCls,Q=K.direction,V=U("rate",W);return A.createElement(S,Object(w.a)({ref:k,characterRender:H},j,{prefixCls:V,direction:Q}))});D.displayName="Rate",D.defaultProps={character:A.createElement(x,null)};var B=P.a=D},MwEJ:function(M,P,d){var w=d("bYtY"),A=d("YXkt"),b=d("sdST"),m=d("k9D9"),v=m.SOURCE_FORMAT_ORIGINAL,p=d("L0Ub"),s=p.getDimensionTypeByAxis,u=d("4NO4"),o=u.getDataItemValue,e=d("IDmD"),r=d("i38C"),i=r.getCoordSysInfoBySeries,n=d("7G+c"),l=d("7hqr"),t=l.enableDataStack,a=d("D5nY"),c=a.makeSeriesEncodeForAxisCoordSys;function h(y,E,C){C=C||{},n.isInstance(y)||(y=n.seriesDataToSource(y));var T=E.get("coordinateSystem"),x=e.get(T),_=i(E),I;_&&(I=w.map(_.coordSysDims,function(R){var j={name:R},H=_.axisMap.get(R);if(H){var K=H.get("type");j.type=s(K)}return j})),I||(I=x&&(x.getDimensionsInfo?x.getDimensionsInfo():x.dimensions.slice())||["x","y"]);var L=b(y,{coordDimensions:I,generateCoord:C.generateCoord,encodeDefaulter:C.useEncodeDefaulter?w.curry(c,I,E):null}),D,B;_&&w.each(L,function(R,j){var H=R.coordDim,K=_.categoryAxisMap.get(H);K&&(D==null&&(D=j),R.ordinalMeta=K.getOrdinalMeta()),R.otherDims.itemName!=null&&(B=!0)}),!B&&D!=null&&(L[D].otherDims.itemName=0);var N=t(E,L),k=new A(L,E);k.setCalculationInfo(N);var W=D!=null&&f(y)?function(R,j,H,K){return K===D?H:this.defaultDimValueGetter(R,j,H,K)}:null;return k.hasItemOption=!1,k.initData(y,null,W),k}function f(y){if(y.sourceFormat===v){var E=g(y.data||[]);return E!=null&&!w.isArray(o(E))}}function g(y){for(var E=0;E<y.length&&y[E]==null;)E++;return y[E]}var S=h;M.exports=S},Mylv:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("IwbS"),m=d("oVpE"),v=m.createSymbol,p=d("OELB"),s=p.parsePercent,u=p.isNumeric,o=d("56rv"),e=o.setLabel,r=["itemStyle","borderWidth"],i=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],n=new b.Circle,l=w.extendChartView({type:"pictorialBar",render:function(U,Q,V){var J=this.group,ae=U.getData(),se=this._data,$=U.coordinateSystem,ge=$.getBaseAxis(),he=!!ge.isHorizontal(),Ie=$.grid.getRect(),Se={ecSize:{width:V.getWidth(),height:V.getHeight()},seriesModel:U,coordSys:$,coordSysExtent:[[Ie.x,Ie.x+Ie.width],[Ie.y,Ie.y+Ie.height]],isHorizontal:he,valueDim:i[+he],categoryDim:i[1-he]};return ae.diff(se).add(function(Le){if(!ae.hasValue(Le))return;var He=x(ae,Le),G=t(ae,Le,He,Se),pe=D(ae,Se,G);ae.setItemGraphicEl(Le,pe),J.add(pe),j(pe,Se,G)}).update(function(Le,He){var G=se.getItemGraphicEl(He);if(!ae.hasValue(Le)){J.remove(G);return}var pe=x(ae,Le),We=t(ae,Le,pe,Se),te=k(ae,We);G&&te!==G.__pictorialShapeStr&&(J.remove(G),ae.setItemGraphicEl(Le,null),G=null),G?B(G,Se,We):G=D(ae,Se,We,!0),ae.setItemGraphicEl(Le,G),G.__pictorialSymbolMeta=We,J.add(G),j(G,Se,We)}).remove(function(Le){var He=se.getItemGraphicEl(Le);He&&N(se,Le,He.__pictorialSymbolMeta.animationModel,He)}).execute(),this._data=ae,this.group},dispose:A.noop,remove:function(U,Q){var V=this.group,J=this._data;U.get("animation")?J&&J.eachItemGraphicEl(function(ae){N(J,ae.dataIndex,U,ae)}):V.removeAll()}});function t(U,Q,V,J){var ae=U.getItemLayout(Q),se=V.get("symbolRepeat"),$=V.get("symbolClip"),ge=V.get("symbolPosition")||"start",he=V.get("symbolRotate"),Ie=(he||0)*Math.PI/180||0,Se=V.get("symbolPatternSize")||2,Le=V.isAnimationEnabled(),He={dataIndex:Q,layout:ae,itemModel:V,symbolType:U.getItemVisual(Q,"symbol")||"circle",color:U.getItemVisual(Q,"color"),symbolClip:$,symbolRepeat:se,symbolRepeatDirection:V.get("symbolRepeatDirection"),symbolPatternSize:Se,rotation:Ie,animationModel:Le?V:null,hoverAnimation:Le&&V.get("hoverAnimation"),z2:V.getShallow("z",!0)||0};a(V,se,ae,J,He),h(U,Q,ae,se,$,He.boundingLength,He.pxSign,Se,J,He),f(V,He.symbolScale,Ie,J,He);var G=He.symbolSize,pe=V.get("symbolOffset");return A.isArray(pe)&&(pe=[s(pe[0],G[0]),s(pe[1],G[1])]),g(V,G,ae,se,$,pe,ge,He.valueLineWidth,He.boundingLength,He.repeatCutLength,J,He),He}function a(U,Q,V,J,ae){var se=J.valueDim,$=U.get("symbolBoundingData"),ge=J.coordSys.getOtherAxis(J.coordSys.getBaseAxis()),he=ge.toGlobalCoord(ge.dataToCoord(0)),Ie=1-+(V[se.wh]<=0),Se;if(A.isArray($)){var Le=[c(ge,$[0])-he,c(ge,$[1])-he];Le[1]<Le[0]&&Le.reverse(),Se=Le[Ie]}else $!=null?Se=c(ge,$)-he:Q?Se=J.coordSysExtent[se.index][Ie]-he:Se=V[se.wh];ae.boundingLength=Se,Q&&(ae.repeatCutLength=V[se.wh]),ae.pxSign=Se>0?1:Se<0?-1:0}function c(U,Q){return U.toGlobalCoord(U.dataToCoord(U.scale.parse(Q)))}function h(U,Q,V,J,ae,se,$,ge,he,Ie){var Se=he.valueDim,Le=he.categoryDim,He=Math.abs(V[Le.wh]),G=U.getItemVisual(Q,"symbolSize");A.isArray(G)?G=G.slice():(G==null&&(G="100%"),G=[G,G]),G[Le.index]=s(G[Le.index],He),G[Se.index]=s(G[Se.index],J?He:Math.abs(se)),Ie.symbolSize=G;var pe=Ie.symbolScale=[G[0]/ge,G[1]/ge];pe[Se.index]*=(he.isHorizontal?-1:1)*$}function f(U,Q,V,J,ae){var se=U.get(r)||0;se&&(n.attr({scale:Q.slice(),rotation:V}),n.updateTransform(),se/=n.getLineScale(),se*=Q[J.valueDim.index]),ae.valueLineWidth=se}function g(U,Q,V,J,ae,se,$,ge,he,Ie,Se,Le){var He=Se.categoryDim,G=Se.valueDim,pe=Le.pxSign,We=Math.max(Q[G.index]+ge,0),te=We;if(J){var X=Math.abs(he),z=A.retrieve(U.get("symbolMargin"),"15%")+"",Z=!1;z.lastIndexOf("!")===z.length-1&&(Z=!0,z=z.slice(0,z.length-1)),z=s(z,Q[G.index]);var be=Math.max(We+z*2,0),ne=Z?0:z*2,Ae=u(J),Ne=Ae?J:H((X+ne)/be),oe=X-Ne*We;z=oe/2/(Z?Ne:Ne-1),be=We+z*2,ne=Z?0:z*2,!Ae&&J!=="fixed"&&(Ne=Ie?H((Math.abs(Ie)+ne)/be):0),te=Ne*be-ne,Le.repeatTimes=Ne,Le.symbolMargin=z}var de=pe*(te/2),xe=Le.pathPosition=[];xe[He.index]=V[He.wh]/2,xe[G.index]=$==="start"?de:$==="end"?he-de:he/2,se&&(xe[0]+=se[0],xe[1]+=se[1]);var Pe=Le.bundlePosition=[];Pe[He.index]=V[He.xy],Pe[G.index]=V[G.xy];var tt=Le.barRectShape=A.extend({},V);tt[G.wh]=pe*Math.max(Math.abs(V[G.wh]),Math.abs(xe[G.index]+de)),tt[He.wh]=V[He.wh];var Je=Le.clipShape={};Je[He.xy]=-V[He.xy],Je[He.wh]=Se.ecSize[He.wh],Je[G.xy]=0,Je[G.wh]=V[G.wh]}function S(U){var Q=U.symbolPatternSize,V=v(U.symbolType,-Q/2,-Q/2,Q,Q,U.color);return V.attr({culling:!0}),V.type!=="image"&&V.setStyle({strokeNoScale:!0}),V}function y(U,Q,V,J){var ae=U.__pictorialBundle,se=V.symbolSize,$=V.valueLineWidth,ge=V.pathPosition,he=Q.valueDim,Ie=V.repeatTimes||0,Se=0,Le=se[Q.valueDim.index]+$+V.symbolMargin*2;for(W(U,function(X){X.__pictorialAnimationIndex=Se,X.__pictorialRepeatTimes=Ie,Se<Ie?R(X,null,pe(Se),V,J):R(X,null,{scale:[0,0]},V,J,function(){ae.remove(X)}),L(X,V),Se++});Se<Ie;Se++){var He=S(V);He.__pictorialAnimationIndex=Se,He.__pictorialRepeatTimes=Ie,ae.add(He);var G=pe(Se);R(He,{position:G.position,scale:[0,0]},{scale:G.scale,rotation:G.rotation},V,J),He.on("mouseover",We).on("mouseout",te),L(He,V)}function pe(X){var z=ge.slice(),Z=V.pxSign,be=X;return(V.symbolRepeatDirection==="start"?Z>0:Z<0)&&(be=Ie-1-X),z[he.index]=Le*(be-Ie/2+.5)+ge[he.index],{position:z,scale:V.symbolScale.slice(),rotation:V.rotation}}function We(){W(U,function(X){X.trigger("emphasis")})}function te(){W(U,function(X){X.trigger("normal")})}}function E(U,Q,V,J){var ae=U.__pictorialBundle,se=U.__pictorialMainPath;se?R(se,null,{position:V.pathPosition.slice(),scale:V.symbolScale.slice(),rotation:V.rotation},V,J):(se=U.__pictorialMainPath=S(V),ae.add(se),R(se,{position:V.pathPosition.slice(),scale:[0,0],rotation:V.rotation},{scale:V.symbolScale.slice()},V,J),se.on("mouseover",$).on("mouseout",ge)),L(se,V);function $(){this.trigger("emphasis")}function ge(){this.trigger("normal")}}function C(U,Q,V){var J=A.extend({},Q.barRectShape),ae=U.__pictorialBarRect;ae?R(ae,null,{shape:J},Q,V):(ae=U.__pictorialBarRect=new b.Rect({z2:2,shape:J,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),U.add(ae))}function T(U,Q,V,J){if(V.symbolClip){var ae=U.__pictorialClipPath,se=A.extend({},V.clipShape),$=Q.valueDim,ge=V.animationModel,he=V.dataIndex;if(ae)b.updateProps(ae,{shape:se},ge,he);else{se[$.wh]=0,ae=new b.Rect({shape:se}),U.__pictorialBundle.setClipPath(ae),U.__pictorialClipPath=ae;var Ie={};Ie[$.wh]=V.clipShape[$.wh],b[J?"updateProps":"initProps"](ae,{shape:Ie},ge,he)}}}function x(U,Q){var V=U.getItemModel(Q);return V.getAnimationDelayParams=_,V.isAnimationEnabled=I,V}function _(U){return{index:U.__pictorialAnimationIndex,count:U.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function L(U,Q){U.off("emphasis").off("normal");var V=Q.symbolScale.slice();Q.hoverAnimation&&U.on("emphasis",function(){this.animateTo({scale:[V[0]*1.1,V[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:V.slice()},400,"elasticOut")})}function D(U,Q,V,J){var ae=new b.Group,se=new b.Group;return ae.add(se),ae.__pictorialBundle=se,se.attr("position",V.bundlePosition.slice()),V.symbolRepeat?y(ae,Q,V):E(ae,Q,V),C(ae,V,J),T(ae,Q,V,J),ae.__pictorialShapeStr=k(U,V),ae.__pictorialSymbolMeta=V,ae}function B(U,Q,V){var J=V.animationModel,ae=V.dataIndex,se=U.__pictorialBundle;b.updateProps(se,{position:V.bundlePosition.slice()},J,ae),V.symbolRepeat?y(U,Q,V,!0):E(U,Q,V,!0),C(U,V,!0),T(U,Q,V,!0)}function N(U,Q,V,J){var ae=J.__pictorialBarRect;ae&&(ae.style.text=null);var se=[];W(J,function($){se.push($)}),J.__pictorialMainPath&&se.push(J.__pictorialMainPath),J.__pictorialClipPath&&(V=null),A.each(se,function($){b.updateProps($,{scale:[0,0]},V,Q,function(){J.parent&&J.parent.remove(J)})}),U.setItemGraphicEl(Q,null)}function k(U,Q){return[U.getItemVisual(Q.dataIndex,"symbol")||"none",!!Q.symbolRepeat,!!Q.symbolClip].join(":")}function W(U,Q,V){A.each(U.__pictorialBundle.children(),function(J){J!==U.__pictorialBarRect&&Q.call(V,J)})}function R(U,Q,V,J,ae,se){Q&&U.attr(Q),J.symbolClip&&!ae?V&&U.attr(V):V&&b[ae?"updateProps":"initProps"](U,V,J.animationModel,J.dataIndex,se)}function j(U,Q,V){var J=V.color,ae=V.dataIndex,se=V.itemModel,$=se.getModel("itemStyle").getItemStyle(["color"]),ge=se.getModel("emphasis.itemStyle").getItemStyle(),he=se.getShallow("cursor");W(U,function(He){He.setColor(J),He.setStyle(A.defaults({fill:J,opacity:V.opacity},$)),b.setHoverStyle(He,ge),he&&(He.cursor=he),He.z2=V.z2});var Ie={},Se=Q.valueDim.posDesc[+(V.boundingLength>0)],Le=U.__pictorialBarRect;e(Le.style,Ie,se,J,Q.seriesModel,ae,Se),b.setHoverStyle(Le,Ie)}function H(U){var Q=Math.round(U);return Math.abs(U-Q)<1e-4?Q:Math.ceil(U)}var K=l;M.exports=K},"N/zr":function(M,P,d){"use strict";function w(p){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(u){return typeof u}:w=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},w(p)}Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var A=m(d("Lo0S"));function b(){if(typeof WeakMap!="function")return null;var p=new WeakMap;return b=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 s=b();if(s&&s.has(p))return s.get(p);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in p)if(Object.prototype.hasOwnProperty.call(p,e)){var r=o?Object.getOwnPropertyDescriptor(p,e):null;r&&(r.get||r.set)?Object.defineProperty(u,e,r):u[e]=p[e]}return u.default=p,s&&s.set(p,u),u}var v={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(s){"use strict";for(var u="",o=s.length,e=o%3,r=0;r<o-2;r+=3)u+=this.toBase64Table[s[r]>>2],u+=this.toBase64Table[((s[r]&3)<<4)+(s[r+1]>>4)],u+=this.toBase64Table[((s[r+1]&15)<<2)+(s[r+2]>>6)],u+=this.toBase64Table[s[r+2]&63];var i=o-e;return e===2?(u+=this.toBase64Table[s[i]>>2],u+=this.toBase64Table[((s[i]&3)<<4)+(s[i+1]>>4)],u+=this.toBase64Table[(s[i+1]&15)<<2],u+=this.toBase64Table[64]):e===1&&(u+=this.toBase64Table[s[i]>>2],u+=this.toBase64Table[(s[i]&3)<<4],u+=this.toBase64Table[64],u+=this.toBase64Table[64]),u},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(s){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=s.indexOf("=")-u;o<0&&(o=s.length-u);for(var e=(o>>2)*3+Math.floor(o%4/1.5),r=new Array(e),i=0,n=0,l=0,t=u;t<s.length;t++){var a=this.toBinaryTable[s.charCodeAt(t)&127],c=s.charAt(t)===this.base64Pad;if(a===-1){A.Error("Illegal character code "+s.charCodeAt(t)+" at position "+t);continue}n=n<<6|a,i+=6,i>=8&&(i-=8,c||(r[l++]=n>>i&255),n&=(1<<i)-1)}if(i){var h=new Error("Corrupted base64 string");throw h.name="Base64-Error",h}return r}};P.default=v},N5BQ:function(M,P,d){var w=d("OlYY"),A=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"}}}),b=A;M.exports=b},NA0q:function(M,P,d){var w=d("bYtY"),A=d("6Ic6"),b=d("TkdX"),m=d("gPAo"),v=d("7aKB"),p=v.windowOpen,s="sunburstRootToNode",u=A.extend({type:"sunburst",init:function(){},render:function(e,r,i,n){var l=this;this.seriesModel=e,this.api=i,this.ecModel=r;var t=e.getData(),a=t.tree.root,c=e.getViewRoot(),h=this.group,f=e.get("renderLabelForZeroData"),g=[];c.eachNode(function(I){g.push(I)});var S=this._oldChildren||[];if(C(g,S),_(a,c),n&&n.highlight&&n.highlight.piece){var y=e.getShallow("highlightPolicy");n.highlight.piece.onEmphasis(y)}else if(n&&n.unhighlight){var E=this.virtualPiece;!E&&a.children.length&&(E=a.children[0].piece),E&&E.onNormal()}this._initEvents(),this._oldChildren=g;function C(I,L){if(I.length===0&&L.length===0)return;new m(L,I,D,D).add(B).update(B).remove(w.curry(B,null)).execute();function D(N){return N.getId()}function B(N,k){var W=N==null?null:I[N],R=k==null?null:L[k];T(W,R)}}function T(I,L){if(!f&&I&&!I.getValue()&&(I=null),I!==a&&L!==a){if(L&&L.piece)I?(L.piece.updateData(!1,I,"normal",e,r),t.setItemGraphicEl(I.dataIndex,L.piece)):x(L);else if(I){var D=new b(I,e,r);h.add(D),t.setItemGraphicEl(I.dataIndex,D)}}}function x(I){if(!I)return;I.piece&&(h.remove(I.piece),I.piece=null)}function _(I,L){if(L.depth>0){l.virtualPiece?l.virtualPiece.updateData(!1,I,"normal",e,r):(l.virtualPiece=new b(I,e,r),h.add(l.virtualPiece)),L.piece._onclickEvent&&L.piece.off("click",L.piece._onclickEvent);var D=function(B){l._rootToNode(L.parentNode)};L.piece._onclickEvent=D,l.virtualPiece.on("click",D)}else l.virtualPiece&&(h.remove(l.virtualPiece),l.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var e=this,r=function(i){var n=!1,l=e.seriesModel.getViewRoot();l.eachNode(function(t){if(!n&&t.piece&&t.piece.childAt(0)===i.target){var a=t.getModel().get("nodeClick");if(a==="rootToNode")e._rootToNode(t);else if(a==="link"){var c=t.getModel(),h=c.get("link");if(h){var f=c.get("target",!0)||"_blank";p(h,f)}}n=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",r),this.group._onclickEvent=r},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:s,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,r){var i=r.getData(),n=i.getItemLayout(0);if(n){var l=e[0]-n.cx,t=e[1]-n.cy,a=Math.sqrt(l*l+t*t);return a<=n.r&&a>=n.r0}}}),o=u;M.exports=o},NBmB:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.encodingName=A,P.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};P.encodings=w;function A(b){switch(b){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 "+b+"]"}}},NC18:function(M,P,d){var w=d("y+Vt"),A=d("IMiH"),b=d("7oTu"),m=Math.sqrt,v=Math.sin,p=Math.cos,s=Math.PI,u=function(g){return Math.sqrt(g[0]*g[0]+g[1]*g[1])},o=function(g,S){return(g[0]*S[0]+g[1]*S[1])/(u(g)*u(S))},e=function(g,S){return(g[0]*S[1]<g[1]*S[0]?-1:1)*Math.acos(o(g,S))};function r(f,g,S,y,E,C,T,x,_,I,L){var D=_*(s/180),B=p(D)*(f-S)/2+v(D)*(g-y)/2,N=-1*v(D)*(f-S)/2+p(D)*(g-y)/2,k=B*B/(T*T)+N*N/(x*x);k>1&&(T*=m(k),x*=m(k));var W=(E===C?-1:1)*m((T*T*(x*x)-T*T*(N*N)-x*x*(B*B))/(T*T*(N*N)+x*x*(B*B)))||0,R=W*T*N/x,j=W*-x*B/T,H=(f+S)/2+p(D)*R-v(D)*j,K=(g+y)/2+v(D)*R+p(D)*j,U=e([1,0],[(B-R)/T,(N-j)/x]),Q=[(B-R)/T,(N-j)/x],V=[(-1*B-R)/T,(-1*N-j)/x],J=e(Q,V);o(Q,V)<=-1&&(J=s),o(Q,V)>=1&&(J=0),C===0&&J>0&&(J=J-2*s),C===1&&J<0&&(J=J+2*s),L.addData(I,H,K,T,x,U,J,D,C)}var i=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,n=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function l(f){if(!f)return new A;for(var g=0,S=0,y=g,E=S,C,T=new A,x=A.CMD,_=f.match(i),I=0;I<_.length;I++){for(var L=_[I],D=L.charAt(0),B,N=L.match(n)||[],k=N.length,W=0;W<k;W++)N[W]=parseFloat(N[W]);for(var R=0;R<k;){var j,H,K,U,Q,V,J,ae=g,se=S;switch(D){case"l":g+=N[R++],S+=N[R++],B=x.L,T.addData(B,g,S);break;case"L":g=N[R++],S=N[R++],B=x.L,T.addData(B,g,S);break;case"m":g+=N[R++],S+=N[R++],B=x.M,T.addData(B,g,S),y=g,E=S,D="l";break;case"M":g=N[R++],S=N[R++],B=x.M,T.addData(B,g,S),y=g,E=S,D="L";break;case"h":g+=N[R++],B=x.L,T.addData(B,g,S);break;case"H":g=N[R++],B=x.L,T.addData(B,g,S);break;case"v":S+=N[R++],B=x.L,T.addData(B,g,S);break;case"V":S=N[R++],B=x.L,T.addData(B,g,S);break;case"C":B=x.C,T.addData(B,N[R++],N[R++],N[R++],N[R++],N[R++],N[R++]),g=N[R-2],S=N[R-1];break;case"c":B=x.C,T.addData(B,N[R++]+g,N[R++]+S,N[R++]+g,N[R++]+S,N[R++]+g,N[R++]+S),g+=N[R-2],S+=N[R-1];break;case"S":j=g,H=S;var $=T.len(),ge=T.data;C===x.C&&(j+=g-ge[$-4],H+=S-ge[$-3]),B=x.C,ae=N[R++],se=N[R++],g=N[R++],S=N[R++],T.addData(B,j,H,ae,se,g,S);break;case"s":j=g,H=S;var $=T.len(),ge=T.data;C===x.C&&(j+=g-ge[$-4],H+=S-ge[$-3]),B=x.C,ae=g+N[R++],se=S+N[R++],g+=N[R++],S+=N[R++],T.addData(B,j,H,ae,se,g,S);break;case"Q":ae=N[R++],se=N[R++],g=N[R++],S=N[R++],B=x.Q,T.addData(B,ae,se,g,S);break;case"q":ae=N[R++]+g,se=N[R++]+S,g+=N[R++],S+=N[R++],B=x.Q,T.addData(B,ae,se,g,S);break;case"T":j=g,H=S;var $=T.len(),ge=T.data;C===x.Q&&(j+=g-ge[$-4],H+=S-ge[$-3]),g=N[R++],S=N[R++],B=x.Q,T.addData(B,j,H,g,S);break;case"t":j=g,H=S;var $=T.len(),ge=T.data;C===x.Q&&(j+=g-ge[$-4],H+=S-ge[$-3]),g+=N[R++],S+=N[R++],B=x.Q,T.addData(B,j,H,g,S);break;case"A":K=N[R++],U=N[R++],Q=N[R++],V=N[R++],J=N[R++],ae=g,se=S,g=N[R++],S=N[R++],B=x.A,r(ae,se,g,S,V,J,K,U,Q,B,T);break;case"a":K=N[R++],U=N[R++],Q=N[R++],V=N[R++],J=N[R++],ae=g,se=S,g+=N[R++],S+=N[R++],B=x.A,r(ae,se,g,S,V,J,K,U,Q,B,T);break}}(D==="z"||D==="Z")&&(B=x.Z,T.addData(B),g=y,S=E),C=B}return T.toStatic(),T}function t(f,g){var S=l(f);return g=g||{},g.buildPath=function(y){if(y.setData){y.setData(S.data);var E=y.getContext();E&&y.rebuildPath(E)}else{var E=y;S.rebuildPath(E)}},g.applyTransform=function(y){b(S,y),this.dirty(!0)},g}function a(f,g){return new w(t(f,g))}function c(f,g){return w.extend(t(f,g))}function h(f,g){for(var S=[],y=f.length,E=0;E<y;E++){var C=f[E];C.path||C.createPathProxy(),C.__dirtyPath&&C.buildPath(C.path,C.shape,!0),S.push(C.path)}var T=new w(g);return T.createPathProxy(),T.buildPath=function(x){x.appendPath(S);var _=x.getContext();_&&x.rebuildPath(_)},T}P.createFromString=a,P.extendFromString=c,P.mergePath=h},NH9N:function(M,P,d){var w=d("bYtY"),A=d("mFDi"),b=d("Fofx"),m=d("IwbS"),v=d("+TT/"),p=d("kzvK"),s=d("CMP+"),u=d("oVpE"),o=u.createSymbol,e=d("aX7z"),r=d("OELB"),i=d("7aKB"),n=i.encodeHTML,l=w.bind,t=w.each,a=Math.PI,c=p.extend({type:"timeline.slider",init:function(y,E){this.api=E,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(y,E,C,T){if(this.model=y,this.api=C,this.ecModel=E,this.group.removeAll(),y.get("show",!0)){var x=this._layout(y,C),_=this._createGroup("mainGroup"),I=this._createGroup("labelGroup"),L=this._axis=this._createAxis(x,y);y.formatTooltip=function(D){return n(L.scale.getLabel(D))},t(["AxisLine","AxisTick","Control","CurrentPointer"],function(D){this["_render"+D](x,_,L,y)},this),this._renderAxisLabel(x,I,L,y),this._position(x,y)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(y,E){var C=y.get("label.position"),T=y.get("orient"),x=h(y,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:a/2},D=T==="vertical"?x.height:x.width,B=y.getModel("controlStyle"),N=B.get("show",!0),k=N?B.get("itemSize"):0,W=N?B.get("itemGap"):0,R=k+W,j=y.get("label.rotate")||0;j=j*a/180;var H,K,U,Q,V=B.get("position",!0),J=N&&B.get("showPlayBtn",!0),ae=N&&B.get("showPrevBtn",!0),se=N&&B.get("showNextBtn",!0),$=0,ge=D;return V==="left"||V==="bottom"?(J&&(H=[0,0],$+=R),ae&&(K=[$,0],$+=R),se&&(U=[ge-k,0],ge-=R)):(J&&(H=[ge-k,0],ge-=R),ae&&(K=[0,0],$+=R),se&&(U=[ge-k,0],ge-=R)),Q=[$,ge],y.get("inverse")&&Q.reverse(),{viewRect:x,mainLength:D,orient:T,rotation:L[T],labelRotation:j,labelPosOpt:C,labelAlign:y.get("label.align")||_[T],labelBaseline:y.get("label.verticalAlign")||y.get("label.baseline")||I[T],playPosition:H,prevBtnPosition:K,nextBtnPosition:U,axisExtent:Q,controlSize:k,controlGap:W}},_position:function(y,E){var C=this._mainGroup,T=this._labelGroup,x=y.viewRect;if(y.orient==="vertical"){var _=b.create(),I=x.x,L=x.y+x.height;b.translate(_,_,[-I,-L]),b.rotate(_,_,-a/2),b.translate(_,_,[I,L]),x=x.clone(),x.applyTransform(_)}var D=K(x),B=K(C.getBoundingRect()),N=K(T.getBoundingRect()),k=C.position,W=T.position;W[0]=k[0]=D[0][0];var R=y.labelPosOpt;if(isNaN(R)){var j=R==="+"?0:1;U(k,B,D,1,j),U(W,N,D,1,1-j)}else{var j=R>=0?0:1;U(k,B,D,1,j),W[1]=k[1]+R}C.attr("position",k),T.attr("position",W),C.rotation=T.rotation=y.rotation,H(C),H(T);function H(Q){var V=Q.position;Q.origin=[D[0][0]-V[0],D[1][0]-V[1]]}function K(Q){return[[Q.x,Q.x+Q.width],[Q.y,Q.y+Q.height]]}function U(Q,V,J,ae,se){Q[ae]+=J[ae][se]-V[ae][se]}},_createAxis:function(y,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 s("value",x,y.axisExtent,T);return I.model=E,I},_createGroup:function(y){var E=this["_"+y]=new m.Group;return this.group.add(E),E},_renderAxisLine:function(y,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(y,E,C,T){var x=T.getData(),_=C.scale.getTicks();t(_,function(I){var L=C.dataToCoord(I),D=x.getItemModel(I),B=D.getModel("itemStyle"),N=D.getModel("emphasis.itemStyle"),k={position:[L,0],onclick:l(this._changeTimeline,this,I)},W=g(D,B,E,k);m.setHoverStyle(W,N.getItemStyle()),D.get("tooltip")?(W.dataIndex=I,W.dataModel=T):W.dataIndex=W.dataModel=null},this)},_renderAxisLabel:function(y,E,C,T){var x=C.getLabelModel();if(!x.get("show"))return;var _=T.getData(),I=C.getViewLabels();t(I,function(L){var D=L.tickValue,B=_.getItemModel(D),N=B.getModel("label"),k=B.getModel("emphasis.label"),W=C.dataToCoord(L.tickValue),R=new m.Text({position:[W,0],rotation:y.labelRotation-y.rotation,onclick:l(this._changeTimeline,this,D),silent:!1});m.setTextStyle(R.style,N,{text:L.formattedLabel,textAlign:y.labelAlign,textVerticalAlign:y.labelBaseline}),E.add(R),m.setHoverStyle(R,m.setTextStyle({},k))},this)},_renderControl:function(y,E,C,T){var x=y.controlSize,_=y.rotation,I=T.getModel("controlStyle").getItemStyle(),L=T.getModel("emphasis.controlStyle").getItemStyle(),D=[0,-x/2,x,x],B=T.getPlayState(),N=T.get("inverse",!0);k(y.nextBtnPosition,"controlStyle.nextIcon",l(this._changeTimeline,this,N?"-":"+")),k(y.prevBtnPosition,"controlStyle.prevIcon",l(this._changeTimeline,this,N?"+":"-")),k(y.playPosition,"controlStyle."+(B?"stopIcon":"playIcon"),l(this._handlePlayClick,this,!B),!0);function k(W,R,j,H){if(!W)return;var K={position:W,origin:[x/2,0],rotation:H?-_:0,rectHover:!0,style:I,onclick:j},U=f(T,R,D,K);E.add(U),m.setHoverStyle(U,L)}},_renderCurrentPointer:function(y,E,C,T){var x=T.getData(),_=T.getCurrentIndex(),I=x.getItemModel(_).getModel("checkpointStyle"),L=this,D={onCreate:function(B){B.draggable=!0,B.drift=l(L._handlePointerDrag,L),B.ondragend=l(L._handlePointerDragend,L),S(B,_,C,T,!0)},onUpdate:function(B){S(B,_,C,T)}};this._currentPointer=g(I,I,this._mainGroup,{},this._currentPointer,D)},_handlePlayClick:function(y){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:y,from:this.uid})},_handlePointerDrag:function(y,E,C){this._clearTimer(),this._pointerChangeTimeline([C.offsetX,C.offsetY])},_handlePointerDragend:function(y){this._pointerChangeTimeline([y.offsetX,y.offsetY],!0)},_pointerChangeTimeline:function(y,E){var C=this._toAxisCoord(y)[0],T=this._axis,x=r.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(l(y,this),this.model.get("playInterval")));function y(){var E=this.model;this._changeTimeline(E.getCurrentIndex()+(E.get("rewind",!0)?-1:1))}},_toAxisCoord:function(y){var E=this._mainGroup.getLocalTransform();return m.applyTransform(y,E,!0)},_findNearestTick:function(y){var E=this.model.getData(),C=Infinity,T,x=this._axis;return E.each(["value"],function(_,I){var L=x.dataToCoord(_),D=Math.abs(L-y);D<C&&(C=D,T=I)}),T},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(y){var E=this.model.getCurrentIndex();y==="+"?y=E+1:y==="-"&&(y=E-1),this.api.dispatchAction({type:"timelineChange",currentIndex:y,from:this.uid})}});function h(y,E){return v.getLayoutRect(y.getBoxLayoutParams(),{width:E.getWidth(),height:E.getHeight()},y.get("padding"))}function f(y,E,C,T){var x=m.makePath(y.get(E).replace(/^path:\/\//,""),w.clone(T||{}),new A(C[0],C[1],C[2],C[3]),"center");return x}function g(y,E,C,T,x,_){var I=E.get("color");if(x)x.setColor(I),C.add(x),_&&_.onUpdate(x);else{var L=y.get("symbol");x=o(L,-1,-1,2,2,I),x.setStyle("strokeNoScale",!0),C.add(x),_&&_.onCreate(x)}var D=E.getItemStyle(["color","symbol","symbolSize"]);x.setStyle(D),T=w.merge({rectHover:!0,z2:100},T,!0);var B=y.get("symbolSize");B=B instanceof Array?B.slice():[+B,+B],B[0]/=2,B[1]/=2,T.scale=B;var N=y.get("symbolOffset");if(N){var k=T.position=T.position||[0,0];k[0]+=r.parsePercent(N[0],B[0]),k[1]+=r.parsePercent(N[1],B[1])}var W=y.get("symbolRotate");return T.rotation=(W||0)*Math.PI/180||0,x.attr(T),x.updateTransform(),x}function S(y,E,C,T,x){if(y.dragging)return;var _=T.getModel("checkpointStyle"),I=C.dataToCoord(T.getData().get(["value"],E));x||!_.get("animation",!0)?y.attr({position:[I,0]}):(y.stopAnimation(!0),y.animateTo({position:[I,0]},_.get("animationDuration",!0),_.get("animationEasing",!0)))}M.exports=c},NohK:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var w=function(b){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,v=null;return function(){for(var p=this,s=arguments.length,u=new Array(s),o=0;o<s;o++)u[o]=arguments[o];clearTimeout(v),v=setTimeout(function(){b.apply(p,u)},m)}};P.default=w},NvD2:function(M,P,d){"use strict";d.d(P,"a",function(){return p});var w=d("Kwbf");function A(s,u){var o=new Set;return s.forEach(function(e){u.has(e)||o.add(e)}),o}function b(s){var u=s||{},o=u.disabled,e=u.disableCheckbox,r=u.checkable;return!!(o||e)||r===!1}function m(s,u,o,e){for(var r=new Set(s),i=new Set,n=0;n<=o;n+=1){var l=u.get(n)||new Set;l.forEach(function(h){var f=h.key,g=h.node,S=h.children,y=S===void 0?[]:S;r.has(f)&&!e(g)&&y.filter(function(E){return!e(E.node)}).forEach(function(E){r.add(E.key)})})}for(var t=new Set,a=o;a>=0;a-=1){var c=u.get(a)||new Set;c.forEach(function(h){var f=h.parent,g=h.node;if(e(g)||!h.parent||t.has(h.parent.key))return;if(e(h.parent.node)){t.add(f.key);return}var S=!0,y=!1;(f.children||[]).filter(function(E){return!e(E.node)}).forEach(function(E){var C=E.key,T=r.has(C);S&&!T&&(S=!1),!y&&(T||i.has(C))&&(y=!0)}),S&&r.add(f.key),y&&i.add(f.key),t.add(f.key)})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(A(i,r))}}function v(s,u,o,e,r){for(var i=new Set(s),n=new Set(u),l=0;l<=e;l+=1){var t=o.get(l)||new Set;t.forEach(function(f){var g=f.key,S=f.node,y=f.children,E=y===void 0?[]:y;!i.has(g)&&!n.has(g)&&!r(S)&&E.filter(function(C){return!r(C.node)}).forEach(function(C){i.delete(C.key)})})}n=new Set;for(var a=new Set,c=e;c>=0;c-=1){var h=o.get(c)||new Set;h.forEach(function(f){var g=f.parent,S=f.node;if(r(S)||!f.parent||a.has(f.parent.key))return;if(r(f.parent.node)){a.add(g.key);return}var y=!0,E=!1;(g.children||[]).filter(function(C){return!r(C.node)}).forEach(function(C){var T=C.key,x=i.has(T);y&&!x&&(y=!1),!E&&(x||n.has(T))&&(E=!0)}),y||i.delete(g.key),E&&n.add(g.key),a.add(g.key)})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(A(n,i))}}function p(s,u,o,e){var r=[],i;e?i=e:i=b;var n=new Set(s.filter(function(c){var h=!!o[c];return h||r.push(c),h})),l=new Map,t=0;Object.keys(o).forEach(function(c){var h=o[c],f=h.level,g=l.get(f);g||(g=new Set,l.set(f,g)),g.add(h),t=Math.max(t,f)}),Object(w.a)(!r.length,"Tree missing follow keys: ".concat(r.slice(0,100).map(function(c){return"'".concat(c,"'")}).join(", ")));var a;return u===!0?a=m(n,l,t,i):a=v(n,u.halfCheckedKeys,l,t,i),a}},O6sM:function(M,P,d){},OELB:function(M,P,d){var w=d("bYtY"),A=1e-4;function b(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 v(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"?b(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 s(E){return E.sort(function(C,T){return C-T}),E}function u(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 o(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 r(E,C,T){if(!E[C])return 0;var x=w.reduce(E,function(H,K){return H+(isNaN(K)?0:K)},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,D=w.map(I,function(H){return Math.floor(H)}),B=w.reduce(D,function(H,K){return H+K},0),N=w.map(I,function(H,K){return H-D[K]});B<L;){for(var k=Number.NEGATIVE_INFINITY,W=null,R=0,j=N.length;R<j;++R)N[R]>k&&(k=N[R],W=R);++D[W],N[W]=0,++B}return D[C]/_}var i=9007199254740991;function n(E){var C=Math.PI*2;return(E%C+C)%C}function l(E){return E>-A&&E<A}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 a(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 c(E){return Math.pow(10,h(E))}function h(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 f(E,C){var T=h(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 g(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(B,N){return D(B,N,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 D(B,N,k){return B.interval[k]<N.interval[k]||B.interval[k]===N.interval[k]&&(B.close[k]-N.close[k]===(k?-1:1)||!k&&D(B,N,1))}}function y(E){return E-parseFloat(E)>=0}P.linearMap=m,P.parsePercent=v,P.round=p,P.asc=s,P.getPrecision=u,P.getPrecisionSafe=o,P.getPixelPrecision=e,P.getPercentWithPrecision=r,P.MAX_SAFE_INTEGER=i,P.remRadian=n,P.isRadianAroundZero=l,P.parseDate=a,P.quantity=c,P.quantityExponent=h,P.nice=f,P.quantile=g,P.reformIntervals=S,P.isNumeric=y},OKJ2:function(M,P,d){var w=d("KxfA"),A=w.retrieveRawValue,b=d("7aKB"),m=b.getTooltipMarker,v=b.formatTpl,p=d("4NO4"),s=p.getTooltipRenderMode,u=/\{@(.+?)\}/g,o={getDataParams:function(e,r){var i=this.getData(r),n=this.getRawValue(e,r),l=i.getRawIndex(e),t=i.getName(e),a=i.getRawDataItem(e),c=i.getItemVisual(e,"color"),h=i.getItemVisual(e,"borderColor"),f=this.ecModel.getComponent("tooltip"),g=f&&f.get("renderMode"),S=s(g),y=this.mainType,E=y==="series",C=i.userOutput;return{componentType:y,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:l,data:a,dataType:r,value:n,color:c,borderColor:h,dimensionNames:C?C.dimensionNames:null,encode:C?C.encode:null,marker:m({color:c,renderMode:S}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(e,r,i,n,l){r=r||"normal";var t=this.getData(i),a=t.getItemModel(e),c=this.getDataParams(e,i);n!=null&&c.value instanceof Array&&(c.value=c.value[n]);var h=a.get(r==="normal"?[l||"label","formatter"]:[r,l||"label","formatter"]);if(typeof h=="function")return c.status=r,c.dimensionIndex=n,h(c);if(typeof h=="string"){var f=v(h,c);return f.replace(u,function(g,S){var y=S.length;return S.charAt(0)==="["&&S.charAt(y-1)==="]"&&(S=+S.slice(1,y-1)),A(t,e,S)})}},getRawValue:function(e,r){return A(this.getData(r),e)},formatTooltip:function(){}};M.exports=o},"OO/H":function(M,P,d){},OQFs:function(M,P,d){var w=d("KCsZ"),A=w([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),b={getLineStyle:function(m){var v=A(this,m);return v.lineDash=this.getLineDash(v.lineWidth),v},getLineDash:function(m){m==null&&(m=1);var v=this.get("type"),p=Math.max(m,2),s=m*4;return v==="solid"||v==null?!1:v==="dashed"?[s,s]:[p,p]}};M.exports=b},OS9S:function(M,P,d){var w=d("bYtY"),A=w.inherits,b=d("Gev7"),m=d("mFDi");function v(u){b.call(this,u),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}v.prototype.incremental=!0,v.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},v.prototype.addDisplayable=function(u,o){o?this._temporaryDisplayables.push(u):this._displayables.push(u),this.dirty()},v.prototype.addDisplayables=function(u,o){o=o||!1;for(var e=0;e<u.length;e++)this.addDisplayable(u[e],o)},v.prototype.eachPendingDisplayable=function(u){for(var o=this._cursor;o<this._displayables.length;o++)u&&u(this._displayables[o]);for(var o=0;o<this._temporaryDisplayables.length;o++)u&&u(this._temporaryDisplayables[o])},v.prototype.update=function(){this.updateTransform();for(var u=this._cursor;u<this._displayables.length;u++){var o=this._displayables[u];o.parent=this,o.update(),o.parent=null}for(var u=0;u<this._temporaryDisplayables.length;u++){var o=this._temporaryDisplayables[u];o.parent=this,o.update(),o.parent=null}},v.prototype.brush=function(u,o){for(var e=this._cursor;e<this._displayables.length;e++){var r=this._displayables[e];r.beforeBrush&&r.beforeBrush(u),r.brush(u,e===this._cursor?null:this._displayables[e-1]),r.afterBrush&&r.afterBrush(u)}this._cursor=e;for(var e=0;e<this._temporaryDisplayables.length;e++){var r=this._temporaryDisplayables[e];r.beforeBrush&&r.beforeBrush(u),r.brush(u,e===0?null:this._temporaryDisplayables[e-1]),r.afterBrush&&r.afterBrush(u)}this._temporaryDisplayables=[],this.notClear=!0};var p=[];v.prototype.getBoundingRect=function(){if(!this._rect){for(var u=new m(Infinity,Infinity,-Infinity,-Infinity),o=0;o<this._displayables.length;o++){var e=this._displayables[o],r=e.getBoundingRect().clone();e.needLocalTransform()&&r.applyTransform(e.getLocalTransform(p)),u.union(r)}this._rect=u}return this._rect},v.prototype.contain=function(u,o){var e=this.transformCoordToLocal(u,o),r=this.getBoundingRect();if(r.contain(e[0],e[1]))for(var i=0;i<this._displayables.length;i++){var n=this._displayables[i];if(n.contain(u,o))return!0}return!1},A(v,b);var s=v;M.exports=s},OUIX:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("x6LZ"),m=d.n(b),v=d("W9l/"),p=d("keYo"),s=d("jOhD")},OUJF:function(M,P,d){var w=d("ProS"),A=d("bYtY");w.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(b,m){var v=m.getComponent("timeline");return v&&b.currentIndex!=null&&(v.setCurrentIndex(b.currentIndex),!v.get("loop",!0)&&v.isIndexMax()&&v.setPlayState(!1)),m.resetOption("timeline"),A.defaults({currentIndex:v.option.currentIndex},b)}),w.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(b,m){var v=m.getComponent("timeline");v&&b.playState!=null&&v.setPlayState(b.playState)})},OXB0:function(M,P,d){var w=d("T4UG"),A=d("MwEJ"),b=d("IDmD"),m=w.extend({type:"series.heatmap",getInitialData:function(v,p){return A(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var v=b.get(this.get("coordinateSystem"));if(v&&v.dimensions)return v.dimensions[0]==="lng"&&v.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});M.exports=m},OXtT:function(M,P,d){"use strict";var w=d("lHn7"),A=d("ac54"),b=w.e;b.Header=w.c,b.Footer=w.b,b.Content=w.a,b.Sider=A.b,P.a=b},OZM5:function(M,P,d){"use strict";d.d(P,"b",function(){return o}),d.d(P,"a",function(){return e}),d.d(P,"k",function(){return r}),d.d(P,"h",function(){return i}),d.d(P,"i",function(){return n}),d.d(P,"g",function(){return l}),d.d(P,"c",function(){return c}),d.d(P,"d",function(){return h}),d.d(P,"j",function(){return S}),d.d(P,"e",function(){return y}),d.d(P,"f",function(){return E});var w=d("KQm4"),A=d("U8pU"),b=d("Ff2n"),m=d("q1tI"),v=d.n(m),p=d("Kwbf"),s=d("WaYH"),u=["children"];function o(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 r(C){return C.split("-")}function i(C,T){return"".concat(C,"-").concat(T)}function n(C){return C&&C.type&&C.type.isTreeNode}function l(C,T){var x=[],_=T[C];function I(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];L.forEach(function(D){var B=D.key,N=D.children;x.push(B),I(N)})}return I(_.children),x}function t(C){if(C.parent){var T=r(C.pos);return Number(T[T.length-1])===C.parent.children.length-1}return!1}function a(C){var T=r(C.pos);return Number(T[T.length-1])===0}function c(C,T,x,_,I,L,D,B,N,k){var W,R=C.clientX,j=C.clientY,H=C.target.getBoundingClientRect(),K=H.top,U=H.height,Q=(k==="rtl"?-1:1)*(((I==null?void 0:I.x)||0)-R),V=(Q-12)/_,J=B[x.props.eventKey];if(j<K+U/2){var ae=D.findIndex(function(We){return We.data.key===J.key}),se=ae<=0?0:ae-1,$=D[se].data.key;J=B[$]}var ge=J.key,he=J,Ie=J.key,Se=0,Le=0;if(!N.includes(ge))for(var He=0;He<V&&t(J);He+=1)J=J.parent,Le+=1;var G=J.node,pe=!0;return a(J)&&J.level===0&&j<K+U/2&&L({dropNode:G,dropPosition:-1})&&J.key===x.props.eventKey?Se=-1:(he.children||[]).length&&N.includes(Ie)?L({dropNode:G,dropPosition:0})?Se=0:pe=!1:Le===0?V>-1.5?L({dropNode:G,dropPosition:1})?Se=1:pe=!1:L({dropNode:G,dropPosition:0})?Se=0:L({dropNode:G,dropPosition:1})?Se=1:pe=!1:L({dropNode:G,dropPosition:1})?Se=1:pe=!1,{dropPosition:Se,dropLevelOffset:Le,dropTargetKey:J.key,dropTargetPos:J.pos,dragOverNodeKey:Ie,dropContainerKey:Se===0?null:((W=J.parent)===null||W===void 0?void 0:W.key)||null,dropAllowed:pe}}function h(C,T){if(!C)return;var x=T.multiple;return x?C.slice():C.length?[C[0]]:C}var f=function(T){return T};function g(C,T){if(!C)return[];var x=T||{},_=x.processProps,I=_===void 0?f:_,L=Array.isArray(C)?C:[C];return L.map(function(D){var B=D.children,N=Object(b.a)(D,u),k=g(B,T);return v.a.createElement(s.a,I(N),k)})}function S(C){if(!C)return null;var T;if(Array.isArray(C))T={checkedKeys:C,halfCheckedKeys:void 0};else if(Object(A.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 y(C,T){var x=new Set;function _(I){if(x.has(I))return;var L=T[I];if(!L)return;x.add(I);var D=L.parent,B=L.node;if(B.disabled)return;D&&_(D.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,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),m=d("bYtY"),v=d("ItGF"),p=d("4NO4"),s=d("UOVi"),u=d("zDms"),o=m.each,e=s.eachAxisDim,r=b.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,a,c){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var h=i(t);this.settledOption=h,this.mergeDefaultAndTheme(t,c),this.doInit(h)},mergeOption:function(t){var a=i(t);m.merge(this.option,t,!0),m.merge(this.settledOption,a,!0),this.doInit(a)},doInit:function(t){var a=this.option;v.canvasSupported||(a.realtime=!1),this._setDefaultThrottle(t),n(this,t);var c=this.settledOption;o([["start","startValue"],["end","endValue"]],function(h,f){this._rangePropMode[f]==="value"&&(a[h[0]]=c[h[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(a,c,h,f){var g=this.dependentModels[a.axis][c],S=g.__dzAxisProxy||(g.__dzAxisProxy=new u(a.name,c,this,f));t[a.name+"_"+c]=S},this)},_resetTarget:function(){var t=this.option,a=this._judgeAutoMode();e(function(c){var h=c.axisIndex;t[h]=p.normalizeToArray(t[h])},this),a==="axisIndex"?this._autoSetAxisIndex():a==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,a=!1;e(function(h){t[h.axisIndex]!=null&&(a=!0)},this);var c=t.orient;if(c==null&&a)return"orient";if(!a)return c==null&&(t.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var t=!0,a=this.get("orient",!0),c=this.option,h=this.dependentModels;if(t){var f=a==="vertical"?"y":"x";h[f+"Axis"].length?(c[f+"AxisIndex"]=[0],t=!1):o(h.singleAxis,function(g){t&&g.get("orient",!0)===a&&(c.singleAxisIndex=[g.componentIndex],t=!1)})}t&&e(function(g){if(!t)return;var S=[],y=this.dependentModels[g.axis];if(y.length&&!S.length)for(var E=0,C=y.length;E<C;E++)y[E].get("type")==="category"&&S.push(E);c[g.axisIndex]=S,S.length&&(t=!1)},this),t&&this.ecModel.eachSeries(function(g){this._isSeriesHasAllAxesTypeOf(g,"value")&&e(function(S){var y=c[S.axisIndex],E=g.get(S.axisIndex),C=g.get(S.axisId),T=g.ecModel.queryComponents({mainType:S.axis,index:E,id:C})[0];E=T.componentIndex,m.indexOf(y,E)<0&&y.push(E)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(a){!t&&(t=a.name)},this),this.option.orient=t==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,a){var c=!0;return e(function(h){var f=t.get(h.axisIndex),g=this.dependentModels[h.axis][f];(!g||g.get("type")!==a)&&(c=!1)},this),c},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var t;return e(function(a){if(t==null){var c=this.get(a.axisIndex);c.length&&(t=this.dependentModels[a.axis][c[0]])}},this),t},eachTargetAxis:function(t,a){var c=this.ecModel;e(function(h){o(this.get(h.axisIndex),function(f){t.call(a,h,f,this,c)},this)},this)},getAxisProxy:function(t,a){return this._axisProxies[t+"_"+a]},getAxisModel:function(t,a){var c=this.getAxisProxy(t,a);return c&&c.getAxisModel()},setRawRange:function(t){var a=this.option,c=this.settledOption;o([["start","startValue"],["end","endValue"]],function(h){(t[h[0]]!=null||t[h[1]]!=null)&&(a[h[0]]=c[h[0]]=t[h[0]],a[h[1]]=c[h[1]]=t[h[1]])},this),n(this,t)},setCalculatedRange:function(t){var a=this.option;o(["start","startValue","end","endValue"],function(c){a[c]=t[c]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,a){if(t==null&&a==null){var c=this.findRepresentativeAxisProxy();if(c)return c.getDataValueWindow()}else return this.getAxisProxy(t,a).getDataValueWindow()},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var a=this._axisProxies;for(var c in a)if(a.hasOwnProperty(c)&&a[c].hostedBy(this))return a[c];for(var c in a)if(a.hasOwnProperty(c)&&!a[c].hostedBy(this))return a[c]},getRangePropMode:function(){return this._rangePropMode.slice()}});function i(t){var a={};return o(["start","end","startValue","endValue","throttle"],function(c){t.hasOwnProperty(c)&&(a[c]=t[c])}),a}function n(t,a){var c=t._rangePropMode,h=t.get("rangeMode");o([["start","startValue"],["end","endValue"]],function(f,g){var S=a[f[0]]!=null,y=a[f[1]]!=null;S&&!y?c[g]="percent":!S&&y?c[g]="value":h?c[g]=h[g]:S&&(c[g]="percent")})}var l=r;M.exports=l},"Oy/b":function(M,P,d){(function(A,b){M.exports=b()})(typeof self!="undefined"?self:this,function(){return function(w){var A={};function b(m){if(A[m])return A[m].exports;var v=A[m]={i:m,l:!1,exports:{}};return w[m].call(v.exports,v,v.exports,b),v.l=!0,v.exports}return b.m=w,b.c=A,b.d=function(m,v,p){b.o(m,v)||Object.defineProperty(m,v,{enumerable:!0,get:p})},b.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},b.t=function(m,v){if(v&1&&(m=b(m)),v&8)return m;if(v&4&&typeof m=="object"&&m&&m.__esModule)return m;var p=Object.create(null);if(b.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:m}),v&2&&typeof m!="string")for(var s in m)b.d(p,s,function(u){return m[u]}.bind(null,s));return p},b.n=function(m){var v=m&&m.__esModule?function(){return m.default}:function(){return m};return b.d(v,"a",v),v},b.o=function(m,v){return Object.prototype.hasOwnProperty.call(m,v)},b.p="",b(b.s=1)}([function(w,A,b){},function(w,A,b){"use strict";b.r(A);var m=b(0),v=function(){function dt(ce,ve,_e){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=ce,this.start=ve,this.end=_e}return dt.range=function(ve,_e){return _e?!ve||!ve.loc||!_e.loc||ve.loc.lexer!==_e.loc.lexer?null:new dt(ve.loc.lexer,ve.loc.start,_e.loc.end):ve&&ve.loc},dt}(),p=function(){function dt(ve,_e){this.text=void 0,this.loc=void 0,this.text=ve,this.loc=_e}var ce=dt.prototype;return ce.range=function(_e,ze){return new dt(ze,v.range(this,_e))},dt}(),s=function dt(ce,ve){this.position=void 0;var _e="KaTeX parse error: "+ce,ze,ut=ve&&ve.loc;if(ut&&ut.start<=ut.end){var Pt=ut.lexer.input;ze=ut.start;var ar=ut.end;ze===Pt.length?_e+=" at end of input: ":_e+=" at position "+(ze+1)+": ";var wr=Pt.slice(ze,ar).replace(/[^]/g,"$&\u0332"),jr;ze>15?jr="\u2026"+Pt.slice(ze-15,ze):jr=Pt.slice(0,ze);var hn;ar+15<Pt.length?hn=Pt.slice(ar,ar+15)+"\u2026":hn=Pt.slice(ar),_e+=jr+wr+hn}var Tn=new Error(_e);return Tn.name="ParseError",Tn.__proto__=dt.prototype,Tn.position=ze,Tn};s.prototype.__proto__=Error.prototype;var u=s,o=function(ce,ve){return ce.indexOf(ve)!==-1},e=function(ce,ve){return ce===void 0?ve:ce},r=/([A-Z])/g,i=function(ce){return ce.replace(r,"-$1").toLowerCase()},n={"&":"&",">":">","<":"<",'"':""","'":"'"},l=/[&><"']/g;function t(dt){return String(dt).replace(l,function(ce){return n[ce]})}var a=function dt(ce){return ce.type==="ordgroup"||ce.type==="color"?ce.body.length===1?dt(ce.body[0]):ce:ce.type==="font"?dt(ce.body):ce},c=function(ce){var ve=a(ce);return ve.type==="mathord"||ve.type==="textord"||ve.type==="atom"},h=function(ce){if(!ce)throw new Error("Expected non-null, but got "+String(ce));return ce},f=function(ce){var ve=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(ce);return ve!=null?ve[1]:"_relative"},g={contains:o,deflt:e,escape:t,hyphenate:i,getBaseElem:a,isCharacterBox:c,protocolFromUrl:f},S=function(){function dt(ve){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,ve=ve||{},this.displayMode=g.deflt(ve.displayMode,!1),this.output=g.deflt(ve.output,"htmlAndMathml"),this.leqno=g.deflt(ve.leqno,!1),this.fleqn=g.deflt(ve.fleqn,!1),this.throwOnError=g.deflt(ve.throwOnError,!0),this.errorColor=g.deflt(ve.errorColor,"#cc0000"),this.macros=ve.macros||{},this.minRuleThickness=Math.max(0,g.deflt(ve.minRuleThickness,0)),this.colorIsTextColor=g.deflt(ve.colorIsTextColor,!1),this.strict=g.deflt(ve.strict,"warn"),this.trust=g.deflt(ve.trust,!1),this.maxSize=Math.max(0,g.deflt(ve.maxSize,Infinity)),this.maxExpand=Math.max(0,g.deflt(ve.maxExpand,1e3))}var ce=dt.prototype;return ce.reportNonstrict=function(_e,ze,ut){var Pt=this.strict;if(typeof Pt=="function"&&(Pt=Pt(_e,ze,ut)),!Pt||Pt==="ignore")return;if(Pt===!0||Pt==="error")throw new u("LaTeX-incompatible input and strict mode is set to 'error': "+(ze+" ["+_e+"]"),ut);Pt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(ze+" ["+_e+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Pt+"': "+ze+" ["+_e+"]"))},ce.useStrictBehavior=function(_e,ze,ut){var Pt=this.strict;if(typeof Pt=="function")try{Pt=Pt(_e,ze,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': "+(ze+" ["+_e+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Pt+"': "+ze+" ["+_e+"]")),!1)},ce.isTrusted=function(_e){_e.url&&!_e.protocol&&(_e.protocol=g.protocolFromUrl(_e.url));var ze=typeof this.trust=="function"?this.trust(_e):this.trust;return Boolean(ze)},dt}(),y=function(){function dt(ve,_e,ze){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=ve,this.size=_e,this.cramped=ze}var ce=dt.prototype;return ce.sup=function(){return B[N[this.id]]},ce.sub=function(){return B[k[this.id]]},ce.fracNum=function(){return B[W[this.id]]},ce.fracDen=function(){return B[R[this.id]]},ce.cramp=function(){return B[j[this.id]]},ce.text=function(){return B[H[this.id]]},ce.isTight=function(){return this.size>=2},dt}(),E=0,C=1,T=2,x=3,_=4,I=5,L=6,D=7,B=[new y(E,0,!1),new y(C,0,!0),new y(T,1,!1),new y(x,1,!0),new y(_,2,!1),new y(I,2,!0),new y(L,3,!1),new y(D,3,!0)],N=[_,I,_,I,L,D,L,D],k=[I,I,I,I,D,D,D,D],W=[T,x,_,I,L,D,L,D],R=[x,x,I,I,D,D,D,D],j=[C,C,x,x,I,I,D,D],H=[E,C,T,x,T,x,T,x],K={DISPLAY:B[E],TEXT:B[T],SCRIPT:B[_],SCRIPTSCRIPT:B[L]},U=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Q(dt){for(var ce=0;ce<U.length;ce++)for(var ve=U[ce],_e=0;_e<ve.blocks.length;_e++){var ze=ve.blocks[_e];if(dt>=ze[0]&&dt<=ze[1])return ve.name}return null}var V=[];U.forEach(function(dt){return dt.blocks.forEach(function(ce){return V.push.apply(V,ce)})});function J(dt){for(var ce=0;ce<V.length;ce+=2)if(dt>=V[ce]&&dt<=V[ce+1])return!0;return!1}var ae=80,se=function(ce,ve){return"M95,"+(622+ce+ve)+`
|
|
|
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`+ce/2.075+" -"+ce+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+ce)+`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+ce)+" "+ve+"h400000v"+(40+ce)+"h-400000z"},$=function(ce,ve){return"M263,"+(601+ce+ve)+`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`+ce/2.084+" -"+ce+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+ce)+`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+ce)+" "+ve+"h400000v"+(40+ce)+"h-400000z"},ge=function(ce,ve){return"M983 "+(10+ce+ve)+`
|
|
|
l`+ce/3.13+" -"+ce+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+ce)+`
|
|
|
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+ce)+" "+ve+"h400000v"+(40+ce)+"h-400000z"},he=function(ce,ve){return"M424,"+(2398+ce+ve)+`
|
|
|
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`+ce/4.223+" -"+ce+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+ce)+`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+ce)+" "+ve+`
|
|
|
h400000v`+(40+ce)+"h-400000z"},Ie=function(ce,ve){return"M473,"+(2713+ce+ve)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+ce/5.298+" -"+ce+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+ce)+`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+ce)+" "+ve+"h400000v"+(40+ce)+"H1017.7z"},Se=function(ce,ve,_e){var ze=_e-54-ve-ce;return"M702 "+(ce+ve)+"H400000"+(40+ce)+`
|
|
|
H742v`+ze+`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 `+ve+"H400000v"+(40+ce)+"H742z"},Le=function(ce,ve,_e){ve=1e3*ve;var ze="";switch(ce){case"sqrtMain":ze=se(ve,ae);break;case"sqrtSize1":ze=$(ve,ae);break;case"sqrtSize2":ze=ge(ve,ae);break;case"sqrtSize3":ze=he(ve,ae);break;case"sqrtSize4":ze=Ie(ve,ae);break;case"sqrtTall":ze=Se(ve,ae,_e)}return ze},He={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`},G=function(){function dt(ve){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=ve,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var ce=dt.prototype;return ce.hasClass=function(_e){return g.contains(this.classes,_e)},ce.toNode=function(){for(var _e=document.createDocumentFragment(),ze=0;ze<this.children.length;ze++)_e.appendChild(this.children[ze].toNode());return _e},ce.toMarkup=function(){for(var _e="",ze=0;ze<this.children.length;ze++)_e+=this.children[ze].toMarkup();return _e},ce.toText=function(){var _e=function(ut){return ut.toText()};return this.children.map(_e).join("")},dt}(),pe=function(ce){return ce.filter(function(ve){return ve}).join(" ")},We=function(ce,ve,_e){if(this.classes=ce||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=_e||{},ve){ve.style.isTight()&&this.classes.push("mtight");var ze=ve.getColor();ze&&(this.style.color=ze)}},te=function(ce){var ve=document.createElement(ce);ve.className=pe(this.classes);for(var _e in this.style)this.style.hasOwnProperty(_e)&&(ve.style[_e]=this.style[_e]);for(var ze in this.attributes)this.attributes.hasOwnProperty(ze)&&ve.setAttribute(ze,this.attributes[ze]);for(var ut=0;ut<this.children.length;ut++)ve.appendChild(this.children[ut].toNode());return ve},X=function(ce){var ve="<"+ce;this.classes.length&&(ve+=' class="'+g.escape(pe(this.classes))+'"');var _e="";for(var ze in this.style)this.style.hasOwnProperty(ze)&&(_e+=g.hyphenate(ze)+":"+this.style[ze]+";");_e&&(ve+=' style="'+g.escape(_e)+'"');for(var ut in this.attributes)this.attributes.hasOwnProperty(ut)&&(ve+=" "+ut+'="'+g.escape(this.attributes[ut])+'"');ve+=">";for(var Pt=0;Pt<this.children.length;Pt++)ve+=this.children[Pt].toMarkup();return ve+="</"+ce+">",ve},z=function(){function dt(ve,_e,ze,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,We.call(this,ve,ze,ut),this.children=_e||[]}var ce=dt.prototype;return ce.setAttribute=function(_e,ze){this.attributes[_e]=ze},ce.hasClass=function(_e){return g.contains(this.classes,_e)},ce.toNode=function(){return te.call(this,"span")},ce.toMarkup=function(){return X.call(this,"span")},dt}(),Z=function(){function dt(ve,_e,ze,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,We.call(this,_e,ut),this.children=ze||[],this.setAttribute("href",ve)}var ce=dt.prototype;return ce.setAttribute=function(_e,ze){this.attributes[_e]=ze},ce.hasClass=function(_e){return g.contains(this.classes,_e)},ce.toNode=function(){return te.call(this,"a")},ce.toMarkup=function(){return X.call(this,"a")},dt}(),be=function(){function dt(ve,_e,ze){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=_e,this.src=ve,this.classes=["mord"],this.style=ze}var ce=dt.prototype;return ce.hasClass=function(_e){return g.contains(this.classes,_e)},ce.toNode=function(){var _e=document.createElement("img");_e.src=this.src,_e.alt=this.alt,_e.className="mord";for(var ze in this.style)this.style.hasOwnProperty(ze)&&(_e.style[ze]=this.style[ze]);return _e},ce.toMarkup=function(){var _e="<img src='"+this.src+" 'alt='"+this.alt+"' ",ze="";for(var ut in this.style)this.style.hasOwnProperty(ut)&&(ze+=g.hyphenate(ut)+":"+this.style[ut]+";");return ze&&(_e+=' style="'+g.escape(ze)+'"'),_e+="'/>",_e},dt}(),ne={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ae=function(){function dt(ve,_e,ze,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=ve,this.height=_e||0,this.depth=ze||0,this.italic=ut||0,this.skew=Pt||0,this.width=ar||0,this.classes=wr||[],this.style=jr||{},this.maxFontSize=0;var hn=Q(this.text.charCodeAt(0));hn&&this.classes.push(hn+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ne[this.text])}var ce=dt.prototype;return ce.hasClass=function(_e){return g.contains(this.classes,_e)},ce.toNode=function(){var _e=document.createTextNode(this.text),ze=null;this.italic>0&&(ze=document.createElement("span"),ze.style.marginRight=this.italic+"em"),this.classes.length>0&&(ze=ze||document.createElement("span"),ze.className=pe(this.classes));for(var ut in this.style)this.style.hasOwnProperty(ut)&&(ze=ze||document.createElement("span"),ze.style[ut]=this.style[ut]);return ze?(ze.appendChild(_e),ze):_e},ce.toMarkup=function(){var _e=!1,ze="<span";this.classes.length&&(_e=!0,ze+=' class="',ze+=g.escape(pe(this.classes)),ze+='"');var ut="";this.italic>0&&(ut+="margin-right:"+this.italic+"em;");for(var Pt in this.style)this.style.hasOwnProperty(Pt)&&(ut+=g.hyphenate(Pt)+":"+this.style[Pt]+";");ut&&(_e=!0,ze+=' style="'+g.escape(ut)+'"');var ar=g.escape(this.text);return _e?(ze+=">",ze+=ar,ze+="</span>",ze):ar},dt}(),Ne=function(){function dt(ve,_e){this.children=void 0,this.attributes=void 0,this.children=ve||[],this.attributes=_e||{}}var ce=dt.prototype;return ce.toNode=function(){var _e="http://www.w3.org/2000/svg",ze=document.createElementNS(_e,"svg");for(var ut in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ut)&&ze.setAttribute(ut,this.attributes[ut]);for(var Pt=0;Pt<this.children.length;Pt++)ze.appendChild(this.children[Pt].toNode());return ze},ce.toMarkup=function(){var _e="<svg";for(var ze in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ze)&&(_e+=" "+ze+"='"+this.attributes[ze]+"'");_e+=">";for(var ut=0;ut<this.children.length;ut++)_e+=this.children[ut].toMarkup();return _e+="</svg>",_e},dt}(),oe=function(){function dt(ve,_e){this.pathName=void 0,this.alternate=void 0,this.pathName=ve,this.alternate=_e}var ce=dt.prototype;return ce.toNode=function(){var _e="http://www.w3.org/2000/svg",ze=document.createElementNS(_e,"path");return this.alternate?ze.setAttribute("d",this.alternate):ze.setAttribute("d",He[this.pathName]),ze},ce.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+He[this.pathName]+"'/>"},dt}(),de=function(){function dt(ve){this.attributes=void 0,this.attributes=ve||{}}var ce=dt.prototype;return ce.toNode=function(){var _e="http://www.w3.org/2000/svg",ze=document.createElementNS(_e,"line");for(var ut in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ut)&&ze.setAttribute(ut,this.attributes[ut]);return ze},ce.toMarkup=function(){var _e="<line";for(var ze in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ze)&&(_e+=" "+ze+"='"+this.attributes[ze]+"'");return _e+="/>",_e},dt}();function xe(dt){if(dt instanceof Ae)return dt;throw new Error("Expected symbolNode but got "+String(dt)+".")}function Pe(dt){if(dt instanceof z)return dt;throw new Error("Expected span<HtmlDomNode> but got "+String(dt)+".")}var tt={"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]}},Je={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Oe={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function pt(dt,ce){tt[dt]=ce}function Qe(dt,ce,ve){if(!tt[ce])throw new Error("Font metrics not found for font: "+ce+".");var _e=dt.charCodeAt(0),ze=tt[ce][_e];if(!ze&&dt[0]in Oe&&(_e=Oe[dt[0]].charCodeAt(0),ze=tt[ce][_e]),!ze&&ve==="text"&&(J(_e)&&(ze=tt[ce][77])),ze)return{depth:ze[0],height:ze[1],italic:ze[2],skew:ze[3],width:ze[4]}}var nt={};function bt(dt){var ce;if(dt>=5?ce=0:dt>=3?ce=1:ce=2,!nt[ce]){var ve=nt[ce]={cssEmPerMu:Je.quad[ce]/18};for(var _e in Je)Je.hasOwnProperty(_e)&&(ve[_e]=Je[_e][ce])}return nt[ce]}var Tt={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},Nt={math:{},text:{}},Ge=Nt;function ie(dt,ce,ve,_e,ze,ut){Nt[dt][ze]={font:ce,group:ve,replace:_e},ut&&_e&&(Nt[dt][_e]=Nt[dt][ze])}var Y="math",we="text",Ce="main",le="ams",ot="accent-token",wt="bin",rt="close",It="inner",Gt="mathord",lr="op-token",pr="open",Rr="punct",xt="rel",Ot="spacing",At="textord";ie(Y,Ce,xt,"\u2261","\\equiv",!0),ie(Y,Ce,xt,"\u227A","\\prec",!0),ie(Y,Ce,xt,"\u227B","\\succ",!0),ie(Y,Ce,xt,"\u223C","\\sim",!0),ie(Y,Ce,xt,"\u22A5","\\perp"),ie(Y,Ce,xt,"\u2AAF","\\preceq",!0),ie(Y,Ce,xt,"\u2AB0","\\succeq",!0),ie(Y,Ce,xt,"\u2243","\\simeq",!0),ie(Y,Ce,xt,"\u2223","\\mid",!0),ie(Y,Ce,xt,"\u226A","\\ll",!0),ie(Y,Ce,xt,"\u226B","\\gg",!0),ie(Y,Ce,xt,"\u224D","\\asymp",!0),ie(Y,Ce,xt,"\u2225","\\parallel"),ie(Y,Ce,xt,"\u22C8","\\bowtie",!0),ie(Y,Ce,xt,"\u2323","\\smile",!0),ie(Y,Ce,xt,"\u2291","\\sqsubseteq",!0),ie(Y,Ce,xt,"\u2292","\\sqsupseteq",!0),ie(Y,Ce,xt,"\u2250","\\doteq",!0),ie(Y,Ce,xt,"\u2322","\\frown",!0),ie(Y,Ce,xt,"\u220B","\\ni",!0),ie(Y,Ce,xt,"\u221D","\\propto",!0),ie(Y,Ce,xt,"\u22A2","\\vdash",!0),ie(Y,Ce,xt,"\u22A3","\\dashv",!0),ie(Y,Ce,xt,"\u220B","\\owns"),ie(Y,Ce,Rr,".","\\ldotp"),ie(Y,Ce,Rr,"\u22C5","\\cdotp"),ie(Y,Ce,At,"#","\\#"),ie(we,Ce,At,"#","\\#"),ie(Y,Ce,At,"&","\\&"),ie(we,Ce,At,"&","\\&"),ie(Y,Ce,At,"\u2135","\\aleph",!0),ie(Y,Ce,At,"\u2200","\\forall",!0),ie(Y,Ce,At,"\u210F","\\hbar",!0),ie(Y,Ce,At,"\u2203","\\exists",!0),ie(Y,Ce,At,"\u2207","\\nabla",!0),ie(Y,Ce,At,"\u266D","\\flat",!0),ie(Y,Ce,At,"\u2113","\\ell",!0),ie(Y,Ce,At,"\u266E","\\natural",!0),ie(Y,Ce,At,"\u2663","\\clubsuit",!0),ie(Y,Ce,At,"\u2118","\\wp",!0),ie(Y,Ce,At,"\u266F","\\sharp",!0),ie(Y,Ce,At,"\u2662","\\diamondsuit",!0),ie(Y,Ce,At,"\u211C","\\Re",!0),ie(Y,Ce,At,"\u2661","\\heartsuit",!0),ie(Y,Ce,At,"\u2111","\\Im",!0),ie(Y,Ce,At,"\u2660","\\spadesuit",!0),ie(we,Ce,At,"\xA7","\\S",!0),ie(we,Ce,At,"\xB6","\\P",!0),ie(Y,Ce,At,"\u2020","\\dag"),ie(we,Ce,At,"\u2020","\\dag"),ie(we,Ce,At,"\u2020","\\textdagger"),ie(Y,Ce,At,"\u2021","\\ddag"),ie(we,Ce,At,"\u2021","\\ddag"),ie(we,Ce,At,"\u2021","\\textdaggerdbl"),ie(Y,Ce,rt,"\u23B1","\\rmoustache",!0),ie(Y,Ce,pr,"\u23B0","\\lmoustache",!0),ie(Y,Ce,rt,"\u27EF","\\rgroup",!0),ie(Y,Ce,pr,"\u27EE","\\lgroup",!0),ie(Y,Ce,wt,"\u2213","\\mp",!0),ie(Y,Ce,wt,"\u2296","\\ominus",!0),ie(Y,Ce,wt,"\u228E","\\uplus",!0),ie(Y,Ce,wt,"\u2293","\\sqcap",!0),ie(Y,Ce,wt,"\u2217","\\ast"),ie(Y,Ce,wt,"\u2294","\\sqcup",!0),ie(Y,Ce,wt,"\u25EF","\\bigcirc"),ie(Y,Ce,wt,"\u2219","\\bullet"),ie(Y,Ce,wt,"\u2021","\\ddagger"),ie(Y,Ce,wt,"\u2240","\\wr",!0),ie(Y,Ce,wt,"\u2A3F","\\amalg"),ie(Y,Ce,wt,"&","\\And"),ie(Y,Ce,xt,"\u27F5","\\longleftarrow",!0),ie(Y,Ce,xt,"\u21D0","\\Leftarrow",!0),ie(Y,Ce,xt,"\u27F8","\\Longleftarrow",!0),ie(Y,Ce,xt,"\u27F6","\\longrightarrow",!0),ie(Y,Ce,xt,"\u21D2","\\Rightarrow",!0),ie(Y,Ce,xt,"\u27F9","\\Longrightarrow",!0),ie(Y,Ce,xt,"\u2194","\\leftrightarrow",!0),ie(Y,Ce,xt,"\u27F7","\\longleftrightarrow",!0),ie(Y,Ce,xt,"\u21D4","\\Leftrightarrow",!0),ie(Y,Ce,xt,"\u27FA","\\Longleftrightarrow",!0),ie(Y,Ce,xt,"\u21A6","\\mapsto",!0),ie(Y,Ce,xt,"\u27FC","\\longmapsto",!0),ie(Y,Ce,xt,"\u2197","\\nearrow",!0),ie(Y,Ce,xt,"\u21A9","\\hookleftarrow",!0),ie(Y,Ce,xt,"\u21AA","\\hookrightarrow",!0),ie(Y,Ce,xt,"\u2198","\\searrow",!0),ie(Y,Ce,xt,"\u21BC","\\leftharpoonup",!0),ie(Y,Ce,xt,"\u21C0","\\rightharpoonup",!0),ie(Y,Ce,xt,"\u2199","\\swarrow",!0),ie(Y,Ce,xt,"\u21BD","\\leftharpoondown",!0),ie(Y,Ce,xt,"\u21C1","\\rightharpoondown",!0),ie(Y,Ce,xt,"\u2196","\\nwarrow",!0),ie(Y,Ce,xt,"\u21CC","\\rightleftharpoons",!0),ie(Y,le,xt,"\u226E","\\nless",!0),ie(Y,le,xt,"\uE010","\\@nleqslant"),ie(Y,le,xt,"\uE011","\\@nleqq"),ie(Y,le,xt,"\u2A87","\\lneq",!0),ie(Y,le,xt,"\u2268","\\lneqq",!0),ie(Y,le,xt,"\uE00C","\\@lvertneqq"),ie(Y,le,xt,"\u22E6","\\lnsim",!0),ie(Y,le,xt,"\u2A89","\\lnapprox",!0),ie(Y,le,xt,"\u2280","\\nprec",!0),ie(Y,le,xt,"\u22E0","\\npreceq",!0),ie(Y,le,xt,"\u22E8","\\precnsim",!0),ie(Y,le,xt,"\u2AB9","\\precnapprox",!0),ie(Y,le,xt,"\u2241","\\nsim",!0),ie(Y,le,xt,"\uE006","\\@nshortmid"),ie(Y,le,xt,"\u2224","\\nmid",!0),ie(Y,le,xt,"\u22AC","\\nvdash",!0),ie(Y,le,xt,"\u22AD","\\nvDash",!0),ie(Y,le,xt,"\u22EA","\\ntriangleleft"),ie(Y,le,xt,"\u22EC","\\ntrianglelefteq",!0),ie(Y,le,xt,"\u228A","\\subsetneq",!0),ie(Y,le,xt,"\uE01A","\\@varsubsetneq"),ie(Y,le,xt,"\u2ACB","\\subsetneqq",!0),ie(Y,le,xt,"\uE017","\\@varsubsetneqq"),ie(Y,le,xt,"\u226F","\\ngtr",!0),ie(Y,le,xt,"\uE00F","\\@ngeqslant"),ie(Y,le,xt,"\uE00E","\\@ngeqq"),ie(Y,le,xt,"\u2A88","\\gneq",!0),ie(Y,le,xt,"\u2269","\\gneqq",!0),ie(Y,le,xt,"\uE00D","\\@gvertneqq"),ie(Y,le,xt,"\u22E7","\\gnsim",!0),ie(Y,le,xt,"\u2A8A","\\gnapprox",!0),ie(Y,le,xt,"\u2281","\\nsucc",!0),ie(Y,le,xt,"\u22E1","\\nsucceq",!0),ie(Y,le,xt,"\u22E9","\\succnsim",!0),ie(Y,le,xt,"\u2ABA","\\succnapprox",!0),ie(Y,le,xt,"\u2246","\\ncong",!0),ie(Y,le,xt,"\uE007","\\@nshortparallel"),ie(Y,le,xt,"\u2226","\\nparallel",!0),ie(Y,le,xt,"\u22AF","\\nVDash",!0),ie(Y,le,xt,"\u22EB","\\ntriangleright"),ie(Y,le,xt,"\u22ED","\\ntrianglerighteq",!0),ie(Y,le,xt,"\uE018","\\@nsupseteqq"),ie(Y,le,xt,"\u228B","\\supsetneq",!0),ie(Y,le,xt,"\uE01B","\\@varsupsetneq"),ie(Y,le,xt,"\u2ACC","\\supsetneqq",!0),ie(Y,le,xt,"\uE019","\\@varsupsetneqq"),ie(Y,le,xt,"\u22AE","\\nVdash",!0),ie(Y,le,xt,"\u2AB5","\\precneqq",!0),ie(Y,le,xt,"\u2AB6","\\succneqq",!0),ie(Y,le,xt,"\uE016","\\@nsubseteqq"),ie(Y,le,wt,"\u22B4","\\unlhd"),ie(Y,le,wt,"\u22B5","\\unrhd"),ie(Y,le,xt,"\u219A","\\nleftarrow",!0),ie(Y,le,xt,"\u219B","\\nrightarrow",!0),ie(Y,le,xt,"\u21CD","\\nLeftarrow",!0),ie(Y,le,xt,"\u21CF","\\nRightarrow",!0),ie(Y,le,xt,"\u21AE","\\nleftrightarrow",!0),ie(Y,le,xt,"\u21CE","\\nLeftrightarrow",!0),ie(Y,le,xt,"\u25B3","\\vartriangle"),ie(Y,le,At,"\u210F","\\hslash"),ie(Y,le,At,"\u25BD","\\triangledown"),ie(Y,le,At,"\u25CA","\\lozenge"),ie(Y,le,At,"\u24C8","\\circledS"),ie(Y,le,At,"\xAE","\\circledR"),ie(we,le,At,"\xAE","\\circledR"),ie(Y,le,At,"\u2221","\\measuredangle",!0),ie(Y,le,At,"\u2204","\\nexists"),ie(Y,le,At,"\u2127","\\mho"),ie(Y,le,At,"\u2132","\\Finv",!0),ie(Y,le,At,"\u2141","\\Game",!0),ie(Y,le,At,"\u2035","\\backprime"),ie(Y,le,At,"\u25B2","\\blacktriangle"),ie(Y,le,At,"\u25BC","\\blacktriangledown"),ie(Y,le,At,"\u25A0","\\blacksquare"),ie(Y,le,At,"\u29EB","\\blacklozenge"),ie(Y,le,At,"\u2605","\\bigstar"),ie(Y,le,At,"\u2222","\\sphericalangle",!0),ie(Y,le,At,"\u2201","\\complement",!0),ie(Y,le,At,"\xF0","\\eth",!0),ie(Y,le,At,"\u2571","\\diagup"),ie(Y,le,At,"\u2572","\\diagdown"),ie(Y,le,At,"\u25A1","\\square"),ie(Y,le,At,"\u25A1","\\Box"),ie(Y,le,At,"\u25CA","\\Diamond"),ie(Y,le,At,"\xA5","\\yen",!0),ie(we,le,At,"\xA5","\\yen",!0),ie(Y,le,At,"\u2713","\\checkmark",!0),ie(we,le,At,"\u2713","\\checkmark"),ie(Y,le,At,"\u2136","\\beth",!0),ie(Y,le,At,"\u2138","\\daleth",!0),ie(Y,le,At,"\u2137","\\gimel",!0),ie(Y,le,At,"\u03DD","\\digamma",!0),ie(Y,le,At,"\u03F0","\\varkappa"),ie(Y,le,pr,"\u250C","\\ulcorner",!0),ie(Y,le,rt,"\u2510","\\urcorner",!0),ie(Y,le,pr,"\u2514","\\llcorner",!0),ie(Y,le,rt,"\u2518","\\lrcorner",!0),ie(Y,le,xt,"\u2266","\\leqq",!0),ie(Y,le,xt,"\u2A7D","\\leqslant",!0),ie(Y,le,xt,"\u2A95","\\eqslantless",!0),ie(Y,le,xt,"\u2272","\\lesssim",!0),ie(Y,le,xt,"\u2A85","\\lessapprox",!0),ie(Y,le,xt,"\u224A","\\approxeq",!0),ie(Y,le,wt,"\u22D6","\\lessdot"),ie(Y,le,xt,"\u22D8","\\lll",!0),ie(Y,le,xt,"\u2276","\\lessgtr",!0),ie(Y,le,xt,"\u22DA","\\lesseqgtr",!0),ie(Y,le,xt,"\u2A8B","\\lesseqqgtr",!0),ie(Y,le,xt,"\u2251","\\doteqdot"),ie(Y,le,xt,"\u2253","\\risingdotseq",!0),ie(Y,le,xt,"\u2252","\\fallingdotseq",!0),ie(Y,le,xt,"\u223D","\\backsim",!0),ie(Y,le,xt,"\u22CD","\\backsimeq",!0),ie(Y,le,xt,"\u2AC5","\\subseteqq",!0),ie(Y,le,xt,"\u22D0","\\Subset",!0),ie(Y,le,xt,"\u228F","\\sqsubset",!0),ie(Y,le,xt,"\u227C","\\preccurlyeq",!0),ie(Y,le,xt,"\u22DE","\\curlyeqprec",!0),ie(Y,le,xt,"\u227E","\\precsim",!0),ie(Y,le,xt,"\u2AB7","\\precapprox",!0),ie(Y,le,xt,"\u22B2","\\vartriangleleft"),ie(Y,le,xt,"\u22B4","\\trianglelefteq"),ie(Y,le,xt,"\u22A8","\\vDash",!0),ie(Y,le,xt,"\u22AA","\\Vvdash",!0),ie(Y,le,xt,"\u2323","\\smallsmile"),ie(Y,le,xt,"\u2322","\\smallfrown"),ie(Y,le,xt,"\u224F","\\bumpeq",!0),ie(Y,le,xt,"\u224E","\\Bumpeq",!0),ie(Y,le,xt,"\u2267","\\geqq",!0),ie(Y,le,xt,"\u2A7E","\\geqslant",!0),ie(Y,le,xt,"\u2A96","\\eqslantgtr",!0),ie(Y,le,xt,"\u2273","\\gtrsim",!0),ie(Y,le,xt,"\u2A86","\\gtrapprox",!0),ie(Y,le,wt,"\u22D7","\\gtrdot"),ie(Y,le,xt,"\u22D9","\\ggg",!0),ie(Y,le,xt,"\u2277","\\gtrless",!0),ie(Y,le,xt,"\u22DB","\\gtreqless",!0),ie(Y,le,xt,"\u2A8C","\\gtreqqless",!0),ie(Y,le,xt,"\u2256","\\eqcirc",!0),ie(Y,le,xt,"\u2257","\\circeq",!0),ie(Y,le,xt,"\u225C","\\triangleq",!0),ie(Y,le,xt,"\u223C","\\thicksim"),ie(Y,le,xt,"\u2248","\\thickapprox"),ie(Y,le,xt,"\u2AC6","\\supseteqq",!0),ie(Y,le,xt,"\u22D1","\\Supset",!0),ie(Y,le,xt,"\u2290","\\sqsupset",!0),ie(Y,le,xt,"\u227D","\\succcurlyeq",!0),ie(Y,le,xt,"\u22DF","\\curlyeqsucc",!0),ie(Y,le,xt,"\u227F","\\succsim",!0),ie(Y,le,xt,"\u2AB8","\\succapprox",!0),ie(Y,le,xt,"\u22B3","\\vartriangleright"),ie(Y,le,xt,"\u22B5","\\trianglerighteq"),ie(Y,le,xt,"\u22A9","\\Vdash",!0),ie(Y,le,xt,"\u2223","\\shortmid"),ie(Y,le,xt,"\u2225","\\shortparallel"),ie(Y,le,xt,"\u226C","\\between",!0),ie(Y,le,xt,"\u22D4","\\pitchfork",!0),ie(Y,le,xt,"\u221D","\\varpropto"),ie(Y,le,xt,"\u25C0","\\blacktriangleleft"),ie(Y,le,xt,"\u2234","\\therefore",!0),ie(Y,le,xt,"\u220D","\\backepsilon"),ie(Y,le,xt,"\u25B6","\\blacktriangleright"),ie(Y,le,xt,"\u2235","\\because",!0),ie(Y,le,xt,"\u22D8","\\llless"),ie(Y,le,xt,"\u22D9","\\gggtr"),ie(Y,le,wt,"\u22B2","\\lhd"),ie(Y,le,wt,"\u22B3","\\rhd"),ie(Y,le,xt,"\u2242","\\eqsim",!0),ie(Y,Ce,xt,"\u22C8","\\Join"),ie(Y,le,xt,"\u2251","\\Doteq",!0),ie(Y,le,wt,"\u2214","\\dotplus",!0),ie(Y,le,wt,"\u2216","\\smallsetminus"),ie(Y,le,wt,"\u22D2","\\Cap",!0),ie(Y,le,wt,"\u22D3","\\Cup",!0),ie(Y,le,wt,"\u2A5E","\\doublebarwedge",!0),ie(Y,le,wt,"\u229F","\\boxminus",!0),ie(Y,le,wt,"\u229E","\\boxplus",!0),ie(Y,le,wt,"\u22C7","\\divideontimes",!0),ie(Y,le,wt,"\u22C9","\\ltimes",!0),ie(Y,le,wt,"\u22CA","\\rtimes",!0),ie(Y,le,wt,"\u22CB","\\leftthreetimes",!0),ie(Y,le,wt,"\u22CC","\\rightthreetimes",!0),ie(Y,le,wt,"\u22CF","\\curlywedge",!0),ie(Y,le,wt,"\u22CE","\\curlyvee",!0),ie(Y,le,wt,"\u229D","\\circleddash",!0),ie(Y,le,wt,"\u229B","\\circledast",!0),ie(Y,le,wt,"\u22C5","\\centerdot"),ie(Y,le,wt,"\u22BA","\\intercal",!0),ie(Y,le,wt,"\u22D2","\\doublecap"),ie(Y,le,wt,"\u22D3","\\doublecup"),ie(Y,le,wt,"\u22A0","\\boxtimes",!0),ie(Y,le,xt,"\u21E2","\\dashrightarrow",!0),ie(Y,le,xt,"\u21E0","\\dashleftarrow",!0),ie(Y,le,xt,"\u21C7","\\leftleftarrows",!0),ie(Y,le,xt,"\u21C6","\\leftrightarrows",!0),ie(Y,le,xt,"\u21DA","\\Lleftarrow",!0),ie(Y,le,xt,"\u219E","\\twoheadleftarrow",!0),ie(Y,le,xt,"\u21A2","\\leftarrowtail",!0),ie(Y,le,xt,"\u21AB","\\looparrowleft",!0),ie(Y,le,xt,"\u21CB","\\leftrightharpoons",!0),ie(Y,le,xt,"\u21B6","\\curvearrowleft",!0),ie(Y,le,xt,"\u21BA","\\circlearrowleft",!0),ie(Y,le,xt,"\u21B0","\\Lsh",!0),ie(Y,le,xt,"\u21C8","\\upuparrows",!0),ie(Y,le,xt,"\u21BF","\\upharpoonleft",!0),ie(Y,le,xt,"\u21C3","\\downharpoonleft",!0),ie(Y,le,xt,"\u22B8","\\multimap",!0),ie(Y,le,xt,"\u21AD","\\leftrightsquigarrow",!0),ie(Y,le,xt,"\u21C9","\\rightrightarrows",!0),ie(Y,le,xt,"\u21C4","\\rightleftarrows",!0),ie(Y,le,xt,"\u21A0","\\twoheadrightarrow",!0),ie(Y,le,xt,"\u21A3","\\rightarrowtail",!0),ie(Y,le,xt,"\u21AC","\\looparrowright",!0),ie(Y,le,xt,"\u21B7","\\curvearrowright",!0),ie(Y,le,xt,"\u21BB","\\circlearrowright",!0),ie(Y,le,xt,"\u21B1","\\Rsh",!0),ie(Y,le,xt,"\u21CA","\\downdownarrows",!0),ie(Y,le,xt,"\u21BE","\\upharpoonright",!0),ie(Y,le,xt,"\u21C2","\\downharpoonright",!0),ie(Y,le,xt,"\u21DD","\\rightsquigarrow",!0),ie(Y,le,xt,"\u21DD","\\leadsto"),ie(Y,le,xt,"\u21DB","\\Rrightarrow",!0),ie(Y,le,xt,"\u21BE","\\restriction"),ie(Y,Ce,At,"\u2018","`"),ie(Y,Ce,At,"$","\\$"),ie(we,Ce,At,"$","\\$"),ie(we,Ce,At,"$","\\textdollar"),ie(Y,Ce,At,"%","\\%"),ie(we,Ce,At,"%","\\%"),ie(Y,Ce,At,"_","\\_"),ie(we,Ce,At,"_","\\_"),ie(we,Ce,At,"_","\\textunderscore"),ie(Y,Ce,At,"\u2220","\\angle",!0),ie(Y,Ce,At,"\u221E","\\infty",!0),ie(Y,Ce,At,"\u2032","\\prime"),ie(Y,Ce,At,"\u25B3","\\triangle"),ie(Y,Ce,At,"\u0393","\\Gamma",!0),ie(Y,Ce,At,"\u0394","\\Delta",!0),ie(Y,Ce,At,"\u0398","\\Theta",!0),ie(Y,Ce,At,"\u039B","\\Lambda",!0),ie(Y,Ce,At,"\u039E","\\Xi",!0),ie(Y,Ce,At,"\u03A0","\\Pi",!0),ie(Y,Ce,At,"\u03A3","\\Sigma",!0),ie(Y,Ce,At,"\u03A5","\\Upsilon",!0),ie(Y,Ce,At,"\u03A6","\\Phi",!0),ie(Y,Ce,At,"\u03A8","\\Psi",!0),ie(Y,Ce,At,"\u03A9","\\Omega",!0),ie(Y,Ce,At,"A","\u0391"),ie(Y,Ce,At,"B","\u0392"),ie(Y,Ce,At,"E","\u0395"),ie(Y,Ce,At,"Z","\u0396"),ie(Y,Ce,At,"H","\u0397"),ie(Y,Ce,At,"I","\u0399"),ie(Y,Ce,At,"K","\u039A"),ie(Y,Ce,At,"M","\u039C"),ie(Y,Ce,At,"N","\u039D"),ie(Y,Ce,At,"O","\u039F"),ie(Y,Ce,At,"P","\u03A1"),ie(Y,Ce,At,"T","\u03A4"),ie(Y,Ce,At,"X","\u03A7"),ie(Y,Ce,At,"\xAC","\\neg",!0),ie(Y,Ce,At,"\xAC","\\lnot"),ie(Y,Ce,At,"\u22A4","\\top"),ie(Y,Ce,At,"\u22A5","\\bot"),ie(Y,Ce,At,"\u2205","\\emptyset"),ie(Y,le,At,"\u2205","\\varnothing"),ie(Y,Ce,Gt,"\u03B1","\\alpha",!0),ie(Y,Ce,Gt,"\u03B2","\\beta",!0),ie(Y,Ce,Gt,"\u03B3","\\gamma",!0),ie(Y,Ce,Gt,"\u03B4","\\delta",!0),ie(Y,Ce,Gt,"\u03F5","\\epsilon",!0),ie(Y,Ce,Gt,"\u03B6","\\zeta",!0),ie(Y,Ce,Gt,"\u03B7","\\eta",!0),ie(Y,Ce,Gt,"\u03B8","\\theta",!0),ie(Y,Ce,Gt,"\u03B9","\\iota",!0),ie(Y,Ce,Gt,"\u03BA","\\kappa",!0),ie(Y,Ce,Gt,"\u03BB","\\lambda",!0),ie(Y,Ce,Gt,"\u03BC","\\mu",!0),ie(Y,Ce,Gt,"\u03BD","\\nu",!0),ie(Y,Ce,Gt,"\u03BE","\\xi",!0),ie(Y,Ce,Gt,"\u03BF","\\omicron",!0),ie(Y,Ce,Gt,"\u03C0","\\pi",!0),ie(Y,Ce,Gt,"\u03C1","\\rho",!0),ie(Y,Ce,Gt,"\u03C3","\\sigma",!0),ie(Y,Ce,Gt,"\u03C4","\\tau",!0),ie(Y,Ce,Gt,"\u03C5","\\upsilon",!0),ie(Y,Ce,Gt,"\u03D5","\\phi",!0),ie(Y,Ce,Gt,"\u03C7","\\chi",!0),ie(Y,Ce,Gt,"\u03C8","\\psi",!0),ie(Y,Ce,Gt,"\u03C9","\\omega",!0),ie(Y,Ce,Gt,"\u03B5","\\varepsilon",!0),ie(Y,Ce,Gt,"\u03D1","\\vartheta",!0),ie(Y,Ce,Gt,"\u03D6","\\varpi",!0),ie(Y,Ce,Gt,"\u03F1","\\varrho",!0),ie(Y,Ce,Gt,"\u03C2","\\varsigma",!0),ie(Y,Ce,Gt,"\u03C6","\\varphi",!0),ie(Y,Ce,wt,"\u2217","*"),ie(Y,Ce,wt,"+","+"),ie(Y,Ce,wt,"\u2212","-"),ie(Y,Ce,wt,"\u22C5","\\cdot",!0),ie(Y,Ce,wt,"\u2218","\\circ"),ie(Y,Ce,wt,"\xF7","\\div",!0),ie(Y,Ce,wt,"\xB1","\\pm",!0),ie(Y,Ce,wt,"\xD7","\\times",!0),ie(Y,Ce,wt,"\u2229","\\cap",!0),ie(Y,Ce,wt,"\u222A","\\cup",!0),ie(Y,Ce,wt,"\u2216","\\setminus"),ie(Y,Ce,wt,"\u2227","\\land"),ie(Y,Ce,wt,"\u2228","\\lor"),ie(Y,Ce,wt,"\u2227","\\wedge",!0),ie(Y,Ce,wt,"\u2228","\\vee",!0),ie(Y,Ce,At,"\u221A","\\surd"),ie(Y,Ce,pr,"(","("),ie(Y,Ce,pr,"[","["),ie(Y,Ce,pr,"\u27E8","\\langle",!0),ie(Y,Ce,pr,"\u2223","\\lvert"),ie(Y,Ce,pr,"\u2225","\\lVert"),ie(Y,Ce,rt,")",")"),ie(Y,Ce,rt,"]","]"),ie(Y,Ce,rt,"?","?"),ie(Y,Ce,rt,"!","!"),ie(Y,Ce,rt,"\u27E9","\\rangle",!0),ie(Y,Ce,rt,"\u2223","\\rvert"),ie(Y,Ce,rt,"\u2225","\\rVert"),ie(Y,Ce,xt,"=","="),ie(Y,Ce,xt,"<","<"),ie(Y,Ce,xt,">",">"),ie(Y,Ce,xt,":",":"),ie(Y,Ce,xt,"\u2248","\\approx",!0),ie(Y,Ce,xt,"\u2245","\\cong",!0),ie(Y,Ce,xt,"\u2265","\\ge"),ie(Y,Ce,xt,"\u2265","\\geq",!0),ie(Y,Ce,xt,"\u2190","\\gets"),ie(Y,Ce,xt,">","\\gt"),ie(Y,Ce,xt,"\u2208","\\in",!0),ie(Y,Ce,xt,"\uE020","\\@not"),ie(Y,Ce,xt,"\u2282","\\subset",!0),ie(Y,Ce,xt,"\u2283","\\supset",!0),ie(Y,Ce,xt,"\u2286","\\subseteq",!0),ie(Y,Ce,xt,"\u2287","\\supseteq",!0),ie(Y,le,xt,"\u2288","\\nsubseteq",!0),ie(Y,le,xt,"\u2289","\\nsupseteq",!0),ie(Y,Ce,xt,"\u22A8","\\models"),ie(Y,Ce,xt,"\u2190","\\leftarrow",!0),ie(Y,Ce,xt,"\u2264","\\le"),ie(Y,Ce,xt,"\u2264","\\leq",!0),ie(Y,Ce,xt,"<","\\lt"),ie(Y,Ce,xt,"\u2192","\\rightarrow",!0),ie(Y,Ce,xt,"\u2192","\\to"),ie(Y,le,xt,"\u2271","\\ngeq",!0),ie(Y,le,xt,"\u2270","\\nleq",!0),ie(Y,Ce,Ot,"\xA0","\\ "),ie(Y,Ce,Ot,"\xA0","~"),ie(Y,Ce,Ot,"\xA0","\\space"),ie(Y,Ce,Ot,"\xA0","\\nobreakspace"),ie(we,Ce,Ot,"\xA0","\\ "),ie(we,Ce,Ot,"\xA0","~"),ie(we,Ce,Ot,"\xA0","\\space"),ie(we,Ce,Ot,"\xA0","\\nobreakspace"),ie(Y,Ce,Ot,null,"\\nobreak"),ie(Y,Ce,Ot,null,"\\allowbreak"),ie(Y,Ce,Rr,",",","),ie(Y,Ce,Rr,";",";"),ie(Y,le,wt,"\u22BC","\\barwedge",!0),ie(Y,le,wt,"\u22BB","\\veebar",!0),ie(Y,Ce,wt,"\u2299","\\odot",!0),ie(Y,Ce,wt,"\u2295","\\oplus",!0),ie(Y,Ce,wt,"\u2297","\\otimes",!0),ie(Y,Ce,At,"\u2202","\\partial",!0),ie(Y,Ce,wt,"\u2298","\\oslash",!0),ie(Y,le,wt,"\u229A","\\circledcirc",!0),ie(Y,le,wt,"\u22A1","\\boxdot",!0),ie(Y,Ce,wt,"\u25B3","\\bigtriangleup"),ie(Y,Ce,wt,"\u25BD","\\bigtriangledown"),ie(Y,Ce,wt,"\u2020","\\dagger"),ie(Y,Ce,wt,"\u22C4","\\diamond"),ie(Y,Ce,wt,"\u22C6","\\star"),ie(Y,Ce,wt,"\u25C3","\\triangleleft"),ie(Y,Ce,wt,"\u25B9","\\triangleright"),ie(Y,Ce,pr,"{","\\{"),ie(we,Ce,At,"{","\\{"),ie(we,Ce,At,"{","\\textbraceleft"),ie(Y,Ce,rt,"}","\\}"),ie(we,Ce,At,"}","\\}"),ie(we,Ce,At,"}","\\textbraceright"),ie(Y,Ce,pr,"{","\\lbrace"),ie(Y,Ce,rt,"}","\\rbrace"),ie(Y,Ce,pr,"[","\\lbrack"),ie(we,Ce,At,"[","\\lbrack"),ie(Y,Ce,rt,"]","\\rbrack"),ie(we,Ce,At,"]","\\rbrack"),ie(Y,Ce,pr,"(","\\lparen"),ie(Y,Ce,rt,")","\\rparen"),ie(we,Ce,At,"<","\\textless"),ie(we,Ce,At,">","\\textgreater"),ie(Y,Ce,pr,"\u230A","\\lfloor",!0),ie(Y,Ce,rt,"\u230B","\\rfloor",!0),ie(Y,Ce,pr,"\u2308","\\lceil",!0),ie(Y,Ce,rt,"\u2309","\\rceil",!0),ie(Y,Ce,At,"\\","\\backslash"),ie(Y,Ce,At,"\u2223","|"),ie(Y,Ce,At,"\u2223","\\vert"),ie(we,Ce,At,"|","\\textbar"),ie(Y,Ce,At,"\u2225","\\|"),ie(Y,Ce,At,"\u2225","\\Vert"),ie(we,Ce,At,"\u2225","\\textbardbl"),ie(we,Ce,At,"~","\\textasciitilde"),ie(we,Ce,At,"\\","\\textbackslash"),ie(we,Ce,At,"^","\\textasciicircum"),ie(Y,Ce,xt,"\u2191","\\uparrow",!0),ie(Y,Ce,xt,"\u21D1","\\Uparrow",!0),ie(Y,Ce,xt,"\u2193","\\downarrow",!0),ie(Y,Ce,xt,"\u21D3","\\Downarrow",!0),ie(Y,Ce,xt,"\u2195","\\updownarrow",!0),ie(Y,Ce,xt,"\u21D5","\\Updownarrow",!0),ie(Y,Ce,lr,"\u2210","\\coprod"),ie(Y,Ce,lr,"\u22C1","\\bigvee"),ie(Y,Ce,lr,"\u22C0","\\bigwedge"),ie(Y,Ce,lr,"\u2A04","\\biguplus"),ie(Y,Ce,lr,"\u22C2","\\bigcap"),ie(Y,Ce,lr,"\u22C3","\\bigcup"),ie(Y,Ce,lr,"\u222B","\\int"),ie(Y,Ce,lr,"\u222B","\\intop"),ie(Y,Ce,lr,"\u222C","\\iint"),ie(Y,Ce,lr,"\u222D","\\iiint"),ie(Y,Ce,lr,"\u220F","\\prod"),ie(Y,Ce,lr,"\u2211","\\sum"),ie(Y,Ce,lr,"\u2A02","\\bigotimes"),ie(Y,Ce,lr,"\u2A01","\\bigoplus"),ie(Y,Ce,lr,"\u2A00","\\bigodot"),ie(Y,Ce,lr,"\u222E","\\oint"),ie(Y,Ce,lr,"\u222F","\\oiint"),ie(Y,Ce,lr,"\u2230","\\oiiint"),ie(Y,Ce,lr,"\u2A06","\\bigsqcup"),ie(Y,Ce,lr,"\u222B","\\smallint"),ie(we,Ce,It,"\u2026","\\textellipsis"),ie(Y,Ce,It,"\u2026","\\mathellipsis"),ie(we,Ce,It,"\u2026","\\ldots",!0),ie(Y,Ce,It,"\u2026","\\ldots",!0),ie(Y,Ce,It,"\u22EF","\\@cdots",!0),ie(Y,Ce,It,"\u22F1","\\ddots",!0),ie(Y,Ce,At,"\u22EE","\\varvdots"),ie(Y,Ce,ot,"\u02CA","\\acute"),ie(Y,Ce,ot,"\u02CB","\\grave"),ie(Y,Ce,ot,"\xA8","\\ddot"),ie(Y,Ce,ot,"~","\\tilde"),ie(Y,Ce,ot,"\u02C9","\\bar"),ie(Y,Ce,ot,"\u02D8","\\breve"),ie(Y,Ce,ot,"\u02C7","\\check"),ie(Y,Ce,ot,"^","\\hat"),ie(Y,Ce,ot,"\u20D7","\\vec"),ie(Y,Ce,ot,"\u02D9","\\dot"),ie(Y,Ce,ot,"\u02DA","\\mathring"),ie(Y,Ce,Gt,"\u0131","\\imath",!0),ie(Y,Ce,Gt,"\u0237","\\jmath",!0),ie(we,Ce,At,"\u0131","\\i",!0),ie(we,Ce,At,"\u0237","\\j",!0),ie(we,Ce,At,"\xDF","\\ss",!0),ie(we,Ce,At,"\xE6","\\ae",!0),ie(we,Ce,At,"\xE6","\\ae",!0),ie(we,Ce,At,"\u0153","\\oe",!0),ie(we,Ce,At,"\xF8","\\o",!0),ie(we,Ce,At,"\xC6","\\AE",!0),ie(we,Ce,At,"\u0152","\\OE",!0),ie(we,Ce,At,"\xD8","\\O",!0),ie(we,Ce,ot,"\u02CA","\\'"),ie(we,Ce,ot,"\u02CB","\\`"),ie(we,Ce,ot,"\u02C6","\\^"),ie(we,Ce,ot,"\u02DC","\\~"),ie(we,Ce,ot,"\u02C9","\\="),ie(we,Ce,ot,"\u02D8","\\u"),ie(we,Ce,ot,"\u02D9","\\."),ie(we,Ce,ot,"\u02DA","\\r"),ie(we,Ce,ot,"\u02C7","\\v"),ie(we,Ce,ot,"\xA8",'\\"'),ie(we,Ce,ot,"\u02DD","\\H"),ie(we,Ce,ot,"\u25EF","\\textcircled");var Jt={"--":!0,"---":!0,"``":!0,"''":!0};ie(we,Ce,At,"\u2013","--"),ie(we,Ce,At,"\u2013","\\textendash"),ie(we,Ce,At,"\u2014","---"),ie(we,Ce,At,"\u2014","\\textemdash"),ie(we,Ce,At,"\u2018","`"),ie(we,Ce,At,"\u2018","\\textquoteleft"),ie(we,Ce,At,"\u2019","'"),ie(we,Ce,At,"\u2019","\\textquoteright"),ie(we,Ce,At,"\u201C","``"),ie(we,Ce,At,"\u201C","\\textquotedblleft"),ie(we,Ce,At,"\u201D","''"),ie(we,Ce,At,"\u201D","\\textquotedblright"),ie(Y,Ce,At,"\xB0","\\degree",!0),ie(we,Ce,At,"\xB0","\\degree"),ie(we,Ce,At,"\xB0","\\textdegree",!0),ie(Y,Ce,Gt,"\xA3","\\pounds"),ie(Y,Ce,Gt,"\xA3","\\mathsterling",!0),ie(we,Ce,Gt,"\xA3","\\pounds"),ie(we,Ce,Gt,"\xA3","\\textsterling",!0),ie(Y,le,At,"\u2720","\\maltese"),ie(we,le,At,"\u2720","\\maltese"),ie(we,Ce,Ot,"\xA0","\\ "),ie(we,Ce,Ot,"\xA0"," "),ie(we,Ce,Ot,"\xA0","~");for(var br='0123456789/@."',Lr=0;Lr<br.length;Lr++){var Zr=br.charAt(Lr);ie(Y,Ce,At,Zr,Zr)}for(var In='0123456789!@*()-=+[]<>|";:?/.,',Gr=0;Gr<In.length;Gr++){var Tr=In.charAt(Gr);ie(we,Ce,At,Tr,Tr)}for(var fr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",vt=0;vt<fr.length;vt++){var ft=fr.charAt(vt);ie(Y,Ce,Gt,ft,ft),ie(we,Ce,At,ft,ft)}ie(Y,le,At,"C","\u2102"),ie(we,le,At,"C","\u2102"),ie(Y,le,At,"H","\u210D"),ie(we,le,At,"H","\u210D"),ie(Y,le,At,"N","\u2115"),ie(we,le,At,"N","\u2115"),ie(Y,le,At,"P","\u2119"),ie(we,le,At,"P","\u2119"),ie(Y,le,At,"Q","\u211A"),ie(we,le,At,"Q","\u211A"),ie(Y,le,At,"R","\u211D"),ie(we,le,At,"R","\u211D"),ie(Y,le,At,"Z","\u2124"),ie(we,le,At,"Z","\u2124"),ie(Y,Ce,Gt,"h","\u210E"),ie(we,Ce,Gt,"h","\u210E");for(var De="",je=0;je<fr.length;je++){var Ye=fr.charAt(je);De=String.fromCharCode(55349,56320+je),ie(Y,Ce,Gt,Ye,De),ie(we,Ce,At,Ye,De),De=String.fromCharCode(55349,56372+je),ie(Y,Ce,Gt,Ye,De),ie(we,Ce,At,Ye,De),De=String.fromCharCode(55349,56424+je),ie(Y,Ce,Gt,Ye,De),ie(we,Ce,At,Ye,De),De=String.fromCharCode(55349,56580+je),ie(Y,Ce,Gt,Ye,De),ie(we,Ce,At,Ye,De),De=String.fromCharCode(55349,56736+je),ie(Y,Ce,Gt,Ye,De),ie(we,Ce,At,Ye,De),De=String.fromCharCode(55349,56788+je),ie(Y,Ce,Gt,Ye,De),ie(we,Ce,At,Ye,De),De=String.fromCharCode(55349,56840+je),ie(Y,Ce,Gt,Ye,De),ie(we,Ce,At,Ye,De),De=String.fromCharCode(55349,56944+je),ie(Y,Ce,Gt,Ye,De),ie(we,Ce,At,Ye,De),je<26&&(De=String.fromCharCode(55349,56632+je),ie(Y,Ce,Gt,Ye,De),ie(we,Ce,At,Ye,De),De=String.fromCharCode(55349,56476+je),ie(Y,Ce,Gt,Ye,De),ie(we,Ce,At,Ye,De))}De=String.fromCharCode(55349,56668),ie(Y,Ce,Gt,"k",De),ie(we,Ce,At,"k",De);for(var st=0;st<10;st++){var kt=st.toString();De=String.fromCharCode(55349,57294+st),ie(Y,Ce,Gt,kt,De),ie(we,Ce,At,kt,De),De=String.fromCharCode(55349,57314+st),ie(Y,Ce,Gt,kt,De),ie(we,Ce,At,kt,De),De=String.fromCharCode(55349,57324+st),ie(Y,Ce,Gt,kt,De),ie(we,Ce,At,kt,De),De=String.fromCharCode(55349,57334+st),ie(Y,Ce,Gt,kt,De),ie(we,Ce,At,kt,De)}for(var $t="\xC7\xD0\xDE\xE7\xFE",Nr=0;Nr<$t.length;Nr++){var yn=$t.charAt(Nr);ie(Y,Ce,Gt,yn,yn),ie(we,Ce,At,yn,yn)}ie(we,Ce,At,"\xF0","\xF0"),ie(we,Ce,At,"\u2013","\u2013"),ie(we,Ce,At,"\u2014","\u2014"),ie(we,Ce,At,"\u2018","\u2018"),ie(we,Ce,At,"\u2019","\u2019"),ie(we,Ce,At,"\u201C","\u201C"),ie(we,Ce,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(ce,ve){var _e=ce.charCodeAt(0),ze=ce.charCodeAt(1),ut=(_e-55296)*1024+(ze-56320)+65536,Pt=ve==="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 u("Unsupported character: "+ce)}},Mt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Zt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],kr=function(ce,ve){return ve.size<2?ce:Mt[ce-1][ve.size-1]},Hr=function(){function dt(ve){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=ve.style,this.color=ve.color,this.size=ve.size||dt.BASESIZE,this.textSize=ve.textSize||this.size,this.phantom=!!ve.phantom,this.font=ve.font||"",this.fontFamily=ve.fontFamily||"",this.fontWeight=ve.fontWeight||"",this.fontShape=ve.fontShape||"",this.sizeMultiplier=Zt[this.size-1],this.maxSize=ve.maxSize,this.minRuleThickness=ve.minRuleThickness,this._fontMetrics=void 0}var ce=dt.prototype;return ce.extend=function(_e){var ze={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 _e)_e.hasOwnProperty(ut)&&(ze[ut]=_e[ut]);return new dt(ze)},ce.havingStyle=function(_e){return this.style===_e?this:this.extend({style:_e,size:kr(this.textSize,_e)})},ce.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},ce.havingSize=function(_e){return this.size===_e&&this.textSize===_e?this:this.extend({style:this.style.text(),size:_e,textSize:_e,sizeMultiplier:Zt[_e-1]})},ce.havingBaseStyle=function(_e){_e=_e||this.style.text();var ze=kr(dt.BASESIZE,_e);return this.size===ze&&this.textSize===dt.BASESIZE&&this.style===_e?this:this.extend({style:_e,size:ze})},ce.havingBaseSizing=function(){var _e;switch(this.style.id){case 4:case 5:_e=3;break;case 6:case 7:_e=1;break;default:_e=6}return this.extend({style:this.style.text(),size:_e})},ce.withColor=function(_e){return this.extend({color:_e})},ce.withPhantom=function(){return this.extend({phantom:!0})},ce.withFont=function(_e){return this.extend({font:_e})},ce.withTextFontFamily=function(_e){return this.extend({fontFamily:_e,font:""})},ce.withTextFontWeight=function(_e){return this.extend({fontWeight:_e,font:""})},ce.withTextFontShape=function(_e){return this.extend({fontShape:_e,font:""})},ce.sizingClasses=function(_e){return _e.size!==this.size?["sizing","reset-size"+_e.size,"size"+this.size]:[]},ce.baseSizingClasses=function(){return this.size!==dt.BASESIZE?["sizing","reset-size"+this.size,"size"+dt.BASESIZE]:[]},ce.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=bt(this.size)),this._fontMetrics},ce.getColor=function(){return this.phantom?"transparent":this.color},dt}();Hr.BASESIZE=6;var $r=Hr,Bt={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(ce){return typeof ce!="string"&&(ce=ce.unit),ce in Bt||ce in cr||ce==="ex"},Br=function(ce,ve){var _e;if(ce.unit in Bt)_e=Bt[ce.unit]/ve.fontMetrics().ptPerEm/ve.sizeMultiplier;else if(ce.unit==="mu")_e=ve.fontMetrics().cssEmPerMu;else{var ze;if(ve.style.isTight()?ze=ve.havingStyle(ve.style.text()):ze=ve,ce.unit==="ex")_e=ze.fontMetrics().xHeight;else if(ce.unit==="em")_e=ze.fontMetrics().quad;else throw new u("Invalid unit: '"+ce.unit+"'");ze!==ve&&(_e*=ze.sizeMultiplier/ve.sizeMultiplier)}return Math.min(ce.number*_e,ve.maxSize)},zr=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],An=function(ce,ve,_e){return Ge[_e][ce]&&Ge[_e][ce].replace&&(ce=Ge[_e][ce].replace),{value:ce,metrics:Qe(ce,ve,_e)}},bn=function(ce,ve,_e,ze,ut){var Pt=An(ce,ve,_e),ar=Pt.metrics;ce=Pt.value;var wr;if(ar){var jr=ar.italic;(_e==="text"||ze&&ze.font==="mathit")&&(jr=0),wr=new Ae(ce,ar.height,ar.depth,jr,ar.skew,ar.width,ut)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+ce+"' in style '"+ve+"' and mode '"+_e+"'")),wr=new Ae(ce,0,0,0,0,0,ut);if(ze){wr.maxFontSize=ze.sizeMultiplier,ze.style.isTight()&&wr.classes.push("mtight");var hn=ze.getColor();hn&&(wr.style.color=hn)}return wr},Sn=function(ce,ve,_e,ze){return ze===void 0&&(ze=[]),_e.font==="boldsymbol"&&An(ce,"Main-Bold",ve).metrics?bn(ce,"Main-Bold",ve,_e,ze.concat(["mathbf"])):ce==="\\"||Ge[ve][ce].font==="main"?bn(ce,"Main-Regular",ve,_e,ze):bn(ce,"AMS-Regular",ve,_e,ze.concat(["amsrm"]))},Mn=function(ce,ve,_e,ze){return/[0-9]/.test(ce.charAt(0))||g.contains(zr,ce)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ei=function(ce,ve,_e,ze){return g.contains(zr,ce)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(ce.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Zn=function(ce,ve,_e,ze){return An(ce,"Math-BoldItalic",ve).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ai=function(ce,ve,_e){var ze=ce.mode,ut=ce.text,Pt=["mord"],ar=ze==="math"||ze==="text"&&ve.font,wr=ar?ve.font:ve.fontFamily;if(ut.charCodeAt(0)===55349){var jr=St(ut,ze),hn=jr[0],Tn=jr[1];return bn(ut,hn,ze,ve,Pt.concat(Tn))}else if(wr){var ti,Ai;if(wr==="boldsymbol"||wr==="mathnormal"){var Ti=wr==="boldsymbol"?Zn(ut,ze,ve,Pt):ei(ut,ze,ve,Pt);ti=Ti.fontName,Ai=[Ti.fontClass]}else g.contains(zr,ut)?(ti="Main-Italic",Ai=["mathit"]):ar?(ti=ir[wr].fontName,Ai=[wr]):(ti=tr(wr,ve.fontWeight,ve.fontShape),Ai=[wr,ve.fontWeight,ve.fontShape]);if(An(ut,ti,ze).metrics)return bn(ut,ti,ze,ve,Pt.concat(Ai));if(Jt.hasOwnProperty(ut)&&ti.substr(0,10)==="Typewriter"){for(var zi=[],na=0;na<ut.length;na++)zi.push(bn(ut[na],ti,ze,ve,Pt.concat(Ai)));return qe(zi)}}if(_e==="mathord"){var Ua=Mn(ut,ze,ve,Pt);return bn(ut,Ua.fontName,ze,ve,Pt.concat([Ua.fontClass]))}else if(_e==="textord"){var Ja=Ge[ze][ut]&&Ge[ze][ut].font;if(Ja==="ams"){var to=tr("amsrm",ve.fontWeight,ve.fontShape);return bn(ut,to,ze,ve,Pt.concat("amsrm",ve.fontWeight,ve.fontShape))}else if(Ja==="main"||!Ja){var No=tr("textrm",ve.fontWeight,ve.fontShape);return bn(ut,No,ze,ve,Pt.concat(ve.fontWeight,ve.fontShape))}else{var oo=tr(Ja,ve.fontWeight,ve.fontShape);return bn(ut,oo,ze,ve,Pt.concat(oo,ve.fontWeight,ve.fontShape))}}else throw new Error("unexpected type: "+_e+" in makeOrd")},ii=function(ce,ve){if(pe(ce.classes)!==pe(ve.classes)||ce.skew!==ve.skew||ce.maxFontSize!==ve.maxFontSize)return!1;for(var _e in ce.style)if(ce.style.hasOwnProperty(_e)&&ce.style[_e]!==ve.style[_e])return!1;for(var ze in ve.style)if(ve.style.hasOwnProperty(ze)&&ce.style[ze]!==ve.style[ze])return!1;return!0},$e=function(ce){for(var ve=0;ve<ce.length-1;ve++){var _e=ce[ve],ze=ce[ve+1];_e instanceof Ae&&ze instanceof Ae&&ii(_e,ze)&&(_e.text+=ze.text,_e.height=Math.max(_e.height,ze.height),_e.depth=Math.max(_e.depth,ze.depth),_e.italic=ze.italic,ce.splice(ve+1,1),ve--)}return ce},Te=function(ce){for(var ve=0,_e=0,ze=0,ut=0;ut<ce.children.length;ut++){var Pt=ce.children[ut];Pt.height>ve&&(ve=Pt.height),Pt.depth>_e&&(_e=Pt.depth),Pt.maxFontSize>ze&&(ze=Pt.maxFontSize)}ce.height=ve,ce.depth=_e,ce.maxFontSize=ze},ke=function(ce,ve,_e,ze){var ut=new z(ce,ve,_e,ze);return Te(ut),ut},Me=function(ce,ve,_e,ze){return new z(ce,ve,_e,ze)},Ze=function(ce,ve,_e){var ze=ke([ce],[],ve);return ze.height=Math.max(_e||ve.fontMetrics().defaultRuleThickness,ve.minRuleThickness),ze.style.borderBottomWidth=ze.height+"em",ze.maxFontSize=1,ze},Xe=function(ce,ve,_e,ze){var ut=new Z(ce,ve,_e,ze);return Te(ut),ut},qe=function(ce){var ve=new G(ce);return Te(ve),ve},mt=function(ce,ve){return ce instanceof G?ke([],[ce],ve):ce},ht=function(ce){if(ce.positionType==="individualShift"){for(var ve=ce.children,_e=[ve[0]],ze=-ve[0].shift-ve[0].elem.depth,ut=ze,Pt=1;Pt<ve.length;Pt++){var ar=-ve[Pt].shift-ut-ve[Pt].elem.depth,wr=ar-(ve[Pt-1].elem.height+ve[Pt-1].elem.depth);ut=ut+ar,_e.push({type:"kern",size:wr}),_e.push(ve[Pt])}return{children:_e,depth:ze}}var jr;if(ce.positionType==="top"){for(var hn=ce.positionData,Tn=0;Tn<ce.children.length;Tn++){var ti=ce.children[Tn];hn-=ti.type==="kern"?ti.size:ti.elem.height+ti.elem.depth}jr=hn}else if(ce.positionType==="bottom")jr=-ce.positionData;else{var Ai=ce.children[0];if(Ai.type!=="elem")throw new Error('First child must have type "elem".');if(ce.positionType==="shift")jr=-Ai.elem.depth-ce.positionData;else if(ce.positionType==="firstBaseline")jr=-Ai.elem.depth;else throw new Error("Invalid positionType "+ce.positionType+".")}return{children:ce.children,depth:jr}},Vt=function(ce,ve){for(var _e=ht(ce),ze=_e.children,ut=_e.depth,Pt=0,ar=0;ar<ze.length;ar++){var wr=ze[ar];if(wr.type==="elem"){var jr=wr.elem;Pt=Math.max(Pt,jr.maxFontSize,jr.height)}}Pt+=2;var hn=ke(["pstrut"],[]);hn.style.height=Pt+"em";for(var Tn=[],ti=ut,Ai=ut,Ti=ut,zi=0;zi<ze.length;zi++){var na=ze[zi];if(na.type==="kern")Ti+=na.size;else{var Ua=na.elem,Ja=na.wrapperClasses||[],to=na.wrapperStyle||{},No=ke(Ja,[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=ke(["vlist"],Tn);oo.style.height=Ai+"em";var Do;if(ti<0){var za=ke([],[]),Ro=ke(["vlist"],[za]);Ro.style.height=-ti+"em";var ls=ke(["vlist-s"],[new Ae("\u200B")]);Do=[ke(["vlist-r"],[oo,ls]),ke(["vlist-r"],[Ro])]}else Do=[ke(["vlist-r"],[oo])];var wo=ke(["vlist-t"],Do);return Do.length===2&&wo.classes.push("vlist-t2"),wo.height=Ai,wo.depth=-ti,wo},dr=function(ce,ve){var _e=ke(["mspace"],[],ve),ze=Br(ce,ve);return _e.style.marginRight=ze+"em",_e},tr=function(ce,ve,_e){var ze="";switch(ce){case"amsrm":ze="AMS";break;case"textrm":ze="Main";break;case"textsf":ze="SansSerif";break;case"texttt":ze="Typewriter";break;default:ze=ce}var ut;return ve==="textbf"&&_e==="textit"?ut="BoldItalic":ve==="textbf"?ut="Bold":ve==="textit"?ut="Italic":ut="Regular",ze+"-"+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(ce,ve){var _e=_t[ce],ze=_e[0],ut=_e[1],Pt=_e[2],ar=new oe(ze),wr=new Ne([ar],{width:ut+"em",height:Pt+"em",style:"width:"+ut+"em",viewBox:"0 0 "+1e3*ut+" "+1e3*Pt,preserveAspectRatio:"xMinYMin"}),jr=Me(["overlay"],[wr],ve);return jr.height=Pt,jr.style.height=Pt+"em",jr.style.width=ut+"em",jr},jt={fontMap:ir,makeSymbol:bn,mathsym:Sn,makeSpan:ke,makeSvgSpan:Me,makeLineSpan:Ze,makeAnchor:Xe,makeFragment:qe,wrapFragment:mt,makeVList:Vt,makeOrd:ai,makeGlue:dr,staticSvg:gr,svgData:_t,tryCombineChars:$e};function Sr(dt,ce){var ve=Ar(dt,ce);if(!ve)throw new Error("Expected node of type "+ce+", but got "+(dt?"node of type "+dt.type:String(dt)));return ve}function Ar(dt,ce){return dt&&dt.type===ce?dt:null}function sr(dt,ce){var ve=ln(dt,ce);if(!ve)throw new Error('Expected node of type "atom" and family "'+ce+'", but got '+(dt?dt.type==="atom"?"atom of family "+dt.family:"node of type "+dt.type:String(dt)));return ve}function ln(dt,ce){return dt&&dt.type==="atom"&&dt.family===ce?dt:null}function _n(dt){var ce=zn(dt);if(!ce)throw new Error("Expected node of symbol group type, but got "+(dt?"node of type "+dt.type:String(dt)));return ce}function zn(dt){return dt&&(dt.type==="atom"||Ct.hasOwnProperty(dt.type))?dt:null}var Nn={number:3,unit:"mu"},Fn={number:4,unit:"mu"},Gn={number:5,unit:"mu"},xn={mord:{mop:Nn,mbin:Fn,mrel:Gn,minner:Nn},mop:{mord:Nn,mop:Nn,mrel:Gn,minner:Nn},mbin:{mord:Fn,mop:Fn,mopen:Fn,minner:Fn},mrel:{mord:Gn,mop:Gn,mopen:Gn,minner:Gn},mopen:{},mclose:{mop:Nn,mbin:Fn,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:Fn,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 ce=dt.type,ve=dt.names,_e=dt.props,ze=dt.handler,ut=dt.htmlBuilder,Pt=dt.mathmlBuilder,ar={type:ce,numArgs:_e.numArgs,argTypes:_e.argTypes,greediness:_e.greediness===void 0?1:_e.greediness,allowedInText:!!_e.allowedInText,allowedInMath:_e.allowedInMath===void 0?!0:_e.allowedInMath,numOptionalArgs:_e.numOptionalArgs||0,infix:!!_e.infix,handler:ze},wr=0;wr<ve.length;++wr)rn[ve[wr]]=ar;ce&&(ut&&(Ur[ce]=ut),Pt&&(cn[ce]=Pt))}function Vn(dt){var ce=dt.type,ve=dt.htmlBuilder,_e=dt.mathmlBuilder;Qr({type:ce,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:ve,mathmlBuilder:_e})}var Hn=function(ce){var ve=Ar(ce,"ordgroup");return ve?ve.body:[ce]},li=jt.makeSpan,Un=["leftmost","mbin","mopen","mrel","mop","mpunct"],gi=["rightmost","mrel","mclose","mpunct"],kn={display:K.DISPLAY,text:K.TEXT,script:K.SCRIPT,scriptscript:K.SCRIPTSCRIPT},di={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},qr=function(ce,ve,_e,ze){ze===void 0&&(ze=[null,null]);for(var ut=[],Pt=0;Pt<ce.length;Pt++){var ar=Wn(ce[Pt],ve);if(ar instanceof G){var wr=ar.children;ut.push.apply(ut,wr)}else ut.push(ar)}if(!_e)return ut;var jr=ve;if(ce.length===1){var hn=Ar(ce[0],"sizing")||Ar(ce[0],"styling");hn&&(hn.type==="sizing"?jr=ve.havingSize(hn.size):hn.type==="styling"&&(jr=ve.havingStyle(kn[hn.style])))}var Tn=li([ze[0]||"leftmost"],[],ve),ti=li([ze[1]||"rightmost"],[],ve);return xr(ut,function(Ai,Ti){var zi=Ti.classes[0],na=Ai.classes[0];zi==="mbin"&&g.contains(gi,na)?Ti.classes[0]="mord":na==="mbin"&&g.contains(Un,zi)&&(Ai.classes[0]="mord")},{node:Tn},ti),xr(ut,function(Ai,Ti){var zi=On(Ti),na=On(Ai),Ua=zi&&na?Ai.hasClass("mtight")?mi[zi][na]:xn[zi][na]:null;if(Ua)return jt.makeGlue(Ua,jr)},{node:Tn},ti),ut},xr=function dt(ce,ve,_e,ze){ze&&ce.push(ze);for(var ut=0;ut<ce.length;ut++){var Pt=ce[ut],ar=nn(Pt);if(ar){dt(ar.children,ve,_e);continue}if(Pt.classes[0]==="mspace")continue;var wr=ve(Pt,_e.node);wr&&(_e.insertAfter?_e.insertAfter(wr):(ce.unshift(wr),ut++)),_e.node=Pt,_e.insertAfter=function(jr){return function(hn){ce.splice(jr+1,0,hn),ut++}}(ut)}ze&&ce.pop()},nn=function(ce){return ce instanceof G||ce instanceof Z?ce:null},gn=function dt(ce,ve){var _e=nn(ce);if(_e){var ze=_e.children;if(ze.length){if(ve==="right")return dt(ze[ze.length-1],"right");if(ve==="left")return dt(ze[0],"left")}}return ce},On=function(ce,ve){return ce?(ve&&(ce=gn(ce,ve)),di[ce.classes[0]]||null):null},Bn=function(ce,ve){var _e=["nulldelimiter"].concat(ce.baseSizingClasses());return li(ve.concat(_e))},Wn=function(ce,ve,_e){if(!ce)return li();if(Ur[ce.type]){var ze=Ur[ce.type](ce,ve);if(_e&&ve.size!==_e.size){ze=li(ve.sizingClasses(_e),[ze],ve);var ut=ve.sizeMultiplier/_e.sizeMultiplier;ze.height*=ut,ze.depth*=ut}return ze}else throw new u("Got group of unknown type: '"+ce.type+"'")};function $n(dt,ce){var ve=li(["base"],dt,ce),_e=li(["strut"]);return _e.style.height=ve.height+ve.depth+"em",_e.style.verticalAlign=-ve.depth+"em",ve.children.unshift(_e),ve}function Jn(dt,ce){var ve=null;dt.length===1&&dt[0].type==="tag"&&(ve=dt[0].tag,dt=dt[0].body);for(var _e=qr(dt,ce,!0),ze=[],ut=[],Pt=0;Pt<_e.length;Pt++)if(ut.push(_e[Pt]),_e[Pt].hasClass("mbin")||_e[Pt].hasClass("mrel")||_e[Pt].hasClass("allowbreak")){for(var ar=!1;Pt<_e.length-1&&_e[Pt+1].hasClass("mspace")&&!_e[Pt+1].hasClass("newline");)Pt++,ut.push(_e[Pt]),_e[Pt].hasClass("nobreak")&&(ar=!0);ar||(ze.push($n(ut,ce)),ut=[])}else _e[Pt].hasClass("newline")&&(ut.pop(),ut.length>0&&(ze.push($n(ut,ce)),ut=[]),ze.push(_e[Pt]));ut.length>0&&ze.push($n(ut,ce));var wr;ve&&(wr=$n(qr(ve,ce,!0)),wr.classes=["tag"],ze.push(wr));var jr=li(["katex-html"],ze);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 G(dt)}var Pi=function(){function dt(ve,_e){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=ve,this.attributes={},this.children=_e||[]}var ce=dt.prototype;return ce.setAttribute=function(_e,ze){this.attributes[_e]=ze},ce.getAttribute=function(_e){return this.attributes[_e]},ce.toNode=function(){var _e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var ze in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ze)&&_e.setAttribute(ze,this.attributes[ze]);for(var ut=0;ut<this.children.length;ut++)_e.appendChild(this.children[ut].toNode());return _e},ce.toMarkup=function(){var _e="<"+this.type;for(var ze in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ze)&&(_e+=" "+ze+'="',_e+=g.escape(this.attributes[ze]),_e+='"');_e+=">";for(var ut=0;ut<this.children.length;ut++)_e+=this.children[ut].toMarkup();return _e+="</"+this.type+">",_e},ce.toText=function(){return this.children.map(function(_e){return _e.toText()}).join("")},dt}(),Bi=function(){function dt(ve){this.text=void 0,this.text=ve}var ce=dt.prototype;return ce.toNode=function(){return document.createTextNode(this.text)},ce.toMarkup=function(){return g.escape(this.toText())},ce.toText=function(){return this.text},dt}(),ja=function(){function dt(ve){this.width=void 0,this.character=void 0,this.width=ve,ve>=.05555&&ve<=.05556?this.character="\u200A":ve>=.1666&&ve<=.1667?this.character="\u2009":ve>=.2222&&ve<=.2223?this.character="\u2005":ve>=.2777&&ve<=.2778?this.character="\u2005\u200A":ve>=-.05556&&ve<=-.05555?this.character="\u200A\u2063":ve>=-.1667&&ve<=-.1666?this.character="\u2009\u2063":ve>=-.2223&&ve<=-.2222?this.character="\u205F\u2063":ve>=-.2778&&ve<=-.2777?this.character="\u2005\u2063":this.character=null}var ce=dt.prototype;return ce.toNode=function(){if(this.character)return document.createTextNode(this.character);var _e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return _e.setAttribute("width",this.width+"em"),_e},ce.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},ce.toText=function(){return this.character?this.character:" "},dt}(),Qn={MathNode:Pi,TextNode:Bi,SpaceNode:ja,newDocumentFragment:vi},Xr=function(ce,ve,_e){return Ge[ve][ce]&&Ge[ve][ce].replace&&ce.charCodeAt(0)!==55349&&!(Jt.hasOwnProperty(ce)&&_e&&(_e.fontFamily&&_e.fontFamily.substr(4,2)==="tt"||_e.font&&_e.font.substr(4,2)==="tt"))&&(ce=Ge[ve][ce].replace),new Qn.TextNode(ce)},hi=function(ce){return ce.length===1?ce[0]:new Qn.MathNode("mrow",ce)},Ri=function(ce,ve){if(ve.fontFamily==="texttt")return"monospace";if(ve.fontFamily==="textsf")return ve.fontShape==="textit"&&ve.fontWeight==="textbf"?"sans-serif-bold-italic":ve.fontShape==="textit"?"sans-serif-italic":ve.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(ve.fontShape==="textit"&&ve.fontWeight==="textbf")return"bold-italic";if(ve.fontShape==="textit")return"italic";if(ve.fontWeight==="textbf")return"bold";var _e=ve.font;if(!_e||_e==="mathnormal")return null;var ze=ce.mode;if(_e==="mathit")return"italic";if(_e==="boldsymbol")return"bold-italic";if(_e==="mathbf")return"bold";if(_e==="mathbb")return"double-struck";if(_e==="mathfrak")return"fraktur";if(_e==="mathscr"||_e==="mathcal")return"script";if(_e==="mathsf")return"sans-serif";if(_e==="mathtt")return"monospace";var ut=ce.text;if(g.contains(["\\imath","\\jmath"],ut))return null;Ge[ze][ut]&&Ge[ze][ut].replace&&(ut=Ge[ze][ut].replace);var Pt=jt.fontMap[_e].fontName;return Qe(ut,Pt,ze)?jt.fontMap[_e].variant:null},bi=function(ce,ve,_e){if(ce.length===1){var ze=ni(ce[0],ve);return _e&&ze instanceof Pi&&ze.type==="mo"&&(ze.setAttribute("lspace","0em"),ze.setAttribute("rspace","0em")),[ze]}for(var ut=[],Pt,ar=0;ar<ce.length;ar++){var wr=ni(ce[ar],ve);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 Bi&&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 Bi&&Ai.text==="\u0338"&&(wr.type==="mo"||wr.type==="mi"||wr.type==="mn")){var Ti=wr.children[0];Ti instanceof Bi&&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(ce,ve,_e){return hi(bi(ce,ve,_e))},ni=function(ce,ve){if(!ce)return new Qn.MathNode("mrow");if(cn[ce.type]){var _e=cn[ce.type](ce,ve);return _e}else throw new u("Got group of unknown type: '"+ce.type+"'")};function qi(dt,ce,ve,_e){var ze=bi(dt,ve),ut;ze.length===1&&ze[0]instanceof Pi&&g.contains(["mrow","mtable"],ze[0].type)?ut=ze[0]:ut=new Qn.MathNode("mrow",ze);var Pt=new Qn.MathNode("annotation",[new Qn.TextNode(ce)]);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=_e?"katex":"katex-mathml";return jt.makeSpan([jr],[wr])}var Qi=function(ce){return new $r({style:ce.displayMode?K.DISPLAY:K.TEXT,maxSize:ce.maxSize,minRuleThickness:ce.minRuleThickness})},ha=function(ce,ve){if(ve.displayMode){var _e=["katex-display"];ve.leqno&&_e.push("leqno"),ve.fleqn&&_e.push("fleqn"),ce=jt.makeSpan(_e,[ce])}return ce},Yt=function(ce,ve,_e){var ze=Qi(_e),ut;if(_e.output==="mathml")return qi(ce,ve,ze,!0);if(_e.output==="html"){var Pt=Jn(ce,ze);ut=jt.makeSpan(["katex"],[Pt])}else{var ar=qi(ce,ve,ze,!1),wr=Jn(ce,ze);ut=jt.makeSpan(["katex"],[ar,wr])}return ha(ut,_e)},Ir=function(ce,ve,_e){var ze=Qi(_e),ut=Jn(ce,ze),Pt=jt.makeSpan(["katex"],[ut]);return ha(Pt,_e)},Jr=Yt,Ke={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(ce){var ve=new Qn.MathNode("mo",[new Qn.TextNode(Ke[ce.substr(1)])]);return ve.setAttribute("stretchy","true"),ve},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]},Wt=function(ce){return ce.type==="ordgroup"?ce.body.length:1},vr=function(ce,ve){function _e(){var wr=4e5,jr=ce.label.substr(1);if(g.contains(["widehat","widecheck","widetilde","utilde"],jr)){var hn=ce,Tn=Wt(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 zi=[1,1,2,2,3,3][Tn];jr==="widehat"||jr==="widecheck"?(wr=[0,1062,2364,2364,2364][zi],ti=[0,239,300,360,420][zi],Ti=[0,.24,.3,.3,.36,.42][zi],Ai=jr+zi):(wr=[0,600,1033,2339,2340][zi],ti=[0,260,286,306,312][zi],Ti=[0,.26,.286,.3,.306,.34][zi],Ai="tilde"+zi)}var na=new oe(Ai),Ua=new Ne([na],{width:"100%",height:Ti+"em",viewBox:"0 0 "+wr+" "+ti,preserveAspectRatio:"none"});return{span:jt.makeSvgSpan([],[Ua],ve),minWidth:0,height:Ti}}else{var Ja=[],to=Xt[jr],No=to[0],oo=to[1],Do=to[2],za=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 oe(No[fs]),qo=new Ne([Cs],{width:"400em",height:za+"em",viewBox:"0 0 "+wr+" "+Do,preserveAspectRatio:wo[fs]+" slice"}),xo=jt.makeSvgSpan([ls[fs]],[qo],ve);if(Ro===1)return{span:xo,minWidth:oo,height:za};xo.style.height=za+"em",Ja.push(xo)}return{span:jt.makeSpan(["stretchy"],Ja,ve),minWidth:oo,height:za}}}var ze=_e(),ut=ze.span,Pt=ze.minWidth,ar=ze.height;return ut.height=ar,ut.style.height=ar+"em",Pt>0&&(ut.style.minWidth=Pt+"em"),ut},or=function(ce,ve,_e,ze){var ut,Pt=ce.height+ce.depth+2*_e;if(/fbox|color/.test(ve)){if(ut=jt.makeSpan(["stretchy",ve],[],ze),ve==="fbox"){var ar=ze.color&&ze.getColor();ar&&(ut.style.borderColor=ar)}}else{var wr=[];/^[bx]cancel$/.test(ve)&&wr.push(new de({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(ve)&&wr.push(new de({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var jr=new Ne(wr,{width:"100%",height:Pt+"em"});ut=jt.makeSvgSpan([],[jr],ze)}return ut.height=Pt,ut.style.height=Pt+"em",ut},Vr={encloseSpan:or,mathMLnode:gt,svgSpan:vr},Kr=function(ce,ve){var _e,ze,ut=Ar(ce,"supsub"),Pt;ut?(ze=Sr(ut.base,"accent"),_e=ze.base,ut.base=_e,Pt=Pe(Wn(ut,ve)),ut.base=ze):(ze=Sr(ce,"accent"),_e=ze.base);var ar=Wn(_e,ve.havingCrampedStyle()),wr=ze.isShifty&&g.isCharacterBox(_e),jr=0;if(wr){var hn=g.getBaseElem(_e),Tn=Wn(hn,ve.havingCrampedStyle());jr=xe(Tn).skew}var ti=Math.min(ar.height,ve.fontMetrics().xHeight),Ai;if(ze.isStretchy)Ai=Vr.svgSpan(ze,ve),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}]},ve);else{var Ti,zi;ze.label==="\\vec"?(Ti=jt.staticSvg("vec",ve),zi=jt.svgData.vec[1]):(Ti=jt.makeOrd({mode:ze.mode,text:ze.label},ve,"textord"),Ti=xe(Ti),Ti.italic=0,zi=Ti.width),Ai=jt.makeSpan(["accent-body"],[Ti]);var na=ze.label==="\\textcircled";na&&(Ai.classes.push("accent-full"),ti=ar.height);var Ua=jr;na||(Ua-=zi/2),Ai.style.left=Ua+"em",ze.label==="\\textcircled"&&(Ai.style.top=".2em"),Ai=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ar},{type:"kern",size:-ti},{type:"elem",elem:Ai}]},ve)}var Ja=jt.makeSpan(["mord","accent"],[Ai],ve);return Pt?(Pt.children[0]=Ja,Pt.height=Math.max(Ja.height,Pt.height),Pt.classes[0]="mord",Pt):Ja},Dr=function(ce,ve){var _e=ce.isStretchy?Vr.mathMLnode(ce.label):new Qn.MathNode("mo",[Xr(ce.label,ce.mode)]),ze=new Qn.MathNode("mover",[ni(ce.base,ve),_e]);return ze.setAttribute("accent","true"),ze},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(ce,ve){var _e=ve[0],ze=!dn.test(ce.funcName),ut=!ze||ce.funcName==="\\widehat"||ce.funcName==="\\widetilde"||ce.funcName==="\\widecheck";return{type:"accent",mode:ce.parser.mode,label:ce.funcName,isStretchy:ze,isShifty:ut,base:_e}},htmlBuilder:Kr,mathmlBuilder:Dr}),Qr({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(ce,ve){var _e=ve[0];return{type:"accent",mode:ce.parser.mode,label:ce.funcName,isStretchy:!1,isShifty:!0,base:_e}},htmlBuilder:Kr,mathmlBuilder:Dr}),Qr({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=ve[0];return{type:"accentUnder",mode:_e.mode,label:ze,base:ut}},htmlBuilder:function(ce,ve){var _e=Wn(ce.base,ve),ze=Vr.svgSpan(ce,ve),ut=ce.label==="\\utilde"?.12:0,Pt=jt.makeVList({positionType:"bottom",positionData:ze.height+ut,children:[{type:"elem",elem:ze,wrapperClasses:["svg-align"]},{type:"kern",size:ut},{type:"elem",elem:_e}]},ve);return jt.makeSpan(["mord","accentunder"],[Pt],ve)},mathmlBuilder:function(ce,ve){var _e=Vr.mathMLnode(ce.label),ze=new Qn.MathNode("munder",[ni(ce.base,ve),_e]);return ze.setAttribute("accentunder","true"),ze}});var on=function(ce){var ve=new Qn.MathNode("mpadded",ce?[ce]:[]);return ve.setAttribute("width","+0.6em"),ve.setAttribute("lspace","0.3em"),ve};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(ce,ve,_e){var ze=ce.parser,ut=ce.funcName;return{type:"xArrow",mode:ze.mode,label:ut,body:ve[0],below:_e[0]}},htmlBuilder:function(ce,ve){var _e=ve.style,ze=ve.havingStyle(_e.sup()),ut=jt.wrapFragment(Wn(ce.body,ze,ve),ve);ut.classes.push("x-arrow-pad");var Pt;ce.below&&(ze=ve.havingStyle(_e.sub()),Pt=jt.wrapFragment(Wn(ce.below,ze,ve),ve),Pt.classes.push("x-arrow-pad"));var ar=Vr.svgSpan(ce,ve),wr=-ve.fontMetrics().axisHeight+.5*ar.height,jr=-ve.fontMetrics().axisHeight-.5*ar.height-.111;(ut.depth>.25||ce.label==="\\xleftequilibrium")&&(jr-=ut.depth);var hn;if(Pt){var Tn=-ve.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}]},ve)}else hn=jt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ut,shift:jr},{type:"elem",elem:ar,shift:wr}]},ve);return hn.children[0].children[0].children[1].classes.push("svg-align"),jt.makeSpan(["mrel","x-arrow"],[hn],ve)},mathmlBuilder:function(ce,ve){var _e=Vr.mathMLnode(ce.label),ze;if(ce.body){var ut=on(ni(ce.body,ve));if(ce.below){var Pt=on(ni(ce.below,ve));ze=new Qn.MathNode("munderover",[_e,Pt,ut])}else ze=new Qn.MathNode("mover",[_e,ut])}else if(ce.below){var ar=on(ni(ce.below,ve));ze=new Qn.MathNode("munder",[_e,ar])}else ze=on(),ze=new Qn.MathNode("mover",[_e,ze]);return ze}}),Qr({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(ce,ve){for(var _e=ce.parser,ze=Sr(ve[0],"ordgroup"),ut=ze.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 u("\\@char has non-numeric argument "+Pt);return{type:"textord",mode:_e.mode,text:String.fromCharCode(jr)}}});var Cn=function(ce,ve){var _e=qr(ce.body,ve.withColor(ce.color),!1);return jt.makeFragment(_e)},sn=function(ce,ve){var _e=bi(ce.body,ve.withColor(ce.color)),ze=new Qn.MathNode("mstyle",_e);return ze.setAttribute("mathcolor",ce.color),ze};Qr({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(ce,ve){var _e=ce.parser,ze=Sr(ve[0],"color-token").color,ut=ve[1];return{type:"color",mode:_e.mode,color:ze,body:Hn(ut)}},htmlBuilder:Cn,mathmlBuilder:sn}),Qr({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(ce,ve){var _e=ce.parser,ze=ce.breakOnTokenText,ut=Sr(ve[0],"color-token").color;_e.gullet.macros.set("\\current@color",ut);var Pt=_e.parseExpression(!0,ze);return{type:"color",mode:_e.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(ce,ve,_e){var ze=ce.parser,ut=ce.funcName,Pt=_e[0],ar=ut==="\\cr",wr=!1;return ar||(ze.settings.displayMode&&ze.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?wr=!1:wr=!0),{type:"cr",mode:ze.mode,newLine:wr,newRow:ar,size:Pt&&Sr(Pt,"size").value}},htmlBuilder:function(ce,ve){if(ce.newRow)throw new u("\\cr valid only within a tabular/array environment");var _e=jt.makeSpan(["mspace"],[],ve);return ce.newLine&&(_e.classes.push("newline"),ce.size&&(_e.style.marginTop=Br(ce.size,ve)+"em")),_e},mathmlBuilder:function(ce,ve){var _e=new Qn.MathNode("mspace");return ce.newLine&&(_e.setAttribute("linebreak","newline"),ce.size&&_e.setAttribute("height",Br(ce.size,ve)+"em")),_e}});var an=function(ce,ve,_e){var ze=Ge.math[ce]&&Ge.math[ce].replace,ut=Qe(ze||ce,ve,_e);if(!ut)throw new Error("Unsupported symbol "+ce+" and font size "+ve+".");return ut},Yr=function(ce,ve,_e,ze){var ut=_e.havingBaseStyle(ve),Pt=jt.makeSpan(ze.concat(ut.sizingClasses(_e)),[ce],_e),ar=ut.sizeMultiplier/_e.sizeMultiplier;return Pt.height*=ar,Pt.depth*=ar,Pt.maxFontSize=ut.sizeMultiplier,Pt},fn=function(ce,ve,_e){var ze=ve.havingBaseStyle(_e),ut=(1-ve.sizeMultiplier/ze.sizeMultiplier)*ve.fontMetrics().axisHeight;ce.classes.push("delimcenter"),ce.style.top=ut+"em",ce.height-=ut,ce.depth+=ut},vn=function(ce,ve,_e,ze,ut,Pt){var ar=jt.makeSymbol(ce,"Main-Regular",ut,ze),wr=Yr(ar,ve,ze,Pt);return _e&&fn(wr,ze,ve),wr},Ln=function(ce,ve,_e,ze){return jt.makeSymbol(ce,"Size"+ve+"-Regular",_e,ze)},oi=function(ce,ve,_e,ze,ut,Pt){var ar=Ln(ce,ve,ut,ze),wr=Yr(jt.makeSpan(["delimsizing","size"+ve],[ar],ze),K.TEXT,ze,Pt);return _e&&fn(wr,ze,K.TEXT),wr},si=function(ce,ve,_e){var ze;ve==="Size1-Regular"?ze="delim-size1":ze="delim-size4";var ut=jt.makeSpan(["delimsizinginner",ze],[jt.makeSpan([],[jt.makeSymbol(ce,ve,_e)])]);return{type:"elem",elem:ut}},Ni={type:"kern",size:-.005},qn=function(ce,ve,_e,ze,ut,Pt){var ar,wr,jr,hn;ar=jr=hn=ce,wr=null;var Tn="Size1-Regular";ce==="\\uparrow"?jr=hn="\u23D0":ce==="\\Uparrow"?jr=hn="\u2016":ce==="\\downarrow"?ar=jr="\u23D0":ce==="\\Downarrow"?ar=jr="\u2016":ce==="\\updownarrow"?(ar="\\uparrow",jr="\u23D0",hn="\\downarrow"):ce==="\\Updownarrow"?(ar="\\Uparrow",jr="\u2016",hn="\\Downarrow"):ce==="["||ce==="\\lbrack"?(ar="\u23A1",jr="\u23A2",hn="\u23A3",Tn="Size4-Regular"):ce==="]"||ce==="\\rbrack"?(ar="\u23A4",jr="\u23A5",hn="\u23A6",Tn="Size4-Regular"):ce==="\\lfloor"||ce==="\u230A"?(jr=ar="\u23A2",hn="\u23A3",Tn="Size4-Regular"):ce==="\\lceil"||ce==="\u2308"?(ar="\u23A1",jr=hn="\u23A2",Tn="Size4-Regular"):ce==="\\rfloor"||ce==="\u230B"?(jr=ar="\u23A5",hn="\u23A6",Tn="Size4-Regular"):ce==="\\rceil"||ce==="\u2309"?(ar="\u23A4",jr=hn="\u23A5",Tn="Size4-Regular"):ce==="("||ce==="\\lparen"?(ar="\u239B",jr="\u239C",hn="\u239D",Tn="Size4-Regular"):ce===")"||ce==="\\rparen"?(ar="\u239E",jr="\u239F",hn="\u23A0",Tn="Size4-Regular"):ce==="\\{"||ce==="\\lbrace"?(ar="\u23A7",wr="\u23A8",hn="\u23A9",jr="\u23AA",Tn="Size4-Regular"):ce==="\\}"||ce==="\\rbrace"?(ar="\u23AB",wr="\u23AC",hn="\u23AD",jr="\u23AA",Tn="Size4-Regular"):ce==="\\lgroup"||ce==="\u27EE"?(ar="\u23A7",hn="\u23A9",jr="\u23AA",Tn="Size4-Regular"):ce==="\\rgroup"||ce==="\u27EF"?(ar="\u23AB",hn="\u23AD",jr="\u23AA",Tn="Size4-Regular"):ce==="\\lmoustache"||ce==="\u23B0"?(ar="\u23A7",hn="\u23AD",jr="\u23AA",Tn="Size4-Regular"):(ce==="\\rmoustache"||ce==="\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),zi=Ti.height+Ti.depth,na=an(hn,Tn,ut),Ua=na.height+na.depth,Ja=0,to=1;if(wr!==null){var No=an(wr,Tn,ut);Ja=No.height+No.depth,to=2}var oo=Ai+Ua+Ja,Do=Math.max(0,Math.ceil((ve-oo)/(to*zi))),za=oo+Do*to*zi,Ro=ze.fontMetrics().axisHeight;_e&&(Ro*=ze.sizeMultiplier);var ls=za/2-Ro,wo=(Do+1)*.005-zi,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=ze.havingBaseStyle(K.TEXT),zs=jt.makeVList({positionType:"bottom",positionData:ls,children:So},xo);return Yr(jt.makeSpan(["delimsizing","mult"],[zs],xo),K.TEXT,ze,Pt)},Pn=80,ki=.08,ci=function(ce,ve,_e,ze,ut){var Pt=Le(ce,ze,_e),ar=new oe(ce,Pt),wr=new Ne([ar],{width:"400em",height:ve+"em",viewBox:"0 0 400000 "+_e,preserveAspectRatio:"xMinYMin slice"});return jt.makeSvgSpan(["hide-tail"],[wr],ut)},wi=function(ce,ve){var _e=ve.havingBaseSizing(),ze=Ma("\\surd",ce*_e.sizeMultiplier,Ea,_e),ut=_e.sizeMultiplier,Pt=Math.max(0,ve.minRuleThickness-ve.fontMetrics().sqrtRuleThickness),ar,wr=0,jr=0,hn=0,Tn;return ze.type==="small"?(hn=1e3+1e3*Pt+Pn,ce<1?ut=1:ce<1.4&&(ut=.7),wr=(1+Pt+ki)/ut,jr=(1+Pt)/ut,ar=ci("sqrtMain",wr,hn,Pt,ve),ar.style.minWidth="0.853em",Tn=.833/ut):ze.type==="large"?(hn=(1e3+Pn)*Wi[ze.size],jr=(Wi[ze.size]+Pt)/ut,wr=(Wi[ze.size]+Pt+ki)/ut,ar=ci("sqrtSize"+ze.size,wr,hn,Pt,ve),ar.style.minWidth="1.02em",Tn=1/ut):(wr=ce+Pt+ki,jr=ce+Pt,hn=Math.floor(1e3*ce+Pt)+Pn,ar=ci("sqrtTall",wr,hn,Pt,ve),ar.style.minWidth="0.742em",Tn=1.056),ar.height=jr,ar.style.height=wr+"em",{span:ar,advanceWidth:Tn,ruleWidth:(ve.fontMetrics().sqrtRuleThickness+Pt)*ut}},fi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Mi=["\\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"],Wi=[0,1.2,1.8,2.4,3],ma=function(ce,ve,_e,ze,ut){if(ce==="<"||ce==="\\lt"||ce==="\u27E8"?ce="\\langle":(ce===">"||ce==="\\gt"||ce==="\u27E9")&&(ce="\\rangle"),g.contains(fi,ce)||g.contains(fa,ce))return oi(ce,ve,!1,_e,ze,ut);if(g.contains(Mi,ce))return qn(ce,Wi[ve],!1,_e,ze,ut);throw new u("Illegal delimiter: '"+ce+"'")},aa=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],ya=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"stack"}],Ea=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ca=function(ce){if(ce.type==="small")return"Main-Regular";if(ce.type==="large")return"Size"+ce.size+"-Regular";if(ce.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+ce.type+"' here.")},Ma=function(ce,ve,_e,ze){for(var ut=Math.min(2,3-ze.style.size),Pt=ut;Pt<_e.length&&!(_e[Pt].type==="stack");Pt++){var ar=an(ce,ca(_e[Pt]),"math"),wr=ar.height+ar.depth;if(_e[Pt].type==="small"){var jr=ze.havingBaseStyle(_e[Pt].style);wr*=jr.sizeMultiplier}if(wr>ve)return _e[Pt]}return _e[_e.length-1]},wa=function(ce,ve,_e,ze,ut,Pt){ce==="<"||ce==="\\lt"||ce==="\u27E8"?ce="\\langle":(ce===">"||ce==="\\gt"||ce==="\u27E9")&&(ce="\\rangle");var ar;g.contains(fa,ce)?ar=aa:g.contains(fi,ce)?ar=Ea:ar=ya;var wr=Ma(ce,ve,ar,ze);return wr.type==="small"?vn(ce,wr.style,_e,ze,ut,Pt):wr.type==="large"?oi(ce,wr.size,_e,ze,ut,Pt):qn(ce,ve,_e,ze,ut,Pt)},_i=function(ce,ve,_e,ze,ut,Pt){var ar=ze.fontMetrics().axisHeight*ze.sizeMultiplier,wr=901,jr=5/ze.fontMetrics().ptPerEm,hn=Math.max(ve-ar,_e+ar),Tn=Math.max(hn/500*wr,2*hn-jr);return wa(ce,Tn,!0,ze,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}},Ji=["(","\\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,ce){var ve=zn(dt);if(ve&&g.contains(Ji,ve.text))return ve;throw new u("Invalid delimiter: '"+(ve?ve.text:JSON.stringify(dt))+"' after '"+ce.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(ce,ve){var _e=Si(ve[0],ce);return{type:"delimsizing",mode:ce.parser.mode,size:ji[ce.funcName].size,mclass:ji[ce.funcName].mclass,delim:_e.text}},htmlBuilder:function(ce,ve){return ce.delim==="."?jt.makeSpan([ce.mclass]):xi.sizedDelim(ce.delim,ce.size,ve,ce.mode,[ce.mclass])},mathmlBuilder:function(ce){var ve=[];ce.delim!=="."&&ve.push(Xr(ce.delim,ce.mode));var _e=new Qn.MathNode("mo",ve);return ce.mclass==="mopen"||ce.mclass==="mclose"?_e.setAttribute("fence","true"):_e.setAttribute("fence","false"),_e}});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(ce,ve){var _e=ce.parser.gullet.macros.get("\\current@color");if(_e&&typeof _e!="string")throw new u("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:ce.parser.mode,delim:Si(ve[0],ce).text,color:_e}}}),Qr({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(ce,ve){var _e=Si(ve[0],ce),ze=ce.parser;++ze.leftrightDepth;var ut=ze.parseExpression(!1);--ze.leftrightDepth,ze.expect("\\right",!1);var Pt=Sr(ze.parseFunction(),"leftright-right");return{type:"leftright",mode:ze.mode,body:ut,left:_e.text,right:Pt.delim,rightColor:Pt.color}},htmlBuilder:function(ce,ve){Hi(ce);for(var _e=qr(ce.body,ve,!0,["mopen","mclose"]),ze=0,ut=0,Pt=!1,ar=0;ar<_e.length;ar++)_e[ar].isMiddle?Pt=!0:(ze=Math.max(_e[ar].height,ze),ut=Math.max(_e[ar].depth,ut));ze*=ve.sizeMultiplier,ut*=ve.sizeMultiplier;var wr;if(ce.left==="."?wr=Bn(ve,["mopen"]):wr=xi.leftRightDelim(ce.left,ze,ut,ve,ce.mode,["mopen"]),_e.unshift(wr),Pt)for(var jr=1;jr<_e.length;jr++){var hn=_e[jr],Tn=hn.isMiddle;Tn&&(_e[jr]=xi.leftRightDelim(Tn.delim,ze,ut,Tn.options,ce.mode,[]))}var ti;if(ce.right===".")ti=Bn(ve,["mclose"]);else{var Ai=ce.rightColor?ve.withColor(ce.rightColor):ve;ti=xi.leftRightDelim(ce.right,ze,ut,Ai,ce.mode,["mclose"])}return _e.push(ti),jt.makeSpan(["minner"],_e,ve)},mathmlBuilder:function(ce,ve){Hi(ce);var _e=bi(ce.body,ve);if(ce.left!=="."){var ze=new Qn.MathNode("mo",[Xr(ce.left,ce.mode)]);ze.setAttribute("fence","true"),_e.unshift(ze)}if(ce.right!=="."){var ut=new Qn.MathNode("mo",[Xr(ce.right,ce.mode)]);ut.setAttribute("fence","true"),ce.rightColor&&ut.setAttribute("mathcolor",ce.rightColor),_e.push(ut)}return hi(_e)}}),Qr({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(ce,ve){var _e=Si(ve[0],ce);if(!ce.parser.leftrightDepth)throw new u("\\middle without preceding \\left",_e);return{type:"middle",mode:ce.parser.mode,delim:_e.text}},htmlBuilder:function(ce,ve){var _e;if(ce.delim===".")_e=Bn(ve,[]);else{_e=xi.sizedDelim(ce.delim,1,ve,ce.mode,[]);var ze={delim:ce.delim,options:ve};_e.isMiddle=ze}return _e},mathmlBuilder:function(ce,ve){var _e=ce.delim==="\\vert"||ce.delim==="|"?Xr("|","text"):Xr(ce.delim,ce.mode),ze=new Qn.MathNode("mo",[_e]);return ze.setAttribute("fence","true"),ze.setAttribute("lspace","0.05em"),ze.setAttribute("rspace","0.05em"),ze}});var Oa=function(ce,ve){var _e=jt.wrapFragment(Wn(ce.body,ve),ve),ze=ce.label.substr(1),ut=ve.sizeMultiplier,Pt,ar=0,wr=g.isCharacterBox(ce.body);if(ze==="sout")Pt=jt.makeSpan(["stretchy","sout"]),Pt.height=ve.fontMetrics().defaultRuleThickness/ut,ar=-.5*ve.fontMetrics().xHeight;else{/cancel/.test(ze)?wr||_e.classes.push("cancel-pad"):_e.classes.push("boxpad");var jr=0,hn=0;/box/.test(ze)?(hn=Math.max(ve.fontMetrics().fboxrule,ve.minRuleThickness),jr=ve.fontMetrics().fboxsep+(ze==="colorbox"?0:hn)):jr=wr?.2:0,Pt=Vr.encloseSpan(_e,ze,jr,ve),/fbox|boxed|fcolorbox/.test(ze)&&(Pt.style.borderStyle="solid",Pt.style.borderWidth=hn+"em"),ar=_e.depth+jr,ce.backgroundColor&&(Pt.style.backgroundColor=ce.backgroundColor,ce.borderColor&&(Pt.style.borderColor=ce.borderColor))}var Tn;return ce.backgroundColor?Tn=jt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Pt,shift:ar},{type:"elem",elem:_e,shift:0}]},ve):Tn=jt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:_e,shift:0},{type:"elem",elem:Pt,shift:ar,wrapperClasses:/cancel/.test(ze)?["svg-align"]:[]}]},ve),/cancel/.test(ze)&&(Tn.height=_e.height,Tn.depth=_e.depth),/cancel/.test(ze)&&!wr?jt.makeSpan(["mord","cancel-lap"],[Tn],ve):jt.makeSpan(["mord"],[Tn],ve)},_a=function(ce,ve){var _e=0,ze=new Qn.MathNode(ce.label.indexOf("colorbox")>-1?"mpadded":"menclose",[ni(ce.body,ve)]);switch(ce.label){case"\\cancel":ze.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":ze.setAttribute("notation","downdiagonalstrike");break;case"\\sout":ze.setAttribute("notation","horizontalstrike");break;case"\\fbox":ze.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(_e=ve.fontMetrics().fboxsep*ve.fontMetrics().ptPerEm,ze.setAttribute("width","+"+2*_e+"pt"),ze.setAttribute("height","+"+2*_e+"pt"),ze.setAttribute("lspace",_e+"pt"),ze.setAttribute("voffset",_e+"pt"),ce.label==="\\fcolorbox"){var ut=Math.max(ve.fontMetrics().fboxrule,ve.minRuleThickness);ze.setAttribute("style","border: "+ut+"em solid "+String(ce.borderColor))}break;case"\\xcancel":ze.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return ce.backgroundColor&&ze.setAttribute("mathbackground",ce.backgroundColor),ze};Qr({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(ce,ve,_e){var ze=ce.parser,ut=ce.funcName,Pt=Sr(ve[0],"color-token").color,ar=ve[1];return{type:"enclose",mode:ze.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(ce,ve,_e){var ze=ce.parser,ut=ce.funcName,Pt=Sr(ve[0],"color-token").color,ar=Sr(ve[1],"color-token").color,wr=ve[2];return{type:"enclose",mode:ze.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(ce,ve){var _e=ce.parser;return{type:"enclose",mode:_e.mode,label:"\\fbox",body:ve[0]}}}),Qr({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(ce,ve,_e){var ze=ce.parser,ut=ce.funcName,Pt=ve[0];return{type:"enclose",mode:ze.mode,label:ut,body:Pt}},htmlBuilder:Oa,mathmlBuilder:_a});var la={};function va(dt){for(var ce=dt.type,ve=dt.names,_e=dt.props,ze=dt.handler,ut=dt.htmlBuilder,Pt=dt.mathmlBuilder,ar={type:ce,numArgs:_e.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:ze},wr=0;wr<ve.length;++wr)la[ve[wr]]=ar;ut&&(Ur[ce]=ut),Pt&&(cn[ce]=Pt)}function Fa(dt){var ce=[];dt.consumeSpaces();for(var ve=dt.fetch().text;ve==="\\hline"||ve==="\\hdashline";)dt.consume(),ce.push(ve==="\\hdashline"),dt.consumeSpaces(),ve=dt.fetch().text;return ce}function Xa(dt,ce,ve){var _e=ce.hskipBeforeAndAfter,ze=ce.addJot,ut=ce.cols,Pt=ce.arraystretch,ar=ce.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 u("Invalid \\arraystretch: "+wr)}dt.gullet.beginGroup();var jr=[],hn=[jr],Tn=[],ti=[];for(ti.push(Fa(dt));;){var Ai=dt.parseExpression(!1,"\\cr");dt.gullet.endGroup(),dt.gullet.beginGroup(),Ai={type:"ordgroup",mode:dt.mode,body:Ai},ve&&(Ai={type:"styling",mode:dt.mode,style:ve,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 zi=Sr(dt.parseFunction(),"cr");Tn.push(zi.size),ti.push(Fa(dt)),jr=[],hn.push(jr)}else throw new u("Expected & or \\\\ or \\cr or \\end",dt.nextToken)}return dt.gullet.endGroup(),dt.gullet.endGroup(),{type:"array",mode:dt.mode,addJot:ze,arraystretch:Pt,body:hn,cols:ut,rowGaps:Tn,hskipBeforeAndAfter:_e,hLinesBeforeRow:ti,colSeparationType:ar}}function co(dt){return dt.substr(0,1)==="d"?"display":"text"}var so=function(ce,ve){var _e,ze,ut=ce.body.length,Pt=ce.hLinesBeforeRow,ar=0,wr=new Array(ut),jr=[],hn=Math.max(ve.fontMetrics().arrayRuleWidth,ve.minRuleThickness),Tn=1/ve.fontMetrics().ptPerEm,ti=5*Tn;if(ce.colSeparationType&&ce.colSeparationType==="small"){var Ai=ve.havingStyle(K.SCRIPT).sizeMultiplier;ti=.2778*(Ai/ve.sizeMultiplier)}var Ti=12*Tn,zi=3*Tn,na=ce.arraystretch*Ti,Ua=.7*na,Ja=.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]),_e=0;_e<ce.body.length;++_e){var oo=ce.body[_e],Do=Ua,za=Ja;ar<oo.length&&(ar=oo.length);var Ro=new Array(oo.length);for(ze=0;ze<oo.length;++ze){var ls=Wn(oo[ze],ve);za<ls.depth&&(za=ls.depth),Do<ls.height&&(Do=ls.height),Ro[ze]=ls}var wo=ce.rowGaps[_e],So=0;wo&&(So=Br(wo,ve),So>0&&(So+=Ja,za<So&&(za=So),So=0)),ce.addJot&&(za+=zi),Ro.height=Do,Ro.depth=za,to+=Do,Ro.pos=to,to+=za+So,wr[_e]=Ro,No(Pt[_e+1])}var fs=to/2+ve.fontMetrics().axisHeight,Cs=ce.cols||[],qo=[],xo,zs;for(ze=0,zs=0;ze<ar||zs<Cs.length;++ze,++zs){for(var ps=Cs[zs]||{},ll=!0;ps.type==="separator";){if(ll||(xo=jt.makeSpan(["arraycolsep"],[]),xo.style.width=ve.fontMetrics().doubleRuleSep+"em",qo.push(xo)),ps.separator==="|"||ps.separator===":"){var cl=ps.separator==="|"?"solid":"dashed",Ts=jt.makeSpan(["vertical-separator"],[],ve);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 u("Invalid separator type: "+ps.separator);zs++,ps=Cs[zs]||{},ll=!1}if(ze>=ar)continue;var Mo=void 0;(ze>0||ce.hskipBeforeAndAfter)&&(Mo=g.deflt(ps.pregap,ti),Mo!==0&&(xo=jt.makeSpan(["arraycolsep"],[]),xo.style.width=Mo+"em",qo.push(xo)));var Ki=[];for(_e=0;_e<ut;++_e){var Ws=wr[_e],nl=Ws[ze];if(!nl)continue;var Ss=Ws.pos-fs;nl.depth=Ws.depth,nl.height=Ws.height,Ki.push({type:"elem",elem:nl,shift:Ss})}Ki=jt.makeVList({positionType:"individualShift",children:Ki},ve),Ki=jt.makeSpan(["col-align-"+(ps.align||"c")],[Ki]),qo.push(Ki),(ze<ar-1||ce.hskipBeforeAndAfter)&&(Mo=g.deflt(ps.postgap,ti),Mo!==0&&(xo=jt.makeSpan(["arraycolsep"],[]),xo.style.width=Mo+"em",qo.push(xo)))}if(wr=jt.makeSpan(["mtable"],qo),jr.length>0){for(var ts=jt.makeLineSpan("hline",ve,hn),ml=jt.makeLineSpan("hdashline",ve,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},ve)}return jt.makeSpan(["mord"],[wr],ve)},Ao={c:"center ",l:"left ",r:"right "},io=function(ce,ve){var _e=new Qn.MathNode("mtable",ce.body.map(function(to){return new Qn.MathNode("mtr",to.map(function(No){return new Qn.MathNode("mtd",[ni(No,ve)])}))})),ze=ce.arraystretch===.5?.1:.16+ce.arraystretch-1+(ce.addJot?.09:0);_e.setAttribute("rowspacing",ze+"em");var ut="",Pt="";if(ce.cols){var ar=ce.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));_e.setAttribute("columnalign",Pt.trim()),/[sd]/.test(wr)&&_e.setAttribute("columnlines",wr.trim())}if(ce.colSeparationType==="align"){for(var Ai=ce.cols||[],Ti="",zi=1;zi<Ai.length;zi++)Ti+=zi%2?"0em ":"1em ";_e.setAttribute("columnspacing",Ti.trim())}else ce.colSeparationType==="alignat"?_e.setAttribute("columnspacing","0em"):ce.colSeparationType==="small"?_e.setAttribute("columnspacing","0.2778em"):_e.setAttribute("columnspacing","1em");var na="",Ua=ce.hLinesBeforeRow;ut+=Ua[0].length>0?"left ":"",ut+=Ua[Ua.length-1].length>0?"right ":"";for(var Ja=1;Ja<Ua.length-1;Ja++)na+=Ua[Ja].length===0?"none ":Ua[Ja][0]?"dashed ":"solid ";return/[sd]/.test(na)&&_e.setAttribute("rowlines",na.trim()),ut!==""&&(_e=new Qn.MathNode("menclose",[_e]),_e.setAttribute("notation",ut.trim())),ce.arraystretch&&ce.arraystretch<1&&(_e=new Qn.MathNode("mstyle",[_e]),_e.setAttribute("scriptlevel","1")),_e},pa=function(ce,ve){var _e=[],ze=Xa(ce.parser,{cols:_e,addJot:!0},"display"),ut,Pt=0,ar={type:"ordgroup",mode:ce.mode,body:[]},wr=Ar(ve[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;ze.body.forEach(function(na){for(var Ua=1;Ua<na.length;Ua+=2){var Ja=Sr(na[Ua],"styling"),to=Sr(Ja.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 u("Too many math in a row: "+("expected "+ut+", but got "+No),na[0])}});for(var Ai=0;Ai<Pt;++Ai){var Ti="r",zi=0;Ai%2===1?Ti="l":Ai>0&&ti&&(zi=1),_e[Ai]={type:"align",align:Ti,pregap:zi,postgap:0}}return ze.colSeparationType=ti?"align":"alignat",ze};va({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(ce,ve){var _e=zn(ve[0]),ze=_e?[ve[0]]:Sr(ve[0],"ordgroup").body,ut=ze.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 u("Unknown column alignment: "+jr,ar)}),Pt={cols:ut,hskipBeforeAndAfter:!0};return Xa(ce.parser,Pt,co(ce.envName))},htmlBuilder:so,mathmlBuilder:io}),va({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(ce){var ve={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[ce.envName],_e={hskipBeforeAndAfter:!1},ze=Xa(ce.parser,_e,co(ce.envName));return ve?{type:"leftright",mode:ce.mode,body:[ze],left:ve[0],right:ve[1],rightColor:void 0}:ze},htmlBuilder:so,mathmlBuilder:io}),va({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(ce){var ve={arraystretch:.5},_e=Xa(ce.parser,ve,"script");return _e.colSeparationType="small",_e},htmlBuilder:so,mathmlBuilder:io}),va({type:"array",names:["subarray"],props:{numArgs:1},handler:function(ce,ve){var _e=zn(ve[0]),ze=_e?[ve[0]]:Sr(ve[0],"ordgroup").body,ut=ze.map(function(ar){var wr=_n(ar),jr=wr.text;if("lc".indexOf(jr)!==-1)return{type:"align",align:jr};throw new u("Unknown column alignment: "+jr,ar)});if(ut.length>1)throw new u("{subarray} can contain only one column");var Pt={cols:ut,hskipBeforeAndAfter:!1,arraystretch:.5};if(Pt=Xa(ce.parser,Pt,"script"),Pt.body[0].length>1)throw new u("{subarray} can contain only one column");return Pt},htmlBuilder:so,mathmlBuilder:io}),va({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(ce){var ve={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},_e=Xa(ce.parser,ve,co(ce.envName));return{type:"leftright",mode:ce.mode,body:[_e],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(ce){var ve={cols:[{type:"align",align:"c"}],addJot:!0};return Xa(ce.parser,ve,"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(ce,ve){throw new u(ce.funcName+" valid only within array environment")}});var ga=la,ba=ga;Qr({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=ve[0];if(ut.type!=="ordgroup")throw new u("Invalid environment name",ut);for(var Pt="",ar=0;ar<ut.body.length;++ar)Pt+=Sr(ut.body[ar],"textord").text;if(ze==="\\begin"){if(!ba.hasOwnProperty(Pt))throw new u("No such environment: "+Pt,ut);var wr=ba[Pt],jr=_e.parseArguments("\\begin{"+Pt+"}",wr),hn=jr.args,Tn=jr.optArgs,ti={mode:_e.mode,envName:Pt,parser:_e},Ai=wr.handler(ti,hn,Tn);_e.expect("\\end",!1);var Ti=_e.nextToken,zi=Sr(_e.parseFunction(),"environment");if(zi.name!==Pt)throw new u("Mismatch: \\begin{"+Pt+"} matched by \\end{"+zi.name+"}",Ti);return Ai}return{type:"environment",mode:_e.mode,name:Pt,nameGroup:ut}}});var Oi=jt.makeSpan;function Ba(dt,ce){var ve=qr(dt.body,ce,!0);return Oi([dt.mclass],ve,ce)}function vo(dt,ce){var ve,_e=bi(dt.body,ce);return dt.mclass==="minner"?Qn.newDocumentFragment(_e):(dt.mclass==="mord"?dt.isCharacterBox?(ve=_e[0],ve.type="mi"):ve=new Qn.MathNode("mi",_e):(dt.isCharacterBox?(ve=_e[0],ve.type="mo"):ve=new Qn.MathNode("mo",_e),dt.mclass==="mbin"?(ve.attributes.lspace="0.22em",ve.attributes.rspace="0.22em"):dt.mclass==="mpunct"?(ve.attributes.lspace="0em",ve.attributes.rspace="0.17em"):(dt.mclass==="mopen"||dt.mclass==="mclose")&&(ve.attributes.lspace="0em",ve.attributes.rspace="0em")),ve)}Qr({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=ve[0];return{type:"mclass",mode:_e.mode,mclass:"m"+ze.substr(5),body:Hn(ut),isCharacterBox:g.isCharacterBox(ut)}},htmlBuilder:Ba,mathmlBuilder:vo});var os=function(ce){var ve=ce.type==="ordgroup"&&ce.body.length?ce.body[0]:ce;return ve.type==="atom"&&(ve.family==="bin"||ve.family==="rel")?"m"+ve.family:"mord"};Qr({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(ce,ve){var _e=ce.parser;return{type:"mclass",mode:_e.mode,mclass:os(ve[0]),body:[ve[1]],isCharacterBox:g.isCharacterBox(ve[1])}}}),Qr({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=ve[1],Pt=ve[0],ar;ze!=="\\stackrel"?ar=os(ut):ar="mrel";var wr={type:"op",mode:ut.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:ze!=="\\stackrel",body:Hn(ut)},jr={type:"supsub",mode:Pt.mode,base:wr,sup:ze==="\\underset"?null:Pt,sub:ze==="\\underset"?Pt:null};return{type:"mclass",mode:_e.mode,mclass:ar,body:[jr],isCharacterBox:g.isCharacterBox(jr)}},htmlBuilder:Ba,mathmlBuilder:vo});var Va=function(ce,ve){var _e=ce.font,ze=ve.withFont(_e);return Wn(ce.body,ze)},ao=function(ce,ve){var _e=ce.font,ze=ve.withFont(_e);return ni(ce.body,ze)},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(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=ve[0],Pt=ze;return Pt in Ga&&(Pt=Ga[Pt]),{type:"font",mode:_e.mode,font:Pt.slice(1),body:ut}},htmlBuilder:Va,mathmlBuilder:ao}),Qr({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(ce,ve){var _e=ce.parser,ze=ve[0],ut=g.isCharacterBox(ze);return{type:"mclass",mode:_e.mode,mclass:os(ze),body:[{type:"font",mode:_e.mode,font:"boldsymbol",body:ze}],isCharacterBox:ut}}}),Qr({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=ce.breakOnTokenText,Pt=_e.mode,ar=_e.parseExpression(!0,ut),wr="math"+ze.slice(1);return{type:"font",mode:Pt,font:wr,body:{type:"ordgroup",mode:_e.mode,body:ar}}},htmlBuilder:Va,mathmlBuilder:ao});var yo=function(ce,ve){var _e=ve;return ce==="display"?_e=_e.id>=K.SCRIPT.id?_e.text():K.DISPLAY:ce==="text"&&_e.size===K.DISPLAY.size?_e=K.TEXT:ce==="script"?_e=K.SCRIPT:ce==="scriptscript"&&(_e=K.SCRIPTSCRIPT),_e},fo=function(ce,ve){var _e=yo(ce.size,ve.style),ze=_e.fracNum(),ut=_e.fracDen(),Pt;Pt=ve.havingStyle(ze);var ar=Wn(ce.numer,Pt,ve);if(ce.continued){var wr=8.5/ve.fontMetrics().ptPerEm,jr=3.5/ve.fontMetrics().ptPerEm;ar.height=ar.height<wr?wr:ar.height,ar.depth=ar.depth<jr?jr:ar.depth}Pt=ve.havingStyle(ut);var hn=Wn(ce.denom,Pt,ve),Tn,ti,Ai;ce.hasBarLine?(ce.barSize?(ti=Br(ce.barSize,ve),Tn=jt.makeLineSpan("frac-line",ve,ti)):Tn=jt.makeLineSpan("frac-line",ve),ti=Tn.height,Ai=Tn.height):(Tn=null,ti=0,Ai=ve.fontMetrics().defaultRuleThickness);var Ti,zi,na;_e.size===K.DISPLAY.size||ce.size==="display"?(Ti=ve.fontMetrics().num1,ti>0?zi=3*Ai:zi=7*Ai,na=ve.fontMetrics().denom1):(ti>0?(Ti=ve.fontMetrics().num2,zi=Ai):(Ti=ve.fontMetrics().num3,zi=3*Ai),na=ve.fontMetrics().denom2);var Ua;if(Tn){var to=ve.fontMetrics().axisHeight;Ti-ar.depth-(to+.5*ti)<zi&&(Ti+=zi-(Ti-ar.depth-(to+.5*ti))),to-.5*ti-(hn.height-na)<zi&&(na+=zi-(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}]},ve)}else{var Ja=Ti-ar.depth-(hn.height-na);Ja<zi&&(Ti+=.5*(zi-Ja),na+=.5*(zi-Ja)),Ua=jt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:hn,shift:na},{type:"elem",elem:ar,shift:-Ti}]},ve)}Pt=ve.havingStyle(_e),Ua.height*=Pt.sizeMultiplier/ve.sizeMultiplier,Ua.depth*=Pt.sizeMultiplier/ve.sizeMultiplier;var oo;_e.size===K.DISPLAY.size?oo=ve.fontMetrics().delim1:oo=ve.fontMetrics().delim2;var Do,za;return ce.leftDelim==null?Do=Bn(ve,["mopen"]):Do=xi.customSizedDelim(ce.leftDelim,oo,!0,ve.havingStyle(_e),ce.mode,["mopen"]),ce.continued?za=jt.makeSpan([]):ce.rightDelim==null?za=Bn(ve,["mclose"]):za=xi.customSizedDelim(ce.rightDelim,oo,!0,ve.havingStyle(_e),ce.mode,["mclose"]),jt.makeSpan(["mord"].concat(Pt.sizingClasses(ve)),[Do,jt.makeSpan(["mfrac"],[Ua]),za],ve)},es=function(ce,ve){var _e=new Qn.MathNode("mfrac",[ni(ce.numer,ve),ni(ce.denom,ve)]);if(!ce.hasBarLine)_e.setAttribute("linethickness","0px");else if(ce.barSize){var ze=Br(ce.barSize,ve);_e.setAttribute("linethickness",ze+"em")}var ut=yo(ce.size,ve.style);if(ut.size!==ve.style.size){_e=new Qn.MathNode("mstyle",[_e]);var Pt=ut.size===K.DISPLAY.size?"true":"false";_e.setAttribute("displaystyle",Pt),_e.setAttribute("scriptlevel","0")}if(ce.leftDelim!=null||ce.rightDelim!=null){var ar=[];if(ce.leftDelim!=null){var wr=new Qn.MathNode("mo",[new Qn.TextNode(ce.leftDelim.replace("\\",""))]);wr.setAttribute("fence","true"),ar.push(wr)}if(ar.push(_e),ce.rightDelim!=null){var jr=new Qn.MathNode("mo",[new Qn.TextNode(ce.rightDelim.replace("\\",""))]);jr.setAttribute("fence","true"),ar.push(jr)}return hi(ar)}return _e};Qr({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=ve[0],Pt=ve[1],ar,wr=null,jr=null,hn="auto";switch(ze){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(ze){case"\\cfrac":case"\\dfrac":case"\\dbinom":hn="display";break;case"\\tfrac":case"\\tbinom":hn="text";break}return{type:"genfrac",mode:_e.mode,continued:ze==="\\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(ce){var ve=ce.parser,_e=ce.funcName,ze=ce.token,ut;switch(_e){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:ve.mode,replaceWith:ut,token:ze}}});var To=["display","text","script","scriptscript"],po=function(ce){var ve=null;return ce.length>0&&(ve=ce,ve=ve==="."?null:ve),ve};Qr({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(ce,ve){var _e=ce.parser,ze=ve[4],ut=ve[5],Pt=Ar(ve[0],"atom");Pt&&(Pt=sr(ve[0],"open"));var ar=Pt?po(Pt.text):null,wr=Ar(ve[1],"atom");wr&&(wr=sr(ve[1],"close"));var jr=wr?po(wr.text):null,hn=Sr(ve[2],"size"),Tn,ti=null;hn.isBlank?Tn=!0:(ti=hn.value,Tn=ti.number>0);var Ai="auto",Ti=Ar(ve[3],"ordgroup");if(Ti){if(Ti.body.length>0){var zi=Sr(Ti.body[0],"textord");Ai=To[Number(zi.text)]}}else Ti=Sr(ve[3],"textord"),Ai=To[Number(Ti.text)];return{type:"genfrac",mode:_e.mode,numer:ze,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(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=ce.token;return{type:"infix",mode:_e.mode,replaceWith:"\\\\abovefrac",size:Sr(ve[0],"size").value,token:ut}}}),Qr({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=ve[0],Pt=h(Sr(ve[1],"infix").size),ar=ve[2],wr=Pt.number>0;return{type:"genfrac",mode:_e.mode,numer:ut,denom:ar,continued:!1,hasBarLine:wr,barSize:Pt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:fo,mathmlBuilder:es});var Io=function(ce,ve){var _e=ve.style,ze,ut,Pt=Ar(ce,"supsub");Pt?(ze=Pt.sup?Wn(Pt.sup,ve.havingStyle(_e.sup()),ve):Wn(Pt.sub,ve.havingStyle(_e.sub()),ve),ut=Sr(Pt.base,"horizBrace")):ut=Sr(ce,"horizBrace");var ar=Wn(ut.base,ve.havingBaseStyle(K.DISPLAY)),wr=Vr.svgSpan(ut,ve),jr;if(ut.isOver?(jr=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ar},{type:"kern",size:.1},{type:"elem",elem:wr}]},ve),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}]},ve),jr.children[0].children[0].children[0].classes.push("svg-align")),ze){var hn=jt.makeSpan(["mord",ut.isOver?"mover":"munder"],[jr],ve);ut.isOver?jr=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hn},{type:"kern",size:.2},{type:"elem",elem:ze}]},ve):jr=jt.makeVList({positionType:"bottom",positionData:hn.depth+.2+ze.height+ze.depth,children:[{type:"elem",elem:ze},{type:"kern",size:.2},{type:"elem",elem:hn}]},ve)}return jt.makeSpan(["mord",ut.isOver?"mover":"munder"],[jr],ve)},Wo=function(ce,ve){var _e=Vr.mathMLnode(ce.label);return new Qn.MathNode(ce.isOver?"mover":"munder",[ni(ce.base,ve),_e])};Qr({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(ce,ve){var _e=ce.parser,ze=ce.funcName;return{type:"horizBrace",mode:_e.mode,label:ze,isOver:/^\\over/.test(ze),base:ve[0]}},htmlBuilder:Io,mathmlBuilder:Wo}),Qr({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(ce,ve){var _e=ce.parser,ze=ve[1],ut=Sr(ve[0],"url").url;return _e.settings.isTrusted({command:"\\href",url:ut})?{type:"href",mode:_e.mode,href:ut,body:Hn(ze)}:_e.formatUnsupportedCmd("\\href")},htmlBuilder:function(ce,ve){var _e=qr(ce.body,ve,!1);return jt.makeAnchor(ce.href,[],_e,ve)},mathmlBuilder:function(ce,ve){var _e=Ui(ce.body,ve);return _e instanceof Pi||(_e=new Pi("mrow",[_e])),_e.setAttribute("href",ce.href),_e}}),Qr({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(ce,ve){var _e=ce.parser,ze=Sr(ve[0],"url").url;if(!_e.settings.isTrusted({command:"\\url",url:ze}))return _e.formatUnsupportedCmd("\\url");for(var ut=[],Pt=0;Pt<ze.length;Pt++){var ar=ze[Pt];ar==="~"&&(ar="\\textasciitilde"),ut.push({type:"textord",mode:"text",text:ar})}var wr={type:"text",mode:_e.mode,font:"\\texttt",body:ut};return{type:"href",mode:_e.mode,href:ze,body:Hn(wr)}}}),Qr({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(ce,ve){var _e=ce.parser;return{type:"htmlmathml",mode:_e.mode,html:Hn(ve[0]),mathml:Hn(ve[1])}},htmlBuilder:function(ce,ve){var _e=qr(ce.html,ve,!1);return jt.makeFragment(_e)},mathmlBuilder:function(ce,ve){return Ui(ce.mathml,ve)}});var ns=function(ce){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(ce))return{number:+ce,unit:"bp"};var ve=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(ce);if(!ve)throw new u("Invalid size: '"+ce+"' in \\includegraphics");var _e={number:+(ve[1]+ve[2]),unit:ve[3]};if(!Cr(_e))throw new u("Invalid unit: '"+_e.unit+"' in \\includegraphics.");return _e};Qr({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(ce,ve,_e){var ze=ce.parser,ut={number:0,unit:"em"},Pt={number:.9,unit:"em"},ar={number:0,unit:"em"},wr="";if(_e[0])for(var jr=Sr(_e[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 u("Invalid key: '"+ti[0]+"' in \\includegraphics.")}}}var Ti=Sr(ve[0],"url").url;return wr===""&&(wr=Ti,wr=wr.replace(/^.*[\\/]/,""),wr=wr.substring(0,wr.lastIndexOf("."))),ze.settings.isTrusted({command:"\\includegraphics",url:Ti})?{type:"includegraphics",mode:ze.mode,alt:wr,width:ut,height:Pt,totalheight:ar,src:Ti}:ze.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(ce,ve){var _e=Br(ce.height,ve),ze=0;ce.totalheight.number>0&&(ze=Br(ce.totalheight,ve)-_e,ze=Number(ze.toFixed(2)));var ut=0;ce.width.number>0&&(ut=Br(ce.width,ve));var Pt={height:_e+ze+"em"};ut>0&&(Pt.width=ut+"em"),ze>0&&(Pt.verticalAlign=-ze+"em");var ar=new be(ce.src,ce.alt,Pt);return ar.height=_e,ar.depth=ze,ar},mathmlBuilder:function(ce,ve){var _e=new Qn.MathNode("mglyph",[]);_e.setAttribute("alt",ce.alt);var ze=Br(ce.height,ve),ut=0;if(ce.totalheight.number>0&&(ut=Br(ce.totalheight,ve)-ze,ut=ut.toFixed(2),_e.setAttribute("valign","-"+ut+"em")),_e.setAttribute("height",ze+ut+"em"),ce.width.number>0){var Pt=Br(ce.width,ve);_e.setAttribute("width",Pt+"em")}return _e.setAttribute("src",ce.src),_e}}),Qr({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=Sr(ve[0],"size");if(_e.settings.strict){var Pt=ze[1]==="m",ar=ut.value.unit==="mu";Pt?(ar||_e.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ze+" supports only mu units, "+("not "+ut.value.unit+" units")),_e.mode!=="math"&&_e.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ze+" works only in math mode")):ar&&_e.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ze+" doesn't support mu units")}return{type:"kern",mode:_e.mode,dimension:ut.value}},htmlBuilder:function(ce,ve){return jt.makeGlue(ce.dimension,ve)},mathmlBuilder:function(ce,ve){var _e=Br(ce.dimension,ve);return new Qn.SpaceNode(_e)}}),Qr({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=ve[0];return{type:"lap",mode:_e.mode,alignment:ze.slice(5),body:ut}},htmlBuilder:function(ce,ve){var _e;ce.alignment==="clap"?(_e=jt.makeSpan([],[Wn(ce.body,ve)]),_e=jt.makeSpan(["inner"],[_e],ve)):_e=jt.makeSpan(["inner"],[Wn(ce.body,ve)]);var ze=jt.makeSpan(["fix"],[]),ut=jt.makeSpan([ce.alignment],[_e,ze],ve),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}]},ve),jt.makeSpan(["mord"],[ut],ve)},mathmlBuilder:function(ce,ve){var _e=new Qn.MathNode("mpadded",[ni(ce.body,ve)]);if(ce.alignment!=="rlap"){var ze=ce.alignment==="llap"?"-1":"-0.5";_e.setAttribute("lspace",ze+"width")}return _e.setAttribute("width","0px"),_e}}),Qr({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ce,ve){var _e=ce.funcName,ze=ce.parser,ut=ze.mode;ze.switchMode("math");var Pt=_e==="\\("?"\\)":"$",ar=ze.parseExpression(!1,Pt);return ze.expect(Pt),ze.switchMode(ut),{type:"styling",mode:ze.mode,style:"text",body:ar}}}),Qr({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ce,ve){throw new u("Mismatched "+ce.funcName)}});var Po=function(ce,ve){switch(ve.style.size){case K.DISPLAY.size:return ce.display;case K.TEXT.size:return ce.text;case K.SCRIPT.size:return ce.script;case K.SCRIPTSCRIPT.size:return ce.scriptscript;default:return ce.text}};Qr({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(ce,ve){var _e=ce.parser;return{type:"mathchoice",mode:_e.mode,display:Hn(ve[0]),text:Hn(ve[1]),script:Hn(ve[2]),scriptscript:Hn(ve[3])}},htmlBuilder:function(ce,ve){var _e=Po(ce,ve),ze=qr(_e,ve,!1);return jt.makeFragment(ze)},mathmlBuilder:function(ce,ve){var _e=Po(ce,ve);return Ui(_e,ve)}});var Aa=function(ce,ve,_e,ze,ut,Pt,ar){ce=jt.makeSpan([],[ce]);var wr,jr;if(ve){var hn=Wn(ve,ze.havingStyle(ut.sup()),ze);jr={elem:hn,kern:Math.max(ze.fontMetrics().bigOpSpacing1,ze.fontMetrics().bigOpSpacing3-hn.depth)}}if(_e){var Tn=Wn(_e,ze.havingStyle(ut.sub()),ze);wr={elem:Tn,kern:Math.max(ze.fontMetrics().bigOpSpacing2,ze.fontMetrics().bigOpSpacing4-Tn.height)}}var ti;if(jr&&wr){var Ai=ze.fontMetrics().bigOpSpacing5+wr.elem.height+wr.elem.depth+wr.kern+ce.depth+ar;ti=jt.makeVList({positionType:"bottom",positionData:Ai,children:[{type:"kern",size:ze.fontMetrics().bigOpSpacing5},{type:"elem",elem:wr.elem,marginLeft:-Pt+"em"},{type:"kern",size:wr.kern},{type:"elem",elem:ce},{type:"kern",size:jr.kern},{type:"elem",elem:jr.elem,marginLeft:Pt+"em"},{type:"kern",size:ze.fontMetrics().bigOpSpacing5}]},ze)}else if(wr){var Ti=ce.height-ar;ti=jt.makeVList({positionType:"top",positionData:Ti,children:[{type:"kern",size:ze.fontMetrics().bigOpSpacing5},{type:"elem",elem:wr.elem,marginLeft:-Pt+"em"},{type:"kern",size:wr.kern},{type:"elem",elem:ce}]},ze)}else if(jr){var zi=ce.depth+ar;ti=jt.makeVList({positionType:"bottom",positionData:zi,children:[{type:"elem",elem:ce},{type:"kern",size:jr.kern},{type:"elem",elem:jr.elem,marginLeft:Pt+"em"},{type:"kern",size:ze.fontMetrics().bigOpSpacing5}]},ze)}else return ce;return jt.makeSpan(["mop","op-limits"],[ti],ze)},Za=["\\smallint"],ka=function(ce,ve){var _e,ze,ut=!1,Pt,ar=Ar(ce,"supsub");ar?(_e=ar.sup,ze=ar.sub,Pt=Sr(ar.base,"op"),ut=!0):Pt=Sr(ce,"op");var wr=ve.style,jr=!1;wr.size===K.DISPLAY.size&&Pt.symbol&&!g.contains(Za,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",ve,["mop","op-symbol",jr?"large-op":"small-op"]),ti.length>0){var Ai=hn.italic,Ti=jt.staticSvg(ti+"Size"+(jr?"2":"1"),ve);hn=jt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:hn,shift:0},{type:"elem",elem:Ti,shift:jr?.08:0}]},ve),Pt.name="\\"+ti,hn.classes.unshift("mop"),hn.italic=Ai}}else if(Pt.body){var zi=qr(Pt.body,ve,!0);zi.length===1&&zi[0]instanceof Ae?(hn=zi[0],hn.classes[0]="mop"):hn=jt.makeSpan(["mop"],jt.tryCombineChars(zi),ve)}else{for(var na=[],Ua=1;Ua<Pt.name.length;Ua++)na.push(jt.mathsym(Pt.name[Ua],Pt.mode,ve));hn=jt.makeSpan(["mop"],na,ve)}var Ja=0,to=0;return(hn instanceof Ae||Pt.name==="\\oiint"||Pt.name==="\\oiiint")&&!Pt.suppressBaseShift&&(Ja=(hn.height-hn.depth)/2-ve.fontMetrics().axisHeight,to=hn.italic),ut?Aa(hn,_e,ze,ve,wr,to,Ja):(Ja&&(hn.style.position="relative",hn.style.top=Ja+"em"),hn)},$i=function(ce,ve){var _e;if(ce.symbol)_e=new Pi("mo",[Xr(ce.name,ce.mode)]),g.contains(Za,ce.name)&&_e.setAttribute("largeop","false");else if(ce.body)_e=new Pi("mo",bi(ce.body,ve));else{_e=new Pi("mi",[new Bi(ce.name.slice(1))]);var ze=new Pi("mo",[Xr("\u2061","text")]);ce.parentIsSupSub?_e=new Pi("mo",[_e,ze]):_e=vi([_e,ze])}return _e},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(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=ze;return ut.length===1&&(ut=uo[ut]),{type:"op",mode:_e.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:ut}},htmlBuilder:ka,mathmlBuilder:$i}),Qr({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(ce,ve){var _e=ce.parser,ze=ve[0];return{type:"op",mode:_e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Hn(ze)}},htmlBuilder:ka,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(ce){var ve=ce.parser,_e=ce.funcName;return{type:"op",mode:ve.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:_e}},htmlBuilder:ka,mathmlBuilder:$i}),Qr({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(ce){var ve=ce.parser,_e=ce.funcName;return{type:"op",mode:ve.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:_e}},htmlBuilder:ka,mathmlBuilder:$i}),Qr({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(ce){var ve=ce.parser,_e=ce.funcName,ze=_e;return ze.length===1&&(ze=Ha[ze]),{type:"op",mode:ve.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:ze}},htmlBuilder:ka,mathmlBuilder:$i});var Yi=function(ce,ve){var _e,ze,ut=!1,Pt,ar=Ar(ce,"supsub");ar?(_e=ar.sup,ze=ar.sub,Pt=Sr(ar.base,"operatorname"),ut=!0):Pt=Sr(ce,"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,ve.withFont("mathrm"),!0),Tn=0;Tn<hn.length;Tn++){var ti=hn[Tn];ti instanceof Ae&&(ti.text=ti.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}wr=jt.makeSpan(["mop"],hn,ve)}else wr=jt.makeSpan(["mop"],[],ve);return ut?Aa(wr,_e,ze,ve,ve.style,0,0):wr},Qa=function(ce,ve){for(var _e=bi(ce.body,ve.withFont("mathrm")),ze=!0,ut=0;ut<_e.length;ut++){var Pt=_e[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/,"*"):ze=!1;break}default:ze=!1}else ze=!1}if(ze){var wr=_e.map(function(Tn){return Tn.toText()}).join("");_e=[new Qn.TextNode(wr)]}var jr=new Qn.MathNode("mi",_e);jr.setAttribute("mathvariant","normal");var hn=new Qn.MathNode("mo",[Xr("\u2061","text")]);return ce.parentIsSupSub?new Qn.MathNode("mo",[jr,hn]):Qn.newDocumentFragment([jr,hn])};Qr({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=ve[0];return{type:"operatorname",mode:_e.mode,body:Hn(ut),alwaysHandleSupSub:ze==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Yi,mathmlBuilder:Qa}),Vn({type:"ordgroup",htmlBuilder:function(ce,ve){return ce.semisimple?jt.makeFragment(qr(ce.body,ve,!1)):jt.makeSpan(["mord"],qr(ce.body,ve,!0),ve)},mathmlBuilder:function(ce,ve){return Ui(ce.body,ve,!0)}}),Qr({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(ce,ve){var _e=ce.parser,ze=ve[0];return{type:"overline",mode:_e.mode,body:ze}},htmlBuilder:function(ce,ve){var _e=Wn(ce.body,ve.havingCrampedStyle()),ze=jt.makeLineSpan("overline-line",ve),ut=ve.fontMetrics().defaultRuleThickness,Pt=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:_e},{type:"kern",size:3*ut},{type:"elem",elem:ze},{type:"kern",size:ut}]},ve);return jt.makeSpan(["mord","overline"],[Pt],ve)},mathmlBuilder:function(ce,ve){var _e=new Qn.MathNode("mo",[new Qn.TextNode("\u203E")]);_e.setAttribute("stretchy","true");var ze=new Qn.MathNode("mover",[ni(ce.body,ve),_e]);return ze.setAttribute("accent","true"),ze}}),Qr({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(ce,ve){var _e=ce.parser,ze=ve[0];return{type:"phantom",mode:_e.mode,body:Hn(ze)}},htmlBuilder:function(ce,ve){var _e=qr(ce.body,ve.withPhantom(),!1);return jt.makeFragment(_e)},mathmlBuilder:function(ce,ve){var _e=bi(ce.body,ve);return new Qn.MathNode("mphantom",_e)}}),Qr({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ce,ve){var _e=ce.parser,ze=ve[0];return{type:"hphantom",mode:_e.mode,body:ze}},htmlBuilder:function(ce,ve){var _e=jt.makeSpan([],[Wn(ce.body,ve.withPhantom())]);if(_e.height=0,_e.depth=0,_e.children)for(var ze=0;ze<_e.children.length;ze++)_e.children[ze].height=0,_e.children[ze].depth=0;return _e=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:_e}]},ve),jt.makeSpan(["mord"],[_e],ve)},mathmlBuilder:function(ce,ve){var _e=bi(Hn(ce.body),ve),ze=new Qn.MathNode("mphantom",_e),ut=new Qn.MathNode("mpadded",[ze]);return ut.setAttribute("height","0px"),ut.setAttribute("depth","0px"),ut}}),Qr({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ce,ve){var _e=ce.parser,ze=ve[0];return{type:"vphantom",mode:_e.mode,body:ze}},htmlBuilder:function(ce,ve){var _e=jt.makeSpan(["inner"],[Wn(ce.body,ve.withPhantom())]),ze=jt.makeSpan(["fix"],[]);return jt.makeSpan(["mord","rlap"],[_e,ze],ve)},mathmlBuilder:function(ce,ve){var _e=bi(Hn(ce.body),ve),ze=new Qn.MathNode("mphantom",_e),ut=new Qn.MathNode("mpadded",[ze]);return ut.setAttribute("width","0px"),ut}}),Qr({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(ce,ve){var _e=ce.parser,ze=Sr(ve[0],"size").value,ut=ve[1];return{type:"raisebox",mode:_e.mode,dy:ze,body:ut}},htmlBuilder:function(ce,ve){var _e=Wn(ce.body,ve),ze=Br(ce.dy,ve);return jt.makeVList({positionType:"shift",positionData:-ze,children:[{type:"elem",elem:_e}]},ve)},mathmlBuilder:function(ce,ve){var _e=new Qn.MathNode("mpadded",[ni(ce.body,ve)]),ze=ce.dy.number+ce.dy.unit;return _e.setAttribute("voffset",ze),_e}}),Qr({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(ce,ve,_e){var ze=ce.parser,ut=_e[0],Pt=Sr(ve[0],"size"),ar=Sr(ve[1],"size");return{type:"rule",mode:ze.mode,shift:ut&&Sr(ut,"size").value,width:Pt.value,height:ar.value}},htmlBuilder:function(ce,ve){var _e=jt.makeSpan(["mord","rule"],[],ve),ze=Br(ce.width,ve),ut=Br(ce.height,ve),Pt=ce.shift?Br(ce.shift,ve):0;return _e.style.borderRightWidth=ze+"em",_e.style.borderTopWidth=ut+"em",_e.style.bottom=Pt+"em",_e.width=ze,_e.height=ut+Pt,_e.depth=-Pt,_e.maxFontSize=ut*1.125*ve.sizeMultiplier,_e},mathmlBuilder:function(ce,ve){var _e=Br(ce.width,ve),ze=Br(ce.height,ve),ut=ce.shift?Br(ce.shift,ve):0,Pt=ve.color&&ve.getColor()||"black",ar=new Qn.MathNode("mspace");ar.setAttribute("mathbackground",Pt),ar.setAttribute("width",_e+"em"),ar.setAttribute("height",ze+"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 Fo(dt,ce,ve){for(var _e=qr(dt,ce,!1),ze=ce.sizeMultiplier/ve.sizeMultiplier,ut=0;ut<_e.length;ut++){var Pt=_e[ut].classes.indexOf("sizing");Pt<0?Array.prototype.push.apply(_e[ut].classes,ce.sizingClasses(ve)):_e[ut].classes[Pt+1]==="reset-size"+ce.size&&(_e[ut].classes[Pt+1]="reset-size"+ve.size),_e[ut].height*=ze,_e[ut].depth*=ze}return jt.makeFragment(_e)}var Qo=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Zo=function(ce,ve){var _e=ve.havingSize(ce.size);return Fo(ce.body,_e,ve)};Qr({type:"sizing",names:Qo,props:{numArgs:0,allowedInText:!0},handler:function(ce,ve){var _e=ce.breakOnTokenText,ze=ce.funcName,ut=ce.parser,Pt=ut.parseExpression(!1,_e);return{type:"sizing",mode:ut.mode,size:Qo.indexOf(ze)+1,body:Pt}},htmlBuilder:Zo,mathmlBuilder:function(ce,ve){var _e=ve.havingSize(ce.size),ze=bi(ce.body,_e),ut=new Qn.MathNode("mstyle",ze);return ut.setAttribute("mathsize",_e.sizeMultiplier+"em"),ut}}),Qr({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(ce,ve,_e){var ze=ce.parser,ut=!1,Pt=!1,ar=_e[0]&&Sr(_e[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=ve[0];return{type:"smash",mode:ze.mode,body:Tn,smashHeight:ut,smashDepth:Pt}},htmlBuilder:function(ce,ve){var _e=jt.makeSpan([],[Wn(ce.body,ve)]);if(!ce.smashHeight&&!ce.smashDepth)return _e;if(ce.smashHeight&&(_e.height=0,_e.children))for(var ze=0;ze<_e.children.length;ze++)_e.children[ze].height=0;if(ce.smashDepth&&(_e.depth=0,_e.children))for(var ut=0;ut<_e.children.length;ut++)_e.children[ut].depth=0;var Pt=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:_e}]},ve);return jt.makeSpan(["mord"],[Pt],ve)},mathmlBuilder:function(ce,ve){var _e=new Qn.MathNode("mpadded",[ni(ce.body,ve)]);return ce.smashHeight&&_e.setAttribute("height","0px"),ce.smashDepth&&_e.setAttribute("depth","0px"),_e}}),Qr({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(ce,ve,_e){var ze=ce.parser,ut=_e[0],Pt=ve[0];return{type:"sqrt",mode:ze.mode,body:Pt,index:ut}},htmlBuilder:function(ce,ve){var _e=Wn(ce.body,ve.havingCrampedStyle());_e.height===0&&(_e.height=ve.fontMetrics().xHeight),_e=jt.wrapFragment(_e,ve);var ze=ve.fontMetrics(),ut=ze.defaultRuleThickness,Pt=ut;ve.style.id<K.TEXT.id&&(Pt=ve.fontMetrics().xHeight);var ar=ut+Pt/4,wr=_e.height+_e.depth+ar+ut,jr=xi.sqrtImage(wr,ve),hn=jr.span,Tn=jr.ruleWidth,ti=jr.advanceWidth,Ai=hn.height-Tn;Ai>_e.height+_e.depth+ar&&(ar=(ar+Ai-_e.height-_e.depth)/2);var Ti=hn.height-_e.height-ar-Tn;_e.style.paddingLeft=ti+"em";var zi=jt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:_e,wrapperClasses:["svg-align"]},{type:"kern",size:-(_e.height+Ti)},{type:"elem",elem:hn},{type:"kern",size:Tn}]},ve);if(ce.index){var na=ve.havingStyle(K.SCRIPTSCRIPT),Ua=Wn(ce.index,na,ve),Ja=.6*(zi.height-zi.depth),to=jt.makeVList({positionType:"shift",positionData:-Ja,children:[{type:"elem",elem:Ua}]},ve),No=jt.makeSpan(["root"],[to]);return jt.makeSpan(["mord","sqrt"],[No,zi],ve)}else return jt.makeSpan(["mord","sqrt"],[zi],ve)},mathmlBuilder:function(ce,ve){var _e=ce.body,ze=ce.index;return ze?new Qn.MathNode("mroot",[ni(_e,ve),ni(ze,ve)]):new Qn.MathNode("msqrt",[ni(_e,ve)])}});var ua={display:K.DISPLAY,text:K.TEXT,script:K.SCRIPT,scriptscript:K.SCRIPTSCRIPT};Qr({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(ce,ve){var _e=ce.breakOnTokenText,ze=ce.funcName,ut=ce.parser,Pt=ut.parseExpression(!0,_e),ar=ze.slice(1,ze.length-5);return{type:"styling",mode:ut.mode,style:ar,body:Pt}},htmlBuilder:function(ce,ve){var _e=ua[ce.style],ze=ve.havingStyle(_e).withFont("");return Fo(ce.body,ze,ve)},mathmlBuilder:function(ce,ve){var _e=ua[ce.style],ze=ve.havingStyle(_e),ut=bi(ce.body,ze),Pt=new Qn.MathNode("mstyle",ut),ar={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},wr=ar[ce.style];return Pt.setAttribute("scriptlevel",wr[0]),Pt.setAttribute("displaystyle",wr[1]),Pt}});var Ya=function(ce,ve){var _e=ce.base;if(_e)if(_e.type==="op"){var ze=_e.limits&&(ve.style.size===K.DISPLAY.size||_e.alwaysHandleSupSub);return ze?ka:null}else if(_e.type==="operatorname"){var ut=_e.alwaysHandleSupSub&&(ve.style.size===K.DISPLAY.size||_e.limits);return ut?Yi:null}else{if(_e.type==="accent")return g.isCharacterBox(_e.base)?Kr:null;if(_e.type==="horizBrace"){var Pt=!ce.sub;return Pt===_e.isOver?Io:null}else return null}else return null};Vn({type:"supsub",htmlBuilder:function(ce,ve){var _e=Ya(ce,ve);if(_e)return _e(ce,ve);var ze=ce.base,ut=ce.sup,Pt=ce.sub,ar=Wn(ze,ve),wr,jr,hn=ve.fontMetrics(),Tn=0,ti=0,Ai=ze&&g.isCharacterBox(ze);if(ut){var Ti=ve.havingStyle(ve.style.sup());wr=Wn(ut,Ti,ve),Ai||(Tn=ar.height-Ti.fontMetrics().supDrop*Ti.sizeMultiplier/ve.sizeMultiplier)}if(Pt){var zi=ve.havingStyle(ve.style.sub());jr=Wn(Pt,zi,ve),Ai||(ti=ar.depth+zi.fontMetrics().subDrop*zi.sizeMultiplier/ve.sizeMultiplier)}var na;ve.style===K.DISPLAY?na=hn.sup1:ve.style.cramped?na=hn.sup3:na=hn.sup2;var Ua=ve.sizeMultiplier,Ja=.5/hn.ptPerEm/Ua+"em",to=null;if(jr){var No=ce.base&&ce.base.type==="op"&&ce.base.name&&(ce.base.name==="\\oiint"||ce.base.name==="\\oiiint");(ar instanceof Ae||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,za=4*Do;if(Tn-wr.depth-(jr.height-ti)<za){ti=za-(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:Ja,marginLeft:to},{type:"elem",elem:wr,shift:-Tn,marginRight:Ja}];oo=jt.makeVList({positionType:"individualShift",children:ls},ve)}else if(jr){ti=Math.max(ti,hn.sub1,jr.height-.8*hn.xHeight);var wo=[{type:"elem",elem:jr,marginLeft:to,marginRight:Ja}];oo=jt.makeVList({positionType:"shift",positionData:ti,children:wo},ve)}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:Ja}]},ve);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])],ve)},mathmlBuilder:function(ce,ve){var _e=!1,ze,ut,Pt=Ar(ce.base,"horizBrace");Pt&&(ut=!!ce.sup,ut===Pt.isOver&&(_e=!0,ze=Pt.isOver)),ce.base&&(ce.base.type==="op"||ce.base.type==="operatorname")&&(ce.base.parentIsSupSub=!0);var ar=[ni(ce.base,ve)];ce.sub&&ar.push(ni(ce.sub,ve)),ce.sup&&ar.push(ni(ce.sup,ve));var wr;if(_e)wr=ze?"mover":"munder";else if(ce.sub)if(ce.sup){var Tn=ce.base;Tn&&Tn.type==="op"&&Tn.limits&&ve.style===K.DISPLAY||Tn&&Tn.type==="operatorname"&&Tn.alwaysHandleSupSub&&(ve.style===K.DISPLAY||Tn.limits)?wr="munderover":wr="msubsup"}else{var hn=ce.base;hn&&hn.type==="op"&&hn.limits&&(ve.style===K.DISPLAY||hn.alwaysHandleSupSub)||hn&&hn.type==="operatorname"&&hn.alwaysHandleSupSub&&(hn.limits||ve.style===K.DISPLAY)?wr="munder":wr="msub"}else{var jr=ce.base;jr&&jr.type==="op"&&jr.limits&&(ve.style===K.DISPLAY||jr.alwaysHandleSupSub)||jr&&jr.type==="operatorname"&&jr.alwaysHandleSupSub&&(jr.limits||ve.style===K.DISPLAY)?wr="mover":wr="msup"}var ti=new Qn.MathNode(wr,ar);return ti}}),Vn({type:"atom",htmlBuilder:function(ce,ve){return jt.mathsym(ce.text,ce.mode,ve,["m"+ce.family])},mathmlBuilder:function(ce,ve){var _e=new Qn.MathNode("mo",[Xr(ce.text,ce.mode)]);if(ce.family==="bin"){var ze=Ri(ce,ve);ze==="bold-italic"&&_e.setAttribute("mathvariant",ze)}else ce.family==="punct"?_e.setAttribute("separator","true"):(ce.family==="open"||ce.family==="close")&&_e.setAttribute("stretchy","false");return _e}});var lo={mi:"italic",mn:"normal",mtext:"normal"};Vn({type:"mathord",htmlBuilder:function(ce,ve){return jt.makeOrd(ce,ve,"mathord")},mathmlBuilder:function(ce,ve){var _e=new Qn.MathNode("mi",[Xr(ce.text,ce.mode,ve)]),ze=Ri(ce,ve)||"italic";return ze!==lo[_e.type]&&_e.setAttribute("mathvariant",ze),_e}}),Vn({type:"textord",htmlBuilder:function(ce,ve){return jt.makeOrd(ce,ve,"textord")},mathmlBuilder:function(ce,ve){var _e=Xr(ce.text,ce.mode,ve),ze=Ri(ce,ve)||"normal",ut;return ce.mode==="text"?ut=new Qn.MathNode("mtext",[_e]):/[0-9]/.test(ce.text)?ut=new Qn.MathNode("mn",[_e]):ce.text==="\\prime"?ut=new Qn.MathNode("mo",[_e]):ut=new Qn.MathNode("mi",[_e]),ze!==lo[ut.type]&&ut.setAttribute("mathvariant",ze),ut}});var Ci={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Sa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Vn({type:"spacing",htmlBuilder:function(ce,ve){if(Sa.hasOwnProperty(ce.text)){var _e=Sa[ce.text].className||"";if(ce.mode==="text"){var ze=jt.makeOrd(ce,ve,"textord");return ze.classes.push(_e),ze}else return jt.makeSpan(["mspace",_e],[jt.mathsym(ce.text,ce.mode,ve)],ve)}else{if(Ci.hasOwnProperty(ce.text))return jt.makeSpan(["mspace",Ci[ce.text]],[],ve);throw new u('Unknown type of space "'+ce.text+'"')}},mathmlBuilder:function(ce,ve){var _e;if(Sa.hasOwnProperty(ce.text))_e=new Qn.MathNode("mtext",[new Qn.TextNode("\xA0")]);else{if(Ci.hasOwnProperty(ce.text))return new Qn.MathNode("mspace");throw new u('Unknown type of space "'+ce.text+'"')}return _e}});var bo=function(){var ce=new Qn.MathNode("mtd",[]);return ce.setAttribute("width","50%"),ce};Vn({type:"tag",mathmlBuilder:function(ce,ve){var _e=new Qn.MathNode("mtable",[new Qn.MathNode("mtr",[bo(),new Qn.MathNode("mtd",[Ui(ce.body,ve)]),bo(),new Qn.MathNode("mtd",[Ui(ce.tag,ve)])])]);return _e.setAttribute("width","100%"),_e}});var Bo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Oo={"\\textbf":"textbf","\\textmd":"textmd"},gs={"\\textit":"textit","\\textup":"textup"},ds=function(ce,ve){var _e=ce.font;return _e?Bo[_e]?ve.withTextFontFamily(Bo[_e]):Oo[_e]?ve.withTextFontWeight(Oo[_e]):ve.withTextFontShape(gs[_e]):ve};Qr({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(ce,ve){var _e=ce.parser,ze=ce.funcName,ut=ve[0];return{type:"text",mode:_e.mode,body:Hn(ut),font:ze}},htmlBuilder:function(ce,ve){var _e=ds(ce,ve),ze=qr(ce.body,_e,!0);return jt.makeSpan(["mord","text"],jt.tryCombineChars(ze),_e)},mathmlBuilder:function(ce,ve){var _e=ds(ce,ve);return Ui(ce.body,_e)}}),Qr({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(ce,ve){var _e=ce.parser;return{type:"underline",mode:_e.mode,body:ve[0]}},htmlBuilder:function(ce,ve){var _e=Wn(ce.body,ve),ze=jt.makeLineSpan("underline-line",ve),ut=ve.fontMetrics().defaultRuleThickness,Pt=jt.makeVList({positionType:"top",positionData:_e.height,children:[{type:"kern",size:ut},{type:"elem",elem:ze},{type:"kern",size:3*ut},{type:"elem",elem:_e}]},ve);return jt.makeSpan(["mord","underline"],[Pt],ve)},mathmlBuilder:function(ce,ve){var _e=new Qn.MathNode("mo",[new Qn.TextNode("\u203E")]);_e.setAttribute("stretchy","true");var ze=new Qn.MathNode("munder",[ni(ce.body,ve),_e]);return ze.setAttribute("accentunder","true"),ze}}),Qr({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(ce,ve,_e){throw new u("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(ce,ve){for(var _e=hs(ce),ze=[],ut=ve.havingStyle(ve.style.text()),Pt=0;Pt<_e.length;Pt++){var ar=_e[Pt];ar==="~"&&(ar="\\textasciitilde"),ze.push(jt.makeSymbol(ar,"Typewriter-Regular",ce.mode,ut,["mord","texttt"]))}return jt.makeSpan(["mord","text"].concat(ut.sizingClasses(ve)),jt.tryCombineChars(ze),ut)},mathmlBuilder:function(ce,ve){var _e=new Qn.TextNode(hs(ce)),ze=new Qn.MathNode("mtext",[_e]);return ze.setAttribute("mathvariant","monospace"),ze}});var hs=function(ce){return ce.body.replace(/ /g,ce.star?"\u2423":"\xA0")},ss=rn,$a=ss,Na=`[ \r
|
|
|
]`,Vo="\\\\[a-zA-Z@]+",Jo="\\\\[^\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)+("|"+Jo+")"),Lo=function(){function dt(ve,_e){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=ve,this.settings=_e,this.tokenRegex=new RegExp(Uo,"g"),this.catcodes={"%":14}}var ce=dt.prototype;return ce.setCatcode=function(_e,ze){this.catcodes[_e]=ze},ce.lex=function(){var _e=this.input,ze=this.tokenRegex.lastIndex;if(ze===_e.length)return new p("EOF",new v(this,ze,ze));var ut=this.tokenRegex.exec(_e);if(ut===null||ut.index!==ze)throw new u("Unexpected character: '"+_e[ze]+"'",new p(_e[ze],new v(this,ze,ze+1)));var Pt=ut[2]||" ";if(this.catcodes[Pt]===14){var ar=_e.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return ar===-1?(this.tokenRegex.lastIndex=_e.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 v(this,ze,this.tokenRegex.lastIndex))},dt}(),Yo=function(){function dt(ve,_e){ve===void 0&&(ve={}),_e===void 0&&(_e={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=_e,this.builtins=ve,this.undefStack=[]}var ce=dt.prototype;return ce.beginGroup=function(){this.undefStack.push({})},ce.endGroup=function(){if(this.undefStack.length===0)throw new u("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var _e=this.undefStack.pop();for(var ze in _e)_e.hasOwnProperty(ze)&&(_e[ze]===void 0?delete this.current[ze]:this.current[ze]=_e[ze])},ce.has=function(_e){return this.current.hasOwnProperty(_e)||this.builtins.hasOwnProperty(_e)},ce.get=function(_e){return this.current.hasOwnProperty(_e)?this.current[_e]:this.builtins[_e]},ce.set=function(_e,ze,ut){if(ut===void 0&&(ut=!1),ut){for(var Pt=0;Pt<this.undefStack.length;Pt++)delete this.undefStack[Pt][_e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][_e]=ze)}else{var ar=this.undefStack[this.undefStack.length-1];ar&&!ar.hasOwnProperty(_e)&&(ar[_e]=this.current[_e])}this.current[_e]=ze},dt}(),Ko={},jo=Ko;function Or(dt,ce){Ko[dt]=ce}Or("\\@firstoftwo",function(dt){var ce=dt.consumeArgs(2);return{tokens:ce[0],numArgs:0}}),Or("\\@secondoftwo",function(dt){var ce=dt.consumeArgs(2);return{tokens:ce[1],numArgs:0}}),Or("\\@ifnextchar",function(dt){var ce=dt.consumeArgs(3),ve=dt.future();return ce[0].length===1&&ce[0][0].text===ve.text?{tokens:ce[1],numArgs:0}:{tokens:ce[2],numArgs:0}}),Or("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Or("\\TextOrMath",function(dt){var ce=dt.consumeArgs(2);return dt.mode==="text"?{tokens:ce[0],numArgs:0}:{tokens:ce[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 ce=dt.popToken(),ve,_e="";if(ce.text==="'")ve=8,ce=dt.popToken();else if(ce.text==='"')ve=16,ce=dt.popToken();else if(ce.text==="`")if(ce=dt.popToken(),ce.text[0]==="\\")_e=ce.text.charCodeAt(1);else{if(ce.text==="EOF")throw new u("\\char` missing argument");_e=ce.text.charCodeAt(0)}else ve=10;if(ve){if(_e=ui[ce.text],_e==null||_e>=ve)throw new u("Invalid base-"+ve+" digit "+ce.text);for(var ze;(ze=ui[dt.future().text])!=null&&ze<ve;)_e*=ve,_e+=ze,dt.popToken()}return"\\@char{"+_e+"}"});var vs=function(ce,ve){var _e=ce.consumeArgs(1)[0];if(_e.length!==1)throw new u("\\gdef's first argument must be a macro name");var ze=_e[0].text,ut=0;for(_e=ce.consumeArgs(1)[0];_e.length===1&&_e[0].text==="#";){if(_e=ce.consumeArgs(1)[0],_e.length!==1)throw new u('Invalid argument number length "'+_e.length+'"');if(!/^[1-9]$/.test(_e[0].text))throw new u('Invalid argument number "'+_e[0].text+'"');if(ut++,parseInt(_e[0].text)!==ut)throw new u('Argument number "'+_e[0].text+'" out of order');_e=ce.consumeArgs(1)[0]}return ce.macros.set(ze,{tokens:_e,numArgs:ut},ve),""};Or("\\gdef",function(dt){return vs(dt,!0)}),Or("\\def",function(dt){return vs(dt,!1)}),Or("\\global",function(dt){var ce=dt.consumeArgs(1)[0];if(ce.length!==1)throw new u("Invalid command after \\global");var ve=ce[0].text;if(ve==="\\def")return vs(dt,!0);throw new u("Invalid command '"+ve+"' after \\global")});var rl=function(ce,ve,_e){var ze=ce.consumeArgs(1)[0];if(ze.length!==1)throw new u("\\newcommand's first argument must be a macro name");var ut=ze[0].text,Pt=ce.isDefined(ut);if(Pt&&!ve)throw new u("\\newcommand{"+ut+"} attempting to redefine "+(ut+"; use \\renewcommand"));if(!Pt&&!_e)throw new u("\\renewcommand{"+ut+"} when command "+ut+" does not yet exist; use \\newcommand");var ar=0;if(ze=ce.consumeArgs(1)[0],ze.length===1&&ze[0].text==="["){for(var wr="",jr=ce.expandNextToken();jr.text!=="]"&&jr.text!=="EOF";)wr+=jr.text,jr=ce.expandNextToken();if(!wr.match(/^\s*[0-9]+\s*$/))throw new u("Invalid number of arguments: "+wr);ar=parseInt(wr),ze=ce.consumeArgs(1)[0]}return ce.macros.set(ut,{tokens:ze,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 ce="\\dotso",ve=dt.expandAfterFuture().text;return ve in Ps?ce=Ps[ve]:ve.substr(0,4)==="\\not"?ce="\\dotsb":ve in Ge.math&&(g.contains(["bin","rel"],Ge.math[ve].group)&&(ce="\\dotsb")),ce});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 ce=dt.future().text;return ce in Ks?"\\ldots\\,":"\\ldots"}),Or("\\dotsc",function(dt){var ce=dt.future().text;return ce in Ks&&ce!==","?"\\ldots\\,":"\\ldots"}),Or("\\cdots",function(dt){var ce=dt.future().text;return ce 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 u("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=tt["Main-Regular"]["T".charCodeAt(0)][1]-.7*tt["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(ve,_e,ze){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=_e,this.expansionCount=0,this.feed(ve),this.macros=new Yo(jo,_e.macros),this.mode=ze,this.stack=[]}var ce=dt.prototype;return ce.feed=function(_e){this.lexer=new Lo(_e,this.settings)},ce.switchMode=function(_e){this.mode=_e},ce.beginGroup=function(){this.macros.beginGroup()},ce.endGroup=function(){this.macros.endGroup()},ce.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},ce.popToken=function(){return this.future(),this.stack.pop()},ce.pushToken=function(_e){this.stack.push(_e)},ce.pushTokens=function(_e){var ze;(ze=this.stack).push.apply(ze,_e)},ce.consumeSpaces=function(){for(;;){var _e=this.future();if(_e.text===" ")this.stack.pop();else break}},ce.consumeArgs=function(_e){for(var ze=[],ut=0;ut<_e;++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 u("End of input in macro argument",Pt)}ar.pop(),ar.reverse(),ze[ut]=ar}else{if(Pt.text==="EOF")throw new u("End of input expecting macro argument");ze[ut]=[Pt]}}return ze},ce.expandOnce=function(){var _e=this.popToken(),ze=_e.text,ut=this._getExpansion(ze);if(ut==null)return this.pushToken(_e),_e;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new u("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 u("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 u("Not a valid argument number",jr)}}}return this.pushTokens(Pt),Pt},ce.expandAfterFuture=function(){return this.expandOnce(),this.future()},ce.expandNextToken=function(){for(;;){var _e=this.expandOnce();if(_e instanceof p)if(_e.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},ce.expandMacro=function(_e){if(!this.macros.get(_e))return;var ze=[],ut=this.stack.length;for(this.pushToken(new p(_e));this.stack.length>ut;){var Pt=this.expandOnce();Pt instanceof p&&ze.push(this.stack.pop())}return ze},ce.expandMacroAsText=function(_e){var ze=this.expandMacro(_e);return ze&&ze.map(function(ut){return ut.text}).join("")},ce._getExpansion=function(_e){var ze=this.macros.get(_e);if(ze==null)return ze;var ut=typeof ze=="function"?ze(this):ze;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},ce.isDefined=function(_e){return this.macros.has(_e)||$a.hasOwnProperty(_e)||Ge.math.hasOwnProperty(_e)||Ge.text.hasOwnProperty(_e)||xs.hasOwnProperty(_e)},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(ve,_e){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(ve,_e,this.mode),this.settings=_e,this.leftrightDepth=0}var ce=dt.prototype;return ce.expect=function(_e,ze){if(ze===void 0&&(ze=!0),this.fetch().text!==_e)throw new u("Expected '"+_e+"', got '"+this.fetch().text+"'",this.fetch());ze&&this.consume()},ce.consume=function(){this.nextToken=null},ce.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},ce.switchMode=function(_e){this.mode=_e,this.gullet.switchMode(_e)},ce.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var _e=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),_e},ce.parseExpression=function(_e,ze){for(var ut=[];;){this.mode==="math"&&this.consumeSpaces();var Pt=this.fetch();if(dt.endOfExpression.indexOf(Pt.text)!==-1)break;if(ze&&Pt.text===ze)break;if(_e&&$a[Pt.text]&&$a[Pt.text].infix)break;var ar=this.parseAtom(ze);if(!ar)break;ut.push(ar)}return this.mode==="text"&&this.formLigatures(ut),this.handleInfixNodes(ut)},ce.handleInfixNodes=function(_e){for(var ze=-1,ut,Pt=0;Pt<_e.length;Pt++){var ar=Ar(_e[Pt],"infix");if(ar){if(ze!==-1)throw new u("only one infix operator per group",ar.token);ze=Pt,ut=ar.replaceWith}}if(ze!==-1&&ut){var wr,jr,hn=_e.slice(0,ze),Tn=_e.slice(ze+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,_e[ze],jr],[]):ti=this.callFunction(ut,[wr,jr],[]),[ti]}else return _e},ce.handleSupSubscript=function(_e){var ze=this.fetch(),ut=ze.text;this.consume();var Pt=this.parseGroup(_e,!1,dt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Pt)throw new u("Expected group after '"+ut+"'",ze);return Pt},ce.formatUnsupportedCmd=function(_e){for(var ze=[],ut=0;ut<_e.length;ut++)ze.push({type:"textord",mode:"text",text:_e[ut]});var Pt={type:"text",mode:this.mode,body:ze},ar={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Pt]};return ar},ce.parseAtom=function(_e){var ze=this.parseGroup("atom",!1,null,_e);if(this.mode==="text")return ze;for(var ut,Pt;;){this.consumeSpaces();var ar=this.fetch();if(ar.text==="\\limits"||ar.text==="\\nolimits"){var wr=Ar(ze,"op");if(wr){var jr=ar.text==="\\limits";wr.limits=jr,wr.alwaysHandleSupSub=!0}else if(wr=Ar(ze,"operatorname"),wr&&wr.alwaysHandleSupSub){var hn=ar.text==="\\limits";wr.limits=hn}else throw new u("Limit controls must follow a math operator",ar);this.consume()}else if(ar.text==="^"){if(ut)throw new u("Double superscript",ar);ut=this.handleSupSubscript("superscript")}else if(ar.text==="_"){if(Pt)throw new u("Double subscript",ar);Pt=this.handleSupSubscript("subscript")}else if(ar.text==="'"){if(ut)throw new u("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:ze,sup:ut,sub:Pt}:ze},ce.parseFunction=function(_e,ze,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 u("Got function '"+ar+"' with no arguments"+(ze?" as "+ze:""),Pt);if(this.mode==="text"&&!wr.allowedInText)throw new u("Can't use function '"+ar+"' in text mode",Pt);if(this.mode==="math"&&wr.allowedInMath===!1)throw new u("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,_e)},ce.callFunction=function(_e,ze,ut,Pt,ar){var wr={funcName:_e,parser:this,token:Pt,breakOnTokenText:ar},jr=$a[_e];if(jr&&jr.handler)return jr.handler(wr,ze,ut);throw new u("No function handler for "+_e)},ce.parseArguments=function(_e,ze){var ut=ze.numArgs+ze.numOptionalArgs;if(ut===0)return{args:[],optArgs:[]};for(var Pt=ze.greediness,ar=[],wr=[],jr=0;jr<ut;jr++){var hn=ze.argTypes&&ze.argTypes[jr],Tn=jr<ze.numOptionalArgs,ti=jr>0&&!Tn||jr===0&&!Tn&&this.mode==="math",Ai=this.parseGroupOfType("argument to '"+_e+"'",hn,Tn,Pt,ti);if(!Ai){if(Tn){wr.push(null);continue}throw new u("Expected group after '"+_e+"'",this.fetch())}(Tn?wr:ar).push(Ai)}return{args:ar,optArgs:wr}},ce.parseGroupOfType=function(_e,ze,ut,Pt,ar){switch(ze){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(_e,ut,Pt,void 0,ze,ar);case"hbox":{var wr=this.parseGroup(_e,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 u("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(_e,ut,Pt,void 0,void 0,ar);default:throw new u("Unknown group type as "+_e,this.fetch())}},ce.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},ce.parseStringGroup=function(_e,ze,ut){var Pt=ze?"[":"{",ar=ze?"]":"}",wr=this.fetch();if(wr.text!==Pt){if(ze)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 u("Unexpected end of input in "+_e,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)},ce.parseRegexGroup=function(_e,ze){var ut=this.mode;this.mode="text";for(var Pt=this.fetch(),ar=Pt,wr="",jr;(jr=this.fetch()).text!=="EOF"&&_e.test(wr+jr.text);)ar=jr,wr+=ar.text,this.consume();if(wr==="")throw new u("Invalid "+ze+": '"+Pt.text+"'",Pt);return this.mode=ut,Pt.range(ar,wr)},ce.parseColorGroup=function(_e){var ze=this.parseStringGroup("color",_e);if(!ze)return null;var ut=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(ze.text);if(!ut)throw new u("Invalid color: '"+ze.text+"'",ze);var Pt=ut[0];return/^[0-9a-f]{6}$/i.test(Pt)&&(Pt="#"+Pt),{type:"color-token",mode:this.mode,color:Pt}},ce.parseSizeGroup=function(_e){var ze,ut=!1;if(!_e&&this.fetch().text!=="{"?ze=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):ze=this.parseStringGroup("size",_e),!ze)return null;!_e&&ze.text.length===0&&(ze.text="0pt",ut=!0);var Pt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(ze.text);if(!Pt)throw new u("Invalid size: '"+ze.text+"'",ze);var ar={number:+(Pt[1]+Pt[2]),unit:Pt[3]};if(!Cr(ar))throw new u("Invalid unit: '"+ar.unit+"'",ze);return{type:"size",mode:this.mode,value:ar,isBlank:ut}},ce.parseUrlGroup=function(_e,ze){this.gullet.lexer.setCatcode("%",13);var ut=this.parseStringGroup("url",_e,!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}},ce.parseGroup=function(_e,ze,ut,Pt,ar,wr){var jr=this.mode;ar&&this.switchMode(ar),wr&&this.consumeSpaces();var hn=this.fetch(),Tn=hn.text,ti;if(ze?Tn==="[":Tn==="{"||Tn==="\\begingroup"){this.consume();var Ai=dt.endOfGroup[Tn];this.gullet.beginGroup();var Ti=this.parseExpression(!1,Ai),zi=this.fetch();this.expect(Ai),this.gullet.endGroup(),ti={type:"ordgroup",mode:this.mode,loc:v.range(hn,zi),body:Ti,semisimple:Tn==="\\begingroup"||void 0}}else if(ze)ti=null;else if(ti=this.parseFunction(Pt,_e,ut)||this.parseSymbol(),ti==null&&Tn[0]==="\\"&&!xs.hasOwnProperty(Tn)){if(this.settings.throwOnError)throw new u("Undefined control sequence: "+Tn,hn);ti=this.formatUnsupportedCmd(Tn),this.consume()}return ar&&this.switchMode(jr),ti},ce.formLigatures=function(_e){for(var ze=_e.length-1,ut=0;ut<ze;++ut){var Pt=_e[ut],ar=Pt.text;ar==="-"&&_e[ut+1].text==="-"&&(ut+1<ze&&_e[ut+2].text==="-"?(_e.splice(ut,3,{type:"textord",mode:"text",loc:v.range(Pt,_e[ut+2]),text:"---"}),ze-=2):(_e.splice(ut,2,{type:"textord",mode:"text",loc:v.range(Pt,_e[ut+1]),text:"--"}),ze-=1)),(ar==="'"||ar==="`")&&_e[ut+1].text===ar&&(_e.splice(ut,2,{type:"textord",mode:"text",loc:v.range(Pt,_e[ut+1]),text:ar+ar}),ze-=1)}},ce.parseSymbol=function(){var _e=this.fetch(),ze=_e.text;if(/^\\verb[^a-zA-Z]/.test(ze)){this.consume();var ut=ze.slice(5),Pt=ut.charAt(0)==="*";if(Pt&&(ut=ut.slice(1)),ut.length<2||ut.charAt(0)!==ut.slice(-1))throw new u(`\\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(ze[0])&&!Ge[this.mode][ze[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+ze[0]+'" used in math mode',_e),ze=Es[ze[0]]+ze.substr(1));var ar=Xo.exec(ze);ar&&(ze=ze.substring(0,ar.index),ze==="i"?ze="\u0131":ze==="j"&&(ze="\u0237"));var wr;if(Ge[this.mode][ze]){this.settings.strict&&this.mode==="math"&&$t.indexOf(ze)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+ze[0]+'" used in math mode',_e);var jr=Ge[this.mode][ze].group,hn=v.range(_e),Tn;if(Tt.hasOwnProperty(jr)){var ti=jr;Tn={type:"atom",mode:this.mode,family:ti,loc:hn,text:ze}}else Tn={type:jr,mode:this.mode,loc:hn,text:ze};wr=Tn}else if(ze.charCodeAt(0)>=128)this.settings.strict&&(J(ze.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+ze[0]+'" used in math mode',_e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+ze[0]+'"'+(" ("+ze.charCodeAt(0)+")"),_e)),wr={type:"textord",mode:"text",loc:v.range(_e),text:ze};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 u("Unknown accent ' "+Ti+"'",_e);var zi=Xs[Ti][this.mode];if(!zi)throw new u("Accent "+Ti+" unsupported in "+this.mode+" mode",_e);wr={type:"accent",mode:this.mode,loc:v.range(_e),label:zi,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(ce,ve){if(!(typeof ce=="string"||ce instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var _e=new _s(ce,ve);delete _e.gullet.macros.current["\\df@tag"];var ze=_e.parse();if(_e.gullet.macros.get("\\df@tag")){if(!ve.displayMode)throw new u("\\tag works only in display equations");_e.gullet.feed("\\df@tag"),ze=[{type:"tag",mode:"text",body:ze,tag:_e.parse()}]}return ze},Gs=pl,ro=function(ce,ve,_e){ve.textContent="";var ze=Lt(ce,_e).toNode();ve.appendChild(ze)};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 u("KaTeX doesn't work in quirks mode.")}));var eo=function(ce,ve){var _e=Lt(ce,ve).toMarkup();return _e},ho=function(ce,ve){var _e=new S(ve);return Gs(ce,_e)},yt=function(ce,ve,_e){if(_e.throwOnError||!(ce instanceof u))throw ce;var ze=jt.makeSpan(["katex-error"],[new Ae(ve)]);return ze.setAttribute("title",ce.toString()),ze.setAttribute("style","color:"+_e.errorColor),ze},Lt=function(ce,ve){var _e=new S(ve);try{var ze=Gs(ce,_e);return Yt(ze,ce,_e)}catch(ut){return yt(ut,ce,_e)}},Pr=function(ce,ve){var _e=new S(ve);try{var ze=Gs(ce,_e);return Ir(ze,ce,_e)}catch(ut){return yt(ut,ce,_e)}},pn={version:"0.11.1",render:ro,renderToString:eo,ParseError:u,__parse:ho,__renderToDomTree:Lt,__renderToHTMLTree:Pr,__setFontMetrics:pt,__defineSymbol:ie,__defineMacro:Or,__domTree:{Span:z,Anchor:Z,SymbolNode:Ae,SvgNode:Ne,PathNode:oe,LineNode:de}},Rn=A.default=pn}]).default})},P2ho:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.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};P.default=w},P47w:function(M,P,d){var w=d("hydK"),A=w.createElement,b=d("IMiH"),m=d("mFDi"),v=d("Fofx"),p=d("6GrX"),s=d("pzxd"),u=d("dqUG"),o=b.CMD,e=Array.prototype.join,r="none",i=Math.round,n=Math.sin,l=Math.cos,t=Math.PI,a=Math.PI*2,c=180/t,h=1e-4;function f(Q){return i(Q*1e4)/1e4}function g(Q){return Q<h&&Q>-h}function S(Q,V){var J=V?Q.textFill:Q.fill;return J!=null&&J!==r}function y(Q,V){var J=V?Q.textStroke:Q.stroke;return J!=null&&J!==r}function E(Q,V){V&&C(Q,"transform","matrix("+e.call(V,",")+")")}function C(Q,V,J){(!J||J.type!=="linear"&&J.type!=="radial")&&Q.setAttribute(V,J)}function T(Q,V,J){Q.setAttributeNS("http://www.w3.org/1999/xlink",V,J)}function x(Q,V,J,ae){if(S(V,J)){var se=J?V.textFill:V.fill;se=se==="transparent"?r:se,C(Q,"fill",se),C(Q,"fill-opacity",V.fillOpacity!=null?V.fillOpacity*V.opacity:V.opacity)}else C(Q,"fill",r);if(y(V,J)){var $=J?V.textStroke:V.stroke;$=$==="transparent"?r:$,C(Q,"stroke",$);var ge=J?V.textStrokeWidth:V.lineWidth,he=!J&&V.strokeNoScale?ae.getLineScale():1;C(Q,"stroke-width",ge/he),C(Q,"paint-order",J?"stroke":"fill"),C(Q,"stroke-opacity",V.strokeOpacity!=null?V.strokeOpacity:V.opacity);var Ie=V.lineDash;Ie?(C(Q,"stroke-dasharray",V.lineDash.join(",")),C(Q,"stroke-dashoffset",i(V.lineDashOffset||0))):C(Q,"stroke-dasharray",""),V.lineCap&&C(Q,"stroke-linecap",V.lineCap),V.lineJoin&&C(Q,"stroke-linejoin",V.lineJoin),V.miterLimit&&C(Q,"stroke-miterlimit",V.miterLimit)}else C(Q,"stroke",r)}function _(Q){for(var V=[],J=Q.data,ae=Q.len(),se=0;se<ae;){var $=J[se++],ge="",he=0;switch($){case o.M:ge="M",he=2;break;case o.L:ge="L",he=2;break;case o.Q:ge="Q",he=4;break;case o.C:ge="C",he=6;break;case o.A:var Ie=J[se++],Se=J[se++],Le=J[se++],He=J[se++],G=J[se++],pe=J[se++],We=J[se++],te=J[se++],X=Math.abs(pe),z=g(X-a)||(te?pe>=a:-pe>=a),Z=pe>0?pe%a:pe%a+a,be=!1;z?be=!0:g(X)?be=!1:be=Z>=t===!!te;var ne=f(Ie+Le*l(G)),Ae=f(Se+He*n(G));z&&(te?pe=a-1e-4:pe=-a+1e-4,be=!0,se===9&&V.push("M",ne,Ae));var Ne=f(Ie+Le*l(G+pe)),oe=f(Se+He*n(G+pe));V.push("A",f(Le),f(He),i(We*c),+be,+te,Ne,oe);break;case o.Z:ge="Z";break;case o.R:var Ne=f(J[se++]),oe=f(J[se++]),de=f(J[se++]),xe=f(J[se++]);V.push("M",Ne,oe,"L",Ne+de,oe,"L",Ne+de,oe+xe,"L",Ne,oe+xe,"L",Ne,oe);break}ge&&V.push(ge);for(var Pe=0;Pe<he;Pe++)V.push(f(J[se++]))}return V.join(" ")}var I={};I.brush=function(Q){var V=Q.style,J=Q.__svgEl;J||(J=A("path"),Q.__svgEl=J),Q.path||Q.createPathProxy();var ae=Q.path;if(Q.__dirtyPath){ae.beginPath(),ae.subPixelOptimize=!1,Q.buildPath(ae,Q.shape),Q.__dirtyPath=!1;var se=_(ae);se.indexOf("NaN")<0&&C(J,"d",se)}x(J,V,!1,Q),E(J,Q.transform),V.text!=null?R(Q,Q.getBoundingRect()):U(Q)};var L={};L.brush=function(Q){var V=Q.style,J=V.image;if(J instanceof HTMLImageElement){var ae=J.src;J=ae}if(!J)return;var se=V.x||0,$=V.y||0,ge=V.width,he=V.height,Ie=Q.__svgEl;Ie||(Ie=A("image"),Q.__svgEl=Ie),J!==Q.__imageSrc&&(T(Ie,"href",J),Q.__imageSrc=J),C(Ie,"width",ge),C(Ie,"height",he),C(Ie,"x",se),C(Ie,"y",$),E(Ie,Q.transform),V.text!=null?R(Q,Q.getBoundingRect()):U(Q)};var D={},B=new m,N={},k=[],W={left:"start",right:"end",center:"middle",middle:"middle"},R=function(V,J){var ae=V.style,se=V.transform,$=V instanceof u||ae.transformText;V.__dirty&&s.normalizeTextStyle(ae,!0);var ge=ae.text;if(ge!=null&&(ge+=""),!s.needDrawText(ge,ae))return;ge==null&&(ge=""),!$&&se&&(B.copy(J),B.applyTransform(se),J=B);var he=V.__textSvgEl;he||(he=A("text"),V.__textSvgEl=he);var Ie=he.style,Se=ae.font||p.DEFAULT_FONT,Le=he.__computedFont;Se!==he.__styleFont&&(Ie.font=he.__styleFont=Se,Le=he.__computedFont=Ie.font);var He=ae.textPadding,G=ae.textLineHeight,pe=V.__textCotentBlock;(!pe||V.__dirtyText)&&(pe=V.__textCotentBlock=p.parsePlainText(ge,Le,He,G,ae.truncate));var We=pe.outerHeight,te=pe.lineHeight;s.getBoxPosition(N,V,ae,J);var X=N.baseX,z=N.baseY,Z=N.textAlign||"left",be=N.textVerticalAlign;j(he,$,se,ae,J,X,z);var ne=p.adjustTextY(z,We,be),Ae=X,Ne=ne;He&&(Ae=H(X,Z,He),Ne+=He[0]),Ne+=te/2,x(he,ae,!0,V);var oe=pe.canCacheByTextString,de=V.__tspanList||(V.__tspanList=[]),xe=de.length;if(oe&&V.__canCacheByTextString&&V.__text===ge){if(V.__dirtyText&&xe)for(var Pe=0;Pe<xe;++Pe)K(de[Pe],Z,Ae,Ne+Pe*te)}else{V.__text=ge,V.__canCacheByTextString=oe;for(var tt=pe.lines,Je=tt.length,Pe=0;Pe<Je;Pe++){var Oe=de[Pe],pt=tt[Pe];Oe?Oe.__zrText!==pt&&(Oe.innerHTML="",Oe.appendChild(document.createTextNode(pt))):(Oe=de[Pe]=A("tspan"),he.appendChild(Oe),Oe.appendChild(document.createTextNode(pt))),K(Oe,Z,Ae,Ne+Pe*te)}if(xe>Je){for(;Pe<xe;Pe++)he.removeChild(de[Pe]);de.length=Je}}};function j(Q,V,J,ae,se,$,ge){v.identity(k),V&&J&&v.copy(k,J);var he=ae.textRotation;if(se&&he){var Ie=ae.textOrigin;Ie==="center"?($=se.width/2+se.x,ge=se.height/2+se.y):Ie&&($=Ie[0]+se.x,ge=Ie[1]+se.y),k[4]-=$,k[5]-=ge,v.rotate(k,k,he),k[4]+=$,k[5]+=ge}E(Q,k)}function H(Q,V,J){return V==="right"?Q-J[1]:V==="center"?Q+J[3]/2-J[1]/2:Q+J[3]}function K(Q,V,J,ae){C(Q,"dominant-baseline","middle"),C(Q,"text-anchor",W[V]),C(Q,"x",J),C(Q,"y",ae)}function U(Q){Q&&Q.__textSvgEl&&(Q.__textSvgEl.parentNode&&Q.__textSvgEl.parentNode.removeChild(Q.__textSvgEl),Q.__textSvgEl=null,Q.__tspanList=[],Q.__text=null)}D.drawRectText=R,D.brush=function(Q){var V=Q.style;V.text!=null?R(Q,!1):U(Q)},P.path=I,P.image=L,P.text=D},P4Qj:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.removeSensor=P.getSensor=void 0;var w=m(d("chpo")),A=d("FxDU"),b=d("24YM");function m(u){return u&&u.__esModule?u:{default:u}}var v={},p=function(o){var e=o.getAttribute(b.SizeSensorId);if(e&&v[e])return v[e];var r=(0,w.default)();o.setAttribute(b.SizeSensorId,r);var i=(0,A.createSensor)(o);return v[r]=i,i};P.getSensor=p;var s=function(o){var e=o.element.getAttribute(b.SizeSensorId);o.element.removeAttribute(b.SizeSensorId),o.destroy(),e&&v[e]&&delete v[e]};P.removeSensor=s},P5Jw:function(M,P,d){"use strict";var w=d("rHrb"),A=w.CopyToClipboard;A.CopyToClipboard=A,M.exports=A},P88I:function(M,P,d){"use strict";var w=d("wx14"),A=d("U8pU"),b=d("ODXe"),m=d("q1tI"),v=d.n(m),p=d("Zm9Q"),s=d("TSYQ"),u=d.n(s),o=d("bT9E"),e=d("j5T7"),r=d("9R2V"),i=d("bq+4"),n=d("kLeg"),l=e.a.Option;function t(h){return h&&h.type&&(h.type.isSelectOption||h.type.isSelectOptGroup)}var a=function(f,g){var S=f.prefixCls,y=f.className,E=f.children,C=f.dataSource,T=Object(p.a)(E),x;if(T.length===1&&Object(n.b)(T[0])&&!t(T[0])){var _=Object(b.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(D){if(Object(n.b)(D))return D;switch(Object(A.a)(D)){case"string":return m.createElement(l,{key:D,value:D},D);case"object":{var B=D.value;return m.createElement(l,{key:B,value:B},D.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],m.useEffect(function(){Object(i.a)(!("dataSource"in f),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(i.a)(!x||!("size"in f),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),m.createElement(r.a,null,function(D){var B=D.getPrefixCls,N=B("select",S);return m.createElement(e.a,Object(w.a)({ref:g},Object(o.a)(f,["dataSource"]),{prefixCls:N,className:u()("".concat(N,"-auto-complete"),y),mode:e.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:I}),L)})},c=m.forwardRef(a);c.Option=l,P.a=c},PD8m:function(M,P){M.exports={name:"memoryStorage",read:w,write:A,each:b,remove:m,clearAll:v};var d={};function w(p){return d[p]}function A(p,s){d[p]=s}function b(p){for(var s in d)d.hasOwnProperty(s)&&p(d[s],s)}function m(p){delete d[p]}function v(p){d={}}},PNag:function(M,P,d){var w=d("bYtY"),A=d("SKnc"),b=d("YH21"),m=d("crZl"),v=d("IwbS"),p=d("OELB"),s=d("72pK"),u=d("y7Aq"),o=d("4NO4"),e=p.linearMap,r=w.each,i=Math.min,n=Math.max,l=12,t=6,a=m.extend({type:"visualMap.continuous",init:function(){a.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"),D=I.itemSize,B=this._shapes.barGroup,N=this._applyTransform([D[0]/2,x===0?-L:D[1]+L],B),k=this._applyTransform(x===0?"bottom":"top",B),W=this._orient,R=this.visualMapModel.textStyleModel;this.group.add(new v.Text({style:{x:N[0],y:N[1],textVerticalAlign:W==="horizontal"?"middle":k,textAlign:W==="horizontal"?k:"center",text:_,textFont:R.getFont(),textFill:R.getTextColor()}}))},_renderBar:function(C){var T=this.visualMapModel,x=this._shapes,_=T.itemSize,I=this._orient,L=this._useHandle,D=u.getItemAlign(T,this.api,_),B=x.barGroup=this._createBarGroup(D);B.add(x.outOfRange=c()),B.add(x.inRange=c(null,L?y(this._orient):null,w.bind(this._dragHandle,this,"all",!1),w.bind(this._dragHandle,this,"all",!0)));var N=T.textStyleModel.getTextRect("\u56FD"),k=n(N.width,N.height);L&&(x.handleThumbs=[],x.handleLabels=[],x.handleLabelPoints=[],this._createHandle(B,0,_,k,I,D),this._createHandle(B,1,_,k,I,D)),this._createIndicator(B,_,k,I),C.add(B)},_createHandle:function(C,T,x,_,I){var L=w.bind(this._dragHandle,this,T,!1),D=w.bind(this._dragHandle,this,T,!0),B=c(h(T,_),y(this._orient),L,D);B.position[0]=x[0],C.add(B);var N=this.visualMapModel.textStyleModel,k=new v.Text({draggable:!0,drift:L,onmousemove:function(j){b.stop(j.event)},ondragend:D,style:{x:0,y:0,text:"",textFont:N.getFont(),textFill:N.getTextColor()}});this.group.add(k);var W=[I==="horizontal"?_/2:_*1.5,I==="horizontal"?T===0?-(_*1.5):_*1.5:T===0?-_/2:_/2],R=this._shapes;R.handleThumbs[T]=B,R.handleLabelPoints[T]=W,R.handleLabels[T]=k},_createIndicator:function(C,T,x,_){var I=c([[0,0]],"move");I.position[0]=T[0],I.attr({invisible:!0,silent:!0}),C.add(I);var L=this.visualMapModel.textStyleModel,D=new v.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:L.getFont(),textFill:L.getTextColor()}});this.group.add(D);var B=[_==="horizontal"?x/2:t+3,0],N=this._shapes;N.indicator=I,N.indicatorLabel=D,N.indicatorLabelPoint=B},_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]];s(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,D=this._createBarVisual(this._dataInterval,x,L,"inRange"),B=this._createBarVisual(x,x,I,"outOfRange");_.inRange.setStyle({fill:D.barColor,opacity:D.opacity}).setShape("points",D.barPoints),_.outOfRange.setStyle({fill:B.barColor,opacity:B.opacity}).setShape("points",B.barPoints),this._updateHandle(L,D)},_createBarVisual:function(C,T,x,_){var I={forceState:_,convertOpacityToAlpha:!0},L=this._makeColorGradient(C,I),D=[this.getControllerVisual(C[0],"symbolSize",I),this.getControllerVisual(C[1],"symbolSize",I)],B=this._createBarPoints(x,D);return{barColor:new A(0,0,0,1,L),barPoints:B,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 D=C[0]+I*L;if(D>C[1])break;_.push({color:this.getControllerVisual(D,"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 v.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;r([0,1],function(D){var B=I[D];B.setStyle("fill",T.handlesColor[D]),B.position[1]=C[D];var N=v.applyTransform(x.handleLabelPoints[D],v.getTransform(B,this.group));L[D].setStyle({x:N[0],y:N[1],text:_.formatValueText(this._dataInterval[D]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?D===0?"bottom":"top":"left",x.barGroup)})},this)},_showIndicator:function(C,T,x,_){var I=this.visualMapModel,L=I.getExtent(),D=I.itemSize,B=[0,D[1]],N=e(C,L,B,!0),k=this._shapes,W=k.indicator;if(!W)return;W.position[1]=N,W.attr("invisible",!1),W.setShape("points",f(!!x,_,N,D[1]));var R={convertOpacityToAlpha:!0},j=this.getControllerVisual(C,"color",R);W.setStyle("fill",j);var H=v.applyTransform(k.indicatorLabelPoint,v.getTransform(W,this.group)),K=k.indicatorLabel;K.attr("invisible",!1);var U=this._applyTransform("left",k.barGroup),Q=this._orient;K.setStyle({text:(x||"")+I.formatValueText(T),textVerticalAlign:Q==="horizontal"?U:"middle",textAlign:Q==="horizontal"?"center":U,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(n(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(n(I[0],C),I[1]);var D=g(x,L,I),B=[C-D,C+D],N=e(C,I,L,!0),k=[e(B[0],I,L,!0),e(B[1],I,L,!0)];B[0]<I[0]&&(k[0]=-Infinity),B[1]>I[1]&&(k[1]=Infinity),T&&(k[0]===-Infinity?this._showIndicator(N,k[1],"< ",D):k[1]===Infinity?this._showIndicator(N,k[0],"> ",D):this._showIndicator(N,N,"\u2248 ",D));var W=this._hoverLinkDataIndices,R=[];(T||S(x))&&(R=this._hoverLinkDataIndices=x.findTargetDataIndices(k));var j=o.compressBatches(W,R);this._dispatchHighDown("downplay",u.makeHighDownBatch(j[0],x)),this._dispatchHighDown("highlight",u.makeHighDownBatch(j[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",u.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=v.getTransform(T,_?null:this.group);return v[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 c(C,T,x,_){return new v.Polygon({shape:{points:C},draggable:!!x,cursor:T,drift:x,onmousemove:function(I){b.stop(I.event)},ondragend:_})}function h(C,T){return C===0?[[0,0],[T,0],[T,-T]]:[[0,0],[T,0],[T,T]]}function f(C,T,x,_){return C?[[0,-i(T,n(x,0))],[t,0],[0,i(T,n(_-x,0))]]:[[0,0],[5,-5],[5,5]]}function g(C,T,x){var _=l/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 y(C){return C==="vertical"?"ns-resize":"ew-resize"}var E=a;M.exports=E},"Ppy+":function(M,P,d){"use strict";d.d(P,"a",function(){return i});var w=d("wx14"),A=d("rePB"),b=d("ODXe"),m=d("q1tI"),v=d("TSYQ"),p=d.n(v),s=d("Zm9Q"),u=d("9R2V");function o(c){var h=c.className,f=c.direction,g=c.index,S=c.marginDirection,y=c.children,E=c.split,C=c.wrap,T=m.useContext(i),x=T.horizontalSize,_=T.verticalSize,I=T.latestIndex,L=T.supportFlexGap,D={};return L||(f==="vertical"?g<I&&(D={marginBottom:x/(E?2:1)}):D=Object(w.a)(Object(w.a)({},g<I&&Object(A.a)({},S,x/(E?2:1))),C&&{paddingBottom:_})),y==null?null:m.createElement(m.Fragment,null,m.createElement("div",{className:h,style:D},y),g<I&&E&&m.createElement("span",{className:"".concat(h,"-split"),style:D},E))}var e=d("xq47"),r=function(c,h){var f={};for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&h.indexOf(g)<0&&(f[g]=c[g]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,g=Object.getOwnPropertySymbols(c);S<g.length;S++)h.indexOf(g[S])<0&&Object.prototype.propertyIsEnumerable.call(c,g[S])&&(f[g[S]]=c[g[S]]);return f},i=m.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),n={small:8,middle:16,large:24};function l(c){return typeof c=="string"?n[c]:c||0}var t=function(h){var f,g=m.useContext(u.b),S=g.getPrefixCls,y=g.space,E=g.direction,C=h.size,T=C===void 0?(y==null?void 0:y.size)||"small":C,x=h.align,_=h.className,I=h.children,L=h.direction,D=L===void 0?"horizontal":L,B=h.prefixCls,N=h.split,k=h.style,W=h.wrap,R=W===void 0?!1:W,j=r(h,["size","align","className","children","direction","prefixCls","split","style","wrap"]),H=Object(e.a)(),K=m.useMemo(function(){return(Array.isArray(T)?T:[T,T]).map(function(G){return l(G)})},[T]),U=Object(b.a)(K,2),Q=U[0],V=U[1],J=Object(s.a)(I,{keepEmpty:!0}),ae=x===void 0&&D==="horizontal"?"center":x,se=S("space",B),$=p()(se,"".concat(se,"-").concat(D),(f={},Object(A.a)(f,"".concat(se,"-rtl"),E==="rtl"),Object(A.a)(f,"".concat(se,"-align-").concat(ae),ae),f),_),ge="".concat(se,"-item"),he=E==="rtl"?"marginLeft":"marginRight",Ie=0,Se=J.map(function(G,pe){return G!=null&&(Ie=pe),m.createElement(o,{className:ge,key:"".concat(ge,"-").concat(pe),direction:D,index:pe,marginDirection:he,split:N,wrap:R},G)}),Le=m.useMemo(function(){return{horizontalSize:Q,verticalSize:V,latestIndex:Ie,supportFlexGap:H}},[Q,V,Ie,H]);if(J.length===0)return null;var He={};return R&&(He.flexWrap="wrap",H||(He.marginBottom=-V)),H&&(He.columnGap=Q,He.rowGap=V),m.createElement("div",Object(w.a)({className:$,style:Object(w.a)(Object(w.a)({},He),k)},j),m.createElement(i.Provider,{value:Le},Se))},a=P.b=t},ProS:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("aX58"),m=d("bYtY"),v=d("Qe9p"),p=d("ItGF"),s=d("BPZU"),u=d("H6uX"),o=d("fmMI"),e=d("hD7B"),r=d("IDmD"),i=d("ypgQ"),n=d("+wW9"),l=d("0V0F"),t=d("bLfw"),a=d("T4UG"),c=d("sS/r"),h=d("6Ic6"),f=d("IwbS"),g=d("4NO4"),S=d("iLNv"),y=S.throttle,E=d("/WM3"),C=d("uAnK"),T=d("mYwL"),x=d("af/B"),_=d("xTNl"),I=d("8hn6");d("A1Ka");var L=d("7DRL"),D=m.assert,B=m.each,N=m.isFunction,k=m.isObject,W=t.parseClassType,R="4.8.0",j={zrender:"4.3.1"},H=1,K=1e3,U=800,Q=900,V=5e3,J=1e3,ae=1100,se=2e3,$=3e3,ge=3500,he=4e3,Ie=5e3,Se={PROCESSOR:{FILTER:K,SERIES_FILTER:U,STATISTIC:V},VISUAL:{LAYOUT:J,PROGRESSIVE_LAYOUT:ae,GLOBAL:se,CHART:$,POST_CHART_LAYOUT:ge,COMPONENT:he,BRUSH:Ie}},Le="__flagInMainProcess",He="__optionUpdated",G=/^[a-zA-Z0-9_]+$/;function pe(Bt,cr){return function(Cr,Br,zr){if(!cr&&this._disposed){bt(this.id);return}Cr=Cr&&Cr.toLowerCase(),u.prototype[Bt].call(this,Cr,Br,zr)}}function We(){u.call(this)}We.prototype.on=pe("on",!0),We.prototype.off=pe("off",!0),We.prototype.one=pe("one",!0),m.mixin(We,u);function te(Bt,cr,Cr){Cr=Cr||{},typeof cr=="string"&&(cr=rt[cr]),this.id,this.group,this._dom=Bt;var Br="canvas",zr=this._zr=b.init(Bt,{renderer:Cr.renderer||Br,devicePixelRatio:Cr.devicePixelRatio,width:Cr.width,height:Cr.height});this._throttledZrFlush=y(m.bind(zr.flush,zr),17);var cr=m.clone(cr);cr&&n(cr,!0),this._theme=cr,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new r;var An=this._api=Ge(this);function bn(Sn,Mn){return Sn.__prio-Mn.__prio}s(wt,bn),s(Ce,bn),this._scheduler=new x(this,An,Ce,wt),u.call(this,this._ecEventProcessor=new ie),this._messageCenter=new We,this._initEvents(),this.resize=m.bind(this.resize,this),this._pendingActions=[],zr.animation.on("frame",this._onframe,this),xe(zr,this),m.setAsPrimitive(this)}var X=te.prototype;X._onframe=function(){if(this._disposed)return;var Bt=this._scheduler;if(this[He]){var cr=this[He].silent;this[Le]=!0,be(this),Z.update.call(this),this[Le]=!1,this[He]=!1,oe.call(this,cr),de.call(this,cr)}else if(Bt.unfinished){var Cr=H,Br=this._model,zr=this._api;Bt.unfinished=!1;do{var An=+new Date;Bt.performSeriesTasks(Br),Bt.performDataProcessorTasks(Br),Ae(this,Br),Bt.performVisualTasks(Br),pt(this,this._model,zr,"remain"),Cr-=+new Date-An}while(Cr>0&&Bt.unfinished);Bt.unfinished||this._zr.flush()}},X.getDom=function(){return this._dom},X.getZr=function(){return this._zr},X.setOption=function(Bt,cr,Cr){if(this._disposed){bt(this.id);return}var Br;if(k(cr)&&(Cr=cr.lazyUpdate,Br=cr.silent,cr=cr.notMerge),this[Le]=!0,!this._model||cr){var zr=new i(this._api),An=this._theme,bn=this._model=new o;bn.scheduler=this._scheduler,bn.init(null,null,An,zr)}this._model.setOption(Bt,le),Cr?(this[He]={silent:Br},this[Le]=!1):(be(this),Z.update.call(this),this._zr.flush(),this[He]=!1,this[Le]=!1,oe.call(this,Br),de.call(this,Br))},X.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},X.getModel=function(){return this._model},X.getOption=function(){return this._model&&this._model.getOption()},X.getWidth=function(){return this._zr.getWidth()},X.getHeight=function(){return this._zr.getHeight()},X.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},X.getRenderedCanvas=function(Bt){if(!p.canvasSupported)return;Bt=Bt||{},Bt.pixelRatio=Bt.pixelRatio||1,Bt.backgroundColor=Bt.backgroundColor||this._model.get("backgroundColor");var cr=this._zr;return cr.painter.getRenderedCanvas(Bt)},X.getSvgDataURL=function(){if(!p.svgSupported)return;var Bt=this._zr,cr=Bt.storage.getDisplayList();return m.each(cr,function(Cr){Cr.stopAnimation(!0)}),Bt.painter.toDataURL()},X.getDataURL=function(Bt){if(this._disposed){bt(this.id);return}Bt=Bt||{};var cr=Bt.excludeComponents,Cr=this._model,Br=[],zr=this;B(cr,function(bn){Cr.eachComponent({mainType:bn},function(Sn){var Mn=zr._componentsMap[Sn.__viewId];Mn.group.ignore||(Br.push(Mn),Mn.group.ignore=!0)})});var An=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(Bt).toDataURL("image/"+(Bt&&Bt.type||"png"));return B(Br,function(bn){bn.group.ignore=!1}),An},X.getConnectedDataURL=function(Bt){if(this._disposed){bt(this.id);return}if(!p.canvasSupported)return;var cr=Bt.type==="svg",Cr=this.group,Br=Math.min,zr=Math.max,An=Infinity;if(lr[Cr]){var bn=An,Sn=An,Mn=-An,ei=-An,Zn=[],ai=Bt&&Bt.pixelRatio||1;m.each(Gt,function(Ze,Xe){if(Ze.group===Cr){var qe=cr?Ze.getZr().painter.getSvgDom().innerHTML:Ze.getRenderedCanvas(m.clone(Bt)),mt=Ze.getDom().getBoundingClientRect();bn=Br(mt.left,bn),Sn=Br(mt.top,Sn),Mn=zr(mt.right,Mn),ei=zr(mt.bottom,ei),Zn.push({dom:qe,left:mt.left,top:mt.top})}}),bn*=ai,Sn*=ai,Mn*=ai,ei*=ai;var ii=Mn-bn,$e=ei-Sn,Te=m.createCanvas(),ke=b.init(Te,{renderer:cr?"svg":"canvas"});if(ke.resize({width:ii,height:$e}),cr){var Me="";return B(Zn,function(Ze){var Xe=Ze.left-bn,qe=Ze.top-Sn;Me+='<g transform="translate('+Xe+","+qe+')">'+Ze.dom+"</g>"}),ke.painter.getSvgRoot().innerHTML=Me,Bt.connectedBackgroundColor&&ke.painter.setBackgroundColor(Bt.connectedBackgroundColor),ke.refreshImmediately(),ke.painter.toDataURL()}else return Bt.connectedBackgroundColor&&ke.add(new f.Rect({shape:{x:0,y:0,width:ii,height:$e},style:{fill:Bt.connectedBackgroundColor}})),B(Zn,function(Ze){var Xe=new f.Image({style:{x:Ze.left*ai-bn,y:Ze.top*ai-Sn,image:Ze.dom}});ke.add(Xe)}),ke.refreshImmediately(),Te.toDataURL("image/"+(Bt&&Bt.type||"png"))}else return this.getDataURL(Bt)},X.convertToPixel=m.curry(z,"convertToPixel"),X.convertFromPixel=m.curry(z,"convertFromPixel");function z(Bt,cr,Cr){if(this._disposed){bt(this.id);return}var Br=this._model,zr=this._coordSysMgr.getCoordinateSystems(),An;cr=g.parseFinder(Br,cr);for(var bn=0;bn<zr.length;bn++){var Sn=zr[bn];if(Sn[Bt]&&(An=Sn[Bt](Br,cr,Cr))!=null)return An}}X.containPixel=function(Bt,cr){if(this._disposed){bt(this.id);return}var Cr=this._model,Br;return Bt=g.parseFinder(Cr,Bt),m.each(Bt,function(zr,An){An.indexOf("Models")>=0&&m.each(zr,function(bn){var Sn=bn.coordinateSystem;if(Sn&&Sn.containPoint)Br|=!!Sn.containPoint(cr);else if(An==="seriesModels"){var Mn=this._chartsMap[bn.__viewId];Mn&&Mn.containPoint&&(Br|=Mn.containPoint(cr,bn))}},this)},this),!!Br},X.getVisual=function(Bt,cr){var Cr=this._model;Bt=g.parseFinder(Cr,Bt,{defaultMainType:"series"});var Br=Bt.seriesModel,zr=Br.getData(),An=Bt.hasOwnProperty("dataIndexInside")?Bt.dataIndexInside:Bt.hasOwnProperty("dataIndex")?zr.indexOfRawIndex(Bt.dataIndex):null;return An!=null?zr.getItemVisual(An,cr):zr.getVisual(cr)},X.getViewOfComponentModel=function(Bt){return this._componentsMap[Bt.__viewId]},X.getViewOfSeriesModel=function(Bt){return this._chartsMap[Bt.__viewId]};var Z={prepareAndUpdate:function(Bt){be(this),Z.update.call(this,Bt)},update:function(Bt){var cr=this._model,Cr=this._api,Br=this._zr,zr=this._coordSysMgr,An=this._scheduler;if(!cr)return;An.restoreData(cr,Bt),An.performSeriesTasks(cr),zr.create(cr,Cr),An.performDataProcessorTasks(cr,Bt),Ae(this,cr),zr.update(cr,Cr),tt(cr),An.performVisualTasks(cr,Bt),Je(this,cr,Cr,Bt);var bn=cr.get("backgroundColor")||"transparent";if(p.canvasSupported)Br.setBackgroundColor(bn);else{var Sn=v.parse(bn);bn=v.stringify(Sn,"rgb"),Sn[3]===0&&(bn="transparent")}Qe(cr,Cr)},updateTransform:function(Bt){var cr=this._model,Cr=this,Br=this._api;if(!cr)return;var zr=[];cr.eachComponent(function(bn,Sn){var Mn=Cr.getViewOfComponentModel(Sn);if(Mn&&Mn.__alive)if(Mn.updateTransform){var ei=Mn.updateTransform(Sn,cr,Br,Bt);ei&&ei.update&&zr.push(Mn)}else zr.push(Mn)});var An=m.createHashMap();cr.eachSeries(function(bn){var Sn=Cr._chartsMap[bn.__viewId];if(Sn.updateTransform){var Mn=Sn.updateTransform(bn,cr,Br,Bt);Mn&&Mn.update&&An.set(bn.uid,1)}else An.set(bn.uid,1)}),tt(cr),this._scheduler.performVisualTasks(cr,Bt,{setDirty:!0,dirtyMap:An}),pt(Cr,cr,Br,Bt,An),Qe(cr,this._api)},updateView:function(Bt){var cr=this._model;if(!cr)return;h.markUpdateMethod(Bt,"updateView"),tt(cr),this._scheduler.performVisualTasks(cr,Bt,{setDirty:!0}),Je(this,this._model,this._api,Bt),Qe(cr,this._api)},updateVisual:function(Bt){Z.update.call(this,Bt)},updateLayout:function(Bt){Z.update.call(this,Bt)}};function be(Bt){var cr=Bt._model,Cr=Bt._scheduler;Cr.restorePipelines(cr),Cr.prepareStageTasks(),Pe(Bt,"component",cr,Cr),Pe(Bt,"chart",cr,Cr),Cr.plan()}function ne(Bt,cr,Cr,Br,zr){var An=Bt._model;if(!Br){B(Bt._componentsViews.concat(Bt._chartsViews),ei);return}var bn={};bn[Br+"Id"]=Cr[Br+"Id"],bn[Br+"Index"]=Cr[Br+"Index"],bn[Br+"Name"]=Cr[Br+"Name"];var Sn={mainType:Br,query:bn};zr&&(Sn.subType=zr);var Mn=Cr.excludeSeriesId;Mn!=null&&(Mn=m.createHashMap(g.normalizeToArray(Mn))),An&&An.eachComponent(Sn,function(Zn){(!Mn||Mn.get(Zn.id)==null)&&ei(Bt[Br==="series"?"_chartsMap":"_componentsMap"][Zn.__viewId])},Bt);function ei(Zn){Zn&&Zn.__alive&&Zn[cr]&&Zn[cr](Zn.__model,An,Bt._api,Cr)}}X.resize=function(Bt){if(this._disposed){bt(this.id);return}this._zr.resize(Bt);var cr=this._model;if(this._loadingFX&&this._loadingFX.resize(),!cr)return;var Cr=cr.resetOption("media"),Br=Bt&&Bt.silent;this[Le]=!0,Cr&&be(this),Z.update.call(this),this[Le]=!1,oe.call(this,Br),de.call(this,Br)};function Ae(Bt,cr){var Cr=Bt._chartsMap,Br=Bt._scheduler;cr.eachSeries(function(zr){Br.updateStreamModes(zr,Cr[zr.__viewId])})}X.showLoading=function(Bt,cr){if(this._disposed){bt(this.id);return}if(k(Bt)&&(cr=Bt,Bt=""),Bt=Bt||"default",this.hideLoading(),!It[Bt])return;var Cr=It[Bt](this._api,cr),Br=this._zr;this._loadingFX=Cr,Br.add(Cr)},X.hideLoading=function(){if(this._disposed){bt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},X.makeActionFromEvent=function(Bt){var cr=m.extend({},Bt);return cr.type=we[Bt.type],cr},X.dispatchAction=function(Bt,cr){if(this._disposed){bt(this.id);return}if(k(cr)||(cr={silent:!!cr}),!Y[Bt.type])return;if(!this._model)return;if(this[Le]){this._pendingActions.push(Bt);return}Ne.call(this,Bt,cr.silent),cr.flush?this._zr.flush(!0):cr.flush!==!1&&p.browser.weChat&&this._throttledZrFlush(),oe.call(this,cr.silent),de.call(this,cr.silent)};function Ne(Bt,cr){var Cr=Bt.type,Br=Bt.escapeConnect,zr=Y[Cr],An=zr.actionInfo,bn=(An.update||"update").split(":"),Sn=bn.pop();bn=bn[0]!=null&&W(bn[0]),this[Le]=!0;var Mn=[Bt],ei=!1;Bt.batch&&(ei=!0,Mn=m.map(Bt.batch,function($e){return $e=m.defaults(m.extend({},$e),Bt),$e.batch=null,$e}));var Zn=[],ai,ii=Cr==="highlight"||Cr==="downplay";B(Mn,function($e){ai=zr.action($e,this._model,this._api),ai=ai||m.extend({},$e),ai.type=An.event||ai.type,Zn.push(ai),ii?ne(this,Sn,$e,"series"):bn&&ne(this,Sn,$e,bn.main,bn.sub)},this),Sn!=="none"&&!ii&&!bn&&(this[He]?(be(this),Z.update.call(this,Bt),this[He]=!1):Z[Sn].call(this,Bt)),ei?ai={type:An.event||Cr,escapeConnect:Br,batch:Zn}:ai=Zn[0],this[Le]=!1,!cr&&this._messageCenter.trigger(ai.type,ai)}function oe(Bt){for(var cr=this._pendingActions;cr.length;){var Cr=cr.shift();Ne.call(this,Cr,Bt)}}function de(Bt){!Bt&&this.trigger("updated")}function xe(Bt,cr){Bt.on("rendered",function(){cr.trigger("rendered"),Bt.animation.isFinished()&&!cr[He]&&!cr._scheduler.unfinished&&!cr._pendingActions.length&&cr.trigger("finished")})}X.appendData=function(Bt){if(this._disposed){bt(this.id);return}var cr=Bt.seriesIndex,Cr=this.getModel(),Br=Cr.getSeriesByIndex(cr);Br.appendData(Bt),this._scheduler.unfinished=!0},X.on=pe("on",!1),X.off=pe("off",!1),X.one=pe("one",!1);function Pe(Bt,cr,Cr,Br){for(var zr=cr==="component",An=zr?Bt._componentsViews:Bt._chartsViews,bn=zr?Bt._componentsMap:Bt._chartsMap,Sn=Bt._zr,Mn=Bt._api,ei=0;ei<An.length;ei++)An[ei].__alive=!1;zr?Cr.eachComponent(function(ii,$e){ii!=="series"&&Zn($e)}):Cr.eachSeries(Zn);function Zn(ii){var $e="_ec_"+ii.id+"_"+ii.type,Te=bn[$e];if(!Te){var ke=W(ii.type),Me=zr?c.getClass(ke.main,ke.sub):h.getClass(ke.sub);Te=new Me,Te.init(Cr,Mn),bn[$e]=Te,An.push(Te),Sn.add(Te.group)}ii.__viewId=Te.__id=$e,Te.__alive=!0,Te.__model=ii,Te.group.__ecComponentInfo={mainType:ii.mainType,index:ii.componentIndex},!zr&&Br.prepareView(Te,ii,Cr,Mn)}for(var ei=0;ei<An.length;){var ai=An[ei];ai.__alive?ei++:(!zr&&ai.renderTask.dispose(),Sn.remove(ai.group),ai.dispose(Cr,Mn),An.splice(ei,1),delete bn[ai.__id],ai.__id=ai.group.__ecComponentInfo=null)}}function tt(Bt){Bt.clearColorPalette(),Bt.eachSeries(function(cr){cr.clearColorPalette()})}function Je(Bt,cr,Cr,Br){Oe(Bt,cr,Cr,Br),B(Bt._chartsViews,function(zr){zr.__alive=!1}),pt(Bt,cr,Cr,Br),B(Bt._chartsViews,function(zr){zr.__alive||zr.remove(cr,Cr)})}function Oe(Bt,cr,Cr,Br,zr){B(zr||Bt._componentsViews,function(An){var bn=An.__model;An.render(bn,cr,Cr,Br),Nt(bn,An)})}function pt(Bt,cr,Cr,Br,zr){var An=Bt._scheduler,bn;cr.eachSeries(function(Sn){var Mn=Bt._chartsMap[Sn.__viewId];Mn.__alive=!0;var ei=Mn.renderTask;An.updatePayload(ei,Br),zr&&zr.get(Sn.uid)&&ei.dirty(),bn|=ei.perform(An.getPerformArgs(ei)),Mn.group.silent=!!Sn.get("silent"),Nt(Sn,Mn),Ct(Sn,Mn)}),An.unfinished|=bn,Tt(Bt,cr),C(Bt._zr.dom,cr)}function Qe(Bt,cr){B(ot,function(Cr){Cr(Bt,cr)})}var nt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];X._initEvents=function(){B(nt,function(Bt){var cr=function(Cr){var Br=this.getModel(),zr=Cr.target,An,bn=Bt==="globalout";if(bn)An={};else if(zr&&zr.dataIndex!=null){var Sn=zr.dataModel||Br.getSeriesByIndex(zr.seriesIndex);An=Sn&&Sn.getDataParams(zr.dataIndex,zr.dataType,zr)||{}}else zr&&zr.eventData&&(An=m.extend({},zr.eventData));if(An){var Mn=An.componentType,ei=An.componentIndex;(Mn==="markLine"||Mn==="markPoint"||Mn==="markArea")&&(Mn="series",ei=An.seriesIndex);var Zn=Mn&&ei!=null&&Br.getComponent(Mn,ei),ai=Zn&&this[Zn.mainType==="series"?"_chartsMap":"_componentsMap"][Zn.__viewId];An.event=Cr,An.type=Bt,this._ecEventProcessor.eventInfo={targetEl:zr,packedEvent:An,model:Zn,view:ai},this.trigger(Bt,An)}};cr.zrEventfulCallAtLast=!0,this._zr.on(Bt,cr,this)},this),B(we,function(Bt,cr){this._messageCenter.on(cr,function(Cr){this.trigger(cr,Cr)},this)},this)},X.isDisposed=function(){return this._disposed},X.clear=function(){if(this._disposed){bt(this.id);return}this.setOption({series:[]},!0)},X.dispose=function(){if(this._disposed){bt(this.id);return}this._disposed=!0,g.setAttribute(this.getDom(),xt,"");var Bt=this._api,cr=this._model;B(this._componentsViews,function(Cr){Cr.dispose(cr,Bt)}),B(this._chartsViews,function(Cr){Cr.dispose(cr,Bt)}),this._zr.dispose(),delete Gt[this.id]},m.mixin(te,u);function bt(Bt){}function Tt(Bt,cr){var Cr=Bt._zr,Br=Cr.storage,zr=0;Br.traverse(function(An){zr++}),zr>cr.get("hoverLayerThreshold")&&!p.node&&cr.eachSeries(function(An){if(An.preventUsingHoverLayer)return;var bn=Bt._chartsMap[An.__viewId];bn.__alive&&bn.group.traverse(function(Sn){Sn.useHoverLayer=!0})})}function Ct(Bt,cr){var Cr=Bt.get("blendMode")||null;cr.group.traverse(function(Br){Br.isGroup||Br.style.blend!==Cr&&Br.setStyle("blend",Cr),Br.eachPendingDisplayable&&Br.eachPendingDisplayable(function(zr){zr.setStyle("blend",Cr)})})}function Nt(Bt,cr){var Cr=Bt.get("z"),Br=Bt.get("zlevel");cr.group.traverse(function(zr){zr.type!=="group"&&(Cr!=null&&(zr.z=Cr),Br!=null&&(zr.zlevel=Br))})}function Ge(Bt){var cr=Bt._coordSysMgr;return m.extend(new e(Bt),{getCoordinateSystems:m.bind(cr.getCoordinateSystems,cr),getComponentByElement:function(Cr){for(;Cr;){var Br=Cr.__ecComponentInfo;if(Br!=null)return Bt._model.getComponent(Br.mainType,Br.index);Cr=Cr.parent}}})}function ie(){this.eventInfo}ie.prototype={constructor:ie,normalizeQuery:function(Bt){var cr={},Cr={},Br={};if(m.isString(Bt)){var zr=W(Bt);cr.mainType=zr.main||null,cr.subType=zr.sub||null}else{var An=["Index","Name","Id"],bn={name:1,dataIndex:1,dataType:1};m.each(Bt,function(Sn,Mn){for(var ei=!1,Zn=0;Zn<An.length;Zn++){var ai=An[Zn],ii=Mn.lastIndexOf(ai);if(ii>0&&ii===Mn.length-ai.length){var $e=Mn.slice(0,ii);$e!=="data"&&(cr.mainType=$e,cr[ai.toLowerCase()]=Sn,ei=!0)}}bn.hasOwnProperty(Mn)&&(Cr[Mn]=Sn,ei=!0),ei||(Br[Mn]=Sn)})}return{cptQuery:cr,dataQuery:Cr,otherQuery:Br}},filter:function(Bt,cr,Cr){var Br=this.eventInfo;if(!Br)return!0;var zr=Br.targetEl,An=Br.packedEvent,bn=Br.model,Sn=Br.view;if(!bn||!Sn)return!0;var Mn=cr.cptQuery,ei=cr.dataQuery;return Zn(Mn,bn,"mainType")&&Zn(Mn,bn,"subType")&&Zn(Mn,bn,"index","componentIndex")&&Zn(Mn,bn,"name")&&Zn(Mn,bn,"id")&&Zn(ei,An,"name")&&Zn(ei,An,"dataIndex")&&Zn(ei,An,"dataType")&&(!Sn.filterForExposedEvent||Sn.filterForExposedEvent(Bt,cr.otherQuery,zr,An));function Zn(ai,ii,$e,Te){return ai[$e]==null||ii[Te||$e]===ai[$e]}},afterTrigger:function(){this.eventInfo=null}};var Y={},we={},Ce=[],le=[],ot=[],wt=[],rt={},It={},Gt={},lr={},pr=new Date-0,Rr=new Date-0,xt="_echarts_instance_";function Ot(Bt){var cr=0,Cr=1,Br=2,zr="__connectUpdateStatus";function An(bn,Sn){for(var Mn=0;Mn<bn.length;Mn++){var ei=bn[Mn];ei[zr]=Sn}}B(we,function(bn,Sn){Bt._messageCenter.on(Sn,function(Mn){if(lr[Bt.group]&&Bt[zr]!==cr){if(Mn&&Mn.escapeConnect)return;var ei=Bt.makeActionFromEvent(Mn),Zn=[];B(Gt,function(ai){ai!==Bt&&ai.group===Bt.group&&Zn.push(ai)}),An(Zn,cr),B(Zn,function(ai){ai[zr]!==Cr&&ai.dispatchAction(ei)}),An(Zn,Br)}})})}function At(Bt,cr,Cr){var Br=In(Bt);if(Br)return Br;var zr=new te(Bt,cr,Cr);return zr.id="ec_"+pr++,Gt[zr.id]=zr,g.setAttribute(Bt,xt,zr.id),Ot(zr),zr}function Jt(Bt){if(m.isArray(Bt)){var cr=Bt;Bt=null,B(cr,function(Cr){Cr.group!=null&&(Bt=Cr.group)}),Bt=Bt||"g_"+Rr++,B(cr,function(Cr){Cr.group=Bt})}return lr[Bt]=!0,Bt}function br(Bt){lr[Bt]=!1}var Lr=br;function Zr(Bt){typeof Bt=="string"?Bt=Gt[Bt]:Bt instanceof te||(Bt=In(Bt)),Bt instanceof te&&!Bt.isDisposed()&&Bt.dispose()}function In(Bt){return Gt[g.getAttribute(Bt,xt)]}function Gr(Bt){return Gt[Bt]}function Tr(Bt,cr){rt[Bt]=cr}function fr(Bt){le.push(Bt)}function vt(Bt,cr){$t(Ce,Bt,cr,K)}function ft(Bt){ot.push(Bt)}function De(Bt,cr,Cr){typeof cr=="function"&&(Cr=cr,cr="");var Br=k(Bt)?Bt.type:[Bt,Bt={event:cr}][0];Bt.event=(Bt.event||Br).toLowerCase(),cr=Bt.event,D(G.test(Br)&&G.test(cr)),Y[Br]||(Y[Br]={action:Cr,actionInfo:Bt}),we[cr]=Br}function je(Bt,cr){r.register(Bt,cr)}function Ye(Bt){var cr=r.get(Bt);if(cr)return cr.getDimensionsInfo?cr.getDimensionsInfo():cr.dimensions.slice()}function st(Bt,cr){$t(wt,Bt,cr,J,"layout")}function kt(Bt,cr){$t(wt,Bt,cr,$,"visual")}function $t(Bt,cr,Cr,Br,zr){(N(cr)||k(cr))&&(Cr=cr,cr=Br);var An=x.wrapStageHandler(Cr,zr);return An.__prio=cr,An.__raw=Cr,Bt.push(An),An}function Nr(Bt,cr){It[Bt]=cr}function yn(Bt){return t.extend(Bt)}function un(Bt){return c.extend(Bt)}function Kt(Bt){return a.extend(Bt)}function St(Bt){return h.extend(Bt)}function Mt(Bt){m.$override("createCanvas",Bt)}function Zt(Bt,cr,Cr){L.registerMap(Bt,cr,Cr)}function kr(Bt){var cr=L.retrieveMap(Bt);return cr&&cr[0]&&{geoJson:cr[0].geoJSON,specialAreas:cr[0].specialAreas}}kt(se,E),fr(n),vt(Q,l),Nr("default",T),De({type:"highlight",event:"highlight",update:"highlight"},m.noop),De({type:"downplay",event:"downplay",update:"downplay"},m.noop),Tr("light",_),Tr("dark",I);var Hr={};P.version=R,P.dependencies=j,P.PRIORITY=Se,P.init=At,P.connect=Jt,P.disConnect=br,P.disconnect=Lr,P.dispose=Zr,P.getInstanceByDom=In,P.getInstanceById=Gr,P.registerTheme=Tr,P.registerPreprocessor=fr,P.registerProcessor=vt,P.registerPostUpdate=ft,P.registerAction=De,P.registerCoordinateSystem=je,P.getCoordinateSystemDimensions=Ye,P.registerLayout=st,P.registerVisual=kt,P.registerLoading=Nr,P.extendComponentModel=yn,P.extendComponentView=un,P.extendSeriesModel=Kt,P.extendChartView=St,P.setCanvasCreator=Mt,P.registerMap=Zt,P.getMap=kr,P.dataTool=Hr;var $r=d("txkQ");(function(){for(var Bt in $r)$r.hasOwnProperty(Bt)&&(P[Bt]=$r[Bt])})()},Q7if:function(M,P,d){var w=d("JEkh"),A=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=A},QBsz:function(M,P){var d=typeof Float32Array=="undefined"?Array:Float32Array;function w(x,_){var I=new d(2);return x==null&&(x=0),_==null&&(_=0),I[0]=x,I[1]=_,I}function A(x,_){return x[0]=_[0],x[1]=_[1],x}function b(x){var _=new d(2);return _[0]=x[0],_[1]=x[1],_}function m(x,_,I){return x[0]=_,x[1]=I,x}function v(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 s(x,_,I){return x[0]=_[0]-I[0],x[1]=_[1]-I[1],x}function u(x){return Math.sqrt(e(x))}var o=u;function e(x){return x[0]*x[0]+x[1]*x[1]}var r=e;function i(x,_,I){return x[0]=_[0]*I[0],x[1]=_[1]*I[1],x}function n(x,_,I){return x[0]=_[0]/I[0],x[1]=_[1]/I[1],x}function l(x,_){return x[0]*_[0]+x[1]*_[1]}function t(x,_,I){return x[0]=_[0]*I,x[1]=_[1]*I,x}function a(x,_){var I=u(_);return I===0?(x[0]=0,x[1]=0):(x[0]=_[0]/I,x[1]=_[1]/I),x}function c(x,_){return Math.sqrt((x[0]-_[0])*(x[0]-_[0])+(x[1]-_[1])*(x[1]-_[1]))}var h=c;function f(x,_){return(x[0]-_[0])*(x[0]-_[0])+(x[1]-_[1])*(x[1]-_[1])}var g=f;function S(x,_){return x[0]=-_[0],x[1]=-_[1],x}function y(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],D=_[1];return x[0]=I[0]*L+I[2]*D+I[4],x[1]=I[1]*L+I[3]*D+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}P.create=w,P.copy=A,P.clone=b,P.set=m,P.add=v,P.scaleAndAdd=p,P.sub=s,P.len=u,P.length=o,P.lenSquare=e,P.lengthSquare=r,P.mul=i,P.div=n,P.dot=l,P.scale=t,P.normalize=a,P.distance=c,P.dist=h,P.distanceSquare=f,P.distSquare=g,P.negate=S,P.lerp=y,P.applyTransform=E,P.min=C,P.max=T},"QO+J":function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.createSensor=void 0;var w=b(d("NohK")),A=d("24YM");function b(v){return v&&v.__esModule?v:{default:v}}var m=function(p){var s=void 0,u=[],o=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",A.SensorClassName),t.setAttribute("tabindex",A.SensorTabIndex),t.type="text/html",p.appendChild(t),t.data="about:blank",t},e=(0,w.default)(function(){u.forEach(function(l){l(p)})}),r=function(t){s||(s=o()),u.indexOf(t)===-1&&u.push(t)},i=function(){s&&s.parentNode&&(s.contentDocument&&s.contentDocument.defaultView.removeEventListener("resize",e),s.parentNode.removeChild(s),s=void 0,u=[])},n=function(t){var a=u.indexOf(t);a!==-1&&u.splice(a,1),u.length===0&&s&&i()};return{element:p,bind:r,destroy:i,unbind:n}};P.createSensor=m},"QQZ/":function(M,P,d){var w=d("Sq3C"),A=d("Z1HP"),b=d("Sxd8"),m=d("dt0z");function v(p,s,u){p=m(p),s=b(s);var o=s?A(p):0;return s&&o<s?w(s-o,u)+p:p}M.exports=v},QUw5:function(M,P,d){var w=d("OlYY"),A=w.extend({type:"dataZoom.select"});M.exports=A},QV2g:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=w;function w(){for(var m,v=[],p=0;p<256;p++){m=p;for(var s=0;s<8;s++)m=m&1?3988292384^m>>>1:m>>>1;v[p]=m}return v}var A=w();function b(m,v,p,s){var u=A,o=s+p;m^=-1;for(var e=s;e<o;e++)m=m>>>8^u[(m^v[e])&255];return m^-1}},Qe9p:function(M,P,d){var w=d("1RvN"),A={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 b(_){return _=Math.round(_),_<0?0:_>255?255:_}function m(_){return _=Math.round(_),_<0?0:_>360?360:_}function v(_){return _<0?0:_>1?1:_}function p(_){return _.length&&_.charAt(_.length-1)==="%"?b(parseFloat(_)/100*255):b(parseInt(_,10))}function s(_){return _.length&&_.charAt(_.length-1)==="%"?v(parseFloat(_)/100):v(parseFloat(_))}function u(_,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 o(_,I,L){return _+(I-_)*L}function e(_,I,L,D,B){return _[0]=I,_[1]=L,_[2]=D,_[3]=B,_}function r(_,I){return _[0]=I[0],_[1]=I[1],_[2]=I[2],_[3]=I[3],_}var i=new w(20),n=null;function l(_,I){n&&r(n,I),n=i.put(_,n||I.slice())}function t(_,I){if(!_)return;I=I||[];var L=i.get(_);if(L)return r(I,L);_=_+"";var D=_.replace(/ /g,"").toLowerCase();if(D in A)return r(I,A[D]),l(_,I),I;if(D.charAt(0)==="#"){if(D.length===4){var B=parseInt(D.substr(1),16);if(!(B>=0&&B<=4095)){e(I,0,0,0,1);return}return e(I,(B&3840)>>4|(B&3840)>>8,B&240|(B&240)>>4,B&15|(B&15)<<4,1),l(_,I),I}else if(D.length===7){var B=parseInt(D.substr(1),16);if(!(B>=0&&B<=16777215)){e(I,0,0,0,1);return}return e(I,(B&16711680)>>16,(B&65280)>>8,B&255,1),l(_,I),I}return}var N=D.indexOf("("),k=D.indexOf(")");if(N!==-1&&k+1===D.length){var W=D.substr(0,N),R=D.substr(N+1,k-(N+1)).split(","),j=1;switch(W){case"rgba":if(R.length!==4){e(I,0,0,0,1);return}j=s(R.pop());case"rgb":if(R.length!==3){e(I,0,0,0,1);return}return e(I,p(R[0]),p(R[1]),p(R[2]),j),l(_,I),I;case"hsla":if(R.length!==4){e(I,0,0,0,1);return}return R[3]=s(R[3]),a(R,I),l(_,I),I;case"hsl":if(R.length!==3){e(I,0,0,0,1);return}return a(R,I),l(_,I),I;default:return}}e(I,0,0,0,1);return}function a(_,I){var L=(parseFloat(_[0])%360+360)%360/360,D=s(_[1]),B=s(_[2]),N=B<=.5?B*(D+1):B+D-B*D,k=B*2-N;return I=I||[],e(I,b(u(k,N,L+1/3)*255),b(u(k,N,L)*255),b(u(k,N,L-1/3)*255),1),_.length===4&&(I[3]=_[3]),I}function c(_){if(!_)return;var I=_[0]/255,L=_[1]/255,D=_[2]/255,B=Math.min(I,L,D),N=Math.max(I,L,D),k=N-B,W=(N+B)/2,R,j;if(k===0)R=0,j=0;else{W<.5?j=k/(N+B):j=k/(2-N-B);var H=((N-I)/6+k/2)/k,K=((N-L)/6+k/2)/k,U=((N-D)/6+k/2)/k;I===N?R=U-K:L===N?R=1/3+H-U:D===N&&(R=2/3+K-H),R<0&&(R+=1),R>1&&(R-=1)}var Q=[R*360,j,W];return _[3]!=null&&Q.push(_[3]),Q}function h(_,I){var L=t(_);if(L){for(var D=0;D<3;D++)I<0?L[D]=L[D]*(1-I)|0:L[D]=(255-L[D])*I+L[D]|0,L[D]>255?L[D]=255:_[D]<0&&(L[D]=0);return x(L,L.length===4?"rgba":"rgb")}}function f(_){var I=t(_);if(I)return((1<<24)+(I[0]<<16)+(I[1]<<8)+ +I[2]).toString(16).slice(1)}function g(_,I,L){if(!(I&&I.length)||!(_>=0&&_<=1))return;L=L||[];var D=_*(I.length-1),B=Math.floor(D),N=Math.ceil(D),k=I[B],W=I[N],R=D-B;return L[0]=b(o(k[0],W[0],R)),L[1]=b(o(k[1],W[1],R)),L[2]=b(o(k[2],W[2],R)),L[3]=v(o(k[3],W[3],R)),L}var S=g;function y(_,I,L){if(!(I&&I.length)||!(_>=0&&_<=1))return;var D=_*(I.length-1),B=Math.floor(D),N=Math.ceil(D),k=t(I[B]),W=t(I[N]),R=D-B,j=x([b(o(k[0],W[0],R)),b(o(k[1],W[1],R)),b(o(k[2],W[2],R)),v(o(k[3],W[3],R))],"rgba");return L?{color:j,leftIndex:B,rightIndex:N,value:D}:j}var E=y;function C(_,I,L,D){if(_=t(_),_)return _=c(_),I!=null&&(_[0]=m(I)),L!=null&&(_[1]=s(L)),D!=null&&(_[2]=s(D)),x(a(_),"rgba")}function T(_,I){if(_=t(_),_&&I!=null)return _[3]=v(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+")"}P.parse=t,P.lift=h,P.toHex=f,P.fastLerp=g,P.fastMapToColor=S,P.lerp=y,P.mapToColor=E,P.modifyHSL=C,P.modifyAlpha=T,P.stringify=x},QuXc:function(M,P){var d=function(b){this.colorStops=b||[]};d.prototype={constructor:d,addColorStop:function(b,m){this.colorStops.push({offset:b,color:m})}};var w=d;M.exports=w},Qvb6:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("ItGF"),m=d("B9fm"),v=d("gvm7"),p=d("7aKB"),s=d("OELB"),u=d("IwbS"),o=d("Ez2D"),e=d("+TT/"),r=d("Qxkt"),i=d("F9bG"),n=d("aX7z"),l=d("/y7N"),t=d("4NO4"),a=t.getTooltipRenderMode,c=A.bind,h=A.each,f=s.parsePercent,g=new u.Rect({shape:{x:-1,y:-1,width:2,height:2}}),S=w.extendComponentView({type:"tooltip",init:function(I,L){if(b.node)return;var D=I.getComponent("tooltip"),B=D.get("renderMode");this._renderMode=a(B);var N;this._renderMode==="html"?(N=new m(L.getDom(),L,{appendToBody:D.get("appendToBody",!0)}),this._newLine="<br/>"):(N=new v(L),this._newLine=`
|
|
|
`),this._tooltipContent=N},render:function(I,L,D){if(b.node)return;this.group.removeAll(),this._tooltipModel=I,this._ecModel=L,this._api=D,this._lastDataByCoordSys=null,this._alwaysShowContent=I.get("alwaysShowContent");var B=this._tooltipContent;B.update(),B.setEnterable(I.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var I=this._tooltipModel,L=I.get("triggerOn");i.register("itemTooltip",this._api,c(function(D,B,N){L!=="none"&&(L.indexOf(D)>=0?this._tryShow(B,N):D==="leave"&&this._hide(N))},this))},_keepShow:function(){var I=this._tooltipModel,L=this._ecModel,D=this._api;if(this._lastX!=null&&this._lastY!=null&&I.get("triggerOn")!=="none"){var B=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!D.isDisposed()&&B.manuallyShowTip(I,L,D,{x:B._lastX,y:B._lastY})})}},manuallyShowTip:function(I,L,D,B){if(B.from===this.uid||b.node)return;var N=E(B,D);this._ticket="";var k=B.dataByCoordSys;if(B.tooltip&&B.x!=null&&B.y!=null){var W=g;W.position=[B.x,B.y],W.update(),W.tooltip=B.tooltip,this._tryShow({offsetX:B.x,offsetY:B.y,target:W},N)}else if(k)this._tryShow({offsetX:B.x,offsetY:B.y,position:B.position,dataByCoordSys:B.dataByCoordSys,tooltipOption:B.tooltipOption},N);else if(B.seriesIndex!=null){if(this._manuallyAxisShowTip(I,L,D,B))return;var R=o(B,L),j=R.point[0],H=R.point[1];j!=null&&H!=null&&this._tryShow({offsetX:j,offsetY:H,position:B.position,target:R.el},N)}else B.x!=null&&B.y!=null&&(D.dispatchAction({type:"updateAxisPointer",x:B.x,y:B.y}),this._tryShow({offsetX:B.x,offsetY:B.y,position:B.position,target:D.getZr().findHover(B.x,B.y).target},N))},manuallyHideTip:function(I,L,D,B){var N=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&N.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,B.from!==this.uid&&this._hide(E(B,D))},_manuallyAxisShowTip:function(I,L,D,B){var N=B.seriesIndex,k=B.dataIndex,W=L.getComponent("axisPointer").coordSysAxesInfo;if(N==null||k==null||W==null)return;var R=L.getSeriesByIndex(N);if(!R)return;var j=R.getData(),I=y([j.getItemModel(k),R,(R.coordinateSystem||{}).model,I]);return I.get("trigger")!=="axis"?void 0:(D.dispatchAction({type:"updateAxisPointer",seriesIndex:N,dataIndex:k,position:B.position}),!0)},_tryShow:function(I,L){var D=I.target,B=this._tooltipModel;if(!B)return;this._lastX=I.offsetX,this._lastY=I.offsetY;var N=I.dataByCoordSys;N&&N.length?this._showAxisTooltip(N,I):D&&D.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(I,D,L)):D&&D.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(I,D,L)):(this._lastDataByCoordSys=null,this._hide(L))},_showOrMove:function(I,L){var D=I.get("showDelay");L=A.bind(L,this),clearTimeout(this._showTimout),D>0?this._showTimout=setTimeout(L,D):L()},_showAxisTooltip:function(I,L){var D=this._ecModel,B=this._tooltipModel,N=[L.offsetX,L.offsetY],k=[],W=[],R=y([L.tooltipOption,B]),j=this._renderMode,H=this._newLine,K={};h(I,function(Q){h(Q.dataByAxis,function(V){var J=D.getComponent(V.axisDim+"Axis",V.axisIndex),ae=V.value,se=[];if(!J||ae==null)return;var $=l.getValueLabel(ae,J.axis,D,V.seriesDataIndices,V.valueLabelOpt);A.each(V.seriesDataIndices,function(he){var Ie=D.getSeriesByIndex(he.seriesIndex),Se=he.dataIndexInside,Le=Ie&&Ie.getDataParams(Se);if(Le.axisDim=V.axisDim,Le.axisIndex=V.axisIndex,Le.axisType=V.axisType,Le.axisId=V.axisId,Le.axisValue=n.getAxisRawValue(J.axis,ae),Le.axisValueLabel=$,Le){W.push(Le);var He=Ie.formatTooltip(Se,!0,null,j),G;if(A.isObject(He)){G=He.html;var pe=He.markers;A.merge(K,pe)}else G=He;se.push(G)}});var ge=$;j!=="html"?k.push(se.join(H)):k.push((ge?p.encodeHTML(ge)+H:"")+se.join(H))})},this),k.reverse(),k=k.join(this._newLine+this._newLine);var U=L.position;this._showOrMove(R,function(){this._updateContentNotChangedOnAxis(I)?this._updatePosition(R,U,N[0],N[1],this._tooltipContent,W):this._showTooltipContent(R,k,W,Math.random(),N[0],N[1],U,void 0,K)})},_showSeriesItemTooltip:function(I,L,D){var B=this._ecModel,N=L.seriesIndex,k=B.getSeriesByIndex(N),W=L.dataModel||k,R=L.dataIndex,j=L.dataType,H=W.getData(j),K=y([H.getItemModel(R),W,k&&(k.coordinateSystem||{}).model,this._tooltipModel]),U=K.get("trigger");if(U!=null&&U!=="item")return;var Q=W.getDataParams(R,j),V=W.formatTooltip(R,!1,j,this._renderMode),J,ae;A.isObject(V)?(J=V.html,ae=V.markers):(J=V,ae=null);var se="item_"+W.name+"_"+R;this._showOrMove(K,function(){this._showTooltipContent(K,J,Q,se,I.offsetX,I.offsetY,I.position,I.target,ae)}),D({type:"showTip",dataIndexInside:R,dataIndex:H.getRawIndex(R),seriesIndex:N,from:this.uid})},_showComponentItemTooltip:function(I,L,D){var B=L.tooltip;if(typeof B=="string"){var N=B;B={content:N,formatter:N}}var k=new r(B,this._tooltipModel,this._ecModel),W=k.get("content"),R=Math.random();this._showOrMove(k,function(){this._showTooltipContent(k,W,k.get("formatterParams")||{},R,I.offsetX,I.offsetY,I.position,L)}),D({type:"showTip",from:this.uid})},_showTooltipContent:function(I,L,D,B,N,k,W,R,j){if(this._ticket="",!I.get("showContent")||!I.get("show"))return;var H=this._tooltipContent,K=I.get("formatter");W=W||I.get("position");var U=L;if(K&&typeof K=="string")U=p.formatTpl(K,D,!0);else if(typeof K=="function"){var Q=c(function(V,J){V===this._ticket&&(H.setContent(J,j,I),this._updatePosition(I,W,N,k,H,D,R))},this);this._ticket=B,U=K(D,B,Q)}H.setContent(U,j,I),H.show(I),this._updatePosition(I,W,N,k,H,D,R)},_updatePosition:function(I,L,D,B,N,k,W){var R=this._api.getWidth(),j=this._api.getHeight();L=L||I.get("position");var H=N.getSize(),K=I.get("align"),U=I.get("verticalAlign"),Q=W&&W.getBoundingRect().clone();if(W&&Q.applyTransform(W.transform),typeof L=="function"&&(L=L([D,B],k,N.el,Q,{viewSize:[R,j],contentSize:H.slice()})),A.isArray(L))D=f(L[0],R),B=f(L[1],j);else if(A.isObject(L)){L.width=H[0],L.height=H[1];var V=e.getLayoutRect(L,{width:R,height:j});D=V.x,B=V.y,K=null,U=null}else if(typeof L=="string"&&W){var J=x(L,Q,H);D=J[0],B=J[1]}else{var J=C(D,B,N,R,j,K?null:20,U?null:20);D=J[0],B=J[1]}if(K&&(D-=_(K)?H[0]/2:K==="right"?H[0]:0),U&&(B-=_(U)?H[1]/2:U==="bottom"?H[1]:0),I.get("confine")){var J=T(D,B,N,R,j);D=J[0],B=J[1]}N.moveTo(D,B)},_updateContentNotChangedOnAxis:function(I){var L=this._lastDataByCoordSys,D=!!L&&L.length===I.length;return D&&h(L,function(B,N){var k=B.dataByAxis||{},W=I[N]||{},R=W.dataByAxis||[];D&=k.length===R.length,D&&h(k,function(j,H){var K=R[H]||{},U=j.seriesDataIndices||[],Q=K.seriesDataIndices||[];D&=j.value===K.value&&j.axisType===K.axisType&&j.axisId===K.axisId&&U.length===Q.length,D&&h(U,function(V,J){var ae=Q[J];D&=V.seriesIndex===ae.seriesIndex&&V.dataIndex===ae.dataIndex})})}),this._lastDataByCoordSys=I,!!D},_hide:function(I){this._lastDataByCoordSys=null,I({type:"hideTip",from:this.uid})},dispose:function(I,L){if(b.node)return;this._tooltipContent.dispose(),i.unregister("itemTooltip",L)}});function y(I){for(var L=I.pop();I.length;){var D=I.pop();D&&(r.isInstance(D)&&(D=D.get("tooltip",!0)),typeof D=="string"&&(D={formatter:D}),L=new r(D,L,L.ecModel))}return L}function E(I,L){return I.dispatchAction||A.bind(L.dispatchAction,L)}function C(I,L,D,B,N,k,W){var R=D.getOuterSize(),j=R.width,H=R.height;return k!=null&&(I+j+k>B?I-=j+k:I+=k),W!=null&&(L+H+W>N?L-=H+W:L+=W),[I,L]}function T(I,L,D,B,N){var k=D.getOuterSize(),W=k.width,R=k.height;return I=Math.min(I+W,B)-W,L=Math.min(L+R,N)-R,I=Math.max(I,0),L=Math.max(L,0),[I,L]}function x(I,L,D){var B=D[0],N=D[1],k=5,W=0,R=0,j=L.width,H=L.height;switch(I){case"inside":W=L.x+j/2-B/2,R=L.y+H/2-N/2;break;case"top":W=L.x+j/2-B/2,R=L.y-N-k;break;case"bottom":W=L.x+j/2-B/2,R=L.y+H+k;break;case"left":W=L.x-B-k,R=L.y+H/2-N/2;break;case"right":W=L.x+j+k,R=L.y+H/2-N/2}return[W,R]}function _(I){return I==="center"||I==="middle"}M.exports=S},Qxkt:function(M,P,d){var w=d("bYtY"),A=d("ItGF"),b=d("4NO4"),m=b.makeInner,v=d("Yl7c"),p=v.enableClassExtend,s=v.enableClassCheck,u=d("OQFs"),o=d("m9t5"),e=d("/iHx"),r=d("VR9l"),i=w.mixin,n=m();function l(h,f,g){this.parentModel=f,this.ecModel=g,this.option=h}l.prototype={constructor:l,init:null,mergeOption:function(h){w.merge(this.option,h,!0)},get:function(h,f){return h==null?this.option:t(this.option,this.parsePath(h),!f&&a(this,h))},getShallow:function(h,f){var g=this.option,S=g==null?g:g[h],y=!f&&a(this,h);return S==null&&y&&(S=y.getShallow(h)),S},getModel:function(h,f){var g=h==null?this.option:t(this.option,h=this.parsePath(h)),S;return f=f||(S=a(this,h))&&S.getModel(h),new l(g,f,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var h=this.constructor;return new h(w.clone(this.option))},setReadOnly:function(h){},parsePath:function(h){return typeof h=="string"&&(h=h.split(".")),h},customizeGetParent:function(h){n(this).getParent=h},isAnimationEnabled:function(){if(!A.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function t(h,f,g){for(var S=0;S<f.length;S++){if(!f[S])continue;if(h=h&&typeof h=="object"?h[f[S]]:null,h==null)break}return h==null&&g&&(h=g.get(f)),h}function a(h,f){var g=n(h).getParent;return g?g.call(h,f):h.parentModel}p(l),s(l),i(l,u),i(l,o),i(l,e),i(l,r);var c=l;M.exports=c},QzjZ:function(M,P,d){var w=d("S/Yl"),A=d("IDmD");function b(m,v){var p=[];return m.eachComponent("singleAxis",function(s,u){var o=new w(s,m,v);o.name="single_"+u,o.resize(s,v),s.coordinateSystem=o,p.push(o)}),m.eachSeries(function(s){if(s.get("coordinateSystem")==="singleAxis"){var u=m.queryComponents({mainType:"singleAxis",index:s.get("singleAxisIndex"),id:s.get("singleAxisId")})[0];s.coordinateSystem=u&&u.coordinateSystem}}),p}A.register("single",{create:b,dimensions:w.prototype.dimensions})},R4Th:function(M,P,d){var w=d("ProS"),A=d("9wZj"),b=d("yO87"),m=d("Fofx"),v=d("h8O9"),p=w.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new A(b)},render:function(s,u,o){var e=s.getData(),r=this._symbolDraw;r.updateData(e),this.group.add(r.group)},updateTransform:function(s,u,o){var e=s.getData();this.group.dirty();var r=v().reset(s);r.progress&&r.progress({start:0,end:e.count()},e),this._symbolDraw.updateLayout(e)},_updateGroupTransform:function(s){var u=s.coordinateSystem;u&&u.getRoamTransform&&(this.group.transform=m.clone(u.getRoamTransform()),this.group.decomposeTransform())},remove:function(s,u){this._symbolDraw&&this._symbolDraw.remove(u)},dispose:function(){}});M.exports=p},RBEP:function(M,P,d){for(var w=d("ProS"),A=d("VaxA"),b=function(){},m=["treemapZoomToNode","treemapRender","treemapMove"],v=0;v<m.length;v++)w.registerAction({type:m[v],update:"updateView"},b);w.registerAction({type:"treemapRootToNode",update:"updateView"},function(p,s){s.eachComponent({mainType:"series",subType:"treemap",query:p},u);function u(o,e){var r=["treemapZoomToNode","treemapRootToNode"],i=A.retrieveTargetInfo(p,r,o);if(i){var n=o.getViewRoot();n&&(p.direction=A.aboveViewRoot(n,i.node)?"rollUp":"drillDown"),o.resetViewRoot(i.node)}}})},RDYZ:function(M,P,d){var w=d("dMvE");function A(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}A.prototype={constructor:A,step:function(v,p){if(this._initialized||(this._startTime=v+this._delay,this._initialized=!0),this._paused){this._pausedTime+=p;return}var s=(v-this._startTime-this._pausedTime)/this._life;if(s<0)return;s=Math.min(s,1);var u=this.easing,o=typeof u=="string"?w[u]:u,e=typeof o=="function"?o(s):s;return this.fire("frame",e),s===1?this.loop?(this.restart(v),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(v){var p=(v-this._startTime-this._pausedTime)%this._life;this._startTime=v-p+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(v,p){v="on"+v,this[v]&&this[v](this._target,p)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var b=A;M.exports=b},RELg:function(M,P,d){var w=d("MFOe"),A=w.Global;M.exports={name:"oldIE-userDataStorage",write:s,read:u,each:o,remove:e,clearAll:r};var b="storejs",m=A.document,v=l(),p=(A.navigator?A.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function s(t,a){if(p)return;var c=n(t);v(function(h){h.setAttribute(c,a),h.save(b)})}function u(t){if(p)return;var a=n(t),c=null;return v(function(h){c=h.getAttribute(a)}),c}function o(t){v(function(a){for(var c=a.XMLDocument.documentElement.attributes,h=c.length-1;h>=0;h--){var f=c[h];t(a.getAttribute(f.name),f.name)}})}function e(t){var a=n(t);v(function(c){c.removeAttribute(a),c.save(b)})}function r(){v(function(t){var a=t.XMLDocument.documentElement.attributes;t.load(b);for(var c=a.length-1;c>=0;c--)t.removeAttribute(a[c].name);t.save(b)})}var i=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function n(t){return t.replace(/^\d/,"___$&").replace(i,"___")}function l(){if(!m||!m.documentElement||!m.documentElement.addBehavior)return null;var t="script",a,c,h;try{c=new ActiveXObject("htmlfile"),c.open(),c.write("<"+t+">document.w=window</"+t+'><iframe src="/favicon.ico"></iframe>'),c.close(),a=c.w.frames[0].document,h=a.createElement("div")}catch(f){h=m.createElement("div"),a=m.body}return function(f){var g=[].slice.call(arguments,0);g.unshift(h),a.appendChild(h),h.addBehavior("#default#userData"),h.load(b),f.apply(this,g),a.removeChild(h);return}}},RPvy:function(M,P,d){var w=d("ProS"),A=d("VaxA"),b="sunburstRootToNode";w.registerAction({type:b,update:"updateView"},function(p,s){s.eachComponent({mainType:"series",subType:"sunburst",query:p},u);function u(o,e){var r=A.retrieveTargetInfo(p,[b],o);if(r){var i=o.getViewRoot();i&&(p.direction=A.aboveViewRoot(i,r.node)?"rollUp":"drillDown"),o.resetViewRoot(r.node)}}});var m="sunburstHighlight";w.registerAction({type:m,update:"updateView"},function(p,s){s.eachComponent({mainType:"series",subType:"sunburst",query:p},u);function u(o,e){var r=A.retrieveTargetInfo(p,[m],o);r&&(p.highlight=r.node)}});var v="sunburstUnhighlight";w.registerAction({type:v,update:"updateView"},function(p,s){s.eachComponent({mainType:"series",subType:"sunburst",query:p},u);function u(o,e){p.unhighlight=!0}})},RSch:function(M,P,d){var w=d("IwbS"),A=d("bYtY");function b(p,s,u){w.Group.call(this),this._createPolyline(p,s,u)}var m=b.prototype;m._createPolyline=function(p,s,u){var o=p.getItemLayout(s),e=new w.Polyline({shape:{points:o}});this.add(e),this._updateCommonStl(p,s,u)},m.updateData=function(p,s,u){var o=p.hostModel,e=this.childAt(0),r={shape:{points:p.getItemLayout(s)}};w.updateProps(e,r,o,s),this._updateCommonStl(p,s,u)},m._updateCommonStl=function(p,s,u){var o=this.childAt(0),e=p.getItemModel(s),r=p.getItemVisual(s,"color"),i=u&&u.lineStyle,n=u&&u.hoverLineStyle;(!u||p.hasItemOption)&&(i=e.getModel("lineStyle").getLineStyle(),n=e.getModel("emphasis.lineStyle").getLineStyle()),o.useStyle(A.defaults({strokeNoScale:!0,fill:"none",stroke:r},i)),o.hoverStyle=n,w.setHoverStyle(this)},m.updateLayout=function(p,s){var u=this.childAt(0);u.setShape("points",p.getItemLayout(s))},A.inherits(b,w.Group);var v=b;M.exports=v},RXMa:function(M,P,d){var w=d("y+Vt"),A=w.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(m,v){var p=v.cx,s=v.cy,u=Math.PI*2;m.moveTo(p+v.r,s),m.arc(p,s,v.r,0,u,!1),m.moveTo(p+v.r0,s),m.arc(p,s,v.r0,0,u,!0)}});M.exports=A},Rbc4:function(M,P,d){},RlCK:function(M,P,d){var w=d("ProS"),A=d("bYtY");function b(m,v,p){var s={},u=m==="toggleSelected",o;return p.eachComponent("legend",function(e){u&&o!=null?e[o?"select":"unSelect"](v.name):m==="allSelect"||m==="inverseSelect"?e[m]():(e[m](v.name),o=e.isSelected(v.name));var r=e.getData();A.each(r,function(i){var n=i.get("name");if(n===`
|
|
|
`||n==="")return;var l=e.isSelected(n);s.hasOwnProperty(n)?s[n]=s[n]&&l:s[n]=l})}),m==="allSelect"||m==="inverseSelect"?{selected:s}:{name:v.name,selected:s}}w.registerAction("legendToggleSelect","legendselectchanged",A.curry(b,"toggleSelected")),w.registerAction("legendAllSelect","legendselectall",A.curry(b,"allSelect")),w.registerAction("legendInverseSelect","legendinverseselect",A.curry(b,"inverseSelect")),w.registerAction("legendSelect","legendselected",A.curry(b,"select")),w.registerAction("legendUnSelect","legendunselected",A.curry(b,"unSelect"))},RotF:function(M,P,d){M.exports=d("LSTS")},Rqfs:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("JZiQ"),m=d.n(b),v=d("D3Kp")},Rx6q:function(M,P){function d(w){var A=w.getRect(),b=w.getRangeInfo();return{coordSys:{type:"calendar",x:A.x,y:A.y,width:A.width,height:A.height,cellWidth:w.getCellWidth(),cellHeight:w.getCellHeight(),rangeInfo:{start:b.start,end:b.end,weeks:b.weeks,dayCount:b.allDay}},api:{coord:function(m,v){return w.dataToPoint(m,v)}}}}M.exports=d},"S/Yl":function(M,P,d){var w=d("Zvw2"),A=d("aX7z"),b=d("+TT/"),m=b.getLayoutRect,v=d("bYtY"),p=v.each;function s(o,e,r){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(o,e,r),this.model=o}s.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:s,_init:function(o,e,r){var i=this.dimension,n=new w(i,A.createScaleByModel(o),[0,0],o.get("type"),o.get("position")),l=n.type==="category";n.onBand=l&&o.get("boundaryGap"),n.inverse=o.get("inverse"),n.orient=o.get("orient"),o.axis=n,n.model=o,n.coordinateSystem=this,this._axis=n},update:function(o,e){o.eachSeries(function(r){if(r.coordinateSystem===this){var i=r.getData();p(i.mapDimension(this.dimension,!0),function(n){this._axis.scale.unionExtentFromData(i,n)},this),A.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(o,e){this._rect=m({left:o.get("left"),top:o.get("top"),right:o.get("right"),bottom:o.get("bottom"),width:o.get("width"),height:o.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var o=this._rect,e=this._axis,r=e.isHorizontal(),i=r?[0,o.width]:[0,o.height],n=e.reverse?1:0;e.setExtent(i[n],i[1-n]),this._updateAxisTransform(e,r?o.x:o.y)},_updateAxisTransform:function(o,e){var r=o.getExtent(),i=r[0]+r[1],n=o.isHorizontal();o.toGlobalCoord=n?function(l){return l+e}:function(l){return i-l+e},o.toLocalCoord=n?function(l){return l-e}:function(l){return i-l+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(o){var e=this.getRect(),r=this.getAxis(),i=r.orient;return i==="horizontal"?r.contain(r.toLocalCoord(o[0]))&&o[1]>=e.y&&o[1]<=e.y+e.height:r.contain(r.toLocalCoord(o[1]))&&o[0]>=e.y&&o[0]<=e.y+e.height},pointToData:function(o){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(o[e.orient==="horizontal"?0:1]))]},dataToPoint:function(o){var e=this.getAxis(),r=this.getRect(),i=[],n=e.orient==="horizontal"?0:1;return o instanceof Array&&(o=o[0]),i[n]=e.toGlobalCoord(e.dataToCoord(+o)),i[1-n]=n===0?r.y+r.height/2:r.x+r.width/2,i}};var u=s;M.exports=u},"SA4+":function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),m=d("IwbS"),v=d("zYTA"),p=d("bYtY");function s(r,i,n){var l=r[1]-r[0];i=p.map(i,function(c){return{interval:[(c.interval[0]-r[0])/l,(c.interval[1]-r[0])/l]}});var t=i.length,a=0;return function(c){for(var h=a;h<t;h++){var f=i[h].interval;if(f[0]<=c&&c<=f[1]){a=h;break}}if(h===t)for(var h=a-1;h>=0;h--){var f=i[h].interval;if(f[0]<=c&&c<=f[1]){a=h;break}}return h>=0&&h<t&&n[h]}}function u(r,i){var n=r[1]-r[0];return i=[(i[0]-r[0])/n,(i[1]-r[0])/n],function(l){return l>=i[0]&&l<=i[1]}}function o(r){var i=r.dimensions;return i[0]==="lng"&&i[1]==="lat"}var e=b.extendChartView({type:"heatmap",render:function(r,i,n){var l;i.eachComponent("visualMap",function(a){a.eachTargetSeries(function(c){c===r&&(l=a)})}),this.group.removeAll(),this._incrementalDisplayable=null;var t=r.coordinateSystem;t.type==="cartesian2d"||t.type==="calendar"?this._renderOnCartesianAndCalendar(r,n,0,r.getData().count()):o(t)&&this._renderOnGeo(t,r,l,n)},incrementalPrepareRender:function(r,i,n){this.group.removeAll()},incrementalRender:function(r,i,n,l){var t=i.coordinateSystem;t&&this._renderOnCartesianAndCalendar(i,l,r.start,r.end,!0)},_renderOnCartesianAndCalendar:function(r,i,n,l,t){var a=r.coordinateSystem,c,h;if(a.type==="cartesian2d"){var f=a.getAxis("x"),g=a.getAxis("y");c=f.getBandWidth(),h=g.getBandWidth()}for(var S=this.group,y=r.getData(),E="itemStyle",C="emphasis.itemStyle",T="label",x="emphasis.label",_=r.getModel(E).getItemStyle(["color"]),I=r.getModel(C).getItemStyle(),L=r.getModel(T),D=r.getModel(x),B=a.type,N=B==="cartesian2d"?[y.mapDimension("x"),y.mapDimension("y"),y.mapDimension("value")]:[y.mapDimension("time"),y.mapDimension("value")],k=n;k<l;k++){var W;if(B==="cartesian2d"){if(isNaN(y.get(N[2],k)))continue;var R=a.dataToPoint([y.get(N[0],k),y.get(N[1],k)]);W=new m.Rect({shape:{x:Math.floor(Math.round(R[0])-c/2),y:Math.floor(Math.round(R[1])-h/2),width:Math.ceil(c),height:Math.ceil(h)},style:{fill:y.getItemVisual(k,"color"),opacity:y.getItemVisual(k,"opacity")}})}else{if(isNaN(y.get(N[1],k)))continue;W=new m.Rect({z2:1,shape:a.dataToRect([y.get(N[0],k)]).contentShape,style:{fill:y.getItemVisual(k,"color"),opacity:y.getItemVisual(k,"opacity")}})}var j=y.getItemModel(k);y.hasItemOption&&(_=j.getModel(E).getItemStyle(["color"]),I=j.getModel(C).getItemStyle(),L=j.getModel(T),D=j.getModel(x));var H=r.getRawValue(k),K="-";H&&H[2]!=null&&(K=H[2]),m.setLabelStyle(_,I,L,D,{labelFetcher:r,labelDataIndex:k,defaultText:K,isRectText:!0}),W.setStyle(_),m.setHoverStyle(W,y.hasItemOption?I:p.extend({},I)),W.incremental=t,t&&(W.useHoverLayer=!0),S.add(W),y.setItemGraphicEl(k,W)}},_renderOnGeo:function(r,i,n,l){var t=n.targetVisuals.inRange,a=n.targetVisuals.outOfRange,c=i.getData(),h=this._hmLayer||this._hmLayer||new v;h.blurSize=i.get("blurSize"),h.pointSize=i.get("pointSize"),h.minOpacity=i.get("minOpacity"),h.maxOpacity=i.get("maxOpacity");var f=r.getViewRect().clone(),g=r.getRoamTransform();f.applyTransform(g);var S=Math.max(f.x,0),y=Math.max(f.y,0),E=Math.min(f.width+f.x,l.getWidth()),C=Math.min(f.height+f.y,l.getHeight()),T=E-S,x=C-y,_=[c.mapDimension("lng"),c.mapDimension("lat"),c.mapDimension("value")],I=c.mapArray(_,function(N,k,W){var R=r.dataToPoint([N,k]);return R[0]-=S,R[1]-=y,R.push(W),R}),L=n.getExtent(),D=n.type==="visualMap.continuous"?u(L,n.option.range):s(L,n.getPieceList(),n.option.selected);h.update(I,T,x,t.color.getNormalizer(),{inRange:t.color.getColorMapper(),outOfRange:a.color.getColorMapper()},D);var B=new m.Image({style:{width:T,height:x,x:S,y,image:h.canvas},silent:!0});this.group.add(B)},dispose:function(){}});M.exports=e},SA8n:function(M,P,d){var w=d("Sj9i"),A=d("QBsz"),b=d("U/Mo"),m=b.getSymbolSize,v=[],p=[],s=[],u=w.quadraticAt,o=A.distSquare,e=Math.abs;function r(n,l,t){for(var a=n[0],c=n[1],h=n[2],f=Infinity,g,S=t*t,y=.1,E=.1;E<=.9;E+=.1){v[0]=u(a[0],c[0],h[0],E),v[1]=u(a[1],c[1],h[1],E);var C=e(o(v,l)-S);C<f&&(f=C,g=E)}for(var T=0;T<32;T++){var x=g+y;p[0]=u(a[0],c[0],h[0],g),p[1]=u(a[1],c[1],h[1],g),s[0]=u(a[0],c[0],h[0],x),s[1]=u(a[1],c[1],h[1],x);var C=o(p,l)-S;if(e(C)<.01)break;var _=o(s,l)-S;y/=2,C<0?_>=0?g=g+y:g=g-y:_>=0?g=g-y:g=g+y}return g}function i(n,l){var t=[],a=w.quadraticSubdivide,c=[[],[],[]],h=[[],[]],f=[];l/=2,n.eachEdge(function(g,S){var y=g.getLayout(),E=g.getVisual("fromSymbol"),C=g.getVisual("toSymbol");y.__original||(y.__original=[A.clone(y[0]),A.clone(y[1])],y[2]&&y.__original.push(A.clone(y[2])));var T=y.__original;if(y[2]!=null){if(A.copy(c[0],T[0]),A.copy(c[1],T[2]),A.copy(c[2],T[1]),E&&E!=="none"){var x=m(g.node1),_=r(c,T[0],x*l);a(c[0][0],c[1][0],c[2][0],_,t),c[0][0]=t[3],c[1][0]=t[4],a(c[0][1],c[1][1],c[2][1],_,t),c[0][1]=t[3],c[1][1]=t[4]}if(C&&C!=="none"){var x=m(g.node2),_=r(c,T[1],x*l);a(c[0][0],c[1][0],c[2][0],_,t),c[1][0]=t[1],c[2][0]=t[2],a(c[0][1],c[1][1],c[2][1],_,t),c[1][1]=t[1],c[2][1]=t[2]}A.copy(y[0],c[0]),A.copy(y[1],c[2]),A.copy(y[2],c[1])}else{if(A.copy(h[0],T[0]),A.copy(h[1],T[1]),A.sub(f,h[1],h[0]),A.normalize(f,f),E&&E!=="none"){var x=m(g.node1);A.scaleAndAdd(h[0],h[0],f,x*l)}if(C&&C!=="none"){var x=m(g.node2);A.scaleAndAdd(h[1],h[1],f,-x*l)}A.copy(y[0],h[0]),A.copy(y[1],h[1])}})}M.exports=i},SJMd:function(M,P){/**
|
|
|
* @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 d,w,A,b=!1,m,v;window.PR_SHOULD_USE_CONTINUATION=!0;var p,s;(function(){var u=window,o=["break,continue,do,else,for,if,return,while"],e=[o,"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"],r=[e,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],i=[r,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],n=[r,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],l=[r,"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",a=[r,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],c="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",h=[o,"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"],f=[o,"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"],g=[o,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],S=[i,l,n,a,c,h,f,g],y=/^(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",D="tag",B="dec",N="src",k="atn",W="atv",R="nocode",j="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function H(te){for(var X=0,z=!1,Z=!1,be=0,ne=te.length;be<ne;++be){var Ae=te[be];if(Ae.ignoreCase)Z=!0;else if(/[a-z]/i.test(Ae.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){z=!0,Z=!1;break}}var Ne={b:8,t:9,n:10,v:11,f:12,r:13};function oe(Je){var Oe=Je.charCodeAt(0);if(Oe!==92)return Oe;var pt=Je.charAt(1);return Oe=Ne[pt],Oe||("0"<=pt&&pt<="7"?parseInt(Je.substring(1),8):pt==="u"||pt==="x"?parseInt(Je.substring(2),16):Je.charCodeAt(1))}function de(Je){if(Je<32)return(Je<16?"\\x0":"\\x")+Je.toString(16);var Oe=String.fromCharCode(Je);return Oe==="\\"||Oe==="-"||Oe==="]"||Oe==="^"?"\\"+Oe:Oe}function xe(Je){var Oe=Je.substring(1,Je.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")),pt=[],Qe=Oe[0]==="^",nt=["["];Qe&&nt.push("^");for(var bt=Qe?1:0,Tt=Oe.length;bt<Tt;++bt){var Ct=Oe[bt];if(/\\[bdsw]/i.test(Ct))nt.push(Ct);else{var Nt=oe(Ct),Ge;bt+2<Tt&&Oe[bt+1]==="-"?(Ge=oe(Oe[bt+2]),bt+=2):Ge=Nt,pt.push([Nt,Ge]),Ge<65||Nt>122||(Ge<65||Nt>90||pt.push([Math.max(65,Nt)|32,Math.min(Ge,90)|32]),Ge<97||Nt>122||pt.push([Math.max(97,Nt)&~32,Math.min(Ge,122)&~32]))}}pt.sort(function(Ce,le){return Ce[0]-le[0]||le[1]-Ce[1]});for(var ie=[],Y=[],bt=0;bt<pt.length;++bt){var we=pt[bt];we[0]<=Y[1]+1?Y[1]=Math.max(Y[1],we[1]):ie.push(Y=we)}for(var bt=0;bt<ie.length;++bt){var we=ie[bt];nt.push(de(we[0])),we[1]>we[0]&&(we[1]+1>we[0]&&nt.push("-"),nt.push(de(we[1])))}return nt.push("]"),nt.join("")}function Pe(Je){for(var Oe=Je.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")),pt=Oe.length,Qe=[],nt=0,bt=0;nt<pt;++nt){var Tt=Oe[nt];if(Tt==="(")++bt;else if(Tt.charAt(0)==="\\"){var Ct=+Tt.substring(1);Ct&&(Ct<=bt?Qe[Ct]=-1:Oe[nt]=de(Ct))}}for(var nt=1;nt<Qe.length;++nt)Qe[nt]===-1&&(Qe[nt]=++X);for(var nt=0,bt=0;nt<pt;++nt){var Tt=Oe[nt];if(Tt==="(")++bt,Qe[bt]||(Oe[nt]="(?:");else if(Tt.charAt(0)==="\\"){var Ct=+Tt.substring(1);Ct&&Ct<=bt&&(Oe[nt]="\\"+Qe[Ct])}}for(var nt=0;nt<pt;++nt)Oe[nt]==="^"&&Oe[nt+1]!=="^"&&(Oe[nt]="");if(Je.ignoreCase&&z)for(var nt=0;nt<pt;++nt){var Tt=Oe[nt],Nt=Tt.charAt(0);Tt.length>=2&&Nt==="["?Oe[nt]=xe(Tt):Nt!=="\\"&&(Oe[nt]=Tt.replace(/[a-zA-Z]/g,function(Y){var we=Y.charCodeAt(0);return"["+String.fromCharCode(we&~32,we|32)+"]"}))}return Oe.join("")}for(var tt=[],be=0,ne=te.length;be<ne;++be){var Ae=te[be];if(Ae.global||Ae.multiline)throw new Error(""+Ae);tt.push("(?:"+Pe(Ae)+")")}return new RegExp(tt.join("|"),Z?"gi":"g")}function K(te,X){var z=/(?:^|\s)nocode(?:\s|$)/,Z=[],be=0,ne=[],Ae=0;function Ne(oe){var de=oe.nodeType;if(de==1){if(z.test(oe.className))return;for(var xe=oe.firstChild;xe;xe=xe.nextSibling)Ne(xe);var Pe=oe.nodeName.toLowerCase();(Pe==="br"||Pe==="li")&&(Z[Ae]=`
|
|
|
`,ne[Ae<<1]=be++,ne[Ae++<<1|1]=oe)}else if(de==3||de==4){var tt=oe.nodeValue;tt.length&&(X?tt=tt.replace(/\r\n?/g,`
|
|
|
`):tt=tt.replace(/[ \t\r\n]+/g," "),Z[Ae]=tt,ne[Ae<<1]=be,be+=tt.length,ne[Ae++<<1|1]=oe)}}return Ne(te),{sourceCode:Z.join("").replace(/\n$/,""),spans:ne}}function U(te,X,z,Z,be){if(!z)return;var ne={sourceNode:te,pre:1,langExtension:null,numberLines:null,sourceCode:z,spans:null,basePos:X,decorations:null};Z(ne),be.push.apply(be,ne.decorations)}var Q=/\S/;function V(te){for(var X=void 0,z=te.firstChild;z;z=z.nextSibling){var Z=z.nodeType;X=Z===1?X?te:z:Z===3&&Q.test(z.nodeValue)?te:X}return X===te?void 0:X}function J(te,X){var z={},Z;(function(){for(var Ae=te.concat(X),Ne=[],oe={},de=0,xe=Ae.length;de<xe;++de){var Pe=Ae[de],tt=Pe[3];if(tt)for(var Je=tt.length;--Je>=0;)z[tt.charAt(Je)]=Pe;var Oe=Pe[1],pt=""+Oe;oe.hasOwnProperty(pt)||(Ne.push(Oe),oe[pt]=null)}Ne.push(/[\0-\uffff]/),Z=H(Ne)})();var be=X.length,ne=function Ae(Ne){for(var oe=Ne.sourceCode,de=Ne.basePos,xe=Ne.sourceNode,Pe=[de,L],tt=0,Je=oe.match(Z)||[],Oe={},pt=0,Qe=Je.length;pt<Qe;++pt){var nt=Je[pt],bt=Oe[nt],Tt=void 0,Ct;if(typeof bt=="string")Ct=!1;else{var Nt=z[nt.charAt(0)];if(Nt)Tt=nt.match(Nt[1]),bt=Nt[0];else{for(var Ge=0;Ge<be;++Ge)if(Nt=X[Ge],Tt=nt.match(Nt[1]),Tt){bt=Nt[0];break}Tt||(bt=L)}Ct=bt.length>=5&&bt.substring(0,5)==="lang-",Ct&&!(Tt&&typeof Tt[1]=="string")&&(Ct=!1,bt=N),Ct||(Oe[nt]=bt)}var ie=tt;if(tt+=nt.length,!Ct)Pe.push(de+ie,bt);else{var Y=Tt[1],we=nt.indexOf(Y),Ce=we+Y.length;Tt[2]&&(Ce=nt.length-Tt[2].length,we=Ce-Y.length);var le=bt.substring(5);U(xe,de+ie,nt.substring(0,we),Ae,Pe),U(xe,de+ie+we,Y,Se(le,Y),Pe),U(xe,de+ie+Ce,nt.substring(Ce),Ae,Pe)}}Ne.decorations=Pe};return ne}function ae(te){var X=[],z=[];te.tripleQuotedStrings?X.push([E,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):te.multiLineStrings?X.push([E,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):X.push([E,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),te.verbatimStrings&&z.push([E,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Z=te.hashComments;Z&&(te.cStyleComments?(Z>1?X.push([T,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):X.push([T,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),z.push([E,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):X.push([T,/^#[^\r\n]*/,null,"#"])),te.cStyleComments&&(z.push([T,/^\/\/[^\r\n]*/,null]),z.push([T,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var be=te.regexLiterals;if(be){var ne=be>1?"":`
|
|
|
\r`,Ae=ne?".":"[\\S\\s]",Ne="/(?=[^/*"+ne+"])(?:[^/\\x5B\\x5C"+ne+"]|\\x5C"+Ae+"|\\x5B(?:[^\\x5C\\x5D"+ne+"]|\\x5C"+Ae+")*(?:\\x5D|$))+/";z.push(["lang-regex",RegExp("^"+j+"("+Ne+")")])}var oe=te.types;oe&&z.push([x,oe]);var de=(""+te.keywords).replace(/^ | $/g,"");de.length&&z.push([C,new RegExp("^(?:"+de.replace(/[\s,]+/g,"|")+")\\b"),null]),X.push([L,/^\s+/,null,` \r
|
|
|
\xA0`]);var xe="^.[^\\s\\w.$@'\"`/\\\\]*";return te.regexLiterals&&(xe+="(?!s*/)"),z.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(xe),null]),J(X,z)}var se=ae({keywords:S,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function $(te,X,z){for(var Z=/(?:^|\s)nocode(?:\s|$)/,be=/\r\n?|\n/,ne=te.ownerDocument,Ae=ne.createElement("li");te.firstChild;)Ae.appendChild(te.firstChild);var Ne=[Ae];function oe(Oe){var pt=Oe.nodeType;if(pt==1&&!Z.test(Oe.className))if(Oe.nodeName==="br")de(Oe),Oe.parentNode&&Oe.parentNode.removeChild(Oe);else for(var Qe=Oe.firstChild;Qe;Qe=Qe.nextSibling)oe(Qe);else if((pt==3||pt==4)&&z){var nt=Oe.nodeValue,bt=nt.match(be);if(bt){var Tt=nt.substring(0,bt.index);Oe.nodeValue=Tt;var Ct=nt.substring(bt.index+bt[0].length);if(Ct){var Nt=Oe.parentNode;Nt.insertBefore(ne.createTextNode(Ct),Oe.nextSibling)}de(Oe),Tt||Oe.parentNode.removeChild(Oe)}}}function de(Oe){for(;!Oe.nextSibling;)if(Oe=Oe.parentNode,!Oe)return;function pt(bt,Tt){var Ct=Tt?bt.cloneNode(!1):bt,Nt=bt.parentNode;if(Nt){var Ge=pt(Nt,1),ie=bt.nextSibling;Ge.appendChild(Ct);for(var Y=ie;Y;Y=ie)ie=Y.nextSibling,Ge.appendChild(Y)}return Ct}for(var Qe=pt(Oe.nextSibling,0),nt;(nt=Qe.parentNode)&&nt.nodeType===1;)Qe=nt;Ne.push(Qe)}for(var xe=0;xe<Ne.length;++xe)oe(Ne[xe]);X===(X|0)&&Ne[0].setAttribute("value",X);var Pe=ne.createElement("ol");Pe.className="linenums";for(var tt=Math.max(0,X-1|0)||0,xe=0,Je=Ne.length;xe<Je;++xe)Ae=Ne[xe],Ae.className="L"+(xe+tt)%10,Ae.firstChild||Ae.appendChild(ne.createTextNode("\xA0")),Pe.appendChild(Ae);te.appendChild(Pe)}function ge(te){var X=/\bMSIE\s(\d+)/.exec(navigator.userAgent);X=X&&+X[1]<=8;var z=/\n/g,Z=te.sourceCode,be=Z.length,ne=0,Ae=te.spans,Ne=Ae.length,oe=0,de=te.decorations,xe=de.length,Pe=0;de[xe]=be;var tt,Je;for(Je=tt=0;Je<xe;)de[Je]!==de[Je+2]?(de[tt++]=de[Je++],de[tt++]=de[Je++]):Je+=2;for(xe=tt,Je=tt=0;Je<xe;){for(var Oe=de[Je],pt=de[Je+1],Qe=Je+2;Qe+2<=xe&&de[Qe+1]===pt;)Qe+=2;de[tt++]=Oe,de[tt++]=pt,Je=Qe}xe=de.length=tt;var nt=te.sourceNode,bt="";nt&&(bt=nt.style.display,nt.style.display="none");try{for(var Tt=null;oe<Ne;){var Ct=Ae[oe],Nt=Ae[oe+2]||be,Ge=de[Pe+2]||be,Qe=Math.min(Nt,Ge),ie=Ae[oe+1],Y;if(ie.nodeType!==1&&(Y=Z.substring(ne,Qe))){X&&(Y=Y.replace(z,"\r")),ie.nodeValue=Y;var we=ie.ownerDocument,Ce=we.createElement("span");Ce.className=de[Pe+1];var le=ie.parentNode;le.replaceChild(Ce,ie),Ce.appendChild(ie),ne<Nt&&(Ae[oe+1]=ie=we.createTextNode(Z.substring(Qe,Nt)),le.insertBefore(ie,Ce.nextSibling))}ne=Qe,ne>=Nt&&(oe+=2),ne>=Ge&&(Pe+=2)}}finally{nt&&(nt.style.display=bt)}}var he={};function Ie(te,X){for(var z=X.length;--z>=0;){var Z=X[z];he.hasOwnProperty(Z)?u.console&&console.warn("cannot override language handler %s",Z):he[Z]=te}}function Se(te,X){return te&&he.hasOwnProperty(te)||(te=/^\s*</.test(X)?"default-markup":"default-code"),he[te]}Ie(se,["default-code"]),Ie(J([],[[L,/^[^<?]+/],[B,/^<!\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(J([[L,/^[\s]+/,null,` \r
|
|
|
`],[W,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[D,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[k,/^(?!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(J([],[[W,/^[\s\S]+/]]),["uq.val"]),Ie(ae({keywords:i,hashComments:!0,cStyleComments:!0,types:y}),["c","cc","cpp","cxx","cyc","m"]),Ie(ae({keywords:"null,true,false"}),["json"]),Ie(ae({keywords:l,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:y}),["cs"]),Ie(ae({keywords:n,cStyleComments:!0}),["java"]),Ie(ae({keywords:g,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Ie(ae({keywords:h,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Ie(ae({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Ie(ae({keywords:f,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Ie(ae({keywords:a,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Ie(ae({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Ie(J([],[[E,/^[\s\S]+/]]),["regex"]);function Le(te){var X=te.langExtension;try{var z=K(te.sourceNode,te.pre),Z=z.sourceCode;te.sourceCode=Z,te.spans=z.spans,te.basePos=0,Se(X,Z)(te),ge(te)}catch(be){u.console&&console.log(be&&be.stack||be)}}function He(te,X,z){var Z=z||!1,be=X||null,ne=document.createElement("div");ne.innerHTML="<pre>"+te+"</pre>",ne=ne.firstChild,Z&&$(ne,Z,!0);var Ae={langExtension:be,numberLines:Z,sourceNode:ne,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Le(Ae),ne.innerHTML}function G(te,X){var z=X||document.body,Z=z.ownerDocument||document;function be(Ct){return z.getElementsByTagName(Ct)}for(var ne=[be("pre"),be("code"),be("xmp")],Ae=[],Ne=0;Ne<ne.length;++Ne)for(var oe=0,de=ne[Ne].length;oe<de;++oe)Ae.push(ne[Ne][oe]);ne=null;var xe=Date;xe.now||(xe={now:function(){return+new Date}});var Pe=0,tt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Je=/\bprettyprint\b/,Oe=/\bprettyprinted\b/,pt=/pre|xmp/i,Qe=/^code$/i,nt=/^(?:pre|code|xmp)$/i,bt={};function Tt(){for(var Ct=u.PR_SHOULD_USE_CONTINUATION?xe.now()+250:Infinity;Pe<Ae.length&&xe.now()<Ct;Pe++){for(var Nt=Ae[Pe],Ge=bt,ie=Nt;ie=ie.previousSibling;){var Y=ie.nodeType,we=(Y===7||Y===8)&&ie.nodeValue;if(we?!/^\??prettify\b/.test(we):Y!==3||/\S/.test(ie.nodeValue))break;if(we){Ge={},we.replace(/\b(\w+)=([\w:.%+-]+)/g,function(At,Jt,br){Ge[Jt]=br});break}}var Ce=Nt.className;if((Ge!==bt||Je.test(Ce))&&!Oe.test(Ce)){for(var le=!1,ot=Nt.parentNode;ot;ot=ot.parentNode){var wt=ot.tagName;if(nt.test(wt)&&ot.className&&Je.test(ot.className)){le=!0;break}}if(!le){Nt.className+=" prettyprinted";var rt=Ge.lang;if(!rt){rt=Ce.match(tt);var It;!rt&&(It=V(Nt))&&Qe.test(It.tagName)&&(rt=It.className.match(tt)),rt&&(rt=rt[1])}var Gt;if(pt.test(Nt.tagName))Gt=1;else{var lr=Nt.currentStyle,pr=Z.defaultView,Rr=lr?lr.whiteSpace:pr&&pr.getComputedStyle?pr.getComputedStyle(Nt,null).getPropertyValue("white-space"):0;Gt=Rr&&Rr.substring(0,3)==="pre"}var xt=Ge.linenums;(xt=xt==="true"||+xt)||(xt=Ce.match(/\blinenums\b(?::(\d+))?/),xt=xt?xt[1]&&xt[1].length?+xt[1]:!0:!1),xt&&$(Nt,xt,Gt);var Ot={langExtension:rt,sourceNode:Nt,numberLines:xt,pre:Gt,sourceCode:null,basePos:null,spans:null,decorations:null};Le(Ot)}}}Pe<Ae.length?u.setTimeout(Tt,250):typeof te=="function"&&te()}Tt()}var pe=u.PR={createSimpleLexer:J,registerLangHandler:Ie,sourceDecorator:ae,PR_ATTRIB_NAME:k,PR_ATTRIB_VALUE:W,PR_COMMENT:T,PR_DECLARATION:B,PR_KEYWORD:C,PR_LITERAL:_,PR_NOCODE:R,PR_PLAIN:L,PR_PUNCTUATION:I,PR_SOURCE:N,PR_STRING:E,PR_TAG:D,PR_TYPE:x,prettyPrintOne:b?u.prettyPrintOne=He:p=He,prettyPrint:s=b?u.prettyPrint=G:s=G},We=u.define;typeof We=="function"&&We.amd&&We("google-code-prettify",[],function(){return pe})})()},SKnc:function(M,P,d){var w=d("bYtY"),A=d("QuXc"),b=function(p,s,u,o,e,r){this.x=p==null?0:p,this.y=s==null?0:s,this.x2=u==null?1:u,this.y2=o==null?0:o,this.type="linear",this.global=r||!1,A.call(this,e)};b.prototype={constructor:b},w.inherits(b,A);var m=b;M.exports=m},"SKx+":function(M,P,d){var w=d("ProS"),A=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}}}),b=A;M.exports=b},SMc4:function(M,P,d){var w=d("bYtY"),A=d("bLfw"),b=d("nkfE"),m=d("ICMv"),v=A.extend({type:"cartesian2dAxis",axis:null,init:function(){v.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){v.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){v.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function p(o,e){return e.type||(e.data?"category":"value")}w.merge(v.prototype,m);var s={offset:0};b("x",v,p,s),b("y",v,p,s);var u=v;M.exports=u},SUKs:function(M,P,d){var w=d("LPTA"),A=w.debugMode,b=function(){};A===1&&(b=console.error);var m=b;M.exports=m},SZEN:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.clientToElement=w;function w(A,b,m){var v=m.getBoundingClientRect(),p={x:0,y:0};return A<v.left?p.x=0:A>=v.right?p.x=v.width-1:p.x=A-v.left,b<v.top?p.y=0:b>=v.bottom?p.y=v.height-1:p.y=b-v.top,p}},SehX:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("2B6p"),m=b.updateCenterAndZoom;w.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(v,p){var s=v.componentType||"series";p.eachComponent({mainType:s,query:v},function(u){var o=u.coordinateSystem;if(o.type!=="geo")return;var e=m(o,v,u.get("scaleLimit"));u.setCenter&&u.setCenter(e.center),u.setZoom&&u.setZoom(e.zoom),s==="series"&&A.each(u.seriesGroup,function(r){r.setCenter(e.center),r.setZoom(e.zoom)})})})},SgGq:function(M,P,d){var w=d("bYtY"),A=d("H6uX"),b=d("YH21"),m=d("pP6R");function v(t){this.pointerChecker,this._zr=t,this._opt={};var a=w.bind,c=a(p,this),h=a(s,this),f=a(u,this),g=a(o,this),S=a(e,this);A.call(this),this.setPointerChecker=function(y){this.pointerChecker=y},this.enable=function(y,E){this.disable(),this._opt=w.defaults(w.clone(E)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),y==null&&(y=!0),(y===!0||y==="move"||y==="pan")&&(t.on("mousedown",c),t.on("mousemove",h),t.on("mouseup",f)),(y===!0||y==="scale"||y==="zoom")&&(t.on("mousewheel",g),t.on("pinch",S))},this.disable=function(){t.off("mousedown",c),t.off("mousemove",h),t.off("mouseup",f),t.off("mousewheel",g),t.off("pinch",S)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}w.mixin(v,A);function p(t){if(b.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)return;var a=t.offsetX,c=t.offsetY;this.pointerChecker&&this.pointerChecker(t,a,c)&&(this._x=a,this._y=c,this._dragging=!0)}function s(t){if(!this._dragging||!n("moveOnMouseMove",t,this._opt)||t.gestureEvent==="pinch"||m.isTaken(this._zr,"globalPan"))return;var a=t.offsetX,c=t.offsetY,h=this._x,f=this._y,g=a-h,S=c-f;this._x=a,this._y=c,this._opt.preventDefaultMouseMove&&b.stop(t.event),i(this,"pan","moveOnMouseMove",t,{dx:g,dy:S,oldX:h,oldY:f,newX:a,newY:c})}function u(t){b.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function o(t){var a=n("zoomOnMouseWheel",t,this._opt),c=n("moveOnMouseWheel",t,this._opt),h=t.wheelDelta,f=Math.abs(h),g=t.offsetX,S=t.offsetY;if(h===0||!a&&!c)return;if(a){var y=f>3?1.4:f>1?1.2:1.1,E=h>0?y:1/y;r(this,"zoom","zoomOnMouseWheel",t,{scale:E,originX:g,originY:S})}if(c){var C=Math.abs(h),T=(h>0?1:-1)*(C>3?.4:C>1?.15:.05);r(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:T,originX:g,originY:S})}}function e(t){if(m.isTaken(this._zr,"globalPan"))return;var a=t.pinchScale>1?1.1:1/1.1;r(this,"zoom",null,t,{scale:a,originX:t.pinchX,originY:t.pinchY})}function r(t,a,c,h,f){t.pointerChecker&&t.pointerChecker(h,f.originX,f.originY)&&(b.stop(h.event),i(t,a,c,h,f))}function i(t,a,c,h,f){f.isAvailableBehavior=w.bind(n,null,c,h),t.trigger(a,f)}function n(t,a,c){var h=c[t];return!t||h&&(!w.isString(h)||a.event[h+"Key"])}var l=v;M.exports=l},SgaC:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;function w(v,p){if(!(v instanceof p))throw new TypeError("Cannot call a class as a function")}function A(v,p){for(var s=0;s<p.length;s++){var u=p[s];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(v,u.key,u)}}function b(v,p,s){return p&&A(v.prototype,p),s&&A(v,s),v}var m=function(){function v(){w(this,v),this._subrects=0}return b(v,[{key:"decodeRect",value:function(s,u,o,e,r,i,n){if(this._subrects===0){if(r.rQwait("RRE",4+4))return!1;this._subrects=r.rQshift32();var l=r.rQshiftBytes(4);i.fillRect(s,u,o,e,l)}for(;this._subrects>0;){if(r.rQwait("RRE",4+8))return!1;var t=r.rQshiftBytes(4),a=r.rQshift16(),c=r.rQshift16(),h=r.rQshift16(),f=r.rQshift16();i.fillRect(s+a,u+c,h,f,t),this._subrects--}return!0}}]),v}();P.default=m},Sj9i:function(M,P,d){var w=d("QBsz"),A=w.create,b=w.distSquare,m=Math.pow,v=Math.sqrt,p=1e-8,s=1e-4,u=v(3),o=1/3,e=A(),r=A(),i=A();function n(_){return _>-p&&_<p}function l(_){return _>p||_<-p}function t(_,I,L,D,B){var N=1-B;return N*N*(N*_+3*B*I)+B*B*(B*D+3*N*L)}function a(_,I,L,D,B){var N=1-B;return 3*(((I-_)*N+2*(L-I)*B)*N+(D-L)*B*B)}function c(_,I,L,D,B,N){var k=D+3*(I-L)-_,W=3*(L-I*2+_),R=3*(I-_),j=_-B,H=W*W-3*k*R,K=W*R-9*k*j,U=R*R-3*W*j,Q=0;if(n(H)&&n(K))if(n(W))N[0]=0;else{var V=-R/W;V>=0&&V<=1&&(N[Q++]=V)}else{var J=K*K-4*H*U;if(n(J)){var ae=K/H,V=-W/k+ae,se=-ae/2;V>=0&&V<=1&&(N[Q++]=V),se>=0&&se<=1&&(N[Q++]=se)}else if(J>0){var $=v(J),ge=H*W+1.5*k*(-K+$),he=H*W+1.5*k*(-K-$);ge<0?ge=-m(-ge,o):ge=m(ge,o),he<0?he=-m(-he,o):he=m(he,o);var V=(-W-(ge+he))/(3*k);V>=0&&V<=1&&(N[Q++]=V)}else{var Ie=(2*H*W-3*k*K)/(2*v(H*H*H)),Se=Math.acos(Ie)/3,Le=v(H),He=Math.cos(Se),V=(-W-2*Le*He)/(3*k),se=(-W+Le*(He+u*Math.sin(Se)))/(3*k),G=(-W+Le*(He-u*Math.sin(Se)))/(3*k);V>=0&&V<=1&&(N[Q++]=V),se>=0&&se<=1&&(N[Q++]=se),G>=0&&G<=1&&(N[Q++]=G)}}return Q}function h(_,I,L,D,B){var N=6*L-12*I+6*_,k=9*I+3*D-3*_-9*L,W=3*I-3*_,R=0;if(n(k)){if(l(N)){var j=-W/N;j>=0&&j<=1&&(B[R++]=j)}}else{var H=N*N-4*k*W;if(n(H))B[0]=-N/(2*k);else if(H>0){var K=v(H),j=(-N+K)/(2*k),U=(-N-K)/(2*k);j>=0&&j<=1&&(B[R++]=j),U>=0&&U<=1&&(B[R++]=U)}}return R}function f(_,I,L,D,B,N){var k=(I-_)*B+_,W=(L-I)*B+I,R=(D-L)*B+L,j=(W-k)*B+k,H=(R-W)*B+W,K=(H-j)*B+j;N[0]=_,N[1]=k,N[2]=j,N[3]=K,N[4]=K,N[5]=H,N[6]=R,N[7]=D}function g(_,I,L,D,B,N,k,W,R,j,H){var K,U=.005,Q=Infinity,V,J,ae,se;e[0]=R,e[1]=j;for(var $=0;$<1;$+=.05)r[0]=t(_,L,B,k,$),r[1]=t(I,D,N,W,$),ae=b(e,r),ae<Q&&(K=$,Q=ae);Q=Infinity;for(var ge=0;ge<32&&!(U<s);ge++)V=K-U,J=K+U,r[0]=t(_,L,B,k,V),r[1]=t(I,D,N,W,V),ae=b(r,e),V>=0&&ae<Q?(K=V,Q=ae):(i[0]=t(_,L,B,k,J),i[1]=t(I,D,N,W,J),se=b(i,e),J<=1&&se<Q?(K=J,Q=se):U*=.5);return H&&(H[0]=t(_,L,B,k,K),H[1]=t(I,D,N,W,K)),v(Q)}function S(_,I,L,D){var B=1-D;return B*(B*_+2*D*I)+D*D*L}function y(_,I,L,D){return 2*((1-D)*(I-_)+D*(L-I))}function E(_,I,L,D,B){var N=_-2*I+L,k=2*(I-_),W=_-D,R=0;if(n(N)){if(l(k)){var j=-W/k;j>=0&&j<=1&&(B[R++]=j)}}else{var H=k*k-4*N*W;if(n(H)){var j=-k/(2*N);j>=0&&j<=1&&(B[R++]=j)}else if(H>0){var K=v(H),j=(-k+K)/(2*N),U=(-k-K)/(2*N);j>=0&&j<=1&&(B[R++]=j),U>=0&&U<=1&&(B[R++]=U)}}return R}function C(_,I,L){var D=_+L-2*I;return D===0?.5:(_-I)/D}function T(_,I,L,D,B){var N=(I-_)*D+_,k=(L-I)*D+I,W=(k-N)*D+N;B[0]=_,B[1]=N,B[2]=W,B[3]=W,B[4]=k,B[5]=L}function x(_,I,L,D,B,N,k,W,R){var j,H=.005,K=Infinity;e[0]=k,e[1]=W;for(var U=0;U<1;U+=.05){r[0]=S(_,L,B,U),r[1]=S(I,D,N,U);var Q=b(e,r);Q<K&&(j=U,K=Q)}K=Infinity;for(var V=0;V<32&&!(H<s);V++){var J=j-H,ae=j+H;r[0]=S(_,L,B,J),r[1]=S(I,D,N,J);var Q=b(r,e);if(J>=0&&Q<K)j=J,K=Q;else{i[0]=S(_,L,B,ae),i[1]=S(I,D,N,ae);var se=b(i,e);ae<=1&&se<K?(j=ae,K=se):H*=.5}}return R&&(R[0]=S(_,L,B,j),R[1]=S(I,D,N,j)),v(K)}P.cubicAt=t,P.cubicDerivativeAt=a,P.cubicRootAt=c,P.cubicExtrema=h,P.cubicSubdivide=f,P.cubicProjectPoint=g,P.quadraticAt=S,P.quadraticDerivativeAt=y,P.quadraticRootAt=E,P.quadraticExtremum=C,P.quadraticSubdivide=T,P.quadraticProjectPoint=x},Sp2Z:function(M,P,d){var w=d("3LNs"),A=d("/y7N"),b=d("AVZG"),m=d("Znkb"),v=w.extend({makeElOption:function(e,r,i,n,l){var t=i.axis,a=t.grid,c=n.get("type"),h=p(a,t).getOtherAxis(t).getGlobalExtent(),f=t.toGlobalCoord(t.dataToCoord(r,!0));if(c&&c!=="none"){var g=A.buildElStyle(n),S=s[c](t,f,h);S.style=g,e.graphicKey=S.type,e.pointer=S}var y=b.layout(a.model,i);A.buildCartesianSingleLabelElOption(r,e,y,i,n,l)},getHandleTransform:function(e,r,i){var n=b.layout(r.axis.grid.model,r,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:A.getTransformedPosition(r.axis,e,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,r,i,n){var l=i.axis,t=l.grid,a=l.getGlobalExtent(!0),c=p(t,l).getOtherAxis(l).getGlobalExtent(),h=l.dim==="x"?0:1,f=e.position;f[h]+=r[h],f[h]=Math.min(a[1],f[h]),f[h]=Math.max(a[0],f[h]);var g=(c[1]+c[0])/2,S=[g,g];S[h]=f[h];var y=[{verticalAlign:"middle"},{align:"center"}];return{position:f,rotation:e.rotation,cursorPoint:S,tooltipOption:y[h]}}});function p(e,r){var i={};return i[r.dim+"AxisIndex"]=r.index,e.getCartesian(i)}var s={line:function(e,r,i){var n=A.makeLineShape([r,i[0]],[r,i[1]],u(e));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(e,r,i){var n=Math.max(1,e.getBandWidth()),l=i[1]-i[0];return{type:"Rect",shape:A.makeRectShape([r-n/2,i[0]],[n,l],u(e))}}};function u(e){return e.dim==="x"?0:1}m.registerAxisPointerClass("CartesianAxisPointer",v);var o=v;M.exports=o},Sq3C:function(M,P,d){var w=d("sKgW"),A=d("zoYe"),b=d("wy8a"),m=d("quyA"),v=d("Z1HP"),p=d("Em2t"),s=Math.ceil;function u(o,e){e=e===void 0?" ":A(e);var r=e.length;if(r<2)return r?w(e,o):e;var i=w(e,s(o/v(e)));return m(e)?b(p(i),0,o).join(""):i.slice(0,o)}M.exports=u},SqI9:function(M,P,d){var w=d("y+Vt"),A=d("iXp4"),b=w.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:A(w.prototype.brush),buildPath:function(v,p){var s=p.cx,u=p.cy,o=Math.max(p.r0||0,0),e=Math.max(p.r,0),r=p.startAngle,i=p.endAngle,n=p.clockwise,l=Math.cos(r),t=Math.sin(r);v.moveTo(l*o+s,t*o+u),v.lineTo(l*e+s,t*e+u),v.arc(s,u,e,r,i,!n),v.lineTo(Math.cos(i)*o+s,Math.sin(i)*o+u),o!==0&&v.arc(s,u,o,i,r,n),v.closePath()}});M.exports=b},SrGk:function(M,P,d){var w=d("hydK"),A=w.createElement,b=d("bYtY"),m=d("y+Vt"),v=d("Dagg"),p=d("dqUG"),s=d("P47w"),u=s.path,o=s.image,e=s.text,r="0",i="1";function n(t,a,c,h,f){this._zrId=t,this._svgRoot=a,this._tagNames=typeof c=="string"?[c]:c,this._markLabel=h,this._domName=f||"_dom",this.nextId=0}n.prototype.createElement=A,n.prototype.getDefs=function(t){var a=this._svgRoot,c=this._svgRoot.getElementsByTagName("defs");return c.length===0?t?(c=a.insertBefore(this.createElement("defs"),a.firstChild),c.contains||(c.contains=function(h){var f=c.children;if(!f)return!1;for(var g=f.length-1;g>=0;--g)if(f[g]===h)return!0;return!1}),c):null:c[0]},n.prototype.update=function(t,a){if(!t)return;var c=this.getDefs(!1);if(t[this._domName]&&c.contains(t[this._domName]))typeof a=="function"&&a(t);else{var h=this.add(t);h&&(t[this._domName]=h)}},n.prototype.addDom=function(t){var a=this.getDefs(!0);a.appendChild(t)},n.prototype.removeDom=function(t){var a=this.getDefs(!1);a&&t[this._domName]&&(a.removeChild(t[this._domName]),t[this._domName]=null)},n.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var a=[];return b.each(this._tagNames,function(c){var h=t.getElementsByTagName(c);a=a.concat([].slice.call(h))}),a},n.prototype.markAllUnused=function(){var t=this.getDoms(),a=this;b.each(t,function(c){c[a._markLabel]=r})},n.prototype.markUsed=function(t){t&&(t[this._markLabel]=i)},n.prototype.removeUnused=function(){var t=this.getDefs(!1);if(!t)return;var a=this.getDoms(),c=this;b.each(a,function(h){h[c._markLabel]!==i&&t.removeChild(h)})},n.prototype.getSvgProxy=function(t){return t instanceof m?u:t instanceof v?o:t instanceof p?e:u},n.prototype.getTextSvgElement=function(t){return t.__textSvgEl},n.prototype.getSvgElement=function(t){return t.__svgEl};var l=n;M.exports=l},Swgg:function(M,P,d){var w=d("fc+c"),A=w.extend({type:"dataZoom.select"});M.exports=A},Sxd8:function(M,P,d){var w=d("ZCgT");function A(b){var m=w(b),v=m%1;return m===m?v?m-v:m:0}M.exports=A},T4UG:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=d("ItGF"),v=d("7aKB"),p=v.formatTime,s=v.encodeHTML,u=v.addCommas,o=v.getTooltipMarker,e=d("4NO4"),r=d("bLfw"),i=d("5Hur"),n=d("OKJ2"),l=d("+TT/"),t=l.getLayoutParams,a=l.mergeLayoutParam,c=d("9H2F"),h=c.createTask,f=d("D5nY"),g=f.prepareSource,S=f.getSource,y=d("KxfA"),E=y.retrieveRawValue,C=e.makeInner(),T=r.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(R,j,H,K){this.seriesIndex=this.componentIndex,this.dataTask=h({count:I,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(R,H),g(this);var U=this.getInitialData(R,H);B(U,this),this.dataTask.context.data=U,C(this).dataBeforeProcessed=U,x(this)},mergeDefaultAndTheme:function(R,j){var H=this.layoutMode,K=H?t(R):{},U=this.subType;r.hasClass(U)&&(U+="Series"),b.merge(R,j.getTheme().get(this.subType)),b.merge(R,this.getDefaultOption()),e.defaultEmphasis(R,"label",["show"]),this.fillDataTextStyle(R.data),H&&a(R,K,H)},mergeOption:function(R,j){R=b.merge(this.option,R,!0),this.fillDataTextStyle(R.data);var H=this.layoutMode;H&&a(this.option,R,H),g(this);var K=this.getInitialData(R,j);B(K,this),this.dataTask.dirty(),this.dataTask.context.data=K,C(this).dataBeforeProcessed=K,x(this)},fillDataTextStyle:function(R){if(R&&!b.isTypedArray(R))for(var j=["show"],H=0;H<R.length;H++)R[H]&&R[H].label&&e.defaultEmphasis(R[H],"label",j)},getInitialData:function(){},appendData:function(R){var j=this.getRawData();j.appendData(R.data)},getData:function(R){var j=k(this);if(j){var H=j.context.data;return R==null?H:H.getLinkedData(R)}else return C(this).data},setData:function(R){var j=k(this);if(j){var H=j.context;H.data!==R&&j.modifyOutputEnd&&j.setOutputEnd(R.count()),H.outputData=R,j!==this.dataTask&&(H.data=R)}C(this).data=R},getSource:function(){return S(this)},getRawData:function(){return C(this).dataBeforeProcessed},getBaseAxis:function(){var R=this.coordinateSystem;return R&&R.getBaseAxis&&R.getBaseAxis()},formatTooltip:function(R,j,H,K){var U=this;K=K||"html";var Q=K==="html"?"<br/>":`
|
|
|
`,V=K==="richText",J={},ae=0;function se(ne){var Ae=b.reduce(ne,function(Pe,tt,Je){var Oe=ge.getDimensionInfo(Je);return Pe|=Oe&&Oe.tooltip!==!1&&Oe.displayName!=null},0),Ne=[];he.length?b.each(he,function(Pe){oe(E(ge,R,Pe),Pe)}):b.each(ne,oe);function oe(Pe,tt){var Je=ge.getDimensionInfo(tt);if(!Je||Je.otherDims.tooltip===!1)return;var Oe=Je.type,pt="sub"+U.seriesIndex+"at"+ae,Qe=o({color:He,type:"subItem",renderMode:K,markerId:pt}),nt=typeof Qe=="string"?Qe:Qe.content,bt=(Ae?nt+s(Je.displayName||"-")+": ":"")+s(Oe==="ordinal"?Pe+"":Oe==="time"?j?"":p("yyyy/MM/dd hh:mm:ss",Pe):u(Pe));bt&&Ne.push(bt),V&&(J[pt]=He,++ae)}var de=Ae?V?`
|
|
|
`:"<br/>":"",xe=de+Ne.join(de||", ");return{renderMode:K,content:xe,style:J}}function $(ne){return{renderMode:K,content:s(u(ne)),style:J}}var ge=this.getData(),he=ge.mapDimension("defaultedTooltip",!0),Ie=he.length,Se=this.getRawValue(R),Le=b.isArray(Se),He=ge.getItemVisual(R,"color");b.isObject(He)&&He.colorStops&&(He=(He.colorStops[0]||{}).color),He=He||"transparent";var G=Ie>1||Le&&!Ie?se(Se):$(Ie?E(ge,R,he[0]):Le?Se[0]:Se),pe=G.content,We=U.seriesIndex+"at"+ae,te=o({color:He,type:"item",renderMode:K,markerId:We});J[We]=He,++ae;var X=ge.getName(R),z=this.name;e.isNameSpecified(this)||(z=""),z=z?s(z)+(j?": ":Q):"";var Z=typeof te=="string"?te:te.content,be=j?Z+z+pe:z+Z+(X?s(X)+": "+pe:pe);return{html:be,markers:J}},isAnimationEnabled:function(){if(m.node)return!1;var R=this.getShallow("animation");return R&&(this.getData().count()>this.getShallow("animationThreshold")&&(R=!1)),R},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(R,j,H){var K=this.ecModel,U=i.getColorFromPalette.call(this,R,j,H);return U||(U=K.getColorFromPalette(R,j,H)),U},coordDimToDataDim:function(R){return this.getRawData().mapDimension(R,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});b.mixin(T,n),b.mixin(T,i);function x(R){var j=R.name;e.isNameSpecified(R)||(R.name=_(R)||j)}function _(R){var j=R.getRawData(),H=j.mapDimension("seriesName",!0),K=[];return b.each(H,function(U){var Q=j.getDimensionInfo(U);Q.displayName&&K.push(Q.displayName)}),K.join(" ")}function I(R){return R.model.getRawData().count()}function L(R){var j=R.model;return j.setData(j.getRawData().cloneShallow()),D}function D(R,j){j.outputData&&R.end>j.outputData.count()&&j.model.getRawData().cloneShallow(j.outputData)}function B(R,j){b.each(R.CHANGABLE_METHODS,function(H){R.wrapMethod(H,b.curry(N,j))})}function N(R){var j=k(R);j&&j.setOutputEnd(this.count())}function k(R){var j=(R.ecModel||{}).scheduler,H=j&&j.getPipeline(R.uid);if(H){var K=H.currentTask;if(K){var U=K.agentStubMap;U&&(K=U.get(R.uid))}return K}}var W=T;M.exports=W},T6xi:function(M,P,d){var w=d("YgsL"),A=d("nCxF");function b(m,v,p){var s=v.points,u=v.smooth;if(s&&s.length>=2){if(u&&u!=="spline"){var o=A(s,u,p,v.smoothConstraint);m.moveTo(s[0][0],s[0][1]);for(var e=s.length,r=0;r<(p?e:e-1);r++){var i=o[r*2],n=o[r*2+1],l=s[(r+1)%e];m.bezierCurveTo(i[0],i[1],n[0],n[1],l[0],l[1])}}else{u==="spline"&&(s=w(s,p)),m.moveTo(s[0][0],s[0][1]);for(var r=1,t=s.length;r<t;r++)m.lineTo(s[r][0],s[r][1])}p&&m.closePath()}}P.buildPath=b},TIY9:function(M,P,d){var w=d("bYtY"),A=w.each,b=d("vafp"),m=d("4NO4"),v=m.makeInner,p=d("Mgri"),s=d("F5Ls"),u=d("a9QJ"),o=d("p/La"),e=v(),r={load:function(n,l,t){var a=e(l).parsed;if(a)return a;var c=l.specialAreas||{},h=l.geoJSON,f;try{f=h?b(h,t):[]}catch(g){throw new Error(`Invalid geoJson format
|
|
|
`+g.message)}return p(n,f),A(f,function(g){var S=g.name;s(n,g),u(n,g),o(n,g);var y=c[S];y&&g.transformTo(y.left,y.top,y.width,y.height)}),e(l).parsed={regions:f,boundingRect:i(f)}}};function i(n){for(var l,t=0;t<n.length;t++){var a=n[t].getBoundingRect();l=l||a.clone(),l.union(a)}return l}M.exports=r},TJmX:function(M,P,d){var w=d("zM3Q"),A=["itemStyle","borderColor"],b=["itemStyle","borderColor0"],m=["itemStyle","color"],v=["itemStyle","color0"],p={seriesType:"candlestick",plan:w(),performRawSeries:!0,reset:function(s,u){var o=s.getData();if(o.setVisual({legendSymbol:"roundRect",colorP:i(1,s),colorN:i(-1,s),borderColorP:n(1,s),borderColorN:n(-1,s)}),u.isSeriesFiltered(s))return;var e=s.pipelineContext.large;return!e&&{progress:r};function r(l,t){for(var a;(a=l.next())!=null;){var c=t.getItemModel(a),h=t.getItemLayout(a).sign;t.setItemVisual(a,{color:i(h,c),borderColor:n(h,c)})}}function i(l,t){return t.get(l>0?m:v)}function n(l,t){return t.get(l>0?A:b)}}};M.exports=p},TWL2:function(M,P,d){var w=d("IwbS"),A=d("bYtY"),b=d("6Ic6");function m(o,e){w.Group.call(this);var r=new w.Polygon,i=new w.Polyline,n=new w.Text;this.add(r),this.add(i),this.add(n),this.highDownOnUpdate=function(l,t){t==="emphasis"?(i.ignore=i.hoverIgnore,n.ignore=n.hoverIgnore):(i.ignore=i.normalIgnore,n.ignore=n.normalIgnore)},this.updateData(o,e,!0)}var v=m.prototype,p=["itemStyle","opacity"];v.updateData=function(o,e,r){var i=this.childAt(0),n=o.hostModel,l=o.getItemModel(e),t=o.getItemLayout(e),a=o.getItemModel(e).get(p);a=a==null?1:a,i.useStyle({}),r?(i.setShape({points:t.points}),i.setStyle({opacity:0}),w.initProps(i,{style:{opacity:a}},n,e)):w.updateProps(i,{style:{opacity:a},shape:{points:t.points}},n,e);var c=l.getModel("itemStyle"),h=o.getItemVisual(e,"color");i.setStyle(A.defaults({lineJoin:"round",fill:h},c.getItemStyle(["opacity"]))),i.hoverStyle=c.getModel("emphasis").getItemStyle(),this._updateLabel(o,e),w.setHoverStyle(this)},v._updateLabel=function(o,e){var r=this.childAt(1),i=this.childAt(2),n=o.hostModel,l=o.getItemModel(e),t=o.getItemLayout(e),a=t.label,c=o.getItemVisual(e,"color");w.updateProps(r,{shape:{points:a.linePoints||a.linePoints}},n,e),w.updateProps(i,{style:{x:a.x,y:a.y}},n,e),i.attr({rotation:a.rotation,origin:[a.x,a.y],z2:10});var h=l.getModel("label"),f=l.getModel("emphasis.label"),g=l.getModel("labelLine"),S=l.getModel("emphasis.labelLine"),c=o.getItemVisual(e,"color");w.setLabelStyle(i.style,i.hoverStyle={},h,f,{labelFetcher:o.hostModel,labelDataIndex:e,defaultText:o.getName(e),autoColor:c,useInsideStyle:!!a.inside},{textAlign:a.textAlign,textVerticalAlign:a.verticalAlign}),i.ignore=i.normalIgnore=!h.get("show"),i.hoverIgnore=!f.get("show"),r.ignore=r.normalIgnore=!g.get("show"),r.hoverIgnore=!S.get("show"),r.setStyle({stroke:c}),r.setStyle(g.getModel("lineStyle").getLineStyle()),r.hoverStyle=S.getModel("lineStyle").getLineStyle()},A.inherits(m,w.Group);var s=b.extend({type:"funnel",render:function(o,e,r){var i=o.getData(),n=this._data,l=this.group;i.diff(n).add(function(t){var a=new m(i,t);i.setItemGraphicEl(t,a),l.add(a)}).update(function(t,a){var c=n.getItemGraphicEl(a);c.updateData(i,t),l.add(c),i.setItemGraphicEl(t,c)}).remove(function(t){var a=n.getItemGraphicEl(t);l.remove(a)}).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),u=s;M.exports=u},TYVI:function(M,P,d){var w=d("5GtS"),A=d("T4UG"),b=A.extend({type:"series.gauge",getInitialData:function(v,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=b;M.exports=m},TYmi:function(M,P,d){"use strict";var w=d("n3rz");P.a=w.a},TZBT:function(M,P,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("q1tI"),m=d("x1Ya"),v=d("TSYQ"),p=d.n(v),s=d("c+Xe"),u=d("9R2V"),o=b.createContext(null),e=o.Provider,r=o,i=d("bq+4"),n=function(I,L){var D={};for(var B in I)Object.prototype.hasOwnProperty.call(I,B)&&L.indexOf(B)<0&&(D[B]=I[B]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,B=Object.getOwnPropertySymbols(I);N<B.length;N++)L.indexOf(B[N])<0&&Object.prototype.propertyIsEnumerable.call(I,B[N])&&(D[B[N]]=I[B[N]]);return D},l=function(L,D){var B,N=b.useContext(r),k=b.useContext(u.b),W=k.getPrefixCls,R=k.direction,j=b.useRef(),H=Object(s.a)(D,j);b.useEffect(function(){Object(i.a)(!("optionType"in L),"Radio","`optionType` is only support in Radio.Group.")},[]);var K=function(Ie){var Se,Le;(Se=L.onChange)===null||Se===void 0||Se.call(L,Ie),(Le=N==null?void 0:N.onChange)===null||Le===void 0||Le.call(N,Ie)},U=L.prefixCls,Q=L.className,V=L.children,J=L.style,ae=n(L,["prefixCls","className","children","style"]),se=W("radio",U),$=Object(A.a)({},ae);N&&($.name=N.name,$.onChange=K,$.checked=L.value===N.value,$.disabled=L.disabled||N.disabled);var ge=p()("".concat(se,"-wrapper"),(B={},Object(w.a)(B,"".concat(se,"-wrapper-checked"),$.checked),Object(w.a)(B,"".concat(se,"-wrapper-disabled"),$.disabled),Object(w.a)(B,"".concat(se,"-wrapper-rtl"),R==="rtl"),B),Q);return b.createElement("label",{className:ge,style:J,onMouseEnter:L.onMouseEnter,onMouseLeave:L.onMouseLeave},b.createElement(m.a,Object(A.a)({},$,{prefixCls:se,ref:H})),V!==void 0?b.createElement("span",null,V):null)},t=b.forwardRef(l);t.displayName="Radio",t.defaultProps={type:"radio"};var a=t,c=d("ODXe"),h=d("6cGi"),f=d("kc2O"),g=d("t8gd"),S=b.forwardRef(function(I,L){var D=b.useContext(u.b),B=D.getPrefixCls,N=D.direction,k=b.useContext(f.b),W=Object(h.a)(I.defaultValue,{value:I.value}),R=Object(c.a)(W,2),j=R[0],H=R[1],K=function(V){var J=j,ae=V.target.value;"value"in I||H(ae);var se=I.onChange;se&&ae!==J&&se(V)},U=function(){var V,J=I.prefixCls,ae=I.className,se=ae===void 0?"":ae,$=I.options,ge=I.optionType,he=I.buttonStyle,Ie=he===void 0?"outline":he,Se=I.disabled,Le=I.children,He=I.size,G=I.style,pe=I.id,We=I.onMouseEnter,te=I.onMouseLeave,X=B("radio",J),z="".concat(X,"-group"),Z=Le;if($&&$.length>0){var be=ge==="button"?"".concat(X,"-button"):X;Z=$.map(function(Ne){return typeof Ne=="string"?b.createElement(a,{key:Ne,prefixCls:be,disabled:Se,value:Ne,checked:j===Ne},Ne):b.createElement(a,{key:"radio-group-value-options-".concat(Ne.value),prefixCls:be,disabled:Ne.disabled||Se,value:Ne.value,checked:j===Ne.value,style:Ne.style},Ne.label)})}var ne=He||k,Ae=p()(z,"".concat(z,"-").concat(Ie),(V={},Object(w.a)(V,"".concat(z,"-").concat(ne),ne),Object(w.a)(V,"".concat(z,"-rtl"),N==="rtl"),V),se);return b.createElement("div",Object(A.a)({},Object(g.a)(I),{className:Ae,style:G,onMouseEnter:We,onMouseLeave:te,id:pe,ref:L}),Z)};return b.createElement(e,{value:{onChange:K,value:j,disabled:I.disabled,name:I.name}},U())}),y=b.memo(S),E=function(I,L){var D={};for(var B in I)Object.prototype.hasOwnProperty.call(I,B)&&L.indexOf(B)<0&&(D[B]=I[B]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,B=Object.getOwnPropertySymbols(I);N<B.length;N++)L.indexOf(B[N])<0&&Object.prototype.propertyIsEnumerable.call(I,B[N])&&(D[B[N]]=I[B[N]]);return D},C=function(L,D){var B=b.useContext(r),N=b.useContext(u.b),k=N.getPrefixCls,W=L.prefixCls,R=E(L,["prefixCls"]),j=k("radio-button",W);return B&&(R.checked=L.value===B.value,R.disabled=L.disabled||B.disabled),b.createElement(a,Object(A.a)({prefixCls:j},R,{type:"radio",ref:D}))},T=b.forwardRef(C),x=a;x.Button=T,x.Group=y;var _=P.a=x},Tghj:function(M,P,d){(function(w){var A;typeof window!="undefined"?A=window.__DEV__:typeof w!="undefined"&&(A=w.__DEV__),typeof A=="undefined"&&(A=!0);var b=A;P.__DEV__=b}).call(this,d("yLpj"))},ThAp:function(M,P,d){var w=d("bYtY"),A=d("5GtS"),b=d("T4UG"),m=d("7aKB"),v=m.encodeHTML,p=m.addCommas,s=d("cCMj"),u=d("KxfA"),o=u.retrieveRawAttr,e=d("W4dC"),r=d("D5nY"),i=r.makeSeriesEncodeForNameBased,n=b.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var a=A(this,{coordDimensions:["value"],encodeDefaulter:w.curry(i,this)}),c=a.mapDimension("value"),h=w.createHashMap(),f=[],g=[],S=0,y=a.count();S<y;S++){var E=a.getName(S);h.set(E,!0),f.push({name:E,value:a.get(c,S),selected:o(a,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;h.get(x)||(f.push({name:x}),g.push(x))}),this.updateSelectedMap(f),a.appendValues([],g),a},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 a=this.getData();return a.get(a.mapDimension("value"),t)},getRegionModel:function(t){var a=this.getData();return a.getItemModel(a.indexOfName(t))},formatTooltip:function(t){for(var a=this.getData(),c=p(this.getRawValue(t)),h=a.getName(t),f=this.seriesGroup,g=[],S=0;S<f.length;S++){var y=f[S].originalData.indexOfName(h),E=a.mapDimension("value");isNaN(f[S].originalData.get(E,y))||g.push(v(f[S].name))}return g.join(", ")+"<br />"+v(h+" : "+c)},getTooltipPosition:function(t){if(t!=null){var a=this.getData().getName(t),c=this.coordinateSystem,h=c.getRegion(a);return h&&c.dataToPoint(h.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(n,s);var l=n;M.exports=l},TkdX:function(M,P,d){var w=d("bYtY"),A=d("IwbS"),b={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},m=2,v=4;function p(n,l,t){A.Group.call(this);var a=new A.Sector({z2:m});a.seriesIndex=l.seriesIndex;var c=new A.Text({z2:v,silent:n.getModel("label").get("silent")});this.add(a),this.add(c),this.updateData(!0,n,"normal",l,t);function h(){c.ignore=c.hoverIgnore}function f(){c.ignore=c.normalIgnore}this.on("emphasis",h).on("normal",f).on("mouseover",h).on("mouseout",f)}var s=p.prototype;s.updateData=function(n,l,t,a,c){this.node=l,l.piece=this,a=a||this._seriesModel,c=c||this._ecModel;var h=this.childAt(0);h.dataIndex=l.dataIndex;var f=l.getModel(),g=l.getLayout(),S=w.extend({},g);S.label=null;var y=o(l,a,c);i(l,a,y);var E=f.getModel("itemStyle").getItemStyle(),C;if(t==="normal")C=E;else{var T=f.getModel(t+".itemStyle").getItemStyle();C=w.merge(T,E)}C=w.defaults({lineJoin:"bevel",fill:C.fill||y},C),n?(h.setShape(S),h.shape.r=g.r0,A.updateProps(h,{shape:{r:g.r}},a,l.dataIndex),h.useStyle(C)):typeof C.fill=="object"&&C.fill.type||typeof h.style.fill=="object"&&h.style.fill.type?(A.updateProps(h,{shape:S},a),h.useStyle(C)):A.updateProps(h,{shape:S,style:C},a),this._updateLabel(a,y,t);var x=f.getShallow("cursor");if(x&&h.attr("cursor",x),n){var _=a.getShallow("highlightPolicy");this._initEvents(h,l,a,_)}this._seriesModel=a||this._seriesModel,this._ecModel=c||this._ecModel,A.setHoverStyle(this)},s.onEmphasis=function(n){var l=this;this.node.hostTree.root.eachNode(function(t){t.piece&&(l.node===t?t.piece.updateData(!1,t,"emphasis"):r(t,l.node,n)?t.piece.childAt(0).trigger("highlight"):n!==b.NONE&&t.piece.childAt(0).trigger("downplay"))})},s.onNormal=function(){this.node.hostTree.root.eachNode(function(n){n.piece&&n.piece.updateData(!1,n,"normal")})},s.onHighlight=function(){this.updateData(!1,this.node,"highlight")},s.onDownplay=function(){this.updateData(!1,this.node,"downplay")},s._updateLabel=function(n,l,t){var a=this.node.getModel(),c=a.getModel("label"),h=t==="normal"||t==="emphasis"?c:a.getModel(t+".label"),f=a.getModel("emphasis.label"),g=w.retrieve(n.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);j("show")===!1&&(g="");var S=this.node.getLayout(),y=h.get("minAngle");y==null&&(y=c.get("minAngle")),y=y/180*Math.PI;var E=S.endAngle-S.startAngle;y!=null&&Math.abs(E)<y&&(g="");var C=this.childAt(1);A.setLabelStyle(C.style,C.hoverStyle||{},c,f,{defaultText:h.getShallow("show")?g:null,autoColor:l,useInsideStyle:!0});var T=(S.startAngle+S.endAngle)/2,x=Math.cos(T),_=Math.sin(T),I,L=j("position"),D=j("distance")||0,B=j("align");L==="outside"?(I=S.r+D,B=T>Math.PI/2?"right":"left"):!B||B==="center"?(I=(S.r+S.r0)/2,B="center"):B==="left"?(I=S.r0+D,T>Math.PI/2&&(B="right")):B==="right"&&(I=S.r-D,T>Math.PI/2&&(B="left")),C.attr("style",{text:g,textAlign:B,textVerticalAlign:j("verticalAlign")||"middle",opacity:j("opacity")});var N=I*x+S.cx,k=I*_+S.cy;C.attr("position",[N,k]);var W=j("rotate"),R=0;W==="radial"?(R=-T,R<-Math.PI/2&&(R+=Math.PI)):W==="tangential"?(R=Math.PI/2-T,R>Math.PI/2?R-=Math.PI:R<-Math.PI/2&&(R+=Math.PI)):typeof W=="number"&&(R=W*Math.PI/180),C.attr("rotation",R);function j(H){var K=h.get(H);return K==null?c.get(H):K}},s._initEvents=function(n,l,t,a){n.off("mouseover").off("mouseout").off("emphasis").off("normal");var c=this,h=function(){c.onEmphasis(a)},f=function(){c.onNormal()},g=function(){c.onDownplay()},S=function(){c.onHighlight()};t.isAnimationEnabled()&&n.on("mouseover",h).on("mouseout",f).on("emphasis",h).on("normal",f).on("downplay",g).on("highlight",S)},w.inherits(p,A.Group);var u=p;function o(n,l,t){var a=n.getVisual("color"),c=n.getVisual("visualMeta");(!c||c.length===0)&&(a=null);var h=n.getModel("itemStyle").get("color");if(h)return h;if(a)return a;if(n.depth===0)return t.option.color[0];var f=t.option.color.length;return h=t.option.color[e(n)%f],h}function e(n){for(var l=n;l.depth>1;)l=l.parentNode;var t=n.getAncestors()[0];return w.indexOf(t.children,l)}function r(n,l,t){return t===b.NONE?!1:t===b.SELF?n===l:t===b.ANCESTOR?n===l||n.isAncestorOf(l):n===l||n.isDescendantOf(l)}function i(n,l,t){var a=l.getData();a.setItemVisual(n.dataIndex,"color",t)}M.exports=u},Tp9H:function(M,P,d){var w=d("ItGF"),A=d("Kagy"),b=d("IUWy"),m=A.toolbox.saveAsImage;function v(u){this.model=u}v.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:m.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:m.lang.slice()},v.prototype.unusable=!w.canvasSupported;var p=v.prototype;p.onclick=function(u,o){var e=this.model,r=e.get("name")||u.get("title.0.text")||"echarts",i=o.getZr().painter.getType()==="svg",n=i?"svg":e.get("type",!0)||"png",l=o.getConnectedDataURL({type:n,backgroundColor:e.get("backgroundColor",!0)||u.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=r+"."+n,t.target="_blank",t.href=l;var a=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});t.dispatchEvent(a)}else if(window.navigator.msSaveOrOpenBlob){for(var c=atob(l.split(",")[1]),h=c.length,f=new Uint8Array(h);h--;)f[h]=c.charCodeAt(h);var g=new Blob([f]);window.navigator.msSaveOrOpenBlob(g,r+"."+n)}else{var S=e.get("lang"),y='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(S&&S[0]||"")+'" /></body>',E=window.open();E.document.write(y)}},b.register("saveAsImage",v);var s=v;M.exports=s},TqRt:function(M,P){function d(w){return w&&w.__esModule?w:{default:w}}M.exports=d,M.exports.default=M.exports,M.exports.__esModule=!0},"U/Mo":function(M,P){function d(A){var b=A.coordinateSystem;if(b.type!=="view")return 1;var m=A.option.nodeScaleRatio,v=b.scale,p=v&&v[0]||1,s=b.getZoom(),u=(s-1)*m+1;return u/p}function w(A){var b=A.getVisual("symbolSize");return b instanceof Array&&(b=(b[0]+b[1])/2),+b}P.getNodeGlobalScale=d,P.getSymbolSize=w},UFpP:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("HVO7"),m=d.n(b),v=d("jOhD")},UOVi:function(M,P,d){var w=d("bYtY"),A=d("7aKB"),b=["x","y","z","radius","angle","single"],m=["cartesian2d","polar","singleAxis"];function v(o){return w.indexOf(m,o)>=0}function p(o,e){o=o.slice();var r=w.map(o,A.capitalFirst);e=(e||[]).slice();var i=w.map(e,A.capitalFirst);return function(n,l){w.each(o,function(t,a){for(var c={name:t,capital:r[a]},h=0;h<e.length;h++)c[e[h]]=t+i[h];n.call(l,c)})}}var s=p(b,["axisIndex","axis","index","id"]);function u(o,e,r){return function(t){var a={nodes:[],records:{}};if(e(function(f){a.records[f.name]={}}),!t)return a;l(t,a);var c;do c=!1,o(h);while(c);function h(f){!i(f,a)&&n(f,a)&&(l(f,a),c=!0)}return a};function i(t,a){return w.indexOf(a.nodes,t)>=0}function n(t,a){var c=!1;return e(function(h){w.each(r(t,h)||[],function(f){a.records[h.name][f]&&(c=!0)})}),c}function l(t,a){a.nodes.push(t),e(function(c){w.each(r(t,c)||[],function(h){a.records[c.name][h]=!0})})}}P.isCoordSupported=v,P.createNameEach=p,P.eachAxisDim=s,P.createLinkedNodesFinder=u},URN1:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("2HRC"),m=d.n(b)},UnoB:function(M,P,d){var w=d("bYtY"),A=d("OELB");function b(p,s){p.eachSeriesByType("themeRiver",function(u){var o=u.getData(),e=u.coordinateSystem,r={},i=e.getRect();r.rect=i;var n=u.get("boundaryGap"),l=e.getAxis();if(r.boundaryGap=n,l.orient==="horizontal"){n[0]=A.parsePercent(n[0],i.height),n[1]=A.parsePercent(n[1],i.height);var t=i.height-n[0]-n[1];m(o,u,t)}else{n[0]=A.parsePercent(n[0],i.width),n[1]=A.parsePercent(n[1],i.width);var a=i.width-n[0]-n[1];m(o,u,a)}o.setLayout("layoutInfo",r)})}function m(p,s,u){if(!p.count())return;for(var o=s.coordinateSystem,e=s.getLayerSeries(),r=p.mapDimension("single"),i=p.mapDimension("value"),n=w.map(e,function(y){return w.map(y.indices,function(E){var C=o.dataToPoint(p.get(r,E));return C[1]=p.get(i,E),C})}),l=v(n),t=l.y0,a=u/l.max,c=e.length,h=e[0].indices.length,f,g=0;g<h;++g){f=t[g]*a,p.setItemLayout(e[0].indices[g],{layerIndex:0,x:n[0][g][0],y0:f,y:n[0][g][1]*a});for(var S=1;S<c;++S)f+=n[S-1][g][1]*a,p.setItemLayout(e[S].indices[g],{layerIndex:S,x:n[S][g][0],y0:f,y:n[S][g][1]*a})}}function v(p){for(var s=p.length,u=p[0].length,o=[],e=[],r=0,i,n={},l=0;l<u;++l){for(var t=0,i=0;t<s;++t)i+=p[t][l][1];i>r&&(r=i),o.push(i)}for(var a=0;a<u;++a)e[a]=(r-o[a])/2;r=0;for(var c=0;c<u;++c){var h=o[c]+e[c];h>r&&(r=h)}return n.y0=e,n.max=r,n}M.exports=b},VFCP:function(M,P,d){d("dBmv"),d("KamJ")},VPsl:function(M,P){function d(w){w.eachSeriesByType("map",function(A){var b=A.get("color"),m=A.getModel("itemStyle"),v=m.get("areaColor"),p=m.get("color")||b[A.seriesIndex%b.length];A.getData().setVisual({areaColor:v,color:p})})}M.exports=d},VR9l:function(M,P,d){var w=d("KCsZ"),A=w([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),b={getItemStyle:function(m,v){var p=A(this,m,v),s=this.getBorderLineDash();return s&&(p.lineDash=s),p},getBorderLineDash:function(){var m=this.get("borderType");return m==="solid"||m==null?null:m==="dashed"?[5,5]:[1,1]}};M.exports=b},VSLf:function(M,P,d){d("I+Bx"),d("F0hE"),d("bBKM")},VSMT:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.decodeUTF8=w,P.encodeUTF8=A;function w(b){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(b))}catch(v){if(v instanceof URIError&&m)return b;throw v}}function A(b){return unescape(encodeURIComponent(b))}},VXYp:function(M,P,d){var w=d("bYtY"),A=d("SgGq"),b=d("iLNv"),m="\0_ec_dataZoom_roams";function v(n,l){var t=u(n),a=l.dataZoomId,c=l.coordId;w.each(t,function(g,S){var y=g.dataZoomInfos;y[a]&&w.indexOf(l.allCoordIds,c)<0&&(delete y[a],g.count--)}),e(t);var h=t[c];h||(h=t[c]={coordId:c,dataZoomInfos:{},count:0},h.controller=o(n,h),h.dispatchAction=w.curry(r,n)),!h.dataZoomInfos[a]&&h.count++,h.dataZoomInfos[a]=l;var f=i(h.dataZoomInfos);h.controller.enable(f.controlType,f.opt),h.controller.setPointerChecker(l.containsPoint),b.createOrUpdate(h,"dispatchAction",l.dataZoomModel.get("throttle",!0),"fixRate")}function p(n,l){var t=u(n);w.each(t,function(a){a.controller.dispose();var c=a.dataZoomInfos;c[l]&&(delete c[l],a.count--)}),e(t)}function s(n){return n.type+"\0_"+n.id}function u(n){var l=n.getZr();return l[m]||(l[m]={})}function o(n,l){var t=new A(n.getZr());return w.each(["pan","zoom","scrollMove"],function(a){t.on(a,function(c){var h=[];w.each(l.dataZoomInfos,function(f){if(!c.isAvailableBehavior(f.dataZoomModel.option))return;var g=(f.getRange||{})[a],S=g&&g(l.controller,c);!f.dataZoomModel.get("disabled",!0)&&S&&h.push({dataZoomId:f.dataZoomId,start:S[0],end:S[1]})}),h.length&&l.dispatchAction(h)})}),t}function e(n){w.each(n,function(l,t){l.count||(l.controller.dispose(),delete n[t])})}function r(n,l){n.dispatchAction({type:"dataZoom",batch:l})}function i(n){var l,t="type_",a={type_true:2,type_move:1,type_false:0,type_undefined:-1},c=!0;return w.each(n,function(h){var f=h.dataZoomModel,g=f.get("disabled",!0)?!1:f.get("zoomLock",!0)?"move":!0;a[t+g]>a[t+l]&&(l=g),c&=f.get("preventDefaultMouseMove",!0)}),{controlType:l,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!c}}}P.register=v,P.unregister=p,P.generateCoordId=s},VaxA:function(M,P,d){var w=d("bYtY");function A(p,s,u){if(p&&w.indexOf(s,p.type)>=0){var o=u.getData().tree.root,e=p.targetNode;if(typeof e=="string"&&(e=o.getNodeById(e)),e&&o.contains(e))return{node:e};var r=p.targetNodeId;if(r!=null&&(e=o.getNodeById(r)))return{node:e}}}function b(p){for(var s=[];p;)p=p.parentNode,p&&s.push(p);return s.reverse()}function m(p,s){var u=b(p);return w.indexOf(u,s)>=0}function v(p,s){for(var u=[];p;){var o=p.dataIndex;u.push({name:p.name,dataIndex:o,value:s.getRawValue(o)}),p=p.parentNode}return u.reverse(),u}P.retrieveTargetInfo=A,P.getPathToRoot=b,P.aboveViewRoot=m,P.wrapTreePathInfo=v},Vi4m:function(M,P,d){var w=d("bYtY");function A(m){m!=null&&w.extend(this,m),this.otherDims={}}var b=A;M.exports=b},VpOo:function(M,P){function d(w,A){var b=A.x,m=A.y,v=A.width,p=A.height,s=A.r,u,o,e,r;v<0&&(b=b+v,v=-v),p<0&&(m=m+p,p=-p),typeof s=="number"?u=o=e=r=s:s instanceof Array?s.length===1?u=o=e=r=s[0]:s.length===2?(u=e=s[0],o=r=s[1]):s.length===3?(u=s[0],o=r=s[1],e=s[2]):(u=s[0],o=s[1],e=s[2],r=s[3]):u=o=e=r=0;var i;u+o>v&&(i=u+o,u*=v/i,o*=v/i),e+r>v&&(i=e+r,e*=v/i,r*=v/i),o+e>p&&(i=o+e,o*=p/i,e*=p/i),u+r>p&&(i=u+r,u*=p/i,r*=p/i),w.moveTo(b+u,m),w.lineTo(b+v-o,m),o!==0&&w.arc(b+v-o,m+o,o,-Math.PI/2,0),w.lineTo(b+v,m+p-e),e!==0&&w.arc(b+v-e,m+p-e,e,0,Math.PI/2),w.lineTo(b+r,m+p),r!==0&&w.arc(b+r,m+p-r,r,Math.PI/2,Math.PI),w.lineTo(b,m+u),u!==0&&w.arc(b+u,m+u,u,Math.PI,Math.PI*1.5)}P.buildPath=d},"VrN/":function(M,P,d){(function(w,A){M.exports=A()})(this,function(){"use strict";var w=navigator.userAgent,A=navigator.platform,b=/gecko\/\d/i.test(w),m=/MSIE \d/.test(w),v=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(w),p=/Edge\/(\d+)/.exec(w),s=m||v||p,u=s&&(m?document.documentMode||6:+(p||v)[1]),o=!p&&/WebKit\//.test(w),e=o&&/Qt\/\d+\.\d+/.test(w),r=!p&&/Chrome\//.test(w),i=/Opera\//.test(w),n=/Apple Computer/.test(navigator.vendor),l=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(w),t=/PhantomJS/.test(w),a=!p&&/AppleWebKit/.test(w)&&/Mobile\/\w+/.test(w),c=/Android/.test(w),h=a||c||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(w),f=a||/Mac/.test(A),g=/\bCrOS\b/.test(w),S=/win/i.test(A),y=i&&w.match(/Version\/(\d*\.\d*)/);y&&(y=Number(y[1])),y&&y>=15&&(i=!1,o=!0);var E=f&&(e||i&&(y==null||y<12.11)),C=b||s&&u>=9;function T(O){return new RegExp("(^|\\s)"+O+"(?:$|\\s)\\s*")}var x=function(F,q){var re=F.className,ue=T(q).exec(re);if(ue){var Be=re.slice(ue.index+ue[0].length);F.className=re.slice(0,ue.index)+(Be?ue[1]+Be:"")}};function _(O){for(var F=O.childNodes.length;F>0;--F)O.removeChild(O.firstChild);return O}function I(O,F){return _(O).appendChild(F)}function L(O,F,q,re){var ue=document.createElement(O);if(q&&(ue.className=q),re&&(ue.style.cssText=re),typeof F=="string")ue.appendChild(document.createTextNode(F));else if(F)for(var Be=0;Be<F.length;++Be)ue.appendChild(F[Be]);return ue}function D(O,F,q,re){var ue=L(O,F,q,re);return ue.setAttribute("role","presentation"),ue}var B;document.createRange?B=function(F,q,re,ue){var Be=document.createRange();return Be.setEnd(ue||F,re),Be.setStart(F,q),Be}:B=function(F,q,re){var ue=document.body.createTextRange();try{ue.moveToElementText(F.parentNode)}catch(Be){return ue}return ue.collapse(!0),ue.moveEnd("character",re),ue.moveStart("character",q),ue};function N(O,F){if(F.nodeType==3&&(F=F.parentNode),O.contains)return O.contains(F);do if(F.nodeType==11&&(F=F.host),F==O)return!0;while(F=F.parentNode)}function k(){var O;try{O=document.activeElement}catch(F){O=document.body||null}for(;O&&O.shadowRoot&&O.shadowRoot.activeElement;)O=O.shadowRoot.activeElement;return O}function W(O,F){var q=O.className;T(F).test(q)||(O.className+=(q?" ":"")+F)}function R(O,F){for(var q=O.split(" "),re=0;re<q.length;re++)q[re]&&!T(q[re]).test(F)&&(F+=" "+q[re]);return F}var j=function(F){F.select()};a?j=function(F){F.selectionStart=0,F.selectionEnd=F.value.length}:s&&(j=function(F){try{F.select()}catch(q){}});function H(O){var F=Array.prototype.slice.call(arguments,1);return function(){return O.apply(null,F)}}function K(O,F,q){F||(F={});for(var re in O)O.hasOwnProperty(re)&&(q!==!1||!F.hasOwnProperty(re))&&(F[re]=O[re]);return F}function U(O,F,q,re,ue){F==null&&(F=O.search(/[^\s\u00a0]/),F==-1&&(F=O.length));for(var Be=re||0,ct=ue||0;;){var Dt=O.indexOf(" ",Be);if(Dt<0||Dt>=F)return ct+(F-Be);ct+=Dt-Be,ct+=q-ct%q,Be=Dt+1}}var Q=function(){this.id=null,this.f=null,this.time=0,this.handler=H(this.onTimeout,this)};Q.prototype.onTimeout=function(O){O.id=0,O.time<=+new Date?O.f():setTimeout(O.handler,O.time-+new Date)},Q.prototype.set=function(O,F){this.f=F;var q=+new Date+O;(!this.id||q<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,O),this.time=q)};function V(O,F){for(var q=0;q<O.length;++q)if(O[q]==F)return q;return-1}var J=50,ae={toString:function(){return"CodeMirror.Pass"}},se={scroll:!1},$={origin:"*mouse"},ge={origin:"+move"};function he(O,F,q){for(var re=0,ue=0;;){var Be=O.indexOf(" ",re);Be==-1&&(Be=O.length);var ct=Be-re;if(Be==O.length||ue+ct>=F)return re+Math.min(ct,F-ue);if(ue+=Be-re,ue+=q-ue%q,re=Be+1,ue>=F)return re}}var Ie=[""];function Se(O){for(;Ie.length<=O;)Ie.push(Le(Ie)+" ");return Ie[O]}function Le(O){return O[O.length-1]}function He(O,F){for(var q=[],re=0;re<O.length;re++)q[re]=F(O[re],re);return q}function G(O,F,q){for(var re=0,ue=q(F);re<O.length&&q(O[re])<=ue;)re++;O.splice(re,0,F)}function pe(){}function We(O,F){var q;return Object.create?q=Object.create(O):(pe.prototype=O,q=new pe),F&&K(F,q),q}var te=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function X(O){return/\w/.test(O)||O>"\x80"&&(O.toUpperCase()!=O.toLowerCase()||te.test(O))}function z(O,F){return F?F.source.indexOf("\\w")>-1&&X(O)?!0:F.test(O):X(O)}function Z(O){for(var F in O)if(O.hasOwnProperty(F)&&O[F])return!1;return!0}var be=/[\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 ne(O){return O.charCodeAt(0)>=768&&be.test(O)}function Ae(O,F,q){for(;(q<0?F>0:F<O.length)&&ne(O.charAt(F));)F+=q;return F}function Ne(O,F,q){for(var re=F>q?-1:1;;){if(F==q)return F;var ue=(F+q)/2,Be=re<0?Math.ceil(ue):Math.floor(ue);if(Be==F)return O(Be)?F:q;O(Be)?q=Be:F=Be+re}}function oe(O,F,q,re){if(!O)return re(F,q,"ltr",0);for(var ue=!1,Be=0;Be<O.length;++Be){var ct=O[Be];(ct.from<q&&ct.to>F||F==q&&ct.to==F)&&(re(Math.max(ct.from,F),Math.min(ct.to,q),ct.level==1?"rtl":"ltr",Be),ue=!0)}ue||re(F,q,"ltr")}var de=null;function xe(O,F,q){var re;de=null;for(var ue=0;ue<O.length;++ue){var Be=O[ue];if(Be.from<F&&Be.to>F)return ue;Be.to==F&&(Be.from!=Be.to&&q=="before"?re=ue:de=ue),Be.from==F&&(Be.from!=Be.to&&q!="before"?re=ue:de=ue)}return re!=null?re:de}var Pe=function(){var O="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",F="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function q(Qt){return Qt<=247?O.charAt(Qt):1424<=Qt&&Qt<=1524?"R":1536<=Qt&&Qt<=1785?F.charAt(Qt-1536):1774<=Qt&&Qt<=2220?"r":8192<=Qt&&Qt<=8203?"w":Qt==8204?"b":"L"}var re=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ue=/[stwN]/,Be=/[LRr]/,ct=/[Lb1n]/,Dt=/[1n]/;function zt(Qt,Mr,tn){this.level=Qt,this.from=Mr,this.to=tn}return function(Qt,Mr){var tn=Mr=="ltr"?"L":"R";if(Qt.length==0||Mr=="ltr"&&!re.test(Qt))return!1;for(var mn=Qt.length,wn=[],ri=0;ri<mn;++ri)wn.push(q(Qt.charCodeAt(ri)));for(var yi=0,Fi=tn;yi<mn;++yi){var Di=wn[yi];Di=="m"?wn[yi]=Fi:Fi=Di}for(var Ii=0,Gi=tn;Ii<mn;++Ii){var ia=wn[Ii];ia=="1"&&Gi=="r"?wn[Ii]="n":Be.test(ia)&&(Gi=ia,ia=="r"&&(wn[Ii]="R"))}for(var Wa=1,La=wn[0];Wa<mn-1;++Wa){var mo=wn[Wa];mo=="+"&&La=="1"&&wn[Wa+1]=="1"?wn[Wa]="1":mo==","&&La==wn[Wa+1]&&(La=="1"||La=="n")&&(wn[Wa]=La),La=mo}for(var Eo=0;Eo<mn;++Eo){var $o=wn[Eo];if($o==",")wn[Eo]="N";else if($o=="%"){var zo=void 0;for(zo=Eo+1;zo<mn&&wn[zo]=="%";++zo);for(var ks=Eo&&wn[Eo-1]=="!"||zo<mn&&wn[zo]=="1"?"1":"N",hl=Eo;hl<zo;++hl)wn[hl]=ks;Eo=zo-1}}for(var As=0,fl=tn;As<mn;++As){var Ms=wn[As];fl=="L"&&Ms=="1"?wn[As]="L":Be.test(Ms)&&(fl=Ms)}for(var Os=0;Os<mn;++Os)if(ue.test(wn[Os])){var bs=void 0;for(bs=Os+1;bs<mn&&ue.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 zt(0,tu,Hs))}else{var ra=Hs,vl=ws.length,Nl=Mr=="rtl"?1:0;for(++Hs;Hs<mn&&wn[Hs]!="L";++Hs);for(var is=ra;is<Hs;)if(Dt.test(wn[is])){ra<is&&(ws.splice(vl,0,new zt(1,ra,is)),vl+=Nl);var zl=is;for(++is;is<Hs&&Dt.test(wn[is]);++is);ws.splice(vl,0,new zt(2,zl,is)),vl+=Nl,ra=is}else++is;ra<Hs&&ws.splice(vl,0,new zt(1,ra,Hs))}return Mr=="ltr"&&(ws[0].level==1&&(wl=Qt.match(/^\s+/))&&(ws[0].from=wl[0].length,ws.unshift(new zt(0,0,wl[0].length))),Le(ws).level==1&&(wl=Qt.match(/\s+$/))&&(Le(ws).to-=wl[0].length,ws.push(new zt(0,mn-wl[0].length,mn)))),Mr=="rtl"?ws.reverse():ws}}();function tt(O,F){var q=O.order;return q==null&&(q=O.order=Pe(O.text,F)),q}var Je=[],Oe=function(F,q,re){if(F.addEventListener)F.addEventListener(q,re,!1);else if(F.attachEvent)F.attachEvent("on"+q,re);else{var ue=F._handlers||(F._handlers={});ue[q]=(ue[q]||Je).concat(re)}};function pt(O,F){return O._handlers&&O._handlers[F]||Je}function Qe(O,F,q){if(O.removeEventListener)O.removeEventListener(F,q,!1);else if(O.detachEvent)O.detachEvent("on"+F,q);else{var re=O._handlers,ue=re&&re[F];if(ue){var Be=V(ue,q);Be>-1&&(re[F]=ue.slice(0,Be).concat(ue.slice(Be+1)))}}}function nt(O,F){var q=pt(O,F);if(!q.length)return;for(var re=Array.prototype.slice.call(arguments,2),ue=0;ue<q.length;++ue)q[ue].apply(null,re)}function bt(O,F,q){return typeof F=="string"&&(F={type:F,preventDefault:function(){this.defaultPrevented=!0}}),nt(O,q||F.type,O,F),Y(F)||F.codemirrorIgnore}function Tt(O){var F=O._handlers&&O._handlers.cursorActivity;if(!F)return;for(var q=O.curOp.cursorActivityHandlers||(O.curOp.cursorActivityHandlers=[]),re=0;re<F.length;++re)V(q,F[re])==-1&&q.push(F[re])}function Ct(O,F){return pt(O,F).length>0}function Nt(O){O.prototype.on=function(F,q){Oe(this,F,q)},O.prototype.off=function(F,q){Qe(this,F,q)}}function Ge(O){O.preventDefault?O.preventDefault():O.returnValue=!1}function ie(O){O.stopPropagation?O.stopPropagation():O.cancelBubble=!0}function Y(O){return O.defaultPrevented!=null?O.defaultPrevented:O.returnValue==!1}function we(O){Ge(O),ie(O)}function Ce(O){return O.target||O.srcElement}function le(O){var F=O.which;return F==null&&(O.button&1?F=1:O.button&2?F=3:O.button&4&&(F=2)),f&&O.ctrlKey&&F==1&&(F=3),F}var ot=function(){if(s&&u<9)return!1;var O=L("div");return"draggable"in O||"dragDrop"in O}(),wt;function rt(O){if(wt==null){var F=L("span","\u200B");I(O,L("span",[F,document.createTextNode("x")])),O.firstChild.offsetHeight!=0&&(wt=F.offsetWidth<=1&&F.offsetHeight>2&&!(s&&u<8))}var q=wt?L("span","\u200B"):L("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return q.setAttribute("cm-text",""),q}var It;function Gt(O){if(It!=null)return It;var F=I(O,document.createTextNode("A\u062EA")),q=B(F,0,1).getBoundingClientRect(),re=B(F,1,2).getBoundingClientRect();return _(O),!q||q.left==q.right?!1:It=re.right-q.right<3}var lr=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(O){for(var F=0,q=[],re=O.length;F<=re;){var ue=O.indexOf(`
|
|
|
`,F);ue==-1&&(ue=O.length);var Be=O.slice(F,O.charAt(ue-1)=="\r"?ue-1:ue),ct=Be.indexOf("\r");ct!=-1?(q.push(Be.slice(0,ct)),F+=ct+1):(q.push(Be),F=ue+1)}return q}:function(O){return O.split(/\r\n?|\n/)},pr=window.getSelection?function(O){try{return O.selectionStart!=O.selectionEnd}catch(F){return!1}}:function(O){var F;try{F=O.ownerDocument.selection.createRange()}catch(q){}return!F||F.parentElement()!=O?!1:F.compareEndPoints("StartToEnd",F)!=0},Rr=function(){var O=L("div");return"oncopy"in O?!0:(O.setAttribute("oncopy","return;"),typeof O.oncopy=="function")}(),xt=null;function Ot(O){if(xt!=null)return xt;var F=I(O,L("span","x")),q=F.getBoundingClientRect(),re=B(F,0,1).getBoundingClientRect();return xt=Math.abs(q.left-re.left)>1}var At={},Jt={};function br(O,F){arguments.length>2&&(F.dependencies=Array.prototype.slice.call(arguments,2)),At[O]=F}function Lr(O,F){Jt[O]=F}function Zr(O){if(typeof O=="string"&&Jt.hasOwnProperty(O))O=Jt[O];else if(O&&typeof O.name=="string"&&Jt.hasOwnProperty(O.name)){var F=Jt[O.name];typeof F=="string"&&(F={name:F}),O=We(F,O),O.name=F.name}else{if(typeof O=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(O))return Zr("application/xml");if(typeof O=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(O))return Zr("application/json")}return typeof O=="string"?{name:O}:O||{name:"null"}}function In(O,F){F=Zr(F);var q=At[F.name];if(!q)return In(O,"text/plain");var re=q(O,F);if(Gr.hasOwnProperty(F.name)){var ue=Gr[F.name];for(var Be in ue){if(!ue.hasOwnProperty(Be))continue;re.hasOwnProperty(Be)&&(re["_"+Be]=re[Be]),re[Be]=ue[Be]}}if(re.name=F.name,F.helperType&&(re.helperType=F.helperType),F.modeProps)for(var ct in F.modeProps)re[ct]=F.modeProps[ct];return re}var Gr={};function Tr(O,F){var q=Gr.hasOwnProperty(O)?Gr[O]:Gr[O]={};K(F,q)}function fr(O,F){if(F===!0)return F;if(O.copyState)return O.copyState(F);var q={};for(var re in F){var ue=F[re];ue instanceof Array&&(ue=ue.concat([])),q[re]=ue}return q}function vt(O,F){for(var q;O.innerMode&&!(q=O.innerMode(F),!q||q.mode==O);)F=q.state,O=q.mode;return q||{mode:O,state:F}}function ft(O,F,q){return O.startState?O.startState(F,q):!0}var De=function(F,q,re){this.pos=this.start=0,this.string=F,this.tabSize=q||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=re};De.prototype.eol=function(){return this.pos>=this.string.length},De.prototype.sol=function(){return this.pos==this.lineStart},De.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},De.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},De.prototype.eat=function(O){var F=this.string.charAt(this.pos),q;if(typeof O=="string"?q=F==O:q=F&&(O.test?O.test(F):O(F)),q)return++this.pos,F},De.prototype.eatWhile=function(O){for(var F=this.pos;this.eat(O););return this.pos>F},De.prototype.eatSpace=function(){for(var O=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>O},De.prototype.skipToEnd=function(){this.pos=this.string.length},De.prototype.skipTo=function(O){var F=this.string.indexOf(O,this.pos);if(F>-1)return this.pos=F,!0},De.prototype.backUp=function(O){this.pos-=O},De.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=U(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?U(this.string,this.lineStart,this.tabSize):0)},De.prototype.indentation=function(){return U(this.string,null,this.tabSize)-(this.lineStart?U(this.string,this.lineStart,this.tabSize):0)},De.prototype.match=function(O,F,q){if(typeof O=="string"){var re=function(Dt){return q?Dt.toLowerCase():Dt},ue=this.string.substr(this.pos,O.length);if(re(ue)==re(O))return F!==!1&&(this.pos+=O.length),!0}else{var Be=this.string.slice(this.pos).match(O);return Be&&Be.index>0?null:(Be&&F!==!1&&(this.pos+=Be[0].length),Be)}},De.prototype.current=function(){return this.string.slice(this.start,this.pos)},De.prototype.hideFirstChars=function(O,F){this.lineStart+=O;try{return F()}finally{this.lineStart-=O}},De.prototype.lookAhead=function(O){var F=this.lineOracle;return F&&F.lookAhead(O)},De.prototype.baseToken=function(){var O=this.lineOracle;return O&&O.baseToken(this.pos)};function je(O,F){if(F-=O.first,F<0||F>=O.size)throw new Error("There is no line "+(F+O.first)+" in the document.");for(var q=O;!q.lines;)for(var re=0;;++re){var ue=q.children[re],Be=ue.chunkSize();if(F<Be){q=ue;break}F-=Be}return q.lines[F]}function Ye(O,F,q){var re=[],ue=F.line;return O.iter(F.line,q.line+1,function(Be){var ct=Be.text;ue==q.line&&(ct=ct.slice(0,q.ch)),ue==F.line&&(ct=ct.slice(F.ch)),re.push(ct),++ue}),re}function st(O,F,q){var re=[];return O.iter(F,q,function(ue){re.push(ue.text)}),re}function kt(O,F){var q=F-O.height;if(q)for(var re=O;re;re=re.parent)re.height+=q}function $t(O){if(O.parent==null)return null;for(var F=O.parent,q=V(F.lines,O),re=F.parent;re;F=re,re=re.parent)for(var ue=0;!(re.children[ue]==F);++ue)q+=re.children[ue].chunkSize();return q+F.first}function Nr(O,F){var q=O.first;e:do{for(var re=0;re<O.children.length;++re){var ue=O.children[re],Be=ue.height;if(F<Be){O=ue;continue e}F-=Be,q+=ue.chunkSize()}return q}while(!O.lines);for(var ct=0;ct<O.lines.length;++ct){var Dt=O.lines[ct],zt=Dt.height;if(F<zt)break;F-=zt}return q+ct}function yn(O,F){return F>=O.first&&F<O.first+O.size}function un(O,F){return String(O.lineNumberFormatter(F+O.firstLineNumber))}function Kt(O,F,q){if(q===void 0&&(q=null),!(this instanceof Kt))return new Kt(O,F,q);this.line=O,this.ch=F,this.sticky=q}function St(O,F){return O.line-F.line||O.ch-F.ch}function Mt(O,F){return O.sticky==F.sticky&&St(O,F)==0}function Zt(O){return Kt(O.line,O.ch)}function kr(O,F){return St(O,F)<0?F:O}function Hr(O,F){return St(O,F)<0?O:F}function $r(O,F){return Math.max(O.first,Math.min(F,O.first+O.size-1))}function Bt(O,F){if(F.line<O.first)return Kt(O.first,0);var q=O.first+O.size-1;return F.line>q?Kt(q,je(O,q).text.length):cr(F,je(O,F.line).text.length)}function cr(O,F){var q=O.ch;return q==null||q>F?Kt(O.line,F):q<0?Kt(O.line,0):O}function Cr(O,F){for(var q=[],re=0;re<F.length;re++)q[re]=Bt(O,F[re]);return q}var Br=function(F,q){this.state=F,this.lookAhead=q},zr=function(F,q,re,ue){this.state=q,this.doc=F,this.line=re,this.maxLookAhead=ue||0,this.baseTokens=null,this.baseTokenPos=1};zr.prototype.lookAhead=function(O){var F=this.doc.getLine(this.line+O);return F!=null&&O>this.maxLookAhead&&(this.maxLookAhead=O),F},zr.prototype.baseToken=function(O){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=O;)this.baseTokenPos+=2;var F=this.baseTokens[this.baseTokenPos+1];return{type:F&&F.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-O}},zr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},zr.fromSaved=function(O,F,q){return F instanceof Br?new zr(O,fr(O.mode,F.state),q,F.lookAhead):new zr(O,fr(O.mode,F),q)},zr.prototype.save=function(O){var F=O!==!1?fr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Br(F,this.maxLookAhead):F};function An(O,F,q,re){var ue=[O.state.modeGen],Be={};Te(O,F.text,O.doc.mode,q,function(Qt,Mr){return ue.push(Qt,Mr)},Be,re);for(var ct=q.state,Dt=function(Mr){q.baseTokens=ue;var tn=O.state.overlays[Mr],mn=1,wn=0;q.state=!0,Te(O,F.text,tn.mode,q,function(ri,yi){for(var Fi=mn;wn<ri;){var Di=ue[mn];Di>ri&&ue.splice(mn,1,ri,ue[mn+1],Di),mn+=2,wn=Math.min(ri,Di)}if(!yi)return;if(tn.opaque)ue.splice(Fi,mn-Fi,ri,"overlay "+yi),mn=Fi+2;else for(;Fi<mn;Fi+=2){var Ii=ue[Fi+1];ue[Fi+1]=(Ii?Ii+" ":"")+"overlay "+yi}},Be),q.state=ct,q.baseTokens=null,q.baseTokenPos=1},zt=0;zt<O.state.overlays.length;++zt)Dt(zt);return{styles:ue,classes:Be.bgClass||Be.textClass?Be:null}}function bn(O,F,q){if(!F.styles||F.styles[0]!=O.state.modeGen){var re=Sn(O,$t(F)),ue=F.text.length>O.options.maxHighlightLength&&fr(O.doc.mode,re.state),Be=An(O,F,re);ue&&(re.state=ue),F.stateAfter=re.save(!ue),F.styles=Be.styles,Be.classes?F.styleClasses=Be.classes:F.styleClasses&&(F.styleClasses=null),q===O.doc.highlightFrontier&&(O.doc.modeFrontier=Math.max(O.doc.modeFrontier,++O.doc.highlightFrontier))}return F.styles}function Sn(O,F,q){var re=O.doc,ue=O.display;if(!re.mode.startState)return new zr(re,!0,F);var Be=ke(O,F,q),ct=Be>re.first&&je(re,Be-1).stateAfter,Dt=ct?zr.fromSaved(re,ct,Be):new zr(re,ft(re.mode),Be);return re.iter(Be,F,function(zt){Mn(O,zt.text,Dt);var Qt=Dt.line;zt.stateAfter=Qt==F-1||Qt%5==0||Qt>=ue.viewFrom&&Qt<ue.viewTo?Dt.save():null,Dt.nextLine()}),q&&(re.modeFrontier=Dt.line),Dt}function Mn(O,F,q,re){var ue=O.doc.mode,Be=new De(F,O.options.tabSize,q);for(Be.start=Be.pos=re||0,F==""&&ei(ue,q.state);!Be.eol();)Zn(ue,Be,q.state),Be.start=Be.pos}function ei(O,F){if(O.blankLine)return O.blankLine(F);if(!O.innerMode)return;var q=vt(O,F);if(q.mode.blankLine)return q.mode.blankLine(q.state)}function Zn(O,F,q,re){for(var ue=0;ue<10;ue++){re&&(re[0]=vt(O,q).mode);var Be=O.token(F,q);if(F.pos>F.start)return Be}throw new Error("Mode "+O.name+" failed to advance stream.")}var ai=function(F,q,re){this.start=F.start,this.end=F.pos,this.string=F.current(),this.type=q||null,this.state=re};function ii(O,F,q,re){var ue=O.doc,Be=ue.mode,ct;F=Bt(ue,F);var Dt=je(ue,F.line),zt=Sn(O,F.line,q),Qt=new De(Dt.text,O.options.tabSize,zt),Mr;for(re&&(Mr=[]);(re||Qt.pos<F.ch)&&!Qt.eol();)Qt.start=Qt.pos,ct=Zn(Be,Qt,zt.state),re&&Mr.push(new ai(Qt,ct,fr(ue.mode,zt.state)));return re?Mr:new ai(Qt,ct,zt.state)}function $e(O,F){if(O)for(;;){var q=O.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!q)break;O=O.slice(0,q.index)+O.slice(q.index+q[0].length);var re=q[1]?"bgClass":"textClass";F[re]==null?F[re]=q[2]:new RegExp("(?:^|\\s)"+q[2]+"(?:$|\\s)").test(F[re])||(F[re]+=" "+q[2])}return O}function Te(O,F,q,re,ue,Be,ct){var Dt=q.flattenSpans;Dt==null&&(Dt=O.options.flattenSpans);var zt=0,Qt=null,Mr=new De(F,O.options.tabSize,re),tn,mn=O.options.addModeClass&&[null];for(F==""&&$e(ei(q,re.state),Be);!Mr.eol();){if(Mr.pos>O.options.maxHighlightLength?(Dt=!1,ct&&Mn(O,F,re,Mr.pos),Mr.pos=F.length,tn=null):tn=$e(Zn(q,Mr,re.state,mn),Be),mn){var wn=mn[0].name;wn&&(tn="m-"+(tn?wn+" "+tn:wn))}if(!Dt||Qt!=tn){for(;zt<Mr.start;)zt=Math.min(Mr.start,zt+5e3),ue(zt,Qt);Qt=tn}Mr.start=Mr.pos}for(;zt<Mr.pos;){var ri=Math.min(Mr.pos,zt+5e3);ue(ri,Qt),zt=ri}}function ke(O,F,q){for(var re,ue,Be=O.doc,ct=q?-1:F-(O.doc.mode.innerMode?1e3:100),Dt=F;Dt>ct;--Dt){if(Dt<=Be.first)return Be.first;var zt=je(Be,Dt-1),Qt=zt.stateAfter;if(Qt&&(!q||Dt+(Qt instanceof Br?Qt.lookAhead:0)<=Be.modeFrontier))return Dt;var Mr=U(zt.text,null,O.options.tabSize);(ue==null||re>Mr)&&(ue=Dt-1,re=Mr)}return ue}function Me(O,F){if(O.modeFrontier=Math.min(O.modeFrontier,F),O.highlightFrontier<F-10)return;for(var q=O.first,re=F-1;re>q;re--){var ue=je(O,re).stateAfter;if(ue&&(!(ue instanceof Br)||re+ue.lookAhead<F)){q=re+1;break}}O.highlightFrontier=Math.min(O.highlightFrontier,q)}var Ze=!1,Xe=!1;function qe(){Ze=!0}function mt(){Xe=!0}function ht(O,F,q){this.marker=O,this.from=F,this.to=q}function Vt(O,F){if(O)for(var q=0;q<O.length;++q){var re=O[q];if(re.marker==F)return re}}function dr(O,F){for(var q,re=0;re<O.length;++re)O[re]!=F&&(q||(q=[])).push(O[re]);return q}function tr(O,F){O.markedSpans=O.markedSpans?O.markedSpans.concat([F]):[F],F.marker.attachLine(O)}function ir(O,F,q){var re;if(O)for(var ue=0;ue<O.length;++ue){var Be=O[ue],ct=Be.marker,Dt=Be.from==null||(ct.inclusiveLeft?Be.from<=F:Be.from<F);if(Dt||Be.from==F&&ct.type=="bookmark"&&(!q||!Be.marker.insertLeft)){var zt=Be.to==null||(ct.inclusiveRight?Be.to>=F:Be.to>F);(re||(re=[])).push(new ht(ct,Be.from,zt?null:Be.to))}}return re}function _t(O,F,q){var re;if(O)for(var ue=0;ue<O.length;++ue){var Be=O[ue],ct=Be.marker,Dt=Be.to==null||(ct.inclusiveRight?Be.to>=F:Be.to>F);if(Dt||Be.from==F&&ct.type=="bookmark"&&(!q||Be.marker.insertLeft)){var zt=Be.from==null||(ct.inclusiveLeft?Be.from<=F:Be.from<F);(re||(re=[])).push(new ht(ct,zt?null:Be.from-F,Be.to==null?null:Be.to-F))}}return re}function gr(O,F){if(F.full)return null;var q=yn(O,F.from.line)&&je(O,F.from.line).markedSpans,re=yn(O,F.to.line)&&je(O,F.to.line).markedSpans;if(!q&&!re)return null;var ue=F.from.ch,Be=F.to.ch,ct=St(F.from,F.to)==0,Dt=ir(q,ue,ct),zt=_t(re,Be,ct),Qt=F.text.length==1,Mr=Le(F.text).length+(Qt?ue:0);if(Dt)for(var tn=0;tn<Dt.length;++tn){var mn=Dt[tn];if(mn.to==null){var wn=Vt(zt,mn.marker);wn?Qt&&(mn.to=wn.to==null?null:wn.to+Mr):mn.to=ue}}if(zt)for(var ri=0;ri<zt.length;++ri){var yi=zt[ri];if(yi.to!=null&&(yi.to+=Mr),yi.from==null){var Fi=Vt(Dt,yi.marker);Fi||(yi.from=Mr,Qt&&(Dt||(Dt=[])).push(yi))}else yi.from+=Mr,Qt&&(Dt||(Dt=[])).push(yi)}Dt&&(Dt=jt(Dt)),zt&&zt!=Dt&&(zt=jt(zt));var Di=[Dt];if(!Qt){var Ii=F.text.length-2,Gi;if(Ii>0&&Dt)for(var ia=0;ia<Dt.length;++ia)Dt[ia].to==null&&(Gi||(Gi=[])).push(new ht(Dt[ia].marker,null,null));for(var Wa=0;Wa<Ii;++Wa)Di.push(Gi);Di.push(zt)}return Di}function jt(O){for(var F=0;F<O.length;++F){var q=O[F];q.from!=null&&q.from==q.to&&q.marker.clearWhenEmpty!==!1&&O.splice(F--,1)}return O.length?O:null}function Sr(O,F,q){var re=null;if(O.iter(F.line,q.line+1,function(wn){if(wn.markedSpans)for(var ri=0;ri<wn.markedSpans.length;++ri){var yi=wn.markedSpans[ri].marker;yi.readOnly&&(!re||V(re,yi)==-1)&&(re||(re=[])).push(yi)}}),!re)return null;for(var ue=[{from:F,to:q}],Be=0;Be<re.length;++Be)for(var ct=re[Be],Dt=ct.find(0),zt=0;zt<ue.length;++zt){var Qt=ue[zt];if(St(Qt.to,Dt.from)<0||St(Qt.from,Dt.to)>0)continue;var Mr=[zt,1],tn=St(Qt.from,Dt.from),mn=St(Qt.to,Dt.to);(tn<0||!ct.inclusiveLeft&&!tn)&&Mr.push({from:Qt.from,to:Dt.from}),(mn>0||!ct.inclusiveRight&&!mn)&&Mr.push({from:Dt.to,to:Qt.to}),ue.splice.apply(ue,Mr),zt+=Mr.length-3}return ue}function Ar(O){var F=O.markedSpans;if(!F)return;for(var q=0;q<F.length;++q)F[q].marker.detachLine(O);O.markedSpans=null}function sr(O,F){if(!F)return;for(var q=0;q<F.length;++q)F[q].marker.attachLine(O);O.markedSpans=F}function ln(O){return O.inclusiveLeft?-1:0}function _n(O){return O.inclusiveRight?1:0}function zn(O,F){var q=O.lines.length-F.lines.length;if(q!=0)return q;var re=O.find(),ue=F.find(),Be=St(re.from,ue.from)||ln(O)-ln(F);if(Be)return-Be;var ct=St(re.to,ue.to)||_n(O)-_n(F);return ct||F.id-O.id}function Nn(O,F){var q=Xe&&O.markedSpans,re;if(q)for(var ue=void 0,Be=0;Be<q.length;++Be)ue=q[Be],ue.marker.collapsed&&(F?ue.from:ue.to)==null&&(!re||zn(re,ue.marker)<0)&&(re=ue.marker);return re}function Fn(O){return Nn(O,!0)}function Gn(O){return Nn(O,!1)}function xn(O,F){var q=Xe&&O.markedSpans,re;if(q)for(var ue=0;ue<q.length;++ue){var Be=q[ue];Be.marker.collapsed&&(Be.from==null||Be.from<F)&&(Be.to==null||Be.to>F)&&(!re||zn(re,Be.marker)<0)&&(re=Be.marker)}return re}function mi(O,F,q,re,ue){var Be=je(O,F),ct=Xe&&Be.markedSpans;if(ct)for(var Dt=0;Dt<ct.length;++Dt){var zt=ct[Dt];if(!zt.marker.collapsed)continue;var Qt=zt.marker.find(0),Mr=St(Qt.from,q)||ln(zt.marker)-ln(ue),tn=St(Qt.to,re)||_n(zt.marker)-_n(ue);if(Mr>=0&&tn<=0||Mr<=0&&tn>=0)continue;if(Mr<=0&&(zt.marker.inclusiveRight&&ue.inclusiveLeft?St(Qt.to,q)>=0:St(Qt.to,q)>0)||Mr>=0&&(zt.marker.inclusiveRight&&ue.inclusiveLeft?St(Qt.from,re)<=0:St(Qt.from,re)<0))return!0}}function rn(O){for(var F;F=Fn(O);)O=F.find(-1,!0).line;return O}function Ur(O){for(var F;F=Gn(O);)O=F.find(1,!0).line;return O}function cn(O){for(var F,q;F=Gn(O);)O=F.find(1,!0).line,(q||(q=[])).push(O);return q}function Qr(O,F){var q=je(O,F),re=rn(q);return q==re?F:$t(re)}function Vn(O,F){if(F>O.lastLine())return F;var q=je(O,F),re;if(!Hn(O,q))return F;for(;re=Gn(q);)q=re.find(1,!0).line;return $t(q)+1}function Hn(O,F){var q=Xe&&F.markedSpans;if(q)for(var re=void 0,ue=0;ue<q.length;++ue){if(re=q[ue],!re.marker.collapsed)continue;if(re.from==null)return!0;if(re.marker.widgetNode)continue;if(re.from==0&&re.marker.inclusiveLeft&&li(O,F,re))return!0}}function li(O,F,q){if(q.to==null){var re=q.marker.find(1,!0);return li(O,re.line,Vt(re.line.markedSpans,q.marker))}if(q.marker.inclusiveRight&&q.to==F.text.length)return!0;for(var ue=void 0,Be=0;Be<F.markedSpans.length;++Be)if(ue=F.markedSpans[Be],ue.marker.collapsed&&!ue.marker.widgetNode&&ue.from==q.to&&(ue.to==null||ue.to!=q.from)&&(ue.marker.inclusiveLeft||q.marker.inclusiveRight)&&li(O,F,ue))return!0}function Un(O){O=rn(O);for(var F=0,q=O.parent,re=0;re<q.lines.length;++re){var ue=q.lines[re];if(ue==O)break;F+=ue.height}for(var Be=q.parent;Be;q=Be,Be=q.parent)for(var ct=0;ct<Be.children.length;++ct){var Dt=Be.children[ct];if(Dt==q)break;F+=Dt.height}return F}function gi(O){if(O.height==0)return 0;for(var F=O.text.length,q,re=O;q=Fn(re);){var ue=q.find(0,!0);re=ue.from.line,F+=ue.from.ch-ue.to.ch}for(re=O;q=Gn(re);){var Be=q.find(0,!0);F-=re.text.length-Be.from.ch,re=Be.to.line,F+=re.text.length-Be.to.ch}return F}function kn(O){var F=O.display,q=O.doc;F.maxLine=je(q,q.first),F.maxLineLength=gi(F.maxLine),F.maxLineChanged=!0,q.iter(function(re){var ue=gi(re);ue>F.maxLineLength&&(F.maxLineLength=ue,F.maxLine=re)})}var di=function(F,q,re){this.text=F,sr(this,q),this.height=re?re(this):1};di.prototype.lineNo=function(){return $t(this)},Nt(di);function qr(O,F,q,re){O.text=F,O.stateAfter&&(O.stateAfter=null),O.styles&&(O.styles=null),O.order!=null&&(O.order=null),Ar(O),sr(O,q);var ue=re?re(O):1;ue!=O.height&&kt(O,ue)}function xr(O){O.parent=null,Ar(O)}var nn={},gn={};function On(O,F){if(!O||/^\s*$/.test(O))return null;var q=F.addModeClass?gn:nn;return q[O]||(q[O]=O.replace(/\S+/g,"cm-$&"))}function Bn(O,F){var q=D("span",null,null,o?"padding-right: .1px":null),re={pre:D("pre",[q],"CodeMirror-line"),content:q,col:0,pos:0,cm:O,trailingSpace:!1,splitSpaces:O.getOption("lineWrapping")};F.measure={};for(var ue=0;ue<=(F.rest?F.rest.length:0);ue++){var Be=ue?F.rest[ue-1]:F.line,ct=void 0;re.pos=0,re.addToken=$n,Gt(O.display.measure)&&(ct=tt(Be,O.doc.direction))&&(re.addToken=vi(re.addToken,ct)),re.map=[];var Dt=F!=O.display.externalMeasured&&$t(Be);Bi(Be,re,bn(O,Be,Dt)),Be.styleClasses&&(Be.styleClasses.bgClass&&(re.bgClass=R(Be.styleClasses.bgClass,re.bgClass||"")),Be.styleClasses.textClass&&(re.textClass=R(Be.styleClasses.textClass,re.textClass||""))),re.map.length==0&&re.map.push(0,0,re.content.appendChild(rt(O.display.measure))),ue==0?(F.measure.map=re.map,F.measure.cache={}):((F.measure.maps||(F.measure.maps=[])).push(re.map),(F.measure.caches||(F.measure.caches=[])).push({}))}if(o){var zt=re.content.lastChild;(/\bcm-tab\b/.test(zt.className)||zt.querySelector&&zt.querySelector(".cm-tab"))&&(re.content.className="cm-tab-wrap-hack")}return nt(O,"renderLine",O,F.line,re.pre),re.pre.className&&(re.textClass=R(re.pre.className,re.textClass||"")),re}function Wn(O){var F=L("span","\u2022","cm-invalidchar");return F.title="\\u"+O.charCodeAt(0).toString(16),F.setAttribute("aria-label",F.title),F}function $n(O,F,q,re,ue,Be,ct){if(!F)return;var Dt=O.splitSpaces?Jn(F,O.trailingSpace):F,zt=O.cm.state.specialChars,Qt=!1,Mr;if(!zt.test(F))O.col+=F.length,Mr=document.createTextNode(Dt),O.map.push(O.pos,O.pos+F.length,Mr),s&&u<9&&(Qt=!0),O.pos+=F.length;else{Mr=document.createDocumentFragment();for(var tn=0;;){zt.lastIndex=tn;var mn=zt.exec(F),wn=mn?mn.index-tn:F.length-tn;if(wn){var ri=document.createTextNode(Dt.slice(tn,tn+wn));s&&u<9?Mr.appendChild(L("span",[ri])):Mr.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 Fi=O.cm.options.tabSize,Di=Fi-O.col%Fi;yi=Mr.appendChild(L("span",Se(Di),"cm-tab")),yi.setAttribute("role","presentation"),yi.setAttribute("cm-text"," "),O.col+=Di}else mn[0]=="\r"||mn[0]==`
|
|
|
`?(yi=Mr.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]),s&&u<9?Mr.appendChild(L("span",[yi])):Mr.appendChild(yi),O.col+=1);O.map.push(O.pos,O.pos+1,yi),O.pos++}}if(O.trailingSpace=Dt.charCodeAt(F.length-1)==32,q||re||ue||Qt||Be||ct){var Ii=q||"";re&&(Ii+=re),ue&&(Ii+=ue);var Gi=L("span",[Mr],Ii,Be);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(Mr)}function Jn(O,F){if(O.length>1&&!/ /.test(O))return O;for(var q=F,re="",ue=0;ue<O.length;ue++){var Be=O.charAt(ue);Be==" "&&q&&(ue==O.length-1||O.charCodeAt(ue+1)==32)&&(Be="\xA0"),re+=Be,q=Be==" "}return re}function vi(O,F){return function(q,re,ue,Be,ct,Dt,zt){ue=ue?ue+" cm-force-border":"cm-force-border";for(var Qt=q.pos,Mr=Qt+re.length;;){for(var tn=void 0,mn=0;mn<F.length&&!(tn=F[mn],tn.to>Qt&&tn.from<=Qt);mn++);if(tn.to>=Mr)return O(q,re,ue,Be,ct,Dt,zt);O(q,re.slice(0,tn.to-Qt),ue,Be,null,Dt,zt),Be=null,re=re.slice(tn.to-Qt),Qt=tn.to}}}function Pi(O,F,q,re){var ue=!re&&q.widgetNode;ue&&O.map.push(O.pos,O.pos+F,ue),!re&&O.cm.display.input.needsContentAttribute&&(ue||(ue=O.content.appendChild(document.createElement("span"))),ue.setAttribute("cm-marker",q.id)),ue&&(O.cm.display.input.setUneditable(ue),O.content.appendChild(ue)),O.pos+=F,O.trailingSpace=!1}function Bi(O,F,q){var re=O.markedSpans,ue=O.text,Be=0;if(!re){for(var ct=1;ct<q.length;ct+=2)F.addToken(F,ue.slice(Be,Be=q[ct]),On(q[ct+1],F.cm.options));return}for(var Dt=ue.length,zt=0,Qt=1,Mr="",tn,mn,wn=0,ri,yi,Fi,Di,Ii;;){if(wn==zt){ri=yi=Fi=mn="",Ii=null,Di=null,wn=Infinity;for(var Gi=[],ia=void 0,Wa=0;Wa<re.length;++Wa){var La=re[Wa],mo=La.marker;if(mo.type=="bookmark"&&La.from==zt&&mo.widgetNode)Gi.push(mo);else if(La.from<=zt&&(La.to==null||La.to>zt||mo.collapsed&&La.to==zt&&La.from==zt)){if(La.to!=null&&La.to!=zt&&wn>La.to&&(wn=La.to,yi=""),mo.className&&(ri+=" "+mo.className),mo.css&&(mn=(mn?mn+";":"")+mo.css),mo.startStyle&&La.from==zt&&(Fi+=" "+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||zn(Di.marker,mo)<0)&&(Di=La)}else La.from>zt&&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==zt)for(var zo=0;zo<Gi.length;++zo)Pi(F,0,Gi[zo]);if(Di&&(Di.from||0)==zt){if(Pi(F,(Di.to==null?Dt+1:Di.to)-zt,Di.marker,Di.from==null),Di.to==null)return;Di.to==zt&&(Di=!1)}}if(zt>=Dt)break;for(var ks=Math.min(Dt,wn);;){if(Mr){var hl=zt+Mr.length;if(!Di){var As=hl>ks?Mr.slice(0,ks-zt):Mr;F.addToken(F,As,tn?tn+ri:ri,Fi,zt+As.length==wn?yi:"",mn,Ii)}if(hl>=ks){Mr=Mr.slice(ks-zt),zt=ks;break}zt=hl,Fi=""}Mr=ue.slice(Be,Be=q[Qt++]),tn=On(q[Qt++],F.cm.options)}}}function ja(O,F,q){this.line=F,this.rest=cn(F),this.size=this.rest?$t(Le(this.rest))-q+1:1,this.node=this.text=null,this.hidden=Hn(O,F)}function Qn(O,F,q){for(var re=[],ue,Be=F;Be<q;Be=ue){var ct=new ja(O.doc,je(O.doc,Be),Be);ue=Be+ct.size,re.push(ct)}return re}var Xr=null;function hi(O){Xr?Xr.ops.push(O):O.ownsGroup=Xr={ops:[O],delayedCallbacks:[]}}function Ri(O){var F=O.delayedCallbacks,q=0;do{for(;q<F.length;q++)F[q].call(null);for(var re=0;re<O.ops.length;re++){var ue=O.ops[re];if(ue.cursorActivityHandlers)for(;ue.cursorActivityCalled<ue.cursorActivityHandlers.length;)ue.cursorActivityHandlers[ue.cursorActivityCalled++].call(null,ue.cm)}}while(q<F.length)}function bi(O,F){var q=O.ownsGroup;if(!q)return;try{Ri(q)}finally{Xr=null,F(q)}}var Ui=null;function ni(O,F){var q=pt(O,F);if(!q.length)return;var re=Array.prototype.slice.call(arguments,2),ue;Xr?ue=Xr.delayedCallbacks:Ui?ue=Ui:(ue=Ui=[],setTimeout(qi,0));for(var Be=function(zt){ue.push(function(){return q[zt].apply(null,re)})},ct=0;ct<q.length;++ct)Be(ct)}function qi(){var O=Ui;Ui=null;for(var F=0;F<O.length;++F)O[F]()}function Qi(O,F,q,re){for(var ue=0;ue<F.changes.length;ue++){var Be=F.changes[ue];Be=="text"?Jr(O,F):Be=="gutter"?gt(O,F,q,re):Be=="class"?Ke(O,F):Be=="widget"&&Xt(O,F,re)}F.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),s&&u<8&&(O.node.style.zIndex=2)),O.node}function Yt(O,F){var q=F.bgClass?F.bgClass+" "+(F.line.bgClass||""):F.line.bgClass;if(q&&(q+=" CodeMirror-linebackground"),F.background)q?F.background.className=q:(F.background.parentNode.removeChild(F.background),F.background=null);else if(q){var re=ha(F);F.background=re.insertBefore(L("div",null,q),re.firstChild),O.display.input.setUneditable(F.background)}}function Ir(O,F){var q=O.display.externalMeasured;return q&&q.line==F.line?(O.display.externalMeasured=null,F.measure=q.measure,q.built):Bn(O,F)}function Jr(O,F){var q=F.text.className,re=Ir(O,F);F.text==F.node&&(F.node=re.pre),F.text.parentNode.replaceChild(re.pre,F.text),F.text=re.pre,re.bgClass!=F.bgClass||re.textClass!=F.textClass?(F.bgClass=re.bgClass,F.textClass=re.textClass,Ke(O,F)):q&&(F.text.className=q)}function Ke(O,F){Yt(O,F),F.line.wrapClass?ha(F).className=F.line.wrapClass:F.node!=F.text&&(F.node.className="");var q=F.textClass?F.textClass+" "+(F.line.textClass||""):F.line.textClass;F.text.className=q||""}function gt(O,F,q,re){if(F.gutter&&(F.node.removeChild(F.gutter),F.gutter=null),F.gutterBackground&&(F.node.removeChild(F.gutterBackground),F.gutterBackground=null),F.line.gutterClass){var ue=ha(F);F.gutterBackground=L("div",null,"CodeMirror-gutter-background "+F.line.gutterClass,"left: "+(O.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px; width: "+re.gutterTotalWidth+"px"),O.display.input.setUneditable(F.gutterBackground),ue.insertBefore(F.gutterBackground,F.text)}var Be=F.line.gutterMarkers;if(O.options.lineNumbers||Be){var ct=ha(F),Dt=F.gutter=L("div",null,"CodeMirror-gutter-wrapper","left: "+(O.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px");if(O.display.input.setUneditable(Dt),ct.insertBefore(Dt,F.text),F.line.gutterClass&&(Dt.className+=" "+F.line.gutterClass),O.options.lineNumbers&&(!Be||!Be["CodeMirror-linenumbers"])&&(F.lineNumber=Dt.appendChild(L("div",un(O.options,q),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+re.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+O.display.lineNumInnerWidth+"px"))),Be)for(var zt=0;zt<O.display.gutterSpecs.length;++zt){var Qt=O.display.gutterSpecs[zt].className,Mr=Be.hasOwnProperty(Qt)&&Be[Qt];Mr&&Dt.appendChild(L("div",[Mr],"CodeMirror-gutter-elt","left: "+re.gutterLeft[Qt]+"px; width: "+re.gutterWidth[Qt]+"px"))}}}function Xt(O,F,q){F.alignable&&(F.alignable=null);for(var re=T("CodeMirror-linewidget"),ue=F.node.firstChild,Be=void 0;ue;ue=Be)Be=ue.nextSibling,re.test(ue.className)&&F.node.removeChild(ue);vr(O,F,q)}function Wt(O,F,q,re){var ue=Ir(O,F);return F.text=F.node=ue.pre,ue.bgClass&&(F.bgClass=ue.bgClass),ue.textClass&&(F.textClass=ue.textClass),Ke(O,F),gt(O,F,q,re),vr(O,F,re),F.node}function vr(O,F,q){if(or(O,F.line,F,q,!0),F.rest)for(var re=0;re<F.rest.length;re++)or(O,F.rest[re],F,q,!1)}function or(O,F,q,re,ue){if(!F.widgets)return;for(var Be=ha(q),ct=0,Dt=F.widgets;ct<Dt.length;++ct){var zt=Dt[ct],Qt=L("div",[zt.node],"CodeMirror-linewidget"+(zt.className?" "+zt.className:""));zt.handleMouseEvents||Qt.setAttribute("cm-ignore-events","true"),Vr(zt,Qt,q,re),O.display.input.setUneditable(Qt),ue&&zt.above?Be.insertBefore(Qt,q.gutter||q.text):Be.appendChild(Qt),ni(zt,"redraw")}}function Vr(O,F,q,re){if(O.noHScroll){(q.alignable||(q.alignable=[])).push(F);var ue=re.wrapperWidth;F.style.left=re.fixedPos+"px",O.coverGutter||(ue-=re.gutterTotalWidth,F.style.paddingLeft=re.gutterTotalWidth+"px"),F.style.width=ue+"px"}O.coverGutter&&(F.style.zIndex=5,F.style.position="relative",O.noHScroll||(F.style.marginLeft=-re.gutterTotalWidth+"px"))}function Kr(O){if(O.height!=null)return O.height;var F=O.doc.cm;if(!F)return 0;if(!N(document.body,O.node)){var q="position: relative;";O.coverGutter&&(q+="margin-left: -"+F.display.gutters.offsetWidth+"px;"),O.noHScroll&&(q+="width: "+F.display.wrapper.clientWidth+"px;"),I(F.display.measure,L("div",[O.node],null,q))}return O.height=O.node.parentNode.offsetHeight}function Dr(O,F){for(var q=Ce(F);q!=O.wrapper;q=q.parentNode)if(!q||q.nodeType==1&&q.getAttribute("cm-ignore-events")=="true"||q.parentNode==O.sizer&&q!=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 F=I(O.measure,L("pre","x","CodeMirror-line-like")),q=window.getComputedStyle?window.getComputedStyle(F):F.currentStyle,re={left:parseInt(q.paddingLeft),right:parseInt(q.paddingRight)};return!isNaN(re.left)&&!isNaN(re.right)&&(O.cachedPaddingH=re),re}function sn(O){return J-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,F,q){var re=O.options.lineWrapping,ue=re&&an(O);if(!F.measure.heights||re&&F.measure.width!=ue){var Be=F.measure.heights=[];if(re){F.measure.width=ue;for(var ct=F.text.firstChild.getClientRects(),Dt=0;Dt<ct.length-1;Dt++){var zt=ct[Dt],Qt=ct[Dt+1];Math.abs(zt.bottom-Qt.bottom)>2&&Be.push((zt.bottom+Qt.top)/2-q.top)}}Be.push(q.bottom-q.top)}}function vn(O,F,q){if(O.line==F)return{map:O.measure.map,cache:O.measure.cache};for(var re=0;re<O.rest.length;re++)if(O.rest[re]==F)return{map:O.measure.maps[re],cache:O.measure.caches[re]};for(var ue=0;ue<O.rest.length;ue++)if($t(O.rest[ue])>q)return{map:O.measure.maps[ue],cache:O.measure.caches[ue],before:!0}}function Ln(O,F){F=rn(F);var q=$t(F),re=O.display.externalMeasured=new ja(O.doc,F,q);re.lineN=q;var ue=re.built=Bn(O,re);return re.text=ue.pre,I(O.display.lineMeasure,ue.pre),re}function oi(O,F,q,re){return qn(O,Ni(O,F),q,re)}function si(O,F){if(F>=O.display.viewFrom&&F<O.display.viewTo)return O.display.view[ga(O,F)];var q=O.display.externalMeasured;if(q&&F>=q.lineN&&F<q.lineN+q.size)return q}function Ni(O,F){var q=$t(F),re=si(O,q);re&&!re.text?re=null:re&&re.changes&&(Qi(O,re,q,co(O)),O.curOp.forceUpdate=!0),re||(re=Ln(O,F));var ue=vn(re,F,q);return{line:F,view:re,rect:null,map:ue.map,cache:ue.cache,before:ue.before,hasHeights:!1}}function qn(O,F,q,re,ue){F.before&&(q=-1);var Be=q+(re||""),ct;return F.cache.hasOwnProperty(Be)?ct=F.cache[Be]:(F.rect||(F.rect=F.view.text.getBoundingClientRect()),F.hasHeights||(fn(O,F.view,F.rect),F.hasHeights=!0),ct=wi(O,F,q,re),ct.bogus||(F.cache[Be]=ct)),{left:ct.left,right:ct.right,top:ue?ct.rtop:ct.top,bottom:ue?ct.rbottom:ct.bottom}}var Pn={left:0,right:0,top:0,bottom:0};function ki(O,F,q){for(var re,ue,Be,ct,Dt,zt,Qt=0;Qt<O.length;Qt+=3)if(Dt=O[Qt],zt=O[Qt+1],F<Dt?(ue=0,Be=1,ct="left"):F<zt?(ue=F-Dt,Be=ue+1):(Qt==O.length-3||F==zt&&O[Qt+3]>F)&&(Be=zt-Dt,ue=Be-1,F>=zt&&(ct="right")),ue!=null){if(re=O[Qt+2],Dt==zt&&q==(re.insertLeft?"left":"right")&&(ct=q),q=="left"&&ue==0)for(;Qt&&O[Qt-2]==O[Qt-3]&&O[Qt-1].insertLeft;)re=O[(Qt-=3)+2],ct="left";if(q=="right"&&ue==zt-Dt)for(;Qt<O.length-3&&O[Qt+3]==O[Qt+4]&&!O[Qt+5].insertLeft;)re=O[(Qt+=3)+2],ct="right";break}return{node:re,start:ue,end:Be,collapse:ct,coverStart:Dt,coverEnd:zt}}function ci(O,F){var q=Pn;if(F=="left")for(var re=0;re<O.length&&!((q=O[re]).left!=q.right);re++);else for(var ue=O.length-1;ue>=0&&!((q=O[ue]).left!=q.right);ue--);return q}function wi(O,F,q,re){var ue=ki(F.map,q,re),Be=ue.node,ct=ue.start,Dt=ue.end,zt=ue.collapse,Qt;if(Be.nodeType==3){for(var Mr=0;Mr<4;Mr++){for(;ct&&ne(F.line.text.charAt(ue.coverStart+ct));)--ct;for(;ue.coverStart+Dt<ue.coverEnd&&ne(F.line.text.charAt(ue.coverStart+Dt));)++Dt;if(s&&u<9&&ct==0&&Dt==ue.coverEnd-ue.coverStart?Qt=Be.parentNode.getBoundingClientRect():Qt=ci(B(Be,ct,Dt).getClientRects(),re),Qt.left||Qt.right||ct==0)break;Dt=ct,ct=ct-1,zt="right"}s&&u<11&&(Qt=fi(O.display.measure,Qt))}else{ct>0&&(zt=re="right");var tn;O.options.lineWrapping&&(tn=Be.getClientRects()).length>1?Qt=tn[re=="right"?tn.length-1:0]:Qt=Be.getBoundingClientRect()}if(s&&u<9&&!ct&&(!Qt||!Qt.left&&!Qt.right)){var mn=Be.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-F.rect.top,ri=Qt.bottom-F.rect.top,yi=(wn+ri)/2,Fi=F.view.measure.heights,Di=0;Di<Fi.length-1&&!(yi<Fi[Di]);Di++);var Ii=Di?Fi[Di-1]:0,Gi=Fi[Di],ia={left:(zt=="right"?Qt.right:Qt.left)-F.rect.left,right:(zt=="left"?Qt.left:Qt.right)-F.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,F){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Ot(O))return F;var q=screen.logicalXDPI/screen.deviceXDPI,re=screen.logicalYDPI/screen.deviceYDPI;return{left:F.left*q,right:F.right*q,top:F.top*re,bottom:F.bottom*re}}function Mi(O){if(O.measure&&(O.measure.cache={},O.measure.heights=null,O.rest))for(var F=0;F<O.rest.length;F++)O.measure.caches[F]={}}function fa(O){O.display.externalMeasure=null,_(O.display.lineMeasure);for(var F=0;F<O.display.view.length;F++)Mi(O.display.view[F])}function Wi(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 r&&c?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function aa(){return r&&c?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function ya(O){var F=0;if(O.widgets)for(var q=0;q<O.widgets.length;++q)O.widgets[q].above&&(F+=Kr(O.widgets[q]));return F}function Ea(O,F,q,re,ue){if(!ue){var Be=ya(F);q.top+=Be,q.bottom+=Be}if(re=="line")return q;re||(re="local");var ct=Un(F);if(re=="local"?ct+=dn(O.display):ct-=O.display.viewOffset,re=="page"||re=="window"){var Dt=O.display.lineSpace.getBoundingClientRect();ct+=Dt.top+(re=="window"?0:aa());var zt=Dt.left+(re=="window"?0:ma());q.left+=zt,q.right+=zt}return q.top+=ct,q.bottom+=ct,q}function ca(O,F,q){if(q=="div")return F;var re=F.left,ue=F.top;if(q=="page")re-=ma(),ue-=aa();else if(q=="local"||!q){var Be=O.display.sizer.getBoundingClientRect();re+=Be.left,ue+=Be.top}var ct=O.display.lineSpace.getBoundingClientRect();return{left:re-ct.left,top:ue-ct.top}}function Ma(O,F,q,re,ue){return re||(re=je(O.doc,F.line)),Ea(O,re,oi(O,re,F.ch,ue),q)}function wa(O,F,q,re,ue,Be){re=re||je(O.doc,F.line),ue||(ue=Ni(O,re));function ct(ri,yi){var Fi=qn(O,ue,ri,yi?"right":"left",Be);return yi?Fi.left=Fi.right:Fi.right=Fi.left,Ea(O,re,Fi,q)}var Dt=tt(re,O.doc.direction),zt=F.ch,Qt=F.sticky;if(zt>=re.text.length?(zt=re.text.length,Qt="before"):zt<=0&&(zt=0,Qt="after"),!Dt)return ct(Qt=="before"?zt-1:zt,Qt=="before");function Mr(ri,yi,Fi){var Di=Dt[yi],Ii=Di.level==1;return ct(Fi?ri-1:ri,Ii!=Fi)}var tn=xe(Dt,zt,Qt),mn=de,wn=Mr(zt,tn,Qt=="before");return mn!=null&&(wn.other=Mr(zt,mn,Qt!="before")),wn}function _i(O,F){var q=0;F=Bt(O.doc,F),O.options.lineWrapping||(q=Xa(O.display)*F.ch);var re=je(O.doc,F.line),ue=Un(re)+dn(O.display);return{left:q,right:q,top:ue,bottom:ue+re.height}}function xi(O,F,q,re,ue){var Be=Kt(O,F,q);return Be.xRel=ue,re&&(Be.outside=re),Be}function ji(O,F,q){var re=O.doc;if(q+=O.display.viewOffset,q<0)return xi(re.first,0,null,-1,-1);var ue=Nr(re,q),Be=re.first+re.size-1;if(ue>Be)return xi(re.first+re.size-1,je(re,Be).text.length,null,1,1);F<0&&(F=0);for(var ct=je(re,ue);;){var Dt=Oa(O,ct,ue,F,q),zt=xn(ct,Dt.ch+(Dt.xRel>0||Dt.outside>0?1:0));if(!zt)return Dt;var Qt=zt.find(1);if(Qt.line==ue)return Qt;ct=je(re,ue=Qt.line)}}function Ji(O,F,q,re){re-=ya(F);var ue=F.text.length,Be=Ne(function(ct){return qn(O,q,ct-1).bottom<=re},ue,0);return ue=Ne(function(ct){return qn(O,q,ct).top>re},Be,ue),{begin:Be,end:ue}}function Si(O,F,q,re){q||(q=Ni(O,F));var ue=Ea(O,F,qn(O,q,re),"line").top;return Ji(O,F,q,ue)}function Hi(O,F,q,re){return O.bottom<=q?!1:O.top>q?!0:(re?O.left:O.right)>F}function Oa(O,F,q,re,ue){ue-=Un(F);var Be=Ni(O,F),ct=ya(F),Dt=0,zt=F.text.length,Qt=!0,Mr=tt(F,O.doc.direction);if(Mr){var tn=(O.options.lineWrapping?la:_a)(O,F,q,Be,Mr,re,ue);Qt=tn.level!=1,Dt=Qt?tn.from:tn.to-1,zt=Qt?tn.to:tn.from-1}var mn=null,wn=null,ri=Ne(function(Wa){var La=qn(O,Be,Wa);return La.top+=ct,La.bottom+=ct,Hi(La,re,ue,!1)?(La.top<=ue&&La.left<=re&&(mn=Wa,wn=La),!0):!1},Dt,zt),yi,Fi,Di=!1;if(wn){var Ii=re-wn.left<wn.right-re,Gi=Ii==Qt;ri=mn+(Gi?0:1),Fi=Gi?"after":"before",yi=Ii?wn.left:wn.right}else{!Qt&&(ri==zt||ri==Dt)&&ri++,Fi=ri==0?"after":ri==F.text.length?"before":qn(O,Be,ri-(Qt?1:0)).bottom+ct<=ue==Qt?"after":"before";var ia=wa(O,Kt(q,ri,Fi),"line",F,Be);yi=ia.left,Di=ue<ia.top?-1:ue>=ia.bottom?1:0}return ri=Ae(F.text,ri,1),xi(q,ri,Fi,Di,re-yi)}function _a(O,F,q,re,ue,Be,ct){var Dt=Ne(function(tn){var mn=ue[tn],wn=mn.level!=1;return Hi(wa(O,Kt(q,wn?mn.to:mn.from,wn?"before":"after"),"line",F,re),Be,ct,!0)},0,ue.length-1),zt=ue[Dt];if(Dt>0){var Qt=zt.level!=1,Mr=wa(O,Kt(q,Qt?zt.from:zt.to,Qt?"after":"before"),"line",F,re);Hi(Mr,Be,ct,!0)&&Mr.top>ct&&(zt=ue[Dt-1])}return zt}function la(O,F,q,re,ue,Be,ct){var Dt=Ji(O,F,re,ct),zt=Dt.begin,Qt=Dt.end;/\s/.test(F.text.charAt(Qt-1))&&Qt--;for(var Mr=null,tn=null,mn=0;mn<ue.length;mn++){var wn=ue[mn];if(wn.from>=Qt||wn.to<=zt)continue;var ri=wn.level!=1,yi=qn(O,re,ri?Math.min(Qt,wn.to)-1:Math.max(zt,wn.from)).right,Fi=yi<Be?Be-yi+1e9:yi-Be;(!Mr||tn>Fi)&&(Mr=wn,tn=Fi)}return Mr||(Mr=ue[ue.length-1]),Mr.from<zt&&(Mr={from:zt,to:Mr.to,level:Mr.level}),Mr.to>Qt&&(Mr={from:Mr.from,to:Qt,level:Mr.level}),Mr}var va;function Fa(O){if(O.cachedTextHeight!=null)return O.cachedTextHeight;if(va==null){va=L("pre",null,"CodeMirror-line-like");for(var F=0;F<49;++F)va.appendChild(document.createTextNode("x")),va.appendChild(L("br"));va.appendChild(document.createTextNode("x"))}I(O.measure,va);var q=va.offsetHeight/50;return q>3&&(O.cachedTextHeight=q),_(O.measure),q||1}function Xa(O){if(O.cachedCharWidth!=null)return O.cachedCharWidth;var F=L("span","xxxxxxxxxx"),q=L("pre",[F],"CodeMirror-line-like");I(O.measure,q);var re=F.getBoundingClientRect(),ue=(re.right-re.left)/10;return ue>2&&(O.cachedCharWidth=ue),ue||10}function co(O){for(var F=O.display,q={},re={},ue=F.gutters.clientLeft,Be=F.gutters.firstChild,ct=0;Be;Be=Be.nextSibling,++ct){var Dt=O.display.gutterSpecs[ct].className;q[Dt]=Be.offsetLeft+Be.clientLeft+ue,re[Dt]=Be.clientWidth}return{fixedPos:so(F),gutterTotalWidth:F.gutters.offsetWidth,gutterLeft:q,gutterWidth:re,wrapperWidth:F.wrapper.clientWidth}}function so(O){return O.scroller.getBoundingClientRect().left-O.sizer.getBoundingClientRect().left}function Ao(O){var F=Fa(O.display),q=O.options.lineWrapping,re=q&&Math.max(5,O.display.scroller.clientWidth/Xa(O.display)-3);return function(ue){if(Hn(O.doc,ue))return 0;var Be=0;if(ue.widgets)for(var ct=0;ct<ue.widgets.length;ct++)ue.widgets[ct].height&&(Be+=ue.widgets[ct].height);return q?Be+(Math.ceil(ue.text.length/re)||1)*F:Be+F}}function io(O){var F=O.doc,q=Ao(O);F.iter(function(re){var ue=q(re);ue!=re.height&&kt(re,ue)})}function pa(O,F,q,re){var ue=O.display;if(!q&&Ce(F).getAttribute("cm-not-content")=="true")return null;var Be,ct,Dt=ue.lineSpace.getBoundingClientRect();try{Be=F.clientX-Dt.left,ct=F.clientY-Dt.top}catch(tn){return null}var zt=ji(O,Be,ct),Qt;if(re&&zt.xRel>0&&(Qt=je(O.doc,zt.line).text).length==zt.ch){var Mr=U(Qt,Qt.length,O.options.tabSize)-Qt.length;zt=Kt(zt.line,Math.max(0,Math.round((Be-Cn(O.display).left)/Xa(O.display))-Mr))}return zt}function ga(O,F){if(F>=O.display.viewTo)return null;if(F-=O.display.viewFrom,F<0)return null;for(var q=O.display.view,re=0;re<q.length;re++)if(F-=q[re].size,F<0)return re}function ba(O,F,q,re){F==null&&(F=O.doc.first),q==null&&(q=O.doc.first+O.doc.size),re||(re=0);var ue=O.display;if(re&&q<ue.viewTo&&(ue.updateLineNumbers==null||ue.updateLineNumbers>F)&&(ue.updateLineNumbers=F),O.curOp.viewChanged=!0,F>=ue.viewTo)Xe&&Qr(O.doc,F)<ue.viewTo&&Ba(O);else if(q<=ue.viewFrom)Xe&&Vn(O.doc,q+re)>ue.viewFrom?Ba(O):(ue.viewFrom+=re,ue.viewTo+=re);else if(F<=ue.viewFrom&&q>=ue.viewTo)Ba(O);else if(F<=ue.viewFrom){var Be=vo(O,q,q+re,1);Be?(ue.view=ue.view.slice(Be.index),ue.viewFrom=Be.lineN,ue.viewTo+=re):Ba(O)}else if(q>=ue.viewTo){var ct=vo(O,F,F,-1);ct?(ue.view=ue.view.slice(0,ct.index),ue.viewTo=ct.lineN):Ba(O)}else{var Dt=vo(O,F,F,-1),zt=vo(O,q,q+re,1);Dt&&zt?(ue.view=ue.view.slice(0,Dt.index).concat(Qn(O,Dt.lineN,zt.lineN)).concat(ue.view.slice(zt.index)),ue.viewTo+=re):Ba(O)}var Qt=ue.externalMeasured;Qt&&(q<Qt.lineN?Qt.lineN+=re:F<Qt.lineN+Qt.size&&(ue.externalMeasured=null))}function Oi(O,F,q){O.curOp.viewChanged=!0;var re=O.display,ue=O.display.externalMeasured;if(ue&&F>=ue.lineN&&F<ue.lineN+ue.size&&(re.externalMeasured=null),F<re.viewFrom||F>=re.viewTo)return;var Be=re.view[ga(O,F)];if(Be.node==null)return;var ct=Be.changes||(Be.changes=[]);V(ct,q)==-1&&ct.push(q)}function Ba(O){O.display.viewFrom=O.display.viewTo=O.doc.first,O.display.view=[],O.display.viewOffset=0}function vo(O,F,q,re){var ue=ga(O,F),Be,ct=O.display.view;if(!Xe||q==O.doc.first+O.doc.size)return{index:ue,lineN:q};for(var Dt=O.display.viewFrom,zt=0;zt<ue;zt++)Dt+=ct[zt].size;if(Dt!=F){if(re>0){if(ue==ct.length-1)return null;Be=Dt+ct[ue].size-F,ue++}else Be=Dt-F;F+=Be,q+=Be}for(;Qr(O.doc,q)!=q;){if(ue==(re<0?0:ct.length-1))return null;q+=re*ct[ue-(re<0?1:0)].size,ue+=re}return{index:ue,lineN:q}}function os(O,F,q){var re=O.display,ue=re.view;ue.length==0||F>=re.viewTo||q<=re.viewFrom?(re.view=Qn(O,F,q),re.viewFrom=F):(re.viewFrom>F?re.view=Qn(O,F,re.viewFrom).concat(re.view):re.viewFrom<F&&(re.view=re.view.slice(ga(O,F))),re.viewFrom=F,re.viewTo<q?re.view=re.view.concat(Qn(O,re.viewTo,q)):re.viewTo>q&&(re.view=re.view.slice(0,ga(O,q)))),re.viewTo=q}function Va(O){for(var F=O.display.view,q=0,re=0;re<F.length;re++){var ue=F[re];!ue.hidden&&(!ue.node||ue.changes)&&++q}return q}function ao(O){O.display.input.showSelection(O.display.input.prepareSelection())}function Ga(O,F){F===void 0&&(F=!0);for(var q=O.doc,re={},ue=re.cursors=document.createDocumentFragment(),Be=re.selection=document.createDocumentFragment(),ct=0;ct<q.sel.ranges.length;ct++){if(!F&&ct==q.sel.primIndex)continue;var Dt=q.sel.ranges[ct];if(Dt.from().line>=O.display.viewTo||Dt.to().line<O.display.viewFrom)continue;var zt=Dt.empty();(zt||O.options.showCursorWhenSelecting)&&yo(O,Dt.head,ue),zt||es(O,Dt,Be)}return re}function yo(O,F,q){var re=wa(O,F,"div",null,null,!O.options.singleCursorHeightPerLine),ue=q.appendChild(L("div","\xA0","CodeMirror-cursor"));if(ue.style.left=re.left+"px",ue.style.top=re.top+"px",ue.style.height=Math.max(0,re.bottom-re.top)*O.options.cursorHeight+"px",re.other){var Be=q.appendChild(L("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Be.style.display="",Be.style.left=re.other.left+"px",Be.style.top=re.other.top+"px",Be.style.height=(re.other.bottom-re.other.top)*.85+"px"}}function fo(O,F){return O.top-F.top||O.left-F.left}function es(O,F,q){var re=O.display,ue=O.doc,Be=document.createDocumentFragment(),ct=Cn(O.display),Dt=ct.left,zt=Math.max(re.sizerWidth,an(O)-re.sizer.offsetLeft)-ct.right,Qt=ue.direction=="ltr";function Mr(Gi,ia,Wa,La){ia<0&&(ia=0),ia=Math.round(ia),La=Math.round(La),Be.appendChild(L("div",null,"CodeMirror-selected","position: absolute; left: "+Gi+`px;
|
|
|
top: `+ia+"px; width: "+(Wa==null?zt-Gi:Wa)+`px;
|
|
|
height: `+(La-ia)+"px"))}function tn(Gi,ia,Wa){var La=je(ue,Gi),mo=La.text.length,Eo,$o;function zo(As,fl){return Ma(O,Kt(Gi,As),"div",La,fl)}function ks(As,fl,Ms){var Os=Si(O,La,null,As),bs=fl=="ltr"==(Ms=="after")?"left":"right",us=Ms=="after"?Os.begin:Os.end-(/\s/.test(La.text.charAt(Os.end-1))?2:1);return zo(us,bs)[bs]}var hl=tt(La,ue.direction);return oe(hl,ia||0,Wa==null?mo:Wa,function(As,fl,Ms,Os){var bs=Ms=="ltr",us=zo(As,bs?"left":"right"),ol=zo(fl-1,bs?"right":"left"),Ac=ia==null&&As==0,El=Wa==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?Dt:(bs?us:ol).left,vl=tu?zt:(bs?ol:us).right;Mr(ra,us.top,vl-ra,us.bottom)}else{var Nl,is,zl,Ho;bs?(Nl=Qt&&Ac&&ws?Dt:us.left,is=Qt?zt:ks(As,Ms,"before"),zl=Qt?Dt:ks(fl,Ms,"after"),Ho=Qt&&El&&wl?zt:ol.right):(Nl=Qt?ks(As,Ms,"before"):Dt,is=!Qt&&Ac&&ws?zt:us.right,zl=!Qt&&El&&wl?Dt:ol.left,Ho=Qt?ks(fl,Ms,"after"):zt),Mr(Nl,us.top,is-Nl,us.bottom),us.bottom<ol.top&&Mr(Dt,us.bottom,null,ol.top),Mr(zl,ol.top,Ho-zl,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=F.from(),wn=F.to();if(mn.line==wn.line)tn(mn.line,mn.ch,wn.ch);else{var ri=je(ue,mn.line),yi=je(ue,wn.line),Fi=rn(ri)==rn(yi),Di=tn(mn.line,mn.ch,Fi?ri.text.length+1:null).end,Ii=tn(wn.line,Fi?0:null,wn.ch).start;Fi&&(Di.top<Ii.top-2?(Mr(Di.right,Di.top,null,Di.bottom),Mr(Dt,Ii.top,Ii.left,Ii.bottom)):Mr(Di.right,Di.top,Ii.left-Di.right,Di.bottom)),Di.bottom<Ii.top&&Mr(Dt,Di.bottom,null,Ii.top)}q.appendChild(Be)}function To(O){if(!O.state.focused)return;var F=O.display;clearInterval(F.blinker);var q=!0;F.cursorDiv.style.visibility="",O.options.cursorBlinkRate>0?F.blinker=setInterval(function(){O.hasFocus()||ns(O),F.cursorDiv.style.visibility=(q=!q)?"":"hidden"},O.options.cursorBlinkRate):O.options.cursorBlinkRate<0&&(F.cursorDiv.style.visibility="hidden")}function po(O){O.state.focused||(O.display.input.focus(),Wo(O))}function Io(O){O.state.delayingBlurEvent=!0,setTimeout(function(){O.state.delayingBlurEvent&&(O.state.delayingBlurEvent=!1,ns(O))},100)}function Wo(O,F){if(O.state.delayingBlurEvent&&(O.state.delayingBlurEvent=!1),O.options.readOnly=="nocursor")return;O.state.focused||(nt(O,"focus",O,F),O.state.focused=!0,W(O.display.wrapper,"CodeMirror-focused"),!O.curOp&&O.display.selForContextMenu!=O.doc.sel&&(O.display.input.reset(),o&&setTimeout(function(){return O.display.input.reset(!0)},20)),O.display.input.receivedFocus()),To(O)}function ns(O,F){if(O.state.delayingBlurEvent)return;O.state.focused&&(nt(O,"blur",O,F),O.state.focused=!1,x(O.display.wrapper,"CodeMirror-focused")),clearInterval(O.display.blinker),setTimeout(function(){O.state.focused||(O.display.shift=!1)},150)}function Po(O){for(var F=O.display,q=F.lineDiv.offsetTop,re=0;re<F.view.length;re++){var ue=F.view[re],Be=O.options.lineWrapping,ct=void 0,Dt=0;if(ue.hidden)continue;if(s&&u<8){var zt=ue.node.offsetTop+ue.node.offsetHeight;ct=zt-q,q=zt}else{var Qt=ue.node.getBoundingClientRect();ct=Qt.bottom-Qt.top,!Be&&ue.text.firstChild&&(Dt=ue.text.firstChild.getBoundingClientRect().right-Qt.left-1)}var Mr=ue.line.height-ct;if((Mr>.005||Mr<-.005)&&(kt(ue.line,ct),Aa(ue.line),ue.rest))for(var tn=0;tn<ue.rest.length;tn++)Aa(ue.rest[tn]);if(Dt>O.display.sizerWidth){var mn=Math.ceil(Dt/Xa(O.display));mn>O.display.maxLineLength&&(O.display.maxLineLength=mn,O.display.maxLine=ue.line,O.display.maxLineChanged=!0)}}}function Aa(O){if(O.widgets)for(var F=0;F<O.widgets.length;++F){var q=O.widgets[F],re=q.node.parentNode;re&&(q.height=re.offsetHeight)}}function Za(O,F,q){var re=q&&q.top!=null?Math.max(0,q.top):O.scroller.scrollTop;re=Math.floor(re-dn(O));var ue=q&&q.bottom!=null?q.bottom:re+O.wrapper.clientHeight,Be=Nr(F,re),ct=Nr(F,ue);if(q&&q.ensure){var Dt=q.ensure.from.line,zt=q.ensure.to.line;Dt<Be?(Be=Dt,ct=Nr(F,Un(je(F,Dt))+O.wrapper.clientHeight)):Math.min(zt,F.lastLine())>=ct&&(Be=Nr(F,Un(je(F,zt))-O.wrapper.clientHeight),ct=zt)}return{from:Be,to:Math.max(ct,Be+1)}}function ka(O,F){if(bt(O,"scrollCursorIntoView"))return;var q=O.display,re=q.sizer.getBoundingClientRect(),ue=null;if(F.top+re.top<0?ue=!0:F.bottom+re.top>(window.innerHeight||document.documentElement.clientHeight)&&(ue=!1),ue!=null&&!t){var Be=L("div","\u200B",null,`position: absolute;
|
|
|
top: `+(F.top-q.viewOffset-dn(O.display))+`px;
|
|
|
height: `+(F.bottom-F.top+sn(O)+q.barHeight)+`px;
|
|
|
left: `+F.left+"px; width: "+Math.max(2,F.right-F.left)+"px;");O.display.lineSpace.appendChild(Be),Be.scrollIntoView(ue),O.display.lineSpace.removeChild(Be)}}function $i(O,F,q,re){re==null&&(re=0);var ue;!O.options.lineWrapping&&F==q&&(F=F.ch?Kt(F.line,F.sticky=="before"?F.ch-1:F.ch,"after"):F,q=F.sticky=="before"?Kt(F.line,F.ch+1,"before"):F);for(var Be=0;Be<5;Be++){var ct=!1,Dt=wa(O,F),zt=!q||q==F?Dt:wa(O,q);ue={left:Math.min(Dt.left,zt.left),top:Math.min(Dt.top,zt.top)-re,right:Math.max(Dt.left,zt.left),bottom:Math.max(Dt.bottom,zt.bottom)+re};var Qt=Ha(O,ue),Mr=O.doc.scrollTop,tn=O.doc.scrollLeft;if(Qt.scrollTop!=null&&(Ya(O,Qt.scrollTop),Math.abs(O.doc.scrollTop-Mr)>1&&(ct=!0)),Qt.scrollLeft!=null&&(Ci(O,Qt.scrollLeft),Math.abs(O.doc.scrollLeft-tn)>1&&(ct=!0)),!ct)break}return ue}function uo(O,F){var q=Ha(O,F);q.scrollTop!=null&&Ya(O,q.scrollTop),q.scrollLeft!=null&&Ci(O,q.scrollLeft)}function Ha(O,F){var q=O.display,re=Fa(O.display);F.top<0&&(F.top=0);var ue=O.curOp&&O.curOp.scrollTop!=null?O.curOp.scrollTop:q.scroller.scrollTop,Be=Yr(O),ct={};F.bottom-F.top>Be&&(F.bottom=F.top+Be);var Dt=O.doc.height+on(q),zt=F.top<re,Qt=F.bottom>Dt-re;if(F.top<ue)ct.scrollTop=zt?0:F.top;else if(F.bottom>ue+Be){var Mr=Math.min(F.top,(Qt?Dt:F.bottom)-Be);Mr!=ue&&(ct.scrollTop=Mr)}var tn=O.options.fixedGutter?0:q.gutters.offsetWidth,mn=O.curOp&&O.curOp.scrollLeft!=null?O.curOp.scrollLeft:q.scroller.scrollLeft-tn,wn=an(O)-q.gutters.offsetWidth,ri=F.right-F.left>wn;return ri&&(F.right=F.left+wn),F.left<10?ct.scrollLeft=0:F.left<mn?ct.scrollLeft=Math.max(0,F.left+tn-(ri?0:10)):F.right>wn+mn-3&&(ct.scrollLeft=F.right+(ri?0:10)-wn),ct}function Yi(O,F){if(F==null)return;Zo(O),O.curOp.scrollTop=(O.curOp.scrollTop==null?O.doc.scrollTop:O.curOp.scrollTop)+F}function Qa(O){Zo(O);var F=O.getCursor();O.curOp.scrollToPos={from:F,to:F,margin:O.options.cursorScrollMargin}}function Fo(O,F,q){(F!=null||q!=null)&&Zo(O),F!=null&&(O.curOp.scrollLeft=F),q!=null&&(O.curOp.scrollTop=q)}function Qo(O,F){Zo(O),O.curOp.scrollToPos=F}function Zo(O){var F=O.curOp.scrollToPos;if(F){O.curOp.scrollToPos=null;var q=_i(O,F.from),re=_i(O,F.to);ua(O,q,re,F.margin)}}function ua(O,F,q,re){var ue=Ha(O,{left:Math.min(F.left,q.left),top:Math.min(F.top,q.top)-re,right:Math.max(F.right,q.right),bottom:Math.max(F.bottom,q.bottom)+re});Fo(O,ue.scrollLeft,ue.scrollTop)}function Ya(O,F){if(Math.abs(O.doc.scrollTop-F)<2)return;b||xs(O,{top:F}),lo(O,F,!0),b&&xs(O),jo(O,100)}function lo(O,F,q){if(F=Math.max(0,Math.min(O.display.scroller.scrollHeight-O.display.scroller.clientHeight,F)),O.display.scroller.scrollTop==F&&!q)return;O.doc.scrollTop=F,O.display.scrollbars.setScrollTop(F),O.display.scroller.scrollTop!=F&&(O.display.scroller.scrollTop=F)}function Ci(O,F,q,re){if(F=Math.max(0,Math.min(F,O.display.scroller.scrollWidth-O.display.scroller.clientWidth)),(q?F==O.doc.scrollLeft:Math.abs(O.doc.scrollLeft-F)<2)&&!re)return;O.doc.scrollLeft=F,_s(O),O.display.scroller.scrollLeft!=F&&(O.display.scroller.scrollLeft=F),O.display.scrollbars.setScrollLeft(F)}function Sa(O){var F=O.display,q=F.gutters.offsetWidth,re=Math.round(O.doc.height+on(O.display));return{clientHeight:F.scroller.clientHeight,viewHeight:F.wrapper.clientHeight,scrollWidth:F.scroller.scrollWidth,clientWidth:F.scroller.clientWidth,viewWidth:F.wrapper.clientWidth,barLeft:O.options.fixedGutter?q:0,docHeight:re,scrollHeight:re+sn(O)+F.barHeight,nativeBarWidth:F.nativeBarWidth,gutterWidth:q}}var bo=function(F,q,re){this.cm=re;var ue=this.vert=L("div",[L("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Be=this.horiz=L("div",[L("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ue.tabIndex=Be.tabIndex=-1,F(ue),F(Be),Oe(ue,"scroll",function(){ue.clientHeight&&q(ue.scrollTop,"vertical")}),Oe(Be,"scroll",function(){Be.clientWidth&&q(Be.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,s&&u<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};bo.prototype.update=function(O){var F=O.scrollWidth>O.clientWidth+1,q=O.scrollHeight>O.clientHeight+1,re=O.nativeBarWidth;if(q){this.vert.style.display="block",this.vert.style.bottom=F?re+"px":"0";var ue=O.viewHeight-(F?re:0);this.vert.firstChild.style.height=Math.max(0,O.scrollHeight-O.clientHeight+ue)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(F){this.horiz.style.display="block",this.horiz.style.right=q?re+"px":"0",this.horiz.style.left=O.barLeft+"px";var Be=O.viewWidth-O.barLeft-(q?re:0);this.horiz.firstChild.style.width=Math.max(0,O.scrollWidth-O.clientWidth+Be)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&O.clientHeight>0&&(re==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:q?re:0,bottom:F?re: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=f&&!l?"12px":"18px";this.horiz.style.height=this.vert.style.width=O,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Q,this.disableVert=new Q},bo.prototype.enableZeroWidthBar=function(O,F,q){O.style.pointerEvents="auto";function re(){var ue=O.getBoundingClientRect(),Be=q=="vert"?document.elementFromPoint(ue.right-1,(ue.top+ue.bottom)/2):document.elementFromPoint((ue.right+ue.left)/2,ue.bottom-1);Be!=O?O.style.pointerEvents="none":F.set(1e3,re)}F.set(1e3,re)},bo.prototype.clear=function(){var O=this.horiz.parentNode;O.removeChild(this.horiz),O.removeChild(this.vert)};var Bo=function(){};Bo.prototype.update=function(){return{bottom:0,right:0}},Bo.prototype.setScrollLeft=function(){},Bo.prototype.setScrollTop=function(){},Bo.prototype.clear=function(){};function Oo(O,F){F||(F=Sa(O));var q=O.display.barWidth,re=O.display.barHeight;gs(O,F);for(var ue=0;ue<4&&q!=O.display.barWidth||re!=O.display.barHeight;ue++)q!=O.display.barWidth&&O.options.lineWrapping&&Po(O),gs(O,Sa(O)),q=O.display.barWidth,re=O.display.barHeight}function gs(O,F){var q=O.display,re=q.scrollbars.update(F);q.sizer.style.paddingRight=(q.barWidth=re.right)+"px",q.sizer.style.paddingBottom=(q.barHeight=re.bottom)+"px",q.heightForcer.style.borderBottom=re.bottom+"px solid transparent",re.right&&re.bottom?(q.scrollbarFiller.style.display="block",q.scrollbarFiller.style.height=re.bottom+"px",q.scrollbarFiller.style.width=re.right+"px"):q.scrollbarFiller.style.display="",re.bottom&&O.options.coverGutterNextToScrollbar&&O.options.fixedGutter?(q.gutterFiller.style.display="block",q.gutterFiller.style.height=re.bottom+"px",q.gutterFiller.style.width=F.gutterWidth+"px"):q.gutterFiller.style.display=""}var ds={native:bo,null:Bo};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(F){O.display.wrapper.insertBefore(F,O.display.scrollbarFiller),Oe(F,"mousedown",function(){O.state.focused&&setTimeout(function(){return O.display.input.focus()},0)}),F.setAttribute("cm-not-content","true")},function(F,q){q=="horizontal"?Ci(O,F):Ya(O,F)},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 F=O.curOp;F&&bi(F,function(q){for(var re=0;re<q.ops.length;re++)q.ops[re].cm.curOp=null;Vo(q)})}function Vo(O){for(var F=O.ops,q=0;q<F.length;q++)Jo(F[q]);for(var re=0;re<F.length;re++)Da(F[re]);for(var ue=0;ue<F.length;ue++)Ka(F[ue]);for(var Be=0;Be<F.length;Be++)Pa(F[Be]);for(var ct=0;ct<F.length;ct++)Xo(F[ct])}function Jo(O){var F=O.cm,q=F.display;vs(F),O.updateMaxLine&&kn(F),O.mustUpdate=O.viewChanged||O.forceUpdate||O.scrollTop!=null||O.scrollToPos&&(O.scrollToPos.from.line<q.viewFrom||O.scrollToPos.to.line>=q.viewTo)||q.maxLineChanged&&F.options.lineWrapping,O.update=O.mustUpdate&&new ui(F,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 F=O.cm,q=F.display;O.updatedDisplay&&Po(F),O.barMeasure=Sa(F),q.maxLineChanged&&!F.options.lineWrapping&&(O.adjustWidthTo=oi(F,q.maxLine,q.maxLine.text.length).left+3,F.display.sizerWidth=O.adjustWidthTo,O.barMeasure.scrollWidth=Math.max(q.scroller.clientWidth,q.sizer.offsetLeft+O.adjustWidthTo+sn(F)+F.display.barWidth),O.maxScrollLeft=Math.max(0,q.sizer.offsetLeft+O.adjustWidthTo-an(F))),(O.updatedDisplay||O.selectionChanged)&&(O.preparedSelection=q.input.prepareSelection())}function Pa(O){var F=O.cm;O.adjustWidthTo!=null&&(F.display.sizer.style.minWidth=O.adjustWidthTo+"px",O.maxScrollLeft<F.doc.scrollLeft&&Ci(F,Math.min(F.display.scroller.scrollLeft,O.maxScrollLeft),!0),F.display.maxLineChanged=!1);var q=O.focus&&O.focus==k();O.preparedSelection&&F.display.input.showSelection(O.preparedSelection,q),(O.updatedDisplay||O.startHeight!=F.doc.height)&&Oo(F,O.barMeasure),O.updatedDisplay&&Es(F,O.barMeasure),O.selectionChanged&&To(F),F.state.focused&&O.updateInput&&F.display.input.reset(O.typing),q&&po(O.cm)}function Xo(O){var F=O.cm,q=F.display,re=F.doc;if(O.updatedDisplay&&sl(F,O.update),q.wheelStartX!=null&&(O.scrollTop!=null||O.scrollLeft!=null||O.scrollToPos)&&(q.wheelStartX=q.wheelStartY=null),O.scrollTop!=null&&lo(F,O.scrollTop,O.forceScroll),O.scrollLeft!=null&&Ci(F,O.scrollLeft,!0,!0),O.scrollToPos){var ue=$i(F,Bt(re,O.scrollToPos.from),Bt(re,O.scrollToPos.to),O.scrollToPos.margin);ka(F,ue)}var Be=O.maybeHiddenMarkers,ct=O.maybeUnhiddenMarkers;if(Be)for(var Dt=0;Dt<Be.length;++Dt)Be[Dt].lines.length||nt(Be[Dt],"hide");if(ct)for(var zt=0;zt<ct.length;++zt)ct[zt].lines.length&&nt(ct[zt],"unhide");q.wrapper.offsetHeight&&(re.scrollTop=F.display.scroller.scrollTop),O.changeObjs&&nt(F,"changes",F,O.changeObjs),O.update&&O.update.finish()}function Uo(O,F){if(O.curOp)return F();$a(O);try{return F()}finally{Na(O)}}function Lo(O,F){return function(){if(O.curOp)return F.apply(O,arguments);$a(O);try{return F.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 F=this.cm;if(!F||F.curOp)return O.apply(this,arguments);$a(F);try{return O.apply(this,arguments)}finally{Na(F)}}}function jo(O,F){O.doc.highlightFrontier<O.display.viewTo&&O.state.highlight.set(F,H(Or,O))}function Or(O){var F=O.doc;if(F.highlightFrontier>=O.display.viewTo)return;var q=+new Date+O.options.workTime,re=Sn(O,F.highlightFrontier),ue=[];F.iter(re.line,Math.min(F.first+F.size,O.display.viewTo+500),function(Be){if(re.line>=O.display.viewFrom){var ct=Be.styles,Dt=Be.text.length>O.options.maxHighlightLength?fr(F.mode,re.state):null,zt=An(O,Be,re,!0);Dt&&(re.state=Dt),Be.styles=zt.styles;var Qt=Be.styleClasses,Mr=zt.classes;Mr?Be.styleClasses=Mr:Qt&&(Be.styleClasses=null);for(var tn=!ct||ct.length!=Be.styles.length||Qt!=Mr&&(!Qt||!Mr||Qt.bgClass!=Mr.bgClass||Qt.textClass!=Mr.textClass),mn=0;!tn&&mn<ct.length;++mn)tn=ct[mn]!=Be.styles[mn];tn&&ue.push(re.line),Be.stateAfter=re.save(),re.nextLine()}else Be.text.length<=O.options.maxHighlightLength&&Mn(O,Be.text,re),Be.stateAfter=re.line%5==0?re.save():null,re.nextLine();if(+new Date>q)return jo(O,O.options.workDelay),!0}),F.highlightFrontier=re.line,F.modeFrontier=Math.max(F.modeFrontier,re.line),ue.length&&Uo(O,function(){for(var Be=0;Be<ue.length;Be++)Oi(O,ue[Be],"text")})}var ui=function(F,q,re){var ue=F.display;this.viewport=q,this.visible=Za(ue,F.doc,q),this.editorIsHidden=!ue.wrapper.offsetWidth,this.wrapperHeight=ue.wrapper.clientHeight,this.wrapperWidth=ue.wrapper.clientWidth,this.oldDisplayWidth=an(F),this.force=re,this.dims=co(F),this.events=[]};ui.prototype.signal=function(O,F){Ct(O,F)&&this.events.push(arguments)},ui.prototype.finish=function(){for(var O=0;O<this.events.length;O++)nt.apply(null,this.events[O])};function vs(O){var F=O.display;!F.scrollbarsClipped&&F.scroller.offsetWidth&&(F.nativeBarWidth=F.scroller.offsetWidth-F.scroller.clientWidth,F.heightForcer.style.height=sn(O)+"px",F.sizer.style.marginBottom=-F.nativeBarWidth+"px",F.sizer.style.borderRightWidth=sn(O)+"px",F.scrollbarsClipped=!0)}function rl(O){if(O.hasFocus())return null;var F=k();if(!F||!N(O.display.lineDiv,F))return null;var q={activeElt:F};if(window.getSelection){var re=window.getSelection();re.anchorNode&&re.extend&&N(O.display.lineDiv,re.anchorNode)&&(q.anchorNode=re.anchorNode,q.anchorOffset=re.anchorOffset,q.focusNode=re.focusNode,q.focusOffset=re.focusOffset)}return q}function Ps(O){if(!O||!O.activeElt||O.activeElt==k())return;if(O.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(O.activeElt.nodeName)&&O.anchorNode&&N(document.body,O.anchorNode)&&N(document.body,O.focusNode)){var F=window.getSelection(),q=document.createRange();q.setEnd(O.anchorNode,O.anchorOffset),q.collapse(!1),F.removeAllRanges(),F.addRange(q),F.extend(O.focusNode,O.focusOffset)}}function Ks(O,F){var q=O.display,re=O.doc;if(F.editorIsHidden)return Ba(O),!1;if(!F.force&&F.visible.from>=q.viewFrom&&F.visible.to<=q.viewTo&&(q.updateLineNumbers==null||q.updateLineNumbers>=q.viewTo)&&q.renderedView==q.view&&Va(O)==0)return!1;pl(O)&&(Ba(O),F.dims=co(O));var ue=re.first+re.size,Be=Math.max(F.visible.from-O.options.viewportMargin,re.first),ct=Math.min(ue,F.visible.to+O.options.viewportMargin);q.viewFrom<Be&&Be-q.viewFrom<20&&(Be=Math.max(re.first,q.viewFrom)),q.viewTo>ct&&q.viewTo-ct<20&&(ct=Math.min(ue,q.viewTo)),Xe&&(Be=Qr(O.doc,Be),ct=Vn(O.doc,ct));var Dt=Be!=q.viewFrom||ct!=q.viewTo||q.lastWrapHeight!=F.wrapperHeight||q.lastWrapWidth!=F.wrapperWidth;os(O,Be,ct),q.viewOffset=Un(je(O.doc,q.viewFrom)),O.display.mover.style.top=q.viewOffset+"px";var zt=Va(O);if(!Dt&&zt==0&&!F.force&&q.renderedView==q.view&&(q.updateLineNumbers==null||q.updateLineNumbers>=q.viewTo))return!1;var Qt=rl(O);return zt>4&&(q.lineDiv.style.display="none"),Ls(O,q.updateLineNumbers,F.dims),zt>4&&(q.lineDiv.style.display=""),q.renderedView=q.view,Ps(Qt),_(q.cursorDiv),_(q.selectionDiv),q.gutters.style.height=q.sizer.style.minHeight=0,Dt&&(q.lastWrapHeight=F.wrapperHeight,q.lastWrapWidth=F.wrapperWidth,jo(O,400)),q.updateLineNumbers=null,!0}function sl(O,F){for(var q=F.viewport,re=!0;;re=!1){if(!re||!O.options.lineWrapping||F.oldDisplayWidth==an(O)){if(q&&q.top!=null&&(q={top:Math.min(O.doc.height+on(O.display)-Yr(O),q.top)}),F.visible=Za(O.display,O.doc,q),F.visible.from>=O.display.viewFrom&&F.visible.to<=O.display.viewTo)break}else re&&(F.visible=Za(O.display,O.doc,q));if(!Ks(O,F))break;Po(O);var ue=Sa(O);ao(O),Oo(O,ue),Es(O,ue),F.force=!1}F.signal(O,"update",O),(O.display.viewFrom!=O.display.reportedViewFrom||O.display.viewTo!=O.display.reportedViewTo)&&(F.signal(O,"viewportChange",O,O.display.viewFrom,O.display.viewTo),O.display.reportedViewFrom=O.display.viewFrom,O.display.reportedViewTo=O.display.viewTo)}function xs(O,F){var q=new ui(O,F);if(Ks(O,q)){Po(O),sl(O,q);var re=Sa(O);ao(O),Oo(O,re),Es(O,re),q.finish()}}function Ls(O,F,q){var re=O.display,ue=O.options.lineNumbers,Be=re.lineDiv,ct=Be.firstChild;function Dt(ri){var yi=ri.nextSibling;return o&&f&&O.display.currentWheelTarget==ri?ri.style.display="none":ri.parentNode.removeChild(ri),yi}for(var zt=re.view,Qt=re.viewFrom,Mr=0;Mr<zt.length;Mr++){var tn=zt[Mr];if(!tn.hidden)if(!tn.node||tn.node.parentNode!=Be){var mn=Wt(O,tn,Qt,q);Be.insertBefore(mn,ct)}else{for(;ct!=tn.node;)ct=Dt(ct);var wn=ue&&F!=null&&F<=Qt&&tn.lineNumber;tn.changes&&(V(tn.changes,"gutter")>-1&&(wn=!1),Qi(O,tn,Qt,q)),wn&&(_(tn.lineNumber),tn.lineNumber.appendChild(document.createTextNode(un(O.options,Qt)))),ct=tn.node.nextSibling}Qt+=tn.size}for(;ct;)ct=Dt(ct)}function Xs(O){var F=O.gutters.offsetWidth;O.sizer.style.marginLeft=F+"px"}function Es(O,F){O.display.sizer.style.minHeight=F.docHeight+"px",O.display.heightForcer.style.top=F.docHeight+"px",O.display.gutters.style.height=F.docHeight+O.display.barHeight+sn(O)+"px"}function _s(O){var F=O.display,q=F.view;if(!F.alignWidgets&&(!F.gutters.firstChild||!O.options.fixedGutter))return;for(var re=so(F)-F.scroller.scrollLeft+O.doc.scrollLeft,ue=F.gutters.offsetWidth,Be=re+"px",ct=0;ct<q.length;ct++)if(!q[ct].hidden){O.options.fixedGutter&&(q[ct].gutter&&(q[ct].gutter.style.left=Be),q[ct].gutterBackground&&(q[ct].gutterBackground.style.left=Be));var Dt=q[ct].alignable;if(Dt)for(var zt=0;zt<Dt.length;zt++)Dt[zt].style.left=Be}O.options.fixedGutter&&(F.gutters.style.left=re+ue+"px")}function pl(O){if(!O.options.lineNumbers)return!1;var F=O.doc,q=un(O.options,F.first+F.size-1),re=O.display;if(q.length!=re.lineNumChars){var ue=re.measure.appendChild(L("div",[L("div",q)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Be=ue.firstChild.offsetWidth,ct=ue.offsetWidth-Be;return re.lineGutter.style.width="",re.lineNumInnerWidth=Math.max(Be,re.lineGutter.offsetWidth-ct)+1,re.lineNumWidth=re.lineNumInnerWidth+ct,re.lineNumChars=re.lineNumInnerWidth?q.length:-1,re.lineGutter.style.width=re.lineNumWidth+"px",Xs(O.display),!0}return!1}function Gs(O,F){for(var q=[],re=!1,ue=0;ue<O.length;ue++){var Be=O[ue],ct=null;if(typeof Be!="string"&&(ct=Be.style,Be=Be.className),Be=="CodeMirror-linenumbers")if(F)re=!0;else continue;q.push({className:Be,style:ct})}return F&&!re&&q.push({className:"CodeMirror-linenumbers",style:null}),q}function ro(O){var F=O.gutters,q=O.gutterSpecs;_(F),O.lineGutter=null;for(var re=0;re<q.length;++re){var ue=q[re],Be=ue.className,ct=ue.style,Dt=F.appendChild(L("div",null,"CodeMirror-gutter "+Be));ct&&(Dt.style.cssText=ct),Be=="CodeMirror-linenumbers"&&(O.lineGutter=Dt,Dt.style.width=(O.lineNumWidth||1)+"px")}F.style.display=q.length?"":"none",Xs(O)}function eo(O){ro(O.display),ba(O),_s(O)}function ho(O,F,q,re){var ue=this;this.input=q,ue.scrollbarFiller=L("div",null,"CodeMirror-scrollbar-filler"),ue.scrollbarFiller.setAttribute("cm-not-content","true"),ue.gutterFiller=L("div",null,"CodeMirror-gutter-filler"),ue.gutterFiller.setAttribute("cm-not-content","true"),ue.lineDiv=D("div",null,"CodeMirror-code"),ue.selectionDiv=L("div",null,null,"position: relative; z-index: 1"),ue.cursorDiv=L("div",null,"CodeMirror-cursors"),ue.measure=L("div",null,"CodeMirror-measure"),ue.lineMeasure=L("div",null,"CodeMirror-measure"),ue.lineSpace=D("div",[ue.measure,ue.lineMeasure,ue.selectionDiv,ue.cursorDiv,ue.lineDiv],null,"position: relative; outline: none");var Be=D("div",[ue.lineSpace],"CodeMirror-lines");ue.mover=L("div",[Be],null,"position: relative"),ue.sizer=L("div",[ue.mover],"CodeMirror-sizer"),ue.sizerWidth=null,ue.heightForcer=L("div",null,null,"position: absolute; height: "+J+"px; width: 1px;"),ue.gutters=L("div",null,"CodeMirror-gutters"),ue.lineGutter=null,ue.scroller=L("div",[ue.sizer,ue.heightForcer,ue.gutters],"CodeMirror-scroll"),ue.scroller.setAttribute("tabIndex","-1"),ue.wrapper=L("div",[ue.scrollbarFiller,ue.gutterFiller,ue.scroller],"CodeMirror"),s&&u<8&&(ue.gutters.style.zIndex=-1,ue.scroller.style.paddingRight=0),!o&&!(b&&h)&&(ue.scroller.draggable=!0),O&&(O.appendChild?O.appendChild(ue.wrapper):O(ue.wrapper)),ue.viewFrom=ue.viewTo=F.first,ue.reportedViewFrom=ue.reportedViewTo=F.first,ue.view=[],ue.renderedView=null,ue.externalMeasured=null,ue.viewOffset=0,ue.lastWrapHeight=ue.lastWrapWidth=0,ue.updateLineNumbers=null,ue.nativeBarWidth=ue.barHeight=ue.barWidth=0,ue.scrollbarsClipped=!1,ue.lineNumWidth=ue.lineNumInnerWidth=ue.lineNumChars=null,ue.alignWidgets=!1,ue.cachedCharWidth=ue.cachedTextHeight=ue.cachedPaddingH=null,ue.maxLine=null,ue.maxLineLength=0,ue.maxLineChanged=!1,ue.wheelDX=ue.wheelDY=ue.wheelStartX=ue.wheelStartY=null,ue.shift=!1,ue.selForContextMenu=null,ue.activeTouch=null,ue.gutterSpecs=Gs(re.gutters,re.lineNumbers),ro(ue),q.init(ue)}var yt=0,Lt=null;s?Lt=-.53:b?Lt=15:r?Lt=-.7:n&&(Lt=-1/3);function Pr(O){var F=O.wheelDeltaX,q=O.wheelDeltaY;return F==null&&O.detail&&O.axis==O.HORIZONTAL_AXIS&&(F=O.detail),q==null&&O.detail&&O.axis==O.VERTICAL_AXIS?q=O.detail:q==null&&(q=O.wheelDelta),{x:F,y:q}}function pn(O){var F=Pr(O);return F.x*=Lt,F.y*=Lt,F}function Rn(O,F){var q=Pr(F),re=q.x,ue=q.y,Be=O.display,ct=Be.scroller,Dt=ct.scrollWidth>ct.clientWidth,zt=ct.scrollHeight>ct.clientHeight;if(!(re&&Dt||ue&&zt))return;if(ue&&f&&o){e:for(var Qt=F.target,Mr=Be.view;Qt!=ct;Qt=Qt.parentNode)for(var tn=0;tn<Mr.length;tn++)if(Mr[tn].node==Qt){O.display.currentWheelTarget=Qt;break e}}if(re&&!b&&!i&&Lt!=null){ue&&zt&&Ya(O,Math.max(0,ct.scrollTop+ue*Lt)),Ci(O,Math.max(0,ct.scrollLeft+re*Lt)),(!ue||ue&&zt)&&Ge(F),Be.wheelStartX=null;return}if(ue&&Lt!=null){var mn=ue*Lt,wn=O.doc.scrollTop,ri=wn+Be.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&&(Be.wheelStartX==null?(Be.wheelStartX=ct.scrollLeft,Be.wheelStartY=ct.scrollTop,Be.wheelDX=re,Be.wheelDY=ue,setTimeout(function(){if(Be.wheelStartX==null)return;var yi=ct.scrollLeft-Be.wheelStartX,Fi=ct.scrollTop-Be.wheelStartY,Di=Fi&&Be.wheelDY&&Fi/Be.wheelDY||yi&&Be.wheelDX&&yi/Be.wheelDX;if(Be.wheelStartX=Be.wheelStartY=null,!Di)return;Lt=(Lt*yt+Di)/(yt+1),++yt},200)):(Be.wheelDX+=re,Be.wheelDY+=ue))}var dt=function(F,q){this.ranges=F,this.primIndex=q};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 F=0;F<this.ranges.length;F++){var q=this.ranges[F],re=O.ranges[F];if(!Mt(q.anchor,re.anchor)||!Mt(q.head,re.head))return!1}return!0},dt.prototype.deepCopy=function(){for(var O=[],F=0;F<this.ranges.length;F++)O[F]=new ce(Zt(this.ranges[F].anchor),Zt(this.ranges[F].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,F){F||(F=O);for(var q=0;q<this.ranges.length;q++){var re=this.ranges[q];if(St(F,re.from())>=0&&St(O,re.to())<=0)return q}return-1};var ce=function(F,q){this.anchor=F,this.head=q};ce.prototype.from=function(){return Hr(this.anchor,this.head)},ce.prototype.to=function(){return kr(this.anchor,this.head)},ce.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ve(O,F,q){var re=O&&O.options.selectionsMayTouch,ue=F[q];F.sort(function(mn,wn){return St(mn.from(),wn.from())}),q=V(F,ue);for(var Be=1;Be<F.length;Be++){var ct=F[Be],Dt=F[Be-1],zt=St(Dt.to(),ct.from());if(re&&!ct.empty()?zt>0:zt>=0){var Qt=Hr(Dt.from(),ct.from()),Mr=kr(Dt.to(),ct.to()),tn=Dt.empty()?ct.from()==ct.head:Dt.from()==Dt.head;Be<=q&&--q,F.splice(--Be,2,new ce(tn?Mr:Qt,tn?Qt:Mr))}}return new dt(F,q)}function _e(O,F){return new dt([new ce(O,F||O)],0)}function ze(O){return O.text?Kt(O.from.line+O.text.length-1,Le(O.text).length+(O.text.length==1?O.from.ch:0)):O.to}function ut(O,F){if(St(O,F.from)<0)return O;if(St(O,F.to)<=0)return ze(F);var q=O.line+F.text.length-(F.to.line-F.from.line)-1,re=O.ch;return O.line==F.to.line&&(re+=ze(F).ch-F.to.ch),Kt(q,re)}function Pt(O,F){for(var q=[],re=0;re<O.sel.ranges.length;re++){var ue=O.sel.ranges[re];q.push(new ce(ut(ue.anchor,F),ut(ue.head,F)))}return ve(O.cm,q,O.sel.primIndex)}function ar(O,F,q){return O.line==F.line?Kt(q.line,O.ch-F.ch+q.ch):Kt(q.line+(O.line-F.line),O.ch)}function wr(O,F,q){for(var re=[],ue=Kt(O.first,0),Be=ue,ct=0;ct<F.length;ct++){var Dt=F[ct],zt=ar(Dt.from,ue,Be),Qt=ar(ze(Dt),ue,Be);if(ue=Dt.to,Be=Qt,q=="around"){var Mr=O.sel.ranges[ct],tn=St(Mr.head,Mr.anchor)<0;re[ct]=new ce(tn?Qt:zt,tn?zt:Qt)}else re[ct]=new ce(zt,zt)}return new dt(re,O.sel.primIndex)}function jr(O){O.doc.mode=In(O.options,O.doc.modeOption),hn(O)}function hn(O){O.doc.iter(function(F){F.stateAfter&&(F.stateAfter=null),F.styles&&(F.styles=null)}),O.doc.modeFrontier=O.doc.highlightFrontier=O.doc.first,jo(O,100),O.state.modeGen++,O.curOp&&ba(O)}function Tn(O,F){return F.from.ch==0&&F.to.ch==0&&Le(F.text)==""&&(!O.cm||O.cm.options.wholeLineUpdateBefore)}function ti(O,F,q,re){function ue(Ii){return q?q[Ii]:null}function Be(Ii,Gi,ia){qr(Ii,Gi,ia,re),ni(Ii,"change",Ii,F)}function ct(Ii,Gi){for(var ia=[],Wa=Ii;Wa<Gi;++Wa)ia.push(new di(Qt[Wa],ue(Wa),re));return ia}var Dt=F.from,zt=F.to,Qt=F.text,Mr=je(O,Dt.line),tn=je(O,zt.line),mn=Le(Qt),wn=ue(Qt.length-1),ri=zt.line-Dt.line;if(F.full)O.insert(0,ct(0,Qt.length)),O.remove(Qt.length,O.size-Qt.length);else if(Tn(O,F)){var yi=ct(0,Qt.length-1);Be(tn,tn.text,wn),ri&&O.remove(Dt.line,ri),yi.length&&O.insert(Dt.line,yi)}else if(Mr==tn)if(Qt.length==1)Be(Mr,Mr.text.slice(0,Dt.ch)+mn+Mr.text.slice(zt.ch),wn);else{var Fi=ct(1,Qt.length-1);Fi.push(new di(mn+Mr.text.slice(zt.ch),wn,re)),Be(Mr,Mr.text.slice(0,Dt.ch)+Qt[0],ue(0)),O.insert(Dt.line+1,Fi)}else if(Qt.length==1)Be(Mr,Mr.text.slice(0,Dt.ch)+Qt[0]+tn.text.slice(zt.ch),ue(0)),O.remove(Dt.line+1,ri);else{Be(Mr,Mr.text.slice(0,Dt.ch)+Qt[0],ue(0)),Be(tn,mn+tn.text.slice(zt.ch),wn);var Di=ct(1,Qt.length-1);ri>1&&O.remove(Dt.line+1,ri-1),O.insert(Dt.line+1,Di)}ni(O,"change",O,F)}function Ai(O,F,q){function re(ue,Be,ct){if(ue.linked)for(var Dt=0;Dt<ue.linked.length;++Dt){var zt=ue.linked[Dt];if(zt.doc==Be)continue;var Qt=ct&&zt.sharedHist;if(q&&!Qt)continue;F(zt.doc,Qt),re(zt.doc,ue,Qt)}}re(O,null,!0)}function Ti(O,F){if(F.cm)throw new Error("This document is already in use.");O.doc=F,F.cm=O,io(O),jr(O),zi(O),O.options.lineWrapping||kn(O),O.options.mode=F.modeOption,ba(O)}function zi(O){(O.doc.direction=="rtl"?W:x)(O.display.lineDiv,"CodeMirror-rtl")}function na(O){Uo(O,function(){zi(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 Ja(O,F){var q={from:Zt(F.from),to:ze(F),text:Ye(O,F.from,F.to)};return ls(O,q,F.from.line,F.to.line+1),Ai(O,function(re){return ls(re,q,F.from.line,F.to.line+1)},!0),q}function to(O){for(;O.length;){var F=Le(O);if(F.ranges)O.pop();else break}}function No(O,F){if(F)return to(O.done),Le(O.done);if(O.done.length&&!Le(O.done).ranges)return Le(O.done);if(O.done.length>1&&!O.done[O.done.length-2].ranges)return O.done.pop(),Le(O.done)}function oo(O,F,q,re){var ue=O.history;ue.undone.length=0;var Be=+new Date,ct,Dt;if((ue.lastOp==re||ue.lastOrigin==F.origin&&F.origin&&(F.origin.charAt(0)=="+"&&ue.lastModTime>Be-(O.cm?O.cm.options.historyEventDelay:500)||F.origin.charAt(0)=="*"))&&(ct=No(ue,ue.lastOp==re)))Dt=Le(ct.changes),St(F.from,F.to)==0&&St(F.from,Dt.to)==0?Dt.to=ze(F):ct.changes.push(Ja(O,F));else{var zt=Le(ue.done);for((!zt||!zt.ranges)&&Ro(O.sel,ue.done),ct={changes:[Ja(O,F)],generation:ue.generation},ue.done.push(ct);ue.done.length>ue.undoDepth;)ue.done.shift(),ue.done[0].ranges||ue.done.shift()}ue.done.push(q),ue.generation=++ue.maxGeneration,ue.lastModTime=ue.lastSelTime=Be,ue.lastOp=ue.lastSelOp=re,ue.lastOrigin=ue.lastSelOrigin=F.origin,Dt||nt(O,"historyAdded")}function Do(O,F,q,re){var ue=F.charAt(0);return ue=="*"||ue=="+"&&q.ranges.length==re.ranges.length&&q.somethingSelected()==re.somethingSelected()&&new Date-O.history.lastSelTime<=(O.cm?O.cm.options.historyEventDelay:500)}function za(O,F,q,re){var ue=O.history,Be=re&&re.origin;q==ue.lastSelOp||Be&&ue.lastSelOrigin==Be&&(ue.lastModTime==ue.lastSelTime&&ue.lastOrigin==Be||Do(O,Be,Le(ue.done),F))?ue.done[ue.done.length-1]=F:Ro(F,ue.done),ue.lastSelTime=+new Date,ue.lastSelOrigin=Be,ue.lastSelOp=q,re&&re.clearRedo!==!1&&to(ue.undone)}function Ro(O,F){var q=Le(F);q&&q.ranges&&q.equals(O)||F.push(O)}function ls(O,F,q,re){var ue=F["spans_"+O.id],Be=0;O.iter(Math.max(O.first,q),Math.min(O.first+O.size,re),function(ct){ct.markedSpans&&((ue||(ue=F["spans_"+O.id]={}))[Be]=ct.markedSpans),++Be})}function wo(O){if(!O)return null;for(var F,q=0;q<O.length;++q)O[q].marker.explicitlyCleared?F||(F=O.slice(0,q)):F&&F.push(O[q]);return F?F.length?F:null:O}function So(O,F){var q=F["spans_"+O.id];if(!q)return null;for(var re=[],ue=0;ue<F.text.length;++ue)re.push(wo(q[ue]));return re}function fs(O,F){var q=So(O,F),re=gr(O,F);if(!q)return re;if(!re)return q;for(var ue=0;ue<q.length;++ue){var Be=q[ue],ct=re[ue];if(Be&&ct){e:for(var Dt=0;Dt<ct.length;++Dt){for(var zt=ct[Dt],Qt=0;Qt<Be.length;++Qt)if(Be[Qt].marker==zt.marker)continue e;Be.push(zt)}}else ct&&(q[ue]=ct)}return q}function Cs(O,F,q){for(var re=[],ue=0;ue<O.length;++ue){var Be=O[ue];if(Be.ranges){re.push(q?dt.prototype.deepCopy.call(Be):Be);continue}var ct=Be.changes,Dt=[];re.push({changes:Dt});for(var zt=0;zt<ct.length;++zt){var Qt=ct[zt],Mr=void 0;if(Dt.push({from:Qt.from,to:Qt.to,text:Qt.text}),F)for(var tn in Qt)(Mr=tn.match(/^spans_(\d+)$/))&&(V(F,Number(Mr[1]))>-1&&(Le(Dt)[tn]=Qt[tn],delete Qt[tn]))}}return re}function qo(O,F,q,re){if(re){var ue=O.anchor;if(q){var Be=St(F,ue)<0;Be!=St(q,ue)<0?(ue=F,F=q):Be!=St(F,q)<0&&(F=q)}return new ce(ue,F)}else return new ce(q||F,F)}function xo(O,F,q,re,ue){ue==null&&(ue=O.cm&&(O.cm.display.shift||O.extend)),Mo(O,new dt([qo(O.sel.primary(),F,q,ue)],0),re)}function zs(O,F,q){for(var re=[],ue=O.cm&&(O.cm.display.shift||O.extend),Be=0;Be<O.sel.ranges.length;Be++)re[Be]=qo(O.sel.ranges[Be],F[Be],null,ue);var ct=ve(O.cm,re,O.sel.primIndex);Mo(O,ct,q)}function ps(O,F,q,re){var ue=O.sel.ranges.slice(0);ue[F]=q,Mo(O,ve(O.cm,ue,O.sel.primIndex),re)}function ll(O,F,q,re){Mo(O,_e(F,q),re)}function cl(O,F,q){var re={ranges:F.ranges,update:function(Be){this.ranges=[];for(var ct=0;ct<Be.length;ct++)this.ranges[ct]=new ce(Bt(O,Be[ct].anchor),Bt(O,Be[ct].head))},origin:q&&q.origin};return nt(O,"beforeSelectionChange",O,re),O.cm&&nt(O.cm,"beforeSelectionChange",O.cm,re),re.ranges!=F.ranges?ve(O.cm,re.ranges,re.ranges.length-1):F}function Ts(O,F,q){var re=O.history.done,ue=Le(re);ue&&ue.ranges?(re[re.length-1]=F,Ki(O,F,q)):Mo(O,F,q)}function Mo(O,F,q){Ki(O,F,q),za(O,O.sel,O.cm?O.cm.curOp.id:NaN,q)}function Ki(O,F,q){(Ct(O,"beforeSelectionChange")||O.cm&&Ct(O.cm,"beforeSelectionChange"))&&(F=cl(O,F,q));var re=q&&q.bias||(St(F.primary().head,O.sel.primary().head)<0?-1:1);Ws(O,Ss(O,F,re,!0)),!(q&&q.scroll===!1)&&O.cm&&Qa(O.cm)}function Ws(O,F){if(F.equals(O.sel))return;O.sel=F,O.cm&&(O.cm.curOp.updateInput=1,O.cm.curOp.selectionChanged=!0,Tt(O.cm)),ni(O,"cursorActivity",O)}function nl(O){Ws(O,Ss(O,O.sel,null,!1))}function Ss(O,F,q,re){for(var ue,Be=0;Be<F.ranges.length;Be++){var ct=F.ranges[Be],Dt=F.ranges.length==O.sel.ranges.length&&O.sel.ranges[Be],zt=ml(O,ct.anchor,Dt&&Dt.anchor,q,re),Qt=ml(O,ct.head,Dt&&Dt.head,q,re);(ue||zt!=ct.anchor||Qt!=ct.head)&&(ue||(ue=F.ranges.slice(0,Be)),ue[Be]=new ce(zt,Qt))}return ue?ve(O.cm,ue,F.primIndex):F}function ts(O,F,q,re,ue){var Be=je(O,F.line);if(Be.markedSpans)for(var ct=0;ct<Be.markedSpans.length;++ct){var Dt=Be.markedSpans[ct],zt=Dt.marker,Qt="selectLeft"in zt?!zt.selectLeft:zt.inclusiveLeft,Mr="selectRight"in zt?!zt.selectRight:zt.inclusiveRight;if((Dt.from==null||(Qt?Dt.from<=F.ch:Dt.from<F.ch))&&(Dt.to==null||(Mr?Dt.to>=F.ch:Dt.to>F.ch))){if(ue&&(nt(zt,"beforeCursorEnter"),zt.explicitlyCleared))if(Be.markedSpans){--ct;continue}else break;if(!zt.atomic)continue;if(q){var tn=zt.find(re<0?1:-1),mn=void 0;if((re<0?Mr:Qt)&&(tn=il(O,tn,-re,tn&&tn.line==F.line?Be:null)),tn&&tn.line==F.line&&(mn=St(tn,q))&&(re<0?mn<0:mn>0))return ts(O,tn,F,re,ue)}var wn=zt.find(re<0?-1:1);return(re<0?Qt:Mr)&&(wn=il(O,wn,re,wn.line==F.line?Be:null)),wn?ts(O,wn,F,re,ue):null}}return F}function ml(O,F,q,re,ue){var Be=re||1,ct=ts(O,F,q,Be,ue)||!ue&&ts(O,F,q,Be,!0)||ts(O,F,q,-Be,ue)||!ue&&ts(O,F,q,-Be,!0);return ct||(O.cantEdit=!0,Kt(O.first,0))}function il(O,F,q,re){return q<0&&F.ch==0?F.line>O.first?Bt(O,Kt(F.line-1)):null:q>0&&F.ch==(re||je(O,F.line)).text.length?F.line<O.first+O.size-1?Kt(F.line+1,0):null:new Kt(F.line,F.ch+q)}function Ns(O){O.setSelection(Kt(O.firstLine(),0),Kt(O.lastLine()),se)}function Us(O,F,q){var re={canceled:!1,from:F.from,to:F.to,text:F.text,origin:F.origin,cancel:function(){return re.canceled=!0}};return q&&(re.update=function(ue,Be,ct,Dt){ue&&(re.from=Bt(O,ue)),Be&&(re.to=Bt(O,Be)),ct&&(re.text=ct),Dt!==void 0&&(re.origin=Dt)}),nt(O,"beforeChange",O,re),O.cm&&nt(O.cm,"beforeChange",O.cm,re),re.canceled?(O.cm&&(O.cm.curOp.updateInput=2),null):{from:re.from,to:re.to,text:re.text,origin:re.origin}}function Ds(O,F,q){if(O.cm){if(!O.cm.curOp)return Lo(O.cm,Ds)(O,F,q);if(O.cm.state.suppressEdits)return}if((Ct(O,"beforeChange")||O.cm&&Ct(O.cm,"beforeChange"))&&(F=Us(O,F,!0),!F))return;var re=Ze&&!q&&Sr(O,F.from,F.to);if(re)for(var ue=re.length-1;ue>=0;--ue)Rs(O,{from:re[ue].from,to:re[ue].to,text:ue?[""]:F.text,origin:F.origin});else Rs(O,F)}function Rs(O,F){if(F.text.length==1&&F.text[0]==""&&St(F.from,F.to)==0)return;var q=Pt(O,F);oo(O,F,q,O.cm?O.cm.curOp.id:NaN),Qs(O,F,q,gr(O,F));var re=[];Ai(O,function(ue,Be){!Be&&V(re,ue.history)==-1&&(ea(ue.history,F),re.push(ue.history)),Qs(ue,F,null,gr(ue,F))})}function ul(O,F,q){var re=O.cm&&O.cm.state.suppressEdits;if(re&&!q)return;for(var ue=O.history,Be,ct=O.sel,Dt=F=="undo"?ue.done:ue.undone,zt=F=="undo"?ue.undone:ue.done,Qt=0;Qt<Dt.length&&!(Be=Dt[Qt],q?Be.ranges&&!Be.equals(O.sel):!Be.ranges);Qt++);if(Qt==Dt.length)return;for(ue.lastOrigin=ue.lastSelOrigin=null;;)if(Be=Dt.pop(),Be.ranges){if(Ro(Be,zt),q&&!Be.equals(O.sel)){Mo(O,Be,{clearRedo:!1});return}ct=Be}else if(re){Dt.push(Be);return}else break;var Mr=[];Ro(ct,zt),zt.push({changes:Mr,generation:ue.generation}),ue.generation=Be.generation||++ue.maxGeneration;for(var tn=Ct(O,"beforeChange")||O.cm&&Ct(O.cm,"beforeChange"),mn=function(Fi){var Di=Be.changes[Fi];if(Di.origin=F,tn&&!Us(O,Di,!1))return Dt.length=0,{};Mr.push(Ja(O,Di));var Ii=Fi?Pt(O,Di):Le(Dt);Qs(O,Di,Ii,fs(O,Di)),!Fi&&O.cm&&O.cm.scrollIntoView({from:Di.from,to:ze(Di)});var Gi=[];Ai(O,function(ia,Wa){!Wa&&V(Gi,ia.history)==-1&&(ea(ia.history,Di),Gi.push(ia.history)),Qs(ia,Di,null,fs(ia,Di))})},wn=Be.changes.length-1;wn>=0;--wn){var ri=mn(wn);if(ri)return ri.v}}function Fs(O,F){if(F==0)return;if(O.first+=F,O.sel=new dt(He(O.sel.ranges,function(ue){return new ce(Kt(ue.anchor.line+F,ue.anchor.ch),Kt(ue.head.line+F,ue.head.ch))}),O.sel.primIndex),O.cm){ba(O.cm,O.first,O.first-F,F);for(var q=O.cm.display,re=q.viewFrom;re<q.viewTo;re++)Oi(O.cm,re,"gutter")}}function Qs(O,F,q,re){if(O.cm&&!O.cm.curOp)return Lo(O.cm,Qs)(O,F,q,re);if(F.to.line<O.first){Fs(O,F.text.length-1-(F.to.line-F.from.line));return}if(F.from.line>O.lastLine())return;if(F.from.line<O.first){var ue=F.text.length-1-(O.first-F.from.line);Fs(O,ue),F={from:Kt(O.first,0),to:Kt(F.to.line+ue,F.to.ch),text:[Le(F.text)],origin:F.origin}}var Be=O.lastLine();F.to.line>Be&&(F={from:F.from,to:Kt(Be,je(O,Be).text.length),text:[F.text[0]],origin:F.origin}),F.removed=Ye(O,F.from,F.to),q||(q=Pt(O,F)),O.cm?Ys(O.cm,F,re):ti(O,F,re),Ki(O,q,se),O.cantEdit&&ml(O,Kt(O.firstLine(),0))&&(O.cantEdit=!1)}function Ys(O,F,q){var re=O.doc,ue=O.display,Be=F.from,ct=F.to,Dt=!1,zt=Be.line;O.options.lineWrapping||(zt=$t(rn(je(re,Be.line))),re.iter(zt,ct.line+1,function(wn){if(wn==ue.maxLine)return Dt=!0,!0})),re.sel.contains(F.from,F.to)>-1&&Tt(O),ti(re,F,q,Ao(O)),O.options.lineWrapping||(re.iter(zt,Be.line+F.text.length,function(wn){var ri=gi(wn);ri>ue.maxLineLength&&(ue.maxLine=wn,ue.maxLineLength=ri,ue.maxLineChanged=!0,Dt=!1)}),Dt&&(O.curOp.updateMaxLine=!0)),Me(re,Be.line),jo(O,400);var Qt=F.text.length-(ct.line-Be.line)-1;F.full?ba(O):Be.line==ct.line&&F.text.length==1&&!Tn(O.doc,F)?Oi(O,Be.line,"text"):ba(O,Be.line,ct.line+1,Qt);var Mr=Ct(O,"changes"),tn=Ct(O,"change");if(tn||Mr){var mn={from:Be,to:ct,text:F.text,removed:F.removed,origin:F.origin};tn&&ni(O,"change",O,mn),Mr&&(O.curOp.changeObjs||(O.curOp.changeObjs=[])).push(mn)}O.display.selForContextMenu=null}function Zs(O,F,q,re,ue){var Be;re||(re=q),St(re,q)<0&&(Be=[re,q],q=Be[0],re=Be[1]),typeof F=="string"&&(F=O.splitLines(F)),Ds(O,{from:q,to:re,text:F,origin:ue})}function xa(O,F,q,re){q<O.line?O.line+=re:F<O.line&&(O.line=F,O.ch=0)}function Li(O,F,q,re){for(var ue=0;ue<O.length;++ue){var Be=O[ue],ct=!0;if(Be.ranges){Be.copied||(Be=O[ue]=Be.deepCopy(),Be.copied=!0);for(var Dt=0;Dt<Be.ranges.length;Dt++)xa(Be.ranges[Dt].anchor,F,q,re),xa(Be.ranges[Dt].head,F,q,re);continue}for(var zt=0;zt<Be.changes.length;++zt){var Qt=Be.changes[zt];if(q<Qt.from.line)Qt.from=Kt(Qt.from.line+re,Qt.from.ch),Qt.to=Kt(Qt.to.line+re,Qt.to.ch);else if(F<=Qt.to.line){ct=!1;break}}ct||(O.splice(0,ue+1),ue=0)}}function ea(O,F){var q=F.from.line,re=F.to.line,ue=F.text.length-(re-q)-1;Li(O.done,q,re,ue),Li(O.undone,q,re,ue)}function Ca(O,F,q,re){var ue=F,Be=F;return typeof F=="number"?Be=je(O,$r(O,F)):ue=$t(F),ue==null?null:(re(Be,ue)&&O.cm&&Oi(O.cm,ue,q),Be)}function go(O){this.lines=O,this.parent=null;for(var F=0,q=0;q<O.length;++q)O[q].parent=this,F+=O[q].height;this.height=F}go.prototype={chunkSize:function(){return this.lines.length},removeInner:function(F,q){for(var re=F,ue=F+q;re<ue;++re){var Be=this.lines[re];this.height-=Be.height,xr(Be),ni(Be,"delete")}this.lines.splice(F,q)},collapse:function(F){F.push.apply(F,this.lines)},insertInner:function(F,q,re){this.height+=re,this.lines=this.lines.slice(0,F).concat(q).concat(this.lines.slice(F));for(var ue=0;ue<q.length;++ue)q[ue].parent=this},iterN:function(F,q,re){for(var ue=F+q;F<ue;++F)if(re(this.lines[F]))return!0}};function js(O){this.children=O;for(var F=0,q=0,re=0;re<O.length;++re){var ue=O[re];F+=ue.chunkSize(),q+=ue.height,ue.parent=this}this.size=F,this.height=q,this.parent=null}js.prototype={chunkSize:function(){return this.size},removeInner:function(F,q){this.size-=q;for(var re=0;re<this.children.length;++re){var ue=this.children[re],Be=ue.chunkSize();if(F<Be){var ct=Math.min(q,Be-F),Dt=ue.height;if(ue.removeInner(F,ct),this.height-=Dt-ue.height,Be==ct&&(this.children.splice(re--,1),ue.parent=null),(q-=ct)==0)break;F=0}else F-=Be}if(this.size-q<25&&(this.children.length>1||!(this.children[0]instanceof go))){var zt=[];this.collapse(zt),this.children=[new go(zt)],this.children[0].parent=this}},collapse:function(F){for(var q=0;q<this.children.length;++q)this.children[q].collapse(F)},insertInner:function(F,q,re){this.size+=q.length,this.height+=re;for(var ue=0;ue<this.children.length;++ue){var Be=this.children[ue],ct=Be.chunkSize();if(F<=ct){if(Be.insertInner(F,q,re),Be.lines&&Be.lines.length>50){for(var Dt=Be.lines.length%25+25,zt=Dt;zt<Be.lines.length;){var Qt=new go(Be.lines.slice(zt,zt+=25));Be.height-=Qt.height,this.children.splice(++ue,0,Qt),Qt.parent=this}Be.lines=Be.lines.slice(0,Dt),this.maybeSpill()}break}F-=ct}},maybeSpill:function(){if(this.children.length<=10)return;var F=this;do{var q=F.children.splice(F.children.length-5,5),re=new js(q);if(F.parent){F.size-=re.size,F.height-=re.height;var Be=V(F.parent.children,F);F.parent.children.splice(Be+1,0,re)}else{var ue=new js(F.children);ue.parent=F,F.children=[ue,re],F=ue}re.parent=F.parent}while(F.children.length>10);F.parent.maybeSpill()},iterN:function(F,q,re){for(var ue=0;ue<this.children.length;++ue){var Be=this.children[ue],ct=Be.chunkSize();if(F<ct){var Dt=Math.min(q,ct-F);if(Be.iterN(F,Dt,re))return!0;if((q-=Dt)==0)break;F=0}else F-=ct}}};var Is=function(F,q,re){if(re)for(var ue in re)re.hasOwnProperty(ue)&&(this[ue]=re[ue]);this.doc=F,this.node=q};Is.prototype.clear=function(){var O=this.doc.cm,F=this.line.widgets,q=this.line,re=$t(q);if(re==null||!F)return;for(var ue=0;ue<F.length;++ue)F[ue]==this&&F.splice(ue--,1);F.length||(q.widgets=null);var Be=Kr(this);kt(q,Math.max(0,q.height-Be)),O&&(Uo(O,function(){Vs(O,q,-Be),Oi(O,re,"widget")}),ni(O,"lineWidgetCleared",O,this,re))},Is.prototype.changed=function(){var O=this,F=this.height,q=this.doc.cm,re=this.line;this.height=null;var ue=Kr(this)-F;if(!ue)return;Hn(this.doc,re)||kt(re,re.height+ue),q&&Uo(q,function(){q.curOp.forceUpdate=!0,Vs(q,re,ue),ni(q,"lineWidgetChanged",q,O,$t(re))})},Nt(Is);function Vs(O,F,q){Un(F)<(O.curOp&&O.curOp.scrollTop||O.doc.scrollTop)&&Yi(O,q)}function Js(O,F,q,re){var ue=new Is(O,q,re),Be=O.cm;return Be&&ue.noHScroll&&(Be.display.alignWidgets=!0),Ca(O,F,"widget",function(ct){var Dt=ct.widgets||(ct.widgets=[]);if(ue.insertAt==null?Dt.push(ue):Dt.splice(Math.min(Dt.length-1,Math.max(0,ue.insertAt)),0,ue),ue.line=ct,Be&&!Hn(O,ct)){var zt=Un(ct)<O.scrollTop;kt(ct,ct.height+Kr(ue)),zt&&Yi(Be,ue.height),Be.curOp.forceUpdate=!0}return!0}),Be&&ni(Be,"lineWidgetAdded",Be,ue,typeof F=="number"?F:$t(F)),ue}var gl=0,Bs=function(F,q){this.lines=[],this.type=q,this.doc=F,this.id=++gl};Bs.prototype.clear=function(){if(this.explicitlyCleared)return;var O=this.doc.cm,F=O&&!O.curOp;if(F&&$a(O),Ct(this,"clear")){var q=this.find();q&&ni(this,"clear",q.from,q.to)}for(var re=null,ue=null,Be=0;Be<this.lines.length;++Be){var ct=this.lines[Be],Dt=Vt(ct.markedSpans,this);O&&!this.collapsed?Oi(O,$t(ct),"text"):O&&(Dt.to!=null&&(ue=$t(ct)),Dt.from!=null&&(re=$t(ct))),ct.markedSpans=dr(ct.markedSpans,Dt),Dt.from==null&&this.collapsed&&!Hn(this.doc,ct)&&O&&kt(ct,Fa(O.display))}if(O&&this.collapsed&&!O.options.lineWrapping)for(var zt=0;zt<this.lines.length;++zt){var Qt=rn(this.lines[zt]),Mr=gi(Qt);Mr>O.display.maxLineLength&&(O.display.maxLine=Qt,O.display.maxLineLength=Mr,O.display.maxLineChanged=!0)}re!=null&&O&&this.collapsed&&ba(O,re,ue+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,re,ue),F&&Na(O),this.parent&&this.parent.clear()},Bs.prototype.find=function(O,F){O==null&&this.type=="bookmark"&&(O=1);for(var q,re,ue=0;ue<this.lines.length;++ue){var Be=this.lines[ue],ct=Vt(Be.markedSpans,this);if(ct.from!=null&&(q=Kt(F?Be:$t(Be),ct.from),O==-1))return q;if(ct.to!=null&&(re=Kt(F?Be:$t(Be),ct.to),O==1))return re}return q&&{from:q,to:re}},Bs.prototype.changed=function(){var O=this,F=this.find(-1,!0),q=this,re=this.doc.cm;if(!F||!re)return;Uo(re,function(){var ue=F.line,Be=$t(F.line),ct=si(re,Be);if(ct&&(Mi(ct),re.curOp.selectionChanged=re.curOp.forceUpdate=!0),re.curOp.updateMaxLine=!0,!Hn(q.doc,ue)&&q.height!=null){var Dt=q.height;q.height=null;var zt=Kr(q)-Dt;zt&&kt(ue,ue.height+zt)}ni(re,"markerChanged",re,O)})},Bs.prototype.attachLine=function(O){if(!this.lines.length&&this.doc.cm){var F=this.doc.cm.curOp;(!F.maybeHiddenMarkers||V(F.maybeHiddenMarkers,this)==-1)&&(F.maybeUnhiddenMarkers||(F.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(O)},Bs.prototype.detachLine=function(O){if(this.lines.splice(V(this.lines,O),1),!this.lines.length&&this.doc.cm){var F=this.doc.cm.curOp;(F.maybeHiddenMarkers||(F.maybeHiddenMarkers=[])).push(this)}},Nt(Bs);function ys(O,F,q,re,ue){if(re&&re.shared)return kc(O,F,q,re,ue);if(O.cm&&!O.cm.curOp)return Lo(O.cm,ys)(O,F,q,re,ue);var Be=new Bs(O,ue),ct=St(F,q);if(re&&K(re,Be,!1),ct>0||ct==0&&Be.clearWhenEmpty!==!1)return Be;if(Be.replacedWith&&(Be.collapsed=!0,Be.widgetNode=D("span",[Be.replacedWith],"CodeMirror-widget"),re.handleMouseEvents||Be.widgetNode.setAttribute("cm-ignore-events","true"),re.insertLeft&&(Be.widgetNode.insertLeft=!0)),Be.collapsed){if(mi(O,F.line,F,q,Be)||F.line!=q.line&&mi(O,q.line,F,q,Be))throw new Error("Inserting collapsed marker partially overlapping an existing one");mt()}Be.addToHistory&&oo(O,{from:F,to:q,origin:"markText"},O.sel,NaN);var Dt=F.line,zt=O.cm,Qt;if(O.iter(Dt,q.line+1,function(tn){zt&&Be.collapsed&&!zt.options.lineWrapping&&rn(tn)==zt.display.maxLine&&(Qt=!0),Be.collapsed&&Dt!=F.line&&kt(tn,0),tr(tn,new ht(Be,Dt==F.line?F.ch:null,Dt==q.line?q.ch:null)),++Dt}),Be.collapsed&&O.iter(F.line,q.line+1,function(tn){Hn(O,tn)&&kt(tn,0)}),Be.clearOnEnter&&Oe(Be,"beforeCursorEnter",function(){return Be.clear()}),Be.readOnly&&(qe(),(O.history.done.length||O.history.undone.length)&&O.clearHistory()),Be.collapsed&&(Be.id=++gl,Be.atomic=!0),zt){if(Qt&&(zt.curOp.updateMaxLine=!0),Be.collapsed)ba(zt,F.line,q.line+1);else if(Be.className||Be.startStyle||Be.endStyle||Be.css||Be.attributes||Be.title)for(var Mr=F.line;Mr<=q.line;Mr++)Oi(zt,Mr,"text");Be.atomic&&nl(zt.doc),ni(zt,"markerAdded",zt,Be)}return Be}var Ul=function(F,q){this.markers=F,this.primary=q;for(var re=0;re<F.length;++re)F[re].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,F){return this.primary.find(O,F)},Nt(Ul);function kc(O,F,q,re,ue){re=K(re),re.shared=!1;var Be=[ys(O,F,q,re,ue)],ct=Be[0],Dt=re.widgetNode;return Ai(O,function(zt){Dt&&(re.widgetNode=Dt.cloneNode(!0)),Be.push(ys(zt,Bt(zt,F),Bt(zt,q),re,ue));for(var Qt=0;Qt<zt.linked.length;++Qt)if(zt.linked[Qt].isParent)return;ct=Le(Be)}),new Ul(Be,ct)}function wc(O){return O.findMarks(Kt(O.first,0),O.clipPos(Kt(O.lastLine())),function(F){return F.parent})}function Mc(O,F){for(var q=0;q<F.length;q++){var re=F[q],ue=re.find(),Be=O.clipPos(ue.from),ct=O.clipPos(ue.to);if(St(Be,ct)){var Dt=ys(O,Be,ct,re.primary,re.primary.type);re.markers.push(Dt),Dt.parent=re}}}function Pc(O){for(var F=function(ue){var Be=O[ue],ct=[Be.primary.doc];Ai(Be.primary.doc,function(Qt){return ct.push(Qt)});for(var Dt=0;Dt<Be.markers.length;Dt++){var zt=Be.markers[Dt];V(ct,zt.doc)==-1&&(zt.parent=null,Be.markers.splice(Dt--,1))}},q=0;q<O.length;q++)F(q)}var Dl=0,$s=function O(F,q,re,ue,Be){if(!(this instanceof O))return new O(F,q,re,ue,Be);re==null&&(re=0),js.call(this,[new go([new di("",null)])]),this.first=re,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=re;var ct=Kt(re,0);this.sel=_e(ct),this.history=new Ua(null),this.id=++Dl,this.modeOption=q,this.lineSep=ue,this.direction=Be=="rtl"?"rtl":"ltr",this.extend=!1,typeof F=="string"&&(F=this.splitLines(F)),ti(this,{from:ct,to:ct,text:F}),Mo(this,_e(ct),se)};$s.prototype=We(js.prototype,{constructor:$s,iter:function(F,q,re){re?this.iterN(F-this.first,q-F,re):this.iterN(this.first,this.first+this.size,F)},insert:function(F,q){for(var re=0,ue=0;ue<q.length;++ue)re+=q[ue].height;this.insertInner(F-this.first,q,re)},remove:function(F,q){this.removeInner(F-this.first,q)},getValue:function(F){var q=st(this,this.first,this.first+this.size);return F===!1?q:q.join(F||this.lineSeparator())},setValue:Ko(function(O){var F=Kt(this.first,0),q=this.first+this.size-1;Ds(this,{from:F,to:Kt(q,je(this,q).text.length),text:this.splitLines(O),origin:"setValue",full:!0},!0),this.cm&&Fo(this.cm,0,0),Mo(this,_e(F),se)}),replaceRange:function(F,q,re,ue){q=Bt(this,q),re=re?Bt(this,re):q,Zs(this,F,q,re,ue)},getRange:function(F,q,re){var ue=Ye(this,Bt(this,F),Bt(this,q));return re===!1?ue:ue.join(re||this.lineSeparator())},getLine:function(F){var q=this.getLineHandle(F);return q&&q.text},getLineHandle:function(F){if(yn(this,F))return je(this,F)},getLineNumber:function(F){return $t(F)},getLineHandleVisualStart:function(F){return typeof F=="number"&&(F=je(this,F)),rn(F)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(F){return Bt(this,F)},getCursor:function(F){var q=this.sel.primary(),re;return F==null||F=="head"?re=q.head:F=="anchor"?re=q.anchor:F=="end"||F=="to"||F===!1?re=q.to():re=q.from(),re},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ko(function(O,F,q){ll(this,Bt(this,typeof O=="number"?Kt(O,F||0):O),null,q)}),setSelection:Ko(function(O,F,q){ll(this,Bt(this,O),Bt(this,F||O),q)}),extendSelection:Ko(function(O,F,q){xo(this,Bt(this,O),F&&Bt(this,F),q)}),extendSelections:Ko(function(O,F){zs(this,Cr(this,O),F)}),extendSelectionsBy:Ko(function(O,F){var q=He(this.sel.ranges,O);zs(this,Cr(this,q),F)}),setSelections:Ko(function(O,F,q){if(!O.length)return;for(var re=[],ue=0;ue<O.length;ue++)re[ue]=new ce(Bt(this,O[ue].anchor),Bt(this,O[ue].head));F==null&&(F=Math.min(O.length-1,this.sel.primIndex)),Mo(this,ve(this.cm,re,F),q)}),addSelection:Ko(function(O,F,q){var re=this.sel.ranges.slice(0);re.push(new ce(Bt(this,O),Bt(this,F||O))),Mo(this,ve(this.cm,re,re.length-1),q)}),getSelection:function(F){for(var q=this.sel.ranges,re,ue=0;ue<q.length;ue++){var Be=Ye(this,q[ue].from(),q[ue].to());re=re?re.concat(Be):Be}return F===!1?re:re.join(F||this.lineSeparator())},getSelections:function(F){for(var q=[],re=this.sel.ranges,ue=0;ue<re.length;ue++){var Be=Ye(this,re[ue].from(),re[ue].to());F!==!1&&(Be=Be.join(F||this.lineSeparator())),q[ue]=Be}return q},replaceSelection:function(F,q,re){for(var ue=[],Be=0;Be<this.sel.ranges.length;Be++)ue[Be]=F;this.replaceSelections(ue,q,re||"+input")},replaceSelections:Ko(function(O,F,q){for(var re=[],ue=this.sel,Be=0;Be<ue.ranges.length;Be++){var ct=ue.ranges[Be];re[Be]={from:ct.from(),to:ct.to(),text:this.splitLines(O[Be]),origin:q}}for(var Dt=F&&F!="end"&&wr(this,re,F),zt=re.length-1;zt>=0;zt--)Ds(this,re[zt]);Dt?Ts(this,Dt):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(F){this.extend=F},getExtending:function(){return this.extend},historySize:function(){for(var F=this.history,q=0,re=0,ue=0;ue<F.done.length;ue++)F.done[ue].ranges||++q;for(var Be=0;Be<F.undone.length;Be++)F.undone[Be].ranges||++re;return{undo:q,redo:re}},clearHistory:function(){var F=this;this.history=new Ua(this.history.maxGeneration),Ai(this,function(q){return q.history=F.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(F){return F&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(F){return this.history.generation==(F||this.cleanGeneration)},getHistory:function(){return{done:Cs(this.history.done),undone:Cs(this.history.undone)}},setHistory:function(F){var q=this.history=new Ua(this.history.maxGeneration);q.done=Cs(F.done.slice(0),null,!0),q.undone=Cs(F.undone.slice(0),null,!0)},setGutterMarker:Ko(function(O,F,q){return Ca(this,O,"gutter",function(re){var ue=re.gutterMarkers||(re.gutterMarkers={});return ue[F]=q,!q&&Z(ue)&&(re.gutterMarkers=null),!0})}),clearGutter:Ko(function(O){var F=this;this.iter(function(q){q.gutterMarkers&&q.gutterMarkers[O]&&Ca(F,q,"gutter",function(){return q.gutterMarkers[O]=null,Z(q.gutterMarkers)&&(q.gutterMarkers=null),!0})})}),lineInfo:function(F){var q;if(typeof F=="number"){if(!yn(this,F))return null;if(q=F,F=je(this,F),!F)return null}else if(q=$t(F),q==null)return null;return{line:q,handle:F,text:F.text,gutterMarkers:F.gutterMarkers,textClass:F.textClass,bgClass:F.bgClass,wrapClass:F.wrapClass,widgets:F.widgets}},addLineClass:Ko(function(O,F,q){return Ca(this,O,F=="gutter"?"gutter":"class",function(re){var ue=F=="text"?"textClass":F=="background"?"bgClass":F=="gutter"?"gutterClass":"wrapClass";if(!re[ue])re[ue]=q;else{if(T(q).test(re[ue]))return!1;re[ue]+=" "+q}return!0})}),removeLineClass:Ko(function(O,F,q){return Ca(this,O,F=="gutter"?"gutter":"class",function(re){var ue=F=="text"?"textClass":F=="background"?"bgClass":F=="gutter"?"gutterClass":"wrapClass",Be=re[ue];if(Be)if(q==null)re[ue]=null;else{var ct=Be.match(T(q));if(!ct)return!1;var Dt=ct.index+ct[0].length;re[ue]=Be.slice(0,ct.index)+(!ct.index||Dt==Be.length?"":" ")+Be.slice(Dt)||null}else return!1;return!0})}),addLineWidget:Ko(function(O,F,q){return Js(this,O,F,q)}),removeLineWidget:function(F){F.clear()},markText:function(F,q,re){return ys(this,Bt(this,F),Bt(this,q),re,re&&re.type||"range")},setBookmark:function(F,q){var re={replacedWith:q&&(q.nodeType==null?q.widget:q),insertLeft:q&&q.insertLeft,clearWhenEmpty:!1,shared:q&&q.shared,handleMouseEvents:q&&q.handleMouseEvents};return F=Bt(this,F),ys(this,F,F,re,"bookmark")},findMarksAt:function(F){F=Bt(this,F);var q=[],re=je(this,F.line).markedSpans;if(re)for(var ue=0;ue<re.length;++ue){var Be=re[ue];(Be.from==null||Be.from<=F.ch)&&(Be.to==null||Be.to>=F.ch)&&q.push(Be.marker.parent||Be.marker)}return q},findMarks:function(F,q,re){F=Bt(this,F),q=Bt(this,q);var ue=[],Be=F.line;return this.iter(F.line,q.line+1,function(ct){var Dt=ct.markedSpans;if(Dt)for(var zt=0;zt<Dt.length;zt++){var Qt=Dt[zt];!(Qt.to!=null&&Be==F.line&&F.ch>=Qt.to||Qt.from==null&&Be!=F.line||Qt.from!=null&&Be==q.line&&Qt.from>=q.ch)&&(!re||re(Qt.marker))&&ue.push(Qt.marker.parent||Qt.marker)}++Be}),ue},getAllMarks:function(){var F=[];return this.iter(function(q){var re=q.markedSpans;if(re)for(var ue=0;ue<re.length;++ue)re[ue].from!=null&&F.push(re[ue].marker)}),F},posFromIndex:function(F){var q,re=this.first,ue=this.lineSeparator().length;return this.iter(function(Be){var ct=Be.text.length+ue;if(ct>F)return q=F,!0;F-=ct,++re}),Bt(this,Kt(re,q))},indexFromPos:function(F){F=Bt(this,F);var q=F.ch;if(F.line<this.first||F.ch<0)return 0;var re=this.lineSeparator().length;return this.iter(this.first,F.line,function(ue){q+=ue.text.length+re}),q},copy:function(F){var q=new $s(st(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return q.scrollTop=this.scrollTop,q.scrollLeft=this.scrollLeft,q.sel=this.sel,q.extend=!1,F&&(q.history.undoDepth=this.history.undoDepth,q.setHistory(this.getHistory())),q},linkedDoc:function(F){F||(F={});var q=this.first,re=this.first+this.size;F.from!=null&&F.from>q&&(q=F.from),F.to!=null&&F.to<re&&(re=F.to);var ue=new $s(st(this,q,re),F.mode||this.modeOption,q,this.lineSep,this.direction);return F.sharedHist&&(ue.history=this.history),(this.linked||(this.linked=[])).push({doc:ue,sharedHist:F.sharedHist}),ue.linked=[{doc:this,isParent:!0,sharedHist:F.sharedHist}],Mc(ue,wc(this)),ue},unlinkDoc:function(F){if(F instanceof er&&(F=F.doc),this.linked)for(var q=0;q<this.linked.length;++q){var re=this.linked[q];if(re.doc!=F)continue;this.linked.splice(q,1),F.unlinkDoc(this),Pc(wc(this));break}if(F.history==this.history){var ue=[F.id];Ai(F,function(Be){return ue.push(Be.id)},!0),F.history=new Ua(null),F.history.done=Cs(this.history.done,ue),F.history.undone=Cs(this.history.undone,ue)}},iterLinkedDocs:function(F){Ai(this,F)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(F){return this.lineSep?F.split(this.lineSep):lr(F)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:Ko(function(O){if(O!="rtl"&&(O="ltr"),O==this.direction)return;this.direction=O,this.iter(function(F){return F.order=null}),this.cm&&na(this.cm)})}),$s.prototype.eachLine=$s.prototype.iter;var el=0;function dl(O){var F=this;if(lc(F),bt(F,O)||Dr(F.display,O))return;Ge(O),s&&(el=+new Date);var q=pa(F,O,!0),re=O.dataTransfer.files;if(!q||F.isReadOnly())return;if(re&&re.length&&window.FileReader&&window.File)for(var ue=re.length,Be=Array(ue),ct=0,Dt=function(){++ct==ue&&Lo(F,function(){q=Bt(F.doc,q);var ri={from:q,to:q,text:F.doc.splitLines(Be.filter(function(yi){return yi!=null}).join(F.doc.lineSeparator())),origin:"paste"};Ds(F.doc,ri),Ts(F.doc,_e(Bt(F.doc,q),Bt(F.doc,ze(ri))))})()},zt=function(ri,yi){if(F.options.allowDropFileTypes&&V(F.options.allowDropFileTypes,ri.type)==-1){Dt();return}var Fi=new FileReader;Fi.onerror=function(){return Dt()},Fi.onload=function(){var Di=Fi.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Di)){Dt();return}Be[yi]=Di,Dt()},Fi.readAsText(ri)},Qt=0;Qt<re.length;Qt++)zt(re[Qt],Qt);else{if(F.state.draggingText&&F.doc.sel.contains(q)>-1){F.state.draggingText(O),setTimeout(function(){return F.display.input.focus()},20);return}try{var Mr=O.dataTransfer.getData("Text");if(Mr){var tn;if(F.state.draggingText&&!F.state.draggingText.copy&&(tn=F.listSelections()),Ki(F.doc,_e(q,q)),tn)for(var mn=0;mn<tn.length;++mn)Zs(F.doc,"",tn[mn].anchor,tn[mn].head,"drag");F.replaceSelection(Mr,"around","paste"),F.display.input.focus()}}catch(wn){}}}function Vl(O,F){if(s&&(!O.state.draggingText||+new Date-el<100)){we(F);return}if(bt(O,F)||Dr(O.display,F))return;if(F.dataTransfer.setData("Text",O.getSelection()),F.dataTransfer.effectAllowed="copyMove",F.dataTransfer.setDragImage&&!n){var q=L("img",null,null,"position: fixed; left: 0; top: 0;");q.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",i&&(q.width=q.height=1,O.display.wrapper.appendChild(q),q._top=q.offsetTop),F.dataTransfer.setDragImage(q,0,0),i&&q.parentNode.removeChild(q)}}function ql(O,F){var q=pa(O,F);if(!q)return;var re=document.createDocumentFragment();yo(O,q,re),O.display.dragCursor||(O.display.dragCursor=L("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),O.display.lineSpace.insertBefore(O.display.dragCursor,O.display.cursorDiv)),I(O.display.dragCursor,re)}function 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 F=document.getElementsByClassName("CodeMirror"),q=[],re=0;re<F.length;re++){var ue=F[re].CodeMirror;ue&&q.push(ue)}q.length&&q[0].operation(function(){for(var Be=0;Be<q.length;Be++)O(q[Be])})}var Rl=!1;function cc(){if(Rl)return;$l(),Rl=!0}function $l(){var O;Oe(window,"resize",function(){O==null&&(O=setTimeout(function(){O=null,Xl(uc)},100))}),Oe(window,"blur",function(){return Xl(ns)})}function uc(O){var F=O.display;F.cachedCharWidth=F.cachedTextHeight=F.cachedPaddingH=null,F.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 Fl=65;Fl<=90;Fl++)Sl[Fl]=String.fromCharCode(Fl);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=f?Cl.macDefault:Cl.pcDefault;function Uc(O){var F=O.split(/-(?!$)/);O=F[F.length-1];for(var q,re,ue,Be,ct=0;ct<F.length-1;ct++){var Dt=F[ct];if(/^(cmd|meta|m)$/i.test(Dt))Be=!0;else if(/^a(lt)?$/i.test(Dt))q=!0;else if(/^(c|ctrl|control)$/i.test(Dt))re=!0;else if(/^s(hift)?$/i.test(Dt))ue=!0;else throw new Error("Unrecognized modifier name: "+Dt)}return q&&(O="Alt-"+O),re&&(O="Ctrl-"+O),Be&&(O="Cmd-"+O),ue&&(O="Shift-"+O),O}function Al(O){var F={};for(var q in O)if(O.hasOwnProperty(q)){var re=O[q];if(/^(name|fallthrough|(de|at)tach)$/.test(q))continue;if(re=="..."){delete O[q];continue}for(var ue=He(q.split(" "),Uc),Be=0;Be<ue.length;Be++){var ct=void 0,Dt=void 0;Be==ue.length-1?(Dt=ue.join(" "),ct=re):(Dt=ue.slice(0,Be+1).join(" "),ct="...");var zt=F[Dt];if(!zt)F[Dt]=ct;else if(zt!=ct)throw new Error("Inconsistent bindings for "+Dt)}delete O[q]}for(var Qt in F)O[Qt]=F[Qt];return O}function xl(O,F,q,re){F=Bl(F);var ue=F.call?F.call(O,re):F[O];if(ue===!1)return"nothing";if(ue==="...")return"multi";if(ue!=null&&q(ue))return"handled";if(F.fallthrough){if(Object.prototype.toString.call(F.fallthrough)!="[object Array]")return xl(O,F.fallthrough,q,re);for(var Be=0;Be<F.fallthrough.length;Be++){var ct=xl(O,F.fallthrough[Be],q,re);if(ct)return ct}}}function tc(O){var F=typeof O=="string"?O:Sl[O.keyCode];return F=="Ctrl"||F=="Alt"||F=="Shift"||F=="Mod"}function jc(O,F,q){var re=O;return F.altKey&&re!="Alt"&&(O="Alt-"+O),(E?F.metaKey:F.ctrlKey)&&re!="Ctrl"&&(O="Ctrl-"+O),(E?F.ctrlKey:F.metaKey)&&re!="Mod"&&(O="Cmd-"+O),!q&&F.shiftKey&&re!="Shift"&&(O="Shift-"+O),O}function dc(O,F){if(i&&O.keyCode==34&&O.char)return!1;var q=Sl[O.keyCode];return q==null||O.altGraphKey?!1:(O.keyCode==3&&O.code&&(q=O.code),jc(q,O,F))}function Bl(O){return typeof O=="string"?Cl[O]:O}function kl(O,F){for(var q=O.doc.sel.ranges,re=[],ue=0;ue<q.length;ue++){for(var Be=F(q[ue]);re.length&&St(Be.from,Le(re).to)<=0;){var ct=re.pop();if(St(ct.from,Be.from)<0){Be.from=ct.from;break}}re.push(Be)}Uo(O,function(){for(var Dt=re.length-1;Dt>=0;Dt--)Zs(O.doc,"",re[Dt].from,re[Dt].to,"+delete");Qa(O)})}function jl(O,F,q){var re=Ae(O.text,F+q,q);return re<0||re>O.text.length?null:re}function Sc(O,F,q){var re=jl(O,F.ch,q);return re==null?null:new Kt(F.line,re,q<0?"after":"before")}function xc(O,F,q,re,ue){if(O){F.doc.direction=="rtl"&&(ue=-ue);var Be=tt(q,F.doc.direction);if(Be){var ct=ue<0?Le(Be):Be[0],Dt=ue<0==(ct.level==1),zt=Dt?"after":"before",Qt;if(ct.level>0||F.doc.direction=="rtl"){var Mr=Ni(F,q);Qt=ue<0?q.text.length-1:0;var tn=qn(F,Mr,Qt).top;Qt=Ne(function(mn){return qn(F,Mr,mn).top==tn},ue<0==(ct.level==1)?ct.from:ct.to-1,Qt),zt=="before"&&(Qt=jl(q,Qt,1))}else Qt=ue<0?ct.to:ct.from;return new Kt(re,Qt,zt)}}return new Kt(re,ue<0?q.text.length:0,ue<0?"before":"after")}function hc(O,F,q,re){var ue=tt(F,O.doc.direction);if(!ue)return Sc(F,q,re);q.ch>=F.text.length?(q.ch=F.text.length,q.sticky="before"):q.ch<=0&&(q.ch=0,q.sticky="after");var Be=xe(ue,q.ch,q.sticky),ct=ue[Be];if(O.doc.direction=="ltr"&&ct.level%2==0&&(re>0?ct.to>q.ch:ct.from<q.ch))return Sc(F,q,re);var Dt=function(Ii,Gi){return jl(F,Ii instanceof Kt?Ii.ch:Ii,Gi)},zt,Qt=function(Ii){return O.options.lineWrapping?(zt=zt||Ni(O,F),Si(O,F,zt,Ii)):{begin:0,end:F.text.length}},Mr=Qt(q.sticky=="before"?Dt(q,-1):q.ch);if(O.doc.direction=="rtl"||ct.level==1){var tn=ct.level==1==re<0,mn=Dt(q,tn?1:-1);if(mn!=null&&(tn?mn<=ct.to&&mn<=Mr.end:mn>=ct.from&&mn>=Mr.begin)){var wn=tn?"before":"after";return new Kt(q.line,mn,wn)}}var ri=function(Ii,Gi,ia){for(var Wa=function(zo,ks){return ks?new Kt(q.line,Dt(zo,1),"before"):new Kt(q.line,zo,"after")};Ii>=0&&Ii<ue.length;Ii+=Gi){var La=ue[Ii],mo=Gi>0==(La.level!=1),Eo=mo?ia.begin:Dt(ia.end,-1);if(La.from<=Eo&&Eo<La.to)return Wa(Eo,mo);if(Eo=mo?La.from:Dt(La.to,-1),ia.begin<=Eo&&Eo<ia.end)return Wa(Eo,mo)}},yi=ri(Be+re,re,Mr);if(yi)return yi;var Fi=re>0?Mr.end:Dt(Mr.begin,-1);return Fi!=null&&!(re>0&&Fi==F.text.length)&&(yi=ri(re>0?0:ue.length-1,re,Qt(Fi)),yi)?yi:null}var Hl={selectAll:Ns,singleSelection:function(F){return F.setSelection(F.getCursor("anchor"),F.getCursor("head"),se)},killLine:function(F){return kl(F,function(q){if(q.empty()){var re=je(F.doc,q.head.line).text.length;return q.head.ch==re&&q.head.line<F.lastLine()?{from:q.head,to:Kt(q.head.line+1,0)}:{from:q.head,to:Kt(q.head.line,re)}}else return{from:q.from(),to:q.to()}})},deleteLine:function(F){return kl(F,function(q){return{from:Kt(q.from().line,0),to:Bt(F.doc,Kt(q.to().line+1,0))}})},delLineLeft:function(F){return kl(F,function(q){return{from:Kt(q.from().line,0),to:q.from()}})},delWrappedLineLeft:function(F){return kl(F,function(q){var re=F.charCoords(q.head,"div").top+5,ue=F.coordsChar({left:0,top:re},"div");return{from:ue,to:q.from()}})},delWrappedLineRight:function(F){return kl(F,function(q){var re=F.charCoords(q.head,"div").top+5,ue=F.coordsChar({left:F.display.lineDiv.offsetWidth+100,top:re},"div");return{from:q.from(),to:ue}})},undo:function(F){return F.undo()},redo:function(F){return F.redo()},undoSelection:function(F){return F.undoSelection()},redoSelection:function(F){return F.redoSelection()},goDocStart:function(F){return F.extendSelection(Kt(F.firstLine(),0))},goDocEnd:function(F){return F.extendSelection(Kt(F.lastLine()))},goLineStart:function(F){return F.extendSelectionsBy(function(q){return fc(F,q.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(F){return F.extendSelectionsBy(function(q){return Ec(F,q.head)},{origin:"+move",bias:1})},goLineEnd:function(F){return F.extendSelectionsBy(function(q){return rc(F,q.head.line)},{origin:"+move",bias:-1})},goLineRight:function(F){return F.extendSelectionsBy(function(q){var re=F.cursorCoords(q.head,"div").top+5;return F.coordsChar({left:F.display.lineDiv.offsetWidth+100,top:re},"div")},ge)},goLineLeft:function(F){return F.extendSelectionsBy(function(q){var re=F.cursorCoords(q.head,"div").top+5;return F.coordsChar({left:0,top:re},"div")},ge)},goLineLeftSmart:function(F){return F.extendSelectionsBy(function(q){var re=F.cursorCoords(q.head,"div").top+5,ue=F.coordsChar({left:0,top:re},"div");return ue.ch<F.getLine(ue.line).search(/\S/)?Ec(F,q.head):ue},ge)},goLineUp:function(F){return F.moveV(-1,"line")},goLineDown:function(F){return F.moveV(1,"line")},goPageUp:function(F){return F.moveV(-1,"page")},goPageDown:function(F){return F.moveV(1,"page")},goCharLeft:function(F){return F.moveH(-1,"char")},goCharRight:function(F){return F.moveH(1,"char")},goColumnLeft:function(F){return F.moveH(-1,"column")},goColumnRight:function(F){return F.moveH(1,"column")},goWordLeft:function(F){return F.moveH(-1,"word")},goGroupRight:function(F){return F.moveH(1,"group")},goGroupLeft:function(F){return F.moveH(-1,"group")},goWordRight:function(F){return F.moveH(1,"word")},delCharBefore:function(F){return F.deleteH(-1,"codepoint")},delCharAfter:function(F){return F.deleteH(1,"char")},delWordBefore:function(F){return F.deleteH(-1,"word")},delWordAfter:function(F){return F.deleteH(1,"word")},delGroupBefore:function(F){return F.deleteH(-1,"group")},delGroupAfter:function(F){return F.deleteH(1,"group")},indentAuto:function(F){return F.indentSelection("smart")},indentMore:function(F){return F.indentSelection("add")},indentLess:function(F){return F.indentSelection("subtract")},insertTab:function(F){return F.replaceSelection(" ")},insertSoftTab:function(F){for(var q=[],re=F.listSelections(),ue=F.options.tabSize,Be=0;Be<re.length;Be++){var ct=re[Be].from(),Dt=U(F.getLine(ct.line),ct.ch,ue);q.push(Se(ue-Dt%ue))}F.replaceSelections(q)},defaultTab:function(F){F.somethingSelected()?F.indentSelection("add"):F.execCommand("insertTab")},transposeChars:function(F){return Uo(F,function(){for(var q=F.listSelections(),re=[],ue=0;ue<q.length;ue++){if(!q[ue].empty())continue;var Be=q[ue].head,ct=je(F.doc,Be.line).text;if(ct){if(Be.ch==ct.length&&(Be=new Kt(Be.line,Be.ch-1)),Be.ch>0)Be=new Kt(Be.line,Be.ch+1),F.replaceRange(ct.charAt(Be.ch-1)+ct.charAt(Be.ch-2),Kt(Be.line,Be.ch-2),Be,"+transpose");else if(Be.line>F.doc.first){var Dt=je(F.doc,Be.line-1).text;Dt&&(Be=new Kt(Be.line,1),F.replaceRange(ct.charAt(0)+F.doc.lineSeparator()+Dt.charAt(Dt.length-1),Kt(Be.line-1,Dt.length-1),Be,"+transpose"))}}re.push(new ce(Be,Be))}F.setSelections(re)})},newlineAndIndent:function(F){return Uo(F,function(){for(var q=F.listSelections(),re=q.length-1;re>=0;re--)F.replaceRange(F.doc.lineSeparator(),q[re].anchor,q[re].head,"+input");q=F.listSelections();for(var ue=0;ue<q.length;ue++)F.indentLine(q[ue].from().line,null,!0);Qa(F)})},openLine:function(F){return F.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(F){return F.toggleOverwrite()}};function fc(O,F){var q=je(O.doc,F),re=rn(q);return re!=q&&(F=$t(re)),xc(!0,O,re,F,1)}function rc(O,F){var q=je(O.doc,F),re=Ur(q);return re!=q&&(F=$t(re)),xc(!0,O,q,F,-1)}function Ec(O,F){var q=fc(O,F.line),re=je(O.doc,q.line),ue=tt(re,O.doc.direction);if(!ue||ue[0].level==0){var Be=Math.max(q.ch,re.text.search(/\S/)),ct=F.line==q.line&&F.ch<=Be&&F.ch;return Kt(q.line,ct?0:Be,q.sticky)}return q}function cs(O,F,q){if(typeof F=="string"&&(F=Hl[F],!F))return!1;O.display.input.ensurePolled();var re=O.display.shift,ue=!1;try{O.isReadOnly()&&(O.state.suppressEdits=!0),q&&(O.display.shift=!1),ue=F(O)!=ae}finally{O.display.shift=re,O.state.suppressEdits=!1}return ue}function al(O,F,q){for(var re=0;re<O.state.keyMaps.length;re++){var ue=xl(F,O.state.keyMaps[re],q,O);if(ue)return ue}return O.options.extraKeys&&xl(F,O.options.extraKeys,q,O)||xl(F,O.options.keyMap,q,O)}var Tl=new Q;function nc(O,F,q,re){var ue=O.state.keySeq;if(ue){if(tc(F))return"handled";if(/\'$/.test(F)?O.state.keySeq=null:Tl.set(50,function(){O.state.keySeq==ue&&(O.state.keySeq=null,O.display.input.reset())}),ic(O,ue+" "+F,q,re))return!0}return ic(O,F,q,re)}function ic(O,F,q,re){var ue=al(O,F,re);return ue=="multi"&&(O.state.keySeq=F),ue=="handled"&&ni(O,"keyHandled",O,F,q),(ue=="handled"||ue=="multi")&&(Ge(q),To(O)),!!ue}function Il(O,F){var q=dc(F,!0);return q?F.shiftKey&&!O.state.keySeq?nc(O,"Shift-"+q,F,function(re){return cs(O,re,!0)})||nc(O,q,F,function(re){if(typeof re=="string"?/^go[A-Z]/.test(re):re.motion)return cs(O,re)}):nc(O,q,F,function(re){return cs(O,re)}):!1}function bl(O,F,q){return nc(O,"'"+q+"'",F,function(re){return cs(O,re,!0)})}var _c=null;function Hc(O){var F=this;if(O.target&&O.target!=F.display.input.getField())return;if(F.curOp.focus=k(),bt(F,O))return;s&&u<11&&O.keyCode==27&&(O.returnValue=!1);var q=O.keyCode;F.display.shift=q==16||O.shiftKey;var re=Il(F,O);i&&(_c=re?q:null,!re&&q==88&&!Rr&&(f?O.metaKey:O.ctrlKey)&&F.replaceSelection("",null,"cut")),b&&!f&&!re&&q==46&&O.shiftKey&&!O.ctrlKey&&document.execCommand&&document.execCommand("cut"),q==18&&!/\bCodeMirror-crosshair\b/.test(F.display.lineDiv.className)&&Kc(F)}function Kc(O){var F=O.display.lineDiv;W(F,"CodeMirror-crosshair");function q(re){(re.keyCode==18||!re.altKey)&&(x(F,"CodeMirror-crosshair"),Qe(document,"keyup",q),Qe(document,"mouseover",q))}Oe(document,"keyup",q),Oe(document,"mouseover",q)}function Cc(O){O.keyCode==16&&(this.doc.sel.shift=!1),bt(this,O)}function Tc(O){var F=this;if(O.target&&O.target!=F.display.input.getField())return;if(Dr(F.display,O)||bt(F,O)||O.ctrlKey&&!O.altKey||f&&O.metaKey)return;var q=O.keyCode,re=O.charCode;if(i&&q==_c){_c=null,Ge(O);return}if(i&&(!O.which||O.which<10)&&Il(F,O))return;var ue=String.fromCharCode(re==null?q:re);if(ue=="\b")return;if(bl(F,O,ue))return;F.display.input.onKeyPress(O)}var zc=400,pc=function(F,q,re){this.time=F,this.pos=q,this.button=re};pc.prototype.compare=function(O,F,q){return this.time+zc>O&&St(F,this.pos)==0&&q==this.button};var Ol,Ll;function Gl(O,F){var q=+new Date;return Ll&&Ll.compare(q,O,F)?(Ol=Ll=null,"triple"):Ol&&Ol.compare(q,O,F)?(Ll=new pc(q,O,F),Ol=null,"double"):(Ol=new pc(q,O,F),Ll=null,"single")}function Kl(O){var F=this,q=F.display;if(bt(F,O)||q.activeTouch&&q.input.supportsTouch())return;if(q.input.ensurePolled(),q.shift=O.shiftKey,Dr(q,O)){o||(q.scroller.draggable=!1,setTimeout(function(){return q.scroller.draggable=!0},100));return}if(ac(F,O))return;var re=pa(F,O),ue=le(O),Be=re?Gl(re,ue):"single";if(window.focus(),ue==1&&F.state.selectingText&&F.state.selectingText(O),re&&Ic(F,ue,re,Be,O))return;ue==1?re?Wc(F,re,Be,O):Ce(O)==q.scroller&&Ge(O):ue==2?(re&&xo(F.doc,re),setTimeout(function(){return q.input.focus()},20)):ue==3&&(C?F.display.input.onContextMenu(O):Io(F))}function Ic(O,F,q,re,ue){var Be="Click";return re=="double"?Be="Double"+Be:re=="triple"&&(Be="Triple"+Be),Be=(F==1?"Left":F==2?"Middle":"Right")+Be,nc(O,jc(Be,ue),ue,function(ct){if(typeof ct=="string"&&(ct=Hl[ct]),!ct)return!1;var Dt=!1;try{O.isReadOnly()&&(O.state.suppressEdits=!0),Dt=ct(O,q)!=ae}finally{O.state.suppressEdits=!1}return Dt})}function qc(O,F,q){var re=O.getOption("configureMouse"),ue=re?re(O,F,q):{};if(ue.unit==null){var Be=g?q.shiftKey&&q.metaKey:q.altKey;ue.unit=Be?"rectangle":F=="single"?"char":F=="double"?"word":"line"}return(ue.extend==null||O.doc.extend)&&(ue.extend=O.doc.extend||q.shiftKey),ue.addNew==null&&(ue.addNew=f?q.metaKey:q.ctrlKey),ue.moveOnDrag==null&&(ue.moveOnDrag=!(f?q.altKey:q.ctrlKey)),ue}function Wc(O,F,q,re){s?setTimeout(H(po,O),0):O.curOp.focus=k();var ue=qc(O,q,re),Be=O.doc.sel,ct;O.options.dragDrop&&ot&&!O.isReadOnly()&&q=="single"&&(ct=Be.contains(F))>-1&&(St((ct=Be.ranges[ct]).from(),F)<0||F.xRel>0)&&(St(ct.to(),F)>0||F.xRel<0)?$c(O,re,F,ue):mc(O,re,F,ue)}function $c(O,F,q,re){var ue=O.display,Be=!1,ct=Lo(O,function(Qt){o&&(ue.scroller.draggable=!1),O.state.draggingText=!1,Qe(ue.wrapper.ownerDocument,"mouseup",ct),Qe(ue.wrapper.ownerDocument,"mousemove",Dt),Qe(ue.scroller,"dragstart",zt),Qe(ue.scroller,"drop",ct),Be||(Ge(Qt),re.addNew||xo(O.doc,q,null,null,re.extend),o&&!n||s&&u==9?setTimeout(function(){ue.wrapper.ownerDocument.body.focus({preventScroll:!0}),ue.input.focus()},20):ue.input.focus())}),Dt=function(Mr){Be=Be||Math.abs(F.clientX-Mr.clientX)+Math.abs(F.clientY-Mr.clientY)>=10},zt=function(){return Be=!0};o&&(ue.scroller.draggable=!0),O.state.draggingText=ct,ct.copy=!re.moveOnDrag,ue.scroller.dragDrop&&ue.scroller.dragDrop(),Oe(ue.wrapper.ownerDocument,"mouseup",ct),Oe(ue.wrapper.ownerDocument,"mousemove",Dt),Oe(ue.scroller,"dragstart",zt),Oe(ue.scroller,"drop",ct),Io(O),setTimeout(function(){return ue.input.focus()},20)}function Ql(O,F,q){if(q=="char")return new ce(F,F);if(q=="word")return O.findWordAt(F);if(q=="line")return new ce(Kt(F.line,0),Bt(O.doc,Kt(F.line+1,0)));var re=q(O,F);return new ce(re.from,re.to)}function mc(O,F,q,re){var ue=O.display,Be=O.doc;Ge(F);var ct,Dt,zt=Be.sel,Qt=zt.ranges;if(re.addNew&&!re.extend?(Dt=Be.sel.contains(q),Dt>-1?ct=Qt[Dt]:ct=new ce(q,q)):(ct=Be.sel.primary(),Dt=Be.sel.primIndex),re.unit=="rectangle")re.addNew||(ct=new ce(q,q)),q=pa(O,F,!0,!0),Dt=-1;else{var Mr=Ql(O,q,re.unit);re.extend?ct=qo(ct,Mr.anchor,Mr.head,re.extend):ct=Mr}re.addNew?Dt==-1?(Dt=Qt.length,Mo(Be,ve(O,Qt.concat([ct]),Dt),{scroll:!1,origin:"*mouse"})):Qt.length>1&&Qt[Dt].empty()&&re.unit=="char"&&!re.extend?(Mo(Be,ve(O,Qt.slice(0,Dt).concat(Qt.slice(Dt+1)),0),{scroll:!1,origin:"*mouse"}),zt=Be.sel):ps(Be,Dt,ct,$):(Dt=0,Mo(Be,new dt([ct],0),$),zt=Be.sel);var tn=q;function mn(Gi){if(St(tn,Gi)==0)return;if(tn=Gi,re.unit=="rectangle"){for(var ia=[],Wa=O.options.tabSize,La=U(je(Be,q.line).text,q.ch,Wa),mo=U(je(Be,Gi.line).text,Gi.ch,Wa),Eo=Math.min(La,mo),$o=Math.max(La,mo),zo=Math.min(q.line,Gi.line),ks=Math.min(O.lastLine(),Math.max(q.line,Gi.line));zo<=ks;zo++){var hl=je(Be,zo).text,As=he(hl,Eo,Wa);Eo==$o?ia.push(new ce(Kt(zo,As),Kt(zo,As))):hl.length>As&&ia.push(new ce(Kt(zo,As),Kt(zo,he(hl,$o,Wa))))}ia.length||ia.push(new ce(q,q)),Mo(Be,ve(O,zt.ranges.slice(0,Dt).concat(ia),Dt),{origin:"*mouse",scroll:!1}),O.scrollIntoView(Gi)}else{var fl=ct,Ms=Ql(O,Gi,re.unit),Os=fl.anchor,bs;St(Ms.anchor,Os)>0?(bs=Ms.head,Os=Hr(fl.from(),Ms.anchor)):(bs=Ms.anchor,Os=kr(fl.to(),Ms.head));var us=zt.ranges.slice(0);us[Dt]=eu(O,new ce(Bt(Be,Os),bs)),Mo(Be,ve(O,us,Dt),$)}}var wn=ue.wrapper.getBoundingClientRect(),ri=0;function yi(Gi){var ia=++ri,Wa=pa(O,Gi,!0,re.unit=="rectangle");if(!Wa)return;if(St(Wa,tn)!=0){O.curOp.focus=k(),mn(Wa);var La=Za(ue,Be);(Wa.line>=La.to||Wa.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;ue.scroller.scrollTop+=mo,yi(Gi)}),50)}}function Fi(Gi){O.state.selectingText=!1,ri=Infinity,Gi&&(Ge(Gi),ue.input.focus()),Qe(ue.wrapper.ownerDocument,"mousemove",Di),Qe(ue.wrapper.ownerDocument,"mouseup",Ii),Be.history.lastSelOrigin=null}var Di=Lo(O,function(Gi){Gi.buttons===0||!le(Gi)?Fi(Gi):yi(Gi)}),Ii=Lo(O,Fi);O.state.selectingText=Ii,Oe(ue.wrapper.ownerDocument,"mousemove",Di),Oe(ue.wrapper.ownerDocument,"mouseup",Ii)}function eu(O,F){var q=F.anchor,re=F.head,ue=je(O.doc,q.line);if(St(q,re)==0&&q.sticky==re.sticky)return F;var Be=tt(ue);if(!Be)return F;var ct=xe(Be,q.ch,q.sticky),Dt=Be[ct];if(Dt.from!=q.ch&&Dt.to!=q.ch)return F;var zt=ct+(Dt.from==q.ch==(Dt.level!=1)?0:1);if(zt==0||zt==Be.length)return F;var Qt;if(re.line!=q.line)Qt=(re.line-q.line)*(O.doc.direction=="ltr"?1:-1)>0;else{var Mr=xe(Be,re.ch,re.sticky),tn=Mr-ct||(re.ch-q.ch)*(Dt.level==1?-1:1);Mr==zt-1||Mr==zt?Qt=tn<0:Qt=tn>0}var mn=Be[zt+(Qt?-1:0)],wn=Qt==(mn.level==1),ri=wn?mn.from:mn.to,yi=wn?"after":"before";return q.ch==ri&&q.sticky==yi?F:new ce(new Kt(q.line,ri,yi),re)}function Oc(O,F,q,re){var ue,Be;if(F.touches)ue=F.touches[0].clientX,Be=F.touches[0].clientY;else try{ue=F.clientX,Be=F.clientY}catch(mn){return!1}if(ue>=Math.floor(O.display.gutters.getBoundingClientRect().right))return!1;re&&Ge(F);var ct=O.display,Dt=ct.lineDiv.getBoundingClientRect();if(Be>Dt.bottom||!Ct(O,q))return Y(F);Be-=Dt.top-ct.viewOffset;for(var zt=0;zt<O.display.gutterSpecs.length;++zt){var Qt=ct.gutters.childNodes[zt];if(Qt&&Qt.getBoundingClientRect().right>=ue){var Mr=Nr(O.doc,Be),tn=O.display.gutterSpecs[zt];return nt(O,q,O,Mr,tn.className,F),Y(F)}}}function ac(O,F){return Oc(O,F,"gutterClick",!0)}function gc(O,F){if(Dr(O.display,F)||Yl(O,F))return;if(bt(O,F,"contextmenu"))return;C||O.display.input.onContextMenu(F)}function Yl(O,F){return Ct(O,"gutterContextMenu")?Oc(O,F,"gutterContextMenu",!1):!1}function Lc(O){O.display.wrapper.className=O.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+O.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Wi(O)}var Zl={toString:function(){return"CodeMirror.Init"}},oc={},me={};function Ue(O){var F=O.optionHandlers;function q(re,ue,Be,ct){O.defaults[re]=ue,Be&&(F[re]=ct?function(Dt,zt,Qt){Qt!=Zl&&Be(Dt,zt,Qt)}:Be)}O.defineOption=q,O.Init=Zl,q("value","",function(re,ue){return re.setValue(ue)},!0),q("mode",null,function(re,ue){re.doc.modeOption=ue,jr(re)},!0),q("indentUnit",2,jr,!0),q("indentWithTabs",!1),q("smartIndent",!0),q("tabSize",4,function(re){hn(re),Wi(re),ba(re)},!0),q("lineSeparator",null,function(re,ue){if(re.doc.lineSep=ue,!ue)return;var Be=[],ct=re.doc.first;re.doc.iter(function(zt){for(var Qt=0;;){var Mr=zt.text.indexOf(ue,Qt);if(Mr==-1)break;Qt=Mr+ue.length,Be.push(Kt(ct,Mr))}ct++});for(var Dt=Be.length-1;Dt>=0;Dt--)Zs(re.doc,ue,Be[Dt],Kt(Be[Dt].line,Be[Dt].ch+ue.length))}),q("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(re,ue,Be){re.state.specialChars=new RegExp(ue.source+(ue.test(" ")?"":"| "),"g"),Be!=Zl&&re.refresh()}),q("specialCharPlaceholder",Wn,function(re){return re.refresh()},!0),q("electricChars",!0),q("inputStyle",h?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),q("spellcheck",!1,function(re,ue){return re.getInputField().spellcheck=ue},!0),q("autocorrect",!1,function(re,ue){return re.getInputField().autocorrect=ue},!0),q("autocapitalize",!1,function(re,ue){return re.getInputField().autocapitalize=ue},!0),q("rtlMoveVisually",!S),q("wholeLineUpdateBefore",!0),q("theme","default",function(re){Lc(re),eo(re)},!0),q("keyMap","default",function(re,ue,Be){var ct=Bl(ue),Dt=Be!=Zl&&Bl(Be);Dt&&Dt.detach&&Dt.detach(re,ct),ct.attach&&ct.attach(re,Dt||null)}),q("extraKeys",null),q("configureMouse",null),q("lineWrapping",!1,Ht,!0),q("gutters",[],function(re,ue){re.display.gutterSpecs=Gs(ue,re.options.lineNumbers),eo(re)},!0),q("fixedGutter",!0,function(re,ue){re.display.gutters.style.left=ue?so(re.display)+"px":"0",re.refresh()},!0),q("coverGutterNextToScrollbar",!1,function(re){return Oo(re)},!0),q("scrollbarStyle","native",function(re){hs(re),Oo(re),re.display.scrollbars.setScrollTop(re.doc.scrollTop),re.display.scrollbars.setScrollLeft(re.doc.scrollLeft)},!0),q("lineNumbers",!1,function(re,ue){re.display.gutterSpecs=Gs(re.options.gutters,ue),eo(re)},!0),q("firstLineNumber",1,eo,!0),q("lineNumberFormatter",function(re){return re},eo,!0),q("showCursorWhenSelecting",!1,ao,!0),q("resetSelectionOnContextMenu",!0),q("lineWiseCopyCut",!0),q("pasteLinesPerSelection",!0),q("selectionsMayTouch",!1),q("readOnly",!1,function(re,ue){ue=="nocursor"&&(ns(re),re.display.input.blur()),re.display.input.readOnlyChanged(ue)}),q("screenReaderLabel",null,function(re,ue){ue=ue===""?null:ue,re.display.input.screenReaderLabelChanged(ue)}),q("disableInput",!1,function(re,ue){ue||re.display.input.reset()},!0),q("dragDrop",!0,lt),q("allowDropFileTypes",null),q("cursorBlinkRate",530),q("cursorScrollMargin",0),q("cursorHeight",1,ao,!0),q("singleCursorHeightPerLine",!0,ao,!0),q("workTime",100),q("workDelay",100),q("flattenSpans",!0,hn,!0),q("addModeClass",!1,hn,!0),q("pollInterval",100),q("undoDepth",200,function(re,ue){return re.doc.history.undoDepth=ue}),q("historyEventDelay",1250),q("viewportMargin",10,function(re){return re.refresh()},!0),q("maxHighlightLength",1e4,hn,!0),q("moveInputWithCursor",!0,function(re,ue){ue||re.display.input.resetPosition()}),q("tabindex",null,function(re,ue){return re.display.input.getField().tabIndex=ue||""}),q("autofocus",null),q("direction","ltr",function(re,ue){return re.doc.setDirection(ue)},!0),q("phrases",null)}function lt(O,F,q){var re=q&&q!=Zl;if(!F!=!re){var ue=O.display.dragFunctions,Be=F?Oe:Qe;Be(O.display.scroller,"dragstart",ue.start),Be(O.display.scroller,"dragenter",ue.enter),Be(O.display.scroller,"dragover",ue.over),Be(O.display.scroller,"dragleave",ue.leave),Be(O.display.scroller,"drop",ue.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"),kn(O)),io(O),ba(O),Wi(O),setTimeout(function(){return Oo(O)},100)}function er(O,F){var q=this;if(!(this instanceof er))return new er(O,F);this.options=F=F?K(F):{},K(oc,F,!1);var re=F.value;typeof re=="string"?re=new $s(re,F.mode,null,F.lineSeparator,F.direction):F.mode&&(re.modeOption=F.mode),this.doc=re;var ue=new er.inputStyles[F.inputStyle](this),Be=this.display=new ho(O,re,ue,F);Be.wrapper.CodeMirror=this,Lc(this),F.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 Q,keySeq:null,specialChars:null},F.autofocus&&!h&&Be.input.focus(),s&&u<11&&setTimeout(function(){return q.display.input.reset(!0)},20),mr(this),cc(),$a(this),this.curOp.forceUpdate=!0,Ti(this,re),F.autofocus&&!h||this.hasFocus()?setTimeout(function(){q.hasFocus()&&!q.state.focused&&Wo(q)},20):ns(this);for(var ct in me)me.hasOwnProperty(ct)&&me[ct](this,F[ct],Zl);pl(this),F.finishInit&&F.finishInit(this);for(var Dt=0;Dt<Re.length;++Dt)Re[Dt](this);Na(this),o&&F.lineWrapping&&getComputedStyle(Be.lineDiv).textRendering=="optimizelegibility"&&(Be.lineDiv.style.textRendering="auto")}er.defaults=oc,er.optionHandlers=me;function mr(O){var F=O.display;Oe(F.scroller,"mousedown",Lo(O,Kl)),s&&u<11?Oe(F.scroller,"dblclick",Lo(O,function(zt){if(bt(O,zt))return;var Qt=pa(O,zt);if(!Qt||ac(O,zt)||Dr(O.display,zt))return;Ge(zt);var Mr=O.findWordAt(Qt);xo(O.doc,Mr.anchor,Mr.head)})):Oe(F.scroller,"dblclick",function(zt){return bt(O,zt)||Ge(zt)}),Oe(F.scroller,"contextmenu",function(zt){return gc(O,zt)}),Oe(F.input.getField(),"contextmenu",function(zt){F.scroller.contains(zt.target)||gc(O,zt)});var q,re={end:0};function ue(){F.activeTouch&&(q=setTimeout(function(){return F.activeTouch=null},1e3),re=F.activeTouch,re.end=+new Date)}function Be(zt){if(zt.touches.length!=1)return!1;var Qt=zt.touches[0];return Qt.radiusX<=1&&Qt.radiusY<=1}function ct(zt,Qt){if(Qt.left==null)return!0;var Mr=Qt.left-zt.left,tn=Qt.top-zt.top;return Mr*Mr+tn*tn>20*20}Oe(F.scroller,"touchstart",function(zt){if(!bt(O,zt)&&!Be(zt)&&!ac(O,zt)){F.input.ensurePolled(),clearTimeout(q);var Qt=+new Date;F.activeTouch={start:Qt,moved:!1,prev:Qt-re.end<=300?re:null},zt.touches.length==1&&(F.activeTouch.left=zt.touches[0].pageX,F.activeTouch.top=zt.touches[0].pageY)}}),Oe(F.scroller,"touchmove",function(){F.activeTouch&&(F.activeTouch.moved=!0)}),Oe(F.scroller,"touchend",function(zt){var Qt=F.activeTouch;if(Qt&&!Dr(F,zt)&&Qt.left!=null&&!Qt.moved&&new Date-Qt.start<300){var Mr=O.coordsChar(F.activeTouch,"page"),tn;!Qt.prev||ct(Qt,Qt.prev)?tn=new ce(Mr,Mr):!Qt.prev.prev||ct(Qt,Qt.prev.prev)?tn=O.findWordAt(Mr):tn=new ce(Kt(Mr.line,0),Bt(O.doc,Kt(Mr.line+1,0))),O.setSelection(tn.anchor,tn.head),O.focus(),Ge(zt)}ue()}),Oe(F.scroller,"touchcancel",ue),Oe(F.scroller,"scroll",function(){F.scroller.clientHeight&&(Ya(O,F.scroller.scrollTop),Ci(O,F.scroller.scrollLeft,!0),nt(O,"scroll",O))}),Oe(F.scroller,"mousewheel",function(zt){return Rn(O,zt)}),Oe(F.scroller,"DOMMouseScroll",function(zt){return Rn(O,zt)}),Oe(F.wrapper,"scroll",function(){return F.wrapper.scrollTop=F.wrapper.scrollLeft=0}),F.dragFunctions={enter:function(Qt){bt(O,Qt)||we(Qt)},over:function(Qt){bt(O,Qt)||(ql(O,Qt),we(Qt))},start:function(Qt){return Vl(O,Qt)},drop:Lo(O,dl),leave:function(Qt){bt(O,Qt)||lc(O)}};var Dt=F.input.getField();Oe(Dt,"keyup",function(zt){return Cc.call(O,zt)}),Oe(Dt,"keydown",Lo(O,Hc)),Oe(Dt,"keypress",Lo(O,Tc)),Oe(Dt,"focus",function(zt){return Wo(O,zt)}),Oe(Dt,"blur",function(zt){return ns(O,zt)})}var Re=[];er.defineInitHook=function(O){return Re.push(O)};function ee(O,F,q,re){var ue=O.doc,Be;q==null&&(q="add"),q=="smart"&&(ue.mode.indent?Be=Sn(O,F).state:q="prev");var ct=O.options.tabSize,Dt=je(ue,F),zt=U(Dt.text,null,ct);Dt.stateAfter&&(Dt.stateAfter=null);var Qt=Dt.text.match(/^\s*/)[0],Mr;if(!re&&!/\S/.test(Dt.text))Mr=0,q="not";else if(q=="smart"&&(Mr=ue.mode.indent(Be,Dt.text.slice(Qt.length),Dt.text),Mr==ae||Mr>150)){if(!re)return;q="prev"}q=="prev"?F>ue.first?Mr=U(je(ue,F-1).text,null,ct):Mr=0:q=="add"?Mr=zt+O.options.indentUnit:q=="subtract"?Mr=zt-O.options.indentUnit:typeof q=="number"&&(Mr=zt+q),Mr=Math.max(0,Mr);var tn="",mn=0;if(O.options.indentWithTabs)for(var wn=Math.floor(Mr/ct);wn;--wn)mn+=ct,tn+=" ";if(mn<Mr&&(tn+=Se(Mr-mn)),tn!=Qt)return Zs(ue,tn,Kt(F,0),Kt(F,Qt.length),"+input"),Dt.stateAfter=null,!0;for(var ri=0;ri<ue.sel.ranges.length;ri++){var yi=ue.sel.ranges[ri];if(yi.head.line==F&&yi.head.ch<Qt.length){var Fi=Kt(F,Qt.length);ps(ue,ri,new ce(Fi,Fi));break}}}var ye=null;function Ve(O){ye=O}function it(O,F,q,re,ue){var Be=O.doc;O.display.shift=!1,re||(re=Be.sel);var ct=+new Date-200,Dt=ue=="paste"||O.state.pasteIncoming>ct,zt=lr(F),Qt=null;if(Dt&&re.ranges.length>1)if(ye&&ye.text.join(`
|
|
|
`)==F){if(re.ranges.length%ye.text.length==0){Qt=[];for(var Mr=0;Mr<ye.text.length;Mr++)Qt.push(Be.splitLines(ye.text[Mr]))}}else zt.length==re.ranges.length&&O.options.pasteLinesPerSelection&&(Qt=He(zt,function(Di){return[Di]}));for(var tn=O.curOp.updateInput,mn=re.ranges.length-1;mn>=0;mn--){var wn=re.ranges[mn],ri=wn.from(),yi=wn.to();wn.empty()&&(q&&q>0?ri=Kt(ri.line,ri.ch-q):O.state.overwrite&&!Dt?yi=Kt(yi.line,Math.min(je(Be,yi.line).text.length,yi.ch+Le(zt).length)):Dt&&ye&&ye.lineWise&&ye.text.join(`
|
|
|
`)==zt.join(`
|
|
|
`)&&(ri=yi=Kt(ri.line,0)));var Fi={from:ri,to:yi,text:Qt?Qt[mn%Qt.length]:zt,origin:ue||(Dt?"paste":O.state.cutIncoming>ct?"cut":"+input")};Ds(O.doc,Fi),ni(O,"inputRead",O,Fi)}F&&!Dt&&Rt(O,F),Qa(O),O.curOp.updateInput<2&&(O.curOp.updateInput=tn),O.curOp.typing=!0,O.state.pasteIncoming=O.state.cutIncoming=-1}function Et(O,F){var q=O.clipboardData&&O.clipboardData.getData("Text");if(q)return O.preventDefault(),!F.isReadOnly()&&!F.options.disableInput&&Uo(F,function(){return it(F,q,0,null,"paste")}),!0}function Rt(O,F){if(!O.options.electricChars||!O.options.smartIndent)return;for(var q=O.doc.sel,re=q.ranges.length-1;re>=0;re--){var ue=q.ranges[re];if(ue.head.ch>100||re&&q.ranges[re-1].head.line==ue.head.line)continue;var Be=O.getModeAt(ue.head),ct=!1;if(Be.electricChars){for(var Dt=0;Dt<Be.electricChars.length;Dt++)if(F.indexOf(Be.electricChars.charAt(Dt))>-1){ct=ee(O,ue.head.line,"smart");break}}else Be.electricInput&&(Be.electricInput.test(je(O.doc,ue.head.line).text.slice(0,ue.head.ch))&&(ct=ee(O,ue.head.line,"smart")));ct&&ni(O,"electricInput",O,ue.head.line)}}function Ft(O){for(var F=[],q=[],re=0;re<O.doc.sel.ranges.length;re++){var ue=O.doc.sel.ranges[re].head.line,Be={anchor:Kt(ue,0),head:Kt(ue+1,0)};q.push(Be),F.push(O.getRange(Be.anchor,Be.head))}return{text:F,ranges:q}}function nr(O,F,q,re){O.setAttribute("autocorrect",q?"":"off"),O.setAttribute("autocapitalize",re?"":"off"),O.setAttribute("spellcheck",!!F)}function yr(){var O=L("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),F=L("div",[O],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return o?O.style.width="1000px":O.setAttribute("wrap","off"),a&&(O.style.border="1px solid black"),nr(O),F}function rr(O){var F=O.optionHandlers,q=O.helpers={};O.prototype={constructor:O,focus:function(){window.focus(),this.display.input.focus()},setOption:function(ue,Be){var ct=this.options,Dt=ct[ue];if(ct[ue]==Be&&ue!="mode")return;ct[ue]=Be,F.hasOwnProperty(ue)&&Lo(this,F[ue])(this,Be,Dt),nt(this,"optionChange",this,ue)},getOption:function(ue){return this.options[ue]},getDoc:function(){return this.doc},addKeyMap:function(ue,Be){this.state.keyMaps[Be?"push":"unshift"](Bl(ue))},removeKeyMap:function(ue){for(var Be=this.state.keyMaps,ct=0;ct<Be.length;++ct)if(Be[ct]==ue||Be[ct].name==ue)return Be.splice(ct,1),!0},addOverlay:Yo(function(re,ue){var Be=re.token?re:O.getMode(this.options,re);if(Be.startState)throw new Error("Overlays may not be stateful.");G(this.state.overlays,{mode:Be,modeSpec:re,opaque:ue&&ue.opaque,priority:ue&&ue.priority||0},function(ct){return ct.priority}),this.state.modeGen++,ba(this)}),removeOverlay:Yo(function(re){for(var ue=this.state.overlays,Be=0;Be<ue.length;++Be){var ct=ue[Be].modeSpec;if(ct==re||typeof re=="string"&&ct.name==re){ue.splice(Be,1),this.state.modeGen++,ba(this);return}}}),indentLine:Yo(function(re,ue,Be){typeof ue!="string"&&typeof ue!="number"&&(ue==null?ue=this.options.smartIndent?"smart":"prev":ue=ue?"add":"subtract"),yn(this.doc,re)&&ee(this,re,ue,Be)}),indentSelection:Yo(function(re){for(var ue=this.doc.sel.ranges,Be=-1,ct=0;ct<ue.length;ct++){var Dt=ue[ct];if(Dt.empty())Dt.head.line>Be&&(ee(this,Dt.head.line,re,!0),Be=Dt.head.line,ct==this.doc.sel.primIndex&&Qa(this));else{var zt=Dt.from(),Qt=Dt.to(),Mr=Math.max(Be,zt.line);Be=Math.min(this.lastLine(),Qt.line-(Qt.ch?0:1))+1;for(var tn=Mr;tn<Be;++tn)ee(this,tn,re);var mn=this.doc.sel.ranges;zt.ch==0&&ue.length==mn.length&&mn[ct].from().ch>0&&ps(this.doc,ct,new ce(zt,mn[ct].to()),se)}}}),getTokenAt:function(ue,Be){return ii(this,ue,Be)},getLineTokens:function(ue,Be){return ii(this,Kt(ue),Be,!0)},getTokenTypeAt:function(ue){ue=Bt(this.doc,ue);var Be=bn(this,je(this.doc,ue.line)),ct=0,Dt=(Be.length-1)/2,zt=ue.ch,Qt;if(zt==0)Qt=Be[2];else for(;;){var Mr=ct+Dt>>1;if((Mr?Be[Mr*2-1]:0)>=zt)Dt=Mr;else if(Be[Mr*2+1]<zt)ct=Mr+1;else{Qt=Be[Mr*2+2];break}}var tn=Qt?Qt.indexOf("overlay "):-1;return tn<0?Qt:tn==0?null:Qt.slice(0,tn-1)},getModeAt:function(ue){var Be=this.doc.mode;return Be.innerMode?O.innerMode(Be,this.getTokenAt(ue).state).mode:Be},getHelper:function(ue,Be){return this.getHelpers(ue,Be)[0]},getHelpers:function(ue,Be){var ct=[];if(!q.hasOwnProperty(Be))return ct;var Dt=q[Be],zt=this.getModeAt(ue);if(typeof zt[Be]=="string")Dt[zt[Be]]&&ct.push(Dt[zt[Be]]);else if(zt[Be])for(var Qt=0;Qt<zt[Be].length;Qt++){var Mr=Dt[zt[Be][Qt]];Mr&&ct.push(Mr)}else zt.helperType&&Dt[zt.helperType]?ct.push(Dt[zt.helperType]):Dt[zt.name]&&ct.push(Dt[zt.name]);for(var tn=0;tn<Dt._global.length;tn++){var mn=Dt._global[tn];mn.pred(zt,this)&&V(ct,mn.val)==-1&&ct.push(mn.val)}return ct},getStateAfter:function(ue,Be){var ct=this.doc;return ue=$r(ct,ue==null?ct.first+ct.size-1:ue),Sn(this,ue+1,Be).state},cursorCoords:function(ue,Be){var ct,Dt=this.doc.sel.primary();return ue==null?ct=Dt.head:typeof ue=="object"?ct=Bt(this.doc,ue):ct=ue?Dt.from():Dt.to(),wa(this,ct,Be||"page")},charCoords:function(ue,Be){return Ma(this,Bt(this.doc,ue),Be||"page")},coordsChar:function(ue,Be){return ue=ca(this,ue,Be||"page"),ji(this,ue.left,ue.top)},lineAtHeight:function(ue,Be){return ue=ca(this,{top:ue,left:0},Be||"page").top,Nr(this.doc,ue+this.display.viewOffset)},heightAtLine:function(ue,Be,ct){var Dt=!1,zt;if(typeof ue=="number"){var Qt=this.doc.first+this.doc.size-1;ue<this.doc.first?ue=this.doc.first:ue>Qt&&(ue=Qt,Dt=!0),zt=je(this.doc,ue)}else zt=ue;return Ea(this,zt,{top:0,left:0},Be||"page",ct||Dt).top+(Dt?this.doc.height-Un(zt):0)},defaultTextHeight:function(){return Fa(this.display)},defaultCharWidth:function(){return Xa(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ue,Be,ct,Dt,zt){var Qt=this.display;ue=wa(this,Bt(this.doc,ue));var Mr=ue.bottom,tn=ue.left;if(Be.style.position="absolute",Be.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Be),Qt.sizer.appendChild(Be),Dt=="over")Mr=ue.top;else if(Dt=="above"||Dt=="near"){var mn=Math.max(Qt.wrapper.clientHeight,this.doc.height),wn=Math.max(Qt.sizer.clientWidth,Qt.lineSpace.clientWidth);(Dt=="above"||ue.bottom+Be.offsetHeight>mn)&&ue.top>Be.offsetHeight?Mr=ue.top-Be.offsetHeight:ue.bottom+Be.offsetHeight<=mn&&(Mr=ue.bottom),tn+Be.offsetWidth>wn&&(tn=wn-Be.offsetWidth)}Be.style.top=Mr+"px",Be.style.left=Be.style.right="",zt=="right"?(tn=Qt.sizer.clientWidth-Be.offsetWidth,Be.style.right="0px"):(zt=="left"?tn=0:zt=="middle"&&(tn=(Qt.sizer.clientWidth-Be.offsetWidth)/2),Be.style.left=tn+"px"),ct&&uo(this,{left:tn,top:Mr,right:tn+Be.offsetWidth,bottom:Mr+Be.offsetHeight})},triggerOnKeyDown:Yo(Hc),triggerOnKeyPress:Yo(Tc),triggerOnKeyUp:Cc,triggerOnMouseDown:Yo(Kl),execCommand:function(ue){if(Hl.hasOwnProperty(ue))return Hl[ue].call(null,this)},triggerElectric:Yo(function(re){Rt(this,re)}),findPosH:function(ue,Be,ct,Dt){var zt=1;Be<0&&(zt=-1,Be=-Be);for(var Qt=Bt(this.doc,ue),Mr=0;Mr<Be&&!(Qt=qt(this.doc,Qt,zt,ct,Dt),Qt.hitSide);++Mr);return Qt},moveH:Yo(function(re,ue){var Be=this;this.extendSelectionsBy(function(ct){return Be.display.shift||Be.doc.extend||ct.empty()?qt(Be.doc,ct.head,re,ue,Be.options.rtlMoveVisually):re<0?ct.from():ct.to()},ge)}),deleteH:Yo(function(re,ue){var Be=this.doc.sel,ct=this.doc;Be.somethingSelected()?ct.replaceSelection("",null,"+delete"):kl(this,function(Dt){var zt=qt(ct,Dt.head,re,ue,!1);return re<0?{from:zt,to:Dt.head}:{from:Dt.head,to:zt}})}),findPosV:function(ue,Be,ct,Dt){var zt=1,Qt=Dt;Be<0&&(zt=-1,Be=-Be);for(var Mr=Bt(this.doc,ue),tn=0;tn<Be;++tn){var mn=wa(this,Mr,"div");if(Qt==null?Qt=mn.left:mn.left=Qt,Mr=hr(this,mn,zt,ct),Mr.hitSide)break}return Mr},moveV:Yo(function(re,ue){var Be=this,ct=this.doc,Dt=[],zt=!this.display.shift&&!ct.extend&&ct.sel.somethingSelected();if(ct.extendSelectionsBy(function(Mr){if(zt)return re<0?Mr.from():Mr.to();var tn=wa(Be,Mr.head,"div");Mr.goalColumn!=null&&(tn.left=Mr.goalColumn),Dt.push(tn.left);var mn=hr(Be,tn,re,ue);return ue=="page"&&Mr==ct.sel.primary()&&Yi(Be,Ma(Be,mn,"div").top-tn.top),mn},ge),Dt.length)for(var Qt=0;Qt<ct.sel.ranges.length;Qt++)ct.sel.ranges[Qt].goalColumn=Dt[Qt]}),findWordAt:function(ue){var Be=this.doc,ct=je(Be,ue.line).text,Dt=ue.ch,zt=ue.ch;if(ct){var Qt=this.getHelper(ue,"wordChars");(ue.sticky=="before"||zt==ct.length)&&Dt?--Dt:++zt;for(var Mr=ct.charAt(Dt),tn=z(Mr,Qt)?function(mn){return z(mn,Qt)}:/\s/.test(Mr)?function(mn){return/\s/.test(mn)}:function(mn){return!/\s/.test(mn)&&!z(mn)};Dt>0&&tn(ct.charAt(Dt-1));)--Dt;for(;zt<ct.length&&tn(ct.charAt(zt));)++zt}return new ce(Kt(ue.line,Dt),Kt(ue.line,zt))},toggleOverwrite:function(ue){if(ue!=null&&ue==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?W(this.display.cursorDiv,"CodeMirror-overwrite"):x(this.display.cursorDiv,"CodeMirror-overwrite"),nt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==k()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Yo(function(re,ue){Fo(this,re,ue)}),getScrollInfo:function(){var ue=this.display.scroller;return{left:ue.scrollLeft,top:ue.scrollTop,height:ue.scrollHeight-sn(this)-this.display.barHeight,width:ue.scrollWidth-sn(this)-this.display.barWidth,clientHeight:Yr(this),clientWidth:an(this)}},scrollIntoView:Yo(function(re,ue){re==null?(re={from:this.doc.sel.primary().head,to:null},ue==null&&(ue=this.options.cursorScrollMargin)):typeof re=="number"?re={from:Kt(re,0),to:null}:re.from==null&&(re={from:re,to:null}),re.to||(re.to=re.from),re.margin=ue||0,re.from.line!=null?Qo(this,re):ua(this,re.from,re.to,re.margin)}),setSize:Yo(function(re,ue){var Be=this,ct=function(Qt){return typeof Qt=="number"||/^\d+$/.test(String(Qt))?Qt+"px":Qt};re!=null&&(this.display.wrapper.style.width=ct(re)),ue!=null&&(this.display.wrapper.style.height=ct(ue)),this.options.lineWrapping&&fa(this);var Dt=this.display.viewFrom;this.doc.iter(Dt,this.display.viewTo,function(zt){if(zt.widgets){for(var Qt=0;Qt<zt.widgets.length;Qt++)if(zt.widgets[Qt].noHScroll){Oi(Be,Dt,"widget");break}}++Dt}),this.curOp.forceUpdate=!0,nt(this,"refresh",this)}),operation:function(ue){return Uo(this,ue)},startOperation:function(){return $a(this)},endOperation:function(){return Na(this)},refresh:Yo(function(){var re=this.display.cachedTextHeight;ba(this),this.curOp.forceUpdate=!0,Wi(this),Fo(this,this.doc.scrollLeft,this.doc.scrollTop),Xs(this.display),(re==null||Math.abs(re-Fa(this.display))>.5||this.options.lineWrapping)&&io(this),nt(this,"refresh",this)}),swapDoc:Yo(function(re){var ue=this.doc;return ue.cm=null,this.state.selectingText&&this.state.selectingText(),Ti(this,re),Wi(this),this.display.input.reset(),Fo(this,re.scrollLeft,re.scrollTop),this.curOp.forceScroll=!0,ni(this,"swapDoc",this,ue),ue}),phrase:function(ue){var Be=this.options.phrases;return Be&&Object.prototype.hasOwnProperty.call(Be,ue)?Be[ue]:ue},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}},Nt(O),O.registerHelper=function(re,ue,Be){q.hasOwnProperty(re)||(q[re]=O[re]={_global:[]}),q[re][ue]=Be},O.registerGlobalHelper=function(re,ue,Be,ct){O.registerHelper(re,ue,ct),q[re]._global.push({pred:Be,val:ct})}}function qt(O,F,q,re,ue){var Be=F,ct=q,Dt=je(O,F.line),zt=ue&&O.direction=="rtl"?-q:q;function Qt(){var Ii=F.line+zt;return Ii<O.first||Ii>=O.first+O.size?!1:(F=new Kt(Ii,F.ch,F.sticky),Dt=je(O,Ii))}function Mr(Ii){var Gi;if(re=="codepoint"){var ia=Dt.text.charCodeAt(F.ch+(re>0?0:-1));isNaN(ia)?Gi=null:Gi=new Kt(F.line,Math.max(0,Math.min(Dt.text.length,F.ch+q*(ia>=55296&&ia<56320?2:1))),-q)}else ue?Gi=hc(O.cm,Dt,F,q):Gi=Sc(Dt,F,q);if(Gi==null)if(!Ii&&Qt())F=xc(ue,O.cm,Dt,F.line,zt);else return!1;else F=Gi;return!0}if(re=="char"||re=="codepoint")Mr();else if(re=="column")Mr(!0);else if(re=="word"||re=="group")for(var tn=null,mn=re=="group",wn=O.cm&&O.cm.getHelper(F,"wordChars"),ri=!0;!(q<0&&!Mr(!ri));ri=!1){var yi=Dt.text.charAt(F.ch)||`
|
|
|
`,Fi=z(yi,wn)?"w":mn&&yi==`
|
|
|
`?"n":!mn||/\s/.test(yi)?null:"p";if(mn&&!ri&&!Fi&&(Fi="s"),tn&&tn!=Fi){q<0&&(q=1,Mr(),F.sticky="after");break}if(Fi&&(tn=Fi),q>0&&!Mr(!ri))break}var Di=ml(O,F,Be,ct,!0);return Mt(Be,Di)&&(Di.hitSide=!0),Di}function hr(O,F,q,re){var ue=O.doc,Be=F.left,ct;if(re=="page"){var Dt=Math.min(O.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),zt=Math.max(Dt-.5*Fa(O.display),3);ct=(q>0?F.bottom:F.top)+q*zt}else re=="line"&&(ct=q>0?F.bottom+3:F.top-3);for(var Qt;!(Qt=ji(O,Be,ct),!Qt.outside);){if(q<0?ct<=0:ct>=ue.height){Qt.hitSide=!0;break}ct+=q*5}return Qt}var Er=function(F){this.cm=F,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Q,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Er.prototype.init=function(O){var F=this,q=this,re=q.cm,ue=q.div=O.lineDiv;nr(ue,re.options.spellcheck,re.options.autocorrect,re.options.autocapitalize);function Be(Dt){for(var zt=Dt.target;zt;zt=zt.parentNode){if(zt==ue)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(zt.className))break}return!1}Oe(ue,"paste",function(Dt){if(!Be(Dt)||bt(re,Dt)||Et(Dt,re))return;u<=11&&setTimeout(Lo(re,function(){return F.updateFromDOM()}),20)}),Oe(ue,"compositionstart",function(Dt){F.composing={data:Dt.data,done:!1}}),Oe(ue,"compositionupdate",function(Dt){F.composing||(F.composing={data:Dt.data,done:!1})}),Oe(ue,"compositionend",function(Dt){F.composing&&(Dt.data!=F.composing.data&&F.readFromDOMSoon(),F.composing.done=!0)}),Oe(ue,"touchstart",function(){return q.forceCompositionEnd()}),Oe(ue,"input",function(){F.composing||F.readFromDOMSoon()});function ct(Dt){if(!Be(Dt)||bt(re,Dt))return;if(re.somethingSelected())Ve({lineWise:!1,text:re.getSelections()}),Dt.type=="cut"&&re.replaceSelection("",null,"cut");else if(re.options.lineWiseCopyCut){var zt=Ft(re);Ve({lineWise:!0,text:zt.text}),Dt.type=="cut"&&re.operation(function(){re.setSelections(zt.ranges,0,se),re.replaceSelection("",null,"cut")})}else return;if(Dt.clipboardData){Dt.clipboardData.clearData();var Qt=ye.text.join(`
|
|
|
`);if(Dt.clipboardData.setData("Text",Qt),Dt.clipboardData.getData("Text")==Qt){Dt.preventDefault();return}}var Mr=yr(),tn=Mr.firstChild;re.display.lineSpace.insertBefore(Mr,re.display.lineSpace.firstChild),tn.value=ye.text.join(`
|
|
|
`);var mn=document.activeElement;j(tn),setTimeout(function(){re.display.lineSpace.removeChild(Mr),mn.focus(),mn==ue&&q.showPrimarySelection()},50)}Oe(ue,"copy",ct),Oe(ue,"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,F){if(!O||!this.cm.display.view.length)return;(O.focus||F)&&this.showPrimarySelection(),this.showMultipleSelections(O)},Er.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Er.prototype.showPrimarySelection=function(){var O=this.getSelection(),F=this.cm,q=F.doc.sel.primary(),re=q.from(),ue=q.to();if(F.display.viewTo==F.display.viewFrom||re.line>=F.display.viewTo||ue.line<F.display.viewFrom){O.removeAllRanges();return}var Be=Yn(F,O.anchorNode,O.anchorOffset),ct=Yn(F,O.focusNode,O.focusOffset);if(Be&&!Be.bad&&ct&&!ct.bad&&St(Hr(Be,ct),re)==0&&St(kr(Be,ct),ue)==0)return;var Dt=F.display.view,zt=re.line>=F.display.viewFrom&&Wr(F,re)||{node:Dt[0].measure.map[2],offset:0},Qt=ue.line<F.display.viewTo&&Wr(F,ue);if(!Qt){var Mr=Dt[Dt.length-1].measure,tn=Mr.maps?Mr.maps[Mr.maps.length-1]:Mr.map;Qt={node:tn[tn.length-1],offset:tn[tn.length-2]-tn[tn.length-3]}}if(!zt||!Qt){O.removeAllRanges();return}var mn=O.rangeCount&&O.getRangeAt(0),wn;try{wn=B(zt.node,zt.offset,Qt.offset,Qt.node)}catch(ri){}wn&&(!b&&F.state.focused?(O.collapse(zt.node,zt.offset),wn.collapsed||(O.removeAllRanges(),O.addRange(wn))):(O.removeAllRanges(),O.addRange(wn)),mn&&O.anchorNode==null?O.addRange(mn):b&&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 F=O.getRangeAt(0).commonAncestorContainer;return N(this.div,F)},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 F(){O.cm.state.focused&&(O.pollSelection(),O.polling.set(O.cm.options.pollInterval,F))}this.polling.set(this.cm.options.pollInterval,F)},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(),F=this.cm;if(c&&r&&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 q=Yn(F,O.anchorNode,O.anchorOffset),re=Yn(F,O.focusNode,O.focusOffset);q&&re&&Uo(F,function(){Mo(F.doc,_e(q,re),se),(q.bad||re.bad)&&(F.curOp.selectionChanged=!0)})},Er.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var O=this.cm,F=O.display,q=O.doc.sel.primary(),re=q.from(),ue=q.to();if(re.ch==0&&re.line>O.firstLine()&&(re=Kt(re.line-1,je(O.doc,re.line-1).length)),ue.ch==je(O.doc,ue.line).text.length&&ue.line<O.lastLine()&&(ue=Kt(ue.line+1,0)),re.line<F.viewFrom||ue.line>F.viewTo-1)return!1;var Be,ct,Dt;re.line==F.viewFrom||(Be=ga(O,re.line))==0?(ct=$t(F.view[0].line),Dt=F.view[0].node):(ct=$t(F.view[Be].line),Dt=F.view[Be-1].node.nextSibling);var zt=ga(O,ue.line),Qt,Mr;if(zt==F.view.length-1?(Qt=F.viewTo-1,Mr=F.lineDiv.lastChild):(Qt=$t(F.view[zt+1].line)-1,Mr=F.view[zt+1].node.previousSibling),!Dt)return!1;for(var tn=O.doc.splitLines(pi(O,Dt,Mr,ct,Qt)),mn=Ye(O.doc,Kt(ct,0),Kt(Qt,je(O.doc,Qt).text.length));tn.length>1&&mn.length>1;)if(Le(tn)==Le(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],Fi=mn[0],Di=Math.min(yi.length,Fi.length);wn<Di&&yi.charCodeAt(wn)==Fi.charCodeAt(wn);)++wn;for(var Ii=Le(tn),Gi=Le(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==re.line)for(;wn&&wn>re.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 Wa=Kt(ct,wn),La=Kt(Qt,mn.length?Le(mn).length-ri:0);if(tn.length>1||tn[0]||St(Wa,La))return Zs(O.doc,tn,Wa,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,it)(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 Wr(O,F){var q=si(O,F.line);if(!q||q.hidden)return null;var re=je(O.doc,F.line),ue=vn(q,re,F.line),Be=tt(re,O.doc.direction),ct="left";if(Be){var Dt=xe(Be,F.ch);ct=Dt%2?"right":"left"}var zt=ki(ue.map,F.ch,ct);return zt.offset=zt.collapse=="right"?zt.end:zt.start,zt}function En(O){for(var F=O;F;F=F.parentNode)if(/CodeMirror-gutter-wrapper/.test(F.className))return!0;return!1}function jn(O,F){return F&&(O.bad=!0),O}function pi(O,F,q,re,ue){var Be="",ct=!1,Dt=O.doc.lineSeparator(),zt=!1;function Qt(wn){return function(ri){return ri.id==wn}}function Mr(){ct&&(Be+=Dt,zt&&(Be+=Dt),ct=zt=!1)}function tn(wn){wn&&(Mr(),Be+=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"),Fi;if(yi){var Di=O.findMarks(Kt(re,0),Kt(ue+1,0),Qt(+yi));Di.length&&(Fi=Di[0].find(0))&&tn(Ye(O.doc,Fi.from,Fi.to).join(Dt));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&&Mr();for(var Gi=0;Gi<wn.childNodes.length;Gi++)mn(wn.childNodes[Gi]);/^(pre|p)$/i.test(wn.nodeName)&&(zt=!0),Ii&&(ct=!0)}else wn.nodeType==3&&tn(wn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(mn(F),F==q);)F=F.nextSibling,zt=!1;return Be}function Yn(O,F,q){var re;if(F==O.display.lineDiv){if(re=O.display.lineDiv.childNodes[q],!re)return jn(O.clipPos(Kt(O.display.viewTo-1)),!0);F=null,q=0}else for(re=F;;re=re.parentNode){if(!re||re==O.display.lineDiv)return null;if(re.parentNode&&re.parentNode==O.display.lineDiv)break}for(var ue=0;ue<O.display.view.length;ue++){var Be=O.display.view[ue];if(Be.node==re)return Zi(Be,F,q)}}function Zi(O,F,q){var re=O.text.firstChild,ue=!1;if(!F||!N(re,F))return jn(Kt($t(O.line),0),!0);if(F==re&&(ue=!0,F=re.childNodes[q],q=0,!F)){var Be=O.rest?Le(O.rest):O.line;return jn(Kt($t(Be),Be.text.length),ue)}var ct=F.nodeType==3?F:null,Dt=F;for(!ct&&F.childNodes.length==1&&F.firstChild.nodeType==3&&(ct=F.firstChild,q&&(q=ct.nodeValue.length));Dt.parentNode!=re;)Dt=Dt.parentNode;var zt=O.measure,Qt=zt.maps;function Mr(Fi,Di,Ii){for(var Gi=-1;Gi<(Qt?Qt.length:0);Gi++)for(var ia=Gi<0?zt.map:Qt[Gi],Wa=0;Wa<ia.length;Wa+=3){var La=ia[Wa+2];if(La==Fi||La==Di){var mo=$t(Gi<0?O.line:O.rest[Gi]),Eo=ia[Wa]+Ii;return(Ii<0||La!=Fi)&&(Eo=ia[Wa+(Ii?1:0)]),Kt(mo,Eo)}}}var tn=Mr(ct,Dt,q);if(tn)return jn(tn,ue);for(var mn=Dt.nextSibling,wn=ct?ct.nodeValue.length-q:0;mn;mn=mn.nextSibling){if(tn=Mr(mn,mn.firstChild,0),tn)return jn(Kt(tn.line,tn.ch-wn),ue);wn+=mn.textContent.length}for(var ri=Dt.previousSibling,yi=q;ri;ri=ri.previousSibling){if(tn=Mr(ri,ri.firstChild,-1),tn)return jn(Kt(tn.line,tn.ch+yi),ue);yi+=ri.textContent.length}}var Ei=function(F){this.cm=F,this.prevInput="",this.pollingFast=!1,this.polling=new Q,this.hasSelection=!1,this.composing=null};Ei.prototype.init=function(O){var F=this,q=this,re=this.cm;this.createField(O);var ue=this.textarea;O.wrapper.insertBefore(this.wrapper,O.wrapper.firstChild),a&&(ue.style.width="0px"),Oe(ue,"input",function(){s&&u>=9&&F.hasSelection&&(F.hasSelection=null),q.poll()}),Oe(ue,"paste",function(ct){if(bt(re,ct)||Et(ct,re))return;re.state.pasteIncoming=+new Date,q.fastPoll()});function Be(ct){if(bt(re,ct))return;if(re.somethingSelected())Ve({lineWise:!1,text:re.getSelections()});else if(re.options.lineWiseCopyCut){var Dt=Ft(re);Ve({lineWise:!0,text:Dt.text}),ct.type=="cut"?re.setSelections(Dt.ranges,null,se):(q.prevInput="",ue.value=Dt.text.join(`
|
|
|
`),j(ue))}else return;ct.type=="cut"&&(re.state.cutIncoming=+new Date)}Oe(ue,"cut",Be),Oe(ue,"copy",Be),Oe(O.scroller,"paste",function(ct){if(Dr(O,ct)||bt(re,ct))return;if(!ue.dispatchEvent){re.state.pasteIncoming=+new Date,q.focus();return}var Dt=new Event("paste");Dt.clipboardData=ct.clipboardData,ue.dispatchEvent(Dt)}),Oe(O.lineSpace,"selectstart",function(ct){Dr(O,ct)||Ge(ct)}),Oe(ue,"compositionstart",function(){var ct=re.getCursor("from");q.composing&&q.composing.range.clear(),q.composing={start:ct,range:re.markText(ct,re.getCursor("to"),{className:"CodeMirror-composing"})}}),Oe(ue,"compositionend",function(){q.composing&&(q.poll(),q.composing.range.clear(),q.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,F=O.display,q=O.doc,re=Ga(O);if(O.options.moveInputWithCursor){var ue=wa(O,q.sel.primary().head,"div"),Be=F.wrapper.getBoundingClientRect(),ct=F.lineDiv.getBoundingClientRect();re.teTop=Math.max(0,Math.min(F.wrapper.clientHeight-10,ue.top+ct.top-Be.top)),re.teLeft=Math.max(0,Math.min(F.wrapper.clientWidth-10,ue.left+ct.left-Be.left))}return re},Ei.prototype.showSelection=function(O){var F=this.cm,q=F.display;I(q.cursorDiv,O.cursors),I(q.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 F=this.cm;if(F.somethingSelected()){this.prevInput="";var q=F.getSelection();this.textarea.value=q,F.state.focused&&j(this.textarea),s&&u>=9&&(this.hasSelection=q)}else O||(this.prevInput=this.textarea.value="",s&&u>=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"&&(!h||k()!=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,F=this;F.pollingFast=!0;function q(){var re=F.poll();!re&&!O?(O=!0,F.polling.set(60,q)):(F.pollingFast=!1,F.slowPoll())}F.polling.set(20,q)},Ei.prototype.poll=function(){var O=this,F=this.cm,q=this.textarea,re=this.prevInput;if(this.contextMenuPending||!F.state.focused||pr(q)&&!re&&!this.composing||F.isReadOnly()||F.options.disableInput||F.state.keySeq)return!1;var ue=q.value;if(ue==re&&!F.somethingSelected())return!1;if(s&&u>=9&&this.hasSelection===ue||f&&/[\uf700-\uf7ff]/.test(ue))return F.display.input.reset(),!1;if(F.doc.sel==F.display.selForContextMenu){var Be=ue.charCodeAt(0);if(Be==8203&&!re&&(re="\u200B"),Be==8666)return this.reset(),this.cm.execCommand("undo")}for(var ct=0,Dt=Math.min(re.length,ue.length);ct<Dt&&re.charCodeAt(ct)==ue.charCodeAt(ct);)++ct;return Uo(F,function(){it(F,ue.slice(ct),re.length-ct,null,O.composing?"*compose":null),ue.length>1e3||ue.indexOf(`
|
|
|
`)>-1?q.value=O.prevInput="":O.prevInput=ue,O.composing&&(O.composing.range.clear(),O.composing.range=F.markText(O.composing.start,F.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ei.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ei.prototype.onKeyPress=function(){s&&u>=9&&(this.hasSelection=null),this.fastPoll()},Ei.prototype.onContextMenu=function(O){var F=this,q=F.cm,re=q.display,ue=F.textarea;F.contextMenuPending&&F.contextMenuPending();var Be=pa(q,O),ct=re.scroller.scrollTop;if(!Be||i)return;var Dt=q.options.resetSelectionOnContextMenu;Dt&&q.doc.sel.contains(Be)==-1&&Lo(q,Mo)(q.doc,_e(Be),se);var zt=ue.style.cssText,Qt=F.wrapper.style.cssText,Mr=F.wrapper.offsetParent.getBoundingClientRect();F.wrapper.style.cssText="position: static",ue.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(O.clientY-Mr.top-5)+"px; left: "+(O.clientX-Mr.left-5)+`px;
|
|
|
z-index: 1000; background: `+(s?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var tn;o&&(tn=window.scrollY),re.input.focus(),o&&window.scrollTo(null,tn),re.input.reset(),q.somethingSelected()||(ue.value=F.prevInput=" "),F.contextMenuPending=wn,re.selForContextMenu=q.doc.sel,clearTimeout(re.detectingSelectAll);function mn(){if(ue.selectionStart!=null){var yi=q.somethingSelected(),Fi="\u200B"+(yi?ue.value:"");ue.value="\u21DA",ue.value=Fi,F.prevInput=yi?"":"\u200B",ue.selectionStart=1,ue.selectionEnd=Fi.length,re.selForContextMenu=q.doc.sel}}function wn(){if(F.contextMenuPending!=wn)return;if(F.contextMenuPending=!1,F.wrapper.style.cssText=Qt,ue.style.cssText=zt,s&&u<9&&re.scrollbars.setScrollTop(re.scroller.scrollTop=ct),ue.selectionStart!=null){(!s||s&&u<9)&&mn();var yi=0,Fi=function Di(){re.selForContextMenu==q.doc.sel&&ue.selectionStart==0&&ue.selectionEnd>0&&F.prevInput=="\u200B"?Lo(q,Ns)(q):yi++<10?re.detectingSelectAll=setTimeout(Di,500):(re.selForContextMenu=null,re.input.reset())};re.detectingSelectAll=setTimeout(Fi,200)}}if(s&&u>=9&&mn(),C){we(O);var ri=function yi(){Qe(window,"mouseup",yi),setTimeout(wn,20)};Oe(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,F){if(F=F?K(F):{},F.value=O.value,!F.tabindex&&O.tabIndex&&(F.tabindex=O.tabIndex),!F.placeholder&&O.placeholder&&(F.placeholder=O.placeholder),F.autofocus==null){var q=k();F.autofocus=q==O||O.getAttribute("autofocus")!=null&&q==document.body}function re(){O.value=Dt.getValue()}var ue;if(O.form&&(Oe(O.form,"submit",re),!F.leaveSubmitMethodAlone)){var Be=O.form;ue=Be.submit;try{var ct=Be.submit=function(){re(),Be.submit=ue,Be.submit(),Be.submit=ct}}catch(zt){}}F.finishInit=function(zt){zt.save=re,zt.getTextArea=function(){return O},zt.toTextArea=function(){zt.toTextArea=isNaN,re(),O.parentNode.removeChild(zt.getWrapperElement()),O.style.display="",O.form&&(Qe(O.form,"submit",re),!F.leaveSubmitMethodAlone&&typeof O.form.submit=="function"&&(O.form.submit=ue))}},O.style.display="none";var Dt=er(function(zt){return O.parentNode.insertBefore(zt,O.nextSibling)},F);return Dt}function ta(O){O.off=Qe,O.on=Oe,O.wheelEventPixels=pn,O.Doc=$s,O.splitLines=lr,O.countColumn=U,O.findColumn=he,O.isWordChar=X,O.Pass=ae,O.signal=nt,O.Line=di,O.changeEnd=ze,O.scrollbarModel=ds,O.Pos=Kt,O.cmpPos=St,O.modes=At,O.mimeModes=Jt,O.resolveMode=Zr,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=De,O.SharedTextMarker=Ul,O.TextMarker=Bs,O.LineWidget=Is,O.e_preventDefault=Ge,O.e_stopPropagation=ie,O.e_stop=we,O.addClass=W,O.contains=N,O.rmClass=x,O.keyNames=Sl}Ue(er),rr(er);var oa="iter insert remove copy getEditor constructor".split(" ");for(var qa in $s.prototype)$s.prototype.hasOwnProperty(qa)&&V(oa,qa)<0&&(er.prototype[qa]=function(O){return function(){return O.apply(this.doc,arguments)}}($s.prototype[qa]));return Nt($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(F){return F.skipToEnd()}}}),er.defineMIME("text/plain","null"),er.defineExtension=function(O,F){er.prototype[O]=F},er.defineDocExtension=function(O,F){$s.prototype[O]=F},er.fromTextArea=da,ta(er),er.version="5.58.2",er})},W2nI:function(M,P,d){var w=d("IwbS"),A=d("ProS"),b=d("bYtY"),m=["itemStyle","opacity"],v=["emphasis","itemStyle","opacity"],p=["lineStyle","opacity"],s=["emphasis","lineStyle","opacity"];function u(l,t){return l.getVisual("opacity")||l.getModel().get(t)}function o(l,t,a){var c=l.getGraphicEl(),h=u(l,t);a!=null&&(h==null&&(h=1),h*=a),c.downplay&&c.downplay(),c.traverse(function(f){f.type!=="group"&&f.setStyle("opacity",h)})}function e(l,t){var a=u(l,t),c=l.getGraphicEl();c.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",a)}),c.highlight&&c.highlight()}var r=w.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(l,t){var a=t.extent;l.moveTo(t.x1,t.y1),l.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient==="vertical"?(l.lineTo(t.x2+a,t.y2),l.bezierCurveTo(t.cpx2+a,t.cpy2,t.cpx1+a,t.cpy1,t.x1+a,t.y1)):(l.lineTo(t.x2,t.y2+a),l.bezierCurveTo(t.cpx2,t.cpy2+a,t.cpx1,t.cpy1+a,t.x1,t.y1+a)),l.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),i=A.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(l,t,a){var c=this,h=l.getGraph(),f=this.group,g=l.layoutInfo,S=g.width,y=g.height,E=l.getData(),C=l.getData("edge"),T=l.get("orient");this._model=l,f.removeAll(),f.attr("position",[g.x,g.y]),h.eachEdge(function(x){var _=new r;_.dataIndex=x.dataIndex,_.seriesIndex=l.seriesIndex,_.dataType="edge";var I=x.getModel("lineStyle"),L=I.get("curveness"),D=x.node1.getLayout(),B=x.node1.getModel(),N=B.get("localX"),k=B.get("localY"),W=x.node2.getLayout(),R=x.node2.getModel(),j=R.get("localX"),H=R.get("localY"),K=x.getLayout(),U,Q,V,J,ae,se,$,ge;_.shape.extent=Math.max(1,K.dy),_.shape.orient=T,T==="vertical"?(U=(N!=null?N*S:D.x)+K.sy,Q=(k!=null?k*y:D.y)+D.dy,V=(j!=null?j*S:W.x)+K.ty,J=H!=null?H*y:W.y,ae=U,se=Q*(1-L)+J*L,$=V,ge=Q*L+J*(1-L)):(U=(N!=null?N*S:D.x)+D.dx,Q=(k!=null?k*y:D.y)+K.sy,V=j!=null?j*S:W.x,J=(H!=null?H*y:W.y)+K.ty,ae=U*(1-L)+V*L,se=Q,$=U*L+V*(1-L),ge=J),_.setShape({x1:U,y1:Q,x2:V,y2:J,cpx1:ae,cpy1:se,cpx2:$,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()),f.add(_),C.setItemGraphicEl(x.dataIndex,_)}),h.eachNode(function(x){var _=x.getLayout(),I=x.getModel(),L=I.get("localX"),D=I.get("localY"),B=I.getModel("label"),N=I.getModel("emphasis.label"),k=new w.Rect({shape:{x:L!=null?L*S:_.x,y:D!=null?D*y:_.y,width:_.dx,height:_.dy},style:I.getModel("itemStyle").getItemStyle()}),W=x.getModel("emphasis.itemStyle").getItemStyle();w.setLabelStyle(k.style,W,B,N,{labelFetcher:l,labelDataIndex:x.dataIndex,defaultText:x.id,isRectText:!0}),k.setStyle("fill",x.getVisual("color")),w.setHoverStyle(k,W),f.add(k),E.setItemGraphicEl(x.dataIndex,k),k.dataType="node"}),E.eachItemGraphicEl(function(x,_){var I=E.getItemModel(_);I.get("draggable")&&(x.drift=function(L,D){c._focusAdjacencyDisabled=!0,this.shape.x+=L,this.shape.y+=D,this.dirty(),a.dispatchAction({type:"dragNode",seriesId:l.id,dataIndex:E.getRawIndex(_),localX:this.shape.x/S,localY:this.shape.y/y})},x.ondragend=function(){c._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(){c._focusAdjacencyDisabled||(c._clearTimer(),a.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,dataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){c._focusAdjacencyDisabled||c._dispatchUnfocus(a)}))}),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(){c._focusAdjacencyDisabled||(c._clearTimer(),a.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,edgeDataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){c._focusAdjacencyDisabled||c._dispatchUnfocus(a)}))}),!this._data&&l.get("animation")&&f.setClipPath(n(f.getBoundingRect(),l,function(){f.removeClipPath()})),this._data=l.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(l){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){t._unfocusDelayTimer=null,l.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(l,t,a,c){var h=l.getData(),f=h.graph,g=c.dataIndex,S=h.getItemModel(g),y=c.edgeDataIndex;if(g==null&&y==null)return;var E=f.getNodeByIndex(g),C=f.getEdgeByIndex(y);if(f.eachNode(function(x){o(x,m,.1)}),f.eachEdge(function(x){o(x,p,.1)}),E){e(E,v);var T=S.get("focusNodeAdjacency");T==="outEdges"?b.each(E.outEdges,function(x){if(x.dataIndex<0)return;e(x,s),e(x.node2,v)}):T==="inEdges"?b.each(E.inEdges,function(x){if(x.dataIndex<0)return;e(x,s),e(x.node1,v)}):T==="allEdges"&&b.each(E.edges,function(x){if(x.dataIndex<0)return;e(x,s),x.node1!==E&&e(x.node1,v),x.node2!==E&&e(x.node2,v)})}C&&(e(C,s),e(C.node1,v),e(C.node2,v))},unfocusNodeAdjacency:function(l,t,a,c){var h=l.getGraph();h.eachNode(function(f){o(f,m)}),h.eachEdge(function(f){o(f,p)})}});function n(l,t,a){var c=new w.Rect({shape:{x:l.x-10,y:l.y-10,width:0,height:l.height+20}});return w.initProps(c,{shape:{width:l.width+20}},t,a),c}M.exports=i},W4dC:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=b.each,v=b.createHashMap,p=d("7DRL"),s=d("TIY9"),u=d("yS9w"),o=d("mFDi"),e={geoJSON:s,svg:u},r={load:function(t,a,c){var h=[],f=v(),g=v(),S,y=l(t);return m(y,function(E){var C=e[E.type].load(t,E,c);m(C.regions,function(x){var _=x.name;a&&a.hasOwnProperty(_)&&(x=x.cloneShallow(_=a[_])),h.push(x),f.set(_,x),g.set(_,x.center)});var T=C.boundingRect;T&&(S?S.union(T):S=T.clone())}),{regions:h,regionsMap:f,nameCoordMap:g,boundingRect:S||new o(0,0,0,0)}},makeGraphic:i("makeGraphic"),removeGraphic:i("removeGraphic")};function i(t){return function(a,c){var h=l(a),f=[];return m(h,function(g){var S=e[g.type][t];S&&f.push(S(a,g,c))}),f}}function n(t){}function l(t){var a=p.retrieveMap(t)||[];return a}M.exports=r},"W4y/":function(M,P,d){},WCfL:function(M,P,d){"use strict";var w=d("rePB"),A=d("U8pU"),b=d("wx14"),m=d("q1tI"),v=d("8XRh"),p=d("TSYQ"),s=d.n(p),u=d("9R2V"),o=d("kLeg"),e=d("ODXe");function r(C){var T=C.prefixCls,x=C.value,_=C.current,I=C.offset,L=I===void 0?0:I,D;return L&&(D={position:"absolute",top:"".concat(L,"00%"),left:0}),m.createElement("span",{style:D,className:s()("".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 n(C){var T=C.prefixCls,x=C.count,_=C.value,I=Number(_),L=Math.abs(x),D=m.useState(I),B=Object(e.a)(D,2),N=B[0],k=B[1],W=m.useState(L),R=Object(e.a)(W,2),j=R[0],H=R[1],K=function(){k(I),H(L)};m.useEffect(function(){var ge=setTimeout(function(){K()},1e3);return function(){clearTimeout(ge)}},[I]);var U,Q;if(N===I||Number.isNaN(I)||Number.isNaN(N))U=[m.createElement(r,Object(b.a)({},C,{key:I,current:!0}))],Q={transition:"none"};else{U=[];for(var V=I+10,J=[],ae=I;ae<=V;ae+=1)J.push(ae);var se=J.findIndex(function(ge){return ge%10===N});U=J.map(function(ge,he){var Ie=ge%10;return m.createElement(r,Object(b.a)({},C,{key:ge,value:Ie,offset:he-se,current:he===se}))});var $=j<L?1:-1;Q={transform:"translateY(".concat(-i(N,I,$),"00%)")}}return m.createElement("span",{className:"".concat(T,"-only"),style:Q,onTransitionEnd:K},U)}var l=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,D=T.style,B=T.title,N=T.show,k=T.component,W=k===void 0?"sup":k,R=T.children,j=l(T,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),H=m.useContext(u.b),K=H.getPrefixCls,U=K("scroll-number",x),Q=Object(b.a)(Object(b.a)({},j),{"data-show":N,style:D,className:s()(U,I,L),title:B}),V=_;if(_&&Number(_)%1===0){var J=String(_).split("");V=J.map(function(ae,se){return m.createElement(n,{prefixCls:U,count:Number(_),value:ae,key:J.length-se})})}return D&&D.borderColor&&(Q.style=Object(b.a)(Object(b.a)({},D),{boxShadow:"0 0 0 1px ".concat(D.borderColor," inset")})),R?Object(o.a)(R,function(ae){return{className:s()("".concat(U,"-custom-component"),ae==null?void 0:ae.className,L)}}):m.createElement(W,Q,V)},a=t,c=d("At67");function h(C){return c.a.indexOf(C)!==-1}var f=function(T){var x,_=T.className,I=T.prefixCls,L=T.style,D=T.color,B=T.children,N=T.text,k=T.placement,W=k===void 0?"end":k,R=m.useContext(u.b),j=R.getPrefixCls,H=R.direction,K=j("ribbon",I),U=h(D),Q=s()(K,"".concat(K,"-placement-").concat(W),(x={},Object(w.a)(x,"".concat(K,"-rtl"),H==="rtl"),Object(w.a)(x,"".concat(K,"-color-").concat(D),U),x),_),V={},J={};return D&&!U&&(V.background=D,J.color=D),m.createElement("div",{className:"".concat(K,"-wrapper")},B,m.createElement("div",{className:Q,style:Object(b.a)(Object(b.a)({},V),L)},m.createElement("span",{className:"".concat(K,"-text")},N),m.createElement("div",{className:"".concat(K,"-corner"),style:J})))},g=f,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},y=function(T){var x,_,I=T.prefixCls,L=T.scrollNumberPrefixCls,D=T.children,B=T.status,N=T.text,k=T.color,W=T.count,R=W===void 0?null:W,j=T.overflowCount,H=j===void 0?99:j,K=T.dot,U=K===void 0?!1:K,Q=T.size,V=Q===void 0?"default":Q,J=T.title,ae=T.offset,se=T.style,$=T.className,ge=T.showZero,he=ge===void 0?!1:ge,Ie=S(T,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),Se=m.useContext(u.b),Le=Se.getPrefixCls,He=Se.direction,G=Le("badge",I),pe=R>H?"".concat(H,"+"):R,We=B!=null||k!=null,te=pe==="0"||pe===0,X=U&&!te,z=X?"":pe,Z=Object(m.useMemo)(function(){var nt=z==null||z==="";return(nt||te&&!he)&&!X},[z,te,he,X]),be=Object(m.useRef)(R);Z||(be.current=R);var ne=be.current,Ae=Object(m.useRef)(z);Z||(Ae.current=z);var Ne=Ae.current,oe=Object(m.useRef)(X);Z||(oe.current=X);var de=Object(m.useMemo)(function(){if(!ae)return Object(b.a)({},se);var nt={marginTop:ae[1]};return He==="rtl"?nt.left=parseInt(ae[0],10):nt.right=-parseInt(ae[0],10),Object(b.a)(Object(b.a)({},nt),se)},[He,ae,se]),xe=J!=null?J:typeof ne=="string"||typeof ne=="number"?ne:void 0,Pe=Z||!N?null:m.createElement("span",{className:"".concat(G,"-status-text")},N),tt=!ne||Object(A.a)(ne)!=="object"?void 0:Object(o.a)(ne,function(nt){return{style:Object(b.a)(Object(b.a)({},de),nt.style)}}),Je=s()((x={},Object(w.a)(x,"".concat(G,"-status-dot"),We),Object(w.a)(x,"".concat(G,"-status-").concat(B),!!B),Object(w.a)(x,"".concat(G,"-status-").concat(k),h(k)),x)),Oe={};k&&!h(k)&&(Oe.background=k);var pt=s()(G,(_={},Object(w.a)(_,"".concat(G,"-status"),We),Object(w.a)(_,"".concat(G,"-not-a-wrapper"),!D),Object(w.a)(_,"".concat(G,"-rtl"),He==="rtl"),_),$);if(!D&&We){var Qe=de.color;return m.createElement("span",Object(b.a)({},Ie,{className:pt,style:de}),m.createElement("span",{className:Je,style:Oe}),m.createElement("span",{style:{color:Qe},className:"".concat(G,"-status-text")},N))}return m.createElement("span",Object(b.a)({},Ie,{className:pt}),D,m.createElement(v.default,{visible:!Z,motionName:"".concat(G,"-zoom"),motionAppear:!1},function(nt){var bt,Tt=nt.className,Ct=Le("scroll-number",L),Nt=oe.current,Ge=s()((bt={},Object(w.a)(bt,"".concat(G,"-dot"),Nt),Object(w.a)(bt,"".concat(G,"-count"),!Nt),Object(w.a)(bt,"".concat(G,"-count-sm"),V==="small"),Object(w.a)(bt,"".concat(G,"-multiple-words"),!Nt&&Ne&&Ne.toString().length>1),Object(w.a)(bt,"".concat(G,"-status-").concat(B),!!B),Object(w.a)(bt,"".concat(G,"-status-").concat(k),h(k)),bt)),ie=Object(b.a)({},de);return k&&!h(k)&&(ie=ie||{},ie.background=k),m.createElement(a,{prefixCls:Ct,show:!Z,motionClassName:Tt,className:Ge,count:Ne,title:xe,style:ie,key:"scrollNumber"},tt)}),Pe)};y.Ribbon=g;var E=P.a=y},WGYa:function(M,P,d){var w=d("7yuC"),A=w.forceLayout,b=d("HF/U"),m=b.simpleLayout,v=d("lOQZ"),p=v.circularLayout,s=d("OELB"),u=s.linearMap,o=d("QBsz"),e=d("bYtY");function r(i){i.eachSeriesByType("graph",function(n){var l=n.coordinateSystem;if(l&&l.type!=="view")return;if(n.get("layout")==="force"){var t=n.preservedPoints||{},a=n.getGraph(),c=a.data,h=a.edgeData,f=n.getModel("force"),g=f.get("initLayout");n.preservedPoints?c.each(function(B){var N=c.getId(B);c.setItemLayout(B,t[N]||[NaN,NaN])}):!g||g==="none"?m(n):g==="circular"&&p(n,"value");var S=c.getDataExtent("value"),y=h.getDataExtent("value"),E=f.get("repulsion"),C=f.get("edgeLength");e.isArray(E)||(E=[E,E]),e.isArray(C)||(C=[C,C]),C=[C[1],C[0]];var T=c.mapArray("value",function(B,N){var k=c.getItemLayout(N),W=u(B,S,E);return isNaN(W)&&(W=(E[0]+E[1])/2),{w:W,rep:W,fixed:c.getItemModel(N).get("fixed"),p:!k||isNaN(k[0])||isNaN(k[1])?null:k}}),x=h.mapArray("value",function(B,N){var k=a.getEdgeByIndex(N),W=u(B,y,C);isNaN(W)&&(W=(C[0]+C[1])/2);var R=k.getModel();return{n1:T[k.node1.dataIndex],n2:T[k.node2.dataIndex],d:W,curveness:R.get("lineStyle.curveness")||0,ignoreForceLayout:R.get("ignoreForceLayout")}}),l=n.coordinateSystem,_=l.getBoundingRect(),I=A(T,x,{rect:_,gravity:f.get("gravity"),friction:f.get("friction")}),L=I.step;I.step=function(B){for(var N=0,k=T.length;N<k;N++)T[N].fixed&&o.copy(T[N].p,a.getNodeByIndex(N).getLayout());L(function(W,R,j){for(var H=0,K=W.length;H<K;H++)W[H].fixed||a.getNodeByIndex(H).setLayout(W[H].p),t[c.getId(H)]=W[H].p;for(var H=0,K=R.length;H<K;H++){var U=R[H],Q=a.getEdgeByIndex(H),V=U.n1.p,J=U.n2.p,ae=Q.getLayout();ae=ae?ae.slice():[],ae[0]=ae[0]||[],ae[1]=ae[1]||[],o.copy(ae[0],V),o.copy(ae[1],J),+U.curveness&&(ae[2]=[(V[0]+J[0])/2-(V[1]-J[1])*U.curveness,(V[1]+J[1])/2-(J[0]-V[0])*U.curveness]),Q.setLayout(ae)}B&&B(j)})},n.forceLayout=I,n.preservedPoints=t,I.step()}else n.forceLayout=null})}M.exports=r},WI4W:function(M,P,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("ODXe"),m=d("q1tI"),v=d("Ff2n"),p=d("1OyB"),s=d("vuIU"),u=d("Ji7U"),o=d("LK+K"),e=d("1W/9"),r=d("VTBJ"),i=d("JX7q"),n=d("TSYQ"),l=d.n(n),t=d("qx4F"),a=d("4IlW"),c=d("bT9E");function h($){return Array.isArray($)?$:[$]}var f={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},g=Object.keys(f).filter(function($){if(typeof document=="undefined")return!1;var ge=document.getElementsByTagName("html")[0];return $ in(ge?ge.style:{})})[0],S=f[g];function y($,ge,he,Ie){$.addEventListener?$.addEventListener(ge,he,Ie):$.attachEvent&&$.attachEvent("on".concat(ge),he)}function E($,ge,he,Ie){$.removeEventListener?$.removeEventListener(ge,he,Ie):$.attachEvent&&$.detachEvent("on".concat(ge),he)}function C($,ge){var he=typeof $=="function"?$(ge):$;return Array.isArray(he)?he.length===2?he:[he[0],he[1]]:[he]}var T=function(ge){return!isNaN(parseFloat(ge))&&isFinite(ge)},x=!(typeof window!="undefined"&&window.document&&window.document.createElement),_=function $(ge,he,Ie,Se){if(!he||he===document||he instanceof Document)return!1;if(he===ge.parentNode)return!0;var Le=Math.max(Math.abs(Ie),Math.abs(Se))===Math.abs(Se),He=Math.max(Math.abs(Ie),Math.abs(Se))===Math.abs(Ie),G=he.scrollHeight-he.clientHeight,pe=he.scrollWidth-he.clientWidth,We=document.defaultView.getComputedStyle(he),te=We.overflowY==="auto"||We.overflowY==="scroll",X=We.overflowX==="auto"||We.overflowX==="scroll",z=G&&te,Z=pe&&X;return Le&&(!z||z&&(he.scrollTop>=G&&Se<0||he.scrollTop<=0&&Se>0))||He&&(!Z||Z&&(he.scrollLeft>=pe&&Ie<0||he.scrollLeft<=0&&Ie>0))?$(ge,he.parentNode,Ie,Se):!1},I={},L=function($){Object(u.a)(he,$);var ge=Object(o.a)(he);function he(Ie){var Se;return Object(p.a)(this,he),Se=ge.call(this,Ie),Se.domFocus=function(){Se.dom&&Se.dom.focus()},Se.removeStartHandler=function(Le){if(Le.touches.length>1)return;Se.startPos={x:Le.touches[0].clientX,y:Le.touches[0].clientY}},Se.removeMoveHandler=function(Le){if(Le.changedTouches.length>1)return;var He=Le.currentTarget,G=Le.changedTouches[0].clientX-Se.startPos.x,pe=Le.changedTouches[0].clientY-Se.startPos.y;(He===Se.maskDom||He===Se.handlerDom||He===Se.contentDom&&_(He,Le.target,G,pe))&&Le.cancelable&&Le.preventDefault()},Se.transitionEnd=function(Le){var He=Le.target;E(He,S,Se.transitionEnd),He.style.transition=""},Se.onKeyDown=function(Le){if(Le.keyCode===a.a.ESC){var He=Se.props.onClose;Le.stopPropagation(),He&&He(Le)}},Se.onWrapperTransitionEnd=function(Le){var He=Se.props,G=He.open,pe=He.afterVisibleChange;Le.target===Se.contentWrapper&&Le.propertyName.match(/transform$/)&&(Se.dom.style.transition="",!G&&Se.getCurrentDrawerSome()&&(document.body.style.overflowX="",Se.maskDom&&(Se.maskDom.style.left="",Se.maskDom.style.width="")),pe&&pe(!!G))},Se.openLevelTransition=function(){var Le=Se.props,He=Le.open,G=Le.width,pe=Le.height,We=Se.getHorizontalBoolAndPlacementName(),te=We.isHorizontal,X=We.placementName,z=Se.contentDom?Se.contentDom.getBoundingClientRect()[te?"width":"height"]:0,Z=(te?G:pe)||z;Se.setLevelAndScrolling(He,X,Z)},Se.setLevelTransform=function(Le,He,G,pe){var We=Se.props,te=We.placement,X=We.levelMove,z=We.duration,Z=We.ease,be=We.showMask;Se.levelDom.forEach(function(ne){ne.style.transition="transform ".concat(z," ").concat(Z),y(ne,S,Se.transitionEnd);var Ae=Le?G:0;if(X){var Ne=C(X,{target:ne,open:Le});Ae=Le?Ne[0]:Ne[1]||0}var oe=typeof Ae=="number"?"".concat(Ae,"px"):Ae,de=te==="left"||te==="top"?oe:"-".concat(oe);de=be&&te==="right"&&pe?"calc(".concat(de," + ").concat(pe,"px)"):de,ne.style.transform=Ae?"".concat(He,"(").concat(de,")"):""})},Se.setLevelAndScrolling=function(Le,He,G){var pe=Se.props.onChange;if(!x){var We=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(t.a)(!0):0;Se.setLevelTransform(Le,He,G,We),Se.toggleScrollingToDrawerAndBody(We)}pe&&pe(Le)},Se.toggleScrollingToDrawerAndBody=function(Le){var He=Se.props,G=He.getContainer,pe=He.showMask,We=He.open,te=G&&G();if(te&&te.parentNode===document.body&&pe){var X=["touchstart"],z=[document.body,Se.maskDom,Se.handlerDom,Se.contentDom];We&&document.body.style.overflow!=="hidden"?(Le&&Se.addScrollingEffect(Le),document.body.style.touchAction="none",z.forEach(function(Z,be){if(!Z)return;y(Z,X[be]||"touchmove",be?Se.removeMoveHandler:Se.removeStartHandler,Se.passive)})):Se.getCurrentDrawerSome()&&(document.body.style.touchAction="",Le&&Se.remScrollingEffect(Le),z.forEach(function(Z,be){if(!Z)return;E(Z,X[be]||"touchmove",be?Se.removeMoveHandler:Se.removeStartHandler,Se.passive)}))}},Se.addScrollingEffect=function(Le){var He=Se.props,G=He.placement,pe=He.duration,We=He.ease,te="width ".concat(pe," ").concat(We),X="transform ".concat(pe," ").concat(We);Se.dom.style.transition="none";switch(G){case"right":Se.dom.style.transform="translateX(-".concat(Le,"px)");break;case"top":case"bottom":Se.dom.style.width="calc(100% - ".concat(Le,"px)"),Se.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(Se.timeout),Se.timeout=setTimeout(function(){Se.dom&&(Se.dom.style.transition="".concat(X,",").concat(te),Se.dom.style.width="",Se.dom.style.transform="")})},Se.remScrollingEffect=function(Le){var He=Se.props,G=He.placement,pe=He.duration,We=He.ease;g&&(document.body.style.overflowX="hidden"),Se.dom.style.transition="none";var te,X="width ".concat(pe," ").concat(We),z="transform ".concat(pe," ").concat(We);switch(G){case"left":{Se.dom.style.width="100%",X="width 0s ".concat(We," ").concat(pe);break}case"right":{Se.dom.style.transform="translateX(".concat(Le,"px)"),Se.dom.style.width="100%",X="width 0s ".concat(We," ").concat(pe),Se.maskDom&&(Se.maskDom.style.left="-".concat(Le,"px"),Se.maskDom.style.width="calc(100% + ".concat(Le,"px)"));break}case"top":case"bottom":{Se.dom.style.width="calc(100% + ".concat(Le,"px)"),Se.dom.style.height="100%",Se.dom.style.transform="translateZ(0)",te="height 0s ".concat(We," ").concat(pe);break}default:break}clearTimeout(Se.timeout),Se.timeout=setTimeout(function(){Se.dom&&(Se.dom.style.transition="".concat(z,",").concat(te?"".concat(te,","):"").concat(X),Se.dom.style.transform="",Se.dom.style.width="",Se.dom.style.height="")})},Se.getCurrentDrawerSome=function(){return!Object.keys(I).some(function(Le){return I[Le]})},Se.getLevelDom=function(Le){var He=Le.level,G=Le.getContainer;if(x)return;var pe=G&&G(),We=pe?pe.parentNode:null;if(Se.levelDom=[],He==="all"){var te=We?Array.prototype.slice.call(We.children):[];te.forEach(function(X){X.nodeName!=="SCRIPT"&&X.nodeName!=="STYLE"&&X.nodeName!=="LINK"&&X!==pe&&Se.levelDom.push(X)})}else He&&h(He).forEach(function(X){document.querySelectorAll(X).forEach(function(z){Se.levelDom.push(z)})})},Se.getHorizontalBoolAndPlacementName=function(){var Le=Se.props.placement,He=Le==="left"||Le==="right",G="translate".concat(He?"X":"Y");return{isHorizontal:He,placementName:G}},Se.state={_self:Object(i.a)(Se)},Se}return Object(s.a)(he,[{key:"componentDidMount",value:function(){var Se=this;if(!x){var Le=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Le=!0,null}}))}catch(z){}this.passive=Le?{passive:!1}:!1}var He=this.props,G=He.open,pe=He.getContainer,We=He.showMask,te=pe&&pe();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),G&&(te&&te.parentNode===document.body&&(I[this.drawerId]=G),this.openLevelTransition(),this.forceUpdate(function(){Se.domFocus()}),We)){var X;(X=this.props.scrollLocker)===null||X===void 0||X.lock()}}},{key:"componentDidUpdate",value:function(Se){var Le=this.props,He=Le.open,G=Le.getContainer,pe=Le.scrollLocker,We=Le.showMask,te=G&&G();He!==Se.open&&(te&&te.parentNode===document.body&&(I[this.drawerId]=!!He),this.openLevelTransition(),He?(this.domFocus(),We&&(pe==null||pe.lock())):pe==null||pe.unLock())}},{key:"componentWillUnmount",value:function(){var Se=this.props,Le=Se.open,He=Se.scrollLocker;delete I[this.drawerId],Le&&(this.setLevelTransform(!1),document.body.style.touchAction=""),He==null||He.unLock()}},{key:"render",value:function(){var Se,Le=this,He=this.props,G=He.className,pe=He.children,We=He.style,te=He.width,X=He.height,z=He.defaultOpen,Z=He.open,be=He.prefixCls,ne=He.placement,Ae=He.level,Ne=He.levelMove,oe=He.ease,de=He.duration,xe=He.getContainer,Pe=He.handler,tt=He.onChange,Je=He.afterVisibleChange,Oe=He.showMask,pt=He.maskClosable,Qe=He.maskStyle,nt=He.onClose,bt=He.onHandleClick,Tt=He.keyboard,Ct=He.getOpenCount,Nt=He.scrollLocker,Ge=He.contentWrapperStyle,ie=Object(v.a)(He,["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"]),Y=this.dom?Z:!1,we=l()(be,(Se={},Object(w.a)(Se,"".concat(be,"-").concat(ne),!0),Object(w.a)(Se,"".concat(be,"-open"),Y),Object(w.a)(Se,G||"",!!G),Object(w.a)(Se,"no-mask",!Oe),Se)),Ce=this.getHorizontalBoolAndPlacementName(),le=Ce.placementName,ot=ne==="left"||ne==="top"?"-100%":"100%",wt=Y?"":"".concat(le,"(").concat(ot,")"),rt=Pe&&m.cloneElement(Pe,{onClick:function(Gt){Pe.props.onClick&&Pe.props.onClick(),bt&&bt(Gt)},ref:function(Gt){Le.handlerDom=Gt}});return m.createElement("div",Object(A.a)({},Object(c.a)(ie,["switchScrollingEffect"]),{tabIndex:-1,className:we,style:We,ref:function(Gt){Le.dom=Gt},onKeyDown:Y&&Tt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),Oe&&m.createElement("div",{className:"".concat(be,"-mask"),onClick:pt?nt:void 0,style:Qe,ref:function(Gt){Le.maskDom=Gt}}),m.createElement("div",{className:"".concat(be,"-content-wrapper"),style:Object(r.a)({transform:wt,msTransform:wt,width:T(te)?"".concat(te,"px"):te,height:T(X)?"".concat(X,"px"):X},Ge),ref:function(Gt){Le.contentWrapper=Gt}},m.createElement("div",{className:"".concat(be,"-content"),ref:function(Gt){Le.contentDom=Gt},onTouchStart:Y&&Oe?this.removeStartHandler:void 0,onTouchMove:Y&&Oe?this.removeMoveHandler:void 0},pe),rt))}}],[{key:"getDerivedStateFromProps",value:function(Se,Le){var He=Le.prevProps,G=Le._self,pe={prevProps:Se};if(He!==void 0){var We=Se.placement,te=Se.level;We!==He.placement&&(G.contentDom=null),te!==He.level&&G.getLevelDom(Se)}return pe}}]),he}(m.Component),D=L,B=function($){Object(u.a)(he,$);var ge=Object(o.a)(he);function he(Ie){var Se;Object(p.a)(this,he),Se=ge.call(this,Ie),Se.onHandleClick=function(He){var G=Se.props,pe=G.onHandleClick,We=G.open;if(pe&&pe(He),typeof We=="undefined"){var te=Se.state.open;Se.setState({open:!te})}},Se.onClose=function(He){var G=Se.props,pe=G.onClose,We=G.open;pe&&pe(He),typeof We=="undefined"&&Se.setState({open:!1})};var Le=typeof Ie.open!="undefined"?Ie.open:!!Ie.defaultOpen;return Se.state={open:Le},"onMaskClick"in Ie&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),Se}return Object(s.a)(he,[{key:"render",value:function(){var Se=this,Le=this.props,He=Le.defaultOpen,G=Le.getContainer,pe=Le.wrapperClassName,We=Le.forceRender,te=Le.handler,X=Object(v.a)(Le,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),z=this.state.open;if(!G)return m.createElement("div",{className:pe,ref:function(ne){Se.dom=ne}},m.createElement(D,Object(A.a)({},X,{open:z,handler:te,getContainer:function(){return Se.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Z=!!te||We;return m.createElement(e.a,{visible:z,forceRender:Z,getContainer:G,wrapperClassName:pe},function(be){var ne=be.visible,Ae=be.afterClose,Ne=Object(v.a)(be,["visible","afterClose"]);return m.createElement(D,Object(A.a)({},X,Ne,{open:ne!==void 0?ne:z,afterVisibleChange:Ae!==void 0?Ae:X.afterVisibleChange,handler:te,onClose:Se.onClose,onHandleClick:Se.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(Se,Le){var He=Le.prevProps,G={prevProps:Se};return typeof He!="undefined"&&Se.open!==He.open&&(G.open=Se.open),G}}]),he}(m.Component);B.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 N=B,k=N,W=d("4i/N"),R=d("9R2V"),j=d("6LNJ"),H=d("oMPz"),K=function($,ge){var he={};for(var Ie in $)Object.prototype.hasOwnProperty.call($,Ie)&&ge.indexOf(Ie)<0&&(he[Ie]=$[Ie]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Ie=Object.getOwnPropertySymbols($);Se<Ie.length;Se++)ge.indexOf(Ie[Se])<0&&Object.prototype.propertyIsEnumerable.call($,Ie[Se])&&(he[Ie[Se]]=$[Ie[Se]]);return he},U=m.createContext(null),Q=Object(j.a)("top","right","bottom","left"),V={distance:180},J=m.forwardRef(function($,ge){var he=$.width,Ie=he===void 0?256:he,Se=$.height,Le=Se===void 0?256:Se,He=$.closable,G=He===void 0?!0:He,pe=$.placement,We=pe===void 0?"right":pe,te=$.maskClosable,X=te===void 0?!0:te,z=$.mask,Z=z===void 0?!0:z,be=$.level,ne=be===void 0?null:be,Ae=$.keyboard,Ne=Ae===void 0?!0:Ae,oe=$.push,de=oe===void 0?V:oe,xe=$.closeIcon,Pe=xe===void 0?m.createElement(W.a,null):xe,tt=$.bodyStyle,Je=$.drawerStyle,Oe=$.prefixCls,pt=$.className,Qe=$.direction,nt=$.visible,bt=$.children,Tt=$.zIndex,Ct=$.destroyOnClose,Nt=$.style,Ge=$.title,ie=$.headerStyle,Y=$.onClose,we=$.footer,Ce=$.footerStyle,le=K($,["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)(),wt=m.useState(!1),rt=Object(b.a)(wt,2),It=rt[0],Gt=rt[1],lr=m.useContext(U),pr=m.useRef(!1);m.useEffect(function(){return nt&&lr&&lr.push(),function(){lr&&lr.pull()}},[]),m.useEffect(function(){lr&&(nt?lr.push():lr.pull())},[nt]);var Rr=m.useMemo(function(){return{push:function(){de&&Gt(!0)},pull:function(){de&&Gt(!1)}}},[de]);m.useImperativeHandle(ge,function(){return Rr},[Rr]);var xt=Ct&&!nt,Ot=function(){if(!xt)return;nt||(pr.current=!0,ot())},At=function(){if(!nt&&!Z)return{};var vt={};return We==="left"||We==="right"?vt.width=Ie:vt.height=Le,vt},Jt=function(){var vt=function(je){var Ye;if(typeof de=="boolean"?Ye=de?V.distance:0:Ye=de.distance,Ye=parseFloat(String(Ye||0)),je==="left"||je==="right")return"translateX(".concat(je==="left"?Ye:-Ye,"px)");if(je==="top"||je==="bottom")return"translateY(".concat(je==="top"?Ye:-Ye,"px)")},ft=Z?{}:At();return Object(A.a)(Object(A.a)({zIndex:Tt,transform:It?vt(We):void 0},ft),Nt)};function br(){return G&&m.createElement("button",{type:"button",onClick:Y,"aria-label":"Close",className:"".concat(Oe,"-close"),style:{"--scroll-bar":"".concat(Object(t.a)(),"px")}},Pe)}function Lr(){if(!Ge&&!G)return null;var fr=Ge?"".concat(Oe,"-header"):"".concat(Oe,"-header-no-title");return m.createElement("div",{className:fr,style:ie},Ge&&m.createElement("div",{className:"".concat(Oe,"-title")},Ge),G&&br())}function Zr(){if(!we)return null;var fr="".concat(Oe,"-footer");return m.createElement("div",{className:fr,style:Ce},we)}var In=function(){if(pr.current&&!nt)return null;pr.current=!1;var vt={};return xt&&(vt.opacity=0,vt.transition="opacity .3s"),m.createElement("div",{className:"".concat(Oe,"-wrapper-body"),style:Object(A.a)(Object(A.a)({},vt),Je),onTransitionEnd:Ot},Lr(),m.createElement("div",{className:"".concat(Oe,"-body"),style:tt},bt),Zr())},Gr=l()(Object(w.a)({"no-mask":!Z},"".concat(Oe,"-rtl"),Qe==="rtl"),pt),Tr=Z?At():{};return m.createElement(U.Provider,{value:Rr},m.createElement(k,Object(A.a)({handler:!1},Object(A.a)({placement:We,prefixCls:Oe,maskClosable:X,level:ne,keyboard:Ne,children:bt,onClose:Y},le),Tr,{open:nt,showMask:Z,style:Jt(),className:Gr}),In()))});J.displayName="Drawer";var ae=m.forwardRef(function($,ge){var he=$.prefixCls,Ie=$.getContainer,Se=m.useContext(R.b),Le=Se.getPopupContainer,He=Se.getPrefixCls,G=Se.direction,pe=He("drawer",he),We=Ie===void 0&&Le?function(){return Le(document.body)}:Ie;return m.createElement(J,Object(A.a)({},$,{ref:ge,prefixCls:pe,getContainer:We,direction:G}))});ae.displayName="DrawerWrapper";var se=P.a=ae},WKfj:function(M,P,d){"use strict";d.d(P,"d",function(){return A}),d.d(P,"e",function(){return b}),d.d(P,"f",function(){return m}),d.d(P,"c",function(){return v}),d.d(P,"b",function(){return s}),d.d(P,"a",function(){return o});var w=d("KQm4");function A(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function b(e,r){var i=r.labelInValue,n=r.combobox,l=new Map;if(e===void 0||e===""&&n)return[[],l];var t=Array.isArray(e)?e:[e],a=t;return i&&(a=t.filter(function(c){return c!==null}).map(function(c){var h=c.key,f=c.value,g=f!==void 0?f:h;return l.set(g,c),g})),[a,l]}function m(e,r){var i=r.optionLabelProp,n=r.labelInValue,l=r.prevValueMap,t=r.options,a=r.getLabeledValue,c=e;return n&&(c=c.map(function(h){return a(h,{options:t,prevValueMap:l,labelInValue:n,optionLabelProp:i})})),c}function v(e,r){var i=Object(w.a)(r),n;for(n=e.length-1;n>=0&&e[n].disabled;n-=1);var l=null;return n!==-1&&(l=i[n],i.splice(n,1)),{values:i,removedValue:l}}var p=typeof window!="undefined"&&window.document&&window.document.documentElement,s=p,u=0;function o(){var e;return s?(e=u,u+=1):e="TEST_OR_SSR",e}},"WN+l":function(M,P,d){var w=d("bYtY"),A=d("IwbS");function b(v,p,s,u){var o=s.axis;if(o.scale.isBlank())return;var e=s.getModel("splitArea"),r=e.getModel("areaStyle"),i=r.get("color"),n=u.coordinateSystem.getRect(),l=o.getTicksCoords({tickModel:e,clamp:!0});if(!l.length)return;var t=i.length,a=v.__splitAreaColors,c=w.createHashMap(),h=0;if(a)for(var f=0;f<l.length;f++){var g=a.get(l[f].tickValue);if(g!=null){h=(g+(t-1)*f)%t;break}}var S=o.toGlobalCoord(l[0].coord),y=r.getAreaStyle();i=w.isArray(i)?i:[i];for(var f=1;f<l.length;f++){var E=o.toGlobalCoord(l[f].coord),C,T,x,_;o.isHorizontal()?(C=S,T=n.y,x=E-C,_=n.height,S=C+x):(C=n.x,T=S,x=n.width,_=E-T,S=T+_);var I=l[f-1].tickValue;I!=null&&c.set(I,h),p.add(new A.Rect({anid:I!=null?"area_"+I:null,shape:{x:C,y:T,width:x,height:_},style:w.defaults({fill:i[h]},y),silent:!0})),h=(h+1)%t}v.__splitAreaColors=c}function m(v){v.__splitAreaColors=null}P.rectCoordAxisBuildSplitArea=b,P.rectCoordAxisHandleRemove=m},WSfB:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.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"},A=w;P.default=A},WaYH:function(M,P,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("Ff2n"),m=d("VTBJ"),v=d("1OyB"),p=d("vuIU"),s=d("JX7q"),u=d("Ji7U"),o=d("LK+K"),e=d("q1tI"),r=d("TSYQ"),i=d.n(r),n=d("sboe"),l=d("OZM5"),t=function(x){for(var _=x.prefixCls,I=x.level,L=x.isStart,D=x.isEnd,B="".concat(_,"-indent-unit"),N=[],k=0;k<I;k+=1){var W;N.push(e.createElement("span",{key:k,className:i()(B,(W={},Object(A.a)(W,"".concat(B,"-start"),L[k]),Object(A.a)(W,"".concat(B,"-end"),D[k]),W))}))}return e.createElement("span",{"aria-hidden":"true",className:"".concat(_,"-indent")},N)},a=t,c=d("815F"),h=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove"],f="open",g="close",S="---",y=function(T){Object(u.a)(_,T);var x=Object(o.a)(_);function _(){var I;Object(v.a)(this,_);for(var L=arguments.length,D=new Array(L),B=0;B<L;B++)D[B]=arguments[B];return I=x.call.apply(x,[this].concat(D)),I.state={dragNodeHighlight:!1},I.selectHandle=void 0,I.onSelectorClick=function(N){var k=I.props.context.onNodeClick;k(N,Object(c.b)(I.props)),I.isSelectable()?I.onSelect(N):I.onCheck(N)},I.onSelectorDoubleClick=function(N){var k=I.props.context.onNodeDoubleClick;k(N,Object(c.b)(I.props))},I.onSelect=function(N){if(I.isDisabled())return;var k=I.props.context.onNodeSelect;N.preventDefault(),k(N,Object(c.b)(I.props))},I.onCheck=function(N){if(I.isDisabled())return;var k=I.props,W=k.disableCheckbox,R=k.checked,j=I.props.context.onNodeCheck;if(!I.isCheckable()||W)return;N.preventDefault();var H=!R;j(N,Object(c.b)(I.props),H)},I.onMouseEnter=function(N){var k=I.props.context.onNodeMouseEnter;k(N,Object(c.b)(I.props))},I.onMouseLeave=function(N){var k=I.props.context.onNodeMouseLeave;k(N,Object(c.b)(I.props))},I.onContextMenu=function(N){var k=I.props.context.onNodeContextMenu;k(N,Object(c.b)(I.props))},I.onDragStart=function(N){var k=I.props.context.onNodeDragStart;N.stopPropagation(),I.setState({dragNodeHighlight:!0}),k(N,Object(s.a)(I));try{N.dataTransfer.setData("text/plain","")}catch(W){}},I.onDragEnter=function(N){var k=I.props.context.onNodeDragEnter;N.preventDefault(),N.stopPropagation(),k(N,Object(s.a)(I))},I.onDragOver=function(N){var k=I.props.context.onNodeDragOver;N.preventDefault(),N.stopPropagation(),k(N,Object(s.a)(I))},I.onDragLeave=function(N){var k=I.props.context.onNodeDragLeave;N.stopPropagation(),k(N,Object(s.a)(I))},I.onDragEnd=function(N){var k=I.props.context.onNodeDragEnd;N.stopPropagation(),I.setState({dragNodeHighlight:!1}),k(N,Object(s.a)(I))},I.onDrop=function(N){var k=I.props.context.onNodeDrop;N.preventDefault(),N.stopPropagation(),I.setState({dragNodeHighlight:!1}),k(N,Object(s.a)(I))},I.onExpand=function(N){var k=I.props,W=k.loading,R=k.context.onNodeExpand;if(W)return;R(N,Object(c.b)(I.props))},I.setSelectHandle=function(N){I.selectHandle=N},I.getNodeState=function(){var N=I.props.expanded;return I.isLeaf()?null:N?f:g},I.hasChildren=function(){var N=I.props.eventKey,k=I.props.context.keyEntities,W=k[N]||{},R=W.children;return!!(R||[]).length},I.isLeaf=function(){var N=I.props,k=N.isLeaf,W=N.loaded,R=I.props.context.loadData,j=I.hasChildren();return k===!1?!1:k||!R&&!j||R&&W&&!j},I.isDisabled=function(){var N=I.props.disabled,k=I.props.context.disabled;return!!(k||N)},I.isCheckable=function(){var N=I.props.checkable,k=I.props.context.checkable;return!k||N===!1?!1:k},I.syncLoadData=function(N){var k=N.expanded,W=N.loading,R=N.loaded,j=I.props.context,H=j.loadData,K=j.onNodeLoad;if(W)return;H&&k&&!I.isLeaf()&&(!I.hasChildren()&&!R&&K(Object(c.b)(I.props)))},I.renderSwitcherIconDom=function(N){var k=I.props.switcherIcon,W=I.props.context.switcherIcon,R=k||W;return typeof R=="function"?R(Object(m.a)(Object(m.a)({},I.props),{},{isLeaf:N})):R},I.renderSwitcher=function(){var N=I.props.expanded,k=I.props.context.prefixCls;if(I.isLeaf()){var W=I.renderSwitcherIconDom(!0);return W!==!1?e.createElement("span",{className:i()("".concat(k,"-switcher"),"".concat(k,"-switcher-noop"))},W):null}var R=i()("".concat(k,"-switcher"),"".concat(k,"-switcher_").concat(N?f:g)),j=I.renderSwitcherIconDom(!1);return j!==!1?e.createElement("span",{onClick:I.onExpand,className:R},j):null},I.renderCheckbox=function(){var N=I.props,k=N.checked,W=N.halfChecked,R=N.disableCheckbox,j=I.props.context.prefixCls,H=I.isDisabled(),K=I.isCheckable();if(!K)return null;var U=typeof K!="boolean"?K:null;return e.createElement("span",{className:i()("".concat(j,"-checkbox"),k&&"".concat(j,"-checkbox-checked"),!k&&W&&"".concat(j,"-checkbox-indeterminate"),(H||R)&&"".concat(j,"-checkbox-disabled")),onClick:I.onCheck},U)},I.renderIcon=function(){var N=I.props.loading,k=I.props.context.prefixCls;return e.createElement("span",{className:i()("".concat(k,"-iconEle"),"".concat(k,"-icon__").concat(I.getNodeState()||"docu"),N&&"".concat(k,"-icon_loading"))})},I.renderSelector=function(){var N=I.state.dragNodeHighlight,k=I.props,W=k.title,R=k.selected,j=k.icon,H=k.loading,K=k.data,U=I.props.context,Q=U.prefixCls,V=U.showIcon,J=U.icon,ae=U.draggable,se=U.loadData,$=U.titleRender,ge=I.isDisabled(),he=typeof ae=="function"?ae(K):ae,Ie="".concat(Q,"-node-content-wrapper"),Se;if(V){var Le=j||J;Se=Le?e.createElement("span",{className:i()("".concat(Q,"-iconEle"),"".concat(Q,"-icon__customize"))},typeof Le=="function"?Le(I.props):Le):I.renderIcon()}else se&&H&&(Se=I.renderIcon());var He;typeof W=="function"?He=W(K):$?He=$(K):He=W;var G=e.createElement("span",{className:"".concat(Q,"-title")},He);return e.createElement("span",{ref:I.setSelectHandle,title:typeof W=="string"?W:"",className:i()("".concat(Ie),"".concat(Ie,"-").concat(I.getNodeState()||"normal"),!ge&&(R||N)&&"".concat(Q,"-node-selected"),!ge&&he&&"draggable"),draggable:!ge&&he||void 0,"aria-grabbed":!ge&&he||void 0,onMouseEnter:I.onMouseEnter,onMouseLeave:I.onMouseLeave,onContextMenu:I.onContextMenu,onClick:I.onSelectorClick,onDoubleClick:I.onSelectorDoubleClick,onDragStart:he?I.onDragStart:void 0},Se,G,I.renderDropIndicator())},I.renderDropIndicator=function(){var N=I.props,k=N.disabled,W=N.eventKey,R=I.props.context,j=R.draggable,H=R.dropLevelOffset,K=R.dropPosition,U=R.prefixCls,Q=R.indent,V=R.dropIndicatorRender,J=R.dragOverNodeKey,ae=R.direction,se=j!==!1,$=!k&&se&&J===W;return $?V({dropPosition:K,dropLevelOffset:H,indent:Q,prefixCls:U,direction:ae}):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,D=this.props.context.selectable;return typeof L=="boolean"?L:D}},{key:"render",value:function(){var L,D=this.props,B=D.eventKey,N=D.className,k=D.style,W=D.dragOver,R=D.dragOverGapTop,j=D.dragOverGapBottom,H=D.isLeaf,K=D.isStart,U=D.isEnd,Q=D.expanded,V=D.selected,J=D.checked,ae=D.halfChecked,se=D.loading,$=D.domRef,ge=D.active,he=D.data,Ie=D.onMouseMove,Se=Object(b.a)(D,h),Le=this.props.context,He=Le.prefixCls,G=Le.filterTreeNode,pe=Le.draggable,We=Le.keyEntities,te=Le.dropContainerKey,X=Le.dropTargetKey,z=this.isDisabled(),Z=Object(l.f)(Se),be=We[B]||{},ne=be.level,Ae=U[U.length-1],Ne=typeof pe=="function"?pe(he):pe;return e.createElement("div",Object(w.a)({ref:$,className:i()(N,"".concat(He,"-treenode"),(L={},Object(A.a)(L,"".concat(He,"-treenode-disabled"),z),Object(A.a)(L,"".concat(He,"-treenode-switcher-").concat(Q?"open":"close"),!H),Object(A.a)(L,"".concat(He,"-treenode-checkbox-checked"),J),Object(A.a)(L,"".concat(He,"-treenode-checkbox-indeterminate"),ae),Object(A.a)(L,"".concat(He,"-treenode-selected"),V),Object(A.a)(L,"".concat(He,"-treenode-loading"),se),Object(A.a)(L,"".concat(He,"-treenode-active"),ge),Object(A.a)(L,"".concat(He,"-treenode-leaf-last"),Ae),Object(A.a)(L,"drop-target",X===B),Object(A.a)(L,"drop-container",te===B),Object(A.a)(L,"drag-over",!z&&W),Object(A.a)(L,"drag-over-gap-top",!z&&R),Object(A.a)(L,"drag-over-gap-bottom",!z&&j),Object(A.a)(L,"filter-node",G&&G(Object(c.b)(this.props))),L)),style:k,onDragEnter:Ne?this.onDragEnter:void 0,onDragOver:Ne?this.onDragOver:void 0,onDragLeave:Ne?this.onDragLeave:void 0,onDrop:Ne?this.onDrop:void 0,onDragEnd:Ne?this.onDragEnd:void 0,onMouseMove:Ie},Z),e.createElement(a,{prefixCls:He,level:ne,isStart:K,isEnd:U}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),_}(e.Component),E=function(x){return e.createElement(n.a.Consumer,null,function(_){return e.createElement(y,Object(w.a)({},x,{context:_}))})};E.displayName="TreeNode",E.defaultProps={title:S},E.isTreeNode=1;var C=P.a=E},Wqna:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=b.isObject,v=b.each,p=b.map,s=b.indexOf,u=b.retrieve,o=d("+TT/"),e=o.getLayoutRect,r=d("aX7z"),i=r.createScaleByModel,n=r.ifAxisCrossZero,l=r.niceScaleExtent,t=r.estimateLabelUnionRect,a=d("y+lR"),c=d("7AJT"),h=d("IDmD"),f=d("7hqr"),g=f.getStackedDimension;d("jtI2");function S(B,N,k){return B.getCoordSysModel()===N}function y(B,N,k){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(B,N,k),this.model=B}var E=y.prototype;E.type="grid",E.axisPointerEnabled=!0,E.getRect=function(){return this._rect},E.update=function(B,N){var k=this._axesMap;this._updateScale(B,this.model),v(k.x,function(R){l(R.scale,R.model)}),v(k.y,function(R){l(R.scale,R.model)});var W={};v(k.x,function(R){C(k,"y",R,W)}),v(k.y,function(R){C(k,"x",R,W)}),this.resize(this.model,N)};function C(B,N,k,W){k.getAxesOnZeroOf=function(){return j?[j]:[]};var R=B[N],j,H=k.model,K=H.get("axisLine.onZero"),U=H.get("axisLine.onZeroAxisIndex");if(!K)return;if(U!=null)T(R[U])&&(j=R[U]);else for(var Q in R)if(R.hasOwnProperty(Q)&&T(R[Q])&&!W[V(R[Q])]){j=R[Q];break}j&&(W[V(j)]=!0);function V(J){return J.dim+"_"+J.index}}function T(B){return B&&B.type!=="category"&&B.type!=="time"&&n(B)}E.resize=function(B,N,k){var W=e(B.getBoxLayoutParams(),{width:N.getWidth(),height:N.getHeight()});this._rect=W;var R=this._axesList;j(),!k&&B.get("containLabel")&&(v(R,function(H){if(!H.model.get("axisLabel.inside")){var K=t(H);if(K){var U=H.isHorizontal()?"height":"width",Q=H.model.get("axisLabel.margin");W[U]-=K[U]+Q,H.position==="top"?W.y+=K.height+Q:H.position==="left"&&(W.x+=K.width+Q)}}}),j());function j(){v(R,function(H){var K=H.isHorizontal(),U=K?[0,W.width]:[0,W.height],Q=H.inverse?1:0;H.setExtent(U[Q],U[1-Q]),x(H,K?W.x:W.y)})}},E.getAxis=function(B,N){var k=this._axesMap[B];if(k!=null){if(N==null){for(var W in k)if(k.hasOwnProperty(W))return k[W]}return k[N]}},E.getAxes=function(){return this._axesList.slice()},E.getCartesian=function(B,N){if(B!=null&&N!=null){var k="x"+B+"y"+N;return this._coordsMap[k]}m(B)&&(N=B.yAxisIndex,B=B.xAxisIndex);for(var W=0,R=this._coordsList;W<R.length;W++)if(R[W].getAxis("x").index===B||R[W].getAxis("y").index===N)return R[W]},E.getCartesians=function(){return this._coordsList.slice()},E.convertToPixel=function(B,N,k){var W=this._findConvertTarget(B,N);return W.cartesian?W.cartesian.dataToPoint(k):W.axis?W.axis.toGlobalCoord(W.axis.dataToCoord(k)):null},E.convertFromPixel=function(B,N,k){var W=this._findConvertTarget(B,N);return W.cartesian?W.cartesian.pointToData(k):W.axis?W.axis.coordToData(W.axis.toLocalCoord(k)):null},E._findConvertTarget=function(B,N){var k=N.seriesModel,W=N.xAxisModel||k&&k.getReferringComponents("xAxis")[0],R=N.yAxisModel||k&&k.getReferringComponents("yAxis")[0],j=N.gridModel,H=this._coordsList,K,U;if(k)K=k.coordinateSystem,s(H,K)<0&&(K=null);else if(W&&R)K=this.getCartesian(W.componentIndex,R.componentIndex);else if(W)U=this.getAxis("x",W.componentIndex);else if(R)U=this.getAxis("y",R.componentIndex);else if(j){var Q=j.coordinateSystem;Q===this&&(K=this._coordsList[0])}return{cartesian:K,axis:U}},E.containPoint=function(B){var N=this._coordsList[0];if(N)return N.containPoint(B)},E._initCartesian=function(B,N,k){var W={left:!1,right:!1,top:!1,bottom:!1},R={x:{},y:{}},j={x:0,y:0};if(N.eachComponent("xAxis",H("x"),this),N.eachComponent("yAxis",H("y"),this),!j.x||!j.y){this._axesMap={},this._axesList=[];return}this._axesMap=R,v(R.x,function(K,U){v(R.y,function(Q,V){var J="x"+U+"y"+V,ae=new a(J);ae.grid=this,ae.model=B,this._coordsMap[J]=ae,this._coordsList.push(ae),ae.addAxis(K),ae.addAxis(Q)},this)},this);function H(K){return function(U,Q){if(!S(U,B,N))return;var V=U.get("position");K==="x"?V!=="top"&&V!=="bottom"&&(V=W.bottom?"top":"bottom"):V!=="left"&&V!=="right"&&(V=W.left?"right":"left"),W[V]=!0;var J=new c(K,i(U),[0,0],U.get("type"),V),ae=J.type==="category";J.onBand=ae&&U.get("boundaryGap"),J.inverse=U.get("inverse"),U.axis=J,J.model=U,J.grid=this,J.index=Q,this._axesList.push(J),R[K][Q]=J,j[K]++}}},E._updateScale=function(B,N){v(this._axesList,function(W){W.scale.setExtent(Infinity,-Infinity)}),B.eachSeries(function(W){if(L(W)){var R=I(W,B),j=R[0],H=R[1];if(!S(j,N,B)||!S(H,N,B))return;var K=this.getCartesian(j.componentIndex,H.componentIndex),U=W.getData(),Q=K.getAxis("x"),V=K.getAxis("y");U.type==="list"&&(k(U,Q,W),k(U,V,W))}},this);function k(W,R,j){v(W.mapDimension(R.dim,!0),function(H){R.scale.unionExtentFromData(W,g(W,H))})}},E.getTooltipAxes=function(B){var N=[],k=[];return v(this.getCartesians(),function(W){var R=B!=null&&B!=="auto"?W.getAxis(B):W.getBaseAxis(),j=W.getOtherAxis(R);s(N,R)<0&&N.push(R),s(k,j)<0&&k.push(j)}),{baseAxes:N,otherAxes:k}};function x(B,N){var k=B.getExtent(),W=k[0]+k[1];B.toGlobalCoord=B.dim==="x"?function(R){return R+N}:function(R){return W-R+N},B.toLocalCoord=B.dim==="x"?function(R){return R-N}:function(R){return W-R+N}}var _=["xAxis","yAxis"];function I(B,N){return p(_,function(k){var W=B.getReferringComponents(k)[0];return W})}function L(B){return B.get("coordinateSystem")==="cartesian2d"}y.create=function(B,N){var k=[];return B.eachComponent("grid",function(W,R){var j=new y(W,B,N);j.name="grid_"+R,j.resize(W,N,!0),W.coordinateSystem=j,k.push(j)}),B.eachSeries(function(W){if(!L(W))return;var R=I(W,B),j=R[0],H=R[1],K=j.getCoordSysModel(),U=K.coordinateSystem;W.coordinateSystem=U.getCartesian(j.componentIndex,H.componentIndex)}),k},y.dimensions=y.prototype.dimensions=a.prototype.dimensions,h.register("cartesian2d",y);var D=y;M.exports=D},XOKv:function(M,P,d){d("OXB0"),d("SA4+")},XmSR:function(M,P,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("ODXe"),m=d("q1tI"),v=d("TSYQ"),p=d.n(v),s=d("bT9E"),u=d("4i/N"),o=d("9R2V"),e=function(S,y){var E={};for(var C in S)Object.prototype.hasOwnProperty.call(S,C)&&y.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++)y.indexOf(C[T])<0&&Object.prototype.propertyIsEnumerable.call(S,C[T])&&(E[C[T]]=S[C[T]]);return E},r=function(y){var E,C=y.prefixCls,T=y.className,x=y.checked,_=y.onChange,I=y.onClick,L=e(y,["prefixCls","className","checked","onChange","onClick"]),D=m.useContext(o.b),B=D.getPrefixCls,N=function(j){_==null||_(!x),I==null||I(j)},k=B("tag",C),W=p()(k,(E={},Object(w.a)(E,"".concat(k,"-checkable"),!0),Object(w.a)(E,"".concat(k,"-checkable-checked"),x),E),T);return m.createElement("span",Object(A.a)({},L,{className:W,onClick:N}))},i=r,n=d("At67"),l=d("9NSp"),t=function(S,y){var E={};for(var C in S)Object.prototype.hasOwnProperty.call(S,C)&&y.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++)y.indexOf(C[T])<0&&Object.prototype.propertyIsEnumerable.call(S,C[T])&&(E[C[T]]=S[C[T]]);return E},a=new RegExp("^(".concat(n.a.join("|"),")(-inverse)?$")),c=new RegExp("^(".concat(n.b.join("|"),")$")),h=function(y,E){var C,T=y.prefixCls,x=y.className,_=y.style,I=y.children,L=y.icon,D=y.color,B=y.onClose,N=y.closeIcon,k=y.closable,W=k===void 0?!1:k,R=t(y,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),j=m.useContext(o.b),H=j.getPrefixCls,K=j.direction,U=m.useState(!0),Q=Object(b.a)(U,2),V=Q[0],J=Q[1];m.useEffect(function(){"visible"in R&&J(R.visible)},[R.visible]);var ae=function(){return D?a.test(D)||c.test(D):!1},se=Object(A.a)({backgroundColor:D&&!ae()?D:void 0},_),$=ae(),ge=H("tag",T),he=p()(ge,(C={},Object(w.a)(C,"".concat(ge,"-").concat(D),$),Object(w.a)(C,"".concat(ge,"-has-color"),D&&!$),Object(w.a)(C,"".concat(ge,"-hidden"),!V),Object(w.a)(C,"".concat(ge,"-rtl"),K==="rtl"),C),x),Ie=function(X){if(X.stopPropagation(),B==null||B(X),X.defaultPrevented)return;"visible"in R||J(!1)},Se=function(){return W?N?m.createElement("span",{className:"".concat(ge,"-close-icon"),onClick:Ie},N):m.createElement(u.a,{className:"".concat(ge,"-close-icon"),onClick:Ie}):null},Le="onClick"in R||I&&I.type==="a",He=Object(s.a)(R,["visible"]),G=L||null,pe=G?m.createElement(m.Fragment,null,G,m.createElement("span",null,I)):I,We=m.createElement("span",Object(A.a)({},He,{ref:E,className:he,style:se}),pe,Se());return Le?m.createElement(l.a,null,We):We},f=m.forwardRef(h);f.displayName="Tag",f.CheckableTag=i;var g=P.a=f},Xmg4:function(M,P,d){var w=d("bYtY"),A=d("LPTA"),b=A.devicePixelRatio,m=d("K2GJ"),v=d("3C/r");function p(){return!1}function s(e,r,i){var n=w.createCanvas(),l=r.getWidth(),t=r.getHeight(),a=n.style;return a&&(a.position="absolute",a.left=0,a.top=0,a.width=l+"px",a.height=t+"px",n.setAttribute("data-zr-dom-id",e)),n.width=l*i,n.height=t*i,n}var u=function(r,i,n){var l;n=n||b,typeof r=="string"?l=s(r,i,n):w.isObject(r)&&(l=r,r=l.id),this.id=r,this.dom=l;var t=l.style;t&&(l.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=n};u.prototype={constructor:u,__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 r=this.dpr;this.domBack=s("back-"+this.id,this.painter,r),this.ctxBack=this.domBack.getContext("2d"),r!==1&&this.ctxBack.scale(r,r)},resize:function(r,i){var n=this.dpr,l=this.dom,t=l.style,a=this.domBack;t&&(t.width=r+"px",t.height=i+"px"),l.width=r*n,l.height=i*n,a&&(a.width=r*n,a.height=i*n,n!==1&&this.ctxBack.scale(n,n))},clear:function(r,i){var n=this.dom,l=this.ctx,t=n.width,a=n.height,i=i||this.clearColor,c=this.motionBlur&&!r,h=this.lastFrameAlpha,f=this.dpr;if(c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,t/f,a/f)),l.clearRect(0,0,t,a),i&&i!=="transparent"){var g;i.colorStops?(g=i.__canvasGradient||m.getGradient(l,i,{x:0,y:0,width:t,height:a}),i.__canvasGradient=g):i.image&&(g=v.prototype.getCanvasPattern.call(i,l)),l.save(),l.fillStyle=g||i,l.fillRect(0,0,t,a),l.restore()}if(c){var S=this.domBack;l.save(),l.globalAlpha=h,l.drawImage(S,0,0,t,a),l.restore()}}};var o=u;M.exports=o},Xnb7:function(M,P,d){var w=d("1RvN"),A=new w(50);function b(s){if(typeof s=="string"){var u=A.get(s);return u&&u.image}else return s}function m(s,u,o,e,r){if(s)if(typeof s=="string"){if(u&&u.__zrImageSrc===s||!o)return u;var i=A.get(s),n={hostEl:o,cb:e,cbPayload:r};return i?(u=i.image,!p(u)&&i.pending.push(n)):(u=new Image,u.onload=u.onerror=v,A.put(s,u.__cachedImgObj={image:u,pending:[n]}),u.src=u.__zrImageSrc=s),u}else return s;else return u}function v(){var s=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var u=0;u<s.pending.length;u++){var o=s.pending[u],e=o.cb;e&&e(this,o.cbPayload),o.hostEl.dirty()}s.pending.length=0}function p(s){return s&&s.width&&s.height}P.findExistImage=b,P.createOrUpdateImage=m,P.isImageReady=p},XpcN:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),m=d("bYtY"),v=d("oVpE"),p=v.createSymbol,s=d("IwbS"),u=d("eRkO"),o=u.makeBackground,e=d("+TT/"),r=m.curry,i=m.each,n=s.Group,l=b.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new n),this._backgroundEl,this.group.add(this._selectorGroup=new n),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(f,g,S){var y=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!f.get("show",!0))return;var E=f.get("align"),C=f.get("orient");(!E||E==="auto")&&(E=f.get("left")==="right"&&C==="vertical"?"right":"left");var T=f.get("selector",!0),x=f.get("selectorPosition",!0);T&&(!x||x==="auto")&&(x=C==="horizontal"?"end":"start"),this.renderInner(E,f,g,S,T,C,x);var _=f.getBoxLayoutParams(),I={width:S.getWidth(),height:S.getHeight()},L=f.get("padding"),D=e.getLayoutRect(_,I,L),B=this.layoutInner(f,E,D,y,T,x),N=e.getLayoutRect(m.defaults({width:B.width,height:B.height},_),I,L);this.group.attr("position",[N.x-B.x,N.y-B.y]),this.group.add(this._backgroundEl=o(B,f))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(f,g,S,y,E,C,T){var x=this.getContentGroup(),_=m.createHashMap(),I=g.get("selectedMode"),L=[];S.eachRawSeries(function(D){!D.get("legendHoverLink")&&L.push(D.id)}),i(g.getData(),function(D,B){var N=D.get("name");if(!this.newlineDisabled&&(N===""||N===`
|
|
|
`)){x.add(new n({newline:!0}));return}var k=S.getSeriesByName(N)[0];if(_.get(N))return;if(k){var W=k.getData(),R=W.getVisual("color"),j=W.getVisual("borderColor");typeof R=="function"&&(R=R(k.getDataParams(0))),typeof j=="function"&&(j=j(k.getDataParams(0)));var H=W.getVisual("legendSymbol")||"roundRect",K=W.getVisual("symbol"),U=this._createItem(N,B,D,g,H,K,f,R,j,I);U.on("click",r(a,N,null,y,L)).on("mouseover",r(c,k.name,null,y,L)).on("mouseout",r(h,k.name,null,y,L)),_.set(N,!0)}else S.eachRawSeries(function(Q){if(_.get(N))return;if(Q.legendVisualProvider){var V=Q.legendVisualProvider;if(!V.containName(N))return;var J=V.indexOfName(N),ae=V.getItemVisual(J,"color"),se=V.getItemVisual(J,"borderColor"),$="roundRect",ge=this._createItem(N,B,D,g,$,null,f,ae,se,I);ge.on("click",r(a,null,N,y,L)).on("mouseover",r(c,null,N,y,L)).on("mouseout",r(h,null,N,y,L)),_.set(N,!0)}},this)},this),E&&this._createSelector(E,g,y,C,T)},_createSelector:function(f,g,S,y,E){var C=this.getSelectorGroup();i(f,function(x){T(x)});function T(x){var _=x.type,I=new s.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){S.dispatchAction({type:_==="all"?"legendAllSelect":"legendInverseSelect"})}});C.add(I);var L=g.getModel("selectorLabel"),D=g.getModel("emphasis.selectorLabel");s.setLabelStyle(I.style,I.hoverStyle={},L,D,{defaultText:x.title,isRectText:!1}),s.setHoverStyle(I)}},_createItem:function(f,g,S,y,E,C,T,x,_,I){var L=y.get("itemWidth"),D=y.get("itemHeight"),B=y.get("inactiveColor"),N=y.get("inactiveBorderColor"),k=y.get("symbolKeepAspect"),W=y.getModel("itemStyle"),R=y.isSelected(f),j=new n,H=S.getModel("textStyle"),K=S.get("icon"),U=S.getModel("tooltip"),Q=U.parentModel;E=K||E;var V=p(E,0,0,L,D,R?x:B,k==null?!0:k);if(j.add(t(V,E,W,_,N,R)),!K&&C&&(C!==E||C==="none")){var J=D*.8;C==="none"&&(C="circle");var ae=p(C,(L-J)/2,(D-J)/2,J,J,R?x:B,k==null?!0:k);j.add(t(ae,C,W,_,N,R))}var se=T==="left"?L+5:-5,$=T,ge=y.get("formatter"),he=f;typeof ge=="string"&&ge?he=ge.replace("{name}",f!=null?f:""):typeof ge=="function"&&(he=ge(f)),j.add(new s.Text({style:s.setTextStyle({},H,{text:he,x:se,y:D/2,textFill:R?H.getTextColor():B,textAlign:$,textVerticalAlign:"middle"})}));var Ie=new s.Rect({shape:j.getBoundingRect(),invisible:!0,tooltip:U.get("show")?m.extend({content:f,formatter:Q.get("formatter",!0)||function(){return f},formatterParams:{componentType:"legend",legendIndex:y.componentIndex,name:f,$vars:["name"]}},U.option):null});return j.add(Ie),j.eachChild(function(Se){Se.silent=!0}),Ie.silent=!I,this.getContentGroup().add(j),s.setHoverStyle(j),j.__legendDataIndex=g,j},layoutInner:function(f,g,S,y,E,C){var T=this.getContentGroup(),x=this.getSelectorGroup();e.box(f.get("orient"),T,f.get("itemGap"),S.width,S.height);var _=T.getBoundingRect(),I=[-_.x,-_.y];if(E){e.box("horizontal",x,f.get("selectorItemGap",!0));var L=x.getBoundingRect(),D=[-L.x,-L.y],B=f.get("selectorButtonGap",!0),N=f.getOrient().index,k=N===0?"width":"height",W=N===0?"height":"width",R=N===0?"y":"x";C==="end"?D[N]+=_[k]+B:I[N]+=L[k]+B,D[1-N]+=_[W]/2-L[W]/2,x.attr("position",D),T.attr("position",I);var j={x:0,y:0};return j[k]=_[k]+B+L[k],j[W]=Math.max(_[W],L[W]),j[R]=Math.min(0,L[R]+D[1-N]),j}else return T.attr("position",I),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function t(f,g,S,y,E,C){var T;return g!=="line"&&g.indexOf("empty")<0?(T=S.getItemStyle(),f.style.stroke=y,C||(T.stroke=E)):T=S.getItemStyle(["borderWidth","borderColor"]),f.setStyle(T)}function a(f,g,S,y){h(f,g,S,y),S.dispatchAction({type:"legendToggleSelect",name:f!=null?f:g}),c(f,g,S,y)}function c(f,g,S,y){var E=S.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||S.dispatchAction({type:"highlight",seriesName:f,name:g,excludeSeriesId:y})}function h(f,g,S,y){var E=S.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||S.dispatchAction({type:"downplay",seriesName:f,name:g,excludeSeriesId:y})}M.exports=l},XqtR:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("AjEO"),m=d.n(b),v=d("W9l/"),p=d("HaWY"),s=d("sOUE"),u=d("Hejl"),o=d("s6WR"),e=d("1pX7"),r=d("Ca5l"),i=d("jOhD")},XxSj:function(M,P,d){var w=d("bYtY"),A=d("Qe9p"),b=d("OELB"),m=b.linearMap,v=w.each,p=w.isObject,s=-1,u=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=o[x];this.applyVisual=I.applyVisual,this.getColorMapper=I.getColorMapper,this._doMap=I._doMap[T],T==="piecewise"?(i(_),e(_)):T==="category"?_.categories?r(_):i(_,!0):(w.assert(T!=="linear"||_.dataExtent),i(_))};u.prototype={constructor:u,mapValueToVisual:function(C){var T=this._normalizeData(C);return this._doMap(T,C)},getNormalizer:function(){return w.bind(this._normalizeData,this)}};var o=u.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)),a.call(this,T)}:function(T,x,_){var I=!!_;return!x&&(T=this._normalizeData(T)),_=A.fastLerp(T,C.parsedVisual,_),I?_:A.stringify(_,"rgba")},this)},_doMap:{linear:function(C){return A.stringify(A.fastLerp(C,this.option.parsedVisual),"rgba")},category:a,piecewise:function(C,T){var x=f.call(this,T);return x==null&&(x=A.stringify(A.fastLerp(C,this.option.parsedVisual),"rgba")),x},fixed:c}},colorHue:n(function(C,T){return A.modifyHSL(C,T)}),colorSaturation:n(function(C,T){return A.modifyHSL(C,null,T)}),colorLightness:n(function(C,T){return A.modifyHSL(C,null,null,T)}),colorAlpha:n(function(C,T){return A.modifyAlpha(C,T)}),opacity:{applyVisual:t("opacity"),_doMap:h([0,1])},liftZ:{applyVisual:t("liftZ"),_doMap:{linear:c,category:c,piecewise:c,fixed:c}},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:l,category:a,piecewise:function(C,T){var x=f.call(this,T);return x==null&&(x=l.call(this,C)),x},fixed:c}},symbolSize:{applyVisual:t("symbolSize"),_doMap:h([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 r(C){var T=C.categories,x=C.visual,_=C.categoryMap={};if(v(T,function(D,B){_[D]=B}),!w.isArray(x)){var I=[];w.isObject(x)?v(x,function(D,B){var N=_[B];I[N!=null?N:s]=D}):I[s]=x,x=g(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)?v(x,function(L){_.push(L)}):x!=null&&_.push(x);var I={color:1,symbol:1};!T&&_.length===1&&!I.hasOwnProperty(C.type)&&(_[1]=_[0]),g(C,_)}function n(C){return{applyVisual:function(T,x,_){T=this.mapValueToVisual(T),_("color",C(x("color"),T))},_doMap:h([0,1])}}function l(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 a(C){var T=this.option.visual;return T[this.option.loop&&C!==s?C%T.length:C]}function c(){return this.option.visual[0]}function h(C){return{linear:function(T){return m(T,C,this.option.visual,!0)},category:a,piecewise:function(T,x){var _=f.call(this,x);return _==null&&(_=m(T,C,this.option.visual,!0)),_},fixed:c}}function f(C){var T=this.option,x=T.pieceList;if(T.hasSpecialVisual){var _=u.findPieceIndex(C,x),I=x[_];if(I&&I.visual)return I.visual[this.type]}}function g(C,T){return C.visual=T,C.type==="color"&&(C.parsedVisual=w.map(T,function(x){return A.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=u.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?s:T},fixed:w.noop};u.listVisualTypes=function(){var C=[];return w.each(o,function(T,x){C.push(x)}),C},u.addVisualHandler=function(C,T){o[C]=T},u.isValidType=function(C){return o.hasOwnProperty(C)},u.eachVisual=function(C,T,x){w.isObject(C)?w.each(C,T,x):T.call(x,C)},u.mapVisual=function(C,T,x){var _,I=w.isArray(C)?[]:w.isObject(C)?{}:(_=!0,null);return u.eachVisual(C,function(L,D){var B=T.call(x,L,D);_?I=B:I[D]=B}),I},u.retrieveVisuals=function(C){var T={},x;return C&&v(o,function(_,I){C.hasOwnProperty(I)&&(T[I]=C[I],x=!0)}),x?T:null},u.prepareVisualTypes=function(C){if(p(C)){var T=[];v(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},u.dependsOn=function(C,T){return T==="color"?!!(C&&C.indexOf(T)===0):C===T},u.findPieceIndex=function(C,T,x){for(var _,I=Infinity,L=0,D=T.length;L<D;L++){var B=T[L].value;if(B!=null){if(B===C||typeof B=="string"&&B===C+"")return L;x&&R(B,L)}}for(var L=0,D=T.length;L<D;L++){var N=T[L],k=N.interval,W=N.close;if(k){if(k[0]===-Infinity){if(y(W[1],C,k[1]))return L}else if(k[1]===Infinity){if(y(W[0],k[0],C))return L}else if(y(W[0],k[0],C)&&y(W[1],C,k[1]))return L;x&&R(k[0],L),x&&R(k[1],L)}}if(x)return C===Infinity?T.length-1:C===-Infinity?0:_;function R(j,H){var K=Math.abs(j-C);K<I&&(I=K,_=H)}};function y(C,T,x){return C?T<=x:T<x}var E=u;M.exports=E},Y1PL:function(M,P,d){"use strict";d.r(P),d.d(P,"ResizableTextArea",function(){return S});var w=d("wx14"),A=d("1OyB"),b=d("vuIU"),m=d("Ji7U"),v=d("LK+K"),p=d("q1tI"),s=d("VTBJ"),u=d("rePB"),o=d("t23M"),e=d("bT9E"),r=d("TSYQ"),i=d.n(r),n=`
|
|
|
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
|
|
|
`,l=["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={},a;function c(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")),D=parseFloat(_.getPropertyValue("border-bottom-width"))+parseFloat(_.getPropertyValue("border-top-width")),B=l.map(function(k){return"".concat(k,":").concat(_.getPropertyValue(k))}).join(";"),N={sizingStyle:B,paddingSize:L,borderSize:D,boxSizing:I};return T&&x&&(t[x]=N),N}function h(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;a||(a=document.createElement("textarea"),a.setAttribute("tab-index","-1"),a.setAttribute("aria-hidden","true"),document.body.appendChild(a)),C.getAttribute("wrap")?a.setAttribute("wrap",C.getAttribute("wrap")):a.removeAttribute("wrap");var I=c(C,T),L=I.paddingSize,D=I.borderSize,B=I.boxSizing,N=I.sizingStyle;a.setAttribute("style","".concat(N,";").concat(n)),a.value=C.value||C.placeholder||"";var k=Number.MIN_SAFE_INTEGER,W=Number.MAX_SAFE_INTEGER,R=a.scrollHeight,j;if(B==="border-box"?R+=D:B==="content-box"&&(R-=L),x!==null||_!==null){a.value=" ";var H=a.scrollHeight-L;x!==null&&(k=H*x,B==="border-box"&&(k=k+L+D),R=Math.max(k,R)),_!==null&&(W=H*_,B==="border-box"&&(W=W+L+D),j=R>W?"":"hidden",R=Math.min(W,R))}return{height:R,minHeight:k,maxHeight:W,overflowY:j,resize:"none"}}var f;(function(C){C[C.NONE=0]="NONE",C[C.RESIZING=1]="RESIZING",C[C.RESIZED=2]="RESIZED"})(f||(f={}));var g=function(C){Object(m.a)(x,C);var T=Object(v.a)(x);function x(_){var I;return Object(A.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 D=I.state.resizeStatus,B=I.props,N=B.autoSize,k=B.onResize;if(D!==f.NONE)return;typeof k=="function"&&k(L),N&&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 D=L.minRows,B=L.maxRows,N=h(I.textArea,!1,D,B);I.setState({textareaStyles:N,resizeStatus:f.RESIZING},function(){cancelAnimationFrame(I.resizeFrameId),I.resizeFrameId=requestAnimationFrame(function(){I.setState({resizeStatus:f.RESIZED},function(){I.resizeFrameId=requestAnimationFrame(function(){I.setState({resizeStatus:f.NONE}),I.fixFirefoxAutoScroll()})})})})},I.renderTextArea=function(){var L=I.props,D=L.prefixCls,B=D===void 0?"rc-textarea":D,N=L.autoSize,k=L.onResize,W=L.className,R=L.disabled,j=I.state,H=j.textareaStyles,K=j.resizeStatus,U=Object(e.a)(I.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),Q=i()(B,W,Object(u.a)({},"".concat(B,"-disabled"),R));"value"in U&&(U.value=U.value||"");var V=Object(s.a)(Object(s.a)(Object(s.a)({},I.props.style),H),K===f.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return p.createElement(o.a,{onResize:I.handleResize,disabled:!(N||k)},p.createElement("textarea",Object(w.a)({},U,{className:Q,style:V,ref:I.saveTextArea})))},I.state={textareaStyles:{},resizeStatus:f.NONE},I}return Object(b.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(D){}}},{key:"render",value:function(){return this.renderTextArea()}}]),x}(p.Component),S=g,y=function(C){Object(m.a)(x,C);var T=Object(v.a)(x);function x(_){var I;Object(A.a)(this,x),I=T.call(this,_),I.resizableTextArea=void 0,I.focus=function(){I.resizableTextArea.textArea.focus()},I.saveTextArea=function(D){I.resizableTextArea=D},I.handleChange=function(D){var B=I.props.onChange;I.setValue(D.target.value,function(){I.resizableTextArea.resizeTextarea()}),B&&B(D)},I.handleKeyDown=function(D){var B=I.props,N=B.onPressEnter,k=B.onKeyDown;D.keyCode===13&&N&&N(D),k&&k(D)};var L=typeof _.value=="undefined"||_.value===null?_.defaultValue:_.value;return I.state={value:L},I}return Object(b.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=P.default=y},YH21:function(M,P,d){var w=d("H6uX");P.Dispatcher=w;var A=d("ItGF"),b=d("Ze12"),m=b.isCanvasEl,v=b.transformCoordWithViewport,p=typeof window!="undefined"&&!!window.addEventListener,s=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,u=[];function o(h,f,g,S){return g=g||{},S||!A.canvasSupported?e(h,f,g):A.browser.firefox&&f.layerX!=null&&f.layerX!==f.offsetX?(g.zrX=f.layerX,g.zrY=f.layerY):f.offsetX!=null?(g.zrX=f.offsetX,g.zrY=f.offsetY):e(h,f,g),g}function e(h,f,g){if(A.domSupported&&h.getBoundingClientRect){var S=f.clientX,y=f.clientY;if(m(h)){var E=h.getBoundingClientRect();g.zrX=S-E.left,g.zrY=y-E.top;return}else if(v(u,h,S,y)){g.zrX=u[0],g.zrY=u[1];return}}g.zrX=g.zrY=0}function r(h){return h||window.event}function i(h,f,g){if(f=r(f),f.zrX!=null)return f;var S=f.type,y=S&&S.indexOf("touch")>=0;if(!y)o(h,f,f,g),f.zrDelta=f.wheelDelta?f.wheelDelta/120:-(f.detail||0)/3;else{var E=S!=="touchend"?f.targetTouches[0]:f.changedTouches[0];E&&o(h,E,f,g)}var C=f.button;return f.which==null&&C!==void 0&&s.test(f.type)&&(f.which=C&1?1:C&2?3:C&4?2:0),f}function n(h,f,g,S){p?h.addEventListener(f,g,S):h.attachEvent("on"+f,g)}function l(h,f,g,S){p?h.removeEventListener(f,g,S):h.detachEvent("on"+f,g)}var t=p?function(h){h.preventDefault(),h.stopPropagation(),h.cancelBubble=!0}:function(h){h.returnValue=!1,h.cancelBubble=!0};function a(h){return h.which===2||h.which===3}function c(h){return h.which>1}P.clientToLocal=o,P.getNativeEvent=r,P.normalizeEvent=i,P.addEventListener=n,P.removeEventListener=l,P.stop=t,P.isMiddleOrRightButtonOnMouseUpDown=a,P.notLeftMouse=c},YJ9k:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;function w(v,p){if(!(v instanceof p))throw new TypeError("Cannot call a class as a function")}function A(v,p){for(var s=0;s<p.length;s++){var u=p[s];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(v,u.key,u)}}function b(v,p,s){return p&&A(v.prototype,p),s&&A(v,s),v}var m=function(){function v(){w(this,v),this._listeners=new Map}return b(v,[{key:"addEventListener",value:function(s,u){this._listeners.has(s)||this._listeners.set(s,new Set),this._listeners.get(s).add(u)}},{key:"removeEventListener",value:function(s,u){this._listeners.has(s)&&this._listeners.get(s).delete(u)}},{key:"dispatchEvent",value:function(s){var u=this;return this._listeners.has(s.type)?(this._listeners.get(s.type).forEach(function(o){return o.call(u,s)}),!s.defaultPrevented):!0}}]),v}();P.default=m},YJCA:function(M,P,d){"use strict";d.d(P,"a",function(){return Z}),d.d(P,"b",function(){return Ae});var w=d("wx14"),A=d("ODXe"),b=d("vpQ4"),m=d("1OyB"),v=d("vuIU"),p=d("md7G"),s=d("foSv"),u=d("Ji7U"),o=d("JX7q"),e=d("rePB"),r=d("q1tI"),i=d.n(r),n=d("17x9"),l=d.n(n),t=d("i8i4"),a=d.n(t),c=d("QLaP"),h=d.n(c),f=d("KQm4"),g=function(){function Ne(){Object(m.a)(this,Ne),Object(e.a)(this,"refs",{})}return Object(v.a)(Ne,[{key:"add",value:function(de,xe){this.refs[de]||(this.refs[de]=[]),this.refs[de].push(xe)}},{key:"remove",value:function(de,xe){var Pe=this.getIndex(de,xe);Pe!==-1&&this.refs[de].splice(Pe,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var de=this;return this.refs[this.active.collection].find(function(xe){var Pe=xe.node;return Pe.sortableInfo.index==de.active.index})}},{key:"getIndex",value:function(de,xe){return this.refs[de].indexOf(xe)}},{key:"getOrderedRefs",value:function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[de].sort(S)}}]),Ne}();function S(Ne,oe){var de=Ne.node.sortableInfo.index,xe=oe.node.sortableInfo.index;return de-xe}function y(Ne,oe,de){return Ne=Ne.slice(),Ne.splice(de<0?Ne.length+de:de,0,Ne.splice(oe,1)[0]),Ne}function E(Ne,oe){return Object.keys(Ne).reduce(function(de,xe){return oe.indexOf(xe)===-1&&(de[xe]=Ne[xe]),de},{})}var C={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},T=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Ne=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],oe=(Array.prototype.slice.call(Ne).join("").match(/-(moz|webkit|ms)-/)||Ne.OLink===""&&["","o"])[1];switch(oe){case"ms":return"ms";default:return oe&&oe.length?oe[0].toUpperCase()+oe.substr(1):""}}();function x(Ne,oe){Object.keys(oe).forEach(function(de){Ne.style[de]=oe[de]})}function _(Ne,oe){Ne.style["".concat(T,"Transform")]=oe==null?"":"translate3d(".concat(oe.x,"px,").concat(oe.y,"px,0)")}function I(Ne,oe){Ne.style["".concat(T,"TransitionDuration")]=oe==null?"":"".concat(oe,"ms")}function L(Ne,oe){for(;Ne;){if(oe(Ne))return Ne;Ne=Ne.parentNode}return null}function D(Ne,oe,de){return Math.max(Ne,Math.min(de,oe))}function B(Ne){return Ne.substr(-2)==="px"?parseFloat(Ne):0}function N(Ne){var oe=window.getComputedStyle(Ne);return{bottom:B(oe.marginBottom),left:B(oe.marginLeft),right:B(oe.marginRight),top:B(oe.marginTop)}}function k(Ne,oe){var de=oe.displayName||oe.name;return de?"".concat(Ne,"(").concat(de,")"):Ne}function W(Ne,oe){var de=Ne.getBoundingClientRect();return{top:de.top+oe.top,left:de.left+oe.left}}function R(Ne){return Ne.touches&&Ne.touches.length?{x:Ne.touches[0].pageX,y:Ne.touches[0].pageY}:Ne.changedTouches&&Ne.changedTouches.length?{x:Ne.changedTouches[0].pageX,y:Ne.changedTouches[0].pageY}:{x:Ne.pageX,y:Ne.pageY}}function j(Ne){return Ne.touches&&Ne.touches.length||Ne.changedTouches&&Ne.changedTouches.length}function H(Ne,oe){var de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Ne)return;var xe={left:de.left+Ne.offsetLeft,top:de.top+Ne.offsetTop};return Ne.parentNode===oe?xe:H(Ne.parentNode,oe,xe)}function K(Ne,oe,de){return Ne<de&&Ne>oe?Ne-1:Ne>de&&Ne<oe?Ne+1:Ne}function U(Ne){var oe=Ne.lockOffset,de=Ne.width,xe=Ne.height,Pe=oe,tt=oe,Je="px";if(typeof oe=="string"){var Oe=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(oe);h()(Oe!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',oe),Pe=parseFloat(oe),tt=parseFloat(oe),Je=Oe[1]}return h()(isFinite(Pe)&&isFinite(tt),"lockOffset value should be a finite. Given %s",oe),Je==="%"&&(Pe=Pe*de/100,tt=tt*xe/100),{x:Pe,y:tt}}function Q(Ne){var oe=Ne.height,de=Ne.width,xe=Ne.lockOffset,Pe=Array.isArray(xe)?xe:[xe,xe];h()(Pe.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",xe);var tt=Object(A.a)(Pe,2),Je=tt[0],Oe=tt[1];return[U({height:oe,lockOffset:Je,width:de}),U({height:oe,lockOffset:Oe,width:de})]}function V(Ne){var oe=window.getComputedStyle(Ne),de=/(auto|scroll)/,xe=["overflow","overflowX","overflowY"];return xe.find(function(Pe){return de.test(oe[Pe])})}function J(Ne){return Ne instanceof HTMLElement?V(Ne)?Ne:J(Ne.parentNode):null}function ae(Ne){var oe=window.getComputedStyle(Ne);return oe.display==="grid"?{x:B(oe.gridColumnGap),y:B(oe.gridRowGap)}:{x:0,y:0}}var se={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},$={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function ge(Ne){var oe="input, textarea, select, canvas, [contenteditable]",de=Ne.querySelectorAll(oe),xe=Ne.cloneNode(!0),Pe=Object(f.a)(xe.querySelectorAll(oe));return Pe.forEach(function(tt,Je){if(tt.type!=="file"&&(tt.value=de[Je].value),tt.type==="radio"&&tt.name&&(tt.name="__sortableClone__".concat(tt.name)),tt.tagName===$.Canvas&&de[Je].width>0&&de[Je].height>0){var Oe=tt.getContext("2d");Oe.drawImage(de[Je],0,0)}}),xe}function he(Ne){var oe,de,xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return de=oe=function(Pe){Object(u.a)(tt,Pe);function tt(){return Object(m.a)(this,tt),Object(p.a)(this,Object(s.a)(tt).apply(this,arguments))}return Object(v.a)(tt,[{key:"componentDidMount",value:function(){var Oe=Object(t.findDOMNode)(this);Oe.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return h()(xe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Oe=xe.withRef?"wrappedInstance":null;return Object(r.createElement)(Ne,Object(w.a)({ref:Oe},this.props))}}]),tt}(r.Component),Object(e.a)(oe,"displayName",k("sortableHandle",Ne)),de}function Ie(Ne){return Ne.sortableHandle!=null}var Se=function(){function Ne(oe,de){Object(m.a)(this,Ne),this.container=oe,this.onScrollCallback=de}return Object(v.a)(Ne,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(de){var xe=this,Pe=de.translate,tt=de.minTranslate,Je=de.maxTranslate,Oe=de.width,pt=de.height,Qe={x:0,y:0},nt={x:1,y:1},bt={x:10,y:10},Tt=this.container,Ct=Tt.scrollTop,Nt=Tt.scrollLeft,Ge=Tt.scrollHeight,ie=Tt.scrollWidth,Y=Tt.clientHeight,we=Tt.clientWidth,Ce=Ct===0,le=Ge-Ct-Y===0,ot=Nt===0,wt=ie-Nt-we===0;Pe.y>=Je.y-pt/2&&!le?(Qe.y=1,nt.y=bt.y*Math.abs((Je.y-pt/2-Pe.y)/pt)):Pe.x>=Je.x-Oe/2&&!wt?(Qe.x=1,nt.x=bt.x*Math.abs((Je.x-Oe/2-Pe.x)/Oe)):Pe.y<=tt.y+pt/2&&!Ce?(Qe.y=-1,nt.y=bt.y*Math.abs((Pe.y-pt/2-tt.y)/pt)):Pe.x<=tt.x+Oe/2&&!ot&&(Qe.x=-1,nt.x=bt.x*Math.abs((Pe.x-Oe/2-tt.x)/Oe)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Qe.x!==0||Qe.y!==0)&&(this.interval=setInterval(function(){xe.isAutoScrolling=!0;var rt={left:nt.x*Qe.x,top:nt.y*Qe.y};xe.container.scrollTop+=rt.top,xe.container.scrollLeft+=rt.left,xe.onScrollCallback(rt)},5))}}]),Ne}();function Le(Ne){var oe=Ne.node;return{height:oe.offsetHeight,width:oe.offsetWidth}}function He(Ne){var oe=[$.Input,$.Textarea,$.Select,$.Option,$.Button];return oe.indexOf(Ne.target.tagName)!==-1?!0:!!L(Ne.target,function(de){return de.contentEditable==="true"})}var G={axis:l.a.oneOf(["x","y","xy"]),contentWindow:l.a.any,disableAutoscroll:l.a.bool,distance:l.a.number,getContainer:l.a.func,getHelperDimensions:l.a.func,helperClass:l.a.string,helperContainer:l.a.oneOfType([l.a.func,typeof HTMLElement=="undefined"?l.a.any:l.a.instanceOf(HTMLElement)]),hideSortableGhost:l.a.bool,keyboardSortingTransitionDuration:l.a.number,lockAxis:l.a.string,lockOffset:l.a.oneOfType([l.a.number,l.a.string,l.a.arrayOf(l.a.oneOfType([l.a.number,l.a.string]))]),lockToContainerEdges:l.a.bool,onSortEnd:l.a.func,onSortMove:l.a.func,onSortOver:l.a.func,onSortStart:l.a.func,pressDelay:l.a.number,pressThreshold:l.a.number,keyCodes:l.a.shape({lift:l.a.arrayOf(l.a.number),drop:l.a.arrayOf(l.a.number),cancel:l.a.arrayOf(l.a.number),up:l.a.arrayOf(l.a.number),down:l.a.arrayOf(l.a.number)}),shouldCancelStart:l.a.func,transitionDuration:l.a.number,updateBeforeSortStart:l.a.func,useDragHandle:l.a.bool,useWindowAsScrollContainer:l.a.bool},pe={lift:[se.SPACE],drop:[se.SPACE],cancel:[se.ESC],up:[se.UP,se.LEFT],down:[se.DOWN,se.RIGHT]},We={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Le,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:pe,shouldCancelStart:He,transitionDuration:300,useWindowAsScrollContainer:!1},te=Object.keys(G);function X(Ne){h()(!(Ne.distance&&Ne.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function z(Ne,oe){try{var de=Ne()}catch(xe){return oe(!0,xe)}return de&&de.then?de.then(oe.bind(null,!1),oe.bind(null,!0)):oe(!1,value)}function Z(Ne){var oe,de,xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return de=oe=function(Pe){Object(u.a)(tt,Pe);function tt(Je){var Oe;return Object(m.a)(this,tt),Oe=Object(p.a)(this,Object(s.a)(tt).call(this,Je)),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"state",{}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"handleStart",function(pt){var Qe=Oe.props,nt=Qe.distance,bt=Qe.shouldCancelStart;if(pt.button===2||bt(pt))return;Oe.touched=!0,Oe.position=R(pt);var Tt=L(pt.target,function(we){return we.sortableInfo!=null});if(Tt&&Tt.sortableInfo&&Oe.nodeIsChild(Tt)&&!Oe.state.sorting){var Ct=Oe.props.useDragHandle,Nt=Tt.sortableInfo,Ge=Nt.index,ie=Nt.collection,Y=Nt.disabled;if(Y)return;if(Ct&&!L(pt.target,Ie))return;Oe.manager.active={collection:ie,index:Ge},!j(pt)&&pt.target.tagName===$.Anchor&&pt.preventDefault(),nt||(Oe.props.pressDelay===0?Oe.handlePress(pt):Oe.pressTimer=setTimeout(function(){return Oe.handlePress(pt)},Oe.props.pressDelay))}}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"nodeIsChild",function(pt){return pt.sortableInfo.manager===Oe.manager}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"handleMove",function(pt){var Qe=Oe.props,nt=Qe.distance,bt=Qe.pressThreshold;if(!Oe.state.sorting&&Oe.touched&&!Oe._awaitingUpdateBeforeSortStart){var Tt=R(pt),Ct={x:Oe.position.x-Tt.x,y:Oe.position.y-Tt.y},Nt=Math.abs(Ct.x)+Math.abs(Ct.y);Oe.delta=Ct,!nt&&(!bt||Nt>=bt)?(clearTimeout(Oe.cancelTimer),Oe.cancelTimer=setTimeout(Oe.cancel,0)):nt&&Nt>=nt&&Oe.manager.isActive()&&Oe.handlePress(pt)}}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"handleEnd",function(){Oe.touched=!1,Oe.cancel()}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"cancel",function(){var pt=Oe.props.distance,Qe=Oe.state.sorting;Qe||(pt||clearTimeout(Oe.pressTimer),Oe.manager.active=null)}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"handlePress",function(pt){try{var Qe=Oe.manager.getActive(),nt=function(){if(Qe){var bt=function(){var Gt=le.sortableInfo.index,lr=N(le),pr=ae(Oe.container),Rr=Oe.scrollContainer.getBoundingClientRect(),xt=Nt({index:Gt,node:le,collection:ot});if(Oe.node=le,Oe.margin=lr,Oe.gridGap=pr,Oe.width=xt.width,Oe.height=xt.height,Oe.marginOffset={x:Oe.margin.left+Oe.margin.right+Oe.gridGap.x,y:Math.max(Oe.margin.top,Oe.margin.bottom,Oe.gridGap.y)},Oe.boundingClientRect=le.getBoundingClientRect(),Oe.containerBoundingRect=Rr,Oe.index=Gt,Oe.newIndex=Gt,Oe.axis={x:Ct.indexOf("x")>=0,y:Ct.indexOf("y")>=0},Oe.offsetEdge=H(le,Oe.container),wt?Oe.initialOffset=R(Object(b.a)({},pt,{pageX:Oe.boundingClientRect.left,pageY:Oe.boundingClientRect.top})):Oe.initialOffset=R(pt),Oe.initialScroll={left:Oe.scrollContainer.scrollLeft,top:Oe.scrollContainer.scrollTop},Oe.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Oe.helper=Oe.helperContainer.appendChild(ge(le)),x(Oe.helper,{boxSizing:"border-box",height:"".concat(Oe.height,"px"),left:"".concat(Oe.boundingClientRect.left-lr.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Oe.boundingClientRect.top-lr.top,"px"),width:"".concat(Oe.width,"px")}),wt&&Oe.helper.focus(),ie&&(Oe.sortableGhost=le,x(le,{opacity:0,visibility:"hidden"})),Oe.minTranslate={},Oe.maxTranslate={},wt){var Ot=Ce?{top:0,left:0,width:Oe.contentWindow.innerWidth,height:Oe.contentWindow.innerHeight}:Oe.containerBoundingRect,At=Ot.top,Jt=Ot.left,br=Ot.width,Lr=Ot.height,Zr=At+Lr,In=Jt+br;Oe.axis.x&&(Oe.minTranslate.x=Jt-Oe.boundingClientRect.left,Oe.maxTranslate.x=In-(Oe.boundingClientRect.left+Oe.width)),Oe.axis.y&&(Oe.minTranslate.y=At-Oe.boundingClientRect.top,Oe.maxTranslate.y=Zr-(Oe.boundingClientRect.top+Oe.height))}else Oe.axis.x&&(Oe.minTranslate.x=(Ce?0:Rr.left)-Oe.boundingClientRect.left-Oe.width/2,Oe.maxTranslate.x=(Ce?Oe.contentWindow.innerWidth:Rr.left+Rr.width)-Oe.boundingClientRect.left-Oe.width/2),Oe.axis.y&&(Oe.minTranslate.y=(Ce?0:Rr.top)-Oe.boundingClientRect.top-Oe.height/2,Oe.maxTranslate.y=(Ce?Oe.contentWindow.innerHeight:Rr.top+Rr.height)-Oe.boundingClientRect.top-Oe.height/2);Ge&&Ge.split(" ").forEach(function(Gr){return Oe.helper.classList.add(Gr)}),Oe.listenerNode=pt.touches?le:Oe.contentWindow,wt?(Oe.listenerNode.addEventListener("wheel",Oe.handleKeyEnd,!0),Oe.listenerNode.addEventListener("mousedown",Oe.handleKeyEnd,!0),Oe.listenerNode.addEventListener("keydown",Oe.handleKeyDown)):(C.move.forEach(function(Gr){return Oe.listenerNode.addEventListener(Gr,Oe.handleSortMove,!1)}),C.end.forEach(function(Gr){return Oe.listenerNode.addEventListener(Gr,Oe.handleSortEnd,!1)})),Oe.setState({sorting:!0,sortingIndex:Gt}),we&&we({node:le,index:Gt,collection:ot,isKeySorting:wt,nodes:Oe.manager.getOrderedRefs(),helper:Oe.helper},pt),wt&&Oe.keyMove(0)},Tt=Oe.props,Ct=Tt.axis,Nt=Tt.getHelperDimensions,Ge=Tt.helperClass,ie=Tt.hideSortableGhost,Y=Tt.updateBeforeSortStart,we=Tt.onSortStart,Ce=Tt.useWindowAsScrollContainer,le=Qe.node,ot=Qe.collection,wt=Oe.manager.isKeySorting,rt=function(){if(typeof Y=="function"){Oe._awaitingUpdateBeforeSortStart=!0;var It=z(function(){var Gt=le.sortableInfo.index;return Promise.resolve(Y({collection:ot,index:Gt,node:le,isKeySorting:wt},pt)).then(function(){})},function(Gt,lr){if(Oe._awaitingUpdateBeforeSortStart=!1,Gt)throw lr;return lr});if(It&&It.then)return It.then(function(){})}}();return rt&&rt.then?rt.then(bt):bt(rt)}}();return Promise.resolve(nt&&nt.then?nt.then(function(){}):void 0)}catch(bt){return Promise.reject(bt)}}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"handleSortMove",function(pt){var Qe=Oe.props.onSortMove;typeof pt.preventDefault=="function"&&pt.preventDefault(),Oe.updateHelperPosition(pt),Oe.animateNodes(),Oe.autoscroll(),Qe&&Qe(pt)}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"handleSortEnd",function(pt){var Qe=Oe.props,nt=Qe.hideSortableGhost,bt=Qe.onSortEnd,Tt=Oe.manager,Ct=Tt.active.collection,Nt=Tt.isKeySorting,Ge=Oe.manager.getOrderedRefs();Oe.listenerNode&&(Nt?(Oe.listenerNode.removeEventListener("wheel",Oe.handleKeyEnd,!0),Oe.listenerNode.removeEventListener("mousedown",Oe.handleKeyEnd,!0),Oe.listenerNode.removeEventListener("keydown",Oe.handleKeyDown)):(C.move.forEach(function(le){return Oe.listenerNode.removeEventListener(le,Oe.handleSortMove)}),C.end.forEach(function(le){return Oe.listenerNode.removeEventListener(le,Oe.handleSortEnd)}))),Oe.helper.parentNode.removeChild(Oe.helper),nt&&Oe.sortableGhost&&x(Oe.sortableGhost,{opacity:"",visibility:""});for(var ie=0,Y=Ge.length;ie<Y;ie++){var we=Ge[ie],Ce=we.node;we.edgeOffset=null,we.boundingClientRect=null,_(Ce,null),I(Ce,null),we.translate=null}Oe.autoScroller.clear(),Oe.manager.active=null,Oe.manager.isKeySorting=!1,Oe.setState({sorting:!1,sortingIndex:null}),typeof bt=="function"&&bt({collection:Ct,newIndex:Oe.newIndex,oldIndex:Oe.index,isKeySorting:Nt,nodes:Ge},pt),Oe.touched=!1}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"autoscroll",function(){var pt=Oe.props.disableAutoscroll,Qe=Oe.manager.isKeySorting;if(pt){Oe.autoScroller.clear();return}if(Qe){var nt=Object(b.a)({},Oe.translate),bt=0,Tt=0;Oe.axis.x&&(nt.x=Math.min(Oe.maxTranslate.x,Math.max(Oe.minTranslate.x,Oe.translate.x)),bt=Oe.translate.x-nt.x),Oe.axis.y&&(nt.y=Math.min(Oe.maxTranslate.y,Math.max(Oe.minTranslate.y,Oe.translate.y)),Tt=Oe.translate.y-nt.y),Oe.translate=nt,_(Oe.helper,Oe.translate),Oe.scrollContainer.scrollLeft+=bt,Oe.scrollContainer.scrollTop+=Tt;return}Oe.autoScroller.update({height:Oe.height,maxTranslate:Oe.maxTranslate,minTranslate:Oe.minTranslate,translate:Oe.translate,width:Oe.width})}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"onAutoScroll",function(pt){Oe.translate.x+=pt.left,Oe.translate.y+=pt.top,Oe.animateNodes()}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"handleKeyDown",function(pt){var Qe=pt.keyCode,nt=Oe.props,bt=nt.shouldCancelStart,Tt=nt.keyCodes,Ct=Tt===void 0?{}:Tt,Nt=Object(b.a)({},pe,Ct);if(Oe.manager.active&&!Oe.manager.isKeySorting||!Oe.manager.active&&(!Nt.lift.includes(Qe)||bt(pt)||!Oe.isValidSortingTarget(pt)))return;pt.stopPropagation(),pt.preventDefault(),Nt.lift.includes(Qe)&&!Oe.manager.active?Oe.keyLift(pt):Nt.drop.includes(Qe)&&Oe.manager.active?Oe.keyDrop(pt):Nt.cancel.includes(Qe)?(Oe.newIndex=Oe.manager.active.index,Oe.keyDrop(pt)):Nt.up.includes(Qe)?Oe.keyMove(-1):Nt.down.includes(Qe)&&Oe.keyMove(1)}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"keyLift",function(pt){var Qe=pt.target,nt=L(Qe,function(Nt){return Nt.sortableInfo!=null}),bt=nt.sortableInfo,Tt=bt.index,Ct=bt.collection;Oe.initialFocusedNode=Qe,Oe.manager.isKeySorting=!0,Oe.manager.active={index:Tt,collection:Ct},Oe.handlePress(pt)}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"keyMove",function(pt){var Qe=Oe.manager.getOrderedRefs(),nt=Qe[Qe.length-1].node.sortableInfo.index,bt=Oe.newIndex+pt,Tt=Oe.newIndex;if(bt<0||bt>nt)return;Oe.prevIndex=Tt,Oe.newIndex=bt;var Ct=K(Oe.newIndex,Oe.prevIndex,Oe.index),Nt=Qe.find(function(wt){var rt=wt.node;return rt.sortableInfo.index===Ct}),Ge=Nt.node,ie=Oe.containerScrollDelta,Y=Nt.boundingClientRect||W(Ge,ie),we=Nt.translate||{x:0,y:0},Ce={top:Y.top+we.y-ie.top,left:Y.left+we.x-ie.left},le=Tt<bt,ot={x:le&&Oe.axis.x?Ge.offsetWidth-Oe.width:0,y:le&&Oe.axis.y?Ge.offsetHeight-Oe.height:0};Oe.handleSortMove({pageX:Ce.left+ot.x,pageY:Ce.top+ot.y,ignoreTransition:pt===0})}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"keyDrop",function(pt){Oe.handleSortEnd(pt),Oe.initialFocusedNode&&Oe.initialFocusedNode.focus()}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"handleKeyEnd",function(pt){Oe.manager.active&&Oe.keyDrop(pt)}),Object(e.a)(Object(o.a)(Object(o.a)(Oe)),"isValidSortingTarget",function(pt){var Qe=Oe.props.useDragHandle,nt=pt.target,bt=L(nt,function(Tt){return Tt.sortableInfo!=null});return bt&&bt.sortableInfo&&!bt.sortableInfo.disabled&&(Qe?Ie(nt):nt.sortableInfo)}),X(Je),Oe.manager=new g,Oe.events={end:Oe.handleEnd,move:Oe.handleMove,start:Oe.handleStart},Oe}return Object(v.a)(tt,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Oe=this,pt=this.props.useWindowAsScrollContainer,Qe=this.getContainer();Promise.resolve(Qe).then(function(nt){Oe.container=nt,Oe.document=Oe.container.ownerDocument||document;var bt=Oe.props.contentWindow||Oe.document.defaultView||window;Oe.contentWindow=typeof bt=="function"?bt():bt,Oe.scrollContainer=pt?Oe.document.scrollingElement||Oe.document.documentElement:J(Oe.container)||Oe.container,Oe.autoScroller=new Se(Oe.scrollContainer,Oe.onAutoScroll),Object.keys(Oe.events).forEach(function(Tt){return C[Tt].forEach(function(Ct){return Oe.container.addEventListener(Ct,Oe.events[Tt],!1)})}),Oe.container.addEventListener("keydown",Oe.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Oe=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(pt){return C[pt].forEach(function(Qe){return Oe.container.removeEventListener(Qe,Oe.events[pt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Oe){var pt=this.props,Qe=pt.lockAxis,nt=pt.lockOffset,bt=pt.lockToContainerEdges,Tt=pt.transitionDuration,Ct=pt.keyboardSortingTransitionDuration,Nt=Ct===void 0?Tt:Ct,Ge=this.manager.isKeySorting,ie=Oe.ignoreTransition,Y=R(Oe),we={x:Y.x-this.initialOffset.x,y:Y.y-this.initialOffset.y};if(we.y-=window.pageYOffset-this.initialWindowScroll.top,we.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=we,bt){var Ce=Q({height:this.height,lockOffset:nt,width:this.width}),le=Object(A.a)(Ce,2),ot=le[0],wt=le[1],rt={x:this.width/2-ot.x,y:this.height/2-ot.y},It={x:this.width/2-wt.x,y:this.height/2-wt.y};we.x=D(this.minTranslate.x+rt.x,this.maxTranslate.x-It.x,we.x),we.y=D(this.minTranslate.y+rt.y,this.maxTranslate.y-It.y,we.y)}Qe==="x"?we.y=0:Qe==="y"&&(we.x=0),Ge&&Nt&&!ie&&I(this.helper,Nt),_(this.helper,we)}},{key:"animateNodes",value:function(){var Oe=this.props,pt=Oe.transitionDuration,Qe=Oe.hideSortableGhost,nt=Oe.onSortOver,bt=this.containerScrollDelta,Tt=this.windowScrollDelta,Ct=this.manager.getOrderedRefs(),Nt={left:this.offsetEdge.left+this.translate.x+bt.left,top:this.offsetEdge.top+this.translate.y+bt.top},Ge=this.manager.isKeySorting,ie=this.newIndex;this.newIndex=null;for(var Y=0,we=Ct.length;Y<we;Y++){var Ce=Ct[Y].node,le=Ce.sortableInfo.index,ot=Ce.offsetWidth,wt=Ce.offsetHeight,rt={height:this.height>wt?wt/2:this.height/2,width:this.width>ot?ot/2:this.width/2},It=Ge&&le>this.index&&le<=ie,Gt=Ge&&le<this.index&&le>=ie,lr={x:0,y:0},pr=Ct[Y].edgeOffset;pr||(pr=H(Ce,this.container),Ct[Y].edgeOffset=pr,Ge&&(Ct[Y].boundingClientRect=W(Ce,bt)));var Rr=Y<Ct.length-1&&Ct[Y+1],xt=Y>0&&Ct[Y-1];if(Rr&&!Rr.edgeOffset&&(Rr.edgeOffset=H(Rr.node,this.container),Ge&&(Rr.boundingClientRect=W(Rr.node,bt))),le===this.index){Qe&&(this.sortableGhost=Ce,x(Ce,{opacity:0,visibility:"hidden"}));continue}pt&&I(Ce,pt),this.axis.x?this.axis.y?Gt||le<this.index&&(Nt.left+Tt.left-rt.width<=pr.left&&Nt.top+Tt.top<=pr.top+rt.height||Nt.top+Tt.top+rt.height<=pr.top)?(lr.x=this.width+this.marginOffset.x,pr.left+lr.x>this.containerBoundingRect.width-rt.width&&(Rr&&(lr.x=Rr.edgeOffset.left-pr.left,lr.y=Rr.edgeOffset.top-pr.top)),this.newIndex===null&&(this.newIndex=le)):(It||le>this.index&&(Nt.left+Tt.left+rt.width>=pr.left&&Nt.top+Tt.top+rt.height>=pr.top||Nt.top+Tt.top+rt.height>=pr.top+wt))&&(lr.x=-(this.width+this.marginOffset.x),pr.left+lr.x<this.containerBoundingRect.left+rt.width&&(xt&&(lr.x=xt.edgeOffset.left-pr.left,lr.y=xt.edgeOffset.top-pr.top)),this.newIndex=le):It||le>this.index&&Nt.left+Tt.left+rt.width>=pr.left?(lr.x=-(this.width+this.marginOffset.x),this.newIndex=le):(Gt||le<this.index&&Nt.left+Tt.left<=pr.left+rt.width)&&(lr.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=le)):this.axis.y&&(It||le>this.index&&Nt.top+Tt.top+rt.height>=pr.top?(lr.y=-(this.height+this.marginOffset.y),this.newIndex=le):(Gt||le<this.index&&Nt.top+Tt.top<=pr.top+rt.height)&&(lr.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=le))),_(Ce,lr),Ct[Y].translate=lr}this.newIndex==null&&(this.newIndex=this.index),Ge&&(this.newIndex=ie);var Ot=Ge?this.prevIndex:ie;nt&&this.newIndex!==Ot&&nt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:Ot,isKeySorting:Ge,nodes:Ct,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return h()(xe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Oe=this.props.getContainer;return typeof Oe!="function"?Object(t.findDOMNode)(this):Oe(xe.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Oe=xe.withRef?"wrappedInstance":null;return Object(r.createElement)(Ne,Object(w.a)({ref:Oe},E(this.props,te)))}},{key:"helperContainer",get:function(){var Oe=this.props.helperContainer;return typeof Oe=="function"?Oe():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Oe=this.props.useWindowAsScrollContainer;return Oe?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),tt}(r.Component),Object(e.a)(oe,"displayName",k("sortableList",Ne)),Object(e.a)(oe,"defaultProps",We),Object(e.a)(oe,"propTypes",G),Object(e.a)(oe,"childContextTypes",{manager:l.a.object.isRequired}),de}var be={index:l.a.number.isRequired,collection:l.a.oneOfType([l.a.number,l.a.string]),disabled:l.a.bool},ne=Object.keys(be);function Ae(Ne){var oe,de,xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return de=oe=function(Pe){Object(u.a)(tt,Pe);function tt(){return Object(m.a)(this,tt),Object(p.a)(this,Object(s.a)(tt).apply(this,arguments))}return Object(v.a)(tt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Oe){this.node&&(Oe.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Oe.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Oe.collection!==this.props.collection&&(this.unregister(Oe.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Oe=this.props,pt=Oe.collection,Qe=Oe.disabled,nt=Oe.index,bt=Object(t.findDOMNode)(this);bt.sortableInfo={collection:pt,disabled:Qe,index:nt,manager:this.context.manager},this.node=bt,this.ref={node:bt},this.context.manager.add(pt,this.ref)}},{key:"unregister",value:function(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Oe,this.ref)}},{key:"getWrappedInstance",value:function(){return h()(xe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Oe=xe.withRef?"wrappedInstance":null;return Object(r.createElement)(Ne,Object(w.a)({ref:Oe},E(this.props,ne)))}}]),tt}(r.Component),Object(e.a)(oe,"displayName",k("sortableElement",Ne)),Object(e.a)(oe,"contextTypes",{manager:l.a.object.isRequired}),Object(e.a)(oe,"propTypes",be),Object(e.a)(oe,"defaultProps",{collection:0}),de}},YNf1:function(M,P,d){var w=d("IwbS"),A=d("6Ic6"),b=.3,m=A.extend({type:"parallel",init:function(){this._dataGroup=new w.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(i,n,l,t){var a=this._dataGroup,c=i.getData(),h=this._data,f=i.coordinateSystem,g=f.dimensions,S=u(i);c.diff(h).add(y).update(E).remove(C).execute();function y(x){var _=s(c,a,x,g,f);o(_,c,x,S)}function E(x,_){var I=h.getItemGraphicEl(_),L=p(c,x,g,f);c.setItemGraphicEl(x,I);var D=t&&t.animation===!1?null:i;w.updateProps(I,{shape:{points:L}},D,x),o(I,c,x,S)}function C(x){var _=h.getItemGraphicEl(x);a.remove(_)}if(!this._initialized){this._initialized=!0;var T=v(f,i,function(){setTimeout(function(){a.removeClipPath()})});a.setClipPath(T)}this._data=c},incrementalPrepareRender:function(i,n,l){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(i,n,l){for(var t=n.getData(),a=n.coordinateSystem,c=a.dimensions,h=u(n),f=i.start;f<i.end;f++){var g=s(t,this._dataGroup,f,c,a);g.incremental=!0,o(g,t,f,h)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function v(i,n,l){var t=i.model,a=i.getRect(),c=new w.Rect({shape:{x:a.x,y:a.y,width:a.width,height:a.height}}),h=t.get("layout")==="horizontal"?"width":"height";return c.setShape(h,0),w.initProps(c,{shape:{width:a.width,height:a.height}},n,l),c}function p(i,n,l,t){for(var a=[],c=0;c<l.length;c++){var h=l[c],f=i.get(i.mapDimension(h),n);e(f,t.getAxis(h).type)||a.push(t.dataToPoint(f,h))}return a}function s(i,n,l,t,a){var c=p(i,l,t,a),h=new w.Polyline({shape:{points:c},silent:!0,z2:10});return n.add(h),i.setItemGraphicEl(l,h),h}function u(i){var n=i.get("smooth",!0);return n===!0&&(n=b),{lineStyle:i.getModel("lineStyle").getLineStyle(),smooth:n!=null?n:b}}function o(i,n,l,t){var a=t.lineStyle;if(n.hasItemOption){var c=n.getItemModel(l).getModel("lineStyle");a=c.getLineStyle()}i.useStyle(a);var h=i.style;h.fill=null,h.stroke=n.getItemVisual(l,"color"),h.opacity=n.getItemVisual(l,"opacity"),t.smooth&&(i.shape.smooth=t.smooth)}function e(i,n){return n==="category"?i==null:i==null||isNaN(i)}var r=m;M.exports=r},YOMW:function(M,P,d){var w=d("bYtY"),A={get:function(v,p,s){var u=w.clone((b[v]||{})[p]);return s&&w.isArray(u)?u[u.length-1]:u}},b={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=A;M.exports=m},YXkt:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=d("Qxkt"),v=d("gPAo"),p=d("7G+c"),s=d("KxfA"),u=s.defaultDimValueGetters,o=s.DefaultDataProvider,e=d("L0Ub"),r=e.summarizeDimensions,i=d("Vi4m"),n=b.isObject,l="undefined",t=-1,a="e\0\0",c={float:typeof Float64Array===l?Array:Float64Array,int:typeof Int32Array===l?Array:Int32Array,ordinal:Array,number:Array,time:Array},h=typeof Uint32Array===l?Array:Uint32Array,f=typeof Int32Array===l?Array:Int32Array,g=typeof Uint16Array===l?Array:Uint16Array;function S(V){return V._rawCount>65535?h:g}function y(V){var J=V.constructor;return J===Array?V.slice():new J(V)}var E=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],C=["_extent","_approximateExtent","_rawExtent"];function T(V,J){b.each(E.concat(J.__wrappedMethods||[]),function(ae){J.hasOwnProperty(ae)&&(V[ae]=J[ae])}),V.__wrappedMethods=J.__wrappedMethods,b.each(C,function(ae){V[ae]=b.clone(J[ae])}),V._calculationInfo=b.extend(J._calculationInfo)}var x=function(V,J){V=V||["x","y"];for(var ae={},se=[],$={},ge=0;ge<V.length;ge++){var he=V[ge];b.isString(he)?he=new i({name:he}):he instanceof i||(he=new i(he));var Ie=he.name;he.type=he.type||"float",he.coordDim||(he.coordDim=Ie,he.coordDimIndex=0),he.otherDims=he.otherDims||{},se.push(Ie),ae[Ie]=he,he.index=ge,he.createInvertedIndices&&($[Ie]=[])}this.dimensions=se,this._dimensionInfos=ae,this.hostModel=J,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=r(this),this._invertedIndicesMap=$,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},_=x.prototype;_.type="list",_.hasItemOption=!0,_.getDimension=function(V){return(typeof V=="number"||!isNaN(V)&&!this._dimensionInfos.hasOwnProperty(V))&&(V=this.dimensions[V]),V},_.getDimensionInfo=function(V){return this._dimensionInfos[this.getDimension(V)]},_.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},_.mapDimension=function(V,J){var ae=this._dimensionsSummary;if(J==null)return ae.encodeFirstDimNotExtra[V];var se=ae.encode[V];return J===!0?(se||[]).slice():se&&se[J]},_.initData=function(V,J,ae){var se=p.isInstance(V)||b.isArrayLike(V);se&&(V=new o(V,this.dimensions.length)),this._rawData=V,this._storage={},this._indices=null,this._nameList=J||[],this._idList=[],this._nameRepeatCount={},ae||(this.hasItemOption=!1),this.defaultDimValueGetter=u[this._rawData.getSource().sourceFormat],this._dimValueGetter=ae=ae||this.defaultDimValueGetter,this._dimValueGetterArrayRows=u.arrayRows,this._rawExtent={},this._initDataFromProvider(0,V.count()),V.pure&&(this.hasItemOption=!1)},_.getProvider=function(){return this._rawData},_.appendData=function(V){var J=this._rawData,ae=this.count();J.appendData(V);var se=J.count();J.persistent||(se+=ae),this._initDataFromProvider(ae,se)},_.appendValues=function(V,J){for(var ae=this._chunkSize,se=this._storage,$=this.dimensions,ge=$.length,he=this._rawExtent,Ie=this.count(),Se=Ie+Math.max(V.length,J?J.length:0),Le=this._chunkCount,He=0;He<ge;He++){var G=$[He];he[G]||(he[G]=K()),se[G]||(se[G]=[]),I(se,this._dimensionInfos[G],ae,Le,Se),this._chunkCount=se[G].length}for(var pe=new Array(ge),We=Ie;We<Se;We++){for(var te=We-Ie,X=Math.floor(We/ae),z=We%ae,Z=0;Z<ge;Z++){var G=$[Z],be=this._dimValueGetterArrayRows(V[te]||pe,G,te,Z);se[G][X][z]=be;var ne=he[G];be<ne[0]&&(ne[0]=be),be>ne[1]&&(ne[1]=be)}J&&(this._nameList[We]=J[te])}this._rawCount=this._count=Se,this._extent={},L(this)},_._initDataFromProvider=function(V,J){if(V>=J)return;for(var ae=this._chunkSize,se=this._rawData,$=this._storage,ge=this.dimensions,he=ge.length,Ie=this._dimensionInfos,Se=this._nameList,Le=this._idList,He=this._rawExtent,G=this._nameRepeatCount={},pe,We=this._chunkCount,te=0;te<he;te++){var X=ge[te];He[X]||(He[X]=K());var z=Ie[X];z.otherDims.itemName===0&&(pe=this._nameDimIdx=te),z.otherDims.itemId===0&&(this._idDimIdx=te),$[X]||($[X]=[]),I($,z,ae,We,J),this._chunkCount=$[X].length}for(var Z=new Array(he),be=V;be<J;be++){Z=se.getItem(be,Z);for(var ne=Math.floor(be/ae),Ae=be%ae,Ne=0;Ne<he;Ne++){var X=ge[Ne],oe=$[X][ne],de=this._dimValueGetter(Z,X,be,Ne);oe[Ae]=de;var xe=He[X];de<xe[0]&&(xe[0]=de),de>xe[1]&&(xe[1]=de)}if(!se.pure){var Pe=Se[be];if(Z&&Pe==null){if(Z.name!=null)Se[be]=Pe=Z.name;else if(pe!=null){var tt=ge[pe],Je=$[tt][ne];if(Je){Pe=Je[Ae];var Oe=Ie[tt].ordinalMeta;Oe&&Oe.categories.length&&(Pe=Oe.categories[Pe])}}}var pt=Z==null?null:Z.id;pt==null&&Pe!=null&&(G[Pe]=G[Pe]||0,pt=Pe,G[Pe]>0&&(pt+="__ec__"+G[Pe]),G[Pe]++),pt!=null&&(Le[be]=pt)}}!se.persistent&&se.clean&&se.clean(),this._rawCount=this._count=J,this._extent={},L(this)};function I(V,J,ae,se,$){var ge=c[J.type],he=se-1,Ie=J.name,Se=V[Ie][he];if(Se&&Se.length<ae){for(var Le=new ge(Math.min($-he*ae,ae)),He=0;He<Se.length;He++)Le[He]=Se[He];V[Ie][he]=Le}for(var G=se*ae;G<$;G+=ae)V[Ie].push(new ge(Math.min($-G,ae)))}function L(V){var J=V._invertedIndicesMap;b.each(J,function(ae,se){var $=V._dimensionInfos[se],ge=$.ordinalMeta;if(ge){ae=J[se]=new f(ge.categories.length);for(var he=0;he<ae.length;he++)ae[he]=t;for(var he=0;he<V._count;he++)ae[V.get(se,he)]=he}})}function D(V,J,ae){var se;if(J!=null){var $=V._chunkSize,ge=Math.floor(ae/$),he=ae%$,Ie=V.dimensions[J],Se=V._storage[Ie][ge];if(Se){se=Se[he];var Le=V._dimensionInfos[Ie].ordinalMeta;Le&&Le.categories.length&&(se=Le.categories[se])}}return se}_.count=function(){return this._count},_.getIndices=function(){var V,J=this._indices;if(J){var ae=J.constructor,se=this._count;if(ae===Array){V=new ae(se);for(var $=0;$<se;$++)V[$]=J[$]}else V=new ae(J.buffer,0,se)}else for(var ae=S(this),V=new ae(this.count()),$=0;$<V.length;$++)V[$]=$;return V},_.get=function(V,J){if(!(J>=0&&J<this._count))return NaN;var ae=this._storage;if(!ae[V])return NaN;J=this.getRawIndex(J);var se=Math.floor(J/this._chunkSize),$=J%this._chunkSize,ge=ae[V][se],he=ge[$];return he},_.getByRawIndex=function(V,J){if(!(J>=0&&J<this._rawCount))return NaN;var ae=this._storage[V];if(!ae)return NaN;var se=Math.floor(J/this._chunkSize),$=J%this._chunkSize,ge=ae[se];return ge[$]},_._getFast=function(V,J){var ae=Math.floor(J/this._chunkSize),se=J%this._chunkSize,$=this._storage[V][ae];return $[se]},_.getValues=function(V,J){var ae=[];b.isArray(V)||(J=V,V=this.dimensions);for(var se=0,$=V.length;se<$;se++)ae.push(this.get(V[se],J));return ae},_.hasValue=function(V){for(var J=this._dimensionsSummary.dataDimsOnCoord,ae=0,se=J.length;ae<se;ae++)if(isNaN(this.get(J[ae],V)))return!1;return!0},_.getDataExtent=function(V){V=this.getDimension(V);var J=this._storage[V],ae=K();if(!J)return ae;var se=this.count(),$=!this._indices,ge;if($)return this._rawExtent[V].slice();if(ge=this._extent[V],ge)return ge.slice();ge=ae;for(var he=ge[0],Ie=ge[1],Se=0;Se<se;Se++){var Le=this._getFast(V,this.getRawIndex(Se));Le<he&&(he=Le),Le>Ie&&(Ie=Le)}return ge=[he,Ie],this._extent[V]=ge,ge},_.getApproximateExtent=function(V){return V=this.getDimension(V),this._approximateExtent[V]||this.getDataExtent(V)},_.setApproximateExtent=function(V,J){J=this.getDimension(J),this._approximateExtent[J]=V.slice()},_.getCalculationInfo=function(V){return this._calculationInfo[V]},_.setCalculationInfo=function(V,J){n(V)?b.extend(this._calculationInfo,V):this._calculationInfo[V]=J},_.getSum=function(V){var J=this._storage[V],ae=0;if(J)for(var se=0,$=this.count();se<$;se++){var ge=this.get(V,se);isNaN(ge)||(ae+=ge)}return ae},_.getMedian=function(V){var J=[];this.each(V,function($,ge){isNaN($)||J.push($)});var ae=[].concat(J).sort(function($,ge){return $-ge}),se=this.count();return se===0?0:se%2===1?ae[(se-1)/2]:(ae[se/2]+ae[se/2-1])/2},_.rawIndexOf=function(V,J){var ae=V&&this._invertedIndicesMap[V],se=ae[J];return se==null||isNaN(se)?t:se},_.indexOfName=function(V){for(var J=0,ae=this.count();J<ae;J++)if(this.getName(J)===V)return J;return-1},_.indexOfRawIndex=function(V){if(V>=this._rawCount||V<0)return-1;if(!this._indices)return V;var J=this._indices,ae=J[V];if(ae!=null&&ae<this._count&&ae===V)return V;for(var se=0,$=this._count-1;se<=$;){var ge=(se+$)/2|0;if(J[ge]<V)se=ge+1;else if(J[ge]>V)$=ge-1;else return ge}return-1},_.indicesOfNearest=function(V,J,ae){var se=this._storage,$=se[V],ge=[];if(!$)return ge;ae==null&&(ae=Infinity);for(var he=Infinity,Ie=-1,Se=0,Le=0,He=this.count();Le<He;Le++){var G=J-this.get(V,Le),pe=Math.abs(G);pe<=ae&&((pe<he||pe===he&&G>=0&&Ie<0)&&(he=pe,Ie=G,Se=0),G===Ie&&(ge[Se++]=Le))}return ge.length=Se,ge},_.getRawIndex=B;function B(V){return V}function N(V){return V<this._count&&V>=0?this._indices[V]:-1}_.getRawDataItem=function(V){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(V));for(var J=[],ae=0;ae<this.dimensions.length;ae++){var se=this.dimensions[ae];J.push(this.get(se,V))}return J},_.getName=function(V){var J=this.getRawIndex(V);return this._nameList[J]||D(this,this._nameDimIdx,J)||""},_.getId=function(V){return k(this,this.getRawIndex(V))};function k(V,J){var ae=V._idList[J];return ae==null&&(ae=D(V,V._idDimIdx,J)),ae==null&&(ae=a+J),ae}function W(V){return b.isArray(V)||(V=[V]),V}function R(V,J){for(var ae=0;ae<J.length;ae++)V._dimensionInfos[J[ae]]||console.error("Unkown dimension "+J[ae])}_.each=function(V,J,ae,se){"use strict";if(!this._count)return;typeof V=="function"&&(se=ae,ae=J,J=V,V=[]),ae=ae||se||this,V=b.map(W(V),this.getDimension,this);for(var $=V.length,ge=0;ge<this.count();ge++)switch($){case 0:J.call(ae,ge);break;case 1:J.call(ae,this.get(V[0],ge),ge);break;case 2:J.call(ae,this.get(V[0],ge),this.get(V[1],ge),ge);break;default:for(var he=0,Ie=[];he<$;he++)Ie[he]=this.get(V[he],ge);Ie[he]=ge,J.apply(ae,Ie)}},_.filterSelf=function(V,J,ae,se){"use strict";if(!this._count)return;typeof V=="function"&&(se=ae,ae=J,J=V,V=[]),ae=ae||se||this,V=b.map(W(V),this.getDimension,this);for(var $=this.count(),ge=S(this),he=new ge($),Ie=[],Se=V.length,Le=0,He=V[0],G=0;G<$;G++){var pe,We=this.getRawIndex(G);if(Se===0)pe=J.call(ae,G);else if(Se===1){var te=this._getFast(He,We);pe=J.call(ae,te,G)}else{for(var X=0;X<Se;X++)Ie[X]=this._getFast(He,We);Ie[X]=G,pe=J.apply(ae,Ie)}pe&&(he[Le++]=We)}return Le<$&&(this._indices=he),this._count=Le,this._extent={},this.getRawIndex=this._indices?N:B,this},_.selectRange=function(V){"use strict";if(!this._count)return;var J=[];for(var ae in V)V.hasOwnProperty(ae)&&J.push(ae);var se=J.length;if(!se)return;var $=this.count(),ge=S(this),he=new ge($),Ie=0,Se=J[0],Le=V[Se][0],He=V[Se][1],G=!1;if(!this._indices){var pe=0;if(se===1){for(var We=this._storage[J[0]],te=0;te<this._chunkCount;te++)for(var X=We[te],z=Math.min(this._count-te*this._chunkSize,this._chunkSize),Z=0;Z<z;Z++){var be=X[Z];(be>=Le&&be<=He||isNaN(be))&&(he[Ie++]=pe),pe++}G=!0}else if(se===2){for(var We=this._storage[Se],ne=this._storage[J[1]],Ae=V[J[1]][0],Ne=V[J[1]][1],te=0;te<this._chunkCount;te++)for(var X=We[te],oe=ne[te],z=Math.min(this._count-te*this._chunkSize,this._chunkSize),Z=0;Z<z;Z++){var be=X[Z],de=oe[Z];(be>=Le&&be<=He||isNaN(be))&&(de>=Ae&&de<=Ne||isNaN(de))&&(he[Ie++]=pe),pe++}G=!0}}if(!G)if(se===1)for(var Z=0;Z<$;Z++){var xe=this.getRawIndex(Z),be=this._getFast(Se,xe);(be>=Le&&be<=He||isNaN(be))&&(he[Ie++]=xe)}else for(var Z=0;Z<$;Z++){for(var Pe=!0,xe=this.getRawIndex(Z),te=0;te<se;te++){var tt=J[te],be=this._getFast(ae,xe);(be<V[tt][0]||be>V[tt][1])&&(Pe=!1)}Pe&&(he[Ie++]=this.getRawIndex(Z))}return Ie<$&&(this._indices=he),this._count=Ie,this._extent={},this.getRawIndex=this._indices?N:B,this},_.mapArray=function(V,J,ae,se){"use strict";typeof V=="function"&&(se=ae,ae=J,J=V,V=[]),ae=ae||se||this;var $=[];return this.each(V,function(){$.push(J&&J.apply(this,arguments))},ae),$};function j(V,J){var ae=V.dimensions,se=new x(b.map(ae,V.getDimensionInfo,V),V.hostModel);T(se,V);for(var $=se._storage={},ge=V._storage,he=0;he<ae.length;he++){var Ie=ae[he];ge[Ie]&&(b.indexOf(J,Ie)>=0?($[Ie]=H(ge[Ie]),se._rawExtent[Ie]=K(),se._extent[Ie]=null):$[Ie]=ge[Ie])}return se}function H(V){for(var J=new Array(V.length),ae=0;ae<V.length;ae++)J[ae]=y(V[ae]);return J}function K(){return[Infinity,-Infinity]}_.map=function(V,J,ae,se){"use strict";ae=ae||se||this,V=b.map(W(V),this.getDimension,this);var $=j(this,V);$._indices=this._indices,$.getRawIndex=$._indices?N:B;for(var ge=$._storage,he=[],Ie=this._chunkSize,Se=V.length,Le=this.count(),He=[],G=$._rawExtent,pe=0;pe<Le;pe++){for(var We=0;We<Se;We++)He[We]=this.get(V[We],pe);He[Se]=pe;var te=J&&J.apply(ae,He);if(te!=null){typeof te!="object"&&(he[0]=te,te=he);for(var X=this.getRawIndex(pe),z=Math.floor(X/Ie),Z=X%Ie,be=0;be<te.length;be++){var ne=V[be],Ae=te[be],Ne=G[ne],oe=ge[ne];oe&&(oe[z][Z]=Ae),Ae<Ne[0]&&(Ne[0]=Ae),Ae>Ne[1]&&(Ne[1]=Ae)}}}return $},_.downSample=function(V,J,ae,se){for(var $=j(this,[V]),ge=$._storage,he=[],Ie=Math.floor(1/J),Se=ge[V],Le=this.count(),He=this._chunkSize,G=$._rawExtent[V],pe=new(S(this))(Le),We=0,te=0;te<Le;te+=Ie){Ie>Le-te&&(Ie=Le-te,he.length=Ie);for(var X=0;X<Ie;X++){var z=this.getRawIndex(te+X),Z=Math.floor(z/He),be=z%He;he[X]=Se[Z][be]}var ne=ae(he),Ae=this.getRawIndex(Math.min(te+se(he,ne)||0,Le-1)),Ne=Math.floor(Ae/He),oe=Ae%He;Se[Ne][oe]=ne,ne<G[0]&&(G[0]=ne),ne>G[1]&&(G[1]=ne),pe[We++]=Ae}return $._count=We,$._indices=pe,$.getRawIndex=N,$},_.getItemModel=function(V){var J=this.hostModel;return new m(this.getRawDataItem(V),J,J&&J.ecModel)},_.diff=function(V){var J=this;return new v(V?V.getIndices():[],this.getIndices(),function(ae){return k(V,ae)},function(ae){return k(J,ae)})},_.getVisual=function(V){var J=this._visual;return J&&J[V]},_.setVisual=function(V,J){if(n(V)){for(var ae in V)V.hasOwnProperty(ae)&&this.setVisual(ae,V[ae]);return}this._visual=this._visual||{},this._visual[V]=J},_.setLayout=function(V,J){if(n(V)){for(var ae in V)V.hasOwnProperty(ae)&&this.setLayout(ae,V[ae]);return}this._layout[V]=J},_.getLayout=function(V){return this._layout[V]},_.getItemLayout=function(V){return this._itemLayouts[V]},_.setItemLayout=function(V,J,ae){this._itemLayouts[V]=ae?b.extend(this._itemLayouts[V]||{},J):J},_.clearItemLayouts=function(){this._itemLayouts.length=0},_.getItemVisual=function(V,J,ae){var se=this._itemVisuals[V],$=se&&se[J];return $==null&&!ae?this.getVisual(J):$},_.setItemVisual=function(V,J,ae){var se=this._itemVisuals[V]||{},$=this.hasItemVisual;if(this._itemVisuals[V]=se,n(J)){for(var ge in J)J.hasOwnProperty(ge)&&(se[ge]=J[ge],$[ge]=!0);return}se[J]=ae,$[J]=!0},_.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var U=function(V){V.seriesIndex=this.seriesIndex,V.dataIndex=this.dataIndex,V.dataType=this.dataType};_.setItemGraphicEl=function(V,J){var ae=this.hostModel;J&&(J.dataIndex=V,J.dataType=this.dataType,J.seriesIndex=ae&&ae.seriesIndex,J.type==="group"&&J.traverse(U,J)),this._graphicEls[V]=J},_.getItemGraphicEl=function(V){return this._graphicEls[V]},_.eachItemGraphicEl=function(V,J){b.each(this._graphicEls,function(ae,se){ae&&(V&&V.call(J,ae,se))})},_.cloneShallow=function(V){if(!V){var J=b.map(this.dimensions,this.getDimensionInfo,this);V=new x(J,this.hostModel)}if(V._storage=this._storage,T(V,this),this._indices){var ae=this._indices.constructor;V._indices=new ae(this._indices)}else V._indices=null;return V.getRawIndex=V._indices?N:B,V},_.wrapMethod=function(V,J){var ae=this[V];if(typeof ae!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(V),this[V]=function(){var se=ae.apply(this,arguments);return J.apply(this,[se].concat(b.slice(arguments)))}},_.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],_.CHANGABLE_METHODS=["filterSelf","selectRange"];var Q=x;M.exports=Q},YgsL:function(M,P,d){var w=d("QBsz"),A=w.distance;function b(v,p,s,u,o,e,r){var i=(s-v)*.5,n=(u-p)*.5;return(2*(p-s)+i+n)*r+(-3*(p-s)-2*i-n)*e+i*o+p}function m(v,p){for(var s=v.length,u=[],o=0,e=1;e<s;e++)o+=A(v[e-1],v[e]);var r=o/2;r=r<s?s:r;for(var e=0;e<r;e++){var i=e/(r-1)*(p?s:s-1),n=Math.floor(i),l=i-n,t,a=v[n%s],c,h;p?(t=v[(n-1+s)%s],c=v[(n+1)%s],h=v[(n+2)%s]):(t=v[n===0?n:n-1],c=v[n>s-2?s-1:n+1],h=v[n>s-3?s-1:n+2]);var f=l*l,g=l*f;u.push([b(t[0],a[0],c[0],h[0],l,f,g),b(t[1],a[1],c[1],h[1],l,f,g)])}return u}M.exports=m},Yl7c:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=".",v="___EC__COMPONENT__CONTAINER___";function p(t){var a={main:"",sub:""};return t&&(t=t.split(m),a.main=t[0]||"",a.sub=t[1]||""),a}function s(t){b.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function u(t,a){t.$constructor=t,t.extend=function(c){var h=this,f=function(){c.$constructor?c.$constructor.apply(this,arguments):h.apply(this,arguments)};return b.extend(f.prototype,c),f.extend=this.extend,f.superCall=r,f.superApply=i,b.inherits(f,this),f.superClass=h,f}}var o=0;function e(t){var a=["__\0is_clz",o++,Math.random().toFixed(3)].join("_");t.prototype[a]=!0,t.isInstance=function(c){return!!(c&&c[a])}}function r(t,a){var c=b.slice(arguments,2);return this.superClass.prototype[a].apply(t,c)}function i(t,a,c){return this.superClass.prototype[a].apply(t,c)}function n(t,a){a=a||{};var c={};t.registerClass=function(g,S){if(S){if(s(S),S=p(S),!S.sub)c[S.main]=g;else if(S.sub!==v){var y=h(S);y[S.sub]=g}}return g},t.getClass=function(g,S,y){var E=c[g];if(E&&E[v]&&(E=S?E[S]:null),y&&!E)throw new Error(S?"Component "+g+"."+(S||"")+" not exists. Load it first.":g+".type should be specified.");return E},t.getClassesByMainType=function(g){g=p(g);var S=[],y=c[g.main];return y&&y[v]?b.each(y,function(E,C){C!==v&&S.push(E)}):S.push(y),S},t.hasClass=function(g){return g=p(g),!!c[g.main]},t.getAllClassMainTypes=function(){var g=[];return b.each(c,function(S,y){g.push(y)}),g},t.hasSubTypes=function(g){g=p(g);var S=c[g.main];return S&&S[v]},t.parseClassType=p;function h(g){var S=c[g.main];return(!S||!S[v])&&(S=c[g.main]={},S[v]=!0),S}if(a.registerWhenExtend){var f=t.extend;f&&(t.extend=function(g){var S=f.call(this,g);return t.registerClass(S,g.type)})}return t}function l(t,a){}P.parseClassType=p,P.enableClassExtend=u,P.enableClassCheck=e,P.enableClassManagement=n,P.setReadOnly=l},Ynxi:function(M,P,d){var w=d("bYtY"),A=d("ProS"),b=d("IwbS"),m=d("+TT/"),v=m.getLayoutRect,p=d("7aKB"),s=p.windowOpen;A.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"}}}),A.extendComponentView({type:"title",render:function(u,o,e){if(this.group.removeAll(),!u.get("show"))return;var r=this.group,i=u.getModel("textStyle"),n=u.getModel("subtextStyle"),l=u.get("textAlign"),t=w.retrieve2(u.get("textBaseline"),u.get("textVerticalAlign")),a=new b.Text({style:b.setTextStyle({},i,{text:u.get("text"),textFill:i.getTextColor()},{disableBox:!0}),z2:10}),c=a.getBoundingRect(),h=u.get("subtext"),f=new b.Text({style:b.setTextStyle({},n,{text:h,textFill:n.getTextColor(),y:c.height+u.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),g=u.get("link"),S=u.get("sublink"),y=u.get("triggerEvent",!0);a.silent=!g&&!y,f.silent=!S&&!y,g&&a.on("click",function(){s(g,"_"+u.get("target"))}),S&&f.on("click",function(){s(g,"_"+u.get("subtarget"))}),a.eventData=f.eventData=y?{componentType:"title",componentIndex:u.componentIndex}:null,r.add(a),h&&r.add(f);var E=r.getBoundingRect(),C=u.getBoxLayoutParams();C.width=E.width,C.height=E.height;var T=v(C,{width:e.getWidth(),height:e.getHeight()},u.get("padding"));l||(l=u.get("left")||u.get("right"),l==="middle"&&(l="center"),l==="right"?T.x+=T.width:l==="center"&&(T.x+=T.width/2)),t||(t=u.get("top")||u.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?T.y+=T.height:t==="middle"&&(T.y+=T.height/2),t=t||"top"),r.attr("position",[T.x,T.y]);var x={textAlign:l,textVerticalAlign:t};a.setStyle(x),f.setStyle(x),E=r.getBoundingRect();var _=T.margin,I=u.getItemStyle(["color","opacity"]);I.fill=u.get("backgroundColor");var L=new b.Rect({shape:{x:E.x-_[3],y:E.y-_[0],width:E.width+_[1]+_[3],height:E.height+_[0]+_[2],r:u.get("borderRadius")},style:I,subPixelOptimize:!0,silent:!0});r.add(L)}})},Z1HP:function(M,P,d){var w=d("ycre"),A=d("quyA"),b=d("q4HE");function m(v){return A(v)?b(v):w(v)}M.exports=m},Z1r0:function(M,P){function d(w){var A=w.findComponents({mainType:"legend"});if(!A||!A.length)return;w.eachSeriesByType("graph",function(b){var m=b.getCategoriesData(),v=b.getGraph(),p=v.data,s=m.mapArray(m.getName);p.filterSelf(function(u){var o=p.getItemModel(u),e=o.getShallow("category");if(e!=null){typeof e=="number"&&(e=s[e]);for(var r=0;r<A.length;r++)if(!A[r].isSelected(e))return!1}return!0})},this)}M.exports=d},Z1wy:function(M,P,d){var w=d("ProS");d("ThAp"),d("pmaE"),d("SehX"),d("7uqq");var A=d("zuHt"),b=d("VPsl"),m=d("9u0u"),v=d("lELe"),p=d("d4KN");w.registerLayout(A),w.registerVisual(b),w.registerProcessor(w.PRIORITY.PROCESSOR.STATISTIC,m),w.registerPreprocessor(v),p("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(M,P,d){var w=d("MwEJ"),A=d("T4UG"),b=A.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(m,v){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=b},Z8zF:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),m=d("bYtY"),v=d("IwbS"),p=d("56rv"),s=p.setLabel,u=d("Qxkt"),o=d("tceW"),e=d("y+Vt"),r=d("4fz+"),i=d("iLNv"),n=i.throttle,l=d("sK/D"),t=l.createClipPath,a=d("wr5s"),c=["itemStyle","barBorderWidth"],h=[0,0];m.extend(u.prototype,o);function f(U,Q){var V=U.getArea&&U.getArea();if(U.type==="cartesian2d"){var J=U.getBaseAxis();if(J.type!=="category"||!J.onBand){var ae=Q.getLayout("bandWidth");J.isHorizontal()?(V.x-=ae,V.width+=ae*2):(V.y-=ae,V.height+=ae*2)}}return V}var g=b.extendChartView({type:"bar",render:function(U,Q,V){this._updateDrawMode(U);var J=U.get("coordinateSystem");return(J==="cartesian2d"||J==="polar")&&(this._isLargeDraw?this._renderLarge(U,Q,V):this._renderNormal(U,Q,V)),this.group},incrementalPrepareRender:function(U,Q,V){this._clear(),this._updateDrawMode(U)},incrementalRender:function(U,Q,V,J){this._incrementalRenderLarge(U,Q)},_updateDrawMode:function(U){var Q=U.pipelineContext.large;(this._isLargeDraw==null||Q^this._isLargeDraw)&&(this._isLargeDraw=Q,this._clear())},_renderNormal:function(U,Q,V){var J=this.group,ae=U.getData(),se=this._data,$=U.coordinateSystem,ge=$.getBaseAxis(),he;$.type==="cartesian2d"?he=ge.isHorizontal():$.type==="polar"&&(he=ge.dim==="angle");var Ie=U.isAnimationEnabled()?U:null,Se=U.get("clip",!0),Le=f($,ae);J.removeClipPath();var He=U.get("roundCap",!0),G=U.get("showBackground",!0),pe=U.getModel("backgroundStyle"),We=pe.get("barBorderRadius")||0,te=[],X=this._backgroundEls||[];ae.diff(se).add(function(be){var ne=ae.getItemModel(be),Ae=_[$.type](ae,be,ne);if(G){var Ne=_[$.type](ae,be),oe=K($,he,Ne);oe.useStyle(pe.getBarItemStyle()),$.type==="cartesian2d"&&oe.setShape("r",We),te[be]=oe}if(!ae.hasValue(be))return;if(Se){var de=E[$.type](Le,Ae);if(de){J.remove(xe);return}}var xe=C[$.type](be,Ae,he,Ie,!1,He);ae.setItemGraphicEl(be,xe),J.add(xe),L(xe,ae,be,ne,Ae,U,he,$.type==="polar")}).update(function(be,ne){var Ae=ae.getItemModel(be),Ne=_[$.type](ae,be,Ae);if(G){var oe=X[ne];oe.useStyle(pe.getBarItemStyle()),$.type==="cartesian2d"&&oe.setShape("r",We),te[be]=oe;var de=_[$.type](ae,be),xe=H(he,de,$);v.updateProps(oe,{shape:xe},Ie,be)}var Pe=se.getItemGraphicEl(ne);if(!ae.hasValue(be)){J.remove(Pe);return}if(Se){var tt=E[$.type](Le,Ne);if(tt){J.remove(Pe);return}}Pe?v.updateProps(Pe,{shape:Ne},Ie,be):Pe=C[$.type](be,Ne,he,Ie,!0,He),ae.setItemGraphicEl(be,Pe),J.add(Pe),L(Pe,ae,be,Ae,Ne,U,he,$.type==="polar")}).remove(function(be){var ne=se.getItemGraphicEl(be);$.type==="cartesian2d"?ne&&T(be,Ie,ne):ne&&x(be,Ie,ne)}).execute();var z=this._backgroundGroup||(this._backgroundGroup=new r);z.removeAll();for(var Z=0;Z<te.length;++Z)z.add(te[Z]);J.add(z),this._backgroundEls=te,this._data=ae},_renderLarge:function(U,Q,V){this._clear(),N(U,this.group);var J=U.get("clip",!0)?t(U.coordinateSystem,!1,U):null;J?this.group.setClipPath(J):this.group.removeClipPath()},_incrementalRenderLarge:function(U,Q){this._removeBackground(),N(Q,this.group,!0)},dispose:m.noop,remove:function(U){this._clear(U)},_clear:function(U){var Q=this.group,V=this._data;U&&U.get("animation")&&V&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],V.eachItemGraphicEl(function(J){J.type==="sector"?x(J.dataIndex,U,J):T(J.dataIndex,U,J)})):Q.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),S=Math.max,y=Math.min,E={cartesian2d:function(U,Q){var V=Q.width<0?-1:1,J=Q.height<0?-1:1;V<0&&(Q.x+=Q.width,Q.width=-Q.width),J<0&&(Q.y+=Q.height,Q.height=-Q.height);var ae=S(Q.x,U.x),se=y(Q.x+Q.width,U.x+U.width),$=S(Q.y,U.y),ge=y(Q.y+Q.height,U.y+U.height);Q.x=ae,Q.y=$,Q.width=se-ae,Q.height=ge-$;var he=Q.width<0||Q.height<0;return V<0&&(Q.x+=Q.width,Q.width=-Q.width),J<0&&(Q.y+=Q.height,Q.height=-Q.height),he},polar:function(U){return!1}},C={cartesian2d:function(U,Q,V,J,ae){var se=new v.Rect({shape:m.extend({},Q),z2:1});if(se.name="item",J){var $=se.shape,ge=V?"height":"width",he={};$[ge]=0,he[ge]=Q[ge],v[ae?"updateProps":"initProps"](se,{shape:he},J,U)}return se},polar:function(U,Q,V,J,ae,se){var $=Q.startAngle<Q.endAngle,ge=!V&&se?a:v.Sector,he=new ge({shape:m.defaults({clockwise:$},Q),z2:1});if(he.name="item",J){var Ie=he.shape,Se=V?"r":"endAngle",Le={};Ie[Se]=V?0:Q.startAngle,Le[Se]=Q[Se],v[ae?"updateProps":"initProps"](he,{shape:Le},J,U)}return he}};function T(U,Q,V){V.style.text=null,v.updateProps(V,{shape:{width:0}},Q,U,function(){V.parent&&V.parent.remove(V)})}function x(U,Q,V){V.style.text=null,v.updateProps(V,{shape:{r:V.shape.r0}},Q,U,function(){V.parent&&V.parent.remove(V)})}var _={cartesian2d:function(U,Q,V){var J=U.getItemLayout(Q),ae=V?D(V,J):0,se=J.width>0?1:-1,$=J.height>0?1:-1;return{x:J.x+se*ae/2,y:J.y+$*ae/2,width:J.width-se*ae,height:J.height-$*ae}},polar:function(U,Q,V){var J=U.getItemLayout(Q);return{cx:J.cx,cy:J.cy,r0:J.r0,r:J.r,startAngle:J.startAngle,endAngle:J.endAngle}}};function I(U){return U.startAngle!=null&&U.endAngle!=null&&U.startAngle===U.endAngle}function L(U,Q,V,J,ae,se,$,ge){var he=Q.getItemVisual(V,"color"),Ie=Q.getItemVisual(V,"opacity"),Se=Q.getVisual("borderColor"),Le=J.getModel("itemStyle"),He=J.getModel("emphasis.itemStyle").getBarItemStyle();ge||U.setShape("r",Le.get("barBorderRadius")||0),U.useStyle(m.defaults({stroke:I(ae)?"none":Se,fill:I(ae)?"none":he,opacity:Ie},Le.getBarItemStyle()));var G=J.getShallow("cursor");G&&U.attr("cursor",G);var pe=$?ae.height>0?"bottom":"top":ae.width>0?"left":"right";ge||s(U.style,He,J,he,se,V,pe),I(ae)&&(He.fill=He.stroke="none"),v.setHoverStyle(U,He)}function D(U,Q){var V=U.get(c)||0,J=isNaN(Q.width)?Number.MAX_VALUE:Math.abs(Q.width),ae=isNaN(Q.height)?Number.MAX_VALUE:Math.abs(Q.height);return Math.min(V,J,ae)}var B=e.extend({type:"largeBar",shape:{points:[]},buildPath:function(U,Q){for(var V=Q.points,J=this.__startPoint,ae=this.__baseDimIdx,se=0;se<V.length;se+=2)J[ae]=V[se+ae],U.moveTo(J[0],J[1]),U.lineTo(V[se],V[se+1])}});function N(U,Q,V){var J=U.getData(),ae=[],se=J.getLayout("valueAxisHorizontal")?1:0;ae[1-se]=J.getLayout("valueAxisStart");var $=J.getLayout("largeDataIndices"),ge=J.getLayout("barWidth"),he=U.getModel("backgroundStyle"),Ie=U.get("showBackground",!0);if(Ie){var Se=J.getLayout("largeBackgroundPoints"),Le=[];Le[1-se]=J.getLayout("backgroundStart");var He=new B({shape:{points:Se},incremental:!!V,__startPoint:Le,__baseDimIdx:se,__largeDataIndices:$,__barWidth:ge,silent:!0,z2:0});j(He,he,J),Q.add(He)}var G=new B({shape:{points:J.getLayout("largePoints")},incremental:!!V,__startPoint:ae,__baseDimIdx:se,__largeDataIndices:$,__barWidth:ge});Q.add(G),R(G,U,J),G.seriesIndex=U.seriesIndex,U.get("silent")||(G.on("mousedown",k),G.on("mousemove",k))}var k=n(function(U){var Q=this,V=W(Q,U.offsetX,U.offsetY);Q.dataIndex=V>=0?V:null},30,!1);function W(U,Q,V){var J=U.__baseDimIdx,ae=1-J,se=U.shape.points,$=U.__largeDataIndices,ge=Math.abs(U.__barWidth/2),he=U.__startPoint[ae];h[0]=Q,h[1]=V;for(var Ie=h[J],Se=h[1-J],Le=Ie-ge,He=Ie+ge,G=0,pe=se.length/2;G<pe;G++){var We=G*2,te=se[We+J],X=se[We+ae];if(te>=Le&&te<=He&&(he<=X?Se>=he&&Se<=X:Se>=X&&Se<=he))return $[G]}return-1}function R(U,Q,V){var J=V.getVisual("borderColor")||V.getVisual("color"),ae=Q.getModel("itemStyle").getItemStyle(["color","borderColor"]);U.useStyle(ae),U.style.fill=null,U.style.stroke=J,U.style.lineWidth=V.getLayout("barWidth")}function j(U,Q,V){var J=Q.get("borderColor")||Q.get("color"),ae=Q.getItemStyle(["color","borderColor"]);U.useStyle(ae),U.style.fill=null,U.style.stroke=J,U.style.lineWidth=V.getLayout("barWidth")}function H(U,Q,V){var J,ae=V.type==="polar";return ae?J=V.getArea():J=V.grid.getRect(),ae?{cx:J.cx,cy:J.cy,r0:U?J.r0:Q.r0,r:U?J.r:Q.r,startAngle:U?Q.startAngle:0,endAngle:U?Q.endAngle:Math.PI*2}:{x:U?Q.x:J.x,y:U?J.y:Q.y,width:U?Q.width:J.width,height:U?J.height:Q.height}}function K(U,Q,V){var J=U.type==="polar"?v.Sector:v.Rect;return new J({shape:H(Q,V,U),silent:!0,z2:0})}M.exports=g},ZCgT:function(M,P,d){var w=d("tLB3"),A=1/0,b=17976931348623157e292;function m(v){if(!v)return v===0?v:0;if(v=w(v),v===A||v===-A){var p=v<0?-1:1;return p*b}return v===v?v:0}M.exports=m},ZWlE:function(M,P,d){var w=d("bYtY"),A=d("4NO4");function b(p){m(p),v(p)}function m(p){if(p.parallel)return;var s=!1;w.each(p.series,function(u){u&&u.type==="parallel"&&(s=!0)}),s&&(p.parallel=[{}])}function v(p){var s=A.normalizeToArray(p.parallelAxis);w.each(s,function(u){if(!w.isObject(u))return;var o=u.parallelIndex||0,e=A.normalizeToArray(p.parallel)[o];e&&e.parallelAxisDefault&&w.merge(u,e.parallelAxisDefault,!1)})}M.exports=b},ZYIC:function(M,P,d){var w=d("zM3Q"),A={seriesType:"lines",plan:w(),reset:function(b){var m=b.coordinateSystem,v=b.get("polyline"),p=b.pipelineContext.large;function s(u,o){var e=[];if(p){var r,i=u.end-u.start;if(v){for(var n=0,l=u.start;l<u.end;l++)n+=b.getLineCoordsCount(l);r=new Float32Array(i+n*2)}else r=new Float32Array(i*4);for(var t=0,a=[],l=u.start;l<u.end;l++){var c=b.getLineCoords(l,e);v&&(r[t++]=c);for(var h=0;h<c;h++)a=m.dataToPoint(e[h],!1,a),r[t++]=a[0],r[t++]=a[1]}o.setLayout("linesPoints",r)}else for(var l=u.start;l<u.end;l++){var f=o.getItemModel(l),c=b.getLineCoords(l,e),g=[];if(v)for(var S=0;S<c;S++)g.push(m.dataToPoint(e[S]));else{g[0]=m.dataToPoint(e[0]),g[1]=m.dataToPoint(e[1]);var y=f.get("lineStyle.curveness");+y&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*y,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*y])}o.setItemLayout(l,g)}}return{progress:s}}};M.exports=A},Ze12:function(M,P,d){var w=d("ItGF"),A=d("hOwI"),b=A.buildTransformer,m="___zrEVENTSAVED",v=[];function p(r,i,n,l,t){return s(v,i,l,t,!0)&&s(r,n,v[0],v[1])}function s(r,i,n,l,t){if(i.getBoundingClientRect&&w.domSupported&&!e(i)){var a=i[m]||(i[m]={}),c=u(i,a),h=o(c,a,t);if(h)return h(r,n,l),!0}return!1}function u(r,i){var n=i.markers;if(n)return n;n=i.markers=[];for(var l=["left","right"],t=["top","bottom"],a=0;a<4;a++){var c=document.createElement("div"),h=c.style,f=a%2,g=(a>>1)%2;h.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",l[f]+":0",t[g]+":0",l[1-f]+":auto",t[1-g]+":auto",""].join("!important;"),r.appendChild(c),n.push(c)}return n}function o(r,i,n){for(var l=n?"invTrans":"trans",t=i[l],a=i.srcCoords,c=!0,h=[],f=[],g=0;g<4;g++){var S=r[g].getBoundingClientRect(),y=2*g,E=S.left,C=S.top;h.push(E,C),c=c&&a&&E===a[y]&&C===a[y+1],f.push(r[g].offsetLeft,r[g].offsetTop)}return c&&t?t:(i.srcCoords=h,i[l]=n?b(f,h):b(h,f))}function e(r){return r.nodeName.toUpperCase()==="CANVAS"}P.transformLocalCoord=p,P.transformCoordWithViewport=s,P.isCanvasEl=e},Znkb:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),m=d("zTMp"),v=b.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,r,i,n){this.axisPointerClass&&m.fixValue(e),v.superApply(this,"render",arguments),p(this,e,r,i,n,!0)},updateAxisPointer:function(e,r,i,n,l){p(this,e,r,i,n,!1)},remove:function(e,r){var i=this._axisPointer;i&&i.remove(r),v.superApply(this,"remove",arguments)},dispose:function(e,r){s(this,r),v.superApply(this,"dispose",arguments)}});function p(e,r,i,n,l,t){var a=v.getAxisPointerClass(e.axisPointerClass);if(!a)return;var c=m.getAxisPointerModel(r);c?(e._axisPointer||(e._axisPointer=new a)).render(r,c,n,t):s(e,n)}function s(e,r,i){var n=e._axisPointer;n&&n.dispose(r,i),e._axisPointer=null}var u=[];v.registerAxisPointerClass=function(e,r){u[e]=r},v.getAxisPointerClass=function(e){return e&&u[e]};var o=v;M.exports=o},ZqQs:function(M,P,d){var w=d("bYtY");function A(p){var s=p&&p.timeline;w.isArray(s)||(s=s?[s]:[]),w.each(s,function(u){if(!u)return;b(u)})}function b(p){var s=p.type,u={number:"value",time:"time"};if(u[s]&&(p.axisType=u[s],delete p.type),m(p),v(p,"controlPosition")){var o=p.controlStyle||(p.controlStyle={});v(o,"position")||(o.position=p.controlPosition),o.position==="none"&&!v(o,"show")&&(o.show=!1,delete o.position),delete p.controlPosition}w.each(p.data||[],function(e){w.isObject(e)&&!w.isArray(e)&&(!v(e,"value")&&v(e,"name")&&(e.value=e.name),m(e))})}function m(p){var s=p.itemStyle||(p.itemStyle={}),u=s.emphasis||(s.emphasis={}),o=p.label||p.label||{},e=o.normal||(o.normal={}),r={normal:1,emphasis:1};w.each(o,function(i,n){!r[n]&&!v(e,n)&&(e[n]=i)}),u.label&&!v(o,"emphasis")&&(o.emphasis=u.label,delete u.label)}function v(p,s){return p.hasOwnProperty(s)}M.exports=A},Zvw2:function(M,P,d){var w=d("bYtY"),A=d("hM6l"),b=function(v,p,s,u,o){A.call(this,v,p,s),this.type=u||"value",this.position=o||"bottom",this.orient=null};b.prototype={constructor:b,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},pointToData:function(v,p){return this.coordinateSystem.pointToData(v,p)[0]},toGlobalCoord:null,toLocalCoord:null},w.inherits(b,A);var m=b;M.exports=m},a9QJ:function(M,P){var d={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function w(A,b){if(A==="world"){var m=d[b.name];if(m){var v=b.center;v[0]=m[0],v[1]=m[1]}}}M.exports=w},aKvl:function(M,P,d){var w=d("Sj9i"),A=w.quadraticProjectPoint;function b(m,v,p,s,u,o,e,r,i){if(e===0)return!1;var n=e;if(i>v+n&&i>s+n&&i>o+n||i<v-n&&i<s-n&&i<o-n||r>m+n&&r>p+n&&r>u+n||r<m-n&&r<p-n&&r<u-n)return!1;var l=A(m,v,p,s,u,o,r,i,null);return l<=n/2}P.containStroke=b},aTJb:function(M,P,d){var w=d("bLfw");w.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(M,P,d){var w=d("3gBT"),A=d("ItGF"),b=d("bYtY"),m=d("0s+r"),v=d("r6Bn"),p=d("7SHv"),s=d("MKOG"),u=d("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 o=!A.canvasSupported,e={canvas:p},r={},i="4.3.1";function n(f,g){var S=new h(w(),f,g);return r[S.id]=S,S}function l(f){if(f)f.dispose();else{for(var g in r)r.hasOwnProperty(g)&&r[g].dispose();r={}}return this}function t(f){return r[f]}function a(f,g){e[f]=g}function c(f){delete r[f]}var h=function(g,S,y){y=y||{},this.dom=S,this.id=g;var E=this,C=new v,T=y.renderer;if(o){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,y,g);this.storage=C,this.painter=x;var _=!A.node&&!A.worker?new u(x.getViewportRoot(),x.root):null;this.handler=new m(C,x,_,x.root),this.animation=new s({stage:{update:b.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var I=C.delFromStorage,L=C.addToStorage;C.delFromStorage=function(D){I.call(C,D),D&&D.removeSelfFromZr(E)},C.addToStorage=function(D){L.call(C,D),D.addSelfToZr(E)}};h.prototype={constructor:h,getId:function(){return this.id},add:function(g){this.storage.addRoot(g),this._needsRefresh=!0},remove:function(g){this.storage.delRoot(g),this._needsRefresh=!0},configLayer:function(g,S){this.painter.configLayer&&this.painter.configLayer(g,S),this._needsRefresh=!0},setBackgroundColor:function(g){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(g),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 g;this._needsRefresh&&(g=!0,this.refreshImmediately()),this._needsRefreshHover&&(g=!0,this.refreshHoverImmediately()),g&&this.trigger("rendered")},addHover:function(g,S){if(this.painter.addHover){var y=this.painter.addHover(g,S);return this.refreshHover(),y}},removeHover:function(g){this.painter.removeHover&&(this.painter.removeHover(g),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(g){g=g||{},this.painter.resize(g.width,g.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(g,S){return this.painter.pathToImage(g,S)},setCursorStyle:function(g){this.handler.setCursorStyle(g)},findHover:function(g,S){return this.handler.findHover(g,S)},on:function(g,S,y){this.handler.on(g,S,y)},off:function(g,S){this.handler.off(g,S)},trigger:function(g,S){this.handler.trigger(g,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,c(this.id)}},P.version=i,P.init=n,P.dispose=l,P.getInstance=t,P.registerPainter=a},aX7z:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=d("GMDS"),v=d("ieMj"),p=d("4NgU"),s=d("OELB"),u=d("nVfU"),o=u.prepareLayoutBarSeries,e=u.makeColumnLayout,r=u.retrieveColumnLayout,i=d("mFDi");d("IWp7"),d("jCoz");function n(C,T){var x=C.type,_=T.getMin(),I=T.getMax(),L=C.getExtent(),D,B,N;x==="ordinal"?D=T.getCategories().length:(B=T.get("boundaryGap"),b.isArray(B)||(B=[B||0,B||0]),typeof B[0]=="boolean"&&(B=[0,0]),B[0]=s.parsePercent(B[0],1),B[1]=s.parsePercent(B[1],1),N=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 k=_!=null,W=I!=null;_==null&&(_=x==="ordinal"?D?0:NaN:L[0]-B[0]*N),I==null&&(I=x==="ordinal"?D?D-1:NaN:L[1]+B[1]*N),(_==null||!isFinite(_))&&(_=NaN),(I==null||!isFinite(I))&&(I=NaN),C.setBlank(b.eqNaN(_)||b.eqNaN(I)||x==="ordinal"&&!C.getOrdinalMeta().categories.length),T.getNeedCrossZero()&&(_>0&&I>0&&!k&&(_=0),_<0&&I<0&&!W&&(I=0));var R=T.ecModel;if(R&&x==="time"){var j=o("bar",R),H;if(b.each(j,function(Q){H|=Q.getBaseAxis()===T.axis}),H){var K=e(j),U=l(_,I,T,K);_=U.min,I=U.max}}return{extent:[_,I],fixMin:k,fixMax:W}}function l(C,T,x,_){var I=x.axis.getExtent(),L=I[1]-I[0],D=r(_,x.axis);if(D===void 0)return{min:C,max:T};var B=Infinity;b.each(D,function(H){B=Math.min(H.offset,B)});var N=-Infinity;b.each(D,function(H){N=Math.max(H.offset+H.width,N)}),B=Math.abs(B),N=Math.abs(N);var k=B+N,W=T-C,R=1-(B+N)/L,j=W/R-W;return T+=j*(N/k),C-=j*(B/k),{min:C,max:T}}function t(C,T){var x=n(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 D=T.get("interval");D!=null&&(C.setInterval&&C.setInterval(D))}function a(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 v;default:return(p.getClass(T)||v).create(C)}}function c(C){var T=C.scale.getExtent(),x=T[0],_=T[1];return!(x>0&&_>0||x<0&&_<0)}function h(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(f(C,_),I)}:function(_){return C.scale.getLabel(_)}}function f(C,T){return C.type==="category"?C.scale.getLabel(T):T}function g(C){var T=C.model,x=C.scale;if(!T.get("axisLabel.show")||x.isBlank())return;var _=C.type==="category",I,L,D=x.getExtent();_?L=x.count():(I=x.getTicks(),L=I.length);var B=C.getLabelModel(),N=h(C),k,W=1;L>40&&(W=Math.ceil(L/40));for(var R=0;R<L;R+=W){var j=I?I[R]:D[0]+R,H=N(j),K=B.getTextRect(H),U=S(K,B.get("rotate")||0);k?k.union(U):k=U}return k}function S(C,T){var x=T*Math.PI/180,_=C.plain(),I=_.width,L=_.height,D=I*Math.cos(x)+L*Math.sin(x),B=I*Math.sin(x)+L*Math.cos(x),N=new i(_.x,_.y,D,B);return N}function y(C){var T=C.get("interval");return T==null?"auto":T}function E(C){return C.type==="category"&&y(C.getLabelModel())===0}P.getScaleExtent=n,P.niceScaleExtent=t,P.createScaleByModel=a,P.ifAxisCrossZero=c,P.makeLabelFormatter=h,P.getAxisRawValue=f,P.estimateLabelUnionRect=g,P.getOptionCategoryInterval=y,P.shouldShowAllLabels=E},ac54:function(M,P,d){"use strict";d.d(P,"a",function(){return y});var w=d("rePB"),A=d("wx14"),b=d("ODXe"),m=d("q1tI"),v=d("TSYQ"),p=d.n(v),s=d("bT9E"),u=d("VTBJ"),o={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=o,r=d("6VBw"),i=function(_,I){return m.createElement(r.a,Object(u.a)(Object(u.a)({},_),{},{ref:I,icon:e}))};i.displayName="BarsOutlined";var n=m.forwardRef(i),l=d("UESt"),t=d("5bA4"),a=d("lHn7"),c=d("9R2V"),h=function(_){return!isNaN(parseFloat(_))&&isFinite(_)},f=h,g=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 D=0,L=Object.getOwnPropertySymbols(x);D<L.length;D++)_.indexOf(L[D])<0&&Object.prototype.propertyIsEnumerable.call(x,L[D])&&(I[L[D]]=x[L[D]]);return I},S={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},y=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,D=x.trigger,B=x.children,N=x.defaultCollapsed,k=N===void 0?!1:N,W=x.theme,R=W===void 0?"dark":W,j=x.style,H=j===void 0?{}:j,K=x.collapsible,U=K===void 0?!1:K,Q=x.reverseArrow,V=Q===void 0?!1:Q,J=x.width,ae=J===void 0?200:J,se=x.collapsedWidth,$=se===void 0?80:se,ge=x.zeroWidthTriggerStyle,he=x.breakpoint,Ie=x.onCollapse,Se=x.onBreakpoint,Le=g(x,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),He=Object(m.useContext)(a.d),G=He.siderHook,pe=Object(m.useState)("collapsed"in Le?Le.collapsed:k),We=Object(b.a)(pe,2),te=We[0],X=We[1],z=Object(m.useState)(!1),Z=Object(b.a)(z,2),be=Z[0],ne=Z[1];Object(m.useEffect)(function(){"collapsed"in Le&&X(Le.collapsed)},[Le.collapsed]);var Ae=function(Je,Oe){"collapsed"in Le||X(Je),Ie==null||Ie(Je,Oe)},Ne=Object(m.useRef)();Ne.current=function(tt){ne(tt.matches),Se==null||Se(tt.matches),te!==tt.matches&&Ae(tt.matches,"responsive")},Object(m.useEffect)(function(){function tt(Qe){return Ne.current(Qe)}var Je;if(typeof window!="undefined"){var Oe=window,pt=Oe.matchMedia;if(pt&&he&&he in S){Je=pt("(max-width: ".concat(S[he],")"));try{Je.addEventListener("change",tt)}catch(Qe){Je.addListener(tt)}tt(Je)}}return function(){try{Je==null||Je.removeEventListener("change",tt)}catch(Qe){Je==null||Je.removeListener(tt)}}},[]),Object(m.useEffect)(function(){var tt=E("ant-sider-");return G.addSider(tt),function(){return G.removeSider(tt)}},[]);var oe=function(){Ae(!te,"clickTrigger")},de=Object(m.useContext)(c.b),xe=de.getPrefixCls,Pe=function(){var Je,Oe=xe("layout-sider",I),pt=Object(s.a)(Le,["collapsed"]),Qe=te?$:ae,nt=f(Qe)?"".concat(Qe,"px"):String(Qe),bt=parseFloat(String($||0))===0?m.createElement("span",{onClick:oe,className:p()("".concat(Oe,"-zero-width-trigger"),"".concat(Oe,"-zero-width-trigger-").concat(V?"right":"left")),style:ge},D||m.createElement(n,null)):null,Tt={expanded:V?m.createElement(l.a,null):m.createElement(t.a,null),collapsed:V?m.createElement(t.a,null):m.createElement(l.a,null)},Ct=te?"collapsed":"expanded",Nt=Tt[Ct],Ge=D!==null?bt||m.createElement("div",{className:"".concat(Oe,"-trigger"),onClick:oe,style:{width:nt}},D||Nt):null,ie=Object(A.a)(Object(A.a)({},H),{flex:"0 0 ".concat(nt),maxWidth:nt,minWidth:nt,width:nt}),Y=p()(Oe,"".concat(Oe,"-").concat(R),(Je={},Object(w.a)(Je,"".concat(Oe,"-collapsed"),!!te),Object(w.a)(Je,"".concat(Oe,"-has-trigger"),U&&D!==null&&!bt),Object(w.a)(Je,"".concat(Oe,"-below"),!!be),Object(w.a)(Je,"".concat(Oe,"-zero-width"),parseFloat(nt)===0),Je),L);return m.createElement("aside",Object(A.a)({className:Y},pt,{style:ie,ref:_}),m.createElement("div",{className:"".concat(Oe,"-children")},B),U||be&&bt?Ge:null)};return m.createElement(y.Provider,{value:{siderCollapsed:te}},Pe())});C.displayName="Sider";var T=P.b=C},"af/B":function(M,P,d){var w=d("bYtY"),A=w.each,b=w.map,m=w.isFunction,v=w.createHashMap,p=w.noop,s=d("9H2F"),u=s.createTask,o=d("iRjW"),e=o.getUID,r=d("fmMI"),i=d("hD7B"),n=d("4NO4"),l=n.normalizeToArray;function t(H,K,U,Q){this.ecInstance=H,this.api=K,this.unfinished;var U=this._dataProcessorHandlers=U.slice(),Q=this._visualHandlers=Q.slice();this._allHandlers=U.concat(Q),this._stageTaskMap=v()}var a=t.prototype;a.restoreData=function(H,K){H.restoreData(K),this._stageTaskMap.each(function(U){var Q=U.overallTask;Q&&Q.dirty()})},a.getPerformArgs=function(H,K){if(!H.__pipeline)return;var U=this._pipelineMap.get(H.__pipeline.id),Q=U.context,V=!K&&U.progressiveEnabled&&(!Q||Q.progressiveRender)&&H.__idxInPipeline>U.blockIndex,J=V?U.step:null,ae=Q&&Q.modDataCount,se=ae!=null?Math.ceil(ae/J):null;return{step:J,modBy:se,modDataCount:ae}},a.getPipeline=function(H){return this._pipelineMap.get(H)},a.updateStreamModes=function(H,K){var U=this._pipelineMap.get(H.uid),Q=H.getData(),V=Q.count(),J=U.progressiveEnabled&&K.incrementalPrepareRender&&V>=U.threshold,ae=H.get("large")&&V>=H.get("largeThreshold"),se=H.get("progressiveChunkMode")==="mod"?V:null;H.pipelineContext=U.context={progressiveRender:J,modDataCount:se,large:ae}},a.restorePipelines=function(H){var K=this,U=K._pipelineMap=v();H.eachSeries(function(Q){var V=Q.getProgressive(),J=Q.uid;U.set(J,{id:J,head:null,tail:null,threshold:Q.getProgressiveThreshold(),progressiveEnabled:V&&!(Q.preventIncremental&&Q.preventIncremental()),blockIndex:-1,step:Math.round(V||700),count:0}),D(K,Q,Q.dataTask)})},a.prepareStageTasks=function(){var H=this._stageTaskMap,K=this.ecInstance.getModel(),U=this.api;A(this._allHandlers,function(Q){var V=H.get(Q.uid)||H.set(Q.uid,[]);Q.reset&&f(this,Q,V,K,U),Q.overallReset&&g(this,Q,V,K,U)},this)},a.prepareView=function(H,K,U,Q){var V=H.renderTask,J=V.context;J.model=K,J.ecModel=U,J.api=Q,V.__block=!H.incrementalPrepareRender,D(this,K,V)},a.performDataProcessorTasks=function(H,K){c(this,this._dataProcessorHandlers,H,K,{block:!0})},a.performVisualTasks=function(H,K,U){c(this,this._visualHandlers,H,K,U)};function c(H,K,U,Q,V){V=V||{};var J;A(K,function(se,$){if(V.visualType&&V.visualType!==se.visualType)return;var ge=H._stageTaskMap.get(se.uid),he=ge.seriesTaskMap,Ie=ge.overallTask;if(Ie){var Se,Le=Ie.agentStubMap;Le.each(function(G){ae(V,G)&&(G.dirty(),Se=!0)}),Se&&Ie.dirty(),h(Ie,Q);var He=H.getPerformArgs(Ie,V.block);Le.each(function(G){G.perform(He)}),J|=Ie.perform(He)}else he&&he.each(function(G,pe){ae(V,G)&&G.dirty();var We=H.getPerformArgs(G,V.block);We.skip=!se.performRawSeries&&U.isSeriesFiltered(G.context.model),h(G,Q),J|=G.perform(We)})});function ae(se,$){return se.setDirty&&(!se.dirtyMap||se.dirtyMap.get($.__pipeline.id))}H.unfinished|=J}a.performSeriesTasks=function(H){var K;H.eachSeries(function(U){K|=U.dataTask.perform()}),this.unfinished|=K},a.plan=function(){this._pipelineMap.each(function(H){var K=H.tail;do{if(K.__block){H.blockIndex=K.__idxInPipeline;break}K=K.getUpstream()}while(K)})};var h=a.updatePayload=function(H,K){K!=="remain"&&(H.context.payload=K)};function f(H,K,U,Q,V){var J=U.seriesTaskMap||(U.seriesTaskMap=v()),ae=K.seriesType,se=K.getTargetSeries;K.createOnAllSeries?Q.eachRawSeries($):ae?Q.eachRawSeriesByType(ae,$):se&&se(Q,V).each($);function $(he){var Ie=he.uid,Se=J.get(Ie)||J.set(Ie,u({plan:T,reset:x,count:L}));Se.context={model:he,ecModel:Q,api:V,useClearVisual:K.isVisual&&!K.isLayout,plan:K.plan,reset:K.reset,scheduler:H},D(H,he,Se)}var ge=H._pipelineMap;J.each(function(he,Ie){ge.get(Ie)||(he.dispose(),J.removeKey(Ie))})}function g(H,K,U,Q,V){var J=U.overallTask=U.overallTask||u({reset:S});J.context={ecModel:Q,api:V,overallReset:K.overallReset,scheduler:H};var ae=J.agentStubMap=J.agentStubMap||v(),se=K.seriesType,$=K.getTargetSeries,ge=!0,he=K.modifyOutputEnd;se?Q.eachRawSeriesByType(se,Ie):$?$(Q,V).each(Ie):(ge=!1,A(Q.getSeries(),Ie));function Ie(Le){var He=Le.uid,G=ae.get(He);G||(G=ae.set(He,u({reset:y,onDirty:C})),J.dirty()),G.context={model:Le,overallProgress:ge,modifyOutputEnd:he},G.agent=J,G.__block=ge,D(H,Le,G)}var Se=H._pipelineMap;ae.each(function(Le,He){Se.get(He)||(Le.dispose(),J.dirty(),ae.removeKey(He))})}function S(H){H.overallReset(H.ecModel,H.api,H.payload)}function y(H,K){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 K=H.resetDefines=l(H.reset(H.model,H.ecModel,H.api,H.payload));return K.length>1?b(K,function(U,Q){return I(Q)}):_}var _=I(0);function I(H){return function(K,U){var Q=U.data,V=U.resetDefines[H];if(V&&V.dataEach)for(var J=K.start;J<K.end;J++)V.dataEach(Q,J);else V&&V.progress&&V.progress(K,Q)}}function L(H){return H.data.count()}function D(H,K,U){var Q=K.uid,V=H._pipelineMap.get(Q);!V.head&&(V.head=U),V.tail&&V.tail.pipe(U),V.tail=U,U.__idxInPipeline=V.count++,U.__pipeline=V}t.wrapStageHandler=function(H,K){return m(H)&&(H={overallReset:H,seriesType:B(H)}),H.uid=e("stageHandler"),K&&(H.visualType=K),H};function B(H){W=null;try{H(N,k)}catch(K){}return W}var N={},k={},W;R(N,r),R(k,i),N.eachSeriesByType=N.eachRawSeriesByType=function(H){W=H},N.eachComponent=function(H){H.mainType==="series"&&H.subType&&(W=H.subType)};function R(H,K){for(var U in K.prototype)H[U]=p}var j=t;M.exports=j},akwb:function(M,P,d){var w=d("RSch"),A=d("bYtY"),b=d("D9ME"),m=d("QBsz");function v(u,o,e){b.call(this,u,o,e),this._lastFrame=0,this._lastFramePercent=0}var p=v.prototype;p.createLine=function(u,o,e){return new w(u,o,e)},p.updateAnimationPoints=function(u,o){this._points=o;for(var e=[0],r=0,i=1;i<o.length;i++){var n=o[i-1],l=o[i];r+=m.dist(n,l),e.push(r)}if(r===0)return;for(var i=0;i<e.length;i++)e[i]/=r;this._offsets=e,this._length=r},p.getLineLength=function(u){return this._length},p.updateSymbolPosition=function(u){var o=u.__t,e=this._points,r=this._offsets,i=e.length;if(!r)return;var n=this._lastFrame,l;if(o<this._lastFramePercent){var t=Math.min(n+1,i-1);for(l=t;l>=0&&!(r[l]<=o);l--);l=Math.min(l,i-2)}else{for(var l=n;l<i&&!(r[l]>o);l++);l=Math.min(l-1,i-2)}m.lerp(u.position,e[l],e[l+1],(o-r[l])/(r[l+1]-r[l]));var a=e[l+1][0]-e[l][0],c=e[l+1][1]-e[l][1];u.rotation=-Math.atan2(c,a)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=o,u.ignore=!1},A.inherits(v,b);var s=v;M.exports=s},as94:function(M,P,d){var w=d("7aKB"),A=d("3LNs"),b=d("IwbS"),m=d("/y7N"),v=d("Fofx"),p=d("+rIm"),s=d("Znkb"),u=A.extend({makeElOption:function(i,n,l,t,a){var c=l.axis;c.dim==="angle"&&(this.animationThreshold=Math.PI/18);var h=c.polar,f=h.getOtherAxis(c),g=f.getExtent(),S;S=c["dataTo"+w.capitalFirst(c.dim)](n);var y=t.get("type");if(y&&y!=="none"){var E=m.buildElStyle(t),C=e[y](c,h,S,g,E);C.style=E,i.graphicKey=C.type,i.pointer=C}var T=t.get("label.margin"),x=o(n,l,t,h,T);m.buildLabelElOption(i,l,t,a,x)}});function o(i,n,l,t,a){var c=n.axis,h=c.dataToCoord(i),f=t.getAngleAxis().getExtent()[0];f=f/180*Math.PI;var g=t.getRadiusAxis().getExtent(),S,y,E;if(c.dim==="radius"){var C=v.create();v.rotate(C,C,f),v.translate(C,C,[t.cx,t.cy]),S=b.applyTransform([h,-a],C);var T=n.getModel("axisLabel").get("rotate")||0,x=p.innerTextLayout(f,T*Math.PI/180,-1);y=x.textAlign,E=x.textVerticalAlign}else{var _=g[1];S=t.coordToPoint([_+a,h]);var I=t.cx,L=t.cy;y=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:y,verticalAlign:E}}var e={line:function(i,n,l,t,a){return i.dim==="angle"?{type:"Line",shape:m.makeLineShape(n.coordToPoint([t[0],l]),n.coordToPoint([t[1],l]))}:{type:"Circle",shape:{cx:n.cx,cy:n.cy,r:l}}},shadow:function(i,n,l,t,a){var c=Math.max(1,i.getBandWidth()),h=Math.PI/180;return i.dim==="angle"?{type:"Sector",shape:m.makeSectorShape(n.cx,n.cy,t[0],t[1],(-l-c/2)*h,(-l+c/2)*h)}:{type:"Sector",shape:m.makeSectorShape(n.cx,n.cy,l-c/2,l+c/2,0,Math.PI*2)}}};s.registerAxisPointerClass("PolarAxisPointer",u);var r=u;M.exports=r},b9oc:function(M,P,d){var w=d("bYtY"),A=w.each,b="\0_ec_hist_store";function m(o,e){var r=u(o);A(e,function(i,n){for(var l=r.length-1;l>=0;l--){var t=r[l];if(t[n])break}if(l<0){var a=o.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(a){var c=a.getPercentRange();r[0][n]={dataZoomId:n,start:c[0],end:c[1]}}}}),r.push(e)}function v(o){var e=u(o),r=e[e.length-1];e.length>1&&e.pop();var i={};return A(r,function(n,l){for(var t=e.length-1;t>=0;t--){var n=e[t][l];if(n){i[l]=n;break}}}),i}function p(o){o[b]=null}function s(o){return u(o).length}function u(o){var e=o[b];return e||(e=o[b]=[{}]),e}P.push=m,P.pop=v,P.clear=p,P.count=s},bBKM:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),m=d("bYtY"),v=d("+rIm"),p=d("IwbS"),s=["axisLine","axisTickLabel","axisName"],u=b.extendComponentView({type:"radar",render:function(o,e,r){var i=this.group;i.removeAll(),this._buildAxes(o),this._buildSplitLineAndArea(o)},_buildAxes:function(o){var e=o.coordinateSystem,r=e.getIndicatorAxes(),i=m.map(r,function(n){var l=new v(n.model,{position:[e.cx,e.cy],rotation:n.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});m.each(i,function(n){m.each(s,n.add,n),this.group.add(n.getGroup())},this)},_buildSplitLineAndArea:function(o){var e=o.coordinateSystem,r=e.getIndicatorAxes();if(!r.length)return;var i=o.get("shape"),n=o.getModel("splitLine"),l=o.getModel("splitArea"),t=n.getModel("lineStyle"),a=l.getModel("areaStyle"),c=n.get("show"),h=l.get("show"),f=t.get("color"),g=a.get("color");f=m.isArray(f)?f:[f],g=m.isArray(g)?g:[g];var S=[],y=[];function E(j,H,K){var U=K%H.length;return j[U]=j[U]||[],U}if(i==="circle")for(var C=r[0].getTicksCoords(),T=e.cx,x=e.cy,_=0;_<C.length;_++){if(c){var I=E(S,f,_);S[I].push(new p.Circle({shape:{cx:T,cy:x,r:C[_].coord}}))}if(h&&_<C.length-1){var I=E(y,g,_);y[I].push(new p.Ring({shape:{cx:T,cy:x,r0:C[_].coord,r:C[_+1].coord}}))}}else for(var L,D=m.map(r,function(j,H){var K=j.getTicksCoords();return L=L==null?K.length-1:Math.min(K.length-1,L),m.map(K,function(U){return e.coordToPoint(U.coord,H)})}),B=[],_=0;_<=L;_++){for(var N=[],k=0;k<r.length;k++)N.push(D[k][_]);if(N[0]&&N.push(N[0].slice()),c){var I=E(S,f,_);S[I].push(new p.Polyline({shape:{points:N}}))}if(h&&B){var I=E(y,g,_-1);y[I].push(new p.Polygon({shape:{points:N.concat(B)}}))}B=N.slice().reverse()}var W=t.getLineStyle(),R=a.getAreaStyle();m.each(y,function(j,H){this.group.add(p.mergePath(j,{style:m.defaults({stroke:"none",fill:g[H%g.length]},R),silent:!0}))},this),m.each(S,function(j,H){this.group.add(p.mergePath(j,{style:m.defaults({fill:"none",stroke:f[H%f.length]},W),silent:!0}))},this)}});M.exports=u},bBL8:function(M,P,d){var w=d("ProS");d("LPzL"),d("rfSb"),d("JVwQ");var A=d("UnoB"),b=d("cbJ4"),m=d("0/Rx");w.registerLayout(A),w.registerVisual(b),w.registerProcessor(m("themeRiver"))},bKpd:function(M,P,d){},bLfw:function(M,P,d){var w=d("bYtY"),A=d("Qxkt"),b=d("iRjW"),m=d("Yl7c"),v=m.enableClassManagement,p=m.parseClassType,s=d("4NO4"),u=s.makeInner,o=d("+TT/"),e=d("3hzK"),r=u(),i=A.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,a,c,h){A.call(this,t,a,c,h),this.uid=b.getUID("ec_cpt_model")},init:function(t,a,c,h){this.mergeDefaultAndTheme(t,c)},mergeDefaultAndTheme:function(t,a){var c=this.layoutMode,h=c?o.getLayoutParams(t):{},f=a.getTheme();w.merge(t,f.get(this.mainType)),w.merge(t,this.getDefaultOption()),c&&o.mergeLayoutParam(t,h,c)},mergeOption:function(t,a){w.merge(this.option,t,!0);var c=this.layoutMode;c&&o.mergeLayoutParam(this.option,t,c)},optionUpdated:function(t,a){},getDefaultOption:function(){var t=r(this);if(!t.defaultOption){for(var a=[],c=this.constructor;c;){var h=c.prototype.defaultOption;h&&a.push(h),c=c.superClass}for(var f={},g=a.length-1;g>=0;g--)f=w.merge(f,a[g],!0);t.defaultOption=f}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});v(i,{registerWhenExtend:!0}),b.enableSubTypeDefaulter(i),b.enableTopologicalTravel(i,n);function n(t){var a=[];return w.each(i.getClassesByMainType(t),function(c){a=a.concat(c.prototype.dependencies||[])}),a=w.map(a,function(c){return p(c).main}),t!=="dataset"&&w.indexOf(a,"dataset")<=0&&a.unshift("dataset"),a}w.mixin(i,e);var l=i;M.exports=l},bMXI:function(M,P,d){var w=d("bYtY"),A=d("QBsz"),b=d("Fofx"),m=d("mFDi"),v=d("DN4a"),p=A.applyTransform;function s(){v.call(this)}w.mixin(s,v);function u(r){this.name=r,this.zoomLimit,v.call(this),this._roamTransformable=new s,this._rawTransformable=new s,this._center,this._zoom}u.prototype={constructor:u,type:"view",dimensions:["x","y"],setBoundingRect:function(r,i,n,l){return this._rect=new m(r,i,n,l),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(r,i,n,l){this.transformTo(r,i,n,l),this._viewRect=new m(r,i,n,l)},transformTo:function(r,i,n,l){var t=this.getBoundingRect(),a=this._rawTransformable;a.transform=t.calculateTransform(new m(r,i,n,l)),a.decomposeTransform(),this._updateTransform()},setCenter:function(r){if(!r)return;this._center=r,this._updateCenterAndZoom()},setZoom:function(r){r=r||1;var i=this.zoomLimit;i&&(i.max!=null&&(r=Math.min(i.max,r)),i.min!=null&&(r=Math.max(i.min,r))),this._zoom=r,this._updateCenterAndZoom()},getDefaultCenter:function(){var r=this.getBoundingRect(),i=r.x+r.width/2,n=r.y+r.height/2;return[i,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var r=this._rawTransformable.getLocalTransform(),i=this._roamTransformable,n=this.getDefaultCenter(),l=this.getCenter(),t=this.getZoom();l=A.applyTransform([],l,r),n=A.applyTransform([],n,r),i.origin=l,i.position=[n[0]-l[0],n[1]-l[1]],i.scale=[t,t],this._updateTransform()},_updateTransform:function(){var r=this._roamTransformable,i=this._rawTransformable;i.parent=r,r.updateTransform(),i.updateTransform(),b.copy(this.transform||(this.transform=[]),i.transform||b.create()),this._rawTransform=i.getLocalTransform(),this.invTransform=this.invTransform||[],b.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var r=this._roamTransformable.transform,i=this._rawTransformable;return{roamTransform:r?w.slice(r):b.create(),rawScale:w.slice(i.scale),rawPosition:w.slice(i.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var r=this.getBoundingRect().clone();return r.applyTransform(this.transform),r},dataToPoint:function(r,i,n){var l=i?this._rawTransform:this.transform;return n=n||[],l?p(n,r,l):A.copy(n,r)},pointToData:function(r){var i=this.invTransform;return i?p([],r,i):[r[0],r[1]]},convertToPixel:w.curry(o,"dataToPoint"),convertFromPixel:w.curry(o,"pointToData"),containPoint:function(r){return this.getViewRectAfterRoam().contain(r[0],r[1])}},w.mixin(u,v);function o(r,i,n,l){var t=n.seriesModel,a=t?t.coordinateSystem:null;return a===this?a[r](l):null}var e=u;M.exports=e},bNin:function(M,P,d){var w=d("bYtY"),A=d("IwbS"),b=d("FBjb"),m=d("Itpr"),v=m.radialCoordinate,p=d("ProS"),s=d("4mN7"),u=d("bMXI"),o=d("Ae+d"),e=d("SgGq"),r=d("xSat"),i=r.onIrrelevantElement,n=d("Tghj"),l=n.__DEV__,t=d("OELB"),a=t.parsePercent,c=A.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(T,x){var _=x.childPoints,I=_.length,L=x.parentPoint,D=_[0],B=_[I-1];if(I===1){T.moveTo(L[0],L[1]),T.lineTo(D[0],D[1]);return}var N=x.orient,k=N==="TB"||N==="BT"?0:1,W=1-k,R=a(x.forkPosition,1),j=[];j[k]=L[k],j[W]=L[W]+(B[W]-L[W])*R,T.moveTo(L[0],L[1]),T.lineTo(j[0],j[1]),T.moveTo(D[0],D[1]),j[k]=D[k],T.lineTo(j[0],j[1]),j[k]=B[k],T.lineTo(j[0],j[1]),T.lineTo(B[0],B[1]);for(var H=1;H<I-1;H++){var K=_[H];T.moveTo(K[0],K[1]),j[k]=K[k],T.lineTo(j[0],j[1])}}}),h=p.extendChartView({type:"tree",init:function(T,x){this._oldTree,this._mainGroup=new A.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(),D=T.layoutInfo,B=this._mainGroup,N=T.get("layout");N==="radial"?B.attr("position",[D.x+D.width/2,D.y+D.height/2]):B.attr("position",[D.x,D.y]),this._updateViewCoordSys(T,D,N),this._updateController(T,x,_);var k=this._data,W={expandAndCollapse:T.get("expandAndCollapse"),layout:N,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(k).add(function(R){f(L,R)&&S(L,R,null,B,T,W)}).update(function(R,j){var H=k.getItemGraphicEl(j);if(!f(L,R)){H&&E(k,j,H,B,T,W);return}S(L,R,H,B,T,W)}).remove(function(R){var j=k.getItemGraphicEl(R);j&&E(k,R,j,B,T,W)}).execute(),this._nodeScaleRatio=T.get("nodeScaleRatio"),this._updateNodeAndLinkScale(T),W.expandAndCollapse===!0&&L.eachItemGraphicEl(function(R,j){R.off("click").on("click",function(){_.dispatchAction({type:"treeExpandAndCollapse",seriesId:T.id,dataIndex:j})})}),this._data=L},_updateViewCoordSys:function(T){var x=T.getData(),_=[];x.each(function(k){var W=x.getItemLayout(k);W&&!isNaN(W.x)&&!isNaN(W.y)&&_.push([+W.x,+W.y])});var I=[],L=[];s.fromPoints(_,I,L);var D=this._min,B=this._max;L[0]-I[0]===0&&(I[0]=D?D[0]:I[0]-1,L[0]=B?B[0]:L[0]+1),L[1]-I[1]===0&&(I[1]=D?D[1]:I[1]-1,L[1]=B?B[1]:L[1]+1);var N=T.coordinateSystem=new u;N.zoomLimit=T.get("scaleLimit"),N.setBoundingRect(I[0],I[1],L[0]-I[0],L[1]-I[1]),N.setCenter(T.get("center")),N.setZoom(T.get("zoom")),this.group.attr({position:N.position,scale:N.scale}),this._viewCoordSys=N,this._min=I,this._max=L},_updateController:function(T,x,_){var I=this._controller,L=this._controllerHost,D=this.group;I.setPointerChecker(function(B,N,k){var W=D.getBoundingRect();return W.applyTransform(D.transform),W.contain(N,k)&&!i(B,_,T)}),I.enable(T.get("roam")),L.zoomLimit=T.get("scaleLimit"),L.zoom=T.coordinateSystem.getZoom(),I.off("pan").off("zoom").on("pan",function(B){o.updateViewOnPan(L,B.dx,B.dy),_.dispatchAction({seriesId:T.id,type:"treeRoam",dx:B.dx,dy:B.dy})},this).on("zoom",function(B){o.updateViewOnZoom(L,B.scale,B.originX,B.originY),_.dispatchAction({seriesId:T.id,type:"treeRoam",zoom:B.scale,originX:B.originX,originY:B.originY}),this._updateNodeAndLinkScale(T)},this)},_updateNodeAndLinkScale:function(T){var x=T.getData(),_=this._getNodeGlobalScale(T),I=[_,_];x.eachItemGraphicEl(function(L,D){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,D=x.getZoom(),B=(D-1)*_+1;return B/L},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function f(T,x){var _=T.getItemLayout(x);return _&&!isNaN(_.x)&&!isNaN(_.y)&&T.getItemVisual(x,"symbol")!=="none"}function g(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,D){var B=!_,N=T.tree.getNodeByDataIndex(x),k=N.getModel(),D=g(N,k,D),W=T.tree.root,R=N.parentNode===W?N:N.parentNode||N,j=T.getItemGraphicEl(R.dataIndex),H=R.getLayout(),K=j?{x:j.position[0],y:j.position[1],rawX:j.__radialOldRawX,rawY:j.__radialOldRawY}:H,U=N.getLayout();B?(_=new b(T,x,D),_.attr("position",[K.x,K.y])):_.updateData(T,x,D),_.__radialOldRawX=_.__radialRawX,_.__radialOldRawY=_.__radialRawY,_.__radialRawX=U.rawX,_.__radialRawY=U.rawY,I.add(_),T.setItemGraphicEl(x,_),A.updateProps(_,{position:[U.x,U.y]},L);var Q=_.getSymbolPath();if(D.layout==="radial"){var V=W.children[0],J=V.getLayout(),ae=V.children.length,se,$;if(U.x===J.x&&N.isExpand===!0){var ge={};ge.x=(V.children[0].getLayout().x+V.children[ae-1].getLayout().x)/2,ge.y=(V.children[0].getLayout().y+V.children[ae-1].getLayout().y)/2,se=Math.atan2(ge.y-J.y,ge.x-J.x),se<0&&(se=Math.PI*2+se),$=ge.x<J.x,$&&(se=se-Math.PI)}else se=Math.atan2(U.y-J.y,U.x-J.x),se<0&&(se=Math.PI*2+se),N.children.length===0||N.children.length!==0&&N.isExpand===!1?($=U.x<J.x,$&&(se=se-Math.PI)):($=U.x>J.x,$||(se=se-Math.PI));var he=$?"left":"right",Ie=D.labelModel.get("rotate"),Se=Ie*(Math.PI/180);Q.setStyle({textPosition:D.labelModel.get("position")||he,textRotation:Ie==null?-se:Se,textOrigin:"center",verticalAlign:"middle"})}y(L,N,W,_,K,H,U,I,D)}function y(T,x,_,I,L,D,B,N,k){var W=k.edgeShape,R=I.__edge;if(W==="curve")x.parentNode&&x.parentNode!==_&&(R||(R=I.__edge=new A.BezierCurve({shape:C(k,L,L),style:w.defaults({opacity:0,strokeNoScale:!0},k.lineStyle)})),A.updateProps(R,{shape:C(k,D,B),style:{opacity:1}},T));else if(W==="polyline"&&(k.layout==="orthogonal"&&(x!==_&&x.children&&x.children.length!==0&&x.isExpand===!0))){for(var j=x.children,H=[],K=0;K<j.length;K++){var U=j[K].getLayout();H.push([U.x,U.y])}R||(R=I.__edge=new c({shape:{parentPoint:[B.x,B.y],childPoints:[[B.x,B.y]],orient:k.orient,forkPosition:k.edgeForkPosition},style:w.defaults({opacity:0,strokeNoScale:!0},k.lineStyle)})),A.updateProps(R,{shape:{parentPoint:[B.x,B.y],childPoints:H},style:{opacity:1}},T)}N.add(R)}function E(T,x,_,I,L,D){for(var B=T.tree.getNodeByDataIndex(x),N=T.tree.root,k=B.getModel(),D=g(B,k,D),W=B.parentNode===N?B:B.parentNode||B,R=D.edgeShape,j;j=W.getLayout(),j==null;)W=W.parentNode===N?W:W.parentNode||W;A.updateProps(_,{position:[j.x+1,j.y+1]},L,function(){I.remove(_),T.setItemGraphicEl(x,null)}),_.fadeOut(null,{keepLabel:!0});var H=T.getItemGraphicEl(W.dataIndex),K=H.__edge,U=_.__edge||(W.isExpand===!1||W.children.length===1?K:void 0),R=D.edgeShape;U&&(R==="curve"?A.updateProps(U,{shape:C(D,j,j),style:{opacity:0}},L,function(){I.remove(U)}):R==="polyline"&&D.layout==="orthogonal"&&A.updateProps(U,{shape:{parentPoint:[j.x,j.y],childPoints:[[j.x,j.y]]},style:{opacity:0}},L,function(){I.remove(U)}))}function C(T,x,_){var I,L,D,B,N=T.orient,k,W,R,j;if(T.layout==="radial"){k=x.rawX,R=x.rawY,W=_.rawX,j=_.rawY;var H=v(k,R),K=v(k,R+(j-R)*T.curvature),U=v(W,j+(R-j)*T.curvature),Q=v(W,j);return{x1:H.x,y1:H.y,x2:Q.x,y2:Q.y,cpx1:K.x,cpy1:K.y,cpx2:U.x,cpy2:U.y}}else k=x.x,R=x.y,W=_.x,j=_.y,(N==="LR"||N==="RL")&&(I=k+(W-k)*T.curvature,L=R,D=W+(k-W)*T.curvature,B=j),(N==="TB"||N==="BT")&&(I=k,L=R+(j-R)*T.curvature,D=W,B=j+(R-j)*T.curvature);return{x1:k,y1:R,x2:W,y2:j,cpx1:I,cpy1:L,cpx2:D,cpy2:B}}M.exports=h},bRQS:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="CheckOutlined";var s=P.a=A.forwardRef(p)},bYtY:function(M,P){var d={"[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},A=Object.prototype.toString,b=Array.prototype,m=b.forEach,v=b.filter,p=b.slice,s=b.map,u=b.reduce,o={};function e(G,pe){G==="createCanvas"&&(c=null),o[G]=pe}function r(G){if(G==null||typeof G!="object")return G;var pe=G,We=A.call(G);if(We==="[object Array]"){if(!he(G)){pe=[];for(var te=0,X=G.length;te<X;te++)pe[te]=r(G[te])}}else if(w[We]){if(!he(G)){var z=G.constructor;if(G.constructor.from)pe=z.from(G);else{pe=new z(G.length);for(var te=0,X=G.length;te<X;te++)pe[te]=r(G[te])}}}else if(!d[We]&&!he(G)&&!j(G)){pe={};for(var Z in G)G.hasOwnProperty(Z)&&(pe[Z]=r(G[Z]))}return pe}function i(G,pe,We){if(!k(pe)||!k(G))return We?r(pe):G;for(var te in pe)if(pe.hasOwnProperty(te)){var X=G[te],z=pe[te];k(z)&&k(X)&&!D(z)&&!D(X)&&!j(z)&&!j(X)&&!W(z)&&!W(X)&&!he(z)&&!he(X)?i(X,z,We):(We||!(te in G))&&(G[te]=r(pe[te],!0))}return G}function n(G,pe){for(var We=G[0],te=1,X=G.length;te<X;te++)We=i(We,G[te],pe);return We}function l(G,pe){for(var We in pe)pe.hasOwnProperty(We)&&(G[We]=pe[We]);return G}function t(G,pe,We){for(var te in pe)pe.hasOwnProperty(te)&&(We?pe[te]!=null:G[te]==null)&&(G[te]=pe[te]);return G}var a=function(){return o.createCanvas()};o.createCanvas=function(){return document.createElement("canvas")};var c;function h(){return c||(c=a().getContext("2d")),c}function f(G,pe){if(G){if(G.indexOf)return G.indexOf(pe);for(var We=0,te=G.length;We<te;We++)if(G[We]===pe)return We}return-1}function g(G,pe){var We=G.prototype;function te(){}te.prototype=pe.prototype,G.prototype=new te;for(var X in We)We.hasOwnProperty(X)&&(G.prototype[X]=We[X]);G.prototype.constructor=G,G.superClass=pe}function S(G,pe,We){G="prototype"in G?G.prototype:G,pe="prototype"in pe?pe.prototype:pe,t(G,pe,We)}function y(G){return G?typeof G=="string"?!1:typeof G.length=="number":void 0}function E(G,pe,We){if(!(G&&pe))return;if(G.forEach&&G.forEach===m)G.forEach(pe,We);else if(G.length===+G.length)for(var te=0,X=G.length;te<X;te++)pe.call(We,G[te],te,G);else for(var z in G)G.hasOwnProperty(z)&&pe.call(We,G[z],z,G)}function C(G,pe,We){if(!(G&&pe))return;if(G.map&&G.map===s)return G.map(pe,We);for(var te=[],X=0,z=G.length;X<z;X++)te.push(pe.call(We,G[X],X,G));return te}function T(G,pe,We,te){if(!(G&&pe))return;if(G.reduce&&G.reduce===u)return G.reduce(pe,We,te);for(var X=0,z=G.length;X<z;X++)We=pe.call(te,We,G[X],X,G);return We}function x(G,pe,We){if(!(G&&pe))return;if(G.filter&&G.filter===v)return G.filter(pe,We);for(var te=[],X=0,z=G.length;X<z;X++)pe.call(We,G[X],X,G)&&te.push(G[X]);return te}function _(G,pe,We){if(!(G&&pe))return;for(var te=0,X=G.length;te<X;te++)if(pe.call(We,G[te],te,G))return G[te]}function I(G,pe){var We=p.call(arguments,2);return function(){return G.apply(pe,We.concat(p.call(arguments)))}}function L(G){var pe=p.call(arguments,1);return function(){return G.apply(this,pe.concat(p.call(arguments)))}}function D(G){return A.call(G)==="[object Array]"}function B(G){return typeof G=="function"}function N(G){return A.call(G)==="[object String]"}function k(G){var pe=typeof G;return pe==="function"||!!G&&pe==="object"}function W(G){return!!d[A.call(G)]}function R(G){return!!w[A.call(G)]}function j(G){return typeof G=="object"&&typeof G.nodeType=="number"&&typeof G.ownerDocument=="object"}function H(G){return G!==G}function K(G){for(var pe=0,We=arguments.length;pe<We;pe++)if(arguments[pe]!=null)return arguments[pe]}function U(G,pe){return G!=null?G:pe}function Q(G,pe,We){return G!=null?G:pe!=null?pe:We}function V(){return Function.call.apply(p,arguments)}function J(G){if(typeof G=="number")return[G,G,G,G];var pe=G.length;return pe===2?[G[0],G[1],G[0],G[1]]:pe===3?[G[0],G[1],G[2],G[1]]:G}function ae(G,pe){if(!G)throw new Error(pe)}function se(G){return G==null?null:typeof G.trim=="function"?G.trim():G.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var $="__ec_primitive__";function ge(G){G[$]=!0}function he(G){return G[$]}function Ie(G){var pe=D(G);this.data={};var We=this;G instanceof Ie?G.each(te):G&&E(G,te);function te(X,z){pe?We.set(X,z):We.set(z,X)}}Ie.prototype={constructor:Ie,get:function(pe){return this.data.hasOwnProperty(pe)?this.data[pe]:null},set:function(pe,We){return this.data[pe]=We},each:function(pe,We){We!==void 0&&(pe=I(pe,We));for(var te in this.data)this.data.hasOwnProperty(te)&&pe(this.data[te],te)},removeKey:function(pe){delete this.data[pe]}};function Se(G){return new Ie(G)}function Le(G,pe){for(var We=new G.constructor(G.length+pe.length),te=0;te<G.length;te++)We[te]=G[te];var X=G.length;for(te=0;te<pe.length;te++)We[te+X]=pe[te];return We}function He(){}P.$override=e,P.clone=r,P.merge=i,P.mergeAll=n,P.extend=l,P.defaults=t,P.createCanvas=a,P.getContext=h,P.indexOf=f,P.inherits=g,P.mixin=S,P.isArrayLike=y,P.each=E,P.map=C,P.reduce=T,P.filter=x,P.find=_,P.bind=I,P.curry=L,P.isArray=D,P.isFunction=B,P.isString=N,P.isObject=k,P.isBuiltInObject=W,P.isTypedArray=R,P.isDom=j,P.eqNaN=H,P.retrieve=K,P.retrieve2=U,P.retrieve3=Q,P.slice=V,P.normalizeCssArray=J,P.assert=ae,P.trim=se,P.setAsPrimitive=ge,P.isPrimitive=he,P.createHashMap=Se,P.concatArray=Le,P.noop=He},bZqE:function(M,P){function d(A,b,m){for(var v=[A],p=[],s;s=v.pop();)if(p.push(s),s.isExpand){var u=s.children;if(u.length)for(var o=0;o<u.length;o++)v.push(u[o])}for(;s=p.pop();)b(s,m)}function w(A,b){for(var m=[A],v;v=m.pop();)if(b(v),v.isExpand){var p=v.children;if(p.length)for(var s=p.length-1;s>=0;s--)m.push(p[s])}}P.eachAfter=d,P.eachBefore=w},bahg:function(M,P){function d(w){return w.split("")}M.exports=d},bllP:function(M,P,d){},c2i1:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=d("Yl7c"),v=m.enableClassCheck;function p(n){return"_EC_"+n}var s=function(n){this._directed=n||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},u=s.prototype;u.type="graph",u.isDirected=function(){return this._directed},u.addNode=function(n,l){n=n==null?""+l:""+n;var t=this._nodesMap;if(t[p(n)])return;var a=new o(n,l);return a.hostGraph=this,this.nodes.push(a),t[p(n)]=a,a},u.getNodeByIndex=function(n){var l=this.data.getRawIndex(n);return this.nodes[l]},u.getNodeById=function(n){return this._nodesMap[p(n)]},u.addEdge=function(n,l,t){var a=this._nodesMap,c=this._edgesMap;if(typeof n=="number"&&(n=this.nodes[n]),typeof l=="number"&&(l=this.nodes[l]),o.isInstance(n)||(n=a[p(n)]),o.isInstance(l)||(l=a[p(l)]),!n||!l)return;var h=n.id+"-"+l.id;if(c[h])return;var f=new e(n,l,t);return f.hostGraph=this,this._directed&&(n.outEdges.push(f),l.inEdges.push(f)),n.edges.push(f),n!==l&&l.edges.push(f),this.edges.push(f),c[h]=f,f},u.getEdgeByIndex=function(n){var l=this.edgeData.getRawIndex(n);return this.edges[l]},u.getEdge=function(n,l){o.isInstance(n)&&(n=n.id),o.isInstance(l)&&(l=l.id);var t=this._edgesMap;return this._directed?t[n+"-"+l]:t[n+"-"+l]||t[l+"-"+n]},u.eachNode=function(n,l){for(var t=this.nodes,a=t.length,c=0;c<a;c++)t[c].dataIndex>=0&&n.call(l,t[c],c)},u.eachEdge=function(n,l){for(var t=this.edges,a=t.length,c=0;c<a;c++)t[c].dataIndex>=0&&t[c].node1.dataIndex>=0&&t[c].node2.dataIndex>=0&&n.call(l,t[c],c)},u.breadthFirstTraverse=function(n,l,t,a){if(o.isInstance(l)||(l=this._nodesMap[p(l)]),!l)return;for(var c=t==="out"?"outEdges":t==="in"?"inEdges":"edges",h=0;h<this.nodes.length;h++)this.nodes[h].__visited=!1;if(n.call(a,l,null))return;for(var f=[l];f.length;)for(var g=f.shift(),S=g[c],h=0;h<S.length;h++){var y=S[h],E=y.node1===g?y.node2:y.node1;if(!E.__visited){if(n.call(a,E,g))return;f.push(E),E.__visited=!0}}},u.update=function(){for(var n=this.data,l=this.edgeData,t=this.nodes,a=this.edges,c=0,h=t.length;c<h;c++)t[c].dataIndex=-1;for(var c=0,h=n.count();c<h;c++)t[n.getRawIndex(c)].dataIndex=c;l.filterSelf(function(f){var g=a[l.getRawIndex(f)];return g.node1.dataIndex>=0&&g.node2.dataIndex>=0});for(var c=0,h=a.length;c<h;c++)a[c].dataIndex=-1;for(var c=0,h=l.count();c<h;c++)a[l.getRawIndex(c)].dataIndex=c},u.clone=function(){for(var n=new s(this._directed),l=this.nodes,t=this.edges,a=0;a<l.length;a++)n.addNode(l[a].id,l[a].dataIndex);for(var a=0;a<t.length;a++){var c=t[a];n.addEdge(c.node1.id,c.node2.id,c.dataIndex)}return n};function o(n,l){this.id=n==null?"":n,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=l==null?-1:l}o.prototype={constructor:o,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(n){if(this.dataIndex<0)return;var l=this.hostGraph,t=l.data.getItemModel(this.dataIndex);return t.getModel(n)}};function e(n,l,t){this.node1=n,this.node2=l,this.dataIndex=t==null?-1:t}e.prototype.getModel=function(n){if(this.dataIndex<0)return;var l=this.hostGraph,t=l.edgeData.getItemModel(this.dataIndex);return t.getModel(n)};var r=function(n,l){return{getValue:function(t){var a=this[n][l];return a.get(a.getDimension(t||"value"),this.dataIndex)},setVisual:function(t,a){this.dataIndex>=0&&this[n][l].setItemVisual(this.dataIndex,t,a)},getVisual:function(t,a){return this[n][l].getItemVisual(this.dataIndex,t,a)},setLayout:function(t,a){this.dataIndex>=0&&this[n][l].setItemLayout(this.dataIndex,t,a)},getLayout:function(){return this[n][l].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[n][l].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[n][l].getRawIndex(this.dataIndex)}}};b.mixin(o,r("hostGraph","data")),b.mixin(e,r("hostGraph","edgeData")),s.Node=o,s.Edge=e,v(o),v(e);var i=s;M.exports=i},c5Ni:function(M,P,d){},c5dv:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("gXHG"),m=d.n(b)},c5fP:function(M,P,d){"use strict";function w(Qe){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(Qe)}Object.defineProperty(P,"__esModule",{value:!0}),P._tr_init=Pe,P._tr_stored_block=tt,P._tr_flush_block=Oe,P._tr_tally=pt,P._tr_align=Je;var A=m(d("6BzB"));function b(){if(typeof WeakMap!="function")return null;var Qe=new WeakMap;return b=function(){return Qe},Qe}function m(Qe){if(Qe&&Qe.__esModule)return Qe;if(Qe===null||w(Qe)!=="object"&&typeof Qe!="function")return{default:Qe};var nt=b();if(nt&&nt.has(Qe))return nt.get(Qe);var bt={},Tt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ct in Qe)if(Object.prototype.hasOwnProperty.call(Qe,Ct)){var Nt=Tt?Object.getOwnPropertyDescriptor(Qe,Ct):null;Nt&&(Nt.get||Nt.set)?Object.defineProperty(bt,Ct,Nt):bt[Ct]=Qe[Ct]}return bt.default=Qe,nt&&nt.set(Qe,bt),bt}var v=4,p=0,s=1,u=2;function o(Qe){for(var nt=Qe.length;--nt>=0;)Qe[nt]=0}var e=0,r=1,i=2,n=3,l=258,t=29,a=256,c=a+1+t,h=30,f=19,g=2*c+1,S=15,y=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],D=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],N=512,k=new Array((c+2)*2);o(k);var W=new Array(h*2);o(W);var R=new Array(N);o(R);var j=new Array(l-n+1);o(j);var H=new Array(t);o(H);var K=new Array(h);o(K);function U(Qe,nt,bt,Tt,Ct){this.static_tree=Qe,this.extra_bits=nt,this.extra_base=bt,this.elems=Tt,this.max_length=Ct,this.has_stree=Qe&&Qe.length}var Q,V,J;function ae(Qe,nt){this.dyn_tree=Qe,this.max_code=0,this.stat_desc=nt}function se(Qe){return Qe<256?R[Qe]:R[256+(Qe>>>7)]}function $(Qe,nt){Qe.pending_buf[Qe.pending++]=nt&255,Qe.pending_buf[Qe.pending++]=nt>>>8&255}function ge(Qe,nt,bt){Qe.bi_valid>y-bt?(Qe.bi_buf|=nt<<Qe.bi_valid&65535,$(Qe,Qe.bi_buf),Qe.bi_buf=nt>>y-Qe.bi_valid,Qe.bi_valid+=bt-y):(Qe.bi_buf|=nt<<Qe.bi_valid&65535,Qe.bi_valid+=bt)}function he(Qe,nt,bt){ge(Qe,bt[nt*2],bt[nt*2+1])}function Ie(Qe,nt){var bt=0;do bt|=Qe&1,Qe>>>=1,bt<<=1;while(--nt>0);return bt>>>1}function Se(Qe){Qe.bi_valid===16?($(Qe,Qe.bi_buf),Qe.bi_buf=0,Qe.bi_valid=0):Qe.bi_valid>=8&&(Qe.pending_buf[Qe.pending++]=Qe.bi_buf&255,Qe.bi_buf>>=8,Qe.bi_valid-=8)}function Le(Qe,nt){var bt=nt.dyn_tree,Tt=nt.max_code,Ct=nt.stat_desc.static_tree,Nt=nt.stat_desc.has_stree,Ge=nt.stat_desc.extra_bits,ie=nt.stat_desc.extra_base,Y=nt.stat_desc.max_length,we,Ce,le,ot,wt,rt,It=0;for(ot=0;ot<=S;ot++)Qe.bl_count[ot]=0;for(bt[Qe.heap[Qe.heap_max]*2+1]=0,we=Qe.heap_max+1;we<g;we++){if(Ce=Qe.heap[we],ot=bt[bt[Ce*2+1]*2+1]+1,ot>Y&&(ot=Y,It++),bt[Ce*2+1]=ot,Ce>Tt)continue;Qe.bl_count[ot]++,wt=0,Ce>=ie&&(wt=Ge[Ce-ie]),rt=bt[Ce*2],Qe.opt_len+=rt*(ot+wt),Nt&&(Qe.static_len+=rt*(Ct[Ce*2+1]+wt))}if(It===0)return;do{for(ot=Y-1;Qe.bl_count[ot]===0;)ot--;Qe.bl_count[ot]--,Qe.bl_count[ot+1]+=2,Qe.bl_count[Y]--,It-=2}while(It>0);for(ot=Y;ot!==0;ot--)for(Ce=Qe.bl_count[ot];Ce!==0;){if(le=Qe.heap[--we],le>Tt)continue;bt[le*2+1]!==ot&&(Qe.opt_len+=(ot-bt[le*2+1])*bt[le*2],bt[le*2+1]=ot),Ce--}}function He(Qe,nt,bt){var Tt=new Array(S+1),Ct=0,Nt,Ge;for(Nt=1;Nt<=S;Nt++)Tt[Nt]=Ct=Ct+bt[Nt-1]<<1;for(Ge=0;Ge<=nt;Ge++){var ie=Qe[Ge*2+1];if(ie===0)continue;Qe[Ge*2]=Ie(Tt[ie]++,ie)}}function G(){var Qe,nt,bt,Tt,Ct,Nt=new Array(S+1);for(bt=0,Tt=0;Tt<t-1;Tt++)for(H[Tt]=bt,Qe=0;Qe<1<<I[Tt];Qe++)j[bt++]=Tt;for(j[bt-1]=Tt,Ct=0,Tt=0;Tt<16;Tt++)for(K[Tt]=Ct,Qe=0;Qe<1<<L[Tt];Qe++)R[Ct++]=Tt;for(Ct>>=7;Tt<h;Tt++)for(K[Tt]=Ct<<7,Qe=0;Qe<1<<L[Tt]-7;Qe++)R[256+Ct++]=Tt;for(nt=0;nt<=S;nt++)Nt[nt]=0;for(Qe=0;Qe<=143;)k[Qe*2+1]=8,Qe++,Nt[8]++;for(;Qe<=255;)k[Qe*2+1]=9,Qe++,Nt[9]++;for(;Qe<=279;)k[Qe*2+1]=7,Qe++,Nt[7]++;for(;Qe<=287;)k[Qe*2+1]=8,Qe++,Nt[8]++;for(He(k,c+1,Nt),Qe=0;Qe<h;Qe++)W[Qe*2+1]=5,W[Qe*2]=Ie(Qe,5);Q=new U(k,I,a+1,c,S),V=new U(W,L,0,h,S),J=new U(new Array(0),D,0,f,E)}function pe(Qe){var nt;for(nt=0;nt<c;nt++)Qe.dyn_ltree[nt*2]=0;for(nt=0;nt<h;nt++)Qe.dyn_dtree[nt*2]=0;for(nt=0;nt<f;nt++)Qe.bl_tree[nt*2]=0;Qe.dyn_ltree[C*2]=1,Qe.opt_len=Qe.static_len=0,Qe.last_lit=Qe.matches=0}function We(Qe){Qe.bi_valid>8?$(Qe,Qe.bi_buf):Qe.bi_valid>0&&(Qe.pending_buf[Qe.pending++]=Qe.bi_buf),Qe.bi_buf=0,Qe.bi_valid=0}function te(Qe,nt,bt,Tt){We(Qe),Tt&&($(Qe,bt),$(Qe,~bt)),A.arraySet(Qe.pending_buf,Qe.window,nt,bt,Qe.pending),Qe.pending+=bt}function X(Qe,nt,bt,Tt){var Ct=nt*2,Nt=bt*2;return Qe[Ct]<Qe[Nt]||Qe[Ct]===Qe[Nt]&&Tt[nt]<=Tt[bt]}function z(Qe,nt,bt){for(var Tt=Qe.heap[bt],Ct=bt<<1;Ct<=Qe.heap_len&&!(Ct<Qe.heap_len&&X(nt,Qe.heap[Ct+1],Qe.heap[Ct],Qe.depth)&&Ct++,X(nt,Tt,Qe.heap[Ct],Qe.depth));)Qe.heap[bt]=Qe.heap[Ct],bt=Ct,Ct<<=1;Qe.heap[bt]=Tt}function Z(Qe,nt,bt){var Tt,Ct,Nt=0,Ge,ie;if(Qe.last_lit!==0)do Tt=Qe.pending_buf[Qe.d_buf+Nt*2]<<8|Qe.pending_buf[Qe.d_buf+Nt*2+1],Ct=Qe.pending_buf[Qe.l_buf+Nt],Nt++,Tt===0?he(Qe,Ct,nt):(Ge=j[Ct],he(Qe,Ge+a+1,nt),ie=I[Ge],ie!==0&&(Ct-=H[Ge],ge(Qe,Ct,ie)),Tt--,Ge=se(Tt),he(Qe,Ge,bt),ie=L[Ge],ie!==0&&(Tt-=K[Ge],ge(Qe,Tt,ie)));while(Nt<Qe.last_lit);he(Qe,C,nt)}function be(Qe,nt){var bt=nt.dyn_tree,Tt=nt.stat_desc.static_tree,Ct=nt.stat_desc.has_stree,Nt=nt.stat_desc.elems,Ge,ie,Y=-1,we;for(Qe.heap_len=0,Qe.heap_max=g,Ge=0;Ge<Nt;Ge++)bt[Ge*2]!==0?(Qe.heap[++Qe.heap_len]=Y=Ge,Qe.depth[Ge]=0):bt[Ge*2+1]=0;for(;Qe.heap_len<2;)we=Qe.heap[++Qe.heap_len]=Y<2?++Y:0,bt[we*2]=1,Qe.depth[we]=0,Qe.opt_len--,Ct&&(Qe.static_len-=Tt[we*2+1]);for(nt.max_code=Y,Ge=Qe.heap_len>>1;Ge>=1;Ge--)z(Qe,bt,Ge);we=Nt;do Ge=Qe.heap[1],Qe.heap[1]=Qe.heap[Qe.heap_len--],z(Qe,bt,1),ie=Qe.heap[1],Qe.heap[--Qe.heap_max]=Ge,Qe.heap[--Qe.heap_max]=ie,bt[we*2]=bt[Ge*2]+bt[ie*2],Qe.depth[we]=(Qe.depth[Ge]>=Qe.depth[ie]?Qe.depth[Ge]:Qe.depth[ie])+1,bt[Ge*2+1]=bt[ie*2+1]=we,Qe.heap[1]=we++,z(Qe,bt,1);while(Qe.heap_len>=2);Qe.heap[--Qe.heap_max]=Qe.heap[1],Le(Qe,nt),He(bt,Y,Qe.bl_count)}function ne(Qe,nt,bt){var Tt,Ct=-1,Nt,Ge=nt[0*2+1],ie=0,Y=7,we=4;for(Ge===0&&(Y=138,we=3),nt[(bt+1)*2+1]=65535,Tt=0;Tt<=bt;Tt++){if(Nt=Ge,Ge=nt[(Tt+1)*2+1],++ie<Y&&Nt===Ge)continue;ie<we?Qe.bl_tree[Nt*2]+=ie:Nt!==0?(Nt!==Ct&&Qe.bl_tree[Nt*2]++,Qe.bl_tree[T*2]++):ie<=10?Qe.bl_tree[x*2]++:Qe.bl_tree[_*2]++,ie=0,Ct=Nt,Ge===0?(Y=138,we=3):Nt===Ge?(Y=6,we=3):(Y=7,we=4)}}function Ae(Qe,nt,bt){var Tt,Ct=-1,Nt,Ge=nt[0*2+1],ie=0,Y=7,we=4;for(Ge===0&&(Y=138,we=3),Tt=0;Tt<=bt;Tt++){if(Nt=Ge,Ge=nt[(Tt+1)*2+1],++ie<Y&&Nt===Ge)continue;if(ie<we)do he(Qe,Nt,Qe.bl_tree);while(--ie!==0);else Nt!==0?(Nt!==Ct&&(he(Qe,Nt,Qe.bl_tree),ie--),he(Qe,T,Qe.bl_tree),ge(Qe,ie-3,2)):ie<=10?(he(Qe,x,Qe.bl_tree),ge(Qe,ie-3,3)):(he(Qe,_,Qe.bl_tree),ge(Qe,ie-11,7));ie=0,Ct=Nt,Ge===0?(Y=138,we=3):Nt===Ge?(Y=6,we=3):(Y=7,we=4)}}function Ne(Qe){var nt;for(ne(Qe,Qe.dyn_ltree,Qe.l_desc.max_code),ne(Qe,Qe.dyn_dtree,Qe.d_desc.max_code),be(Qe,Qe.bl_desc),nt=f-1;nt>=3&&!(Qe.bl_tree[B[nt]*2+1]!==0);nt--);return Qe.opt_len+=3*(nt+1)+5+5+4,nt}function oe(Qe,nt,bt,Tt){var Ct;for(ge(Qe,nt-257,5),ge(Qe,bt-1,5),ge(Qe,Tt-4,4),Ct=0;Ct<Tt;Ct++)ge(Qe,Qe.bl_tree[B[Ct]*2+1],3);Ae(Qe,Qe.dyn_ltree,nt-1),Ae(Qe,Qe.dyn_dtree,bt-1)}function de(Qe){var nt=4093624447,bt;for(bt=0;bt<=31;bt++,nt>>>=1)if(nt&1&&Qe.dyn_ltree[bt*2]!==0)return p;if(Qe.dyn_ltree[9*2]!==0||Qe.dyn_ltree[10*2]!==0||Qe.dyn_ltree[13*2]!==0)return s;for(bt=32;bt<a;bt++)if(Qe.dyn_ltree[bt*2]!==0)return s;return p}var xe=!1;function Pe(Qe){xe||(G(),xe=!0),Qe.l_desc=new ae(Qe.dyn_ltree,Q),Qe.d_desc=new ae(Qe.dyn_dtree,V),Qe.bl_desc=new ae(Qe.bl_tree,J),Qe.bi_buf=0,Qe.bi_valid=0,pe(Qe)}function tt(Qe,nt,bt,Tt){ge(Qe,(e<<1)+(Tt?1:0),3),te(Qe,nt,bt,!0)}function Je(Qe){ge(Qe,r<<1,3),he(Qe,C,k),Se(Qe)}function Oe(Qe,nt,bt,Tt){var Ct,Nt,Ge=0;Qe.level>0?(Qe.strm.data_type===u&&(Qe.strm.data_type=de(Qe)),be(Qe,Qe.l_desc),be(Qe,Qe.d_desc),Ge=Ne(Qe),Ct=Qe.opt_len+3+7>>>3,Nt=Qe.static_len+3+7>>>3,Nt<=Ct&&(Ct=Nt)):Ct=Nt=bt+5,bt+4<=Ct&&nt!==-1?tt(Qe,nt,bt,Tt):Qe.strategy===v||Nt===Ct?(ge(Qe,(r<<1)+(Tt?1:0),3),Z(Qe,k,W)):(ge(Qe,(i<<1)+(Tt?1:0),3),oe(Qe,Qe.l_desc.max_code+1,Qe.d_desc.max_code+1,Ge+1),Z(Qe,Qe.dyn_ltree,Qe.dyn_dtree)),pe(Qe),Tt&&We(Qe)}function pt(Qe,nt,bt){return Qe.pending_buf[Qe.d_buf+Qe.last_lit*2]=nt>>>8&255,Qe.pending_buf[Qe.d_buf+Qe.last_lit*2+1]=nt&255,Qe.pending_buf[Qe.l_buf+Qe.last_lit]=bt&255,Qe.last_lit++,nt===0?Qe.dyn_ltree[bt*2]++:(Qe.matches++,nt--,Qe.dyn_ltree[(j[bt]+a+1)*2]++,Qe.dyn_dtree[se(nt)*2]++),Qe.last_lit===Qe.lit_bufsize-1}},c8qY:function(M,P,d){var w=d("IwbS"),A=d("fls0");function b(i){this._ctor=i||A,this.group=new w.Group}var m=b.prototype;m.isPersistent=function(){return!0},m.updateData=function(i){var n=this,l=n.group,t=n._lineData;n._lineData=i,t||l.removeAll();var a=u(i);i.diff(t).add(function(c){v(n,i,c,a)}).update(function(c,h){p(n,t,i,h,c,a)}).remove(function(c){l.remove(t.getItemGraphicEl(c))}).execute()};function v(i,n,l,t){var a=n.getItemLayout(l);if(!e(a))return;var c=new i._ctor(n,l,t);n.setItemGraphicEl(l,c),i.group.add(c)}function p(i,n,l,t,a,c){var h=n.getItemGraphicEl(t);if(!e(l.getItemLayout(a))){i.group.remove(h);return}h?h.updateData(l,a,c):h=new i._ctor(l,a,c),l.setItemGraphicEl(a,h),i.group.add(h)}m.updateLayout=function(){var i=this._lineData;if(!i)return;i.eachItemGraphicEl(function(n,l){n.updateLayout(i,l)},this)},m.incrementalPrepareUpdate=function(i){this._seriesScope=u(i),this._lineData=null,this.group.removeAll()};function s(i){return i.animators&&i.animators.length>0}m.incrementalUpdate=function(i,n){function l(h){!h.isGroup&&!s(h)&&(h.incremental=h.useHoverLayer=!0)}for(var t=i.start;t<i.end;t++){var a=n.getItemLayout(t);if(e(a)){var c=new this._ctor(n,t,this._seriesScope);c.traverse(l),this.group.add(c),n.setItemGraphicEl(t,c)}}};function u(i){var n=i.hostModel;return{lineStyle:n.getModel("lineStyle").getLineStyle(),hoverLineStyle:n.getModel("emphasis.lineStyle").getLineStyle(),labelModel:n.getModel("label"),hoverLabelModel:n.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 o(i){return isNaN(i[0])||isNaN(i[1])}function e(i){return!o(i[0])&&!o(i[1])}var r=b;M.exports=r},cCMj:function(M,P,d){var w=d("bYtY"),A={updateSelectedMap:function(b){this._targetList=w.isArray(b)?b.slice():[],this._selectTargetMap=w.reduce(b||[],function(m,v){return m.set(v.name,v),m},w.createHashMap())},select:function(b,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(b),p=this.get("selectedMode");p==="single"&&this._selectTargetMap.each(function(s){s.selected=!1}),v&&(v.selected=!0)},unSelect:function(b,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(b);v&&(v.selected=!1)},toggleSelected:function(b,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(b);if(v!=null)return this[v.selected?"unSelect":"select"](b,m),v.selected},isSelected:function(b,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(b);return v&&v.selected}};M.exports=A},cDrd:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("Dk0F"),m=d.n(b)},cH4y:function(M,P,d){"use strict";var w=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var A=w(d("pVnL")),b=w(d("WSfB")),m=w(d("LZL9")),v={lang:(0,A.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"]},b.default),timePickerLocale:(0,A.default)({},m.default)};v.lang.ok="\u786E \u5B9A";var p=v;P.default=p},cVA7:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var w=d("MT78"),A=v(w),b=d("t3Fx"),m=v(b);function v(e){return e&&e.__esModule?e:{default:e}}function p(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function s(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:e}function u(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)}var o=function(e){u(r,e);function r(i){p(this,r);var n=s(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,i));return n.echartsLib=A.default,n}return r}(m.default);P.default=o},ca2m:function(M,P,d){var w=d("bYtY"),A={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)"]}}},b={};b.categoryAxis=w.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},A),b.valueAxis=w.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},A),b.timeAxis=w.defaults({scale:!0,min:"dataMin",max:"dataMax"},b.valueAxis),b.logAxis=w.defaults({scale:!0,logBase:10},b.valueAxis);var m=b;M.exports=m},cbJ4:function(M,P,d){var w=d("bYtY"),A=w.createHashMap;function b(m){m.eachSeriesByType("themeRiver",function(v){var p=v.getData(),s=v.getRawData(),u=v.get("color"),o=A();p.each(function(e){o.set(p.getRawIndex(e),e)}),s.each(function(e){var r=s.getName(e),i=u[(v.nameMap.get(r)-1)%u.length];s.setItemVisual(e,"color",i);var n=o.get(e);n!=null&&p.setItemVisual(n,"color",i)})})}M.exports=b},chpo:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var w=1,A=function(){return"".concat(w++)};P.default=A},cpOr:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("T4UG"),m=d("YXkt"),v=d("bYtY"),p=v.concatArray,s=v.mergeAll,u=v.map,o=d("7aKB"),e=o.encodeHTML,r=d("IDmD"),i=typeof Uint32Array=="undefined"?Array:Uint32Array,n=typeof Float64Array=="undefined"?Array:Float64Array;function l(c){var h=c.data;h&&h[0]&&h[0][0]&&h[0][0].coord&&(c.data=u(h,function(f){var g=[f[0].coord,f[1].coord],S={coords:g};return f[0].name&&(S.fromName=f[0].name),f[1].name&&(S.toName=f[1].name),s([S,f[0],f[1]])}))}var t=b.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(c){c.data=c.data||[],l(c);var h=this._processFlatCoordsArray(c.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(c.data=new Float32Array(h.count)),t.superApply(this,"init",arguments)},mergeOption:function(c){if(c.data=c.data||[],l(c),c.data){var h=this._processFlatCoordsArray(c.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(c.data=new Float32Array(h.count))}t.superApply(this,"mergeOption",arguments)},appendData:function(c){var h=this._processFlatCoordsArray(c.data);h.flatCoords&&(this._flatCoords?(this._flatCoords=p(this._flatCoords,h.flatCoords),this._flatCoordsOffset=p(this._flatCoordsOffset,h.flatCoordsOffset)):(this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset),c.data=new Float32Array(h.count)),this.getRawData().appendData(c.data)},_getCoordsFromItemModel:function(c){var h=this.getData().getItemModel(c),f=h.option instanceof Array?h.option:h.getShallow("coords");return f},getLineCoordsCount:function(c){return this._flatCoordsOffset?this._flatCoordsOffset[c*2+1]:this._getCoordsFromItemModel(c).length},getLineCoords:function(c,h){if(this._flatCoordsOffset){for(var f=this._flatCoordsOffset[c*2],g=this._flatCoordsOffset[c*2+1],S=0;S<g;S++)h[S]=h[S]||[],h[S][0]=this._flatCoords[f+S*2],h[S][1]=this._flatCoords[f+S*2+1];return g}else{for(var y=this._getCoordsFromItemModel(c),S=0;S<y.length;S++)h[S]=h[S]||[],h[S][0]=y[S][0],h[S][1]=y[S][1];return y.length}},_processFlatCoordsArray:function(c){var h=0;if(this._flatCoords&&(h=this._flatCoords.length),typeof c[0]=="number"){for(var f=c.length,g=new i(f),S=new n(f),y=0,E=0,C=0,T=0;T<f;){C++;var x=c[T++];g[E++]=y+h,g[E++]=x;for(var _=0;_<x;_++){var I=c[T++],L=c[T++];S[y++]=I,S[y++]=L,T>f}}return{flatCoordsOffset:new Uint32Array(g.buffer,0,E),flatCoords:S,count:C}}return{flatCoordsOffset:null,flatCoords:null,count:c.length}},getInitialData:function(c,h){var f=new m(["value"],this);return f.hasItemOption=!1,f.initData(c.data,[],function(g,S,y,E){if(g instanceof Array)return NaN;f.hasItemOption=!0;var C=g.value;if(C!=null)return C instanceof Array?C[E]:C}),f},formatTooltip:function(c){var h=this.getData(),f=h.getItemModel(c),g=f.get("name");if(g)return g;var S=f.get("fromName"),y=f.get("toName"),E=[];return S!=null&&E.push(S),y!=null&&E.push(y),e(E.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var c=this.option.progressive;return c==null?this.option.large?1e4:this.get("progressive"):c},getProgressiveThreshold:function(){var c=this.option.progressiveThreshold;return c==null?this.option.large?2e4:this.get("progressiveThreshold"):c},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}}}),a=t;M.exports=a},crZl:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("IwbS"),m=d("7aKB"),v=d("+TT/"),p=d("XxSj"),s=w.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(u,o){this.ecModel=u,this.api=o,this.visualMapModel},render:function(u,o,e,r){if(this.visualMapModel=u,u.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(u){var o=this.visualMapModel,e=m.normalizeCssArray(o.get("padding")||0),r=u.getBoundingRect();u.add(new b.Rect({z2:-1,silent:!0,shape:{x:r.x-e[3],y:r.y-e[0],width:r.width+e[3]+e[1],height:r.height+e[0]+e[2]},style:{fill:o.get("backgroundColor"),stroke:o.get("borderColor"),lineWidth:o.get("borderWidth")}}))},getControllerVisual:function(u,o,e){e=e||{};var r=e.forceState,i=this.visualMapModel,n={};if(o==="symbol"&&(n.symbol=i.get("itemSymbol")),o==="color"){var l=i.get("contentColor");n.color=l}function t(f){return n[f]}function a(f,g){n[f]=g}var c=i.controllerVisuals[r||i.getValueState(u)],h=p.prepareVisualTypes(c);return A.each(h,function(f){var g=c[f];e.convertOpacityToAlpha&&f==="opacity"&&(f="colorAlpha",g=c.__alphaForOpacity),p.dependsOn(f,o)&&(g&&g.applyVisual(u,t,a))}),n[o]},positionGroup:function(u){var o=this.visualMapModel,e=this.api;v.positionElement(u,o.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})},doRender:A.noop});M.exports=s},crp1:function(M,P,d){"use strict";d.d(P,"b",function(){return Ot}),d.d(P,"a",function(){return Lr});var w={},A=function(St,Mt,Zt,kr,Hr){var $r=w[Mt]||(w[Mt]=URL.createObjectURL(new Blob([St],{type:"text/javascript"}))),Bt=new Worker($r);return Bt.onerror=function(cr){return Hr(cr.error,null)},Bt.onmessage=function(cr){return Hr(null,cr.data)},Bt.postMessage(Zt,kr),Bt},b=Uint8Array,m=Uint16Array,v=Uint32Array,p=new b([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]),s=new b([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]),u=new b([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=function(St,Mt){for(var Zt=new m(31),kr=0;kr<31;++kr)Zt[kr]=Mt+=1<<St[kr-1];for(var Hr=new v(Zt[30]),kr=1;kr<30;++kr)for(var $r=Zt[kr];$r<Zt[kr+1];++$r)Hr[$r]=$r-Zt[kr]<<5|kr;return[Zt,Hr]},e=o(p,2),r=e[0],i=e[1];r[28]=258,i[258]=28;for(var n=o(s,0),l=n[0],t=n[1],a=new m(32768),c=0;c<32768;++c){var h=(c&43690)>>>1|(c&21845)<<1;h=(h&52428)>>>2|(h&13107)<<2,h=(h&61680)>>>4|(h&3855)<<4,a[c]=((h&65280)>>>8|(h&255)<<8)>>>1}for(var f=function(St,Mt,Zt){for(var kr=St.length,Hr=0,$r=new m(Mt);Hr<kr;++Hr)++$r[St[Hr]-1];var Bt=new m(Mt);for(Hr=0;Hr<Mt;++Hr)Bt[Hr]=Bt[Hr-1]+$r[Hr-1]<<1;var cr;if(Zt){cr=new m(1<<Mt);var Cr=15-Mt;for(Hr=0;Hr<kr;++Hr)if(St[Hr])for(var Br=Hr<<4|St[Hr],zr=Mt-St[Hr],An=Bt[St[Hr]-1]++<<zr,bn=An|(1<<zr)-1;An<=bn;++An)cr[a[An]>>>Cr]=Br}else for(cr=new m(kr),Hr=0;Hr<kr;++Hr)cr[Hr]=a[Bt[St[Hr]-1]++]>>>15-St[Hr];return cr},g=new b(288),c=0;c<144;++c)g[c]=8;for(var c=144;c<256;++c)g[c]=9;for(var c=256;c<280;++c)g[c]=7;for(var c=280;c<288;++c)g[c]=8;for(var S=new b(32),c=0;c<32;++c)S[c]=5;var y=f(g,9,0),E=f(g,9,1),C=f(S,5,0),T=f(S,5,1),x=function(St){for(var Mt=St[0],Zt=1;Zt<St.length;++Zt)St[Zt]>Mt&&(Mt=St[Zt]);return Mt},_=function(St,Mt,Zt){var kr=Mt/8>>0;return(St[kr]|St[kr+1]<<8)>>>(Mt&7)&Zt},I=function(St,Mt){var Zt=Mt/8>>0;return(St[Zt]|St[Zt+1]<<8|St[Zt+2]<<16)>>>(Mt&7)},L=function(St){return(St/8>>0)+(St&7&&1)},D=function(St,Mt,Zt){(Mt==null||Mt<0)&&(Mt=0),(Zt==null||Zt>St.length)&&(Zt=St.length);var kr=new(St instanceof m?m:St instanceof v?v:b)(Zt-Mt);return kr.set(St.subarray(Mt,Zt)),kr},B=function(St,Mt,Zt){var kr=St.length,Hr=!Mt||Zt,$r=!Zt||Zt.i;Zt||(Zt={}),Mt||(Mt=new b(kr*3));var Bt=function(Gn){var xn=Mt.length;if(Gn>xn){var mi=new b(Math.max(xn*2,Gn));mi.set(Mt),Mt=mi}},cr=Zt.f||0,Cr=Zt.p||0,Br=Zt.b||0,zr=Zt.l,An=Zt.d,bn=Zt.m,Sn=Zt.n,Mn=kr*8;do{if(!zr){Zt.f=cr=_(St,Cr,1);var ei=_(St,Cr+1,3);if(Cr+=3,ei)if(ei==1)zr=E,An=T,bn=9,Sn=5;else if(ei==2){var $e=_(St,Cr,31)+257,Te=_(St,Cr+10,15)+4,ke=$e+_(St,Cr+5,31)+1;Cr+=14;for(var Me=new b(ke),Ze=new b(19),Xe=0;Xe<Te;++Xe)Ze[u[Xe]]=_(St,Cr+Xe*3,7);Cr+=Te*3;var qe=x(Ze),mt=(1<<qe)-1;if(!$r&&Cr+ke*(qe+7)>Mn)break;for(var ht=f(Ze,qe,1),Xe=0;Xe<ke;){var Vt=ht[_(St,Cr,mt)];Cr+=Vt&15;var Zn=Vt>>>4;if(Zn<16)Me[Xe++]=Zn;else{var dr=0,tr=0;for(Zn==16?(tr=3+_(St,Cr,3),Cr+=2,dr=Me[Xe-1]):Zn==17?(tr=3+_(St,Cr,7),Cr+=3):Zn==18&&(tr=11+_(St,Cr,127),Cr+=7);tr--;)Me[Xe++]=dr}}var ir=Me.subarray(0,$e),_t=Me.subarray($e);bn=x(ir),Sn=x(_t),zr=f(ir,bn,1),An=f(_t,Sn,1)}else throw"invalid block type";else{var Zn=L(Cr)+4,ai=St[Zn-4]|St[Zn-3]<<8,ii=Zn+ai;if(ii>kr){if($r)throw"unexpected EOF";break}Hr&&Bt(Br+ai),Mt.set(St.subarray(Zn,ii),Br),Zt.b=Br+=ai,Zt.p=Cr=ii*8;continue}if(Cr>Mn)throw"unexpected EOF"}Hr&&Bt(Br+131072);for(var gr=(1<<bn)-1,jt=(1<<Sn)-1,Sr=bn+Sn+18;$r||Cr+Sr<Mn;){var dr=zr[I(St,Cr)&gr],Ar=dr>>>4;if(Cr+=dr&15,Cr>Mn)throw"unexpected EOF";if(!dr)throw"invalid length/literal";if(Ar<256)Mt[Br++]=Ar;else if(Ar==256){zr=null;break}else{var sr=Ar-254;if(Ar>264){var Xe=Ar-257,ln=p[Xe];sr=_(St,Cr,(1<<ln)-1)+r[Xe],Cr+=ln}var _n=An[I(St,Cr)&jt],zn=_n>>>4;if(!_n)throw"invalid distance";Cr+=_n&15;var _t=l[zn];if(zn>3){var ln=s[zn];_t+=I(St,Cr)&(1<<ln)-1,Cr+=ln}if(Cr>Mn)throw"unexpected EOF";Hr&&Bt(Br+131072);for(var Nn=Br+sr;Br<Nn;Br+=4)Mt[Br]=Mt[Br-_t],Mt[Br+1]=Mt[Br+1-_t],Mt[Br+2]=Mt[Br+2-_t],Mt[Br+3]=Mt[Br+3-_t];Br=Nn}}Zt.l=zr,Zt.p=Cr,Zt.b=Br,zr&&(cr=1,Zt.m=bn,Zt.d=An,Zt.n=Sn)}while(!cr);return Br==Mt.length?Mt:D(Mt,0,Br)},N=function(St,Mt,Zt){Zt<<=Mt&7;var kr=Mt/8>>0;St[kr]|=Zt,St[kr+1]|=Zt>>>8},k=function(St,Mt,Zt){Zt<<=Mt&7;var kr=Mt/8>>0;St[kr]|=Zt,St[kr+1]|=Zt>>>8,St[kr+2]|=Zt>>>16},W=function(St,Mt){for(var Zt=[],kr=0;kr<St.length;++kr)St[kr]&&Zt.push({s:kr,f:St[kr]});var Hr=Zt.length,$r=Zt.slice();if(!Hr)return[new b(0),0];if(Hr==1){var Bt=new b(Zt[0].s+1);return Bt[Zt[0].s]=1,[Bt,1]}Zt.sort(function(ke,Me){return ke.f-Me.f}),Zt.push({s:-1,f:25001});var cr=Zt[0],Cr=Zt[1],Br=0,zr=1,An=2;for(Zt[0]={s:-1,f:cr.f+Cr.f,l:cr,r:Cr};zr!=Hr-1;)cr=Zt[Zt[Br].f<Zt[An].f?Br++:An++],Cr=Zt[Br!=zr&&Zt[Br].f<Zt[An].f?Br++:An++],Zt[zr++]={s:-1,f:cr.f+Cr.f,l:cr,r:Cr};for(var bn=$r[0].s,kr=1;kr<Hr;++kr)$r[kr].s>bn&&(bn=$r[kr].s);var Sn=new m(bn+1),Mn=R(Zt[zr-1],Sn,0);if(Mn>Mt){var kr=0,ei=0,Zn=Mn-Mt,ai=1<<Zn;for($r.sort(function(Me,Ze){return Sn[Ze.s]-Sn[Me.s]||Me.f-Ze.f});kr<Hr;++kr){var ii=$r[kr].s;if(Sn[ii]>Mt)ei+=ai-(1<<Mn-Sn[ii]),Sn[ii]=Mt;else break}for(ei>>>=Zn;ei>0;){var $e=$r[kr].s;Sn[$e]<Mt?ei-=1<<Mt-Sn[$e]++-1:++kr}for(;kr>=0&&ei;--kr){var Te=$r[kr].s;Sn[Te]==Mt&&(--Sn[Te],++ei)}Mn=Mt}return[new b(Sn),Mn]},R=function Kt(St,Mt,Zt){return St.s==-1?Math.max(Kt(St.l,Mt,Zt+1),Kt(St.r,Mt,Zt+1)):Mt[St.s]=Zt},j=function(St){for(var Mt=St.length;Mt&&!St[--Mt];);for(var Zt=new m(++Mt),kr=0,Hr=St[0],$r=1,Bt=function(Br){Zt[kr++]=Br},cr=1;cr<=Mt;++cr)if(St[cr]==Hr&&cr!=Mt)++$r;else{if(!Hr&&$r>2){for(;$r>138;$r-=138)Bt(32754);$r>2&&(Bt($r>10?$r-11<<5|28690:$r-3<<5|12305),$r=0)}else if($r>3){for(Bt(Hr),--$r;$r>6;$r-=6)Bt(8304);$r>2&&(Bt($r-3<<5|8208),$r=0)}for(;$r--;)Bt(Hr);$r=1,Hr=St[cr]}return[Zt.subarray(0,kr),Mt]},H=function(St,Mt){for(var Zt=0,kr=0;kr<Mt.length;++kr)Zt+=St[kr]*Mt[kr];return Zt},K=function(St,Mt,Zt){var kr=Zt.length,Hr=L(Mt+2);St[Hr]=kr&255,St[Hr+1]=kr>>>8,St[Hr+2]=St[Hr]^255,St[Hr+3]=St[Hr+1]^255;for(var $r=0;$r<kr;++$r)St[Hr+$r+4]=Zt[$r];return(Hr+4+kr)*8},U=function(St,Mt,Zt,kr,Hr,$r,Bt,cr,Cr,Br,zr){N(Mt,zr++,Zt),++Hr[256];for(var An=W(Hr,15),bn=An[0],Sn=An[1],Mn=W($r,15),ei=Mn[0],Zn=Mn[1],ai=j(bn),ii=ai[0],$e=ai[1],Te=j(ei),ke=Te[0],Me=Te[1],Ze=new m(19),Xe=0;Xe<ii.length;++Xe)Ze[ii[Xe]&31]++;for(var Xe=0;Xe<ke.length;++Xe)Ze[ke[Xe]&31]++;for(var qe=W(Ze,7),mt=qe[0],ht=qe[1],Vt=19;Vt>4&&!mt[u[Vt-1]];--Vt);var dr=Br+5<<3,tr=H(Hr,g)+H($r,S)+Bt,ir=H(Hr,bn)+H($r,ei)+Bt+14+3*Vt+H(Ze,mt)+(2*Ze[16]+3*Ze[17]+7*Ze[18]);if(dr<=tr&&dr<=ir)return K(Mt,zr,St.subarray(Cr,Cr+Br));var _t,gr,jt,Sr;if(N(Mt,zr,1+(ir<tr)),zr+=2,ir<tr){_t=f(bn,Sn,0),gr=bn,jt=f(ei,Zn,0),Sr=ei;var Ar=f(mt,ht,0);N(Mt,zr,$e-257),N(Mt,zr+5,Me-1),N(Mt,zr+10,Vt-4),zr+=14;for(var Xe=0;Xe<Vt;++Xe)N(Mt,zr+3*Xe,mt[u[Xe]]);zr+=3*Vt;for(var sr=[ii,ke],ln=0;ln<2;++ln)for(var _n=sr[ln],Xe=0;Xe<_n.length;++Xe){var zn=_n[Xe]&31;N(Mt,zr,Ar[zn]),zr+=mt[zn],zn>15&&(N(Mt,zr,_n[Xe]>>>5&127),zr+=_n[Xe]>>>12)}}else _t=y,gr=g,jt=C,Sr=S;for(var Xe=0;Xe<cr;++Xe)if(kr[Xe]>255){var zn=kr[Xe]>>>18&31;k(Mt,zr,_t[zn+257]),zr+=gr[zn+257],zn>7&&(N(Mt,zr,kr[Xe]>>>23&31),zr+=p[zn]);var Nn=kr[Xe]&31;k(Mt,zr,jt[Nn]),zr+=Sr[Nn],Nn>3&&(k(Mt,zr,kr[Xe]>>>5&8191),zr+=s[Nn])}else k(Mt,zr,_t[kr[Xe]]),zr+=gr[kr[Xe]];return k(Mt,zr,_t[256]),zr+gr[256]},Q=new v([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),V=new b(0),J=function(St,Mt,Zt,kr,Hr,$r){var Bt=St.length,cr=new b(kr+Bt+5*(1+Math.floor(Bt/7e3))+Hr),Cr=cr.subarray(kr,cr.length-Hr),Br=0;if(!Mt||Bt<8)for(var zr=0;zr<=Bt;zr+=65535){var An=zr+65535;An<Bt?Br=K(Cr,Br,St.subarray(zr,An)):(Cr[zr]=$r,Br=K(Cr,Br,St.subarray(zr,Bt)))}else{for(var bn=Q[Mt-1],Sn=bn>>>13,Mn=bn&8191,ei=(1<<Zt)-1,Zn=new m(32768),ai=new m(ei+1),ii=Math.ceil(Zt/3),$e=2*ii,Te=function(Hn){return(St[Hn]^St[Hn+1]<<ii^St[Hn+2]<<$e)&ei},ke=new v(25e3),Me=new m(288),Ze=new m(32),Xe=0,qe=0,zr=0,mt=0,ht=0,Vt=0;zr<Bt;++zr){var dr=Te(zr),tr=zr&32767,ir=ai[dr];if(Zn[tr]=ir,ai[dr]=tr,ht<=zr){var _t=Bt-zr;if((Xe>7e3||mt>24576)&&_t>423){Br=U(St,Cr,0,ke,Me,Ze,qe,mt,Vt,zr-Vt,Br),mt=Xe=qe=0,Vt=zr;for(var gr=0;gr<286;++gr)Me[gr]=0;for(var gr=0;gr<30;++gr)Ze[gr]=0}var jt=2,Sr=0,Ar=Mn,sr=tr-ir&32767;if(_t>2&&dr==Te(zr-sr))for(var ln=Math.min(Sn,_t)-1,_n=Math.min(32767,zr),zn=Math.min(258,_t);sr<=_n&&--Ar&&tr!=ir;){if(St[zr+jt]==St[zr+jt-sr]){for(var Nn=0;Nn<zn&&St[zr+Nn]==St[zr+Nn-sr];++Nn);if(Nn>jt){if(jt=Nn,Sr=sr,Nn>ln)break;for(var Fn=Math.min(sr,Nn-2),Gn=0,gr=0;gr<Fn;++gr){var xn=zr-sr+gr+32768&32767,mi=Zn[xn],rn=xn-mi+32768&32767;rn>Gn&&(Gn=rn,ir=xn)}}}tr=ir,ir=Zn[tr],sr+=tr-ir+32768&32767}if(Sr){ke[mt++]=268435456|i[jt]<<18|t[Sr];var Ur=i[jt]&31,cn=t[Sr]&31;qe+=p[Ur]+s[cn],++Me[257+Ur],++Ze[cn],ht=zr+jt,++Xe}else ke[mt++]=St[zr],++Me[St[zr]]}}Br=U(St,Cr,$r,ke,Me,Ze,qe,mt,Vt,zr-Vt,Br),$r||(Br=K(Cr,Br,V))}return D(cr,0,kr+L(Br)+Hr)},ae=function(){for(var Kt=new v(256),St=0;St<256;++St){for(var Mt=St,Zt=9;--Zt;)Mt=(Mt&1&&3988292384)^Mt>>>1;Kt[St]=Mt}return Kt}(),se=function(){var St=4294967295;return{p:function(Zt){for(var kr=St,Hr=0;Hr<Zt.length;++Hr)kr=ae[kr&255^Zt[Hr]]^kr>>>8;St=kr},d:function(){return St^4294967295}}},$=function(){var St=1,Mt=0;return{p:function(kr){for(var Hr=St,$r=Mt,Bt=kr.length,cr=0;cr!=Bt;){for(var Cr=Math.min(cr+5552,Bt);cr<Cr;++cr)Hr+=kr[cr],$r+=Hr;Hr%=65521,$r%=65521}St=Hr,Mt=$r},d:function(){return(St>>>8<<16|(Mt&255)<<8|Mt>>>8)+((St&255)<<23)*2}}},ge=function(St,Mt,Zt,kr,Hr){return J(St,Mt.level==null?6:Mt.level,Mt.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(St.length)))*1.5):12+Mt.mem,Zt,kr,!Hr)},he=function(St,Mt){var Zt={};for(var kr in St)Zt[kr]=St[kr];for(var kr in Mt)Zt[kr]=Mt[kr];return Zt},Ie=function(St,Mt,Zt){for(var kr=St(),Hr=St.toString(),$r=Hr.slice(Hr.indexOf("[")+1,Hr.lastIndexOf("]")).replace(/ /g,"").split(","),Bt=0;Bt<kr.length;++Bt){var cr=kr[Bt],Cr=$r[Bt];if(typeof cr=="function"){Mt+=";"+Cr+"=";var Br=cr.toString();if(cr.prototype)if(Br.indexOf("[native code]")!=-1){var zr=Br.indexOf(" ",8)+1;Mt+=Br.slice(zr,Br.indexOf("(",zr))}else{Mt+=Br;for(var An in cr.prototype)Mt+=";"+Cr+".prototype."+An+"="+cr.prototype[An].toString()}else Mt+=Br}else Zt[Cr]=cr}return[Mt,Zt]},Se=[],Le=function(St){var Mt=[];for(var Zt in St)(St[Zt]instanceof b||St[Zt]instanceof m||St[Zt]instanceof v)&&Mt.push((St[Zt]=new St[Zt].constructor(St[Zt])).buffer);return Mt},He=function(St,Mt,Zt,kr){var Hr;if(!Se[Zt]){for(var $r="",Bt={},cr=St.length-1,Cr=0;Cr<cr;++Cr)Hr=Ie(St[Cr],$r,Bt),$r=Hr[0],Bt=Hr[1];Se[Zt]=Ie(St[cr],$r,Bt)}var Br=he({},Se[Zt][1]);return A(Se[Zt][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+Mt.toString()+"}",Zt,Br,Le(Br),kr)},G=function(){return[b,m,v,p,s,u,r,l,E,T,a,f,x,_,I,L,D,B,we,Z,be]},pe=function(){return[b,m,v,p,s,u,i,t,y,g,C,S,a,Q,V,f,N,k,W,R,j,H,K,U,L,D,J,ge,Nt,Z]},We=function(){return[Pe,Oe,xe,se,ae]},te=function(){return[tt,Je]},X=function(){return[pt,xe,$]},z=function(){return[Qe]},Z=function(St){return postMessage(St,[St.buffer])},be=function(St){return St&&St.size&&new b(St.size)},ne=function(St,Mt,Zt,kr,Hr,$r){var Bt=He(Zt,kr,Hr,function(cr,Cr){Bt.terminate(),$r(cr,Cr)});return Mt.consume||(St=new b(St)),Bt.postMessage([St,Mt],[St.buffer]),function(){Bt.terminate()}},Ae=function(St){return St.ondata=function(Mt,Zt){return postMessage([Mt,Zt],[Mt.buffer])},function(Mt){return St.push(Mt.data[0],Mt.data[1])}},Ne=function(St,Mt,Zt,kr,Hr){var $r,Bt=He(St,kr,Hr,function(cr,Cr){cr?(Bt.terminate(),Mt.ondata.call(Mt,cr)):(Cr[1]&&Bt.terminate(),Mt.ondata.call(Mt,cr,Cr[0],Cr[1]))});Bt.postMessage(Zt),Mt.push=function(cr,Cr){if($r)throw"stream finished";if(!Mt.ondata)throw"no stream handler";Bt.postMessage([cr,$r=Cr],[cr.buffer])},Mt.terminate=function(){Bt.terminate()}},oe=function(St,Mt){return St[Mt]|St[Mt+1]<<8},de=function(St,Mt){return(St[Mt]|St[Mt+1]<<8|St[Mt+2]<<16)+(St[Mt+3]<<23)*2},xe=function(St,Mt,Zt){for(;Zt;++Mt)St[Mt]=Zt,Zt>>>=8},Pe=function(St,Mt){var Zt=Mt.filename;if(St[0]=31,St[1]=139,St[2]=8,St[8]=Mt.level<2?4:Mt.level==9?2:0,St[9]=3,Mt.mtime!=0&&xe(St,4,Math.floor(new Date(Mt.mtime||Date.now())/1e3)),Zt){St[3]=8;for(var kr=0;kr<=Zt.length;++kr)St[kr+10]=Zt.charCodeAt(kr)}},tt=function(St){if(St[0]!=31||St[1]!=139||St[2]!=8)throw"invalid gzip data";var Mt=St[3],Zt=10;Mt&4&&(Zt+=St[10]|(St[11]<<8)+2);for(var kr=(Mt>>3&1)+(Mt>>4&1);kr>0;kr-=!St[Zt++]);return Zt+(Mt&2)},Je=function(St){var Mt=St.length;return(St[Mt-4]|St[Mt-3]<<8|St[Mt-2]<<16)+2*(St[Mt-1]<<23)},Oe=function(St){return 10+(St.filename&&St.filename.length+1||0)},pt=function(St,Mt){var Zt=Mt.level,kr=Zt==0?0:Zt<6?1:Zt==9?3:2;St[0]=120,St[1]=kr<<6|(kr?32-2*kr:1)},Qe=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 nt(Kt,St){return!St&&typeof Kt=="function"&&(St=Kt,Kt={}),this.ondata=St,Kt}var bt=function(){function Kt(St,Mt){!Mt&&typeof St=="function"&&(Mt=St,St={}),this.ondata=Mt,this.o=St||{}}return Kt.prototype.p=function(St,Mt){this.ondata(ge(St,this.o,0,0,!Mt),Mt)},Kt.prototype.push=function(St,Mt){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=Mt,this.p(St,Mt||!1)},Kt}(),Tt=function(){function Kt(St,Mt){Ne([pe,function(){return[Ae,bt]}],this,nt.call(this,St,Mt),function(Zt){var kr=new bt(Zt.data);onmessage=Ae(kr)},6)}return Kt}();function Ct(Kt,St,Mt){if(Mt||(Mt=St,St={}),typeof Mt!="function")throw"no callback";return ne(Kt,St,[pe],function(Zt){return Z(Nt(Zt.data[0],Zt.data[1]))},0,Mt)}function Nt(Kt,St){return St===void 0&&(St={}),ge(Kt,St,0,0)}var Ge=function(){function Kt(St){this.s={},this.p=new b(0),this.ondata=St}return Kt.prototype.e=function(St){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var Mt=this.p.length,Zt=new b(Mt+St.length);Zt.set(this.p),Zt.set(St,Mt),this.p=Zt},Kt.prototype.c=function(St){this.d=this.s.i=St||!1;var Mt=this.s.b,Zt=B(this.p,this.o,this.s);this.ondata(D(Zt,Mt,this.s.b),this.d),this.o=D(Zt,this.s.b-32768),this.s.b=this.o.length,this.p=D(this.p,this.s.p/8>>0),this.s.p&=7},Kt.prototype.push=function(St,Mt){this.e(St),this.c(Mt)},Kt}(),ie=function(){function Kt(St){this.ondata=St,Ne([G,function(){return[Ae,Ge]}],this,0,function(){var Mt=new Ge;onmessage=Ae(Mt)},7)}return Kt}();function Y(Kt,St,Mt){if(Mt||(Mt=St,St={}),typeof Mt!="function")throw"no callback";return ne(Kt,St,[G],function(Zt){return Z(we(Zt.data[0],be(Zt.data[1])))},1,Mt)}function we(Kt,St){return B(Kt,St)}var Ce=function(){function Kt(St,Mt){this.c=se(),this.l=0,this.v=1,bt.call(this,St,Mt)}return Kt.prototype.push=function(St,Mt){bt.prototype.push.call(this,St,Mt)},Kt.prototype.p=function(St,Mt){this.c.p(St),this.l+=St.length;var Zt=ge(St,this.o,this.v&&Oe(this.o),Mt&&8,!Mt);this.v&&(Pe(Zt,this.o),this.v=0),Mt&&(xe(Zt,Zt.length-8,this.c.d()),xe(Zt,Zt.length-4,this.l)),this.ondata(Zt,Mt)},Kt}(),le=function(){function Kt(St,Mt){Ne([pe,We,function(){return[Ae,bt,Ce]}],this,nt.call(this,St,Mt),function(Zt){var kr=new Ce(Zt.data);onmessage=Ae(kr)},8)}return Kt}();function ot(Kt,St,Mt){if(Mt||(Mt=St,St={}),typeof Mt!="function")throw"no callback";return ne(Kt,St,[pe,We,function(){return[wt]}],function(Zt){return Z(wt(Zt.data[0],Zt.data[1]))},2,Mt)}function wt(Kt,St){St===void 0&&(St={});var Mt=se(),Zt=Kt.length;Mt.p(Kt);var kr=ge(Kt,St,Oe(St),8),Hr=kr.length;return Pe(kr,St),xe(kr,Hr-8,Mt.d()),xe(kr,Hr-4,Zt),kr}var rt=function(){function Kt(St){this.v=1,Ge.call(this,St)}return Kt.prototype.push=function(St,Mt){if(Ge.prototype.e.call(this,St),this.v){var Zt=tt(this.p);if(Zt>=this.p.length&&!Mt)return;this.p=this.p.subarray(Zt),this.v=0}if(Mt){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}Ge.prototype.c.call(this,Mt)},Kt}(),It=function(){function Kt(St){this.ondata=St,Ne([G,te,function(){return[Ae,Ge,rt]}],this,0,function(){var Mt=new rt;onmessage=Ae(Mt)},9)}return Kt}();function Gt(Kt,St,Mt){if(Mt||(Mt=St,St={}),typeof Mt!="function")throw"no callback";return ne(Kt,St,[G,te,function(){return[lr]}],function(Zt){return Z(lr(Zt.data[0]))},3,Mt)}function lr(Kt,St){return B(Kt.subarray(tt(Kt),-8),St||new b(Je(Kt)))}var pr=function(){function Kt(St,Mt){this.c=$(),this.v=1,bt.call(this,St,Mt)}return Kt.prototype.push=function(St,Mt){bt.prototype.push.call(this,St,Mt)},Kt.prototype.p=function(St,Mt){this.c.p(St);var Zt=ge(St,this.o,this.v&&2,Mt&&4,!Mt);this.v&&(pt(Zt,this.o),this.v=0),Mt&&xe(Zt,Zt.length-4,this.c.d()),this.ondata(Zt,Mt)},Kt}(),Rr=function(){function Kt(St,Mt){Ne([pe,X,function(){return[Ae,bt,pr]}],this,nt.call(this,St,Mt),function(Zt){var kr=new pr(Zt.data);onmessage=Ae(kr)},10)}return Kt}();function xt(Kt,St,Mt){if(Mt||(Mt=St,St={}),typeof Mt!="function")throw"no callback";return ne(Kt,St,[pe,X,function(){return[Ot]}],function(Zt){return Z(Ot(Zt.data[0],Zt.data[1]))},4,Mt)}function Ot(Kt,St){St===void 0&&(St={});var Mt=$();Mt.p(Kt);var Zt=ge(Kt,St,2,4);return pt(Zt,St),xe(Zt,Zt.length-4,Mt.d()),Zt}var At=function(){function Kt(St){this.v=1,Ge.call(this,St)}return Kt.prototype.push=function(St,Mt){if(Ge.prototype.e.call(this,St),this.v){if(this.p.length<2&&!Mt)return;this.p=this.p.subarray(2),this.v=0}if(Mt){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}Ge.prototype.c.call(this,Mt)},Kt}(),Jt=function(){function Kt(St){this.ondata=St,Ne([G,z,function(){return[Ae,Ge,At]}],this,0,function(){var Mt=new At;onmessage=Ae(Mt)},11)}return Kt}();function br(Kt,St,Mt){if(Mt||(Mt=St,St={}),typeof Mt!="function")throw"no callback";return ne(Kt,St,[G,z,function(){return[Lr]}],function(Zt){return Z(Lr(Zt.data[0],be(Zt.data[1])))},5,Mt)}function Lr(Kt,St){return B((Qe(Kt),Kt.subarray(2,-4)),St)}var Zr=function(){function Kt(St){this.G=rt,this.I=Ge,this.Z=At,this.ondata=St}return Kt.prototype.push=function(St,Mt){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(St,Mt);else{if(this.p&&this.p.length){var Zt=new b(this.p.length+St.length);Zt.set(this.p),Zt.set(St,this.p.length)}else this.p=St;if(this.p.length>2){var kr=this,Hr=function(){kr.ondata.apply(kr,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,Mt),this.p=null}}},Kt}(),In=function(){function Kt(St){this.G=It,this.I=ie,this.Z=Jt,this.ondata=St}return Kt.prototype.push=function(St,Mt){Zr.prototype.push.call(this,St,Mt)},Kt}();function Gr(Kt,St,Mt){if(Mt||(Mt=St,St={}),typeof Mt!="function")throw"no callback";return Kt[0]==31&&Kt[1]==139&&Kt[2]==8?Gt(Kt,St,Mt):(Kt[0]&15)!=8||Kt[0]>>4>7||(Kt[0]<<8|Kt[1])%31?Y(Kt,St,Mt):br(Kt,St,Mt)}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?we(Kt,St):Lr(Kt,St)}var fr=function Kt(St,Mt,Zt,kr){for(var Hr in St){var $r=St[Hr],Bt=Mt+Hr;$r instanceof b?Zt[Bt]=[$r,kr]:Array.isArray($r)?Zt[Bt]=[$r[0],he(kr,$r[1])]:Kt($r,Bt+"/",Zt,kr)}};function vt(Kt,St){var Mt=Kt.length;if(!St&&typeof TextEncoder!="undefined")return new TextEncoder().encode(Kt);for(var Zt=new b(Kt.length+(Kt.length>>>1)),kr=0,Hr=function(Br){Zt[kr++]=Br},$r=0;$r<Mt;++$r){if(kr+5>Zt.length){var Bt=new b(kr+8+(Mt-$r<<1));Bt.set(Zt),Zt=Bt}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 D(Zt,0,kr)}function ft(Kt,St){var Mt="";if(!St&&typeof TextDecoder!="undefined")return new TextDecoder().decode(Kt);for(var Zt=0;Zt<Kt.length;){var kr=Kt[Zt++];kr<128||St?Mt+=String.fromCharCode(kr):kr<224?Mt+=String.fromCharCode((kr&31)<<6|Kt[Zt++]&63):kr<240?Mt+=String.fromCharCode((kr&15)<<12|(Kt[Zt++]&63)<<6|Kt[Zt++]&63):(kr=((kr&15)<<18|(Kt[Zt++]&63)<<12|(Kt[Zt++]&63)<<6|Kt[Zt++]&63)-65536,Mt+=String.fromCharCode(55296|kr>>10,56320|kr&1023))}return Mt}var De=function(St,Mt){return Mt+30+oe(St,Mt+26)+oe(St,Mt+28)},je=function(St,Mt,Zt){var kr=oe(St,Mt+28),Hr=ft(St.subarray(Mt+46,Mt+46+kr),!(oe(St,Mt+8)&2048)),$r=Mt+46+kr,Bt=Zt?Ye(St,$r):[de(St,Mt+20),de(St,Mt+24),de(St,Mt+42)],cr=Bt[0],Cr=Bt[1],Br=Bt[2];return[oe(St,Mt+10),cr,Cr,Hr,$r+oe(St,Mt+30)+oe(St,Mt+32),Br]},Ye=function(St,Mt){for(;oe(St,Mt)!=1;Mt+=4+oe(St,Mt+2));return[de(St,Mt+12),de(St,Mt+4),de(St,Mt+20)]},st=function(St,Mt,Zt,kr,Hr,$r,Bt,cr,Cr,Br){var zr=$r.length,An=kr.length;xe(St,Mt,Cr!=null?33639248:67324752),Mt+=4,Cr!=null&&(St[Mt]=20,Mt+=2),St[Mt]=20,Mt+=2,St[Mt++]=Br==8&&(cr.level==1?6:cr.level<6?4:cr.level==9?2:0),St[Mt++]=Bt&&8,St[Mt]=Br,Mt+=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";xe(St,Mt,(Sn<<24)*2|bn.getMonth()+1<<21|bn.getDate()<<16|bn.getHours()<<11|bn.getMinutes()<<5|bn.getSeconds()>>>1),Mt+=4,xe(St,Mt,Zt),xe(St,Mt+4,An),xe(St,Mt+8,Hr),xe(St,Mt+12,zr),Mt+=16,Cr!=null&&(xe(St,Mt+=10,Cr),Mt+=4),St.set($r,Mt),Mt+=zr,Cr==null&&St.set(kr,Mt)},kt=function(St,Mt,Zt,kr,Hr){xe(St,Mt,101010256),xe(St,Mt+8,Zt),xe(St,Mt+10,Zt),xe(St,Mt+12,kr),xe(St,Mt+16,Hr)};function $t(Kt,St,Mt){if(Mt||(Mt=St,St={}),typeof Mt!="function")throw"no callback";var Zt={};fr(Kt,"",Zt,St);var kr=Object.keys(Zt),Hr=kr.length,$r=0,Bt=0,cr=Hr,Cr=new Array(Hr),Br=[],zr=function(){for(var ei=0;ei<Br.length;++ei)Br[ei]()},An=function(){var ei=new b(Bt+22),Zn=$r,ai=Bt-$r;Bt=0;for(var ii=0;ii<cr;++ii){var $e=Cr[ii];try{st(ei,Bt,$e.c,$e.d,$e.m,$e.n,$e.u,$e.p,null,$e.t),st(ei,$r,$e.c,$e.d,$e.m,$e.n,$e.u,$e.p,Bt,$e.t),$r+=46+$e.n.length,Bt+=30+$e.n.length+$e.d.length}catch(Te){return Mt(Te,null)}}kt(ei,$r,Cr.length,ai,Zn),Mt(null,ei)};Hr||An();for(var bn=function(ei){var Zn=kr[ei],ai=Zt[Zn],ii=ai[0],$e=ai[1],Te=se(),ke=ii.length;Te.p(ii);var Me=vt(Zn),Ze=Me.length,Xe=$e.level==0?0:8,qe=function(ht,Vt){if(ht)zr(),Mt(ht,null);else{var dr=Vt.length;Cr[ei]={t:Xe,d:Vt,m:ke,c:Te.d(),u:Zn.length!=dr,n:Me,p:$e},$r+=30+Ze+dr,Bt+=76+2*Ze+dr,--Hr||An()}};if(Me.length>65535&&qe("filename too long",null),!Xe)qe(null,ii);else if(ke<16e4)try{qe(null,Nt(ii,$e))}catch(mt){qe(mt,null)}else Br.push(Ct(ii,$e,qe))},Sn=0;Sn<cr;++Sn)bn(Sn);return zr}function Nr(Kt,St){St===void 0&&(St={});var Mt={},Zt=[];fr(Kt,"",Mt,St);var kr=0,Hr=0;for(var $r in Mt){var Bt=Mt[$r],cr=Bt[0],Cr=Bt[1],Br=Cr.level==0?0:8,zr=vt($r),An=zr.length;if(zr.length>65535)throw"filename too long";var bn=Br?Nt(cr,Cr):cr,Sn=bn.length,Mn=se();Mn.p(cr),Zt.push({t:Br,d:bn,m:cr.length,c:Mn.d(),u:$r.length!=An,n:zr,o:kr,p:Cr}),kr+=30+An+Sn,Hr+=76+2*An+Sn}for(var ei=new b(Hr+22),Zn=kr,ai=Hr-kr,ii=0;ii<Zt.length;++ii){var $e=Zt[ii];st(ei,$e.o,$e.c,$e.d,$e.m,$e.n,$e.u,$e.p,null,$e.t),st(ei,kr,$e.c,$e.d,$e.m,$e.n,$e.u,$e.p,$e.o,$e.t),kr+=46+$e.n.length}return kt(ei,kr,Zt.length,ai,Zn),ei}function yn(Kt,St){if(typeof St!="function")throw"no callback";for(var Mt=[],Zt=function(){for(var bn=0;bn<Mt.length;++bn)Mt[bn]()},kr={},Hr=Kt.length-22;de(Kt,Hr)!=101010256;--Hr)if(!Hr||Kt.length-Hr>65558){St("invalid zip file",null);return}var $r=oe(Kt,Hr+8);$r||St(null,{});var Bt=$r,cr=de(Kt,Hr+16),Cr=cr==4294967295;if(Cr){if(Hr=de(Kt,Hr-12),de(Kt,Hr)!=101075792)throw"invalid zip file";Bt=$r=de(Kt,Hr+32),cr=de(Kt,Hr+48)}for(var Br=function(bn){var Sn=je(Kt,cr,Cr),Mn=Sn[0],ei=Sn[1],Zn=Sn[2],ai=Sn[3],ii=Sn[4],$e=Sn[5],Te=De(Kt,$e);cr=ii;var ke=function(Xe,qe){Xe?(Zt(),St(Xe,null)):(kr[ai]=qe,--$r||St(null,kr))};if(!Mn)ke(null,D(Kt,Te,Te+ei));else if(Mn==8){var Me=Kt.subarray(Te,Te+ei);if(ei<32e4)try{ke(null,we(Me,new b(Zn)))}catch(Ze){ke(Ze,null)}else Mt.push(Y(Me,{size:Zn},ke))}else ke("unknown compression type "+Mn,null)},zr=0;zr<Bt;++zr)Br(zr);return Zt}function un(Kt){for(var St={},Mt=Kt.length-22;de(Kt,Mt)!=101010256;--Mt)if(!Mt||Kt.length-Mt>65558)throw"invalid zip file";var Zt=oe(Kt,Mt+8);if(!Zt)return{};var kr=de(Kt,Mt+16),Hr=kr==4294967295;if(Hr){if(Mt=de(Kt,Mt-12),de(Kt,Mt)!=101075792)throw"invalid zip file";Zt=de(Kt,Mt+32),kr=de(Kt,Mt+48)}for(var $r=0;$r<Zt;++$r){var Bt=je(Kt,kr,Hr),cr=Bt[0],Cr=Bt[1],Br=Bt[2],zr=Bt[3],An=Bt[4],bn=Bt[5],Sn=De(Kt,bn);if(kr=An,!cr)St[zr]=D(Kt,Sn,Sn+Cr);else if(cr==8)St[zr]=we(Kt.subarray(Sn,Sn+Cr),new b(Br));else throw"unknown compression type "+cr}return St}},cxXD:function(M,P,d){},"d+VM":function(M,P,d){"use strict";var w=d("rePB"),A=d("ODXe"),b=d("wx14"),m=d("q1tI"),v=d("U8pU"),p=d("VTBJ"),s=d("Ff2n"),u=d("uciX"),o={adjustX:1,adjustY:1},e=[0,0],r={left:{points:["cr","cl"],overflow:o,offset:[-4,0],targetOffset:e},right:{points:["cl","cr"],overflow:o,offset:[4,0],targetOffset:e},top:{points:["bc","tc"],overflow:o,offset:[0,-4],targetOffset:e},bottom:{points:["tc","bc"],overflow:o,offset:[0,4],targetOffset:e},topLeft:{points:["bl","tl"],overflow:o,offset:[0,-4],targetOffset:e},leftTop:{points:["tr","tl"],overflow:o,offset:[-4,0],targetOffset:e},topRight:{points:["br","tr"],overflow:o,offset:[0,-4],targetOffset:e},rightTop:{points:["tl","tr"],overflow:o,offset:[4,0],targetOffset:e},bottomRight:{points:["tr","br"],overflow:o,offset:[0,4],targetOffset:e},rightBottom:{points:["bl","br"],overflow:o,offset:[4,0],targetOffset:e},bottomLeft:{points:["tl","bl"],overflow:o,offset:[0,4],targetOffset:e},leftBottom:{points:["br","bl"],overflow:o,offset:[-4,0],targetOffset:e}},i=r,n=function(H){var K=H.overlay,U=H.prefixCls,Q=H.id,V=H.overlayInnerStyle;return m.createElement("div",{className:"".concat(U,"-inner"),id:Q,role:"tooltip",style:V},typeof K=="function"?K():K)},l=n,t=function(H,K){var U=H.overlayClassName,Q=H.trigger,V=Q===void 0?["hover"]:Q,J=H.mouseEnterDelay,ae=J===void 0?0:J,se=H.mouseLeaveDelay,$=se===void 0?.1:se,ge=H.overlayStyle,he=H.prefixCls,Ie=he===void 0?"rc-tooltip":he,Se=H.children,Le=H.onVisibleChange,He=H.afterVisibleChange,G=H.transitionName,pe=H.animation,We=H.motion,te=H.placement,X=te===void 0?"right":te,z=H.align,Z=z===void 0?{}:z,be=H.destroyTooltipOnHide,ne=be===void 0?!1:be,Ae=H.defaultVisible,Ne=H.getTooltipContainer,oe=H.overlayInnerStyle,de=Object(s.a)(H,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),xe=Object(m.useRef)(null);Object(m.useImperativeHandle)(K,function(){return xe.current});var Pe=Object(p.a)({},de);"visible"in H&&(Pe.popupVisible=H.visible);var tt=function(){var nt=H.arrowContent,bt=nt===void 0?null:nt,Tt=H.overlay,Ct=H.id;return[m.createElement("div",{className:"".concat(Ie,"-arrow"),key:"arrow"},bt),m.createElement(l,{key:"content",prefixCls:Ie,id:Ct,overlay:Tt,overlayInnerStyle:oe})]},Je=!1,Oe=!1;if(typeof ne=="boolean")Je=ne;else if(ne&&Object(v.a)(ne)==="object"){var pt=ne.keepParent;Je=pt===!0,Oe=pt===!1}return m.createElement(u.a,Object(b.a)({popupClassName:U,prefixCls:Ie,popup:tt,action:V,builtinPlacements:r,popupPlacement:X,ref:xe,popupAlign:Z,getPopupContainer:Ne,onPopupVisibleChange:Le,afterPopupVisibleChange:He,popupTransitionName:G,popupAnimation:pe,popupMotion:We,defaultPopupVisible:Ae,destroyPopupOnHide:Je,autoDestroy:Oe,mouseLeaveDelay:$,popupStyle:ge,mouseEnterDelay:ae},Pe),Se)},a=Object(m.forwardRef)(t),c=a,h=d("6cGi"),f=d("TSYQ"),g=d.n(f),S={adjustX:1,adjustY:1},y={adjustX:0,adjustY:0},E=[0,0];function C(j){return typeof j=="boolean"?j?S:y:Object(b.a)(Object(b.a)({},y),j)}function T(j){var H=j.arrowWidth,K=H===void 0?4:H,U=j.horizontalArrowShift,Q=U===void 0?16:U,V=j.verticalArrowShift,J=V===void 0?8:V,ae=j.autoAdjustOverflow,se={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:[-(Q+K),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(J+K)]},topRight:{points:["br","tc"],offset:[Q+K,-4]},rightTop:{points:["tl","cr"],offset:[4,-(J+K)]},bottomRight:{points:["tr","bc"],offset:[Q+K,4]},rightBottom:{points:["bl","cr"],offset:[4,J+K]},bottomLeft:{points:["tl","bc"],offset:[-(Q+K),4]},leftBottom:{points:["br","cl"],offset:[-4,J+K]}};return Object.keys(se).forEach(function($){se[$]=j.arrowPointAtCenter?Object(b.a)(Object(b.a)({},se[$]),{overflow:C(ae),targetOffset:E}):Object(b.a)(Object(b.a)({},r[$]),{overflow:C(ae)}),se[$].ignoreShake=!0}),se}var x=d("kLeg"),_=d("9R2V"),I=d("At67"),L=d("MZCN"),D=function(j,H){var K={};for(var U in j)Object.prototype.hasOwnProperty.call(j,U)&&H.indexOf(U)<0&&(K[U]=j[U]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,U=Object.getOwnPropertySymbols(j);Q<U.length;Q++)H.indexOf(U[Q])<0&&Object.prototype.propertyIsEnumerable.call(j,U[Q])&&(K[U[Q]]=j[U[Q]]);return K},B=function(H,K){var U={},Q=Object(b.a)({},H);return K.forEach(function(V){H&&V in H&&(U[V]=H[V],delete Q[V])}),{picked:U,omitted:Q}},N=new RegExp("^(".concat(I.a.join("|"),")(-inverse)?$"));function k(j,H){var K=j.type;if((K.__ANT_BUTTON===!0||K.__ANT_SWITCH===!0||K.__ANT_CHECKBOX===!0||j.type==="button")&&j.props.disabled){var U=B(j.props.style,["position","left","right","top","bottom","float","display","zIndex"]),Q=U.picked,V=U.omitted,J=Object(b.a)(Object(b.a)({display:"inline-block"},Q),{cursor:"not-allowed",width:j.props.block?"100%":null}),ae=Object(b.a)(Object(b.a)({},V),{pointerEvents:"none"}),se=Object(x.a)(j,{style:ae,className:null});return m.createElement("span",{style:J,className:g()(j.props.className,"".concat(H,"-disabled-compatible-wrapper"))},se)}return j}var W=m.forwardRef(function(j,H){var K,U=m.useContext(_.b),Q=U.getPopupContainer,V=U.getPrefixCls,J=U.direction,ae=Object(h.a)(!1,{value:j.visible,defaultValue:j.defaultVisible}),se=Object(A.a)(ae,2),$=se[0],ge=se[1],he=function(){var Qe=j.title,nt=j.overlay;return!Qe&&!nt&&Qe!==0},Ie=function(Qe){var nt;ge(he()?!1:Qe),he()||((nt=j.onVisibleChange)===null||nt===void 0||nt.call(j,Qe))},Se=function(){var Qe=j.builtinPlacements,nt=j.arrowPointAtCenter,bt=j.autoAdjustOverflow;return Qe||T({arrowPointAtCenter:nt,autoAdjustOverflow:bt})},Le=function(Qe,nt){var bt=Se(),Tt=Object.keys(bt).filter(function(Ge){return bt[Ge].points[0]===nt.points[0]&&bt[Ge].points[1]===nt.points[1]})[0];if(!Tt)return;var Ct=Qe.getBoundingClientRect(),Nt={top:"50%",left:"50%"};Tt.indexOf("top")>=0||Tt.indexOf("Bottom")>=0?Nt.top="".concat(Ct.height-nt.offset[1],"px"):(Tt.indexOf("Top")>=0||Tt.indexOf("bottom")>=0)&&(Nt.top="".concat(-nt.offset[1],"px")),Tt.indexOf("left")>=0||Tt.indexOf("Right")>=0?Nt.left="".concat(Ct.width-nt.offset[0],"px"):(Tt.indexOf("right")>=0||Tt.indexOf("Left")>=0)&&(Nt.left="".concat(-nt.offset[0],"px")),Qe.style.transformOrigin="".concat(Nt.left," ").concat(Nt.top)},He=function(){var Qe=j.title,nt=j.overlay;return Qe===0?Qe:nt||Qe||""},G=j.getPopupContainer,pe=D(j,["getPopupContainer"]),We=j.prefixCls,te=j.openClassName,X=j.getTooltipContainer,z=j.overlayClassName,Z=j.color,be=j.overlayInnerStyle,ne=j.children,Ae=V("tooltip",We),Ne=V(),oe=$;!("visible"in j)&&he()&&(oe=!1);var de=k(Object(x.b)(ne)?ne:m.createElement("span",null,ne),Ae),xe=de.props,Pe=g()(xe.className,Object(w.a)({},te||"".concat(Ae,"-open"),!0)),tt=g()(z,(K={},Object(w.a)(K,"".concat(Ae,"-rtl"),J==="rtl"),Object(w.a)(K,"".concat(Ae,"-").concat(Z),Z&&N.test(Z)),K)),Je=be,Oe;return Z&&!N.test(Z)&&(Je=Object(b.a)(Object(b.a)({},be),{background:Z}),Oe={background:Z}),m.createElement(c,Object(b.a)({},pe,{prefixCls:Ae,overlayClassName:tt,getTooltipContainer:G||X||Q,ref:H,builtinPlacements:Se(),overlay:He(),visible:oe,onVisibleChange:Ie,onPopupAlign:Le,overlayInnerStyle:Je,arrowContent:m.createElement("span",{className:"".concat(Ae,"-arrow-content"),style:Oe}),motion:{motionName:Object(L.b)(Ne,"zoom-big-fast",j.transitionName),motionDeadline:1e3}}),oe?Object(x.a)(de,{className:Pe}):de)});W.displayName="Tooltip",W.defaultProps={placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var R=P.a=W},d4KN:function(M,P,d){var w=d("ProS"),A=d("bYtY");function b(m,v){A.each(v,function(p){p.update="updateView",w.registerAction(p,function(s,u){var o={};return u.eachComponent({mainType:"series",subType:m,query:s},function(e){e[p.method]&&e[p.method](s.name,s.dataIndex);var r=e.getData();r.each(function(i){var n=r.getName(i);o[n]=e.isSelected(n)||!1})}),{name:s.name,selected:o,seriesId:s.seriesId}})})}M.exports=b},dBmv:function(M,P,d){var w=d("ProS"),A=d("szbU");d("vF/C"),d("qwVE"),d("MHoB"),d("PNag"),d("1u/T"),w.registerPreprocessor(A)},"dF/Y":function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="DownloadOutlined";var s=P.a=A.forwardRef(p)},dMvE:function(M,P){var d={linear:function(b){return b},quadraticIn:function(b){return b*b},quadraticOut:function(b){return b*(2-b)},quadraticInOut:function(b){return(b*=2)<1?.5*b*b:-.5*(--b*(b-2)-1)},cubicIn:function(b){return b*b*b},cubicOut:function(b){return--b*b*b+1},cubicInOut:function(b){return(b*=2)<1?.5*b*b*b:.5*((b-=2)*b*b+2)},quarticIn:function(b){return b*b*b*b},quarticOut:function(b){return 1- --b*b*b*b},quarticInOut:function(b){return(b*=2)<1?.5*b*b*b*b:-.5*((b-=2)*b*b*b-2)},quinticIn:function(b){return b*b*b*b*b},quinticOut:function(b){return--b*b*b*b*b+1},quinticInOut:function(b){return(b*=2)<1?.5*b*b*b*b*b:.5*((b-=2)*b*b*b*b+2)},sinusoidalIn:function(b){return 1-Math.cos(b*Math.PI/2)},sinusoidalOut:function(b){return Math.sin(b*Math.PI/2)},sinusoidalInOut:function(b){return .5*(1-Math.cos(Math.PI*b))},exponentialIn:function(b){return b===0?0:Math.pow(1024,b-1)},exponentialOut:function(b){return b===1?1:1-Math.pow(2,-10*b)},exponentialInOut:function(b){return b===0?0:b===1?1:(b*=2)<1?.5*Math.pow(1024,b-1):.5*(-Math.pow(2,-10*(b-1))+2)},circularIn:function(b){return 1-Math.sqrt(1-b*b)},circularOut:function(b){return Math.sqrt(1- --b*b)},circularInOut:function(b){return(b*=2)<1?-.5*(Math.sqrt(1-b*b)-1):.5*(Math.sqrt(1-(b-=2)*b)+1)},elasticIn:function(b){var m,v=.1,p=.4;return b===0?0:b===1?1:(!v||v<1?(v=1,m=p/4):m=p*Math.asin(1/v)/(2*Math.PI),-(v*Math.pow(2,10*(b-=1))*Math.sin((b-m)*(2*Math.PI)/p)))},elasticOut:function(b){var m,v=.1,p=.4;return b===0?0:b===1?1:(!v||v<1?(v=1,m=p/4):m=p*Math.asin(1/v)/(2*Math.PI),v*Math.pow(2,-10*b)*Math.sin((b-m)*(2*Math.PI)/p)+1)},elasticInOut:function(b){var m,v=.1,p=.4;return b===0?0:b===1?1:(!v||v<1?(v=1,m=p/4):m=p*Math.asin(1/v)/(2*Math.PI),(b*=2)<1?-.5*(v*Math.pow(2,10*(b-=1))*Math.sin((b-m)*(2*Math.PI)/p)):v*Math.pow(2,-10*(b-=1))*Math.sin((b-m)*(2*Math.PI)/p)*.5+1)},backIn:function(b){var m=1.70158;return b*b*((m+1)*b-m)},backOut:function(b){var m=1.70158;return--b*b*((m+1)*b+m)+1},backInOut:function(b){var m=1.70158*1.525;return(b*=2)<1?.5*(b*b*((m+1)*b-m)):.5*((b-=2)*b*((m+1)*b+m)+2)},bounceIn:function(b){return 1-d.bounceOut(1-b)},bounceOut:function(b){return b<1/2.75?7.5625*b*b:b<2/2.75?7.5625*(b-=1.5/2.75)*b+.75:b<2.5/2.75?7.5625*(b-=2.25/2.75)*b+.9375:7.5625*(b-=2.625/2.75)*b+.984375},bounceInOut:function(b){return b<.5?d.bounceIn(b*2)*.5:d.bounceOut(b*2-1)*.5+.5}},w=d;M.exports=w},dmGj:function(M,P,d){var w=d("DEFe"),A=d("ProS"),b=A.extendComponentView({type:"geo",init:function(m,v){var p=new w(v,!0);this._mapDraw=p,this.group.add(p.group)},render:function(m,v,p,s){if(s&&s.type==="geoToggleSelect"&&s.from===this.uid)return;var u=this._mapDraw;m.get("show")?u.draw(m,v,p,this,s):this._mapDraw.group.removeAll(),this.group.silent=m.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});M.exports=b},dnwI:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("YH21"),m=d("Kagy"),v=d("IUWy"),p=m.toolbox.dataView,s=new Array(60).join("-"),u=" ";function o(y){var E={},C=[],T=[];return y.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(y){var E=[];return A.each(y,function(C,T){var x=C.categoryAxis,_=C.valueAxis,I=_.dim,L=[" "].concat(A.map(C.series,function(R){return R.name})),D=[x.model.getCategories()];A.each(C.series,function(R){D.push(R.getRawData().mapArray(I,function(j){return j}))});for(var B=[L.join(u)],N=0;N<D[0].length;N++){for(var k=[],W=0;W<D.length;W++)k.push(D[W][N]);B.push(k.join(u))}E.push(B.join(`
|
|
|
`))}),E.join(`
|
|
|
|
|
|
`+s+`
|
|
|
|
|
|
`)}function r(y){return A.map(y,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),D=0;D<_-1;D++)x[D]=arguments[D];T.push((L?L+u:"")+x.join(u))}),T.join(`
|
|
|
`)}).join(`
|
|
|
|
|
|
`+s+`
|
|
|
|
|
|
`)}function i(y){var E=o(y);return{value:A.filter([e(E.seriesGroupByCategoryAxis),r(E.other)],function(C){return C.replace(/[\n\t\s]/g,"")}).join(`
|
|
|
|
|
|
`+s+`
|
|
|
|
|
|
`),meta:E.meta}}function n(y){return y.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(y){var E=y.slice(0,y.indexOf(`
|
|
|
`));if(E.indexOf(u)>=0)return!0}var t=new RegExp("["+u+"]+","g");function a(y){for(var E=y.split(/\n+/g),C=n(E.shift()).split(t),T=[],x=A.map(C,function(D){return{name:D,data:[]}}),_=0;_<E.length;_++){var I=n(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 c(y){for(var E=y.split(/\n+/g),C=n(E.shift()),T=[],x=0;x<E.length;x++){var _=n(E[x]).split(t),I="",L,D=!1;isNaN(_[0])?(D=!0,I=_[0],_=_.slice(1),T[x]={name:I,value:[]},L=T[x].value):L=T[x]=[];for(var B=0;B<_.length;B++)L.push(+_[B]);L.length===1&&(D?T[x].value=L[0]:T[x]=L[0])}return{name:C,data:T}}function h(y,E){var C=y.split(new RegExp(`
|
|
|
*`+s+`
|
|
|
*`,"g")),T={series:[]};return A.each(C,function(x,_){if(l(x)){var I=a(x),L=E[_],D=L.axisDim+"Axis";L&&(T[D]=T[D]||[],T[D][L.axisIndex]={data:I.categories},T.series=T.series.concat(I.series))}else{var I=c(x);T.series.push(I)}}),T}function f(y){this._dom=null,this.model=y}f.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:A.clone(p.title),lang:A.clone(p.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},f.prototype.onclick=function(y,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"),D=document.createElement("textarea");L.style.cssText="display:block;width:100%;overflow:auto;";var B=T.get("optionToContent"),N=T.get("contentToOption"),k=i(y);if(typeof B=="function"){var W=B(E.getOption());typeof W=="string"?L.innerHTML=W:A.isDom(W)&&L.appendChild(W)}else L.appendChild(D),D.readOnly=T.get("readOnly"),D.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",D.style.color=T.get("textColor"),D.style.borderColor=T.get("textareaBorderColor"),D.style.backgroundColor=T.get("textareaColor"),D.value=k.value;var R=k.meta,j=document.createElement("div");j.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",K=document.createElement("div"),U=document.createElement("div");H+=";background-color:"+T.get("buttonColor"),H+=";color:"+T.get("buttonTextColor");var Q=this;function V(){C.removeChild(x),Q._dom=null}b.addEventListener(K,"click",V),b.addEventListener(U,"click",function(){var J;try{typeof N=="function"?J=N(L,E.getOption()):J=h(D.value,R)}catch(ae){throw V(),new Error("Data view format error "+ae)}J&&E.dispatchAction({type:"changeDataView",newOption:J}),V()}),K.innerHTML=I[1],U.innerHTML=I[2],U.style.cssText=H,K.style.cssText=H,!T.get("readOnly")&&j.appendChild(U),j.appendChild(K),x.appendChild(_),x.appendChild(L),x.appendChild(j),L.style.height=C.clientHeight-80+"px",C.appendChild(x),this._dom=x},f.prototype.remove=function(y,E){this._dom&&E.getDom().removeChild(this._dom)},f.prototype.dispose=function(y,E){this.remove(y,E)};function g(y,E){return A.map(y,function(C,T){var x=E&&E[T];return A.isObject(x)&&!A.isArray(x)?(A.isObject(C)&&!A.isArray(C)&&(C=C.value),A.defaults({value:C},x)):C})}v.register("dataView",f),w.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(y,E){var C=[];A.each(y.newOption.series,function(T){var x=E.getSeriesByName(T.name)[0];if(!x)C.push(A.extend({type:"scatter"},T));else{var _=x.get("data");C.push({name:T.name,data:g(T.data,_)})}}),E.mergeOption(A.defaults({series:C},y.newOption))});var S=f;M.exports=S},dqUG:function(M,P,d){var w=d("Gev7"),A=d("bYtY"),b=d("6GrX"),m=d("pzxd"),v=d("gut8"),p=v.ContextCachedBy,s=function(e){w.call(this,e)};s.prototype={constructor:s,type:"text",brush:function(e,r){var i=this.style;this.__dirty&&m.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var n=i.text;if(n!=null&&(n+=""),!m.needDrawText(n,i)){e.__attrCachedBy=p.NONE;return}this.setTransform(e),m.renderText(this,e,n,i,null,r),this.restoreTransform(e)},getBoundingRect:function(){var e=this.style;if(this.__dirty&&m.normalizeTextStyle(e,!0),!this._rect){var r=e.text;r!=null?r+="":r="";var i=b.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 n=e.textStrokeWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect}},A.inherits(s,w);var u=s;M.exports=u},dt0z:function(M,P,d){var w=d("zoYe");function A(b){return b==null?"":w(b)}M.exports=A},dtIV:function(M,P,d){"use strict";d.r(P),function(w){d.d(P,"AcroForm",function(){return Ce}),d.d(P,"AcroFormAppearance",function(){return Y}),d.d(P,"AcroFormButton",function(){return nt}),d.d(P,"AcroFormCheckBox",function(){return Nt}),d.d(P,"AcroFormChoiceField",function(){return Je}),d.d(P,"AcroFormComboBox",function(){return pt}),d.d(P,"AcroFormEditBox",function(){return Qe}),d.d(P,"AcroFormListBox",function(){return Oe}),d.d(P,"AcroFormPasswordField",function(){return ie}),d.d(P,"AcroFormPushButton",function(){return bt}),d.d(P,"AcroFormRadioButton",function(){return Tt}),d.d(P,"AcroFormTextField",function(){return Ge}),d.d(P,"GState",function(){return W}),d.d(P,"ShadingPattern",function(){return j}),d.d(P,"TilingPattern",function(){return H}),d.d(P,"jsPDF",function(){return K});var A=d("g5aB"),b=d.n(A),m=d("crp1");/** @license
|
|
|
*
|
|
|
* jsPDF - PDF Document creation from JavaScript
|
|
|
* Version 2.4.0 Built on 2021-09-14T10:30:30.230Z
|
|
|
* CommitID 00000000
|
|
|
*
|
|
|
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
|
* 2015-2021 yWorks GmbH, http://www.yworks.com
|
|
|
* 2015-2021 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
|
|
|
* 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
|
|
|
* 2010 Aaron Spike, https://github.com/acspike
|
|
|
* 2012 Willow Systems Corporation, https://github.com/willowsystems
|
|
|
* 2012 Pablo Hess, https://github.com/pablohess
|
|
|
* 2012 Florian Jenett, https://github.com/fjenett
|
|
|
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
|
|
* 2013 Youssef Beddad, https://github.com/lifof
|
|
|
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
|
|
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
|
|
* 2013 Jeremy Morel, https://github.com/jmorel
|
|
|
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
|
|
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
|
* 2014 James Makes, https://github.com/dollaruw
|
|
|
* 2014 Diego Casorran, https://github.com/diegocr
|
|
|
* 2014 Steven Spungin, https://github.com/Flamenco
|
|
|
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
|
|
*
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
|
* a copy of this software and associated documentation files (the
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|
|
* the following conditions:
|
|
|
*
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
* included in all copies or substantial portions of the Software.
|
|
|
*
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
*
|
|
|
* Contributor(s):
|
|
|
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
|
* kim3er, mfo, alnorth, Flamenco
|
|
|
*/var v=function(){return typeof window!="undefined"?window:typeof w!="undefined"?w:typeof self!="undefined"?self:this}();function p(){v.console&&typeof v.console.log=="function"&&v.console.log.apply(v.console,arguments)}var s={log:p,warn:function(Te){v.console&&(typeof v.console.warn=="function"?v.console.warn.apply(v.console,arguments):p.call(null,arguments))},error:function(Te){v.console&&(typeof v.console.error=="function"?v.console.error.apply(v.console,arguments):p(Te))}};function u($e,Te,ke){var Me=new XMLHttpRequest;Me.open("GET",$e),Me.responseType="blob",Me.onload=function(){n(Me.response,Te,ke)},Me.onerror=function(){s.error("could not download file")},Me.send()}function o($e){var Te=new XMLHttpRequest;Te.open("HEAD",$e,!1);try{Te.send()}catch(ke){}return Te.status>=200&&Te.status<=299}function e($e){try{$e.dispatchEvent(new MouseEvent("click"))}catch(ke){var Te=document.createEvent("MouseEvents");Te.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),$e.dispatchEvent(Te)}}var r,i,n=v.saveAs||((typeof window=="undefined"?"undefined":b()(window))!=="object"||window!==v?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function($e,Te,ke){var Me=v.URL||v.webkitURL,Ze=document.createElement("a");Te=Te||$e.name||"download",Ze.download=Te,Ze.rel="noopener",typeof $e=="string"?(Ze.href=$e,Ze.origin!==location.origin?o(Ze.href)?u($e,Te,ke):e(Ze,Ze.target="_blank"):e(Ze)):(Ze.href=Me.createObjectURL($e),setTimeout(function(){Me.revokeObjectURL(Ze.href)},4e4),setTimeout(function(){e(Ze)},0))}:"msSaveOrOpenBlob"in navigator?function($e,Te,ke){if(Te=Te||$e.name||"download",typeof $e=="string")if(o($e))u($e,Te,ke);else{var Me=document.createElement("a");Me.href=$e,Me.target="_blank",setTimeout(function(){e(Me)})}else navigator.msSaveOrOpenBlob(function(Ze,Xe){return Xe===void 0?Xe={autoBom:!1}:b()(Xe)!=="object"&&(s.warn("Deprecated: Expected third argument to be a object"),Xe={autoBom:!Xe}),Xe.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Ze.type)?new Blob([String.fromCharCode(65279),Ze],{type:Ze.type}):Ze}($e,ke),Te)}:function($e,Te,ke,Me){if((Me=Me||open("","_blank"))&&(Me.document.title=Me.document.body.innerText="downloading..."),typeof $e=="string")return u($e,Te,ke);var Ze=$e.type==="application/octet-stream",Xe=/constructor/i.test(v.HTMLElement)||v.safari,qe=/CriOS\/[\d]+/.test(navigator.userAgent);if((qe||Ze&&Xe)&&(typeof FileReader=="undefined"?"undefined":b()(FileReader))==="object"){var mt=new FileReader;mt.onloadend=function(){var dr=mt.result;dr=qe?dr:dr.replace(/^data:[^;]*;/,"data:attachment/file;"),Me?Me.location.href=dr:location=dr,Me=null},mt.readAsDataURL($e)}else{var ht=v.URL||v.webkitURL,Vt=ht.createObjectURL($e);Me?Me.location=Vt:location.href=Vt,Me=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 l($e){var Te;$e=$e||"",this.ok=!1,$e.charAt(0)=="#"&&($e=$e.substr(1,6)),$e={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"}[$e=($e=$e.replace(/ /g,"")).toLowerCase()]||$e;for(var ke=[{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)]}}],Me=0;Me<ke.length;Me++){var Ze=ke[Me].re,Xe=ke[Me].process,qe=Ze.exec($e);qe&&(Te=Xe(qe),this.r=Te[0],this.g=Te[1],this.b=Te[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 mt=this.r.toString(16),ht=this.g.toString(16),Vt=this.b.toString(16);return mt.length==1&&(mt="0"+mt),ht.length==1&&(ht="0"+ht),Vt.length==1&&(Vt="0"+Vt),"#"+mt+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($e,Te){var ke=$e[0],Me=$e[1],Ze=$e[2],Xe=$e[3];ke=c(ke,Me,Ze,Xe,Te[0],7,-680876936),Xe=c(Xe,ke,Me,Ze,Te[1],12,-389564586),Ze=c(Ze,Xe,ke,Me,Te[2],17,606105819),Me=c(Me,Ze,Xe,ke,Te[3],22,-1044525330),ke=c(ke,Me,Ze,Xe,Te[4],7,-176418897),Xe=c(Xe,ke,Me,Ze,Te[5],12,1200080426),Ze=c(Ze,Xe,ke,Me,Te[6],17,-1473231341),Me=c(Me,Ze,Xe,ke,Te[7],22,-45705983),ke=c(ke,Me,Ze,Xe,Te[8],7,1770035416),Xe=c(Xe,ke,Me,Ze,Te[9],12,-1958414417),Ze=c(Ze,Xe,ke,Me,Te[10],17,-42063),Me=c(Me,Ze,Xe,ke,Te[11],22,-1990404162),ke=c(ke,Me,Ze,Xe,Te[12],7,1804603682),Xe=c(Xe,ke,Me,Ze,Te[13],12,-40341101),Ze=c(Ze,Xe,ke,Me,Te[14],17,-1502002290),ke=h(ke,Me=c(Me,Ze,Xe,ke,Te[15],22,1236535329),Ze,Xe,Te[1],5,-165796510),Xe=h(Xe,ke,Me,Ze,Te[6],9,-1069501632),Ze=h(Ze,Xe,ke,Me,Te[11],14,643717713),Me=h(Me,Ze,Xe,ke,Te[0],20,-373897302),ke=h(ke,Me,Ze,Xe,Te[5],5,-701558691),Xe=h(Xe,ke,Me,Ze,Te[10],9,38016083),Ze=h(Ze,Xe,ke,Me,Te[15],14,-660478335),Me=h(Me,Ze,Xe,ke,Te[4],20,-405537848),ke=h(ke,Me,Ze,Xe,Te[9],5,568446438),Xe=h(Xe,ke,Me,Ze,Te[14],9,-1019803690),Ze=h(Ze,Xe,ke,Me,Te[3],14,-187363961),Me=h(Me,Ze,Xe,ke,Te[8],20,1163531501),ke=h(ke,Me,Ze,Xe,Te[13],5,-1444681467),Xe=h(Xe,ke,Me,Ze,Te[2],9,-51403784),Ze=h(Ze,Xe,ke,Me,Te[7],14,1735328473),ke=f(ke,Me=h(Me,Ze,Xe,ke,Te[12],20,-1926607734),Ze,Xe,Te[5],4,-378558),Xe=f(Xe,ke,Me,Ze,Te[8],11,-2022574463),Ze=f(Ze,Xe,ke,Me,Te[11],16,1839030562),Me=f(Me,Ze,Xe,ke,Te[14],23,-35309556),ke=f(ke,Me,Ze,Xe,Te[1],4,-1530992060),Xe=f(Xe,ke,Me,Ze,Te[4],11,1272893353),Ze=f(Ze,Xe,ke,Me,Te[7],16,-155497632),Me=f(Me,Ze,Xe,ke,Te[10],23,-1094730640),ke=f(ke,Me,Ze,Xe,Te[13],4,681279174),Xe=f(Xe,ke,Me,Ze,Te[0],11,-358537222),Ze=f(Ze,Xe,ke,Me,Te[3],16,-722521979),Me=f(Me,Ze,Xe,ke,Te[6],23,76029189),ke=f(ke,Me,Ze,Xe,Te[9],4,-640364487),Xe=f(Xe,ke,Me,Ze,Te[12],11,-421815835),Ze=f(Ze,Xe,ke,Me,Te[15],16,530742520),ke=g(ke,Me=f(Me,Ze,Xe,ke,Te[2],23,-995338651),Ze,Xe,Te[0],6,-198630844),Xe=g(Xe,ke,Me,Ze,Te[7],10,1126891415),Ze=g(Ze,Xe,ke,Me,Te[14],15,-1416354905),Me=g(Me,Ze,Xe,ke,Te[5],21,-57434055),ke=g(ke,Me,Ze,Xe,Te[12],6,1700485571),Xe=g(Xe,ke,Me,Ze,Te[3],10,-1894986606),Ze=g(Ze,Xe,ke,Me,Te[10],15,-1051523),Me=g(Me,Ze,Xe,ke,Te[1],21,-2054922799),ke=g(ke,Me,Ze,Xe,Te[8],6,1873313359),Xe=g(Xe,ke,Me,Ze,Te[15],10,-30611744),Ze=g(Ze,Xe,ke,Me,Te[6],15,-1560198380),Me=g(Me,Ze,Xe,ke,Te[13],21,1309151649),ke=g(ke,Me,Ze,Xe,Te[4],6,-145523070),Xe=g(Xe,ke,Me,Ze,Te[11],10,-1120210379),Ze=g(Ze,Xe,ke,Me,Te[2],15,718787259),Me=g(Me,Ze,Xe,ke,Te[9],21,-343485551),$e[0]=I(ke,$e[0]),$e[1]=I(Me,$e[1]),$e[2]=I(Ze,$e[2]),$e[3]=I(Xe,$e[3])}function a($e,Te,ke,Me,Ze,Xe){return Te=I(I(Te,$e),I(Me,Xe)),I(Te<<Ze|Te>>>32-Ze,ke)}function c($e,Te,ke,Me,Ze,Xe,qe){return a(Te&ke|~Te&Me,$e,Te,Ze,Xe,qe)}function h($e,Te,ke,Me,Ze,Xe,qe){return a(Te&Me|ke&~Me,$e,Te,Ze,Xe,qe)}function f($e,Te,ke,Me,Ze,Xe,qe){return a(Te^ke^Me,$e,Te,Ze,Xe,qe)}function g($e,Te,ke,Me,Ze,Xe,qe){return a(ke^(Te|~Me),$e,Te,Ze,Xe,qe)}function S($e){var Te,ke=$e.length,Me=[1732584193,-271733879,-1732584194,271733878];for(Te=64;Te<=$e.length;Te+=64)t(Me,y($e.substring(Te-64,Te)));$e=$e.substring(Te-64);var Ze=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(Te=0;Te<$e.length;Te++)Ze[Te>>2]|=$e.charCodeAt(Te)<<(Te%4<<3);if(Ze[Te>>2]|=128<<(Te%4<<3),Te>55)for(t(Me,Ze),Te=0;Te<16;Te++)Ze[Te]=0;return Ze[14]=8*ke,t(Me,Ze),Me}function y($e){var Te,ke=[];for(Te=0;Te<64;Te+=4)ke[Te>>2]=$e.charCodeAt(Te)+($e.charCodeAt(Te+1)<<8)+($e.charCodeAt(Te+2)<<16)+($e.charCodeAt(Te+3)<<24);return ke}r=v.atob.bind(v),i=v.btoa.bind(v);var E="0123456789abcdef".split("");function C($e){for(var Te="",ke=0;ke<4;ke++)Te+=E[$e>>8*ke+4&15]+E[$e>>8*ke&15];return Te}function T($e){return String.fromCharCode((255&$e)>>0,(65280&$e)>>8,(16711680&$e)>>16,(4278190080&$e)>>24)}function x($e){return S($e).map(T).join("")}var _=function($e){for(var Te=0;Te<$e.length;Te++)$e[Te]=C($e[Te]);return $e.join("")}(S("hello"))!="5d41402abc4b2a76b9719d911017c592";function I($e,Te){if(_){var ke=(65535&$e)+(65535&Te);return($e>>16)+(Te>>16)+(ke>>16)<<16|65535&ke}return $e+Te&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($e,Te){var ke,Me,Ze,Xe;if($e!==ke){for(var qe=(Ze=$e,Xe=1+(256/$e.length>>0),new Array(Xe+1).join(Ze)),mt=[],ht=0;ht<256;ht++)mt[ht]=ht;var Vt=0;for(ht=0;ht<256;ht++){var dr=mt[ht];Vt=(Vt+dr+qe.charCodeAt(ht))%256,mt[ht]=mt[Vt],mt[Vt]=dr}ke=$e,Me=mt}else mt=Me;var tr=Te.length,ir=0,_t=0,gr="";for(ht=0;ht<tr;ht++)_t=(_t+(dr=mt[ir=(ir+1)%256]))%256,mt[ir]=mt[_t],mt[_t]=dr,qe=mt[(mt[ir]+mt[_t])%256],gr+=String.fromCharCode(Te.charCodeAt(ht)^qe);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 D={print:4,modify:8,copy:16,"annot-forms":32};function B($e,Te,ke,Me){this.v=1,this.r=2;var Ze=192;$e.forEach(function(mt){if(D.perm!==void 0)throw new Error("Invalid permission: "+mt);Ze+=D[mt]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var Xe=(Te+this.padding).substr(0,32),qe=(ke+this.padding).substr(0,32);this.O=this.processOwnerPassword(Xe,qe),this.P=-(1+(255^Ze)),this.encryptionKey=x(Xe+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(Me)).substr(0,5),this.U=L(this.encryptionKey,this.padding)}function N($e){if(/[^\u0000-\u00ff]/.test($e))throw new Error("Invalid PDF Name Object: "+$e+", Only accept ASCII characters.");for(var Te="",ke=$e.length,Me=0;Me<ke;Me++){var Ze=$e.charCodeAt(Me);Ze<33||Ze===35||Ze===37||Ze===40||Ze===41||Ze===47||Ze===60||Ze===62||Ze===91||Ze===93||Ze===123||Ze===125||Ze>126?Te+="#"+("0"+Ze.toString(16)).slice(-2):Te+=$e[Me]}return Te}function k($e){if(b()($e)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Te={};this.subscribe=function(ke,Me,Ze){if(Ze=Ze||!1,typeof ke!="string"||typeof Me!="function"||typeof Ze!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Te.hasOwnProperty(ke)||(Te[ke]={});var Xe=Math.random().toString(35);return Te[ke][Xe]=[Me,!!Ze],Xe},this.unsubscribe=function(ke){for(var Me in Te)if(Te[Me][ke])return delete Te[Me][ke],Object.keys(Te[Me]).length===0&&delete Te[Me],!0;return!1},this.publish=function(ke){if(Te.hasOwnProperty(ke)){var Me=Array.prototype.slice.call(arguments,1),Ze=[];for(var Xe in Te[ke]){var qe=Te[ke][Xe];try{qe[0].apply($e,Me)}catch(mt){v.console&&s.error("jsPDF PubSub Error",mt.message,mt)}qe[1]&&Ze.push(Xe)}Ze.length&&Ze.forEach(this.unsubscribe)}},this.getTopics=function(){return Te}}function W($e){if(!(this instanceof W))return new W($e);var Te="opacity,stroke-opacity".split(",");for(var ke in $e)$e.hasOwnProperty(ke)&&Te.indexOf(ke)>=0&&(this[ke]=$e[ke]);this.id="",this.objectNumber=-1}function R($e,Te){this.gState=$e,this.matrix=Te,this.id="",this.objectNumber=-1}function j($e,Te,ke,Me,Ze){if(!(this instanceof j))return new j($e,Te,ke,Me,Ze);this.type=$e==="axial"?2:3,this.coords=Te,this.colors=ke,R.call(this,Me,Ze)}function H($e,Te,ke,Me,Ze){if(!(this instanceof H))return new H($e,Te,ke,Me,Ze);this.boundingBox=$e,this.xStep=Te,this.yStep=ke,this.stream="",this.cloneIndex=0,R.call(this,Me,Ze)}function K($e){var Te,ke=typeof arguments[0]=="string"?arguments[0]:"p",Me=arguments[1],Ze=arguments[2],Xe=arguments[3],qe=[],mt=1,ht=16,Vt="S",dr=null;b()($e=$e||{})==="object"&&(ke=$e.orientation,Me=$e.unit||Me,Ze=$e.format||Ze,Xe=$e.compress||$e.compressPdf||Xe,(dr=$e.encryption||null)!==null&&(dr.userPassword=dr.userPassword||"",dr.ownerPassword=dr.ownerPassword||"",dr.userPermissions=dr.userPermissions||[]),mt=typeof $e.userUnit=="number"?Math.abs($e.userUnit):1,$e.precision!==void 0&&(Te=$e.precision),$e.floatPrecision!==void 0&&(ht=$e.floatPrecision),Vt=$e.defaultPathOperation||"S"),qe=$e.filters||(Xe===!0?["FlateEncode"]:qe),Me=Me||"mm",ke=(""+(ke||"P")).toLowerCase();var tr=$e.putOnlyUsedFonts||!1,ir={},_t={internal:{},__private__:{}};_t.__private__.PubSub=k;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]};Ze=Ze||"a4";var sr={COMPAT:"compat",ADVANCED:"advanced"},ln=sr.COMPAT;function _n(){this.saveGraphicsState(),Xr(new Pn(Wt,0,0,-Wt,0,eo()*Wt).toString()+" cm"),this.setFontSize(this.getFontSize()/Wt),Vt="n",ln=sr.ADVANCED}function zn(){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&&zn.call(this)),this},_t.compatAPI=function(yt){var Lt=ln===sr.ADVANCED;return Lt&&zn.call(this),typeof yt!="function"||(yt(this),Lt&&_n.call(this)),this},_t.isAdvancedAPI=function(){return ln===sr.ADVANCED};var Fn,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=Te||Lt;if(isNaN(yt)||isNaN(Pr))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return yt.toFixed(Pr).replace(/0+$/,"")};Fn=_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*Wt: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"&&(Te=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 B(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("")},kn=_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),ce=parseInt(yt.substr(14,2),10);return new Date(Lt,Pr,pn,Rn,dt,ce,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=kn(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,Bn=[],Wn=[],$n=0,Jn=[],vi=[],Pi=!1,Bi=Wn,ja=function(){On=0,$n=0,Wn=[],Bn=[],Jn=[],ma=Mi(),aa=Mi()};_t.__private__.setCustomOutputDestination=function(yt){Pi=!0,Bi=yt};var Qn=function(Lt){Pi||(Bi=Lt)};_t.__private__.resetCustomOutputDestination=function(){Pi=!1,Bi=Wn};var Xr=_t.__private__.out=function(yt){return yt=yt.toString(),$n+=yt.length+1,Bi.push(yt),Bi},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=$e.fontSize||16;_t.__private__.setFontSize=_t.setFontSize=function(yt){return Ui=ln===sr.ADVANCED?yt/Wt:yt,this};var ni,qi=_t.__private__.getFontSize=_t.getFontSize=function(){return ln===sr.COMPAT?Ui:Ui*Wt},Qi=$e.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,Jr=_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 Ke=_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),Ke(Lt),Jr(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,Wt,vr,or,Vr,Kr={},Dr={},dn=[],on={},Cn={},sn={},an={},Yr=null,fn=0,vn=[],Ln=new k(_t),oi=$e.hotfixes||[],si={},Ni={},qn=[],Pn=function yt(Lt,Pr,pn,Rn,dt,ce){if(!(this instanceof yt))return new yt(Lt,Pr,pn,Rn,dt,ce);isNaN(Lt)&&(Lt=1),isNaN(Pr)&&(Pr=0),isNaN(pn)&&(pn=0),isNaN(Rn)&&(Rn=1),isNaN(dt)&&(dt=0),isNaN(ce)&&(ce=0),this._matrix=[Lt,Pr,pn,Rn,dt,ce]};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(Fn).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,ce=yt.tx*this.shy+yt.ty*this.sy+this.ty;return new Pn(Lt,Pr,pn,Rn,dt,ce)},Pn.prototype.decompose=function(){var yt=this.sx,Lt=this.shy,Pr=this.shx,pn=this.sy,Rn=this.tx,dt=this.ty,ce=Math.sqrt(yt*yt+Lt*Lt),ve=(yt/=ce)*Pr+(Lt/=ce)*pn;Pr-=yt*ve,pn-=Lt*ve;var _e=Math.sqrt(Pr*Pr+pn*pn);return ve/=_e,yt*(pn/=_e)<Lt*(Pr/=_e)&&(yt=-yt,Lt=-Lt,ve=-ve,ce=-ce),{scale:new Pn(ce,0,0,_e,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,ve,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,ce=1/(yt*pn-Lt*Pr),ve=pn*ce,_e=-Lt*ce,ze=-Pr*ce,ut=yt*ce;return new Pn(ve,_e,ze,ut,-ve*Rn-ze*dt,-_e*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 ki=_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 j?"Sh":"P")+(Object.keys(on).length+1).toString(10);Pr.id=pn,Cn[Lt]=pn,on[pn]=Pr,Ln.publish("addPattern",Pr)}};_t.ShadingPattern=j,_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=Mi();return fa(yt,!0),yt},Mi=_t.__private__.newObjectDeferred=function(){return On++,Bn[On]=function(){return $n},On},fa=function(Lt,Pr){return Pr=typeof Pr=="boolean"&&Pr,Bn[Lt]=$n,Pr&&Xr(Lt+" 0 obj"),Lt},Wi=_t.__private__.newAdditionalObject=function(){var yt={objId:Mi(),content:""};return Jn.push(yt),yt},ma=Mi(),aa=Mi(),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,ce=yt.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Pr=="string"&&Pr.charAt(0)!=="#"){var ve=new l(Pr);if(ve.ok)Pr=ve.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 _e=parseInt(Pr.substr(1),16);Pr=_e>>16&255,pn=_e>>8&255,Rn=255&_e}if(pn===void 0||dt===void 0&&Pr===pn&&pn===Rn)if(typeof Pr=="string")Lt=Pr+" "+ce[0];else switch(yt.precision){case 2:Lt=mi(Pr/255)+" "+ce[0];break;case 3:default:Lt=rn(Pr/255)+" "+ce[0]}else if(dt===void 0||b()(dt)==="object"){if(dt&&!isNaN(dt.a)&&dt.a===0)return Lt=["1.","1.","1.",ce[1]].join(" ");if(typeof Pr=="string")Lt=[Pr,pn,Rn,ce[1]].join(" ");else switch(yt.precision){case 2:Lt=[mi(Pr/255),mi(pn/255),mi(Rn/255),ce[1]].join(" ");break;default:case 3:Lt=[rn(Pr/255),rn(pn/255),rn(Rn/255),ce[1]].join(" ")}}else if(typeof Pr=="string")Lt=[Pr,pn,Rn,dt,ce[2]].join(" ");else switch(yt.precision){case 2:Lt=[mi(Pr),mi(pn),mi(Rn),mi(dt),ce[2]].join(" ");break;case 3:default:Lt=[rn(Pr),rn(pn),rn(Rn),rn(dt),ce[2]].join(" ")}return Lt},ca=_t.__private__.getFilters=function(){return qe},Ma=_t.__private__.putStream=function(yt){var Lt=(yt=yt||{}).data||"",Pr=yt.filters||ca(),pn=yt.alreadyAppliedFilters||[],Rn=yt.addLength1||!1,dt=Lt.length,ce=yt.objectId,ve=function(Tn){return Tn};if(dr!==null&&ce===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");dr!==null&&(ve=Yi.encryptor(ce,0));var _e={};Pr===!0&&(Pr=["FlateEncode"]);var ze=yt.additionalKeyValues||[],ut=(_e=K.API.processDataByFilters!==void 0?K.API.processDataByFilters(Lt,Pr):{data:Lt,reverseChain:[]}).reverseChain+(Array.isArray(pn)?pn.join(" "):pn.toString());if(_e.data.length!==0&&(ze.push({key:"Length",value:_e.data.length}),Rn===!0&&ze.push({key:"Length1",value:dt})),ut.length!=0)if(ut.split("/").length-1==1)ze.push({key:"Filter",value:ut});else{ze.push({key:"Filter",value:"["+ut+"]"});for(var Pt=0;Pt<ze.length;Pt+=1)if(ze[Pt].key==="DecodeParms"){for(var ar=[],wr=0;wr<_e.reverseChain.split("/").length-1;wr+=1)ar.push("null");ar.push(ze[Pt].value),ze[Pt].value="["+ar.join(" ")+"]"}}Xr("<<");for(var jr=0;jr<ze.length;jr++)Xr("/"+ze[jr].key+" "+ze[jr].value);Xr(">>"),_e.data.length!==0&&(Xr("stream"),Xr(ve(_e.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(Fn(yt.mediaBox.bottomLeftX))+" "+parseFloat(Fn(yt.mediaBox.bottomLeftY))+" "+Fn(yt.mediaBox.topRightX)+" "+Fn(yt.mediaBox.topRightY)+"]"),yt.cropBox!==null&&Xr("/CropBox ["+Fn(yt.cropBox.bottomLeftX)+" "+Fn(yt.cropBox.bottomLeftY)+" "+Fn(yt.cropBox.topRightX)+" "+Fn(yt.cropBox.topRightY)+"]"),yt.bleedBox!==null&&Xr("/BleedBox ["+Fn(yt.bleedBox.bottomLeftX)+" "+Fn(yt.bleedBox.bottomLeftY)+" "+Fn(yt.bleedBox.topRightX)+" "+Fn(yt.bleedBox.topRightY)+"]"),yt.trimBox!==null&&Xr("/TrimBox ["+Fn(yt.trimBox.bottomLeftX)+" "+Fn(yt.trimBox.bottomLeftY)+" "+Fn(yt.trimBox.topRightX)+" "+Fn(yt.trimBox.topRightY)+"]"),yt.artBox!==null&&Xr("/ArtBox ["+Fn(yt.artBox.bottomLeftX)+" "+Fn(yt.artBox.bottomLeftY)+" "+Fn(yt.artBox.topRightX)+" "+Fn(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),Ma({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=Mi(),vn[yt].contentsObjId=Mi();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:Ma}),Lt.isAlreadyPutted!==!0&&(Lt.objectNumber=fi(),Xr("<<"),Xr("/Type /Font"),Xr("/BaseFont /"+N(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])},Ji=function(Lt){Lt.objectNumber=fi();var Pr=[];Pr.push({key:"Type",value:"/XObject"}),Pr.push({key:"Subtype",value:"/Form"}),Pr.push({key:"BBox",value:"["+[Fn(Lt.x),Fn(Lt.y),Fn(Lt.x+Lt.width),Fn(Lt.y+Lt.height)].join(" ")+"]"}),Pr.push({key:"Matrix",value:"["+Lt.matrix.toString()+"]"});var pn=Lt.pages[1].join(`
|
|
|
`);Ma({data:pn,additionalKeyValues:Pr,objectId:Lt.objectNumber}),Xr("endobj")},Si=function(){for(var Lt in si)si.hasOwnProperty(Lt)&&Ji(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 ce={offset:0,color:Lt[0].color};Lt.unshift(ce)}if(Lt[Lt.length-1].offset!=1){var ve={offset:1,color:Lt[Lt.length-1].color};Lt.push(ve)}for(var _e="",ze=0,ut=0;ut<Rn.length;ut++){for(pn=Rn[ut];pn>Lt[ze+1].offset;)ze++;var Pt=Lt[ze].offset,ar=(pn-Pt)/(Lt[ze+1].offset-Pt),wr=Lt[ze].color,jr=Lt[ze+1].color;_e+=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 _e.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]"}),Ma({data:Rn,additionalKeyValues:dt,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:pn}),Xr("endobj"),Lt.objectNumber=fi(),Xr("<< /ShadingType "+Lt.type),Xr("/ColorSpace /DeviceRGB");var ce="/Coords ["+Fn(parseFloat(Lt.coords[0]))+" "+Fn(parseFloat(Lt.coords[1]))+" ";Lt.type===2?ce+=Fn(parseFloat(Lt.coords[2]))+" "+Fn(parseFloat(Lt.coords[3])):ce+=Fn(parseFloat(Lt.coords[2]))+" "+Fn(parseFloat(Lt.coords[3]))+" "+Fn(parseFloat(Lt.coords[4]))+" "+Fn(parseFloat(Lt.coords[5])),Xr(ce+="]"),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=Mi(),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(Fn).join(" ")+"]"}),dt.push({key:"XStep",value:Fn(Lt.xStep)}),dt.push({key:"YStep",value:Fn(Lt.yStep)}),dt.push({key:"Resources",value:pn+" 0 R"}),Lt.matrix&&dt.push({key:"Matrix",value:"["+Lt.matrix.toString()+"]"}),Ma({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 j?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")},Fa=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 j&&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(),Fa(),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<Jn.length;Lt++){var Pr=Jn[Lt];fa(Pr.objId,!0),Xr(Pr.content),Xr("endobj")}Ln.publish("postPutAdditionalObjects")},Ba=function(Lt){Dr[Lt.fontName]=Dr[Lt.fontName]||{},Dr[Lt.fontName][Lt.fontStyle]=Lt.id},vo=function(Lt,Pr,pn,Rn,dt){var ce={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:ce,instance:this}),Kr[ce.id]=ce,Ba(ce),ce.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("-");Ba({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(!v.console)throw new Error(pn);v.console.error(pn,Rn),v.alert&&alert(pn)}},Lt.foo.bar=Lt,Lt.foo},ao=function(Lt,Pr){var pn,Rn,dt,ce,ve,_e,ze,ut,Pt;if(dt=(Pr=Pr||{}).sourceEncoding||"Unicode",ve=Pr.outputEncoding,(Pr.autoencode||ve)&&Kr[Xt].metadata&&Kr[Xt].metadata[dt]&&Kr[Xt].metadata[dt].encoding&&(ce=Kr[Xt].metadata[dt].encoding,!ve&&Kr[Xt].encoding&&(ve=Kr[Xt].encoding),!ve&&ce.codePages&&(ve=ce.codePages[0]),typeof ve=="string"&&(ve=ce[ve]),ve)){for(ze=!1,_e=[],pn=0,Rn=Lt.length;pn<Rn;pn++)(ut=ve[Lt.charCodeAt(pn)])?_e.push(String.fromCharCode(ut)):_e.push(Lt[pn]),_e[pn].charCodeAt(0)>>8&&(ze=!0);Lt=_e.join("")}for(pn=Lt.length;ze===void 0&&pn!==0;)Lt.charCodeAt(pn-1)>>8&&(ze=!0),pn--;if(!ze)return Lt;for(_e=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");_e.push(Pt),_e.push(ut-(Pt<<8))}return String.fromCharCode.apply(void 0,_e)},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(mt),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(ke=Pr||ke,typeof Lt=="string"&&(pn=Ar(Lt.toLowerCase()),Array.isArray(pn)&&(Rn=pn[0],dt=pn[1])),Array.isArray(Lt)&&(Rn=Lt[0]*Wt,dt=Lt[1]*Wt),isNaN(Rn)&&(Rn=Ze[0],dt=Ze[1]),(Rn>14400||dt>14400)&&(s.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)),Ze=[Rn,dt],ke.substr(0,1)){case"l":dt>Rn&&(Ze=[dt,Rn]);break;case"p":Rn>dt&&(Ze=[dt,Rn])}yo(Ze),Jo(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&&s.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},Wo=_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 "+K.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")},Za=_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 Bn[Lt]=="function"?Xr((yt+Bn[Lt]()).slice(-10)+" 00000 n "):Bn[Lt]!==void 0?Xr((yt+Bn[Lt]).slice(-10)+" 00000 n "):Xr("0000000000 00000 n ")},ka=_t.__private__.buildDocument=function(){ja(),Qn(Wn),Ln.publish("buildDocument"),Aa(),_i(),Oi(),ba(),dr!==null&&co(),Wo(),ns();var yt=$n;return Za(),Po(),Xr("startxref"),Xr(""+yt),Xr("%%EOF"),Qn(vi[xr]),Wn.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 ka();case"save":_t.save(Lt.filename);break;case"arraybuffer":return Ri(ka());case"blob":return $i(ka());case"bloburi":case"bloburl":if(v.URL!==void 0&&typeof v.URL.createObjectURL=="function")return v.URL&&v.URL.createObjectURL($i(ka()))||void 0;s.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=ka();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(v)==="[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=v.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(v)==="[object Window]"){var ce='<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>',ve=v.open();if(ve!==null){ve.document.write(ce);var _e=this;ve.document.documentElement.querySelector("#pdfViewer").onload=function(){ve.document.title=Lt.filename,ve.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(_e.output("bloburl"))}}return ve}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(v)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var ze='<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=v.open();if(ut!==null&&(ut.document.write(ze),ut.document.title=Lt.filename),ut||typeof safari=="undefined")return ut;break;case"datauri":case"dataurl":return v.document.location.href=this.output("datauristring",Lt);default:return null}}),Ha=function(Lt){return Array.isArray(oi)===!0&&oi.indexOf(Lt)>-1};switch(Me){case"pt":Wt=1;break;case"mm":Wt=72/25.4;break;case"cm":Wt=72/2.54;break;case"in":Wt=72;break;case"px":Wt=Ha("px_scaling")==1?.75:96/72;break;case"pc":case"em":Wt=12;break;case"ex":Wt=6;break;default:throw new Error("Invalid unit: "+Me)}var Yi=null;di(),Un();var Qa=function(Lt){return dr!==null?Yi.encryptor(Lt,0):function(Pr){return Pr}},Fo=_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 Fo(Lt)},Zo=_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,ce,ve,_e,ze,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?(ve=arguments[4],_e=arguments[5],b()(Pt=arguments[3])==="object"&&Pt!==null||(typeof ve=="string"&&(_e=ve,ve=null),typeof Pt=="string"&&(_e=Pt,Pt=null),typeof Pt=="number"&&(ve=Pt,Pt=null),pn={flags:Pt,angle:ve,align:_e})):(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 zi(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,Ja=!0;if(typeof yt=="string")Ua=!0;else if(Array.isArray(yt)){var to=yt.concat();ce=[];for(var No,oo=to.length;oo--;)(typeof(No=to.shift())!="string"||Array.isArray(No)&&typeof No[0]!="string")&&(Ja=!1);Ua=Ja}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,za=Do*(Na-1);switch(pn.baseline){case"bottom":Pr-=za;break;case"top":Pr+=Do-za;break;case"hanging":Pr+=Do-2*za;break;case"middle":Pr+=Do/2-za}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,ve=(pn=dt.options).angle,ar instanceof Pn==!1&&ve&&typeof ve=="number"){ve*=Math.PI/180,pn.rotationDirection===0&&(ve=-ve),ln===sr.ADVANCED&&(ve=-ve);var Ro=Math.cos(ve),ls=Math.sin(ve);ar=new Pn(Ro,ls,-ls,Ro,0,0)}else ve&&ve instanceof Pn&&(ar=ve);ln!==sr.ADVANCED||ar||(ar=ci),(ze=pn.charSpace||vs)!==void 0&&(hn+=Fn(Ur(ze))+` 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),_e=pn.align||"left";var qo,xo=Ui*ti,zs=wr.internal.pageSize.getWidth(),ps=Kr[Xt];ze=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;ce=zi(yt),_e!=="left"&&(qo=ce.map(function(xa){return wr.getStringUnitWidth(xa,{font:ps,charSpace:ze,fontSize:Ui,doKerning:!1})*Ui/Ai}));var Ts,Mo=0;if(_e==="right"){Lt-=qo[0],yt=[],oo=ce.length;for(var Ki=0;Ki<oo;Ki++)Ki===0?(Ts=Xo(Lt),cl=Uo(Pr)):(Ts=Ur(Mo-qo[Ki]),cl=-xo),yt.push([ce[Ki],Ts,cl]),Mo=qo[Ki]}else if(_e==="center"){Lt-=qo[0]/2,yt=[],oo=ce.length;for(var Ws=0;Ws<oo;Ws++)Ws===0?(Ts=Xo(Lt),cl=Uo(Pr)):(Ts=Ur((Mo-qo[Ws])/2),cl=-xo),yt.push([ce[Ws],Ts,cl]),Mo=qo[Ws]}else if(_e==="left"){yt=[],oo=ce.length;for(var nl=0;nl<oo;nl++)yt.push(ce[nl])}else{if(_e!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');yt=[],oo=ce.length,ut=ut!==0?ut:zs;for(var Ss=0;Ss<oo;Ss++)cl=Ss===0?Uo(Pr):-xo,Ts=Ss===0?Xo(Lt):0,Ss<oo-1?ll.push(Fn(Ur((ut-qo[Ss])/(ce[Ss].split(" ").length-1)))):ll.push(0),yt.push([ce[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]})),ce=zi(yt),yt=[];for(var il,Ns,Us,Ds=0,Rs=1,ul=Array.isArray(ce[0])?Rs:Ds,Fs="",Qs=function(Li,ea,Ca){var go="";return Ca instanceof Pn?(Ca=typeof pn.angle=="number"?ki(Ca,new Pn(1,0,0,1,Li,ea)):ki(new Pn(1,0,0,1,Li,ea),Ca),ln===sr.ADVANCED&&(Ca=ki(new Pn(1,0,0,-1,0,0),Ca)),go=Ca.join(" ")+` Tm
|
|
|
`):go=Fn(Li)+" "+Fn(ea)+` Td
|
|
|
`,go},Ys=0;Ys<ce.length;Ys++){switch(Fs="",ul){case Rs:Us=(Tn?"<":"(")+ce[Ys][0]+(Tn?">":")"),il=parseFloat(ce[Ys][1]),Ns=parseFloat(ce[Ys][2]);break;case Ds:Us=(Tn?"<":"(")+ce[Ys]+(Tn?">":")"),il=Xo(Lt),Ns=Uo(Pr)}ll!==void 0&&ll[Ys]!==void 0&&(Fs=ll[Ys]+` Tw
|
|
|
`),Ys===0?yt.push(Fs+Qs(il,Ns,ar)+Us):ul===Ds?yt.push(Fs+Us):ul===Rs&&yt.push(Fs+Qs(il,Ns,ar)+Us)}yt=ul===Ds?yt.join(` Tj
|
|
|
T* `):yt.join(` Tj
|
|
|
`),yt+=` Tj
|
|
|
`;var Zs=`BT
|
|
|
/`;return Zs+=Xt+" "+Ui+` Tf
|
|
|
`,Zs+=Fn(Ui*ti)+` TL
|
|
|
`,Zs+=Or+`
|
|
|
`,Zs+=hn,Zs+=yt,Xr(Zs+="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){b()(Pr)==="object"?Oo(Pr,Lt):Xr(Lt)},bo=function(Lt){Lt===null||ln===sr.ADVANCED&&Lt===void 0||(Lt=lo(Lt),Xr(Lt))};function Bo(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 ce=yt+"$$"+this.cloneIndex+++"$$";return wi(ce,dt),dt}var Oo=function(Lt,Pr){var pn=Cn[Lt.key],Rn=on[pn];if(Rn instanceof j)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=Bo.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(Fn(Ur(yt))+" "+Fn(Qr(Lt))+" m"),this},hs=_t.lineTo=function(yt,Lt){return Xr(Fn(Ur(yt))+" "+Fn(Qr(Lt))+" l"),this},ss=_t.curveTo=function(yt,Lt,Pr,pn,Rn,dt){return Xr([Fn(Ur(yt)),Fn(Qr(Lt)),Fn(Ur(Pr)),Fn(Qr(pn)),Fn(Ur(Rn)),Fn(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 ce,ve,_e,ze,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),ce=pn[0],ve=pn[1],ze=yt.length,hn=Lt,Tn=Pr,_e=0;_e<ze;_e++)(ut=yt[_e]).length===2?(hn=ut[0]*ce+hn,Tn=ut[1]*ve+Tn,hs(hn,Tn)):(Pt=ut[0]*ce+hn,ar=ut[1]*ve+Tn,wr=ut[2]*ce+hn,jr=ut[3]*ve+Tn,hn=ut[4]*ce+hn,Tn=ut[5]*ve+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([Fn(Ur(yt)),Fn(Qr(Lt)),Fn(Ur(Pr)),Fn(Ur(pn)),"re"].join(" ")),bo(Rn),this},_t.__private__.triangle=_t.triangle=function(yt,Lt,Pr,pn,Rn,dt,ce){if(isNaN(yt)||isNaN(Lt)||isNaN(Pr)||isNaN(pn)||isNaN(Rn)||isNaN(dt)||!Ya(ce))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],ce,!0),this},_t.__private__.roundedRect=_t.roundedRect=function(yt,Lt,Pr,pn,Rn,dt,ce){if(isNaN(yt)||isNaN(Lt)||isNaN(Pr)||isNaN(pn)||isNaN(Rn)||isNaN(dt)||!Ya(ce))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var ve=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*ve,0,Rn,dt-dt*ve,Rn,dt],[0,pn-2*dt],[0,dt*ve,-Rn*ve,dt,-Rn,dt],[2*Rn-Pr,0],[-Rn*ve,0,-Rn,-dt*ve,-Rn,-dt],[0,2*dt-pn],[0,-dt*ve,Rn*ve,-dt,Rn,-dt]],yt+Rn,Lt,[1,1],ce,!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,ce=4/3*(Math.SQRT2-1)*pn;return ds(yt+Pr,Lt),ss(yt+Pr,Lt-ce,yt+dt,Lt-pn,yt,Lt-pn),ss(yt-dt,Lt-pn,yt-Pr,Lt-ce,yt-Pr,Lt),ss(yt-Pr,Lt+ce,yt-dt,Lt+pn,yt,Lt+pn),ss(yt+dt,Lt+pn,yt+Pr,Lt+ce,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=$e.lineWidth||.200025,Jo=_t.__private__.setLineWidth=_t.setLineWidth=function(yt){return Xr(Fn(Ur(yt))+" w"),this};_t.__private__.setLineDash=K.API.setLineDash=K.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 Fn(Ur(Pr))}).join(" "),Lt=Fn(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($e.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 Fn(Xo(yt))},Yo=_t.__private__.getVerticalCoordinateString=_t.getVerticalCoordinateString=function(yt){return Fn(Uo(yt))},Ko=$e.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=$e.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=$e.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=$e.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(Fn(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(ve){isNaN(ve)||(pn=parseFloat(ve))}});var Rn=Pr||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Rn},set:function(ve){isNaN(ve)||(Rn=parseFloat(ve))}});var dt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return dt},set:function(ve){dt=ve.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(_e){isNaN(_e)||(dt=parseFloat(_e))}});var ce=Rn||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return ce},set:function(_e){isNaN(_e)||(ce=parseFloat(_e))}}),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=Bi,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),Bi=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?(n($i(ka()),yt),typeof n.unload=="function"&&v.setTimeout&&setTimeout(n.unload,911),this):new Promise(function(Pr,pn){try{var Rn=n($i(ka()),yt);typeof n.unload=="function"&&v.setTimeout&&setTimeout(n.unload,911),Pr(Rn)}catch(dt){pn(dt.message)}})},K.API)K.API.hasOwnProperty(pl)&&(pl==="events"&&K.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,K.API.events):_t[pl]=K.API[pl]);var Gs=_t.getPageWidth=function(yt){return(vn[yt=yt||xr].mediaBox.topRightX-vn[yt].mediaBox.bottomLeftX)/Wt},ro=_t.setPageWidth=function(yt,Lt){vn[yt].mediaBox.topRightX=Lt*Wt+vn[yt].mediaBox.bottomLeftX},eo=_t.getPageHeight=function(yt){return(vn[yt=yt||xr].mediaBox.topRightY-vn[yt].mediaBox.bottomLeftY)/Wt},ho=_t.setPageHeight=function(yt,Lt){vn[yt].mediaBox.topRightY=Lt*Wt+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:Wi,newObjectDeferred:Mi,newObjectDeferredBegin:fa,getFilters:ca,putStream:Ma,events:Ln,scaleFactor:Wt,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:Fo,getPageInfoByObjId:Qo,getCurrentPageInfo:Zo,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(Ze,ke),Ln.publish("initialized"),_t}B.prototype.lsbFirstWord=function($e){return String.fromCharCode($e>>0&255,$e>>8&255,$e>>16&255,$e>>24&255)},B.prototype.toHexString=function($e){return $e.split("").map(function(Te){return("0"+(255&Te.charCodeAt(0)).toString(16)).slice(-2)}).join("")},B.prototype.hexToBytes=function($e){for(var Te=[],ke=0;ke<$e.length;ke+=2)Te.push(String.fromCharCode(parseInt($e.substr(ke,2),16)));return Te.join("")},B.prototype.processOwnerPassword=function($e,Te){return L(x(Te).substr(0,5),$e)},B.prototype.encryptor=function($e,Te){var ke=x(this.encryptionKey+String.fromCharCode(255&$e,$e>>8&255,$e>>16&255,255&Te,Te>>8&255)).substr(0,10);return function(Me){return L(ke,Me)}},W.prototype.equals=function($e){var Te,ke="id,objectNumber,equals";if(!$e||b()($e)!==b()(this))return!1;var Me=0;for(Te in this)if(!(ke.indexOf(Te)>=0)){if(this.hasOwnProperty(Te)&&!$e.hasOwnProperty(Te))return!1;if(this[Te]!==$e[Te])return!1;Me++}for(Te in $e)$e.hasOwnProperty(Te)&&ke.indexOf(Te)<0&&Me--;return Me===0},K.API={events:[]},K.version="2.4.0";var U=K.API,Q=1,V=function(Te){return Te.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},J=function(Te){return Te.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},ae=function(Te){return Te.toFixed(2)},se=function(Te){return Te.toFixed(5)};U.__acroform__={};var $=function(Te,ke){Te.prototype=Object.create(ke.prototype),Te.prototype.constructor=Te},ge=function(Te){return Te*Q},he=function(Te){var ke=new xe,Me=Y.internal.getHeight(Te)||0,Ze=Y.internal.getWidth(Te)||0;return ke.BBox=[0,0,Number(ae(Ze)),Number(ae(Me))],ke},Ie=U.__acroform__.setBit=function($e,Te){if($e=$e||0,Te=Te||0,isNaN($e)||isNaN(Te))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return $e|=1<<Te},Se=U.__acroform__.clearBit=function($e,Te){if($e=$e||0,Te=Te||0,isNaN($e)||isNaN(Te))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return $e&=~(1<<Te)},Le=U.__acroform__.getBit=function($e,Te){if(isNaN($e)||isNaN(Te))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return($e&1<<Te)==0?0:1},He=U.__acroform__.getBitForPdf=function($e,Te){if(isNaN($e)||isNaN(Te))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Le($e,Te-1)},G=U.__acroform__.setBitForPdf=function($e,Te){if(isNaN($e)||isNaN(Te))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Ie($e,Te-1)},pe=U.__acroform__.clearBitForPdf=function($e,Te){if(isNaN($e)||isNaN(Te))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Se($e,Te-1)},We=U.__acroform__.calculateCoordinates=function($e,Te){var ke=Te.internal.getHorizontalCoordinate,Me=Te.internal.getVerticalCoordinate,Ze=$e[0],Xe=$e[1],qe=$e[2],mt=$e[3],ht={};return ht.lowerLeft_X=ke(Ze)||0,ht.lowerLeft_Y=Me(Xe+mt)||0,ht.upperRight_X=ke(Ze+qe)||0,ht.upperRight_Y=Me(Xe)||0,[Number(ae(ht.lowerLeft_X)),Number(ae(ht.lowerLeft_Y)),Number(ae(ht.upperRight_X)),Number(ae(ht.upperRight_Y))]},te=function(Te){if(Te.appearanceStreamContent)return Te.appearanceStreamContent;if(Te.V||Te.DV){var ke=[],Me=Te._V||Te.DV,Ze=X(Te,Me),Xe=Te.scope.internal.getFont(Te.fontName,Te.fontStyle).id;ke.push("/Tx BMC"),ke.push("q"),ke.push("BT"),ke.push(Te.scope.__private__.encodeColorString(Te.color)),ke.push("/"+Xe+" "+ae(Ze.fontSize)+" Tf"),ke.push("1 0 0 1 0 0 Tm"),ke.push(Ze.text),ke.push("ET"),ke.push("Q"),ke.push("EMC");var qe=he(Te);return qe.scope=Te.scope,qe.stream=ke.join(`
|
|
|
`),qe}},X=function(Te,ke){var Me=Te.fontSize===0?Te.maxFontSize:Te.fontSize,Ze={text:"",fontSize:""},Xe=(ke=(ke=ke.substr(0,1)=="("?ke.substr(1):ke).substr(ke.length-1)==")"?ke.substr(0,ke.length-1):ke).split(" "),qe=Me,mt=Y.internal.getHeight(Te)||0;mt=mt<0?-mt:mt;var ht=Y.internal.getWidth(Te)||0;ht=ht<0?-ht:ht;var Vt=function(mi,rn,Ur){if(mi+1<Xe.length){var cn=rn+" "+Xe[mi+1];return z(cn,Te,Ur).width<=ht-4}return!1};qe++;e:for(;qe>0;){ke="",qe--;var dr,tr,ir=z("3",Te,qe).height,_t=Te.multiline?mt-qe:(mt-ir)/2,gr=_t+=2,jt=0,Sr=0;if(qe<=0){ke=`(...) Tj
|
|
|
`,ke+="% Width of Text: "+z(ke,Te,qe=12).width+", FieldWidth:"+ht+`
|
|
|
`;break}var Ar="",sr=0;for(var ln in Xe)if(Xe.hasOwnProperty(ln)){Ar=(Ar+=Xe[ln]+" ").substr(Ar.length-1)==" "?Ar.substr(0,Ar.length-1):Ar;var _n=parseInt(ln),zn=Vt(_n,Ar,qe),Nn=ln>=Xe.length-1;if(zn&&!Nn){Ar+=" ";continue}if(zn||Nn){if(Nn)Sr=_n;else if(Te.multiline&&(ir+2)*(sr+2)+2>mt)continue e}else{if(!Te.multiline)continue e;if((ir+2)*(sr+2)+2>mt)continue e;Sr=_n}for(var Fn="",Gn=jt;Gn<=Sr;Gn++)Fn+=Xe[Gn]+" ";switch(Fn=Fn.substr(Fn.length-1)==" "?Fn.substr(0,Fn.length-1):Fn,tr=z(Fn,Te,qe).width,Te.textAlign){case"right":dr=ht-tr-2;break;case"center":dr=(ht-tr)/2;break;case"left":default:dr=2}ke+=ae(dr)+" "+ae(gr)+` Td
|
|
|
`,ke+="("+V(Fn)+`) Tj
|
|
|
`,ke+=-ae(dr)+` 0 Td
|
|
|
`,gr=-(qe+2),tr=0,jt=Sr+1,sr++,Ar=""}break}return Ze.text=ke,Ze.fontSize=qe,Ze},z=function(Te,ke,Me){var Ze=ke.scope.internal.getFont(ke.fontName,ke.fontStyle),Xe=ke.scope.getStringUnitWidth(Te,{font:Ze,fontSize:parseFloat(Me),charSpace:0})*parseFloat(Me);return{height:ke.scope.getStringUnitWidth("3",{font:Ze,fontSize:parseFloat(Me),charSpace:0})*parseFloat(Me)*1.5,width:Xe}},Z={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},be=function(Te,ke){var Me={type:"reference",object:Te};ke.internal.getPageInfo(Te.page).pageContext.annotations.find(function(Ze){return Ze.type===Me.type&&Ze.object===Me.object})===void 0&&ke.internal.getPageInfo(Te.page).pageContext.annotations.push(Me)},ne=function(Te,ke){for(var Me in Te)if(Te.hasOwnProperty(Me)){var Ze=Me,Xe=Te[Me];ke.internal.newObjectDeferredBegin(Xe.objId,!0),b()(Xe)==="object"&&typeof Xe.putStream=="function"&&Xe.putStream(),delete Te[Ze]}},Ae=function(Te,ke){if(ke.scope=Te,Te.internal!==void 0&&(Te.internal.acroformPlugin===void 0||Te.internal.acroformPlugin.isInitialized===!1)){if(tt.FieldNum=0,Te.internal.acroformPlugin=JSON.parse(JSON.stringify(Z)),Te.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Q=Te.internal.scaleFactor,Te.internal.acroformPlugin.acroFormDictionaryRoot=new Pe,Te.internal.acroformPlugin.acroFormDictionaryRoot.scope=Te,Te.internal.acroformPlugin.acroFormDictionaryRoot._eventID=Te.internal.events.subscribe("postPutResources",function(){!function(Me){Me.internal.events.unsubscribe(Me.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete Me.internal.acroformPlugin.acroFormDictionaryRoot._eventID,Me.internal.acroformPlugin.printedOut=!0}(Te)}),Te.internal.events.subscribe("buildDocument",function(){!function(Me){Me.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var Ze=Me.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var Xe in Ze)if(Ze.hasOwnProperty(Xe)){var qe=Ze[Xe];qe.objId=void 0,qe.hasAnnotation&&be(qe,Me)}}(Te)}),Te.internal.events.subscribe("putCatalog",function(){!function(Me){if(Me.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");Me.internal.write("/AcroForm "+Me.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(Te)}),Te.internal.events.subscribe("postPutPages",function(Me){!function(Ze,Xe){var qe=!Ze;for(var mt in Ze||(Xe.internal.newObjectDeferredBegin(Xe.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Xe.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),Ze=Ze||Xe.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(Ze.hasOwnProperty(mt)){var ht=Ze[mt],Vt=[],dr=ht.Rect;if(ht.Rect&&(ht.Rect=We(ht.Rect,Xe)),Xe.internal.newObjectDeferredBegin(ht.objId,!0),ht.DA=Y.createDefaultAppearanceStream(ht),b()(ht)==="object"&&typeof ht.getKeyValueListForStream=="function"&&(Vt=ht.getKeyValueListForStream()),ht.Rect=dr,ht.hasAppearanceStream&&!ht.appearanceStreamContent){var tr=te(ht);Vt.push({key:"AP",value:"<</N "+tr+">>"}),Xe.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 mt in gr)if(gr.hasOwnProperty(mt)){var jt=gr[mt];typeof jt=="function"&&(jt=jt.call(Xe,ht)),ir+="/"+mt+" "+jt+" ",Xe.internal.acroformPlugin.xForms.indexOf(jt)>=0||Xe.internal.acroformPlugin.xForms.push(jt)}}else typeof(jt=gr)=="function"&&(jt=jt.call(Xe,ht)),ir+="/"+mt+" "+jt,Xe.internal.acroformPlugin.xForms.indexOf(jt)>=0||Xe.internal.acroformPlugin.xForms.push(jt);ir+=">>"}Vt.push({key:"AP",value:`<<
|
|
|
`+ir+">>"})}Xe.internal.putStream({additionalKeyValues:Vt,objectId:ht.objId}),Xe.internal.out("endobj")}qe&&ne(Xe.internal.acroformPlugin.xForms,Xe)}(Me,Te)}),Te.internal.acroformPlugin.isInitialized=!0}},Ne=U.__acroform__.arrayToPdfArray=function($e,Te,ke){var Me=function(mt){return mt};if(Array.isArray($e)){for(var Ze="[",Xe=0;Xe<$e.length;Xe++)switch(Xe!==0&&(Ze+=" "),b()($e[Xe])){case"boolean":case"number":case"object":Ze+=$e[Xe].toString();break;case"string":$e[Xe].substr(0,1)!=="/"?(Te!==void 0&&ke&&(Me=ke.internal.getEncryptor(Te)),Ze+="("+V(Me($e[Xe].toString()))+")"):Ze+=$e[Xe].toString()}return Ze+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},oe=function(Te,ke,Me){var Ze=function(qe){return qe};return ke!==void 0&&Me&&(Ze=Me.internal.getEncryptor(ke)),(Te=Te||"").toString(),Te="("+V(Ze(Te))+")"},de=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(ke){this._objId=ke}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};de.prototype.toString=function(){return this.objId+" 0 R"},de.prototype.putStream=function(){var $e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:$e,objectId:this.objId}),this.scope.internal.out("endobj")},de.prototype.getKeyValueListForStream=function(){var $e=[],Te=Object.getOwnPropertyNames(this).filter(function(Xe){return Xe!="content"&&Xe!="appearanceStreamContent"&&Xe!="scope"&&Xe!="objId"&&Xe.substring(0,1)!="_"});for(var ke in Te)if(Object.getOwnPropertyDescriptor(this,Te[ke]).configurable===!1){var Me=Te[ke],Ze=this[Me];Ze&&(Array.isArray(Ze)?$e.push({key:Me,value:Ne(Ze,this.objId,this.scope)}):Ze instanceof de?(Ze.scope=this.scope,$e.push({key:Me,value:Ze.objId+" 0 R"})):typeof Ze!="function"&&$e.push({key:Me,value:Ze}))}return $e};var xe=function(){de.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var Te,ke=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return ke},set:function(Ze){ke=Ze}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(Ze){Te=Ze.trim()},get:function(){return Te||null}})};$(xe,de);var Pe=function(){de.call(this);var Te,ke=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return ke.length>0?ke:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return ke}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(Te){var Ze=function(qe){return qe};return this.scope&&(Ze=this.scope.internal.getEncryptor(this.objId)),"("+V(Ze(Te))+")"}},set:function(Ze){Te=Ze}})};$(Pe,de);var tt=function $e(){de.call(this);var Te=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return Te},set:function(sr){if(isNaN(sr))throw new Error('Invalid value "'+sr+'" for attribute F supplied.');Te=sr}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(Te,3))},set:function(sr){Boolean(sr)===!0?this.F=G(Te,3):this.F=pe(Te,3)}});var ke=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return ke},set:function(sr){if(isNaN(sr))throw new Error('Invalid value "'+sr+'" for attribute Ff supplied.');ke=sr}});var Me=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(Me.length!==0)return Me},set:function(sr){Me=sr!==void 0?sr:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!Me||isNaN(Me[0])?0:Me[0]},set:function(sr){Me[0]=sr}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!Me||isNaN(Me[1])?0:Me[1]},set:function(sr){Me[1]=sr}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!Me||isNaN(Me[2])?0:Me[2]},set:function(sr){Me[2]=sr}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!Me||isNaN(Me[3])?0:Me[3]},set:function(sr){Me[3]=sr}});var Ze="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return Ze},set:function(sr){switch(sr){case"/Btn":case"/Tx":case"/Ch":case"/Sig":Ze=sr;break;default:throw new Error('Invalid value "'+sr+'" for attribute FT supplied.')}}});var Xe=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!Xe||Xe.length<1){if(this instanceof Ct)return;Xe="FieldObject"+$e.FieldNum++}var sr=function(_n){return _n};return this.scope&&(sr=this.scope.internal.getEncryptor(this.objId)),"("+V(sr(Xe))+")"},set:function(sr){Xe=sr.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return Xe},set:function(sr){Xe=sr}});var qe="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return qe},set:function(sr){qe=sr}});var mt="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return mt},set:function(sr){mt=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/Q: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 Ge))return oe(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 nt==!1?oe(ir,this.objId,this.scope):ir},set:function(sr){sr=sr.toString(),ir=this instanceof nt==!1?sr.substr(0,1)==="("?J(sr.substr(1,sr.length-2)):J(sr):sr}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof nt==!0?J(ir.substr(1,ir.length-1)):ir},set:function(sr){sr=sr.toString(),ir=this instanceof nt==!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 nt==!1?oe(_t,this.objId,this.scope):_t},set:function(sr){sr=sr.toString(),_t=this instanceof nt==!1?sr.substr(0,1)==="("?J(sr.substr(1,sr.length-2)):J(sr):sr}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof nt==!0?J(_t.substr(1,_t.length-1)):_t},set:function(sr){sr=sr.toString(),_t=this instanceof nt==!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(He(this.Ff,1))},set:function(sr){Boolean(sr)===!0?this.Ff=G(this.Ff,1):this.Ff=pe(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,2))},set:function(sr){Boolean(sr)===!0?this.Ff=G(this.Ff,2):this.Ff=pe(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,3))},set:function(sr){Boolean(sr)===!0?this.Ff=G(this.Ff,3):this.Ff=pe(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}}})};$(tt,de);var Je=function(){tt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var Te=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return Te},set:function(Ze){Te=Ze}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return Te},set:function(Ze){Te=Ze}});var ke=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Ne(ke,this.objId,this.scope)},set:function(Ze){var Xe,qe;qe=[],typeof(Xe=Ze)=="string"&&(qe=function(mt,ht,Vt){Vt||(Vt=1);for(var dr,tr=[];dr=ht.exec(mt);)tr.push(dr[Vt]);return tr}(Xe,/\((.*?)\)/g)),ke=qe}}),this.getOptions=function(){return ke},this.setOptions=function(Me){ke=Me,this.sort&&ke.sort()},this.addOption=function(Me){Me=(Me=Me||"").toString(),ke.push(Me),this.sort&&ke.sort()},this.removeOption=function(Me,Ze){for(Ze=Ze||!1,Me=(Me=Me||"").toString();ke.indexOf(Me)!==-1&&(ke.splice(ke.indexOf(Me),1),Ze!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,18))},set:function(Ze){Boolean(Ze)===!0?this.Ff=G(this.Ff,18):this.Ff=pe(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,19))},set:function(Ze){this.combo===!0&&(Boolean(Ze)===!0?this.Ff=G(this.Ff,19):this.Ff=pe(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,20))},set:function(Ze){Boolean(Ze)===!0?(this.Ff=G(this.Ff,20),ke.sort()):this.Ff=pe(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,22))},set:function(Ze){Boolean(Ze)===!0?this.Ff=G(this.Ff,22):this.Ff=pe(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,23))},set:function(Ze){Boolean(Ze)===!0?this.Ff=G(this.Ff,23):this.Ff=pe(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,27))},set:function(Ze){Boolean(Ze)===!0?this.Ff=G(this.Ff,27):this.Ff=pe(this.Ff,27)}}),this.hasAppearanceStream=!1};$(Je,tt);var Oe=function(){Je.call(this),this.fontName="helvetica",this.combo=!1};$(Oe,Je);var pt=function(){Oe.call(this),this.combo=!0};$(pt,Oe);var Qe=function(){pt.call(this),this.edit=!0};$(Qe,pt);var nt=function(){tt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,15))},set:function(Ze){Boolean(Ze)===!0?this.Ff=G(this.Ff,15):this.Ff=pe(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,16))},set:function(Ze){Boolean(Ze)===!0?this.Ff=G(this.Ff,16):this.Ff=pe(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,17))},set:function(Ze){Boolean(Ze)===!0?this.Ff=G(this.Ff,17):this.Ff=pe(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,26))},set:function(Ze){Boolean(Ze)===!0?this.Ff=G(this.Ff,26):this.Ff=pe(this.Ff,26)}});var Te,ke={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Ze=function(ht){return ht};if(this.scope&&(Ze=this.scope.internal.getEncryptor(this.objId)),Object.keys(ke).length!==0){var Xe,qe=[];for(Xe in qe.push("<<"),ke)qe.push("/"+Xe+" ("+V(Ze(ke[Xe]))+")");return qe.push(">>"),qe.join(`
|
|
|
`)}},set:function(Ze){b()(Ze)==="object"&&(ke=Ze)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return ke.CA||""},set:function(Ze){typeof Ze=="string"&&(ke.CA=Ze)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Te},set:function(Ze){Te=Ze}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Te.substr(1,Te.length-1)},set:function(Ze){Te="/"+Ze}})};$(nt,tt);var bt=function(){nt.call(this),this.pushButton=!0};$(bt,nt);var Tt=function(){nt.call(this),this.radio=!0,this.pushButton=!1;var Te=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return Te},set:function(Me){Te=Me!==void 0?Me:[]}})};$(Tt,nt);var Ct=function(){var Te,ke;tt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return Te},set:function(qe){Te=qe}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return ke},set:function(qe){ke=qe}});var Me,Ze={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var qe=function(dr){return dr};this.scope&&(qe=this.scope.internal.getEncryptor(this.objId));var mt,ht=[];for(mt in ht.push("<<"),Ze)ht.push("/"+mt+" ("+V(qe(Ze[mt]))+")");return ht.push(">>"),ht.join(`
|
|
|
`)},set:function(qe){b()(qe)==="object"&&(Ze=qe)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Ze.CA||""},set:function(qe){typeof qe=="string"&&(Ze.CA=qe)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Me},set:function(qe){Me=qe}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Me.substr(1,Me.length-1)},set:function(qe){Me="/"+qe}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Y.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};$(Ct,tt),Tt.prototype.setAppearance=function($e){if(!("createAppearanceStream"in $e)||!("getCA"in $e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var Te in this.Kids)if(this.Kids.hasOwnProperty(Te)){var ke=this.Kids[Te];ke.appearanceStreamContent=$e.createAppearanceStream(ke.optionName),ke.caption=$e.getCA()}},Tt.prototype.createOption=function($e){var Te=new Ct;return Te.Parent=this,Te.optionName=$e,this.Kids.push(Te),we.call(this.scope,Te),Te};var Nt=function(){nt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Y.CheckBox.createAppearanceStream()};$(Nt,nt);var Ge=function(){tt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,13))},set:function(Me){Boolean(Me)===!0?this.Ff=G(this.Ff,13):this.Ff=pe(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,21))},set:function(Me){Boolean(Me)===!0?this.Ff=G(this.Ff,21):this.Ff=pe(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,23))},set:function(Me){Boolean(Me)===!0?this.Ff=G(this.Ff,23):this.Ff=pe(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,24))},set:function(Me){Boolean(Me)===!0?this.Ff=G(this.Ff,24):this.Ff=pe(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,25))},set:function(Me){Boolean(Me)===!0?this.Ff=G(this.Ff,25):this.Ff=pe(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,26))},set:function(Me){Boolean(Me)===!0?this.Ff=G(this.Ff,26):this.Ff=pe(this.Ff,26)}});var Te=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return Te},set:function(Me){Te=Me}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return Te},set:function(Me){Number.isInteger(Me)&&(Te=Me)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};$(Ge,tt);var ie=function(){Ge.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(He(this.Ff,14))},set:function(ke){Boolean(ke)===!0?this.Ff=G(this.Ff,14):this.Ff=pe(this.Ff,14)}}),this.password=!0};$(ie,Ge);var Y={CheckBox:{createAppearanceStream:function(){return{N:{On:Y.CheckBox.YesNormal},D:{On:Y.CheckBox.YesPushDown,Off:Y.CheckBox.OffPushDown}}},YesPushDown:function(Te){var ke=he(Te);ke.scope=Te.scope;var Me=[],Ze=Te.scope.internal.getFont(Te.fontName,Te.fontStyle).id,Xe=Te.scope.__private__.encodeColorString(Te.color),qe=X(Te,Te.caption);return Me.push("0.749023 g"),Me.push("0 0 "+ae(Y.internal.getWidth(Te))+" "+ae(Y.internal.getHeight(Te))+" re"),Me.push("f"),Me.push("BMC"),Me.push("q"),Me.push("0 0 1 rg"),Me.push("/"+Ze+" "+ae(qe.fontSize)+" Tf "+Xe),Me.push("BT"),Me.push(qe.text),Me.push("ET"),Me.push("Q"),Me.push("EMC"),ke.stream=Me.join(`
|
|
|
`),ke},YesNormal:function(Te){var ke=he(Te);ke.scope=Te.scope;var Me=Te.scope.internal.getFont(Te.fontName,Te.fontStyle).id,Ze=Te.scope.__private__.encodeColorString(Te.color),Xe=[],qe=Y.internal.getHeight(Te),mt=Y.internal.getWidth(Te),ht=X(Te,Te.caption);return Xe.push("1 g"),Xe.push("0 0 "+ae(mt)+" "+ae(qe)+" re"),Xe.push("f"),Xe.push("q"),Xe.push("0 0 1 rg"),Xe.push("0 0 "+ae(mt-1)+" "+ae(qe-1)+" re"),Xe.push("W"),Xe.push("n"),Xe.push("0 g"),Xe.push("BT"),Xe.push("/"+Me+" "+ae(ht.fontSize)+" Tf "+Ze),Xe.push(ht.text),Xe.push("ET"),Xe.push("Q"),ke.stream=Xe.join(`
|
|
|
`),ke},OffPushDown:function(Te){var ke=he(Te);ke.scope=Te.scope;var Me=[];return Me.push("0.749023 g"),Me.push("0 0 "+ae(Y.internal.getWidth(Te))+" "+ae(Y.internal.getHeight(Te))+" re"),Me.push("f"),ke.stream=Me.join(`
|
|
|
`),ke}},RadioButton:{Circle:{createAppearanceStream:function(Te){var ke={D:{Off:Y.RadioButton.Circle.OffPushDown},N:{}};return ke.N[Te]=Y.RadioButton.Circle.YesNormal,ke.D[Te]=Y.RadioButton.Circle.YesPushDown,ke},getCA:function(){return"l"},YesNormal:function(Te){var ke=he(Te);ke.scope=Te.scope;var Me=[],Ze=Y.internal.getWidth(Te)<=Y.internal.getHeight(Te)?Y.internal.getWidth(Te)/4:Y.internal.getHeight(Te)/4;Ze=Number((.9*Ze).toFixed(5));var Xe=Y.internal.Bezier_C,qe=Number((Ze*Xe).toFixed(5));return Me.push("q"),Me.push("1 0 0 1 "+se(Y.internal.getWidth(Te)/2)+" "+se(Y.internal.getHeight(Te)/2)+" cm"),Me.push(Ze+" 0 m"),Me.push(Ze+" "+qe+" "+qe+" "+Ze+" 0 "+Ze+" c"),Me.push("-"+qe+" "+Ze+" -"+Ze+" "+qe+" -"+Ze+" 0 c"),Me.push("-"+Ze+" -"+qe+" -"+qe+" -"+Ze+" 0 -"+Ze+" c"),Me.push(qe+" -"+Ze+" "+Ze+" -"+qe+" "+Ze+" 0 c"),Me.push("f"),Me.push("Q"),ke.stream=Me.join(`
|
|
|
`),ke},YesPushDown:function(Te){var ke=he(Te);ke.scope=Te.scope;var Me=[],Ze=Y.internal.getWidth(Te)<=Y.internal.getHeight(Te)?Y.internal.getWidth(Te)/4:Y.internal.getHeight(Te)/4;Ze=Number((.9*Ze).toFixed(5));var Xe=Number((2*Ze).toFixed(5)),qe=Number((Xe*Y.internal.Bezier_C).toFixed(5)),mt=Number((Ze*Y.internal.Bezier_C).toFixed(5));return Me.push("0.749023 g"),Me.push("q"),Me.push("1 0 0 1 "+se(Y.internal.getWidth(Te)/2)+" "+se(Y.internal.getHeight(Te)/2)+" cm"),Me.push(Xe+" 0 m"),Me.push(Xe+" "+qe+" "+qe+" "+Xe+" 0 "+Xe+" c"),Me.push("-"+qe+" "+Xe+" -"+Xe+" "+qe+" -"+Xe+" 0 c"),Me.push("-"+Xe+" -"+qe+" -"+qe+" -"+Xe+" 0 -"+Xe+" c"),Me.push(qe+" -"+Xe+" "+Xe+" -"+qe+" "+Xe+" 0 c"),Me.push("f"),Me.push("Q"),Me.push("0 g"),Me.push("q"),Me.push("1 0 0 1 "+se(Y.internal.getWidth(Te)/2)+" "+se(Y.internal.getHeight(Te)/2)+" cm"),Me.push(Ze+" 0 m"),Me.push(Ze+" "+mt+" "+mt+" "+Ze+" 0 "+Ze+" c"),Me.push("-"+mt+" "+Ze+" -"+Ze+" "+mt+" -"+Ze+" 0 c"),Me.push("-"+Ze+" -"+mt+" -"+mt+" -"+Ze+" 0 -"+Ze+" c"),Me.push(mt+" -"+Ze+" "+Ze+" -"+mt+" "+Ze+" 0 c"),Me.push("f"),Me.push("Q"),ke.stream=Me.join(`
|
|
|
`),ke},OffPushDown:function(Te){var ke=he(Te);ke.scope=Te.scope;var Me=[],Ze=Y.internal.getWidth(Te)<=Y.internal.getHeight(Te)?Y.internal.getWidth(Te)/4:Y.internal.getHeight(Te)/4;Ze=Number((.9*Ze).toFixed(5));var Xe=Number((2*Ze).toFixed(5)),qe=Number((Xe*Y.internal.Bezier_C).toFixed(5));return Me.push("0.749023 g"),Me.push("q"),Me.push("1 0 0 1 "+se(Y.internal.getWidth(Te)/2)+" "+se(Y.internal.getHeight(Te)/2)+" cm"),Me.push(Xe+" 0 m"),Me.push(Xe+" "+qe+" "+qe+" "+Xe+" 0 "+Xe+" c"),Me.push("-"+qe+" "+Xe+" -"+Xe+" "+qe+" -"+Xe+" 0 c"),Me.push("-"+Xe+" -"+qe+" -"+qe+" -"+Xe+" 0 -"+Xe+" c"),Me.push(qe+" -"+Xe+" "+Xe+" -"+qe+" "+Xe+" 0 c"),Me.push("f"),Me.push("Q"),ke.stream=Me.join(`
|
|
|
`),ke}},Cross:{createAppearanceStream:function(Te){var ke={D:{Off:Y.RadioButton.Cross.OffPushDown},N:{}};return ke.N[Te]=Y.RadioButton.Cross.YesNormal,ke.D[Te]=Y.RadioButton.Cross.YesPushDown,ke},getCA:function(){return"8"},YesNormal:function(Te){var ke=he(Te);ke.scope=Te.scope;var Me=[],Ze=Y.internal.calculateCross(Te);return Me.push("q"),Me.push("1 1 "+ae(Y.internal.getWidth(Te)-2)+" "+ae(Y.internal.getHeight(Te)-2)+" re"),Me.push("W"),Me.push("n"),Me.push(ae(Ze.x1.x)+" "+ae(Ze.x1.y)+" m"),Me.push(ae(Ze.x2.x)+" "+ae(Ze.x2.y)+" l"),Me.push(ae(Ze.x4.x)+" "+ae(Ze.x4.y)+" m"),Me.push(ae(Ze.x3.x)+" "+ae(Ze.x3.y)+" l"),Me.push("s"),Me.push("Q"),ke.stream=Me.join(`
|
|
|
`),ke},YesPushDown:function(Te){var ke=he(Te);ke.scope=Te.scope;var Me=Y.internal.calculateCross(Te),Ze=[];return Ze.push("0.749023 g"),Ze.push("0 0 "+ae(Y.internal.getWidth(Te))+" "+ae(Y.internal.getHeight(Te))+" re"),Ze.push("f"),Ze.push("q"),Ze.push("1 1 "+ae(Y.internal.getWidth(Te)-2)+" "+ae(Y.internal.getHeight(Te)-2)+" re"),Ze.push("W"),Ze.push("n"),Ze.push(ae(Me.x1.x)+" "+ae(Me.x1.y)+" m"),Ze.push(ae(Me.x2.x)+" "+ae(Me.x2.y)+" l"),Ze.push(ae(Me.x4.x)+" "+ae(Me.x4.y)+" m"),Ze.push(ae(Me.x3.x)+" "+ae(Me.x3.y)+" l"),Ze.push("s"),Ze.push("Q"),ke.stream=Ze.join(`
|
|
|
`),ke},OffPushDown:function(Te){var ke=he(Te);ke.scope=Te.scope;var Me=[];return Me.push("0.749023 g"),Me.push("0 0 "+ae(Y.internal.getWidth(Te))+" "+ae(Y.internal.getHeight(Te))+" re"),Me.push("f"),ke.stream=Me.join(`
|
|
|
`),ke}}},createDefaultAppearanceStream:function(Te){var ke=Te.scope.internal.getFont(Te.fontName,Te.fontStyle).id,Me=Te.scope.__private__.encodeColorString(Te.color);return"/"+ke+" "+Te.fontSize+" Tf "+Me}};Y.internal={Bezier_C:.551915024494,calculateCross:function(Te){var ke=Y.internal.getWidth(Te),Me=Y.internal.getHeight(Te),Ze=Math.min(ke,Me);return{x1:{x:(ke-Ze)/2,y:(Me-Ze)/2+Ze},x2:{x:(ke-Ze)/2+Ze,y:(Me-Ze)/2},x3:{x:(ke-Ze)/2,y:(Me-Ze)/2},x4:{x:(ke-Ze)/2+Ze,y:(Me-Ze)/2+Ze}}}},Y.internal.getWidth=function($e){var Te=0;return b()($e)==="object"&&(Te=ge($e.Rect[2])),Te},Y.internal.getHeight=function($e){var Te=0;return b()($e)==="object"&&(Te=ge($e.Rect[3])),Te};var we=U.addField=function($e){if(Ae(this,$e),!($e instanceof tt))throw new Error("Invalid argument passed to jsPDF.addField.");var Te;return(Te=$e).scope.internal.acroformPlugin.printedOut&&(Te.scope.internal.acroformPlugin.printedOut=!1,Te.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),Te.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(Te),$e.page=$e.scope.internal.getCurrentPageInfo().pageNumber,this};U.AcroFormChoiceField=Je,U.AcroFormListBox=Oe,U.AcroFormComboBox=pt,U.AcroFormEditBox=Qe,U.AcroFormButton=nt,U.AcroFormPushButton=bt,U.AcroFormRadioButton=Tt,U.AcroFormCheckBox=Nt,U.AcroFormTextField=Ge,U.AcroFormPasswordField=ie,U.AcroFormAppearance=Y,U.AcroForm={ChoiceField:Je,ListBox:Oe,ComboBox:pt,EditBox:Qe,Button:nt,PushButton:bt,RadioButton:Tt,CheckBox:Nt,TextField:Ge,PasswordField:ie,Appearance:Y},K.AcroForm={ChoiceField:Je,ListBox:Oe,ComboBox:pt,EditBox:Qe,Button:nt,PushButton:bt,RadioButton:Tt,CheckBox:Nt,TextField:Ge,PasswordField:ie,Appearance:Y};var Ce=K.AcroForm;function le($e){return $e.reduce(function(Te,ke,Me){return Te[ke]=Me,Te},{})}!function($e){$e.__addimage__={};var Te="UNKNOWN",ke={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]]},Me=$e.__addimage__.getImageFileTypeByImageData=function(rn,Ur){var cn,Qr,Vn,Hn,li,Un=Te;if((Ur=Ur||Te)==="RGBA"||rn.data!==void 0&&rn.data instanceof Uint8ClampedArray&&"height"in rn&&"width"in rn)return"RGBA";if(Nn(rn))for(li in ke)for(Vn=ke[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 ke)for(Vn=ke[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===Te&&Ur!==Te&&(Un=Ur),Un},Ze=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 kn=Ur.filter!==void 0?["/"+Ur.filter]:void 0;if(Qr({data:Ur.data,additionalKeyValues:Hn,alreadyAppliedFilters:kn,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")}},Xe=function(){var Ur=this.internal.collections.addImage_images;for(var cn in Ur)Ze.call(this,Ur[cn])},qe=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")},mt=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",Xe),this.internal.events.subscribe("putXobjectDict",qe))},ht=function(){var Ur=this.internal.collections.addImage_images;return mt.call(this),Ur},Vt=function(){return Object.keys(this.internal.collections.addImage_images).length},dr=function(Ur){return typeof $e["process"+Ur.toUpperCase()]=="function"},tr=function(Ur){return b()(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 r(unescape(Qr).split("base64,").pop());var Vn=$e.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 r(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,kn=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(Bn){return Bn.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),kn(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),kn(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=$e.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"};$e.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=$e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},sr=$e.__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=$e.__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=$e.__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},zn=$e.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"};$e.__addimage__.isArrayBuffer=function(rn){return zn()&&rn instanceof ArrayBuffer};var Nn=$e.__addimage__.isArrayBufferView=function(rn){return zn()&&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)},Fn=$e.__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=$e.__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};$e.addImage=function(){var rn,Ur,cn,Qr,Vn,Hn,li,Un,gi;if(typeof arguments[1]=="number"?(Ur=Te,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]),b()(rn=arguments[0])==="object"&&!tr(rn)&&"imageData"in rn){var kn=rn;rn=kn.imageData,Ur=kn.format||Ur||Te,cn=kn.x||cn||0,Qr=kn.y||Qr||0,Vn=kn.w||kn.width||Vn,Hn=kn.h||kn.height||Hn,li=kn.alias||li,Un=kn.compression||Un,gi=kn.rotation||kn.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");mt.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"&&Me(Ur)===Te){Ur=unescape(Ur);var gi=mi(Ur,!1);(gi!==""||(gi=$e.loadFile(Ur,!0))!==void 0)&&(Ur=gi)}if(tr(Ur)&&(Ur=ir(Ur,cn)),cn=Me(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(kn){return typeof kn=="string"||Nn(kn)?sr(kn):Nn(kn.data)?sr(kn.data):null}(Ur)),(Hn=_t.call(this,Qr))||(zn()&&(Ur instanceof Uint8Array||cn==="RGBA"||(li=Ur,Ur=Fn(Ur))),Hn=this["process"+cn.toUpperCase()](Ur,Vt.call(this),Qr,function(kn){return kn&&typeof kn=="string"&&(kn=kn.toUpperCase()),kn in $e.image_compression?kn:Ar.NONE}(Vn),li)),!Hn)throw new Error("An unknown error occurred whilst processing the image.");return Hn},mi=$e.__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=r(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};$e.getImageProperties=function(rn){var Ur,cn,Qr="";if(tr(rn)&&(rn=ir(rn)),typeof rn=="string"&&Me(rn)===Te&&((Qr=mi(rn,!1))===""&&(Qr=$e.loadFile(rn)||""),rn=Qr),cn=Me(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(!zn()||rn instanceof Uint8Array||(rn=Fn(rn)),!(Ur=this["process"+cn.toUpperCase()](rn)))throw new Error("An unknown error occurred whilst processing the image");return Ur.fileType=cn,Ur}}(K.API),function($e){var Te=function(Me){if(Me!==void 0&&Me!="")return!0};K.API.events.push(["addPage",function(ke){this.internal.getPageInfo(ke.pageNumber).pageContext.annotations=[]}]),$e.events.push(["putPage",function(ke){for(var Me,Ze,Xe,qe=this.internal.getCoordinateString,mt=this.internal.getVerticalCoordinateString,ht=this.internal.getPageInfoByObjId(ke.objId),Vt=ke.pageContext.annotations,dr=!1,tr=0;tr<Vt.length&&!dr;tr++)switch((Me=Vt[tr]).type){case"link":(Te(Me.options.url)||Te(Me.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++){Me=Vt[ir];var _t=this.internal.pdfEscape,gr=this.internal.getEncryptor(ke.objId);switch(Me.type){case"reference":this.internal.write(" "+Me.object.objId+" 0 R ");break;case"text":var jt=this.internal.newAdditionalObject(),Sr=this.internal.newAdditionalObject(),Ar=this.internal.getEncryptor(jt.objId),sr=Me.title||"Note";Xe="<</Type /Annot /Subtype /Text "+(Ze="/Rect ["+qe(Me.bounds.x)+" "+mt(Me.bounds.y+Me.bounds.h)+" "+qe(Me.bounds.x+Me.bounds.w)+" "+mt(Me.bounds.y)+"] ")+"/Contents ("+_t(Ar(Me.contents))+")",Xe+=" /Popup "+Sr.objId+" 0 R",Xe+=" /P "+ht.objId+" 0 R",Xe+=" /T ("+_t(Ar(sr))+") >>",jt.content=Xe;var ln=jt.objId+" 0 R";Xe="<</Type /Annot /Subtype /Popup "+(Ze="/Rect ["+qe(Me.bounds.x+30)+" "+mt(Me.bounds.y+Me.bounds.h)+" "+qe(Me.bounds.x+Me.bounds.w+30)+" "+mt(Me.bounds.y)+"] ")+" /Parent "+ln,Me.open&&(Xe+=" /Open true"),Xe+=" >>",Sr.content=Xe,this.internal.write(jt.objId,"0 R",Sr.objId,"0 R");break;case"freetext":Ze="/Rect ["+qe(Me.bounds.x)+" "+mt(Me.bounds.y)+" "+qe(Me.bounds.x+Me.bounds.w)+" "+mt(Me.bounds.y+Me.bounds.h)+"] ";var _n=Me.color||"#000000";Xe="<</Type /Annot /Subtype /FreeText "+Ze+"/Contents ("+_t(gr(Me.contents))+")",Xe+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+_n+")",Xe+=" /Border [0 0 0]",Xe+=" >>",this.internal.write(Xe);break;case"link":if(Me.options.name){var zn=this.annotations._nameMap[Me.options.name];Me.options.pageNumber=zn.page,Me.options.top=zn.y}else Me.options.top||(Me.options.top=0);if(Ze="/Rect ["+Me.finalBounds.x+" "+Me.finalBounds.y+" "+Me.finalBounds.w+" "+Me.finalBounds.h+"] ",Xe="",Me.options.url)Xe="<</Type /Annot /Subtype /Link "+Ze+"/Border [0 0 0] /A <</S /URI /URI ("+_t(gr(Me.options.url))+") >>";else if(Me.options.pageNumber)switch(Xe="<</Type /Annot /Subtype /Link "+Ze+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(Me.options.pageNumber).objId+" 0 R",Me.options.magFactor=Me.options.magFactor||"XYZ",Me.options.magFactor){case"Fit":Xe+=" /Fit]";break;case"FitH":Xe+=" /FitH "+Me.options.top+"]";break;case"FitV":Me.options.left=Me.options.left||0,Xe+=" /FitV "+Me.options.left+"]";break;case"XYZ":default:var Nn=mt(Me.options.top);Me.options.left=Me.options.left||0,Me.options.zoom===void 0&&(Me.options.zoom=0),Xe+=" /XYZ "+Me.options.left+" "+Nn+" "+Me.options.zoom+"]"}Xe!=""&&(Xe+=" >>",this.internal.write(Xe))}}this.internal.write("]")}}]),$e.createAnnotation=function(ke){var Me=this.internal.getCurrentPageInfo();switch(ke.type){case"link":this.link(ke.bounds.x,ke.bounds.y,ke.bounds.w,ke.bounds.h,ke);break;case"text":case"freetext":Me.pageContext.annotations.push(ke)}},$e.link=function(ke,Me,Ze,Xe,qe){var mt=this.internal.getCurrentPageInfo(),ht=this.internal.getCoordinateString,Vt=this.internal.getVerticalCoordinateString;mt.pageContext.annotations.push({finalBounds:{x:ht(ke),y:Vt(Me),w:ht(ke+Ze),h:Vt(Me+Xe)},options:qe,type:"link"})},$e.textWithLink=function(ke,Me,Ze,Xe){var qe=this.getTextWidth(ke),mt=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(ke,Me,Ze,Xe),Ze+=.2*mt,Xe.align==="center"&&(Me-=qe/2),Xe.align==="right"&&(Me-=qe),this.link(Me,Ze-mt,qe,mt,Xe),qe},$e.getTextWidth=function(ke){var Me=this.internal.getFontSize();return this.getStringUnitWidth(ke)*Me/this.internal.scaleFactor}}(K.API),function($e){var Te={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]},ke={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}},Me={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},Ze=[1570,1571,1573,1575];$e.__arabicParser__={};var Xe=$e.__arabicParser__.isInArabicSubstitutionA=function(jt){return Te[jt.charCodeAt(0)]!==void 0},qe=$e.__arabicParser__.isArabicLetter=function(jt){return typeof jt=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(jt)},mt=$e.__arabicParser__.isArabicEndLetter=function(jt){return qe(jt)&&Xe(jt)&&Te[jt.charCodeAt(0)].length<=2},ht=$e.__arabicParser__.isArabicAlfLetter=function(jt){return qe(jt)&&Ze.indexOf(jt.charCodeAt(0))>=0};$e.__arabicParser__.arabicLetterHasIsolatedForm=function(jt){return qe(jt)&&Xe(jt)&&Te[jt.charCodeAt(0)].length>=1};var Vt=$e.__arabicParser__.arabicLetterHasFinalForm=function(jt){return qe(jt)&&Xe(jt)&&Te[jt.charCodeAt(0)].length>=2};$e.__arabicParser__.arabicLetterHasInitialForm=function(jt){return qe(jt)&&Xe(jt)&&Te[jt.charCodeAt(0)].length>=3};var dr=$e.__arabicParser__.arabicLetterHasMedialForm=function(jt){return qe(jt)&&Xe(jt)&&Te[jt.charCodeAt(0)].length==4},tr=$e.__arabicParser__.resolveLigatures=function(jt){var Sr=0,Ar=ke,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=ke,ln=0),Sr===jt.length-1&&(Ar=ke,sr+=jt.charAt(Sr-(ln-1)),Sr-=ln-1,ln=0)):(Ar=ke,sr+=jt.charAt(Sr-ln),Sr-=ln,ln=0);return sr};$e.__arabicParser__.isArabicDiacritic=function(jt){return jt!==void 0&&Me[jt.charCodeAt(0)]!==void 0};var ir=$e.__arabicParser__.getCorrectForm=function(jt,Sr,Ar){return qe(jt)?Xe(jt)===!1?-1:!Vt(jt)||!qe(Sr)&&!qe(Ar)||!qe(Ar)&&mt(Sr)||mt(jt)&&!qe(Sr)||mt(jt)&&ht(Sr)||mt(jt)&&mt(Sr)?0:dr(jt)&&qe(Sr)&&!mt(Sr)&&qe(Ar)&&Vt(Ar)?3:mt(jt)||!qe(Ar)?1:2:-1},_t=function(Sr){var Ar=0,sr=0,ln=0,_n="",zn="",Nn="",Fn=(Sr=Sr||"").split("\\s+"),Gn=[];for(Ar=0;Ar<Fn.length;Ar+=1){for(Gn.push(""),sr=0;sr<Fn[Ar].length;sr+=1)_n=Fn[Ar][sr],zn=Fn[Ar][sr-1],Nn=Fn[Ar][sr+1],qe(_n)?(ln=ir(_n,zn,Nn),Gn[Ar]+=ln!==-1?String.fromCharCode(Te[_n.charCodeAt(0)][ln]):_n):Gn[Ar]+=_n;Gn[Ar]=tr(Gn[Ar])}return Gn.join(" ")},gr=$e.__arabicParser__.processArabic=$e.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])};$e.events.push(["preProcessText",gr])}(K.API),K.API.autoPrint=function($e){var Te;switch(($e=$e||{}).variant=$e.variant||"non-conform",$e.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){Te=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 "+Te+" 0 R")})}return this},function($e){var Te=function(){var Me=void 0;Object.defineProperty(this,"pdf",{get:function(){return Me},set:function(Vt){Me=Vt}});var Ze=150;Object.defineProperty(this,"width",{get:function(){return Ze},set:function(Vt){Ze=isNaN(Vt)||Number.isInteger(Vt)===!1||Vt<0?150:Vt,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=Ze+1)}});var Xe=300;Object.defineProperty(this,"height",{get:function(){return Xe},set:function(Vt){Xe=isNaN(Vt)||Number.isInteger(Vt)===!1||Vt<0?300:Vt,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=Xe+1)}});var qe=[];Object.defineProperty(this,"childNodes",{get:function(){return qe},set:function(Vt){qe=Vt}});var mt={};Object.defineProperty(this,"style",{get:function(){return mt},set:function(Vt){mt=Vt}}),Object.defineProperty(this,"parentNode",{})};Te.prototype.getContext=function(ke,Me){var Ze;if((ke=ke||"2d")!=="2d")return null;for(Ze in Me)this.pdf.context2d.hasOwnProperty(Ze)&&(this.pdf.context2d[Ze]=Me[Ze]);return this.pdf.context2d._canvas=this,this.pdf.context2d},Te.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},$e.events.push(["initialized",function(){this.canvas=new Te,this.canvas.pdf=this}])}(K.API),function($e){var Te={left:0,top:0,bottom:0,right:0},ke=!1,Me=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({},Te),this.internal.__cell__.margins.width=this.getPageWidth(),Ze.call(this))},Ze=function(){this.internal.__cell__.lastCell=new Xe,this.internal.__cell__.pages=1},Xe=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};Xe.prototype.clone=function(){return new Xe(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},Xe.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},$e.setHeaderFunction=function(ht){return Me.call(this),this.internal.__cell__.headerFunction=typeof ht=="function"?ht:void 0,this},$e.getTextDimensions=function(ht,Vt){Me.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)}},$e.cellAddPage=function(){Me.call(this),this.addPage();var ht=this.internal.__cell__.margins||Te;return this.internal.__cell__.lastCell=new Xe(ht.left,ht.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var qe=$e.cell=function(){var ht;ht=arguments[0]instanceof Xe?arguments[0]:new Xe(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),Me.call(this);var Vt=this.internal.__cell__.lastCell,dr=this.internal.__cell__.padding,tr=this.internal.__cell__.margins||Te,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,ke===!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};$e.table=function(ht,Vt,dr,tr,ir){if(Me.call(this),!dr)throw new Error("No data for PDF table.");var _t,gr,jt,Sr,Ar=[],sr=[],ln=[],_n={},zn={},Nn=[],Fn=[],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()},Te),Ur=typeof ir.padding=="number"?ir.padding:3,cn=ir.headerBackgroundColor||"#c8c8c8",Qr=ir.headerTextColor||"#000";if(Ze.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)&&b()(tr[0])==="object")for(Ar=tr.map(function(kn){return kn.name}),sr=tr.map(function(kn){return kn.prompt||kn.name||""}),ln=tr.map(function(kn){return kn.align||"left"}),_t=0;_t<tr.length;_t+=1)zn[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(kn){return kn[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);zn[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=mt.call(this,Vn,zn);Fn=Ar.map(function(kn){return new Xe(ht,Vt,zn[kn],Hn,Vn[kn].text,void 0,Vn[kn].align)}),this.setTableHeaderRow(Fn),this.printHeaderRow(1,!1)}var li=tr.reduce(function(kn,di){return kn[di.name]=di.align,kn},{});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=mt.call(this,dr[_t],zn);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),qe.call(this,new Xe(ht,Vt,zn[Ar[jt]],Un,gi,_t+2,li[Ar[jt]]))}}return this.internal.__cell__.table_x=ht,this.internal.__cell__.table_y=Vt,this};var mt=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)};$e.setTableHeaderRow=function(ht){Me.call(this),this.internal.__cell__.tableHeaderRow=ht},$e.printHeaderRow=function(ht,Vt){if(Me.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var dr;if(ke=!0,typeof this.internal.__cell__.headerFunction=="function"){var tr=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new Xe(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),qe.call(this,dr),this.setTextColor(gr)}ir.length>0&&this.setTableHeaderRow(ir),this.setFont(void 0,"normal"),ke=!1}}(K.API);var ot={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},wt=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],rt=le(wt),It=[100,200,300,400,500,600,700,800,900],Gt=le(It);function lr($e){var Te=$e.family.replace(/"|'/g,"").toLowerCase(),ke=function(Xe){return ot[Xe=Xe||"normal"]?Xe:"normal"}($e.style),Me=function(Xe){if(!Xe)return 400;if(typeof Xe=="number")return Xe>=100&&Xe<=900&&Xe%100==0?Xe:400;if(/^\d00$/.test(Xe))return parseInt(Xe);switch(Xe){case"bold":return 700;case"normal":default:return 400}}($e.weight),Ze=function(Xe){return typeof rt[Xe=Xe||"normal"]=="number"?Xe:"normal"}($e.stretch);return{family:Te,style:ke,weight:Me,stretch:Ze,src:$e.src||[],ref:$e.ref||{name:Te,style:[Ze,ke,Me].join(" ")}}}function pr($e,Te,ke,Me){var Ze;for(Ze=ke;Ze>=0&&Ze<Te.length;Ze+=Me)if($e[Te[Ze]])return $e[Te[Ze]];for(Ze=ke;Ze>=0&&Ze<Te.length;Ze-=Me)if($e[Te[Ze]])return $e[Te[Ze]]}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 Ot($e){return[$e.stretch,$e.style,$e.weight,$e.family].join(" ")}function At($e,Te,ke){for(var Me=(ke=ke||{}).defaultFontFamily||"times",Ze=Object.assign({},Rr,ke.genericFontFamilies||{}),Xe=null,qe=null,mt=0;mt<Te.length;++mt)if(Ze[(Xe=lr(Te[mt])).family]&&(Xe.family=Ze[Xe.family]),$e.hasOwnProperty(Xe.family)){qe=$e[Xe.family];break}if(!(qe=qe||$e[Me]))throw new Error("Could not find a font-family for the rule '"+Ot(Xe)+"' and default family '"+Me+"'.");if(qe=function(ht,Vt){if(Vt[ht])return Vt[ht];var dr=rt[ht],tr=dr<=rt.normal?-1:1,ir=pr(Vt,wt,dr,tr);if(!ir)throw new Error("Could not find a matching font-stretch value for "+ht);return ir}(Xe.stretch,qe),qe=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)}(Xe.style,qe),!(qe=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,It,dr,ht<400?-1:1);if(!tr)throw new Error("Could not find a matching font-weight for value "+ht);return tr}(Xe.weight,qe)))throw new Error("Failed to resolve a font for the rule '"+Ot(Xe)+"'.");return qe}function Jt($e){return $e.trimLeft()}function br($e,Te){for(var ke=0;ke<$e.length;){if($e.charAt(ke)===Te)return[$e.substring(0,ke),$e.substring(ke+1)];ke+=1}return null}function Lr($e){var Te=$e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return Te===null?null:[Te[0],$e.substring(Te[0].length)]}var Zr,In,Gr,Tr=["times"];!function($e){var Te,ke,Me,Ze,Xe,qe,mt,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 qe,this.miterLimit=xr.miterLimit||10,this.lastPoint=xr.lastPoint||new qe,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};$e.events.push(["initialized",function(){this.context2d=new tr(this),Te=this.internal.f2,ke=this.internal.getCoordinateString,Me=this.internal.getVerticalCoordinateString,Ze=this.internal.getHorizontalCoordinate,Xe=this.internal.getVerticalCoordinate,qe=this.internal.Point,mt=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 Bn=0;Object.defineProperty(this,"posX",{get:function(){return Bn},set:function(hi){isNaN(hi)||(Bn=hi)}});var Wn=0;Object.defineProperty(this,"posY",{get:function(){return Wn},set:function(hi){isNaN(hi)||(Wn=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 Jn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Jn},set:function(hi){Jn=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 Bi=null;function ja(Xr,hi){if(Bi===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());Bi=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 Bi}var Qn=null;Object.defineProperty(this,"fontFaces",{get:function(){return Qn},set:function(hi){Bi=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(Wt){var vr,or,Vr=[],Kr=Wt.trim();if(Kr==="")return Tr;if(Kr in xt)return[xt[Kr]];for(;Kr!=="";){switch(or=null,vr=(Kr=Jt(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=Jt(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(Wt){return{family:Wt,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 Jr="",Ke={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){Jr=ha[gt];break}if(Ir==="bolditalic"&&this.pdf.internal.getFont(ha[gt],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Jr=ha[gt],Ir="bold";else if(this.pdf.internal.getFont(ha[gt],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Jr=ha[gt],Ir="normal";break}}if(Jr===""){for(var Xt=0;Xt<ha.length;Xt++)if(Ke[ha[Xt]]){Jr=Ke[ha[Xt]];break}}Jr=Jr===""?"Times":Jr,this.pdf.setFont(Jr,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 s.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var nn=this.ctx.transform.applyToPoint(new qe(qr,xr));this.path.push({type:"mt",x:nn.x,y:nn.y}),this.ctx.lastPoint=new qe(qr,xr)},tr.prototype.closePath=function(){var qr=new qe(0,0),xr=0;for(xr=this.path.length-1;xr!==-1;xr--)if(this.path[xr].type==="begin"&&b()(this.path[xr+1])==="object"&&typeof this.path[xr+1].x=="number"){qr=new qe(this.path[xr+1].x,this.path[xr+1].y),this.path.push({type:"lt",x:qr.x,y:qr.y});break}b()(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 qe(qr.x,qr.y)},tr.prototype.lineTo=function(qr,xr){if(isNaN(qr)||isNaN(xr))throw s.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var nn=this.ctx.transform.applyToPoint(new qe(qr,xr));this.path.push({type:"lt",x:nn.x,y:nn.y}),this.ctx.lastPoint=new qe(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 s.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var On=this.ctx.transform.applyToPoint(new qe(nn,gn)),Bn=this.ctx.transform.applyToPoint(new qe(qr,xr));this.path.push({type:"qct",x1:Bn.x,y1:Bn.y,x:On.x,y:On.y}),this.ctx.lastPoint=new qe(On.x,On.y)},tr.prototype.bezierCurveTo=function(qr,xr,nn,gn,On,Bn){if(isNaN(On)||isNaN(Bn)||isNaN(qr)||isNaN(xr)||isNaN(nn)||isNaN(gn))throw s.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var Wn=this.ctx.transform.applyToPoint(new qe(On,Bn)),$n=this.ctx.transform.applyToPoint(new qe(qr,xr)),Jn=this.ctx.transform.applyToPoint(new qe(nn,gn));this.path.push({type:"bct",x1:$n.x,y1:$n.y,x2:Jn.x,y2:Jn.y,x:Wn.x,y:Wn.y}),this.ctx.lastPoint=new qe(Wn.x,Wn.y)},tr.prototype.arc=function(qr,xr,nn,gn,On,Bn){if(isNaN(qr)||isNaN(xr)||isNaN(nn)||isNaN(gn)||isNaN(On))throw s.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Bn=Boolean(Bn),!this.ctx.transform.isIdentity){var Wn=this.ctx.transform.applyToPoint(new qe(qr,xr));qr=Wn.x,xr=Wn.y;var $n=this.ctx.transform.applyToPoint(new qe(0,nn)),Jn=this.ctx.transform.applyToPoint(new qe(0,0));nn=Math.sqrt(Math.pow($n.x-Jn.x,2)+Math.pow($n.y-Jn.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:Bn})},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 s.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 s.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 s.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 s.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,Bn;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,Bn=0;else{var Wn=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(xr);if(Wn!==null)nn=parseInt(Wn[1]),gn=parseInt(Wn[2]),On=parseInt(Wn[3]),Bn=1;else if((Wn=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(xr))!==null)nn=parseInt(Wn[1]),gn=parseInt(Wn[2]),On=parseInt(Wn[3]),Bn=parseFloat(Wn[4]);else{if(Bn=1,typeof xr=="string"&&xr.charAt(0)!=="#"){var $n=new l(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:Bn,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 s.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),Bn=this.ctx.transform.scaleX;Ur.call(this,{text:qr,x:xr,y:nn,scale:Bn,angle:On,align:this.textAlign,maxWidth:gn})}},tr.prototype.strokeText=function(qr,xr,nn,gn){if(isNaN(xr)||isNaN(nn)||typeof qr!="string")throw s.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),Bn=this.ctx.transform.scaleX;Ur.call(this,{text:qr,x:xr,y:nn,scale:Bn,renderingMode:"stroke",angle:On,align:this.textAlign,maxWidth:gn})}},tr.prototype.measureText=function(qr){if(typeof qr!="string")throw s.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,Bn=function($n){var Jn=($n=$n||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Jn}}),this};return new Bn({width:On*=Math.round(96*nn/72*1e4)/1e4})},tr.prototype.scale=function(qr,xr){if(isNaN(qr)||isNaN(xr))throw s.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 s.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 s.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,Bn){if(isNaN(qr)||isNaN(xr)||isNaN(nn)||isNaN(gn)||isNaN(On)||isNaN(Bn))throw s.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var Wn=new ht(qr,xr,nn,gn,On,Bn);this.ctx.transform=this.ctx.transform.multiply(Wn)},tr.prototype.setTransform=function(qr,xr,nn,gn,On,Bn){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,Bn=isNaN(Bn)?0:Bn,this.ctx.transform=new ht(qr,xr,nn,gn,On,Bn)};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,Bn,Wn,$n,Jn){var vi=this.pdf.getImageProperties(qr),Pi=1,Bi=1,ja=1,Qn=1;gn!==void 0&&$n!==void 0&&(ja=$n/gn,Qn=Jn/On,Pi=vi.width/gn*$n/gn,Bi=vi.height/On*Jn/On),Bn===void 0&&(Bn=xr,Wn=nn,xr=0,nn=0),gn!==void 0&&$n===void 0&&($n=gn,Jn=On),gn===void 0&&$n===void 0&&($n=vi.width,Jn=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 mt(Bn-xr*ja,Wn-nn*Qn,gn*Pi,On*Bi)),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 Jr=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Ke=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],Wt=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],-Wt+Ke+this.ctx.prevPageLastElemOffset),zn.call(this,"fill",!0),this.path=vr}var or=JSON.parse(JSON.stringify(Ui));or=sr([or],this.posX+this.margin[3],-Wt+Ke+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],Jr,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 Bn=this.posY+this.ctx.prevPageLastElemOffset;switch(xr.type){default:case"mt":case"lt":On.push(Math.floor((xr.y+Bn)/gn)+1);break;case"arc":On.push(Math.floor((xr.y+Bn-xr.radius)/gn)+1),On.push(Math.floor((xr.y+Bn+xr.radius)/gn)+1);break;case"qct":var Wn=gi(this.ctx.lastPoint.x,this.ctx.lastPoint.y,xr.x1,xr.y1,xr.x,xr.y);On.push(Math.floor((Wn.y+Bn)/gn)+1),On.push(Math.floor((Wn.y+Wn.h+Bn)/gn)+1);break;case"bct":var $n=kn(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+Bn)/gn)+1),On.push(Math.floor(($n.y+$n.h+Bn)/gn)+1);break;case"rect":On.push(Math.floor((xr.y+Bn)/gn)+1),On.push(Math.floor((xr.y+xr.h+Bn)/gn)+1)}for(var Jn=0;Jn<On.length;Jn+=1)for(;this.pdf.internal.getNumberOfPages()<On[Jn];)Ar.call(this);return On},Ar=function(){var xr=this.fillStyle,nn=this.strokeStyle,gn=this.font,On=this.lineCap,Bn=this.lineWidth,Wn=this.lineJoin;this.pdf.addPage(),this.fillStyle=xr,this.strokeStyle=nn,this.font=gn,this.lineCap=On,this.lineWidth=Bn,this.lineJoin=Wn},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,Bn=this.fillStyle,Wn=this.strokeStyle,$n=this.lineCap,Jn=this.lineWidth,vi=Math.abs(Jn*this.ctx.transform.scaleX),Pi=this.lineJoin,Bi=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=Bn,this.strokeStyle=Wn,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],Jr=qi===1?0:Yt+(qi-2)*Ir;if(this.ctx.clip_path.length!==0){var Ke=this.path;gn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=sr(gn,this.posX+this.margin[3],-Jr+ha+this.ctx.prevPageLastElemOffset),zn.call(this,xr,!0),this.path=Ke}if(On=JSON.parse(JSON.stringify(Bi)),this.path=sr(On,this.posX+this.margin[3],-Jr+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()),zn.call(this,xr,nn),gt&&this.pdf.restoreGraphicsState()}this.lineWidth=Jn}else this.lineWidth=vi,zn.call(this,xr,nn),this.lineWidth=Jn;this.path=Bi},zn=function(xr,nn){if((xr!=="stroke"||nn||!gr.call(this))&&(xr==="stroke"||nn||!_t.call(this))){for(var gn,On,Bn=[],Wn=this.path,$n=0;$n<Wn.length;$n++){var Jn=Wn[$n];switch(Jn.type){case"begin":Bn.push({begin:!0});break;case"close":Bn.push({close:!0});break;case"mt":Bn.push({start:Jn,deltas:[],abs:[]});break;case"lt":var vi=Bn.length;if(!isNaN(Wn[$n-1].x)&&(gn=[Jn.x-Wn[$n-1].x,Jn.y-Wn[$n-1].y],vi>0)){for(;vi>=0;vi--)if(Bn[vi-1].close!==!0&&Bn[vi-1].begin!==!0){Bn[vi-1].deltas.push(gn),Bn[vi-1].abs.push(Jn);break}}break;case"bct":gn=[Jn.x1-Wn[$n-1].x,Jn.y1-Wn[$n-1].y,Jn.x2-Wn[$n-1].x,Jn.y2-Wn[$n-1].y,Jn.x-Wn[$n-1].x,Jn.y-Wn[$n-1].y],Bn[Bn.length-1].deltas.push(gn);break;case"qct":var Pi=Wn[$n-1].x+2/3*(Jn.x1-Wn[$n-1].x),Bi=Wn[$n-1].y+2/3*(Jn.y1-Wn[$n-1].y),ja=Jn.x+2/3*(Jn.x1-Jn.x),Qn=Jn.y+2/3*(Jn.y1-Jn.y),Xr=Jn.x,hi=Jn.y;gn=[Pi-Wn[$n-1].x,Bi-Wn[$n-1].y,ja-Wn[$n-1].x,Qn-Wn[$n-1].y,Xr-Wn[$n-1].x,hi-Wn[$n-1].y],Bn[Bn.length-1].deltas.push(gn);break;case"arc":Bn.push({deltas:[],abs:[],arc:!0}),Array.isArray(Bn[Bn.length-1].abs)&&Bn[Bn.length-1].abs.push(Jn)}}On=nn?null:xr==="stroke"?"stroke":"fill";for(var Ri=0;Ri<Bn.length;Ri++){if(Bn[Ri].arc){for(var bi=Bn[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(!Bn[Ri].arc&&Bn[Ri].close!==!0&&Bn[Ri].begin!==!0){var qi=Bn[Ri].start.x,Qi=Bn[Ri].start.y;Qr.call(this,Bn[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}},Fn=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,Bn,Wn,$n,Jn){for(var vi=Hn.call(this,gn,On,Bn,Wn),Pi=0;Pi<vi.length;Pi++){var Bi=vi[Pi];Pi===0&&rn.call(this,Bi.x1+xr,Bi.y1+nn),Vn.call(this,xr,nn,Bi.x2,Bi.y2,Bi.x3,Bi.y3,Bi.x4,Bi.y4)}Jn?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(ke(xr)+" "+Me(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),Bn=Fn.call(this,On)-gn.h,Wn=this.ctx.transform.applyToPoint(new qe(xr.x,On)),$n=this.ctx.transform.decompose(),Jn=new ht;Jn=(Jn=(Jn=Jn.multiply($n.translate)).multiply($n.skew)).multiply($n.scale);for(var vi,Pi,Bi,ja=this.ctx.transform.applyToRectangle(new mt(xr.x,On,gn.w,gn.h)),Qn=Jn.applyToRectangle(new mt(xr.x,Bn,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],Jr=Ir-this.margin[3],Ke=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*Ke+qi),zn.call(this,"fill",!0),this.path=gt}var Xt=sr([JSON.parse(JSON.stringify(Qn))],this.posX+this.margin[3],-Ke+qi+this.ctx.prevPageLastElemOffset)[0];xr.scale>=.01&&(Pi=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Pi*xr.scale),Bi=this.lineWidth,this.lineWidth=Bi*xr.scale);var Wt=this.autoPaging!=="text";if(Wt||Xt.y+Xt.h<=ha){if(Wt||Xt.y>=qi&&Xt.x<=Ir){var vr=Wt?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],-Ke+qi+this.ctx.prevPageLastElemOffset)[0],Vr=Wt&&(ni>bi||ni<Ui)&&jt.call(this);Vr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Jr,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=Bi)}else xr.scale>=.01&&(Pi=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Pi*xr.scale),Bi=this.lineWidth,this.lineWidth=Bi*xr.scale),this.pdf.text(xr.text,Wn.x+this.posX,Wn.y+this.posY,{angle:xr.angle,align:nn,renderingMode:xr.renderingMode,maxWidth:xr.maxWidth}),xr.scale>=.01&&(this.pdf.setFontSize(Pi),this.lineWidth=Bi)},cn=function(xr,nn,gn,On){gn=gn||0,On=On||0,this.pdf.internal.out(ke(xr+gn)+" "+Me(nn+On)+" l")},Qr=function(xr,nn,gn){return this.pdf.lines(xr,nn,gn,null,null)},Vn=function(xr,nn,gn,On,Bn,Wn,$n,Jn){this.pdf.internal.out([Te(Ze(gn+xr)),Te(Xe(On+nn)),Te(Ze(Bn+xr)),Te(Xe(Wn+nn)),Te(Ze($n+xr)),Te(Xe(Jn+nn)),"c"].join(" "))},Hn=function(xr,nn,gn,On){for(var Bn=2*Math.PI,Wn=Math.PI/2;nn>gn;)nn-=Bn;var $n=Math.abs(gn-nn);$n<Bn&&On&&($n=Bn-$n);for(var Jn=[],vi=On?-1:1,Pi=nn;$n>1e-5;){var Bi=Pi+vi*Math.min($n,Wn);Jn.push(li.call(this,xr,Pi,Bi)),$n-=Math.abs(Bi-Pi),Pi=Bi}return Jn},li=function(xr,nn,gn){var On=(gn-nn)/2,Bn=xr*Math.cos(On),Wn=xr*Math.sin(On),$n=Bn,Jn=-Wn,vi=$n*$n+Jn*Jn,Pi=vi+$n*Bn+Jn*Wn,Bi=4/3*(Math.sqrt(2*vi*Pi)-Pi)/($n*Wn-Jn*Bn),ja=$n-Bi*Jn,Qn=Jn+Bi*$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,Bn,Wn){var $n=xr+.5*(gn-xr),Jn=nn+.5*(On-nn),vi=Bn+.5*(gn-Bn),Pi=Wn+.5*(On-Wn),Bi=Math.min(xr,Bn,$n,vi),ja=Math.max(xr,Bn,$n,vi),Qn=Math.min(nn,Wn,Jn,Pi),Xr=Math.max(nn,Wn,Jn,Pi);return new mt(Bi,Qn,ja-Bi,Xr-Qn)},kn=function(xr,nn,gn,On,Bn,Wn,$n,Jn){var vi,Pi,Bi,ja,Qn,Xr,hi,Ri,bi,Ui,ni,qi,Qi,ha,Yt=gn-xr,Ir=On-nn,Jr=Bn-gn,Ke=Wn-On,gt=$n-Bn,Xt=Jn-Wn;for(Pi=0;Pi<41;Pi++)bi=(hi=(Bi=xr+(vi=Pi/40)*Yt)+vi*((Qn=gn+vi*Jr)-Bi))+vi*(Qn+vi*(Bn+vi*gt-Qn)-hi),Ui=(Ri=(ja=nn+vi*Ir)+vi*((Xr=On+vi*Ke)-ja))+vi*(Xr+vi*(Wn+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 mt(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)}}}(K.API),function($e){var Te=function(qe){var mt,ht,Vt,dr,tr,ir,_t,gr,jt,Sr;for(/[^\x00-\xFF]/.test(qe),ht=[],Vt=0,dr=(qe+=mt="\0\0\0\0".slice(qe.length%4||4)).length;dr>Vt;Vt+=4)(tr=(qe.charCodeAt(Vt)<<24)+(qe.charCodeAt(Vt+1)<<16)+(qe.charCodeAt(Vt+2)<<8)+qe.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,mt.length),String.fromCharCode.apply(String,ht)+"~>"},ke=function(qe){var mt,ht,Vt,dr,tr,ir=String,_t="length",gr=255,jt="charCodeAt",Sr="slice",Ar="replace";for(qe[Sr](-2),qe=qe[Sr](0,-2)[Ar](/\s/g,"")[Ar]("z","!!!!!"),Vt=[],dr=0,tr=(qe+=mt="uuuuu"[Sr](qe[_t]%5||5))[_t];tr>dr;dr+=5)ht=52200625*(qe[jt](dr)-33)+614125*(qe[jt](dr+1)-33)+7225*(qe[jt](dr+2)-33)+85*(qe[jt](dr+3)-33)+(qe[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,mt[_t]),ir.fromCharCode.apply(ir,Vt)},Me=function(qe){var mt=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((qe=qe.replace(/\s/g,"")).indexOf(">")!==-1&&(qe=qe.substr(0,qe.indexOf(">"))),qe.length%2&&(qe+="0"),mt.test(qe)===!1)return"";for(var ht="",Vt=0;Vt<qe.length;Vt+=2)ht+=String.fromCharCode("0x"+(qe[Vt]+qe[Vt+1]));return ht},Ze=function(qe){for(var mt=new Uint8Array(qe.length),ht=qe.length;ht--;)mt[ht]=qe.charCodeAt(ht);return qe=(mt=Object(m.b)(mt)).reduce(function(Vt,dr){return Vt+String.fromCharCode(dr)},"")};$e.processDataByFilters=function(Xe,qe){var mt=0,ht=Xe||"",Vt=[];for(typeof(qe=qe||[])=="string"&&(qe=[qe]),mt=0;mt<qe.length;mt+=1)switch(qe[mt]){case"ASCII85Decode":case"/ASCII85Decode":ht=ke(ht),Vt.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":ht=Te(ht),Vt.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":ht=Me(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=Ze(ht),Vt.push("/FlateDecode");break;default:throw new Error('The filter: "'+qe[mt]+'" is not implemented')}return{data:ht,reverseChain:Vt.reverse().join(" ")}}}(K.API),function($e){$e.loadFile=function(Te,ke,Me){return function(Ze,Xe,qe){Xe=Xe!==!1,qe=typeof qe=="function"?qe:function(){};var mt=void 0;try{mt=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)}(Ze,Xe,qe)}catch(ht){}return mt}(Te,ke,Me)},$e.loadImageFile=$e.loadFile}(K.API),function($e){function Te(){return(v.html2canvas?Promise.resolve(v.html2canvas):Promise.resolve().then(d.t.bind(null,"wOnQ",7))).catch(function(qe){return Promise.reject(new Error("Could not load html2canvas: "+qe))}).then(function(qe){return qe.default?qe.default:qe})}function ke(){return(v.DOMPurify?Promise.resolve(v.DOMPurify):d.e(261).then(d.t.bind(null,"qZ2Q",7))).catch(function(qe){return Promise.reject(new Error("Could not load dompurify: "+qe))}).then(function(qe){return qe.default?qe.default:qe})}var Me=function(mt){var ht=b()(mt);return ht==="undefined"?"undefined":ht==="string"||mt instanceof String?"string":ht==="number"||mt instanceof Number?"number":ht==="function"||mt instanceof Function?"function":mt&&mt.constructor===Array?"array":mt&&mt.nodeType===1?"element":ht==="object"?"object":"unknown"},Ze=function(mt,ht){var Vt=document.createElement(mt);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},Xe=function qe(mt){var ht=Object.assign(qe.convert(Promise.resolve()),JSON.parse(JSON.stringify(qe.template))),Vt=qe.convert(Promise.resolve(),ht);return Vt=(Vt=Vt.setProgress(1,qe,1,[qe])).set(mt)};(Xe.prototype=Object.create(Promise.prototype)).constructor=Xe,Xe.convert=function(qe,mt){return qe.__proto__=mt||Xe.prototype,qe},Xe.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"}},Xe.prototype.from=function(qe,mt){return this.then(function(){switch(mt=mt||function(ht){switch(Me(ht)){case"string":return"string";case"element":return ht.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(qe)){case"string":return this.then(ke).then(function(ht){return this.set({src:Ze("div",{innerHTML:qe,dompurify:ht})})});case"element":return this.set({src:qe});case"canvas":return this.set({canvas:qe});case"img":return this.set({img:qe});default:return this.error("Unknown source type.")}})},Xe.prototype.to=function(qe){switch(qe){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},Xe.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var qe={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},mt=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);mt.tagName==="BODY"&&(qe.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=Ze("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=Ze("div",{className:"html2pdf__container",style:qe}),this.prop.container.appendChild(mt),this.prop.container.firstChild.appendChild(Ze("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"})},Xe.prototype.toCanvas=function(){var qe=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(qe).then(Te).then(function(mt){var ht=Object.assign({},this.opt.html2canvas);return delete ht.onrendered,mt(this.prop.container,ht)}).then(function(mt){(this.opt.html2canvas.onrendered||function(){})(mt),this.prop.canvas=mt,document.body.removeChild(this.prop.overlay)})},Xe.prototype.toContext2d=function(){var qe=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(qe).then(Te).then(function(mt){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,mt(this.prop.container,tr)}).then(function(mt){(this.opt.html2canvas.onrendered||function(){})(mt),this.prop.canvas=mt,document.body.removeChild(this.prop.overlay)})},Xe.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var qe=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=qe})},Xe.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},Xe.prototype.output=function(qe,mt,ht){return(ht=ht||"pdf").toLowerCase()==="img"||ht.toLowerCase()==="image"?this.outputImg(qe,mt):this.outputPdf(qe,mt)},Xe.prototype.outputPdf=function(qe,mt){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(qe,mt)})},Xe.prototype.outputImg=function(qe){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(qe){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+qe+'" is not supported.'}})},Xe.prototype.save=function(qe){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(qe?{filename:qe}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},Xe.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},Xe.prototype.set=function(qe){if(Me(qe)!=="object")return this;var mt=Object.keys(qe||{}).map(function(ht){if(ht in Xe.template.prop)return function(){this.prop[ht]=qe[ht]};switch(ht){case"margin":return this.setMargin.bind(this,qe.margin);case"jsPDF":return function(){return this.opt.jsPDF=qe.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,qe.pageSize);default:return function(){this.opt[ht]=qe[ht]}}},this);return this.then(function(){return this.thenList(mt)})},Xe.prototype.get=function(qe,mt){return this.then(function(){var ht=qe in Xe.template.prop?this.prop[qe]:this.opt[qe];return mt?mt(ht):ht})},Xe.prototype.setMargin=function(qe){return this.then(function(){switch(Me(qe)){case"number":qe=[qe,qe,qe,qe];case"array":if(qe.length===2&&(qe=[qe[0],qe[1],qe[0],qe[1]]),qe.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=qe}).then(this.setPageSize)},Xe.prototype.setPageSize=function(qe){function mt(ht,Vt){return Math.floor(ht*Vt/72*96)}return this.then(function(){(qe=qe||K.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(qe.inner={width:qe.width-this.opt.margin[1]-this.opt.margin[3],height:qe.height-this.opt.margin[0]-this.opt.margin[2]},qe.inner.px={width:mt(qe.inner.width,qe.k),height:mt(qe.inner.height,qe.k)},qe.inner.ratio=qe.inner.height/qe.inner.width),this.prop.pageSize=qe})},Xe.prototype.setProgress=function(qe,mt,ht,Vt){return qe!=null&&(this.progress.val=qe),mt!=null&&(this.progress.state=mt),ht!=null&&(this.progress.n=ht),Vt!=null&&(this.progress.stack=Vt),this.progress.ratio=this.progress.val/this.progress.state,this},Xe.prototype.updateProgress=function(qe,mt,ht,Vt){return this.setProgress(qe?this.progress.val+qe:null,mt||null,ht?this.progress.n+ht:null,Vt?this.progress.stack.concat(Vt):null)},Xe.prototype.then=function(qe,mt){var ht=this;return this.thenCore(qe,mt,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})})},Xe.prototype.thenCore=function(qe,mt,ht){ht=ht||Promise.prototype.then,qe&&(qe=qe.bind(this)),mt&&(mt=mt.bind(this));var Vt=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:Xe.convert(Object.assign({},this),Promise.prototype),dr=ht.call(Vt,qe,mt);return Xe.convert(dr,this.__proto__)},Xe.prototype.thenExternal=function(qe,mt){return Promise.prototype.then.call(this,qe,mt)},Xe.prototype.thenList=function(qe){var mt=this;return qe.forEach(function(ht){mt=mt.thenCore(ht)}),mt},Xe.prototype.catch=function(qe){qe&&(qe=qe.bind(this));var mt=Promise.prototype.catch.call(this,qe);return Xe.convert(mt,this)},Xe.prototype.catchExternal=function(qe){return Promise.prototype.catch.call(this,qe)},Xe.prototype.error=function(qe){return this.then(function(){throw new Error(qe)})},Xe.prototype.using=Xe.prototype.set,Xe.prototype.saveAs=Xe.prototype.save,Xe.prototype.export=Xe.prototype.output,Xe.prototype.run=Xe.prototype.then,K.getPageSize=function(qe,mt,ht){if(b()(qe)==="object"){var Vt=qe;qe=Vt.orientation,mt=Vt.unit||mt,ht=Vt.format||ht}mt=mt||"mm",ht=ht||"a4",qe=(""+(qe||"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(mt){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: "+mt}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(qe==="p"||qe==="portrait")qe="p",jt>gr&&(_t=jt,jt=gr,gr=_t);else{if(qe!=="l"&&qe!=="landscape")throw"Invalid orientation: "+qe;qe="l",gr>jt&&(_t=jt,jt=gr,gr=_t)}return{width:jt,height:gr,unit:mt,k:dr,orientation:qe}},$e.html=function(qe,mt){(mt=mt||{}).callback=mt.callback||function(){},mt.html2canvas=mt.html2canvas||{},mt.html2canvas.canvas=mt.html2canvas.canvas||this.canvas,mt.jsPDF=mt.jsPDF||this,mt.fontFaces=mt.fontFaces?mt.fontFaces.map(lr):null;var ht=new Xe(mt);return mt.worker?ht:ht.from(qe).doCallback()}}(K.API),K.API.addJS=function($e){return Gr=$e,this.internal.events.subscribe("postPutResources",function(){Zr=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Zr+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(){Zr!==void 0&&In!==void 0&&this.internal.out("/Names <</JavaScript "+Zr+" 0 R>>")}),this},function($e){var Te;$e.events.push(["postPutResources",function(){var ke=this,Me=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var Ze=ke.outline.render().split(/\r\n/),Xe=0;Xe<Ze.length;Xe++){var qe=Ze[Xe],mt=Me.exec(qe);if(mt!=null){var ht=mt[1];ke.internal.newObjectDeferredBegin(ht,!1)}ke.internal.write(qe)}if(this.outline.createNamedDestinations){var Vt=this.internal.pages.length,dr=[];for(Xe=0;Xe<Vt;Xe++){var tr=ke.internal.newObject();dr.push(tr);var ir=ke.internal.getPageInfo(Xe+1);ke.internal.write("<< /D["+ir.objId+" 0 R /XYZ null null null]>> endobj")}var _t=ke.internal.newObject();for(ke.internal.write("<< /Names [ "),Xe=0;Xe<dr.length;Xe++)ke.internal.write("(page_"+(Xe+1)+")"+dr[Xe]+" 0 R");ke.internal.write(" ] >>","endobj"),Te=ke.internal.newObject(),ke.internal.write("<< /Dests "+_t+" 0 R"),ke.internal.write(">>","endobj")}}]),$e.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 "+Te+" 0 R"))}]),$e.events.push(["initialized",function(){var ke=this;ke.outline={createNamedDestinations:!1,root:{children:[]}},ke.outline.add=function(Me,Ze,Xe){var qe={title:Ze,options:Xe,children:[]};return Me==null&&(Me=this.root),Me.children.push(qe),qe},ke.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=ke,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},ke.outline.genIds_r=function(Me){Me.id=ke.internal.newObjectDeferred();for(var Ze=0;Ze<Me.children.length;Ze++)this.genIds_r(Me.children[Ze])},ke.outline.renderRoot=function(Me){this.objStart(Me),this.line("/Type /Outlines"),Me.children.length>0&&(this.line("/First "+this.makeRef(Me.children[0])),this.line("/Last "+this.makeRef(Me.children[Me.children.length-1]))),this.line("/Count "+this.count_r({count:0},Me)),this.objEnd()},ke.outline.renderItems=function(Me){for(var Ze=this.ctx.pdf.internal.getVerticalCoordinateString,Xe=0;Xe<Me.children.length;Xe++){var qe=Me.children[Xe];this.objStart(qe),this.line("/Title "+this.makeString(qe.title)),this.line("/Parent "+this.makeRef(Me)),Xe>0&&this.line("/Prev "+this.makeRef(Me.children[Xe-1])),Xe<Me.children.length-1&&this.line("/Next "+this.makeRef(Me.children[Xe+1])),qe.children.length>0&&(this.line("/First "+this.makeRef(qe.children[0])),this.line("/Last "+this.makeRef(qe.children[qe.children.length-1])));var mt=this.count=this.count_r({count:0},qe);if(mt>0&&this.line("/Count "+mt),qe.options&&qe.options.pageNumber){var ht=ke.internal.getPageInfo(qe.options.pageNumber);this.line("/Dest ["+ht.objId+" 0 R /XYZ 0 "+Ze(0)+" 0]")}this.objEnd()}for(var Vt=0;Vt<Me.children.length;Vt++)this.renderItems(Me.children[Vt])},ke.outline.line=function(Me){this.ctx.val+=Me+`\r
|
|
|
`},ke.outline.makeRef=function(Me){return Me.id+" 0 R"},ke.outline.makeString=function(Me){return"("+ke.internal.pdfEscape(Me)+")"},ke.outline.objStart=function(Me){this.ctx.val+=`\r
|
|
|
`+Me.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},ke.outline.objEnd=function(){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},ke.outline.count_r=function(Me,Ze){for(var Xe=0;Xe<Ze.children.length;Xe++)Me.count++,this.count_r(Me,Ze.children[Xe]);return Me.count}}])}(K.API),function($e){var Te=[192,193,194,195,196,197,198,199];$e.processJPEG=function(ke,Me,Ze,Xe,qe,mt){var ht,Vt=this.decode.DCT_DECODE,dr=null;if(typeof ke=="string"||this.__addimage__.isArrayBuffer(ke)||this.__addimage__.isArrayBufferView(ke)){switch(ke=qe||ke,ke=this.__addimage__.isArrayBuffer(ke)?new Uint8Array(ke):ke,(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,Te.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}(ke=this.__addimage__.isArrayBufferView(ke)?this.__addimage__.arrayBufferToBinaryString(ke):ke)).numcomponents){case 1:mt=this.color_spaces.DEVICE_GRAY;break;case 4:mt=this.color_spaces.DEVICE_CMYK;break;case 3:mt=this.color_spaces.DEVICE_RGB}dr={data:ke,width:ht.width,height:ht.height,colorSpace:mt,bitsPerComponent:8,filter:Vt,index:Me,alias:Ze}}return dr}}(K.API);var fr,vt,ft,De,je,Ye=function(){var $e,Te,ke;function Me(Xe){var qe,mt,ht,Vt,dr,tr,ir,_t,gr,jt,Sr,Ar,sr,ln;for(this.data=Xe,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},tr=null;;){switch(qe=this.readUInt32(),gr=function(){var _n,zn;for(zn=[],_n=0;_n<4;++_n)zn.push(String.fromCharCode(this.data[this.pos++]));return zn}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(qe);break;case"fcTL":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,qe-=4),Xe=(tr!=null?tr.data:void 0)||this.imgData,Ar=0;0<=qe?Ar<qe:Ar>qe;0<=qe?++Ar:--Ar)Xe.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(qe),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(qe)[0];break;case 2:this.transparency.rgb=this.read(qe)}break;case"tEXt":ir=(Sr=this.read(qe)).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,mt=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*mt,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=qe}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}Me.prototype.read=function(Xe){var qe,mt;for(mt=[],qe=0;0<=Xe?qe<Xe:qe>Xe;0<=Xe?++qe:--qe)mt.push(this.data[this.pos++]);return mt},Me.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},Me.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},Me.prototype.decodePixels=function(Xe){var qe=this.pixelBitlength/8,mt=new Uint8Array(this.width*this.height*qe),ht=0,Vt=this;if(Xe==null&&(Xe=this.imgData),Xe.length===0)return new Uint8Array(0);function dr(tr,ir,_t,gr){var jt,Sr,Ar,sr,ln,_n,zn,Nn,Fn,Gn,xn,mi,rn,Ur,cn,Qr,Vn,Hn,li,Un,gi,kn=Math.ceil((Vt.width-tr)/_t),di=Math.ceil((Vt.height-ir)/gr),qr=Vt.width==kn&&Vt.height==di;for(Ur=qe*kn,mi=qr?mt:new Uint8Array(Ur*di),_n=Xe.length,rn=0,Sr=0;rn<di&&ht<_n;){switch(Xe[ht++]){case 0:for(sr=Vn=0;Vn<Ur;sr=Vn+=1)mi[Sr++]=Xe[ht++];break;case 1:for(sr=Hn=0;Hn<Ur;sr=Hn+=1)jt=Xe[ht++],ln=sr<qe?0:mi[Sr-qe],mi[Sr++]=(jt+ln)%256;break;case 2:for(sr=li=0;li<Ur;sr=li+=1)jt=Xe[ht++],Ar=(sr-sr%qe)/qe,cn=rn&&mi[(rn-1)*Ur+Ar*qe+sr%qe],mi[Sr++]=(cn+jt)%256;break;case 3:for(sr=Un=0;Un<Ur;sr=Un+=1)jt=Xe[ht++],Ar=(sr-sr%qe)/qe,ln=sr<qe?0:mi[Sr-qe],cn=rn&&mi[(rn-1)*Ur+Ar*qe+sr%qe],mi[Sr++]=(jt+Math.floor((ln+cn)/2))%256;break;case 4:for(sr=gi=0;gi<Ur;sr=gi+=1)jt=Xe[ht++],Ar=(sr-sr%qe)/qe,ln=sr<qe?0:mi[Sr-qe],rn===0?cn=Qr=0:(cn=mi[(rn-1)*Ur+Ar*qe+sr%qe],Qr=Ar&&mi[(rn-1)*Ur+(Ar-1)*qe+sr%qe]),zn=ln+cn-Qr,Nn=Math.abs(zn-ln),Gn=Math.abs(zn-cn),xn=Math.abs(zn-Qr),Fn=Nn<=Gn&&Nn<=xn?ln:Gn<=xn?cn:Qr,mi[Sr++]=(jt+Fn)%256;break;default:throw new Error("Invalid filter algorithm: "+Xe[ht-1])}if(!qr){var xr=((ir+rn*gr)*Vt.width+tr)*qe,nn=rn*Ur;for(sr=0;sr<kn;sr+=1){for(var gn=0;gn<qe;gn+=1)mt[xr++]=mi[nn++];xr+=(_t-1)*qe}}rn++}}return Xe=Object(m.a)(Xe),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),mt},Me.prototype.decodePalette=function(){var Xe,qe,mt,ht,Vt,dr,tr,ir,_t;for(mt=this.palette,dr=this.transparency.indexed||[],Vt=new Uint8Array((dr.length||0)+mt.length),ht=0,Xe=0,qe=tr=0,ir=mt.length;tr<ir;qe=tr+=3)Vt[ht++]=mt[qe],Vt[ht++]=mt[qe+1],Vt[ht++]=mt[qe+2],Vt[ht++]=(_t=dr[Xe++])!=null?_t:255;return Vt},Me.prototype.copyToImageData=function(Xe,qe){var mt,ht,Vt,dr,tr,ir,_t,gr,jt,Sr,Ar;if(ht=this.colors,jt=null,mt=this.hasAlphaChannel,this.palette.length&&(jt=(Ar=this._decodedPalette)!=null?Ar:this._decodedPalette=this.decodePalette(),ht=4,mt=!0),gr=(Vt=Xe.data||Xe).length,tr=jt||qe,dr=ir=0,ht===1)for(;dr<gr;)_t=jt?4*qe[dr/4]:ir,Sr=tr[_t++],Vt[dr++]=Sr,Vt[dr++]=Sr,Vt[dr++]=Sr,Vt[dr++]=mt?tr[_t++]:255,ir=_t;else for(;dr<gr;)_t=jt?4*qe[dr/4]:ir,Vt[dr++]=tr[_t++],Vt[dr++]=tr[_t++],Vt[dr++]=tr[_t++],Vt[dr++]=mt?tr[_t++]:255,ir=_t},Me.prototype.decode=function(){var Xe;return Xe=new Uint8Array(this.width*this.height*4),this.copyToImageData(Xe,this.decodePixels()),Xe};var Ze=function(){if(Object.prototype.toString.call(v)==="[object Window]"){try{Te=v.document.createElement("canvas"),ke=Te.getContext("2d")}catch(qe){return!1}return!0}return!1};return Ze(),$e=function(qe){var mt;if(Ze()===!0)return ke.width=qe.width,ke.height=qe.height,ke.clearRect(0,0,qe.width,qe.height),ke.putImageData(qe,0,0),(mt=new Image).src=Te.toDataURL(),mt;throw new Error("This method requires a Browser with Canvas-capability.")},Me.prototype.decodeFrames=function(Xe){var qe,mt,ht,Vt,dr,tr,ir,_t;if(this.animation){for(_t=[],mt=dr=0,tr=(ir=this.animation.frames).length;dr<tr;mt=++dr)qe=ir[mt],ht=Xe.createImageData(qe.width,qe.height),Vt=this.decodePixels(new Uint8Array(qe.data)),this.copyToImageData(ht,Vt),qe.imageData=ht,_t.push(qe.image=$e(ht));return _t}},Me.prototype.renderFrame=function(Xe,qe){var mt,ht,Vt;return mt=(ht=this.animation.frames)[qe],Vt=ht[qe-1],qe===0&&Xe.clearRect(0,0,this.width,this.height),(Vt!=null?Vt.disposeOp:void 0)===1?Xe.clearRect(Vt.xOffset,Vt.yOffset,Vt.width,Vt.height):(Vt!=null?Vt.disposeOp:void 0)===2&&Xe.putImageData(Vt.imageData,Vt.xOffset,Vt.yOffset),mt.blendOp===0&&Xe.clearRect(mt.xOffset,mt.yOffset,mt.width,mt.height),Xe.drawImage(mt.image,mt.xOffset,mt.yOffset)},Me.prototype.animate=function(Xe){var qe,mt,ht,Vt,dr,tr,ir=this;return mt=0,tr=this.animation,Vt=tr.numFrames,ht=tr.frames,dr=tr.numPlays,(qe=function(){var gr,jt;if(gr=mt++%Vt,jt=ht[gr],ir.renderFrame(Xe,gr),Vt>1&&mt/Vt<dr)return ir.animation._timeout=setTimeout(qe,jt.delay)})()},Me.prototype.stopAnimation=function(){var Xe;return clearTimeout((Xe=this.animation)!=null?Xe._timeout:void 0)},Me.prototype.render=function(Xe){var qe,mt;return Xe._png&&Xe._png.stopAnimation(),Xe._png=this,Xe.width=this.width,Xe.height=this.height,qe=Xe.getContext("2d"),this.animation?(this.decodeFrames(qe),this.animate(qe)):(mt=qe.createImageData(this.width,this.height),this.copyToImageData(mt,this.decodePixels()),qe.putImageData(mt,0,0))},Me}();/**
|
|
|
* @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($e){var Te=0;if($e[Te++]!==71||$e[Te++]!==73||$e[Te++]!==70||$e[Te++]!==56||($e[Te++]+1&253)!=56||$e[Te++]!==97)throw new Error("Invalid GIF 87a/89a header.");var ke=$e[Te++]|$e[Te++]<<8,Me=$e[Te++]|$e[Te++]<<8,Ze=$e[Te++],Xe=Ze>>7,qe=1<<(7&Ze)+1;$e[Te++],$e[Te++];var mt=null,ht=null;Xe&&(mt=Te,ht=qe,Te+=3*qe);var Vt=!0,dr=[],tr=0,ir=null,_t=0,gr=null;for(this.width=ke,this.height=Me;Vt&&Te<$e.length;)switch($e[Te++]){case 33:switch($e[Te++]){case 255:if($e[Te]!==11||$e[Te+1]==78&&$e[Te+2]==69&&$e[Te+3]==84&&$e[Te+4]==83&&$e[Te+5]==67&&$e[Te+6]==65&&$e[Te+7]==80&&$e[Te+8]==69&&$e[Te+9]==50&&$e[Te+10]==46&&$e[Te+11]==48&&$e[Te+12]==3&&$e[Te+13]==1&&$e[Te+16]==0)Te+=14,gr=$e[Te++]|$e[Te++]<<8,Te++;else for(Te+=12;;){if(!((rn=$e[Te++])>=0))throw Error("Invalid block size");if(rn===0)break;Te+=rn}break;case 249:if($e[Te++]!==4||$e[Te+4]!==0)throw new Error("Invalid graphics extension block.");var jt=$e[Te++];tr=$e[Te++]|$e[Te++]<<8,ir=$e[Te++],(1&jt)==0&&(ir=null),_t=jt>>2&7,Te++;break;case 254:for(;;){if(!((rn=$e[Te++])>=0))throw Error("Invalid block size");if(rn===0)break;Te+=rn}break;default:throw new Error("Unknown graphic control label: 0x"+$e[Te-1].toString(16))}break;case 44:var Sr=$e[Te++]|$e[Te++]<<8,Ar=$e[Te++]|$e[Te++]<<8,sr=$e[Te++]|$e[Te++]<<8,ln=$e[Te++]|$e[Te++]<<8,_n=$e[Te++],zn=_n>>6&1,Nn=1<<(7&_n)+1,Fn=mt,Gn=ht,xn=!1;_n>>7&&(xn=!0,Fn=Te,Gn=Nn,Te+=3*Nn);var mi=Te;for(Te++;;){var rn;if(!((rn=$e[Te++])>=0))throw Error("Invalid block size");if(rn===0)break;Te+=rn}dr.push({x:Sr,y:Ar,width:sr,height:ln,has_local_palette:xn,palette_offset:Fn,palette_size:Gn,data_offset:mi,data_length:Te-mi,transparent_index:ir,interlaced:!!zn,delay:tr,disposal:_t});break;case 59:Vt=!1;break;default:throw new Error("Unknown gif block: 0x"+$e[Te-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);kt($e,Qr.data_offset,Hn,Vn);var li=Qr.palette_offset,Un=Qr.transparent_index;Un===null&&(Un=256);var gi=Qr.width,kn=ke-gi,di=gi,qr=4*(Qr.y*ke+Qr.x),xr=4*((Qr.y+Qr.height)*ke+Qr.x),nn=qr,gn=4*kn;Qr.interlaced===!0&&(gn+=4*ke*7);for(var On=8,Bn=0,Wn=Hn.length;Bn<Wn;++Bn){var $n=Hn[Bn];if(di===0&&(di=gi,(nn+=gn)>=xr&&(gn=4*kn+4*ke*(On-1),nn=qr+(gi+kn)*(On<<1),On>>=1)),$n===Un)nn+=4;else{var Jn=$e[li+3*$n],vi=$e[li+3*$n+1],Pi=$e[li+3*$n+2];cn[nn++]=Pi,cn[nn++]=vi,cn[nn++]=Jn,cn[nn++]=255}--di}},this.decodeAndBlitFrameRGBA=function(Ur,cn){var Qr=this.frameInfo(Ur),Vn=Qr.width*Qr.height,Hn=new Uint8Array(Vn);kt($e,Qr.data_offset,Hn,Vn);var li=Qr.palette_offset,Un=Qr.transparent_index;Un===null&&(Un=256);var gi=Qr.width,kn=ke-gi,di=gi,qr=4*(Qr.y*ke+Qr.x),xr=4*((Qr.y+Qr.height)*ke+Qr.x),nn=qr,gn=4*kn;Qr.interlaced===!0&&(gn+=4*ke*7);for(var On=8,Bn=0,Wn=Hn.length;Bn<Wn;++Bn){var $n=Hn[Bn];if(di===0&&(di=gi,(nn+=gn)>=xr&&(gn=4*kn+4*ke*(On-1),nn=qr+(gi+kn)*(On<<1),On>>=1)),$n===Un)nn+=4;else{var Jn=$e[li+3*$n],vi=$e[li+3*$n+1],Pi=$e[li+3*$n+2];cn[nn++]=Jn,cn[nn++]=vi,cn[nn++]=Pi,cn[nn++]=255}--di}}}function kt($e,Te,ke,Me){for(var Ze=$e[Te++],Xe=1<<Ze,qe=Xe+1,mt=qe+1,ht=Ze+1,Vt=(1<<ht)-1,dr=0,tr=0,ir=0,_t=$e[Te++],gr=new Int32Array(4096),jt=null;;){for(;dr<16&&_t!==0;)tr|=$e[Te++]<<dr,dr+=8,_t===1?_t=$e[Te++]:--_t;if(dr<ht)break;var Sr=tr&Vt;if(tr>>=ht,dr-=ht,Sr!==Xe){if(Sr===qe)break;for(var Ar=Sr<mt?Sr:jt,sr=0,ln=Ar;ln>Xe;)ln=gr[ln]>>8,++sr;var _n=ln;if(ir+sr+(Ar!==Sr?1:0)>Me)return void s.log("Warning, gif stream longer than expected.");ke[ir++]=_n;var zn=ir+=sr;for(Ar!==Sr&&(ke[ir++]=_n),ln=Ar;sr--;)ln=gr[ln],ke[--zn]=255&ln,ln>>=8;jt!==null&&mt<4096&&(gr[mt++]=jt<<8|_n,mt>=Vt+1&&ht<12&&(++ht,Vt=Vt<<1|1)),jt=Sr}else mt=qe+1,Vt=(1<<(ht=Ze+1))-1,jt=null}return ir!==Me&&s.log("Warning, gif stream shorter than expected."),ke}/**
|
|
|
* @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($e){var Te,ke,Me,Ze,Xe,qe=Math.floor,mt=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),zn=new Array(256),Nn=new Array(2048),Fn=[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,Bn=1;Bn<=16;Bn++){for(var Wn=1;Wn<=qr[Bn];Wn++)On[xr[gn]]=[],On[xr[gn]][0]=nn,On[xr[gn]][1]=Bn,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 kn(qr,xr,nn,gn,On){for(var Bn,Wn=On[0],$n=On[240],Jn=function(bi,Ui){var ni,qi,Qi,ha,Yt,Ir,Jr,Ke,gt,Xt,Wt=0;for(gt=0;gt<8;++gt){ni=bi[Wt],qi=bi[Wt+1],Qi=bi[Wt+2],ha=bi[Wt+3],Yt=bi[Wt+4],Ir=bi[Wt+5],Jr=bi[Wt+6];var vr=ni+(Ke=bi[Wt+7]),or=ni-Ke,Vr=qi+Jr,Kr=qi-Jr,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[Wt]=sn+Yr,bi[Wt+4]=sn-Yr;var vn=.707106781*(fn+an);bi[Wt+2]=an+vn,bi[Wt+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[Wt+5]=Pn+oi,bi[Wt+3]=Pn-oi,bi[Wt+1]=qn+si,bi[Wt+7]=qn-si,Wt+=8}for(Wt=0,gt=0;gt<8;++gt){ni=bi[Wt],qi=bi[Wt+8],Qi=bi[Wt+16],ha=bi[Wt+24],Yt=bi[Wt+32],Ir=bi[Wt+40],Jr=bi[Wt+48];var ki=ni+(Ke=bi[Wt+56]),ci=ni-Ke,wi=qi+Jr,fi=qi-Jr,Mi=Qi+Ir,fa=Qi-Ir,Wi=ha+Yt,ma=ha-Yt,aa=ki+Wi,ya=ki-Wi,Ea=wi+Mi,ca=wi-Mi;bi[Wt]=aa+Ea,bi[Wt+32]=aa-Ea;var Ma=.707106781*(ca+ya);bi[Wt+16]=ya+Ma,bi[Wt+48]=ya-Ma;var wa=.382683433*((aa=ma+fa)-(ca=fi+ci)),_i=.5411961*aa+wa,xi=1.306562965*ca+wa,ji=.707106781*(Ea=fa+fi),Ji=ci+ji,Si=ci-ji;bi[Wt+40]=Si+_i,bi[Wt+24]=Si-_i,bi[Wt+8]=Ji+xi,bi[Wt+56]=Ji-xi,Wt++}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[Fn[vi]]=Jn[vi];var Pi=gr[0]-nn;nn=gr[0],Pi==0?li(gn[0]):(li(gn[ir[Bn=32767+Pi]]),li(tr[Bn]));for(var Bi=63;Bi>0&&gr[Bi]==0;)Bi--;if(Bi==0)return li(Wn),nn;for(var ja,Qn=1;Qn<=Bi;){for(var Xr=Qn;gr[Qn]==0&&Qn<=Bi;)++Qn;var hi=Qn-Xr;if(hi>=16){ja=hi>>4;for(var Ri=1;Ri<=ja;++Ri)li($n);hi&=15}Bn=32767+gr[Qn],li(On[(hi<<4)+ir[Bn]]),li(tr[Bn]),Qn++}return Bi!=63&&li(Wn),nn}function di(qr){(qr=Math.min(Math.max(qr,1),100),Xe!=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=qe((nn[gn]*xr+50)/100);On=Math.min(Math.max(On,1),255),mt[Fn[gn]]=On}for(var Bn=[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],Wn=0;Wn<64;Wn++){var $n=qe((Bn[Wn]*xr+50)/100);$n=Math.min(Math.max($n,1),255),ht[Fn[Wn]]=$n}for(var Jn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],vi=0,Pi=0;Pi<8;Pi++)for(var Bi=0;Bi<8;Bi++)Vt[vi]=1/(mt[Fn[vi]]*Jn[Pi]*Jn[Bi]*8),dr[vi]=1/(ht[Fn[vi]]*Jn[Pi]*Jn[Bi]*8),vi++}(qr<50?Math.floor(5e3/qr):Math.floor(200-2*qr)),Xe=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(mt[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 Jr=0;Jr<=11;Jr++)Un(cn[Jr]);Un(17);for(var Ke=0;Ke<16;Ke++)Un(Qr[Ke+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 Bn,Wn,$n,Jn,vi,Pi,Bi,ja,Qn,Xr=qr.data,hi=qr.width,Ri=qr.height,bi=4*hi,Ui=0;Ui<Ri;){for(Bn=0;Bn<bi;){for(vi=bi*Ui+Bn,Bi=-1,ja=0,Qn=0;Qn<64;Qn++)Pi=vi+(ja=Qn>>3)*bi+(Bi=4*(7&Qn)),Ui+ja>=Ri&&(Pi-=bi*(Ui+1+ja-Ri)),Bn+Bi>=bi&&(Pi-=Bn+Bi-bi+4),Wn=Xr[Pi++],$n=Xr[Pi++],Jn=Xr[Pi++],sr[Qn]=(Nn[Wn]+Nn[$n+256>>0]+Nn[Jn+512>>0]>>16)-128,ln[Qn]=(Nn[Wn+768>>0]+Nn[$n+1024>>0]+Nn[Jn+1280>>0]>>16)-128,_n[Qn]=(Nn[Wn+1280>>0]+Nn[$n+1536>>0]+Nn[Jn+1792>>0]>>16)-128;nn=kn(sr,Vt,nn,Te,Me),gn=kn(ln,dr,gn,ke,Ze),On=kn(_n,dr,On,ke,Ze),Bn+=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)},$e=$e||50,function(){for(var qr=String.fromCharCode,xr=0;xr<256;xr++)zn[xr]=qr(xr)}(),Te=Hn(Gn,xn),ke=Hn(Ur,cn),Me=Hn(mi,rn),Ze=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($e)}/**
|
|
|
* @license
|
|
|
* Copyright (c) 2017 Aras Abbasi
|
|
|
*
|
|
|
* Licensed under the MIT License.
|
|
|
* http://opensource.org/licenses/mit-license
|
|
|
*/function Nr($e,Te){if(this.pos=0,this.buffer=$e,this.datav=new DataView($e.buffer),this.is_with_alpha=!!Te,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($e){function Te(Gn){if(!Gn)throw Error("assert :P")}function ke(Gn,xn,mi){for(var rn=0;4>rn;rn++)if(Gn[xn+rn]!=mi.charCodeAt(rn))return!0;return!1}function Me(Gn,xn,mi,rn,Ur){for(var cn=0;cn<Ur;cn++)Gn[xn+cn]=mi[rn+cn]}function Ze(Gn,xn,mi,rn){for(var Ur=0;Ur<rn;Ur++)Gn[xn+Ur]=mi}function Xe(Gn){return new Int32Array(Gn)}function qe(Gn,xn){for(var mi=[],rn=0;rn<Gn;rn++)mi.push(new xn);return mi}function mt(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(me,Ue){for(var lt=1<<Ue-1>>>0;me<)lt>>>=1;return lt?(me<-1)+lt:me}function rn(me,Ue,lt,Ht,er){Te(!(Ht%lt));do me[Ue+(Ht-=lt)]=er;while(0<Ht)}function Ur(me,Ue,lt,Ht,er){if(Te(2328>=er),512>=er)var mr=Xe(512);else if((mr=Xe(er))==null)return 0;return function(Re,ee,ye,Ve,it,Et){var Rt,Ft,nr=ee,yr=1<<ye,rr=Xe(16),qt=Xe(16);for(Te(it!=0),Te(Ve!=null),Te(Re!=null),Te(0<ye),Ft=0;Ft<it;++Ft){if(15<Ve[Ft])return 0;++rr[Ve[Ft]]}if(rr[0]==it)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(Ft=0;Ft<it;++Ft)Rt=Ve[Ft],0<Ve[Ft]&&(Et[qt[Rt]++]=Ft);if(qt[15]==1)return(Ve=new cn).g=0,Ve.value=Et[0],rn(Re,nr,1,yr,Ve),yr;var hr,Er=-1,Wr=yr-1,En=0,jn=1,pi=1,Yn=1<<ye;for(Ft=0,Rt=1,it=2;Rt<=ye;++Rt,it<<=1){if(jn+=pi<<=1,0>(pi-=rr[Rt]))return 0;for(;0<rr[Rt];--rr[Rt])(Ve=new cn).g=Rt,Ve.value=Et[Ft++],rn(Re,nr+En,it,Yn,Ve),En=mi(En,Rt)}for(Rt=ye+1,it=2;15>=Rt;++Rt,it<<=1){if(jn+=pi<<=1,0>(pi-=rr[Rt]))return 0;for(;0<rr[Rt];--rr[Rt]){if(Ve=new cn,(En&Wr)!=Er){for(nr+=Yn,hr=1<<(Er=Rt)-ye;15>Er&&!(0>=(hr-=rr[Er]));)++Er,hr<<=1;yr+=Yn=1<<(hr=Er-ye),Re[ee+(Er=En&Wr)].g=hr+ye,Re[ee+Er].value=nr-ee-Er}Ve.g=Rt-ye,Ve.value=Et[Ft++],rn(Re,nr+(En>>ye),it,Yn,Ve),En=mi(En,Rt)}}return jn!=2*qt[15]-1?0:yr}(me,Ue,lt,Ht,er,mr)}function cn(){this.value=this.g=0}function Qr(){this.value=this.g=0}function Vn(){this.G=qe(5,cn),this.H=Xe(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=qe(Ro,Qr)}function Hn(me,Ue,lt,Ht){Te(me!=null),Te(Ue!=null),Te(2147483648>Ht),me.Ca=254,me.I=0,me.b=-8,me.Ka=0,me.oa=Ue,me.pa=lt,me.Jd=Ue,me.Yc=lt+Ht,me.Zc=4<=Ht?lt+Ht-4+1:lt,Wn(me)}function li(me,Ue){for(var lt=0;0<Ue--;)lt|=Jn(me,128)<<Ue;return lt}function Un(me,Ue){var lt=li(me,Ue);return $n(me)?-lt:lt}function gi(me,Ue,lt,Ht){var er,mr=0;for(Te(me!=null),Te(Ue!=null),Te(4294967288>Ht),me.Sb=Ht,me.Ra=0,me.u=0,me.h=0,4<Ht&&(Ht=4),er=0;er<Ht;++er)mr+=Ue[lt+er]<<8*er;me.Ra=mr,me.bb=Ht,me.oa=Ue,me.pa=lt}function kn(me){for(;8<=me.u&&me.bb<me.Sb;)me.Ra>>>=8,me.Ra+=me.oa[me.pa+me.bb]<<So-8>>>0,++me.bb,me.u-=8;gn(me)&&(me.h=1,me.u=0)}function di(me,Ue){if(Te(0<=Ue),!me.h&&Ue<=wo){var lt=nn(me)&ls[Ue];return me.u+=Ue,kn(me),lt}return me.h=1,me.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(me){return me.Ra>>>(me.u&So-1)>>>0}function gn(me){return Te(me.bb<=me.Sb),me.h||me.bb==me.Sb&&me.u>So}function On(me,Ue){me.u=Ue,me.h=gn(me)}function Bn(me){me.u>=fs&&(Te(me.u>=fs),kn(me))}function Wn(me){Te(me!=null&&me.oa!=null),me.pa<me.Zc?(me.I=(me.oa[me.pa++]|me.I<<8)>>>0,me.b+=8):(Te(me!=null&&me.oa!=null),me.pa<me.Yc?(me.b+=8,me.I=me.oa[me.pa++]|me.I<<8):me.Ka?me.b=0:(me.I<<=8,me.b+=8,me.Ka=1))}function $n(me){return li(me,1)}function Jn(me,Ue){var lt=me.Ca;0>me.b&&Wn(me);var Ht=me.b,er=lt*Ue>>>8,mr=(me.I>>>Ht>er)+0;for(mr?(lt-=er,me.I-=er+1<<Ht>>>0):lt=er+1,Ht=lt,er=0;256<=Ht;)er+=8,Ht>>=8;return Ht=7^er+Cs[Ht],me.b-=Ht,me.Ca=(lt<<Ht)-1,mr}function vi(me,Ue,lt){me[Ue+0]=lt>>24&255,me[Ue+1]=lt>>16&255,me[Ue+2]=lt>>8&255,me[Ue+3]=lt>>0&255}function Pi(me,Ue){return me[Ue+0]<<0|me[Ue+1]<<8}function Bi(me,Ue){return Pi(me,Ue)|me[Ue+2]<<16}function ja(me,Ue){return Pi(me,Ue)|Pi(me,Ue+2)<<16}function Qn(me,Ue){var lt=1<<Ue;return Te(me!=null),Te(0<Ue),me.X=Xe(lt),me.X==null?0:(me.Mb=32-Ue,me.Xa=Ue,1)}function Xr(me,Ue){Te(me!=null),Te(Ue!=null),Te(me.Xa==Ue.Xa),Me(Ue.X,0,me.X,0,1<<Ue.Xa)}function hi(){this.X=[],this.Xa=this.Mb=0}function Ri(me,Ue,lt,Ht){Te(lt!=null),Te(Ht!=null);var er=lt[0],mr=Ht[0];return er==0&&(er=(me*mr+Ue/2)/Ue),mr==0&&(mr=(Ue*er+me/2)/me),0>=er||0>=mr?0:(lt[0]=er,Ht[0]=mr,1)}function bi(me,Ue){return me+(1<<Ue)-1>>>Ue}function Ui(me,Ue){return((4278255360&me)+(4278255360&Ue)>>>0&4278255360)+((16711935&me)+(16711935&Ue)>>>0&16711935)>>>0}function ni(me,Ue){xn[Ue]=function(lt,Ht,er,mr,Re,ee,ye){var Ve;for(Ve=0;Ve<Re;++Ve){var it=xn[me](ee[ye+Ve-1],er,mr+Ve);ee[ye+Ve]=Ui(lt[Ht+Ve],it)}}}function qi(){this.ud=this.hd=this.jd=0}function Qi(me,Ue){return((4278124286&(me^Ue))>>>1)+(me&Ue)>>>0}function ha(me){return 0<=me&&256>me?me:0>me?0:255<me?255:void 0}function Yt(me,Ue){return ha(me+(me-Ue+.5>>1))}function Ir(me,Ue,lt){return Math.abs(Ue-lt)-Math.abs(me-lt)}function Jr(me,Ue,lt,Ht,er,mr,Re){for(Ht=mr[Re-1],lt=0;lt<er;++lt)mr[Re+lt]=Ht=Ui(me[Ue+lt],Ht)}function Ke(me,Ue,lt,Ht,er){var mr;for(mr=0;mr<lt;++mr){var Re=me[Ue+mr],ee=Re>>8&255,ye=16711935&(ye=(ye=16711935&Re)+((ee<<16)+ee));Ht[er+mr]=(4278255360&Re)+ye>>>0}}function gt(me,Ue){Ue.jd=me>>0&255,Ue.hd=me>>8&255,Ue.ud=me>>16&255}function Xt(me,Ue,lt,Ht,er,mr){var Re;for(Re=0;Re<Ht;++Re){var ee=Ue[lt+Re],ye=ee>>>8,Ve=ee,it=255&(it=(it=ee>>>16)+((me.jd<<24>>24)*(ye<<24>>24)>>>5));Ve=255&(Ve=(Ve=Ve+((me.hd<<24>>24)*(ye<<24>>24)>>>5))+((me.ud<<24>>24)*(it<<24>>24)>>>5)),er[mr+Re]=(4278255360&ee)+(it<<16)+Ve}}function Wt(me,Ue,lt,Ht,er){xn[Ue]=function(mr,Re,ee,ye,Ve,it,Et,Rt,Ft){for(ye=Et;ye<Rt;++ye)for(Et=0;Et<Ft;++Et)Ve[it++]=er(ee[Ht(mr[Re++])])},xn[me]=function(mr,Re,ee,ye,Ve,it,Et){var Rt=8>>mr.b,Ft=mr.Ea,nr=mr.K[0],yr=mr.w;if(8>Rt)for(mr=(1<<mr.b)-1,yr=(1<<Rt)-1;Re<ee;++Re){var rr,qt=0;for(rr=0;rr<Ft;++rr)rr&mr||(qt=Ht(ye[Ve++])),it[Et++]=er(nr[qt&yr]),qt>>=Rt}else xn["VP8LMapColor"+lt](ye,Ve,nr,yr,it,Et,Re,ee,Ft)}}function vr(me,Ue,lt,Ht,er){for(lt=Ue+lt;Ue<lt;){var mr=me[Ue++];Ht[er++]=mr>>16&255,Ht[er++]=mr>>8&255,Ht[er++]=mr>>0&255}}function or(me,Ue,lt,Ht,er){for(lt=Ue+lt;Ue<lt;){var mr=me[Ue++];Ht[er++]=mr>>16&255,Ht[er++]=mr>>8&255,Ht[er++]=mr>>0&255,Ht[er++]=mr>>24&255}}function Vr(me,Ue,lt,Ht,er){for(lt=Ue+lt;Ue<lt;){var mr=(Re=me[Ue++])>>16&240|Re>>12&15,Re=Re>>0&240|Re>>28&15;Ht[er++]=mr,Ht[er++]=Re}}function Kr(me,Ue,lt,Ht,er){for(lt=Ue+lt;Ue<lt;){var mr=(Re=me[Ue++])>>16&248|Re>>13&7,Re=Re>>5&224|Re>>3&31;Ht[er++]=mr,Ht[er++]=Re}}function Dr(me,Ue,lt,Ht,er){for(lt=Ue+lt;Ue<lt;){var mr=me[Ue++];Ht[er++]=mr>>0&255,Ht[er++]=mr>>8&255,Ht[er++]=mr>>16&255}}function dn(me,Ue,lt,Ht,er,mr){if(mr==0)for(lt=Ue+lt;Ue<lt;)vi(Ht,((mr=me[Ue++])[0]>>24|mr[1]>>8&65280|mr[2]<<8&16711680|mr[3]<<24)>>>0),er+=32;else Me(Ht,er,me,Ue,lt)}function on(me,Ue){xn[Ue][0]=xn[me+"0"],xn[Ue][1]=xn[me+"1"],xn[Ue][2]=xn[me+"2"],xn[Ue][3]=xn[me+"3"],xn[Ue][4]=xn[me+"4"],xn[Ue][5]=xn[me+"5"],xn[Ue][6]=xn[me+"6"],xn[Ue][7]=xn[me+"7"],xn[Ue][8]=xn[me+"8"],xn[Ue][9]=xn[me+"9"],xn[Ue][10]=xn[me+"10"],xn[Ue][11]=xn[me+"11"],xn[Ue][12]=xn[me+"12"],xn[Ue][13]=xn[me+"13"],xn[Ue][14]=xn[me+"0"],xn[Ue][15]=xn[me+"0"]}function Cn(me){return me==uc||me==Sl||me==_l||me==Fl}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(me){return alert("todo:WebPSamplerProcessPlane"),me.T}function oi(me,Ue){var lt=me.T,Ht=Ue.ba.f.RGBA,er=Ht.eb,mr=Ht.fb+me.ka*Ht.A,Re=bl[Ue.ba.S],ee=me.y,ye=me.O,Ve=me.f,it=me.N,Et=me.ea,Rt=me.W,Ft=Ue.cc,nr=Ue.dc,yr=Ue.Mc,rr=Ue.Nc,qt=me.ka,hr=me.ka+me.T,Er=me.U,Wr=Er+1>>1;for(qt==0?Re(ee,ye,null,null,Ve,it,Et,Rt,Ve,it,Et,Rt,er,mr,null,null,Er):(Re(Ue.ec,Ue.fc,ee,ye,Ft,nr,yr,rr,Ve,it,Et,Rt,er,mr-Ht.A,er,mr,Er),++lt);qt+2<hr;qt+=2)Ft=Ve,nr=it,yr=Et,rr=Rt,it+=me.Rc,Rt+=me.Rc,mr+=2*Ht.A,Re(ee,(ye+=2*me.fa)-me.fa,ee,ye,Ft,nr,yr,rr,Ve,it,Et,Rt,er,mr-Ht.A,er,mr,Er);return ye+=me.fa,me.j+hr<me.o?(Me(Ue.ec,Ue.fc,ee,ye,Er),Me(Ue.cc,Ue.dc,Ve,it,Wr),Me(Ue.Mc,Ue.Nc,Et,Rt,Wr),lt--):1&hr||Re(ee,ye,null,null,Ve,it,Et,Rt,Ve,it,Et,Rt,er,mr+Ht.A,null,null,Er),lt}function si(me,Ue,lt){var Ht=me.F,er=[me.J];if(Ht!=null){var mr=me.U,Re=Ue.ba.S,ee=Re==Rl||Re==_l;Ue=Ue.ba.f.RGBA;var ye=[0],Ve=me.ka;ye[0]=me.T,me.Kb&&(Ve==0?--ye[0]:(--Ve,er[0]-=me.width),me.j+me.ka+me.T==me.o&&(ye[0]=me.o-me.j-Ve));var it=Ue.eb;Ve=Ue.fb+Ve*Ue.A,me=Bs(Ht,er[0],me.width,mr,ye,it,Ve+(ee?0:3),Ue.A),Te(lt==ye),me&&Cn(Re)&&Js(it,Ve,ee,mr,ye,Ue.A)}return 0}function Ni(me){var Ue=me.ma,lt=Ue.ba.S,Ht=11>lt,er=lt==ql||lt==Xl||lt==Rl||lt==cc||lt==12||Cn(lt);if(Ue.memory=null,Ue.Ib=null,Ue.Jb=null,Ue.Nd=null,!oo(Ue.Oa,me,er?11:12))return 0;if(er&&Cn(lt)&&ze(),me.da)alert("todo:use_scaling");else{if(Ht){if(Ue.Ib=Ln,me.Kb){if(lt=me.U+1>>1,Ue.memory=Xe(me.U+2*lt),Ue.memory==null)return 0;Ue.ec=Ue.memory,Ue.fc=0,Ue.cc=Ue.ec,Ue.dc=Ue.fc+me.U,Ue.Mc=Ue.cc,Ue.Nc=Ue.dc+lt,Ue.Ib=oi,ze()}}else alert("todo:EmitYUV");er&&(Ue.Jb=si,Ht&&ve())}if(Ht&&!Wc){for(me=0;256>me;++me)$c[me]=89858*(me-128)+Ll>>Ol,eu[me]=-22014*(me-128)+Ll,mc[me]=-45773*(me-128),Ql[me]=113618*(me-128)+Ll>>Ol;for(me=Gl;me<Kl;++me)Ue=76283*(me-16)+Ll>>Ol,Oc[me-Gl]=pa(Ue,255),ac[me-Gl]=pa(Ue+8>>4,15);Wc=1}return 1}function qn(me){var Ue=me.ma,lt=me.U,Ht=me.T;return Te(!(1&me.ka)),0>=lt||0>=Ht?0:(lt=Ue.Ib(me,Ue),Ue.Jb!=null&&Ue.Jb(me,Ue,lt),Ue.Dc+=lt,1)}function Pn(me){me.ma.memory=null}function ki(me,Ue,lt,Ht){return di(me,8)!=47?0:(Ue[0]=di(me,14)+1,lt[0]=di(me,14)+1,Ht[0]=di(me,1),di(me,3)!=0?0:!me.h)}function ci(me,Ue){if(4>me)return me+1;var lt=me-2>>1;return(2+(1&me)<<lt)+di(Ue,lt)+1}function wi(me,Ue){return 120<Ue?Ue-120:1<=(lt=((lt=tc[Ue-1])>>4)*me+(8-(15<)))?lt:1;var lt}function fi(me,Ue,lt){var Ht=nn(lt),er=me[Ue+=255&Ht].g-8;return 0<er&&(On(lt,lt.u+8),Ht=nn(lt),Ue+=me[Ue].value,Ue+=Ht&(1<<er)-1),On(lt,lt.u+me[Ue].g),me[Ue].value}function Mi(me,Ue,lt){return lt.g+=me.g,lt.value+=me.value<<Ue>>>0,Te(8>=lt.g),me.g}function fa(me,Ue,lt){var Ht=me.xc;return Te((Ue=Ht==0?0:me.vc[me.md*(lt>>Ht)+(Ue>>Ht)])<me.Wb),me.Ya[Ue]}function Wi(me,Ue,lt,Ht){var er=me.ab,mr=me.c*Ue,Re=me.C;Ue=Re+Ue;var ee=lt,ye=Ht;for(Ht=me.Ta,lt=me.Ua;0<er--;){var Ve=me.gc[er],it=Re,Et=Ue,Rt=ee,Ft=ye,nr=(ye=Ht,ee=lt,Ve.Ea);switch(Te(it<Et),Te(Et<=Ve.nc),Ve.hc){case 2:zs(Rt,Ft,(Et-it)*nr,ye,ee);break;case 0:var yr=it,rr=Et,qt=ye,hr=ee,Er=(Yn=Ve).Ea;yr==0&&(qo(Rt,Ft,null,null,1,qt,hr),Jr(Rt,Ft+1,0,0,Er-1,qt,hr+1),Ft+=Er,hr+=Er,++yr);for(var Wr=1<<Yn.b,En=Wr-1,jn=bi(Er,Yn.b),pi=Yn.K,Yn=Yn.w+(yr>>Yn.b)*jn;yr<rr;){var Zi=pi,Ei=Yn,da=1;for(xo(Rt,Ft,qt,hr-Er,1,qt,hr);da<Er;){var ta=(da&~En)+Wr;ta>Er&&(ta=Er),(0,Mo[Zi[Ei++]>>8&15])(Rt,Ft+ +da,qt,hr+da-Er,ta-da,qt,hr+da),da=ta}Ft+=Er,hr+=Er,++yr&En||(Yn+=jn)}Et!=Ve.nc&&Me(ye,ee-nr,ye,ee+(Et-it-1)*nr,nr);break;case 1:for(nr=Rt,rr=Ft,Er=(Rt=Ve.Ea)-(hr=Rt&~(qt=(Ft=1<<Ve.b)-1)),yr=bi(Rt,Ve.b),Wr=Ve.K,Ve=Ve.w+(it>>Ve.b)*yr;it<Et;){for(En=Wr,jn=Ve,pi=new qi,Yn=rr+hr,Zi=rr+Rt;rr<Yn;)gt(En[jn++],pi),Ki(pi,nr,rr,Ft,ye,ee),rr+=Ft,ee+=Ft;rr<Zi&&(gt(En[jn++],pi),Ki(pi,nr,rr,Er,ye,ee),rr+=Er,ee+=Er),++it&qt||(Ve+=yr)}break;case 3:if(Rt==ye&&Ft==ee&&0<Ve.b){for(rr=ye,Rt=nr=ee+(Et-it)*nr-(hr=(Et-it)*bi(Ve.Ea,Ve.b)),Ft=ye,qt=ee,yr=[],hr=(Er=hr)-1;0<=hr;--hr)yr[hr]=Ft[qt+hr];for(hr=Er-1;0<=hr;--hr)rr[Rt+hr]=yr[hr];ps(Ve,it,Et,ye,nr,ye,ee)}else ps(Ve,it,Et,Rt,Ft,ye,ee)}ee=Ht,ye=lt}ye!=lt&&Me(Ht,lt,ee,ye,mr)}function ma(me,Ue){var lt=me.V,Ht=me.Ba+me.c*me.C,er=Ue-me.C;if(Te(Ue<=me.l.o),Te(16>=er),0<er){var mr=me.l,Re=me.Ta,ee=me.Ua,ye=mr.width;if(Wi(me,er,lt,Ht),er=ee=[ee],Te((lt=me.C)<(Ht=Ue)),Te(mr.v<mr.va),Ht>mr.o&&(Ht=mr.o),lt<mr.j){var Ve=mr.j-lt;lt=mr.j,er[0]+=Ve*ye}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(ee=ee[0],11>(lt=me.ca).S){var it=lt.f.RGBA,Et=(Ht=lt.S,er=mr.U,mr=mr.T,Ve=it.eb,it.A),Rt=mr;for(it=it.fb+me.Ma*it.A;0<Rt--;){var Ft=Re,nr=ee,yr=er,rr=Ve,qt=it;switch(Ht){case Vl:Ws(Ft,nr,yr,rr,qt);break;case ql:nl(Ft,nr,yr,rr,qt);break;case uc:nl(Ft,nr,yr,rr,qt),Js(rr,qt,0,yr,1,0);break;case lc:ml(Ft,nr,yr,rr,qt);break;case Xl:dn(Ft,nr,yr,rr,qt,1);break;case Sl:dn(Ft,nr,yr,rr,qt,1),Js(rr,qt,0,yr,1,0);break;case Rl:dn(Ft,nr,yr,rr,qt,0);break;case _l:dn(Ft,nr,yr,rr,qt,0),Js(rr,qt,1,yr,1,0);break;case cc:Ss(Ft,nr,yr,rr,qt);break;case Fl:Ss(Ft,nr,yr,rr,qt),gl(rr,qt,yr,1,0);break;case $l:ts(Ft,nr,yr,rr,qt);break;default:Te(0)}ee+=ye,it+=Et}me.Ma+=mr}else alert("todo:EmitRescaledRowsYUVA");Te(me.Ma<=lt.height)}}me.C=Ue,Te(me.C<=me.i)}function aa(me){var Ue;if(0<me.ua)return 0;for(Ue=0;Ue<me.Wb;++Ue){var lt=me.Ya[Ue].G,Ht=me.Ya[Ue].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(me,Ue,lt,Ht,er,mr){if(me.Z!=0){var Re=me.qd,ee=me.rd;for(Te(Il[me.Z]!=null);Ue<lt;++Ue)Il[me.Z](Re,ee,Ht,er,Ht,er,mr),Re=Ht,ee=er,er+=mr;me.qd=Re,me.rd=ee}}function Ea(me,Ue){var lt=me.l.ma,Ht=lt.Z==0||lt.Z==1?me.l.j:me.C;if(Ht=me.C<Ht?Ht:me.C,Te(Ue<=me.l.o),Ue>Ht){var er=me.l.width,mr=lt.ca,Re=lt.tb+er*Ht,ee=me.V,ye=me.Ba+me.c*Ht,Ve=me.gc;Te(me.ab==1),Te(Ve[0].hc==3),cl(Ve[0],Ht,Ue,ee,ye,mr,Re),ya(lt,Ht,Ue,mr,Re,er)}me.C=me.Ma=Ue}function ca(me,Ue,lt,Ht,er,mr,Re){var ee=me.$/Ht,ye=me.$%Ht,Ve=me.m,it=me.s,Et=lt+me.$,Rt=Et;er=lt+Ht*er;var Ft=lt+Ht*mr,nr=280+it.ua,yr=me.Pb?ee:16777216,rr=0<it.ua?it.Wa:null,qt=it.wc,hr=Et<Ft?fa(it,ye,ee):null;Te(me.C<mr),Te(Ft<=er);var Er=!1;e:for(;;){for(;Er||Et<Ft;){var Wr=0;if(ee>=yr){var En=Et-lt;Te((yr=me).Pb),yr.wd=yr.m,yr.xd=En,0<yr.s.ua&&Xr(yr.s.Wa,yr.s.vb),yr=ee+dc}if(ye&qt||(hr=fa(it,ye,ee)),Te(hr!=null),hr.Qb&&(Ue[Et]=hr.qb,Er=!0),!Er)if(Bn(Ve),hr.jc){Wr=Ve,En=Ue;var jn=Et,pi=hr.pd[nn(Wr)&Ro-1];Te(hr.jc),256>pi.g?(On(Wr,Wr.u+pi.g),En[jn]=pi.value,Wr=0):(On(Wr,Wr.u+pi.g-256),Te(256<=pi.value),Wr=pi.value),Wr==0&&(Er=!0)}else Wr=fi(hr.G[0],hr.H[0],Ve);if(Ve.h)break;if(Er||256>Wr){if(!Er)if(hr.nd)Ue[Et]=(hr.qb|Wr<<8)>>>0;else{if(Bn(Ve),Er=fi(hr.G[1],hr.H[1],Ve),Bn(Ve),En=fi(hr.G[2],hr.H[2],Ve),jn=fi(hr.G[3],hr.H[3],Ve),Ve.h)break;Ue[Et]=(jn<<24|Er<<16|Wr<<8|En)>>>0}if(Er=!1,++Et,++ye>=Ht&&(ye=0,++ee,Re!=null&&ee<=mr&&!(ee%16)&&Re(me,ee),rr!=null))for(;Rt<Et;)Wr=Ue[Rt++],rr.X[(506832829*Wr&4294967295)>>>rr.Mb]=Wr}else if(280>Wr){if(Wr=ci(Wr-256,Ve),En=fi(hr.G[4],hr.H[4],Ve),Bn(Ve),En=wi(Ht,En=ci(En,Ve)),Ve.h)break;if(Et-lt<En||er-Et<Wr)break e;for(jn=0;jn<Wr;++jn)Ue[Et+jn]=Ue[Et+jn-En];for(Et+=Wr,ye+=Wr;ye>=Ht;)ye-=Ht,++ee,Re!=null&&ee<=mr&&!(ee%16)&&Re(me,ee);if(Te(Et<=er),ye&qt&&(hr=fa(it,ye,ee)),rr!=null)for(;Rt<Et;)Wr=Ue[Rt++],rr.X[(506832829*Wr&4294967295)>>>rr.Mb]=Wr}else{if(!(Wr<nr))break e;for(Er=Wr-280,Te(rr!=null);Rt<Et;)Wr=Ue[Rt++],rr.X[(506832829*Wr&4294967295)>>>rr.Mb]=Wr;Wr=Et,Te(!(Er>>>(En=rr).Xa)),Ue[Wr]=En.X[Er],Er=!0}Er||Te(Ve.h==gn(Ve))}if(me.Pb&&Ve.h&&Et<er)Te(me.m.h),me.a=5,me.m=me.wd,me.$=me.xd,0<me.s.ua&&Xr(me.s.vb,me.s.Wa);else{if(Ve.h)break e;Re!=null&&Re(me,ee>mr?mr:ee),me.a=0,me.$=Et-lt}return 1}return me.a=3,0}function Ma(me){Te(me!=null),me.vc=null,me.yc=null,me.Ya=null;var Ue=me.Wa;Ue!=null&&(Ue.X=null),me.vb=null,Te(me!=null)}function wa(){var me=new ro;return me==null?null:(me.a=0,me.xb=ic,on("Predictor","VP8LPredictors"),on("Predictor","VP8LPredictors_C"),on("PredictorAdd","VP8LPredictorsAdd"),on("PredictorAdd","VP8LPredictorsAdd_C"),zs=Ke,Ki=Xt,Ws=vr,nl=or,Ss=Vr,ts=Kr,ml=Dr,xn.VP8LMapColor32b=ll,xn.VP8LMapColor8b=Ts,me)}function _i(me,Ue,lt,Ht,er){var mr=1,Re=[me],ee=[Ue],ye=Ht.m,Ve=Ht.s,it=null,Et=0;e:for(;;){if(lt)for(;mr&&di(ye,1);){var Rt=Re,Ft=ee,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=Ft[0],qt.K=[null],++nr.ab,Te(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,Wr=di(rr,8)+1,En=16<Wr?0:4<Wr?1:2<Wr?2:3;if(Rt[0]=bi(qt.Ea,En),qt.b=En,Er=yr=_i(Wr,1,0,nr,qt.K)){var jn,pi=Wr,Yn=qt,Zi=1<<(8>>Yn.b),Ei=Xe(Zi);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*Zi;++jn)Ei[jn]=0;Yn.K[0]=null,Yn.K[0]=Ei,Er=1}}yr=Er;break;case 2:break;default:Te(0)}mr=yr}}if(Re=Re[0],ee=ee[0],mr&&di(ye,1)&&!(mr=1<=(Et=di(ye,4))&&11>=Et)){Ht.a=3;break e}var oa;if(oa=mr)t:{var qa,O,F,q=Ht,re=Re,ue=ee,Be=Et,ct=lt,Dt=q.m,zt=q.s,Qt=[null],Mr=1,tn=0,mn=jc[Be];r:for(;;){if(ct&&di(Dt,1)){var wn=di(Dt,3)+2,ri=bi(re,wn),yi=bi(ue,wn),Fi=ri*yi;if(!_i(ri,yi,0,q,Qt))break r;for(Qt=Qt[0],zt.xc=wn,qa=0;qa<Fi;++qa){var Di=Qt[qa]>>8&65535;Qt[qa]=Di,Di>=Mr&&(Mr=Di+1)}}if(Dt.h)break r;for(O=0;5>O;++O){var Ii=Uc[O];!O&&0<Be&&(Ii+=1<<Be),tn<Ii&&(tn=Ii)}var Gi=qe(Mr*mn,cn),ia=Mr,Wa=qe(ia,Vn);if(Wa==null)var La=null;else Te(65536>=ia),La=Wa;var mo=Xe(tn);if(La==null||mo==null||Gi==null){q.a=1;break r}var Eo=Gi;for(qa=F=0;qa<Mr;++qa){var $o=La[qa],zo=$o.G,ks=$o.H,hl=0,As=1,fl=0;for(O=0;5>O;++O){Ii=Uc[O],zo[O]=Eo,ks[O]=F,!O&&0<Be&&(Ii+=1<<Be);i:{var Ms,Os=Ii,bs=q,us=mo,ol=Eo,Ac=F,El=0,ws=bs.m,wl=di(ws,1);if(Ze(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=Xe(19),is=di(ws,4)+4;if(19<is){bs.a=3;var zl=0;break i}for(Ms=0;Ms<is;++Ms)Nl[xl[Ms]]=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=qe(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--;){Bn(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?zl=El:(bs.a=3,zl=0)}if(zl==0)break r;if(As&&Al[O]==1&&(As=Eo[F].g==0),hl+=Eo[F].g,F+=zl,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=(zo[3][ks[3]+0].value<<24|zo[1][ks[1]+0].value<<16|zo[2][ks[2]+0].value)>>>0,hl==0&&256>zo[0][ks[0]+0].value&&($o.Qb=1,$o.qb+=zo[0][ks[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,Wl=tl.pd[sc],cu=tl.G[0][tl.H[0]+sc];256<=cu.value?(Wl.g=cu.g+256,Wl.value=cu.value):(Wl.g=0,Wl.value=0,sc>>=Mi(cu,8,Wl),sc>>=Mi(tl.G[1][tl.H[1]+sc],16,Wl),sc>>=Mi(tl.G[2][tl.H[2]+sc],0,Wl),Mi(tl.G[3][tl.H[3]+sc],24,Wl))}}}zt.vc=Qt,zt.Wb=Mr,zt.Ya=La,zt.yc=Gi,oa=1;break t}oa=0}if(!(mr=oa)){Ht.a=3;break e}if(0<Et){if(Ve.ua=1<<Et,!Qn(Ve.Wa,Et)){Ht.a=1,mr=0;break e}}else Ve.ua=0;var vu=Ht,uu=Re,Xc=ee,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((it=Xe(Re*ee))==null){Ht.a=1,mr=0;break e}mr=(mr=ca(Ht,it,0,Re,ee,ee,null))&&!ye.h;break e}return mr?(er!=null?er[0]=it:(Te(it==null),Te(lt)),Ht.$=0,lt||Ma(Ve)):Ma(Ve),mr}function xi(me,Ue){var lt=me.c*me.i,Ht=lt+Ue+16*Ue;return Te(me.c<=Ue),me.V=Xe(Ht),me.V==null?(me.Ta=null,me.Ua=0,me.a=1,0):(me.Ta=me.V,me.Ua=me.Ba+lt+Ue,1)}function ji(me,Ue){var lt=me.C,Ht=Ue-lt,er=me.V,mr=me.Ba+me.c*lt;for(Te(Ue<=me.l.o);0<Ht;){var Re=16<Ht?16:Ht,ee=me.l.ma,ye=me.l.width,Ve=ye*Re,it=ee.ca,Et=ee.tb+ye*lt,Rt=me.Ta,Ft=me.Ua;Wi(me,Re,er,mr),ys(Rt,Ft,it,Et,Ve),ya(ee,lt,lt+Re,it,Et,ye),Ht-=Re,er+=Re*me.c,lt+=Re}Te(lt==Ue),me.C=me.Ma=Ue}function Ji(){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=Xe(4),this.Lb=Xe(4)}function Oa(){this.Yb=function(){var me=[];return function Ue(lt,Ht,er){for(var mr=er[Ht],Re=0;Re<mr&&(lt.push(er.length>Ht+1?[]:0),!(er.length<Ht+1));Re++)Ue(lt[Re],Ht+1,er)}(me,0,[3,11]),me}()}function _a(){this.jb=Xe(3),this.Wc=mt([4,8],Oa),this.Xc=mt([4,17],Oa)}function la(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new Xe(4),this.od=new Xe(4)}function va(){this.ld=this.La=this.dd=this.tc=0}function Fa(){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=Xe(384),this.Za=0,this.Ob=Xe(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=Xe(16),this.f=Xe(8),this.ea=Xe(8)}function io(){this.cb=this.a=0,this.sc="",this.m=new qr,this.Od=new Ji,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=qe(8,qr),this.ia=0,this.pb=qe(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 Fa),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=mt([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(me,Ue){return 0>me?0:me>Ue?Ue:me}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 me=new io;return me!=null&&(me.a=0,me.sc="OK",me.cb=0,me.Xb=0,jl||(jl=os)),me}function Oi(me,Ue,lt){return me.a==0&&(me.a=Ue,me.sc=lt,me.cb=0),0}function Ba(me,Ue,lt){return 3<=lt&&me[Ue+0]==157&&me[Ue+1]==1&&me[Ue+2]==42}function vo(me,Ue){if(me==null)return 0;if(me.a=0,me.sc="OK",Ue==null)return Oi(me,2,"null VP8Io passed to VP8GetHeaders()");var lt=Ue.data,Ht=Ue.w,er=Ue.ha;if(4>er)return Oi(me,7,"Truncated header.");var mr=lt[Ht+0]|lt[Ht+1]<<8|lt[Ht+2]<<16,Re=me.Od;if(Re.Rb=!(1&mr),Re.td=mr>>1&7,Re.yd=mr>>4&1,Re.ub=mr>>5,3<Re.td)return Oi(me,3,"Incorrect keyframe parameters.");if(!Re.yd)return Oi(me,4,"Frame not displayable.");Ht+=3,er-=3;var ee=me.Kc;if(Re.Rb){if(7>er)return Oi(me,7,"cannot parse picture header");if(!Ba(lt,Ht,er))return Oi(me,3,"Bad code word");ee.c=16383&(lt[Ht+4]<<8|lt[Ht+3]),ee.Td=lt[Ht+4]>>6,ee.i=16383&(lt[Ht+6]<<8|lt[Ht+5]),ee.Ud=lt[Ht+6]>>6,Ht+=7,er-=7,me.za=ee.c+15>>4,me.Ub=ee.i+15>>4,Ue.width=ee.c,Ue.height=ee.i,Ue.Da=0,Ue.j=0,Ue.v=0,Ue.va=Ue.width,Ue.o=Ue.height,Ue.da=0,Ue.ib=Ue.width,Ue.hb=Ue.height,Ue.U=Ue.width,Ue.T=Ue.height,Ze((mr=me.Pa).jb,0,255,mr.jb.length),Te((mr=me.Qa)!=null),mr.Cb=0,mr.Bb=0,mr.Fb=1,Ze(mr.Zb,0,0,mr.Zb.length),Ze(mr.Lb,0,0,mr.Lb)}if(Re.ub>er)return Oi(me,7,"bad partition length");Hn(mr=me.m,lt,Ht,Re.ub),Ht+=Re.ub,er-=Re.ub,Re.Rb&&(ee.Ld=$n(mr),ee.Kd=$n(mr)),ee=me.Qa;var ye,Ve=me.Pa;if(Te(mr!=null),Te(ee!=null),ee.Cb=$n(mr),ee.Cb){if(ee.Bb=$n(mr),$n(mr)){for(ee.Fb=$n(mr),ye=0;4>ye;++ye)ee.Zb[ye]=$n(mr)?Un(mr,7):0;for(ye=0;4>ye;++ye)ee.Lb[ye]=$n(mr)?Un(mr,6):0}if(ee.Bb)for(ye=0;3>ye;++ye)Ve.jb[ye]=$n(mr)?li(mr,8):255}else ee.Bb=0;if(mr.Ka)return Oi(me,3,"cannot parse segment header");if((ee=me.ed).zd=$n(mr),ee.Tb=li(mr,6),ee.wb=li(mr,3),ee.Pc=$n(mr),ee.Pc&&$n(mr)){for(Ve=0;4>Ve;++Ve)$n(mr)&&(ee.vd[Ve]=Un(mr,6));for(Ve=0;4>Ve;++Ve)$n(mr)&&(ee.od[Ve]=Un(mr,6))}if(me.L=ee.Tb==0?0:ee.zd?1:2,mr.Ka)return Oi(me,3,"cannot parse filter header");var it=er;if(er=ye=Ht,Ht=ye+it,ee=it,me.Xb=(1<<li(me.m,2))-1,it<3*(Ve=me.Xb))lt=7;else{for(ye+=3*Ve,ee-=3*Ve,it=0;it<Ve;++it){var Et=lt[er+0]|lt[er+1]<<8|lt[er+2]<<16;Et>ee&&(Et=ee),Hn(me.Jc[+it],lt,ye,Et),ye+=Et,ee-=Et,er+=3}Hn(me.Jc[+Ve],lt,ye,ee),lt=ye<Ht?0:5}if(lt!=0)return Oi(me,lt,"cannot parse partitions");for(lt=li(ye=me.m,7),er=$n(ye)?Un(ye,4):0,Ht=$n(ye)?Un(ye,4):0,ee=$n(ye)?Un(ye,4):0,Ve=$n(ye)?Un(ye,4):0,ye=$n(ye)?Un(ye,4):0,it=me.Qa,Et=0;4>Et;++Et){if(it.Cb){var Rt=it.Zb[Et];it.Fb||(Rt+=lt)}else{if(0<Et){me.pb[Et]=me.pb[0];continue}Rt=lt}var Ft=me.pb[Et];Ft.Sc[0]=Bl[pa(Rt+er,127)],Ft.Sc[1]=kl[pa(Rt+0,127)],Ft.Eb[0]=2*Bl[pa(Rt+Ht,127)],Ft.Eb[1]=101581*kl[pa(Rt+ee,127)]>>16,8>Ft.Eb[1]&&(Ft.Eb[1]=8),Ft.Qc[0]=Bl[pa(Rt+Ve,117)],Ft.Qc[1]=kl[pa(Rt+ye,127)],Ft.lc=Rt+ye}if(!Re.Rb)return Oi(me,4,"Not a key frame.");for($n(mr),Re=me.Pa,lt=0;4>lt;++lt){for(er=0;8>er;++er)for(Ht=0;3>Ht;++Ht)for(ee=0;11>ee;++ee)Ve=Jn(mr,rc[lt][er][Ht][ee])?li(mr,8):Hl[lt][er][Ht][ee],Re.Wc[lt][er].Yb[Ht][ee]=Ve;for(er=0;17>er;++er)Re.Xc[lt][er]=Re.Wc[lt][Ec[er]]}return me.kc=$n(mr),me.kc&&(me.Bd=li(mr,8)),me.cb=1}function os(me,Ue,lt,Ht,er,mr,Re){var ee=Ue[er].Yb[lt];for(lt=0;16>er;++er){if(!Jn(me,ee[lt+0]))return er;for(;!Jn(me,ee[lt+1]);)if(ee=Ue[++er].Yb[0],lt=0,er==16)return 16;var ye=Ue[er+1].Yb;if(Jn(me,ee[lt+2])){var Ve=me,it=0;if(Jn(Ve,(Rt=ee)[(Et=lt)+3]))if(Jn(Ve,Rt[Et+6])){for(ee=0,Et=2*(it=Jn(Ve,Rt[Et+8]))+(Rt=Jn(Ve,Rt[Et+9+it])),it=0,Rt=Sc[Et];Rt[ee];++ee)it+=it+Jn(Ve,Rt[ee]);it+=3+(8<<Et)}else Jn(Ve,Rt[Et+7])?(it=7+2*Jn(Ve,165),it+=Jn(Ve,145)):it=5+Jn(Ve,159);else it=Jn(Ve,Rt[Et+4])?3+Jn(Ve,Rt[Et+5]):2;ee=ye[2]}else it=1,ee=ye[1];ye=Re+xc[er],0>(Ve=me).b&&Wn(Ve);var Et,Rt=Ve.b,Ft=(Et=Ve.Ca>>1)-(Ve.I>>Rt)>>31;--Ve.b,Ve.Ca+=Ft,Ve.Ca|=1,Ve.I-=(Et+1&Ft)<<Rt,mr[ye]=((it^Ft)-Ft)*Ht[(0<er)+0]}return 16}function Va(me){var Ue=me.rb[me.sb-1];Ue.la=0,Ue.Na=0,Ze(me.zc,0,0,me.zc.length),me.ja=0}function ao(me,Ue){if(me==null)return 0;if(Ue==null)return Oi(me,2,"NULL VP8Io parameter in VP8Decode().");if(!me.cb&&!vo(me,Ue))return 0;if(Te(me.cb),Ue.ac==null||Ue.ac(Ue)){Ue.ob&&(me.L=0);var lt=Yl[me.L];if(me.L==2?(me.yb=0,me.zb=0):(me.yb=Ue.v-lt>>4,me.zb=Ue.j-lt>>4,0>me.yb&&(me.yb=0),0>me.zb&&(me.zb=0)),me.Va=Ue.o+15+lt>>4,me.Hb=Ue.va+15+lt>>4,me.Hb>me.za&&(me.Hb=me.za),me.Va>me.Ub&&(me.Va=me.Ub),0<me.L){var Ht=me.ed;for(lt=0;4>lt;++lt){var er;if(me.Qa.Cb){var mr=me.Qa.Lb[lt];me.Qa.Fb||(mr+=Ht.Tb)}else mr=Ht.Tb;for(er=0;1>=er;++er){var Re=me.gd[lt][er],ee=mr;if(Ht.Pc&&(ee+=Ht.vd[0],er&&(ee+=Ht.od[0])),0<(ee=0>ee?0:63<ee?63:ee)){var ye=ee;0<Ht.wb&&(ye=4<Ht.wb?ye>>2:ye>>1)>9-Ht.wb&&(ye=9-Ht.wb),1>ye&&(ye=1),Re.dd=ye,Re.tc=2*ee+ye,Re.ld=40<=ee?2:15<=ee?1:0}else Re.tc=0;Re.La=er}}}lt=0}else Oi(me,6,"Frame setup failed"),lt=me.a;if(lt=lt==0){if(lt){me.$c=0,0<me.Aa||(me.Ic=Zl);e:{lt=me.Ic,Ht=4*(ye=me.za);var Ve=32*ye,it=ye+1,Et=0<me.L?ye*(0<me.Aa?2:1):0,Rt=(me.Aa==2?2:1)*ye;if((Re=Ht+832+(er=3*(16*lt+Yl[me.L])/2*Ve)+(mr=me.Fa!=null&&0<me.Fa.length?me.Kc.c*me.Kc.i:0))!=Re)lt=0;else{if(Re>me.Vb){if(me.Vb=0,me.Ec=Xe(Re),me.Fc=0,me.Ec==null){lt=Oi(me,1,"no memory during frame initialization.");break e}me.Vb=Re}Re=me.Ec,ee=me.Fc,me.Ac=Re,me.Bc=ee,ee+=Ht,me.Gd=qe(Ve,Ao),me.Hd=0,me.rb=qe(it+1,Fa),me.sb=1,me.wa=Et?qe(Et,va):null,me.Y=0,me.D.Nb=0,me.D.wa=me.wa,me.D.Y=me.Y,0<me.Aa&&(me.D.Y+=ye),Te(!0),me.oc=Re,me.pc=ee,ee+=832,me.ya=qe(Rt,co),me.aa=0,me.D.ya=me.ya,me.D.aa=me.aa,me.Aa==2&&(me.D.aa+=ye),me.R=16*ye,me.B=8*ye,ye=(Ve=Yl[me.L])*me.R,Ve=Ve/2*me.B,me.sa=Re,me.ta=ee+ye,me.qa=me.sa,me.ra=me.ta+16*lt*me.R+Ve,me.Ha=me.qa,me.Ia=me.ra+8*lt*me.B+Ve,me.$c=0,ee+=er,me.mb=mr?Re:null,me.nb=mr?ee:null,Te(ee+mr<=me.Fc+me.Vb),Va(me),Ze(me.Ac,me.Bc,0,Ht),lt=1}}if(lt){if(Ue.ka=0,Ue.y=me.sa,Ue.O=me.ta,Ue.f=me.qa,Ue.N=me.ra,Ue.ea=me.Ha,Ue.Vd=me.Ia,Ue.fa=me.R,Ue.Rc=me.B,Ue.F=null,Ue.J=0,!Pc){for(lt=-255;255>=lt;++lt)Ul[255+lt]=0>lt?-lt:lt;for(lt=-1020;1020>=lt;++lt)kc[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)Mc[255+lt]=0>lt?0:255<lt?255:lt;Pc=1}il=Po,Ns=po,Ds=Io,Rs=Wo,ul=ns,Us=To,Fs=vs,Qs=rl,Ys=sl,Zs=xs,xa=Ps,Li=Ks,ea=Ls,Ca=Xs,go=Lo,js=Yo,Is=Ko,Vs=jo,al[0]=Ci,al[1]=Za,al[2]=Ya,al[3]=lo,al[4]=Sa,al[5]=Bo,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]=Fo,cs[5]=Qo,cs[6]=Zo,Tl[0]=Na,Tl[1]=ka,Tl[2]=hs,Tl[3]=ss,Tl[4]=Jo,Tl[5]=Vo,Tl[6]=Da,lt=1}else lt=0}lt&&(lt=function(Ft,nr){for(Ft.M=0;Ft.M<Ft.Va;++Ft.M){var yr,rr=Ft.Jc[Ft.M&Ft.Xb],qt=Ft.m,hr=Ft;for(yr=0;yr<hr.za;++yr){var Er=qt,Wr=hr,En=Wr.Ac,jn=Wr.Bc+4*yr,pi=Wr.zc,Yn=Wr.ya[Wr.aa+yr];if(Wr.Qa.Bb?Yn.$b=Jn(Er,Wr.Pa.jb[0])?2+Jn(Er,Wr.Pa.jb[2]):Jn(Er,Wr.Pa.jb[1]):Yn.$b=0,Wr.kc&&(Yn.Ad=Jn(Er,Wr.Bd)),Yn.Za=!Jn(Er,145)+0,Yn.Za){var Zi=Yn.Ob,Ei=0;for(Wr=0;4>Wr;++Wr){var da,ta=pi[0+Wr];for(da=0;4>da;++da){ta=fc[En[jn+da]][ta];for(var oa=hc[Jn(Er,ta[0])];0<oa;)oa=hc[2*oa+Jn(Er,ta[oa])];ta=-oa,En[jn+da]=ta}Me(Zi,Ei,En,jn,4),Ei+=4,pi[0+Wr]=ta}}else ta=Jn(Er,156)?Jn(Er,128)?1:3:Jn(Er,163)?2:0,Yn.Ob[0]=ta,Ze(En,jn,ta,4),Ze(pi,0,ta,4);Yn.Dd=Jn(Er,142)?Jn(Er,114)?Jn(Er,183)?1:3:2:0}if(hr.m.Ka)return Oi(Ft,7,"Premature end-of-partition0 encountered.");for(;Ft.ja<Ft.za;++Ft.ja){if(hr=rr,Er=(qt=Ft).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],Wr=pi.ad,Zi=0,Ei=qt.rb[qt.sb-1],ta=da=0,Ze(Wr,Zi,0,384),pi.Za)var F=0,q=jn[3];else{oa=Xe(16);var re=Er.Na+Ei.Na;if(re=jl(En,jn[1],re,Yn.Eb,0,oa,0),Er.Na=Ei.Na=(0<re)+0,1<re)il(oa,0,Wr,Zi);else{var ue=oa[0]+3>>3;for(oa=0;256>oa;oa+=16)Wr[Zi+oa]=ue}F=1,q=jn[0]}var Be=15&Er.la,ct=15&Ei.la;for(oa=0;4>oa;++oa){var Dt=1&ct;for(ue=O=0;4>ue;++ue)Be=Be>>1|(Dt=(re=jl(En,q,re=Dt+(1&Be),Yn.Sc,F,Wr,Zi))>F)<<7,O=O<<2|(3<re?3:1<re?2:Wr[Zi+0]!=0),Zi+=16;Be>>=4,ct=ct>>1|Dt<<7,da=(da<<8|O)>>>0}for(q=Be,F=ct>>4,qa=0;4>qa;qa+=2){for(O=0,Be=Er.la>>4+qa,ct=Ei.la>>4+qa,oa=0;2>oa;++oa){for(Dt=1&ct,ue=0;2>ue;++ue)re=Dt+(1&Be),Be=Be>>1|(Dt=0<(re=jl(En,jn[2],re,Yn.Qc,0,Wr,Zi)))<<3,O=O<<2|(3<re?3:1<re?2:Wr[Zi+0]!=0),Zi+=16;Be>>=2,ct=ct>>1|Dt<<5}ta|=O<<4*qa,q|=Be<<4<<qa,F|=(240&ct)<<qa}Er.la=q,Ei.la=F,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(Ft,7,"Premature end-of-file encountered.")}if(Va(Ft),qt=nr,hr=1,yr=(rr=Ft).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,ue=8*yr*rr.B,jn=rr.sa,pi=rr.ta-Er+oa,Yn=rr.qa,Wr=rr.ra-En+ue,Zi=rr.Ha,Ei=rr.Ia-En+ue,ct=(Be=O.M)==0,da=Be>=rr.Va-1,rr.Aa==2&&to(rr,O),O.uc)for(Dt=(re=rr).D.M,Te(re.D.uc),O=re.yb;O<re.Hb;++O){F=O,q=Dt;var zt=(Qt=(Ii=re).D).Nb;qa=Ii.R;var Qt=Qt.wa[Qt.Y+F],Mr=Ii.sa,tn=Ii.ta+16*zt*qa+16*F,mn=Qt.dd,wn=Qt.tc;if(wn!=0)if(Te(3<=wn),Ii.L==1)0<F&&js(Mr,tn,qa,wn+4),Qt.La&&Vs(Mr,tn,qa,wn),0<q&&go(Mr,tn,qa,wn+4),Qt.La&&Is(Mr,tn,qa,wn);else{var ri=Ii.B,yi=Ii.qa,Fi=Ii.ra+8*zt*ri+8*F,Di=Ii.Ha,Ii=Ii.Ia+8*zt*ri+8*F;zt=Qt.ld,0<F&&(Qs(Mr,tn,qa,wn+4,mn,zt),Zs(yi,Fi,Di,Ii,ri,wn+4,mn,zt)),Qt.La&&(Li(Mr,tn,qa,wn,mn,zt),Ca(yi,Fi,Di,Ii,ri,wn,mn,zt)),0<q&&(Fs(Mr,tn,qa,wn+4,mn,zt),Ys(yi,Fi,Di,Ii,ri,wn+4,mn,zt)),Qt.La&&(xa(Mr,tn,qa,wn,mn,zt),ea(yi,Fi,Di,Ii,ri,wn,mn,zt))}}if(rr.ia&&alert("todo:DitherRow"),qt.put!=null){if(O=16*Be,Be=16*(Be+1),ct?(qt.y=rr.sa,qt.O=rr.ta+oa,qt.f=rr.qa,qt.N=rr.ra+ue,qt.ea=rr.Ha,qt.W=rr.Ia+ue):(O-=ta,qt.y=jn,qt.O=pi,qt.f=Yn,qt.N=Wr,qt.ea=Zi,qt.W=Ei),da||(Be-=ta),Be>qt.o&&(Be=qt.o),qt.F=null,qt.J=null,rr.Fa!=null&&0<rr.Fa.length&&O<Be&&(qt.J=Pr(rr,qt,O,Be-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,Te(!(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<Be&&(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=Be-O,hr=qt.put(qt))}yr+1!=rr.Ic||da||(Me(rr.sa,rr.ta-Er,jn,pi+16*rr.R,Er),Me(rr.qa,rr.ra-En,Yn,Wr+8*rr.B,En),Me(rr.Ha,rr.Ia-En,Zi,Ei+8*rr.B,En))}if(!hr)return Oi(Ft,6,"Output aborted.")}return 1}(me,Ue)),Ue.bc!=null&&Ue.bc(Ue),lt&=1}return lt?(me.cb=0,lt):0}function Ga(me,Ue,lt,Ht,er){er=me[Ue+lt+32*Ht]+(er>>3),me[Ue+lt+32*Ht]=-256&er?0>er?0:255:er}function yo(me,Ue,lt,Ht,er,mr){Ga(me,Ue,0,lt,Ht+er),Ga(me,Ue,1,lt,Ht+mr),Ga(me,Ue,2,lt,Ht-mr),Ga(me,Ue,3,lt,Ht-er)}function fo(me){return(20091*me>>16)+me}function es(me,Ue,lt,Ht){var er,mr=0,Re=Xe(16);for(er=0;4>er;++er){var ee=me[Ue+0]+me[Ue+8],ye=me[Ue+0]-me[Ue+8],Ve=(35468*me[Ue+4]>>16)-fo(me[Ue+12]),it=fo(me[Ue+4])+(35468*me[Ue+12]>>16);Re[mr+0]=ee+it,Re[mr+1]=ye+Ve,Re[mr+2]=ye-Ve,Re[mr+3]=ee-it,mr+=4,Ue++}for(er=mr=0;4>er;++er)ee=(me=Re[mr+0]+4)+Re[mr+8],ye=me-Re[mr+8],Ve=(35468*Re[mr+4]>>16)-fo(Re[mr+12]),Ga(lt,Ht,0,0,ee+(it=fo(Re[mr+4])+(35468*Re[mr+12]>>16))),Ga(lt,Ht,1,0,ye+Ve),Ga(lt,Ht,2,0,ye-Ve),Ga(lt,Ht,3,0,ee-it),mr++,Ht+=32}function To(me,Ue,lt,Ht){var er=me[Ue+0]+4,mr=35468*me[Ue+4]>>16,Re=fo(me[Ue+4]),ee=35468*me[Ue+1]>>16;yo(lt,Ht,0,er+Re,me=fo(me[Ue+1]),ee),yo(lt,Ht,1,er+mr,me,ee),yo(lt,Ht,2,er-mr,me,ee),yo(lt,Ht,3,er-Re,me,ee)}function po(me,Ue,lt,Ht,er){es(me,Ue,lt,Ht),er&&es(me,Ue+16,lt,Ht+4)}function Io(me,Ue,lt,Ht){Ns(me,Ue+0,lt,Ht,1),Ns(me,Ue+32,lt,Ht+128,1)}function Wo(me,Ue,lt,Ht){var er;for(me=me[Ue+0]+4,er=0;4>er;++er)for(Ue=0;4>Ue;++Ue)Ga(lt,Ht,Ue,er,me)}function ns(me,Ue,lt,Ht){me[Ue+0]&&Rs(me,Ue+0,lt,Ht),me[Ue+16]&&Rs(me,Ue+16,lt,Ht+4),me[Ue+32]&&Rs(me,Ue+32,lt,Ht+128),me[Ue+48]&&Rs(me,Ue+48,lt,Ht+128+4)}function Po(me,Ue,lt,Ht){var er,mr=Xe(16);for(er=0;4>er;++er){var Re=me[Ue+0+er]+me[Ue+12+er],ee=me[Ue+4+er]+me[Ue+8+er],ye=me[Ue+4+er]-me[Ue+8+er],Ve=me[Ue+0+er]-me[Ue+12+er];mr[0+er]=Re+ee,mr[8+er]=Re-ee,mr[4+er]=Ve+ye,mr[12+er]=Ve-ye}for(er=0;4>er;++er)Re=(me=mr[0+4*er]+3)+mr[3+4*er],ee=mr[1+4*er]+mr[2+4*er],ye=mr[1+4*er]-mr[2+4*er],Ve=me-mr[3+4*er],lt[Ht+0]=Re+ee>>3,lt[Ht+16]=Ve+ye>>3,lt[Ht+32]=Re-ee>>3,lt[Ht+48]=Ve-ye>>3,Ht+=64}function Aa(me,Ue,lt){var Ht,er=Ue-32,mr=el,Re=255-me[er-1];for(Ht=0;Ht<lt;++Ht){var ee,ye=mr,Ve=Re+me[Ue-1];for(ee=0;ee<lt;++ee)me[Ue+ee]=ye[Ve+me[er+ee]];Ue+=32}}function Za(me,Ue){Aa(me,Ue,4)}function ka(me,Ue){Aa(me,Ue,8)}function $i(me,Ue){Aa(me,Ue,16)}function uo(me,Ue){var lt;for(lt=0;16>lt;++lt)Me(me,Ue+32*lt,me,Ue-32,16)}function Ha(me,Ue){var lt;for(lt=16;0<lt;--lt)Ze(me,Ue,me[Ue-1],16),Ue+=32}function Yi(me,Ue,lt){var Ht;for(Ht=0;16>Ht;++Ht)Ze(Ue,lt+32*Ht,me,16)}function Qa(me,Ue){var lt,Ht=16;for(lt=0;16>lt;++lt)Ht+=me[Ue-1+32*lt]+me[Ue+lt-32];Yi(Ht>>5,me,Ue)}function Fo(me,Ue){var lt,Ht=8;for(lt=0;16>lt;++lt)Ht+=me[Ue-1+32*lt];Yi(Ht>>4,me,Ue)}function Qo(me,Ue){var lt,Ht=8;for(lt=0;16>lt;++lt)Ht+=me[Ue+lt-32];Yi(Ht>>4,me,Ue)}function Zo(me,Ue){Yi(128,me,Ue)}function ua(me,Ue,lt){return me+2*Ue+lt+2>>2}function Ya(me,Ue){var lt,Ht=Ue-32;for(Ht=new Uint8Array([ua(me[Ht-1],me[Ht+0],me[Ht+1]),ua(me[Ht+0],me[Ht+1],me[Ht+2]),ua(me[Ht+1],me[Ht+2],me[Ht+3]),ua(me[Ht+2],me[Ht+3],me[Ht+4])]),lt=0;4>lt;++lt)Me(me,Ue+32*lt,Ht,0,Ht.length)}function lo(me,Ue){var lt=me[Ue-1],Ht=me[Ue-1+32],er=me[Ue-1+64],mr=me[Ue-1+96];vi(me,Ue+0,16843009*ua(me[Ue-1-32],lt,Ht)),vi(me,Ue+32,16843009*ua(lt,Ht,er)),vi(me,Ue+64,16843009*ua(Ht,er,mr)),vi(me,Ue+96,16843009*ua(er,mr,mr))}function Ci(me,Ue){var lt,Ht=4;for(lt=0;4>lt;++lt)Ht+=me[Ue+lt-32]+me[Ue-1+32*lt];for(Ht>>=3,lt=0;4>lt;++lt)Ze(me,Ue+32*lt,Ht,4)}function Sa(me,Ue){var lt=me[Ue-1+0],Ht=me[Ue-1+32],er=me[Ue-1+64],mr=me[Ue-1-32],Re=me[Ue+0-32],ee=me[Ue+1-32],ye=me[Ue+2-32],Ve=me[Ue+3-32];me[Ue+0+96]=ua(Ht,er,me[Ue-1+96]),me[Ue+1+96]=me[Ue+0+64]=ua(lt,Ht,er),me[Ue+2+96]=me[Ue+1+64]=me[Ue+0+32]=ua(mr,lt,Ht),me[Ue+3+96]=me[Ue+2+64]=me[Ue+1+32]=me[Ue+0+0]=ua(Re,mr,lt),me[Ue+3+64]=me[Ue+2+32]=me[Ue+1+0]=ua(ee,Re,mr),me[Ue+3+32]=me[Ue+2+0]=ua(ye,ee,Re),me[Ue+3+0]=ua(Ve,ye,ee)}function bo(me,Ue){var lt=me[Ue+1-32],Ht=me[Ue+2-32],er=me[Ue+3-32],mr=me[Ue+4-32],Re=me[Ue+5-32],ee=me[Ue+6-32],ye=me[Ue+7-32];me[Ue+0+0]=ua(me[Ue+0-32],lt,Ht),me[Ue+1+0]=me[Ue+0+32]=ua(lt,Ht,er),me[Ue+2+0]=me[Ue+1+32]=me[Ue+0+64]=ua(Ht,er,mr),me[Ue+3+0]=me[Ue+2+32]=me[Ue+1+64]=me[Ue+0+96]=ua(er,mr,Re),me[Ue+3+32]=me[Ue+2+64]=me[Ue+1+96]=ua(mr,Re,ee),me[Ue+3+64]=me[Ue+2+96]=ua(Re,ee,ye),me[Ue+3+96]=ua(ee,ye,ye)}function Bo(me,Ue){var lt=me[Ue-1+0],Ht=me[Ue-1+32],er=me[Ue-1+64],mr=me[Ue-1-32],Re=me[Ue+0-32],ee=me[Ue+1-32],ye=me[Ue+2-32],Ve=me[Ue+3-32];me[Ue+0+0]=me[Ue+1+64]=mr+Re+1>>1,me[Ue+1+0]=me[Ue+2+64]=Re+ee+1>>1,me[Ue+2+0]=me[Ue+3+64]=ee+ye+1>>1,me[Ue+3+0]=ye+Ve+1>>1,me[Ue+0+96]=ua(er,Ht,lt),me[Ue+0+64]=ua(Ht,lt,mr),me[Ue+0+32]=me[Ue+1+96]=ua(lt,mr,Re),me[Ue+1+32]=me[Ue+2+96]=ua(mr,Re,ee),me[Ue+2+32]=me[Ue+3+96]=ua(Re,ee,ye),me[Ue+3+32]=ua(ee,ye,Ve)}function Oo(me,Ue){var lt=me[Ue+0-32],Ht=me[Ue+1-32],er=me[Ue+2-32],mr=me[Ue+3-32],Re=me[Ue+4-32],ee=me[Ue+5-32],ye=me[Ue+6-32],Ve=me[Ue+7-32];me[Ue+0+0]=lt+Ht+1>>1,me[Ue+1+0]=me[Ue+0+64]=Ht+er+1>>1,me[Ue+2+0]=me[Ue+1+64]=er+mr+1>>1,me[Ue+3+0]=me[Ue+2+64]=mr+Re+1>>1,me[Ue+0+32]=ua(lt,Ht,er),me[Ue+1+32]=me[Ue+0+96]=ua(Ht,er,mr),me[Ue+2+32]=me[Ue+1+96]=ua(er,mr,Re),me[Ue+3+32]=me[Ue+2+96]=ua(mr,Re,ee),me[Ue+3+64]=ua(Re,ee,ye),me[Ue+3+96]=ua(ee,ye,Ve)}function gs(me,Ue){var lt=me[Ue-1+0],Ht=me[Ue-1+32],er=me[Ue-1+64],mr=me[Ue-1+96];me[Ue+0+0]=lt+Ht+1>>1,me[Ue+2+0]=me[Ue+0+32]=Ht+er+1>>1,me[Ue+2+32]=me[Ue+0+64]=er+mr+1>>1,me[Ue+1+0]=ua(lt,Ht,er),me[Ue+3+0]=me[Ue+1+32]=ua(Ht,er,mr),me[Ue+3+32]=me[Ue+1+64]=ua(er,mr,mr),me[Ue+3+64]=me[Ue+2+64]=me[Ue+0+96]=me[Ue+1+96]=me[Ue+2+96]=me[Ue+3+96]=mr}function ds(me,Ue){var lt=me[Ue-1+0],Ht=me[Ue-1+32],er=me[Ue-1+64],mr=me[Ue-1+96],Re=me[Ue-1-32],ee=me[Ue+0-32],ye=me[Ue+1-32],Ve=me[Ue+2-32];me[Ue+0+0]=me[Ue+2+32]=lt+Re+1>>1,me[Ue+0+32]=me[Ue+2+64]=Ht+lt+1>>1,me[Ue+0+64]=me[Ue+2+96]=er+Ht+1>>1,me[Ue+0+96]=mr+er+1>>1,me[Ue+3+0]=ua(ee,ye,Ve),me[Ue+2+0]=ua(Re,ee,ye),me[Ue+1+0]=me[Ue+3+32]=ua(lt,Re,ee),me[Ue+1+32]=me[Ue+3+64]=ua(Ht,lt,Re),me[Ue+1+64]=me[Ue+3+96]=ua(er,Ht,lt),me[Ue+1+96]=ua(mr,er,Ht)}function hs(me,Ue){var lt;for(lt=0;8>lt;++lt)Me(me,Ue+32*lt,me,Ue-32,8)}function ss(me,Ue){var lt;for(lt=0;8>lt;++lt)Ze(me,Ue,me[Ue-1],8),Ue+=32}function $a(me,Ue,lt){var Ht;for(Ht=0;8>Ht;++Ht)Ze(Ue,lt+32*Ht,me,8)}function Na(me,Ue){var lt,Ht=8;for(lt=0;8>lt;++lt)Ht+=me[Ue+lt-32]+me[Ue-1+32*lt];$a(Ht>>4,me,Ue)}function Vo(me,Ue){var lt,Ht=4;for(lt=0;8>lt;++lt)Ht+=me[Ue+lt-32];$a(Ht>>3,me,Ue)}function Jo(me,Ue){var lt,Ht=4;for(lt=0;8>lt;++lt)Ht+=me[Ue-1+32*lt];$a(Ht>>3,me,Ue)}function Da(me,Ue){$a(128,me,Ue)}function Ka(me,Ue,lt){var Ht=me[Ue-lt],er=me[Ue+0],mr=3*(er-Ht)+Dl[1020+me[Ue-2*lt]-me[Ue+lt]],Re=$s[112+(mr+4>>3)];me[Ue-lt]=el[255+Ht+$s[112+(mr+3>>3)]],me[Ue+0]=el[255+er-Re]}function Pa(me,Ue,lt,Ht){var er=me[Ue+0],mr=me[Ue+lt];return dl[255+me[Ue-2*lt]-me[Ue-lt]]>Ht||dl[255+mr-er]>Ht}function Xo(me,Ue,lt,Ht){return 4*dl[255+me[Ue-lt]-me[Ue+0]]+dl[255+me[Ue-2*lt]-me[Ue+lt]]<=Ht}function Uo(me,Ue,lt,Ht,er){var mr=me[Ue-3*lt],Re=me[Ue-2*lt],ee=me[Ue-lt],ye=me[Ue+0],Ve=me[Ue+lt],it=me[Ue+2*lt],Et=me[Ue+3*lt];return 4*dl[255+ee-ye]+dl[255+Re-Ve]>Ht?0:dl[255+me[Ue-4*lt]-mr]<=er&&dl[255+mr-Re]<=er&&dl[255+Re-ee]<=er&&dl[255+Et-it]<=er&&dl[255+it-Ve]<=er&&dl[255+Ve-ye]<=er}function Lo(me,Ue,lt,Ht){var er=2*Ht+1;for(Ht=0;16>Ht;++Ht)Xo(me,Ue+Ht,lt,er)&&Ka(me,Ue+Ht,lt)}function Yo(me,Ue,lt,Ht){var er=2*Ht+1;for(Ht=0;16>Ht;++Ht)Xo(me,Ue+Ht*lt,1,er)&&Ka(me,Ue+Ht*lt,1)}function Ko(me,Ue,lt,Ht){var er;for(er=3;0<er;--er)Lo(me,Ue+=4*lt,lt,Ht)}function jo(me,Ue,lt,Ht){var er;for(er=3;0<er;--er)Yo(me,Ue+=4,lt,Ht)}function Or(me,Ue,lt,Ht,er,mr,Re,ee){for(mr=2*mr+1;0<er--;){if(Uo(me,Ue,lt,mr,Re))if(Pa(me,Ue,lt,ee))Ka(me,Ue,lt);else{var ye=me,Ve=Ue,it=lt,Et=ye[Ve-2*it],Rt=ye[Ve-it],Ft=ye[Ve+0],nr=ye[Ve+it],yr=ye[Ve+2*it],rr=27*(hr=Dl[1020+3*(Ft-Rt)+Dl[1020+Et-nr]])+63>>7,qt=18*hr+63>>7,hr=9*hr+63>>7;ye[Ve-3*it]=el[255+ye[Ve-3*it]+hr],ye[Ve-2*it]=el[255+Et+qt],ye[Ve-it]=el[255+Rt+rr],ye[Ve+0]=el[255+Ft-rr],ye[Ve+it]=el[255+nr-qt],ye[Ve+2*it]=el[255+yr-hr]}Ue+=Ht}}function ui(me,Ue,lt,Ht,er,mr,Re,ee){for(mr=2*mr+1;0<er--;){if(Uo(me,Ue,lt,mr,Re))if(Pa(me,Ue,lt,ee))Ka(me,Ue,lt);else{var ye=me,Ve=Ue,it=lt,Et=ye[Ve-it],Rt=ye[Ve+0],Ft=ye[Ve+it],nr=$s[112+((yr=3*(Rt-Et))+4>>3)],yr=$s[112+(yr+3>>3)],rr=nr+1>>1;ye[Ve-2*it]=el[255+ye[Ve-2*it]+rr],ye[Ve-it]=el[255+Et+yr],ye[Ve+0]=el[255+Rt-nr],ye[Ve+it]=el[255+Ft-rr]}Ue+=Ht}}function vs(me,Ue,lt,Ht,er,mr){Or(me,Ue,lt,1,16,Ht,er,mr)}function rl(me,Ue,lt,Ht,er,mr){Or(me,Ue,1,lt,16,Ht,er,mr)}function Ps(me,Ue,lt,Ht,er,mr){var Re;for(Re=3;0<Re;--Re)ui(me,Ue+=4*lt,lt,1,16,Ht,er,mr)}function Ks(me,Ue,lt,Ht,er,mr){var Re;for(Re=3;0<Re;--Re)ui(me,Ue+=4,1,lt,16,Ht,er,mr)}function sl(me,Ue,lt,Ht,er,mr,Re,ee){Or(me,Ue,er,1,8,mr,Re,ee),Or(lt,Ht,er,1,8,mr,Re,ee)}function xs(me,Ue,lt,Ht,er,mr,Re,ee){Or(me,Ue,1,er,8,mr,Re,ee),Or(lt,Ht,1,er,8,mr,Re,ee)}function Ls(me,Ue,lt,Ht,er,mr,Re,ee){ui(me,Ue+4*er,er,1,8,mr,Re,ee),ui(lt,Ht+4*er,er,1,8,mr,Re,ee)}function Xs(me,Ue,lt,Ht,er,mr,Re,ee){ui(me,Ue+4,1,er,8,mr,Re,ee),ui(lt,Ht+4,1,er,8,mr,Re,ee)}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=qe(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(me,Ue,lt,Ht,er,mr,Re){for(me=me==null?0:me[Ue+0],Ue=0;Ue<Re;++Ue)er[mr+Ue]=me+lt[Ht+Ue]&255,me=er[mr+Ue]}function yt(me,Ue,lt,Ht,er,mr,Re){var ee;if(me==null)ho(null,null,lt,Ht,er,mr,Re);else for(ee=0;ee<Re;++ee)er[mr+ee]=me[Ue+ee]+lt[Ht+ee]&255}function Lt(me,Ue,lt,Ht,er,mr,Re){if(me==null)ho(null,null,lt,Ht,er,mr,Re);else{var ee,ye=me[Ue+0],Ve=ye,it=ye;for(ee=0;ee<Re;++ee)Ve=it+(ye=me[Ue+ee])-Ve,it=lt[Ht+ee]+(-256&Ve?0>Ve?0:255:Ve)&255,Ve=ye,er[mr+ee]=it}}function Pr(me,Ue,lt,Ht){var er=Ue.width,mr=Ue.o;if(Te(me!=null&&Ue!=null),0>lt||0>=Ht||lt+Ht>mr)return null;if(!me.Cc){if(me.ga==null){var Re;if(me.ga=new eo,(Re=me.ga==null)||(Re=Ue.width*Ue.o,Te(me.Gb.length==0),me.Gb=Xe(Re),me.Uc=0,me.Gb==null?Re=0:(me.mb=me.Gb,me.nb=me.Uc,me.rc=null,Re=1),Re=!Re),!Re){Re=me.ga;var ee=me.Fa,ye=me.P,Ve=me.qc,it=me.mb,Et=me.nb,Rt=ye+1,Ft=Ve-1,nr=Re.l;if(Te(ee!=null&&it!=null&&Ue!=null),Il[0]=null,Il[1]=ho,Il[2]=yt,Il[3]=Lt,Re.ca=it,Re.tb=Et,Re.c=Ue.width,Re.i=Ue.height,Te(0<Re.c&&0<Re.i),1>=Ve)Ue=0;else if(Re.$a=ee[ye+0]>>0&3,Re.Z=ee[ye+0]>>2&3,Re.Lc=ee[ye+0]>>4&3,ye=ee[ye+0]>>6&3,0>Re.$a||1<Re.$a||4<=Re.Z||1<Re.Lc||ye)Ue=0;else if(nr.put=qn,nr.ac=Ni,nr.bc=Pn,nr.ma=Re,nr.width=Ue.width,nr.height=Ue.height,nr.Da=Ue.Da,nr.v=Ue.v,nr.va=Ue.va,nr.j=Ue.j,nr.o=Ue.o,Re.$a)e:{Te(Re.$a==1),Ue=wa();t:for(;;){if(Ue==null){Ue=0;break e}if(Te(Re!=null),Re.mc=Ue,Ue.c=Re.c,Ue.i=Re.i,Ue.l=Re.l,Ue.l.ma=Re,Ue.l.width=Re.c,Ue.l.height=Re.i,Ue.a=0,gi(Ue.m,ee,Rt,Ft),!_i(Re.c,Re.i,1,Ue,null))break t;if(Ue.ab==1&&Ue.gc[0].hc==3&&aa(Ue.s)?(Re.ic=1,ee=Ue.c*Ue.i,Ue.Ta=null,Ue.Ua=0,Ue.V=Xe(ee),Ue.Ba=0,Ue.V==null?(Ue.a=1,Ue=0):Ue=1):(Re.ic=0,Ue=xi(Ue,Re.c)),!Ue)break t;Ue=1;break e}Re.mc=null,Ue=0}else Ue=Ft>=Re.c*Re.i;Re=!Ue}if(Re)return null;me.ga.Lc!=1?me.Ga=0:Ht=mr-lt}Te(me.ga!=null),Te(lt+Ht<=mr);e:{if(Ue=(ee=me.ga).c,mr=ee.l.o,ee.$a==0){if(Rt=me.rc,Ft=me.Vc,nr=me.Fa,ye=me.P+1+lt*Ue,Ve=me.mb,it=me.nb+lt*Ue,Te(ye<=me.P+me.qc),ee.Z!=0)for(Te(Il[ee.Z]!=null),Re=0;Re<Ht;++Re)Il[ee.Z](Rt,Ft,nr,ye,Ve,it,Ue),Rt=Ve,Ft=it,it+=Ue,ye+=Ue;else for(Re=0;Re<Ht;++Re)Me(Ve,it,nr,ye,Ue),Rt=Ve,Ft=it,it+=Ue,ye+=Ue;me.rc=Rt,me.Vc=Ft}else{if(Te(ee.mc!=null),Ue=lt+Ht,Te((Re=ee.mc)!=null),Te(Ue<=Re.i),Re.C>=Ue)Ue=1;else if(ee.ic||ve(),ee.ic){ee=Re.V,Rt=Re.Ba,Ft=Re.c;var yr=Re.i,rr=(nr=1,ye=Re.$/Ft,Ve=Re.$%Ft,it=Re.m,Et=Re.s,Re.$),qt=Ft*yr,hr=Ft*Ue,Er=Et.wc,Wr=rr<hr?fa(Et,Ve,ye):null;Te(rr<=qt),Te(Ue<=yr),Te(aa(Et));t:for(;;){for(;!it.h&&rr<hr;){if(Ve&Er||(Wr=fa(Et,Ve,ye)),Te(Wr!=null),Bn(it),256>(yr=fi(Wr.G[0],Wr.H[0],it)))ee[Rt+rr]=yr,++rr,++Ve>=Ft&&(Ve=0,++ye<=Ue&&!(ye%16)&&Ea(Re,ye));else{if(!(280>yr)){nr=0;break t}yr=ci(yr-256,it);var En,jn=fi(Wr.G[4],Wr.H[4],it);if(Bn(it),!(rr>=(jn=wi(Ft,jn=ci(jn,it)))&&qt-rr>=yr)){nr=0;break t}for(En=0;En<yr;++En)ee[Rt+rr+En]=ee[Rt+rr+En-jn];for(rr+=yr,Ve+=yr;Ve>=Ft;)Ve-=Ft,++ye<=Ue&&!(ye%16)&&Ea(Re,ye);rr<hr&&Ve&Er&&(Wr=fa(Et,Ve,ye))}Te(it.h==gn(it))}Ea(Re,ye>Ue?Ue:ye);break t}!nr||it.h&&rr<qt?(nr=0,Re.a=it.h?5:3):Re.$=rr,Ue=nr}else Ue=ca(Re,Re.V,Re.Ba,Re.c,Re.i,Ue,ji);if(!Ue){Ht=0;break e}}lt+Ht>=mr&&(me.Cc=1),Ht=1}if(!Ht)return null;if(me.Cc&&((Ht=me.ga)!=null&&(Ht.mc=null),me.ga=null,0<me.Ga))return alert("todo:WebPDequantizeLevels"),null}return me.nb+lt*er}function pn(me,Ue,lt,Ht,er,mr){for(;0<er--;){var Re,ee=me,ye=Ue+(lt?1:0),Ve=me,it=Ue+(lt?0:3);for(Re=0;Re<Ht;++Re){var Et=Ve[it+4*Re];Et!=255&&(Et*=32897,ee[ye+4*Re+0]=ee[ye+4*Re+0]*Et>>23,ee[ye+4*Re+1]=ee[ye+4*Re+1]*Et>>23,ee[ye+4*Re+2]=ee[ye+4*Re+2]*Et>>23)}Ue+=mr}}function Rn(me,Ue,lt,Ht,er){for(;0<Ht--;){var mr;for(mr=0;mr<lt;++mr){var Re=me[Ue+2*mr+0],ee=15&(Ve=me[Ue+2*mr+1]),ye=4369*ee,Ve=(240&Ve|Ve>>4)*ye>>16;me[Ue+2*mr+0]=(240&Re|Re>>4)*ye>>16&240|(15&Re|Re<<4)*ye>>16>>4&15,me[Ue+2*mr+1]=240&Ve|ee}Ue+=er}}function dt(me,Ue,lt,Ht,er,mr,Re,ee){var ye,Ve,it=255;for(Ve=0;Ve<er;++Ve){for(ye=0;ye<Ht;++ye){var Et=me[Ue+ye];mr[Re+4*ye]=Et,it&=Et}Ue+=lt,Re+=ee}return it!=255}function ce(me,Ue,lt,Ht,er){var mr;for(mr=0;mr<er;++mr)lt[Ht+mr]=me[Ue+mr]>>8}function ve(){Js=pn,gl=Rn,Bs=dt,ys=ce}function _e(me,Ue,lt){xn[me]=function(Ht,er,mr,Re,ee,ye,Ve,it,Et,Rt,Ft,nr,yr,rr,qt,hr,Er){var Wr,En=Er-1>>1,jn=ee[ye+0]|Ve[it+0]<<16,pi=Et[Rt+0]|Ft[nr+0]<<16;Te(Ht!=null);var Yn=3*jn+pi+131074>>2;for(Ue(Ht[er+0],255&Yn,Yn>>16,yr,rr),mr!=null&&(Yn=3*pi+jn+131074>>2,Ue(mr[Re+0],255&Yn,Yn>>16,qt,hr)),Wr=1;Wr<=En;++Wr){var Zi=ee[ye+Wr]|Ve[it+Wr]<<16,Ei=Et[Rt+Wr]|Ft[nr+Wr]<<16,da=jn+Zi+pi+Ei+524296,ta=da+2*(Zi+pi)>>3;Yn=ta+jn>>1,jn=(da=da+2*(jn+Ei)>>3)+Zi>>1,Ue(Ht[er+2*Wr-1],255&Yn,Yn>>16,yr,rr+(2*Wr-1)*lt),Ue(Ht[er+2*Wr-0],255&jn,jn>>16,yr,rr+(2*Wr-0)*lt),mr!=null&&(Yn=da+pi>>1,jn=ta+Ei>>1,Ue(mr[Re+2*Wr-1],255&Yn,Yn>>16,qt,hr+(2*Wr-1)*lt),Ue(mr[Re+2*Wr+0],255&jn,jn>>16,qt,hr+(2*Wr+0)*lt)),jn=Zi,pi=Ei}1&Er||(Yn=3*jn+pi+131074>>2,Ue(Ht[er+Er-1],255&Yn,Yn>>16,yr,rr+(Er-1)*lt),mr!=null&&(Yn=3*pi+jn+131074>>2,Ue(mr[Re+Er-1],255&Yn,Yn>>16,qt,hr+(Er-1)*lt)))}}function ze(){bl[Vl]=_c,bl[ql]=Kc,bl[lc]=Hc,bl[Xl]=Cc,bl[Rl]=Tc,bl[cc]=zc,bl[$l]=pc,bl[uc]=Kc,bl[Sl]=Cc,bl[_l]=Tc,bl[Fl]=zc}function ut(me){return me&~qc?0>me?0:255:me>>Ic}function Pt(me,Ue){return ut((19077*me>>8)+(26149*Ue>>8)-14234)}function ar(me,Ue,lt){return ut((19077*me>>8)-(6419*Ue>>8)-(13320*lt>>8)+8708)}function wr(me,Ue){return ut((19077*me>>8)+(33050*Ue>>8)-17685)}function jr(me,Ue,lt,Ht,er){Ht[er+0]=Pt(me,lt),Ht[er+1]=ar(me,Ue,lt),Ht[er+2]=wr(me,Ue)}function hn(me,Ue,lt,Ht,er){Ht[er+0]=wr(me,Ue),Ht[er+1]=ar(me,Ue,lt),Ht[er+2]=Pt(me,lt)}function Tn(me,Ue,lt,Ht,er){var mr=ar(me,Ue,lt);Ue=mr<<3&224|wr(me,Ue)>>3,Ht[er+0]=248&Pt(me,lt)|mr>>5,Ht[er+1]=Ue}function ti(me,Ue,lt,Ht,er){var mr=240&wr(me,Ue)|15;Ht[er+0]=240&Pt(me,lt)|ar(me,Ue,lt)>>4,Ht[er+1]=mr}function Ai(me,Ue,lt,Ht,er){Ht[er+0]=255,jr(me,Ue,lt,Ht,er+1)}function Ti(me,Ue,lt,Ht,er){hn(me,Ue,lt,Ht,er),Ht[er+3]=255}function zi(me,Ue,lt,Ht,er){jr(me,Ue,lt,Ht,er),Ht[er+3]=255}function pa(me,Ue){return 0>me?0:me>Ue?Ue:me}function na(me,Ue,lt){xn[me]=function(Ht,er,mr,Re,ee,ye,Ve,it,Et){for(var Rt=it+(-2&Et)*lt;it!=Rt;)Ue(Ht[er+0],mr[Re+0],ee[ye+0],Ve,it),Ue(Ht[er+1],mr[Re+0],ee[ye+0],Ve,it+lt),er+=2,++Re,++ye,it+=2*lt;1&Et&&Ue(Ht[er+0],mr[Re+0],ee[ye+0],Ve,it)}}function Ua(me,Ue,lt){return lt==0?me==0?Ue==0?6:5:Ue==0?4:0:lt}function Ja(me,Ue,lt,Ht,er){switch(me>>>30){case 3:Ns(Ue,lt,Ht,er,0);break;case 2:Us(Ue,lt,Ht,er);break;case 1:Rs(Ue,lt,Ht,er)}}function to(me,Ue){var lt,Ht,er=Ue.M,mr=Ue.Nb,Re=me.oc,ee=me.pc+40,ye=me.oc,Ve=me.pc+584,it=me.oc,Et=me.pc+600;for(lt=0;16>lt;++lt)Re[ee+32*lt-1]=129;for(lt=0;8>lt;++lt)ye[Ve+32*lt-1]=129,it[Et+32*lt-1]=129;for(0<er?Re[ee-1-32]=ye[Ve-1-32]=it[Et-1-32]=129:(Ze(Re,ee-32-1,127,21),Ze(ye,Ve-32-1,127,9),Ze(it,Et-32-1,127,9)),Ht=0;Ht<me.za;++Ht){var Rt=Ue.ya[Ue.aa+Ht];if(0<Ht){for(lt=-1;16>lt;++lt)Me(Re,ee+32*lt-4,Re,ee+32*lt+12,4);for(lt=-1;8>lt;++lt)Me(ye,Ve+32*lt-4,ye,Ve+32*lt+4,4),Me(it,Et+32*lt-4,it,Et+32*lt+4,4)}var Ft=me.Gd,nr=me.Hd+Ht,yr=Rt.ad,rr=Rt.Hc;if(0<er&&(Me(Re,ee-32,Ft[nr].y,0,16),Me(ye,Ve-32,Ft[nr].f,0,8),Me(it,Et-32,Ft[nr].ea,0,8)),Rt.Za){var qt=Re,hr=ee-32+16;for(0<er&&(Ht>=me.za-1?Ze(qt,hr,Ft[nr].y[15],4):Me(qt,hr,Ft[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=Re,hr=ee+gc[lt],al[Rt.Ob[lt]](qt,hr),Ja(rr,yr,16*+lt,qt,hr)}else if(qt=Ua(Ht,er,Rt.Ob[0]),cs[qt](Re,ee),rr!=0)for(lt=0;16>lt;++lt,rr<<=2)Ja(rr,yr,16*+lt,Re,ee+gc[lt]);for(lt=Rt.Gc,qt=Ua(Ht,er,Rt.Dd),Tl[qt](ye,Ve),Tl[qt](it,Et),rr=yr,qt=ye,hr=Ve,255&(Rt=lt>>0)&&(170&Rt?Ds(rr,256,qt,hr):ul(rr,256,qt,hr)),Rt=it,rr=Et,255&(lt>>=8)&&(170<?Ds(yr,320,Rt,rr):ul(yr,320,Rt,rr)),er<me.Ub-1&&(Me(Ft[nr].y,0,Re,ee+480,16),Me(Ft[nr].f,0,ye,Ve+224,8),Me(Ft[nr].ea,0,it,Et+224,8)),lt=8*mr*me.B,Ft=me.sa,nr=me.ta+16*Ht+16*mr*me.R,yr=me.qa,Rt=me.ra+8*Ht+lt,rr=me.Ha,qt=me.Ia+8*Ht+lt,lt=0;16>lt;++lt)Me(Ft,nr+lt*me.R,Re,ee+32*lt,16);for(lt=0;8>lt;++lt)Me(yr,Rt+lt*me.B,ye,Ve+32*lt,8),Me(rr,qt+lt*me.B,it,Et+32*lt,8)}}function No(me,Ue,lt,Ht,er,mr,Re,ee,ye){var Ve=[0],it=[0],Et=0,Rt=ye!=null?ye.kd:0,Ft=ye!=null?ye:new _s;if(me==null||12>lt)return 7;Ft.data=me,Ft.w=Ue,Ft.ha=lt,Ue=[Ue],lt=[lt],Ft.gb=[Ft.gb];e:{var nr=Ue,yr=lt,rr=Ft.gb;if(Te(me!=null),Te(yr!=null),Te(rr!=null),rr[0]=0,12<=yr[0]&&!ke(me,nr[0],"RIFF")){if(ke(me,nr[0]+8,"WEBP")){rr=3;break e}var qt=ja(me,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<Ft.gb[0],lt=lt[0];;){e:{var hr=me;yr=Ue,rr=lt;var Er=Ve,Wr=it,En=nr=[0];if((Yn=Et=[Et])[0]=0,8>rr[0])rr=7;else{if(!ke(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+Bi(hr,yr[0]+12);if(2147483648<=pi*(hr=1+Bi(hr,yr[0]+15))){rr=3;break e}En!=null&&(En[0]=jn),Er!=null&&(Er[0]=pi),Wr!=null&&(Wr[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)),Re!=null&&(Re[0]=yr),ee!=null&&(ee[0]=0),Re=Ve[0],nr=it[0],Et&&yr&&ye==null){rr=0;break}if(4>lt){rr=7;break}if(qt&&Et||!qt&&!Et&&!ke(me,Ue[0],"ALPH")){lt=[lt],Ft.na=[Ft.na],Ft.P=[Ft.P],Ft.Sa=[Ft.Sa];e:{jn=me,rr=Ue,qt=lt;var Yn=Ft.gb;Er=Ft.na,Wr=Ft.P,En=Ft.Sa,pi=22,Te(jn!=null),Te(qt!=null),hr=rr[0];var Zi=qt[0];for(Te(Er!=null),Te(En!=null),Er[0]=null,Wr[0]=null,En[0]=0;;){if(rr[0]=hr,qt[0]=Zi,8>Zi){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(!ke(jn,hr,"VP8 ")||!ke(jn,hr,"VP8L")){rr=0;break e}if(Zi[0]<da){rr=7;break e}ke(jn,hr,"ALPH")||(Er[0]=jn,Wr[0]=hr+8,En[0]=Ei),hr+=da,Zi-=da}}if(lt=lt[0],Ft.na=Ft.na[0],Ft.P=Ft.P[0],Ft.Sa=Ft.Sa[0],rr!=0)break}lt=[lt],Ft.Ja=[Ft.Ja],Ft.xa=[Ft.xa];e:if(Yn=me,rr=Ue,qt=lt,Er=Ft.gb[0],Wr=Ft.Ja,En=Ft.xa,jn=rr[0],hr=!ke(Yn,jn,"VP8 "),pi=!ke(Yn,jn,"VP8L"),Te(Yn!=null),Te(qt!=null),Te(Wr!=null),Te(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}Wr[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),Wr[0]=qt[0];rr=0}if(lt=lt[0],Ft.Ja=Ft.Ja[0],Ft.xa=Ft.xa[0],Ue=Ue[0],rr!=0)break;if(4294967286<Ft.Ja)return 3;if(ee==null||yr||(ee[0]=Ft.xa?2:1),Re=[Re],nr=[nr],Ft.xa){if(5>lt){rr=7;break}ee=Re,Rt=nr,yr=mr,me==null||5>lt?me=0:5<=lt&&me[Ue+0]==47&&!(me[Ue+4]>>5)?(qt=[0],Yn=[0],Er=[0],gi(Wr=new xr,me,Ue,lt),ki(Wr,qt,Yn,Er)?(ee!=null&&(ee[0]=qt[0]),Rt!=null&&(Rt[0]=Yn[0]),yr!=null&&(yr[0]=Er[0]),me=1):me=0):me=0}else{if(10>lt){rr=7;break}ee=nr,me==null||10>lt||!Ba(me,Ue+3,lt-3)?me=0:(Rt=me[Ue+0]|me[Ue+1]<<8|me[Ue+2]<<16,yr=16383&(me[Ue+7]<<8|me[Ue+6]),me=16383&(me[Ue+9]<<8|me[Ue+8]),1&Rt||3<(Rt>>1&7)||!(Rt>>4&1)||Rt>>5>=Ft.Ja||!yr||!me?me=0:(Re&&(Re[0]=yr),ee&&(ee[0]=me),me=1))}if(!me)return 3;if(Re=Re[0],nr=nr[0],Et&&(Ve[0]!=Re||it[0]!=nr))return 3;ye!=null&&(ye[0]=Ft,ye.offset=Ue-ye.w,Te(4294967286>Ue-ye.w),Te(ye.offset==ye.ha-lt));break}return rr==0||rr==7&&Et&&ye==null?(mr!=null&&(mr[0]|=Ft.na!=null&&0<Ft.na.length),Ht!=null&&(Ht[0]=Re),er!=null&&(er[0]=nr),0):rr}function oo(me,Ue,lt){var Ht=Ue.width,er=Ue.height,mr=0,Re=0,ee=Ht,ye=er;if(Ue.Da=me!=null&&0<me.Da,Ue.Da&&(ee=me.cd,ye=me.bd,mr=me.v,Re=me.j,11>lt||(mr&=-2,Re&=-2),0>mr||0>Re||0>=ee||0>=ye||mr+ee>Ht||Re+ye>er))return 0;if(Ue.v=mr,Ue.j=Re,Ue.va=mr+ee,Ue.o=Re+ye,Ue.U=ee,Ue.T=ye,Ue.da=me!=null&&0<me.da,Ue.da){if(!Ri(ee,ye,lt=[me.ib],mr=[me.hb]))return 0;Ue.ib=lt[0],Ue.hb=mr[0]}return Ue.ob=me!=null&&me.ob,Ue.Kb=me==null||!me.Sd,Ue.da&&(Ue.ob=Ue.ib<3*Ht/4&&Ue.hb<3*er/4,Ue.Kb=0),1}function Do(me){if(me==null)return 2;if(11>me.S){var Ue=me.f.RGBA;Ue.fb+=(me.height-1)*Ue.A,Ue.A=-Ue.A}else Ue=me.f.kb,me=me.height,Ue.O+=(me-1)*Ue.fa,Ue.fa=-Ue.fa,Ue.N+=(me-1>>1)*Ue.Ab,Ue.Ab=-Ue.Ab,Ue.W+=(me-1>>1)*Ue.Db,Ue.Db=-Ue.Db,Ue.F!=null&&(Ue.J+=(me-1)*Ue.lb,Ue.lb=-Ue.lb);return 0}function za(me,Ue,lt,Ht){if(Ht==null||0>=me||0>=Ue)return 2;if(lt!=null){if(lt.Da){var er=lt.cd,mr=lt.bd,Re=-2<.v,ee=-2<.j;if(0>Re||0>ee||0>=er||0>=mr||Re+er>me||ee+mr>Ue)return 2;me=er,Ue=mr}if(lt.da){if(!Ri(me,Ue,er=[lt.ib],mr=[lt.hb]))return 2;me=er[0],Ue=mr[0]}}Ht.width=me,Ht.height=Ue;e:{var ye=Ht.width,Ve=Ht.height;if(me=Ht.S,0>=ye||0>=Ve||!(me>=Vl&&13>me))me=2;else{if(0>=Ht.Rd&&Ht.sd==null){Re=mr=er=Ue=0;var it=(ee=ye*oc[me])*Ve;if(11>me||(mr=(Ve+1)/2*(Ue=(ye+1)/2),me==12&&(Re=(er=ye)*Ve)),(Ve=Xe(it+2*mr+Re))==null){me=1;break e}Ht.sd=Ve,11>me?((ye=Ht.f.RGBA).eb=Ve,ye.fb=0,ye.A=ee,ye.size=it):((ye=Ht.f.kb).y=Ve,ye.O=0,ye.fa=ee,ye.Fd=it,ye.f=Ve,ye.N=0+it,ye.Ab=Ue,ye.Cd=mr,ye.ea=Ve,ye.W=0+it+mr,ye.Db=Ue,ye.Ed=mr,me==12&&(ye.F=Ve,ye.J=0+it+2*mr),ye.Tc=Re,ye.lb=er)}if(Ue=1,er=Ht.S,mr=Ht.width,Re=Ht.height,er>=Vl&&13>er)if(11>er)me=Ht.f.RGBA,Ue&=(ee=Math.abs(me.A))*(Re-1)+mr<=me.size,Ue&=ee>=mr*oc[er],Ue&=me.eb!=null;else{me=Ht.f.kb,ee=(mr+1)/2,it=(Re+1)/2,ye=Math.abs(me.fa),Ve=Math.abs(me.Ab);var Et=Math.abs(me.Db),Rt=Math.abs(me.lb),Ft=Rt*(Re-1)+mr;Ue&=ye*(Re-1)+mr<=me.Fd,Ue&=Ve*(it-1)+ee<=me.Cd,Ue=(Ue&=Et*(it-1)+ee<=me.Ed)&ye>=mr&Ve>=ee&Et>=ee,Ue&=me.y!=null,Ue&=me.f!=null,Ue&=me.ea!=null,er==12&&(Ue&=Rt>=mr,Ue&=Ft<=me.Tc,Ue&=me.F!=null)}else Ue=0;me=Ue?0:2}}return me!=0||lt!=null&<.fd&&(me=Do(Ht)),me}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(me){return me},xn.Predictor2=function(me,Ue,lt){return Ue[lt+0]},xn.Predictor3=function(me,Ue,lt){return Ue[lt+1]},xn.Predictor4=function(me,Ue,lt){return Ue[lt-1]},xn.Predictor5=function(me,Ue,lt){return Qi(Qi(me,Ue[lt+1]),Ue[lt+0])},xn.Predictor6=function(me,Ue,lt){return Qi(me,Ue[lt-1])},xn.Predictor7=function(me,Ue,lt){return Qi(me,Ue[lt+0])},xn.Predictor8=function(me,Ue,lt){return Qi(Ue[lt-1],Ue[lt+0])},xn.Predictor9=function(me,Ue,lt){return Qi(Ue[lt+0],Ue[lt+1])},xn.Predictor10=function(me,Ue,lt){return Qi(Qi(me,Ue[lt-1]),Qi(Ue[lt+0],Ue[lt+1]))},xn.Predictor11=function(me,Ue,lt){var Ht=Ue[lt+0];return 0>=Ir(Ht>>24&255,me>>24&255,(Ue=Ue[lt-1])>>24&255)+Ir(Ht>>16&255,me>>16&255,Ue>>16&255)+Ir(Ht>>8&255,me>>8&255,Ue>>8&255)+Ir(255&Ht,255&me,255&Ue)?Ht:me},xn.Predictor12=function(me,Ue,lt){var Ht=Ue[lt+0];return(ha((me>>24&255)+(Ht>>24&255)-((Ue=Ue[lt-1])>>24&255))<<24|ha((me>>16&255)+(Ht>>16&255)-(Ue>>16&255))<<16|ha((me>>8&255)+(Ht>>8&255)-(Ue>>8&255))<<8|ha((255&me)+(255&Ht)-(255&Ue)))>>>0},xn.Predictor13=function(me,Ue,lt){var Ht=Ue[lt-1];return(Yt((me=Qi(me,Ue[lt+0]))>>24&255,Ht>>24&255)<<24|Yt(me>>16&255,Ht>>16&255)<<16|Yt(me>>8&255,Ht>>8&255)<<8|Yt(me>>0&255,Ht>>0&255))>>>0};var qo=xn.PredictorAdd0;xn.PredictorAdd1=Jr,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;Wt("ColorIndexInverseTransform","MapARGB","32b",function(me){return me>>8&255},function(me){return me}),Wt("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(me){return me},function(me){return me>>8&255});var zs,ps=xn.ColorIndexInverseTransform,ll=xn.MapARGB,cl=xn.VP8LColorIndexInverseTransformAlpha,Ts=xn.MapAlpha,Mo=xn.VP8LPredictorsAdd=[];Mo.length=16,(xn.VP8LPredictors=[]).length=16,(xn.VP8LPredictorsAdd_C=[]).length=16,(xn.VP8LPredictors_C=[]).length=16;var Ki,Ws,nl,Ss,ts,ml,il,Ns,Us,Ds,Rs,ul,Fs,Qs,Ys,Zs,xa,Li,ea,Ca,go,js,Is,Vs,Js,gl,Bs,ys,Ul=Xe(511),kc=Xe(2041),wc=Xe(225),Mc=Xe(767),Pc=0,Dl=kc,$s=wc,el=Mc,dl=Ul,Vl=0,ql=1,lc=2,Xl=3,Rl=4,cc=5,$l=6,uc=7,Sl=8,_l=9,Fl=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,Bl=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],kl=[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=[];_e("UpsampleRgbLinePair",jr,3),_e("UpsampleBgrLinePair",hn,3),_e("UpsampleRgbaLinePair",zi,4),_e("UpsampleBgraLinePair",Ti,4),_e("UpsampleArgbLinePair",Ai,4),_e("UpsampleRgba4444LinePair",ti,2),_e("UpsampleRgb565LinePair",Tn,2);var _c=xn.UpsampleRgbLinePair,Hc=xn.UpsampleBgrLinePair,Kc=xn.UpsampleRgbaLinePair,Cc=xn.UpsampleBgraLinePair,Tc=xn.UpsampleArgbLinePair,zc=xn.UpsampleRgba4444LinePair,pc=xn.UpsampleRgb565LinePair,Ol=16,Ll=1<<Ol-1,Gl=-227,Kl=482,Ic=6,qc=(256<<Ic)-1,Wc=0,$c=Xe(256),Ql=Xe(256),mc=Xe(256),eu=Xe(256),Oc=Xe(Kl-Gl),ac=Xe(Kl-Gl);na("YuvToRgbRow",jr,3),na("YuvToBgrRow",hn,3),na("YuvToRgbaRow",zi,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],Zl=1;this.WebPDecodeRGBA=function(me,Ue,lt,Ht,er){var mr=ql,Re=new Es,ee=new Yr;Re.ba=ee,ee.S=mr,ee.width=[ee.width],ee.height=[ee.height];var ye=ee.width,Ve=ee.height,it=new fn;if(it==null||me==null)var Et=2;else Te(it!=null),Et=No(me,Ue,lt,it.width,it.height,it.Pd,it.Qd,it.format,null);if(Et!=0?ye=0:(ye!=null&&(ye[0]=it.width[0]),Ve!=null&&(Ve[0]=it.height[0]),ye=1),ye){ee.width=ee.width[0],ee.height=ee.height[0],Ht!=null&&(Ht[0]=ee.width),er!=null&&(er[0]=ee.height);e:{if(Ht=new ga,(er=new _s).data=me,er.w=Ue,er.ha=lt,er.kd=1,Ue=[0],Te(er!=null),((me=No(er.data,er.w,er.ha,null,null,null,Ue,null,er))==0||me==7)&&Ue[0]&&(me=4),(Ue=me)==0){if(Te(Re!=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=Re,er.xa){if((me=wa())==null){Re=1;break e}if(function(Rt,Ft){var nr=[0],yr=[0],rr=[0];t:for(;;){if(Rt==null)return 0;if(Ft==null)return Rt.a=2,0;if(Rt.l=Ft,Rt.a=0,gi(Rt.m,Ft.data,Ft.w,Ft.ha),!ki(Rt.m,nr,yr,rr)){Rt.a=3;break t}if(Rt.xb=ic,Ft.width=nr[0],Ft.height=yr[0],!_i(nr[0],yr[0],1,Rt,null))break t;return 1}return Te(Rt.a!=0),0}(me,Ht)){if(Ht=(Ue=za(Ht.width,Ht.height,Re.Oa,Re.ba))==0){t:{Ht=me;r:for(;;){if(Ht==null){Ht=0;break t}if(Te(Ht.s.yc!=null),Te(Ht.s.Ya!=null),Te(0<Ht.s.Wb),Te((lt=Ht.l)!=null),Te((er=lt.ma)!=null),Ht.xb!=0){if(Ht.ca=er.ba,Ht.tb=er.tb,Te(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))&&ve(),11>Ht.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Ht.ca.f.kb.F!=null&&ve()),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}Te(Ht.a!=0),Ht=0}Ht=!Ht}Ht&&(Ue=me.a)}else Ue=me.a}else{if((me=new ba)==null){Re=1;break e}if(me.Fa=er.na,me.P=er.P,me.qc=er.Sa,vo(me,Ht)){if((Ue=za(Ht.width,Ht.height,Re.Oa,Re.ba))==0){if(me.Aa=0,lt=Re.Oa,Te((er=me)!=null),lt!=null){if(0<(ye=0>(ye=lt.Md)?0:100<ye?255:255*ye/100)){for(Ve=it=0;4>Ve;++Ve)12>(Et=er.pb[Ve]).lc&&(Et.ia=ye*Lc[0>Et.lc?0:Et.lc]>>3),it|=Et.ia;it&&(alert("todo:VP8InitRandom"),er.ia=1)}er.Ga=lt.Id,100<er.Ga?er.Ga=100:0>er.Ga&&(er.Ga=0)}ao(me,Ht)||(Ue=me.a)}}else Ue=me.a}Ue==0&&Re.Oa!=null&&Re.Oa.fd&&(Ue=Do(Re.ba))}Re=Ue}mr=Re!=0?null:11>mr?ee.f.RGBA.eb:ee.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=$e,Ar=function(Gn,xn){var mi={},rn=0,Ur=!1,cn=0,Qr=0;if(mi.frames=[],!function(xr,nn,gn,On){for(var Bn=0;Bn<On;Bn++)if(xr[nn+Bn]!=gn.charCodeAt(Bn))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 kn=xn+4;qr.canvas_width=1+dr(Gn,kn),kn+=3,qr.canvas_height=1+dr(Gn,kn),kn+=3;break;case"ALPH":Ur=!0,cn=gi+8,Qr=xn-8;break;case"ANIM":(qr=mi.header).bgcolor=tr(Gn,xn),kn=xn+4,qr.loop_count=(Vn=Gn)[(Hn=kn)+0]<<0|Vn[Hn+1]<<8,kn+=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 zn=ln[0],Nn=jt.WebPDecodeRGBA(Sr,zn.src_off,zn.src_size,_t,ir);zn.rgba=Nn,zn.imgwidth=_t[0],zn.imgheight=ir[0];for(var Fn=0;Fn<_t[0]*ir[0]*4;Fn++)gr[Fn]=Nn[Fn];return this.width=_t,this.height=ir,this.data=gr,this}!function($e){var Te=function(){return typeof m.b=="function"},ke=function(_t,gr,jt,Sr){var Ar=4,sr=qe;switch(Sr){case $e.image_compression.FAST:Ar=1,sr=Xe;break;case $e.image_compression.MEDIUM:Ar=6,sr=mt;break;case $e.image_compression.SLOW:Ar=9,sr=ht}_t=Me(_t,gr,jt,sr);var ln=Object(m.b)(_t,{level:Ar});return $e.__addimage__.arrayBufferToBinaryString(ln)},Me=function(_t,gr,jt,Sr){for(var Ar,sr,ln,_n=_t.length/gr,zn=new Uint8Array(_t.length+_n),Nn=dr(),Fn=0;Fn<_n;Fn+=1){if(ln=Fn*gr,Ar=_t.subarray(ln,ln+gr),Sr)zn.set(Sr(Ar,jt,sr),ln+Fn);else{for(var Gn,xn=Nn.length,mi=[];Gn<xn;Gn+=1)mi[Gn]=Nn[Gn](Ar,jt,sr);var rn=tr(mi.concat());zn.set(mi[rn],ln+Fn)}sr=Ar}return zn},Ze=function(_t){var gr=Array.apply([],_t);return gr.unshift(0),gr},Xe=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},qe=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},mt=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=[],zn=_t.length;_n[0]=4;for(var Nn=0;Nn<zn;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[Ze,Xe,qe,mt,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))};$e.processPNG=function(ir,_t,gr,jt){var Sr,Ar,sr,ln,_n,zn,Nn,Fn,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 Ye(ir)).imgData,Ar=sr.bits,Sr=sr.colorSpace,_n=sr.colors,[4,6].indexOf(sr.colorType)!==-1){if(sr.bits===8){Gn=(Fn=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=Fn[cn],li=0;li<Un;)mi[Qr++]=Ur>>>li&255,li+=sr.bits;xn[cn]=Ur>>>li&255}}if(sr.bits===16){Gn=(Fn=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=Fn[cn++],mi[Qr++]=Ur>>>0&255,rn&&(mi[Qr++]=Ur>>>16&255,Ur=Fn[cn++],mi[Qr++]=Ur>>>0&255),xn[gi++]=Ur>>>16&255;Ar=8}jt!==$e.image_compression.NONE&&Te()?(ir=ke(mi,sr.width*sr.colors,sr.colors,jt),Nn=ke(xn,sr.width,1,jt)):(ir=mi,Nn=xn,Vn=void 0)}if(sr.colorType===3&&(Sr=this.color_spaces.INDEXED,zn=sr.palette,sr.transparency.indexed)){var kn=sr.transparency.indexed,di=0;for(cn=0,Gn=kn.length;cn<Gn;++cn)di+=kn[cn];if((di/=255)===Gn-1&&kn.indexOf(0)!==-1)ln=[kn.indexOf(0)];else if(di!==Gn){for(Fn=sr.decodePixels(),xn=new Uint8Array(Fn.length),cn=0,Gn=Fn.length;cn<Gn;cn++)xn[cn]=kn[Fn[cn]];Nn=ke(xn,sr.width,1)}}var qr=function(xr){var nn;switch(xr){case $e.image_compression.FAST:nn=11;break;case $e.image_compression.MEDIUM:nn=13;break;case $e.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:zn,sMask:Nn,predictor:qr,width:sr.width,height:sr.height,bitsPerComponent:Ar,colorSpace:Sr}}}}(K.API),function($e){$e.processGIF89A=function(Te,ke,Me,Ze){var Xe=new st(Te),qe=Xe.width,mt=Xe.height,ht=[];Xe.decodeAndBlitFrameRGBA(0,ht);var Vt={data:ht,width:qe,height:mt},dr=new $t(100).encode(Vt,100);return $e.processJPEG.call(this,dr,ke,Me,Ze)},$e.processGIF87A=$e.processGIF89A}(K.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 $e=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array($e);for(var Te=0;Te<$e;Te++){var ke=this.datav.getUint8(this.pos++,!0),Me=this.datav.getUint8(this.pos++,!0),Ze=this.datav.getUint8(this.pos++,!0),Xe=this.datav.getUint8(this.pos++,!0);this.palette[Te]={red:Ze,green:Me,blue:ke,quad:Xe}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Nr.prototype.parseBGR=function(){this.pos=this.offset;try{var $e="bit"+this.bitPP,Te=this.width*this.height*4;this.data=new Uint8Array(Te),this[$e]()}catch(ke){s.log("bit decode error:"+ke)}},Nr.prototype.bit1=function(){var $e,Te=Math.ceil(this.width/8),ke=Te%4;for($e=this.height-1;$e>=0;$e--){for(var Me=this.bottom_up?$e:this.height-1-$e,Ze=0;Ze<Te;Ze++)for(var Xe=this.datav.getUint8(this.pos++,!0),qe=Me*this.width*4+8*Ze*4,mt=0;mt<8&&8*Ze+mt<this.width;mt++){var ht=this.palette[Xe>>7-mt&1];this.data[qe+4*mt]=ht.blue,this.data[qe+4*mt+1]=ht.green,this.data[qe+4*mt+2]=ht.red,this.data[qe+4*mt+3]=255}ke!==0&&(this.pos+=4-ke)}},Nr.prototype.bit4=function(){for(var $e=Math.ceil(this.width/2),Te=$e%4,ke=this.height-1;ke>=0;ke--){for(var Me=this.bottom_up?ke:this.height-1-ke,Ze=0;Ze<$e;Ze++){var Xe=this.datav.getUint8(this.pos++,!0),qe=Me*this.width*4+2*Ze*4,mt=Xe>>4,ht=15&Xe,Vt=this.palette[mt];if(this.data[qe]=Vt.blue,this.data[qe+1]=Vt.green,this.data[qe+2]=Vt.red,this.data[qe+3]=255,2*Ze+1>=this.width)break;Vt=this.palette[ht],this.data[qe+4]=Vt.blue,this.data[qe+4+1]=Vt.green,this.data[qe+4+2]=Vt.red,this.data[qe+4+3]=255}Te!==0&&(this.pos+=4-Te)}},Nr.prototype.bit8=function(){for(var $e=this.width%4,Te=this.height-1;Te>=0;Te--){for(var ke=this.bottom_up?Te:this.height-1-Te,Me=0;Me<this.width;Me++){var Ze=this.datav.getUint8(this.pos++,!0),Xe=ke*this.width*4+4*Me;if(Ze<this.palette.length){var qe=this.palette[Ze];this.data[Xe]=qe.red,this.data[Xe+1]=qe.green,this.data[Xe+2]=qe.blue,this.data[Xe+3]=255}else this.data[Xe]=255,this.data[Xe+1]=255,this.data[Xe+2]=255,this.data[Xe+3]=255}$e!==0&&(this.pos+=4-$e)}},Nr.prototype.bit15=function(){for(var $e=this.width%3,Te=parseInt("11111",2),ke=this.height-1;ke>=0;ke--){for(var Me=this.bottom_up?ke:this.height-1-ke,Ze=0;Ze<this.width;Ze++){var Xe=this.datav.getUint16(this.pos,!0);this.pos+=2;var qe=(Xe&Te)/Te*255|0,mt=(Xe>>5&Te)/Te*255|0,ht=(Xe>>10&Te)/Te*255|0,Vt=Xe>>15?255:0,dr=Me*this.width*4+4*Ze;this.data[dr]=ht,this.data[dr+1]=mt,this.data[dr+2]=qe,this.data[dr+3]=Vt}this.pos+=$e}},Nr.prototype.bit16=function(){for(var $e=this.width%3,Te=parseInt("11111",2),ke=parseInt("111111",2),Me=this.height-1;Me>=0;Me--){for(var Ze=this.bottom_up?Me:this.height-1-Me,Xe=0;Xe<this.width;Xe++){var qe=this.datav.getUint16(this.pos,!0);this.pos+=2;var mt=(qe&Te)/Te*255|0,ht=(qe>>5&ke)/ke*255|0,Vt=(qe>>11)/Te*255|0,dr=Ze*this.width*4+4*Xe;this.data[dr]=Vt,this.data[dr+1]=ht,this.data[dr+2]=mt,this.data[dr+3]=255}this.pos+=$e}},Nr.prototype.bit24=function(){for(var $e=this.height-1;$e>=0;$e--){for(var Te=this.bottom_up?$e:this.height-1-$e,ke=0;ke<this.width;ke++){var Me=this.datav.getUint8(this.pos++,!0),Ze=this.datav.getUint8(this.pos++,!0),Xe=this.datav.getUint8(this.pos++,!0),qe=Te*this.width*4+4*ke;this.data[qe]=Xe,this.data[qe+1]=Ze,this.data[qe+2]=Me,this.data[qe+3]=255}this.pos+=this.width%4}},Nr.prototype.bit32=function(){for(var $e=this.height-1;$e>=0;$e--)for(var Te=this.bottom_up?$e:this.height-1-$e,ke=0;ke<this.width;ke++){var Me=this.datav.getUint8(this.pos++,!0),Ze=this.datav.getUint8(this.pos++,!0),Xe=this.datav.getUint8(this.pos++,!0),qe=this.datav.getUint8(this.pos++,!0),mt=Te*this.width*4+4*ke;this.data[mt]=Xe,this.data[mt+1]=Ze,this.data[mt+2]=Me,this.data[mt+3]=qe}},Nr.prototype.getData=function(){return this.data},function($e){$e.processBMP=function(Te,ke,Me,Ze){var Xe=new Nr(Te,!1),qe=Xe.width,mt=Xe.height,ht={data:Xe.getData(),width:qe,height:mt},Vt=new $t(100).encode(ht,100);return $e.processJPEG.call(this,Vt,ke,Me,Ze)}}(K.API),yn.prototype.getData=function(){return this.data},function($e){$e.processWEBP=function(Te,ke,Me,Ze){var Xe=new yn(Te,!1),qe=Xe.width,mt=Xe.height,ht={data:Xe.getData(),width:qe,height:mt},Vt=new $t(100).encode(ht,100);return $e.processJPEG.call(this,Vt,ke,Me,Ze)}}(K.API),K.API.processRGBA=function($e,Te,ke){for(var Me=$e.data,Ze=Me.length,Xe=new Uint8Array(Ze/4*3),qe=new Uint8Array(Ze/4),mt=0,ht=0,Vt=0;Vt<Ze;Vt+=4){var dr=Me[Vt],tr=Me[Vt+1],ir=Me[Vt+2],_t=Me[Vt+3];Xe[mt++]=dr,Xe[mt++]=tr,Xe[mt++]=ir,qe[ht++]=_t}var gr=this.__addimage__.arrayBufferToBinaryString(Xe);return{alpha:this.__addimage__.arrayBufferToBinaryString(qe),data:gr,index:Te,alias:ke,colorSpace:"DeviceRGB",bitsPerComponent:8,width:$e.width,height:$e.height}},K.API.setLanguage=function($e){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"}[$e]!==void 0&&(this.internal.languageSettings.languageCode=$e,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=K.API,vt=fr.getCharWidthsArray=function($e,Te){var ke,Me,Ze=(Te=Te||{}).font||this.internal.getFont(),Xe=Te.fontSize||this.internal.getFontSize(),qe=Te.charSpace||this.internal.getCharSpace(),mt=Te.widths?Te.widths:Ze.metadata.Unicode.widths,ht=mt.fof?mt.fof:1,Vt=Te.kerning?Te.kerning:Ze.metadata.Unicode.kerning,dr=Vt.fof?Vt.fof:1,tr=Te.doKerning!==!1,ir=0,_t=$e.length,gr=0,jt=mt[0]||ht,Sr=[];for(ke=0;ke<_t;ke++)Me=$e.charCodeAt(ke),typeof Ze.metadata.widthOfString=="function"?Sr.push((Ze.metadata.widthOfGlyph(Ze.metadata.characterToGlyph(Me))+qe*(1e3/Xe)||0)/1e3):(ir=tr&&b()(Vt[Me])==="object"&&!isNaN(parseInt(Vt[Me][gr],10))?Vt[Me][gr]/dr:0,Sr.push((mt[Me]||jt)/ht+ir)),gr=Me;return Sr},ft=fr.getStringUnitWidth=function($e,Te){var ke=(Te=Te||{}).fontSize||this.internal.getFontSize(),Me=Te.font||this.internal.getFont(),Ze=Te.charSpace||this.internal.getCharSpace();return fr.processArabic&&($e=fr.processArabic($e)),typeof Me.metadata.widthOfString=="function"?Me.metadata.widthOfString($e,ke,Ze)/ke:vt.apply(this,arguments).reduce(function(Xe,qe){return Xe+qe},0)},De=function(Te,ke,Me,Ze){for(var Xe=[],qe=0,mt=Te.length,ht=0;qe!==mt&&ht+ke[qe]<Me;)ht+=ke[qe],qe++;Xe.push(Te.slice(0,qe));var Vt=qe;for(ht=0;qe!==mt;)ht+ke[qe]>Ze&&(Xe.push(Te.slice(Vt,qe)),ht=0,Vt=qe),ht+=ke[qe],qe++;return Vt!==qe&&Xe.push(Te.slice(Vt,qe)),Xe},je=function(Te,ke,Me){Me||(Me={});var Ze,Xe,qe,mt,ht,Vt,dr,tr=[],ir=[tr],_t=Me.textIndent||0,gr=0,jt=0,Sr=Te.split(" "),Ar=vt.apply(this,[" ",Me])[0];if(Vt=Me.lineIndent===-1?Sr[0].length+2:Me.lineIndent||0){var sr=Array(Vt).join(" "),ln=[];Sr.map(function(zn){(zn=zn.split(/\s*\n/)).length>1?ln=ln.concat(zn.map(function(Nn,Fn){return(Fn&&Nn.length?`
|
|
|
`:"")+Nn})):ln.push(zn[0])}),Sr=ln,Vt=ft.apply(this,[sr,Me])}for(qe=0,mt=Sr.length;qe<mt;qe++){var _n=0;if(Ze=Sr[qe],Vt&&Ze[0]==`
|
|
|
`&&(Ze=Ze.substr(1),_n=1),_t+gr+(jt=(Xe=vt.apply(this,[Ze,Me])).reduce(function(zn,Nn){return zn+Nn},0))>ke||_n){if(jt>ke){for(ht=De.apply(this,[Ze,Xe,ke-(_t+gr),ke]),tr.push(ht.shift()),tr=[ht.pop()];ht.length;)ir.push([ht.shift()]);jt=Xe.slice(Ze.length-(tr[0]?tr[0].length:0)).reduce(function(zn,Nn){return zn+Nn},0)}else tr=[Ze];ir.push(tr),_t=jt+Vt,gr=Ar}else tr.push(Ze),_t+=gr+jt,gr=Ar}return dr=Vt?function(zn,Nn){return(Nn?sr:"")+zn.join(" ")}:function(zn){return zn.join(" ")},ir.map(dr)},fr.splitTextToSize=function($e,Te,ke){var Me,Ze=(ke=ke||{}).fontSize||this.internal.getFontSize(),Xe=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,ke);Me=Array.isArray($e)?$e:String($e).split(/\r?\n/);var qe=1*this.internal.scaleFactor*Te/Ze;Xe.textIndent=ke.textIndent?1*ke.textIndent*this.internal.scaleFactor/Ze:0,Xe.lineIndent=ke.lineIndent;var mt,ht,Vt=[];for(mt=0,ht=Me.length;mt<ht;mt++)Vt=Vt.concat(je.apply(this,[Me[mt],qe,Xe]));return Vt},function($e){$e.__fontmetrics__=$e.__fontmetrics__||{};for(var Te="klmnopqrstuvwxyz",ke={},Me={},Ze=0;Ze<Te.length;Ze++)ke[Te[Ze]]="0123456789abcdef"[Ze],Me["0123456789abcdef"[Ze]]=Te[Ze];var Xe=function(ir){return"0x"+parseInt(ir,10).toString(16)},qe=$e.__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=Xe(Ar).slice(2)).slice(0,-1)+Me[_t.slice(-1)]),typeof ir=="number")ir<0?(gr=Xe(ir).slice(3),jt="-"):(gr=Xe(ir).slice(2),jt=""),gr=jt+gr.slice(0,-1)+Me[gr.slice(-1)];else{if(b()(ir)!=="object")throw new Error("Don't know what to do with value type "+b()(ir)+".");gr=qe(ir)}Sr.push(_t+gr)}return Sr.push("}"),Sr.join("")},mt=$e.__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="",zn="",Nn=tr.length-1,Fn=1;Fn<Nn;Fn+=1)(jt=tr[Fn])=="'"?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?ke.hasOwnProperty(jt)?(_n+=ke[jt],gr=parseInt(_n,16)*Ar,Ar=1,_n=""):_n+=jt:ke.hasOwnProperty(jt)?(zn+=ke[jt],sr[gr]=parseInt(zn,16)*Ar,Ar=1,gr=void 0,zn=""):zn+=jt;return Sr},ht={codePages:["WinAnsiEncoding"],WinAnsiEncoding:mt("{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":mt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":mt("{'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":mt("{'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:mt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":mt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":mt("{'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:mt("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:mt("{'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":mt("{'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:mt("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":mt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":mt("{'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":mt("{'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":mt("{'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}}}")}};$e.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])}])}(K.API),function($e){var Te=function(Me){for(var Ze=Me.length,Xe=new Uint8Array(Ze),qe=0;qe<Ze;qe++)Xe[qe]=Me.charCodeAt(qe);return Xe};$e.API.events.push(["addFont",function(ke){var Me=void 0,Ze=ke.font,Xe=ke.instance;if(!Ze.isStandardFont){if(Xe===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+Ze.postScriptName+"').");if(typeof(Me=Xe.existsFileInVFS(Ze.postScriptName)===!1?Xe.loadFile(Ze.postScriptName):Xe.getFileFromVFS(Ze.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+Ze.postScriptName+"').");!function(qe,mt){mt=/^\x00\x01\x00\x00/.test(mt)?Te(mt):Te(r(mt)),qe.metadata=$e.API.TTFFont.open(mt),qe.metadata.Unicode=qe.metadata.Unicode||{encoding:{},kerning:{},widths:[]},qe.metadata.glyIdsUsed=[0]}(Ze,Me)}}])}(K),function($e){function Te(){return(v.canvg?Promise.resolve(v.canvg):d.e(256).then(d.bind(null,"DXPr"))).catch(function(ke){return Promise.reject(new Error("Could not load canvg: "+ke))}).then(function(ke){return ke.default?ke.default:ke})}K.API.addSvgAsImage=function(ke,Me,Ze,Xe,qe,mt,ht,Vt){if(isNaN(Me)||isNaN(Ze))throw s.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(Xe)||isNaN(qe))throw s.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=Xe,dr.height=qe;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 Te().then(function(gr){return gr.fromString(tr,ke,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),Me,Ze,Xe,qe,ht,Vt)})}}(),K.API.putTotalPages=function($e){var Te,ke=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(Te=new RegExp($e,"g"),ke=this.internal.getNumberOfPages()):(Te=new RegExp(this.pdfEscape16($e,this.internal.getFont()),"g"),ke=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var Me=1;Me<=this.internal.getNumberOfPages();Me++)for(var Ze=0;Ze<this.internal.pages[Me].length;Ze++)this.internal.pages[Me][Ze]=this.internal.pages[Me][Ze].replace(Te,ke);return this},K.API.viewerPreferences=function($e,Te){var ke;$e=$e||{},Te=Te||!1;var Me,Ze,Xe,qe={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},mt=Object.keys(qe),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(qe)),this.internal.viewerpreferences.isSubscribed=!1),ke=this.internal.viewerpreferences.configuration,$e==="reset"||Te===!0){var _t=mt.length;for(tr=0;tr<_t;tr+=1)ke[mt[tr]].value=ke[mt[tr]].defaultValue,ke[mt[tr]].explicitSet=!1}if(b()($e)==="object"){for(Ze in $e)if(Xe=$e[Ze],ir(mt,Ze)&&Xe!==void 0){if(ke[Ze].type==="boolean"&&typeof Xe=="boolean")ke[Ze].value=Xe;else if(ke[Ze].type==="name"&&ir(ke[Ze].valueSet,Xe))ke[Ze].value=Xe;else if(ke[Ze].type==="integer"&&Number.isInteger(Xe))ke[Ze].value=Xe;else if(ke[Ze].type==="array"){for(Vt=0;Vt<Xe.length;Vt+=1)if(Me=!0,Xe[Vt].length===1&&typeof Xe[Vt][0]=="number")ht.push(String(Xe[Vt]-1));else if(Xe[Vt].length>1){for(dr=0;dr<Xe[Vt].length;dr+=1)typeof Xe[Vt][dr]!="number"&&(Me=!1);Me===!0&&ht.push([Xe[Vt][0]-1,Xe[Vt][1]-1].join(" "))}ke[Ze].value="["+ht.join(" ")+"]"}else ke[Ze].value=ke[Ze].defaultValue;ke[Ze].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var gr,jt=[];for(gr in ke)ke[gr].explicitSet===!0&&(ke[gr].type==="name"?jt.push("/"+gr+" /"+ke[gr].value):jt.push("/"+gr+" "+ke[gr].value));jt.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+jt.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=ke,this},function($e){var Te=function(){var Ze='<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>',Xe=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),qe=unescape(encodeURIComponent(Ze)),mt=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),ht=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Vt=unescape(encodeURIComponent("</x:xmpmeta>")),dr=qe.length+mt.length+ht.length+Xe.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(Xe+qe+mt+ht+Vt),this.internal.write("endstream"),this.internal.write("endobj")},ke=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};$e.addMetadata=function(Me,Ze){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:Me,namespaceuri:Ze||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",ke),this.internal.events.subscribe("postPutResources",Te)),this}}(K.API),function($e){var Te=$e.API,ke=Te.pdfEscape16=function(Xe,qe){for(var mt,ht=qe.metadata.Unicode.widths,Vt=["","0","00","000","0000"],dr=[""],tr=0,ir=Xe.length;tr<ir;++tr){if(mt=qe.metadata.characterToGlyph(Xe.charCodeAt(tr)),qe.metadata.glyIdsUsed.push(mt),qe.metadata.toUnicode[mt]=Xe.charCodeAt(tr),ht.indexOf(mt)==-1&&(ht.push(mt),ht.push([parseInt(qe.metadata.widthOfGlyph(mt),10)])),mt=="0")return dr.join("");mt=mt.toString(16),dr.push(Vt[4-mt.length],mt)}return dr.join("")},Me=function(qe){var mt,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(qe).sort(function(gr,jt){return gr-jt})).length;ir<_t;ir++)mt=ht[ir],Vt.length>=100&&(tr+=`
|
|
|
`+Vt.length+` beginbfchar
|
|
|
`+Vt.join(`
|
|
|
`)+`
|
|
|
endbfchar`,Vt=[]),qe[mt]!==void 0&&qe[mt]!==null&&typeof qe[mt].toString=="function"&&(dr=("0000"+qe[mt].toString(16)).slice(-4),mt=("0000"+(+mt).toString(16)).slice(-4),Vt.push("<"+mt+"><"+dr+">"));return Vt.length&&(tr+=`
|
|
|
`+Vt.length+` beginbfchar
|
|
|
`+Vt.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),tr+=`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};Te.events.push(["putFont",function(Xe){!function(qe){var mt=qe.font,ht=qe.out,Vt=qe.newObject,dr=qe.putStream;if(mt.metadata instanceof $e.API.TTFFont&&mt.encoding==="Identity-H"){for(var tr=mt.metadata.Unicode.widths,ir=mt.metadata.subset.encode(mt.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:Me(mt.metadata.toUnicode),addLength1:!0,objectId:Sr}),ht("endobj");var Ar=Vt();ht("<<"),ht("/Type /FontDescriptor"),ht("/FontName /"+N(mt.fontName)),ht("/FontFile2 "+jt+" 0 R"),ht("/FontBBox "+$e.API.PDFObject.convert(mt.metadata.bbox)),ht("/Flags "+mt.metadata.flags),ht("/StemV "+mt.metadata.stemV),ht("/ItalicAngle "+mt.metadata.italicAngle),ht("/Ascent "+mt.metadata.ascender),ht("/Descent "+mt.metadata.decender),ht("/CapHeight "+mt.metadata.capHeight),ht(">>"),ht("endobj");var sr=Vt();ht("<<"),ht("/Type /Font"),ht("/BaseFont /"+N(mt.fontName)),ht("/FontDescriptor "+Ar+" 0 R"),ht("/W "+$e.API.PDFObject.convert(tr)),ht("/CIDToGIDMap /Identity"),ht("/DW 1000"),ht("/Subtype /CIDFontType2"),ht("/CIDSystemInfo"),ht("<<"),ht("/Supplement 0"),ht("/Registry (Adobe)"),ht("/Ordering ("+mt.encoding+")"),ht(">>"),ht(">>"),ht("endobj"),mt.objectNumber=Vt(),ht("<<"),ht("/Type /Font"),ht("/Subtype /Type0"),ht("/ToUnicode "+Sr+" 0 R"),ht("/BaseFont /"+N(mt.fontName)),ht("/Encoding /"+mt.encoding),ht("/DescendantFonts ["+sr+" 0 R]"),ht(">>"),ht("endobj"),mt.isAlreadyPutted=!0}}(Xe)}]),Te.events.push(["putFont",function(Xe){!function(qe){var mt=qe.font,ht=qe.out,Vt=qe.newObject,dr=qe.putStream;if(mt.metadata instanceof $e.API.TTFFont&&mt.encoding==="WinAnsiEncoding"){for(var tr=mt.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:Me(mt.metadata.toUnicode),addLength1:!0,objectId:jt}),ht("endobj");var Sr=Vt();ht("<<"),ht("/Descent "+mt.metadata.decender),ht("/CapHeight "+mt.metadata.capHeight),ht("/StemV "+mt.metadata.stemV),ht("/Type /FontDescriptor"),ht("/FontFile2 "+gr+" 0 R"),ht("/Flags 96"),ht("/FontBBox "+$e.API.PDFObject.convert(mt.metadata.bbox)),ht("/FontName /"+N(mt.fontName)),ht("/ItalicAngle "+mt.metadata.italicAngle),ht("/Ascent "+mt.metadata.ascender),ht(">>"),ht("endobj"),mt.objectNumber=Vt();for(var Ar=0;Ar<mt.metadata.hmtx.widths.length;Ar++)mt.metadata.hmtx.widths[Ar]=parseInt(mt.metadata.hmtx.widths[Ar]*(1e3/mt.metadata.head.unitsPerEm));ht("<</Subtype/TrueType/Type/Font/ToUnicode "+jt+" 0 R/BaseFont/"+N(mt.fontName)+"/FontDescriptor "+Sr+" 0 R/Encoding/"+mt.encoding+" /FirstChar 29 /LastChar 255 /Widths "+$e.API.PDFObject.convert(mt.metadata.hmtx.widths)+">>"),ht("endobj"),mt.isAlreadyPutted=!0}}(Xe)}]);var Ze=function(qe){var mt,ht=qe.text||"",Vt=qe.x,dr=qe.y,tr=qe.options||{},ir=qe.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")&&(mt=jt[Sr].metadata.cmap.unicode.codeMap[ln[sr].charCodeAt(0)]),mt||ln[sr].charCodeAt(0)<256&&jt[Sr].metadata.hasOwnProperty("Unicode")?Ar+=ln[sr]:Ar+="";var zn="";return parseInt(Sr.slice(1))<14||_n==="WinAnsiEncoding"?zn=_t(Ar,Sr).split("").map(function(Nn){return Nn.charCodeAt(0).toString(16)}).join(""):_n==="Identity-H"&&(zn=ke(Ar,jt[Sr])),ir.isHex=!0,{text:zn,x:Vt,y:dr,options:tr,mutex:ir}};Te.events.push(["postProcessText",function(Xe){var qe=Xe.text||"",mt=[],ht={text:qe,x:Xe.x,y:Xe.y,options:Xe.options,mutex:Xe.mutex};if(Array.isArray(qe)){var Vt=0;for(Vt=0;Vt<qe.length;Vt+=1)Array.isArray(qe[Vt])&&qe[Vt].length===3?mt.push([Ze(Object.assign({},ht,{text:qe[Vt][0]})).text,qe[Vt][1],qe[Vt][2]]):mt.push(Ze(Object.assign({},ht,{text:qe[Vt]})).text);Xe.text=mt}else Xe.text=Ze(Object.assign({},ht,{text:qe})).text}])}(K),function($e){var Te=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};$e.existsFileInVFS=function(ke){return Te.call(this),this.internal.vFS[ke]!==void 0},$e.addFileToVFS=function(ke,Me){return Te.call(this),this.internal.vFS[ke]=Me,this},$e.getFileFromVFS=function(ke){return Te.call(this),this.internal.vFS[ke]!==void 0?this.internal.vFS[ke]:null}}(K.API),function($e){$e.__bidiEngine__=$e.prototype.__bidiEngine__=function(Me){var Ze,Xe,qe,mt,ht,Vt,dr,tr=Te,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"},zn=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,kn=cn[Vn];switch(kn){case"L":case"R":sr=!1;break;case"N":case"AN":break;case"EN":sr&&(kn="AN");break;case"AL":sr=!0,kn="R";break;case"WS":kn="N";break;case"CS":Vn<1||Vn+1>=cn.length||(Hn=Qr[Vn-1])!=="EN"&&Hn!=="AN"||(li=cn[Vn+1])!=="EN"&&li!=="AN"?kn="N":sr&&(li="AN"),kn=li===Hn?li:"N";break;case"ES":kn=(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"){kn="EN";break}if(sr){kn="N";break}for(Un=Vn+1,gi=cn.length;Un<gi&&cn[Un]==="ET";)Un++;kn=Un<gi&&cn[Un]==="EN"?"EN":"N";break;case"NSM":if(qe&&!mt){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")){kn="R";break}}}kn=Vn<1||(Hn=cn[Vn-1])==="B"?"N":Qr[Vn-1];break;case"B":sr=!1,Ze=!0,kn=ln;break;case"S":Xe=!0,kn="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":sr=!1;break;case"BN":kn="N"}return kn},Fn=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,kn=-1,di=Ur.length,qr=0,xr=[],nn=ln?_t:ir,gn=[];for(sr=!1,Ze=!1,Xe=!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=kn;Hn<li;Hn++)cn[Hn]=1;kn=-1}else kn=-1;if(nn[qr][6])kn===-1&&(kn=li);else if(kn>-1){for(Hn=kn;Hn<li;Hn++)cn[Hn]=Un;kn=-1}gn[li]==="B"&&(cn[li]=0),Qr.hiLevel|=Un}Xe&&function(On,Bn,Wn){for(var $n=0;$n<Wn;$n++)if(On[$n]==="S"){Bn[$n]=ln;for(var Jn=$n-1;Jn>=0&&On[Jn]==="WS";Jn--)Bn[Jn]=ln}}(gn,cn,di)},xn=function(Ur,cn,Qr,Vn,Hn){if(!(Hn.hiLevel<Ur)){if(Ur===1&&ln===1&&!Ze)return cn.reverse(),void(Qr&&Qr.reverse());for(var li,Un,gi,kn,di=cn.length,qr=0;qr<di;){if(Vn[qr]>=Ur){for(gi=qr+1;gi<di&&Vn[gi]>=Ur;)gi++;for(kn=qr,Un=gi-1;kn<Un;kn++,Un--)li=cn[kn],cn[kn]=cn[Un],cn[Un]=li,Qr&&(li=Qr[kn],Qr[kn]=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 kn,di=0;di<li.length;di++)Un[di]===1&&(kn=Sr.indexOf(li[di]))>=0&&(li[di]=Sr[kn+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;mt===void 0&&(mt=zn(Vn)),Vt===void 0&&(Vt=zn(Vn))}(rn,Ur),qe||!ht||Vt)if(qe&&ht&&mt^Vt)ln=mt?1:0,rn=Fn(rn,Ur,cn);else if(!qe&&ht&&Vt)ln=mt?1:0,rn=mi(rn,Ur,cn),rn=Fn(rn,Ur);else if(!qe||mt||ht||Vt){if(qe&&!ht&&mt^Vt)rn=Fn(rn,Ur),mt?(ln=0,rn=mi(rn,Ur,cn)):(ln=1,rn=mi(rn,Ur,cn),rn=Fn(rn,Ur));else if(qe&&mt&&!ht&&Vt)ln=1,rn=mi(rn,Ur,cn),rn=Fn(rn,Ur);else if(!qe&&!ht&&mt^Vt){var Qr=dr;mt?(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=Fn(rn,Ur),ln=1,dr=!1,rn=mi(rn,Ur,cn),dr=Qr,rn=Fn(rn,Ur))}}else ln=0,rn=mi(rn,Ur,cn);else ln=mt?1:0,rn=mi(rn,Ur,cn);return rn},this.__bidiEngine__.setOptions=function(rn){rn&&(qe=rn.isInputVisual,ht=rn.isOutputVisual,mt=rn.isInputRtl,Vt=rn.isOutputRtl,dr=rn.isSymmetricSwapping)},this.__bidiEngine__.setOptions(Me),this.__bidiEngine__};var Te=["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"],ke=new $e.__bidiEngine__({isInputVisual:!0});$e.API.events.push(["postProcessText",function(Me){var Ze=Me.text,Xe=(Me.x,Me.y,Me.options||{}),qe=(Me.mutex,Xe.lang,[]);if(Xe.isInputVisual=typeof Xe.isInputVisual!="boolean"||Xe.isInputVisual,ke.setOptions(Xe),Object.prototype.toString.call(Ze)==="[object Array]"){var mt=0;for(qe=[],mt=0;mt<Ze.length;mt+=1)Object.prototype.toString.call(Ze[mt])==="[object Array]"?qe.push([ke.doBidiReorder(Ze[mt][0]),Ze[mt][1],Ze[mt][2]]):qe.push([ke.doBidiReorder(Ze[mt])]);Me.text=qe}else Me.text=ke.doBidiReorder(Ze);ke.setOptions({isInputVisual:!0})}])}(K),K.API.TTFFont=function(){function $e(Te){var ke;if(this.rawData=Te,ke=this.contents=new Kt(Te),this.contents.pos=4,ke.readString(4)==="ttcf")throw new Error("TTCF not supported.");ke.pos=0,this.parse(),this.subset=new ii(this),this.registerTTF()}return $e.open=function(Te){return new $e(Te)},$e.prototype.parse=function(){return this.directory=new St(this.contents),this.head=new kr(this),this.name=new zr(this),this.cmap=new $r(this),this.toUnicode={},this.hhea=new Bt(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 Mn(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},$e.prototype.registerTTF=function(){var Te,ke,Me,Ze,Xe;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var qe,mt,ht,Vt;for(Vt=[],qe=0,mt=(ht=this.bbox).length;qe<mt;qe++)Te=ht[qe],Vt.push(Math.round(Te*this.scaleFactor));return Vt}.call(this),this.stemV=0,this.post.exists?(Me=255&(Ze=this.post.italic_angle),(32768&(ke=Ze>>16))!=0&&(ke=-(1+(65535^ke))),this.italicAngle=+(ke+"."+Me)):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=(Xe=this.familyClass)===1||Xe===2||Xe===3||Xe===4||Xe===5||Xe===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")},$e.prototype.characterToGlyph=function(Te){var ke;return((ke=this.cmap.unicode)!=null?ke.codeMap[Te]:void 0)||0},$e.prototype.widthOfGlyph=function(Te){var ke;return ke=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(Te).advance*ke},$e.prototype.widthOfString=function(Te,ke,Me){var Ze,Xe,qe,mt;for(qe=0,Xe=0,mt=(Te=""+Te).length;0<=mt?Xe<mt:Xe>mt;Xe=0<=mt?++Xe:--Xe)Ze=Te.charCodeAt(Xe),qe+=this.widthOfGlyph(this.characterToGlyph(Ze))+Me*(1e3/ke)||0;return qe*(ke/1e3)},$e.prototype.lineHeight=function(Te,ke){var Me;return ke==null&&(ke=!1),Me=ke?this.lineGap:0,(this.ascender+Me-this.decender)/1e3*Te},$e}();var un,Kt=function(){function $e(Te){this.data=Te!=null?Te:[],this.pos=0,this.length=this.data.length}return $e.prototype.readByte=function(){return this.data[this.pos++]},$e.prototype.writeByte=function(Te){return this.data[this.pos++]=Te},$e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},$e.prototype.writeUInt32=function(Te){return this.writeByte(Te>>>24&255),this.writeByte(Te>>16&255),this.writeByte(Te>>8&255),this.writeByte(255&Te)},$e.prototype.readInt32=function(){var Te;return(Te=this.readUInt32())>=2147483648?Te-4294967296:Te},$e.prototype.writeInt32=function(Te){return Te<0&&(Te+=4294967296),this.writeUInt32(Te)},$e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},$e.prototype.writeUInt16=function(Te){return this.writeByte(Te>>8&255),this.writeByte(255&Te)},$e.prototype.readInt16=function(){var Te;return(Te=this.readUInt16())>=32768?Te-65536:Te},$e.prototype.writeInt16=function(Te){return Te<0&&(Te+=65536),this.writeUInt16(Te)},$e.prototype.readString=function(Te){var ke,Me;for(Me=[],ke=0;0<=Te?ke<Te:ke>Te;ke=0<=Te?++ke:--ke)Me[ke]=String.fromCharCode(this.readByte());return Me.join("")},$e.prototype.writeString=function(Te){var ke,Me,Ze;for(Ze=[],ke=0,Me=Te.length;0<=Me?ke<Me:ke>Me;ke=0<=Me?++ke:--ke)Ze.push(this.writeByte(Te.charCodeAt(ke)));return Ze},$e.prototype.readShort=function(){return this.readInt16()},$e.prototype.writeShort=function(Te){return this.writeInt16(Te)},$e.prototype.readLongLong=function(){var Te,ke,Me,Ze,Xe,qe,mt,ht;return Te=this.readByte(),ke=this.readByte(),Me=this.readByte(),Ze=this.readByte(),Xe=this.readByte(),qe=this.readByte(),mt=this.readByte(),ht=this.readByte(),128&Te?-1*(72057594037927940*(255^Te)+281474976710656*(255^ke)+1099511627776*(255^Me)+4294967296*(255^Ze)+16777216*(255^Xe)+65536*(255^qe)+256*(255^mt)+(255^ht)+1):72057594037927940*Te+281474976710656*ke+1099511627776*Me+4294967296*Ze+16777216*Xe+65536*qe+256*mt+ht},$e.prototype.writeLongLong=function(Te){var ke,Me;return ke=Math.floor(Te/4294967296),Me=4294967295&Te,this.writeByte(ke>>24&255),this.writeByte(ke>>16&255),this.writeByte(ke>>8&255),this.writeByte(255&ke),this.writeByte(Me>>24&255),this.writeByte(Me>>16&255),this.writeByte(Me>>8&255),this.writeByte(255&Me)},$e.prototype.readInt=function(){return this.readInt32()},$e.prototype.writeInt=function(Te){return this.writeInt32(Te)},$e.prototype.read=function(Te){var ke,Me;for(ke=[],Me=0;0<=Te?Me<Te:Me>Te;Me=0<=Te?++Me:--Me)ke.push(this.readByte());return ke},$e.prototype.write=function(Te){var ke,Me,Ze,Xe;for(Xe=[],Me=0,Ze=Te.length;Me<Ze;Me++)ke=Te[Me],Xe.push(this.writeByte(ke));return Xe},$e}(),St=function(){var $e;function Te(ke){var Me,Ze,Xe;for(this.scalarType=ke.readInt(),this.tableCount=ke.readShort(),this.searchRange=ke.readShort(),this.entrySelector=ke.readShort(),this.rangeShift=ke.readShort(),this.tables={},Ze=0,Xe=this.tableCount;0<=Xe?Ze<Xe:Ze>Xe;Ze=0<=Xe?++Ze:--Ze)Me={tag:ke.readString(4),checksum:ke.readInt(),offset:ke.readInt(),length:ke.readInt()},this.tables[Me.tag]=Me}return Te.prototype.encode=function(ke){var Me,Ze,Xe,qe,mt,ht,Vt,dr,tr,ir,_t,gr,jt;for(jt in _t=Object.keys(ke).length,ht=Math.log(2),tr=16*Math.floor(Math.log(_t)/ht),qe=Math.floor(tr/ht),dr=16*_t-tr,(Ze=new Kt).writeInt(this.scalarType),Ze.writeShort(_t),Ze.writeShort(tr),Ze.writeShort(qe),Ze.writeShort(dr),Xe=16*_t,Vt=Ze.pos+Xe,mt=null,gr=[],ke)for(ir=ke[jt],Ze.writeString(jt),Ze.writeInt($e(ir)),Ze.writeInt(Vt),Ze.writeInt(ir.length),gr=gr.concat(ir),jt==="head"&&(mt=Vt),Vt+=ir.length;Vt%4;)gr.push(0),Vt++;return Ze.write(gr),Me=2981146554-$e(Ze.data),Ze.pos=mt+8,Ze.writeUInt32(Me),Ze.data},$e=function(Me){var Ze,Xe,qe,mt;for(Me=Sn.call(Me);Me.length%4;)Me.push(0);for(qe=new Kt(Me),Xe=0,Ze=0,mt=Me.length;Ze<mt;Ze=Ze+=4)Xe+=qe.readUInt32();return 4294967295&Xe},Te}(),Mt={}.hasOwnProperty,Zt=function(Te,ke){for(var Me in ke)Mt.call(ke,Me)&&(Te[Me]=ke[Me]);function Ze(){this.constructor=Te}return Ze.prototype=ke.prototype,Te.prototype=new Ze,Te.__super__=ke.prototype,Te};un=function(){function $e(Te){var ke;this.file=Te,ke=this.file.directory.tables[this.tag],this.exists=!!ke,ke&&(this.offset=ke.offset,this.length=ke.length,this.parse(this.file.contents))}return $e.prototype.parse=function(){},$e.prototype.encode=function(){},$e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},$e}();var kr=function($e){function Te(){return Te.__super__.constructor.apply(this,arguments)}return Zt(Te,un),Te.prototype.tag="head",Te.prototype.parse=function(ke){return ke.pos=this.offset,this.version=ke.readInt(),this.revision=ke.readInt(),this.checkSumAdjustment=ke.readInt(),this.magicNumber=ke.readInt(),this.flags=ke.readShort(),this.unitsPerEm=ke.readShort(),this.created=ke.readLongLong(),this.modified=ke.readLongLong(),this.xMin=ke.readShort(),this.yMin=ke.readShort(),this.xMax=ke.readShort(),this.yMax=ke.readShort(),this.macStyle=ke.readShort(),this.lowestRecPPEM=ke.readShort(),this.fontDirectionHint=ke.readShort(),this.indexToLocFormat=ke.readShort(),this.glyphDataFormat=ke.readShort()},Te.prototype.encode=function(ke){var Me;return(Me=new Kt).writeInt(this.version),Me.writeInt(this.revision),Me.writeInt(this.checkSumAdjustment),Me.writeInt(this.magicNumber),Me.writeShort(this.flags),Me.writeShort(this.unitsPerEm),Me.writeLongLong(this.created),Me.writeLongLong(this.modified),Me.writeShort(this.xMin),Me.writeShort(this.yMin),Me.writeShort(this.xMax),Me.writeShort(this.yMax),Me.writeShort(this.macStyle),Me.writeShort(this.lowestRecPPEM),Me.writeShort(this.fontDirectionHint),Me.writeShort(ke),Me.writeShort(this.glyphDataFormat),Me.data},Te}(),Hr=function(){function $e(Te,ke){var Me,Ze,Xe,qe,mt,ht,Vt,dr,tr,ir,_t,gr,jt,Sr,Ar,sr,ln;switch(this.platformID=Te.readUInt16(),this.encodingID=Te.readShort(),this.offset=ke+Te.readInt(),tr=Te.pos,Te.pos=this.offset,this.format=Te.readUInt16(),this.length=Te.readUInt16(),this.language=Te.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]=Te.readByte();break;case 4:for(_t=Te.readUInt16(),ir=_t/2,Te.pos+=6,Xe=function(){var _n,zn;for(zn=[],ht=_n=0;0<=ir?_n<ir:_n>ir;ht=0<=ir?++_n:--_n)zn.push(Te.readUInt16());return zn}(),Te.pos+=2,jt=function(){var _n,zn;for(zn=[],ht=_n=0;0<=ir?_n<ir:_n>ir;ht=0<=ir?++_n:--_n)zn.push(Te.readUInt16());return zn}(),Vt=function(){var _n,zn;for(zn=[],ht=_n=0;0<=ir?_n<ir:_n>ir;ht=0<=ir?++_n:--_n)zn.push(Te.readUInt16());return zn}(),dr=function(){var _n,zn;for(zn=[],ht=_n=0;0<=ir?_n<ir:_n>ir;ht=0<=ir?++_n:--_n)zn.push(Te.readUInt16());return zn}(),Ze=(this.length-Te.pos+this.offset)/2,mt=function(){var _n,zn;for(zn=[],ht=_n=0;0<=Ze?_n<Ze:_n>Ze;ht=0<=Ze?++_n:--_n)zn.push(Te.readUInt16());return zn}(),ht=Ar=0,ln=Xe.length;Ar<ln;ht=++Ar)for(Sr=Xe[ht],Me=sr=gr=jt[ht];gr<=Sr?sr<=Sr:sr>=Sr;Me=gr<=Sr?++sr:--sr)dr[ht]===0?qe=Me+Vt[ht]:(qe=mt[dr[ht]/2+(Me-gr)-(ir-ht)]||0)!==0&&(qe+=Vt[ht]),this.codeMap[Me]=65535&qe}Te.pos=tr}return $e.encode=function(Te,ke){var Me,Ze,Xe,qe,mt,ht,Vt,dr,tr,ir,_t,gr,jt,Sr,Ar,sr,ln,_n,zn,Nn,Fn,Gn,xn,mi,rn,Ur,cn,Qr,Vn,Hn,li,Un,gi,kn,di,qr,xr,nn,gn,On,Bn,Wn,$n,Jn,vi,Pi;switch(Qr=new Kt,qe=Object.keys(Te).sort(function(Bi,ja){return Bi-ja}),ke){case"macroman":for(jt=0,Sr=function(){var Bi=[];for(gr=0;gr<256;++gr)Bi.push(0);return Bi}(),sr={0:0},Xe={},Vn=0,gi=qe.length;Vn<gi;Vn++)sr[$n=Te[Ze=qe[Vn]]]==null&&(sr[$n]=++jt),Xe[Ze]={old:Te[Ze],new:sr[Te[Ze]]},Sr[Ze]=sr[Te[Ze]];return Qr.writeUInt16(1),Qr.writeUInt16(0),Qr.writeUInt32(12),Qr.writeUInt16(0),Qr.writeUInt16(262),Qr.writeUInt16(0),Qr.write(Sr),{charMap:Xe,subtable:Qr.data,maxGlyphID:jt+1};case"unicode":for(Ur=[],tr=[],ln=0,sr={},Me={},Ar=Vt=null,Hn=0,kn=qe.length;Hn<kn;Hn++)sr[zn=Te[Ze=qe[Hn]]]==null&&(sr[zn]=++ln),Me[Ze]={old:zn,new:sr[zn]},mt=sr[zn]-Ze,Ar!=null&&mt===Vt||(Ar&&tr.push(Ar),Ur.push(Ze),Vt=mt),Ar=Ze;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,Fn=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=Me[rn].new)>=32768)for(ht.push(0),Nn.push(2*(_t.length+xn-gr)),Ze=Un=rn;rn<=dr?Un<=dr:Un>=dr;Ze=rn<=dr?++Un:--Un)_t.push(Me[Ze].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(Fn),Bn=0,qr=tr.length;Bn<qr;Bn++)Ze=tr[Bn],Qr.writeUInt16(Ze);for(Qr.writeUInt16(0),Wn=0,xr=Ur.length;Wn<xr;Wn++)Ze=Ur[Wn],Qr.writeUInt16(Ze);for(Jn=0,nn=ht.length;Jn<nn;Jn++)mt=ht[Jn],Qr.writeUInt16(mt);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:Me,subtable:Qr.data,maxGlyphID:ln+1}}},$e}(),$r=function($e){function Te(){return Te.__super__.constructor.apply(this,arguments)}return Zt(Te,un),Te.prototype.tag="cmap",Te.prototype.parse=function(ke){var Me,Ze,Xe;for(ke.pos=this.offset,this.version=ke.readUInt16(),Xe=ke.readUInt16(),this.tables=[],this.unicode=null,Ze=0;0<=Xe?Ze<Xe:Ze>Xe;Ze=0<=Xe?++Ze:--Ze)Me=new Hr(ke,this.offset),this.tables.push(Me),Me.isUnicode&&this.unicode==null&&(this.unicode=Me);return!0},Te.encode=function(ke,Me){var Ze,Xe;return Me==null&&(Me="macroman"),Ze=Hr.encode(ke,Me),(Xe=new Kt).writeUInt16(0),Xe.writeUInt16(1),Ze.table=Xe.data.concat(Ze.subtable),Ze},Te}(),Bt=function($e){function Te(){return Te.__super__.constructor.apply(this,arguments)}return Zt(Te,un),Te.prototype.tag="hhea",Te.prototype.parse=function(ke){return ke.pos=this.offset,this.version=ke.readInt(),this.ascender=ke.readShort(),this.decender=ke.readShort(),this.lineGap=ke.readShort(),this.advanceWidthMax=ke.readShort(),this.minLeftSideBearing=ke.readShort(),this.minRightSideBearing=ke.readShort(),this.xMaxExtent=ke.readShort(),this.caretSlopeRise=ke.readShort(),this.caretSlopeRun=ke.readShort(),this.caretOffset=ke.readShort(),ke.pos+=8,this.metricDataFormat=ke.readShort(),this.numberOfMetrics=ke.readUInt16()},Te}(),cr=function($e){function Te(){return Te.__super__.constructor.apply(this,arguments)}return Zt(Te,un),Te.prototype.tag="OS/2",Te.prototype.parse=function(ke){if(ke.pos=this.offset,this.version=ke.readUInt16(),this.averageCharWidth=ke.readShort(),this.weightClass=ke.readUInt16(),this.widthClass=ke.readUInt16(),this.type=ke.readShort(),this.ySubscriptXSize=ke.readShort(),this.ySubscriptYSize=ke.readShort(),this.ySubscriptXOffset=ke.readShort(),this.ySubscriptYOffset=ke.readShort(),this.ySuperscriptXSize=ke.readShort(),this.ySuperscriptYSize=ke.readShort(),this.ySuperscriptXOffset=ke.readShort(),this.ySuperscriptYOffset=ke.readShort(),this.yStrikeoutSize=ke.readShort(),this.yStrikeoutPosition=ke.readShort(),this.familyClass=ke.readShort(),this.panose=function(){var Me,Ze;for(Ze=[],Me=0;Me<10;++Me)Ze.push(ke.readByte());return Ze}(),this.charRange=function(){var Me,Ze;for(Ze=[],Me=0;Me<4;++Me)Ze.push(ke.readInt());return Ze}(),this.vendorID=ke.readString(4),this.selection=ke.readShort(),this.firstCharIndex=ke.readShort(),this.lastCharIndex=ke.readShort(),this.version>0&&(this.ascent=ke.readShort(),this.descent=ke.readShort(),this.lineGap=ke.readShort(),this.winAscent=ke.readShort(),this.winDescent=ke.readShort(),this.codePageRange=function(){var Me,Ze;for(Ze=[],Me=0;Me<2;Me=++Me)Ze.push(ke.readInt());return Ze}(),this.version>1))return this.xHeight=ke.readShort(),this.capHeight=ke.readShort(),this.defaultChar=ke.readShort(),this.breakChar=ke.readShort(),this.maxContext=ke.readShort()},Te}(),Cr=function($e){function Te(){return Te.__super__.constructor.apply(this,arguments)}return Zt(Te,un),Te.prototype.tag="post",Te.prototype.parse=function(ke){var Me,Ze,Xe;switch(ke.pos=this.offset,this.format=ke.readInt(),this.italicAngle=ke.readInt(),this.underlinePosition=ke.readShort(),this.underlineThickness=ke.readShort(),this.isFixedPitch=ke.readInt(),this.minMemType42=ke.readInt(),this.maxMemType42=ke.readInt(),this.minMemType1=ke.readInt(),this.maxMemType1=ke.readInt(),this.format){case 65536:break;case 131072:var qe;for(Ze=ke.readUInt16(),this.glyphNameIndex=[],qe=0;0<=Ze?qe<Ze:qe>Ze;qe=0<=Ze?++qe:--qe)this.glyphNameIndex.push(ke.readUInt16());for(this.names=[],Xe=[];ke.pos<this.offset+this.length;)Me=ke.readByte(),Xe.push(this.names.push(ke.readString(Me)));return Xe;case 151552:return Ze=ke.readUInt16(),this.offsets=ke.read(Ze);case 196608:break;case 262144:return this.map=function(){var mt,ht,Vt;for(Vt=[],qe=mt=0,ht=this.file.maxp.numGlyphs;0<=ht?mt<ht:mt>ht;qe=0<=ht?++mt:--mt)Vt.push(ke.readUInt32());return Vt}.call(this)}},Te}(),Br=function(Te,ke){this.raw=Te,this.length=Te.length,this.platformID=ke.platformID,this.encodingID=ke.encodingID,this.languageID=ke.languageID},zr=function($e){function Te(){return Te.__super__.constructor.apply(this,arguments)}return Zt(Te,un),Te.prototype.tag="name",Te.prototype.parse=function(ke){var Me,Ze,Xe,qe,mt,ht,Vt,dr,tr,ir,_t;for(ke.pos=this.offset,ke.readShort(),Me=ke.readShort(),ht=ke.readShort(),Ze=[],qe=0;0<=Me?qe<Me:qe>Me;qe=0<=Me?++qe:--qe)Ze.push({platformID:ke.readShort(),encodingID:ke.readShort(),languageID:ke.readShort(),nameID:ke.readShort(),length:ke.readShort(),offset:this.offset+ht+ke.readShort()});for(Vt={},qe=tr=0,ir=Ze.length;tr<ir;qe=++tr)Xe=Ze[qe],ke.pos=Xe.offset,dr=ke.readString(Xe.length),mt=new Br(dr,Xe),Vt[_t=Xe.nameID]==null&&(Vt[_t]=[]),Vt[Xe.nameID].push(mt);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]},Te}(),An=function($e){function Te(){return Te.__super__.constructor.apply(this,arguments)}return Zt(Te,un),Te.prototype.tag="maxp",Te.prototype.parse=function(ke){return ke.pos=this.offset,this.version=ke.readInt(),this.numGlyphs=ke.readUInt16(),this.maxPoints=ke.readUInt16(),this.maxContours=ke.readUInt16(),this.maxCompositePoints=ke.readUInt16(),this.maxComponentContours=ke.readUInt16(),this.maxZones=ke.readUInt16(),this.maxTwilightPoints=ke.readUInt16(),this.maxStorage=ke.readUInt16(),this.maxFunctionDefs=ke.readUInt16(),this.maxInstructionDefs=ke.readUInt16(),this.maxStackElements=ke.readUInt16(),this.maxSizeOfInstructions=ke.readUInt16(),this.maxComponentElements=ke.readUInt16(),this.maxComponentDepth=ke.readUInt16()},Te}(),bn=function($e){function Te(){return Te.__super__.constructor.apply(this,arguments)}return Zt(Te,un),Te.prototype.tag="hmtx",Te.prototype.parse=function(ke){var Me,Ze,Xe,qe,mt,ht,Vt;for(ke.pos=this.offset,this.metrics=[],Me=0,ht=this.file.hhea.numberOfMetrics;0<=ht?Me<ht:Me>ht;Me=0<=ht?++Me:--Me)this.metrics.push({advance:ke.readUInt16(),lsb:ke.readInt16()});for(Xe=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var dr,tr;for(tr=[],Me=dr=0;0<=Xe?dr<Xe:dr>Xe;Me=0<=Xe?++dr:--dr)tr.push(ke.readInt16());return tr}(),this.widths=function(){var dr,tr,ir,_t;for(_t=[],dr=0,tr=(ir=this.metrics).length;dr<tr;dr++)qe=ir[dr],_t.push(qe.advance);return _t}.call(this),Ze=this.widths[this.widths.length-1],Vt=[],Me=mt=0;0<=Xe?mt<Xe:mt>Xe;Me=0<=Xe?++mt:--mt)Vt.push(this.widths.push(Ze));return Vt},Te.prototype.forGlyph=function(ke){return ke in this.metrics?this.metrics[ke]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[ke-this.metrics.length]}},Te}(),Sn=[].slice,Mn=function($e){function Te(){return Te.__super__.constructor.apply(this,arguments)}return Zt(Te,un),Te.prototype.tag="glyf",Te.prototype.parse=function(){return this.cache={}},Te.prototype.glyphFor=function(ke){var Me,Ze,Xe,qe,mt,ht,Vt,dr,tr,ir;return ke in this.cache?this.cache[ke]:(qe=this.file.loca,Me=this.file.contents,Ze=qe.indexOf(ke),(Xe=qe.lengthOf(ke))===0?this.cache[ke]=null:(Me.pos=this.offset+Ze,mt=(ht=new Kt(Me.read(Xe))).readShort(),dr=ht.readShort(),ir=ht.readShort(),Vt=ht.readShort(),tr=ht.readShort(),this.cache[ke]=mt===-1?new Zn(ht,dr,ir,Vt,tr):new ei(ht,mt,dr,ir,Vt,tr),this.cache[ke]))},Te.prototype.encode=function(ke,Me,Ze){var Xe,qe,mt,ht,Vt;for(mt=[],qe=[],ht=0,Vt=Me.length;ht<Vt;ht++)Xe=ke[Me[ht]],qe.push(mt.length),Xe&&(mt=mt.concat(Xe.encode(Ze)));return qe.push(mt.length),{table:mt,offsets:qe}},Te}(),ei=function(){function $e(Te,ke,Me,Ze,Xe,qe){this.raw=Te,this.numberOfContours=ke,this.xMin=Me,this.yMin=Ze,this.xMax=Xe,this.yMax=qe,this.compound=!1}return $e.prototype.encode=function(){return this.raw.data},$e}(),Zn=function(){function $e(Te,ke,Me,Ze,Xe){var qe,mt;for(this.raw=Te,this.xMin=ke,this.yMin=Me,this.xMax=Ze,this.yMax=Xe,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],qe=this.raw;mt=qe.readShort(),this.glyphOffsets.push(qe.pos),this.glyphIDs.push(qe.readUInt16()),32&mt;)qe.pos+=1&mt?4:2,128&mt?qe.pos+=8:64&mt?qe.pos+=4:8&mt&&(qe.pos+=2)}return $e.prototype.encode=function(){var Te,ke,Me;for(ke=new Kt(Sn.call(this.raw.data)),Te=0,Me=this.glyphIDs.length;Te<Me;++Te)ke.pos=this.glyphOffsets[Te];return ke.data},$e}(),ai=function($e){function Te(){return Te.__super__.constructor.apply(this,arguments)}return Zt(Te,un),Te.prototype.tag="loca",Te.prototype.parse=function(ke){var Me,Ze;return ke.pos=this.offset,Me=this.file.head.indexToLocFormat,this.offsets=Me===0?function(){var Xe,qe;for(qe=[],Ze=0,Xe=this.length;Ze<Xe;Ze+=2)qe.push(2*ke.readUInt16());return qe}.call(this):function(){var Xe,qe;for(qe=[],Ze=0,Xe=this.length;Ze<Xe;Ze+=4)qe.push(ke.readUInt32());return qe}.call(this)},Te.prototype.indexOf=function(ke){return this.offsets[ke]},Te.prototype.lengthOf=function(ke){return this.offsets[ke+1]-this.offsets[ke]},Te.prototype.encode=function(ke,Me){for(var Ze=new Uint32Array(this.offsets.length),Xe=0,qe=0,mt=0;mt<Ze.length;++mt)if(Ze[mt]=Xe,qe<Me.length&&Me[qe]==mt){++qe,Ze[mt]=Xe;var ht=this.offsets[mt],Vt=this.offsets[mt+1]-ht;Vt>0&&(Xe+=Vt)}for(var dr=new Array(4*Ze.length),tr=0;tr<Ze.length;++tr)dr[4*tr+3]=255&Ze[tr],dr[4*tr+2]=(65280&Ze[tr])>>8,dr[4*tr+1]=(16711680&Ze[tr])>>16,dr[4*tr]=(4278190080&Ze[tr])>>24;return dr},Te}(),ii=function(){function $e(Te){this.font=Te,this.subset={},this.unicodes={},this.next=33}return $e.prototype.generateCmap=function(){var Te,ke,Me,Ze,Xe;for(ke in Ze=this.font.cmap.tables[0].codeMap,Te={},Xe=this.subset)Me=Xe[ke],Te[ke]=Ze[Me];return Te},$e.prototype.glyphsFor=function(Te){var ke,Me,Ze,Xe,qe,mt,ht;for(Ze={},qe=0,mt=Te.length;qe<mt;qe++)Ze[Xe=Te[qe]]=this.font.glyf.glyphFor(Xe);for(Xe in ke=[],Ze)((Me=Ze[Xe])!=null?Me.compound:void 0)&&ke.push.apply(ke,Me.glyphIDs);if(ke.length>0)for(Xe in ht=this.glyphsFor(ke))Me=ht[Xe],Ze[Xe]=Me;return Ze},$e.prototype.encode=function(Te,ke){var Me,Ze,Xe,qe,mt,ht,Vt,dr,tr,ir,_t,gr,jt,Sr,Ar;for(Ze in Me=$r.encode(this.generateCmap(),"unicode"),qe=this.glyphsFor(Te),_t={0:0},Ar=Me.charMap)_t[(ht=Ar[Ze]).old]=ht.new;for(gr in ir=Me.maxGlyphID,qe)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++)mt=tr[sr],_n.push(dr[mt]);return _n}(),Xe=this.font.glyf.encode(qe,jt,_t),Vt=this.font.loca.encode(Xe.offsets,jt),Sr={cmap:this.font.cmap.raw(),glyf:Xe.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(ke)},this.font.os2.exists&&(Sr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Sr)},$e}();K.API.PDFObject=function(){var $e;function Te(){}return $e=function(Me,Ze){return(Array(Ze+1).join("0")+Me).slice(-Ze)},Te.convert=function(ke){var Me,Ze,Xe,qe;if(Array.isArray(ke))return"["+function(){var mt,ht,Vt;for(Vt=[],mt=0,ht=ke.length;mt<ht;mt++)Me=ke[mt],Vt.push(Te.convert(Me));return Vt}().join(" ")+"]";if(typeof ke=="string")return"/"+ke;if(ke!=null?ke.isString:void 0)return"("+ke+")";if(ke instanceof Date)return"(D:"+$e(ke.getUTCFullYear(),4)+$e(ke.getUTCMonth(),2)+$e(ke.getUTCDate(),2)+$e(ke.getUTCHours(),2)+$e(ke.getUTCMinutes(),2)+$e(ke.getUTCSeconds(),2)+"Z)";if({}.toString.call(ke)==="[object Object]"){for(Ze in Xe=["<<"],ke)qe=ke[Ze],Xe.push("/"+Ze+" "+Te.convert(qe));return Xe.push(">>"),Xe.join(`
|
|
|
`)}return""+ke},Te}(),P.default=K}.call(this,d("yLpj"))},eIcI:function(M,P,d){var w=d("bYtY"),A=d("hM6l");function b(v,p,s){A.call(this,v,p,s),this.type="value",this.angle=0,this.name="",this.model}w.inherits(b,A);var m=b;M.exports=m},eJH7:function(M,P,d){var w=d("bYtY");function A(b){var m=b.polar;if(m){w.isArray(m)||(m=[m]);var v=[];w.each(m,function(p,s){p.indicator?(p.type&&!p.shape&&(p.shape=p.type),b.radar=b.radar||[],w.isArray(b.radar)||(b.radar=[b.radar]),b.radar.push(p)):v.push(p)}),b.polar=v}w.each(b.series,function(p){p&&p.type==="radar"&&p.polarIndex&&(p.radarIndex=p.polarIndex)})}M.exports=A},eP3c:function(M,P,d){"use strict";function w(Ge){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(Y){return typeof Y}:w=function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},w(Ge)}Object.defineProperty(P,"__esModule",{value:!0}),P.inflateReset=oe,P.inflateReset2=de,P.inflateResetKeep=Ne,P.inflateInit=Pe,P.inflateInit2=xe,P.inflate=nt,P.inflateEnd=bt,P.inflateGetHeader=Tt,P.inflateSetDictionary=Ct,P.inflateInfo=P.Z_DEFLATED=P.Z_BUF_ERROR=P.Z_MEM_ERROR=P.Z_DATA_ERROR=P.Z_STREAM_ERROR=P.Z_NEED_DICT=P.Z_STREAM_END=P.Z_OK=P.Z_TREES=P.Z_BLOCK=P.Z_FINISH=void 0;var A=o(d("6BzB")),b=s(d("xlC8")),m=s(d("QV2g")),v=s(d("sjKO")),p=s(d("JSwD"));function s(Ge){return Ge&&Ge.__esModule?Ge:{default:Ge}}function u(){if(typeof WeakMap!="function")return null;var Ge=new WeakMap;return u=function(){return Ge},Ge}function o(Ge){if(Ge&&Ge.__esModule)return Ge;if(Ge===null||w(Ge)!=="object"&&typeof Ge!="function")return{default:Ge};var ie=u();if(ie&&ie.has(Ge))return ie.get(Ge);var Y={},we=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ce in Ge)if(Object.prototype.hasOwnProperty.call(Ge,Ce)){var le=we?Object.getOwnPropertyDescriptor(Ge,Ce):null;le&&(le.get||le.set)?Object.defineProperty(Y,Ce,le):Y[Ce]=Ge[Ce]}return Y.default=Ge,ie&&ie.set(Ge,Y),Y}var e=0,r=1,i=2,n=4;P.Z_FINISH=n;var l=5;P.Z_BLOCK=l;var t=6;P.Z_TREES=t;var a=0;P.Z_OK=a;var c=1;P.Z_STREAM_END=c;var h=2;P.Z_NEED_DICT=h;var f=-2;P.Z_STREAM_ERROR=f;var g=-3;P.Z_DATA_ERROR=g;var S=-4;P.Z_MEM_ERROR=S;var y=-5;P.Z_BUF_ERROR=y;var E=8;P.Z_DEFLATED=E;var C=1,T=2,x=3,_=4,I=5,L=6,D=7,B=8,N=9,k=10,W=11,R=12,j=13,H=14,K=15,U=16,Q=17,V=18,J=19,ae=20,se=21,$=22,ge=23,he=24,Ie=25,Se=26,Le=27,He=28,G=29,pe=30,We=31,te=32,X=852,z=592,Z=15,be=Z;function ne(Ge){return(Ge>>>24&255)+(Ge>>>8&65280)+((Ge&65280)<<8)+((Ge&255)<<24)}function Ae(){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 A.Buf16(320),this.work=new A.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Ne(Ge){var ie;return!Ge||!Ge.state?f:(ie=Ge.state,Ge.total_in=Ge.total_out=ie.total=0,Ge.msg="",ie.wrap&&(Ge.adler=ie.wrap&1),ie.mode=C,ie.last=0,ie.havedict=0,ie.dmax=32768,ie.head=null,ie.hold=0,ie.bits=0,ie.lencode=ie.lendyn=new A.Buf32(X),ie.distcode=ie.distdyn=new A.Buf32(z),ie.sane=1,ie.back=-1,a)}function oe(Ge){var ie;return!Ge||!Ge.state?f:(ie=Ge.state,ie.wsize=0,ie.whave=0,ie.wnext=0,Ne(Ge))}function de(Ge,ie){var Y,we;return!Ge||!Ge.state?f:(we=Ge.state,ie<0?(Y=0,ie=-ie):(Y=(ie>>4)+1,ie<48&&(ie&=15)),ie&&(ie<8||ie>15)?f:(we.window!==null&&we.wbits!==ie&&(we.window=null),we.wrap=Y,we.wbits=ie,oe(Ge)))}function xe(Ge,ie){var Y,we;return Ge?(we=new Ae,Ge.state=we,we.window=null,Y=de(Ge,ie),Y!==a&&(Ge.state=null),Y):f}function Pe(Ge){return xe(Ge,be)}var tt=!0,Je,Oe;function pt(Ge){if(tt){var ie;for(Je=new A.Buf32(512),Oe=new A.Buf32(32),ie=0;ie<144;)Ge.lens[ie++]=8;for(;ie<256;)Ge.lens[ie++]=9;for(;ie<280;)Ge.lens[ie++]=7;for(;ie<288;)Ge.lens[ie++]=8;for((0,p.default)(r,Ge.lens,0,288,Je,0,Ge.work,{bits:9}),ie=0;ie<32;)Ge.lens[ie++]=5;(0,p.default)(i,Ge.lens,0,32,Oe,0,Ge.work,{bits:5}),tt=!1}Ge.lencode=Je,Ge.lenbits=9,Ge.distcode=Oe,Ge.distbits=5}function Qe(Ge,ie,Y,we){var Ce,le=Ge.state;return le.window===null&&(le.wsize=1<<le.wbits,le.wnext=0,le.whave=0,le.window=new A.Buf8(le.wsize)),we>=le.wsize?(A.arraySet(le.window,ie,Y-le.wsize,le.wsize,0),le.wnext=0,le.whave=le.wsize):(Ce=le.wsize-le.wnext,Ce>we&&(Ce=we),A.arraySet(le.window,ie,Y-we,Ce,le.wnext),we-=Ce,we?(A.arraySet(le.window,ie,Y-we,we,0),le.wnext=we,le.whave=le.wsize):(le.wnext+=Ce,le.wnext===le.wsize&&(le.wnext=0),le.whave<le.wsize&&(le.whave+=Ce))),0}function nt(Ge,ie){var Y,we,Ce,le,ot,wt,rt,It,Gt,lr,pr,Rr,xt,Ot,At=0,Jt,br,Lr,Zr,In,Gr,Tr,fr,vt=new A.Buf8(4),ft,De,je=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Ge||!Ge.state||!Ge.output||!Ge.input&&Ge.avail_in!==0)return f;Y=Ge.state,Y.mode===R&&(Y.mode=j),ot=Ge.next_out,Ce=Ge.output,rt=Ge.avail_out,le=Ge.next_in,we=Ge.input,wt=Ge.avail_in,It=Y.hold,Gt=Y.bits,lr=wt,pr=rt,fr=a;e:for(;;)switch(Y.mode){case C:if(Y.wrap===0){Y.mode=j;break}for(;Gt<16;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}if(Y.wrap&2&&It===35615){Y.check=0,vt[0]=It&255,vt[1]=It>>>8&255,Y.check=(0,m.default)(Y.check,vt,2,0),It=0,Gt=0,Y.mode=T;break}if(Y.flags=0,Y.head&&(Y.head.done=!1),!(Y.wrap&1)||(((It&255)<<8)+(It>>8))%31){Ge.msg="incorrect header check",Y.mode=pe;break}if((It&15)!==E){Ge.msg="unknown compression method",Y.mode=pe;break}if(It>>>=4,Gt-=4,Tr=(It&15)+8,Y.wbits===0)Y.wbits=Tr;else if(Tr>Y.wbits){Ge.msg="invalid window size",Y.mode=pe;break}Y.dmax=1<<Tr,Ge.adler=Y.check=1,Y.mode=It&512?k:R,It=0,Gt=0;break;case T:for(;Gt<16;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}if(Y.flags=It,(Y.flags&255)!==E){Ge.msg="unknown compression method",Y.mode=pe;break}if(Y.flags&57344){Ge.msg="unknown header flags set",Y.mode=pe;break}Y.head&&(Y.head.text=It>>8&1),Y.flags&512&&(vt[0]=It&255,vt[1]=It>>>8&255,Y.check=(0,m.default)(Y.check,vt,2,0)),It=0,Gt=0,Y.mode=x;case x:for(;Gt<32;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}Y.head&&(Y.head.time=It),Y.flags&512&&(vt[0]=It&255,vt[1]=It>>>8&255,vt[2]=It>>>16&255,vt[3]=It>>>24&255,Y.check=(0,m.default)(Y.check,vt,4,0)),It=0,Gt=0,Y.mode=_;case _:for(;Gt<16;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}Y.head&&(Y.head.xflags=It&255,Y.head.os=It>>8),Y.flags&512&&(vt[0]=It&255,vt[1]=It>>>8&255,Y.check=(0,m.default)(Y.check,vt,2,0)),It=0,Gt=0,Y.mode=I;case I:if(Y.flags&1024){for(;Gt<16;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}Y.length=It,Y.head&&(Y.head.extra_len=It),Y.flags&512&&(vt[0]=It&255,vt[1]=It>>>8&255,Y.check=(0,m.default)(Y.check,vt,2,0)),It=0,Gt=0}else Y.head&&(Y.head.extra=null);Y.mode=L;case L:if(Y.flags&1024&&(Rr=Y.length,Rr>wt&&(Rr=wt),Rr&&(Y.head&&(Tr=Y.head.extra_len-Y.length,Y.head.extra||(Y.head.extra=new Array(Y.head.extra_len)),A.arraySet(Y.head.extra,we,le,Rr,Tr)),Y.flags&512&&(Y.check=(0,m.default)(Y.check,we,Rr,le)),wt-=Rr,le+=Rr,Y.length-=Rr),Y.length))break e;Y.length=0,Y.mode=D;case D:if(Y.flags&2048){if(wt===0)break e;Rr=0;do Tr=we[le+Rr++],Y.head&&Tr&&Y.length<65536&&(Y.head.name+=String.fromCharCode(Tr));while(Tr&&Rr<wt);if(Y.flags&512&&(Y.check=(0,m.default)(Y.check,we,Rr,le)),wt-=Rr,le+=Rr,Tr)break e}else Y.head&&(Y.head.name=null);Y.length=0,Y.mode=B;case B:if(Y.flags&4096){if(wt===0)break e;Rr=0;do Tr=we[le+Rr++],Y.head&&Tr&&Y.length<65536&&(Y.head.comment+=String.fromCharCode(Tr));while(Tr&&Rr<wt);if(Y.flags&512&&(Y.check=(0,m.default)(Y.check,we,Rr,le)),wt-=Rr,le+=Rr,Tr)break e}else Y.head&&(Y.head.comment=null);Y.mode=N;case N:if(Y.flags&512){for(;Gt<16;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}if(It!==(Y.check&65535)){Ge.msg="header crc mismatch",Y.mode=pe;break}It=0,Gt=0}Y.head&&(Y.head.hcrc=Y.flags>>9&1,Y.head.done=!0),Ge.adler=Y.check=0,Y.mode=R;break;case k:for(;Gt<32;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}Ge.adler=Y.check=ne(It),It=0,Gt=0,Y.mode=W;case W:if(Y.havedict===0)return Ge.next_out=ot,Ge.avail_out=rt,Ge.next_in=le,Ge.avail_in=wt,Y.hold=It,Y.bits=Gt,h;Ge.adler=Y.check=1,Y.mode=R;case R:if(ie===l||ie===t)break e;case j:if(Y.last){It>>>=Gt&7,Gt-=Gt&7,Y.mode=Le;break}for(;Gt<3;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}Y.last=It&1,It>>>=1,Gt-=1;switch(It&3){case 0:Y.mode=H;break;case 1:if(pt(Y),Y.mode=ae,ie===t){It>>>=2,Gt-=2;break e}break;case 2:Y.mode=Q;break;case 3:Ge.msg="invalid block type",Y.mode=pe}It>>>=2,Gt-=2;break;case H:for(It>>>=Gt&7,Gt-=Gt&7;Gt<32;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}if((It&65535)!==(It>>>16^65535)){Ge.msg="invalid stored block lengths",Y.mode=pe;break}if(Y.length=It&65535,It=0,Gt=0,Y.mode=K,ie===t)break e;case K:Y.mode=U;case U:if(Rr=Y.length,Rr){if(Rr>wt&&(Rr=wt),Rr>rt&&(Rr=rt),Rr===0)break e;A.arraySet(Ce,we,le,Rr,ot),wt-=Rr,le+=Rr,rt-=Rr,ot+=Rr,Y.length-=Rr;break}Y.mode=R;break;case Q:for(;Gt<14;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}if(Y.nlen=(It&31)+257,It>>>=5,Gt-=5,Y.ndist=(It&31)+1,It>>>=5,Gt-=5,Y.ncode=(It&15)+4,It>>>=4,Gt-=4,Y.nlen>286||Y.ndist>30){Ge.msg="too many length or distance symbols",Y.mode=pe;break}Y.have=0,Y.mode=V;case V:for(;Y.have<Y.ncode;){for(;Gt<3;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}Y.lens[je[Y.have++]]=It&7,It>>>=3,Gt-=3}for(;Y.have<19;)Y.lens[je[Y.have++]]=0;if(Y.lencode=Y.lendyn,Y.lenbits=7,ft={bits:Y.lenbits},fr=(0,p.default)(e,Y.lens,0,19,Y.lencode,0,Y.work,ft),Y.lenbits=ft.bits,fr){Ge.msg="invalid code lengths set",Y.mode=pe;break}Y.have=0,Y.mode=J;case J:for(;Y.have<Y.nlen+Y.ndist;){for(;!(At=Y.lencode[It&(1<<Y.lenbits)-1],Jt=At>>>24,br=At>>>16&255,Lr=At&65535,Jt<=Gt);){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}if(Lr<16)It>>>=Jt,Gt-=Jt,Y.lens[Y.have++]=Lr;else{if(Lr===16){for(De=Jt+2;Gt<De;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}if(It>>>=Jt,Gt-=Jt,Y.have===0){Ge.msg="invalid bit length repeat",Y.mode=pe;break}Tr=Y.lens[Y.have-1],Rr=3+(It&3),It>>>=2,Gt-=2}else if(Lr===17){for(De=Jt+3;Gt<De;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}It>>>=Jt,Gt-=Jt,Tr=0,Rr=3+(It&7),It>>>=3,Gt-=3}else{for(De=Jt+7;Gt<De;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}It>>>=Jt,Gt-=Jt,Tr=0,Rr=11+(It&127),It>>>=7,Gt-=7}if(Y.have+Rr>Y.nlen+Y.ndist){Ge.msg="invalid bit length repeat",Y.mode=pe;break}for(;Rr--;)Y.lens[Y.have++]=Tr}}if(Y.mode===pe)break;if(Y.lens[256]===0){Ge.msg="invalid code -- missing end-of-block",Y.mode=pe;break}if(Y.lenbits=9,ft={bits:Y.lenbits},fr=(0,p.default)(r,Y.lens,0,Y.nlen,Y.lencode,0,Y.work,ft),Y.lenbits=ft.bits,fr){Ge.msg="invalid literal/lengths set",Y.mode=pe;break}if(Y.distbits=6,Y.distcode=Y.distdyn,ft={bits:Y.distbits},fr=(0,p.default)(i,Y.lens,Y.nlen,Y.ndist,Y.distcode,0,Y.work,ft),Y.distbits=ft.bits,fr){Ge.msg="invalid distances set",Y.mode=pe;break}if(Y.mode=ae,ie===t)break e;case ae:Y.mode=se;case se:if(wt>=6&&rt>=258){Ge.next_out=ot,Ge.avail_out=rt,Ge.next_in=le,Ge.avail_in=wt,Y.hold=It,Y.bits=Gt,(0,v.default)(Ge,pr),ot=Ge.next_out,Ce=Ge.output,rt=Ge.avail_out,le=Ge.next_in,we=Ge.input,wt=Ge.avail_in,It=Y.hold,Gt=Y.bits,Y.mode===R&&(Y.back=-1);break}for(Y.back=0;!(At=Y.lencode[It&(1<<Y.lenbits)-1],Jt=At>>>24,br=At>>>16&255,Lr=At&65535,Jt<=Gt);){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}if(br&&(br&240)===0){for(Zr=Jt,In=br,Gr=Lr;!(At=Y.lencode[Gr+((It&(1<<Zr+In)-1)>>Zr)],Jt=At>>>24,br=At>>>16&255,Lr=At&65535,Zr+Jt<=Gt);){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}It>>>=Zr,Gt-=Zr,Y.back+=Zr}if(It>>>=Jt,Gt-=Jt,Y.back+=Jt,Y.length=Lr,br===0){Y.mode=Se;break}if(br&32){Y.back=-1,Y.mode=R;break}if(br&64){Ge.msg="invalid literal/length code",Y.mode=pe;break}Y.extra=br&15,Y.mode=$;case $:if(Y.extra){for(De=Y.extra;Gt<De;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}Y.length+=It&(1<<Y.extra)-1,It>>>=Y.extra,Gt-=Y.extra,Y.back+=Y.extra}Y.was=Y.length,Y.mode=ge;case ge:for(;!(At=Y.distcode[It&(1<<Y.distbits)-1],Jt=At>>>24,br=At>>>16&255,Lr=At&65535,Jt<=Gt);){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}if((br&240)===0){for(Zr=Jt,In=br,Gr=Lr;!(At=Y.distcode[Gr+((It&(1<<Zr+In)-1)>>Zr)],Jt=At>>>24,br=At>>>16&255,Lr=At&65535,Zr+Jt<=Gt);){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}It>>>=Zr,Gt-=Zr,Y.back+=Zr}if(It>>>=Jt,Gt-=Jt,Y.back+=Jt,br&64){Ge.msg="invalid distance code",Y.mode=pe;break}Y.offset=Lr,Y.extra=br&15,Y.mode=he;case he:if(Y.extra){for(De=Y.extra;Gt<De;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}Y.offset+=It&(1<<Y.extra)-1,It>>>=Y.extra,Gt-=Y.extra,Y.back+=Y.extra}if(Y.offset>Y.dmax){Ge.msg="invalid distance too far back",Y.mode=pe;break}Y.mode=Ie;case Ie:if(rt===0)break e;if(Rr=pr-rt,Y.offset>Rr){if(Rr=Y.offset-Rr,Rr>Y.whave&&Y.sane){Ge.msg="invalid distance too far back",Y.mode=pe;break}Rr>Y.wnext?(Rr-=Y.wnext,xt=Y.wsize-Rr):xt=Y.wnext-Rr,Rr>Y.length&&(Rr=Y.length),Ot=Y.window}else Ot=Ce,xt=ot-Y.offset,Rr=Y.length;Rr>rt&&(Rr=rt),rt-=Rr,Y.length-=Rr;do Ce[ot++]=Ot[xt++];while(--Rr);Y.length===0&&(Y.mode=se);break;case Se:if(rt===0)break e;Ce[ot++]=Y.length,rt--,Y.mode=se;break;case Le:if(Y.wrap){for(;Gt<32;){if(wt===0)break e;wt--,It|=we[le++]<<Gt,Gt+=8}if(pr-=rt,Ge.total_out+=pr,Y.total+=pr,pr&&(Ge.adler=Y.check=Y.flags?(0,m.default)(Y.check,Ce,pr,ot-pr):(0,b.default)(Y.check,Ce,pr,ot-pr)),pr=rt,(Y.flags?It:ne(It))!==Y.check){Ge.msg="incorrect data check",Y.mode=pe;break}It=0,Gt=0}Y.mode=He;case He:if(Y.wrap&&Y.flags){for(;Gt<32;){if(wt===0)break e;wt--,It+=we[le++]<<Gt,Gt+=8}if(It!==(Y.total&4294967295)){Ge.msg="incorrect length check",Y.mode=pe;break}It=0,Gt=0}Y.mode=G;case G:fr=c;break e;case pe:fr=g;break e;case We:return S;case te:default:return f}return Ge.next_out=ot,Ge.avail_out=rt,Ge.next_in=le,Ge.avail_in=wt,Y.hold=It,Y.bits=Gt,(Y.wsize||pr!==Ge.avail_out&&Y.mode<pe&&(Y.mode<Le||ie!==n))&&Qe(Ge,Ge.output,Ge.next_out,pr-Ge.avail_out)?(Y.mode=We,S):(lr-=Ge.avail_in,pr-=Ge.avail_out,Ge.total_in+=lr,Ge.total_out+=pr,Y.total+=pr,Y.wrap&&pr&&(Ge.adler=Y.check=Y.flags?(0,m.default)(Y.check,Ce,pr,Ge.next_out-pr):(0,b.default)(Y.check,Ce,pr,Ge.next_out-pr)),Ge.data_type=Y.bits+(Y.last?64:0)+(Y.mode===R?128:0)+(Y.mode===ae||Y.mode===K?256:0),(lr===0&&pr===0||ie===n)&&fr===a&&(fr=y),fr)}function bt(Ge){if(!Ge||!Ge.state)return f;var ie=Ge.state;return ie.window&&(ie.window=null),Ge.state=null,a}function Tt(Ge,ie){var Y;return!Ge||!Ge.state?f:(Y=Ge.state,(Y.wrap&2)===0?f:(Y.head=ie,ie.done=!1,a))}function Ct(Ge,ie){var Y=ie.length,we,Ce,le;return!Ge||!Ge.state?f:(we=Ge.state,we.wrap!==0&&we.mode!==W?f:we.mode===W&&(Ce=1,Ce=(0,b.default)(Ce,ie,Y,0),Ce!==we.check)?g:(le=Qe(Ge,ie,Y,Y),le?(we.mode=We,S):(we.havedict=1,a)))}var Nt="pako inflate (from Nodeca project)";P.inflateInfo=Nt},ePAk:function(M,P,d){var w=d("ProS");d("2fGM");var A=w.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(b){var m,v=this.ecModel;return v.eachComponent(b,function(p){p.getCoordSysModel()===this&&(m=p)},this),m},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});M.exports=A},eRkO:function(M,P,d){var w=d("+TT/"),A=w.getLayoutRect,b=w.box,m=w.positionElement,v=d("7aKB"),p=d("IwbS");function s(o,e,r){var i=e.getBoxLayoutParams(),n=e.get("padding"),l={width:r.getWidth(),height:r.getHeight()},t=A(i,l,n);b(e.get("orient"),o,e.get("itemGap"),t.width,t.height),m(o,i,l,n)}function u(o,e){var r=v.normalizeCssArray(e.get("padding")),i=e.getItemStyle(["color","opacity"]);i.fill=e.get("backgroundColor");var o=new p.Rect({shape:{x:o.x-r[3],y:o.y-r[0],width:o.width+r[1]+r[3],height:o.height+r[0]+r[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1});return o}P.layout=s,P.makeBackground=u},eS4l:function(M,P,d){d("HM/N"),d("FNN5")},eUgh:function(M,P){function d(w,A){for(var b=-1,m=w==null?0:w.length,v=Array(m);++b<m;)v[b]=A(w[b],b,w);return v}M.exports=d},ec8c:function(M,P,d){"use strict";d.d(P,"b",function(){return w}),d.d(P,"a",function(){return A});function w(b){return b!=null&&b===b.window}function A(b,m){var v;if(typeof window=="undefined")return 0;var p=m?"scrollTop":"scrollLeft",s=0;return w(b)?s=b[m?"pageYOffset":"pageXOffset"]:b instanceof Document?s=b.documentElement[p]:b&&(s=b[p]),b&&!w(b)&&typeof s!="number"&&(s=(v=(b.ownerDocument||b).documentElement)===null||v===void 0?void 0:v[p]),s}},ecKF:function(M,P,d){},egiQ:function(M,P,d){"use strict";d.d(P,"a",function(){return m});var w=d("wgJM"),A=d("ec8c");function b(v,p,s,u){var o=s-p;return v/=u/2,v<1?o/2*v*v*v+p:o/2*((v-=2)*v*v+2)+p}function m(v){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=p.getContainer,u=s===void 0?function(){return window}:s,o=p.callback,e=p.duration,r=e===void 0?450:e,i=u(),n=Object(A.a)(i,!0),l=Date.now(),t=function a(){var c=Date.now(),h=c-l,f=b(h>r?r:h,n,v,r);Object(A.b)(i)?i.scrollTo(window.pageXOffset,f):i instanceof HTMLDocument||i.constructor.name==="HTMLDocument"?i.documentElement.scrollTop=f:i.scrollTop=f,h<r?Object(w.a)(a):typeof o=="function"&&o()};Object(w.a)(t)}},ewwo:function(M,P,d){var w=d("bMXI"),A=d("+TT/"),b=A.getLayoutRect,m=d("4mN7");function v(s,u,o){var e=s.getBoxLayoutParams();return e.aspect=o,b(e,{width:u.getWidth(),height:u.getHeight()})}function p(s,u){var o=[];return s.eachSeriesByType("graph",function(e){var r=e.get("coordinateSystem");if(!r||r==="view"){var i=e.getData(),n=i.mapArray(function(E){var C=i.getItemModel(E);return[+C.get("x"),+C.get("y")]}),l=[],t=[];m.fromPoints(n,l,t),t[0]-l[0]===0&&(t[0]+=1,l[0]-=1),t[1]-l[1]===0&&(t[1]+=1,l[1]-=1);var a=(t[0]-l[0])/(t[1]-l[1]),c=v(e,u,a);isNaN(a)&&(l=[c.x,c.y],t=[c.x+c.width,c.y+c.height]);var h=t[0]-l[0],f=t[1]-l[1],g=c.width,S=c.height,y=e.coordinateSystem=new w;y.zoomLimit=e.get("scaleLimit"),y.setBoundingRect(l[0],l[1],h,f),y.setViewRect(c.x,c.y,g,S),y.setCenter(e.get("center")),y.setZoom(e.get("zoom")),o.push(y)}}),o}M.exports=p},"f+4T":function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("JNlW"),m=d.n(b)},f1nB:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),m=d("bYtY"),v=d("4NO4"),p=d("IwbS"),s=d("+TT/"),u=d("OELB"),o=u.parsePercent,e={path:null,compoundPath:null,group:p.Group,image:p.Image,text:p.Text};b.registerPreprocessor(function(g){var S=g.graphic;m.isArray(S)?!S[0]||!S[0].elements?g.graphic=[{elements:S}]:g.graphic=[g.graphic[0]]:S&&!S.elements&&(g.graphic=[{elements:[S]}])});var r=b.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(g){var S=this.option.elements;this.option.elements=null,r.superApply(this,"mergeOption",arguments),this.option.elements=S},optionUpdated:function(g,S){var y=this.option,E=(S?y:g).elements,C=y.elements=S?[]:y.elements,T=[];this._flatten(E,T);var x=v.mappingToExists(C,T);v.makeIdAndName(x);var _=this._elOptionsToUpdate=[];m.each(x,function(L,D){var B=L.option;if(!B)return;_.push(B),a(L,B),c(C,D,B),h(C[D],B)},this);for(var I=C.length-1;I>=0;I--)C[I]==null?C.splice(I,1):delete C[I].$action},_flatten:function(g,S,y){m.each(g,function(E){if(!E)return;y&&(E.parentOption=y),S.push(E);var C=E.children;E.type==="group"&&C&&this._flatten(C,S,E),delete E.children},this)},useElOptionsToUpdate:function(){var g=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,g}});b.extendComponentView({type:"graphic",init:function(g,S){this._elMap=m.createHashMap(),this._lastGraphicModel},render:function(g,S,y){g!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=g,this._updateElements(g),this._relocate(g,y)},_updateElements:function(g){var S=g.useElOptionsToUpdate();if(!S)return;var y=this._elMap,E=this.group;m.each(S,function(C){var T=C.$action,x=C.id,_=y.get(x),I=C.parentId,L=I!=null?y.get(I):E,D=C.style;C.type==="text"&&D&&(C.hv&&C.hv[1]&&(D.textVerticalAlign=D.textBaseline=null),!D.hasOwnProperty("textFill")&&D.fill&&(D.textFill=D.fill),!D.hasOwnProperty("textStroke")&&D.stroke&&(D.textStroke=D.stroke));var B=l(C);!T||T==="merge"?_?_.attr(B):i(x,L,B,y):T==="replace"?(n(_,y),i(x,L,B,y)):T==="remove"&&n(_,y);var N=y.get(x);N&&(N.__ecGraphicWidthOption=C.width,N.__ecGraphicHeightOption=C.height,f(N,g,C))})},_relocate:function(g,S){for(var y=g.option.elements,E=this.group,C=this._elMap,T=S.getWidth(),x=S.getHeight(),_=0;_<y.length;_++){var I=y[_],L=C.get(I.id);if(!L||!L.isGroup)continue;var D=L.parent,B=D===E;L.__ecGraphicWidth=o(L.__ecGraphicWidthOption,B?T:D.__ecGraphicWidth)||0,L.__ecGraphicHeight=o(L.__ecGraphicHeightOption,B?x:D.__ecGraphicHeight)||0}for(var _=y.length-1;_>=0;_--){var I=y[_],L=C.get(I.id);if(!L)continue;var D=L.parent,N=D===E?{width:T,height:x}:{width:D.__ecGraphicWidth,height:D.__ecGraphicHeight};s.positionElement(L,I,N,null,{hv:I.hv,boundingMode:I.bounding})}},_clear:function(){var g=this._elMap;g.each(function(S){n(S,g)}),this._elMap=m.createHashMap()},dispose:function(){this._clear()}});function i(g,S,y,E){var C=y.type,T=e.hasOwnProperty(C)?e[C]:p.getShapeClass(C),x=new T(y);S.add(x),E.set(g,x),x.__ecGraphicId=g}function n(g,S){var y=g&&g.parent;y&&(g.type==="group"&&g.traverse(function(E){n(E,S)}),S.removeKey(g.__ecGraphicId),y.remove(g))}function l(g){return g=m.extend({},g),m.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),function(S){delete g[S]}),g}function t(g,S){var y;return m.each(S,function(E){g[E]!=null&&g[E]!=="auto"&&(y=!0)}),y}function a(g,S){var y=g.exist;if(S.id=g.keyInfo.id,!S.type&&y&&(S.type=y.type),S.parentId==null){var E=S.parentOption;E?S.parentId=E.id:y&&(S.parentId=y.parentId)}S.parentOption=null}function c(g,S,y){var E=m.extend({},y),C=g[S],T=y.$action||"merge";T==="merge"?C?(m.merge(C,E,!0),s.mergeLayoutParam(C,E,{ignoreSize:!0}),s.copyLayoutParams(y,C)):g[S]=E:T==="replace"?g[S]=E:T==="remove"&&(C&&(g[S]=null))}function h(g,S){if(!g)return;g.hv=S.hv=[t(S,["left","right"]),t(S,["top","bottom"])],g.type==="group"&&(g.width==null&&(g.width=S.width=0),g.height==null&&(g.height=S.height=0))}function f(g,S,y){var E=g.eventData;!g.silent&&!g.ignore&&!E&&(E=g.eventData={componentType:"graphic",componentIndex:S.componentIndex,name:g.name}),E&&(E.info=g.info)}},f3JH:function(M,P,d){d("aTJb"),d("OlYY"),d("fc+c"),d("oY9F"),d("MqEG"),d("LBfv"),d("noeP")},f5HG:function(M,P,d){var w=d("IwbS"),A=d("QBsz"),b=w.Line.prototype,m=w.BezierCurve.prototype;function v(s){return isNaN(+s.cpx1)||isNaN(+s.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(s,u){this[v(u)?"_buildPathLine":"_buildPathCurve"](s,u)},_buildPathLine:b.buildPath,_buildPathCurve:m.buildPath,pointAt:function(s){return this[v(this.shape)?"_pointAtLine":"_pointAtCurve"](s)},_pointAtLine:b.pointAt,_pointAtCurve:m.pointAt,tangentAt:function(s){var u=this.shape,o=v(u)?[u.x2-u.x1,u.y2-u.y1]:this._tangentAtCurve(s);return A.normalize(o,o)},_tangentAtCurve:m.tangentAt});M.exports=p},f5Yq:function(M,P,d){var w=d("bYtY"),A=w.isFunction;function b(m,v,p){return{seriesType:m,performRawSeries:!0,reset:function(s,u,o){var e=s.getData(),r=s.get("symbol"),i=s.get("symbolSize"),n=s.get("symbolKeepAspect"),l=s.get("symbolRotate"),t=A(r),a=A(i),c=A(l),h=t||a||c,f=!t&&r?r:v,g=a?null:i,S=c?null:S;if(e.setVisual({legendSymbol:p||f,symbol:f,symbolSize:g,symbolKeepAspect:n,symbolRotate:l}),u.isSeriesFiltered(s))return;function y(E,C){if(h){var T=s.getRawValue(C),x=s.getDataParams(C);t&&E.setItemVisual(C,"symbol",r(T,x)),a&&E.setItemVisual(C,"symbolSize",i(T,x)),c&&E.setItemVisual(C,"symbolRotate",l(T,x))}if(E.hasItemOption){var _=E.getItemModel(C),I=_.getShallow("symbol",!0),L=_.getShallow("symbolSize",!0),D=_.getShallow("symbolRotate",!0),B=_.getShallow("symbolKeepAspect",!0);I!=null&&E.setItemVisual(C,"symbol",I),L!=null&&E.setItemVisual(C,"symbolSize",L),D!=null&&E.setItemVisual(C,"symbolRotate",D),B!=null&&E.setItemVisual(C,"symbolKeepAspect",B)}}return{dataEach:e.hasItemOption||h?y:null}}}}M.exports=b},fAei:function(M,P,d){"use strict";d.d(P,"a",function(){return y.a});var w=d("wx14"),A=d("rePB"),b=d("VTBJ"),m=d("KQm4"),v=d("1OyB"),p=d("vuIU"),s=d("JX7q"),u=d("Ji7U"),o=d("LK+K"),e=d("q1tI"),r=d("4IlW"),i=d("Kwbf"),n=d("TSYQ"),l=d.n(n),t=d("sboe"),a=d("OZM5"),c=d("815F"),h=d("ODXe"),f=d("Ff2n"),g=d("+nKL"),S=d("8XRh"),y=d("WaYH"),E=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],C=["key"],T=function(Le,He){var G=Le.className,pe=Le.style,We=Le.motion,te=Le.motionNodes,X=Le.motionType,z=Le.onMotionStart,Z=Le.onMotionEnd,be=Le.active,ne=Le.treeNodeRequiredProps,Ae=Object(f.a)(Le,E),Ne=e.useState(!0),oe=Object(h.a)(Ne,2),de=oe[0],xe=oe[1],Pe=e.useContext(t.a),tt=Pe.prefixCls,Je=e.useRef(!1),Oe=function(){Je.current||Z(),Je.current=!0};return Object(e.useEffect)(function(){te&&X==="hide"&&de&&xe(!1)},[te]),Object(e.useEffect)(function(){return te&&z(),function(){te&&Oe()}},[]),te?e.createElement(S.default,Object(w.a)({ref:He,visible:de},We,{motionAppear:X==="show",onAppearEnd:Oe,onLeaveEnd:Oe}),function(pt,Qe){var nt=pt.className,bt=pt.style;return e.createElement("div",{ref:Qe,className:l()("".concat(tt,"-treenode-motion"),nt),style:bt},te.map(function(Tt){var Ct=Tt.data,Nt=Ct.key,Ge=Object(f.a)(Ct,C),ie=Tt.isStart,Y=Tt.isEnd;delete Ge.children;var we=Object(c.f)(Nt,ne);return e.createElement(y.a,Object(w.a)({},Ge,we,{active:be,data:Tt.data,key:Nt,isStart:ie,isEnd:Y}))}))}):e.createElement(y.a,Object(w.a)({domRef:He,className:G,style:pe},Ae,{active:be}))};T.displayName="MotionTreeNode";var x=e.forwardRef(T),_=x;function I(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],He=Se.length,G=Le.length;if(Math.abs(He-G)!==1)return{add:!1,key:null};function pe(We,te){var X=new Map;We.forEach(function(Z){X.set(Z,!0)});var z=te.filter(function(Z){return!X.has(Z)});return z.length===1?z[0]:null}return He<G?{add:!0,key:pe(Se,Le)}:{add:!1,key:pe(Le,Se)}}function L(Se,Le,He){var G=Se.findIndex(function(X){var z=X.data;return z.key===He}),pe=Se[G+1],We=Le.findIndex(function(X){var z=X.data;return z.key===He});if(pe){var te=Le.findIndex(function(X){var z=X.data;return z.key===pe.data.key});return Le.slice(We+1,te)}return Le.slice(We+1)}var D=["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"],B=["key"],N={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},k=function(){},W="RC_TREE_MOTION_".concat(Math.random()),R={key:W},j={key:W,level:0,index:0,pos:"0",node:R},H={parent:null,children:[],pos:j.pos,data:R,isStart:[],isEnd:[]};function K(Se,Le,He,G){return Le===!1||!He?Se:Se.slice(0,Math.ceil(He/G)+1)}function U(Se){var Le=Se.data.key,He=Se.pos;return Object(c.e)(Le,He)}function Q(Se){for(var Le=String(Se.data.key),He=Se;He.parent;)He=He.parent,Le="".concat(He.data.key," > ").concat(Le);return Le}var V=function(Le,He){var G=Le.prefixCls,pe=Le.data,We=Le.selectable,te=Le.checkable,X=Le.expandedKeys,z=Le.selectedKeys,Z=Le.checkedKeys,be=Le.loadedKeys,ne=Le.loadingKeys,Ae=Le.halfCheckedKeys,Ne=Le.keyEntities,oe=Le.disabled,de=Le.dragging,xe=Le.dragOverNodeKey,Pe=Le.dropPosition,tt=Le.motion,Je=Le.height,Oe=Le.itemHeight,pt=Le.virtual,Qe=Le.focusable,nt=Le.activeItem,bt=Le.focused,Tt=Le.tabIndex,Ct=Le.onKeyDown,Nt=Le.onFocus,Ge=Le.onBlur,ie=Le.onActiveChange,Y=Le.onListChangeStart,we=Le.onListChangeEnd,Ce=Object(f.a)(Le,D),le=e.useRef(null),ot=e.useRef(null);e.useImperativeHandle(He,function(){return{scrollTo:function(kt){le.current.scrollTo(kt)},getIndentWidth:function(){return ot.current.offsetWidth}}});var wt=e.useState(X),rt=Object(h.a)(wt,2),It=rt[0],Gt=rt[1],lr=e.useState(pe),pr=Object(h.a)(lr,2),Rr=pr[0],xt=pr[1],Ot=e.useState(pe),At=Object(h.a)(Ot,2),Jt=At[0],br=At[1],Lr=e.useState([]),Zr=Object(h.a)(Lr,2),In=Zr[0],Gr=Zr[1],Tr=e.useState(null),fr=Object(h.a)(Tr,2),vt=fr[0],ft=fr[1];function De(){xt(pe),br(pe),Gr([]),ft(null),we()}e.useEffect(function(){Gt(X);var st=I(It,X);if(st.key!==null)if(st.add){var kt=Rr.findIndex(function(St){var Mt=St.data.key;return Mt===st.key}),$t=K(L(Rr,pe,st.key),pt,Je,Oe),Nr=Rr.slice();Nr.splice(kt+1,0,H),br(Nr),Gr($t),ft("show")}else{var yn=pe.findIndex(function(St){var Mt=St.data.key;return Mt===st.key}),un=K(L(pe,Rr,st.key),pt,Je,Oe),Kt=pe.slice();Kt.splice(yn+1,0,H),br(Kt),Gr(un),ft("hide")}else Rr!==pe&&(xt(pe),br(pe))},[X,pe]),e.useEffect(function(){de||De()},[de]);var je=tt?Jt:pe,Ye={expandedKeys:X,selectedKeys:z,loadedKeys:be,loadingKeys:ne,checkedKeys:Z,halfCheckedKeys:Ae,dragOverNodeKey:xe,dropPosition:Pe,keyEntities:Ne};return e.createElement(e.Fragment,null,bt&&nt&&e.createElement("span",{style:N,"aria-live":"assertive"},Q(nt)),e.createElement("div",{role:"tree"},e.createElement("input",{style:N,disabled:Qe===!1||oe,tabIndex:Qe!==!1?Tt:null,onKeyDown:Ct,onFocus:Nt,onBlur:Ge,value:"",onChange:k})),e.createElement("div",{className:"".concat(G,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},e.createElement("div",{className:"".concat(G,"-indent")},e.createElement("div",{ref:ot,className:"".concat(G,"-indent-unit")}))),e.createElement(g.a,Object(w.a)({},Ce,{data:je,itemKey:U,height:Je,fullHeight:!1,virtual:pt,itemHeight:Oe,prefixCls:"".concat(G,"-list"),ref:le}),function(st){var kt=st.pos,$t=st.data,Nr=$t.key,yn=Object(f.a)($t,B),un=st.isStart,Kt=st.isEnd,St=Object(c.e)(Nr,kt);delete yn.children;var Mt=Object(c.f)(St,Ye);return e.createElement(_,Object(w.a)({},yn,Mt,{active:!!nt&&Nr===nt.data.key,pos:kt,data:st.data,isStart:un,isEnd:Kt,motion:tt,motionNodes:Nr===W?In:null,motionType:vt,onMotionStart:Y,onMotionEnd:De,treeNodeRequiredProps:Ye,onMouseMove:function(){ie(null)}}))}))},J=e.forwardRef(V);J.displayName="NodeList";var ae=J,se=d("NvD2");function $(Se){var Le=Se.dropPosition,He=Se.dropLevelOffset,G=Se.indent,pe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Le){case-1:pe.top=0,pe.left=-He*G;break;case 1:pe.bottom=0,pe.left=-He*G;break;case 0:pe.bottom=0,pe.left=G;break}return e.createElement("div",{style:pe})}var ge=function(Se){Object(u.a)(He,Se);var Le=Object(o.a)(He);function He(){var G;Object(v.a)(this,He);for(var pe=arguments.length,We=new Array(pe),te=0;te<pe;te++)We[te]=arguments[te];return G=Le.call.apply(Le,[this].concat(We)),G.destroyed=!1,G.delayedDragEnterLogic=void 0,G.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},G.dragStartMousePosition=null,G.dragNode=void 0,G.listRef=e.createRef(),G.onNodeDragStart=function(X,z){var Z=G.state,be=Z.expandedKeys,ne=Z.keyEntities,Ae=G.props.onDragStart,Ne=z.props.eventKey;G.dragNode=z,G.dragStartMousePosition={x:X.clientX,y:X.clientY};var oe=Object(a.b)(be,Ne);G.setState({dragging:!0,dragChildrenKeys:Object(a.g)(Ne,ne),indent:G.listRef.current.getIndentWidth()}),G.setExpandedKeys(oe),window.addEventListener("dragend",G.onWindowDragEnd),Ae&&Ae({event:X,node:Object(c.b)(z.props)})},G.onNodeDragEnter=function(X,z){var Z=G.state,be=Z.expandedKeys,ne=Z.keyEntities,Ae=Z.dragChildrenKeys,Ne=Z.flattenNodes,oe=Z.indent,de=G.props,xe=de.onDragEnter,Pe=de.onExpand,tt=de.allowDrop,Je=de.direction,Oe=z.props.pos,pt=Object(s.a)(G),Qe=pt.dragNode,nt=Object(a.c)(X,Qe,z,oe,G.dragStartMousePosition,tt,Ne,ne,be,Je),bt=nt.dropPosition,Tt=nt.dropLevelOffset,Ct=nt.dropTargetKey,Nt=nt.dropContainerKey,Ge=nt.dropTargetPos,ie=nt.dropAllowed,Y=nt.dragOverNodeKey;if(!Qe||Ae.indexOf(Ct)!==-1||!ie){G.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1});return}if(G.delayedDragEnterLogic||(G.delayedDragEnterLogic={}),Object.keys(G.delayedDragEnterLogic).forEach(function(we){clearTimeout(G.delayedDragEnterLogic[we])}),Qe.props.eventKey!==z.props.eventKey&&(X.persist(),G.delayedDragEnterLogic[Oe]=window.setTimeout(function(){if(!G.state.dragging)return;var we=Object(m.a)(be),Ce=ne[z.props.eventKey];Ce&&(Ce.children||[]).length&&(we=Object(a.a)(be,z.props.eventKey)),"expandedKeys"in G.props||G.setExpandedKeys(we),Pe&&Pe(we,{node:Object(c.b)(z.props),expanded:!0,nativeEvent:X.nativeEvent})},800)),Qe.props.eventKey===Ct&&Tt===0){G.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1});return}G.setState({dragOverNodeKey:Y,dropPosition:bt,dropLevelOffset:Tt,dropTargetKey:Ct,dropContainerKey:Nt,dropTargetPos:Ge,dropAllowed:ie}),xe&&xe({event:X,node:Object(c.b)(z.props),expandedKeys:be})},G.onNodeDragOver=function(X,z){var Z=G.state,be=Z.dragChildrenKeys,ne=Z.flattenNodes,Ae=Z.keyEntities,Ne=Z.expandedKeys,oe=Z.indent,de=G.props,xe=de.onDragOver,Pe=de.allowDrop,tt=de.direction,Je=Object(s.a)(G),Oe=Je.dragNode,pt=Object(a.c)(X,Oe,z,oe,G.dragStartMousePosition,Pe,ne,Ae,Ne,tt),Qe=pt.dropPosition,nt=pt.dropLevelOffset,bt=pt.dropTargetKey,Tt=pt.dropContainerKey,Ct=pt.dropAllowed,Nt=pt.dropTargetPos,Ge=pt.dragOverNodeKey;if(!Oe||be.indexOf(bt)!==-1||!Ct)return;Oe.props.eventKey===bt&&nt===0?G.state.dropPosition===null&&G.state.dropLevelOffset===null&&G.state.dropTargetKey===null&&G.state.dropContainerKey===null&&G.state.dropTargetPos===null&&G.state.dropAllowed===!1&&G.state.dragOverNodeKey===null||G.setState({dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1,dragOverNodeKey:null}):Qe===G.state.dropPosition&&nt===G.state.dropLevelOffset&&bt===G.state.dropTargetKey&&Tt===G.state.dropContainerKey&&Nt===G.state.dropTargetPos&&Ct===G.state.dropAllowed&&Ge===G.state.dragOverNodeKey||G.setState({dropPosition:Qe,dropLevelOffset:nt,dropTargetKey:bt,dropContainerKey:Tt,dropTargetPos:Nt,dropAllowed:Ct,dragOverNodeKey:Ge}),xe&&xe({event:X,node:Object(c.b)(z.props)})},G.onNodeDragLeave=function(X,z){var Z=G.props.onDragLeave;Z&&Z({event:X,node:Object(c.b)(z.props)})},G.onWindowDragEnd=function(X){G.onNodeDragEnd(X,null,!0),window.removeEventListener("dragend",G.onWindowDragEnd)},G.onNodeDragEnd=function(X,z){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,be=G.props.onDragEnd;G.setState({dragOverNodeKey:null}),G.cleanDragState(),be&&!Z&&be({event:X,node:Object(c.b)(z.props)}),G.dragNode=null},G.onNodeDrop=function(X,z){var Z,be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ne=G.state,Ae=ne.dragChildrenKeys,Ne=ne.dropPosition,oe=ne.dropTargetKey,de=ne.dropTargetPos,xe=ne.dropAllowed;if(!xe)return;var Pe=G.props.onDrop;if(G.setState({dragOverNodeKey:null}),G.cleanDragState(),oe===null)return;var tt=Object(b.a)(Object(b.a)({},Object(c.f)(oe,G.getTreeNodeRequiredProps())),{},{active:((Z=G.getActiveItem())===null||Z===void 0?void 0:Z.data.key)===oe,data:G.state.keyEntities[oe].node}),Je=Ae.indexOf(oe)!==-1;Object(i.a)(!Je,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Oe=Object(a.k)(de),pt={event:X,node:Object(c.b)(tt),dragNode:G.dragNode?Object(c.b)(G.dragNode.props):null,dragNodesKeys:[G.dragNode.props.eventKey].concat(Ae),dropToGap:Ne!==0,dropPosition:Ne+Number(Oe[Oe.length-1])};Pe&&!be&&Pe(pt),G.dragNode=null},G.cleanDragState=function(){var X=G.state.dragging;X&&G.setState({dragging:!1,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),G.dragStartMousePosition=null},G.onNodeClick=function(X,z){var Z=G.props.onClick;Z&&Z(X,z)},G.onNodeDoubleClick=function(X,z){var Z=G.props.onDoubleClick;Z&&Z(X,z)},G.onNodeSelect=function(X,z){var Z=G.state.selectedKeys,be=G.state.keyEntities,ne=G.props,Ae=ne.onSelect,Ne=ne.multiple,oe=z.selected,de=z.key,xe=!oe;xe?Ne?Z=Object(a.a)(Z,de):Z=[de]:Z=Object(a.b)(Z,de);var Pe=Z.map(function(tt){var Je=be[tt];return Je?Je.node:null}).filter(function(tt){return tt});G.setUncontrolledState({selectedKeys:Z}),Ae&&Ae(Z,{event:"select",selected:xe,node:z,selectedNodes:Pe,nativeEvent:X.nativeEvent})},G.onNodeCheck=function(X,z,Z){var be=G.state,ne=be.keyEntities,Ae=be.checkedKeys,Ne=be.halfCheckedKeys,oe=G.props,de=oe.checkStrictly,xe=oe.onCheck,Pe=z.key,tt,Je={event:"check",node:z,checked:Z,nativeEvent:X.nativeEvent};if(de){var Oe=Z?Object(a.a)(Ae,Pe):Object(a.b)(Ae,Pe),pt=Object(a.b)(Ne,Pe);tt={checked:Oe,halfChecked:pt},Je.checkedNodes=Oe.map(function(Nt){return ne[Nt]}).filter(function(Nt){return Nt}).map(function(Nt){return Nt.node}),G.setUncontrolledState({checkedKeys:Oe})}else{var Qe=Object(se.a)([].concat(Object(m.a)(Ae),[Pe]),!0,ne),nt=Qe.checkedKeys,bt=Qe.halfCheckedKeys;if(!Z){var Tt=new Set(nt);Tt.delete(Pe);var Ct=Object(se.a)(Array.from(Tt),{checked:!1,halfCheckedKeys:bt},ne);nt=Ct.checkedKeys,bt=Ct.halfCheckedKeys}tt=nt,Je.checkedNodes=[],Je.checkedNodesPositions=[],Je.halfCheckedKeys=bt,nt.forEach(function(Nt){var Ge=ne[Nt];if(!Ge)return;var ie=Ge.node,Y=Ge.pos;Je.checkedNodes.push(ie),Je.checkedNodesPositions.push({node:ie,pos:Y})}),G.setUncontrolledState({checkedKeys:nt},!1,{halfCheckedKeys:bt})}xe&&xe(tt,Je)},G.onNodeLoad=function(X){return new Promise(function(z,Z){G.setState(function(be){var ne=be.loadedKeys,Ae=ne===void 0?[]:ne,Ne=be.loadingKeys,oe=Ne===void 0?[]:Ne,de=G.props,xe=de.loadData,Pe=de.onLoad,tt=X.key;if(!xe||Ae.indexOf(tt)!==-1||oe.indexOf(tt)!==-1)return null;var Je=xe(X);return Je.then(function(){var Oe=G.state,pt=Oe.loadedKeys,Qe=Oe.loadingKeys,nt=Object(a.a)(pt,tt),bt=Object(a.b)(Qe,tt);Pe&&Pe(nt,{event:"load",node:X}),G.setUncontrolledState({loadedKeys:nt}),G.setState({loadingKeys:bt}),z()}).catch(function(Oe){var pt=G.state.loadingKeys,Qe=Object(a.b)(pt,tt);G.setState({loadingKeys:Qe}),Z(Oe)}),{loadingKeys:Object(a.a)(oe,tt)}})})},G.onNodeMouseEnter=function(X,z){var Z=G.props.onMouseEnter;Z&&Z({event:X,node:z})},G.onNodeMouseLeave=function(X,z){var Z=G.props.onMouseLeave;Z&&Z({event:X,node:z})},G.onNodeContextMenu=function(X,z){var Z=G.props.onRightClick;Z&&(X.preventDefault(),Z({event:X,node:z}))},G.onFocus=function(){var X=G.props.onFocus;G.setState({focused:!0}),X&&X.apply(void 0,arguments)},G.onBlur=function(){var X=G.props.onBlur;G.setState({focused:!1}),G.onActiveChange(null),X&&X.apply(void 0,arguments)},G.getTreeNodeRequiredProps=function(){var X=G.state,z=X.expandedKeys,Z=X.selectedKeys,be=X.loadedKeys,ne=X.loadingKeys,Ae=X.checkedKeys,Ne=X.halfCheckedKeys,oe=X.dragOverNodeKey,de=X.dropPosition,xe=X.keyEntities;return{expandedKeys:z||[],selectedKeys:Z||[],loadedKeys:be||[],loadingKeys:ne||[],checkedKeys:Ae||[],halfCheckedKeys:Ne||[],dragOverNodeKey:oe,dropPosition:de,keyEntities:xe}},G.setExpandedKeys=function(X){var z=G.state.treeData,Z=Object(c.d)(z,X);G.setUncontrolledState({expandedKeys:X,flattenNodes:Z},!0)},G.onNodeExpand=function(X,z){var Z=G.state.expandedKeys,be=G.state.listChanging,ne=G.props,Ae=ne.onExpand,Ne=ne.loadData,oe=z.key,de=z.expanded;if(be)return;var xe=Z.indexOf(oe),Pe=!de;if(Object(i.a)(de&&xe!==-1||!de&&xe===-1,"Expand state not sync with index check"),Pe?Z=Object(a.a)(Z,oe):Z=Object(a.b)(Z,oe),G.setExpandedKeys(Z),Ae&&Ae(Z,{node:z,expanded:Pe,nativeEvent:X.nativeEvent}),Pe&&Ne){var tt=G.onNodeLoad(z);tt&&tt.then(function(){var Je=Object(c.d)(G.state.treeData,Z);G.setUncontrolledState({flattenNodes:Je})}).catch(function(){var Je=G.state.expandedKeys,Oe=Object(a.b)(Je,oe);G.setExpandedKeys(Oe)})}},G.onListChangeStart=function(){G.setUncontrolledState({listChanging:!0})},G.onListChangeEnd=function(){setTimeout(function(){G.setUncontrolledState({listChanging:!1})})},G.onActiveChange=function(X){var z=G.state.activeKey,Z=G.props.onActiveChange;if(z===X)return;G.setState({activeKey:X}),X!==null&&G.scrollTo({key:X}),Z&&Z(X)},G.getActiveItem=function(){var X=G.state,z=X.activeKey,Z=X.flattenNodes;return z===null?null:Z.find(function(be){var ne=be.data.key;return ne===z})||null},G.offsetActiveKey=function(X){var z=G.state,Z=z.flattenNodes,be=z.activeKey,ne=Z.findIndex(function(oe){var de=oe.data.key;return de===be});ne===-1&&X<0&&(ne=Z.length),ne=(ne+X+Z.length)%Z.length;var Ae=Z[ne];if(Ae){var Ne=Ae.data.key;G.onActiveChange(Ne)}else G.onActiveChange(null)},G.onKeyDown=function(X){var z=G.state,Z=z.activeKey,be=z.expandedKeys,ne=z.checkedKeys,Ae=G.props,Ne=Ae.onKeyDown,oe=Ae.checkable,de=Ae.selectable;switch(X.which){case r.a.UP:{G.offsetActiveKey(-1),X.preventDefault();break}case r.a.DOWN:{G.offsetActiveKey(1),X.preventDefault();break}}var xe=G.getActiveItem();if(xe&&xe.data){var Pe=G.getTreeNodeRequiredProps(),tt=xe.data.isLeaf===!1||!!(xe.data.children||[]).length,Je=Object(c.b)(Object(b.a)(Object(b.a)({},Object(c.f)(Z,Pe)),{},{data:xe.data,active:!0}));switch(X.which){case r.a.LEFT:{tt&&be.includes(Z)?G.onNodeExpand({},Je):xe.parent&&G.onActiveChange(xe.parent.data.key),X.preventDefault();break}case r.a.RIGHT:{tt&&!be.includes(Z)?G.onNodeExpand({},Je):xe.children&&xe.children.length&&G.onActiveChange(xe.children[0].data.key),X.preventDefault();break}case r.a.ENTER:case r.a.SPACE:{oe&&!Je.disabled&&Je.checkable!==!1&&!Je.disableCheckbox?G.onNodeCheck({},Je,!ne.includes(Z)):!oe&&de&&!Je.disabled&&Je.selectable!==!1&&G.onNodeSelect({},Je);break}}}Ne&&Ne(X)},G.setUncontrolledState=function(X){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(G.destroyed)return;var be=!1,ne=!0,Ae={};Object.keys(X).forEach(function(Ne){if(Ne in G.props){ne=!1;return}be=!0,Ae[Ne]=X[Ne]}),be&&(!z||ne)&&G.setState(Object(b.a)(Object(b.a)({},Ae),Z))},G.scrollTo=function(X){G.listRef.current.scrollTo(X)},G}return Object(p.a)(He,[{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"render",value:function(){var pe,We=this.state,te=We.focused,X=We.flattenNodes,z=We.keyEntities,Z=We.dragging,be=We.activeKey,ne=We.dropLevelOffset,Ae=We.dropContainerKey,Ne=We.dropTargetKey,oe=We.dropPosition,de=We.dragOverNodeKey,xe=We.indent,Pe=this.props,tt=Pe.prefixCls,Je=Pe.className,Oe=Pe.style,pt=Pe.showLine,Qe=Pe.focusable,nt=Pe.tabIndex,bt=nt===void 0?0:nt,Tt=Pe.selectable,Ct=Pe.showIcon,Nt=Pe.icon,Ge=Pe.switcherIcon,ie=Pe.draggable,Y=Pe.checkable,we=Pe.checkStrictly,Ce=Pe.disabled,le=Pe.motion,ot=Pe.loadData,wt=Pe.filterTreeNode,rt=Pe.height,It=Pe.itemHeight,Gt=Pe.virtual,lr=Pe.titleRender,pr=Pe.dropIndicatorRender,Rr=Pe.onContextMenu,xt=Pe.direction,Ot=Object(a.f)(this.props);return e.createElement(t.a.Provider,{value:{prefixCls:tt,selectable:Tt,showIcon:Ct,icon:Nt,switcherIcon:Ge,draggable:ie,checkable:Y,checkStrictly:we,disabled:Ce,keyEntities:z,dropLevelOffset:ne,dropContainerKey:Ae,dropTargetKey:Ne,dropPosition:oe,dragOverNodeKey:de,indent:xe,direction:xt,dropIndicatorRender:pr,loadData:ot,filterTreeNode:wt,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:l()(tt,Je,(pe={},Object(A.a)(pe,"".concat(tt,"-show-line"),pt),Object(A.a)(pe,"".concat(tt,"-focused"),te),Object(A.a)(pe,"".concat(tt,"-active-focused"),be!==null),pe))},e.createElement(ae,Object(w.a)({ref:this.listRef,prefixCls:tt,style:Oe,data:X,disabled:Ce,selectable:Tt,checkable:!!Y,motion:le,dragging:Z,height:rt,itemHeight:It,virtual:Gt,focusable:Qe,focused:te,tabIndex:bt,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(),Ot))))}}],[{key:"getDerivedStateFromProps",value:function(pe,We){var te=We.prevProps,X={prevProps:pe};function z(pt){return!te&&pt in pe||te&&te[pt]!==pe[pt]}var Z;if(z("treeData")?Z=pe.treeData:z("children")&&(Object(i.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Z=Object(c.c)(pe.children)),Z){X.treeData=Z;var be=Object(c.a)(Z);X.keyEntities=Object(b.a)(Object(A.a)({},W,j),be.keyEntities)}var ne=X.keyEntities||We.keyEntities;if(z("expandedKeys")||te&&z("autoExpandParent"))X.expandedKeys=pe.autoExpandParent||!te&&pe.defaultExpandParent?Object(a.e)(pe.expandedKeys,ne):pe.expandedKeys;else if(!te&&pe.defaultExpandAll){var Ae=Object(b.a)({},ne);delete Ae[W],X.expandedKeys=Object.keys(Ae).map(function(pt){return Ae[pt].key})}else!te&&pe.defaultExpandedKeys&&(X.expandedKeys=pe.autoExpandParent||pe.defaultExpandParent?Object(a.e)(pe.defaultExpandedKeys,ne):pe.defaultExpandedKeys);if(X.expandedKeys||delete X.expandedKeys,Z||X.expandedKeys){var Ne=Object(c.d)(Z||We.treeData,X.expandedKeys||We.expandedKeys);X.flattenNodes=Ne}if(pe.selectable&&(z("selectedKeys")?X.selectedKeys=Object(a.d)(pe.selectedKeys,pe):!te&&pe.defaultSelectedKeys&&(X.selectedKeys=Object(a.d)(pe.defaultSelectedKeys,pe))),pe.checkable){var oe;if(z("checkedKeys")?oe=Object(a.j)(pe.checkedKeys)||{}:!te&&pe.defaultCheckedKeys?oe=Object(a.j)(pe.defaultCheckedKeys)||{}:Z&&(oe=Object(a.j)(pe.checkedKeys)||{checkedKeys:We.checkedKeys,halfCheckedKeys:We.halfCheckedKeys}),oe){var de=oe,xe=de.checkedKeys,Pe=xe===void 0?[]:xe,tt=de.halfCheckedKeys,Je=tt===void 0?[]:tt;if(!pe.checkStrictly){var Oe=Object(se.a)(Pe,!0,ne);Pe=Oe.checkedKeys,Je=Oe.halfCheckedKeys}X.checkedKeys=Pe,X.halfCheckedKeys=Je}}return z("loadedKeys")&&(X.loadedKeys=pe.loadedKeys),X}}]),He}(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:$,allowDrop:function(){return!0}},ge.TreeNode=y.a;var he=ge,Ie=P.b=he},fE02:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("/IIm"),m=d("vZ6x"),v=d("b9oc"),p=d("72pK"),s=d("Kagy"),u=d("IUWy");d("3TkU");var o=s.toolbox.dataZoom,e=A.each,r="\0_ec_\0toolbox-dataZoom_";function i(f,g,S){(this._brushController=new b(S.getZr())).on("brush",A.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:A.clone(o.title)};var n=i.prototype;n.render=function(f,g,S,y){this.model=f,this.ecModel=g,this.api=S,c(f,g,this,y,S),a(f,g)},n.onclick=function(f,g,S){l[S].call(this)},n.remove=function(f,g){this._brushController.unmount()},n.dispose=function(f,g){this._brushController.dispose()};var l={zoom:function(){var f=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:f})},back:function(){this._dispatchZoomAction(v.pop(this.ecModel))}};n._onBrush=function(f,g){if(!g.isEnd||!f.length)return;var S={},y=this.ecModel;this._brushController.updateCovers([]);var E=new m(t(this.model.option),y,{include:["grid"]});E.matchOutputRanges(f,y,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,_)}),v.push(y,S),this._dispatchZoomAction(S);function C(x,_,I){var L=_.getAxis(x),D=L.model,B=T(x,D,y),N=B.findRepresentativeAxisProxy(D).getMinMaxSpan();(N.minValueSpan!=null||N.maxValueSpan!=null)&&(I=p(0,I.slice(),L.scale.getExtent(),0,N.minValueSpan,N.maxValueSpan)),B&&(S[B.id]={dataZoomId:B.id,startValue:I[0],endValue:I[1]})}function T(x,_,I){var L;return I.eachComponent({mainType:"dataZoom",subType:"select"},function(D){var B=D.getAxisModel(x,_.componentIndex);B&&(L=D)}),L}},n._dispatchZoomAction=function(f){var g=[];e(f,function(S,y){g.push(A.clone(S))}),g.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:g})};function t(f){var g={};return A.each(["xAxisIndex","yAxisIndex"],function(S){g[S]=f[S],g[S]==null&&(g[S]="all"),(g[S]===!1||g[S]==="none")&&(g[S]=[])}),g}function a(f,g){f.setIconStatus("back",v.count(g)>1?"emphasis":"normal")}function c(f,g,S,y,E){var C=S._isZoomActive;y&&y.type==="takeGlobalCursor"&&(C=y.key==="dataZoomSelect"?y.dataZoomSelectActive:!1),S._isZoomActive=C,f.setIconStatus("zoom",C?"emphasis":"normal");var T=new m(t(f.option),g,{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)}u.register("dataZoom",i),w.registerPreprocessor(function(f){if(!f)return;var g=f.dataZoom||(f.dataZoom=[]);A.isArray(g)||(f.dataZoom=g=[g]);var S=f.toolbox;if(S&&(A.isArray(S)&&(S=S[0]),S&&S.feature)){var y=S.feature.dataZoom;E("xAxis",y),E("yAxis",y)}function E(T,x){if(!x)return;var _=T+"Index",I=x[_];I!=null&&I!=="all"&&!A.isArray(I)&&(I=I===!1||I==="none"?[]:[I]),C(T,function(L,D){if(I!=null&&I!=="all"&&A.indexOf(I,D)===-1)return;var B={type:"select",$fromToolbox:!0,filterMode:x.filterMode||"filter",id:r+T+D};B[_]=D,g.push(B)})}function C(T,x){var _=f[T];A.isArray(_)||(_=_?[_]:[]),e(_,x)}});var h=i;M.exports=h},fKGV:function(M,P,d){"use strict";d.d(P,"a",function(){return b}),d.d(P,"b",function(){return m});var w=d("KQm4"),A=d("wgJM");function b(v){var p,s=function(e){return function(){p=null,v.apply(void 0,Object(w.a)(e))}},u=function(){if(p==null){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];p=Object(A.a)(s(r))}};return u.cancel=function(){return A.a.cancel(p)},u}function m(){return function(p,s,u){var o=u.value,e=!1;return{configurable:!0,get:function(){if(e||this===p.prototype||this.hasOwnProperty(s))return o;var i=b(o.bind(this));return e=!0,Object.defineProperty(this,s,{value:i,configurable:!0,writable:!0}),e=!1,i}}}}},fW2E:function(M,P){var d={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function w(A,b,m){return d.hasOwnProperty(b)?m*=A.dpr:m}M.exports=w},fbBs:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("qK71"),m=d.n(b)},"fc+c":function(M,P,d){var w=d("sS/r"),A=w.extend({type:"dataZoom",render:function(b,m,v,p){this.dataZoomModel=b,this.ecModel=m,this.api=v},getTargetCoordInfo:function(){var b=this.dataZoomModel,m=this.ecModel,v={};b.eachTargetAxis(function(s,u){var o=m.getComponent(s.axis,u);if(o){var e=o.getCoordSysModel();e&&p(e,o,v[e.mainType]||(v[e.mainType]=[]),e.componentIndex)}},this);function p(s,u,o,e){for(var r,i=0;i<o.length;i++)if(o[i].model===s){r=o[i];break}r||o.push(r={model:s,axisModels:[],coordIndex:e}),r.axisModels.push(u)}return v}});M.exports=A},fjKi:function(M,P,d){var w=d("ProS");d("Q7if"),d("jndi"),w.registerPreprocessor(function(A){A.markArea=A.markArea||{}})},fls0:function(M,P,d){var w=d("bYtY"),A=d("QBsz"),b=d("oVpE"),m=d("f5HG"),v=d("IwbS"),p=d("OELB"),s=p.round,u=["fromSymbol","toSymbol"];function o(c){return"_"+c+"Type"}function e(c,h,f){var g=h.getItemVisual(f,"color"),S=h.getItemVisual(f,c),y=h.getItemVisual(f,c+"Size");if(!S||S==="none")return;w.isArray(y)||(y=[y,y]);var E=b.createSymbol(S,-y[0]/2,-y[1]/2,y[0],y[1],g);return E.name=c,E}function r(c){var h=new m({name:"line",subPixelOptimize:!0});return i(h.shape,c),h}function i(c,h){c.x1=h[0][0],c.y1=h[0][1],c.x2=h[1][0],c.y2=h[1][1],c.percent=1;var f=h[2];f?(c.cpx1=f[0],c.cpy1=f[1]):(c.cpx1=NaN,c.cpy1=NaN)}function n(){var c=this,h=c.childOfName("fromSymbol"),f=c.childOfName("toSymbol"),g=c.childOfName("label");if(!h&&!f&&g.ignore)return;for(var S=1,y=this.parent;y;)y.scale&&(S/=y.scale[0]),y=y.parent;var E=c.childOfName("line");if(!this.__dirty&&!E.__dirty)return;var C=E.shape.percent,T=E.pointAt(0),x=E.pointAt(C),_=A.sub([],x,T);if(A.normalize(_,_),h){h.attr("position",T);var I=E.tangentAt(0);h.attr("rotation",Math.PI/2-Math.atan2(I[1],I[0])),h.attr("scale",[S*C,S*C])}if(f){f.attr("position",x);var I=E.tangentAt(1);f.attr("rotation",-Math.PI/2-Math.atan2(I[1],I[0])),f.attr("scale",[S*C,S*C])}if(!g.ignore){g.attr("position",x);var L,D,B,N,k=g.__labelDistance,W=k[0]*S,R=k[1]*S,j=C/2,I=E.tangentAt(j),H=[I[1],-I[0]],K=E.pointAt(j);H[1]>0&&(H[0]=-H[0],H[1]=-H[1]);var U=I[0]<0?-1:1;if(g.__position!=="start"&&g.__position!=="end"){var Q=-Math.atan2(I[1],I[0]);x[0]<T[0]&&(Q=Math.PI+Q),g.attr("rotation",Q)}var V;switch(g.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":V=-R,B="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":V=R,B="top";break;default:V=0,B="middle"}switch(g.__position){case"end":L=[_[0]*W+x[0],_[1]*R+x[1]],D=_[0]>.8?"left":_[0]<-.8?"right":"center",B=_[1]>.8?"top":_[1]<-.8?"bottom":"middle";break;case"start":L=[-_[0]*W+T[0],-_[1]*R+T[1]],D=_[0]>.8?"right":_[0]<-.8?"left":"center",B=_[1]>.8?"bottom":_[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":L=[W*U+T[0],T[1]+V],D=I[0]<0?"right":"left",N=[-W*U,-V];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":L=[K[0],K[1]+V],D="center",N=[0,-V];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":L=[-W*U+x[0],x[1]+V],D=I[0]>=0?"right":"left",N=[W*U,-V];break}g.attr({style:{textVerticalAlign:g.__verticalAlign||B,textAlign:g.__textAlign||D},position:L,scale:[S,S],origin:N})}}function l(c,h,f){v.Group.call(this),this._createLine(c,h,f)}var t=l.prototype;t.beforeUpdate=n,t._createLine=function(c,h,f){var g=c.hostModel,S=c.getItemLayout(h),y=r(S);y.shape.percent=0,v.initProps(y,{shape:{percent:1}},g,h),this.add(y);var E=new v.Text({name:"label",lineLabelOriginalOpacity:1});this.add(E),w.each(u,function(C){var T=e(C,c,h);this.add(T),this[o(C)]=c.getItemVisual(h,C)},this),this._updateCommonStl(c,h,f)},t.updateData=function(c,h,f){var g=c.hostModel,S=this.childOfName("line"),y=c.getItemLayout(h),E={shape:{}};i(E.shape,y),v.updateProps(S,E,g,h),w.each(u,function(C){var T=c.getItemVisual(h,C),x=o(C);if(this[x]!==T){this.remove(this.childOfName(C));var _=e(C,c,h);this.add(_)}this[x]=T},this),this._updateCommonStl(c,h,f)},t._updateCommonStl=function(c,h,f){var g=c.hostModel,S=this.childOfName("line"),y=f&&f.lineStyle,E=f&&f.hoverLineStyle,C=f&&f.labelModel,T=f&&f.hoverLabelModel;if(!f||c.hasItemOption){var x=c.getItemModel(h);y=x.getModel("lineStyle").getLineStyle(),E=x.getModel("emphasis.lineStyle").getLineStyle(),C=x.getModel("label"),T=x.getModel("emphasis.label")}var _=c.getItemVisual(h,"color"),I=w.retrieve3(c.getItemVisual(h,"opacity"),y.opacity,1);S.useStyle(w.defaults({strokeNoScale:!0,fill:"none",stroke:_,opacity:I},y)),S.hoverStyle=E,w.each(u,function(U){var Q=this.childOfName(U);Q&&(Q.setColor(_),Q.setStyle({opacity:I}))},this);var L=C.getShallow("show"),D=T.getShallow("show"),B=this.childOfName("label"),N,k;if((L||D)&&(N=_||"#000",k=g.getFormattedLabel(h,"normal",c.dataType),k==null)){var W=g.getRawValue(h);k=W==null?c.getName(h):isFinite(W)?s(W):W}var R=L?k:null,j=D?w.retrieve2(g.getFormattedLabel(h,"emphasis",c.dataType),k):null,H=B.style;if(R!=null||j!=null){v.setTextStyle(B.style,C,{text:R},{autoColor:N}),B.__textAlign=H.textAlign,B.__verticalAlign=H.textVerticalAlign,B.__position=C.get("position")||"middle";var K=C.get("distance");w.isArray(K)||(K=[K,K]),B.__labelDistance=K}j!=null?B.hoverStyle={text:j,textFill:T.getTextColor(!0),fontStyle:T.getShallow("fontStyle"),fontWeight:T.getShallow("fontWeight"),fontSize:T.getShallow("fontSize"),fontFamily:T.getShallow("fontFamily")}:B.hoverStyle={text:null},B.ignore=!L&&!D,v.setHoverStyle(this)},t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.updateLayout=function(c,h){this.setLinePoints(c.getItemLayout(h))},t.setLinePoints=function(c){var h=this.childOfName("line");i(h.shape,c),h.dirty()},w.inherits(l,v.Group);var a=l;M.exports=a},fmMI:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=b.each,v=b.filter,p=b.map,s=b.isArray,u=b.indexOf,o=b.isObject,e=b.isString,r=b.createHashMap,i=b.assert,n=b.clone,l=b.merge,t=b.extend,a=b.mixin,c=d("4NO4"),h=d("Qxkt"),f=d("bLfw"),g=d("iXHM"),S=d("5Hur"),y=d("D5nY"),E=y.resetSourceDefaulter,C="\0_ec_inner",T=h.extend({init:function(R,j,H,K){H=H||{},this.option=null,this._theme=new h(H),this._optionManager=K},setOption:function(R,j){i(!(C in R),"please use chart.getOption()"),this._optionManager.setOption(R,j),this.resetOption(null)},resetOption:function(R){var j=!1,H=this._optionManager;if(!R||R==="recreate"){var K=H.mountOption(R==="recreate");!this.option||R==="recreate"?I.call(this,K):(this.restoreData(),this.mergeOption(K)),j=!0}if((R==="timeline"||R==="media")&&this.restoreData(),!R||R==="recreate"||R==="timeline"){var U=H.getTimelineOption(this);U&&(this.mergeOption(U),j=!0)}if(!R||R==="recreate"||R==="media"){var Q=H.getMediaOption(this,this._api);Q.length&&m(Q,function(V){this.mergeOption(V,j=!0)},this)}return j},mergeOption:function(R){var j=this.option,H=this._componentsMap,K=[];E(this),m(R,function(Q,V){if(Q==null)return;f.hasClass(V)?V&&K.push(V):j[V]=j[V]==null?n(Q):l(j[V],Q,!0)}),f.topologicalTravel(K,f.getAllClassMainTypes(),U,this);function U(Q,V){var J=c.normalizeToArray(R[Q]),ae=c.mappingToExists(H.get(Q),J);c.makeIdAndName(ae),m(ae,function($,ge){var he=$.option;o(he)&&($.keyInfo.mainType=Q,$.keyInfo.subType=D(Q,he,$.exist))});var se=L(H,V);j[Q]=[],H.set(Q,[]),m(ae,function($,ge){var he=$.exist,Ie=$.option;if(i(o(Ie)||he,"Empty component definition"),!Ie)he.mergeOption({},this),he.optionUpdated({},!1);else{var Se=f.getClass(Q,$.keyInfo.subType,!0);if(he&&he.constructor===Se)he.name=$.keyInfo.name,he.mergeOption(Ie,this),he.optionUpdated(Ie,!1);else{var Le=t({dependentModels:se,componentIndex:ge},$.keyInfo);he=new Se(Ie,this,this,Le),t(he,Le),he.init(Ie,this,this,Le),he.optionUpdated(null,!0)}}H.get(Q)[ge]=he,j[Q][ge]=he.option},this),Q==="series"&&B(this,H.get("series"))}this._seriesIndicesMap=r(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var R=n(this.option);return m(R,function(j,H){if(f.hasClass(H)){for(var j=c.normalizeToArray(j),K=j.length-1;K>=0;K--)c.isIdInner(j[K])&&j.splice(K,1);R[H]=j}}),delete R[C],R},getTheme:function(){return this._theme},getComponent:function(R,j){var H=this._componentsMap.get(R);if(H)return H[j||0]},queryComponents:function(R){var j=R.mainType;if(!j)return[];var H=R.index,K=R.id,U=R.name,Q=this._componentsMap.get(j);if(!Q||!Q.length)return[];var V;if(H!=null)s(H)||(H=[H]),V=v(p(H,function(se){return Q[se]}),function(se){return!!se});else if(K!=null){var J=s(K);V=v(Q,function(se){return J&&u(K,se.id)>=0||!J&&se.id===K})}else if(U!=null){var ae=s(U);V=v(Q,function(se){return ae&&u(U,se.name)>=0||!ae&&se.name===U})}else V=Q.slice();return N(V,R)},findComponents:function(R){var j=R.query,H=R.mainType,K=Q(j),U=K?this.queryComponents(K):this._componentsMap.get(H);return V(N(U,R));function Q(J){var ae=H+"Index",se=H+"Id",$=H+"Name";return J&&(J[ae]!=null||J[se]!=null||J[$]!=null)?{mainType:H,index:J[ae],id:J[se],name:J[$]}:null}function V(J){return R.filter?v(J,R.filter):J}},eachComponent:function(R,j,H){var K=this._componentsMap;if(typeof R=="function")H=j,j=R,K.each(function(Q,V){m(Q,function(J,ae){j.call(H,V,J,ae)})});else if(e(R))m(K.get(R),j,H);else if(o(R)){var U=this.findComponents(R);m(U,j,H)}},getSeriesByName:function(R){var j=this._componentsMap.get("series");return v(j,function(H){return H.name===R})},getSeriesByIndex:function(R){return this._componentsMap.get("series")[R]},getSeriesByType:function(R){var j=this._componentsMap.get("series");return v(j,function(H){return H.subType===R})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(R,j){k(this),m(this._seriesIndices,function(H){var K=this._componentsMap.get("series")[H];R.call(j,K,H)},this)},eachRawSeries:function(R,j){m(this._componentsMap.get("series"),R,j)},eachSeriesByType:function(R,j,H){k(this),m(this._seriesIndices,function(K){var U=this._componentsMap.get("series")[K];U.subType===R&&j.call(H,U,K)},this)},eachRawSeriesByType:function(R,j,H){return m(this.getSeriesByType(R),j,H)},isSeriesFiltered:function(R){return k(this),this._seriesIndicesMap.get(R.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(R,j){k(this);var H=v(this._componentsMap.get("series"),R,j);B(this,H)},restoreData:function(R){var j=this._componentsMap;B(this,j.get("series"));var H=[];j.each(function(K,U){H.push(U)}),f.topologicalTravel(H,f.getAllClassMainTypes(),function(K,U){m(j.get(K),function(Q){(K!=="series"||!x(Q,R))&&Q.restoreData()})})}});function x(R,j){if(j){var H=j.seiresIndex,K=j.seriesId,U=j.seriesName;return H!=null&&R.componentIndex!==H||K!=null&&R.id!==K||U!=null&&R.name!==U}}function _(R,j){var H=R.color&&!R.colorLayer;m(j,function(K,U){if(U==="colorLayer"&&H)return;f.hasClass(U)||(typeof K=="object"?R[U]=R[U]?l(R[U],K,!1):n(K):R[U]==null&&(R[U]=K))})}function I(R){R=R,this.option={},this.option[C]=1,this._componentsMap=r({series:[]}),this._seriesIndices,this._seriesIndicesMap,_(R,this._theme.option),l(R,g,!1),this.mergeOption(R)}function L(R,j){s(j)||(j=j?[j]:[]);var H={};return m(j,function(K){H[K]=(R.get(K)||[]).slice()}),H}function D(R,j,H){var K=j.type?j.type:H?H.subType:f.determineSubType(R,j);return K}function B(R,j){R._seriesIndicesMap=r(R._seriesIndices=p(j,function(H){return H.componentIndex})||[])}function N(R,j){return j.hasOwnProperty("subType")?v(R,function(H){return H.subType===j.subType}):R}function k(R){}a(T,S);var W=T;M.exports=W},g0SD:function(M,P,d){var w=d("bYtY"),A=d("9wZj"),b=d("OELB"),m=d("YXkt"),v=d("kj2x"),p=d("iPDy");function s(e,r,i){var n=r.coordinateSystem;e.each(function(l){var t=e.getItemModel(l),a,c=b.parsePercent(t.get("x"),i.getWidth()),h=b.parsePercent(t.get("y"),i.getHeight());if(!isNaN(c)&&!isNaN(h))a=[c,h];else if(r.getMarkerPosition)a=r.getMarkerPosition(e.getValues(e.dimensions,l));else if(n){var f=e.get(n.dimensions[0],l),g=e.get(n.dimensions[1],l);a=n.dataToPoint([f,g])}isNaN(c)||(a[0]=c),isNaN(h)||(a[1]=h),e.setItemLayout(l,a)})}var u=p.extend({type:"markPoint",updateTransform:function(e,r,i){r.eachSeries(function(n){var l=n.markPointModel;l&&(s(l.getData(),n,i),this.markerGroupMap.get(n.id).updateLayout(l))},this)},renderSeries:function(e,r,i,n){var l=e.coordinateSystem,t=e.id,a=e.getData(),c=this.markerGroupMap,h=c.get(t)||c.set(t,new A),f=o(l,e,r);r.setData(f),s(r.getData(),e,n),f.each(function(g){var S=f.getItemModel(g),y=S.getShallow("symbol"),E=S.getShallow("symbolSize"),C=w.isFunction(y),T=w.isFunction(E);if(C||T){var x=r.getRawValue(g),_=r.getDataParams(g);C&&(y=y(x,_)),T&&(E=E(x,_))}f.setItemVisual(g,{symbol:y,symbolSize:E,color:S.get("itemStyle.color")||a.getVisual("color")})}),h.updateData(f),this.group.add(h.group),f.eachItemGraphicEl(function(g){g.traverse(function(S){S.dataModel=r})}),h.__keep=!0,h.group.silent=r.get("silent")||e.get("silent")}});function o(e,r,i){var n;e?n=w.map(e&&e.dimensions,function(a){var c=r.getData().getDimensionInfo(r.getData().mapDimension(a))||{};return w.defaults({name:a},c)}):n=[{name:"value",type:"float"}];var l=new m(n,i),t=w.map(i.get("data"),w.curry(v.dataTransform,r));return e&&(t=w.filter(t,w.curry(v.dataFilter,e))),l.initData(t,null,e?v.dimValueGetter:function(a){return a.value}),l}M.exports=u},g5aB:function(M,P){function d(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?(M.exports=d=function(b){return typeof b},M.exports.default=M.exports,M.exports.__esModule=!0):(M.exports=d=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},M.exports.default=M.exports,M.exports.__esModule=!0),d(w)}M.exports=d,M.exports.default=M.exports,M.exports.__esModule=!0},g7p0:function(M,P,d){var w=d("bYtY"),A=d("bLfw"),b=d("+TT/"),m=b.getLayoutParams,v=b.sizeCalculable,p=b.mergeLayoutParam,s=A.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,r,i,n){var l=m(e);s.superApply(this,"init",arguments),u(e,l)},mergeOption:function(e,r){s.superApply(this,"mergeOption",arguments),u(this.option,e)}});function u(e,r){var i=e.cellSize;w.isArray(i)?i.length===1&&(i[1]=i[0]):i=e.cellSize=[i,i];var n=w.map([0,1],function(l){return v(r,l)&&(i[l]="auto"),i[l]!=null&&i[l]!=="auto"});p(e,r,{type:"box",ignoreSize:n})}var o=s;M.exports=o},gIYZ:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.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"};P.default=w},gPAo:function(M,P){function d(m){return m}function w(m,v,p,s,u){this._old=m,this._new=v,this._oldKeyGetter=p||d,this._newKeyGetter=s||d,this.context=u}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,v=this._new,p={},s={},u=[],o=[],e;for(A(m,p,u,"_oldKeyGetter",this),A(v,s,o,"_newKeyGetter",this),e=0;e<m.length;e++){var r=u[e],i=s[r];if(i!=null){var n=i.length;n?(n===1&&(s[r]=null),i=i.shift()):s[r]=null,this._update&&this._update(i,e)}else this._remove&&this._remove(e)}for(var e=0;e<o.length;e++){var r=o[e];if(s.hasOwnProperty(r)){var i=s[r];if(i==null)continue;if(!i.length)this._add&&this._add(i);else for(var l=0,n=i.length;l<n;l++)this._add&&this._add(i[l])}}}};function A(m,v,p,s,u){for(var o=0;o<m.length;o++){var e="_ec_"+u[s](m[o],o),r=v[e];r==null?(p.push(e),v[e]=o):(r.length||(v[e]=r=[r]),r.push(o))}}var b=w;M.exports=b},gRFJ:function(M,P,d){M.exports=[d("rdUC"),d("ynwM"),d("RELg"),d("DlR+"),d("CrYA"),d("PD8m")]},gUdW:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="MinusSquareOutlined";var s=P.a=A.forwardRef(p)},gXHG:function(M,P,d){},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(P){var d=meta[P];return typeof d=="string"?d:"\\u"+("0000"+P.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+M+'"'}function str(M,P){var d,w,A,b,m=gap,v,p=P[M];p&&typeof p=="object"&&typeof p.toJSON=="function"&&(p=p.toJSON(M)),typeof rep=="function"&&(p=rep.call(P,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,v=[],Object.prototype.toString.apply(p)==="[object Array]"){for(b=p.length,d=0;d<b;d+=1)v[d]=str(d,p)||"null";return A=v.length===0?"[]":gap?`[
|
|
|
`+gap+v.join(`,
|
|
|
`+gap)+`
|
|
|
`+m+"]":"["+v.join(",")+"]",gap=m,A}if(rep&&typeof rep=="object")for(b=rep.length,d=0;d<b;d+=1)typeof rep[d]=="string"&&(w=rep[d],A=str(w,p),A&&v.push(quote(w)+(gap?": ":":")+A));else for(w in p)Object.prototype.hasOwnProperty.call(p,w)&&(A=str(w,p),A&&v.push(quote(w)+(gap?": ":":")+A));return A=v.length===0?"{}":gap?`{
|
|
|
`+gap+v.join(`,
|
|
|
`+gap)+`
|
|
|
`+m+"}":"{"+v.join(",")+"}",gap=m,A}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(M,P,d){var w;if(gap="",indent="",typeof d=="number")for(w=0;w<d;w+=1)indent+=" ";else typeof d=="string"&&(indent=d);if(rep=P,P&&typeof P!="function"&&(typeof P!="object"||typeof P.length!="number"))throw new Error("JSON.stringify");return str("",{"":M})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(M,P){var d,w,A=M[P];if(A&&typeof A=="object")for(d in A)Object.prototype.hasOwnProperty.call(A,d)&&(w=walk(A,d),w!==void 0?A[d]=w:delete A[d]);return reviver.call(M,P,A)}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,P,d){var w=d("+TT/"),A=d("bYtY"),b=d("4NO4"),m=b.groupData;function v(I,L,D){I.eachSeriesByType("sankey",function(B){var N=B.get("nodeWidth"),k=B.get("nodeGap"),W=p(B,L);B.layoutInfo=W;var R=W.width,j=W.height,H=B.getGraph(),K=H.nodes,U=H.edges;u(K);var Q=A.filter(K,function(se){return se.getLayout().value===0}),V=Q.length!==0?0:B.get("layoutIterations"),J=B.get("orient"),ae=B.get("nodeAlign");s(K,U,N,k,R,j,V,J,ae)})}function p(I,L){return w.getLayoutRect(I.getBoxLayoutParams(),{width:L.getWidth(),height:L.getHeight()})}function s(I,L,D,B,N,k,W,R,j){o(I,L,D,N,k,R,j),l(I,L,k,N,B,W,R),_(I,R)}function u(I){A.each(I,function(L){var D=T(L.outEdges,C),B=T(L.inEdges,C),N=L.getValue()||0,k=Math.max(D,B,N);L.setLayout({value:k},!0)})}function o(I,L,D,B,N,k,W){for(var R=[],j=[],H=[],K=[],U=0,Q=0,V=0;V<L.length;V++)R[V]=1;for(V=0;V<I.length;V++)j[V]=I[V].inEdges.length,j[V]===0&&H.push(I[V]);for(var J=-1;H.length;){for(var ae=0;ae<H.length;ae++){var se=H[ae],$=se.hostGraph.data.getRawDataItem(se.dataIndex),ge=$.depth!=null&&$.depth>=0;ge&&$.depth>J&&(J=$.depth),se.setLayout({depth:ge?$.depth:U},!0),k==="vertical"?se.setLayout({dy:D},!0):se.setLayout({dx:D},!0);for(var he=0;he<se.outEdges.length;he++){var Ie=se.outEdges[he],Se=L.indexOf(Ie);R[Se]=0;var Le=Ie.node2,He=I.indexOf(Le);--j[He]===0&&K.indexOf(Le)<0&&K.push(Le)}}++U,H=K,K=[]}for(V=0;V<R.length;V++)if(R[V]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var G=J>U-1?J:U-1;W&&W!=="left"&&r(I,W,k,G);var Q=k==="vertical"?(N-D)/G:(B-D)/G;n(I,Q,k)}function e(I){var L=I.hostGraph.data.getRawDataItem(I.dataIndex);return L.depth!=null&&L.depth>=0}function r(I,L,D,B){if(L==="right"){for(var N=[],k=I,W=0;k.length;){for(var R=0;R<k.length;R++){var j=k[R];j.setLayout({skNodeHeight:W},!0);for(var H=0;H<j.inEdges.length;H++){var K=j.inEdges[H];N.indexOf(K.node1)<0&&N.push(K.node1)}}k=N,N=[],++W}A.each(I,function(U){e(U)||U.setLayout({depth:Math.max(0,B-U.getLayout().skNodeHeight)},!0)})}else L==="justify"&&i(I,B)}function i(I,L){A.each(I,function(D){!e(D)&&!D.outEdges.length&&D.setLayout({depth:L},!0)})}function n(I,L,D){A.each(I,function(B){var N=B.getLayout().depth*L;D==="vertical"?B.setLayout({y:N},!0):B.setLayout({x:N},!0)})}function l(I,L,D,B,N,k,W){var R=t(I,W);a(R,L,D,B,N,W),c(R,N,D,B,W);for(var j=1;k>0;k--)j*=.99,h(R,j,W),c(R,N,D,B,W),x(R,j,W),c(R,N,D,B,W)}function t(I,L){var D=[],B=L==="vertical"?"y":"x",N=m(I,function(k){return k.getLayout()[B]});return N.keys.sort(function(k,W){return k-W}),A.each(N.keys,function(k){D.push(N.buckets.get(k))}),D}function a(I,L,D,B,N,k){var W=Infinity;A.each(I,function(R){var j=R.length,H=0;A.each(R,function(U){H+=U.getLayout().value});var K=k==="vertical"?(B-(j-1)*N)/H:(D-(j-1)*N)/H;K<W&&(W=K)}),A.each(I,function(R){A.each(R,function(j,H){var K=j.getLayout().value*W;k==="vertical"?(j.setLayout({x:H},!0),j.setLayout({dx:K},!0)):(j.setLayout({y:H},!0),j.setLayout({dy:K},!0))})}),A.each(L,function(R){var j=+R.getValue()*W;R.setLayout({dy:j},!0)})}function c(I,L,D,B,N){var k=N==="vertical"?"x":"y";A.each(I,function(W){W.sort(function(ae,se){return ae.getLayout()[k]-se.getLayout()[k]});for(var R,j,H,K=0,U=W.length,Q=N==="vertical"?"dx":"dy",V=0;V<U;V++)j=W[V],H=K-j.getLayout()[k],H>0&&(R=j.getLayout()[k]+H,N==="vertical"?j.setLayout({x:R},!0):j.setLayout({y:R},!0)),K=j.getLayout()[k]+j.getLayout()[Q]+L;var J=N==="vertical"?B:D;if(H=K-L-J,H>0)for(R=j.getLayout()[k]-H,N==="vertical"?j.setLayout({x:R},!0):j.setLayout({y:R},!0),K=R,V=U-2;V>=0;--V)j=W[V],H=j.getLayout()[k]+j.getLayout()[Q]+L-K,H>0&&(R=j.getLayout()[k]-H,N==="vertical"?j.setLayout({x:R},!0):j.setLayout({y:R},!0)),K=j.getLayout()[k]})}function h(I,L,D){A.each(I.slice().reverse(),function(B){A.each(B,function(N){if(N.outEdges.length){var k=T(N.outEdges,f,D)/T(N.outEdges,C,D);if(isNaN(k)){var W=N.outEdges.length;k=W?T(N.outEdges,g,D)/W:0}if(D==="vertical"){var R=N.getLayout().x+(k-E(N,D))*L;N.setLayout({x:R},!0)}else{var j=N.getLayout().y+(k-E(N,D))*L;N.setLayout({y:j},!0)}}})})}function f(I,L){return E(I.node2,L)*I.getValue()}function g(I,L){return E(I.node2,L)}function S(I,L){return E(I.node1,L)*I.getValue()}function y(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,D){for(var B=0,N=I.length,k=-1;++k<N;){var W=+L.call(I,I[k],D);isNaN(W)||(B+=W)}return B}function x(I,L,D){A.each(I,function(B){A.each(B,function(N){if(N.inEdges.length){var k=T(N.inEdges,S,D)/T(N.inEdges,C,D);if(isNaN(k)){var W=N.inEdges.length;k=W?T(N.inEdges,y,D)/W:0}if(D==="vertical"){var R=N.getLayout().x+(k-E(N,D))*L;N.setLayout({x:R},!0)}else{var j=N.getLayout().y+(k-E(N,D))*L;N.setLayout({y:j},!0)}}})})}function _(I,L){var D=L==="vertical"?"x":"y";A.each(I,function(B){B.outEdges.sort(function(N,k){return N.node2.getLayout()[D]-k.node2.getLayout()[D]}),B.inEdges.sort(function(N,k){return N.node1.getLayout()[D]-k.node1.getLayout()[D]})}),A.each(I,function(B){var N=0,k=0;A.each(B.outEdges,function(W){W.setLayout({sy:N},!0),N+=W.getLayout().dy}),A.each(B.inEdges,function(W){W.setLayout({ty:k},!0),k+=W.getLayout().dy})})}M.exports=v},gut8:function(M,P){var d={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},w=9;P.ContextCachedBy=d,P.WILL_BE_RESTORED=w},gvm7:function(M,P,d){var w=d("bYtY"),A=d("dqUG");function b(v){this._zr=v.getZr(),this._show=!1,this._hideTimeout}b.prototype={constructor:b,_enterable:!0,update:function(){},show:function(v){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(v,p,s){this.el&&this._zr.remove(this.el);for(var u={},o=v,e="{marker",r="|}",i=o.indexOf(e);i>=0;){var n=o.indexOf(r),l=o.substr(i+e.length,n-i-e.length);l.indexOf("sub")>-1?u["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:p[l],textOffset:[3,0]}:u["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:p[l]},o=o.substr(n+1),i=o.indexOf("{marker")}this.el=new A({style:{rich:u,text:v,textLineHeight:20,textBackgroundColor:s.get("backgroundColor"),textBorderRadius:s.get("borderRadius"),textFill:s.get("textStyle.color"),textPadding:s.get("padding")},z:s.get("z")}),this._zr.add(this.el);var t=this;this.el.on("mouseover",function(){t._enterable&&(clearTimeout(t._hideTimeout),t._show=!0),t._inContent=!0}),this.el.on("mouseout",function(){t._enterable&&(t._show&&t.hideLater(t._hideDelay)),t._inContent=!1})},setEnterable:function(v){this._enterable=v},getSize:function(){var v=this.el.getBoundingRect();return[v.width,v.height]},moveTo:function(v,p){this.el&&this.el.attr("position",[v,p])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(v){this._show&&!(this._inContent&&this._enterable)&&(v?(this._hideDelay=v,this._show=!1,this._hideTimeout=setTimeout(w.bind(this.hide,this),v)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var v=this.getSize();return{width:v[0],height:v[1]}}};var m=b;M.exports=m},h3u3:function(M,P,d){"use strict";var w=d("ODXe"),A=d("q1tI"),b=d.n(A),m=d("jUvX");function v(){var p=Object(A.useState)({}),s=Object(w.a)(p,2),u=s[0],o=s[1];return Object(A.useEffect)(function(){var e=m.a.subscribe(function(r){o(r)});return function(){return m.a.unsubscribe(e)}},[]),u}P.a=v},h54F:function(M,P,d){var w=d("ProS"),A=d("YXkt"),b=d("bYtY"),m=d("4NO4"),v=m.defaultEmphasis,p=d("Qxkt"),s=d("7aKB"),u=s.encodeHTML,o=d("I3/A"),e=d("xKMd"),r=w.extendSeriesModel({type:"series.graph",init:function(n){r.superApply(this,"init",arguments);var l=this;function t(){return l._categoriesData}this.legendVisualProvider=new e(t,t),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeOption:function(n){r.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(n){r.superApply(this,"mergeDefaultAndTheme",arguments),v(n,["edgeLabel"],["show"])},getInitialData:function(n,l){var t=n.edges||n.links||[],a=n.data||n.nodes||[],c=this;if(a&&t)return o(a,t,this,!0,h).data;function h(f,g){f.wrapMethod("getItemModel",function(x){var _=c._categoriesModels,I=x.getShallow("category"),L=_[I];return L&&(L.parentModel=x.parentModel,x.parentModel=L),x});var S=c.getModel("edgeLabel"),y=new p({label:S.option},S.parentModel,l),E=c.getModel("emphasis.edgeLabel"),C=new p({emphasis:{label:E.option}},E.parentModel,l);g.wrapMethod("getItemModel",function(x){return x.customizeGetParent(T),x});function T(x){return x=this.parsePath(x),x&&x[0]==="label"?y: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(n,l,t){if(t==="edge"){var a=this.getData(),c=this.getDataParams(n,t),h=a.graph.getEdgeByIndex(n),f=a.getName(h.node1.dataIndex),g=a.getName(h.node2.dataIndex),S=[];return f!=null&&S.push(f),g!=null&&S.push(g),S=u(S.join(" > ")),c.value&&(S+=" : "+u(c.value)),S}else return r.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var n=b.map(this.option.categories||[],function(t){return t.value!=null?t:b.extend({value:0},t)}),l=new A(["value"],this);l.initData(n),this._categoriesData=l,this._categoriesModels=l.mapArray(function(t){return l.getItemModel(t,!0)})},setZoom:function(n){this.option.zoom=n},setCenter:function(n){this.option.center=n},isAnimationEnabled:function(){return r.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=r;M.exports=i},h7HQ:function(M,P,d){var w=d("y+Vt"),A=d("T6xi"),b=w.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(v,p){A.buildPath(v,p,!0)}});M.exports=b},h8O9:function(M,P,d){var w=d("bYtY"),A=w.map,b=d("zM3Q"),m=d("7hqr"),v=m.isDimensionStacked;function p(s){return{seriesType:s,plan:b(),reset:function(u){var o=u.getData(),e=u.coordinateSystem,r=u.pipelineContext,i=r.large;if(!e)return;var n=A(e.dimensions,function(c){return o.mapDimension(c)}).slice(0,2),l=n.length,t=o.getCalculationInfo("stackResultDimension");v(o,n[0])&&(n[0]=t),v(o,n[1])&&(n[1]=t);function a(c,h){for(var f=c.end-c.start,g=i&&new Float32Array(f*l),S=c.start,y=0,E=[],C=[];S<c.end;S++){var T;if(l===1){var x=h.get(n[0],S);T=!isNaN(x)&&e.dataToPoint(x,null,C)}else{var x=E[0]=h.get(n[0],S),_=E[1]=h.get(n[1],S);T=!isNaN(x)&&!isNaN(_)&&e.dataToPoint(E,null,C)}i?(g[y++]=T?T[0]:NaN,g[y++]=T?T[1]:NaN):h.setItemLayout(S,T&&T.slice()||[NaN,NaN])}i&&h.setLayout("symbolPoints",g)}return l&&{progress:a}}}}M.exports=p},hAEC:function(M,P,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("q1tI"),m=d("TSYQ"),v=d.n(m),p=d("U8pU"),s=d("ODXe"),u=d("Ff2n"),o=d("4IlW"),e=d("c+Xe"),r=d("1OyB"),i=d("vuIU");function n(){return typeof BigInt=="function"}function l(se){var $=se.trim(),ge=$.startsWith("-");ge&&($=$.slice(1)),$=$.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),$.startsWith(".")&&($="0".concat($));var he=$||"0",Ie=he.split("."),Se=Ie[0]||"0",Le=Ie[1]||"0";Se==="0"&&Le==="0"&&(ge=!1);var He=ge?"-":"";return{negative:ge,negativeStr:He,trimStr:he,integerStr:Se,decimalStr:Le,fullStr:"".concat(He).concat(he)}}function t(se){var $=String(se);return!Number.isNaN(Number($))&&$.includes("e")}function a(se){var $=String(se);if(t(se)){var ge=Number($.slice($.indexOf("e-")+2)),he=$.match(/\.(\d+)/);return(he==null?void 0:he[1])&&(ge+=he[1].length),ge}return $.includes(".")&&h($)?$.length-$.indexOf(".")-1:0}function c(se){var $=String(se);if(t(se)){if(se>Number.MAX_SAFE_INTEGER)return String(n()?BigInt(se).toString():Number.MAX_SAFE_INTEGER);if(se<Number.MIN_SAFE_INTEGER)return String(n()?BigInt(se).toString():Number.MIN_SAFE_INTEGER);$=se.toFixed(a($))}return l($).fullStr}function h(se){return typeof se=="number"?!Number.isNaN(se):se?/^\s*-?\d+(\.\d+)?\s*$/.test(se)||/^\s*-?\d+\.\s*$/.test(se)||/^\s*-?\.\d+\s*$/.test(se):!1}var f=function(){function se($){if(Object(r.a)(this,se),this.origin="",!$&&$!==0||!String($).trim()){this.empty=!0;return}this.origin=String($),this.number=Number($)}return Object(i.a)(se,[{key:"negate",value:function(){return new se(-this.toNumber())}},{key:"add",value:function(ge){if(this.isInvalidate())return new se(ge);var he=Number(ge);if(Number.isNaN(he))return this;var Ie=this.number+he;if(Ie>Number.MAX_SAFE_INTEGER)return new se(Number.MAX_SAFE_INTEGER);if(Ie<Number.MIN_SAFE_INTEGER)return new se(Number.MIN_SAFE_INTEGER);var Se=Math.max(a(this.number),a(he));return new se(Ie.toFixed(Se))}},{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()?"":c(this.number):this.origin}}]),se}(),g=function(){function se($){if(Object(r.a)(this,se),this.origin="",!$&&$!==0||!String($).trim()){this.empty=!0;return}if(this.origin=String($),$==="-"){this.nan=!0;return}var ge=$;if(t(ge)&&(ge=Number(ge)),ge=typeof ge=="string"?ge:c(ge),h(ge)){var he=l(ge);this.negative=he.negative;var Ie=he.trimStr.split(".");this.integer=BigInt(Ie[0]);var Se=Ie[1]||"0";this.decimal=BigInt(Se),this.decimalLen=Se.length}else this.nan=!0}return Object(i.a)(se,[{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 he="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(ge,"0"));return BigInt(he)}},{key:"negate",value:function(){var ge=new se(this.toString());return ge.negative=!ge.negative,ge}},{key:"add",value:function(ge){if(this.isInvalidate())return new se(ge);var he=new se(ge);if(he.isInvalidate())return this;var Ie=Math.max(this.getDecimalStr().length,he.getDecimalStr().length),Se=this.alignDecimal(Ie),Le=he.alignDecimal(Ie),He=(Se+Le).toString(),G=l(He),pe=G.negativeStr,We=G.trimStr,te="".concat(pe).concat(We.padStart(Ie+1,"0"));return new se("".concat(te.slice(0,-Ie),".").concat(te.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()?"":l("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),se}();function S(se){return n()?new g(se):new f(se)}function y(se,$,ge){if(se==="")return"";var he=l(se),Ie=he.negativeStr,Se=he.integerStr,Le=he.decimalStr,He="".concat($).concat(Le),G="".concat(Ie).concat(Se);if(ge>=0){var pe=Number(Le[ge]);if(pe>=5){var We=S(se).add("0.".concat("0".repeat(ge)).concat(10-pe));return y(We.toString(),$,ge)}return ge===0?G:"".concat(G).concat($).concat(Le.padEnd(ge,"0").slice(0,ge))}return He===".0"?G:"".concat(G).concat(He)}var E=d("5Z9U"),C=200,T=600;function x(se){var $=se.prefixCls,ge=se.upNode,he=se.downNode,Ie=se.upDisabled,Se=se.downDisabled,Le=se.onStep,He=b.useRef(),G=b.useRef();G.current=Le;var pe=function(ne,Ae){ne.preventDefault(),G.current(Ae);function Ne(){G.current(Ae),He.current=setTimeout(Ne,C)}He.current=setTimeout(Ne,T)},We=function(){clearTimeout(He.current)};if(b.useEffect(function(){return We},[]),Object(E.a)())return null;var te="".concat($,"-handler"),X=v()(te,"".concat(te,"-up"),Object(A.a)({},"".concat(te,"-up-disabled"),Ie)),z=v()(te,"".concat(te,"-down"),Object(A.a)({},"".concat(te,"-down-disabled"),Se)),Z={unselectable:"on",role:"button",onMouseUp:We,onMouseLeave:We};return b.createElement("div",{className:"".concat(te,"-wrap")},b.createElement("span",Object(w.a)({},Z,{onMouseDown:function(ne){pe(ne,!0)},"aria-label":"Increase Value","aria-disabled":Ie,className:X}),ge||b.createElement("span",{unselectable:"on",className:"".concat($,"-handler-up-inner")})),b.createElement("span",Object(w.a)({},Z,{onMouseDown:function(ne){pe(ne,!1)},"aria-label":"Decrease Value","aria-disabled":Se,className:z}),he||b.createElement("span",{unselectable:"on",className:"".concat($,"-handler-down-inner")})))}var _=d("Kwbf");function I(se,$){var ge=Object(b.useRef)(null);function he(){try{var Se=se.selectionStart,Le=se.selectionEnd,He=se.value,G=He.substring(0,Se),pe=He.substring(Le);ge.current={start:Se,end:Le,value:He,beforeTxt:G,afterTxt:pe}}catch(We){}}function Ie(){if(se&&ge.current&&$)try{var Se=se.value,Le=ge.current,He=Le.beforeTxt,G=Le.afterTxt,pe=Le.start,We=Se.length;if(Se.endsWith(G))We=Se.length-ge.current.afterTxt.length;else if(Se.startsWith(He))We=He.length;else{var te=He[pe-1],X=Se.indexOf(te,pe-1);X!==-1&&(We=X+1)}se.setSelectionRange(We,We)}catch(z){Object(_.a)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(z.message))}}return[he,Ie]}var L=d("MNnm"),D=Object(L.a)()?b.useLayoutEffect:b.useEffect;function B(se,$){var ge=b.useRef(!1);D(function(){if(!ge.current){ge.current=!0;return}return se()},$)}var N=function($,ge){return $||ge.isEmpty()?ge.toString():ge.toNumber()},k=function($){var ge=S($);return ge.isInvalidate()?null:ge},W=b.forwardRef(function(se,$){var ge,he=se.prefixCls,Ie=he===void 0?"rc-input-number":he,Se=se.className,Le=se.style,He=se.min,G=se.max,pe=se.step,We=pe===void 0?1:pe,te=se.defaultValue,X=se.value,z=se.disabled,Z=se.readOnly,be=se.upHandler,ne=se.downHandler,Ae=se.keyboard,Ne=se.stringMode,oe=se.parser,de=se.formatter,xe=se.precision,Pe=se.decimalSeparator,tt=se.onChange,Je=se.onInput,Oe=se.onPressEnter,pt=se.onStep,Qe=Object(u.a)(se,["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"]),nt="".concat(Ie,"-input"),bt=b.useRef(null),Tt=b.useState(!1),Ct=Object(s.a)(Tt,2),Nt=Ct[0],Ge=Ct[1],ie=b.useRef(!1),Y=b.useRef(!1),we=b.useState(function(){return S(X!=null?X:te)}),Ce=Object(s.a)(we,2),le=Ce[0],ot=Ce[1];function wt(Kt){X===void 0&&ot(Kt)}var rt=b.useCallback(function(Kt,St){return St?void 0:xe>=0?xe:Math.max(a(Kt),a(We))},[xe,We]),It=b.useCallback(function(Kt){var St=String(Kt);if(oe)return oe(St);var Mt=St;return Pe&&(Mt=Mt.replace(Pe,".")),Mt.replace(/[^\w.-]+/g,"")},[oe,Pe]),Gt=b.useCallback(function(Kt,St){if(de)return de(Kt);var Mt=typeof Kt=="number"?c(Kt):Kt;if(!St){var Zt=rt(Mt,St);if(h(Mt)&&(Pe||Zt>=0)){var kr=Pe||".";Mt=y(Mt,kr,Zt)}}return Mt},[de,rt,Pe]),lr=b.useState(function(){var Kt=te!=null?te:X;return le.isInvalidate()&&["string","number"].includes(Object(p.a)(Kt))?Number.isNaN(Kt)?"":Kt:Gt(le.toString(),!1)}),pr=Object(s.a)(lr,2),Rr=pr[0],xt=pr[1];function Ot(Kt,St){xt(Gt(Kt.isInvalidate()?Kt.toString(!1):Kt.toString(!St),St))}var At=b.useMemo(function(){return k(G)},[G]),Jt=b.useMemo(function(){return k(He)},[He]),br=b.useMemo(function(){return!At||!le||le.isInvalidate()?!1:At.lessEquals(le)},[At,le]),Lr=b.useMemo(function(){return!Jt||!le||le.isInvalidate()?!1:le.lessEquals(Jt)},[Jt,le]),Zr=I(bt.current,Nt),In=Object(s.a)(Zr,2),Gr=In[0],Tr=In[1],fr=function(St){return At&&!St.lessEquals(At)?At:Jt&&!Jt.lessEquals(St)?Jt:null},vt=function(St){return!fr(St)},ft=function(St,Mt){var Zt=St,kr=vt(Zt)||Zt.isEmpty();if(!Zt.isEmpty()&&!Mt&&(Zt=fr(Zt)||Zt,kr=!0),!Z&&!z&&kr){var Hr=Zt.toString(),$r=rt(Hr,Mt);return $r>=0&&(Zt=S(y(Hr,".",$r))),Zt.equals(le)||(wt(Zt),tt==null||tt(Zt.isEmpty()?null:N(Ne,Zt)),X===void 0&&Ot(Zt,Mt)),Zt}return le},De=function(St){if(Gr(),xt(St),!Y.current){var Mt=It(St),Zt=S(Mt);Zt.isNaN()||ft(Zt,!0)}},je=function(){Y.current=!0},Ye=function(){Y.current=!1,De(bt.current.value)},st=function(St){var Mt=St.target.value;oe||(Mt=Mt.replace(/。/g,".")),De(Mt),Je==null||Je(Mt)},kt=function(St){var Mt;if(St&&br||!St&&Lr)return;ie.current=!1;var Zt=S(We);St||(Zt=Zt.negate());var kr=(le||S(0)).add(Zt.toString()),Hr=ft(kr,!1);pt==null||pt(N(Ne,Hr),{offset:We,type:St?"up":"down"}),(Mt=bt.current)===null||Mt===void 0||Mt.focus()},$t=function(St){var Mt=S(It(Rr)),Zt=Mt;Mt.isNaN()?Zt=le:Zt=ft(Mt,St),X!==void 0?Ot(le,!1):Zt.isNaN()||Ot(Zt,!1)},Nr=function(St){var Mt=St.which;if(ie.current=!0,Mt===o.a.ENTER&&(Y.current||(ie.current=!1),$t(!0),Oe==null||Oe(St)),Ae===!1)return;!Y.current&&[o.a.UP,o.a.DOWN].includes(Mt)&&(kt(o.a.UP===Mt),St.preventDefault())},yn=function(){ie.current=!1},un=function(){$t(!1),Ge(!1),ie.current=!1};return B(function(){le.isInvalidate()||Ot(le,!1)},[xe]),B(function(){var Kt=S(X);ot(Kt),(Kt.isNaN()||!ie.current||de)&&Ot(Kt,!1)},[X]),B(function(){de&&Tr()},[Rr]),b.createElement("div",{className:v()(Ie,Se,(ge={},Object(A.a)(ge,"".concat(Ie,"-focused"),Nt),Object(A.a)(ge,"".concat(Ie,"-disabled"),z),Object(A.a)(ge,"".concat(Ie,"-readonly"),Z),Object(A.a)(ge,"".concat(Ie,"-not-a-number"),le.isNaN()),Object(A.a)(ge,"".concat(Ie,"-out-of-range"),!le.isInvalidate()&&!vt(le)),ge)),style:Le,onFocus:function(){Ge(!0)},onBlur:un,onKeyDown:Nr,onKeyUp:yn,onCompositionStart:je,onCompositionEnd:Ye},b.createElement(x,{prefixCls:Ie,upNode:be,downNode:ne,upDisabled:br,downDisabled:Lr,onStep:kt}),b.createElement("div",{className:"".concat(nt,"-wrap")},b.createElement("input",Object(w.a)({autoComplete:"off",role:"spinbutton","aria-valuemin":He,"aria-valuemax":G,"aria-valuenow":le.isInvalidate()?null:le.toString(),step:We},Qe,{ref:Object(e.a)(bt,$),className:nt,value:Rr,onChange:st,disabled:z,readOnly:Z}))))});W.displayName="InputNumber";var R=W,j=R,H=d("y3Kf"),K=d("8Skl"),U=d("9R2V"),Q=d("kc2O"),V=function(se,$){var ge={};for(var he in se)Object.prototype.hasOwnProperty.call(se,he)&&$.indexOf(he)<0&&(ge[he]=se[he]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,he=Object.getOwnPropertySymbols(se);Ie<he.length;Ie++)$.indexOf(he[Ie])<0&&Object.prototype.propertyIsEnumerable.call(se,he[Ie])&&(ge[he[Ie]]=se[he[Ie]]);return ge},J=b.forwardRef(function(se,$){var ge,he=b.useContext(U.b),Ie=he.getPrefixCls,Se=he.direction,Le=b.useContext(Q.b),He=se.className,G=se.size,pe=se.prefixCls,We=se.bordered,te=We===void 0?!0:We,X=se.readOnly,z=V(se,["className","size","prefixCls","bordered","readOnly"]),Z=Ie("input-number",pe),be=b.createElement(H.a,{className:"".concat(Z,"-handler-up-inner")}),ne=b.createElement(K.a,{className:"".concat(Z,"-handler-down-inner")}),Ae=G||Le,Ne=v()((ge={},Object(A.a)(ge,"".concat(Z,"-lg"),Ae==="large"),Object(A.a)(ge,"".concat(Z,"-sm"),Ae==="small"),Object(A.a)(ge,"".concat(Z,"-rtl"),Se==="rtl"),Object(A.a)(ge,"".concat(Z,"-readonly"),X),Object(A.a)(ge,"".concat(Z,"-borderless"),!te),ge),He);return b.createElement(j,Object(w.a)({ref:$,className:Ne,upHandler:be,downHandler:ne,prefixCls:Z,readOnly:X},z))}),ae=P.a=J},hD7B:function(M,P,d){var w=d("bYtY"),A=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function b(v){w.each(A,function(p){this[p]=w.bind(v[p],v)},this)}var m=b;M.exports=m},hFmY:function(M,P,d){var w=d("ProS"),A={type:"axisAreaSelect",event:"axisAreaSelected"};w.registerAction(A,function(b,m){m.eachComponent({mainType:"parallelAxis",query:b},function(v){v.axis.model.setActiveIntervals(b.intervals)})}),w.registerAction("parallelAxisExpand",function(b,m){m.eachComponent({mainType:"parallel",query:b},function(v){v.setAxisExpand(b)})})},hJvP:function(M,P,d){var w=d("2dDv"),A=d("IDmD");function b(m,v){var p=[];return m.eachComponent("parallel",function(s,u){var o=new w(s,m,v);o.name="parallel_"+u,o.resize(s,v),s.coordinateSystem=o,o.model=s,p.push(o)}),m.eachSeries(function(s){if(s.get("coordinateSystem")==="parallel"){var u=m.queryComponents({mainType:"parallel",index:s.get("parallelIndex"),id:s.get("parallelId")})[0];s.coordinateSystem=u.coordinateSystem}}),p}A.register("parallel",{create:b})},hM6l:function(M,P,d){var w=d("bYtY"),A=w.each,b=w.map,m=d("OELB"),v=m.linearMap,p=m.getPixelPrecision,s=m.round,u=d("4HMb"),o=u.createAxisTicks,e=u.createAxisLabels,r=u.calculateCategoryInterval,i=[0,1],n=function(c,h,f){this.dim=c,this.scale=h,this._extent=f||[0,0],this.inverse=!1,this.onBand=!1};n.prototype={constructor:n,contain:function(c){var h=this._extent,f=Math.min(h[0],h[1]),g=Math.max(h[0],h[1]);return c>=f&&c<=g},containData:function(c){return this.scale.contain(c)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(c){return p(c||this.scale.getExtent(),this._extent)},setExtent:function(c,h){var f=this._extent;f[0]=c,f[1]=h},dataToCoord:function(c,h){var f=this._extent,g=this.scale;return c=g.normalize(c),this.onBand&&g.type==="ordinal"&&(f=f.slice(),l(f,g.count())),v(c,i,f,h)},coordToData:function(c,h){var f=this._extent,g=this.scale;this.onBand&&g.type==="ordinal"&&(f=f.slice(),l(f,g.count()));var S=v(c,f,i,h);return this.scale.scale(S)},pointToData:function(c,h){},getTicksCoords:function(c){c=c||{};var h=c.tickModel||this.getTickModel(),f=o(this,h),g=f.ticks,S=b(g,function(E){return{coord:this.dataToCoord(E),tickValue:E}},this),y=h.get("alignWithLabel");return t(this,S,y,c.clamp),S},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var c=this.model.getModel("minorTick"),h=c.get("splitNumber");h>0&&h<100||(h=5);var f=this.scale.getMinorTicks(h),g=b(f,function(S){return b(S,function(y){return{coord:this.dataToCoord(y),tickValue:y}},this)},this);return g},getViewLabels:function(){return e(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var c=this._extent,h=this.scale.getExtent(),f=h[1]-h[0]+(this.onBand?1:0);f===0&&(f=1);var g=Math.abs(c[1]-c[0]);return Math.abs(g)/f},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return r(this)}};function l(c,h){var f=c[1]-c[0],g=h,S=f/g/2;c[0]+=S,c[1]-=S}function t(c,h,f,g){var S=h.length;if(!c.onBand||f||!S)return;var y=c.getExtent(),E,C;if(S===1)h[0].coord=y[0],E=h[1]={coord:y[0]};else{var T=h[S-1].tickValue-h[0].tickValue,x=(h[S-1].coord-h[0].coord)/T;A(h,function(D){D.coord-=x/2});var _=c.scale.getExtent();C=1+_[1]-h[S-1].tickValue,E={coord:h[S-1].coord+x*C},h.push(E)}var I=y[0]>y[1];L(h[0].coord,y[0])&&(g?h[0].coord=y[0]:h.shift()),g&&L(y[0],h[0].coord)&&h.unshift({coord:y[0]}),L(y[1],E.coord)&&(g?E.coord=y[1]:h.pop()),g&&L(E.coord,y[1])&&h.push({coord:y[1]});function L(D,B){return D=s(D),B=s(B),I?D>B:D<B}}var a=n;M.exports=a},hNWo:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("Qxkt"),m=d("4NO4"),v=m.isNameSpecified,p=d("Kagy"),s=p.legend.selector,u={all:{type:"all",title:A.clone(s.all)},inverse:{type:"inverse",title:A.clone(s.inverse)}},o=w.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(r,i,n){this.mergeDefaultAndTheme(r,n),r.selected=r.selected||{},this._updateSelector(r)},mergeOption:function(r){o.superCall(this,"mergeOption",r),this._updateSelector(r)},_updateSelector:function(r){var i=r.selector;i===!0&&(i=r.selector=["all","inverse"]),A.isArray(i)&&A.each(i,function(n,l){A.isString(n)&&(n={type:n}),i[l]=A.merge(n,u[n.type])})},optionUpdated:function(){this._updateData(this.ecModel);var r=this._data;if(r[0]&&this.get("selectedMode")==="single"){for(var i=!1,n=0;n<r.length;n++){var l=r[n].get("name");if(this.isSelected(l)){this.select(l),i=!0;break}}!i&&this.select(r[0].get("name"))}},_updateData:function(r){var i=[],n=[];r.eachRawSeries(function(a){var c=a.name;n.push(c);var h;if(a.legendVisualProvider){var f=a.legendVisualProvider,g=f.getAllNames();r.isSeriesFiltered(a)||(n=n.concat(g)),g.length?i=i.concat(g):h=!0}else h=!0;h&&v(a)&&i.push(a.name)}),this._availableNames=n;var l=this.get("data")||i,t=A.map(l,function(a){return(typeof a=="string"||typeof a=="number")&&(a={name:a}),new b(a,this,this.ecModel)},this);this._data=t},getData:function(){return this._data},select:function(r){var i=this.option.selected,n=this.get("selectedMode");if(n==="single"){var l=this._data;A.each(l,function(t){i[t.get("name")]=!1})}i[r]=!0},unSelect:function(r){this.get("selectedMode")!=="single"&&(this.option.selected[r]=!1)},toggleSelected:function(r){var i=this.option.selected;i.hasOwnProperty(r)||(i[r]=!0),this[i[r]?"unSelect":"select"](r)},allSelect:function(){var r=this._data,i=this.option.selected;A.each(r,function(n){i[n.get("name",!0)]=!0})},inverseSelect:function(){var r=this._data,i=this.option.selected;A.each(r,function(n){var l=n.get("name",!0);i.hasOwnProperty(l)||(i[l]=!0),i[l]=!i[l]})},isSelected:function(r){var i=this.option.selected;return!(i.hasOwnProperty(r)&&!i[r])&&A.indexOf(this._availableNames,r)>=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=o;M.exports=e},hOwI:function(M,P){var d=Math.log(2);function w(b,m,v,p,s,u){var o=p+"-"+s,e=b.length;if(u.hasOwnProperty(o))return u[o];if(m===1){var r=Math.round(Math.log((1<<e)-1&~s)/d);return b[v][r]}for(var i=p|1<<v,n=v+1;p&1<<n;)n++;for(var l=0,t=0,a=0;t<e;t++){var c=1<<t;c&s||(l+=(a%2?-1:1)*b[v][t]*w(b,m-1,n,i,s|c,u),a++)}return u[o]=l,l}function A(b,m){var v=[[b[0],b[1],1,0,0,0,-m[0]*b[0],-m[0]*b[1]],[0,0,0,b[0],b[1],1,-m[1]*b[0],-m[1]*b[1]],[b[2],b[3],1,0,0,0,-m[2]*b[2],-m[2]*b[3]],[0,0,0,b[2],b[3],1,-m[3]*b[2],-m[3]*b[3]],[b[4],b[5],1,0,0,0,-m[4]*b[4],-m[4]*b[5]],[0,0,0,b[4],b[5],1,-m[5]*b[4],-m[5]*b[5]],[b[6],b[7],1,0,0,0,-m[6]*b[6],-m[6]*b[7]],[0,0,0,b[6],b[7],1,-m[7]*b[6],-m[7]*b[7]]],p={},s=w(v,8,0,0,0,p);if(s===0)return;for(var u=[],o=0;o<8;o++)for(var e=0;e<8;e++)u[e]==null&&(u[e]=0),u[e]+=((o+e)%2?-1:1)*w(v,7,o===0?1:0,1<<o,1<<e,p)/s*m[o];return function(r,i,n){var l=i*u[6]+n*u[7]+1;r[0]=(i*u[0]+n*u[1]+u[2])/l,r[1]=(i*u[3]+n*u[4]+u[5])/l}}P.buildTransformer=A},hX1E:function(M,P){var d=Math.PI*2;function w(A){return A%=d,A<0&&(A+=d),A}P.normalizeRadian=w},hXwI:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;function w(v,p){if(!(v instanceof p))throw new TypeError("Cannot call a class as a function")}function A(v,p){for(var s=0;s<p.length;s++){var u=p[s];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(v,u.key,u)}}function b(v,p,s){return p&&A(v.prototype,p),s&&A(v,s),v}var m=function(){function v(){w(this,v)}return b(v,[{key:"decodeRect",value:function(s,u,o,e,r,i,n){if(r.rQwait("COPYRECT",4))return!1;var l=r.rQshift16(),t=r.rQshift16();return i.copyImage(l,t,s,u,o,e),!0}}]),v}();P.default=m},hi0g:function(M,P,d){var w=d("bYtY"),A=w.createHashMap,b=w.each,m=w.isString,v=w.defaults,p=w.extend,s=w.isObject,u=w.clone,o=d("4NO4"),e=o.normalizeToArray,r=d("D5nY"),i=r.guessOrdinal,n=r.BE_ORDINAL,l=d("7G+c"),t=d("L0Ub"),a=t.OTHER_DIMENSIONS,c=d("Vi4m");function h(y,E,C){l.isInstance(E)||(E=l.seriesDataToSource(E)),C=C||{},y=(y||[]).slice();for(var T=(C.dimsDef||[]).slice(),x=A(),_=A(),I=[],L=f(E,y,T,C.dimCount),D=0;D<L;D++){var B=T[D]=p({},s(T[D])?T[D]:{name:T[D]}),N=B.name,k=I[D]=new c;N!=null&&x.get(N)==null&&(k.name=k.displayName=N,x.set(N,D)),B.type!=null&&(k.type=B.type),B.displayName!=null&&(k.displayName=B.displayName)}var W=C.encodeDef;!W&&C.encodeDefaulter&&(W=C.encodeDefaulter(E,L)),W=A(W),W.each(function(ae,se){if(ae=e(ae).slice(),ae.length===1&&!m(ae[0])&&ae[0]<0){W.set(se,!1);return}var $=W.set(se,[]);b(ae,function(ge,he){m(ge)&&(ge=x.get(ge)),ge!=null&&ge<L&&($[he]=ge,j(I[ge],se,he))})});var R=0;b(y,function(ae,se){var $,ae,ge,he;if(m(ae))$=ae,ae={};else{$=ae.name;var Ie=ae.ordinalMeta;ae.ordinalMeta=null,ae=u(ae),ae.ordinalMeta=Ie,ge=ae.dimsDef,he=ae.otherDims,ae.name=ae.coordDim=ae.coordDimIndex=ae.dimsDef=ae.otherDims=null}var Se=W.get($);if(Se===!1)return;var Se=e(Se);if(!Se.length)for(var Le=0;Le<(ge&&ge.length||1);Le++){for(;R<I.length&&I[R].coordDim!=null;)R++;R<I.length&&Se.push(R++)}b(Se,function(He,G){var pe=I[He];if(j(v(pe,ae),$,G),pe.name==null&&ge){var We=ge[G];!s(We)&&(We={name:We}),pe.name=pe.displayName=We.name,pe.defaultTooltip=We.defaultTooltip}he&&v(pe.otherDims,he)})});function j(ae,se,$){a.get(se)!=null?ae.otherDims[se]=$:(ae.coordDim=se,ae.coordDimIndex=$,_.set(se,!0))}var H=C.generateCoord,K=C.generateCoordCount,U=K!=null;K=H?K||1:0;for(var Q=H||"value",V=0;V<L;V++){var k=I[V]=I[V]||new c,J=k.coordDim;J==null&&(k.coordDim=g(Q,_,U),k.coordDimIndex=0,(!H||K<=0)&&(k.isExtraCoord=!0),K--),k.name==null&&(k.name=g(k.coordDim,x)),k.type==null&&(i(E,V,k.name)===n.Must||k.isExtraCoord&&(k.otherDims.itemName!=null||k.otherDims.seriesName!=null))&&(k.type="ordinal")}return I}function f(y,E,C,T){var x=Math.max(y.dimensionsDetectCount||1,E.length,C.length,T||0);return b(E,function(_){var I=_.dimsDef;I&&(x=Math.max(x,I.length))}),x}function g(y,E,C){if(C||E.get(y)!=null){for(var T=0;E.get(y+T)!=null;)T++;y+=T}return E.set(y,!0),y}var S=h;M.exports=S},hw6D:function(M,P,d){var w=d("bYtY");function A(v){v.eachSeriesByType("radar",function(p){var s=p.getData(),u=[],o=p.coordinateSystem;if(!o)return;var e=o.getIndicatorAxes();w.each(e,function(r,i){s.each(s.mapDimension(e[i].dim),function(n,l){u[l]=u[l]||[];var t=o.dataToPoint(n,i);u[l][i]=b(t)?t:m(o)})}),s.each(function(r){var i=w.find(u[r],function(n){return b(n)})||m(o);u[r].push(i.slice()),s.setItemLayout(r,u[r])})})}function b(v){return!isNaN(v[0])&&!isNaN(v[1])}function m(v){return[v.cx,v.cy]}M.exports=A},hw6N:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("O6sM"),m=d.n(b)},hydK:function(M,P){var d="http://www.w3.org/2000/svg";function w(A){return document.createElementNS(d,A)}P.createElement=w},hyiK:function(M,P){function d(w,A,b,m,v,p){if(p>A&&p>m||p<A&&p<m)return 0;if(m===A)return 0;var s=m<A?1:-1,u=(p-A)/(m-A);(u===1||u===0)&&(s=m<A?.5:-.5);var o=u*(b-w)+w;return o===v?Infinity:o>v?s:0}M.exports=d},i38C:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=b.createHashMap,v=b.retrieve,p=b.each;function s(r){this.coordSysName=r,this.coordSysDims=[],this.axisMap=m(),this.categoryAxisMap=m(),this.firstCategoryDimIndex=null}function u(r){var i=r.get("coordinateSystem"),n=new s(i),l=o[i];if(l)return l(r,n,n.axisMap,n.categoryAxisMap),n}var o={cartesian2d:function(r,i,n,l){var t=r.getReferringComponents("xAxis")[0],a=r.getReferringComponents("yAxis")[0];i.coordSysDims=["x","y"],n.set("x",t),n.set("y",a),e(t)&&(l.set("x",t),i.firstCategoryDimIndex=0),e(a)&&(l.set("y",a),i.firstCategoryDimIndex==null&(i.firstCategoryDimIndex=1))},singleAxis:function(r,i,n,l){var t=r.getReferringComponents("singleAxis")[0];i.coordSysDims=["single"],n.set("single",t),e(t)&&(l.set("single",t),i.firstCategoryDimIndex=0)},polar:function(r,i,n,l){var t=r.getReferringComponents("polar")[0],a=t.findAxisModel("radiusAxis"),c=t.findAxisModel("angleAxis");i.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",c),e(a)&&(l.set("radius",a),i.firstCategoryDimIndex=0),e(c)&&(l.set("angle",c),i.firstCategoryDimIndex==null&&(i.firstCategoryDimIndex=1))},geo:function(r,i,n,l){i.coordSysDims=["lng","lat"]},parallel:function(r,i,n,l){var t=r.ecModel,a=t.getComponent("parallel",r.get("parallelIndex")),c=i.coordSysDims=a.dimensions.slice();p(a.parallelAxisIndex,function(h,f){var g=t.getComponent("parallelAxis",h),S=c[f];n.set(S,g),e(g)&&i.firstCategoryDimIndex==null&&(l.set(S,g),i.firstCategoryDimIndex=f)})}};function e(r){return r.get("type")==="category"}P.getCoordSysInfoBySeries=u},iK5Y:function(M,P,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("U8pU"),m=d("KQm4"),v=d("ODXe"),p=d("o0o1"),s=d.n(p),u=d("q1tI"),o=d.n(u),e=d("1OyB"),r=d("vuIU"),i=d("Ji7U"),n=d("LK+K"),l=d("Ff2n"),t=d("HaE+"),a=d("TSYQ"),c=d.n(a),h=d("bX4T");function f(xt,Ot){var At="cannot ".concat(xt.method," ").concat(xt.action," ").concat(Ot.status,"'"),Jt=new Error(At);return Jt.status=Ot.status,Jt.method=xt.method,Jt.url=xt.action,Jt}function g(xt){var Ot=xt.responseText||xt.response;if(!Ot)return Ot;try{return JSON.parse(Ot)}catch(At){return Ot}}function S(xt){var Ot=new XMLHttpRequest;xt.onProgress&&Ot.upload&&(Ot.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(Zr){At.append("".concat(br,"[]"),Zr)});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),Ot.onerror=function(Lr){xt.onError(Lr)},Ot.onload=function(){return Ot.status<200||Ot.status>=300?xt.onError(f(xt,Ot),g(Ot)):xt.onSuccess(g(Ot),Ot)},Ot.open(xt.method,xt.action,!0),xt.withCredentials&&"withCredentials"in Ot&&(Ot.withCredentials=!0);var Jt=xt.headers||{};return Jt["X-Requested-With"]!==null&&Ot.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Jt).forEach(function(br){Jt[br]!==null&&Ot.setRequestHeader(br,Jt[br])}),Ot.send(At),{abort:function(){Ot.abort()}}}var y=+new Date,E=0;function C(){return"rc-upload-".concat(y,"-").concat(++E)}var T=d("Kwbf"),x=function(xt,Ot){if(xt&&Ot){var At=Array.isArray(Ot)?Ot:Ot.split(","),Jt=xt.name||"",br=xt.type||"",Lr=br.replace(/\/.*$/,"");return At.some(function(Zr){var In=Zr.trim();if(/^\*(\/\*)?$/.test(Zr))return!0;if(In.charAt(0)==="."){var Gr=Jt.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,Ot){var At=xt.createReader(),Jt=[];function br(){At.readEntries(function(Lr){var Zr=Array.prototype.slice.apply(Lr);Jt=Jt.concat(Zr);var In=!Zr.length;In?Ot(Jt):br()})}br()}var I=function(Ot,At,Jt){var br=function Lr(Zr,In){Zr.path=In||"",Zr.isFile?Zr.file(function(Gr){Jt(Gr)&&(Zr.fullPath&&!Gr.webkitRelativePath&&(Object.defineProperties(Gr,{webkitRelativePath:{writable:!0}}),Gr.webkitRelativePath=Zr.fullPath.replace(/^\//,""),Object.defineProperties(Gr,{webkitRelativePath:{writable:!1}})),At([Gr]))}):Zr.isDirectory&&_(Zr,function(Gr){Gr.forEach(function(Tr){Lr(Tr,"".concat(In).concat(Zr.name,"/"))})})};Ot.forEach(function(Lr){br(Lr.webkitGetAsEntry())})},L=I,D=function(xt){Object(i.a)(At,xt);var Ot=Object(n.a)(At);function At(){var Jt;return Object(e.a)(this,At),Jt=Ot.apply(this,arguments),Jt.state={uid:C()},Jt.reqs={},Jt.onChange=function(br){var Lr=Jt.props,Zr=Lr.accept,In=Lr.directory,Gr=br.target.files,Tr=Object(m.a)(Gr).filter(function(fr){return!In||x(fr,Zr)});Jt.uploadFiles(Tr),Jt.reset()},Jt.onClick=function(br){var Lr=Jt.fileInput;if(!Lr)return;var Zr=Jt.props,In=Zr.children,Gr=Zr.onClick;if(In&&In.type==="button"){var Tr=Lr.parentNode;Tr.focus(),Tr.querySelector("button").blur()}Lr.click(),Gr&&Gr(br)},Jt.onKeyDown=function(br){br.key==="Enter"&&Jt.onClick(br)},Jt.onFileDrop=function(br){var Lr=Jt.props.multiple;if(br.preventDefault(),br.type==="dragover")return;if(Jt.props.directory)L(Array.prototype.slice.call(br.dataTransfer.items),Jt.uploadFiles,function(In){return x(In,Jt.props.accept)});else{var Zr=Object(m.a)(br.dataTransfer.files).filter(function(In){return x(In,Jt.props.accept)});Lr===!1&&(Zr=Zr.slice(0,1)),Jt.uploadFiles(Zr)}},Jt.uploadFiles=function(br){var Lr=Object(m.a)(br),Zr=Lr.map(function(In){return In.uid=C(),Jt.processFile(In,Lr)});Promise.all(Zr).then(function(In){var Gr=Jt.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){Jt.post(Tr)})})},Jt.processFile=function(){var br=Object(t.a)(s.a.mark(function Lr(Zr,In){var Gr,Tr,fr,vt,ft,De,je,Ye,st;return s.a.wrap(function($t){for(;;)switch($t.prev=$t.next){case 0:if(Gr=Jt.props.beforeUpload,Tr=Zr,!Gr){$t.next=14;break}return $t.prev=3,$t.next=6,Gr(Zr,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:Zr,parsedFile:null,action:null,data:null});case 14:if(fr=Jt.props.action,!(typeof fr=="function")){$t.next=21;break}return $t.next=18,fr(Zr);case 18:vt=$t.sent,$t.next=22;break;case 21:vt=fr;case 22:if(ft=Jt.props.data,!(typeof ft=="function")){$t.next=29;break}return $t.next=26,ft(Zr);case 26:De=$t.sent,$t.next=30;break;case 29:De=ft;case 30:return je=(Object(b.a)(Tr)==="object"||typeof Tr=="string")&&Tr?Tr:Zr,je instanceof File?Ye=je:Ye=new File([je],Zr.name,{type:Zr.type}),st=Ye,st.uid=Zr.uid,$t.abrupt("return",{origin:Zr,data:De,parsedFile:st,action:vt});case 35:case"end":return $t.stop()}},Lr,null,[[3,9]])}));return function(Lr,Zr){return br.apply(this,arguments)}}(),Jt.saveFileInput=function(br){Jt.fileInput=br},Jt}return Object(r.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,Zr=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,De=fr.name,je=fr.headers,Ye=fr.withCredentials,st=fr.method,kt=In.uid,$t=ft||S,Nr={action:Gr,filename:De,data:Zr,file:Tr,headers:je,withCredentials:Ye,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[kt]},onError:function(un,Kt){var St=Lr.props.onError;St==null||St(un,Kt,Tr),delete Lr.reqs[kt]}};vt(In),this.reqs[kt]=$t(Nr)}},{key:"reset",value:function(){this.setState({uid:C()})}},{key:"abort",value:function(br){var Lr=this.reqs;if(br){var Zr=br.uid?br.uid:br;Lr[Zr]&&Lr[Zr].abort&&Lr[Zr].abort(),delete Lr[Zr]}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,Zr=Lr.component,In=Lr.prefixCls,Gr=Lr.className,Tr=Lr.disabled,fr=Lr.id,vt=Lr.style,ft=Lr.multiple,De=Lr.accept,je=Lr.children,Ye=Lr.directory,st=Lr.openFileDialogOnClick,kt=Lr.onMouseEnter,$t=Lr.onMouseLeave,Nr=Lr.capture,yn=Object(l.a)(Lr,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","capture"]),un=c()((br={},Object(w.a)(br,In,!0),Object(w.a)(br,"".concat(In,"-disabled"),Tr),Object(w.a)(br,Gr,Gr),br)),Kt=Ye?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},St=Tr?{}:{onClick:st?this.onClick:function(){},onKeyDown:st?this.onKeyDown:function(){},onMouseEnter:kt,onMouseLeave:$t,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return o.a.createElement(Zr,Object(A.a)({},St,{className:un,role:"button",style:vt}),o.a.createElement("input",Object(A.a)({},Object(h.a)(yn,{aria:!0,data:!0}),{id:fr,type:"file",ref:this.saveFileInput,onClick:function(Zt){return Zt.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:De},Kt,{multiple:ft,onChange:this.onChange},Nr!=null?{capture:Nr}:{})),je)}}]),At}(u.Component),B=D;function N(){}var k=function(xt){Object(i.a)(At,xt);var Ot=Object(n.a)(At);function At(){var Jt;return Object(e.a)(this,At),Jt=Ot.apply(this,arguments),Jt.saveUploader=function(br){Jt.uploader=br},Jt}return Object(r.a)(At,[{key:"abort",value:function(br){this.uploader.abort(br)}},{key:"render",value:function(){return o.a.createElement(B,Object(A.a)({},this.props,{ref:this.saveUploader}))}}]),At}(u.Component);k.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:N,onError:N,onSuccess:N,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var W=k,R=W,j=d("6cGi"),H=function(xt,Ot){var At={};for(var Jt in xt)Object.prototype.hasOwnProperty.call(xt,Jt)&&Ot.indexOf(Jt)<0&&(At[Jt]=xt[Jt]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var br=0,Jt=Object.getOwnPropertySymbols(xt);br<Jt.length;br++)Ot.indexOf(Jt[br])<0&&Object.prototype.propertyIsEnumerable.call(xt,Jt[br])&&(At[Jt[br]]=xt[Jt[br]]);return At},K=function(Ot,At){var Jt=Ot.style,br=Ot.height,Lr=H(Ot,["style","height"]);return u.createElement(pr,Object(A.a)({ref:At},Lr,{type:"drag",style:Object(A.a)(Object(A.a)({},Jt),{height:br})}))},U=u.forwardRef(K);U.displayName="Dragger";var Q=U,V=d("8XRh"),J=d("ye1Q"),ae=d("VTBJ"),se={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"},$=se,ge=d("6VBw"),he=function(Ot,At){return u.createElement(ge.a,Object(ae.a)(Object(ae.a)({},Ot),{},{ref:At,icon:$}))};he.displayName="PaperClipOutlined";var Ie=u.forwardRef(he),Se={icon:function(Ot,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:Ot}},{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:Ot}}]}},name:"picture",theme:"twotone"},Le=Se,He=function(Ot,At){return u.createElement(ge.a,Object(ae.a)(Object(ae.a)({},Ot),{},{ref:At,icon:Le}))};He.displayName="PictureTwoTone";var G=u.forwardRef(He),pe={icon:function(Ot,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:Ot}}]}},name:"file",theme:"twotone"},We=pe,te=function(Ot,At){return u.createElement(ge.a,Object(ae.a)(Object(ae.a)({},Ot),{},{ref:At,icon:We}))};te.displayName="FileTwoTone";var X=u.forwardRef(te),z=d("kLeg");function Z(xt){return Object(A.a)(Object(A.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 be(xt,Ot){var At=Object(m.a)(Ot),Jt=At.findIndex(function(br){var Lr=br.uid;return Lr===xt.uid});return Jt===-1?At.push(xt):At[Jt]=xt,At}function ne(xt,Ot){var At=xt.uid!==void 0?"uid":"name";return Ot.filter(function(Jt){return Jt[At]===xt[At]})[0]}function Ae(xt,Ot){var At=xt.uid!==void 0?"uid":"name",Jt=Ot.filter(function(br){return br[At]!==xt[At]});return Jt.length===Ot.length?null:Jt}var Ne=function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",At=Ot.split("/"),Jt=At[At.length-1],br=Jt.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(br)||[""])[0]},oe=function(Ot){return Ot.indexOf("image/")===0},de=function(Ot){if(Ot.type&&!Ot.thumbUrl)return oe(Ot.type);var At=Ot.thumbUrl||Ot.url||"",Jt=Ne(At);return/^data:image\//.test(At)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(Jt)?!0:/^data:/.test(At)?!1:!Jt},xe=200;function Pe(xt){return new Promise(function(Ot){if(!xt.type||!oe(xt.type)){Ot("");return}var At=document.createElement("canvas");At.width=xe,At.height=xe,At.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(xe,"px; height: ").concat(xe,"px; z-index: 9999; display: none;"),document.body.appendChild(At);var Jt=At.getContext("2d"),br=new Image;br.onload=function(){var Lr=br.width,Zr=br.height,In=xe,Gr=xe,Tr=0,fr=0;Lr>Zr?(Gr=Zr*(xe/Lr),fr=-(Gr-In)/2):(In=Lr*(xe/Zr),Tr=-(In-Gr)/2),Jt.drawImage(br,Tr,fr,In,Gr);var vt=At.toDataURL();document.body.removeChild(At),Ot(vt)},br.src=window.URL.createObjectURL(xt)})}var tt=d("MZCN"),Je=d("9R2V"),Oe=d("Fc8i"),pt=d("oMPz"),Qe=d("9BLJ"),nt=d("/MfK"),bt=d("dF/Y"),Tt=d("d+VM"),Ct=d("9HCz"),Nt=u.forwardRef(function(xt,Ot){var At,Jt=xt.prefixCls,br=xt.className,Lr=xt.style,Zr=xt.locale,In=xt.listType,Gr=xt.file,Tr=xt.items,fr=xt.progress,vt=xt.iconRender,ft=xt.actionIconRender,De=xt.itemRender,je=xt.isImgUrl,Ye=xt.showPreviewIcon,st=xt.showRemoveIcon,kt=xt.showDownloadIcon,$t=xt.removeIcon,Nr=xt.downloadIcon,yn=xt.onPreview,un=xt.onDownload,Kt=xt.onClose,St,Mt,Zt=u.useState(!1),kr=Object(v.a)(Zt,2),Hr=kr[0],$r=kr[1],Bt=u.useRef();u.useEffect(function(){return Bt.current=setTimeout(function(){$r(!0)},300),function(){window.clearTimeout(Bt.current)}},[]);var cr="".concat(Jt,"-span"),Cr=vt(Gr),Br=u.createElement("div",{className:"".concat(Jt,"-text-icon")},Cr);if(In==="picture"||In==="picture-card")if(Gr.status==="uploading"||!Gr.thumbUrl&&!Gr.url){var zr,An=c()((zr={},Object(w.a)(zr,"".concat(Jt,"-list-item-thumbnail"),!0),Object(w.a)(zr,"".concat(Jt,"-list-item-file"),Gr.status!=="uploading"),zr));Br=u.createElement("div",{className:An},Cr)}else{var bn,Sn=(je==null?void 0:je(Gr))?u.createElement("img",{src:Gr.thumbUrl||Gr.url,alt:Gr.name,className:"".concat(Jt,"-list-item-image")}):Cr,Mn=c()((bn={},Object(w.a)(bn,"".concat(Jt,"-list-item-thumbnail"),!0),Object(w.a)(bn,"".concat(Jt,"-list-item-file"),je&&!je(Gr)),bn));Br=u.createElement("a",{className:Mn,onClick:function(jt){return yn(Gr,jt)},href:Gr.url||Gr.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Sn)}var ei=c()((At={},Object(w.a)(At,"".concat(Jt,"-list-item"),!0),Object(w.a)(At,"".concat(Jt,"-list-item-").concat(Gr.status),!0),Object(w.a)(At,"".concat(Jt,"-list-item-list-type-").concat(In),!0),At)),Zn=typeof Gr.linkProps=="string"?JSON.parse(Gr.linkProps):Gr.linkProps,ai=st?ft((typeof $t=="function"?$t(Gr):$t)||u.createElement(nt.a,null),function(){return Kt(Gr)},Jt,Zr.removeFile):null,ii=kt&&Gr.status==="done"?ft((typeof Nr=="function"?Nr(Gr):Nr)||u.createElement(bt.a,null),function(){return un(Gr)},Jt,Zr.downloadFile):null,$e=In!=="picture-card"&&u.createElement("span",{key:"download-delete",className:c()("".concat(Jt,"-list-item-card-actions"),{picture:In==="picture"})},ii,ai),Te=c()("".concat(Jt,"-list-item-name")),ke=Gr.url?[u.createElement("a",Object(A.a)({key:"view",target:"_blank",rel:"noopener noreferrer",className:Te,title:Gr.name},Zn,{href:Gr.url,onClick:function(jt){return yn(Gr,jt)}}),Gr.name),$e]:[u.createElement("span",{key:"view",className:Te,onClick:function(jt){return yn(Gr,jt)},title:Gr.name},Gr.name),$e],Me={pointerEvents:"none",opacity:.5},Ze=Ye?u.createElement("a",{href:Gr.url||Gr.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Gr.url||Gr.thumbUrl?void 0:Me,onClick:function(jt){return yn(Gr,jt)},title:Zr.previewFile},u.createElement(Qe.a,null)):null,Xe=In==="picture-card"&&Gr.status!=="uploading"&&u.createElement("span",{className:"".concat(Jt,"-list-item-actions")},Ze,Gr.status==="done"&&ii,ai),qe;Gr.response&&typeof Gr.response=="string"?qe=Gr.response:qe=((St=Gr.error)===null||St===void 0?void 0:St.statusText)||((Mt=Gr.error)===null||Mt===void 0?void 0:Mt.message)||Zr.uploadError;var mt=u.createElement("span",{className:cr},Br,ke),ht=u.useContext(Je.b),Vt=ht.getPrefixCls,dr=Vt(),tr=u.createElement("div",{className:ei},u.createElement("div",{className:"".concat(Jt,"-list-item-info")},mt),Xe,Hr&&u.createElement(V.default,{motionName:"".concat(dr,"-fade"),visible:Gr.status==="uploading",motionDeadline:2e3},function(gr){var jt=gr.className,Sr="percent"in Gr?u.createElement(Ct.a,Object(A.a)({},fr,{type:"line",percent:Gr.percent})):null;return u.createElement("div",{className:c()("".concat(Jt,"-list-item-progress"),jt)},Sr)})),ir=c()("".concat(Jt,"-list-").concat(In,"-container"),br),_t=Gr.status==="error"?u.createElement(Tt.a,{title:qe,getPopupContainer:function(jt){return jt.parentNode}},tr):tr;return u.createElement("div",{className:ir,style:Lr,ref:Ot},De?De(_t,Gr,Tr,{download:un.bind(null,Gr),preview:yn.bind(null,Gr),remove:Kt.bind(null,Gr)}):_t)}),Ge=Nt,ie=Object(A.a)({},tt.a);delete ie.onAppearEnd,delete ie.onEnterEnd,delete ie.onLeaveEnd;var Y=function(Ot,At){var Jt,br=Ot.listType,Lr=Ot.previewFile,Zr=Ot.onPreview,In=Ot.onDownload,Gr=Ot.onRemove,Tr=Ot.locale,fr=Ot.iconRender,vt=Ot.isImageUrl,ft=Ot.prefixCls,De=Ot.items,je=De===void 0?[]:De,Ye=Ot.showPreviewIcon,st=Ot.showRemoveIcon,kt=Ot.showDownloadIcon,$t=Ot.removeIcon,Nr=Ot.downloadIcon,yn=Ot.progress,un=Ot.appendAction,Kt=Ot.itemRender,St=Object(pt.a)(),Mt=u.useState(!1),Zt=Object(v.a)(Mt,2),kr=Zt[0],Hr=Zt[1];u.useEffect(function(){if(br!=="picture"&&br!=="picture-card")return;(je||[]).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($e){ii.thumbUrl=$e||"",St()})})},[br,je,Lr]),u.useEffect(function(){Hr(!0)},[]);var $r=function($e,Te){return Zr?(Te==null||Te.preventDefault(),Zr($e)):void 0},Bt=function($e){typeof In=="function"?In($e):$e.url&&window.open($e.url)},cr=function($e){Gr==null||Gr($e)},Cr=function($e){if(fr)return fr($e,br);var Te=$e.status==="uploading",ke=vt&&vt($e)?u.createElement(G,null):u.createElement(X,null),Me=Te?u.createElement(J.a,null):u.createElement(Ie,null);return br==="picture"?Me=Te?u.createElement(J.a,null):ke:br==="picture-card"&&(Me=Te?Tr.uploading:ke),Me},Br=function($e,Te,ke,Me){var Ze={type:"text",size:"small",title:Me,onClick:function(mt){Te(),Object(z.b)($e)&&$e.props.onClick&&$e.props.onClick(mt)},className:"".concat(ke,"-list-item-card-actions-btn")};if(Object(z.b)($e)){var Xe=Object(z.a)($e,Object(A.a)(Object(A.a)({},$e.props),{onClick:function(){}}));return u.createElement(Oe.a,Object(A.a)({},Ze,{icon:Xe}))}return u.createElement(Oe.a,Ze,u.createElement("span",null,$e))};u.useImperativeHandle(At,function(){return{handlePreview:$r,handleDownload:Bt}});var zr=u.useContext(Je.b),An=zr.getPrefixCls,bn=zr.direction,Sn=An("upload",ft),Mn=c()((Jt={},Object(w.a)(Jt,"".concat(Sn,"-list"),!0),Object(w.a)(Jt,"".concat(Sn,"-list-").concat(br),!0),Object(w.a)(Jt,"".concat(Sn,"-list-rtl"),bn==="rtl"),Jt)),ei=Object(m.a)(je.map(function(ii){return{key:ii.uid,file:ii}})),Zn=br==="picture-card"?"animate-inline":"animate",ai={motionDeadline:2e3,motionName:"".concat(Sn,"-").concat(Zn),keys:ei,motionAppear:kr};return br!=="picture-card"&&(ai=Object(A.a)(Object(A.a)({},ie),ai)),u.createElement("div",{className:Mn},u.createElement(V.CSSMotionList,Object(A.a)({},ai,{component:!1}),function(ii){var $e=ii.key,Te=ii.file,ke=ii.className,Me=ii.style;return u.createElement(Ge,{key:$e,locale:Tr,prefixCls:Sn,className:ke,style:Me,file:Te,items:je,progress:yn,listType:br,isImgUrl:vt,showPreviewIcon:Ye,showRemoveIcon:st,showDownloadIcon:kt,removeIcon:$t,downloadIcon:Nr,iconRender:Cr,actionIconRender:Br,itemRender:Kt,onPreview:$r,onDownload:Bt,onClose:cr})}),un&&u.createElement(V.default,ai,function(ii){var $e=ii.className,Te=ii.style;return Object(z.a)(un,function(ke){return{className:c()(ke.className,$e),style:Object(A.a)(Object(A.a)({},Te),ke.style)}})}))},we=u.forwardRef(Y);we.displayName="UploadList",we.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:Pe,isImageUrl:de};var Ce=we,le=d("VM9+"),ot=d("n3rz"),wt=d("bq+4"),rt=function(xt,Ot,At,Jt){function br(Lr){return Lr instanceof At?Lr:new At(function(Zr){Zr(Lr)})}return new(At||(At=Promise))(function(Lr,Zr){function In(fr){try{Tr(Jt.next(fr))}catch(vt){Zr(vt)}}function Gr(fr){try{Tr(Jt.throw(fr))}catch(vt){Zr(vt)}}function Tr(fr){fr.done?Lr(fr.value):br(fr.value).then(In,Gr)}Tr((Jt=Jt.apply(xt,Ot||[])).next())})},It="__LIST_IGNORE_".concat(Date.now(),"__"),Gt=function(Ot,At){var Jt,br=Ot.fileList,Lr=Ot.defaultFileList,Zr=Ot.onRemove,In=Ot.showUploadList,Gr=Ot.listType,Tr=Ot.onPreview,fr=Ot.onDownload,vt=Ot.onChange,ft=Ot.onDrop,De=Ot.previewFile,je=Ot.disabled,Ye=Ot.locale,st=Ot.iconRender,kt=Ot.isImageUrl,$t=Ot.progress,Nr=Ot.prefixCls,yn=Ot.className,un=Ot.type,Kt=Ot.children,St=Ot.style,Mt=Ot.itemRender,Zt=Ot.maxCount,kr=Object(j.a)(Lr||[],{value:br,postState:function(ir){return ir!=null?ir:[]}}),Hr=Object(v.a)(kr,2),$r=Hr[0],Bt=Hr[1],cr=u.useState("drop"),Cr=Object(v.a)(cr,2),Br=Cr[0],zr=Cr[1],An=u.useRef();u.useEffect(function(){Object(wt.a)("fileList"in Ot||!("value"in Ot),"Upload","`value` is not a valid prop, do you mean `fileList`?"),Object(wt.a)(!("transformFile"in Ot),"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly.")},[]),u.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);Zt===1?jt=jt.slice(-1):Zt&&(jt=jt.slice(0,Zt)),Bt(jt);var Sr={file:ir,fileList:jt};gr&&(Sr.event=gr),vt==null||vt(Sr)},Sn=function(ir,_t){return rt(void 0,void 0,void 0,s.a.mark(function gr(){var jt,Sr,Ar,sr;return s.a.wrap(function(_n){for(;;)switch(_n.prev=_n.next){case 0:if(jt=Ot.beforeUpload,Sr=Ot.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[It],!(sr===It)){_n.next=12;break}return Object.defineProperty(ir,It,{value:!0,configurable:!0}),_n.abrupt("return",!1);case 12:Object(b.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)}))},Mn=function(ir){var _t=ir.filter(function(Sr){return!Sr.file[It]});if(!_t.length)return;var gr=_t.map(function(Sr){return Z(Sr.file)}),jt=Object(m.a)($r);gr.forEach(function(Sr){jt=be(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(zn){_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(!ne(_t,$r))return;var jt=Z(_t);jt.status="done",jt.percent=100,jt.response=ir,jt.xhr=gr;var Sr=be(jt,$r);bn(jt,Sr)},Zn=function(ir,_t){if(!ne(_t,$r))return;var gr=Z(_t);gr.status="uploading",gr.percent=ir.percent;var jt=be(gr,$r);bn(gr,jt,ir)},ai=function(ir,_t,gr){if(!ne(gr,$r))return;var jt=Z(gr);jt.error=ir,jt.response=_t,jt.status="error";var Sr=be(jt,$r);bn(jt,Sr)},ii=function(ir){var _t;Promise.resolve(typeof Zr=="function"?Zr(ir):Zr).then(function(gr){var jt;if(gr===!1)return;var Sr=Ae(ir,$r);Sr&&(_t=Object(A.a)(Object(A.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))})},$e=function(ir){zr(ir.type),ir.type==="drop"&&(ft==null||ft(ir))};u.useImperativeHandle(At,function(){return{onBatchStart:Mn,onSuccess:ei,onProgress:Zn,onError:ai,fileList:$r,upload:An.current}});var Te=u.useContext(Je.b),ke=Te.getPrefixCls,Me=Te.direction,Ze=ke("upload",Nr),Xe=Object(A.a)(Object(A.a)({onBatchStart:Mn,onError:ai,onProgress:Zn,onSuccess:ei},Ot),{prefixCls:Ze,beforeUpload:Sn,onChange:void 0});delete Xe.className,delete Xe.style,(!Kt||je)&&delete Xe.id;var qe=function(ir){return In?u.createElement(le.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 u.createElement(Ce,{listType:Gr,items:$r,previewFile:De,onPreview:Tr,onDownload:fr,onRemove:ii,showRemoveIcon:!je&&jt,showPreviewIcon:Sr,showDownloadIcon:Ar,removeIcon:sr,downloadIcon:ln,iconRender:st,locale:Object(A.a)(Object(A.a)({},_t),Ye),isImageUrl:kt,progress:$t,appendAction:ir,itemRender:Mt})}):ir};if(un==="drag"){var mt,ht=c()(Ze,(mt={},Object(w.a)(mt,"".concat(Ze,"-drag"),!0),Object(w.a)(mt,"".concat(Ze,"-drag-uploading"),$r.some(function(tr){return tr.status==="uploading"})),Object(w.a)(mt,"".concat(Ze,"-drag-hover"),Br==="dragover"),Object(w.a)(mt,"".concat(Ze,"-disabled"),je),Object(w.a)(mt,"".concat(Ze,"-rtl"),Me==="rtl"),mt),yn);return u.createElement("span",null,u.createElement("div",{className:ht,onDrop:$e,onDragOver:$e,onDragLeave:$e,style:St},u.createElement(R,Object(A.a)({},Xe,{ref:An,className:"".concat(Ze,"-btn")}),u.createElement("div",{className:"".concat(Ze,"-drag-container")},Kt))),qe())}var Vt=c()(Ze,(Jt={},Object(w.a)(Jt,"".concat(Ze,"-select"),!0),Object(w.a)(Jt,"".concat(Ze,"-select-").concat(Gr),!0),Object(w.a)(Jt,"".concat(Ze,"-disabled"),je),Object(w.a)(Jt,"".concat(Ze,"-rtl"),Me==="rtl"),Jt)),dr=u.createElement("div",{className:Vt,style:Kt?void 0:{display:"none"}},u.createElement(R,Object(A.a)({},Xe,{ref:An})));return Gr==="picture-card"?u.createElement("span",{className:c()("".concat(Ze,"-picture-card-wrapper"),yn)},qe(dr)):u.createElement("span",{className:yn},dr,qe())},lr=u.forwardRef(Gt);lr.Dragger=Q,lr.LIST_IGNORE=It,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=Q;var Rr=P.a=pr},iLNv:function(M,P){var d="\0__throttleOriginMethod",w="\0__throttleRate",A="\0__throttleType";function b(p,s,u){var o,e=0,r=0,i=null,n,l,t,a;s=s||0;function c(){r=new Date().getTime(),i=null,p.apply(l,t||[])}var h=function(){o=new Date().getTime(),l=this,t=arguments;var f=a||s,g=a||u;a=null,n=o-(g?e:r)-f,clearTimeout(i),g?i=setTimeout(c,f):n>=0?c():i=setTimeout(c,-n),e=o};return h.clear=function(){i&&(clearTimeout(i),i=null)},h.debounceNextCall=function(f){a=f},h}function m(p,s,u,o){var e=p[s];if(!e)return;var r=e[d]||e,i=e[A],n=e[w];if(n!==u||i!==o){if(u==null||!o)return p[s]=r;e=p[s]=b(r,u,o==="debounce"),e[d]=r,e[A]=o,e[w]=u}return e}function v(p,s){var u=p[s];u&&u[d]&&(p[s]=u[d])}P.throttle=b,P.createOrUpdate=m,P.clear=v},iLsX:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("W4y/"),m=d.n(b),v=d("jOhD")},iPDy:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=w.extendComponentView({type:"marker",init:function(){this.markerGroupMap=A.createHashMap()},render:function(m,v,p){var s=this.markerGroupMap;s.each(function(o){o.__keep=!1});var u=this.type+"Model";v.eachSeries(function(o){var e=o[u];e&&this.renderSeries(o,e,v,p)},this),s.each(function(o){!o.__keep&&this.group.remove(o.group)},this)},renderSeries:function(){}});M.exports=b},iRjW:function(M,P,d){var w=d("bYtY"),A=d("Yl7c"),b=A.parseClassType,m=0;function v(u){return[u||"",m++,Math.random().toFixed(5)].join("_")}function p(u){var o={};return u.registerSubTypeDefaulter=function(e,r){e=b(e),o[e.main]=r},u.determineSubType=function(e,r){var i=r.type;if(!i){var n=b(e).main;u.hasSubTypes(e)&&o[n]&&(i=o[n](r))}return i},u}function s(u,o){u.topologicalTravel=function(n,l,t,a){if(!n.length)return;var c=e(l),h=c.graph,f=c.noEntryList,g={};for(w.each(n,function(x){g[x]=!0});f.length;){var S=f.pop(),y=h[S],E=!!g[S];E&&(t.call(a,S,y.originalDeps.slice()),delete g[S]),w.each(y.successor,E?T:C)}w.each(g,function(){throw new Error("Circle dependency may exists")});function C(x){h[x].entryCount--,h[x].entryCount===0&&f.push(x)}function T(x){g[x]=!0,C(x)}};function e(n){var l={},t=[];return w.each(n,function(a){var c=r(l,a),h=c.originalDeps=o(a),f=i(h,n);c.entryCount=f.length,c.entryCount===0&&t.push(a),w.each(f,function(g){w.indexOf(c.predecessor,g)<0&&c.predecessor.push(g);var S=r(l,g);w.indexOf(S.successor,g)<0&&S.successor.push(a)})}),{graph:l,noEntryList:t}}function r(n,l){return n[l]||(n[l]={predecessor:[],successor:[]}),n[l]}function i(n,l){var t=[];return w.each(n,function(a){w.indexOf(l,a)>=0&&t.push(a)}),t}}P.getUID=v,P.enableSubTypeDefaulter=p,P.enableTopologicalTravel=s},iUHT:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;function w(y,E){if(!(y instanceof E))throw new TypeError("Cannot call a class as a function")}function A(y,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(y,T.key,T)}}function b(y,E,C){return E&&A(y.prototype,E),C&&A(y,C),y}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],v=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],p=0,s,u,o,e,r,i;s=1<<16,u=1<<24,o=s|u,e=1<<2,r=1<<10,i=e|r;var n=[o|r,p|p,s|p,o|i,o|e,s|i,p|e,s|p,p|r,o|r,o|i,p|r,u|i,o|e,u|p,p|e,p|i,u|r,u|r,s|r,s|r,o|p,o|p,u|i,s|e,u|e,u|e,s|e,p|p,p|i,s|i,u|p,s|p,o|i,p|e,o|p,o|r,u|p,u|p,p|r,o|e,s|p,s|r,u|e,p|r,p|e,u|i,s|i,o|i,s|e,o|p,u|i,u|e,p|i,s|i,o|r,p|i,u|r,u|r,p|p,s|e,s|r,p|p,o|e];s=1<<20,u=1<<31,o=s|u,e=1<<5,r=1<<15,i=e|r;var l=[o|i,u|r,p|r,s|i,s|p,p|e,o|e,u|i,u|e,o|i,o|r,u|p,u|r,s|p,p|e,o|e,s|r,s|e,u|i,p|p,u|p,p|r,s|i,o|p,s|e,u|e,p|p,s|r,p|i,o|r,o|p,p|i,p|p,s|i,o|e,s|p,u|i,o|p,o|r,p|r,o|p,u|r,p|e,o|i,s|i,p|e,p|r,u|p,p|i,o|r,s|p,u|e,s|e,u|i,u|e,s|e,s|r,p|p,u|r,p|i,u|p,o|e,o|i,s|r];s=1<<17,u=1<<27,o=s|u,e=1<<3,r=1<<9,i=e|r;var t=[p|i,o|r,p|p,o|e,u|r,p|p,s|i,u|r,s|e,u|e,u|e,s|p,o|i,s|e,o|p,p|i,u|p,p|e,o|r,p|r,s|r,o|p,o|e,s|i,u|i,s|r,s|p,u|i,p|e,o|i,p|r,u|p,o|r,u|p,s|e,p|i,s|p,o|r,u|r,p|p,p|r,s|e,o|i,u|r,u|e,p|r,p|p,o|e,u|i,s|p,u|p,o|i,p|e,s|i,s|r,u|e,o|p,u|i,p|i,o|p,s|i,p|e,o|e,s|r];s=1<<13,u=1<<23,o=s|u,e=1<<0,r=1<<7,i=e|r;var a=[o|e,s|i,s|i,p|r,o|r,u|i,u|e,s|e,p|p,o|p,o|p,o|i,p|i,p|p,u|r,u|e,p|e,s|p,u|p,o|e,p|r,u|p,s|e,s|r,u|i,p|e,s|r,u|r,s|p,o|r,o|i,p|i,u|r,u|e,o|p,o|i,p|i,p|p,p|p,o|p,s|r,u|r,u|i,p|e,o|e,s|i,s|i,p|r,o|i,p|i,p|e,s|p,u|e,s|e,o|r,u|i,s|e,s|r,u|p,o|e,p|r,u|p,s|p,o|r];s=1<<25,u=1<<30,o=s|u,e=1<<8,r=1<<19,i=e|r;var c=[p|e,s|i,s|r,o|e,p|r,p|e,u|p,s|r,u|i,p|r,s|e,u|i,o|e,o|r,p|i,u|p,s|p,u|r,u|r,p|p,u|e,o|i,o|i,s|e,o|r,u|e,p|p,o|p,s|i,s|p,o|p,p|i,p|r,o|e,p|e,s|p,u|p,s|r,o|e,u|i,s|e,u|p,o|r,s|i,u|i,p|e,s|p,o|r,o|i,p|i,o|p,o|i,s|r,p|p,u|r,o|p,p|i,s|e,u|e,p|r,p|p,u|r,s|i,u|e];s=1<<22,u=1<<29,o=s|u,e=1<<4,r=1<<14,i=e|r;var h=[u|e,o|p,p|r,o|i,o|p,p|e,o|i,s|p,u|r,s|i,s|p,u|e,s|e,u|r,u|p,p|i,p|p,s|e,u|i,p|r,s|r,u|i,p|e,o|e,o|e,p|p,s|i,o|r,p|i,s|r,o|r,u|p,u|r,p|e,o|e,s|r,o|i,s|p,p|i,u|e,s|p,u|r,u|p,p|i,u|e,o|i,s|r,o|p,s|i,o|r,p|p,o|e,p|e,p|r,o|p,s|i,p|r,s|e,u|i,p|p,o|r,u|p,s|e,u|i];s=1<<21,u=1<<26,o=s|u,e=1<<1,r=1<<11,i=e|r;var f=[s|p,o|e,u|i,p|p,p|r,u|i,s|i,o|r,o|i,s|p,p|p,u|e,p|e,u|p,o|e,p|i,u|r,s|i,s|e,u|r,u|e,o|p,o|r,s|e,o|p,p|r,p|i,o|i,s|r,p|e,u|p,s|r,u|p,s|r,s|p,u|i,u|i,o|e,o|e,p|e,s|e,u|p,u|r,s|p,o|r,p|i,s|i,o|r,p|i,u|e,o|i,o|p,s|r,p|p,p|e,o|i,p|p,s|i,o|p,p|r,u|e,u|r,p|r,s|e];s=1<<18,u=1<<28,o=s|u,e=1<<6,r=1<<12,i=e|r;var g=[u|i,p|r,s|p,o|i,u|p,u|i,p|e,u|p,s|e,o|p,o|i,s|r,o|r,s|i,p|r,p|e,o|p,u|e,u|r,p|i,s|r,s|e,o|e,o|r,p|i,p|p,p|p,o|e,u|e,u|r,s|i,s|p,s|i,s|p,o|r,p|r,p|e,o|e,p|r,s|i,u|r,p|e,u|e,o|p,o|e,u|p,s|p,u|i,p|p,o|i,s|e,u|e,o|p,u|r,u|i,p|p,o|i,s|r,s|r,p|i,p|i,s|e,u|p,o|r],S=function(){function y(E){w(this,y),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 D=0;D<16;++D){var B=D<<1,N=B+1;x[B]=x[N]=0;for(var k=28;k<59;k+=28)for(var W=k-28;W<k;++W){var R=W+v[D];T[W]=R<k?C[R]:C[R-28]}for(var j=0;j<24;++j)T[m[j]]!==0&&(x[B]|=1<<23-j),T[m[j+24]]!==0&&(x[N]|=1<<23-j)}for(var H=0,K=0,U=0;H<16;++H){var Q=x[K++],V=x[K++];this.keys[U]=(Q&16515072)<<6,this.keys[U]|=(Q&4032)<<10,this.keys[U]|=(V&16515072)>>>10,this.keys[U]|=(V&4032)>>>6,++U,this.keys[U]=(Q&258048)<<12,this.keys[U]|=(Q&63)<<16,this.keys[U]|=(V&258048)>>>4,this.keys[U]|=V&63,++U}}return b(y,[{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 D=0,B=0;D<8;++D){L=I<<28|I>>>4,L^=this.keys[B++];var N=f[L&63];N|=c[L>>>8&63],N|=t[L>>>16&63],N|=n[L>>>24&63],L=I^this.keys[B++],N|=g[L&63],N|=h[L>>>8&63],N|=a[L>>>16&63],N|=l[L>>>24&63],_^=N,L=_<<28|_>>>4,L^=this.keys[B++],N=f[L&63],N|=c[L>>>8&63],N|=t[L>>>16&63],N|=n[L>>>24&63],L=_^this.keys[B++],N|=g[L&63],N|=h[L>>>8&63],N|=a[L>>>16&63],N|=l[L>>>24&63],I^=N}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)))}}]),y}();P.default=S},iXHM:function(M,P){var d="";typeof navigator!="undefined"&&(d=navigator.platform||"");var w={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:d.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,P,d){var w=d("ItGF"),A=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function b(m){return w.browser.ie&&w.browser.version>=11?function(){var v=this.__clipPaths,p=this.style,s;if(v)for(var u=0;u<v.length;u++){var o=v[u],e=o&&o.shape,r=o&&o.type;if(e&&(r==="sector"&&e.startAngle===e.endAngle||r==="rect"&&(!e.width||!e.height))){for(var i=0;i<A.length;i++)A[i][2]=p[A[i][0]],p[A[i][0]]=A[i][1];s=!0;break}}if(m.apply(this,arguments),s)for(var i=0;i<A.length;i++)p[A[i][0]]=A[i][2]}:m}M.exports=b},ieMj:function(M,P,d){var w=d("OELB"),A=d("7aKB"),b=d("4NgU"),m=d("lE7J"),v=w.round,p=b.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(u,o){var e=this._extent;isNaN(u)||(e[0]=parseFloat(u)),isNaN(o)||(e[1]=parseFloat(o))},unionExtent:function(u){var o=this._extent;u[0]<o[0]&&(o[0]=u[0]),u[1]>o[1]&&(o[1]=u[1]),p.prototype.setExtent.call(this,o[0],o[1])},getInterval:function(){return this._interval},setInterval:function(u){this._interval=u,this._niceExtent=this._extent.slice(),this._intervalPrecision=m.getIntervalPrecision(u)},getTicks:function(u){var o=this._interval,e=this._extent,r=this._niceExtent,i=this._intervalPrecision,n=[];if(!o)return n;var l=1e4;e[0]<r[0]&&(u?n.push(v(r[0]-o,i)):n.push(e[0]));for(var t=r[0];t<=r[1]&&!(n.push(t),t=v(t+o,i),t===n[n.length-1]);)if(n.length>l)return[];var a=n.length?n[n.length-1]:r[1];return e[1]>a&&(u?n.push(v(a+o,i)):n.push(e[1])),n},getMinorTicks:function(u){for(var o=this.getTicks(!0),e=[],r=this.getExtent(),i=1;i<o.length;i++){for(var n=o[i],l=o[i-1],t=0,a=[],c=n-l,h=c/u;t<u-1;){var f=w.round(l+(t+1)*h);f>r[0]&&f<r[1]&&a.push(f),t++}e.push(a)}return e},getLabel:function(u,o){if(u==null)return"";var e=o&&o.precision;return e==null?e=w.getPrecisionSafe(u)||0:e==="auto"&&(e=this._intervalPrecision),u=v(u,e,!0),A.addCommas(u)},niceTicks:function(u,o,e){u=u||5;var r=this._extent,i=r[1]-r[0];if(!isFinite(i))return;i<0&&(i=-i,r.reverse());var n=m.intervalScaleNiceTicks(r,u,o,e);this._intervalPrecision=n.intervalPrecision,this._interval=n.interval,this._niceExtent=n.niceTickExtent},niceExtent:function(u){var o=this._extent;if(o[0]===o[1])if(o[0]!==0){var e=o[0];u.fixMax||(o[1]+=e/2),o[0]-=e/2}else o[1]=1;var r=o[1]-o[0];isFinite(r)||(o[0]=0,o[1]=1),this.niceTicks(u.splitNumber,u.minInterval,u.maxInterval);var i=this._interval;u.fixMin||(o[0]=v(Math.floor(o[0]/i)*i)),u.fixMax||(o[1]=v(Math.ceil(o[1]/i)*i))}});p.create=function(){return new p};var s=p;M.exports=s},j5T7:function(M,P,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("q1tI"),m=d("bT9E"),v=d("TSYQ"),p=d.n(v),s=d("1OyB"),u=d("vuIU"),o=d("Ji7U"),e=d("LK+K"),r=d("Ff2n"),i=d("ODXe"),n=d("4IlW"),l=d("bX4T"),t=d("YrtM"),a=d("+nKL"),c=d("8OUc"),h=function(He,G){var pe=He.prefixCls,We=He.id,te=He.flattenOptions,X=He.childrenAsData,z=He.values,Z=He.searchValue,be=He.multiple,ne=He.defaultActiveFirstOption,Ae=He.height,Ne=He.itemHeight,oe=He.notFoundContent,de=He.open,xe=He.menuItemSelectedIcon,Pe=He.virtual,tt=He.onSelect,Je=He.onToggleOpen,Oe=He.onActiveValue,pt=He.onScroll,Qe=He.onMouseEnter,nt="".concat(pe,"-item"),bt=Object(t.a)(function(){return te},[de,te],function(rt,It){return It[0]&&rt[1]!==It[1]}),Tt=b.useRef(null),Ct=function(It){It.preventDefault()},Nt=function(It){Tt.current&&Tt.current.scrollTo({index:It})},Ge=function(It){for(var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,lr=bt.length,pr=0;pr<lr;pr+=1){var Rr=(It+pr*Gt+lr)%lr,xt=bt[Rr],Ot=xt.group,At=xt.data;if(!Ot&&!At.disabled)return Rr}return-1},ie=b.useState(function(){return Ge(0)}),Y=Object(i.a)(ie,2),we=Y[0],Ce=Y[1],le=function(It){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ce(It);var lr={source:Gt?"keyboard":"mouse"},pr=bt[It];if(!pr){Oe(null,-1,lr);return}Oe(pr.data.value,It,lr)};b.useEffect(function(){le(ne!==!1?Ge(0):-1)},[bt.length,Z]),b.useEffect(function(){var rt=setTimeout(function(){if(!be&&de&&z.size===1){var Gt=Array.from(z)[0],lr=bt.findIndex(function(pr){var Rr=pr.data;return Rr.value===Gt});le(lr),Nt(lr)}});if(de){var It;(It=Tt.current)===null||It===void 0||It.scrollTo(void 0)}return function(){return clearTimeout(rt)}},[de]);var ot=function(It){It!==void 0&&tt(It,{selected:!z.has(It)}),be||Je(!1)};if(b.useImperativeHandle(G,function(){return{onKeyDown:function(It){var Gt=It.which;switch(Gt){case n.a.UP:case n.a.DOWN:{var lr=0;if(Gt===n.a.UP?lr=-1:Gt===n.a.DOWN&&(lr=1),lr!==0){var pr=Ge(we+lr,lr);Nt(pr),le(pr,!0)}break}case n.a.ENTER:{var Rr=bt[we];Rr&&!Rr.data.disabled?ot(Rr.data.value):ot(void 0),de&&It.preventDefault();break}case n.a.ESC:Je(!1),de&&It.stopPropagation()}},onKeyUp:function(){},scrollTo:function(It){Nt(It)}}}),bt.length===0)return b.createElement("div",{role:"listbox",id:"".concat(We,"_list"),className:"".concat(nt,"-empty"),onMouseDown:Ct},oe);function wt(rt){var It=bt[rt];if(!It)return null;var Gt=It.data||{},lr=Gt.value,pr=Gt.label,Rr=Gt.children,xt=Object(l.a)(Gt,!0),Ot=X?Rr:pr;return It?b.createElement("div",Object(A.a)({"aria-label":typeof Ot=="string"?Ot:null},xt,{key:rt,role:"option",id:"".concat(We,"_list_").concat(rt),"aria-selected":z.has(lr)}),lr):null}return b.createElement(b.Fragment,null,b.createElement("div",{role:"listbox",id:"".concat(We,"_list"),style:{height:0,width:0,overflow:"hidden"}},wt(we-1),wt(we),wt(we+1)),b.createElement(a.a,{itemKey:"key",ref:Tt,data:bt,height:Ae,itemHeight:Ne,fullHeight:!1,onMouseDown:Ct,onScroll:pt,virtual:Pe,onMouseEnter:Qe},function(rt,It){var Gt,lr=rt.group,pr=rt.groupOption,Rr=rt.data,xt=Rr.label,Ot=Rr.key;if(lr)return b.createElement("div",{className:p()(nt,"".concat(nt,"-group"))},xt!==void 0?xt:Ot);var At=Rr.disabled,Jt=Rr.value,br=Rr.title,Lr=Rr.children,Zr=Rr.style,In=Rr.className,Gr=Object(r.a)(Rr,["disabled","value","title","children","style","className"]),Tr=z.has(Jt),fr="".concat(nt,"-option"),vt=p()(nt,fr,In,(Gt={},Object(w.a)(Gt,"".concat(fr,"-grouped"),pr),Object(w.a)(Gt,"".concat(fr,"-active"),we===It&&!At),Object(w.a)(Gt,"".concat(fr,"-disabled"),At),Object(w.a)(Gt,"".concat(fr,"-selected"),Tr),Gt)),ft=X?Lr:xt,De=!xe||typeof xe=="function"||Tr,je=ft||Jt,Ye=typeof je=="string"||typeof je=="number"?je.toString():void 0;return br!==void 0&&(Ye=br),b.createElement("div",Object(A.a)({},Gr,{"aria-selected":Tr,className:vt,title:Ye,onMouseMove:function(){if(we===It||At)return;le(It)},onClick:function(){At||ot(Jt)},style:Zr}),b.createElement("div",{className:"".concat(fr,"-content")},je),b.isValidElement(xe)||Tr,De&&b.createElement(c.a,{className:"".concat(nt,"-option-state"),customizeIcon:xe,customizeIconProps:{isSelected:Tr}},Tr?"\u2713":null))}))},f=b.forwardRef(h);f.displayName="OptionList";var g=f,S=function(){return null};S.isSelectOption=!0;var y=S,E=function(){return null};E.isSelectOptGroup=!0;var C=E,T=d("VTBJ"),x=d("Zm9Q");function _(Le){var He=Le.key,G=Le.props,pe=G.children,We=G.value,te=Object(r.a)(G,["children","value"]);return Object(T.a)({key:He,value:We!==void 0?We:He,children:pe},te)}function I(Le){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(x.a)(Le).map(function(G,pe){if(!b.isValidElement(G)||!G.type)return null;var We=G.type.isSelectOptGroup,te=G.key,X=G.props,z=X.children,Z=Object(r.a)(X,["children"]);return He||!We?_(G):Object(T.a)(Object(T.a)({key:"__RC_SELECT_GRP__".concat(te===null?pe:te,"__"),label:te},Z),{},{options:I(z)})}).filter(function(G){return G})}var L=d("2Qr1"),D=d("qNPg"),B=d("U8pU"),N=d("Kwbf"),k=d("WKfj");function W(Le){var He=Le.mode,G=Le.options,pe=Le.children,We=Le.backfill,te=Le.allowClear,X=Le.placeholder,z=Le.getInputElement,Z=Le.showSearch,be=Le.onSearch,ne=Le.defaultOpen,Ae=Le.autoFocus,Ne=Le.labelInValue,oe=Le.value,de=Le.inputValue,xe=Le.optionLabelProp,Pe=He==="multiple"||He==="tags",tt=Z!==void 0?Z:Pe||He==="combobox",Je=G||I(pe);if(Object(N.a)(He!=="tags"||Je.every(function(nt){return!nt.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),He==="tags"||He==="combobox"){var Oe=Je.some(function(nt){return nt.options?nt.options.some(function(bt){return typeof("value"in bt?bt.value:bt.key)=="number"}):typeof("value"in nt?nt.value:nt.key)=="number"});Object(N.a)(!Oe,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(N.a)(He!=="combobox"||!xe,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(N.a)(He==="combobox"||!We,"`backfill` only works with `combobox` mode."),Object(N.a)(He==="combobox"||!z,"`getInputElement` only work with `combobox` mode."),Object(N.b)(He!=="combobox"||!z||!te||!X,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),be&&!tt&&He!=="combobox"&&He!=="tags"&&Object(N.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(N.b)(!ne||Ae,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),oe!=null){var pt=Object(k.d)(oe);Object(N.a)(!Ne||pt.every(function(nt){return Object(B.a)(nt)==="object"&&("key"in nt||"value"in nt)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(N.a)(!Pe||Array.isArray(oe),"`value` should be array when `mode` is `multiple` or `tags`")}if(pe){var Qe=null;Object(x.a)(pe).some(function(nt){if(!b.isValidElement(nt)||!nt.type)return!1;var bt=nt.type;if(bt.isSelectOption)return!1;if(bt.isSelectOptGroup){var Tt=Object(x.a)(nt.props.children).every(function(Ct){return!b.isValidElement(Ct)||!nt.type||Ct.type.isSelectOption?!0:(Qe=Ct.type,!1)});return!Tt}return Qe=bt,!0}),Qe&&Object(N.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Qe.displayName||Qe.name||Qe,"`.")),Object(N.a)(de===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var R=W,j=Object(D.a)({prefixCls:"rc-select",components:{optionList:g},convertChildrenToData:I,flattenOptions:L.d,getLabeledValue:L.e,filterOptions:L.b,isValueDisabled:L.g,findValueOption:L.c,warningProps:R,fillOptionsWithMissingValue:L.a}),H=function(Le){Object(o.a)(G,Le);var He=Object(e.a)(G);function G(){var pe;return Object(s.a)(this,G),pe=He.apply(this,arguments),pe.selectRef=b.createRef(),pe.focus=function(){pe.selectRef.current.focus()},pe.blur=function(){pe.selectRef.current.blur()},pe}return Object(u.a)(G,[{key:"render",value:function(){return b.createElement(j,Object(A.a)({ref:this.selectRef},this.props))}}]),G}(b.Component);H.Option=y,H.OptGroup=C;var K=H,U=K,Q=d("9R2V"),V=d("1+JA"),J=d("kc2O"),ae=d("MZCN"),se=function(Le,He){var G={};for(var pe in Le)Object.prototype.hasOwnProperty.call(Le,pe)&&He.indexOf(pe)<0&&(G[pe]=Le[pe]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,pe=Object.getOwnPropertySymbols(Le);We<pe.length;We++)He.indexOf(pe[We])<0&&Object.prototype.propertyIsEnumerable.call(Le,pe[We])&&(G[pe[We]]=Le[pe[We]]);return G},$="SECRET_COMBOBOX_MODE_DO_NOT_USE",ge=function(He,G){var pe,We=He.prefixCls,te=He.bordered,X=te===void 0?!0:te,z=He.className,Z=He.getPopupContainer,be=He.dropdownClassName,ne=He.listHeight,Ae=ne===void 0?256:ne,Ne=He.listItemHeight,oe=Ne===void 0?24:Ne,de=He.size,xe=He.notFoundContent,Pe=se(He,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","listHeight","listItemHeight","size","notFoundContent"]),tt=b.useContext(Q.b),Je=tt.getPopupContainer,Oe=tt.getPrefixCls,pt=tt.renderEmpty,Qe=tt.direction,nt=tt.virtual,bt=tt.dropdownMatchSelectWidth,Tt=b.useContext(J.b),Ct=Oe("select",We),Nt=Oe(),Ge=b.useMemo(function(){var pr=Pe.mode;return pr==="combobox"?void 0:pr===$?"combobox":pr},[Pe.mode]),ie=Ge==="multiple"||Ge==="tags",Y;xe!==void 0?Y=xe:Ge==="combobox"?Y=null:Y=pt("Select");var we=Object(V.a)(Object(A.a)(Object(A.a)({},Pe),{multiple:ie,prefixCls:Ct})),Ce=we.suffixIcon,le=we.itemIcon,ot=we.removeIcon,wt=we.clearIcon,rt=Object(m.a)(Pe,["suffixIcon","itemIcon"]),It=p()(be,Object(w.a)({},"".concat(Ct,"-dropdown-").concat(Qe),Qe==="rtl")),Gt=de||Tt,lr=p()((pe={},Object(w.a)(pe,"".concat(Ct,"-lg"),Gt==="large"),Object(w.a)(pe,"".concat(Ct,"-sm"),Gt==="small"),Object(w.a)(pe,"".concat(Ct,"-rtl"),Qe==="rtl"),Object(w.a)(pe,"".concat(Ct,"-borderless"),!X),pe),z);return b.createElement(U,Object(A.a)({ref:G,virtual:nt,dropdownMatchSelectWidth:bt},rt,{transitionName:Object(ae.b)(Nt,"slide-up",Pe.transitionName),listHeight:Ae,listItemHeight:oe,mode:Ge,prefixCls:Ct,direction:Qe,inputIcon:Ce,menuItemSelectedIcon:le,removeIcon:ot,clearIcon:wt,notFoundContent:Y,className:lr,getPopupContainer:Z||Je,dropdownClassName:It}))},he=b.forwardRef(ge),Ie=he;Ie.SECRET_COMBOBOX_MODE_DO_NOT_USE=$,Ie.Option=y,Ie.OptGroup=C;var Se=P.a=Ie},j5sG:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.createSensor=void 0;var w=A(d("NohK"));function A(m){return m&&m.__esModule?m:{default:m}}var b=function(v){var p=void 0,s=[],u=(0,w.default)(function(){s.forEach(function(n){n(v)})}),o=function(){var l=new ResizeObserver(u);return l.observe(v),u(),l},e=function(l){p||(p=o()),s.indexOf(l)===-1&&s.push(l)},r=function(){p.disconnect(),s=[],p=void 0},i=function(l){var t=s.indexOf(l);t!==-1&&s.splice(t,1),s.length===0&&p&&r()};return{element:v,bind:e,destroy:r,unbind:i}};P.createSensor=b},jCoz:function(M,P,d){var w=d("bYtY"),A=d("4NgU"),b=d("OELB"),m=d("ieMj"),v=A.prototype,p=m.prototype,s=b.getPrecisionSafe,u=b.round,o=Math.floor,e=Math.ceil,r=Math.pow,i=Math.log,n=A.extend({type:"log",base:10,$constructor:function(){A.apply(this,arguments),this._originalScale=new m},getTicks:function(a){var c=this._originalScale,h=this._extent,f=c.getExtent();return w.map(p.getTicks.call(this,a),function(g){var S=b.round(r(this.base,g));return S=g===h[0]&&c.__fixMin?l(S,f[0]):S,S=g===h[1]&&c.__fixMax?l(S,f[1]):S,S},this)},getMinorTicks:p.getMinorTicks,getLabel:p.getLabel,scale:function(a){return a=v.scale.call(this,a),r(this.base,a)},setExtent:function(a,c){var h=this.base;a=i(a)/i(h),c=i(c)/i(h),p.setExtent.call(this,a,c)},getExtent:function(){var a=this.base,c=v.getExtent.call(this);c[0]=r(a,c[0]),c[1]=r(a,c[1]);var h=this._originalScale,f=h.getExtent();return h.__fixMin&&(c[0]=l(c[0],f[0])),h.__fixMax&&(c[1]=l(c[1],f[1])),c},unionExtent:function(a){this._originalScale.unionExtent(a);var c=this.base;a[0]=i(a[0])/i(c),a[1]=i(a[1])/i(c),v.unionExtent.call(this,a)},unionExtentFromData:function(a,c){this.unionExtent(a.getApproximateExtent(c))},niceTicks:function(a){a=a||10;var c=this._extent,h=c[1]-c[0];if(h===Infinity||h<=0)return;var f=b.quantity(h),g=a/h*f;for(g<=.5&&(f*=10);!isNaN(f)&&Math.abs(f)<1&&Math.abs(f)>0;)f*=10;var S=[b.round(e(c[0]/f)*f),b.round(o(c[1]/f)*f)];this._interval=f,this._niceExtent=S},niceExtent:function(a){p.niceExtent.call(this,a);var c=this._originalScale;c.__fixMin=a.fixMin,c.__fixMax=a.fixMax}});w.each(["contain","normalize"],function(a){n.prototype[a]=function(c){return c=i(c)/i(this.base),v[a].call(this,c)}}),n.create=function(){return new n};function l(a,c){return u(a,s(c))}var t=n;M.exports=t},jOhD:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("xSm/"),m=d.n(b)},jTL6:function(M,P,d){var w=d("y+Vt"),A=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,v){var p=v.cx,s=v.cy,u=Math.max(v.r,0),o=v.startAngle,e=v.endAngle,r=v.clockwise,i=Math.cos(o),n=Math.sin(o);m.moveTo(i*u+p,n*u+s),m.arc(p,s,u,o,e,!r)}});M.exports=A},je13:function(M,P,d){var w=d("5nXd"),A=d("gRFJ"),b=[d("uQRt")];M.exports=w.createStore(A,b)},jeoS:function(M,P,d){"use strict";d.d(P,"a",function(){return w});var w=function(b){if(!b)return null;var m=typeof b=="function";return m?b():b}},jett:function(M,P,d){var w=d("ProS");d("VSLf"),d("oBaM"),d("FGaS");var A=d("mOdp"),b=d("f5Yq"),m=d("hw6D"),v=d("0/Rx"),p=d("eJH7");w.registerVisual(A("radar")),w.registerVisual(b("radar","circle")),w.registerLayout(m),w.registerProcessor(v("radar")),w.registerPreprocessor(p)},jhfD:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="ArrowLeftOutlined";var s=P.a=A.forwardRef(p)},jkPA:function(M,P,d){var w=d("bYtY"),A=w.createHashMap,b=w.isObject,m=w.map;function v(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this._map}v.createByAxisModel=function(e){var r=e.option,i=r.data,n=i&&m(i,u);return new v({categories:n,needCollect:!n,deduplication:r.dedplication!==!1})};var p=v.prototype;p.getOrdinal=function(e){return s(this).get(e)},p.parseAndCollect=function(e){var r,i=this._needCollect;if(typeof e!="string"&&!i)return e;if(i&&!this._deduplication)return r=this.categories.length,this.categories[r]=e,r;var n=s(this);return r=n.get(e),r==null&&(i?(r=this.categories.length,this.categories[r]=e,n.set(e,r)):r=NaN),r};function s(e){return e._map||(e._map=A(e.categories))}function u(e){return b(e)&&e.value!=null?e.value:e+""}var o=v;M.exports=o},jndi:function(M,P,d){var w=d("bYtY"),A=d("Qe9p"),b=d("YXkt"),m=d("OELB"),v=d("IwbS"),p=d("kj2x"),s=d("iPDy"),u=function(t,a,c,h){var f=p.dataTransform(t,h[0]),g=p.dataTransform(t,h[1]),S=w.retrieve,y=f.coord,E=g.coord;y[0]=S(y[0],-Infinity),y[1]=S(y[1],-Infinity),E[0]=S(E[0],Infinity),E[1]=S(E[1],Infinity);var C=w.mergeAll([{},f,g]);return C.coord=[f.coord,g.coord],C.x0=f.x,C.y0=f.y,C.x1=g.x,C.y1=g.y,C};function o(t){return!isNaN(t)&&!isFinite(t)}function e(t,a,c,h){var f=1-t;return o(a[f])&&o(c[f])}function r(t,a){var c=a.coord[0],h=a.coord[1];return t.type==="cartesian2d"&&(c&&h&&(e(1,c,h,t)||e(0,c,h,t)))?!0:p.dataFilter(t,{coord:c,x:a.x0,y:a.y0})||p.dataFilter(t,{coord:h,x:a.x1,y:a.y1})}function i(t,a,c,h,f){var g=h.coordinateSystem,S=t.getItemModel(a),y,E=m.parsePercent(S.get(c[0]),f.getWidth()),C=m.parsePercent(S.get(c[1]),f.getHeight());if(!isNaN(E)&&!isNaN(C))y=[E,C];else{if(h.getMarkerPosition)y=h.getMarkerPosition(t.getValues(c,a));else{var T=t.get(c[0],a),x=t.get(c[1],a),_=[T,x];g.clampData&&g.clampData(_,_),y=g.dataToPoint(_,!0)}if(g.type==="cartesian2d"){var I=g.getAxis("x"),L=g.getAxis("y"),T=t.get(c[0],a),x=t.get(c[1],a);o(T)?y[0]=I.toGlobalCoord(I.getExtent()[c[0]==="x0"?0:1]):o(x)&&(y[1]=L.toGlobalCoord(L.getExtent()[c[1]==="y0"?0:1]))}isNaN(E)||(y[0]=E),isNaN(C)||(y[1]=C)}return y}var n=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];s.extend({type:"markArea",updateTransform:function(t,a,c){a.eachSeries(function(h){var f=h.markAreaModel;if(f){var g=f.getData();g.each(function(S){var y=w.map(n,function(C){return i(g,S,C,h,c)});g.setItemLayout(S,y);var E=g.getItemGraphicEl(S);E.setShape("points",y)})}},this)},renderSeries:function(t,a,c,h){var f=t.coordinateSystem,g=t.id,S=t.getData(),y=this.markerGroupMap,E=y.get(g)||y.set(g,{group:new v.Group});this.group.add(E.group),E.__keep=!0;var C=l(f,t,a);a.setData(C),C.each(function(T){C.setItemLayout(T,w.map(n,function(x){return i(C,T,x,t,h)})),C.setItemVisual(T,{color:S.getVisual("color")})}),C.diff(E.__data).add(function(T){var x=new v.Polygon({shape:{points:C.getItemLayout(T)}});C.setItemGraphicEl(T,x),E.group.add(x)}).update(function(T,x){var _=E.__data.getItemGraphicEl(x);v.updateProps(_,{shape:{points:C.getItemLayout(T)}},a,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"),D=C.getItemVisual(x,"color");T.useStyle(w.defaults(_.getModel("itemStyle").getItemStyle(),{fill:A.modifyAlpha(D,.4),stroke:D})),T.hoverStyle=_.getModel("emphasis.itemStyle").getItemStyle(),v.setLabelStyle(T.style,T.hoverStyle,I,L,{labelFetcher:a,labelDataIndex:x,defaultText:C.getName(x)||"",isRectText:!0,autoColor:D}),v.setHoverStyle(T,{}),T.dataModel=a}),E.__data=C,E.group.silent=a.get("silent")||t.get("silent")}});function l(t,a,c){var h,f,g=["x0","y0","x1","y1"];t?(h=w.map(t&&t.dimensions,function(E){var C=a.getData(),T=C.getDimensionInfo(C.mapDimension(E))||{};return w.defaults({name:E},T)}),f=new b(w.map(g,function(E,C){return{name:E,type:h[C%2].type}}),c)):(h=[{name:"value",type:"float"}],f=new b(h,c));var S=w.map(c.get("data"),w.curry(u,a,t,c));t&&(S=w.filter(S,w.curry(r,t)));var y=t?function(E,C,T,x){return E.coord[Math.floor(x/2)][x%2]}:function(E){return E.value};return f.initData(S,null,y),f.hasItemOption=!0,f}},"jsU+":function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("IUWy"),m=w.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){m.superApply(this,"optionUpdated",arguments),A.each(this.option.feature,function(p,s){var u=b.get(s);u&&A.merge(p,u.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),v=m;M.exports=v},jtI2:function(M,P,d){d("SMc4");var w=d("bLfw"),A=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=A},juDX:function(M,P,d){d("P47w");var w=d("aX58"),A=w.registerPainter,b=d("3CBa");A("svg",b)},k5C7:function(M,P,d){d("0JAE"),d("g7p0"),d("7mYs")},k9D9:function(M,P){var d="original",w="arrayRows",A="objectRows",b="keyedColumns",m="unknown",v="typedArray",p="column",s="row";P.SOURCE_FORMAT_ORIGINAL=d,P.SOURCE_FORMAT_ARRAY_ROWS=w,P.SOURCE_FORMAT_OBJECT_ROWS=A,P.SOURCE_FORMAT_KEYED_COLUMNS=b,P.SOURCE_FORMAT_UNKNOWN=m,P.SOURCE_FORMAT_TYPED_ARRAY=v,P.SERIES_LAYOUT_BY_COLUMN=p,P.SERIES_LAYOUT_BY_ROW=s},kDyi:function(M,P){function d(w){var A=w.findComponents({mainType:"legend"});A&&A.length&&w.filterSeries(function(b){for(var m=0;m<A.length;m++)if(!A[m].isSelected(b.name))return!1;return!0})}M.exports=d},kMLO:function(M,P,d){var w=d("XxSj"),A=d("Qe9p"),b=d("bYtY"),m=b.isArray,v="itemStyle",p={seriesType:"treemap",reset:function(t,a,c,h){var f=t.getData().tree,g=f.root,S=t.getModel(v);if(g.isRemoved())return;var y=b.map(f.levelModels,function(E){return E?E.get(v):null});s(g,{},y,S,t.getViewRoot().getAncestors(),t)}};function s(t,a,c,h,f,g){var S=t.getModel(),y=t.getLayout();if(!y||y.invisible||!y.isInView)return;var E=t.getModel(v),C=c[t.depth],T=u(E,a,C,h),x=E.get("borderColor"),_=E.get("borderColorSaturation"),I;_!=null&&(I=o(T,t),x=e(_,I)),t.setVisual("borderColor",x);var L=t.viewChildren;if(!L||!L.length)I=o(T,t),t.setVisual("color",I);else{var D=i(t,S,y,E,T,L);b.each(L,function(B,N){if(B.depth>=f.length||B===f[B.depth]){var k=l(S,T,B,N,D,g);s(B,k,c,h,f,g)}})}}function u(t,a,c,h){var f=b.extend({},a);return b.each(["color","colorAlpha","colorSaturation"],function(g){var S=t.get(g,!0);S==null&&c&&(S=c[g]),S==null&&(S=a[g]),S==null&&(S=h.get(g)),S!=null&&(f[g]=S)}),f}function o(t){var a=r(t,"color");if(a){var c=r(t,"colorAlpha"),h=r(t,"colorSaturation");return h&&(a=A.modifyHSL(a,null,null,h)),c&&(a=A.modifyAlpha(a,c)),a}}function e(t,a){return a!=null?A.modifyHSL(a,null,null,t):null}function r(t,a){var c=t[a];if(c!=null&&c!=="none")return c}function i(t,a,c,h,f,g){if(!g||!g.length)return;var S=n(a,"color")||f.color!=null&&f.color!=="none"&&(n(a,"colorAlpha")||n(a,"colorSaturation"));if(!S)return;var y=a.get("visualMin"),E=a.get("visualMax"),C=c.dataExtent.slice();y!=null&&y<C[0]&&(C[0]=y),E!=null&&E>C[1]&&(C[1]=E);var T=a.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 n(t,a){var c=t.get(a);return m(c)&&c.length?{name:a,range:c}:null}function l(t,a,c,h,f,g){var S=b.extend({},a);if(f){var y=f.type,E=y==="color"&&f.__drColorMappingBy,C=E==="index"?h:E==="id"?g.mapIdToIndex(c.getId()):c.getValue(t.get("visualDimension"));S[y]=f.mapValueToVisual(C)}return S}M.exports=p},kRSg:function(M,P,d){},"kVK+":function(M,P){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */P.read=function(d,w,A,b,m){var v,p,s=m*8-b-1,u=(1<<s)-1,o=u>>1,e=-7,r=A?m-1:0,i=A?-1:1,n=d[w+r];for(r+=i,v=n&(1<<-e)-1,n>>=-e,e+=s;e>0;v=v*256+d[w+r],r+=i,e-=8);for(p=v&(1<<-e)-1,v>>=-e,e+=b;e>0;p=p*256+d[w+r],r+=i,e-=8);if(v===0)v=1-o;else{if(v===u)return p?NaN:(n?-1:1)*Infinity;p=p+Math.pow(2,b),v=v-o}return(n?-1:1)*p*Math.pow(2,v-b)},P.write=function(d,w,A,b,m,v){var p,s,u,o=v*8-m-1,e=(1<<o)-1,r=e>>1,i=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,n=b?0:v-1,l=b?1:-1,t=w<0||w===0&&1/w<0?1:0;for(w=Math.abs(w),isNaN(w)||w===Infinity?(s=isNaN(w)?1:0,p=e):(p=Math.floor(Math.log(w)/Math.LN2),w*(u=Math.pow(2,-p))<1&&(p--,u*=2),p+r>=1?w+=i/u:w+=i*Math.pow(2,1-r),w*u>=2&&(p++,u/=2),p+r>=e?(s=0,p=e):p+r>=1?(s=(w*u-1)*Math.pow(2,m),p=p+r):(s=w*Math.pow(2,r-1)*Math.pow(2,m),p=0));m>=8;d[A+n]=s&255,n+=l,s/=256,m-=8);for(p=p<<m|s,o+=m;o>0;d[A+n]=p&255,n+=l,p/=256,o-=8);d[A+n-l]|=t*128}},keYo:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("HPLo"),m=d.n(b)},kh1m:function(M,P,d){},kj2x:function(M,P,d){var w=d("bYtY"),A=d("OELB"),b=d("7hqr"),m=b.isDimensionStacked,v=w.indexOf;function p(c){return!(isNaN(parseFloat(c.x))&&isNaN(parseFloat(c.y)))}function s(c){return!isNaN(parseFloat(c.x))&&!isNaN(parseFloat(c.y))}function u(c,h,f,g,S,y){var E=[],C=m(h,g),T=C?h.getCalculationInfo("stackResultDimension"):g,x=a(h,T,c),_=h.indicesOfNearest(T,x)[0];E[S]=h.get(f,_),E[y]=h.get(T,_);var I=h.get(g,_),L=A.getPrecision(h.get(g,_));return L=Math.min(L,20),L>=0&&(E[y]=+E[y].toFixed(L)),[E,I]}var o=w.curry,e={min:o(u,"min"),max:o(u,"max"),average:o(u,"average")};function r(c,h){var f=c.getData(),g=c.coordinateSystem;if(h&&!s(h)&&!w.isArray(h.coord)&&g){var S=g.dimensions,y=i(h,f,g,c);if(h=w.clone(h),h.type&&e[h.type]&&y.baseAxis&&y.valueAxis){var E=v(S,y.baseAxis.dim),C=v(S,y.valueAxis.dim),T=e[h.type](f,y.baseDataDim,y.valueDataDim,E,C);h.coord=T[0],h.value=T[1]}else{for(var x=[h.xAxis!=null?h.xAxis:h.radiusAxis,h.yAxis!=null?h.yAxis:h.angleAxis],_=0;_<2;_++)e[x[_]]&&(x[_]=a(f,f.mapDimension(S[_]),x[_]));h.coord=x}}return h}function i(c,h,f,g){var S={};return c.valueIndex!=null||c.valueDim!=null?(S.valueDataDim=c.valueIndex!=null?h.getDimension(c.valueIndex):c.valueDim,S.valueAxis=f.getAxis(n(g,S.valueDataDim)),S.baseAxis=f.getOtherAxis(S.valueAxis),S.baseDataDim=h.mapDimension(S.baseAxis.dim)):(S.baseAxis=g.getBaseAxis(),S.valueAxis=f.getOtherAxis(S.baseAxis),S.baseDataDim=h.mapDimension(S.baseAxis.dim),S.valueDataDim=h.mapDimension(S.valueAxis.dim)),S}function n(c,h){var f=c.getData(),g=f.dimensions;h=f.getDimension(h);for(var S=0;S<g.length;S++){var y=f.getDimensionInfo(g[S]);if(y.name===h)return y.coordDim}}function l(c,h){return c&&c.containData&&h.coord&&!p(h)?c.containData(h.coord):!0}function t(c,h,f,g){return g<2?c.coord&&c.coord[g]:c.value}function a(c,h,f){if(f==="average"){var g=0,S=0;return c.each(h,function(y,E){isNaN(y)||(g+=y,S++)}),g/S}else return f==="median"?c.getMedian(h):c.getDataExtent(h,!0)[f==="max"?1:0]}P.dataTransform=r,P.getAxisInfo=i,P.dataFilter=l,P.dimValueGetter=t,P.numCalculate=a},knOB:function(M,P,d){var w=d("bYtY"),A=d("hM6l");function b(v,p){A.call(this,"radius",v,p),this.type="category"}b.prototype={constructor:b,pointToData:function(v,p){return this.polar.pointToData(v,p)[this.dim==="radius"?0:1]},dataToRadius:A.prototype.dataToCoord,radiusToData:A.prototype.coordToData},w.inherits(b,A);var m=b;M.exports=m},ko1b:function(M,P,d){var w=d("bYtY"),A=d("T4UG"),b=d("Bsck"),m=d("Qxkt"),v=d("7aKB"),p=v.encodeHTML,s=v.addCommas,u=d("VaxA"),o=u.wrapTreePathInfo,e=A.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(n,l){var t={name:n.name,children:n.data};r(t);var a=n.levels||[];a=n.levels=i(a,l);var c=w.map(a||[],function(g){return new m(g,this,l)},this),h=b.createTree(t,this,null,f);function f(g){g.wrapMethod("getItemModel",function(S,y){var E=h.getNodeByDataIndex(y),C=c[E.depth];return C&&(S.parentModel=C),S})}return h.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(n){var l=this.getData(),t=this.getRawValue(n),a=w.isArray(t)?s(t[0]):s(t),c=l.getName(n);return p(c+": "+a)},getDataParams:function(n){var l=A.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(n);return l.treePathInfo=o(t,this),l},setLayoutInfo:function(n){this.layoutInfo=this.layoutInfo||{},w.extend(this.layoutInfo,n)},mapIdToIndex:function(n){var l=this._idIndexMap;l||(l=this._idIndexMap=w.createHashMap(),this._idIndexMapCount=0);var t=l.get(n);return t==null&&l.set(n,t=this._idIndexMapCount++),t},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(n){n?this._viewRoot=n:n=this._viewRoot;var l=this.getRawData().tree.root;(!n||n!==l&&!l.contains(n))&&(this._viewRoot=l)}});function r(n){var l=0;w.each(n.children,function(a){r(a);var c=a.value;w.isArray(c)&&(c=c[0]),l+=c});var t=n.value;w.isArray(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=l),t<0&&(t=0),w.isArray(n.value)?n.value[0]=t:n.value=t}function i(n,l){var t=l.get("color");if(!t)return;n=n||[];var a;if(w.each(n,function(h){var f=new m(h),g=f.get("color");(f.get("itemStyle.color")||g&&g!=="none")&&(a=!0)}),!a){var c=n[0]||(n[0]={});c.color=t.slice()}return n}M.exports=e},kzFp:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var w=P.pick=function(b,m){var v={};return m.forEach(function(p){v[p]=b[p]}),v}},kzvK:function(M,P,d){var w=d("sS/r"),A=w.extend({type:"timeline"});M.exports=A},"l+S1":function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="SearchOutlined";var s=P.a=A.forwardRef(p)},l5UB:function(M,P,d){},lE7J:function(M,P,d){var w=d("OELB"),A=w.round;function b(s,u,o,e){var r={},i=s[1]-s[0],n=r.interval=w.nice(i/u,!0);o!=null&&n<o&&(n=r.interval=o),e!=null&&n>e&&(n=r.interval=e);var l=r.intervalPrecision=m(n),t=r.niceTickExtent=[A(Math.ceil(s[0]/n)*n,l),A(Math.floor(s[1]/n)*n,l)];return p(t,s),r}function m(s){return w.getPrecisionSafe(s)+2}function v(s,u,o){s[u]=Math.max(Math.min(s[u],o[1]),o[0])}function p(s,u){!isFinite(s[0])&&(s[0]=u[0]),!isFinite(s[1])&&(s[1]=u[1]),v(s,0,u),v(s,1,u),s[0]>s[1]&&(s[0]=s[1])}P.intervalScaleNiceTicks=b,P.getIntervalPrecision=m,P.fixExtent=p},lELe:function(M,P,d){var w=d("bYtY");function A(b){var m=[];w.each(b.series,function(v){v&&v.type==="map"&&(m.push(v),v.map=v.map||v.mapType,w.defaults(v,v.mapLocation))})}M.exports=A},lHn7:function(M,P,d){"use strict";d.d(P,"d",function(){return r}),d.d(P,"c",function(){return a}),d.d(P,"b",function(){return c}),d.d(P,"a",function(){return h});var w=d("KQm4"),A=d("rePB"),b=d("ODXe"),m=d("wx14"),v=d("q1tI"),p=d.n(v),s=d("TSYQ"),u=d.n(s),o=d("9R2V"),e=function(f,g){var S={};for(var y in f)Object.prototype.hasOwnProperty.call(f,y)&&g.indexOf(y)<0&&(S[y]=f[y]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,y=Object.getOwnPropertySymbols(f);E<y.length;E++)g.indexOf(y[E])<0&&Object.prototype.propertyIsEnumerable.call(f,y[E])&&(S[y[E]]=f[y[E]]);return S},r=v.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function i(f){var g=f.suffixCls,S=f.tagName,y=f.displayName;return function(E){var C=function(x){var _=v.useContext(o.b),I=_.getPrefixCls,L=x.prefixCls,D=I(g,L);return v.createElement(E,Object(m.a)({prefixCls:D,tagName:S},x))};return C.displayName=y,C}}var n=function(g){var S=g.prefixCls,y=g.className,E=g.children,C=g.tagName,T=e(g,["prefixCls","className","children","tagName"]),x=u()(S,y);return v.createElement(C,Object(m.a)({className:x},T),E)},l=function(g){var S,y=v.useContext(o.b),E=y.direction,C=v.useState([]),T=Object(b.a)(C,2),x=T[0],_=T[1],I=g.prefixCls,L=g.className,D=g.children,B=g.hasSider,N=g.tagName,k=e(g,["prefixCls","className","children","hasSider","tagName"]),W=u()(I,(S={},Object(A.a)(S,"".concat(I,"-has-sider"),typeof B=="boolean"?B:x.length>0),Object(A.a)(S,"".concat(I,"-rtl"),E==="rtl"),S),L);return v.createElement(r.Provider,{value:{siderHook:{addSider:function(j){_(function(H){return[].concat(Object(w.a)(H),[j])})},removeSider:function(j){_(function(H){return H.filter(function(K){return K!==j})})}}}},v.createElement(N,Object(m.a)({className:W},k),D))},t=i({suffixCls:"layout",tagName:"section",displayName:"Layout"})(l),a=i({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(n),c=i({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(n),h=i({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(n);P.e=t},lLGD:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("nVfU"),m=b.layout,v=b.largeLayout;d("Wqna"),d("F7hV"),d("Z8zF"),d("Ae16"),w.registerLayout(w.PRIORITY.VISUAL.LAYOUT,A.curry(m,"bar")),w.registerLayout(w.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,v),w.registerVisual({seriesType:"bar",reset:function(p){p.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(M,P,d){"use strict";function w(le){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(le)}Object.defineProperty(P,"__esModule",{value:!0}),P.deflateInit=Ge,P.deflateInit2=Nt,P.deflateReset=Tt,P.deflateResetKeep=bt,P.deflateSetHeader=Ct,P.deflate=ie,P.deflateEnd=Y,P.deflateSetDictionary=we,P.deflateInfo=P.Z_DEFLATED=P.Z_UNKNOWN=P.Z_DEFAULT_STRATEGY=P.Z_FIXED=P.Z_RLE=P.Z_HUFFMAN_ONLY=P.Z_FILTERED=P.Z_DEFAULT_COMPRESSION=P.Z_BUF_ERROR=P.Z_DATA_ERROR=P.Z_STREAM_ERROR=P.Z_STREAM_END=P.Z_OK=P.Z_BLOCK=P.Z_FINISH=P.Z_FULL_FLUSH=P.Z_PARTIAL_FLUSH=P.Z_NO_FLUSH=void 0;var A=o(d("6BzB")),b=o(d("c5fP")),m=s(d("xlC8")),v=s(d("QV2g")),p=s(d("xSIq"));function s(le){return le&&le.__esModule?le:{default:le}}function u(){if(typeof WeakMap!="function")return null;var le=new WeakMap;return u=function(){return le},le}function o(le){if(le&&le.__esModule)return le;if(le===null||w(le)!=="object"&&typeof le!="function")return{default:le};var ot=u();if(ot&&ot.has(le))return ot.get(le);var wt={},rt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var It in le)if(Object.prototype.hasOwnProperty.call(le,It)){var Gt=rt?Object.getOwnPropertyDescriptor(le,It):null;Gt&&(Gt.get||Gt.set)?Object.defineProperty(wt,It,Gt):wt[It]=le[It]}return wt.default=le,ot&&ot.set(le,wt),wt}var e=0;P.Z_NO_FLUSH=e;var r=1;P.Z_PARTIAL_FLUSH=r;var i=3;P.Z_FULL_FLUSH=i;var n=4;P.Z_FINISH=n;var l=5;P.Z_BLOCK=l;var t=0;P.Z_OK=t;var a=1;P.Z_STREAM_END=a;var c=-2;P.Z_STREAM_ERROR=c;var h=-3;P.Z_DATA_ERROR=h;var f=-5;P.Z_BUF_ERROR=f;var g=-1;P.Z_DEFAULT_COMPRESSION=g;var S=1;P.Z_FILTERED=S;var y=2;P.Z_HUFFMAN_ONLY=y;var E=3;P.Z_RLE=E;var C=4;P.Z_FIXED=C;var T=0;P.Z_DEFAULT_STRATEGY=T;var x=2;P.Z_UNKNOWN=x;var _=8;P.Z_DEFLATED=_;var I=9,L=15,D=8,B=29,N=256,k=N+1+B,W=30,R=19,j=2*k+1,H=15,K=3,U=258,Q=U+K+1,V=32,J=42,ae=69,se=73,$=91,ge=103,he=113,Ie=666,Se=1,Le=2,He=3,G=4,pe=3;function We(le,ot){return le.msg=p.default[ot],ot}function te(le){return(le<<1)-(le>4?9:0)}function X(le){for(var ot=le.length;--ot>=0;)le[ot]=0}function z(le){var ot=le.state,wt=ot.pending;if(wt>le.avail_out&&(wt=le.avail_out),wt===0)return;A.arraySet(le.output,ot.pending_buf,ot.pending_out,wt,le.next_out),le.next_out+=wt,ot.pending_out+=wt,le.total_out+=wt,le.avail_out-=wt,ot.pending-=wt,ot.pending===0&&(ot.pending_out=0)}function Z(le,ot){b._tr_flush_block(le,le.block_start>=0?le.block_start:-1,le.strstart-le.block_start,ot),le.block_start=le.strstart,z(le.strm)}function be(le,ot){le.pending_buf[le.pending++]=ot}function ne(le,ot){le.pending_buf[le.pending++]=ot>>>8&255,le.pending_buf[le.pending++]=ot&255}function Ae(le,ot,wt,rt){var It=le.avail_in;return It>rt&&(It=rt),It===0?0:(le.avail_in-=It,A.arraySet(ot,le.input,le.next_in,It,wt),le.state.wrap===1?le.adler=(0,m.default)(le.adler,ot,It,wt):le.state.wrap===2&&(le.adler=(0,v.default)(le.adler,ot,It,wt)),le.next_in+=It,le.total_in+=It,It)}function Ne(le,ot){var wt=le.max_chain_length,rt=le.strstart,It,Gt,lr=le.prev_length,pr=le.nice_match,Rr=le.strstart>le.w_size-Q?le.strstart-(le.w_size-Q):0,xt=le.window,Ot=le.w_mask,At=le.prev,Jt=le.strstart+U,br=xt[rt+lr-1],Lr=xt[rt+lr];le.prev_length>=le.good_match&&(wt>>=2),pr>le.lookahead&&(pr=le.lookahead);do{if(It=ot,xt[It+lr]!==Lr||xt[It+lr-1]!==br||xt[It]!==xt[rt]||xt[++It]!==xt[rt+1])continue;rt+=2,It++;do;while(xt[++rt]===xt[++It]&&xt[++rt]===xt[++It]&&xt[++rt]===xt[++It]&&xt[++rt]===xt[++It]&&xt[++rt]===xt[++It]&&xt[++rt]===xt[++It]&&xt[++rt]===xt[++It]&&xt[++rt]===xt[++It]&&rt<Jt);if(Gt=U-(Jt-rt),rt=Jt-U,Gt>lr){if(le.match_start=ot,lr=Gt,Gt>=pr)break;br=xt[rt+lr-1],Lr=xt[rt+lr]}}while((ot=At[ot&Ot])>Rr&&--wt!==0);return lr<=le.lookahead?lr:le.lookahead}function oe(le){var ot=le.w_size,wt,rt,It,Gt,lr;do{if(Gt=le.window_size-le.lookahead-le.strstart,le.strstart>=ot+(ot-Q)){A.arraySet(le.window,le.window,ot,ot,0),le.match_start-=ot,le.strstart-=ot,le.block_start-=ot,rt=le.hash_size,wt=rt;do It=le.head[--wt],le.head[wt]=It>=ot?It-ot:0;while(--rt);rt=ot,wt=rt;do It=le.prev[--wt],le.prev[wt]=It>=ot?It-ot:0;while(--rt);Gt+=ot}if(le.strm.avail_in===0)break;if(rt=Ae(le.strm,le.window,le.strstart+le.lookahead,Gt),le.lookahead+=rt,le.lookahead+le.insert>=K)for(lr=le.strstart-le.insert,le.ins_h=le.window[lr],le.ins_h=(le.ins_h<<le.hash_shift^le.window[lr+1])&le.hash_mask;le.insert&&!(le.ins_h=(le.ins_h<<le.hash_shift^le.window[lr+K-1])&le.hash_mask,le.prev[lr&le.w_mask]=le.head[le.ins_h],le.head[le.ins_h]=lr,lr++,le.insert--,le.lookahead+le.insert<K););}while(le.lookahead<Q&&le.strm.avail_in!==0)}function de(le,ot){var wt=65535;for(wt>le.pending_buf_size-5&&(wt=le.pending_buf_size-5);;){if(le.lookahead<=1){if(oe(le),le.lookahead===0&&ot===e)return Se;if(le.lookahead===0)break}le.strstart+=le.lookahead,le.lookahead=0;var rt=le.block_start+wt;if((le.strstart===0||le.strstart>=rt)&&(le.lookahead=le.strstart-rt,le.strstart=rt,Z(le,!1),le.strm.avail_out===0))return Se;if(le.strstart-le.block_start>=le.w_size-Q&&(Z(le,!1),le.strm.avail_out===0))return Se}return le.insert=0,ot===n?(Z(le,!0),le.strm.avail_out===0?He:G):(le.strstart>le.block_start&&(Z(le,!1),le.strm.avail_out===0),Se)}function xe(le,ot){for(var wt,rt;;){if(le.lookahead<Q){if(oe(le),le.lookahead<Q&&ot===e)return Se;if(le.lookahead===0)break}if(wt=0,le.lookahead>=K&&(le.ins_h=(le.ins_h<<le.hash_shift^le.window[le.strstart+K-1])&le.hash_mask,wt=le.prev[le.strstart&le.w_mask]=le.head[le.ins_h],le.head[le.ins_h]=le.strstart),wt!==0&&le.strstart-wt<=le.w_size-Q&&(le.match_length=Ne(le,wt)),le.match_length>=K)if(rt=b._tr_tally(le,le.strstart-le.match_start,le.match_length-K),le.lookahead-=le.match_length,le.match_length<=le.max_lazy_match&&le.lookahead>=K){le.match_length--;do le.strstart++,le.ins_h=(le.ins_h<<le.hash_shift^le.window[le.strstart+K-1])&le.hash_mask,wt=le.prev[le.strstart&le.w_mask]=le.head[le.ins_h],le.head[le.ins_h]=le.strstart;while(--le.match_length!==0);le.strstart++}else le.strstart+=le.match_length,le.match_length=0,le.ins_h=le.window[le.strstart],le.ins_h=(le.ins_h<<le.hash_shift^le.window[le.strstart+1])&le.hash_mask;else rt=b._tr_tally(le,0,le.window[le.strstart]),le.lookahead--,le.strstart++;if(rt&&(Z(le,!1),le.strm.avail_out===0))return Se}return le.insert=le.strstart<K-1?le.strstart:K-1,ot===n?(Z(le,!0),le.strm.avail_out===0?He:G):le.last_lit&&(Z(le,!1),le.strm.avail_out===0)?Se:Le}function Pe(le,ot){for(var wt,rt,It;;){if(le.lookahead<Q){if(oe(le),le.lookahead<Q&&ot===e)return Se;if(le.lookahead===0)break}if(wt=0,le.lookahead>=K&&(le.ins_h=(le.ins_h<<le.hash_shift^le.window[le.strstart+K-1])&le.hash_mask,wt=le.prev[le.strstart&le.w_mask]=le.head[le.ins_h],le.head[le.ins_h]=le.strstart),le.prev_length=le.match_length,le.prev_match=le.match_start,le.match_length=K-1,wt!==0&&le.prev_length<le.max_lazy_match&&le.strstart-wt<=le.w_size-Q&&(le.match_length=Ne(le,wt),le.match_length<=5&&(le.strategy===S||le.match_length===K&&le.strstart-le.match_start>4096)&&(le.match_length=K-1)),le.prev_length>=K&&le.match_length<=le.prev_length){It=le.strstart+le.lookahead-K,rt=b._tr_tally(le,le.strstart-1-le.prev_match,le.prev_length-K),le.lookahead-=le.prev_length-1,le.prev_length-=2;do++le.strstart<=It&&(le.ins_h=(le.ins_h<<le.hash_shift^le.window[le.strstart+K-1])&le.hash_mask,wt=le.prev[le.strstart&le.w_mask]=le.head[le.ins_h],le.head[le.ins_h]=le.strstart);while(--le.prev_length!==0);if(le.match_available=0,le.match_length=K-1,le.strstart++,rt&&(Z(le,!1),le.strm.avail_out===0))return Se}else if(le.match_available){if(rt=b._tr_tally(le,0,le.window[le.strstart-1]),rt&&Z(le,!1),le.strstart++,le.lookahead--,le.strm.avail_out===0)return Se}else le.match_available=1,le.strstart++,le.lookahead--}return le.match_available&&(rt=b._tr_tally(le,0,le.window[le.strstart-1]),le.match_available=0),le.insert=le.strstart<K-1?le.strstart:K-1,ot===n?(Z(le,!0),le.strm.avail_out===0?He:G):le.last_lit&&(Z(le,!1),le.strm.avail_out===0)?Se:Le}function tt(le,ot){for(var wt,rt,It,Gt,lr=le.window;;){if(le.lookahead<=U){if(oe(le),le.lookahead<=U&&ot===e)return Se;if(le.lookahead===0)break}if(le.match_length=0,le.lookahead>=K&&le.strstart>0&&(It=le.strstart-1,rt=lr[It],rt===lr[++It]&&rt===lr[++It]&&rt===lr[++It])){Gt=le.strstart+U;do;while(rt===lr[++It]&&rt===lr[++It]&&rt===lr[++It]&&rt===lr[++It]&&rt===lr[++It]&&rt===lr[++It]&&rt===lr[++It]&&rt===lr[++It]&&It<Gt);le.match_length=U-(Gt-It),le.match_length>le.lookahead&&(le.match_length=le.lookahead)}if(le.match_length>=K?(wt=b._tr_tally(le,1,le.match_length-K),le.lookahead-=le.match_length,le.strstart+=le.match_length,le.match_length=0):(wt=b._tr_tally(le,0,le.window[le.strstart]),le.lookahead--,le.strstart++),wt&&(Z(le,!1),le.strm.avail_out===0))return Se}return le.insert=0,ot===n?(Z(le,!0),le.strm.avail_out===0?He:G):le.last_lit&&(Z(le,!1),le.strm.avail_out===0)?Se:Le}function Je(le,ot){for(var wt;;){if(le.lookahead===0&&(oe(le),le.lookahead===0)){if(ot===e)return Se;break}if(le.match_length=0,wt=b._tr_tally(le,0,le.window[le.strstart]),le.lookahead--,le.strstart++,wt&&(Z(le,!1),le.strm.avail_out===0))return Se}return le.insert=0,ot===n?(Z(le,!0),le.strm.avail_out===0?He:G):le.last_lit&&(Z(le,!1),le.strm.avail_out===0)?Se:Le}function Oe(le,ot,wt,rt,It){this.good_length=le,this.max_lazy=ot,this.nice_length=wt,this.max_chain=rt,this.func=It}var pt;pt=[new Oe(0,0,0,0,de),new Oe(4,4,8,4,xe),new Oe(4,5,16,8,xe),new Oe(4,6,32,32,xe),new Oe(4,4,16,16,Pe),new Oe(8,16,32,32,Pe),new Oe(8,16,128,128,Pe),new Oe(8,32,128,256,Pe),new Oe(32,128,258,1024,Pe),new Oe(32,258,258,4096,Pe)];function Qe(le){le.window_size=2*le.w_size,X(le.head),le.max_lazy_match=pt[le.level].max_lazy,le.good_match=pt[le.level].good_length,le.nice_match=pt[le.level].nice_length,le.max_chain_length=pt[le.level].max_chain,le.strstart=0,le.block_start=0,le.lookahead=0,le.insert=0,le.match_length=le.prev_length=K-1,le.match_available=0,le.ins_h=0}function nt(){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 A.Buf16(j*2),this.dyn_dtree=new A.Buf16((2*W+1)*2),this.bl_tree=new A.Buf16((2*R+1)*2),X(this.dyn_ltree),X(this.dyn_dtree),X(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new A.Buf16(H+1),this.heap=new A.Buf16(2*k+1),X(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new A.Buf16(2*k+1),X(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function bt(le){var ot;return!le||!le.state?We(le,c):(le.total_in=le.total_out=0,le.data_type=x,ot=le.state,ot.pending=0,ot.pending_out=0,ot.wrap<0&&(ot.wrap=-ot.wrap),ot.status=ot.wrap?J:he,le.adler=ot.wrap===2?0:1,ot.last_flush=e,b._tr_init(ot),t)}function Tt(le){var ot=bt(le);return ot===t&&Qe(le.state),ot}function Ct(le,ot){return!le||!le.state||le.state.wrap!==2?c:(le.state.gzhead=ot,t)}function Nt(le,ot,wt,rt,It,Gt){if(!le)return c;var lr=1;if(ot===g&&(ot=6),rt<0?(lr=0,rt=-rt):rt>15&&(lr=2,rt-=16),It<1||It>I||wt!==_||rt<8||rt>15||ot<0||ot>9||Gt<0||Gt>C)return We(le,c);rt===8&&(rt=9);var pr=new nt;return le.state=pr,pr.strm=le,pr.wrap=lr,pr.gzhead=null,pr.w_bits=rt,pr.w_size=1<<pr.w_bits,pr.w_mask=pr.w_size-1,pr.hash_bits=It+7,pr.hash_size=1<<pr.hash_bits,pr.hash_mask=pr.hash_size-1,pr.hash_shift=~~((pr.hash_bits+K-1)/K),pr.window=new A.Buf8(pr.w_size*2),pr.head=new A.Buf16(pr.hash_size),pr.prev=new A.Buf16(pr.w_size),pr.lit_bufsize=1<<It+6,pr.pending_buf_size=pr.lit_bufsize*4,pr.pending_buf=new A.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=wt,Tt(le)}function Ge(le,ot){return Nt(le,ot,_,L,D,T)}function ie(le,ot){var wt,rt,It,Gt;if(!le||!le.state||ot>l||ot<0)return le?We(le,c):c;if(rt=le.state,!le.output||!le.input&&le.avail_in!==0||rt.status===Ie&&ot!==n)return We(le,le.avail_out===0?f:c);if(rt.strm=le,wt=rt.last_flush,rt.last_flush=ot,rt.status===J)if(rt.wrap===2)le.adler=0,be(rt,31),be(rt,139),be(rt,8),rt.gzhead?(be(rt,(rt.gzhead.text?1:0)+(rt.gzhead.hcrc?2:0)+(rt.gzhead.extra?4:0)+(rt.gzhead.name?8:0)+(rt.gzhead.comment?16:0)),be(rt,rt.gzhead.time&255),be(rt,rt.gzhead.time>>8&255),be(rt,rt.gzhead.time>>16&255),be(rt,rt.gzhead.time>>24&255),be(rt,rt.level===9?2:rt.strategy>=y||rt.level<2?4:0),be(rt,rt.gzhead.os&255),rt.gzhead.extra&&rt.gzhead.extra.length&&(be(rt,rt.gzhead.extra.length&255),be(rt,rt.gzhead.extra.length>>8&255)),rt.gzhead.hcrc&&(le.adler=(0,v.default)(le.adler,rt.pending_buf,rt.pending,0)),rt.gzindex=0,rt.status=ae):(be(rt,0),be(rt,0),be(rt,0),be(rt,0),be(rt,0),be(rt,rt.level===9?2:rt.strategy>=y||rt.level<2?4:0),be(rt,pe),rt.status=he);else{var lr=_+(rt.w_bits-8<<4)<<8,pr=-1;rt.strategy>=y||rt.level<2?pr=0:rt.level<6?pr=1:rt.level===6?pr=2:pr=3,lr|=pr<<6,rt.strstart!==0&&(lr|=V),lr+=31-lr%31,rt.status=he,ne(rt,lr),rt.strstart!==0&&(ne(rt,le.adler>>>16),ne(rt,le.adler&65535)),le.adler=1}if(rt.status===ae)if(rt.gzhead.extra){for(It=rt.pending;rt.gzindex<(rt.gzhead.extra.length&65535)&&!(rt.pending===rt.pending_buf_size&&(rt.gzhead.hcrc&&rt.pending>It&&(le.adler=(0,v.default)(le.adler,rt.pending_buf,rt.pending-It,It)),z(le),It=rt.pending,rt.pending===rt.pending_buf_size));)be(rt,rt.gzhead.extra[rt.gzindex]&255),rt.gzindex++;rt.gzhead.hcrc&&rt.pending>It&&(le.adler=(0,v.default)(le.adler,rt.pending_buf,rt.pending-It,It)),rt.gzindex===rt.gzhead.extra.length&&(rt.gzindex=0,rt.status=se)}else rt.status=se;if(rt.status===se)if(rt.gzhead.name){It=rt.pending;do{if(rt.pending===rt.pending_buf_size&&(rt.gzhead.hcrc&&rt.pending>It&&(le.adler=(0,v.default)(le.adler,rt.pending_buf,rt.pending-It,It)),z(le),It=rt.pending,rt.pending===rt.pending_buf_size)){Gt=1;break}rt.gzindex<rt.gzhead.name.length?Gt=rt.gzhead.name.charCodeAt(rt.gzindex++)&255:Gt=0,be(rt,Gt)}while(Gt!==0);rt.gzhead.hcrc&&rt.pending>It&&(le.adler=(0,v.default)(le.adler,rt.pending_buf,rt.pending-It,It)),Gt===0&&(rt.gzindex=0,rt.status=$)}else rt.status=$;if(rt.status===$)if(rt.gzhead.comment){It=rt.pending;do{if(rt.pending===rt.pending_buf_size&&(rt.gzhead.hcrc&&rt.pending>It&&(le.adler=(0,v.default)(le.adler,rt.pending_buf,rt.pending-It,It)),z(le),It=rt.pending,rt.pending===rt.pending_buf_size)){Gt=1;break}rt.gzindex<rt.gzhead.comment.length?Gt=rt.gzhead.comment.charCodeAt(rt.gzindex++)&255:Gt=0,be(rt,Gt)}while(Gt!==0);rt.gzhead.hcrc&&rt.pending>It&&(le.adler=(0,v.default)(le.adler,rt.pending_buf,rt.pending-It,It)),Gt===0&&(rt.status=ge)}else rt.status=ge;if(rt.status===ge&&(rt.gzhead.hcrc?(rt.pending+2>rt.pending_buf_size&&z(le),rt.pending+2<=rt.pending_buf_size&&(be(rt,le.adler&255),be(rt,le.adler>>8&255),le.adler=0,rt.status=he)):rt.status=he),rt.pending!==0){if(z(le),le.avail_out===0)return rt.last_flush=-1,t}else if(le.avail_in===0&&te(ot)<=te(wt)&&ot!==n)return We(le,f);if(rt.status===Ie&&le.avail_in!==0)return We(le,f);if(le.avail_in!==0||rt.lookahead!==0||ot!==e&&rt.status!==Ie){var Rr=rt.strategy===y?Je(rt,ot):rt.strategy===E?tt(rt,ot):pt[rt.level].func(rt,ot);if((Rr===He||Rr===G)&&(rt.status=Ie),Rr===Se||Rr===He)return le.avail_out===0&&(rt.last_flush=-1),t;if(Rr===Le&&(ot===r?b._tr_align(rt):ot!==l&&(b._tr_stored_block(rt,0,0,!1),ot===i&&(X(rt.head),rt.lookahead===0&&(rt.strstart=0,rt.block_start=0,rt.insert=0))),z(le),le.avail_out===0))return rt.last_flush=-1,t}return ot!==n?t:rt.wrap<=0?a:(rt.wrap===2?(be(rt,le.adler&255),be(rt,le.adler>>8&255),be(rt,le.adler>>16&255),be(rt,le.adler>>24&255),be(rt,le.total_in&255),be(rt,le.total_in>>8&255),be(rt,le.total_in>>16&255),be(rt,le.total_in>>24&255)):(ne(rt,le.adler>>>16),ne(rt,le.adler&65535)),z(le),rt.wrap>0&&(rt.wrap=-rt.wrap),rt.pending!==0?t:a)}function Y(le){var ot;return!le||!le.state?c:(ot=le.state.status,ot!==J&&ot!==ae&&ot!==se&&ot!==$&&ot!==ge&&ot!==he&&ot!==Ie?We(le,c):(le.state=null,ot===he?We(le,h):t))}function we(le,ot){var wt=ot.length,rt,It,Gt,lr,pr,Rr,xt,Ot;if(!le||!le.state)return c;if(rt=le.state,lr=rt.wrap,lr===2||lr===1&&rt.status!==J||rt.lookahead)return c;for(lr===1&&(le.adler=(0,m.default)(le.adler,ot,wt,0)),rt.wrap=0,wt>=rt.w_size&&(lr===0&&(X(rt.head),rt.strstart=0,rt.block_start=0,rt.insert=0),Ot=new A.Buf8(rt.w_size),A.arraySet(Ot,ot,wt-rt.w_size,rt.w_size,0),ot=Ot,wt=rt.w_size),pr=le.avail_in,Rr=le.next_in,xt=le.input,le.avail_in=wt,le.next_in=0,le.input=ot,oe(rt);rt.lookahead>=K;){It=rt.strstart,Gt=rt.lookahead-(K-1);do rt.ins_h=(rt.ins_h<<rt.hash_shift^rt.window[It+K-1])&rt.hash_mask,rt.prev[It&rt.w_mask]=rt.head[rt.ins_h],rt.head[rt.ins_h]=It,It++;while(--Gt);rt.strstart=It,rt.lookahead=K-1,oe(rt)}return rt.strstart+=rt.lookahead,rt.block_start=rt.strstart,rt.insert=rt.lookahead,rt.lookahead=0,rt.match_length=rt.prev_length=K-1,rt.match_available=0,le.next_in=Rr,le.input=xt,le.avail_in=pr,rt.wrap=lr,t}var Ce="pako deflate (from Nodeca project)";P.deflateInfo=Ce},lOQZ:function(M,P,d){var w=d("QBsz"),A=d("U/Mo"),b=A.getSymbolSize,m=A.getNodeGlobalScale,v=Math.PI,p=[];function s(o,e){var r=o.coordinateSystem;if(r&&r.type!=="view")return;var i=r.getBoundingRect(),n=o.getData(),l=n.graph,t=i.width/2+i.x,a=i.height/2+i.y,c=Math.min(i.width,i.height)/2,h=n.count();if(n.setLayout({cx:t,cy:a}),!h)return;u[e](o,r,l,n,c,t,a,h),l.eachEdge(function(f){var g=f.getModel().get("lineStyle.curveness")||0,S=w.clone(f.node1.getLayout()),y=w.clone(f.node2.getLayout()),E,C=(S[0]+y[0])/2,T=(S[1]+y[1])/2;+g&&(g*=3,E=[t*g+C*(1-g),a*g+T*(1-g)]),f.setLayout([S,y,E])})}var u={value:function(o,e,r,i,n,l,t,a){var c=0,h=i.getSum("value"),f=Math.PI*2/(h||a);r.eachNode(function(g){var S=g.getValue("value"),y=f*(h?S:1)/2;c+=y,g.setLayout([n*Math.cos(c)+l,n*Math.sin(c)+t]),c+=y})},symbolSize:function(o,e,r,i,n,l,t,a){var c=0;p.length=a;var h=m(o);r.eachNode(function(S){var y=b(S);isNaN(y)&&(y=2),y<0&&(y=0),y*=h;var E=Math.asin(y/2/n);isNaN(E)&&(E=v/2),p[S.dataIndex]=E,c+=E*2});var f=(2*v-c)/a/2,g=0;r.eachNode(function(S){var y=f+p[S.dataIndex];g+=y,S.setLayout([n*Math.cos(g)+l,n*Math.sin(g)+t]),g+=y})}};P.circularLayout=s},lZu9:function(M,P,d){(function(w){w(d("VrN/"),d("1eCo"),d("8EBN"))})(function(w){"use strict";w.defineMode("markdown",function(A,b){var m=w.getMode(A,"text/html"),v=m.name=="null";function p(H){if(w.findModeByName){var K=w.findModeByName(H);K&&(H=K.mime||K.mimes[0])}var U=w.getMode(A,H);return U.name=="null"?null:U}b.highlightFormatting===void 0&&(b.highlightFormatting=!1),b.maxBlockquoteDepth===void 0&&(b.maxBlockquoteDepth=0),b.taskLists===void 0&&(b.taskLists=!1),b.strikethrough===void 0&&(b.strikethrough=!1),b.emoji===void 0&&(b.emoji=!1),b.fencedCodeBlockHighlighting===void 0&&(b.fencedCodeBlockHighlighting=!0),b.fencedCodeBlockDefaultMode===void 0&&(b.fencedCodeBlockDefaultMode="text/plain"),b.xml===void 0&&(b.xml=!0),b.tokenTypeOverrides===void 0&&(b.tokenTypeOverrides={});var s={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 u in s)s.hasOwnProperty(u)&&b.tokenTypeOverrides[u]&&(s[u]=b.tokenTypeOverrides[u]);var o=/^([*\-_])(?:\s*\1){2,}\s*$/,e=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,r=/^\[(x| )\](?=\s)/i,i=b.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,n=/^ {0,3}(?:\={1,}|-{2,})\s*$/,l=/^[^#!\[\]*_\\<>` "'(~:]+/,t=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,a=/^\s*\[[^\]]+?\]:.*$/,c=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,h=" ";function f(H,K,U){return K.f=K.inline=U,U(H,K)}function g(H,K,U){return K.f=K.block=U,U(H,K)}function S(H){return!H||!/\S/.test(H.string)}function y(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 K=v;if(!K){var U=w.innerMode(m,H.htmlState);K=U.mode.name=="xml"&&U.state.tagStart===null&&!U.state.context&&U.state.tokenize.isInText}K&&(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,K){var U=H.column()===K.indentation,Q=S(K.prevLine.stream),V=K.indentedCode,J=K.prevLine.hr,ae=K.list!==!1,se=(K.listStack[K.listStack.length-1]||0)+3;K.indentedCode=!1;var $=K.indentation;if(K.indentationDiff===null&&(K.indentationDiff=K.indentation,ae)){for(K.list=null;$<K.listStack[K.listStack.length-1];)K.listStack.pop(),K.listStack.length?K.indentation=K.listStack[K.listStack.length-1]:K.list=!1;K.list!==!1&&(K.indentationDiff=$-K.listStack[K.listStack.length-1])}var ge=!Q&&!J&&!K.prevLine.header&&(!ae||!V)&&!K.prevLine.fencedCodeEnd,he=(K.list===!1||J||Q)&&K.indentation<=se&&H.match(o),Ie=null;if(K.indentationDiff>=4&&(V||K.prevLine.fencedCodeEnd||K.prevLine.header||Q))return H.skipToEnd(),K.indentedCode=!0,s.code;if(H.eatSpace())return null;if(U&&K.indentation<=se&&(Ie=H.match(i))&&Ie[1].length<=6)return K.quote=0,K.header=Ie[1].length,K.thisLine.header=!0,b.highlightFormatting&&(K.formatting="header"),K.f=K.inline,x(K);if(K.indentation<=se&&H.eat(">"))return K.quote=U?1:K.quote+1,b.highlightFormatting&&(K.formatting="quote"),H.eatSpace(),x(K);if(!he&&!K.setext&&U&&K.indentation<=se&&(Ie=H.match(e))){var Se=Ie[1]?"ol":"ul";return K.indentation=$+H.current().length,K.list=!0,K.quote=0,K.listStack.push(K.indentation),K.em=!1,K.strong=!1,K.code=!1,K.strikethrough=!1,b.taskLists&&H.match(r,!1)&&(K.taskList=!0),K.f=K.inline,b.highlightFormatting&&(K.formatting=["list","list-"+Se]),x(K)}else{if(U&&K.indentation<=se&&(Ie=H.match(t,!0)))return K.quote=0,K.fencedEndRE=new RegExp(Ie[1]+"+ *$"),K.localMode=b.fencedCodeBlockHighlighting&&p(Ie[2]||b.fencedCodeBlockDefaultMode),K.localMode&&(K.localState=w.startState(K.localMode)),K.f=K.block=T,b.highlightFormatting&&(K.formatting="code-block"),K.code=-1,x(K);if(K.setext||(!ge||!ae)&&!K.quote&&K.list===!1&&!K.code&&!he&&!a.test(H.string)&&(Ie=H.lookAhead(1))&&(Ie=Ie.match(n)))return K.setext?(K.header=K.setext,K.setext=0,H.skipToEnd(),b.highlightFormatting&&(K.formatting="header")):(K.header=Ie[0].charAt(0)=="="?1:2,K.setext=K.header),K.thisLine.header=!0,K.f=K.inline,x(K);if(he)return H.skipToEnd(),K.hr=!0,K.thisLine.hr=!0,s.hr;if(H.peek()==="[")return f(H,K,k)}return f(H,K,K.inline)}function C(H,K){var U=m.token(H,K.htmlState);if(!v){var Q=w.innerMode(m,K.htmlState);(Q.mode.name=="xml"&&Q.state.tagStart===null&&!Q.state.context&&Q.state.tokenize.isInText||K.md_inside&&H.current().indexOf(">")>-1)&&(K.f=I,K.block=E,K.htmlState=null)}return U}function T(H,K){var U=K.listStack[K.listStack.length-1]||0,Q=K.indentation<U,V=U+3;if(K.fencedEndRE&&K.indentation<=V&&(Q||H.match(K.fencedEndRE))){b.highlightFormatting&&(K.formatting="code-block");var J;return Q||(J=x(K)),K.localMode=K.localState=null,K.block=E,K.f=I,K.fencedEndRE=null,K.code=0,K.thisLine.fencedCodeEnd=!0,Q?g(H,K,K.block):J}else return K.localMode?K.localMode.token(H,K.localState):(H.skipToEnd(),s.code)}function x(H){var K=[];if(H.formatting){K.push(s.formatting),typeof H.formatting=="string"&&(H.formatting=[H.formatting]);for(var U=0;U<H.formatting.length;U++)K.push(s.formatting+"-"+H.formatting[U]),H.formatting[U]==="header"&&K.push(s.formatting+"-"+H.formatting[U]+"-"+H.header),H.formatting[U]==="quote"&&(!b.maxBlockquoteDepth||b.maxBlockquoteDepth>=H.quote?K.push(s.formatting+"-"+H.formatting[U]+"-"+H.quote):K.push("error"))}if(H.taskOpen)return K.push("meta"),K.length?K.join(" "):null;if(H.taskClosed)return K.push("property"),K.length?K.join(" "):null;if(H.linkHref?K.push(s.linkHref,"url"):(H.strong&&K.push(s.strong),H.em&&K.push(s.em),H.strikethrough&&K.push(s.strikethrough),H.emoji&&K.push(s.emoji),H.linkText&&K.push(s.linkText),H.code&&K.push(s.code),H.image&&K.push(s.image),H.imageAltText&&K.push(s.imageAltText,"link"),H.imageMarker&&K.push(s.imageMarker)),H.header&&K.push(s.header,s.header+"-"+H.header),H.quote&&(K.push(s.quote),!b.maxBlockquoteDepth||b.maxBlockquoteDepth>=H.quote?K.push(s.quote+"-"+H.quote):K.push(s.quote+"-"+b.maxBlockquoteDepth)),H.list!==!1){var Q=(H.listStack.length-1)%3;Q?Q===1?K.push(s.list2):K.push(s.list3):K.push(s.list1)}return H.trailingSpaceNewLine?K.push("trailing-space-new-line"):H.trailingSpace&&K.push("trailing-space-"+(H.trailingSpace%2?"a":"b")),K.length?K.join(" "):null}function _(H,K){return H.match(l,!0)?x(K):void 0}function I(H,K){var U=K.text(H,K);if(typeof U!="undefined")return U;if(K.list)return K.list=null,x(K);if(K.taskList){var Q=H.match(r,!0)[1]===" ";return Q?K.taskOpen=!0:K.taskClosed=!0,b.highlightFormatting&&(K.formatting="task"),K.taskList=!1,x(K)}if(K.taskOpen=!1,K.taskClosed=!1,K.header&&H.match(/^#+$/,!0))return b.highlightFormatting&&(K.formatting="header"),x(K);var V=H.next();if(K.linkTitle){K.linkTitle=!1;var J=V;V==="("&&(J=")"),J=(J+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ae="^\\s*(?:[^"+J+"\\\\]+|\\\\\\\\|\\\\.)"+J;if(H.match(new RegExp(ae),!0))return s.linkHref}if(V==="`"){var se=K.formatting;b.highlightFormatting&&(K.formatting="code"),H.eatWhile("`");var $=H.current().length;if(K.code==0&&(!K.quote||$==1))return K.code=$,x(K);if($==K.code){var ge=x(K);return K.code=0,ge}else return K.formatting=se,x(K)}else if(K.code)return x(K);if(V==="\\"&&(H.next(),b.highlightFormatting)){var he=x(K),Ie=s.formatting+"-escape";return he?he+" "+Ie:Ie}if(V==="!"&&H.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return K.imageMarker=!0,K.image=!0,b.highlightFormatting&&(K.formatting="image"),x(K);if(V==="["&&K.imageMarker&&H.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return K.imageMarker=!1,K.imageAltText=!0,b.highlightFormatting&&(K.formatting="image"),x(K);if(V==="]"&&K.imageAltText){b.highlightFormatting&&(K.formatting="image");var he=x(K);return K.imageAltText=!1,K.image=!1,K.inline=K.f=D,he}if(V==="["&&!K.image)return K.linkText&&H.match(/^.*?\]/)||(K.linkText=!0,b.highlightFormatting&&(K.formatting="link")),x(K);if(V==="]"&&K.linkText){b.highlightFormatting&&(K.formatting="link");var he=x(K);return K.linkText=!1,K.inline=K.f=H.match(/\(.*?\)| ?\[.*?\]/,!1)?D:I,he}if(V==="<"&&H.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){K.f=K.inline=L,b.highlightFormatting&&(K.formatting="link");var he=x(K);return he?he+=" ":he="",he+s.linkInline}if(V==="<"&&H.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){K.f=K.inline=L,b.highlightFormatting&&(K.formatting="link");var he=x(K);return he?he+=" ":he="",he+s.linkEmail}if(b.xml&&V==="<"&&H.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Se=H.string.indexOf(">",H.pos);if(Se!=-1){var Le=H.string.substring(H.start,Se);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Le)&&(K.md_inside=!0)}return H.backUp(1),K.htmlState=w.startState(m),g(H,K,C)}if(b.xml&&V==="<"&&H.match(/^\/\w*?>/))return K.md_inside=!1,"tag";if(V==="*"||V==="_"){for(var He=1,G=H.pos==1?" ":H.string.charAt(H.pos-2);He<3&&H.eat(V);)He++;var pe=H.peek()||" ",We=!/\s/.test(pe)&&(!c.test(pe)||/\s/.test(G)||c.test(G)),te=!/\s/.test(G)&&(!c.test(G)||/\s/.test(pe)||c.test(pe)),X=null,z=null;if(He%2&&(!K.em&&We&&(V==="*"||!te||c.test(G))?X=!0:K.em==V&&te&&(V==="*"||!We||c.test(pe))&&(X=!1)),He>1&&(!K.strong&&We&&(V==="*"||!te||c.test(G))?z=!0:K.strong==V&&te&&(V==="*"||!We||c.test(pe))&&(z=!1)),z!=null||X!=null){b.highlightFormatting&&(K.formatting=X==null?"strong":z==null?"em":"strong em"),X===!0&&(K.em=V),z===!0&&(K.strong=V);var ge=x(K);return X===!1&&(K.em=!1),z===!1&&(K.strong=!1),ge}}else if(V===" "&&(H.eat("*")||H.eat("_"))){if(H.peek()===" ")return x(K);H.backUp(1)}if(b.strikethrough){if(V==="~"&&H.eatWhile(V)){if(K.strikethrough){b.highlightFormatting&&(K.formatting="strikethrough");var ge=x(K);return K.strikethrough=!1,ge}else if(H.match(/^[^\s]/,!1))return K.strikethrough=!0,b.highlightFormatting&&(K.formatting="strikethrough"),x(K)}else if(V===" "&&H.match(/^~~/,!0)){if(H.peek()===" ")return x(K);H.backUp(2)}}if(b.emoji&&V===":"&&H.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){K.emoji=!0,b.highlightFormatting&&(K.formatting="emoji");var Z=x(K);return K.emoji=!1,Z}return V===" "&&(H.match(/^ +$/,!1)?K.trailingSpace++:K.trailingSpace&&(K.trailingSpaceNewLine=!0)),x(K)}function L(H,K){var U=H.next();if(U===">"){K.f=K.inline=I,b.highlightFormatting&&(K.formatting="link");var Q=x(K);return Q?Q+=" ":Q="",Q+s.linkInline}return H.match(/^[^>]+/,!0),s.linkInline}function D(H,K){if(H.eatSpace())return null;var U=H.next();return U==="("||U==="["?(K.f=K.inline=N(U==="("?")":"]"),b.highlightFormatting&&(K.formatting="link-string"),K.linkHref=!0,x(K)):"error"}var B={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function N(H){return function(K,U){var Q=K.next();if(Q===H){U.f=U.inline=I,b.highlightFormatting&&(U.formatting="link-string");var V=x(U);return U.linkHref=!1,V}return K.match(B[H]),U.linkHref=!0,x(U)}}function k(H,K){return H.match(/^([^\]\\]|\\.)*\]:/,!1)?(K.f=W,H.next(),b.highlightFormatting&&(K.formatting="link"),K.linkText=!0,x(K)):f(H,K,I)}function W(H,K){if(H.match(/^\]:/,!0)){K.f=K.inline=R,b.highlightFormatting&&(K.formatting="link");var U=x(K);return K.linkText=!1,U}return H.match(/^([^\]\\]|\\.)+/,!0),s.linkText}function R(H,K){return H.eatSpace()?null:(H.match(/^[^\s]+/,!0),H.peek()===void 0?K.linkTitle=!0:H.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),K.f=K.inline=I,s.linkHref+" url")}var j={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(K){return{f:K.f,prevLine:K.prevLine,thisLine:K.thisLine,block:K.block,htmlState:K.htmlState&&w.copyState(m,K.htmlState),indentation:K.indentation,localMode:K.localMode,localState:K.localMode?w.copyState(K.localMode,K.localState):null,inline:K.inline,text:K.text,formatting:!1,linkText:K.linkText,linkTitle:K.linkTitle,linkHref:K.linkHref,code:K.code,em:K.em,strong:K.strong,strikethrough:K.strikethrough,emoji:K.emoji,header:K.header,setext:K.setext,hr:K.hr,taskList:K.taskList,list:K.list,listStack:K.listStack.slice(0),quote:K.quote,indentedCode:K.indentedCode,trailingSpace:K.trailingSpace,trailingSpaceNewLine:K.trailingSpaceNewLine,md_inside:K.md_inside,fencedEndRE:K.fencedEndRE}},token:function(K,U){if(U.formatting=!1,K!=U.thisLine.stream){if(U.header=0,U.hr=!1,K.match(/^\s*$/,!0))return y(U),null;if(U.prevLine=U.thisLine,U.thisLine={stream:K},U.taskList=!1,U.trailingSpace=0,U.trailingSpaceNewLine=!1,!U.localState&&(U.f=U.block,U.f!=C)){var Q=K.match(/^\s*/,!0)[0].replace(/\t/g,h).length;if(U.indentation=Q,U.indentationDiff=null,Q>0)return null}}return U.f(K,U)},innerMode:function(K){return K.block==C?{state:K.htmlState,mode:m}:K.localState?{state:K.localState,mode:K.localMode}:{state:K,mode:j}},indent:function(K,U,Q){return K.block==C&&m.indent?m.indent(K.htmlState,U,Q):K.localState&&K.localMode.indent?K.localMode.indent(K.localState,U,Q):w.Pass},blankLine:y,getType:x,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return j},"xml"),w.defineMIME("text/markdown","markdown"),w.defineMIME("text/x-markdown","markdown")})},laiN:function(M,P,d){var w=d("ProS");d("GVMX"),d("MH26"),w.registerPreprocessor(function(A){A.markLine=A.markLine||{}})},loD1:function(M,P){function d(w,A,b,m,v,p,s){if(v===0)return!1;var u=v,o=0,e=w;if(s>A+u&&s>m+u||s<A-u&&s<m-u||p>w+u&&p>b+u||p<w-u&&p<b-u)return!1;if(w!==b)o=(A-m)/(w-b),e=(w*m-b*A)/(w-b);else return Math.abs(p-w)<=u/2;var r=o*p-s+e,i=r*r/(o*o+1);return i<=u/2*u/2}P.containStroke=d},lv6n:function(M,P,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("q1tI"),m=d("TSYQ"),v=d.n(m),p=d("bT9E"),s=d("9R2V"),u=function(y,E){var C={};for(var T in y)Object.prototype.hasOwnProperty.call(y,T)&&E.indexOf(T)<0&&(C[T]=y[T]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,T=Object.getOwnPropertySymbols(y);x<T.length;x++)E.indexOf(T[x])<0&&Object.prototype.propertyIsEnumerable.call(y,T[x])&&(C[T[x]]=y[T[x]]);return C},o=function(E){var C=E.prefixCls,T=E.className,x=E.hoverable,_=x===void 0?!0:x,I=u(E,["prefixCls","className","hoverable"]);return b.createElement(s.a,null,function(L){var D=L.getPrefixCls,B=D("card",C),N=v()("".concat(B,"-grid"),T,Object(w.a)({},"".concat(B,"-grid-hoverable"),_));return b.createElement("div",Object(A.a)({},I,{className:N}))})},e=o,r=function(y,E){var C={};for(var T in y)Object.prototype.hasOwnProperty.call(y,T)&&E.indexOf(T)<0&&(C[T]=y[T]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,T=Object.getOwnPropertySymbols(y);x<T.length;x++)E.indexOf(T[x])<0&&Object.prototype.propertyIsEnumerable.call(y,T[x])&&(C[T[x]]=y[T[x]]);return C},i=function(E){return b.createElement(s.a,null,function(C){var T=C.getPrefixCls,x=E.prefixCls,_=E.className,I=E.avatar,L=E.title,D=E.description,B=r(E,["prefixCls","className","avatar","title","description"]),N=T("card",x),k=v()("".concat(N,"-meta"),_),W=I?b.createElement("div",{className:"".concat(N,"-meta-avatar")},I):null,R=L?b.createElement("div",{className:"".concat(N,"-meta-title")},L):null,j=D?b.createElement("div",{className:"".concat(N,"-meta-description")},D):null,H=R||j?b.createElement("div",{className:"".concat(N,"-meta-detail")},R,j):null;return b.createElement("div",Object(A.a)({},B,{className:k}),W,H)})},n=i,l=d("GJq7"),t=d("AeMq"),a=d("f+He"),c=d("kc2O"),h=function(y,E){var C={};for(var T in y)Object.prototype.hasOwnProperty.call(y,T)&&E.indexOf(T)<0&&(C[T]=y[T]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,T=Object.getOwnPropertySymbols(y);x<T.length;x++)E.indexOf(T[x])<0&&Object.prototype.propertyIsEnumerable.call(y,T[x])&&(C[T[x]]=y[T[x]]);return C};function f(y){var E=y.map(function(C,T){return b.createElement("li",{style:{width:"".concat(100/y.length,"%")},key:"action-".concat(T)},b.createElement("span",null,C))});return E}var g=function(E){var C,T,x=b.useContext(s.b),_=x.getPrefixCls,I=x.direction,L=b.useContext(c.b),D=function(Qe){var nt;(nt=E.onTabChange)===null||nt===void 0||nt.call(E,Qe)},B=function(){var Qe;return b.Children.forEach(E.children,function(nt){nt&&nt.type&&nt.type===e&&(Qe=!0)}),Qe},N=E.prefixCls,k=E.className,W=E.extra,R=E.headStyle,j=R===void 0?{}:R,H=E.bodyStyle,K=H===void 0?{}:H,U=E.title,Q=E.loading,V=E.bordered,J=V===void 0?!0:V,ae=E.size,se=E.type,$=E.cover,ge=E.actions,he=E.tabList,Ie=E.children,Se=E.activeTabKey,Le=E.defaultActiveTabKey,He=E.tabBarExtraContent,G=E.hoverable,pe=E.tabProps,We=pe===void 0?{}:pe,te=h(E,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),X=_("card",N),z=K.padding===0||K.padding==="0px"?{padding:24}:void 0,Z=b.createElement("div",{className:"".concat(X,"-loading-block")}),be=b.createElement("div",{className:"".concat(X,"-loading-content"),style:z},b.createElement(t.a,{gutter:8},b.createElement(a.a,{span:22},Z)),b.createElement(t.a,{gutter:8},b.createElement(a.a,{span:8},Z),b.createElement(a.a,{span:15},Z)),b.createElement(t.a,{gutter:8},b.createElement(a.a,{span:6},Z),b.createElement(a.a,{span:18},Z)),b.createElement(t.a,{gutter:8},b.createElement(a.a,{span:13},Z),b.createElement(a.a,{span:9},Z)),b.createElement(t.a,{gutter:8},b.createElement(a.a,{span:4},Z),b.createElement(a.a,{span:3},Z),b.createElement(a.a,{span:16},Z))),ne=Se!==void 0,Ae=Object(A.a)(Object(A.a)({},We),(C={},Object(w.a)(C,ne?"activeKey":"defaultActiveKey",ne?Se:Le),Object(w.a)(C,"tabBarExtraContent",He),C)),Ne,oe=he&&he.length?b.createElement(l.a,Object(A.a)({size:"large"},Ae,{className:"".concat(X,"-head-tabs"),onChange:D}),he.map(function(pt){return b.createElement(l.a.TabPane,{tab:pt.tab,disabled:pt.disabled,key:pt.key})})):null;(U||W||oe)&&(Ne=b.createElement("div",{className:"".concat(X,"-head"),style:j},b.createElement("div",{className:"".concat(X,"-head-wrapper")},U&&b.createElement("div",{className:"".concat(X,"-head-title")},U),W&&b.createElement("div",{className:"".concat(X,"-extra")},W)),oe));var de=$?b.createElement("div",{className:"".concat(X,"-cover")},$):null,xe=b.createElement("div",{className:"".concat(X,"-body"),style:K},Q?be:Ie),Pe=ge&&ge.length?b.createElement("ul",{className:"".concat(X,"-actions")},f(ge)):null,tt=Object(p.a)(te,["onTabChange"]),Je=ae||L,Oe=v()(X,(T={},Object(w.a)(T,"".concat(X,"-loading"),Q),Object(w.a)(T,"".concat(X,"-bordered"),J),Object(w.a)(T,"".concat(X,"-hoverable"),G),Object(w.a)(T,"".concat(X,"-contain-grid"),B()),Object(w.a)(T,"".concat(X,"-contain-tabs"),he&&he.length),Object(w.a)(T,"".concat(X,"-").concat(Je),Je),Object(w.a)(T,"".concat(X,"-type-").concat(se),!!se),Object(w.a)(T,"".concat(X,"-rtl"),I==="rtl"),T),k);return b.createElement("div",Object(A.a)({},tt,{className:Oe}),Ne,de,xe,Pe)};g.Grid=e,g.Meta=n;var S=P.a=g},lwQL:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("9wZj"),m=d("c8qY"),v=d("SgGq"),p=d("Ae+d"),s=d("xSat"),u=s.onIrrelevantElement,o=d("IwbS"),e=d("SA8n"),r=d("U/Mo"),i=r.getNodeGlobalScale,n="__focusNodeAdjacency",l="__unfocusNodeAdjacency",t=["itemStyle","opacity"],a=["lineStyle","opacity"];function c(S,y){var E=S.getVisual("opacity");return E!=null?E:S.getModel().get(y)}function h(S,y,E){var C=S.getGraphicEl(),T=c(S,y);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 f(S,y){var E=c(S,y),C=S.getGraphicEl();C.traverse(function(T){!T.isGroup&&T.setStyle("opacity",E)}),C.highlight&&C.highlight()}var g=w.extendChartView({type:"graph",init:function(S,y){var E=new b,C=new m,T=this.group;this._controller=new v(y.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,y,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):o.updateProps(I,L,S)}e(S.getGraph(),i(S));var D=S.getData();x.updateData(D);var B=S.getEdgeData();_.updateData(B),this._updateNodeAndLinkScale(),this._updateController(S,y,E),clearTimeout(this._layoutTimeout);var N=S.forceLayout,k=S.get("force.layoutAnimation");N&&this._startForceLayoutIteration(N,k),D.eachItemGraphicEl(function(H,K){var U=D.getItemModel(K);H.off("drag").off("dragend");var Q=U.get("draggable");Q&&H.on("drag",function(){N&&(N.warmUp(),!this._layouting&&this._startForceLayoutIteration(N,k),N.setFixed(K),D.setItemLayout(K,H.position))},this).on("dragend",function(){N&&N.setUnfixed(K)},this),H.setDraggable(Q&&N),H[n]&&H.off("mouseover",H[n]),H[l]&&H.off("mouseout",H[l]),U.get("focusNodeAdjacency")&&(H.on("mouseover",H[n]=function(){C._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:S.id,dataIndex:H.dataIndex})}),H.on("mouseout",H[l]=function(){C._dispatchUnfocus(E)}))},this),D.graph.eachEdge(function(H){var K=H.getGraphicEl();K[n]&&K.off("mouseover",K[n]),K[l]&&K.off("mouseout",K[l]),H.getModel().get("focusNodeAdjacency")&&(K.on("mouseover",K[n]=function(){C._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:S.id,edgeDataIndex:H.dataIndex})}),K.on("mouseout",K[l]=function(){C._dispatchUnfocus(E)}))});var W=S.get("layout")==="circular"&&S.get("circular.rotateLabel"),R=D.getLayout("cx"),j=D.getLayout("cy");D.eachItemGraphicEl(function(H,K){var U=D.getItemModel(K),Q=U.get("label.rotate")||0,V=H.getSymbolPath();if(W){var J=D.getItemLayout(K),ae=Math.atan2(J[1]-j,J[0]-R);ae<0&&(ae=Math.PI*2+ae);var se=J[0]<R;se&&(ae=ae-Math.PI);var $=se?"left":"right";o.modifyLabelStyle(V,{textRotation:-ae,textPosition:$,textOrigin:"center"},{textPosition:$})}else o.modifyLabelStyle(V,{textRotation:Q*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(S,y){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,y,E,C){var T=S.getData(),x=T.graph,_=C.dataIndex,I=C.edgeDataIndex,L=x.getNodeByIndex(_),D=x.getEdgeByIndex(I);if(!L&&!D)return;x.eachNode(function(B){h(B,t,.1)}),x.eachEdge(function(B){h(B,a,.1)}),L&&(f(L,t),A.each(L.edges,function(B){if(B.dataIndex<0)return;f(B,a),f(B.node1,t),f(B.node2,t)})),D&&(f(D,a),f(D.node1,t),f(D.node2,t))},unfocusNodeAdjacency:function(S,y,E,C){var T=S.getData().graph;T.eachNode(function(x){h(x,t)}),T.eachEdge(function(x){h(x,a)})},_startForceLayoutIteration:function(S,y){var E=this;(function C(){S.step(function(T){E.updateLayout(E._model),(E._layouting=!T)&&(y?E._layoutTimeout=setTimeout(C,16):C())})})()},_updateController:function(S,y,E){var C=this._controller,T=this._controllerHost,x=this.group;if(C.setPointerChecker(function(_,I,L){var D=x.getBoundingRect();return D.applyTransform(x.transform),D.contain(I,L)&&!u(_,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,y=S.getData(),E=i(S),C=[E,E];y.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,y){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});M.exports=g},m0NC:function(M,P,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("q1tI"),m=d("KQm4"),v=d("1OyB"),p=d("vuIU"),s=d("Ji7U"),u=d("LK+K"),o=d("U8pU"),e=d("TSYQ"),r=d.n(e),i=d("Gytx"),n=d.n(i),l=d("Zm9Q"),t=d("8XRh"),a=d("ODXe"),c=b.forwardRef(function(H,K){var U,Q=H.prefixCls,V=H.forceRender,J=H.className,ae=H.style,se=H.children,$=H.isActive,ge=H.role,he=b.useState($||V),Ie=Object(a.a)(he,2),Se=Ie[0],Le=Ie[1];return b.useEffect(function(){(V||$)&&Le(!0)},[V,$]),Se?b.createElement("div",{ref:K,className:r()("".concat(Q,"-content"),(U={},Object(A.a)(U,"".concat(Q,"-content-active"),$),Object(A.a)(U,"".concat(Q,"-content-inactive"),!$),U),J),style:ae,role:ge},b.createElement("div",{className:"".concat(Q,"-content-box")},se)):null});c.displayName="PanelContent";var h=c,f=function(H){Object(s.a)(U,H);var K=Object(u.a)(U);function U(){var Q;Object(v.a)(this,U);for(var V=arguments.length,J=new Array(V),ae=0;ae<V;ae++)J[ae]=arguments[ae];return Q=K.call.apply(K,[this].concat(J)),Q.handleItemClick=function(){var se=Q.props,$=se.onItemClick,ge=se.panelKey;typeof $=="function"&&$(ge)},Q.handleKeyPress=function(se){(se.key==="Enter"||se.keyCode===13||se.which===13)&&Q.handleItemClick()},Q}return Object(p.a)(U,[{key:"shouldComponentUpdate",value:function(V){return!n()(this.props,V)}},{key:"render",value:function(){var V,J,ae=this,se=this.props,$=se.className,ge=se.id,he=se.style,Ie=se.prefixCls,Se=se.header,Le=se.headerClass,He=se.children,G=se.isActive,pe=se.showArrow,We=se.destroyInactivePanel,te=se.accordion,X=se.forceRender,z=se.openMotion,Z=se.expandIcon,be=se.extra,ne=se.collapsible,Ae=ne==="disabled",Ne=r()("".concat(Ie,"-header"),(V={},Object(A.a)(V,Le,Le),Object(A.a)(V,"".concat(Ie,"-header-collapsible-only"),ne==="header"),V)),oe=r()((J={},Object(A.a)(J,"".concat(Ie,"-item"),!0),Object(A.a)(J,"".concat(Ie,"-item-active"),G),Object(A.a)(J,"".concat(Ie,"-item-disabled"),Ae),J),$),de=b.createElement("i",{className:"arrow"});pe&&typeof Z=="function"&&(de=Z(this.props));var xe=be!=null&&typeof be!="boolean";return b.createElement("div",{className:oe,style:he,id:ge},b.createElement("div",{className:Ne,onClick:function(){return ne!=="header"&&ae.handleItemClick()},role:te?"tab":"button",tabIndex:Ae?-1:0,"aria-expanded":G,onKeyPress:this.handleKeyPress},pe&&de,ne==="header"?b.createElement("span",{onClick:this.handleItemClick,className:"".concat(Ie,"-header-text")},Se):Se,xe&&b.createElement("div",{className:"".concat(Ie,"-extra")},be)),b.createElement(t.default,Object(w.a)({visible:G,leavedClassName:"".concat(Ie,"-content-hidden")},z,{forceRender:X,removeOnLeave:We}),function(Pe,tt){var Je=Pe.className,Oe=Pe.style;return b.createElement(h,{ref:tt,prefixCls:Ie,className:Je,style:Oe,isActive:G,forceRender:X,role:te?"tabpanel":null},He)}))}}]),U}(b.Component);f.defaultProps={showArrow:!0,isActive:!1,onItemClick:function(){},headerClass:"",forceRender:!1};var g=f;function S(H){var K=H;if(!Array.isArray(K)){var U=Object(o.a)(K);K=U==="number"||U==="string"?[K]:[]}return K.map(function(Q){return String(Q)})}var y=function(H){Object(s.a)(U,H);var K=Object(u.a)(U);function U(Q){var V;Object(v.a)(this,U),V=K.call(this,Q),V.onClickItem=function($){var ge=V.state.activeKey;if(V.props.accordion)ge=ge[0]===$?[]:[$];else{ge=Object(m.a)(ge);var he=ge.indexOf($),Ie=he>-1;Ie?ge.splice(he,1):ge.push($)}V.setActiveKey(ge)},V.getNewChild=function($,ge){if(!$)return null;var he=V.state.activeKey,Ie=V.props,Se=Ie.prefixCls,Le=Ie.openMotion,He=Ie.accordion,G=Ie.destroyInactivePanel,pe=Ie.expandIcon,We=Ie.collapsible,te=$.key||String(ge),X=$.props,z=X.header,Z=X.headerClass,be=X.destroyInactivePanel,ne=X.collapsible,Ae=!1;He?Ae=he[0]===te:Ae=he.indexOf(te)>-1;var Ne=ne!=null?ne:We,oe={key:te,panelKey:te,header:z,headerClass:Z,isActive:Ae,prefixCls:Se,destroyInactivePanel:be!=null?be:G,openMotion:Le,accordion:He,children:$.props.children,onItemClick:Ne==="disabled"?null:V.onClickItem,expandIcon:pe,collapsible:Ne};return typeof $.type=="string"?$:b.cloneElement($,oe)},V.getItems=function(){var $=V.props.children;return Object(l.a)($).map(V.getNewChild)},V.setActiveKey=function($){"activeKey"in V.props||V.setState({activeKey:$}),V.props.onChange(V.props.accordion?$[0]:$)};var J=Q.activeKey,ae=Q.defaultActiveKey,se=ae;return"activeKey"in Q&&(se=J),V.state={activeKey:S(se)},V}return Object(p.a)(U,[{key:"shouldComponentUpdate",value:function(V,J){return!n()(this.props,V)||!n()(this.state,J)}},{key:"render",value:function(){var V,J=this.props,ae=J.prefixCls,se=J.className,$=J.style,ge=J.accordion,he=r()((V={},Object(A.a)(V,ae,!0),Object(A.a)(V,se,!!se),V));return b.createElement("div",{className:he,style:$,role:ge?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(V){var J={};return"activeKey"in V&&(J.activeKey=S(V.activeKey)),J}}]),U}(b.Component);y.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},y.Panel=g;var E=y,C=E,T=E.Panel,x=d("UESt"),_=d("bT9E"),I=d("9R2V"),L=d("bq+4"),D=function(K){Object(L.a)(!("disabled"in K),"Collapse.Panel",'`disabled` is deprecated. Please use `collapsible="disabled"` instead.');var U=b.useContext(I.b),Q=U.getPrefixCls,V=K.prefixCls,J=K.className,ae=J===void 0?"":J,se=K.showArrow,$=se===void 0?!0:se,ge=Q("collapse",V),he=r()(Object(A.a)({},"".concat(ge,"-no-arrow"),!$),ae);return b.createElement(C.Panel,Object(w.a)({},K,{prefixCls:ge,className:he}))},B=D,N=d("MZCN"),k=d("kLeg"),W=function(K){var U,Q=b.useContext(I.b),V=Q.getPrefixCls,J=Q.direction,ae=K.prefixCls,se=K.className,$=se===void 0?"":se,ge=K.bordered,he=ge===void 0?!0:ge,Ie=K.ghost,Se=V("collapse",ae),Le=function(){var z=K.expandIconPosition;return z!==void 0?z:J==="rtl"?"right":"left"},He=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Z=K.expandIcon,be=Z?Z(z):b.createElement(x.a,{rotate:z.isActive?90:void 0});return Object(k.a)(be,function(){return{className:r()(be.props.className,"".concat(Se,"-arrow"))}})},G=Le(),pe=r()((U={},Object(A.a)(U,"".concat(Se,"-borderless"),!he),Object(A.a)(U,"".concat(Se,"-icon-position-").concat(G),!0),Object(A.a)(U,"".concat(Se,"-rtl"),J==="rtl"),Object(A.a)(U,"".concat(Se,"-ghost"),!!Ie),U),$),We=Object(w.a)(Object(w.a)({},N.a),{motionAppear:!1,leavedClassName:"".concat(Se,"-content-hidden")}),te=function(){var z=K.children;return Object(l.a)(z).map(function(Z,be){var ne;if((ne=Z.props)===null||ne===void 0?void 0:ne.disabled){var Ae=Z.key||String(be),Ne=Z.props,oe=Ne.disabled,de=Ne.collapsible,xe=Object(w.a)(Object(w.a)({},Object(_.a)(Z.props,["disabled"])),{key:Ae,collapsible:de!=null?de:oe?"disabled":void 0});return Object(k.a)(Z,xe)}return Z})};return b.createElement(C,Object(w.a)({openMotion:We},K,{expandIcon:He,prefixCls:Se,className:pe}),te())};W.Panel=B;var R=W,j=P.a=R},m9t5:function(M,P,d){var w=d("KCsZ"),A=w([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),b={getAreaStyle:function(m,v){return A(this,m,v)}};M.exports=b},mFDi:function(M,P,d){var w=d("QBsz"),A=d("Fofx"),b=w.applyTransform,m=Math.min,v=Math.max;function p(u,o,e,r){e<0&&(u=u+e,e=-e),r<0&&(o=o+r,r=-r),this.x=u,this.y=o,this.width=e,this.height=r}p.prototype={constructor:p,union:function(o){var e=m(o.x,this.x),r=m(o.y,this.y);this.width=v(o.x+o.width,this.x+this.width)-e,this.height=v(o.y+o.height,this.y+this.height)-r,this.x=e,this.y=r},applyTransform:function(){var u=[],o=[],e=[],r=[];return function(i){if(!i)return;u[0]=e[0]=this.x,u[1]=r[1]=this.y,o[0]=r[0]=this.x+this.width,o[1]=e[1]=this.y+this.height,b(u,u,i),b(o,o,i),b(e,e,i),b(r,r,i),this.x=m(u[0],o[0],e[0],r[0]),this.y=m(u[1],o[1],e[1],r[1]);var n=v(u[0],o[0],e[0],r[0]),l=v(u[1],o[1],e[1],r[1]);this.width=n-this.x,this.height=l-this.y}}(),calculateTransform:function(o){var e=this,r=o.width/e.width,i=o.height/e.height,n=A.create();return A.translate(n,n,[-e.x,-e.y]),A.scale(n,n,[r,i]),A.translate(n,n,[o.x,o.y]),n},intersect:function(o){if(!o)return!1;o instanceof p||(o=p.create(o));var e=this,r=e.x,i=e.x+e.width,n=e.y,l=e.y+e.height,t=o.x,a=o.x+o.width,c=o.y,h=o.y+o.height;return!(i<t||a<r||l<c||h<n)},contain:function(o,e){var r=this;return o>=r.x&&o<=r.x+r.width&&e>=r.y&&e<=r.y+r.height},clone:function(){return new p(this.x,this.y,this.width,this.height)},copy:function(o){this.x=o.x,this.y=o.y,this.width=o.width,this.height=o.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},p.create=function(u){return new p(u.x,u.y,u.width,u.height)};var s=p;M.exports=s},mHUz:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.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};P.default=w},mLcG:function(M,P){var d=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=d},mOdp:function(M,P,d){var w=d("bYtY"),A=w.createHashMap;function b(m){return{getTargetSeries:function(v){var p={},s=A();return v.eachSeriesByType(m,function(u){u.__paletteScope=p,s.set(u.uid,u)}),s},reset:function(v,p){var s=v.getRawData(),u={},o=v.getData();o.each(function(e){var r=o.getRawIndex(e);u[r]=e}),s.each(function(e){var r=u[e],i=r!=null&&o.getItemVisual(r,"color",!0),n=r!=null&&o.getItemVisual(r,"borderColor",!0),l;if((!i||!n)&&(l=s.getItemModel(e)),!i){var t=l.get("itemStyle.color")||v.getColorFromPalette(s.getName(e)||e+"",v.__paletteScope,s.count());r!=null&&o.setItemVisual(r,"color",t)}if(!n){var a=l.get("itemStyle.borderColor");r!=null&&o.setItemVisual(r,"borderColor",a)}})}}}M.exports=b},mTgk:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var w=A(d("mHUz"));function A(u){return u&&u.__esModule?u:{default:u}}var b={};function m(u,o){if(o===void 0)throw new Error('Undefined keysym for key "'+u+'"');if(u in b)throw new Error('Duplicate entry for key "'+u+'"');b[u]=[o,o,o,o]}function v(u,o,e){if(o===void 0)throw new Error('Undefined keysym for key "'+u+'"');if(e===void 0)throw new Error('Undefined keysym for key "'+u+'"');if(u in b)throw new Error('Duplicate entry for key "'+u+'"');b[u]=[o,o,e,o]}function p(u,o,e){if(o===void 0)throw new Error('Undefined keysym for key "'+u+'"');if(e===void 0)throw new Error('Undefined keysym for key "'+u+'"');if(u in b)throw new Error('Duplicate entry for key "'+u+'"');b[u]=[o,o,o,e]}v("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),v("Control",w.default.XK_Control_L,w.default.XK_Control_R),v("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),v("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 s=b;P.default=s},mYwL:function(M,P,d){var w=d("bYtY"),A=d("IwbS"),b=d("6GrX"),m=Math.PI;function v(p,s){s=s||{},w.defaults(s,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var u=new A.Group,o=new A.Rect({style:{fill:s.maskColor},zlevel:s.zlevel,z:1e4});u.add(o);var e=s.fontSize+" sans-serif",r=new A.Rect({style:{fill:"none",text:s.text,font:e,textPosition:"right",textDistance:10,textFill:s.textColor},zlevel:s.zlevel,z:10001});if(u.add(r),s.showSpinner){var i=new A.Arc({shape:{startAngle:-m/2,endAngle:-m/2+.1,r:s.spinnerRadius},style:{stroke:s.color,lineCap:"round",lineWidth:s.lineWidth},zlevel:s.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"),u.add(i)}return u.resize=function(){var n=b.getWidth(s.text,e),l=s.showSpinner?s.spinnerRadius:0,t=(p.getWidth()-l*2-(s.showSpinner&&n?10:0)-n)/2-(s.showSpinner?0:n/2),a=p.getHeight()/2;s.showSpinner&&i.setShape({cx:t,cy:a}),r.setShape({x:t-l,y:a-l,width:l*2,height:l*2}),o.setShape({x:0,y:0,width:p.getWidth(),height:p.getHeight()})},u.resize(),u}M.exports=v},mdZa:function(M,P,d){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(A,b){"use strict";if(A==null)throw new TypeError("Cannot convert undefined or null to object");for(var m=Object(A),v=1;v<arguments.length;v++){var p=arguments[v];if(p!=null)for(var s in p)Object.prototype.hasOwnProperty.call(p,s)&&(m[s]=p[s])}return m},writable:!0,configurable:!0}),function(){function w(A,b){b=b||{bubbles:!1,cancelable:!1,detail:void 0};var m=document.createEvent("CustomEvent");return m.initCustomEvent(A,b.bubbles,b.cancelable,b.detail),m}w.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=w)}(),Number.isInteger=Number.isInteger||function(A){return typeof A=="number"&&isFinite(A)&&Math.floor(A)===A}},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(M){if(!0)module.exports=M();else var P})(function(){var define,module,exports;return function(){function M(P,d,w){function A(v,p){if(!d[v]){if(!P[v]){var s=typeof require=="function"&&require;if(!p&&s)return require(v,!0);if(b)return b(v,!0);var u=new Error("Cannot find module '"+v+"'");throw u.code="MODULE_NOT_FOUND",u}var o=d[v]={exports:{}};P[v][0].call(o.exports,function(e){var r=P[v][1][e];return A(r||e)},o,o.exports,M,P,d,w)}return d[v].exports}for(var b=typeof require=="function"&&require,m=0;m<w.length;m++)A(w[m]);return A}return M}()({1:[function(M,P,d){"use strict";var w=M("./browser/client");w.Buffer=M("buffer").Buffer,w.urllib=M("../shims/xhr"),w.version=M("./browser/version").version,P.exports=w},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(M,P,d){(function(w,A){"use strict";var b=M("babel-runtime/core-js/promise"),m=o(b),v=M("babel-runtime/regenerator"),p=o(v),s=M("babel-runtime/core-js/object/assign"),u=o(s);function o(k){return k&&k.__esModule?k:{default:k}}var e=M("debug")("ali-oss"),r=M("copy-to"),i=M("xml2js"),n=M("agentkeepalive"),l=M("merge-descriptors"),t=M("url"),a=M("is-type-of"),c=M("platform"),h=M("utility"),f=M("urllib"),g=M("./version"),S=M("bowser"),y=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 n;function L(){var k=c.name,W=c.version;k&&k.toLowerCase&&k.toLowerCase()==="ie"&&W.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function D(){return location&&location.protocol==="https:"}function B(k,W){if(L(),!(this instanceof B))return new B(k,W);k&&k.inited?this.options=k:this.options=B.initOptions(k),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=f,this.agent=this.options.agent||I),this.ctx=W,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}P.exports=B,B.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 R=(0,u.default)({secure:D(),useFetch:!1},W);return T(R)};var N=B.prototype;N.debug=e,l(N,M("./object")),l(N,M("../common/bucket/getBucketWebsite")),l(N,M("../common/bucket/putBucketWebsite")),l(N,M("../common/bucket/deleteBucketWebsite")),l(N,M("../common/bucket/getBucketLifecycle")),l(N,M("../common/bucket/putBucketLifecycle")),l(N,M("../common/bucket/deleteBucketLifecycle")),l(N,M("../common/bucket/putBucketVersioning")),l(N,M("../common/bucket/getBucketVersioning")),l(N,M("./managed-upload")),l(N,M("../common/multipart")),l(N,M("../common/parallel")),N.signature=function(W){return this.debug("authorization stringToSign: %s",W,"info"),y.computeSignature(this.options.accessKeySecret,W)},N.authorization=function(W,R,j,H){var K=y.buildCanonicalString(W.toUpperCase(),R,{headers:H,parameters:j});return y.authorization(this.options.accessKeyId,this.options.accessKeySecret,K)},N.request=function(W){var R,j,H,K,U,Q;return p.default.async(function(J){for(;;)switch(J.prev=J.next){case 0:return R=_.call(this,W),this.options.useFetch||(R.params.mode="disable-fetch"),j=void 0,H=void 0,K=!!W.stream,J.prev=5,J.next=8,p.default.awrap(this.urllib.request(R.url,R.params));case 8:j=J.sent,this.debug("response %s %s, got %s, headers: %j",W.method,R.url,j.status,j.headers,"info"),J.next=15;break;case 12:J.prev=12,J.t0=J.catch(5),H=J.t0;case 15:if(U=void 0,!(j&&W.successStatuses&&W.successStatuses.indexOf(j.status)===-1)){J.next=28;break}return J.next=19,p.default.awrap(this.requestError(j));case 19:if(U=J.sent,!(U.code==="RequestTimeTooSkewed"&&!K)){J.next=25;break}return this.options.amendTimeSkewed=+new Date(U.serverTime)-new Date,J.next=24,p.default.awrap(this.request(W));case 24:return J.abrupt("return",J.sent);case 25:U.params=W,J.next=32;break;case 28:if(!H){J.next=32;break}return J.next=31,p.default.awrap(this.requestError(H));case 31:U=J.sent;case 32:if(!U){J.next=34;break}throw U;case 34:if(!W.xmlResponse){J.next=39;break}return J.next=37,p.default.awrap(this.parseXML(j.data));case 37:Q=J.sent,j.data=Q;case 39:return J.abrupt("return",j);case 40:case"end":return J.stop()}},null,this,[[5,12]])},N._getResource=function(W){var R="/";return W.bucket&&(R+=W.bucket+"/"),W.object&&(R+=W.object),R},N._isIP=C,N._escape=function(W){return h.encodeURIComponent(W).replace(/%2F/g,"/")},N._getReqUrl=function(W){var R={};r(this.options.endpoint).to(R);var j=this._isIP(R.hostname),H=this.options.cname;W.bucket&&!H&&!j&&(R.host=W.bucket+"."+R.host);var K="/";W.bucket&&j&&(K+=W.bucket+"/"),W.object&&(K+=this._escape(W.object).replace(/\+/g,"%2B")),R.pathname=K;var U={};if(W.query&&l(U,W.query),W.subres){var Q={};a.string(W.subres)?Q[W.subres]="":a.array(W.subres)?W.subres.forEach(function(V){Q[V]=""}):Q=W.subres,l(U,Q)}return R.query=U,t.format(R)},N._getUserAgent=function(){var W=A&&A.browser?"js":"nodejs",R="aliyun-sdk-"+W+"/"+g.version,j=c.description;return!j&&A&&(j="Node.js "+A.version.slice(1)+" on "+A.platform+" "+A.arch),this._checkUserAgent(R+" "+j)},N._checkUserAgent=function(W){var R=W.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return R},N.checkBrowserAndVersion=function(W,R){return S.name===W&&S.version.split(".")[0]===R},N.parseXML=function(W){return new m.default(function(R,j){w.isBuffer(W)&&(W=W.toString()),i.parseString(W,{explicitRoot:!1,explicitArray:!1},function(H,K){H?j(H):R(K)})})},N.requestError=function(W){var R,j,H,K;return p.default.async(function(Q){for(;;)switch(Q.prev=Q.next){case 0:if(R=null,!(!W.data||!W.data.length)){Q.next=5;break}W.status===-1||W.status===-2?(R=new Error(W.message),R.name=W.name,R.status=W.status,R.code=W.name):(W.status===404?(R=new Error("Object not exists"),R.name="NoSuchKeyError",R.status=404,R.code="NoSuchKey"):W.status===412?(R=new Error("Pre condition failed"),R.name="PreconditionFailedError",R.status=412,R.code="PreconditionFailed"):(R=new Error("Unknow error, status: "+W.status),R.name="UnknowError",R.status=W.status),R.requestId=W.headers["x-oss-request-id"],R.host=""),Q.next=33;break;case 5:return j=String(W.data),this.debug("request response error data: %s",j,"error"),H=void 0,Q.prev=8,Q.next=11,p.default.awrap(this.parseXML(j));case 11:if(Q.t0=Q.sent,Q.t0){Q.next=14;break}Q.t0={};case 14:H=Q.t0,Q.next=24;break;case 17:return Q.prev=17,Q.t1=Q.catch(8),this.debug(j,"error"),Q.t1.message+=`
|
|
|
raw xml: `+j,Q.t1.status=W.status,Q.t1.requestId=W.headers["x-oss-request-id"],Q.abrupt("return",Q.t1);case 24:K=H.Message||"unknow request error, status: "+W.status,H.Condition&&(K+=" (condition: "+H.Condition+")"),R=new Error(K),R.name=H.Code?H.Code+"Error":"UnknowError",R.status=W.status,R.code=H.Code,R.requestId=H.RequestId,R.hostId=H.HostId,R.serverTime=H.ServerTime;case 33:return this.debug("generate error %j",R,"error"),Q.abrupt("return",R);case 35:case"end":return Q.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,P,d){(function(w){"use strict";var A=M("babel-runtime/core-js/array/from"),b=u(A),m=M("babel-runtime/core-js/promise"),v=u(m),p=M("babel-runtime/regenerator"),s=u(p);function u(y){return y&&y.__esModule?y:{default:y}}var o=M("is-type-of"),e=M("util"),r=M("path"),i=M("mime"),n=M("copy-to"),l=M("../common/utils/isBlob"),t=l.isBlob,a=M("../common/utils/isFile"),c=a.isFile,h=d;h.multipartUpload=function(E,C,T){var x,_,I,L,D,B,N,k,W;return s.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:if(this.resetCancelFlag(),T=T||{},!(T.checkpoint&&T.checkpoint.uploadId)){j.next=6;break}return j.next=5,s.default.awrap(this._resumeMultipart(T.checkpoint,T));case 5:return j.abrupt("return",j.sent);case 6:return x=100*1024,T.mime||(c(C)?T.mime=i.getType(r.extname(C.name)):t(C)?T.mime=C.type:T.mime=i.getType(r.extname(C))),T.headers=T.headers||{},this._convertMetaToHeaders(T.meta,T.headers),j.next=12,s.default.awrap(this._getFileSize(C));case 12:if(_=j.sent,!(_<x)){j.next=25;break}return I=this._createStream(C,0,_),T.contentLength=_,j.next=18,s.default.awrap(this.putStream(E,I,T));case 18:if(L=j.sent,!(T&&T.progress)){j.next=22;break}return j.next=22,s.default.awrap(T.progress(1));case 22:return D={res:L.res,bucket:this.options.bucket,name:E,etag:L.res.headers.etag},(T.headers&&T.headers["x-oss-callback"]||T.callback)&&(D.data=L.data),j.abrupt("return",D);case 25:if(!(T.partSize&&!(parseInt(T.partSize,10)===T.partSize))){j.next=27;break}throw new Error("partSize must be int number");case 27:if(!(T.partSize&&T.partSize<x)){j.next=29;break}throw new Error("partSize must not be smaller than "+x);case 29:return j.next=31,s.default.awrap(this.initMultipartUpload(E,T));case 31:if(B=j.sent,N=B.uploadId,k=this._getPartSize(_,T.partSize),W={file:C,name:E,fileSize:_,partSize:k,uploadId:N,doneParts:[]},!(T&&T.progress)){j.next=38;break}return j.next=38,s.default.awrap(T.progress(0,W,B.res));case 38:return j.next=40,s.default.awrap(this._resumeMultipart(W,T));case 40:return j.abrupt("return",j.sent);case 41:case"end":return j.stop()}},null,this)},h._resumeMultipart=function(E,C){var T,x,_,I,L,D,B,N,k,W,R,j,H,K,U,Q,V,J;return s.default.async(function(se){for(;;)switch(se.prev=se.next){case 0:if(T=this,!this.isCancel()){se.next=3;break}throw this._makeCancelEvent();case 3:return x=E.file,_=E.fileSize,I=E.partSize,L=E.uploadId,D=E.doneParts,B=E.name,N=[],D.length>0&&n(D).to(N),k=this._divideParts(_,I),W=k.length,R=!1,j=function(ge,he){var Ie=this;return new v.default(function(Le,He){var G,pe,We,te;return s.default.async(function(z){for(;;)switch(z.prev=z.next){case 0:if(z.prev=0,ge.isCancel()){z.next=18;break}return G=k[he-1],pe={stream:ge._createStream(x,G.start,G.end),size:G.end-G.start},z.next=6,s.default.awrap(ge._uploadPart(B,L,he,pe));case 6:if(We=z.sent,!(!ge.isCancel()&&!R)){z.next=15;break}if(E.doneParts.push({number:he,etag:We.res.headers.etag}),!C.progress){z.next=12;break}return z.next=12,s.default.awrap(C.progress(D.length/W,E,We.res));case 12:Le({number:he,etag:We.res.headers.etag}),z.next=16;break;case 15:Le();case 16:z.next=19;break;case 18:Le();case 19:z.next=30;break;case 21:z.prev=21,z.t0=z.catch(0),te=new Error,te.name=z.t0.name,te.message=z.t0.message,te.stack=z.t0.stack,te.partNum=he,n(z.t0).to(te),He(te);case 30:case"end":return z.stop()}},null,Ie,[[0,21]])})},H=(0,b.default)(new Array(W),function($,ge){return ge+1}),K=N.map(function($){return $.number}),U=H.filter(function($){return K.indexOf($)<0}),Q=5,V=C.parallel||Q,se.next=17,s.default.awrap(this._parallel(U,V,function($){return new v.default(function(ge,he){j(T,$).then(function(Ie){Ie&&N.push(Ie),ge()}).catch(function(Ie){he(Ie)})})}));case 17:if(J=se.sent,R=!0,!this.isCancel()){se.next=22;break}throw j=null,this._makeCancelEvent();case 22:if(!(J&&J.length>0)){se.next=25;break}throw J[0].message="Failed to upload some parts with error: "+J[0].toString()+" part_num: "+J[0].partNum,J[0];case 25:return se.next=27,s.default.awrap(this.completeMultipartUpload(B,L,N,C));case 27:return se.abrupt("return",se.sent);case 28:case"end":return se.stop()}},null,this)},h._getFileSize=function(E){return s.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!o.buffer(E)){T.next=4;break}return T.abrupt("return",E.length);case 4:if(!(t(E)||c(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 f=M("stream"),g=f.Readable;function S(y,E){if(!(this instanceof S))return new S(y,E);g.call(this,E),this.file=y,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}e.inherits(S,g),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)},h._createStream=function(E,C,T){if(t(E)||c(E))return new S(E.slice(C,T));throw new Error("_createStream requires File/Blob.")},h._getPartSize=function(E,C){var T=10*1e3,x=1024*1024;return C?Math.max(Math.ceil(E/T),C):x},h._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,P,d){"use strict";var w=M("babel-runtime/core-js/promise"),A=o(w),b=M("babel-runtime/core-js/object/keys"),m=o(b),v=M("babel-runtime/core-js/object/assign"),p=o(v),s=M("babel-runtime/regenerator"),u=o(s);function o(T){return T&&T.__esModule?T:{default:T}}var e=M("utility"),r=M("fs"),i=M("is-type-of"),n=M("url"),l=M("copy-to"),t=M("path"),a=M("mime"),c=M("../common/callback"),h=M("../common/signUtils"),f=M("merge-descriptors"),g=M("../common/utils/isBlob"),S=g.isBlob,y=M("../common/utils/isFile"),E=y.isFile,C=d;C.append=function(x,_,I){var L;return u.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:return I=I||{},I.position===void 0&&(I.position="0"),I.subres={append:"",position:I.position},I.method="POST",B.next=6,u.default.awrap(this.put(x,_,I));case 6:return L=B.sent,L.nextAppendPosition=L.res.headers["x-oss-next-append-position"],B.abrupt("return",L);case 9:case"end":return B.stop()}},null,this)},C.put=function(x,_,I){var L,D,B,N,k,W,R;return u.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=a.getType(t.extname(_.name)):I.mime=_.type),D=this._createStream(_,0,_.size),H.next=12,u.default.awrap(this._getFileSize(_));case 12:return I.contentLength=H.sent,H.prev=13,H.next=16,u.default.awrap(this.putStream(x,D,I));case 16:return B=H.sent,H.abrupt("return",B);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,u.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),N=I.method||"PUT",k=this._objectRequestParams(N,x,I),c.encodeCallback(k,I),k.mime=I.mime,k.content=L,k.successStatuses=[200],H.next=43,u.default.awrap(this.request(k));case 43:return W=H.sent,R={name:x,url:this._objectUrl(x),res:W.res},k.headers&&k.headers["x-oss-callback"]&&(R.data=JSON.parse(W.data.toString())),H.abrupt("return",R);case 47:case"end":return H.stop()}},null,this,[[13,20]])},C.putStream=function(x,_,I){var L,D,B,N;return u.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",D=this._objectRequestParams(L,x,I),c.encodeCallback(D,I),D.mime=I.mime,D.stream=_,D.successStatuses=[200],W.next=13,u.default.awrap(this.request(D));case 13:return B=W.sent,N={name:x,url:this._objectUrl(x),res:B.res},D.headers&&D.headers["x-oss-callback"]&&(N.data=JSON.parse(B.data.toString())),W.abrupt("return",N);case 17:case"end":return W.stop()}},null,this)},f(C,M("../common/object/copyObject")),f(C,M("../common/object/getObjectTagging")),f(C,M("../common/object/putObjectTagging")),f(C,M("../common/object/deleteObjectTagging")),f(C,M("../common/image")),f(C,M("../common/object/getBucketVersions")),f(C,M("../common/object/getACL")),f(C,M("../common/object/putACL")),f(C,M("../common/object/head")),f(C,M("../common/object/delete")),f(C,M("../common/object/get")),f(C,M("../common/object/putSymlink")),f(C,M("../common/object/getSymlink")),f(C,M("../common/object/deleteMulti")),f(C,M("../common/object/getObjectMeta")),C.putMeta=function(x,_,I){var L;return u.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,u.default.awrap(this.copy(x,x,{meta:_||{},timeout:I&&I.timeout,ctx:I&&I.ctx}));case 2:return L=B.sent,B.abrupt("return",L);case 4:case"end":return B.stop()}},null,this)},C.list=function(x,_){var I,L,D,B,N;return u.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,u.default.awrap(this.request(I));case 6:return L=W.sent,D=L.data.Contents,B=this,D&&(Array.isArray(D)||(D=[D]),D=D.map(function(R){return{name:R.Key,url:B._objectUrl(R.Key),lastModified:R.LastModified,etag:R.ETag,type:R.Type,size:Number(R.Size),storageClass:R.StorageClass,owner:{id:R.Owner.ID,displayName:R.Owner.DisplayName}}})),N=L.data.CommonPrefixes||null,N&&(Array.isArray(N)||(N=[N]),N=N.map(function(R){return R.Prefix})),W.abrupt("return",{res:L.res,objects:D,prefixes:N,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 u.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:return _=_||{},_.subres=(0,p.default)({restore:""},_.subres),_.versionId&&(_.subres.versionId=_.versionId),I=this._objectRequestParams("POST",x,_),I.successStatuses=[202],B.next=7,u.default.awrap(this.request(I));case 7:return L=B.sent,B.abrupt("return",{res:L.res});case 9:case"end":return B.stop()}},null,this)},C.signatureUrl=function(x,_){_=_||{},x=this._objectName(x),_.method=_.method||"GET";var I=e.timestamp()+(_.expires||1800),L={bucket:this.options.bucket,object:x},D=this._getResource(L);this.options.stsToken&&(_["security-token"]=this.options.stsToken);var B=h._signatureForURL(this.options.accessKeySecret,_,D,I),N=n.parse(this._getReqUrl(L));return N.query={OSSAccessKeyId:this.options.accessKeyId,Expires:I,Signature:B.Signature},l(B.subResource).to(N.query),N.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 _=n.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={},l(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 A.default(function(I){r.exists(x,function(L){L?r.unlink(x,function(D){D&&_.debug("unlink %j error: %s",x,D,"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,P,d){"use strict";d.version="6.10.0"},{}],6:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=b(w);function b(s){return s&&s.__esModule?s:{default:s}}var m=M("../utils/checkBucketName"),v=m.checkBucketName,p=d;p.deleteBucketLifecycle=function(u,o){var e,r;return A.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return v(u),e=this._bucketRequestParams("DELETE",u,"lifecycle",o),e.successStatuses=[204],n.next=5,A.default.awrap(this.request(e));case 5:return r=n.sent,n.abrupt("return",{res:r.res});case 7:case"end":return n.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=b(w);function b(s){return s&&s.__esModule?s:{default:s}}var m=M("../utils/checkBucketName"),v=m.checkBucketName,p=d;p.deleteBucketWebsite=function(u,o){var e,r;return A.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return v(u),e=this._bucketRequestParams("DELETE",u,"website",o),e.successStatuses=[204],n.next=5,A.default.awrap(this.request(e));case 5:return r=n.sent,n.abrupt("return",{res:r.res});case 7:case"end":return n.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=b(w);function b(r){return r&&r.__esModule?r:{default:r}}var m=M("../utils/checkBucketName"),v=m.checkBucketName,p=M("../utils/isArray"),s=p.isArray,u=M("../utils/formatObjKey"),o=u.formatObjKey,e=d;e.getBucketLifecycle=function(i,n){var l,t,a;return A.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return v(i),l=this._bucketRequestParams("GET",i,"lifecycle",n),l.successStatuses=[200],l.xmlResponse=!0,h.next=6,A.default.awrap(this.request(l));case 6:return t=h.sent,a=t.data.Rule||null,a&&(s(a)||(a=[a]),a=a.map(function(f){return f.ID&&(f.id=f.ID,delete f.ID),f.Tag&&!s(f.Tag)&&(f.Tag=[f.Tag]),o(f,"firstLowerCase")})),h.abrupt("return",{rules:a,res:t.res});case 10:case"end":return h.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/formatObjKey":40,"../utils/isArray":42,"babel-runtime/regenerator":68}],9:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=b(w);function b(s){return s&&s.__esModule?s:{default:s}}var m=M("../utils/checkBucketName"),v=m.checkBucketName,p=d;p.getBucketVersioning=function(u,o){var e,r,i;return A.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return v(u),e=this._bucketRequestParams("GET",u,"versioning",o),e.xmlResponse=!0,e.successStatuses=[200],l.next=6,A.default.awrap(this.request(e));case 6:return r=l.sent,i=r.data.Status,l.abrupt("return",{status:r.status,versionStatus:i,res:r.res});case 9:case"end":return l.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=b(w);function b(o){return o&&o.__esModule?o:{default:o}}var m=M("../utils/checkBucketName"),v=m.checkBucketName,p=M("../utils/isObject"),s=p.isObject,u=d;u.getBucketWebsite=function(e,r){var i,n,l;return A.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return v(e),i=this._bucketRequestParams("GET",e,"website",r),i.successStatuses=[200],i.xmlResponse=!0,a.next=6,A.default.awrap(this.request(i));case 6:return n=a.sent,l=[],n.data.RoutingRules&&n.data.RoutingRules.RoutingRule&&(s(n.data.RoutingRules.RoutingRule)?l=[n.data.RoutingRules.RoutingRule]:l=n.data.RoutingRules.RoutingRule),a.abrupt("return",{index:n.data.IndexDocument&&n.data.IndexDocument.Suffix||"",supportSubDir:n.data.IndexDocument&&n.data.IndexDocument.SupportSubDir||"false",type:n.data.IndexDocument&&n.data.IndexDocument.Type,routingRules:l,error:n.data.ErrorDocument&&n.data.ErrorDocument.Key||null,res:n.res});case 10:case"end":return a.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isObject":46,"babel-runtime/regenerator":68}],11:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=b(w);function b(E){return E&&E.__esModule?E:{default:E}}var m=M("../utils/checkBucketName"),v=m.checkBucketName,p=M("../utils/isArray"),s=p.isArray,u=M("../utils/deepCopy"),o=u.deepCopy,e=M("../utils/isObject"),r=e.isObject,i=M("../utils/obj2xml"),n=i.obj2xml,l=M("../utils/checkObjectTag"),t=l.checkObjectTag,a=M("../utils/getStrBytesCount"),c=a.getStrBytesCount,h=d;h.putBucketLifecycle=function(C,T,x){var _,I,L,D,B;return A.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:if(v(C),s(T)){k.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){f(W),y(W),W.id&&(W.ID=W.id,delete W.id),I.push(W)}),D=n(L,{headers:!0,firstUpperCase:!0}),_.content=D,_.mime="xml",_.successStatuses=[200],k.next=13,A.default.awrap(this.request(_));case 13:return B=k.sent,k.abrupt("return",{res:B.res});case 15:case"end":return k.stop()}},null,this)};function f(E){E.days&&(E.expiration={days:E.days}),E.date&&(E.expiration={createdBeforeDate:E.date})}function g(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(!s(E)&&!r(E))throw new Error("tag must be Object or Array");E=r(E)?[E]:E;var C={},T=o(E);T.forEach(function(x){C[x.key]=x.value}),t(C)}function y(E){if(E.id&&c(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");g(E.transition,"Transition")}if(E.expiration){if(!E.expiration.expiredObjectDeleteMarker)g(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&&g(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,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=b(w);function b(o){return o&&o.__esModule?o:{default:o}}var m=M("../utils/checkBucketName"),v=m.checkBucketName,p=M("../utils/obj2xml"),s=p.obj2xml,u=d;u.putBucketVersioning=function(e,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,l,t;return A.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:if(v(e),["Enabled","Suspended"].includes(r)){c.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return n=this._bucketRequestParams("PUT",e,"versioning",i),l={VersioningConfiguration:{Status:r}},n.mime="xml",n.content=s(l,{headers:!0}),c.next=9,A.default.awrap(this.request(n));case 9:return t=c.sent,c.abrupt("return",{res:t.res,status:t.status});case 11:case"end":return c.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=b(w);function b(r){return r&&r.__esModule?r:{default:r}}var m=M("../utils/checkBucketName"),v=m.checkBucketName,p=M("../utils/obj2xml"),s=p.obj2xml,u=M("../utils/isArray"),o=u.isArray,e=d;e.putBucketWebsite=function(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments[2],t,a,c,h,f;return A.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:if(v(i),t=this._bucketRequestParams("PUT",i,"website",l),a={Suffix:n.index||"index.html"},c={IndexDocument:a},h={WebsiteConfiguration:c},n.supportSubDir&&(a.SupportSubDir=n.supportSubDir),n.type&&(a.Type=n.type),n.error&&(c.ErrorDocument={Key:n.error}),!(n.routingRules!==void 0)){S.next=12;break}if(o(n.routingRules)){S.next=11;break}throw new Error("RoutingRules must be Array");case 11:c.RoutingRules={RoutingRule:n.routingRules};case 12:return h=s(h),t.content=h,t.mime="xml",t.successStatuses=[200],S.next=18,A.default.awrap(this.request(t));case 18:return f=S.sent,S.abrupt("return",{res:f.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,P,d){(function(w){"use strict";var A=M("babel-runtime/core-js/object/keys"),b=p(A),m=M("babel-runtime/core-js/json/stringify"),v=p(m);function p(s){return s&&s.__esModule?s:{default:s}}d.encodeCallback=function(u,o){if(u.headers=u.headers||{},!Object.prototype.hasOwnProperty.call(u.headers,"x-oss-callback")&&o.callback){var e={callbackUrl:encodeURI(o.callback.url),callbackBody:o.callback.body};o.callback.host&&(e.callbackHost=o.callback.host),o.callback.contentType&&(e.callbackBodyType=o.callback.contentType);var r=w.from((0,v.default)(e)).toString("base64");if(u.headers["x-oss-callback"]=r,o.callback.customValue){var i={};(0,b.default)(o.callback.customValue).forEach(function(n){i["x:"+n]=o.callback.customValue[n]}),u.headers["x-oss-callback-var"]=w.from((0,v.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,P,d){"use strict";var w=M("babel-runtime/core-js/object/assign"),A=b(w);function b(e){return e&&e.__esModule?e:{default:e}}var m=M("humanize-ms"),v=M("url"),p=M("../utils/checkBucketName"),s=p.checkBucketName;function u(e,r){var i=v.parse(e);if(i.protocol||(i=v.parse("http"+(r?"s":"")+"://"+e)),i.protocol!=="http:"&&i.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return i}function o(e,r,i){var n=i?"https://":"http://",l=r?"-internal.aliyuncs.com":".aliyuncs.com",t="vpc100-oss-cn-";return e.substr(0,t.length)===t&&(l=".aliyuncs.com"),v.parse(n+e+l)}P.exports=function(e){if(!e||!e.accessKeyId||!e.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");e.bucket&&s(e.bucket);var r=(0,A.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},e);if(r.accessKeyId=r.accessKeyId.trim(),r.accessKeySecret=r.accessKeySecret.trim(),r.timeout&&(r.timeout=m(r.timeout)),r.endpoint)r.endpoint=u(r.endpoint,r.secure);else if(r.region)r.endpoint=o(r.region,r.internal,r.secure);else throw new Error("require options.endpoint or options.region");return r.inited=!0,r}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(M,P,d){"use strict";var w=M("merge-descriptors"),A=d;w(A,M("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=b(w);function b(r){return r&&r.__esModule?r:{default:r}}var m=M("../utils/checkBucketName"),v=m.checkBucketName,p=M("querystring"),s=M("js-base64"),u=s.Base64.encode,o=d;o.processObjectSave=function(i,n,l,t){var a,c,h,f;return A.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:return e(i,"sourceObject"),e(n,"targetObject"),e(l,"process"),n=this._objectName(n),t&&v(t),a=this._objectRequestParams("POST",i,{subres:"x-oss-process"}),c=t?",b_"+u(t):"",n=u(n),h={"x-oss-process":l+"|sys/saveas,o_"+n+c},a.content=p.stringify(h),S.next=12,A.default.awrap(this.request(a));case 12:return f=S.sent,S.abrupt("return",{res:f.res,status:f.res.status});case 14:case"end":return S.stop()}},null,this)};function e(r,i){if(!r)throw new Error(i+" is required");if(typeof r!="string")throw new Error(i+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=b(w);function b(o){return o&&o.__esModule?o:{default:o}}var m=M("copy-to"),v=M("./callback"),p=M("./utils/deepCopy"),s=p.deepCopy,u=d;u.listUploads=function(e,r){var i,n,l,t;return A.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return r=r||{},i={},m(r).to(i),i.subres="uploads",n=this._objectRequestParams("GET","",i),n.query=e,n.xmlResponse=!0,n.successStatuses=[200],c.next=10,A.default.awrap(this.request(n));case 10:return l=c.sent,t=l.data.Upload||[],Array.isArray(t)||(t=[t]),t=t.map(function(h){return{name:h.Key,uploadId:h.UploadId,initiated:h.Initiated}}),c.abrupt("return",{res:l.res,uploads:t,bucket:l.data.Bucket,nextKeyMarker:l.data.NextKeyMarker,nextUploadIdMarker:l.data.NextUploadIdMarker,isTruncated:l.data.IsTruncated==="true"});case 15:case"end":return c.stop()}},null,this)},u.listParts=function(e,r,i,n){var l,t,a;return A.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return n=n||{},l={},m(n).to(l),l.subres={uploadId:r},t=this._objectRequestParams("GET",e,l),t.query=i,t.xmlResponse=!0,t.successStatuses=[200],h.next=10,A.default.awrap(this.request(t));case 10:return a=h.sent,h.abrupt("return",{res:a.res,uploadId:a.data.UploadId,bucket:a.data.Bucket,name:a.data.Key,partNumberMarker:a.data.PartNumberMarker,nextPartNumberMarker:a.data.NextPartNumberMarker,maxParts:a.data.MaxParts,isTruncated:a.data.IsTruncated,parts:a.data.Part||[]});case 12:case"end":return h.stop()}},null,this)},u.abortMultipartUpload=function(e,r,i){var n,l,t;return A.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return this._stop(),i=i||{},n={},m(i).to(n),n.subres={uploadId:r},l=this._objectRequestParams("DELETE",e,n),l.successStatuses=[204],c.next=9,A.default.awrap(this.request(l));case 9:return t=c.sent,c.abrupt("return",{res:t.res});case 11:case"end":return c.stop()}},null,this)},u.initMultipartUpload=function(e,r){var i,n,l;return A.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return r=r||{},i={},m(r).to(i),i.headers=i.headers||{},this._convertMetaToHeaders(r.meta,i.headers),i.subres="uploads",n=this._objectRequestParams("POST",e,i),n.mime=r.mime,n.xmlResponse=!0,n.successStatuses=[200],a.next=12,A.default.awrap(this.request(n));case 12:return l=a.sent,a.abrupt("return",{res:l.res,bucket:l.data.Bucket,name:l.data.Key,uploadId:l.data.UploadId});case 14:case"end":return a.stop()}},null,this)},u.uploadPart=function(e,r,i,n,l,t,a){var c;return A.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return c={stream:this._createStream(n,l,t),size:t-l},f.next=3,A.default.awrap(this._uploadPart(e,r,i,c,a));case 3:return f.abrupt("return",f.sent);case 4:case"end":return f.stop()}},null,this)},u.completeMultipartUpload=function(e,r,i,n){var l,t,a,c,h,f,g,S;return A.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:for(l=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>
|
|
|
`,a=0;a<l.length;a++)c=l[a],t+=`<Part>
|
|
|
`,t+="<PartNumber>"+c.number+`</PartNumber>
|
|
|
`,t+="<ETag>"+c.etag+`</ETag>
|
|
|
`,t+=`</Part>
|
|
|
`;return t+="</CompleteMultipartUpload>",n=n||{},h={},h=s(n),h.headers&&delete h.headers["x-oss-server-side-encryption"],h.subres={uploadId:r},f=this._objectRequestParams("POST",e,h),v.encodeCallback(f,h),f.mime="xml",f.content=t,f.headers&&f.headers["x-oss-callback"]||(f.xmlResponse=!0),f.successStatuses=[200],E.next=17,A.default.awrap(this.request(f));case 17:return g=E.sent,S={res:g.res,bucket:f.bucket,name:e,etag:g.res.headers.etag},f.headers&&f.headers["x-oss-callback"]&&(S.data=JSON.parse(g.data.toString())),E.abrupt("return",S);case 21:case"end":return E.stop()}},null,this)},u._uploadPart=function(e,r,i,n,l){var t,a,c;return A.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return l=l||{},t={},m(l).to(t),t.headers={"Content-Length":n.size},t.subres={partNumber:i,uploadId:r},a=this._objectRequestParams("PUT",e,t),a.mime=t.mime,a.stream=n.stream,a.successStatuses=[200],f.next=11,A.default.awrap(this.request(a));case 11:if(c=f.sent,c.res.headers.etag){f.next=14;break}throw new Error(`Please set the etag of expose-headers in OSS
|
|
|
https://help.aliyun.com/document_detail/32069.html`);case 14:return n.stream=null,a.stream=null,f.abrupt("return",{name:e,etag:c.res.headers.etag,res:c.res});case 17:case"end":return f.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=s(w),b=M("babel-runtime/core-js/object/keys"),m=s(b),v=M("babel-runtime/helpers/typeof"),p=s(v);function s(r){return r&&r.__esModule?r:{default:r}}var u=M("../utils/checkBucketName"),o=u.checkBucketName,e=d;e.copy=function(i,n,l,t){var a,c,h;return A.default.async(function(g){for(;;)switch(g.prev=g.next){case 0:return(typeof l=="undefined"?"undefined":(0,p.default)(l))==="object"&&(t=l),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),n=this._getSourceName(n,l),t.versionId&&(n=n+"?versionId="+t.versionId),t.headers["x-oss-copy-source"]=n,a=this._objectRequestParams("PUT",i,t),a.xmlResponse=!0,a.successStatuses=[200,304],g.next=14,A.default.awrap(this.request(a));case 14:return c=g.sent,h=c.data,h&&(h={etag:h.ETag,lastModified:h.LastModified}),g.abrupt("return",{data:h,res:c.res});case 18:case"end":return g.stop()}},null,this)},e._getSourceName=function(i,n){return typeof n=="string"?i=this._objectName(i):i[0]!=="/"?n=this.options.bucket:(n=i.replace(/\/(.+?)(\/.*)/,"$1"),i=i.replace(/(\/.+?\/)(.*)/,"$2")),o(n),i=encodeURI(i),i="/"+n+"/"+i,i}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=v(w),b=M("babel-runtime/core-js/object/assign"),m=v(b);function v(s){return s&&s.__esModule?s:{default:s}}var p=d;p.delete=function(u){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e,r;return A.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return o.subres=(0,m.default)({},o.subres),o.versionId&&(o.subres.versionId=o.versionId),e=this._objectRequestParams("DELETE",u,o),e.successStatuses=[204],n.next=6,A.default.awrap(this.request(e));case 6:return r=n.sent,n.abrupt("return",{res:r.res});case 8:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=v(w),b=M("babel-runtime/core-js/object/assign"),m=v(b);function v(e){return e&&e.__esModule?e:{default:e}}var p=M("utility"),s=M("../utils/obj2xml"),u=s.obj2xml,o=d;o.deleteMulti=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,l,t,a,c,h,f,g,S,y,E,C;return A.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:if(n=[],!(!r||!r.length)){x.next=3;break}throw new Error("names is required");case 3:for(l=0;l<r.length;l++)t={},typeof r[l]=="string"?t.Key=p.escape(this._objectName(r[l])):(a=r[l],c=a.key,h=a.versionId,t.Key=p.escape(this._objectName(c)),t.VersionId=h),n.push(t);return f={Delete:{Quiet:!!i.quiet,Object:n}},g=u(f,{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=g,S.xmlResponse=!0,S.successStatuses=[200],x.next=15,A.default.awrap(this.request(S));case 15:return y=x.sent,E=y.data,C=E&&E.Deleted||null,C&&(Array.isArray(C)||(C=[C])),x.abrupt("return",{res:y.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,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=v(w),b=M("babel-runtime/core-js/object/assign"),m=v(b);function v(s){return s&&s.__esModule?s:{default:s}}var p=d;p.deleteObjectTagging=function(u){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e,r;return A.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return o.subres=(0,m.default)({tagging:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),u=this._objectName(u),e=this._objectRequestParams("DELETE",u,o),e.successStatuses=[204],n.next=7,A.default.awrap(this.request(e));case 7:return r=n.sent,n.abrupt("return",{status:r.status,res:r.res});case 9:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=v(w),b=M("babel-runtime/core-js/object/assign"),m=v(b);function v(o){return o&&o.__esModule?o:{default:o}}var p=M("fs"),s=M("is-type-of"),u=d;u.get=function(e,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,l,t,a;return A.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return n=null,l=!1,s.writableStream(r)?n=r:s.string(r)?(n=p.createWriteStream(r),l=!0):i=r,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,h.prev=8,a=this._objectRequestParams("GET",e,i),a.writeStream=n,a.successStatuses=[200,206,304],h.next=14,A.default.awrap(this.request(a));case 14:t=h.sent,l&&n.destroy(),h.next=25;break;case 18:if(h.prev=18,h.t0=h.catch(8),!l){h.next=24;break}return n.destroy(),h.next=24,A.default.awrap(this._deleteFileSafe(r));case 24:throw h.t0;case 25:return h.abrupt("return",{res:t.res,content:t.data});case 26:case"end":return h.stop()}},null,this,[[8,18]])}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,fs:71,"is-type-of":289}],24:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=v(w),b=M("babel-runtime/core-js/object/assign"),m=v(b);function v(s){return s&&s.__esModule?s:{default:s}}var p=d;p.getACL=function(u){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e,r;return A.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return o.subres=(0,m.default)({acl:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),u=this._objectName(u),e=this._objectRequestParams("GET",u,o),e.successStatuses=[200],e.xmlResponse=!0,n.next=8,A.default.awrap(this.request(e));case 8:return r=n.sent,n.abrupt("return",{acl:r.data.AccessControlList.Grant,owner:{id:r.data.Owner.ID,displayName:r.data.Owner.DisplayName},res:r.res});case 10:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/keys"),A=s(w),b=M("babel-runtime/regenerator"),m=s(b),v=M("babel-runtime/core-js/object/assign"),p=s(v);function s(a){return a&&a.__esModule?a:{default:a}}var u=d,o=M("../utils/isObject"),e=o.isObject,r=M("../utils/isArray"),i=r.isArray;u.getBucketVersions=n,u.listObjectVersions=n;function n(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h,f,g,S,y,E;return m.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!(a.versionIdMarker&&a.keyMarker===void 0)){T.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return c.subres=(0,p.default)({versions:""},c.subres),c.versionId&&(c.subres.versionId=c.versionId),h=this._objectRequestParams("GET","",c),h.xmlResponse=!0,h.successStatuses=[200],h.query=t(a),T.next=10,m.default.awrap(this.request(h));case 10:return f=T.sent,g=f.data.Version||[],S=f.data.DeleteMarker||[],y=this,g&&(Array.isArray(g)||(g=[g]),g=g.map(function(x){return{name:x.Key,url:y._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=f.data.CommonPrefixes||null,E&&(i(E)||(E=[E]),E=E.map(function(x){return x.Prefix})),T.abrupt("return",{res:f.res,objects:g,deleteMarker:S,prefixes:E,nextMarker:f.data.NextMarker||null,NextVersionIdMarker:f.data.NextVersionIdMarker||null,isTruncated:f.data.IsTruncated==="true"});case 19:case"end":return T.stop()}},null,this)}function l(a){return a.replace(/([A-Z])/g,"-$1").toLowerCase()}function t(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c={};return e(a)&&(0,A.default)(a).forEach(function(h){c[l(h)]=a[h]}),c}},{"../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,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=v(w),b=M("babel-runtime/core-js/object/assign"),m=v(b);function v(s){return s&&s.__esModule?s:{default:s}}var p=d;p.getObjectMeta=function(u,o){var e,r;return A.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return o=o||{},u=this._objectName(u),o.subres=(0,m.default)({objectMeta:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),e=this._objectRequestParams("HEAD",u,o),e.successStatuses=[200],n.next=8,A.default.awrap(this.request(e));case 8:return r=n.sent,n.abrupt("return",{status:r.status,res:r.res});case 10:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=v(w),b=M("babel-runtime/core-js/object/assign"),m=v(b);function v(o){return o&&o.__esModule?o:{default:o}}var p=d,s=M("../utils/isObject"),u=s.isObject;p.getObjectTagging=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i,n,l,t,a;return A.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return r.subres=(0,m.default)({tagging:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),e=this._objectName(e),i=this._objectRequestParams("GET",e,r),i.successStatuses=[200],h.next=7,A.default.awrap(this.request(i));case 7:return n=h.sent,h.next=10,A.default.awrap(this.parseXML(n.data));case 10:return l=h.sent,t=l.TagSet.Tag,t=t&&u(t)?[t]:t||[],a={},t.forEach(function(f){a[f.Key]=f.Value}),h.abrupt("return",{status:n.status,res:n.res,tag:a});case 16:case"end":return h.stop()}},null,this)}},{"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],28:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=v(w),b=M("babel-runtime/core-js/object/assign"),m=v(b);function v(s){return s&&s.__esModule?s:{default:s}}var p=d;p.getSymlink=function(u){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e,r,i;return A.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return o.subres=(0,m.default)({symlink:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),u=this._objectName(u),e=this._objectRequestParams("GET",u,o),e.successStatuses=[200],l.next=7,A.default.awrap(this.request(e));case 7:return r=l.sent,i=r.res.headers["x-oss-symlink-target"],l.abrupt("return",{targetName:decodeURIComponent(i),res:r.res});case 10:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=s(w),b=M("babel-runtime/core-js/object/keys"),m=s(b),v=M("babel-runtime/core-js/object/assign"),p=s(v);function s(o){return o&&o.__esModule?o:{default:o}}var u=d;u.head=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i,n,l;return A.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return r.subres=(0,p.default)({},r.subres),r.versionId&&(r.subres.versionId=r.versionId),i=this._objectRequestParams("HEAD",e,r),i.successStatuses=[200,304],a.next=6,A.default.awrap(this.request(i));case 6:return n=a.sent,l={meta:null,res:n.res,status:n.status},n.status===200&&(0,m.default)(n.headers).forEach(function(c){c.indexOf("x-oss-meta-")===0&&(l.meta||(l.meta={}),l.meta[c.substring(11)]=n.headers[c])}),a.abrupt("return",l);case 10:case"end":return a.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],30:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=v(w),b=M("babel-runtime/core-js/object/assign"),m=v(b);function v(s){return s&&s.__esModule?s:{default:s}}var p=d;p.putACL=function(u,o,e){var r,i;return A.default.async(function(l){for(;;)switch(l.prev=l.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"]=o,u=this._objectName(u),r=this._objectRequestParams("PUT",u,e),r.successStatuses=[200],l.next=10,A.default.awrap(this.request(r));case 10:return i=l.sent,l.abrupt("return",{res:i.res});case 12:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=s(w),b=M("babel-runtime/core-js/object/keys"),m=s(b),v=M("babel-runtime/core-js/object/assign"),p=s(v);function s(n){return n&&n.__esModule?n:{default:n}}var u=M("../utils/obj2xml"),o=u.obj2xml,e=M("../utils/checkObjectTag"),r=e.checkObjectTag,i=d;i.putObjectTagging=function(l,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},c,h,f;return A.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:return r(t),a.subres=(0,p.default)({tagging:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),l=this._objectName(l),c=this._objectRequestParams("PUT",l,a),c.successStatuses=[200],t=(0,m.default)(t).map(function(y){return{Key:y,Value:t[y]}}),h={Tagging:{TagSet:{Tag:t}}},c.mime="xml",c.content=o(h),S.next=12,A.default.awrap(this.request(c));case 12:return f=S.sent,S.abrupt("return",{res:f.res,status:f.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,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=v(w),b=M("babel-runtime/core-js/object/assign"),m=v(b);function v(s){return s&&s.__esModule?s:{default:s}}var p=d;p.putSymlink=function(u,o,e){var r,i;return A.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return e=e||{},e.headers=e.headers||{},o=this._escape(this._objectName(o)),this._convertMetaToHeaders(e.meta,e.headers),e.headers["x-oss-symlink-target"]=o,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),u=this._objectName(u),r=this._objectRequestParams("PUT",u,e),r.successStatuses=[200],l.next=13,A.default.awrap(this.request(r));case 13:return i=l.sent,l.abrupt("return",{res:i.res});case 15:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(M,P,d){"use strict";var w=M("babel-runtime/regenerator"),A=v(w),b=M("babel-runtime/core-js/promise"),m=v(b);function v(s){return s&&s.__esModule?s:{default:s}}var p=d;p._parallelNode=function(u,o,e,r){var i,n,l,t,a,c,h,f;return A.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:i=this,n=[],l=[],t=u.length/o,a=u.length%o,c=a===0?t:(u.length-a)/o+1,h=1,f=0;case 8:if(!(f<u.length)){S.next=26;break}if(!i.isCancel()){S.next=11;break}return S.abrupt("break",26);case 11:if(r?l.push(e(i,u[f],r)):l.push(e(i,u[f])),!(l.length===o||h===c&&f===u.length-1)){S.next=23;break}return S.prev=13,h+=1,S.next=17,A.default.awrap(m.default.all(l));case 17:S.next=22;break;case 19:S.prev=19,S.t0=S.catch(13),n.push(S.t0);case 22:l=[];case 23:f++,S.next=8;break;case 26:return S.abrupt("return",n);case 27:case"end":return S.stop()}},null,this,[[13,19]])},p._parallel=function(u,o,e){var r=this;return new m.default(function(i){var n=[];if(o<=0||!u){i(n);return}function l(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&&!r.isCancel()?{value:E[C],key:C}:null}}var a=t(u),c=!1,h=0,f=!1;function g(E,C){h-=1,E?(c=!0,n.push(E),i(n)):C==={}||c&&h<=0?(c=!0,i(n)):f||(r.isCancel()?i(n):y())}function S(E,C){e(E).then(function(T){C(null,T)}).catch(function(T){C(T)})}function y(){for(f=!0;h<o&&!c&&!r.isCancel();){var E=a();if(E===null||n.length>0){c=!0,h<=0&&i(n);return}h+=1,S(E.value,l(g))}f=!1}y()})},p.cancel=function(u){this.options.cancelFlag=!0,u&&this.abortMultipartUpload(u.name,u.uploadId,u.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 u={status:0,name:"cancel"};return u}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(M,P,d){(function(w){"use strict";var A=M("babel-runtime/core-js/json/stringify"),b=p(A),m=M("babel-runtime/core-js/object/keys"),v=p(m);function p(o){return o&&o.__esModule?o:{default:o}}var s=M("./../../shims/crypto/crypto.js"),u=M("is-type-of");d.buildCanonicalizedResource=function(e,r){var i=""+e,n="?";if(u.string(r)&&r.trim()!=="")i+=n+r;else if(u.array(r))r.sort(),i+=n+r.join("&");else if(r){var l=function(c,h){return c[0]>h[0]?1:c[0]<h[0]?-1:0},t=function(c){i+=n+c,r[c]&&(i+="="+r[c]),n="&"};(0,v.default)(r).sort(l).forEach(t)}return i},d.buildCanonicalString=function(e,r,i,n){i=i||{};var l=i.headers||{},t="x-oss-",a=[],c={},h=[e.toUpperCase(),l["Content-Md5"]||"",l["Content-Type"]||l["Content-Type".toLowerCase()],n||l["x-oss-date"]];return(0,v.default)(l).forEach(function(f){var g=f.toLowerCase();g.indexOf(t)===0&&(c[g]=String(l[f]).trim())}),(0,v.default)(c).sort().forEach(function(f){a.push(f+":"+c[f])}),h=h.concat(a),h.push(this.buildCanonicalizedResource(r,i.parameters)),h.join(`
|
|
|
`)},d.computeSignature=function(e,r){var i=s.createHmac("sha1",e);return i.update(w.from(r,"utf8")).digest("base64")},d.authorization=function(e,r,i){return"OSS "+e+":"+this.computeSignature(r,i)},d._signatureForURL=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments[2],n=arguments[3],l={},t=r.subResource,a=t===void 0?{}:t;if(r.process){var c="x-oss-process";a[c]=r.process}if(r.trafficLimit){var h="x-oss-traffic-limit";a[h]=r.trafficLimit}if(r.response&&(0,v.default)(r.response).forEach(function(y){var E="response-"+y.toLowerCase();a[E]=r.response[y]}),(0,v.default)(r).forEach(function(y){var E=y.toLowerCase(),C=r[y];E.indexOf("x-oss-")===0?l[E]=C:(E.indexOf("content-md5")===0||E.indexOf("content-type")===0)&&(l[y]=C)}),Object.prototype.hasOwnProperty.call(r,"security-token")&&(a["security-token"]=r["security-token"]),Object.prototype.hasOwnProperty.call(r,"callback")){var f={callbackUrl:encodeURI(r.callback.url),callbackBody:r.callback.body};if(r.callback.host&&(f.callbackHost=r.callback.host),r.callback.contentType&&(f.callbackBodyType=r.callback.contentType),a.callback=w.from((0,b.default)(f)).toString("base64"),r.callback.customValue){var g={};(0,v.default)(r.callback.customValue).forEach(function(y){g["x:"+y]=r.callback.customValue[y]}),a["callback-var"]=w.from((0,b.default)(g)).toString("base64")}}var S=this.buildCanonicalString(r.method,i,{headers:l,parameters:a},n.toString());return{Signature:this.computeSignature(e,S),subResource:a}}}).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,P,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.checkBucketName=void 0,d.checkBucketName=function(w,A){var b=A?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!b.test(w))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/entries"),A=b(w);function b(r){return r&&r.__esModule?r:{default:r}}Object.defineProperty(d,"__esModule",{value:!0}),d.checkObjectTag=void 0;var m=M("./checkValid"),v=m.checkValid,p=M("./isObject"),s=p.isObject,u=[{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 (/)"}],o={key:[].concat(u,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(u,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function e(r){if(!s(r))throw new Error("tag must be Object");var i=(0,A.default)(r);if(i.length>10)throw new Error("maximum of 10 tags for a object");var n=["key","value"];i.forEach(function(l){l.forEach(function(t,a){v(t,o[n[a]])})})}d.checkObjectTag=e},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(M,P,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.checkValid=void 0;function w(A,b){b.forEach(function(m){if(m.validator)m.validator(A);else if(m.pattern&&!m.pattern.test(A))throw new Error(m.msg)})}d.checkValid=w},{}],38:[function(M,P,d){(function(w){"use strict";var A=M("babel-runtime/core-js/object/assign"),b=m(A);function m(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(d,"__esModule",{value:!0}),d.createRequest=void 0;var v=M("./../../../shims/crypto/crypto.js"),p=M("debug")("ali-oss"),s=M("mime"),u=M("dateformat"),o=M("copy-to"),e=M("path");function r(l,t){return l[t]||l[t.toLowerCase()]}function i(l,t){delete l[t],delete l[t.toLowerCase()]}function n(l){var t=new Date;this.options.amendTimeSkewed&&(t=+new Date+this.options.amendTimeSkewed);var a={"x-oss-date":u(t,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.userAgent.includes("nodejs")&&(a["User-Agent"]=this.userAgent),this.options.isRequestPay&&(0,b.default)(a,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(a["x-oss-security-token"]=this.options.stsToken),o(l.headers).to(a),r(a,"Content-Type")||(l.mime&&l.mime.indexOf("/")>0?a["Content-Type"]=l.mime:a["Content-Type"]=s.getType(l.mime||e.extname(l.object||""))),r(a,"Content-Type")||i(a,"Content-Type"),l.content&&(a["Content-Md5"]=v.createHash("md5").update(w.from(l.content,"utf8")).digest("base64"),a["Content-Length"]||(a["Content-Length"]=l.content.length));var c=this._getResource(l);a.authorization=this.authorization(l.method,c,l.subres,a);var h=this._getReqUrl(l);p("request %s %s, with headers %j, !!stream: %s",l.method,h,a,!!l.stream);var f=l.timeout||this.options.timeout,g={method:l.method,content:l.content,stream:l.stream,headers:a,timeout:f,writeStream:l.writeStream,customResponse:l.customResponse,ctx:l.ctx||this.ctx};return this.agent&&(g.agent=this.agent),this.httpsAgent&&(g.httpsAgent=this.httpsAgent),{url:h,params:g}}d.createRequest=n}).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,P,d){"use strict";var w=M("babel-runtime/core-js/object/keys"),A=v(w),b=M("babel-runtime/helpers/typeof"),m=v(b);function v(p){return p&&p.__esModule?p:{default:p}}Object.defineProperty(d,"__esModule",{value:!0}),d.deepCopy=void 0,d.deepCopy=function(p){if(p===null||(typeof p=="undefined"?"undefined":(0,m.default)(p))!=="object")return p;var s=Array.isArray(p)?[]:{};return(0,A.default)(p).forEach(function(u){s[u]=d.deepCopy(p[u])}),s}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/keys"),A=v(w),b=M("babel-runtime/helpers/typeof"),m=v(b);function v(u){return u&&u.__esModule?u:{default:u}}Object.defineProperty(d,"__esModule",{value:!0}),d.formatObjKey=void 0;function p(u,o){if(u===null||(typeof u=="undefined"?"undefined":(0,m.default)(u))!=="object")return u;var e=void 0;if(Array.isArray(u)){e=[];for(var r=0;r<u.length;r++)e.push(p(u[r],o))}else e={},(0,A.default)(u).forEach(function(i){e[s(i,o)]=p(u[i],o)});return e}d.formatObjKey=p;function s(u,o){return o==="firstUpperCase"?u=u.replace(/^./,function(e){return e.toUpperCase()}):o==="firstLowerCase"&&(u=u.replace(/^./,function(e){return e.toLowerCase()})),u}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(M,P,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.getStrBytesCount=void 0;function w(A){for(var b=0,m=0;m<A.length;m++){var v=A.charAt(m);/^[\u00-\uff]$/.test(v)?b+=1:b+=2}return b}d.getStrBytesCount=w},{}],42:[function(M,P,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isArray=void 0,d.isArray=function(w){return Object.prototype.toString.call(w)==="[object Array]"}},{}],43:[function(M,P,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isBlob=void 0;function w(A){return typeof Blob!="undefined"&&A instanceof Blob}d.isBlob=w},{}],44:[function(M,P,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isFile=void 0,d.isFile=function(w){return typeof File!="undefined"&&w instanceof File}},{}],45:[function(M,P,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isIP=void 0,d.isIP=function(w){var A=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,b=/^\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 A.test(w)||b.test(w)}},{}],46:[function(M,P,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isObject=void 0,d.isObject=function(w){return Object.prototype.toString.call(w)==="[object Object]"}},{}],47:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/keys"),A=b(w);function b(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(d,"__esModule",{value:!0}),d.obj2xml=void 0;var m=M("./formatObjKey");function v(s){return Object.prototype.toString.call(s).replace(/(.*? |])/g,"").toLowerCase()}function p(s,u){var o="";return u&&u.headers&&(o=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
`),u&&u.firstUpperCase&&(s=m.formatObjKey(s,"firstUpperCase")),v(s)==="object"?(0,A.default)(s).forEach(function(e){v(s[e])==="string"||v(s[e])==="number"?o+="<"+e+">"+s[e]+"</"+e+">":v(s[e])==="object"?o+="<"+e+">"+p(s[e])+"</"+e+">":v(s[e])==="array"?o+=s[e].map(function(r){return"<"+e+">"+p(r)+"</"+e+">"}).join(""):o+="<"+e+">"+s[e].toString()+"</"+e+">"}):o+=s.toString(),o}d.obj2xml=p},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(M,P,d){P.exports=w,P.exports.HttpsAgent=w;function w(){}},{}],49:[function(M,P,d){P.exports=M("./register")().Promise},{"./register":51}],50:[function(M,P,d){"use strict";var w="@@any-promise/REGISTRATION",A=null;P.exports=function(b,m){return function(p,s){p=p||null,s=s||{};var u=s.global!==!1;if(A===null&&u&&(A=b[w]||null),A!==null&&p!==null&&A.implementation!==p)throw new Error('any-promise already defined as "'+A.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return A===null&&(p!==null&&typeof s.Promise!="undefined"?A={Promise:s.Promise,implementation:p}:A=m(p),u&&(b[w]=A)),A}}},{}],51:[function(M,P,d){"use strict";P.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,P,d){P.exports={default:M("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(M,P,d){P.exports={default:M("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(M,P,d){P.exports={default:M("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(M,P,d){P.exports={default:M("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(M,P,d){P.exports={default:M("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(M,P,d){P.exports={default:M("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(M,P,d){P.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,P,d){P.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,P,d){P.exports={default:M("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(M,P,d){P.exports={default:M("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(M,P,d){P.exports={default:M("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(M,P,d){P.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,P,d){P.exports={default:M("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(M,P,d){P.exports={default:M("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(M,P,d){P.exports={default:M("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(M,P,d){"use strict";d.__esModule=!0;var w=M("../core-js/symbol/iterator"),A=p(w),b=M("../core-js/symbol"),m=p(b),v=typeof m.default=="function"&&typeof A.default=="symbol"?function(s){return typeof s}:function(s){return s&&typeof m.default=="function"&&s.constructor===m.default&&s!==m.default.prototype?"symbol":typeof s};function p(s){return s&&s.__esModule?s:{default:s}}d.default=typeof m.default=="function"&&v(A.default)==="symbol"?function(s){return typeof s=="undefined"?"undefined":v(s)}:function(s){return s&&typeof m.default=="function"&&s.constructor===m.default&&s!==m.default.prototype?"symbol":typeof s=="undefined"?"undefined":v(s)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(M,P,d){P.exports=M("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(M,P,d){"use strict";d.byteLength=u,d.toByteArray=e,d.fromByteArray=n;for(var w=[],A=[],b=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,p=m.length;v<p;++v)w[v]=m[v],A[m.charCodeAt(v)]=v;A["-".charCodeAt(0)]=62,A["_".charCodeAt(0)]=63;function s(l){var t=l.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var a=l.indexOf("=");a===-1&&(a=t);var c=a===t?0:4-a%4;return[a,c]}function u(l){var t=s(l),a=t[0],c=t[1];return(a+c)*3/4-c}function o(l,t,a){return(t+a)*3/4-a}function e(l){var t,a=s(l),c=a[0],h=a[1],f=new b(o(l,c,h)),g=0,S=h>0?c-4:c,y;for(y=0;y<S;y+=4)t=A[l.charCodeAt(y)]<<18|A[l.charCodeAt(y+1)]<<12|A[l.charCodeAt(y+2)]<<6|A[l.charCodeAt(y+3)],f[g++]=t>>16&255,f[g++]=t>>8&255,f[g++]=t&255;return h===2&&(t=A[l.charCodeAt(y)]<<2|A[l.charCodeAt(y+1)]>>4,f[g++]=t&255),h===1&&(t=A[l.charCodeAt(y)]<<10|A[l.charCodeAt(y+1)]<<4|A[l.charCodeAt(y+2)]>>2,f[g++]=t>>8&255,f[g++]=t&255),f}function r(l){return w[l>>18&63]+w[l>>12&63]+w[l>>6&63]+w[l&63]}function i(l,t,a){for(var c,h=[],f=t;f<a;f+=3)c=(l[f]<<16&16711680)+(l[f+1]<<8&65280)+(l[f+2]&255),h.push(r(c));return h.join("")}function n(l){for(var t,a=l.length,c=a%3,h=[],f=16383,g=0,S=a-c;g<S;g+=f)h.push(i(l,g,g+f>S?S:g+f));return c===1?(t=l[a-1],h.push(w[t>>2]+w[t<<4&63]+"==")):c===2&&(t=(l[a-2]<<8)+l[a-1],h.push(w[t>>10]+w[t>>4&63]+w[t<<2&63]+"=")),h.join("")}},{}],70:[function(M,P,d){/*!
|
|
|
* Bowser - a browser detector
|
|
|
* https://github.com/ded/bowser
|
|
|
* MIT License | (c) Dustin Diaz 2015
|
|
|
*/!function(w,A,b){typeof P!="undefined"&&P.exports?P.exports=b():typeof define=="function"&&define.amd?define(A,b):w[A]=b()}(this,"bowser",function(){var w=!0;function A(o){function e(j){var H=o.match(j);return H&&H.length>1&&H[1]||""}function r(j){var H=o.match(j);return H&&H.length>1&&H[2]||""}var i=e(/(ipod|iphone|ipad)/i).toLowerCase(),n=/like android/i.test(o),l=!n&&/android/i.test(o),t=/nexus\s*[0-6]\s*/i.test(o),a=!t&&/nexus\s*[0-9]+/i.test(o),c=/CrOS/.test(o),h=/silk/i.test(o),f=/sailfish/i.test(o),g=/tizen/i.test(o),S=/(web|hpw)(o|0)s/i.test(o),y=/windows phone/i.test(o),E=/SamsungBrowser/i.test(o),C=!y&&/windows/i.test(o),T=!i&&!h&&/macintosh/i.test(o),x=!l&&!f&&!g&&!S&&/linux/i.test(o),_=r(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),I=e(/version\/(\d+(\.\d+)?)/i),L=/tablet/i.test(o)&&!/tablet pc/i.test(o),D=!L&&/[^-]mobi/i.test(o),B=/xbox/i.test(o),N;/opera/i.test(o)?N={name:"Opera",opera:w,version:I||e(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(o)?N={name:"Opera",opera:w,version:e(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||I}:/SamsungBrowser/i.test(o)?N={name:"Samsung Internet for Android",samsungBrowser:w,version:I||e(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(o)?N={name:"NAVER Whale browser",whale:w,version:e(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(o)?N={name:"MZ Browser",mzbrowser:w,version:e(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(o)?N={name:"Opera Coast",coast:w,version:I||e(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(o)?N={name:"Focus",focus:w,version:e(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(o)?N={name:"Yandex Browser",yandexbrowser:w,version:I||e(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(o)?N={name:"UC Browser",ucbrowser:w,version:e(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(o)?N={name:"Maxthon",maxthon:w,version:e(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(o)?N={name:"Epiphany",epiphany:w,version:e(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(o)?N={name:"Puffin",puffin:w,version:e(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(o)?N={name:"Sleipnir",sleipnir:w,version:e(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(o)?N={name:"K-Meleon",kMeleon:w,version:e(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:y?(N={name:"Windows Phone",osname:"Windows Phone",windowsphone:w},_?(N.msedge=w,N.version=_):(N.msie=w,N.version=e(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(o)?N={name:"Internet Explorer",msie:w,version:e(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:c?N={name:"Chrome",osname:"Chrome OS",chromeos:w,chromeBook:w,chrome:w,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(o)?N={name:"Microsoft Edge",msedge:w,version:_}:/vivaldi/i.test(o)?N={name:"Vivaldi",vivaldi:w,version:e(/vivaldi\/(\d+(\.\d+)?)/i)||I}:f?N={name:"Sailfish",osname:"Sailfish OS",sailfish:w,version:e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(o)?N={name:"SeaMonkey",seamonkey:w,version:e(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(o)?(N={name:"Firefox",firefox:w,version:e(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(o)&&(N.firefoxos=w,N.osname="Firefox OS")):h?N={name:"Amazon Silk",silk:w,version:e(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(o)?N={name:"PhantomJS",phantom:w,version:e(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(o)?N={name:"SlimerJS",slimer:w,version:e(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(o)||/rim\stablet/i.test(o)?N={name:"BlackBerry",osname:"BlackBerry OS",blackberry:w,version:I||e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:S?(N={name:"WebOS",osname:"WebOS",webos:w,version:I||e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(o)&&(N.touchpad=w)):/bada/i.test(o)?N={name:"Bada",osname:"Bada",bada:w,version:e(/dolfin\/(\d+(\.\d+)?)/i)}:g?N={name:"Tizen",osname:"Tizen",tizen:w,version:e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||I}:/qupzilla/i.test(o)?N={name:"QupZilla",qupzilla:w,version:e(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||I}:/chromium/i.test(o)?N={name:"Chromium",chromium:w,version:e(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||I}:/chrome|crios|crmo/i.test(o)?N={name:"Chrome",chrome:w,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:l?N={name:"Android",version:I}:/safari|applewebkit/i.test(o)?(N={name:"Safari",safari:w},I&&(N.version=I)):i?(N={name:i=="iphone"?"iPhone":i=="ipad"?"iPad":"iPod"},I&&(N.version=I)):/googlebot/i.test(o)?N={name:"Googlebot",googlebot:w,version:e(/googlebot\/(\d+(\.\d+))/i)||I}:N={name:e(/^(.*)\/(.*) /),version:r(/^(.*)\/(.*) /)},!N.msedge&&/(apple)?webkit/i.test(o)?(/(apple)?webkit\/537\.36/i.test(o)?(N.name=N.name||"Blink",N.blink=w):(N.name=N.name||"Webkit",N.webkit=w),!N.version&&I&&(N.version=I)):!N.opera&&/gecko\//i.test(o)&&(N.name=N.name||"Gecko",N.gecko=w,N.version=N.version||e(/gecko\/(\d+(\.\d+)?)/i)),!N.windowsphone&&(l||N.silk)?(N.android=w,N.osname="Android"):!N.windowsphone&&i?(N[i]=w,N.ios=w,N.osname="iOS"):T?(N.mac=w,N.osname="macOS"):B?(N.xbox=w,N.osname="Xbox"):C?(N.windows=w,N.osname="Windows"):x&&(N.linux=w,N.osname="Linux");function k(j){switch(j){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="";N.windows?W=k(e(/Windows ((NT|XP)( \d\d?.\d)?)/i)):N.windowsphone?W=e(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):N.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,".")):l?W=e(/android[ \/-](\d+(\.\d+)*)/i):N.webos?W=e(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):N.blackberry?W=e(/rim\stablet\sos\s(\d+(\.\d+)*)/i):N.bada?W=e(/bada\/(\d+(\.\d+)*)/i):N.tizen&&(W=e(/tizen[\/\s](\d+(\.\d+)*)/i)),W&&(N.osversion=W);var R=!N.windows&&W.split(".")[0];return L||a||i=="ipad"||l&&(R==3||R>=4&&!D)||N.silk?N.tablet=w:(D||i=="iphone"||i=="ipod"||l||t||N.blackberry||N.webos||N.bada)&&(N.mobile=w),N.msedge||N.msie&&N.version>=10||N.yandexbrowser&&N.version>=15||N.vivaldi&&N.version>=1||N.chrome&&N.version>=20||N.samsungBrowser&&N.version>=4||N.whale&&p([N.version,"1.0"])===1||N.mzbrowser&&p([N.version,"6.0"])===1||N.focus&&p([N.version,"1.0"])===1||N.firefox&&N.version>=20||N.safari&&N.version>=6||N.opera&&N.version>=10||N.ios&&N.osversion&&N.osversion.split(".")[0]>=6||N.blackberry&&N.version>=10.1||N.chromium&&N.version>=20?N.a=w:N.msie&&N.version<10||N.chrome&&N.version<20||N.firefox&&N.version<20||N.safari&&N.version<6||N.opera&&N.version<10||N.ios&&N.osversion&&N.osversion.split(".")[0]<6||N.chromium&&N.version<20?N.c=w:N.x=w,N}var b=A(typeof navigator!="undefined"&&navigator.userAgent||"");b.test=function(o){for(var e=0;e<o.length;++e){var r=o[e];if(typeof r=="string"&&r in b)return!0}return!1};function m(o){return o.split(".").length}function v(o,e){var r=[],i;if(Array.prototype.map)return Array.prototype.map.call(o,e);for(i=0;i<o.length;i++)r.push(e(o[i]));return r}function p(o){for(var e=Math.max(m(o[0]),m(o[1])),r=v(o,function(i){var n=e-m(i);return i=i+new Array(n+1).join(".0"),v(i.split("."),function(l){return new Array(20-l.length).join("0")+l}).reverse()});--e>=0;){if(r[0][e]>r[1][e])return 1;if(r[0][e]===r[1][e]){if(e===0)return 0}else return-1}}function s(o,e,r){var i=b;typeof e=="string"&&(r=e,e=void 0),e===void 0&&(e=!1),r&&(i=A(r));var n=""+i.version;for(var l in o)if(o.hasOwnProperty(l)&&i[l]){if(typeof o[l]!="string")throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(o));return p([n,o[l]])<0}return e}function u(o,e,r){return!s(o,e,r)}return b.isUnsupportedBrowser=s,b.compareVersions=p,b.check=u,b._detect=A,b.detect=A,b})},{}],71:[function(M,P,d){},{}],72:[function(M,P,d){var w=M("buffer").Buffer,A=w.isEncoding||function(u){switch(u&&u.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 b(u){if(u&&!A(u))throw new Error("Unknown encoding: "+u)}var m=d.StringDecoder=function(u){this.encoding=(u||"utf8").toLowerCase().replace(/[-_]/,""),b(u);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=s;break;default:this.write=v;return}this.charBuffer=new w(6),this.charReceived=0,this.charLength=0};m.prototype.write=function(u){for(var o="";this.charLength;){var e=u.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:u.length;if(u.copy(this.charBuffer,this.charReceived,0,e),this.charReceived+=e,this.charReceived<this.charLength)return"";u=u.slice(e,u.length),o=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var i=o.charCodeAt(o.length-1);if(i>=55296&&i<=56319){this.charLength+=this.surrogateSize,o="";continue}if(this.charReceived=this.charLength=0,u.length===0)return o;break}this.detectIncompleteChar(u);var r=u.length;this.charLength&&(u.copy(this.charBuffer,0,u.length-this.charReceived,r),r-=this.charReceived),o+=u.toString(this.encoding,0,r);var r=o.length-1,i=o.charCodeAt(r);if(i>=55296&&i<=56319){var n=this.surrogateSize;return this.charLength+=n,this.charReceived+=n,this.charBuffer.copy(this.charBuffer,n,0,n),u.copy(this.charBuffer,0,0,n),o.substring(0,r)}return o},m.prototype.detectIncompleteChar=function(u){for(var o=u.length>=3?3:u.length;o>0;o--){var e=u[u.length-o];if(o==1&&e>>5==6){this.charLength=2;break}if(o<=2&&e>>4==14){this.charLength=3;break}if(o<=3&&e>>3==30){this.charLength=4;break}}this.charReceived=o},m.prototype.end=function(u){var o="";if(u&&u.length&&(o=this.write(u)),this.charReceived){var e=this.charReceived,r=this.charBuffer,i=this.encoding;o+=r.slice(0,e).toString(i)}return o};function v(u){return u.toString(this.encoding)}function p(u){this.charReceived=u.length%2,this.charLength=this.charReceived?2:0}function s(u){this.charReceived=u.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(M,P,d){(function(w,A){/*!
|
|
|
* The buffer module from node.js, for the browser.
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
|
* @license MIT
|
|
|
*/"use strict";var b=M("base64-js"),m=M("ieee754"),v=M("isarray");d.Buffer=A,d.SlowBuffer=h,d.INSPECT_MAX_BYTES=50,A.TYPED_ARRAY_SUPPORT=w.TYPED_ARRAY_SUPPORT!==void 0?w.TYPED_ARRAY_SUPPORT:p(),d.kMaxLength=s();function p(){try{var te=new Uint8Array(1);return te.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},te.foo()===42&&typeof te.subarray=="function"&&te.subarray(1,1).byteLength===0}catch(X){return!1}}function s(){return A.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(te,X){if(s()<X)throw new RangeError("Invalid typed array length");return A.TYPED_ARRAY_SUPPORT?(te=new Uint8Array(X),te.__proto__=A.prototype):(te===null&&(te=new A(X)),te.length=X),te}function A(te,X,z){if(!A.TYPED_ARRAY_SUPPORT&&!(this instanceof A))return new A(te,X,z);if(typeof te=="number"){if(typeof X=="string")throw new Error("If encoding is specified then the first argument must be a string");return i(this,te)}return o(this,te,X,z)}A.poolSize=8192,A._augment=function(te){return te.__proto__=A.prototype,te};function o(te,X,z,Z){if(typeof X=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&X instanceof ArrayBuffer?t(te,X,z,Z):typeof X=="string"?n(te,X,z):a(te,X)}A.from=function(te,X,z){return o(null,te,X,z)},A.TYPED_ARRAY_SUPPORT&&(A.prototype.__proto__=Uint8Array.prototype,A.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&A[Symbol.species]===A&&Object.defineProperty(A,Symbol.species,{value:null,configurable:!0}));function e(te){if(typeof te!="number")throw new TypeError('"size" argument must be a number');if(te<0)throw new RangeError('"size" argument must not be negative')}function r(te,X,z,Z){return e(X),X<=0?u(te,X):z!==void 0?typeof Z=="string"?u(te,X).fill(z,Z):u(te,X).fill(z):u(te,X)}A.alloc=function(te,X,z){return r(null,te,X,z)};function i(te,X){if(e(X),te=u(te,X<0?0:c(X)|0),!A.TYPED_ARRAY_SUPPORT)for(var z=0;z<X;++z)te[z]=0;return te}A.allocUnsafe=function(te){return i(null,te)},A.allocUnsafeSlow=function(te){return i(null,te)};function n(te,X,z){if((typeof z!="string"||z==="")&&(z="utf8"),!A.isEncoding(z))throw new TypeError('"encoding" must be a valid string encoding');var Z=f(X,z)|0;te=u(te,Z);var be=te.write(X,z);return be!==Z&&(te=te.slice(0,be)),te}function l(te,X){var z=X.length<0?0:c(X.length)|0;te=u(te,z);for(var Z=0;Z<z;Z+=1)te[Z]=X[Z]&255;return te}function t(te,X,z,Z){if(X.byteLength,z<0||X.byteLength<z)throw new RangeError("'offset' is out of bounds");if(X.byteLength<z+(Z||0))throw new RangeError("'length' is out of bounds");return z===void 0&&Z===void 0?X=new Uint8Array(X):Z===void 0?X=new Uint8Array(X,z):X=new Uint8Array(X,z,Z),A.TYPED_ARRAY_SUPPORT?(te=X,te.__proto__=A.prototype):te=l(te,X),te}function a(te,X){if(A.isBuffer(X)){var z=c(X.length)|0;return te=u(te,z),te.length===0||X.copy(te,0,0,z),te}if(X){if(typeof ArrayBuffer!="undefined"&&X.buffer instanceof ArrayBuffer||"length"in X)return typeof X.length!="number"||We(X.length)?u(te,0):l(te,X);if(X.type==="Buffer"&&v(X.data))return l(te,X.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function c(te){if(te>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return te|0}function h(te){return+te!=te&&(te=0),A.alloc(+te)}A.isBuffer=function(X){return!!(X!=null&&X._isBuffer)},A.compare=function(X,z){if(!A.isBuffer(X)||!A.isBuffer(z))throw new TypeError("Arguments must be Buffers");if(X===z)return 0;for(var Z=X.length,be=z.length,ne=0,Ae=Math.min(Z,be);ne<Ae;++ne)if(X[ne]!==z[ne]){Z=X[ne],be=z[ne];break}return Z<be?-1:be<Z?1:0},A.isEncoding=function(X){switch(String(X).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},A.concat=function(X,z){if(!v(X))throw new TypeError('"list" argument must be an Array of Buffers');if(X.length===0)return A.alloc(0);var Z;if(z===void 0)for(z=0,Z=0;Z<X.length;++Z)z+=X[Z].length;var be=A.allocUnsafe(z),ne=0;for(Z=0;Z<X.length;++Z){var Ae=X[Z];if(!A.isBuffer(Ae))throw new TypeError('"list" argument must be an Array of Buffers');Ae.copy(be,ne),ne+=Ae.length}return be};function f(te,X){if(A.isBuffer(te))return te.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(te)||te instanceof ArrayBuffer))return te.byteLength;typeof te!="string"&&(te=""+te);var z=te.length;if(z===0)return 0;for(var Z=!1;;)switch(X){case"ascii":case"latin1":case"binary":return z;case"utf8":case"utf-8":case void 0:return Se(te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z*2;case"hex":return z>>>1;case"base64":return G(te).length;default:if(Z)return Se(te).length;X=(""+X).toLowerCase(),Z=!0}}A.byteLength=f;function g(te,X,z){var Z=!1;if((X===void 0||X<0)&&(X=0),X>this.length)return"";if((z===void 0||z>this.length)&&(z=this.length),z<=0)return"";if(z>>>=0,X>>>=0,z<=X)return"";for(te||(te="utf8");;)switch(te){case"hex":return j(this,X,z);case"utf8":case"utf-8":return B(this,X,z);case"ascii":return W(this,X,z);case"latin1":case"binary":return R(this,X,z);case"base64":return D(this,X,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,X,z);default:if(Z)throw new TypeError("Unknown encoding: "+te);te=(te+"").toLowerCase(),Z=!0}}A.prototype._isBuffer=!0;function S(te,X,z){var Z=te[X];te[X]=te[z],te[z]=Z}A.prototype.swap16=function(){var X=this.length;if(X%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var z=0;z<X;z+=2)S(this,z,z+1);return this},A.prototype.swap32=function(){var X=this.length;if(X%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var z=0;z<X;z+=4)S(this,z,z+3),S(this,z+1,z+2);return this},A.prototype.swap64=function(){var X=this.length;if(X%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var z=0;z<X;z+=8)S(this,z,z+7),S(this,z+1,z+6),S(this,z+2,z+5),S(this,z+3,z+4);return this},A.prototype.toString=function(){var X=this.length|0;return X===0?"":arguments.length===0?B(this,0,X):g.apply(this,arguments)},A.prototype.equals=function(X){if(!A.isBuffer(X))throw new TypeError("Argument must be a Buffer");return this===X?!0:A.compare(this,X)===0},A.prototype.inspect=function(){var X="",z=d.INSPECT_MAX_BYTES;return this.length>0&&(X=this.toString("hex",0,z).match(/.{2}/g).join(" "),this.length>z&&(X+=" ... ")),"<Buffer "+X+">"},A.prototype.compare=function(X,z,Z,be,ne){if(!A.isBuffer(X))throw new TypeError("Argument must be a Buffer");if(z===void 0&&(z=0),Z===void 0&&(Z=X?X.length:0),be===void 0&&(be=0),ne===void 0&&(ne=this.length),z<0||Z>X.length||be<0||ne>this.length)throw new RangeError("out of range index");if(be>=ne&&z>=Z)return 0;if(be>=ne)return-1;if(z>=Z)return 1;if(z>>>=0,Z>>>=0,be>>>=0,ne>>>=0,this===X)return 0;for(var Ae=ne-be,Ne=Z-z,oe=Math.min(Ae,Ne),de=this.slice(be,ne),xe=X.slice(z,Z),Pe=0;Pe<oe;++Pe)if(de[Pe]!==xe[Pe]){Ae=de[Pe],Ne=xe[Pe];break}return Ae<Ne?-1:Ne<Ae?1:0};function y(te,X,z,Z,be){if(te.length===0)return-1;if(typeof z=="string"?(Z=z,z=0):z>2147483647?z=2147483647:z<-2147483648&&(z=-2147483648),z=+z,isNaN(z)&&(z=be?0:te.length-1),z<0&&(z=te.length+z),z>=te.length){if(be)return-1;z=te.length-1}else if(z<0)if(be)z=0;else return-1;if(typeof X=="string"&&(X=A.from(X,Z)),A.isBuffer(X))return X.length===0?-1:E(te,X,z,Z,be);if(typeof X=="number")return X=X&255,A.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?be?Uint8Array.prototype.indexOf.call(te,X,z):Uint8Array.prototype.lastIndexOf.call(te,X,z):E(te,[X],z,Z,be);throw new TypeError("val must be string, number or Buffer")}function E(te,X,z,Z,be){var ne=1,Ae=te.length,Ne=X.length;if(Z!==void 0&&(Z=String(Z).toLowerCase(),Z==="ucs2"||Z==="ucs-2"||Z==="utf16le"||Z==="utf-16le")){if(te.length<2||X.length<2)return-1;ne=2,Ae/=2,Ne/=2,z/=2}function oe(Je,Oe){return ne===1?Je[Oe]:Je.readUInt16BE(Oe*ne)}var de;if(be){var xe=-1;for(de=z;de<Ae;de++)if(oe(te,de)===oe(X,xe===-1?0:de-xe)){if(xe===-1&&(xe=de),de-xe+1===Ne)return xe*ne}else xe!==-1&&(de-=de-xe),xe=-1}else for(z+Ne>Ae&&(z=Ae-Ne),de=z;de>=0;de--){for(var Pe=!0,tt=0;tt<Ne;tt++)if(oe(te,de+tt)!==oe(X,tt)){Pe=!1;break}if(Pe)return de}return-1}A.prototype.includes=function(X,z,Z){return this.indexOf(X,z,Z)!==-1},A.prototype.indexOf=function(X,z,Z){return y(this,X,z,Z,!0)},A.prototype.lastIndexOf=function(X,z,Z){return y(this,X,z,Z,!1)};function C(te,X,z,Z){z=Number(z)||0;var be=te.length-z;Z?(Z=Number(Z),Z>be&&(Z=be)):Z=be;var ne=X.length;if(ne%2!==0)throw new TypeError("Invalid hex string");Z>ne/2&&(Z=ne/2);for(var Ae=0;Ae<Z;++Ae){var Ne=parseInt(X.substr(Ae*2,2),16);if(isNaN(Ne))return Ae;te[z+Ae]=Ne}return Ae}function T(te,X,z,Z){return pe(Se(X,te.length-z),te,z,Z)}function x(te,X,z,Z){return pe(Le(X),te,z,Z)}function _(te,X,z,Z){return x(te,X,z,Z)}function I(te,X,z,Z){return pe(G(X),te,z,Z)}function L(te,X,z,Z){return pe(He(X,te.length-z),te,z,Z)}A.prototype.write=function(X,z,Z,be){if(z===void 0)be="utf8",Z=this.length,z=0;else if(Z===void 0&&typeof z=="string")be=z,Z=this.length,z=0;else if(isFinite(z))z=z|0,isFinite(Z)?(Z=Z|0,be===void 0&&(be="utf8")):(be=Z,Z=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ne=this.length-z;if((Z===void 0||Z>ne)&&(Z=ne),X.length>0&&(Z<0||z<0)||z>this.length)throw new RangeError("Attempt to write outside buffer bounds");be||(be="utf8");for(var Ae=!1;;)switch(be){case"hex":return C(this,X,z,Z);case"utf8":case"utf-8":return T(this,X,z,Z);case"ascii":return x(this,X,z,Z);case"latin1":case"binary":return _(this,X,z,Z);case"base64":return I(this,X,z,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,X,z,Z);default:if(Ae)throw new TypeError("Unknown encoding: "+be);be=(""+be).toLowerCase(),Ae=!0}},A.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function D(te,X,z){return X===0&&z===te.length?b.fromByteArray(te):b.fromByteArray(te.slice(X,z))}function B(te,X,z){z=Math.min(te.length,z);for(var Z=[],be=X;be<z;){var ne=te[be],Ae=null,Ne=ne>239?4:ne>223?3:ne>191?2:1;if(be+Ne<=z){var oe,de,xe,Pe;switch(Ne){case 1:ne<128&&(Ae=ne);break;case 2:oe=te[be+1],(oe&192)===128&&(Pe=(ne&31)<<6|oe&63,Pe>127&&(Ae=Pe));break;case 3:oe=te[be+1],de=te[be+2],(oe&192)===128&&(de&192)===128&&(Pe=(ne&15)<<12|(oe&63)<<6|de&63,Pe>2047&&(Pe<55296||Pe>57343)&&(Ae=Pe));break;case 4:oe=te[be+1],de=te[be+2],xe=te[be+3],(oe&192)===128&&(de&192)===128&&(xe&192)===128&&(Pe=(ne&15)<<18|(oe&63)<<12|(de&63)<<6|xe&63,Pe>65535&&Pe<1114112&&(Ae=Pe))}}Ae===null?(Ae=65533,Ne=1):Ae>65535&&(Ae-=65536,Z.push(Ae>>>10&1023|55296),Ae=56320|Ae&1023),Z.push(Ae),be+=Ne}return k(Z)}var N=4096;function k(te){var X=te.length;if(X<=N)return String.fromCharCode.apply(String,te);for(var z="",Z=0;Z<X;)z+=String.fromCharCode.apply(String,te.slice(Z,Z+=N));return z}function W(te,X,z){var Z="";z=Math.min(te.length,z);for(var be=X;be<z;++be)Z+=String.fromCharCode(te[be]&127);return Z}function R(te,X,z){var Z="";z=Math.min(te.length,z);for(var be=X;be<z;++be)Z+=String.fromCharCode(te[be]);return Z}function j(te,X,z){var Z=te.length;(!X||X<0)&&(X=0),(!z||z<0||z>Z)&&(z=Z);for(var be="",ne=X;ne<z;++ne)be+=Ie(te[ne]);return be}function H(te,X,z){for(var Z=te.slice(X,z),be="",ne=0;ne<Z.length;ne+=2)be+=String.fromCharCode(Z[ne]+Z[ne+1]*256);return be}A.prototype.slice=function(X,z){var Z=this.length;X=~~X,z=z===void 0?Z:~~z,X<0?(X+=Z,X<0&&(X=0)):X>Z&&(X=Z),z<0?(z+=Z,z<0&&(z=0)):z>Z&&(z=Z),z<X&&(z=X);var be;if(A.TYPED_ARRAY_SUPPORT)be=this.subarray(X,z),be.__proto__=A.prototype;else{var ne=z-X;be=new A(ne,void 0);for(var Ae=0;Ae<ne;++Ae)be[Ae]=this[Ae+X]}return be};function K(te,X,z){if(te%1!==0||te<0)throw new RangeError("offset is not uint");if(te+X>z)throw new RangeError("Trying to access beyond buffer length")}A.prototype.readUIntLE=function(X,z,Z){X=X|0,z=z|0,Z||K(X,z,this.length);for(var be=this[X],ne=1,Ae=0;++Ae<z&&(ne*=256);)be+=this[X+Ae]*ne;return be},A.prototype.readUIntBE=function(X,z,Z){X=X|0,z=z|0,Z||K(X,z,this.length);for(var be=this[X+--z],ne=1;z>0&&(ne*=256);)be+=this[X+--z]*ne;return be},A.prototype.readUInt8=function(X,z){return z||K(X,1,this.length),this[X]},A.prototype.readUInt16LE=function(X,z){return z||K(X,2,this.length),this[X]|this[X+1]<<8},A.prototype.readUInt16BE=function(X,z){return z||K(X,2,this.length),this[X]<<8|this[X+1]},A.prototype.readUInt32LE=function(X,z){return z||K(X,4,this.length),(this[X]|this[X+1]<<8|this[X+2]<<16)+this[X+3]*16777216},A.prototype.readUInt32BE=function(X,z){return z||K(X,4,this.length),this[X]*16777216+(this[X+1]<<16|this[X+2]<<8|this[X+3])},A.prototype.readIntLE=function(X,z,Z){X=X|0,z=z|0,Z||K(X,z,this.length);for(var be=this[X],ne=1,Ae=0;++Ae<z&&(ne*=256);)be+=this[X+Ae]*ne;return ne*=128,be>=ne&&(be-=Math.pow(2,8*z)),be},A.prototype.readIntBE=function(X,z,Z){X=X|0,z=z|0,Z||K(X,z,this.length);for(var be=z,ne=1,Ae=this[X+--be];be>0&&(ne*=256);)Ae+=this[X+--be]*ne;return ne*=128,Ae>=ne&&(Ae-=Math.pow(2,8*z)),Ae},A.prototype.readInt8=function(X,z){return z||K(X,1,this.length),this[X]&128?(255-this[X]+1)*-1:this[X]},A.prototype.readInt16LE=function(X,z){z||K(X,2,this.length);var Z=this[X]|this[X+1]<<8;return Z&32768?Z|4294901760:Z},A.prototype.readInt16BE=function(X,z){z||K(X,2,this.length);var Z=this[X+1]|this[X]<<8;return Z&32768?Z|4294901760:Z},A.prototype.readInt32LE=function(X,z){return z||K(X,4,this.length),this[X]|this[X+1]<<8|this[X+2]<<16|this[X+3]<<24},A.prototype.readInt32BE=function(X,z){return z||K(X,4,this.length),this[X]<<24|this[X+1]<<16|this[X+2]<<8|this[X+3]},A.prototype.readFloatLE=function(X,z){return z||K(X,4,this.length),m.read(this,X,!0,23,4)},A.prototype.readFloatBE=function(X,z){return z||K(X,4,this.length),m.read(this,X,!1,23,4)},A.prototype.readDoubleLE=function(X,z){return z||K(X,8,this.length),m.read(this,X,!0,52,8)},A.prototype.readDoubleBE=function(X,z){return z||K(X,8,this.length),m.read(this,X,!1,52,8)};function U(te,X,z,Z,be,ne){if(!A.isBuffer(te))throw new TypeError('"buffer" argument must be a Buffer instance');if(X>be||X<ne)throw new RangeError('"value" argument is out of bounds');if(z+Z>te.length)throw new RangeError("Index out of range")}A.prototype.writeUIntLE=function(X,z,Z,be){if(X=+X,z=z|0,Z=Z|0,!be){var ne=Math.pow(2,8*Z)-1;U(this,X,z,Z,ne,0)}var Ae=1,Ne=0;for(this[z]=X&255;++Ne<Z&&(Ae*=256);)this[z+Ne]=X/Ae&255;return z+Z},A.prototype.writeUIntBE=function(X,z,Z,be){if(X=+X,z=z|0,Z=Z|0,!be){var ne=Math.pow(2,8*Z)-1;U(this,X,z,Z,ne,0)}var Ae=Z-1,Ne=1;for(this[z+Ae]=X&255;--Ae>=0&&(Ne*=256);)this[z+Ae]=X/Ne&255;return z+Z},A.prototype.writeUInt8=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,1,255,0),A.TYPED_ARRAY_SUPPORT||(X=Math.floor(X)),this[z]=X&255,z+1};function Q(te,X,z,Z){X<0&&(X=65535+X+1);for(var be=0,ne=Math.min(te.length-z,2);be<ne;++be)te[z+be]=(X&255<<8*(Z?be:1-be))>>>(Z?be:1-be)*8}A.prototype.writeUInt16LE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,2,65535,0),A.TYPED_ARRAY_SUPPORT?(this[z]=X&255,this[z+1]=X>>>8):Q(this,X,z,!0),z+2},A.prototype.writeUInt16BE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,2,65535,0),A.TYPED_ARRAY_SUPPORT?(this[z]=X>>>8,this[z+1]=X&255):Q(this,X,z,!1),z+2};function V(te,X,z,Z){X<0&&(X=4294967295+X+1);for(var be=0,ne=Math.min(te.length-z,4);be<ne;++be)te[z+be]=X>>>(Z?be:3-be)*8&255}A.prototype.writeUInt32LE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,4,4294967295,0),A.TYPED_ARRAY_SUPPORT?(this[z+3]=X>>>24,this[z+2]=X>>>16,this[z+1]=X>>>8,this[z]=X&255):V(this,X,z,!0),z+4},A.prototype.writeUInt32BE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,4,4294967295,0),A.TYPED_ARRAY_SUPPORT?(this[z]=X>>>24,this[z+1]=X>>>16,this[z+2]=X>>>8,this[z+3]=X&255):V(this,X,z,!1),z+4},A.prototype.writeIntLE=function(X,z,Z,be){if(X=+X,z=z|0,!be){var ne=Math.pow(2,8*Z-1);U(this,X,z,Z,ne-1,-ne)}var Ae=0,Ne=1,oe=0;for(this[z]=X&255;++Ae<Z&&(Ne*=256);)X<0&&oe===0&&this[z+Ae-1]!==0&&(oe=1),this[z+Ae]=(X/Ne>>0)-oe&255;return z+Z},A.prototype.writeIntBE=function(X,z,Z,be){if(X=+X,z=z|0,!be){var ne=Math.pow(2,8*Z-1);U(this,X,z,Z,ne-1,-ne)}var Ae=Z-1,Ne=1,oe=0;for(this[z+Ae]=X&255;--Ae>=0&&(Ne*=256);)X<0&&oe===0&&this[z+Ae+1]!==0&&(oe=1),this[z+Ae]=(X/Ne>>0)-oe&255;return z+Z},A.prototype.writeInt8=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,1,127,-128),A.TYPED_ARRAY_SUPPORT||(X=Math.floor(X)),X<0&&(X=255+X+1),this[z]=X&255,z+1},A.prototype.writeInt16LE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,2,32767,-32768),A.TYPED_ARRAY_SUPPORT?(this[z]=X&255,this[z+1]=X>>>8):Q(this,X,z,!0),z+2},A.prototype.writeInt16BE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,2,32767,-32768),A.TYPED_ARRAY_SUPPORT?(this[z]=X>>>8,this[z+1]=X&255):Q(this,X,z,!1),z+2},A.prototype.writeInt32LE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,4,2147483647,-2147483648),A.TYPED_ARRAY_SUPPORT?(this[z]=X&255,this[z+1]=X>>>8,this[z+2]=X>>>16,this[z+3]=X>>>24):V(this,X,z,!0),z+4},A.prototype.writeInt32BE=function(X,z,Z){return X=+X,z=z|0,Z||U(this,X,z,4,2147483647,-2147483648),X<0&&(X=4294967295+X+1),A.TYPED_ARRAY_SUPPORT?(this[z]=X>>>24,this[z+1]=X>>>16,this[z+2]=X>>>8,this[z+3]=X&255):V(this,X,z,!1),z+4};function J(te,X,z,Z,be,ne){if(z+Z>te.length)throw new RangeError("Index out of range");if(z<0)throw new RangeError("Index out of range")}function ae(te,X,z,Z,be){return be||J(te,X,z,4,34028234663852886e22,-34028234663852886e22),m.write(te,X,z,Z,23,4),z+4}A.prototype.writeFloatLE=function(X,z,Z){return ae(this,X,z,!0,Z)},A.prototype.writeFloatBE=function(X,z,Z){return ae(this,X,z,!1,Z)};function se(te,X,z,Z,be){return be||J(te,X,z,8,17976931348623157e292,-17976931348623157e292),m.write(te,X,z,Z,52,8),z+8}A.prototype.writeDoubleLE=function(X,z,Z){return se(this,X,z,!0,Z)},A.prototype.writeDoubleBE=function(X,z,Z){return se(this,X,z,!1,Z)},A.prototype.copy=function(X,z,Z,be){if(Z||(Z=0),!be&&be!==0&&(be=this.length),z>=X.length&&(z=X.length),z||(z=0),be>0&&be<Z&&(be=Z),be===Z)return 0;if(X.length===0||this.length===0)return 0;if(z<0)throw new RangeError("targetStart out of bounds");if(Z<0||Z>=this.length)throw new RangeError("sourceStart out of bounds");if(be<0)throw new RangeError("sourceEnd out of bounds");be>this.length&&(be=this.length),X.length-z<be-Z&&(be=X.length-z+Z);var ne=be-Z,Ae;if(this===X&&Z<z&&z<be)for(Ae=ne-1;Ae>=0;--Ae)X[Ae+z]=this[Ae+Z];else if(ne<1e3||!A.TYPED_ARRAY_SUPPORT)for(Ae=0;Ae<ne;++Ae)X[Ae+z]=this[Ae+Z];else Uint8Array.prototype.set.call(X,this.subarray(Z,Z+ne),z);return ne},A.prototype.fill=function(X,z,Z,be){if(typeof X=="string"){if(typeof z=="string"?(be=z,z=0,Z=this.length):typeof Z=="string"&&(be=Z,Z=this.length),X.length===1){var ne=X.charCodeAt(0);ne<256&&(X=ne)}if(be!==void 0&&typeof be!="string")throw new TypeError("encoding must be a string");if(typeof be=="string"&&!A.isEncoding(be))throw new TypeError("Unknown encoding: "+be)}else typeof X=="number"&&(X=X&255);if(z<0||this.length<z||this.length<Z)throw new RangeError("Out of range index");if(Z<=z)return this;z=z>>>0,Z=Z===void 0?this.length:Z>>>0,X||(X=0);var Ae;if(typeof X=="number")for(Ae=z;Ae<Z;++Ae)this[Ae]=X;else{var Ne=A.isBuffer(X)?X:Se(new A(X,be).toString()),oe=Ne.length;for(Ae=0;Ae<Z-z;++Ae)this[Ae+z]=Ne[Ae%oe]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function ge(te){if(te=he(te).replace($,""),te.length<2)return"";for(;te.length%4!==0;)te=te+"=";return te}function he(te){return te.trim?te.trim():te.replace(/^\s+|\s+$/g,"")}function Ie(te){return te<16?"0"+te.toString(16):te.toString(16)}function Se(te,X){X=X||Infinity;for(var z,Z=te.length,be=null,ne=[],Ae=0;Ae<Z;++Ae){if(z=te.charCodeAt(Ae),z>55295&&z<57344){if(!be){if(z>56319){(X-=3)>-1&&ne.push(239,191,189);continue}else if(Ae+1===Z){(X-=3)>-1&&ne.push(239,191,189);continue}be=z;continue}if(z<56320){(X-=3)>-1&&ne.push(239,191,189),be=z;continue}z=(be-55296<<10|z-56320)+65536}else be&&((X-=3)>-1&&ne.push(239,191,189));if(be=null,z<128){if((X-=1)<0)break;ne.push(z)}else if(z<2048){if((X-=2)<0)break;ne.push(z>>6|192,z&63|128)}else if(z<65536){if((X-=3)<0)break;ne.push(z>>12|224,z>>6&63|128,z&63|128)}else if(z<1114112){if((X-=4)<0)break;ne.push(z>>18|240,z>>12&63|128,z>>6&63|128,z&63|128)}else throw new Error("Invalid code point")}return ne}function Le(te){for(var X=[],z=0;z<te.length;++z)X.push(te.charCodeAt(z)&255);return X}function He(te,X){for(var z,Z,be,ne=[],Ae=0;Ae<te.length&&!((X-=2)<0);++Ae)z=te.charCodeAt(Ae),Z=z>>8,be=z%256,ne.push(be),ne.push(Z);return ne}function G(te){return b.toByteArray(ge(te))}function pe(te,X,z,Z){for(var be=0;be<Z&&!(be+z>=X.length||be>=te.length);++be)X[be+z]=te[be];return be}function We(te){return te!==te}}).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,P,d){P.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,P,d){P.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,P,d){/*!
|
|
|
* copy-to - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var w=Array.prototype.slice;P.exports=A;function A(m,v){if(!(this instanceof A))return new A(m,v);this.src=m,this._withAccess=v}A.prototype.withAccess=function(m){return this._withAccess=m!==!1,this},A.prototype.pick=function(m){return Array.isArray(m)||(m=w.call(arguments)),m.length&&(this.keys=m),this},A.prototype.to=function(m){if(m=m||{},!this.src)return m;var v=this.keys||Object.keys(this.src);if(!this._withAccess){for(var p=0;p<v.length;p++){if(s=v[p],m[s]!==void 0)continue;m[s]=this.src[s]}return m}for(var p=0;p<v.length;p++){var s=v[p];if(!b(m,s))continue;var u=this.src.__lookupGetter__(s),o=this.src.__lookupSetter__(s);u&&m.__defineGetter__(s,u),o&&m.__defineSetter__(s,o),!u&&!o&&(m[s]=this.src[s])}return m},A.prototype.toCover=function(m){for(var v=this.keys||Object.keys(this.src),p=0;p<v.length;p++){var s=v[p];delete m[s];var u=this.src.__lookupGetter__(s),o=this.src.__lookupSetter__(s);u&&m.__defineGetter__(s,u),o&&m.__defineSetter__(s,o),!u&&!o&&(m[s]=this.src[s])}},A.prototype.override=A.prototype.toCover,A.prototype.and=function(m){var v={};return this.to(v),this.src=m,this.to(v),this.src=v,this};function b(m,v){return m[v]===void 0&&m.__lookupGetter__(v)===void 0&&m.__lookupSetter__(v)===void 0}},{}],77:[function(M,P,d){M("../../modules/es6.string.iterator"),M("../../modules/es6.array.from"),P.exports=M("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(M,P,d){var w=M("../../modules/_core"),A=w.JSON||(w.JSON={stringify:JSON.stringify});P.exports=function(m){return A.stringify.apply(A,arguments)}},{"../../modules/_core":99}],79:[function(M,P,d){M("../../modules/es6.object.assign"),P.exports=M("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(M,P,d){M("../../modules/es6.object.create");var w=M("../../modules/_core").Object;P.exports=function(b,m){return w.create(b,m)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(M,P,d){M("../../modules/es6.object.define-property");var w=M("../../modules/_core").Object;P.exports=function(b,m,v){return w.defineProperty(b,m,v)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(M,P,d){M("../../modules/es7.object.entries"),P.exports=M("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(M,P,d){M("../../modules/es6.object.get-own-property-names");var w=M("../../modules/_core").Object;P.exports=function(b){return w.getOwnPropertyNames(b)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(M,P,d){M("../../modules/es6.object.get-prototype-of"),P.exports=M("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(M,P,d){M("../../modules/es6.object.keys"),P.exports=M("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(M,P,d){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"),P.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,P,d){M("../modules/web.immediate"),P.exports=M("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(M,P,d){M("../../modules/es6.string.from-code-point"),P.exports=M("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(M,P,d){M("../../modules/es6.function.has-instance"),P.exports=M("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(M,P,d){M("../../modules/es6.symbol"),M("../../modules/es6.object.to-string"),M("../../modules/es7.symbol.async-iterator"),M("../../modules/es7.symbol.observable"),P.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,P,d){M("../../modules/es6.string.iterator"),M("../../modules/web.dom.iterable"),P.exports=M("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(M,P,d){P.exports=function(w){if(typeof w!="function")throw TypeError(w+" is not a function!");return w}},{}],93:[function(M,P,d){P.exports=function(){}},{}],94:[function(M,P,d){P.exports=function(w,A,b,m){if(!(w instanceof A)||m!==void 0&&m in w)throw TypeError(b+": incorrect invocation!");return w}},{}],95:[function(M,P,d){var w=M("./_is-object");P.exports=function(A){if(!w(A))throw TypeError(A+" is not an object!");return A}},{"./_is-object":119}],96:[function(M,P,d){var w=M("./_to-iobject"),A=M("./_to-length"),b=M("./_to-absolute-index");P.exports=function(m){return function(v,p,s){var u=w(v),o=A(u.length),e=b(s,o),r;if(m&&p!=p){for(;o>e;)if(r=u[e++],r!=r)return!0}else for(;o>e;e++)if((m||e in u)&&u[e]===p)return m||e||0;return!m&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(M,P,d){var w=M("./_cof"),A=M("./_wks")("toStringTag"),b=w(function(){return arguments}())=="Arguments",m=function(p,s){try{return p[s]}catch(u){}};P.exports=function(v){var p,s,u;return v===void 0?"Undefined":v===null?"Null":typeof(s=m(p=Object(v),A))=="string"?s:b?w(p):(u=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":u}},{"./_cof":98,"./_wks":166}],98:[function(M,P,d){var w={}.toString;P.exports=function(A){return w.call(A).slice(8,-1)}},{}],99:[function(M,P,d){var w=P.exports={version:"2.6.11"};typeof __e=="number"&&(__e=w)},{}],100:[function(M,P,d){"use strict";var w=M("./_object-dp"),A=M("./_property-desc");P.exports=function(b,m,v){m in b?w.f(b,m,A(0,v)):b[m]=v}},{"./_object-dp":132,"./_property-desc":146}],101:[function(M,P,d){var w=M("./_a-function");P.exports=function(A,b,m){if(w(A),b===void 0)return A;switch(m){case 1:return function(v){return A.call(b,v)};case 2:return function(v,p){return A.call(b,v,p)};case 3:return function(v,p,s){return A.call(b,v,p,s)}}return function(){return A.apply(b,arguments)}}},{"./_a-function":92}],102:[function(M,P,d){P.exports=function(w){if(w==null)throw TypeError("Can't call method on "+w);return w}},{}],103:[function(M,P,d){P.exports=!M("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(M,P,d){var w=M("./_is-object"),A=M("./_global").document,b=w(A)&&w(A.createElement);P.exports=function(m){return b?A.createElement(m):{}}},{"./_global":110,"./_is-object":119}],105:[function(M,P,d){P.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(M,P,d){var w=M("./_object-keys"),A=M("./_object-gops"),b=M("./_object-pie");P.exports=function(m){var v=w(m),p=A.f;if(p)for(var s=p(m),u=b.f,o=0,e;s.length>o;)u.call(m,e=s[o++])&&v.push(e);return v}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(M,P,d){var w=M("./_global"),A=M("./_core"),b=M("./_ctx"),m=M("./_hide"),v=M("./_has"),p="prototype",s=function u(o,e,r){var i=o&u.F,n=o&u.G,l=o&u.S,t=o&u.P,a=o&u.B,c=o&u.W,h=n?A:A[e]||(A[e]={}),f=h[p],g=n?w:l?w[e]:(w[e]||{})[p],S,y,E;n&&(r=e);for(S in r){if(y=!i&&g&&g[S]!==void 0,y&&v(h,S))continue;E=y?g[S]:r[S],h[S]=n&&typeof g[S]!="function"?r[S]:a&&y?b(E,w):c&&g[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"?b(Function.call,E):E,t&&((h.virtual||(h.virtual={}))[S]=E,o&u.R&&f&&!f[S]&&m(f,S,E))}};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,P.exports=s},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(M,P,d){P.exports=function(w){try{return!!w()}catch(A){return!0}}},{}],109:[function(M,P,d){var w=M("./_ctx"),A=M("./_iter-call"),b=M("./_is-array-iter"),m=M("./_an-object"),v=M("./_to-length"),p=M("./core.get-iterator-method"),s={},u={},d=P.exports=function(o,e,r,i,n){var l=n?function(){return o}:p(o),t=w(r,i,e?2:1),a=0,c,h,f,g;if(typeof l!="function")throw TypeError(o+" is not iterable!");if(b(l)){for(c=v(o.length);c>a;a++)if(g=e?t(m(h=o[a])[0],h[1]):t(o[a]),g===s||g===u)return g}else for(f=l.call(o);!(h=f.next()).done;)if(g=A(f,t,h.value,e),g===s||g===u)return g};d.BREAK=s,d.RETURN=u},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(M,P,d){var w=P.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,P,d){var w={}.hasOwnProperty;P.exports=function(A,b){return w.call(A,b)}},{}],112:[function(M,P,d){var w=M("./_object-dp"),A=M("./_property-desc");P.exports=M("./_descriptors")?function(b,m,v){return w.f(b,m,A(1,v))}:function(b,m,v){return b[m]=v,b}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(M,P,d){var w=M("./_global").document;P.exports=w&&w.documentElement},{"./_global":110}],114:[function(M,P,d){P.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,P,d){P.exports=function(w,A,b){var m=b===void 0;switch(A.length){case 0:return m?w():w.call(b);case 1:return m?w(A[0]):w.call(b,A[0]);case 2:return m?w(A[0],A[1]):w.call(b,A[0],A[1]);case 3:return m?w(A[0],A[1],A[2]):w.call(b,A[0],A[1],A[2]);case 4:return m?w(A[0],A[1],A[2],A[3]):w.call(b,A[0],A[1],A[2],A[3])}return w.apply(b,A)}},{}],116:[function(M,P,d){var w=M("./_cof");P.exports=Object("z").propertyIsEnumerable(0)?Object:function(A){return w(A)=="String"?A.split(""):Object(A)}},{"./_cof":98}],117:[function(M,P,d){var w=M("./_iterators"),A=M("./_wks")("iterator"),b=Array.prototype;P.exports=function(m){return m!==void 0&&(w.Array===m||b[A]===m)}},{"./_iterators":125,"./_wks":166}],118:[function(M,P,d){var w=M("./_cof");P.exports=Array.isArray||function(b){return w(b)=="Array"}},{"./_cof":98}],119:[function(M,P,d){P.exports=function(w){return typeof w=="object"?w!==null:typeof w=="function"}},{}],120:[function(M,P,d){var w=M("./_an-object");P.exports=function(A,b,m,v){try{return v?b(w(m)[0],m[1]):b(m)}catch(s){var p=A.return;throw p!==void 0&&w(p.call(A)),s}}},{"./_an-object":95}],121:[function(M,P,d){"use strict";var w=M("./_object-create"),A=M("./_property-desc"),b=M("./_set-to-string-tag"),m={};M("./_hide")(m,M("./_wks")("iterator"),function(){return this}),P.exports=function(v,p,s){v.prototype=w(m,{next:A(1,s)}),b(v,p+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(M,P,d){"use strict";var w=M("./_library"),A=M("./_export"),b=M("./_redefine"),m=M("./_hide"),v=M("./_iterators"),p=M("./_iter-create"),s=M("./_set-to-string-tag"),u=M("./_object-gpo"),o=M("./_wks")("iterator"),e=!([].keys&&"next"in[].keys()),r="@@iterator",i="keys",n="values",l=function(){return this};P.exports=function(t,a,c,h,f,g,S){p(c,a,h);var y=function(R){if(!e&&R in x)return x[R];switch(R){case i:return function(){return new c(this,R)};case n:return function(){return new c(this,R)}}return function(){return new c(this,R)}},E=a+" Iterator",C=f==n,T=!1,x=t.prototype,_=x[o]||x[r]||f&&x[f],I=_||y(f),L=f?C?y("entries"):I:void 0,D=a=="Array"&&x.entries||_,B,N,k;if(D&&(k=u(D.call(new t)),k!==Object.prototype&&k.next&&(s(k,E,!0),!w&&typeof k[o]!="function"&&m(k,o,l))),C&&_&&_.name!==n&&(T=!0,I=function(){return _.call(this)}),(!w||S)&&(e||T||!x[o])&&m(x,o,I),v[a]=I,v[E]=l,f)if(B={values:C?I:y(n),keys:g?I:y(i),entries:L},S)for(N in B)N in x||b(x,N,B[N]);else A(A.P+A.F*(e||T),a,B);return B}},{"./_export":107,"./_hide":112,"./_iter-create":121,"./_iterators":125,"./_library":126,"./_object-gpo":138,"./_redefine":148,"./_set-to-string-tag":150,"./_wks":166}],123:[function(M,P,d){var w=M("./_wks")("iterator"),A=!1;try{var b=[7][w]();b.return=function(){A=!0},Array.from(b,function(){throw 2})}catch(m){}P.exports=function(m,v){if(!v&&!A)return!1;var p=!1;try{var s=[7],u=s[w]();u.next=function(){return{done:p=!0}},s[w]=function(){return u},m(s)}catch(o){}return p}},{"./_wks":166}],124:[function(M,P,d){P.exports=function(w,A){return{value:A,done:!!w}}},{}],125:[function(M,P,d){P.exports={}},{}],126:[function(M,P,d){P.exports=!0},{}],127:[function(M,P,d){var w=M("./_uid")("meta"),A=M("./_is-object"),b=M("./_has"),m=M("./_object-dp").f,v=0,p=Object.isExtensible||function(){return!0},s=!M("./_fails")(function(){return p(Object.preventExtensions({}))}),u=function(l){m(l,w,{value:{i:"O"+ ++v,w:{}}})},o=function(l,t){if(!A(l))return typeof l=="symbol"?l:(typeof l=="string"?"S":"P")+l;if(!b(l,w)){if(!p(l))return"F";if(!t)return"E";u(l)}return l[w].i},e=function(l,t){if(!b(l,w)){if(!p(l))return!0;if(!t)return!1;u(l)}return l[w].w},r=function(l){return s&&i.NEED&&p(l)&&!b(l,w)&&u(l),l},i=P.exports={KEY:w,NEED:!1,fastKey:o,getWeak:e,onFreeze:r}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(M,P,d){var w=M("./_global"),A=M("./_task").set,b=w.MutationObserver||w.WebKitMutationObserver,m=w.process,v=w.Promise,p=M("./_cof")(m)=="process";P.exports=function(){var s,u,o,e=function(){var t,a;for(p&&(t=m.domain)&&t.exit();s;){a=s.fn,s=s.next;try{a()}catch(c){throw s?o():u=void 0,c}}u=void 0,t&&t.enter()};if(p)o=function(){m.nextTick(e)};else if(b&&!(w.navigator&&w.navigator.standalone)){var r=!0,i=document.createTextNode("");new b(e).observe(i,{characterData:!0}),o=function(){i.data=r=!r}}else if(v&&v.resolve){var n=v.resolve(void 0);o=function(){n.then(e)}}else o=function(){A.call(w,e)};return function(l){var t={fn:l,next:void 0};u&&(u.next=t),s||(s=t,o()),u=t}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(M,P,d){"use strict";var w=M("./_a-function");function A(b){var m,v;this.promise=new b(function(p,s){if(m!==void 0||v!==void 0)throw TypeError("Bad Promise constructor");m=p,v=s}),this.resolve=w(m),this.reject=w(v)}P.exports.f=function(b){return new A(b)}},{"./_a-function":92}],130:[function(M,P,d){"use strict";var w=M("./_descriptors"),A=M("./_object-keys"),b=M("./_object-gops"),m=M("./_object-pie"),v=M("./_to-object"),p=M("./_iobject"),s=Object.assign;P.exports=!s||M("./_fails")(function(){var u={},o={},e=Symbol(),r="abcdefghijklmnopqrst";return u[e]=7,r.split("").forEach(function(i){o[i]=i}),s({},u)[e]!=7||Object.keys(s({},o)).join("")!=r})?function(o,e){for(var r=v(o),i=arguments.length,n=1,l=b.f,t=m.f;i>n;)for(var a=p(arguments[n++]),c=l?A(a).concat(l(a)):A(a),h=c.length,f=0,g;h>f;)g=c[f++],(!w||t.call(a,g))&&(r[g]=a[g]);return r}:s},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(M,P,d){var w=M("./_an-object"),A=M("./_object-dps"),b=M("./_enum-bug-keys"),m=M("./_shared-key")("IE_PROTO"),v=function(){},p="prototype",s=function(){var o=M("./_dom-create")("iframe"),e=b.length,r="<",i=">",n;for(o.style.display="none",M("./_html").appendChild(o),o.src="javascript:",n=o.contentWindow.document,n.open(),n.write(r+"script"+i+"document.F=Object"+r+"/script"+i),n.close(),s=n.F;e--;)delete s[p][b[e]];return s()};P.exports=Object.create||function(o,e){var r;return o!==null?(v[p]=w(o),r=new v,v[p]=null,r[m]=o):r=s(),e===void 0?r:A(r,e)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(M,P,d){var w=M("./_an-object"),A=M("./_ie8-dom-define"),b=M("./_to-primitive"),m=Object.defineProperty;d.f=M("./_descriptors")?Object.defineProperty:function(p,s,u){if(w(p),s=b(s,!0),w(u),A)try{return m(p,s,u)}catch(o){}if("get"in u||"set"in u)throw TypeError("Accessors not supported!");return"value"in u&&(p[s]=u.value),p}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(M,P,d){var w=M("./_object-dp"),A=M("./_an-object"),b=M("./_object-keys");P.exports=M("./_descriptors")?Object.defineProperties:function(v,p){A(v);for(var s=b(p),u=s.length,o=0,e;u>o;)w.f(v,e=s[o++],p[e]);return v}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(M,P,d){var w=M("./_object-pie"),A=M("./_property-desc"),b=M("./_to-iobject"),m=M("./_to-primitive"),v=M("./_has"),p=M("./_ie8-dom-define"),s=Object.getOwnPropertyDescriptor;d.f=M("./_descriptors")?s:function(o,e){if(o=b(o),e=m(e,!0),p)try{return s(o,e)}catch(r){}if(v(o,e))return A(!w.f.call(o,e),o[e])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(M,P,d){var w=M("./_to-iobject"),A=M("./_object-gopn").f,b={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],v=function(s){try{return A(s)}catch(u){return m.slice()}};P.exports.f=function(s){return m&&b.call(s)=="[object Window]"?v(s):A(w(s))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(M,P,d){var w=M("./_object-keys-internal"),A=M("./_enum-bug-keys").concat("length","prototype");d.f=Object.getOwnPropertyNames||function(m){return w(m,A)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(M,P,d){d.f=Object.getOwnPropertySymbols},{}],138:[function(M,P,d){var w=M("./_has"),A=M("./_to-object"),b=M("./_shared-key")("IE_PROTO"),m=Object.prototype;P.exports=Object.getPrototypeOf||function(v){return v=A(v),w(v,b)?v[b]:typeof v.constructor=="function"&&v instanceof v.constructor?v.constructor.prototype:v instanceof Object?m:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(M,P,d){var w=M("./_has"),A=M("./_to-iobject"),b=M("./_array-includes")(!1),m=M("./_shared-key")("IE_PROTO");P.exports=function(v,p){var s=A(v),u=0,o=[],e;for(e in s)e!=m&&(w(s,e)&&o.push(e));for(;p.length>u;)w(s,e=p[u++])&&(~b(o,e)||o.push(e));return o}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(M,P,d){var w=M("./_object-keys-internal"),A=M("./_enum-bug-keys");P.exports=Object.keys||function(m){return w(m,A)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(M,P,d){d.f={}.propertyIsEnumerable},{}],142:[function(M,P,d){var w=M("./_export"),A=M("./_core"),b=M("./_fails");P.exports=function(m,v){var p=(A.Object||{})[m]||Object[m],s={};s[m]=v(p),w(w.S+w.F*b(function(){p(1)}),"Object",s)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(M,P,d){var w=M("./_descriptors"),A=M("./_object-keys"),b=M("./_to-iobject"),m=M("./_object-pie").f;P.exports=function(v){return function(p){for(var s=b(p),u=A(s),o=u.length,e=0,r=[],i;o>e;)i=u[e++],(!w||m.call(s,i))&&r.push(v?[i,s[i]]:s[i]);return r}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(M,P,d){P.exports=function(w){try{return{e:!1,v:w()}}catch(A){return{e:!0,v:A}}}},{}],145:[function(M,P,d){var w=M("./_an-object"),A=M("./_is-object"),b=M("./_new-promise-capability");P.exports=function(m,v){if(w(m),A(v)&&v.constructor===m)return v;var p=b.f(m),s=p.resolve;return s(v),p.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(M,P,d){P.exports=function(w,A){return{enumerable:!(w&1),configurable:!(w&2),writable:!(w&4),value:A}}},{}],147:[function(M,P,d){var w=M("./_hide");P.exports=function(A,b,m){for(var v in b)m&&A[v]?A[v]=b[v]:w(A,v,b[v]);return A}},{"./_hide":112}],148:[function(M,P,d){P.exports=M("./_hide")},{"./_hide":112}],149:[function(M,P,d){"use strict";var w=M("./_global"),A=M("./_core"),b=M("./_object-dp"),m=M("./_descriptors"),v=M("./_wks")("species");P.exports=function(p){var s=typeof A[p]=="function"?A[p]:w[p];m&&s&&!s[v]&&b.f(s,v,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(M,P,d){var w=M("./_object-dp").f,A=M("./_has"),b=M("./_wks")("toStringTag");P.exports=function(m,v,p){m&&!A(m=p?m:m.prototype,b)&&w(m,b,{configurable:!0,value:v})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(M,P,d){var w=M("./_shared")("keys"),A=M("./_uid");P.exports=function(b){return w[b]||(w[b]=A(b))}},{"./_shared":152,"./_uid":162}],152:[function(M,P,d){var w=M("./_core"),A=M("./_global"),b="__core-js_shared__",m=A[b]||(A[b]={});(P.exports=function(v,p){return m[v]||(m[v]=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,P,d){var w=M("./_an-object"),A=M("./_a-function"),b=M("./_wks")("species");P.exports=function(m,v){var p=w(m).constructor,s;return p===void 0||(s=w(p)[b])==null?v:A(s)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(M,P,d){var w=M("./_to-integer"),A=M("./_defined");P.exports=function(b){return function(m,v){var p=String(A(m)),s=w(v),u=p.length,o,e;return s<0||s>=u?b?"":void 0:(o=p.charCodeAt(s),o<55296||o>56319||s+1===u||(e=p.charCodeAt(s+1))<56320||e>57343?b?p.charAt(s):o:b?p.slice(s,s+2):(o-55296<<10)+(e-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(M,P,d){var w=M("./_ctx"),A=M("./_invoke"),b=M("./_html"),m=M("./_dom-create"),v=M("./_global"),p=v.process,s=v.setImmediate,u=v.clearImmediate,o=v.MessageChannel,e=v.Dispatch,r=0,i={},n="onreadystatechange",l,t,a,c=function(){var g=+this;if(i.hasOwnProperty(g)){var S=i[g];delete i[g],S()}},h=function(g){c.call(g.data)};(!s||!u)&&(s=function(g){for(var S=[],y=1;arguments.length>y;)S.push(arguments[y++]);return i[++r]=function(){A(typeof g=="function"?g:Function(g),S)},l(r),r},u=function(g){delete i[g]},M("./_cof")(p)=="process"?l=function(g){p.nextTick(w(c,g,1))}:e&&e.now?l=function(g){e.now(w(c,g,1))}:o?(t=new o,a=t.port2,t.port1.onmessage=h,l=w(a.postMessage,a,1)):v.addEventListener&&typeof postMessage=="function"&&!v.importScripts?(l=function(g){v.postMessage(g+"","*")},v.addEventListener("message",h,!1)):n in m("script")?l=function(g){b.appendChild(m("script"))[n]=function(){b.removeChild(this),c.call(g)}}:l=function(g){setTimeout(w(c,g,1),0)}),P.exports={set:s,clear:u}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(M,P,d){var w=M("./_to-integer"),A=Math.max,b=Math.min;P.exports=function(m,v){return m=w(m),m<0?A(m+v,0):b(m,v)}},{"./_to-integer":157}],157:[function(M,P,d){var w=Math.ceil,A=Math.floor;P.exports=function(b){return isNaN(b=+b)?0:(b>0?A:w)(b)}},{}],158:[function(M,P,d){var w=M("./_iobject"),A=M("./_defined");P.exports=function(b){return w(A(b))}},{"./_defined":102,"./_iobject":116}],159:[function(M,P,d){var w=M("./_to-integer"),A=Math.min;P.exports=function(b){return b>0?A(w(b),9007199254740991):0}},{"./_to-integer":157}],160:[function(M,P,d){var w=M("./_defined");P.exports=function(A){return Object(w(A))}},{"./_defined":102}],161:[function(M,P,d){var w=M("./_is-object");P.exports=function(A,b){if(!w(A))return A;var m,v;if(b&&typeof(m=A.toString)=="function"&&!w(v=m.call(A)))return v;if(typeof(m=A.valueOf)=="function"&&!w(v=m.call(A)))return v;if(!b&&typeof(m=A.toString)=="function"&&!w(v=m.call(A)))return v;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(M,P,d){var w=0,A=Math.random();P.exports=function(b){return"Symbol(".concat(b===void 0?"":b,")_",(++w+A).toString(36))}},{}],163:[function(M,P,d){var w=M("./_global"),A=w.navigator;P.exports=A&&A.userAgent||""},{"./_global":110}],164:[function(M,P,d){var w=M("./_global"),A=M("./_core"),b=M("./_library"),m=M("./_wks-ext"),v=M("./_object-dp").f;P.exports=function(p){var s=A.Symbol||(A.Symbol=b?{}:w.Symbol||{});p.charAt(0)!="_"&&!(p in s)&&v(s,p,{value:m.f(p)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(M,P,d){d.f=M("./_wks")},{"./_wks":166}],166:[function(M,P,d){var w=M("./_shared")("wks"),A=M("./_uid"),b=M("./_global").Symbol,m=typeof b=="function",v=P.exports=function(p){return w[p]||(w[p]=m&&b[p]||(m?b:A)("Symbol."+p))};v.store=w},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(M,P,d){var w=M("./_classof"),A=M("./_wks")("iterator"),b=M("./_iterators");P.exports=M("./_core").getIteratorMethod=function(m){if(m!=null)return m[A]||m["@@iterator"]||b[w(m)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(M,P,d){"use strict";var w=M("./_ctx"),A=M("./_export"),b=M("./_to-object"),m=M("./_iter-call"),v=M("./_is-array-iter"),p=M("./_to-length"),s=M("./_create-property"),u=M("./core.get-iterator-method");A(A.S+A.F*!M("./_iter-detect")(function(o){Array.from(o)}),"Array",{from:function(e){var r=b(e),i=typeof this=="function"?this:Array,n=arguments.length,l=n>1?arguments[1]:void 0,t=l!==void 0,a=0,c=u(r),h,f,g,S;if(t&&(l=w(l,n>2?arguments[2]:void 0,2)),c!=null&&!(i==Array&&v(c)))for(S=c.call(r),f=new i;!(g=S.next()).done;a++)s(f,a,t?m(S,l,[g.value,a],!0):g.value);else for(h=p(r.length),f=new i(h);h>a;a++)s(f,a,t?l(r[a],a):r[a]);return f.length=a,f}})},{"./_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,P,d){"use strict";var w=M("./_add-to-unscopables"),A=M("./_iter-step"),b=M("./_iterators"),m=M("./_to-iobject");P.exports=M("./_iter-define")(Array,"Array",function(v,p){this._t=m(v),this._i=0,this._k=p},function(){var v=this._t,p=this._k,s=this._i++;return!v||s>=v.length?(this._t=void 0,A(1)):p=="keys"?A(0,s):p=="values"?A(0,v[s]):A(0,[s,v[s]])},"values"),b.Arguments=b.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,P,d){"use strict";var w=M("./_is-object"),A=M("./_object-gpo"),b=M("./_wks")("hasInstance"),m=Function.prototype;b in m||M("./_object-dp").f(m,b,{value:function(p){if(typeof this!="function"||!w(p))return!1;if(!w(this.prototype))return p instanceof this;for(;p=A(p);)if(this.prototype===p)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(M,P,d){var w=M("./_export");w(w.S+w.F,"Object",{assign:M("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(M,P,d){var w=M("./_export");w(w.S,"Object",{create:M("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(M,P,d){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,P,d){M("./_object-sap")("getOwnPropertyNames",function(){return M("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(M,P,d){var w=M("./_to-object"),A=M("./_object-gpo");M("./_object-sap")("getPrototypeOf",function(){return function(m){return A(w(m))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(M,P,d){var w=M("./_to-object"),A=M("./_object-keys");M("./_object-sap")("keys",function(){return function(m){return A(w(m))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(M,P,d){arguments[4][71][0].apply(d,arguments)},{dup:71}],178:[function(M,P,d){"use strict";var w=M("./_library"),A=M("./_global"),b=M("./_ctx"),m=M("./_classof"),v=M("./_export"),p=M("./_is-object"),s=M("./_a-function"),u=M("./_an-instance"),o=M("./_for-of"),e=M("./_species-constructor"),r=M("./_task").set,i=M("./_microtask")(),n=M("./_new-promise-capability"),l=M("./_perform"),t=M("./_user-agent"),a=M("./_promise-resolve"),c="Promise",h=A.TypeError,f=A.process,g=f&&f.versions,S=g&&g.v8||"",y=A[c],E=m(f)=="process",C=function(){},T,x,_,I,L=x=n.f,D=!!function(){try{var K=y.resolve(1),U=(K.constructor={})[M("./_wks")("species")]=function(Q){Q(C,C)};return(E||typeof PromiseRejectionEvent=="function")&&K.then(C)instanceof U&&S.indexOf("6.6")!==0&&t.indexOf("Chrome/66")===-1}catch(Q){}}(),B=function(U){var Q;return p(U)&&typeof(Q=U.then)=="function"?Q:!1},N=function(U,Q){if(U._n)return;U._n=!0;var V=U._c;i(function(){for(var J=U._v,ae=U._s==1,se=0,$=function(he){var Ie=ae?he.ok:he.fail,Se=he.resolve,Le=he.reject,He=he.domain,G,pe,We;try{Ie?(ae||(U._h==2&&R(U),U._h=1),Ie===!0?G=J:(He&&He.enter(),G=Ie(J),He&&(He.exit(),We=!0)),G===he.promise?Le(h("Promise-chain cycle")):(pe=B(G))?pe.call(G,Se,Le):Se(G)):Le(J)}catch(te){He&&!We&&He.exit(),Le(te)}};V.length>se;)$(V[se++]);U._c=[],U._n=!1,Q&&!U._h&&k(U)})},k=function(U){r.call(A,function(){var Q=U._v,V=W(U),J,ae,se;if(V&&(J=l(function(){E?f.emit("unhandledRejection",Q,U):(ae=A.onunhandledrejection)?ae({promise:U,reason:Q}):(se=A.console)&&se.error&&se.error("Unhandled promise rejection",Q)}),U._h=E||W(U)?2:1),U._a=void 0,V&&J.e)throw J.v})},W=function(U){return U._h!==1&&(U._a||U._c).length===0},R=function(U){r.call(A,function(){var Q;E?f.emit("rejectionHandled",U):(Q=A.onrejectionhandled)&&Q({promise:U,reason:U._v})})},j=function(U){var Q=this;if(Q._d)return;Q._d=!0,Q=Q._w||Q,Q._v=U,Q._s=2,Q._a||(Q._a=Q._c.slice()),N(Q,!0)},H=function K(U){var Q=this,V;if(Q._d)return;Q._d=!0,Q=Q._w||Q;try{if(Q===U)throw h("Promise can't be resolved itself");(V=B(U))?i(function(){var J={_w:Q,_d:!1};try{V.call(U,b(K,J,1),b(j,J,1))}catch(ae){j.call(J,ae)}}):(Q._v=U,Q._s=1,N(Q,!1))}catch(J){j.call({_w:Q,_d:!1},J)}};D||(y=function(U){u(this,y,c,"_h"),s(U),T.call(this);try{U(b(H,this,1),b(j,this,1))}catch(Q){j.call(this,Q)}},T=function(U){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},T.prototype=M("./_redefine-all")(y.prototype,{then:function(U,Q){var V=L(e(this,y));return V.ok=typeof U=="function"?U:!0,V.fail=typeof Q=="function"&&Q,V.domain=E?f.domain:void 0,this._c.push(V),this._a&&this._a.push(V),this._s&&N(this,!1),V.promise},catch:function(U){return this.then(void 0,U)}}),_=function(){var U=new T;this.promise=U,this.resolve=b(H,U,1),this.reject=b(j,U,1)},n.f=L=function(U){return U===y||U===I?new _(U):x(U)}),v(v.G+v.W+v.F*!D,{Promise:y}),M("./_set-to-string-tag")(y,c),M("./_set-species")(c),I=M("./_core")[c],v(v.S+v.F*!D,c,{reject:function(U){var Q=L(this),V=Q.reject;return V(U),Q.promise}}),v(v.S+v.F*(w||!D),c,{resolve:function(U){return a(w&&this===I?y:this,U)}}),v(v.S+v.F*!(D&&M("./_iter-detect")(function(K){y.all(K).catch(C)})),c,{all:function(U){var Q=this,V=L(Q),J=V.resolve,ae=V.reject,se=l(function(){var $=[],ge=0,he=1;o(U,!1,function(Ie){var Se=ge++,Le=!1;$.push(void 0),he++,Q.resolve(Ie).then(function(He){if(Le)return;Le=!0,$[Se]=He,--he||J($)},ae)}),--he||J($)});return se.e&&ae(se.v),V.promise},race:function(U){var Q=this,V=L(Q),J=V.reject,ae=l(function(){o(U,!1,function(se){Q.resolve(se).then(V.resolve,J)})});return ae.e&&J(ae.v),V.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,P,d){var w=M("./_export"),A=M("./_to-absolute-index"),b=String.fromCharCode,m=String.fromCodePoint;w(w.S+w.F*(!!m&&m.length!=1),"String",{fromCodePoint:function(p){for(var s=[],u=arguments.length,o=0,e;u>o;){if(e=+arguments[o++],A(e,1114111)!==e)throw RangeError(e+" is not a valid code point");s.push(e<65536?b(e):b(((e-=65536)>>10)+55296,e%1024+56320))}return s.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(M,P,d){"use strict";var w=M("./_string-at")(!0);M("./_iter-define")(String,"String",function(A){this._t=String(A),this._i=0},function(){var A=this._t,b=this._i,m;return b>=A.length?{value:void 0,done:!0}:(m=w(A,b),this._i+=m.length,{value:m,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(M,P,d){"use strict";var w=M("./_global"),A=M("./_has"),b=M("./_descriptors"),m=M("./_export"),v=M("./_redefine"),p=M("./_meta").KEY,s=M("./_fails"),u=M("./_shared"),o=M("./_set-to-string-tag"),e=M("./_uid"),r=M("./_wks"),i=M("./_wks-ext"),n=M("./_wks-define"),l=M("./_enum-keys"),t=M("./_is-array"),a=M("./_an-object"),c=M("./_is-object"),h=M("./_to-object"),f=M("./_to-iobject"),g=M("./_to-primitive"),S=M("./_property-desc"),y=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,D=E.f,B=w.Symbol,N=w.JSON,k=N&&N.stringify,W="prototype",R=r("_hidden"),j=r("toPrimitive"),H={}.propertyIsEnumerable,K=u("symbol-registry"),U=u("symbols"),Q=u("op-symbols"),V=Object[W],J=typeof B=="function"&&!!T.f,ae=w.QObject,se=!ae||!ae[W]||!ae[W].findChild,$=b&&s(function(){return y(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(ne,Ae,Ne){var oe=I(V,Ae);oe&&delete V[Ae],L(ne,Ae,Ne),oe&&ne!==V&&L(V,Ae,oe)}:L,ge=function(Ae){var Ne=U[Ae]=y(B[W]);return Ne._k=Ae,Ne},he=J&&typeof B.iterator=="symbol"?function(ne){return typeof ne=="symbol"}:function(ne){return ne instanceof B},Ie=function(Ae,Ne,oe){return Ae===V&&Ie(Q,Ne,oe),a(Ae),Ne=g(Ne,!0),a(oe),A(U,Ne)?(oe.enumerable?(A(Ae,R)&&Ae[R][Ne]&&(Ae[R][Ne]=!1),oe=y(oe,{enumerable:S(0,!1)})):(A(Ae,R)||L(Ae,R,S(1,{})),Ae[R][Ne]=!0),$(Ae,Ne,oe)):L(Ae,Ne,oe)},Se=function(Ae,Ne){a(Ae);for(var oe=l(Ne=f(Ne)),de=0,xe=oe.length,Pe;xe>de;)Ie(Ae,Pe=oe[de++],Ne[Pe]);return Ae},Le=function(Ae,Ne){return Ne===void 0?y(Ae):Se(y(Ae),Ne)},He=function(Ae){var Ne=H.call(this,Ae=g(Ae,!0));return this===V&&A(U,Ae)&&!A(Q,Ae)?!1:Ne||!A(this,Ae)||!A(U,Ae)||A(this,R)&&this[R][Ae]?Ne:!0},G=function(Ae,Ne){if(Ae=f(Ae),Ne=g(Ne,!0),Ae===V&&A(U,Ne)&&!A(Q,Ne))return;var oe=I(Ae,Ne);return oe&&A(U,Ne)&&!(A(Ae,R)&&Ae[R][Ne])&&(oe.enumerable=!0),oe},pe=function(Ae){for(var Ne=D(f(Ae)),oe=[],de=0,xe;Ne.length>de;)!A(U,xe=Ne[de++])&&xe!=R&&xe!=p&&oe.push(xe);return oe},We=function(Ae){for(var Ne=Ae===V,oe=D(Ne?Q:f(Ae)),de=[],xe=0,Pe;oe.length>xe;)A(U,Pe=oe[xe++])&&(Ne?A(V,Pe):!0)&&de.push(U[Pe]);return de};J||(B=function(){if(this instanceof B)throw TypeError("Symbol is not a constructor!");var Ae=e(arguments.length>0?arguments[0]:void 0),Ne=function oe(de){this===V&&oe.call(Q,de),A(this,R)&&A(this[R],Ae)&&(this[R][Ae]=!1),$(this,Ae,S(1,de))};return b&&se&&$(V,Ae,{configurable:!0,set:Ne}),ge(Ae)},v(B[W],"toString",function(){return this._k}),C.f=G,x.f=Ie,M("./_object-gopn").f=E.f=pe,M("./_object-pie").f=He,T.f=We,b&&!M("./_library")&&v(V,"propertyIsEnumerable",He,!0),i.f=function(ne){return ge(r(ne))}),m(m.G+m.W+m.F*!J,{Symbol:B});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),X=0;te.length>X;)r(te[X++]);for(var z=_(r.store),Z=0;z.length>Z;)n(z[Z++]);m(m.S+m.F*!J,"Symbol",{for:function(Ae){return A(K,Ae+="")?K[Ae]:K[Ae]=B(Ae)},keyFor:function(Ae){if(!he(Ae))throw TypeError(Ae+" is not a symbol!");for(var Ne in K)if(K[Ne]===Ae)return Ne},useSetter:function(){se=!0},useSimple:function(){se=!1}}),m(m.S+m.F*!J,"Object",{create:Le,defineProperty:Ie,defineProperties:Se,getOwnPropertyDescriptor:G,getOwnPropertyNames:pe,getOwnPropertySymbols:We});var be=s(function(){T.f(1)});m(m.S+m.F*be,"Object",{getOwnPropertySymbols:function(Ae){return T.f(h(Ae))}}),N&&m(m.S+m.F*(!J||s(function(){var ne=B();return k([ne])!="[null]"||k({a:ne})!="{}"||k(Object(ne))!="{}"})),"JSON",{stringify:function(Ae){for(var Ne=[Ae],oe=1,de,xe;arguments.length>oe;)Ne.push(arguments[oe++]);return xe=de=Ne[1],!c(de)&&Ae===void 0||he(Ae)?void 0:(t(de)||(de=function(tt,Je){if(typeof xe=="function"&&(Je=xe.call(this,tt,Je)),!he(Je))return Je}),Ne[1]=de,k.apply(N,Ne))}}),B[W][j]||M("./_hide")(B[W],j,B[W].valueOf),o(B,"Symbol"),o(Math,"Math",!0),o(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,P,d){var w=M("./_export"),A=M("./_object-to-array")(!0);w(w.S,"Object",{entries:function(m){return A(m)}})},{"./_export":107,"./_object-to-array":143}],183:[function(M,P,d){"use strict";var w=M("./_export"),A=M("./_core"),b=M("./_global"),m=M("./_species-constructor"),v=M("./_promise-resolve");w(w.P+w.R,"Promise",{finally:function(s){var u=m(this,A.Promise||b.Promise),o=typeof s=="function";return this.then(o?function(e){return v(u,s()).then(function(){return e})}:s,o?function(e){return v(u,s()).then(function(){throw e})}:s)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(M,P,d){"use strict";var w=M("./_export"),A=M("./_new-promise-capability"),b=M("./_perform");w(w.S,"Promise",{try:function(v){var p=A.f(this),s=b(v);return(s.e?p.reject:p.resolve)(s.v),p.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(M,P,d){M("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(M,P,d){M("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(M,P,d){M("./es6.array.iterator");for(var w=M("./_global"),A=M("./_hide"),b=M("./_iterators"),m=M("./_wks")("toStringTag"),v="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),p=0;p<v.length;p++){var s=v[p],u=w[s],o=u&&u.prototype;o&&!o[m]&&A(o,m,s),b[s]=b.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(M,P,d){var w=M("./_export"),A=M("./_task");w(w.G+w.B,{setImmediate:A.set,clearImmediate:A.clear})},{"./_export":107,"./_task":155}],189:[function(M,P,d){(function(w){"use strict";var A=M("babel-runtime/helpers/typeof"),b=m(A);function m(g){return g&&g.__esModule?g:{default:g}}function v(g){return Array.isArray?Array.isArray(g):f(g)==="[object Array]"}d.isArray=v;function p(g){return typeof g=="boolean"}d.isBoolean=p;function s(g){return g===null}d.isNull=s;function u(g){return g==null}d.isNullOrUndefined=u;function o(g){return typeof g=="number"}d.isNumber=o;function e(g){return typeof g=="string"}d.isString=e;function r(g){return(typeof g=="undefined"?"undefined":(0,b.default)(g))==="symbol"}d.isSymbol=r;function i(g){return g===void 0}d.isUndefined=i;function n(g){return f(g)==="[object RegExp]"}d.isRegExp=n;function l(g){return(typeof g=="undefined"?"undefined":(0,b.default)(g))==="object"&&g!==null}d.isObject=l;function t(g){return f(g)==="[object Date]"}d.isDate=t;function a(g){return f(g)==="[object Error]"||g instanceof Error}d.isError=a;function c(g){return typeof g=="function"}d.isFunction=c;function h(g){return g===null||typeof g=="boolean"||typeof g=="number"||typeof g=="string"||(typeof g=="undefined"?"undefined":(0,b.default)(g))==="symbol"||typeof g=="undefined"}d.isPrimitive=h,d.isBuffer=w.isBuffer;function f(g){return Object.prototype.toString.call(g)}}).call(this,{isBuffer:M("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(M,P,d){"use strict";var w=M("babel-runtime/helpers/typeof"),A=b(w);function b(m){return m&&m.__esModule?m:{default:m}}(function(m){"use strict";var v=function(){var e=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,r=/\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(n,l,t,a){if(arguments.length===1&&o(n)==="string"&&!/\d/.test(n)&&(l=n,n=void 0),n=n||new Date,n instanceof Date||(n=new Date(n)),isNaN(n))throw TypeError("Invalid date");l=String(v.masks[l]||l||v.masks.default);var c=l.slice(0,4);(c==="UTC:"||c==="GMT:")&&(l=l.slice(4),t=!0,c==="GMT:"&&(a=!0));var h=t?"getUTC":"get",f=n[h+"Date"](),g=n[h+"Day"](),S=n[h+"Month"](),y=n[h+"FullYear"](),E=n[h+"Hours"](),C=n[h+"Minutes"](),T=n[h+"Seconds"](),x=n[h+"Milliseconds"](),_=t?0:n.getTimezoneOffset(),I=s(n),L=u(n),D={d:f,dd:p(f),ddd:v.i18n.dayNames[g],dddd:v.i18n.dayNames[g+7],m:S+1,mm:p(S+1),mmm:v.i18n.monthNames[S],mmmm:v.i18n.monthNames[S+12],yy:String(y).slice(2),yyyy:y,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:a?"GMT":t?"UTC":(String(n).match(r)||[""]).pop().replace(i,""),o:(_>0?"-":"+")+p(Math.floor(Math.abs(_)/60)*100+Math.abs(_)%60,4),S:["th","st","nd","rd"][f%10>3?0:(f%100-f%10!=10)*f%10],W:I,N:L};return l.replace(e,function(B){return B in D?D[B]:B.slice(1,B.length-1)})}}();v.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},v.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function p(e,r){for(e=String(e),r=r||2;e.length<r;)e="0"+e;return e}function s(e){var r=new Date(e.getFullYear(),e.getMonth(),e.getDate());r.setDate(r.getDate()-(r.getDay()+6)%7+3);var i=new Date(r.getFullYear(),0,4);i.setDate(i.getDate()-(i.getDay()+6)%7+3);var n=r.getTimezoneOffset()-i.getTimezoneOffset();r.setHours(r.getHours()-n);var l=(r-i)/(864e5*7);return 1+Math.floor(l)}function u(e){var r=e.getDay();return r===0&&(r=7),r}function o(e){return e===null?"null":e===void 0?"undefined":(typeof e=="undefined"?"undefined":(0,A.default)(e))!=="object"?typeof e=="undefined"?"undefined":(0,A.default)(e):Array.isArray(e)?"array":{}.toString.call(e).slice(8,-1).toLowerCase()}typeof define=="function"&&define.amd?define(function(){return v}):(typeof d=="undefined"?"undefined":(0,A.default)(d))==="object"?P.exports=v:m.dateFormat=v})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(M,P,d){/*!
|
|
|
* 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=/["'&<>]/;P.exports=A;function A(b){var m=""+b,v=w.exec(m);if(!v)return m;var p,s="",u=0,o=0;for(u=v.index;u<m.length;u++){switch(m.charCodeAt(u)){case 34:p=""";break;case 38:p="&";break;case 39:p="'";break;case 60:p="<";break;case 62:p=">";break;default:continue}o!==u&&(s+=m.substring(o,u)),o=u+1,s+=p}return o!==u?s+m.substring(o,u):s}},{}],192:[function(M,P,d){function w(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}P.exports=w,w.EventEmitter=w,w.prototype._events=void 0,w.prototype._maxListeners=void 0,w.defaultMaxListeners=10,w.prototype.setMaxListeners=function(p){if(!b(p)||p<0||isNaN(p))throw TypeError("n must be a positive number");return this._maxListeners=p,this},w.prototype.emit=function(p){var s,u,o,e,r,i;if(this._events||(this._events={}),p==="error"&&(!this._events.error||m(this._events.error)&&!this._events.error.length)){if(s=arguments[1],s instanceof Error)throw s;var n=new Error('Uncaught, unspecified "error" event. ('+s+")");throw n.context=s,n}if(u=this._events[p],v(u))return!1;if(A(u))switch(arguments.length){case 1:u.call(this);break;case 2:u.call(this,arguments[1]);break;case 3:u.call(this,arguments[1],arguments[2]);break;default:e=Array.prototype.slice.call(arguments,1),u.apply(this,e)}else if(m(u))for(e=Array.prototype.slice.call(arguments,1),i=u.slice(),o=i.length,r=0;r<o;r++)i[r].apply(this,e);return!0},w.prototype.addListener=function(p,s){var u;if(!A(s))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",p,A(s.listener)?s.listener:s),this._events[p]?m(this._events[p])?this._events[p].push(s):this._events[p]=[this._events[p],s]:this._events[p]=s,m(this._events[p])&&!this._events[p].warned&&(v(this._maxListeners)?u=w.defaultMaxListeners:u=this._maxListeners,u&&u>0&&this._events[p].length>u&&(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,s){if(!A(s))throw TypeError("listener must be a function");var u=!1;function o(){this.removeListener(p,o),u||(u=!0,s.apply(this,arguments))}return o.listener=s,this.on(p,o),this},w.prototype.removeListener=function(p,s){var u,o,e,r;if(!A(s))throw TypeError("listener must be a function");if(!this._events||!this._events[p])return this;if(u=this._events[p],e=u.length,o=-1,u===s||A(u.listener)&&u.listener===s)delete this._events[p],this._events.removeListener&&this.emit("removeListener",p,s);else if(m(u)){for(r=e;r-- >0;)if(u[r]===s||u[r].listener&&u[r].listener===s){o=r;break}if(o<0)return this;u.length===1?(u.length=0,delete this._events[p]):u.splice(o,1),this._events.removeListener&&this.emit("removeListener",p,s)}return this},w.prototype.removeAllListeners=function(p){var s,u;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(s in this._events){if(s==="removeListener")continue;this.removeAllListeners(s)}return this.removeAllListeners("removeListener"),this._events={},this}if(u=this._events[p],A(u))this.removeListener(p,u);else if(u)for(;u.length;)this.removeListener(p,u[u.length-1]);return delete this._events[p],this},w.prototype.listeners=function(p){var s;return!this._events||!this._events[p]?s=[]:A(this._events[p])?s=[this._events[p]]:s=this._events[p].slice(),s},w.prototype.listenerCount=function(p){if(this._events){var s=this._events[p];if(A(s))return 1;if(s)return s.length}return 0},w.listenerCount=function(p,s){return p.listenerCount(s)};function A(p){return typeof p=="function"}function b(p){return typeof p=="number"}function m(p){return typeof p=="object"&&p!==null}function v(p){return p===void 0}},{}],193:[function(M,P,d){var w=M("http"),A=P.exports;for(var b in w)w.hasOwnProperty(b)&&(A[b]=w[b]);A.request=function(m,v){return m||(m={}),m.scheme="https",m.protocol="https:",w.request.call(this,m,v)}},{http:231}],194:[function(M,P,d){/*!
|
|
|
* humanize-ms - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var w=M("util"),A=M("ms");P.exports=function(b){if(typeof b=="number")return b;var m=A(b);if(m===void 0){var v=new Error(w.format("humanize-ms(%j) result undefined",b));console.warn(v.stack)}return m}},{ms:204,util:243}],195:[function(M,P,d){d.read=function(w,A,b,m,v){var p,s,u=v*8-m-1,o=(1<<u)-1,e=o>>1,r=-7,i=b?v-1:0,n=b?-1:1,l=w[A+i];for(i+=n,p=l&(1<<-r)-1,l>>=-r,r+=u;r>0;p=p*256+w[A+i],i+=n,r-=8);for(s=p&(1<<-r)-1,p>>=-r,r+=m;r>0;s=s*256+w[A+i],i+=n,r-=8);if(p===0)p=1-e;else{if(p===o)return s?NaN:(l?-1:1)*Infinity;s=s+Math.pow(2,m),p=p-e}return(l?-1:1)*s*Math.pow(2,p-m)},d.write=function(w,A,b,m,v,p){var s,u,o,e=p*8-v-1,r=(1<<e)-1,i=r>>1,n=v===23?Math.pow(2,-24)-Math.pow(2,-77):0,l=m?0:p-1,t=m?1:-1,a=A<0||A===0&&1/A<0?1:0;for(A=Math.abs(A),isNaN(A)||A===Infinity?(u=isNaN(A)?1:0,s=r):(s=Math.floor(Math.log(A)/Math.LN2),A*(o=Math.pow(2,-s))<1&&(s--,o*=2),s+i>=1?A+=n/o:A+=n*Math.pow(2,1-i),A*o>=2&&(s++,o/=2),s+i>=r?(u=0,s=r):s+i>=1?(u=(A*o-1)*Math.pow(2,v),s=s+i):(u=A*Math.pow(2,i-1)*Math.pow(2,v),s=0));v>=8;w[b+l]=u&255,l+=t,u/=256,v-=8);for(s=s<<v|u,e+=v;e>0;w[b+l]=s&255,l+=t,s/=256,e-=8);w[b+l-t]|=a*128}},{}],196:[function(M,P,d){typeof Object.create=="function"?P.exports=function(A,b){b&&(A.super_=b,A.prototype=Object.create(b.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}))}:P.exports=function(A,b){if(b){A.super_=b;var m=function(){};m.prototype=b.prototype,A.prototype=new m,A.prototype.constructor=A}}},{}],197:[function(M,P,d){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/P.exports=function(b){return b!=null&&(w(b)||A(b)||!!b._isBuffer)};function w(b){return!!b.constructor&&typeof b.constructor.isBuffer=="function"&&b.constructor.isBuffer(b)}function A(b){return typeof b.readFloatLE=="function"&&typeof b.slice=="function"&&w(b.slice(0,0))}},{}],198:[function(M,P,d){var w={}.toString;P.exports=Array.isArray||function(A){return w.call(A)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(M,P){typeof exports=="object"&&typeof module!="undefined"?module.exports=P(M):typeof define=="function"&&define.amd?define(P):P(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 P={},d=0,w=M.length;d<w;d++)P[M.charAt(d)]=d;return P}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(P){if(P.length<2){var d=P.charCodeAt(0);return d<128?P:d<2048?fromCharCode(192|d>>>6)+fromCharCode(128|d&63):fromCharCode(224|d>>>12&15)+fromCharCode(128|d>>>6&63)+fromCharCode(128|d&63)}else{var d=65536+(P.charCodeAt(0)-55296)*1024+(P.charCodeAt(1)-56320);return fromCharCode(240|d>>>18&7)+fromCharCode(128|d>>>12&63)+fromCharCode(128|d>>>6&63)+fromCharCode(128|d&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(P){return P.replace(re_utob,cb_utob)},cb_encode=function(P){var d=[0,2,1][P.length%3],w=P.charCodeAt(0)<<16|(P.length>1?P.charCodeAt(1):0)<<8|(P.length>2?P.charCodeAt(2):0),A=[b64chars.charAt(w>>>18),b64chars.charAt(w>>>12&63),d>=2?"=":b64chars.charAt(w>>>6&63),d>=1?"=":b64chars.charAt(w&63)];return A.join("")},btoa=global.btoa?function(M){return global.btoa(M)}:function(M){return M.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(P){var d=Object.prototype.toString.call(P)==="[object Uint8Array]";return d?P.toString("base64"):btoa(utob(String(P)))},encode=function(P,d){return d?_encode(String(P)).replace(/[+\/]/g,function(w){return w=="+"?"-":"_"}).replace(/=/g,""):_encode(P)},encodeURI=function(P){return encode(P,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(P){switch(P.length){case 4:var d=(7&P.charCodeAt(0))<<18|(63&P.charCodeAt(1))<<12|(63&P.charCodeAt(2))<<6|63&P.charCodeAt(3),w=d-65536;return fromCharCode((w>>>10)+55296)+fromCharCode((w&1023)+56320);case 3:return fromCharCode((15&P.charCodeAt(0))<<12|(63&P.charCodeAt(1))<<6|63&P.charCodeAt(2));default:return fromCharCode((31&P.charCodeAt(0))<<6|63&P.charCodeAt(1))}},btou=function(P){return P.replace(re_btou,cb_btou)},cb_decode=function(P){var d=P.length,w=d%4,A=(d>0?b64tab[P.charAt(0)]<<18:0)|(d>1?b64tab[P.charAt(1)]<<12:0)|(d>2?b64tab[P.charAt(2)]<<6:0)|(d>3?b64tab[P.charAt(3)]:0),b=[fromCharCode(A>>>16),fromCharCode(A>>>8&255),fromCharCode(A&255)];return b.length-=[0,0,2,1][w],b.join("")},_atob=global.atob?function(M){return global.atob(M)}:function(M){return M.replace(/\S{1,4}/g,cb_decode)},atob=function(P){return _atob(String(P).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(P){return _decode(String(P).replace(/[-_]/g,function(d){return d=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var P=global.Base64;return global.Base64=_Base64,P};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(P){return{value:P,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,P,d){/*!
|
|
|
* merge-descriptors
|
|
|
* Copyright(c) 2014 Jonathan Ong
|
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
|
* MIT Licensed
|
|
|
*/"use strict";P.exports=A;var w=Object.prototype.hasOwnProperty;function A(b,m,v){if(!b)throw new TypeError("argument dest is required");if(!m)throw new TypeError("argument src is required");return v===void 0&&(v=!0),Object.getOwnPropertyNames(m).forEach(function(s){if(!v&&w.call(b,s))return;var u=Object.getOwnPropertyDescriptor(m,s);Object.defineProperty(b,s,u)}),b}},{}],201:[function(M,P,d){"use strict";function w(){this._types=Object.create(null),this._extensions=Object.create(null);for(var A=0;A<arguments.length;A++)this.define(arguments[A]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}w.prototype.define=function(A,b){for(var m in A){var v=A[m].map(function(u){return u.toLowerCase()});m=m.toLowerCase();for(var p=0;p<v.length;p++){var s=v[p];if(s[0]=="*")continue;if(!b&&s in this._types)throw new Error('Attempt to change mapping for "'+s+'" extension from "'+this._types[s]+'" to "'+m+'". Pass `force=true` to allow this, otherwise remove "'+s+'" from the list of extensions for "'+m+'".');this._types[s]=m}if(b||!this._extensions[m]){var s=v[0];this._extensions[m]=s[0]!="*"?s:s.substr(1)}}},w.prototype.getType=function(A){A=String(A);var b=A.replace(/^.*[/\\]/,"").toLowerCase(),m=b.replace(/^.*\./,"").toLowerCase(),v=b.length<A.length,p=m.length<b.length-1;return(p||!v)&&this._types[m]||null},w.prototype.getExtension=function(A){return A=/^\s*([^;\s]*)/.test(A)&&RegExp.$1,A&&this._extensions[A.toLowerCase()]||null},P.exports=w},{}],202:[function(M,P,d){"use strict";var w=M("./Mime");P.exports=new w(M("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(M,P,d){P.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,P,d){var w=1e3,A=w*60,b=A*60,m=b*24,v=m*7,p=m*365.25;P.exports=function(r,i){i=i||{};var n=typeof r;if(n==="string"&&r.length>0)return s(r);if(n==="number"&&isFinite(r))return i.long?o(r):u(r);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(r))};function s(r){if(r=String(r),r.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(r);if(!i)return;var n=parseFloat(i[1]),l=(i[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return n*p;case"weeks":case"week":case"w":return n*v;case"days":case"day":case"d":return n*m;case"hours":case"hour":case"hrs":case"hr":case"h":return n*b;case"minutes":case"minute":case"mins":case"min":case"m":return n*A;case"seconds":case"second":case"secs":case"sec":case"s":return n*w;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}function u(r){var i=Math.abs(r);return i>=m?Math.round(r/m)+"d":i>=b?Math.round(r/b)+"h":i>=A?Math.round(r/A)+"m":i>=w?Math.round(r/w)+"s":r+"ms"}function o(r){var i=Math.abs(r);return i>=m?e(r,i,m,"day"):i>=b?e(r,i,b,"hour"):i>=A?e(r,i,A,"minute"):i>=w?e(r,i,w,"second"):r+" ms"}function e(r,i,n,l){var t=i>=n*1.5;return Math.round(r/n)+" "+l+(t?"s":"")}},{}],205:[function(M,P,d){(function(w){function A(p,s){for(var u=0,o=p.length-1;o>=0;o--){var e=p[o];e==="."?p.splice(o,1):e===".."?(p.splice(o,1),u++):u&&(p.splice(o,1),u--)}if(s)for(;u--;u)p.unshift("..");return p}d.resolve=function(){for(var p="",s=!1,u=arguments.length-1;u>=-1&&!s;u--){var o=u>=0?arguments[u]:w.cwd();if(typeof o!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!o)continue;p=o+"/"+p,s=o.charAt(0)==="/"}return p=A(m(p.split("/"),function(e){return!!e}),!s).join("/"),(s?"/":"")+p||"."},d.normalize=function(p){var s=d.isAbsolute(p),u=v(p,-1)==="/";return p=A(m(p.split("/"),function(o){return!!o}),!s).join("/"),!p&&!s&&(p="."),p&&u&&(p+="/"),(s?"/":"")+p},d.isAbsolute=function(p){return p.charAt(0)==="/"},d.join=function(){var p=Array.prototype.slice.call(arguments,0);return d.normalize(m(p,function(s,u){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},d.relative=function(p,s){p=d.resolve(p).substr(1),s=d.resolve(s).substr(1);function u(t){for(var a=0;a<t.length&&!(t[a]!=="");a++);for(var c=t.length-1;c>=0&&!(t[c]!=="");c--);return a>c?[]:t.slice(a,c-a+1)}for(var o=u(p.split("/")),e=u(s.split("/")),r=Math.min(o.length,e.length),i=r,n=0;n<r;n++)if(o[n]!==e[n]){i=n;break}for(var l=[],n=i;n<o.length;n++)l.push("..");return l=l.concat(e.slice(i)),l.join("/")},d.sep="/",d.delimiter=":",d.dirname=function(p){if(typeof p!="string"&&(p=p+""),p.length===0)return".";for(var s=p.charCodeAt(0),u=s===47,o=-1,e=!0,r=p.length-1;r>=1;--r)if(s=p.charCodeAt(r),s===47){if(!e){o=r;break}}else e=!1;return o===-1?u?"/":".":u&&o===1?"/":p.slice(0,o)};function b(p){typeof p!="string"&&(p=p+"");var s=0,u=-1,o=!0,e;for(e=p.length-1;e>=0;--e)if(p.charCodeAt(e)===47){if(!o){s=e+1;break}}else u===-1&&(o=!1,u=e+1);return u===-1?"":p.slice(s,u)}d.basename=function(p,s){var u=b(p);return s&&u.substr(-1*s.length)===s&&(u=u.substr(0,u.length-s.length)),u},d.extname=function(p){typeof p!="string"&&(p=p+"");for(var s=-1,u=0,o=-1,e=!0,r=0,i=p.length-1;i>=0;--i){var n=p.charCodeAt(i);if(n===47){if(!e){u=i+1;break}continue}o===-1&&(e=!1,o=i+1),n===46?s===-1?s=i:r!==1&&(r=1):s!==-1&&(r=-1)}return s===-1||o===-1||r===0||r===1&&s===o-1&&s===u+1?"":p.slice(s,o)};function m(p,s){if(p.filter)return p.filter(s);for(var u=[],o=0;o<p.length;o++)s(p[o],o,p)&&u.push(p[o]);return u}var v="ab".substr(-1)==="b"?function(p,s,u){return p.substr(s,u)}:function(p,s,u){return s<0&&(s=p.length+s),p.substr(s,u)}}).call(this,M("_process"))},{_process:208}],206:[function(M,P,d){(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 A={function:!0,object:!0},b=A[typeof window]&&window||this,m=b,v=A[typeof d]&&d,p=A[typeof P]&&P&&!P.nodeType&&P,s=v&&p&&typeof w=="object"&&w;s&&(s.global===s||s.window===s||s.self===s)&&(b=s);var u=Math.pow(2,53)-1,o=/\bOpera/,e=this,r=Object.prototype,i=r.hasOwnProperty,n=r.toString;function l(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=c(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 a(x,_){var I=-1,L=x?x.length:0;if(typeof L=="number"&&L>-1&&L<=u)for(;++I<L;)_(x[I],I,x);else h(x,_)}function c(x){return x=E(x),/^(?:webOS|i(?:OS|P))/.test(x)?x:l(x)}function h(x,_){for(var I in x)i.call(x,I)&&_(x[I],I,x)}function f(x){return x==null?l(x):n.call(x).slice(8,-1)}function g(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 y(x,_){var I=null;return a(x,function(L,D){I=_(I,L,D,x)}),I}function E(x){return String(x).replace(/^ +| +$/g,"")}function C(x){var _=b,I=x&&typeof x=="object"&&f(x)!="String";I&&(_=x,x=null);var L=_.navigator||{},D=L.userAgent||"";x||(x=D);var B=I||e==m,N=I?!!L.likeChrome:/\bChrome\b/.test(x)&&!/internal|\n/i.test(n.toString()),k="Object",W=I?k:"ScriptBridgingProxyObject",R=I?k:"Environment",j=I&&_.java?"JavaPackage":f(_.java),H=I?k:"RuntimeObject",K=/\bJava/.test(j)&&_.java,U=K&&f(_.environment)==R,Q=K?"a":"\u03B1",V=K?"b":"\u03B2",J=_.document||{},ae=_.operamini||_.opera,se=o.test(se=I&&ae?ae["[[Class]]"]:f(ae))?se:ae=null,$,ge=x,he=[],Ie=null,Se=x==D,Le=Se&&ae&&typeof ae.version=="function"&&ae.version(),He,G=z([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),pe=be(["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"]),We=Ae([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),te=Z({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),X=ne(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function z(xe){return y(xe,function(Pe,tt){return Pe||RegExp("\\b"+(tt.pattern||S(tt))+"\\b","i").exec(x)&&(tt.label||tt)})}function Z(xe){return y(xe,function(Pe,tt,Je){return Pe||(tt[We]||tt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(We)]||RegExp("\\b"+S(Je)+"(?:\\b|\\w*\\d)","i").exec(x))&&Je})}function be(xe){return y(xe,function(Pe,tt){return Pe||RegExp("\\b"+(tt.pattern||S(tt))+"\\b","i").exec(x)&&(tt.label||tt)})}function ne(xe){return y(xe,function(Pe,tt){var Je=tt.pattern||S(tt);return!Pe&&(Pe=RegExp("\\b"+Je+"(?:/[\\d.]+|[ \\w.]*)","i").exec(x))&&(Pe=t(Pe,Je,tt.label||tt)),Pe})}function Ae(xe){return y(xe,function(Pe,tt){var Je=tt.pattern||S(tt);return!Pe&&(Pe=RegExp("\\b"+Je+" *\\d+[.\\w_]*","i").exec(x)||RegExp("\\b"+Je+" *\\w+-[\\w]*","i").exec(x)||RegExp("\\b"+Je+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(x))&&((Pe=String(tt.label&&!RegExp(Je,"i").test(tt.label)?tt.label:Pe).split("/"))[1]&&!/[\d.]+/.test(Pe[0])&&(Pe[0]+=" "+Pe[1]),tt=tt.label||tt,Pe=c(Pe[0].replace(RegExp(Je,"i"),tt).replace(RegExp("; *(?:"+tt+"[_-])?","i")," ").replace(RegExp("("+tt+")[-_.]?(\\w)","i"),"$1 $2"))),Pe})}function Ne(xe){return y(xe,function(Pe,tt){return Pe||(RegExp(tt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(x)||0)[1]||null})}function oe(){return this.description||""}if(G&&(G=[G]),te&&!We&&(We=Ae([te])),($=/\bGoogle TV\b/.exec(We))&&(We=$[0]),/\bSimulator\b/i.test(x)&&(We=(We?We+" ":"")+"Simulator"),pe=="Opera Mini"&&/\bOPiOS\b/.test(x)&&he.push("running in Turbo/Uncompressed mode"),pe=="IE"&&/\blike iPhone OS\b/.test(x)?($=C(x.replace(/like iPhone OS/,"")),te=$.manufacturer,We=$.product):/^iP/.test(We)?(pe||(pe="Safari"),X="iOS"+(($=/ OS ([\d_]+)/i.exec(x))?" "+$[1].replace(/_/g,"."):"")):pe=="Konqueror"&&!/buntu/i.test(X)?X="Kubuntu":te&&te!="Google"&&(/Chrome/.test(pe)&&!/\bMobile Safari\b/i.test(x)||/\bVita\b/.test(We))||/\bAndroid\b/.test(X)&&/^Chrome/.test(pe)&&/\bVersion\//i.test(x)?(pe="Android Browser",X=/\bAndroid\b/.test(X)?X:"Android"):pe=="Silk"?(/\bMobi/i.test(x)||(X="Android",he.unshift("desktop mode")),/Accelerated *= *true/i.test(x)&&he.unshift("accelerated")):pe=="PaleMoon"&&($=/\bFirefox\/([\d.]+)\b/.exec(x))?he.push("identifying as Firefox "+$[1]):pe=="Firefox"&&($=/\b(Mobile|Tablet|TV)\b/i.exec(x))?(X||(X="Firefox OS"),We||(We=$[1])):!pe||($=!/\bMinefield\b/i.test(x)&&/\b(?:Firefox|Safari)\b/.exec(pe))?(pe&&!We&&/[\/,]|^[^(]+?\)/.test(x.slice(x.indexOf($+"/")+8))&&(pe=null),($=We||te||X)&&(We||te||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(X))&&(pe=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(X)?X:$)+" Browser")):pe=="Electron"&&($=(/\bChrome\/([\d.]+)\b/.exec(x)||0)[1])&&he.push("Chromium "+$),Le||(Le=Ne(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",S(pe),"(?:Firefox|Minefield|NetFront)"])),($=G=="iCab"&&parseFloat(Le)>3&&"WebKit"||/\bOpera\b/.test(pe)&&(/\bOPR\b/.test(x)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(x)&&!/^(?:Trident|EdgeHTML)$/.test(G)&&"WebKit"||!G&&/\bMSIE\b/i.test(x)&&(X=="Mac OS"?"Tasman":"Trident")||G=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(pe)&&"NetFront")&&(G=[$]),pe=="IE"&&($=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(x)||0)[1])?(pe+=" Mobile",X="Windows Phone "+(/\+$/.test($)?$:$+".x"),he.unshift("desktop mode")):/\bWPDesktop\b/i.test(x)?(pe="IE Mobile",X="Windows Phone 8.x",he.unshift("desktop mode"),Le||(Le=(/\brv:([\d.]+)/.exec(x)||0)[1])):pe!="IE"&&G=="Trident"&&($=/\brv:([\d.]+)/.exec(x))&&(pe&&he.push("identifying as "+pe+(Le?" "+Le:"")),pe="IE",Le=$[1]),Se){if(g(_,"global"))if(K&&($=K.lang.System,ge=$.getProperty("os.arch"),X=X||$.getProperty("os.name")+" "+$.getProperty("os.version")),U){try{Le=_.require("ringo/engine").version.join("."),pe="RingoJS"}catch(xe){($=_.system)&&$.global.system==_.system&&(pe="Narwhal",X||(X=$[0].os||null))}pe||(pe="Rhino")}else typeof _.process=="object"&&!_.process.browser&&($=_.process)&&(typeof $.versions=="object"&&(typeof $.versions.electron=="string"?(he.push("Node "+$.versions.node),pe="Electron",Le=$.versions.electron):typeof $.versions.nw=="string"&&(he.push("Chromium "+Le,"Node "+$.versions.node),pe="NW.js",Le=$.versions.nw)),pe||(pe="Node.js",ge=$.arch,X=$.platform,Le=/[\d.]+/.exec($.version),Le=Le?Le[0]:null));else f($=_.runtime)==W?(pe="Adobe AIR",X=$.flash.system.Capabilities.os):f($=_.phantom)==H?(pe="PhantomJS",Le=($=$.version||null)&&$.major+"."+$.minor+"."+$.patch):typeof J.documentMode=="number"&&($=/\bTrident\/(\d+)/i.exec(x))?(Le=[Le,J.documentMode],($=+$[1]+4)!=Le[1]&&(he.push("IE "+Le[1]+" mode"),G&&(G[1]=""),Le[1]=$),Le=pe=="IE"?String(Le[1].toFixed(1)):Le[0]):typeof J.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(pe)&&(he.push("masking as "+pe+" "+Le),pe="IE",Le="11.0",G=["Trident"],X="Windows");X=X&&c(X)}if(Le&&($=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Le)||/(?:alpha|beta)(?: ?\d)?/i.exec(x+";"+(Se&&L.appMinorVersion))||/\bMinefield\b/i.test(x)&&"a")&&(Ie=/b/i.test($)?"beta":"alpha",Le=Le.replace(RegExp($+"\\+?$"),"")+(Ie=="beta"?V:Q)+(/\d+\+?/.exec($)||"")),pe=="Fennec"||pe=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(X))pe="Firefox Mobile";else if(pe=="Maxthon"&&Le)Le=Le.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(We))We=="Xbox 360"&&(X=null),We=="Xbox 360"&&/\bIEMobile\b/.test(x)&&he.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(pe)||pe&&!We&&!/Browser|Mobi/.test(pe))&&(X=="Windows CE"||/Mobi/i.test(x)))pe+=" Mobile";else if(pe=="IE"&&Se)try{_.external===null&&he.unshift("platform preview")}catch(xe){he.unshift("embedded")}else(/\bBlackBerry\b/.test(We)||/\bBB10\b/.test(x))&&($=(RegExp(We.replace(/ +/g," *")+"/([.\\d]+)","i").exec(x)||0)[1]||Le)?($=[$,/BB10/.test(x)],X=($[1]?(We=null,te="BlackBerry"):"Device Software")+" "+$[0],Le=null):this!=h&&We!="Wii"&&(Se&&ae||/Opera/.test(pe)&&/\b(?:MSIE|Firefox)\b/i.test(x)||pe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(X)||pe=="IE"&&(X&&!/^Win/.test(X)&&Le>5.5||/\bWindows XP\b/.test(X)&&Le>8||Le==8&&!/\bTrident\b/.test(x)))&&!o.test($=C.call(h,x.replace(o,"")+";"))&&$.name&&($="ing as "+$.name+(($=$.version)?" "+$:""),o.test(pe)?(/\bIE\b/.test($)&&X=="Mac OS"&&(X=null),$="identify"+$):($="mask"+$,se?pe=c(se.replace(/([a-z])([A-Z])/g,"$1 $2")):pe="Opera",/\bIE\b/.test($)&&(X=null),Se||(Le=null)),G=["Presto"],he.push($));($=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(x)||0)[1])&&($=[parseFloat($.replace(/\.(\d)$/,".0$1")),$],pe=="Safari"&&$[1].slice(-1)=="+"?(pe="WebKit Nightly",Ie="alpha",Le=$[1].slice(0,-1)):(Le==$[1]||Le==($[2]=(/\bSafari\/([\d.]+\+?)/i.exec(x)||0)[1]))&&(Le=null),$[1]=(/\bChrome\/([\d.]+)/i.exec(x)||0)[1],$[0]==537.36&&$[2]==537.36&&parseFloat($[1])>=28&&G=="WebKit"&&(G=["Blink"]),!Se||!N&&!$[1]?(G&&(G[1]="like Safari"),$=($=$[0],$<400?1:$<500?2:$<526?3:$<533?4:$<534?"4+":$<535?5:$<537?6:$<538?7:$<601?8:"8")):(G&&(G[1]="like Chrome"),$=$[1]||($=$[0],$<530?1:$<532?2:$<532.05?3:$<533?4:$<534.03?5:$<534.07?6:$<534.1?7:$<534.13?8:$<534.16?9:$<534.24?10:$<534.3?11:$<535.01?12:$<535.02?"13+":$<535.07?15:$<535.11?16:$<535.19?17:$<536.05?18:$<536.1?19:$<537.01?20:$<537.11?"21+":$<537.13?23:$<537.18?24:$<537.24?25:$<537.36?26:G!="Blink"?"27":"28")),G&&(G[1]+=" "+($+=typeof $=="number"?".x":/[.+]/.test($)?"":"+")),pe=="Safari"&&(!Le||parseInt(Le)>45)&&(Le=$)),pe=="Opera"&&($=/\bzbov|zvav$/.exec(X))?(pe+=" ",he.unshift("desktop mode"),$=="zvav"?(pe+="Mini",Le=null):pe+="Mobile",X=X.replace(RegExp(" *"+$+"$"),"")):pe=="Safari"&&/\bChrome\b/.exec(G&&G[1])&&(he.unshift("desktop mode"),pe="Chrome Mobile",Le=null,/\bOS X\b/.test(X)?(te="Apple",X="iOS 4.3+"):X=null),Le&&Le.indexOf($=/[\d.]+$/.exec(X))==0&&x.indexOf("/"+$+"-")>-1&&(X=E(X.replace($,""))),G&&!/\b(?:Avant|Nook)\b/.test(pe)&&(/Browser|Lunascape|Maxthon/.test(pe)||pe!="Safari"&&/^iOS/.test(X)&&/\bSafari\b/.test(G[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(pe)&&G[1])&&(($=G[G.length-1])&&he.push($)),he.length&&(he=["("+he.join("; ")+")"]),te&&We&&We.indexOf(te)<0&&he.push("on "+te),We&&he.push((/^on /.test(he[he.length-1])?"":"on ")+We),X&&($=/ ([\d.+]+)$/.exec(X),He=$&&X.charAt(X.length-$[0].length-1)=="/",X={architecture:32,family:$&&!He?X.replace($[0],""):X,version:$?$[1]:null,toString:function(){var Pe=this.version;return this.family+(Pe&&!He?" "+Pe:"")+(this.architecture==64?" 64-bit":"")}}),($=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(ge))&&!/\bi686\b/i.test(ge)?(X&&(X.architecture=64,X.family=X.family.replace(RegExp(" *"+$),"")),pe&&(/\bWOW64\b/i.test(x)||Se&&/\w(?:86|32)$/.test(L.cpuClass||L.platform)&&!/\bWin64; x64\b/i.test(x))&&he.unshift("32-bit")):X&&/^OS X/.test(X.family)&&pe=="Chrome"&&parseFloat(Le)>=39&&(X.architecture=64),x||(x=null);var de={};return de.description=x,de.layout=G&&G[0],de.manufacturer=te,de.name=pe,de.prerelease=Ie,de.product=We,de.ua=x,de.version=pe&&Le,de.os=X||{architecture:null,family:null,version:null,toString:function(){return"null"}},de.parse=C,de.toString=oe,de.version&&he.unshift(Le),de.name&&he.unshift(pe),X&&pe&&!(X==String(X).split(" ")[0]&&(X==pe.split(" ")[0]||We))&&he.push(We?"("+X+")":"on "+X),he.length&&(de.description=he.join(" ")),de}var T=C();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(b.platform=T,define(function(){return T})):v&&p?h(T,function(x,_){v[_]=x}):b.platform=T}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(M,P,d){(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?P.exports={nextTick:A}:P.exports=w;function A(b,m,v,p){if(typeof b!="function")throw new TypeError('"callback" argument must be a function');var s=arguments.length,u,o;switch(s){case 0:case 1:return w.nextTick(b);case 2:return w.nextTick(function(){b.call(null,m)});case 3:return w.nextTick(function(){b.call(null,m,v)});case 4:return w.nextTick(function(){b.call(null,m,v,p)});default:for(u=new Array(s-1),o=0;o<u.length;)u[o++]=arguments[o];return w.nextTick(function(){b.apply(null,u)})}}}).call(this,M("_process"))},{_process:208}],208:[function(M,P,d){var w=P.exports={},A,b;function m(){throw new Error("setTimeout has not been defined")}function v(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=m}catch(a){A=m}try{typeof clearTimeout=="function"?b=clearTimeout:b=v}catch(a){b=v}})();function p(a){if(A===setTimeout)return setTimeout(a,0);if((A===m||!A)&&setTimeout)return A=setTimeout,setTimeout(a,0);try{return A(a,0)}catch(c){try{return A.call(null,a,0)}catch(h){return A.call(this,a,0)}}}function s(a){if(b===clearTimeout)return clearTimeout(a);if((b===v||!b)&&clearTimeout)return b=clearTimeout,clearTimeout(a);try{return b(a)}catch(c){try{return b.call(null,a)}catch(h){return b.call(this,a)}}}var u=[],o=!1,e,r=-1;function i(){if(!o||!e)return;o=!1,e.length?u=e.concat(u):r=-1,u.length&&n()}function n(){if(o)return;var a=p(i);o=!0;for(var c=u.length;c;){for(e=u,u=[];++r<c;)e&&e[r].run();r=-1,c=u.length}e=null,o=!1,s(a)}w.nextTick=function(a){var c=new Array(arguments.length-1);if(arguments.length>1)for(var h=1;h<arguments.length;h++)c[h-1]=arguments[h];u.push(new l(a,c)),u.length===1&&!o&&p(n)};function l(a,c){this.fun=a,this.array=c}l.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(a){return[]},w.binding=function(a){throw new Error("process.binding is not supported")},w.cwd=function(){return"/"},w.chdir=function(a){throw new Error("process.chdir is not supported")},w.umask=function(){return 0}},{}],209:[function(M,P,d){(function(w){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(A){var b=typeof d=="object"&&d&&!d.nodeType&&d,m=typeof P=="object"&&P&&!P.nodeType&&P,v=typeof w=="object"&&w;(v.global===v||v.window===v||v.self===v)&&(A=v);var p,s=2147483647,u=36,o=1,e=26,r=38,i=700,n=72,l=128,t="-",a=/^xn--/,c=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=u-o,S=Math.floor,y=String.fromCharCode,E;function C(j){throw new RangeError(f[j])}function T(j,H){for(var K=j.length,U=[];K--;)U[K]=H(j[K]);return U}function x(j,H){var K=j.split("@"),U="";K.length>1&&(U=K[0]+"@",j=K[1]),j=j.replace(h,".");var Q=j.split("."),V=T(Q,H).join(".");return U+V}function _(j){for(var H=[],K=0,U=j.length,Q,V;K<U;)Q=j.charCodeAt(K++),Q>=55296&&Q<=56319&&K<U?(V=j.charCodeAt(K++),(V&64512)==56320?H.push(((Q&1023)<<10)+(V&1023)+65536):(H.push(Q),K--)):H.push(Q);return H}function I(j){return T(j,function(H){var K="";return H>65535&&(H-=65536,K+=y(H>>>10&1023|55296),H=56320|H&1023),K+=y(H),K}).join("")}function L(j){return j-48<10?j-22:j-65<26?j-65:j-97<26?j-97:u}function D(j,H){return j+22+75*(j<26)-((H!=0)<<5)}function B(j,H,K){var U=0;for(j=K?S(j/i):j>>1,j+=S(j/H);j>g*e>>1;U+=u)j=S(j/g);return S(U+(g+1)*j/(j+r))}function N(j){var H=[],K=j.length,U,Q=0,V=l,J=n,ae,se,$,ge,he,Ie,Se,Le,He;for(ae=j.lastIndexOf(t),ae<0&&(ae=0),se=0;se<ae;++se)j.charCodeAt(se)>=128&&C("not-basic"),H.push(j.charCodeAt(se));for($=ae>0?ae+1:0;$<K;){for(ge=Q,he=1,Ie=u;!($>=K&&C("invalid-input"),Se=L(j.charCodeAt($++)),(Se>=u||Se>S((s-Q)/he))&&C("overflow"),Q+=Se*he,Le=Ie<=J?o:Ie>=J+e?e:Ie-J,Se<Le);Ie+=u)He=u-Le,he>S(s/He)&&C("overflow"),he*=He;U=H.length+1,J=B(Q-ge,U,ge==0),S(Q/U)>s-V&&C("overflow"),V+=S(Q/U),Q%=U,H.splice(Q++,0,V)}return I(H)}function k(j){var H,K,U,Q,V,J,ae,se,$,ge,he,Ie=[],Se,Le,He,G;for(j=_(j),Se=j.length,H=l,K=0,V=n,J=0;J<Se;++J)he=j[J],he<128&&Ie.push(y(he));for(U=Q=Ie.length,Q&&Ie.push(t);U<Se;){for(ae=s,J=0;J<Se;++J)he=j[J],he>=H&&he<ae&&(ae=he);for(Le=U+1,ae-H>S((s-K)/Le)&&C("overflow"),K+=(ae-H)*Le,H=ae,J=0;J<Se;++J)if(he=j[J],he<H&&++K>s&&C("overflow"),he==H){for(se=K,$=u;!(ge=$<=V?o:$>=V+e?e:$-V,se<ge);$+=u)G=se-ge,He=u-ge,Ie.push(y(D(ge+G%He,0))),se=S(G/He);Ie.push(y(D(se,0))),V=B(K,Le,U==Q),K=0,++U}++K,++H}return Ie.join("")}function W(j){return x(j,function(H){return a.test(H)?N(H.slice(4).toLowerCase()):H})}function R(j){return x(j,function(H){return c.test(H)?"xn--"+k(H):H})}if(p={version:"1.4.1",ucs2:{decode:_,encode:I},decode:N,encode:k,toASCII:R,toUnicode:W},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return p});else if(b&&m)if(P.exports==b)m.exports=p;else for(E in p)p.hasOwnProperty(E)&&(b[E]=p[E]);else A.punycode=p})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(M,P,d){"use strict";function w(b,m){return Object.prototype.hasOwnProperty.call(b,m)}P.exports=function(b,m,v,p){m=m||"&",v=v||"=";var s={};if(typeof b!="string"||b.length===0)return s;var u=/\+/g;b=b.split(m);var o=1e3;p&&typeof p.maxKeys=="number"&&(o=p.maxKeys);var e=b.length;o>0&&e>o&&(e=o);for(var r=0;r<e;++r){var i=b[r].replace(u,"%20"),n=i.indexOf(v),l,t,a,c;n>=0?(l=i.substr(0,n),t=i.substr(n+1)):(l=i,t=""),a=decodeURIComponent(l),c=decodeURIComponent(t),w(s,a)?A(s[a])?s[a].push(c):s[a]=[s[a],c]:s[a]=c}return s};var A=Array.isArray||function(b){return Object.prototype.toString.call(b)==="[object Array]"}},{}],211:[function(M,P,d){"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""}};P.exports=function(v,p,s,u){return p=p||"&",s=s||"=",v===null&&(v=void 0),typeof v=="object"?b(m(v),function(o){var e=encodeURIComponent(w(o))+s;return A(v[o])?b(v[o],function(r){return e+encodeURIComponent(w(r))}).join(p):e+encodeURIComponent(w(v[o]))}).join(p):u?encodeURIComponent(w(u))+s+encodeURIComponent(w(v)):""};var A=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"};function b(v,p){if(v.map)return v.map(p);for(var s=[],u=0;u<v.length;u++)s.push(p(v[u],u));return s}var m=Object.keys||function(v){var p=[];for(var s in v)Object.prototype.hasOwnProperty.call(v,s)&&p.push(s);return p}},{}],212:[function(M,P,d){"use strict";d.decode=d.parse=M("./decode"),d.encode=d.stringify=M("./encode")},{"./decode":210,"./encode":211}],213:[function(M,P,d){P.exports=M("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/create"),A=v(w),b=M("babel-runtime/core-js/object/keys"),m=v(b);function v(c){return c&&c.__esModule?c:{default:c}}var p=M("process-nextick-args"),s=m.default||function(c){var h=[];for(var f in c)h.push(f);return h};P.exports=l;var u=(0,A.default)(M("core-util-is"));u.inherits=M("inherits");var o=M("./_stream_readable"),e=M("./_stream_writable");u.inherits(l,o);for(var r=s(e.prototype),i=0;i<r.length;i++){var n=r[i];l.prototype[n]||(l.prototype[n]=e.prototype[n])}function l(c){if(!(this instanceof l))return new l(c);o.call(this,c),e.call(this,c),c&&c.readable===!1&&(this.readable=!1),c&&c.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,c&&c.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",t)}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function t(){if(this.allowHalfOpen||this._writableState.ended)return;p.nextTick(a,this)}function a(c){c.end()}Object.defineProperty(l.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(h){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=h,this._writableState.destroyed=h}}),l.prototype._destroy=function(c,h){this.push(null),this.end(),p.nextTick(h,c)}},{"./_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,P,d){"use strict";var w=M("babel-runtime/core-js/object/create"),A=b(w);function b(s){return s&&s.__esModule?s:{default:s}}P.exports=p;var m=M("./_stream_transform"),v=(0,A.default)(M("core-util-is"));v.inherits=M("inherits"),v.inherits(p,m);function p(s){if(!(this instanceof p))return new p(s);m.call(this,s)}p.prototype._transform=function(s,u,o){o(null,s)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(M,P,d){(function(w,A){"use strict";var b=M("babel-runtime/core-js/object/get-prototype-of"),m=s(b),v=M("babel-runtime/core-js/object/create"),p=s(v);function s(G){return G&&G.__esModule?G:{default:G}}var u=M("process-nextick-args");P.exports=_;var o=M("isarray"),e;_.ReadableState=x;var r=M("events").EventEmitter,i=function(pe,We){return pe.listeners(We).length},n=M("./internal/streams/stream"),l=M("safe-buffer").Buffer,t=A.Uint8Array||function(){};function a(G){return l.from(G)}function c(G){return l.isBuffer(G)||G instanceof t}var h=(0,p.default)(M("core-util-is"));h.inherits=M("inherits");var f=M("util"),g=void 0;f&&f.debuglog?g=f.debuglog("stream"):g=function(){};var S=M("./internal/streams/BufferList"),y=M("./internal/streams/destroy"),E;h.inherits(_,n);var C=["error","close","destroy","pause","resume"];function T(G,pe,We){if(typeof G.prependListener=="function")return G.prependListener(pe,We);!G._events||!G._events[pe]?G.on(pe,We):o(G._events[pe])?G._events[pe].unshift(We):G._events[pe]=[We,G._events[pe]]}function x(G,pe){e=e||M("./_stream_duplex"),G=G||{};var We=pe instanceof e;this.objectMode=!!G.objectMode,We&&(this.objectMode=this.objectMode||!!G.readableObjectMode);var te=G.highWaterMark,X=G.readableHighWaterMark,z=this.objectMode?16:16*1024;te||te===0?this.highWaterMark=te:We&&(X||X===0)?this.highWaterMark=X:this.highWaterMark=z,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=G.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,G.encoding&&(E||(E=M("string_decoder/").StringDecoder),this.decoder=new E(G.encoding),this.encoding=G.encoding)}function _(G){if(e=e||M("./_stream_duplex"),!(this instanceof _))return new _(G);this._readableState=new x(G,this),this.readable=!0,G&&(typeof G.read=="function"&&(this._read=G.read),typeof G.destroy=="function"&&(this._destroy=G.destroy)),n.call(this)}Object.defineProperty(_.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(pe){if(!this._readableState)return;this._readableState.destroyed=pe}}),_.prototype.destroy=y.destroy,_.prototype._undestroy=y.undestroy,_.prototype._destroy=function(G,pe){this.push(null),pe(G)},_.prototype.push=function(G,pe){var We=this._readableState,te;return We.objectMode?te=!0:typeof G=="string"&&(pe=pe||We.defaultEncoding,pe!==We.encoding&&(G=l.from(G,pe),pe=""),te=!0),I(this,G,pe,!1,te)},_.prototype.unshift=function(G){return I(this,G,null,!0,!1)};function I(G,pe,We,te,X){var z=G._readableState;if(pe===null)z.reading=!1,R(G,z);else{var Z;X||(Z=D(z,pe)),Z?G.emit("error",Z):z.objectMode||pe&&pe.length>0?(typeof pe!="string"&&!z.objectMode&&(0,m.default)(pe)!==l.prototype&&(pe=a(pe)),te?z.endEmitted?G.emit("error",new Error("stream.unshift() after end event")):L(G,z,pe,!0):z.ended?G.emit("error",new Error("stream.push() after EOF")):(z.reading=!1,z.decoder&&!We?(pe=z.decoder.write(pe),z.objectMode||pe.length!==0?L(G,z,pe,!1):K(G,z)):L(G,z,pe,!1))):te||(z.reading=!1)}return B(z)}function L(G,pe,We,te){pe.flowing&&pe.length===0&&!pe.sync?(G.emit("data",We),G.read(0)):(pe.length+=pe.objectMode?1:We.length,te?pe.buffer.unshift(We):pe.buffer.push(We),pe.needReadable&&j(G)),K(G,pe)}function D(G,pe){var We;return!c(pe)&&typeof pe!="string"&&pe!==void 0&&!G.objectMode&&(We=new TypeError("Invalid non-string/buffer chunk")),We}function B(G){return!G.ended&&(G.needReadable||G.length<G.highWaterMark||G.length===0)}_.prototype.isPaused=function(){return this._readableState.flowing===!1},_.prototype.setEncoding=function(G){return E||(E=M("string_decoder/").StringDecoder),this._readableState.decoder=new E(G),this._readableState.encoding=G,this};var N=8388608;function k(G){return G>=N?G=N:(G--,G|=G>>>1,G|=G>>>2,G|=G>>>4,G|=G>>>8,G|=G>>>16,G++),G}function W(G,pe){return G<=0||pe.length===0&&pe.ended?0:pe.objectMode?1:G!==G?pe.flowing&&pe.length?pe.buffer.head.data.length:pe.length:(G>pe.highWaterMark&&(pe.highWaterMark=k(G)),G<=pe.length?G:pe.ended?pe.length:(pe.needReadable=!0,0))}_.prototype.read=function(G){g("read",G),G=parseInt(G,10);var pe=this._readableState,We=G;if(G!==0&&(pe.emittedReadable=!1),G===0&&pe.needReadable&&(pe.length>=pe.highWaterMark||pe.ended))return g("read: emitReadable",pe.length,pe.ended),pe.length===0&&pe.ended?Se(this):j(this),null;if(G=W(G,pe),G===0&&pe.ended)return pe.length===0&&Se(this),null;var te=pe.needReadable;g("need readable",te),(pe.length===0||pe.length-G<pe.highWaterMark)&&(te=!0,g("length less than watermark",te)),pe.ended||pe.reading?(te=!1,g("reading or ended",te)):te&&(g("do read"),pe.reading=!0,pe.sync=!0,pe.length===0&&(pe.needReadable=!0),this._read(pe.highWaterMark),pe.sync=!1,pe.reading||(G=W(We,pe)));var X;return G>0?X=$(G,pe):X=null,X===null?(pe.needReadable=!0,G=0):pe.length-=G,pe.length===0&&(pe.ended||(pe.needReadable=!0),We!==G&&pe.ended&&Se(this)),X!==null&&this.emit("data",X),X};function R(G,pe){if(pe.ended)return;if(pe.decoder){var We=pe.decoder.end();We&&We.length&&(pe.buffer.push(We),pe.length+=pe.objectMode?1:We.length)}pe.ended=!0,j(G)}function j(G){var pe=G._readableState;pe.needReadable=!1,pe.emittedReadable||(g("emitReadable",pe.flowing),pe.emittedReadable=!0,pe.sync?u.nextTick(H,G):H(G))}function H(G){g("emit readable"),G.emit("readable"),se(G)}function K(G,pe){pe.readingMore||(pe.readingMore=!0,u.nextTick(U,G,pe))}function U(G,pe){for(var We=pe.length;!pe.reading&&!pe.flowing&&!pe.ended&&pe.length<pe.highWaterMark&&!(g("maybeReadMore read 0"),G.read(0),We===pe.length);)We=pe.length;pe.readingMore=!1}_.prototype._read=function(G){this.emit("error",new Error("_read() is not implemented"))},_.prototype.pipe=function(G,pe){var We=this,te=this._readableState;switch(te.pipesCount){case 0:te.pipes=G;break;case 1:te.pipes=[te.pipes,G];break;default:te.pipes.push(G);break}te.pipesCount+=1,g("pipe count=%d opts=%j",te.pipesCount,pe);var X=(!pe||pe.end!==!1)&&G!==w.stdout&&G!==w.stderr,z=X?be:Je;te.endEmitted?u.nextTick(z):We.once("end",z),G.on("unpipe",Z);function Z(Oe,pt){g("onunpipe"),Oe===We&&(pt&&pt.hasUnpiped===!1&&(pt.hasUnpiped=!0,Ne()))}function be(){g("onend"),G.end()}var ne=Q(We);G.on("drain",ne);var Ae=!1;function Ne(){g("cleanup"),G.removeListener("close",Pe),G.removeListener("finish",tt),G.removeListener("drain",ne),G.removeListener("error",xe),G.removeListener("unpipe",Z),We.removeListener("end",be),We.removeListener("end",Je),We.removeListener("data",de),Ae=!0,te.awaitDrain&&(!G._writableState||G._writableState.needDrain)&&ne()}var oe=!1;We.on("data",de);function de(Oe){g("ondata"),oe=!1;var pt=G.write(Oe);pt===!1&&!oe&&((te.pipesCount===1&&te.pipes===G||te.pipesCount>1&&He(te.pipes,G)!==-1)&&!Ae&&(g("false write response, pause",We._readableState.awaitDrain),We._readableState.awaitDrain++,oe=!0),We.pause())}function xe(Oe){g("onerror",Oe),Je(),G.removeListener("error",xe),i(G,"error")===0&&G.emit("error",Oe)}T(G,"error",xe);function Pe(){G.removeListener("finish",tt),Je()}G.once("close",Pe);function tt(){g("onfinish"),G.removeListener("close",Pe),Je()}G.once("finish",tt);function Je(){g("unpipe"),We.unpipe(G)}return G.emit("pipe",We),te.flowing||(g("pipe resume"),We.resume()),G};function Q(G){return function(){var pe=G._readableState;g("pipeOnDrain",pe.awaitDrain),pe.awaitDrain&&pe.awaitDrain--,pe.awaitDrain===0&&i(G,"data")&&(pe.flowing=!0,se(G))}}_.prototype.unpipe=function(G){var pe=this._readableState,We={hasUnpiped:!1};if(pe.pipesCount===0)return this;if(pe.pipesCount===1)return G&&G!==pe.pipes?this:(G||(G=pe.pipes),pe.pipes=null,pe.pipesCount=0,pe.flowing=!1,G&&G.emit("unpipe",this,We),this);if(!G){var te=pe.pipes,X=pe.pipesCount;pe.pipes=null,pe.pipesCount=0,pe.flowing=!1;for(var z=0;z<X;z++)te[z].emit("unpipe",this,We);return this}var Z=He(pe.pipes,G);return Z===-1?this:(pe.pipes.splice(Z,1),pe.pipesCount-=1,pe.pipesCount===1&&(pe.pipes=pe.pipes[0]),G.emit("unpipe",this,We),this)},_.prototype.on=function(G,pe){var We=n.prototype.on.call(this,G,pe);if(G==="data")this._readableState.flowing!==!1&&this.resume();else if(G==="readable"){var te=this._readableState;!te.endEmitted&&!te.readableListening&&(te.readableListening=te.needReadable=!0,te.emittedReadable=!1,te.reading?te.length&&j(this):u.nextTick(V,this))}return We},_.prototype.addListener=_.prototype.on;function V(G){g("readable nexttick read 0"),G.read(0)}_.prototype.resume=function(){var G=this._readableState;return G.flowing||(g("resume"),G.flowing=!0,J(this,G)),this};function J(G,pe){pe.resumeScheduled||(pe.resumeScheduled=!0,u.nextTick(ae,G,pe))}function ae(G,pe){pe.reading||(g("resume read 0"),G.read(0)),pe.resumeScheduled=!1,pe.awaitDrain=0,G.emit("resume"),se(G),pe.flowing&&!pe.reading&&G.read(0)}_.prototype.pause=function(){return g("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(g("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function se(G){var pe=G._readableState;for(g("flow",pe.flowing);pe.flowing&&G.read()!==null;);}_.prototype.wrap=function(G){var pe=this,We=this._readableState,te=!1;G.on("end",function(){if(g("wrapped end"),We.decoder&&!We.ended){var Z=We.decoder.end();Z&&Z.length&&pe.push(Z)}pe.push(null)}),G.on("data",function(Z){if(g("wrapped data"),We.decoder&&(Z=We.decoder.write(Z)),We.objectMode&&Z==null)return;if(!We.objectMode&&(!Z||!Z.length))return;var be=pe.push(Z);be||(te=!0,G.pause())});for(var X in G)this[X]===void 0&&typeof G[X]=="function"&&(this[X]=function(Z){return function(){return G[Z].apply(G,arguments)}}(X));for(var z=0;z<C.length;z++)G.on(C[z],this.emit.bind(this,C[z]));return this._read=function(Z){g("wrapped _read",Z),te&&(te=!1,G.resume())},this},Object.defineProperty(_.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),_._fromList=$;function $(G,pe){if(pe.length===0)return null;var We;return pe.objectMode?We=pe.buffer.shift():!G||G>=pe.length?(pe.decoder?We=pe.buffer.join(""):pe.buffer.length===1?We=pe.buffer.head.data:We=pe.buffer.concat(pe.length),pe.buffer.clear()):We=ge(G,pe.buffer,pe.decoder),We}function ge(G,pe,We){var te;return G<pe.head.data.length?(te=pe.head.data.slice(0,G),pe.head.data=pe.head.data.slice(G)):G===pe.head.data.length?te=pe.shift():te=We?he(G,pe):Ie(G,pe),te}function he(G,pe){var We=pe.head,te=1,X=We.data;for(G-=X.length;We=We.next;){var z=We.data,Z=G>z.length?z.length:G;if(Z===z.length?X+=z:X+=z.slice(0,G),G-=Z,G===0){Z===z.length?(++te,We.next?pe.head=We.next:pe.head=pe.tail=null):(pe.head=We,We.data=z.slice(Z));break}++te}return pe.length-=te,X}function Ie(G,pe){var We=l.allocUnsafe(G),te=pe.head,X=1;for(te.data.copy(We),G-=te.data.length;te=te.next;){var z=te.data,Z=G>z.length?z.length:G;if(z.copy(We,We.length-G,0,Z),G-=Z,G===0){Z===z.length?(++X,te.next?pe.head=te.next:pe.head=pe.tail=null):(pe.head=te,te.data=z.slice(Z));break}++X}return pe.length-=X,We}function Se(G){var pe=G._readableState;if(pe.length>0)throw new Error('"endReadable()" called on non-empty stream');pe.endEmitted||(pe.ended=!0,u.nextTick(Le,pe,G))}function Le(G,pe){!G.endEmitted&&G.length===0&&(G.endEmitted=!0,pe.readable=!1,pe.emit("end"))}function He(G,pe){for(var We=0,te=G.length;We<te;We++)if(G[We]===pe)return We;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,P,d){"use strict";var w=M("babel-runtime/core-js/object/create"),A=b(w);function b(e){return e&&e.__esModule?e:{default:e}}P.exports=s;var m=M("./_stream_duplex"),v=(0,A.default)(M("core-util-is"));v.inherits=M("inherits"),v.inherits(s,m);function p(e,r){var i=this._transformState;i.transforming=!1;var n=i.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));i.writechunk=null,i.writecb=null,r!=null&&this.push(r),n(e);var l=this._readableState;l.reading=!1,(l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}function s(e){if(!(this instanceof s))return new s(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",u)}function u(){var e=this;typeof this._flush=="function"?this._flush(function(r,i){o(e,r,i)}):o(this,null,null)}s.prototype.push=function(e,r){return this._transformState.needTransform=!1,m.prototype.push.call(this,e,r)},s.prototype._transform=function(e,r,i){throw new Error("_transform() is not implemented")},s.prototype._write=function(e,r,i){var n=this._transformState;if(n.writecb=i,n.writechunk=e,n.writeencoding=r,!n.transforming){var l=this._readableState;(n.needTransform||l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}},s.prototype._read=function(e){var r=this._transformState;r.writechunk!==null&&r.writecb&&!r.transforming?(r.transforming=!0,this._transform(r.writechunk,r.writeencoding,r.afterTransform)):r.needTransform=!0},s.prototype._destroy=function(e,r){var i=this;m.prototype._destroy.call(this,e,function(n){r(n),i.emit("close")})};function o(e,r,i){if(r)return e.emit("error",r);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,P,d){(function(w,A){"use strict";var b=M("babel-runtime/core-js/object/define-property"),m=n(b),v=M("babel-runtime/core-js/symbol/has-instance"),p=n(v),s=M("babel-runtime/core-js/symbol"),u=n(s),o=M("babel-runtime/core-js/object/create"),e=n(o),r=M("babel-runtime/core-js/set-immediate"),i=n(r);function n(Ie){return Ie&&Ie.__esModule?Ie:{default:Ie}}var l=M("process-nextick-args");P.exports=D;function t(Ie,Se,Le){this.chunk=Ie,this.encoding=Se,this.callback=Le,this.next=null}function a(Ie){var Se=this;this.next=null,this.entry=null,this.finish=function(){he(Se,Ie)}}var c=!w.browser&&["v0.10","v0.9."].indexOf(w.version.slice(0,5))>-1?i.default:l.nextTick,h;D.WritableState=I;var f=(0,e.default)(M("core-util-is"));f.inherits=M("inherits");var g={deprecate:M("util-deprecate")},S=M("./internal/streams/stream"),y=M("safe-buffer").Buffer,E=A.Uint8Array||function(){};function C(Ie){return y.from(Ie)}function T(Ie){return y.isBuffer(Ie)||Ie instanceof E}var x=M("./internal/streams/destroy");f.inherits(D,S);function _(){}function I(Ie,Se){h=h||M("./_stream_duplex"),Ie=Ie||{};var Le=Se instanceof h;this.objectMode=!!Ie.objectMode,Le&&(this.objectMode=this.objectMode||!!Ie.writableObjectMode);var He=Ie.highWaterMark,G=Ie.writableHighWaterMark,pe=this.objectMode?16:16*1024;He||He===0?this.highWaterMark=He:Le&&(G||G===0)?this.highWaterMark=G:this.highWaterMark=pe,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 We=Ie.decodeStrings===!1;this.decodeStrings=!We,this.defaultEncoding=Ie.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(te){K(Se,te)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}I.prototype.getBuffer=function(){for(var Se=this.bufferedRequest,Le=[];Se;)Le.push(Se),Se=Se.next;return Le},function(){try{Object.defineProperty(I.prototype,"buffer",{get:g.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ie){}}();var L;typeof u.default=="function"&&p.default&&typeof Function.prototype[p.default]=="function"?(L=Function.prototype[p.default],(0,m.default)(D,p.default,{value:function(Se){return L.call(this,Se)?!0:this!==D?!1:Se&&Se._writableState instanceof I}})):L=function(Se){return Se instanceof this};function D(Ie){if(h=h||M("./_stream_duplex"),!L.call(D,this)&&!(this instanceof h))return new D(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)}D.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function B(Ie,Se){var Le=new Error("write after end");Ie.emit("error",Le),l.nextTick(Se,Le)}function N(Ie,Se,Le,He){var G=!0,pe=!1;return Le===null?pe=new TypeError("May not write null values to stream"):typeof Le!="string"&&Le!==void 0&&!Se.objectMode&&(pe=new TypeError("Invalid non-string/buffer chunk")),pe&&(Ie.emit("error",pe),l.nextTick(He,pe),G=!1),G}D.prototype.write=function(Ie,Se,Le){var He=this._writableState,G=!1,pe=!He.objectMode&&T(Ie);return pe&&!y.isBuffer(Ie)&&(Ie=C(Ie)),typeof Se=="function"&&(Le=Se,Se=null),pe?Se="buffer":Se||(Se=He.defaultEncoding),typeof Le!="function"&&(Le=_),He.ended?B(this,Le):(pe||N(this,He,Ie,Le))&&(He.pendingcb++,G=W(this,He,pe,Ie,Se,Le)),G},D.prototype.cork=function(){var Ie=this._writableState;Ie.corked++},D.prototype.uncork=function(){var Ie=this._writableState;Ie.corked&&(Ie.corked--,!Ie.writing&&!Ie.corked&&!Ie.finished&&!Ie.bufferProcessing&&Ie.bufferedRequest&&V(this,Ie))},D.prototype.setDefaultEncoding=function(Se){if(typeof Se=="string"&&(Se=Se.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Se+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Se);return this._writableState.defaultEncoding=Se,this};function k(Ie,Se,Le){return!Ie.objectMode&&Ie.decodeStrings!==!1&&typeof Se=="string"&&(Se=y.from(Se,Le)),Se}Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function W(Ie,Se,Le,He,G,pe){if(!Le){var We=k(Se,He,G);He!==We&&(Le=!0,G="buffer",He=We)}var te=Se.objectMode?1:He.length;Se.length+=te;var X=Se.length<Se.highWaterMark;if(X||(Se.needDrain=!0),Se.writing||Se.corked){var z=Se.lastBufferedRequest;Se.lastBufferedRequest={chunk:He,encoding:G,isBuf:Le,callback:pe,next:null},z?z.next=Se.lastBufferedRequest:Se.bufferedRequest=Se.lastBufferedRequest,Se.bufferedRequestCount+=1}else R(Ie,Se,!1,te,He,G,pe);return X}function R(Ie,Se,Le,He,G,pe,We){Se.writelen=He,Se.writecb=We,Se.writing=!0,Se.sync=!0,Le?Ie._writev(G,Se.onwrite):Ie._write(G,pe,Se.onwrite),Se.sync=!1}function j(Ie,Se,Le,He,G){--Se.pendingcb,Le?(l.nextTick(G,He),l.nextTick($,Ie,Se),Ie._writableState.errorEmitted=!0,Ie.emit("error",He)):(G(He),Ie._writableState.errorEmitted=!0,Ie.emit("error",He),$(Ie,Se))}function H(Ie){Ie.writing=!1,Ie.writecb=null,Ie.length-=Ie.writelen,Ie.writelen=0}function K(Ie,Se){var Le=Ie._writableState,He=Le.sync,G=Le.writecb;if(H(Le),Se)j(Ie,Le,He,Se,G);else{var pe=J(Le);!pe&&!Le.corked&&!Le.bufferProcessing&&Le.bufferedRequest&&V(Ie,Le),He?c(U,Ie,Le,pe,G):U(Ie,Le,pe,G)}}function U(Ie,Se,Le,He){Le||Q(Ie,Se),Se.pendingcb--,He(),$(Ie,Se)}function Q(Ie,Se){Se.length===0&&Se.needDrain&&(Se.needDrain=!1,Ie.emit("drain"))}function V(Ie,Se){Se.bufferProcessing=!0;var Le=Se.bufferedRequest;if(Ie._writev&&Le&&Le.next){var He=Se.bufferedRequestCount,G=new Array(He),pe=Se.corkedRequestsFree;pe.entry=Le;for(var We=0,te=!0;Le;)G[We]=Le,Le.isBuf||(te=!1),Le=Le.next,We+=1;G.allBuffers=te,R(Ie,Se,!0,Se.length,G,"",pe.finish),Se.pendingcb++,Se.lastBufferedRequest=null,pe.next?(Se.corkedRequestsFree=pe.next,pe.next=null):Se.corkedRequestsFree=new a(Se),Se.bufferedRequestCount=0}else{for(;Le;){var X=Le.chunk,z=Le.encoding,Z=Le.callback,be=Se.objectMode?1:X.length;if(R(Ie,Se,!1,be,X,z,Z),Le=Le.next,Se.bufferedRequestCount--,Se.writing)break}Le===null&&(Se.lastBufferedRequest=null)}Se.bufferedRequest=Le,Se.bufferProcessing=!1}D.prototype._write=function(Ie,Se,Le){Le(new Error("_write() is not implemented"))},D.prototype._writev=null,D.prototype.end=function(Ie,Se,Le){var He=this._writableState;typeof Ie=="function"?(Le=Ie,Ie=null,Se=null):typeof Se=="function"&&(Le=Se,Se=null),Ie!=null&&this.write(Ie,Se),He.corked&&(He.corked=1,this.uncork()),!He.ending&&!He.finished&&ge(this,He,Le)};function J(Ie){return Ie.ending&&Ie.length===0&&Ie.bufferedRequest===null&&!Ie.finished&&!Ie.writing}function ae(Ie,Se){Ie._final(function(Le){Se.pendingcb--,Le&&Ie.emit("error",Le),Se.prefinished=!0,Ie.emit("prefinish"),$(Ie,Se)})}function se(Ie,Se){!Se.prefinished&&!Se.finalCalled&&(typeof Ie._final=="function"?(Se.pendingcb++,Se.finalCalled=!0,l.nextTick(ae,Ie,Se)):(Se.prefinished=!0,Ie.emit("prefinish")))}function $(Ie,Se){var Le=J(Se);return Le&&(se(Ie,Se),Se.pendingcb===0&&(Se.finished=!0,Ie.emit("finish"))),Le}function ge(Ie,Se,Le){Se.ending=!0,$(Ie,Se),Le&&(Se.finished?l.nextTick(Le):Ie.once("finish",Le)),Se.ended=!0,Ie.writable=!1}function he(Ie,Se,Le){var He=Ie.entry;for(Ie.entry=null;He;){var G=He.callback;Se.pendingcb--,G(Le),He=He.next}Se.corkedRequestsFree?Se.corkedRequestsFree.next=Ie:Se.corkedRequestsFree=Ie}Object.defineProperty(D.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Se){if(!this._writableState)return;this._writableState.destroyed=Se}}),D.prototype.destroy=x.destroy,D.prototype._undestroy=x.undestroy,D.prototype._destroy=function(Ie,Se){this.end(),Se(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,P,d){"use strict";function w(v,p){if(!(v instanceof p))throw new TypeError("Cannot call a class as a function")}var A=M("safe-buffer").Buffer,b=M("util");function m(v,p,s){v.copy(p,s)}P.exports=function(){function v(){w(this,v),this.head=null,this.tail=null,this.length=0}return v.prototype.push=function(s){var u={data:s,next:null};this.length>0?this.tail.next=u:this.head=u,this.tail=u,++this.length},v.prototype.unshift=function(s){var u={data:s,next:this.head};this.length===0&&(this.tail=u),this.head=u,++this.length},v.prototype.shift=function(){if(this.length===0)return;var s=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,s},v.prototype.clear=function(){this.head=this.tail=null,this.length=0},v.prototype.join=function(s){if(this.length===0)return"";for(var u=this.head,o=""+u.data;u=u.next;)o+=s+u.data;return o},v.prototype.concat=function(s){if(this.length===0)return A.alloc(0);if(this.length===1)return this.head.data;for(var u=A.allocUnsafe(s>>>0),o=this.head,e=0;o;)m(o.data,u,e),e+=o.data.length,o=o.next;return u},v}(),b&&b.inspect&&b.inspect.custom&&(P.exports.prototype[b.inspect.custom]=function(){var v=b.inspect({length:this.length});return this.constructor.name+" "+v})},{"safe-buffer":228,util:71}],220:[function(M,P,d){"use strict";var w=M("process-nextick-args");function A(v,p){var s=this,u=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return u||o?(p?p(v):v&&(!this._writableState||!this._writableState.errorEmitted)&&w.nextTick(m,this,v),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(v||null,function(e){!p&&e?(w.nextTick(m,s,e),s._writableState&&(s._writableState.errorEmitted=!0)):p&&p(e)}),this)}function b(){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(v,p){v.emit("error",p)}P.exports={destroy:A,undestroy:b}},{"process-nextick-args":207}],221:[function(M,P,d){"use strict";P.exports=M("events").EventEmitter},{events:192}],222:[function(M,P,d){P.exports=M("./readable").PassThrough},{"./readable":223}],223:[function(M,P,d){d=P.exports=M("./lib/_stream_readable.js"),d.Stream=d,d.Readable=d,d.Writable=M("./lib/_stream_writable.js"),d.Duplex=M("./lib/_stream_duplex.js"),d.Transform=M("./lib/_stream_transform.js"),d.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,P,d){P.exports=M("./readable").Transform},{"./readable":223}],225:[function(M,P,d){P.exports=M("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(M,P,d){var w=function(){return this}()||Function("return this")(),A=w.regeneratorRuntime&&Object.getOwnPropertyNames(w).indexOf("regeneratorRuntime")>=0,b=A&&w.regeneratorRuntime;if(w.regeneratorRuntime=void 0,P.exports=M("./runtime"),A)w.regeneratorRuntime=b;else try{delete w.regeneratorRuntime}catch(m){w.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(M,P,d){!function(w){"use strict";var A=Object.prototype,b=A.hasOwnProperty,m,v=typeof Symbol=="function"?Symbol:{},p=v.iterator||"@@iterator",s=v.asyncIterator||"@@asyncIterator",u=v.toStringTag||"@@toStringTag",o=typeof P=="object",e=w.regeneratorRuntime;if(e){o&&(P.exports=e);return}e=w.regeneratorRuntime=o?P.exports:{};function r(W,R,j,H){var K=R&&R.prototype instanceof h?R:h,U=Object.create(K.prototype),Q=new B(H||[]);return U._invoke=_(W,j,Q),U}e.wrap=r;function i(W,R,j){try{return{type:"normal",arg:W.call(R,j)}}catch(H){return{type:"throw",arg:H}}}var n="suspendedStart",l="suspendedYield",t="executing",a="completed",c={};function h(){}function f(){}function g(){}var S={};S[p]=function(){return this};var y=Object.getPrototypeOf,E=y&&y(y(N([])));E&&E!==A&&b.call(E,p)&&(S=E);var C=g.prototype=h.prototype=Object.create(S);f.prototype=C.constructor=g,g.constructor=f,g[u]=f.displayName="GeneratorFunction";function T(W){["next","throw","return"].forEach(function(R){W[R]=function(j){return this._invoke(R,j)}})}e.isGeneratorFunction=function(W){var R=typeof W=="function"&&W.constructor;return R?R===f||(R.displayName||R.name)==="GeneratorFunction":!1},e.mark=function(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,g):(W.__proto__=g,u in W||(W[u]="GeneratorFunction")),W.prototype=Object.create(C),W},e.awrap=function(W){return{__await:W}};function x(W){function R(K,U,Q,V){var J=i(W[K],W,U);if(J.type==="throw")V(J.arg);else{var ae=J.arg,se=ae.value;return se&&typeof se=="object"&&b.call(se,"__await")?Promise.resolve(se.__await).then(function($){R("next",$,Q,V)},function($){R("throw",$,Q,V)}):Promise.resolve(se).then(function($){ae.value=$,Q(ae)},V)}}var j;function H(K,U){function Q(){return new Promise(function(V,J){R(K,U,V,J)})}return j=j?j.then(Q,Q):Q()}this._invoke=H}T(x.prototype),x.prototype[s]=function(){return this},e.AsyncIterator=x,e.async=function(W,R,j,H){var K=new x(r(W,R,j,H));return e.isGeneratorFunction(R)?K:K.next().then(function(U){return U.done?U.value:K.next()})};function _(W,R,j){var H=n;return function(U,Q){if(H===t)throw new Error("Generator is already running");if(H===a){if(U==="throw")throw Q;return k()}for(j.method=U,j.arg=Q;;){var V=j.delegate;if(V){var J=I(V,j);if(J){if(J===c)continue;return J}}if(j.method==="next")j.sent=j._sent=j.arg;else if(j.method==="throw"){if(H===n)throw H=a,j.arg;j.dispatchException(j.arg)}else j.method==="return"&&j.abrupt("return",j.arg);H=t;var ae=i(W,R,j);if(ae.type==="normal"){if(H=j.done?a:l,ae.arg===c)continue;return{value:ae.arg,done:j.done}}else ae.type==="throw"&&(H=a,j.method="throw",j.arg=ae.arg)}}}function I(W,R){var j=W.iterator[R.method];if(j===m){if(R.delegate=null,R.method==="throw"){if(W.iterator.return&&(R.method="return",R.arg=m,I(W,R),R.method==="throw"))return c;R.method="throw",R.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var H=i(j,W.iterator,R.arg);if(H.type==="throw")return R.method="throw",R.arg=H.arg,R.delegate=null,c;var K=H.arg;if(!K)return R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,c;if(K.done)R[W.resultName]=K.value,R.next=W.nextLoc,R.method!=="return"&&(R.method="next",R.arg=m);else return K;return R.delegate=null,c}T(C),C[u]="Generator",C[p]=function(){return this},C.toString=function(){return"[object Generator]"};function L(W){var R={tryLoc:W[0]};1 in W&&(R.catchLoc=W[1]),2 in W&&(R.finallyLoc=W[2],R.afterLoc=W[3]),this.tryEntries.push(R)}function D(W){var R=W.completion||{};R.type="normal",delete R.arg,W.completion=R}function B(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(L,this),this.reset(!0)}e.keys=function(W){var R=[];for(var j in W)R.push(j);return R.reverse(),function H(){for(;R.length;){var K=R.pop();if(K in W)return H.value=K,H.done=!1,H}return H.done=!0,H}};function N(W){if(W){var R=W[p];if(R)return R.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var j=-1,H=function K(){for(;++j<W.length;)if(b.call(W,j))return K.value=W[j],K.done=!1,K;return K.value=m,K.done=!0,K};return H.next=H}}return{next:k}}e.values=N;function k(){return{value:m,done:!0}}B.prototype={constructor:B,reset:function(R){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(D),!R)for(var j in this)j.charAt(0)==="t"&&b.call(this,j)&&!isNaN(+j.slice(1))&&(this[j]=m)},stop:function(){this.done=!0;var R=this.tryEntries[0],j=R.completion;if(j.type==="throw")throw j.arg;return this.rval},dispatchException:function(R){if(this.done)throw R;var j=this;function H(ae,se){return Q.type="throw",Q.arg=R,j.next=ae,se&&(j.method="next",j.arg=m),!!se}for(var K=this.tryEntries.length-1;K>=0;--K){var U=this.tryEntries[K],Q=U.completion;if(U.tryLoc==="root")return H("end");if(U.tryLoc<=this.prev){var V=b.call(U,"catchLoc"),J=b.call(U,"finallyLoc");if(V&&J){if(this.prev<U.catchLoc)return H(U.catchLoc,!0);if(this.prev<U.finallyLoc)return H(U.finallyLoc)}else if(V){if(this.prev<U.catchLoc)return H(U.catchLoc,!0)}else if(J){if(this.prev<U.finallyLoc)return H(U.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(R,j){for(var H=this.tryEntries.length-1;H>=0;--H){var K=this.tryEntries[H];if(K.tryLoc<=this.prev&&b.call(K,"finallyLoc")&&this.prev<K.finallyLoc){var U=K;break}}U&&(R==="break"||R==="continue")&&U.tryLoc<=j&&j<=U.finallyLoc&&(U=null);var Q=U?U.completion:{};return Q.type=R,Q.arg=j,U?(this.method="next",this.next=U.finallyLoc,c):this.complete(Q)},complete:function(R,j){if(R.type==="throw")throw R.arg;return R.type==="break"||R.type==="continue"?this.next=R.arg:R.type==="return"?(this.rval=this.arg=R.arg,this.method="return",this.next="end"):R.type==="normal"&&j&&(this.next=j),c},finish:function(R){for(var j=this.tryEntries.length-1;j>=0;--j){var H=this.tryEntries[j];if(H.finallyLoc===R)return this.complete(H.completion,H.afterLoc),D(H),c}},catch:function(R){for(var j=this.tryEntries.length-1;j>=0;--j){var H=this.tryEntries[j];if(H.tryLoc===R){var K=H.completion;if(K.type==="throw"){var U=K.arg;D(H)}return U}}throw new Error("illegal catch attempt")},delegateYield:function(R,j,H){return this.delegate={iterator:N(R),resultName:j,nextLoc:H},this.method==="next"&&(this.arg=m),c}}}(function(){return this}()||Function("return this")())},{}],228:[function(M,P,d){var w=M("buffer"),A=w.Buffer;function b(v,p){for(var s in v)p[s]=v[s]}A.from&&A.alloc&&A.allocUnsafe&&A.allocUnsafeSlow?P.exports=w:(b(w,d),d.Buffer=m);function m(v,p,s){return A(v,p,s)}b(A,m),m.from=function(v,p,s){if(typeof v=="number")throw new TypeError("Argument must not be a number");return A(v,p,s)},m.alloc=function(v,p,s){if(typeof v!="number")throw new TypeError("Argument must be a number");var u=A(v);return p!==void 0?typeof s=="string"?u.fill(p,s):u.fill(p):u.fill(0),u},m.allocUnsafe=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return A(v)},m.allocUnsafeSlow=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return w.SlowBuffer(v)}},{buffer:73}],229:[function(M,P,d){(function(w){"use strict";var A=M("babel-runtime/core-js/string/from-code-point"),b=l(A),m=M("babel-runtime/core-js/json/stringify"),v=l(m),p=M("babel-runtime/helpers/typeof"),s=l(p),u=M("babel-runtime/core-js/object/define-property"),o=l(u),e=M("babel-runtime/core-js/object/keys"),r=l(e),i=M("babel-runtime/core-js/object/create"),n=l(i);function l(t){return t&&t.__esModule?t:{default:t}}(function(t){t.parser=function(z,Z){return new c(z,Z)},t.SAXParser=c,t.SAXStream=C,t.createStream=E,t.MAX_BUFFER_LENGTH=64*1024;var a=["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 c(z,Z){if(!(this instanceof c))return new c(z,Z);var be=this;f(be),be.q=be.c="",be.bufferCheckPosition=t.MAX_BUFFER_LENGTH,be.opt=Z||{},be.opt.lowercase=be.opt.lowercase||be.opt.lowercasetags,be.looseCase=be.opt.lowercase?"toLowerCase":"toUpperCase",be.tags=[],be.closed=be.closedRoot=be.sawRoot=!1,be.tag=be.error=null,be.strict=!!z,be.noscript=!!(z||be.opt.noscript),be.state=U.BEGIN,be.strictEntities=be.opt.strictEntities,be.ENTITIES=be.strictEntities?(0,n.default)(t.XML_ENTITIES):(0,n.default)(t.ENTITIES),be.attribList=[],be.opt.xmlns&&(be.ns=(0,n.default)(L)),be.trackPosition=be.opt.position!==!1,be.trackPosition&&(be.position=be.line=be.column=0),V(be,"onready")}n.default||(Object.create=function(z){function Z(){}Z.prototype=z;var be=new Z;return be}),r.default||(Object.keys=function(z){var Z=[];for(var be in z)z.hasOwnProperty(be)&&Z.push(be);return Z});function h(z){for(var Z=Math.max(t.MAX_BUFFER_LENGTH,10),be=0,ne=0,Ae=a.length;ne<Ae;ne++){var Ne=z[a[ne]].length;if(Ne>Z)switch(a[ne]){case"textNode":ae(z);break;case"cdata":J(z,"oncdata",z.cdata),z.cdata="";break;case"script":J(z,"onscript",z.script),z.script="";break;default:$(z,"Max buffer length exceeded: "+a[ne])}be=Math.max(be,Ne)}var oe=t.MAX_BUFFER_LENGTH-be;z.bufferCheckPosition=oe+z.position}function f(z){for(var Z=0,be=a.length;Z<be;Z++)z[a[Z]]=""}function g(z){ae(z),z.cdata!==""&&(J(z,"oncdata",z.cdata),z.cdata=""),z.script!==""&&(J(z,"onscript",z.script),z.script="")}c.prototype={end:function(){ge(this)},write:X,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){g(this)}};var S;try{S=M("stream").Stream}catch(z){S=function(){}}var y=t.EVENTS.filter(function(z){return z!=="error"&&z!=="end"});function E(z,Z){return new C(z,Z)}function C(z,Z){if(!(this instanceof C))return new C(z,Z);S.apply(this),this._parser=new c(z,Z),this.writable=!0,this.readable=!0;var be=this;this._parser.onend=function(){be.emit("end")},this._parser.onerror=function(ne){be.emit("error",ne),be._parser.error=null},this._decoder=null,y.forEach(function(ne){(0,o.default)(be,"on"+ne,{get:function(){return be._parser["on"+ne]},set:function(Ne){if(!Ne)return be.removeAllListeners(ne),be._parser["on"+ne]=Ne,Ne;be.on(ne,Ne)},enumerable:!0,configurable:!1})})}C.prototype=(0,n.default)(S.prototype,{constructor:{value:C}}),C.prototype.write=function(z){if(typeof w=="function"&&typeof w.isBuffer=="function"&&w.isBuffer(z)){if(!this._decoder){var Z=M("string_decoder").StringDecoder;this._decoder=new Z("utf8")}z=this._decoder.write(z)}return this._parser.write(z.toString()),this.emit("data",z),!0},C.prototype.end=function(z){return z&&z.length&&this.write(z),this._parser.end(),!0},C.prototype.on=function(z,Z){var be=this;return!be._parser["on"+z]&&y.indexOf(z)!==-1&&(be._parser["on"+z]=function(){var ne=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);ne.splice(0,0,z),be.emit.apply(be,ne)}),S.prototype.on.call(be,z,Z)};var T="[CDATA[",x="DOCTYPE",_="http://www.w3.org/XML/1998/namespace",I="http://www.w3.org/2000/xmlns/",L={xml:_,xmlns:I},D=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,B=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,N=/[#:_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-]/;function W(z){return z===" "||z===`
|
|
|
`||z==="\r"||z===" "}function R(z){return z==='"'||z==="'"}function j(z){return z===">"||W(z)}function H(z,Z){return z.test(Z)}function K(z,Z){return!H(z,Z)}var U=0;t.STATE={BEGIN:U++,BEGIN_WHITESPACE:U++,TEXT:U++,TEXT_ENTITY:U++,OPEN_WAKA:U++,SGML_DECL:U++,SGML_DECL_QUOTED:U++,DOCTYPE:U++,DOCTYPE_QUOTED:U++,DOCTYPE_DTD:U++,DOCTYPE_DTD_QUOTED:U++,COMMENT_STARTING:U++,COMMENT:U++,COMMENT_ENDING:U++,COMMENT_ENDED:U++,CDATA:U++,CDATA_ENDING:U++,CDATA_ENDING_2:U++,PROC_INST:U++,PROC_INST_BODY:U++,PROC_INST_ENDING:U++,OPEN_TAG:U++,OPEN_TAG_SLASH:U++,ATTRIB:U++,ATTRIB_NAME:U++,ATTRIB_NAME_SAW_WHITE:U++,ATTRIB_VALUE:U++,ATTRIB_VALUE_QUOTED:U++,ATTRIB_VALUE_CLOSED:U++,ATTRIB_VALUE_UNQUOTED:U++,ATTRIB_VALUE_ENTITY_Q:U++,ATTRIB_VALUE_ENTITY_U:U++,CLOSE_TAG:U++,CLOSE_TAG_SAW_WHITE:U++,SCRIPT:U++,SCRIPT_ENDING:U++},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,r.default)(t.ENTITIES).forEach(function(z){var Z=t.ENTITIES[z],be=typeof Z=="number"?String.fromCharCode(Z):Z;t.ENTITIES[z]=be});for(var Q in t.STATE)t.STATE[t.STATE[Q]]=Q;U=t.STATE;function V(z,Z,be){z[Z]&&z[Z](be)}function J(z,Z,be){z.textNode&&ae(z),V(z,Z,be)}function ae(z){z.textNode=se(z.opt,z.textNode),z.textNode&&V(z,"ontext",z.textNode),z.textNode=""}function se(z,Z){return z.trim&&(Z=Z.trim()),z.normalize&&(Z=Z.replace(/\s+/g," ")),Z}function $(z,Z){return ae(z),z.trackPosition&&(Z+=`
|
|
|
Line: `+z.line+`
|
|
|
Column: `+z.column+`
|
|
|
Char: `+z.c),Z=new Error(Z),z.error=Z,V(z,"onerror",Z),z}function ge(z){return z.sawRoot&&!z.closedRoot&&he(z,"Unclosed root tag"),z.state!==U.BEGIN&&z.state!==U.BEGIN_WHITESPACE&&z.state!==U.TEXT&&$(z,"Unexpected end"),ae(z),z.c="",z.closed=!0,V(z,"onend"),c.call(z,z.strict,z.opt),z}function he(z,Z){if((typeof z=="undefined"?"undefined":(0,s.default)(z))!=="object"||!(z instanceof c))throw new Error("bad call to strictFail");z.strict&&$(z,Z)}function Ie(z){z.strict||(z.tagName=z.tagName[z.looseCase]());var Z=z.tags[z.tags.length-1]||z,be=z.tag={name:z.tagName,attributes:{}};z.opt.xmlns&&(be.ns=Z.ns),z.attribList.length=0,J(z,"onopentagstart",be)}function Se(z,Z){var be=z.indexOf(":"),ne=be<0?["",z]:z.split(":"),Ae=ne[0],Ne=ne[1];return Z&&z==="xmlns"&&(Ae="xmlns",Ne=""),{prefix:Ae,local:Ne}}function Le(z){if(z.strict||(z.attribName=z.attribName[z.looseCase]()),z.attribList.indexOf(z.attribName)!==-1||z.tag.attributes.hasOwnProperty(z.attribName)){z.attribName=z.attribValue="";return}if(z.opt.xmlns){var Z=Se(z.attribName,!0),be=Z.prefix,ne=Z.local;if(be==="xmlns")if(ne==="xml"&&z.attribValue!==_)he(z,"xml: prefix must be bound to "+_+`
|
|
|
Actual: `+z.attribValue);else if(ne==="xmlns"&&z.attribValue!==I)he(z,"xmlns: prefix must be bound to "+I+`
|
|
|
Actual: `+z.attribValue);else{var Ae=z.tag,Ne=z.tags[z.tags.length-1]||z;Ae.ns===Ne.ns&&(Ae.ns=(0,n.default)(Ne.ns)),Ae.ns[ne]=z.attribValue}z.attribList.push([z.attribName,z.attribValue])}else z.tag.attributes[z.attribName]=z.attribValue,J(z,"onattribute",{name:z.attribName,value:z.attribValue});z.attribName=z.attribValue=""}function He(z,Z){if(z.opt.xmlns){var be=z.tag,ne=Se(z.tagName);be.prefix=ne.prefix,be.local=ne.local,be.uri=be.ns[ne.prefix]||"",be.prefix&&!be.uri&&(he(z,"Unbound namespace prefix: "+(0,v.default)(z.tagName)),be.uri=ne.prefix);var Ae=z.tags[z.tags.length-1]||z;be.ns&&Ae.ns!==be.ns&&(0,r.default)(be.ns).forEach(function(nt){J(z,"onopennamespace",{prefix:nt,uri:be.ns[nt]})});for(var Ne=0,oe=z.attribList.length;Ne<oe;Ne++){var de=z.attribList[Ne],xe=de[0],Pe=de[1],tt=Se(xe,!0),Je=tt.prefix,Oe=tt.local,pt=Je===""?"":be.ns[Je]||"",Qe={name:xe,value:Pe,prefix:Je,local:Oe,uri:pt};Je&&Je!=="xmlns"&&!pt&&(he(z,"Unbound namespace prefix: "+(0,v.default)(Je)),Qe.uri=Je),z.tag.attributes[xe]=Qe,J(z,"onattribute",Qe)}z.attribList.length=0}z.tag.isSelfClosing=!!Z,z.sawRoot=!0,z.tags.push(z.tag),J(z,"onopentag",z.tag),Z||(!z.noscript&&z.tagName.toLowerCase()==="script"?z.state=U.SCRIPT:z.state=U.TEXT,z.tag=null,z.tagName=""),z.attribName=z.attribValue="",z.attribList.length=0}function G(z){if(!z.tagName){he(z,"Weird empty close tag."),z.textNode+="</>",z.state=U.TEXT;return}if(z.script){if(z.tagName!=="script"){z.script+="</"+z.tagName+">",z.tagName="",z.state=U.SCRIPT;return}J(z,"onscript",z.script),z.script=""}var Z=z.tags.length,be=z.tagName;z.strict||(be=be[z.looseCase]());for(var ne=be;Z--;){var Ae=z.tags[Z];if(Ae.name!==ne)he(z,"Unexpected close tag");else break}if(Z<0){he(z,"Unmatched closing tag: "+z.tagName),z.textNode+="</"+z.tagName+">",z.state=U.TEXT;return}z.tagName=be;for(var Ne=z.tags.length;Ne-- >Z;){var oe=z.tag=z.tags.pop();z.tagName=z.tag.name,J(z,"onclosetag",z.tagName);var de={};for(var xe in oe.ns)de[xe]=oe.ns[xe];var Pe=z.tags[z.tags.length-1]||z;z.opt.xmlns&&oe.ns!==Pe.ns&&(0,r.default)(oe.ns).forEach(function(tt){var Je=oe.ns[tt];J(z,"onclosenamespace",{prefix:tt,uri:Je})})}Z===0&&(z.closedRoot=!0),z.tagName=z.attribValue=z.attribName="",z.attribList.length=0,z.state=U.TEXT}function pe(z){var Z=z.entity,be=Z.toLowerCase(),ne,Ae="";return z.ENTITIES[Z]?z.ENTITIES[Z]:z.ENTITIES[be]?z.ENTITIES[be]:(Z=be,Z.charAt(0)==="#"&&(Z.charAt(1)==="x"?(Z=Z.slice(2),ne=parseInt(Z,16),Ae=ne.toString(16)):(Z=Z.slice(1),ne=parseInt(Z,10),Ae=ne.toString(10))),Z=Z.replace(/^0+/,""),isNaN(ne)||Ae.toLowerCase()!==Z?(he(z,"Invalid character entity"),"&"+z.entity+";"):(0,b.default)(ne))}function We(z,Z){Z==="<"?(z.state=U.OPEN_WAKA,z.startTagPosition=z.position):W(Z)||(he(z,"Non-whitespace before first tag."),z.textNode=Z,z.state=U.TEXT)}function te(z,Z){var be="";return Z<z.length&&(be=z.charAt(Z)),be}function X(z){var Z=this;if(this.error)throw this.error;if(Z.closed)return $(Z,"Cannot write after close. Assign an onready handler.");if(z===null)return ge(Z);(typeof z=="undefined"?"undefined":(0,s.default)(z))==="object"&&(z=z.toString());for(var be=0,ne="";!(ne=te(z,be++),Z.c=ne,!ne);){Z.trackPosition&&(Z.position++,ne===`
|
|
|
`?(Z.line++,Z.column=0):Z.column++);switch(Z.state){case U.BEGIN:if(Z.state=U.BEGIN_WHITESPACE,ne==="\uFEFF")continue;We(Z,ne);continue;case U.BEGIN_WHITESPACE:We(Z,ne);continue;case U.TEXT:if(Z.sawRoot&&!Z.closedRoot){for(var Ae=be-1;ne&&ne!=="<"&&ne!=="&";)ne=te(z,be++),ne&&Z.trackPosition&&(Z.position++,ne===`
|
|
|
`?(Z.line++,Z.column=0):Z.column++);Z.textNode+=z.substring(Ae,be-1)}ne==="<"&&!(Z.sawRoot&&Z.closedRoot&&!Z.strict)?(Z.state=U.OPEN_WAKA,Z.startTagPosition=Z.position):(!W(ne)&&(!Z.sawRoot||Z.closedRoot)&&he(Z,"Text data outside of root node."),ne==="&"?Z.state=U.TEXT_ENTITY:Z.textNode+=ne);continue;case U.SCRIPT:ne==="<"?Z.state=U.SCRIPT_ENDING:Z.script+=ne;continue;case U.SCRIPT_ENDING:ne==="/"?Z.state=U.CLOSE_TAG:(Z.script+="<"+ne,Z.state=U.SCRIPT);continue;case U.OPEN_WAKA:if(ne==="!")Z.state=U.SGML_DECL,Z.sgmlDecl="";else if(!W(ne))if(H(D,ne))Z.state=U.OPEN_TAG,Z.tagName=ne;else if(ne==="/")Z.state=U.CLOSE_TAG,Z.tagName="";else if(ne==="?")Z.state=U.PROC_INST,Z.procInstName=Z.procInstBody="";else{if(he(Z,"Unencoded <"),Z.startTagPosition+1<Z.position){var Ne=Z.position-Z.startTagPosition;ne=new Array(Ne).join(" ")+ne}Z.textNode+="<"+ne,Z.state=U.TEXT}continue;case U.SGML_DECL:(Z.sgmlDecl+ne).toUpperCase()===T?(J(Z,"onopencdata"),Z.state=U.CDATA,Z.sgmlDecl="",Z.cdata=""):Z.sgmlDecl+ne==="--"?(Z.state=U.COMMENT,Z.comment="",Z.sgmlDecl=""):(Z.sgmlDecl+ne).toUpperCase()===x?(Z.state=U.DOCTYPE,(Z.doctype||Z.sawRoot)&&he(Z,"Inappropriately located doctype declaration"),Z.doctype="",Z.sgmlDecl=""):ne===">"?(J(Z,"onsgmldeclaration",Z.sgmlDecl),Z.sgmlDecl="",Z.state=U.TEXT):(R(ne)&&(Z.state=U.SGML_DECL_QUOTED),Z.sgmlDecl+=ne);continue;case U.SGML_DECL_QUOTED:ne===Z.q&&(Z.state=U.SGML_DECL,Z.q=""),Z.sgmlDecl+=ne;continue;case U.DOCTYPE:ne===">"?(Z.state=U.TEXT,J(Z,"ondoctype",Z.doctype),Z.doctype=!0):(Z.doctype+=ne,ne==="["?Z.state=U.DOCTYPE_DTD:R(ne)&&(Z.state=U.DOCTYPE_QUOTED,Z.q=ne));continue;case U.DOCTYPE_QUOTED:Z.doctype+=ne,ne===Z.q&&(Z.q="",Z.state=U.DOCTYPE);continue;case U.DOCTYPE_DTD:Z.doctype+=ne,ne==="]"?Z.state=U.DOCTYPE:R(ne)&&(Z.state=U.DOCTYPE_DTD_QUOTED,Z.q=ne);continue;case U.DOCTYPE_DTD_QUOTED:Z.doctype+=ne,ne===Z.q&&(Z.state=U.DOCTYPE_DTD,Z.q="");continue;case U.COMMENT:ne==="-"?Z.state=U.COMMENT_ENDING:Z.comment+=ne;continue;case U.COMMENT_ENDING:ne==="-"?(Z.state=U.COMMENT_ENDED,Z.comment=se(Z.opt,Z.comment),Z.comment&&J(Z,"oncomment",Z.comment),Z.comment=""):(Z.comment+="-"+ne,Z.state=U.COMMENT);continue;case U.COMMENT_ENDED:ne!==">"?(he(Z,"Malformed comment"),Z.comment+="--"+ne,Z.state=U.COMMENT):Z.state=U.TEXT;continue;case U.CDATA:ne==="]"?Z.state=U.CDATA_ENDING:Z.cdata+=ne;continue;case U.CDATA_ENDING:ne==="]"?Z.state=U.CDATA_ENDING_2:(Z.cdata+="]"+ne,Z.state=U.CDATA);continue;case U.CDATA_ENDING_2:ne===">"?(Z.cdata&&J(Z,"oncdata",Z.cdata),J(Z,"onclosecdata"),Z.cdata="",Z.state=U.TEXT):ne==="]"?Z.cdata+="]":(Z.cdata+="]]"+ne,Z.state=U.CDATA);continue;case U.PROC_INST:ne==="?"?Z.state=U.PROC_INST_ENDING:W(ne)?Z.state=U.PROC_INST_BODY:Z.procInstName+=ne;continue;case U.PROC_INST_BODY:if(!Z.procInstBody&&W(ne))continue;ne==="?"?Z.state=U.PROC_INST_ENDING:Z.procInstBody+=ne;continue;case U.PROC_INST_ENDING:ne===">"?(J(Z,"onprocessinginstruction",{name:Z.procInstName,body:Z.procInstBody}),Z.procInstName=Z.procInstBody="",Z.state=U.TEXT):(Z.procInstBody+="?"+ne,Z.state=U.PROC_INST_BODY);continue;case U.OPEN_TAG:H(B,ne)?Z.tagName+=ne:(Ie(Z),ne===">"?He(Z):ne==="/"?Z.state=U.OPEN_TAG_SLASH:(W(ne)||he(Z,"Invalid character in tag name"),Z.state=U.ATTRIB));continue;case U.OPEN_TAG_SLASH:ne===">"?(He(Z,!0),G(Z)):(he(Z,"Forward-slash in opening tag not followed by >"),Z.state=U.ATTRIB);continue;case U.ATTRIB:if(W(ne))continue;ne===">"?He(Z):ne==="/"?Z.state=U.OPEN_TAG_SLASH:H(D,ne)?(Z.attribName=ne,Z.attribValue="",Z.state=U.ATTRIB_NAME):he(Z,"Invalid attribute name");continue;case U.ATTRIB_NAME:ne==="="?Z.state=U.ATTRIB_VALUE:ne===">"?(he(Z,"Attribute without value"),Z.attribValue=Z.attribName,Le(Z),He(Z)):W(ne)?Z.state=U.ATTRIB_NAME_SAW_WHITE:H(B,ne)?Z.attribName+=ne:he(Z,"Invalid attribute name");continue;case U.ATTRIB_NAME_SAW_WHITE:if(ne==="=")Z.state=U.ATTRIB_VALUE;else{if(W(ne))continue;he(Z,"Attribute without value"),Z.tag.attributes[Z.attribName]="",Z.attribValue="",J(Z,"onattribute",{name:Z.attribName,value:""}),Z.attribName="",ne===">"?He(Z):H(D,ne)?(Z.attribName=ne,Z.state=U.ATTRIB_NAME):(he(Z,"Invalid attribute name"),Z.state=U.ATTRIB)}continue;case U.ATTRIB_VALUE:if(W(ne))continue;R(ne)?(Z.q=ne,Z.state=U.ATTRIB_VALUE_QUOTED):(he(Z,"Unquoted attribute value"),Z.state=U.ATTRIB_VALUE_UNQUOTED,Z.attribValue=ne);continue;case U.ATTRIB_VALUE_QUOTED:if(ne!==Z.q){ne==="&"?Z.state=U.ATTRIB_VALUE_ENTITY_Q:Z.attribValue+=ne;continue}Le(Z),Z.q="",Z.state=U.ATTRIB_VALUE_CLOSED;continue;case U.ATTRIB_VALUE_CLOSED:W(ne)?Z.state=U.ATTRIB:ne===">"?He(Z):ne==="/"?Z.state=U.OPEN_TAG_SLASH:H(D,ne)?(he(Z,"No whitespace between attributes"),Z.attribName=ne,Z.attribValue="",Z.state=U.ATTRIB_NAME):he(Z,"Invalid attribute name");continue;case U.ATTRIB_VALUE_UNQUOTED:if(!j(ne)){ne==="&"?Z.state=U.ATTRIB_VALUE_ENTITY_U:Z.attribValue+=ne;continue}Le(Z),ne===">"?He(Z):Z.state=U.ATTRIB;continue;case U.CLOSE_TAG:if(Z.tagName)ne===">"?G(Z):H(B,ne)?Z.tagName+=ne:Z.script?(Z.script+="</"+Z.tagName,Z.tagName="",Z.state=U.SCRIPT):(W(ne)||he(Z,"Invalid tagname in closing tag"),Z.state=U.CLOSE_TAG_SAW_WHITE);else{if(W(ne))continue;K(D,ne)?Z.script?(Z.script+="</"+ne,Z.state=U.SCRIPT):he(Z,"Invalid tagname in closing tag."):Z.tagName=ne}continue;case U.CLOSE_TAG_SAW_WHITE:if(W(ne))continue;ne===">"?G(Z):he(Z,"Invalid characters in closing tag");continue;case U.TEXT_ENTITY:case U.ATTRIB_VALUE_ENTITY_Q:case U.ATTRIB_VALUE_ENTITY_U:var oe,de;switch(Z.state){case U.TEXT_ENTITY:oe=U.TEXT,de="textNode";break;case U.ATTRIB_VALUE_ENTITY_Q:oe=U.ATTRIB_VALUE_QUOTED,de="attribValue";break;case U.ATTRIB_VALUE_ENTITY_U:oe=U.ATTRIB_VALUE_UNQUOTED,de="attribValue";break}ne===";"?(Z[de]+=pe(Z),Z.entity="",Z.state=oe):H(Z.entity.length?k:N,ne)?Z.entity+=ne:(he(Z,"Invalid character in entity name"),Z[de]+="&"+Z.entity+ne,Z.entity="",Z.state=oe);continue;default:throw new Error(Z,"Unknown state: "+Z.state)}}return Z.position>=Z.bufferCheckPosition&&h(Z),Z}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */b.default||function(){var z=String.fromCharCode,Z=Math.floor,be=function(){var Ae=16384,Ne=[],oe,de,xe=-1,Pe=arguments.length;if(!Pe)return"";for(var tt="";++xe<Pe;){var Je=Number(arguments[xe]);if(!isFinite(Je)||Je<0||Je>1114111||Z(Je)!==Je)throw RangeError("Invalid code point: "+Je);Je<=65535?Ne.push(Je):(Je-=65536,oe=(Je>>10)+55296,de=Je%1024+56320,Ne.push(oe,de)),(xe+1===Pe||Ne.length>Ae)&&(tt+=z.apply(null,Ne),Ne.length=0)}return tt};o.default?Object.defineProperty(String,"fromCodePoint",{value:be,configurable:!0,writable:!0}):String.fromCodePoint=be}()})(typeof d=="undefined"?(void 0).sax={}:d)}).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,P,d){P.exports=b;var w=M("events").EventEmitter,A=M("inherits");A(b,w),b.Readable=M("readable-stream/readable.js"),b.Writable=M("readable-stream/writable.js"),b.Duplex=M("readable-stream/duplex.js"),b.Transform=M("readable-stream/transform.js"),b.PassThrough=M("readable-stream/passthrough.js"),b.Stream=b;function b(){w.call(this)}b.prototype.pipe=function(m,v){var p=this;function s(l){m.writable&&(m.write(l)===!1&&p.pause&&p.pause())}p.on("data",s);function u(){p.readable&&p.resume&&p.resume()}m.on("drain",u),!m._isStdio&&(!v||v.end!==!1)&&(p.on("end",e),p.on("close",r));var o=!1;function e(){if(o)return;o=!0,m.end()}function r(){if(o)return;o=!0,typeof m.destroy=="function"&&m.destroy()}function i(l){if(n(),w.listenerCount(this,"error")===0)throw l}p.on("error",i),m.on("error",i);function n(){p.removeListener("data",s),m.removeListener("drain",u),p.removeListener("end",e),p.removeListener("close",r),p.removeListener("error",i),m.removeListener("error",i),p.removeListener("end",n),p.removeListener("close",n),m.removeListener("close",n)}return p.on("end",n),p.on("close",n),m.on("close",n),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,P,d){(function(w){var A=M("./lib/request"),b=M("./lib/response"),m=M("xtend"),v=M("builtin-status-codes"),p=M("url"),s=d;s.request=function(u,o){typeof u=="string"?u=p.parse(u):u=m(u);var e=w.location.protocol.search(/^https?:$/)===-1?"http:":"",r=u.protocol||e,i=u.hostname||u.host,n=u.port,l=u.path||"/";i&&i.indexOf(":")!==-1&&(i="["+i+"]"),u.url=(i?r+"//"+i:"")+(n?":"+n:"")+l,u.method=(u.method||"GET").toUpperCase(),u.headers=u.headers||{};var t=new A(u);return o&&t.on("response",o),t},s.get=function(o,e){var r=s.request(o,e);return r.end(),r},s.ClientRequest=A,s.IncomingMessage=b.IncomingMessage,s.Agent=function(){},s.Agent.defaultMaxSockets=4,s.globalAgent=new s.Agent,s.STATUS_CODES=v,s.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,P,d){(function(w){"use strict";d.fetch=s(w.fetch)&&s(w.ReadableStream),d.writableStream=s(w.WritableStream),d.abortController=s(w.AbortController),d.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),d.blobConstructor=!0}catch(u){}var A;function b(){if(A!==void 0)return A;if(w.XMLHttpRequest){A=new w.XMLHttpRequest;try{A.open("GET",w.XDomainRequest?"/":"https://example.com")}catch(u){A=null}}else A=null;return A}function m(u){var o=b();if(!o)return!1;try{return o.responseType=u,o.responseType===u}catch(e){}return!1}var v=typeof w.ArrayBuffer!="undefined",p=v&&s(w.ArrayBuffer.prototype.slice);d.arraybuffer=d.fetch||v&&m("arraybuffer"),d.msstream=!d.fetch&&p&&m("ms-stream"),d.mozchunkedarraybuffer=!d.fetch&&v&&m("moz-chunked-arraybuffer"),d.overrideMimeType=d.fetch||(b()?s(b().overrideMimeType):!1),d.vbArray=s(w.VBArray);function s(u){return typeof u=="function"}A=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(M,P,d){(function(w,A,b){"use strict";var m=M("babel-runtime/core-js/object/keys"),v=p(m);function p(h){return h&&h.__esModule?h:{default:h}}var s=M("./capability"),u=M("inherits"),o=M("./response"),e=M("readable-stream"),r=M("to-arraybuffer"),i=o.IncomingMessage,n=o.readyStates;function l(h,f){return s.fetch&&f?"fetch":s.mozchunkedarraybuffer?"moz-chunked-arraybuffer":s.msstream?"ms-stream":s.arraybuffer&&h?"arraybuffer":s.vbArray&&h?"text:vbarray":"text"}var t=P.exports=function(h){var f=this;e.Writable.call(f),f._opts=h,f._body=[],f._headers={},h.auth&&f.setHeader("Authorization","Basic "+new b(h.auth).toString("base64")),(0,v.default)(h.headers).forEach(function(y){f.setHeader(y,h.headers[y])});var g,S=!0;if(h.mode==="disable-fetch"||"requestTimeout"in h&&!s.abortController)S=!1,g=!0;else if(h.mode==="prefer-streaming")g=!1;else if(h.mode==="allow-wrong-content-type")g=!s.overrideMimeType;else if(!h.mode||h.mode==="default"||h.mode==="prefer-fast")g=!0;else throw new Error("Invalid value for opts.mode");f._mode=l(g,S),f._fetchTimer=null,f.on("finish",function(){f._onFinish()})};u(t,e.Writable),t.prototype.setHeader=function(h,f){var g=this,S=h.toLowerCase();if(c.indexOf(S)!==-1)return;g._headers[S]={name:h,value:f}},t.prototype.getHeader=function(h){var f=this._headers[h.toLowerCase()];return f?f.value:null},t.prototype.removeHeader=function(h){var f=this;delete f._headers[h.toLowerCase()]},t.prototype._onFinish=function(){var h=this;if(h._destroyed)return;var f=h._opts,g=h._headers,S=null;f.method!=="GET"&&f.method!=="HEAD"&&(s.arraybuffer?S=r(b.concat(h._body)):s.blobConstructor?S=new A.Blob(h._body.map(function(_){return r(_)}),{type:(g["content-type"]||{}).value||""}):S=b.concat(h._body).toString());var y=[];if((0,v.default)(g).forEach(function(_){var I=g[_].name,L=g[_].value;Array.isArray(L)?L.forEach(function(D){y.push([I,D])}):y.push([I,L])}),h._mode==="fetch"){var E=null,C=null;if(s.abortController){var T=new AbortController;E=T.signal,h._fetchAbortController=T,"requestTimeout"in f&&f.requestTimeout!==0&&(h._fetchTimer=A.setTimeout(function(){h.emit("requestTimeout"),h._fetchAbortController&&h._fetchAbortController.abort()},f.requestTimeout))}A.fetch(h._opts.url,{method:h._opts.method,headers:y,body:S||void 0,mode:"cors",credentials:f.withCredentials?"include":"same-origin",signal:E}).then(function(_){h._fetchResponse=_,h._connect()},function(_){A.clearTimeout(h._fetchTimer),h._destroyed||h.emit("error",_)})}else{var x=h._xhr=new A.XMLHttpRequest;try{x.open(h._opts.method,h._opts.url,!0)}catch(_){w.nextTick(function(){h.emit("error",_)});return}"responseType"in x&&(x.responseType=h._mode.split(":")[0]),"withCredentials"in x&&(x.withCredentials=!!f.withCredentials),h._mode==="text"&&"overrideMimeType"in x&&x.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in f&&(x.timeout=f.requestTimeout,x.ontimeout=function(){h.emit("requestTimeout")}),y.forEach(function(_){x.setRequestHeader(_[0],_[1])}),h._response=null,x.onreadystatechange=function(){switch(x.readyState){case n.LOADING:case n.DONE:h._onXHRProgress();break}},h._mode==="moz-chunked-arraybuffer"&&(x.onprogress=function(){h._onXHRProgress()}),x.onerror=function(){if(h._destroyed)return;h.emit("error",new Error("XHR error"))};try{x.send(S)}catch(_){w.nextTick(function(){h.emit("error",_)});return}}};function a(h){try{var f=h.status;return f!==null&&f!==0}catch(g){return!1}}t.prototype._onXHRProgress=function(){var h=this;if(!a(h._xhr)||h._destroyed)return;h._response||h._connect(),h._response._onXHRProgress()},t.prototype._connect=function(){var h=this;if(h._destroyed)return;h._response=new i(h._xhr,h._fetchResponse,h._mode,h._fetchTimer),h._response.on("error",function(f){h.emit("error",f)}),h.emit("response",h._response)},t.prototype._write=function(h,f,g){var S=this;S._body.push(h),g()},t.prototype.abort=t.prototype.destroy=function(){var h=this;h._destroyed=!0,A.clearTimeout(h._fetchTimer),h._response&&(h._response._destroyed=!0),h._xhr?h._xhr.abort():h._fetchAbortController&&h._fetchAbortController.abort()},t.prototype.end=function(h,f,g){var S=this;typeof h=="function"&&(g=h,h=void 0),e.Writable.prototype.end.call(S,h,f,g)},t.prototype.flushHeaders=function(){},t.prototype.setTimeout=function(){},t.prototype.setNoDelay=function(){},t.prototype.setSocketKeepAlive=function(){};var c=["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,P,d){(function(w,A,b){"use strict";var m=M("babel-runtime/core-js/promise"),v=p(m);function p(i){return i&&i.__esModule?i:{default:i}}var s=M("./capability"),u=M("inherits"),o=M("readable-stream"),e=d.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},r=d.IncomingMessage=function(i,n,l,t){var a=this;if(o.Readable.call(a),a._mode=l,a.headers={},a.rawHeaders=[],a.trailers={},a.rawTrailers=[],a.on("end",function(){w.nextTick(function(){a.emit("close")})}),l==="fetch"){var c=function E(){f.read().then(function(C){if(a._destroyed)return;if(C.done){A.clearTimeout(t),a.push(null);return}a.push(new b(C.value)),E()}).catch(function(C){A.clearTimeout(t),a._destroyed||a.emit("error",C)})};if(a._fetchResponse=n,a.url=n.url,a.statusCode=n.status,a.statusMessage=n.statusText,n.headers.forEach(function(E,C){a.headers[C.toLowerCase()]=E,a.rawHeaders.push(C,E)}),s.writableStream){var h=new WritableStream({write:function(C){return new v.default(function(T,x){a._destroyed?x():a.push(new b(C))?T():a._resumeFetch=T})},close:function(){A.clearTimeout(t),a._destroyed||a.push(null)},abort:function(C){a._destroyed||a.emit("error",C)}});try{n.body.pipeTo(h).catch(function(E){A.clearTimeout(t),a._destroyed||a.emit("error",E)});return}catch(E){}}var f=n.body.getReader();c()}else{a._xhr=i,a._pos=0,a.url=i.responseURL,a.statusCode=i.status,a.statusMessage=i.statusText;var g=i.getAllResponseHeaders().split(/\r?\n/);if(g.forEach(function(E){var C=E.match(/^([^:]+):\s*(.*)/);if(C){var T=C[1].toLowerCase();T==="set-cookie"?(a.headers[T]===void 0&&(a.headers[T]=[]),a.headers[T].push(C[2])):a.headers[T]!==void 0?a.headers[T]+=", "+C[2]:a.headers[T]=C[2],a.rawHeaders.push(C[1],C[2])}}),a._charset="x-user-defined",!s.overrideMimeType){var S=a.rawHeaders["mime-type"];if(S){var y=S.match(/;\s*charset=([^;])(;|$)/);y&&(a._charset=y[1].toLowerCase())}a._charset||(a._charset="utf-8")}}};u(r,o.Readable),r.prototype._read=function(){var i=this,n=i._resumeFetch;n&&(i._resumeFetch=null,n())},r.prototype._onXHRProgress=function(){var i=this,n=i._xhr,l=null;switch(i._mode){case"text:vbarray":if(n.readyState!==e.DONE)break;try{l=new A.VBArray(n.responseBody).toArray()}catch(f){}if(l!==null){i.push(new b(l));break}case"text":try{l=n.responseText}catch(f){i._mode="text:vbarray";break}if(l.length>i._pos){var t=l.substr(i._pos);if(i._charset==="x-user-defined"){for(var a=new b(t.length),c=0;c<t.length;c++)a[c]=t.charCodeAt(c)&255;i.push(a)}else i.push(t,i._charset);i._pos=l.length}break;case"arraybuffer":if(n.readyState!==e.DONE||!n.response)break;l=n.response,i.push(new b(new Uint8Array(l)));break;case"moz-chunked-arraybuffer":if(l=n.response,n.readyState!==e.LOADING||!l)break;i.push(new b(new Uint8Array(l)));break;case"ms-stream":if(l=n.response,n.readyState!==e.LOADING)break;var h=new A.MSStreamReader;h.onprogress=function(){h.result.byteLength>i._pos&&(i.push(new b(new Uint8Array(h.result.slice(i._pos)))),i._pos=h.result.byteLength)},h.onload=function(){i.push(null)},h.readAsArrayBuffer(l);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,P,d){"use strict";var w=M("safe-buffer").Buffer,A=w.isEncoding||function(h){h=""+h;switch(h&&h.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function b(h){if(!h)return"utf8";for(var f;;)switch(h){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return h;default:if(f)return;h=(""+h).toLowerCase(),f=!0}}function m(h){var f=b(h);if(typeof f!="string"&&(w.isEncoding===A||!A(h)))throw new Error("Unknown encoding: "+h);return f||h}d.StringDecoder=v;function v(h){this.encoding=m(h);var f;switch(this.encoding){case"utf16le":this.text=i,this.end=n,f=4;break;case"utf8":this.fillLast=o,f=4;break;case"base64":this.text=l,this.end=t,f=3;break;default:this.write=a,this.end=c;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=w.allocUnsafe(f)}v.prototype.write=function(h){if(h.length===0)return"";var f,g;if(this.lastNeed){if(f=this.fillLast(h),f===void 0)return"";g=this.lastNeed,this.lastNeed=0}else g=0;return g<h.length?f?f+this.text(h,g):this.text(h,g):f||""},v.prototype.end=r,v.prototype.text=e,v.prototype.fillLast=function(h){if(this.lastNeed<=h.length)return h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,h.length),this.lastNeed-=h.length};function p(h){return h<=127?0:h>>5===6?2:h>>4===14?3:h>>3===30?4:h>>6===2?-1:-2}function s(h,f,g){var S=f.length-1;if(S<g)return 0;var y=p(f[S]);return y>=0?(y>0&&(h.lastNeed=y-1),y):--S<g||y===-2?0:(y=p(f[S]),y>=0?(y>0&&(h.lastNeed=y-2),y):--S<g||y===-2?0:(y=p(f[S]),y>=0?(y>0&&(y===2?y=0:h.lastNeed=y-3),y):0))}function u(h,f,g){if((f[0]&192)!==128)return h.lastNeed=0,"\uFFFD";if(h.lastNeed>1&&f.length>1){if((f[1]&192)!==128)return h.lastNeed=1,"\uFFFD";if(h.lastNeed>2&&f.length>2&&(f[2]&192)!==128)return h.lastNeed=2,"\uFFFD"}}function o(h){var f=this.lastTotal-this.lastNeed,g=u(this,h,f);if(g!==void 0)return g;if(this.lastNeed<=h.length)return h.copy(this.lastChar,f,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,f,0,h.length),this.lastNeed-=h.length}function e(h,f){var g=s(this,h,f);if(!this.lastNeed)return h.toString("utf8",f);this.lastTotal=g;var S=h.length-(g-this.lastNeed);return h.copy(this.lastChar,0,S),h.toString("utf8",f,S)}function r(h){var f=h&&h.length?this.write(h):"";return this.lastNeed?f+"\uFFFD":f}function i(h,f){if((h.length-f)%2===0){var g=h.toString("utf16le",f);if(g){var S=g.charCodeAt(g.length-1);if(S>=55296&&S<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1],g.slice(0,-1)}return g}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",f,h.length-1)}function n(h){var f=h&&h.length?this.write(h):"";if(this.lastNeed){var g=this.lastTotal-this.lastNeed;return f+this.lastChar.toString("utf16le",0,g)}return f}function l(h,f){var g=(h.length-f)%3;return g===0?h.toString("base64",f):(this.lastNeed=3-g,this.lastTotal=3,g===1?this.lastChar[0]=h[h.length-1]:(this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1]),h.toString("base64",f,h.length-g))}function t(h){var f=h&&h.length?this.write(h):"";return this.lastNeed?f+this.lastChar.toString("base64",0,3-this.lastNeed):f}function a(h){return h.toString(this.encoding)}function c(h){return h&&h.length?this.write(h):""}},{"safe-buffer":228}],236:[function(M,P,d){(function(w,A){var b=M("process/browser.js").nextTick,m=Function.prototype.apply,v=Array.prototype.slice,p={},s=0;d.setTimeout=function(){return new u(m.call(setTimeout,window,arguments),clearTimeout)},d.setInterval=function(){return new u(m.call(setInterval,window,arguments),clearInterval)},d.clearTimeout=d.clearInterval=function(o){o.close()};function u(o,e){this._id=o,this._clearFn=e}u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},d.enroll=function(o,e){clearTimeout(o._idleTimeoutId),o._idleTimeout=e},d.unenroll=function(o){clearTimeout(o._idleTimeoutId),o._idleTimeout=-1},d._unrefActive=d.active=function(o){clearTimeout(o._idleTimeoutId);var e=o._idleTimeout;e>=0&&(o._idleTimeoutId=setTimeout(function(){o._onTimeout&&o._onTimeout()},e))},d.setImmediate=typeof w=="function"?w:function(o){var e=s++,r=arguments.length<2?!1:v.call(arguments,1);return p[e]=!0,b(function(){p[e]&&(r?o.apply(null,r):o.call(null),d.clearImmediate(e))}),e},d.clearImmediate=typeof A=="function"?A:function(o){delete p[o]}}).call(this,M("timers").setImmediate,M("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(M,P,d){var w=M("buffer").Buffer;P.exports=function(A){if(A instanceof Uint8Array){if(A.byteOffset===0&&A.byteLength===A.buffer.byteLength)return A.buffer;if(typeof A.buffer.slice=="function")return A.buffer.slice(A.byteOffset,A.byteOffset+A.byteLength)}if(w.isBuffer(A)){for(var b=new Uint8Array(A.length),m=A.length,v=0;v<m;v++)b[v]=A[v];return b.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(M,P,d){"use strict";var w=M("punycode"),A=M("./util");d.parse=f,d.resolve=S,d.resolveObject=y,d.format=g,d.Url=b;function b(){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,v=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],u=["{","}","|","\\","^","`"].concat(s),o=["'"].concat(u),e=["%","/","?",";","#"].concat(o),r=["/","?","#"],i=255,n=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,t={javascript:!0,"javascript:":!0},a={javascript:!0,"javascript:":!0},c={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},h=M("querystring");function f(E,C,T){if(E&&A.isObject(E)&&E instanceof b)return E;var x=new b;return x.parse(E,C,T),x}b.prototype.parse=function(E,C,T){if(!A.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 D=E;if(D=D.trim(),!T&&E.split("#").length===1){var B=p.exec(D);if(B)return this.path=D,this.href=D,this.pathname=B[1],B[2]?(this.search=B[2],C?this.query=h.parse(this.search.substr(1)):this.query=this.search.substr(1)):C&&(this.search="",this.query={}),this}var N=m.exec(D);if(N){N=N[0];var k=N.toLowerCase();this.protocol=k,D=D.substr(N.length)}if(T||N||D.match(/^\/\/[^@\/]+@[^@\/]+/)){var W=D.substr(0,2)==="//";W&&!(N&&a[N])&&(D=D.substr(2),this.slashes=!0)}if(!a[N]&&(W||N&&!c[N])){for(var R=-1,j=0;j<r.length;j++){var H=D.indexOf(r[j]);H!==-1&&(R===-1||H<R)&&(R=H)}var K,U;R===-1?U=D.lastIndexOf("@"):U=D.lastIndexOf("@",R),U!==-1&&(K=D.slice(0,U),D=D.slice(U+1),this.auth=decodeURIComponent(K)),R=-1;for(var j=0;j<e.length;j++){var H=D.indexOf(e[j]);H!==-1&&(R===-1||H<R)&&(R=H)}R===-1&&(R=D.length),this.host=D.slice(0,R),D=D.slice(R),this.parseHost(),this.hostname=this.hostname||"";var Q=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Q)for(var V=this.hostname.split(/\./),j=0,J=V.length;j<J;j++){var ae=V[j];if(!ae)continue;if(!ae.match(n)){for(var se="",$=0,ge=ae.length;$<ge;$++)ae.charCodeAt($)>127?se+="x":se+=ae[$];if(!se.match(n)){var he=V.slice(0,j),Ie=V.slice(j+1),Se=ae.match(l);Se&&(he.push(Se[1]),Ie.unshift(Se[2])),Ie.length&&(D="/"+Ie.join(".")+D),this.hostname=he.join(".");break}}}this.hostname.length>i?this.hostname="":this.hostname=this.hostname.toLowerCase(),Q||(this.hostname=w.toASCII(this.hostname));var Le=this.port?":"+this.port:"",He=this.hostname||"";this.host=He+Le,this.href+=this.host,Q&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),D[0]!=="/"&&(D="/"+D))}if(!t[k])for(var j=0,J=o.length;j<J;j++){var G=o[j];if(D.indexOf(G)===-1)continue;var pe=encodeURIComponent(G);pe===G&&(pe=escape(G)),D=D.split(G).join(pe)}var We=D.indexOf("#");We!==-1&&(this.hash=D.substr(We),D=D.slice(0,We));var te=D.indexOf("?");if(te!==-1?(this.search=D.substr(te),this.query=D.substr(te+1),C&&(this.query=h.parse(this.query)),D=D.slice(0,te)):C&&(this.search="",this.query={}),D&&(this.pathname=D),c[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Le=this.pathname||"",X=this.search||"";this.path=Le+X}return this.href=this.format(),this};function g(E){return A.isString(E)&&(E=f(E)),E instanceof b?E.format():b.prototype.format.call(E)}b.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&&A.isObject(this.query)&&Object.keys(this.query).length&&(I=h.stringify(this.query));var L=this.search||I&&"?"+I||"";return C&&C.substr(-1)!==":"&&(C+=":"),this.slashes||(!C||c[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(D){return encodeURIComponent(D)}),L=L.replace("#","%23"),C+_+T+L+x};function S(E,C){return f(E,!1,!0).resolve(C)}b.prototype.resolve=function(E){return this.resolveObject(f(E,!1,!0)).format()};function y(E,C){return E?f(E,!1,!0).resolveObject(C):C}b.prototype.resolveObject=function(E){if(A.isString(E)){var C=new b;C.parse(E,!1,!0),E=C}for(var T=new b,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),D=0;D<L.length;D++){var B=L[D];B!=="protocol"&&(T[B]=E[B])}return c[T.protocol]&&T.hostname&&!T.pathname&&(T.path=T.pathname="/"),T.href=T.format(),T}if(E.protocol&&E.protocol!==T.protocol){if(!c[E.protocol]){for(var N=Object.keys(E),k=0;k<N.length;k++){var W=N[k];T[W]=E[W]}return T.href=T.format(),T}if(T.protocol=E.protocol,!E.host&&!a[E.protocol]){for(var J=(E.pathname||"").split("/");J.length&&!(E.host=J.shift()););E.host||(E.host=""),E.hostname||(E.hostname=""),J[0]!==""&&J.unshift(""),J.length<2&&J.unshift(""),T.pathname=J.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 R=T.pathname||"",j=T.search||"";T.path=R+j}return T.slashes=T.slashes||E.slashes,T.href=T.format(),T}var H=T.pathname&&T.pathname.charAt(0)==="/",K=E.host||E.pathname&&E.pathname.charAt(0)==="/",U=K||H||T.host&&E.pathname,Q=U,V=T.pathname&&T.pathname.split("/")||[],J=E.pathname&&E.pathname.split("/")||[],ae=T.protocol&&!c[T.protocol];if(ae&&(T.hostname="",T.port=null,T.host&&(V[0]===""?V[0]=T.host:V.unshift(T.host)),T.host="",E.protocol&&(E.hostname=null,E.port=null,E.host&&(J[0]===""?J[0]=E.host:J.unshift(E.host)),E.host=null),U=U&&(J[0]===""||V[0]==="")),K)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,V=J;else if(J.length)V||(V=[]),V.pop(),V=V.concat(J),T.search=E.search,T.query=E.query;else if(!A.isNullOrUndefined(E.search)){if(ae){T.hostname=T.host=V.shift();var se=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;se&&(T.auth=se.shift(),T.host=T.hostname=se.shift())}return T.search=E.search,T.query=E.query,(!A.isNull(T.pathname)||!A.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.href=T.format(),T}if(!V.length)return T.pathname=null,T.search?T.path="/"+T.search:T.path=null,T.href=T.format(),T;for(var $=V.slice(-1)[0],ge=(T.host||E.host||V.length>1)&&($==="."||$==="..")||$==="",he=0,Ie=V.length;Ie>=0;Ie--)$=V[Ie],$==="."?V.splice(Ie,1):$===".."?(V.splice(Ie,1),he++):he&&(V.splice(Ie,1),he--);if(!U&&!Q)for(;he--;he)V.unshift("..");U&&V[0]!==""&&(!V[0]||V[0].charAt(0)!=="/")&&V.unshift(""),ge&&V.join("/").substr(-1)!=="/"&&V.push("");var Se=V[0]===""||V[0]&&V[0].charAt(0)==="/";if(ae){T.hostname=T.host=Se?"":V.length?V.shift():"";var se=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;se&&(T.auth=se.shift(),T.host=T.hostname=se.shift())}return U=U||T.host&&V.length,U&&!Se&&V.unshift(""),V.length?T.pathname=V.join("/"):(T.pathname=null,T.path=null),(!A.isNull(T.pathname)||!A.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},b.prototype.parseHost=function(){var E=this.host,C=v.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,P,d){"use strict";P.exports={isString:function(A){return typeof A=="string"},isObject:function(A){return typeof A=="object"&&A!==null},isNull:function(A){return A===null},isNullOrUndefined:function(A){return A==null}}},{}],240:[function(M,P,d){(function(w){P.exports=A;function A(m,v){if(b("noDeprecation"))return m;var p=!1;function s(){if(!p){if(b("throwDeprecation"))throw new Error(v);b("traceDeprecation")?console.trace(v):console.warn(v),p=!0}return m.apply(this,arguments)}return s}function b(m){try{if(!w.localStorage)return!1}catch(p){return!1}var v=w.localStorage[m];return v==null?!1:String(v).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(M,P,d){typeof Object.create=="function"?P.exports=function(A,b){A.super_=b,A.prototype=Object.create(b.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}})}:P.exports=function(A,b){A.super_=b;var m=function(){};m.prototype=b.prototype,A.prototype=new m,A.prototype.constructor=A}},{}],242:[function(M,P,d){P.exports=function(A){return A&&typeof A=="object"&&typeof A.copy=="function"&&typeof A.fill=="function"&&typeof A.readUInt8=="function"}},{}],243:[function(M,P,d){(function(w,A){var b=/%[sdj%]/g;d.format=function(R){if(!S(R)){for(var j=[],H=0;H<arguments.length;H++)j.push(p(arguments[H]));return j.join(" ")}for(var H=1,K=arguments,U=K.length,Q=String(R).replace(b,function(J){if(J==="%%")return"%";if(H>=U)return J;switch(J){case"%s":return String(K[H++]);case"%d":return Number(K[H++]);case"%j":try{return JSON.stringify(K[H++])}catch(ae){return"[Circular]"}default:return J}}),V=K[H];H<U;V=K[++H])h(V)||!T(V)?Q+=" "+V:Q+=" "+p(V);return Q},d.deprecate=function(R,j){if(E(A.process))return function(){return d.deprecate(R,j).apply(this,arguments)};if(w.noDeprecation===!0)return R;var H=!1;function K(){if(!H){if(w.throwDeprecation)throw new Error(j);w.traceDeprecation?console.trace(j):console.error(j),H=!0}return R.apply(this,arguments)}return K};var m={},v;d.debuglog=function(R){if(E(v)&&(v=w.env.NODE_DEBUG||""),R=R.toUpperCase(),!m[R])if(new RegExp("\\b"+R+"\\b","i").test(v)){var j=w.pid;m[R]=function(){var H=d.format.apply(d,arguments);console.error("%s %d: %s",R,j,H)}}else m[R]=function(){};return m[R]};function p(R,j){var H={seen:[],stylize:u};return arguments.length>=3&&(H.depth=arguments[2]),arguments.length>=4&&(H.colors=arguments[3]),c(j)?H.showHidden=j:j&&d._extend(H,j),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=s),e(H,R,H.depth)}d.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 s(R,j){var H=p.styles[j];return H?"["+p.colors[H][0]+"m"+R+"["+p.colors[H][1]+"m":R}function u(R,j){return R}function o(R){var j={};return R.forEach(function(H,K){j[H]=!0}),j}function e(R,j,H){if(R.customInspect&&j&&I(j.inspect)&&j.inspect!==d.inspect&&!(j.constructor&&j.constructor.prototype===j)){var K=j.inspect(H,R);return S(K)||(K=e(R,K,H)),K}var U=r(R,j);if(U)return U;var Q=Object.keys(j),V=o(Q);if(R.showHidden&&(Q=Object.getOwnPropertyNames(j)),_(j)&&(Q.indexOf("message")>=0||Q.indexOf("description")>=0))return i(j);if(Q.length===0){if(I(j)){var J=j.name?": "+j.name:"";return R.stylize("[Function"+J+"]","special")}if(C(j))return R.stylize(RegExp.prototype.toString.call(j),"regexp");if(x(j))return R.stylize(Date.prototype.toString.call(j),"date");if(_(j))return i(j)}var ae="",se=!1,$=["{","}"];if(a(j)&&(se=!0,$=["[","]"]),I(j)){var ge=j.name?": "+j.name:"";ae=" [Function"+ge+"]"}if(C(j)&&(ae=" "+RegExp.prototype.toString.call(j)),x(j)&&(ae=" "+Date.prototype.toUTCString.call(j)),_(j)&&(ae=" "+i(j)),Q.length===0&&(!se||j.length==0))return $[0]+ae+$[1];if(H<0)return C(j)?R.stylize(RegExp.prototype.toString.call(j),"regexp"):R.stylize("[Object]","special");R.seen.push(j);var he;return se?he=n(R,j,H,V,Q):he=Q.map(function(Ie){return l(R,j,H,V,Ie,se)}),R.seen.pop(),t(he,ae,$)}function r(R,j){if(E(j))return R.stylize("undefined","undefined");if(S(j)){var H="'"+JSON.stringify(j).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return R.stylize(H,"string")}if(g(j))return R.stylize(""+j,"number");if(c(j))return R.stylize(""+j,"boolean");if(h(j))return R.stylize("null","null")}function i(R){return"["+Error.prototype.toString.call(R)+"]"}function n(R,j,H,K,U){for(var Q=[],V=0,J=j.length;V<J;++V)W(j,String(V))?Q.push(l(R,j,H,K,String(V),!0)):Q.push("");return U.forEach(function(ae){ae.match(/^\d+$/)||Q.push(l(R,j,H,K,ae,!0))}),Q}function l(R,j,H,K,U,Q){var V,J,ae;if(ae=Object.getOwnPropertyDescriptor(j,U)||{value:j[U]},ae.get?ae.set?J=R.stylize("[Getter/Setter]","special"):J=R.stylize("[Getter]","special"):ae.set&&(J=R.stylize("[Setter]","special")),W(K,U)||(V="["+U+"]"),J||(R.seen.indexOf(ae.value)<0?(h(H)?J=e(R,ae.value,null):J=e(R,ae.value,H-1),J.indexOf(`
|
|
|
`)>-1&&(Q?J=J.split(`
|
|
|
`).map(function(se){return" "+se}).join(`
|
|
|
`).substr(2):J=`
|
|
|
`+J.split(`
|
|
|
`).map(function(se){return" "+se}).join(`
|
|
|
`))):J=R.stylize("[Circular]","special")),E(V)){if(Q&&U.match(/^\d+$/))return J;V=JSON.stringify(""+U),V.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(V=V.substr(1,V.length-2),V=R.stylize(V,"name")):(V=V.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),V=R.stylize(V,"string"))}return V+": "+J}function t(R,j,H){var K=0,U=R.reduce(function(Q,V){return K++,V.indexOf(`
|
|
|
`)>=0&&K++,Q+V.replace(/\u001b\[\d\d?m/g,"").length+1},0);return U>60?H[0]+(j===""?"":j+`
|
|
|
`)+" "+R.join(`,
|
|
|
`)+" "+H[1]:H[0]+j+" "+R.join(", ")+" "+H[1]}function a(R){return Array.isArray(R)}d.isArray=a;function c(R){return typeof R=="boolean"}d.isBoolean=c;function h(R){return R===null}d.isNull=h;function f(R){return R==null}d.isNullOrUndefined=f;function g(R){return typeof R=="number"}d.isNumber=g;function S(R){return typeof R=="string"}d.isString=S;function y(R){return typeof R=="symbol"}d.isSymbol=y;function E(R){return R===void 0}d.isUndefined=E;function C(R){return T(R)&&D(R)==="[object RegExp]"}d.isRegExp=C;function T(R){return typeof R=="object"&&R!==null}d.isObject=T;function x(R){return T(R)&&D(R)==="[object Date]"}d.isDate=x;function _(R){return T(R)&&(D(R)==="[object Error]"||R instanceof Error)}d.isError=_;function I(R){return typeof R=="function"}d.isFunction=I;function L(R){return R===null||typeof R=="boolean"||typeof R=="number"||typeof R=="string"||typeof R=="symbol"||typeof R=="undefined"}d.isPrimitive=L,d.isBuffer=M("./support/isBuffer");function D(R){return Object.prototype.toString.call(R)}function B(R){return R<10?"0"+R.toString(10):R.toString(10)}var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function k(){var R=new Date,j=[B(R.getHours()),B(R.getMinutes()),B(R.getSeconds())].join(":");return[R.getDate(),N[R.getMonth()],j].join(" ")}d.log=function(){console.log("%s - %s",k(),d.format.apply(d,arguments))},d.inherits=M("inherits"),d._extend=function(R,j){if(!j||!T(j))return R;for(var H=Object.keys(j),K=H.length;K--;)R[H[K]]=j[H[K]];return R};function W(R,j){return Object.prototype.hasOwnProperty.call(R,j)}}).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,P,d){"use strict";(function(){"use strict";d.stripBOM=function(w){return w[0]==="\uFEFF"?w.substring(1):w}}).call(void 0)},{}],245:[function(M,P,d){"use strict";var w=M("babel-runtime/helpers/typeof"),A=v(w),b=M("babel-runtime/core-js/object/keys"),m=v(b);function v(p){return p&&p.__esModule?p:{default:p}}(function(){"use strict";var p,s,u,o,e,r={}.hasOwnProperty;p=M("xmlbuilder"),s=M("./defaults").defaults,o=function(n){return typeof n=="string"&&(n.indexOf("&")>=0||n.indexOf(">")>=0||n.indexOf("<")>=0)},e=function(n){return"<![CDATA["+u(n)+"]]>"},u=function(n){return n.replace("]]>","]]]]><![CDATA[>")},d.Builder=function(){function i(n){var l,t,a;this.options={},t=s["0.2"];for(l in t){if(!r.call(t,l))continue;a=t[l],this.options[l]=a}for(l in n){if(!r.call(n,l))continue;a=n[l],this.options[l]=a}}return i.prototype.buildObject=function(n){var l,t,a,c,h;return l=this.options.attrkey,t=this.options.charkey,(0,m.default)(n).length===1&&this.options.rootName===s["0.2"].rootName?(h=(0,m.default)(n)[0],n=n[h]):h=this.options.rootName,a=function(f){return function(g,S){var y,E,C,T,x,_;if((typeof S=="undefined"?"undefined":(0,A.default)(S))!=="object")f.options.cdata&&o(S)?g.raw(e(S)):g.txt(S);else if(Array.isArray(S))for(T in S){if(!r.call(S,T))continue;E=S[T];for(x in E)C=E[x],g=a(g.ele(x),C).up()}else for(x in S){if(!r.call(S,x))continue;if(E=S[x],x===l){if((typeof E=="undefined"?"undefined":(0,A.default)(E))==="object")for(y in E)_=E[y],g=g.att(y,_)}else if(x===t)f.options.cdata&&o(E)?g=g.raw(e(E)):g=g.txt(E);else if(Array.isArray(E))for(T in E){if(!r.call(E,T))continue;C=E[T],typeof C=="string"?f.options.cdata&&o(C)?g=g.ele(x).raw(e(C)).up():g=g.ele(x,C).up():g=a(g.ele(x),C).up()}else(typeof E=="undefined"?"undefined":(0,A.default)(E))==="object"?g=a(g.ele(x),E).up():typeof E=="string"&&f.options.cdata&&o(E)?g=g.ele(x).raw(e(E)).up():(E==null&&(E=""),g=g.ele(x,E.toString()).up())}return g}}(this),c=p.create(h,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),a(c,n).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,P,d){"use strict";(function(){d.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,P,d){"use strict";var w=M("babel-runtime/core-js/promise"),A=o(w),b=M("babel-runtime/core-js/object/get-own-property-names"),m=o(b),v=M("babel-runtime/core-js/object/keys"),p=o(v),s=M("babel-runtime/helpers/typeof"),u=o(s);function o(e){return e&&e.__esModule?e:{default:e}}(function(){"use strict";var e,r,i,n,l,t,a,c,h=function(y,E){return function(){return y.apply(E,arguments)}},f=function(y,E){for(var C in E)g.call(E,C)&&(y[C]=E[C]);function T(){this.constructor=y}return T.prototype=E.prototype,y.prototype=new T,y.__super__=E.prototype,y},g={}.hasOwnProperty;a=M("sax"),i=M("events"),e=M("./bom"),t=M("./processors"),c=M("timers").setImmediate,r=M("./defaults").defaults,n=function(y){return(typeof y=="undefined"?"undefined":(0,u.default)(y))==="object"&&y!=null&&(0,p.default)(y).length===0},l=function(y,E,C){var T,x,_;for(T=0,x=y.length;T<x;T++)_=y[T],E=_(E,C);return E},d.Parser=function(S){f(y,S);function y(E){this.parseStringPromise=h(this.parseStringPromise,this),this.parseString=h(this.parseString,this),this.reset=h(this.reset,this),this.assignOrPush=h(this.assignOrPush,this),this.processAsync=h(this.processAsync,this);var C,T,x;if(!(this instanceof d.Parser))return new d.Parser(E);this.options={},T=r["0.2"];for(C in T){if(!g.call(T,C))continue;x=T[C],this.options[C]=x}for(C in E){if(!g.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 y.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),c(this.processAsync))}catch(T){if(C=T,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(C)}},y.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},y.prototype.reset=function(){var E,C,T,x;return this.removeAllListeners(),this.saxParser=a.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,D,B,N,k;if(B={},B[C]="",!_.options.ignoreAttrs){k=I.attributes;for(L in k){if(!g.call(k,L))continue;!(E in B)&&!_.options.mergeAttrs&&(B[E]={}),D=_.options.attrValueProcessors?l(_.options.attrValueProcessors,I.attributes[L],L):I.attributes[L],N=_.options.attrNameProcessors?l(_.options.attrNameProcessors,L):L,_.options.mergeAttrs?_.assignOrPush(B,N,D):B[E][N]=D}}return B["#name"]=_.options.tagNameProcessors?l(_.options.tagNameProcessors,I.name):I.name,_.options.xmlns&&(B[_.options.xmlnskey]={uri:I.uri,local:I.local}),x.push(B)}}(this),this.saxParser.onclosetag=function(_){return function(){var I,L,D,B,N,k,W,R,j,H;if(k=x.pop(),N=k["#name"],(!_.options.explicitChildren||!_.options.preserveChildrenOrder)&&delete k["#name"],k.cdata===!0&&(I=k.cdata,delete k.cdata),j=x[x.length-1],k[C].match(/^\s*$/)&&!I?(L=k[C],delete k[C]):(_.options.trim&&(k[C]=k[C].trim()),_.options.normalize&&(k[C]=k[C].replace(/\s{2,}/g," ").trim()),k[C]=_.options.valueProcessors?l(_.options.valueProcessors,k[C],N):k[C],(0,p.default)(k).length===1&&C in k&&!_.EXPLICIT_CHARKEY&&(k=k[C])),n(k)&&(k=_.options.emptyTag!==""?_.options.emptyTag:L),_.options.validator!=null&&(H="/"+function(){var K,U,Q;for(Q=[],K=0,U=x.length;K<U;K++)B=x[K],Q.push(B["#name"]);return Q}().concat(N).join("/"),function(){var K;try{return k=_.options.validator(H,j&&j[N],k)}catch(U){return K=U,_.emit("error",K)}}()),_.options.explicitChildren&&!_.options.mergeAttrs&&(typeof k=="undefined"?"undefined":(0,u.default)(k))==="object"){if(!_.options.preserveChildrenOrder)B={},_.options.attrkey in k&&(B[_.options.attrkey]=k[_.options.attrkey],delete k[_.options.attrkey]),!_.options.charsAsChildren&&_.options.charkey in k&&(B[_.options.charkey]=k[_.options.charkey],delete k[_.options.charkey]),(0,m.default)(k).length>0&&(B[_.options.childkey]=k),k=B;else if(j){j[_.options.childkey]=j[_.options.childkey]||[],W={};for(D in k){if(!g.call(k,D))continue;W[D]=k[D]}j[_.options.childkey].push(W),delete k["#name"],(0,p.default)(k).length===1&&C in k&&!_.EXPLICIT_CHARKEY&&(k=k[C])}}return x.length>0?_.assignOrPush(j,N,k):(_.options.explicitRoot&&(R=k,k={},k[N]=R),_.resultObject=k,_.saxParser.ended=!0,_.emit("end",_.resultObject))}}(this),T=function(_){return function(I){var L,D;if(D=x[x.length-1],D)return D[C]+=I,_.options.explicitChildren&&_.options.preserveChildrenOrder&&_.options.charsAsChildren&&(_.options.includeWhiteChars||I.replace(/\\n/g,"").trim()!=="")&&(D[_.options.childkey]=D[_.options.childkey]||[],L={"#name":"__text__"},L[C]=I,_.options.normalize&&(L[C]=L[C].replace(/\s{2,}/g," ").trim()),D[_.options.childkey].push(L)),D}}(this),this.saxParser.ontext=T,this.saxParser.oncdata=function(_){return function(I){var L;if(L=T(I),L)return L.cdata=!0}}(this)},y.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,c(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}},y.prototype.parseStringPromise=function(E){return new A.default(function(C){return function(T,x){return C.parseString(E,function(_,I){return _?x(_):T(I)})}}(this))},y}(i),d.parseString=function(S,y,E){var C,T,x;return E!=null?(typeof E=="function"&&(C=E),(typeof y=="undefined"?"undefined":(0,u.default)(y))==="object"&&(T=y)):(typeof y=="function"&&(C=y),T={}),x=new d.Parser(T),x.parseString(S,C)},d.parseStringPromise=function(S,y){var E,C;return(typeof y=="undefined"?"undefined":(0,u.default)(y))==="object"&&(E=y),C=new d.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,P,d){"use strict";(function(){"use strict";var w;w=new RegExp(/(?!xmlns)^.*:/),d.normalize=function(A){return A.toLowerCase()},d.firstCharLowerCase=function(A){return A.charAt(0).toLowerCase()+A.slice(1)},d.stripPrefix=function(A){return A.replace(w,"")},d.parseNumbers=function(A){return isNaN(A)||(A=A%1===0?parseInt(A,10):parseFloat(A)),A},d.parseBooleans=function(A){return/^(?:true|false)$/i.test(A)&&(A=A.toLowerCase()==="true"),A}}).call(void 0)},{}],249:[function(M,P,d){"use strict";(function(){"use strict";var w,A,b,m,v=function(u,o){for(var e in o)p.call(o,e)&&(u[e]=o[e]);function r(){this.constructor=u}return r.prototype=o.prototype,u.prototype=new r,u.__super__=o.prototype,u},p={}.hasOwnProperty;A=M("./defaults"),w=M("./builder"),b=M("./parser"),m=M("./processors"),d.defaults=A.defaults,d.processors=m,d.ValidationError=function(s){v(u,s);function u(o){this.message=o}return u}(Error),d.Builder=w.Builder,d.Parser=b.Parser,d.parseString=b.parseString,d.parseStringPromise=b.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(M,P,d){"use strict";(function(){P.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(M,P,d){"use strict";(function(){P.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,P,d){"use strict";var w=M("babel-runtime/core-js/object/get-prototype-of"),A=s(w),b=M("babel-runtime/helpers/typeof"),m=s(b),v=M("babel-runtime/core-js/object/assign"),p=s(v);function s(u){return u&&u.__esModule?u:{default:u}}(function(){var u,o,e,r,i,n,l,t=[].slice,a={}.hasOwnProperty;u=function(){var h,f,g,S,y,E;if(E=arguments[0],y=2<=arguments.length?t.call(arguments,1):[],i(p.default))p.default.apply(null,arguments);else for(h=0,g=y.length;h<g;h++)if(S=y[h],S!=null)for(f in S){if(!a.call(S,f))continue;E[f]=S[f]}return E},i=function(h){return!!h&&Object.prototype.toString.call(h)==="[object Function]"},n=function(h){var f;return!!h&&((f=typeof h=="undefined"?"undefined":(0,m.default)(h))==="function"||f==="object")},e=function(h){return i(Array.isArray)?Array.isArray(h):Object.prototype.toString.call(h)==="[object Array]"},r=function(h){var f;if(e(h))return!h.length;for(f in h){if(!a.call(h,f))continue;return!1}return!0},l=function(h){var f,g;return n(h)&&(g=(0,A.default)(h))&&(f=g.constructor)&&typeof f=="function"&&f instanceof f&&Function.prototype.toString.call(f)===Function.prototype.toString.call(Object)},o=function(h){return i(h.valueOf)?h.valueOf():h},P.exports.assign=u,P.exports.isFunction=i,P.exports.isObject=n,P.exports.isArray=e,P.exports.isEmpty=r,P.exports.isPlainObject=l,P.exports.getValue=o}).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,P,d){"use strict";(function(){P.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/create"),A=b(w);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,p;m=M("./NodeType"),p=M("./XMLNode"),P.exports=v=function(){function s(u,o,e){if(this.parent=u,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),o==null)throw new Error("Missing attribute name. "+this.debugInfo(o));this.name=this.stringify.name(o),this.value=this.stringify.attValue(e),this.type=m.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(s.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(s.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(s.prototype,"textContent",{get:function(){return this.value},set:function(o){return this.value=o||""}}),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,"specified",{get:function(){return!0}}),s.prototype.clone=function(){return(0,A.default)(this)},s.prototype.toString=function(u){return this.options.writer.attribute(this,this.options.writer.filterOptions(u))},s.prototype.debugInfo=function(u){return u=u||this.name,u==null?"parent: <"+this.parent.name+">":"attribute: {"+u+"}, parent: <"+this.parent.name+">"},s.prototype.isEqualNode=function(u){return u.namespaceURI!==this.namespaceURI||(u.prefix!==this.prefix||u.localName!==this.localName)?!1:!(u.value!==this.value)},s}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/create"),A=b(w);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,p,s=function(e,r){for(var i in r)u.call(r,i)&&(e[i]=r[i]);function n(){this.constructor=e}return n.prototype=r.prototype,e.prototype=new n,e.__super__=r.prototype,e},u={}.hasOwnProperty;m=M("./NodeType"),p=M("./XMLCharacterData"),P.exports=v=function(o){s(e,o);function e(r,i){if(e.__super__.constructor.call(this,r),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,A.default)(this)},e.prototype.toString=function(r){return this.options.writer.cdata(this,this.options.writer.filterOptions(r))},e}(p)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/create"),A=b(w);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,p=function(o,e){for(var r in e)s.call(e,r)&&(o[r]=e[r]);function i(){this.constructor=o}return i.prototype=e.prototype,o.prototype=new i,o.__super__=e.prototype,o},s={}.hasOwnProperty;v=M("./XMLNode"),P.exports=m=function(u){p(o,u);function o(e){o.__super__.constructor.call(this,e),this.value=""}return Object.defineProperty(o.prototype,"data",{get:function(){return this.value},set:function(r){return this.value=r||""}}),Object.defineProperty(o.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(o.prototype,"textContent",{get:function(){return this.value},set:function(r){return this.value=r||""}}),o.prototype.clone=function(){return(0,A.default)(this)},o.prototype.substringData=function(e,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.appendData=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.insertData=function(e,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.deleteData=function(e,r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.replaceData=function(e,r,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.isEqualNode=function(e){return o.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)?!(e.data!==this.data):!1},o}(v)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/create"),A=b(w);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,p,s=function(e,r){for(var i in r)u.call(r,i)&&(e[i]=r[i]);function n(){this.constructor=e}return n.prototype=r.prototype,e.prototype=new n,e.__super__=r.prototype,e},u={}.hasOwnProperty;m=M("./NodeType"),v=M("./XMLCharacterData"),P.exports=p=function(o){s(e,o);function e(r,i){if(e.__super__.constructor.call(this,r),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,A.default)(this)},e.prototype.toString=function(r){return this.options.writer.comment(this,this.options.writer.filterOptions(r))},e}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/keys"),A=v(w),b=M("babel-runtime/core-js/object/create"),m=v(b);function v(p){return p&&p.__esModule?p:{default:p}}(function(){var p,s,u;s=M("./XMLDOMErrorHandler"),u=M("./XMLDOMStringList"),P.exports=p=function(){function o(){var e;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new s,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(o.prototype,"parameterNames",{get:function(){return new u((0,A.default)(this.defaultParams))}}),o.prototype.getParameter=function(e){return this.params.hasOwnProperty(e)?this.params[e]:null},o.prototype.canSetParameter=function(e,r){return!0},o.prototype.setParameter=function(e,r){return r!=null?this.params[e]=r:delete this.params[e]},o}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(M,P,d){"use strict";(function(){var w;P.exports=w=function(){function A(){}return A.prototype.handleError=function(b){throw new Error(b)},A}()}).call(void 0)},{}],260:[function(M,P,d){"use strict";(function(){var w;P.exports=w=function(){function A(){}return A.prototype.hasFeature=function(b,m){return!0},A.prototype.createDocumentType=function(b,m,v){throw new Error("This DOM method is not implemented.")},A.prototype.createDocument=function(b,m,v){throw new Error("This DOM method is not implemented.")},A.prototype.createHTMLDocument=function(b){throw new Error("This DOM method is not implemented.")},A.prototype.getFeature=function(b,m){throw new Error("This DOM method is not implemented.")},A}()}).call(void 0)},{}],261:[function(M,P,d){"use strict";(function(){var w;P.exports=w=function(){function A(b){this.arr=b||[]}return Object.defineProperty(A.prototype,"length",{get:function(){return this.arr.length}}),A.prototype.item=function(b){return this.arr[b]||null},A.prototype.contains=function(b){return this.arr.indexOf(b)!==-1},A}()}).call(void 0)},{}],262:[function(M,P,d){"use strict";(function(){var w,A,b,m=function(s,u){for(var o in u)v.call(u,o)&&(s[o]=u[o]);function e(){this.constructor=s}return e.prototype=u.prototype,s.prototype=new e,s.__super__=u.prototype,s},v={}.hasOwnProperty;b=M("./XMLNode"),w=M("./NodeType"),P.exports=A=function(p){m(s,p);function s(u,o,e,r,i,n){if(s.__super__.constructor.call(this,u),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(e==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(o));if(!r)throw new Error("Missing DTD attribute type. "+this.debugInfo(o));if(!i)throw new Error("Missing DTD attribute default. "+this.debugInfo(o));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(o));if(n&&!i.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(o));this.elementName=this.stringify.name(o),this.type=w.AttributeDeclaration,this.attributeName=this.stringify.name(e),this.attributeType=this.stringify.dtdAttType(r),n&&(this.defaultValue=this.stringify.dtdAttDefault(n)),this.defaultValueType=i}return s.prototype.toString=function(u){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(u))},s}(b)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(M,P,d){"use strict";(function(){var w,A,b,m=function(s,u){for(var o in u)v.call(u,o)&&(s[o]=u[o]);function e(){this.constructor=s}return e.prototype=u.prototype,s.prototype=new e,s.__super__=u.prototype,s},v={}.hasOwnProperty;b=M("./XMLNode"),w=M("./NodeType"),P.exports=A=function(p){m(s,p);function s(u,o,e){if(s.__super__.constructor.call(this,u),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());e||(e="(#PCDATA)"),Array.isArray(e)&&(e="("+e.join(",")+")"),this.name=this.stringify.name(o),this.type=w.ElementDeclaration,this.value=this.stringify.dtdElementValue(e)}return s.prototype.toString=function(u){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(u))},s}(b)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(M,P,d){"use strict";(function(){var w,A,b,m,v=function(u,o){for(var e in o)p.call(o,e)&&(u[e]=o[e]);function r(){this.constructor=u}return r.prototype=o.prototype,u.prototype=new r,u.__super__=o.prototype,u},p={}.hasOwnProperty;m=M("./Utility").isObject,b=M("./XMLNode"),w=M("./NodeType"),P.exports=A=function(s){v(u,s);function u(o,e,r,i){if(u.__super__.constructor.call(this,o),r==null)throw new Error("Missing DTD entity name. "+this.debugInfo(r));if(i==null)throw new Error("Missing DTD entity value. "+this.debugInfo(r));if(this.pe=!!e,this.name=this.stringify.name(r),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(r));if(i.pubID&&!i.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(r));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(r))}}return Object.defineProperty(u.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(u.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(u.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(u.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(u.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(u.prototype,"xmlVersion",{get:function(){return null}}),u.prototype.toString=function(o){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(o))},u}(b)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(M,P,d){"use strict";(function(){var w,A,b,m=function(s,u){for(var o in u)v.call(u,o)&&(s[o]=u[o]);function e(){this.constructor=s}return e.prototype=u.prototype,s.prototype=new e,s.__super__=u.prototype,s},v={}.hasOwnProperty;b=M("./XMLNode"),w=M("./NodeType"),P.exports=A=function(p){m(s,p);function s(u,o,e){if(s.__super__.constructor.call(this,u),o==null)throw new Error("Missing DTD notation name. "+this.debugInfo(o));if(!e.pubID&&!e.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(o));this.name=this.stringify.name(o),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(s.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(s.prototype,"systemId",{get:function(){return this.sysID}}),s.prototype.toString=function(u){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(u))},s}(b)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(M,P,d){"use strict";(function(){var w,A,b,m,v=function(u,o){for(var e in o)p.call(o,e)&&(u[e]=o[e]);function r(){this.constructor=u}return r.prototype=o.prototype,u.prototype=new r,u.__super__=o.prototype,u},p={}.hasOwnProperty;m=M("./Utility").isObject,b=M("./XMLNode"),w=M("./NodeType"),P.exports=A=function(s){v(u,s);function u(o,e,r,i){var n;u.__super__.constructor.call(this,o),m(e)&&(n=e,e=n.version,r=n.encoding,i=n.standalone),e||(e="1.0"),this.type=w.Declaration,this.version=this.stringify.xmlVersion(e),r!=null&&(this.encoding=this.stringify.xmlEncoding(r)),i!=null&&(this.standalone=this.stringify.xmlStandalone(i))}return u.prototype.toString=function(o){return this.options.writer.declaration(this,this.options.writer.filterOptions(o))},u}(b)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(M,P,d){"use strict";(function(){var w,A,b,m,v,p,s,u,o,e=function(n,l){for(var t in l)r.call(l,t)&&(n[t]=l[t]);function a(){this.constructor=n}return a.prototype=l.prototype,n.prototype=new a,n.__super__=l.prototype,n},r={}.hasOwnProperty;o=M("./Utility").isObject,u=M("./XMLNode"),w=M("./NodeType"),A=M("./XMLDTDAttList"),m=M("./XMLDTDEntity"),b=M("./XMLDTDElement"),v=M("./XMLDTDNotation"),s=M("./XMLNamedNodeMap"),P.exports=p=function(i){e(n,i);function n(l,t,a){var c,h,f,g,S,y;if(n.__super__.constructor.call(this,l),this.type=w.DocType,l.children){for(g=l.children,h=0,f=g.length;h<f;h++)if(c=g[h],c.type===w.Element){this.name=c.name;break}}this.documentObject=l,o(t)&&(S=t,t=S.pubID,a=S.sysID),a==null&&(y=[t,a],a=y[0],t=y[1]),t!=null&&(this.pubID=this.stringify.dtdPubID(t)),a!=null&&(this.sysID=this.stringify.dtdSysID(a))}return Object.defineProperty(n.prototype,"entities",{get:function(){var t,a,c,h,f;for(h={},f=this.children,a=0,c=f.length;a<c;a++)t=f[a],t.type===w.EntityDeclaration&&!t.pe&&(h[t.name]=t);return new s(h)}}),Object.defineProperty(n.prototype,"notations",{get:function(){var t,a,c,h,f;for(h={},f=this.children,a=0,c=f.length;a<c;a++)t=f[a],t.type===w.NotationDeclaration&&(h[t.name]=t);return new s(h)}}),Object.defineProperty(n.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(n.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(n.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),n.prototype.element=function(l,t){var a;return a=new b(this,l,t),this.children.push(a),this},n.prototype.attList=function(l,t,a,c,h){var f;return f=new A(this,l,t,a,c,h),this.children.push(f),this},n.prototype.entity=function(l,t){var a;return a=new m(this,!1,l,t),this.children.push(a),this},n.prototype.pEntity=function(l,t){var a;return a=new m(this,!0,l,t),this.children.push(a),this},n.prototype.notation=function(l,t){var a;return a=new v(this,l,t),this.children.push(a),this},n.prototype.toString=function(l){return this.options.writer.docType(this,this.options.writer.filterOptions(l))},n.prototype.ele=function(l,t){return this.element(l,t)},n.prototype.att=function(l,t,a,c,h){return this.attList(l,t,a,c,h)},n.prototype.ent=function(l,t){return this.entity(l,t)},n.prototype.pent=function(l,t){return this.pEntity(l,t)},n.prototype.not=function(l,t){return this.notation(l,t)},n.prototype.up=function(){return this.root()||this.documentObject},n.prototype.isEqualNode=function(l){return n.__super__.isEqualNode.apply(this,arguments).isEqualNode(l)?l.name!==this.name||l.publicId!==this.publicId?!1:!(l.systemId!==this.systemId):!1},n}(u)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(M,P,d){"use strict";(function(){var w,A,b,m,v,p,s,u,o=function(i,n){for(var l in n)e.call(n,l)&&(i[l]=n[l]);function t(){this.constructor=i}return t.prototype=n.prototype,i.prototype=new t,i.__super__=n.prototype,i},e={}.hasOwnProperty;u=M("./Utility").isPlainObject,b=M("./XMLDOMImplementation"),A=M("./XMLDOMConfiguration"),v=M("./XMLNode"),w=M("./NodeType"),s=M("./XMLStringifier"),p=M("./XMLStringWriter"),P.exports=m=function(r){o(i,r);function i(n){i.__super__.constructor.call(this,null),this.name="#document",this.type=w.Document,this.documentURI=null,this.domConfig=new A,n||(n={}),n.writer||(n.writer=new p),this.options=n,this.stringify=new s(n)}return Object.defineProperty(i.prototype,"implementation",{value:new b}),Object.defineProperty(i.prototype,"doctype",{get:function(){var l,t,a,c;for(c=this.children,t=0,a=c.length;t<a;t++)if(l=c[t],l.type===w.DocType)return l;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(n){var l;return l={},n?u(n)&&(l=n,n=this.options.writer):n=this.options.writer,n.document(this,n.filterOptions(l))},i.prototype.toString=function(n){return this.options.writer.document(this,this.options.writer.filterOptions(n))},i.prototype.createElement=function(n){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(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createComment=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createCDATASection=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createProcessingInstruction=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createAttribute=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createEntityReference=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByTagName=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.importNode=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createElementNS=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createAttributeNS=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByTagNameNS=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementById=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.adoptNode=function(n){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(n,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByClassName=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createEvent=function(n){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(n,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createTreeWalker=function(n,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i}(v)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(M,P,d){"use strict";(function(){var w,A,b,m,v,p,s,u,o,e,r,i,n,l,t,a,c,h,f,g,S,y,E,C,T={}.hasOwnProperty;C=M("./Utility"),y=C.isObject,S=C.isFunction,E=C.isPlainObject,g=C.getValue,w=M("./NodeType"),i=M("./XMLDocument"),l=M("./XMLElement"),m=M("./XMLCData"),v=M("./XMLComment"),a=M("./XMLRaw"),f=M("./XMLText"),t=M("./XMLProcessingInstruction"),e=M("./XMLDeclaration"),r=M("./XMLDocType"),p=M("./XMLDTDAttList"),u=M("./XMLDTDEntity"),s=M("./XMLDTDElement"),o=M("./XMLDTDNotation"),b=M("./XMLAttribute"),h=M("./XMLStringifier"),c=M("./XMLStringWriter"),A=M("./WriterState"),P.exports=n=function(){function x(_,I,L){var D;this.name="?xml",this.type=w.Document,_||(_={}),D={},_.writer?E(_.writer)&&(D=_.writer,_.writer=new c):_.writer=new c,this.options=_,this.writer=_.writer,this.writerOptions=this.writer.filterOptions(D),this.stringify=new h(_),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,D,B,N,k,W,R;switch(_.type){case w.CData:this.cdata(_.value);break;case w.Comment:this.comment(_.value);break;case w.Element:D={},W=_.attribs;for(L in W){if(!T.call(W,L))continue;I=W[L],D[L]=I.value}this.node(_.name,D);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(R=_.children,N=0,k=R.length;N<k;N++)B=R[N],this.createChildNode(B),B.type===w.Element&&this.up();return this},x.prototype.dummy=function(){return this},x.prototype.node=function(_,I,L){var D;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(),_=g(_),I==null&&(I={}),I=g(I),y(I)||(D=[I,L],L=D[0],I=D[1]),this.currentNode=new l(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 D,B,N,k,W,R;if(this.currentNode&&this.currentNode.type===w.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(_)||y(_)||S(_))for(k=this.options.noValidation,this.options.noValidation=!0,R=new i(this.options).element("TEMP_ROOT"),R.element(_),this.options.noValidation=k,W=R.children,B=0,N=W.length;B<N;B++)D=W[B],this.createChildNode(D),D.type===w.Element&&this.up();else this.node(_,I,L);return this},x.prototype.attribute=function(_,I){var L,D;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&&(_=g(_)),y(_))for(L in _){if(!T.call(_,L))continue;D=_[L],this.attribute(L,D)}else S(I)&&(I=I.apply()),this.options.keepNullAttributes&&I==null?this.currentNode.attribs[_]=new b(this,_,""):I!=null&&(this.currentNode.attribs[_]=new b(this,_,I));return this},x.prototype.text=function(_){var I;return this.openCurrent(),I=new f(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 v(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 a(this,_),this.onData(this.writer.raw(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.instruction=function(_,I){var L,D,B,N,k;if(this.openCurrent(),_!=null&&(_=g(_)),I!=null&&(I=g(I)),Array.isArray(_))for(L=0,N=_.length;L<N;L++)D=_[L],this.instruction(D);else if(y(_))for(D in _){if(!T.call(_,D))continue;B=_[D],this.instruction(D,B)}else S(I)&&(I=I.apply()),k=new t(this,_,I),this.onData(this.writer.processingInstruction(k,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},x.prototype.declaration=function(_,I,L){var D;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return D=new e(this,_,I,L),this.onData(this.writer.declaration(D,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 r(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 s(this,_,I),this.onData(this.writer.dtdElement(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.attList=function(_,I,L,D,B){var N;return this.openCurrent(),N=new p(this,_,I,L,D,B),this.onData(this.writer.dtdAttList(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.entity=function(_,I){var L;return this.openCurrent(),L=new u(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 u(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 o(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,D,B;if(!_.isOpen){if(!this.root&&this.currentLevel===0&&_.type===w.Element&&(this.root=_),L="",_.type===w.Element){this.writerOptions.state=A.OpenTag,L=this.writer.indent(_,this.writerOptions,this.currentLevel)+"<"+_.name,B=_.attribs;for(D in B){if(!T.call(B,D))continue;I=B[D],L+=this.writer.attribute(I,this.writerOptions,this.currentLevel)}L+=(_.children?">":"/>")+this.writer.endline(_,this.writerOptions,this.currentLevel),this.writerOptions.state=A.InsideTag}else this.writerOptions.state=A.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=A.InsideTag):(this.writerOptions.state=A.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=A.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=A.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,P,d){"use strict";var w=M("babel-runtime/core-js/object/create"),A=b(w);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,p,s=function(e,r){for(var i in r)u.call(r,i)&&(e[i]=r[i]);function n(){this.constructor=e}return n.prototype=r.prototype,e.prototype=new n,e.__super__=r.prototype,e},u={}.hasOwnProperty;p=M("./XMLNode"),m=M("./NodeType"),P.exports=v=function(o){s(e,o);function e(r){e.__super__.constructor.call(this,r),this.type=m.Dummy}return e.prototype.clone=function(){return(0,A.default)(this)},e.prototype.toString=function(r){return""},e}(p)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/create"),A=b(w);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,p,s,u,o,e,r,i,n=function(a,c){for(var h in c)l.call(c,h)&&(a[h]=c[h]);function f(){this.constructor=a}return f.prototype=c.prototype,a.prototype=new f,a.__super__=c.prototype,a},l={}.hasOwnProperty;i=M("./Utility"),r=i.isObject,e=i.isFunction,o=i.getValue,u=M("./XMLNode"),m=M("./NodeType"),v=M("./XMLAttribute"),s=M("./XMLNamedNodeMap"),P.exports=p=function(t){n(a,t);function a(c,h,f){var g,S,y,E;if(a.__super__.constructor.call(this,c),h==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(h),this.type=m.Element,this.attribs={},this.schemaTypeInfo=null,f!=null&&this.attribute(f),c.type===m.Document&&(this.isRoot=!0,this.documentObject=c,c.rootObject=this,c.children)){for(E=c.children,S=0,y=E.length;S<y;S++)if(g=E[S],g.type===m.DocType){g.name=this.name;break}}}return Object.defineProperty(a.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(a.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(a.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(a.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(a.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(a.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(a.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(a.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new s(this.attribs)),this.attributeMap}}),a.prototype.clone=function(){var c,h,f,g;f=(0,A.default)(this),f.isRoot&&(f.documentObject=null),f.attribs={},g=this.attribs;for(h in g){if(!l.call(g,h))continue;c=g[h],f.attribs[h]=c.clone()}return f.children=[],this.children.forEach(function(S){var y;return y=S.clone(),y.parent=f,f.children.push(y)}),f},a.prototype.attribute=function(c,h){var f,g;if(c!=null&&(c=o(c)),r(c))for(f in c){if(!l.call(c,f))continue;g=c[f],this.attribute(f,g)}else e(h)&&(h=h.apply()),this.options.keepNullAttributes&&h==null?this.attribs[c]=new v(this,c,""):h!=null&&(this.attribs[c]=new v(this,c,h));return this},a.prototype.removeAttribute=function(c){var h,f,g;if(c==null)throw new Error("Missing attribute name. "+this.debugInfo());if(c=o(c),Array.isArray(c))for(f=0,g=c.length;f<g;f++)h=c[f],delete this.attribs[h];else delete this.attribs[c];return this},a.prototype.toString=function(c){return this.options.writer.element(this,this.options.writer.filterOptions(c))},a.prototype.att=function(c,h){return this.attribute(c,h)},a.prototype.a=function(c,h){return this.attribute(c,h)},a.prototype.getAttribute=function(c){return this.attribs.hasOwnProperty(c)?this.attribs[c].value:null},a.prototype.setAttribute=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getAttributeNode=function(c){return this.attribs.hasOwnProperty(c)?this.attribs[c]:null},a.prototype.setAttributeNode=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.removeAttributeNode=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagName=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getAttributeNS=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.setAttributeNS=function(c,h,f){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.removeAttributeNS=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getAttributeNodeNS=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.setAttributeNodeNS=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagNameNS=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.hasAttribute=function(c){return this.attribs.hasOwnProperty(c)},a.prototype.hasAttributeNS=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.setIdAttribute=function(c,h){return this.attribs.hasOwnProperty(c)?this.attribs[c].isId:h},a.prototype.setIdAttributeNS=function(c,h,f){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.setIdAttributeNode=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagName=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByTagNameNS=function(c,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.getElementsByClassName=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.isEqualNode=function(c){var h,f,g;if(!a.__super__.isEqualNode.apply(this,arguments).isEqualNode(c))return!1;if(c.namespaceURI!==this.namespaceURI)return!1;if(c.prefix!==this.prefix)return!1;if(c.localName!==this.localName)return!1;if(c.attribs.length!==this.attribs.length)return!1;for(h=f=0,g=this.attribs.length-1;0<=g?f<=g:f>=g;h=0<=g?++f:--f)if(!this.attribs[h].isEqualNode(c.attribs[h]))return!1;return!0},a}(u)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/keys"),A=b(w);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m;P.exports=m=function(){function v(p){this.nodes=p}return Object.defineProperty(v.prototype,"length",{get:function(){return(0,A.default)(this.nodes).length||0}}),v.prototype.clone=function(){return this.nodes=null},v.prototype.getNamedItem=function(p){return this.nodes[p]},v.prototype.setNamedItem=function(p){var s;return s=this.nodes[p.nodeName],this.nodes[p.nodeName]=p,s||null},v.prototype.removeNamedItem=function(p){var s;return s=this.nodes[p],delete this.nodes[p],s||null},v.prototype.item=function(p){return this.nodes[(0,A.default)(this.nodes)[p]]||null},v.prototype.getNamedItemNS=function(p,s){throw new Error("This DOM method is not implemented.")},v.prototype.setNamedItemNS=function(p){throw new Error("This DOM method is not implemented.")},v.prototype.removeNamedItemNS=function(p,s){throw new Error("This DOM method is not implemented.")},v}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(M,P,d){"use strict";(function(){var w,A,b,m,v,p,s,u,o,e,r,i,n,l,t,a,c,h,f,g={}.hasOwnProperty;f=M("./Utility"),h=f.isObject,c=f.isFunction,a=f.isEmpty,t=f.getValue,u=null,b=null,m=null,v=null,p=null,n=null,l=null,i=null,s=null,A=null,r=null,o=null,w=null,P.exports=e=function(){function S(y){this.parent=y,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,u||(u=M("./XMLElement"),b=M("./XMLCData"),m=M("./XMLComment"),v=M("./XMLDeclaration"),p=M("./XMLDocType"),n=M("./XMLRaw"),l=M("./XMLText"),i=M("./XMLProcessingInstruction"),s=M("./XMLDummy"),A=M("./NodeType"),r=M("./XMLNodeList"),o=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 r(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===A.Element||this.nodeType===A.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(y){var E,C,T,x,_;for(this.parent=y,y&&(this.options=y.options,this.stringify=y.stringify),x=this.children,_=[],C=0,T=x.length;C<T;C++)E=x[C],_.push(E.setParent(this));return _},S.prototype.element=function(y,E,C){var T,x,_,I,L,D,B,N,k,W,R;if(D=null,E===null&&C==null&&(k=[{},null],E=k[0],C=k[1]),E==null&&(E={}),E=t(E),h(E)||(W=[E,C],C=W[0],E=W[1]),y!=null&&(y=t(y)),Array.isArray(y))for(_=0,B=y.length;_<B;_++)x=y[_],D=this.element(x);else if(c(y))D=this.element(y.apply());else if(h(y))for(L in y){if(!g.call(y,L))continue;if(R=y[L],c(R)&&(R=R.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&L.indexOf(this.stringify.convertAttKey)===0)D=this.attribute(L.substr(this.stringify.convertAttKey.length),R);else if(!this.options.separateArrayItems&&Array.isArray(R)&&a(R))D=this.dummy();else if(h(R)&&a(R))D=this.element(L);else if(!this.options.keepNullNodes&&R==null)D=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(R))for(I=0,N=R.length;I<N;I++)x=R[I],T={},T[L]=x,D=this.element(T);else h(R)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&L.indexOf(this.stringify.convertTextKey)===0?D=this.element(R):(D=this.element(L),D.element(R)):D=this.element(L,R)}else!this.options.keepNullNodes&&C===null?D=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&y.indexOf(this.stringify.convertTextKey)===0?D=this.text(C):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&y.indexOf(this.stringify.convertCDataKey)===0?D=this.cdata(C):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&y.indexOf(this.stringify.convertCommentKey)===0?D=this.comment(C):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&y.indexOf(this.stringify.convertRawKey)===0?D=this.raw(C):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&y.indexOf(this.stringify.convertPIKey)===0?D=this.instruction(y.substr(this.stringify.convertPIKey.length),C):D=this.node(y,E,C);if(D==null)throw new Error("Could not create any elements with: "+y+". "+this.debugInfo());return D},S.prototype.insertBefore=function(y,E,C){var T,x,_,I,L;if(y!=null?y.type:void 0)return _=y,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(y));return x=this.parent.children.indexOf(this),L=this.parent.children.splice(x),T=this.parent.element(y,E,C),Array.prototype.push.apply(this.parent.children,L),T},S.prototype.insertAfter=function(y,E,C){var T,x,_;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(y));return x=this.parent.children.indexOf(this),_=this.parent.children.splice(x+1),T=this.parent.element(y,E,C),Array.prototype.push.apply(this.parent.children,_),T},S.prototype.remove=function(){var y,E;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return y=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[y,y-y+1].concat(E=[])),this.parent},S.prototype.node=function(y,E,C){var T,x;return y!=null&&(y=t(y)),E||(E={}),E=t(E),h(E)||(x=[E,C],C=x[0],E=x[1]),T=new u(this,y,E),C!=null&&T.text(C),this.children.push(T),T},S.prototype.text=function(y){var E;return h(y)&&this.element(y),E=new l(this,y),this.children.push(E),this},S.prototype.cdata=function(y){var E;return E=new b(this,y),this.children.push(E),this},S.prototype.comment=function(y){var E;return E=new m(this,y),this.children.push(E),this},S.prototype.commentBefore=function(y){var E,C,T;return C=this.parent.children.indexOf(this),T=this.parent.children.splice(C),E=this.parent.comment(y),Array.prototype.push.apply(this.parent.children,T),this},S.prototype.commentAfter=function(y){var E,C,T;return C=this.parent.children.indexOf(this),T=this.parent.children.splice(C+1),E=this.parent.comment(y),Array.prototype.push.apply(this.parent.children,T),this},S.prototype.raw=function(y){var E;return E=new n(this,y),this.children.push(E),this},S.prototype.dummy=function(){var y;return y=new s(this),y},S.prototype.instruction=function(y,E){var C,T,x,_,I;if(y!=null&&(y=t(y)),E!=null&&(E=t(E)),Array.isArray(y))for(_=0,I=y.length;_<I;_++)C=y[_],this.instruction(C);else if(h(y))for(C in y){if(!g.call(y,C))continue;T=y[C],this.instruction(C,T)}else c(E)&&(E=E.apply()),x=new i(this,y,E),this.children.push(x);return this},S.prototype.instructionBefore=function(y,E){var C,T,x;return T=this.parent.children.indexOf(this),x=this.parent.children.splice(T),C=this.parent.instruction(y,E),Array.prototype.push.apply(this.parent.children,x),this},S.prototype.instructionAfter=function(y,E){var C,T,x;return T=this.parent.children.indexOf(this),x=this.parent.children.splice(T+1),C=this.parent.instruction(y,E),Array.prototype.push.apply(this.parent.children,x),this},S.prototype.declaration=function(y,E,C){var T,x;return T=this.document(),x=new v(T,y,E,C),T.children.length===0?T.children.unshift(x):T.children[0].type===A.Declaration?T.children[0]=x:T.children.unshift(x),T.root()||T},S.prototype.dtd=function(y,E){var C,T,x,_,I,L,D,B,N,k;for(T=this.document(),x=new p(T,y,E),N=T.children,_=I=0,D=N.length;I<D;_=++I)if(C=N[_],C.type===A.DocType)return T.children[_]=x,x;for(k=T.children,_=L=0,B=k.length;L<B;_=++L)if(C=k[_],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 y;for(y=this;y;){if(y.type===A.Document)return y.rootObject;if(y.isRoot)return y;y=y.parent}},S.prototype.document=function(){var y;for(y=this;y;){if(y.type===A.Document)return y;y=y.parent}},S.prototype.end=function(y){return this.document().end(y)},S.prototype.prev=function(){var y;if(y=this.parent.children.indexOf(this),y<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[y-1]},S.prototype.next=function(){var y;if(y=this.parent.children.indexOf(this),y===-1||y===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[y+1]},S.prototype.importDocument=function(y){var E;return E=y.root().clone(),E.parent=this,E.isRoot=!1,this.children.push(E),this},S.prototype.debugInfo=function(y){var E,C;return y=y||this.name,y==null&&!((E=this.parent)!=null?E.name:void 0)?"":y==null?"parent: <"+this.parent.name+">":((C=this.parent)!=null?C.name:void 0)?"node: <"+y+">, parent: <"+this.parent.name+">":"node: <"+y+">"},S.prototype.ele=function(y,E,C){return this.element(y,E,C)},S.prototype.nod=function(y,E,C){return this.node(y,E,C)},S.prototype.txt=function(y){return this.text(y)},S.prototype.dat=function(y){return this.cdata(y)},S.prototype.com=function(y){return this.comment(y)},S.prototype.ins=function(y,E){return this.instruction(y,E)},S.prototype.doc=function(){return this.document()},S.prototype.dec=function(y,E,C){return this.declaration(y,E,C)},S.prototype.e=function(y,E,C){return this.element(y,E,C)},S.prototype.n=function(y,E,C){return this.node(y,E,C)},S.prototype.t=function(y){return this.text(y)},S.prototype.d=function(y){return this.cdata(y)},S.prototype.c=function(y){return this.comment(y)},S.prototype.r=function(y){return this.raw(y)},S.prototype.i=function(y,E){return this.instruction(y,E)},S.prototype.u=function(){return this.up()},S.prototype.importXMLBuilder=function(y){return this.importDocument(y)},S.prototype.replaceChild=function(y,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.removeChild=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.appendChild=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.hasChildNodes=function(){return this.children.length!==0},S.prototype.cloneNode=function(y){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(y,E){return!0},S.prototype.hasAttributes=function(){return this.attribs.length!==0},S.prototype.compareDocumentPosition=function(y){var E,C;return E=this,E===y?0:this.document()!==y.document()?(C=w.Disconnected|w.ImplementationSpecific,Math.random()<.5?C|=w.Preceding:C|=w.Following,C):E.isAncestor(y)?w.Contains|w.Preceding:E.isDescendant(y)?w.Contains|w.Following:E.isPreceding(y)?w.Preceding:w.Following},S.prototype.isSameNode=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.lookupPrefix=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.isDefaultNamespace=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.lookupNamespaceURI=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.isEqualNode=function(y){var E,C,T;if(y.nodeType!==this.nodeType)return!1;if(y.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(y.children[E]))return!1;return!0},S.prototype.getFeature=function(y,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.setUserData=function(y,E,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.getUserData=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.contains=function(y){return y?y===this||this.isDescendant(y):!1},S.prototype.isDescendant=function(y){var E,C,T,x,_;for(_=this.children,T=0,x=_.length;T<x;T++){if(E=_[T],y===E)return!0;if(C=E.isDescendant(y),C)return!0}return!1},S.prototype.isAncestor=function(y){return y.isDescendant(this)},S.prototype.isPreceding=function(y){var E,C;return E=this.treePosition(y),C=this.treePosition(this),E===-1||C===-1?!1:E<C},S.prototype.isFollowing=function(y){var E,C;return E=this.treePosition(y),C=this.treePosition(this),E===-1||C===-1?!1:E>C},S.prototype.treePosition=function(y){var E,C;return C=0,E=!1,this.foreachTreeNode(this.document(),function(T){if(C++,!E&&T===y)return E=!0}),E?C:-1},S.prototype.foreachTreeNode=function(y,E){var C,T,x,_,I;for(y||(y=this.document()),_=y.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,P,d){"use strict";(function(){var w;P.exports=w=function(){function A(b){this.nodes=b}return Object.defineProperty(A.prototype,"length",{get:function(){return this.nodes.length||0}}),A.prototype.clone=function(){return this.nodes=null},A.prototype.item=function(b){return this.nodes[b]||null},A}()}).call(void 0)},{}],275:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/create"),A=b(w);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,p,s=function(e,r){for(var i in r)u.call(r,i)&&(e[i]=r[i]);function n(){this.constructor=e}return n.prototype=r.prototype,e.prototype=new n,e.__super__=r.prototype,e},u={}.hasOwnProperty;m=M("./NodeType"),v=M("./XMLCharacterData"),P.exports=p=function(o){s(e,o);function e(r,i,n){if(e.__super__.constructor.call(this,r),i==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=m.ProcessingInstruction,this.target=this.stringify.insTarget(i),this.name=this.target,n&&(this.value=this.stringify.insValue(n))}return e.prototype.clone=function(){return(0,A.default)(this)},e.prototype.toString=function(r){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(r))},e.prototype.isEqualNode=function(r){return e.__super__.isEqualNode.apply(this,arguments).isEqualNode(r)?!(r.target!==this.target):!1},e}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/create"),A=b(w);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,p,s=function(e,r){for(var i in r)u.call(r,i)&&(e[i]=r[i]);function n(){this.constructor=e}return n.prototype=r.prototype,e.prototype=new n,e.__super__=r.prototype,e},u={}.hasOwnProperty;m=M("./NodeType"),v=M("./XMLNode"),P.exports=p=function(o){s(e,o);function e(r,i){if(e.__super__.constructor.call(this,r),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,A.default)(this)},e.prototype.toString=function(r){return this.options.writer.raw(this,this.options.writer.filterOptions(r))},e}(v)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(M,P,d){"use strict";(function(){var w,A,b,m,v=function(u,o){for(var e in o)p.call(o,e)&&(u[e]=o[e]);function r(){this.constructor=u}return r.prototype=o.prototype,u.prototype=new r,u.__super__=o.prototype,u},p={}.hasOwnProperty;w=M("./NodeType"),m=M("./XMLWriterBase"),A=M("./WriterState"),P.exports=b=function(s){v(u,s);function u(o,e){this.stream=o,u.__super__.constructor.call(this,e)}return u.prototype.endline=function(o,e,r){return o.isLastRootNode&&e.state===A.CloseTag?"":u.__super__.endline.call(this,o,e,r)},u.prototype.document=function(o,e){var r,i,n,l,t,a,c,h,f;for(c=o.children,i=n=0,t=c.length;n<t;i=++n)r=c[i],r.isLastRootNode=i===o.children.length-1;for(e=this.filterOptions(e),h=o.children,f=[],l=0,a=h.length;l<a;l++)r=h[l],f.push(this.writeChildNode(r,e,0));return f},u.prototype.attribute=function(o,e,r){return this.stream.write(u.__super__.attribute.call(this,o,e,r))},u.prototype.cdata=function(o,e,r){return this.stream.write(u.__super__.cdata.call(this,o,e,r))},u.prototype.comment=function(o,e,r){return this.stream.write(u.__super__.comment.call(this,o,e,r))},u.prototype.declaration=function(o,e,r){return this.stream.write(u.__super__.declaration.call(this,o,e,r))},u.prototype.docType=function(o,e,r){var i,n,l,t;if(r||(r=0),this.openNode(o,e,r),e.state=A.OpenTag,this.stream.write(this.indent(o,e,r)),this.stream.write("<!DOCTYPE "+o.root().name),o.pubID&&o.sysID?this.stream.write(' PUBLIC "'+o.pubID+'" "'+o.sysID+'"'):o.sysID&&this.stream.write(' SYSTEM "'+o.sysID+'"'),o.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(o,e,r)),e.state=A.InsideTag,t=o.children,n=0,l=t.length;n<l;n++)i=t[n],this.writeChildNode(i,e,r+1);e.state=A.CloseTag,this.stream.write("]")}return e.state=A.CloseTag,this.stream.write(e.spaceBeforeSlash+">"),this.stream.write(this.endline(o,e,r)),e.state=A.None,this.closeNode(o,e,r)},u.prototype.element=function(o,e,r){var i,n,l,t,a,c,h,f,g,S;r||(r=0),this.openNode(o,e,r),e.state=A.OpenTag,this.stream.write(this.indent(o,e,r)+"<"+o.name),g=o.attribs;for(h in g){if(!p.call(g,h))continue;i=g[h],this.attribute(i,e,r)}if(l=o.children.length,t=l===0?null:o.children[0],l===0||o.children.every(function(y){return(y.type===w.Text||y.type===w.Raw)&&y.value===""}))e.allowEmpty?(this.stream.write(">"),e.state=A.CloseTag,this.stream.write("</"+o.name+">")):(e.state=A.CloseTag,this.stream.write(e.spaceBeforeSlash+"/>"));else if(e.pretty&&l===1&&(t.type===w.Text||t.type===w.Raw)&&t.value!=null)this.stream.write(">"),e.state=A.InsideTag,e.suppressPrettyCount++,f=!0,this.writeChildNode(t,e,r+1),e.suppressPrettyCount--,f=!1,e.state=A.CloseTag,this.stream.write("</"+o.name+">");else{for(this.stream.write(">"+this.endline(o,e,r)),e.state=A.InsideTag,S=o.children,a=0,c=S.length;a<c;a++)n=S[a],this.writeChildNode(n,e,r+1);e.state=A.CloseTag,this.stream.write(this.indent(o,e,r)+"</"+o.name+">")}return this.stream.write(this.endline(o,e,r)),e.state=A.None,this.closeNode(o,e,r)},u.prototype.processingInstruction=function(o,e,r){return this.stream.write(u.__super__.processingInstruction.call(this,o,e,r))},u.prototype.raw=function(o,e,r){return this.stream.write(u.__super__.raw.call(this,o,e,r))},u.prototype.text=function(o,e,r){return this.stream.write(u.__super__.text.call(this,o,e,r))},u.prototype.dtdAttList=function(o,e,r){return this.stream.write(u.__super__.dtdAttList.call(this,o,e,r))},u.prototype.dtdElement=function(o,e,r){return this.stream.write(u.__super__.dtdElement.call(this,o,e,r))},u.prototype.dtdEntity=function(o,e,r){return this.stream.write(u.__super__.dtdEntity.call(this,o,e,r))},u.prototype.dtdNotation=function(o,e,r){return this.stream.write(u.__super__.dtdNotation.call(this,o,e,r))},u}(m)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(M,P,d){"use strict";(function(){var w,A,b=function(p,s){for(var u in s)m.call(s,u)&&(p[u]=s[u]);function o(){this.constructor=p}return o.prototype=s.prototype,p.prototype=new o,p.__super__=s.prototype,p},m={}.hasOwnProperty;A=M("./XMLWriterBase"),P.exports=w=function(v){b(p,v);function p(s){p.__super__.constructor.call(this,s)}return p.prototype.document=function(s,u){var o,e,r,i,n;for(u=this.filterOptions(u),i="",n=s.children,e=0,r=n.length;e<r;e++)o=n[e],i+=this.writeChildNode(o,u,0);return u.pretty&&i.slice(-u.newline.length)===u.newline&&(i=i.slice(0,-u.newline.length)),i},p}(A)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(M,P,d){"use strict";(function(){var w,A=function(v,p){return function(){return v.apply(p,arguments)}},b={}.hasOwnProperty;P.exports=w=function(){function m(v){this.assertLegalName=A(this.assertLegalName,this),this.assertLegalChar=A(this.assertLegalChar,this);var p,s,u;v||(v={}),this.options=v,this.options.version||(this.options.version="1.0"),s=v.stringify||{};for(p in s){if(!b.call(s,p))continue;u=s[p],this[p]=u}}return m.prototype.name=function(v){return this.options.noValidation?v:this.assertLegalName(""+v||"")},m.prototype.text=function(v){return this.options.noValidation?v:this.assertLegalChar(this.textEscape(""+v||""))},m.prototype.cdata=function(v){return this.options.noValidation?v:(v=""+v||"",v=v.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(v))},m.prototype.comment=function(v){if(this.options.noValidation)return v;if(v=""+v||"",v.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+v);return this.assertLegalChar(v)},m.prototype.raw=function(v){return this.options.noValidation?v:""+v||""},m.prototype.attValue=function(v){return this.options.noValidation?v:this.assertLegalChar(this.attEscape(v=""+v||""))},m.prototype.insTarget=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.insValue=function(v){if(this.options.noValidation)return v;if(v=""+v||"",v.match(/\?>/))throw new Error("Invalid processing instruction value: "+v);return this.assertLegalChar(v)},m.prototype.xmlVersion=function(v){if(this.options.noValidation)return v;if(v=""+v||"",!v.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+v);return v},m.prototype.xmlEncoding=function(v){if(this.options.noValidation)return v;if(v=""+v||"",!v.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+v);return this.assertLegalChar(v)},m.prototype.xmlStandalone=function(v){return this.options.noValidation?v:v?"yes":"no"},m.prototype.dtdPubID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdSysID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdElementValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdAttType=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdAttDefault=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdEntityValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdNData=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},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(v){var p,s;if(this.options.noValidation)return v;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]/,s=v.match(p))throw new Error("Invalid character in string: "+v+" at index "+s.index)}else if(this.options.version==="1.1"&&(p=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=v.match(p)))throw new Error("Invalid character in string: "+v+" at index "+s.index);return v},m.prototype.assertLegalName=function(v){var p;if(this.options.noValidation)return v;if(this.assertLegalChar(v),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])*$/,!v.match(p))throw new Error("Invalid character in name");return v},m.prototype.textEscape=function(v){var p;return this.options.noValidation?v:(p=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(p,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},m.prototype.attEscape=function(v){var p;return this.options.noValidation?v:(p=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(p,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},m}()}).call(void 0)},{}],280:[function(M,P,d){"use strict";var w=M("babel-runtime/core-js/object/create"),A=b(w);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,p,s=function(e,r){for(var i in r)u.call(r,i)&&(e[i]=r[i]);function n(){this.constructor=e}return n.prototype=r.prototype,e.prototype=new n,e.__super__=r.prototype,e},u={}.hasOwnProperty;m=M("./NodeType"),v=M("./XMLCharacterData"),P.exports=p=function(o){s(e,o);function e(r,i){if(e.__super__.constructor.call(this,r),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,n,l;for(l="",n=this.previousSibling;n;)l=n.data+l,n=n.previousSibling;for(l+=this.data,i=this.nextSibling;i;)l=l+i.data,i=i.nextSibling;return l}}),e.prototype.clone=function(){return(0,A.default)(this)},e.prototype.toString=function(r){return this.options.writer.text(this,this.options.writer.filterOptions(r))},e.prototype.splitText=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.replaceWholeText=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},e}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(M,P,d){"use strict";(function(){var w,A,b,m,v,p,s,u,o,e,r,i,n,l,t,a,c,h={}.hasOwnProperty;c=M("./Utility").assign,w=M("./NodeType"),o=M("./XMLDeclaration"),e=M("./XMLDocType"),b=M("./XMLCData"),m=M("./XMLComment"),i=M("./XMLElement"),l=M("./XMLRaw"),t=M("./XMLText"),n=M("./XMLProcessingInstruction"),r=M("./XMLDummy"),v=M("./XMLDTDAttList"),p=M("./XMLDTDElement"),s=M("./XMLDTDEntity"),u=M("./XMLDTDNotation"),A=M("./WriterState"),P.exports=a=function(){function f(g){var S,y,E;g||(g={}),this.options=g,y=g.writer||{};for(S in y){if(!h.call(y,S))continue;E=y[S],this["_"+S]=this[S],this[S]=E}}return f.prototype.filterOptions=function(g){var S,y,E,C,T,x,_,I;return g||(g={}),g=c({},this.options,g),S={writer:this},S.pretty=g.pretty||!1,S.allowEmpty=g.allowEmpty||!1,S.indent=(y=g.indent)!=null?y:" ",S.newline=(E=g.newline)!=null?E:`
|
|
|
`,S.offset=(C=g.offset)!=null?C:0,S.dontPrettyTextNodes=(T=(x=g.dontPrettyTextNodes)!=null?x:g.dontprettytextnodes)!=null?T:0,S.spaceBeforeSlash=(_=(I=g.spaceBeforeSlash)!=null?I:g.spacebeforeslash)!=null?_:"",S.spaceBeforeSlash===!0&&(S.spaceBeforeSlash=" "),S.suppressPrettyCount=0,S.user={},S.state=A.None,S},f.prototype.indent=function(g,S,y){var E;return!S.pretty||S.suppressPrettyCount?"":S.pretty&&(E=(y||0)+S.offset+1,E>0)?new Array(E).join(S.indent):""},f.prototype.endline=function(g,S,y){return!S.pretty||S.suppressPrettyCount?"":S.newline},f.prototype.attribute=function(g,S,y){var E;return this.openAttribute(g,S,y),E=" "+g.name+'="'+g.value+'"',this.closeAttribute(g,S,y),E},f.prototype.cdata=function(g,S,y){var E;return this.openNode(g,S,y),S.state=A.OpenTag,E=this.indent(g,S,y)+"<![CDATA[",S.state=A.InsideTag,E+=g.value,S.state=A.CloseTag,E+="]]>"+this.endline(g,S,y),S.state=A.None,this.closeNode(g,S,y),E},f.prototype.comment=function(g,S,y){var E;return this.openNode(g,S,y),S.state=A.OpenTag,E=this.indent(g,S,y)+"<!-- ",S.state=A.InsideTag,E+=g.value,S.state=A.CloseTag,E+=" -->"+this.endline(g,S,y),S.state=A.None,this.closeNode(g,S,y),E},f.prototype.declaration=function(g,S,y){var E;return this.openNode(g,S,y),S.state=A.OpenTag,E=this.indent(g,S,y)+"<?xml",S.state=A.InsideTag,E+=' version="'+g.version+'"',g.encoding!=null&&(E+=' encoding="'+g.encoding+'"'),g.standalone!=null&&(E+=' standalone="'+g.standalone+'"'),S.state=A.CloseTag,E+=S.spaceBeforeSlash+"?>",E+=this.endline(g,S,y),S.state=A.None,this.closeNode(g,S,y),E},f.prototype.docType=function(g,S,y){var E,C,T,x,_;if(y||(y=0),this.openNode(g,S,y),S.state=A.OpenTag,x=this.indent(g,S,y),x+="<!DOCTYPE "+g.root().name,g.pubID&&g.sysID?x+=' PUBLIC "'+g.pubID+'" "'+g.sysID+'"':g.sysID&&(x+=' SYSTEM "'+g.sysID+'"'),g.children.length>0){for(x+=" [",x+=this.endline(g,S,y),S.state=A.InsideTag,_=g.children,C=0,T=_.length;C<T;C++)E=_[C],x+=this.writeChildNode(E,S,y+1);S.state=A.CloseTag,x+="]"}return S.state=A.CloseTag,x+=S.spaceBeforeSlash+">",x+=this.endline(g,S,y),S.state=A.None,this.closeNode(g,S,y),x},f.prototype.element=function(g,S,y){var E,C,T,x,_,I,L,D,B,N,k,W,R,j;y||(y=0),N=!1,k="",this.openNode(g,S,y),S.state=A.OpenTag,k+=this.indent(g,S,y)+"<"+g.name,W=g.attribs;for(B in W){if(!h.call(W,B))continue;E=W[B],k+=this.attribute(E,S,y)}if(T=g.children.length,x=T===0?null:g.children[0],T===0||g.children.every(function(H){return(H.type===w.Text||H.type===w.Raw)&&H.value===""}))S.allowEmpty?(k+=">",S.state=A.CloseTag,k+="</"+g.name+">"+this.endline(g,S,y)):(S.state=A.CloseTag,k+=S.spaceBeforeSlash+"/>"+this.endline(g,S,y));else if(S.pretty&&T===1&&(x.type===w.Text||x.type===w.Raw)&&x.value!=null)k+=">",S.state=A.InsideTag,S.suppressPrettyCount++,N=!0,k+=this.writeChildNode(x,S,y+1),S.suppressPrettyCount--,N=!1,S.state=A.CloseTag,k+="</"+g.name+">"+this.endline(g,S,y);else{if(S.dontPrettyTextNodes){for(R=g.children,_=0,L=R.length;_<L;_++)if(C=R[_],(C.type===w.Text||C.type===w.Raw)&&C.value!=null){S.suppressPrettyCount++,N=!0;break}}for(k+=">"+this.endline(g,S,y),S.state=A.InsideTag,j=g.children,I=0,D=j.length;I<D;I++)C=j[I],k+=this.writeChildNode(C,S,y+1);S.state=A.CloseTag,k+=this.indent(g,S,y)+"</"+g.name+">",N&&S.suppressPrettyCount--,k+=this.endline(g,S,y),S.state=A.None}return this.closeNode(g,S,y),k},f.prototype.writeChildNode=function(g,S,y){switch(g.type){case w.CData:return this.cdata(g,S,y);case w.Comment:return this.comment(g,S,y);case w.Element:return this.element(g,S,y);case w.Raw:return this.raw(g,S,y);case w.Text:return this.text(g,S,y);case w.ProcessingInstruction:return this.processingInstruction(g,S,y);case w.Dummy:return"";case w.Declaration:return this.declaration(g,S,y);case w.DocType:return this.docType(g,S,y);case w.AttributeDeclaration:return this.dtdAttList(g,S,y);case w.ElementDeclaration:return this.dtdElement(g,S,y);case w.EntityDeclaration:return this.dtdEntity(g,S,y);case w.NotationDeclaration:return this.dtdNotation(g,S,y);default:throw new Error("Unknown XML node type: "+g.constructor.name)}},f.prototype.processingInstruction=function(g,S,y){var E;return this.openNode(g,S,y),S.state=A.OpenTag,E=this.indent(g,S,y)+"<?",S.state=A.InsideTag,E+=g.target,g.value&&(E+=" "+g.value),S.state=A.CloseTag,E+=S.spaceBeforeSlash+"?>",E+=this.endline(g,S,y),S.state=A.None,this.closeNode(g,S,y),E},f.prototype.raw=function(g,S,y){var E;return this.openNode(g,S,y),S.state=A.OpenTag,E=this.indent(g,S,y),S.state=A.InsideTag,E+=g.value,S.state=A.CloseTag,E+=this.endline(g,S,y),S.state=A.None,this.closeNode(g,S,y),E},f.prototype.text=function(g,S,y){var E;return this.openNode(g,S,y),S.state=A.OpenTag,E=this.indent(g,S,y),S.state=A.InsideTag,E+=g.value,S.state=A.CloseTag,E+=this.endline(g,S,y),S.state=A.None,this.closeNode(g,S,y),E},f.prototype.dtdAttList=function(g,S,y){var E;return this.openNode(g,S,y),S.state=A.OpenTag,E=this.indent(g,S,y)+"<!ATTLIST",S.state=A.InsideTag,E+=" "+g.elementName+" "+g.attributeName+" "+g.attributeType,g.defaultValueType!=="#DEFAULT"&&(E+=" "+g.defaultValueType),g.defaultValue&&(E+=' "'+g.defaultValue+'"'),S.state=A.CloseTag,E+=S.spaceBeforeSlash+">"+this.endline(g,S,y),S.state=A.None,this.closeNode(g,S,y),E},f.prototype.dtdElement=function(g,S,y){var E;return this.openNode(g,S,y),S.state=A.OpenTag,E=this.indent(g,S,y)+"<!ELEMENT",S.state=A.InsideTag,E+=" "+g.name+" "+g.value,S.state=A.CloseTag,E+=S.spaceBeforeSlash+">"+this.endline(g,S,y),S.state=A.None,this.closeNode(g,S,y),E},f.prototype.dtdEntity=function(g,S,y){var E;return this.openNode(g,S,y),S.state=A.OpenTag,E=this.indent(g,S,y)+"<!ENTITY",S.state=A.InsideTag,g.pe&&(E+=" %"),E+=" "+g.name,g.value?E+=' "'+g.value+'"':(g.pubID&&g.sysID?E+=' PUBLIC "'+g.pubID+'" "'+g.sysID+'"':g.sysID&&(E+=' SYSTEM "'+g.sysID+'"'),g.nData&&(E+=" NDATA "+g.nData)),S.state=A.CloseTag,E+=S.spaceBeforeSlash+">"+this.endline(g,S,y),S.state=A.None,this.closeNode(g,S,y),E},f.prototype.dtdNotation=function(g,S,y){var E;return this.openNode(g,S,y),S.state=A.OpenTag,E=this.indent(g,S,y)+"<!NOTATION",S.state=A.InsideTag,E+=" "+g.name,g.pubID&&g.sysID?E+=' PUBLIC "'+g.pubID+'" "'+g.sysID+'"':g.pubID?E+=' PUBLIC "'+g.pubID+'"':g.sysID&&(E+=' SYSTEM "'+g.sysID+'"'),S.state=A.CloseTag,E+=S.spaceBeforeSlash+">"+this.endline(g,S,y),S.state=A.None,this.closeNode(g,S,y),E},f.prototype.openNode=function(g,S,y){},f.prototype.closeNode=function(g,S,y){},f.prototype.openAttribute=function(g,S,y){},f.prototype.closeAttribute=function(g,S,y){},f}()}).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,P,d){"use strict";(function(){var w,A,b,m,v,p,s,u,o,e;e=M("./Utility"),u=e.assign,o=e.isFunction,b=M("./XMLDOMImplementation"),m=M("./XMLDocument"),v=M("./XMLDocumentCB"),s=M("./XMLStringWriter"),p=M("./XMLStreamWriter"),w=M("./NodeType"),A=M("./WriterState"),P.exports.create=function(r,i,n,l){var t,a;if(r==null)throw new Error("Root element needs a name.");return l=u({},i,n,l),t=new m(l),a=t.element(r),l.headless||(t.declaration(l),(l.pubID!=null||l.sysID!=null)&&t.dtd(l)),a},P.exports.begin=function(r,i,n){var l;return o(r)&&(l=[r,i],i=l[0],n=l[1],r={}),i?new v(r,i,n):new m(r)},P.exports.stringWriter=function(r){return new s(r)},P.exports.streamWriter=function(r,i){return new p(r,i)},P.exports.implementation=new b,P.exports.nodeType=w,P.exports.writerState=A}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(M,P,d){P.exports=A;var w=Object.prototype.hasOwnProperty;function A(){for(var b={},m=0;m<arguments.length;m++){var v=arguments[m];for(var p in v)w.call(v,p)&&(b[p]=v[p])}return b}},{}],284:[function(M,P,d){"use strict";var w=M("buffer").Buffer,A=M("./sha"),b=M("./md5"),m={sha1:A,md5:b},v=64,p=w.alloc(v);p.fill(0);function s(e,r,i){w.isBuffer(r)||(r=w.from(r)),w.isBuffer(i)||(i=w.from(i)),r.length>v?r=e(r):r.length<v&&(r=w.concat([r,p],v));for(var n=w.alloc(v),l=w.alloc(v),t=0;t<v;t++)n[t]=r[t]^54,l[t]=r[t]^92;var a=e(w.concat([n,i]));return e(w.concat([l,a]))}function u(e,r){e=e||"sha1";var i=m[e],n=[],l=0;return i||o("algorithm:",e,"is not yet supported"),{update:function(a){return w.isBuffer(a)||(a=w.from(a)),n.push(a),l+=a.length,this},digest:function(a){var c=w.concat(n),h=r?s(i,r,c):i(c);return n=null,a?h.toString(a):h}}}function o(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}d.createHash=function(e){return u(e)},d.createHmac=function(e,r){return u(e,r)},d.createCredentials=function(){o("sorry,createCredentials is not implemented yet")},d.createCipher=function(){o("sorry,createCipher is not implemented yet")},d.createCipheriv=function(){o("sorry,createCipheriv is not implemented yet")},d.createDecipher=function(){o("sorry,createDecipher is not implemented yet")},d.createDecipheriv=function(){o("sorry,createDecipheriv is not implemented yet")},d.createSign=function(){o("sorry,createSign is not implemented yet")},d.createVerify=function(){o("sorry,createVerify is not implemented yet")},d.createDiffieHellman=function(){o("sorry,createDiffieHellman is not implemented yet")},d.pbkdf2=function(){o("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(M,P,d){"use strict";var w=M("buffer").Buffer,A=4,b=w.alloc(A);b.fill(0);var m=8;function v(u,o){if(u.length%A!==0){var e=u.length+(A-u.length%A);u=w.concat([u,b],e)}for(var r=[],i=o?u.readInt32BE:u.readInt32LE,n=0;n<u.length;n+=A)r.push(i.call(u,n));return r}function p(u,o,e){for(var r=w.alloc(o),i=e?r.writeInt32BE:r.writeInt32LE,n=0;n<u.length;n++)i.call(r,u[n],n*4,!0);return r}function s(u,o,e,r){w.isBuffer(u)||(u=w.from(u));var i=o(v(u,r),u.length*m);return p(i,e,r)}P.exports={hash:s}},{buffer:73}],286:[function(M,P,d){"use strict";var w=M("./helpers");function A(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function b(r,i){r[i>>5]|=128<<i%32,r[(i+64>>>9<<4)+14]=i;for(var n=1732584193,l=-271733879,t=-1732584194,a=271733878,c=0;c<r.length;c+=16){var h=n,f=l,g=t,S=a;n=v(n,l,t,a,r[c+0],7,-680876936),a=v(a,n,l,t,r[c+1],12,-389564586),t=v(t,a,n,l,r[c+2],17,606105819),l=v(l,t,a,n,r[c+3],22,-1044525330),n=v(n,l,t,a,r[c+4],7,-176418897),a=v(a,n,l,t,r[c+5],12,1200080426),t=v(t,a,n,l,r[c+6],17,-1473231341),l=v(l,t,a,n,r[c+7],22,-45705983),n=v(n,l,t,a,r[c+8],7,1770035416),a=v(a,n,l,t,r[c+9],12,-1958414417),t=v(t,a,n,l,r[c+10],17,-42063),l=v(l,t,a,n,r[c+11],22,-1990404162),n=v(n,l,t,a,r[c+12],7,1804603682),a=v(a,n,l,t,r[c+13],12,-40341101),t=v(t,a,n,l,r[c+14],17,-1502002290),l=v(l,t,a,n,r[c+15],22,1236535329),n=p(n,l,t,a,r[c+1],5,-165796510),a=p(a,n,l,t,r[c+6],9,-1069501632),t=p(t,a,n,l,r[c+11],14,643717713),l=p(l,t,a,n,r[c+0],20,-373897302),n=p(n,l,t,a,r[c+5],5,-701558691),a=p(a,n,l,t,r[c+10],9,38016083),t=p(t,a,n,l,r[c+15],14,-660478335),l=p(l,t,a,n,r[c+4],20,-405537848),n=p(n,l,t,a,r[c+9],5,568446438),a=p(a,n,l,t,r[c+14],9,-1019803690),t=p(t,a,n,l,r[c+3],14,-187363961),l=p(l,t,a,n,r[c+8],20,1163531501),n=p(n,l,t,a,r[c+13],5,-1444681467),a=p(a,n,l,t,r[c+2],9,-51403784),t=p(t,a,n,l,r[c+7],14,1735328473),l=p(l,t,a,n,r[c+12],20,-1926607734),n=s(n,l,t,a,r[c+5],4,-378558),a=s(a,n,l,t,r[c+8],11,-2022574463),t=s(t,a,n,l,r[c+11],16,1839030562),l=s(l,t,a,n,r[c+14],23,-35309556),n=s(n,l,t,a,r[c+1],4,-1530992060),a=s(a,n,l,t,r[c+4],11,1272893353),t=s(t,a,n,l,r[c+7],16,-155497632),l=s(l,t,a,n,r[c+10],23,-1094730640),n=s(n,l,t,a,r[c+13],4,681279174),a=s(a,n,l,t,r[c+0],11,-358537222),t=s(t,a,n,l,r[c+3],16,-722521979),l=s(l,t,a,n,r[c+6],23,76029189),n=s(n,l,t,a,r[c+9],4,-640364487),a=s(a,n,l,t,r[c+12],11,-421815835),t=s(t,a,n,l,r[c+15],16,530742520),l=s(l,t,a,n,r[c+2],23,-995338651),n=u(n,l,t,a,r[c+0],6,-198630844),a=u(a,n,l,t,r[c+7],10,1126891415),t=u(t,a,n,l,r[c+14],15,-1416354905),l=u(l,t,a,n,r[c+5],21,-57434055),n=u(n,l,t,a,r[c+12],6,1700485571),a=u(a,n,l,t,r[c+3],10,-1894986606),t=u(t,a,n,l,r[c+10],15,-1051523),l=u(l,t,a,n,r[c+1],21,-2054922799),n=u(n,l,t,a,r[c+8],6,1873313359),a=u(a,n,l,t,r[c+15],10,-30611744),t=u(t,a,n,l,r[c+6],15,-1560198380),l=u(l,t,a,n,r[c+13],21,1309151649),n=u(n,l,t,a,r[c+4],6,-145523070),a=u(a,n,l,t,r[c+11],10,-1120210379),t=u(t,a,n,l,r[c+2],15,718787259),l=u(l,t,a,n,r[c+9],21,-343485551),n=o(n,h),l=o(l,f),t=o(t,g),a=o(a,S)}return Array(n,l,t,a)}function m(r,i,n,l,t,a){return o(e(o(o(i,r),o(l,a)),t),n)}function v(r,i,n,l,t,a,c){return m(i&n|~i&l,r,i,t,a,c)}function p(r,i,n,l,t,a,c){return m(i&l|n&~l,r,i,t,a,c)}function s(r,i,n,l,t,a,c){return m(i^n^l,r,i,t,a,c)}function u(r,i,n,l,t,a,c){return m(n^(i|~l),r,i,t,a,c)}function o(r,i){var n=(r&65535)+(i&65535),l=(r>>16)+(i>>16)+(n>>16);return l<<16|n&65535}function e(r,i){return r<<i|r>>>32-i}P.exports=function(i){return w.hash(i,b,16)}},{"./helpers":285}],287:[function(M,P,d){"use strict";var w=M("./helpers");function A(s,u){s[u>>5]|=128<<24-u%32,s[(u+64>>9<<4)+15]=u;for(var o=Array(80),e=1732584193,r=-271733879,i=-1732584194,n=271733878,l=-1009589776,t=0;t<s.length;t+=16){for(var a=e,c=r,h=i,f=n,g=l,S=0;S<80;S++){S<16?o[S]=s[t+S]:o[S]=p(o[S-3]^o[S-8]^o[S-14]^o[S-16],1);var y=v(v(p(e,5),b(S,r,i,n)),v(v(l,o[S]),m(S)));l=n,n=i,i=p(r,30),r=e,e=y}e=v(e,a),r=v(r,c),i=v(i,h),n=v(n,f),l=v(l,g)}return Array(e,r,i,n,l)}function b(s,u,o,e){return s<20?u&o|~u&e:s<40?u^o^e:s<60?u&o|u&e|o&e:u^o^e}function m(s){return s<20?1518500249:s<40?1859775393:s<60?-1894007588:-899497514}function v(s,u){var o=(s&65535)+(u&65535),e=(s>>16)+(u>>16)+(o>>16);return e<<16|o&65535}function p(s,u){return s<<u|s>>>32-u}P.exports=function(u){return w.hash(u,A,20,!0)}},{"./helpers":285}],288:[function(M,P,d){"use strict";P.exports=function(){return function(){}}},{}],289:[function(M,P,d){(function(w){"use strict";var A=M("babel-runtime/helpers/typeof"),b=m(A);function m(e){return e&&e.__esModule?e:{default:e}}var v=M("stream"),p=v.Stream,s=M("../lib/common/utils/isArray"),u=s.isArray;P.exports.string=function(r){return typeof r=="string"},P.exports.array=u,P.exports.buffer=w.isBuffer;function o(e){return e instanceof p}P.exports.writableStream=function(r){return o(r)&&typeof r._write=="function"&&(0,b.default)(r._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,P,d){"use strict";d.encodeURIComponent=function(w){try{return encodeURIComponent(w)}catch(A){return w}},d.escape=M("escape-html"),d.timestamp=function(A){if(A){var b=A;return typeof b=="string"&&(b=Number(b)),String(A).length===10&&(b*=1e3),new Date(b)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(M,P,d){(function(w,A){"use strict";var b=M("babel-runtime/core-js/json/stringify"),m=s(b),v=M("babel-runtime/helpers/typeof"),p=s(v);function s(S){return S&&S.__esModule?S:{default:S}}var u=M("util"),o=M("url"),e=M("http"),r=M("https"),i=M("debug")("urllib"),n=M("humanize-ms"),l,t=0,a=Math.pow(2,31)-10,c=/^https?:\/\//i;function h(S,y){return S===void 0?y:S}function f(S,y){return function(E,C,T){if(E)return y(E);S({data:C,status:T.statusCode,headers:T.headers,res:T})}}d.TIMEOUTS=[n("300s"),n("300s")];var g=["json","text"];d.request=function(y,E,C){return arguments.length===2&&typeof E=="function"&&(C=E,E=null),typeof C=="function"?d.requestWithCallback(y,E,C):(l||(l=M("any-promise")),new l(function(T,x){d.requestWithCallback(y,E,f(T,x))}))},d.requestWithCallback=function(y,E,C){if(!y||typeof y!="string"&&(typeof y=="undefined"?"undefined":(0,p.default)(y))!=="object"){var T=u.format("expect request url to be a string or a http request options, but got %j",y);throw new Error(T)}arguments.length===2&&typeof E=="function"&&(C=E,E=null),E=E||{},t>=a&&(t=0);var x=++t;E.requestUrls=E.requestUrls||[];var _={requestId:x,url:y,args:E,ctx:E.ctx};E.emitter&&E.emitter.emit("request",_),E.timeout=E.timeout||d.TIMEOUTS,E.maxRedirects=E.maxRedirects||10,E.streaming=E.streaming||E.customResponse;var I=Date.now(),L;typeof y=="string"?(c.test(y)||(y="http://"+y),L=o.parse(y)):L=y;var D=(E.type||E.method||L.method||"GET").toUpperCase(),B=L.port||80,N=e,k=h(E.agent,d.agent),W=E.fixJSONCtlChars;L.protocol==="https:"&&(N=r,k=h(E.httpsAgent,d.httpsAgent),L.port||(B=443));var R={host:L.hostname||L.host||"localhost",path:L.path||"/",method:D,port:B,agent:k,headers:E.headers||{},lookup:E.lookup};Array.isArray(E.timeout)?R.requestTimeout=E.timeout[E.timeout.length-1]:typeof E.timeout!="undefined"&&(R.requestTimeout=E.timeout);for(var j=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],H=0;H<j.length;H++){var K=j[H];E.hasOwnProperty(K)&&(R[K]=E[K])}R.rejectUnauthorized===!1&&!R.hasOwnProperty("secureOptions")&&(R.secureOptions=M("constants").SSL_OP_NO_TLSv1_2);var U=E.auth||L.auth;U&&(R.auth=U);var Q=E.content||E.data,V=D==="GET"||D==="HEAD"||E.dataAsQueryString;if(!E.content&&(Q&&!(typeof Q=="string"||A.isBuffer(Q))))if(V)Q=E.nestedQuerystring?qs.stringify(Q):querystring.stringify(Q);else{var J=R.headers["Content-Type"]||R.headers["content-type"];J||(E.contentType==="json"?J="application/json":J="application/x-www-form-urlencoded",R.headers["Content-Type"]=J),parseContentType(J).type==="application/json"?Q=(0,m.default)(Q):Q=E.nestedQuerystring?qs.stringify(Q):querystring.stringify(Q)}V&&Q&&(R.path+=(L.query?"&":"?")+Q,Q=null);var ae=0;if(Q){var se=Q.length;A.isBuffer(Q)||(se=A.byteLength(Q)),ae=R.headers["Content-Length"]=se}E.dataType==="json"&&(R.headers.Accept="application/json"),typeof E.beforeRequest=="function"&&E.beforeRequest(R);var $=null,ge=null,he=null,Ie=!1,Se=!1,Le=0,He=-1,G=!1,pe="",We="",te=null;E.timing&&(te={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function X(){$&&(clearTimeout($),$=null)}function z(){ge&&(clearTimeout(ge),ge=null)}function Z(Oe,pt,Qe){if(z(),!C){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),x,w.pid,R.method,y),Oe&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),x,w.pid,Oe.name,Oe.message,Oe.stack);return}var nt=C;C=null;var bt={};if(Qe&&(He=Qe.statusCode,bt=Qe.headers),He===401&&bt["www-authenticate"]&&(!E.headers||!E.headers.Authorization)&&E.digestAuth){var Tt=bt["www-authenticate"];if(Tt.indexOf("Digest ")>=0)return i("Request#%d %s: got digest auth header WWW-Authenticate: %s",x,y,Tt),E.headers=E.headers||{},E.headers.Authorization=digestAuthHeader(R.method,R.path,Tt,E.digestAuth),i("Request#%d %s: auth with digest header: %s",x,y,E.headers.Authorization),Qe.headers["set-cookie"]&&(E.headers.Cookie=Qe.headers["set-cookie"].join(";")),d.requestWithCallback(y,E,nt)}var Ct=Date.now()-I;te&&(te.contentDownload=Ct),i("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Ct,Le,He,R.method,R.host,R.path,Se,te);var Nt={status:He,statusCode:He,headers:bt,size:Le,aborted:G,rt:Ct,keepAliveSocket:Se,data:pt,requestUrls:E.requestUrls,timing:te,remoteAddress:pe,remotePort:We};if(Oe){var Ge="";k&&typeof k.getCurrentStatus=="function"&&(Ge=", agent status: "+(0,m.default)(k.getCurrentStatus())),Oe.message+=", "+R.method+" "+y+" "+He+" (connected: "+Ie+", keepalive socket: "+Se+Ge+`)
|
|
|
headers: `+(0,m.default)(bt),Oe.data=pt,Oe.path=R.path,Oe.status=He,Oe.headers=bt,Oe.res=Nt}nt(Oe,pt,E.streaming?Qe:Nt),E.emitter&&(_.url=y,_.socket=tt&&tt.connection,_.options=R,_.size=ae,E.emitter.emit("response",{requestId:x,error:Oe,ctx:E.ctx,req:_,res:Nt}))}function be(Oe){var pt=null;if(E.followRedirect&&statuses.redirect[Oe.statusCode]){E._followRedirectCount=(E._followRedirectCount||0)+1;var Qe=Oe.headers.location;if(!Qe)pt=new Error("Got statusCode "+Oe.statusCode+" but cannot resolve next location from headers"),pt.name="FollowRedirectError";else if(E._followRedirectCount>E.maxRedirects)pt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+y),pt.name="MaxRedirectError";else{var nt=E.formatRedirectUrl?E.formatRedirectUrl(y,Qe):o.resolve(y,Qe);i("Request#%d %s: `redirected` from %s to %s",x,R.path,y,nt),z(),E.headers&&E.headers.Host&&c.test(Qe)&&(E.headers.Host=null);var bt=C;return C=null,d.requestWithCallback(nt,E,bt),{redirect:!0,error:null}}}return{redirect:!1,error:pt}}!R.headers["User-Agent"]&&!R.headers["user-agent"]&&(R.headers["User-Agent"]=navigator.userAgent),E.gzip&&(!R.headers["Accept-Encoding"]&&!R.headers["accept-encoding"]&&(R.headers["Accept-Encoding"]="gzip"));function ne(Oe,pt,Qe){var nt=Oe.headers["content-encoding"];return Qe(null,pt,nt)}var Ae=E.writeStream;i("Request#%d %s %s with headers %j, options.path: %s",x,D,y,R.headers,R.path),E.requestUrls.push(y);function Ne(Oe){if(te&&(te.waiting=Date.now()-I),i("Request#%d %s `req response` event emit: status %d, headers: %j",x,y,Oe.statusCode,Oe.headers),E.streaming){var pt=be(Oe);if(pt.redirect){Oe.resume();return}return pt.error?(Oe.resume(),Z(pt.error,null,Oe)):Z(null,null,Oe)}if(Oe.on("close",function(){i("Request#%d %s: `res close` event emit, total size %d",x,y,Le)}),Oe.on("error",function(){i("Request#%d %s: `res error` event emit, total size %d",x,y,Le)}),Oe.on("aborted",function(){G=!0,i("Request#%d %s: `res aborted` event emit, total size %d",x,y,Le)}),Ae){var pt=be(Oe);if(pt.redirect){Oe.resume();return}return pt.error?(Oe.resume(),Ae.end(),Z(pt.error,null,Oe)):(E.consumeWriteStream===!1?Oe.on("end",Z.bind(null,null,null,Oe)):isNode010||isNode012?first([[Ae,"close"],[Oe,"aborted"]],function(bt,Tt,Ct){i("Request#%d %s: writeStream or res %s event emitted",x,y,Ct),Z(he||null,null,Oe)}):Ae.on("close",function(){i("Request#%d %s: writeStream close event emitted",x,y),Z(he||null,null,Oe)}),Oe.pipe(Ae))}var Qe=[];Oe.on("data",function(nt){i("Request#%d %s: `res data` event emit, size %d",x,y,nt.length),Le+=nt.length,Qe.push(nt)}),Oe.on("end",function(){var nt=A.concat(Qe,Le);if(i("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",x,y,Le,Oe._dumped),he)return Z(he,nt,Oe);var bt=be(Oe);if(bt.error)return Z(bt.error,nt,Oe);if(bt.redirect)return;ne(Oe,nt,function(Tt,Ct,Nt){if(Tt)return Z(Tt,nt,Oe);if(!Nt&&g.indexOf(E.dataType)>=0){try{Ct=decodeBodyByCharset(Ct,Oe)}catch(ie){return i("decodeBodyByCharset error: %s",ie),Z(null,Ct,Oe)}if(E.dataType==="json")if(Le===0)Ct=null;else{var Ge=parseJSON(Ct,W);Ge.error?Tt=Ge.error:Ct=Ge.data}}G&&i("Request#%d %s: Remote socket was terminated before `response.end()` was called",x,y),Z(Tt,Ct,Oe)})})}var oe,de;Array.isArray(E.timeout)?(oe=n(E.timeout[0]),de=n(E.timeout[1])):oe=de=n(E.timeout),i("ConnectTimeout: %d, ResponseTimeout: %d",oe,de);function xe(){i("Connect timer ticking, timeout: %d",oe),$=setTimeout(function(){$=null,He===-1&&(He=-2);var Oe="Connect timeout for "+oe+"ms",pt="ConnectionTimeoutError";tt.socket||(pt="SocketAssignTimeoutError",Oe+=", working sockets is full"),he=new Error(Oe),he.name=pt,he.requestId=x,i("ConnectTimeout: Request#%d %s %s: %s, connected: %s",x,y,he.name,Oe,Ie),Je()},oe)}function Pe(){i("Response timer ticking, timeout: %d",de),ge=setTimeout(function(){ge=null;var Oe="Response timeout for "+de+"ms",pt="ResponseTimeoutError";he=new Error(Oe),he.name=pt,he.requestId=x,i("ResponseTimeout: Request#%d %s %s: %s, connected: %s",x,y,he.name,Oe,Ie),Je()},de)}var tt;R.mode=E.mode?E.mode:"";try{tt=N.request(R,Ne)}catch(Oe){return Z(Oe)}typeof window=="undefined"?xe():tt.on("requestTimeout",function(){He===-1&&(He=-2);var Oe="Connect timeout for "+oe+"ms",pt="ConnectionTimeoutError";he=new Error(Oe),he.name=pt,he.requestId=x,Je()});function Je(){i("Request#%d %s abort, connected: %s",x,y,Ie),tt.socket||(he.noSocket=!0,Z(he)),tt.abort()}return te&&tt.on("finish",function(){te.requestSent=Date.now()-I}),tt.once("socket",function(Oe){te&&(te.queuing=Date.now()-I),isNode010&&Oe.socket&&(Oe=Oe.socket);var pt=Oe.readyState;if(pt==="opening"){Oe.once("lookup",function(Qe,nt,bt){i("Request#%d %s lookup: %s, %s, %s",x,y,Qe,nt,bt),te&&(te.dnslookup=Date.now()-I),nt&&(pe=nt)}),Oe.once("connect",function(){te&&(te.connected=Date.now()-I),X(),Pe(),i("Request#%d %s new socket connected",x,y),Ie=!0,pe||(pe=Oe.remoteAddress),We=Oe.remotePort});return}i("Request#%d %s reuse socket connected, readyState: %s",x,y,pt),Ie=!0,Se=!0,pe||(pe=Oe.remoteAddress),We=Oe.remotePort,X(),Pe()}),tt.on("error",function(Oe){(Oe.name==="Error"||Oe.name==="TypeError")&&(Oe.name=Ie?"ResponseError":"RequestError"),Oe.message+=' (req "error")',i("Request#%d %s `req error` event emit, %s: %s",x,y,Oe.name,Oe.message),Z(he||Oe)}),Ae&&Ae.once("error",function(Oe){Oe.message+=' (writeStream "error")',he=Oe,i("Request#%d %s `writeStream error` event emit, %s: %s",x,y,Oe.name,Oe.message),Je()}),E.stream?(E.stream.pipe(tt),E.stream.once("error",function(Oe){Oe.message+=' (stream "error")',he=Oe,i("Request#%d %s `readStream error` event emit, %s: %s",x,y,Oe.name,Oe.message),Je()})):tt.end(Q),tt.requestId=x,tt}}).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,P,d){var w=d("hX1E"),A=w.normalizeRadian,b=Math.PI*2;function m(v,p,s,u,o,e,r,i,n){if(r===0)return!1;var l=r;i-=v,n-=p;var t=Math.sqrt(i*i+n*n);if(t-l>s||t+l<s)return!1;if(Math.abs(u-o)%b<1e-4)return!0;if(e){var a=u;u=A(o),o=A(a)}else u=A(u),o=A(o);u>o&&(o+=b);var c=Math.atan2(n,i);return c<0&&(c+=b),c>=u&&c<=o||c+b>=u&&c+b<=o}P.containStroke=m},n4Lv:function(M,P,d){var w=d("7hqr"),A=w.isDimensionStacked,b=d("bYtY"),m=b.map;function v(u,o,e){var r=u.getBaseAxis(),i=u.getOtherAxis(r),n=p(i,e),l=r.dim,t=i.dim,a=o.mapDimension(t),c=o.mapDimension(l),h=t==="x"||t==="radius"?1:0,f=m(u.dimensions,function(y){return o.mapDimension(y)}),g,S=o.getCalculationInfo("stackResultDimension");return(g|=A(o,f[0]))&&(f[0]=S),(g|=A(o,f[1]))&&(f[1]=S),{dataDimsForPoint:f,valueStart:n,valueAxisDim:t,baseAxisDim:l,stacked:!!g,valueDim:a,baseDim:c,baseDataOffset:h,stackedOverDimension:o.getCalculationInfo("stackedOverDimension")}}function p(u,o){var e=0,r=u.scale.getExtent();return o==="start"?e=r[0]:o==="end"?e=r[1]:r[0]>0?e=r[0]:r[1]<0&&(e=r[1]),e}function s(u,o,e,r){var i=NaN;u.stacked&&(i=e.get(e.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=u.valueStart);var n=u.baseDataOffset,l=[];return l[n]=e.get(u.baseDim,r),l[1-n]=i,o.dataToPoint(l)}P.prepareDataCoordInfo=v,P.getStackedOnPoint=s},n6Mw:function(M,P,d){var w=d("SrGk"),A=d("bYtY"),b=d("Fofx");function m(p,s){w.call(this,p,s,"clipPath","__clippath_in_use__")}A.inherits(m,w),m.prototype.update=function(p){var s=this.getSvgElement(p);s&&this.updateDom(s,p.__clipPaths,!1);var u=this.getTextSvgElement(p);u&&this.updateDom(u,p.__clipPaths,!0),this.markUsed(p)},m.prototype.updateDom=function(p,s,u){if(s&&s.length>0){var o=this.getDefs(!0),e=s[0],r,i,n=u?"_textDom":"_dom";e[n]?(i=e[n].getAttribute("id"),r=e[n],o.contains(r)||o.appendChild(r)):(i="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,r=this.createElement("clipPath"),r.setAttribute("id",i),o.appendChild(r),e[n]=r);var l=this.getSvgProxy(e);if(e.transform&&e.parent.invTransform&&!u){var t=Array.prototype.slice.call(e.transform);b.mul(e.transform,e.parent.invTransform,e.transform),l.brush(e),e.transform=t}else l.brush(e);var a=this.getSvgElement(e);r.innerHTML="",r.appendChild(a.cloneNode()),p.setAttribute("clip-path","url(#"+i+")"),s.length>1&&this.updateDom(r,s.slice(1),u)}else p&&p.setAttribute("clip-path","none")},m.prototype.markUsed=function(p){var s=this;p.__clipPaths&&A.each(p.__clipPaths,function(u){u._dom&&w.prototype.markUsed.call(s,u._dom),u._textDom&&w.prototype.markUsed.call(s,u._textDom)})};var v=m;M.exports=v},nCxF:function(M,P,d){var w=d("QBsz"),A=w.min,b=w.max,m=w.scale,v=w.distance,p=w.add,s=w.clone,u=w.sub;function o(e,r,i,n){var l=[],t=[],a=[],c=[],h,f,g,S;if(n){g=[Infinity,Infinity],S=[-Infinity,-Infinity];for(var y=0,E=e.length;y<E;y++)A(g,g,e[y]),b(S,S,e[y]);A(g,g,n[0]),b(S,S,n[1])}for(var y=0,E=e.length;y<E;y++){var C=e[y];if(i)h=e[y?y-1:E-1],f=e[(y+1)%E];else if(y===0||y===E-1){l.push(s(e[y]));continue}else h=e[y-1],f=e[y+1];u(t,f,h),m(t,t,r);var T=v(C,h),x=v(C,f),_=T+x;_!==0&&(T/=_,x/=_),m(a,t,-T),m(c,t,x);var I=p([],C,a),L=p([],C,c);n&&(b(I,I,g),A(I,I,S),b(L,L,g),A(L,L,S)),l.push(I),l.push(L)}return i&&l.push(l.shift()),l}M.exports=o},nKiI:function(M,P,d){var w=d("bYtY"),A=d("mFDi"),b=d("OELB"),m=b.parsePercent,v=b.MAX_SAFE_INTEGER,p=d("+TT/"),s=d("VaxA"),u=Math.max,o=Math.min,e=w.retrieve,r=w.each,i=["itemStyle","borderWidth"],n=["itemStyle","gapWidth"],l=["upperLabel","show"],t=["upperLabel","height"],a={seriesType:"treemap",reset:function(I,L,D,B){var N=D.getWidth(),k=D.getHeight(),W=I.option,R=p.getLayoutRect(I.getBoxLayoutParams(),{width:D.getWidth(),height:D.getHeight()}),j=W.size||[],H=m(e(R.width,j[0]),N),K=m(e(R.height,j[1]),k),U=B&&B.type,Q=["treemapZoomToNode","treemapRootToNode"],V=s.retrieveTargetInfo(B,Q,I),J=U==="treemapRender"||U==="treemapMove"?B.rootRect:null,ae=I.getViewRoot(),se=s.getPathToRoot(ae);if(U!=="treemapMove"){var $=U==="treemapZoomToNode"?C(I,V,ae,H,K):J?[J.width,J.height]:[H,K],ge=W.sort;ge&&ge!=="asc"&&ge!=="desc"&&(ge="desc");var he={squareRatio:W.squareRatio,sort:ge,leafDepth:W.leafDepth};ae.hostTree.clearLayouts();var Ie={x:0,y:0,width:$[0],height:$[1],area:$[0]*$[1]};ae.setLayout(Ie),c(ae,he,!1,0);var Ie=ae.getLayout();r(se,function(Le,He){var G=(se[He+1]||ae).getValue();Le.setLayout(w.extend({dataExtent:[G,G],borderWidth:0,upperHeight:0},Ie))})}var Se=I.getData().tree.root;Se.setLayout(T(R,J,V),!0),I.setLayoutInfo(R),x(Se,new A(-R.x,-R.y,N,k),se,ae,0)}};function c(I,L,D,B){var N,k;if(I.isRemoved())return;var W=I.getLayout();N=W.width,k=W.height;var R=I.getModel(),j=R.get(i),H=R.get(n)/2,K=_(R),U=Math.max(j,K),Q=j-H,V=U-H,R=I.getModel();I.setLayout({borderWidth:j,upperHeight:U,upperLabelHeight:K},!0),N=u(N-2*Q,0),k=u(k-Q-V,0);var J=N*k,ae=h(I,R,J,L,D,B);if(!ae.length)return;var se={x:Q,y:V,width:N,height:k},$=o(N,k),ge=Infinity,he=[];he.area=0;for(var Ie=0,Se=ae.length;Ie<Se;){var Le=ae[Ie];he.push(Le),he.area+=Le.getLayout().area;var He=y(he,$,L.squareRatio);He<=ge?(Ie++,ge=He):(he.area-=he.pop().getLayout().area,E(he,$,se,H,!1),$=o(se.width,se.height),he.length=he.area=0,ge=Infinity)}if(he.length&&E(he,$,se,H,!0),!D){var G=R.get("childrenVisibleMin");G!=null&&J<G&&(D=!0)}for(var Ie=0,Se=ae.length;Ie<Se;Ie++)c(ae[Ie],L,D,B+1)}function h(I,L,D,B,N,k){var W=I.children||[],R=B.sort;R!=="asc"&&R!=="desc"&&(R=null);var j=B.leafDepth!=null&&B.leafDepth<=k;if(N&&!j)return I.viewChildren=[];W=w.filter(W,function(V){return!V.isRemoved()}),g(W,R);var H=S(L,W,R);if(H.sum===0)return I.viewChildren=[];if(H.sum=f(L,D,H.sum,R,W),H.sum===0)return I.viewChildren=[];for(var K=0,U=W.length;K<U;K++){var Q=W[K].getValue()/H.sum*D;W[K].setLayout({area:Q})}return j&&(W.length&&I.setLayout({isLeafRoot:!0},!0),W.length=0),I.viewChildren=W,I.setLayout({dataExtent:H.dataExtent},!0),W}function f(I,L,D,B,N){if(!B)return D;for(var k=I.get("visibleMin"),W=N.length,R=W,j=W-1;j>=0;j--){var H=N[B==="asc"?W-j-1:j].getValue();H/D*L<k&&(R=j,D-=H)}return B==="asc"?N.splice(0,W-R):N.splice(R,W-R),D}function g(I,L){return L&&I.sort(function(D,B){var N=L==="asc"?D.getValue()-B.getValue():B.getValue()-D.getValue();return N===0?L==="asc"?D.dataIndex-B.dataIndex:B.dataIndex-D.dataIndex:N}),I}function S(I,L,D){for(var B=0,N=0,k=L.length;N<k;N++)B+=L[N].getValue();var W=I.get("visualDimension"),R;if(!L||!L.length)R=[NaN,NaN];else if(W==="value"&&D)R=[L[L.length-1].getValue(),L[0].getValue()],D==="asc"&&R.reverse();else{var R=[Infinity,-Infinity];r(L,function(H){var K=H.getValue(W);K<R[0]&&(R[0]=K),K>R[1]&&(R[1]=K)})}return{sum:B,dataExtent:R}}function y(I,L,D){for(var B=0,N=Infinity,k=0,W,R=I.length;k<R;k++)W=I[k].getLayout().area,W&&(W<N&&(N=W),W>B&&(B=W));var j=I.area*I.area,H=L*L*D;return j?u(H*B/j,j/(H*N)):Infinity}function E(I,L,D,B,N){var k=L===D.width?0:1,W=1-k,R=["x","y"],j=["width","height"],H=D[R[k]],K=L?I.area/L:0;(N||K>D[j[W]])&&(K=D[j[W]]);for(var U=0,Q=I.length;U<Q;U++){var V=I[U],J={},ae=K?V.getLayout().area/K:0,se=J[j[W]]=u(K-2*B,0),$=D[R[k]]+D[j[k]]-H,ge=U===Q-1||$<ae?$:ae,he=J[j[k]]=u(ge-2*B,0);J[R[W]]=D[R[W]]+o(B,se/2),J[R[k]]=H+o(B,he/2),H+=ge,V.setLayout(J,!0)}D[R[W]]+=K,D[j[W]]-=K}function C(I,L,D,B,N){var k=(L||{}).node,W=[B,N];if(!k||k===D)return W;for(var R,j=B*N,H=j*I.option.zoomToNodeRatio;R=k.parentNode;){for(var K=0,U=R.children,Q=0,V=U.length;Q<V;Q++)K+=U[Q].getValue();var J=k.getValue();if(J===0)return W;H*=K/J;var ae=R.getModel(),se=ae.get(i),$=Math.max(se,_(ae,se));H+=4*se*se+(3*se+$)*Math.pow(H,.5),H>v&&(H=v),k=R}H<j&&(H=j);var ge=Math.pow(H/j,.5);return[B*ge,N*ge]}function T(I,L,D){if(L)return{x:L.x,y:L.y};var B={x:0,y:0};if(!D)return B;var N=D.node,k=N.getLayout();if(!k)return B;for(var W=[k.width/2,k.height/2],R=N;R;){var j=R.getLayout();W[0]+=j.x,W[1]+=j.y,R=R.parentNode}return{x:I.width/2-W[0],y:I.height/2-W[1]}}function x(I,L,D,B,N){var k=I.getLayout(),W=D[N],R=W&&W===I;if(W&&!R||N===D.length&&I!==B)return;I.setLayout({isInView:!0,invisible:!R&&!L.intersect(k),isAboveViewRoot:R},!0);var j=new A(L.x-k.x,L.y-k.y,L.width,L.height);r(I.viewChildren||[],function(H){x(H,j,D,B,N+1)})}function _(I){return I.get(l)?I.get(t):0}M.exports=a},nPnh:function(M,P){var d=Math.round;function w(m,v,p){if(!v)return;var s=v.x1,u=v.x2,o=v.y1,e=v.y2;m.x1=s,m.x2=u,m.y1=o,m.y2=e;var r=p&&p.lineWidth;if(!r)return;d(s*2)===d(u*2)&&(m.x1=m.x2=b(s,r,!0)),d(o*2)===d(e*2)&&(m.y1=m.y2=b(o,r,!0))}function A(m,v,p){if(!v)return;var s=v.x,u=v.y,o=v.width,e=v.height;m.x=s,m.y=u,m.width=o,m.height=e;var r=p&&p.lineWidth;if(!r)return;m.x=b(s,r,!0),m.y=b(u,r,!0),m.width=Math.max(b(s+o,r,!1)-m.x,o===0?0:1),m.height=Math.max(b(u+e,r,!1)-m.y,e===0?0:1)}function b(m,v,p){if(!v)return m;var s=d(m*2);return(s+d(v))%2===0?s/2:(s+(p?1:-1))/2}P.subPixelOptimizeLine=w,P.subPixelOptimizeRect=A,P.subPixelOptimize=b},nVfU:function(M,P,d){var w=d("bYtY"),A=d("OELB"),b=A.parsePercent,m=d("7hqr"),v=m.isDimensionStacked,p=d("zM3Q"),s="__ec_stack_",u=.5,o=typeof Float32Array!="undefined"?Float32Array:Array;function e(E){return E.get("stack")||s+E.seriesIndex}function r(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:s+I},E));for(var L=a(C),D=[],I=0;I<E.count;I++){var B=L[x][s+I];B.offsetCenter=B.offset+B.width/2,D.push(B)}return D}function n(E,C){var T=[];return C.eachSeriesByType(E,function(x){g(x)&&!S(x)&&T.push(x)}),T}function l(E){var C={};w.each(E,function(B){var N=B.coordinateSystem,k=N.getBaseAxis();if(k.type!=="time"&&k.type!=="value")return;for(var W=B.getData(),R=k.dim+"_"+k.index,j=W.mapDimension(k.dim),H=0,K=W.count();H<K;++H){var U=W.get(j,H);C[R]?C[R].push(U):C[R]=[U]}});var T=[];for(var x in C)if(C.hasOwnProperty(x)){var _=C[x];if(_){_.sort(function(B,N){return B-N});for(var I=null,L=1;L<_.length;++L){var D=_[L]-_[L-1];D>0&&(I=I===null?D:Math.min(I,D))}T[x]=I}}return T}function t(E){var C=l(E),T=[];return w.each(E,function(x){var _=x.coordinateSystem,I=_.getBaseAxis(),L=I.getExtent(),D;if(I.type==="category")D=I.getBandWidth();else if(I.type==="value"||I.type==="time"){var B=I.dim+"_"+I.index,N=C[B],k=Math.abs(L[1]-L[0]),W=I.scale.getExtent(),R=Math.abs(W[1]-W[0]);D=N?k/R*N:k}else{var j=x.getData();D=Math.abs(L[1]-L[0])/j.count()}var H=b(x.get("barWidth"),D),K=b(x.get("barMaxWidth"),D),U=b(x.get("barMinWidth")||1,D),Q=x.get("barGap"),V=x.get("barCategoryGap");T.push({bandWidth:D,barWidth:H,barMaxWidth:K,barMinWidth:U,barGap:Q,barCategoryGap:V,axisKey:r(I),stackId:e(x)})}),a(T)}function a(E){var C={};w.each(E,function(x,_){var I=x.axisKey,L=x.bandWidth,D=C[I]||{bandWidth:L,remainedWidth:L,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},B=D.stacks;C[I]=D;var N=x.stackId;B[N]||D.autoWidthCount++,B[N]=B[N]||{width:0,maxWidth:0};var k=x.barWidth;k&&!B[N].width&&(B[N].width=k,k=Math.min(D.remainedWidth,k),D.remainedWidth-=k);var W=x.barMaxWidth;W&&(B[N].maxWidth=W);var R=x.barMinWidth;R&&(B[N].minWidth=R);var j=x.barGap;j!=null&&(D.gap=j);var H=x.barCategoryGap;H!=null&&(D.categoryGap=H)});var T={};return w.each(C,function(x,_){T[_]={};var I=x.stacks,L=x.bandWidth,D=b(x.categoryGap,L),B=b(x.gap,1),N=x.remainedWidth,k=x.autoWidthCount,W=(N-D)/(k+(k-1)*B);W=Math.max(W,0),w.each(I,function(K){var U=K.maxWidth,Q=K.minWidth;if(K.width){var V=K.width;U&&(V=Math.min(V,U)),Q&&(V=Math.max(V,Q)),K.width=V,N-=V+B*V,k--}else{var V=W;U&&U<V&&(V=Math.min(U,N)),Q&&Q>V&&(V=Q),V!==W&&(K.width=V,N-=V+B*V,k--)}}),W=(N-D)/(k+(k-1)*B),W=Math.max(W,0);var R=0,j;w.each(I,function(K,U){K.width||(K.width=W),j=K,R+=K.width*(1+B)}),j&&(R-=j.width*B);var H=-R/2;w.each(I,function(K,U){T[_][U]=T[_][U]||{bandWidth:L,offset:H,width:K.width},H+=K.width*(1+B)})}),T}function c(E,C,T){if(E&&C){var x=E[r(C)];return x!=null&&T!=null&&(x=x[e(T)]),x}}function h(E,C){var T=n(E,C),x=t(T),_={},I={};w.each(T,function(L){var D=L.getData(),B=L.coordinateSystem,N=B.getBaseAxis(),k=e(L),W=x[r(N)][k],R=W.offset,j=W.width,H=B.getOtherAxis(N),K=L.get("barMinHeight")||0;_[k]=_[k]||[],I[k]=I[k]||[],D.setLayout({bandWidth:W.bandWidth,offset:R,size:j});for(var U=D.mapDimension(H.dim),Q=D.mapDimension(N.dim),V=v(D,U),J=H.isHorizontal(),ae=y(N,H,V),se=0,$=D.count();se<$;se++){var ge=D.get(U,se),he=D.get(Q,se),Ie=ge>=0?"p":"n",Se=ae;V&&(_[k][he]||(_[k][he]={p:ae,n:ae}),Se=_[k][he][Ie]);var Le,He,G,pe;if(J){var We=B.dataToPoint([ge,he]);Le=Se,He=We[1]+R,G=We[0]-ae,pe=j,Math.abs(G)<K&&(G=(G<0?-1:1)*K),isNaN(G)||V&&(_[k][he][Ie]+=G)}else{var We=B.dataToPoint([he,ge]);Le=We[0]+R,He=Se,G=j,pe=We[1]-ae,Math.abs(pe)<K&&(pe=(pe<=0?-1:1)*K),isNaN(pe)||V&&(_[k][he][Ie]+=pe)}D.setItemLayout(se,{x:Le,y:He,width:G,height:pe})}},this)}var f={seriesType:"bar",plan:p(),reset:function(E){if(!g(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),D=C.mapDimension(_.dim),B=I.isHorizontal(),N=B?0:1,k=c(t([E]),_,E).width;return k>u||(k=u),{progress:W};function W(R,j){for(var H=R.count,K=new o(H*2),U=new o(H*2),Q=new o(H),V,J=[],ae=[],se=0,$=0;(V=R.next())!=null;)ae[N]=j.get(L,V),ae[1-N]=j.get(D,V),J=T.dataToPoint(ae,null,J),U[se]=B?x.x+x.width:J[0],K[se++]=J[0],U[se]=B?J[1]:x.y+x.height,K[se++]=J[1],Q[$++]=V;j.setLayout({largePoints:K,largeDataIndices:Q,largeBackgroundPoints:U,barWidth:k,valueAxisStart:y(_,I,!1),backgroundStart:B?x.x:x.y,valueAxisHorizontal:B})}}};function g(E){return E.coordinateSystem&&E.coordinateSystem.type==="cartesian2d"}function S(E){return E.pipelineContext&&E.pipelineContext.large}function y(E,C,T){return C.toGlobalCoord(C.dataToCoord(C.type==="log"?1:0))}P.getLayoutOnAxis=i,P.prepareLayoutBarSeries=n,P.makeColumnLayout=t,P.retrieveColumnLayout=c,P.layout=h,P.largeLayout=f},neMx:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("+WA2"),m=d.n(b),v=d("DCkM"),p=d("Qo87"),s=d("NDDJ")},ngQI:function(M,P,d){"use strict";d.d(P,"a",function(){return Pc}),d.d(P,"b",function(){return Lc}),d.d(P,"c",function(){return mr});var w=d("q1tI"),A=d.n(w),b=d("dI71"),m=d("wx14"),v=d("ANjH"),p=d("/MKj");function s(Re,ee){if(Re.length!==ee.length)return!1;for(var ye=0;ye<Re.length;ye++)if(Re[ye]!==ee[ye])return!1;return!0}function u(Re,ee){var ye=Object(w.useState)(function(){return{inputs:ee,result:Re()}})[0],Ve=Object(w.useRef)(!0),it=Object(w.useRef)(ye),Et=Ve.current||Boolean(ee&&it.current.inputs&&s(ee,it.current.inputs)),Rt=Et?it.current:{inputs:ee,result:Re()};return Object(w.useEffect)(function(){Ve.current=!1,it.current=Rt},[Rt]),Rt.result}function o(Re,ee){return u(function(){return Re},ee)}var e=u,r=o,i=d("9R94"),n=function(ee){var ye=ee.top,Ve=ee.right,it=ee.bottom,Et=ee.left,Rt=Ve-Et,Ft=it-ye,nr={top:ye,right:Ve,bottom:it,left:Et,width:Rt,height:Ft,x:Et,y:ye,center:{x:(Ve+Et)/2,y:(it+ye)/2}};return nr},l=function(ee,ye){return{top:ee.top-ye.top,left:ee.left-ye.left,bottom:ee.bottom+ye.bottom,right:ee.right+ye.right}},t=function(ee,ye){return{top:ee.top+ye.top,left:ee.left+ye.left,bottom:ee.bottom-ye.bottom,right:ee.right-ye.right}},a=function(ee,ye){return{top:ee.top+ye.y,left:ee.left+ye.x,bottom:ee.bottom+ye.y,right:ee.right+ye.x}},c={top:0,right:0,bottom:0,left:0},h=function(ee){var ye=ee.borderBox,Ve=ee.margin,it=Ve===void 0?c:Ve,Et=ee.border,Rt=Et===void 0?c:Et,Ft=ee.padding,nr=Ft===void 0?c:Ft,yr=n(l(ye,it)),rr=n(t(ye,Rt)),qt=n(t(rr,nr));return{marginBox:yr,borderBox:n(ye),paddingBox:rr,contentBox:qt,margin:it,border:Rt,padding:nr}},f=function(ee){var ye=ee.slice(0,-2),Ve=ee.slice(-2);if(Ve!=="px")return 0;var it=Number(ye);return isNaN(it)&&Object(i.a)(!1),it},g=function(){return{x:window.pageXOffset,y:window.pageYOffset}},S=function(ee,ye){var Ve=ee.borderBox,it=ee.border,Et=ee.margin,Rt=ee.padding,Ft=a(Ve,ye);return h({borderBox:Ft,border:it,margin:Et,padding:Rt})},y=function(ee,ye){return ye===void 0&&(ye=g()),S(ee,ye)},E=function(ee,ye){var Ve={top:f(ye.marginTop),right:f(ye.marginRight),bottom:f(ye.marginBottom),left:f(ye.marginLeft)},it={top:f(ye.paddingTop),right:f(ye.paddingRight),bottom:f(ye.paddingBottom),left:f(ye.paddingLeft)},Et={top:f(ye.borderTopWidth),right:f(ye.borderRightWidth),bottom:f(ye.borderBottomWidth),left:f(ye.borderLeftWidth)};return h({borderBox:ee,margin:Ve,padding:it,border:Et})},C=function(ee){var ye=ee.getBoundingClientRect(),Ve=window.getComputedStyle(ee);return E(ye,Ve)},T=Number.isNaN||function(ee){return typeof ee=="number"&&ee!==ee};function x(Re,ee){return Re===ee?!0:!!(T(Re)&&T(ee))}function _(Re,ee){if(Re.length!==ee.length)return!1;for(var ye=0;ye<Re.length;ye++)if(!x(Re[ye],ee[ye]))return!1;return!0}function I(Re,ee){ee===void 0&&(ee=_);var ye,Ve=[],it,Et=!1;function Rt(){for(var Ft=[],nr=0;nr<arguments.length;nr++)Ft[nr]=arguments[nr];return Et&&ye===this&&ee(Ft,Ve)||(it=Re.apply(this,Ft),Et=!0,ye=this,Ve=Ft),it}return Rt}var L=I,D=function(ee){var ye=[],Ve=null,it=function(){for(var Rt=arguments.length,Ft=new Array(Rt),nr=0;nr<Rt;nr++)Ft[nr]=arguments[nr];if(ye=Ft,Ve)return;Ve=requestAnimationFrame(function(){Ve=null,ee.apply(void 0,ye)})};return it.cancel=function(){if(!Ve)return;cancelAnimationFrame(Ve),Ve=null},it},B=D,N=d("i8i4"),k=d.n(N),W=!0,R=/[ \t]{2,}/g,j=/^[ \t]*/gm,H=function(ee){return ee.replace(R," ").replace(j,"").trim()},K=function(ee){return H(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+H(ee)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},U=function(ee){return[K(ee),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},Q="__react-beautiful-dnd-disable-dev-warnings";function V(Re,ee){var ye;if(W)return;if(typeof window!="undefined"&&window[Q])return;(ye=console)[Re].apply(ye,U(ee))}var J=V.bind(null,"warn"),ae=V.bind(null,"error");function se(){}function $(Re,ee){return Object(m.a)({},Re,{},ee)}function ge(Re,ee,ye){var Ve=ee.map(function(it){var Et=$(ye,it.options);return Re.addEventListener(it.eventName,it.fn,Et),function(){Re.removeEventListener(it.eventName,it.fn,Et)}});return function(){Ve.forEach(function(Et){Et()})}}var he=!0,Ie="Invariant failed";function Se(Re){this.message=Re}Se.prototype.toString=function(){return this.message};function Le(Re,ee){if(Re)return;throw he?new Se(Ie):new Se(Ie+": "+(ee||""))}var He=function(Re){Object(b.a)(ee,Re);function ee(){for(var Ve,it=arguments.length,Et=new Array(it),Rt=0;Rt<it;Rt++)Et[Rt]=arguments[Rt];return Ve=Re.call.apply(Re,[this].concat(Et))||this,Ve.callbacks=null,Ve.unbind=se,Ve.onWindowError=function(Ft){var nr=Ve.getCallbacks();nr.isDragging()&&nr.tryAbort();var yr=Ft.error;yr instanceof Se&&Ft.preventDefault()},Ve.getCallbacks=function(){if(!Ve.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return Ve.callbacks},Ve.setCallbacks=function(Ft){Ve.callbacks=Ft},Ve}var ye=ee.prototype;return ye.componentDidMount=function(){this.unbind=ge(window,[{eventName:"error",fn:this.onWindowError}])},ye.componentWillUnmount=function(){this.unbind()},ye.componentDidCatch=function(it){if(it instanceof Se){this.setState({});return}throw it},ye.render=function(){return this.props.children(this.setCallbacks)},ee}(A.a.Component),G=`
|
|
|
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
|
|
|
`,pe=function(ee){return ee+1},We=function(ee){return`
|
|
|
You have lifted an item in position `+pe(ee.source.index)+`
|
|
|
`},te=function(ee,ye){var Ve=ee.droppableId===ye.droppableId,it=pe(ee.index),Et=pe(ye.index);return Ve?`
|
|
|
You have moved the item from position `+it+`
|
|
|
to position `+Et+`
|
|
|
`:`
|
|
|
You have moved the item from position `+it+`
|
|
|
in list `+ee.droppableId+`
|
|
|
to list `+ye.droppableId+`
|
|
|
in position `+Et+`
|
|
|
`},X=function(ee,ye,Ve){var it=ye.droppableId===Ve.droppableId;return it?`
|
|
|
The item `+ee+`
|
|
|
has been combined with `+Ve.draggableId:`
|
|
|
The item `+ee+`
|
|
|
in list `+ye.droppableId+`
|
|
|
has been combined with `+Ve.draggableId+`
|
|
|
in list `+Ve.droppableId+`
|
|
|
`},z=function(ee){var ye=ee.destination;if(ye)return te(ee.source,ye);var Ve=ee.combine;return Ve?X(ee.draggableId,ee.source,Ve):"You are over an area that cannot be dropped on"},Z=function(ee){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+pe(ee.index)+`
|
|
|
`},be=function(ee){if(ee.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+Z(ee.source)+`
|
|
|
`;var ye=ee.destination,Ve=ee.combine;return ye?`
|
|
|
You have dropped the item.
|
|
|
`+te(ee.source,ye)+`
|
|
|
`:Ve?`
|
|
|
You have dropped the item.
|
|
|
`+X(ee.draggableId,ee.source,Ve)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+Z(ee.source)+`
|
|
|
`},ne={dragHandleUsageInstructions:G,onDragStart:We,onDragUpdate:z,onDragEnd:be},Ae={x:0,y:0},Ne=function(ee,ye){return{x:ee.x+ye.x,y:ee.y+ye.y}},oe=function(ee,ye){return{x:ee.x-ye.x,y:ee.y-ye.y}},de=function(ee,ye){return ee.x===ye.x&&ee.y===ye.y},xe=function(ee){return{x:ee.x!==0?-ee.x:0,y:ee.y!==0?-ee.y:0}},Pe=function(ee,ye,Ve){var it;return Ve===void 0&&(Ve=0),it={},it[ee]=ye,it[ee==="x"?"y":"x"]=Ve,it},tt=function(ee,ye){return Math.sqrt(Math.pow(ye.x-ee.x,2)+Math.pow(ye.y-ee.y,2))},Je=function(ee,ye){return Math.min.apply(Math,ye.map(function(Ve){return tt(ee,Ve)}))},Oe=function(ee){return function(ye){return{x:ee(ye.x),y:ee(ye.y)}}},pt=function(ee,ye){var Ve=n({top:Math.max(ye.top,ee.top),right:Math.min(ye.right,ee.right),bottom:Math.min(ye.bottom,ee.bottom),left:Math.max(ye.left,ee.left)});return Ve.width<=0||Ve.height<=0?null:Ve},Qe=function(ee,ye){return{top:ee.top+ye.y,left:ee.left+ye.x,bottom:ee.bottom+ye.y,right:ee.right+ye.x}},nt=function(ee){return[{x:ee.left,y:ee.top},{x:ee.right,y:ee.top},{x:ee.left,y:ee.bottom},{x:ee.right,y:ee.bottom}]},bt={top:0,right:0,bottom:0,left:0},Tt=function(ee,ye){return ye?Qe(ee,ye.scroll.diff.displacement):ee},Ct=function(ee,ye,Ve){if(Ve&&Ve.increasedBy){var it;return Object(m.a)({},ee,(it={},it[ye.end]=ee[ye.end]+Ve.increasedBy[ye.line],it))}return ee},Nt=function(ee,ye){return ye&&ye.shouldClipSubject?pt(ye.pageMarginBox,ee):n(ee)},Ge=function(ee){var ye=ee.page,Ve=ee.withPlaceholder,it=ee.axis,Et=ee.frame,Rt=Tt(ye.marginBox,Et),Ft=Ct(Rt,it,Ve),nr=Nt(Ft,Et);return{page:ye,withPlaceholder:Ve,active:nr}},ie=function(ee,ye){ee.frame||Le(!1);var Ve=ee.frame,it=oe(ye,Ve.scroll.initial),Et=xe(it),Rt=Object(m.a)({},Ve,{scroll:{initial:Ve.scroll.initial,current:ye,diff:{value:it,displacement:Et},max:Ve.scroll.max}}),Ft=Ge({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:Rt}),nr=Object(m.a)({},ee,{frame:Rt,subject:Ft});return nr};function Y(Re){return Number.isInteger?Number.isInteger(Re):typeof Re=="number"&&isFinite(Re)&&Math.floor(Re)===Re}function we(Re){return Object.values?Object.values(Re):Object.keys(Re).map(function(ee){return Re[ee]})}function Ce(Re,ee){if(Re.findIndex)return Re.findIndex(ee);for(var ye=0;ye<Re.length;ye++)if(ee(Re[ye]))return ye;return-1}function le(Re,ee){if(Re.find)return Re.find(ee);var ye=Ce(Re,ee);return ye!==-1?Re[ye]:void 0}function ot(Re){return Array.prototype.slice.call(Re)}var wt=L(function(Re){return Re.reduce(function(ee,ye){return ee[ye.descriptor.id]=ye,ee},{})}),rt=L(function(Re){return Re.reduce(function(ee,ye){return ee[ye.descriptor.id]=ye,ee},{})}),It=L(function(Re){return we(Re)}),Gt=L(function(Re){return we(Re)}),lr=L(function(Re,ee){var ye=Gt(ee).filter(function(Ve){return Re===Ve.descriptor.droppableId}).sort(function(Ve,it){return Ve.descriptor.index-it.descriptor.index});return ye});function pr(Re){return Re.at&&Re.at.type==="REORDER"?Re.at.destination:null}function Rr(Re){return Re.at&&Re.at.type==="COMBINE"?Re.at.combine:null}var xt=L(function(Re,ee){return ee.filter(function(ye){return ye.descriptor.id!==Re.descriptor.id})}),Ot=function(ee){var ye=ee.isMovingForward,Ve=ee.draggable,it=ee.destination,Et=ee.insideDestination,Rt=ee.previousImpact;if(!it.isCombineEnabled)return null;var Ft=pr(Rt);if(!Ft)return null;function nr(jn){var pi={type:"COMBINE",combine:{draggableId:jn,droppableId:it.descriptor.id}};return Object(m.a)({},Rt,{at:pi})}var yr=Rt.displaced.all,rr=yr.length?yr[0]:null;if(ye)return rr?nr(rr):null;var qt=xt(Ve,Et);if(!rr){if(!qt.length)return null;var hr=qt[qt.length-1];return nr(hr.descriptor.id)}var Er=Ce(qt,function(jn){return jn.descriptor.id===rr});Er!==-1||Le(!1);var Wr=Er-1;if(Wr<0)return null;var En=qt[Wr];return nr(En.descriptor.id)},At=function(ee,ye){return ee.descriptor.droppableId===ye.descriptor.id},Jt={point:Ae,value:0},br={invisible:{},visible:{},all:[]},Lr={displaced:br,displacedBy:Jt,at:null},Zr=function(ee,ye){return function(Ve){return ee<=Ve&&Ve<=ye}},In=function(ee){var ye=Zr(ee.top,ee.bottom),Ve=Zr(ee.left,ee.right);return function(it){var Et=ye(it.top)&&ye(it.bottom)&&Ve(it.left)&&Ve(it.right);if(Et)return!0;var Rt=ye(it.top)||ye(it.bottom),Ft=Ve(it.left)||Ve(it.right),nr=Rt&&Ft;if(nr)return!0;var yr=it.top<ee.top&&it.bottom>ee.bottom,rr=it.left<ee.left&&it.right>ee.right,qt=yr&&rr;if(qt)return!0;var hr=yr&&Ft||rr&&Rt;return hr}},Gr=function(ee){var ye=Zr(ee.top,ee.bottom),Ve=Zr(ee.left,ee.right);return function(it){var Et=ye(it.top)&&ye(it.bottom)&&Ve(it.left)&&Ve(it.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(ee){return function(ye){var Ve=Zr(ye.top,ye.bottom),it=Zr(ye.left,ye.right);return function(Et){return ee===Tr?Ve(Et.top)&&Ve(Et.bottom):it(Et.left)&&it(Et.right)}}},ft=function(ee,ye){var Ve=ye.frame?ye.frame.scroll.diff.displacement:Ae;return Qe(ee,Ve)},De=function(ee,ye,Ve){return ye.subject.active?Ve(ye.subject.active)(ee):!1},je=function(ee,ye,Ve){return Ve(ye)(ee)},Ye=function(ee){var ye=ee.target,Ve=ee.destination,it=ee.viewport,Et=ee.withDroppableDisplacement,Rt=ee.isVisibleThroughFrameFn,Ft=Et?ft(ye,Ve):ye;return De(Ft,Ve,Rt)&&je(Ft,it,Rt)},st=function(ee){return Ye(Object(m.a)({},ee,{isVisibleThroughFrameFn:In}))},kt=function(ee){return Ye(Object(m.a)({},ee,{isVisibleThroughFrameFn:Gr}))},$t=function(ee){return Ye(Object(m.a)({},ee,{isVisibleThroughFrameFn:vt(ee.destination.axis)}))},Nr=function(ee,ye,Ve){if(typeof Ve=="boolean")return Ve;if(!ye)return!0;var it=ye.invisible,Et=ye.visible;if(it[ee])return!1;var Rt=Et[ee];return Rt?Rt.shouldAnimate:!0};function yn(Re,ee){var ye=Re.page.marginBox,Ve={top:ee.point.y,right:0,bottom:0,left:ee.point.x};return n(l(ye,Ve))}function un(Re){var ee=Re.afterDragging,ye=Re.destination,Ve=Re.displacedBy,it=Re.viewport,Et=Re.forceShouldAnimate,Rt=Re.last;return ee.reduce(function(nr,yr){var rr=yn(yr,Ve),qt=yr.descriptor.id;nr.all.push(qt);var hr=st({target:rr,destination:ye,viewport:it,withDroppableDisplacement:!0});if(!hr)return nr.invisible[yr.descriptor.id]=!0,nr;var Er=Nr(qt,Rt,Et),Wr={draggableId:qt,shouldAnimate:Er};return nr.visible[qt]=Wr,nr},{all:[],visible:{},invisible:{}})}function Kt(Re,ee){if(!Re.length)return 0;var ye=Re[Re.length-1].descriptor.index;return ee.inHomeList?ye:ye+1}function St(Re){var ee=Re.insideDestination,ye=Re.inHomeList,Ve=Re.displacedBy,it=Re.destination,Et=Kt(ee,{inHomeList:ye});return{displaced:br,displacedBy:Ve,at:{type:"REORDER",destination:{droppableId:it.descriptor.id,index:Et}}}}function Mt(Re){var ee=Re.draggable,ye=Re.insideDestination,Ve=Re.destination,it=Re.viewport,Et=Re.displacedBy,Rt=Re.last,Ft=Re.index,nr=Re.forceShouldAnimate,yr=At(ee,Ve);if(Ft==null)return St({insideDestination:ye,inHomeList:yr,displacedBy:Et,destination:Ve});var rr=le(ye,function(En){return En.descriptor.index===Ft});if(!rr)return St({insideDestination:ye,inHomeList:yr,displacedBy:Et,destination:Ve});var qt=xt(ee,ye),hr=ye.indexOf(rr),Er=qt.slice(hr),Wr=un({afterDragging:Er,destination:Ve,displacedBy:Et,last:Rt,viewport:it.frame,forceShouldAnimate:nr});return{displaced:Wr,displacedBy:Et,at:{type:"REORDER",destination:{droppableId:Ve.descriptor.id,index:Ft}}}}function Zt(Re,ee){return Boolean(ee.effected[Re])}var kr=function(ee){var ye=ee.isMovingForward,Ve=ee.destination,it=ee.draggables,Et=ee.combine,Rt=ee.afterCritical;if(!Ve.isCombineEnabled)return null;var Ft=Et.draggableId,nr=it[Ft],yr=nr.descriptor.index,rr=Zt(Ft,Rt);return rr?ye?yr:yr-1:ye?yr+1:yr},Hr=function(ee){var ye=ee.isMovingForward,Ve=ee.isInHomeList,it=ee.insideDestination,Et=ee.location;if(!it.length)return null;var Rt=Et.index,Ft=ye?Rt+1:Rt-1,nr=it[0].descriptor.index,yr=it[it.length-1].descriptor.index,rr=Ve?yr:yr+1;return Ft<nr||Ft>rr?null:Ft},$r=function(ee){var ye=ee.isMovingForward,Ve=ee.isInHomeList,it=ee.draggable,Et=ee.draggables,Rt=ee.destination,Ft=ee.insideDestination,nr=ee.previousImpact,yr=ee.viewport,rr=ee.afterCritical,qt=nr.at;if(qt||Le(!1),qt.type==="REORDER"){var hr=Hr({isMovingForward:ye,isInHomeList:Ve,location:qt.destination,insideDestination:Ft});return hr==null?null:Mt({draggable:it,insideDestination:Ft,destination:Rt,viewport:yr,last:nr.displaced,displacedBy:nr.displacedBy,index:hr})}var Er=kr({isMovingForward:ye,destination:Rt,displaced:nr.displaced,draggables:Et,combine:qt.combine,afterCritical:rr});return Er==null?null:Mt({draggable:it,insideDestination:Ft,destination:Rt,viewport:yr,last:nr.displaced,displacedBy:nr.displacedBy,index:Er})},Bt=function(ee){var ye=ee.displaced,Ve=ee.afterCritical,it=ee.combineWith,Et=ee.displacedBy,Rt=Boolean(ye.visible[it]||ye.invisible[it]);return Zt(it,Ve)?Rt?Ae:xe(Et.point):Rt?Et.point:Ae},cr=function(ee){var ye=ee.afterCritical,Ve=ee.impact,it=ee.draggables,Et=Rr(Ve);Et||Le(!1);var Rt=Et.draggableId,Ft=it[Rt].page.borderBox.center,nr=Bt({displaced:Ve.displaced,afterCritical:ye,combineWith:Rt,displacedBy:Ve.displacedBy});return Ne(Ft,nr)},Cr=function(ee,ye){return ye.margin[ee.start]+ye.borderBox[ee.size]/2},Br=function(ee,ye){return ye.margin[ee.end]+ye.borderBox[ee.size]/2},zr=function(ee,ye,Ve){return ye[ee.crossAxisStart]+Ve.margin[ee.crossAxisStart]+Ve.borderBox[ee.crossAxisSize]/2},An=function(ee){var ye=ee.axis,Ve=ee.moveRelativeTo,it=ee.isMoving;return Pe(ye.line,Ve.marginBox[ye.end]+Cr(ye,it),zr(ye,Ve.marginBox,it))},bn=function(ee){var ye=ee.axis,Ve=ee.moveRelativeTo,it=ee.isMoving;return Pe(ye.line,Ve.marginBox[ye.start]-Br(ye,it),zr(ye,Ve.marginBox,it))},Sn=function(ee){var ye=ee.axis,Ve=ee.moveInto,it=ee.isMoving;return Pe(ye.line,Ve.contentBox[ye.start]+Cr(ye,it),zr(ye,Ve.contentBox,it))},Mn=function(ee){var ye=ee.impact,Ve=ee.draggable,it=ee.draggables,Et=ee.droppable,Rt=ee.afterCritical,Ft=lr(Et.descriptor.id,it),nr=Ve.page,yr=Et.axis;if(!Ft.length)return Sn({axis:yr,moveInto:Et.page,isMoving:nr});var rr=ye.displaced,qt=ye.displacedBy,hr=rr.all[0];if(hr){var Er=it[hr];if(Zt(hr,Rt))return bn({axis:yr,moveRelativeTo:Er.page,isMoving:nr});var Wr=S(Er.page,qt.point);return bn({axis:yr,moveRelativeTo:Wr,isMoving:nr})}var En=Ft[Ft.length-1];if(En.descriptor.id===Ve.descriptor.id)return nr.borderBox.center;if(Zt(En.descriptor.id,Rt)){var jn=S(En.page,xe(Rt.displacedBy.point));return An({axis:yr,moveRelativeTo:jn,isMoving:nr})}return An({axis:yr,moveRelativeTo:En.page,isMoving:nr})},ei=function(ee,ye){var Ve=ee.frame;return Ve?Ne(ye,Ve.scroll.diff.displacement):ye},Zn=function(ee){var ye=ee.impact,Ve=ee.draggable,it=ee.droppable,Et=ee.draggables,Rt=ee.afterCritical,Ft=Ve.page.borderBox.center,nr=ye.at;return it&&nr?nr.type==="REORDER"?Mn({impact:ye,draggable:Ve,draggables:Et,droppable:it,afterCritical:Rt}):cr({impact:ye,draggables:Et,afterCritical:Rt}):Ft},ai=function(ee){var ye=Zn(ee),Ve=ee.droppable,it=Ve?ei(Ve,ye):ye;return it},ii=function(ee,ye){var Ve=oe(ye,ee.scroll.initial),it=xe(Ve),Et=n({top:ye.y,bottom:ye.y+ee.frame.height,left:ye.x,right:ye.x+ee.frame.width}),Rt={frame:Et,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ye,diff:{value:Ve,displacement:it}}};return Rt};function $e(Re,ee){return Re.map(function(ye){return ee[ye]})}function Te(Re,ee){for(var ye=0;ye<ee.length;ye++){var Ve=ee[ye].visible[Re];if(Ve)return Ve}return null}var ke=function(ee){var ye=ee.impact,Ve=ee.viewport,it=ee.destination,Et=ee.draggables,Rt=ee.maxScrollChange,Ft=ii(Ve,Ne(Ve.scroll.current,Rt)),nr=it.frame?ie(it,Ne(it.frame.scroll.current,Rt)):it,yr=ye.displaced,rr=un({afterDragging:$e(yr.all,Et),destination:it,displacedBy:ye.displacedBy,viewport:Ft.frame,last:yr,forceShouldAnimate:!1}),qt=un({afterDragging:$e(yr.all,Et),destination:nr,displacedBy:ye.displacedBy,viewport:Ve.frame,last:yr,forceShouldAnimate:!1}),hr={},Er={},Wr=[yr,rr,qt];yr.all.forEach(function(jn){var pi=Te(jn,Wr);if(pi){Er[jn]=pi;return}hr[jn]=!0});var En=Object(m.a)({},ye,{displaced:{all:yr.all,invisible:hr,visible:Er}});return En},Me=function(ee,ye){return Ne(ee.scroll.diff.displacement,ye)},Ze=function(ee){var ye=ee.pageBorderBoxCenter,Ve=ee.draggable,it=ee.viewport,Et=Me(it,ye),Rt=oe(Et,Ve.page.borderBox.center);return Ne(Ve.client.borderBox.center,Rt)},Xe=function(ee){var ye=ee.draggable,Ve=ee.destination,it=ee.newPageBorderBoxCenter,Et=ee.viewport,Rt=ee.withDroppableDisplacement,Ft=ee.onlyOnMainAxis,nr=Ft===void 0?!1:Ft,yr=oe(it,ye.page.borderBox.center),rr=Qe(ye.page.borderBox,yr),qt={target:rr,destination:Ve,withDroppableDisplacement:Rt,viewport:Et};return nr?$t(qt):kt(qt)},qe=function(ee){var ye=ee.isMovingForward,Ve=ee.draggable,it=ee.destination,Et=ee.draggables,Rt=ee.previousImpact,Ft=ee.viewport,nr=ee.previousPageBorderBoxCenter,yr=ee.previousClientSelection,rr=ee.afterCritical;if(!it.isEnabled)return null;var qt=lr(it.descriptor.id,Et),hr=At(Ve,it),Er=Ot({isMovingForward:ye,draggable:Ve,destination:it,insideDestination:qt,previousImpact:Rt})||$r({isMovingForward:ye,isInHomeList:hr,draggable:Ve,draggables:Et,destination:it,insideDestination:qt,previousImpact:Rt,viewport:Ft,afterCritical:rr});if(!Er)return null;var Wr=ai({impact:Er,draggable:Ve,droppable:it,draggables:Et,afterCritical:rr}),En=Xe({draggable:Ve,destination:it,newPageBorderBoxCenter:Wr,viewport:Ft.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(En){var jn=Ze({pageBorderBoxCenter:Wr,draggable:Ve,viewport:Ft});return{clientSelection:jn,impact:Er,scrollJumpRequest:null}}var pi=oe(Wr,nr),Yn=ke({impact:Er,viewport:Ft,destination:it,draggables:Et,maxScrollChange:pi});return{clientSelection:yr,impact:Yn,scrollJumpRequest:pi}},mt=function(ee){var ye=ee.subject.active;return ye||Le(!1),ye},ht=function(ee){var ye=ee.isMovingForward,Ve=ee.pageBorderBoxCenter,it=ee.source,Et=ee.droppables,Rt=ee.viewport,Ft=it.subject.active;if(!Ft)return null;var nr=it.axis,yr=Zr(Ft[nr.start],Ft[nr.end]),rr=It(Et).filter(function(hr){return hr!==it}).filter(function(hr){return hr.isEnabled}).filter(function(hr){return Boolean(hr.subject.active)}).filter(function(hr){return In(Rt.frame)(mt(hr))}).filter(function(hr){var Er=mt(hr);return ye?Ft[nr.crossAxisEnd]<Er[nr.crossAxisEnd]:Er[nr.crossAxisStart]<Ft[nr.crossAxisStart]}).filter(function(hr){var Er=mt(hr),Wr=Zr(Er[nr.start],Er[nr.end]);return yr(Er[nr.start])||yr(Er[nr.end])||Wr(Ft[nr.start])||Wr(Ft[nr.end])}).sort(function(hr,Er){var Wr=mt(hr)[nr.crossAxisStart],En=mt(Er)[nr.crossAxisStart];return ye?Wr-En:En-Wr}).filter(function(hr,Er,Wr){return mt(hr)[nr.crossAxisStart]===mt(Wr[0])[nr.crossAxisStart]});if(!rr.length)return null;if(rr.length===1)return rr[0];var qt=rr.filter(function(hr){var Er=Zr(mt(hr)[nr.start],mt(hr)[nr.end]);return Er(Ve[nr.line])});return qt.length===1?qt[0]:qt.length>1?qt.sort(function(hr,Er){return mt(hr)[nr.start]-mt(Er)[nr.start]})[0]:rr.sort(function(hr,Er){var Wr=Je(Ve,nt(mt(hr))),En=Je(Ve,nt(mt(Er)));return Wr!==En?Wr-En:mt(hr)[nr.start]-mt(Er)[nr.start]})[0]},Vt=function(ee,ye){var Ve=ee.page.borderBox.center;return Zt(ee.descriptor.id,ye)?oe(Ve,ye.displacedBy.point):Ve},dr=function(ee,ye){var Ve=ee.page.borderBox;return Zt(ee.descriptor.id,ye)?Qe(Ve,xe(ye.displacedBy.point)):Ve},tr=function(ee){var ye=ee.pageBorderBoxCenter,Ve=ee.viewport,it=ee.destination,Et=ee.insideDestination,Rt=ee.afterCritical,Ft=Et.filter(function(nr){return kt({target:dr(nr,Rt),destination:it,viewport:Ve.frame,withDroppableDisplacement:!0})}).sort(function(nr,yr){var rr=tt(ye,ei(it,Vt(nr,Rt))),qt=tt(ye,ei(it,Vt(yr,Rt)));return rr<qt?-1:qt<rr?1:nr.descriptor.index-yr.descriptor.index});return Ft[0]||null},ir=L(function(ee,ye){var Ve=ye[ee.line];return{value:Ve,point:Pe(ee.line,Ve)}}),_t=function(ee,ye,Ve){var it=ee.axis;if(ee.descriptor.mode==="virtual")return Pe(it.line,ye[it.line]);var Et=ee.subject.page.contentBox[it.size],Rt=lr(ee.descriptor.id,Ve),Ft=Rt.reduce(function(rr,qt){return rr+qt.client.marginBox[it.size]},0),nr=Ft+ye[it.line],yr=nr-Et;return yr<=0?null:Pe(it.line,yr)},gr=function(ee,ye){return Object(m.a)({},ee,{scroll:Object(m.a)({},ee.scroll,{max:ye})})},jt=function(ee,ye,Ve){var it=ee.frame;At(ye,ee)&&Le(!1),ee.subject.withPlaceholder&&Le(!1);var Et=ir(ee.axis,ye.displaceBy).point,Rt=_t(ee,Et,Ve),Ft={placeholderSize:Et,increasedBy:Rt,oldFrameMaxScroll:ee.frame?ee.frame.scroll.max:null};if(!it){var nr=Ge({page:ee.subject.page,withPlaceholder:Ft,axis:ee.axis,frame:ee.frame});return Object(m.a)({},ee,{subject:nr})}var yr=Rt?Ne(it.scroll.max,Rt):it.scroll.max,rr=gr(it,yr),qt=Ge({page:ee.subject.page,withPlaceholder:Ft,axis:ee.axis,frame:rr});return Object(m.a)({},ee,{subject:qt,frame:rr})},Sr=function(ee){var ye=ee.subject.withPlaceholder;ye||Le(!1);var Ve=ee.frame;if(!Ve){var it=Ge({page:ee.subject.page,axis:ee.axis,frame:null,withPlaceholder:null});return Object(m.a)({},ee,{subject:it})}var Et=ye.oldFrameMaxScroll;Et||Le(!1);var Rt=gr(Ve,Et),Ft=Ge({page:ee.subject.page,axis:ee.axis,frame:Rt,withPlaceholder:null});return Object(m.a)({},ee,{subject:Ft,frame:Rt})},Ar=function(ee){var ye=ee.previousPageBorderBoxCenter,Ve=ee.moveRelativeTo,it=ee.insideDestination,Et=ee.draggable,Rt=ee.draggables,Ft=ee.destination,nr=ee.viewport,yr=ee.afterCritical;if(!Ve){if(it.length)return null;var rr={displaced:br,displacedBy:Jt,at:{type:"REORDER",destination:{droppableId:Ft.descriptor.id,index:0}}},qt=ai({impact:rr,draggable:Et,droppable:Ft,draggables:Rt,afterCritical:yr}),hr=At(Et,Ft)?Ft:jt(Ft,Et,Rt),Er=Xe({draggable:Et,destination:hr,newPageBorderBoxCenter:qt,viewport:nr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Er?rr:null}var Wr=Boolean(ye[Ft.axis.line]<=Ve.page.borderBox.center[Ft.axis.line]),En=function(){var pi=Ve.descriptor.index;return Ve.descriptor.id===Et.descriptor.id||Wr?pi:pi+1}(),jn=ir(Ft.axis,Et.displaceBy);return Mt({draggable:Et,insideDestination:it,destination:Ft,viewport:nr,displacedBy:jn,last:br,index:En})},sr=function(ee){var ye=ee.isMovingForward,Ve=ee.previousPageBorderBoxCenter,it=ee.draggable,Et=ee.isOver,Rt=ee.draggables,Ft=ee.droppables,nr=ee.viewport,yr=ee.afterCritical,rr=ht({isMovingForward:ye,pageBorderBoxCenter:Ve,source:Et,droppables:Ft,viewport:nr});if(!rr)return null;var qt=lr(rr.descriptor.id,Rt),hr=tr({pageBorderBoxCenter:Ve,viewport:nr,destination:rr,insideDestination:qt,afterCritical:yr}),Er=Ar({previousPageBorderBoxCenter:Ve,destination:rr,draggable:it,draggables:Rt,moveRelativeTo:hr,insideDestination:qt,viewport:nr,afterCritical:yr});if(!Er)return null;var Wr=ai({impact:Er,draggable:it,droppable:rr,draggables:Rt,afterCritical:yr}),En=Ze({pageBorderBoxCenter:Wr,draggable:it,viewport:nr});return{clientSelection:En,impact:Er,scrollJumpRequest:null}},ln=function(ee){var ye=ee.at;return ye?ye.type==="REORDER"?ye.destination.droppableId:ye.combine.droppableId:null},_n=function(ee,ye){var Ve=ln(ee);return Ve?ye[Ve]:null},zn=function(ee){var ye=ee.state,Ve=ee.type,it=_n(ye.impact,ye.dimensions.droppables),Et=Boolean(it),Rt=ye.dimensions.droppables[ye.critical.droppable.id],Ft=it||Rt,nr=Ft.axis.direction,yr=nr==="vertical"&&(Ve==="MOVE_UP"||Ve==="MOVE_DOWN")||nr==="horizontal"&&(Ve==="MOVE_LEFT"||Ve==="MOVE_RIGHT");if(yr&&!Et)return null;var rr=Ve==="MOVE_DOWN"||Ve==="MOVE_RIGHT",qt=ye.dimensions.draggables[ye.critical.draggable.id],hr=ye.current.page.borderBoxCenter,Er=ye.dimensions,Wr=Er.draggables,En=Er.droppables;return yr?qe({isMovingForward:rr,previousPageBorderBoxCenter:hr,draggable:qt,destination:Ft,draggables:Wr,viewport:ye.viewport,previousClientSelection:ye.current.client.selection,previousImpact:ye.impact,afterCritical:ye.afterCritical}):sr({isMovingForward:rr,previousPageBorderBoxCenter:hr,draggable:qt,isOver:Ft,draggables:Wr,droppables:En,viewport:ye.viewport,afterCritical:ye.afterCritical})};function Nn(Re){return Re.phase==="DRAGGING"||Re.phase==="COLLECTING"}function Fn(Re){var ee=Zr(Re.top,Re.bottom),ye=Zr(Re.left,Re.right);return function(it){return ee(it.y)&&ye(it.x)}}function Gn(Re,ee){return Re.left<ee.right&&Re.right>ee.left&&Re.top<ee.bottom&&Re.bottom>ee.top}function xn(Re){var ee=Re.pageBorderBox,ye=Re.draggable,Ve=Re.candidates,it=ye.page.borderBox.center,Et=Ve.map(function(Rt){var Ft=Rt.axis,nr=Pe(Rt.axis.line,ee.center[Ft.line],Rt.page.borderBox.center[Ft.crossAxisLine]);return{id:Rt.descriptor.id,distance:tt(it,nr)}}).sort(function(Rt,Ft){return Ft.distance-Rt.distance});return Et[0]?Et[0].id:null}function mi(Re){var ee=Re.pageBorderBox,ye=Re.draggable,Ve=Re.droppables,it=It(Ve).filter(function(Et){if(!Et.isEnabled)return!1;var Rt=Et.subject.active;if(!Rt)return!1;if(!Gn(ee,Rt))return!1;if(Fn(Rt)(ee.center))return!0;var Ft=Et.axis,nr=Rt.center[Ft.crossAxisLine],yr=ee[Ft.crossAxisStart],rr=ee[Ft.crossAxisEnd],qt=Zr(Rt[Ft.crossAxisStart],Rt[Ft.crossAxisEnd]),hr=qt(yr),Er=qt(rr);return!hr&&!Er?!0:hr?yr<nr:rr>nr});return it.length?it.length===1?it[0].descriptor.id:xn({pageBorderBox:ee,draggable:ye,candidates:it}):null}var rn=function(ee,ye){return n(Qe(ee,ye))},Ur=function(ee,ye){var Ve=ee.frame;return Ve?rn(ye,Ve.scroll.diff.value):ye};function cn(Re){var ee=Re.displaced,ye=Re.id;return Boolean(ee.visible[ye]||ee.invisible[ye])}function Qr(Re){var ee=Re.draggable,ye=Re.closest,Ve=Re.inHomeList;return ye?Ve&&ye.descriptor.index>ee.descriptor.index?ye.descriptor.index-1:ye.descriptor.index:null}var Vn=function(ee){var ye=ee.pageBorderBoxWithDroppableScroll,Ve=ee.draggable,it=ee.destination,Et=ee.insideDestination,Rt=ee.last,Ft=ee.viewport,nr=ee.afterCritical,yr=it.axis,rr=ir(it.axis,Ve.displaceBy),qt=rr.value,hr=ye[yr.start],Er=ye[yr.end],Wr=xt(Ve,Et),En=le(Wr,function(pi){var Yn=pi.descriptor.id,Zi=pi.page.borderBox.center[yr.line],Ei=Zt(Yn,nr),da=cn({displaced:Rt,id:Yn});return Ei?da?Er<=Zi:hr<Zi-qt:da?Er<=Zi+qt:hr<Zi}),jn=Qr({draggable:Ve,closest:En,inHomeList:At(Ve,it)});return Mt({draggable:Ve,insideDestination:Et,destination:it,viewport:Ft,last:Rt,displacedBy:rr,index:jn})},Hn=4,li=function(ee){var ye=ee.draggable,Ve=ee.pageBorderBoxWithDroppableScroll,it=ee.previousImpact,Et=ee.destination,Rt=ee.insideDestination,Ft=ee.afterCritical;if(!Et.isCombineEnabled)return null;var nr=Et.axis,yr=ir(Et.axis,ye.displaceBy),rr=yr.value,qt=Ve[nr.start],hr=Ve[nr.end],Er=xt(ye,Rt),Wr=le(Er,function(jn){var pi=jn.descriptor.id,Yn=jn.page.borderBox,Zi=Yn[nr.size],Ei=Zi/Hn,da=Zt(pi,Ft),ta=cn({displaced:it.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(!Wr)return null;var En={displacedBy:yr,displaced:it.displaced,at:{type:"COMBINE",combine:{draggableId:Wr.descriptor.id,droppableId:Et.descriptor.id}}};return En},Un=function(ee){var ye=ee.pageOffset,Ve=ee.draggable,it=ee.draggables,Et=ee.droppables,Rt=ee.previousImpact,Ft=ee.viewport,nr=ee.afterCritical,yr=rn(Ve.page.borderBox,ye),rr=mi({pageBorderBox:yr,draggable:Ve,droppables:Et});if(!rr)return Lr;var qt=Et[rr],hr=lr(qt.descriptor.id,it),Er=Ur(qt,yr);return li({pageBorderBoxWithDroppableScroll:Er,draggable:Ve,previousImpact:Rt,destination:qt,insideDestination:hr,afterCritical:nr})||Vn({pageBorderBoxWithDroppableScroll:Er,draggable:Ve,destination:qt,insideDestination:hr,last:Rt.displaced,viewport:Ft,afterCritical:nr})},gi=function(ee,ye){var Ve;return Object(m.a)({},ee,(Ve={},Ve[ye.descriptor.id]=ye,Ve))},kn=function(ee){var ye=ee.previousImpact,Ve=ee.impact,it=ee.droppables,Et=ln(ye),Rt=ln(Ve);if(!Et)return it;if(Et===Rt)return it;var Ft=it[Et];if(!Ft.subject.withPlaceholder)return it;var nr=Sr(Ft);return gi(it,nr)},di=function(ee){var ye=ee.draggable,Ve=ee.draggables,it=ee.droppables,Et=ee.previousImpact,Rt=ee.impact,Ft=kn({previousImpact:Et,impact:Rt,droppables:it}),nr=ln(Rt);if(!nr)return Ft;var yr=it[nr];if(At(ye,yr))return Ft;if(yr.subject.withPlaceholder)return Ft;var rr=jt(yr,ye,Ve);return gi(Ft,rr)},qr=function(ee){var ye=ee.state,Ve=ee.clientSelection,it=ee.dimensions,Et=ee.viewport,Rt=ee.impact,Ft=ee.scrollJumpRequest,nr=Et||ye.viewport,yr=it||ye.dimensions,rr=Ve||ye.current.client.selection,qt=oe(rr,ye.initial.client.selection),hr={offset:qt,selection:rr,borderBoxCenter:Ne(ye.initial.client.borderBoxCenter,qt)},Er={selection:Ne(hr.selection,nr.scroll.current),borderBoxCenter:Ne(hr.borderBoxCenter,nr.scroll.current),offset:Ne(hr.offset,nr.scroll.diff.value)},Wr={client:hr,page:Er};if(ye.phase==="COLLECTING")return Object(m.a)({phase:"COLLECTING"},ye,{dimensions:yr,viewport:nr,current:Wr});var En=yr.draggables[ye.critical.draggable.id],jn=Rt||Un({pageOffset:Er.offset,draggable:En,draggables:yr.draggables,droppables:yr.droppables,previousImpact:ye.impact,viewport:nr,afterCritical:ye.afterCritical}),pi=di({draggable:En,impact:jn,previousImpact:ye.impact,draggables:yr.draggables,droppables:yr.droppables}),Yn=Object(m.a)({},ye,{current:Wr,dimensions:{draggables:yr.draggables,droppables:pi},impact:jn,viewport:nr,scrollJumpRequest:Ft||null,forceShouldAnimate:Ft?!1:null});return Yn};function xr(Re,ee){return Re.map(function(ye){return ee[ye]})}var nn=function(ee){var ye=ee.impact,Ve=ee.viewport,it=ee.draggables,Et=ee.destination,Rt=ee.forceShouldAnimate,Ft=ye.displaced,nr=xr(Ft.all,it),yr=un({afterDragging:nr,destination:Et,displacedBy:ye.displacedBy,viewport:Ve.frame,forceShouldAnimate:Rt,last:Ft});return Object(m.a)({},ye,{displaced:yr})},gn=function(ee){var ye=ee.impact,Ve=ee.draggable,it=ee.droppable,Et=ee.draggables,Rt=ee.viewport,Ft=ee.afterCritical,nr=ai({impact:ye,draggable:Ve,draggables:Et,droppable:it,afterCritical:Ft});return Ze({pageBorderBoxCenter:nr,draggable:Ve,viewport:Rt})},On=function(ee){var ye=ee.state,Ve=ee.dimensions,it=ee.viewport;ye.movementMode==="SNAP"||Le(!1);var Et=ye.impact,Rt=it||ye.viewport,Ft=Ve||ye.dimensions,nr=Ft.draggables,yr=Ft.droppables,rr=nr[ye.critical.draggable.id],qt=ln(Et);qt||Le(!1);var hr=yr[qt],Er=nn({impact:Et,viewport:Rt,destination:hr,draggables:nr}),Wr=gn({impact:Er,draggable:rr,droppable:hr,draggables:nr,viewport:Rt,afterCritical:ye.afterCritical});return qr({impact:Er,clientSelection:Wr,state:ye,dimensions:Ft,viewport:Rt})},Bn=function(ee){return{index:ee.index,droppableId:ee.droppableId}},Wn=function(ee){var ye=ee.draggable,Ve=ee.home,it=ee.draggables,Et=ee.viewport,Rt=ir(Ve.axis,ye.displaceBy),Ft=lr(Ve.descriptor.id,it),nr=Ft.indexOf(ye);nr!==-1||Le(!1);var yr=Ft.slice(nr+1),rr=yr.reduce(function(Wr,En){return Wr[En.descriptor.id]=!0,Wr},{}),qt={inVirtualList:Ve.descriptor.mode==="virtual",displacedBy:Rt,effected:rr},hr=un({afterDragging:yr,destination:Ve,displacedBy:Rt,last:null,viewport:Et.frame,forceShouldAnimate:!1}),Er={displaced:hr,displacedBy:Rt,at:{type:"REORDER",destination:Bn(ye.descriptor)}};return{impact:Er,afterCritical:qt}},$n=function(ee,ye){return{draggables:ee.draggables,droppables:gi(ee.droppables,ye)}},Jn=function(ee){},vi=function(ee){},Pi=function(ee){var ye=ee.draggable,Ve=ee.offset,it=ee.initialWindowScroll,Et=S(ye.client,Ve),Rt=y(Et,it),Ft=Object(m.a)({},ye,{placeholder:Object(m.a)({},ye.placeholder,{client:Et}),client:Et,page:Rt});return Ft},Bi=function(ee){var ye=ee.frame;return ye||Le(!1),ye},ja=function(ee){var ye=ee.additions,Ve=ee.updatedDroppables,it=ee.viewport,Et=it.scroll.diff.value;return ye.map(function(Rt){var Ft=Rt.descriptor.droppableId,nr=Ve[Ft],yr=Bi(nr),rr=yr.scroll.diff.value,qt=Ne(Et,rr),hr=Pi({draggable:Rt,offset:qt,initialWindowScroll:it.scroll.initial});return hr})},Qn=function(ee){var ye=ee.state,Ve=ee.published;Jn();var it=Ve.modified.map(function(Ei){var da=ye.dimensions.droppables[Ei.droppableId],ta=ie(da,Ei.scroll);return ta}),Et=Object(m.a)({},ye.dimensions.droppables,{},wt(it)),Rt=rt(ja({additions:Ve.additions,updatedDroppables:Et,viewport:ye.viewport})),Ft=Object(m.a)({},ye.dimensions.draggables,{},Rt);Ve.removals.forEach(function(Ei){delete Ft[Ei]});var nr={droppables:Et,draggables:Ft},yr=ln(ye.impact),rr=yr?nr.droppables[yr]:null,qt=nr.draggables[ye.critical.draggable.id],hr=nr.droppables[ye.critical.droppable.id],Er=Wn({draggable:qt,home:hr,draggables:Ft,viewport:ye.viewport}),Wr=Er.impact,En=Er.afterCritical,jn=rr&&rr.isCombineEnabled?ye.impact:Wr,pi=Un({pageOffset:ye.current.page.offset,draggable:nr.draggables[ye.critical.draggable.id],draggables:nr.draggables,droppables:nr.droppables,previousImpact:jn,viewport:ye.viewport,afterCritical:En});vi();var Yn=Object(m.a)({phase:"DRAGGING"},ye,{phase:"DRAGGING",impact:pi,onLiftImpact:Wr,dimensions:nr,afterCritical:En,forceShouldAnimate:!1});if(ye.phase==="COLLECTING")return Yn;var Zi=Object(m.a)({phase:"DROP_PENDING"},Yn,{phase:"DROP_PENDING",reason:ye.reason,isWaiting:!1});return Zi},Xr=function(ee){return ee.movementMode==="SNAP"},hi=function(ee,ye,Ve){var it=$n(ee.dimensions,ye);return!Xr(ee)||Ve?qr({state:ee,dimensions:it}):On({state:ee,dimensions:it})};function Ri(Re){return Re.isDragging&&Re.movementMode==="SNAP"?Object(m.a)({phase:"DRAGGING"},Re,{scrollJumpRequest:null}):Re}var bi={phase:"IDLE",completed:null,shouldFlush:!1},Ui=function(ee,ye){if(ee===void 0&&(ee=bi),ye.type==="FLUSH")return Object(m.a)({},bi,{shouldFlush:!0});if(ye.type==="INITIAL_PUBLISH"){ee.phase==="IDLE"||Le(!1);var Ve=ye.payload,it=Ve.critical,Et=Ve.clientSelection,Rt=Ve.viewport,Ft=Ve.dimensions,nr=Ve.movementMode,yr=Ft.draggables[it.draggable.id],rr=Ft.droppables[it.droppable.id],qt={selection:Et,borderBoxCenter:yr.client.borderBox.center,offset:Ae},hr={client:qt,page:{selection:Ne(qt.selection,Rt.scroll.initial),borderBoxCenter:Ne(qt.selection,Rt.scroll.initial),offset:Ne(qt.selection,Rt.scroll.diff.value)}},Er=It(Ft.droppables).every(function(mo){return!mo.isFixedOnPage}),Wr=Wn({draggable:yr,home:rr,draggables:Ft.draggables,viewport:Rt}),En=Wr.impact,jn=Wr.afterCritical,pi={phase:"DRAGGING",isDragging:!0,critical:it,movementMode:nr,dimensions:Ft,initial:hr,current:hr,isWindowScrollAllowed:Er,impact:En,afterCritical:jn,onLiftImpact:En,viewport:Rt,scrollJumpRequest:null,forceShouldAnimate:null};return pi}if(ye.type==="COLLECTION_STARTING"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase==="DRAGGING"||Le(!1);var Yn=Object(m.a)({phase:"COLLECTING"},ee,{phase:"COLLECTING"});return Yn}if(ye.type==="PUBLISH_WHILE_DRAGGING")return ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING"||Le(!1),Qn({state:ee,published:ye.payload});if(ye.type==="MOVE"){if(ee.phase==="DROP_PENDING")return ee;Nn(ee)||Le(!1);var Zi=ye.payload.client;return de(Zi,ee.current.client.selection)?ee:qr({state:ee,clientSelection:Zi,impact:Xr(ee)?ee.impact:null})}if(ye.type==="UPDATE_DROPPABLE_SCROLL"){if(ee.phase==="DROP_PENDING")return Ri(ee);if(ee.phase==="COLLECTING")return Ri(ee);Nn(ee)||Le(!1);var Ei=ye.payload,da=Ei.id,ta=Ei.newScroll,oa=ee.dimensions.droppables[da];if(!oa)return ee;var qa=ie(oa,ta);return hi(ee,qa,!1)}if(ye.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;Nn(ee)||Le(!1);var O=ye.payload,F=O.id,q=O.isEnabled,re=ee.dimensions.droppables[F];re||Le(!1),re.isEnabled!==q||Le(!1);var ue=Object(m.a)({},re,{isEnabled:q});return hi(ee,ue,!0)}if(ye.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;Nn(ee)||Le(!1);var Be=ye.payload,ct=Be.id,Dt=Be.isCombineEnabled,zt=ee.dimensions.droppables[ct];zt||Le(!1),zt.isCombineEnabled!==Dt||Le(!1);var Qt=Object(m.a)({},zt,{isCombineEnabled:Dt});return hi(ee,Qt,!0)}if(ye.type==="MOVE_BY_WINDOW_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="DROP_ANIMATING")return ee;Nn(ee)||Le(!1),ee.isWindowScrollAllowed||Le(!1);var Mr=ye.payload.newScroll;if(de(ee.viewport.scroll.current,Mr))return Ri(ee);var tn=ii(ee.viewport,Mr);return Xr(ee)?On({state:ee,viewport:tn}):qr({state:ee,viewport:tn})}if(ye.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Nn(ee))return ee;var mn=ye.payload.maxScroll;if(de(mn,ee.viewport.scroll.max))return ee;var wn=Object(m.a)({},ee.viewport,{scroll:Object(m.a)({},ee.viewport.scroll,{max:mn})});return Object(m.a)({phase:"DRAGGING"},ee,{viewport:wn})}if(ye.type==="MOVE_UP"||ye.type==="MOVE_DOWN"||ye.type==="MOVE_LEFT"||ye.type==="MOVE_RIGHT"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase==="DRAGGING"||Le(!1);var ri=zn({state:ee,type:ye.type});return ri?qr({state:ee,impact:ri.impact,clientSelection:ri.clientSelection,scrollJumpRequest:ri.scrollJumpRequest}):ee}if(ye.type==="DROP_PENDING"){var yi=ye.payload.reason;ee.phase==="COLLECTING"||Le(!1);var Fi=Object(m.a)({phase:"DROP_PENDING"},ee,{phase:"DROP_PENDING",isWaiting:!0,reason:yi});return Fi}if(ye.type==="DROP_ANIMATE"){var Di=ye.payload,Ii=Di.completed,Gi=Di.dropDuration,ia=Di.newHomeClientOffset;ee.phase==="DRAGGING"||ee.phase==="DROP_PENDING"||Le(!1);var Wa={phase:"DROP_ANIMATING",completed:Ii,dropDuration:Gi,newHomeClientOffset:ia,dimensions:ee.dimensions};return Wa}if(ye.type==="DROP_COMPLETE"){var La=ye.payload.completed;return{phase:"IDLE",completed:La,shouldFlush:!1}}return ee},ni=function(ee){return{type:"BEFORE_INITIAL_CAPTURE",payload:ee}},qi=function(ee){return{type:"LIFT",payload:ee}},Qi=function(ee){return{type:"INITIAL_PUBLISH",payload:ee}},ha=function(ee){return{type:"PUBLISH_WHILE_DRAGGING",payload:ee}},Yt=function(){return{type:"COLLECTION_STARTING",payload:null}},Ir=function(ee){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ee}},Jr=function(ee){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ee}},Ke=function(ee){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ee}},gt=function(ee){return{type:"MOVE",payload:ee}},Xt=function(ee){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ee}},Wt=function(ee){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ee}},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(ee){return{type:"DROP_ANIMATE",payload:ee}},on=function(ee){return{type:"DROP_COMPLETE",payload:ee}},Cn=function(ee){return{type:"DROP",payload:ee}},sn=function(ee){return{type:"DROP_PENDING",payload:ee}},an=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Yr(Re){if(Re.length<=1)return;for(var ee=Re.map(function(Ft){return Ft.descriptor.index}),ye={},Ve=1;Ve<ee.length;Ve++){var it=ee[Ve],Et=ee[Ve-1];it!==Et+1&&(ye[it]=!0)}if(!Object.keys(ye).length)return;var Rt=ee.map(function(Ft){var nr=Boolean(ye[Ft]);return nr?"[\u{1F525}"+Ft+"]":""+Ft}).join(", ")}function fn(Re,ee){if(!1)var ye}var vn=function(ee){return function(ye){var Ve=ye.getState,it=ye.dispatch;return function(Et){return function(Rt){if(Rt.type!=="LIFT"){Et(Rt);return}var Ft=Rt.payload,nr=Ft.id,yr=Ft.clientSelection,rr=Ft.movementMode,qt=Ve();qt.phase==="DROP_ANIMATING"&&it(on({completed:qt.completed})),Ve().phase==="IDLE"||Le(!1),it(Dr()),it(ni({draggableId:nr,movementMode:rr}));var hr={shouldPublishImmediately:rr==="SNAP"},Er={draggableId:nr,scrollOptions:hr},Wr=ee.startPublishing(Er),En=Wr.critical,jn=Wr.dimensions,pi=Wr.viewport;fn(En,jn),it(Qi({critical:En,dimensions:jn,clientSelection:yr,movementMode:rr,viewport:pi}))}}}},Ln=function(ee){return function(){return function(ye){return function(Ve){Ve.type==="INITIAL_PUBLISH"&&ee.dragging(),Ve.type==="DROP_ANIMATE"&&ee.dropping(Ve.payload.completed.result.reason),(Ve.type==="FLUSH"||Ve.type==="DROP_COMPLETE")&&ee.resting(),ye(Ve)}}}},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(ee){var ye=ee+"s "+oi.drop;return"transform "+ye+", opacity "+ye},outOfTheWay:"transform "+qn,placeholder:"height "+qn+", width "+qn+", margin "+qn},ki=function(ee){return de(ee,Ae)?null:"translate("+ee.x+"px, "+ee.y+"px)"},ci={moveTo:ki,drop:function(ee,ye){var Ve=ki(ee);return Ve?ye?Ve+" scale("+si.scale.drop+")":Ve:null}},wi=Ni.minDropTime,fi=Ni.maxDropTime,Mi=fi-wi,fa=1500,Wi=.6,ma=function(ee){var ye=ee.current,Ve=ee.destination,it=ee.reason,Et=tt(ye,Ve);if(Et<=0)return wi;if(Et>=fa)return fi;var Rt=Et/fa,Ft=wi+Mi*Rt,nr=it==="CANCEL"?Ft*Wi:Ft;return Number(nr.toFixed(2))},aa=function(ee){var ye=ee.impact,Ve=ee.draggable,it=ee.dimensions,Et=ee.viewport,Rt=ee.afterCritical,Ft=it.draggables,nr=it.droppables,yr=ln(ye),rr=yr?nr[yr]:null,qt=nr[Ve.descriptor.droppableId],hr=gn({impact:ye,draggable:Ve,draggables:Ft,afterCritical:Rt,droppable:rr||qt,viewport:Et}),Er=oe(hr,Ve.client.borderBox.center);return Er},ya=function(ee){var ye=ee.draggables,Ve=ee.reason,it=ee.lastImpact,Et=ee.home,Rt=ee.viewport,Ft=ee.onLiftImpact;if(!it.at||Ve!=="DROP"){var nr=nn({draggables:ye,impact:Ft,destination:Et,viewport:Rt,forceShouldAnimate:!0});return{impact:nr,didDropInsideDroppable:!1}}if(it.at.type==="REORDER")return{impact:it,didDropInsideDroppable:!0};var yr=Object(m.a)({},it,{displaced:br});return{impact:yr,didDropInsideDroppable:!0}},Ea=function(ee){var ye=ee.getState,Ve=ee.dispatch;return function(it){return function(Et){if(Et.type!=="DROP"){it(Et);return}var Rt=ye(),Ft=Et.payload.reason;if(Rt.phase==="COLLECTING"){Ve(sn({reason:Ft}));return}if(Rt.phase==="IDLE")return;var nr=Rt.phase==="DROP_PENDING"&&Rt.isWaiting;nr&&Le(!1),Rt.phase==="DRAGGING"||Rt.phase==="DROP_PENDING"||Le(!1);var yr=Rt.critical,rr=Rt.dimensions,qt=rr.draggables[Rt.critical.draggable.id],hr=ya({reason:Ft,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,Wr=hr.didDropInsideDroppable,En=Wr?pr(Er):null,jn=Wr?Rr(Er):null,pi={index:yr.draggable.index,droppableId:yr.droppable.id},Yn={draggableId:qt.descriptor.id,type:qt.descriptor.type,source:pi,reason:Ft,mode:Rt.movementMode,destination:En,combine:jn},Zi=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=!de(Rt.current.client.offset,Zi)||Boolean(Yn.combine);if(!da){Ve(on({completed:Ei}));return}var ta=ma({current:Rt.current.client.offset,destination:Zi,reason:Ft}),oa={newHomeClientOffset:Zi,dropDuration:ta,completed:Ei};Ve(dn(oa))}}},ca=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ma(Re){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ye){if(ye.target!==window&&ye.target!==window.document)return;Re()}}}function wa(Re){var ee=Re.onWindowScroll;function ye(){ee(ca())}var Ve=B(ye),it=Ma(Ve),Et=se;function Rt(){return Et!==se}function Ft(){Rt()&&Le(!1),Et=ge(window,[it])}function nr(){Rt()||Le(!1),Ve.cancel(),Et(),Et=se}return{start:Ft,stop:nr,isActive:Rt}}var _i=function(ee){return ee.type==="DROP_COMPLETE"||ee.type==="DROP_ANIMATE"||ee.type==="FLUSH"},xi=function(ee){var ye=wa({onWindowScroll:function(it){ee.dispatch(Xt({newScroll:it}))}});return function(Ve){return function(it){!ye.isActive()&&it.type==="INITIAL_PUBLISH"&&ye.start(),ye.isActive()&&_i(it)&&ye.stop(),Ve(it)}}},ji=function(ee){var ye=!1,Ve=!1,it=setTimeout(function(){Ve=!0}),Et=function(Ft){if(ye)return;if(Ve)return;ye=!0,ee(Ft),clearTimeout(it)};return Et.wasCalled=function(){return ye},Et},Ji=function(){var ee=[],ye=function(Rt){var Ft=Ce(ee,function(rr){return rr.timerId===Rt});Ft!==-1||Le(!1);var nr=ee.splice(Ft,1),yr=nr[0];yr.callback()},Ve=function(Rt){var Ft=setTimeout(function(){return ye(Ft)}),nr={timerId:Ft,callback:Rt};ee.push(nr)},it=function(){if(!ee.length)return;var Rt=[].concat(ee);ee.length=0,Rt.forEach(function(Ft){clearTimeout(Ft.timerId),Ft.callback()})};return{add:Ve,flush:it}},Si=function(ee,ye){return ee==null&&ye==null?!0:ee==null||ye==null?!1:ee.droppableId===ye.droppableId&&ee.index===ye.index},Hi=function(ee,ye){return ee==null&&ye==null?!0:ee==null||ye==null?!1:ee.draggableId===ye.draggableId&&ee.droppableId===ye.droppableId},Oa=function(ee,ye){if(ee===ye)return!0;var Ve=ee.draggable.id===ye.draggable.id&&ee.draggable.droppableId===ye.draggable.droppableId&&ee.draggable.type===ye.draggable.type&&ee.draggable.index===ye.draggable.index,it=ee.droppable.id===ye.droppable.id&&ee.droppable.type===ye.droppable.type;return Ve&&it},_a=function(ee,ye){Jn(),ye(),vi()},la=function(ee,ye){return{draggableId:ee.draggable.id,type:ee.droppable.type,source:{droppableId:ee.droppable.id,index:ee.draggable.index},mode:ye}},va=function(ee,ye,Ve,it){if(!ee){Ve(it(ye));return}var Et=ji(Ve),Rt={announce:Et};ee(ye,Rt),Et.wasCalled()||Ve(it(ye))},Fa=function(ee,ye){var Ve=Ji(),it=null,Et=function(Er,Wr){it&&Le(!1),_a("onBeforeCapture",function(){var En=ee().onBeforeCapture;if(En){var jn={draggableId:Er,mode:Wr};En(jn)}})},Rt=function(Er,Wr){it&&Le(!1),_a("onBeforeDragStart",function(){var En=ee().onBeforeDragStart;En&&En(la(Er,Wr))})},Ft=function(Er,Wr){it&&Le(!1);var En=la(Er,Wr);it={mode:Wr,lastCritical:Er,lastLocation:En.source,lastCombine:null},Ve.add(function(){_a("onDragStart",function(){return va(ee().onDragStart,En,ye,ne.onDragStart)})})},nr=function(Er,Wr){var En=pr(Wr),jn=Rr(Wr);it||Le(!1);var pi=!Oa(Er,it.lastCritical);pi&&(it.lastCritical=Er);var Yn=!Si(it.lastLocation,En);Yn&&(it.lastLocation=En);var Zi=!Hi(it.lastCombine,jn);if(Zi&&(it.lastCombine=jn),!pi&&!Yn&&!Zi)return;var Ei=Object(m.a)({},la(Er,it.mode),{combine:jn,destination:En});Ve.add(function(){_a("onDragUpdate",function(){return va(ee().onDragUpdate,Ei,ye,ne.onDragUpdate)})})},yr=function(){it||Le(!1),Ve.flush()},rr=function(Er){it||Le(!1),it=null,_a("onDragEnd",function(){return va(ee().onDragEnd,Er,ye,ne.onDragEnd)})},qt=function(){if(!it)return;var Er=Object(m.a)({},la(it.lastCritical,it.mode),{combine:null,destination:null,reason:"CANCEL"});rr(Er)};return{beforeCapture:Et,beforeStart:Rt,start:Ft,update:nr,flush:yr,drop:rr,abort:qt}},Xa=function(ee,ye){var Ve=Fa(ee,ye);return function(it){return function(Et){return function(Rt){if(Rt.type==="BEFORE_INITIAL_CAPTURE"){Ve.beforeCapture(Rt.payload.draggableId,Rt.payload.movementMode);return}if(Rt.type==="INITIAL_PUBLISH"){var Ft=Rt.payload.critical;Ve.beforeStart(Ft,Rt.payload.movementMode),Et(Rt),Ve.start(Ft,Rt.payload.movementMode);return}if(Rt.type==="DROP_COMPLETE"){var nr=Rt.payload.completed.result;Ve.flush(),Et(Rt),Ve.drop(nr);return}if(Et(Rt),Rt.type==="FLUSH"){Ve.abort();return}var yr=it.getState();yr.phase==="DRAGGING"&&Ve.update(yr.critical,yr.impact)}}}},co=function(ee){return function(ye){return function(Ve){if(Ve.type!=="DROP_ANIMATION_FINISHED"){ye(Ve);return}var it=ee.getState();it.phase==="DROP_ANIMATING"||Le(!1),ee.dispatch(on({completed:it.completed}))}}},so=function(ee){var ye=null,Ve=null;function it(){Ve&&(cancelAnimationFrame(Ve),Ve=null),ye&&(ye(),ye=null)}return function(Et){return function(Rt){if((Rt.type==="FLUSH"||Rt.type==="DROP_COMPLETE"||Rt.type==="DROP_ANIMATION_FINISHED")&&it(),Et(Rt),Rt.type!=="DROP_ANIMATE")return;var Ft={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var yr=ee.getState();yr.phase==="DROP_ANIMATING"&&ee.dispatch(an())}};Ve=requestAnimationFrame(function(){Ve=null,ye=ge(window,[Ft])})}}},Ao=function(ee){return function(){return function(ye){return function(Ve){(Ve.type==="DROP_COMPLETE"||Ve.type==="FLUSH"||Ve.type==="DROP_ANIMATE")&&ee.stopPublishing(),ye(Ve)}}}},io=function(ee){var ye=!1;return function(){return function(Ve){return function(it){if(it.type==="INITIAL_PUBLISH"){ye=!0,ee.tryRecordFocus(it.payload.critical.draggable.id),Ve(it),ee.tryRestoreFocusRecorded();return}if(Ve(it),!ye)return;if(it.type==="FLUSH"){ye=!1,ee.tryRestoreFocusRecorded();return}if(it.type==="DROP_COMPLETE"){ye=!1;var Et=it.payload.completed.result;Et.combine&&ee.tryShiftRecord(Et.draggableId,Et.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}},pa=function(ee){return ee.type==="DROP_COMPLETE"||ee.type==="DROP_ANIMATE"||ee.type==="FLUSH"},ga=function(ee){return function(ye){return function(Ve){return function(it){if(pa(it)){ee.stop(),Ve(it);return}if(it.type==="INITIAL_PUBLISH"){Ve(it);var Et=ye.getState();Et.phase==="DRAGGING"||Le(!1),ee.start(Et);return}Ve(it),ee.scroll(ye.getState())}}}},ba=function(ee){return function(ye){return function(Ve){if(ye(Ve),Ve.type!=="PUBLISH_WHILE_DRAGGING")return;var it=ee.getState();if(it.phase!=="DROP_PENDING")return;if(it.isWaiting)return;ee.dispatch(Cn({reason:it.reason}))}}},Oi=v.d,Ba=function(ee){var ye=ee.dimensionMarshal,Ve=ee.focusMarshal,it=ee.styleMarshal,Et=ee.getResponders,Rt=ee.announce,Ft=ee.autoScroller;return Object(v.e)(Ui,Oi(Object(v.a)(Ln(it),Ao(ye),vn(ye),Ea,co,so,ba,ga(Ft),xi,io(Ve),Xa(Et,Rt))))},vo=function(){return{additions:{},removals:{},modified:{}}};function os(Re){var ee=Re.registry,ye=Re.callbacks,Ve=vo(),it=null,Et=function(){if(it)return;ye.collectionStarting(),it=requestAnimationFrame(function(){it=null,Jn();var rr=Ve,qt=rr.additions,hr=rr.removals,Er=rr.modified,Wr=Object.keys(qt).map(function(pi){return ee.draggable.getById(pi).getDimension(Ae)}).sort(function(pi,Yn){return pi.descriptor.index-Yn.descriptor.index}),En=Object.keys(Er).map(function(pi){var Yn=ee.droppable.getById(pi),Zi=Yn.callbacks.getScrollWhileDragging();return{droppableId:pi,scroll:Zi}}),jn={additions:Wr,removals:Object.keys(hr),modified:En};Ve=vo(),vi(),ye.publish(jn)})},Rt=function(rr){var qt=rr.descriptor.id;Ve.additions[qt]=rr,Ve.modified[rr.descriptor.droppableId]=!0,Ve.removals[qt]&&delete Ve.removals[qt],Et()},Ft=function(rr){var qt=rr.descriptor;Ve.removals[qt.id]=!0,Ve.modified[qt.droppableId]=!0,Ve.additions[qt.id]&&delete Ve.additions[qt.id],Et()},nr=function(){if(!it)return;cancelAnimationFrame(it),it=null,Ve=vo()};return{add:Rt,remove:Ft,stop:nr}}var Va=function(ee){var ye=ee.scrollHeight,Ve=ee.scrollWidth,it=ee.height,Et=ee.width,Rt=oe({x:Ve,y:ye},{x:Et,y:it}),Ft={x:Math.max(0,Rt.x),y:Math.max(0,Rt.y)};return Ft},ao=function(){var ee=document.documentElement;return ee||Le(!1),ee},Ga=function(){var ee=ao(),ye=Va({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ye},yo=function(){var ee=ca(),ye=Ga(),Ve=ee.y,it=ee.x,Et=ao(),Rt=Et.clientWidth,Ft=Et.clientHeight,nr=it+Rt,yr=Ve+Ft,rr=n({top:Ve,left:it,right:nr,bottom:yr}),qt={frame:rr,scroll:{initial:ee,current:ee,max:ye,diff:{value:Ae,displacement:Ae}}};return qt},fo=function(ee){var ye=ee.critical,Ve=ee.scrollOptions,it=ee.registry;Jn();var Et=yo(),Rt=Et.scroll.current,Ft=ye.droppable,nr=it.droppable.getAllByType(Ft.type).map(function(hr){return hr.callbacks.getDimensionAndWatchScroll(Rt,Ve)}),yr=it.draggable.getAllByType(ye.draggable.type).map(function(hr){return hr.getDimension(Rt)}),rr={draggables:rt(yr),droppables:wt(nr)};vi();var qt={dimensions:rr,critical:ye,viewport:Et};return qt};function es(Re,ee,ye){if(ye.descriptor.id===ee.id)return!1;if(ye.descriptor.type!==ee.type)return!1;var Ve=Re.droppable.getById(ye.descriptor.droppableId);return!(Ve.descriptor.mode!=="virtual")}var To=function(ee,ye){var Ve=null,it=os({callbacks:{publish:ye.publishWhileDragging,collectionStarting:ye.collectionStarting},registry:ee}),Et=function(Wr,En){if(ee.droppable.exists(Wr)||Le(!1),!Ve)return;ye.updateDroppableIsEnabled({id:Wr,isEnabled:En})},Rt=function(Wr,En){if(!Ve)return;ee.droppable.exists(Wr)||Le(!1),ye.updateDroppableIsCombineEnabled({id:Wr,isCombineEnabled:En})},Ft=function(Wr,En){if(!Ve)return;ee.droppable.exists(Wr)||Le(!1),ye.updateDroppableScroll({id:Wr,newScroll:En})},nr=function(Wr,En){if(!Ve)return;ee.droppable.getById(Wr).callbacks.scroll(En)},yr=function(){if(!Ve)return;it.stop();var Wr=Ve.critical.droppable;ee.droppable.getAllByType(Wr.type).forEach(function(En){return En.callbacks.dragStopped()}),Ve.unsubscribe(),Ve=null},rr=function(Wr){Ve||Le(!1);var En=Ve.critical.draggable;Wr.type==="ADDITION"&&(es(ee,En,Wr.value)&&it.add(Wr.value)),Wr.type==="REMOVAL"&&(es(ee,En,Wr.value)&&it.remove(Wr.value))},qt=function(Wr){Ve&&Le(!1);var En=ee.draggable.getById(Wr.draggableId),jn=ee.droppable.getById(En.descriptor.droppableId),pi={draggable:En.descriptor,droppable:jn.descriptor},Yn=ee.subscribe(rr);return Ve={critical:pi,unsubscribe:Yn},fo({critical:pi,registry:ee,scrollOptions:Wr.scrollOptions})},hr={updateDroppableIsEnabled:Et,updateDroppableIsCombineEnabled:Rt,scrollDroppable:nr,updateDroppableScroll:Ft,startPublishing:qt,stopPublishing:yr};return hr},po=function(ee,ye){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ye?!1:ee.completed.result.reason==="DROP"},Io=function(ee){window.scrollBy(ee.x,ee.y)},Wo=L(function(Re){return It(Re).filter(function(ee){return ee.isEnabled?!!ee.frame:!1})}),ns=function(ee,ye){var Ve=le(Wo(ye),function(it){return it.frame||Le(!1),Fn(it.frame.pageMarginBox)(ee)});return Ve},Po=function(ee){var ye=ee.center,Ve=ee.destination,it=ee.droppables;if(Ve){var Et=it[Ve];return Et.frame?Et:null}var Rt=ns(ye,it);return Rt},Aa={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ee){return Math.pow(ee,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Za=function(ee,ye){var Ve=ee[ye.size]*Aa.startFromPercentage,it=ee[ye.size]*Aa.maxScrollAtPercentage,Et={startScrollingFrom:Ve,maxScrollValueAt:it};return Et},ka=function(ee){var ye=ee.startOfRange,Ve=ee.endOfRange,it=ee.current,Et=Ve-ye;if(Et===0)return 0;var Rt=it-ye,Ft=Rt/Et;return Ft},$i=1,uo=function(ee,ye){if(ee>ye.startScrollingFrom)return 0;if(ee<=ye.maxScrollValueAt)return Aa.maxPixelScroll;if(ee===ye.startScrollingFrom)return $i;var Ve=ka({startOfRange:ye.maxScrollValueAt,endOfRange:ye.startScrollingFrom,current:ee}),it=1-Ve,Et=Aa.maxPixelScroll*Aa.ease(it);return Math.ceil(Et)},Ha=Aa.durationDampening.accelerateAt,Yi=Aa.durationDampening.stopDampeningAt,Qa=function(ee,ye){var Ve=ye,it=Yi,Et=Date.now(),Rt=Et-Ve;if(Rt>=Yi)return ee;if(Rt<Ha)return $i;var Ft=ka({startOfRange:Ha,endOfRange:it,current:Rt}),nr=ee*Aa.ease(Ft);return Math.ceil(nr)},Fo=function(ee){var ye=ee.distanceToEdge,Ve=ee.thresholds,it=ee.dragStartTime,Et=ee.shouldUseTimeDampening,Rt=uo(ye,Ve);return Rt===0?0:Et?Math.max(Qa(Rt,it),$i):Rt},Qo=function(ee){var ye=ee.container,Ve=ee.distanceToEdges,it=ee.dragStartTime,Et=ee.axis,Rt=ee.shouldUseTimeDampening,Ft=Za(ye,Et),nr=Ve[Et.end]<Ve[Et.start];return nr?Fo({distanceToEdge:Ve[Et.end],thresholds:Ft,dragStartTime:it,shouldUseTimeDampening:Rt}):-1*Fo({distanceToEdge:Ve[Et.start],thresholds:Ft,dragStartTime:it,shouldUseTimeDampening:Rt})},Zo=function(ee){var ye=ee.container,Ve=ee.subject,it=ee.proposedScroll,Et=Ve.height>ye.height,Rt=Ve.width>ye.width;return!Rt&&!Et?it:Rt&&Et?null:{x:Rt?0:it.x,y:Et?0:it.y}},ua=Oe(function(Re){return Re===0?0:Re}),Ya=function(ee){var ye=ee.dragStartTime,Ve=ee.container,it=ee.subject,Et=ee.center,Rt=ee.shouldUseTimeDampening,Ft={top:Et.y-Ve.top,right:Ve.right-Et.x,bottom:Ve.bottom-Et.y,left:Et.x-Ve.left},nr=Qo({container:Ve,distanceToEdges:Ft,dragStartTime:ye,axis:Tr,shouldUseTimeDampening:Rt}),yr=Qo({container:Ve,distanceToEdges:Ft,dragStartTime:ye,axis:fr,shouldUseTimeDampening:Rt}),rr=ua({x:yr,y:nr});if(de(rr,Ae))return null;var qt=Zo({container:Ve,subject:it,proposedScroll:rr});return qt?de(qt,Ae)?null:qt:null},lo=Oe(function(Re){return Re===0?0:Re>0?1:-1}),Ci=function(){var Re=function(ye,Ve){return ye<0?ye:ye>Ve?ye-Ve:0};return function(ee){var ye=ee.current,Ve=ee.max,it=ee.change,Et=Ne(ye,it),Rt={x:Re(Et.x,Ve.x),y:Re(Et.y,Ve.y)};return de(Rt,Ae)?null:Rt}}(),Sa=function(ee){var ye=ee.max,Ve=ee.current,it=ee.change,Et={x:Math.max(Ve.x,ye.x),y:Math.max(Ve.y,ye.y)},Rt=lo(it),Ft=Ci({max:Et,current:Ve,change:Rt});return Ft?Rt.x!==0&&Ft.x===0?!0:Rt.y!==0&&Ft.y===0:!0},bo=function(ee,ye){return Sa({current:ee.scroll.current,max:ee.scroll.max,change:ye})},Bo=function(ee,ye){if(!bo(ee,ye))return null;var Ve=ee.scroll.max,it=ee.scroll.current;return Ci({current:it,max:Ve,change:ye})},Oo=function(ee,ye){var Ve=ee.frame;return Ve?Sa({current:Ve.scroll.current,max:Ve.scroll.max,change:ye}):!1},gs=function(ee,ye){var Ve=ee.frame;return Ve&&Oo(ee,ye)?Ci({current:Ve.scroll.current,max:Ve.scroll.max,change:ye}):null},ds=function(ee){var ye=ee.viewport,Ve=ee.subject,it=ee.center,Et=ee.dragStartTime,Rt=ee.shouldUseTimeDampening,Ft=Ya({dragStartTime:Et,container:ye.frame,subject:Ve,center:it,shouldUseTimeDampening:Rt});return Ft&&bo(ye,Ft)?Ft:null},hs=function(ee){var ye=ee.droppable,Ve=ee.subject,it=ee.center,Et=ee.dragStartTime,Rt=ee.shouldUseTimeDampening,Ft=ye.frame;if(!Ft)return null;var nr=Ya({dragStartTime:Et,container:Ft.pageMarginBox,subject:Ve,center:it,shouldUseTimeDampening:Rt});return nr&&Oo(ye,nr)?nr:null},ss=function(ee){var ye=ee.state,Ve=ee.dragStartTime,it=ee.shouldUseTimeDampening,Et=ee.scrollWindow,Rt=ee.scrollDroppable,Ft=ye.current.page.borderBoxCenter,nr=ye.dimensions.draggables[ye.critical.draggable.id],yr=nr.page.marginBox;if(ye.isWindowScrollAllowed){var rr=ye.viewport,qt=ds({dragStartTime:Ve,viewport:rr,subject:yr,center:Ft,shouldUseTimeDampening:it});if(qt){Et(qt);return}}var hr=Po({center:Ft,destination:ln(ye.impact),droppables:ye.dimensions.droppables});if(!hr)return;var Er=hs({dragStartTime:Ve,droppable:hr,subject:yr,center:Ft,shouldUseTimeDampening:it});Er&&Rt(hr.descriptor.id,Er)},$a=function(ee){var ye=ee.scrollWindow,Ve=ee.scrollDroppable,it=B(ye),Et=B(Ve),Rt=null,Ft=function(qt){Rt||Le(!1);var hr=Rt,Er=hr.shouldUseTimeDampening,Wr=hr.dragStartTime;ss({state:qt,scrollWindow:it,scrollDroppable:Et,dragStartTime:Wr,shouldUseTimeDampening:Er})},nr=function(qt){Jn(),Rt&&Le(!1);var hr=Date.now(),Er=!1,Wr=function(){Er=!0};ss({state:qt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Wr,scrollDroppable:Wr}),Rt={dragStartTime:hr,shouldUseTimeDampening:Er},vi(),Er&&Ft(qt)},yr=function(){if(!Rt)return;it.cancel(),Et.cancel(),Rt=null};return{start:nr,stop:yr,scroll:Ft}},Na=function(ee){var ye=ee.move,Ve=ee.scrollDroppable,it=ee.scrollWindow,Et=function(rr,qt){var hr=Ne(rr.current.client.selection,qt);ye({client:hr})},Rt=function(rr,qt){if(!Oo(rr,qt))return qt;var hr=gs(rr,qt);if(!hr)return Ve(rr.descriptor.id,qt),null;var Er=oe(qt,hr);Ve(rr.descriptor.id,Er);var Wr=oe(qt,Er);return Wr},Ft=function(rr,qt,hr){if(!rr)return hr;if(!bo(qt,hr))return hr;var Er=Bo(qt,hr);if(!Er)return it(hr),null;var Wr=oe(hr,Er);it(Wr);var En=oe(hr,Wr);return En},nr=function(rr){var qt=rr.scrollJumpRequest;if(!qt)return;var hr=ln(rr.impact);hr||Le(!1);var Er=Rt(rr.dimensions.droppables[hr],qt);if(!Er)return;var Wr=rr.viewport,En=Ft(rr.isWindowScrollAllowed,Wr,Er);if(!En)return;Et(rr,En)};return nr},Vo=function(ee){var ye=ee.scrollDroppable,Ve=ee.scrollWindow,it=ee.move,Et=$a({scrollWindow:Ve,scrollDroppable:ye}),Rt=Na({move:it,scrollWindow:Ve,scrollDroppable:ye}),Ft=function(rr){if(rr.phase!=="DRAGGING")return;if(rr.movementMode==="FLUID"){Et.scroll(rr);return}if(!rr.scrollJumpRequest)return;Rt(rr)},nr={scroll:Ft,start:Et.start,stop:Et.stop};return nr},Jo="data-rbd",Da=function(){var Re=Jo+"-drag-handle";return{base:Re,draggableId:Re+"-draggable-id",contextId:Re+"-context-id"}}(),Ka=function(){var Re=Jo+"-draggable";return{base:Re,contextId:Re+"-context-id",id:Re+"-id"}}(),Pa=function(){var Re=Jo+"-droppable";return{base:Re,contextId:Re+"-context-id",id:Re+"-id"}}(),Xo={contextId:Jo+"-scroll-container-context-id"},Uo=function(ee){return function(ye){return"["+ye+'="'+ee+'"]'}},Lo=function(ee,ye){return ee.map(function(Ve){var it=Ve.styles[ye];return it?Ve.selector+" { "+it+" }":""}).join(" ")},Yo="pointer-events: none;",Ko=function(ee){var ye=Uo(ee),Ve=function(){var nr=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:ye(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}}}(),it=function(){var nr=`
|
|
|
transition: `+Pn.outOfTheWay+`;
|
|
|
`;return{selector:ye(Ka.contextId),styles:{dragging:nr,dropAnimating:nr,userCancel:nr}}}(),Et={selector:ye(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;
|
|
|
`}},Ft=[it,Ve,Et,Rt];return{always:Lo(Ft,"always"),resting:Lo(Ft,"resting"),dragging:Lo(Ft,"dragging"),dropAnimating:Lo(Ft,"dropAnimating"),userCancel:Lo(Ft,"userCancel")}},jo=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?w.useLayoutEffect:w.useEffect,Or=function(){var ee=document.querySelector("head");return ee||Le(!1),ee},ui=function(ee){var ye=document.createElement("style");return ee&&ye.setAttribute("nonce",ee),ye.type="text/css",ye};function vs(Re,ee){var ye=e(function(){return Ko(Re)},[Re]),Ve=Object(w.useRef)(null),it=Object(w.useRef)(null),Et=r(L(function(qt){var hr=it.current;hr||Le(!1),hr.textContent=qt}),[]),Rt=r(function(qt){var hr=Ve.current;hr||Le(!1),hr.textContent=qt},[]);jo(function(){!Ve.current&&!it.current||Le(!1);var qt=ui(ee),hr=ui(ee);return Ve.current=qt,it.current=hr,qt.setAttribute(Jo+"-always",Re),hr.setAttribute(Jo+"-dynamic",Re),Or().appendChild(qt),Or().appendChild(hr),Rt(ye.always),Et(ye.resting),function(){var Er=function(En){var jn=En.current;jn||Le(!1),Or().removeChild(jn),En.current=null};Er(Ve),Er(it)}},[ee,Rt,Et,ye.always,ye.resting,Re]);var Ft=r(function(){return Et(ye.dragging)},[Et,ye.dragging]),nr=r(function(qt){if(qt==="DROP"){Et(ye.dropAnimating);return}Et(ye.userCancel)},[Et,ye.dropAnimating,ye.userCancel]),yr=r(function(){if(!it.current)return;Et(ye.resting)},[Et,ye.resting]),rr=e(function(){return{dragging:Ft,dropping:nr,resting:yr}},[Ft,nr,yr]);return rr}var rl=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function Ps(Re){return Re instanceof rl(Re).HTMLElement}function Ks(Re,ee){var ye="["+Da.contextId+'="'+Re+'"]',Ve=ot(document.querySelectorAll(ye));if(!Ve.length)return null;var it=le(Ve,function(Et){return Et.getAttribute(Da.draggableId)===ee});return it&&Ps(it)?it:null}function sl(Re){var ee=Object(w.useRef)({}),ye=Object(w.useRef)(null),Ve=Object(w.useRef)(null),it=Object(w.useRef)(!1),Et=r(function(hr,Er){var Wr={id:hr,focus:Er};return ee.current[hr]=Wr,function(){var jn=ee.current,pi=jn[hr];pi!==Wr&&delete jn[hr]}},[]),Rt=r(function(hr){var Er=Ks(Re,hr);Er&&Er!==document.activeElement&&Er.focus()},[Re]),Ft=r(function(hr,Er){ye.current===hr&&(ye.current=Er)},[]),nr=r(function(){if(Ve.current)return;if(!it.current)return;Ve.current=requestAnimationFrame(function(){Ve.current=null;var hr=ye.current;hr&&Rt(hr)})},[Rt]),yr=r(function(hr){ye.current=null;var Er=document.activeElement;if(!Er)return;if(Er.getAttribute(Da.draggableId)!==hr)return;ye.current=hr},[]);jo(function(){return it.current=!0,function(){it.current=!1;var hr=Ve.current;hr&&cancelAnimationFrame(hr)}},[]);var rr=e(function(){return{register:Et,tryRecordFocus:yr,tryRestoreFocusRecorded:nr,tryShiftRecord:Ft}},[Et,yr,nr,Ft]);return rr}function xs(){var Re={draggables:{},droppables:{}},ee=[];function ye(qt){return ee.push(qt),function(){var Er=ee.indexOf(qt);if(Er===-1)return;ee.splice(Er,1)}}function Ve(qt){ee.length&&ee.forEach(function(hr){return hr(qt)})}function it(qt){return Re.draggables[qt]||null}function Et(qt){var hr=it(qt);return hr||Le(!1),hr}var Rt={register:function(hr){Re.draggables[hr.descriptor.id]=hr,Ve({type:"ADDITION",value:hr})},update:function(hr,Er){var Wr=Re.draggables[Er.descriptor.id];if(!Wr)return;if(Wr.uniqueId!==hr.uniqueId)return;delete Re.draggables[Er.descriptor.id],Re.draggables[hr.descriptor.id]=hr},unregister:function(hr){var Er=hr.descriptor.id,Wr=it(Er);if(!Wr)return;if(hr.uniqueId!==Wr.uniqueId)return;delete Re.draggables[Er],Ve({type:"REMOVAL",value:hr})},getById:Et,findById:it,exists:function(hr){return Boolean(it(hr))},getAllByType:function(hr){return we(Re.draggables).filter(function(Er){return Er.descriptor.type===hr})}};function Ft(qt){return Re.droppables[qt]||null}function nr(qt){var hr=Ft(qt);return hr||Le(!1),hr}var yr={register:function(hr){Re.droppables[hr.descriptor.id]=hr},unregister:function(hr){var Er=Ft(hr.descriptor.id);if(!Er)return;if(hr.uniqueId!==Er.uniqueId)return;delete Re.droppables[hr.descriptor.id]},getById:nr,findById:Ft,exists:function(hr){return Boolean(Ft(hr))},getAllByType:function(hr){return we(Re.droppables).filter(function(Er){return Er.descriptor.type===hr})}};function rr(){Re.draggables={},Re.droppables={},ee.length=0}return{draggable:Rt,droppable:yr,subscribe:ye,clean:rr}}function Ls(){var Re=e(xs,[]);return Object(w.useEffect)(function(){return function(){requestAnimationFrame(Re.clean)}},[Re]),Re}var Xs=A.a.createContext(null),Es=function(){var ee=document.body;return ee||Le(!1),ee},_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(ee){return"rbd-announcement-"+ee};function Gs(Re){var ee=e(function(){return pl(Re)},[Re]),ye=Object(w.useRef)(null);Object(w.useEffect)(function(){var Et=document.createElement("div");return ye.current=Et,Et.id=ee,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===ye.current&&(ye.current=null)})}},[ee]);var Ve=r(function(it){var Et=ye.current;if(Et){Et.textContent=it;return}},[]);return Ve}var ro=0,eo={separator:"::"};function ho(){ro=0}function yt(Re,ee){return ee===void 0&&(ee=eo),e(function(){return""+Re+ee.separator+ro++},[ee.separator,Re])}function Lt(Re){var ee=Re.contextId,ye=Re.uniqueId;return"rbd-hidden-text-"+ee+"-"+ye}function Pr(Re){var ee=Re.contextId,ye=Re.text,Ve=yt("hidden-text",{separator:"-"}),it=e(function(){return Lt({contextId:ee,uniqueId:Ve})},[Ve,ee]);return Object(w.useEffect)(function(){var Rt=document.createElement("div");return Rt.id=it,Rt.textContent=ye,Rt.style.display="none",Es().appendChild(Rt),function(){var nr=Es();nr.contains(Rt)&&nr.removeChild(Rt)}},[it,ye]),it}var pn=A.a.createContext(null),Rn={react:"^16.8.5","react-dom":"^16.8.5"},dt=/(\d+)\.(\d+)\.(\d+)/,ce=function(ee){var ye=dt.exec(ee);ye!=null||Le(!1);var Ve=Number(ye[1]),it=Number(ye[2]),Et=Number(ye[3]);return{major:Ve,minor:it,patch:Et,raw:ee}},ve=function(ee,ye){return ye.major>ee.major?!0:ye.major<ee.major?!1:ye.minor>ee.minor?!0:ye.minor<ee.minor?!1:ye.patch>=ee.patch},_e=function(ee,ye){var Ve=ce(ee),it=ce(ye);if(ve(Ve,it))return},ze=`
|
|
|
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(ee){var ye=ee.doctype;if(!ye)return;ye.name.toLowerCase()!=="html",ye.publicId!==""};function Pt(Re){}function ar(Re,ee){Pt(function(){Object(w.useEffect)(function(){try{Re()}catch(ye){ae(`
|
|
|
A setup problem was encountered.
|
|
|
|
|
|
> `+ye.message+`
|
|
|
`)}},ee)})}function wr(){ar(function(){_e(Rn.react,A.a.version),ut(document)},[])}function jr(Re){var ee=Object(w.useRef)(Re);return Object(w.useEffect)(function(){ee.current=Re}),ee}function hn(){var Re=null;function ee(){return Boolean(Re)}function ye(Rt){return Rt===Re}function Ve(Rt){Re&&Le(!1);var Ft={abandon:Rt};return Re=Ft,Ft}function it(){Re||Le(!1),Re=null}function Et(){Re&&(Re.abandon(),it())}return{isClaimed:ee,isActive:ye,claim:Ve,release:it,tryAbandon:Et}}var Tn=9,ti=13,Ai=27,Ti=32,zi=33,na=34,Ua=35,Ja=36,to=37,No=38,oo=39,Do=40,za,Ro=(za={},za[ti]=!0,za[Tn]=!0,za),ls=function(ee){Ro[ee.keyCode]&&ee.preventDefault()},wo=function(){var Re="visibilitychange";if(typeof document=="undefined")return Re;var ee=[Re,"ms"+Re,"webkit"+Re,"moz"+Re,"o"+Re],ye=le(ee,function(Ve){return"on"+Ve in document});return ye||Re}(),So=0,fs=5;function Cs(Re,ee){return Math.abs(ee.x-Re.x)>=fs||Math.abs(ee.y-Re.y)>=fs}var qo={type:"IDLE"};function xo(Re){var ee=Re.cancel,ye=Re.completed,Ve=Re.getPhase,it=Re.setPhase;return[{eventName:"mousemove",fn:function(Rt){var Ft=Rt.button,nr=Rt.clientX,yr=Rt.clientY;if(Ft!==So)return;var rr={x:nr,y:yr},qt=Ve();if(qt.type==="DRAGGING"){Rt.preventDefault(),qt.actions.move(rr);return}qt.type==="PENDING"||Le(!1);var hr=qt.point;if(!Cs(hr,rr))return;Rt.preventDefault();var Er=qt.actions.fluidLift(rr);it({type:"DRAGGING",actions:Er})}},{eventName:"mouseup",fn:function(Rt){var Ft=Ve();if(Ft.type!=="DRAGGING"){ee();return}Rt.preventDefault(),Ft.actions.drop({shouldBlockNextClick:!0}),ye()}},{eventName:"mousedown",fn:function(Rt){Ve().type==="DRAGGING"&&Rt.preventDefault(),ee()}},{eventName:"keydown",fn:function(Rt){var Ft=Ve();if(Ft.type==="PENDING"){ee();return}if(Rt.keyCode===Ai){Rt.preventDefault(),ee();return}ls(Rt)}},{eventName:"resize",fn:ee},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){Ve().type==="PENDING"&&ee()}},{eventName:"webkitmouseforcedown",fn:function(Rt){var Ft=Ve();if(Ft.type!=="IDLE"||Le(!1),Ft.actions.shouldRespectForcePress()){ee();return}Rt.preventDefault()}},{eventName:wo,fn:ee}]}function zs(Re){var ee=Object(w.useRef)(qo),ye=Object(w.useRef)(se),Ve=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=Re.findClosestDraggableId(qt);if(!hr)return;var Er=Re.tryGetLock(hr,Rt,{sourceEvent:qt});if(!Er)return;qt.preventDefault();var Wr={x:qt.clientX,y:qt.clientY};ye.current(),yr(Er,Wr)}}},[Re]),it=e(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(qt){if(qt.defaultPrevented)return;var hr=Re.findClosestDraggableId(qt);if(!hr)return;var Er=Re.findOptionsForDraggable(hr);if(!Er)return;if(Er.shouldRespectForcePress)return;if(!Re.canGetLock(hr))return;qt.preventDefault()}}},[Re]),Et=r(function(){var qt={passive:!1,capture:!0};ye.current=ge(window,[it,Ve],qt)},[it,Ve]),Rt=r(function(){var rr=ee.current;if(rr.type==="IDLE")return;ee.current=qo,ye.current(),Et()},[Et]),Ft=r(function(){var rr=ee.current;Rt(),rr.type==="DRAGGING"&&rr.actions.cancel({shouldBlockNextClick:!0}),rr.type==="PENDING"&&rr.actions.abort()},[Rt]),nr=r(function(){var qt={capture:!0,passive:!1},hr=xo({cancel:Ft,completed:Rt,getPhase:function(){return ee.current},setPhase:function(Wr){ee.current=Wr}});ye.current=ge(window,hr,qt)},[Ft,Rt]),yr=r(function(qt,hr){ee.current.type==="IDLE"||Le(!1),ee.current={type:"PENDING",point:hr,actions:qt},nr()},[nr]);jo(function(){return Et(),function(){ye.current()}},[Et])}var ps;function ll(){}var cl=(ps={},ps[na]=!0,ps[zi]=!0,ps[Ja]=!0,ps[Ua]=!0,ps);function Ts(Re,ee){function ye(){ee(),Re.cancel()}function Ve(){ee(),Re.drop()}return[{eventName:"keydown",fn:function(Et){if(Et.keyCode===Ai){Et.preventDefault(),ye();return}if(Et.keyCode===Ti){Et.preventDefault(),Ve();return}if(Et.keyCode===Do){Et.preventDefault(),Re.moveDown();return}if(Et.keyCode===No){Et.preventDefault(),Re.moveUp();return}if(Et.keyCode===oo){Et.preventDefault(),Re.moveRight();return}if(Et.keyCode===to){Et.preventDefault(),Re.moveLeft();return}if(cl[Et.keyCode]){Et.preventDefault();return}ls(Et)}},{eventName:"mousedown",fn:ye},{eventName:"mouseup",fn:ye},{eventName:"click",fn:ye},{eventName:"touchstart",fn:ye},{eventName:"resize",fn:ye},{eventName:"wheel",fn:ye,options:{passive:!0}},{eventName:wo,fn:ye}]}function Mo(Re){var ee=Object(w.useRef)(ll),ye=e(function(){return{eventName:"keydown",fn:function(Et){if(Et.defaultPrevented)return;if(Et.keyCode!==Ti)return;var Rt=Re.findClosestDraggableId(Et);if(!Rt)return;var Ft=Re.tryGetLock(Rt,rr,{sourceEvent:Et});if(!Ft)return;Et.preventDefault();var nr=!0,yr=Ft.snapLift();ee.current();function rr(){nr||Le(!1),nr=!1,ee.current(),Ve()}ee.current=ge(window,Ts(yr,rr),{capture:!0,passive:!1})}}},[Re]),Ve=r(function(){var Et={passive:!1,capture:!0};ee.current=ge(window,[ye],Et)},[ye]);jo(function(){return Ve(),function(){ee.current()}},[Ve])}var Ki={type:"IDLE"},Ws=120,nl=.15;function Ss(Re){var ee=Re.cancel,ye=Re.getPhase;return[{eventName:"orientationchange",fn:ee},{eventName:"resize",fn:ee},{eventName:"contextmenu",fn:function(it){it.preventDefault()}},{eventName:"keydown",fn:function(it){if(ye().type!=="DRAGGING"){ee();return}it.keyCode===Ai&&it.preventDefault(),ee()}},{eventName:wo,fn:ee}]}function ts(Re){var ee=Re.cancel,ye=Re.completed,Ve=Re.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Et){var Rt=Ve();if(Rt.type!=="DRAGGING"){ee();return}Rt.hasMoved=!0;var Ft=Et.touches[0],nr=Ft.clientX,yr=Ft.clientY,rr={x:nr,y:yr};Et.preventDefault(),Rt.actions.move(rr)}},{eventName:"touchend",fn:function(Et){var Rt=Ve();if(Rt.type!=="DRAGGING"){ee();return}Et.preventDefault(),Rt.actions.drop({shouldBlockNextClick:!0}),ye()}},{eventName:"touchcancel",fn:function(Et){if(Ve().type!=="DRAGGING"){ee();return}Et.preventDefault(),ee()}},{eventName:"touchforcechange",fn:function(Et){var Rt=Ve();Rt.type!=="IDLE"||Le(!1);var Ft=Et.touches[0];if(!Ft)return;var nr=Ft.force>=nl;if(!nr)return;var yr=Rt.actions.shouldRespectForcePress();if(Rt.type==="PENDING"){yr&&ee();return}if(yr){if(Rt.hasMoved){Et.preventDefault();return}ee();return}Et.preventDefault()}},{eventName:wo,fn:ee}]}function ml(Re){var ee=Object(w.useRef)(Ki),ye=Object(w.useRef)(se),Ve=r(function(){return ee.current},[]),it=r(function(Er){ee.current=Er},[]),Et=e(function(){return{eventName:"touchstart",fn:function(Er){if(Er.defaultPrevented)return;var Wr=Re.findClosestDraggableId(Er);if(!Wr)return;var En=Re.tryGetLock(Wr,Ft,{sourceEvent:Er});if(!En)return;var jn=Er.touches[0],pi=jn.clientX,Yn=jn.clientY,Zi={x:pi,y:Yn};ye.current(),qt(En,Zi)}}},[Re]),Rt=r(function(){var Er={capture:!0,passive:!1};ye.current=ge(window,[Et],Er)},[Et]),Ft=r(function(){var hr=ee.current;if(hr.type==="IDLE")return;hr.type==="PENDING"&&clearTimeout(hr.longPressTimerId),it(Ki),ye.current(),Rt()},[Rt,it]),nr=r(function(){var hr=ee.current;Ft(),hr.type==="DRAGGING"&&hr.actions.cancel({shouldBlockNextClick:!0}),hr.type==="PENDING"&&hr.actions.abort()},[Ft]),yr=r(function(){var Er={capture:!0,passive:!1},Wr={cancel:nr,completed:Ft,getPhase:Ve},En=ge(window,ts(Wr),Er),jn=ge(window,Ss(Wr),Er);ye.current=function(){En(),jn()}},[nr,Ve,Ft]),rr=r(function(){var Er=Ve();Er.type==="PENDING"||Le(!1);var Wr=Er.actions.fluidLift(Er.point);it({type:"DRAGGING",actions:Wr,hasMoved:!1})},[Ve,it]),qt=r(function(Er,Wr){Ve().type==="IDLE"||Le(!1);var En=setTimeout(rr,Ws);it({type:"PENDING",point:Wr,actions:Er,longPressTimerId:En}),yr()},[yr,Ve,it,rr]);jo(function(){return Rt(),function(){ye.current();var Wr=Ve();Wr.type==="PENDING"&&(clearTimeout(Wr.longPressTimerId),it(Ki))}},[Ve,Rt,it]),jo(function(){var Er=ge(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Er},[])}function il(Re){Pt(function(){var ee=jr(Re);ar(function(){ee.current.length===Re.length||Le(!1)})})}var Ns={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Us(Re,ee){if(ee==null)return!1;var ye=Boolean(Ns[ee.tagName.toLowerCase()]);if(ye)return!0;var Ve=ee.getAttribute("contenteditable");return Ve==="true"||Ve===""?!0:ee===Re?!1:Us(Re,ee.parentElement)}function Ds(Re,ee){var ye=ee.target;return Ps(ye)?Us(Re,ye):!1}var Rs=function(ee){return n(ee.getBoundingClientRect()).center};function ul(Re){return Re instanceof rl(Re).Element}var Fs=function(){var Re="matches";if(typeof document=="undefined")return Re;var ee=[Re,"msMatchesSelector","webkitMatchesSelector"],ye=le(ee,function(Ve){return Ve in Element.prototype});return ye||Re}();function Qs(Re,ee){return Re==null?null:Re[Fs](ee)?Re:Qs(Re.parentElement,ee)}function Ys(Re,ee){return Re.closest?Re.closest(ee):Qs(Re,ee)}function Zs(Re){return"["+Da.contextId+'="'+Re+'"]'}function xa(Re,ee){var ye=ee.target;if(!ul(ye))return null;var Ve=Zs(Re),it=Ys(ye,Ve);return it&&Ps(it)?it:null}function Li(Re,ee){var ye=xa(Re,ee);return ye?ye.getAttribute(Da.draggableId):null}function ea(Re,ee){var ye="["+Ka.contextId+'="'+Re+'"]',Ve=ot(document.querySelectorAll(ye)),it=le(Ve,function(Et){return Et.getAttribute(Ka.id)===ee});return it&&Ps(it)?it:null}function Ca(Re){Re.preventDefault()}function go(Re){var ee=Re.expected,ye=Re.phase,Ve=Re.isLockActive,it=Re.shouldWarn;return Ve()?!(ee!==ye):!1}function js(Re){var ee=Re.lockAPI,ye=Re.store,Ve=Re.registry,it=Re.draggableId;if(ee.isClaimed())return!1;var Et=Ve.draggable.findById(it);return Et&&Et.options.isEnabled?!!po(ye.getState(),it):!1}function Is(Re){var ee=Re.lockAPI,ye=Re.contextId,Ve=Re.store,it=Re.registry,Et=Re.draggableId,Rt=Re.forceSensorStop,Ft=Re.sourceEvent,nr=js({lockAPI:ee,store:Ve,registry:it,draggableId:Et});if(!nr)return null;var yr=it.draggable.getById(Et),rr=ea(ye,yr.descriptor.id);if(!rr)return null;if(Ft&&!yr.options.canDragInteractiveElements&&Ds(rr,Ft))return null;var qt=ee.claim(Rt||se),hr="PRE_DRAG";function Er(){return yr.options.shouldRespectForcePress}function Wr(){return ee.isActive(qt)}function En(ta,oa){go({expected:ta,phase:hr,isLockActive:Wr,shouldWarn:!0})&&Ve.dispatch(oa())}var jn=En.bind(null,"DRAGGING");function pi(ta){function oa(){ee.release(),hr="COMPLETED"}hr!=="PRE_DRAG"&&(oa(),hr==="PRE_DRAG"||Le(!1)),Ve.dispatch(qi(ta.liftActionArgs)),hr="DRAGGING";function qa(O,F){if(F===void 0&&(F={shouldBlockNextClick:!1}),ta.cleanup(),F.shouldBlockNextClick){var q=ge(window,[{eventName:"click",fn:Ca,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(q)}oa(),Ve.dispatch(Cn({reason:O}))}return Object(m.a)({isActive:function(){return go({expected:"DRAGGING",phase:hr,isLockActive:Wr,shouldWarn:!1})},shouldRespectForcePress:Er,drop:function(F){return qa("DROP",F)},cancel:function(F){return qa("CANCEL",F)}},ta.actions)}function Yn(ta){var oa=B(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 Zi(){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:se,actions:ta})}function Ei(){var ta=go({expected:"PRE_DRAG",phase:hr,isLockActive:Wr,shouldWarn:!0});ta&&ee.release()}var da={isActive:function(){return go({expected:"PRE_DRAG",phase:hr,isLockActive:Wr,shouldWarn:!1})},shouldRespectForcePress:Er,fluidLift:Yn,snapLift:Zi,abort:Ei};return da}var Vs=[zs,Mo,ml];function Js(Re){var ee=Re.contextId,ye=Re.store,Ve=Re.registry,it=Re.customSensors,Et=Re.enableDefaultSensors,Rt=[].concat(Et?Vs:[],it||[]),Ft=Object(w.useState)(function(){return hn()})[0],nr=r(function(Yn,Zi){Yn.isDragging&&!Zi.isDragging&&Ft.tryAbandon()},[Ft]);jo(function(){var Yn=ye.getState(),Zi=ye.subscribe(function(){var Ei=ye.getState();nr(Yn,Ei),Yn=Ei});return Zi},[Ft,ye,nr]),jo(function(){return Ft.tryAbandon},[Ft.tryAbandon]);var yr=r(function(pi){return js({lockAPI:Ft,registry:Ve,store:ye,draggableId:pi})},[Ft,Ve,ye]),rr=r(function(pi,Yn,Zi){return Is({lockAPI:Ft,registry:Ve,contextId:ee,store:ye,draggableId:pi,forceSensorStop:Yn,sourceEvent:Zi&&Zi.sourceEvent?Zi.sourceEvent:null})},[ee,Ft,Ve,ye]),qt=r(function(pi){return Li(ee,pi)},[ee]),hr=r(function(pi){var Yn=Ve.draggable.findById(pi);return Yn?Yn.options:null},[Ve.draggable]),Er=r(function(){if(!Ft.isClaimed())return;Ft.tryAbandon(),ye.getState().phase!=="IDLE"&&ye.dispatch(Dr())},[Ft,ye]),Wr=r(Ft.isClaimed,[Ft]),En=e(function(){return{canGetLock:yr,tryGetLock:rr,findClosestDraggableId:qt,findOptionsForDraggable:hr,tryReleaseLock:Er,isLockClaimed:Wr}},[yr,rr,qt,hr,Er,Wr]);il(Rt);for(var jn=0;jn<Rt.length;jn++)Rt[jn](En)}var gl=function(ee){return{onBeforeCapture:ee.onBeforeCapture,onBeforeDragStart:ee.onBeforeDragStart,onDragStart:ee.onDragStart,onDragEnd:ee.onDragEnd,onDragUpdate:ee.onDragUpdate}};function Bs(Re){return Re.current||Le(!1),Re.current}function ys(Re){var ee=Re.contextId,ye=Re.setCallbacks,Ve=Re.sensors,it=Re.nonce,Et=Re.dragHandleUsageInstructions,Rt=Object(w.useRef)(null);wr();var Ft=jr(Re),nr=r(function(){return gl(Ft.current)},[Ft]),yr=Gs(ee),rr=Pr({contextId:ee,text:Et}),qt=vs(ee,it),hr=r(function(O){Bs(Rt).dispatch(O)},[]),Er=e(function(){return Object(v.b)({publishWhileDragging:ha,updateDroppableScroll:Ir,updateDroppableIsEnabled:Jr,updateDroppableIsCombineEnabled:Ke,collectionStarting:Yt},hr)},[hr]),Wr=Ls(),En=e(function(){return To(Wr,Er)},[Wr,Er]),jn=e(function(){return Vo(Object(m.a)({scrollWindow:Io,scrollDroppable:En.scrollDroppable},Object(v.b)({move:gt},hr)))},[En.scrollDroppable,hr]),pi=sl(ee),Yn=e(function(){return Ba({announce:yr,autoScroller:jn,dimensionMarshal:En,focusMarshal:pi,getResponders:nr,styleMarshal:qt})},[yr,jn,En,pi,nr,qt]);Rt.current=Yn;var Zi=r(function(){var O=Bs(Rt),F=O.getState();F.phase!=="IDLE"&&O.dispatch(Dr())},[]),Ei=r(function(){var O=Bs(Rt).getState();return O.isDragging||O.phase==="DROP_ANIMATING"},[]),da=e(function(){return{isDragging:Ei,tryAbort:Zi}},[Ei,Zi]);ye(da);var ta=r(function(O){return po(Bs(Rt).getState(),O)},[]),oa=r(function(){return Nn(Bs(Rt).getState())},[]),qa=e(function(){return{marshal:En,focus:pi,contextId:ee,canLift:ta,isMovementAllowed:oa,dragHandleUsageInstructionsId:rr,registry:Wr}},[ee,En,rr,pi,ta,oa,Wr]);return Js({contextId:ee,store:Yn,registry:Wr,customSensors:Ve,enableDefaultSensors:Re.enableDefaultSensors!==!1}),Object(w.useEffect)(function(){return Zi},[Zi]),A.a.createElement(pn.Provider,{value:qa},A.a.createElement(p.a,{context:Xs,store:Yn},Re.children))}var Ul=0;function kc(){Ul=0}function wc(){return e(function(){return""+Ul++},[])}function Mc(){kc(),ho()}function Pc(Re){var ee=wc(),ye=Re.dragHandleUsageInstructions||ne.dragHandleUsageInstructions;return A.a.createElement(He,null,function(Ve){return A.a.createElement(ys,{nonce:Re.nonce,contextId:ee,setCallbacks:Ve,dragHandleUsageInstructions:ye,enableDefaultSensors:Re.enableDefaultSensors,sensors:Re.sensors,onBeforeCapture:Re.onBeforeCapture,onBeforeDragStart:Re.onBeforeDragStart,onDragStart:Re.onDragStart,onDragUpdate:Re.onDragUpdate,onDragEnd:Re.onDragEnd},Re.children)})}var Dl=function(ee){return function(ye){return ee===ye}},$s=Dl("scroll"),el=Dl("auto"),dl=Dl("visible"),Vl=function(ee,ye){return ye(ee.overflowX)||ye(ee.overflowY)},ql=function(ee,ye){return ye(ee.overflowX)&&ye(ee.overflowY)},lc=function(ee){var ye=window.getComputedStyle(ee),Ve={overflowX:ye.overflowX,overflowY:ye.overflowY};return Vl(Ve,$s)||Vl(Ve,el)},Xl=function(){return!1;var ee,ye;if(!lc(ee))return!1;var Ve,it;if(ql(it,dl))return!1},Rl=function Re(ee){return ee==null?null:ee===document.body?Xl()?ee:null:ee===document.documentElement?null:lc(ee)?ee:Re(ee.parentElement)},cc=function(ee){if(!ee)return;var ye=Rl(ee.parentElement);if(!ye)return},$l=function(ee){return{x:ee.scrollLeft,y:ee.scrollTop}},uc=function Re(ee){if(!ee)return!1;var ye=window.getComputedStyle(ee);return ye.position==="fixed"?!0:Re(ee.parentElement)},Sl=function(ee){var ye=Rl(ee),Ve=uc(ee);return{closestScrollable:ye,isFixedOnPage:Ve}},_l=function(ee){var ye=ee.descriptor,Ve=ee.isEnabled,it=ee.isCombineEnabled,Et=ee.isFixedOnPage,Rt=ee.direction,Ft=ee.client,nr=ee.page,yr=ee.closest,rr=function(){if(!yr)return null;var Wr=yr.scrollSize,En=yr.client,jn=Va({scrollHeight:Wr.scrollHeight,scrollWidth:Wr.scrollWidth,height:En.paddingBox.height,width:En.paddingBox.width});return{pageMarginBox:yr.page.marginBox,frameClient:En,scrollSize:Wr,shouldClipSubject:yr.shouldClipSubject,scroll:{initial:yr.scroll,current:yr.scroll,max:jn,diff:{value:Ae,displacement:Ae}}}}(),qt=Rt==="vertical"?Tr:fr,hr=Ge({page:nr,withPlaceholder:null,axis:qt,frame:rr}),Er={descriptor:ye,isCombineEnabled:it,isFixedOnPage:Et,axis:qt,isEnabled:Ve,client:Ft,page:nr,frame:rr,subject:hr};return Er},Fl=function(ee,ye){var Ve=C(ee);if(!ye)return Ve;if(ee!==ye)return Ve;var it=Ve.paddingBox.top-ye.scrollTop,Et=Ve.paddingBox.left-ye.scrollLeft,Rt=it+ye.scrollHeight,Ft=Et+ye.scrollWidth,nr={top:it,right:Ft,bottom:Rt,left:Et},yr=l(nr,Ve.border),rr=h({borderBox:yr,margin:Ve.margin,border:Ve.border,padding:Ve.padding});return rr},ec=function(ee){var ye=ee.ref,Ve=ee.descriptor,it=ee.env,Et=ee.windowScroll,Rt=ee.direction,Ft=ee.isDropDisabled,nr=ee.isCombineEnabled,yr=ee.shouldClipSubject,rr=it.closestScrollable,qt=Fl(ye,rr),hr=y(qt,Et),Er=function(){if(!rr)return null;var En=C(rr),jn={scrollHeight:rr.scrollHeight,scrollWidth:rr.scrollWidth};return{client:En,page:y(En,Et),scroll:$l(rr),scrollSize:jn,shouldClipSubject:yr}}(),Wr=_l({descriptor:Ve,isEnabled:!Ft,isCombineEnabled:nr,isFixedOnPage:it.isFixedOnPage,direction:Rt,client:qt,page:hr,closest:Er});return Wr},Cl={passive:!1},Uc={passive:!0},Al=function(ee){return ee.shouldPublishImmediately?Cl:Uc};function xl(Re){var ee=Object(w.useContext)(Re);return ee||Le(!1),ee}var tc=function(ee){return ee&&ee.env.closestScrollable||null};function jc(Re){var ee=Object(w.useRef)(null),ye=xl(pn),Ve=yt("droppable"),it=ye.registry,Et=ye.marshal,Rt=jr(Re),Ft=e(function(){return{id:Re.droppableId,type:Re.type,mode:Re.mode}},[Re.droppableId,Re.mode,Re.type]),nr=Object(w.useRef)(Ft),yr=e(function(){return L(function(Ei,da){ee.current||Le(!1);var ta={x:Ei,y:da};Et.updateDroppableScroll(Ft.id,ta)})},[Ft.id,Et]),rr=r(function(){var Ei=ee.current;return!Ei||!Ei.env.closestScrollable?Ae:$l(Ei.env.closestScrollable)},[]),qt=r(function(){var Ei=rr();yr(Ei.x,Ei.y)},[rr,yr]),hr=e(function(){return B(qt)},[qt]),Er=r(function(){var Ei=ee.current,da=tc(Ei);Ei&&da||Le(!1);var ta=Ei.scrollOptions;if(ta.shouldPublishImmediately){qt();return}hr()},[hr,qt]),Wr=r(function(Ei,da){ee.current&&Le(!1);var ta=Rt.current,oa=ta.getDroppableRef();oa||Le(!1);var qa=Sl(oa),O={ref:oa,descriptor:Ft,env:qa,scrollOptions:da};ee.current=O;var F=ec({ref:oa,descriptor:Ft,env:qa,windowScroll:Ei,direction:ta.direction,isDropDisabled:ta.isDropDisabled,isCombineEnabled:ta.isCombineEnabled,shouldClipSubject:!ta.ignoreContainerClipping}),q=qa.closestScrollable;return q&&(q.setAttribute(Xo.contextId,ye.contextId),q.addEventListener("scroll",Er,Al(O.scrollOptions))),F},[ye.contextId,Ft,Er,Rt]),En=r(function(){var Ei=ee.current,da=tc(Ei);return Ei&&da||Le(!1),$l(da)},[]),jn=r(function(){var Ei=ee.current;Ei||Le(!1);var da=tc(Ei);if(ee.current=null,!da)return;hr.cancel(),da.removeAttribute(Xo.contextId),da.removeEventListener("scroll",Er,Al(Ei.scrollOptions))},[Er,hr]),pi=r(function(Ei){var da=ee.current;da||Le(!1);var ta=tc(da);ta||Le(!1),ta.scrollTop+=Ei.y,ta.scrollLeft+=Ei.x},[]),Yn=e(function(){return{getDimensionAndWatchScroll:Wr,getScrollWhileDragging:En,dragStopped:jn,scroll:pi}},[jn,Wr,En,pi]),Zi=e(function(){return{uniqueId:Ve,descriptor:Ft,callbacks:Yn}},[Yn,Ft,Ve]);jo(function(){return nr.current=Zi.descriptor,it.droppable.register(Zi),function(){ee.current&&jn(),it.droppable.unregister(Zi)}},[Yn,Ft,jn,Zi,Et,it.droppable]),jo(function(){if(!ee.current)return;Et.updateDroppableIsEnabled(nr.current.id,!Re.isDropDisabled)},[Re.isDropDisabled,Et]),jo(function(){if(!ee.current)return;Et.updateDroppableIsCombineEnabled(nr.current.id,Re.isCombineEnabled)},[Re.isCombineEnabled,Et])}function dc(){}var Bl={width:0,height:0,margin:bt},kl=function(ee){var ye=ee.isAnimatingOpenOnMount,Ve=ee.placeholder,it=ee.animate;return ye||it==="close"?Bl:{height:Ve.client.borderBox.height,width:Ve.client.borderBox.width,margin:Ve.client.margin}},jl=function(ee){var ye=ee.isAnimatingOpenOnMount,Ve=ee.placeholder,it=ee.animate,Et=kl({isAnimatingOpenOnMount:ye,placeholder:Ve,animate:it});return{display:Ve.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:it!=="none"?Pn.placeholder:null}};function Sc(Re){var ee=Object(w.useRef)(null),ye=r(function(){if(!ee.current)return;clearTimeout(ee.current),ee.current=null},[]),Ve=Re.animate,it=Re.onTransitionEnd,Et=Re.onClose,Rt=Re.contextId,Ft=Object(w.useState)(Re.animate==="open"),nr=Ft[0],yr=Ft[1];Object(w.useEffect)(function(){return nr?Ve!=="open"?(ye(),yr(!1),dc):ee.current?dc:(ee.current=setTimeout(function(){ee.current=null,yr(!1)}),ye):dc},[Ve,nr,ye]);var rr=r(function(hr){if(hr.propertyName!=="height")return;it(),Ve==="close"&&Et()},[Ve,Et,it]),qt=jl({isAnimatingOpenOnMount:nr,animate:Re.animate,placeholder:Re.placeholder});return A.a.createElement(Re.placeholder.tagName,{style:qt,"data-rbd-placeholder-context-id":Rt,onTransitionEnd:rr,ref:Re.innerRef})}var xc=A.a.memo(Sc),hc=A.a.createContext(null);function Hl(Re){Re&&Ps(Re)||Le(!1)}function fc(Re){return typeof Re=="boolean"}function rc(Re,ee){ee.forEach(function(ye){return ye(Re)})}var Ec=[function(ee){var ye=ee.props;ye.droppableId||Le(!1),typeof ye.droppableId=="string"||Le(!1)},function(ee){var ye=ee.props;fc(ye.isDropDisabled)||Le(!1),fc(ye.isCombineEnabled)||Le(!1),fc(ye.ignoreContainerClipping)||Le(!1)},function(ee){var ye=ee.getDroppableRef;Hl(ye())}],cs=[function(ee){var ye=ee.props,Ve=ee.getPlaceholderRef;if(!ye.placeholder)return;var it=Ve();if(it)return}],al=[function(ee){var ye=ee.props;ye.renderClone||Le(!1)},function(ee){var ye=ee.getPlaceholderRef;ye()&&Le(!1)}];function Tl(Re){ar(function(){rc(Re,Ec),Re.props.mode==="standard"&&rc(Re,cs),Re.props.mode==="virtual"&&rc(Re,al)})}var nc=function(Re){Object(b.a)(ee,Re);function ee(){for(var Ve,it=arguments.length,Et=new Array(it),Rt=0;Rt<it;Rt++)Et[Rt]=arguments[Rt];return Ve=Re.call.apply(Re,[this].concat(Et))||this,Ve.state={isVisible:Boolean(Ve.props.on),data:Ve.props.on,animate:Ve.props.shouldAnimate&&Ve.props.on?"open":"none"},Ve.onClose=function(){if(Ve.state.animate!=="close")return;Ve.setState({isVisible:!1})},Ve}ee.getDerivedStateFromProps=function(it,Et){return it.shouldAnimate?it.on?{isVisible:!0,data:it.on,animate:"open"}:Et.isVisible?{isVisible:!0,data:Et.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(it.on),data:it.on,animate:"none"}};var ye=ee.prototype;return ye.render=function(){if(!this.state.isVisible)return null;var it={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(it)},ee}(A.a.PureComponent),ic={dragging:5e3,dropAnimating:4500},Il=function(ee,ye){return ye?Pn.drop(ye.duration):ee?Pn.snap:Pn.fluid},bl=function(ee,ye){return ee?ye?si.opacity.drop:si.opacity.combining:null},_c=function(ee){return ee.forceShouldAnimate!=null?ee.forceShouldAnimate:ee.mode==="SNAP"};function Hc(Re){var ee=Re.dimension,ye=ee.client,Ve=Re.offset,it=Re.combineWith,Et=Re.dropping,Rt=Boolean(it),Ft=_c(Re),nr=Boolean(Et),yr=nr?ci.drop(Ve,Rt):ci.moveTo(Ve),rr={position:"fixed",top:ye.marginBox.top,left:ye.marginBox.left,boxSizing:"border-box",width:ye.borderBox.width,height:ye.borderBox.height,transition:Il(Ft,Et),transform:yr,opacity:bl(Rt,nr),zIndex:nr?ic.dropAnimating:ic.dragging,pointerEvents:"none"};return rr}function Kc(Re){return{transform:ci.moveTo(Re.offset),transition:Re.shouldAnimateDisplacement?null:"none"}}function Cc(Re){return Re.type==="DRAGGING"?Hc(Re):Kc(Re)}function Tc(Re,ee,ye){ye===void 0&&(ye=Ae);var Ve=window.getComputedStyle(ee),it=ee.getBoundingClientRect(),Et=E(it,Ve),Rt=y(Et,ye),Ft={client:Et,tagName:ee.tagName.toLowerCase(),display:Ve.display},nr={x:Et.marginBox.width,y:Et.marginBox.height},yr={descriptor:Re,placeholder:Ft,displaceBy:nr,client:Et,page:Rt};return yr}function zc(Re){var ee=yt("draggable"),ye=Re.descriptor,Ve=Re.registry,it=Re.getDraggableRef,Et=Re.canDragInteractiveElements,Rt=Re.shouldRespectForcePress,Ft=Re.isEnabled,nr=e(function(){return{canDragInteractiveElements:Et,shouldRespectForcePress:Rt,isEnabled:Ft}},[Et,Ft,Rt]),yr=r(function(Er){var Wr=it();return Wr||Le(!1),Tc(ye,Wr,Er)},[ye,it]),rr=e(function(){return{uniqueId:ee,descriptor:ye,options:nr,getDimension:yr}},[ye,yr,nr,ee]),qt=Object(w.useRef)(rr),hr=Object(w.useRef)(!0);jo(function(){return Ve.draggable.register(qt.current),function(){return Ve.draggable.unregister(qt.current)}},[Ve.draggable]),jo(function(){if(hr.current){hr.current=!1;return}var Er=qt.current;qt.current=rr,Ve.draggable.update(rr,Er)},[rr,Ve.draggable])}function pc(Re,ee,ye){ar(function(){function Ve(Et){return"Draggable[id: "+Et+"]: "}var it=Re.draggableId;if(it||Le(!1),typeof it=="string"||Le(!1),Y(Re.index)||Le(!1),Re.mapped.type==="DRAGGING")return;Hl(ye()),Re.isEnabled&&(Ks(ee,it)||Le(!1))})}function Ol(Re){Pt(function(){var ee=Object(w.useRef)(Re);ar(function(){Re===ee.current||Le(!1)},[Re])})}function Ll(Re){Re.preventDefault()}function Gl(Re){var ee=Object(w.useRef)(null),ye=r(function(O){ee.current=O},[]),Ve=r(function(){return ee.current},[]),it=xl(pn),Et=it.contextId,Rt=it.dragHandleUsageInstructionsId,Ft=it.registry,nr=xl(hc),yr=nr.type,rr=nr.droppableId,qt=e(function(){return{id:Re.draggableId,index:Re.index,type:yr,droppableId:rr}},[Re.draggableId,Re.index,yr,rr]),hr=Re.children,Er=Re.draggableId,Wr=Re.isEnabled,En=Re.shouldRespectForcePress,jn=Re.canDragInteractiveElements,pi=Re.isClone,Yn=Re.mapped,Zi=Re.dropAnimationFinished;if(pc(Re,Et,Ve),Ol(pi),!pi){var Ei=e(function(){return{descriptor:qt,registry:Ft,getDraggableRef:Ve,canDragInteractiveElements:jn,shouldRespectForcePress:En,isEnabled:Wr}},[qt,Ft,Ve,jn,En,Wr]);zc(Ei)}var da=e(function(){return Wr?{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,Wr]),ta=r(function(O){if(Yn.type!=="DRAGGING")return;if(!Yn.dropping)return;if(O.propertyName!=="transform")return;Zi()},[Zi,Yn]),oa=e(function(){var O=Cc(Yn),F=Yn.type==="DRAGGING"&&Yn.dropping?ta:null,q={innerRef:ye,draggableProps:{"data-rbd-draggable-context-id":Et,"data-rbd-draggable-id":Er,style:O,onTransitionEnd:F},dragHandleProps:da};return q},[Et,da,Er,Yn,ta,ye]),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(ee,ye){return ee===ye},Ic=function(ee){var ye=ee.combine,Ve=ee.destination;return Ve?Ve.droppableId:ye?ye.droppableId:null},qc=function(ee){return ee.combine?ee.combine.draggableId:null},Wc=function(ee){return ee.at&&ee.at.type==="COMBINE"?ee.at.combine.draggableId:null};function $c(){var Re=L(function(it,Et){return{x:it,y:Et}}),ee=L(function(it,Et,Rt,Ft,nr){return{isDragging:!0,isClone:Et,isDropAnimating:Boolean(nr),dropAnimation:nr,mode:it,draggingOver:Rt,combineWith:Ft,combineTargetFor:null}}),ye=L(function(it,Et,Rt,Ft,nr,yr,rr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:nr,combineWith:yr,mode:Et,offset:it,dimension:Rt,forceShouldAnimate:rr,snapshot:ee(Et,Ft,nr,yr,null)}}}),Ve=function(Et,Rt){if(Et.isDragging){if(Et.critical.draggable.id!==Rt.draggableId)return null;var Ft=Et.current.client.offset,nr=Et.dimensions.draggables[Rt.draggableId],yr=ln(Et.impact),rr=Wc(Et.impact),qt=Et.forceShouldAnimate;return ye(Re(Ft.x,Ft.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,Wr=Et.dimensions.draggables[Rt.draggableId],En=hr.result,jn=En.mode,pi=Ic(En),Yn=qc(En),Zi=Et.dropDuration,Ei={duration:Zi,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:Wr,dropping:Ei,draggingOver:pi,combineWith:Yn,mode:jn,forceShouldAnimate:null,snapshot:ee(jn,Er,pi,Yn,Ei)}}}return null};return Ve}function Ql(Re){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:Re,combineWith:null}}var mc={mapped:{type:"SECONDARY",offset:Ae,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Ql(null)}};function eu(){var Re=L(function(Rt,Ft){return{x:Rt,y:Ft}}),ee=L(Ql),ye=L(function(Rt,Ft,nr){return Ft===void 0&&(Ft=null),{mapped:{type:"SECONDARY",offset:Rt,combineTargetFor:Ft,shouldAnimateDisplacement:nr,snapshot:ee(Ft)}}}),Ve=function(Ft){return Ft?ye(Ae,Ft,!0):null},it=function(Ft,nr,yr,rr){var qt=yr.displaced.visible[Ft],hr=Boolean(rr.inVirtualList&&rr.effected[Ft]),Er=Rr(yr),Wr=Er&&Er.draggableId===Ft?nr:null;if(!qt){if(!hr)return Ve(Wr);if(yr.displaced.invisible[Ft])return null;var En=xe(rr.displacedBy.point),jn=Re(En.x,En.y);return ye(jn,Wr,!0)}if(hr)return Ve(Wr);var pi=yr.displacedBy.point,Yn=Re(pi.x,pi.y);return ye(Yn,Wr,qt.shouldAnimate)},Et=function(Ft,nr){if(Ft.isDragging)return Ft.critical.draggable.id===nr.draggableId?null:it(nr.draggableId,Ft.critical.draggable.id,Ft.impact,Ft.afterCritical);if(Ft.phase==="DROP_ANIMATING"){var yr=Ft.completed;return yr.result.draggableId===nr.draggableId?null:it(nr.draggableId,yr.result.draggableId,yr.impact,yr.afterCritical)}return null};return Et}var Oc=function(){var ee=$c(),ye=eu(),Ve=function(Et,Rt){return ee(Et,Rt)||ye(Et,Rt)||mc};return Ve},ac={dropAnimationFinished:an},gc=Object(p.c)(Oc,ac,null,{context:Xs,pure:!0,areStatePropsEqual:Kl})(Gl);function Yl(Re){var ee=xl(hc),ye=ee.isUsingCloneFor;return ye===Re.draggableId&&!Re.isClone?null:A.a.createElement(gc,Re)}function Lc(Re){var ee=typeof Re.isDragDisabled=="boolean"?!Re.isDragDisabled:!0,ye=Boolean(Re.disableInteractiveElementBlocking),Ve=Boolean(Re.shouldRespectForcePress);return A.a.createElement(Yl,Object(m.a)({},Re,{isClone:!1,isEnabled:ee,canDragInteractiveElements:ye,shouldRespectForcePress:Ve}))}function Zl(Re){var ee=Object(w.useContext)(pn);ee||Le(!1);var ye=ee.contextId,Ve=ee.isMovementAllowed,it=Object(w.useRef)(null),Et=Object(w.useRef)(null),Rt=Re.children,Ft=Re.droppableId,nr=Re.type,yr=Re.mode,rr=Re.direction,qt=Re.ignoreContainerClipping,hr=Re.isDropDisabled,Er=Re.isCombineEnabled,Wr=Re.snapshot,En=Re.useClone,jn=Re.updateViewportMaxScroll,pi=Re.getContainerForClone,Yn=r(function(){return it.current},[]),Zi=r(function(re){it.current=re},[]),Ei=r(function(){return Et.current},[]),da=r(function(re){Et.current=re},[]);Tl({props:Re,getDroppableRef:Yn,getPlaceholderRef:Ei});var ta=r(function(){Ve()&&jn({maxScroll:Ga()})},[Ve,jn]);jc({droppableId:Ft,type:nr,mode:yr,direction:rr,isDropDisabled:hr,isCombineEnabled:Er,ignoreContainerClipping:qt,getDroppableRef:Yn});var oa=A.a.createElement(nc,{on:Re.placeholder,shouldAnimate:Re.shouldAnimatePlaceholder},function(re){var ue=re.onClose,Be=re.data,ct=re.animate;return A.a.createElement(xc,{placeholder:Be,onClose:ue,innerRef:da,animate:ct,contextId:ye,onTransitionEnd:ta})}),qa=e(function(){return{innerRef:Zi,placeholder:oa,droppableProps:{"data-rbd-droppable-id":Ft,"data-rbd-droppable-context-id":ye}}},[ye,Ft,oa,Zi]),O=En?En.dragging.draggableId:null,F=e(function(){return{droppableId:Ft,type:nr,isUsingCloneFor:O}},[Ft,O,nr]);function q(){if(!En)return null;var re=En.dragging,ue=En.render,Be=A.a.createElement(Yl,{draggableId:re.draggableId,index:re.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(ct,Dt){return ue(ct,Dt,re)});return k.a.createPortal(Be,pi())}return A.a.createElement(hc.Provider,{value:F},Rt(qa,Wr),q())}var oc=function(ee,ye){return ee===ye.droppable.type},me=function(ee,ye){return ye.draggables[ee.draggable.id]},Ue=function(){var ee={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},ye=Object(m.a)({},ee,{shouldAnimatePlaceholder:!1}),Ve=L(function(Rt){return{draggableId:Rt.id,type:Rt.type,source:{index:Rt.index,droppableId:Rt.droppableId}}}),it=L(function(Rt,Ft,nr,yr,rr,qt){var hr=rr.descriptor.id,Er=rr.descriptor.droppableId===Rt;if(Er){var Wr=qt?{render:qt,dragging:Ve(rr.descriptor)}:null,En={isDraggingOver:nr,draggingOverWith:nr?hr:null,draggingFromThisWith:hr,isUsingPlaceholder:!0};return{placeholder:rr.placeholder,shouldAnimatePlaceholder:!1,snapshot:En,useClone:Wr}}if(!Ft)return ye;if(!yr)return ee;var jn={isDraggingOver:nr,draggingOverWith:hr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:rr.placeholder,shouldAnimatePlaceholder:!0,snapshot:jn,useClone:null}}),Et=function(Ft,nr){var yr=nr.droppableId,rr=nr.type,qt=!nr.isDropDisabled,hr=nr.renderClone;if(Ft.isDragging){var Er=Ft.critical;if(!oc(rr,Er))return ye;var Wr=me(Er,Ft.dimensions),En=ln(Ft.impact)===yr;return it(yr,qt,En,En,Wr,hr)}if(Ft.phase==="DROP_ANIMATING"){var jn=Ft.completed;if(!oc(rr,jn.critical))return ye;var pi=me(jn.critical,Ft.dimensions);return it(yr,qt,Ic(jn.result)===yr,ln(jn.impact)===yr,pi,hr)}if(Ft.phase==="IDLE"&&Ft.completed&&!Ft.shouldFlush){var Yn=Ft.completed;if(!oc(rr,Yn.critical))return ye;var Zi=ln(Yn.impact)===yr,Ei=Boolean(Yn.impact.at&&Yn.impact.at.type==="COMBINE"),da=Yn.critical.droppable.id===yr;return Zi?Ei?ee:ye:da?ee:ye}return ye};return Et},lt={updateViewportMaxScroll:Wt};function Ht(){return document.body||Le(!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)(Ue,lt,null,{context:Xs,pure:!0,areStatePropsEqual:Kl})(Zl);mr.defaultProps=er},ni6a:function(M,P,d){var w=d("pzxd"),A=d("mFDi"),b=d("gut8"),m=b.WILL_BE_RESTORED,v=new A,p=function(){};p.prototype={constructor:p,drawRectText:function(o,e){var r=this.style;e=r.textRect||e,this.__dirty&&w.normalizeTextStyle(r,!0);var i=r.text;if(i!=null&&(i+=""),!w.needDrawText(i,r))return;o.save();var n=this.transform;r.transformText?this.setTransform(o):n&&(v.copy(e),v.applyTransform(n),e=v),w.renderText(this,o,i,r,e,m),o.restore()}};var s=p;M.exports=s},nkfE:function(M,P,d){var w=d("bYtY"),A=d("ca2m"),b=d("bLfw"),m=d("+TT/"),v=m.getLayoutParams,p=m.mergeLayoutParam,s=d("jkPA"),u=["value","category","time","log"];function o(e,r,i,n){w.each(u,function(l){r.extend({type:e+"Axis."+l,mergeDefaultAndTheme:function(t,a){var c=this.layoutMode,h=c?v(t):{},f=a.getTheme();w.merge(t,f.get(l+"Axis")),w.merge(t,this.getDefaultOption()),t.type=i(e,t),c&&p(t,h,c)},optionUpdated:function(){var t=this.option;t.type==="category"&&(this.__ordinalMeta=s.createByAxisModel(this))},getCategories:function(t){var a=this.option;if(a.type==="category")return t?a.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:w.mergeAll([{},A[l+"Axis"],n],!0)})}),b.registerSubTypeDefaulter(e+"Axis",w.curry(i,e))}M.exports=o},noeP:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("UOVi");w.registerAction("dataZoom",function(m,v){var p=b.createLinkedNodesFinder(A.bind(v.eachComponent,v,"dataZoom"),b.eachAxisDim,function(u,o){return u.get(o.axisIndex)}),s=[];v.eachComponent({mainType:"dataZoom",query:m},function(u,o){s.push.apply(s,p(u).nodes)}),A.each(s,function(u,o){u.setRawRange({start:m.start,end:m.end,startValue:m.startValue,endValue:m.endValue})})})},npx9:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("Bgvn"),m=d.n(b),v=d("D3Kp"),p=d("HaWY")},o40c:function(M,P,d){var w=d("IwbS"),A=d("OS9S"),b=d("loD1"),m=d("aKvl"),v=w.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(o,e){var r=e.segs,i=e.curveness;if(e.polyline)for(var n=0;n<r.length;){var l=r[n++];if(l>0){o.moveTo(r[n++],r[n++]);for(var t=1;t<l;t++)o.lineTo(r[n++],r[n++])}}else for(var n=0;n<r.length;){var a=r[n++],c=r[n++],h=r[n++],f=r[n++];if(o.moveTo(a,c),i>0){var g=(a+h)/2-(c-f)*i,S=(c+f)/2-(h-a)*i;o.quadraticCurveTo(g,S,h,f)}else o.lineTo(h,f)}},findDataIndex:function(o,e){var r=this.shape,i=r.segs,n=r.curveness;if(r.polyline)for(var l=0,t=0;t<i.length;){var a=i[t++];if(a>0)for(var c=i[t++],h=i[t++],f=1;f<a;f++){var g=i[t++],S=i[t++];if(b.containStroke(c,h,g,S))return l}l++}else for(var l=0,t=0;t<i.length;){var c=i[t++],h=i[t++],g=i[t++],S=i[t++];if(n>0){var y=(c+g)/2-(h-S)*n,E=(h+S)/2-(g-c)*n;if(m.containStroke(c,h,y,E,g,S))return l}else if(b.containStroke(c,h,g,S))return l;l++}return-1}});function p(){this.group=new w.Group}var s=p.prototype;s.isPersistent=function(){return!this._incremental},s.updateData=function(o){this.group.removeAll();var e=new v({rectHover:!0,cursor:"default"});e.setShape({segs:o.getLayout("linesPoints")}),this._setCommon(e,o),this.group.add(e),this._incremental=null},s.incrementalPrepareUpdate=function(o){this.group.removeAll(),this._clearIncremental(),o.count()>5e5?(this._incremental||(this._incremental=new A({silent:!0})),this.group.add(this._incremental)):this._incremental=null},s.incrementalUpdate=function(o,e){var r=new v;r.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(r,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(r,!0):(r.rectHover=!0,r.cursor="default",r.__startIndex=o.start,this.group.add(r))},s.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},s._setCommon=function(o,e,r){var i=e.hostModel;o.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),o.useStyle(i.getModel("lineStyle").getLineStyle()),o.style.strokeNoScale=!0;var n=e.getVisual("color");n&&o.setStyle("stroke",n),o.setStyle("fill"),r||(o.seriesIndex=i.seriesIndex,o.on("mousemove",function(l){o.dataIndex=null;var t=o.findDataIndex(l.offsetX,l.offsetY);t>0&&(o.dataIndex=t+o.__startIndex)}))},s._clearIncremental=function(){var o=this._incremental;o&&o.clearDisplaybles()};var u=p;M.exports=u},o4st:function(M,P,d){},oBaM:function(M,P,d){var w=d("T4UG"),A=d("5GtS"),b=d("bYtY"),m=d("7aKB"),v=m.encodeHTML,p=d("xKMd"),s=w.extend({type:"series.radar",dependencies:["radar"],init:function(o){s.superApply(this,"init",arguments),this.legendVisualProvider=new p(b.bind(this.getData,this),b.bind(this.getRawData,this))},getInitialData:function(o,e){return A(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(o){var e=this.getData(),r=this.coordinateSystem,i=r.getIndicatorAxes(),n=this.getData().getName(o);return v(n===""?this.name:n)+"<br/>"+b.map(i,function(l,t){var a=e.get(e.mapDimension(l.dim),o);return v(l.name+" : "+a)}).join("<br />")},getTooltipPosition:function(o){if(o!=null){for(var e=this.getData(),r=this.coordinateSystem,i=e.getValues(b.map(r.dimensions,function(a){return e.mapDimension(a)}),o,!0),n=0,l=i.length;n<l;n++)if(!isNaN(i[n])){var t=r.getIndicatorAxes();return r.coordToPoint(t[n].dataToCoord(i[n]),n)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),u=s;M.exports=u},oE7X:function(M,P,d){var w=d("bLfw");w.registerSubTypeDefaulter("timeline",function(){return"slider"})},oL4h:function(M,P,d){},oMPz:function(M,P,d){"use strict";d.d(P,"a",function(){return m});var w=d("ODXe"),A=d("q1tI"),b=d.n(A);function m(){var v=A.useReducer(function(u){return u+1},0),p=Object(w.a)(v,2),s=p[1];return s}},oVpE:function(M,P,d){var w=d("bYtY"),A=d("IwbS"),b=d("mFDi"),m=d("6GrX"),v=m.calculateTextPosition,p=A.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(a,c){var h=c.cx,f=c.cy,g=c.width/2,S=c.height/2;a.moveTo(h,f-S),a.lineTo(h+g,f+S),a.lineTo(h-g,f+S),a.closePath()}}),s=A.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(a,c){var h=c.cx,f=c.cy,g=c.width/2,S=c.height/2;a.moveTo(h,f-S),a.lineTo(h+g,f),a.lineTo(h,f+S),a.lineTo(h-g,f),a.closePath()}}),u=A.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(a,c){var h=c.x,f=c.y,g=c.width/5*3,S=Math.max(g,c.height),y=g/2,E=y*y/(S-y),C=f-S+y+E,T=Math.asin(E/y),x=Math.cos(T)*y,_=Math.sin(T),I=Math.cos(T),L=y*.6,D=y*.7;a.moveTo(h-x,C+E),a.arc(h,C,y,Math.PI-T,Math.PI*2+T),a.bezierCurveTo(h+x-_*L,C+E+I*L,h,f-D,h,f),a.bezierCurveTo(h,f-D,h-x+_*L,C+E+I*L,h-x,C+E),a.closePath()}}),o=A.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(a,c){var h=c.height,f=c.width,g=c.x,S=c.y,y=f/3*2;a.moveTo(g,S),a.lineTo(g+y,S+h),a.lineTo(g,S+h/4*3),a.lineTo(g-y,S+h),a.lineTo(g,S),a.closePath()}}),e={line:A.Line,rect:A.Rect,roundRect:A.Rect,square:A.Rect,circle:A.Circle,diamond:s,pin:u,arrow:o,triangle:p},r={line:function(a,c,h,f,g){g.x1=a,g.y1=c+f/2,g.x2=a+h,g.y2=c+f/2},rect:function(a,c,h,f,g){g.x=a,g.y=c,g.width=h,g.height=f},roundRect:function(a,c,h,f,g){g.x=a,g.y=c,g.width=h,g.height=f,g.r=Math.min(h,f)/4},square:function(a,c,h,f,g){var S=Math.min(h,f);g.x=a,g.y=c,g.width=S,g.height=S},circle:function(a,c,h,f,g){g.cx=a+h/2,g.cy=c+f/2,g.r=Math.min(h,f)/2},diamond:function(a,c,h,f,g){g.cx=a+h/2,g.cy=c+f/2,g.width=h,g.height=f},pin:function(a,c,h,f,g){g.x=a+h/2,g.y=c+f/2,g.width=h,g.height=f},arrow:function(a,c,h,f,g){g.x=a+h/2,g.y=c+f/2,g.width=h,g.height=f},triangle:function(a,c,h,f,g){g.cx=a+h/2,g.cy=c+f/2,g.width=h,g.height=f}},i={};w.each(e,function(a,c){i[c]=new a});var n=A.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(a,c,h){var f=v(a,c,h),g=this.shape;return g&&g.symbolType==="pin"&&c.textPosition==="inside"&&(f.y=h.y+h.height*.4),f},buildPath:function(a,c,h){var f=c.symbolType;if(f!=="none"){var g=i[f];g||(f="rect",g=i[f]),r[f](c.x,c.y,c.width,c.height,g.shape),g.buildPath(a,g.shape,h)}}});function l(a,c){if(this.type!=="image"){var h=this.style,f=this.shape;f&&f.symbolType==="line"?h.stroke=a:this.__isEmptyBrush?(h.stroke=a,h.fill=c||"#fff"):(h.fill&&(h.fill=a),h.stroke&&(h.stroke=a)),this.dirty(!1)}}function t(a,c,h,f,g,S,y){var E=a.indexOf("empty")===0;E&&(a=a.substr(5,1).toLowerCase()+a.substr(6));var C;return a.indexOf("image://")===0?C=A.makeImage(a.slice(8),new b(c,h,f,g),y?"center":"cover"):a.indexOf("path://")===0?C=A.makePath(a.slice(7),{},new b(c,h,f,g),y?"center":"cover"):C=new n({shape:{symbolType:a,x:c,y:h,width:f,height:g}}),C.__isEmptyBrush=E,C.setColor=l,C.setColor(S),C}P.createSymbol=t},oY9F:function(M,P,d){var w=d("OlYY"),A=w.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});M.exports=A},osHv:function(M,P,d){(function(w){w(d("VrN/"))})(function(w){"use strict";var A=w.Pos;function b(c,h){return c.line-h.line||c.ch-h.ch}var m="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",v=m+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",p=new RegExp("<(/?)(["+m+"]["+v+"]*)","g");function s(c,h,f,g){this.line=h,this.ch=f,this.cm=c,this.text=c.getLine(h),this.min=g?Math.max(g.from,c.firstLine()):c.firstLine(),this.max=g?Math.min(g.to-1,c.lastLine()):c.lastLine()}function u(c,h){var f=c.cm.getTokenTypeAt(A(c.line,h));return f&&/\btag\b/.test(f)}function o(c){return c.line>=c.max?void 0:(c.ch=0,c.text=c.cm.getLine(++c.line),!0)}function e(c){return c.line<=c.min?void 0:(c.text=c.cm.getLine(--c.line),c.ch=c.text.length,!0)}function r(c){for(;;){var h=c.text.indexOf(">",c.ch);if(h==-1){if(o(c))continue;return}if(!u(c,h+1)){c.ch=h+1;continue}var f=c.text.lastIndexOf("/",h),g=f>-1&&!/\S/.test(c.text.slice(f+1,h));return c.ch=h+1,g?"selfClose":"regular"}}function i(c){for(;;){var h=c.ch?c.text.lastIndexOf("<",c.ch-1):-1;if(h==-1){if(e(c))continue;return}if(!u(c,h+1)){c.ch=h;continue}p.lastIndex=h,c.ch=h;var f=p.exec(c.text);if(f&&f.index==h)return f}}function n(c){for(;;){p.lastIndex=c.ch;var h=p.exec(c.text);if(!h){if(o(c))continue;return}if(!u(c,h.index+1)){c.ch=h.index+1;continue}return c.ch=h.index+h[0].length,h}}function l(c){for(;;){var h=c.ch?c.text.lastIndexOf(">",c.ch-1):-1;if(h==-1){if(e(c))continue;return}if(!u(c,h+1)){c.ch=h;continue}var f=c.text.lastIndexOf("/",h),g=f>-1&&!/\S/.test(c.text.slice(f+1,h));return c.ch=h+1,g?"selfClose":"regular"}}function t(c,h){for(var f=[];;){var g=n(c),S,y=c.line,E=c.ch-(g?g[0].length:0);if(!g||!(S=r(c)))return;if(S=="selfClose")continue;if(g[1]){for(var C=f.length-1;C>=0;--C)if(f[C]==g[2]){f.length=C;break}if(C<0&&(!h||h==g[2]))return{tag:g[2],from:A(y,E),to:A(c.line,c.ch)}}else f.push(g[2])}}function a(c,h){for(var f=[];;){var g=l(c);if(!g)return;if(g=="selfClose"){i(c);continue}var S=c.line,y=c.ch,E=i(c);if(!E)return;if(E[1])f.push(E[2]);else{for(var C=f.length-1;C>=0;--C)if(f[C]==E[2]){f.length=C;break}if(C<0&&(!h||h==E[2]))return{tag:E[2],from:A(c.line,c.ch),to:A(S,y)}}}}w.registerHelper("fold","xml",function(c,h){for(var f=new s(c,h.line,0);;){var g=n(f);if(!g||f.line!=h.line)return;var S=r(f);if(!S)return;if(!g[1]&&S!="selfClose"){var y=A(f.line,f.ch),E=t(f,g[2]);return E&&b(E.from,y)>0?{from:y,to:E.from}:null}}}),w.findMatchingTag=function(c,h,f){var g=new s(c,h.line,h.ch,f);if(g.text.indexOf(">")==-1&&g.text.indexOf("<")==-1)return;var S=r(g),y=S&&A(g.line,g.ch),E=S&&i(g);if(!S||!E||b(g,h)>0)return;var C={from:A(g.line,g.ch),to:y,tag:E[2]};return S=="selfClose"?{open:C,close:null,at:"open"}:E[1]?{open:a(g,E[2]),close:C,at:"close"}:(g=new s(c,y.line,y.ch,f),{open:C,close:t(g,E[2]),at:"open"})},w.findEnclosingTag=function(c,h,f,g){for(var S=new s(c,h.line,h.ch,f);;){var y=a(S,g);if(!y)break;var E=new s(c,h.line,h.ch,f),C=t(E,y.tag);if(C)return{open:y,close:C}}},w.scanForClosingTag=function(c,h,f,g){var S=new s(c,h.line,h.ch,g?{from:0,to:g}:null);return t(S,f)}})},"p+If":function(M,P,d){var w=d("ProS");d("cpOr"),d("rkZ5");var A=d("ZYIC"),b=d("7ph2");w.registerLayout(A),w.registerVisual(b)},"p/La":function(M,P){var d=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function w(A,b){A==="china"&&b.name==="\u53F0\u6E7E"&&b.geometries.push({type:"polygon",exterior:d[0]})}M.exports=w},p1MT:function(M,P,d){var w=d("Hw7h"),A=d("IwbS"),b=d("6Ic6"),m=d("OELB"),v=m.parsePercent,p=m.round,s=m.linearMap;function u(n,l){var t=n.get("center"),a=l.getWidth(),c=l.getHeight(),h=Math.min(a,c),f=v(t[0],l.getWidth()),g=v(t[1],l.getHeight()),S=v(n.get("radius"),h/2);return{cx:f,cy:g,r:S}}function o(n,l){return l&&(typeof l=="string"?n=l.replace("{value}",n!=null?n:""):typeof l=="function"&&(n=l(n))),n}var e=Math.PI*2,r=b.extend({type:"gauge",render:function(n,l,t){this.group.removeAll();var a=n.get("axisLine.lineStyle.color"),c=u(n,t);this._renderMain(n,l,t,a,c)},dispose:function(){},_renderMain:function(n,l,t,a,c){for(var h=this.group,f=n.getModel("axisLine"),g=f.getModel("lineStyle"),S=n.get("clockwise"),y=-n.get("startAngle")/180*Math.PI,E=-n.get("endAngle")/180*Math.PI,C=(E-y)%e,T=y,x=g.get("width"),_=f.get("show"),I=0;_&&I<a.length;I++){var L=Math.min(Math.max(a[I][0],0),1),E=y+C*L,D=new A.Sector({shape:{startAngle:T,endAngle:E,cx:c.cx,cy:c.cy,clockwise:S,r0:c.r-x,r:c.r},silent:!0});D.setStyle({fill:a[I][1]}),D.setStyle(g.getLineStyle(["color","borderWidth","borderColor"])),h.add(D),T=E}var B=function(k){if(k<=0)return a[0][1];for(var W=0;W<a.length;W++)if(a[W][0]>=k&&(W===0?0:a[W-1][0])<k)return a[W][1];return a[W-1][1]};if(!S){var N=y;y=E,E=N}this._renderTicks(n,l,t,B,c,y,E,S),this._renderPointer(n,l,t,B,c,y,E,S),this._renderTitle(n,l,t,B,c),this._renderDetail(n,l,t,B,c)},_renderTicks:function(n,l,t,a,c,h,f,g){for(var S=this.group,y=c.cx,E=c.cy,C=c.r,T=+n.get("min"),x=+n.get("max"),_=n.getModel("splitLine"),I=n.getModel("axisTick"),L=n.getModel("axisLabel"),D=n.get("splitNumber"),B=I.get("splitNumber"),N=v(_.get("length"),C),k=v(I.get("length"),C),W=h,R=(f-h)/D,j=R/B,H=_.getModel("lineStyle").getLineStyle(),K=I.getModel("lineStyle").getLineStyle(),U=0;U<=D;U++){var Q=Math.cos(W),V=Math.sin(W);if(_.get("show")){var J=new A.Line({shape:{x1:Q*C+y,y1:V*C+E,x2:Q*(C-N)+y,y2:V*(C-N)+E},style:H,silent:!0});H.stroke==="auto"&&J.setStyle({stroke:a(U/D)}),S.add(J)}if(L.get("show")){var ae=o(p(U/D*(x-T)+T),L.get("formatter")),se=L.get("distance"),$=a(U/D);S.add(new A.Text({style:A.setTextStyle({},L,{text:ae,x:Q*(C-N-se)+y,y:V*(C-N-se)+E,textVerticalAlign:V<-.4?"top":V>.4?"bottom":"middle",textAlign:Q<-.4?"left":Q>.4?"right":"center"},{autoColor:$}),silent:!0}))}if(I.get("show")&&U!==D){for(var ge=0;ge<=B;ge++){var Q=Math.cos(W),V=Math.sin(W),he=new A.Line({shape:{x1:Q*C+y,y1:V*C+E,x2:Q*(C-k)+y,y2:V*(C-k)+E},silent:!0,style:K});K.stroke==="auto"&&he.setStyle({stroke:a((U+ge/B)/D)}),S.add(he),W+=j}W-=j}else W+=R}},_renderPointer:function(n,l,t,a,c,h,f,g){var S=this.group,y=this._data;if(!n.get("pointer.show")){y&&y.eachItemGraphicEl(function(_){S.remove(_)});return}var E=[+n.get("min"),+n.get("max")],C=[h,f],T=n.getData(),x=T.mapDimension("value");T.diff(y).add(function(_){var I=new w({shape:{angle:h}});A.initProps(I,{shape:{angle:s(T.get(x,_),E,C,!0)}},n),S.add(I),T.setItemGraphicEl(_,I)}).update(function(_,I){var L=y.getItemGraphicEl(I);A.updateProps(L,{shape:{angle:s(T.get(x,_),E,C,!0)}},n),S.add(L),T.setItemGraphicEl(_,L)}).remove(function(_){var I=y.getItemGraphicEl(_);S.remove(I)}).execute(),T.eachItemGraphicEl(function(_,I){var L=T.getItemModel(I),D=L.getModel("pointer");_.setShape({x:c.cx,y:c.cy,width:v(D.get("width"),c.r),r:v(D.get("length"),c.r)}),_.useStyle(L.getModel("itemStyle").getItemStyle()),_.style.fill==="auto"&&_.setStyle("fill",a(s(T.get(x,I),E,[0,1],!0))),A.setHoverStyle(_,L.getModel("emphasis.itemStyle").getItemStyle())}),this._data=T},_renderTitle:function(n,l,t,a,c){var h=n.getData(),f=h.mapDimension("value"),g=n.getModel("title");if(g.get("show")){var S=g.get("offsetCenter"),y=c.cx+v(S[0],c.r),E=c.cy+v(S[1],c.r),C=+n.get("min"),T=+n.get("max"),x=n.getData().get(f,0),_=a(s(x,[C,T],[0,1],!0));this.group.add(new A.Text({silent:!0,style:A.setTextStyle({},g,{x:y,y:E,text:h.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:_,forceRich:!0})}))}},_renderDetail:function(n,l,t,a,c){var h=n.getModel("detail"),f=+n.get("min"),g=+n.get("max");if(h.get("show")){var S=h.get("offsetCenter"),y=c.cx+v(S[0],c.r),E=c.cy+v(S[1],c.r),C=v(h.get("width"),c.r),T=v(h.get("height"),c.r),x=n.getData(),_=x.get(x.mapDimension("value"),0),I=a(s(_,[f,g],[0,1],!0));this.group.add(new A.Text({silent:!0,style:A.setTextStyle({},h,{x:y,y:E,text:o(_,h.get("formatter")),textWidth:isNaN(C)?null:C,textHeight:isNaN(T)?null:T,textAlign:"center",textVerticalAlign:"middle"},{autoColor:I,forceRich:!0})}))}}}),i=r;M.exports=i},p4VE:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("26TI"),m=d.n(b)},"p77/":function(M,P,d){},pLH3:function(M,P,d){var w=d("ProS");d("ALo7"),d("TWL2");var A=d("mOdp"),b=d("JLnu"),m=d("0/Rx");w.registerVisual(A("funnel")),w.registerLayout(b),w.registerProcessor(m("funnel"))},pP6R:function(M,P,d){var w=d("ProS"),A="\0_ec_interaction_mutex";function b(s,u,o){var e=p(s);e[u]=o}function m(s,u,o){var e=p(s),r=e[u];r===o&&(e[u]=null)}function v(s,u){return!!p(s)[u]}function p(s){return s[A]||(s[A]={})}w.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),P.take=b,P.release=m,P.isTaken=v},pVnL:function(M,P){function d(){return M.exports=d=Object.assign||function(w){for(var A=1;A<arguments.length;A++){var b=arguments[A];for(var m in b)Object.prototype.hasOwnProperty.call(b,m)&&(w[m]=b[m])}return w},M.exports.default=M.exports,M.exports.__esModule=!0,d.apply(this,arguments)}M.exports=d,M.exports.default=M.exports,M.exports.__esModule=!0},phUY:function(M,P,d){},pjaq:function(M,P,d){},pmaE:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("IwbS"),m=d("DEFe"),v="__seriesMapHighDown",p="__seriesMapCallKey",s=w.extendChartView({type:"map",render:function(e,r,i,n){if(n&&n.type==="mapToggleSelect"&&n.from===this.uid)return;var l=this.group;if(l.removeAll(),e.getHostGeoModel())return;if(n&&n.type==="geoRoam"&&n.componentType==="series"&&n.seriesId===e.id){var t=this._mapDraw;t&&l.add(t.group)}else if(e.needsDrawMap){var t=this._mapDraw||new m(i,!0);l.add(t.group),t.draw(e,r,i,this,n),this._mapDraw=t}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&r.getComponent("legend")&&this._renderSymbols(e,r,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,r,i){var n=e.originalData,l=this.group;n.each(n.mapDimension("value"),function(t,a){if(isNaN(t))return;var c=n.getItemLayout(a);if(!c||!c.point)return;var h=c.point,f=c.offset,g=new b.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:h[0]+f*9,cy:h[1],r:3},silent:!0,z2:8+(f?0:b.Z2_EMPHASIS_LIFT+1)});if(!f){var S=e.mainSeries.getData(),y=n.getName(a),E=S.indexOfName(y),C=n.getItemModel(a),T=C.getModel("label"),x=C.getModel("emphasis.label"),_=S.getItemGraphicEl(E),I=A.retrieve2(e.getFormattedLabel(E,"normal"),y),L=A.retrieve2(e.getFormattedLabel(E,"emphasis"),I),D=_[v],B=Math.random();if(!D){D=_[v]={};var N=A.curry(u,!0),k=A.curry(u,!1);_.on("mouseover",N).on("mouseout",k).on("emphasis",N).on("normal",k)}_[p]=B,A.extend(D,{recordVersion:B,circle:g,labelModel:T,hoverLabelModel:x,emphasisText:L,normalText:I}),o(D,!1)}l.add(g)})}});function u(e){var r=this[v];r&&r.recordVersion===this[p]&&o(r,e)}function o(e,r){var i=e.circle,n=e.labelModel,l=e.hoverLabelModel,t=e.emphasisText,a=e.normalText;r?(i.style.extendFrom(b.setTextStyle({},l,{text:l.get("show")?t:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=b.Z2_EMPHASIS_LIFT):(b.setTextStyle(i.style,n,{text:n.get("show")?a:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),i.__mapOriginalZ2!=null&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}M.exports=s},pzxd:function(M,P,d){var w=d("bYtY"),A=w.retrieve2,b=w.retrieve3,m=w.each,v=w.normalizeCssArray,p=w.isString,s=w.isObject,u=d("6GrX"),o=d("VpOo"),e=d("Xnb7"),r=d("fW2E"),i=d("gut8"),n=i.ContextCachedBy,l=i.WILL_BE_RESTORED,t=u.DEFAULT_FONT,a={left:1,right:1,center:1},c={top:1,bottom:1,middle:1},h=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],f={},g={};function S(U){return y(U),m(U.rich,y),U}function y(U){if(U){U.font=u.makeFont(U);var Q=U.textAlign;Q==="middle"&&(Q="center"),U.textAlign=Q==null||a[Q]?Q:"left";var V=U.textVerticalAlign||U.textBaseline;V==="center"&&(V="middle"),U.textVerticalAlign=V==null||c[V]?V:"top";var J=U.textPadding;J&&(U.textPadding=v(U.textPadding))}}function E(U,Q,V,J,ae,se){J.rich?T(U,Q,V,J,ae,se):C(U,Q,V,J,ae,se)}function C(U,Q,V,J,ae,se){"use strict";var $=L(J),ge,he=!1,Ie=Q.__attrCachedBy===n.PLAIN_TEXT;se!==l?(se&&(ge=se.style,he=!$&&Ie&&ge),Q.__attrCachedBy=$?n.NONE:n.PLAIN_TEXT):Ie&&(Q.__attrCachedBy=n.NONE);var Se=J.font||t;(!he||Se!==(ge.font||t))&&(Q.font=Se);var Le=U.__computedFont;U.__styleFont!==Se&&(U.__styleFont=Se,Le=U.__computedFont=Q.font);var He=J.textPadding,G=J.textLineHeight,pe=U.__textCotentBlock;(!pe||U.__dirtyText)&&(pe=U.__textCotentBlock=u.parsePlainText(V,Le,He,G,J.truncate));var We=pe.outerHeight,te=pe.lines,X=pe.lineHeight,z=N(g,U,J,ae),Z=z.baseX,be=z.baseY,ne=z.textAlign||"left",Ae=z.textVerticalAlign;_(Q,J,ae,Z,be);var Ne=u.adjustTextY(be,We,Ae),oe=Z,de=Ne;if($||He){var xe=u.getWidth(V,Le),Pe=xe;He&&(Pe+=He[1]+He[3]);var tt=u.adjustTextX(Z,Pe,ne);$&&D(U,Q,J,tt,Ne,Pe,We),He&&(oe=H(Z,ne,He),de+=He[0])}Q.textAlign=ne,Q.textBaseline="middle",Q.globalAlpha=J.opacity||1;for(var Je=0;Je<h.length;Je++){var Oe=h[Je],pt=Oe[0],Qe=Oe[1],nt=J[pt];(!he||nt!==ge[pt])&&(Q[Qe]=r(Q,Qe,nt||Oe[2]))}de+=X/2;var bt=J.textStrokeWidth,Tt=he?ge.textStrokeWidth:null,Ct=!he||bt!==Tt,Nt=!he||Ct||J.textStroke!==ge.textStroke,Ge=W(J.textStroke,bt),ie=R(J.textFill);if(Ge&&(Ct&&(Q.lineWidth=bt),Nt&&(Q.strokeStyle=Ge)),ie&&((!he||J.textFill!==ge.textFill)&&(Q.fillStyle=ie)),te.length===1)Ge&&Q.strokeText(te[0],oe,de),ie&&Q.fillText(te[0],oe,de);else for(var Je=0;Je<te.length;Je++)Ge&&Q.strokeText(te[Je],oe,de),ie&&Q.fillText(te[Je],oe,de),de+=X}function T(U,Q,V,J,ae,se){se!==l&&(Q.__attrCachedBy=n.NONE);var $=U.__textCotentBlock;(!$||U.__dirtyText)&&($=U.__textCotentBlock=u.parseRichText(V,J)),x(U,Q,$,J,ae)}function x(U,Q,V,J,ae){var se=V.width,$=V.outerWidth,ge=V.outerHeight,he=J.textPadding,Ie=N(g,U,J,ae),Se=Ie.baseX,Le=Ie.baseY,He=Ie.textAlign,G=Ie.textVerticalAlign;_(Q,J,ae,Se,Le);var pe=u.adjustTextX(Se,$,He),We=u.adjustTextY(Le,ge,G),te=pe,X=We;he&&(te+=he[3],X+=he[0]);var z=te+se;L(J)&&D(U,Q,J,pe,We,$,ge);for(var Z=0;Z<V.lines.length;Z++){for(var be=V.lines[Z],ne=be.tokens,Ae=ne.length,Ne=be.lineHeight,oe=be.width,de=0,xe=te,Pe=z,tt=Ae-1,Je;de<Ae&&(Je=ne[de],!Je.textAlign||Je.textAlign==="left");)I(U,Q,Je,J,Ne,X,xe,"left"),oe-=Je.width,xe+=Je.width,de++;for(;tt>=0&&(Je=ne[tt],Je.textAlign==="right");)I(U,Q,Je,J,Ne,X,Pe,"right"),oe-=Je.width,Pe-=Je.width,tt--;for(xe+=(se-(xe-te)-(z-Pe)-oe)/2;de<=tt;)Je=ne[de],I(U,Q,Je,J,Ne,X,xe+Je.width/2,"center"),xe+=Je.width,de++;X+=Ne}}function _(U,Q,V,J,ae){if(V&&Q.textRotation){var se=Q.textOrigin;se==="center"?(J=V.width/2+V.x,ae=V.height/2+V.y):se&&(J=se[0]+V.x,ae=se[1]+V.y),U.translate(J,ae),U.rotate(-Q.textRotation),U.translate(-J,-ae)}}function I(U,Q,V,J,ae,se,$,ge){var he=J.rich[V.styleName]||{};he.text=V.text;var Ie=V.textVerticalAlign,Se=se+ae/2;Ie==="top"?Se=se+V.height/2:Ie==="bottom"&&(Se=se+ae-V.height/2),!V.isLineHolder&&L(he)&&D(U,Q,he,ge==="right"?$-V.width:ge==="center"?$-V.width/2:$,Se-V.height/2,V.width,V.height);var Le=V.textPadding;Le&&($=H($,ge,Le),Se-=V.height/2-Le[2]-V.textHeight/2),k(Q,"shadowBlur",b(he.textShadowBlur,J.textShadowBlur,0)),k(Q,"shadowColor",he.textShadowColor||J.textShadowColor||"transparent"),k(Q,"shadowOffsetX",b(he.textShadowOffsetX,J.textShadowOffsetX,0)),k(Q,"shadowOffsetY",b(he.textShadowOffsetY,J.textShadowOffsetY,0)),k(Q,"textAlign",ge),k(Q,"textBaseline","middle"),k(Q,"font",V.font||t);var He=W(he.textStroke||J.textStroke,pe),G=R(he.textFill||J.textFill),pe=A(he.textStrokeWidth,J.textStrokeWidth);He&&(k(Q,"lineWidth",pe),k(Q,"strokeStyle",He),Q.strokeText(V.text,$,Se)),G&&(k(Q,"fillStyle",G),Q.fillText(V.text,$,Se))}function L(U){return!!(U.textBackgroundColor||U.textBorderWidth&&U.textBorderColor)}function D(U,Q,V,J,ae,se,$){var ge=V.textBackgroundColor,he=V.textBorderWidth,Ie=V.textBorderColor,Se=p(ge);if(k(Q,"shadowBlur",V.textBoxShadowBlur||0),k(Q,"shadowColor",V.textBoxShadowColor||"transparent"),k(Q,"shadowOffsetX",V.textBoxShadowOffsetX||0),k(Q,"shadowOffsetY",V.textBoxShadowOffsetY||0),Se||he&&Ie){Q.beginPath();var Le=V.textBorderRadius;Le?o.buildPath(Q,{x:J,y:ae,width:se,height:$,r:Le}):Q.rect(J,ae,se,$),Q.closePath()}if(Se)if(k(Q,"fillStyle",ge),V.fillOpacity!=null){var He=Q.globalAlpha;Q.globalAlpha=V.fillOpacity*V.opacity,Q.fill(),Q.globalAlpha=He}else Q.fill();else if(s(ge)){var G=ge.image;G=e.createOrUpdateImage(G,null,U,B,ge),G&&e.isImageReady(G)&&Q.drawImage(G,J,ae,se,$)}if(he&&Ie)if(k(Q,"lineWidth",he),k(Q,"strokeStyle",Ie),V.strokeOpacity!=null){var He=Q.globalAlpha;Q.globalAlpha=V.strokeOpacity*V.opacity,Q.stroke(),Q.globalAlpha=He}else Q.stroke()}function B(U,Q){Q.image=U}function N(U,Q,V,J){var ae=V.x||0,se=V.y||0,$=V.textAlign,ge=V.textVerticalAlign;if(J){var he=V.textPosition;if(he instanceof Array)ae=J.x+j(he[0],J.width),se=J.y+j(he[1],J.height);else{var Ie=Q&&Q.calculateTextPosition?Q.calculateTextPosition(f,V,J):u.calculateTextPosition(f,V,J);ae=Ie.x,se=Ie.y,$=$||Ie.textAlign,ge=ge||Ie.textVerticalAlign}var Se=V.textOffset;Se&&(ae+=Se[0],se+=Se[1])}return U=U||{},U.baseX=ae,U.baseY=se,U.textAlign=$,U.textVerticalAlign=ge,U}function k(U,Q,V){return U[Q]=r(U,Q,V),U[Q]}function W(U,Q){return U==null||Q<=0||U==="transparent"||U==="none"?null:U.image||U.colorStops?"#000":U}function R(U){return U==null||U==="none"?null:U.image||U.colorStops?"#000":U}function j(U,Q){return typeof U=="string"?U.lastIndexOf("%")>=0?parseFloat(U)/100*Q:parseFloat(U):U}function H(U,Q,V){return Q==="right"?U-V[1]:Q==="center"?U+V[3]/2-V[1]/2:U+V[3]}function K(U,Q){return U!=null&&(U||Q.textBackgroundColor||Q.textBorderWidth&&Q.textBorderColor||Q.textPadding)}P.normalizeTextStyle=S,P.renderText=E,P.getBoxPosition=N,P.getStroke=W,P.getFill=R,P.parsePercent=j,P.needDrawText=K},"q/+u":function(M,P,d){var w=d("ProS"),A=d("9wZj"),b=d("yWXo"),m=d("h8O9");w.extendChartView({type:"scatter",render:function(v,p,s){var u=v.getData(),o=this._updateSymbolDraw(u,v);o.updateData(u,{clipShape:this._getClipShape(v)}),this._finished=!0},incrementalPrepareRender:function(v,p,s){var u=v.getData(),o=this._updateSymbolDraw(u,v);o.incrementalPrepareUpdate(u),this._finished=!1},incrementalRender:function(v,p,s){this._symbolDraw.incrementalUpdate(v,p.getData(),{clipShape:this._getClipShape(p)}),this._finished=v.end===p.getData().count()},updateTransform:function(v,p,s){var u=v.getData();if(this.group.dirty(),!this._finished||u.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var o=m().reset(v);o.progress&&o.progress({start:0,end:u.count()},u),this._symbolDraw.updateLayout(u)},_getClipShape:function(v){var p=v.coordinateSystem,s=p&&p.getArea&&p.getArea();return v.get("clip",!0)?s:null},_updateSymbolDraw:function(v,p){var s=this._symbolDraw,u=p.pipelineContext,o=u.large;return(!s||o!==this._isLargeDraw)&&(s&&s.remove(),s=this._symbolDraw=o?new b:new A,this._isLargeDraw=o,this.group.removeAll()),this.group.add(s.group),s},remove:function(v,p){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(M,P){var d=["lineStyle","normal","opacity"],w={seriesType:"parallel",reset:function(A,b,m){var v=A.getModel("itemStyle"),p=A.getModel("lineStyle"),s=b.get("color"),u=p.get("color")||v.get("color")||s[A.seriesIndex%s.length],o=A.get("inactiveOpacity"),e=A.get("activeOpacity"),r=A.getModel("lineStyle").getLineStyle(),i=A.coordinateSystem,n=A.getData(),l={normal:r.opacity,active:e,inactive:o};n.setVisual("color",u);function t(a,c){i.eachActiveState(c,function(h,f){var g=l[h];if(h==="normal"&&c.hasItemOption){var S=c.getItemModel(f).get(d,!0);S!=null&&(g=S)}c.setItemVisual(f,"opacity",g)},a.start,a.end)}return{progress:t}}};M.exports=w},q4HE:function(M,P){var d="\\ud800-\\udfff",w="\\u0300-\\u036f",A="\\ufe20-\\ufe2f",b="\\u20d0-\\u20ff",m=w+A+b,v="\\ufe0e\\ufe0f",p="["+d+"]",s="["+m+"]",u="\\ud83c[\\udffb-\\udfff]",o="(?:"+s+"|"+u+")",e="[^"+d+"]",r="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",l=o+"?",t="["+v+"]?",a="(?:"+n+"(?:"+[e,r,i].join("|")+")"+t+l+")*",c=t+l+a,h="(?:"+[e+s+"?",s,r,i,p].join("|")+")",f=RegExp(u+"(?="+u+")|"+h+c,"g");function g(S){for(var y=f.lastIndex=0;f.test(S);)++y;return y}M.exports=g},q7KB:function(M,P,d){},qH13:function(M,P,d){var w=d("ItGF"),A=d("QBsz"),b=A.applyTransform,m=d("mFDi"),v=d("Qe9p"),p=d("6GrX"),s=d("pzxd"),u=d("ni6a"),o=d("Gev7"),e=d("Dagg"),r=d("dqUG"),i=d("y+Vt"),n=d("IMiH"),l=d("QuXc"),t=d("06Qe"),a=n.CMD,c=Math.round,h=Math.sqrt,f=Math.abs,g=Math.cos,S=Math.sin,y=Math.max;if(!w.canvasSupported){var E=",",C="progid:DXImageTransform.Microsoft",T=21600,x=T/2,_=1e5,I=1e3,L=function(be){be.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",be.coordsize=T+","+T,be.coordorigin="0,0"},D=function(be){return String(be).replace(/&/g,"&").replace(/"/g,""")},B=function(be,ne,Ae){return"rgb("+[be,ne,Ae].join(",")+")"},N=function(be,ne){ne&&be&&ne.parentNode!==be&&be.appendChild(ne)},k=function(be,ne){ne&&be&&ne.parentNode===be&&be.removeChild(ne)},W=function(be,ne,Ae){return(parseFloat(be)||0)*_+(parseFloat(ne)||0)*I+Ae},R=s.parsePercent,j=function(be,ne,Ae){var Ne=v.parse(ne);Ae=+Ae,isNaN(Ae)&&(Ae=1),Ne&&(be.color=B(Ne[0],Ne[1],Ne[2]),be.opacity=Ae*Ne[3])},H=function(be){var ne=v.parse(be);return[B(ne[0],ne[1],ne[2]),ne[3]]},K=function(be,ne,Ae){var Ne=ne.fill;if(Ne!=null)if(Ne instanceof l){var oe,de=0,xe=[0,0],Pe=0,tt=1,Je=Ae.getBoundingRect(),Oe=Je.width,pt=Je.height;if(Ne.type==="linear"){oe="gradient";var Qe=Ae.transform,nt=[Ne.x*Oe,Ne.y*pt],bt=[Ne.x2*Oe,Ne.y2*pt];Qe&&(b(nt,nt,Qe),b(bt,bt,Qe));var Tt=bt[0]-nt[0],Ct=bt[1]-nt[1];de=Math.atan2(Tt,Ct)*180/Math.PI,de<0&&(de+=360),de<1e-6&&(de=0)}else{oe="gradientradial";var nt=[Ne.x*Oe,Ne.y*pt],Qe=Ae.transform,Nt=Ae.scale,Ge=Oe,ie=pt;xe=[(nt[0]-Je.x)/Ge,(nt[1]-Je.y)/ie],Qe&&b(nt,nt,Qe),Ge/=Nt[0]*T,ie/=Nt[1]*T;var Y=y(Ge,ie);Pe=2*0/Y,tt=2*Ne.r/Y-Pe}var we=Ne.colorStops.slice();we.sort(function(xt,Ot){return xt.offset-Ot.offset});for(var Ce=we.length,le=[],ot=[],wt=0;wt<Ce;wt++){var rt=we[wt],It=H(rt.color);ot.push(rt.offset*tt+Pe+" "+It[0]),(wt===0||wt===Ce-1)&&le.push(It)}if(Ce>=2){var Gt=le[0][0],lr=le[1][0],pr=le[0][1]*ne.opacity,Rr=le[1][1]*ne.opacity;be.type=oe,be.method="none",be.focus="100%",be.angle=de,be.color=Gt,be.color2=lr,be.colors=ot.join(","),be.opacity=Rr,be.opacity2=pr}oe==="radial"&&(be.focusposition=xe.join(","))}else j(be,Ne,ne.opacity)},U=function(be,ne){ne.lineDash&&(be.dashstyle=ne.lineDash.join(" ")),ne.stroke!=null&&!(ne.stroke instanceof l)&&j(be,ne.stroke,ne.opacity)},Q=function(be,ne,Ae,Ne){var oe=ne==="fill",de=be.getElementsByTagName(ne)[0];Ae[ne]!=null&&Ae[ne]!=="none"&&(oe||!oe&&Ae.lineWidth)?(be[oe?"filled":"stroked"]="true",Ae[ne]instanceof l&&k(be,de),de||(de=t.createNode(ne)),oe?K(de,Ae,Ne):U(de,Ae),N(be,de)):(be[oe?"filled":"stroked"]="false",k(be,de))},V=[[],[],[]],J=function(be,ne){var Ae=a.M,Ne=a.C,oe=a.L,de=a.A,xe=a.Q,Pe=[],tt,Je,Oe,pt,Qe,nt,bt=be.data,Tt=be.len();for(pt=0;pt<Tt;){Oe=bt[pt++],Je="",tt=0;switch(Oe){case Ae:Je=" m ",tt=1,Qe=bt[pt++],nt=bt[pt++],V[0][0]=Qe,V[0][1]=nt;break;case oe:Je=" l ",tt=1,Qe=bt[pt++],nt=bt[pt++],V[0][0]=Qe,V[0][1]=nt;break;case xe:case Ne:Je=" c ",tt=3;var Ct=bt[pt++],Nt=bt[pt++],Ge=bt[pt++],ie=bt[pt++],Y,we;Oe===xe?(Y=Ge,we=ie,Ge=(Ge+2*Ct)/3,ie=(ie+2*Nt)/3,Ct=(Qe+2*Ct)/3,Nt=(nt+2*Nt)/3):(Y=bt[pt++],we=bt[pt++]),V[0][0]=Ct,V[0][1]=Nt,V[1][0]=Ge,V[1][1]=ie,V[2][0]=Y,V[2][1]=we,Qe=Y,nt=we;break;case de:var Ce=0,le=0,ot=1,wt=1,rt=0;ne&&(Ce=ne[4],le=ne[5],ot=h(ne[0]*ne[0]+ne[1]*ne[1]),wt=h(ne[2]*ne[2]+ne[3]*ne[3]),rt=Math.atan2(-ne[1]/wt,ne[0]/ot));var It=bt[pt++],Gt=bt[pt++],lr=bt[pt++],pr=bt[pt++],Rr=bt[pt++]+rt,xt=bt[pt++]+Rr+rt;pt++;var Ot=bt[pt++],At=It+g(Rr)*lr,Jt=Gt+S(Rr)*pr,Ct=It+g(xt)*lr,Nt=Gt+S(xt)*pr,br=Ot?" wa ":" at ";Math.abs(At-Ct)<1e-4&&(Math.abs(xt-Rr)>.01?Ot&&(At+=270/T):Math.abs(Jt-Gt)<1e-4?Ot&&At<It||!Ot&&At>It?Nt-=270/T:Nt+=270/T:Ot&&Jt<Gt||!Ot&&Jt>Gt?Ct+=270/T:Ct-=270/T),Pe.push(br,c(((It-lr)*ot+Ce)*T-x),E,c(((Gt-pr)*wt+le)*T-x),E,c(((It+lr)*ot+Ce)*T-x),E,c(((Gt+pr)*wt+le)*T-x),E,c((At*ot+Ce)*T-x),E,c((Jt*wt+le)*T-x),E,c((Ct*ot+Ce)*T-x),E,c((Nt*wt+le)*T-x)),Qe=Ct,nt=Nt;break;case a.R:var Lr=V[0],Zr=V[1];Lr[0]=bt[pt++],Lr[1]=bt[pt++],Zr[0]=Lr[0]+bt[pt++],Zr[1]=Lr[1]+bt[pt++],ne&&(b(Lr,Lr,ne),b(Zr,Zr,ne)),Lr[0]=c(Lr[0]*T-x),Zr[0]=c(Zr[0]*T-x),Lr[1]=c(Lr[1]*T-x),Zr[1]=c(Zr[1]*T-x),Pe.push(" m ",Lr[0],E,Lr[1]," l ",Zr[0],E,Lr[1]," l ",Zr[0],E,Zr[1]," l ",Lr[0],E,Zr[1]);break;case a.Z:Pe.push(" x ")}if(tt>0){Pe.push(Je);for(var In=0;In<tt;In++){var Gr=V[In];ne&&b(Gr,Gr,ne),Pe.push(c(Gr[0]*T-x),E,c(Gr[1]*T-x),In<tt-1?E:"")}}}return Pe.join("")};i.prototype.brushVML=function(Z){var be=this.style,ne=this._vmlEl;ne||(ne=t.createNode("shape"),L(ne),this._vmlEl=ne),Q(ne,"fill",be,this),Q(ne,"stroke",be,this);var Ae=this.transform,Ne=Ae!=null,oe=ne.getElementsByTagName("stroke")[0];if(oe){var de=be.lineWidth;if(Ne&&!be.strokeNoScale){var xe=Ae[0]*Ae[3]-Ae[1]*Ae[2];de*=h(f(xe))}oe.weight=de+"px"}var Pe=this.path||(this.path=new n);this.__dirtyPath&&(Pe.beginPath(),Pe.subPixelOptimize=!1,this.buildPath(Pe,this.shape),Pe.toStatic(),this.__dirtyPath=!1),ne.path=J(Pe,this.transform),ne.style.zIndex=W(this.zlevel,this.z,this.z2),N(Z,ne),be.text!=null?this.drawRectText(Z,this.getBoundingRect()):this.removeRectText(Z)},i.prototype.onRemove=function(Z){k(Z,this._vmlEl),this.removeRectText(Z)},i.prototype.onAdd=function(Z){N(Z,this._vmlEl),this.appendRectText(Z)};var ae=function(be){return typeof be=="object"&&be.tagName&&be.tagName.toUpperCase()==="IMG"};e.prototype.brushVML=function(Z){var be=this.style,ne=be.image,Ae,Ne;if(ae(ne)){var oe=ne.src;if(oe===this._imageSrc)Ae=this._imageWidth,Ne=this._imageHeight;else{var de=ne.runtimeStyle,xe=de.width,Pe=de.height;de.width="auto",de.height="auto",Ae=ne.width,Ne=ne.height,de.width=xe,de.height=Pe,this._imageSrc=oe,this._imageWidth=Ae,this._imageHeight=Ne}ne=oe}else ne===this._imageSrc&&(Ae=this._imageWidth,Ne=this._imageHeight);if(!ne)return;var tt=be.x||0,Je=be.y||0,Oe=be.width,pt=be.height,Qe=be.sWidth,nt=be.sHeight,bt=be.sx||0,Tt=be.sy||0,Ct=Qe&&nt,Nt=this._vmlEl;Nt||(Nt=t.doc.createElement("div"),L(Nt),this._vmlEl=Nt);var Ge=Nt.style,ie=!1,Y,we=1,Ce=1;if(this.transform&&(Y=this.transform,we=h(Y[0]*Y[0]+Y[1]*Y[1]),Ce=h(Y[2]*Y[2]+Y[3]*Y[3]),ie=Y[1]||Y[2]),ie){var le=[tt,Je],ot=[tt+Oe,Je],wt=[tt,Je+pt],rt=[tt+Oe,Je+pt];b(le,le,Y),b(ot,ot,Y),b(wt,wt,Y),b(rt,rt,Y);var It=y(le[0],ot[0],wt[0],rt[0]),Gt=y(le[1],ot[1],wt[1],rt[1]),lr=[];lr.push("M11=",Y[0]/we,E,"M12=",Y[2]/Ce,E,"M21=",Y[1]/we,E,"M22=",Y[3]/Ce,E,"Dx=",c(tt*we+Y[4]),E,"Dy=",c(Je*Ce+Y[5])),Ge.padding="0 "+c(It)+"px "+c(Gt)+"px 0",Ge.filter=C+".Matrix("+lr.join("")+", SizingMethod=clip)"}else Y&&(tt=tt*we+Y[4],Je=Je*Ce+Y[5]),Ge.filter="",Ge.left=c(tt)+"px",Ge.top=c(Je)+"px";var pr=this._imageEl,Rr=this._cropEl;pr||(pr=t.doc.createElement("div"),this._imageEl=pr);var xt=pr.style;if(Ct){if(Ae&&Ne)xt.width=c(we*Ae*Oe/Qe)+"px",xt.height=c(Ce*Ne*pt/nt)+"px";else{var Ot=new Image,At=this;Ot.onload=function(){Ot.onload=null,Ae=Ot.width,Ne=Ot.height,xt.width=c(we*Ae*Oe/Qe)+"px",xt.height=c(Ce*Ne*pt/nt)+"px",At._imageWidth=Ae,At._imageHeight=Ne,At._imageSrc=ne},Ot.src=ne}Rr||(Rr=t.doc.createElement("div"),Rr.style.overflow="hidden",this._cropEl=Rr);var Jt=Rr.style;Jt.width=c((Oe+bt*Oe/Qe)*we),Jt.height=c((pt+Tt*pt/nt)*Ce),Jt.filter=C+".Matrix(Dx="+-bt*Oe/Qe*we+",Dy="+-Tt*pt/nt*Ce+")",Rr.parentNode||Nt.appendChild(Rr),pr.parentNode!==Rr&&Rr.appendChild(pr)}else xt.width=c(we*Oe)+"px",xt.height=c(Ce*pt)+"px",Nt.appendChild(pr),Rr&&Rr.parentNode&&(Nt.removeChild(Rr),this._cropEl=null);var br="",Lr=be.opacity;Lr<1&&(br+=".Alpha(opacity="+c(Lr*100)+") "),br+=C+".AlphaImageLoader(src="+ne+", SizingMethod=scale)",xt.filter=br,Nt.style.zIndex=W(this.zlevel,this.z,this.z2),N(Z,Nt),be.text!=null&&this.drawRectText(Z,this.getBoundingRect())},e.prototype.onRemove=function(Z){k(Z,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(Z)},e.prototype.onAdd=function(Z){N(Z,this._vmlEl),this.appendRectText(Z)};var se="normal",$={},ge=0,he=100,Ie=document.createElement("div"),Se=function(be){var ne=$[be];if(!ne){ge>he&&(ge=0,$={});var Ae=Ie.style,Ne;try{Ae.font=be,Ne=Ae.fontFamily.split(",")[0]}catch(oe){}ne={style:Ae.fontStyle||se,variant:Ae.fontVariant||se,weight:Ae.fontWeight||se,size:parseFloat(Ae.fontSize||12)|0,family:Ne||"Microsoft YaHei"},$[be]=ne,ge++}return ne},Le;p.$override("measureText",function(Z,be){var ne=t.doc;Le||(Le=ne.createElement("div"),Le.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",t.doc.body.appendChild(Le));try{Le.style.font=be}catch(Ae){}return Le.innerHTML="",Le.appendChild(ne.createTextNode(Z)),{width:Le.offsetWidth}});for(var He=new m,G=function(be,ne,Ae,Ne){var oe=this.style;this.__dirty&&s.normalizeTextStyle(oe,!0);var de=oe.text;if(de!=null&&(de+=""),!de)return;if(oe.rich){var xe=p.parseRichText(de,oe);de=[];for(var Pe=0;Pe<xe.lines.length;Pe++){for(var tt=xe.lines[Pe].tokens,Je=[],Oe=0;Oe<tt.length;Oe++)Je.push(tt[Oe].text);de.push(Je.join(""))}de=de.join(`
|
|
|
`)}var pt,Qe,nt=oe.textAlign,bt=oe.textVerticalAlign,Tt=Se(oe.font),Ct=Tt.style+" "+Tt.variant+" "+Tt.weight+" "+Tt.size+'px "'+Tt.family+'"';Ae=Ae||p.getBoundingRect(de,Ct,nt,bt,oe.textPadding,oe.textLineHeight);var Nt=this.transform;if(Nt&&!Ne&&(He.copy(ne),He.applyTransform(Nt),ne=He),Ne)pt=ne.x,Qe=ne.y;else{var Ge=oe.textPosition;if(Ge instanceof Array)pt=ne.x+R(Ge[0],ne.width),Qe=ne.y+R(Ge[1],ne.height),nt=nt||"left";else{var ie=this.calculateTextPosition?this.calculateTextPosition({},oe,ne):p.calculateTextPosition({},oe,ne);pt=ie.x,Qe=ie.y,nt=nt||ie.textAlign,bt=bt||ie.textVerticalAlign}}pt=p.adjustTextX(pt,Ae.width,nt),Qe=p.adjustTextY(Qe,Ae.height,bt),Qe+=Ae.height/2;var Y=t.createNode,we=this._textVmlEl,Ce,le,ot;we?(ot=we.firstChild,Ce=ot.nextSibling,le=Ce.nextSibling):(we=Y("line"),Ce=Y("path"),le=Y("textpath"),ot=Y("skew"),le.style["v-text-align"]="left",L(we),Ce.textpathok=!0,le.on=!0,we.from="0 0",we.to="1000 0.05",N(we,ot),N(we,Ce),N(we,le),this._textVmlEl=we);var wt=[pt,Qe],rt=we.style;Nt&&Ne?(b(wt,wt,Nt),ot.on=!0,ot.matrix=Nt[0].toFixed(3)+E+Nt[2].toFixed(3)+E+Nt[1].toFixed(3)+E+Nt[3].toFixed(3)+",0,0",ot.offset=(c(wt[0])||0)+","+(c(wt[1])||0),ot.origin="0 0",rt.left="0px",rt.top="0px"):(ot.on=!1,rt.left=c(pt)+"px",rt.top=c(Qe)+"px"),le.string=D(de);try{le.style.font=Ct}catch(It){}Q(we,"fill",{fill:oe.textFill,opacity:oe.opacity},this),Q(we,"stroke",{stroke:oe.textStroke,opacity:oe.opacity,lineDash:oe.lineDash||null},this),we.style.zIndex=W(this.zlevel,this.z,this.z2),N(be,we)},pe=function(be){k(be,this._textVmlEl),this._textVmlEl=null},We=function(be){N(be,this._textVmlEl)},te=[u,o,e,i,r],X=0;X<te.length;X++){var z=te[X].prototype;z.drawRectText=G,z.removeRectText=pe,z.appendRectText=We}r.prototype.brushVML=function(Z){var be=this.style;be.text!=null?this.drawRectText(Z,{x:be.x||0,y:be.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(Z)},r.prototype.onRemove=function(Z){this.removeRectText(Z)},r.prototype.onAdd=function(Z){this.appendRectText(Z)}}},qJCg:function(M,P,d){var w=d("BlVb"),A=d("mFDi"),b=d("IwbS"),m=b.linePolygonIntersect,v={lineX:p(0),lineY:p(1),rect:{point:function(o,e,r){return o&&r.boundingRect.contain(o[0],o[1])},rect:function(o,e,r){return o&&r.boundingRect.intersect(o)}},polygon:{point:function(o,e,r){return o&&r.boundingRect.contain(o[0],o[1])&&w.contain(r.range,o[0],o[1])},rect:function(o,e,r){var i=r.range;if(!o||i.length<=1)return!1;var n=o.x,l=o.y,t=o.width,a=o.height,c=i[0];if(w.contain(i,n,l)||w.contain(i,n+t,l)||w.contain(i,n,l+a)||w.contain(i,n+t,l+a)||A.create(o).contain(c[0],c[1])||m(n,l,n+t,l,i)||m(n,l,n,l+a,i)||m(n+t,l,n+t,l+a,i)||m(n,l+a,n+t,l+a,i))return!0}}};function p(o){var e=["x","y"],r=["width","height"];return{point:function(i,n,l){if(i){var t=l.range,a=i[o];return s(a,t)}},rect:function(i,n,l){if(i){var t=l.range,a=[i[e[o]],i[e[o]]+i[r[o]]];return a[1]<a[0]&&a.reverse(),s(a[0],t)||s(a[1],t)||s(t[0],a)||s(t[1],a)}}}}function s(o,e){return e[0]<=o&&o<=e[1]}var u=v;M.exports=u},qK71:function(M,P,d){},qMZE:function(M,P,d){var w=d("JEkh"),A=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=A},qNPg:function(M,P,d){"use strict";d.d(P,"a",function(){return ae});var w=d("wx14"),A=d("rePB"),b=d("VTBJ"),m=d("KQm4"),v=d("ODXe"),p=d("Ff2n"),s=d("q1tI"),u=d("4IlW"),o=d("5Z9U"),e=d("c+Xe"),r=d("TSYQ"),i=d.n(r),n=d("6cGi"),l=d("bX4T"),t=d("8z13"),a=d("8OUc"),c=function($,ge){var he,Ie,Se=$.prefixCls,Le=$.id,He=$.inputElement,G=$.disabled,pe=$.tabIndex,We=$.autoFocus,te=$.autoComplete,X=$.editable,z=$.accessibilityIndex,Z=$.value,be=$.maxLength,ne=$.onKeyDown,Ae=$.onMouseDown,Ne=$.onChange,oe=$.onPaste,de=$.onCompositionStart,xe=$.onCompositionEnd,Pe=$.open,tt=$.attrs,Je=He||s.createElement("input",null),Oe=Je,pt=Oe.ref,Qe=Oe.props,nt=Qe.onKeyDown,bt=Qe.onChange,Tt=Qe.onMouseDown,Ct=Qe.onCompositionStart,Nt=Qe.onCompositionEnd,Ge=Qe.style;return Je=s.cloneElement(Je,Object(b.a)(Object(b.a)({id:Le,ref:Object(e.a)(ge,pt),disabled:G,tabIndex:pe,autoComplete:te||"off",type:"search",autoFocus:We,className:i()("".concat(Se,"-selection-search-input"),(he=Je)===null||he===void 0||((Ie=he.props)===null||Ie===void 0)?void 0:Ie.className),style:Object(b.a)(Object(b.a)({},Ge),{},{opacity:X?null:0}),role:"combobox","aria-expanded":Pe,"aria-haspopup":"listbox","aria-owns":"".concat(Le,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Le,"_list"),"aria-activedescendant":"".concat(Le,"_list_").concat(z)},tt),{},{value:X?Z:"",maxLength:be,readOnly:!X,unselectable:X?null:"on",onKeyDown:function(Y){ne(Y),nt&&nt(Y)},onMouseDown:function(Y){Ae(Y),Tt&&Tt(Y)},onChange:function(Y){Ne(Y),bt&&bt(Y)},onCompositionStart:function(Y){de(Y),Ct&&Ct(Y)},onCompositionEnd:function(Y){xe(Y),Nt&&Nt(Y)},onPaste:oe})),Je},h=s.forwardRef(c);h.displayName="Input";var f=h,g=d("WKfj");function S(se,$){g.b?s.useLayoutEffect(se,$):s.useEffect(se,$)}var y=function($){$.preventDefault(),$.stopPropagation()},E=function($){var ge=$.id,he=$.prefixCls,Ie=$.values,Se=$.open,Le=$.searchValue,He=$.inputRef,G=$.placeholder,pe=$.disabled,We=$.mode,te=$.showSearch,X=$.autoFocus,z=$.autoComplete,Z=$.accessibilityIndex,be=$.tabIndex,ne=$.removeIcon,Ae=$.maxTagCount,Ne=$.maxTagTextLength,oe=$.maxTagPlaceholder,de=oe===void 0?function(Ot){return"+ ".concat(Ot.length," ...")}:oe,xe=$.tagRender,Pe=$.onToggleOpen,tt=$.onSelect,Je=$.onInputChange,Oe=$.onInputPaste,pt=$.onInputKeyDown,Qe=$.onInputMouseDown,nt=$.onInputCompositionStart,bt=$.onInputCompositionEnd,Tt=s.useRef(null),Ct=Object(s.useState)(0),Nt=Object(v.a)(Ct,2),Ge=Nt[0],ie=Nt[1],Y=Object(s.useState)(!1),we=Object(v.a)(Y,2),Ce=we[0],le=we[1],ot="".concat(he,"-selection"),wt=Se||We==="tags"?Le:"",rt=We==="tags"||te&&(Se||Ce);S(function(){ie(Tt.current.scrollWidth)},[wt]);function It(Ot,At,Jt,br){return s.createElement("span",{className:i()("".concat(ot,"-item"),Object(A.a)({},"".concat(ot,"-item-disabled"),At))},s.createElement("span",{className:"".concat(ot,"-item-content")},Ot),Jt&&s.createElement(a.a,{className:"".concat(ot,"-item-remove"),onMouseDown:y,onClick:br,customizeIcon:ne},"\xD7"))}function Gt(Ot,At,Jt,br,Lr){var Zr=function(Gr){y(Gr),Pe(!Se)};return s.createElement("span",{onMouseDown:Zr},xe({label:At,value:Ot,disabled:Jt,closable:br,onClose:Lr}))}function lr(Ot){var At=Ot.disabled,Jt=Ot.label,br=Ot.value,Lr=!pe&&!At,Zr=Jt;if(typeof Ne=="number"&&(typeof Jt=="string"||typeof Jt=="number")){var In=String(Zr);In.length>Ne&&(Zr="".concat(In.slice(0,Ne),"..."))}var Gr=function(fr){fr&&fr.stopPropagation(),tt(br,{selected:!1})};return typeof xe=="function"?Gt(br,Zr,At,Lr,Gr):It(Zr,At,Lr,Gr)}function pr(Ot){var At=typeof de=="function"?de(Ot):de;return It(At,!1)}var Rr=s.createElement("div",{className:"".concat(ot,"-search"),style:{width:Ge},onFocus:function(){le(!0)},onBlur:function(){le(!1)}},s.createElement(f,{ref:He,open:Se,prefixCls:he,id:ge,inputElement:null,disabled:pe,autoFocus:X,autoComplete:z,editable:rt,accessibilityIndex:Z,value:wt,onKeyDown:pt,onMouseDown:Qe,onChange:Je,onPaste:Oe,onCompositionStart:nt,onCompositionEnd:bt,tabIndex:be,attrs:Object(l.a)($,!0)}),s.createElement("span",{ref:Tt,className:"".concat(ot,"-search-mirror"),"aria-hidden":!0},wt,"\xA0")),xt=s.createElement(t.a,{prefixCls:"".concat(ot,"-overflow"),data:Ie,renderItem:lr,renderRest:pr,suffix:Rr,itemKey:"key",maxCount:Ae});return s.createElement(s.Fragment,null,xt,!Ie.length&&!wt&&s.createElement("span",{className:"".concat(ot,"-placeholder")},G))},C=E,T=function($){var ge=$.inputElement,he=$.prefixCls,Ie=$.id,Se=$.inputRef,Le=$.disabled,He=$.autoFocus,G=$.autoComplete,pe=$.accessibilityIndex,We=$.mode,te=$.open,X=$.values,z=$.placeholder,Z=$.tabIndex,be=$.showSearch,ne=$.searchValue,Ae=$.activeValue,Ne=$.maxLength,oe=$.onInputKeyDown,de=$.onInputMouseDown,xe=$.onInputChange,Pe=$.onInputPaste,tt=$.onInputCompositionStart,Je=$.onInputCompositionEnd,Oe=s.useState(!1),pt=Object(v.a)(Oe,2),Qe=pt[0],nt=pt[1],bt=We==="combobox",Tt=bt||be,Ct=X[0],Nt=ne||"";bt&&Ae&&!Qe&&(Nt=Ae),s.useEffect(function(){bt&&nt(!1)},[bt,Ae]);var Ge=We!=="combobox"&&!te?!1:!!Nt,ie=Ct&&(typeof Ct.label=="string"||typeof Ct.label=="number")?Ct.label.toString():void 0;return s.createElement(s.Fragment,null,s.createElement("span",{className:"".concat(he,"-selection-search")},s.createElement(f,{ref:Se,prefixCls:he,id:Ie,open:te,inputElement:ge,disabled:Le,autoFocus:He,autoComplete:G,editable:Tt,accessibilityIndex:pe,value:Nt,onKeyDown:oe,onMouseDown:de,onChange:function(we){nt(!0),xe(we)},onPaste:Pe,onCompositionStart:tt,onCompositionEnd:Je,tabIndex:Z,attrs:Object(l.a)($,!0),maxLength:bt?Ne:void 0})),!bt&&Ct&&!Ge&&s.createElement("span",{className:"".concat(he,"-selection-item"),title:ie},Ct.label),!Ct&&!Ge&&s.createElement("span",{className:"".concat(he,"-selection-placeholder")},z))},x=T;function _(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,$=s.useRef(null),ge=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(ge.current)}},[]);function he(Ie){(Ie||$.current===null)&&($.current=Ie),window.clearTimeout(ge.current),ge.current=window.setTimeout(function(){$.current=null},se)}return[function(){return $.current},he]}var I=function($,ge){var he=Object(s.useRef)(null),Ie=Object(s.useRef)(!1),Se=$.prefixCls,Le=$.multiple,He=$.open,G=$.mode,pe=$.showSearch,We=$.tokenWithEnter,te=$.onSearch,X=$.onSearchSubmit,z=$.onToggleOpen,Z=$.onInputKeyDown,be=$.domRef;s.useImperativeHandle(ge,function(){return{focus:function(){he.current.focus()},blur:function(){he.current.blur()}}});var ne=_(0),Ae=Object(v.a)(ne,2),Ne=Ae[0],oe=Ae[1],de=function(Ge){var ie=Ge.which;(ie===u.a.UP||ie===u.a.DOWN)&&Ge.preventDefault(),Z&&Z(Ge),ie===u.a.ENTER&&G==="tags"&&!Ie.current&&!He&&X(Ge.target.value),[u.a.SHIFT,u.a.TAB,u.a.BACKSPACE,u.a.ESC].includes(ie)||z(!0)},xe=function(){oe(!0)},Pe=Object(s.useRef)(null),tt=function(Ge){te(Ge,!0,Ie.current)!==!1&&z(!0)},Je=function(){Ie.current=!0},Oe=function(Ge){Ie.current=!1,G!=="combobox"&&tt(Ge.target.value)},pt=function(Ge){var ie=Ge.target.value;if(We&&Pe.current&&/[\r\n]/.test(Pe.current)){var Y=Pe.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ie=ie.replace(Y,Pe.current)}Pe.current=null,tt(ie)},Qe=function(Ge){var ie=Ge.clipboardData,Y=ie.getData("text");Pe.current=Y},nt=function(Ge){var ie=Ge.target;if(ie!==he.current){var Y=document.body.style.msTouchAction!==void 0;Y?setTimeout(function(){he.current.focus()}):he.current.focus()}},bt=function(Ge){var ie=Ne();Ge.target!==he.current&&!ie&&Ge.preventDefault(),(G!=="combobox"&&(!pe||!ie)||!He)&&(He&&te("",!0,!1),z())},Tt={inputRef:he,onInputKeyDown:de,onInputMouseDown:xe,onInputChange:pt,onInputPaste:Qe,onInputCompositionStart:Je,onInputCompositionEnd:Oe},Ct=Le?s.createElement(C,Object(w.a)({},$,Tt)):s.createElement(x,Object(w.a)({},$,Tt));return s.createElement("div",{ref:be,className:"".concat(Se,"-selector"),onClick:nt,onMouseDown:bt},Ct)},L=s.forwardRef(I);L.displayName="Selector";var D=L,B=d("uciX"),N=function($){var ge=typeof $!="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}}}},k=function($,ge){var he=$.prefixCls,Ie=$.disabled,Se=$.visible,Le=$.children,He=$.popupElement,G=$.containerWidth,pe=$.animation,We=$.transitionName,te=$.dropdownStyle,X=$.dropdownClassName,z=$.direction,Z=z===void 0?"ltr":z,be=$.dropdownMatchSelectWidth,ne=be===void 0?!0:be,Ae=$.dropdownRender,Ne=$.dropdownAlign,oe=$.getPopupContainer,de=$.empty,xe=$.getTriggerDOMNode,Pe=$.onPopupVisibleChange,tt=Object(p.a)($,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange"]),Je="".concat(he,"-dropdown"),Oe=He;Ae&&(Oe=Ae(He));var pt=s.useMemo(function(){return N(ne)},[ne]),Qe=pe?"".concat(Je,"-").concat(pe):We,nt=s.useRef(null);s.useImperativeHandle(ge,function(){return{getPopupElement:function(){return nt.current}}});var bt=Object(b.a)({minWidth:G},te);return typeof ne=="number"?bt.width=ne:ne&&(bt.width=G),s.createElement(B.a,Object(w.a)({},tt,{showAction:Pe?["click"]:[],hideAction:Pe?["click"]:[],popupPlacement:Z==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:pt,prefixCls:Je,popupTransitionName:Qe,popup:s.createElement("div",{ref:nt},Oe),popupAlign:Ne,popupVisible:Se,getPopupContainer:oe,popupClassName:i()(X,Object(A.a)({},"".concat(Je,"-empty"),de)),popupStyle:bt,getTriggerDOMNode:xe,onPopupVisibleChange:Pe}),Le)},W=s.forwardRef(k);W.displayName="SelectTrigger";var R=W,j=d("wPlo");function H(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,$=s.useState(!1),ge=Object(v.a)($,2),he=ge[0],Ie=ge[1],Se=s.useRef(null),Le=function(){window.clearTimeout(Se.current)};s.useEffect(function(){return Le},[]);var He=function(pe,We){Le(),Se.current=window.setTimeout(function(){Ie(pe),We&&We()},se)};return[he,He,Le]}var K=d("2Qr1");function U(se,$,ge){var he=s.useRef(null);he.current={open:$,triggerOpen:ge},s.useEffect(function(){function Ie(Se){var Le=Se.target;Le.shadowRoot&&Se.composed&&(Le=Se.composedPath()[0]||Le),he.current.open&&se().filter(function(He){return He}).every(function(He){return!He.contains(Le)&&He!==Le})&&he.current.triggerOpen(!1)}return window.addEventListener("mousedown",Ie),function(){return window.removeEventListener("mousedown",Ie)}},[])}function Q(se){var $=s.useRef(se),ge=s.useMemo(function(){var he=new Map;$.current.forEach(function(Se){var Le=Se.value,He=Se.label;Le!==He&&he.set(Le,He)});var Ie=se.map(function(Se){var Le=he.get(Se.value);return Se.isCacheable&&Le?Object(b.a)(Object(b.a)({},Se),{},{label:Le}):Se});return $.current=Ie,Ie},[se]);return ge}function V(se){var $=s.useRef(null),ge=s.useMemo(function(){var Ie=new Map;return se.forEach(function(Se){var Le=Se.data.value;Ie.set(Le,Se)}),Ie},[se]);$.current=ge;var he=function(Se){return Se.map(function(Le){return $.current.get(Le)}).filter(Boolean)};return he}var J=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","tabIndex"];function ae(se){var $=se.prefixCls,ge=se.components.optionList,he=se.convertChildrenToData,Ie=se.flattenOptions,Se=se.getLabeledValue,Le=se.filterOptions,He=se.isValueDisabled,G=se.findValueOption,pe=se.warningProps,We=se.fillOptionsWithMissingValue,te=se.omitDOMProps;function X(Z,be){var ne,Ae=Z.prefixCls,Ne=Ae===void 0?$:Ae,oe=Z.className,de=Z.id,xe=Z.open,Pe=Z.defaultOpen,tt=Z.options,Je=Z.children,Oe=Z.mode,pt=Z.value,Qe=Z.defaultValue,nt=Z.labelInValue,bt=Z.showSearch,Tt=Z.inputValue,Ct=Z.searchValue,Nt=Z.filterOption,Ge=Z.filterSort,ie=Z.optionFilterProp,Y=ie===void 0?"value":ie,we=Z.autoClearSearchValue,Ce=we===void 0?!0:we,le=Z.onSearch,ot=Z.allowClear,wt=Z.clearIcon,rt=Z.showArrow,It=Z.inputIcon,Gt=Z.menuItemSelectedIcon,lr=Z.disabled,pr=Z.loading,Rr=Z.defaultActiveFirstOption,xt=Z.notFoundContent,Ot=xt===void 0?"Not Found":xt,At=Z.optionLabelProp,Jt=Z.backfill,br=Z.tabIndex,Lr=Z.getInputElement,Zr=Z.getRawInputElement,In=Z.getPopupContainer,Gr=Z.listHeight,Tr=Gr===void 0?200:Gr,fr=Z.listItemHeight,vt=fr===void 0?20:fr,ft=Z.animation,De=Z.transitionName,je=Z.virtual,Ye=Z.dropdownStyle,st=Z.dropdownClassName,kt=Z.dropdownMatchSelectWidth,$t=Z.dropdownRender,Nr=Z.dropdownAlign,yn=Z.showAction,un=yn===void 0?[]:yn,Kt=Z.direction,St=Z.tokenSeparators,Mt=Z.tagRender,Zt=Z.onPopupScroll,kr=Z.onDropdownVisibleChange,Hr=Z.onFocus,$r=Z.onBlur,Bt=Z.onKeyUp,cr=Z.onKeyDown,Cr=Z.onMouseDown,Br=Z.onChange,zr=Z.onSelect,An=Z.onDeselect,bn=Z.onClear,Sn=Z.internalProps,Mn=Sn===void 0?{}:Sn,ei=Object(p.a)(Z,["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"]),Zn=Mn.mark===j.a,ai=te?te(ei):ei;J.forEach(function(_i){delete ai[_i]});var ii=Object(s.useRef)(null),$e=Object(s.useRef)(null),Te=Object(s.useRef)(null),ke=Object(s.useRef)(null),Me=Object(s.useMemo)(function(){return(St||[]).some(function(_i){return[`
|
|
|
`,`\r
|
|
|
`].includes(_i)})},[St]),Ze=H(),Xe=Object(v.a)(Ze,3),qe=Xe[0],mt=Xe[1],ht=Xe[2],Vt=Object(s.useState)(),dr=Object(v.a)(Vt,2),tr=dr[0],ir=dr[1];Object(s.useEffect)(function(){ir("rc_select_".concat(Object(g.a)()))},[]);var _t=de||tr,gr=At;gr===void 0&&(gr=tt?"label":"children");var jt=Oe==="combobox"?!1:nt,Sr=Oe==="tags"||Oe==="multiple",Ar=bt!==void 0?bt:Sr||Oe==="combobox",sr=Object(s.useState)(!1),ln=Object(v.a)(sr,2),_n=ln[0],zn=ln[1];Object(s.useEffect)(function(){zn(Object(o.a)())},[]);var Nn=Object(s.useRef)(null);s.useImperativeHandle(be,function(){var _i,xi,ji;return{focus:(_i=Te.current)===null||_i===void 0?void 0:_i.focus,blur:(xi=Te.current)===null||xi===void 0?void 0:xi.blur,scrollTo:(ji=ke.current)===null||ji===void 0?void 0:ji.scrollTo}});var Fn=Object(n.a)(Qe,{value:pt}),Gn=Object(v.a)(Fn,2),xn=Gn[0],mi=Gn[1],rn=Object(s.useMemo)(function(){return Object(g.e)(xn,{labelInValue:jt,combobox:Oe==="combobox"})},[xn,jt]),Ur=Object(v.a)(rn,2),cn=Ur[0],Qr=Ur[1],Vn=Object(s.useMemo)(function(){return new Set(cn)},[cn]),Hn=Object(s.useState)(null),li=Object(v.a)(Hn,2),Un=li[0],gi=li[1],kn=Object(s.useState)(""),di=Object(v.a)(kn,2),qr=di[0],xr=di[1],nn=qr;Oe==="combobox"&&xn!==void 0?nn=xn:Ct!==void 0?nn=Ct:Tt&&(nn=Tt);var gn=Object(s.useMemo)(function(){var _i=tt;return _i===void 0&&(_i=he(Je)),Oe==="tags"&&We&&(_i=We(_i,xn,gr,nt)),_i||[]},[tt,Je,Oe,xn]),On=Object(s.useMemo)(function(){return Ie(gn,Z)},[gn]),Bn=V(On),Wn=Object(s.useMemo)(function(){if(!nn||!Ar)return Object(m.a)(gn);var _i=Le(nn,gn,{optionFilterProp:Y,filterOption:Oe==="combobox"&&Nt===void 0?function(){return!0}:Nt});return Oe==="tags"&&_i.every(function(xi){return xi[Y]!==nn})&&_i.unshift({value:nn,label:nn,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Ge&&Array.isArray(_i)?Object(m.a)(_i).sort(Ge):_i},[gn,nn,Oe,Ar,Ge]),$n=Object(s.useMemo)(function(){return Ie(Wn,Z)},[Wn]);Object(s.useEffect)(function(){ke.current&&ke.current.scrollTo&&ke.current.scrollTo(0)},[nn]);var Jn=Object(s.useMemo)(function(){var _i=cn.map(function(xi){var ji=Bn([xi]),Ji=Se(xi,{options:ji,prevValueMap:Qr,labelInValue:jt,optionLabelProp:gr});return Object(b.a)(Object(b.a)({},Ji),{},{disabled:He(xi,ji)})});return!Oe&&_i.length===1&&_i[0].value===null&&_i[0].label===null?[]:_i},[xn,gn,Oe]);Jn=Q(Jn);var vi=function(xi,ji,Ji){var Si=Bn([xi]),Hi=G([xi],Si)[0];if(!Mn.skipTriggerSelect){var Oa=jt?Se(xi,{options:Si,prevValueMap:Qr,labelInValue:jt,optionLabelProp:gr}):xi;ji&&zr?zr(Oa,Hi):!ji&&An&&An(Oa,Hi)}Zn&&(ji&&Mn.onRawSelect?Mn.onRawSelect(xi,Hi,Ji):!ji&&Mn.onRawDeselect&&Mn.onRawDeselect(xi,Hi,Ji))},Pi=Object(s.useState)([]),Bi=Object(v.a)(Pi,2),ja=Bi[0],Qn=Bi[1],Xr=function(xi){if(Zn&&Mn.skipTriggerChange)return;var ji=Bn(xi),Ji=Object(g.f)(Array.from(xi),{labelInValue:jt,options:ji,getLabeledValue:Se,prevValueMap:Qr,optionLabelProp:gr}),Si=Sr?Ji:Ji[0];if(Br&&(cn.length!==0||Ji.length!==0)){var Hi=G(xi,ji,{prevValueOptions:ja});Qn(Hi.map(function(Oa,_a){var la=Object(b.a)({},Oa);return Object.defineProperty(la,"_INTERNAL_OPTION_VALUE_",{get:function(){return xi[_a]}}),la})),Br(Si,Sr?Hi:Hi[0])}mi(Si)},hi=function(xi,ji){var Ji=ji.selected,Si=ji.source;if(lr)return;var Hi;Sr?(Hi=new Set(cn),Ji?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||Ji,Si),Oe==="combobox"?(xr(String(xi)),gi("")):(!Sr||Ce)&&(xr(""),gi(""))},Ri=function(xi,ji){hi(xi,Object(b.a)(Object(b.a)({},ji),{},{source:"option"}))},bi=function(xi,ji){hi(xi,Object(b.a)(Object(b.a)({},ji),{},{source:"selection"}))},Ui=Oe==="combobox"&&typeof Lr=="function"&&Lr()||null,ni=typeof Zr=="function"&&Zr(),qi=Object(n.a)(void 0,{defaultValue:Pe,value:xe}),Qi=Object(v.a)(qi,2),ha=Qi[0],Yt=Qi[1],Ir=ha,Jr=!Ot&&!Wn.length;(lr||Jr&&Ir&&Oe==="combobox")&&(Ir=!1);var Ke=Jr?!1:Ir,gt=function(xi){var ji=xi!==void 0?xi:!Ir;ha!==ji&&!lr&&(Yt(ji),kr&&kr(ji))},Xt;ni&&(Xt=function(xi){gt(xi)}),U(function(){var _i;return[ii.current,(_i=$e.current)===null||_i===void 0?void 0:_i.getPopupElement()]},Ke,gt);var Wt=function(xi,ji,Ji){var Si=!0,Hi=xi;gi(null);var Oa=Ji?null:Object(K.f)(xi,St),_a=Oa;if(Oe==="combobox")ji&&Xr([Hi]);else if(Oa){Hi="",Oe!=="tags"&&(_a=Oa.map(function(va){var Fa=On.find(function(Xa){var co=Xa.data;return co[gr]===va});return Fa?Fa.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),le&&nn!==Hi&&le(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(Ji){vi(Ji,!0,"input")}),xr("")};Object(s.useEffect)(function(){ha&&!!lr&&Yt(!1)},[lr]),Object(s.useEffect)(function(){!Ir&&!Sr&&Oe!=="combobox"&&Wt("",!1,!1)},[Ir]);var or=_(),Vr=Object(v.a)(or,2),Kr=Vr[0],Dr=Vr[1],dn=function(xi){var ji=Kr(),Ji=xi.which;if(Ji===u.a.ENTER&&(Oe!=="combobox"&&xi.preventDefault(),Ir||gt(!0)),Dr(!!nn),Ji===u.a.BACKSPACE&&!ji&&Sr&&!nn&&cn.length){var Si=Object(g.c)(Jn,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&&ke.current){var la;(la=ke.current).onKeyDown.apply(la,[xi].concat(Oa))}cr&&cr.apply(void 0,[xi].concat(Oa))},on=function(xi){for(var ji=arguments.length,Ji=new Array(ji>1?ji-1:0),Si=1;Si<ji;Si++)Ji[Si-1]=arguments[Si];if(Ir&&ke.current){var Hi;(Hi=ke.current).onKeyUp.apply(Hi,[xi].concat(Ji))}Bt&&Bt.apply(void 0,[xi].concat(Ji))},Cn=Object(s.useRef)(!1),sn=function(){mt(!0),lr||(Hr&&!Cn.current&&Hr.apply(void 0,arguments),un.includes("focus")&>(!0)),Cn.current=!0},an=function(){if(mt(!1,function(){Cn.current=!1,gt(!1)}),lr)return;nn&&(Oe==="tags"?(Wt("",!1,!1),Xr(Array.from(new Set([].concat(Object(m.a)(cn),[nn]))))):Oe==="multiple"&&xr("")),$r&&$r.apply(void 0,arguments)},Yr=[];Object(s.useEffect)(function(){return function(){Yr.forEach(function(_i){return clearTimeout(_i)}),Yr.splice(0,Yr.length)}},[]);var fn=function(xi){var ji,Ji=xi.target,Si=(ji=$e.current)===null||ji===void 0?void 0:ji.getPopupElement();if(Si&&Si.contains(Ji)){var Hi=setTimeout(function(){var va=Yr.indexOf(Hi);if(va!==-1&&Yr.splice(va,1),ht(),!_n&&!Si.contains(document.activeElement)){var Fa;(Fa=Te.current)===null||Fa===void 0||Fa.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(s.useState)(0),Ln=Object(v.a)(vn,2),oi=Ln[0],si=Ln[1],Ni=Rr!==void 0?Rr:Oe!=="combobox",qn=function(xi,ji){var Ji=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Si=Ji.source,Hi=Si===void 0?"keyboard":Si;si(ji),Jt&&Oe==="combobox"&&xi!==null&&Hi==="keyboard"&&gi(String(xi))},Pn=Object(s.useState)(null),ki=Object(v.a)(Pn,2),ci=ki[0],wi=ki[1],fi=Object(s.useState)({}),Mi=Object(v.a)(fi,2),fa=Mi[1];function Wi(){fa({})}S(function(){if(Ke){var _i,xi=Math.ceil((_i=ii.current)===null||_i===void 0?void 0:_i.offsetWidth);ci!==xi&&!Number.isNaN(xi)&&wi(xi)}},[Ke]);var ma=s.createElement(ge,{ref:ke,prefixCls:Ne,id:_t,open:Ir,childrenAsData:!tt,options:Wn,flattenOptions:$n,multiple:Sr,values:Vn,height:Tr,itemHeight:vt,onSelect:Ri,onToggleOpen:gt,onActiveValue:qn,defaultActiveFirstOption:Ni,notFoundContent:Ot,onScroll:Zt,searchValue:nn,menuItemSelectedIcon:Gt,virtual:je!==!1&&kt!==!1,onMouseEnter:Wi}),aa,ya=function(){Zn&&Mn.onClear&&Mn.onClear(),bn&&bn(),Xr([]),Wt("",!1,!1)};!lr&&ot&&(cn.length||nn)&&(aa=s.createElement(a.a,{className:"".concat(Ne,"-clear"),onMouseDown:ya,customizeIcon:wt},"\xD7"));var Ea=rt!==void 0?rt:pr||!Sr&&Oe!=="combobox",ca;Ea&&(ca=s.createElement(a.a,{className:i()("".concat(Ne,"-arrow"),Object(A.a)({},"".concat(Ne,"-arrow-loading"),pr)),customizeIcon:It,customizeIconProps:{loading:pr,searchValue:nn,open:Ir,focused:qe,showSearch:Ar}}));var Ma=i()(Ne,oe,(ne={},Object(A.a)(ne,"".concat(Ne,"-focused"),qe),Object(A.a)(ne,"".concat(Ne,"-multiple"),Sr),Object(A.a)(ne,"".concat(Ne,"-single"),!Sr),Object(A.a)(ne,"".concat(Ne,"-allow-clear"),ot),Object(A.a)(ne,"".concat(Ne,"-show-arrow"),Ea),Object(A.a)(ne,"".concat(Ne,"-disabled"),lr),Object(A.a)(ne,"".concat(Ne,"-loading"),pr),Object(A.a)(ne,"".concat(Ne,"-open"),Ir),Object(A.a)(ne,"".concat(Ne,"-customize-input"),Ui),Object(A.a)(ne,"".concat(Ne,"-show-search"),Ar),ne)),wa=s.createElement(R,{ref:$e,disabled:lr,prefixCls:Ne,visible:Ke,popupElement:ma,containerWidth:ci,animation:ft,transitionName:De,dropdownStyle:Ye,dropdownClassName:st,direction:Kt,dropdownMatchSelectWidth:kt,dropdownRender:$t,dropdownAlign:Nr,getPopupContainer:In,empty:!gn.length,getTriggerDOMNode:function(){return Nn.current},onPopupVisibleChange:Xt},ni?s.cloneElement(ni,{ref:Object(e.a)(Nn,ni.props.ref)}):s.createElement(D,Object(w.a)({},Z,{domRef:Nn,prefixCls:Ne,inputElement:Ui,ref:Te,id:_t,showSearch:Ar,mode:Oe,accessibilityIndex:oi,multiple:Sr,tagRender:Mt,values:Jn,open:Ir,onToggleOpen:gt,searchValue:nn,activeValue:Un,onSearch:Wt,onSearchSubmit:vr,onSelect:bi,tokenWithEnter:Me})));return ni?wa:s.createElement("div",Object(w.a)({className:Ma},ai,{ref:ii,onMouseDown:fn,onKeyDown:dn,onKeyUp:on,onFocus:sn,onBlur:an}),qe&&!Ir&&s.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(cn.join(", "))),wa,ca,aa)}var z=s.forwardRef(X);return z}},qWt2:function(M,P,d){var w=d("ProS"),A=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=A},qZFw:function(M,P,d){var w=d("bYtY"),A=d("6GrX"),b=d("hM6l"),m=d("4NO4"),v=m.makeInner,p=v();function s(o,e){e=e||[0,360],b.call(this,"angle",o,e),this.type="category"}s.prototype={constructor:s,pointToData:function(o,e){return this.polar.pointToData(o,e)[this.dim==="radius"?0:1]},dataToAngle:b.prototype.dataToCoord,angleToData:b.prototype.coordToData,calculateCategoryInterval:function(){var o=this,e=o.getLabelModel(),r=o.scale,i=r.getExtent(),n=r.count();if(i[1]-i[0]<1)return 0;var l=i[0],t=o.dataToCoord(l+1)-o.dataToCoord(l),a=Math.abs(t),c=A.getBoundingRect(l,e.getFont(),"center","top"),h=Math.max(c.height,7),f=h/a;isNaN(f)&&(f=Infinity);var g=Math.max(0,Math.floor(f)),S=p(o.model),y=S.lastAutoInterval,E=S.lastTickCount;return y!=null&&E!=null&&Math.abs(y-g)<=1&&Math.abs(E-n)<=1&&y>g?g=y:(S.lastTickCount=n,S.lastAutoInterval=g),g}},w.inherits(s,b);var u=s;M.exports=u},qgGe:function(M,P,d){var w=d("bYtY"),A=d("T4UG"),b=d("Bsck"),m=d("VaxA"),v=m.wrapTreePathInfo,p=A.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(u,o){var e={name:u.name,children:u.data};s(e);var r=u.levels||[],i={};return i.levels=r,b.createTree(e,this,i).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(u){var o=A.prototype.getDataParams.apply(this,arguments),e=this.getData().tree.getNodeByDataIndex(u);return o.treePathInfo=v(e,this),o},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(u){u?this._viewRoot=u:u=this._viewRoot;var o=this.getRawData().tree.root;(!u||u!==o&&!o.contains(u))&&(this._viewRoot=o)}});function s(u){var o=0;w.each(u.children,function(r){s(r);var i=r.value;w.isArray(i)&&(i=i[0]),o+=i});var e=u.value;w.isArray(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=o),e<0&&(e=0),w.isArray(u.value)?u.value[0]=e:u.value=e}M.exports=p},qj72:function(M,P,d){var w=d("bYtY");function A(m,v){return v=v||[0,0],w.map(["x","y"],function(p,s){var u=this.getAxis(p),o=v[s],e=m[s]/2;return u.type==="category"?u.getBandWidth():Math.abs(u.dataToCoord(o-e)-u.dataToCoord(o+e))},this)}function b(m){var v=m.grid.getRect();return{coordSys:{type:"cartesian2d",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(p){return m.dataToPoint(p)},size:w.bind(A,m)}}}M.exports=b},"qt/9":function(M,P,d){var w=d("ProS"),A=d("bYtY");d("Wqna"),d("1tlw"),d("Mylv");var b=d("nVfU"),m=b.layout,v=d("f5Yq");d("Ae16"),w.registerLayout(A.curry(m,"pictorialBar")),w.registerVisual(v("pictorialBar","roundRect"))},quyA:function(M,P){var d="\\ud800-\\udfff",w="\\u0300-\\u036f",A="\\ufe20-\\ufe2f",b="\\u20d0-\\u20ff",m=w+A+b,v="\\ufe0e\\ufe0f",p="\\u200d",s=RegExp("["+p+d+m+v+"]");function u(o){return s.test(o)}M.exports=u},qwVE:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("K4ya"),m=d("XxSj"),v=w.PRIORITY.VISUAL.COMPONENT;w.registerVisual(v,{createOnAllSeries:!0,reset:function(s,u){var o=[];return u.eachComponent("visualMap",function(e){var r=s.pipelineContext;if(!e.isTargetSeries(s)||r&&r.large)return;o.push(b.incrementalApplyVisual(e.stateList,e.targetVisuals,A.bind(e.getValueState,e),e.getDataDimension(s.getData())))}),o}}),w.registerVisual(v,{createOnAllSeries:!0,reset:function(s,u){var o=s.getData(),e=[];u.eachComponent("visualMap",function(r){if(r.isTargetSeries(s)){var i=r.getVisualMeta(A.bind(p,null,s,r))||{stops:[],outerColors:[]},n=r.getDataDimension(o),l=o.getDimensionInfo(n);l!=null&&(i.dimension=l.index,e.push(i))}}),s.getData().setVisual("visualMeta",e)}});function p(s,u,o,e){for(var r=u.targetVisuals[e],i=m.prepareVisualTypes(r),n={color:s.getData().getVisual("color")},l=0,t=i.length;l<t;l++){var a=i[l],c=r[a==="opacity"?"__alphaForOpacity":a];c&&c.applyVisual(o,h,f)}return n.color;function h(g){return n[g]}function f(g,S){n[g]=S}}},r6Bn:function(M,P,d){var w=d("bYtY"),A=d("ItGF"),b=d("4fz+"),m=d("BPZU");function v(u,o){return u.zlevel===o.zlevel?u.z===o.z?u.z2-o.z2:u.z-o.z:u.zlevel-o.zlevel}var p=function(){this._roots=[],this._displayList=[],this._displayListLen=0};p.prototype={constructor:p,traverse:function(o,e){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(o,e)},getDisplayList:function(o,e){return e=e||!1,o&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(o){this._displayListLen=0;for(var e=this._roots,r=this._displayList,i=0,n=e.length;i<n;i++)this._updateAndAddDisplayable(e[i],null,o);r.length=this._displayListLen,A.canvasSupported&&m(r,v)},_updateAndAddDisplayable:function(o,e,r){if(o.ignore&&!r)return;o.beforeUpdate(),o.__dirty&&o.update(),o.afterUpdate();var i=o.clipPath;if(i){e?e=e.slice():e=[];for(var n=i,l=o;n;)n.parent=l,n.updateTransform(),e.push(n),l=n,n=n.clipPath}if(o.isGroup){for(var t=o._children,a=0;a<t.length;a++){var c=t[a];o.__dirty&&(c.__dirty=!0),this._updateAndAddDisplayable(c,e,r)}o.__dirty=!1}else o.__clipPaths=e,this._displayList[this._displayListLen++]=o},addRoot:function(o){if(o.__storage===this)return;o instanceof b&&o.addChildrenToStorage(this),this.addToStorage(o),this._roots.push(o)},delRoot:function(o){if(o==null){for(var e=0;e<this._roots.length;e++){var r=this._roots[e];r instanceof b&&r.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(o instanceof Array){for(var e=0,i=o.length;e<i;e++)this.delRoot(o[e]);return}var n=w.indexOf(this._roots,o);n>=0&&(this.delFromStorage(o),this._roots.splice(n,1),o instanceof b&&o.delChildrenFromStorage(this))},addToStorage:function(o){return o&&(o.__storage=this,o.dirty(!1)),this},delFromStorage:function(o){return o&&(o.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:v};var s=p;M.exports=s},rA99:function(M,P,d){var w=d("y+Vt"),A=d("QBsz"),b=d("Sj9i"),m=b.quadraticSubdivide,v=b.cubicSubdivide,p=b.quadraticAt,s=b.cubicAt,u=b.quadraticDerivativeAt,o=b.cubicDerivativeAt,e=[];function r(n,l,t){var a=n.cpx2,c=n.cpy2;return a===null||c===null?[(t?o:s)(n.x1,n.cpx1,n.cpx2,n.x2,l),(t?o:s)(n.y1,n.cpy1,n.cpy2,n.y2,l)]:[(t?u:p)(n.x1,n.cpx1,n.x2,l),(t?u:p)(n.y1,n.cpy1,n.y2,l)]}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(l,t){var a=t.x1,c=t.y1,h=t.x2,f=t.y2,g=t.cpx1,S=t.cpy1,y=t.cpx2,E=t.cpy2,C=t.percent;if(C===0)return;l.moveTo(a,c),y==null||E==null?(C<1&&(m(a,g,h,C,e),g=e[1],h=e[2],m(c,S,f,C,e),S=e[1],f=e[2]),l.quadraticCurveTo(g,S,h,f)):(C<1&&(v(a,g,y,h,C,e),g=e[1],y=e[2],h=e[3],v(c,S,E,f,C,e),S=e[1],E=e[2],f=e[3]),l.bezierCurveTo(g,S,y,E,h,f))},pointAt:function(l){return r(this.shape,l,!1)},tangentAt:function(l){var t=r(this.shape,l,!0);return A.normalize(t,t)}});M.exports=i},"rAM+":function(M,P,d){"use strict";d.d(P,"a",function(){return A});var w=d("Qw5x");function A(b,m){var v;if(typeof Symbol=="undefined"||b[Symbol.iterator]==null){if(Array.isArray(b)||(v=Object(w.a)(b))||m&&b&&typeof b.length=="number"){v&&(b=v);var p=0,s=function(){};return{s,n:function(){return p>=b.length?{done:!0}:{done:!1,value:b[p++]}},e:function(i){throw i},f:s}}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 u=!0,o=!1,e;return{s:function(){v=b[Symbol.iterator]()},n:function(){var i=v.next();return u=i.done,i},e:function(i){o=!0,e=i},f:function(){try{!u&&v.return!=null&&v.return()}finally{if(o)throw e}}}}},rHrb:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.CopyToClipboard=void 0;var w=b(d("q1tI")),A=b(d("+QRC"));function b(f){return f&&f.__esModule?f:{default:f}}function m(f){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(f)}function v(f,g){var S=Object.keys(f);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(f);g&&(y=y.filter(function(E){return Object.getOwnPropertyDescriptor(f,E).enumerable})),S.push.apply(S,y)}return S}function p(f){for(var g=1;g<arguments.length;g++){var S=arguments[g]!=null?arguments[g]:{};g%2?v(S,!0).forEach(function(y){c(f,y,S[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(S)):v(S).forEach(function(y){Object.defineProperty(f,y,Object.getOwnPropertyDescriptor(S,y))})}return f}function s(f,g){if(f==null)return{};var S=u(f,g),y,E;if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(f);for(E=0;E<C.length;E++){if(y=C[E],g.indexOf(y)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(f,y))continue;S[y]=f[y]}}return S}function u(f,g){if(f==null)return{};var S={},y=Object.keys(f),E,C;for(C=0;C<y.length;C++){if(E=y[C],g.indexOf(E)>=0)continue;S[E]=f[E]}return S}function o(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")}function e(f,g){for(var S=0;S<g.length;S++){var y=g[S];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(f,y.key,y)}}function r(f,g,S){return g&&e(f.prototype,g),S&&e(f,S),f}function i(f,g){return g&&(m(g)==="object"||typeof g=="function")?g:l(f)}function n(f){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},n(f)}function l(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function t(f,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(g&&g.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),g&&a(f,g)}function a(f,g){return a=Object.setPrototypeOf||function(y,E){return y.__proto__=E,y},a(f,g)}function c(f,g,S){return g in f?Object.defineProperty(f,g,{value:S,enumerable:!0,configurable:!0,writable:!0}):f[g]=S,f}var h=function(f){t(g,f);function g(){var S,y;o(this,g);for(var E=arguments.length,C=new Array(E),T=0;T<E;T++)C[T]=arguments[T];return y=i(this,(S=n(g)).call.apply(S,[this].concat(C))),c(l(y),"onClick",function(x){var _=y.props,I=_.text,L=_.onCopy,D=_.children,B=_.options,N=w.default.Children.only(D),k=(0,A.default)(I,B);L&&L(I,k),N&&N.props&&typeof N.props.onClick=="function"&&N.props.onClick(x)}),y}return r(g,[{key:"render",value:function(){var y=this.props,E=y.text,C=y.onCopy,T=y.options,x=y.children,_=s(y,["text","onCopy","options","children"]),I=w.default.Children.only(x);return w.default.cloneElement(I,p({},_,{onClick:this.onClick}))}}]),g}(w.default.PureComponent);P.CopyToClipboard=h,c(h,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="ReloadOutlined";var s=P.a=A.forwardRef(p)},rUJ1:function(M,P){var d=/[&<>"']/,w=/[&<>"']/g,A=/[<>"']|&(?!#?\w+;)/,b=/[<>"']|&(?!#?\w+;)/g,m={"&":"&","<":"<",">":">",'"':""","'":"'"},v=function(x){return m[x]};function p(T,x){if(x){if(d.test(T))return T.replace(w,v)}else if(A.test(T))return T.replace(b,v);return T}var s=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function u(T){return T.replace(s,function(x,_){return _=_.toLowerCase(),_==="colon"?":":_.charAt(0)==="#"?_.charAt(1)==="x"?String.fromCharCode(parseInt(_.substring(2),16)):String.fromCharCode(+_.substring(1)):""})}var o=/(^|[^\[])\^/g;function e(T,x){T=T.source||T,x=x||"";var _={replace:function(L,D){return D=D.source||D,D=D.replace(o,"$1"),T=T.replace(L,D),_},getRegex:function(){return new RegExp(T,x)}};return _}var r=/[^\w:]/g,i=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function n(T,x,_){if(T){var I;try{I=decodeURIComponent(u(_)).replace(r,"").toLowerCase()}catch(L){return null}if(I.indexOf("javascript:")===0||I.indexOf("vbscript:")===0||I.indexOf("data:")===0)return null}x&&!i.test(_)&&(_=h(x,_));try{_=encodeURI(_).replace(/%25/g,"%")}catch(L){return null}return _}var l={},t=/^[^:]+:\/*[^/]*$/,a=/^([^:]+:)[\s\S]*$/,c=/^([^:]+:\/*[^/]*)[\s\S]*$/;function h(T,x){l[" "+T]||(t.test(T)?l[" "+T]=T+"/":l[" "+T]=y(T,"/",!0)),T=l[" "+T];var _=T.indexOf(":")===-1;return x.substring(0,2)==="//"?_?x:T.replace(a,"$1")+x:x.charAt(0)==="/"?_?x:T.replace(c,"$1")+x:T+x}var f={exec:function(){}};function g(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(D,B,N){for(var k=!1,W=B;--W>=0&&N[W]==="\\";)k=!k;return k?"|":" |"}),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 y(T,x,_){var I=T.length;if(I===0)return"";for(var L=0;L<I;){var D=T.charAt(I-L-1);if(D===x&&!_)L++;else if(D!==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:u,edit:e,cleanUrl:n,resolveUrl:h,noopTest:f,merge:g,splitCells:S,rtrim:y,findClosingBracket:E,checkSanitizeDeprecation:C}},rdUC:function(M,P,d){var w=d("MFOe"),A=w.Global;M.exports={name:"localStorage",read:m,write:v,each:p,remove:s,clearAll:u};function b(){return A.localStorage}function m(o){return b().getItem(o)}function v(o,e){return b().setItem(o,e)}function p(o){for(var e=b().length-1;e>=0;e--){var r=b().key(e);o(m(r),r)}}function s(o){return b().removeItem(o)}function u(){return b().clear()}},rdor:function(M,P,d){var w=d("lOQZ"),A=w.circularLayout;function b(m){m.eachSeriesByType("graph",function(v){v.get("layout")==="circular"&&A(v,"symbolSize")})}M.exports=b},rfSb:function(M,P,d){var w=d("T4UG"),A=d("sdST"),b=d("L0Ub"),m=b.getDimensionTypeByAxis,v=d("YXkt"),p=d("bYtY"),s=d("4NO4"),u=s.groupData,o=d("7aKB"),e=o.encodeHTML,r=d("xKMd"),i=2,n=w.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new r(p.bind(this.getData,this),p.bind(this.getRawData,this))},fixData:function(t){var a=t.length,c=u(t,function(N){return N[2]}),h=[];c.buckets.each(function(N,k){h.push({name:k,dataList:N})});for(var f=h.length,g=-1,S=-1,y=0;y<f;++y){var E=h[y].dataList.length;E>g&&(g=E,S=y)}for(var C=0;C<f;++C){if(C===S)continue;for(var T=h[C].name,x=0;x<g;++x){for(var _=h[S].dataList[x][0],I=h[C].dataList.length,L=-1,D=0;D<I;++D){var B=h[C].dataList[D][0];if(B===_){L=D;break}}L===-1&&(t[a]=[],t[a][0]=_,t[a][1]=0,t[a][2]=T,a++)}}return t},getInitialData:function(t,a){for(var c=a.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],h=c.get("type"),f=p.filter(t.data,function(_){return _[2]!==void 0}),g=this.fixData(f||[]),S=[],y=this.nameMap=p.createHashMap(),E=0,C=0;C<g.length;++C)S.push(g[C][i]),y.get(g[C][i])||(y.set(g[C][i],E),E++);var T=A(g,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:m(h)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),x=new v(T,this);return x.initData(g),x},getLayerSeries:function(){for(var t=this.getData(),a=t.count(),c=[],h=0;h<a;++h)c[h]=h;var f=t.mapDimension("single"),g=u(c,function(y){return t.get("name",y)}),S=[];return g.buckets.each(function(y,E){y.sort(function(C,T){return t.get(f,C)-t.get(f,T)}),S.push({name:E,indices:y})}),S},getAxisTooltipData:function(t,a,c){p.isArray(t)||(t=t?[t]:[]);for(var h=this.getData(),f=this.getLayerSeries(),g=[],S=f.length,y,E=0;E<S;++E){for(var C=Number.MAX_VALUE,T=-1,x=f[E].indices.length,_=0;_<x;++_){var I=h.get(t[0],f[E].indices[_]),L=Math.abs(I-a);L<=C&&(y=I,C=L,T=f[E].indices[_])}g.push(T)}return{dataIndices:g,nestestValue:y}},formatTooltip:function(t){var a=this.getData(),c=a.getName(t),h=a.get(a.mapDimension("value"),t);return(isNaN(h)||h==null)&&(h="-"),e(c+" : "+h)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),l=n;M.exports=l},rkZ5:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("ProS"),m=d("c8qY"),v=d("D9ME"),p=d("fls0"),s=d("RSch"),u=d("akwb"),o=d("o40c"),e=d("ZYIC"),r=d("sK/D"),i=r.createClipPath,n=b.extendChartView({type:"lines",init:function(){},render:function(l,t,a){var c=l.getData(),h=this._updateLineDraw(c,l),f=l.get("zlevel"),g=l.get("effect.trailLength"),S=a.getZr(),y=S.painter.getType()==="svg";y||S.painter.getLayer(f).clear(!0),this._lastZlevel!=null&&!y&&S.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(l)&&g&&(y||S.configLayer(f,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(g/10+.9,1),0)})),h.updateData(c);var E=l.get("clip",!0)&&i(l.coordinateSystem,!1,l);E?this.group.setClipPath(E):this.group.removeClipPath(),this._lastZlevel=f,this._finished=!0},incrementalPrepareRender:function(l,t,a){var c=l.getData(),h=this._updateLineDraw(c,l);h.incrementalPrepareUpdate(c),this._clearLayer(a),this._finished=!1},incrementalRender:function(l,t,a){this._lineDraw.incrementalUpdate(l,t.getData()),this._finished=l.end===t.getData().count()},updateTransform:function(l,t,a){var c=l.getData(),h=l.pipelineContext;if(!this._finished||h.large||h.progressiveRender)return{update:!0};var f=e.reset(l);f.progress&&f.progress({start:0,end:c.count()},c),this._lineDraw.updateLayout(),this._clearLayer(a)},_updateLineDraw:function(l,t){var a=this._lineDraw,c=this._showEffect(t),h=!!t.get("polyline"),f=t.pipelineContext,g=f.large;return(!a||c!==this._hasEffet||h!==this._isPolyline||g!==this._isLargeDraw)&&(a&&a.remove(),a=this._lineDraw=g?new o:new m(h?c?u:s:c?v:p),this._hasEffet=c,this._isPolyline=h,this._isLargeDraw=g,this.group.removeAll()),this.group.add(a.group),a},_showEffect:function(l){return!!l.get("effect.show")},_clearLayer:function(l){var t=l.getZr(),a=t.painter.getType()==="svg";!a&&this._lastZlevel!=null&&t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(l,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});M.exports=n},rmlV:function(M,P,d){var w=d("y+Vt"),A=w.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(m,v){var p=.5522848,s=v.cx,u=v.cy,o=v.rx,e=v.ry,r=o*p,i=e*p;m.moveTo(s-o,u),m.bezierCurveTo(s-o,u-i,s-r,u-e,s,u-e),m.bezierCurveTo(s+r,u-e,s+o,u-i,s+o,u),m.bezierCurveTo(s+o,u+i,s+r,u+e,s,u+e),m.bezierCurveTo(s-r,u+e,s-o,u+i,s-o,u),m.closePath()}});M.exports=A},rnVJ:function(M,P,d){var w=d("bYtY"),A=["rect","polygon","keep","clear"];function b(v,p){var s=v&&v.brush;if(w.isArray(s)||(s=s?[s]:[]),!s.length)return;var u=[];w.each(s,function(n){var l=n.hasOwnProperty("toolbox")?n.toolbox:[];l instanceof Array&&(u=u.concat(l))});var o=v&&v.toolbox;w.isArray(o)&&(o=o[0]),o||(o={feature:{}},v.toolbox=[o]);var e=o.feature||(o.feature={}),r=e.brush||(e.brush={}),i=r.type||(r.type=[]);i.push.apply(i,u),m(i),p&&!i.length&&i.push.apply(i,A)}function m(v){var p={};w.each(v,function(s){p[s]=1}),v.length=0,w.each(p,function(s,u){v.push(u)})}M.exports=b},rta0:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("bKpd"),m=d.n(b),v=d("UFpP"),p=d("s6WR")},rwxt:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var w=d("GdRQ");function A(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function b(s,u){for(var o=0;o<u.length;o++){var e=u[o];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(s,e.key,e)}}function m(s,u,o){return u&&b(s.prototype,u),o&&b(s,o),s}var v=!w.supportsCursorURIs||w.isTouchDevice,p=function(){function s(){A(this,s),this._target=null,this._canvas=document.createElement("canvas"),v&&(this._canvas.style.position="fixed",this._canvas.style.zIndex="65535",this._canvas.style.pointerEvents="none",this._canvas.style.visibility="hidden"),this._position={x:0,y:0},this._hotSpot={x:0,y:0},this._eventHandlers={mouseover:this._handleMouseOver.bind(this),mouseleave:this._handleMouseLeave.bind(this),mousemove:this._handleMouseMove.bind(this),mouseup:this._handleMouseUp.bind(this)}}return m(s,[{key:"attach",value:function(o){if(this._target&&this.detach(),this._target=o,v){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(v){var o={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,o),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,o),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,o),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,o),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(o,e,r,i,n){if(i===0||n===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-e,this._position.y=this._position.y+this._hotSpot.y-r,this._hotSpot.x=e,this._hotSpot.y=r;var l=this._canvas.getContext("2d");this._canvas.width=i,this._canvas.height=n;var t;try{t=new ImageData(new Uint8ClampedArray(o),i,n)}catch(c){t=l.createImageData(i,n),t.data.set(new Uint8ClampedArray(o))}if(l.clearRect(0,0,i,n),l.putImageData(t,0,0),v)this._updatePosition();else{var a=this._canvas.toDataURL();this._target.style.cursor="url("+a+")"+e+" "+r+", 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(o,e){if(!v)return;window.visualViewport?(this._position.x=o+window.visualViewport.offsetLeft,this._position.y=e+window.visualViewport.offsetTop):(this._position.x=o,this._position.y=e),this._updatePosition();var r=document.elementFromPoint(o,e);this._updateVisibility(r)}},{key:"_handleMouseOver",value:function(o){this._handleMouseMove(o)}},{key:"_handleMouseLeave",value:function(o){this._updateVisibility(o.relatedTarget)}},{key:"_handleMouseMove",value:function(o){this._updateVisibility(o.target),this._position.x=o.clientX-this._hotSpot.x,this._position.y=o.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(o){var e=this,r=document.elementFromPoint(o.clientX,o.clientY);this._updateVisibility(r),this._captureIsActive()&&window.setTimeout(function(){if(!e._target)return;r=document.elementFromPoint(o.clientX,o.clientY),e._updateVisibility(r)},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(o){return o?o===this._target?!0:this._target.contains(o)?!(window.getComputedStyle(o).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(o){this._captureIsActive()&&(o=document.captureElement),this._shouldShowCursor(o)?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)}}]),s}();P.default=p},rySg:function(M,P,d){d("SMc4"),d("8nMs")},s2lz:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("IwbS"),m=d("gPAo"),v=d("VaxA"),p=d("9hCq"),s=d("SgGq"),u=d("mFDi"),o=d("Fofx"),e=d("5s0K"),r=d("KCsZ"),i=d("7aKB"),n=i.windowOpen,l=A.bind,t=b.Group,a=b.Rect,c=A.each,h=3,f=["label"],g=["emphasis","label"],S=["upperLabel"],y=["emphasis","upperLabel"],E=10,C=1,T=2,x=r([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),_=function(N){var k=x(N);return k.stroke=k.fill=k.lineWidth=null,k},I=w.extendChartView({type:"treemap",init:function(N,k){this._containerGroup,this._storage=L(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(N,k,W,R){var j=k.findComponents({mainType:"series",subType:"treemap",query:R});if(A.indexOf(j,N)<0)return;this.seriesModel=N,this.api=W,this.ecModel=k;var H=["treemapZoomToNode","treemapRootToNode"],K=v.retrieveTargetInfo(R,H,N),U=R&&R.type,Q=N.layoutInfo,V=!this._oldTree,J=this._storage,ae=U==="treemapRootToNode"&&K&&J?{rootNodeGroup:J.nodeGroup[K.node.getRawIndex()],direction:R.direction}:null,se=this._giveContainerGroup(Q),$=this._doRender(se,N,ae);!V&&(!U||U==="treemapZoomToNode"||U==="treemapRootToNode")?this._doAnimation(se,$,N,ae):$.renderFinally(),this._resetController(W),this._renderBreadcrumb(N,W,K)},_giveContainerGroup:function(N){var k=this._containerGroup;return k||(k=this._containerGroup=new t,this._initEvents(k),this.group.add(k)),k.attr("position",[N.x,N.y]),k},_doRender:function(N,k,W){var R=k.getData().tree,j=this._oldTree,H=L(),K=L(),U=this._storage,Q=[],V=A.curry(D,k,K,U,W,H,Q);ae(R.root?[R.root]:[],j&&j.root?[j.root]:[],N,R===j||!j,0);var J=se(U);return this._oldTree=R,this._storage=K,{lastsForAnimation:H,willDeleteEls:J,renderFinally:$};function ae(ge,he,Ie,Se,Le){Se?(he=ge,c(ge,function(pe,We){!pe.isRemoved()&&G(We,We)})):new m(he,ge,He,He).add(G).update(G).remove(A.curry(G,null)).execute();function He(pe){return pe.getId()}function G(pe,We){var te=pe!=null?ge[pe]:null,X=We!=null?he[We]:null,z=V(te,X,Ie,Le);z&&ae(te&&te.viewChildren||[],X&&X.viewChildren||[],z,Se,Le+1)}}function se(ge){var he=L();return ge&&c(ge,function(Ie,Se){var Le=he[Se];c(Ie,function(He){He&&(Le.push(He),He.__tmWillDelete=1)})}),he}function $(){c(J,function(ge){c(ge,function(he){he.parent&&he.parent.remove(he)})}),c(Q,function(ge){ge.invisible=!0,ge.dirty()})}},_doAnimation:function(N,k,W,R){if(!W.get("animation"))return;var j=W.get("animationDurationUpdate"),H=W.get("animationEasing"),K=e.createWrap();c(k.willDeleteEls,function(U,Q){c(U,function(V,J){if(V.invisible)return;var ae=V.parent,se;if(R&&R.direction==="drillDown")se=ae===R.rootNodeGroup?{shape:{x:0,y:0,width:ae.__tmNodeWidth,height:ae.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var $=0,ge=0;ae.__tmWillDelete||($=ae.__tmNodeWidth/2,ge=ae.__tmNodeHeight/2),se=Q==="nodeGroup"?{position:[$,ge],style:{opacity:0}}:{shape:{x:$,y:ge,width:0,height:0},style:{opacity:0}}}se&&K.add(V,se,j,H)})}),c(this._storage,function(U,Q){c(U,function(V,J){var ae=k.lastsForAnimation[Q][J],se={};if(!ae)return;Q==="nodeGroup"?ae.old&&(se.position=V.position.slice(),V.attr("position",ae.old)):(ae.old&&(se.shape=A.extend({},V.shape),V.setShape(ae.old)),ae.fadein?(V.setStyle("opacity",0),se.style={opacity:1}):V.style.opacity!==1&&(se.style={opacity:1})),K.add(V,se,j,H)})},this),this._state="animating",K.done(l(function(){this._state="ready",k.renderFinally()},this)).start()},_resetController:function(N){var k=this._controller;k||(k=this._controller=new s(N.getZr()),k.enable(this.seriesModel.get("roam")),k.on("pan",l(this._onPan,this)),k.on("zoom",l(this._onZoom,this)));var W=new u(0,0,N.getWidth(),N.getHeight());k.setPointerChecker(function(R,j,H){return W.contain(j,H)})},_clearController:function(){var N=this._controller;N&&(N.dispose(),N=null)},_onPan:function(N){if(this._state!=="animating"&&(Math.abs(N.dx)>h||Math.abs(N.dy)>h)){var k=this.seriesModel.getData().tree.root;if(!k)return;var W=k.getLayout();if(!W)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:W.x+N.dx,y:W.y+N.dy,width:W.width,height:W.height}})}},_onZoom:function(N){var k=N.originX,W=N.originY;if(this._state!=="animating"){var R=this.seriesModel.getData().tree.root;if(!R)return;var j=R.getLayout();if(!j)return;var H=new u(j.x,j.y,j.width,j.height),K=this.seriesModel.layoutInfo;k-=K.x,W-=K.y;var U=o.create();o.translate(U,U,[-k,-W]),o.scale(U,U,[N.scale,N.scale]),o.translate(U,U,[k,W]),H.applyTransform(U),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(N){N.on("click",function(k){if(this._state!=="ready")return;var W=this.seriesModel.get("nodeClick",!0);if(!W)return;var R=this.findTarget(k.offsetX,k.offsetY);if(!R)return;var j=R.node;if(j.getLayout().isLeafRoot)this._rootToNode(R);else if(W==="zoomToNode")this._zoomToNode(R);else if(W==="link"){var H=j.hostTree.data.getItemModel(j.dataIndex),K=H.get("link",!0),U=H.get("target",!0)||"blank";K&&n(K,U)}},this)},_renderBreadcrumb:function(N,k,W){W||(W=N.get("leafDepth",!0)!=null?{node:N.getViewRoot()}:this.findTarget(k.getWidth()/2,k.getHeight()/2),W||(W={node:N.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new p(this.group))).render(N,k,W.node,l(R,this));function R(j){this._state!=="animating"&&(v.aboveViewRoot(N.getViewRoot(),j)?this._rootToNode({node:j}):this._zoomToNode({node:j}))}},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(N){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:N.node})},_rootToNode:function(N){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:N.node})},findTarget:function(N,k){var W,R=this.seriesModel.getViewRoot();return R.eachNode({attr:"viewChildren",order:"preorder"},function(j){var H=this._storage.background[j.getRawIndex()];if(H){var K=H.transformCoordToLocal(N,k),U=H.shape;if(U.x<=K[0]&&K[0]<=U.x+U.width&&U.y<=K[1]&&K[1]<=U.y+U.height)W={node:j,offsetX:K[0],offsetY:K[1]};else return!1}},this),W}});function L(){return{nodeGroup:[],background:[],content:[]}}function D(N,k,W,R,j,H,K,U,Q,V){if(!K)return;var J=K.getLayout(),ae=N.getData();if(ae.setItemGraphicEl(K.dataIndex,null),!J||!J.isInView)return;var se=J.width,$=J.height,ge=J.borderWidth,he=J.invisible,Ie=K.getRawIndex(),Se=U&&U.getRawIndex(),Le=K.viewChildren,He=J.upperHeight,G=Le&&Le.length,pe=K.getModel("itemStyle"),We=K.getModel("emphasis.itemStyle"),te=de("nodeGroup",t);if(!te)return;if(Q.add(te),te.attr("position",[J.x||0,J.y||0]),te.__tmNodeWidth=se,te.__tmNodeHeight=$,J.isAboveViewRoot)return te;var X=K.getModel(),z=de("background",a,V,C);if(z&&be(te,z,G&&J.upperLabelHeight),G)b.isHighDownDispatcher(te)&&b.setAsHighDownDispatcher(te,!1),z&&(b.setAsHighDownDispatcher(z,!0),ae.setItemGraphicEl(K.dataIndex,z));else{var Z=de("content",a,V,T);Z&&ne(te,Z),z&&b.isHighDownDispatcher(z)&&b.setAsHighDownDispatcher(z,!1),b.setAsHighDownDispatcher(te,!0),ae.setItemGraphicEl(K.dataIndex,te)}return te;function be(tt,Je,Oe){if(Je.dataIndex=K.dataIndex,Je.seriesIndex=N.seriesIndex,Je.setShape({x:0,y:0,width:se,height:$}),he)Ae(Je);else{Je.invisible=!1;var pt=K.getVisual("borderColor",!0),Qe=We.get("borderColor"),nt=_(pe);nt.fill=pt;var bt=x(We);if(bt.fill=Qe,Oe){var Tt=se-2*ge;Ne(nt,bt,pt,Tt,He,{x:ge,y:0,width:Tt,height:He})}else nt.text=bt.text=null;Je.setStyle(nt),b.setElementHoverStyle(Je,bt)}tt.add(Je)}function ne(tt,Je){Je.dataIndex=K.dataIndex,Je.seriesIndex=N.seriesIndex;var Oe=Math.max(se-2*ge,0),pt=Math.max($-2*ge,0);if(Je.culling=!0,Je.setShape({x:ge,y:ge,width:Oe,height:pt}),he)Ae(Je);else{Je.invisible=!1;var Qe=K.getVisual("color",!0),nt=_(pe);nt.fill=Qe;var bt=x(We);Ne(nt,bt,Qe,Oe,pt),Je.setStyle(nt),b.setElementHoverStyle(Je,bt)}tt.add(Je)}function Ae(tt){!tt.invisible&&H.push(tt)}function Ne(tt,Je,Oe,pt,Qe,nt){var bt=X.get("name"),Tt=X.getModel(nt?S:f),Ct=X.getModel(nt?y:g),Nt=Tt.getShallow("show");b.setLabelStyle(tt,Je,Tt,Ct,{defaultText:Nt?bt:null,autoColor:Oe,isRectText:!0,labelFetcher:N,labelDataIndex:K.dataIndex,labelProp:nt?"upperLabel":"label"}),oe(tt,nt,J),oe(Je,nt,J),nt&&(tt.textRect=A.clone(nt)),tt.truncate=Nt&&Tt.get("ellipsis")?{outerWidth:pt,outerHeight:Qe,minChar:2}:null}function oe(tt,Je,Oe){var pt=tt.text;if(!Je&&Oe.isLeafRoot&&pt!=null){var Qe=N.get("drillDownIcon",!0);tt.text=Qe?Qe+" "+pt:pt}}function de(tt,Je,Oe,pt){var Qe=Se!=null&&W[tt][Se],nt=j[tt];return Qe?(W[tt][Se]=null,xe(nt,Qe,tt)):he||(Qe=new Je({z:B(Oe,pt)}),Qe.__tmDepth=Oe,Qe.__tmStorageName=tt,Pe(nt,Qe,tt)),k[tt][Ie]=Qe}function xe(tt,Je,Oe){var pt=tt[Ie]={};pt.old=Oe==="nodeGroup"?Je.position.slice():A.extend({},Je.shape)}function Pe(tt,Je,Oe){var pt=tt[Ie]={},Qe=K.parentNode;if(Qe&&(!R||R.direction==="drillDown")){var nt=0,bt=0,Tt=j.background[Qe.getRawIndex()];!R&&Tt&&Tt.old&&(nt=Tt.old.width,bt=Tt.old.height),pt.old=Oe==="nodeGroup"?[0,bt]:{x:nt,y:bt,width:0,height:0}}pt.fadein=Oe!=="nodeGroup"}}function B(N,k){var W=N*E+k;return(W-1)/W}M.exports=I},sAZ8:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("+rIm"),m=d("/IIm"),v=d("9KIM"),p=d("IwbS"),s=["axisLine","axisTickLabel","axisName"],u=w.extendComponentView({type:"parallelAxis",init:function(n,l){u.superApply(this,"init",arguments),(this._brushController=new m(l.getZr())).on("brush",A.bind(this._onBrush,this))},render:function(n,l,t,a){if(o(n,l,a))return;this.axisModel=n,this.api=t,this.group.removeAll();var c=this._axisGroup;if(this._axisGroup=new p.Group,this.group.add(this._axisGroup),!n.get("show"))return;var h=r(n,l),f=h.coordinateSystem,g=n.getAreaSelectStyle(),S=g.width,y=n.axis.dim,E=f.getAxisLayout(y),C=A.extend({strokeContainThreshold:S},E),T=new b(n,C);A.each(s,T.add,T),this._axisGroup.add(T.getGroup()),this._refreshBrushController(C,g,n,h,S,t);var x=a&&a.animation===!1?null:n;p.groupTransition(c,this._axisGroup,x)},_refreshBrushController:function(n,l,t,a,c,h){var f=t.axis.getExtent(),g=f[1]-f[0],S=Math.min(30,Math.abs(g)*.1),y=p.BoundingRect.create({x:f[0],y:-c/2,width:g,height:c});y.x-=S,y.width+=2*S,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,position:n.position}).setPanels([{panelId:"pl",clipPath:v.makeRectPanelClipPath(y),isTargetByCursor:v.makeRectIsTargetByCursor(y,h,a),getLinearBrushOtherExtent:v.makeLinearBrushOtherExtent(y,0)}]).enableBrush({brushType:"lineX",brushStyle:l,removeOnClick:!0}).updateCovers(e(t))},_onBrush:function(n,l){var t=this.axisModel,a=t.axis,c=A.map(n,function(h){return[a.coordToData(h.range[0],!0),a.coordToData(h.range[1],!0)]});(!t.option.realtime===l.isEnd||l.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:t.id,intervals:c})},dispose:function(){this._brushController.dispose()}});function o(n,l,t){return t&&t.type==="axisAreaSelect"&&l.findComponents({mainType:"parallelAxis",query:t})[0]===n}function e(n){var l=n.axis;return A.map(n.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[l.dataToCoord(t[0],!0),l.dataToCoord(t[1],!0)]}})}function r(n,l){return l.getComponent("parallel",n.get("parallelIndex"))}var i=u;M.exports=i},"sK/D":function(M,P,d){var w=d("IwbS"),A=d("OELB"),b=A.round;function m(s,u,o){var e=s.getArea(),r=s.getBaseAxis().isHorizontal(),i=e.x,n=e.y,l=e.width,t=e.height,a=o.get("lineStyle.width")||2;i-=a/2,n-=a/2,l+=a,t+=a,i=Math.floor(i),l=Math.round(l);var c=new w.Rect({shape:{x:i,y:n,width:l,height:t}});return u&&(c.shape[r?"width":"height"]=0,w.initProps(c,{shape:{width:l,height:t}},o)),c}function v(s,u,o){var e=s.getArea(),r=new w.Sector({shape:{cx:b(s.cx,1),cy:b(s.cy,1),r0:b(e.r0,1),r:b(e.r,1),startAngle:e.startAngle,endAngle:e.endAngle,clockwise:e.clockwise}});return u&&(r.shape.endAngle=e.startAngle,w.initProps(r,{shape:{endAngle:e.endAngle}},o)),r}function p(s,u,o){if(s){if(s.type==="polar")return v(s,u,o);if(s.type==="cartesian2d")return m(s,u,o)}else return null;return null}P.createGridClipPath=m,P.createPolarClipPath=v,P.createClipPath=p},sKAj:function(M,P,d){"use strict";var w=d("rePB"),A=d("wx14"),b=d("q1tI"),m=d("TSYQ"),v=d.n(m),p=d("9R2V"),s=d("IepU"),u=d("B6l+"),o=d.n(u),e=function(N){var k=N.value,W=N.formatter,R=N.precision,j=N.decimalSeparator,H=N.groupSeparator,K=H===void 0?"":H,U=N.prefixCls,Q;if(typeof W=="function")Q=W(k);else{var V=String(k),J=V.match(/^(-?)(\d*)(\.(\d+))?$/);if(!J||V==="-")Q=V;else{var ae=J[1],se=J[2]||"0",$=J[4]||"";se=se.replace(/\B(?=(\d{3})+(?!\d))/g,K),typeof R=="number"&&($=o()($,R,"0").slice(0,R)),$&&($="".concat(j).concat($)),Q=[b.createElement("span",{key:"int",className:"".concat(U,"-content-value-int")},ae,se),$&&b.createElement("span",{key:"decimal",className:"".concat(U,"-content-value-decimal")},$)]}}return b.createElement("span",{className:"".concat(U,"-content-value")},Q)},r=e,i=function(N){var k=N.prefixCls,W=N.className,R=N.style,j=N.valueStyle,H=N.value,K=H===void 0?0:H,U=N.title,Q=N.valueRender,V=N.prefix,J=N.suffix,ae=N.loading,se=N.direction,$=N.onMouseEnter,ge=N.onMouseLeave,he=b.createElement(r,Object(A.a)({},N,{value:K})),Ie=v()(k,Object(w.a)({},"".concat(k,"-rtl"),se==="rtl"),W);return b.createElement("div",{className:Ie,style:R,onMouseEnter:$,onMouseLeave:ge},U&&b.createElement("div",{className:"".concat(k,"-title")},U),b.createElement(s.a,{paragraph:!1,loading:ae},b.createElement("div",{style:j,className:"".concat(k,"-content")},V&&b.createElement("span",{className:"".concat(k,"-content-prefix")},V),Q?Q(he):he,J&&b.createElement("span",{className:"".concat(k,"-content-suffix")},J))))};i.defaultProps={decimalSeparator:".",groupSeparator:",",loading:!1};var n=Object(p.c)({prefixCls:"statistic"})(i),l=n,t=d("1OyB"),a=d("vuIU"),c=d("Ji7U"),h=d("LK+K"),f=d("ODXe"),g=d("QQZ/"),S=d.n(g),y=[["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(B,N){var k=B,W=/\[[^\]]*]/g,R=(N.match(W)||[]).map(function(U){return U.slice(1,-1)}),j=N.replace(W,"[]"),H=y.reduce(function(U,Q){var V=Object(f.a)(Q,2),J=V[0],ae=V[1];if(U.indexOf(J)!==-1){var se=Math.floor(k/ae);return k-=se*ae,U.replace(new RegExp("".concat(J,"+"),"g"),function($){var ge=$.length;return S()(se.toString(),ge,"0")})}return U},j),K=0;return H.replace(W,function(){var U=R[K];return K+=1,U})}function C(B,N){var k=N.format,W=k===void 0?"":k,R=new Date(B).getTime(),j=Date.now(),H=Math.max(R-j,0);return E(H,W)}var T=d("kLeg"),x=1e3/30;function _(B){return new Date(B).getTime()}var I=function(B){Object(c.a)(k,B);var N=Object(h.a)(k);function k(){var W;return Object(t.a)(this,k),W=N.apply(this,arguments),W.syncTimer=function(){var R=W.props.value,j=_(R);j>=Date.now()?W.startTimer():W.stopTimer()},W.startTimer=function(){if(W.countdownId)return;var R=W.props,j=R.onChange,H=R.value,K=_(H);W.countdownId=window.setInterval(function(){W.forceUpdate(),j&&K>Date.now()&&j(K-Date.now())},x)},W.stopTimer=function(){var R=W.props,j=R.onFinish,H=R.value;if(W.countdownId){clearInterval(W.countdownId),W.countdownId=void 0;var K=_(H);j&&K<Date.now()&&j()}},W.formatCountdown=function(R,j){var H=W.props.format;return C(R,Object(A.a)(Object(A.a)({},j),{format:H}))},W.valueRender=function(R){return Object(T.a)(R,{title:void 0})},W}return Object(a.a)(k,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return b.createElement(l,Object(A.a)({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),k}(b.Component);I.defaultProps={format:"HH:mm:ss"};var L=I;l.Countdown=L;var D=P.a=l},sKgW:function(M,P){var d=9007199254740991,w=Math.floor;function A(b,m){var v="";if(!b||m<1||m>d)return v;do m%2&&(v+=b),m=w(m/2),m&&(b+=b);while(m);return v}M.exports=A},sOUE:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("kh1m"),m=d.n(b)},sRwP:function(M,P,d){d("jsU+"),d("2548"),d("Tp9H"),d("06DH"),d("dnwI"),d("fE02"),d("33Ds")},"sS/r":function(M,P,d){var w=d("4fz+"),A=d("iRjW"),b=d("Yl7c"),m=function(){this.group=new w,this.uid=A.getUID("viewComponent")};m.prototype={constructor:m,init:function(s,u){},render:function(s,u,o,e){},dispose:function(){},filterForExposedEvent:null};var v=m.prototype;v.updateView=v.updateLayout=v.updateVisual=function(s,u,o,e){},b.enableClassExtend(m),b.enableClassManagement(m,{registerWhenExtend:!0});var p=m;M.exports=p},"sW+o":function(M,P,d){var w=d("SrGk"),A=d("bYtY"),b=d("SUKs"),m=d("Qe9p");function v(s,u){w.call(this,s,u,["linearGradient","radialGradient"],"__gradient_in_use__")}A.inherits(v,w),v.prototype.addWithoutUpdate=function(s,u){if(u&&u.style){var o=this;A.each(["fill","stroke"],function(e){if(u.style[e]&&(u.style[e].type==="linear"||u.style[e].type==="radial")){var r=u.style[e],i=o.getDefs(!0),n;r._dom?(n=r._dom,i.contains(r._dom)||o.addDom(n)):n=o.add(r),o.markUsed(u);var l=n.getAttribute("id");s.setAttribute(e,"url(#"+l+")")}})}},v.prototype.add=function(s){var u;if(s.type==="linear")u=this.createElement("linearGradient");else if(s.type==="radial")u=this.createElement("radialGradient");else return b("Illegal gradient type."),null;return s.id=s.id||this.nextId++,u.setAttribute("id","zr"+this._zrId+"-gradient-"+s.id),this.updateDom(s,u),this.addDom(u),u},v.prototype.update=function(s){var u=this;w.prototype.update.call(this,s,function(){var o=s.type,e=s._dom.tagName;o==="linear"&&e==="linearGradient"||o==="radial"&&e==="radialGradient"?u.updateDom(s,s._dom):(u.removeDom(s),u.add(s))})},v.prototype.updateDom=function(s,u){if(s.type==="linear")u.setAttribute("x1",s.x),u.setAttribute("y1",s.y),u.setAttribute("x2",s.x2),u.setAttribute("y2",s.y2);else if(s.type==="radial")u.setAttribute("cx",s.x),u.setAttribute("cy",s.y),u.setAttribute("r",s.r);else{b("Illegal gradient type.");return}s.global?u.setAttribute("gradientUnits","userSpaceOnUse"):u.setAttribute("gradientUnits","objectBoundingBox"),u.innerHTML="";for(var o=s.colorStops,e=0,r=o.length;e<r;++e){var i=this.createElement("stop");i.setAttribute("offset",o[e].offset*100+"%");var n=o[e].color;if(n.indexOf("rgba">-1)){var l=m.parse(n)[3],t=m.toHex(n);i.setAttribute("stop-color","#"+t),i.setAttribute("stop-opacity",l)}else i.setAttribute("stop-color",o[e].color);u.appendChild(i)}s._dom=u},v.prototype.markUsed=function(s){if(s.style){var u=s.style.fill;u&&u._dom&&w.prototype.markUsed.call(this,u._dom),u=s.style.stroke,u&&u._dom&&w.prototype.markUsed.call(this,u._dom)}};var p=v;M.exports=p},sbK1:function(M,P,d){"use strict";var w=d("wx14"),A=d("rePB"),b=d("KQm4"),m=d("q1tI"),v=d("TSYQ"),p=d.n(v),s=d("Zm9Q"),u=d("8Skl"),o=d("C1wK"),e=d("9R2V"),r=function(_,I){var L={};for(var D in _)Object.prototype.hasOwnProperty.call(_,D)&&I.indexOf(D)<0&&(L[D]=_[D]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,D=Object.getOwnPropertySymbols(_);B<D.length;B++)I.indexOf(D[B])<0&&Object.prototype.propertyIsEnumerable.call(_,D[B])&&(L[D[B]]=_[D[B]]);return L},i=function(I){var L=I.prefixCls,D=I.separator,B=D===void 0?"/":D,N=I.children,k=I.overlay,W=I.dropdownProps,R=r(I,["prefixCls","separator","children","overlay","dropdownProps"]),j=m.useContext(e.b),H=j.getPrefixCls,K=H("breadcrumb",L),U=function(J){return k?m.createElement(o.a,Object(w.a)({overlay:k,placement:"bottomCenter"},W),m.createElement("span",{className:"".concat(K,"-overlay-link")},J,m.createElement(u.a,null))):J},Q;return"href"in R?Q=m.createElement("a",Object(w.a)({className:"".concat(K,"-link")},R),N):Q=m.createElement("span",Object(w.a)({className:"".concat(K,"-link")},R),N),Q=U(Q),N?m.createElement("span",null,Q,B&&m.createElement("span",{className:"".concat(K,"-separator")},B)):null};i.__ANT_BREADCRUMB_ITEM=!0;var n=i,l=function(I){var L=I.children,D=m.useContext(e.b),B=D.getPrefixCls,N=B("breadcrumb");return m.createElement("span",{className:"".concat(N,"-separator")},L||"/")};l.__ANT_BREADCRUMB_SEPARATOR=!0;var t=l,a=d("AE+S"),c=d("bq+4"),h=d("kLeg"),f=function(_,I){var L={};for(var D in _)Object.prototype.hasOwnProperty.call(_,D)&&I.indexOf(D)<0&&(L[D]=_[D]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,D=Object.getOwnPropertySymbols(_);B<D.length;B++)I.indexOf(D[B])<0&&Object.prototype.propertyIsEnumerable.call(_,D[B])&&(L[D[B]]=_[D[B]]);return L};function g(_,I){if(!_.breadcrumbName)return null;var L=Object.keys(I).join("|"),D=_.breadcrumbName.replace(new RegExp(":(".concat(L,")"),"g"),function(B,N){return I[N]||B});return D}function S(_,I,L,D){var B=L.indexOf(_)===L.length-1,N=g(_,I);return B?m.createElement("span",null,N):m.createElement("a",{href:"#/".concat(D.join("/"))},N)}var y=function(I,L){return I=(I||"").replace(/^\//,""),Object.keys(L).forEach(function(D){I=I.replace(":".concat(D),L[D])}),I},E=function(I){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",D=arguments.length>2?arguments[2]:void 0,B=Object(b.a)(I),N=y(L,D);return N&&B.push(N),B},C=function(I){var L=I.prefixCls,D=I.separator,B=D===void 0?"/":D,N=I.style,k=I.className,W=I.routes,R=I.children,j=I.itemRender,H=j===void 0?S:j,K=I.params,U=K===void 0?{}:K,Q=f(I,["prefixCls","separator","style","className","routes","children","itemRender","params"]),V=m.useContext(e.b),J=V.getPrefixCls,ae=V.direction,se,$=J("breadcrumb",L);if(W&&W.length>0){var ge=[];se=W.map(function(Ie){var Se=y(Ie.path,U);Se&&ge.push(Se);var Le;return Ie.children&&Ie.children.length&&(Le=m.createElement(a.a,null,Ie.children.map(function(He){return m.createElement(a.a.Item,{key:He.path||He.breadcrumbName},H(He,U,W,E(ge,He.path,U)))}))),m.createElement(n,{overlay:Le,separator:B,key:Se||Ie.breadcrumbName},H(Ie,U,W,ge))})}else R&&(se=Object(s.a)(R).map(function(Ie,Se){return Ie&&(Object(c.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(h.a)(Ie,{separator:B,key:Se}))}));var he=p()($,Object(A.a)({},"".concat($,"-rtl"),ae==="rtl"),k);return m.createElement("div",Object(w.a)({className:he,style:N},Q),se)};C.Item=n,C.Separator=t;var T=C,x=P.a=T},sboe:function(M,P,d){"use strict";d.d(P,"a",function(){return b});var w=d("q1tI"),A=d.n(w),b=w.createContext(null)},sdST:function(M,P,d){var w=d("hi0g");function A(b,m){return m=m||{},w(m.coordDimensions||[],b,{dimsDef:m.dimensionsDefine||b.dimensionsDefine,encodeDef:m.encodeDefine||b.encodeDefine,dimCount:m.dimensionsCount,encodeDefaulter:m.encodeDefaulter,generateCoord:m.generateCoord,generateCoordCount:m.generateCoordCount})}M.exports=A},sjKO:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=b;var w=30,A=12;function b(m,v){var p,s,u,o,e,r,i,n,l,t,a,c,h,f,g,S,y,E,C,T,x,_,I,L,D;p=m.state,s=m.next_in,L=m.input,u=s+(m.avail_in-5),o=m.next_out,D=m.output,e=o-(v-m.avail_out),r=o+(m.avail_out-257),i=p.dmax,n=p.wsize,l=p.whave,t=p.wnext,a=p.window,c=p.hold,h=p.bits,f=p.lencode,g=p.distcode,S=(1<<p.lenbits)-1,y=(1<<p.distbits)-1;e:do{h<15&&(c+=L[s++]<<h,h+=8,c+=L[s++]<<h,h+=8),E=f[c&S];t:for(;;){if(C=E>>>24,c>>>=C,h-=C,C=E>>>16&255,C===0)D[o++]=E&65535;else if(C&16){T=E&65535,C&=15,C&&(h<C&&(c+=L[s++]<<h,h+=8),T+=c&(1<<C)-1,c>>>=C,h-=C),h<15&&(c+=L[s++]<<h,h+=8,c+=L[s++]<<h,h+=8),E=g[c&y];r:for(;;){if(C=E>>>24,c>>>=C,h-=C,C=E>>>16&255,C&16){if(x=E&65535,C&=15,h<C&&(c+=L[s++]<<h,h+=8,h<C&&(c+=L[s++]<<h,h+=8)),x+=c&(1<<C)-1,x>i){m.msg="invalid distance too far back",p.mode=w;break e}if(c>>>=C,h-=C,C=o-e,x>C){if(C=x-C,C>l&&p.sane){m.msg="invalid distance too far back",p.mode=w;break e}if(_=0,I=a,t===0){if(_+=n-C,C<T){T-=C;do D[o++]=a[_++];while(--C);_=o-x,I=D}}else if(t<C){if(_+=n+t-C,C-=t,C<T){T-=C;do D[o++]=a[_++];while(--C);if(_=0,t<T){C=t,T-=C;do D[o++]=a[_++];while(--C);_=o-x,I=D}}}else if(_+=t-C,C<T){T-=C;do D[o++]=a[_++];while(--C);_=o-x,I=D}for(;T>2;)D[o++]=I[_++],D[o++]=I[_++],D[o++]=I[_++],T-=3;T&&(D[o++]=I[_++],T>1&&(D[o++]=I[_++]))}else{_=o-x;do D[o++]=D[_++],D[o++]=D[_++],D[o++]=D[_++],T-=3;while(T>2);T&&(D[o++]=D[_++],T>1&&(D[o++]=D[_++]))}}else if((C&64)===0){E=g[(E&65535)+(c&(1<<C)-1)];continue r}else{m.msg="invalid distance code",p.mode=w;break e}break}}else if((C&64)===0){E=f[(E&65535)+(c&(1<<C)-1)];continue t}else if(C&32){p.mode=A;break e}else{m.msg="invalid literal/length code",p.mode=w;break e}break}}while(s<u&&o<r);T=h>>3,s-=T,h-=T<<3,c&=(1<<h)-1,m.next_in=s,m.next_out=o,m.avail_in=s<u?5+(u-s):5-(s-u),m.avail_out=o<r?257+(r-o):257-(o-r),p.hold=c,p.bits=h;return}},szbU:function(M,P,d){var w=d("bYtY"),A=w.each;function b(v){var p=v&&v.visualMap;w.isArray(p)||(p=p?[p]:[]),A(p,function(s){if(!s)return;m(s,"splitList")&&!m(s,"pieces")&&(s.pieces=s.splitList,delete s.splitList);var u=s.pieces;u&&w.isArray(u)&&A(u,function(o){w.isObject(o)&&(m(o,"start")&&!m(o,"min")&&(o.min=o.start),m(o,"end")&&!m(o,"max")&&(o.max=o.end))})})}function m(v,p){return v&&v.hasOwnProperty&&v.hasOwnProperty(p)}M.exports=b},t23M:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("1OyB"),b=d("vuIU"),m=d("Ji7U"),v=d("LK+K"),p=d("q1tI"),s=d.n(p),u=d("m+aA"),o=d("Zm9Q"),e=d("Kwbf"),r=d("c+Xe"),i=d("bdgK"),n="rc-observer-key",l=function(t){Object(m.a)(c,t);var a=Object(v.a)(c);function c(){var h;Object(A.a)(this,c);for(var f=arguments.length,g=new Array(f),S=0;S<f;S++)g[S]=arguments[S];return h=a.call.apply(a,[this].concat(g)),h.resizeObserver=null,h.childNode=null,h.currentElement=null,h.state={width:0,height:0,offsetHeight:0,offsetWidth:0},h.onResize=function(y){var E=h.props.onResize,C=y[0].target,T=C.getBoundingClientRect(),x=T.width,_=T.height,I=C.offsetWidth,L=C.offsetHeight,D=Math.floor(x),B=Math.floor(_);if(h.state.width!==D||h.state.height!==B||h.state.offsetWidth!==I||h.state.offsetHeight!==L){var N={width:D,height:B,offsetWidth:I,offsetHeight:L};if(h.setState(N),E){var k=I===Math.round(x)?x:I,W=L===Math.round(_)?_:L;Promise.resolve().then(function(){E(Object(w.a)(Object(w.a)({},N),{},{offsetWidth:k,offsetHeight:W}),C)})}}},h.setChildNode=function(y){h.childNode=y},h}return Object(b.a)(c,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var f=this.props.disabled;if(f){this.destroyObserver();return}var g=Object(u.a)(this.childNode||this),S=g!==this.currentElement;S&&(this.destroyObserver(),this.currentElement=g),!this.resizeObserver&&g&&(this.resizeObserver=new i.a(this.onResize),this.resizeObserver.observe(g))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var f=this.props.children,g=Object(o.a)(f);if(g.length>1)Object(e.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(g.length===0)return Object(e.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var S=g[0];if(p.isValidElement(S)&&Object(r.c)(S)){var y=S.ref;g[0]=p.cloneElement(S,{ref:Object(r.a)(y,this.setChildNode)})}return g.length===1?g[0]:g.map(function(E,C){return!p.isValidElement(E)||"key"in E&&E.key!==null?E:p.cloneElement(E,{key:"".concat(n,"-").concat(C)})})}}]),c}(p.Component);l.displayName="ResizeObserver",P.a=l},t3Fx:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var w=Object.assign||function(a){for(var c=1;c<arguments.length;c++){var h=arguments[c];for(var f in h)Object.prototype.hasOwnProperty.call(h,f)&&(a[f]=h[f])}return a},A=function(){function a(c,h){for(var f=0;f<h.length;f++){var g=h[f];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,h,f){return h&&a(c.prototype,h),f&&a(c,f),c}}(),b=d("q1tI"),m=r(b),v=d("17x9"),p=r(v),s=d("tkwv"),u=r(s),o=d("u3os"),e=d("kzFp");function r(a){return a&&a.__esModule?a:{default:a}}function i(a,c){if(!(a instanceof c))throw new TypeError("Cannot call a class as a function")}function n(a,c){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:a}function l(a,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}var t=function(a){l(c,a);function c(h){i(this,c);var f=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,h));return f.getEchartsInstance=function(){return f.echartsLib.getInstanceByDom(f.echartsElement)||f.echartsLib.init(f.echartsElement,f.props.theme,f.props.opts)},f.dispose=function(){if(f.echartsElement){try{(0,o.clear)(f.echartsElement)}catch(g){console.warn(g)}f.echartsLib.dispose(f.echartsElement)}},f.rerender=function(){var g=f.props,S=g.onEvents,y=g.onChartReady,E=f.renderEchartDom();f.bindEvents(E,S||{}),typeof y=="function"&&f.props.onChartReady(E),f.echartsElement&&(0,o.bind)(f.echartsElement,function(){try{E.resize()}catch(C){console.warn(C)}})},f.bindEvents=function(g,S){var y=function(T,x){typeof T=="string"&&typeof x=="function"&&g.on(T,function(_){x(_,g)})};for(var E in S)Object.prototype.hasOwnProperty.call(S,E)&&y(E,S[E])},f.renderEchartDom=function(){var g=f.getEchartsInstance();return g.setOption(f.props.option,f.props.notMerge||!1,f.props.lazyUpdate||!1),f.props.showLoading?g.showLoading(f.props.loadingOption||null):g.hideLoading(),g},f.echartsLib=h.echarts,f.echartsElement=null,f}return A(c,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(f){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(f,this.props))return;if(!(0,u.default)(f.theme,this.props.theme)||!(0,u.default)(f.opts,this.props.opts)||!(0,u.default)(f.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var g=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,u.default)((0,e.pick)(this.props,g),(0,e.pick)(f,g)))return;var S=this.renderEchartDom();if(!(0,u.default)(f.style,this.props.style)||!(0,u.default)(f.className,this.props.className))try{S.resize()}catch(y){console.warn(y)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var f=this,g=this.props,S=g.style,y=g.className,E=w({height:300},S);return m.default.createElement("div",{ref:function(T){f.echartsElement=T},style:E,className:"echarts-for-react "+y})}}]),c}(b.Component);P.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,P,d){"use strict";d.d(P,"a",function(){return w});function w(A){return Object.keys(A).reduce(function(b,m){return(m.substr(0,5)==="data-"||m.substr(0,5)==="aria-"||m==="role")&&m.substr(0,7)!=="data-__"&&(b[m]=A[m]),b},{})}},tBnm:function(M,P,d){var w=d("bYtY"),A=d("IwbS"),b=d("Qxkt"),m=d("Znkb"),v=d("+rIm"),p=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function s(r,i,n){i[1]>i[0]&&(i=i.slice().reverse());var l=r.coordToPoint([i[0],n]),t=r.coordToPoint([i[1],n]);return{x1:l[0],y1:l[1],x2:t[0],y2:t[1]}}function u(r){var i=r.getRadiusAxis();return i.inverse?0:1}function o(r){var i=r[0],n=r[r.length-1];i&&n&&Math.abs(Math.abs(i.coord-n.coord)-360)<1e-4&&r.pop()}var e=m.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(r,i){if(this.group.removeAll(),!r.get("show"))return;var n=r.axis,l=n.polar,t=l.getRadiusAxis().getExtent(),a=n.getTicksCoords(),c=n.getMinorTicksCoords(),h=w.map(n.getViewLabels(),function(f){var f=w.clone(f);return f.coord=n.dataToCoord(f.tickValue),f});o(h),o(a),w.each(p,function(f){r.get(f+".show")&&(!n.scale.isBlank()||f==="axisLine")&&this["_"+f](r,l,a,c,t,h)},this)},_axisLine:function(r,i,n,l,t){var a=r.getModel("axisLine.lineStyle"),c=u(i),h=c?0:1,f;t[h]===0?f=new A.Circle({shape:{cx:i.cx,cy:i.cy,r:t[c]},style:a.getLineStyle(),z2:1,silent:!0}):f=new A.Ring({shape:{cx:i.cx,cy:i.cy,r:t[c],r0:t[h]},style:a.getLineStyle(),z2:1,silent:!0}),f.style.fill=null,this.group.add(f)},_axisTick:function(r,i,n,l,t){var a=r.getModel("axisTick"),c=(a.get("inside")?-1:1)*a.get("length"),h=t[u(i)],f=w.map(n,function(g){return new A.Line({shape:s(i,[h,h+c],g.coord)})});this.group.add(A.mergePath(f,{style:w.defaults(a.getModel("lineStyle").getLineStyle(),{stroke:r.get("axisLine.lineStyle.color")})}))},_minorTick:function(r,i,n,l,t){if(!l.length)return;for(var a=r.getModel("axisTick"),c=r.getModel("minorTick"),h=(a.get("inside")?-1:1)*c.get("length"),f=t[u(i)],g=[],S=0;S<l.length;S++)for(var y=0;y<l[S].length;y++)g.push(new A.Line({shape:s(i,[f,f+h],l[S][y].coord)}));this.group.add(A.mergePath(g,{style:w.defaults(c.getModel("lineStyle").getLineStyle(),w.defaults(a.getLineStyle(),{stroke:r.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(r,i,n,l,t,a){var c=r.getCategories(!0),h=r.getModel("axisLabel"),f=h.get("margin"),g=r.get("triggerEvent");w.each(a,function(S,y){var E=h,C=S.tickValue,T=t[u(i)],x=i.coordToPoint([T+f,S.coord]),_=i.cx,I=i.cy,L=Math.abs(x[0]-_)/T<.3?"center":x[0]>_?"left":"right",D=Math.abs(x[1]-I)/T<.3?"middle":x[1]>I?"top":"bottom";c&&c[C]&&c[C].textStyle&&(E=new b(c[C].textStyle,h,h.ecModel));var B=new A.Text({silent:v.isLabelSilent(r)});this.group.add(B),A.setTextStyle(B.style,E,{x:x[0],y:x[1],textFill:E.getTextColor()||r.get("axisLine.lineStyle.color"),text:S.formattedLabel,textAlign:L,textVerticalAlign:D}),g&&(B.eventData=v.makeAxisEventDataBase(r),B.eventData.targetType="axisLabel",B.eventData.value=S.rawLabel)},this)},_splitLine:function(r,i,n,l,t){var a=r.getModel("splitLine"),c=a.getModel("lineStyle"),h=c.get("color"),f=0;h=h instanceof Array?h:[h];for(var g=[],S=0;S<n.length;S++){var y=f++%h.length;g[y]=g[y]||[],g[y].push(new A.Line({shape:s(i,t,n[S].coord)}))}for(var S=0;S<g.length;S++)this.group.add(A.mergePath(g[S],{style:w.defaults({stroke:h[S%h.length]},c.getLineStyle()),silent:!0,z:r.get("z")}))},_minorSplitLine:function(r,i,n,l,t){if(!l.length)return;for(var a=r.getModel("minorSplitLine"),c=a.getModel("lineStyle"),h=[],f=0;f<l.length;f++)for(var g=0;g<l[f].length;g++)h.push(new A.Line({shape:s(i,t,l[f][g].coord)}));this.group.add(A.mergePath(h,{style:c.getLineStyle(),silent:!0,z:r.get("z")}))},_splitArea:function(r,i,n,l,t){if(!n.length)return;var a=r.getModel("splitArea"),c=a.getModel("areaStyle"),h=c.get("color"),f=0;h=h instanceof Array?h:[h];for(var g=[],S=Math.PI/180,y=-n[0].coord*S,E=Math.min(t[0],t[1]),C=Math.max(t[0],t[1]),T=r.get("clockwise"),x=1;x<n.length;x++){var _=f++%h.length;g[_]=g[_]||[],g[_].push(new A.Sector({shape:{cx:i.cx,cy:i.cy,r0:E,r:C,startAngle:y,endAngle:-n[x].coord*S,clockwise:T},silent:!0})),y=-n[x].coord*S}for(var x=0;x<g.length;x++)this.group.add(A.mergePath(g[x],{style:w.defaults({fill:h[x%h.length]},c.getAreaStyle()),silent:!0}))}});M.exports=e},tceW:function(M,P,d){var w=d("KCsZ"),A=w([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),b={getBarItemStyle:function(m){var v=A(this,m);if(this.getBorderLineDash){var p=this.getBorderLineDash();p&&(v.lineDash=p)}return v}};M.exports=b},tkwv:function(M,P,d){"use strict";var w=Array.isArray,A=Object.keys,b=Object.prototype.hasOwnProperty;M.exports=function m(v,p){if(v===p)return!0;if(v&&p&&typeof v=="object"&&typeof p=="object"){var s=w(v),u=w(p),o,e,r;if(s&&u){if(e=v.length,e!=p.length)return!1;for(o=e;o--!==0;)if(!m(v[o],p[o]))return!1;return!0}if(s!=u)return!1;var i=v instanceof Date,n=p instanceof Date;if(i!=n)return!1;if(i&&n)return v.getTime()==p.getTime();var l=v instanceof RegExp,t=p instanceof RegExp;if(l!=t)return!1;if(l&&t)return v.toString()==p.toString();var a=A(v);if(e=a.length,e!==A(p).length)return!1;for(o=e;o--!==0;)if(!b.call(p,a[o]))return!1;for(o=e;o--!==0;)if(r=a[o],!m(v[r],p[r]))return!1;return!0}return v!==v&&p!==p}},txkQ:function(M,P,d){var w=d("aX58");P.zrender=w;var A=d("Fofx");P.matrix=A;var b=d("QBsz");P.vector=b;var m=d("bYtY"),v=d("Qe9p");P.color=v;var p=d("IwbS"),s=d("OELB");P.number=s;var u=d("7aKB");P.format=u;var o=d("iLNv"),e=o.throttle;P.throttle=o.throttle;var r=d("FUi9");P.helper=r;var i=d("vafp");P.parseGeoJSON=i;var n=d("YXkt");P.List=n;var l=d("Qxkt");P.Model=l;var t=d("hM6l");P.Axis=t;var a=d("ItGF");P.env=a;var c=i,h={};m.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(g){h[g]=m[g]});var f={};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(g){f[g]=p[g]}),P.parseGeoJson=c,P.util=h,P.graphic=f},u3DP:function(M,P,d){var w=d("6GrX"),A=d("OELB"),b=A.parsePercent,m=Math.PI/180;function v(o,e,r,i,n,l,t,a,c,h){o.sort(function(L,D){return L.y-D.y});function f(L,D,B,N){for(var k=L;k<D&&!(o[k].y+B>c+t);k++)if(o[k].y+=B,k>L&&k+1<D&&o[k+1].y>o[k].y+o[k].height){g(k,B/2);return}g(D-1,B/2)}function g(L,D){for(var B=L;B>=0&&!(o[B].y-D<c);B--)if(o[B].y-=D,B>0&&o[B].y>o[B-1].y+o[B-1].height)break}function S(L,D,B,N,k,W){for(var R=(W>0,D?Number.MAX_VALUE:0),j=0,H=L.length;j<H;j++){if(L[j].labelAlignTo!=="none")continue;var K=Math.abs(L[j].y-N),U=L[j].len,Q=L[j].len2,V=K<k+U?Math.sqrt((k+U+Q)*(k+U+Q)-K*K):Math.abs(L[j].x-B);D&&V>=R&&(V=R-10),!D&&V<=R&&(V=R+10),L[j].x=B+V*W,R=V}}for(var y=0,E,C=o.length,T=[],x=[],_=0;_<C;_++){if(o[_].position==="outer"&&o[_].labelAlignTo==="labelLine"){var I=o[_].x-h;o[_].linePoints[1][0]+=I,o[_].x=h}E=o[_].y-y,E<0&&f(_,C,-E,n),y=o[_].y+o[_].height}t-y<0&&g(C-1,y-t);for(var _=0;_<C;_++)o[_].y>=r?x.push(o[_]):T.push(o[_]);S(T,!1,e,r,i,n),S(x,!0,e,r,i,n)}function p(o,e,r,i,n,l,t,a){for(var c=[],h=[],f=Number.MAX_VALUE,g=-Number.MAX_VALUE,S=0;S<o.length;S++){if(s(o[S]))continue;o[S].x<e?(f=Math.min(f,o[S].x),c.push(o[S])):(g=Math.max(g,o[S].x),h.push(o[S]))}v(h,e,r,i,1,n,l,t,a,g),v(c,e,r,i,-1,n,l,t,a,f);for(var S=0;S<o.length;S++){var y=o[S];if(s(y))continue;var E=y.linePoints;if(E){var C=y.labelAlignTo==="edge",T=y.textRect.width,x;C?y.x<e?x=E[2][0]-y.labelDistance-t-y.labelMargin:x=t+n-y.labelMargin-E[2][0]-y.labelDistance:y.x<e?x=y.x-t-y.bleedMargin:x=t+n-y.x-y.bleedMargin,x<y.textRect.width&&(y.text=w.truncateText(y.text,x,y.font),y.labelAlignTo==="edge"&&(T=w.getWidth(y.text,y.font)));var _=E[1][0]-E[2][0];C?y.x<e?E[2][0]=t+y.labelMargin+T+y.labelDistance:E[2][0]=t+n-y.labelMargin-T-y.labelDistance:(y.x<e?E[2][0]=y.x+y.labelDistance:E[2][0]=y.x-y.labelDistance,E[1][0]=E[2][0]+_),E[1][1]=E[2][1]=y.y}}}function s(o){return o.position==="center"}function u(o,e,r,i,n,l){var t=o.getData(),a=[],c,h,f=!1,g=(o.get("minShowLabelAngle")||0)*m;t.each(function(S){var y=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=b(C.get("margin"),r),L=C.get("bleedMargin"),D=C.getFont(),B=E.getModel("labelLine"),N=B.get("length");N=b(N,r);var k=B.get("length2");if(k=b(k,r),y.angle<g)return;var W=(y.startAngle+y.endAngle)/2,R=Math.cos(W),j=Math.sin(W),H,K,U,Q;c=y.cx,h=y.cy;var V=o.getFormattedLabel(S,"normal")||t.getName(S),J=w.getBoundingRect(V,D,Q,"top"),ae=T==="inside"||T==="inner";if(T==="center")H=y.cx,K=y.cy,Q="center";else{var se=(ae?(y.r+y.r0)/2*R:y.r*R)+c,$=(ae?(y.r+y.r0)/2*j:y.r*j)+h;if(H=se+R*3,K=$+j*3,!ae){var ge=se+R*(N+e-y.r),he=$+j*(N+e-y.r),Ie=ge+(R<0?-1:1)*k,Se=he;_==="edge"?H=R<0?n+I:n+r-I:H=Ie+(R<0?-x:x),K=Se,U=[[se,$],[ge,he],[Ie,Se]]}Q=ae?"center":_==="edge"?R>0?"right":"left":R>0?"left":"right"}var Le,He=C.get("rotate");typeof He=="number"?Le=He*(Math.PI/180):Le=He?R<0?-W+Math.PI:-W:0,f=!!Le,y.label={x:H,y:K,position:T,height:J.height,len:N,len2:k,linePoints:U,textAlign:Q,verticalAlign:"middle",rotation:Le,inside:ae,labelDistance:x,labelAlignTo:_,labelMargin:I,bleedMargin:L,textRect:J,text:V,font:D},ae||a.push(y.label)}),!f&&o.get("avoidLabelOverlap")&&p(a,c,h,e,r,i,n,l)}M.exports=u},u3os:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.ver=P.clear=P.bind=void 0;var w=d("P4Qj"),A=function(p,s){var u=(0,w.getSensor)(p);return u.bind(s),function(){u.unbind(s)}};P.bind=A;var b=function(p){var s=(0,w.getSensor)(p);(0,w.removeSensor)(s)};P.clear=b;var m="1.0.1";P.ver=m},uAnK:function(M,P,d){var w=d("bYtY"),A=d("Kagy"),b=d("KxfA"),m=b.retrieveRawValue;function v(p,s){var u=s.getModel("aria");if(u.get("show")){if(u.get("description")){p.setAttribute("aria-label",u.get("description"));return}}else return;var o=0;s.eachSeries(function(S,y){++o},this);var e=u.get("data.maxCount")||10,r=u.get("series.maxCount")||10,i=Math.min(o,r),n;if(o<1)return;var l=f();l?n=c(h("general.withTitle"),{title:l}):n=h("general.withoutTitle");var t=[],a=o>1?"series.multiple.prefix":"series.single.prefix";n+=c(h(a),{seriesCount:o}),s.eachSeries(function(S,y){if(y<i){var E,C=S.get("name"),T="series."+(o>1?"multiple":"single")+".";E=h(C?T+"withName":T+"withoutName"),E=c(E,{seriesId:S.seriesIndex,seriesName:S.get("name"),seriesType:g(S.subType)});var x=S.getData();window.data=x,x.count()>e?E+=c(h("data.partialData"),{displayCnt:e}):E+=h("data.allData");for(var _=[],I=0;I<x.count();I++)if(I<e){var L=x.getName(I),D=m(x,I);_.push(c(h(L?"data.withName":"data.withoutName"),{name:L,value:D}))}E+=_.join(h("data.separator.middle"))+h("data.separator.end"),t.push(E)}}),n+=t.join(h("series.multiple.separator.middle"))+h("series.multiple.separator.end"),p.setAttribute("aria-label",n);function c(S,y){if(typeof S!="string")return S;var E=S;return w.each(y,function(C,T){E=E.replace(new RegExp("\\{\\s*"+T+"\\s*\\}","g"),C)}),E}function h(S){var y=u.get(S);if(y==null){for(var E=S.split("."),C=A.aria,T=0;T<E.length;++T)C=C[E[T]];return C}else return y}function f(){var S=s.getModel("title").option;return S&&S.length&&(S=S[0]),S&&S.text}function g(S){return A.series.typeNames[S]||"\u81EA\u5B9A\u4E49\u56FE"}}M.exports=v},uBn0:function(M,P,d){},uK0f:function(M,P,d){(function(w,A){M.exports=A()})(this,function(){"use strict";function w(A,b,m){m=m||{},m.childrenKeyName=m.childrenKeyName||"children";var v=A||[],p=[],s=0;do{var u=v.filter(function(o){return b(o,s)})[0];if(!u)break;p.push(u),v=u[m.childrenKeyName]||[],s+=1}while(v.length>0);return p}return w})},uOyE:function(M,P,d){var w=d("ProS");w.registerAction({type:"brush",event:"brush"},function(A,b){b.eachComponent({mainType:"brush",query:A},function(m){m.setAreas(A.areas)})}),w.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),w.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(M,P,d){M.exports=w;function w(){return d("gaXo"),{}}},v5uJ:function(M,P,d){var w=d("ProS"),A=d("2B6p"),b=A.updateCenterAndZoom;w.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(m,v){v.eachComponent({mainType:"series",subType:"tree",query:m},function(p){var s=m.dataIndex,u=p.getData().tree,o=u.getNodeByDataIndex(s);o.isExpand=!o.isExpand})}),w.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(m,v){v.eachComponent({mainType:"series",subType:"tree",query:m},function(p){var s=p.coordinateSystem,u=b(s,m);p.setCenter&&p.setCenter(u.center),p.setZoom&&p.setZoom(u.zoom)})})},"vF/C":function(M,P,d){var w=d("bLfw");w.registerSubTypeDefaulter("visualMap",function(A){return!A.categories&&(!(A.pieces?A.pieces.length>0:A.splitNumber>0)||A.calculable)?"continuous":"piecewise"})},vKoX:function(M,P,d){var w=d("SrGk"),A=d("bYtY");function b(p,s){w.call(this,p,s,["filter"],"__filter_in_use__","_shadowDom")}A.inherits(b,w),b.prototype.addWithoutUpdate=function(p,s){if(s&&m(s.style)){var u;if(s._shadowDom){u=s._shadowDom;var o=this.getDefs(!0);o.contains(s._shadowDom)||this.addDom(u)}else u=this.add(s);this.markUsed(s);var e=u.getAttribute("id");p.style.filter="url(#"+e+")"}},b.prototype.add=function(p){var s=this.createElement("filter");return p._shadowDomId=p._shadowDomId||this.nextId++,s.setAttribute("id","zr"+this._zrId+"-shadow-"+p._shadowDomId),this.updateDom(p,s),this.addDom(s),s},b.prototype.update=function(p,s){var u=s.style;if(m(u)){var o=this;w.prototype.update.call(this,s,function(){o.updateDom(s,s._shadowDom)})}else this.remove(p,s)},b.prototype.remove=function(p,s){s._shadowDomId!=null&&(this.removeDom(p),p.style.filter="")},b.prototype.updateDom=function(p,s){var u=s.getElementsByTagName("feDropShadow");u.length===0?u=this.createElement("feDropShadow"):u=u[0];var o=p.style,e=p.scale&&p.scale[0]||1,r=p.scale&&p.scale[1]||1,i,n,l,t;if(o.shadowBlur||o.shadowOffsetX||o.shadowOffsetY)i=o.shadowOffsetX||0,n=o.shadowOffsetY||0,l=o.shadowBlur,t=o.shadowColor;else if(o.textShadowBlur)i=o.textShadowOffsetX||0,n=o.textShadowOffsetY||0,l=o.textShadowBlur,t=o.textShadowColor;else{this.removeDom(s,o);return}u.setAttribute("dx",i/e),u.setAttribute("dy",n/r),u.setAttribute("flood-color",t);var a=l/2/e,c=l/2/r,h=a+" "+c;u.setAttribute("stdDeviation",h),s.setAttribute("x","-100%"),s.setAttribute("y","-100%"),s.setAttribute("width",Math.ceil(l/2*200)+"%"),s.setAttribute("height",Math.ceil(l/2*200)+"%"),s.appendChild(u),p._shadowDom=s},b.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 v=b;M.exports=v},vL6D:function(M,P,d){var w=d("bYtY"),A=d("+rIm"),b=d("IwbS"),m=d("7bkD"),v=d("Znkb"),p=d("WN+l"),s=p.rectCoordAxisBuildSplitArea,u=p.rectCoordAxisHandleRemove,o=["axisLine","axisTickLabel","axisName"],e=["splitArea","splitLine"],r=v.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(n,l,t,a){var c=this.group;c.removeAll();var h=this._axisGroup;this._axisGroup=new b.Group;var f=m.layout(n),g=new A(n,f);w.each(o,g.add,g),c.add(this._axisGroup),c.add(g.getGroup()),w.each(e,function(S){n.get(S+".show")&&this["_"+S](n)},this),b.groupTransition(h,this._axisGroup,n),r.superCall(this,"render",n,l,t,a)},remove:function(){u(this)},_splitLine:function(n){var l=n.axis;if(l.scale.isBlank())return;var t=n.getModel("splitLine"),a=t.getModel("lineStyle"),c=a.get("width"),h=a.get("color");h=h instanceof Array?h:[h];for(var f=n.coordinateSystem.getRect(),g=l.isHorizontal(),S=[],y=0,E=l.getTicksCoords({tickModel:t}),C=[],T=[],x=0;x<E.length;++x){var _=l.toGlobalCoord(E[x].coord);g?(C[0]=_,C[1]=f.y,T[0]=_,T[1]=f.y+f.height):(C[0]=f.x,C[1]=_,T[0]=f.x+f.width,T[1]=_);var I=y++%h.length;S[I]=S[I]||[],S[I].push(new b.Line({subPixelOptimize:!0,shape:{x1:C[0],y1:C[1],x2:T[0],y2:T[1]},style:{lineWidth:c},silent:!0}))}for(var x=0;x<S.length;++x)this.group.add(b.mergePath(S[x],{style:{stroke:h[x%h.length],lineDash:a.getLineDash(c),lineWidth:c},silent:!0}))},_splitArea:function(n){s(this,this._axisGroup,n,n)}}),i=r;M.exports=i},vWvF:function(M,P,d){var w=d("Bq2U"),A=d("SUKs"),b=d("bYtY"),m=b.isString,v=b.isFunction,p=b.isObject,s=b.isArrayLike,u=b.indexOf,o=function(){this.animators=[]};o.prototype={constructor:o,animate:function(t,a){var c,h=!1,f=this,g=this.__zr;if(t){var S=t.split("."),y=f;h=S[0]==="shape";for(var E=0,C=S.length;E<C;E++){if(!y)continue;y=y[S[E]]}y&&(c=y)}else c=f;if(!c){A('Property "'+t+'" is not existed in element '+f.id);return}var T=f.animators,x=new w(c,a);return x.during(function(_){f.dirty(h)}).done(function(){T.splice(u(T,x),1)}),T.push(x),g&&g.animation.addAnimator(x),x},stopAnimation:function(t){for(var a=this.animators,c=a.length,h=0;h<c;h++)a[h].stop(t);return a.length=0,this},animateTo:function(t,a,c,h,f,g){e(this,t,a,c,h,f,g)},animateFrom:function(t,a,c,h,f,g){e(this,t,a,c,h,f,g,!0)}};function e(l,t,a,c,h,f,g,S){m(c)?(f=h,h=c,c=0):v(h)?(f=h,h="linear",c=0):v(c)?(f=c,c=0):v(a)?(f=a,a=500):a||(a=500),l.stopAnimation(),r(l,"",l,t,a,c,S);var y=l.animators.slice(),E=y.length;function C(){E--,E||f&&f()}E||f&&f();for(var T=0;T<y.length;T++)y[T].done(C).start(h,g)}function r(l,t,a,c,h,f,g){var S={},y=0;for(var E in c){if(!c.hasOwnProperty(E))continue;a[E]!=null?p(c[E])&&!s(c[E])?r(l,t?t+"."+E:E,a[E],c[E],h,f,g):(g?(S[E]=a[E],i(l,t,E,c[E])):S[E]=c[E],y++):c[E]!=null&&!g&&i(l,t,E,c[E])}y>0&&l.animate(t,!1).when(h==null?500:h,S).delay(f||0)}function i(l,t,a,c){if(!t)l.attr(a,c);else{var h={};h[t]={},h[t][a]=c,l.attr(h)}}var n=o;M.exports=n},vZ6x:function(M,P,d){var w=d("Tghj"),A=w.__DEV__,b=d("bYtY"),m=d("IwbS"),v=d("4NO4"),p=d("9KIM"),s=b.each,u=b.indexOf,o=b.curry,e=["dataToPoint","pointToData"],r=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function i(x,_,I){var L=this._targetInfoList=[],D={},B=t(_,x);s(a,function(N,k){(!I||!I.include||u(I.include,k)>=0)&&N(B,L,D)})}var n=i.prototype;n.setOutputRanges=function(x,_){this.matchOutputRanges(x,_,function(I,L,D){if((I.coordRanges||(I.coordRanges=[])).push(L),!I.coordRange){I.coordRange=L;var B=f[I.brushType](0,D,L);I.__rangeOffset={offset:S[I.brushType](B.values,I.range,[1,1]),xyMinMax:B.xyMinMax}}})},n.matchOutputRanges=function(x,_,I){s(x,function(L){var D=this.findTargetInfo(L,_);D&&D!==!0&&b.each(D.coordSyses,function(B){var N=f[L.brushType](1,B,L.range);I(L,N.values,B,_)})},this)},n.setInputRanges=function(x,_){s(x,function(I){var L=this.findTargetInfo(I,_);if(I.range=I.range||[],L&&L!==!0){I.panelId=L.panelId;var D=f[I.brushType](0,L.coordSys,I.coordRange),B=I.__rangeOffset;I.range=B?S[I.brushType](D.values,B.offset,E(D.xyMinMax,B.xyMinMax)):D.values}},this)},n.makePanelOpts=function(x,_){return b.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)}})},n.controlSeries=function(x,_,I){var L=this.findTargetInfo(x,I);return L===!0||L&&u(L.coordSyses,_.coordinateSystem)>=0},n.findTargetInfo=function(x,_){for(var I=this._targetInfoList,L=t(_,x),D=0;D<I.length;D++){var B=I[D],N=x.panelId;if(N){if(B.panelId===N)return B}else for(var D=0;D<c.length;D++)if(c[D](L,B))return B}return!0};function l(x){return x[0]>x[1]&&x.reverse(),x}function t(x,_){return v.parseFinder(x,_,{includeMainTypes:r})}var a={grid:function(x,_){var I=x.xAxisModels,L=x.yAxisModels,D=x.gridModels,B=b.createHashMap(),N={},k={};if(!I&&!L&&!D)return;s(I,function(W){var R=W.axis.grid.model;B.set(R.id,R),N[R.id]=!0}),s(L,function(W){var R=W.axis.grid.model;B.set(R.id,R),k[R.id]=!0}),s(D,function(W){B.set(W.id,W),N[W.id]=!0,k[W.id]=!0}),B.each(function(W){var R=W.coordinateSystem,j=[];s(R.getCartesians(),function(H,K){(u(I,H.getAxis("x").model)>=0||u(L,H.getAxis("y").model)>=0)&&j.push(H)}),_.push({panelId:"grid--"+W.id,gridModel:W,coordSysModel:W,coordSys:j[0],coordSyses:j,getPanelRect:h.grid,xAxisDeclared:N[W.id],yAxisDeclared:k[W.id]})})},geo:function(x,_){s(x.geoModels,function(I){var L=I.coordinateSystem;_.push({panelId:"geo--"+I.id,geoModel:I,coordSysModel:I,coordSys:L,coordSyses:[L],getPanelRect:h.geo})})}},c=[function(x,_){var I=x.xAxisModel,L=x.yAxisModel,D=x.gridModel;return!D&&I&&(D=I.axis.grid.model),!D&&L&&(D=L.axis.grid.model),D&&D===_.gridModel},function(x,_){var I=x.geoModel;return I&&I===_.geoModel}],h={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var x=this.coordSys,_=x.getBoundingRect().clone();return _.applyTransform(m.getTransform(x)),_}},f={lineX:o(g,0),lineY:o(g,1),rect:function(x,_,I){var L=_[e[x]]([I[0][0],I[1][0]]),D=_[e[x]]([I[0][1],I[1][1]]),B=[l([L[0],D[0]]),l([L[1],D[1]])];return{values:B,xyMinMax:B}},polygon:function(x,_,I){var L=[[Infinity,-Infinity],[Infinity,-Infinity]],D=b.map(I,function(B){var N=_[e[x]](B);return L[0][0]=Math.min(L[0][0],N[0]),L[1][0]=Math.min(L[1][0],N[1]),L[0][1]=Math.max(L[0][1],N[0]),L[1][1]=Math.max(L[1][1],N[1]),N});return{values:D,xyMinMax:L}}};function g(x,_,I,L){var D=I.getAxis(["x","y"][x]),B=l(b.map([0,1],function(k){return _?D.coordToData(D.toLocalCoord(L[k])):D.toGlobalCoord(D.dataToCoord(L[k]))})),N=[];return N[x]=B,N[1-x]=[NaN,NaN],{values:B,xyMinMax:N}}var S={lineX:o(y,0),lineY:o(y,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 b.map(x,function(L,D){return[L[0]-I[0]*_[D][0],L[1]-I[1]*_[D][1]]})}};function y(x,_,I,L){return[_[0]-L[x]*I[0],_[1]-L[x]*I[1]]}function E(x,_){var I=C(x),L=C(_),D=[I[0]/L[0],I[1]/L[1]];return isNaN(D[0])&&(D[0]=1),isNaN(D[1])&&(D[1]=1),D}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,P,d){var w=d("bYtY"),A=d("T4UG"),b=d("5GhG"),m=b.seriesModelMixin,v=A.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(s,u,o){var e=u.getItemLayout(s);return e&&o.rect(e.brushRect)}});w.mixin(v,m,!0);var p=v;M.exports=p},vafp:function(M,P,d){var w=d("bYtY"),A=d("8nly");function b(p){if(!p.UTF8Encoding)return p;var s=p.UTF8Scale;s==null&&(s=1024);for(var u=p.features,o=0;o<u.length;o++)for(var e=u[o],r=e.geometry,i=r.coordinates,n=r.encodeOffsets,l=0;l<i.length;l++){var t=i[l];if(r.type==="Polygon")i[l]=m(t,n[l],s);else if(r.type==="MultiPolygon")for(var a=0;a<t.length;a++){var c=t[a];t[a]=m(c,n[l][a],s)}}return p.UTF8Encoding=!1,p}function m(p,s,u){for(var o=[],e=s[0],r=s[1],i=0;i<p.length;i+=2){var n=p.charCodeAt(i)-64,l=p.charCodeAt(i+1)-64;n=n>>1^-(n&1),l=l>>1^-(l&1),n+=e,l+=r,e=n,r=l,o.push([n/u,l/u])}return o}function v(p,s){return b(p),w.map(w.filter(p.features,function(u){return u.geometry&&u.properties&&u.geometry.coordinates.length>0}),function(u){var o=u.properties,e=u.geometry,r=e.coordinates,i=[];e.type==="Polygon"&&i.push({type:"polygon",exterior:r[0],interiors:r.slice(1)}),e.type==="MultiPolygon"&&w.each(r,function(l){l[0]&&i.push({type:"polygon",exterior:l[0],interiors:l.slice(1)})});var n=new A(o[s||"name"],i,o.cp);return n.properties=o,n})}M.exports=v},vcCh:function(M,P,d){var w=d("ProS");d("0qV/"),w.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(A,b){b.eachComponent({mainType:"series",subType:"sankey",query:A},function(m){m.setNodePosition(A.dataIndex,[A.localX,A.localY])})})},vewr:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.getPointerEvent=w,P.stopEvent=A,P.setCapture=u,P.releaseCapture=o;function w(e){return e.changedTouches?e.changedTouches[0]:e.touches?e.touches[0]:e}function A(e){e.stopPropagation(),e.preventDefault()}var b=!1,m=null;document.captureElement=null;function v(e){if(b)return;var r=new e.constructor(e.type,e);b=!0,document.captureElement?document.captureElement.dispatchEvent(r):m.dispatchEvent(r),b=!1,e.stopPropagation(),r.defaultPrevented&&e.preventDefault(),e.type==="mouseup"&&o()}function p(){var e=document.getElementById("noVNC_mouse_capture_elem");e.style.cursor=window.getComputedStyle(document.captureElement).cursor}var s=new MutationObserver(p);function u(e){if(e.setCapture)e.setCapture(),document.captureElement=e,e.addEventListener("mouseup",o);else{o();var r=document.getElementById("noVNC_mouse_capture_elem");r===null&&(r=document.createElement("div"),r.id="noVNC_mouse_capture_elem",r.style.position="fixed",r.style.top="0px",r.style.left="0px",r.style.width="100%",r.style.height="100%",r.style.zIndex=1e4,r.style.display="none",document.body.appendChild(r),r.addEventListener("contextmenu",v),r.addEventListener("mousemove",v),r.addEventListener("mouseup",v)),document.captureElement=e,s.observe(e,{attributes:!0}),p(),r.style.display="",window.addEventListener("mousemove",v),window.addEventListener("mouseup",v)}}function o(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;m=document.captureElement,document.captureElement=null,s.disconnect();var e=document.getElementById("noVNC_mouse_capture_elem");e.style.display="none",window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",v)}}},vg9a:function(M,P,d){},w5pM:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="PlusCircleOutlined";var s=P.a=A.forwardRef(p)},wDdD:function(M,P,d){var w=d("ProS"),A=d("bYtY");d("98bh"),d("GrNh");var b=d("d4KN"),m=d("mOdp"),v=d("KS52"),p=d("0/Rx");b("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(A.curry(v,"pie")),w.registerProcessor(p("pie"))},wOnQ:function(M,P,d){/*!
|
|
|
* html2canvas 1.3.2 <https://html2canvas.hertzen.com>
|
|
|
* Copyright (c) 2021 Niklas von Hertzen <https://hertzen.com>
|
|
|
* Released under MIT License
|
|
|
*/(function(w,A){M.exports=A()})(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(fe,Ee){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Fe,et){Fe.__proto__=et}||function(Fe,et){for(var Ut in et)Object.prototype.hasOwnProperty.call(et,Ut)&&(Fe[Ut]=et[Ut])},w(fe,Ee)};function A(at,fe){if(typeof fe!="function"&&fe!==null)throw new TypeError("Class extends value "+String(fe)+" is not a constructor or null");w(at,fe);function Ee(){this.constructor=at}at.prototype=fe===null?Object.create(fe):(Ee.prototype=fe.prototype,new Ee)}var b=function(){return b=Object.assign||function(Ee){for(var Fe,et=1,Ut=arguments.length;et<Ut;et++){Fe=arguments[et];for(var ur in Fe)Object.prototype.hasOwnProperty.call(Fe,ur)&&(Ee[ur]=Fe[ur])}return Ee},b.apply(this,arguments)};function m(at,fe,Ee,Fe){function et(Ut){return Ut instanceof Ee?Ut:new Ee(function(ur){ur(Ut)})}return new(Ee||(Ee=Promise))(function(Ut,ur){function _r(Kn){try{en(Fe.next(Kn))}catch(Dn){ur(Dn)}}function Fr(Kn){try{en(Fe.throw(Kn))}catch(Dn){ur(Dn)}}function en(Kn){Kn.done?Ut(Kn.value):et(Kn.value).then(_r,Fr)}en((Fe=Fe.apply(at,fe||[])).next())})}function v(at,fe){var Ee={label:0,sent:function(){if(Ut[0]&1)throw Ut[1];return Ut[1]},trys:[],ops:[]},Fe,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 Fr([en,Kn])}}function Fr(en){if(Fe)throw new TypeError("Generator is already executing.");for(;Ee;)try{if(Fe=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 Ee.label++,{value:en[1],done:!1};case 5:Ee.label++,et=en[1],en=[0];continue;case 7:en=Ee.ops.pop(),Ee.trys.pop();continue;default:if(!(Ut=Ee.trys,Ut=Ut.length>0&&Ut[Ut.length-1])&&(en[0]===6||en[0]===2)){Ee=0;continue}if(en[0]===3&&(!Ut||en[1]>Ut[0]&&en[1]<Ut[3])){Ee.label=en[1];break}if(en[0]===6&&Ee.label<Ut[1]){Ee.label=Ut[1],Ut=en;break}if(Ut&&Ee.label<Ut[2]){Ee.label=Ut[2],Ee.ops.push(en);break}Ut[2]&&Ee.ops.pop(),Ee.trys.pop();continue}en=fe.call(at,Ee)}catch(Kn){en=[6,Kn],et=0}finally{Fe=Ut=0}if(en[0]&5)throw en[1];return{value:en[0]?en[1]:void 0,done:!0}}}function p(at,fe,Ee){if(Ee||arguments.length===2)for(var Fe=0,et=fe.length,Ut;Fe<et;Fe++)(Ut||!(Fe in fe))&&(Ut||(Ut=Array.prototype.slice.call(fe,0,Fe)),Ut[Fe]=fe[Fe]);return at.concat(Ut||fe)}for(var s=function(){function at(fe,Ee,Fe,et){this.left=fe,this.top=Ee,this.width=Fe,this.height=et}return at.prototype.add=function(fe,Ee,Fe,et){return new at(this.left+fe,this.top+Ee,this.width+Fe,this.height+et)},at.fromClientRect=function(fe,Ee){return new at(Ee.left+fe.windowBounds.left,Ee.top+fe.windowBounds.top,Ee.width,Ee.height)},at.fromDOMRectList=function(fe,Ee){var Fe=Ee[0];return Fe?new at(Fe.x+fe.windowBounds.left,Fe.y+fe.windowBounds.top,Fe.width,Fe.height):at.EMPTY},at.EMPTY=new at(0,0,0,0),at}(),u=function(fe,Ee){return s.fromClientRect(fe,Ee.getBoundingClientRect())},o=function(fe){var Ee=fe.body,Fe=fe.documentElement;if(!Ee||!Fe)throw new Error("Unable to get document size");var et=Math.max(Math.max(Ee.scrollWidth,Fe.scrollWidth),Math.max(Ee.offsetWidth,Fe.offsetWidth),Math.max(Ee.clientWidth,Fe.clientWidth)),Ut=Math.max(Math.max(Ee.scrollHeight,Fe.scrollHeight),Math.max(Ee.offsetHeight,Fe.offsetHeight),Math.max(Ee.clientHeight,Fe.clientHeight));return new s(0,0,et,Ut)},e=function(fe){for(var Ee=[],Fe=0,et=fe.length;Fe<et;){var Ut=fe.charCodeAt(Fe++);if(Ut>=55296&&Ut<=56319&&Fe<et){var ur=fe.charCodeAt(Fe++);(ur&64512)===56320?Ee.push(((Ut&1023)<<10)+(ur&1023)+65536):(Ee.push(Ut),Fe--)}else Ee.push(Ut)}return Ee},r=function(){for(var fe=[],Ee=0;Ee<arguments.length;Ee++)fe[Ee]=arguments[Ee];if(String.fromCodePoint)return String.fromCodePoint.apply(String,fe);var Fe=fe.length;if(!Fe)return"";for(var et=[],Ut=-1,ur="";++Ut<Fe;){var _r=fe[Ut];_r<=65535?et.push(_r):(_r-=65536,et.push((_r>>10)+55296,_r%1024+56320)),(Ut+1===Fe||et.length>16384)&&(ur+=String.fromCharCode.apply(String,et),et.length=0)}return ur},i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),l=0;l<i.length;l++)n[i.charCodeAt(l)]=l;var t=function(fe){var Ee=fe.length*.75,Fe=fe.length,et,Ut=0,ur,_r,Fr,en;fe[fe.length-1]==="="&&(Ee--,fe[fe.length-2]==="="&&Ee--);var Kn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ee):new Array(Ee),Dn=Array.isArray(Kn)?Kn:new Uint8Array(Kn);for(et=0;et<Fe;et+=4)ur=n[fe.charCodeAt(et)],_r=n[fe.charCodeAt(et+1)],Fr=n[fe.charCodeAt(et+2)],en=n[fe.charCodeAt(et+3)],Dn[Ut++]=ur<<2|_r>>4,Dn[Ut++]=(_r&15)<<4|Fr>>2,Dn[Ut++]=(Fr&3)<<6|en&63;return Kn},a=function(fe){for(var Ee=fe.length,Fe=[],et=0;et<Ee;et+=2)Fe.push(fe[et+1]<<8|fe[et]);return Fe},c=function(fe){for(var Ee=fe.length,Fe=[],et=0;et<Ee;et+=4)Fe.push(fe[et+3]<<24|fe[et+2]<<16|fe[et+1]<<8|fe[et]);return Fe},h=5,f=6+5,g=2,S=f-h,y=65536>>h,E=1<<h,C=E-1,T=1024>>h,x=y+T,_=x,I=2048>>6,L=_+I,D=65536>>f,B=1<<S,N=B-1,k=function(fe,Ee,Fe){return fe.slice?fe.slice(Ee,Fe):new Uint16Array(Array.prototype.slice.call(fe,Ee,Fe))},W=function(fe,Ee,Fe){return fe.slice?fe.slice(Ee,Fe):new Uint32Array(Array.prototype.slice.call(fe,Ee,Fe))},R=function(fe){var Ee=t(fe),Fe=Array.isArray(Ee)?c(Ee):new Uint32Array(Ee),et=Array.isArray(Ee)?a(Ee):new Uint16Array(Ee),Ut=24,ur=k(et,Ut/2,Fe[4]/2),_r=Fe[5]===2?k(et,(Ut+Fe[4])/2):W(Fe,Math.ceil((Ut+Fe[4])/4));return new j(Fe[0],Fe[1],Fe[2],Fe[3],ur,_r)},j=function(){function at(fe,Ee,Fe,et,Ut,ur){this.initialValue=fe,this.errorValue=Ee,this.highStart=Fe,this.highValueIndex=et,this.index=Ut,this.data=ur}return at.prototype.get=function(fe){var Ee;if(fe>=0){if(fe<55296||fe>56319&&fe<=65535)return Ee=this.index[fe>>h],Ee=(Ee<<g)+(fe&C),this.data[Ee];if(fe<=65535)return Ee=this.index[y+(fe-55296>>h)],Ee=(Ee<<g)+(fe&C),this.data[Ee];if(fe<this.highStart)return Ee=L-D+(fe>>f),Ee=this.index[Ee],Ee+=fe>>h&N,Ee=this.index[Ee],Ee=(Ee<<g)+(fe&C),this.data[Ee];if(fe<=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==",K=50,U=1,Q=2,V=3,J=4,ae=5,se=7,$=8,ge=9,he=10,Ie=11,Se=12,Le=13,He=14,G=15,pe=16,We=17,te=18,X=19,z=20,Z=21,be=22,ne=23,Ae=24,Ne=25,oe=26,de=27,xe=28,Pe=29,tt=30,Je=31,Oe=32,pt=33,Qe=34,nt=35,bt=36,Tt=37,Ct=38,Nt=39,Ge=40,ie=41,Y=42,we=43,Ce=[9001,65288],le="!",ot="\xD7",wt="\xF7",rt=R(H),It=[tt,bt],Gt=[U,Q,V,ae],lr=[he,$],pr=[de,oe],Rr=Gt.concat(lr),xt=[Ct,Nt,Ge,Qe,nt],Ot=[G,Le],At=function(fe,Ee){Ee===void 0&&(Ee="strict");var Fe=[],et=[],Ut=[];return fe.forEach(function(ur,_r){var Fr=rt.get(ur);if(Fr>K?(Ut.push(!0),Fr-=K):Ut.push(!1),["normal","auto","loose"].indexOf(Ee)!==-1&&[8208,8211,12316,12448].indexOf(ur)!==-1)return et.push(_r),Fe.push(pe);if(Fr===J||Fr===Ie){if(_r===0)return et.push(_r),Fe.push(tt);var en=Fe[_r-1];return Rr.indexOf(en)===-1?(et.push(et[_r-1]),Fe.push(en)):(et.push(_r),Fe.push(tt))}if(et.push(_r),Fr===Je)return Fe.push(Ee==="strict"?Z:Tt);if(Fr===Y)return Fe.push(tt);if(Fr===Pe)return Fe.push(tt);if(Fr===we)return ur>=131072&&ur<=196605||ur>=196608&&ur<=262141?Fe.push(Tt):Fe.push(tt);Fe.push(Fr)}),[et,Fe,Ut]},Jt=function(fe,Ee,Fe,et){var Ut=et[Fe];if(Array.isArray(fe)?fe.indexOf(Ut)!==-1:fe===Ut)for(var ur=Fe;ur<=et.length;){ur++;var _r=et[ur];if(_r===Ee)return!0;if(_r!==he)break}if(Ut===he)for(var ur=Fe;ur>0;){ur--;var Fr=et[ur];if(Array.isArray(fe)?fe.indexOf(Fr)!==-1:fe===Fr)for(var en=Fe;en<=et.length;){en++;var _r=et[en];if(_r===Ee)return!0;if(_r!==he)break}if(Fr!==he)break}return!1},br=function(fe,Ee){for(var Fe=fe;Fe>=0;){var et=Ee[Fe];if(et===he)Fe--;else return et}return 0},Lr=function(fe,Ee,Fe,et,Ut){if(Fe[et]===0)return ot;var ur=et-1;if(Array.isArray(Ut)&&Ut[ur]===!0)return ot;var _r=ur-1,Fr=ur+1,en=Ee[ur],Kn=_r>=0?Ee[_r]:0,Dn=Ee[Fr];if(en===Q&&Dn===V)return ot;if(Gt.indexOf(en)!==-1)return le;if(Gt.indexOf(Dn)!==-1)return ot;if(lr.indexOf(Dn)!==-1)return ot;if(br(ur,Ee)===$)return wt;if(rt.get(fe[ur])===Ie)return ot;if((en===Oe||en===pt)&&rt.get(fe[Fr])===Ie)return ot;if(en===se||Dn===se)return ot;if(en===ge)return ot;if([he,Le,G].indexOf(en)===-1&&Dn===ge)return ot;if([We,te,X,Ae,xe].indexOf(Dn)!==-1)return ot;if(br(ur,Ee)===be)return ot;if(Jt(ne,be,ur,Ee))return ot;if(Jt([We,te],Z,ur,Ee))return ot;if(Jt(Se,Se,ur,Ee))return ot;if(en===he)return wt;if(en===ne||Dn===ne)return ot;if(Dn===pe||en===pe)return wt;if([Le,G,Z].indexOf(Dn)!==-1||en===He)return ot;if(Kn===bt&&Ot.indexOf(en)!==-1)return ot;if(en===xe&&Dn===bt)return ot;if(Dn===z)return ot;if(It.indexOf(Dn)!==-1&&en===Ne||It.indexOf(en)!==-1&&Dn===Ne)return ot;if(en===de&&[Tt,Oe,pt].indexOf(Dn)!==-1||[Tt,Oe,pt].indexOf(en)!==-1&&Dn===oe)return ot;if(It.indexOf(en)!==-1&&pr.indexOf(Dn)!==-1||pr.indexOf(en)!==-1&&It.indexOf(Dn)!==-1)return ot;if([de,oe].indexOf(en)!==-1&&(Dn===Ne||[be,G].indexOf(Dn)!==-1&&Ee[Fr+1]===Ne)||[be,G].indexOf(en)!==-1&&Dn===Ne||en===Ne&&[Ne,xe,Ae].indexOf(Dn)!==-1)return ot;if([Ne,xe,Ae,We,te].indexOf(Dn)!==-1)for(var Xn=ur;Xn>=0;){var Vi=Ee[Xn];if(Vi===Ne)return ot;if([xe,Ae].indexOf(Vi)!==-1)Xn--;else break}if([de,oe].indexOf(Dn)!==-1)for(var Xn=[We,te].indexOf(en)!==-1?_r:ur;Xn>=0;){var Vi=Ee[Xn];if(Vi===Ne)return ot;if([xe,Ae].indexOf(Vi)!==-1)Xn--;else break}if(Ct===en&&[Ct,Nt,Qe,nt].indexOf(Dn)!==-1||[Nt,Qe].indexOf(en)!==-1&&[Nt,Ge].indexOf(Dn)!==-1||[Ge,nt].indexOf(en)!==-1&&Dn===Ge)return ot;if(xt.indexOf(en)!==-1&&[z,oe].indexOf(Dn)!==-1||xt.indexOf(Dn)!==-1&&en===de)return ot;if(It.indexOf(en)!==-1&&It.indexOf(Dn)!==-1)return ot;if(en===Ae&&It.indexOf(Dn)!==-1)return ot;if(It.concat(Ne).indexOf(en)!==-1&&Dn===be&&Ce.indexOf(fe[Fr])===-1||It.concat(Ne).indexOf(Dn)!==-1&&en===te)return ot;if(en===ie&&Dn===ie){for(var Xi=Fe[ur],sa=1;Xi>0&&(Xi--,Ee[Xi]===ie);)sa++;if(sa%2!==0)return ot}return en===Oe&&Dn===pt?ot:wt},Zr=function(fe,Ee){Ee||(Ee={lineBreak:"normal",wordBreak:"normal"});var Fe=At(fe,Ee.lineBreak),et=Fe[0],Ut=Fe[1],ur=Fe[2];(Ee.wordBreak==="break-all"||Ee.wordBreak==="break-word")&&(Ut=Ut.map(function(Fr){return[Ne,tt,Y].indexOf(Fr)!==-1?Tt:Fr}));var _r=Ee.wordBreak==="keep-all"?ur.map(function(Fr,en){return Fr&&fe[en]>=19968&&fe[en]<=40959}):void 0;return[et,Ut,_r]},In=function(){function at(fe,Ee,Fe,et){this.codePoints=fe,this.required=Ee===le,this.start=Fe,this.end=et}return at.prototype.slice=function(){return r.apply(void 0,this.codePoints.slice(this.start,this.end))},at}(),Gr=function(fe,Ee){var Fe=e(fe),et=Zr(Fe,Ee),Ut=et[0],ur=et[1],_r=et[2],Fr=Fe.length,en=0,Kn=0;return{next:function(){if(Kn>=Fr)return{done:!0,value:null};for(var Xn=ot;Kn<Fr&&(Xn=Lr(Fe,ur,Ut,++Kn,_r))===ot;);if(Xn!==ot||Kn===Fr){var Vi=new In(Fe,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,De=10,je=47,Ye=92,st=9,kt=32,$t=34,Nr=61,yn=35,un=36,Kt=37,St=39,Mt=40,Zt=41,kr=95,Hr=45,$r=33,Bt=60,cr=62,Cr=64,Br=91,zr=93,An=61,bn=123,Sn=63,Mn=125,ei=124,Zn=126,ai=128,ii=65533,$e=42,Te=43,ke=44,Me=58,Ze=59,Xe=46,qe=0,mt=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,zn=70,Nn=85,Fn=90,Gn=function(fe){return fe>=_t&&fe<=57},xn=function(fe){return fe>=55296&&fe<=57343},mi=function(fe){return Gn(fe)||fe>=ln&&fe<=zn||fe>=gr&&fe<=Sr},rn=function(fe){return fe>=gr&&fe<=sr},Ur=function(fe){return fe>=ln&&fe<=Fn},cn=function(fe){return rn(fe)||Ur(fe)},Qr=function(fe){return fe>=ai},Vn=function(fe){return fe===De||fe===st||fe===kt},Hn=function(fe){return cn(fe)||Qr(fe)||fe===kr},li=function(fe){return Hn(fe)||Gn(fe)||fe===Hr},Un=function(fe){return fe>=qe&&fe<=mt||fe===ht||fe>=Vt&&fe<=dr||fe===tr},gi=function(fe,Ee){return fe!==Ye?!1:Ee!==De},kn=function(fe,Ee,Fe){return fe===Hr?Hn(Ee)||gi(Ee,Fe):Hn(fe)?!0:!!(fe===Ye&&gi(fe,Ee))},di=function(fe,Ee,Fe){return fe===Te||fe===Hr?Gn(Ee)?!0:Ee===Xe&&Gn(Fe):fe===Xe?Gn(Ee):Gn(fe)},qr=function(fe){var Ee=0,Fe=1;(fe[Ee]===Te||fe[Ee]===Hr)&&(fe[Ee]===Hr&&(Fe=-1),Ee++);for(var et=[];Gn(fe[Ee]);)et.push(fe[Ee++]);var Ut=et.length?parseInt(r.apply(void 0,et),10):0;fe[Ee]===Xe&&Ee++;for(var ur=[];Gn(fe[Ee]);)ur.push(fe[Ee++]);var _r=ur.length,Fr=_r?parseInt(r.apply(void 0,ur),10):0;(fe[Ee]===_n||fe[Ee]===jt)&&Ee++;var en=1;(fe[Ee]===Te||fe[Ee]===Hr)&&(fe[Ee]===Hr&&(en=-1),Ee++);for(var Kn=[];Gn(fe[Ee]);)Kn.push(fe[Ee++]);var Dn=Kn.length?parseInt(r.apply(void 0,Kn),10):0;return Fe*(Ut+Fr*Math.pow(10,-_r))*Math.pow(10,en*Dn)},xr={type:2},nn={type:3},gn={type:4},On={type:13},Bn={type:8},Wn={type:21},$n={type:9},Jn={type:10},vi={type:11},Pi={type:12},Bi={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(fe){this._value=this._value.concat(e(fe))},at.prototype.read=function(){for(var fe=[],Ee=this.consumeToken();Ee!==Qi;)fe.push(Ee),Ee=this.consumeToken();return fe},at.prototype.consumeToken=function(){var fe=this.consumeCodePoint();switch(fe){case $t:return this.consumeStringToken($t);case yn:var Ee=this.peekCodePoint(0),Fe=this.peekCodePoint(1),et=this.peekCodePoint(2);if(li(Ee)||gi(Fe,et)){var Ut=kn(Ee,Fe,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 Mt:return xr;case Zt:return nn;case $e:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),Bi;break;case Te:if(di(fe,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(fe),this.consumeNumericToken();break;case ke:return gn;case Hr:var _r=fe,Fr=this.peekCodePoint(0),en=this.peekCodePoint(1);if(di(_r,Fr,en))return this.reconsumeCodePoint(fe),this.consumeNumericToken();if(kn(_r,Fr,en))return this.reconsumeCodePoint(fe),this.consumeIdentLikeToken();if(Fr===Hr&&en===cr)return this.consumeCodePoint(),this.consumeCodePoint(),hi;break;case Xe:if(di(fe,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(fe),this.consumeNumericToken();break;case je:if(this.peekCodePoint(0)===$e)for(this.consumeCodePoint();;){var Kn=this.consumeCodePoint();if(Kn===$e&&(Kn=this.consumeCodePoint(),Kn===je))return this.consumeToken();if(Kn===ir)return this.consumeToken()}break;case Me:return Ri;case Ze:return bi;case Bt: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(kn(Dn,Xn,Vi)){var ur=this.consumeName();return{type:7,value:ur}}break;case Br:return Ui;case Ye:if(gi(fe,this.peekCodePoint(0)))return this.reconsumeCodePoint(fe),this.consumeIdentLikeToken();break;case zr:return ni;case An:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),Bn;break;case bn:return vi;case Mn:return Pi;case Ar:case Nn:var Xi=this.peekCodePoint(0),sa=this.peekCodePoint(1);return Xi===Te&&(mi(sa)||sa===Sn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(fe),this.consumeIdentLikeToken();case ei:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),$n;if(this.peekCodePoint(0)===ei)return this.consumeCodePoint(),Wn;break;case Zn:if(this.peekCodePoint(0)===Nr)return this.consumeCodePoint(),Jn;break;case ir:return Qi}return Vn(fe)?(this.consumeWhiteSpace(),qi):Gn(fe)?(this.reconsumeCodePoint(fe),this.consumeNumericToken()):Hn(fe)?(this.reconsumeCodePoint(fe),this.consumeIdentLikeToken()):{type:6,value:r(fe)}},at.prototype.consumeCodePoint=function(){var fe=this._value.shift();return typeof fe=="undefined"?-1:fe},at.prototype.reconsumeCodePoint=function(fe){this._value.unshift(fe)},at.prototype.peekCodePoint=function(fe){return fe>=this._value.length?-1:this._value[fe]},at.prototype.consumeUnicodeRangeToken=function(){for(var fe=[],Ee=this.consumeCodePoint();mi(Ee)&&fe.length<6;)fe.push(Ee),Ee=this.consumeCodePoint();for(var Fe=!1;Ee===Sn&&fe.length<6;)fe.push(Ee),Ee=this.consumeCodePoint(),Fe=!0;if(Fe){var et=parseInt(r.apply(void 0,fe.map(function(Fr){return Fr===Sn?_t:Fr})),16),Ut=parseInt(r.apply(void 0,fe.map(function(Fr){return Fr===Sn?zn:Fr})),16);return{type:30,start:et,end:Ut}}var ur=parseInt(r.apply(void 0,fe),16);if(this.peekCodePoint(0)===Hr&&mi(this.peekCodePoint(1))){this.consumeCodePoint(),Ee=this.consumeCodePoint();for(var _r=[];mi(Ee)&&_r.length<6;)_r.push(Ee),Ee=this.consumeCodePoint();var Ut=parseInt(r.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 fe=this.consumeName();return fe.toLowerCase()==="url"&&this.peekCodePoint(0)===Mt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Mt?(this.consumeCodePoint(),{type:19,value:fe}):{type:20,value:fe}},at.prototype.consumeUrlToken=function(){var fe=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===ir)return{type:22,value:""};var Ee=this.peekCodePoint(0);if(Ee===St||Ee===$t){var Fe=this.consumeStringToken(this.consumeCodePoint());return Fe.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ir||this.peekCodePoint(0)===Zt)?(this.consumeCodePoint(),{type:22,value:Fe.value}):(this.consumeBadUrlRemnants(),ja)}for(;;){var et=this.consumeCodePoint();if(et===ir||et===Zt)return{type:22,value:r.apply(void 0,fe)};if(Vn(et))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ir||this.peekCodePoint(0)===Zt?(this.consumeCodePoint(),{type:22,value:r.apply(void 0,fe)}):(this.consumeBadUrlRemnants(),ja);if(et===$t||et===St||et===Mt||Un(et))return this.consumeBadUrlRemnants(),ja;if(et===Ye)if(gi(et,this.peekCodePoint(0)))fe.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ja;else fe.push(et)}},at.prototype.consumeWhiteSpace=function(){for(;Vn(this.peekCodePoint(0));)this.consumeCodePoint()},at.prototype.consumeBadUrlRemnants=function(){for(;;){var fe=this.consumeCodePoint();if(fe===Zt||fe===ir)return;gi(fe,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},at.prototype.consumeStringSlice=function(fe){for(var Ee=6e4,Fe="";fe>0;){var et=Math.min(Ee,fe);Fe+=r.apply(void 0,this._value.splice(0,et)),fe-=et}return this._value.shift(),Fe},at.prototype.consumeStringToken=function(fe){var Ee="",Fe=0;do{var et=this._value[Fe];if(et===ir||et===void 0||et===fe)return Ee+=this.consumeStringSlice(Fe),{type:0,value:Ee};if(et===De)return this._value.splice(0,Fe),Qn;if(et===Ye){var Ut=this._value[Fe+1];Ut!==ir&&Ut!==void 0&&(Ut===De?(Ee+=this.consumeStringSlice(Fe),Fe=-1,this._value.shift()):gi(et,Ut)&&(Ee+=this.consumeStringSlice(Fe),Ee+=r(this.consumeEscapedCodePoint()),Fe=-1))}Fe++}while(!0)},at.prototype.consumeNumber=function(){var fe=[],Ee=vt,Fe=this.peekCodePoint(0);for((Fe===Te||Fe===Hr)&&fe.push(this.consumeCodePoint());Gn(this.peekCodePoint(0));)fe.push(this.consumeCodePoint());Fe=this.peekCodePoint(0);var et=this.peekCodePoint(1);if(Fe===Xe&&Gn(et))for(fe.push(this.consumeCodePoint(),this.consumeCodePoint()),Ee=ft;Gn(this.peekCodePoint(0));)fe.push(this.consumeCodePoint());Fe=this.peekCodePoint(0),et=this.peekCodePoint(1);var Ut=this.peekCodePoint(2);if((Fe===_n||Fe===jt)&&((et===Te||et===Hr)&&Gn(Ut)||Gn(et)))for(fe.push(this.consumeCodePoint(),this.consumeCodePoint()),Ee=ft;Gn(this.peekCodePoint(0));)fe.push(this.consumeCodePoint());return[qr(fe),Ee]},at.prototype.consumeNumericToken=function(){var fe=this.consumeNumber(),Ee=fe[0],Fe=fe[1],et=this.peekCodePoint(0),Ut=this.peekCodePoint(1),ur=this.peekCodePoint(2);if(kn(et,Ut,ur)){var _r=this.consumeName();return{type:15,number:Ee,flags:Fe,unit:_r}}return et===Kt?(this.consumeCodePoint(),{type:16,number:Ee,flags:Fe}):{type:17,number:Ee,flags:Fe}},at.prototype.consumeEscapedCodePoint=function(){var fe=this.consumeCodePoint();if(mi(fe)){for(var Ee=r(fe);mi(this.peekCodePoint(0))&&Ee.length<6;)Ee+=r(this.consumeCodePoint());Vn(this.peekCodePoint(0))&&this.consumeCodePoint();var Fe=parseInt(Ee,16);return Fe===0||xn(Fe)||Fe>1114111?ii:Fe}return fe===ir?ii:fe},at.prototype.consumeName=function(){for(var fe="";;){var Ee=this.consumeCodePoint();if(li(Ee))fe+=r(Ee);else if(gi(Ee,this.peekCodePoint(0)))fe+=r(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Ee),fe}},at}(),Yt=function(){function at(fe){this._tokens=fe}return at.create=function(fe){var Ee=new ha;return Ee.write(fe),new at(Ee.read())},at.parseValue=function(fe){return at.create(fe).parseComponentValue()},at.parseValues=function(fe){return at.create(fe).parseComponentValues()},at.prototype.parseComponentValue=function(){for(var fe=this.consumeToken();fe.type===31;)fe=this.consumeToken();if(fe.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(fe);var Ee=this.consumeComponentValue();do fe=this.consumeToken();while(fe.type===31);if(fe.type===32)return Ee;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},at.prototype.parseComponentValues=function(){for(var fe=[];;){var Ee=this.consumeComponentValue();if(Ee.type===32)return fe;fe.push(Ee),fe.push()}},at.prototype.consumeComponentValue=function(){var fe=this.consumeToken();switch(fe.type){case 11:case 28:case 2:return this.consumeSimpleBlock(fe.type);case 19:return this.consumeFunction(fe)}return fe},at.prototype.consumeSimpleBlock=function(fe){for(var Ee={type:fe,values:[]},Fe=this.consumeToken();;){if(Fe.type===32||Vr(Fe,fe))return Ee;this.reconsumeToken(Fe),Ee.values.push(this.consumeComponentValue()),Fe=this.consumeToken()}},at.prototype.consumeFunction=function(fe){for(var Ee={name:fe.value,values:[],type:18};;){var Fe=this.consumeToken();if(Fe.type===32||Fe.type===3)return Ee;this.reconsumeToken(Fe),Ee.values.push(this.consumeComponentValue())}},at.prototype.consumeToken=function(){var fe=this._tokens.shift();return typeof fe=="undefined"?Qi:fe},at.prototype.reconsumeToken=function(fe){this._tokens.unshift(fe)},at}(),Ir=function(fe){return fe.type===15},Jr=function(fe){return fe.type===17},Ke=function(fe){return fe.type===20},gt=function(fe){return fe.type===0},Xt=function(fe,Ee){return Ke(fe)&&fe.value===Ee},Wt=function(fe){return fe.type!==31},vr=function(fe){return fe.type!==31&&fe.type!==4},or=function(fe){var Ee=[],Fe=[];return fe.forEach(function(et){if(et.type===4){if(Fe.length===0)throw new Error("Error parsing function args, zero tokens for arg");Ee.push(Fe),Fe=[];return}et.type!==31&&Fe.push(et)}),Fe.length&&Ee.push(Fe),Ee},Vr=function(fe,Ee){return Ee===11&&fe.type===12||Ee===28&&fe.type===29?!0:Ee===2&&fe.type===3},Kr=function(fe){return fe.type===17||fe.type===15},Dr=function(fe){return fe.type===16||Kr(fe)},dn=function(fe){return fe.length>1?[fe[0],fe[1]]:[fe[0]]},on={type:17,number:0,flags:vt},Cn={type:16,number:50,flags:vt},sn={type:16,number:100,flags:vt},an=function(fe,Ee,Fe){var et=fe[0],Ut=fe[1];return[Yr(et,Ee),Yr(typeof Ut!="undefined"?Ut:et,Fe)]},Yr=function(fe,Ee){if(fe.type===16)return fe.number/100*Ee;if(Ir(fe))switch(fe.unit){case"rem":case"em":return 16*fe.number;case"px":default:return fe.number}return fe.number},fn="deg",vn="grad",Ln="rad",oi="turn",si={name:"angle",parse:function(fe,Ee){if(Ee.type===15)switch(Ee.unit){case fn:return Math.PI*Ee.number/180;case vn:return Math.PI/200*Ee.number;case Ln:return Ee.number;case oi:return Math.PI*2*Ee.number}throw new Error("Unsupported angle type")}},Ni=function(fe){return fe.type===15&&(fe.unit===fn||fe.unit===vn||fe.unit===Ln||fe.unit===oi)},qn=function(fe){var Ee=fe.filter(Ke).map(function(Fe){return Fe.value}).join(" ");switch(Ee){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(fe){return Math.PI*fe/180},ki={name:"color",parse:function(fe,Ee){if(Ee.type===18){var Fe=aa[Ee.name];if(typeof Fe=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Ee.name+'"');return Fe(fe,Ee.values)}if(Ee.type===5){if(Ee.value.length===3){var et=Ee.value.substring(0,1),Ut=Ee.value.substring(1,2),ur=Ee.value.substring(2,3);return fi(parseInt(et+et,16),parseInt(Ut+Ut,16),parseInt(ur+ur,16),1)}if(Ee.value.length===4){var et=Ee.value.substring(0,1),Ut=Ee.value.substring(1,2),ur=Ee.value.substring(2,3),_r=Ee.value.substring(3,4);return fi(parseInt(et+et,16),parseInt(Ut+Ut,16),parseInt(ur+ur,16),parseInt(_r+_r,16)/255)}if(Ee.value.length===6){var et=Ee.value.substring(0,2),Ut=Ee.value.substring(2,4),ur=Ee.value.substring(4,6);return fi(parseInt(et,16),parseInt(Ut,16),parseInt(ur,16),1)}if(Ee.value.length===8){var et=Ee.value.substring(0,2),Ut=Ee.value.substring(2,4),ur=Ee.value.substring(4,6),_r=Ee.value.substring(6,8);return fi(parseInt(et,16),parseInt(Ut,16),parseInt(ur,16),parseInt(_r,16)/255)}}if(Ee.type===20){var Fr=Ea[Ee.value.toUpperCase()];if(typeof Fr!="undefined")return Fr}return Ea.TRANSPARENT}},ci=function(fe){return(255&fe)===0},wi=function(fe){var Ee=255&fe,Fe=255&fe>>8,et=255&fe>>16,Ut=255&fe>>24;return Ee<255?"rgba("+Ut+","+et+","+Fe+","+Ee/255+")":"rgb("+Ut+","+et+","+Fe+")"},fi=function(fe,Ee,Fe,et){return(fe<<24|Ee<<16|Fe<<8|Math.round(et*255)<<0)>>>0},Mi=function(fe,Ee){if(fe.type===17)return fe.number;if(fe.type===16){var Fe=Ee===3?1:255;return Ee===3?fe.number/100*Fe:Math.round(fe.number/100*Fe)}return 0},fa=function(fe,Ee){var Fe=Ee.filter(vr);if(Fe.length===3){var et=Fe.map(Mi),Ut=et[0],ur=et[1],_r=et[2];return fi(Ut,ur,_r,1)}if(Fe.length===4){var Fr=Fe.map(Mi),Ut=Fr[0],ur=Fr[1],_r=Fr[2],en=Fr[3];return fi(Ut,ur,_r,en)}return 0};function Wi(at,fe,Ee){return Ee<0&&(Ee+=1),Ee>=1&&(Ee-=1),Ee<1/6?(fe-at)*Ee*6+at:Ee<1/2?fe:Ee<2/3?(fe-at)*6*(2/3-Ee)+at:at}var ma=function(fe,Ee){var Fe=Ee.filter(vr),et=Fe[0],Ut=Fe[1],ur=Fe[2],_r=Fe[3],Fr=(et.type===17?Pn(et.number):si.parse(fe,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=Wi(Vi,Xn,Fr+1/3),sa=Wi(Vi,Xn,Fr),no=Wi(Vi,Xn,Fr-1/3);return fi(Xi*255,sa*255,no*255,Dn)},aa={hsl:ma,hsla:ma,rgb:fa,rgba:fa},ya=function(fe,Ee){return ki.parse(fe,Yt.create(Ee).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 Ma={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(fe,Ee){return Ee.map(function(Fe){if(Ke(Fe))switch(Fe.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(fe,Ee){var Fe=ki.parse(fe,Ee[0]),et=Ee[1];return et&&Dr(et)?{color:Fe,stop:et}:{color:Fe,stop:null}},xi=function(fe,Ee){var Fe=fe[0],et=fe[fe.length-1];Fe.stop===null&&(Fe.stop=on),et.stop===null&&(et.stop=sn);for(var Ut=[],ur=0,_r=0;_r<fe.length;_r++){var Fr=fe[_r].stop;if(Fr!==null){var en=Yr(Fr,Ee);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 fe.map(function(no,Ra){var Ia=no.color;return{color:Ia,stop:Math.max(Math.min(1,Ut[Ra]/Ee),0)}})},ji=function(fe,Ee,Fe){var et=Ee/2,Ut=Fe/2,ur=Yr(fe[0],Ee)-et,_r=Ut-Yr(fe[1],Fe);return(Math.atan2(_r,ur)+Math.PI*2)%(Math.PI*2)},Ji=function(fe,Ee,Fe){var et=typeof fe=="number"?fe:ji(fe,Ee,Fe),Ut=Math.abs(Ee*Math.sin(et))+Math.abs(Fe*Math.cos(et)),ur=Ee/2,_r=Fe/2,Fr=Ut/2,en=Math.sin(et-Math.PI/2)*Fr,Kn=Math.cos(et-Math.PI/2)*Fr;return[Ut,ur-Kn,ur+Kn,_r-en,_r+en]},Si=function(fe,Ee){return Math.sqrt(fe*fe+Ee*Ee)},Hi=function(fe,Ee,Fe,et,Ut){var ur=[[0,0],[0,Ee],[fe,0],[fe,Ee]];return ur.reduce(function(_r,Fr){var en=Fr[0],Kn=Fr[1],Dn=Si(Fe-en,et-Kn);return(Ut?Dn<_r.optimumDistance:Dn>_r.optimumDistance)?{optimumCorner:Fr,optimumDistance:Dn}:_r},{optimumDistance:Ut?Infinity:-Infinity,optimumCorner:null}).optimumCorner},Oa=function(fe,Ee,Fe,et,Ut){var ur=0,_r=0;switch(fe.size){case ao.CLOSEST_SIDE:fe.shape===Va.CIRCLE?ur=_r=Math.min(Math.abs(Ee),Math.abs(Ee-et),Math.abs(Fe),Math.abs(Fe-Ut)):fe.shape===Va.ELLIPSE&&(ur=Math.min(Math.abs(Ee),Math.abs(Ee-et)),_r=Math.min(Math.abs(Fe),Math.abs(Fe-Ut)));break;case ao.CLOSEST_CORNER:if(fe.shape===Va.CIRCLE)ur=_r=Math.min(Si(Ee,Fe),Si(Ee,Fe-Ut),Si(Ee-et,Fe),Si(Ee-et,Fe-Ut));else if(fe.shape===Va.ELLIPSE){var Fr=Math.min(Math.abs(Fe),Math.abs(Fe-Ut))/Math.min(Math.abs(Ee),Math.abs(Ee-et)),en=Hi(et,Ut,Ee,Fe,!0),Kn=en[0],Dn=en[1];ur=Si(Kn-Ee,(Dn-Fe)/Fr),_r=Fr*ur}break;case ao.FARTHEST_SIDE:fe.shape===Va.CIRCLE?ur=_r=Math.max(Math.abs(Ee),Math.abs(Ee-et),Math.abs(Fe),Math.abs(Fe-Ut)):fe.shape===Va.ELLIPSE&&(ur=Math.max(Math.abs(Ee),Math.abs(Ee-et)),_r=Math.max(Math.abs(Fe),Math.abs(Fe-Ut)));break;case ao.FARTHEST_CORNER:if(fe.shape===Va.CIRCLE)ur=_r=Math.max(Si(Ee,Fe),Si(Ee,Fe-Ut),Si(Ee-et,Fe),Si(Ee-et,Fe-Ut));else if(fe.shape===Va.ELLIPSE){var Fr=Math.max(Math.abs(Fe),Math.abs(Fe-Ut))/Math.max(Math.abs(Ee),Math.abs(Ee-et)),Xn=Hi(et,Ut,Ee,Fe,!1),Kn=Xn[0],Dn=Xn[1];ur=Si(Kn-Ee,(Dn-Fe)/Fr),_r=Fr*ur}break}return Array.isArray(fe.size)&&(ur=Yr(fe.size[0],et),_r=fe.size.length===2?Yr(fe.size[1],Ut):ur),[ur,_r]},_a=function(fe,Ee){var Fe=Pn(180),et=[];return or(Ee).forEach(function(Ut,ur){if(ur===0){var _r=Ut[0];if(_r.type===20&&_r.value==="to"){Fe=qn(Ut);return}else if(Ni(_r)){Fe=si.parse(fe,_r);return}}var Fr=_i(fe,Ut);et.push(Fr)}),{angle:Fe,stops:et,type:Ba.LINEAR_GRADIENT}},la=function(fe,Ee){var Fe=Pn(180),et=[];return or(Ee).forEach(function(Ut,ur){if(ur===0){var _r=Ut[0];if(_r.type===20&&["top","left","right","bottom"].indexOf(_r.value)!==-1){Fe=qn(Ut);return}else if(Ni(_r)){Fe=(si.parse(fe,_r)+Pn(270))%Pn(360);return}}var Fr=_i(fe,Ut);et.push(Fr)}),{angle:Fe,stops:et,type:Ba.LINEAR_GRADIENT}},va=function(fe,Ee){var Fe=Pn(180),et=[],Ut=Ba.LINEAR_GRADIENT,ur=Va.CIRCLE,_r=ao.FARTHEST_CORNER,Fr=[];return or(Ee).forEach(function(en,Kn){var Dn=en[0];if(Kn===0){if(Ke(Dn)&&Dn.value==="linear"){Ut=Ba.LINEAR_GRADIENT;return}else if(Ke(Dn)&&Dn.value==="radial"){Ut=Ba.RADIAL_GRADIENT;return}}if(Dn.type===18){if(Dn.name==="from"){var Xn=ki.parse(fe,Dn.values[0]);et.push({stop:on,color:Xn})}else if(Dn.name==="to"){var Xn=ki.parse(fe,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=ki.parse(fe,Vi[1]),Xi=Vi[0];Jr(Xi)&&et.push({stop:{type:16,number:Xi.number*100,flags:Xi.flags},color:Xn})}}}}),Ut===Ba.LINEAR_GRADIENT?{angle:(Fe+Pn(180))%Pn(360),stops:et,type:Ut}:{size:_r,shape:ur,stops:et,position:Fr,type:Ut}},Fa="closest-side",Xa="farthest-side",co="closest-corner",so="farthest-corner",Ao="circle",io="ellipse",pa="cover",ga="contain",ba=function(fe,Ee){var Fe=Va.CIRCLE,et=ao.FARTHEST_CORNER,Ut=[],ur=[];return or(Ee).forEach(function(_r,Fr){var en=!0;if(Fr===0){var Kn=!1;en=_r.reduce(function(Xn,Vi){if(Kn)if(Ke(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(Ke(Vi))switch(Vi.value){case Ao:return Fe=Va.CIRCLE,!1;case io:return Fe=Va.ELLIPSE,!1;case"at":return Kn=!0,!1;case Fa: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(fe,_r);Ut.push(Dn)}}),{size:et,shape:Fe,stops:Ut,position:ur,type:Ba.RADIAL_GRADIENT}},Oi=function(fe,Ee){var Fe=Va.CIRCLE,et=ao.FARTHEST_CORNER,Ut=[],ur=[];return or(Ee).forEach(function(_r,Fr){var en=!0;if(Fr===0?en=_r.reduce(function(Dn,Xn){if(Ke(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):Fr===1&&(en=_r.reduce(function(Dn,Xn){if(Ke(Xn))switch(Xn.value){case Ao:return Fe=Va.CIRCLE,!1;case io:return Fe=Va.ELLIPSE,!1;case ga:case Fa: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(fe,_r);Ut.push(Kn)}}),{size:et,shape:Fe,stops:Ut,position:ur,type:Ba.RADIAL_GRADIENT}},Ba;(function(at){at[at.URL=0]="URL",at[at.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",at[at.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(Ba||(Ba={}));var vo=function(fe){return fe.type===Ba.LINEAR_GRADIENT},os=function(fe){return fe.type===Ba.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(fe,Ee){if(Ee.type===22){var Fe={url:Ee.value,type:Ba.URL};return fe.cache.addImage(Ee.value),Fe}if(Ee.type===18){var et=fo[Ee.name];if(typeof et=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Ee.name+'"');return et(fe,Ee.values)}throw new Error("Unsupported image type "+Ee.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(fe,Ee){if(Ee.length===0)return[];var Fe=Ee[0];return Fe.type===20&&Fe.value==="none"?[]:Ee.filter(function(et){return vr(et)&&yo(et)}).map(function(et){return Ga.parse(fe,et)})}},To={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(fe,Ee){return Ee.map(function(Fe){if(Ke(Fe))switch(Fe.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(fe,Ee){return or(Ee).map(function(Fe){return Fe.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 Wo={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(fe,Ee){return or(Ee).map(function(Fe){return Fe.filter(Ke).map(function(et){return et.value}).join(" ")}).map(ns)}},ns=function(fe){switch(fe){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(fe,Ee){return or(Ee).map(function(Fe){return Fe.filter(Za)})}},Za=function(fe){return Ke(fe)||Dr(fe)},ka=function(fe){return{name:"border-"+fe+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},$i=ka("top"),uo=ka("right"),Ha=ka("bottom"),Yi=ka("left"),Qa=function(fe){return{name:"border-radius-"+fe,initialValue:"0 0",prefix:!1,type:1,parse:function(Fe,et){return dn(et.filter(Dr))}}},Fo=Qa("top-left"),Qo=Qa("top-right"),Zo=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(fe){return{name:"border-"+fe+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Fe,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"),Bo=lo("left"),Oo=function(fe){return{name:"border-"+fe+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Fe,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(fe,Ee){switch(Ee){case"rtl":return 1;case"ltr":default:return 0}}},Vo={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(fe,Ee){return Ee.filter(Ke).reduce(function(Fe,et){return Fe|Jo(et.value)},0)}},Jo=function(fe){switch(fe){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(fe,Ee){switch(Ee){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(fe,Ee){return Ee.type===20&&Ee.value==="normal"?0:Ee.type===17||Ee.type===15?Ee.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(fe,Ee){switch(Ee){case"strict":return Xo.STRICT;case"normal":default:return Xo.NORMAL}}},Lo={name:"line-height",initialValue:"normal",prefix:!1,type:4},Yo=function(fe,Ee){return Ke(fe)&&fe.value==="normal"?1.2*Ee:fe.type===17?Ee*fe.number:Dr(fe)?Yr(fe,Ee):Ee},Ko={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(fe,Ee){return Ee.type===20&&Ee.value==="none"?null:Ga.parse(fe,Ee)}},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(fe,Ee){switch(Ee){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(fe,Ee){switch(Ee){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(fe){return{name:"margin-"+fe,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(fe,Ee){return Ee.filter(Ke).map(function(Fe){switch(Fe.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(fe,Ee){switch(Ee){case"break-word":return"break-word";case"normal":default:return"normal"}}},_s=function(fe){return{name:"padding-"+fe,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(fe,Ee){switch(Ee){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(fe,Ee){switch(Ee){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(fe,Ee){return Ee.length===1&&Xt(Ee[0],"none")?[]:or(Ee).map(function(Fe){for(var et={color:Ea.TRANSPARENT,offsetX:on,offsetY:on,blur:on},Ut=0,ur=0;ur<Fe.length;ur++){var _r=Fe[ur];Kr(_r)?(Ut===0?et.offsetX=_r:Ut===1?et.offsetY=_r:et.blur=_r,Ut++):et.color=ki.parse(fe,_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(fe,Ee){switch(Ee){case"uppercase":return Rn.UPPERCASE;case"lowercase":return Rn.LOWERCASE;case"capitalize":return Rn.CAPITALIZE}return Rn.NONE}},ce={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(fe,Ee){if(Ee.type===20&&Ee.value==="none")return null;if(Ee.type===18){var Fe=ze[Ee.name];if(typeof Fe=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+Ee.name+'"');return Fe(Ee.values)}return null}},ve=function(fe){var Ee=fe.filter(function(Fe){return Fe.type===17}).map(function(Fe){return Fe.number});return Ee.length===6?Ee:null},_e=function(fe){var Ee=fe.filter(function(en){return en.type===17}).map(function(en){return en.number}),Fe=Ee[0],et=Ee[1];Ee[2],Ee[3];var Ut=Ee[4],ur=Ee[5];Ee[6],Ee[7],Ee[8],Ee[9],Ee[10],Ee[11];var _r=Ee[12],Fr=Ee[13];return Ee[14],Ee[15],Ee.length===16?[Fe,et,Ut,ur,_r,Fr]:null},ze={matrix:ve,matrix3d:_e},ut={type:16,number:50,flags:vt},Pt=[ut,ut],ar={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(fe,Ee){var Fe=Ee.filter(Dr);return Fe.length!==2?Pt:[Fe[0],Fe[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(fe,Ee){switch(Ee){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(fe,Ee){switch(Ee){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(fe,Ee){if(Ee.type===20)return{auto:!0,order:0};if(Jr(Ee))return{auto:!1,order:Ee.number};throw new Error("Invalid z-index number parsed")}},Ai={name:"time",parse:function(fe,Ee){if(Ee.type===15)switch(Ee.unit.toLowerCase()){case"s":return 1e3*Ee.number;case"ms":return Ee.number}throw new Error("Unsupported time type")}},Ti={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(fe,Ee){return Jr(Ee)?Ee.number:1}},zi={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(fe,Ee){return Ee.filter(Ke).map(function(Fe){switch(Fe.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(Fe){return Fe!==0})}},Ua={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(fe,Ee){var Fe=[],et=[];return Ee.forEach(function(Ut){switch(Ut.type){case 20:case 0:Fe.push(Ut.value);break;case 17:Fe.push(Ut.number.toString());break;case 4:et.push(Fe.join(" ")),Fe.length=0;break}}),Fe.length&&et.push(Fe.join(" ")),et.map(function(Ut){return Ut.indexOf(" ")===-1?Ut:"'"+Ut+"'"})}},Ja={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},to={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(fe,Ee){if(Jr(Ee))return Ee.number;if(Ke(Ee))switch(Ee.value){case"bold":return 700;case"normal":default:return 400}return 400}},No={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(fe,Ee){return Ee.filter(Ke).map(function(Fe){return Fe.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(fe,Ee){switch(Ee){case"oblique":return oo.OBLIQUE;case"italic":return oo.ITALIC;case"normal":default:return oo.NORMAL}}},za=function(fe,Ee){return(fe&Ee)!==0},Ro={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(fe,Ee){if(Ee.length===0)return[];var Fe=Ee[0];return Fe.type===20&&Fe.value==="none"?[]:Ee}},ls={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(fe,Ee){if(Ee.length===0)return null;var Fe=Ee[0];if(Fe.type===20&&Fe.value==="none")return null;for(var et=[],Ut=Ee.filter(Wt),ur=0;ur<Ut.length;ur++){var _r=Ut[ur],Fr=Ut[ur+1];if(_r.type===20){var en=Fr&&Jr(Fr)?Fr.number:1;et.push({counter:_r.value,increment:en})}}return et}},wo={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(fe,Ee){if(Ee.length===0)return[];for(var Fe=[],et=Ee.filter(Wt),Ut=0;Ut<et.length;Ut++){var ur=et[Ut],_r=et[Ut+1];if(Ke(ur)&&ur.value!=="none"){var Fr=_r&&Jr(_r)?_r.number:0;Fe.push({counter:ur.value,reset:Fr})}}return Fe}},So={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(fe,Ee){return Ee.filter(Ir).map(function(Fe){return Ai.parse(fe,Fe)})}},fs={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(fe,Ee){if(Ee.length===0)return null;var Fe=Ee[0];if(Fe.type===20&&Fe.value==="none")return null;var et=[],Ut=Ee.filter(gt);if(Ut.length%2!==0)return null;for(var ur=0;ur<Ut.length;ur+=2){var _r=Ut[ur].value,Fr=Ut[ur+1].value;et.push({open:_r,close:Fr})}return et}},Cs=function(fe,Ee,Fe){if(!fe)return"";var et=fe[Math.min(Ee,fe.length-1)];return et?Fe?et.open:et.close:""},qo={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(fe,Ee){return Ee.length===1&&Xt(Ee[0],"none")?[]:or(Ee).map(function(Fe){for(var et={color:255,offsetX:on,offsetY:on,blur:on,spread:on,inset:!1},Ut=0,ur=0;ur<Fe.length;ur++){var _r=Fe[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=ki.parse(fe,_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 zs={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(fe,Ee){var Fe=[xo.FILL,xo.STROKE,xo.MARKERS],et=[];return Ee.filter(Ke).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}}),Fe.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(fe,Ee){return Ir(Ee)?Ee.number:0}},cl=function(){function at(fe,Ee){var Fe,et;this.animationDuration=Ki(fe,So,Ee.animationDuration),this.backgroundClip=Ki(fe,Ma,Ee.backgroundClip),this.backgroundColor=Ki(fe,wa,Ee.backgroundColor),this.backgroundImage=Ki(fe,es,Ee.backgroundImage),this.backgroundOrigin=Ki(fe,To,Ee.backgroundOrigin),this.backgroundPosition=Ki(fe,po,Ee.backgroundPosition),this.backgroundRepeat=Ki(fe,Wo,Ee.backgroundRepeat),this.backgroundSize=Ki(fe,Aa,Ee.backgroundSize),this.borderTopColor=Ki(fe,$i,Ee.borderTopColor),this.borderRightColor=Ki(fe,uo,Ee.borderRightColor),this.borderBottomColor=Ki(fe,Ha,Ee.borderBottomColor),this.borderLeftColor=Ki(fe,Yi,Ee.borderLeftColor),this.borderTopLeftRadius=Ki(fe,Fo,Ee.borderTopLeftRadius),this.borderTopRightRadius=Ki(fe,Qo,Ee.borderTopRightRadius),this.borderBottomRightRadius=Ki(fe,Zo,Ee.borderBottomRightRadius),this.borderBottomLeftRadius=Ki(fe,ua,Ee.borderBottomLeftRadius),this.borderTopStyle=Ki(fe,Ci,Ee.borderTopStyle),this.borderRightStyle=Ki(fe,Sa,Ee.borderRightStyle),this.borderBottomStyle=Ki(fe,bo,Ee.borderBottomStyle),this.borderLeftStyle=Ki(fe,Bo,Ee.borderLeftStyle),this.borderTopWidth=Ki(fe,gs,Ee.borderTopWidth),this.borderRightWidth=Ki(fe,ds,Ee.borderRightWidth),this.borderBottomWidth=Ki(fe,hs,Ee.borderBottomWidth),this.borderLeftWidth=Ki(fe,ss,Ee.borderLeftWidth),this.boxShadow=Ki(fe,qo,Ee.boxShadow),this.color=Ki(fe,$a,Ee.color),this.direction=Ki(fe,Na,Ee.direction),this.display=Ki(fe,Vo,Ee.display),this.float=Ki(fe,Ka,Ee.cssFloat),this.fontFamily=Ki(fe,Ua,Ee.fontFamily),this.fontSize=Ki(fe,Ja,Ee.fontSize),this.fontStyle=Ki(fe,Do,Ee.fontStyle),this.fontVariant=Ki(fe,No,Ee.fontVariant),this.fontWeight=Ki(fe,to,Ee.fontWeight),this.letterSpacing=Ki(fe,Pa,Ee.letterSpacing),this.lineBreak=Ki(fe,Uo,Ee.lineBreak),this.lineHeight=Ki(fe,Lo,Ee.lineHeight),this.listStyleImage=Ki(fe,Ko,Ee.listStyleImage),this.listStylePosition=Ki(fe,Or,Ee.listStylePosition),this.listStyleType=Ki(fe,vs,Ee.listStyleType),this.marginTop=Ki(fe,Ps,Ee.marginTop),this.marginRight=Ki(fe,Ks,Ee.marginRight),this.marginBottom=Ki(fe,sl,Ee.marginBottom),this.marginLeft=Ki(fe,xs,Ee.marginLeft),this.opacity=Ki(fe,Ti,Ee.opacity);var Ut=Ki(fe,Xs,Ee.overflow);this.overflowX=Ut[0],this.overflowY=Ut[Ut.length>1?1:0],this.overflowWrap=Ki(fe,Es,Ee.overflowWrap),this.paddingTop=Ki(fe,pl,Ee.paddingTop),this.paddingRight=Ki(fe,Gs,Ee.paddingRight),this.paddingBottom=Ki(fe,ro,Ee.paddingBottom),this.paddingLeft=Ki(fe,eo,Ee.paddingLeft),this.paintOrder=Ki(fe,zs,Ee.paintOrder),this.position=Ki(fe,Pr,Ee.position),this.textAlign=Ki(fe,yt,Ee.textAlign),this.textDecorationColor=Ki(fe,zi,(Fe=Ee.textDecorationColor)!==null&&Fe!==void 0?Fe:Ee.color),this.textDecorationLine=Ki(fe,na,(et=Ee.textDecorationLine)!==null&&et!==void 0?et:Ee.textDecoration),this.textShadow=Ki(fe,pn,Ee.textShadow),this.textTransform=Ki(fe,dt,Ee.textTransform),this.transform=Ki(fe,ce,Ee.transform),this.transformOrigin=Ki(fe,ar,Ee.transformOrigin),this.visibility=Ki(fe,jr,Ee.visibility),this.webkitTextStrokeColor=Ki(fe,ps,Ee.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ki(fe,ll,Ee.webkitTextStrokeWidth),this.wordBreak=Ki(fe,Tn,Ee.wordBreak),this.zIndex=Ki(fe,ti,Ee.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 za(this.display,4)||za(this.display,33554432)||za(this.display,268435456)||za(this.display,536870912)||za(this.display,67108864)||za(this.display,134217728)},at}(),Ts=function(){function at(fe,Ee){this.content=Ki(fe,Ro,Ee.content),this.quotes=Ki(fe,fs,Ee.quotes)}return at}(),Mo=function(){function at(fe,Ee){this.counterIncrement=Ki(fe,ls,Ee.counterIncrement),this.counterReset=Ki(fe,wo,Ee.counterReset)}return at}(),Ki=function(fe,Ee,Fe){var et=new ha,Ut=Fe!==null&&typeof Fe!="undefined"?Fe.toString():Ee.initialValue;et.write(Ut);var ur=new Yt(et.read());switch(Ee.type){case 2:var _r=ur.parseComponentValue();return Ee.parse(fe,Ke(_r)?_r.value:Ee.initialValue);case 0:return Ee.parse(fe,ur.parseComponentValue());case 1:return Ee.parse(fe,ur.parseComponentValues());case 4:return ur.parseComponentValue();case 3:switch(Ee.format){case"angle":return si.parse(fe,ur.parseComponentValue());case"color":return ki.parse(fe,ur.parseComponentValue());case"image":return Ga.parse(fe,ur.parseComponentValue());case"length":var Fr=ur.parseComponentValue();return Kr(Fr)?Fr:on;case"length-percentage":var en=ur.parseComponentValue();return Dr(en)?en:on;case"time":return Ai.parse(fe,ur.parseComponentValue())}break}},Ws="data-html2canvas-debug",nl=function(fe){var Ee=fe.getAttribute(Ws);switch(Ee){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ss=function(fe,Ee){var Fe=nl(fe);return Fe===1||Ee===Fe},ts=function(){function at(fe,Ee){if(this.context=fe,this.textNodes=[],this.elements=[],this.flags=0,Ss(Ee,3))debugger;this.styles=new cl(fe,window.getComputedStyle(Ee,null)),Re(Ee)&&(this.styles.animationDuration.some(function(Fe){return Fe>0})&&(Ee.style.animationDuration="0s"),this.styles.transform!==null&&(Ee.style.transform="none")),this.bounds=u(this.context,Ee),Ss(Ee,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(fe){var Ee=fe.length*.75,Fe=fe.length,et,Ut=0,ur,_r,Fr,en;fe[fe.length-1]==="="&&(Ee--,fe[fe.length-2]==="="&&Ee--);var Kn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ee):new Array(Ee),Dn=Array.isArray(Kn)?Kn:new Uint8Array(Kn);for(et=0;et<Fe;et+=4)ur=Ns[fe.charCodeAt(et)],_r=Ns[fe.charCodeAt(et+1)],Fr=Ns[fe.charCodeAt(et+2)],en=Ns[fe.charCodeAt(et+3)],Dn[Ut++]=ur<<2|_r>>4,Dn[Ut++]=(_r&15)<<4|Fr>>2,Dn[Ut++]=(Fr&3)<<6|en&63;return Kn},Rs=function(fe){for(var Ee=fe.length,Fe=[],et=0;et<Ee;et+=2)Fe.push(fe[et+1]<<8|fe[et]);return Fe},ul=function(fe){for(var Ee=fe.length,Fe=[],et=0;et<Ee;et+=4)Fe.push(fe[et+3]<<24|fe[et+2]<<16|fe[et+1]<<8|fe[et]);return Fe},Fs=5,Qs=6+5,Ys=2,Zs=Qs-Fs,xa=65536>>Fs,Li=1<<Fs,ea=Li-1,Ca=1024>>Fs,go=xa+Ca,js=go,Is=2048>>6,Vs=js+Is,Js=65536>>Qs,gl=1<<Zs,Bs=gl-1,ys=function(fe,Ee,Fe){return fe.slice?fe.slice(Ee,Fe):new Uint16Array(Array.prototype.slice.call(fe,Ee,Fe))},Ul=function(fe,Ee,Fe){return fe.slice?fe.slice(Ee,Fe):new Uint32Array(Array.prototype.slice.call(fe,Ee,Fe))},kc=function(fe,Ee){var Fe=Ds(fe),et=Array.isArray(Fe)?ul(Fe):new Uint32Array(Fe),Ut=Array.isArray(Fe)?Rs(Fe):new Uint16Array(Fe),ur=24,_r=ys(Ut,ur/2,et[4]/2),Fr=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,Fr)},wc=function(){function at(fe,Ee,Fe,et,Ut,ur){this.initialValue=fe,this.errorValue=Ee,this.highStart=Fe,this.highValueIndex=et,this.index=Ut,this.data=ur}return at.prototype.get=function(fe){var Ee;if(fe>=0){if(fe<55296||fe>56319&&fe<=65535)return Ee=this.index[fe>>Fs],Ee=(Ee<<Ys)+(fe&ea),this.data[Ee];if(fe<=65535)return Ee=this.index[xa+(fe-55296>>Fs)],Ee=(Ee<<Ys)+(fe&ea),this.data[Ee];if(fe<this.highStart)return Ee=Vs-Js+(fe>>Qs),Ee=this.index[Ee],Ee+=fe>>Fs&Bs,Ee=this.index[Ee],Ee=(Ee<<Ys)+(fe&ea),this.data[Ee];if(fe<=1114111)return this.data[this.highValueIndex]}return this.errorValue},at}(),Mc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pc=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Dl=0;Dl<Mc.length;Dl++)Pc[Mc.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,Fl=15,ec=function(fe){for(var Ee=[],Fe=0,et=fe.length;Fe<et;){var Ut=fe.charCodeAt(Fe++);if(Ut>=55296&&Ut<=56319&&Fe<et){var ur=fe.charCodeAt(Fe++);(ur&64512)===56320?Ee.push(((Ut&1023)<<10)+(ur&1023)+65536):(Ee.push(Ut),Fe--)}else Ee.push(Ut)}return Ee},Cl=function(){for(var fe=[],Ee=0;Ee<arguments.length;Ee++)fe[Ee]=arguments[Ee];if(String.fromCodePoint)return String.fromCodePoint.apply(String,fe);var Fe=fe.length;if(!Fe)return"";for(var et=[],Ut=-1,ur="";++Ut<Fe;){var _r=fe[Ut];_r<=65535?et.push(_r):(_r-=65536,et.push((_r>>10)+55296,_r%1024+56320)),(Ut+1===Fe||et.length>16384)&&(ur+=String.fromCharCode.apply(String,et),et.length=0)}return ur},Uc=kc(ml),Al="\xD7",xl="\xF7",tc=function(fe){return Uc.get(fe)},jc=function(fe,Ee,Fe){var et=Fe-2,Ut=Ee[et],ur=Ee[Fe-1],_r=Ee[Fe];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=Ee[--et];if(Ut===_l)return Al}if(ur===Fl&&_r===Fl){for(var Fr=0;Ut===Fl;)Fr++,Ut=Ee[--et];if(Fr%2===0)return Al}return xl},dc=function(fe){var Ee=ec(fe),Fe=Ee.length,et=0,Ut=0,ur=Ee.map(tc);return{next:function(){if(et>=Fe)return{done:!0,value:null};for(var Fr=Al;et<Fe&&(Fr=jc(Ee,ur,++et))===Al;);if(Fr!==Al||et===Fe){var en=Cl.apply(null,Ee.slice(Ut,et));return Ut=et,{value:en,done:!1}}return{done:!0,value:null}}}},Bl=function(fe){for(var Ee=dc(fe),Fe=[],et;!(et=Ee.next()).done;)et.value&&Fe.push(et.value.slice());return Fe},kl=function(fe){var Ee=123;if(fe.createRange){var Fe=fe.createRange();if(Fe.getBoundingClientRect){var et=fe.createElement("boundtest");et.style.height=Ee+"px",et.style.display="block",fe.body.appendChild(et),Fe.selectNode(et);var Ut=Fe.getBoundingClientRect(),ur=Math.round(Ut.height);if(fe.body.removeChild(et),ur===Ee)return!0}}return!1},jl=function(fe){var Ee=fe.createElement("boundtest");Ee.style.width="50px",Ee.style.display="block",Ee.style.fontSize="12px",Ee.style.letterSpacing="0px",Ee.style.wordSpacing="0px",fe.body.appendChild(Ee);var Fe=fe.createRange();Ee.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var et=Ee.firstChild,Ut=e(et.data).map(function(en){return r(en)}),ur=0,_r={},Fr=Ut.every(function(en,Kn){Fe.setStart(et,ur),Fe.setEnd(et,ur+en.length);var Dn=Fe.getBoundingClientRect();ur+=en.length;var Xn=Dn.x>_r.x||Dn.y>_r.y;return _r=Dn,Kn===0?!0:Xn});return fe.body.removeChild(Ee),Fr},Sc=function(){return typeof new Image().crossOrigin!="undefined"},xc=function(){return typeof new XMLHttpRequest().responseType=="string"},hc=function(fe){var Ee=new Image,Fe=fe.createElement("canvas"),et=Fe.getContext("2d");if(!et)return!1;Ee.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{et.drawImage(Ee,0,0),Fe.toDataURL()}catch(Ut){return!1}return!0},Hl=function(fe){return fe[0]===0&&fe[1]===255&&fe[2]===0&&fe[3]===255},fc=function(fe){var Ee=fe.createElement("canvas"),Fe=100;Ee.width=Fe,Ee.height=Fe;var et=Ee.getContext("2d");if(!et)return Promise.reject(!1);et.fillStyle="rgb(0, 255, 0)",et.fillRect(0,0,Fe,Fe);var Ut=new Image,ur=Ee.toDataURL();Ut.src=ur;var _r=rc(Fe,Fe,0,0,Ut);return et.fillStyle="red",et.fillRect(0,0,Fe,Fe),Ec(_r).then(function(Fr){et.drawImage(Fr,0,0);var en=et.getImageData(0,0,Fe,Fe).data;et.fillStyle="red",et.fillRect(0,0,Fe,Fe);var Kn=fe.createElement("div");return Kn.style.backgroundImage="url("+ur+")",Kn.style.height=Fe+"px",Hl(en)?Ec(rc(Fe,Fe,0,0,Kn)):Promise.reject(!1)}).then(function(Fr){return et.drawImage(Fr,0,0),Hl(et.getImageData(0,0,Fe,Fe).data)}).catch(function(){return!1})},rc=function(fe,Ee,Fe,et,Ut){var ur="http://www.w3.org/2000/svg",_r=document.createElementNS(ur,"svg"),Fr=document.createElementNS(ur,"foreignObject");return _r.setAttributeNS(null,"width",fe.toString()),_r.setAttributeNS(null,"height",Ee.toString()),Fr.setAttributeNS(null,"width","100%"),Fr.setAttributeNS(null,"height","100%"),Fr.setAttributeNS(null,"x",Fe.toString()),Fr.setAttributeNS(null,"y",et.toString()),Fr.setAttributeNS(null,"externalResourcesRequired","true"),_r.appendChild(Fr),Fr.appendChild(Ut),_r},Ec=function(fe){return new Promise(function(Ee,Fe){var et=new Image;et.onload=function(){return Ee(et)},et.onerror=Fe,et.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(fe))})},cs={get SUPPORT_RANGE_BOUNDS(){var at=kl(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(fe,Ee){this.text=fe,this.bounds=Ee}return at}(),Tl=function(fe,Ee,Fe,et){var Ut=bl(Ee,Fe),ur=[],_r=0;return Ut.forEach(function(Fr){if(Fe.textDecorationLine.length||Fr.trim().length>0)if(cs.SUPPORT_RANGE_BOUNDS)cs.SUPPORT_WORD_BREAKING?ur.push(new al(Fr,Il(fe,et,_r,Fr.length))):ur.push(new al(Fr,s.fromDOMRectList(fe,ic(et,_r,Fr.length).getClientRects())));else{var en=et.splitText(Fr.length);ur.push(new al(Fr,nc(fe,et))),et=en}else cs.SUPPORT_RANGE_BOUNDS||(et=et.splitText(Fr.length));_r+=Fr.length}),ur},nc=function(fe,Ee){var Fe=Ee.ownerDocument;if(Fe){var et=Fe.createElement("html2canvaswrapper");et.appendChild(Ee.cloneNode(!0));var Ut=Ee.parentNode;if(Ut){Ut.replaceChild(et,Ee);var ur=u(fe,et);return et.firstChild&&Ut.replaceChild(et.firstChild,et),ur}}return s.EMPTY},ic=function(fe,Ee,Fe){var et=fe.ownerDocument;if(!et)throw new Error("Node has no owner document");var Ut=et.createRange();return Ut.setStart(fe,Ee),Ut.setEnd(fe,Ee+Fe),Ut},Il=function(fe,Ee,Fe,et){return s.fromClientRect(fe,ic(Ee,Fe,et).getBoundingClientRect())},bl=function(fe,Ee){return Ee.letterSpacing!==0?Bl(fe):Hc(fe,Ee)},_c=[32,160,4961,65792,65793,4153,4241],Hc=function(fe,Ee){for(var Fe=Gr(fe,{lineBreak:Ee.lineBreak,wordBreak:Ee.overflowWrap==="break-word"?"break-word":Ee.wordBreak}),et=[],Ut,ur=function(){if(Ut.value){var Fr=Ut.value.slice(),en=e(Fr),Kn="";en.forEach(function(Dn){_c.indexOf(Dn)===-1?Kn+=r(Dn):(Kn.length&&et.push(Kn),et.push(r(Dn)),Kn="")}),Kn.length&&et.push(Kn)}};!(Ut=Fe.next()).done;)ur();return et},Kc=function(){function at(fe,Ee,Fe){this.text=Cc(Ee.data,Fe.textTransform),this.textBounds=Tl(fe,this.text,Fe,Ee)}return at}(),Cc=function(fe,Ee){switch(Ee){case Rn.LOWERCASE:return fe.toLowerCase();case Rn.CAPITALIZE:return fe.replace(Tc,zc);case Rn.UPPERCASE:return fe.toUpperCase();default:return fe}},Tc=/(^|\s|:|-|\(|\))([a-z])/g,zc=function(fe,Ee,Fe){return fe.length>0?Ee+Fe.toUpperCase():fe},pc=function(at){A(fe,at);function fe(Ee,Fe){var et=at.call(this,Ee,Fe)||this;return et.src=Fe.currentSrc||Fe.src,et.intrinsicWidth=Fe.naturalWidth,et.intrinsicHeight=Fe.naturalHeight,et.context.cache.addImage(et.src),et}return fe}(ts),Ol=function(at){A(fe,at);function fe(Ee,Fe){var et=at.call(this,Ee,Fe)||this;return et.canvas=Fe,et.intrinsicWidth=Fe.width,et.intrinsicHeight=Fe.height,et}return fe}(ts),Ll=function(at){A(fe,at);function fe(Ee,Fe){var et=at.call(this,Ee,Fe)||this,Ut=new XMLSerializer,ur=u(Ee,Fe);return Fe.setAttribute("width",ur.width+"px"),Fe.setAttribute("height",ur.height+"px"),et.svg="data:image/svg+xml,"+encodeURIComponent(Ut.serializeToString(Fe)),et.intrinsicWidth=Fe.width.baseVal.value,et.intrinsicHeight=Fe.height.baseVal.value,et.context.cache.addImage(et.svg),et}return fe}(ts),Gl=function(at){A(fe,at);function fe(Ee,Fe){var et=at.call(this,Ee,Fe)||this;return et.value=Fe.value,et}return fe}(ts),Kl=function(at){A(fe,at);function fe(Ee,Fe){var et=at.call(this,Ee,Fe)||this;return et.start=Fe.start,et.reversed=typeof Fe.reversed=="boolean"&&Fe.reversed===!0,et}return fe}(ts),Ic=[{type:15,flags:0,unit:"px",number:3}],qc=[{type:16,flags:0,number:50}],Wc=function(fe){return fe.width>fe.height?new s(fe.left+(fe.width-fe.height)/2,fe.top,fe.height,fe.height):fe.width<fe.height?new s(fe.left,fe.top+(fe.height-fe.width)/2,fe.width,fe.width):fe},$c=function(fe){var Ee=fe.type===eu?new Array(fe.value.length+1).join("\u2022"):fe.value;return Ee.length===0?fe.placeholder||"":Ee},Ql="checkbox",mc="radio",eu="password",Oc=707406591,ac=function(at){A(fe,at);function fe(Ee,Fe){var et=at.call(this,Ee,Fe)||this;et.type=Fe.type.toLowerCase(),et.checked=Fe.checked,et.value=$c(Fe),(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=Wc(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 fe}(ts),gc=function(at){A(fe,at);function fe(Ee,Fe){var et=at.call(this,Ee,Fe)||this,Ut=Fe.options[Fe.selectedIndex||0];return et.value=Ut&&Ut.text||"",et}return fe}(ts),Yl=function(at){A(fe,at);function fe(Ee,Fe){var et=at.call(this,Ee,Fe)||this;return et.value=Fe.value,et}return fe}(ts),Lc=function(at){A(fe,at);function fe(Ee,Fe){var et=at.call(this,Ee,Fe)||this;et.src=Fe.src,et.width=parseInt(Fe.width,10)||0,et.height=parseInt(Fe.height,10)||0,et.backgroundColor=et.styles.backgroundColor;try{if(Fe.contentWindow&&Fe.contentWindow.document&&Fe.contentWindow.document.documentElement){et.tree=Ue(Ee,Fe.contentWindow.document.documentElement);var Ut=Fe.contentWindow.document.documentElement?ya(Ee,getComputedStyle(Fe.contentWindow.document.documentElement).backgroundColor):Ea.TRANSPARENT,ur=Fe.contentWindow.document.body?ya(Ee,getComputedStyle(Fe.contentWindow.document.body).backgroundColor):Ea.TRANSPARENT;et.backgroundColor=ci(Ut)?ci(ur)?et.styles.backgroundColor:ur:Ut}}catch(_r){}return et}return fe}(ts),Zl=["OL","UL","MENU"],oc=function at(fe,Ee,Fe,et){for(var Ut=Ee.firstChild,ur=void 0;Ut;Ut=ur)if(ur=Ut.nextSibling,er(Ut)&&Ut.data.trim().length>0)Fe.textNodes.push(new Kc(fe,Ut,Fe.styles));else if(mr(Ut))if(En(Ut)&&Ut.assignedNodes)Ut.assignedNodes().forEach(function(Fr){return at(fe,Fr,Fe,et)});else{var _r=me(fe,Ut);_r.styles.isVisible()&&(lt(Ut,_r,et)?_r.flags|=4:Ht(_r.styles)&&(_r.flags|=2),Zl.indexOf(Ut.tagName)!==-1&&(_r.flags|=8),Fe.elements.push(_r),Ut.slot,Ut.shadowRoot?at(fe,Ut.shadowRoot,_r,et):!Er(Ut)&&!Rt(Ut)&&!Wr(Ut)&&at(fe,Ut,_r,et))}},me=function(fe,Ee){return yr(Ee)?new pc(fe,Ee):nr(Ee)?new Ol(fe,Ee):Rt(Ee)?new Ll(fe,Ee):ye(Ee)?new Gl(fe,Ee):Ve(Ee)?new Kl(fe,Ee):it(Ee)?new ac(fe,Ee):Wr(Ee)?new gc(fe,Ee):Er(Ee)?new Yl(fe,Ee):rr(Ee)?new Lc(fe,Ee):new ts(fe,Ee)},Ue=function(fe,Ee){var Fe=me(fe,Ee);return Fe.flags|=4,oc(fe,Ee,Fe,Fe),Fe},lt=function(fe,Ee,Fe){return Ee.styles.isPositionedWithZIndex()||Ee.styles.opacity<1||Ee.styles.isTransformed()||Ft(fe)&&Fe.styles.isTransparent()},Ht=function(fe){return fe.isPositioned()||fe.isFloating()},er=function(fe){return fe.nodeType===Node.TEXT_NODE},mr=function(fe){return fe.nodeType===Node.ELEMENT_NODE},Re=function(fe){return mr(fe)&&typeof fe.style!="undefined"&&!ee(fe)},ee=function(fe){return typeof fe.className=="object"},ye=function(fe){return fe.tagName==="LI"},Ve=function(fe){return fe.tagName==="OL"},it=function(fe){return fe.tagName==="INPUT"},Et=function(fe){return fe.tagName==="HTML"},Rt=function(fe){return fe.tagName==="svg"},Ft=function(fe){return fe.tagName==="BODY"},nr=function(fe){return fe.tagName==="CANVAS"},yr=function(fe){return fe.tagName==="IMG"},rr=function(fe){return fe.tagName==="IFRAME"},qt=function(fe){return fe.tagName==="STYLE"},hr=function(fe){return fe.tagName==="SCRIPT"},Er=function(fe){return fe.tagName==="TEXTAREA"},Wr=function(fe){return fe.tagName==="SELECT"},En=function(fe){return fe.tagName==="SLOT"},jn=function(){function at(){this.counters={}}return at.prototype.getCounterValue=function(fe){var Ee=this.counters[fe];return Ee&&Ee.length?Ee[Ee.length-1]:1},at.prototype.getCounterValues=function(fe){var Ee=this.counters[fe];return Ee||[]},at.prototype.pop=function(fe){var Ee=this;fe.forEach(function(Fe){return Ee.counters[Fe].pop()})},at.prototype.parse=function(fe){var Ee=this,Fe=fe.counterIncrement,et=fe.counterReset,Ut=!0;Fe!==null&&Fe.forEach(function(_r){var Fr=Ee.counters[_r.counter];Fr&&_r.increment!==0&&(Ut=!1,Fr.length||Fr.push(1),Fr[Math.max(0,Fr.length-1)]+=_r.increment)});var ur=[];return Ut&&et.forEach(function(_r){var Fr=Ee.counters[_r.counter];ur.push(_r.counter),Fr||(Fr=Ee.counters[_r.counter]=[]),Fr.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"]},Zi={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(fe,Ee,Fe,et,Ut,ur){return fe<Ee||fe>Fe?Qt(fe,Ut,ur.length>0):et.integers.reduce(function(_r,Fr,en){for(;fe>=Fr;)fe-=Fr,_r+=et.values[en];return _r},"")+ur},ta=function(fe,Ee,Fe,et){var Ut="";do Fe||fe--,Ut=et(fe)+Ut,fe/=Ee;while(fe*Ee>=Ee);return Ut},oa=function(fe,Ee,Fe,et,Ut){var ur=Fe-Ee+1;return(fe<0?"-":"")+(ta(Math.abs(fe),ur,et,function(_r){return r(Math.floor(_r%ur)+Ee)})+Ut)},qa=function(fe,Ee,Fe){Fe===void 0&&(Fe=". ");var et=Ee.length;return ta(Math.abs(fe),et,!1,function(Ut){return Ee[Math.floor(Ut%et)]})+Fe},O=1<<0,F=1<<1,q=1<<2,re=1<<3,ue=function(fe,Ee,Fe,et,Ut,ur){if(fe<-9999||fe>9999)return Qt(fe,ui.CJK_DECIMAL,Ut.length>0);var _r=Math.abs(fe),Fr=Ut;if(_r===0)return Ee[0]+Fr;for(var en=0;_r>0&&en<=4;en++){var Kn=_r%10;Kn===0&&za(ur,O)&&Fr!==""?Fr=Ee[Kn]+Fr:Kn>1||Kn===1&&en===0||Kn===1&&en===1&&za(ur,F)||Kn===1&&en===1&&za(ur,q)&&fe>100||Kn===1&&en>1&&za(ur,re)?Fr=Ee[Kn]+(en>0?Fe[en-1]:"")+Fr:Kn===1&&en>0&&(Fr=Fe[en-1]+Fr),_r=Math.floor(_r/10)}return(fe<0?et:"")+Fr},Be="\u5341\u767E\u5343\u842C",ct="\u62FE\u4F70\u4EDF\u842C",Dt="\u30DE\u30A4\u30CA\u30B9",zt="\uB9C8\uC774\uB108\uC2A4",Qt=function(fe,Ee,Fe){var et=Fe?". ":"",Ut=Fe?"\u3001":"",ur=Fe?", ":"",_r=Fe?" ":"";switch(Ee){case ui.DISC:return"\u2022"+_r;case ui.CIRCLE:return"\u25E6"+_r;case ui.SQUARE:return"\u25FE"+_r;case ui.DECIMAL_LEADING_ZERO:var Fr=oa(fe,48,57,!0,et);return Fr.length<4?"0"+Fr:Fr;case ui.CJK_DECIMAL:return qa(fe,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ut);case ui.LOWER_ROMAN:return da(fe,1,3999,pi,ui.DECIMAL,et).toLowerCase();case ui.UPPER_ROMAN:return da(fe,1,3999,pi,ui.DECIMAL,et);case ui.LOWER_GREEK:return oa(fe,945,969,!1,et);case ui.LOWER_ALPHA:return oa(fe,97,122,!1,et);case ui.UPPER_ALPHA:return oa(fe,65,90,!1,et);case ui.ARABIC_INDIC:return oa(fe,1632,1641,!0,et);case ui.ARMENIAN:case ui.UPPER_ARMENIAN:return da(fe,1,9999,Yn,ui.DECIMAL,et);case ui.LOWER_ARMENIAN:return da(fe,1,9999,Yn,ui.DECIMAL,et).toLowerCase();case ui.BENGALI:return oa(fe,2534,2543,!0,et);case ui.CAMBODIAN:case ui.KHMER:return oa(fe,6112,6121,!0,et);case ui.CJK_EARTHLY_BRANCH:return qa(fe,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Ut);case ui.CJK_HEAVENLY_STEM:return qa(fe,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Ut);case ui.CJK_IDEOGRAPHIC:case ui.TRAD_CHINESE_INFORMAL:return ue(fe,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Be,"\u8CA0",Ut,F|q|re);case ui.TRAD_CHINESE_FORMAL:return ue(fe,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ct,"\u8CA0",Ut,O|F|q|re);case ui.SIMP_CHINESE_INFORMAL:return ue(fe,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Be,"\u8D1F",Ut,F|q|re);case ui.SIMP_CHINESE_FORMAL:return ue(fe,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ct,"\u8D1F",Ut,O|F|q|re);case ui.JAPANESE_INFORMAL:return ue(fe,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Dt,Ut,0);case ui.JAPANESE_FORMAL:return ue(fe,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Dt,Ut,O|F|q);case ui.KOREAN_HANGUL_FORMAL:return ue(fe,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",zt,ur,O|F|q);case ui.KOREAN_HANJA_INFORMAL:return ue(fe,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",zt,ur,0);case ui.KOREAN_HANJA_FORMAL:return ue(fe,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",zt,ur,O|F|q);case ui.DEVANAGARI:return oa(fe,2406,2415,!0,et);case ui.GEORGIAN:return da(fe,1,19999,Ei,ui.DECIMAL,et);case ui.GUJARATI:return oa(fe,2790,2799,!0,et);case ui.GURMUKHI:return oa(fe,2662,2671,!0,et);case ui.HEBREW:return da(fe,1,10999,Zi,ui.DECIMAL,et);case ui.HIRAGANA:return qa(fe,"\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(fe,"\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(fe,3302,3311,!0,et);case ui.KATAKANA:return qa(fe,"\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(fe,"\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(fe,3792,3801,!0,et);case ui.MONGOLIAN:return oa(fe,6160,6169,!0,et);case ui.MYANMAR:return oa(fe,4160,4169,!0,et);case ui.ORIYA:return oa(fe,2918,2927,!0,et);case ui.PERSIAN:return oa(fe,1776,1785,!0,et);case ui.TAMIL:return oa(fe,3046,3055,!0,et);case ui.TELUGU:return oa(fe,3174,3183,!0,et);case ui.THAI:return oa(fe,3664,3673,!0,et);case ui.TIBETAN:return oa(fe,3872,3881,!0,et);case ui.DECIMAL:default:return oa(fe,48,57,!0,et)}},Mr="data-html2canvas-ignore",tn=function(){function at(fe,Ee,Fe){if(this.context=fe,this.options=Fe,this.scrolledElements=[],this.referenceElement=Ee,this.counters=new jn,this.quoteDepth=0,!Ee.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Ee.ownerDocument.documentElement)}return at.prototype.toIFrame=function(fe,Ee){var Fe=this,et=wn(fe,Ee);if(!et.contentWindow)return Promise.reject("Unable to find iframe window");var Ut=fe.defaultView.pageXOffset,ur=fe.defaultView.pageYOffset,_r=et.contentWindow,Fr=_r.document,en=Fi(et).then(function(){return m(Fe,void 0,void 0,function(){var Kn,Dn;return v(this,function(Xn){switch(Xn.label){case 0:return this.scrolledElements.forEach(Wa),_r&&(_r.scrollTo(Ee.left,Ee.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(_r.scrollY!==Ee.top||_r.scrollX!==Ee.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(_r.scrollX-Ee.left,_r.scrollY-Ee.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")]:Fr.fonts&&Fr.fonts.ready?[4,Fr.fonts.ready]:[3,2];case 1:Xn.sent(),Xn.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,yi(Fr)]:[3,4];case 3:Xn.sent(),Xn.label=4;case 4:return typeof Kn=="function"?[2,Promise.resolve().then(function(){return Kn(Fr,Dn)}).then(function(){return et})]:[2,et]}})})});return Fr.open(),Fr.write(Gi(document.doctype)+"<html></html>"),ia(this.referenceElement.ownerDocument,Ut,ur),Fr.replaceChild(Fr.adoptNode(this.documentElement),Fr.documentElement),Fr.close(),en},at.prototype.createElementClone=function(fe){if(Ss(fe,2))debugger;if(nr(fe))return this.createCanvasClone(fe);if(qt(fe))return this.createStyleClone(fe);var Ee=fe.cloneNode(!1);return yr(Ee)&&(yr(fe)&&fe.currentSrc&&fe.currentSrc!==fe.src&&(Ee.src=fe.currentSrc,Ee.srcset=""),Ee.loading==="lazy"&&(Ee.loading="eager")),Ee},at.prototype.createStyleClone=function(fe){try{var Ee=fe.sheet;if(Ee&&Ee.cssRules){var Fe=[].slice.call(Ee.cssRules,0).reduce(function(Ut,ur){return ur&&typeof ur.cssText=="string"?Ut+ur.cssText:Ut},""),et=fe.cloneNode(!1);return et.textContent=Fe,et}}catch(Ut){if(this.context.logger.error("Unable to access cssRules property",Ut),Ut.name!=="SecurityError")throw Ut}return fe.cloneNode(!1)},at.prototype.createCanvasClone=function(fe){var Ee;if(this.options.inlineImages&&fe.ownerDocument){var Fe=fe.ownerDocument.createElement("img");try{return Fe.src=fe.toDataURL(),Fe}catch(en){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",fe)}}var et=fe.cloneNode(!1);try{et.width=fe.width,et.height=fe.height;var Ut=fe.getContext("2d"),ur=et.getContext("2d");if(ur)if(!this.options.allowTaint&&Ut)ur.putImageData(Ut.getImageData(0,0,fe.width,fe.height),0,0);else{var _r=(Ee=fe.getContext("webgl2"))!==null&&Ee!==void 0?Ee:fe.getContext("webgl");if(_r){var Fr=_r.getContextAttributes();(Fr==null?void 0:Fr.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",fe)}ur.drawImage(fe,0,0)}return et}catch(en){this.context.logger.info("Unable to clone canvas as it is tainted",fe)}return et},at.prototype.cloneNode=function(fe){if(er(fe))return document.createTextNode(fe.data);if(!fe.ownerDocument)return fe.cloneNode(!1);var Ee=fe.ownerDocument.defaultView;if(Ee&&mr(fe)&&(Re(fe)||ee(fe))){var Fe=this.createElementClone(fe);Fe.style.transitionProperty="none";var et=Ee.getComputedStyle(fe),Ut=Ee.getComputedStyle(fe,":before"),ur=Ee.getComputedStyle(fe,":after");this.referenceElement===fe&&Re(Fe)&&(this.clonedReferenceElement=Fe),Ft(Fe)&&ks(Fe);for(var _r=this.counters.parse(new Mo(this.context,et)),Fr=this.resolvePseudoContent(fe,Fe,Ut,mn.BEFORE),en=fe.firstChild;en;en=en.nextSibling)(!mr(en)||!hr(en)&&!en.hasAttribute(Mr)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(en)))&&((!this.options.copyStyles||!mr(en)||!qt(en))&&Fe.appendChild(this.cloneNode(en)));Fr&&Fe.insertBefore(Fr,Fe.firstChild);var Kn=this.resolvePseudoContent(fe,Fe,ur,mn.AFTER);return Kn&&Fe.appendChild(Kn),this.counters.pop(_r),et&&(this.options.copyStyles||ee(fe))&&!rr(fe)&&Ii(et,Fe),(fe.scrollTop!==0||fe.scrollLeft!==0)&&this.scrolledElements.push([Fe,fe.scrollLeft,fe.scrollTop]),(Er(fe)||Wr(fe))&&(Er(Fe)||Wr(Fe))&&(Fe.value=fe.value),Fe}return fe.cloneNode(!1)},at.prototype.resolvePseudoContent=function(fe,Ee,Fe,et){var Ut=this;if(!Fe)return;var ur=Fe.content,_r=Ee.ownerDocument;if(!_r||!ur||ur==="none"||ur==="-moz-alt-content"||Fe.display==="none")return;this.counters.parse(new Mo(this.context,Fe));var Fr=new Ts(this.context,Fe),en=_r.createElement("html2canvaspseudoelement");Ii(Fe,en),Fr.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(Ke);Vi.length&&en.appendChild(_r.createTextNode(fe.getAttribute(Vi[0].value)||""))}else if(Dn.name==="counter"){var Xi=Dn.values.filter(vr),sa=Xi[0],no=Xi[1];if(sa&&Ke(sa)){var Ra=Ut.counters.getCounterValue(sa.value),Ia=no&&Ke(no)?vs.parse(Ut.context,no.value):ui.DECIMAL;en.appendChild(_r.createTextNode(Qt(Ra,Ia,!1)))}}else if(Dn.name==="counters"){var ko=Dn.values.filter(vr),sa=ko[0],Go=ko[1],no=ko[2];if(sa&&Ke(sa)){var _o=Ut.counters.getCounterValues(sa.value),Ta=no&&Ke(no)?vs.parse(Ut.context,no.value):ui.DECIMAL,rs=Go&&Go.type===0?Go.value:"",as=_o.map(function(Jl){return Qt(Jl,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(Fr.quotes,Ut.quoteDepth++,!0)));break;case"close-quote":en.appendChild(_r.createTextNode(Cs(Fr.quotes,--Ut.quoteDepth,!1)));break;default:en.appendChild(_r.createTextNode(Dn.value))}}),en.className=Eo+" "+$o;var Kn=et===mn.BEFORE?" "+Eo:" "+$o;return ee(Ee)?Ee.className.baseValue+=Kn:Ee.className+=Kn,en},at.destroy=function(fe){return fe.parentNode?(fe.parentNode.removeChild(fe),!0):!1},at}(),mn;(function(at){at[at.BEFORE=0]="BEFORE",at[at.AFTER=1]="AFTER"})(mn||(mn={}));var wn=function(fe,Ee){var Fe=fe.createElement("iframe");return Fe.className="html2canvas-container",Fe.style.visibility="hidden",Fe.style.position="fixed",Fe.style.left="-10000px",Fe.style.top="0px",Fe.style.border="0",Fe.width=Ee.width.toString(),Fe.height=Ee.height.toString(),Fe.scrolling="no",Fe.setAttribute(Mr,"true"),fe.body.appendChild(Fe),Fe},ri=function(fe){return new Promise(function(Ee){if(fe.complete){Ee();return}if(!fe.src){Ee();return}fe.onload=Ee,fe.onerror=Ee})},yi=function(fe){return Promise.all([].slice.call(fe.images,0).map(ri))},Fi=function(fe){return new Promise(function(Ee,Fe){var et=fe.contentWindow;if(!et)return Fe("No window assigned for iframe");var Ut=et.document;et.onload=fe.onload=function(){et.onload=fe.onload=null;var ur=setInterval(function(){Ut.body.childNodes.length>0&&Ut.readyState==="complete"&&(clearInterval(ur),Ee(fe))},50)}})},Di=["all","d","content"],Ii=function(fe,Ee){for(var Fe=fe.length-1;Fe>=0;Fe--){var et=fe.item(Fe);Di.indexOf(et)===-1&&Ee.style.setProperty(et,fe.getPropertyValue(et))}return Ee},Gi=function(fe){var Ee="";return fe&&(Ee+="<!DOCTYPE ",fe.name&&(Ee+=fe.name),fe.internalSubset&&(Ee+=fe.internalSubset),fe.publicId&&(Ee+='"'+fe.publicId+'"'),fe.systemId&&(Ee+='"'+fe.systemId+'"'),Ee+=">"),Ee},ia=function(fe,Ee,Fe){fe&&fe.defaultView&&(Ee!==fe.defaultView.pageXOffset||Fe!==fe.defaultView.pageYOffset)&&fe.defaultView.scrollTo(Ee,Fe)},Wa=function(fe){var Ee=fe[0],Fe=fe[1],et=fe[2];Ee.scrollLeft=Fe,Ee.scrollTop=et},La=":before",mo=":after",Eo="___html2canvas___pseudoelement_before",$o="___html2canvas___pseudoelement_after",zo=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,ks=function(fe){hl(fe,"."+Eo+La+zo+`
|
|
|
.`+$o+mo+zo)},hl=function(fe,Ee){var Fe=fe.ownerDocument;if(Fe){var et=Fe.createElement("style");et.textContent=Ee,fe.appendChild(et)}},As=function(){function at(){}return at.getOrigin=function(fe){var Ee=at._link;return Ee?(Ee.href=fe,Ee.href=Ee.href,Ee.protocol+Ee.hostname+Ee.port):"about:blank"},at.isSameOrigin=function(fe){return at.getOrigin(fe)===at._origin},at.setContext=function(fe){at._link=fe.document.createElement("a"),at._origin=at.getOrigin(fe.location.href)},at._origin="about:blank",at}(),fl=function(){function at(fe,Ee){this.context=fe,this._options=Ee,this._cache={}}return at.prototype.addImage=function(fe){var Ee=Promise.resolve();return this.has(fe)||(El(fe)||us(fe))&&(this._cache[fe]=this.loadImage(fe)).catch(function(){}),Ee},at.prototype.match=function(fe){return this._cache[fe]},at.prototype.loadImage=function(fe){return m(this,void 0,void 0,function(){var Ee,Fe,et,Ut,ur=this;return v(this,function(_r){switch(_r.label){case 0:return Ee=As.isSameOrigin(fe),Fe=!ol(fe)&&this._options.useCORS===!0&&cs.SUPPORT_CORS_IMAGES&&!Ee,et=!ol(fe)&&!Ee&&!El(fe)&&typeof this._options.proxy=="string"&&cs.SUPPORT_CORS_XHR&&!Fe,!Ee&&this._options.allowTaint===!1&&!ol(fe)&&!El(fe)&&!et&&!Fe?[2]:(Ut=fe,et?[4,this.proxy(Ut)]:[3,2]);case 1:Ut=_r.sent(),_r.label=2;case 2:return this.context.logger.debug("Added image "+fe.substring(0,256)),[4,new Promise(function(Fr,en){var Kn=new Image;Kn.onload=function(){return Fr(Kn)},Kn.onerror=en,(Ac(Ut)||Fe)&&(Kn.crossOrigin="anonymous"),Kn.src=Ut,Kn.complete===!0&&setTimeout(function(){return Fr(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(fe){return typeof this._cache[fe]!="undefined"},at.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},at.prototype.proxy=function(fe){var Ee=this,Fe=this._options.proxy;if(!Fe)throw new Error("No proxy defined");var et=fe.substring(0,256);return new Promise(function(Ut,ur){var _r=cs.SUPPORT_RESPONSE_TYPE?"blob":"text",Fr=new XMLHttpRequest;Fr.onload=function(){if(Fr.status===200)if(_r==="text")Ut(Fr.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(Fr.response)}else ur("Failed to proxy resource "+et+" with status code "+Fr.status)},Fr.onerror=ur;var en=Fe.indexOf("?")>-1?"&":"?";if(Fr.open("GET",""+Fe+en+"url="+encodeURIComponent(fe)+"&responseType="+_r),_r!=="text"&&Fr instanceof XMLHttpRequest&&(Fr.responseType=_r),Ee._options.imageTimeout){var Kn=Ee._options.imageTimeout;Fr.timeout=Kn,Fr.ontimeout=function(){return ur("Timed out ("+Kn+"ms) proxying "+et)}}Fr.send()})},at}(),Ms=/^data:image\/svg\+xml/i,Os=/^data:image\/.*;base64,/i,bs=/^data:image\/.*/i,us=function(fe){return cs.SUPPORT_SVG_DRAWING||!ws(fe)},ol=function(fe){return bs.test(fe)},Ac=function(fe){return Os.test(fe)},El=function(fe){return fe.substr(0,4)==="blob"},ws=function(fe){return fe.substr(-3).toLowerCase()==="svg"||Ms.test(fe)},wl;(function(at){at[at.VECTOR=0]="VECTOR",at[at.BEZIER_CURVE=1]="BEZIER_CURVE"})(wl||(wl={}));var Hs=function(fe,Ee){return fe.length===Ee.length?fe.some(function(Fe,et){return Fe===Ee[et]}):!1},tu=function(fe,Ee,Fe,et,Ut){return fe.map(function(ur,_r){switch(_r){case 0:return ur.add(Ee,Fe);case 1:return ur.add(Ee+et,Fe);case 2:return ur.add(Ee+et,Fe+Ut);case 3:return ur.add(Ee,Fe+Ut)}return ur})},ra=function(){function at(fe,Ee){this.type=wl.VECTOR,this.x=fe,this.y=Ee}return at.prototype.add=function(fe,Ee){return new at(this.x+fe,this.y+Ee)},at}(),vl=function(fe,Ee,Fe){return new ra(fe.x+(Ee.x-fe.x)*Fe,fe.y+(Ee.y-fe.y)*Fe)},Nl=function(){function at(fe,Ee,Fe,et){this.type=wl.BEZIER_CURVE,this.start=fe,this.startControl=Ee,this.endControl=Fe,this.end=et}return at.prototype.subdivide=function(fe,Ee){var Fe=vl(this.start,this.startControl,fe),et=vl(this.startControl,this.endControl,fe),Ut=vl(this.endControl,this.end,fe),ur=vl(Fe,et,fe),_r=vl(et,Ut,fe),Fr=vl(ur,_r,fe);return Ee?new at(this.start,Fe,ur,Fr):new at(Fr,_r,Ut,this.end)},at.prototype.add=function(fe,Ee){return new at(this.start.add(fe,Ee),this.startControl.add(fe,Ee),this.endControl.add(fe,Ee),this.end.add(fe,Ee))},at.prototype.reverse=function(){return new at(this.end,this.endControl,this.startControl,this.start)},at}(),is=function(fe){return fe.type===wl.BEZIER_CURVE},zl=function(){function at(fe){var Ee=fe.styles,Fe=fe.bounds,et=an(Ee.borderTopLeftRadius,Fe.width,Fe.height),Ut=et[0],ur=et[1],_r=an(Ee.borderTopRightRadius,Fe.width,Fe.height),Fr=_r[0],en=_r[1],Kn=an(Ee.borderBottomRightRadius,Fe.width,Fe.height),Dn=Kn[0],Xn=Kn[1],Vi=an(Ee.borderBottomLeftRadius,Fe.width,Fe.height),Xi=Vi[0],sa=Vi[1],no=[];no.push((Ut+Fr)/Fe.width),no.push((Xi+Dn)/Fe.width),no.push((ur+sa)/Fe.height),no.push((en+Xn)/Fe.height);var Ra=Math.max.apply(Math,no);Ra>1&&(Ut/=Ra,ur/=Ra,Fr/=Ra,en/=Ra,Dn/=Ra,Xn/=Ra,Xi/=Ra,sa/=Ra);var Ia=Fe.width-Fr,ko=Fe.height-Xn,Go=Fe.width-Dn,_o=Fe.height-sa,Ta=Ee.borderTopWidth,rs=Ee.borderRightWidth,as=Ee.borderBottomWidth,Co=Ee.borderLeftWidth,Ml=Yr(Ee.paddingTop,fe.bounds.width),Jl=Yr(Ee.paddingRight,fe.bounds.width),Pl=Yr(Ee.paddingBottom,fe.bounds.width),yl=Yr(Ee.paddingLeft,fe.bounds.width);this.topLeftBorderDoubleOuterBox=Ut>0||ur>0?ms(Fe.left+Co/3,Fe.top+Ta/3,Ut-Co/3,ur-Ta/3,Ho.TOP_LEFT):new ra(Fe.left+Co/3,Fe.top+Ta/3),this.topRightBorderDoubleOuterBox=Ut>0||ur>0?ms(Fe.left+Ia,Fe.top+Ta/3,Fr-rs/3,en-Ta/3,Ho.TOP_RIGHT):new ra(Fe.left+Fe.width-rs/3,Fe.top+Ta/3),this.bottomRightBorderDoubleOuterBox=Dn>0||Xn>0?ms(Fe.left+Go,Fe.top+ko,Dn-rs/3,Xn-as/3,Ho.BOTTOM_RIGHT):new ra(Fe.left+Fe.width-rs/3,Fe.top+Fe.height-as/3),this.bottomLeftBorderDoubleOuterBox=Xi>0||sa>0?ms(Fe.left+Co/3,Fe.top+_o,Xi-Co/3,sa-as/3,Ho.BOTTOM_LEFT):new ra(Fe.left+Co/3,Fe.top+Fe.height-as/3),this.topLeftBorderDoubleInnerBox=Ut>0||ur>0?ms(Fe.left+Co*2/3,Fe.top+Ta*2/3,Ut-Co*2/3,ur-Ta*2/3,Ho.TOP_LEFT):new ra(Fe.left+Co*2/3,Fe.top+Ta*2/3),this.topRightBorderDoubleInnerBox=Ut>0||ur>0?ms(Fe.left+Ia,Fe.top+Ta*2/3,Fr-rs*2/3,en-Ta*2/3,Ho.TOP_RIGHT):new ra(Fe.left+Fe.width-rs*2/3,Fe.top+Ta*2/3),this.bottomRightBorderDoubleInnerBox=Dn>0||Xn>0?ms(Fe.left+Go,Fe.top+ko,Dn-rs*2/3,Xn-as*2/3,Ho.BOTTOM_RIGHT):new ra(Fe.left+Fe.width-rs*2/3,Fe.top+Fe.height-as*2/3),this.bottomLeftBorderDoubleInnerBox=Xi>0||sa>0?ms(Fe.left+Co*2/3,Fe.top+_o,Xi-Co*2/3,sa-as*2/3,Ho.BOTTOM_LEFT):new ra(Fe.left+Co*2/3,Fe.top+Fe.height-as*2/3),this.topLeftBorderStroke=Ut>0||ur>0?ms(Fe.left+Co/2,Fe.top+Ta/2,Ut-Co/2,ur-Ta/2,Ho.TOP_LEFT):new ra(Fe.left+Co/2,Fe.top+Ta/2),this.topRightBorderStroke=Ut>0||ur>0?ms(Fe.left+Ia,Fe.top+Ta/2,Fr-rs/2,en-Ta/2,Ho.TOP_RIGHT):new ra(Fe.left+Fe.width-rs/2,Fe.top+Ta/2),this.bottomRightBorderStroke=Dn>0||Xn>0?ms(Fe.left+Go,Fe.top+ko,Dn-rs/2,Xn-as/2,Ho.BOTTOM_RIGHT):new ra(Fe.left+Fe.width-rs/2,Fe.top+Fe.height-as/2),this.bottomLeftBorderStroke=Xi>0||sa>0?ms(Fe.left+Co/2,Fe.top+_o,Xi-Co/2,sa-as/2,Ho.BOTTOM_LEFT):new ra(Fe.left+Co/2,Fe.top+Fe.height-as/2),this.topLeftBorderBox=Ut>0||ur>0?ms(Fe.left,Fe.top,Ut,ur,Ho.TOP_LEFT):new ra(Fe.left,Fe.top),this.topRightBorderBox=Fr>0||en>0?ms(Fe.left+Ia,Fe.top,Fr,en,Ho.TOP_RIGHT):new ra(Fe.left+Fe.width,Fe.top),this.bottomRightBorderBox=Dn>0||Xn>0?ms(Fe.left+Go,Fe.top+ko,Dn,Xn,Ho.BOTTOM_RIGHT):new ra(Fe.left+Fe.width,Fe.top+Fe.height),this.bottomLeftBorderBox=Xi>0||sa>0?ms(Fe.left,Fe.top+_o,Xi,sa,Ho.BOTTOM_LEFT):new ra(Fe.left,Fe.top+Fe.height),this.topLeftPaddingBox=Ut>0||ur>0?ms(Fe.left+Co,Fe.top+Ta,Math.max(0,Ut-Co),Math.max(0,ur-Ta),Ho.TOP_LEFT):new ra(Fe.left+Co,Fe.top+Ta),this.topRightPaddingBox=Fr>0||en>0?ms(Fe.left+Math.min(Ia,Fe.width-rs),Fe.top+Ta,Ia>Fe.width+rs?0:Math.max(0,Fr-rs),Math.max(0,en-Ta),Ho.TOP_RIGHT):new ra(Fe.left+Fe.width-rs,Fe.top+Ta),this.bottomRightPaddingBox=Dn>0||Xn>0?ms(Fe.left+Math.min(Go,Fe.width-Co),Fe.top+Math.min(ko,Fe.height-as),Math.max(0,Dn-rs),Math.max(0,Xn-as),Ho.BOTTOM_RIGHT):new ra(Fe.left+Fe.width-rs,Fe.top+Fe.height-as),this.bottomLeftPaddingBox=Xi>0||sa>0?ms(Fe.left+Co,Fe.top+Math.min(_o,Fe.height-as),Math.max(0,Xi-Co),Math.max(0,sa-as),Ho.BOTTOM_LEFT):new ra(Fe.left+Co,Fe.top+Fe.height-as),this.topLeftContentBox=Ut>0||ur>0?ms(Fe.left+Co+yl,Fe.top+Ta+Ml,Math.max(0,Ut-(Co+yl)),Math.max(0,ur-(Ta+Ml)),Ho.TOP_LEFT):new ra(Fe.left+Co+yl,Fe.top+Ta+Ml),this.topRightContentBox=Fr>0||en>0?ms(Fe.left+Math.min(Ia,Fe.width+Co+yl),Fe.top+Ta+Ml,Ia>Fe.width+Co+yl?0:Fr-Co+yl,en-(Ta+Ml),Ho.TOP_RIGHT):new ra(Fe.left+Fe.width-(rs+Jl),Fe.top+Ta+Ml),this.bottomRightContentBox=Dn>0||Xn>0?ms(Fe.left+Math.min(Go,Fe.width-(Co+yl)),Fe.top+Math.min(ko,Fe.height+Ta+Ml),Math.max(0,Dn-(rs+Jl)),Xn-(as+Pl),Ho.BOTTOM_RIGHT):new ra(Fe.left+Fe.width-(rs+Jl),Fe.top+Fe.height-(as+Pl)),this.bottomLeftContentBox=Xi>0||sa>0?ms(Fe.left+Co+yl,Fe.top+_o,Math.max(0,Xi-(Co+yl)),sa-(as+Pl),Ho.BOTTOM_LEFT):new ra(Fe.left+Co+yl,Fe.top+Fe.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(fe,Ee,Fe,et,Ut){var ur=4*((Math.sqrt(2)-1)/3),_r=Fe*ur,Fr=et*ur,en=fe+Fe,Kn=Ee+et;switch(Ut){case Ho.TOP_LEFT:return new Nl(new ra(fe,Kn),new ra(fe,Kn-Fr),new ra(en-_r,Ee),new ra(en,Ee));case Ho.TOP_RIGHT:return new Nl(new ra(fe,Ee),new ra(fe+_r,Ee),new ra(en,Kn-Fr),new ra(en,Kn));case Ho.BOTTOM_RIGHT:return new Nl(new ra(en,Ee),new ra(en,Ee+Fr),new ra(fe+_r,Kn),new ra(fe,Kn));case Ho.BOTTOM_LEFT:default:return new Nl(new ra(en,Kn),new ra(en-_r,Kn),new ra(fe,Ee+Fr),new ra(fe,Ee))}},ru=function(fe){return[fe.topLeftBorderBox,fe.topRightBorderBox,fe.bottomRightBorderBox,fe.bottomLeftBorderBox]},xu=function(fe){return[fe.topLeftContentBox,fe.topRightContentBox,fe.bottomRightContentBox,fe.bottomLeftContentBox]},Nc=function(fe){return[fe.topLeftPaddingBox,fe.topRightPaddingBox,fe.bottomRightPaddingBox,fe.bottomLeftPaddingBox]},wu=function(){function at(fe,Ee,Fe){this.offsetX=fe,this.offsetY=Ee,this.matrix=Fe,this.type=0,this.target=2|4}return at}(),Vc=function(){function at(fe,Ee){this.path=fe,this.target=Ee,this.type=1}return at}(),vc=function(){function at(fe){this.opacity=fe,this.type=2,this.target=2|4}return at}(),Su=function(fe){return fe.type===0},fu=function(fe){return fe.type===1},Eu=function(fe){return fe.type===2},pu=function(){function at(fe){this.element=fe,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return at}(),Dc=function(){function at(fe,Ee){if(this.container=fe,this.parent=Ee,this.effects=[],this.curves=new zl(this.container),this.container.styles.opacity<1&&this.effects.push(new vc(this.container.styles.opacity)),this.container.styles.transform!==null){var Fe=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(Fe,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(fe){for(var Ee=[Lt.ABSOLUTE,Lt.FIXED].indexOf(this.container.styles.position)===-1,Fe=this.parent,et=this.effects.slice(0);Fe;){var Ut=Fe.effects.filter(function(Fr){return!fu(Fr)});if(Ee||Fe.container.styles.position!==Lt.STATIC||!Fe.parent){if(et.unshift.apply(et,Ut),Ee=[Lt.ABSOLUTE,Lt.FIXED].indexOf(Fe.container.styles.position)===-1,Fe.container.styles.overflowX!==Ls.VISIBLE){var ur=ru(Fe.curves),_r=Nc(Fe.curves);Hs(ur,_r)||et.unshift(new Vc(_r,2|4))}}else et.unshift.apply(et,Ut);Fe=Fe.parent}return et.filter(function(Fr){return za(Fr.target,fe)})},at}(),_u=function at(fe,Ee,Fe,et){fe.container.elements.forEach(function(Ut){var ur=za(Ut.flags,4),_r=za(Ut.flags,2),Fr=new Dc(Ut,fe);za(Ut.styles.display,2048)&&et.push(Fr);var en=za(Ut.flags,8)?[]:et;if(ur||_r){var Kn=ur||Ut.styles.isPositioned()?Fe:Ee,Dn=new pu(Fr);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(Fr,Dn,ur?Dn:Fe,en)}else Ut.styles.isInlineLevel()?Ee.inlineLevel.push(Fr):Ee.nonInlineLevel.push(Fr),at(Fr,Ee,Fe,en);za(Ut.flags,8)&&mu(Ut,en)})},mu=function(fe,Ee){for(var Fe=fe instanceof Kl?fe.start:1,et=fe instanceof Kl?fe.reversed:!1,Ut=0;Ut<Ee.length;Ut++){var ur=Ee[Ut];ur.container instanceof Gl&&typeof ur.container.value=="number"&&ur.container.value!==0&&(Fe=ur.container.value),ur.listValue=Qt(Fe,ur.container.styles.listStyleType,!0),Fe+=et?-1:1}},Cu=function(fe){var Ee=new Dc(fe,null),Fe=new pu(Ee),et=[];return _u(Ee,Fe,Fe,et),mu(Ee.container,et),Fe},gu=function(fe,Ee){switch(Ee){case 0:return tl(fe.topLeftBorderBox,fe.topLeftPaddingBox,fe.topRightBorderBox,fe.topRightPaddingBox);case 1:return tl(fe.topRightBorderBox,fe.topRightPaddingBox,fe.bottomRightBorderBox,fe.bottomRightPaddingBox);case 2:return tl(fe.bottomRightBorderBox,fe.bottomRightPaddingBox,fe.bottomLeftBorderBox,fe.bottomLeftPaddingBox);case 3:default:return tl(fe.bottomLeftBorderBox,fe.bottomLeftPaddingBox,fe.topLeftBorderBox,fe.topLeftPaddingBox)}},Tu=function(fe,Ee){switch(Ee){case 0:return tl(fe.topLeftBorderBox,fe.topLeftBorderDoubleOuterBox,fe.topRightBorderBox,fe.topRightBorderDoubleOuterBox);case 1:return tl(fe.topRightBorderBox,fe.topRightBorderDoubleOuterBox,fe.bottomRightBorderBox,fe.bottomRightBorderDoubleOuterBox);case 2:return tl(fe.bottomRightBorderBox,fe.bottomRightBorderDoubleOuterBox,fe.bottomLeftBorderBox,fe.bottomLeftBorderDoubleOuterBox);case 3:default:return tl(fe.bottomLeftBorderBox,fe.bottomLeftBorderDoubleOuterBox,fe.topLeftBorderBox,fe.topLeftBorderDoubleOuterBox)}},nu=function(fe,Ee){switch(Ee){case 0:return tl(fe.topLeftBorderDoubleInnerBox,fe.topLeftPaddingBox,fe.topRightBorderDoubleInnerBox,fe.topRightPaddingBox);case 1:return tl(fe.topRightBorderDoubleInnerBox,fe.topRightPaddingBox,fe.bottomRightBorderDoubleInnerBox,fe.bottomRightPaddingBox);case 2:return tl(fe.bottomRightBorderDoubleInnerBox,fe.bottomRightPaddingBox,fe.bottomLeftBorderDoubleInnerBox,fe.bottomLeftPaddingBox);case 3:default:return tl(fe.bottomLeftBorderDoubleInnerBox,fe.bottomLeftPaddingBox,fe.topLeftBorderDoubleInnerBox,fe.topLeftPaddingBox)}},Au=function(fe,Ee){switch(Ee){case 0:return Rc(fe.topLeftBorderStroke,fe.topRightBorderStroke);case 1:return Rc(fe.topRightBorderStroke,fe.bottomRightBorderStroke);case 2:return Rc(fe.bottomRightBorderStroke,fe.bottomLeftBorderStroke);case 3:default:return Rc(fe.bottomLeftBorderStroke,fe.topLeftBorderStroke)}},Rc=function(fe,Ee){var Fe=[];return is(fe)?Fe.push(fe.subdivide(.5,!1)):Fe.push(fe),is(Ee)?Fe.push(Ee.subdivide(.5,!0)):Fe.push(Ee),Fe},tl=function(fe,Ee,Fe,et){var Ut=[];return is(fe)?Ut.push(fe.subdivide(.5,!1)):Ut.push(fe),is(Fe)?Ut.push(Fe.subdivide(.5,!0)):Ut.push(Fe),is(et)?Ut.push(et.subdivide(.5,!0).reverse()):Ut.push(et),is(Ee)?Ut.push(Ee.subdivide(.5,!1).reverse()):Ut.push(Ee),Ut},sc=function(fe){var Ee=fe.bounds,Fe=fe.styles;return Ee.add(Fe.borderLeftWidth,Fe.borderTopWidth,-(Fe.borderRightWidth+Fe.borderLeftWidth),-(Fe.borderTopWidth+Fe.borderBottomWidth))},Wl=function(fe){var Ee=fe.styles,Fe=fe.bounds,et=Yr(Ee.paddingLeft,Fe.width),Ut=Yr(Ee.paddingRight,Fe.width),ur=Yr(Ee.paddingTop,Fe.width),_r=Yr(Ee.paddingBottom,Fe.width);return Fe.add(et+Ee.borderLeftWidth,ur+Ee.borderTopWidth,-(Ee.borderRightWidth+Ee.borderLeftWidth+et+Ut),-(Ee.borderTopWidth+Ee.borderBottomWidth+ur+_r))},cu=function(fe,Ee){return fe===0?Ee.bounds:fe===2?Wl(Ee):sc(Ee)},vu=function(fe,Ee){return fe===ca.BORDER_BOX?Ee.bounds:fe===ca.CONTENT_BOX?Wl(Ee):sc(Ee)},uu=function(fe,Ee,Fe){var et=cu(du(fe.styles.backgroundOrigin,Ee),fe),Ut=vu(du(fe.styles.backgroundClip,Ee),fe),ur=yu(du(fe.styles.backgroundSize,Ee),Fe,et),_r=ur[0],Fr=ur[1],en=an(du(fe.styles.backgroundPosition,Ee),et.width-_r,et.height-Fr),Kn=Lu(du(fe.styles.backgroundRepeat,Ee),en,ur,et,Ut),Dn=Math.round(et.left+en[0]),Xn=Math.round(et.top+en[1]);return[Kn,Dn,Xn,_r,Fr]},Xc=function(fe){return Ke(fe)&&fe.value===Po.AUTO},Gc=function(fe){return typeof fe=="number"},yu=function(fe,Ee,Fe){var et=Ee[0],Ut=Ee[1],ur=Ee[2],_r=fe[0],Fr=fe[1];if(!_r)return[0,0];if(Dr(_r)&&Fr&&Dr(Fr))return[Yr(_r,Fe.width),Yr(Fr,Fe.height)];var en=Gc(ur);if(Ke(_r)&&(_r.value===Po.CONTAIN||_r.value===Po.COVER)){if(Gc(ur)){var Kn=Fe.width/Fe.height;return Kn<ur!==(_r.value===Po.COVER)?[Fe.width,Fe.width/ur]:[Fe.height*ur,Fe.height]}return[Fe.width,Fe.height]}var Dn=Gc(et),Xn=Gc(Ut),Vi=Dn||Xn;if(Xc(_r)&&(!Fr||Xc(Fr))){if(Dn&&Xn)return[et,Ut];if(!en&&!Vi)return[Fe.width,Fe.height];if(Vi&&en){var Xi=Dn?et:Ut*ur,sa=Xn?Ut:et/ur;return[Xi,sa]}var no=Dn?et:Fe.width,Ra=Xn?Ut:Fe.height;return[no,Ra]}if(en){var Ia=0,ko=0;return Dr(_r)?Ia=Yr(_r,Fe.width):Dr(Fr)&&(ko=Yr(Fr,Fe.height)),Xc(_r)?Ia=ko*ur:(!Fr||Xc(Fr))&&(ko=Ia/ur),[Ia,ko]}var Go=null,_o=null;if(Dr(_r)?Go=Yr(_r,Fe.width):Fr&&Dr(Fr)&&(_o=Yr(Fr,Fe.height)),Go!==null&&(!Fr||Xc(Fr))&&(_o=Dn&&Xn?Go/et*Ut:Fe.height),_o!==null&&Xc(_r)&&(Go=Dn&&Xn?_o/Ut*et:Fe.width),Go!==null&&_o!==null)return[Go,_o];throw new Error("Unable to calculate background-size for element")},du=function(fe,Ee){var Fe=fe[Ee];return typeof Fe=="undefined"?fe[0]:Fe},Lu=function(fe,Ee,Fe,et,Ut){var ur=Ee[0],_r=Ee[1],Fr=Fe[0],en=Fe[1];switch(fe){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+Fr),Math.round(et.top)),new ra(Math.round(et.left+ur+Fr),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+Fr),Math.round(et.top+_r)),new ra(Math.round(et.left+ur+Fr),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(fe){this._data={},this._document=fe}return at.prototype.parseMetrics=function(fe,Ee){var Fe=this._document.createElement("div"),et=this._document.createElement("img"),Ut=this._document.createElement("span"),ur=this._document.body;Fe.style.visibility="hidden",Fe.style.fontFamily=fe,Fe.style.fontSize=Ee,Fe.style.margin="0",Fe.style.padding="0",ur.appendChild(Fe),et.src=Nu,et.width=1,et.height=1,et.style.margin="0",et.style.padding="0",et.style.verticalAlign="baseline",Ut.style.fontFamily=fe,Ut.style.fontSize=Ee,Ut.style.margin="0",Ut.style.padding="0",Ut.appendChild(this._document.createTextNode(Iu)),Fe.appendChild(Ut),Fe.appendChild(et);var _r=et.offsetTop-Ut.offsetTop+2;Fe.removeChild(Ut),Fe.appendChild(this._document.createTextNode(Iu)),Fe.style.lineHeight="normal",et.style.verticalAlign="super";var Fr=et.offsetTop-Fe.offsetTop+2;return ur.removeChild(Fe),{baseline:_r,middle:Fr}},at.prototype.getMetrics=function(fe,Ee){var Fe=fe+" "+Ee;return typeof this._data[Fe]=="undefined"&&(this._data[Fe]=this.parseMetrics(fe,Ee)),this._data[Fe]},at}(),Ou=function(){function at(fe,Ee){this.context=fe,this.options=Ee}return at}(),Ru=1e4,Fu=function(at){A(fe,at);function fe(Ee,Fe){var et=at.call(this,Ee,Fe)||this;return et._activeEffects=[],et.canvas=Fe.canvas?Fe.canvas:document.createElement("canvas"),et.ctx=et.canvas.getContext("2d"),Fe.canvas||(et.canvas.width=Math.floor(Fe.width*Fe.scale),et.canvas.height=Math.floor(Fe.height*Fe.scale),et.canvas.style.width=Fe.width+"px",et.canvas.style.height=Fe.height+"px"),et.fontMetrics=new Du(document),et.ctx.scale(et.options.scale,et.options.scale),et.ctx.translate(-Fe.x,-Fe.y),et.ctx.textBaseline="bottom",et._activeEffects=[],et.context.logger.debug("Canvas renderer initialized ("+Fe.width+"x"+Fe.height+") with scale "+Fe.scale),et}return fe.prototype.applyEffects=function(Ee){for(var Fe=this;this._activeEffects.length;)this.popEffect();Ee.forEach(function(et){return Fe.applyEffect(et)})},fe.prototype.applyEffect=function(Ee){this.ctx.save(),Eu(Ee)&&(this.ctx.globalAlpha=Ee.opacity),Su(Ee)&&(this.ctx.translate(Ee.offsetX,Ee.offsetY),this.ctx.transform(Ee.matrix[0],Ee.matrix[1],Ee.matrix[2],Ee.matrix[3],Ee.matrix[4],Ee.matrix[5]),this.ctx.translate(-Ee.offsetX,-Ee.offsetY)),fu(Ee)&&(this.path(Ee.path),this.ctx.clip()),this._activeEffects.push(Ee)},fe.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},fe.prototype.renderStack=function(Ee){return m(this,void 0,void 0,function(){var Fe;return v(this,function(et){switch(et.label){case 0:return Fe=Ee.element.container.styles,Fe.isVisible()?[4,this.renderStackContent(Ee)]:[3,2];case 1:et.sent(),et.label=2;case 2:return[2]}})})},fe.prototype.renderNode=function(Ee){return m(this,void 0,void 0,function(){return v(this,function(Fe){switch(Fe.label){case 0:if(za(Ee.container.flags,16))debugger;return Ee.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(Ee)]:[3,3];case 1:return Fe.sent(),[4,this.renderNodeContent(Ee)];case 2:Fe.sent(),Fe.label=3;case 3:return[2]}})})},fe.prototype.renderTextWithLetterSpacing=function(Ee,Fe,et){var Ut=this;if(Fe===0)this.ctx.fillText(Ee.text,Ee.bounds.left,Ee.bounds.top+et);else{var ur=Bl(Ee.text);ur.reduce(function(_r,Fr){return Ut.ctx.fillText(Fr,_r,Ee.bounds.top+et),_r+Ut.ctx.measureText(Fr).width},Ee.bounds.left)}},fe.prototype.createFontStyle=function(Ee){var Fe=Ee.fontVariant.filter(function(ur){return ur==="normal"||ur==="small-caps"}).join(""),et=Ee.fontFamily.join(", "),Ut=Ir(Ee.fontSize)?""+Ee.fontSize.number+Ee.fontSize.unit:Ee.fontSize.number+"px";return[[Ee.fontStyle,Fe,Ee.fontWeight,Ut,et].join(" "),et,Ut]},fe.prototype.renderTextNode=function(Ee,Fe){return m(this,void 0,void 0,function(){var et,Ut,ur,_r,Fr,en,Kn,Dn,Xn=this;return v(this,function(Vi){return et=this.createFontStyle(Fe),Ut=et[0],ur=et[1],_r=et[2],this.ctx.font=Ut,this.ctx.direction=Fe.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Fr=this.fontMetrics.getMetrics(ur,_r),en=Fr.baseline,Kn=Fr.middle,Dn=Fe.paintOrder,Ee.textBounds.forEach(function(Xi){Dn.forEach(function(sa){switch(sa){case xo.FILL:Xn.ctx.fillStyle=wi(Fe.color),Xn.renderTextWithLetterSpacing(Xi,Fe.letterSpacing,en);var no=Fe.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,Fe.letterSpacing,en)}),Xn.ctx.shadowColor="",Xn.ctx.shadowOffsetX=0,Xn.ctx.shadowOffsetY=0,Xn.ctx.shadowBlur=0),Fe.textDecorationLine.length&&(Xn.ctx.fillStyle=wi(Fe.textDecorationColor||Fe.color),Fe.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:Fe.webkitTextStrokeWidth&&Xi.text.trim().length&&(Xn.ctx.strokeStyle=wi(Fe.webkitTextStrokeColor),Xn.ctx.lineWidth=Fe.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]})})},fe.prototype.renderReplacedElement=function(Ee,Fe,et){if(et&&Ee.intrinsicWidth>0&&Ee.intrinsicHeight>0){var Ut=Wl(Ee),ur=Nc(Fe);this.path(ur),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(et,0,0,Ee.intrinsicWidth,Ee.intrinsicHeight,Ut.left,Ut.top,Ut.width,Ut.height),this.ctx.restore()}},fe.prototype.renderNodeContent=function(Ee){return m(this,void 0,void 0,function(){var Fe,et,Ut,ur,_r,Fr,en,en,Kn,Dn,Xn,Vi,Xi,sa,no,Ra,Ia,ko,Go,en,_o,Xi,Ra;return v(this,function(Ta){switch(Ta.label){case 0:this.applyEffects(Ee.getEffects(4)),Fe=Ee.container,et=Ee.curves,Ut=Fe.styles,ur=0,_r=Fe.textNodes,Ta.label=1;case 1:return ur<_r.length?(Fr=_r[ur],[4,this.renderTextNode(Fr,Ut)]):[3,4];case 2:Ta.sent(),Ta.label=3;case 3:return ur++,[3,1];case 4:if(!(Fe instanceof pc))return[3,8];Ta.label=5;case 5:return Ta.trys.push([5,7,,8]),[4,this.context.cache.match(Fe.src)];case 6:return en=Ta.sent(),this.renderReplacedElement(Fe,et,en),[3,8];case 7:return Ta.sent(),this.context.logger.error("Error loading image "+Fe.src),[3,8];case 8:if(Fe instanceof Ol&&this.renderReplacedElement(Fe,et,Fe.canvas),!(Fe instanceof Ll))return[3,12];Ta.label=9;case 9:return Ta.trys.push([9,11,,12]),[4,this.context.cache.match(Fe.svg)];case 10:return en=Ta.sent(),this.renderReplacedElement(Fe,et,en),[3,12];case 11:return Ta.sent(),this.context.logger.error("Error loading svg "+Fe.svg.substring(0,255)),[3,12];case 12:return Fe instanceof Lc&&Fe.tree?(Kn=new fe(this.context,{scale:this.options.scale,backgroundColor:Fe.backgroundColor,x:0,y:0,width:Fe.width,height:Fe.height}),[4,Kn.render(Fe.tree)]):[3,14];case 13:Dn=Ta.sent(),Fe.width&&Fe.height&&this.ctx.drawImage(Dn,0,0,Fe.width,Fe.height,Fe.bounds.left,Fe.bounds.top,Fe.bounds.width,Fe.bounds.height),Ta.label=14;case 14:if(Fe instanceof ac&&(Xn=Math.min(Fe.bounds.width,Fe.bounds.height),Fe.type===Ql?Fe.checked&&(this.ctx.save(),this.path([new ra(Fe.bounds.left+Xn*.39363,Fe.bounds.top+Xn*.79),new ra(Fe.bounds.left+Xn*.16,Fe.bounds.top+Xn*.5549),new ra(Fe.bounds.left+Xn*.27347,Fe.bounds.top+Xn*.44071),new ra(Fe.bounds.left+Xn*.39694,Fe.bounds.top+Xn*.5649),new ra(Fe.bounds.left+Xn*.72983,Fe.bounds.top+Xn*.23),new ra(Fe.bounds.left+Xn*.84,Fe.bounds.top+Xn*.34085),new ra(Fe.bounds.left+Xn*.39363,Fe.bounds.top+Xn*.79)]),this.ctx.fillStyle=wi(Oc),this.ctx.fill(),this.ctx.restore()):Fe.type===mc&&(Fe.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(Fe.bounds.left+Xn/2,Fe.bounds.top+Xn/2,Xn/4,0,Math.PI*2,!0),this.ctx.fillStyle=wi(Oc),this.ctx.fill(),this.ctx.restore()))),Bu(Fe)&&Fe.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=Mu(Fe.styles.textAlign),Ra=Wl(Fe),Ia=0;switch(Fe.styles.textAlign){case ho.CENTER:Ia+=Ra.width/2;break;case ho.RIGHT:Ia+=Ra.width;break}ko=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(Fe.value,ko),Ut.letterSpacing,no),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!za(Fe.styles.display,2048))return[3,20];if(!(Fe.styles.listStyleImage!==null))return[3,19];if(Go=Fe.styles.listStyleImage,!(Go.type===Ba.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,Fe.bounds.left-(en.width+10),Fe.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:Ee.listValue&&Fe.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 s(Fe.bounds.left,Fe.bounds.top+Yr(Fe.styles.paddingTop,Fe.bounds.width),Fe.bounds.width,Yo(Ut.lineHeight,Ut.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new al(Ee.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]}})})},fe.prototype.renderStackContent=function(Ee){return m(this,void 0,void 0,function(){var Fe,et,Ut,ur,_r,Ut,Fr,en,Ut,Kn,Dn,Ut,Xn,Vi,Ut,Xi,sa,Ut,no,Ra,Ut;return v(this,function(Ia){switch(Ia.label){case 0:if(za(Ee.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(Ee.element)];case 1:Ia.sent(),Fe=0,et=Ee.negativeZIndex,Ia.label=2;case 2:return Fe<et.length?(Ut=et[Fe],[4,this.renderStack(Ut)]):[3,5];case 3:Ia.sent(),Ia.label=4;case 4:return Fe++,[3,2];case 5:return[4,this.renderNodeContent(Ee.element)];case 6:Ia.sent(),ur=0,_r=Ee.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:Fr=0,en=Ee.nonPositionedFloats,Ia.label=11;case 11:return Fr<en.length?(Ut=en[Fr],[4,this.renderStack(Ut)]):[3,14];case 12:Ia.sent(),Ia.label=13;case 13:return Fr++,[3,11];case 14:Kn=0,Dn=Ee.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=Ee.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=Ee.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=Ee.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]}})})},fe.prototype.mask=function(Ee){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(Ee.slice(0).reverse()),this.ctx.closePath()},fe.prototype.path=function(Ee){this.ctx.beginPath(),this.formatPath(Ee),this.ctx.closePath()},fe.prototype.formatPath=function(Ee){var Fe=this;Ee.forEach(function(et,Ut){var ur=is(et)?et.start:et;Ut===0?Fe.ctx.moveTo(ur.x,ur.y):Fe.ctx.lineTo(ur.x,ur.y),is(et)&&Fe.ctx.bezierCurveTo(et.startControl.x,et.startControl.y,et.endControl.x,et.endControl.y,et.end.x,et.end.y)})},fe.prototype.renderRepeat=function(Ee,Fe,et,Ut){this.path(Ee),this.ctx.fillStyle=Fe,this.ctx.translate(et,Ut),this.ctx.fill(),this.ctx.translate(-et,-Ut)},fe.prototype.resizeImage=function(Ee,Fe,et){var Ut;if(Ee.width===Fe&&Ee.height===et)return Ee;var ur=(Ut=this.canvas.ownerDocument)!==null&&Ut!==void 0?Ut:document,_r=ur.createElement("canvas");_r.width=Math.max(1,Fe),_r.height=Math.max(1,et);var Fr=_r.getContext("2d");return Fr.drawImage(Ee,0,0,Ee.width,Ee.height,0,0,Fe,et),_r},fe.prototype.renderBackgroundImage=function(Ee){return m(this,void 0,void 0,function(){var Fe,et,Ut,ur,_r,Fr;return v(this,function(en){switch(en.label){case 0:Fe=Ee.styles.backgroundImage.length-1,et=function(Dn){var Xn,Vi,Xi,sa,no,Ra,Ia,ko,Go,_o,sa,no,Ra,Ia,ko,Ta,rs,as,Co,Ml,Jl,Pl,yl,iu,Go,yc,sa,Qc,Yc,Ia,ko,Zc,no,Ra,au,bc,Jc,ou,su,Fc,lu,Bc;return v(this,function(hu){switch(hu.label){case 0:if(!(Dn.type===Ba.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(Ee,Fe,[Xn.width,Xn.height,Xn.width/Xn.height]),sa=Xi[0],no=Xi[1],Ra=Xi[2],Ia=Xi[3],ko=Xi[4],Go=Ut.ctx.createPattern(Ut.resizeImage(Xn,Ia,ko),"repeat"),Ut.renderRepeat(sa,Go,no,Ra)),[3,6];case 5:vo(Dn)?(_o=uu(Ee,Fe,[null,null,null]),sa=_o[0],no=_o[1],Ra=_o[2],Ia=_o[3],ko=_o[4],Ta=Ji(Dn.angle,Ia,ko),rs=Ta[0],as=Ta[1],Co=Ta[2],Ml=Ta[3],Jl=Ta[4],Pl=document.createElement("canvas"),Pl.width=Ia,Pl.height=ko,yl=Pl.getContext("2d"),iu=yl.createLinearGradient(as,Ml,Co,Jl),xi(Dn.stops,rs).forEach(function(bu){return iu.addColorStop(bu.stop,wi(bu.color))}),yl.fillStyle=iu,yl.fillRect(0,0,Ia,ko),Ia>0&&ko>0&&(Go=Ut.ctx.createPattern(Pl,"repeat"),Ut.renderRepeat(sa,Go,no,Ra))):os(Dn)&&(yc=uu(Ee,Fe,[null,null,null]),sa=yc[0],Qc=yc[1],Yc=yc[2],Ia=yc[3],ko=yc[4],Zc=Dn.position.length===0?[Cn]:Dn.position,no=Yr(Zc[0],Ia),Ra=Yr(Zc[Zc.length-1],ko),au=Oa(Dn,no,Ra,Ia,ko),bc=au[0],Jc=au[1],bc>0&&Jc>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!==Jc?(su=Ee.bounds.left+.5*Ee.bounds.width,Fc=Ee.bounds.top+.5*Ee.bounds.height,lu=Jc/bc,Bc=1/lu,Ut.ctx.save(),Ut.ctx.translate(su,Fc),Ut.ctx.transform(1,0,0,lu,0,0),Ut.ctx.translate(-su,-Fc),Ut.ctx.fillRect(Qc,Bc*(Yc-Fc)+Fc,Ia,ko*Bc),Ut.ctx.restore()):Ut.ctx.fill())),hu.label=6;case 6:return Fe--,[2]}})},Ut=this,ur=0,_r=Ee.styles.backgroundImage.slice(0).reverse(),en.label=1;case 1:return ur<_r.length?(Fr=_r[ur],[5,et(Fr)]):[3,4];case 2:en.sent(),en.label=3;case 3:return ur++,[3,1];case 4:return[2]}})})},fe.prototype.renderSolidBorder=function(Ee,Fe,et){return m(this,void 0,void 0,function(){return v(this,function(Ut){return this.path(gu(et,Fe)),this.ctx.fillStyle=wi(Ee),this.ctx.fill(),[2]})})},fe.prototype.renderDoubleBorder=function(Ee,Fe,et,Ut){return m(this,void 0,void 0,function(){var ur,_r;return v(this,function(Fr){switch(Fr.label){case 0:return Fe<3?[4,this.renderSolidBorder(Ee,et,Ut)]:[3,2];case 1:return Fr.sent(),[2];case 2:return ur=Tu(Ut,et),this.path(ur),this.ctx.fillStyle=wi(Ee),this.ctx.fill(),_r=nu(Ut,et),this.path(_r),this.ctx.fill(),[2]}})})},fe.prototype.renderNodeBackgroundAndBorders=function(Ee){return m(this,void 0,void 0,function(){var Fe,et,Ut,ur,_r,Fr,en,Kn,Dn=this;return v(this,function(Xn){switch(Xn.label){case 0:return this.applyEffects(Ee.getEffects(2)),Fe=Ee.container.styles,et=!ci(Fe.backgroundColor)||Fe.backgroundImage.length,Ut=[{style:Fe.borderTopStyle,color:Fe.borderTopColor,width:Fe.borderTopWidth},{style:Fe.borderRightStyle,color:Fe.borderRightColor,width:Fe.borderRightWidth},{style:Fe.borderBottomStyle,color:Fe.borderBottomColor,width:Fe.borderBottomWidth},{style:Fe.borderLeftStyle,color:Fe.borderLeftColor,width:Fe.borderLeftWidth}],ur=ku(du(Fe.backgroundClip,0),Ee.curves),et||Fe.boxShadow.length?(this.ctx.save(),this.path(ur),this.ctx.clip(),ci(Fe.backgroundColor)||(this.ctx.fillStyle=wi(Fe.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(Ee.container)]):[3,2];case 1:Xn.sent(),this.ctx.restore(),Fe.boxShadow.slice(0).reverse().forEach(function(Vi){Dn.ctx.save();var Xi=ru(Ee.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,Fr=0,en=Ut,Xn.label=3;case 3:return Fr<en.length?(Kn=en[Fr],Kn.style!==Ya.NONE&&!ci(Kn.color)&&Kn.width>0?Kn.style===Ya.DASHED?[4,this.renderDashedDottedBorder(Kn.color,Kn.width,_r,Ee.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,Ee.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,Ee.curves)]:[3,9];case 8:return Xn.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Kn.color,_r,Ee.curves)];case 10:Xn.sent(),Xn.label=11;case 11:_r++,Xn.label=12;case 12:return Fr++,[3,3];case 13:return[2]}})})},fe.prototype.renderDashedDottedBorder=function(Ee,Fe,et,Ut,ur){return m(this,void 0,void 0,function(){var _r,Fr,en,Kn,Dn,Xn,Vi,Xi,sa,no,Ra,Ia,ko,Go,_o,Ta,_o,Ta;return v(this,function(rs){return this.ctx.save(),_r=Au(Ut,et),Fr=gu(Ut,et),ur===Ya.DASHED&&(this.path(Fr),this.ctx.clip()),is(Fr[0])?(en=Fr[0].start.x,Kn=Fr[0].start.y):(en=Fr[0].x,Kn=Fr[0].y),is(Fr[1])?(Dn=Fr[1].end.x,Xn=Fr[1].end.y):(Dn=Fr[1].x,Xn=Fr[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(Fr.slice(0,2)),Xi=Fe<3?Fe*3:Fe*2,sa=Fe<3?Fe*2:Fe,ur===Ya.DOTTED&&(Xi=Fe,sa=Fe),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)),ko=(Vi-Ia*Xi)/(Ia-1),Go=(Vi-(Ia+1)*Xi)/Ia,sa=Go<=0||Math.abs(sa-ko)<Math.abs(sa-Go)?ko: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=Fe):this.ctx.lineWidth=Fe*2+1.1,this.ctx.strokeStyle=wi(Ee),this.ctx.stroke(),this.ctx.setLineDash([]),ur===Ya.DASHED&&(is(Fr[0])&&(_o=Fr[3],Ta=Fr[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(Fr[1])&&(_o=Fr[1],Ta=Fr[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]})})},fe.prototype.render=function(Ee){return m(this,void 0,void 0,function(){var Fe;return v(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)),Fe=Cu(Ee),[4,this.renderStack(Fe)];case 1:return et.sent(),this.applyEffects([]),[2,this.canvas]}})})},fe}(Ou),Bu=function(fe){return fe instanceof Yl||fe instanceof gc?!0:fe instanceof ac&&fe.type!==mc&&fe.type!==Ql},ku=function(fe,Ee){switch(fe){case ca.BORDER_BOX:return ru(Ee);case ca.CONTENT_BOX:return xu(Ee);case ca.PADDING_BOX:default:return Nc(Ee)}},Mu=function(fe){switch(fe){case ho.CENTER:return"center";case ho.RIGHT:return"right";case ho.LEFT:default:return"left"}},Pu=function(at){A(fe,at);function fe(Ee,Fe){var et=at.call(this,Ee,Fe)||this;return et.canvas=Fe.canvas?Fe.canvas:document.createElement("canvas"),et.ctx=et.canvas.getContext("2d"),et.options=Fe,et.canvas.width=Math.floor(Fe.width*Fe.scale),et.canvas.height=Math.floor(Fe.height*Fe.scale),et.canvas.style.width=Fe.width+"px",et.canvas.style.height=Fe.height+"px",et.ctx.scale(et.options.scale,et.options.scale),et.ctx.translate(-Fe.x,-Fe.y),et.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+Fe.width+"x"+Fe.height+" at "+Fe.x+","+Fe.y+") with scale "+Fe.scale),et}return fe.prototype.render=function(Ee){return m(this,void 0,void 0,function(){var Fe,et;return v(this,function(Ut){switch(Ut.label){case 0:return Fe=rc(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,Ee),[4,Uu(Fe)];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]}})})},fe}(Ou),Uu=function(fe){return new Promise(function(Ee,Fe){var et=new Image;et.onload=function(){Ee(et)},et.onerror=Fe,et.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(fe))})},ju=function(){function at(fe){var Ee=fe.id,Fe=fe.enabled;this.id=Ee,this.enabled=Fe,this.start=Date.now()}return at.prototype.debug=function(){for(var fe=[],Ee=0;Ee<arguments.length;Ee++)fe[Ee]=arguments[Ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,p([this.id,this.getTime()+"ms"],fe)):this.info.apply(this,fe))},at.prototype.getTime=function(){return Date.now()-this.start},at.prototype.info=function(){for(var fe=[],Ee=0;Ee<arguments.length;Ee++)fe[Ee]=arguments[Ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,p([this.id,this.getTime()+"ms"],fe)))},at.prototype.warn=function(){for(var fe=[],Ee=0;Ee<arguments.length;Ee++)fe[Ee]=arguments[Ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,p([this.id,this.getTime()+"ms"],fe)):this.info.apply(this,fe))},at.prototype.error=function(){for(var fe=[],Ee=0;Ee<arguments.length;Ee++)fe[Ee]=arguments[Ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,p([this.id,this.getTime()+"ms"],fe)):this.info.apply(this,fe))},at.instances={},at}(),Hu=function(){function at(fe,Ee){var Fe;this.windowBounds=Ee,this.instanceName="#"+at.instanceCount++,this.logger=new ju({id:this.instanceName,enabled:fe.logging}),this.cache=(Fe=fe.cache)!==null&&Fe!==void 0?Fe:new fl(this,fe)}return at.instanceCount=1,at}(),Ku=function(fe,Ee){return Ee===void 0&&(Ee={}),zu(fe,Ee)};typeof window!="undefined"&&As.setContext(window);var zu=function(fe,Ee){return m(void 0,void 0,void 0,function(){var Fe,et,Ut,ur,_r,Fr,en,Kn,Dn,Xn,Vi,Xi,sa,no,Ra,Ia,ko,Go,_o,Ta,rs,as,rs,Co,Ml,Jl,Pl,yl,iu,yc,Qc,Yc,Zc,au,bc,Jc,ou,su,Fc,lu;return v(this,function(Bc){switch(Bc.label){case 0:if(!fe||typeof fe!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(Fe=fe.ownerDocument,!Fe)throw new Error("Element is not attached to a Document");if(et=Fe.defaultView,!et)throw new Error("Document is not attached to a Window");return Ut={allowTaint:(Co=Ee.allowTaint)!==null&&Co!==void 0?Co:!1,imageTimeout:(Ml=Ee.imageTimeout)!==null&&Ml!==void 0?Ml:15e3,proxy:Ee.proxy,useCORS:(Jl=Ee.useCORS)!==null&&Jl!==void 0?Jl:!1},ur=b({logging:(Pl=Ee.logging)!==null&&Pl!==void 0?Pl:!0,cache:Ee.cache},Ut),_r={windowWidth:(yl=Ee.windowWidth)!==null&&yl!==void 0?yl:et.innerWidth,windowHeight:(iu=Ee.windowHeight)!==null&&iu!==void 0?iu:et.innerHeight,scrollX:(yc=Ee.scrollX)!==null&&yc!==void 0?yc:et.pageXOffset,scrollY:(Qc=Ee.scrollY)!==null&&Qc!==void 0?Qc:et.pageYOffset},Fr=new s(_r.scrollX,_r.scrollY,_r.windowWidth,_r.windowHeight),en=new Hu(ur,Fr),Kn=(Yc=Ee.foreignObjectRendering)!==null&&Yc!==void 0?Yc:!1,Dn={allowTaint:(Zc=Ee.allowTaint)!==null&&Zc!==void 0?Zc:!1,onclone:Ee.onclone,ignoreElements:Ee.ignoreElements,inlineImages:Kn,copyStyles:Kn},en.logger.debug("Starting document clone with size "+Fr.width+"x"+Fr.height+" scrolled to "+-Fr.left+","+-Fr.top),Xn=new tn(en,fe,Dn),Vi=Xn.clonedReferenceElement,Vi?[4,Xn.toIFrame(Fe,Fr)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return Xi=Bc.sent(),sa=Ft(Vi)||Et(Vi)?o(Vi.ownerDocument):u(en,Vi),no=sa.width,Ra=sa.height,Ia=sa.left,ko=sa.top,Go=Wu(en,Vi,Ee.backgroundColor),_o={canvas:Ee.canvas,backgroundColor:Go,scale:(bc=(au=Ee.scale)!==null&&au!==void 0?au:et.devicePixelRatio)!==null&&bc!==void 0?bc:1,x:((Jc=Ee.x)!==null&&Jc!==void 0?Jc:0)+Ia,y:((ou=Ee.y)!==null&&ou!==void 0?ou:0)+ko,width:(su=Ee.width)!==null&&su!==void 0?su:Math.ceil(no),height:(Fc=Ee.height)!==null&&Fc!==void 0?Fc: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=Bc.sent(),[3,5];case 3:return en.logger.debug("Document cloned, element located at "+Ia+","+ko+" with size "+no+"x"+Ra+" using computed rendering"),en.logger.debug("Starting DOM parsing"),as=Ue(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 Fu(en,_o),[4,rs.render(as)];case 4:Ta=Bc.sent(),Bc.label=5;case 5:return((lu=Ee.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]}})})},Wu=function(fe,Ee,Fe){var et=Ee.ownerDocument,Ut=et.documentElement?ya(fe,getComputedStyle(et.documentElement).backgroundColor):Ea.TRANSPARENT,ur=et.body?ya(fe,getComputedStyle(et.body).backgroundColor):Ea.TRANSPARENT,_r=typeof Fe=="string"?ya(fe,Fe):Fe===null?Ea.TRANSPARENT:4294967295;return Ee===et.documentElement?ci(Ut)?ci(ur)?_r:ur:Ut:_r};return Ku})},wPlo:function(M,P,d){"use strict";d.d(P,"a",function(){return w});var w="RC_SELECT_INTERNAL_PROPS_MARK"},wYyv:function(M,P,d){"use strict";var w=d("R5yR"),A=d("5wUe"),b=function(p,s,u){var o=s<0?p.length+s:s;if(o>=0&&o<p.length){var e=u<0?p.length+u:u,r=p.splice(s,1),i=A(r,1),n=i[0];p.splice(e,0,n)}},m=function(p,s,u){return p=w(p),b(p,s,u),p};M.exports=m,M.exports.mutate=b},whVF:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var w=d("lNSK"),A=b(d("1q3G"));function b(u){return u&&u.__esModule?u:{default:u}}function m(u,o){if(!(u instanceof o))throw new TypeError("Cannot call a class as a function")}function v(u,o){for(var e=0;e<o.length;e++){var r=o[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(u,r.key,r)}}function p(u,o,e){return o&&v(u.prototype,o),e&&v(u,e),u}var s=function(){function u(){m(this,u),this.strm=new A.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,w.deflateInit)(this.strm,this.windowBits)}return p(u,[{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 r=(0,w.deflate)(this.strm,w.Z_FULL_FLUSH),i=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(r<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var n=[i],l=i.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,r=(0,w.deflate)(this.strm,w.Z_FULL_FLUSH),r<0)throw new Error("zlib deflate failed");var t=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);l+=t.length,n.push(t)}while(this.strm.avail_in>0);for(var a=new Uint8Array(l),c=0,h=0;h<n.length;h++)a.set(n[h],c),c+=n[h].length;i=a}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,i}}]),u}();P.default=s},wlus:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="MinusCircleOutlined";var s=P.a=A.forwardRef(p)},wr5s:function(M,P,d){var w=d("IwbS"),A=w.extendShape,b=A({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(m,v){var p=v.cx,s=v.cy,u=Math.max(v.r0||0,0),o=Math.max(v.r,0),e=(o-u)*.5,r=u+e,i=v.startAngle,n=v.endAngle,l=v.clockwise,t=Math.cos(i),a=Math.sin(i),c=Math.cos(n),h=Math.sin(n),f=l?n-i<Math.PI*2:i-n<Math.PI*2;f&&(m.moveTo(t*u+p,a*u+s),m.arc(t*r+p,a*r+s,e,-Math.PI+i,i,!l)),m.arc(p,s,o,i,n,!l),m.moveTo(c*o+p,h*o+s),m.arc(c*r+p,h*r+s,e,n-Math.PI*2,n-Math.PI,!l),u!==0&&(m.arc(p,s,u,n,i,l),m.moveTo(t*u+p,h*u+s)),m.closePath()}});M.exports=b},wt3j:function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("/IIm"),m=d("EMyp"),v=m.layoutCovers,p=w.extendComponentView({type:"brush",init:function(u,o){this.ecModel=u,this.api=o,this.model,(this._brushController=new b(o.getZr())).on("brush",A.bind(this._onBrush,this)).mount()},render:function(u){return this.model=u,s.apply(this,arguments)},updateTransform:function(u,o){return v(o),s.apply(this,arguments)},updateView:s,dispose:function(){this._brushController.dispose()},_onBrush:function(u,o){var e=this.model.id;this.model.brushTargetManager.setOutputRanges(u,this.ecModel),(!o.isEnd||o.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:A.clone(u),$from:e}),o.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:A.clone(u),$from:e})}});function s(u,o,e,r){(!r||r.$from!==u.id)&&this._brushController.setPanels(u.brushTargetManager.makePanelOpts(e)).enableBrush(u.brushOption).updateCovers(u.areas.slice())}M.exports=p},wy8a:function(M,P,d){var w=d("KxBF");function A(b,m,v){var p=b.length;return v=v===void 0?p:v,!m&&v>=p?b:w(b,m,v)}M.exports=A},x3X8:function(M,P,d){var w=d("KxfA"),A=w.retrieveRawValue;function b(m,v){var p=m.mapDimension("defaultedLabel",!0),s=p.length;if(s===1)return A(m,v,p[0]);if(s){for(var u=[],o=0;o<p.length;o++){var e=A(m,v,p[o]);u.push(e)}return u.join(" ")}}P.getDefaultLabel=b},x6Kt:function(M,P,d){var w=d("y+Vt"),A=d("VpOo"),b=d("nPnh"),m=b.subPixelOptimizeRect,v={},p=w.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(u,o){var e,r,i,n;this.subPixelOptimize?(m(v,o,this.style),e=v.x,r=v.y,i=v.width,n=v.height,v.r=o.r,o=v):(e=o.x,r=o.y,i=o.width,n=o.height),o.r?A.buildPath(u,o):u.rect(e,r,i,n),u.closePath();return}});M.exports=p},x6LZ:function(M,P,d){},xGfz:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="PlusSquareOutlined";var s=P.a=A.forwardRef(p)},xKMd:function(M,P){function d(A,b){this.getAllNames=function(){var m=b();return m.mapArray(m.getName)},this.containName=function(m){var v=b();return v.indexOfName(m)>=0},this.indexOfName=function(m){var v=A();return v.indexOfName(m)},this.getItemVisual=function(m,v){var p=A();return p.getItemVisual(m,v)}}var w=d;M.exports=w},xO64:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var w=A(d("8K/p"));function A(t){return t&&t.__esModule?t:{default:t}}function b(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(c){return typeof c}:b=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},b(t)}function m(t,a){if(!(t instanceof a))throw new TypeError("Cannot call a class as a function")}function v(t,a){for(var c=0;c<a.length;c++){var h=a[c];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(t,h.key,h)}}function p(t,a,c){return a&&v(t.prototype,a),c&&v(t,c),t}function s(t,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(a&&a.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),a&&u(t,a)}function u(t,a){return u=Object.setPrototypeOf||function(h,f){return h.__proto__=f,h},u(t,a)}function o(t){var a=i();return function(){var h=n(t),f;if(a){var g=n(this).constructor;f=Reflect.construct(h,arguments,g)}else f=h.apply(this,arguments);return e(this,f)}}function e(t,a){return a&&(b(a)==="object"||typeof a=="function")?a:r(t)}function r(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 n(t){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(c){return c.__proto__||Object.getPrototypeOf(c)},n(t)}var l=function(t){s(c,t);var a=o(c);function c(){return m(this,c),a.apply(this,arguments)}return p(c,[{key:"_pngRect",value:function(f,g,S,y,E,C,T){var x=this._readData(E);return x===null?!1:(C.imageRect(f,g,S,y,"image/png",x),!0)}},{key:"_basicRect",value:function(f,g,S,y,E,C,T,x){throw new Error("BasicCompression received in TightPNG rect")}}]),c}(w.default);P.default=l},xOOu:function(M,P,d){(function(w,A){var b,b;/*!
|
|
|
|
|
|
JSZip v3.7.1 - A JavaScript class for generating and reading zip files
|
|
|
<http://stuartk.com/jszip>
|
|
|
|
|
|
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
|
|
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
|
|
|
|
|
|
JSZip uses the library pako released under the MIT license :
|
|
|
https://github.com/nodeca/pako/blob/master/LICENSE
|
|
|
*/!function(m){M.exports=m()}(function(){return function m(v,p,s){function u(r,i){if(!p[r]){if(!v[r]){var n=typeof b=="function"&&b;if(!i&&n)return b(r,!0);if(o)return o(r,!0);var l=new Error("Cannot find module '"+r+"'");throw l.code="MODULE_NOT_FOUND",l}var t=p[r]={exports:{}};v[r][0].call(t.exports,function(a){var c=v[r][1][a];return u(c||a)},t,t.exports,m,v,p,s)}return p[r].exports}for(var o=typeof b=="function"&&b,e=0;e<s.length;e++)u(s[e]);return u}({1:[function(m,v,p){"use strict";var s=m("./utils"),u=m("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";p.encode=function(e){for(var r,i,n,l,t,a,c,h=[],f=0,g=e.length,S=g,y=s.getTypeOf(e)!=="string";f<e.length;)S=g-f,n=y?(r=e[f++],i=f<g?e[f++]:0,f<g?e[f++]:0):(r=e.charCodeAt(f++),i=f<g?e.charCodeAt(f++):0,f<g?e.charCodeAt(f++):0),l=r>>2,t=(3&r)<<4|i>>4,a=1<S?(15&i)<<2|n>>6:64,c=2<S?63&n:64,h.push(o.charAt(l)+o.charAt(t)+o.charAt(a)+o.charAt(c));return h.join("")},p.decode=function(e){var r,i,n,l,t,a,c=0,h=0,f="data:";if(e.substr(0,f.length)===f)throw new Error("Invalid base64 input, it looks like a data url.");var g,S=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&S--,e.charAt(e.length-2)===o.charAt(64)&&S--,S%1!=0)throw new Error("Invalid base64 input, bad content length.");for(g=u.uint8array?new Uint8Array(0|S):new Array(0|S);c<e.length;)r=o.indexOf(e.charAt(c++))<<2|(l=o.indexOf(e.charAt(c++)))>>4,i=(15&l)<<4|(t=o.indexOf(e.charAt(c++)))>>2,n=(3&t)<<6|(a=o.indexOf(e.charAt(c++))),g[h++]=r,t!==64&&(g[h++]=i),a!==64&&(g[h++]=n);return g}},{"./support":30,"./utils":32}],2:[function(m,v,p){"use strict";var s=m("./external"),u=m("./stream/DataWorker"),o=m("./stream/Crc32Probe"),e=m("./stream/DataLengthProbe");function r(i,n,l,t,a){this.compressedSize=i,this.uncompressedSize=n,this.crc32=l,this.compression=t,this.compressedContent=a}r.prototype={getContentWorker:function(){var n=new u(s.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new e("data_length")),l=this;return n.on("end",function(){if(this.streamInfo.data_length!==l.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),n},getCompressedWorker:function(){return new u(s.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},r.createWorkerFrom=function(i,n,l){return i.pipe(new o).pipe(new e("uncompressedSize")).pipe(n.compressWorker(l)).pipe(new e("compressedSize")).withStreamInfo("compression",n)},v.exports=r},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(m,v,p){"use strict";var s=m("./stream/GenericWorker");p.STORE={magic:"\0\0",compressWorker:function(o){return new s("STORE compression")},uncompressWorker:function(){return new s("STORE decompression")}},p.DEFLATE=m("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(m,v,p){"use strict";var s=m("./utils"),u=function(){for(var o,e=[],r=0;r<256;r++){o=r;for(var i=0;i<8;i++)o=1&o?3988292384^o>>>1:o>>>1;e[r]=o}return e}();v.exports=function(o,e){return o!==void 0&&o.length?s.getTypeOf(o)!=="string"?function(r,i,n,l){var t=u,a=l+n;r^=-1;for(var c=l;c<a;c++)r=r>>>8^t[255&(r^i[c])];return-1^r}(0|e,o,o.length,0):function(r,i,n,l){var t=u,a=l+n;r^=-1;for(var c=l;c<a;c++)r=r>>>8^t[255&(r^i.charCodeAt(c))];return-1^r}(0|e,o,o.length,0):0}},{"./utils":32}],5:[function(m,v,p){"use strict";p.base64=!1,p.binary=!1,p.dir=!1,p.createFolders=!0,p.date=null,p.compression=null,p.compressionOptions=null,p.comment=null,p.unixPermissions=null,p.dosPermissions=null},{}],6:[function(m,v,p){"use strict";var s=null;s=typeof Promise!="undefined"?Promise:m("lie"),v.exports={Promise:s}},{lie:37}],7:[function(m,v,p){"use strict";var s=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",u=m("pako"),o=m("./utils"),e=m("./stream/GenericWorker"),r=s?"uint8array":"array";function i(n,l){e.call(this,"FlateWorker/"+n),this._pako=null,this._pakoAction=n,this._pakoOptions=l,this.meta={}}p.magic="\b\0",o.inherits(i,e),i.prototype.processChunk=function(n){this.meta=n.meta,this._pako===null&&this._createPako(),this._pako.push(o.transformTo(r,n.data),!1)},i.prototype.flush=function(){e.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},i.prototype.cleanUp=function(){e.prototype.cleanUp.call(this),this._pako=null},i.prototype._createPako=function(){this._pako=new u[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var n=this;this._pako.onData=function(l){n.push({data:l,meta:n.meta})}},p.compressWorker=function(n){return new i("Deflate",n)},p.uncompressWorker=function(){return new i("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(m,v,p){"use strict";function s(t,a){var c,h="";for(c=0;c<a;c++)h+=String.fromCharCode(255&t),t>>>=8;return h}function u(t,a,c,h,f,g){var S,y,E=t.file,C=t.compression,T=g!==r.utf8encode,x=o.transformTo("string",g(E.name)),_=o.transformTo("string",r.utf8encode(E.name)),I=E.comment,L=o.transformTo("string",g(I)),D=o.transformTo("string",r.utf8encode(I)),B=_.length!==E.name.length,N=D.length!==I.length,k="",W="",R="",j=E.dir,H=E.date,K={crc32:0,compressedSize:0,uncompressedSize:0};a&&!c||(K.crc32=t.crc32,K.compressedSize=t.compressedSize,K.uncompressedSize=t.uncompressedSize);var U=0;a&&(U|=8),T||!B&&!N||(U|=2048);var Q=0,V=0;j&&(Q|=16),f==="UNIX"?(V=798,Q|=function(ae,se){var $=ae;return ae||($=se?16893:33204),(65535&$)<<16}(E.unixPermissions,j)):(V=20,Q|=function(ae){return 63&(ae||0)}(E.dosPermissions)),S=H.getUTCHours(),S<<=6,S|=H.getUTCMinutes(),S<<=5,S|=H.getUTCSeconds()/2,y=H.getUTCFullYear()-1980,y<<=4,y|=H.getUTCMonth()+1,y<<=5,y|=H.getUTCDate(),B&&(W=s(1,1)+s(i(x),4)+_,k+="up"+s(W.length,2)+W),N&&(R=s(1,1)+s(i(L),4)+D,k+="uc"+s(R.length,2)+R);var J="";return J+=`
|
|
|
\0`,J+=s(U,2),J+=C.magic,J+=s(S,2),J+=s(y,2),J+=s(K.crc32,4),J+=s(K.compressedSize,4),J+=s(K.uncompressedSize,4),J+=s(x.length,2),J+=s(k.length,2),{fileRecord:n.LOCAL_FILE_HEADER+J+x+k,dirRecord:n.CENTRAL_FILE_HEADER+s(V,2)+J+s(L.length,2)+"\0\0\0\0"+s(Q,4)+s(h,4)+x+k+L}}var o=m("../utils"),e=m("../stream/GenericWorker"),r=m("../utf8"),i=m("../crc32"),n=m("../signature");function l(t,a,c,h){e.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=a,this.zipPlatform=c,this.encodeFileName=h,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(l,e),l.prototype.push=function(t){var a=t.meta.percent||0,c=this.entriesCount,h=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,e.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:c?(a+100*(c-h-1))/c:100}}))},l.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var a=this.streamFiles&&!t.file.dir;if(a){var c=u(t,a,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:c.fileRecord,meta:{percent:0}})}else this.accumulate=!0},l.prototype.closedSource=function(t){this.accumulate=!1;var a=this.streamFiles&&!t.file.dir,c=u(t,a,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(c.dirRecord),a)this.push({data:function(h){return n.DATA_DESCRIPTOR+s(h.crc32,4)+s(h.compressedSize,4)+s(h.uncompressedSize,4)}(t),meta:{percent:100}});else for(this.push({data:c.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},l.prototype.flush=function(){for(var t=this.bytesWritten,a=0;a<this.dirRecords.length;a++)this.push({data:this.dirRecords[a],meta:{percent:100}});var c=this.bytesWritten-t,h=function(f,g,S,y,E){var C=o.transformTo("string",E(y));return n.CENTRAL_DIRECTORY_END+"\0\0\0\0"+s(f,2)+s(f,2)+s(g,4)+s(S,4)+s(C.length,2)+C}(this.dirRecords.length,c,t,this.zipComment,this.encodeFileName);this.push({data:h,meta:{percent:100}})},l.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},l.prototype.registerPrevious=function(t){this._sources.push(t);var a=this;return t.on("data",function(c){a.processChunk(c)}),t.on("end",function(){a.closedSource(a.previous.streamInfo),a._sources.length?a.prepareNextSource():a.end()}),t.on("error",function(c){a.error(c)}),this},l.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},l.prototype.error=function(t){var a=this._sources;if(!e.prototype.error.call(this,t))return!1;for(var c=0;c<a.length;c++)try{a[c].error(t)}catch(h){}return!0},l.prototype.lock=function(){e.prototype.lock.call(this);for(var t=this._sources,a=0;a<t.length;a++)t[a].lock()},v.exports=l},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(m,v,p){"use strict";var s=m("../compressions"),u=m("./ZipFileWorker");p.generateWorker=function(o,e,r){var i=new u(e.streamFiles,r,e.platform,e.encodeFileName),n=0;try{o.forEach(function(l,t){n++;var a=function(g,S){var y=g||S,E=s[y];if(!E)throw new Error(y+" is not a valid compression method !");return E}(t.options.compression,e.compression),c=t.options.compressionOptions||e.compressionOptions||{},h=t.dir,f=t.date;t._compressWorker(a,c).withStreamInfo("file",{name:l,dir:h,date:f,comment:t.comment||"",unixPermissions:t.unixPermissions,dosPermissions:t.dosPermissions}).pipe(i)}),i.entriesCount=n}catch(l){i.error(l)}return i}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(m,v,p){"use strict";function s(){if(!(this instanceof s))return new s;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var u=new s;for(var o in this)typeof this[o]!="function"&&(u[o]=this[o]);return u}}(s.prototype=m("./object")).loadAsync=m("./load"),s.support=m("./support"),s.defaults=m("./defaults"),s.version="3.7.1",s.loadAsync=function(u,o){return new s().loadAsync(u,o)},s.external=m("./external"),v.exports=s},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(m,v,p){"use strict";var s=m("./utils"),u=m("./external"),o=m("./utf8"),e=m("./zipEntries"),r=m("./stream/Crc32Probe"),i=m("./nodejsUtils");function n(l){return new u.Promise(function(t,a){var c=l.decompressed.getContentWorker().pipe(new r);c.on("error",function(h){a(h)}).on("end",function(){c.streamInfo.crc32!==l.decompressed.crc32?a(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}v.exports=function(l,t){var a=this;return t=s.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),i.isNode&&i.isStream(l)?u.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):s.prepareContent("the loaded zip file",l,!0,t.optimizedBinaryString,t.base64).then(function(c){var h=new e(t);return h.load(c),h}).then(function(c){var h=[u.Promise.resolve(c)],f=c.files;if(t.checkCRC32)for(var g=0;g<f.length;g++)h.push(n(f[g]));return u.Promise.all(h)}).then(function(c){for(var h=c.shift(),f=h.files,g=0;g<f.length;g++){var S=f[g];a.file(S.fileNameStr,S.decompressed,{binary:!0,optimizedBinaryString:!0,date:S.date,dir:S.dir,comment:S.fileCommentStr.length?S.fileCommentStr:null,unixPermissions:S.unixPermissions,dosPermissions:S.dosPermissions,createFolders:t.createFolders})}return h.zipComment.length&&(a.comment=h.zipComment),a})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(m,v,p){"use strict";var s=m("../utils"),u=m("../stream/GenericWorker");function o(e,r){u.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(r)}s.inherits(o,u),o.prototype._bindStream=function(e){var r=this;(this._stream=e).pause(),e.on("data",function(i){r.push({data:i,meta:{percent:0}})}).on("error",function(i){r.isPaused?this.generatedError=i:r.error(i)}).on("end",function(){r.isPaused?r._upstreamEnded=!0:r.end()})},o.prototype.pause=function(){return!!u.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},v.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(m,v,p){"use strict";var s=m("readable-stream").Readable;function u(o,e,r){s.call(this,e),this._helper=o;var i=this;o.on("data",function(n,l){i.push(n)||i._helper.pause(),r&&r(l)}).on("error",function(n){i.emit("error",n)}).on("end",function(){i.push(null)})}m("../utils").inherits(u,s),u.prototype._read=function(){this._helper.resume()},v.exports=u},{"../utils":32,"readable-stream":16}],14:[function(m,v,p){"use strict";v.exports={isNode:typeof w!="undefined",newBufferFrom:function(u,o){if(w.from&&w.from!==Uint8Array.from)return w.from(u,o);if(typeof u=="number")throw new Error('The "data" argument must not be a number');return new w(u,o)},allocBuffer:function(u){if(w.alloc)return w.alloc(u);var o=new w(u);return o.fill(0),o},isBuffer:function(u){return w.isBuffer(u)},isStream:function(u){return u&&typeof u.on=="function"&&typeof u.pause=="function"&&typeof u.resume=="function"}}},{}],15:[function(m,v,p){"use strict";function s(E,C,T){var x,_=o.getTypeOf(C),I=o.extend(T||{},i);I.date=I.date||new Date,I.compression!==null&&(I.compression=I.compression.toUpperCase()),typeof I.unixPermissions=="string"&&(I.unixPermissions=parseInt(I.unixPermissions,8)),I.unixPermissions&&16384&I.unixPermissions&&(I.dir=!0),I.dosPermissions&&16&I.dosPermissions&&(I.dir=!0),I.dir&&(E=f(E)),I.createFolders&&(x=h(E))&&g.call(this,x,!0);var L=_==="string"&&I.binary===!1&&I.base64===!1;T&&T.binary!==void 0||(I.binary=!L),(C instanceof n&&C.uncompressedSize===0||I.dir||!C||C.length===0)&&(I.base64=!1,I.binary=!0,C="",I.compression="STORE",_="string");var D=null;D=C instanceof n||C instanceof e?C:a.isNode&&a.isStream(C)?new c(E,C):o.prepareContent(E,C,I.binary,I.optimizedBinaryString,I.base64);var B=new l(E,D,I);this.files[E]=B}var u=m("./utf8"),o=m("./utils"),e=m("./stream/GenericWorker"),r=m("./stream/StreamHelper"),i=m("./defaults"),n=m("./compressedObject"),l=m("./zipObject"),t=m("./generate"),a=m("./nodejsUtils"),c=m("./nodejs/NodejsStreamInputAdapter"),h=function(C){C.slice(-1)==="/"&&(C=C.substring(0,C.length-1));var T=C.lastIndexOf("/");return 0<T?C.substring(0,T):""},f=function(C){return C.slice(-1)!=="/"&&(C+="/"),C},g=function(C,T){return T=T!==void 0?T:i.createFolders,C=f(C),this.files[C]||s.call(this,C,null,{dir:!0,createFolders:T}),this.files[C]};function S(E){return Object.prototype.toString.call(E)==="[object RegExp]"}var y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(C){var T,x,_;for(T in this.files)_=this.files[T],(x=T.slice(this.root.length,T.length))&&T.slice(0,this.root.length)===this.root&&C(x,_)},filter:function(C){var T=[];return this.forEach(function(x,_){C(x,_)&&T.push(_)}),T},file:function(C,T,x){if(arguments.length!==1)return C=this.root+C,s.call(this,C,T,x),this;if(S(C)){var _=C;return this.filter(function(L,D){return!D.dir&&_.test(L)})}var I=this.files[this.root+C];return I&&!I.dir?I:null},folder:function(C){if(!C)return this;if(S(C))return this.filter(function(I,L){return L.dir&&C.test(I)});var T=this.root+C,x=g.call(this,T),_=this.clone();return _.root=x.name,_},remove:function(C){C=this.root+C;var T=this.files[C];if(T||(C.slice(-1)!=="/"&&(C+="/"),T=this.files[C]),T&&!T.dir)delete this.files[C];else for(var x=this.filter(function(I,L){return L.name.slice(0,C.length)===C}),_=0;_<x.length;_++)delete this.files[x[_].name];return this},generate:function(C){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(C){var T,x={};try{if((x=o.extend(C||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:u.utf8encode})).type=x.type.toLowerCase(),x.compression=x.compression.toUpperCase(),x.type==="binarystring"&&(x.type="string"),!x.type)throw new Error("No output type specified.");o.checkSupport(x.type),x.platform!=="darwin"&&x.platform!=="freebsd"&&x.platform!=="linux"&&x.platform!=="sunos"||(x.platform="UNIX"),x.platform==="win32"&&(x.platform="DOS");var _=x.comment||this.comment||"";T=t.generateWorker(this,x,_)}catch(I){(T=new e("error")).error(I)}return new r(T,x.type||"string",x.mimeType)},generateAsync:function(C,T){return this.generateInternalStream(C).accumulate(T)},generateNodeStream:function(C,T){return(C=C||{}).type||(C.type="nodebuffer"),this.generateInternalStream(C).toNodejsStream(T)}};v.exports=y},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(m,v,p){v.exports=m("stream")},{stream:void 0}],17:[function(m,v,p){"use strict";var s=m("./DataReader");function u(o){s.call(this,o);for(var e=0;e<this.data.length;e++)o[e]=255&o[e]}m("../utils").inherits(u,s),u.prototype.byteAt=function(o){return this.data[this.zero+o]},u.prototype.lastIndexOfSignature=function(o){for(var e=o.charCodeAt(0),r=o.charCodeAt(1),i=o.charCodeAt(2),n=o.charCodeAt(3),l=this.length-4;0<=l;--l)if(this.data[l]===e&&this.data[l+1]===r&&this.data[l+2]===i&&this.data[l+3]===n)return l-this.zero;return-1},u.prototype.readAndCheckSignature=function(o){var e=o.charCodeAt(0),r=o.charCodeAt(1),i=o.charCodeAt(2),n=o.charCodeAt(3),l=this.readData(4);return e===l[0]&&r===l[1]&&i===l[2]&&n===l[3]},u.prototype.readData=function(o){if(this.checkOffset(o),o===0)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,e},v.exports=u},{"../utils":32,"./DataReader":18}],18:[function(m,v,p){"use strict";var s=m("../utils");function u(o){this.data=o,this.length=o.length,this.index=0,this.zero=0}u.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var r,i=0;for(this.checkOffset(e),r=this.index+e-1;r>=this.index;r--)i=(i<<8)+this.byteAt(r);return this.index+=e,i},readString:function(e){return s.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},v.exports=u},{"../utils":32}],19:[function(m,v,p){"use strict";var s=m("./Uint8ArrayReader");function u(o){s.call(this,o)}m("../utils").inherits(u,s),u.prototype.readData=function(o){this.checkOffset(o);var e=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,e},v.exports=u},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(m,v,p){"use strict";var s=m("./DataReader");function u(o){s.call(this,o)}m("../utils").inherits(u,s),u.prototype.byteAt=function(o){return this.data.charCodeAt(this.zero+o)},u.prototype.lastIndexOfSignature=function(o){return this.data.lastIndexOf(o)-this.zero},u.prototype.readAndCheckSignature=function(o){return o===this.readData(4)},u.prototype.readData=function(o){this.checkOffset(o);var e=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,e},v.exports=u},{"../utils":32,"./DataReader":18}],21:[function(m,v,p){"use strict";var s=m("./ArrayReader");function u(o){s.call(this,o)}m("../utils").inherits(u,s),u.prototype.readData=function(o){if(this.checkOffset(o),o===0)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+o);return this.index+=o,e},v.exports=u},{"../utils":32,"./ArrayReader":17}],22:[function(m,v,p){"use strict";var s=m("../utils"),u=m("../support"),o=m("./ArrayReader"),e=m("./StringReader"),r=m("./NodeBufferReader"),i=m("./Uint8ArrayReader");v.exports=function(n){var l=s.getTypeOf(n);return s.checkSupport(l),l!=="string"||u.uint8array?l==="nodebuffer"?new r(n):u.uint8array?new i(s.transformTo("uint8array",n)):new o(s.transformTo("array",n)):new e(n)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(m,v,p){"use strict";p.LOCAL_FILE_HEADER="PK",p.CENTRAL_FILE_HEADER="PK",p.CENTRAL_DIRECTORY_END="PK",p.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",p.ZIP64_CENTRAL_DIRECTORY_END="PK",p.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(m,v,p){"use strict";var s=m("./GenericWorker"),u=m("../utils");function o(e){s.call(this,"ConvertWorker to "+e),this.destType=e}u.inherits(o,s),o.prototype.processChunk=function(e){this.push({data:u.transformTo(this.destType,e.data),meta:e.meta})},v.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(m,v,p){"use strict";var s=m("./GenericWorker"),u=m("../crc32");function o(){s.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}m("../utils").inherits(o,s),o.prototype.processChunk=function(e){this.streamInfo.crc32=u(e.data,this.streamInfo.crc32||0),this.push(e)},v.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(m,v,p){"use strict";var s=m("../utils"),u=m("./GenericWorker");function o(e){u.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}s.inherits(o,u),o.prototype.processChunk=function(e){if(e){var r=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=r+e.data.length}u.prototype.processChunk.call(this,e)},v.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(m,v,p){"use strict";var s=m("../utils"),u=m("./GenericWorker");function o(e){u.call(this,"DataWorker");var r=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(i){r.dataIsReady=!0,r.data=i,r.max=i&&i.length||0,r.type=s.getTypeOf(i),r.isPaused||r._tickAndRepeat()},function(i){r.error(i)})}s.inherits(o,u),o.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,s.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(s.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,r=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,r);break;case"uint8array":e=this.data.subarray(this.index,r);break;case"array":case"nodebuffer":e=this.data.slice(this.index,r)}return this.index=r,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},v.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(m,v,p){"use strict";function s(u){this.name=u||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}s.prototype={push:function(o){this.emit("data",o)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(o){this.emit("error",o)}return!0},error:function(o){return!this.isFinished&&(this.isPaused?this.generatedError=o:(this.isFinished=!0,this.emit("error",o),this.previous&&this.previous.error(o),this.cleanUp()),!0)},on:function(o,e){return this._listeners[o].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(o,e){if(this._listeners[o])for(var r=0;r<this._listeners[o].length;r++)this._listeners[o][r].call(this,e)},pipe:function(o){return o.registerPrevious(this)},registerPrevious:function(o){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=o.streamInfo,this.mergeStreamInfo(),this.previous=o;var e=this;return o.on("data",function(r){e.processChunk(r)}),o.on("end",function(){e.end()}),o.on("error",function(r){e.error(r)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var o=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),o=!0),this.previous&&this.previous.resume(),!o},flush:function(){},processChunk:function(o){this.push(o)},withStreamInfo:function(o,e){return this.extraStreamInfo[o]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var o in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(o)&&(this.streamInfo[o]=this.extraStreamInfo[o])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var o="Worker "+this.name;return this.previous?this.previous+" -> "+o:o}},v.exports=s},{}],29:[function(m,v,p){"use strict";var s=m("../utils"),u=m("./ConvertWorker"),o=m("./GenericWorker"),e=m("../base64"),r=m("../support"),i=m("../external"),n=null;if(r.nodestream)try{n=m("../nodejs/NodejsStreamOutputAdapter")}catch(a){}function l(a,c){return new i.Promise(function(h,f){var g=[],S=a._internalType,y=a._outputType,E=a._mimeType;a.on("data",function(C,T){g.push(C),c&&c(T)}).on("error",function(C){g=[],f(C)}).on("end",function(){try{var C=function(T,x,_){switch(T){case"blob":return s.newBlob(s.transformTo("arraybuffer",x),_);case"base64":return e.encode(x);default:return s.transformTo(T,x)}}(y,function(T,x){var _,I=0,L=null,D=0;for(_=0;_<x.length;_++)D+=x[_].length;switch(T){case"string":return x.join("");case"array":return Array.prototype.concat.apply([],x);case"uint8array":for(L=new Uint8Array(D),_=0;_<x.length;_++)L.set(x[_],I),I+=x[_].length;return L;case"nodebuffer":return w.concat(x);default:throw new Error("concat : unsupported type '"+T+"'")}}(S,g),E);h(C)}catch(T){f(T)}g=[]}).resume()})}function t(a,c,h){var f=c;switch(c){case"blob":case"arraybuffer":f="uint8array";break;case"base64":f="string"}try{this._internalType=f,this._outputType=c,this._mimeType=h,s.checkSupport(f),this._worker=a.pipe(new u(f)),a.lock()}catch(g){this._worker=new o("error"),this._worker.error(g)}}t.prototype={accumulate:function(c){return l(this,c)},on:function(c,h){var f=this;return c==="data"?this._worker.on(c,function(g){h.call(f,g.data,g.meta)}):this._worker.on(c,function(){s.delay(h,arguments,f)}),this},resume:function(){return s.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(c){if(s.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new n(this,{objectMode:this._outputType!=="nodebuffer"},c)}},v.exports=t},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(m,v,p){"use strict";if(p.base64=!0,p.array=!0,p.string=!0,p.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",p.nodebuffer=typeof w!="undefined",p.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")p.blob=!1;else{var s=new ArrayBuffer(0);try{p.blob=new Blob([s],{type:"application/zip"}).size===0}catch(o){try{var u=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);u.append(s),p.blob=u.getBlob("application/zip").size===0}catch(e){p.blob=!1}}}try{p.nodestream=!!m("readable-stream").Readable}catch(o){p.nodestream=!1}},{"readable-stream":16}],31:[function(m,v,p){"use strict";for(var s=m("./utils"),u=m("./support"),o=m("./nodejsUtils"),e=m("./stream/GenericWorker"),r=new Array(256),i=0;i<256;i++)r[i]=252<=i?6:248<=i?5:240<=i?4:224<=i?3:192<=i?2:1;r[254]=r[254]=1;function n(){e.call(this,"utf-8 decode"),this.leftOver=null}function l(){e.call(this,"utf-8 encode")}p.utf8encode=function(t){return u.nodebuffer?o.newBufferFrom(t,"utf-8"):function(a){var c,h,f,g,S,y=a.length,E=0;for(g=0;g<y;g++)(64512&(h=a.charCodeAt(g)))==55296&&g+1<y&&(64512&(f=a.charCodeAt(g+1)))==56320&&(h=65536+(h-55296<<10)+(f-56320),g++),E+=h<128?1:h<2048?2:h<65536?3:4;for(c=u.uint8array?new Uint8Array(E):new Array(E),g=S=0;S<E;g++)(64512&(h=a.charCodeAt(g)))==55296&&g+1<y&&(64512&(f=a.charCodeAt(g+1)))==56320&&(h=65536+(h-55296<<10)+(f-56320),g++),h<128?c[S++]=h:(h<2048?c[S++]=192|h>>>6:(h<65536?c[S++]=224|h>>>12:(c[S++]=240|h>>>18,c[S++]=128|h>>>12&63),c[S++]=128|h>>>6&63),c[S++]=128|63&h);return c}(t)},p.utf8decode=function(t){return u.nodebuffer?s.transformTo("nodebuffer",t).toString("utf-8"):function(a){var c,h,f,g,S=a.length,y=new Array(2*S);for(c=h=0;c<S;)if((f=a[c++])<128)y[h++]=f;else if(4<(g=r[f]))y[h++]=65533,c+=g-1;else{for(f&=g===2?31:g===3?15:7;1<g&&c<S;)f=f<<6|63&a[c++],g--;1<g?y[h++]=65533:f<65536?y[h++]=f:(f-=65536,y[h++]=55296|f>>10&1023,y[h++]=56320|1023&f)}return y.length!==h&&(y.subarray?y=y.subarray(0,h):y.length=h),s.applyFromCharCode(y)}(t=s.transformTo(u.uint8array?"uint8array":"array",t))},s.inherits(n,e),n.prototype.processChunk=function(t){var a=s.transformTo(u.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(u.uint8array){var c=a;(a=new Uint8Array(c.length+this.leftOver.length)).set(this.leftOver,0),a.set(c,this.leftOver.length)}else a=this.leftOver.concat(a);this.leftOver=null}var h=function(g,S){var y;for((S=S||g.length)>g.length&&(S=g.length),y=S-1;0<=y&&(192&g[y])==128;)y--;return y<0||y===0?S:y+r[g[y]]>S?y:S}(a),f=a;h!==a.length&&(u.uint8array?(f=a.subarray(0,h),this.leftOver=a.subarray(h,a.length)):(f=a.slice(0,h),this.leftOver=a.slice(h,a.length))),this.push({data:p.utf8decode(f),meta:t.meta})},n.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:p.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},p.Utf8DecodeWorker=n,s.inherits(l,e),l.prototype.processChunk=function(t){this.push({data:p.utf8encode(t.data),meta:t.meta})},p.Utf8EncodeWorker=l},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(m,v,p){"use strict";var s=m("./support"),u=m("./base64"),o=m("./nodejsUtils"),e=m("set-immediate-shim"),r=m("./external");function i(h){return h}function n(h,f){for(var g=0;g<h.length;++g)f[g]=255&h.charCodeAt(g);return f}p.newBlob=function(h,f){p.checkSupport("blob");try{return new Blob([h],{type:f})}catch(S){try{var g=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return g.append(h),g.getBlob(f)}catch(y){throw new Error("Bug : can't construct the Blob.")}}};var l={stringifyByChunk:function(f,g,S){var y=[],E=0,C=f.length;if(C<=S)return String.fromCharCode.apply(null,f);for(;E<C;)g==="array"||g==="nodebuffer"?y.push(String.fromCharCode.apply(null,f.slice(E,Math.min(E+S,C)))):y.push(String.fromCharCode.apply(null,f.subarray(E,Math.min(E+S,C)))),E+=S;return y.join("")},stringifyByChar:function(f){for(var g="",S=0;S<f.length;S++)g+=String.fromCharCode(f[S]);return g},applyCanBeUsed:{uint8array:function(){try{return s.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(h){return!1}}(),nodebuffer:function(){try{return s.nodebuffer&&String.fromCharCode.apply(null,o.allocBuffer(1)).length===1}catch(h){return!1}}()}};function t(h){var f=65536,g=p.getTypeOf(h),S=!0;if(g==="uint8array"?S=l.applyCanBeUsed.uint8array:g==="nodebuffer"&&(S=l.applyCanBeUsed.nodebuffer),S)for(;1<f;)try{return l.stringifyByChunk(h,g,f)}catch(y){f=Math.floor(f/2)}return l.stringifyByChar(h)}function a(h,f){for(var g=0;g<h.length;g++)f[g]=h[g];return f}p.applyFromCharCode=t;var c={};c.string={string:i,array:function(f){return n(f,new Array(f.length))},arraybuffer:function(f){return c.string.uint8array(f).buffer},uint8array:function(f){return n(f,new Uint8Array(f.length))},nodebuffer:function(f){return n(f,o.allocBuffer(f.length))}},c.array={string:t,array:i,arraybuffer:function(f){return new Uint8Array(f).buffer},uint8array:function(f){return new Uint8Array(f)},nodebuffer:function(f){return o.newBufferFrom(f)}},c.arraybuffer={string:function(f){return t(new Uint8Array(f))},array:function(f){return a(new Uint8Array(f),new Array(f.byteLength))},arraybuffer:i,uint8array:function(f){return new Uint8Array(f)},nodebuffer:function(f){return o.newBufferFrom(new Uint8Array(f))}},c.uint8array={string:t,array:function(f){return a(f,new Array(f.length))},arraybuffer:function(f){return f.buffer},uint8array:i,nodebuffer:function(f){return o.newBufferFrom(f)}},c.nodebuffer={string:t,array:function(f){return a(f,new Array(f.length))},arraybuffer:function(f){return c.nodebuffer.uint8array(f).buffer},uint8array:function(f){return a(f,new Uint8Array(f.length))},nodebuffer:i},p.transformTo=function(h,f){if(f=f||"",!h)return f;p.checkSupport(h);var g=p.getTypeOf(f);return c[g][h](f)},p.getTypeOf=function(h){return typeof h=="string"?"string":Object.prototype.toString.call(h)==="[object Array]"?"array":s.nodebuffer&&o.isBuffer(h)?"nodebuffer":s.uint8array&&h instanceof Uint8Array?"uint8array":s.arraybuffer&&h instanceof ArrayBuffer?"arraybuffer":void 0},p.checkSupport=function(h){if(!s[h.toLowerCase()])throw new Error(h+" is not supported by this platform")},p.MAX_VALUE_16BITS=65535,p.MAX_VALUE_32BITS=-1,p.pretty=function(h){var f,g,S="";for(g=0;g<(h||"").length;g++)S+="\\x"+((f=h.charCodeAt(g))<16?"0":"")+f.toString(16).toUpperCase();return S},p.delay=function(h,f,g){e(function(){h.apply(g||null,f||[])})},p.inherits=function(h,f){function g(){}g.prototype=f.prototype,h.prototype=new g},p.extend=function(){var h,f,g={};for(h=0;h<arguments.length;h++)for(f in arguments[h])arguments[h].hasOwnProperty(f)&&g[f]===void 0&&(g[f]=arguments[h][f]);return g},p.prepareContent=function(h,f,g,S,y){return r.Promise.resolve(f).then(function(E){return s.blob&&(E instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(E))!==-1)&&typeof FileReader!="undefined"?new r.Promise(function(C,T){var x=new FileReader;x.onload=function(_){C(_.target.result)},x.onerror=function(_){T(_.target.error)},x.readAsArrayBuffer(E)}):E}).then(function(E){var C=p.getTypeOf(E);return C?(C==="arraybuffer"?E=p.transformTo("uint8array",E):C==="string"&&(y?E=u.decode(E):g&&S!==!0&&(E=function(T){return n(T,s.uint8array?new Uint8Array(T.length):new Array(T.length))}(E))),E):r.Promise.reject(new Error("Can't read the data of '"+h+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(m,v,p){"use strict";var s=m("./reader/readerFor"),u=m("./utils"),o=m("./signature"),e=m("./zipEntry"),r=(m("./utf8"),m("./support"));function i(n){this.files=[],this.loadOptions=n}i.prototype={checkSignature:function(l){if(!this.reader.readAndCheckSignature(l)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+u.pretty(t)+", expected "+u.pretty(l)+")")}},isSignature:function(l,t){var a=this.reader.index;this.reader.setIndex(l);var c=this.reader.readString(4)===t;return this.reader.setIndex(a),c},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var l=this.reader.readData(this.zipCommentLength),t=r.uint8array?"uint8array":"array",a=u.transformTo(t,l);this.zipComment=this.loadOptions.decodeFileName(a)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var l,t,a,c=this.zip64EndOfCentralSize-44;0<c;)l=this.reader.readInt(2),t=this.reader.readInt(4),a=this.reader.readData(t),this.zip64ExtensibleData[l]={id:l,length:t,value:a}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var l,t;for(l=0;l<this.files.length;l++)t=this.files[l],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var l;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(l=new e({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(l);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var l=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(l<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(l);var t=l;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===u.MAX_VALUE_16BITS||this.diskWithCentralDirStart===u.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===u.MAX_VALUE_16BITS||this.centralDirRecords===u.MAX_VALUE_16BITS||this.centralDirSize===u.MAX_VALUE_32BITS||this.centralDirOffset===u.MAX_VALUE_32BITS){if(this.zip64=!0,(l=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(l),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var a=this.centralDirOffset+this.centralDirSize;this.zip64&&(a+=20,a+=12+this.zip64EndOfCentralSize);var c=t-a;if(0<c)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=c);else if(c<0)throw new Error("Corrupted zip: missing "+Math.abs(c)+" bytes.")},prepareReader:function(l){this.reader=s(l)},load:function(l){this.prepareReader(l),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},v.exports=i},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(m,v,p){"use strict";var s=m("./reader/readerFor"),u=m("./utils"),o=m("./compressedObject"),e=m("./crc32"),r=m("./utf8"),i=m("./compressions"),n=m("./support");function l(t,a){this.options=t,this.loadOptions=a}l.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(a){var c,h;if(a.skip(22),this.fileNameLength=a.readInt(2),h=a.readInt(2),this.fileName=a.readData(this.fileNameLength),a.skip(h),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((c=function(f){for(var g in i)if(i.hasOwnProperty(g)&&i[g].magic===f)return i[g];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+u.pretty(this.compressionMethod)+" unknown (inner file : "+u.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,c,a.readData(this.compressedSize))},readCentralPart:function(a){this.versionMadeBy=a.readInt(2),a.skip(2),this.bitFlag=a.readInt(2),this.compressionMethod=a.readString(2),this.date=a.readDate(),this.crc32=a.readInt(4),this.compressedSize=a.readInt(4),this.uncompressedSize=a.readInt(4);var c=a.readInt(2);if(this.extraFieldsLength=a.readInt(2),this.fileCommentLength=a.readInt(2),this.diskNumberStart=a.readInt(2),this.internalFileAttributes=a.readInt(2),this.externalFileAttributes=a.readInt(4),this.localHeaderOffset=a.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");a.skip(c),this.readExtraFields(a),this.parseZIP64ExtraField(a),this.fileComment=a.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var a=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),a==0&&(this.dosPermissions=63&this.externalFileAttributes),a==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(a){if(this.extraFields[1]){var c=s(this.extraFields[1].value);this.uncompressedSize===u.MAX_VALUE_32BITS&&(this.uncompressedSize=c.readInt(8)),this.compressedSize===u.MAX_VALUE_32BITS&&(this.compressedSize=c.readInt(8)),this.localHeaderOffset===u.MAX_VALUE_32BITS&&(this.localHeaderOffset=c.readInt(8)),this.diskNumberStart===u.MAX_VALUE_32BITS&&(this.diskNumberStart=c.readInt(4))}},readExtraFields:function(a){var c,h,f,g=a.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});a.index+4<g;)c=a.readInt(2),h=a.readInt(2),f=a.readData(h),this.extraFields[c]={id:c,length:h,value:f};a.setIndex(g)},handleUTF8:function(){var a=n.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=r.utf8decode(this.fileName),this.fileCommentStr=r.utf8decode(this.fileComment);else{var c=this.findExtraFieldUnicodePath();if(c!==null)this.fileNameStr=c;else{var h=u.transformTo(a,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(h)}var f=this.findExtraFieldUnicodeComment();if(f!==null)this.fileCommentStr=f;else{var g=u.transformTo(a,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(g)}}},findExtraFieldUnicodePath:function(){var a=this.extraFields[28789];if(a){var c=s(a.value);return c.readInt(1)!==1||e(this.fileName)!==c.readInt(4)?null:r.utf8decode(c.readData(a.length-5))}return null},findExtraFieldUnicodeComment:function(){var a=this.extraFields[25461];if(a){var c=s(a.value);return c.readInt(1)!==1||e(this.fileComment)!==c.readInt(4)?null:r.utf8decode(c.readData(a.length-5))}return null}},v.exports=l},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(m,v,p){"use strict";function s(a,c,h){this.name=a,this.dir=h.dir,this.date=h.date,this.comment=h.comment,this.unixPermissions=h.unixPermissions,this.dosPermissions=h.dosPermissions,this._data=c,this._dataBinary=h.binary,this.options={compression:h.compression,compressionOptions:h.compressionOptions}}var u=m("./stream/StreamHelper"),o=m("./stream/DataWorker"),e=m("./utf8"),r=m("./compressedObject"),i=m("./stream/GenericWorker");s.prototype={internalStream:function(c){var h=null,f="string";try{if(!c)throw new Error("No output type specified.");var g=(f=c.toLowerCase())==="string"||f==="text";f!=="binarystring"&&f!=="text"||(f="string"),h=this._decompressWorker();var S=!this._dataBinary;S&&!g&&(h=h.pipe(new e.Utf8EncodeWorker)),!S&&g&&(h=h.pipe(new e.Utf8DecodeWorker))}catch(y){(h=new i("error")).error(y)}return new u(h,f,"")},async:function(c,h){return this.internalStream(c).accumulate(h)},nodeStream:function(c,h){return this.internalStream(c||"nodebuffer").toNodejsStream(h)},_compressWorker:function(c,h){if(this._data instanceof r&&this._data.compression.magic===c.magic)return this._data.getCompressedWorker();var f=this._decompressWorker();return this._dataBinary||(f=f.pipe(new e.Utf8EncodeWorker)),r.createWorkerFrom(f,c,h)},_decompressWorker:function(){return this._data instanceof r?this._data.getContentWorker():this._data instanceof i?this._data:new o(this._data)}};for(var n=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],l=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},t=0;t<n.length;t++)s.prototype[n[t]]=l;v.exports=s},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(m,v,p){(function(s){"use strict";var u,o,e=s.MutationObserver||s.WebKitMutationObserver;if(e){var r=0,i=new e(a),n=s.document.createTextNode("");i.observe(n,{characterData:!0}),u=function(){n.data=r=++r%2}}else if(s.setImmediate||s.MessageChannel===void 0)u="document"in s&&"onreadystatechange"in s.document.createElement("script")?function(){var c=s.document.createElement("script");c.onreadystatechange=function(){a(),c.onreadystatechange=null,c.parentNode.removeChild(c),c=null},s.document.documentElement.appendChild(c)}:function(){setTimeout(a,0)};else{var l=new s.MessageChannel;l.port1.onmessage=a,u=function(){l.port2.postMessage(0)}}var t=[];function a(){var c,h;o=!0;for(var f=t.length;f;){for(h=t,t=[],c=-1;++c<f;)h[c]();f=t.length}o=!1}v.exports=function(c){t.push(c)!==1||o||u()}}).call(this,typeof A!="undefined"?A:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(m,v,p){"use strict";var s=m("immediate");function u(){}var o={},e=["REJECTED"],r=["FULFILLED"],i=["PENDING"];function n(f){if(typeof f!="function")throw new TypeError("resolver must be a function");this.state=i,this.queue=[],this.outcome=void 0,f!==u&&c(this,f)}function l(f,g,S){this.promise=f,typeof g=="function"&&(this.onFulfilled=g,this.callFulfilled=this.otherCallFulfilled),typeof S=="function"&&(this.onRejected=S,this.callRejected=this.otherCallRejected)}function t(f,g,S){s(function(){var y;try{y=g(S)}catch(E){return o.reject(f,E)}y===f?o.reject(f,new TypeError("Cannot resolve promise with itself")):o.resolve(f,y)})}function a(f){var g=f&&f.then;if(f&&(typeof f=="object"||typeof f=="function")&&typeof g=="function")return function(){g.apply(f,arguments)}}function c(f,g){var S=!1;function y(T){S||(S=!0,o.reject(f,T))}function E(T){S||(S=!0,o.resolve(f,T))}var C=h(function(){g(E,y)});C.status==="error"&&y(C.value)}function h(f,g){var S={};try{S.value=f(g),S.status="success"}catch(y){S.status="error",S.value=y}return S}(v.exports=n).prototype.finally=function(f){if(typeof f!="function")return this;var g=this.constructor;return this.then(function(S){return g.resolve(f()).then(function(){return S})},function(S){return g.resolve(f()).then(function(){throw S})})},n.prototype.catch=function(f){return this.then(null,f)},n.prototype.then=function(f,g){if(typeof f!="function"&&this.state===r||typeof g!="function"&&this.state===e)return this;var S=new this.constructor(u);return this.state!==i?t(S,this.state===r?f:g,this.outcome):this.queue.push(new l(S,f,g)),S},l.prototype.callFulfilled=function(f){o.resolve(this.promise,f)},l.prototype.otherCallFulfilled=function(f){t(this.promise,this.onFulfilled,f)},l.prototype.callRejected=function(f){o.reject(this.promise,f)},l.prototype.otherCallRejected=function(f){t(this.promise,this.onRejected,f)},o.resolve=function(f,g){var S=h(a,g);if(S.status==="error")return o.reject(f,S.value);var y=S.value;if(y)c(f,y);else{f.state=r,f.outcome=g;for(var E=-1,C=f.queue.length;++E<C;)f.queue[E].callFulfilled(g)}return f},o.reject=function(f,g){f.state=e,f.outcome=g;for(var S=-1,y=f.queue.length;++S<y;)f.queue[S].callRejected(g);return f},n.resolve=function(f){return f instanceof this?f:o.resolve(new this(u),f)},n.reject=function(f){var g=new this(u);return o.reject(g,f)},n.all=function(f){var g=this;if(Object.prototype.toString.call(f)!=="[object Array]")return this.reject(new TypeError("must be an array"));var S=f.length,y=!1;if(!S)return this.resolve([]);for(var E=new Array(S),C=0,T=-1,x=new this(u);++T<S;)_(f[T],T);return x;function _(I,L){g.resolve(I).then(function(D){E[L]=D,++C!==S||y||(y=!0,o.resolve(x,E))},function(D){y||(y=!0,o.reject(x,D))})}},n.race=function(f){var g=this;if(Object.prototype.toString.call(f)!=="[object Array]")return this.reject(new TypeError("must be an array"));var S=f.length,y=!1;if(!S)return this.resolve([]);for(var E=-1,C=new this(u);++E<S;)T=f[E],g.resolve(T).then(function(x){y||(y=!0,o.resolve(C,x))},function(x){y||(y=!0,o.reject(C,x))});var T;return C}},{immediate:36}],38:[function(m,v,p){"use strict";var s={};(0,m("./lib/utils/common").assign)(s,m("./lib/deflate"),m("./lib/inflate"),m("./lib/zlib/constants")),v.exports=s},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(m,v,p){"use strict";var s=m("./zlib/deflate"),u=m("./utils/common"),o=m("./utils/strings"),e=m("./zlib/messages"),r=m("./zlib/zstream"),i=Object.prototype.toString,n=0,l=-1,t=0,a=8;function c(f){if(!(this instanceof c))return new c(f);this.options=u.assign({level:l,method:a,chunkSize:16384,windowBits:15,memLevel:8,strategy:t,to:""},f||{});var g=this.options;g.raw&&0<g.windowBits?g.windowBits=-g.windowBits:g.gzip&&0<g.windowBits&&g.windowBits<16&&(g.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new r,this.strm.avail_out=0;var S=s.deflateInit2(this.strm,g.level,g.method,g.windowBits,g.memLevel,g.strategy);if(S!==n)throw new Error(e[S]);if(g.header&&s.deflateSetHeader(this.strm,g.header),g.dictionary){var y;if(y=typeof g.dictionary=="string"?o.string2buf(g.dictionary):i.call(g.dictionary)==="[object ArrayBuffer]"?new Uint8Array(g.dictionary):g.dictionary,(S=s.deflateSetDictionary(this.strm,y))!==n)throw new Error(e[S]);this._dict_set=!0}}function h(f,g){var S=new c(g);if(S.push(f,!0),S.err)throw S.msg||e[S.err];return S.result}c.prototype.push=function(f,g){var S,y,E=this.strm,C=this.options.chunkSize;if(this.ended)return!1;y=g===~~g?g:g===!0?4:0,typeof f=="string"?E.input=o.string2buf(f):i.call(f)==="[object ArrayBuffer]"?E.input=new Uint8Array(f):E.input=f,E.next_in=0,E.avail_in=E.input.length;do{if(E.avail_out===0&&(E.output=new u.Buf8(C),E.next_out=0,E.avail_out=C),(S=s.deflate(E,y))!==1&&S!==n)return this.onEnd(S),!(this.ended=!0);E.avail_out!==0&&(E.avail_in!==0||y!==4&&y!==2)||(this.options.to==="string"?this.onData(o.buf2binstring(u.shrinkBuf(E.output,E.next_out))):this.onData(u.shrinkBuf(E.output,E.next_out)))}while((0<E.avail_in||E.avail_out===0)&&S!==1);return y===4?(S=s.deflateEnd(this.strm),this.onEnd(S),this.ended=!0,S===n):y!==2||(this.onEnd(n),!(E.avail_out=0))},c.prototype.onData=function(f){this.chunks.push(f)},c.prototype.onEnd=function(f){f===n&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=f,this.msg=this.strm.msg},p.Deflate=c,p.deflate=h,p.deflateRaw=function(f,g){return(g=g||{}).raw=!0,h(f,g)},p.gzip=function(f,g){return(g=g||{}).gzip=!0,h(f,g)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(m,v,p){"use strict";var s=m("./zlib/inflate"),u=m("./utils/common"),o=m("./utils/strings"),e=m("./zlib/constants"),r=m("./zlib/messages"),i=m("./zlib/zstream"),n=m("./zlib/gzheader"),l=Object.prototype.toString;function t(c){if(!(this instanceof t))return new t(c);this.options=u.assign({chunkSize:16384,windowBits:0,to:""},c||{});var h=this.options;h.raw&&0<=h.windowBits&&h.windowBits<16&&(h.windowBits=-h.windowBits,h.windowBits===0&&(h.windowBits=-15)),!(0<=h.windowBits&&h.windowBits<16)||c&&c.windowBits||(h.windowBits+=32),15<h.windowBits&&h.windowBits<48&&(15&h.windowBits)==0&&(h.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new i,this.strm.avail_out=0;var f=s.inflateInit2(this.strm,h.windowBits);if(f!==e.Z_OK)throw new Error(r[f]);this.header=new n,s.inflateGetHeader(this.strm,this.header)}function a(c,h){var f=new t(h);if(f.push(c,!0),f.err)throw f.msg||r[f.err];return f.result}t.prototype.push=function(c,h){var f,g,S,y,E,C,T=this.strm,x=this.options.chunkSize,_=this.options.dictionary,I=!1;if(this.ended)return!1;g=h===~~h?h:h===!0?e.Z_FINISH:e.Z_NO_FLUSH,typeof c=="string"?T.input=o.binstring2buf(c):l.call(c)==="[object ArrayBuffer]"?T.input=new Uint8Array(c):T.input=c,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new u.Buf8(x),T.next_out=0,T.avail_out=x),(f=s.inflate(T,e.Z_NO_FLUSH))===e.Z_NEED_DICT&&_&&(C=typeof _=="string"?o.string2buf(_):l.call(_)==="[object ArrayBuffer]"?new Uint8Array(_):_,f=s.inflateSetDictionary(this.strm,C)),f===e.Z_BUF_ERROR&&I===!0&&(f=e.Z_OK,I=!1),f!==e.Z_STREAM_END&&f!==e.Z_OK)return this.onEnd(f),!(this.ended=!0);T.next_out&&(T.avail_out!==0&&f!==e.Z_STREAM_END&&(T.avail_in!==0||g!==e.Z_FINISH&&g!==e.Z_SYNC_FLUSH)||(this.options.to==="string"?(S=o.utf8border(T.output,T.next_out),y=T.next_out-S,E=o.buf2string(T.output,S),T.next_out=y,T.avail_out=x-y,y&&u.arraySet(T.output,T.output,S,y,0),this.onData(E)):this.onData(u.shrinkBuf(T.output,T.next_out)))),T.avail_in===0&&T.avail_out===0&&(I=!0)}while((0<T.avail_in||T.avail_out===0)&&f!==e.Z_STREAM_END);return f===e.Z_STREAM_END&&(g=e.Z_FINISH),g===e.Z_FINISH?(f=s.inflateEnd(this.strm),this.onEnd(f),this.ended=!0,f===e.Z_OK):g!==e.Z_SYNC_FLUSH||(this.onEnd(e.Z_OK),!(T.avail_out=0))},t.prototype.onData=function(c){this.chunks.push(c)},t.prototype.onEnd=function(c){c===e.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=c,this.msg=this.strm.msg},p.Inflate=t,p.inflate=a,p.inflateRaw=function(c,h){return(h=h||{}).raw=!0,a(c,h)},p.ungzip=a},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(m,v,p){"use strict";var s=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";p.assign=function(e){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var i=r.shift();if(i){if(typeof i!="object")throw new TypeError(i+"must be non-object");for(var n in i)i.hasOwnProperty(n)&&(e[n]=i[n])}}return e},p.shrinkBuf=function(e,r){return e.length===r?e:e.subarray?e.subarray(0,r):(e.length=r,e)};var u={arraySet:function(r,i,n,l,t){if(i.subarray&&r.subarray)r.set(i.subarray(n,n+l),t);else for(var a=0;a<l;a++)r[t+a]=i[n+a]},flattenChunks:function(r){var i,n,l,t,a,c;for(i=l=0,n=r.length;i<n;i++)l+=r[i].length;for(c=new Uint8Array(l),i=t=0,n=r.length;i<n;i++)a=r[i],c.set(a,t),t+=a.length;return c}},o={arraySet:function(r,i,n,l,t){for(var a=0;a<l;a++)r[t+a]=i[n+a]},flattenChunks:function(r){return[].concat.apply([],r)}};p.setTyped=function(e){e?(p.Buf8=Uint8Array,p.Buf16=Uint16Array,p.Buf32=Int32Array,p.assign(p,u)):(p.Buf8=Array,p.Buf16=Array,p.Buf32=Array,p.assign(p,o))},p.setTyped(s)},{}],42:[function(m,v,p){"use strict";var s=m("./common"),u=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(n){u=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(n){o=!1}for(var e=new s.Buf8(256),r=0;r<256;r++)e[r]=252<=r?6:248<=r?5:240<=r?4:224<=r?3:192<=r?2:1;function i(n,l){if(l<65537&&(n.subarray&&o||!n.subarray&&u))return String.fromCharCode.apply(null,s.shrinkBuf(n,l));for(var t="",a=0;a<l;a++)t+=String.fromCharCode(n[a]);return t}e[254]=e[254]=1,p.string2buf=function(n){var l,t,a,c,h,f=n.length,g=0;for(c=0;c<f;c++)(64512&(t=n.charCodeAt(c)))==55296&&c+1<f&&(64512&(a=n.charCodeAt(c+1)))==56320&&(t=65536+(t-55296<<10)+(a-56320),c++),g+=t<128?1:t<2048?2:t<65536?3:4;for(l=new s.Buf8(g),c=h=0;h<g;c++)(64512&(t=n.charCodeAt(c)))==55296&&c+1<f&&(64512&(a=n.charCodeAt(c+1)))==56320&&(t=65536+(t-55296<<10)+(a-56320),c++),t<128?l[h++]=t:(t<2048?l[h++]=192|t>>>6:(t<65536?l[h++]=224|t>>>12:(l[h++]=240|t>>>18,l[h++]=128|t>>>12&63),l[h++]=128|t>>>6&63),l[h++]=128|63&t);return l},p.buf2binstring=function(n){return i(n,n.length)},p.binstring2buf=function(n){for(var l=new s.Buf8(n.length),t=0,a=l.length;t<a;t++)l[t]=n.charCodeAt(t);return l},p.buf2string=function(n,l){var t,a,c,h,f=l||n.length,g=new Array(2*f);for(t=a=0;t<f;)if((c=n[t++])<128)g[a++]=c;else if(4<(h=e[c]))g[a++]=65533,t+=h-1;else{for(c&=h===2?31:h===3?15:7;1<h&&t<f;)c=c<<6|63&n[t++],h--;1<h?g[a++]=65533:c<65536?g[a++]=c:(c-=65536,g[a++]=55296|c>>10&1023,g[a++]=56320|1023&c)}return i(g,a)},p.utf8border=function(n,l){var t;for((l=l||n.length)>n.length&&(l=n.length),t=l-1;0<=t&&(192&n[t])==128;)t--;return t<0||t===0?l:t+e[n[t]]>l?t:l}},{"./common":41}],43:[function(m,v,p){"use strict";v.exports=function(s,u,o,e){for(var r=65535&s|0,i=s>>>16&65535|0,n=0;o!==0;){for(o-=n=2e3<o?2e3:o;i=i+(r=r+u[e++]|0)|0,--n;);r%=65521,i%=65521}return r|i<<16|0}},{}],44:[function(m,v,p){"use strict";v.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(m,v,p){"use strict";var s=function(){for(var u,o=[],e=0;e<256;e++){u=e;for(var r=0;r<8;r++)u=1&u?3988292384^u>>>1:u>>>1;o[e]=u}return o}();v.exports=function(u,o,e,r){var i=s,n=r+e;u^=-1;for(var l=r;l<n;l++)u=u>>>8^i[255&(u^o[l])];return-1^u}},{}],46:[function(m,v,p){"use strict";var s,u=m("../utils/common"),o=m("./trees"),e=m("./adler32"),r=m("./crc32"),i=m("./messages"),n=0,l=4,t=0,a=-2,c=-1,h=4,f=2,g=8,S=9,y=286,E=30,C=19,T=2*y+1,x=15,_=3,I=258,L=I+_+1,D=42,B=113,N=1,k=2,W=3,R=4;function j(G,pe){return G.msg=i[pe],pe}function H(G){return(G<<1)-(4<G?9:0)}function K(G){for(var pe=G.length;0<=--pe;)G[pe]=0}function U(G){var pe=G.state,We=pe.pending;We>G.avail_out&&(We=G.avail_out),We!==0&&(u.arraySet(G.output,pe.pending_buf,pe.pending_out,We,G.next_out),G.next_out+=We,pe.pending_out+=We,G.total_out+=We,G.avail_out-=We,pe.pending-=We,pe.pending===0&&(pe.pending_out=0))}function Q(G,pe){o._tr_flush_block(G,0<=G.block_start?G.block_start:-1,G.strstart-G.block_start,pe),G.block_start=G.strstart,U(G.strm)}function V(G,pe){G.pending_buf[G.pending++]=pe}function J(G,pe){G.pending_buf[G.pending++]=pe>>>8&255,G.pending_buf[G.pending++]=255&pe}function ae(G,pe){var We,te,X=G.max_chain_length,z=G.strstart,Z=G.prev_length,be=G.nice_match,ne=G.strstart>G.w_size-L?G.strstart-(G.w_size-L):0,Ae=G.window,Ne=G.w_mask,oe=G.prev,de=G.strstart+I,xe=Ae[z+Z-1],Pe=Ae[z+Z];G.prev_length>=G.good_match&&(X>>=2),be>G.lookahead&&(be=G.lookahead);do if(Ae[(We=pe)+Z]===Pe&&Ae[We+Z-1]===xe&&Ae[We]===Ae[z]&&Ae[++We]===Ae[z+1]){z+=2,We++;do;while(Ae[++z]===Ae[++We]&&Ae[++z]===Ae[++We]&&Ae[++z]===Ae[++We]&&Ae[++z]===Ae[++We]&&Ae[++z]===Ae[++We]&&Ae[++z]===Ae[++We]&&Ae[++z]===Ae[++We]&&Ae[++z]===Ae[++We]&&z<de);if(te=I-(de-z),z=de-I,Z<te){if(G.match_start=pe,be<=(Z=te))break;xe=Ae[z+Z-1],Pe=Ae[z+Z]}}while((pe=oe[pe&Ne])>ne&&--X!=0);return Z<=G.lookahead?Z:G.lookahead}function se(G){var pe,We,te,X,z,Z,be,ne,Ae,Ne,oe=G.w_size;do{if(X=G.window_size-G.lookahead-G.strstart,G.strstart>=oe+(oe-L)){for(u.arraySet(G.window,G.window,oe,oe,0),G.match_start-=oe,G.strstart-=oe,G.block_start-=oe,pe=We=G.hash_size;te=G.head[--pe],G.head[pe]=oe<=te?te-oe:0,--We;);for(pe=We=oe;te=G.prev[--pe],G.prev[pe]=oe<=te?te-oe:0,--We;);X+=oe}if(G.strm.avail_in===0)break;if(Z=G.strm,be=G.window,ne=G.strstart+G.lookahead,Ae=X,Ne=void 0,Ne=Z.avail_in,Ae<Ne&&(Ne=Ae),We=Ne===0?0:(Z.avail_in-=Ne,u.arraySet(be,Z.input,Z.next_in,Ne,ne),Z.state.wrap===1?Z.adler=e(Z.adler,be,Ne,ne):Z.state.wrap===2&&(Z.adler=r(Z.adler,be,Ne,ne)),Z.next_in+=Ne,Z.total_in+=Ne,Ne),G.lookahead+=We,G.lookahead+G.insert>=_)for(z=G.strstart-G.insert,G.ins_h=G.window[z],G.ins_h=(G.ins_h<<G.hash_shift^G.window[z+1])&G.hash_mask;G.insert&&(G.ins_h=(G.ins_h<<G.hash_shift^G.window[z+_-1])&G.hash_mask,G.prev[z&G.w_mask]=G.head[G.ins_h],G.head[G.ins_h]=z,z++,G.insert--,!(G.lookahead+G.insert<_)););}while(G.lookahead<L&&G.strm.avail_in!==0)}function $(G,pe){for(var We,te;;){if(G.lookahead<L){if(se(G),G.lookahead<L&&pe===n)return N;if(G.lookahead===0)break}if(We=0,G.lookahead>=_&&(G.ins_h=(G.ins_h<<G.hash_shift^G.window[G.strstart+_-1])&G.hash_mask,We=G.prev[G.strstart&G.w_mask]=G.head[G.ins_h],G.head[G.ins_h]=G.strstart),We!==0&&G.strstart-We<=G.w_size-L&&(G.match_length=ae(G,We)),G.match_length>=_)if(te=o._tr_tally(G,G.strstart-G.match_start,G.match_length-_),G.lookahead-=G.match_length,G.match_length<=G.max_lazy_match&&G.lookahead>=_){for(G.match_length--;G.strstart++,G.ins_h=(G.ins_h<<G.hash_shift^G.window[G.strstart+_-1])&G.hash_mask,We=G.prev[G.strstart&G.w_mask]=G.head[G.ins_h],G.head[G.ins_h]=G.strstart,--G.match_length!=0;);G.strstart++}else G.strstart+=G.match_length,G.match_length=0,G.ins_h=G.window[G.strstart],G.ins_h=(G.ins_h<<G.hash_shift^G.window[G.strstart+1])&G.hash_mask;else te=o._tr_tally(G,0,G.window[G.strstart]),G.lookahead--,G.strstart++;if(te&&(Q(G,!1),G.strm.avail_out===0))return N}return G.insert=G.strstart<_-1?G.strstart:_-1,pe===l?(Q(G,!0),G.strm.avail_out===0?W:R):G.last_lit&&(Q(G,!1),G.strm.avail_out===0)?N:k}function ge(G,pe){for(var We,te,X;;){if(G.lookahead<L){if(se(G),G.lookahead<L&&pe===n)return N;if(G.lookahead===0)break}if(We=0,G.lookahead>=_&&(G.ins_h=(G.ins_h<<G.hash_shift^G.window[G.strstart+_-1])&G.hash_mask,We=G.prev[G.strstart&G.w_mask]=G.head[G.ins_h],G.head[G.ins_h]=G.strstart),G.prev_length=G.match_length,G.prev_match=G.match_start,G.match_length=_-1,We!==0&&G.prev_length<G.max_lazy_match&&G.strstart-We<=G.w_size-L&&(G.match_length=ae(G,We),G.match_length<=5&&(G.strategy===1||G.match_length===_&&4096<G.strstart-G.match_start)&&(G.match_length=_-1)),G.prev_length>=_&&G.match_length<=G.prev_length){for(X=G.strstart+G.lookahead-_,te=o._tr_tally(G,G.strstart-1-G.prev_match,G.prev_length-_),G.lookahead-=G.prev_length-1,G.prev_length-=2;++G.strstart<=X&&(G.ins_h=(G.ins_h<<G.hash_shift^G.window[G.strstart+_-1])&G.hash_mask,We=G.prev[G.strstart&G.w_mask]=G.head[G.ins_h],G.head[G.ins_h]=G.strstart),--G.prev_length!=0;);if(G.match_available=0,G.match_length=_-1,G.strstart++,te&&(Q(G,!1),G.strm.avail_out===0))return N}else if(G.match_available){if((te=o._tr_tally(G,0,G.window[G.strstart-1]))&&Q(G,!1),G.strstart++,G.lookahead--,G.strm.avail_out===0)return N}else G.match_available=1,G.strstart++,G.lookahead--}return G.match_available&&(te=o._tr_tally(G,0,G.window[G.strstart-1]),G.match_available=0),G.insert=G.strstart<_-1?G.strstart:_-1,pe===l?(Q(G,!0),G.strm.avail_out===0?W:R):G.last_lit&&(Q(G,!1),G.strm.avail_out===0)?N:k}function he(G,pe,We,te,X){this.good_length=G,this.max_lazy=pe,this.nice_length=We,this.max_chain=te,this.func=X}function Ie(){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=g,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 u.Buf16(2*T),this.dyn_dtree=new u.Buf16(2*(2*E+1)),this.bl_tree=new u.Buf16(2*(2*C+1)),K(this.dyn_ltree),K(this.dyn_dtree),K(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new u.Buf16(x+1),this.heap=new u.Buf16(2*y+1),K(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new u.Buf16(2*y+1),K(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Se(G){var pe;return G&&G.state?(G.total_in=G.total_out=0,G.data_type=f,(pe=G.state).pending=0,pe.pending_out=0,pe.wrap<0&&(pe.wrap=-pe.wrap),pe.status=pe.wrap?D:B,G.adler=pe.wrap===2?0:1,pe.last_flush=n,o._tr_init(pe),t):j(G,a)}function Le(G){var pe=Se(G);return pe===t&&function(We){We.window_size=2*We.w_size,K(We.head),We.max_lazy_match=s[We.level].max_lazy,We.good_match=s[We.level].good_length,We.nice_match=s[We.level].nice_length,We.max_chain_length=s[We.level].max_chain,We.strstart=0,We.block_start=0,We.lookahead=0,We.insert=0,We.match_length=We.prev_length=_-1,We.match_available=0,We.ins_h=0}(G.state),pe}function He(G,pe,We,te,X,z){if(!G)return a;var Z=1;if(pe===c&&(pe=6),te<0?(Z=0,te=-te):15<te&&(Z=2,te-=16),X<1||S<X||We!==g||te<8||15<te||pe<0||9<pe||z<0||h<z)return j(G,a);te===8&&(te=9);var be=new Ie;return(G.state=be).strm=G,be.wrap=Z,be.gzhead=null,be.w_bits=te,be.w_size=1<<be.w_bits,be.w_mask=be.w_size-1,be.hash_bits=X+7,be.hash_size=1<<be.hash_bits,be.hash_mask=be.hash_size-1,be.hash_shift=~~((be.hash_bits+_-1)/_),be.window=new u.Buf8(2*be.w_size),be.head=new u.Buf16(be.hash_size),be.prev=new u.Buf16(be.w_size),be.lit_bufsize=1<<X+6,be.pending_buf_size=4*be.lit_bufsize,be.pending_buf=new u.Buf8(be.pending_buf_size),be.d_buf=1*be.lit_bufsize,be.l_buf=3*be.lit_bufsize,be.level=pe,be.strategy=z,be.method=We,Le(G)}s=[new he(0,0,0,0,function(G,pe){var We=65535;for(We>G.pending_buf_size-5&&(We=G.pending_buf_size-5);;){if(G.lookahead<=1){if(se(G),G.lookahead===0&&pe===n)return N;if(G.lookahead===0)break}G.strstart+=G.lookahead,G.lookahead=0;var te=G.block_start+We;if((G.strstart===0||G.strstart>=te)&&(G.lookahead=G.strstart-te,G.strstart=te,Q(G,!1),G.strm.avail_out===0))return N;if(G.strstart-G.block_start>=G.w_size-L&&(Q(G,!1),G.strm.avail_out===0))return N}return G.insert=0,pe===l?(Q(G,!0),G.strm.avail_out===0?W:R):(G.strstart>G.block_start&&(Q(G,!1),G.strm.avail_out),N)}),new he(4,4,8,4,$),new he(4,5,16,8,$),new he(4,6,32,32,$),new he(4,4,16,16,ge),new he(8,16,32,32,ge),new he(8,16,128,128,ge),new he(8,32,128,256,ge),new he(32,128,258,1024,ge),new he(32,258,258,4096,ge)],p.deflateInit=function(G,pe){return He(G,pe,g,15,8,0)},p.deflateInit2=He,p.deflateReset=Le,p.deflateResetKeep=Se,p.deflateSetHeader=function(G,pe){return G&&G.state?G.state.wrap!==2?a:(G.state.gzhead=pe,t):a},p.deflate=function(G,pe){var We,te,X,z;if(!G||!G.state||5<pe||pe<0)return G?j(G,a):a;if(te=G.state,!G.output||!G.input&&G.avail_in!==0||te.status===666&&pe!==l)return j(G,G.avail_out===0?-5:a);if(te.strm=G,We=te.last_flush,te.last_flush=pe,te.status===D)if(te.wrap===2)G.adler=0,V(te,31),V(te,139),V(te,8),te.gzhead?(V(te,(te.gzhead.text?1:0)+(te.gzhead.hcrc?2:0)+(te.gzhead.extra?4:0)+(te.gzhead.name?8:0)+(te.gzhead.comment?16:0)),V(te,255&te.gzhead.time),V(te,te.gzhead.time>>8&255),V(te,te.gzhead.time>>16&255),V(te,te.gzhead.time>>24&255),V(te,te.level===9?2:2<=te.strategy||te.level<2?4:0),V(te,255&te.gzhead.os),te.gzhead.extra&&te.gzhead.extra.length&&(V(te,255&te.gzhead.extra.length),V(te,te.gzhead.extra.length>>8&255)),te.gzhead.hcrc&&(G.adler=r(G.adler,te.pending_buf,te.pending,0)),te.gzindex=0,te.status=69):(V(te,0),V(te,0),V(te,0),V(te,0),V(te,0),V(te,te.level===9?2:2<=te.strategy||te.level<2?4:0),V(te,3),te.status=B);else{var Z=g+(te.w_bits-8<<4)<<8;Z|=(2<=te.strategy||te.level<2?0:te.level<6?1:te.level===6?2:3)<<6,te.strstart!==0&&(Z|=32),Z+=31-Z%31,te.status=B,J(te,Z),te.strstart!==0&&(J(te,G.adler>>>16),J(te,65535&G.adler)),G.adler=1}if(te.status===69)if(te.gzhead.extra){for(X=te.pending;te.gzindex<(65535&te.gzhead.extra.length)&&(te.pending!==te.pending_buf_size||(te.gzhead.hcrc&&te.pending>X&&(G.adler=r(G.adler,te.pending_buf,te.pending-X,X)),U(G),X=te.pending,te.pending!==te.pending_buf_size));)V(te,255&te.gzhead.extra[te.gzindex]),te.gzindex++;te.gzhead.hcrc&&te.pending>X&&(G.adler=r(G.adler,te.pending_buf,te.pending-X,X)),te.gzindex===te.gzhead.extra.length&&(te.gzindex=0,te.status=73)}else te.status=73;if(te.status===73)if(te.gzhead.name){X=te.pending;do{if(te.pending===te.pending_buf_size&&(te.gzhead.hcrc&&te.pending>X&&(G.adler=r(G.adler,te.pending_buf,te.pending-X,X)),U(G),X=te.pending,te.pending===te.pending_buf_size)){z=1;break}z=te.gzindex<te.gzhead.name.length?255&te.gzhead.name.charCodeAt(te.gzindex++):0,V(te,z)}while(z!==0);te.gzhead.hcrc&&te.pending>X&&(G.adler=r(G.adler,te.pending_buf,te.pending-X,X)),z===0&&(te.gzindex=0,te.status=91)}else te.status=91;if(te.status===91)if(te.gzhead.comment){X=te.pending;do{if(te.pending===te.pending_buf_size&&(te.gzhead.hcrc&&te.pending>X&&(G.adler=r(G.adler,te.pending_buf,te.pending-X,X)),U(G),X=te.pending,te.pending===te.pending_buf_size)){z=1;break}z=te.gzindex<te.gzhead.comment.length?255&te.gzhead.comment.charCodeAt(te.gzindex++):0,V(te,z)}while(z!==0);te.gzhead.hcrc&&te.pending>X&&(G.adler=r(G.adler,te.pending_buf,te.pending-X,X)),z===0&&(te.status=103)}else te.status=103;if(te.status===103&&(te.gzhead.hcrc?(te.pending+2>te.pending_buf_size&&U(G),te.pending+2<=te.pending_buf_size&&(V(te,255&G.adler),V(te,G.adler>>8&255),G.adler=0,te.status=B)):te.status=B),te.pending!==0){if(U(G),G.avail_out===0)return te.last_flush=-1,t}else if(G.avail_in===0&&H(pe)<=H(We)&&pe!==l)return j(G,-5);if(te.status===666&&G.avail_in!==0)return j(G,-5);if(G.avail_in!==0||te.lookahead!==0||pe!==n&&te.status!==666){var be=te.strategy===2?function(ne,Ae){for(var Ne;;){if(ne.lookahead===0&&(se(ne),ne.lookahead===0)){if(Ae===n)return N;break}if(ne.match_length=0,Ne=o._tr_tally(ne,0,ne.window[ne.strstart]),ne.lookahead--,ne.strstart++,Ne&&(Q(ne,!1),ne.strm.avail_out===0))return N}return ne.insert=0,Ae===l?(Q(ne,!0),ne.strm.avail_out===0?W:R):ne.last_lit&&(Q(ne,!1),ne.strm.avail_out===0)?N:k}(te,pe):te.strategy===3?function(ne,Ae){for(var Ne,oe,de,xe,Pe=ne.window;;){if(ne.lookahead<=I){if(se(ne),ne.lookahead<=I&&Ae===n)return N;if(ne.lookahead===0)break}if(ne.match_length=0,ne.lookahead>=_&&0<ne.strstart&&(oe=Pe[de=ne.strstart-1])===Pe[++de]&&oe===Pe[++de]&&oe===Pe[++de]){xe=ne.strstart+I;do;while(oe===Pe[++de]&&oe===Pe[++de]&&oe===Pe[++de]&&oe===Pe[++de]&&oe===Pe[++de]&&oe===Pe[++de]&&oe===Pe[++de]&&oe===Pe[++de]&&de<xe);ne.match_length=I-(xe-de),ne.match_length>ne.lookahead&&(ne.match_length=ne.lookahead)}if(ne.match_length>=_?(Ne=o._tr_tally(ne,1,ne.match_length-_),ne.lookahead-=ne.match_length,ne.strstart+=ne.match_length,ne.match_length=0):(Ne=o._tr_tally(ne,0,ne.window[ne.strstart]),ne.lookahead--,ne.strstart++),Ne&&(Q(ne,!1),ne.strm.avail_out===0))return N}return ne.insert=0,Ae===l?(Q(ne,!0),ne.strm.avail_out===0?W:R):ne.last_lit&&(Q(ne,!1),ne.strm.avail_out===0)?N:k}(te,pe):s[te.level].func(te,pe);if(be!==W&&be!==R||(te.status=666),be===N||be===W)return G.avail_out===0&&(te.last_flush=-1),t;if(be===k&&(pe===1?o._tr_align(te):pe!==5&&(o._tr_stored_block(te,0,0,!1),pe===3&&(K(te.head),te.lookahead===0&&(te.strstart=0,te.block_start=0,te.insert=0))),U(G),G.avail_out===0))return te.last_flush=-1,t}return pe!==l?t:te.wrap<=0?1:(te.wrap===2?(V(te,255&G.adler),V(te,G.adler>>8&255),V(te,G.adler>>16&255),V(te,G.adler>>24&255),V(te,255&G.total_in),V(te,G.total_in>>8&255),V(te,G.total_in>>16&255),V(te,G.total_in>>24&255)):(J(te,G.adler>>>16),J(te,65535&G.adler)),U(G),0<te.wrap&&(te.wrap=-te.wrap),te.pending!==0?t:1)},p.deflateEnd=function(G){var pe;return G&&G.state?(pe=G.state.status)!==D&&pe!==69&&pe!==73&&pe!==91&&pe!==103&&pe!==B&&pe!==666?j(G,a):(G.state=null,pe===B?j(G,-3):t):a},p.deflateSetDictionary=function(G,pe){var We,te,X,z,Z,be,ne,Ae,Ne=pe.length;if(!G||!G.state)return a;if((z=(We=G.state).wrap)===2||z===1&&We.status!==D||We.lookahead)return a;for(z===1&&(G.adler=e(G.adler,pe,Ne,0)),We.wrap=0,Ne>=We.w_size&&(z===0&&(K(We.head),We.strstart=0,We.block_start=0,We.insert=0),Ae=new u.Buf8(We.w_size),u.arraySet(Ae,pe,Ne-We.w_size,We.w_size,0),pe=Ae,Ne=We.w_size),Z=G.avail_in,be=G.next_in,ne=G.input,G.avail_in=Ne,G.next_in=0,G.input=pe,se(We);We.lookahead>=_;){for(te=We.strstart,X=We.lookahead-(_-1);We.ins_h=(We.ins_h<<We.hash_shift^We.window[te+_-1])&We.hash_mask,We.prev[te&We.w_mask]=We.head[We.ins_h],We.head[We.ins_h]=te,te++,--X;);We.strstart=te,We.lookahead=_-1,se(We)}return We.strstart+=We.lookahead,We.block_start=We.strstart,We.insert=We.lookahead,We.lookahead=0,We.match_length=We.prev_length=_-1,We.match_available=0,G.next_in=be,G.input=ne,G.avail_in=Z,We.wrap=z,t},p.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(m,v,p){"use strict";v.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(m,v,p){"use strict";v.exports=function(s,u){var o,e,r,i,n,l,t,a,c,h,f,g,S,y,E,C,T,x,_,I,L,D,B,N,k;o=s.state,e=s.next_in,N=s.input,r=e+(s.avail_in-5),i=s.next_out,k=s.output,n=i-(u-s.avail_out),l=i+(s.avail_out-257),t=o.dmax,a=o.wsize,c=o.whave,h=o.wnext,f=o.window,g=o.hold,S=o.bits,y=o.lencode,E=o.distcode,C=(1<<o.lenbits)-1,T=(1<<o.distbits)-1;e:do{S<15&&(g+=N[e++]<<S,S+=8,g+=N[e++]<<S,S+=8),x=y[g&C];t:for(;;){if(g>>>=_=x>>>24,S-=_,(_=x>>>16&255)===0)k[i++]=65535&x;else{if(!(16&_)){if((64&_)==0){x=y[(65535&x)+(g&(1<<_)-1)];continue t}if(32&_){o.mode=12;break e}s.msg="invalid literal/length code",o.mode=30;break e}I=65535&x,(_&=15)&&(S<_&&(g+=N[e++]<<S,S+=8),I+=g&(1<<_)-1,g>>>=_,S-=_),S<15&&(g+=N[e++]<<S,S+=8,g+=N[e++]<<S,S+=8),x=E[g&T];r:for(;;){if(g>>>=_=x>>>24,S-=_,!(16&(_=x>>>16&255))){if((64&_)==0){x=E[(65535&x)+(g&(1<<_)-1)];continue r}s.msg="invalid distance code",o.mode=30;break e}if(L=65535&x,S<(_&=15)&&(g+=N[e++]<<S,(S+=8)<_&&(g+=N[e++]<<S,S+=8)),t<(L+=g&(1<<_)-1)){s.msg="invalid distance too far back",o.mode=30;break e}if(g>>>=_,S-=_,(_=i-n)<L){if(c<(_=L-_)&&o.sane){s.msg="invalid distance too far back",o.mode=30;break e}if(B=f,(D=0)===h){if(D+=a-_,_<I){for(I-=_;k[i++]=f[D++],--_;);D=i-L,B=k}}else if(h<_){if(D+=a+h-_,(_-=h)<I){for(I-=_;k[i++]=f[D++],--_;);if(D=0,h<I){for(I-=_=h;k[i++]=f[D++],--_;);D=i-L,B=k}}}else if(D+=h-_,_<I){for(I-=_;k[i++]=f[D++],--_;);D=i-L,B=k}for(;2<I;)k[i++]=B[D++],k[i++]=B[D++],k[i++]=B[D++],I-=3;I&&(k[i++]=B[D++],1<I&&(k[i++]=B[D++]))}else{for(D=i-L;k[i++]=k[D++],k[i++]=k[D++],k[i++]=k[D++],2<(I-=3););I&&(k[i++]=k[D++],1<I&&(k[i++]=k[D++]))}break}}break}}while(e<r&&i<l);e-=I=S>>3,g&=(1<<(S-=I<<3))-1,s.next_in=e,s.next_out=i,s.avail_in=e<r?r-e+5:5-(e-r),s.avail_out=i<l?l-i+257:257-(i-l),o.hold=g,o.bits=S}},{}],49:[function(m,v,p){"use strict";var s=m("../utils/common"),u=m("./adler32"),o=m("./crc32"),e=m("./inffast"),r=m("./inftrees"),i=1,n=2,l=0,t=-2,a=1,c=852,h=592;function f(D){return(D>>>24&255)+(D>>>8&65280)+((65280&D)<<8)+((255&D)<<24)}function g(){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 s.Buf16(320),this.work=new s.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function S(D){var B;return D&&D.state?(B=D.state,D.total_in=D.total_out=B.total=0,D.msg="",B.wrap&&(D.adler=1&B.wrap),B.mode=a,B.last=0,B.havedict=0,B.dmax=32768,B.head=null,B.hold=0,B.bits=0,B.lencode=B.lendyn=new s.Buf32(c),B.distcode=B.distdyn=new s.Buf32(h),B.sane=1,B.back=-1,l):t}function y(D){var B;return D&&D.state?((B=D.state).wsize=0,B.whave=0,B.wnext=0,S(D)):t}function E(D,B){var N,k;return D&&D.state?(k=D.state,B<0?(N=0,B=-B):(N=1+(B>>4),B<48&&(B&=15)),B&&(B<8||15<B)?t:(k.window!==null&&k.wbits!==B&&(k.window=null),k.wrap=N,k.wbits=B,y(D))):t}function C(D,B){var N,k;return D?(k=new g,(D.state=k).window=null,(N=E(D,B))!==l&&(D.state=null),N):t}var T,x,_=!0;function I(D){if(_){var B;for(T=new s.Buf32(512),x=new s.Buf32(32),B=0;B<144;)D.lens[B++]=8;for(;B<256;)D.lens[B++]=9;for(;B<280;)D.lens[B++]=7;for(;B<288;)D.lens[B++]=8;for(r(i,D.lens,0,288,T,0,D.work,{bits:9}),B=0;B<32;)D.lens[B++]=5;r(n,D.lens,0,32,x,0,D.work,{bits:5}),_=!1}D.lencode=T,D.lenbits=9,D.distcode=x,D.distbits=5}function L(D,B,N,k){var W,R=D.state;return R.window===null&&(R.wsize=1<<R.wbits,R.wnext=0,R.whave=0,R.window=new s.Buf8(R.wsize)),k>=R.wsize?(s.arraySet(R.window,B,N-R.wsize,R.wsize,0),R.wnext=0,R.whave=R.wsize):(k<(W=R.wsize-R.wnext)&&(W=k),s.arraySet(R.window,B,N-k,W,R.wnext),(k-=W)?(s.arraySet(R.window,B,N-k,k,0),R.wnext=k,R.whave=R.wsize):(R.wnext+=W,R.wnext===R.wsize&&(R.wnext=0),R.whave<R.wsize&&(R.whave+=W))),0}p.inflateReset=y,p.inflateReset2=E,p.inflateResetKeep=S,p.inflateInit=function(D){return C(D,15)},p.inflateInit2=C,p.inflate=function(D,B){var N,k,W,R,j,H,K,U,Q,V,J,ae,se,$,ge,he,Ie,Se,Le,He,G,pe,We,te,X=0,z=new s.Buf8(4),Z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!D||!D.state||!D.output||!D.input&&D.avail_in!==0)return t;(N=D.state).mode===12&&(N.mode=13),j=D.next_out,W=D.output,K=D.avail_out,R=D.next_in,k=D.input,H=D.avail_in,U=N.hold,Q=N.bits,V=H,J=K,pe=l;e:for(;;)switch(N.mode){case a:if(N.wrap===0){N.mode=13;break}for(;Q<16;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}if(2&N.wrap&&U===35615){z[N.check=0]=255&U,z[1]=U>>>8&255,N.check=o(N.check,z,2,0),Q=U=0,N.mode=2;break}if(N.flags=0,N.head&&(N.head.done=!1),!(1&N.wrap)||(((255&U)<<8)+(U>>8))%31){D.msg="incorrect header check",N.mode=30;break}if((15&U)!=8){D.msg="unknown compression method",N.mode=30;break}if(Q-=4,G=8+(15&(U>>>=4)),N.wbits===0)N.wbits=G;else if(G>N.wbits){D.msg="invalid window size",N.mode=30;break}N.dmax=1<<G,D.adler=N.check=1,N.mode=512&U?10:12,Q=U=0;break;case 2:for(;Q<16;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}if(N.flags=U,(255&N.flags)!=8){D.msg="unknown compression method",N.mode=30;break}if(57344&N.flags){D.msg="unknown header flags set",N.mode=30;break}N.head&&(N.head.text=U>>8&1),512&N.flags&&(z[0]=255&U,z[1]=U>>>8&255,N.check=o(N.check,z,2,0)),Q=U=0,N.mode=3;case 3:for(;Q<32;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}N.head&&(N.head.time=U),512&N.flags&&(z[0]=255&U,z[1]=U>>>8&255,z[2]=U>>>16&255,z[3]=U>>>24&255,N.check=o(N.check,z,4,0)),Q=U=0,N.mode=4;case 4:for(;Q<16;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}N.head&&(N.head.xflags=255&U,N.head.os=U>>8),512&N.flags&&(z[0]=255&U,z[1]=U>>>8&255,N.check=o(N.check,z,2,0)),Q=U=0,N.mode=5;case 5:if(1024&N.flags){for(;Q<16;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}N.length=U,N.head&&(N.head.extra_len=U),512&N.flags&&(z[0]=255&U,z[1]=U>>>8&255,N.check=o(N.check,z,2,0)),Q=U=0}else N.head&&(N.head.extra=null);N.mode=6;case 6:if(1024&N.flags&&(H<(ae=N.length)&&(ae=H),ae&&(N.head&&(G=N.head.extra_len-N.length,N.head.extra||(N.head.extra=new Array(N.head.extra_len)),s.arraySet(N.head.extra,k,R,ae,G)),512&N.flags&&(N.check=o(N.check,k,ae,R)),H-=ae,R+=ae,N.length-=ae),N.length))break e;N.length=0,N.mode=7;case 7:if(2048&N.flags){if(H===0)break e;for(ae=0;G=k[R+ae++],N.head&&G&&N.length<65536&&(N.head.name+=String.fromCharCode(G)),G&&ae<H;);if(512&N.flags&&(N.check=o(N.check,k,ae,R)),H-=ae,R+=ae,G)break e}else N.head&&(N.head.name=null);N.length=0,N.mode=8;case 8:if(4096&N.flags){if(H===0)break e;for(ae=0;G=k[R+ae++],N.head&&G&&N.length<65536&&(N.head.comment+=String.fromCharCode(G)),G&&ae<H;);if(512&N.flags&&(N.check=o(N.check,k,ae,R)),H-=ae,R+=ae,G)break e}else N.head&&(N.head.comment=null);N.mode=9;case 9:if(512&N.flags){for(;Q<16;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}if(U!==(65535&N.check)){D.msg="header crc mismatch",N.mode=30;break}Q=U=0}N.head&&(N.head.hcrc=N.flags>>9&1,N.head.done=!0),D.adler=N.check=0,N.mode=12;break;case 10:for(;Q<32;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}D.adler=N.check=f(U),Q=U=0,N.mode=11;case 11:if(N.havedict===0)return D.next_out=j,D.avail_out=K,D.next_in=R,D.avail_in=H,N.hold=U,N.bits=Q,2;D.adler=N.check=1,N.mode=12;case 12:if(B===5||B===6)break e;case 13:if(N.last){U>>>=7&Q,Q-=7&Q,N.mode=27;break}for(;Q<3;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}switch(N.last=1&U,Q-=1,3&(U>>>=1)){case 0:N.mode=14;break;case 1:if(I(N),N.mode=20,B!==6)break;U>>>=2,Q-=2;break e;case 2:N.mode=17;break;case 3:D.msg="invalid block type",N.mode=30}U>>>=2,Q-=2;break;case 14:for(U>>>=7&Q,Q-=7&Q;Q<32;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}if((65535&U)!=(U>>>16^65535)){D.msg="invalid stored block lengths",N.mode=30;break}if(N.length=65535&U,Q=U=0,N.mode=15,B===6)break e;case 15:N.mode=16;case 16:if(ae=N.length){if(H<ae&&(ae=H),K<ae&&(ae=K),ae===0)break e;s.arraySet(W,k,R,ae,j),H-=ae,R+=ae,K-=ae,j+=ae,N.length-=ae;break}N.mode=12;break;case 17:for(;Q<14;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}if(N.nlen=257+(31&U),U>>>=5,Q-=5,N.ndist=1+(31&U),U>>>=5,Q-=5,N.ncode=4+(15&U),U>>>=4,Q-=4,286<N.nlen||30<N.ndist){D.msg="too many length or distance symbols",N.mode=30;break}N.have=0,N.mode=18;case 18:for(;N.have<N.ncode;){for(;Q<3;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}N.lens[Z[N.have++]]=7&U,U>>>=3,Q-=3}for(;N.have<19;)N.lens[Z[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,We={bits:N.lenbits},pe=r(0,N.lens,0,19,N.lencode,0,N.work,We),N.lenbits=We.bits,pe){D.msg="invalid code lengths set",N.mode=30;break}N.have=0,N.mode=19;case 19:for(;N.have<N.nlen+N.ndist;){for(;he=(X=N.lencode[U&(1<<N.lenbits)-1])>>>16&255,Ie=65535&X,!((ge=X>>>24)<=Q);){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}if(Ie<16)U>>>=ge,Q-=ge,N.lens[N.have++]=Ie;else{if(Ie===16){for(te=ge+2;Q<te;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}if(U>>>=ge,Q-=ge,N.have===0){D.msg="invalid bit length repeat",N.mode=30;break}G=N.lens[N.have-1],ae=3+(3&U),U>>>=2,Q-=2}else if(Ie===17){for(te=ge+3;Q<te;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}Q-=ge,G=0,ae=3+(7&(U>>>=ge)),U>>>=3,Q-=3}else{for(te=ge+7;Q<te;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}Q-=ge,G=0,ae=11+(127&(U>>>=ge)),U>>>=7,Q-=7}if(N.have+ae>N.nlen+N.ndist){D.msg="invalid bit length repeat",N.mode=30;break}for(;ae--;)N.lens[N.have++]=G}}if(N.mode===30)break;if(N.lens[256]===0){D.msg="invalid code -- missing end-of-block",N.mode=30;break}if(N.lenbits=9,We={bits:N.lenbits},pe=r(i,N.lens,0,N.nlen,N.lencode,0,N.work,We),N.lenbits=We.bits,pe){D.msg="invalid literal/lengths set",N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,We={bits:N.distbits},pe=r(n,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,We),N.distbits=We.bits,pe){D.msg="invalid distances set",N.mode=30;break}if(N.mode=20,B===6)break e;case 20:N.mode=21;case 21:if(6<=H&&258<=K){D.next_out=j,D.avail_out=K,D.next_in=R,D.avail_in=H,N.hold=U,N.bits=Q,e(D,J),j=D.next_out,W=D.output,K=D.avail_out,R=D.next_in,k=D.input,H=D.avail_in,U=N.hold,Q=N.bits,N.mode===12&&(N.back=-1);break}for(N.back=0;he=(X=N.lencode[U&(1<<N.lenbits)-1])>>>16&255,Ie=65535&X,!((ge=X>>>24)<=Q);){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}if(he&&(240&he)==0){for(Se=ge,Le=he,He=Ie;he=(X=N.lencode[He+((U&(1<<Se+Le)-1)>>Se)])>>>16&255,Ie=65535&X,!(Se+(ge=X>>>24)<=Q);){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}U>>>=Se,Q-=Se,N.back+=Se}if(U>>>=ge,Q-=ge,N.back+=ge,N.length=Ie,he===0){N.mode=26;break}if(32&he){N.back=-1,N.mode=12;break}if(64&he){D.msg="invalid literal/length code",N.mode=30;break}N.extra=15&he,N.mode=22;case 22:if(N.extra){for(te=N.extra;Q<te;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}N.length+=U&(1<<N.extra)-1,U>>>=N.extra,Q-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;he=(X=N.distcode[U&(1<<N.distbits)-1])>>>16&255,Ie=65535&X,!((ge=X>>>24)<=Q);){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}if((240&he)==0){for(Se=ge,Le=he,He=Ie;he=(X=N.distcode[He+((U&(1<<Se+Le)-1)>>Se)])>>>16&255,Ie=65535&X,!(Se+(ge=X>>>24)<=Q);){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}U>>>=Se,Q-=Se,N.back+=Se}if(U>>>=ge,Q-=ge,N.back+=ge,64&he){D.msg="invalid distance code",N.mode=30;break}N.offset=Ie,N.extra=15&he,N.mode=24;case 24:if(N.extra){for(te=N.extra;Q<te;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}N.offset+=U&(1<<N.extra)-1,U>>>=N.extra,Q-=N.extra,N.back+=N.extra}if(N.offset>N.dmax){D.msg="invalid distance too far back",N.mode=30;break}N.mode=25;case 25:if(K===0)break e;if(ae=J-K,N.offset>ae){if((ae=N.offset-ae)>N.whave&&N.sane){D.msg="invalid distance too far back",N.mode=30;break}se=ae>N.wnext?(ae-=N.wnext,N.wsize-ae):N.wnext-ae,ae>N.length&&(ae=N.length),$=N.window}else $=W,se=j-N.offset,ae=N.length;for(K<ae&&(ae=K),K-=ae,N.length-=ae;W[j++]=$[se++],--ae;);N.length===0&&(N.mode=21);break;case 26:if(K===0)break e;W[j++]=N.length,K--,N.mode=21;break;case 27:if(N.wrap){for(;Q<32;){if(H===0)break e;H--,U|=k[R++]<<Q,Q+=8}if(J-=K,D.total_out+=J,N.total+=J,J&&(D.adler=N.check=N.flags?o(N.check,W,J,j-J):u(N.check,W,J,j-J)),J=K,(N.flags?U:f(U))!==N.check){D.msg="incorrect data check",N.mode=30;break}Q=U=0}N.mode=28;case 28:if(N.wrap&&N.flags){for(;Q<32;){if(H===0)break e;H--,U+=k[R++]<<Q,Q+=8}if(U!==(4294967295&N.total)){D.msg="incorrect length check",N.mode=30;break}Q=U=0}N.mode=29;case 29:pe=1;break e;case 30:pe=-3;break e;case 31:return-4;case 32:default:return t}return D.next_out=j,D.avail_out=K,D.next_in=R,D.avail_in=H,N.hold=U,N.bits=Q,(N.wsize||J!==D.avail_out&&N.mode<30&&(N.mode<27||B!==4))&&L(D,D.output,D.next_out,J-D.avail_out)?(N.mode=31,-4):(V-=D.avail_in,J-=D.avail_out,D.total_in+=V,D.total_out+=J,N.total+=J,N.wrap&&J&&(D.adler=N.check=N.flags?o(N.check,W,J,D.next_out-J):u(N.check,W,J,D.next_out-J)),D.data_type=N.bits+(N.last?64:0)+(N.mode===12?128:0)+(N.mode===20||N.mode===15?256:0),(V==0&&J===0||B===4)&&pe===l&&(pe=-5),pe)},p.inflateEnd=function(D){if(!D||!D.state)return t;var B=D.state;return B.window&&(B.window=null),D.state=null,l},p.inflateGetHeader=function(D,B){var N;return D&&D.state?(2&(N=D.state).wrap)==0?t:((N.head=B).done=!1,l):t},p.inflateSetDictionary=function(D,B){var N,k=B.length;return D&&D.state?(N=D.state).wrap!==0&&N.mode!==11?t:N.mode===11&&u(1,B,k,0)!==N.check?-3:L(D,B,k,k)?(N.mode=31,-4):(N.havedict=1,l):t},p.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(m,v,p){"use strict";var s=m("../utils/common"),u=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],e=[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],r=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];v.exports=function(i,n,l,t,a,c,h,f){var g,S,y,E,C,T,x,_,I,L=f.bits,D=0,B=0,N=0,k=0,W=0,R=0,j=0,H=0,K=0,U=0,Q=null,V=0,J=new s.Buf16(16),ae=new s.Buf16(16),se=null,$=0;for(D=0;D<=15;D++)J[D]=0;for(B=0;B<t;B++)J[n[l+B]]++;for(W=L,k=15;1<=k&&J[k]===0;k--);if(k<W&&(W=k),k===0)return a[c++]=20971520,a[c++]=20971520,f.bits=1,0;for(N=1;N<k&&J[N]===0;N++);for(W<N&&(W=N),D=H=1;D<=15;D++)if(H<<=1,(H-=J[D])<0)return-1;if(0<H&&(i===0||k!==1))return-1;for(ae[1]=0,D=1;D<15;D++)ae[D+1]=ae[D]+J[D];for(B=0;B<t;B++)n[l+B]!==0&&(h[ae[n[l+B]]++]=B);if(T=i===0?(Q=se=h,19):i===1?(Q=u,V-=257,se=o,$-=257,256):(Q=e,se=r,-1),D=N,C=c,j=B=U=0,y=-1,E=(K=1<<(R=W))-1,i===1&&852<K||i===2&&592<K)return 1;for(;;){for(x=D-j,I=h[B]<T?(_=0,h[B]):h[B]>T?(_=se[$+h[B]],Q[V+h[B]]):(_=96,0),g=1<<D-j,N=S=1<<R;a[C+(U>>j)+(S-=g)]=x<<24|_<<16|I|0,S!==0;);for(g=1<<D-1;U&g;)g>>=1;if(g!==0?(U&=g-1,U+=g):U=0,B++,--J[D]==0){if(D===k)break;D=n[l+h[B]]}if(W<D&&(U&E)!==y){for(j===0&&(j=W),C+=N,H=1<<(R=D-j);R+j<k&&!((H-=J[R+j])<=0);)R++,H<<=1;if(K+=1<<R,i===1&&852<K||i===2&&592<K)return 1;a[y=U&E]=W<<24|R<<16|C-c|0}}return U!==0&&(a[C+U]=D-j<<24|64<<16|0),f.bits=W,0}},{"../utils/common":41}],51:[function(m,v,p){"use strict";v.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(m,v,p){"use strict";var s=m("../utils/common"),u=0,o=1;function e(X){for(var z=X.length;0<=--z;)X[z]=0}var r=0,i=29,n=256,l=n+1+i,t=30,a=19,c=2*l+1,h=15,f=16,g=7,S=256,y=16,E=17,C=18,T=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],x=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],L=new Array(2*(l+2));e(L);var D=new Array(2*t);e(D);var B=new Array(512);e(B);var N=new Array(256);e(N);var k=new Array(i);e(k);var W,R,j,H=new Array(t);function K(X,z,Z,be,ne){this.static_tree=X,this.extra_bits=z,this.extra_base=Z,this.elems=be,this.max_length=ne,this.has_stree=X&&X.length}function U(X,z){this.dyn_tree=X,this.max_code=0,this.stat_desc=z}function Q(X){return X<256?B[X]:B[256+(X>>>7)]}function V(X,z){X.pending_buf[X.pending++]=255&z,X.pending_buf[X.pending++]=z>>>8&255}function J(X,z,Z){X.bi_valid>f-Z?(X.bi_buf|=z<<X.bi_valid&65535,V(X,X.bi_buf),X.bi_buf=z>>f-X.bi_valid,X.bi_valid+=Z-f):(X.bi_buf|=z<<X.bi_valid&65535,X.bi_valid+=Z)}function ae(X,z,Z){J(X,Z[2*z],Z[2*z+1])}function se(X,z){for(var Z=0;Z|=1&X,X>>>=1,Z<<=1,0<--z;);return Z>>>1}function $(X,z,Z){var be,ne,Ae=new Array(h+1),Ne=0;for(be=1;be<=h;be++)Ae[be]=Ne=Ne+Z[be-1]<<1;for(ne=0;ne<=z;ne++){var oe=X[2*ne+1];oe!==0&&(X[2*ne]=se(Ae[oe]++,oe))}}function ge(X){var z;for(z=0;z<l;z++)X.dyn_ltree[2*z]=0;for(z=0;z<t;z++)X.dyn_dtree[2*z]=0;for(z=0;z<a;z++)X.bl_tree[2*z]=0;X.dyn_ltree[2*S]=1,X.opt_len=X.static_len=0,X.last_lit=X.matches=0}function he(X){8<X.bi_valid?V(X,X.bi_buf):0<X.bi_valid&&(X.pending_buf[X.pending++]=X.bi_buf),X.bi_buf=0,X.bi_valid=0}function Ie(X,z,Z,be){var ne=2*z,Ae=2*Z;return X[ne]<X[Ae]||X[ne]===X[Ae]&&be[z]<=be[Z]}function Se(X,z,Z){for(var be=X.heap[Z],ne=Z<<1;ne<=X.heap_len&&(ne<X.heap_len&&Ie(z,X.heap[ne+1],X.heap[ne],X.depth)&&ne++,!Ie(z,be,X.heap[ne],X.depth));)X.heap[Z]=X.heap[ne],Z=ne,ne<<=1;X.heap[Z]=be}function Le(X,z,Z){var be,ne,Ae,Ne,oe=0;if(X.last_lit!==0)for(;be=X.pending_buf[X.d_buf+2*oe]<<8|X.pending_buf[X.d_buf+2*oe+1],ne=X.pending_buf[X.l_buf+oe],oe++,be===0?ae(X,ne,z):(ae(X,(Ae=N[ne])+n+1,z),(Ne=T[Ae])!==0&&J(X,ne-=k[Ae],Ne),ae(X,Ae=Q(--be),Z),(Ne=x[Ae])!==0&&J(X,be-=H[Ae],Ne)),oe<X.last_lit;);ae(X,S,z)}function He(X,z){var Z,be,ne,Ae=z.dyn_tree,Ne=z.stat_desc.static_tree,oe=z.stat_desc.has_stree,de=z.stat_desc.elems,xe=-1;for(X.heap_len=0,X.heap_max=c,Z=0;Z<de;Z++)Ae[2*Z]!==0?(X.heap[++X.heap_len]=xe=Z,X.depth[Z]=0):Ae[2*Z+1]=0;for(;X.heap_len<2;)Ae[2*(ne=X.heap[++X.heap_len]=xe<2?++xe:0)]=1,X.depth[ne]=0,X.opt_len--,oe&&(X.static_len-=Ne[2*ne+1]);for(z.max_code=xe,Z=X.heap_len>>1;1<=Z;Z--)Se(X,Ae,Z);for(ne=de;Z=X.heap[1],X.heap[1]=X.heap[X.heap_len--],Se(X,Ae,1),be=X.heap[1],X.heap[--X.heap_max]=Z,X.heap[--X.heap_max]=be,Ae[2*ne]=Ae[2*Z]+Ae[2*be],X.depth[ne]=(X.depth[Z]>=X.depth[be]?X.depth[Z]:X.depth[be])+1,Ae[2*Z+1]=Ae[2*be+1]=ne,X.heap[1]=ne++,Se(X,Ae,1),2<=X.heap_len;);X.heap[--X.heap_max]=X.heap[1],function(Pe,tt){var Je,Oe,pt,Qe,nt,bt,Tt=tt.dyn_tree,Ct=tt.max_code,Nt=tt.stat_desc.static_tree,Ge=tt.stat_desc.has_stree,ie=tt.stat_desc.extra_bits,Y=tt.stat_desc.extra_base,we=tt.stat_desc.max_length,Ce=0;for(Qe=0;Qe<=h;Qe++)Pe.bl_count[Qe]=0;for(Tt[2*Pe.heap[Pe.heap_max]+1]=0,Je=Pe.heap_max+1;Je<c;Je++)we<(Qe=Tt[2*Tt[2*(Oe=Pe.heap[Je])+1]+1]+1)&&(Qe=we,Ce++),Tt[2*Oe+1]=Qe,Ct<Oe||(Pe.bl_count[Qe]++,nt=0,Y<=Oe&&(nt=ie[Oe-Y]),bt=Tt[2*Oe],Pe.opt_len+=bt*(Qe+nt),Ge&&(Pe.static_len+=bt*(Nt[2*Oe+1]+nt)));if(Ce!==0){do{for(Qe=we-1;Pe.bl_count[Qe]===0;)Qe--;Pe.bl_count[Qe]--,Pe.bl_count[Qe+1]+=2,Pe.bl_count[we]--,Ce-=2}while(0<Ce);for(Qe=we;Qe!==0;Qe--)for(Oe=Pe.bl_count[Qe];Oe!==0;)Ct<(pt=Pe.heap[--Je])||(Tt[2*pt+1]!==Qe&&(Pe.opt_len+=(Qe-Tt[2*pt+1])*Tt[2*pt],Tt[2*pt+1]=Qe),Oe--)}}(X,z),$(Ae,xe,X.bl_count)}function G(X,z,Z){var be,ne,Ae=-1,Ne=z[1],oe=0,de=7,xe=4;for(Ne===0&&(de=138,xe=3),z[2*(Z+1)+1]=65535,be=0;be<=Z;be++)ne=Ne,Ne=z[2*(be+1)+1],++oe<de&&ne===Ne||(oe<xe?X.bl_tree[2*ne]+=oe:ne!==0?(ne!==Ae&&X.bl_tree[2*ne]++,X.bl_tree[2*y]++):oe<=10?X.bl_tree[2*E]++:X.bl_tree[2*C]++,Ae=ne,xe=(oe=0)===Ne?(de=138,3):ne===Ne?(de=6,3):(de=7,4))}function pe(X,z,Z){var be,ne,Ae=-1,Ne=z[1],oe=0,de=7,xe=4;for(Ne===0&&(de=138,xe=3),be=0;be<=Z;be++)if(ne=Ne,Ne=z[2*(be+1)+1],!(++oe<de&&ne===Ne)){if(oe<xe)for(;ae(X,ne,X.bl_tree),--oe!=0;);else ne!==0?(ne!==Ae&&(ae(X,ne,X.bl_tree),oe--),ae(X,y,X.bl_tree),J(X,oe-3,2)):oe<=10?(ae(X,E,X.bl_tree),J(X,oe-3,3)):(ae(X,C,X.bl_tree),J(X,oe-11,7));Ae=ne,xe=(oe=0)===Ne?(de=138,3):ne===Ne?(de=6,3):(de=7,4)}}e(H);var We=!1;function te(X,z,Z,be){J(X,(r<<1)+(be?1:0),3),function(ne,Ae,Ne,oe){he(ne),oe&&(V(ne,Ne),V(ne,~Ne)),s.arraySet(ne.pending_buf,ne.window,Ae,Ne,ne.pending),ne.pending+=Ne}(X,z,Z,!0)}p._tr_init=function(X){We||(function(){var z,Z,be,ne,Ae,Ne=new Array(h+1);for(ne=be=0;ne<i-1;ne++)for(k[ne]=be,z=0;z<1<<T[ne];z++)N[be++]=ne;for(N[be-1]=ne,ne=Ae=0;ne<16;ne++)for(H[ne]=Ae,z=0;z<1<<x[ne];z++)B[Ae++]=ne;for(Ae>>=7;ne<t;ne++)for(H[ne]=Ae<<7,z=0;z<1<<x[ne]-7;z++)B[256+Ae++]=ne;for(Z=0;Z<=h;Z++)Ne[Z]=0;for(z=0;z<=143;)L[2*z+1]=8,z++,Ne[8]++;for(;z<=255;)L[2*z+1]=9,z++,Ne[9]++;for(;z<=279;)L[2*z+1]=7,z++,Ne[7]++;for(;z<=287;)L[2*z+1]=8,z++,Ne[8]++;for($(L,l+1,Ne),z=0;z<t;z++)D[2*z+1]=5,D[2*z]=se(z,5);W=new K(L,T,n+1,l,h),R=new K(D,x,0,t,h),j=new K(new Array(0),_,0,a,g)}(),We=!0),X.l_desc=new U(X.dyn_ltree,W),X.d_desc=new U(X.dyn_dtree,R),X.bl_desc=new U(X.bl_tree,j),X.bi_buf=0,X.bi_valid=0,ge(X)},p._tr_stored_block=te,p._tr_flush_block=function(X,z,Z,be){var ne,Ae,Ne=0;0<X.level?(X.strm.data_type===2&&(X.strm.data_type=function(oe){var de,xe=4093624447;for(de=0;de<=31;de++,xe>>>=1)if(1&xe&&oe.dyn_ltree[2*de]!==0)return u;if(oe.dyn_ltree[18]!==0||oe.dyn_ltree[20]!==0||oe.dyn_ltree[26]!==0)return o;for(de=32;de<n;de++)if(oe.dyn_ltree[2*de]!==0)return o;return u}(X)),He(X,X.l_desc),He(X,X.d_desc),Ne=function(oe){var de;for(G(oe,oe.dyn_ltree,oe.l_desc.max_code),G(oe,oe.dyn_dtree,oe.d_desc.max_code),He(oe,oe.bl_desc),de=a-1;3<=de&&oe.bl_tree[2*I[de]+1]===0;de--);return oe.opt_len+=3*(de+1)+5+5+4,de}(X),ne=X.opt_len+3+7>>>3,(Ae=X.static_len+3+7>>>3)<=ne&&(ne=Ae)):ne=Ae=Z+5,Z+4<=ne&&z!==-1?te(X,z,Z,be):X.strategy===4||Ae===ne?(J(X,2+(be?1:0),3),Le(X,L,D)):(J(X,4+(be?1:0),3),function(oe,de,xe,Pe){var tt;for(J(oe,de-257,5),J(oe,xe-1,5),J(oe,Pe-4,4),tt=0;tt<Pe;tt++)J(oe,oe.bl_tree[2*I[tt]+1],3);pe(oe,oe.dyn_ltree,de-1),pe(oe,oe.dyn_dtree,xe-1)}(X,X.l_desc.max_code+1,X.d_desc.max_code+1,Ne+1),Le(X,X.dyn_ltree,X.dyn_dtree)),ge(X),be&&he(X)},p._tr_tally=function(X,z,Z){return X.pending_buf[X.d_buf+2*X.last_lit]=z>>>8&255,X.pending_buf[X.d_buf+2*X.last_lit+1]=255&z,X.pending_buf[X.l_buf+X.last_lit]=255&Z,X.last_lit++,z===0?X.dyn_ltree[2*Z]++:(X.matches++,z--,X.dyn_ltree[2*(N[Z]+n+1)]++,X.dyn_dtree[2*Q(z)]++),X.last_lit===X.lit_bufsize-1},p._tr_align=function(X){J(X,2,3),ae(X,S,L),function(z){z.bi_valid===16?(V(z,z.bi_buf),z.bi_buf=0,z.bi_valid=0):8<=z.bi_valid&&(z.pending_buf[z.pending++]=255&z.bi_buf,z.bi_buf>>=8,z.bi_valid-=8)}(X)}},{"../utils/common":41}],53:[function(m,v,p){"use strict";v.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(m,v,p){"use strict";v.exports=typeof setImmediate=="function"?setImmediate:function(){var s=[].slice.apply(arguments);s.splice(1,0,0),setTimeout.apply(null,s)}},{}]},{},[10])(10)})}).call(this,d("HDXh").Buffer,d("yLpj"))},xRUu:function(M,P,d){d("hJvP"),d("hFmY"),d("sAZ8")},xSIq:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.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"};P.default=w},xSat:function(M,P){var d={axisPointer:1,tooltip:1,brush:1};function w(A,b,m){var v=b.getComponentByElement(A.topTarget),p=v&&v.coordinateSystem;return v&&v!==m&&!d[v.mainType]&&p&&p.model!==m}P.onIrrelevantElement=w},"xSm/":function(M,P,d){},xTNl:function(M,P){var d=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],w={color:d,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],d]};M.exports=w},xiyX:function(M,P,d){var w=d("bYtY"),A=d("bLfw"),b=d("nkfE"),m=d("ICMv"),v=A.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 s(o,e){return e.type||(e.data?"category":"value")}w.merge(v.prototype,m),b("single",v,s,p);var u=v;M.exports=u},xlC8:function(M,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=w;function w(A,b,m,v){for(var p=A&65535|0,s=A>>>16&65535|0,u=0;m!==0;){u=m>2e3?2e3:m,m-=u;do p=p+b[v++]|0,s=s+p|0;while(--u);p%=65521,s%=65521}return p|s<<16|0}},xvlK:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="PlusOutlined";var s=P.a=A.forwardRef(p)},"y+Vt":function(M,P,d){var w=d("Gev7"),A=d("bYtY"),b=d("IMiH"),m=d("2DNl"),v=d("3C/r"),p=v.prototype.getCanvasPattern,s=Math.abs,u=new b(!0);function o(r){w.call(this,r),this.path=null}o.prototype={constructor:o,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(i,n){var l=this.style,t=this.path||u,a=l.hasStroke(),c=l.hasFill(),h=l.fill,f=l.stroke,g=c&&!!h.colorStops,S=a&&!!f.colorStops,y=c&&!!h.image,E=a&&!!f.image;if(l.bind(i,this,n),this.setTransform(i),this.__dirty){var C;g&&(C=C||this.getBoundingRect(),this._fillGradient=l.getGradient(i,h,C)),S&&(C=C||this.getBoundingRect(),this._strokeGradient=l.getGradient(i,f,C))}g?i.fillStyle=this._fillGradient:y&&(i.fillStyle=p.call(h,i)),S?i.strokeStyle=this._strokeGradient:E&&(i.strokeStyle=p.call(f,i));var T=l.lineDash,x=l.lineDashOffset,_=!!i.setLineDash,I=this.getGlobalScale();if(t.setScale(I[0],I[1],this.segmentIgnoreThreshold),this.__dirtyPath||T&&!_&&a?(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)),c)if(l.fillOpacity!=null){var L=i.globalAlpha;i.globalAlpha=l.fillOpacity*l.opacity,t.fill(i),i.globalAlpha=L}else t.fill(i);if(T&&_&&(i.setLineDash(T),i.lineDashOffset=x),a)if(l.strokeOpacity!=null){var L=i.globalAlpha;i.globalAlpha=l.strokeOpacity*l.opacity,t.stroke(i),i.globalAlpha=L}else t.stroke(i);T&&_&&i.setLineDash([]),l.text!=null&&(this.restoreTransform(i),this.drawRectText(i,this.getBoundingRect()))},buildPath:function(i,n,l){},createPathProxy:function(){this.path=new b},getBoundingRect:function(){var i=this._rect,n=this.style,l=!i;if(l){var t=this.path;t||(t=this.path=new b),this.__dirtyPath&&(t.beginPath(),this.buildPath(t,this.shape,!1)),i=t.getBoundingRect()}if(this._rect=i,n.hasStroke()){var a=this._rectWithStroke||(this._rectWithStroke=i.clone());if(this.__dirty||l){a.copy(i);var c=n.lineWidth,h=n.strokeNoScale?this.getLineScale():1;n.hasFill()||(c=Math.max(c,this.strokeContainThreshold||4)),h>1e-10&&(a.width+=c/h,a.height+=c/h,a.x-=c/h/2,a.y-=c/h/2)}return a}return i},contain:function(i,n){var l=this.transformCoordToLocal(i,n),t=this.getBoundingRect(),a=this.style;if(i=l[0],n=l[1],t.contain(i,n)){var c=this.path.data;if(a.hasStroke()){var h=a.lineWidth,f=a.strokeNoScale?this.getLineScale():1;if(f>1e-10&&(a.hasFill()||(h=Math.max(h,this.strokeContainThreshold)),m.containStroke(c,h/f,i,n)))return!0}if(a.hasFill())return m.contain(c,i,n)}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,n){i==="shape"?(this.setShape(n),this.__dirtyPath=!0,this._rect=null):w.prototype.attrKV.call(this,i,n)},setShape:function(i,n){var l=this.shape;if(l){if(A.isObject(i))for(var t in i)i.hasOwnProperty(t)&&(l[t]=i[t]);else l[i]=n;this.dirty(!0)}return this},getLineScale:function(){var i=this.transform;return i&&s(i[0]-1)>1e-10&&s(i[3]-1)>1e-10?Math.sqrt(s(i[0]*i[3]-i[2]*i[1])):1}},o.extend=function(r){var i=function(t){o.call(this,t),r.style&&this.style.extendFrom(r.style,!1);var a=r.shape;if(a){this.shape=this.shape||{};var c=this.shape;for(var h in a)!c.hasOwnProperty(h)&&a.hasOwnProperty(h)&&(c[h]=a[h])}r.init&&r.init.call(this,t)};A.inherits(i,o);for(var n in r)n!=="style"&&n!=="shape"&&(i.prototype[n]=r[n]);return i},A.inherits(o,w);var e=o;M.exports=e},"y+lR":function(M,P,d){var w=d("bYtY"),A=d("mFDi"),b=d("z35g");function m(p){b.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 s=this.getAxis("x"),u=this.getAxis("y");return s.contain(s.toLocalCoord(p[0]))&&u.contain(u.toLocalCoord(p[1]))},containData:function(p){return this.getAxis("x").containData(p[0])&&this.getAxis("y").containData(p[1])},dataToPoint:function(p,s,u){var o=this.getAxis("x"),e=this.getAxis("y");return u=u||[],u[0]=o.toGlobalCoord(o.dataToCoord(p[0])),u[1]=e.toGlobalCoord(e.dataToCoord(p[1])),u},clampData:function(p,s){var u=this.getAxis("x").scale,o=this.getAxis("y").scale,e=u.getExtent(),r=o.getExtent(),i=u.parse(p[0]),n=o.parse(p[1]);return s=s||[],s[0]=Math.min(Math.max(Math.min(e[0],e[1]),i),Math.max(e[0],e[1])),s[1]=Math.min(Math.max(Math.min(r[0],r[1]),n),Math.max(r[0],r[1])),s},pointToData:function(p,s){var u=this.getAxis("x"),o=this.getAxis("y");return s=s||[],s[0]=u.coordToData(u.toLocalCoord(p[0])),s[1]=o.coordToData(o.toLocalCoord(p[1])),s},getOtherAxis:function(p){return this.getAxis(p.dim==="x"?"y":"x")},getArea:function(){var p=this.getAxis("x").getGlobalExtent(),s=this.getAxis("y").getGlobalExtent(),u=Math.min(p[0],p[1]),o=Math.min(s[0],s[1]),e=Math.max(p[0],p[1])-u,r=Math.max(s[0],s[1])-o,i=new A(u,o,e,r);return i}},w.inherits(m,b);var v=m;M.exports=v},"y0+3":function(M,P,d){"use strict";d.d(P,"a",function(){return r}),d.d(P,"b",function(){return n});var w=/margin|padding|width|height|max|min|offset/,A={left:!0,top:!0},b={cssFloat:1,styleFloat:1,float:1};function m(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function v(l,t,a){if(t=t.toLowerCase(),a==="auto"){if(t==="height")return l.offsetHeight;if(t==="width")return l.offsetWidth}return t in A||(A[t]=w.test(t)),A[t]?parseFloat(a)||0:a}function p(l,t){var a=arguments.length,c=m(l);return t=b[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,a===1?c:v(l,t,c[t]||l.style[t])}function s(l,t,a){var c=arguments.length;if(t=b[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,c===3)return typeof a=="number"&&w.test(t)&&(a="".concat(a,"px")),l.style[t]=a,a;for(var h in t)t.hasOwnProperty(h)&&s(l,h,t[h]);return m(l)}function u(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function o(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function e(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:t}}function r(){var l=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:t}}function i(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function n(l){var t=l.getBoundingClientRect(),a=document.documentElement;return{left:t.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},y23F:function(M,P){function d(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}d.prototype={constructor:d,_dragStart:function(m){for(var v=m.target;v&&!v.draggable;)v=v.parent;v&&(this._draggingTarget=v,v.dragging=!0,this._x=m.offsetX,this._y=m.offsetY,this.dispatchToElement(w(v,m),"dragstart",m.event))},_drag:function(m){var v=this._draggingTarget;if(v){var p=m.offsetX,s=m.offsetY,u=p-this._x,o=s-this._y;this._x=p,this._y=s,v.drift(u,o,m),this.dispatchToElement(w(v,m),"drag",m.event);var e=this.findHover(p,s,v).target,r=this._dropTarget;this._dropTarget=e,v!==e&&(r&&e!==r&&this.dispatchToElement(w(r,m),"dragleave",m.event),e&&e!==r&&this.dispatchToElement(w(e,m),"dragenter",m.event))}},_dragEnd:function(m){var v=this._draggingTarget;v&&(v.dragging=!1),this.dispatchToElement(w(v,m),"dragend",m.event),this._dropTarget&&this.dispatchToElement(w(this._dropTarget,m),"drop",m.event),this._draggingTarget=null,this._dropTarget=null}};function w(b,m){return{target:b,topTarget:m&&m.topTarget}}var A=d;M.exports=A},y2l5:function(M,P,d){var w=d("MwEJ"),A=d("T4UG"),b=A.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(m,v){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=b},y3Kf:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="UpOutlined";var s=P.a=A.forwardRef(p)},y3NT:function(M,P,d){var w=d("OELB"),A=w.parsePercent,b=d("bYtY"),m=Math.PI/180;function v(u,o,e,r){o.eachSeriesByType(u,function(i){var n=i.get("center"),l=i.get("radius");b.isArray(l)||(l=[0,l]),b.isArray(n)||(n=[n,n]);var t=e.getWidth(),a=e.getHeight(),c=Math.min(t,a),h=A(n[0],t),f=A(n[1],a),g=A(l[0],c/2),S=A(l[1],c/2),y=-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;b.each(T.children,function(V){!isNaN(V.getValue())&&I++});var L=T.getValue(),D=Math.PI/(L||I)*2,B=T.depth>0,N=T.height-(B?-1:1),k=(S-g)/(N||1),W=i.get("clockwise"),R=i.get("stillShowZeroSum"),j=W?1:-1,H=function(V,J){if(!V)return;var ae=J;if(V!==C){var se=V.getValue(),$=L===0&&R?D:se*D;$<E&&($=E),ae=J+j*$;var ge=V.depth-x-(B?-1:1),he=g+k*ge,Ie=g+k*(ge+1),Se=V.getModel();Se.get("r0")!=null&&(he=A(Se.get("r0"),c/2)),Se.get("r")!=null&&(Ie=A(Se.get("r"),c/2)),V.setLayout({angle:$,startAngle:J,endAngle:ae,clockwise:W,cx:h,cy:f,r0:he,r:Ie})}if(V.children&&V.children.length){var Le=0;b.each(V.children,function(He){Le+=H(He,J+Le)})}return ae-J};if(B){var K=g,U=g+k,Q=Math.PI*2;C.setLayout({angle:Q,startAngle:y,endAngle:y+Q,clockwise:W,cx:h,cy:f,r0:K,r:U})}H(T,y)})}function p(u,o){var e=u.children||[];u.children=s(e,o),e.length&&b.each(u.children,function(r){p(r,o)})}function s(u,o){if(typeof o=="function")return u.sort(o);var e=o==="asc";return u.sort(function(r,i){var n=(r.getValue()-i.getValue())*(e?1:-1);return n===0?(r.dataIndex-i.dataIndex)*(e?-1:1):n})}M.exports=v},"y4/Y":function(M,P,d){var w=d("ProS"),A=d("bYtY"),b=d("zTMp"),m=d("62sa");d("SKx+"),d("1LEl"),d("Sp2Z"),w.registerPreprocessor(function(v){if(v){(!v.axisPointer||v.axisPointer.length===0)&&(v.axisPointer={});var p=v.axisPointer.link;p&&!A.isArray(p)&&(v.axisPointer.link=[p])}}),w.registerProcessor(w.PRIORITY.PROCESSOR.STATISTIC,function(v,p){v.getComponent("axisPointer").coordSysAxesInfo=b.collect(v,p)}),w.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},m)},y7Aq:function(M,P,d){var w=d("bYtY"),A=d("+TT/"),b=A.getLayoutRect;function m(p,s,u){var o=p.option,e=o.align;if(e!=null&&e!=="auto")return e;for(var r={width:s.getWidth(),height:s.getHeight()},i=o.orient==="horizontal"?1:0,n=[["left","right","width"],["top","bottom","height"]],l=n[i],t=[0,null,10],a={},c=0;c<3;c++)a[n[1-i][c]]=t[c],a[l[c]]=c===2?u[0]:o[l[c]];var h=[["x","width",3],["y","height",0]][i],f=b(a,r,o.padding);return l[(f.margin[h[2]]||0)+f[h[0]]+f[h[1]]*.5<r[h[1]]*.5?0:1]}function v(p,s){return w.each(p||[],function(u){u.dataIndex!=null&&(u.dataIndexInside=u.dataIndex,u.dataIndex=null),u.highlightKey="visualMap"+(s?s.componentIndex:"")}),p}P.getItemAlign=m,P.makeHighDownBatch=v},yEEn:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="ArrowDownOutlined";var s=P.a=A.forwardRef(p)},yNbn:function(M,P,d){"use strict";var w=d("+QfB"),A=d.n(w),b=d("phUY"),m=d.n(b)},yO87:function(M,P,d){var w=d("bYtY"),A=d("oVpE"),b=A.createSymbol,m=d("IwbS"),v=m.Group,p=d("OELB"),s=p.parsePercent,u=d("FBjb"),o=3;function e(t){return w.isArray(t)||(t=[+t,+t]),t}function r(t,a){var c=a.rippleEffectColor||a.color;t.eachChild(function(h){h.attr({z:a.z,zlevel:a.zlevel,style:{stroke:a.brushType==="stroke"?c:null,fill:a.brushType==="fill"?c:null}})})}function i(t,a){v.call(this);var c=new u(t,a),h=new v;this.add(c),this.add(h),h.beforeUpdate=function(){this.attr(c.getScale())},this.updateData(t,a)}var n=i.prototype;n.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.startEffectAnimation=function(t){for(var a=t.symbolType,c=t.color,h=this.childAt(1),f=0;f<o;f++){var g=b(a,-1,-1,2,2,c);g.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var S=-f/o*t.period+t.effectOffset;g.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(S).start(),g.animateStyle(!0).when(t.period,{opacity:0}).delay(S).start(),h.add(g)}r(h,t)},n.updateEffectAnimation=function(t){for(var a=this._effectCfg,c=this.childAt(1),h=["symbolType","period","rippleScale"],f=0;f<h.length;f++){var g=h[f];if(a[g]!==t[g]){this.stopEffectAnimation(),this.startEffectAnimation(t);return}}r(c,t)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateData=function(t,a){var c=t.hostModel;this.childAt(0).updateData(t,a);var h=this.childAt(1),f=t.getItemModel(a),g=t.getItemVisual(a,"symbol"),S=e(t.getItemVisual(a,"symbolSize")),y=t.getItemVisual(a,"color");h.attr("scale",S),h.traverse(function(D){D.attr({fill:y})});var E=f.getShallow("symbolOffset");if(E){var C=h.position;C[0]=s(E[0],S[0]),C[1]=s(E[1],S[1])}var T=t.getItemVisual(a,"symbolRotate");h.rotation=(T||0)*Math.PI/180||0;var x={};if(x.showEffectOn=c.get("showEffectOn"),x.rippleScale=f.get("rippleEffect.scale"),x.brushType=f.get("rippleEffect.brushType"),x.period=f.get("rippleEffect.period")*1e3,x.effectOffset=a/t.count(),x.z=f.getShallow("z")||0,x.zlevel=f.getShallow("zlevel")||0,x.symbolType=g,x.color=y,x.rippleEffectColor=f.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},n.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},w.inherits(i,v);var l=i;M.exports=l},yS9w:function(M,P,d){var w=d("MEGo"),A=w.parseSVG,b=w.makeViewBoxTransform,m=d("4fz+"),v=d("x6Kt"),p=d("bYtY"),s=p.assert,u=p.createHashMap,o=d("mFDi"),e=d("4NO4"),r=e.makeInner,i=r(),n={load:function(t,a){var c=i(a).originRoot;if(c)return{root:c,boundingRect:i(a).boundingRect};var h=l(a);return i(a).originRoot=h.root,i(a).boundingRect=h.boundingRect,h},makeGraphic:function(t,a,c){var h=i(a),f=h.rootMap||(h.rootMap=u()),g=f.get(c);if(g)return g;var S=h.originRoot,y=h.boundingRect;return h.originRootHostKey?g=l(a,y).root:(h.originRootHostKey=c,g=S),f.set(c,g)},removeGraphic:function(t,a,c){var h=i(a),f=h.rootMap;f&&f.removeKey(c),c===h.originRootHostKey&&(h.originRootHostKey=null)}};function l(t,a){var c=t.svgXML,h,f;try{h=c&&A(c,{ignoreViewBox:!0,ignoreRootClip:!0})||{},f=h.root,s(f!=null)}catch(T){throw new Error(`Invalid svg format
|
|
|
`+T.message)}var g=h.width,S=h.height,y=h.viewBoxRect;if(a||(a=g==null||S==null?f.getBoundingRect():new o(0,0,0,0),g!=null&&(a.width=g),S!=null&&(a.height=S)),y){var E=b(y,a.width,a.height),C=f;f=new m,f.add(C),C.scale=E.scale,C.position=E.position}return f.setClipPath(new v({shape:a.plain()})),{root:f,boundingRect:a}}M.exports=n},yWXo:function(M,P,d){var w=d("IwbS"),A=d("oVpE"),b=A.createSymbol,m=d("OS9S"),v=4,p=w.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(e,r){var i=r.points,n=r.size,l=this.symbolProxy,t=l.shape,a=e.getContext?e.getContext():e,c=a&&n[0]<v;if(c)return;for(var h=0;h<i.length;){var f=i[h++],g=i[h++];if(isNaN(f)||isNaN(g))continue;if(this.softClipShape&&!this.softClipShape.contain(f,g))continue;t.x=f-n[0]/2,t.y=g-n[1]/2,t.width=n[0],t.height=n[1],l.buildPath(e,t,!0)}},afterBrush:function(e){var r=this.shape,i=r.points,n=r.size,l=n[0]<v;if(!l)return;this.setTransform(e);for(var t=0;t<i.length;){var a=i[t++],c=i[t++];if(isNaN(a)||isNaN(c))continue;if(this.softClipShape&&!this.softClipShape.contain(a,c))continue;e.fillRect(a-n[0]/2,c-n[1]/2,n[0],n[1])}this.restoreTransform(e)},findDataIndex:function(e,r){for(var i=this.shape,n=i.points,l=i.size,t=Math.max(l[0],4),a=Math.max(l[1],4),c=n.length/2-1;c>=0;c--){var h=c*2,f=n[h]-t/2,g=n[h+1]-a/2;if(e>=f&&r>=g&&e<=f+t&&r<=g+a)return c}return-1}});function s(){this.group=new w.Group}var u=s.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(e,r){this.group.removeAll();var i=new p({rectHover:!0,cursor:"default"});i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!1,r),this.group.add(i),this._incremental=null},u.updateLayout=function(e){if(this._incremental)return;var r=e.getLayout("symbolPoints");this.group.eachChild(function(i){if(i.startIndex!=null){var n=(i.endIndex-i.startIndex)*2,l=i.startIndex*4*2;r=new Float32Array(r.buffer,l,n)}i.setShape("points",r)})},u.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},u.incrementalUpdate=function(e,r,i){var n;this._incremental?(n=new p,this._incremental.addDisplayable(n,!0)):(n=new p({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end}),n.incremental=!0,this.group.add(n)),n.setShape({points:r.getLayout("symbolPoints")}),this._setCommon(n,r,!!this._incremental,i)},u._setCommon=function(e,r,i,n){var l=r.hostModel;n=n||{};var t=r.getVisual("symbolSize");e.setShape("size",t instanceof Array?t:[t,t]),e.softClipShape=n.clipShape||null,e.symbolProxy=b(r.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var a=e.shape.size[0]<v;e.useStyle(l.getModel("itemStyle").getItemStyle(a?["color","shadowBlur","shadowColor"]:["color"]));var c=r.getVisual("color");c&&e.setColor(c),i||(e.seriesIndex=l.seriesIndex,e.on("mousemove",function(h){e.dataIndex=null;var f=e.findDataIndex(h.offsetX,h.offsetY);f>=0&&(e.dataIndex=f+(e.startIndex||0))}))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var o=s;M.exports=o},ycre:function(M,P,d){var w=d("711d"),A=w("length");M.exports=A},yik8:function(M,P,d){var w=d("bZqE"),A=w.eachAfter,b=w.eachBefore,m=d("Itpr"),v=m.init,p=m.firstWalk,s=m.secondWalk,u=m.separation,o=m.radialCoordinate,e=m.getViewRect;function r(n,l){n.eachSeriesByType("tree",function(t){i(t,l)})}function i(n,l){var t=e(n,l);n.layoutInfo=t;var a=n.get("layout"),c=0,h=0,f=null;a==="radial"?(c=2*Math.PI,h=Math.min(t.height,t.width)/2,f=u(function(N,k){return(N.parentNode===k.parentNode?1:2)/N.depth})):(c=t.width,h=t.height,f=u());var g=n.getData().tree.root,S=g.children[0];if(S){v(g),A(S,p,f),g.hierNode.modifier=-S.hierNode.prelim,b(S,s);var y=S,E=S,C=S;b(S,function(N){var k=N.getLayout().x;k<y.getLayout().x&&(y=N),k>E.getLayout().x&&(E=N),N.depth>C.depth&&(C=N)});var T=y===E?1:f(y,E)/2,x=T-y.getLayout().x,_=0,I=0,L=0,D=0;if(a==="radial")_=c/(E.getLayout().x+T+x),I=h/(C.depth-1||1),b(S,function(N){L=(N.getLayout().x+x)*_,D=(N.depth-1)*I;var k=o(L,D);N.setLayout({x:k.x,y:k.y,rawX:L,rawY:D},!0)});else{var B=n.getOrient();B==="RL"||B==="LR"?(I=h/(E.getLayout().x+T+x),_=c/(C.depth-1||1),b(S,function(N){D=(N.getLayout().x+x)*I,L=B==="LR"?(N.depth-1)*_:c-(N.depth-1)*_,N.setLayout({x:L,y:D},!0)})):(B==="TB"||B==="BT")&&(_=c/(E.getLayout().x+T+x),I=h/(C.depth-1||1),b(S,function(N){L=(N.getLayout().x+x)*_,D=B==="TB"?(N.depth-1)*I:h-(N.depth-1)*I,N.setLayout({x:L,y:D},!0)}))}}}M.exports=r},ynwM:function(M,P,d){var w=d("MFOe"),A=w.Global;M.exports={name:"oldFF-globalStorage",read:m,write:v,each:p,remove:s,clearAll:u};var b=A.globalStorage;function m(o){return b[o]}function v(o,e){b[o]=e}function p(o){for(var e=b.length-1;e>=0;e--){var r=b.key(e);o(b[r],r)}}function s(o){return b.removeItem(o)}function u(){p(function(o,e){delete b[o]})}},ypgQ:function(M,P,d){var w=d("bYtY"),A=d("4NO4"),b=d("bLfw"),m=w.each,v=w.clone,p=w.map,s=w.merge,u=/^(min|max)?(.+)$/;function o(a){this._api=a,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}o.prototype={constructor:o,setOption:function(a,c){a&&w.each(A.normalizeToArray(a.series),function(g){g&&g.data&&w.isTypedArray(g.data)&&w.setAsPrimitive(g.data)}),a=v(a);var h=this._optionBackup,f=e.call(this,a,c,!h);this._newBaseOption=f.baseOption,h?(l(h.baseOption,f.baseOption),f.timelineOptions.length&&(h.timelineOptions=f.timelineOptions),f.mediaList.length&&(h.mediaList=f.mediaList),f.mediaDefault&&(h.mediaDefault=f.mediaDefault)):this._optionBackup=f},mountOption:function(a){var c=this._optionBackup;return this._timelineOptions=p(c.timelineOptions,v),this._mediaList=p(c.mediaList,v),this._mediaDefault=v(c.mediaDefault),this._currentMediaIndices=[],v(a?c.baseOption:this._newBaseOption)},getTimelineOption:function(a){var c,h=this._timelineOptions;if(h.length){var f=a.getComponent("timeline");f&&(c=v(h[f.getCurrentIndex()],!0))}return c},getMediaOption:function(a){var c=this._api.getWidth(),h=this._api.getHeight(),f=this._mediaList,g=this._mediaDefault,S=[],y=[];if(!f.length&&!g)return y;for(var E=0,C=f.length;E<C;E++)r(f[E].query,c,h)&&S.push(E);return!S.length&&g&&(S=[-1]),S.length&&!n(S,this._currentMediaIndices)&&(y=p(S,function(T){return v(T===-1?g.option:f[T].option)})),this._currentMediaIndices=S,y}};function e(a,c,h){var f=[],g=[],S,y,E=a.timeline;if(a.baseOption&&(y=a.baseOption),(E||a.options)&&(y=y||{},f=(a.options||[]).slice()),a.media){y=y||{};var C=a.media;m(C,function(T){T&&T.option&&(T.query?g.push(T):S||(S=T))})}return y||(y=a),y.timeline||(y.timeline=E),m([y].concat(f).concat(w.map(g,function(T){return T.option})),function(T){m(c,function(x){x(T,h)})}),{baseOption:y,timelineOptions:f,mediaDefault:S,mediaList:g}}function r(a,c,h){var f={width:c,height:h,aspectratio:c/h},g=!0;return w.each(a,function(S,y){var E=y.match(u);if(!E||!E[1]||!E[2])return;var C=E[1],T=E[2].toLowerCase();i(f[T],S,C)||(g=!1)}),g}function i(a,c,h){return h==="min"?a>=c:h==="max"?a<=c:a===c}function n(a,c){return a.join(",")===c.join(",")}function l(a,c){c=c||{},m(c,function(h,f){if(h==null)return;var g=a[f];if(!b.hasClass(f))a[f]=s(g,h,!0);else{h=A.normalizeToArray(h),g=A.normalizeToArray(g);var S=A.mappingToExists(g,h);a[f]=p(S,function(y){return y.option&&y.exist?s(y.exist,y.option,!0):y.exist||y.option})}})}var t=o;M.exports=t},yu2y:function(M,P,d){},yxFR:function(M,P,d){var w=d("y+Vt"),A=d("nPnh"),b=A.subPixelOptimizeLine,m={},v=w.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(s,u){var o,e,r,i;this.subPixelOptimize?(b(m,u,this.style),o=m.x1,e=m.y1,r=m.x2,i=m.y2):(o=u.x1,e=u.y1,r=u.x2,i=u.y2);var n=u.percent;if(n===0)return;s.moveTo(o,e),n<1&&(r=o*(1-n)+r*n,i=e*(1-n)+i*n),s.lineTo(r,i)},pointAt:function(s){var u=this.shape;return[u.x1*(1-s)+u.x2*s,u.y1*(1-s)+u.y2*s]}});M.exports=v},z35g:function(M,P,d){var w=d("bYtY");function A(v){return this._axes[v]}var b=function(v){this._axes={},this._dimList=[],this.name=v||""};b.prototype={constructor:b,type:"cartesian",getAxis:function(v){return this._axes[v]},getAxes:function(){return w.map(this._dimList,A,this)},getAxesByScale:function(v){return v=v.toLowerCase(),w.filter(this.getAxes(),function(p){return p.scale.type===v})},addAxis:function(v){var p=v.dim;this._axes[p]=v,this._dimList.push(p)},dataToCoord:function(v){return this._dataCoordConvert(v,"dataToCoord")},coordToData:function(v){return this._dataCoordConvert(v,"coordToData")},_dataCoordConvert:function(v,p){for(var s=this._dimList,u=v instanceof Array?[]:{},o=0;o<s.length;o++){var e=s[o],r=this._axes[e];u[e]=r[p](v[e])}return u}};var m=b;M.exports=m},z7Xi:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},m=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="UploadOutlined";var s=P.a=A.forwardRef(p)},zDms:function(M,P,d){var w=d("bYtY"),A=d("OELB"),b=d("UOVi"),m=d("72pK"),v=w.each,p=A.asc,s=function(n,l,t,a){this._dimName=n,this._axisIndex=l,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=a,this._dataZoomModel=t};s.prototype={constructor:s,hostedBy:function(n){return this._dataZoomModel===n},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var n=[],l=this.ecModel;return l.eachSeries(function(t){if(b.isCoordSupported(t.get("coordinateSystem"))){var a=this._dimName,c=l.queryComponents({mainType:a+"Axis",index:t.get(a+"AxisIndex"),id:t.get(a+"AxisId")})[0];this._axisIndex===(c&&c.componentIndex)&&n.push(t)}},this),n},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var n=this._dimName,l=this.ecModel,t=this.getAxisModel(),a=n==="x"||n==="y",c,h;a?(h="gridIndex",c=n==="x"?"y":"x"):(h="polarIndex",c=n==="angle"?"radius":"angle");var f;return l.eachComponent(c+"Axis",function(g){(g.get(h)||0)===(t.get(h)||0)&&(f=g)}),f},getMinMaxSpan:function(){return w.clone(this._minMaxSpan)},calculateDataWindow:function(n){var l=this._dataExtent,t=this.getAxisModel(),a=t.axis.scale,c=this._dataZoomModel.getRangePropMode(),h=[0,100],f=[],g=[],S;v(["start","end"],function(C,T){var x=n[C],_=n[C+"Value"];c[T]==="percent"?(x==null&&(x=h[T]),_=a.parse(A.linearMap(x,h,l))):(S=!0,_=_==null?l[T]:a.parse(_),x=A.linearMap(_,l,h)),g[T]=_,f[T]=x}),p(g),p(f);var y=this._minMaxSpan;S?E(g,f,l,h,!1):E(f,g,h,l,!0);function E(C,T,x,_,I){var L=I?"Span":"ValueSpan";m(0,C,x,"all",y["min"+L],y["max"+L]);for(var D=0;D<2;D++)T[D]=A.linearMap(C[D],x,_,!0),I&&(T[D]=a.parse(T[D]))}return{valueWindow:g,percentWindow:f}},reset:function(n){if(n!==this._dataZoomModel)return;var l=this.getTargetSeriesModels();this._dataExtent=u(this,this._dimName,l),r(this);var t=this.calculateDataWindow(n.settledOption);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,e(this)},restore:function(n){if(n!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,e(this,!0)},filterData:function(n,l){if(n!==this._dataZoomModel)return;var t=this._dimName,a=this.getTargetSeriesModels(),c=n.get("filterMode"),h=this._valueWindow;if(c==="none")return;v(a,function(g){var S=g.getData(),y=S.mapDimension(t,!0);if(!y.length)return;c==="weakFilter"?S.filterSelf(function(E){for(var C,T,x,_=0;_<y.length;_++){var I=S.get(y[_],E),L=!isNaN(I),D=I<h[0],B=I>h[1];if(L&&!D&&!B)return!0;L&&(x=!0),D&&(C=!0),B&&(T=!0)}return x&&C&&T}):v(y,function(E){if(c==="empty")g.setData(S=S.map(E,function(T){return f(T)?T:NaN}));else{var C={};C[E]=h,S.selectRange(C)}}),v(y,function(E){S.setApproximateExtent(h,E)})});function f(g){return g>=h[0]&&g<=h[1]}}};function u(n,l,t){var a=[Infinity,-Infinity];return v(t,function(c){var h=c.getData();h&&v(h.mapDimension(l,!0),function(f){var g=h.getApproximateExtent(f);g[0]<a[0]&&(a[0]=g[0]),g[1]>a[1]&&(a[1]=g[1])})}),a[1]<a[0]&&(a=[NaN,NaN]),o(n,a),a}function o(n,l){var t=n.getAxisModel(),a=t.getMin(!0),c=t.get("type")==="category",h=c&&t.getCategories().length;a!=null&&a!=="dataMin"&&typeof a!="function"?l[0]=a:c&&(l[0]=h>0?0:NaN);var f=t.getMax(!0);return f!=null&&f!=="dataMax"&&typeof f!="function"?l[1]=f:c&&(l[1]=h>0?h-1:NaN),t.get("scale",!0)||(l[0]>0&&(l[0]=0),l[1]<0&&(l[1]=0)),l}function e(n,l){var t=n.getAxisModel(),a=n._percentWindow,c=n._valueWindow;if(!a)return;var h=A.getPixelPrecision(c,[0,500]);h=Math.min(h,20);var f=l||a[0]===0&&a[1]===100;t.setRange(f?null:+c[0].toFixed(h),f?null:+c[1].toFixed(h))}function r(n){var l=n._minMaxSpan={},t=n._dataZoomModel,a=n._dataExtent;v(["min","max"],function(c){var h=t.get(c+"Span"),f=t.get(c+"ValueSpan");f!=null&&(f=n.getAxisModel().axis.scale.parse(f)),f!=null?h=A.linearMap(a[0]+f,a,[0,100],!0):h!=null&&(f=A.linearMap(h,[0,100],a,!0)-a[0]),l[c+"Span"]=h,l[c+"ValueSpan"]=f})}var i=s;M.exports=i},zM3Q:function(M,P,d){var w=d("4NO4"),A=w.makeInner;function b(){var m=A();return function(v){var p=m(v),s=v.pipelineContext,u=p.large,o=p.progressiveRender,e=p.large=s&&s.large,r=p.progressiveRender=s&&s.progressiveRender;return!!(u^e||o^r)&&"reset"}}M.exports=b},zRKj:function(M,P,d){d("Ae16"),d("Sp2Z"),d("y4/Y")},zTMp:function(M,P,d){var w=d("bYtY"),A=d("Qxkt"),b=w.each,m=w.curry;function v(a,c){var h={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return p(h,a,c),h.seriesInvolved&&u(h,a),h}function p(a,c,h){var f=c.getComponent("tooltip"),g=c.getComponent("axisPointer"),S=g.get("link",!0)||[],y=[];b(h.getCoordinateSystems(),function(E){if(!E.axisPointerEnabled)return;var C=t(E.model),T=a.coordSysAxesInfo[C]={};a.coordSysMap[C]=E;var x=E.model,_=x.getModel("tooltip",f);if(b(E.getAxes(),m(B,!1,null)),E.getTooltipAxes&&f&&_.get("show")){var I=_.get("trigger")==="axis",L=_.get("axisPointer.type")==="cross",D=E.getTooltipAxes(_.get("axisPointer.axis"));(I||L)&&b(D.baseAxes,m(B,L?"cross":!0,I)),L&&b(D.otherAxes,m(B,"cross",!1))}function B(N,k,W){var R=W.model.getModel("axisPointer",g),j=R.get("show");if(!j||j==="auto"&&!N&&!l(R))return;k==null&&(k=R.get("triggerTooltip")),R=N?s(W,_,g,c,N,k):R;var H=R.get("snap"),K=t(W.model),U=k||H||W.type==="category",Q=a.axesInfo[K]={key:K,axis:W,coordSys:E,axisPointerModel:R,triggerTooltip:k,involveSeries:U,snap:H,useHandle:l(R),seriesModels:[]};T[K]=Q,a.seriesInvolved|=U;var V=o(S,W);if(V!=null){var J=y[V]||(y[V]={axesInfo:{}});J.axesInfo[K]=Q,J.mapper=S[V].mapper,Q.linkGroup=J}}})}function s(a,c,h,f,g,S){var y=c.getModel("axisPointer"),E={};b(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(_){E[_]=w.clone(y.get(_))}),E.snap=a.type!=="category"&&!!S,y.get("type")==="cross"&&(E.type="line");var C=E.label||(E.label={});if(C.show==null&&(C.show=!1),g==="cross"){var T=y.get("label.show");if(C.show=T!=null?T:!0,!S){var x=E.lineStyle=y.get("crossStyle");x&&w.defaults(C,x.textStyle)}}return a.model.getModel("axisPointer",new A(E,h,f))}function u(a,c){c.eachSeries(function(h){var f=h.coordinateSystem,g=h.get("tooltip.trigger",!0),S=h.get("tooltip.show",!0);if(!f||g==="none"||g===!1||g==="item"||S===!1||h.get("axisPointer.show",!0)===!1)return;b(a.coordSysAxesInfo[t(f.model)],function(y){var E=y.axis;f.getAxis(E.dim)===E&&(y.seriesModels.push(h),y.seriesDataCount==null&&(y.seriesDataCount=0),y.seriesDataCount+=h.getData().count())})},this)}function o(a,c){for(var h=c.model,f=c.dim,g=0;g<a.length;g++){var S=a[g]||{};if(e(S[f+"AxisId"],h.id)||e(S[f+"AxisIndex"],h.componentIndex)||e(S[f+"AxisName"],h.name))return g}}function e(a,c){return a==="all"||w.isArray(a)&&w.indexOf(a,c)>=0||a===c}function r(a){var c=i(a);if(!c)return;var h=c.axisPointerModel,f=c.axis.scale,g=h.option,S=h.get("status"),y=h.get("value");y!=null&&(y=f.parse(y));var E=l(h);S==null&&(g.status=E?"show":"hide");var C=f.getExtent().slice();C[0]>C[1]&&C.reverse(),(y==null||y>C[1])&&(y=C[1]),y<C[0]&&(y=C[0]),g.value=y,E&&(g.status=c.axis.scale.isBlank()?"hide":"show")}function i(a){var c=(a.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return c&&c.axesInfo[t(a)]}function n(a){var c=i(a);return c&&c.axisPointerModel}function l(a){return!!a.get("handle.show")}function t(a){return a.type+"||"+a.id}P.collect=v,P.fixValue=r,P.getAxisInfo=i,P.getAxisPointerModel=n,P.makeKey=t},zYTA:function(M,P,d){var w=d("bYtY"),A=256;function b(){var v=w.createCanvas();this.canvas=v,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}b.prototype={update:function(v,p,s,u,o,e){var r=this._getBrush(),i=this._getGradient(v,o,"inRange"),n=this._getGradient(v,o,"outOfRange"),l=this.pointSize+this.blurSize,t=this.canvas,a=t.getContext("2d"),c=v.length;t.width=p,t.height=s;for(var h=0;h<c;++h){var f=v[h],g=f[0],S=f[1],y=f[2],E=u(y);a.globalAlpha=E,a.drawImage(r,g-l,S-l)}if(!t.width||!t.height)return t;for(var C=a.getImageData(0,0,t.width,t.height),T=C.data,x=0,_=T.length,I=this.minOpacity,L=this.maxOpacity,D=L-I;x<_;){var E=T[x+3]/256,B=Math.floor(E*(A-1))*4;if(E>0){var N=e(E)?i:n;E>0&&(E=E*D+I),T[x++]=N[B],T[x++]=N[B+1],T[x++]=N[B+2],T[x++]=N[B+3]*E*256}else x+=4}return a.putImageData(C,0,0),t},_getBrush:function(){var v=this._brushCanvas||(this._brushCanvas=w.createCanvas()),p=this.pointSize+this.blurSize,s=p*2;v.width=s,v.height=s;var u=v.getContext("2d");return u.clearRect(0,0,s,s),u.shadowOffsetX=s,u.shadowBlur=this.blurSize,u.shadowColor="#000",u.beginPath(),u.arc(-p,p,this.pointSize,0,Math.PI*2,!0),u.closePath(),u.fill(),v},_getGradient:function(v,p,s){for(var u=this._gradientPixels,o=u[s]||(u[s]=new Uint8ClampedArray(256*4)),e=[0,0,0,0],r=0,i=0;i<256;i++)p[s](i/255,!0,e),o[r++]=e[0],o[r++]=e[1],o[r++]=e[2],o[r++]=e[3];return o}};var m=b;M.exports=m},zarK:function(M,P,d){var w=d("YH21"),A=w.addEventListener,b=w.removeEventListener,m=w.normalizeEvent,v=w.getNativeEvent,p=d("bYtY"),s=d("H6uX"),u=d("ItGF"),o=300,e=u.domSupported,r=function(){var N=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],k=["touchstart","touchend","touchmove"],W={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},R=p.map(N,function(j){var H=j.replace("mouse","pointer");return W.hasOwnProperty(H)?H:j});return{mouse:N,touch:k,pointer:R}}(),i={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function n(N){return N==="mousewheel"&&u.browser.firefox?"DOMMouseScroll":N}function l(N){var k=N.pointerType;return k==="pen"||k==="touch"}function t(N){N.touching=!0,N.touchTimer!=null&&(clearTimeout(N.touchTimer),N.touchTimer=null),N.touchTimer=setTimeout(function(){N.touching=!1,N.touchTimer=null},700)}function a(N){N&&(N.zrByTouch=!0)}function c(N,k){return m(N.dom,new f(N,k),!0)}function h(N,k){for(var W=k,R=!1;W&&W.nodeType!==9&&!(R=W.domBelongToZr||W!==k&&W===N.painterRoot);)W=W.parentNode;return R}function f(N,k){this.type=k.type,this.target=this.currentTarget=N.dom,this.pointerType=k.pointerType,this.clientX=k.clientX,this.clientY=k.clientY}var g=f.prototype;g.stopPropagation=g.stopImmediatePropagation=g.preventDefault=p.noop;var S={mousedown:function(k){k=m(this.dom,k),this._mayPointerCapture=[k.zrX,k.zrY],this.trigger("mousedown",k)},mousemove:function(k){k=m(this.dom,k);var W=this._mayPointerCapture;W&&(k.zrX!==W[0]||k.zrY!==W[1])&&_(this,!0),this.trigger("mousemove",k)},mouseup:function(k){k=m(this.dom,k),_(this,!1),this.trigger("mouseup",k)},mouseout:function(k){k=m(this.dom,k),this._pointerCapturing&&(k.zrEventControl="no_globalout");var W=k.toElement||k.relatedTarget;k.zrIsToLocalDOM=h(this,W),this.trigger("mouseout",k)},touchstart:function(k){k=m(this.dom,k),a(k),this._lastTouchMoment=new Date,this.handler.processGesture(k,"start"),S.mousemove.call(this,k),S.mousedown.call(this,k)},touchmove:function(k){k=m(this.dom,k),a(k),this.handler.processGesture(k,"change"),S.mousemove.call(this,k)},touchend:function(k){k=m(this.dom,k),a(k),this.handler.processGesture(k,"end"),S.mouseup.call(this,k),+new Date-this._lastTouchMoment<o&&S.click.call(this,k)},pointerdown:function(k){S.mousedown.call(this,k)},pointermove:function(k){l(k)||S.mousemove.call(this,k)},pointerup:function(k){S.mouseup.call(this,k)},pointerout:function(k){l(k)||S.mouseout.call(this,k)}};p.each(["click","mousewheel","dblclick","contextmenu"],function(N){S[N]=function(k){k=m(this.dom,k),this.trigger(N,k)}});var y={pointermove:function(k){l(k)||y.mousemove.call(this,k)},pointerup:function(k){y.mouseup.call(this,k)},mousemove:function(k){this.trigger("mousemove",k)},mouseup:function(k){var W=this._pointerCapturing;_(this,!1),this.trigger("mouseup",k),W&&(k.zrEventControl="only_globalout",this.trigger("mouseout",k))}};function E(N,k){var W=k.domHandlers;u.pointerEventsSupported?p.each(r.pointer,function(R){T(k,R,function(j){W[R].call(N,j)})}):(u.touchEventsSupported&&p.each(r.touch,function(R){T(k,R,function(j){W[R].call(N,j),t(k)})}),p.each(r.mouse,function(R){T(k,R,function(j){j=v(j),k.touching||W[R].call(N,j)})}))}function C(N,k){u.pointerEventsSupported?p.each(i.pointer,W):u.touchEventsSupported||p.each(i.mouse,W);function W(R){function j(H){H=v(H),h(N,H.target)||(H=c(N,H),k.domHandlers[R].call(N,H))}T(k,R,j,{capture:!0})}}function T(N,k,W,R){N.mounted[k]=W,N.listenerOpts[k]=R,A(N.domTarget,n(k),W,R)}function x(N){var k=N.mounted;for(var W in k)k.hasOwnProperty(W)&&b(N.domTarget,n(W),k[W],N.listenerOpts[W]);N.mounted={}}function _(N,k){if(N._mayPointerCapture=null,e&&N._pointerCapturing^k){N._pointerCapturing=k;var W=N._globalHandlerScope;k?C(N,W):x(W)}}function I(N,k){this.domTarget=N,this.domHandlers=k,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function L(N,k){s.call(this),this.dom=N,this.painterRoot=k,this._localHandlerScope=new I(N,S),e&&(this._globalHandlerScope=new I(document,y)),this._pointerCapturing=!1,this._mayPointerCapture=null,E(this,this._localHandlerScope)}var D=L.prototype;D.dispose=function(){x(this._localHandlerScope),e&&x(this._globalHandlerScope)},D.setCursor=function(N){this.dom.style&&(this.dom.style.cursor=N||"default")},p.mixin(L,s);var B=L;M.exports=B},zoYe:function(M,P,d){var w=d("nmnc"),A=d("eUgh"),b=d("Z0cm"),m=d("/9aa"),v=1/0,p=w?w.prototype:void 0,s=p?p.toString:void 0;function u(o){if(typeof o=="string")return o;if(b(o))return A(o,u)+"";if(m(o))return s?s.call(o):"";var e=o+"";return e=="0"&&1/o==-v?"-0":e}M.exports=u},zs7G:function(M,P,d){"use strict";var w=d("VTBJ"),A=d("q1tI"),b={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=b,v=d("6VBw"),p=function(o,e){return A.createElement(v.a,Object(w.a)(Object(w.a)({},o),{},{ref:e,icon:m}))};p.displayName="DoubleRightOutlined";var s=P.a=A.forwardRef(p)},zuHt:function(M,P,d){var w=d("bYtY");function A(b){var m={};b.eachSeriesByType("map",function(v){var p=v.getMapType();if(v.getHostGeoModel()||m[p])return;var s={};w.each(v.seriesGroup,function(o){var e=o.coordinateSystem,r=o.originalData;o.get("showLegendSymbol")&&b.getComponent("legend")&&r.each(r.mapDimension("value"),function(i,n){var l=r.getName(n),t=e.getRegion(l);if(!t||isNaN(i))return;var a=s[l]||0,c=e.dataToPoint(t.center);s[l]=a+1,r.setItemLayout(n,{point:c,offset:a})})});var u=v.getData();u.each(function(o){var e=u.getName(o),r=u.getItemLayout(o)||{};r.showLabel=!s[e],u.setItemLayout(o,r)}),m[p]=!0})}M.exports=A}}]);
|